/* ==================================================================
   Sulmikia Diamond — feuille de style de la boutique
   Palette tirée des visuels produits : ardoise, porcelaine, or du logo,
   safran des étiquettes Duo Solution+.
   ================================================================== */

:root {
  --ink: #1c2427;
  --slate: #2c373b;
  --porcelain: #f1f3f2;
  --paper: #ffffff;
  --mist: #dce1e0;
  --muted: #5b6568;
  --gold: #b08a45;
  --gold-deep: #7a5c24;
  --saffron: #e1870f;
  --saffron-deep: #a85f00;
  --success: #2f6b4f;
  --danger: #b23a2b;

  --f-display: "Bodoni Moda", "Didot", "Bodoni 72", Georgia, serif;
  --f-text: "Manrope", "Segoe UI", system-ui, sans-serif;

  --step--1: 0.8125rem;
  --step-0: 1rem;
  --step-1: 1.1875rem;
  --step-2: 1.5rem;
  --step-3: 2rem;
  --step-4: clamp(2.25rem, 4.2vw, 3.25rem);
  --step-5: clamp(2.6rem, 6vw, 4.75rem);

  --gutter: clamp(16px, 4vw, 48px);
  --max: 1240px;
  --r-sm: 3px;
  --r-md: 6px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; overflow-x: clip; }
body { overflow-x: clip; }
body {
  margin: 0;
  font-family: var(--f-text);
  font-size: var(--step-0);
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 8px 14px; z-index: 100; }
.skip-link:focus { left: 8px; }

.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }

h1, h2, h3 { font-family: var(--f-display); font-weight: 500; line-height: 1.12; margin: 0 0 .5em; letter-spacing: -0.01em; }
h1 { font-size: var(--step-4); }
h2 { font-size: var(--step-3); }
h3 { font-size: var(--step-2); }
p { margin: 0 0 1em; }
.lead { font-size: var(--step-1); color: var(--muted); max-width: 60ch; }
.muted { color: var(--muted); }
.small { font-size: var(--step--1); }

/* ---------- Boutons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  min-height: 48px; padding: 0 1.6em;
  border: 1px solid transparent; border-radius: var(--r-sm);
  font-weight: 600; font-size: .95rem; letter-spacing: .01em;
  text-decoration: none; cursor: pointer;
  transition: background-color .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease);
}
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: var(--slate); }
.btn-gold { background: var(--gold); color: var(--ink); }
.btn-gold:hover { background: #c39b55; }
.btn-line { border-color: currentColor; background: transparent; }
.btn-line:hover { background: var(--ink); color: #fff; border-color: var(--ink); }
.on-dark .btn-line:hover { background: #fff; color: var(--ink); border-color: #fff; }
.btn-block { width: 100%; }
.btn[disabled] { opacity: .5; cursor: not-allowed; }
.link { color: var(--gold-deep); text-underline-offset: 3px; }
.link:hover { color: var(--ink); }

/* ---------- Bandeau & en-tête ---------- */
.notice-bar { background: var(--ink); color: #e9ecea; font-size: var(--step--1); text-align: center; padding: 8px var(--gutter); }
.site-header { position: sticky; top: 0; z-index: 40; background: rgba(255,255,255,.96); backdrop-filter: blur(8px); border-bottom: 1px solid var(--mist); }
.header-inner { display: flex; align-items: center; gap: 28px; min-height: 76px; }
.brand { display: block; flex: 0 0 auto; }
.brand img { height: 60px; width: auto; }
.main-nav { display: flex; gap: 26px; margin-right: auto; }
.main-nav a { text-decoration: none; font-size: .95rem; font-weight: 500; padding: 6px 0; border-bottom: 1px solid transparent; }
.main-nav a:hover, .main-nav a[aria-current="page"] { border-bottom-color: var(--gold); }
.header-tools { display: flex; align-items: center; gap: 6px; }
.icon-btn { position: relative; display: inline-grid; place-items: center; width: 44px; height: 44px; border: 0; border-radius: 50%; background: transparent; cursor: pointer; text-decoration: none; }
.icon-btn:hover { background: var(--porcelain); }
.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(--saffron); color: var(--ink); font-size: 11px; font-weight: 700; line-height: 18px; text-align: center; }
.cart-count[data-count="0"] { display: none; }
.lang-switch { display: flex; border: 1px solid var(--mist); border-radius: var(--r-sm); overflow: hidden; margin-right: 6px; }
.lang-switch a { padding: 4px 9px; font-size: 12px; font-weight: 600; text-decoration: none; color: var(--muted); }
.lang-switch a[aria-current="true"] { background: var(--ink); color: #fff; }
.menu-toggle { display: none; }
.search-panel { border-top: 1px solid var(--mist); padding: 14px 0; display: none; }
.search-panel.open { display: block; }
.search-panel form { display: flex; gap: 10px; }
.search-panel input { flex: 1; }

@media (max-width: 920px) {
  .menu-toggle { display: inline-grid; }
  /* backdrop-filter ferait du header le repère du menu en position fixe : on le retire sur mobile */
  .site-header { backdrop-filter: none; -webkit-backdrop-filter: none; background: #fff; }
  body.menu-open { overflow: hidden; }
  body.menu-open .site-header { z-index: 75; }
  .main-nav { visibility: hidden; position: fixed; top: 0; right: 0; bottom: 0; left: auto; height: 100vh; height: 100dvh; overflow-y: auto; width: min(86vw, 340px); flex-direction: column; gap: 0; padding: 84px 28px 28px; background: #fff; box-shadow: -20px 0 60px rgba(28,36,39,.2); transform: translateX(105%); transition: transform .3s var(--ease), visibility .3s; z-index: 80; }
  .menu-toggle { position: relative; z-index: 85; }
  .menu-toggle .i-close, body.menu-open .menu-toggle .i-open { display: none; }
  body.menu-open .menu-toggle .i-close { display: block; }
  .main-nav.open { transform: none; visibility: visible; }
  .main-nav a { font-size: 1.15rem; padding: 14px 0; border-bottom: 1px solid var(--mist); }
  .header-inner { gap: 12px; min-height: 64px; }
  .brand { margin-right: auto; }
  .brand img { height: 44px; }
  .lang-switch { margin-right: 0; }
}

/* ---------- Formulaires ---------- */
label { display: block; font-size: .875rem; font-weight: 600; margin-bottom: 6px; }
.input, input[type=text], input[type=email], input[type=tel], input[type=search], input[type=number], select, textarea {
  width: 100%; min-height: 48px; padding: 10px 14px;
  border: 1px solid #c5ccca; border-radius: var(--r-sm); background: #fff;
  transition: border-color .15s;
}
textarea { min-height: 130px; resize: vertical; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 3px rgba(176,138,69,.25); }
.field { margin-bottom: 18px; }
.field.has-error input, .field.has-error select, .field.has-error textarea { border-color: var(--danger); }
.field-error { color: var(--danger); font-size: var(--step--1); margin-top: 5px; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 18px; }
@media (max-width: 600px) { .grid-2 { grid-template-columns: 1fr; } }
.check { display: flex; gap: 10px; align-items: flex-start; font-weight: 400; }
.check input { width: 18px; height: 18px; margin-top: 3px; accent-color: var(--ink); flex: 0 0 auto; }

/* ---------- Alertes ---------- */
.flash-stack { margin: 20px auto 0; }
.alert { padding: 13px 16px; border-radius: var(--r-sm); border-left: 3px solid; margin-bottom: 10px; font-size: .95rem; }
.alert-success { background: #ecf4ef; border-color: var(--success); }
.alert-error { background: #fbeceb; border-color: var(--danger); }
.alert-info { background: var(--porcelain); border-color: var(--gold); }

/* ---------- Accueil : héro ---------- */
.hero { background: var(--ink); color: #f3f4f2; overflow: hidden; }
.hero-slide { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); align-items: stretch; min-height: min(78vh, 680px); }
.hero-slide[hidden] { display: none; }
.hero-copy { align-self: center; padding: 72px var(--gutter) 72px max(var(--gutter), calc((100vw - var(--max)) / 2 + var(--gutter))); }
.hero-copy h1 { font-size: var(--step-5); font-weight: 400; max-width: 13ch; margin-bottom: .4em; }
.hero-copy p { color: #c9d0ce; font-size: var(--step-1); max-width: 44ch; margin-bottom: 2em; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-media { position: relative; min-height: 360px; }
.hero-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-dots { display: flex; gap: 10px; padding: 0 0 26px max(var(--gutter), calc((100vw - var(--max)) / 2 + var(--gutter))); margin-top: -50px; position: relative; }
.hero-dots button { width: 28px; height: 3px; border: 0; padding: 0; background: rgba(255,255,255,.35); cursor: pointer; }
.hero-dots button[aria-current="true"] { background: var(--gold); }
@media (max-width: 820px) {
  .hero-slide { grid-template-columns: 1fr; min-height: 0; }
  .hero-media { order: -1; min-height: 0; aspect-ratio: 4 / 3; }
  .hero-copy { padding: 36px var(--gutter) 48px; }
  .hero-dots { margin-top: -30px; }
}
@media (prefers-reduced-motion: no-preference) {
  .hero-copy > * { animation: rise .8s var(--ease) both; }
  .hero-copy > *:nth-child(2) { animation-delay: .08s; }
  .hero-copy > *:nth-child(3) { animation-delay: .16s; }
  .hero-media img { animation: settle 1.4s var(--ease) both; }
}
@keyframes rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@keyframes settle { from { opacity: 0; transform: scale(1.04); } to { opacity: 1; transform: none; } }

/* ---------- Accueil : concentrations d'actifs ---------- */
.actives { background: var(--porcelain); padding: clamp(56px, 8vw, 96px) 0; }
.actives-head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 16px 40px; margin-bottom: 44px; }
.actives-head h2 { max-width: 20ch; margin: 0; }
.actives-head p { max-width: 42ch; margin: 0; color: var(--muted); }
.actives-list { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 2px solid var(--saffron); margin: 0; padding: 0; list-style: none; }
.actives-list li { padding: 26px 28px 8px 0; }
.actives-list li + li { padding-left: 28px; border-left: 1px solid var(--mist); }
.ppm { font-family: var(--f-display); font-size: clamp(2.6rem, 5.5vw, 4.4rem); line-height: 1; font-weight: 400; font-variant-numeric: lining-nums; display: block; }
.ppm small { font-family: var(--f-text); font-size: .9rem; font-weight: 600; color: var(--saffron-deep); margin-left: .35em; letter-spacing: .02em; }
.active-name { display: block; margin-top: 12px; font-weight: 600; }
.active-role { color: var(--muted); font-size: .95rem; }
.actives-more { margin-top: 26px; color: var(--muted); }
@media (max-width: 760px) {
  .actives-list { grid-template-columns: 1fr; }
  .actives-list li, .actives-list li + li { padding: 22px 0; border-left: 0; border-bottom: 1px solid var(--mist); }
}

/* ---------- Sections ---------- */
.section { padding: clamp(56px, 8vw, 100px) 0; }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin-bottom: 34px; flex-wrap: wrap; }
.section-head h2 { margin: 0; }

/* ---------- Cartes produits ---------- */
.product-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 40px 24px; }
@media (max-width: 1060px) { .product-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 760px) { .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 30px 14px; } }
.product-card { display: flex; flex-direction: column; }
.product-card .thumb { position: relative; display: block; aspect-ratio: 4 / 5; background: var(--porcelain); overflow: hidden; border-radius: var(--r-sm); }
.product-card .thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.product-card .thumb:hover img { transform: scale(1.03); }
.tag { position: absolute; top: 10px; left: 10px; background: var(--saffron); color: var(--ink); font-size: 12px; font-weight: 700; padding: 3px 8px; border-radius: 2px; }
.tag-out { background: var(--ink); color: #fff; }
.product-card .meta { padding-top: 14px; display: flex; flex-direction: column; flex: 1; }
.product-card .cat { font-size: var(--step--1); color: var(--muted); }
.product-card h3 { font-size: 1.3rem; margin: 2px 0 6px; }
.product-card h3 a { text-decoration: none; }
.product-card h3 a:hover { color: var(--gold-deep); }
.price { font-weight: 700; font-variant-numeric: tabular-nums; }
.price s { color: var(--muted); font-weight: 400; margin-left: 8px; }
.price .now-sale { color: var(--saffron-deep); }
.product-card .add { margin-top: auto; padding-top: 14px; }
.product-card .add .btn { width: 100%; min-height: 44px; }

/* ---------- Routine (étapes) ---------- */
.routine { background: var(--ink); color: #eef0ef; }
.routine h2 { color: #fff; }
.routine .lead { color: #b9c2c0; }
.routine-steps { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; margin: 40px 0 0; padding: 0; list-style: none; counter-reset: step; }
.routine-steps li { display: grid; grid-template-columns: 170px 1fr; gap: 22px; align-items: center; padding: 22px; border: 1px solid rgba(255,255,255,.14); border-radius: var(--r-md); }
.routine-steps img { width: 170px; aspect-ratio: 1; object-fit: cover; border-radius: var(--r-sm); }
.step-n { font-family: var(--f-display); font-size: 2.4rem; color: var(--gold); line-height: 1; display: block; margin-bottom: 8px; }
.routine-steps h3 { font-size: 1.45rem; margin-bottom: 6px; color: #fff; }
.routine-steps p { color: #b9c2c0; font-size: .95rem; }
@media (max-width: 900px) { .routine-steps { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .routine-steps li { grid-template-columns: 1fr; } .routine-steps img { width: 100%; aspect-ratio: 16/10; } }

/* ---------- Catégories ---------- */
.cat-list { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--mist); margin: 0; padding: 0; list-style: none; }
.cat-list a { display: flex; flex-direction: column; gap: 6px; height: 100%; padding: 26px 22px 26px 0; text-decoration: none; border-bottom: 1px solid var(--mist); }
.cat-list li + li a { padding-left: 22px; border-left: 1px solid var(--mist); }
.cat-list strong { font-family: var(--f-display); font-weight: 500; font-size: 1.5rem; }
.cat-list span { color: var(--muted); font-size: .95rem; }
.cat-list a:hover strong { color: var(--gold-deep); }
@media (max-width: 860px) { .cat-list { grid-template-columns: 1fr 1fr; } .cat-list li:nth-child(odd) a { padding-left: 0; border-left: 0; } .cat-list li:nth-child(even) a { padding-left: 18px; border-left: 1px solid var(--mist); } }

/* ---------- Offre ---------- */
.promo { border: 1px solid var(--mist); border-radius: var(--r-md); display: grid; grid-template-columns: 1.3fr 1fr; overflow: hidden; }
.promo-copy { padding: clamp(28px, 5vw, 56px); }
.promo-copy h2 { margin-bottom: .35em; }
.promo-clock { background: var(--porcelain); display: flex; flex-direction: column; justify-content: center; padding: clamp(28px, 5vw, 56px); border-left: 1px solid var(--mist); }
.clock { display: flex; gap: 22px; font-variant-numeric: tabular-nums; }
.clock div { text-align: center; }
.clock b { display: block; font-family: var(--f-display); font-size: 2.6rem; font-weight: 400; line-height: 1; }
.clock span { font-size: var(--step--1); color: var(--muted); }
@media (max-width: 760px) { .promo { grid-template-columns: 1fr; } .promo-clock { border-left: 0; border-top: 1px solid var(--mist); } }

/* ---------- Newsletter ---------- */
.newsletter { display: grid; grid-template-columns: 1fr 1fr; gap: 24px 60px; align-items: center; }
.newsletter form { display: flex; gap: 10px; }
.newsletter form input { flex: 1; }
.newsletter .nl-msg { grid-column: 2; font-size: .95rem; min-height: 1.5em; }
@media (max-width: 760px) { .newsletter { grid-template-columns: 1fr; } .newsletter .nl-msg { grid-column: 1; } .newsletter form { flex-direction: column; } }

/* ---------- Pied de page ---------- */
.site-footer { background: var(--ink); color: #c4cbc9; padding: 64px 0 28px; margin-top: 0; }
.footer-grid { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 36px; }
.footer-grid img { height: 70px; width: auto; margin-bottom: 16px; }
.footer-grid h4 { color: #fff; font-family: var(--f-display); font-weight: 500; font-size: 1.2rem; margin: 0 0 14px; }
.footer-grid ul { list-style: none; padding: 0; margin: 0; }
.footer-grid li { margin-bottom: 8px; }
.footer-grid a { text-decoration: none; }
.footer-grid a:hover { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; border-top: 1px solid rgba(255,255,255,.12); margin-top: 44px; padding-top: 22px; font-size: var(--step--1); }
.socials { display: flex; gap: 12px; margin-top: 14px; }
.socials a { border: 1px solid rgba(255,255,255,.25); border-radius: 50%; width: 38px; height: 38px; display: grid; place-items: center; }
.socials svg { width: 17px; height: 17px; fill: currentColor; }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .footer-grid { grid-template-columns: 1fr; } }

/* ---------- En-têtes de page ---------- */
.page-head { background: var(--porcelain); padding: 48px 0 40px; border-bottom: 1px solid var(--mist); }
.page-head h1 { margin: 0 0 .25em; }
.page-head p { margin: 0; color: var(--muted); max-width: 60ch; }
.crumbs { font-size: var(--step--1); color: var(--muted); margin-bottom: 14px; }
.crumbs a { text-decoration: none; }
.crumbs a:hover { text-decoration: underline; }

/* ---------- Boutique ---------- */
.shop-layout { display: grid; grid-template-columns: 220px 1fr; gap: 48px; padding-block: 44px 90px; }
.shop-filters h2 { font-size: 1.2rem; margin-bottom: 12px; }
.shop-filters ul { list-style: none; padding: 0; margin: 0 0 28px; }
.shop-filters li a { display: flex; justify-content: space-between; padding: 8px 0; text-decoration: none; border-bottom: 1px solid var(--mist); color: var(--muted); }
.shop-filters li a[aria-current="page"], .shop-filters li a:hover { color: var(--ink); font-weight: 600; }
.shop-toolbar { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 14px; margin-bottom: 26px; }
.shop-toolbar form { display: flex; gap: 10px; align-items: center; }
.shop-toolbar select { width: auto; min-height: 42px; }
.empty-state { padding: 60px 0; text-align: left; max-width: 52ch; }
.pagination { display: flex; gap: 6px; margin-top: 44px; flex-wrap: wrap; }
.pagination a, .pagination span { min-width: 42px; height: 42px; display: grid; place-items: center; border: 1px solid var(--mist); border-radius: var(--r-sm); text-decoration: none; }
.pagination [aria-current="page"] { background: var(--ink); color: #fff; border-color: var(--ink); }
@media (max-width: 860px) {
  .shop-layout { grid-template-columns: 1fr; gap: 10px; padding-block-start: 24px; }
  .shop-filters ul { display: flex; gap: 8px; overflow-x: auto; margin-bottom: 8px; padding-bottom: 6px; }
  .shop-filters li a { border: 1px solid var(--mist); border-radius: 30px; padding: 6px 14px; white-space: nowrap; gap: 8px; }
  .shop-filters h2 { display: none; }
}

/* ---------- Fiche produit ---------- */
.pdp { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 72px); padding: 36px 0 80px; }
.gallery-main { aspect-ratio: 1; background: var(--porcelain); border-radius: var(--r-md); overflow: hidden; }
.gallery-main img { width: 100%; height: 100%; object-fit: cover; }
.gallery-thumbs { display: flex; gap: 10px; margin-top: 12px; overflow-x: auto; }
.gallery-thumbs button { flex: 0 0 76px; height: 76px; padding: 0; border: 1px solid var(--mist); border-radius: var(--r-sm); overflow: hidden; cursor: pointer; background: none; }
.gallery-thumbs button[aria-current="true"] { border: 2px solid var(--ink); }
.gallery-thumbs img { width: 100%; height: 100%; object-fit: cover; }
.pdp-info h1 { margin-bottom: .3em; }
.pdp-price { font-size: 1.6rem; margin: 10px 0 6px; }
.stock-line { font-size: .95rem; margin-bottom: 22px; }
.stock-line.ok::before, .stock-line.low::before, .stock-line.out::before { content: ""; display: inline-block; width: 8px; height: 8px; border-radius: 50%; margin-right: 8px; vertical-align: 1px; }
.stock-line.ok::before { background: var(--success); }
.stock-line.low::before { background: var(--saffron); }
.stock-line.out::before { background: var(--danger); }
.buy-row { display: flex; gap: 12px; margin-bottom: 14px; }
.qty { display: inline-flex; border: 1px solid #c5ccca; border-radius: var(--r-sm); }
.qty button { width: 44px; border: 0; background: none; font-size: 1.2rem; cursor: pointer; }
.qty input { width: 52px; min-height: 46px; border: 0; text-align: center; padding: 0; -moz-appearance: textfield; }
.qty input::-webkit-inner-spin-button { -webkit-appearance: none; }
.buy-row .btn { flex: 1; }
.reassure { list-style: none; padding: 18px 0 0; margin: 22px 0 0; border-top: 1px solid var(--mist); font-size: .93rem; color: var(--muted); }
.reassure li { padding: 4px 0 4px 26px; position: relative; }
.reassure li::before { content: ""; position: absolute; left: 4px; top: 12px; width: 10px; height: 6px; border-left: 2px solid var(--gold-deep); border-bottom: 2px solid var(--gold-deep); transform: rotate(-45deg); }
.details { margin-top: 28px; border-top: 1px solid var(--mist); }
.details details { border-bottom: 1px solid var(--mist); }
.details summary { cursor: pointer; list-style: none; padding: 18px 0; font-weight: 600; display: flex; justify-content: space-between; }
.details summary::-webkit-details-marker { display: none; }
.details summary::after { content: "+"; font-weight: 400; font-size: 1.3rem; line-height: 1; }
.details details[open] summary::after { content: "−"; }
.details .body { padding: 0 0 20px; color: #384245; }
.ingredient-chips { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 0; }
.ingredient-chips li { border: 1px solid var(--mist); border-radius: 30px; padding: 4px 12px; font-size: .9rem; }
@media (max-width: 860px) { .pdp { grid-template-columns: 1fr; padding-top: 16px; } }

/* ---------- Panier (page & tiroir) ---------- */
.cart-page { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 48px; padding: 40px 0 90px; align-items: start; }
.cart-lines { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--mist); }
.cart-line { display: grid; grid-template-columns: 96px 1fr auto; gap: 18px; padding: 20px 0; border-bottom: 1px solid var(--mist); align-items: center; }
.cart-line img { width: 96px; height: 96px; object-fit: cover; border-radius: var(--r-sm); background: var(--porcelain); }
.cart-line h3 { font-size: 1.2rem; margin: 0 0 4px; }
.cart-line h3 a { text-decoration: none; }
.line-actions { display: flex; align-items: center; gap: 14px; margin-top: 10px; }
.line-actions .qty input { min-height: 38px; width: 42px; }
.line-actions .qty button { width: 36px; }
.remove-btn { background: none; border: 0; color: var(--muted); text-decoration: underline; cursor: pointer; font-size: .9rem; padding: 0; }
.line-total { font-weight: 700; font-variant-numeric: tabular-nums; }
.summary { background: var(--porcelain); border-radius: var(--r-md); padding: 26px; position: sticky; top: 100px; }
.summary h2 { font-size: 1.5rem; }
.summary dl { margin: 0 0 18px; }
.summary dl div { display: flex; justify-content: space-between; padding: 8px 0; }
.summary dl .grand { border-top: 1px solid var(--mist); margin-top: 6px; padding-top: 14px; font-size: 1.15rem; font-weight: 700; }
.free-hint { font-size: .9rem; background: #fff; border-radius: var(--r-sm); padding: 10px 12px; margin-bottom: 16px; }
@media (max-width: 900px) { .cart-page { grid-template-columns: 1fr; } .summary { position: static; } }
@media (max-width: 520px) { .cart-line { grid-template-columns: 72px 1fr; } .cart-line img { width: 72px; height: 72px; } .line-total { grid-column: 2; } }

.drawer-backdrop { position: fixed; inset: 0; background: rgba(28,36,39,.45); opacity: 0; pointer-events: none; transition: opacity .25s; z-index: 70; }
.drawer-backdrop.open { opacity: 1; pointer-events: auto; }
.cart-drawer { position: fixed; top: 0; right: 0; bottom: 0; width: min(100vw, 420px); background: #fff; z-index: 80; display: flex; flex-direction: column; transform: translateX(100%); visibility: hidden; transition: transform .32s var(--ease), visibility .32s; }
.cart-drawer.open { transform: none; visibility: visible; }
.drawer-head { display: flex; justify-content: space-between; align-items: center; padding: 18px 22px; border-bottom: 1px solid var(--mist); }
.drawer-head h2 { font-size: 1.4rem; margin: 0; }
.drawer-body { flex: 1; overflow-y: auto; padding: 0 22px; }
.drawer-body .cart-line { grid-template-columns: 72px 1fr auto; }
.drawer-body .cart-line img { width: 72px; height: 72px; }
.drawer-body .cart-line h3 { font-size: 1.05rem; }
.drawer-foot { padding: 18px 22px 22px; border-top: 1px solid var(--mist); }
.drawer-foot .row { display: flex; justify-content: space-between; margin-bottom: 6px; }
.drawer-foot .btn + .btn { margin-top: 10px; }
.drawer-msg { padding: 12px 22px; background: #ecf4ef; font-size: .93rem; display: none; }
.drawer-msg.show { display: block; }
.drawer-msg.error { background: #fbeceb; }
@media (prefers-reduced-motion: reduce) { .cart-drawer, .main-nav, .drawer-backdrop { transition: none; } }

/* ---------- Tunnel de commande ---------- */
.steps { display: flex; gap: 0; list-style: none; padding: 0; margin: 0 0 8px; font-size: .9rem; counter-reset: s; flex-wrap: wrap; }
.steps li { counter-increment: s; color: var(--muted); display: flex; align-items: center; }
.steps li::before { content: counter(s); width: 24px; height: 24px; border-radius: 50%; border: 1px solid currentColor; display: inline-grid; place-items: center; font-size: 12px; margin-right: 8px; }
.steps li + li::after { content: none; }
.steps li + li { margin-left: 14px; padding-left: 14px; border-left: 1px solid var(--mist); }
.steps li[aria-current="step"] { color: var(--ink); font-weight: 700; }
.steps li.done { color: var(--success); }
.checkout { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 48px; padding-block: 36px 90px; align-items: start; }
.checkout fieldset { border: 0; padding: 0; margin: 0 0 28px; }
.checkout legend { font-family: var(--f-display); font-size: 1.5rem; margin-bottom: 16px; padding: 0; }
.mini-lines { list-style: none; padding: 0; margin: 0 0 16px; }
.mini-lines li { display: grid; grid-template-columns: 56px 1fr auto; gap: 12px; align-items: center; padding: 10px 0; border-bottom: 1px solid var(--mist); font-size: .93rem; }
.mini-lines img { width: 56px; height: 56px; object-fit: cover; border-radius: var(--r-sm); }
.address-box { background: #fff; border: 1px solid var(--mist); border-radius: var(--r-sm); padding: 14px 16px; margin-bottom: 18px; font-size: .95rem; }
#paypal-buttons { min-height: 150px; margin-top: 10px; }
.pay-state { padding: 12px 14px; border-radius: var(--r-sm); margin-top: 12px; display: none; }
.pay-state.show { display: block; }
.sandbox-note { font-size: .88rem; background: #fff6e8; border-left: 3px solid var(--saffron); padding: 10px 12px; margin-bottom: 16px; }
@media (max-width: 900px) { .checkout { grid-template-columns: 1fr; } .checkout .summary { order: -1; } }

/* ---------- Commande / suivi ---------- */
.order-hero { padding: 56px 0 30px; max-width: 760px; }
.status-track { display: flex; list-style: none; padding: 0; margin: 26px 0 36px; }
.status-track li { flex: 1; padding-top: 14px; border-top: 3px solid var(--mist); font-size: .9rem; color: var(--muted); }
.status-track li + li { margin-left: 6px; }
.status-track li.done { border-color: var(--success); color: var(--ink); }
.status-track li.current { border-color: var(--gold); color: var(--ink); font-weight: 700; }
.order-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; margin-bottom: 80px; max-width: 980px; }
.panel { border: 1px solid var(--mist); border-radius: var(--r-md); padding: 24px; }
.panel h2 { font-size: 1.35rem; }
@media (max-width: 760px) { .order-grid { grid-template-columns: 1fr; } .status-track { flex-direction: column; } .status-track li + li { margin: 8px 0 0; } }

/* ---------- Pages éditoriales ---------- */
.prose { max-width: 70ch; padding: 44px 0 90px; }
.prose h2 { font-size: 1.6rem; margin-top: 1.6em; }
.prose ul { padding-left: 1.2em; }
.prose li { margin-bottom: .4em; }
.contact-grid { display: grid; grid-template-columns: 1fr 1.3fr; gap: 56px; padding-block: 44px 90px; }
.contact-grid dl dt { font-weight: 700; margin-top: 16px; }
.contact-grid dl dd { margin: 4px 0 0; color: var(--muted); }
.hp { position: absolute; left: -10000px; }
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; gap: 20px; } }

.nf { padding: 90px 0 110px; max-width: 640px; }
.nf .code { font-family: var(--f-display); font-size: 6rem; line-height: 1; color: var(--gold); }

@media print { .site-header, .site-footer, .notice-bar, .cart-drawer { display: none !important; } }
@media (max-width: 520px) { .product-card .add .btn { font-size: .85rem; padding: 0 .6em; } .product-card h3 { font-size: 1.12rem; } }
