/* =====================================================================
   BOUTIQUE BY MAACO — shop-base.css
   Socle commun à tous les écrans de la boutique : jetons de design,
   barre boutique, cartes produit, prix, boutons, badges, mini-panier,
   modale express, messages.

   Chaque écran a ensuite SON fichier (shop-catalog.css, shop-product.css,
   shop-cart.css, shop-checkout.css, shop-order.css, shop-account.css) :
   on peut redessiner le panier sans toucher à la fiche produit.
   ===================================================================== */

/* ── Jetons ─────────────────────────────────────────────────────────── */
:root {
    --shop-accent:      #61398F;
    --shop-accent-2:    #c9a227;
    --shop-radius:      16px;
    --shop-radius-sm:   8px;

    --shop-ink:         #14101c;
    --shop-body:        #4b4658;
    --shop-muted:       #8b8794;
    --shop-line:        rgba(20, 16, 28, .10);
    --shop-line-strong: rgba(20, 16, 28, .18);
    --shop-surface:     #ffffff;
    --shop-surface-2:   #faf8fc;
    --shop-surface-3:   #f2eef7;

    --shop-ok:          #0f9960;
    --shop-ok-bg:       #eefaf4;
    --shop-warn:        #b45309;
    --shop-warn-bg:     #fffaeb;
    --shop-ko:          #cc2936;
    --shop-ko-bg:       #fdf1f2;
    --shop-sale:        #cc2936;

    --shop-sh-sm: 0 1px 2px rgba(20,16,28,.05), 0 4px 14px rgba(20,16,28,.05);
    --shop-sh-md: 0 6px 28px rgba(97,57,143,.12), 0 2px 6px rgba(20,16,28,.05);
    --shop-sh-lg: 0 20px 60px rgba(97,57,143,.20);

    --shop-tr: 200ms cubic-bezier(.4, 0, .2, 1);

    /* Hauteur de l'en-tête flottant du site (position:fixed dans main.css).
       Affinée au pixel près par shop.js au chargement et au redimensionnement. */
    --shop-header-h: 84px;
    --shop-banner-h: 0px;
    --shop-top: calc(var(--shop-banner-h) + var(--shop-header-h));
    /* Point d'ancrage des colonnes collantes : sous l'en-tête ET la barre boutique */
    --shop-sticky-top: calc(var(--shop-top) + 68px);
}
@media (max-width: 900px) {:root { --shop-header-h: 76px; } }

/* ── Base ───────────────────────────────────────────────────────────── */
.shop-body { background: var(--shop-surface-2); }.shop-main { min-height: 55vh; padding-bottom: 64px; }.shop-main *,
.shop-main *::before,
.shop-main *::after { box-sizing: border-box; }.shop-section { padding: 28px 0; }.shop-section--tight { padding: 16px 0; }.shop-h1 {
    font-family: 'Montserrat', system-ui, sans-serif;
    font-size: clamp(1.6rem, 1.1rem + 2vw, 2.6rem);
    font-weight: 800;
    letter-spacing: -.03em;
    line-height: 1.1;
    color: var(--shop-ink);
    margin: 0;
}.shop-h2 {
    font-family: 'Montserrat', system-ui, sans-serif;
    font-size: clamp(1.15rem, .95rem + 1vw, 1.6rem);
    font-weight: 800;
    letter-spacing: -.02em;
    color: var(--shop-ink);
    margin: 0 0 16px;
}.shop-lead { color: var(--shop-body); font-size: .98rem; line-height: 1.65; margin: 8px 0 0; }.shop-muted { color: var(--shop-muted); }.shop-small { font-size: .82rem; }

/* ── Bandeau démo ───────────────────────────────────────────────────── */
/* Fixé tout en haut, AU-DESSUS de l'en-tête du site (z-index 100 dans
   main.css) ; l'en-tête est alors décalé d'autant, uniquement sur la
   boutique — le reste du site n'est pas affecté. */
.shop-demo-banner {
    display: flex; align-items: center; justify-content: center; gap: 10px;
    background: linear-gradient(90deg, #1b1226, #3b1f6a);
    color: #f4eefc;
    font-size: .8rem; font-weight: 600; letter-spacing: .01em;
    padding: 9px 18px; text-align: center; line-height: 1.4;
    position: fixed; top: 0; left: 0; right: 0; z-index: 120;
}.shop-body.has-demo-banner { --shop-banner-h: 38px; }.shop-body.has-demo-banner .site-header { top: var(--shop-banner-h); }
@media (max-width: 600px) {.shop-body.has-demo-banner { --shop-banner-h: 52px; }}
.shop-demo-dot {
    width: 7px; height: 7px; border-radius: 50%;
    background: var(--shop-accent-2);
    box-shadow: 0 0 0 0 rgba(201,162,39,.7);
    animation: shopPulse 2.2s infinite;
    flex-shrink: 0;
}@keyframes shopPulse {
    70%  { box-shadow: 0 0 0 8px rgba(201,162,39,0); }100% { box-shadow: 0 0 0 0 rgba(201,162,39,0); }
}

/* ── Barre boutique (sous-navigation) ───────────────────────────────── */
/* Se place SOUS l'en-tête flottant du site (fixed, z-index 100) : on la
   décale de sa hauteur dans le flux, et elle se colle juste en dessous
   au défilement. */
.shop-subnav {
    background: rgba(255,255,255,.96);
    border-bottom: 1px solid var(--shop-line);
    position: sticky;
    top: var(--shop-top);
    margin-top: var(--shop-top);
    z-index: 50;
    backdrop-filter: saturate(180%) blur(10px);
}.shop-subnav-inner {
    display: flex; align-items: center; gap: 14px;
    min-height: 56px; padding: 8px 0;
}.shop-subnav-cats {
    display: flex; align-items: center; gap: 4px;
    overflow-x: auto; flex: 1 1 auto;
    scrollbar-width: none; -ms-overflow-style: none;
}.shop-subnav-cats::-webkit-scrollbar { display: none; }.shop-subnav-cats a {
    flex-shrink: 0;
    padding: 7px 13px; border-radius: 999px;
    font-size: .855rem; font-weight: 600; color: var(--shop-body);
    text-decoration: none; white-space: nowrap;
    transition: background var(--shop-tr), color var(--shop-tr);
}.shop-subnav-cats a:hover { background: var(--shop-surface-3); color: var(--shop-accent); }.shop-subnav-cats a.is-active { background: var(--shop-accent); color: #fff; }.shop-subnav-actions { display: flex; align-items: center; gap: 8px; flex-shrink: 0; }.shop-search { position: relative; }.shop-search input {
    width: 190px; max-width: 42vw;
    padding: 8px 34px 8px 13px;
    border: 1px solid var(--shop-line-strong); border-radius: 999px;
    font-size: .86rem; background: var(--shop-surface-2); color: var(--shop-ink);
    transition: width var(--shop-tr), border-color var(--shop-tr), background var(--shop-tr);
}.shop-search input:focus {
    outline: none; width: 250px;
    border-color: var(--shop-accent); background: #fff;
    box-shadow: 0 0 0 3px rgba(97,57,143,.12);
}.shop-search button {
    position: absolute; right: 4px; top: 50%; transform: translateY(-50%);
    width: 28px; height: 28px; border: 0; border-radius: 50%;
    background: transparent; color: var(--shop-muted);
    display: grid; place-items: center; cursor: pointer;
}.shop-search button svg { width: 15px; height: 15px; }.shop-search button:hover { color: var(--shop-accent); }.shop-icon-btn {
    position: relative;
    display: inline-grid; place-items: center;
    width: 38px; height: 38px; border-radius: 50%;
    border: 1px solid var(--shop-line-strong);
    background: var(--shop-surface); color: var(--shop-ink);
    text-decoration: none; cursor: pointer;
    transition: all var(--shop-tr);
}.shop-icon-btn svg { width: 18px; height: 18px; }.shop-icon-btn:hover { border-color: var(--shop-accent); color: var(--shop-accent); transform: translateY(-1px); }.shop-icon-btn .shop-badge-count {
    position: absolute; top: -4px; right: -4px;
    min-width: 18px; height: 18px; padding: 0 5px;
    border-radius: 999px; background: var(--shop-accent); color: #fff;
    font-size: .66rem; font-weight: 800; line-height: 18px; text-align: center;
    box-shadow: 0 0 0 2px var(--shop-surface);
}.shop-icon-btn .shop-badge-count[data-empty="1"] { display: none; }.shop-cur-switch select {
    padding: 8px 10px; border-radius: 999px;
    border: 1px solid var(--shop-line-strong);
    background: var(--shop-surface); color: var(--shop-ink);
    font-size: .8rem; font-weight: 700; cursor: pointer;
}

/* ── Boutons ────────────────────────────────────────────────────────── */
.shop-btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    padding: 12px 22px; border: 0; border-radius: 999px;
    font-family: inherit; font-size: .92rem; font-weight: 700; letter-spacing: -.01em;
    text-decoration: none; cursor: pointer; white-space: nowrap;
    transition: transform var(--shop-tr), box-shadow var(--shop-tr), background var(--shop-tr), color var(--shop-tr);
}.shop-btn svg { width: 17px; height: 17px; flex-shrink: 0; }.shop-btn--primary { background: var(--shop-accent); color: #fff; box-shadow: 0 4px 16px rgba(97,57,143,.28); }.shop-btn--primary:hover { transform: translateY(-2px); box-shadow: 0 8px 26px rgba(97,57,143,.36); }.shop-btn--dark { background: var(--shop-ink); color: #fff; }.shop-btn--dark:hover { transform: translateY(-2px); }.shop-btn--outline {
    background: transparent; color: var(--shop-ink);
    box-shadow: inset 0 0 0 1.5px var(--shop-line-strong);
}.shop-btn--outline:hover { box-shadow: inset 0 0 0 1.5px var(--shop-accent); color: var(--shop-accent); }.shop-btn--ghost { background: var(--shop-surface-3); color: var(--shop-ink); }.shop-btn--ghost:hover { background: var(--shop-surface); box-shadow: var(--shop-sh-sm); }.shop-btn--wa { background: #1eb355; color: #fff; }.shop-btn--wa:hover { background: #199c4a; transform: translateY(-2px); }.shop-btn--block { width: 100%; }.shop-btn--sm { padding: 8px 15px; font-size: .82rem; }.shop-btn--lg { padding: 15px 30px; font-size: 1rem; }.shop-btn:disabled,
.shop-btn.is-disabled {
    opacity: .5; cursor: not-allowed; transform: none !important; box-shadow: none !important;
}

/* ── Cartes & surfaces ──────────────────────────────────────────────── */
.shop-card {
    background: var(--shop-surface);
    border-radius: var(--shop-radius);
    box-shadow: var(--shop-sh-sm);
}.shop-card-flat .shop-card { box-shadow: none; border: 1px solid var(--shop-line); }.shop-card-outline .shop-card { box-shadow: none; border: 1.5px solid var(--shop-line-strong); }.shop-panel {
    background: var(--shop-surface);
    border-radius: var(--shop-radius);
    box-shadow: var(--shop-sh-sm);
    padding: 22px;
}.shop-panel + .shop-panel { margin-top: 16px; }.shop-panel-title {
    font-family: 'Montserrat', sans-serif; font-size: 1rem; font-weight: 800;
    color: var(--shop-ink); margin: 0 0 14px; letter-spacing: -.02em;
}

/* ── Carte produit ──────────────────────────────────────────────────── */
.shop-grid {
    display: grid;
    grid-template-columns: repeat(var(--shop-cols, 3), minmax(0, 1fr));
    gap: 22px;
}
@media (max-width: 1024px) {.shop-grid { grid-template-columns: repeat(min(var(--shop-cols, 3), 3), minmax(0, 1fr)); gap: 18px; } }
@media (max-width: 720px)  {.shop-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }}

.shop-pcard {
    background: var(--shop-surface);
    border-radius: var(--shop-radius);
    overflow: hidden;
    box-shadow: var(--shop-sh-sm);
    display: flex; flex-direction: column;
    transition: transform var(--shop-tr), box-shadow var(--shop-tr);
    position: relative;
}.shop-pcard:hover { transform: translateY(-4px); box-shadow: var(--shop-sh-md); }.shop-card-flat .shop-pcard { box-shadow: none; border: 1px solid var(--shop-line); }.shop-card-outline .shop-pcard { box-shadow: none; border: 1.5px solid var(--shop-line-strong); }.shop-pcard-media {
    position: relative; display: block;
    background: var(--shop-surface-3);
    overflow: hidden;
    aspect-ratio: 3 / 4;
}.shop-ratio-square .shop-pcard-media { aspect-ratio: 1 / 1; }.shop-ratio-landscape .shop-pcard-media { aspect-ratio: 4 / 3; }.shop-pcard-media img {
    width: 100%; height: 100%; object-fit: cover; display: block;
    transition: transform 520ms cubic-bezier(.2,.7,.3,1), opacity var(--shop-tr);
}.shop-pcard:hover .shop-pcard-media img.is-main { transform: scale(1.05); }.shop-pcard-media img.is-hover {
    position: absolute; inset: 0; opacity: 0;
}.shop-pcard:hover .shop-pcard-media img.is-hover { opacity: 1; }.shop-pcard-noimg {
    position: absolute; inset: 0; display: grid; place-items: center;
    color: var(--shop-muted); font-size: .78rem; letter-spacing: .04em; text-transform: uppercase;
}.shop-pcard-badges {
    position: absolute; top: 10px; left: 10px; z-index: 2;
    display: flex; flex-direction: column; gap: 5px; align-items: flex-start;
}.shop-tag {
    display: inline-block; padding: 4px 9px; border-radius: 999px;
    font-size: .68rem; font-weight: 800; letter-spacing: .04em; text-transform: uppercase;
    background: var(--shop-ink); color: #fff;
}.shop-tag--sale { background: var(--shop-sale); }.shop-tag--new { background: var(--shop-accent); }.shop-tag--out { background: #6b7280; }.shop-tag--pre { background: #7c3aed; }.shop-tag--custom { background: var(--shop-accent-2); color: #1b1226; }.shop-pcard-fav {
    position: absolute; top: 10px; right: 10px; z-index: 2;
    width: 32px; height: 32px; border-radius: 50%;
    background: rgba(255,255,255,.92); border: 0;
    display: grid; place-items: center; cursor: pointer;
    opacity: 0; transform: translateY(-4px);
    transition: all var(--shop-tr);
}.shop-pcard:hover .shop-pcard-fav { opacity: 1; transform: none; }.shop-pcard-quick {
    position: absolute; left: 10px; right: 10px; bottom: 10px; z-index: 2;
    opacity: 0; transform: translateY(8px);
    transition: all var(--shop-tr);
}.shop-pcard:hover .shop-pcard-quick { opacity: 1; transform: none; }
@media (hover: none) {.shop-pcard-quick { opacity: 1; transform: none; position: static; margin: 0 12px 12px; }.shop-pcard-fav { opacity: 1; transform: none; }}

.shop-pcard-body { padding: 14px 14px 16px; display: flex; flex-direction: column; gap: 6px; flex: 1; }.shop-pcard-cat { font-size: .7rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--shop-muted); }.shop-pcard-name {
    font-family: 'Montserrat', sans-serif; font-size: .95rem; font-weight: 700;
    line-height: 1.3; letter-spacing: -.015em; margin: 0;
}.shop-pcard-name a { color: var(--shop-ink); text-decoration: none; }.shop-pcard-name a:hover { color: var(--shop-accent); }.shop-pcard-foot { margin-top: auto; display: flex; align-items: baseline; justify-content: space-between; gap: 8px; flex-wrap: wrap; }

/* ── Prix ───────────────────────────────────────────────────────────── */
.shop-price {
    font-family: 'Montserrat', sans-serif; font-weight: 800;
    font-size: 1.02rem; color: var(--shop-ink); letter-spacing: -.02em;
}.shop-price--sale { color: var(--shop-sale); }.shop-price--quote { color: var(--shop-accent); font-size: .95rem; }.shop-price-old { color: var(--shop-muted); font-size: .84rem; font-weight: 600; margin-left: 6px; }.shop-price-tax { color: var(--shop-muted); font-size: .68rem; font-weight: 700; margin-left: 3px; }.shop-price-off {
    display: inline-block; margin-left: 6px; padding: 2px 6px; border-radius: 5px;
    background: var(--shop-ko-bg); color: var(--shop-sale);
    font-size: .68rem; font-weight: 800;
}

/* ── Étoiles ────────────────────────────────────────────────────────── */
.shop-stars { display: inline-flex; align-items: center; gap: 1px; }.shop-stars svg { width: 13px; height: 13px; }.shop-stars .is-on { color: var(--shop-accent-2); fill: var(--shop-accent-2); }.shop-stars .is-off { color: var(--shop-line-strong); fill: var(--shop-line-strong); }.shop-stars-count { font-size: .74rem; color: var(--shop-muted); margin-left: 4px; }

/* ── Puces & états ──────────────────────────────────────────────────── */
.shop-chip {
    display: inline-block; padding: 3px 10px; border-radius: 999px;
    font-size: .73rem; font-weight: 700; white-space: nowrap;
}.shop-stock-ok { color: var(--shop-ok);   font-size: .8rem; font-weight: 700; }.shop-stock-low { color: var(--shop-warn); font-size: .8rem; font-weight: 700; }.shop-stock-out { color: var(--shop-ko);   font-size: .8rem; font-weight: 700; }

/* ── Messages ───────────────────────────────────────────────────────── */
.shop-flash {
    margin: 18px 0 0; padding: 13px 18px;
    border-radius: var(--shop-radius-sm);
    font-size: .9rem; font-weight: 600; line-height: 1.5;
    display: flex; align-items: flex-start; gap: 10px;
    animation: shopSlideIn 320ms ease;
}.shop-flash--ok { background: var(--shop-ok-bg); color: #0a6b45; border-left: 3px solid var(--shop-ok); }.shop-flash--ko { background: var(--shop-ko-bg); color: #9b1c26; border-left: 3px solid var(--shop-ko); }@keyframes shopSlideIn { from { opacity: 0; transform: translateY(-6px); }}

.shop-empty {
    text-align: center; padding: 60px 24px;
    background: var(--shop-surface); border-radius: var(--shop-radius);
    box-shadow: var(--shop-sh-sm);
}.shop-empty-ico {
    width: 60px; height: 60px; margin: 0 auto 16px;
    border-radius: 50%; background: var(--shop-surface-3);
    display: grid; place-items: center; color: var(--shop-accent);
}.shop-empty-ico svg { width: 26px; height: 26px; }.shop-empty h3 { font-family: 'Montserrat', sans-serif; font-size: 1.15rem; font-weight: 800; margin: 0 0 6px; color: var(--shop-ink); }.shop-empty p { color: var(--shop-muted); margin: 0 0 18px; font-size: .92rem; }

/* ── Formulaires ────────────────────────────────────────────────────── */
.shop-field { margin-bottom: 15px; }.shop-label {
    display: block; font-size: .8rem; font-weight: 700; color: var(--shop-ink);
    margin-bottom: 6px; letter-spacing: -.01em;
}.shop-label .req { color: var(--shop-ko); }.shop-input,
.shop-select,
.shop-textarea {
    width: 100%; padding: 11px 14px;
    border: 1.5px solid var(--shop-line-strong); border-radius: var(--shop-radius-sm);
    font-family: inherit; font-size: .92rem; color: var(--shop-ink);
    background: var(--shop-surface);
    transition: border-color var(--shop-tr), box-shadow var(--shop-tr);
}.shop-input:focus,
.shop-select:focus,
.shop-textarea:focus {
    outline: none; border-color: var(--shop-accent);
    box-shadow: 0 0 0 3px rgba(97,57,143,.11);
}.shop-textarea { min-height: 92px; resize: vertical; line-height: 1.6; }.shop-help { font-size: .77rem; color: var(--shop-muted); margin-top: 5px; line-height: 1.5; }.shop-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 620px) {.shop-row { grid-template-columns: 1fr; }}

.shop-check {
    display: flex; align-items: flex-start; gap: 9px;
    font-size: .87rem; color: var(--shop-body); cursor: pointer; line-height: 1.5;
}.shop-check input { width: 17px; height: 17px; margin-top: 1px; accent-color: var(--shop-accent); flex-shrink: 0; cursor: pointer; }

/* ── Sélecteurs de déclinaison ──────────────────────────────────────── */
.shop-swatches { display: flex; flex-wrap: wrap; gap: 8px; }.shop-swatch {
    position: relative; cursor: pointer;
    padding: 9px 15px; border-radius: var(--shop-radius-sm);
    border: 1.5px solid var(--shop-line-strong); background: var(--shop-surface);
    font-size: .87rem; font-weight: 700; color: var(--shop-ink);
    transition: all var(--shop-tr);
    user-select: none;
}.shop-swatch input { position: absolute; opacity: 0; pointer-events: none; }.shop-swatch:hover { border-color: var(--shop-accent); }.shop-swatch.is-selected { border-color: var(--shop-accent); background: var(--shop-accent); color: #fff; }.shop-swatch.is-unavailable { opacity: .35; text-decoration: line-through; cursor: not-allowed; }.shop-swatch--color {
    width: 34px; height: 34px; border-radius: 50%; padding: 0;
    box-shadow: inset 0 0 0 1.5px rgba(0,0,0,.08);
    border: 2px solid transparent;
}.shop-swatch--color.is-selected { border-color: var(--shop-accent); background: none; }.shop-swatch--color span.dot { position: absolute; inset: 3px; border-radius: 50%; }

/* ── Choix de la livraison ──────────────────────────────────────────
   Composant PARTAGÉ entre la page panier et le checkout : il vit donc
   ici et non dans l'une des deux feuilles de page. */
.ct-ship-options { display: flex; flex-direction: column; gap: 8px; }.ct-ship-option {
    display: flex; align-items: flex-start; gap: 10px;
    padding: 12px 13px; border-radius: var(--shop-radius-sm);
    border: 1.5px solid var(--shop-line); background: var(--shop-surface);
    cursor: pointer; transition: all var(--shop-tr);
}.ct-ship-option:hover { border-color: var(--shop-accent); }.ct-ship-option.is-selected { border-color: var(--shop-accent); background: rgba(97,57,143,.05); }.ct-ship-option input { margin-top: 3px; accent-color: var(--shop-accent); flex-shrink: 0; }.ct-ship-body { flex: 1; min-width: 0; display: block; }.ct-ship-name { display: block; font-size: .88rem; font-weight: 700; color: var(--shop-ink); line-height: 1.35; }.ct-ship-desc { display: block; font-size: .78rem; color: var(--shop-muted); margin-top: 2px; line-height: 1.45; }.ct-ship-cost {
    font-size: .88rem; font-weight: 800; color: var(--shop-ink);
    white-space: nowrap; flex-shrink: 0; align-self: center;
}.ct-ship-cost.is-free { color: var(--shop-ok); }

/* ── Quantité ───────────────────────────────────────────────────────── */
.shop-qty {
    display: inline-flex; align-items: center;
    border: 1.5px solid var(--shop-line-strong); border-radius: 999px; overflow: hidden;
    background: var(--shop-surface);
}.shop-qty button {
    width: 36px; height: 40px; border: 0; background: transparent;
    color: var(--shop-ink); font-size: 1.1rem; cursor: pointer; line-height: 1;
    transition: background var(--shop-tr);
}.shop-qty button:hover { background: var(--shop-surface-3); color: var(--shop-accent); }.shop-qty input {
    width: 44px; height: 40px; border: 0; text-align: center;
    font-family: inherit; font-size: .95rem; font-weight: 700; color: var(--shop-ink);
    background: transparent; -moz-appearance: textfield;
}.shop-qty input::-webkit-outer-spin-button,
.shop-qty input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }

/* ── Mini-panier (tiroir latéral) ───────────────────────────────────── */
.shop-drawer-backdrop {
    position: fixed; inset: 0; z-index: 998;
    background: rgba(20,16,28,.5);
    opacity: 0; visibility: hidden;
    transition: opacity 260ms ease, visibility 260ms ease;
}.shop-drawer-backdrop.is-open { opacity: 1; visibility: visible; }.shop-drawer {
    position: fixed; top: 0; right: 0; bottom: 0; z-index: 999;
    width: min(400px, 92vw);
    background: var(--shop-surface);
    box-shadow: -8px 0 40px rgba(20,16,28,.2);
    display: flex; flex-direction: column;
    transform: translateX(102%);
    transition: transform 320ms cubic-bezier(.3,.8,.2,1);
}.shop-drawer.is-open { transform: none; }.shop-drawer-head {
    display: flex; align-items: center; justify-content: space-between;
    padding: 18px 20px; border-bottom: 1px solid var(--shop-line);
}.shop-drawer-head h3 { font-family: 'Montserrat', sans-serif; font-size: 1.02rem; font-weight: 800; margin: 0; }.shop-drawer-close {
    width: 32px; height: 32px; border: 0; border-radius: 50%;
    background: var(--shop-surface-3); color: var(--shop-ink);
    font-size: 1.2rem; line-height: 1; cursor: pointer;
}.shop-drawer-body { flex: 1; overflow-y: auto; padding: 8px 20px; }.shop-drawer-foot { padding: 16px 20px 20px; border-top: 1px solid var(--shop-line); background: var(--shop-surface-2); }.shop-mini-line { display: flex; gap: 12px; padding: 13px 0; border-bottom: 1px solid var(--shop-line); }.shop-mini-line:last-child { border-bottom: 0; }.shop-mini-thumb {
    width: 58px; height: 74px; border-radius: var(--shop-radius-sm);
    object-fit: cover; background: var(--shop-surface-3); flex-shrink: 0;
}.shop-mini-info { flex: 1; min-width: 0; }.shop-mini-info a { font-size: .87rem; font-weight: 700; color: var(--shop-ink); text-decoration: none; display: block; line-height: 1.35; }.shop-mini-info a:hover { color: var(--shop-accent); }.shop-mini-var { font-size: .76rem; color: var(--shop-muted); margin-top: 2px; }.shop-mini-price { font-size: .85rem; font-weight: 800; color: var(--shop-ink); margin-top: 5px; }.shop-mini-total { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 12px; }.shop-mini-total span { font-size: .85rem; font-weight: 700; color: var(--shop-body); }.shop-mini-total strong { font-family: 'Montserrat', sans-serif; font-size: 1.2rem; font-weight: 800; color: var(--shop-ink); }

/* ── Modale (express, etc.) ─────────────────────────────────────────── */
.shop-modal {
    position: fixed; inset: 0; z-index: 1000;
    display: none; align-items: center; justify-content: center;
    padding: 20px;
    background: rgba(20,16,28,.6);
    overflow-y: auto;
}.shop-modal.is-open { display: flex; }.shop-modal-box {
    background: var(--shop-surface);
    border-radius: var(--shop-radius);
    box-shadow: var(--shop-sh-lg);
    width: min(500px, 100%);
    max-height: 92vh; overflow-y: auto;
    animation: shopPop 260ms cubic-bezier(.2,.9,.3,1);
}@keyframes shopPop { from { opacity: 0; transform: translateY(16px) scale(.97); }}
.shop-modal-head {
    padding: 22px 24px 0; display: flex; align-items: flex-start; justify-content: space-between; gap: 12px;
}.shop-modal-head h3 {
    font-family: 'Montserrat', sans-serif; font-size: 1.2rem; font-weight: 800;
    margin: 0; letter-spacing: -.02em; color: var(--shop-ink);
}.shop-modal-sub { font-size: .87rem; color: var(--shop-muted); margin: 6px 0 0; line-height: 1.5; }.shop-modal-body { padding: 18px 24px 24px; }.shop-modal-close {
    width: 30px; height: 30px; border: 0; border-radius: 50%; flex-shrink: 0;
    background: var(--shop-surface-3); color: var(--shop-ink);
    font-size: 1.1rem; line-height: 1; cursor: pointer;
}.shop-modal-product {
    display: flex; gap: 12px; align-items: center;
    padding: 12px; margin-bottom: 18px;
    background: var(--shop-surface-2); border-radius: var(--shop-radius-sm);
}.shop-modal-product img { width: 52px; height: 66px; object-fit: cover; border-radius: 6px; flex-shrink: 0; }.shop-modal-product-name { font-size: .89rem; font-weight: 700; color: var(--shop-ink); line-height: 1.3; }.shop-modal-product-meta { font-size: .78rem; color: var(--shop-muted); margin-top: 3px; }

/* ── Instructions de paiement ───────────────────────────────────────── */
.shop-pay-details { list-style: none; margin: 12px 0 0; padding: 0; }.shop-pay-details li {
    display: flex; justify-content: space-between; gap: 12px;
    padding: 9px 0; border-bottom: 1px dashed var(--shop-line);
    font-size: .88rem;
}.shop-pay-details li:last-child { border-bottom: 0; }.shop-pay-details span { color: var(--shop-muted); }.shop-pay-details strong { color: var(--shop-ink); font-weight: 800; }.shop-pay-amount { font-size: .92rem; margin: 0; }.shop-pay-amount strong { color: var(--shop-accent); font-size: 1.05rem; }

/* ── Fil d'Ariane ───────────────────────────────────────────────────── */
.shop-breadcrumb {
    display: flex; align-items: center; gap: 7px; flex-wrap: wrap;
    font-size: .8rem; color: var(--shop-muted); padding: 16px 0 0;
}.shop-breadcrumb a { color: var(--shop-muted); text-decoration: none; }.shop-breadcrumb a:hover { color: var(--shop-accent); }.shop-breadcrumb .sep { opacity: .5; }.shop-breadcrumb .current { color: var(--shop-ink); font-weight: 600; }

/* ── Pagination ─────────────────────────────────────────────────────── */
.shop-pagination { display: flex; align-items: center; justify-content: center; gap: 6px; margin-top: 36px; flex-wrap: wrap; }.shop-pagination a,
.shop-pagination span {
    min-width: 38px; height: 38px; padding: 0 12px;
    display: inline-flex; align-items: center; justify-content: center;
    border-radius: var(--shop-radius-sm);
    font-size: .87rem; font-weight: 700; text-decoration: none;
    color: var(--shop-body); background: var(--shop-surface);
    box-shadow: var(--shop-sh-sm);
    transition: all var(--shop-tr);
}.shop-pagination a:hover { color: var(--shop-accent); transform: translateY(-1px); }.shop-pagination .is-current { background: var(--shop-accent); color: #fff; box-shadow: none; }.shop-pagination .is-gap { background: none; box-shadow: none; color: var(--shop-muted); }

/* ── Tableaux (récap commande) ──────────────────────────────────────── */
.shop-table { width: 100%; border-collapse: collapse; }.shop-table th {
    text-align: left; font-size: .73rem; font-weight: 800;
    text-transform: uppercase; letter-spacing: .06em; color: var(--shop-muted);
    padding: 0 0 10px; border-bottom: 1px solid var(--shop-line);
}.shop-table td { padding: 13px 0; border-bottom: 1px solid var(--shop-line); font-size: .9rem; vertical-align: middle; }.shop-table tr:last-child td { border-bottom: 0; }.shop-table .num { text-align: right; white-space: nowrap; font-variant-numeric: tabular-nums; }.shop-totals { list-style: none; margin: 0; padding: 0; }.shop-totals li {
    display: flex; align-items: baseline; justify-content: space-between; gap: 14px;
    padding: 9px 0; font-size: .9rem; color: var(--shop-body);
}.shop-totals li + li { border-top: 1px solid var(--shop-line); }.shop-totals li strong { color: var(--shop-ink); font-weight: 700; font-variant-numeric: tabular-nums; }.shop-totals li.is-discount strong { color: var(--shop-ok); }.shop-totals li.is-grand {
    border-top: 2px solid var(--shop-ink); margin-top: 6px; padding-top: 14px;
    font-size: 1rem; font-weight: 800; color: var(--shop-ink);
}.shop-totals li.is-grand strong { font-family: 'Montserrat', sans-serif; font-size: 1.35rem; letter-spacing: -.03em; }

/* ── Accessibilité ──────────────────────────────────────────────────── */
.shop-sr {
    position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
    overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}.shop-btn:focus-visible,
.shop-icon-btn:focus-visible,
.shop-swatch:focus-within,
.shop-input:focus-visible {
    outline: 2px solid var(--shop-accent); outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {.shop-body *,
.shop-body *::before,
.shop-body *::after {
        animation-duration: .01ms !important; transition-duration: .01ms !important;
    }
}

/* ══════════ MINI-PANIER : MODIFIER SANS QUITTER LA PAGE ══════════ */

.shop-mini-line { position: relative; align-items: flex-start; }.shop-mini-line.is-busy { opacity: .5; pointer-events: none; }.shop-mini-unit { font-size: .76rem; color: var(--shop-muted); margin-top: 3px; }.shop-mini-right {
    display: flex; flex-direction: column; align-items: flex-end;
    justify-content: space-between; gap: 8px; flex-shrink: 0;
}.shop-mini-right .shop-mini-price { margin-top: 0; white-space: nowrap; }

/* Sélecteur de quantité, compact pour tenir dans le tiroir */
.shop-mini-qty {
    display: inline-flex; align-items: center; margin-top: 8px;
    border-radius: 999px; overflow: hidden;
    box-shadow: inset 0 0 0 1px var(--shop-line);
}.shop-mini-qty button {
    width: 28px; height: 28px; border: 0; background: none;
    font-size: 1rem; line-height: 1; color: var(--shop-body);
    cursor: pointer; transition: background var(--shop-tr);
}.shop-mini-qty button:hover:not(:disabled) { background: var(--shop-surface-3); color: var(--shop-accent); }.shop-mini-qty button:disabled { opacity: .3; cursor: not-allowed; }.shop-mini-qty input {
    width: 38px; height: 28px; border: 0; background: none;
    text-align: center; font-size: .82rem; font-weight: 700; color: var(--shop-ink);
    -moz-appearance: textfield;
}.shop-mini-qty input::-webkit-outer-spin-button,
.shop-mini-qty input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }.shop-mini-qty input:focus { outline: none; background: var(--shop-surface-3); }.shop-mini-qty-fixed {
    display: inline-block; margin-top: 8px; padding: 3px 10px; border-radius: 999px;
    background: var(--shop-surface-3); color: var(--shop-muted);
    font-size: .74rem; font-weight: 700;
}

/* Retirer la ligne */
.shop-mini-del {
    width: 28px; height: 28px; padding: 0; border: 0; border-radius: 7px;
    display: grid; place-items: center; cursor: pointer;
    background: none; color: var(--shop-muted);
    transition: all var(--shop-tr);
}.shop-mini-del svg { width: 15px; height: 15px; }.shop-mini-del:hover { background: var(--shop-sale-bg, #fdf1f2); color: var(--shop-sale); }

/* Récapitulatif : seul le total garde la grande typo */
.shop-mini-total { margin-bottom: 8px; }.shop-mini-total strong { font-family: inherit; font-size: .92rem; font-weight: 700; }.shop-mini-total.is-grand {
    margin-top: 10px; padding-top: 12px; margin-bottom: 14px;
    border-top: 1px solid var(--shop-line);
}.shop-mini-total.is-grand strong {
    font-family: 'Montserrat', sans-serif; font-size: 1.2rem; font-weight: 800;
}


/* =====================================================================
   ENTÊTES DE LA BOUTIQUE — 4 modèles (réglage design > header_style)
   Partagent les jetons du thème (--shop-accent, --shop-radius…), donc
   la personnalisation du tenant s'applique d'office.
   ===================================================================== */

/* ── Communs ── */
.shop-hdr-brand {
    font-weight: 800;
    font-size: 1.02rem;
    color: var(--shop-ink);
    letter-spacing: -0.01em;
    white-space: nowrap;
    flex-shrink: 0;
}
.shop-hdr-brand:hover { color: var(--shop-accent); }
.shop-hdr-brand--lg { font-size: 1.25rem; }

.shop-promo-pill {
    display: inline-block;
    margin-left: 6px;
    padding: 2px 7px;
    border-radius: 999px;
    background: color-mix(in srgb, var(--shop-accent-2) 18%, transparent);
    color: var(--shop-accent-2);
    font-size: 0.62rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    vertical-align: 2px;
}
.shop-promo-dot {
    display: inline-block;
    width: 7px; height: 7px;
    margin-left: 6px;
    border-radius: 50%;
    background: var(--shop-accent-2);
    vertical-align: 2px;
}

/* Mini carte produit (panneaux mega & commerce) */
.shop-mini-card {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 8px;
    border-radius: var(--shop-radius-sm);
    transition: background var(--shop-tr, 0.2s);
}
.shop-mini-card:hover { background: var(--shop-surface-3); }
.shop-mini-img {
    position: relative;
    width: 56px; height: 56px;
    flex-shrink: 0;
    border-radius: calc(var(--shop-radius-sm) - 2px);
    background: var(--shop-surface-2);
    overflow: hidden;
}
.shop-mini-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.shop-mini-img em {
    position: absolute;
    top: 3px; left: 3px;
    font-style: normal;
    font-size: 0.6rem;
    font-weight: 800;
    color: #fff;
    background: var(--shop-sale, #e11d48);
    border-radius: 6px;
    padding: 1px 5px;
}
.shop-mini-info { min-width: 0; }
.shop-mini-info b {
    display: block;
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--shop-ink);
    line-height: 1.3;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.shop-mini-info i { font-style: normal; font-size: 0.8rem; }

/* ── Modèle « Essentiel » ── */
.shop-subnav--essentiel .shop-subnav-inner { gap: 16px; }
.shop-subnav--essentiel .shop-search { flex: 1 1 auto; max-width: 460px; margin-left: auto; }
.shop-subnav--essentiel .shop-search input { width: 100%; }

/* ── Panneaux déroulants (mega & commerce) ──
   Ouverture au survol / focus clavier : CSS pur sur ordinateur. */
.shop-mega-item { position: relative; }
.shop-mega-panel {
    position: absolute;
    top: calc(100% + 8px);
    left: 50%;
    transform: translate(-50%, 6px);
    z-index: 90;
    min-width: 300px;
    background: var(--shop-surface);
    border: 1px solid var(--shop-line);
    border-radius: var(--shop-radius);
    box-shadow: var(--shop-sh-lg);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.22s ease, transform 0.22s ease, visibility 0.22s;
}
.shop-mega-item:hover > .shop-mega-panel,
.shop-mega-item:focus-within > .shop-mega-panel {
    opacity: 1;
    visibility: visible;
    transform: translate(-50%, 0);
}
/* Pont invisible entre le lien et le panneau : le survol ne se coupe pas */
.shop-mega-panel::before {
    content: '';
    position: absolute;
    top: -10px; left: 0; right: 0;
    height: 10px;
}
.shop-mega-panel-inner {
    display: flex;
    gap: 18px;
    padding: 16px;
}
.shop-mega-cols {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 190px;
}
.shop-mega-all,
.shop-mega-sub {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 8px 10px;
    border-radius: var(--shop-radius-sm);
    font-size: 0.85rem;
    color: var(--shop-body);
    white-space: nowrap;
}
.shop-mega-all { font-weight: 700; color: var(--shop-ink); }
.shop-mega-all span,
.shop-mega-sub span { font-size: 0.72rem; color: var(--shop-muted); }
.shop-mega-all:hover,
.shop-mega-sub:hover { background: var(--shop-surface-3); color: var(--shop-accent); }
.shop-mega-media {
    width: 168px;
    min-height: 168px;
    border-radius: var(--shop-radius-sm);
    background-size: cover;
    background-position: center;
    background-color: var(--shop-surface-2);
    display: flex;
    align-items: flex-end;
    overflow: hidden;
    flex-shrink: 0;
}
.shop-mega-media span {
    width: 100%;
    padding: 30px 12px 10px;
    background: linear-gradient(180deg, transparent, rgba(12, 8, 20, 0.78));
    color: #fff;
    font-size: 0.78rem;
    line-height: 1.35;
}
.shop-mega-media b { font-size: 0.92rem; }
.shop-mega-prods { min-width: 230px; display: flex; flex-direction: column; gap: 4px; }
.shop-mega-prods-title {
    margin: 2px 8px 6px;
    font-size: 0.68rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--shop-muted);
}
.shop-mega-prods--row { flex-direction: row; flex-wrap: wrap; min-width: 0; }
.shop-mega-prods--row .shop-mini-card { width: 250px; }

/* ── Modèle « Méga menu » ── */
.shop-mega .shop-subnav-inner { gap: 14px; }
.shop-mega-items {
    display: flex;
    align-items: center;
    gap: 2px;
    flex: 1;
    min-width: 0;
}
.shop-mega-link {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 9px 13px;
    border-radius: 999px;
    font-size: 0.87rem;
    font-weight: 600;
    color: var(--shop-body);
    white-space: nowrap;
    transition: background var(--shop-tr, 0.2s), color var(--shop-tr, 0.2s);
}
.shop-mega-link:hover { background: var(--shop-surface-3); color: var(--shop-accent); }
.shop-mega-link.is-active { background: var(--shop-accent); color: #fff; }
.shop-mega-link--btn { border: 0; background: none; cursor: pointer; font-family: inherit; }
.shop-mega-link--hot { color: var(--shop-accent-2); }
.shop-mega-chev { width: 13px; height: 13px; flex-shrink: 0; transition: transform 0.22s ease; }
.shop-mega-link-txt {
    display: block;
    max-width: 150px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
/* Recherche compacte qui s'étire au focus : la barre reste respirable */
.shop-mega .shop-search input { width: 140px; transition: width 0.25s ease; }
.shop-mega .shop-search input:focus { width: 220px; }
.shop-mega-item:hover .shop-mega-chev,
.shop-mega-item:focus-within .shop-mega-chev { transform: rotate(180deg); }

/* Les panneaux des bords ne doivent pas sortir de l'écran */
.shop-mega-item:first-child .shop-mega-panel,
.shop-mega-item:nth-child(2) .shop-mega-panel { left: 0; transform: translate(0, 6px); }
.shop-mega-item:first-child:hover > .shop-mega-panel,
.shop-mega-item:first-child:focus-within > .shop-mega-panel,
.shop-mega-item:nth-child(2):hover > .shop-mega-panel,
.shop-mega-item:nth-child(2):focus-within > .shop-mega-panel { transform: translate(0, 0); }
.shop-mega-panel--right { left: auto; right: 0; transform: translate(0, 6px); }
.shop-mega-item:hover > .shop-mega-panel--right,
.shop-mega-item:focus-within > .shop-mega-panel--right { transform: translate(0, 0); }

.shop-mega-burger {
    display: none;
    align-items: center;
    gap: 8px;
    border: 1px solid var(--shop-line);
    background: var(--shop-surface);
    border-radius: 999px;
    padding: 9px 14px;
    font-family: inherit;
    font-size: 0.87rem;
    font-weight: 600;
    color: var(--shop-ink);
    cursor: pointer;
}
.shop-mega-burger svg { width: 16px; height: 16px; }
.shop-mega-burger[aria-expanded="true"] { background: var(--shop-accent); color: #fff; border-color: var(--shop-accent); }

/* Tiroir mobile (accordéons <details>, zéro dépendance) */
.shop-mega-drawer {
    max-height: calc(100vh - var(--shop-top) - 72px);
    overflow-y: auto;
    border-top: 1px solid var(--shop-line);
    background: var(--shop-surface);
    padding: 8px 16px 14px;
    display: flex;
    flex-direction: column;
    gap: 2px;
    box-shadow: var(--shop-sh-md);
}
.shop-mega-drawer-link,
.shop-mega-drawer-group summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 11px 10px;
    border-radius: var(--shop-radius-sm);
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--shop-ink);
    cursor: pointer;
    list-style: none;
}
.shop-mega-drawer-group summary::-webkit-details-marker { display: none; }
.shop-mega-drawer-link:hover,
.shop-mega-drawer-group summary:hover { background: var(--shop-surface-3); }
.shop-mega-drawer-group summary svg { width: 15px; height: 15px; transition: transform 0.2s ease; margin-left: auto; }
.shop-mega-drawer-group[open] summary svg { transform: rotate(180deg); }
.shop-mega-drawer-group a {
    display: block;
    padding: 9px 10px 9px 22px;
    font-size: 0.86rem;
    color: var(--shop-body);
    border-radius: var(--shop-radius-sm);
}
.shop-mega-drawer-group a:hover { background: var(--shop-surface-3); color: var(--shop-accent); }
.shop-mega-drawer .shop-promo-pill { margin-left: auto; }
.shop-mega-drawer-group summary .shop-promo-pill { margin-left: 0; }

@media (max-width: 1100px) {
    .shop-mega-items { display: none; }
    .shop-mega-burger { display: inline-flex; }
}
@media (min-width: 1100.02px) {
    .shop-mega-drawer { display: none !important; }
}

/* ── Modèle « Commerce » ── */
/* L'en-tête du site est FIXE (z-index 100) : comme la barre subnav,
   le bloc commerce se décale de sa hauteur pour ne jamais passer dessous. */
.shop-commerce {
    position: relative;
    z-index: 50;
    margin-top: var(--shop-top);
}
.shop-topbar {
    background: var(--shop-ink);
    color: #fff;
}
.shop-topbar-inner {
    position: relative;
    min-height: 34px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}
.shop-topbar-msg {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0;
    padding: 0 16px;
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    text-align: center;
    opacity: 0;
    transform: translateY(8px);
    transition: opacity 0.4s ease, transform 0.4s ease;
    pointer-events: none;
}
.shop-topbar-msg.is-active { opacity: 1; transform: none; position: relative; inset: auto; }

.shop-commerce-main {
    background: var(--shop-surface);
    border-bottom: 1px solid var(--shop-line);
}
.shop-commerce-main-inner {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 13px 0;
}
.shop-search--wide {
    flex: 1 1 auto;
    max-width: 640px;
    margin-inline: auto;
}
.shop-search--wide input {
    width: 100%;
    height: 44px;
    border-radius: 999px;
    padding-left: 18px;
    background: var(--shop-surface-2);
}
.shop-search--wide button { height: 44px; width: 46px; }

.shop-commerce-nav {
    background: var(--shop-surface);
    border-bottom: 1px solid var(--shop-line);
    position: relative;
    z-index: 60;
}
.shop-commerce-nav-inner {
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 6px 0;
    /* PAS d'overflow ici : il clipperait les panneaux déroulants.
       Le défilement horizontal n'existe que sur petit écran (media query). */
}
@media (max-width: 900px) {
    .shop-commerce-nav-inner {
        overflow-x: auto;
        scrollbar-width: none;
    }
    .shop-commerce-nav-inner::-webkit-scrollbar { display: none; }
}
.shop-commerce-cats-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border: 0;
    cursor: pointer;
    font-family: inherit;
    font-size: 0.87rem;
    font-weight: 700;
    color: #fff;
    background: var(--shop-accent);
    border-radius: 999px;
    padding: 10px 16px;
    white-space: nowrap;
}
.shop-commerce-cats-btn svg:first-child { width: 15px; height: 15px; }
.shop-mega-panel--list { min-width: 420px; max-width: min(760px, 92vw); }
.shop-mega-cols--tree {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 6px 22px;
    max-height: 380px;
    overflow-y: auto;
}
.shop-mega-tree-group { min-width: 170px; padding: 4px 0; }
.shop-mega-panel--cards { min-width: 300px; }
.shop-commerce-track { margin-left: auto; }

@media (max-width: 900px) {
    .shop-commerce-main-inner { flex-wrap: wrap; gap: 10px 14px; }
    .shop-hdr-brand--lg { font-size: 1.08rem; }
    .shop-search--wide { order: 3; flex-basis: 100%; max-width: none; }
    .shop-commerce-main .shop-subnav-actions { margin-left: auto; }
    .shop-commerce-track { margin-left: 0; }
    /* Au doigt, les panneaux au survol deviennent inutilisables :
       le JS les bascule au toucher (classe .is-open). */
    .shop-mega-item > .shop-mega-panel { display: none; }
    /* Feuille basse : le panneau se pose au-dessus du pouce, jamais
       derrière l'entête, jamais coupé. */
    .shop-mega-item.is-open > .shop-mega-panel {
        display: block;
        position: fixed;
        left: 12px; right: 12px;
        top: auto;
        bottom: 14px;
        transform: none;
        opacity: 1;
        visibility: visible;
        max-height: min(62vh, 480px);
        overflow-y: auto;
        min-width: 0;
        z-index: 130;
        box-shadow: 0 -10px 60px rgba(20, 16, 28, 0.35), var(--shop-sh-lg);
    }
    .shop-mega-prods--row .shop-mini-card { width: 100%; }
}

/* Les jeux d'options de livraison inactifs doivent VRAIMENT disparaître :
   display:flex plus haut écraserait l'attribut hidden sans cette règle. */
.ct-ship-options[hidden] { display: none; }
