/* Roustmia Eclairage & Pro (Ben Ferhat) — mini COD store
   Design system:
   - Type: Familjen Grotesk (checklist §17 "Personality"), 2 weights (400/700),
     5 static sizes + 2 fluid displays — no ad-hoc sizes.
   - Space: 4pt grid (every padding/margin/gap divisible by 4).
   - Colour: 60 paper / 30 card / 10 accent on what you tap; gold reserved for dark.
     Borders in alpha; shadows tinted to the ink, layered 2 deep.
   - Contrast: ≥4.5:1 text / ≥3:1 UI. */

/* ---------- Webfont (self-hosted, checklist-approved family) ---------- */
@font-face {
  font-family: "Familjen Grotesk";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("assets/fonts/familjen-grotesk-400-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Familjen Grotesk";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("assets/fonts/familjen-grotesk-700-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Familjen Grotesk";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("assets/fonts/familjen-grotesk-400-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Familjen Grotesk";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("assets/fonts/familjen-grotesk-700-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  /* palette (incumbent world) */
  --ink: #16202b;
  --ink-bg: #0e151c;
  --paper: #f5f8fa;
  --card: #ffffff;
  --line: rgb(22 32 43 / .12);        /* alpha borders blend on any surface */
  --muted: #52646f;
  --muted-dark: #9fb0bc;
  --accent: #12618c;      /* ≥4.5:1 on paper/card — text & primary CTA */
  --accent-ui: #1a7fb5;   /* ≥3:1 — icons, borders, focus */
  --accent-deep: #0d4a70;
  --gold: #d9b45a;        /* dark surfaces only — ties to the BF logo */
  --danger: #b3261e;
  --ok: #1e7d32;

  /* type scale — the only sizes in the system */
  --text-xs: .8125rem;   /* 13 — badges, hints, legal */
  --text-sm: .875rem;    /* 14 — meta, nav, labels */
  --text-base: 1rem;     /* 16 — body, buttons, card titles */
  --text-md: 1.25rem;    /* 20 — totals, done title, footer brand */
  --text-price: 1.5rem;  /* 24 — product price */
  --text-h2: clamp(1.375rem, 1.25rem + .6vw, 1.625rem); /* 22→26 */
  --text-h1: clamp(2rem, 1.5rem + 2.2vw, 2.75rem);      /* 32→44 */

  /* space & shape */
  --wrap: 960px;
  --pad: 24px;
  --radius-lg: 16px;
  --radius: 10px;
  --shadow-card: 0 1px 2px rgb(14 21 28 / .06), 0 4px 14px rgb(14 21 28 / .08);
  --shadow-dialog: 0 2px 6px rgb(14 21 28 / .14), 0 24px 60px rgb(14 21 28 / .28);
  --ease-out: cubic-bezier(.22, 1, .36, 1);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

/* anchored sections clear the sticky header */
section[id] { scroll-margin-top: 112px; }

/* browser surfaces carry the design too */
::selection { background: rgb(26 127 181 / .28); }
a { text-underline-offset: .2em; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Familjen Grotesk", "Segoe UI", system-ui, -apple-system, sans-serif;
  font-size: var(--text-base);
  line-height: 1.5;
  -webkit-tap-highlight-color: transparent; /* :active states own the feedback */
}

button { touch-action: manipulation; font: inherit; }

h1, h2, h3 {
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -.02em; /* headings only — never body */
  text-box: trim-both cap alphabetic; /* optical centring where supported */
}
h1 { font-size: var(--text-h1); }
h2 { font-size: var(--text-h2); }
h3 { font-size: var(--text-base); line-height: 1.3; }

img { display: block; max-width: 100%; }

.wrap { max-width: var(--wrap); margin-inline: auto; padding-inline: var(--pad); }

/* Skip link — keyboard entry point */
.skip-link {
  position: absolute; left: 16px; top: -52px; z-index: 60;
  background: var(--ink-bg); color: var(--paper);
  padding: 12px 16px; border-radius: 0 0 10px 10px;
  transition: top .15s ease;
}
.skip-link:focus-visible { top: 0; }

/* ---------- Buttons (MOB-01: ≥48px targets; CRAFT-01: 4 states) ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 12px 20px;
  border: 1px solid transparent; border-radius: 999px;
  font-weight: 700; font-size: var(--text-base);
  cursor: pointer; text-decoration: none;
  touch-action: manipulation; /* MOB-05 */
  transition:
    transform .15s ease-out,
    box-shadow .15s ease-out,
    background-color .15s ease-out,
    border-color .15s ease-out,
    color .15s ease-out;
}
.btn:focus-visible { outline: 2px solid var(--accent-ui); outline-offset: 2px; }
.btn:active { transform: scale(.97); } /* pressed = 0.97, 150ms ease-out */

.btn-primary { background: var(--accent); color: #ffffff; }
.btn-wa { background: #e8f4ee; color: #14532d; border-color: #bfe0cd; }
.btn-outline { background: transparent; color: var(--ink); border-color: var(--accent-ui); }
.btn-phone {
  background: transparent; color: var(--paper);
  border-color: rgb(245 248 250 / .35);
  padding: 8px 16px; min-height: 44px;
}

@media (hover: hover) {
  .btn-primary:hover { background: var(--accent-ui); box-shadow: var(--shadow-card); }
  .btn-wa:hover { background: #d8eee2; }
  .btn-outline:hover { background: rgb(26 127 181 / .08); }
  .btn-phone:hover { border-color: var(--gold); color: var(--gold); }
}

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 40;
  background: var(--ink-bg); color: var(--paper);
  box-shadow: 0 1px 0 rgb(245 248 250 / .12);
}
.header-row { display: flex; align-items: center; gap: 20px; padding-block: 8px; }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: var(--paper); }
.brand-emblem { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; }
.brand-name {
  display: flex; align-items: baseline; gap: 8px;
  font-weight: 700; font-size: var(--text-md); letter-spacing: .02em;
}
.brand-ar { color: var(--gold); font-size: var(--text-md); line-height: 1; }
.brand-sub { display: block; color: var(--muted-dark); font-size: var(--text-xs); font-weight: 400; letter-spacing: .06em; }
.main-nav { display: flex; gap: 4px; margin-inline-start: auto; }
.main-nav a {
  color: var(--muted-dark); text-decoration: none; font-weight: 400; font-size: var(--text-sm);
  padding: 8px 12px; border-radius: 8px; min-height: 44px; display: inline-flex; align-items: center;
}
.main-nav a:focus-visible { outline: 2px solid var(--gold); outline-offset: 1px; }
.main-nav a:active { color: var(--paper); }

@media (hover: hover) {
  .main-nav a:hover { color: var(--paper); }
}

.trustline {
  display: flex; flex-wrap: wrap; gap: 4px 12px; align-items: center;
  margin: 0; padding-block: 8px;
  border-top: 1px solid rgb(245 248 250 / .1);
  color: var(--muted-dark); font-size: var(--text-xs);
}

/* ---------- Hero ---------- */
.hero { padding-block: clamp(48px, 7vw, 112px) clamp(40px, 5vw, 80px); }
.hero-grid {
  display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(24px, 5vw, 64px); align-items: center;
}
.hero h1 { margin: 0 0 16px; }
.hero-lead { margin: 0 0 24px; color: var(--muted); max-width: 54ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 24px; }
.hero-points { list-style: none; margin: 0; padding: 0; color: var(--muted); font-size: var(--text-base); display: grid; gap: 8px; }
.hero-points li { padding-inline-start: 24px; position: relative; }
.hero-points li::before {
  content: ""; position: absolute; left: 0; top: .42em;
  width: 8px; height: 8px; border-radius: 50%;
  border: 2px solid var(--accent-ui);
}

.hero-media {
  position: relative; margin: 0; justify-self: center; width: min(100%, 420px);
}
.hero-media img {
  width: 100%; height: auto; aspect-ratio: 3 / 4; object-fit: cover; /* fills without distortion */
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
}
.hero-tag {
  position: absolute; inset-inline: 16px; bottom: 16px;
  display: grid; gap: 4px;
  background: rgb(14 21 28 / .82);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  color: var(--paper); padding: 12px 16px; border-radius: var(--radius);
}
.hero-tag-name { font-weight: 700; font-size: var(--text-base); }
.hero-tag-sub { font-variant-numeric: tabular-nums; color: var(--gold); font-weight: 400; font-size: var(--text-sm); }

.badge {
  display: inline-flex; align-items: center;
  padding: 4px 12px; border-radius: 999px;
  font-size: var(--text-xs); font-weight: 700;
}
.badge-opening { background: rgb(217 180 90 / .18); color: var(--gold); border: 1px solid rgb(217 180 90 / .5); }

/* ---------- Sections ---------- */
.section { padding-block: clamp(64px, 9vw, 144px); }
.section-head { max-width: 60ch; margin-bottom: 16px; }
.section-head h2 { margin: 0 0 8px; }
.section-sub { margin: 0; color: var(--muted); }
.demo-note { margin: 0 0 24px; color: var(--accent); font-size: var(--text-sm); }

/* ---------- Product grid (card guide: article root, source-order regions) ---------- */
.grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px;
}
@media (min-width: 641px) { .grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 901px) { .grid { grid-template-columns: repeat(4, 1fr); } }

.card {
  display: grid; grid-template-rows: auto auto auto auto; /* media / h3 / price / footer share tracks */
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-lg);
  overflow: hidden; box-shadow: var(--shadow-card);
  transition: transform .18s ease-out, box-shadow .18s ease-out;
}
@media (hover: hover) {
  .card:hover { transform: translateY(-2px); box-shadow: 0 2px 4px rgb(14 21 28 / .08), 0 12px 28px rgb(14 21 28 / .14); }
}
.card img {
  width: 100%; height: auto; aspect-ratio: 3 / 4; object-fit: cover;
  background: var(--paper);
}
.card h3 { margin: 12px 16px 4px; }
.card .price {
  margin: 0 16px 12px; font-weight: 700; color: var(--accent);
  font-variant-numeric: tabular-nums;
}
.card footer { padding: 0 16px 16px; }
.btn-card { width: 100%; background: var(--paper); color: var(--ink); border-color: var(--line); }
@media (hover: hover) {
  .btn-card:hover { background: #eaf1f6; border-color: var(--accent-ui); }
}

/* ---------- Boutique ---------- */
.section-boutique { background: var(--card); border-block: 1px solid var(--line); }
.boutique-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(24px, 4vw, 56px); align-items: center; }
.boutique-media img { width: 100%; height: auto; border-radius: var(--radius-lg); box-shadow: var(--shadow-card); }
.boutique-copy h2 { margin: 0 0 12px; }
.boutique-copy > p { margin: 0 0 20px; color: var(--muted); }
.fact-list { margin: 0 0 24px; display: grid; gap: 12px; }
.fact-list div { display: grid; grid-template-columns: 112px 1fr; gap: 12px; }
.fact-list dt { color: var(--muted); font-size: var(--text-sm); }
.fact-list dd { margin: 0; }

/* ---------- Infos ---------- */
.infos-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.info-card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 32px; box-shadow: var(--shadow-card);
}
.info-card h2 { margin: 0 0 16px; }
.steps { margin: 0; padding-inline-start: 24px; color: var(--muted); display: grid; gap: 8px; }
.contact-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; color: var(--muted); }
.contact-list a { color: var(--accent); text-decoration: none; }
.contact-list a:focus-visible { outline: 2px solid var(--accent-ui); outline-offset: 2px; }
.contact-list a:active { opacity: .6; }

@media (hover: hover) {
  .contact-list a:hover { text-decoration: underline; }
}

/* ---------- Footer ---------- */
.site-footer { background: var(--ink-bg); color: var(--muted-dark); padding-block: 48px 32px; }
.footer-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.footer-brand { font-size: var(--text-md); font-weight: 700; color: var(--paper); margin: 0 0 8px; }
.footer-h { font-size: var(--text-base); font-weight: 700; color: var(--paper); margin: 0 0 12px; } /* sentence case, no caps */
.footer-grid p, .footer-links { font-size: var(--text-sm); margin: 0; }
.footer-links { list-style: none; padding: 0; display: grid; gap: 8px; }
.footer-legal {
  margin: 32px auto 0; padding-top: 24px;
  border-top: 1px solid rgb(245 248 250 / .1);
  color: var(--muted-dark); font-size: var(--text-xs); text-align: center;
}

/* ---------- Dialogs (native <dialog>: focus trap, Esc to close) ---------- */
.dialog {
  border: none; border-radius: var(--radius-lg);
  padding: 0; width: min(92vw, 880px); max-width: 92vw;
  background: var(--card); color: var(--ink);
  box-shadow: var(--shadow-dialog);
}
.dialog::backdrop { background: rgb(14 21 28 / .55); }
.dialog[open] { animation: dialog-in .24s var(--ease-out); }
@keyframes dialog-in {
  from { opacity: 0; transform: translateY(12px) scale(.97); } /* entrances start 0.95–0.97, never 0 */
  to { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  .dialog[open] { animation: none; }
  .card, .btn, .skip-link { transition: none; }
  html { scroll-behavior: auto; }
}

.dialog-body {
  padding: clamp(24px, 4vw, 32px); max-height: 86vh; max-height: 86dvh;
  overflow-y: auto; overscroll-behavior: contain; /* popups don't scroll the page behind */
  scrollbar-width: thin; scrollbar-color: rgb(22 32 43 / .35) transparent;
}
.dialog-close {
  position: absolute; top: 12px; right: 12px; z-index: 2;
  width: 48px; height: 48px; /* MOB-01 */
  display: inline-flex; align-items: center; justify-content: center;
  border: none; border-radius: 50%;
  background: var(--paper); color: var(--ink); cursor: pointer;
}
.dialog-close:focus-visible { outline: 2px solid var(--accent-ui); outline-offset: 2px; }
@media (hover: hover) {
  .dialog-close:hover { background: #eaf1f6; }
}

/* Product dialog */
.pd-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(16px, 3vw, 32px); }
.pd-media img { width: 100%; height: auto; aspect-ratio: 3 / 4; object-fit: cover; border-radius: var(--radius); background: var(--paper); }
.pd-thumbs { display: flex; gap: 12px; margin-top: 12px; }
.pd-thumbs[hidden] { display: none; } /* [hidden] must beat display:flex — the broken-thumbnail fix */
.pd-thumb { padding: 0; border: 2px solid var(--line); border-radius: 8px; background: none; cursor: pointer; overflow: hidden; width: 72px; height: 96px; }
.pd-thumb img { width: 100%; height: 100%; object-fit: cover; }
.pd-thumb[aria-current="true"] { border-color: var(--accent-ui); }
.pd-thumb:focus-visible { outline: 2px solid var(--accent-ui); outline-offset: 2px; }

.pd-info h2 { margin: 0 0 8px; }
.pd-price { margin: 0 0 20px; font-size: var(--text-price); font-weight: 700; color: var(--accent); font-variant-numeric: tabular-nums; }

.size-field { border: none; margin: 0 0 20px; padding: 0; }
.size-field legend { font-weight: 700; margin-bottom: 12px; }
.size-chips { display: flex; flex-wrap: wrap; gap: 12px; } /* MOB-07: ≥8px spacing */
.size-chip { position: relative; }
.size-chip input {
  position: absolute; inset: 0; opacity: 0; margin: 0; cursor: pointer; /* keep in a11y tree */
}
.size-chip span {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 52px; min-height: 48px; padding: 12px 16px; /* MOB-01 */
  border: 2px solid var(--line); border-radius: var(--radius);
  font-weight: 700; background: var(--card);
  transition: border-color .15s ease-out, background-color .15s ease-out;
}
.size-chip input:checked + span { border-color: var(--accent-deep); background: var(--accent); color: #ffffff; }
.size-chip input:focus-visible + span { outline: 2px solid var(--accent-ui); outline-offset: 2px; }
@media (hover: hover) {
  .size-chip input:hover + span { border-color: var(--accent-ui); }
}

.pd-perks { list-style: none; margin: 0 0 24px; padding: 16px; background: var(--paper); border-radius: var(--radius); display: grid; gap: 8px; color: var(--muted); font-size: var(--text-sm); }
.pd-perks li { padding-inline-start: 20px; position: relative; }
.pd-perks li::before {
  content: "✓"; position: absolute; left: 0; top: 0;
  color: var(--ok); font-weight: 700;
}
.btn-order { width: 100%; }

/* Order dialog */
.dialog-order { width: min(92vw, 560px); }
.od-paynote { margin: 0 0 16px; color: var(--muted); font-size: var(--text-sm); }

.od-summary {
  display: flex; gap: 16px; align-items: center;
  background: var(--paper); border-radius: var(--radius); padding: 12px; margin-bottom: 20px;
}
.od-summary img { width: 72px; height: 96px; object-fit: cover; border-radius: 8px; }
.od-sum-info { flex: 1; }
.od-product { margin: 0; font-weight: 700; }
.od-meta { margin: 4px 0 12px; color: var(--muted); font-size: var(--text-sm); font-variant-numeric: tabular-nums; }
.qty-row { display: flex; align-items: center; gap: 12px; }
.qty-label { font-size: var(--text-sm); color: var(--muted); margin-inline-end: 4px; }
.qty-btn {
  width: 44px; height: 44px; border-radius: var(--radius);
  border: 1px solid var(--line); background: var(--card);
  font-size: var(--text-md); font-weight: 700; cursor: pointer; line-height: 1;
  transition: border-color .15s ease-out;
}
.qty-btn:focus-visible { outline: 2px solid var(--accent-ui); outline-offset: 2px; }
@media (hover: hover) {
  .qty-btn:hover { border-color: var(--accent-ui); }
}
#qty-value { min-width: 28px; text-align: center; font-weight: 700; font-variant-numeric: tabular-nums; }

/* FORM-01 single column; FORM-02 labels above */
.field { display: flex; flex-direction: column; gap: 8px; margin-bottom: 16px; }
.field label, .mode-field legend { font-weight: 700; font-size: var(--text-sm); }
.opt, .opt-why { color: var(--muted); font-weight: 400; font-size: var(--text-xs); }
.hint { margin: 0; color: var(--muted); font-size: var(--text-xs); }

.field input, .field select, .field textarea {
  font: inherit; font-size: max(1rem, 1em); /* MOB-02 ≥16px, no iOS zoom */
  color: var(--ink); background: var(--card); /* CRAFT-10 explicit colors */
  border: 1.5px solid #6e7d87; border-radius: var(--radius);
  padding: 12px 16px; min-height: 48px; width: 100%;
  caret-color: var(--accent-ui);
}
.field textarea { resize: vertical; min-height: 0; }
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible {
  outline: 2px solid var(--accent-ui); outline-offset: 1px; border-color: var(--accent-ui);
}
.field select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='9' viewBox='0 0 14 9'%3E%3Cpath d='M1 1l6 6 6-6' fill='none' stroke='%2352646f' stroke-width='2'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 16px center; padding-inline-end: 40px; }

/* FORM-05/:user-invalid — only after user touched the field */
.field input:user-invalid, .field select:user-invalid { border-color: var(--danger); }
.field .error-msg { color: var(--danger); font-size: var(--text-sm); margin: 0; } /* FORM-06: text next to field */

.mode-field { border: none; padding: 0; margin-bottom: 16px; }
.mode-chips { display: flex; gap: 12px; margin-top: 8px; }
.mode-chip { position: relative; flex: 1; }
.mode-chip input { position: absolute; inset: 0; opacity: 0; margin: 0; cursor: pointer; }
.mode-chip span {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  min-height: 48px; padding: 12px; border: 2px solid var(--line); border-radius: var(--radius);
  font-weight: 700; transition: border-color .15s ease-out, background-color .15s ease-out;
}
.mode-chip input:checked + span { border-color: var(--accent-deep); background: var(--accent); color: #ffffff; }
.mode-chip input:focus-visible + span { outline: 2px solid var(--accent-ui); outline-offset: 2px; }

.od-totals { border-top: 2px solid var(--ink); margin-top: 8px; padding-top: 16px; margin-bottom: 20px; }
.trow { display: flex; justify-content: space-between; gap: 12px; margin-bottom: 8px; color: var(--muted); font-size: var(--text-sm); font-variant-numeric: tabular-nums; }
.trow-total { color: var(--ink); font-weight: 700; font-size: var(--text-md); margin-top: 4px; }
.t-eta { margin: 8px 0 0; color: var(--ok); font-size: var(--text-sm); }

.od-errors {
  background: #fbeaea; border: 1px solid var(--danger); border-radius: var(--radius);
  color: var(--danger); padding: 12px 16px; margin-bottom: 16px; font-size: var(--text-sm);
}
.od-errors ul { margin: 0; padding-inline-start: 20px; }

.btn-submit { width: 100%; }
.btn-submit[disabled] { opacity: .6; cursor: wait; } /* CRAFT-03: disable only in-flight */
.od-fineprint { margin: 12px 0 0; color: var(--muted); font-size: var(--text-xs); text-align: center; }

.od-done h3 { margin: 0 0 8px; font-size: var(--text-md); letter-spacing: 0; }
.od-done-sub { margin: 0 0 16px; color: var(--muted); }
.od-done-recap { background: var(--paper); border-radius: var(--radius); padding: 16px; margin-bottom: 16px; }
.od-done-recap dl { margin: 0; display: grid; gap: 8px; grid-template-columns: auto 1fr; }
.od-done-recap dt { color: var(--muted); font-size: var(--text-sm); }
.od-done-recap dd { margin: 0; font-weight: 700; font-variant-numeric: tabular-nums; }
.od-done-actions { display: grid; gap: 12px; margin-bottom: 16px; }
.od-done-note { margin: 0; color: var(--muted); font-size: var(--text-xs); }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  section[id] { scroll-margin-top: 152px; }
  .hero-grid, .boutique-grid { grid-template-columns: 1fr; }
  .hero-media { justify-self: start; width: min(100%, 400px); }
  .infos-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  /* mobile nav: visible row replaces the trustline (which the hero points repeat) */
  .trustline { display: none; }
  .header-row { flex-wrap: wrap; }
  .main-nav {
    order: 3; flex-basis: 100%;
    margin-inline-start: 0; gap: 4px;
    padding-block: 4px 8px;
    border-top: 1px solid rgb(245 248 250 / .1);
  }
  .main-nav a { flex: 1; justify-content: center; }
}
@media (max-width: 640px) {
  .pd-grid { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
  .grid { gap: 12px; }
  .btn-phone span { display: none; } /* icon-only phone on small screens */
  .btn-phone { padding: 8px; }
  .brand-sub { display: none; }
  .footer-grid { grid-template-columns: 1fr; }
}
