/* Warenkorb-Container */
.cart-container {
    background: rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 15px;
    border: 1px solid rgba(255, 255, 255, 0.4);
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    margin-top: 50px;
}

/* Tabellen-Struktur & Responsive Wrapper */
.table-responsive {
    border-radius: 15px;
    overflow: hidden;
    border: 1px solid rgba(0,0,0,0.05);
}

.cart-table {
    margin-bottom: 0;
    background-color: white; /* Weißer Hintergrund für die Liste */
    width: 100%;
}

.cart-table th {
    text-transform: none;
    font-family: 'Raleway';
    font-size: 1rem;
    letter-spacing: 1px;
    color: #666;
    border-bottom: 2px solid rgba(74, 141, 150, 0.2);
    padding: 15px 0;
}

.cart-table td {
    padding: 10px 0;
    vertical-align: middle;
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
}

/* Innenabstände der Tabelle */
.cart-table th:first-child,
.cart-table td:first-child {
    padding-left: 20px;
}

.cart-table th:last-child,
.cart-table td:last-child {
    padding-right: 20px;
}

.cart-table tr:last-child td {
    border-bottom: none;
}

/* Produkt-Bilder in der Liste */
.product-img {
    width: 70px;
    height: 70px;
    object-fit: cover;
    border-radius: 8px;
    border: 2px solid white;
}


/* Erlaubt Rahmen an Tabellenzeilen durch Kollabieren */
.cart-table {
    border-collapse: collapse !important;
    width: 100%;
}

/* Wir setzen den Rahmen auf die ZELLEN (td), nicht auf die Zeile (tr) */
/* Das ist in HTML-Tabellen die einzig sichere Methode für Trennlinien */
.cart-table tbody td {
    border-bottom: 1px solid #ddd !important; /* Etwas dunkler für bessere Sichtbarkeit */
    padding-top: 1.5rem !important;
    padding-bottom: 1.5rem !important;
}

/* Grundzustand des Papierkorbs */
.btn-delete {
    background: none;
    border: none;
    color: #999; 
    padding: 0;
    cursor: pointer;
    transition: transform 0.2s ease-in-out;
    align-items: center;
    /* Verschiebt den Button nach rechts (Abstand zum rechten Rand) */
    margin-right: 0px; 
    /* Verschiebt den Button nach unten */
    margin-top: -10px; 
    /* Optional: Falls der Button ein Inline-Element ist, 
       muss er für Margins manchmal zu inline-block werden */
    display: inline-block; 
    /* Verhindert, dass der Button die Tabellenzeile unschön aufbläht */
    vertical-align: middle;
}

/* Hover-Effekt: Vergrößern */
.btn-delete:hover, .btn-back:hover, a.back-einkaufen:hover {
    transform: scale(1.2);
    color: #999; /* Farbe bleibt gleich */
}

/* Nur die Kontur (Linie) dicker machen, keine Füllung */
.btn-delete:hover svg {
    fill: none !important;      /* Verhindert das Ausfüllen */
    stroke: currentColor;      /* Nutzt das Grau für die Linie */
    stroke-width: 1.5px;       /* Macht die Linie dicker */
    stroke-linecap: round;     /* Macht die Enden der Linien weicher/hochwertiger */
    stroke-linejoin: round;
}

.custom-input {
    border: none;
    border-bottom: 1px solid #ddd;
    border-radius: 0;
    padding: 12px 5px;
    font-family: 'Raleway', sans-serif;
    background-color: transparent;
    transition: border-color 0.3s ease;
}

.custom-input:focus {
    box-shadow: none;
    border-bottom: 1px solid #2c5157; /* Dein dunkler Titel-Farbton */
    background-color: transparent;
}

.custom-checkbox .form-check-input:checked {
    background-color: #2c5157;
    border-color: #2c5157;
}

.custom-checkbox .form-check-label {
    font-family: 'Raleway', sans-serif;
     font-size: 1.0rem; 
    color: #666;
}

/* Formular-Container (Glasmorphismus) */
.checkoutdata-container {
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 40px;
    border: 1px solid rgba(255, 255, 255, 0.4);
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    max-width: 700px;
    margin: 0 auto;
}

/* Eingabefelder */
.form-control {
    background: rgba(255, 255, 255, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.8);
    border-radius: 8px;
    padding: 12px;
    margin-bottom: 15px;
}

.form-control:focus {
    background: rgba(255, 255, 255, 0.8);
    box-shadow: 0 0 0 0.25rem rgba(74, 141, 150, 0.25);
    border-color: var(--vintage-turquois-dark);
}


.checkout-stepper {
    padding: 20px 0;
    font-family: 'Raleway', sans-serif;
}

.step-item {
    z-index: 2;
    text-align: center;
    width: 80px;
    display: flex;
    flex-direction: column;
    align-items: center;
    color: #888;
    transition: all 0.3s ease;
}

/* Standard-Stil für alle Kreise */
.step-circle {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3); /* Glas-Optik */
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    margin-bottom: 8px;
}

.step-label {
    font-size: 0.75rem;
    letter-spacing: 1px;
    font-weight: bold;
}

/* Die Linie zwischen den Punkten */
.step-line {
    position: absolute;
    top: 37px; /* Mitte der Kreise */
    left: 40px;
    right: 40px;
    height: 1px;
    background: rgba(0, 0, 0, 0.05);
    z-index: 1;
}

/* Aktiver Schritt Zustand */
.step-item.active {
    color: #3a6f76; /* Dein dunkler Titel-Farbton */
}

.step-item.active .step-circle {
    background: #3a6f76;
    color: white;
    border-color: #3a6f76;
    box-shadow: 0 4px 10px rgba(44, 81, 87, 0.2);
}

/* Sanftere Markierung für ungültige Felder */
.form-control.is-invalid {
    border: 1px solid rgba(180, 140, 140, 0.6) !important; /* Ein gedecktes, edles Altrosa/Grau */
    background: rgba(255, 255, 255, 0.4) !important;
    transition: all 0.3s ease;
}

/* Ein dezenter Hinweis-Text unter dem Feld in der Akzentfarbe */
.invalid-feedback-custom {
    font-size: 0.75rem;
    color: #a07a7a; /* Passendes dezentes Rosa-Grau */
    margin-top: 4px;
    font-style: italic;
    display: none;
}

.is-invalid + .invalid-feedback-custom {
    display: block;
}

/* Animation, wenn das Feld ungültig wird (leichtes Shaken) */
@keyframes shake {
    0% { transform: translateX(0); }
    25% { transform: translateX(3px); }
    50% { transform: translateX(-3px); }
    75% { transform: translateX(3px); }
    100% { transform: translateX(0); }
}

.form-control.is-invalid {
    animation: shake 0.4s ease-in-out;
}

.form-control {
    /* ... deine bisherigen styles ... */
    transition: border-color 0.3s ease, background-color 0.3s ease, box-shadow 0.3s ease !important;
}

/* Optional: Eine "Gültig"-Markierung (ganz dezent) */
.form-control:focus:not(.is-invalid) {
    border-color: var(--vintage-turquois-dark) !important;
    background: rgba(255, 255, 255, 0.8) !important;
}

/* Die Box, die die Auswahl umschließt */
#payment-methods-wrapper {
    border: 1px solid transparent;
    transition: all 0.3s ease;
}

/* Wenn nichts ausgewählt wurde (analog zu deinen Inputs) */
#payment-methods-wrapper.is-invalid-payment {
    border: 1px solid rgba(180, 140, 140, 0.6) !important;
    background: rgba(180, 140, 140, 0.05);
    animation: shake 0.4s ease-in-out;
}

.payment-option-card {
    transition: all 0.2s ease;
    border: 1px solid rgba(255, 255, 255, 0.4) !important;
}

.payment-option-card:hover {
    background: rgba(255, 255, 255, 0.5) !important;
}

/* Markierung der aktiven Auswahl */
.payment-option-card:has(input:checked) {
    border-color: var(--vintage-turquois-dark) !important;
    background: rgba(255, 255, 255, 0.6) !important;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}

/* Die gemeinsame Box */
#payment-methods-wrapper {
    border: 1px solid rgba(255, 255, 255, 0.4) !important;
    transition: all 0.3s ease;
}

/* Fehlermarkierung (Dezent wie bei den Inputs) */
#payment-methods-wrapper.is-invalid-payment {
    border: 1px solid rgba(180, 140, 140, 0.6) !important;
    background: rgba(180, 140, 140, 0.05) !important;
    animation: shake 0.4s ease-in-out;
}

/* Hover-Effekt für die Reihen innerhalb der Box */
.payment-option-row {
    transition: opacity 0.2s ease;
}
.payment-option-row:hover {
    opacity: 0.8;
}

/* Stil der Checkboxen (sollte bereits durch deine globalen Bootstrap-Styles für .form-check-input abgedeckt sein) */
.custom-checkbox .form-check-input:checked {
    background-color: var(--vintage-turquois-dark);
    border-color: var(--vintage-turquois-dark);
}





/* Container braucht position-relative (oben im HTML bereits hinzugefügt) */
.review-box {
    background: rgba(255, 255, 255, 0.15);
    margin-top: 10px; /* Platz für das Label oben */
}


/* Das Fieldset-Styling */
.review-fieldset {
    border: 1px solid rgba(255, 255, 255, 0.5) !important;
    display: block;
}

/* Die Legend (Überschrift auf der Linie) */
.review-legend-style {
    font-weight: bold !important;
    color: var(--vintage-turquois-dark) !important;
    font-size: 1rem; /* Entspricht h5 */
    margin-bottom: 0;
    /* Zentrierung auf der Linie */
    transform: translateY(-50%); /* Schiebt sie vertikal genau auf die Mitte der Linie */
    background: transparent;
    margin-left: 10px; /* Kleiner Abstand von der linken Ecke */
}

/* Bootstrap Fix: Verhindert, dass Legend die volle Breite erzwingt */
.review-legend-style {
    float: none;
    width: auto;
    padding: 0 10px;
}



/* Das Fieldset-Styling */
.review-fieldset {
    border: 1px solid rgba(255, 255, 255, 0.5) !important;
    display: block;
    margin-top: 20px; /* Platz nach oben für das Label */
}

/* Die Legend (Überschrift auf der Linie) */
.review-legend-style {
    font-weight: bold !important;
    color:  black !important; /* var(--vintage-turquois-dark) !important; */
    /*font-size: 1rem;       /* Entspricht h5 */
    
    /* WICHTIG FÜR DIE ZENTRIERUNG */
    float: none;           /* Bootstrap-Fix */
    width: auto;           /* Nur so breit wie der Text */
    padding: 0 10px;       /* Lücke in der Linie links/rechts vom Text */
    margin-bottom: 0;      /* Verhindert Verschiebung nach oben */
    line-height: 0;        /* Setzt die Text-Basis direkt auf die Linie */
    position: relative;
    top: 0;                /* Falls noch zu hoch/tief, hier mit px-Werten spielen */
}

/* Das Fieldset-Styling */
.review-fieldset {
    border: 1px solid #c6c7c9 !important; /* rgba(255, 255, 255, 0.5) !important; */
    display: block;
    margin-top: 0px; 
    padding-top: 10px; /* Abstand vom Text zur oberen Linie */
}

/* Die Legend präzise links auf der Linie */
.review-legend-style {
    font-weight: bold !important;
    /* color: var(--vintage-turquois-dark) !important; */
    /*font-size: 1rem;       /* Entspricht h5 */
    
    /* Positionierung */
    float: none;           /* Wichtig für Browser-Kompatibilität */
    width: auto;           /* Nur so breit wie der Text */
    padding: 0 10px;       /* Erzeugt die Lücke in der Linie */
    margin-left: 15px;     /* Schiebt das Label nach rechts, direkt hinter die Rundung */
    
    /* Vertikale Zentrierung auf der Linie */
    line-height: 0;        
    margin-bottom: 0;
    transform: translateY(-1px); /* Feinjustierung, damit die Linie genau mittig durch den Text liefe (wenn sie nicht unterbrochen wäre) */
}

/* Äußeres Panel: Der transparente "Rahmen" */
.summary-outer-panel {
    background-color: rgba(255, 255, 255, 0.4); /* Transparentes Weiß */
    backdrop-filter: blur(10px);               /* Glass-Blur Effekt */
    padding: 15px;                             /* Die Dicke des sichtbaren Rahmens */
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.5);
    height: fit-content;
}

/* Inneres Panel: Das weiße Feld mit dem Inhalt */
.summary-inner-panel {
    background-color: #ffffff;                 /* Festes Weiß */
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

/* Spezifischer Style für den Button in der Übersicht */
.btn-checkout-summary {
    background-color: #2c5157; /* Dein Dunkelgrün */
    color: white;
    border: none;
    border-radius: 15px;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    text-transform: none; /* Verhindert ungewollte Großbuchstaben */
}

.btn-checkout-summary:hover {
    background-color: #3d6e75;
    transform: translateY(-2px);
    color: white;
}

/* Falls der Button deaktiviert ist (AGB-Logik) */
.btn-checkout-summary:disabled {
    filter: grayscale(1);
    cursor: not-allowed;
    transform: none;
}



/* Äußeres transparentes Panel (wie zuvor) */
.review-data-outer-panel {
    background-color: rgba(255, 255, 255, 0.4); 
    backdrop-filter: blur(10px);
    padding: 15px;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.5);
}

/* Inneres weißes Hauptpanel */
.review-data-inner-panel {
    background-color: #ffffff;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

/* Die Info-Boxen (Fieldsets) im Inneren */
.review-info-box {
    background-color: #fcfcfc; /* Ganz helles Grau für Struktur */
    border: 1px solid #eee !important;
    position: relative;
}

/* Styling für die Überschriften der Boxen */
.review-legend-style {
    font-size: 0.75rem;
    font-weight: 700;

    letter-spacing: 1px;
    color: #2c5157; /* Dein Dunkelgrün */
    background-color: #ffffff; /* Damit sie den Rahmen sauber unterbricht */
    border-radius: 4px;
}

/* Zeilenhöhe für die Adressdaten */
.line-height-md {
    line-height: 1.6;
    color: #444;
}

/* Hover Effekt für den Korrigieren-Button */
.btn-back:hover {
    color: #2c5157 !important;
    opacity: 1 !important;
}


/* Äußeres Panel */
.success-outer-panel {
    background-color: rgba(255, 255, 255, 0.4); 
    backdrop-filter: blur(10px);
    padding: 12px;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.5);
}

/* Inneres Panel */
.success-inner-panel {
    background-color: #ffffff;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

/* Checkmark Animation oder Stil */
.success-checkmark {
    width: 80px;
    height: 80px;
    background-color: #2c5157;
    color: white;
    font-size: 40px;
    line-height: 80px;
    border-radius: 50%;
    margin: 0 auto;
    display: block;
}

/* Ablaufplan (Bestellstatus-Tracker) auf der Erfolgsseite */
.order-tracker {
    position: relative;
}

.tracker-step {
    display: flex;
    gap: 14px;
    align-items: flex-start;
    padding-bottom: 20px;
    position: relative;
}

.tracker-step:last-child {
    padding-bottom: 0;
}

.tracker-step::before {
    content: "";
    position: absolute;
    left: 13px;
    top: 28px;
    bottom: -4px;
    width: 2px;
    background: #eee;
}

.tracker-step:last-child::before {
    display: none;
}

.tracker-marker {
    flex: 0 0 auto;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    font-weight: 700;
    background: #f7f7f7;
    border: 1px solid #eee;
    color: #999;
    z-index: 1;
}

.tracker-marker.is-done {
    background: #4a8d96;
    border-color: #4a8d96;
    color: #fff;
}

.tracker-marker.is-active {
    background: #fff;
    border: 2px solid #4a8d96;
    color: #2c5157;
}

.tracker-txt {
    font-size: 0.95rem;
    line-height: 1.45;
    padding-top: 2px;
}

.tracker-txt strong {
    display: block;
    color: #444;
    font-weight: 600;
}

.tracker-step.is-active .tracker-txt strong {
    color: #2c5157;
}

.tracker-txt span {
    color: #777;
    font-size: 0.87rem;
}

/* Button Stil */
.btn-success-home {
    background-color: #2c5157;
    color: white;
    border-radius: 10px;
    font-weight: 500;
    transition: all 0.3s ease;
    display: inline-block;
}

.btn-success-home:hover {
    background-color: #3d6e75;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

/* =======================================================================
   MOBILE-ANPASSUNGEN (Warenkorb / Checkout)
   ======================================================================= */
/* Basis: Karten-Layout nur auf Handys; MUSS vor dem @media stehen,
   da Media Queries die Spezifitaet nicht erhoehen (sonst gewinnt die
   spaetere Regel und blendet die Karten dauerhaft aus). */
.cart-cards {
    display: none;
}

@media (max-width: 767.98px) {
    /* g-5-Gutter (3rem) erzeugt negative Row-Margins > Container-Padding
       -> horizontaler Überlauf. Auf Mobile kleineren Gutter verwenden. */
    main .row.g-5 {
        --bs-gutter-x: 1.5rem;
        --bs-gutter-y: 2rem;
    }

    /* Formular-/Glas-Container: weniger Padding, volle Breite nutzen */
    .checkoutdata-container {
        padding: 20px;
    }
    .summary-inner-panel {
        padding: 1rem !important;   /* überschreibt Bootstrap p-4 */
    }

    /* Warenkorb: Tabelle ausblenden, gestapelte Karten zeigen */
    .table-responsive { display: none; }
    .cart-cards { display: block; }

    /* Stepper: schmaler, damit alle 4 Schritte nebeneinander passen */
    .step-item {
        width: 64px;
    }
    .step-label {
        font-size: 0.62rem;
        letter-spacing: 0.5px;
    }
    .step-line {
        left: 32px;
        right: 32px;
    }
}

@media (max-width: 400px) {
    .checkoutdata-container {
        padding: 14px;
    }
    .step-item {
        width: 52px;
    }
    .step-circle {
        width: 30px;
        height: 30px;
    }
    .step-label {
        font-size: 0.55rem;
    }
    .step-line {
        top: 35px;
        left: 26px;
        right: 26px;
    }
}

/* ===== Warenkorb-Karten (Handy-Layout) ===== */
/* Default-Sichtbarkeit (.cart-cards{display:none}) steht weiter oben,
   vor dem @media-Block, damit die Einblendung <768px greift. */
.cart-card {
    display: grid;
    grid-template-columns: 72px 1fr auto;
    grid-template-rows: auto;
    align-items: center;
    gap: 12px;
    padding: 14px 4px;
    border-bottom: 1px solid #eee;
}

.cart-card-img {
    width: 72px;
    height: 72px;
    object-fit: cover;
    border-radius: 10px;
}

.cart-card-img-link {
    display: block;
    width: 72px;
    height: 72px;
}

/* Klickbarer Bild/Titel-Link zurueck zur Produktdetailansicht (Bild + Titel,
   sowohl im Karten- als auch im Tabellen-Layout). */
.cart-item-link {
    display: block;
    color: inherit;
    text-decoration: none;
    cursor: pointer;
}

.cart-item-link:hover {
    text-decoration: underline;
}

.cart-item-link img {
    transition: opacity 0.2s ease;
}

.cart-item-link:hover img {
    opacity: 0.85;
}

/* Dauerhafter Hinweis in einer Cart-Zeile, wenn ein Produkt nicht mehr
   verfuegbar ist. Bewusst kein Toast: bleibt bestehen, waehrend der Kunde
   weiter im Checkout ausfuellt - kann er trotzdem bestellen. */
.cart-item-hinweis {
    border: 1px solid;
    border-radius: 8px;
    padding: 8px 14px;
    margin-top: 8px;
    font-family: 'Raleway', sans-serif;
    font-size: 0.8rem;
    line-height: 1.35;
}

/* Farboptionen fuer .cart-item-hinweis. Aktiv im Einsatz: .cart-hinweis-flieder.
   Die anderen drei bleiben als Alternativen erhalten. */
.cart-hinweis-teal {
    background: #eaf3f4;
    border-color: #c3dee1;
    color: #2c5157;
}

.cart-hinweis-grau {
    background: #f4f3f0;
    border-color: #e0ddd4;
    color: #5c574e;
}

.cart-hinweis-rose {
    background: #f7eef1;
    border-color: #e6d3d8;
    color: #8a5568;
}

.cart-hinweis-flieder {
    background: #f0eef8;
    border-color: #dcd6ee;
    color: #5b4f7a;
}

/* Warnung: die im Warenkorb gewaehlte Farbe wurde inzwischen global
   deaktiviert. Anders als .cart-hinweis-flieder blockiert das den Checkout,
   daher eine deutlichere, warme Warnfarbe. */
.cart-hinweis-warnung {
    background: #fbebe7;
    border-color: #e8bdae;
    color: #8a3a24;
}

/* Mini-Farbauswahl innerhalb der Warnung, um die Zeile direkt zu korrigieren. */
.cart-farbe-fix {
    margin-top: 8px;
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}
.cart-farbe-fix .color-circle {
    width: 24px;
    height: 24px;
    cursor: pointer;
    flex: none;
}
.cart-farbe-fix .cart-farbe-fix-label {
    font-size: 0.76rem;
    color: inherit;
    opacity: 0.85;
}

/* Volle Zeile unter der Karte (Handy-Layout) statt Zwischenzeile im Titel-
   Bereich - der Hinweis soll die ganze Kartenbreite nutzen koennen und die
   image/main/delete-Anordnung der Karte unberuehrt lassen. Der Abstand nach
   oben kommt von .cart-item-hinweis selbst (margin-top). */
.cart-card-hinweis-row {
    grid-column: 1 / -1;
}

/* Desktop-Tabelle: eigene volle Zeile unter dem Produkt statt Zwischenzeile
   in der Titel-Zelle (siehe cart-card-hinweis-row oben, gleicher Grund). Kein
   eigener Rahmen oben, damit sie optisch an die Produktzeile andockt. */
.cart-hinweis-row td {
    padding-top: 0 !important;
    padding-bottom: 14px !important;
    border-top: none !important;
}

/* Verhindert eine Trennlinie zwischen Produktzeile und der direkt folgenden
   Hinweiszeile - beide gehoeren visuell zusammen. Selektor bewusst identisch
   zur ueberschriebenen Basisregel (.cart-table tbody td, s. o.) aufgebaut,
   nur um .hat-hinweis erweitert, damit die Spezifitaet sicher hoeher liegt. */
.cart-table tbody tr.cart-row.hat-hinweis td {
    border-bottom: none !important;
}

.cart-card-main {
    min-width: 0; /* erlaubt Umbruch langer Titel im Grid */
}

.cart-card-title {
    font-weight: 700;
    color: #2c5157;
    font-size: 1rem;
    line-height: 1.25;
    margin-bottom: 4px;
}

.cart-card-color {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 10px;
}

.cart-card-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
}

.cart-card-price {
    font-size: 1.05rem;
    white-space: nowrap;
}

.cart-card .btn-delete {
    align-self: start;
}

@media (max-width: 400px) {
    .cart-card {
        grid-template-columns: 60px 1fr auto;
        gap: 10px;
    }
    .cart-card-img {
        width: 60px;
        height: 60px;
    }
    .cart-card-img-link {
        width: 60px;
        height: 60px;
    }
    .cart-card-title {
        font-size: 0.95rem;
    }
    .cart-card-qty .btn {
        padding-left: 0.4rem !important;
        padding-right: 0.4rem !important;
    }
}

/* Mindestbestellwert-Blockade: Warnung ueber dem Checkout-Button, wenn der
   Warenwert den Mindestbestellwert noch nicht erreicht. */
.mindestbestellwert-warning {
    background: #fdf3e3;
    border: 1px solid #f0d9a8;
    border-radius: 12px;
    padding: 12px 14px;
    font-family: 'Raleway', sans-serif;
    font-size: 0.85rem;
    line-height: 1.4;
    color: #8a5a10;
}

.mindestbestellwert-warning strong {
    color: #6b4408;
}

.subtotal-unter-mindest {
    color: #b8860b;
}
