/* ============================================
   Best Of Coffee Galsen — Design system
   Palette complémentaire : brun expresso (chaud, hue ~25°)
   + émeraude/teal (frais, hue ~165°) sur fond crème.
   Le contraste chaud/froid rend le site plus vivant
   qu'une palette mono-ton, tout en restant "café".
   ============================================ */

:root{
  --ink:#2A1D15;
  --night:#3C2415;        /* brun expresso profond — marque, header, footer */
  --night-2:#26150C;
  --gold:#149174;         /* émeraude — accent principal, CTA, prix */
  --gold-dark:#0F7861;
  --coral:#E0602F;        /* terracotta — urgence / stock limité uniquement */
  --paper:#FBF6EF;        /* fond crème chaud */
  --paper-2:#F1E6D8;
  --line:#E7D9C8;
  --white:#fff;
  --green-wa:#25D366;
  --muted:#8a7566;
  --radius:14px;
  --radius-sm:8px;
  --shadow:0 6px 24px rgba(60,36,21,.10);
  --shadow-lg:0 16px 40px rgba(60,36,21,.18);
  --font-display:"Fraunces", Georgia, "Times New Roman", serif;
  --font-body:"Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

*{box-sizing:border-box;}
html{scroll-behavior:smooth;}
body{
  margin:0;
  font-family:var(--font-body);
  color:var(--ink);
  background:var(--paper);
  -webkit-font-smoothing:antialiased;
  overflow-x:hidden;
  display:flex;
  flex-direction:column;
  min-height:100vh;
}
img{max-width:100%; display:block;}
a{color:inherit; text-decoration:none;}
button{font-family:inherit;}
.container{max-width:1180px; margin:0 auto; padding:0 18px; width:100%;}
main, .main-content, #checkout-root, #product-root{flex:1;}

h1,h2,h3{font-family:var(--font-display); margin:0; line-height:1.15; letter-spacing:-0.01em;}

/* ---------- Motif signature ---------- */
.wax-strip{
  height:7px;
  background:repeating-linear-gradient(135deg,
    var(--gold) 0 14px,
    var(--night) 14px 28px);
  opacity:.9;
}

/* ---------- Top bar ---------- */
.topbar{ background:var(--night); color:var(--paper); font-size:12.5px; padding:7px 0; }
.topbar .container{display:flex; justify-content:center; align-items:center; gap:18px; flex-wrap:wrap; text-align:center;}
.topbar span{opacity:.92;}
.topbar strong{color:var(--gold);}

/* ---------- Header ---------- */
header.site{ background:var(--paper); border-bottom:1px solid var(--line); position:sticky; top:0; z-index:50; }
.nav{display:flex; align-items:center; justify-content:space-between; padding:14px 0; gap:14px;}
.site{padding-top:env(safe-area-inset-top);}
.brand{display:flex; align-items:center; gap:8px; font-family:var(--font-display); font-weight:600; font-size:19px; color:var(--night); line-height:1.1; white-space:nowrap; flex-shrink:0;}
.brand .dot{width:9px;height:9px;border-radius:50%;background:var(--gold);display:inline-block; flex-shrink:0;}
.nav-links{display:flex; align-items:center; gap:22px; font-size:14px; font-weight:600;}
.nav-links a{color:var(--night); opacity:.75; transition:opacity .15s;}
.nav-links a:hover{opacity:1;}
.mm-wrap{position:relative; display:flex; align-items:center;}
.mm-trigger{
  display:flex; align-items:center; gap:6px;
  background:none; border:none; cursor:pointer;
  font-family:inherit; font-size:14px; font-weight:600;
  color:var(--night); opacity:.86; padding:4px 0;
  letter-spacing:.01em;
}
.mm-trigger:hover{opacity:1;}
.mm-trigger svg{width:11px; height:11px; transition:transform .2s;}
.mm-wrap.open .mm-trigger svg{transform:rotate(180deg);}
.mm-trigger::after{
  content:""; display:block; height:2px; width:0; background:var(--gold);
  transition:width .2s; margin-top:3px;
}
.mm-wrap.open .mm-trigger::after, .mm-trigger:hover::after{width:100%;}
.mm-panel{
  --mm-pointer-x:50%;
  --mm-pointer-y:16%;
  --mm-pointer-opacity:0;
  position:absolute; top:calc(100% + 16px); left:50%; transform:translateX(-50%) translateY(-12px) scale(.985);
  width:580px; max-width:92vw;
  background:linear-gradient(180deg,#fff 0%, #fdf8f1 100%);
  border-radius:var(--radius);
  box-shadow:0 24px 48px rgba(48,30,19,.22), 0 10px 24px rgba(48,30,19,.12);
  border:1px solid #e8dac8;
  padding:22px; display:grid; grid-template-columns:1.35fr .95fr; gap:18px;
  opacity:0; visibility:hidden; pointer-events:none;
  transform-origin:50% 0%;
  transition:opacity .3s cubic-bezier(.2,.8,.2,1), transform .34s cubic-bezier(.2,.8,.2,1), visibility .3s;
  z-index:100;
  backdrop-filter:blur(3px);
}
.mm-wrap.open .mm-panel{
  opacity:1; visibility:visible; pointer-events:auto; transform:translateX(-50%) translateY(0) scale(1);
}
.mm-panel::before{
  content:"";
  position:absolute;
  inset:0;
  border-radius:inherit;
  background:radial-gradient(260px circle at var(--mm-pointer-x) var(--mm-pointer-y), rgba(255,240,215,.74) 0%, rgba(255,240,215,.33) 34%, rgba(255,240,215,0) 65%);
  opacity:var(--mm-pointer-opacity);
  transition:opacity .2s ease;
  pointer-events:none;
  z-index:0;
}
.mm-panel::after{
  content:"";
  position:absolute;
  inset:10px;
  border:1px solid rgba(194,159,120,.24);
  border-radius:12px;
  pointer-events:none;
  z-index:2;
}
.mm-panel > *{position:relative; z-index:1;}
.mm-grid{display:grid; grid-template-columns:repeat(2, minmax(0, 1fr)); gap:8px;}
.mm-item{
  display:flex; align-items:flex-start; gap:11px; padding:11px; border-radius:var(--radius-sm);
  transition:background .2s ease, transform .2s ease, box-shadow .2s ease;
  opacity:0;
  transform:translateY(10px) scale(.985);
}
.mm-item:hover{
  background:#f4e7d7;
  transform:translateX(2px) translateY(-1px);
  box-shadow:0 8px 16px rgba(60,36,21,.07);
}
.mm-icon{
  width:38px; height:38px; border-radius:11px; flex-shrink:0;
  display:flex; align-items:center; justify-content:center; font-size:18px;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.65);
}
.mm-item-title{font-size:13.5px; font-weight:700; color:var(--night); display:flex; align-items:center; gap:6px;}
.mm-item-desc{font-size:11.5px; color:var(--muted); margin-top:2px; line-height:1.4;}
.mm-tag{
  font-size:9px; font-weight:800; text-transform:uppercase; letter-spacing:.03em;
  background:var(--coral); color:#fff; padding:2px 6px; border-radius:99px;
}
.mm-featured{
  background:linear-gradient(165deg, var(--night) 0%, var(--night-2) 100%);
  border-radius:var(--radius-sm); padding:16px; display:flex; flex-direction:column;
  color:#fff; position:relative; overflow:hidden;
  opacity:0;
  transform:translateY(10px) scale(.985);
  perspective:900px;
}
.mm-featured::before{
  content:""; position:absolute; inset:0;
  background:radial-gradient(circle at 85% 15%, var(--gold) 0, transparent 55%);
  opacity:.22;
}
.mm-featured-inner{
  position:relative;
  display:flex;
  flex-direction:column;
  transform:perspective(900px) rotateX(var(--mm-tilt-x, 0deg)) rotateY(var(--mm-tilt-y, 0deg)) translate3d(var(--mm-shift-x, 0px), var(--mm-shift-y, 0px), 0);
  transition:transform .24s cubic-bezier(.2,.8,.2,1);
  will-change:transform;
}
.mm-featured-badge{
  font-size:10px; font-weight:800; text-transform:uppercase; letter-spacing:.04em;
  color:#5FD8BC; margin-bottom:8px; position:relative;
}
.mm-featured img{
  width:100%;
  aspect-ratio:1/1;
  object-fit:contain;
  object-position:center;
  padding:8px;
  box-sizing:border-box;
  background:rgba(255,255,255,.08);
  border-radius:10px;
  margin-bottom:10px;
  position:relative;
}
.mm-featured-name{font-family:var(--font-display); font-size:15px; font-weight:600; position:relative;}
.mm-featured-price{font-size:13px; opacity:.85; margin:4px 0 12px; position:relative;}
.mm-featured a{
  position:relative; text-align:center; background:var(--gold); color:#fff; text-decoration:none;
  font-size:12.5px; font-weight:700; padding:9px; border-radius:99px; transition:background .15s, transform .15s;
}
.mm-featured a:hover{background:var(--gold-dark); transform:translateY(-1px);}
.mm-wrap.open .mm-item,
.mm-wrap.open .mm-featured{
  animation:mmRiseIn .36s cubic-bezier(.2,.8,.2,1) forwards;
}
.mm-wrap.open .mm-item:nth-child(1){animation-delay:.02s;}
.mm-wrap.open .mm-item:nth-child(2){animation-delay:.06s;}
.mm-wrap.open .mm-item:nth-child(3){animation-delay:.1s;}
.mm-wrap.open .mm-item:nth-child(4){animation-delay:.14s;}
.mm-wrap.open .mm-featured{animation-delay:.18s;}
@keyframes mmRiseIn{
  from{opacity:0; transform:translateY(10px) scale(.985);}
  to{opacity:1; transform:translateY(0) scale(1);}
}
@media (min-width:641px){
  .nav{justify-content:flex-start; gap:20px;}
  .brand{
    margin-right:14px;
    padding-right:16px;
    border-right:1px solid rgba(60,36,21,.14);
  }
  .nav-links{margin-right:auto;}
}
.nav-actions{
  display:flex;
  align-items:center;
  gap:8px;
  margin-left:auto;
  padding:4px;
  border:1px solid var(--line);
  border-radius:16px;
  background:rgba(255,255,255,.78);
  box-shadow:0 10px 26px rgba(60,36,21,.06);
}
.nav-icon-btn{
  position:relative;
  width:42px;
  height:42px;
  min-width:42px;
  border:1px solid var(--line);
  border-radius:12px;
  background:#fff;
  color:var(--night);
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:0;
  cursor:pointer;
  transition:transform .15s, border-color .15s, background .15s, box-shadow .15s;
}
.nav-icon-btn:hover{
  border-color:rgba(60,36,21,.28);
  background:var(--paper);
  box-shadow:0 8px 18px rgba(60,36,21,.08);
}
.nav-icon-btn-glyph{font-size:18px; line-height:1;}
.notification-center-button{
  overflow:visible;
}
.notification-center-button .notif-count{
  position:absolute;
  top:-5px;
  right:-5px;
  z-index:2;
  margin:0;
  min-width:18px;
  height:18px;
  padding:0 5px;
  border-radius:999px;
  display:none;
  align-items:center;
  justify-content:center;
  box-sizing:border-box;
  background:#FF3B30;
  color:#fff;
  font-size:11px;
  font-weight:800;
  font-variant-numeric:tabular-nums;
  line-height:1;
  letter-spacing:-0.02em;
  border:2px solid #fff;
  box-shadow:0 2px 6px rgba(255,59,48,.35);
  pointer-events:none;
}
.notification-center-button .notif-count.is-wide{
  min-width:22px;
  padding:0 6px;
  font-size:10px;
}
.cart-count{
  background:#FF3B30;
  color:#fff;
  font-size:11px;
  font-weight:800;
  font-variant-numeric:tabular-nums;
  border-radius:999px;
  min-width:18px;
  height:18px;
  padding:0 5px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  margin-left:6px;
  vertical-align:top;
  border:2px solid #fff;
  box-shadow:0 2px 6px rgba(255,59,48,.28);
  box-sizing:border-box;
  line-height:1;
}
.nav-cart-btn{
  min-height:42px;
  padding:0 16px !important;
  font-size:13px !important;
  border-radius:12px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:4px;
  box-shadow:none;
}
.wax-strip{display:none;}
.mobile-menu-toggle{
  display:none !important;
  border:1px solid rgba(60,36,21,.18);
  background:#fff;
  color:var(--night);
  padding:0;
  width:42px;
  height:42px;
  border-radius:12px;
  font-weight:700;
  font-size:0;
  cursor:pointer;
  align-items:center;
  justify-content:center;
  flex-shrink:0;
  box-shadow:0 4px 12px rgba(60,36,21,.06);
  transition:background .15s, border-color .15s, box-shadow .15s;
}
.mobile-menu-toggle:hover{
  background:var(--paper);
  border-color:rgba(60,36,21,.28);
}
.mobile-menu-bars{
  width:18px;
  height:14px;
  display:flex;
  flex-direction:column;
  justify-content:space-between;
}
.mobile-menu-bars i{
  display:block;
  height:2px;
  width:100%;
  border-radius:2px;
  background:var(--night);
  transition:transform .2s ease, opacity .2s ease;
  transform-origin:center;
}
.mobile-menu-toggle.is-open .mobile-menu-bars i:nth-child(1){
  transform:translateY(6px) rotate(45deg);
}
.mobile-menu-toggle.is-open .mobile-menu-bars i:nth-child(2){opacity:0;}
.mobile-menu-toggle.is-open .mobile-menu-bars i:nth-child(3){
  transform:translateY(-6px) rotate(-45deg);
}
.mobile-nav-backdrop{
  display:none;
  position:fixed;
  inset:0;
  z-index:48;
  background:rgba(42,29,21,.42);
  backdrop-filter:blur(2px);
  -webkit-backdrop-filter:blur(2px);
  opacity:0;
  transition:opacity .22s ease;
}
.mobile-nav-backdrop.active{
  display:block;
  opacity:1;
}
body.mobile-nav-open{overflow:hidden;}
.mobile-nav-panel{
  display:none;
  position:absolute;
  top:100%;
  left:0;
  right:0;
  z-index:49;
  flex-direction:column;
  max-height:min(78vh, 640px);
  overflow:auto;
  -webkit-overflow-scrolling:touch;
  background:
    linear-gradient(180deg, #fffefb 0%, #faf5ee 100%);
  border-top:1px solid rgba(60,36,21,.08);
  box-shadow:0 24px 48px rgba(42,29,21,.18);
}
.mobile-nav-panel.active{display:flex;}
.mobile-nav-inner{
  padding:10px 14px 18px;
  display:flex;
  flex-direction:column;
  gap:12px;
}
.mobile-nav-links{
  display:flex;
  flex-direction:column;
  gap:6px;
}
.mobile-nav-item{
  display:flex !important;
  align-items:center;
  gap:12px;
  padding:11px 12px !important;
  border:1px solid rgba(60,36,21,.08) !important;
  border-radius:12px !important;
  background:#fff;
  color:var(--night);
  text-decoration:none;
  box-shadow:0 2px 8px rgba(60,36,21,.03);
  transition:background .15s ease, border-color .15s ease, transform .15s ease;
}
.mobile-nav-item:active{
  background:#f7f1e8;
  transform:scale(.99);
}
.mobile-nav-item-mark{
  flex-shrink:0;
  width:40px;
  height:40px;
  border-radius:11px;
  display:grid;
  place-items:center;
  font-size:13px;
  font-weight:800;
  color:#fff;
  background:linear-gradient(145deg, #5a4030, #3c2415);
}
.mobile-nav-item[data-tone="home"] .mobile-nav-item-mark{
  background:linear-gradient(145deg, #149174, #0f7861);
}
.mobile-nav-item[data-tone="types"] .mobile-nav-item-mark{
  background:linear-gradient(145deg, #8a6a4a, #5c4330);
}
.mobile-nav-item[data-tone="orders"] .mobile-nav-item-mark{
  background:linear-gradient(145deg, #3d6b8a, #2a4f68);
}
.mobile-nav-item[data-tone="reviews"] .mobile-nav-item-mark{
  background:linear-gradient(145deg, #c47a3a, #9a5520);
}
.mobile-nav-item-copy{
  flex:1;
  min-width:0;
  display:flex;
  flex-direction:column;
  gap:2px;
}
.mobile-nav-item-name{
  font-size:14px;
  font-weight:700;
  color:var(--night);
  line-height:1.25;
}
.mobile-nav-item-meta{
  font-size:12px;
  font-weight:600;
  color:var(--muted);
}
.mobile-products-block{
  display:flex;
  flex-direction:column;
  gap:0;
  margin:0;
  padding:0;
  border:none;
  background:transparent;
  box-shadow:none;
  border-radius:0;
}
.mobile-catalogue-toggle{
  width:100%;
  cursor:pointer;
  font:inherit;
  text-align:left;
}
.mobile-catalogue-toggle .mobile-catalogue-caret{
  flex-shrink:0;
  width:8px;
  height:8px;
  margin-right:6px;
  border-right:2px solid rgba(60,36,21,.35);
  border-bottom:2px solid rgba(60,36,21,.35);
  transform:rotate(45deg);
  transition:transform .2s ease;
}
.mobile-products-block.is-open .mobile-catalogue-toggle{
  border-color:rgba(20,145,116,.28) !important;
  background:#f3faf7;
}
.mobile-products-block.is-open .mobile-catalogue-caret{
  transform:rotate(-135deg);
  margin-top:4px;
}
.mobile-nav-item[data-tone="catalogue"] .mobile-nav-item-mark{
  background:linear-gradient(145deg, #149174, #0f7861);
}
.mobile-products-list{
  display:flex;
  flex-direction:column;
  gap:6px;
  margin-top:6px;
  padding:8px;
  border-radius:14px;
  border:1px solid rgba(60,36,21,.08);
  background:
    radial-gradient(ellipse 80% 60% at 0% 0%, rgba(20,145,116,.07), transparent 55%),
    #fff;
  box-shadow:0 6px 16px rgba(60,36,21,.05);
}
.mobile-products-list[hidden]{
  display:none !important;
}
.mobile-product-link{
  display:flex !important;
  align-items:center;
  gap:12px;
  padding:11px 12px !important;
  border:1px solid rgba(60,36,21,.08) !important;
  border-radius:12px !important;
  background:#fbf8f3;
  color:var(--night);
  text-decoration:none;
  transition:background .15s ease, border-color .15s ease, transform .15s ease;
}
.mobile-product-link:active{
  background:#f3ebe0;
  transform:scale(.99);
}
.mobile-product-mark{
  flex-shrink:0;
  width:40px;
  height:40px;
  border-radius:11px;
  display:grid;
  place-items:center;
  font-size:12px;
  font-weight:800;
  letter-spacing:.02em;
  color:#fff;
  background:var(--night);
}
.mobile-product-link[data-tone="nespresso"] .mobile-product-mark{
  background:linear-gradient(145deg, #4a3428, #2f1f16);
}
.mobile-product-link[data-tone="vertuo"] .mobile-product-mark{
  background:linear-gradient(145deg, #5c6b73, #3d4a50);
}
.mobile-product-link[data-tone="dolce"] .mobile-product-mark{
  background:linear-gradient(145deg, #c47a3a, #9a5520);
}
.mobile-product-link[data-tone="tassimo"] .mobile-product-mark{
  background:linear-gradient(145deg, #b03a2e, #7e241c);
}
.mobile-product-link[data-tone="machines"] .mobile-product-mark{
  background:linear-gradient(145deg, #149174, #0f7861);
}
.mobile-product-copy{
  flex:1;
  min-width:0;
  display:flex;
  flex-direction:column;
  gap:2px;
}
.mobile-product-name{
  font-size:14px;
  font-weight:700;
  color:var(--night);
  line-height:1.25;
}
.mobile-product-meta{
  font-size:12px;
  font-weight:600;
  color:var(--muted);
}
.mobile-product-chevron{
  flex-shrink:0;
  width:8px;
  height:8px;
  border-right:2px solid rgba(60,36,21,.28);
  border-bottom:2px solid rgba(60,36,21,.28);
  transform:rotate(-45deg);
  margin-right:4px;
}
.mobile-nav-panel .mobile-nav-cta{
  margin:2px 0 0;
  width:100%;
  min-height:48px;
  border-radius:14px;
  font-size:14.5px;
}

/* ---------- Hero ---------- */
.hero{ background:linear-gradient(180deg, var(--night) 0%, var(--night-2) 100%); color:var(--paper); position:relative; overflow:hidden; }
.hero .container{padding:52px 18px 44px; position:relative; z-index:2;}
.hero-grid{display:grid; grid-template-columns:1.1fr 0.9fr; gap:40px; align-items:center;}
@media (max-width:880px){.hero-grid{grid-template-columns:1fr; gap:34px;}}
.hero-eyebrow{
  display:inline-flex; align-items:center; gap:8px;
  background:rgba(20,145,116,.18); border:1px solid rgba(20,145,116,.45);
  color:#5FD8BC; font-size:12.5px; font-weight:700; letter-spacing:.04em; text-transform:uppercase;
  padding:6px 12px; border-radius:99px; margin-bottom:18px;
}
.hero h1{font-size:clamp(28px,4.2vw,44px); max-width:560px; color:#fff;}
.hero h1 em{font-style:normal; color:#5FD8BC;}
.hero p{font-size:16px; max-width:460px; opacity:.85; margin-top:14px; line-height:1.55;}
.hero-cta{display:flex; gap:12px; margin-top:26px; flex-wrap:wrap;}
.hero-pattern{
  position:absolute; inset:0; z-index:1; opacity:.12;
  background-image:
    radial-gradient(circle at 20% 30%, var(--gold) 0, transparent 45%),
    radial-gradient(circle at 80% 70%, var(--coral) 0, transparent 45%);
}

.hero-contact-strip{
  background:var(--paper-2);
  border-bottom:1px solid var(--line);
}
.hero-contact-strip .container{
  display:flex;
  justify-content:center;
  align-items:center;
  gap:12px;
  padding:10px 18px;
  font-size:13px;
  color:var(--night);
  text-align:center;
  flex-wrap:wrap;
}
.hero-contact-strip strong{color:var(--gold-dark);}
.hero-contact-strip .sep{opacity:.55;}

/* ---------- Collage photo du hero ---------- */
.hero-visual{position:relative; width:100%; max-width:510px; margin:0 auto; aspect-ratio:1/0.98;}
.hero-collage-card{
  position:absolute;
  overflow:hidden;
  border-radius:22px;
  background:rgba(255,255,255,.08);
  border:1px solid rgba(255,255,255,.14);
  box-shadow:0 20px 46px rgba(0,0,0,.34);
  backdrop-filter:blur(4px);
}
.hero-collage-img{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
}
.hero-collage-card-main{
  top:8%;
  left:12%;
  width:46%;
  height:60%;
  transform:rotate(-3deg);
  z-index:4;
}
.hero-collage-card-top{
  top:0;
  left:4%;
  width:28%;
  height:24%;
  transform:rotate(-6deg);
  z-index:5;
}
.hero-collage-card-machine{
  top:2%;
  right:0;
  width:42%;
  height:80%;
  z-index:3;
}
.hero-collage-card-left{
  left:2%;
  bottom:9%;
  width:31%;
  height:31%;
  transform:rotate(-8deg);
  z-index:6;
}
.hero-collage-card-bottom{
  right:16%;
  bottom:1%;
  width:31%;
  height:21%;
  transform:rotate(5deg);
  z-index:7;
}
.hero-collage-badge{
  position:absolute;
  left:50%;
  bottom:-12px;
  transform:translateX(-50%);
  z-index:10;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-width:188px;
  padding:9px 14px;
  border-radius:999px;
  font-size:12px;
  font-weight:800;
  letter-spacing:.04em;
  text-transform:uppercase;
  color:#2f1f13;
  background:linear-gradient(180deg, rgba(255,249,240,.98) 0%, rgba(246,232,207,.98) 100%);
  border:1px solid rgba(214,188,145,.92);
  box-shadow:0 10px 24px rgba(0,0,0,.18), 0 1px 0 rgba(255,255,255,.75) inset;
  white-space:nowrap;
  pointer-events:none;
}
@media (max-width:880px){
  .hero-visual{max-width:390px;}
}
@media (max-width:640px){
  .hero-visual{max-width:316px; margin-top:6px;}
  .hero-collage-card{border-radius:18px;}
  .hero-collage-card-main{top:10%; left:14%; width:48%; height:58%;}
  .hero-collage-card-top{left:4%; width:31%; height:23%;}
  .hero-collage-card-machine{top:3%; right:0; width:44%; height:74%;}
  .hero-collage-card-left{left:1%; width:34%; height:29%; bottom:11%;}
  .hero-collage-card-bottom{right:10%; width:33%; height:19%; bottom:2%;}
  .hero-collage-badge{bottom:-9px; min-width:156px; font-size:10.5px; padding:7px 11px;}
}

/* ---------- Buttons ---------- */
.btn{
  display:inline-flex; align-items:center; justify-content:center; gap:8px;
  padding:13px 22px; border-radius:99px; font-weight:700; font-size:14.5px;
  border:none; cursor:pointer; transition:transform .15s, box-shadow .15s, background .15s;
  white-space:nowrap;
}
.btn:active{transform:scale(.97);}
.btn-primary{background:var(--gold); color:#fff; box-shadow:0 8px 20px rgba(20,145,116,.32);}
.btn-primary:hover{background:var(--gold-dark);}
.btn-gold{background:var(--gold); color:#fff; box-shadow:0 8px 20px rgba(20,145,116,.3);}
.btn-gold:hover{background:var(--gold-dark);}
.btn-outline{background:transparent; color:#fff; border:1.5px solid rgba(255,255,255,.4);}
.btn-outline:hover{border-color:#fff;}
.btn-dark{background:var(--night); color:#fff;}
.btn-dark:hover{background:var(--night-2);}
.btn-wa{background:var(--green-wa); color:#fff;}
.btn-wa:hover{background:#1ebd5a;}
.btn-block{width:100%;}
.btn[disabled]{opacity:.5; cursor:not-allowed;}
.install-app-btn{box-shadow:none;}

.cart-toast{
  position:fixed;
  left:50%;
  bottom:20px;
  transform:translate(-50%, 18px);
  background:var(--night);
  color:#fff;
  border:1px solid rgba(255,255,255,.14);
  border-radius:999px;
  padding:10px 16px;
  font-size:13px;
  font-weight:600;
  opacity:0;
  pointer-events:none;
  transition:opacity .18s ease, transform .18s ease;
  z-index:180;
  white-space:nowrap;
  box-shadow:0 12px 28px rgba(0,0,0,.2);
}
.cart-toast.show{
  opacity:1;
  transform:translate(-50%, 0);
}

/* ---------- Trust badges ---------- */
.trust-inline{margin-top:18px; display:flex; flex-wrap:wrap; gap:10px;}
.trust-chip{
  display:inline-flex;
  align-items:center;
  gap:8px;
  font-size:12.5px;
  font-weight:700;
  color:var(--night);
  background:rgba(251,246,239,.24);
  border:1px solid rgba(255,255,255,.22);
  border-radius:10px;
  padding:8px 12px;
}
.trust-chip .ic{font-size:16px;}

.pwa-install-card{
  max-width:1180px;
  margin:18px auto 0;
  padding:18px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
  background:linear-gradient(135deg, rgba(20,145,116,.12), rgba(20,145,116,.05));
  border:1px solid rgba(20,145,116,.24);
  border-radius:var(--radius);
}
.pwa-install-card h2{font-size:18px; color:var(--night); margin:0 0 6px;}
.pwa-install-card p{margin:0; font-size:13.5px; color:var(--muted); line-height:1.55; max-width:640px;}
.pwa-install-actions{display:flex; gap:10px; flex-wrap:wrap; justify-content:flex-end;}
@media (max-width:640px){
  .pwa-install-card{flex-direction:column; align-items:flex-start;}
  .pwa-install-actions{width:100%; justify-content:stretch;}
  .pwa-install-card .btn{width:100%;}
}

.push-permission-modal{
  position:fixed;
  inset:0;
  z-index:120;
  background:rgba(42,29,21,.48);
  display:none;
  align-items:flex-end;
  justify-content:center;
  padding:18px;
}
.push-permission-modal.is-visible{
  display:flex;
}
.push-permission-card{
  width:min(100%, 520px);
  background:#fff;
  border-radius:22px;
  box-shadow:0 24px 80px rgba(0,0,0,.28);
  padding:22px;
  border:1px solid var(--line);
}
.push-permission-card h2{font-size:22px; color:var(--night); margin-bottom:8px;}
.push-permission-card p{margin:0; color:var(--muted); line-height:1.55;}
.push-permission-actions{display:flex; gap:10px; margin-top:18px;}
.push-permission-actions .btn{flex:1;}
.btn-outline-night{background:transparent; color:var(--night); border:1.5px solid var(--night); font-weight:700;}
.btn-outline-night:hover{background:var(--paper-2);}
body.modal-open{overflow:hidden;}
@media (max-width:640px){
  .push-permission-modal{align-items:center;}
  .push-permission-actions{flex-direction:column;}
}

/* ---------- Section heading ---------- */
.section{padding:42px 0;}
.section-head{display:flex; align-items:flex-end; justify-content:space-between; margin-bottom:24px; gap:14px; flex-wrap:wrap;}
.section-head h2{font-size:clamp(21px,3vw,28px); color:var(--night);}
.section-head p{margin:6px 0 0; color:var(--muted); font-size:14px;}

/* ---------- Category sections ---------- */
.category-section{margin-bottom:56px;}
.category-title{
  font-family:var(--font-display);
  font-size:24px;
  color:var(--night);
  margin-bottom:20px;
  padding-bottom:10px;
  border-bottom:2px solid var(--line);
}
.load-more-container{
  text-align:center;
  margin-top:28px;
}
.btn-outline-dark{
  background:transparent;
  color:var(--night);
  border:1.5px solid var(--night);
  padding:11px 26px;
  font-size:14px;
}
.btn-outline-dark:hover{
  background:var(--night);
  color:#fff;
}

/* ---------- Product grid ---------- */
.grid{display:grid; grid-template-columns:repeat(4,1fr); gap:18px;}
@media (max-width:1000px){.grid{grid-template-columns:repeat(3,1fr);}}
@media (max-width:700px){.grid{grid-template-columns:repeat(2,1fr); gap:10px;}}
@media (max-width:420px){.grid{grid-template-columns:repeat(2,1fr); gap:8px;}}

.card{
  background:#fff; border-radius:var(--radius); overflow:hidden; border:1px solid var(--line);
  display:flex; flex-direction:column; transition:transform .18s, box-shadow .18s;
  position:relative;
}
.card:hover{transform:translateY(-4px); box-shadow:var(--shadow-lg);}
.card-img{
  aspect-ratio:1/1;
  overflow:hidden;
  background:
    radial-gradient(circle at 30% 20%, rgba(255,255,255,.9), transparent 45%),
    linear-gradient(180deg, #f7f1ea 0%, #efe4d6 100%);
  position:relative;
  display:grid;
  place-items:center;
}
.card-img img{
  width:100%;
  height:100%;
  object-fit:contain;
  object-position:center;
  padding:10px;
  box-sizing:border-box;
  transition:transform .4s;
}
.card:hover .card-img img{transform:scale(1.04);}
.card-badge{
  position:absolute; top:10px; left:10px; background:var(--coral); color:#fff;
  font-size:10.5px; font-weight:700; padding:5px 10px; border-radius:99px; text-transform:uppercase; letter-spacing:.03em;
  z-index:1;
}
.card-discount{
  position:absolute; top:10px; right:10px; background:var(--night); color:#fff;
  font-size:10.5px; font-weight:700; padding:5px 9px; border-radius:99px;
  z-index:1;
}
.card-ribbon{
  position:absolute; top:10px; left:8px;
  transform:rotate(-16deg);
  background:var(--coral);
  color:#fff;
  font-size:10.5px;
  font-weight:700;
  padding:4px 12px;
  letter-spacing:.02em;
  border-radius:8px;
  box-shadow:0 6px 14px rgba(0,0,0,.12);
  z-index:1;
}
.card-out-of-stock{background:#f6f3ee;}
.card-out-of-stock .card-img{opacity:.9;}
.card-out-of-stock .card-img img{filter:grayscale(.5) saturate(.65);}
.card-out-of-stock .card-name,
.card-out-of-stock .card-sub,
.card-out-of-stock .price-now{color:#7f7268;}
.card-stock-rupture{color:var(--coral); font-weight:700;}
.card-body{padding:12px 13px 14px; display:flex; flex-direction:column; gap:5px; flex:1;}
.card-cat{font-size:11px; font-weight:700; color:var(--gold); text-transform:uppercase; letter-spacing:.05em;}
.card-intensity{
  display:inline-flex;
  align-items:center;
  width:fit-content;
  font-size:11px;
  font-weight:800;
  color:#5a321a;
  background:#f7e6cf;
  border:1px solid #e6c8a6;
  border-radius:999px;
  padding:3px 8px;
  line-height:1;
}
.card-volume{
  display:inline-flex;
  align-items:center;
  width:fit-content;
  font-size:11px;
  font-weight:800;
  color:#3d4f63;
  background:#eaf1f7;
  border:1px solid #c9d7e6;
  border-radius:999px;
  padding:3px 8px;
  line-height:1;
}
.card-meta{
  display:flex;
  flex-wrap:wrap;
  gap:5px;
  align-items:center;
}
.card-warranty{
  display:inline-flex;
  align-items:center;
  width:fit-content;
  font-size:11px;
  font-weight:800;
  color:#2f4d3f;
  background:linear-gradient(180deg, #f6f2e6 0%, #ece5cf 100%);
  border:1px solid #d6c8a0;
  border-radius:999px;
  padding:3px 8px;
  line-height:1;
  box-shadow:0 1px 0 rgba(255,255,255,.65) inset;
}
.card-sub{font-size:11.5px; color:var(--muted);}
.card-name{font-size:14px; font-weight:600; line-height:1.35; color:var(--ink); min-height:36px;}
.card-price{display:flex; align-items:baseline; gap:8px; margin-top:2px; flex-wrap:wrap;}
.price-now{font-family:var(--font-display); font-size:17px; font-weight:600; color:var(--night);}
.price-old{font-size:12px; color:#b0a294; text-decoration:line-through;}
.card-stock{font-size:11px; color:var(--coral); font-weight:600;}
.qty-field{
  display:flex;
  flex-direction:column;
  gap:5px;
  margin-top:2px;
}
.qty-field-top{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:8px;
}
.qty-field-label{
  font-size:11px;
  font-weight:700;
  color:var(--night);
  text-transform:uppercase;
  letter-spacing:.04em;
}
.qty-field-stock{
  font-size:11px;
  font-weight:700;
  color:#2f6b4f;
  white-space:nowrap;
}
.qty-field-stock.is-low{color:var(--coral);}
.qty-field-stock.is-empty{color:var(--coral);}
.qty-inline{
  display:inline-flex;
  align-items:center;
  gap:6px;
  border:1px solid var(--line);
  border-radius:10px;
  padding:4px;
  background:#fff;
  width:max-content;
}
.qty-inline .qty-btn{
  width:26px;
  height:26px;
  border:1px solid var(--line);
  border-radius:7px;
  background:#fff;
  color:var(--night);
  font-size:15px;
  font-weight:700;
  line-height:1;
  cursor:pointer;
}
.qty-inline .qty-btn:hover{border-color:var(--night);}
.qty-inline .qty-btn:disabled{opacity:.4; cursor:not-allowed;}
.qty-inline .qty-input{
  width:44px;
  height:28px;
  border:0;
  text-align:center;
  font-weight:700;
  color:var(--night);
  background:transparent;
  font-size:13px;
  padding:0;
}
.qty-inline .qty-input:focus{outline:none;}
.qty-inline .qty-input::-webkit-outer-spin-button,
.qty-inline .qty-input::-webkit-inner-spin-button{-webkit-appearance:none; margin:0;}
.qty-inline .qty-input[type=number]{appearance:textfield; -moz-appearance:textfield;}
.card-cta{margin-top:auto; display:flex; flex-wrap:wrap; gap:6px; padding-top:8px;}
.card-cta .btn{flex:1 1 105px; min-width:0; padding:9px 8px; font-size:12.5px; white-space:normal;}

/* Cartes produit : version compacte mobile (evite les fiches trop hautes) */
@media (max-width:700px){
  .grid{gap:10px;}
  .card{border-radius:14px;}
  .card-img{
    aspect-ratio:1 / .78;
  }
  .card-img img{padding:6px;}
  .card-discount,
  .card-ribbon{
    top:6px;
    font-size:9.5px;
    padding:3px 7px;
  }
  .card-ribbon{left:6px; padding:3px 8px;}
  .card-discount{right:6px;}
  .card-body{
    padding:8px 8px 9px;
    gap:3px;
  }
  .card-cat{
    font-size:9.5px;
    letter-spacing:.04em;
  }
  .card-name{
    font-size:12.5px;
    line-height:1.25;
    min-height:0;
    display:-webkit-box;
    -webkit-line-clamp:2;
    -webkit-box-orient:vertical;
    overflow:hidden;
  }
  .card-meta{gap:4px;}
  .card-intensity,
  .card-volume,
  .card-warranty{
    font-size:9.5px;
    padding:2px 6px;
  }
  .card-sub{display:none;}
  .card-stock{display:none;}
  .card-price{margin-top:1px; gap:5px;}
  .price-now{font-size:14px;}
  .price-old{font-size:10.5px;}
  .qty-field-card{
    gap:3px;
    margin-top:1px;
  }
  .qty-field-card .qty-field-top{
    gap:4px;
  }
  .qty-field-card .qty-field-label{
    font-size:9.5px;
  }
  .qty-field-card .qty-field-stock{
    font-size:9.5px;
    white-space:normal;
    text-align:right;
    line-height:1.2;
  }
  .qty-field-card .qty-inline{
    padding:3px;
    border-radius:8px;
    width:100%;
    justify-content:space-between;
  }
  .qty-field-card .qty-btn{
    width:24px;
    height:24px;
    font-size:13px;
  }
  .qty-field-card .qty-input{
    width:36px;
    height:24px;
    font-size:12px;
  }
  .card-cta{
    flex-wrap:nowrap;
    gap:5px;
    padding-top:5px;
  }
  .card-cta .btn{
    flex:1 1 0;
    padding:8px 4px;
    font-size:11px;
    line-height:1.15;
    border-radius:10px;
    white-space:nowrap;
  }
}
@media (max-width:420px){
  .card-img{aspect-ratio:1 / .72;}
  .card-name{font-size:12px;}
  .card-cta .btn{font-size:10.5px; padding:7px 3px;}
}

/* ---------- Category pages ---------- */
.category-intro{
  display:grid;
  grid-template-columns:1.2fr .8fr;
  gap:16px;
  align-items:center;
  margin-bottom:18px;
  padding:18px;
  border:1px solid var(--line);
  border-radius:18px;
  background:linear-gradient(180deg,#fff, #fbf4eb);
  box-shadow:0 10px 24px rgba(60,36,21,.06);
}
.category-intro h1,
.category-intro h2{font-size:clamp(24px, 3vw, 34px); margin-bottom:8px;}
.category-intro p{margin:0; color:var(--muted); line-height:1.55;}
.category-pills{display:flex; flex-wrap:wrap; gap:8px; margin-top:14px;}
.category-pill{
  display:inline-flex;
  align-items:center;
  gap:6px;
  font-size:12px;
  font-weight:700;
  color:var(--night);
  background:var(--paper-2);
  border:1px solid #e6d9c9;
  border-radius:999px;
  padding:7px 10px;
}
.category-aside{
  justify-self:end;
  width:100%;
  max-width:280px;
  padding:14px;
  border-radius:16px;
  background:linear-gradient(165deg, var(--night) 0%, var(--night-2) 100%);
  color:#fff;
  box-shadow:0 16px 34px rgba(60,36,21,.18);
}
.category-aside .kicker{
  font-size:11px;
  text-transform:uppercase;
  letter-spacing:.06em;
  color:#5FD8BC;
  font-weight:800;
}
.category-aside .value{
  font-family:var(--font-display);
  font-size:28px;
  line-height:1;
  margin-top:8px;
}
.category-aside .sub{
  margin-top:6px;
  font-size:13px;
  opacity:.84;
  line-height:1.5;
}
@media (max-width:760px){
  .category-intro{grid-template-columns:1fr; padding:16px;}
  .category-aside{max-width:none; justify-self:stretch;}
}

/* ---------- Banner mid-page (legacy, unused on home) ---------- */
.midbanner{
  background:var(--gold); color:#fff; border-radius:var(--radius);
  padding:24px 26px; display:flex; align-items:center; justify-content:space-between; gap:16px; flex-wrap:wrap;
  margin:42px 0; text-align:left;
}
.midbanner h3{font-size:19px; color:#fff;}
.midbanner p{margin:4px 0 0; font-size:13.5px; opacity:.92;}

/* ---------- How it works (home) ---------- */
.home-how{padding-top:8px;}
.how-steps{
  list-style:none;
  margin:0;
  padding:0;
  display:grid;
  grid-template-columns:repeat(4, minmax(0, 1fr));
  gap:0;
  border:1px solid var(--line);
  border-radius:18px;
  overflow:hidden;
  background:#fff;
}
.how-step{
  display:flex;
  gap:12px;
  align-items:flex-start;
  padding:20px 18px;
  border-right:1px solid var(--line);
  min-width:0;
}
.how-step:last-child{border-right:0;}
.how-num{
  flex:0 0 auto;
  width:34px;
  height:34px;
  border-radius:50%;
  display:grid;
  place-items:center;
  font-family:var(--font-display);
  font-size:16px;
  font-weight:600;
  color:#fff;
  background:var(--night);
  line-height:1;
}
.how-step h3{
  margin:0 0 6px;
  font-size:15px;
  color:var(--night);
  font-family:var(--font-body);
  font-weight:700;
}
.how-step p{
  margin:0;
  font-size:13px;
  line-height:1.5;
  color:var(--muted);
}

/* ---------- Explore by system (home) ---------- */
.home-explore{padding-top:8px; padding-bottom:8px;}
.home-explore-panel{
  border-radius:20px;
  border:1px solid var(--line);
  background:
    linear-gradient(180deg, rgba(255,255,255,.92), rgba(255,255,255,.96)),
    radial-gradient(circle at top left, rgba(183,123,27,.08), transparent 42%);
  padding:22px 22px 18px;
}
.home-explore-intro{max-width:560px; margin-bottom:16px;}
.home-explore-kicker{
  margin:0 0 8px;
  font-size:11px;
  font-weight:700;
  letter-spacing:.06em;
  text-transform:uppercase;
  color:var(--gold-dark, #8a5a1a);
}
.home-explore-intro h2{
  margin:0 0 8px;
  font-size:clamp(22px, 3vw, 28px);
  color:var(--night);
}
.home-explore-intro p{
  margin:0;
  font-size:14.5px;
  line-height:1.6;
  color:var(--muted);
}
.home-explore-grid{
  display:grid;
  grid-template-columns:repeat(5, minmax(0, 1fr));
  gap:10px;
}
.home-explore-card{
  display:flex;
  flex-direction:column;
  gap:4px;
  min-height:88px;
  padding:14px 14px 13px;
  border-radius:14px;
  border:1px solid #e6d9c9;
  background:#fff;
  text-decoration:none;
  color:inherit;
  transition:border-color .15s, transform .15s, box-shadow .15s;
}
.home-explore-card:hover{
  border-color:#cfb38d;
  transform:translateY(-2px);
  box-shadow:0 10px 22px rgba(60,36,21,.08);
}
.home-explore-card strong{
  font-size:14px;
  color:var(--night);
  line-height:1.25;
}
.home-explore-card span{
  font-size:12.5px;
  color:var(--muted);
  line-height:1.4;
}
.home-explore-seo{
  margin:16px 0 0;
  padding-top:14px;
  border-top:1px solid var(--line);
  font-size:13px;
  line-height:1.6;
  color:#6a5748;
}
.home-explore-seo strong{color:var(--night);}

@media (max-width:980px){
  .home-explore-grid{grid-template-columns:repeat(3, minmax(0, 1fr));}
}
@media (max-width:760px){
  .how-steps{grid-template-columns:1fr 1fr;}
  .how-step{
    border-right:0;
    border-bottom:1px solid var(--line);
  }
  .how-step:nth-child(odd){border-right:1px solid var(--line);}
  .how-step:nth-last-child(-n+2){border-bottom:0;}
  .home-explore-grid{grid-template-columns:1fr 1fr;}
  .home-explore-panel{padding:18px 16px 14px;}
}
@media (max-width:480px){
  .how-steps{grid-template-columns:1fr;}
  .how-step{
    border-right:0 !important;
    border-bottom:1px solid var(--line);
    padding:16px;
  }
  .how-step:last-child{border-bottom:0;}
  .home-explore-grid{grid-template-columns:1fr;}
  .home-explore-card{min-height:0;}
}

/* ---------- How it works (legacy cards, other pages) ---------- */
.steps{display:grid; grid-template-columns:repeat(4,1fr); gap:18px;}
@media (max-width:760px){.steps{grid-template-columns:repeat(2,1fr);}}
@media (max-width:480px){.steps{grid-template-columns:1fr;}}
.type-caps-grid{grid-template-columns:repeat(2,1fr);}
@media (max-width:640px){.type-caps-grid{grid-template-columns:1fr;}}
.step{background:#fff; border:1px solid var(--line); border-radius:var(--radius); padding:18px;}
.step b{display:block; font-family:var(--font-display); font-size:24px; color:var(--gold); margin-bottom:8px;}
.step h4{margin:0 0 6px; font-size:14.5px; color:var(--night);}
.step p{margin:0; font-size:13px; color:var(--muted); line-height:1.5;}

/* ---------- Footer ---------- */
footer{background:var(--night-2); color:rgba(255,255,255,.75); padding:38px 0 20px; margin-top:36px;}
.footer-grid{display:grid; grid-template-columns:2fr 1fr 1fr 1fr; gap:26px;}
@media (max-width:760px){.footer-grid{grid-template-columns:1fr 1fr; gap:24px;}}
@media (max-width:480px){.footer-grid{grid-template-columns:1fr; text-align:center;}}
footer h5{color:#fff; font-size:13px; margin:0 0 12px; text-transform:uppercase; letter-spacing:.04em;}
footer p{font-size:13.5px; line-height:1.6; margin:0 0 10px;}
footer ul{list-style:none; padding:0; margin:0; display:flex; flex-direction:column; gap:9px; font-size:13.5px;}
@media (max-width:480px){footer ul{align-items:center;}}
footer a:hover{color:var(--gold);}
.footer-bottom{border-top:1px solid rgba(255,255,255,.1); margin-top:28px; padding-top:16px; font-size:12px; display:flex; justify-content:space-between; flex-wrap:wrap; gap:8px;}
@media (max-width:480px){.footer-bottom{justify-content:center; text-align:center;}}

/* ---------- WhatsApp float button ---------- */
.wa-float{
  position:fixed; bottom:18px; right:18px; z-index:90;
  background:var(--green-wa); color:#fff; width:56px; height:56px; border-radius:50%;
  display:flex; align-items:center; justify-content:center; box-shadow:0 10px 26px rgba(37,211,102,.45);
  font-size:0; line-height:0; overflow:hidden;
  animation:pulse 2.4s infinite;
}
.wa-float::before{
  content:"";
  width:30px;
  height:30px;
  flex-shrink:0;
  background:center / contain no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23fff'%3E%3Cpath d='M17.472 14.382c-.297-.149-1.758-.867-2.03-.967-.273-.099-.471-.148-.67.15-.197.297-.767.966-.94 1.164-.173.199-.347.223-.644.075-.297-.15-1.255-.463-2.39-1.475-.883-.788-1.48-1.761-1.653-2.059-.173-.297-.018-.458.13-.606.134-.133.298-.347.446-.52.149-.174.198-.298.298-.497.099-.198.05-.371-.025-.52-.075-.149-.669-1.612-.916-2.207-.242-.579-.487-.5-.669-.51-.173-.008-.371-.01-.57-.01-.198 0-.52.074-.792.372-.272.297-1.04 1.016-1.04 2.479 0 1.462 1.065 2.875 1.213 3.074.149.198 2.096 3.2 5.077 4.487.709.306 1.262.489 1.694.625.712.227 1.36.195 1.871.118.571-.085 1.758-.719 2.006-1.413.248-.694.248-1.289.173-1.413-.074-.124-.272-.198-.57-.347m-5.421 7.403h-.004a9.87 9.87 0 01-5.031-1.378l-.361-.214-3.741.982.998-3.648-.235-.374a9.86 9.86 0 01-1.51-5.26c.001-5.45 4.436-9.884 9.888-9.884 2.64 0 5.122 1.03 6.988 2.898a9.825 9.825 0 012.893 6.994c-.003 5.45-4.435 9.884-9.885 9.884m8.413-18.297A11.815 11.815 0 0012.05 0C5.495 0 .16 5.335.157 11.892c0 2.096.547 4.142 1.588 5.945L.057 24l6.305-1.654a11.882 11.882 0 005.683 1.448h.005c6.554 0 11.89-5.335 11.893-11.893a11.821 11.821 0 00-3.48-8.413z'/%3E%3C/svg%3E");
}
.btn-wa{
  gap:8px;
}
.btn-wa::before{
  content:"";
  width:18px;
  height:18px;
  flex-shrink:0;
  background:center / contain no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23fff'%3E%3Cpath d='M17.472 14.382c-.297-.149-1.758-.867-2.03-.967-.273-.099-.471-.148-.67.15-.197.297-.767.966-.94 1.164-.173.199-.347.223-.644.075-.297-.15-1.255-.463-2.39-1.475-.883-.788-1.48-1.761-1.653-2.059-.173-.297-.018-.458.13-.606.134-.133.298-.347.446-.52.149-.174.198-.298.298-.497.099-.198.05-.371-.025-.52-.075-.149-.669-1.612-.916-2.207-.242-.579-.487-.5-.669-.51-.173-.008-.371-.01-.57-.01-.198 0-.52.074-.792.372-.272.297-1.04 1.016-1.04 2.479 0 1.462 1.065 2.875 1.213 3.074.149.198 2.096 3.2 5.077 4.487.709.306 1.262.489 1.694.625.712.227 1.36.195 1.871.118.571-.085 1.758-.719 2.006-1.413.248-.694.248-1.289.173-1.413-.074-.124-.272-.198-.57-.347m-5.421 7.403h-.004a9.87 9.87 0 01-5.031-1.378l-.361-.214-3.741.982.998-3.648-.235-.374a9.86 9.86 0 01-1.51-5.26c.001-5.45 4.436-9.884 9.888-9.884 2.64 0 5.122 1.03 6.988 2.898a9.825 9.825 0 012.893 6.994c-.003 5.45-4.435 9.884-9.885 9.884m8.413-18.297A11.815 11.815 0 0012.05 0C5.495 0 .16 5.335.157 11.892c0 2.096.547 4.142 1.588 5.945L.057 24l6.305-1.654a11.882 11.882 0 005.683 1.448h.005c6.554 0 11.89-5.335 11.893-11.893a11.821 11.821 0 00-3.48-8.413z'/%3E%3C/svg%3E");
}
@keyframes pulse{
  0%{box-shadow:0 0 0 0 rgba(37,211,102,.5);}
  70%{box-shadow:0 0 0 16px rgba(37,211,102,0);}
  100%{box-shadow:0 0 0 0 rgba(37,211,102,0);}
}

/* ---------- Product page ---------- */
.breadcrumb{font-size:13px; color:var(--muted); padding:16px 0 0;}
.breadcrumb a{color:var(--night); font-weight:600;}
.product-layout{display:grid; grid-template-columns:1fr 1fr; gap:36px; padding:24px 0 46px;}
@media (max-width:880px){.product-layout{grid-template-columns:1fr; gap:22px;}}

.gallery-main{
  border-radius:var(--radius);
  overflow:hidden;
  aspect-ratio:1/1;
  background:
    radial-gradient(circle at 30% 20%, rgba(255,255,255,.9), transparent 45%),
    linear-gradient(180deg, #f7f1ea 0%, #efe4d6 100%);
  border:1px solid var(--line);
  display:grid;
  place-items:center;
}
.gallery-main img{
  width:100%;
  height:100%;
  object-fit:contain;
  object-position:center;
  padding:18px;
  box-sizing:border-box;
}
.gallery-thumbs{display:flex; gap:10px; margin-top:10px;}
.gallery-thumbs img{
  width:70px; height:70px; object-fit:contain; object-position:center;
  padding:4px; box-sizing:border-box;
  background:#f6f0e8;
  border-radius:var(--radius-sm); cursor:pointer;
  border:2px solid transparent; opacity:.75; transition:all .15s;
}
.gallery-thumbs img.active{border-color:var(--gold); opacity:1;}

.pp-cat{font-size:12px; font-weight:700; color:var(--gold); text-transform:uppercase; letter-spacing:.05em;}
.pp-title{font-size:clamp(21px,3vw,28px); color:var(--night); margin:6px 0 12px;}
.pp-rating{display:flex; align-items:center; gap:8px; font-size:13.5px; color:var(--muted); margin-bottom:14px; flex-wrap:wrap;}
.stars{color:var(--gold); letter-spacing:1px;}
.pp-price-row{display:flex; align-items:baseline; gap:12px; margin-bottom:6px; flex-wrap:wrap;}
.pp-price{font-family:var(--font-display); font-size:28px; font-weight:600; color:var(--night);}
.pp-price-old{font-size:15px; color:#b0a294; text-decoration:line-through;}
.pp-save{background:var(--coral); color:#fff; font-size:11.5px; font-weight:700; padding:4px 9px; border-radius:99px;}
.pp-stock{display:flex; align-items:center; gap:8px; font-size:13px; color:var(--coral); font-weight:600; margin:10px 0 18px; flex-wrap:wrap;}
.pp-desc{font-size:14.5px; line-height:1.7; color:#4a3a2c; margin-bottom:20px;}
.pp-badges{display:flex; gap:9px; flex-wrap:wrap; margin-bottom:22px;}
.pp-badge{display:flex; align-items:center; gap:7px; font-size:12.5px; font-weight:600; color:var(--night); background:var(--paper-2); padding:8px 12px; border-radius:99px;}
.pp-badge-warranty{
  color:#2f4d3f;
  background:linear-gradient(180deg, #f9f5e9 0%, #eee6d1 100%);
  border:1px solid #d9c9a1;
  box-shadow:0 1px 0 rgba(255,255,255,.72) inset;
}
.pp-actions{display:flex; gap:12px; flex-wrap:wrap;}
.qty-field-pp{
  width:100%;
  padding:12px 14px;
  border:1px solid var(--line);
  border-radius:14px;
  background:linear-gradient(180deg, #fff 0%, #faf6f0 100%);
}
.qty-field-pp .qty-field-top{margin-bottom:2px;}
.qty-field-pp .qty-field-label{font-size:12px;}
.qty-field-pp .qty-field-stock{font-size:12.5px;}
.qty-inline-pp{height:44px; padding:6px; border-radius:12px; width:100%; justify-content:space-between;}
.qty-inline-pp .qty-btn{width:34px; height:34px;}
.qty-inline-pp .qty-input{width:64px; font-size:16px;}
.pp-actions .btn{flex:1; min-width:160px; padding:14px 18px; font-size:14.5px;}
@media (max-width:480px){.pp-actions .btn{min-width:100%;}}
@media (max-width:700px){
  .card-warranty{font-size:10.5px; padding:3px 7px;}

  /* Fiches produit /p/ : typo et densite reduites sur mobile */
  .product-layout{padding:12px 0 28px; gap:16px;}
  .breadcrumb{font-size:12px; margin-bottom:4px;}
  .pp-cat{font-size:11px;}
  .pp-title{
    font-size:22px;
    line-height:1.2;
    margin:4px 0 8px;
  }
  .pp-rating{
    font-size:12px;
    margin-bottom:10px;
    justify-content:flex-start;
  }
  .pp-price{font-size:22px;}
  .pp-price-old{font-size:13px;}
  .pp-save{font-size:10.5px; padding:3px 8px;}
  .pp-stock{
    font-size:12px;
    margin:6px 0 12px;
    justify-content:flex-start;
  }
  .pp-desc{
    font-size:13.5px;
    line-height:1.55;
    margin-bottom:12px;
  }
  .pp-local{
    padding:10px 12px;
    margin:0 0 12px;
  }
  .pp-local p{font-size:12.5px; line-height:1.45;}
  .pp-badges{
    gap:6px;
    margin-bottom:14px;
    justify-content:flex-start;
  }
  .pp-badge{font-size:11.5px; padding:6px 10px;}
  .pp-actions{gap:8px;}
  .pp-actions .btn{
    min-width:100%;
    padding:12px 14px;
    font-size:14px;
  }
  .qty-field-pp{padding:10px 12px; border-radius:12px;}
  .qty-field-pp .qty-field-label{font-size:11px;}
  .qty-field-pp .qty-field-stock{font-size:12px;}
  .gallery-main img{padding:12px;}
  .reviews{margin-top:28px;}
  .review-card{padding:12px;}
  .review-name{font-size:13px;}
  .review-text{font-size:12.5px;}
  .pp-cat,
  .pp-title,
  .pp-desc{text-align:left;}
  .pp-rating,
  .pp-price-row,
  .pp-stock,
  .pp-badges{justify-content:flex-start;}
}
@media (max-width:480px){
  .pp-badge-warranty{font-size:11.5px; padding:6px 9px;}
  .pp-title{font-size:20px;}
  .pp-price{font-size:20px;}
}

/* Reviews */
.reviews{margin-top:44px;}
.review-card{background:#fff; border:1px solid var(--line); border-radius:var(--radius); padding:16px; margin-bottom:12px;}
.review-head{display:flex; justify-content:space-between; align-items:center; margin-bottom:8px; flex-wrap:wrap; gap:6px;}
.review-name{font-weight:700; font-size:14px; color:var(--night);}
.review-city{font-size:12px; color:#b0a294;}
.review-text{font-size:13.5px; color:#4a3a2c; line-height:1.6; margin:0;}

/* Related */
.related-grid{display:grid; grid-template-columns:repeat(4,1fr); gap:16px;}
@media (max-width:880px){.related-grid{grid-template-columns:repeat(2,1fr);}}

/* ---------- Order form / checkout ---------- */
.checkout-page{
  padding:22px 0 110px;
  background:
    radial-gradient(ellipse 80% 50% at 10% 0%, rgba(20,145,116,.10), transparent 55%),
    radial-gradient(ellipse 60% 40% at 100% 20%, rgba(224,96,47,.07), transparent 50%);
}
.checkout-hero{
  text-align:center;
  margin-bottom:22px;
  padding:6px 8px 4px;
}
.checkout-kicker{
  margin:0 0 8px;
  font-size:12px;
  font-weight:700;
  letter-spacing:.08em;
  text-transform:uppercase;
  color:var(--gold-dark);
}
.checkout-hero h1{
  font-size:clamp(1.55rem, 4vw, 2.1rem);
  color:var(--night);
  margin:0 0 14px;
}
.checkout-perks{
  list-style:none;
  margin:0;
  padding:0;
  display:flex;
  flex-wrap:wrap;
  justify-content:center;
  gap:8px;
}
.checkout-perks li{
  font-size:12.5px;
  font-weight:600;
  color:var(--night);
  background:#fff;
  border:1px solid var(--line);
  padding:7px 12px;
  border-radius:999px;
  box-shadow:0 2px 8px rgba(60,36,21,.04);
}
.checkout-wrap{
  display:grid;
  grid-template-columns:minmax(0,1fr) minmax(280px,340px);
  gap:22px;
  align-items:start;
}
.form-card, .summary-card{
  background:#fff;
  border:1px solid var(--line);
  border-radius:20px;
  padding:22px 22px 20px;
  box-shadow:0 12px 32px rgba(60,36,21,.07);
}
.form-section{
  margin-bottom:22px;
  padding-bottom:20px;
  border-bottom:1px solid var(--line);
}
.form-section:last-of-type{border-bottom:none; margin-bottom:18px; padding-bottom:0;}
.form-section-head{
  display:flex;
  align-items:flex-start;
  gap:12px;
  margin-bottom:16px;
}
.form-step{
  flex-shrink:0;
  width:32px;
  height:32px;
  border-radius:10px;
  display:grid;
  place-items:center;
  font-size:14px;
  font-weight:800;
  color:#fff;
  background:linear-gradient(145deg, var(--gold) 0%, var(--gold-dark) 100%);
  box-shadow:0 4px 12px rgba(20,145,116,.28);
}
.form-section-head h2{
  font-size:1.15rem;
  color:var(--night);
  margin:0 0 3px;
}
.form-section-head p{
  margin:0;
  font-size:13px;
  color:var(--muted);
  line-height:1.4;
}
.field-row{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:12px;
}
.field{margin-bottom:14px;}
.field-row .field{margin-bottom:0;}
.field label{
  display:block;
  font-size:13px;
  font-weight:700;
  color:var(--night);
  margin-bottom:7px;
}
.label-opt{font-weight:500; color:var(--muted);}
.field-hint{font-size:12px; color:var(--muted); margin:-10px 0 16px;}
.field input, .field select, .field textarea{
  width:100%;
  min-height:52px;
  padding:14px 16px;
  border:2px solid #e5d6c4;
  border-radius:12px;
  font-size:16px;
  font-family:inherit;
  background:#fffefb;
  color:var(--ink);
  transition:border-color .15s, box-shadow .15s, background .15s;
  -webkit-appearance:none;
  appearance:none;
}
.field select{
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%233C2415' stroke-width='2.5'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat:no-repeat;
  background-position:right 14px center;
  padding-right:42px;
  cursor:pointer;
}
.field input::placeholder, .field textarea::placeholder{color:#b5a090;}
.field input:hover, .field select:hover, .field textarea:hover{border-color:#d4bfa6;}
.field input:focus, .field select:focus, .field textarea:focus{
  outline:none;
  border-color:var(--gold);
  background:#fff;
  box-shadow:0 0 0 4px rgba(20,145,116,.16);
}
.field-zone select{
  border-color:rgba(20,145,116,.35);
  background-color:#f3faf7;
  font-weight:600;
}
.field-zone.is-filled select{
  border-color:var(--gold);
  background:#fff;
}
.delivery-fee-hint{
  display:block;
  margin-top:8px;
  font-size:12.5px;
  font-weight:600;
  color:var(--muted);
}
.delivery-fee-hint.is-set{color:var(--gold-dark);}

.pay-note{
  display:flex;
  align-items:flex-start;
  gap:12px;
  background:linear-gradient(135deg, #f3faf7 0%, #eef7f3 100%);
  border:1.5px solid rgba(20,145,116,.22);
  border-radius:14px;
  padding:14px 16px;
}
.pay-note-icon{
  width:40px; height:40px;
  border-radius:12px;
  background:#fff;
  display:grid; place-items:center;
  font-size:20px;
  box-shadow:0 2px 8px rgba(20,145,116,.12);
  flex-shrink:0;
}
.pay-note strong{
  display:block;
  font-size:14.5px;
  color:var(--night);
  margin-bottom:2px;
}
.pay-note span{font-size:13px; color:var(--muted); line-height:1.4;}

.checkout-submit{
  margin-top:4px;
  min-height:54px;
  font-size:16px;
  font-weight:700;
  border-radius:14px;
  box-shadow:0 8px 22px rgba(20,145,116,.28);
}
.checkout-submit.is-disabled,
.checkout-sticky-btn.is-disabled,
.btn-primary.is-disabled,
.btn-primary:disabled{
  background:#c5b8a8 !important;
  color:#fff !important;
  box-shadow:none !important;
  cursor:not-allowed;
  opacity:.85;
  transform:none !important;
}
.checkout-progress{
  display:none;
  align-items:center;
  justify-content:center;
  gap:10px;
  margin:0 0 16px;
}
.checkout-progress-step{
  font-size:12px;
  font-weight:700;
  color:var(--muted);
  padding:6px 10px;
  border-radius:999px;
  background:#fff;
  border:1px solid var(--line);
}
.checkout-progress-step.is-active{
  color:#fff;
  background:var(--gold);
  border-color:var(--gold);
}
.checkout-progress-step.is-done{
  color:var(--gold-dark);
  background:#e8f5f0;
  border-color:rgba(20,145,116,.25);
}
.checkout-progress-line{
  width:28px;
  height:2px;
  background:#e0d2c0;
  border-radius:2px;
}
.checkout-back-btn{
  display:none;
  margin:0 0 14px;
  padding:0;
  border:none;
  background:none;
  color:var(--gold-dark);
  font-size:13.5px;
  font-weight:700;
  cursor:pointer;
  font-family:inherit;
}
.checkout-trust{
  margin:12px 0 0;
  text-align:center;
  font-size:12px;
  color:var(--muted);
  line-height:1.45;
}

/* Wave / OM (réserve) */
.pay-options{display:flex; flex-direction:column; gap:10px; margin-bottom:18px;}
.pay-opt{
  border:1.5px solid var(--line); border-radius:var(--radius-sm); padding:13px 14px;
  display:flex; align-items:center; gap:12px; cursor:pointer; transition:all .15s;
}
.pay-opt:hover{border-color:var(--gold);}
.pay-opt.selected{border-color:var(--night); background:var(--paper-2);}
.pay-opt input{accent-color:var(--night);}
.pay-opt .pay-name{font-weight:700; font-size:14px; color:var(--night);}
.pay-opt .pay-sub{font-size:12px; color:var(--muted);}
.pay-detail{
  background:var(--paper-2); border-radius:var(--radius-sm); padding:11px 14px; font-size:13px;
  margin-top:-4px; margin-bottom:18px; display:none; color:var(--night); font-weight:600;
}
.pay-detail.show{display:block;}

.summary-card{position:sticky; top:78px;}
.summary-head{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
  margin-bottom:14px;
}
.summary-head h2{font-size:1.15rem; color:var(--night); margin:0;}
.summary-count{
  font-size:12px;
  font-weight:700;
  color:var(--gold-dark);
  background:#e8f5f0;
  border-radius:999px;
  padding:5px 10px;
}
.summary-items{margin-bottom:4px;}
.summary-item{
  display:flex;
  gap:12px;
  align-items:flex-start;
  padding:12px 0;
  border-bottom:1px solid var(--line);
}
.summary-item:last-child{border-bottom:none;}
.summary-item img{
  width:56px; height:56px; border-radius:12px;
  object-fit:contain; object-position:center;
  padding:4px; box-sizing:border-box;
  background:#f7f1e8;
  border:1px solid var(--line);
  flex-shrink:0;
}
.summary-item-body{flex:1; min-width:0;}
.summary-item .si-name{font-size:13.5px; font-weight:600; color:var(--ink); line-height:1.3;}
.summary-item .si-price{font-size:13px; color:var(--muted); margin-top:2px;}
.summary-totals{
  margin-top:12px;
  padding:14px 14px 12px;
  border-radius:14px;
  background:linear-gradient(160deg, #f8f3eb 0%, #f3ebe0 100%);
  border:1px solid #eadfce;
}
.summary-row{
  display:flex;
  justify-content:space-between;
  align-items:baseline;
  gap:12px;
  font-size:14px;
  padding:7px 0;
  color:var(--ink);
}
.summary-row + .summary-row{border-top:1px dashed #e0d2c0;}
.summary-row.total{
  font-weight:800;
  font-size:17px;
  color:var(--night);
  padding-top:10px;
}
.summary-row.total span:last-child{color:var(--gold-dark);}
.summary-pending{font-size:12.5px; font-weight:600; color:var(--coral);}
.summary-delivery-label{
  color:var(--muted);
  font-size:13px;
  line-height:1.3;
  max-width:70%;
}
.qty-control{display:flex; align-items:center; gap:8px; margin-top:8px; flex-wrap:wrap;}
.qty-control button{
  width:34px; height:34px; border-radius:10px;
  border:1.5px solid var(--line); background:#fff;
  cursor:pointer; font-weight:700; font-size:16px; color:var(--night);
  touch-action:manipulation;
}
.qty-control button:active{background:var(--paper-2);}
.qty-control > span{min-width:1.2em; text-align:center; font-weight:700; font-size:14px;}
.qty-remove{
  width:auto !important;
  height:auto !important;
  border:none !important;
  background:none !important;
  color:var(--coral) !important;
  font-size:12.5px !important;
  font-weight:700 !important;
  padding:4px 2px !important;
  margin-left:4px;
}

.checkout-sticky{display:none;}
.confirm-box{
  text-align:center;
  padding:48px 0 56px;
  position:relative;
}
.confirm-anim{
  position:relative;
  width:112px;
  height:112px;
  margin:0 auto 18px;
}
.confirm-anim-ring{
  position:absolute;
  inset:0;
  border-radius:50%;
  background:radial-gradient(circle at 50% 45%, rgba(20,145,116,.18), transparent 68%);
  animation:confirm-pulse 1.6s ease-out both;
}
.confirm-anim-check{
  position:absolute;
  inset:12px;
  border-radius:50%;
  background:linear-gradient(145deg, var(--gold) 0%, var(--gold-dark) 100%);
  box-shadow:0 14px 30px rgba(20,145,116,.28);
  display:grid;
  place-items:center;
  animation:confirm-pop .55s cubic-bezier(.2,1.2,.4,1) both;
}
.confirm-anim-check svg{
  width:42px;
  height:42px;
}
.confirm-anim-check path{
  fill:none;
  stroke:#fff;
  stroke-width:3.5;
  stroke-linecap:round;
  stroke-linejoin:round;
  stroke-dasharray:48;
  stroke-dashoffset:48;
  animation:confirm-draw .55s ease forwards .35s;
}
.confirm-burst{
  position:absolute;
  inset:-8px;
  pointer-events:none;
}
.confirm-burst i{
  position:absolute;
  left:50%;
  top:50%;
  width:8px;
  height:8px;
  border-radius:50%;
  opacity:0;
  animation:confirm-burst 1s ease-out both;
}
.confirm-burst i:nth-child(1){--dx:-42px; --dy:-28px; background:#149174; animation-delay:.2s;}
.confirm-burst i:nth-child(2){--dx:38px; --dy:-34px; background:#e0602f; animation-delay:.28s;}
.confirm-burst i:nth-child(3){--dx:-34px; --dy:30px; background:#b77b1b; animation-delay:.34s;}
.confirm-burst i:nth-child(4){--dx:44px; --dy:22px; background:#149174; animation-delay:.4s;}
.confirm-burst i:nth-child(5){--dx:0px; --dy:-48px; background:#e8c27a; animation-delay:.24s;}
.confirm-burst i:nth-child(6){--dx:-8px; --dy:46px; background:#e0602f; animation-delay:.44s;}
.confirm-box h1{
  color:var(--night);
  font-size:clamp(1.5rem, 4vw, 1.85rem);
  margin:0 0 6px;
  animation:confirm-fade-up .5s ease both .2s;
}
.confirm-box #order-ref{
  animation:confirm-fade-up .5s ease both .32s;
}
.confirm-lead{
  color:#5b6a72;
  max-width:520px;
  margin:12px auto 26px;
  animation:confirm-fade-up .5s ease both .42s;
}
.confirm-actions{
  animation:confirm-fade-up .5s ease both .55s;
}
.confirm-history{
  margin-top:26px;
  text-align:left;
  max-width:620px;
  margin-left:auto;
  margin-right:auto;
  animation:confirm-fade-up .5s ease both .7s;
}
@keyframes confirm-pop{
  from{transform:scale(.55); opacity:0;}
  to{transform:scale(1); opacity:1;}
}
@keyframes confirm-draw{
  to{stroke-dashoffset:0;}
}
@keyframes confirm-pulse{
  from{transform:scale(.7); opacity:.9;}
  to{transform:scale(1.35); opacity:0;}
}
@keyframes confirm-burst{
  0%{transform:translate(-50%,-50%) scale(.4); opacity:0;}
  30%{opacity:1;}
  100%{transform:translate(calc(-50% + var(--dx)), calc(-50% + var(--dy))) scale(1); opacity:0;}
}
@keyframes confirm-fade-up{
  from{opacity:0; transform:translateY(12px);}
  to{opacity:1; transform:translateY(0);}
}
@media (prefers-reduced-motion: reduce){
  .confirm-anim-ring,
  .confirm-anim-check,
  .confirm-anim-check path,
  .confirm-burst i,
  .confirm-box h1,
  .confirm-box #order-ref,
  .confirm-lead,
  .confirm-actions,
  .confirm-history{
    animation:none !important;
  }
  .confirm-anim-check path{stroke-dashoffset:0;}
}
.urgency-banner{
  background:rgba(224,96,47,.08); border:1px solid rgba(224,96,47,.28); color:var(--coral);
  font-size:13px; font-weight:700; padding:10px 14px; border-radius:var(--radius-sm); margin-bottom:18px;
  display:flex; align-items:center; gap:8px; flex-wrap:wrap;
}
.empty-state{text-align:center; padding:56px 20px; color:var(--muted);}

@media (max-width:880px){
  .checkout-page{padding:14px 0 108px;}
  .checkout-hero{margin-bottom:16px; text-align:left;}
  .checkout-perks{justify-content:flex-start;}
  .checkout-progress{display:flex;}
  .checkout-wrap{
    grid-template-columns:1fr;
    gap:14px;
  }
  .checkout-page[data-step="cart"] .form-card{display:none;}
  .checkout-page[data-step="form"] .summary-card{display:none;}
  .checkout-page[data-step="form"] .checkout-back-btn{display:inline-flex;}
  .summary-card{
    order:-1;
    position:static;
    padding:14px 16px;
    border-radius:16px;
  }
  .summary-head{margin-bottom:8px;}
  .summary-head h2{font-size:1.05rem;}
  .summary-items{
    display:flex;
    gap:10px;
    overflow-x:auto;
    margin:0 -4px 8px;
    padding:4px;
    scrollbar-width:none;
  }
  .summary-items::-webkit-scrollbar{display:none;}
  .summary-item{
    flex:0 0 auto;
    width:min(220px, 72vw);
    flex-direction:column;
    padding:10px;
    border:1px solid var(--line);
    border-radius:14px;
    background:#fbf8f3;
    border-bottom:1px solid var(--line);
  }
  .summary-item img{width:100%; height:72px;}
  .summary-totals{margin-top:4px; padding:12px;}
  .form-card{padding:18px 16px 16px; border-radius:18px;}
  .field-row{grid-template-columns:1fr; gap:0;}
  .field-row .field{margin-bottom:14px;}
  .field-row .field:last-child{margin-bottom:0;}
  .form-section{margin-bottom:18px; padding-bottom:16px;}
  .form-step{width:28px; height:28px; font-size:13px; border-radius:8px;}
  .form-section-head h2{font-size:1.05rem;}
  .checkout-submit{display:none;} /* CTA sticky sur mobile */
  .checkout-trust{margin-top:0; margin-bottom:4px;}
  .checkout-sticky{
    display:flex;
    align-items:center;
    gap:12px;
    position:fixed;
    left:0; right:0; bottom:0;
    z-index:60;
    padding:12px 16px calc(12px + env(safe-area-inset-bottom));
    background:rgba(255,255,255,.94);
    backdrop-filter:blur(12px);
    -webkit-backdrop-filter:blur(12px);
    border-top:1px solid var(--line);
    box-shadow:0 -8px 28px rgba(60,36,21,.12);
  }
  .checkout-sticky-info{
    display:flex;
    flex-direction:column;
    min-width:0;
  }
  .checkout-sticky-info span{
    font-size:11px;
    font-weight:600;
    color:var(--muted);
    text-transform:uppercase;
    letter-spacing:.04em;
  }
  .checkout-sticky-info strong{
    font-size:1.15rem;
    font-weight:800;
    color:var(--gold-dark);
    font-family:var(--font-display);
    white-space:nowrap;
  }
  .checkout-sticky-btn{
    flex:1;
    min-height:50px;
    font-size:15.5px;
    font-weight:700;
    border-radius:14px;
    box-shadow:0 6px 18px rgba(20,145,116,.3);
  }
  body:has(#checkout-sticky) .wa-float{bottom:96px;}
}
@media (max-width:480px){
  .checkout-perks li{font-size:11.5px; padding:6px 10px;}
  .field input, .field select{min-height:50px; padding:13px 14px;}
  .qty-control button{width:36px; height:36px;}
}

/* ---------- Bloc SEO (contenu texte pour le référencement local) ---------- */
.seo-block{
  background:#fff;
  border:1px solid var(--line);
  border-radius:18px;
  padding:22px 24px 20px;
  max-width:860px;
  margin:0 auto;
  box-shadow:0 10px 28px rgba(60, 36, 21, .05);
}
.seo-block-kicker{
  display:inline-flex;
  align-items:center;
  gap:6px;
  font-size:11px;
  font-weight:700;
  letter-spacing:.06em;
  text-transform:uppercase;
  color:var(--gold-dark, #8a5a1a);
  background:#f7ead8;
  border:1px solid #ead2b0;
  border-radius:999px;
  padding:5px 10px;
  margin-bottom:12px;
}
.seo-block h2{
  font-family:var(--font-display);
  font-size:clamp(20px, 3.4vw, 26px);
  line-height:1.25;
  color:var(--night);
  margin:0 0 14px;
  letter-spacing:-.02em;
}
.seo-block-lead,
.seo-block p{
  font-size:15px;
  line-height:1.7;
  color:#4d3d31;
  margin:0;
}
.seo-block-lead{margin-bottom:14px;}
.seo-block p + p{margin-top:12px;}
.seo-block strong{color:var(--night); font-weight:700;}
.seo-block a{
  color:var(--night);
  text-decoration:underline;
  text-decoration-thickness:1.5px;
  text-underline-offset:3px;
}
.seo-block a:hover{color:var(--gold-dark, #8a5a1a);}
.seo-facts{
  display:grid;
  grid-template-columns:repeat(3, minmax(0, 1fr));
  gap:10px;
  margin:0 0 16px;
}
.seo-fact{
  background:linear-gradient(180deg, #fbf7f1 0%, #f3ebe1 100%);
  border:1px solid #e8dccf;
  border-radius:14px;
  padding:12px 12px 11px;
  min-width:0;
}
.seo-fact b{
  display:block;
  font-size:13px;
  font-weight:700;
  color:var(--night);
  margin-bottom:4px;
}
.seo-fact span{
  display:block;
  font-size:12.5px;
  line-height:1.45;
  color:#5f4d3f;
}
.seo-block-links{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
  margin-top:16px;
  padding-top:14px;
  border-top:1px solid var(--line);
}
.seo-chip{
  display:inline-flex;
  align-items:center;
  gap:6px;
  padding:8px 12px;
  border-radius:999px;
  background:#f6f0e8;
  border:1px solid #e5d8c8;
  color:var(--night);
  font-size:12.5px;
  font-weight:600;
  text-decoration:none !important;
  line-height:1.2;
}
.seo-chip:hover{
  background:#efe4d4;
  border-color:#d8c3a8;
  color:var(--night);
}
.seo-chip-wa{
  background:#e8f7ef;
  border-color:#b7e0c8;
  color:#146c43;
}
.pp-local{
  margin:12px 0 4px;
  padding:12px 14px;
  background:var(--paper-2);
  border:1px solid var(--line);
  border-radius:12px;
}
.pp-local p{margin:0; font-size:13.5px; line-height:1.55; color:#5a4a3c;}

@media (max-width:720px){
  .seo-facts{grid-template-columns:1fr;}
  .seo-block{padding:18px 16px 16px; border-radius:16px;}
  .seo-block h2{font-size:20px; margin-bottom:12px;}
  .seo-block-lead,
  .seo-block p{font-size:14px; line-height:1.65;}
  .seo-fact{padding:11px 12px;}
  .seo-block-links{gap:8px;}
  .seo-chip{width:100%; justify-content:center;}
}
@media (max-width:640px){
  .card-img img{padding:8px;}
  .gallery-main img{padding:12px;}
  .seo-block{text-align:left;}
}

/* ---------- Admin header + bottom nav (WhatsApp-style) ---------- */
.admin-app .wa-float{display:none !important;}
.admin-app .container{
  padding-left:max(20px, calc(12px + env(safe-area-inset-left)));
  padding-right:max(20px, calc(12px + env(safe-area-inset-right)));
}
.admin-app input,
.admin-app textarea,
.admin-app select{
  font-size:16px !important; /* empêche le zoom auto iOS/PWA au focus */
}
.admin-site-header{
  background:linear-gradient(180deg, #fff 0%, #f8f1e8 100%);
  border-bottom:1px solid var(--line);
  padding-left:env(safe-area-inset-left);
  padding-right:env(safe-area-inset-right);
}
.admin-site-header .brand{
  font-size:17px;
  color:var(--night);
  overflow:visible;
  max-width:none;
  text-overflow:clip;
  padding-left:2px;
  letter-spacing:0;
}
.admin-nav{
  gap:12px;
  flex-wrap:nowrap;
  justify-content:flex-start;
  min-height:52px;
  padding-left:2px;
}
.admin-header-title{
  margin-left:auto;
  font-size:13px;
  font-weight:800;
  color:var(--gold-dark);
  background:#e8f5f0;
  border-radius:999px;
  padding:6px 12px;
}
.admin-site-header .mobile-menu-toggle,
.admin-site-header .mobile-nav-panel,
.admin-site-header .notification-center-button,
.admin-site-header .install-app-btn,
.admin-site-header .nav-links,
.admin-site-header .nav-actions{
  display:none !important;
}
.admin-main{
  padding:16px 0 110px;
}
.admin-panel-page-title{
  margin:0 0 8px;
  font-size:1.2rem;
  color:var(--night);
}
.admin-bottom-nav{
  position:fixed;
  left:0;
  right:0;
  bottom:0;
  z-index:80;
  display:grid;
  grid-template-columns:repeat(3, 1fr);
  gap:0;
  padding:6px 8px calc(6px + env(safe-area-inset-bottom));
  background:rgba(255,255,255,.96);
  backdrop-filter:blur(14px);
  -webkit-backdrop-filter:blur(14px);
  border-top:1px solid var(--line);
  box-shadow:0 -8px 28px rgba(60,36,21,.10);
}
.admin-bottom-nav[hidden]{display:none !important;}
.admin-bottom-item{
  appearance:none;
  border:0;
  background:transparent;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  gap:3px;
  min-height:56px;
  padding:6px 4px;
  border-radius:14px;
  color:#7a6a5c;
  font-family:inherit;
  font-size:11px;
  font-weight:700;
  text-decoration:none;
  cursor:pointer;
  -webkit-tap-highlight-color:transparent;
}
.admin-bottom-icon{
  font-size:20px;
  line-height:1;
}
.admin-bottom-item.is-active{
  color:var(--gold-dark);
  background:rgba(20,145,116,.10);
}
.admin-bottom-item:active{
  transform:scale(.97);
}
@media (min-width:881px){
  .admin-bottom-nav{
    max-width:520px;
    left:50%;
    right:auto;
    transform:translateX(-50%);
    border-radius:18px 18px 0 0;
    border:1px solid var(--line);
    border-bottom:0;
  }
}
@media (max-width:640px){
  .admin-site-header .brand{
    font-size:15px;
    max-width:none;
    overflow:visible;
  }
}
@media (max-width:640px){
  .nav{flex-wrap:nowrap; gap:10px; justify-content:flex-start;}
  .nav-actions{
    margin-left:auto;
    padding:0;
    gap:8px;
    border:0;
    border-radius:0;
    background:transparent;
    box-shadow:none;
  }
  .brand{font-size:14px; min-width:0; max-width:42vw; overflow:hidden; text-overflow:ellipsis; flex-shrink:1;}
  .nav-actions{min-width:0; flex-shrink:0;}
  .nav-actions .btn,
  .nav-actions .nav-icon-btn{padding:8px 10px !important; font-size:12px !important;}
  .nav-actions .nav-icon-btn{width:38px; height:38px; min-width:38px;}
  .install-app-btn{min-width:38px; max-width:38px; overflow:hidden;}
  .nav-cart-btn{max-width:44vw;}
  .cart-count{min-width:16px; height:16px; font-size:10px; margin-left:4px; padding:0 4px; border-width:1.5px;}
  .nav-links{display:none;}
  .mobile-menu-toggle{display:inline-flex !important;}
  .mobile-menu-toggle::before{content:none;}
  .notification-center-button{
    display:inline-flex !important;
    width:38px;
    height:38px;
    min-width:38px;
    overflow:visible;
  }
  .notification-center-button .notif-count{
    top:-4px;
    right:-4px;
    min-width:17px;
    height:17px;
    font-size:10px;
    border-width:1.5px;
  }
  .notification-center-button .notif-count.is-wide{
    min-width:20px;
    font-size:9px;
  }
  .mm-panel{display:none !important;}
  .trust-inline{justify-content:center;}
  .hero .container{padding:40px 18px 34px;}
  .hero-text{text-align:center;}
  .hero h1, .hero p{margin-left:auto; margin-right:auto;}
  .hero-cta{justify-content:center;}
  .hero-contact-strip .container{font-size:12.5px; gap:8px;}
  .section-head{text-align:center; justify-content:center; flex-direction:column; align-items:center;}
  .midbanner{flex-direction:column; text-align:center;}
}
