:root {
  --bg: #faf7f3;
  --surface: #ffffff;
  --ink: #1d1916;
  --ink-2: #4a423c;
  --muted: #847970;
  --line: #ebe3da;
  --line-strong: #d9cfc4;
  --rose: #f4e3de;
  --sage: #e4ebdf;
  --butter: #f6eed6;
  --lilac: #e8e4f2;
  --sky: #e0ebf1;
  --sand: #efe7dd;
  --accent: #9e4257;
  --accent-soft: #f6e6ea;
  --ok: #2f6b4f;
  --ok-soft: #e3f0e8;
  --danger: #b42318;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 1px 2px rgba(29, 25, 22, .04), 0 8px 24px rgba(29, 25, 22, .06);
  --font-display: 'Newsreader', Georgia, 'Times New Roman', serif;
  --font-body: 'Figtree', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --wrap: 1180px;
  --tabbar: 0px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 400 16px/1.55 var(--font-body);
  -webkit-font-smoothing: antialiased;
  padding-bottom: var(--tabbar);
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 16px; }
@media (min-width: 768px) { .wrap { padding: 0 28px; } }

/* ---------- Bandeau + en-tête ---------- */
.announce {
  background: var(--ink);
  color: #f3ece4;
  font-size: 13px;
  letter-spacing: .01em;
  text-align: center;
  padding: 8px 16px;
}
.header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(250, 247, 243, .92);
  backdrop-filter: saturate(160%) blur(10px);
  -webkit-backdrop-filter: saturate(160%) blur(10px);
  border-bottom: 1px solid var(--line);
}
.header .wrap { display: flex; align-items: center; gap: 12px; height: 62px; }
.logo { display: inline-flex; align-items: baseline; gap: 8px; }
.logo-word { font: 500 27px/1 var(--font-display); letter-spacing: -.02em; font-style: italic; }
.logo-tag { font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); display: none; }
@media (min-width: 960px) { .logo-tag { display: inline; } }
.nav { display: none; gap: 26px; margin-left: 36px; font-size: 15px; color: var(--ink-2); }
.nav a { padding: 6px 0; border-bottom: 1.5px solid transparent; }
.nav a:hover, .nav a[aria-current='page'] { color: var(--ink); border-color: var(--ink); }
@media (min-width: 960px) { .nav { display: flex; } }
.header-actions { margin-left: auto; display: flex; gap: 4px; }
.icon-btn {
  width: 42px; height: 42px; border-radius: 50%; border: 0; background: transparent;
  display: inline-grid; place-items: center; position: relative; color: var(--ink);
}
.icon-btn:hover { background: var(--sand); }
.icon-btn svg { width: 22px; height: 22px; }
.cart-count {
  position: absolute; top: 4px; right: 2px; min-width: 18px; height: 18px; padding: 0 5px;
  border-radius: 9px; background: var(--accent); color: #fff; font-size: 11px; font-weight: 700;
  display: none; place-items: center; line-height: 18px;
}
.cart-count.on { display: grid; }
.menu-btn { display: inline-grid; }
@media (min-width: 960px) { .menu-btn { display: none; } }

/* ---------- Boutons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 50px; padding: 0 24px; border-radius: 999px; border: 1px solid var(--ink);
  background: var(--ink); color: #fff; font-weight: 600; font-size: 15.5px; letter-spacing: .01em;
  transition: transform .15s ease, background .15s ease, box-shadow .15s ease;
}
.btn:hover { background: #000; }
.btn:active { transform: scale(.985); }
.btn[disabled] { opacity: .55; pointer-events: none; }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line-strong); }
.btn-ghost:hover { background: var(--surface); border-color: var(--ink); }
.btn-accent { background: var(--accent); border-color: var(--accent); }
.btn-accent:hover { background: #87364a; }
.btn-block { width: 100%; }
.btn svg { width: 18px; height: 18px; }
.link-arrow { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; font-size: 15px; border-bottom: 1.5px solid currentColor; padding-bottom: 2px; }

/* ---------- Titres ---------- */
.display {
  font: 400 clamp(38px, 7.2vw, 72px)/1.02 var(--font-display);
  letter-spacing: -.025em;
  margin: 0;
}
.display em { font-style: italic; color: var(--accent); }
.h2 { font: 400 clamp(28px, 4.4vw, 42px)/1.08 var(--font-display); letter-spacing: -.02em; margin: 0; }
.h2 em { font-style: italic; }
.section { padding: 56px 0; }
@media (min-width: 768px) { .section { padding: 84px 0; } }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 16px; margin-bottom: 26px; }
.lead { font-size: 17.5px; color: var(--ink-2); max-width: 34em; margin: 0; }

/* ---------- Ouverture ---------- */
.hero { padding: 28px 0 8px; }
@media (min-width: 900px) { .hero { padding: 48px 0 24px; } }
.hero-grid { display: grid; gap: 28px; align-items: center; }
@media (min-width: 900px) { .hero-grid { grid-template-columns: 1.02fr 1fr; gap: 56px; } }
.hero-copy .lead { margin: 20px 0 28px; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-facts { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 30px; padding-top: 22px; border-top: 1px solid var(--line); font-size: 14px; color: var(--ink-2); }
.hero-facts b { color: var(--ink); font-weight: 600; }
.hero-art {
  position: relative;
  border-radius: 28px;
  background: radial-gradient(120% 90% at 70% 20%, #fbeee9 0%, var(--rose) 55%, #ecd3cc 100%);
  aspect-ratio: 1 / .92;
  overflow: hidden;
  order: -1;
}
@media (min-width: 900px) { .hero-art { order: 0; aspect-ratio: 1 / 1.02; } }
.hero-art img { position: absolute; mix-blend-mode: multiply; object-fit: contain; }
.hero-art .p1 { width: 56%; left: 2%; bottom: 4%; }
.hero-art .p2 { width: 44%; right: 6%; top: 6%; }
.hero-art .p3 { width: 44%; right: 2%; bottom: 2%; }
.hero-note {
  position: absolute; left: 16px; top: 16px; background: rgba(255, 255, 255, .78); backdrop-filter: blur(6px);
  border-radius: 999px; padding: 7px 14px; font-size: 13px; font-weight: 600; color: var(--ink-2);
}

/* ---------- Besoins (rail) ---------- */
.rail { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(150px, 46%); gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 6px; scrollbar-width: none; }
.rail::-webkit-scrollbar { display: none; }
.rail > * { scroll-snap-align: start; }
@media (min-width: 768px) { .rail { grid-auto-columns: minmax(170px, 1fr); } }
.concern {
  position: relative; display: flex; flex-direction: column; justify-content: space-between;
  aspect-ratio: 4 / 5; border-radius: var(--radius); padding: 16px; overflow: hidden;
  transition: transform .2s ease;
}
.concern:hover { transform: translateY(-3px); }
.concern span { font: 400 22px/1.1 var(--font-display); position: relative; z-index: 1; }
.concern small { font-size: 13px; color: var(--ink-2); position: relative; z-index: 1; }
.concern img { position: absolute; right: -8%; bottom: -4%; width: 78%; mix-blend-mode: multiply; }

/* ---------- Grille produits ---------- */
.grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 12px; }
@media (min-width: 768px) { .grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px 20px; } }
@media (min-width: 1100px) { .grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.card { position: relative; display: flex; flex-direction: column; }
.card-media {
  position: relative; display: block; aspect-ratio: 1; border-radius: var(--radius); overflow: hidden;
  background: var(--surface); border: 1px solid var(--line);
}
.card-media img { width: 100%; height: 100%; object-fit: contain; padding: 8%; transition: transform .35s ease; }
.card:hover .card-media img { transform: scale(1.04); }
.card-badges { position: absolute; left: 10px; top: 10px; display: flex; flex-direction: column; gap: 6px; align-items: flex-start; }
.badge { font-size: 11.5px; font-weight: 700; letter-spacing: .02em; padding: 4px 9px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); color: var(--ink-2); }
.badge-sale { background: var(--accent); border-color: var(--accent); color: #fff; }
.badge-out { background: var(--ink); border-color: var(--ink); color: #fff; }
.card-body { padding: 12px 2px 0; display: flex; flex-direction: column; gap: 3px; flex: 1; }
.card-brand { font-size: 11.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); font-weight: 600; }
.card-name { font-size: 15px; line-height: 1.32; font-weight: 500; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.card-size { font-size: 13px; color: var(--muted); }
.card-foot { display: flex; align-items: center; justify-content: space-between; margin-top: auto; padding-top: 8px; gap: 8px; }
.price { font-weight: 700; font-size: 16px; white-space: nowrap; }
.price s { font-weight: 400; color: var(--muted); font-size: 13px; margin-left: 6px; }
.add-btn {
  flex: none; width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--line-strong);
  background: var(--surface); display: grid; place-items: center; transition: all .15s ease;
}
.add-btn:hover { background: var(--ink); color: #fff; border-color: var(--ink); }
.add-btn svg { width: 18px; height: 18px; }
.add-btn.done { background: var(--ok); color: #fff; border-color: var(--ok); }

/* ---------- Bloc duo ---------- */
.duo { display: grid; gap: 28px; align-items: center; background: var(--surface); border: 1px solid var(--line); border-radius: 28px; padding: 18px; }
@media (min-width: 900px) { .duo { grid-template-columns: 1fr 1fr; padding: 28px; gap: 48px; } }
.duo-art { border-radius: 20px; background: linear-gradient(160deg, var(--butter), #efe3c2); aspect-ratio: 5 / 4; position: relative; overflow: hidden; }
@media (min-width: 900px) { .duo-art { aspect-ratio: 1; } }
.duo-art img { position: absolute; mix-blend-mode: multiply; object-fit: contain; }
.duo-art .a { width: 58%; left: -2%; top: 8%; }
.duo-art .b { width: 62%; right: -4%; bottom: 0; }
.duo-copy { padding: 4px 6px 10px; }
.duo-steps { list-style: none; margin: 22px 0; padding: 0; display: grid; gap: 14px; }
.duo-steps li { display: grid; grid-template-columns: 34px 1fr; gap: 12px; align-items: start; }
.duo-steps b { display: block; font-weight: 600; }
.duo-steps span { color: var(--ink-2); font-size: 15px; }
.step-num { width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--line-strong); display: grid; place-items: center; font: 500 16px/1 var(--font-display); }
.duo-price { display: flex; align-items: baseline; gap: 10px; margin-bottom: 16px; }
.duo-price strong { font-size: 24px; }

/* ---------- Marques ---------- */
.brands { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.chip {
  border: 1px solid var(--line-strong); border-radius: 999px; padding: 8px 14px; font-size: 14px; background: transparent;
  white-space: nowrap; transition: all .15s ease;
}
.chip:hover { border-color: var(--ink); }
.chip[aria-pressed='true'] { background: var(--ink); border-color: var(--ink); color: #fff; }

/* ---------- Engagements ---------- */
.promises { display: grid; gap: 0; border-top: 1px solid var(--line); }
@media (min-width: 768px) { .promises { grid-template-columns: repeat(4, 1fr); border-top: 0; } }
.promise { padding: 20px 0; border-bottom: 1px solid var(--line); }
@media (min-width: 768px) { .promise { padding: 4px 24px; border-bottom: 0; border-left: 1px solid var(--line); } .promise:first-child { border-left: 0; padding-left: 0; } }
.promise b { display: block; font: 400 21px/1.2 var(--font-display); margin-bottom: 6px; }
.promise span { color: var(--ink-2); font-size: 15px; }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 0; border-top: 1px solid var(--line); max-width: 820px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 20px 40px 20px 0; position: relative; font: 400 20px/1.3 var(--font-display); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; position: absolute; right: 4px; top: 16px; font: 300 26px/1 var(--font-body); color: var(--muted); }
.faq details[open] summary::after { content: '–'; }
.faq p { margin: -6px 0 20px; color: var(--ink-2); max-width: 46em; }

/* ---------- Pied de page ---------- */
.footer { background: #1d1916; color: #d8cfc6; margin-top: 40px; padding: 48px 0 32px; font-size: 15px; }
.footer .logo-word { color: #fff; }
.footer-grid { display: grid; gap: 28px; }
@media (min-width: 768px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; } }
.footer h4 { font: 600 12px/1 var(--font-body); letter-spacing: .14em; text-transform: uppercase; color: #9d9187; margin: 0 0 14px; }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.footer a:hover { color: #fff; }
.footer-bottom { margin-top: 36px; padding-top: 20px; border-top: 1px solid #3a332e; font-size: 13px; color: #9d9187; }

/* ---------- Barre d'onglets (téléphone) ---------- */
.tabbar { display: none; }
@media (max-width: 959px) {
  :root { --tabbar: 64px; }
  .tabbar {
    display: grid; grid-template-columns: repeat(4, 1fr); position: fixed; left: 0; right: 0; bottom: 0; z-index: 50;
    height: calc(64px + env(safe-area-inset-bottom)); padding-bottom: env(safe-area-inset-bottom);
    background: rgba(255, 255, 255, .96); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
    border-top: 1px solid var(--line);
  }
  .tabbar a, .tabbar button {
    display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px;
    font-size: 11.5px; font-weight: 600; color: var(--muted); background: none; border: 0; position: relative;
  }
  .tabbar svg { width: 23px; height: 23px; }
  .tabbar [aria-current='page'] { color: var(--ink); }
  .tabbar .cart-count { top: 6px; right: calc(50% - 22px); }
  body.has-sticky .tabbar { display: none; }
  body.has-sticky { --tabbar: 0px; }
}

/* ---------- Menu plein écran + recherche ---------- */
.sheet { position: fixed; inset: 0; z-index: 80; background: var(--bg); display: none; flex-direction: column; overflow-y: auto; }
.sheet.open { display: flex; }
.sheet-head { display: flex; align-items: center; justify-content: space-between; height: 62px; padding: 0 16px; border-bottom: 1px solid var(--line); flex: none; }
.sheet-body { padding: 20px 16px 40px; }
.menu-links { list-style: none; margin: 0; padding: 0; }
.menu-links a { display: flex; justify-content: space-between; align-items: center; padding: 16px 0; border-bottom: 1px solid var(--line); font: 400 26px/1.15 var(--font-display); }
.menu-links small { font: 500 13px var(--font-body); color: var(--muted); }
.search-input { width: 100%; height: 52px; border-radius: 999px; border: 1px solid var(--line-strong); background: var(--surface); padding: 0 20px; font-size: 16px; outline: none; }
.search-input:focus { border-color: var(--ink); }
.search-results { margin-top: 18px; display: grid; gap: 4px; }
.search-row { display: grid; grid-template-columns: 56px 1fr auto; gap: 12px; align-items: center; padding: 8px; border-radius: 12px; }
.search-row:hover { background: var(--surface); }
.search-row img { width: 56px; height: 56px; object-fit: contain; background: var(--surface); border-radius: 10px; border: 1px solid var(--line); padding: 4px; }
.search-row small { display: block; color: var(--muted); font-size: 12px; text-transform: uppercase; letter-spacing: .08em; }

/* ---------- Boutique (filtres) ---------- */
.shop-head { padding: 30px 0 10px; }
.filters { position: sticky; top: 62px; z-index: 30; background: var(--bg); padding: 12px 0; border-bottom: 1px solid var(--line); margin-bottom: 22px; }
.filter-row { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; }
.filter-row::-webkit-scrollbar { display: none; }
.filter-meta { display: flex; justify-content: space-between; align-items: center; margin-top: 10px; font-size: 14px; color: var(--muted); gap: 10px; }
.filter-meta select { border: 1px solid var(--line-strong); border-radius: 999px; background: var(--surface); padding: 7px 12px; font-size: 14px; }
.empty { padding: 60px 0; text-align: center; color: var(--muted); }

/* ---------- Fiche produit ---------- */
.crumbs { font-size: 13.5px; color: var(--muted); padding: 16px 0 6px; display: flex; gap: 6px; flex-wrap: wrap; }
.crumbs a:hover { color: var(--ink); }
.pdp { display: grid; gap: 22px; padding-bottom: 20px; }
.pdp > *, .cart-layout > *, .hero-grid > *, .duo > * { min-width: 0; }
html, body { overflow-x: clip; }
@media (min-width: 960px) { .pdp { grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: start; } }
.gallery { position: relative; }
@media (min-width: 960px) { .gallery { position: sticky; top: 84px; } }
.gallery-main { display: grid; grid-auto-flow: column; grid-auto-columns: 100%; overflow-x: auto; scroll-snap-type: x mandatory; border-radius: 22px; background: var(--surface); border: 1px solid var(--line); scrollbar-width: none; }
.gallery-main::-webkit-scrollbar { display: none; }
.gallery-main img { width: 100%; height: auto; aspect-ratio: 1; object-fit: contain; padding: 7%; scroll-snap-align: center; }
.gallery-thumbs { display: flex; gap: 8px; margin-top: 10px; }
.gallery-thumbs button { width: 64px; height: 64px; border-radius: 12px; border: 1px solid var(--line); background: var(--surface); padding: 4px; }
.gallery-thumbs button[aria-current='true'] { border-color: var(--ink); }
.gallery-thumbs img { width: 100%; height: 100%; object-fit: contain; }
.gallery-dots { display: flex; justify-content: center; gap: 6px; margin-top: 10px; }
.gallery-dots i { width: 6px; height: 6px; border-radius: 50%; background: var(--line-strong); }
.gallery-dots i.on { background: var(--ink); }
@media (min-width: 960px) { .gallery-dots { display: none; } }
@media (max-width: 959px) { .gallery-thumbs { display: none; } }
.pdp-brand { font-size: 12.5px; letter-spacing: .14em; text-transform: uppercase; font-weight: 700; color: var(--accent); }
.pdp-title { font: 400 clamp(30px, 4.6vw, 44px)/1.08 var(--font-display); letter-spacing: -.02em; margin: 8px 0 6px; }
.pdp-size { color: var(--muted); font-size: 15px; }
.pdp-tagline { font-size: 17px; color: var(--ink-2); margin: 16px 0; }
.pdp-price { display: flex; align-items: baseline; gap: 12px; margin: 18px 0 6px; }
.pdp-price strong { font-size: 28px; font-weight: 700; letter-spacing: -.01em; }
.pdp-price s { color: var(--muted); font-size: 17px; }
.pdp-price .save { font-size: 13px; font-weight: 700; color: var(--accent); background: var(--accent-soft); padding: 4px 9px; border-radius: 999px; }
.pdp-cod { font-size: 14px; color: var(--ok); font-weight: 600; display: flex; align-items: center; gap: 6px; }
.pdp-cod svg { width: 16px; height: 16px; }
.concern-tags { display: flex; flex-wrap: wrap; gap: 6px; margin: 16px 0 0; }
.concern-tags a { font-size: 13px; padding: 5px 11px; border-radius: 999px; background: var(--sand); color: var(--ink-2); }
.benefits { list-style: none; margin: 22px 0 0; padding: 0; display: grid; gap: 10px; }
.benefits li { display: grid; grid-template-columns: 22px 1fr; gap: 10px; font-size: 15.5px; }
.benefits svg { width: 18px; height: 18px; margin-top: 3px; color: var(--ok); }
.qty { display: inline-flex; align-items: center; border: 1px solid var(--line-strong); border-radius: 999px; height: 46px; background: var(--surface); }
.qty button { width: 44px; height: 44px; border: 0; background: none; font-size: 20px; }
.qty output { min-width: 28px; text-align: center; font-weight: 600; }
.pdp-actions { display: flex; gap: 10px; margin: 22px 0 8px; align-items: center; flex-wrap: wrap; }
.pdp-actions .btn { flex: 1; min-width: 160px; }
.accordion { margin-top: 26px; border-top: 1px solid var(--line); }
.accordion details { border-bottom: 1px solid var(--line); }
.accordion summary { list-style: none; cursor: pointer; padding: 17px 30px 17px 0; position: relative; font-weight: 600; }
.accordion summary::-webkit-details-marker { display: none; }
.accordion summary::after { content: '+'; position: absolute; right: 4px; top: 13px; font-size: 22px; font-weight: 300; color: var(--muted); }
.accordion details[open] summary::after { content: '–'; }
.accordion .acc-body { padding: 0 0 18px; color: var(--ink-2); font-size: 15px; white-space: pre-line; }
.acc-body.small { font-size: 13px; line-height: 1.6; }

/* ---------- Formulaire de commande ---------- */
.order-box { background: var(--surface); border: 1px solid var(--line); border-radius: 22px; padding: 20px; margin-top: 22px; box-shadow: var(--shadow); }
@media (min-width: 768px) { .order-box { padding: 26px; } }
.order-box h3 { font: 400 25px/1.15 var(--font-display); margin: 0 0 4px; }
.order-box > p { margin: 0 0 18px; color: var(--muted); font-size: 14.5px; }
.form-grid { display: grid; gap: 12px; }
@media (min-width: 560px) { .form-grid.two { grid-template-columns: 1fr 1fr; } }
.field { display: grid; gap: 6px; }
.field label { font-size: 13.5px; font-weight: 600; color: var(--ink-2); }
.field input, .field select, .field textarea {
  width: 100%; height: 50px; border-radius: 12px; border: 1px solid var(--line-strong); background: #fff;
  padding: 0 14px; font-size: 16px; outline: none; transition: border-color .15s ease, box-shadow .15s ease;
}
.field textarea { height: 76px; padding: 12px 14px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--ink); box-shadow: 0 0 0 3px rgba(29, 25, 22, .08); }
.field.invalid input, .field.invalid select { border-color: var(--danger); }
.field .hint { font-size: 12.5px; color: var(--muted); }
.delivery-choice { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.delivery-choice label {
  display: grid; gap: 2px; border: 1px solid var(--line-strong); border-radius: 12px; padding: 12px 14px; cursor: pointer; background: #fff;
}
.delivery-choice input { position: absolute; opacity: 0; pointer-events: none; }
.delivery-choice b { font-size: 15px; }
.delivery-choice span { font-size: 13px; color: var(--muted); }
.delivery-choice label:has(input:checked) { border-color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); }
.summary { margin: 16px 0; padding: 14px 0 0; border-top: 1px dashed var(--line-strong); display: grid; gap: 7px; font-size: 15px; }
.summary div { display: flex; justify-content: space-between; gap: 12px; }
.summary .muted { color: var(--muted); }
.summary div span:last-child { white-space: nowrap; }
.btn { white-space: nowrap; }
.summary .total { font-weight: 700; font-size: 18px; padding-top: 8px; border-top: 1px solid var(--line); margin-top: 4px; }
.form-error { color: var(--danger); font-size: 14px; font-weight: 600; margin: 4px 0 10px; display: none; }
.form-error.on { display: block; }
.form-foot { font-size: 12.5px; color: var(--muted); text-align: center; margin-top: 10px; }
.hp { position: absolute; left: -5000px; width: 1px; height: 1px; overflow: hidden; }

/* ---------- Barre fixe de commande (téléphone) ---------- */
.sticky-buy { display: none; }
@media (max-width: 959px) {
  .sticky-buy {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 55; display: flex; gap: 12px; align-items: center;
    padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); background: rgba(255, 255, 255, .97);
    border-top: 1px solid var(--line); transform: translateY(110%); transition: transform .25s ease;
  }
  .sticky-buy.show { transform: none; }
  .sticky-buy .btn { flex: 1; height: 48px; }
  .sticky-buy .sp { font-weight: 700; font-size: 17px; white-space: nowrap; }
  .sticky-buy .sp small { display: block; font-weight: 500; font-size: 11.5px; color: var(--muted); }
}

/* ---------- Panier ---------- */
.cart-layout { display: grid; gap: 28px; padding: 10px 0 40px; }
@media (min-width: 960px) { .cart-layout { grid-template-columns: 1.2fr 1fr; gap: 48px; align-items: start; } }
.cart-lines { display: grid; border-top: 1px solid var(--line); }
.cart-line { display: grid; grid-template-columns: 84px 1fr auto; gap: 14px; padding: 16px 0; border-bottom: 1px solid var(--line); align-items: center; }
.cart-line img { width: 84px; height: 84px; object-fit: contain; border-radius: 14px; background: var(--surface); border: 1px solid var(--line); padding: 6px; }
.cart-line .meta small { display: block; font-size: 11.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); font-weight: 600; }
.cart-line .meta a { font-weight: 500; display: block; line-height: 1.3; }
.cart-line .meta span { font-size: 13px; color: var(--muted); }
.cart-line .right { display: grid; justify-items: end; gap: 8px; }
.cart-line .qty { height: 38px; }
.cart-line .qty button { width: 34px; height: 36px; font-size: 17px; }
.remove { border: 0; background: none; color: var(--muted); font-size: 13px; text-decoration: underline; padding: 0; }

/* ---------- Merci ---------- */
.thanks { max-width: 620px; margin: 0 auto; padding: 48px 0 30px; text-align: center; }
.thanks-mark { width: 64px; height: 64px; border-radius: 50%; background: var(--ok-soft); color: var(--ok); display: grid; place-items: center; margin: 0 auto 20px; }
.thanks-mark svg { width: 30px; height: 30px; }
.thanks .ref { display: inline-block; margin: 18px 0; padding: 10px 18px; border-radius: 12px; background: var(--surface); border: 1px dashed var(--line-strong); font-weight: 700; letter-spacing: .06em; }
.thanks ol { text-align: left; margin: 26px auto; padding: 0; list-style: none; display: grid; gap: 12px; max-width: 460px; }
.thanks ol li { display: grid; grid-template-columns: 34px 1fr; gap: 12px; align-items: start; color: var(--ink-2); }

/* ---------- Toast ---------- */
.toast {
  position: fixed; left: 50%; bottom: calc(var(--tabbar) + 18px); transform: translate(-50%, 20px); opacity: 0; z-index: 90;
  background: var(--ink); color: #fff; border-radius: 999px; padding: 12px 18px; font-size: 14.5px; font-weight: 500;
  display: flex; gap: 14px; align-items: center; transition: all .25s ease; pointer-events: none; white-space: nowrap; max-width: calc(100% - 32px);
}
.toast.show { opacity: 1; transform: translate(-50%, 0); pointer-events: auto; }
.toast a { text-decoration: underline; font-weight: 700; }

.skeleton { background: linear-gradient(90deg, #f1ebe4 25%, #f8f4ef 50%, #f1ebe4 75%); background-size: 200% 100%; animation: sk 1.2s infinite; border-radius: var(--radius); }
@keyframes sk { to { background-position: -200% 0; } }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; } }
