/* =========================================================================
   La Maison de Diana — Design System
   Boutique de cosmétiques et parfum
   =========================================================================
   3 breakpoints :
     Mobile  < 768px   → App-like (Uber Eats / Jumia)
     Tablet  768-991px → Transition fluide
     Desktop ≥ 992px   → Premium e-commerce (Sephora / Zara)
   ========================================================================= */

/* ── Design Tokens ──────────────────────────────────────────────────── */
:root {
  --violet: #5b1e9b;
  --violet-600: #6d28b8;
  --violet-700: #46157a;
  --violet-300: #c3a3ec;
  --violet-100: #ede3fa;
  --violet-050: #f6f1fd;
  --gold: #c8963e;
  --gold-light: #f5e6cc;
  --surface: #ffffff;
  --bg: #f8f7fc;
  --ink: #1a1028;
  --muted: #6b657a;
  --line: #e8e5ef;
  --wa: #25d366;
  --wa-700: #128c4b;
  --danger: #e0455e;
  --success: #0e9f8f;
  --r-sm: 10px;
  --r: 14px;
  --r-lg: 20px;
  --r-xl: 28px;
  --sh-sm: 0 1px 8px rgba(0,0,0,.05);
  --sh: 0 2px 16px rgba(0,0,0,.07);
  --sh-lg: 0 8px 30px rgba(0,0,0,.12);
  --sh-xl: 0 16px 48px rgba(0,0,0,.16);
  --nav-h: 60px;
  --top-h: 56px;
  --sheet-h: 85vh;
  --maxw: 1200px;
  --font: "Inter", "Segoe UI", system-ui, -apple-system, Roboto, Arial, sans-serif;
  --transition: .2s cubic-bezier(.4,0,.2,1);
}

/* ── Reset ──────────────────────────────────────────────────────────── */
*,*::before,*::after{box-sizing:border-box}
/* Titre/texte réservé aux lecteurs d'écran et aux moteurs de recherche
   (présent dans le code, invisible à l'écran) — utile pour le SEO (H1). */
.sr-only{position:absolute!important;width:1px;height:1px;padding:0;margin:-1px;
  overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
html{-webkit-text-size-adjust:100%;scroll-behavior:smooth}
body{
  margin:0;font-family:var(--font);color:var(--ink);background:var(--bg);
  line-height:1.5;-webkit-font-smoothing:antialiased;
  padding-bottom:calc(var(--nav-h) + env(safe-area-inset-bottom));
  overflow-x:clip; /* empêche tout débordement horizontal (cartes coupées) */
}
/* Quand la barre flottante « Voir le panier » est visible, on réserve l'espace
   en bas pour que le pied de page ne soit jamais recouvert. */
body.has-cart-bar{padding-bottom:calc(var(--nav-h) + 92px + env(safe-area-inset-bottom))}
img{max-width:100%;display:block}
a{color:inherit;text-decoration:none}
h1,h2,h3,h4{margin:0;line-height:1.2}
button{font-family:inherit;cursor:pointer;border:none}
svg{width:24px;height:24px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
p{margin:.4em 0}
.container{max-width:var(--maxw);margin:0 auto;padding:0 16px}
.page{max-width:var(--maxw);margin:0 auto;padding:12px 12px 0}
.muted{color:var(--muted)}
.center{text-align:center}

/* =========================================================================
   ANIMATIONS AU SCROLL (façon Apple) — révélation en fondu + légère montée.
   Actives uniquement si JS a ajouté .reveal-on-scroll sur <body>, et jamais
   si l'utilisateur a demandé à réduire les animations (accessibilité).
   ========================================================================= */
@media (prefers-reduced-motion: no-preference){
  .reveal-on-scroll .reveal{
    opacity:0;transform:translateY(28px);
    transition:opacity .8s cubic-bezier(.16,1,.3,1), transform .8s cubic-bezier(.16,1,.3,1);
    will-change:opacity,transform;
  }
  .reveal-on-scroll .reveal.is-visible{opacity:1;transform:none}
}

/* ── Buttons ────────────────────────────────────────────────────────── */
.btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;
  border-radius:999px;padding:12px 22px;font-weight:700;font-size:.95rem;
  transition:filter var(--transition),transform .1s ease}
.btn:active{transform:scale(.97)}
.btn-primary{background:linear-gradient(135deg,var(--violet-600),var(--violet-700));color:#fff;box-shadow:0 6px 18px rgba(91,30,155,.25)}
.btn-primary:hover{filter:brightness(1.08)}
.btn-wa{background:var(--wa);color:#fff;box-shadow:0 6px 18px rgba(37,211,102,.3)}
.btn-wa:hover{filter:brightness(1.06)}
.btn-outline{background:var(--surface);color:var(--violet-700);border:1.5px solid var(--violet-300)}
.btn-outline:hover{background:var(--violet-050)}
.btn-block{display:flex;width:100%}
.btn-lg{padding:15px 28px;font-size:1.05rem}
.btn svg{width:20px;height:20px}

/* ── Section Headings ───────────────────────────────────────────────── */
.section{margin:28px 0}
.section-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:14px}
.section-head h2{font-size:1.1rem;margin:0}
.section-head a{color:var(--violet-700);font-weight:700;font-size:.9rem}
.section-head-center{text-align:center;margin:40px 0 24px;padding:0 8px}
.eyebrow{display:inline-flex;align-items:center;gap:10px;color:var(--violet-600);font-weight:800;
  font-size:.72rem;letter-spacing:.14em;text-transform:uppercase}
.eyebrow::before,.eyebrow::after{content:"";width:22px;height:2px;border-radius:2px;background:currentColor;opacity:.4}
.head-divider{display:block;width:50px;height:3px;margin:14px auto 0;border-radius:99px;
  background:linear-gradient(90deg,var(--violet-600),var(--gold))}
.section-intro{color:var(--muted);font-size:.92rem;max-width:50ch;margin:12px auto 0}

/* =========================================================================
   HEADER — Mobile (<768px) : compact, hamburger menu
   ========================================================================= */
.topbar{position:sticky;top:0;z-index:40;background:rgba(255,255,255,.94);
  backdrop-filter:saturate(1.4) blur(10px);border-bottom:1px solid var(--line)}
.topbar-inner{display:flex;flex-wrap:wrap;align-items:center;gap:8px;min-height:var(--top-h);
  max-width:var(--maxw);margin:0 auto;padding:6px 12px}
.brand{display:flex;align-items:center;gap:8px;min-width:0;margin-right:auto}
.brand-logo{width:38px;height:38px;border-radius:10px;object-fit:cover;box-shadow:0 2px 8px rgba(0,0,0,.1)}
.brand-name{font-weight:800;font-size:.95rem;color:var(--violet-700);
  white-space:nowrap;overflow:hidden;text-overflow:ellipsis}

/* Hamburger toggle */
.menu-toggle{width:38px;height:38px;border-radius:10px;background:transparent;
  color:var(--ink);display:grid;place-items:center;flex:0 0 auto}
.menu-toggle svg{width:22px;height:22px}

/* Top nav (hidden on mobile) */
.top-nav{display:none;gap:2px}
.top-nav a{padding:8px 16px;border-radius:999px;font-weight:600;font-size:.88rem;color:var(--muted)}
.top-nav a:hover{background:var(--violet-050);color:var(--violet-700)}
.top-nav a.active{background:var(--violet-100);color:var(--violet-700)}

/* Search bar : 2nd row on mobile */
.searchbar{order:10;flex:1 1 100%;display:flex;align-items:center;gap:8px;padding:4px 0}
.searchbar svg{color:var(--muted);width:20px;height:20px;flex:0 0 auto}
.searchbar input{flex:1;border:1px solid var(--line);background:var(--surface);border-radius:10px;
  padding:10px 14px;font-size:.92rem;outline:none}
.searchbar input:focus{border-color:var(--violet-300);box-shadow:0 0 0 3px var(--violet-050)}

/* Cart icon */
.icon-btn{position:relative;width:38px;height:38px;border-radius:10px;
  background:transparent;color:var(--ink);display:grid;place-items:center}
.icon-btn:hover{background:var(--violet-050);color:var(--violet-700)}
.cart-badge{position:absolute;top:2px;right:2px;min-width:18px;height:18px;padding:0 4px;
  background:var(--violet);color:#fff;font-size:.65rem;font-weight:700;border-radius:999px;
  display:flex;align-items:center;justify-content:center;line-height:1}
/* Masqué quand le panier est vide (sinon display:flex écrase l'attribut hidden) */
.cart-badge[hidden]{display:none}

/* =========================================================================
   CATEGORY CHIPS — horizontal scroll
   ========================================================================= */
.chips{display:flex;gap:8px;overflow-x:auto;padding:8px 0 4px;scroll-snap-type:x mandatory;
  -webkit-overflow-scrolling:touch;scrollbar-width:none}
.chips::-webkit-scrollbar{display:none}
.chip{flex:0 0 auto;scroll-snap-align:start;padding:8px 16px;border-radius:999px;
  background:var(--surface);border:1px solid var(--line);font-weight:600;
  font-size:.84rem;color:var(--muted);white-space:nowrap;transition:all var(--transition)}
.chip.active,.chip:hover{background:var(--violet);border-color:var(--violet);color:#fff}

/* =========================================================================
   PRODUCT CARDS — Mobile : horizontal list (app-like)
   ========================================================================= */
.product-grid{display:flex;flex-direction:column;gap:10px}
.product-card{position:relative;background:var(--surface);border-radius:var(--r);
  box-shadow:var(--sh-sm);display:flex;align-items:stretch;gap:10px;
  padding:10px;transition:transform var(--transition),box-shadow var(--transition)}
.product-card:active{transform:scale(.99)}

/* Image : 128x128 (bien visible sur mobile, comme la maquette) */
.pc-img-wrap{position:relative;width:128px;height:128px;flex:0 0 auto;
  border-radius:var(--r-sm);overflow:hidden;background:#faf8fd}
.pc-img-wrap img{width:100%;height:100%;object-fit:contain;padding:4px}
.product-media{display:block;width:100%;height:100%}

/* Badges */
.card-badges{position:absolute;top:4px;left:4px;z-index:2;display:flex;flex-direction:column;gap:4px}
.promo-badge{background:var(--danger);color:#fff;font-weight:800;font-size:.66rem;
  padding:2px 7px;border-radius:999px;line-height:1.4}
.badge-new{background:var(--success);color:#fff;font-weight:800;font-size:.66rem;
  padding:2px 7px;border-radius:999px;line-height:1.4}
.badge-fav{background:#d6357e;color:#fff;font-weight:800;font-size:.66rem;
  padding:2px 7px;border-radius:999px;line-height:1.4}

/* Product body (text) */
.product-body{flex:1;min-width:0;display:flex;flex-direction:column;gap:3px}
.product-cat{font-size:.64rem;font-weight:700;color:var(--violet-600);
  text-transform:uppercase;letter-spacing:.04em}
.product-title{font-size:.88rem;font-weight:700;line-height:1.25;color:var(--ink);
  display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.pc-desc{font-size:.76rem;color:var(--muted);line-height:1.35;
  display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;margin:0}
.price-wrap{display:flex;align-items:center;gap:8px;margin-top:auto}
.price{font-weight:800;font-size:1rem;color:var(--ink)}
.old-price{font-size:.78rem;color:var(--muted);text-decoration:line-through;font-weight:600}

/* Add button : round + */
.add-cart-btn{width:32px;height:32px;border-radius:50%;padding:0;
  display:grid;place-items:center;background:var(--violet);color:#fff;
  font-size:1.2rem;font-weight:700;line-height:1;
  box-shadow:0 2px 8px rgba(91,30,155,.25);
  flex:0 0 auto;margin-left:auto;align-self:flex-end;
  transition:transform .1s ease, filter var(--transition)}
.add-cart-btn:hover{filter:brightness(1.1)}
.add-cart-btn:active{transform:scale(.88)}

/* Favorite heart */
.fav{position:absolute;top:6px;right:6px;z-index:3;width:28px;height:28px;
  border-radius:50%;background:rgba(255,255,255,.9);color:var(--muted);
  display:grid;place-items:center;box-shadow:0 1px 4px rgba(0,0,0,.08)}
.fav svg{width:13px;height:13px}
.fav.active{color:var(--danger)}
.fav.active svg{fill:var(--danger)}

/* =========================================================================
   CART — Floating bar (mobile)
   ========================================================================= */
.cart-bar{position:fixed;left:12px;right:12px;bottom:calc(var(--nav-h) + 12px + env(safe-area-inset-bottom));
  z-index:45;background:var(--violet-700);color:#fff;border-radius:var(--r);
  padding:14px 18px;display:flex;align-items:center;justify-content:space-between;
  box-shadow:0 6px 24px rgba(30,20,48,.35);cursor:pointer;transition:transform var(--transition)}
.cart-bar:active{transform:scale(.98)}
.cart-bar-info{display:flex;align-items:center;gap:10px;font-weight:700;font-size:.92rem}
.cart-bar-info strong{font-size:1.05rem}
.cart-bar-badge{background:rgba(255,255,255,.2);min-width:24px;height:24px;
  border-radius:999px;display:grid;place-items:center;font-size:.76rem;font-weight:800}
.cart-bar-total{text-align:right}

/* =========================================================================
   BOTTOM SHEET — Cart (mobile)
   ========================================================================= */
.sheet-overlay{position:fixed;inset:0;z-index:90;background:rgba(0,0,0,.4);
  opacity:0;pointer-events:none;transition:opacity .25s ease}
.sheet-overlay.open{opacity:1;pointer-events:auto}
.sheet-panel{position:fixed;left:0;right:0;bottom:0;z-index:91;max-height:var(--sheet-h);
  background:var(--surface);border-radius:var(--r-lg) var(--r-lg) 0 0;
  box-shadow:0 -8px 30px rgba(0,0,0,.18);transform:translateY(100%);
  transition:transform .3s cubic-bezier(.4,0,0,1);overflow:auto}
.sheet-panel.open{transform:translateY(0)}
.sheet-handle{width:36px;height:4px;border-radius:2px;background:var(--line);
  margin:12px auto 8px}
.sheet-header{display:flex;align-items:center;justify-content:space-between;
  padding:6px 18px 12px;border-bottom:1px solid var(--line)}
.sheet-header h3{font-size:1.05rem;display:flex;align-items:center;gap:8px}
.sheet-close{width:32px;height:32px;border-radius:50%;background:var(--violet-050);
  color:var(--violet-700);display:grid;place-items:center}
.sheet-body{padding:12px 18px 120px}

/* Sheet cart items */
.sheet-item{display:flex;gap:10px;padding:10px 0;border-bottom:1px solid var(--line)}
.sheet-item img{width:48px;height:48px;border-radius:8px;object-fit:contain;background:#faf8fd}
.sheet-item-body{flex:1;min-width:0}
.sheet-item-name{font-weight:700;font-size:.86rem;line-height:1.2}
.sheet-item-price{font-weight:800;font-size:.9rem;color:var(--violet-700);margin-top:2px}
.sheet-item-qty{display:inline-flex;align-items:center;gap:1px;border:1px solid var(--line);
  border-radius:8px;overflow:hidden;margin-top:4px}
.sheet-item-qty button{width:28px;height:28px;display:grid;place-items:center;
  background:var(--violet-050);color:var(--violet-700);font-size:1rem}
.sheet-item-qty input{width:32px;border:none;text-align:center;font-weight:700;font-size:.85rem;outline:none}
.sheet-item-remove{width:32px;height:32px;border-radius:8px;display:grid;place-items:center;
  color:var(--muted);align-self:center}
.sheet-item-remove:hover{color:var(--danger);background:#fde8ec}

/* Sheet footer (checkout form) */
.sheet-footer{position:sticky;bottom:0;background:var(--surface);border-top:1px solid var(--line);
  padding:14px 18px;box-shadow:0 -4px 12px rgba(0,0,0,.06)}
.sheet-total{display:flex;justify-content:space-between;align-items:center;
  font-weight:800;font-size:1.1rem;margin-bottom:10px}
.sheet-form{display:flex;flex-direction:column;gap:8px;margin-bottom:12px}
.sheet-form input,.sheet-form select{width:100%;border:1px solid var(--line);border-radius:10px;
  padding:10px 12px;font-size:.88rem;font-family:inherit;outline:none;
  background:var(--bg)}
.sheet-form input:focus,.sheet-form select:focus{border-color:var(--violet-300)}
.sheet-empty{text-align:center;padding:40px 20px;color:var(--muted)}

/* =========================================================================
   DRAWER — Cart (desktop)
   ========================================================================= */
.drawer-overlay{position:fixed;inset:0;z-index:90;background:rgba(0,0,0,.35);
  opacity:0;pointer-events:none;transition:opacity .25s ease}
.drawer-overlay.open{opacity:1;pointer-events:auto}
.drawer-panel{position:fixed;top:0;right:0;bottom:0;z-index:91;width:100%;max-width:420px;
  background:var(--surface);box-shadow:-8px 0 30px rgba(0,0,0,.15);
  transform:translateX(100%);transition:transform .3s cubic-bezier(.4,0,0,1);
  display:flex;flex-direction:column;overflow:hidden}
.drawer-panel.open{transform:translateX(0)}
.drawer-header{display:flex;align-items:center;justify-content:space-between;
  padding:16px 20px;border-bottom:1px solid var(--line);flex:0 0 auto}
.drawer-header h3{font-size:1.1rem;display:flex;align-items:center;gap:8px}
.drawer-close{width:32px;height:32px;border-radius:50%;background:var(--violet-050);
  color:var(--violet-700);display:grid;place-items:center}
.drawer-body{flex:1;overflow-y:auto;padding:12px 20px}
.drawer-footer{flex:0 0 auto;padding:14px 20px;border-top:1px solid var(--line)}
.drawer-footer .sheet-total{margin-bottom:10px}
.drawer-footer .sheet-form{margin-bottom:12px}

/* =========================================================================
   HERO — Banner (desktop)
   ========================================================================= */
.hero{position:relative;border-radius:var(--r-lg);padding:28px 20px;color:#fff;
  overflow:hidden;background:linear-gradient(135deg,var(--violet-700) 0%,var(--violet-600) 50%,#9d5be0 100%)}
.hero::after{content:"";position:absolute;right:-30px;top:-30px;width:180px;height:180px;
  background:radial-gradient(circle,rgba(255,255,255,.18),transparent 70%);border-radius:50%}
.hero h1{font-size:1.5rem;position:relative;max-width:18ch}
.hero p{margin:.4em 0 1em;position:relative;opacity:.9;font-size:.92rem}
.hero .btn{position:relative}
.hero-center{text-align:center}
.hero-center h1{margin:0 auto}
.hero-center p{max-width:52ch;margin-left:auto;margin-right:auto}

/* =========================================================================
   HERO SLIDER (desktop accueil)
   ========================================================================= */
.hero-slider{position:relative;border-radius:var(--r-lg);overflow:hidden;
  box-shadow:var(--sh-lg)}
.hero-slider img{width:100%;height:400px;object-fit:cover}
.hero-slider-content{position:absolute;bottom:0;left:0;right:0;
  background:linear-gradient(to top,rgba(0,0,0,.7),transparent);
  padding:40px 24px 28px;color:#fff}
.hero-slider-content h2{font-size:2rem;margin-bottom:6px}
.hero-slider-content p{opacity:.9;margin-bottom:14px;max-width:40ch}

/* =========================================================================
   CAROUSEL — Banners (mobile)
   ========================================================================= */
.carousel{position:relative;margin:0 -12px 16px;border-radius:0;overflow:hidden}
.carousel-track{display:flex;overflow-x:auto;scroll-snap-type:x mandatory;
  scroll-behavior:smooth;-webkit-overflow-scrolling:touch;scrollbar-width:none}
.carousel-track::-webkit-scrollbar{display:none}
.slide{flex:0 0 100%;min-width:100%;scroll-snap-align:start;position:relative;
  line-height:0;aspect-ratio:2.25/1;background:#f2eefa;overflow:hidden}
.slide-link{display:block;height:100%}
.slide img{display:block;width:100%;height:100%;object-fit:cover}
.carousel-dots{position:absolute;bottom:10px;left:0;right:0;display:flex;
  justify-content:center;gap:6px;z-index:3}
.carousel-dots .dot{width:7px;height:7px;padding:0;border:none;border-radius:50%;
  background:rgba(255,255,255,.5);cursor:pointer;transition:width .2s,background .2s}
.carousel-dots .dot.active{width:20px;border-radius:99px;background:#fff}
.carousel-arrow{position:absolute;top:50%;transform:translateY(-50%);
  width:40px;height:40px;border:none;border-radius:50%;
  background:rgba(0,0,0,.35);color:#fff;display:none;place-items:center;z-index:3;
  backdrop-filter:blur(4px);transition:background var(--transition)}
.carousel-arrow:hover{background:rgba(0,0,0,.55)}
/* Positionnement : précédent à GAUCHE, suivant à DROITE (sinon ils se superposent) */
.carousel-arrow.prev{left:14px}
.carousel-arrow.next{right:14px}

/* =========================================================================
   CATEGORY CARDS (accueil desktop)
   ========================================================================= */
/* Cartes catégories — image plein cadre + nom superposé (style haut de gamme) */
.cat-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:10px}
.cat-card{position:relative;display:block;aspect-ratio:1/1;max-width:240px;margin:0 auto;
  width:100%;border-radius:var(--r);
  overflow:hidden;box-shadow:var(--sh-sm);background:var(--violet-050);
  transition:transform var(--transition),box-shadow var(--transition)}
.cat-card:hover{transform:translateY(-4px);box-shadow:var(--sh-lg)}
.cat-card .cat-img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;
  transition:transform .55s cubic-bezier(.2,.8,.2,1)}
.cat-card:hover .cat-img{transform:scale(1.07)}
.cat-img--empty{display:grid;place-items:center;color:var(--violet-700);
  background:linear-gradient(135deg,var(--violet-100),var(--violet-050))}
/* Dégradé sombre en bas pour la lisibilité du nom */
.cat-card::after{content:"";position:absolute;inset:0;pointer-events:none;
  background:linear-gradient(to top,rgba(20,12,32,.78) 0%,rgba(20,12,32,.35) 32%,rgba(20,12,32,0) 62%)}
.cat-name{position:absolute;left:0;right:0;bottom:0;z-index:2;padding:12px 10px;
  color:#fff;font-weight:700;font-size:.9rem;line-height:1.2;text-align:center;
  text-shadow:0 1px 6px rgba(0,0,0,.4)}

/* =========================================================================
   CTA BAND
   ========================================================================= */
.cta-band{background:linear-gradient(135deg,var(--violet-700),var(--violet-600) 60%,#9d5be0);
  color:#fff;border-radius:var(--r);padding:22px 20px;display:flex;
  flex-direction:column;gap:14px;box-shadow:var(--sh-lg)}
.cta-band h2{margin:0;font-size:1.2rem}
.cta-band p{margin:2px 0 0;opacity:.9}
.cta-actions{display:flex;flex-wrap:wrap;gap:10px}
.cta-band .btn-outline{background:rgba(255,255,255,.12);color:#fff;border-color:rgba(255,255,255,.6)}
.cta-band .btn-outline:hover{background:rgba(255,255,255,.2)}

/* =========================================================================
   PRODUCT DETAIL PAGE
   ========================================================================= */
.product-detail{background:var(--surface);border-radius:var(--r);padding:14px;box-shadow:var(--sh)}
.pd-gallery{display:flex;flex-direction:column;gap:10px}
.pd-media{position:relative;aspect-ratio:1;background:#faf8fd;border-radius:var(--r-sm);
  display:grid;place-items:center;overflow:hidden}
.pd-media img{width:100%;height:100%;object-fit:contain;padding:16px}
/* Badge de réduction calé dans le coin haut-gauche de l'image (au lieu d'être
   centré dans la grille et coupé par le bord). */
.pd-media .promo-badge{position:absolute;top:12px;left:12px;z-index:2}
.promo-badge.lg{font-size:.82rem;padding:5px 11px;box-shadow:0 4px 12px rgba(0,0,0,.18)}
.pd-meta{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin-bottom:4px}
.pd-cat{color:var(--violet-600);font-weight:700;text-transform:uppercase;font-size:.72rem;letter-spacing:.04em}
.pd-title{font-size:1.3rem;margin:.1em 0}
.pd-brand{color:var(--muted);font-weight:600;font-size:.9rem;margin:0 0 .4em}
.pd-desc{color:var(--muted);font-size:.88rem;margin:.4em 0 1em}
.pd-ref{color:var(--muted);font-size:.82rem;margin:.2em 0 .4em}
.pd-price-block{display:flex;align-items:center;gap:10px;flex-wrap:wrap;
  background:var(--violet-050);border-radius:var(--r-sm);padding:12px 14px}
.pd-price{font-size:1.5rem;font-weight:800;color:var(--violet-700);margin:0}
.pd-promo-tag{background:var(--gold);color:#3a2a02;font-weight:800;font-size:.7rem;
  padding:4px 8px;border-radius:999px;text-transform:uppercase}
.pd-old{color:var(--muted);text-decoration:line-through;font-weight:600}
.pd-stock{margin-left:auto;font-weight:700;font-size:.82rem}
.pd-stock.in{color:var(--wa-700)}
.pd-stock.out{color:var(--danger)}
.pd-option{display:flex;align-items:center;gap:10px;margin:.4em 0}
.pd-option-lbl{font-weight:600;font-size:.84rem;color:var(--muted)}
.pd-option-val{display:inline-flex;align-items:center;justify-content:center;
  padding:6px 12px;border:1.5px solid var(--violet-300);border-radius:var(--r-sm);
  font-weight:700;color:var(--violet-700);font-size:.9rem}
.qty{display:inline-flex;align-items:center;gap:2px;border:1px solid var(--line);
  border-radius:999px;padding:3px;background:var(--surface)}
.qty button{width:34px;height:34px;border-radius:50%;background:var(--violet-050);color:var(--violet-700);
  font-size:1.2rem;display:grid;place-items:center}
.qty input{width:40px;border:none;text-align:center;font-size:1rem;font-weight:700;
  background:transparent;outline:none}
.pd-actions{display:flex;gap:10px;flex-wrap:wrap;margin-top:12px}
.pd-row{display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin:8px 0}
.pd-thumbs{display:flex;gap:8px;overflow-x:auto;scrollbar-width:none}
.pd-thumbs::-webkit-scrollbar{display:none}
.pd-thumb{flex:0 0 auto;width:56px;height:56px;padding:3px;border:2px solid var(--line);
  border-radius:10px;background:var(--surface);cursor:pointer;overflow:hidden}
.pd-thumb img{width:100%;height:100%;object-fit:contain}
.pd-thumb.active{border-color:var(--violet)}
.badge-livr{display:inline-flex;align-items:center;gap:5px;
  background:#e4f7ec;color:var(--wa-700);font-weight:700;font-size:.76rem;
  padding:4px 10px;border-radius:999px}
.badge-livr svg{width:14px;height:14px}
.note{background:var(--violet-050);border:1px solid var(--violet-100);
  border-radius:var(--r-sm);padding:10px 12px;color:var(--violet-700);
  font-size:.85rem;display:flex;gap:8px;align-items:flex-start}
.note svg{width:18px;height:18px;flex:0 0 auto;margin-top:2px}

/* =========================================================================
   CART PAGE (standalone)
   ========================================================================= */
.cart-list{display:flex;flex-direction:column;gap:10px}
.cart-item{display:flex;gap:10px;background:var(--surface);border-radius:var(--r-sm);
  padding:10px;box-shadow:var(--sh-sm)}
.cart-item img{width:60px;height:60px;border-radius:8px;object-fit:contain;background:#faf8fd}
.cart-item .ci-body{flex:1;min-width:0;display:flex;flex-direction:column;gap:4px}
.cart-item .ci-title{font-weight:600;font-size:.85rem}
.cart-item .ci-foot{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-top:auto}
.qty.sm button{width:26px;height:26px;font-size:1rem}
.qty.sm input{width:30px;font-size:.85rem}
.ci-remove{background:transparent;color:var(--muted);display:grid;place-items:center;padding:4px}
.ci-remove:hover{color:var(--danger)}
.cart-summary{background:var(--surface);border-radius:var(--r-sm);padding:14px;box-shadow:var(--sh);margin-top:14px}
.sum-row{display:flex;justify-content:space-between;padding:5px 0}
.sum-row.total{border-top:1px dashed var(--line);margin-top:6px;padding-top:10px;font-size:1.1rem;font-weight:800}
.empty{text-align:center;padding:50px 20px;color:var(--muted)}
.empty svg{width:48px;height:48px;color:var(--violet-300);margin-bottom:10px}

/* =========================================================================
   CONTACT PAGE
   ========================================================================= */
.contact-grid{display:grid;gap:10px}
.contact-card{background:var(--surface);border-radius:var(--r);padding:16px;
  box-shadow:var(--sh-sm);display:flex;align-items:center;gap:12px}
.contact-card.wa-card{background:linear-gradient(135deg,#e4f7ec,#f0faf4)}
.contact-ico{width:44px;height:44px;flex:0 0 auto;border-radius:12px;display:grid;place-items:center}
.contact-ico svg{width:22px;height:22px}
.contact-card h3{font-size:.95rem;margin:0 0 1px}
.contact-card .muted{font-size:.8rem;margin:0}
.contact-card strong{font-size:.9rem}
.contact-arrow{margin-left:auto;width:18px;height:18px;color:var(--muted)}
.social-links{display:flex;flex-wrap:wrap;gap:8px;margin-top:6px}
.social-link{display:inline-flex;align-items:center;gap:5px;padding:7px 12px;
  border-radius:8px;background:var(--violet-050);color:var(--violet-700);
  font-weight:600;font-size:.82rem;transition:background var(--transition)}
.social-link:hover{background:var(--violet-100)}
.social-link svg{width:16px;height:16px}

/* =========================================================================
   FAQ SECTION (accueil desktop)
   ========================================================================= */
.faq-list{display:flex;flex-direction:column;gap:8px}
.faq-item{border:1px solid var(--line);border-radius:var(--r-sm);overflow:hidden}
.faq-item summary{padding:14px 16px;font-weight:700;font-size:.9rem;cursor:pointer;
  list-style:none;display:flex;align-items:center;justify-content:space-between;
  background:var(--surface);color:var(--ink)}
.faq-item summary::after{content:"+";font-size:1.3rem;font-weight:400;color:var(--violet-600);transition:transform var(--transition)}
.faq-item[open] summary::after{content:"−"}
.faq-item p{padding:0 16px 14px;margin:0;color:var(--muted);font-size:.85rem}

/* =========================================================================
   REVIEWS (desktop)
   ========================================================================= */
.reviews-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:12px}
.review-card{background:var(--surface);border-radius:var(--r);padding:16px;box-shadow:var(--sh-sm)}
.review-stars{color:var(--gold);font-size:1rem;margin-bottom:4px}
.review-text{font-size:.88rem;color:var(--muted);font-style:italic;margin:6px 0}
.review-author{font-weight:700;font-size:.82rem;color:var(--ink)}

/* =========================================================================
   FOOTER
   ========================================================================= */
.site-footer{position:relative;background:var(--surface);border-top:1px solid var(--line);
  margin-top:40px;padding:40px 16px 26px}
/* Petit accent dégradé centré en haut du pied de page */
.site-footer::before{content:"";position:absolute;top:-1px;left:50%;transform:translateX(-50%);
  width:120px;height:3px;border-radius:0 0 4px 4px;background:linear-gradient(90deg,var(--violet-600),var(--gold))}
.footer-inner{max-width:var(--maxw);margin:0 auto;display:flex;flex-direction:column;
  align-items:center;gap:24px;text-align:center}
.footer-col{display:flex;flex-direction:column;align-items:center;gap:3px}
.footer-col h4{color:var(--violet-700);font-size:.92rem;font-weight:800;
  letter-spacing:.03em;text-transform:uppercase;margin-bottom:8px;position:relative}
/* Petit soulignement dégradé sous chaque titre */
.footer-col h4::after{content:"";display:block;width:26px;height:2px;margin:7px auto 0;
  border-radius:2px;background:linear-gradient(90deg,var(--violet-600),var(--gold));opacity:.75}
/* Le nom de la boutique (1ère colonne) est mis en avant */
.footer-col:first-child h4{font-size:1.2rem;letter-spacing:.02em}
.footer-col p{margin:.12em 0;color:var(--muted);font-size:.84rem}
.footer-wa{display:inline-flex;align-items:center;gap:6px;color:var(--wa-700);
  font-weight:700;font-size:.9rem}
.footer-wa svg{width:18px;height:18px;fill:var(--wa-700);stroke:none}
.footer-socials{display:flex;justify-content:center;gap:12px}
.footer-socials a{display:grid;place-items:center;width:38px;height:38px;border-radius:50%;
  background:var(--violet-050);color:var(--violet-700);transition:all var(--transition)}
.footer-socials a:hover{background:var(--violet);color:#fff;transform:translateY(-2px)}
.footer-copy{text-align:center;color:var(--muted);font-size:.78rem;margin:24px auto 0;
  padding-top:18px;border-top:1px solid var(--line);max-width:520px;width:100%}

/* =========================================================================
   BOTTOM NAV (mobile)
   ========================================================================= */
.bottom-nav{position:fixed;left:0;right:0;bottom:0;z-index:50;
  height:calc(var(--nav-h) + env(safe-area-inset-bottom));
  padding-bottom:env(safe-area-inset-bottom);
  background:rgba(255,255,255,.96);backdrop-filter:blur(10px);
  border-top:1px solid var(--line);display:flex}
.bottom-nav a{position:relative;flex:1;display:flex;flex-direction:column;align-items:center;
  justify-content:center;gap:3px;color:var(--muted);font-size:.64rem;font-weight:600;
  letter-spacing:.01em;transition:color .2s ease}
.bottom-nav a svg{width:23px;height:23px;stroke-width:1.7;
  transition:transform .2s ease,stroke-width .2s ease}
/* Onglet actif : contenu blanc posé sur une pastille violet plein (premium). */
.bottom-nav a.active{color:#fff}
.bottom-nav a.active svg{stroke-width:1.9}
.bottom-nav a.active svg,.bottom-nav a.active span{position:relative;z-index:1}
.bottom-nav a.active::before{content:"";position:absolute;top:7px;bottom:7px;left:10px;right:10px;
  border-radius:16px;background:var(--violet);box-shadow:0 6px 16px rgba(91,30,155,.32)}
/* Badge collé en haut à droite de l'icône Panier (au-dessus de la pastille) */
.bottom-nav .cart-badge{top:5px;right:calc(50% - 22px);z-index:2}

/* =========================================================================
   MOBILE MENU (hamburger)
   ========================================================================= */
.mobile-menu-overlay{position:fixed;inset:0;z-index:80;background:rgba(0,0,0,.4);
  opacity:0;pointer-events:none;transition:opacity .25s ease}
.mobile-menu-overlay.open{opacity:1;pointer-events:auto}
.mobile-menu{position:fixed;top:0;left:0;bottom:0;z-index:81;width:280px;
  background:var(--surface);box-shadow:4px 0 24px rgba(0,0,0,.15);
  transform:translateX(-100%);transition:transform .3s cubic-bezier(.4,0,0,1);
  display:flex;flex-direction:column;overflow-y:auto}
.mobile-menu.open{transform:translateX(0)}
.mobile-menu .menu-header{display:flex;align-items:center;gap:10px;
  padding:18px;border-bottom:1px solid var(--line)}
.mobile-menu .menu-header img{width:40px;height:40px;border-radius:10px}
.mobile-menu .menu-header b{font-size:.95rem;color:var(--violet-700)}
.mobile-menu nav{display:flex;flex-direction:column;padding:10px;gap:2px}
.mobile-menu nav a{display:flex;align-items:center;gap:10px;padding:14px 16px;
  border-radius:var(--r-sm);font-weight:600;font-size:.92rem;color:var(--ink)}
.mobile-menu nav a:hover{background:var(--violet-050)}
.mobile-menu nav a.active{background:var(--violet-100);color:var(--violet-700)}
.mobile-menu nav a svg{width:20px;height:20px}

/* =========================================================================
   TOAST
   ========================================================================= */
#ums-toast{position:fixed;left:50%;bottom:calc(var(--nav-h) + 80px);
  transform:translateX(-50%);background:var(--ink);color:#fff;
  padding:10px 20px;border-radius:999px;font-weight:600;font-size:.85rem;
  box-shadow:var(--sh-lg);z-index:200;opacity:0;
  transition:opacity .2s,transform .2s;max-width:90%;text-align:center}

/* =========================================================================
   SERVICES STRIP (legacy)
   ========================================================================= */
.services-strip{display:flex;gap:8px;overflow-x:auto;padding:4px 2px 6px;
  scroll-snap-type:x mandatory;-webkit-overflow-scrolling:touch}
.services-strip::-webkit-scrollbar{display:none}

/* =========================================================================
   ADMIN (unchanged logic, adapted)
   ========================================================================= */
.admin-body{background:#f1eef8;padding-bottom:0}
.admin-login{min-height:100vh;display:grid;place-items:center;padding:20px}
.admin-card{background:var(--surface);border-radius:var(--r);box-shadow:var(--sh-lg);padding:24px;width:100%;max-width:380px}
.admin-card .brand-logo{width:48px;height:48px;margin:0 auto 10px}
.admin-shell{display:flex;min-height:100vh}
.admin-side{width:220px;background:#2a123f;color:#e7ddf5;flex:0 0 auto;
  display:flex;flex-direction:column;position:sticky;top:0;height:100vh}
.admin-side .side-brand{display:flex;align-items:center;gap:8px;padding:16px;
  border-bottom:1px solid rgba(255,255,255,.1)}
.admin-side .side-brand img{width:32px;height:32px;border-radius:8px}
.admin-side .side-brand b{font-size:.9rem}
.admin-nav{display:flex;flex-direction:column;padding:10px;gap:2px;flex:1}
.admin-nav a{display:flex;align-items:center;gap:8px;padding:10px 12px;
  border-radius:10px;color:#d9ccee;font-weight:600;font-size:.88rem}
.admin-nav a svg{width:18px;height:18px}
.admin-nav a:hover{background:rgba(255,255,255,.08)}
.admin-nav a.active{background:var(--violet);color:#fff}
.admin-nav .logout{margin-top:auto;color:#f0b8c2}
.admin-main{flex:1;min-width:0;padding:18px;max-width:1000px}
.admin-topbar{display:flex;align-items:center;justify-content:space-between;
  gap:10px;margin-bottom:16px}
.admin-topbar h1{font-size:1.25rem;margin:0}
/* Bouton menu (hamburger) : masqué sur ordinateur, visible sur mobile. */
.admin-burger{display:none;align-items:center;justify-content:center;
  width:42px;height:42px;flex:0 0 auto;border:1px solid var(--line);
  background:var(--surface);border-radius:12px;color:var(--violet-700);cursor:pointer;padding:0}
.admin-burger:active{transform:scale(.95)}
.admin-burger svg{width:24px;height:24px}
/* Voile sombre derrière le tiroir : masqué par défaut. */
.admin-backdrop{display:none}
/* L'ancienne barre du bas n'est plus utilisée. */
.admin-mobile-bar{display:none}
.stat-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:10px;margin-bottom:8px}
.stat{background:var(--surface);border-radius:var(--r-sm);padding:14px;box-shadow:var(--sh-sm)}
.stat .n{font-size:1.6rem;font-weight:800;color:var(--violet-700)}
.stat .l{color:var(--muted);font-size:.82rem}
.panel{background:var(--surface);border-radius:var(--r-sm);box-shadow:var(--sh-sm);padding:16px;margin-bottom:16px}
/* Conteneur défilable : sur petit écran, le tableau glisse horizontalement
   au lieu de se tasser (prix coupé, colonnes écrasées). */
.table-wrap{overflow-x:auto;-webkit-overflow-scrolling:touch;margin:0 -4px}
.table{width:100%;border-collapse:collapse;min-width:520px}
.table th,.table td{text-align:left;padding:10px 8px;border-bottom:1px solid var(--line);
  font-size:.85rem;vertical-align:middle}
.table th{color:var(--muted);font-weight:600;font-size:.74rem;text-transform:uppercase;letter-spacing:.03em}
.table img{width:40px;height:40px;border-radius:8px;object-fit:contain;background:#faf8fd}
.tag{display:inline-block;padding:2px 8px;border-radius:999px;font-size:.7rem;font-weight:700}
.tag.on{background:#e4f7ec;color:var(--wa-700)}
.tag.off{background:#fde8ec;color:var(--danger)}
.row-actions{display:flex;gap:4px;justify-content:flex-end}
.mini-btn{display:inline-flex;align-items:center;gap:4px;padding:6px 10px;
  border-radius:8px;border:1px solid var(--line);background:var(--surface);
  font-weight:600;font-size:.8rem;color:var(--ink)}
.mini-btn:hover{background:var(--violet-050);border-color:var(--violet-300);color:var(--violet-700)}
.mini-btn.danger:hover{background:#fde8ec;border-color:#f3b6c1;color:var(--danger)}
.mini-btn svg{width:14px;height:14px}
.mini-btn.fav-on{border-color:#d6357e}
.mini-btn.fav-on svg{fill:#d6357e;stroke:#d6357e}
.mini-btn.new-on{border-color:var(--success)}
.mini-btn.new-on svg{fill:var(--success);stroke:var(--success)}
.table td.price-cell{white-space:nowrap}
.row-tags{display:flex;flex-wrap:wrap;gap:4px;margin-top:4px}
.tag.new{background:#d7f5f0;color:#0b7d70}
.tag.fav{background:#fce1ee;color:#bd2a6d}
.form-grid{display:grid;gap:12px}
.form-grid.two{grid-template-columns:1fr 1fr}
.form-actions{display:flex;gap:8px;margin-top:6px}
.img-preview{width:100px;height:100px;border-radius:12px;object-fit:contain;
  background:#faf8fd;border:1px solid var(--line)}
.banner-preview{width:100%;max-width:280px;aspect-ratio:2.25/1;border-radius:10px;
  object-fit:cover;background:#faf8fd;border:1px solid var(--line)}
.table img.banner-thumb{width:90px;height:auto;aspect-ratio:2.25/1;object-fit:cover;border-radius:6px}
.logo-preview-row{display:flex;align-items:center;gap:12px;flex-wrap:wrap}
.logo-preview{width:100px;height:100px;border-radius:14px;object-fit:contain;
  background:#faf8fd;border:1px solid var(--line);padding:4px}
.logo-preview.sm{width:52px;height:52px;border-radius:10px}
.logo-preview-mini{display:flex;align-items:center;gap:6px;color:var(--muted);font-size:.75rem}
.logo-preview-mini img{width:44px;height:44px;border-radius:10px;object-fit:cover;box-shadow:var(--sh-sm)}
.gallery-admin{display:flex;flex-wrap:wrap;gap:8px;margin-top:10px}
.gallery-thumb{position:relative;width:80px;border:1px solid var(--line);
  border-radius:10px;padding:5px;background:var(--surface);display:flex;
  flex-direction:column;gap:4px;cursor:pointer}
.gallery-thumb img{width:100%;height:55px;object-fit:contain}
.gt-del{display:flex;align-items:center;gap:4px;font-size:.7rem;color:var(--muted);font-weight:600}
.flash{padding:10px 14px;border-radius:10px;margin-bottom:14px;font-weight:600;font-size:.85rem}
.flash.ok{background:#e4f7ec;color:var(--wa-700)}
.flash.err{background:#fde8ec;color:var(--danger)}
.check{display:flex;align-items:center;gap:6px;font-weight:600;font-size:.88rem}
.check input{width:16px;height:16px;accent-color:var(--violet)}
select.input,input.input,textarea.input{width:100%;border:1px solid var(--line);
  border-radius:10px;padding:10px 12px;font-size:.9rem;font-family:inherit;
  outline:none;background:var(--surface)}
select.input:focus,input.input:focus,textarea.input:focus{border-color:var(--violet-300);box-shadow:0 0 0 3px var(--violet-050)}
label.lbl{font-weight:600;font-size:.82rem;display:block;margin-bottom:4px}
/* Champ mot de passe avec bouton œil (afficher / masquer). */
.pw-field{position:relative}
.pw-field .input{padding-right:46px}
.pw-toggle{position:absolute;top:0;right:6px;height:100%;width:38px;
  display:flex;align-items:center;justify-content:center;
  background:none;border:none;cursor:pointer;color:var(--muted);padding:0}
.pw-toggle:hover{color:var(--violet-700)}
.pw-toggle svg{width:20px;height:20px}
.pw-toggle .ico-eye-off{display:none}
.pw-toggle.on .ico-eye{display:none}
.pw-toggle.on .ico-eye-off{display:block}

/* =========================================================================
   RESPONSIVE — Tablet (768-991px)
   ========================================================================= */
@media (min-width:768px){
  .page{padding:16px 20px}
  .brand-logo{width:44px;height:44px}
  .brand-name{font-size:1.05rem}
  .searchbar{order:0;flex:1 1 auto;max-width:380px;padding:0}
  .top-nav{display:flex}
  .menu-toggle{display:none}
  .carousel{border-radius:var(--r);margin:0 0 16px}
  .pd-gallery{max-width:440px;margin:0 auto}
  .product-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:12px}
  .product-card{flex-direction:column;padding:8px}
  .pc-img-wrap{width:100%;height:auto;aspect-ratio:1;border-radius:var(--r-sm)}
  .product-body{padding:10px 8px 6px}
  .product-cat{font-size:.7rem}
  .product-title{font-size:.92rem}
  .pc-desc{display:none}
  .price-wrap{flex-wrap:wrap}
  .add-cart-btn{width:100%;height:auto;border-radius:10px;margin:10px 0 0;padding:11px 14px;
    display:flex;align-items:center;justify-content:center;font-size:0}
  .add-cart-btn::before{content:"Ajouter";font-size:.84rem}
  .cat-grid{grid-template-columns:repeat(3,1fr);gap:14px}
  .hero{padding:36px 28px}
  .hero h1{font-size:1.8rem}
  .contact-grid{grid-template-columns:repeat(2,1fr)}
  .bottom-nav{display:none}
  body{padding-bottom:0}
  body.has-cart-bar{padding-bottom:96px}
  .cart-bar{bottom:16px}
}

/* =========================================================================
   RESPONSIVE — Desktop (≥992px)
   ========================================================================= */
@media (min-width:992px){
  .page{padding:18px 32px;max-width:var(--maxw)}
  .topbar-inner{padding:8px 24px}
  .brand-logo{width:48px;height:48px}
  .brand-name{font-size:1.1rem}
  .searchbar{max-width:460px}
  .carousel{border-radius:var(--r-lg)}
  .carousel-arrow{display:grid}

  /* Product grid : 4 columns */
  .product-grid{grid-template-columns:repeat(3,1fr);gap:18px}
  .product-card{border-radius:var(--r-lg);transition:transform var(--transition),box-shadow var(--transition)}
  .product-card:hover{transform:translateY(-4px);box-shadow:var(--sh-lg)}
  .pc-img-wrap{aspect-ratio:1}
  .pc-img-wrap img{padding:14px}
  .product-body{padding:12px 16px 16px;gap:6px}
  .product-cat{font-size:.7rem}
  .product-title{font-size:.95rem}
  .price{font-size:1.08rem}
  .add-cart-btn{border-radius:12px;padding:12px}
  .add-cart-btn::before{content:"Ajouter au panier";font-size:.88rem}
  .add-cart-btn:hover{filter:brightness(1.08)}

  /* Sections */
  .cat-grid{grid-template-columns:repeat(3,1fr);gap:18px}
  .cat-name{font-size:1.05rem;padding:16px 14px}
  .hero{padding:52px 44px;border-radius:var(--r-lg)}
  .hero h1{font-size:2.4rem}
  .hero p{font-size:1.05rem}
  .hero-slider img{height:460px}
  .hero-slider-content h2{font-size:2.4rem}

  /* Product detail */
  .product-detail{display:grid;grid-template-columns:minmax(0,380px) 1fr;gap:32px;align-items:start}
  .pd-gallery{position:sticky;top:80px}

  /* Contact */
  .contact-grid{grid-template-columns:repeat(2,1fr)}

  /* Reviews */
  .reviews-grid{grid-template-columns:repeat(3,1fr);gap:16px}

  /* FAQ */
  .faq-list{gap:10px}
  .faq-item summary{padding:16px 20px;font-size:.95rem}
  .faq-item p{padding:0 20px 16px;font-size:.88rem}

  /* Footer — 3 colonnes côte à côte, groupe centré */
  .site-footer{padding:48px 24px 28px}
  .footer-inner{flex-direction:row;flex-wrap:wrap;justify-content:center;
    align-items:flex-start;gap:72px}
  .footer-col{min-width:150px}
  .footer-copy{margin-top:28px}

  /* CTA */
  .cta-band{flex-direction:row;align-items:center;justify-content:space-between;padding:26px 32px}
  .cta-band h2{font-size:1.4rem}

  /* Hide mobile elements */
  .bottom-nav{display:none}
  .cart-bar{display:none}
  .mobile-menu,.mobile-menu-overlay{display:none}
  .menu-toggle{display:none}
}

/* Large desktop (4 columns) */
@media (min-width:1200px){
  .product-grid{grid-template-columns:repeat(4,1fr)}
}

/* =========================================================================
   ADMIN RESPONSIVE
   ========================================================================= */
@media (max-width:760px){
  .admin-shell{flex-direction:column}
  .admin-main{padding:14px 14px 24px}
  .form-grid.two{grid-template-columns:1fr}
  .admin-burger{display:inline-flex}

  /* La barre latérale devient un tiroir coulissant (off-canvas).
     Elle est cachée hors de l'écran à gauche et glisse à l'ouverture. */
  .admin-side{position:fixed;top:0;left:0;height:100vh;height:100dvh;
    width:262px;max-width:84vw;z-index:60;overflow-y:auto;
    transform:translateX(-100%);transition:transform .25s ease;
    box-shadow:0 12px 45px rgba(20,8,32,.5)}
  .admin-side.open{transform:translateX(0)}

  /* Voile sombre affiché derrière le tiroir ouvert (clic = fermeture). */
  .admin-backdrop{display:block;position:fixed;inset:0;z-index:55;
    background:rgba(20,8,32,.5);opacity:0;transition:opacity .25s ease;pointer-events:none}
  body.side-open .admin-backdrop{opacity:1;pointer-events:auto}
  body.side-open{overflow:hidden}
}
@media (max-width:680px){
  /* Les tableaux « admin-list » deviennent des cartes empilées : plus de
     débordement horizontal, plus rien de coupé à droite. */
  .admin-list thead{display:none}
  .admin-list,.admin-list tbody,.admin-list tr,.admin-list td{display:block;width:auto;min-width:0}
  .admin-list tr{border:1px solid var(--line);border-radius:12px;box-shadow:var(--sh-sm);
    padding:10px 12px;margin-bottom:10px;overflow:hidden}
  .admin-list td{border:none;padding:2px 0}
  .admin-list td:first-child{float:left;margin:2px 12px 4px 0}
  .admin-list td:first-child img{width:56px;height:56px;object-fit:cover;border-radius:8px}
  /* Étiquette facultative devant une valeur (ex. « Produits : 9 »). */
  .admin-list td[data-label]::before{content:attr(data-label) " ";font-weight:700;color:var(--muted)}
  /* Listes dont la 1ʳᵉ colonne est du texte (témoignages) : pas de flottant. */
  .admin-list.list-text td:first-child{float:none;margin:0 0 6px}
  .admin-list .price-cell{font-size:.95rem}
  .admin-list .muted{font-size:.8rem}
  .admin-list .row-actions{clear:both;justify-content:flex-start;flex-wrap:wrap;gap:6px;margin-top:8px}
}

/* =========================================================================
   PAGE CONTACT — « Discutons ensemble » (couleurs du site)
   ========================================================================= */
.contact-hero{display:grid;gap:28px;padding:16px 0 8px}
.contact-hero-left{position:relative}
.contact-hero h1{color:var(--violet-700);font-weight:800;line-height:1.05;margin:12px 0 14px}
.contact-lead{color:var(--muted);max-width:44ch;margin-bottom:22px}
.contact-dots{display:none;width:180px;height:120px;margin-top:32px;
  background-image:radial-gradient(var(--violet-300) 1.5px, transparent 1.6px);
  background-size:22px 22px;opacity:.55}
.contact-hero-right{display:flex;flex-direction:column;gap:14px}
.contact-row{display:flex;align-items:flex-start;gap:16px;background:var(--surface);
  border:1px solid var(--line);border-radius:var(--r);padding:16px 18px;
  box-shadow:var(--sh-sm);transition:transform var(--transition),box-shadow var(--transition),border-color var(--transition)}
a.contact-row{cursor:pointer}
a.contact-row:hover{border-color:var(--violet-300);transform:translateY(-2px);box-shadow:var(--sh)}
.contact-row-ico{flex:0 0 auto;width:50px;height:50px;border-radius:14px;display:grid;place-items:center;
  background:linear-gradient(135deg,var(--violet-600),var(--violet-700));color:#fff}
.contact-row-ico svg{width:24px;height:24px}
.contact-row-body{flex:1;min-width:0}
.contact-row-body h3{font-size:1.05rem;color:var(--ink);margin:0 0 1px}
.contact-row-body p{color:var(--muted);margin:0;font-size:.85rem}
.contact-row-body strong{display:block;color:var(--violet-700);margin-top:4px;font-size:.98rem}
.contact-row-arrow{width:20px;height:20px;color:var(--violet-300);flex:0 0 auto;align-self:center}
.contact-socials{display:flex;gap:10px;margin-top:10px}
.contact-socials a{width:40px;height:40px;border-radius:50%;display:grid;place-items:center;
  background:var(--violet-050);color:var(--violet-700);transition:all var(--transition)}
.contact-socials a:hover{background:var(--violet);color:#fff;transform:translateY(-2px)}
.contact-socials svg{width:20px;height:20px}
@media (min-width:768px){
  .contact-hero{grid-template-columns:1fr 1fr;gap:48px;align-items:center;padding:32px 0 16px}
  .contact-dots{display:block}
}
@media (min-width:992px){
  .contact-hero{gap:80px;padding:48px 0 24px}
}

/* =========================================================================
   ÉCHELLE TYPOGRAPHIQUE (Inter) — tailles harmonisées sur tout le site.
   Mobile d'abord (14-16px), agrandies sur grand écran (H1 48 / H2 36 / H3 28).
   ========================================================================= */
body{font-size:16px}
.hero h1,.contact-hero h1{font-size:2rem;line-height:1.1}
.section-head-center h2{font-size:1.7rem}
.section-head h2{font-size:1.2rem}
.cta-band h2{font-size:1.45rem}
.pd-title{font-size:1.375rem}     /* nom du produit ≈ 22px */
.pd-price{font-size:1.75rem}      /* prix (mobile) */
.btn{font-size:1rem}              /* boutons 16px */
.btn-lg{font-size:1.0625rem}
.pd-desc,.section-intro{font-size:.95rem} /* description 15px */

@media (min-width:992px){
  .hero h1,.contact-hero h1{font-size:3rem}      /* H1 48px */
  .section-head-center h2{font-size:2.25rem}     /* H2 36px */
  .cta-band h2{font-size:1.75rem}                /* 28px */
  .section-head h2{font-size:1.4rem}
  .pd-title{font-size:1.5rem}                    /* 24px */
  .pd-price{font-size:2.125rem}                  /* prix ≈ 34px */
  .btn-lg{font-size:1.125rem}                    /* boutons 18px */
  .pd-desc,.section-intro{font-size:1rem}        /* description 16px */
}
