/* ═══════════════════════════════════════════════════════════════
   BOUTIQUE — feuille de style, pensée mobile d'abord
   ═══════════════════════════════════════════════════════════════ */
:root{
  --c:#111827; --c2:#374151; --c-bg:#11182714;
  --dk:#111827; --muted:#6b7280; --border:#e5e7eb; --light:#f9fafb; --white:#fff;
  --ok:#16a34a; --warn:#f59e0b; --err:#dc2626;
  --r:12px; --r-sm:8px; --trans:.18s ease;
  --shadow:0 1px 3px rgba(0,0,0,.07); --shadow-lg:0 8px 28px rgba(0,0,0,.12);
  --head-h:56px;
}
*{box-sizing:border-box;margin:0;padding:0}
html{-webkit-text-size-adjust:100%}
body{font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Helvetica,Arial,sans-serif;
  font-size:15px;line-height:1.55;color:var(--dk);background:var(--light);
  padding-bottom:env(safe-area-inset-bottom)}
img{max-width:100%;display:block}
a{color:inherit;text-decoration:none}
button,input,select,textarea{font:inherit;color:inherit}
.muted{color:var(--muted);font-size:13px}
.lnk{background:none;border:none;color:var(--c);cursor:pointer;text-decoration:underline;font-size:13px}
.rich{font-size:15px;line-height:1.75}
.rich p{margin-bottom:12px} .rich h2{font-size:19px;margin:20px 0 8px}
.rich ul,.rich ol{margin:0 0 12px 20px}

/* ── Structure ── */
.page{max-width:1200px;margin:0 auto;padding:16px 14px 40px}
.page-mid{max-width:960px} .page-narrow{max-width:680px}
.page-title{font-size:22px;font-weight:800;line-height:1.25;margin-bottom:14px}
.sec-title{font-size:18px;font-weight:800;margin:24px 0 12px}
.sec-head{display:flex;align-items:baseline;justify-content:space-between;gap:12px}
.sec-more{font-size:13px;color:var(--c);font-weight:600}
.card{background:var(--white);border-radius:var(--r);border:1px solid var(--border);
  padding:16px;margin-bottom:14px}
.card-title{font-size:16px;font-weight:700;margin-bottom:12px}
.crumb{font-size:12px;color:var(--muted);margin-bottom:10px}
.crumb a{color:var(--muted)}
.row-2,.row-3{display:grid;gap:10px;grid-template-columns:1fr}
.frow{display:flex;gap:8px;align-items:center}
.frow .form-input{flex:1;min-width:0}

/* ── Boutons ── */
.btn{display:inline-flex;align-items:center;justify-content:center;gap:7px;
  padding:11px 18px;border-radius:var(--r-sm);border:none;cursor:pointer;
  font-size:14.5px;font-weight:600;transition:all var(--trans);text-align:center}
.btn-primary{background:var(--c);color:#fff}
.btn-primary:active{transform:scale(.98)}
.btn-secondary{background:var(--light);color:var(--dk);border:1px solid var(--border)}
.btn-ghost{background:transparent;color:var(--muted);border:1px solid var(--border)}
.btn-danger{background:#fee2e2;color:#991b1b}
.btn-full{width:100%;margin-top:8px}
.btn-sm{padding:8px 13px;font-size:13px}
.btn-lg{padding:14px 20px;font-size:16px}

/* ── Formulaires ── */
.form-group{margin-bottom:13px}
.form-label{display:block;font-size:13px;font-weight:600;margin-bottom:5px}
.form-input,.form-textarea{width:100%;padding:11px 12px;border:1px solid var(--border);
  border-radius:var(--r-sm);background:var(--white);font-size:16px}
.form-input:focus,.form-textarea:focus{outline:2px solid var(--c-bg);border-color:var(--c)}
.form-textarea{resize:vertical;min-height:80px}
.form-hint{font-size:12px;color:var(--muted);margin-top:4px}
.form-hint.err{color:var(--err)}
.sel-sm{width:auto;padding:8px 11px;font-size:13px}
.attr-check{display:inline-flex;align-items:center;gap:8px;font-size:14px;cursor:pointer}
.attr-check input{width:17px;height:17px;accent-color:var(--c)}

/* ── Messages ── */
.flash{max-width:1200px;margin:10px auto;padding:11px 14px;border-radius:var(--r-sm);font-size:14px}
.flash-success{background:#f0fdf4;border:1px solid #bbf7d0;color:#166534}
.flash-error{background:#fef2f2;border:1px solid #fecaca;color:#991b1b}
.flash-info{background:#eff6ff;border:1px solid #bfdbfe;color:#1e40af}
.notice{background:#eff6ff;border:1px solid #bfdbfe;border-radius:var(--r-sm);
  padding:12px;font-size:13.5px;color:#1e40af;margin-bottom:12px}
.notice-soft{background:var(--light);border-color:var(--border);color:var(--muted)}

/* ── En-tête ── */
.promo-bar{background:var(--c);color:#fff;text-align:center;font-size:12.5px;padding:6px 12px;font-weight:600}
#header{background:var(--white);border-bottom:1px solid var(--border);position:sticky;top:0;z-index:200}
.head-inner{max-width:1200px;margin:0 auto;padding:0 12px;height:var(--head-h);
  display:flex;align-items:center;gap:10px}
.burger{background:none;border:none;padding:6px;cursor:pointer;display:flex}
.burger svg{width:22px;height:22px}
.logo{font-weight:800;font-size:17px;white-space:nowrap}
.logo img{height:30px;width:auto}
.head-search{flex:1;display:none;align-items:center;gap:8px;background:var(--light);
  border-radius:22px;padding:8px 14px;min-width:0}
.head-search svg{width:16px;height:16px;color:var(--muted);flex-shrink:0}
.head-search input{border:none;background:none;outline:none;width:100%;font-size:14px}
.head-nav{display:flex;align-items:center;gap:2px;margin-left:auto}
.ico{display:flex;padding:8px;position:relative}
.ico svg{width:21px;height:21px}
.cart-dot{position:absolute;top:1px;right:1px;background:var(--err);color:#fff;
  font-size:10px;font-weight:700;min-width:16px;height:16px;border-radius:8px;
  display:flex;align-items:center;justify-content:center;padding:0 4px}
.cart-dot[hidden]{display:none}
.cat-bar{display:flex;gap:6px;overflow-x:auto;padding:8px 12px;
  border-top:1px solid var(--border);scrollbar-width:none}
.cat-bar::-webkit-scrollbar{display:none}
.cat-link{white-space:nowrap;padding:6px 12px;border-radius:20px;background:var(--light);
  font-size:13px;font-weight:600}
.cat-link:hover{background:var(--c);color:#fff}
/* Sélecteur de langue */
.lang-switch{position:relative}
.lang-current{display:flex;align-items:center;gap:3px;background:none;border:none;
  padding:8px 6px;cursor:pointer;font-size:12px;font-weight:700}
.lang-menu{position:absolute;top:100%;right:0;background:#fff;border-radius:var(--r-sm);
  box-shadow:var(--shadow-lg);padding:5px;min-width:145px;z-index:300;
  opacity:0;visibility:hidden;transform:translateY(-6px);transition:all var(--trans)}
.lang-switch.open .lang-menu{opacity:1;visibility:visible;transform:none}
.lang-item{display:flex;gap:8px;padding:8px 10px;border-radius:6px;font-size:13.5px}
.lang-item:hover{background:var(--light)}
.lang-item.active{background:var(--c-bg);color:var(--c);font-weight:700}

/* ── Diaporama ── */
.slider{position:relative;overflow:hidden;background:var(--light)}
.slider-track{display:flex;transition:transform .4s ease}
.slide{min-width:100%;position:relative;display:flex;align-items:center;justify-content:center}
.slide img{width:100%;height:auto;object-fit:cover}
.slide-link{position:absolute;inset:0;z-index:2}
.slide-text{position:absolute;left:0;right:0;bottom:0;padding:20px;
  background:linear-gradient(transparent,rgba(0,0,0,.65));color:#fff;z-index:1}
.slide-text h2{font-size:20px;font-weight:800;margin-bottom:4px}
.slide-text p{font-size:14px;opacity:.92;margin-bottom:10px}
.slide-text .btn{position:relative;z-index:3}
.slider-dots{position:absolute;bottom:9px;left:0;right:0;display:flex;gap:6px;justify-content:center;z-index:3}
.slider-dots button{width:7px;height:7px;border-radius:50%;border:none;
  background:rgba(255,255,255,.55);cursor:pointer;padding:0}
.slider-dots button.on{background:#fff;width:20px;border-radius:4px}

/* ── Grille catégories ── */
.cat-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(96px,1fr));gap:10px}
.cat-tile{background:var(--white);border:1px solid var(--border);border-radius:var(--r);
  padding:14px 8px;text-align:center;transition:all var(--trans)}
.cat-tile:hover{border-color:var(--c);transform:translateY(-2px)}
.cat-tile img{width:44px;height:44px;object-fit:cover;border-radius:50%;margin:0 auto 7px}
.cat-emoji{font-size:28px;display:block;margin-bottom:5px}
.cat-name{display:block;font-size:12.5px;font-weight:600;line-height:1.3}
.cat-tile small{color:var(--muted);font-size:11px}

/* ── Grille produits ── */
.pgrid{display:grid;grid-template-columns:repeat(2,1fr);gap:10px}
.pcard{background:var(--white);border:1px solid var(--border);border-radius:var(--r);
  overflow:hidden;display:flex;flex-direction:column;transition:all var(--trans)}
.pcard:hover{box-shadow:var(--shadow-lg)}
.pcard-out{opacity:.65}
.pcard-img{position:relative;aspect-ratio:1;background:var(--light);
  display:flex;align-items:center;justify-content:center;overflow:hidden}
.pcard-img img{width:100%;height:100%;object-fit:cover}
.pcard-noimg{font-size:34px;opacity:.3}
.pcard-outlabel{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;
  background:rgba(255,255,255,.75);font-size:13px;font-weight:700;color:var(--muted)}
.badge{position:absolute;top:7px;left:7px;font-size:11px;font-weight:700;
  padding:3px 8px;border-radius:20px;z-index:2}
.badge-promo{background:var(--err);color:#fff}
.badge-new{background:var(--ok);color:#fff}
.badge-custom{background:var(--warn);color:#fff}
.pcard-body{padding:10px;display:flex;flex-direction:column;gap:4px;flex:1}
.pcard-name{font-size:13.5px;font-weight:600;line-height:1.35}
.pcard-rating{font-size:12px;color:#b45309;font-weight:600}
.pcard-rating small{color:var(--muted);font-weight:400}
.pcard-price{margin-top:auto;font-size:15.5px;font-weight:800}
.pcard-price s{font-size:12.5px;color:var(--muted);font-weight:400;margin-left:5px}
.pcard-sold{font-size:11px;color:var(--muted)}
.pcard-add{margin-top:6px}

/* ── Catalogue ── */
.cat-head{display:flex;justify-content:space-between;gap:12px;align-items:flex-start;
  flex-wrap:wrap;margin-bottom:14px}
.cat-tools{display:flex;gap:7px;align-items:center}
.cat-layout{display:grid;grid-template-columns:1fr;gap:18px}
.filters{background:var(--white);border:1px solid var(--border);border-radius:var(--r);
  padding:14px;display:none}
.filters.open{display:block}
.fgroup{padding:11px 0;border-top:1px solid var(--border)}
.fgroup:first-child{border-top:none;padding-top:0}
.flabel{font-size:11.5px;font-weight:700;text-transform:uppercase;letter-spacing:.4px;
  color:var(--muted);margin-bottom:7px}
.flink{display:flex;justify-content:space-between;padding:6px 9px;border-radius:6px;font-size:13.5px}
.flink:hover{background:var(--light)}
.flink.on{background:var(--c);color:#fff;font-weight:600}
.flink small{opacity:.6}
.filter-group{padding:11px 0;border-top:1px solid var(--border)}
.filter-label{font-size:11.5px;font-weight:700;text-transform:uppercase;color:var(--muted);margin-bottom:7px}
.attr-inline{display:flex;gap:7px;align-items:center}
.attr-multi{display:flex;flex-wrap:wrap;gap:6px}

/* ── Fiche produit ── */
.prod-layout{display:grid;grid-template-columns:1fr;gap:18px;margin-bottom:20px}
.pg-main{position:relative;background:var(--white);border-radius:var(--r);
  overflow:hidden;aspect-ratio:1;border:1px solid var(--border)}
.pg-main img{width:100%;height:100%;object-fit:cover}
.pg-thumbs{display:flex;gap:7px;margin-top:8px;overflow-x:auto;scrollbar-width:none}
.pg-thumbs::-webkit-scrollbar{display:none}
.pg-th{width:62px;height:62px;border-radius:var(--r-sm);overflow:hidden;
  border:2px solid transparent;padding:0;background:none;cursor:pointer;flex-shrink:0}
.pg-th.on{border-color:var(--c)}
.pg-th img{width:100%;height:100%;object-fit:cover}
.prod-brand{font-size:12px;color:var(--muted);text-transform:uppercase;letter-spacing:.5px}
.prod-title{font-size:21px;font-weight:800;line-height:1.3;margin:3px 0 7px}
.prod-rating{display:inline-block;margin-bottom:8px}
.prod-short{color:var(--muted);font-size:14px;margin-bottom:12px}
.prod-price{display:flex;align-items:baseline;gap:9px;flex-wrap:wrap;margin-bottom:10px}
.prod-price strong{font-size:26px;font-weight:800}
.prod-price s{color:var(--muted);font-size:16px}
.save{background:#fef2f2;color:var(--err);font-size:12px;font-weight:700;padding:2px 8px;border-radius:20px}
.prod-stock{font-size:13.5px;font-weight:600;margin-bottom:12px}
.prod-stock.ok{color:var(--ok)} .prod-stock.low{color:var(--warn)} .prod-stock.ko{color:var(--err)}
.var-list{display:flex;flex-wrap:wrap;gap:7px}
.var{position:relative;cursor:pointer}
.var input{position:absolute;opacity:0}
.var span{display:block;padding:9px 14px;border:1.5px solid var(--border);border-radius:var(--r-sm);
  font-size:13.5px;font-weight:600;transition:all var(--trans)}
.var input:checked + span{border-color:var(--c);background:var(--c-bg)}
.var span small{display:block;font-size:11px;color:var(--muted);font-weight:400}
.var-out span{opacity:.4;text-decoration:line-through}
.prod-actions{display:flex;gap:9px;margin-top:14px}
.qty{display:flex;align-items:center;border:1.5px solid var(--border);border-radius:var(--r-sm);overflow:hidden}
.qty button{width:38px;height:44px;border:none;background:var(--light);cursor:pointer;font-size:17px}
.qty input{width:46px;height:44px;border:none;text-align:center;font-size:15px;font-weight:700;
  -moz-appearance:textfield}
.qty input::-webkit-outer-spin-button,.qty input::-webkit-inner-spin-button{-webkit-appearance:none;margin:0}
.btn-buy{flex:1}
.qty-sm button{width:30px;height:32px;font-size:15px}
.qty-sm span{width:34px;text-align:center;font-size:14px;font-weight:700}
.ship-box{background:var(--light);border-radius:var(--r);padding:12px;margin-top:14px}
.ship-line{display:flex;justify-content:space-between;gap:10px;font-size:13px;padding:3px 0}
.ship-gap{font-size:12.5px;color:var(--ok);font-weight:600;margin-top:6px}
.social-proof{font-size:13px;color:var(--warn);font-weight:600;margin-top:10px}
.specs{display:flex;flex-direction:column}
.specs>div{display:flex;justify-content:space-between;gap:14px;padding:9px 0;border-bottom:1px solid var(--border)}
.specs>div:last-child{border-bottom:none}
.specs dt{font-size:13px;color:var(--muted)}
.specs dd{font-size:13.5px;font-weight:600;text-align:right}
.buy-bar{position:fixed;bottom:0;left:0;right:0;background:#fff;border-top:1px solid var(--border);
  padding:9px 14px calc(9px + env(safe-area-inset-bottom));display:flex;gap:12px;
  align-items:center;justify-content:space-between;z-index:150;box-shadow:0 -2px 12px rgba(0,0,0,.07)}
.buy-bar strong{font-size:18px;font-weight:800}
.buy-bar .btn{flex:1;max-width:220px}

/* ── Avis ── */
.stars{color:#f59e0b;letter-spacing:1px}
.stars-num{font-size:13px;color:var(--muted);font-weight:600}
.rating-inline{margin-left:8px;font-weight:400}
.rev-form{background:var(--light);border-radius:var(--r);padding:13px;margin-bottom:14px}
.star-pick{display:inline-flex;flex-direction:row-reverse;gap:3px;margin-bottom:9px}
.star-pick input{position:absolute;opacity:0;width:0}
.star-pick label{font-size:29px;color:#d1d5db;cursor:pointer;line-height:1}
.star-pick input:checked ~ label,.star-pick label:hover,.star-pick label:hover ~ label{color:#f59e0b}
.rev-list{display:flex;flex-direction:column;gap:14px}
.rev{border-top:1px solid var(--border);padding-top:12px}
.rev:first-child{border-top:none;padding-top:0}
.rev-top{display:flex;align-items:center;gap:9px;flex-wrap:wrap;font-size:13px}
.rev-top time{margin-left:auto;color:var(--muted);font-size:11.5px}
.verified-buy{background:#f0fdf4;color:#166534;font-size:11px;font-weight:700;padding:2px 7px;border-radius:20px}
.rev p{font-size:13.5px;line-height:1.6;margin-top:6px}
.rev-photo{width:88px;border-radius:var(--r-sm);margin-top:7px}
.rev-strip{display:grid;grid-template-columns:1fr;gap:10px}
.rev-card{background:var(--white);border:1px solid var(--border);border-radius:var(--r);padding:14px}
.rev-card p{font-size:13.5px;margin:7px 0}
.rev-meta{font-size:12px;color:var(--muted)}

/* ── Panier ── */
.ship-progress{background:#f0fdf4;border:1px solid #bbf7d0;color:#166534;
  border-radius:var(--r-sm);padding:10px 13px;font-size:13.5px;font-weight:600;margin-bottom:14px}
.cart-layout{display:grid;grid-template-columns:1fr;gap:16px}
.cline{display:flex;gap:11px;background:var(--white);border:1px solid var(--border);
  border-radius:var(--r);padding:11px;margin-bottom:9px}
.cline-img{width:74px;height:74px;border-radius:var(--r-sm);overflow:hidden;background:var(--light);
  flex-shrink:0;display:flex;align-items:center;justify-content:center;font-size:24px}
.cline-img img{width:100%;height:100%;object-fit:cover}
.cline-body{flex:1;min-width:0}
.cline-name{font-size:14px;font-weight:600;display:block;line-height:1.35}
.cline-var{font-size:12px;color:var(--muted)}
.cline-unit{font-size:13px;color:var(--muted);margin-top:3px}
.cline-right{display:flex;flex-direction:column;align-items:flex-end;gap:6px}
.cline-total{font-size:15px;font-weight:800}
.cline-del{background:none;border:none;color:var(--muted);cursor:pointer;font-size:15px;padding:2px 5px}
.cline-del:hover{color:var(--err)}
.coupon-form{margin-bottom:12px}
.coupon-on{display:flex;justify-content:space-between;align-items:center;background:#f0fdf4;
  border:1px solid #bbf7d0;border-radius:var(--r-sm);padding:9px 12px;font-size:13.5px;font-weight:600;color:#166534}
.sum{display:flex;flex-direction:column;gap:7px;margin:14px 0;font-size:14px}
.sum>div{display:flex;justify-content:space-between;gap:12px}
.sum-off{color:var(--ok);font-weight:600}
.sum-total{border-top:1px solid var(--border);padding-top:9px;font-size:17px;font-weight:800}
.reassure{display:flex;flex-direction:column;gap:5px;font-size:12.5px;color:var(--muted);padding:0 4px}

/* ── Caisse ── */
.ck-layout{display:grid;grid-template-columns:1fr;gap:16px}
.ship-choices{display:flex;flex-direction:column;gap:8px}
.choice{display:flex;align-items:center;gap:11px;border:1.5px solid var(--border);
  border-radius:var(--r-sm);padding:12px;cursor:pointer;transition:all var(--trans)}
.choice input{width:18px;height:18px;accent-color:var(--c);flex-shrink:0}
.choice:has(input:checked){border-color:var(--c);background:var(--c-bg)}
.choice-body{flex:1;display:flex;flex-direction:column}
.choice-body strong{font-size:14px}
.choice-body small{font-size:12px;color:var(--muted)}
.choice-price{font-weight:700;font-size:14px}
.ck-items{display:flex;flex-direction:column;gap:8px;padding-bottom:11px;border-bottom:1px solid var(--border)}
.ck-item{display:flex;gap:9px;align-items:center;font-size:13.5px}
.ck-qty{color:var(--muted);font-weight:600;flex-shrink:0}
.ck-name{flex:1;min-width:0}
.ck-name small{display:block;color:var(--muted);font-size:11.5px}
.oi-img{width:38px;height:38px;border-radius:6px;object-fit:cover;flex-shrink:0}
.ck-safe{text-align:center;font-size:12px;color:var(--muted);margin-top:9px}

/* ── Confirmation et suivi ── */
.thanks{text-align:center;background:var(--white);border:1px solid var(--border);
  border-radius:var(--r);padding:28px 18px;margin-bottom:16px}
.thanks-ico{font-size:44px;margin-bottom:8px}
.thanks h1{font-size:22px;font-weight:800;margin-bottom:8px}
.thanks p{font-size:14.5px;color:var(--muted)}
.track{display:flex;background:var(--white);border:1px solid var(--border);
  border-radius:var(--r);padding:14px 8px;margin-bottom:16px;overflow-x:auto}
/* Les libellés arméniens sont bien plus longs qu'en français : sans place
   pour aller à la ligne, ils se chevauchaient. On élargit chaque étape, on
   autorise le retour à la ligne, et la barre défile si l'écran est trop
   étroit — mieux vaut faire glisser que superposer. */
.track-step{flex:1 0 auto;min-width:88px;max-width:130px;padding:0 5px;
  text-align:center;position:relative;opacity:.4}
.track-step.done{opacity:1}
.track-step::before{content:'';position:absolute;top:13px;left:-50%;width:100%;height:2px;background:var(--border)}
.track-step:first-child::before{display:none}
.track-step.done::before{background:var(--ok)}
.track-dot{display:inline-flex;align-items:center;justify-content:center;width:26px;height:26px;
  border-radius:50%;background:var(--border);font-size:12px;font-weight:700;position:relative;z-index:1}
.track-step.done .track-dot{background:var(--ok);color:#fff}
.track-lbl{display:block;font-size:11px;line-height:1.3;margin-top:5px;font-weight:600;
  overflow-wrap:anywhere;hyphens:auto}
/* Le trait de liaison relie les pastilles, pas les blocs de texte : il reste
   à hauteur de la pastille quel que soit le nombre de lignes du libellé. */
.track{align-items:flex-start}
.events{list-style:none;display:flex;flex-direction:column;gap:9px}
.events li{display:flex;gap:11px;font-size:13.5px;padding-left:14px;position:relative}
.events li::before{content:'';position:absolute;left:0;top:8px;width:6px;height:6px;
  border-radius:50%;background:var(--c)}
.events time{color:var(--muted);font-size:12px;flex-shrink:0;width:96px}
.addr{font-size:13.5px;line-height:1.7}
.eta{background:var(--light);border-radius:var(--r-sm);padding:8px 11px;font-size:13px;margin-top:9px}
.pay-state{border-radius:var(--r-sm);padding:9px 12px;font-size:13px;font-weight:600;margin:10px 0}
.pay-state.ok{background:#f0fdf4;color:#166534}
.pay-state.wait{background:#fffbeb;color:#92400e}
.save-link{font-size:12.5px;color:var(--muted);padding:10px;background:var(--light);
  border-radius:var(--r-sm);line-height:1.5}

/* ── Blog et pages ── */
.post-grid{display:grid;grid-template-columns:1fr;gap:12px}
.post-card{background:var(--white);border:1px solid var(--border);border-radius:var(--r);
  overflow:hidden;padding-bottom:12px}
.post-card img{width:100%;aspect-ratio:16/9;object-fit:cover;margin-bottom:10px}
.post-card h3{font-size:15.5px;font-weight:700;padding:0 12px;line-height:1.35}
.post-card p{font-size:13px;color:var(--muted);padding:5px 12px 0}
.post-card time{font-size:11.5px;color:var(--muted);padding:6px 12px 0;display:block}
.page-cover{width:100%;border-radius:var(--r);margin:12px 0 18px}

/* ── Confiance ── */
.trust{display:grid;grid-template-columns:repeat(2,1fr);gap:10px}
.trust-item{background:var(--white);border:1px solid var(--border);border-radius:var(--r);
  padding:14px 10px;text-align:center;font-size:12.5px;line-height:1.4}
.trust-item span{display:block;margin-top:6px;color:var(--muted)}
.banner{background:var(--c);color:#fff;border-radius:var(--r);padding:24px 18px;text-align:center}
.banner h2{font-size:20px;font-weight:800;margin-bottom:5px}

/* ── États vides ── */
.empty{text-align:center;padding:50px 20px}
.empty-icon{font-size:42px;margin-bottom:10px;opacity:.5}
.empty-title{font-size:17px;font-weight:700;margin-bottom:5px}
.empty-sub{font-size:13.5px;color:var(--muted)}

/* ── Pagination ── */
.pagination{display:flex;gap:5px;justify-content:center;margin-top:22px;flex-wrap:wrap}
.plink{padding:8px 13px;border:1px solid var(--border);border-radius:var(--r-sm);
  font-size:13.5px;background:var(--white)}
.plink.on{background:var(--c);border-color:var(--c);color:#fff;font-weight:700}
.pgap{padding:8px 3px;color:var(--muted)}

/* ── Chat ── */
.chat-bubble{position:fixed;right:16px;bottom:calc(16px + env(safe-area-inset-bottom));
  height:56px;padding:0;border-radius:28px;background:var(--c);color:#fff;
  border:2px solid rgba(255,255,255,.9);cursor:pointer;
  display:flex;align-items:center;gap:0;justify-content:center;width:56px;
  box-shadow:0 6px 20px rgba(0,0,0,.28);z-index:180;
  transition:width .18s ease,padding .18s ease,transform .12s ease}
.chat-bubble .chat-ico{display:flex;align-items:center;justify-content:center;width:52px;flex:0 0 52px}
.chat-bubble svg{width:26px;height:26px}
.chat-bubble .chat-label{display:none;font-size:14px;font-weight:700;white-space:nowrap;padding-right:18px}
.chat-bubble:hover{transform:translateY(-1px)}
.chat-bubble.open{width:56px}
.chat-bubble.open .chat-label{display:none}
/* Sur écran large, le libellé accompagne l'icône : « Une question ? » est
   compris tout de suite, une bulle seule beaucoup moins. */
@media(min-width:820px){
  .chat-bubble{width:auto;padding-left:2px}
  .chat-bubble .chat-label{display:inline}
}
/* Une barre d'achat fixe occupe le bas de l'écran sur la fiche produit :
   la bulle monte au-dessus pour rester atteignable au pouce. */
@media(max-width:819px){
  body:has(.buy-bar) .chat-bubble{bottom:calc(80px + env(safe-area-inset-bottom))}
}
/* Anneau qui pulse quand une réponse arrive, panneau fermé */
.chat-bubble.ring::after{content:'';position:absolute;inset:-6px;border-radius:34px;
  border:2px solid var(--c);animation:chatRing 1.8s ease-out infinite;pointer-events:none}
@keyframes chatRing{0%{opacity:.7;transform:scale(.94)}100%{opacity:0;transform:scale(1.12)}}
@media(prefers-reduced-motion:reduce){.chat-bubble.ring::after{animation:none;opacity:.5}}

/* Accueil du visiteur et pièces jointes */
.chat-ask{font-size:12px;color:var(--muted);margin:0 0 8px}
#chat-contact{display:flex;flex-direction:column;gap:7px;padding:10px}
#chat-contact .form-input{font-size:14px}
.chat-file{display:flex;align-items:center;justify-content:space-between;gap:8px;
  margin:0 10px 6px;padding:6px 9px;background:#f3f4f6;border-radius:8px;font-size:12px}
.chat-file button{background:none;border:none;cursor:pointer;color:var(--muted);font-size:14px}
.chat-clip{display:flex;align-items:center;justify-content:center;width:34px;height:34px;
  border-radius:50%;cursor:pointer;color:var(--muted);flex:0 0 34px}
.chat-clip:hover{background:#f3f4f6;color:var(--c)}
.chat-clip svg{width:19px;height:19px}
.chat-img{display:block;margin-top:6px}
.chat-img img{max-width:190px;max-height:190px;border-radius:9px;display:block}
.chat-doc{display:inline-block;margin-top:6px;font-size:12px;font-weight:600;
  text-decoration:underline;word-break:break-all}

/* ── Pied de page ── */
#footer{background:var(--dk);color:#9ca3af;padding:28px 14px;margin-top:36px}
.foot-grid{max-width:1200px;margin:0 auto;display:grid;grid-template-columns:1fr 1fr;gap:22px}
.foot-brand{font-size:17px;font-weight:800;color:#fff;margin-bottom:5px}
.foot-tag{font-size:13px;margin-bottom:9px}
.foot-phone{font-size:14px;color:#fff;font-weight:600}
.foot-title{font-size:12px;font-weight:700;text-transform:uppercase;letter-spacing:.5px;
  color:#fff;margin-bottom:8px}
.foot-grid a{display:block;font-size:13px;padding:3px 0;color:#9ca3af}
.foot-grid a:hover{color:#fff}
.pay-icons{display:flex;flex-wrap:wrap;gap:5px}
.pay-chip{background:rgba(255,255,255,.09);padding:4px 9px;border-radius:5px;font-size:11.5px}
.foot-bottom{max-width:1200px;margin:20px auto 0;padding-top:14px;
  border-top:1px solid rgba(255,255,255,.1);display:flex;justify-content:space-between;
  align-items:center;font-size:12px;flex-wrap:wrap;gap:9px}
.foot-langs{display:flex;gap:9px}
.foot-langs a.on{color:#fff;font-weight:700}

/* ═══ TABLETTE ═══ */
@media(min-width:640px){
  .pgrid{grid-template-columns:repeat(3,1fr);gap:12px}
  .row-2{grid-template-columns:1fr 1fr}
  .row-3{grid-template-columns:1fr 1fr 1fr}
  .post-grid{grid-template-columns:repeat(2,1fr)}
  .rev-strip{grid-template-columns:repeat(2,1fr)}
  .trust{grid-template-columns:repeat(4,1fr)}
  .foot-grid{grid-template-columns:repeat(4,1fr)}
  .slide-text h2{font-size:26px}
  .page-title{font-size:26px}
}

/* ═══ ORDINATEUR ═══ */
@media(min-width:900px){
  :root{--head-h:64px}
  .burger{display:none}
  .head-search{display:flex;max-width:460px;margin:0 18px}
  .pgrid{grid-template-columns:repeat(4,1fr);gap:14px}
  .cat-layout{grid-template-columns:250px 1fr;gap:22px}
  .filters{display:block;position:sticky;top:calc(var(--head-h) + 50px);align-self:start}
  .cat-tools .btn-ghost{display:none}
  .prod-layout{grid-template-columns:1fr 1fr;gap:28px}
  .prod-title{font-size:26px}
  .buy-bar{display:none}
  .cart-layout{grid-template-columns:1fr 340px;align-items:start}
  .cart-side{position:sticky;top:calc(var(--head-h) + 16px)}
  .ck-layout{grid-template-columns:1fr 350px;align-items:start}
  .ck-side{position:sticky;top:calc(var(--head-h) + 16px)}
  .post-grid{grid-template-columns:repeat(3,1fr)}
  .rev-strip{grid-template-columns:repeat(3,1fr)}
  .cat-grid{grid-template-columns:repeat(auto-fill,minmax(120px,1fr))}
  .page{padding:20px 16px 50px}
}

/* ── Compte client ── */
.auth-wrap{max-width:420px;margin:0 auto;padding:28px 14px 50px}
.auth-foot{text-align:center;margin-top:14px;font-size:13.5px}
.auth-sep{display:flex;align-items:center;gap:12px;margin:16px 0;color:var(--muted);font-size:12px}
.auth-sep::before,.auth-sep::after{content:'';flex:1;height:1px;background:var(--border)}
.btn-google{display:flex;align-items:center;justify-content:center;gap:10px;width:100%;
  padding:12px;border-radius:var(--r-sm);border:1.5px solid var(--border);background:#fff;
  font-size:14px;font-weight:600}
.stat-cards{display:grid;grid-template-columns:repeat(auto-fit,minmax(100px,1fr));gap:10px;margin-bottom:18px}
.stat-card{background:var(--white);border:1px solid var(--border);border-radius:var(--r);
  padding:14px;text-align:center}
.stat-card b{display:block;font-size:22px;font-weight:800;color:var(--c)}
.stat-card span{font-size:11.5px;color:var(--muted)}
.vip-card{background:linear-gradient(135deg,#fef3c7,#fde68a);border:1px solid #fcd34d;
  border-radius:var(--r);padding:15px;margin-bottom:16px;font-size:13.5px;color:#92400e}
.vip-badge{font-size:15px;font-weight:800;margin-bottom:4px}
.vip-soon{background:var(--light);border-color:var(--border);color:var(--dk)}
.vip-bar{height:6px;background:var(--border);border-radius:3px;margin-top:9px;overflow:hidden}
.vip-bar i{display:block;height:100%;background:var(--c)}
.menu-list{background:var(--white);border:1px solid var(--border);border-radius:var(--r);overflow:hidden;margin-top:16px}
.menu-item{display:flex;justify-content:space-between;padding:14px 16px;
  border-bottom:1px solid var(--border);font-size:14.5px}
.menu-item:last-child{border-bottom:none}
.menu-item:hover{background:var(--light)}
.menu-out{color:var(--err)}
.ord-row{display:flex;justify-content:space-between;align-items:center;gap:12px;
  background:var(--white);border:1px solid var(--border);border-radius:var(--r);
  padding:13px;margin-bottom:9px}
.ord-right{text-align:right;display:flex;flex-direction:column;gap:4px;align-items:flex-end}
.ord-total{font-weight:800;font-size:15px}
.ord-card{background:var(--white);border:1px solid var(--border);border-radius:var(--r);
  padding:13px;margin-bottom:11px}
.ord-head{display:flex;justify-content:space-between;align-items:flex-start;gap:10px;margin-bottom:10px}
.ord-items{display:flex;gap:6px;align-items:center;margin-bottom:11px}
.ord-items img{width:46px;height:46px;border-radius:6px;object-fit:cover}
.ord-more{font-size:12px;color:var(--muted);font-weight:600}
.ord-foot{display:flex;justify-content:space-between;align-items:center;gap:10px;
  border-top:1px solid var(--border);padding-top:11px}
.ord-foot strong{font-size:16px;font-weight:800}
.ord-actions{display:flex;gap:6px}
.st{font-size:11px;font-weight:700;padding:3px 9px;border-radius:20px;white-space:nowrap}
.st-pending,.st-confirmed{background:#fffbeb;color:#92400e}
.st-preparing,.st-shipped{background:#eff6ff;color:#1e40af}
.st-delivered,.st-ok{background:#f0fdf4;color:#166534}
.st-cancelled,.st-returned{background:#fef2f2;color:#991b1b}
.addr-row{display:flex;justify-content:space-between;align-items:flex-start;gap:12px;
  padding:11px 0;border-bottom:1px solid var(--border);font-size:13.5px}
.addr-row:last-of-type{border-bottom:none}
.addr-new summary{cursor:pointer;padding:10px 0}
.geo-selects{display:grid;grid-template-columns:1fr 1fr;gap:10px}
@media(max-width:520px){.geo-selects{grid-template-columns:1fr}}

/* ── Parrainage et points ── */
.ref-hero{background:linear-gradient(135deg,var(--c),var(--c2));color:#fff;
  border-radius:var(--r);padding:22px 18px;text-align:center;margin-bottom:16px}
.ref-hero p{font-size:14px;opacity:.94;margin-bottom:14px}
.ref-code{font-size:30px;font-weight:800;letter-spacing:4px;background:rgba(255,255,255,.16);
  border-radius:var(--r-sm);padding:12px;margin-bottom:14px;font-family:ui-monospace,monospace}
.ref-actions{display:flex;gap:8px;justify-content:center;flex-wrap:wrap}
.ref-actions .btn{background:#fff;color:var(--c)}
.ref-actions .btn-secondary{background:rgba(255,255,255,.18);color:#fff;border-color:transparent}
.pts-chip{background:var(--c-bg);color:var(--c);font-size:11.5px;font-weight:700;
  padding:3px 9px;border-radius:20px}
.pts-plus{color:var(--ok)} .pts-minus{color:var(--muted)}
/* ── Médias dans les avis ── */
.rev-media{background:#fff;border-radius:var(--r-sm);padding:11px;margin:9px 0}
.rev-bonus{background:#fef3c7;border:1px solid #fcd34d;color:#92400e;border-radius:var(--r-sm);
  padding:9px 11px;font-size:12.5px;font-weight:600;margin-bottom:10px}
.rev-medias{display:flex;gap:8px;flex-wrap:wrap;margin-top:8px;align-items:flex-start}
.rev-video{width:100%;max-width:280px;aspect-ratio:16/9;border-radius:var(--r-sm);
  border:none;background:#000}
.rev-video iframe{width:100%;height:100%;border:0;border-radius:var(--r-sm)}

/* ── Chat en ligne ── */
.chat-bubble{position:relative}
.chat-bubble.open{background:var(--c2)}
.chat-bubble .chat-dot{position:absolute;top:-2px;right:-2px;background:var(--err);color:#fff;
  font-size:10px;font-weight:700;min-width:18px;height:18px;border-radius:9px;
  display:flex;align-items:center;justify-content:center}
.chat-bubble .chat-dot[hidden]{display:none}
.chat-panel{position:fixed;right:14px;bottom:calc(76px + env(safe-area-inset-bottom));
  width:min(340px, calc(100vw - 28px));max-height:min(70vh, 520px);
  background:#fff;border-radius:14px;box-shadow:var(--shadow-lg);z-index:145;
  display:flex;flex-direction:column;overflow:hidden;border:1px solid var(--border)}
.chat-panel[hidden]{display:none}
.chat-head{display:flex;justify-content:space-between;align-items:flex-start;gap:10px;
  padding:13px 15px;background:var(--c);color:#fff}
.chat-head strong{font-size:14.5px}
.chat-hours{font-size:11.5px;opacity:.85;margin-top:2px}
.chat-close{background:none;border:none;color:#fff;font-size:16px;cursor:pointer;padding:2px 4px}
.chat-body{flex:1;overflow-y:auto;padding:13px;display:flex;flex-direction:column;gap:8px;
  background:var(--light);min-height:150px}
.chat-intro{font-size:12.5px;color:var(--muted);text-align:center;padding:14px 6px;line-height:1.5}
.chat-msg{max-width:82%;display:flex;flex-direction:column}
.chat-msg span{background:#fff;border-radius:13px;padding:9px 12px;font-size:13.5px;line-height:1.5;
  white-space:pre-wrap;word-break:break-word}
.chat-msg time{font-size:10px;color:var(--muted);margin-top:2px;padding:0 4px}
.chat-msg.mine{align-self:flex-end;align-items:flex-end}
.chat-msg.mine span{background:var(--c);color:#fff}
.chat-msg.staff{align-self:flex-start}
.chat-form{border-top:1px solid var(--border);padding:9px}
.chat-form #chat-contact{display:flex;gap:6px;margin-bottom:7px}
.chat-form #chat-contact[hidden]{display:none}
.chat-form .form-input{padding:8px 10px;font-size:13px}
.chat-send{display:flex;gap:7px;align-items:flex-end}
.chat-send textarea{flex:1;border:1px solid var(--border);border-radius:18px;padding:9px 13px;
  font-size:14px;resize:none;max-height:90px;font-family:inherit}
.chat-send button{width:38px;height:38px;border-radius:50%;border:none;background:var(--c);
  color:#fff;cursor:pointer;font-size:15px;flex-shrink:0}
/* Back-office */
.chat-layout{display:grid;grid-template-columns:1fr;gap:14px}
.chat-list{background:#fff;border:1px solid var(--border);border-radius:var(--r);overflow:hidden;max-height:70vh;overflow-y:auto}
.chat-row{display:block;padding:12px 14px;border-bottom:1px solid var(--border)}
.chat-row:last-child{border-bottom:none}
.chat-row:hover{background:var(--light)}
.chat-row.on{background:var(--c-bg)}
.chat-row.unread{border-left:3px solid var(--err)}
.chat-thread{background:#fff;border:1px solid var(--border);border-radius:var(--r);
  display:flex;flex-direction:column;max-height:70vh}
.chat-thread .chat-body{background:#fff;flex:1}
@media(min-width:900px){.chat-layout{grid-template-columns:320px 1fr}}

/* ── Pastilles, cadeaux, alerte de prix ── */
.badges{position:absolute;top:7px;left:7px;display:flex;flex-direction:column;gap:4px;
  align-items:flex-start;z-index:2}
.badges .badge{position:static;color:#fff}
.gift-won{background:linear-gradient(135deg,#fef3c7,#fde68a);border:1px solid #fcd34d;
  color:#92400e;border-radius:var(--r-sm);padding:11px 14px;font-size:13.5px;margin-bottom:12px}
.gift-goal{background:var(--light);border:1px dashed var(--border);border-radius:var(--r-sm);
  padding:10px 13px;font-size:13px;color:var(--muted);margin-bottom:12px}
.watch-box{background:var(--light);border-radius:var(--r-sm);padding:11px 13px;margin-top:12px}
.watch-box summary{cursor:pointer;font-size:13.5px;font-weight:600}
.gift-line{background:#fffbeb;border-left:3px solid #f59e0b}

/* ── Remises sur la quantité, fiche produit ─────────────────────────── */
.qd-tiers{display:flex;flex-wrap:wrap;gap:6px;align-items:center;margin:10px 0;
  font-size:13px;padding:8px 10px;background:#f8f8f8;border-radius:8px}
.qd-tier{font-size:12px;font-weight:700;background:#fff;border:1px solid #e5e5e5;
  border-radius:999px;padding:3px 9px}

/* ── Mention d'entrepôt lointain sur la fiche produit ─────────────── */
.wh-notice{background:#fff7ed;border:1px solid #fed7aa;color:#9a3412;
  border-radius:9px;padding:9px 12px;font-size:13px;line-height:1.45;margin:8px 0}

/* ── Créneaux de livraison à la caisse ───────────────────────────── */
.slot-days{display:flex;gap:7px;overflow-x:auto;padding-bottom:4px;margin-bottom:12px}
.slot-day{flex:0 0 auto;padding:9px 15px;border-radius:999px;border:1px solid var(--border);
  background:#fff;font-size:13px;font-weight:600;cursor:pointer;white-space:nowrap}
.slot-day.on{background:var(--c);border-color:var(--c);color:#fff}
.slot-list{display:flex;flex-direction:column;gap:8px}
.slot-pick{display:flex;align-items:center;gap:11px;padding:12px 14px;border:1px solid var(--border);
  border-radius:11px;cursor:pointer;background:#fff}
.slot-pick:has(input:checked){border-color:var(--c);box-shadow:0 0 0 1px var(--c)}
.slot-body{display:flex;align-items:baseline;gap:9px;flex-wrap:wrap;flex:1}
.slot-body strong{font-size:15px}
.slot-left{font-size:11px;font-weight:700;color:#b45309;background:#fff7ed;
  padding:2px 8px;border-radius:999px}
.slot-fee{font-weight:700;font-size:13px}
