/* =========================================================================
   Paracenter.fr - Thème Rose Vif (rebrand 2026)
   Palette : rose #E71D87 · emerald #10b981 · slate #2C3E50 · Poppins
   Compat. : conserve les classes attendues par app.js et les contrats
   (`.cart-badge`, `.toast-container`, `.cart-line[data-pid]`, `#checkoutForm`,
   `#productQty`, `.cart-summary-row`, `.admin-kpis`, `.admin-table`, `.modal`).
   NB : on a gardé les noms de vars `--pink*` historiques pour la compat (22
   fichiers consommateurs), seules les valeurs hex ont changé. Pas de cascade
   var→var dans :root pour rester bulletproof derrière proxies/caches.
   ========================================================================= */

:root {
    --pink:         #E71D87;
    --pink-light:   #FBDAEC;
    --pink-dark:    #C01573;
    --green:        #10b981;
    --green-light:  #D1FAE5;
    --green-dark:   #047857;
    --blue-dark:    #2C3E50;
    --text:         #1a1a2e;
    --text-light:   #606060;
    --gray:         #C4C4C4;
    --gray-light:   #F5F6F7;
    --border:       #e2e8f0;
    --bg:           #ffffff;
    --bg-soft:      #fafbfc;
    --white:        #fff;
    --star:         #f59e0b;
    --red:          #ef4444;
    --orange:       #f97316;

    /* Aliases retro-compat (ancien thème) - mappés sur la nouvelle palette */
    --c-bg:         var(--white);
    --c-bg-soft:    var(--gray-light);
    --c-card:       #fff;
    --c-border:     var(--border);
    --c-text:       var(--text);
    --c-text-muted: var(--text-light);
    --c-accent:     var(--pink);
    --c-accent-h:   var(--pink-dark);
    --c-rose:       var(--pink);
    --c-danger:     var(--red);
    --c-success:    var(--green);

    --radius:    10px;
    --radius-lg: 16px;
    --shadow-sm: 0 1px 2px rgba(0,0,0,.05);
    --shadow:    0 4px 14px rgba(0,0,0,.08);
    --shadow-lg: 0 12px 40px rgba(0,0,0,.12);

    /* Largeur max de la colonne de page (header + navs + contenu, tous alignes).
       Proportions facon parasanteonline.fr : 1814px sur tres grands ecrans,
       94.47917vw entre 992 et 1919px (cf. media query juste apres :root). */
    --page-max: 1814px;
}

/* Colonne fluide sur ecrans intermediaires : 94.47917vw (= 1814px @1920px). */
@media (min-width: 992px) and (max-width: 1919px) {
    :root { --page-max: 94.47917vw; }
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html, body { margin: 0; padding: 0; }
html { min-height: 100%; }
body {
    font-family: 'Poppins', system-ui, -apple-system, sans-serif;
    color: var(--text);
    background: #F5F6F7;
    line-height: 1.5;
    font-size: 14px;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}
.site-main { flex: 1 0 auto; }
.site-footer { flex-shrink: 0; }

a { color: inherit; text-decoration: none; transition: color .15s; }
a:hover { color: var(--pink); }
ul { list-style: none; }
img { max-width: 100%; display: block; }

.container { max-width: var(--page-max); margin: 0 auto; padding: 0 20px; }
.container-sm { max-width: 980px; margin: 0 auto; padding: 0 20px; }

/* ---------- Top bar rose (livraison) ---------- */
.top-bar {
    background: var(--pink); color: #fff;
    font-size: .7rem; font-weight: 700;
    padding: 8px 0; text-align: center;
    text-transform: uppercase; letter-spacing: .03em;
}
.top-bar i { margin-right: 6px; }

/* ---------- Header ---------- */
.site-header {
    background: #fff;
    border-bottom: 1px solid var(--border);
    position: sticky; top: 0; z-index: 100;
}
.header-inner {
    display: flex; align-items: center; justify-content: space-between;
    padding: 14px 20px; gap: 24px;
    max-width: var(--page-max); margin: 0 auto;
}
.brand, .logo {
    font-size: 1.4rem; font-weight: 800;
    color: var(--pink); white-space: nowrap;
    display: flex; flex-direction: column; align-items: flex-start;
    line-height: 1.1;
}
.brand-line { display: block; line-height: 1; }
.brand span, .logo span { color: var(--pink); }
.brand small, .logo small {
    display: block; font-size: .55rem;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: .12em;
    font-weight: 400;
    margin-top: 2px;
}
.brand i { color: var(--pink); font-style: normal; font-size: 1.25rem; }

.header-search {
    flex: 1; max-width: 540px; position: relative;
}
.header-search input {
    width: 100%; padding: 10px 44px 10px 16px;
    border: 2px solid var(--pink);
    border-radius: 10px;
    font-size: .85rem; font-family: inherit; outline: none;
    transition: .15s;
}
.header-search input:focus {
    border-color: var(--pink-dark);
    box-shadow: 0 0 0 3px rgba(231,29,135,.12);
}
.header-search > form > .search-btn,
.header-search > form > button[type="submit"] {
    position: absolute; right: 4px; top: 4px; bottom: 4px;
    background: var(--pink); border: none; border-radius: 8px;
    width: 36px; cursor: pointer; color: #fff; font-size: 1rem;
}

/* ============================================================
   Search dropdown (theme/search-bar.js) - refonte 2026-05-20
   Tout en vraies classes CSS. Plus aucun style inline JS foireux
   qui faisait déborder les boutons MARQUES en colonne verticale.
   ============================================================ */
.search-dropdown {
    position: absolute;
    top: calc(100% + 6px);
    left: 0;
    right: 0;
    width: auto;
    max-width: 100%;
    background: #fff;
    border-radius: 14px;
    border: 1px solid var(--border);
    box-shadow: 0 12px 40px rgba(0,0,0,.15);
    padding: 16px;
    z-index: 200;
    max-height: 540px;
    overflow-x: hidden;
    overflow-y: auto;
    box-sizing: border-box;
    font-family: inherit;
    display: none;
}
.search-dropdown.open { display: block; }
.search-dropdown * { box-sizing: border-box; }

/* Sections internes */
.sd-section { margin-bottom: 16px; min-width: 0; }
.sd-section:last-child { margin-bottom: 0; }
.sd-section-title {
    font-size: .7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .08em;
    color: var(--text-light);
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 6px;
}
.sd-section-title i { color: var(--pink); }

/* Row produit (récemment vus + résultats search) */
.sd-row {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px;
    border-radius: 10px;
    text-decoration: none;
    color: inherit;
    transition: background .15s;
    width: 100%;
    min-width: 0;
}
.sd-row:hover { background: var(--gray-light); }
.sd-row-img {
    width: 48px;
    height: 48px;
    flex-shrink: 0;
    object-fit: contain;
    border-radius: 6px;
    border: 1px solid var(--border);
    background: #fff;
    mix-blend-mode: multiply;
}
.sd-row-info {
    flex: 1;
    min-width: 0;
    overflow: hidden;
}
.sd-row-brand {
    font-size: .66rem;
    font-weight: 700;
    color: var(--text-light);
    text-transform: uppercase;
    line-height: 1.2;
}
.sd-row-name {
    font-size: .82rem;
    font-weight: 500;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    color: var(--text);
}
.sd-row-price {
    flex-shrink: 0;
    text-align: right;
    white-space: nowrap;
}
.sd-price-new {
    font-size: .85rem;
    font-weight: 800;
    color: var(--pink);
}
.sd-price-old {
    font-size: .7rem;
    color: var(--text-light);
    font-weight: 400;
    text-decoration: line-through;
}

/* Chips (recherches populaires + marques) */
.sd-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}
.sd-chip {
    padding: 6px 14px;
    background: var(--gray-light);
    border: 1px solid transparent;
    border-radius: 20px;
    font-size: .78rem;
    font-weight: 500;
    color: var(--text);
    cursor: pointer;
    font-family: inherit;
    transition: background .12s, color .12s, border-color .12s;
    white-space: nowrap;
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
}
.sd-chip:hover {
    background: var(--pink-light);
    color: var(--pink);
    border-color: var(--pink);
}
.sd-pill,
.sd-chips > button:not(.sd-chip) {        /* fallback : ancien markup sans .sd-pill */
    padding: 6px 12px;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 8px;
    font-size: .76rem;
    font-weight: 600;
    color: var(--text);
    cursor: pointer;
    font-family: inherit;
    transition: border-color .12s, color .12s;
    white-space: nowrap;
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    display: inline-flex;
    align-items: center;
    line-height: 1.2;
}
.sd-pill:hover,
.sd-chips > button:not(.sd-chip):hover {
    border-color: var(--pink);
    color: var(--pink);
}

/* Cats grid */
.sd-cats {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 6px;
}
.sd-cat {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 10px;
    border-radius: 8px;
    background: var(--gray-light);
    color: var(--text);
    text-decoration: none;
    font-size: .78rem;
    font-weight: 500;
    transition: background .12s, color .12s;
    min-width: 0;
}
.sd-cat:hover { background: var(--pink-light); color: var(--pink); }
.sd-cat i {
    flex-shrink: 0;
    width: 16px;
    text-align: center;
    color: var(--pink);
}
.sd-cat span {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    min-width: 0;
    flex: 1;
}

/* Empty state */
.sd-empty {
    text-align: center;
    padding: 30px 20px;
}
.sd-empty i {
    font-size: 2rem;
    color: var(--text-light);
    display: block;
    margin-bottom: 10px;
}
.sd-empty-title {
    font-size: .88rem;
    font-weight: 600;
    margin-bottom: 4px;
}
.sd-empty-sub {
    font-size: .78rem;
    color: var(--text-light);
}

/* Results header */
.sd-results-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
    gap: 8px;
    flex-wrap: wrap;
}
.sd-results-head .sd-section-title { margin-bottom: 0; }
.sd-result-brands {
    display: flex;
    gap: 4px;
    flex-wrap: wrap;
}
.sd-result-brand {
    padding: 2px 8px;
    background: var(--pink-light);
    border-radius: 12px;
    font-size: .65rem;
    font-weight: 600;
    color: var(--pink);
}
/* "Voir tout (N)" inline dans .sd-results-head, à droite */
.sd-more-inline {
    margin-left: auto;
    padding: 4px 10px;
    background: var(--pink);
    color: #fff;
    border-radius: 14px;
    font-size: .72rem;
    font-weight: 700;
    text-decoration: none;
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    transition: opacity .12s;
}
.sd-more-inline:hover { opacity: .85; }
.sd-more-inline i { font-size: .7rem; }
/* Fallback ancien markup (sécurité, peut être retiré plus tard) */
.sd-more {
    display: block;
    text-align: center;
    padding: 10px;
    margin-top: 8px;
    background: var(--pink-light);
    color: var(--pink);
    border-radius: 8px;
    font-size: .82rem;
    font-weight: 700;
    text-decoration: none;
}

.header-right {
    display: flex; align-items: center; gap: 18px;
    font-size: .78rem; color: var(--text-light);
}
.header-right a, .header-icon {
    display: flex; align-items: center; gap: 6px;
    cursor: pointer; color: var(--text-light);
    transition: color .15s; position: relative;
}
.header-right a:hover, .header-icon:hover { color: var(--pink); }
.header-right .ic { font-size: 1.2rem; }

/* Badge panier (contrat app.js) */
.cart-link { position: relative; display: inline-flex; align-items: center; gap: 6px; }
.cart-badge {
    background: var(--pink); color: #fff;
    border-radius: 999px; padding: 0 .5rem;
    font-size: .7rem; font-weight: 700;
    min-width: 20px; height: 20px;
    display: inline-flex; align-items: center; justify-content: center;
    margin-left: .2rem;
}

/* ---------- Pagination shop ---------- */
.shop-pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    margin: 30px 0 10px;
    flex-wrap: wrap;
}
.pag-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    min-width: 36px;
    height: 36px;
    padding: 0 12px;
    border: 1px solid var(--border);
    border-radius: 8px;
    background: #fff;
    color: var(--text);
    font-size: .82rem;
    font-weight: 600;
    text-decoration: none;
    transition: all .15s;
}
.pag-btn:hover { border-color: var(--pink); color: var(--pink); }
.pag-btn.pag-current {
    background: var(--pink);
    border-color: var(--pink);
    color: #fff;
}
.pag-gap { color: var(--text-light); padding: 0 4px; }

/* ============================================================
   Quick nav + Taxonomy sidebar (refonte 2026-05-20)
   Remplace l'ancien mega-menu hover par un pattern parasanteonline :
   - Top bar de quick-links horizontaux (cats principales)
   - Bouton "Tous nos produits" ouvre une SIDEBAR latérale (gauche)
     avec la taxonomie hiérarchique complète en accordion (jusqu'à
     6 niveaux). Click sur `+` toggle expand. UX clean et scale-friendly
     pour 620 cats.
   ============================================================ */

.quick-nav {
    background: #fff;
    border-bottom: 1px solid var(--border);
    position: relative;
    z-index: 40;
}
.quick-nav-inner {
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 0 20px;
    max-width: var(--page-max);
    margin: 0 auto;
    overflow-x: auto;
    scrollbar-width: thin;
    scrollbar-color: var(--gray) transparent;
}
/* Scrollbar horizontale fine visible quand le menu déborde (laptop/tablette) */
.quick-nav-inner::-webkit-scrollbar { height: 6px; }
.quick-nav-inner::-webkit-scrollbar-track { background: transparent; }
.quick-nav-inner::-webkit-scrollbar-thumb { background: var(--gray); border-radius: 3px; }
.quick-nav-inner::-webkit-scrollbar-thumb:hover { background: var(--text-light); }

.qn-all-btn {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    background: var(--pink);
    color: #fff;
    border: none;
    border-radius: 999px;
    font-family: inherit;
    font-size: .82rem;
    font-weight: 700;
    cursor: pointer;
    transition: background .15s, transform .15s, box-shadow .15s;
    margin: 6px 12px 6px 0;
    box-shadow: 0 2px 8px rgba(231,29,135,.18);
    white-space: nowrap;
}
.qn-all-btn:hover {
    background: var(--pink-dark);
    transform: translateY(-1px);
    box-shadow: 0 4px 14px rgba(231,29,135,.3);
}
.qn-all-btn i { font-size: .95rem; }

.qn-link {
    flex-shrink: 0;
    padding: 12px 14px;
    font-size: .82rem;
    font-weight: 600;
    color: var(--text);
    text-decoration: none;
    white-space: nowrap;
    border-bottom: 3px solid transparent;
    transition: color .12s, border-color .12s;
}
.qn-link:hover,
.qn-link.active {
    color: var(--pink);
    border-bottom-color: var(--pink);
}
.qn-link.promo { color: var(--pink); font-weight: 700; }

/* ---- Quick-nav dropdowns (mega-menu light : 1er niveau sous-cats au hover) ---- */
.qn-item {
    position: relative;
    display: inline-flex;
    align-items: stretch;
    flex-shrink: 0;
}
.qn-caret {
    font-size: .55rem;
    margin-left: 5px;
    opacity: .55;
    transition: transform .2s ease, opacity .2s ease;
    vertical-align: middle;
}
.qn-item:hover .qn-caret,
.qn-item:focus-within .qn-caret { transform: rotate(180deg); opacity: 1; }

.qn-dropdown {
    /* position: fixed → échappe au clipping de .quick-nav-inner (overflow-x:auto).
       Les coordonnées top/left sont posées en JS au survol (quick-nav.js inline). */
    position: fixed;
    min-width: 240px;
    max-width: 320px;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 12px;
    box-shadow: 0 12px 32px rgba(0,0,0,.12);
    padding: 6px;
    z-index: 200;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-6px);
    transition: opacity .15s ease, transform .15s ease, visibility 0s linear .15s;
}
.qn-item.has-dd:hover .qn-dropdown,
.qn-item.has-dd:focus-within .qn-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    transition: opacity .15s ease, transform .15s ease, visibility 0s;
}
.qn-dd-link {
    display: block;
    padding: 8px 12px;
    font-size: .82rem;
    color: var(--text);
    border-radius: 8px;
    text-decoration: none;
    transition: background .12s, color .12s;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.qn-dd-link:hover,
.qn-dd-link:focus {
    background: var(--pink-light);
    color: var(--pink);
    outline: none;
}
.qn-dd-all {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    margin-top: 4px;
    padding: 10px 12px;
    border-top: 1px solid var(--gray-light);
    font-size: .78rem;
    font-weight: 700;
    color: var(--pink);
    text-decoration: none;
    border-radius: 0 0 8px 8px;
    transition: background .12s;
}
.qn-dd-all:hover { background: var(--pink-light); }
.qn-dd-all i { font-size: .68rem; }

/* Mobile/tablette : pas de dropdown au survol (tactile) — la sidebar
   "Tous nos produits" prend le relais. Le quick-nav reste scrollable. */
@media (max-width: 900px) {
    .qn-dropdown, .qn-caret { display: none !important; }
}

/* ---- Taxonomy sidebar ---- */
.taxo-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,.5);
    opacity: 0;
    visibility: hidden;
    transition: opacity .25s, visibility 0s linear .25s;
    z-index: 400;
}
.taxo-backdrop.open {
    opacity: 1;
    visibility: visible;
    transition: opacity .25s;
}

.taxo-sidebar {
    position: fixed;
    top: 0;
    left: 0;
    width: 360px;
    max-width: 92vw;
    height: 100vh;
    background: #fff;
    box-shadow: 0 0 40px rgba(0,0,0,.2);
    z-index: 500;
    transform: translateX(-100%);
    transition: transform .3s cubic-bezier(.4,0,.2,1);
    display: flex;
    flex-direction: column;
    overflow: hidden;
}
.taxo-sidebar.open { transform: translateX(0); }

.ts-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    border-bottom: 1px solid var(--border);
    flex-shrink: 0;
}
.ts-brand {
    font-size: 1.3rem;
    font-weight: 800;
    color: var(--pink);
    text-decoration: none;
}
.ts-brand span { color: var(--text); }
.ts-close {
    width: 36px; height: 36px;
    border-radius: 50%;
    border: 1px solid var(--border);
    background: #fff;
    color: var(--text);
    cursor: pointer;
    font-size: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background .15s, color .15s, border-color .15s;
}
.ts-close:hover {
    background: var(--pink);
    color: #fff;
    border-color: var(--pink);
}

.ts-user {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 20px;
    background: var(--pink-light);
    border-bottom: 1px solid var(--border);
    flex-shrink: 0;
}
.ts-user i { font-size: 1.8rem; color: var(--pink); }
.ts-user strong { display: block; font-size: .88rem; color: var(--text); }
.ts-user small { display: block; font-size: .72rem; color: var(--text-light); }

.ts-body {
    flex: 1;
    overflow-y: auto;
    overflow-x: hidden;
    padding: 12px 0;
}
.ts-body::-webkit-scrollbar { width: 6px; }
.ts-body::-webkit-scrollbar-thumb { background: var(--border); border-radius: 3px; }

.ts-section {
    padding: 0 16px 12px;
    border-bottom: 1px solid var(--border);
    margin-bottom: 12px;
}
.ts-quick {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    border-radius: 8px;
    color: var(--text);
    text-decoration: none;
    font-size: .85rem;
    font-weight: 600;
    transition: background .12s, color .12s;
}
.ts-quick:hover { background: var(--primary-soft); color: var(--pink); }
.ts-quick.promo { color: var(--pink); }
.ts-quick i { width: 18px; text-align: center; color: var(--pink); }

.ts-title {
    font-size: .78rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .06em;
    color: var(--text);
    padding: 8px 20px 6px;
    margin: 0;
}

.ts-tree {
    list-style: none;
    padding: 0;
    margin: 0 0 12px;
}
.ts-cat {
    list-style: none;
}
.ts-row {
    display: flex;
    align-items: stretch;
    border-radius: 6px;
    transition: background .12s;
}
.ts-row:hover { background: var(--gray-light); }
.ts-link {
    flex: 1;
    padding: 9px 14px 9px 20px;
    font-size: .85rem;
    font-weight: 600;
    color: var(--text);
    text-decoration: none;
    line-height: 1.3;
    transition: color .12s;
}
.ts-link:hover { color: var(--pink); }
.ts-cat[data-depth="1"] .ts-link { padding-left: 36px; font-weight: 500; font-size: .82rem; }
.ts-cat[data-depth="2"] .ts-link { padding-left: 50px; font-weight: 500; font-size: .8rem; color: var(--text-light); }
.ts-cat[data-depth="3"] .ts-link { padding-left: 64px; font-weight: 400; font-size: .78rem; color: var(--text-light); }
.ts-cat[data-depth="4"] .ts-link { padding-left: 78px; font-weight: 400; font-size: .76rem; color: var(--text-light); }
.ts-cat[data-depth="5"] .ts-link { padding-left: 92px; font-weight: 400; font-size: .74rem; color: var(--text-light); }

.ts-toggle {
    width: 36px;
    flex-shrink: 0;
    border: none;
    background: transparent;
    color: var(--text-light);
    cursor: pointer;
    font-size: .75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color .12s;
}
.ts-toggle:hover { color: var(--pink); }

.ts-children {
    list-style: none;
    padding: 0;
    margin: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height .3s ease;
}
.ts-cat.open > .ts-children {
    max-height: 5000px;       /* arbitraire mais > nb d'items max d'une branche */
    transition: max-height .5s ease;
}

.ts-simple {
    list-style: none;
    padding: 0 16px;
    margin: 0 0 16px;
}
.ts-simple li { margin: 0; }
.ts-simple a {
    display: block;
    padding: 8px 12px;
    border-radius: 6px;
    color: var(--text);
    text-decoration: none;
    font-size: .85rem;
    font-weight: 500;
    transition: background .12s, color .12s;
}
.ts-simple a:hover { background: var(--primary-soft); color: var(--pink); }
.ts-badge {
    display: inline-block;
    background: var(--pink);
    color: #fff;
    border-radius: 999px;
    padding: 0 .5rem;
    font-size: .7rem;
    font-weight: 700;
    margin-left: 4px;
}

/* Mobile : sidebar 100vw */
@media (max-width: 600px) {
    .taxo-sidebar { width: 100vw; max-width: 100vw; }
}

/* ============================================================
   Legacy mega-menu (déprécié 2026-05-20, gardé pour ne rien casser)
   ============================================================ */
.mega-nav {
    background: #fff;
    border-bottom: 1px solid var(--border);
    position: relative;
    z-index: 50;
    /* IMPORTANT : pas d'overflow ici, sinon les dropdowns position:absolute
       sont clippés. Si trop de cats, on wrap sur 2 lignes au lieu de scroller. */
    overflow: visible;
}
.mega-nav-inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 2px;
    padding: 0 20px;
    max-width: var(--page-max);
    margin: 0 auto;
    /* overflow: visible explicite pour que les dropdowns ne soient pas clippés
       (le piège classique : overflow-x:auto force aussi overflow-y:auto, ce qui
       clippe TOUT élément absolute qui dépasse - exactement le cas du dropdown). */
    overflow: visible;
}

.mega-nav-item {
    position: relative;
    flex-shrink: 0;
    /* Au hover, on augmente le z-index pour que le dropdown passe devant les
       items voisins (sinon le bridge::after du voisin pourrait l'intercepter). */
}
.mega-nav-item:hover { z-index: 200; }
/* Bridge invisible sous le link : couvre le gap entre link et dropdown,
   évite que le pointer perde le :hover en traversant l'espace vide.
   Sans ça le mega menu est instable et clignote. */
.mega-nav-item::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    height: 14px;
    z-index: 149;
    pointer-events: none;
}
.mega-nav-item:hover::after { pointer-events: auto; }
.mega-nav-link, .mega-nav > .mega-nav-inner > a.mega-nav-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 12px 14px;
    font-size: .8rem;
    font-weight: 600;
    color: var(--text);
    text-decoration: none;
    white-space: nowrap;
    border-bottom: 3px solid transparent;
    transition: color .12s, border-color .12s;
}
.mega-nav-link i { font-size: .85rem; }
.mega-nav-link .chev { font-size: .65rem; opacity: .6; transition: transform .15s; }
.mega-nav-item:hover .mega-nav-link .chev { transform: rotate(180deg); }
.mega-nav-link:hover,
.mega-nav-item:hover > .mega-nav-link,
.mega-nav-link.active {
    color: var(--pink);
    border-bottom-color: var(--pink);
}
.mega-nav-link.promo { color: var(--pink); font-weight: 700; }
.mega-nav-link.nav-all { color: var(--pink); font-weight: 700; }

/* Dropdown */
.mega-dropdown {
    position: absolute;
    top: calc(100% + 8px);   /* léger gap visuel (couvert par ::after bridge invisible) */
    left: 0;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 12px;
    box-shadow: 0 16px 48px rgba(0,0,0,.15);
    padding: 24px 28px;
    min-width: 560px;
    max-width: min(960px, 92vw);
    z-index: 150;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity .15s ease, visibility 0s linear .15s;
    box-sizing: border-box;
}
.mega-nav-item:hover > .mega-dropdown,
.mega-nav-item:focus-within > .mega-dropdown {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transition: opacity .15s ease;
}
/* Quand l'item est dans la moitié droite du viewport, on positionne le dropdown
   vers la gauche pour éviter qu'il déborde hors écran. Toggle via JS. */
.mega-dropdown.align-right {
    left: auto;
    right: 0;
}
/* Cas d'un dropdown très large : centrer sous le nav */
.mega-dropdown.align-center {
    left: 50%;
    right: auto;
    transform: translateX(-50%);
}
.mega-dropdown-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 20px 28px;
    max-height: 70vh;
    overflow-y: auto;
}
.mega-col h4 {
    font-size: .82rem;
    font-weight: 800;
    color: var(--text);
    margin: 0 0 10px;
    padding-bottom: 8px;
    border-bottom: 1px solid var(--border);
}
.mega-col h4 a {
    color: var(--text);
    text-decoration: none;
    transition: color .12s;
}
.mega-col h4 a:hover { color: var(--pink); }
.mega-col ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 2px;
}
.mega-col ul li a {
    display: block;
    font-size: .78rem;
    color: var(--text-light);
    padding: 4px 0;
    text-decoration: none;
    transition: color .12s, padding-left .12s;
}
.mega-col ul li a:hover {
    color: var(--pink);
    padding-left: 4px;
}
.mega-col-more {
    display: inline-block;
    margin-top: 8px;
    font-size: .72rem;
    font-weight: 700;
    color: var(--pink);
    text-decoration: none;
}
.mega-col-more:hover { text-decoration: underline; }

/* Mobile : drawer accordion */
.mobile-drawer-cat {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 14px;
    border-radius: 8px;
    color: var(--text);
    text-decoration: none;
    font-size: .85rem;
    font-weight: 600;
    cursor: pointer;
    border: none;
    background: none;
    width: 100%;
    font-family: inherit;
    text-align: left;
    transition: background .12s;
}
.mobile-drawer-cat:hover { background: var(--gray-light); }
.mobile-drawer-cat span { display: inline-flex; align-items: center; gap: 8px; }
.mobile-drawer-cat span i { color: var(--pink); width: 18px; text-align: center; }
.mobile-drawer-cat .chevron { transition: transform .2s; font-size: .75rem; color: var(--text-light); }
.mobile-drawer-cat.open .chevron { transform: rotate(90deg); }

.mobile-drawer-sub {
    display: none;
    padding: 4px 0 8px 32px;
    margin-left: 4px;
    border-left: 2px solid var(--border);
    flex-direction: column;
    gap: 2px;
}
.mobile-drawer-sub.open { display: flex; }
.mobile-drawer-sub a {
    display: block;
    padding: 6px 10px;
    color: var(--text-light);
    font-size: .8rem;
    text-decoration: none;
    border-radius: 6px;
    transition: background .12s, color .12s;
}
.mobile-drawer-sub a:hover { color: var(--pink); background: var(--gray-light); }
.mobile-drawer-sub-all { font-weight: 700; color: var(--pink) !important; }

/* Cache le mega-nav sur mobile (le drawer prend le relais) */
@media (max-width: 900px) {
    .mega-nav { display: none; }
}
@media (min-width: 901px) {
    .mobile-drawer-cat, .mobile-drawer-sub { display: none; }
}

/* ---------- Nav catégories (legacy compat - utilisé encore sur certaines pages) ---------- */
.main-nav, .category-nav {
    background: #fff;
    border-bottom: 1px solid var(--border);
}
.main-nav-inner, .category-nav-inner {
    display: flex; justify-content: center; align-items: stretch;
    gap: 4px; padding: 0 20px; overflow-x: auto;
    max-width: var(--page-max); margin: 0 auto;
    -ms-overflow-style: none; scrollbar-width: none;
}
.main-nav-inner::-webkit-scrollbar, .category-nav-inner::-webkit-scrollbar { display: none; }
.nav-link {
    padding: 12px 14px;
    font-size: .8rem; font-weight: 600;
    color: var(--text); white-space: nowrap;
    transition: .15s; position: relative;
}
.nav-link:hover, .nav-link.active { color: var(--pink); }
.nav-link.promo {
    background: var(--pink); color: #fff;
    border-radius: 20px;
    padding: 6px 16px; margin: 6px 4px;
    font-weight: 700; font-size: .76rem;
}
.nav-link.promo:hover { background: var(--pink-dark); color: #fff; }
.nav-marques { color: var(--pink); font-weight: 700; }

.main-nav .nav-admin {
    background: var(--blue-dark); color: #fff;
    padding: 6px 14px; border-radius: 999px;
    font-size: .75rem; font-weight: 700;
    margin-left: 8px;
}
.main-nav .nav-admin:hover { background: #2a2580; color: #fff; }

/* ---------- Reassurance bar ---------- */
.reassurance-bar {
    background: var(--gray-light);
    border-bottom: 1px solid var(--border);
    padding: 12px 0;
}
.reassurance-bar .container {
    display: flex; justify-content: space-around;
    flex-wrap: wrap; gap: 10px;
}
.reas-item {
    display: flex; align-items: center; gap: 10px;
    font-size: .78rem; font-weight: 500; color: var(--text);
}
.reas-icon {
    width: 34px; height: 34px;
    background: var(--pink-light);
    border-radius: 8px;
    display: flex; align-items: center; justify-content: center;
    font-size: 1rem; color: var(--pink);
}

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex; align-items: center; justify-content: center;
    gap: 8px; padding: 10px 20px;
    border-radius: var(--radius);
    font-weight: 700; font-size: .85rem;
    border: 1px solid transparent;
    cursor: pointer; transition: all .15s;
    text-decoration: none;
    font-family: inherit;
}
.btn-primary, .btn-pink {
    background: var(--pink); color: #fff;
}
.btn-primary:hover, .btn-pink:hover {
    background: var(--pink-dark); color: #fff;
    transform: translateY(-1px);
    box-shadow: 0 4px 14px rgba(231,29,135,.25);
}
.btn-secondary {
    background: #fff; color: var(--text);
    border-color: var(--border);
}
.btn-secondary:hover { border-color: var(--pink); color: var(--pink); }
.btn-success { background: var(--green); color: #fff; }
.btn-success:hover { background: var(--green-dark); color: #fff; }
.btn-danger { background: var(--red); color: #fff; }
.btn-danger:hover { background: #dc2626; color: #fff; }
.btn-ghost { background: transparent; color: var(--text); }
.btn-ghost:hover { background: var(--gray-light); }
.btn-lg { padding: 14px 28px; font-size: .95rem; }
.btn-sm { padding: 6px 14px; font-size: .78rem; }
.btn[disabled] { opacity: .5; cursor: not-allowed; transform: none; box-shadow: none; }

.btn-icon {
    flex-shrink: 0;
    background: #fff; border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 0; width: 32px; height: 32px;
    display: inline-flex; align-items: center; justify-content: center;
    cursor: pointer;
    color: var(--text-light);
    font-size: 1rem;
    transition: all .12s;
}
.btn-icon:hover { color: var(--red); border-color: var(--red); background: #fff5f5; }

/* ---------- Hero / home sections ---------- */
.hero {
    background: linear-gradient(135deg, var(--pink-light) 0%, #fff 60%);
    padding: 4rem 0 3rem; text-align: center;
}
.hero h1 { font-size: 2.4rem; font-weight: 800; margin: 0 0 1rem; letter-spacing: -1px; color: var(--text); }
.hero-sub { font-size: 1.05rem; color: var(--text-light); margin-bottom: 2rem; }

/* Hero slider */
/* Layout accueil : rail "Nouveautés" sur tout le côté gauche de la page +
   contenu principal à droite. */
.home-layout {
    display: flex; align-items: stretch; gap: 0;
    /* Centré dans la même colonne large (--page-max) que le header/navs : le rail
       "Nouveautés" s'aligne avec le contenu, façon parasanteonline.fr. */
    max-width: var(--page-max); margin: 0 auto;
}
.home-rail {
    /* Rail "Nouveautes" : 13.80208vw (= 265px @1920px), cape a 265px au-dela,
       plancher a 210px sur petits desktops pour rester lisible. */
    flex: 0 0 13.80208vw; width: 13.80208vw; max-width: 265px; min-width: 210px;
    background: #fff; border-right: 1px solid var(--border);
}
.home-rail-inner {
    position: sticky;
    /* Décalé sous le header sticky (116px) pour ne pas passer derrière. */
    top: calc(116px + 12px);
    max-height: calc(100vh - 116px - 24px);
    overflow-y: auto;
    overscroll-behavior: contain;
    scrollbar-width: thin;
    padding: 18px 14px;
    display: flex; flex-direction: column; gap: 10px;
}
.home-content { flex: 1; min-width: 0; }

/* Gros bouton "Toutes nos marques" en tête du rail (même look pilule que .qn-all-btn) */
.hns-brands-btn {
    display: flex; align-items: center; justify-content: center; gap: 8px;
    width: 100%; padding: 12px 14px; margin: 0 0 4px;
    background: var(--pink); color: #fff;
    border-radius: 999px; text-decoration: none;
    font-size: .9rem; font-weight: 700; white-space: nowrap;
    box-shadow: 0 2px 8px rgba(231,29,135,.18);
    transition: background .15s, transform .15s, box-shadow .15s;
}
.hns-brands-btn:hover {
    background: var(--pink-dark);
    /* Force le blanc : sinon la regle globale `a:hover { color: var(--pink) }`
       (specificite 0,1,1 > base 0,1,0) repasse le texte en rose -> illisible sur
       le fond rose fonce du hover. */
    color: #fff;
    transform: translateY(-1px);
    box-shadow: 0 4px 14px rgba(231,29,135,.3);
}
.hns-brands-btn i { font-size: 1rem; }

.hns-title {
    font-size: 1.05rem; font-weight: 800; color: var(--text);
    margin: 0 0 6px; display: flex; align-items: center; gap: 6px;
}
.hns-title i { color: var(--pink); }
.hns-card {
    display: flex; flex-direction: column; gap: 8px;
    text-decoration: none; color: inherit;
    border-radius: 12px; padding: 6px 6px 14px;
    border-bottom: 1px solid var(--border);
    transition: background .15s;
}
.hns-card:last-child { border-bottom: none; }
.hns-card:hover { background: var(--gray-light); }
.hns-img {
    width: 100%; aspect-ratio: 1 / 1;
    display: flex; align-items: center; justify-content: center;
    background: #fff; border: 1px solid var(--border); border-radius: 14px;
    padding: 12px; overflow: hidden;
    transition: box-shadow .15s;
}
.hns-card:hover .hns-img { box-shadow: 0 4px 14px rgba(0,0,0,.08); }
.hns-img img { max-width: 100%; max-height: 100%; object-fit: contain; }
.hns-info { min-width: 0; }
.hns-brand {
    font-size: .68rem; text-transform: uppercase; letter-spacing: .4px;
    color: var(--pink); font-weight: 700;
}
.hns-name {
    font-size: .84rem; font-weight: 600; color: var(--text);
    line-height: 1.3; margin: 2px 0 6px;
    display: -webkit-box; -webkit-line-clamp: 2; line-clamp: 2;
    -webkit-box-orient: vertical; overflow: hidden;
}
.hns-price { font-size: 1rem; font-weight: 800; color: var(--pink); }

.hero-slider-wrap {
    position: relative; display: block; width: 100%;
    margin: 20px 0; min-width: 0;
    border-radius: 14px; overflow: hidden;
    background: #9b90e8 url('/assets/img/hero-promo-banner.jpg') center / cover no-repeat;
    min-height: 260px;
    text-decoration: none;
}
.hero-slider-wrap h2 {
    font-size: 2rem; font-weight: 800; color: var(--text);
    margin-bottom: 12px; line-height: 1.2;
}
.hero-slider-wrap h2 em { color: var(--pink); font-style: normal; }
.hero-slider-wrap p { color: var(--text-light); margin-bottom: 20px; font-size: .95rem; }

/* Responsive : sous 900px le rail passe au-dessus en bande horizontale */
@media (max-width: 900px) {
    .home-layout { flex-direction: column; }
    .home-rail {
        flex: 1 0 auto; width: 100%;
        border-right: none; border-bottom: 1px solid var(--border);
    }
    .home-rail-inner {
        position: static; flex-direction: row; flex-wrap: wrap;
        max-height: none; overflow: visible;
    }
    .home-rail-inner .hns-title { flex: 1 0 100%; }
    .home-rail-inner .hns-card { flex: 1 1 calc(50% - 5px); border-bottom: none; padding-bottom: 6px; }
    .hero-slider-wrap { min-height: 200px; background-size: contain; }
}
@media (max-width: 600px) {
    .home-rail { display: none; }
    .hero-slider-wrap { min-height: 150px; }
}

/* padding vertical only : préserve le padding horizontal du .container (combiné) */
.section { padding-top: 40px; padding-bottom: 40px; }
.section-title {
    display: flex; align-items: center; justify-content: space-between;
    margin-bottom: 20px;
}
.section-title h2 { font-size: 1.35rem; font-weight: 800; color: var(--text); margin: 0; }
.section-title a {
    font-size: .82rem; font-weight: 600; color: var(--pink);
}

/* Filtres promos par thème (badges) */
.promo-filters {
    display: flex; flex-wrap: wrap; gap: 8px;
    margin: -4px 0 20px;
}
.promo-chip {
    display: inline-flex; align-items: center; gap: 6px;
    padding: 7px 14px; border-radius: 999px;
    border: 1px solid var(--border); background: #fff;
    font-family: inherit; font-size: .78rem; font-weight: 600;
    color: var(--text); cursor: pointer; transition: .15s;
}
.promo-chip i { color: var(--pink); font-size: .8rem; transition: color .15s; }
.promo-chip:hover { border-color: var(--pink); }
.promo-chip.active { background: var(--pink); border-color: var(--pink); color: #fff; }
.promo-chip.active i { color: #fff; }
.promo-cell { display: flex; min-width: 0; }
.promo-cell > .product-card { width: 100%; }

/* Mobile : badges en scroll horizontal (pas de retour à la ligne) */
@media (max-width: 768px) {
    .promo-filters {
        flex-wrap: nowrap;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        margin-left: -20px; margin-right: -20px;
        padding: 0 20px 4px;
    }
    .promo-filters::-webkit-scrollbar { display: none; }
    .promo-chip { flex: 0 0 auto; white-space: nowrap; }
}

/* ---------- Product cards & grid ---------- */
.product-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 16px;
}
.product-card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 12px;
    overflow: hidden;
    transition: transform .25s, box-shadow .25s;
    position: relative;
    display: flex; flex-direction: column;
    will-change: transform;
    text-decoration: none; color: inherit;
}
.product-card:hover {
    box-shadow: 0 16px 40px rgba(0,0,0,.12);
    transform: translateY(-4px);
    z-index: 10;
}
.product-badge, .product-card .p-badge {
    position: absolute; top: 10px; left: 10px;
    padding: 4px 10px; border-radius: 6px;
    font-size: .68rem; font-weight: 700; color: #fff;
    z-index: 2;
    background: var(--pink);
}
.badge-promo { background: var(--pink); }
.badge-new { background: var(--green); }
.badge-best { background: var(--blue-dark); }

.product-img, .product-card .p-img {
    padding: 8px;
    display: flex; align-items: center; justify-content: center;
    height: 220px; background: #fff;
    position: relative;
}
.product-img img, .product-card .p-img img {
    max-width: 100%; max-height: 100%;
    object-fit: contain;
    mix-blend-mode: multiply;
    filter: contrast(1.05);
    transition: transform .25s, opacity .25s;
}
.product-card:hover .product-img img,
.product-card:hover .p-img img { transform: scale(1.06); }

.product-body, .product-card .p-body {
    padding: 10px 12px 14px;
    flex: 1;
    display: flex; flex-direction: column;
}
.product-brand, .product-card .p-brand {
    font-size: .62rem; font-weight: 700;
    text-transform: uppercase; color: var(--text-light);
    letter-spacing: .05em; margin-bottom: 3px;
}
.product-name, .product-card .p-name {
    font-size: .78rem; font-weight: 500;
    line-height: 1.35; margin-bottom: 6px;
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
    overflow: hidden; min-height: 2.2em;
    color: var(--text);
}
.product-shortdesc {
    font-size: .7rem; font-weight: 400;
    line-height: 1.35; color: var(--text-light);
    margin-bottom: 6px;
    display: -webkit-box; -webkit-line-clamp: 2; line-clamp: 2;
    -webkit-box-orient: vertical; overflow: hidden;
}
.product-stars, .product-card .p-stars {
    color: var(--star); font-size: .68rem;
    margin-bottom: 5px;
}
.product-stars .stars-count { color: var(--text-light); margin-left: 4px; }

.product-price, .product-card .p-price {
    display: flex; align-items: baseline; gap: 8px;
    margin-bottom: 8px;
}
.price-current {
    font-size: 1rem; font-weight: 800; color: var(--pink);
}
.product-price .price-old, .product-card .p-price s {
    font-size: .76rem; color: var(--gray);
    font-weight: 400; text-decoration: line-through;
}
.product-cta, .product-card .p-cta {
    width: 100%; padding: 8px;
    border: none; border-radius: 8px;
    background: var(--pink); color: #fff;
    font-size: .76rem; font-weight: 700;
    cursor: pointer; font-family: inherit;
    transition: .2s;
    display: flex; align-items: center; justify-content: center; gap: 6px;
    margin-top: auto;
}
.product-cta:hover, .product-card .p-cta:hover { background: var(--pink-dark); }
.product-low-stock { font-size: .65rem; color: var(--red); font-weight: 600; margin-bottom: 5px; }

/* Back link (ex: page détail) */
.back-link {
    color: var(--text-light); font-size: .85rem;
    margin-bottom: 1.5rem; display: inline-block;
}
.back-link:hover { color: var(--pink); }

/* ---------- Breadcrumb ---------- */
.breadcrumb {
    padding: 14px 0; font-size: .74rem; color: var(--text-light);
}
.breadcrumb a:hover { color: var(--pink); }
.breadcrumb span { margin: 0 6px; opacity: .4; }

/* ---------- Product detail ---------- */
.product-detail { padding-top: 20px; padding-bottom: 40px; }
.product-detail-grid, .product-top {
    display: grid; grid-template-columns: 1fr 1fr; gap: 40px;
    margin-bottom: 32px;
}

.gallery { position: relative; }
.gallery-main {
    border-radius: 16px; overflow: hidden;
    background: var(--gray-light);
    display: flex; align-items: center; justify-content: center;
    min-height: 460px; cursor: zoom-in;
    position: relative; padding: 16px;
}
.gallery-main img {
    width: 90%; max-height: 420px;
    object-fit: contain;
    mix-blend-mode: multiply; filter: contrast(1.05);
}
.gallery-badge {
    position: absolute; top: 16px; left: 16px;
    background: var(--pink); color: #fff;
    padding: 6px 14px; border-radius: 8px;
    font-size: .78rem; font-weight: 700; z-index: 2;
}
.gallery-thumbs { display: flex; gap: 10px; margin-top: 12px; flex-wrap: wrap; }
.gallery-thumb {
    width: 72px; height: 72px;
    border: 2px solid var(--border); border-radius: 10px;
    overflow: hidden; cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    background: var(--gray-light); transition: .2s;
}
.gallery-thumb:hover, .gallery-thumb.active { border-color: var(--pink); }
.gallery-thumb img { max-height: 60px; object-fit: contain; mix-blend-mode: multiply; }

.product-info, .product-detail-info { display: flex; flex-direction: column; }
.product-brand-link {
    font-size: .74rem; font-weight: 700;
    text-transform: uppercase; color: var(--text-light);
    letter-spacing: .06em; margin-bottom: 6px;
}
.product-brand-link a { color: var(--pink); }
.product-title, .product-detail-info h1 {
    font-size: 1.5rem; font-weight: 800;
    line-height: 1.3; margin-bottom: 8px; color: var(--text);
}
.product-subtitle, .product-detail-desc {
    font-size: .9rem; color: var(--text-light);
    margin-bottom: 16px; line-height: 1.55;
}
.product-rating {
    display: flex; align-items: center; gap: 8px; margin-bottom: 0px;
}
.rating-stars { color: var(--star); font-size: 1rem; letter-spacing: 2px; }
.rating-text { font-size: .82rem; color: var(--text-light); }
.rating-text a { color: var(--pink); font-weight: 600; }

.product-short-desc {
    font-size: .9rem; color: var(--text-light);
    line-height: 1.55; margin-bottom: 16px;
    display: -webkit-box;
    -webkit-line-clamp: 4; line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden; text-overflow: ellipsis;
}

.price-block {
    background: var(--gray-light); border-radius: 14px;
    padding: 0px; margin-bottom: 0px;
}
.price-row {
    display: flex; align-items: baseline; gap: 12px; margin-bottom: 4px;
}
.price-big, .product-detail-price {
    font-size: 2rem; font-weight: 900; color: var(--pink);
}
.price-old {
    font-size: 1.05rem; color: var(--gray);
    text-decoration: line-through;
}
.price-save {
    background: var(--pink); color: #fff;
    padding: 3px 10px; border-radius: 6px;
    font-size: .72rem; font-weight: 700;
}

.payment-options {
    display: flex; gap: 10px; align-items: center;
    margin-bottom: 16px; flex-wrap: wrap;
}
.pay-option {
    display: flex; align-items: center; gap: 6px;
    padding: 8px 14px;
    border: 1px solid var(--border); border-radius: 10px;
    font-size: .72rem; font-weight: 500;
    background: #fff; cursor: pointer; transition: .15s;
}
.pay-option:hover { border-color: var(--pink); }

.stock-info {
    display: flex; align-items: center; gap: 6px;
    font-size: .8rem; margin-bottom: 14px;
}
.stock-dot { width: 8px; height: 8px; border-radius: 50%; }
.stock-dot.in  { background: var(--green); }
.stock-dot.low { background: var(--orange); }
.stock-dot.out { background: var(--red); }

.cart-section { margin-bottom: 16px; }
.qty-row {
    display: flex; gap: 12px; align-items: center; margin-bottom: 12px;
}
.qty-selector, .qty-control {
    display: inline-flex; align-items: center;
    border: 2px solid var(--border); border-radius: 10px;
    overflow: hidden; background: #fff;
}
.qty-btn, .qty-control button {
    width: 40px; height: 44px;
    border: none; background: var(--gray-light);
    font-size: 1.2rem; cursor: pointer;
    font-family: inherit; font-weight: 700; color: var(--text);
    transition: .15s;
}
.qty-btn:hover, .qty-control button:hover { background: var(--pink-light); color: var(--pink); }
.qty-input, .qty-control input {
    width: 55px; height: 44px;
    border: none; text-align: center;
    font-size: 1rem; font-weight: 700;
    font-family: inherit;
    -moz-appearance: textfield;
}
.qty-input::-webkit-outer-spin-button,
.qty-input::-webkit-inner-spin-button,
.qty-control input::-webkit-outer-spin-button,
.qty-control input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }

.add-to-cart-btn {
    flex: 1; padding: 14px 28px;
    background: var(--pink); color: #fff;
    border: none; border-radius: 12px;
    font-size: 1rem; font-weight: 700;
    cursor: pointer; font-family: inherit;
    transition: .2s;
    display: flex; align-items: center; justify-content: center; gap: 8px;
}
.add-to-cart-btn:hover {
    background: var(--pink-dark);
    transform: translateY(-1px);
    box-shadow: 0 4px 14px rgba(231,29,135,.3);
}
.wishlist-btn {
    width: 44px; height: 44px;
    border: 2px solid var(--border); border-radius: 10px;
    background: #fff; cursor: pointer; font-size: 1.2rem;
    display: flex; align-items: center; justify-content: center;
    transition: .2s;
}
.wishlist-btn:hover { border-color: var(--pink); color: var(--pink); }

.delivery-block {
    border: 1px solid var(--border);
    border-radius: 12px; padding: 16px; margin-bottom: 16px;
}
.delivery-row {
    display: flex; align-items: center; gap: 10px;
    padding: 6px 0; font-size: .8rem;
}
.delivery-row:not(:last-child) { border-bottom: 1px solid var(--gray-light); }
.delivery-icon {
    font-size: 1.1rem; width: 28px; text-align: center;
    color: var(--pink);
}
.fidelity-badge {
    display: flex; align-items: center; gap: 10px;
    background: var(--pink-light);
    border-radius: 10px; padding: 12px 16px;
    font-size: .8rem; margin-bottom: 0px;
    color: var(--text);
}
.fidelity-badge strong { color: var(--pink); }

.product-detail-specs {
    display: grid; grid-template-columns: 130px 1fr; gap: 6px 16px;
    margin: 0 0 1.5rem; padding: 14px 18px;
    background: var(--gray-light);
    border-radius: var(--radius);
    font-size: .86rem;
}
.product-detail-specs dt { color: var(--text-light); font-weight: 600; margin: 0; }
.product-detail-specs dd { margin: 0; }

/* Tabs onglets produit */
.tabs-section { margin: 32px 0; }
.tabs-nav {
    display: flex; border-bottom: 2px solid var(--border);
    margin-bottom: 24px; overflow-x: auto;
    -ms-overflow-style: none; scrollbar-width: none;
}
.tabs-nav::-webkit-scrollbar { display: none; }
.tab-btn {
    padding: 14px 22px; font-size: .85rem; font-weight: 600;
    color: var(--text-light); cursor: pointer;
    border: none; background: none; font-family: inherit;
    position: relative; white-space: nowrap; transition: .15s;
    display: inline-flex; align-items: center; gap: 8px;
}
.tab-btn:hover { color: var(--pink); }
.tab-btn.active { color: var(--pink); }
.tab-btn.active::after {
    content: ''; position: absolute;
    bottom: -2px; left: 0; right: 0; height: 3px;
    background: var(--pink); border-radius: 2px 2px 0 0;
}
.tab-content {
    display: none; font-size: .88rem; line-height: 1.7;
    color: var(--text);
}
.tab-content.active { display: block; }
.tab-content h3 { font-size: 1rem; font-weight: 700; margin-bottom: 8px; }
.tab-content h4,
.tab-content .prod-section {
    font-size: .92rem;
    font-weight: 700;
    color: var(--text);
    margin: 18px 0 8px;
    padding-bottom: 4px;
    border-bottom: 1px solid var(--gray-light);
}
.tab-content h4:first-child,
.tab-content .prod-section:first-child { margin-top: 0; }
.tab-content p {
    margin: 0 0 10px;
    /* Filet de securite : honore les \n des descriptions HTML mal-formatees
       (passthrough du helper). Scope <p> uniquement pour ne pas perturber
       les <li> qui pourraient avoir des retours techniques. */
    white-space: pre-line;
}
.tab-content p:last-child { margin-bottom: 0; }
.tab-content ul { padding-left: 20px; margin: 8px 0 14px; list-style: disc; }
.tab-content ol { padding-left: 22px; margin: 8px 0 14px; list-style: decimal; }
.tab-content li { margin-bottom: 6px; }
.tab-content p + h3,
.tab-content p + h4,
.tab-content ul + h4,
.tab-content ol + h4 { margin-top: 18px; }

/* Cross-sell */
.cross-section { margin: 32px 0; }
.cross-title {
    font-size: 1.1rem; font-weight: 800;
    margin-bottom: 16px; color: var(--text);
    display: flex; align-items: center; gap: 8px;
}
.cross-title i { color: var(--pink); }
.cross-grid {
    display: flex; gap: 16px; overflow-x: auto; padding: 4px 0 8px;
    -ms-overflow-style: none; scrollbar-width: none;
}
.cross-grid::-webkit-scrollbar { display: none; }
.cross-grid .product-card { min-width: 210px; max-width: 230px; flex-shrink: 0; }

/* ---------- Cart page ---------- */
.cart-layout {
    display: grid; grid-template-columns: 1fr 360px; gap: 24px;
}
.cart-lines { display: flex; flex-direction: column; gap: 12px; }
.cart-line {
    display: grid;
    grid-template-columns: 80px 1fr auto auto auto;
    gap: 16px; align-items: center;
    padding: 16px; background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius);
}
.cart-line-img {
    width: 80px; height: 80px;
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    background-color: var(--gray-light);
    border-radius: var(--radius);
    mix-blend-mode: multiply;
}
.cart-line-info { min-width: 0; }
.cart-line-brand {
    font-size: .65rem; font-weight: 700;
    text-transform: uppercase;
    color: var(--text-light);
    letter-spacing: .04em;
    margin-bottom: 3px;
}
.cart-line-name { font-weight: 600; color: var(--text); font-size: .9rem; }
.cart-line-price { color: var(--text-light); font-size: .82rem; margin-top: 2px; }
.cart-line-qty {
    display: inline-flex; align-items: center;
    border: 1px solid var(--border); border-radius: var(--radius);
    overflow: hidden; background: #fff;
}
.cart-line-qty button {
    background: #fff; border: none;
    width: 32px; height: 36px; cursor: pointer;
    font-size: 1rem; color: var(--text-light);
}
.cart-line-qty button:hover { background: var(--pink-light); color: var(--pink); }
.cart-line-qty input {
    width: 45px; height: 36px;
    border: none; text-align: center;
    -moz-appearance: textfield;
}
.cart-line-qty input::-webkit-outer-spin-button,
.cart-line-qty input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.cart-line-total {
    font-weight: 700; min-width: 80px;
    text-align: right; color: var(--pink);
}
.cart-line-remove {
    background: transparent; border: none; cursor: pointer;
    color: var(--text-light); font-size: 1.3rem; padding: 4px 8px;
}
.cart-line-remove:hover { color: var(--red); }

.cart-summary {
    background: #fff; border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 20px; align-self: flex-start;
    position: sticky; top: 80px;
}
.cart-summary h3 { margin: 0 0 14px; font-size: 1.05rem; font-weight: 700; }
.cart-summary-row {
    display: flex; justify-content: space-between;
    padding: 6px 0; font-size: .92rem;
}
.cart-summary-row.total {
    font-size: 1.15rem; font-weight: 800;
    margin-top: 8px; padding-top: 12px;
    border-top: 1px solid var(--border);
    color: var(--pink);
}
.cart-summary hr { border: none; border-top: 1px solid var(--border); margin: 12px 0; }

.empty-state { text-align: center; padding: 3rem 1rem; }
.empty-state .empty { font-size: 1.1rem; margin-bottom: 1rem; color: var(--text-light); }
.empty { color: var(--text-light); text-align: center; padding: 2rem; }

/* ---------- Checkout ---------- */
.checkout-layout {
    display: grid; grid-template-columns: 1fr 360px; gap: 24px;
}
.checkout-form {
    background: #fff; border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 20px 24px;
}
.checkout-form h3 {
    margin: 28px 0 14px;
    font-size: .9rem;
    color: var(--text-light);
    text-transform: uppercase; letter-spacing: .06em;
    font-weight: 700;
    padding-top: 20px;
    border-top: 1px solid var(--border);
}
.checkout-form h3:first-of-type {
    margin-top: 0; padding-top: 0; border-top: none;
}
.checkout-grid {
    display: grid; grid-template-columns: 1fr 1fr; gap: 12px;
}
.checkout-grid .form-group.full { grid-column: 1 / -1; }

.confirmation { max-width: 600px; margin: 0 auto; text-align: center; padding: 4rem 1rem; }
.confirmation-card {
    background: #fff; border: 1px solid var(--border);
    border-radius: var(--radius-lg); padding: 3rem 2rem;
    box-shadow: var(--shadow);
}
.confirmation-icon {
    width: 80px; height: 80px; margin: 0 auto 1.5rem;
    background: var(--green); color: #fff;
    border-radius: 50%;
    display: inline-flex; align-items: center; justify-content: center;
    font-size: 2.5rem; font-weight: 700;
}
.confirmation h1 { margin: 0 0 1rem; font-size: 2rem; }

/* ---------- Forms (generic) ---------- */
.form-group { margin-bottom: 1rem; }
.form-group label {
    display: block;
    font-size: .8rem; font-weight: 600;
    margin-bottom: 6px;
    color: var(--text-light);
}
.form-input,
input[type="text"], input[type="email"], input[type="password"],
input[type="number"], input[type="tel"], input[type="url"],
input[type="date"], input[type="datetime-local"], input[type="time"], input[type="month"],
select, textarea {
    width: 100%;
    padding: 10px 14px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    font: inherit;
    background: #fff;
    color: var(--text);
    font-size: .88rem;
    outline: none;
    transition: .15s;
}
input:focus, select:focus, textarea:focus, .form-input:focus {
    border-color: var(--pink);
    box-shadow: 0 0 0 3px rgba(231,29,135,.12);
}

/* ---------- Login ---------- */
.login-section { max-width: 440px; margin: 40px auto; padding: 0 20px; }
.login-card {
    background: #fff; border: 1px solid var(--border);
    border-radius: var(--radius-lg); padding: 32px 28px;
    box-shadow: var(--shadow-sm);
}
.login-card h1 {
    margin: 0 0 20px; font-size: 1.5rem;
    color: var(--pink); font-weight: 800;
}
.login-card .form-group:last-of-type { margin-bottom: 20px; }

.alert {
    padding: 12px 16px; border-radius: var(--radius);
    margin-bottom: 14px; font-size: .88rem;
}
.alert-error { background: #fde7e7; color: #b91c1c; }
.alert-warn {
    background: #fff7ed;
    border-left: 4px solid var(--orange);
    color: #7a4a00;
}
.alert-warn strong { display: block; margin-bottom: 4px; }

/* ---------- Account + Orders ---------- */
.orders-list { display: flex; flex-direction: column; gap: 14px; }
.order-card {
    background: #fff; border: 1px solid var(--border);
    border-radius: var(--radius-lg); padding: 18px 20px;
    transition: .15s;
}
.order-card:hover { box-shadow: var(--shadow-sm); border-color: var(--pink-light); }
.order-card-head {
    display: flex; justify-content: space-between;
    align-items: flex-start; margin-bottom: 12px;
}
.order-number { font-weight: 800; font-size: 1rem; color: var(--text); }
.order-date { font-size: .78rem; color: var(--text-light); margin-top: 2px; }
.order-items { font-size: .88rem; color: var(--text-light); }
.order-item { display: flex; justify-content: space-between; padding: 3px 0; }
.order-card-foot {
    display: flex; justify-content: space-between;
    padding-top: 12px; margin-top: 12px;
    border-top: 1px solid var(--border);
    align-items: center;
}
.order-total { font-weight: 800; color: var(--pink); }

.order-status {
    padding: 4px 12px; border-radius: 999px;
    font-size: .72rem; font-weight: 700;
    text-transform: uppercase; letter-spacing: .03em;
}
.order-status-paid      { background: #e0f2e0; color: var(--green-dark); }
.order-status-shipped   { background: #e6f0fa; color: #3b6fad; }
.order-status-delivered { background: #dfedd8; color: var(--green-dark); }
.order-status-cancelled { background: #fde7e7; color: var(--red); }
.order-status-refunded  { background: #fef3c7; color: #a16207; }
.status-manual-note {
    font-size: .68rem; color: var(--text-light);
    margin-top: .15rem; font-style: italic;
}

/* Account tabs */
.account-tabs {
    display: flex; gap: 4px; margin-bottom: 20px;
    border-bottom: 1px solid var(--border);
}
.account-tab {
    padding: 12px 20px; font-size: .88rem; font-weight: 600;
    color: var(--text-light); background: none; border: none;
    cursor: pointer; font-family: inherit;
    border-bottom: 3px solid transparent;
    transition: .15s;
}
.account-tab:hover { color: var(--pink); }
.account-tab.active { color: var(--pink); border-bottom-color: var(--pink); }

.account-panel { display: none; }
.account-panel.active { display: block; }

/* ---------- Utilities ---------- */
.text-muted { color: var(--text-light); }
.text-center { text-align: center; }
.text-pink { color: var(--pink); }
.text-green { color: var(--green); }
.mt-1 { margin-top: .5rem; } .mt-2 { margin-top: 1rem; } .mt-3 { margin-top: 1.5rem; }
.mb-1 { margin-bottom: .5rem; } .mb-2 { margin-bottom: 1rem; } .mb-3 { margin-bottom: 1.5rem; }
.flex { display: flex; }
.flex-between { display: flex; justify-content: space-between; align-items: center; }
.flex-center { display: flex; align-items: center; justify-content: center; }
.gap-1 { gap: .5rem; } .gap-2 { gap: 1rem; } .gap-3 { gap: 1.5rem; }
.hidden { display: none !important; }

/* ---------- Shop (sidebar + grille) ---------- */
.shop-layout {
    display: grid; grid-template-columns: 240px 1fr; gap: 24px;
    padding-top: 24px; padding-bottom: 24px;
}
.shop-sidebar {
    background: #fff; border: 1px solid var(--border);
    border-radius: var(--radius-lg); padding: 20px;
    align-self: flex-start;
    position: sticky; top: 80px;
    max-height: calc(100vh - 100px);
    overflow-y: auto;
    overscroll-behavior: contain;
    scrollbar-width: thin;
    scrollbar-color: var(--border) transparent;
}
.shop-sidebar::-webkit-scrollbar { width: 8px; }
.shop-sidebar::-webkit-scrollbar-track { background: transparent; }
.shop-sidebar::-webkit-scrollbar-thumb {
    background: var(--border); border-radius: 4px;
}
.shop-sidebar::-webkit-scrollbar-thumb:hover { background: var(--pink); }
.shop-sidebar h3 {
    font-size: .82rem; font-weight: 800;
    text-transform: uppercase; color: var(--text-light);
    letter-spacing: .06em; margin-bottom: 12px;
    padding-bottom: 8px; border-bottom: 1px solid var(--border);
}
.shop-sidebar h3:not(:first-child) { margin-top: 20px; }
.shop-cat-list { display: flex; flex-direction: column; gap: 2px; }
.shop-cat-link {
    padding: 8px 12px; border-radius: 8px;
    font-size: .85rem; font-weight: 500;
    color: var(--text); display: flex; justify-content: space-between;
    transition: .12s;
}
.shop-cat-link:hover { background: var(--gray-light); color: var(--pink); }
.shop-cat-link.active { background: var(--pink-light); color: var(--pink); font-weight: 700; }
.shop-cat-count { font-size: .72rem; color: var(--text-light); }

/* Accordéon arborescent (cats avec enfants togglables) */
/* Scopé .shop-sidebar pour défensive specificity contre tout reset button global */
.shop-sidebar .shop-cat-item { display: flex; flex-direction: column; min-width: 0; }
.shop-sidebar .shop-cat-row {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 2px;
    width: 100%;
}
.shop-sidebar .shop-cat-row .shop-cat-link {
    flex: 1 1 auto;
    min-width: 0;
}
.shop-sidebar .shop-cat-toggle {
    flex: 0 0 28px;
    width: 28px;
    height: 28px;
    padding: 0;
    margin: 0;
    background: transparent;
    border: 0;
    outline: 0;
    cursor: pointer;
    color: var(--text-light);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 6px;
    transition: background .12s, color .12s;
    font: inherit;
    line-height: 1;
    appearance: none;
    -webkit-appearance: none;
}
.shop-sidebar .shop-cat-toggle:hover { background: var(--gray-light); color: var(--pink); }
.shop-sidebar .shop-cat-toggle i { font-size: .72rem; transition: transform .15s; }
.shop-sidebar .shop-cat-item.open > .shop-cat-row .shop-cat-toggle i { transform: rotate(45deg); }

/* Sous-arbre catégorie : collapsed par défaut, visible si .open sur le parent */
.shop-sidebar .shop-cat-children {
    margin-left: 10px;
    padding-left: 10px;
    border-left: 2px solid var(--pink-light);
    display: none;
    flex-direction: column;
    gap: 2px;
    margin-top: 2px;
    margin-bottom: 4px;
}
.shop-sidebar .shop-cat-item.open > .shop-cat-children { display: flex; }
.shop-sidebar .shop-cat-children .shop-cat-link {
    font-size: .78rem;
    padding: 5px 10px;
    color: var(--text-light);
}
.shop-sidebar .shop-cat-children .shop-cat-link:hover,
.shop-sidebar .shop-cat-children .shop-cat-link.active { color: var(--pink); }

.shop-toolbar {
    display: flex; justify-content: space-between; align-items: center;
    margin-bottom: 16px; flex-wrap: wrap; gap: 12px;
}
.shop-toolbar-title h1 {
    font-size: 1.4rem; font-weight: 800; color: var(--text);
}
.shop-toolbar-title p { font-size: .82rem; color: var(--text-light); margin-top: 2px; }
.shop-search {
    display: flex; gap: 8px; max-width: 400px;
}
.shop-search input { flex: 1; }
.shop-filters {
    display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 16px;
}
.shop-chip {
    padding: 8px 16px;
    background: #fff; border: 2px solid var(--border);
    border-radius: 999px;
    font-size: .8rem; font-weight: 600;
    color: var(--text-light);
    transition: all .15s;
    cursor: pointer;
    display: inline-flex; align-items: center; gap: 6px;
}
.shop-chip:hover { border-color: var(--pink); color: var(--pink); }
.shop-chip.active { background: var(--pink); color: #fff; border-color: var(--pink); }

/* ---------- Brand banners + marques home ---------- */
.brand-banners {
    display: grid; grid-template-columns: 1fr 1fr; gap: 16px;
    margin: 32px 0;
}
.brand-banner {
    border-radius: 14px; overflow: hidden;
    min-height: 180px;
    display: flex; align-items: center;
    padding: 28px 32px;
    background: linear-gradient(135deg, var(--pink-light) 0%, #FEF1F8 100%);
    transition: .25s;
    text-decoration: none; color: inherit;
    cursor: pointer;
}
.brand-banner:hover { transform: translateY(-3px); box-shadow: var(--shadow); color: inherit; }
.brand-banner.green { background: linear-gradient(135deg, var(--green-light) 0%, #ecfdf5 100%); }
.brand-banner h3 {
    font-size: 1.3rem; font-weight: 800; color: var(--text);
    margin-bottom: 6px;
}
.brand-banner p { font-size: .85rem; color: var(--text-light); margin-bottom: 12px; }
.brand-banner .btn { padding: 8px 16px; font-size: .78rem; }

.marques-section {
    padding: 32px 0; border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}
/* Wrap auto-créé par theme/slider-nav.js autour des carousels scrollables
   (.marques-grid, .cross-grid, .product-slider, etc.). Position relative
   pour ancrer les boutons .slider-nav prev/next. */
.slider-wrap {
    position: relative;
    padding: 0 48px;
}
/* Boutons prev/next injectés par slider-nav.js. Style commun pour tous les
   carousels (marques, cross-sell, product-slider). */
.slider-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 38px; height: 38px;
    border-radius: 50%;
    border: 1px solid var(--border);
    background: #fff;
    cursor: pointer;
    z-index: 5;
    color: var(--text);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: .9rem;
    transition: background .15s, color .15s, border-color .15s, box-shadow .15s;
    box-shadow: 0 2px 8px rgba(0,0,0,.08);
    padding: 0;
    font-family: inherit;
}
.slider-nav:hover {
    background: var(--pink);
    color: #fff;
    border-color: var(--pink);
    box-shadow: 0 4px 14px rgba(231,29,135,.25);
    transform: translateY(-50%) scale(1.08);
}
.slider-nav.prev { left: 4px; }
.slider-nav.next { right: 4px; }
.slider-nav i { pointer-events: none; }

.marques-grid {
    display: flex;
    align-items: center;
    gap: 24px;
    overflow-x: auto;
    scroll-behavior: smooth;
    padding: 12px 4px;
    -ms-overflow-style: none;
    scrollbar-width: none;
}
.marques-grid::-webkit-scrollbar { display: none; }

.marque-logo {
    flex-shrink: 0;
    min-width: 140px;
    height: 56px;
    padding: 8px 18px;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 10px;
    font-weight: 700;
    font-size: .88rem;
    color: var(--text);
    text-decoration: none;
    transition: all .2s;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    cursor: pointer;
    line-height: 1.1;
}
.marque-logo:hover {
    border-color: var(--pink);
    color: var(--pink);
    transform: translateY(-2px);
    box-shadow: 0 4px 14px rgba(231,29,135,.15);
}
.marque-count {
    display: block;
    font-size: .65rem;
    font-weight: 500;
    color: var(--text-light);
    margin-top: 3px;
    letter-spacing: .03em;
}
.marque-logo:hover .marque-count { color: var(--pink); }

/* ---------- Newsletter ---------- */
.newsletter {
    background: var(--pink); padding: 40px 0; color: #fff;
}
.newsletter .container {
    display: flex; align-items: center; justify-content: space-between;
    gap: 32px; flex-wrap: wrap;
}
.nl-text h3 { font-size: 1.2rem; font-weight: 800; margin-bottom: 4px; }
.nl-text p { font-size: .88rem; opacity: .88; }
.nl-form {
    display: flex; gap: 8px; flex: 1; max-width: 450px;
}
.nl-form input {
    flex: 1; padding: 12px 16px;
    border: none; border-radius: 10px;
    font-size: .88rem; font-family: inherit;
}
.nl-form button {
    padding: 12px 24px;
    border: 2px solid #fff; background: transparent; color: #fff;
    border-radius: 10px; font-weight: 700; cursor: pointer;
    font-family: inherit; transition: .2s;
}
.nl-form button:hover { background: #fff; color: var(--pink); }

/* ---------- Footer ---------- */
.site-footer, .footer {
    background: var(--text); color: rgba(255,255,255,.7);
    padding: 48px 0 24px;
}
.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 32px; margin-bottom: 32px;
}
.footer h4 { color: #fff; font-size: .88rem; font-weight: 700; margin-bottom: 14px; }
.footer ul li { margin-bottom: 8px; }
.footer ul li a { font-size: .8rem; transition: .15s; }
.footer ul li a:hover { color: var(--pink); }
.footer-brand-col .logo {
    font-size: 1.4rem; font-weight: 800; color: var(--pink);
    display: inline-flex; margin-bottom: 10px;
}
.footer-brand-col .logo span { color: var(--pink); }
.footer-desc {
    font-size: .8rem; line-height: 1.6;
    color: rgba(255,255,255,.6);
    margin-bottom: 14px;
}
.footer-social { display: flex; gap: 10px; margin-top: 12px; }
.footer-social a {
    width: 36px; height: 36px;
    background: rgba(255,255,255,.1);
    border-radius: 8px;
    display: flex; align-items: center; justify-content: center;
    font-size: .88rem; transition: .2s;
    color: rgba(255,255,255,.7);
}
.footer-social a:hover { background: var(--pink); color: #fff; }
.footer-bottom {
    border-top: 1px solid rgba(255,255,255,.1);
    padding-top: 20px;
    display: flex; justify-content: space-between;
    font-size: .74rem; flex-wrap: wrap; gap: 12px;
}

/* ---------- Modal "Produit ajouté au panier" (style maquette parasante) ---------- */
.idx-modal-overlay { position: fixed; inset: 0; background: rgba(0,0,0,.5); z-index: 500; display: none; align-items: center; justify-content: center; }
.idx-modal-overlay.open { display: flex; }
.idx-modal { background: #fff; border-radius: 20px; max-width: 780px; width: 95%; max-height: 90vh; overflow-y: auto; box-shadow: 0 20px 60px rgba(0,0,0,.2); }
.idx-modal-header { display: flex; align-items: center; justify-content: space-between; padding: 20px 24px; border-bottom: 1px solid var(--border); }
.idx-modal-header h3 { font-size: 1rem; font-weight: 700; display: flex; align-items: center; gap: 8px; margin: 0; }
.idx-check { width: 28px; height: 28px; background: var(--green, #51A262); border-radius: 50%; display: flex; align-items: center; justify-content: center; color: #fff; font-size: .85rem; }
.idx-modal-close { width: 36px; height: 36px; border: none; background: var(--gray-light); border-radius: 50%; font-size: 1.1rem; cursor: pointer; display: flex; align-items: center; justify-content: center; color: var(--text); }
.idx-modal-close:hover { background: var(--border); }
.idx-modal-body { padding: 24px; }
.idx-modal-product { display: flex; gap: 16px; align-items: center; padding-bottom: 20px; border-bottom: 1px solid var(--border); margin-bottom: 16px; text-decoration: none; color: inherit; }
.idx-modal-product img { width: 70px; height: 70px; object-fit: contain; border-radius: 10px; background: var(--gray-light); mix-blend-mode: multiply; flex-shrink: 0; }
.idx-modal-info { flex: 1; min-width: 0; }
.idx-modal-name { font-size: .88rem; font-weight: 600; color: var(--text); }
.idx-modal-brand { font-size: .72rem; color: var(--text-light); margin-top: 2px; text-transform: uppercase; letter-spacing: .04em; }
.idx-modal-price { font-size: 1.05rem; font-weight: 800; color: var(--pink); flex-shrink: 0; }
.idx-modal-subtotal { display: flex; justify-content: space-between; padding: 12px 16px; background: var(--gray-light); border-radius: 10px; margin-bottom: 12px; font-size: .85rem; }
.idx-modal-freeship { text-align: center; padding: 10px; border-radius: 8px; font-size: .78rem; font-weight: 600; margin-bottom: 16px; }
.idx-modal-freeship.below { background: #e8f5ec; color: var(--green, #51A262); }
.idx-modal-freeship.above { background: var(--green, #51A262); color: #fff; }
.idx-modal-actions { display: flex; gap: 12px; margin-bottom: 20px; }
.idx-btn-continue, .idx-btn-checkout { flex: 1; padding: 14px; border-radius: 12px; font-size: .85rem; font-weight: 700; cursor: pointer; font-family: inherit; border: none; text-decoration: none; display: flex; align-items: center; justify-content: center; gap: 6px; }
.idx-btn-continue { background: var(--gray-light); color: var(--text); }
.idx-btn-continue:hover { background: var(--border); }
.idx-btn-checkout { background: var(--pink); color: #fff; }
.idx-btn-checkout:hover { background: var(--pink-dark); }
.idx-modal-cross { border-top: 1px solid var(--border); padding-top: 20px; }
.idx-modal-cross h4 { font-size: .9rem; font-weight: 700; margin: 0 0 14px; }
.idx-modal-cross-grid { display: flex; gap: 12px; overflow-x: auto; padding: 4px 0; -ms-overflow-style: none; scrollbar-width: none; }
.idx-modal-cross-grid::-webkit-scrollbar { display: none; }
.idx-cross-card { min-width: 145px; max-width: 155px; flex-shrink: 0; border: 1px solid var(--border); border-radius: 10px; overflow: hidden; display: flex; flex-direction: column; background: #fff; }
.idx-cross-card > a { display: block; }
.idx-cross-card img { height: 110px; width: 100%; object-fit: contain; padding: 6px; mix-blend-mode: multiply; background: var(--gray-light); display: block; }
.idx-cross-card .icc-body { padding: 8px 10px; flex: 1; display: flex; flex-direction: column; }
.idx-cross-card .icc-brand { font-size: .58rem; text-transform: uppercase; color: var(--text-light); font-weight: 600; }
.idx-cross-card .icc-name { font-size: .68rem; font-weight: 500; line-height: 1.3; margin-bottom: 4px; color: var(--text); text-decoration: none; display: block; }
.idx-cross-card .icc-name:hover { color: var(--pink); }
.idx-cross-card .icc-price { font-size: .8rem; font-weight: 800; color: var(--pink); margin-bottom: 6px; }
.idx-cross-card .icc-price .icc-old { font-size: .65rem; color: var(--text-light); font-weight: 400; margin-left: 4px; }
.idx-cross-card .icc-add { width: 100%; padding: 6px; background: var(--pink); color: #fff; border: none; border-radius: 6px; font-size: .68rem; font-weight: 700; cursor: pointer; font-family: inherit; margin-top: auto; display: flex; align-items: center; justify-content: center; gap: 4px; }
.idx-cross-card .icc-add:hover { background: var(--pink-dark); }
@media (max-width: 600px) {
    .idx-modal { width: 100%; height: 100%; max-height: 100vh; border-radius: 0; }
    .idx-modal-actions { flex-direction: column; }
}

/* ---------- Cross-sell banner (sidebar /cart + /checkout) ---------- */
.cross-banner {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 16px 18px;
    margin-bottom: 16px;
    box-shadow: 0 1px 4px rgba(0,0,0,.04);
}
.cross-banner h3 {
    font-size: .92rem;
    font-weight: 700;
    margin: 0 0 12px;
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text);
}
.cross-banner h3 i { color: var(--pink); }
.cross-scroll {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    padding: 4px 0 6px;
    -ms-overflow-style: none;
    scrollbar-width: none;
}
.cross-scroll::-webkit-scrollbar { display: none; }
.cross-mini {
    min-width: 140px;
    max-width: 150px;
    flex-shrink: 0;
    border: 1px solid var(--border);
    border-radius: 10px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    background: #fff;
    transition: transform .15s ease, box-shadow .15s ease;
    position: relative;
}
.cross-mini:hover { box-shadow: 0 4px 14px rgba(0,0,0,.08); transform: translateY(-2px); }
.cross-mini > a { display: block; }
.cross-mini img {
    width: 100%;
    height: 110px;
    object-fit: contain;
    padding: 8px;
    mix-blend-mode: multiply;
    background: var(--gray-light);
    display: block;
}
.cross-mini .cm-body { padding: 8px 10px; flex: 1; display: flex; flex-direction: column; }
.cross-mini .cm-brand {
    font-size: .56rem;
    text-transform: uppercase;
    color: var(--text-light);
    font-weight: 600;
    letter-spacing: .03em;
    margin-bottom: 2px;
}
.cross-mini .cm-name {
    font-size: .68rem;
    font-weight: 500;
    line-height: 1.3;
    margin-bottom: 4px;
    color: var(--text);
    text-decoration: none;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.cross-mini .cm-name:hover { color: var(--pink); }
.cross-mini .cm-price { font-size: .82rem; font-weight: 800; color: var(--pink); margin-bottom: 6px; }
.cross-mini .cm-add {
    width: 100%;
    padding: 6px;
    background: var(--pink);
    color: #fff;
    border: none;
    border-radius: 6px;
    font-size: .68rem;
    font-weight: 700;
    cursor: pointer;
    font-family: inherit;
    margin-top: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    transition: background .15s ease;
}
.cross-mini .cm-add:hover { background: var(--pink-dark); }
.cross-mini .cm-add:disabled { cursor: default; opacity: .85; }

/* ---------- Reassurance mini (fiche produit, sous le bouton add-to-cart) ---------- */
.reas-mini {
    display: flex;
    gap: 16px;
    margin: 4px 0 16px;
    flex-wrap: wrap;
}
.reas-mini-item {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: .72rem;
    color: var(--text-light);
}
.reas-mini-item .rm-icon { font-size: 1rem; color: var(--pink); }
@media (max-width: 600px) {
    .reas-mini { gap: 10px; }
    .reas-mini-item { font-size: .68rem; }
}

/* =======================================================================
   CHECKOUT - stepper, recap items (sidebar), payment cards (style maquette)
   ======================================================================= */

/* Stepper Panier -> Commande -> Confirmation */
.checkout-steps {
    max-width: 640px;
    margin: 16px auto 8px;
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
}
.checkout-steps .step {
    display: flex; align-items: center; gap: 8px;
    font-size: .8rem; font-weight: 600; color: var(--gray);
    text-decoration: none;
    transition: transform .15s ease, opacity .15s ease;
}
.checkout-steps .step.active { color: var(--pink); }
.checkout-steps .step.done { color: var(--green); }
/* <a class="step"> = cliquable (etapes franchies). Hover : leger lift. */
.checkout-steps a.step { cursor: pointer; }
.checkout-steps a.step:hover { transform: translateY(-1px); opacity: .85; }
.checkout-steps a.step:hover .step-num { box-shadow: 0 4px 12px rgba(0,0,0,.12); }
.checkout-steps .step-num {
    width: 32px; height: 32px;
    border-radius: 50%;
    border: 2px solid var(--gray);
    display: flex; align-items: center; justify-content: center;
    font-size: .82rem; font-weight: 700;
    background: #fff;
    flex-shrink: 0;
    transition: .2s;
}
.checkout-steps .step.active .step-num {
    border-color: var(--pink); background: var(--pink); color: #fff;
}
.checkout-steps .step.done .step-num {
    border-color: var(--green); background: var(--green); color: #fff;
}
.checkout-steps .step-line {
    width: 70px; height: 2px;
    background: var(--border);
    margin: 0 10px;
    transition: background .2s;
}
.checkout-steps .step-line.done { background: var(--green); }
@media (max-width: 600px) {
    .checkout-steps .step span { display: none; }
    .checkout-steps .step-line { width: 40px; margin: 0 6px; }
}

/* Recap items dans la sidebar checkout (scope pour ne pas casser
   .order-item legacy de la page Mes commandes). */
.cart-summary .order-items {
    margin-bottom: 14px;
    max-height: 280px;
    overflow-y: auto;
    /* scrollbar discret (Firefox + WebKit) */
    scrollbar-width: thin;
    scrollbar-color: var(--border) transparent;
    padding-right: 4px;
}
.cart-summary .order-items::-webkit-scrollbar { width: 6px; }
.cart-summary .order-items::-webkit-scrollbar-track { background: transparent; }
.cart-summary .order-items::-webkit-scrollbar-thumb {
    background: var(--border);
    border-radius: 3px;
}
.cart-summary .order-items::-webkit-scrollbar-thumb:hover { background: var(--gray); }
.cart-summary .order-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 0;
    border-bottom: 1px solid var(--gray-light);
    justify-content: flex-start;
}
.cart-summary .order-item:last-child { border-bottom: none; }
.cart-summary .order-item img,
.cart-summary .order-item .oi-img-fallback {
    width: 56px; height: 56px;
    object-fit: contain;
    border-radius: 8px;
    background: var(--gray-light);
    mix-blend-mode: multiply;
    flex-shrink: 0;
    display: flex; align-items: center; justify-content: center;
    color: var(--text-light);
    font-size: 1.2rem;
}
.cart-summary .order-item .oi-img-fallback { mix-blend-mode: normal; }
.cart-summary .order-item .oi-info { flex: 1; min-width: 0; }
.cart-summary .order-item .oi-name {
    font-size: .78rem;
    font-weight: 500;
    line-height: 1.3;
    color: var(--text);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.cart-summary .order-item .oi-qty {
    font-size: .68rem;
    color: var(--text-light);
    margin-top: 2px;
}
.cart-summary .order-item .oi-price {
    font-size: .88rem;
    font-weight: 800;
    color: var(--pink);
    flex-shrink: 0;
}

/* Compteur "(N articles)" dans le titre Récapitulatif */
.cart-summary h3 .oc-count {
    font-weight: 400;
    color: var(--text-light);
    font-size: .78rem;
    margin-left: 4px;
}

/* Code promo (input + bouton inline, style maquette) */
.promo-row {
    display: flex;
    gap: 8px;
    margin: 12px 0 4px;
}
.promo-row input {
    flex: 1;
    padding: 10px 12px;
    border: 1.5px solid var(--border);
    border-radius: 8px;
    font-size: .78rem;
    font-family: inherit;
    outline: none;
    transition: border-color .15s;
}
.promo-row input:focus { border-color: var(--pink); }
.promo-row button {
    padding: 10px 16px;
    background: var(--pink);
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: .78rem;
    font-weight: 700;
    cursor: pointer;
    font-family: inherit;
    white-space: nowrap;
    display: flex; align-items: center; gap: 6px;
    transition: background .15s;
}
.promo-row button:hover { background: var(--pink-dark); }
.promo-feedback {
    font-size: .78rem;
    margin: 6px 0 0;
    display: flex; align-items: center; gap: 6px;
}
.promo-feedback.ok { color: var(--green); }
.promo-feedback.ko { color: var(--red); }

/* Free shipping bar dans sidebar */
.free-ship-bar {
    margin: 12px 0;
    padding: 12px 14px;
    border-radius: 10px;
    font-size: .8rem;
    font-weight: 600;
    display: flex; align-items: center; gap: 8px;
}
.free-ship-bar.achieved { background: var(--green); color: #fff; }
.free-ship-bar.remaining { background: var(--green-light); color: var(--green); }
.free-ship-bar strong { font-weight: 800; }

/* ========== Payment cards ========== */
.payment-methods { display: flex; flex-direction: column; gap: 10px; }

.payment-method {
    border: 2px solid var(--border);
    border-radius: 12px;
    padding: 14px 16px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 14px;
    transition: border-color .2s, background .2s;
    flex-wrap: wrap;
    position: relative;
    background: #fff;
}
.payment-method:hover { border-color: var(--pink-light); }
.payment-method.selected { border-color: var(--pink); background: var(--pink-light); }

.payment-method .pm-radio {
    width: 20px; height: 20px;
    border-radius: 50%;
    border: 2px solid var(--gray);
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
    transition: border-color .15s;
}
.payment-method.selected .pm-radio { border-color: var(--pink); }
.payment-method.selected .pm-radio::after {
    content: '';
    width: 10px; height: 10px;
    border-radius: 50%;
    background: var(--pink);
}
.payment-method .pm-icon {
    font-size: 1.3rem;
    color: var(--text-light);
    width: 32px;
    text-align: center;
    flex-shrink: 0;
    transition: color .15s;
}
.payment-method.selected .pm-icon { color: var(--pink); }
.payment-method .pm-icon-oney {
    font-weight: 800;
    color: var(--green);
    font-size: .95rem;
}
.payment-method .pm-info { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.payment-method .pm-name { font-size: .85rem; font-weight: 600; color: var(--text); }
.payment-method .pm-desc { font-size: .7rem; color: var(--text-light); margin-top: 2px; }
.payment-method .pm-logos {
    display: flex; gap: 6px; font-size: 1.1rem;
    flex-shrink: 0;
}

/* Form CB inline (s'affiche uniquement quand .selected) */
.payment-method .card-form {
    display: none;
    width: 100%;
    margin-top: 12px;
    padding: 14px;
    background: #fff;
    border-radius: 10px;
    border: 1px solid var(--border);
}
.payment-method.selected[data-pm="cb"] .card-form { display: flex; flex-direction: column; gap: 10px; }
.payment-method .card-form .form-group { display: flex; flex-direction: column; gap: 4px; }
.payment-method .card-form .form-group label {
    font-size: .68rem;
    font-weight: 600;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: .02em;
}
.payment-method .card-form .form-group input {
    padding: 10px 12px;
    border: 1.5px solid var(--border);
    border-radius: 8px;
    font-size: .85rem;
    font-family: inherit;
    outline: none;
    background: #fff;
    transition: border-color .15s;
}
.payment-method .card-form .form-group input:focus { border-color: var(--pink); }
.payment-method .card-form .form-group-row {
    display: flex;
    gap: 10px;
}
.payment-method .card-form .form-group-row .form-group { flex: 1; }
@media (max-width: 500px) {
    .payment-method { gap: 10px; }
    .payment-method .pm-logos { display: none; }
}

/* ---------- Toast ---------- */
.toast-container {
    position: fixed; bottom: 24px; right: 24px;
    display: flex; flex-direction: column; gap: 8px;
    z-index: 1000;
}
.toast {
    background: var(--text); color: #fff;
    padding: 12px 18px; border-radius: var(--radius);
    font-size: .88rem;
    box-shadow: var(--shadow);
    animation: toast-in .2s ease;
    max-width: 360px;
}
.toast.success { background: var(--green); }
.toast.error { background: var(--red); }
@keyframes toast-in { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

/* (styles du back-office retirés le 28/09/2026 : voir admin.css) */

/* ---------- Lightbox & zoom ---------- */
.zoom-lens {
    position: absolute; width: 180px; height: 180px;
    border-radius: 50%; border: 3px solid var(--pink);
    pointer-events: none; opacity: 0;
    transition: opacity .2s; z-index: 10;
    background-repeat: no-repeat;
    box-shadow: 0 0 20px rgba(0,0,0,.2);
}
.gallery-main:hover .zoom-lens { opacity: 1; }
.lightbox {
    position: fixed; inset: 0;
    background: rgba(0,0,0,.85); z-index: 600;
    display: none; align-items: center; justify-content: center;
    cursor: zoom-out;
}
.lightbox.open { display: flex; }
.lightbox img { max-width: 90%; max-height: 90%; object-fit: contain; border-radius: 8px; }
.lightbox-close {
    position: absolute; top: 20px; right: 20px;
    width: 44px; height: 44px;
    background: rgba(255,255,255,.2); border: none;
    border-radius: 50%; color: #fff; font-size: 1.2rem;
    cursor: pointer;
}

/* ---------- FAQ ---------- */
.faq-wrap { max-width: 900px; margin: 40px auto; padding: 0 20px; }
.faq-intro { text-align: center; margin-bottom: 32px; }
.faq-intro h1 { font-size: 2rem; font-weight: 800; color: var(--pink); margin-bottom: 10px; }
.faq-intro p { color: var(--text-light); }
.faq-section { margin-bottom: 28px; }
.faq-section h2 {
    font-size: 1.05rem; font-weight: 800;
    color: var(--text);
    margin-bottom: 14px; padding-bottom: 8px;
    border-bottom: 2px solid var(--pink-light);
    display: flex; align-items: center; gap: 10px;
}
.faq-section h2 i { color: var(--pink); }
.faq-item {
    background: #fff; border: 1px solid var(--border);
    border-radius: var(--radius); margin-bottom: 8px;
    overflow: hidden;
}
.faq-question {
    padding: 14px 18px; cursor: pointer;
    display: flex; justify-content: space-between; align-items: center;
    font-weight: 600; font-size: .92rem;
    user-select: none;
}
.faq-question:hover { background: var(--gray-light); }
.faq-question i { transition: transform .2s; color: var(--pink); }
.faq-item.open .faq-question i { transform: rotate(180deg); }
.faq-answer {
    padding: 0 18px; max-height: 0; overflow: hidden;
    transition: all .25s;
    color: var(--text-light); font-size: .88rem; line-height: 1.65;
}
.faq-item.open .faq-answer {
    padding: 0 18px 16px; max-height: 400px;
}

/* ---------- Responsive ---------- */
@media (max-width: 1200px) {
    .product-grid { grid-template-columns: repeat(4, 1fr); }
}
@media (max-width: 1024px) {
    .product-grid { grid-template-columns: repeat(3, 1fr); }
    .product-detail-grid, .product-top { grid-template-columns: 1fr; gap: 24px; }
    .gallery-main { min-height: 340px; }
    .cart-layout, .checkout-layout { grid-template-columns: 1fr; }
    .cart-summary { position: static; }
    .admin-grid { grid-template-columns: 1fr; }
    .admin-products-layout { grid-template-columns: 1fr; }
    .shop-layout { grid-template-columns: 1fr; }
    .shop-sidebar { position: static; }
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 24px; }
}
@media (max-width: 768px) {
    body { font-size: 13px; }
    .header-inner { flex-wrap: wrap; gap: 12px; padding: 10px 16px; }
    .header-search { order: 3; max-width: 100%; flex: 100%; margin: 4px 0 0; }
    .main-nav-inner, .category-nav-inner { justify-content: flex-start; }
    .nav-link { padding: 10px 12px; font-size: .72rem; }
    .hero h1 { font-size: 1.8rem; }
    .hero-slider-wrap h2 { font-size: 1.5rem; }
    .product-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
    .brand-banners { grid-template-columns: 1fr; }
    .section-title h2 { font-size: 1.1rem; }
    .cart-line {
        grid-template-columns: 60px 1fr auto;
        grid-template-areas: "img info remove" "img qty total";
    }
    .cart-line-img { grid-area: img; width: 60px; height: 60px; }
    .cart-line-info { grid-area: info; }
    .cart-line-qty { grid-area: qty; }
    .cart-line-total { grid-area: total; }
    .cart-line-remove { grid-area: remove; }
    .checkout-grid { grid-template-columns: 1fr; }
    .newsletter .container { flex-direction: column; text-align: center; }
    .nl-form { max-width: 100%; width: 100%; }
    .reassurance-bar .container { justify-content: flex-start; }
    .payment-options { flex-direction: column; align-items: stretch; }
    .pay-option { justify-content: center; }
}
@media (max-width: 480px) {
    .product-grid { grid-template-columns: 1fr; }
    .gallery-main { min-height: 260px; }
    .hero { padding: 2rem 0; }
    .hero h1 { font-size: 1.5rem; }
    .product-title { font-size: 1.2rem; }
    .price-big { font-size: 1.6rem; }
    .footer-grid { grid-template-columns: 1fr; }
    .cart-line-total { text-align: left; }
}

/* =======================================================================
   WISHLIST - bouton coeur sur product card
   ======================================================================= */
.product-fav-btn {
    position: absolute; top: 10px; right: 10px;
    width: 36px; height: 36px; border-radius: 50%;
    background: rgba(255,255,255,.92);
    border: 1px solid var(--border);
    color: var(--text-light);
    cursor: pointer; font-size: 1rem;
    display: flex; align-items: center; justify-content: center;
    z-index: 3; transition: .15s;
    box-shadow: var(--shadow-sm);
}
.product-fav-btn:hover { color: var(--pink); border-color: var(--pink); transform: scale(1.08); }
.product-fav-btn.active { color: var(--pink); background: var(--pink-light); border-color: var(--pink); }
.product-fav-btn.active i { font-weight: 900; }

.wishlist-btn.active { color: var(--pink); border-color: var(--pink); background: var(--pink-light); }

/* =======================================================================
   NUMBER INPUT - hide all native spinners (consistant partout)
   ======================================================================= */
input[type="number"] {
    -moz-appearance: textfield;
    appearance: textfield;
}
input[type="number"]::-webkit-outer-spin-button,
input[type="number"]::-webkit-inner-spin-button {
    -webkit-appearance: none;
    appearance: none;
    margin: 0;
}

/* =======================================================================
   HEADER - Burger mobile + responsive amelioré
   ======================================================================= */
.burger-btn {
    display: none;
    width: 42px; height: 42px;
    border: 1px solid var(--border);
    background: #fff; color: var(--text);
    border-radius: 10px;
    font-size: 1.2rem;
    cursor: pointer;
    align-items: center; justify-content: center;
    transition: .15s;
    flex-shrink: 0;
}
.burger-btn:hover { border-color: var(--pink); color: var(--pink); }

/* Top bar : 2 versions de message (long desktop, court mobile) */
.top-bar-msg-short { display: none; }
@media (max-width: 600px) {
    .top-bar-msg-full  { display: none; }
    .top-bar-msg-short { display: inline; }
}

/* Header-right : texte labels masqués sur tablette, icônes seules */
.hdr-action {
    display: inline-flex; align-items: center; gap: 6px;
    color: var(--text-light);
    padding: 6px 10px; border-radius: 8px;
    transition: .15s; white-space: nowrap;
}
.hdr-action:hover { color: var(--pink); background: var(--gray-light); }
.hdr-action.hdr-signup {
    background: var(--pink); color: #fff;
    padding: 8px 14px; border-radius: 10px;
    font-weight: 700; font-size: .78rem;
}
.hdr-action.hdr-signup:hover { background: var(--pink-dark); color: #fff; }
.hdr-action.hdr-admin { color: var(--blue-dark); font-weight: 700; }

/* =======================================================================
   MOBILE DRAWER (burger menu)
   ======================================================================= */
.mobile-drawer-backdrop {
    position: fixed; inset: 0;
    background: rgba(0,0,0,.5);
    z-index: 299;
    opacity: 0; pointer-events: none;
    transition: opacity .25s;
}
.mobile-drawer-backdrop.open { opacity: 1; pointer-events: auto; }

.mobile-drawer {
    position: fixed; top: 0; left: -320px;
    width: 300px; height: 100vh; max-width: 85vw;
    background: #fff;
    z-index: 300;
    box-shadow: 4px 0 24px rgba(0,0,0,.15);
    transition: left .3s ease;
    display: flex; flex-direction: column;
    overflow-y: auto;
}
.mobile-drawer.open { left: 0; }

.mobile-drawer-head {
    display: flex; align-items: center; justify-content: space-between;
    padding: 16px 20px;
    border-bottom: 1px solid var(--border);
    background: linear-gradient(135deg, var(--pink-light), #fff);
    flex-shrink: 0; position: sticky; top: 0; z-index: 2;
}
.mobile-drawer-close {
    width: 36px; height: 36px; border: none;
    background: #fff; border-radius: 50%;
    color: var(--text); cursor: pointer; font-size: 1.1rem;
    display: flex; align-items: center; justify-content: center;
    box-shadow: var(--shadow-sm);
}
.mobile-drawer-close:hover { color: var(--pink); }

.mobile-drawer-user {
    padding: 14px 20px;
    display: flex; align-items: center; gap: 12px;
    background: var(--pink-light);
    border-bottom: 1px solid var(--border);
}
.mobile-drawer-user i { font-size: 2rem; color: var(--pink); }
.mobile-drawer-user strong { display: block; font-size: .9rem; color: var(--text); }
.mobile-drawer-user small { font-size: .72rem; color: var(--text-light); }

.mobile-drawer-nav { padding: 8px 0; }
.mobile-drawer-nav h4 {
    font-size: .68rem; font-weight: 800;
    text-transform: uppercase; letter-spacing: .08em;
    color: var(--text-light);
    padding: 14px 20px 6px;
    margin: 0;
}
.mobile-drawer-link {
    display: flex; align-items: center; gap: 12px;
    padding: 12px 20px;
    font-size: .88rem; font-weight: 500;
    color: var(--text);
    transition: .15s;
    border-left: 3px solid transparent;
}
.mobile-drawer-link:hover {
    background: var(--gray-light);
    color: var(--pink);
    border-left-color: var(--pink-light);
}
.mobile-drawer-link.active {
    background: var(--pink-light);
    color: var(--pink); font-weight: 700;
    border-left-color: var(--pink);
}
.mobile-drawer-link i { width: 20px; text-align: center; color: var(--text-light); }
.mobile-drawer-link.active i { color: var(--pink); }
.mobile-drawer-link.promo { color: var(--pink); font-weight: 700; }
.mobile-drawer-badge {
    margin-left: auto;
    background: var(--pink); color: #fff;
    border-radius: 999px; padding: 2px 10px;
    font-size: .7rem; font-weight: 700;
}

/* =======================================================================
   HEADER RESPONSIVE
   ======================================================================= */
@media (max-width: 1024px) {
    .hdr-label { display: none; }
    .hdr-action.hdr-signup .hdr-label { display: inline; }
    .hdr-action { padding: 6px 8px; }
    .hdr-action .ic { font-size: 1.35rem; }
}
@media (max-width: 900px) {
    .burger-btn { display: inline-flex; }
    .category-nav { display: none; }  /* on passe par le drawer */
    .header-inner { gap: 10px; padding: 10px 14px; }
    .brand { font-size: 1.15rem; }
    .brand small { display: none; }  /* compact */
}
@media (max-width: 700px) {
    .header-inner {
        display: grid;
        grid-template-columns: auto 1fr auto;
        grid-template-areas:
            "burger brand actions"
            "search search search";
        gap: 10px;
    }
    .burger-btn { grid-area: burger; }
    .brand { grid-area: brand; justify-self: flex-start; }
    .header-search { grid-area: search; max-width: 100%; }
    .header-right { grid-area: actions; gap: 4px; }
    .hdr-action.hdr-signup .hdr-label { display: none; }
    .hdr-action.hdr-signup { padding: 8px 10px; }
    .hdr-action.hdr-admin { display: none; }  /* admin visible via drawer */
}

/* =======================================================================
   SHOP - Filtres drawer mobile
   ======================================================================= */
.shop-filters-toggle {
    display: none;
    width: 100%;
    padding: 12px 16px;
    background: #fff; border: 2px solid var(--pink);
    border-radius: 10px;
    color: var(--pink); font-weight: 700; font-size: .88rem;
    cursor: pointer; font-family: inherit;
    margin-bottom: 14px;
    align-items: center; justify-content: center; gap: 8px;
}
.shop-filters-toggle:hover { background: var(--pink-light); }

.shop-sidebar-head {
    display: none;
    justify-content: space-between; align-items: center;
    padding-bottom: 14px; margin-bottom: 14px;
    border-bottom: 1px solid var(--border);
}
.shop-sidebar-head h2 {
    font-size: 1.05rem; font-weight: 800; color: var(--text);
    display: flex; align-items: center; gap: 8px;
}
.shop-sidebar-close {
    width: 36px; height: 36px; border-radius: 50%;
    background: var(--gray-light); border: none;
    font-size: 1rem; color: var(--text-light);
    cursor: pointer;
    display: flex; align-items: center; justify-content: center;
}
.shop-sidebar-close:hover { background: var(--border); color: var(--text); }

@media (max-width: 900px) {
    .shop-layout { display: block; }
    .shop-filters-toggle { display: flex; }
    .shop-sidebar-head { display: flex; }

    .shop-sidebar {
        position: fixed; top: 0; left: -340px;
        width: 320px; max-width: 85vw; height: 100vh;
        background: #fff; border-radius: 0;
        padding: 20px;
        z-index: 310;
        overflow-y: auto;
        box-shadow: 4px 0 24px rgba(0,0,0,.15);
        transition: left .3s ease;
        border: none;
    }
    .shop-sidebar.open { left: 0; }
}

/* =======================================================================
   CART LINE mobile improvements
   ======================================================================= */
@media (max-width: 640px) {
    .cart-line {
        grid-template-columns: 60px 1fr;
        grid-template-areas:
            "img info"
            "img qty"
            "total remove"
            "total remove";
        gap: 8px 12px;
        padding: 12px;
    }
    .cart-line-img { grid-area: img; width: 60px; height: 60px; }
    .cart-line-info { grid-area: info; }
    .cart-line-qty { grid-area: qty; justify-self: flex-start; }
    .cart-line-total { grid-area: total; text-align: left; font-size: 1.05rem; }
    .cart-line-remove { grid-area: remove; justify-self: flex-end; align-self: center; }
    .cart-summary { padding: 16px; }
}

/* =======================================================================
   QTY SELECTOR - consistance globale
   ======================================================================= */
.qty-selector, .qty-control, .cart-line-qty {
    user-select: none;
}
.qty-selector input, .qty-control input, .cart-line-qty input {
    /* Empêche l'input de se laisser étirer par la flex parent.
       width: auto est nécessaire pour neutraliser le width:100% global
       sur input[type=number] (spécificité égale, déclaré avant). */
    flex: 0 0 auto;
    width: 55px;
    min-width: 40px;
}

/* =======================================================================
   CHATBOT - positionnement z-index conflict (iframe/lightbox)
   ======================================================================= */
/* Le chatbot injecte son propre CSS mais on normalise les z-index ici */

/* =======================================================================
   RESPONSIVE HOME POLISH
   ======================================================================= */
@media (max-width: 1024px) {
    .hero-slider-wrap { min-height: 200px; }
    .hero-slider-wrap h2 { font-size: 1.7rem; }
    .hero-slider-wrap p { font-size: .88rem; }
    .hero-slider-wrap .hero-inner { padding: 28px 24px; }
}
@media (max-width: 700px) {
    .hero-slider-wrap .hero-inner { padding: 24px 20px; text-align: center; }
    .reassurance-bar .container {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 10px;
    }
    .reas-item { font-size: .72rem; }
    .reas-icon { width: 28px; height: 28px; font-size: .85rem; }
    .section { padding: 28px 0; }
    .section-title h2 { font-size: 1.1rem; }
    .section-title a { font-size: .75rem; }
    .brand-banners { gap: 10px; margin: 20px 0; }
    .brand-banner { padding: 20px; min-height: 140px; }
    .brand-banner h3 { font-size: 1.05rem; }
}

/* Product grid : 2 cols même plus tôt, 1 col sous 400 */
@media (max-width: 700px) {
    .product-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
    .product-card .product-img,
    .product-img { height: 160px; }
    .product-card .product-name,
    .product-name { font-size: .72rem; }
    .product-card .product-body,
    .product-body { padding: 8px 10px 10px; }
    .product-card .product-cta,
    .product-cta { padding: 6px; font-size: .7rem; }
    .cross-grid .product-card { min-width: 150px; max-width: 170px; }
}
@media (max-width: 380px) {
    .product-grid { grid-template-columns: 1fr; }
    .product-img { height: 200px; }
}

/* =======================================================================
   PRODUCT DETAIL - mobile polish
   ======================================================================= */
@media (max-width: 900px) {
    .product-top, .product-detail-grid { gap: 20px; }
    .gallery-main { min-height: 300px; padding: 10px; }
    .gallery-main img { max-height: 280px; }
    .product-title { font-size: 1.25rem; }
    .price-big { font-size: 1.7rem; }
    .price-block { padding: 2px; }
    .qty-row { flex-wrap: wrap; gap: 10px; }
    .add-to-cart-btn { flex: 1 1 180px; padding: 12px 20px; font-size: .95rem; }
    .wishlist-btn { width: 46px; height: 46px; }
    .tab-btn { padding: 12px 16px; font-size: .78rem; }
    .payment-options { gap: 6px; }
    .pay-option { padding: 6px 10px; font-size: .68rem; }
}

/* =======================================================================
   CHECKOUT - mobile
   ======================================================================= */
@media (max-width: 700px) {
    .checkout-grid { grid-template-columns: 1fr; gap: 10px; }
    .checkout-form { padding: 18px; }
    .checkout-form h3 { font-size: .82rem; }
}

/* =======================================================================
   FOOTER - mobile
   ======================================================================= */
@media (max-width: 700px) {
    .footer-grid { grid-template-columns: 1fr; gap: 24px; text-align: center; }
    .footer-brand-col .logo { justify-content: center; }
    .footer-social { justify-content: center; }
    .newsletter .nl-form { flex-direction: column; }
    .newsletter .nl-form button { width: 100%; }
    .footer-bottom { flex-direction: column; text-align: center; gap: 8px; }
}

/* =======================================================================
   ACCOUNT / LOGIN - mobile
   ======================================================================= */
@media (max-width: 700px) {
    .login-section { margin: 24px auto; padding: 0 14px; }
    .login-card { padding: 24px 18px; }
    .account-tabs { overflow-x: auto; -ms-overflow-style: none; scrollbar-width: none; }
    .account-tabs::-webkit-scrollbar { display: none; }
    .account-tab { padding: 10px 14px; font-size: .8rem; white-space: nowrap; }
}

/* Print: hide header/footer/panier */
@media print {
    .site-header, .site-footer, .top-bar, .reassurance-bar,
    .newsletter, .toast-container, .cart-link, .modal, .nl-popup-overlay,
    .mobile-drawer, .mobile-drawer-backdrop, .burger-btn { display: none !important; }
}

/* =======================================================================
   NEWSLETTER POPUP (-5% 1ère commande)
   ======================================================================= */
.nl-popup-overlay {
    position: fixed; inset: 0; z-index: 9999;
    background: rgba(20, 30, 40, .55);
    backdrop-filter: blur(3px);
    -webkit-backdrop-filter: blur(3px);
    display: flex; align-items: center; justify-content: center;
    padding: 20px;
    opacity: 0; visibility: hidden;
    transition: opacity .25s ease, visibility .25s ease;
}
.nl-popup-overlay.open {
    opacity: 1; visibility: visible;
}
.nl-popup {
    position: relative;
    background: #fff;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    width: 100%;
    max-width: 520px;
    padding: 38px 40px 28px;
    text-align: center;
    transform: scale(.94) translateY(8px);
    opacity: 0;
    transition: transform .3s cubic-bezier(.2,.7,.3,1.2), opacity .25s ease;
    max-height: calc(100vh - 40px);
    overflow-y: auto;
}
.nl-popup-overlay.open .nl-popup {
    transform: scale(1) translateY(0);
    opacity: 1;
}
.nl-popup-close {
    position: absolute; top: 14px; right: 14px;
    width: 34px; height: 34px;
    border: none; border-radius: 50%;
    background: var(--blue-dark);
    color: #fff; cursor: pointer;
    font-size: 1rem;
    display: inline-flex; align-items: center; justify-content: center;
    transition: background .15s, transform .15s;
}
.nl-popup-close:hover {
    background: #1a2733;
    transform: rotate(90deg);
}
.nl-popup-percent {
    font-size: 5rem;
    font-weight: 900;
    color: var(--pink);
    line-height: 1;
    margin-bottom: 4px;
    letter-spacing: -.04em;
}
.nl-popup-percent span {
    font-size: 3.5rem;
    vertical-align: super;
    margin-left: -8px;
}
.nl-popup-subtitle {
    font-size: .8rem;
    font-weight: 600;
    letter-spacing: .14em;
    color: var(--text);
    margin-bottom: 4px;
}
.nl-popup-headline {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--pink);
    margin-bottom: 18px;
    line-height: 1.2;
}
.nl-popup-desc {
    font-size: .85rem;
    color: var(--text-light);
    line-height: 1.5;
    margin-bottom: 18px;
}
.nl-popup-form {
    display: flex; flex-direction: column; gap: 14px;
    margin-bottom: 16px;
}
.nl-popup-form input[type="email"] {
    width: 100%;
    padding: 13px 16px;
    border: 1.5px solid var(--border);
    border-radius: var(--radius);
    font-family: inherit;
    font-size: .9rem;
    color: var(--text);
    background: #fff;
    transition: border-color .15s, box-shadow .15s;
}
.nl-popup-form input[type="email"]:focus {
    outline: none;
    border-color: var(--pink);
    box-shadow: 0 0 0 3px rgba(231,29,135,.15);
}
.nl-popup-consent {
    display: flex; align-items: flex-start; gap: 10px;
    font-size: .68rem;
    color: var(--text-light);
    line-height: 1.45;
    text-align: left;
}
.nl-popup-consent input[type="checkbox"] {
    flex-shrink: 0;
    margin-top: 2px;
    width: 16px; height: 16px;
    accent-color: var(--pink);
    cursor: pointer;
}
.nl-popup-spam {
    font-size: .78rem;
    font-weight: 700;
    color: var(--text);
    margin-top: -4px;
}
.nl-popup-cta {
    margin-top: 6px;
    padding: 14px 28px;
    border: none; border-radius: var(--radius);
    background: var(--pink);
    color: #fff;
    font-family: inherit;
    font-size: .9rem;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    cursor: pointer;
    transition: background .15s, transform .1s, box-shadow .15s;
    box-shadow: 0 4px 12px rgba(231,29,135,.25);
}
.nl-popup-cta:hover {
    background: var(--pink-dark);
    box-shadow: 0 6px 16px rgba(231,29,135,.35);
}
.nl-popup-cta:active { transform: translateY(1px); }
.nl-popup-footnote {
    font-size: .65rem;
    color: var(--text-light);
    line-height: 1.4;
    margin-top: 6px;
}
.nl-popup-footnote.strong {
    font-weight: 600;
    color: var(--text);
    margin-top: 2px;
}
@media (max-width: 520px) {
    .nl-popup { padding: 32px 22px 22px; }
    .nl-popup-percent { font-size: 4rem; }
    .nl-popup-percent span { font-size: 2.8rem; }
    .nl-popup-headline { font-size: 1.15rem; }
    .nl-popup-consent { font-size: .65rem; }
}

/* ---------- Page "Nos marques" (/marques) ---------- */
.brands-page { padding-top: 20px; padding-bottom: 48px; }
.brands-crumb { font-size: .82rem; color: var(--text-light); margin: 4px 0 14px; }
.brands-crumb a { color: var(--text-light); text-decoration: none; }
.brands-crumb a:hover { color: var(--pink); }
.brands-crumb span { margin: 0 4px; }
.brands-h1 { font-size: 2rem; font-weight: 800; letter-spacing: -.5px; color: var(--text); margin: 0 0 4px; }
.brands-sub { color: var(--text-light); font-size: .95rem; margin: 0 0 20px; }
.brands-empty { color: var(--text-light); padding: 40px 0; }

/* Index alphabétique sticky sous le header (116px) */
.brands-az {
    position: sticky; top: 116px; z-index: 20;
    display: flex; flex-wrap: wrap; gap: 4px;
    background: #fff; border: 1px solid var(--border); border-radius: 12px;
    padding: 10px; margin-bottom: 24px;
    box-shadow: 0 2px 8px rgba(0,0,0,.04);
}
.brands-az-link {
    min-width: 30px; height: 30px; padding: 0 6px;
    display: inline-flex; align-items: center; justify-content: center;
    border-radius: 8px; font-weight: 700; font-size: .82rem;
    color: var(--text); text-decoration: none; transition: all .12s;
}
.brands-az-link:hover { background: var(--pink); color: #fff; }
.brands-az-link.is-empty { color: var(--gray); pointer-events: none; opacity: .5; }

.brands-group { scroll-margin-top: 132px; margin-bottom: 32px; }
.brands-letter {
    font-size: 1.3rem; font-weight: 800; color: var(--pink);
    border-bottom: 2px solid var(--border); padding-bottom: 6px; margin: 0 0 16px;
}
.brands-grid {
    display: grid; gap: 12px;
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
}
.brand-card {
    display: flex; flex-direction: column; align-items: center; text-align: center;
    gap: 8px; padding: 18px 12px; text-decoration: none;
    background: #fff; border: 1px solid var(--border); border-radius: 12px;
    transition: border-color .15s, box-shadow .15s, transform .15s;
}
.brand-card:hover {
    border-color: var(--pink); box-shadow: 0 6px 16px rgba(0,0,0,.07);
    transform: translateY(-2px);
}
.brand-logo {
    width: 60px; height: 60px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    background: var(--pink-light); color: var(--pink);
    font-size: 1.5rem; font-weight: 800; overflow: hidden;
}
.brand-logo img { width: 100%; height: 100%; object-fit: contain; background: #fff; }
.brand-name {
    font-size: .9rem; font-weight: 700; color: var(--text); line-height: 1.25;
}
.brand-count { font-size: .74rem; color: var(--text-light); font-weight: 500; }

@media (max-width: 600px) {
    .brands-h1 { font-size: 1.6rem; }
    .brands-az { top: 64px; }
    .brands-group { scroll-margin-top: 84px; }
    .brands-grid { grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); gap: 10px; }
    .brand-logo { width: 50px; height: 50px; font-size: 1.25rem; }
}

/* ==========================================================================
   PROMOTIONS V2 — badges d'offre (2+1, dégressif, -X% dès…), panier, admin
   ========================================================================== */
.promo-offer-badge {
    display: inline-flex; align-items: center; gap: 4px;
    padding: 2px 8px; border-radius: 999px;
    font-size: .66rem; font-weight: 700; line-height: 1.5;
    color: #fff; white-space: nowrap;
    background: linear-gradient(90deg, var(--pink, #E71D87), #8b5cf6);
    vertical-align: middle;
}
.promo-offer-badge i { font-size: .6rem; }
.promo-offer-badges { display: flex; flex-wrap: wrap; gap: 4px; margin-top: 4px; }
.product-badge.badge-offer { background: linear-gradient(90deg, var(--pink), #8b5cf6); }
.gallery-badge.gallery-badge-offer { background: linear-gradient(90deg, var(--pink), #8b5cf6); }
.price-row .promo-offer-badge { font-size: .72rem; padding: 3px 10px; }

.promo-current-offers {
    margin: 10px 0 14px; padding: 10px 14px; border-radius: 10px;
    background: var(--pink-light, #fdeaf3); border: 1px solid rgba(231, 29, 135, .18);
}
.promo-current-title { font-size: .78rem; font-weight: 700; text-transform: uppercase; color: var(--pink); margin-bottom: 6px; }
.promo-current-offers ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; }
.promo-current-offers li { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; font-size: .82rem; }
.promo-offer-name { font-weight: 600; }
.promo-offer-end { color: var(--text-light); font-size: .74rem; }

/* Panier / checkout : lignes */
.cart-line-gift { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin-top: 4px; font-size: .74rem; }
.cart-line-gift-txt { color: var(--green, #10b981); font-weight: 600; }
.cart-line-price-old, .cart-line-total-old { color: var(--gray); font-weight: 400; font-size: .85em; }
.oi-qty .cart-line-gift-txt { margin-left: 4px; }

/* Récap : liste des promotions appliquées */
.promo-applied-list { list-style: none; margin: -4px 0 6px; padding: 0 0 0 10px; }
.promo-applied-list li {
    display: flex; justify-content: space-between; gap: 8px;
    font-size: .74rem; color: var(--text-light); padding: 2px 0;
}
.promo-applied-list li i { color: var(--pink); margin-right: 2px; }
.promo-applied-list .promo-offer-badge { font-size: .6rem; padding: 1px 6px; }
