/* =========================================================
   AUT0LOTTO – WARENKORBSEITE
   Datei: assets/css/cart-page.css
========================================================= */


/* =========================================================
   1. GRUNDLAYOUT
========================================================= */

.page-cart {
    background:
        radial-gradient(
            circle at top left,
            rgba(22, 111, 255, 0.08),
            transparent 34rem
        ),
        linear-gradient(
            180deg,
            #07111d 0%,
            #08131f 42%,
            #06101a 100%
        );
    color: #ffffff;
}

.page-cart main {
    min-height: 70vh;
}

.page-cart img {
    max-width: 100%;
}

.page-cart button,
.page-cart input,
.page-cart a {
    font: inherit;
}


/* =========================================================
   2. WARENKORB-HERO
========================================================= */

.cart-page-hero {
    position: relative;
    overflow: hidden;
    padding:
        clamp(2.5rem, 5vw, 5.5rem)
        0
        clamp(2.25rem, 4vw, 4rem);
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.cart-page-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background:
        linear-gradient(
            180deg,
            rgba(255, 255, 255, 0.01),
            transparent 60%
        );
}

.cart-page-glow {
    position: absolute;
    top: -10rem;
    right: -8rem;
    width: 32rem;
    height: 32rem;
    border-radius: 50%;
    pointer-events: none;
    filter: blur(2px);
    background:
        radial-gradient(
            circle,
            rgba(20, 118, 255, 0.16) 0%,
            rgba(20, 118, 255, 0.06) 36%,
            transparent 72%
        );
}

.cart-page-hero .container {
    position: relative;
    z-index: 1;
}


/* =========================================================
   3. BREADCRUMB
========================================================= */

.cart-breadcrumb {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.55rem;
    margin-bottom: 1.4rem;
    color: rgba(255, 255, 255, 0.55);
    font-size: 0.9rem;
}

.cart-breadcrumb a {
    color: rgba(255, 255, 255, 0.68);
    text-decoration: none;
    transition:
        color 0.2s ease,
        transform 0.2s ease;
}

.cart-breadcrumb a:hover {
    color: #ffffff;
}

.cart-breadcrumb span[aria-current="page"] {
    color: #7db5ff;
}


/* =========================================================
   4. HERO-ÜBERSCHRIFT
========================================================= */

.cart-page-heading {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 2rem;
}

.cart-page-heading > div:first-child {
    max-width: 48rem;
}

.cart-page-heading .section-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.85rem;
    color: #58a4ff;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.15em;
    text-transform: uppercase;
}

.cart-page-heading .section-eyebrow::before {
    content: "";
    width: 1.7rem;
    height: 2px;
    border-radius: 999px;
    background: linear-gradient(
        90deg,
        #4e9cff,
        rgba(78, 156, 255, 0.25)
    );
}

.cart-page-heading h1 {
    margin: 0;
    color: #ffffff;
    font-size: clamp(2.25rem, 5vw, 4.4rem);
    font-weight: 850;
    line-height: 0.98;
    letter-spacing: -0.045em;
}

.cart-page-heading h1 span {
    color: #4f9cff;
}

.cart-page-heading p {
    max-width: 43rem;
    margin: 1.25rem 0 0;
    color: rgba(255, 255, 255, 0.64);
    font-size: clamp(0.98rem, 1.4vw, 1.08rem);
    line-height: 1.75;
}

.cart-page-summary-badge {
    display: flex;
    min-width: 10.5rem;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 1.15rem 1.4rem;
    border: 1px solid rgba(85, 157, 255, 0.26);
    border-radius: 1.1rem;
    background:
        linear-gradient(
            180deg,
            rgba(27, 76, 132, 0.23),
            rgba(9, 25, 43, 0.72)
        );
    box-shadow:
        0 1rem 2.4rem rgba(0, 0, 0, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
}

.cart-page-summary-badge strong {
    color: #ffffff;
    font-size: 2rem;
    font-weight: 850;
    line-height: 1;
}

.cart-page-summary-badge span {
    margin-top: 0.4rem;
    color: rgba(255, 255, 255, 0.58);
    font-size: 0.82rem;
    text-align: center;
}


/* =========================================================
   5. HAUPTBEREICH
========================================================= */

.cart-page-content {
    position: relative;
    padding:
        clamp(2.4rem, 5vw, 5rem)
        0
        clamp(4rem, 8vw, 7rem);
}

.cart-page-layout {
    display: grid;
    grid-template-columns:
        minmax(0, 1fr)
        minmax(19rem, 24rem);
    align-items: start;
    gap: clamp(1.5rem, 3vw, 2.5rem);
}

.cart-items-column {
    min-width: 0;
}


/* =========================================================
   6. WARENKORB-KOPF
========================================================= */

.cart-items-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1.3rem;
}

.cart-items-header span {
    display: block;
    margin-bottom: 0.35rem;
    color: #4f9cff;
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.13em;
    text-transform: uppercase;
}

.cart-items-header h2 {
    margin: 0;
    color: #ffffff;
    font-size: clamp(1.45rem, 3vw, 2rem);
    line-height: 1.15;
}

.cart-clear-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 2.7rem;
    padding: 0.7rem 1rem;
    border: 1px solid rgba(255, 100, 100, 0.2);
    border-radius: 0.8rem;
    outline: none;
    color: #ff8e8e;
    background: rgba(255, 82, 82, 0.06);
    cursor: pointer;
    transition:
        color 0.2s ease,
        border-color 0.2s ease,
        background 0.2s ease,
        transform 0.2s ease;
}

.cart-clear-button:hover {
    color: #ffffff;
    border-color: rgba(255, 104, 104, 0.38);
    background: rgba(255, 82, 82, 0.13);
    transform: translateY(-1px);
}

.cart-clear-button:focus-visible {
    box-shadow:
        0 0 0 3px rgba(255, 93, 93, 0.18);
}


/* =========================================================
   7. POSITIONEN-LISTE
========================================================= */

.cart-items-list {
    display: grid;
    gap: 1.15rem;
}

.cart-item {
    position: relative;
    display: grid;
    grid-template-columns: 13rem minmax(0, 1fr);
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 1.25rem;
    background:
        linear-gradient(
            145deg,
            rgba(15, 31, 50, 0.96),
            rgba(8, 21, 35, 0.96)
        );
    box-shadow:
        0 1.2rem 3rem rgba(0, 0, 0, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.035);
    transition:
        border-color 0.25s ease,
        transform 0.25s ease,
        box-shadow 0.25s ease;
}

.cart-item:hover {
    border-color: rgba(78, 154, 255, 0.24);
    transform: translateY(-2px);
    box-shadow:
        0 1.5rem 3.8rem rgba(0, 0, 0, 0.26),
        inset 0 1px 0 rgba(255, 255, 255, 0.045);
}

.cart-item.has-warning {
    border-color: rgba(255, 167, 67, 0.3);
}


/* =========================================================
   8. FAHRZEUGBILD
========================================================= */

.cart-item-image {
    position: relative;
    display: block;
    min-height: 100%;
    overflow: hidden;
    background: #0b1726;
    text-decoration: none;
}

.cart-item-image[aria-disabled="true"] {
    pointer-events: none;
}

.cart-item-image::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background:
        linear-gradient(
            90deg,
            transparent 58%,
            rgba(6, 16, 27, 0.85) 100%
        );
}

.cart-item-image img {
    width: 100%;
    height: 100%;
    min-height: 17rem;
    display: block;
    object-fit: cover;
    transition:
        transform 0.5s ease,
        opacity 0.3s ease;
}

.cart-item:hover .cart-item-image img {
    transform: scale(1.045);
}

.cart-item-status {
    position: absolute;
    top: 0.85rem;
    left: 0.85rem;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 1.8rem;
    padding: 0.35rem 0.65rem;
    border: 1px solid rgba(255, 255, 255, 0.13);
    border-radius: 999px;
    color: #ffffff;
    background: rgba(7, 17, 29, 0.76);
    box-shadow: 0 0.5rem 1.3rem rgba(0, 0, 0, 0.18);
    backdrop-filter: blur(10px);
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.cart-item-status-active {
    color: #90f4bd;
    border-color: rgba(79, 225, 145, 0.25);
    background: rgba(14, 74, 45, 0.78);
}

.cart-item-status-upcoming {
    color: #9fc8ff;
    border-color: rgba(79, 153, 255, 0.3);
    background: rgba(18, 57, 105, 0.8);
}

.cart-item-status-completed,
.cart-item-status-missing {
    color: #ffc0c0;
    border-color: rgba(255, 98, 98, 0.25);
    background: rgba(103, 30, 35, 0.82);
}


/* =========================================================
   9. INHALT DER POSITION
========================================================= */

.cart-item-content {
    min-width: 0;
    padding: clamp(1.15rem, 2vw, 1.55rem);
}

.cart-item-heading {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
}

.cart-item-brand {
    display: block;
    margin-bottom: 0.35rem;
    color: #559eff;
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.cart-item-heading h3 {
    margin: 0;
    font-size: clamp(1.2rem, 2vw, 1.55rem);
    line-height: 1.25;
}

.cart-item-heading h3,
.cart-item-heading h3 a {
    color: #ffffff;
    text-decoration: none;
}

.cart-item-heading h3 a {
    transition: color 0.2s ease;
}

.cart-item-heading h3 a:hover {
    color: #72adff;
}

.cart-item-remove {
    flex: 0 0 auto;
    display: inline-flex;
    width: 2.35rem;
    height: 2.35rem;
    align-items: center;
    justify-content: center;
    padding: 0;
    border: 1px solid rgba(255, 255, 255, 0.09);
    border-radius: 0.75rem;
    outline: none;
    color: rgba(255, 255, 255, 0.6);
    background: rgba(255, 255, 255, 0.035);
    cursor: pointer;
    font-size: 1.45rem;
    line-height: 1;
    transition:
        color 0.2s ease,
        border-color 0.2s ease,
        background 0.2s ease,
        transform 0.2s ease;
}

.cart-item-remove:hover {
    color: #ffffff;
    border-color: rgba(255, 83, 83, 0.36);
    background: rgba(255, 83, 83, 0.13);
    transform: rotate(4deg);
}

.cart-item-remove:focus-visible {
    box-shadow:
        0 0 0 3px rgba(255, 88, 88, 0.16);
}


/* =========================================================
   10. META-INFORMATIONEN
========================================================= */

.cart-item-meta {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.75rem;
    margin-top: 1.2rem;
}

.cart-item-meta > div {
    min-width: 0;
    padding: 0.8rem 0.9rem;
    border: 1px solid rgba(255, 255, 255, 0.065);
    border-radius: 0.85rem;
    background: rgba(255, 255, 255, 0.025);
}

.cart-item-meta span {
    display: block;
    margin-bottom: 0.25rem;
    color: rgba(255, 255, 255, 0.46);
    font-size: 0.72rem;
}

.cart-item-meta strong {
    display: block;
    overflow: hidden;
    color: rgba(255, 255, 255, 0.92);
    font-size: 0.91rem;
    text-overflow: ellipsis;
    white-space: nowrap;
}


/* =========================================================
   11. WARNUNGEN
========================================================= */

.cart-item-warning {
    display: flex;
    align-items: flex-start;
    gap: 0.7rem;
    margin-top: 1rem;
    padding: 0.85rem 0.95rem;
    border: 1px solid rgba(255, 170, 72, 0.22);
    border-radius: 0.85rem;
    color: #ffd09a;
    background: rgba(255, 147, 39, 0.075);
}

.cart-item-warning > span {
    flex: 0 0 auto;
    display: inline-flex;
    width: 1.45rem;
    height: 1.45rem;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: #1b1004;
    background: #ffae54;
    font-size: 0.78rem;
    font-weight: 900;
}

.cart-item-warning p {
    margin: 0;
    color: #ffd2a2;
    font-size: 0.82rem;
    line-height: 1.55;
}


/* =========================================================
   12. MENGENSTEUERUNG UND GESAMTPREIS
========================================================= */

.cart-item-bottom {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 1rem;
    margin-top: 1.25rem;
    padding-top: 1.15rem;
    border-top: 1px solid rgba(255, 255, 255, 0.07);
}

.cart-item-quantity-label {
    display: block;
    margin-bottom: 0.5rem;
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.77rem;
    font-weight: 650;
}

.cart-quantity-control {
    display: inline-grid;
    grid-template-columns: 2.65rem 4.25rem 2.65rem;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 0.85rem;
    background: #081523;
}

.cart-quantity-control button,
.cart-quantity-control input {
    height: 2.75rem;
    border: 0;
    outline: none;
    color: #ffffff;
    background: transparent;
}

.cart-quantity-control button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 1.25rem;
    transition:
        color 0.2s ease,
        background 0.2s ease;
}

.cart-quantity-control button:hover:not(:disabled) {
    color: #ffffff;
    background: rgba(77, 154, 255, 0.15);
}

.cart-quantity-control button:focus-visible,
.cart-quantity-control input:focus-visible {
    box-shadow:
        inset 0 0 0 2px rgba(80, 157, 255, 0.65);
}

.cart-quantity-control button:disabled {
    color: rgba(255, 255, 255, 0.2);
    cursor: not-allowed;
}

.cart-quantity-control input {
    width: 100%;
    border-right: 1px solid rgba(255, 255, 255, 0.075);
    border-left: 1px solid rgba(255, 255, 255, 0.075);
    text-align: center;
    font-weight: 800;
    appearance: textfield;
    -moz-appearance: textfield;
}

.cart-quantity-control input::-webkit-outer-spin-button,
.cart-quantity-control input::-webkit-inner-spin-button {
    margin: 0;
    appearance: none;
    -webkit-appearance: none;
}

.cart-item-total {
    flex: 0 0 auto;
    text-align: right;
}

.cart-item-total span {
    display: block;
    margin-bottom: 0.3rem;
    color: rgba(255, 255, 255, 0.48);
    font-size: 0.76rem;
}

.cart-item-total strong {
    display: block;
    color: #ffffff;
    font-size: clamp(1.25rem, 2vw, 1.7rem);
    font-weight: 850;
    letter-spacing: -0.025em;
}


/* =========================================================
   13. ITEM-MELDUNGEN
========================================================= */

.cart-item-message {
    min-height: 1.1rem;
    margin-top: 0.65rem;
    color: #7ee6a9;
    font-size: 0.79rem;
    line-height: 1.4;
}

.cart-item-message.is-error {
    color: #ff9696;
}

.cart-item-message.is-success {
    color: #7ee6a9;
}


/* =========================================================
   14. BESTELLÜBERSICHT
========================================================= */

.cart-summary-panel {
    position: sticky;
    top: 6.5rem;
    overflow: hidden;
    padding: clamp(1.25rem, 2.5vw, 1.7rem);
    border: 1px solid rgba(255, 255, 255, 0.09);
    border-radius: 1.25rem;
    background:
        linear-gradient(
            150deg,
            rgba(15, 33, 54, 0.97),
            rgba(7, 19, 32, 0.98)
        );
    box-shadow:
        0 1.4rem 3.6rem rgba(0, 0, 0, 0.27),
        inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.cart-summary-panel::before {
    content: "";
    position: absolute;
    top: -7rem;
    right: -7rem;
    width: 14rem;
    height: 14rem;
    border-radius: 50%;
    pointer-events: none;
    background:
        radial-gradient(
            circle,
            rgba(66, 147, 255, 0.14),
            transparent 70%
        );
}

.cart-summary-panel > * {
    position: relative;
    z-index: 1;
}

.cart-summary-heading {
    margin-bottom: 1.35rem;
}

.cart-summary-heading span {
    display: block;
    margin-bottom: 0.35rem;
    color: #4f9cff;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.13em;
    text-transform: uppercase;
}

.cart-summary-heading h2 {
    margin: 0;
    color: #ffffff;
    font-size: 1.55rem;
}

.cart-summary-lines {
    display: grid;
    gap: 0.85rem;
    padding: 1.1rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.07);
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.cart-summary-lines > div {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.cart-summary-lines span {
    color: rgba(255, 255, 255, 0.56);
    font-size: 0.9rem;
}

.cart-summary-lines strong {
    color: rgba(255, 255, 255, 0.92);
    font-size: 0.92rem;
}

.cart-summary-lines .is-free {
    color: #7be4a5;
}

.cart-summary-total {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 1rem;
    padding: 1.25rem 0;
}

.cart-summary-total > div {
    min-width: 0;
}

.cart-summary-total span {
    display: block;
    color: #ffffff;
    font-size: 1rem;
    font-weight: 800;
}

.cart-summary-total small {
    display: block;
    margin-top: 0.3rem;
    color: rgba(255, 255, 255, 0.38);
    font-size: 0.69rem;
    line-height: 1.45;
}

.cart-summary-total > strong {
    flex: 0 0 auto;
    color: #ffffff;
    font-size: clamp(1.55rem, 3vw, 2.15rem);
    font-weight: 900;
    letter-spacing: -0.04em;
}


/* =========================================================
   15. CHECKOUT-BUTTON
========================================================= */

.cart-checkout-button {
    width: 100%;
    min-height: 3.4rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.65rem;
    border-radius: 0.95rem;
    text-align: center;
}

.cart-checkout-button span {
    transition: transform 0.2s ease;
}

.cart-checkout-button:hover span {
    transform: translateX(3px);
}

.cart-checkout-button.is-disabled {
    pointer-events: none;
    opacity: 0.45;
    filter: grayscale(0.25);
}

.cart-checkout-warning {
    margin: 0.75rem 0 0;
    color: #ffb46c;
    font-size: 0.78rem;
    line-height: 1.5;
    text-align: center;
}

.cart-continue-shopping {
    display: inline-flex;
    width: 100%;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    margin-top: 0.9rem;
    color: rgba(255, 255, 255, 0.58);
    text-decoration: none;
    font-size: 0.84rem;
    transition:
        color 0.2s ease,
        transform 0.2s ease;
}

.cart-continue-shopping:hover {
    color: #ffffff;
    transform: translateX(-2px);
}


/* =========================================================
   16. SICHERHEITSHINWEISE
========================================================= */

.cart-security-items {
    display: grid;
    gap: 0.7rem;
    margin-top: 1.5rem;
    padding-top: 1.25rem;
    border-top: 1px solid rgba(255, 255, 255, 0.07);
}

.cart-security-items > div {
    display: flex;
    align-items: center;
    gap: 0.65rem;
}

.cart-security-items span {
    flex: 0 0 auto;
    display: inline-flex;
    width: 1.35rem;
    height: 1.35rem;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(92, 226, 147, 0.26);
    border-radius: 50%;
    color: #7be4a5;
    background: rgba(92, 226, 147, 0.07);
    font-size: 0.7rem;
    font-weight: 900;
}

.cart-security-items p {
    margin: 0;
    color: rgba(255, 255, 255, 0.56);
    font-size: 0.79rem;
    line-height: 1.45;
}

.cart-reservation-notice {
    margin: 1.15rem 0 0;
    padding: 0.85rem;
    border: 1px solid rgba(85, 157, 255, 0.13);
    border-radius: 0.75rem;
    color: rgba(255, 255, 255, 0.43);
    background: rgba(85, 157, 255, 0.035);
    font-size: 0.73rem;
    line-height: 1.55;
}


/* =========================================================
   17. LEERER WARENKORB
========================================================= */

.cart-empty-state {
    max-width: 46rem;
    margin: 0 auto;
    padding:
        clamp(2.5rem, 6vw, 5rem)
        clamp(1.25rem, 5vw, 3.5rem);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 1.5rem;
    background:
        radial-gradient(
            circle at top,
            rgba(63, 145, 255, 0.1),
            transparent 23rem
        ),
        linear-gradient(
            145deg,
            rgba(15, 31, 50, 0.96),
            rgba(8, 20, 33, 0.97)
        );
    box-shadow:
        0 1.5rem 4rem rgba(0, 0, 0, 0.24),
        inset 0 1px 0 rgba(255, 255, 255, 0.035);
    text-align: center;
}

.cart-empty-icon {
    display: inline-flex;
    width: 5rem;
    height: 5rem;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.35rem;
    border: 1px solid rgba(79, 156, 255, 0.23);
    border-radius: 1.45rem;
    color: #69a9ff;
    background:
        linear-gradient(
            145deg,
            rgba(79, 156, 255, 0.16),
            rgba(79, 156, 255, 0.04)
        );
    box-shadow:
        0 1rem 2.8rem rgba(15, 98, 211, 0.16);
    font-size: 2rem;
    transform: rotate(45deg);
}

.cart-empty-icon::first-letter {
    transform: rotate(-45deg);
}

.cart-empty-state .section-eyebrow {
    display: block;
    margin-bottom: 0.65rem;
    color: #4f9cff;
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.15em;
    text-transform: uppercase;
}

.cart-empty-state h2 {
    margin: 0;
    color: #ffffff;
    font-size: clamp(1.8rem, 4vw, 2.7rem);
    line-height: 1.1;
}

.cart-empty-state p {
    max-width: 34rem;
    margin: 1rem auto 0;
    color: rgba(255, 255, 255, 0.56);
    line-height: 1.75;
}

.cart-empty-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.8rem;
    margin-top: 1.8rem;
}

.cart-empty-actions .al-button {
    min-width: 10.5rem;
}


/* =========================================================
   18. FEHLERMELDUNG
========================================================= */

.cart-error-message {
    display: flex;
    max-width: 48rem;
    align-items: flex-start;
    gap: 1rem;
    margin: 0 auto;
    padding: 1.2rem 1.3rem;
    border: 1px solid rgba(255, 89, 89, 0.24);
    border-radius: 1rem;
    background:
        linear-gradient(
            145deg,
            rgba(91, 28, 33, 0.3),
            rgba(37, 16, 20, 0.45)
        );
}

.cart-error-message > span {
    flex: 0 0 auto;
    display: inline-flex;
    width: 2rem;
    height: 2rem;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: #301013;
    background: #ff7676;
    font-weight: 900;
}

.cart-error-message strong {
    display: block;
    color: #ffffff;
    font-size: 1rem;
}

.cart-error-message p {
    margin: 0.35rem 0 0;
    color: rgba(255, 255, 255, 0.64);
    font-size: 0.88rem;
    line-height: 1.55;
}


/* =========================================================
   19. LADEZUSTÄNDE
========================================================= */

.cart-item.is-loading {
    pointer-events: none;
    opacity: 0.62;
}

.cart-item.is-loading::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 10;
    background: rgba(5, 14, 24, 0.15);
}

.cart-clear-button:disabled,
.cart-item-remove:disabled,
.cart-quantity-control button:disabled,
.cart-quantity-control input:disabled {
    cursor: not-allowed;
    opacity: 0.45;
}


/* =========================================================
   20. HEADER-WARENKORB
========================================================= */

.header-cart-button {
    position: relative;
    display: inline-flex;
    min-height: 2.8rem;
    align-items: center;
    justify-content: center;
    gap: 0.55rem;
    padding: 0.65rem 0.8rem;
    border: 1px solid rgba(255, 255, 255, 0.09);
    border-radius: 0.85rem;
    color: rgba(255, 255, 255, 0.78);
    background: rgba(255, 255, 255, 0.035);
    text-decoration: none;
    transition:
        color 0.2s ease,
        border-color 0.2s ease,
        background 0.2s ease,
        transform 0.2s ease;
}

.header-cart-button:hover,
.header-cart-button.is-active {
    color: #ffffff;
    border-color: rgba(80, 158, 255, 0.3);
    background: rgba(66, 145, 255, 0.1);
    transform: translateY(-1px);
}

.header-cart-icon {
    color: #69a9ff;
    font-size: 1rem;
}

.header-cart-text {
    font-size: 0.86rem;
    font-weight: 700;
}

.header-cart-count {
    display: inline-flex;
    min-width: 1.45rem;
    height: 1.45rem;
    align-items: center;
    justify-content: center;
    padding: 0 0.35rem;
    border-radius: 999px;
    color: #07111d;
    background: #65a8ff;
    font-size: 0.7rem;
    font-weight: 900;
    line-height: 1;
}


/* =========================================================
   21. ANIMATIONEN
========================================================= */

@keyframes cartItemAppear {
    from {
        opacity: 0;
        transform: translateY(14px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.cart-item {
    animation:
        cartItemAppear 0.45s ease both;
}

.cart-item:nth-child(2) {
    animation-delay: 0.05s;
}

.cart-item:nth-child(3) {
    animation-delay: 0.1s;
}

.cart-item:nth-child(4) {
    animation-delay: 0.15s;
}

.cart-item:nth-child(5) {
    animation-delay: 0.2s;
}


/* =========================================================
   22. RESPONSIVE – TABLET
========================================================= */

@media (max-width: 1100px) {
    .cart-page-layout {
        grid-template-columns:
            minmax(0, 1fr)
            minmax(18rem, 21rem);
    }

    .cart-item {
        grid-template-columns: 11rem minmax(0, 1fr);
    }

    .cart-item-meta {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .cart-item-meta > div:last-child {
        grid-column: 1 / -1;
    }
}


@media (max-width: 900px) {
    .cart-page-layout {
        grid-template-columns: minmax(0, 1fr);
    }

    .cart-summary-panel {
        position: relative;
        top: auto;
    }

    .cart-page-heading {
        align-items: flex-start;
    }

    .cart-page-summary-badge {
        min-width: 9rem;
    }
}


/* =========================================================
   23. RESPONSIVE – MOBIL
========================================================= */

@media (max-width: 700px) {
    .cart-page-hero {
        padding-top: 2.2rem;
    }

    .cart-page-heading {
        flex-direction: column;
        align-items: stretch;
        gap: 1.25rem;
    }

    .cart-page-summary-badge {
        width: 100%;
        min-width: 0;
        flex-direction: row;
        gap: 0.7rem;
        padding: 0.9rem 1rem;
    }

    .cart-page-summary-badge strong {
        font-size: 1.55rem;
    }

    .cart-page-summary-badge span {
        margin-top: 0;
    }

    .cart-items-header {
        align-items: flex-start;
    }

    .cart-clear-button {
        min-height: 2.5rem;
        padding: 0.6rem 0.75rem;
        font-size: 0.78rem;
    }

    .cart-item {
        grid-template-columns: 1fr;
    }

    .cart-item-image {
        min-height: 12rem;
        max-height: 16rem;
    }

    .cart-item-image::after {
        background:
            linear-gradient(
                180deg,
                transparent 55%,
                rgba(6, 16, 27, 0.55)
            );
    }

    .cart-item-image img {
        min-height: 12rem;
        max-height: 16rem;
    }

    .cart-item-content {
        padding: 1.1rem;
    }

    .cart-item-meta {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .cart-item-meta > div:last-child {
        grid-column: 1 / -1;
    }

    .cart-item-bottom {
        align-items: center;
    }

    .cart-summary-total {
        align-items: center;
    }
}


@media (max-width: 520px) {
    .cart-page-content {
        padding-top: 1.8rem;
    }

    .cart-breadcrumb {
        font-size: 0.8rem;
    }

    .cart-page-heading h1 {
        font-size: clamp(2rem, 12vw, 3rem);
    }

    .cart-items-header {
        flex-direction: column;
        align-items: stretch;
    }

    .cart-clear-button {
        width: 100%;
    }

    .cart-item-heading h3 {
        font-size: 1.15rem;
    }

    .cart-item-meta {
        grid-template-columns: 1fr;
    }

    .cart-item-meta > div:last-child {
        grid-column: auto;
    }

    .cart-item-bottom {
        flex-direction: column;
        align-items: stretch;
    }

    .cart-item-total {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 1rem;
        padding-top: 0.85rem;
        border-top: 1px solid rgba(255, 255, 255, 0.06);
        text-align: left;
    }

    .cart-item-total span {
        margin-bottom: 0;
    }

    .cart-item-total strong {
        font-size: 1.35rem;
    }

    .cart-quantity-control {
        width: 100%;
        grid-template-columns:
            3rem
            minmax(4rem, 1fr)
            3rem;
    }

    .cart-summary-panel {
        padding: 1.15rem;
    }

    .cart-summary-total {
        align-items: flex-end;
    }

    .cart-summary-total > strong {
        font-size: 1.6rem;
    }

    .cart-empty-actions {
        flex-direction: column;
    }

    .cart-empty-actions .al-button {
        width: 100%;
    }

    .header-cart-text {
        display: none;
    }
}


/* =========================================================
   24. KLEINE DISPLAYS
========================================================= */

@media (max-width: 380px) {
    .cart-item-content {
        padding: 0.95rem;
    }

    .cart-item-heading {
        gap: 0.6rem;
    }

    .cart-item-remove {
        width: 2.1rem;
        height: 2.1rem;
    }

    .cart-summary-total {
        flex-direction: column;
        align-items: flex-start;
    }

    .cart-summary-total > strong {
        margin-top: 0.35rem;
    }
}


/* =========================================================
   25. REDUZIERTE BEWEGUNG
========================================================= */

@media (prefers-reduced-motion: reduce) {
    .cart-item,
    .cart-item-image img,
    .cart-clear-button,
    .cart-item-remove,
    .header-cart-button,
    .cart-continue-shopping,
    .cart-checkout-button span {
        animation: none;
        transition: none;
    }
}