/* ============================
   PANIER – décor de fond
   ============================ */

.page-panier {
    position: relative;
    isolation: isolate;
}

.page-panier::before {
    content: "";
    position: fixed;
    left: 0;
    bottom: 8rem;
    width: 80vw;
    aspect-ratio: 1 / 1;
    background: linear-gradient(160deg, #fff8f3 0%, #ffebdf 100%);
    border-radius: 18px;
    box-shadow: 0 26px 50px rgba(147, 197, 253, 0.28);
    opacity: 0.85;
    z-index: -1;
    pointer-events: none;
}

@media (max-width: 900px) {
    .page-panier::before {
        display: none;
    }
}

/* ============================
   PANIER – lignes repliables
   ============================ */

.cart-photo-count {
    margin: 6px 0 0;
    font-size: 0.85rem;
    color: #0ea5b7;
}

.cart-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.cart-global {
    /* border: 1px solid #a5a5a5; */
    border-radius: 0;
    margin: 0 0 -12px;
    padding: 0;
    max-width: 920px;
    display: flex;
    flex-direction: column;
    gap: 0;
}

.cart-global-trigger-wrap {
    display: flex;
    justify-content: flex-start;
 }

.cart-global-trigger-wrap .btn-action-pill {
    min-width: 320px;
    font-size: 0.993rem;
    padding: 0.63rem 1.25rem;
}

.cart-global-trigger-btn {
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    border-radius: 0;
    letter-spacing: 0.01em;
}

.cart-global-trigger-btn .cart-toggle-icon {
    font-size: 1.15rem;
    line-height: 1;
    opacity: 0.95;
}

.cart-global-body {
    border: 1px solid #eee;
    background: #e9f5f6;
    display: flex;
    flex-direction: column;
    gap: 12px;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    padding: 0 12px;
    pointer-events: none;
    transition: max-height .35s ease, opacity .25s ease, padding .25s ease;
}

.cart-global-body.is-open {
    max-height: none;
    opacity: 1;
    padding: 12px;
    pointer-events: auto;
}

.cart-global-selection {
    margin: 0;
    color: var(--text-muted);
}

/* Ligne complète */
.cart-row {
    border: 1px solid #a5a5a5;
    border-radius: 8px;
    background: #fff;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.08);

}

.cart-pack-instruction {
    margin: 0 0 10px;
    padding: 20px 14px;
    border: 1px solid rgba(220, 53, 69, 0.35); /* base #dc3545 */
    background: linear-gradient(180deg, #fdfcf2, #fdfae8);
    color: #7f1d1d;
    font-size: 0.92rem;
    font-weight: 600;
    line-height: 1.35;
}

.cart-pack-instruction {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
}

.cart-pack-instruction {
    display: flex;
    flex-direction: column;
    gap: 8px;
    align-items: flex-start;   /* force alignement à gauche */
    text-align: left;          /* sécurité si parent centre le texte */
}

.cart-pack-instruction .step-separator {
    display: none; /* on masque les | */
}

.cart-pack-instruction .step {
    width: 100%;               /* évite centrage inline */
    justify-content: flex-start;
}

.cart-pack-instruction .step-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: #e2e8f0;       /* gris très doux */
    color: #334155;            /* texte gris foncé */
    font-size: 0.8rem;
    font-weight: 700;
}

.cart-pack-instruction .step-separator {
    opacity: 0.4;
}

/* ============================
   HEADER (toujours visible)
   ============================ */

.cart-row-header {
    display: grid;
    grid-template-columns: 120px 1fr auto;
    gap: 16px;
    align-items: center;
    padding: 12px 16px;
}

/* Vignette */
.cart-thumb {
    width: 120px;
}

.cart-thumb img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 4px;
}

/* Infos photo */
.cart-info {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.cart-photo-title {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
}

.cart-selected-pack-title {
    display: inline-block;
    padding: 2px 8px;
    border: 1px solid #cbd5e1;
    background: #f8fafc;
    color: #334155;
    font-size: 0.82rem;
    font-weight: 600;
    line-height: 1.3;
}

.cart-album-title {
    font-size: 0.9rem;
    color: var(--text-muted);
}


.cart-photo-promos {
    margin: 4px 0 0;
    padding: 0;
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.cart-photo-promo-item {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    width: fit-content;
    max-width: 100%;
    padding: 4px 10px;
    border-radius: 999px;
    background: #fef9c3;
    border: 1px solid #fde68a;
    color: #854d0e;
    font-size: 0.82rem;
    line-height: 1.2;
}

.cart-gift-icon {
    width: 16px;
    height: 16px;
    color: #ca8a04;
    flex: 0 0 16px;
}

.cart-gift-icon svg {
    display: block;
    width: 100%;
    height: 100%;
}


.cart-feedback-message {
    margin: 0 0 14px;
    padding: 12px 16px;
    border: 1px solid #fecaca;
    border-radius: 8px;
    background: #fef2f2;
    color: #991b1b;
    font-weight: 600;
}

.cart-pack-match-message {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    margin: 0 0 14px;
    padding: 12px 16px;
    border: 1px solid #bae6fd;
    border-radius: 8px;
    background: #f0f9ff;
    color: #0c4a6e;
    font-weight: 500;
}

.cart-pack-match-message .cart-pack-text {
    line-height: 1.4;
}

.cart-pack-match-message .cart-pack-icon {
    width: 18px;
    height: 18px;
    flex: 0 0 18px;
    color: #f59e0b;
}

.cart-toggle {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 14px;
    border: 1px solid transparent;
    border-radius: 999px;

    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-main);
    background: #f3f4f6;
    text-decoration: none;
    white-space: nowrap;
    cursor: pointer;
    transition: background-color .2s ease, border-color .2s ease, color .2s ease, box-shadow .2s ease;
}

.cart-toggle:hover {
    background: #e5e7eb;
}

.cart-toggle[aria-expanded="false"] {
    background: #ea580c;
    border-color: #ea580c;
    color: #fff;
    box-shadow: 0 6px 14px rgba(234, 88, 12, 0.25);
}

.cart-toggle[aria-expanded="false"]:hover {
    background: #c2410c;
    border-color: #c2410c;
text-decoration: none;
}

.cart-toggle-icon {
    font-size: 0.85rem;
}

.cart-header-actions {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}


.cart-toggle-wrap {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 4px;
}

.cart-photo-item-count {
    margin: 0;
    font-size: 0.78rem;
    color: #ea580c;
}

.cart-photo-item-error {
    display: block;
    margin: 4px 0 0;
    padding: 6px 10px;
    border-radius: 8px;
    background: #fee2e2;
    color: #b91c1c;
    font-weight: 700;
    font-size: 0.85rem;
    border: 1px solid #fecaca;
    animation: cart-error-pulse 1.1s ease-in-out 3;
    transition: opacity .35s ease;
}

@keyframes cart-error-pulse {
    0% { transform: scale(1); box-shadow: 0 0 0 0 rgba(185, 28, 28, 0.25); }
    50% { transform: scale(1.02); box-shadow: 0 0 0 6px rgba(185, 28, 28, 0); }
    100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(185, 28, 28, 0); }
}

.cart-photo-item-error.is-fading {
    opacity: 0;
}

/* ============================
   BODY (repliable)
   ============================ */

.cart-row-body {
    border-top: 1px solid #eee;
    padding: 0 16px;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    pointer-events: none;
    transition: max-height .35s ease, opacity .25s ease, padding .25s ease;
}

.cart-row-body.is-open {
    max-height: none;
    padding: 16px;
    opacity: 1;
    pointer-events: auto;
}

.cart-body-inner {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

/* ============================
   ACTIONS : Télécharger + Tirages
   ============================ */

.cart-download-form,
.cart-add-form {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;

    /* ✅ CLÉ : aligne select / quantité / bouton sur la même ligne (bas aligné) */
    align-items: flex-end;
}

/* ============================
   LABELS (neutralise le <br> qui casse l’alignement)
   ============================ */

.cart-add-form label {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin: 0;
}

.cart-add-form label.select-label {
    max-width: 50%;
}
/* ✅ supprime l’effet du <br> dans tes labels (important) */
.cart-add-form label br {
    display: none;
}

/* Le petit titre au-dessus des champs (si présent dans le HTML) */
.cart-add-form label strong {
    font-size: 12px;
    line-height: 1.1;
    font-weight: 600;
    color: var(--text-muted);
}

/* ============================
   HAUTEUR UNIFIÉE (champ + bouton)
   ============================ */

:root {
    --cart-control-h: 44px; /* hauteur unique */
}

.cart-add-form select,
.cart-add-form input[type="number"],
.cart-add-form button,
.cart-download-form button {
    height: var(--cart-control-h);
    box-sizing: border-box;
}

/* ============================
   BOUTONS D’ACTION
   ============================ */

.cart-download-form .btn-action-pill,
.cart-add-form button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;

    padding: 0 16px;

    cursor: pointer;
    font-weight: 600;
    line-height: 1;
}

.cart-add-form button {
    border-radius: 8px;
    background: #15803d;
    color: #fff;
    border: 1px solid #15803d;
    transition:
            background 0.15s ease,
            border-color 0.15s ease,
            box-shadow 0.15s ease;
}

.cart-add-form button:hover {
    background: #166534;
    border-color: #166534;
    color: #ffffff;
}

.cart-download-form .btn-action-pill .btn-price {
    margin-left: auto;
    font-weight: 600;
}

/* ============================
   SELECT TIRAGES – style galerie
   ============================ */

.cart-add-form select {
    width: 100%;
    max-width: 100%;

    padding: 0 38px 0 12px;
    font-size: 14px;
    line-height: 1;

    border-radius: 8px;
    border: 1px solid rgba(0,0,0,.2);
    background: #fafafa;

    appearance: none;
    cursor: pointer;
}

/* Flèche custom (centrée verticalement) */
.cart-add-form label.select-label::after {
    content: "▾";
    position: absolute;
    right: 12px;

    /* ✅ centre sur le champ (pas sur tout le label) :
       on descend sous le titre (strong) grâce au gap et au flux */
    top: calc(6px + 12px + var(--cart-control-h) / 2);
    transform: translateY(-50%);

    pointer-events: none;
    opacity: .9;
    font-size: 22px;
    font-weight: 700;
    color: #0f172a;
    animation: cart-select-nudge 1.8s ease-in-out infinite;
}

@keyframes cart-select-nudge {
    0%,
    100% {
        transform: translateY(-50%);
        opacity: 0.75;
    }
    50% {
        transform: translateY(calc(-50% + 4px));
        opacity: 1;
    }
}

@media (prefers-reduced-motion: reduce) {
    .cart-add-form label.select-label::after {
        animation: none;
    }
}

/* ============================
   QUANTITÉ
   ============================ */

.cart-add-form input[type="number"] {
    width: 110px;
    padding: 0 10px;
    font-size: 14px;
    line-height: 1;
    text-align: center;

    border-radius: 8px;
    border: 1px solid rgba(0,0,0,.2);
    background: #fff;
}

/* ============================
   ARTICLES AJOUTÉS
   ============================ */

.cart-items-list {
    margin: 0;
    padding-left: 1rem;
    padding: 0;
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.cart-item-row {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    border-radius: 10px;
    background: #15803d30;
    border: 1px solid #e2e8f0;
}

.cart-item-info {
    flex: 1 1 auto;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.cart-item-label {
    min-width: 0;
    font-size: 0.95rem;
    font-weight: 500;
}

.cart-item-note {
    font-size: 0.85rem;
    line-height: 1.2;
}

.cart-item-quantity-controls {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.cart-item-quantity-static,
.cart-item-quantity-value {
    min-width: 24px;
    text-align: center;
    font-weight: 600;
}

.cart-qty-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border: 1px solid #cbd5e1;
    border-radius: 999px;
    text-decoration: none;
    color: #0f172a;
    background: #fff;
    font-weight: 700;
    transition: background .15s ease, border-color .15s ease;
}

.cart-qty-btn:hover {
    background: #f1f5f9;
    border-color: #94a3b8;
}

.cart-item-price {
    flex: 0 0 auto;
    font-weight: 700;
    white-space: nowrap;
}

/* Liens secondaires */
.cart-remove-item,
.cart-remove-photo-button {
    font-size: 0.85rem;
    color: var(--text-muted);
    text-decoration: none;
}

.cart-remove-item,
.cart-remove-photo-button {
    width: 28px;
    height: 28px;
    border-radius: 999px;
    border: 1px solid #e2e8f0;
    background: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 0;
    flex: 0 0 28px;
    overflow: hidden;
}

.cart-remove-icon {
    width: 18px;
    height: 18px;
    min-width: 18px;
    min-height: 18px;
    display: block;
    flex-shrink: 0;
}

.cart-remove-item {
    width: 28px;
    height: 28px;
    border-radius: 999px;
    border: 1px solid #e2e8f0;
    background: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 0;
    flex: 0 0 28px;
    overflow: hidden;
}

.cart-remove-icon {
    width: 18px;
    height: 18px;
    min-width: 18px;
    min-height: 18px;
    display: block;
    flex-shrink: 0;
}

.cart-remove-item svg {
    width: 18px;
    height: 18px;
}


.cart-remove-item:hover,
.cart-remove-photo-button:hover {
    color: var(--text-main);
}

.cart-pack-form {
  height: 50%;
    align-items: center;
    position: relative;
    z-index: 3;
    pointer-events: auto;
}

.btn-album-pack {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 14px;
    border-radius: 999px;
    font-size: 0.9rem;
    font-weight: 600;
    height: 100%;
    white-space: nowrap;
    color: #ffffff;
    background: linear-gradient(135deg, #c9551f 0%, #e07a36 45%, #ffb154 100%);
    border: 1px solid #c9551f;
    box-shadow:
        0 8px 18px rgba(210, 103, 43, 0.35),
        0 0 0 rgba(255, 191, 115, 0);
    cursor: pointer;
    position: relative;
    overflow: hidden;
    z-index: 1;
    pointer-events: auto;
    transition:
        background 0.2s ease,
        border-color 0.2s ease,
        box-shadow 0.2s ease,
        transform 0.2s ease;
    animation: album-pack-pulse 5s ease-in-out infinite;
}

.btn-album-pack:hover,
.btn-album-pack:focus-visible {
    background: linear-gradient(135deg, #bf4f1c 0%, #dd6f2b 45%, #ffb154 100%);
    border-color: #bf4f1c;
    box-shadow:
        0 12px 24px rgba(185, 87, 35, 0.4),
        0 0 24px rgba(255, 183, 92, 0.45);
    transform: translateY(-2px) scale(1.01);
}

.btn-album-pack:active {
    transform: translateY(0) scale(0.99);
}

.btn-album-pack::after {
    content: "";
    position: absolute;
    inset: -60% -20%;
    background: linear-gradient(
        120deg,
        rgba(255, 255, 255, 0) 35%,
        rgba(255, 255, 255, 0.85) 50%,
        rgba(255, 255, 255, 0) 65%
    );
    transform: translateX(-180%) rotate(10deg);
    opacity: 0;
    mix-blend-mode: screen;
    pointer-events: none;
    animation: album-pack-flash 5s ease-in-out infinite;
}

@keyframes album-pack-pulse {
    0% {
        box-shadow:
            0 8px 18px rgba(210, 103, 43, 0.35),
            0 0 0 rgba(255, 191, 115, 0);
        transform: translateY(0);
    }
    50% {
        box-shadow:
            0 12px 24px rgba(210, 103, 43, 0.45),
            0 0 22px rgba(255, 190, 110, 0.45);
        transform: translateY(-1px);
    }
    100% {
        box-shadow:
            0 8px 18px rgba(210, 103, 43, 0.35),
            0 0 0 rgba(255, 191, 115, 0);
        transform: translateY(0);
    }
}

@keyframes album-pack-flash {
    0%,
    65% {
        opacity: 0;
        transform: translateX(-180%) rotate(10deg);
    }
    72% {
        opacity: 1;
        transform: translateX(140%) rotate(10deg);
    }
    78% {
        opacity: 0;
        transform: translateX(220%) rotate(10deg);
    }
    100% {
        opacity: 0;
        transform: translateX(220%) rotate(10deg);
    }
}

/* Textes secondaires */
.cart-muted {
    font-size: 0.9rem;O
    color: var(--text-muted);
}

.cart-pack-message {
    color: #b45309;
    font-weight: 600;
}

.page-panier .modal {
    position: fixed;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(7, 12, 18, 0.55);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 200ms ease, visibility 200ms ease;
    z-index: 1000;
}

.page-panier .modal.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.page-panier .modal-content {
    position: relative;
    width: min(520px, 92vw);
    background: #ffffff;
    color: #0f172a;
    border-radius: 16px;
    padding: 26px 28px 24px;
    box-shadow: 0 30px 80px rgba(15, 23, 42, 0.25);
    transform: translateY(10px);
    transition: transform 220ms ease;
}

.page-panier .modal.is-open .modal-content {
    transform: translateY(0);
}

.page-panier .modal-content h2 {
    margin: 0 0 10px;
    font-size: 1.25rem;
    letter-spacing: 0.01em;
}

.page-panier .modal-content p {
    margin: 0;
    font-size: 0.98rem;
    line-height: 1.5;
}

.page-panier .modal-close {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 34px;
    height: 34px;
    border: none;
    border-radius: 999px;
    background: #f1f5f9;
    color: #0f172a;
    font-size: 1.25rem;
    cursor: pointer;
}

.page-panier .modal-close:hover {
    background: #e2e8f0;
}

/* ============================
   MOBILE
   ============================ */

@media (max-width: 600px) {
    .cart-row-header {
        grid-template-columns: 1fr;
        gap: 8px;
    }

    .cart-thumb {
        width: 160px;
    }

    .cart-toggle {
        align-self: flex-start;
    }

    .cart-download-form,
    .cart-add-form {
        flex-direction: column;
        align-items: stretch;
    }

    .cart-global-trigger-wrap .btn-action-pill {
        width: 100%;
        min-width: 0;
    }

    .cart-add-form label.select-label {
        max-width: 100%;
    }

    .cart-add-form select,
    .cart-add-form input,
    .cart-download-form button,
    .cart-add-form button {
        width: 100%;
        min-width: 0;
    }

    .cart-item-row {
        grid-template-columns: 1fr;
        justify-items: start;
    }


    /* Flèche : simple en mobile */
    .cart-add-form label::after {
        top: calc(6px + 12px + var(--cart-control-h) / 2);
        right: 12px;
    }
}

/* ============================
   RÉCAP PANIER (TOTAL)
   ============================ */

.cart-summary {
    margin-top: 24px;
    display: flex;
    justify-content: flex-end;
}

.cart-total {
    display: inline-flex;
    align-items: center;
    gap: 16px;

    padding: 14px 20px;
    border-radius: 12px;

    background: #15803d1a; /* vert pastel */
    border: 1px solid #15803d33;

    font-size: 1.05rem;
}

.cart-total-label {
    color: var(--text-muted);
    font-weight: 500;
}

.cart-total-amount {
    font-size: 1.35rem;
    font-weight: 700;
    color: #15803d;
    white-space: nowrap;
}

/* Bouton validation aligné avec le total */
.cart-validate {
    margin-left: 16px;
    display: flex;
    align-items: center;
}

.cart-validate a,
.cart-validate button {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    height: 48px;
    padding: 0 22px;

    border-radius: 10px;
    background: #15803d;
    color: #fff;
    text-decoration: none;
    font-weight: 600;
    border: none;
    cursor: pointer;
    font: inherit;

    transition: background .15s ease;
}

.cart-validate a:hover,
.cart-validate button:hover {
    background: #166534;
}

/* ============================
   TITRE PANIER
   ============================ */

.cart-title {
    text-align: center;
}

.cart-clear-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: flex-start;
    margin-top: 24px;
    position: relative;
    z-index: 2;
    pointer-events: auto;
}

.cart-clear-form {
    display: inline-flex;
}

.cart-clear-wrapper .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 100%;
}


/* =========================
   BOUTON – VIDER PANIER
========================= */
.btn-cart-clear {
    --btn-bg: #3b82f61a;          /* bleu pastel */
    --btn-bg-hover: #3b82f633;
    --btn-text: #1e40af;
    --color-border: #3b82f64d;

    font-weight: 600;
    padding: 0.6rem 1.4rem;
    border-radius: 999px;
    display: inline-flex;
}

/* Empêche le soulignement du lien bouton */
.btn-cart-clear,
.btn-cart-clear:hover,
.btn-cart-clear:focus,
.btn-cart-clear:active {
    text-decoration: none;
}

.cart-layout {
    display: flex;
    gap: 24px;
    align-items: flex-start;
    margin-top: 16px;
}

.cart-list {
    flex: 1 1 auto;
    min-width: 0;
}

.cart-summary {
    flex: 0 0 360px;
    align-self: flex-start;
}

@media (min-width: 961px) {
    .cart-layout {
        padding-right: 384px;
    }

    .cart-summary {
        margin-top: 0;
        position: fixed;
        top: 100px;
        right: 24px;
        width: 360px;
    }

    .cart-summary-card {
        max-height: none;
        overflow: visible;
    }
}

.cart-summary-card {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    padding: 16px;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.08);
}

.cart-summary-title {
    margin: 0 0 14px;
    font-size: 1rem;
}

.cart-summary-line,
.cart-total {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.cart-summary-line {
    padding: 8px 0;
    border-bottom: 1px solid #eef2f7;
}

.cart-summary-amount {
    font-weight: 600;
    white-space: nowrap;
    font-size: 0.95rem;
}

.cart-total {
    margin-top: 12px;
    padding: 10px 12px;
    border-radius: 12px;
    background: #15803d14;
    border: 1px solid #15803d33;
    font-size: 0.95rem;
}

.cart-summary-line--promo .cart-summary-amount {
    color: #b45309;
}

.cart-summary .cart-promo input[type="text"] {
    padding: 8px 10px;
    font-size: 0.95rem;
}

.cart-summary .cart-promo button,
.cart-summary .cart-validate button {
    height: 42px;
    padding: 0 16px;
    font-size: 0.95rem;
}

.cart-total-amount {
    color: #166534;
}

.cart-promo {
    margin-top: 14px;
    padding: 12px;
    border-radius: 12px;
    border: 1px dashed #e2e8f0;
    background: #f8fafc;
}

.cart-promo-form {
    display: flex;
    gap: 8px;
    align-items: center;
}

.cart-promo-form input[type=\"text\"] {
    flex: 1 1 auto;
    padding: 10px 12px;
    border-radius: 10px;
    border: 1px solid #cbd5e1;
}

.cart-promo-form button,
.cart-promo-remove {
    padding: 10px 14px;
    border-radius: 10px;
    border: 1px solid #0ea5b7;
    background: #0ea5b7;
    color: #fff;
    font-weight: 600;
}

.cart-promo-remove {
    background: #fff;
    color: #0ea5b7;
}

.cart-promo-alert {
    margin-bottom: 8px;
    font-size: .9rem;
    color: #b91c1c;
    font-weight: 600;
}

.cart-promo-applied {
    margin-bottom: 8px;
    font-size: .92rem;
    color: #0f172a;
}

.cart-validate {
    margin: 14px 0 0;
}

.cart-validate a {
    width: 100%;
}

.cart-delivery-note {
    margin: 14px 0 0;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: .9rem;
    color: #475569;
}

.cart-delivery-note svg {
    width: 18px;
    height: 18px;
    color: #0ea5b7;
    flex: 0 0 18px;
}

.cart-payment-icons {
    margin-top: 14px;
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    width: 10rem;
}

.cart-pay-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 74px;
    padding: 6px 10px;
    border-radius: 999px;
    border: 1px solid #cbd5e1;
    background: #f8fafc;
    color: #0f172a;
    font-size: .84rem;
    font-weight: 700;
}

@media (max-width: 960px) {
    .cart-layout {
        flex-direction: column;
        padding-right: 0;
    }

    .cart-summary {
        position: static;
        width: 100%;
    }
}

.cart-pack-thumb {
    width: 76px;
    height: 76px;
    border-radius: 10px;
    background: #f1f5f9;
    border: 1px solid #cbd5e1;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
}
