/* Aggro Sticker-Konfigurator: eigene Warenkorbkarte mit integrierter Menge und Preis */
.aggro-sticker-line-item-row {
    margin: 0;
}

.aggro-sticker-line-item-row > .col-12 {
    padding: 0;
}

.aggro-sticker-product-card {
    width: 100%;
    min-width: 0;
}

.aggro-sticker-product-card__main {
    display: grid;
    grid-template-columns: 220px minmax(0, 1fr);
    gap: 26px;
    align-items: start;
}

.aggro-sticker-product-card__preview {
    min-width: 0;
}

.aggro-sticker-product-card__preview-link {
    display: grid;
    width: 220px;
    height: 220px;
    place-items: center;
    overflow: hidden;
    border: 1px solid #dfe3e8;
    border-radius: 16px;
    background-color: #f7f8fa;
    background-image:
        linear-gradient(45deg, #e8ebef 25%, transparent 25%),
        linear-gradient(-45deg, #e8ebef 25%, transparent 25%),
        linear-gradient(45deg, transparent 75%, #e8ebef 75%),
        linear-gradient(-45deg, transparent 75%, #e8ebef 75%);
    background-size: 16px 16px;
    background-position: 0 0, 0 8px, 8px -8px, -8px 0;
    text-decoration: none;
}

.aggro-sticker-product-card__image {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 9px;
}

.aggro-sticker-product-card__content {
    min-width: 0;
    padding: 17px 18px;
    border: 1px solid #dfe3e8;
    border-radius: 16px;
    background: #f8fafc;
}

.aggro-sticker-product-card__heading {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 15px;
}

.aggro-sticker-product-card__badge {
    display: inline-flex;
    padding: 4px 11px;
    border-radius: 999px;
    background: #e8f0ff;
    color: #174ea6;
    font-size: 0.75rem;
    font-weight: 700;
}

.aggro-sticker-product-card__title {
    margin-top: 8px;
    color: #172033;
    font-size: 1.08rem;
    font-weight: 800;
}

.aggro-sticker-product-card__intro {
    max-width: 620px;
    margin: 6px 0 0;
    color: #667085;
    font-size: 0.86rem;
}

.aggro-sticker-product-card__filename {
    max-width: 240px;
    overflow: hidden;
    color: #475467;
    font-size: 0.78rem;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.aggro-sticker-product-card__facts {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
    margin: 0;
}

.aggro-sticker-product-card__facts > div {
    min-width: 0;
    padding: 10px 11px;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    background: #fff;
}

.aggro-sticker-product-card dt,
.aggro-sticker-product-card dd {
    margin: 0;
}

.aggro-sticker-product-card dt {
    margin-bottom: 3px;
    color: #667085;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.025em;
    text-transform: uppercase;
}

.aggro-sticker-product-card dd {
    color: #172033;
    font-size: 0.88rem;
    font-weight: 650;
    overflow-wrap: anywhere;
}

.aggro-sticker-product-card__details {
    margin-top: 12px;
    padding-top: 11px;
    border-top: 1px solid #e5e7eb;
}

.aggro-sticker-product-card__details summary {
    cursor: pointer;
    color: #344054;
    font-size: 0.82rem;
    font-weight: 700;
}

.aggro-sticker-product-card__details dl {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px 18px;
    margin: 11px 0 0;
}

.aggro-sticker-product-card__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
    margin-top: 14px;
}

.aggro-sticker-product-card__button {
    display: inline-flex;
    min-height: 39px;
    align-items: center;
    justify-content: center;
    padding: 8px 14px;
    border: 1px solid #172033;
    border-radius: 9px;
    background: #172033;
    color: #fff;
    font-size: 0.81rem;
    font-weight: 700;
    text-decoration: none;
}

.aggro-sticker-product-card__button:hover,
.aggro-sticker-product-card__button:focus {
    background: #0f172a;
    color: #fff;
    text-decoration: none;
}

.aggro-sticker-product-card__button--secondary {
    background: #fff;
    color: #172033;
}

.aggro-sticker-product-card__button--secondary:hover,
.aggro-sticker-product-card__button--secondary:focus {
    background: #eef1f5;
    color: #172033;
}

.aggro-sticker-product-card__delivery {
    margin-top: 13px;
    color: #475467;
    font-size: 0.81rem;
}

.aggro-sticker-product-card__commerce {
    display: grid;
    grid-template-columns: minmax(320px, 1.35fr) minmax(150px, 0.65fr) minmax(170px, 0.75fr) auto;
    gap: 12px;
    align-items: center;
    margin-top: 18px;
    padding: 14px 16px;
    border: 1px solid #dfe3e8;
    border-radius: 14px;
    background: #fff;
}

.aggro-sticker-product-card__quantity-block,
.aggro-sticker-product-card__price-block {
    min-width: 0;
}

.aggro-sticker-product-card__commerce-label {
    display: block;
    margin-bottom: 5px;
    color: #667085;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.025em;
    text-transform: uppercase;
}

.aggro-sticker-product-card__price-block {
    padding-left: 14px;
    border-left: 1px solid #e5e7eb;
}

.aggro-sticker-product-card__price-block strong {
    display: block;
    color: #172033;
    font-size: 1.02rem;
    font-weight: 750;
}

.aggro-sticker-product-card__price-block--total strong {
    font-size: 1.18rem;
    font-weight: 800;
}

.aggro-sticker-quantity-form {
    display: flex;
    align-items: center;
    gap: 0;
    max-width: 390px;
}

.aggro-sticker-quantity-form__button,
.aggro-sticker-quantity-form__input,
.aggro-sticker-quantity-form__apply {
    min-height: 40px;
    border: 1px solid #cfd5dd;
    background: #fff;
    color: #172033;
}

.aggro-sticker-quantity-form__button {
    width: 42px;
    padding: 0;
    font-size: 1.2rem;
    font-weight: 700;
}

.aggro-sticker-quantity-form__button:first-child {
    border-radius: 9px 0 0 9px;
}

.aggro-sticker-quantity-form__input {
    width: 92px;
    border-right: 0;
    border-left: 0;
    border-radius: 0;
    text-align: center;
    font-weight: 700;
    appearance: textfield;
}

.aggro-sticker-quantity-form__input::-webkit-outer-spin-button,
.aggro-sticker-quantity-form__input::-webkit-inner-spin-button {
    margin: 0;
    appearance: none;
}

.aggro-sticker-quantity-form__button:nth-of-type(2) {
    border-radius: 0 9px 9px 0;
}

.aggro-sticker-quantity-form__button:hover:not(:disabled),
.aggro-sticker-quantity-form__button:focus:not(:disabled) {
    background: #eef1f5;
}

.aggro-sticker-quantity-form__button:disabled {
    cursor: not-allowed;
    opacity: 0.45;
}

.aggro-sticker-quantity-form__apply {
    margin-left: 9px;
    padding: 0 13px;
    border-color: #172033;
    border-radius: 9px;
    background: #172033;
    color: #fff;
    font-size: 0.78rem;
    font-weight: 700;
}

.aggro-sticker-quantity-form__apply:hover,
.aggro-sticker-quantity-form__apply:focus {
    background: #0f172a;
}

.aggro-sticker-product-card__remove {
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

.aggro-sticker-product-card__remove .line-item-remove-button {
    width: 42px;
    height: 42px;
    border-radius: 9px;
}

.aggro-sticker-cart-compact {
    display: flex;
    flex-wrap: wrap;
    gap: 4px 8px;
    margin-top: 5px;
    color: #667085;
    font-size: 0.74rem;
}

.aggro-sticker-cart-compact span:not(:last-child)::after {
    content: '·';
    margin-left: 8px;
}

@media (max-width: 1199.98px) {
    .aggro-sticker-product-card__main {
        grid-template-columns: 170px minmax(0, 1fr);
        gap: 18px;
    }

    .aggro-sticker-product-card__preview-link {
        width: 170px;
        height: 170px;
    }

    .aggro-sticker-product-card__facts {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .aggro-sticker-product-card__commerce {
        grid-template-columns: minmax(280px, 1fr) minmax(130px, 0.6fr) minmax(150px, 0.7fr) auto;
    }
}

@media (max-width: 991.98px) {
    .aggro-sticker-product-card__commerce {
        grid-template-columns: 1fr 1fr;
    }

    .aggro-sticker-product-card__quantity-block {
        grid-column: 1 / -1;
    }

    .aggro-sticker-product-card__price-block {
        padding-left: 0;
        border-left: 0;
    }

    .aggro-sticker-product-card__remove {
        position: absolute;
        top: 12px;
        right: 12px;
    }

    .aggro-sticker-product-card {
        position: relative;
    }
}

@media (max-width: 767.98px) {
    .aggro-sticker-product-card__main {
        grid-template-columns: 1fr;
    }

    .aggro-sticker-product-card__preview-link {
        width: 150px;
        height: 150px;
    }

    .aggro-sticker-product-card__heading {
        display: block;
    }

    .aggro-sticker-product-card__filename {
        max-width: 100%;
        margin-top: 7px;
    }

    .aggro-sticker-product-card__commerce {
        grid-template-columns: 1fr;
        padding-right: 62px;
    }

    .aggro-sticker-product-card__quantity-block {
        grid-column: auto;
    }

    .aggro-sticker-product-card__price-block {
        padding-top: 9px;
        border-top: 1px solid #e5e7eb;
    }
}

@media (max-width: 520px) {
    .aggro-sticker-product-card__facts,
    .aggro-sticker-product-card__details dl {
        grid-template-columns: 1fr;
    }

    .aggro-sticker-quantity-form {
        flex-wrap: wrap;
    }

    .aggro-sticker-quantity-form__apply {
        width: 100%;
        margin: 8px 0 0;
    }
}

/* Checkout-/Bestellabschluss: kompakte Darstellung der konfigurierten Position */
.aggro-sticker-checkout-row {
    margin: 0;
}

.aggro-sticker-checkout-row > .col-12 {
    padding: 0;
}

.aggro-sticker-checkout-card {
    display: grid;
    grid-template-columns: 78px minmax(0, 1fr) auto;
    gap: 12px;
    align-items: center;
    width: 100%;
    padding: 12px;
    border: 1px solid #dfe3e8;
    border-radius: 12px;
    background: #fff;
}

.aggro-sticker-checkout-card__preview {
    position: relative;
    width: 78px;
    height: 78px;
}

.aggro-sticker-checkout-card__preview-link {
    display: grid;
    width: 78px;
    height: 78px;
    place-items: center;
    overflow: hidden;
    border: 1px solid #dfe3e8;
    border-radius: 10px;
    background-color: #f7f8fa;
    background-image:
        linear-gradient(45deg, #e8ebef 25%, transparent 25%),
        linear-gradient(-45deg, #e8ebef 25%, transparent 25%),
        linear-gradient(45deg, transparent 75%, #e8ebef 75%),
        linear-gradient(-45deg, transparent 75%, #e8ebef 75%);
    background-size: 12px 12px;
    background-position: 0 0, 0 6px, 6px -6px, -6px 0;
}

.aggro-sticker-checkout-card__image {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 4px;
}

.aggro-sticker-checkout-card__quantity-badge {
    position: absolute;
    top: -7px;
    right: -7px;
    display: inline-grid;
    min-width: 27px;
    height: 27px;
    padding: 0 7px;
    place-items: center;
    border: 2px solid #fff;
    border-radius: 999px;
    background: #172033;
    color: #fff;
    font-size: 0.72rem;
    font-weight: 800;
    line-height: 1;
}

.aggro-sticker-checkout-card__content {
    min-width: 0;
}

.aggro-sticker-checkout-card__title {
    color: #172033;
    font-size: 0.9rem;
    font-weight: 800;
    line-height: 1.25;
}

.aggro-sticker-checkout-card__facts {
    display: flex;
    flex-wrap: wrap;
    gap: 4px 10px;
    margin-top: 5px;
    color: #667085;
    font-size: 0.76rem;
}

.aggro-sticker-checkout-card__facts span:not(:last-child)::after {
    content: '·';
    margin-left: 10px;
}

.aggro-sticker-checkout-card__filename {
    max-width: 230px;
    margin-top: 5px;
    overflow: hidden;
    color: #667085;
    font-size: 0.72rem;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.aggro-sticker-checkout-card__price {
    align-self: start;
    padding-left: 8px;
    color: #172033;
    font-size: 0.92rem;
    font-weight: 800;
    white-space: nowrap;
}

@media (max-width: 575.98px) {
    .aggro-sticker-checkout-card {
        grid-template-columns: 64px minmax(0, 1fr);
        gap: 10px;
    }

    .aggro-sticker-checkout-card__preview,
    .aggro-sticker-checkout-card__preview-link {
        width: 64px;
        height: 64px;
    }

    .aggro-sticker-checkout-card__price {
        grid-column: 2;
        padding-left: 0;
        font-size: 0.9rem;
    }
}
