/* =====================================================================
   Bio Pelletia — feuille de style du site (mobile d'abord)
   Palette : bleu nuit + safran ; titres Space Grotesk, texte Inter.
   Toutes les couleurs passent par les variables ci-dessous.
   ===================================================================== */
/* Polices hébergées sur le site (SIL OFL 1.1, voir docs/licences.md) : pas d'appel à Google Fonts,
   donc pas d'IP transmise à Google et un rendu plus rapide. Fichiers variables : un seul fichier par
   sous-ensemble couvre toutes les graisses. latin-ext = caractères slovaques (č, ď, ľ, ň, ŕ, š, ť, ž…). */
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 400 800; font-display: swap;
  src: url(../fonts/inter-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-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 400 800; font-display: swap;
  src: url(../fonts/inter-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: 'Space Grotesk'; font-style: normal; font-weight: 500 700; font-display: swap;
  src: url(../fonts/space-grotesk-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-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Space Grotesk'; font-style: normal; font-weight: 500 700; font-display: swap;
  src: url(../fonts/space-grotesk-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; }

:root {
  --ink: #0f1f33;
  --ink-2: #2c3e55;
  --muted: #5a6b7d;
  --muted-2: #7c8a99;
  --navy: #16324f;
  --navy-2: #0f2238;
  --blue: #1d5fa0;
  --sky: #eaf2fb;
  --paper: #f6f8fb;
  --line: #dfe6ee;
  --line-2: #ecf0f5;
  --saffron: #f5a524;
  --saffron-2: #e3920f;
  --saffron-soft: #fff6e0;
  --ember: #e2553b;
  --ember-soft: #fdf1ee;
  --green: #1f8a5b;
  --green-soft: #e8f6ef;
  --white: #fff;
  --radius: 14px;
  --radius-lg: 22px;
  --shadow: 0 1px 2px rgba(15, 31, 51, .06), 0 8px 24px -12px rgba(15, 31, 51, .18);
  --shadow-lg: 0 24px 48px -24px rgba(15, 31, 51, .35);
  --font: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --font-display: 'Space Grotesk', 'Inter', system-ui, sans-serif;
  --container: 1200px;
  --gutter: 16px;
  --header-h: 64px;
}
@media (min-width: 768px) { :root { --gutter: 28px; } }

*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
html, body { overflow-x: hidden; max-width: 100%; }
body {
  font-family: var(--font);
  font-size: 15px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  padding-bottom: 68px; /* barre d'onglets mobile */
}
@media (min-width: 1024px) { body { padding-bottom: 0; } }
body:not(:has(.tabbar)) { padding-bottom: 0; }
img, picture, svg, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: none; }
ul, ol { list-style: none; }
fieldset { border: 0; min-width: 0; }
legend { padding: 0; }
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 700; line-height: 1.15; letter-spacing: -.02em; color: var(--ink); }
picture img { background: var(--line-2); }

.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
:focus-visible { outline: 3px solid var(--saffron); outline-offset: 2px; border-radius: 6px; }
.skip-link { position: absolute; left: 8px; top: -60px; z-index: 200; background: var(--navy); color: #fff; padding: 10px 16px; border-radius: 10px; font-weight: 700; }
.skip-link:focus { top: 8px; }
.no-scroll { overflow: hidden; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }
.container-sm { max-width: 820px; }
.container-md { max-width: 1000px; }
.section { padding: 40px 0; }
@media (min-width: 768px) { .section { padding: 64px 0; } }
.section-tight { padding: 24px 0; }
.bg-paper { background: var(--paper); }
.bg-sky { background: var(--sky); }
.bg-navy { background: var(--navy); color: #fff; }
.stack > * + * { margin-top: 16px; }
.muted { color: var(--muted); }
.small { font-size: 13px; }
.center { text-align: center; }
.nowrap { white-space: nowrap; }
.mt-0 { margin-top: 0 !important; }
.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }

/* ------------------------------------------------------------ Typo */
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--blue); }
.h-xl { font-size: clamp(32px, 7vw, 58px); }
.h-lg { font-size: clamp(26px, 4.6vw, 40px); }
.h-md { font-size: clamp(21px, 3vw, 28px); }
.h-sm { font-size: 18px; }
.lead { font-size: clamp(16px, 2vw, 18px); color: var(--muted); line-height: 1.65; }
.section-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 12px 24px; margin-bottom: 24px; }
.section-head p { max-width: 560px; }
.link-arrow { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; color: var(--blue); }
.link-arrow:hover { color: var(--navy); }
.link-arrow svg { width: 16px; height: 16px; transition: transform .2s; }
.link-arrow:hover svg { transform: translateX(3px); }
.prose { color: var(--ink-2); line-height: 1.75; }
.prose h2 { font-size: 22px; margin: 32px 0 10px; }
.prose h3 { font-size: 18px; margin: 24px 0 8px; }
.prose p, .prose ul, .prose ol { margin: 0 0 14px; }
.prose ul { list-style: disc; padding-left: 22px; }
.prose ol { list-style: decimal; padding-left: 22px; }
.prose li { margin: 4px 0; }
.prose a { color: var(--blue); text-decoration: underline; text-underline-offset: 3px; }
.prose strong { color: var(--ink); }
.prose table { width: 100%; border-collapse: collapse; margin: 0 0 16px; font-size: 14px; }
.prose th, .prose td { border: 1px solid var(--line); padding: 8px 10px; text-align: left; vertical-align: top; }
.prose th { background: var(--paper); }

/* ------------------------------------------------------------ Boutons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 22px; border-radius: 12px; font-weight: 700; font-size: 15px; line-height: 1.2; text-align: center; border: 2px solid transparent; transition: background-color .15s, color .15s, border-color .15s, transform .08s, box-shadow .15s; }
.btn:active { transform: translateY(1px); }
.btn svg { width: 18px; height: 18px; flex-shrink: 0; }
.btn-primary { background: var(--saffron); color: var(--ink); box-shadow: 0 8px 20px -10px rgba(245, 165, 36, .9); }
.btn-primary:hover { background: var(--saffron-2); }
.btn-dark { background: var(--navy); color: #fff; }
.btn-dark:hover { background: var(--navy-2); }
.btn-outline { border-color: var(--line); background: #fff; color: var(--ink); }
.btn-outline:hover { border-color: var(--navy); }
.btn-ghost-light { border-color: rgba(255, 255, 255, .35); color: #fff; }
.btn-ghost-light:hover { border-color: #fff; background: rgba(255, 255, 255, .08); }
.btn-block { width: 100%; }
.btn-lg { min-height: 56px; font-size: 16px; padding: 0 28px; }
.btn-sm { min-height: 38px; padding: 0 14px; font-size: 14px; border-radius: 10px; }
.btn[disabled], .btn.is-disabled { background: var(--line-2); color: var(--muted-2); box-shadow: none; cursor: not-allowed; }
.icon-btn { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 12px; color: var(--ink); position: relative; transition: background-color .15s; }
.icon-btn:hover { background: var(--paper); }
.icon-btn svg { width: 22px; height: 22px; }
.count-badge { position: absolute; top: 3px; right: 1px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px; background: var(--ember); color: #fff; font-size: 11px; font-weight: 800; line-height: 18px; text-align: center; }

/* ------------------------------------------------------------ Formulaires */
.field { display: block; }
.field-label { display: block; font-size: 13px; font-weight: 600; color: var(--ink-2); margin-bottom: 6px; }
.input, .select, .textarea { width: 100%; min-height: 48px; border: 1.5px solid var(--line); background: #fff; border-radius: 12px; padding: 11px 14px; font-size: 15px; transition: border-color .15s, box-shadow .15s; }
.textarea { min-height: 96px; resize: vertical; }
.input:hover, .select:hover, .textarea:hover { border-color: #c7d2de; }
.input:focus, .select:focus, .textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 4px rgba(29, 95, 160, .14); }
.form-grid { display: grid; gap: 16px; }
@media (min-width: 640px) { .form-grid-2 { grid-template-columns: 1fr 1fr; } .span-2 { grid-column: 1 / -1; } }
.check { display: flex; align-items: flex-start; gap: 10px; font-size: 14px; color: var(--ink-2); cursor: pointer; }
.check input { width: 20px; height: 20px; flex-shrink: 0; margin-top: 1px; accent-color: var(--navy); }
.help { font-size: 12.5px; color: var(--muted); line-height: 1.55; }

.alert { display: flex; gap: 10px; align-items: flex-start; padding: 13px 16px; border-radius: 12px; font-size: 14px; line-height: 1.5; }
.alert svg { width: 20px; height: 20px; flex-shrink: 0; margin-top: 1px; }
.alert-ok { background: var(--green-soft); color: #145f3e; }
.alert-error { background: var(--ember-soft); color: #9c2f1b; }
.alert-warn { background: var(--saffron-soft); color: #6b4800; }
.alert-info { background: var(--sky); color: var(--navy); }

.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); }
.card-pad { padding: 20px; }
@media (min-width: 768px) { .card-pad { padding: 28px; } }
.card-title { font-size: 19px; margin-bottom: 14px; }

.chip { white-space: nowrap; display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: 999px; background: var(--paper); border: 1px solid var(--line); font-size: 12px; font-weight: 600; color: var(--ink-2); }
.badge { display: inline-flex; align-items: center; padding: 4px 10px; border-radius: 8px; font-size: 12px; font-weight: 800; letter-spacing: .02em; background: var(--navy); color: #fff; }
.badge-saffron { background: var(--saffron); color: var(--ink); }
.dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--green); flex-shrink: 0; }
.dot-out { background: var(--ember); }
.stock { display: inline-flex; align-items: center; gap: 7px; font-size: 13px; font-weight: 600; color: var(--green); }
.stock.is-out { color: var(--ember); }

/* ------------------------------------------------------------ Bandeau promo + barre supérieure */
.promo-banner { background: var(--saffron); color: var(--ink); font-size: 14px; font-weight: 700; text-align: center; padding: 9px var(--gutter); display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 8px; }
.promo-banner code { background: var(--ink); color: var(--saffron); border-radius: 8px; padding: 2px 10px; font-family: ui-monospace, Consolas, monospace; letter-spacing: .06em; }
.utility-bar { background: var(--navy-2); color: #c9d6e4; font-size: 12.5px; }
.utility-bar .container { display: flex; align-items: center; justify-content: center; gap: 6px 22px; min-height: 36px; flex-wrap: wrap; }
.utility-bar span { display: inline-flex; align-items: center; gap: 6px; }
.utility-bar svg { width: 15px; height: 15px; color: var(--saffron); }
.utility-bar a { color: #fff; font-weight: 600; }
.utility-bar .hide-sm { display: none; }
@media (min-width: 768px) { .utility-bar .container { justify-content: space-between; } .utility-bar .hide-sm { display: inline-flex; } }

/* ------------------------------------------------------------ En-tête */
.site-header { position: sticky; top: 0; z-index: 60; background: rgba(255, 255, 255, .96); backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid var(--line); }
.header-main { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 10px 14px; min-height: var(--header-h); }
.brand { display: inline-flex; align-items: center; gap: 10px; font-family: var(--font-display); font-weight: 700; font-size: 20px; letter-spacing: -.03em; color: var(--ink); white-space: nowrap; }
.brand svg { width: 34px; height: 34px; flex-shrink: 0; color: var(--navy); }
.brand b { color: var(--blue); font-weight: 700; }
.header-search { grid-column: 1 / -1; order: 3; position: relative; padding-bottom: 12px; }
.header-search input { width: 100%; height: 44px; border-radius: 12px; border: 1.5px solid var(--line); background: var(--paper); padding: 0 48px 0 44px; font-size: 15px; }
.header-search input:focus { outline: none; border-color: var(--blue); background: #fff; box-shadow: 0 0 0 4px rgba(29, 95, 160, .12); }
.header-search .search-icon { position: absolute; left: 14px; top: 12px; width: 20px; height: 20px; color: var(--muted); pointer-events: none; }
.header-search button { position: absolute; right: 5px; top: 5px; height: 34px; padding: 0 12px; border-radius: 9px; background: var(--navy); color: #fff; font-size: 13px; font-weight: 700; }
.header-actions { display: flex; align-items: center; gap: 2px; justify-self: end; }
.cart-btn { display: inline-flex; align-items: center; gap: 8px; height: 44px; padding: 0 12px 0 10px; border-radius: 12px; background: var(--navy); color: #fff; font-weight: 700; font-size: 14px; margin-left: 4px; position: relative; }
.cart-btn:hover { background: var(--navy-2); }
.cart-btn svg { width: 20px; height: 20px; }
.cart-btn .cart-label { display: none; }
.cart-btn .cart-count { min-width: 22px; height: 22px; padding: 0 6px; border-radius: 11px; background: var(--saffron); color: var(--ink); font-size: 12px; font-weight: 800; line-height: 22px; text-align: center; }
.menu-toggle { display: inline-flex; }
@media (min-width: 768px) {
  .header-main { grid-template-columns: auto minmax(0, 1fr) auto; gap: 20px; min-height: 76px; }
  .header-search { grid-column: auto; order: 0; padding: 0; max-width: 560px; width: 100%; justify-self: center; }
  .cart-btn .cart-label { display: inline; }
}
.header-nav { display: none; border-top: 1px solid var(--line-2); }
.header-nav .container { display: flex; align-items: center; gap: 4px; overflow-x: auto; scrollbar-width: none; }
.header-nav .container::-webkit-scrollbar { display: none; }
.header-nav a { display: inline-flex; align-items: center; gap: 8px; padding: 12px 12px; font-size: 14px; font-weight: 600; color: var(--ink-2); white-space: nowrap; border-bottom: 3px solid transparent; }
.header-nav a:hover { color: var(--navy); }
.header-nav a.is-active { color: var(--navy); border-bottom-color: var(--saffron); }
.header-nav .nav-sep { flex: 1; }
@media (min-width: 1024px) { .header-nav { display: block; } .menu-toggle { display: none; } }

/* Tiroir de navigation (mobile) */
.drawer { position: fixed; inset: 0; z-index: 120; visibility: hidden; }
.drawer.is-open { visibility: visible; }
.drawer-backdrop { position: absolute; inset: 0; background: rgba(15, 31, 51, .5); opacity: 0; transition: opacity .2s; }
.drawer.is-open .drawer-backdrop { opacity: 1; }
.drawer-panel { position: absolute; top: 0; bottom: 0; left: 0; width: min(86vw, 360px); background: #fff; transform: translateX(-100%); transition: transform .25s ease; display: flex; flex-direction: column; overflow-y: auto; }
.drawer.is-open .drawer-panel { transform: none; }
.drawer-head { display: flex; align-items: center; justify-content: space-between; padding: 14px 16px; border-bottom: 1px solid var(--line); }
.drawer-section { padding: 14px 8px; border-bottom: 1px solid var(--line-2); }
.drawer-section h3 { font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); padding: 0 10px 6px; font-family: var(--font); }
.drawer-section a { display: flex; align-items: center; gap: 12px; padding: 11px 10px; border-radius: 10px; font-weight: 600; }
.drawer-section a:hover { background: var(--paper); }
.drawer-section a svg { width: 20px; height: 20px; color: var(--blue); }

/* Barre d'onglets fixe (mobile) */
.tabbar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 70; background: #fff; border-top: 1px solid var(--line); display: grid; grid-template-columns: repeat(5, 1fr); padding-bottom: env(safe-area-inset-bottom); box-shadow: 0 -8px 24px -16px rgba(15, 31, 51, .3); }
.tabbar a, .tabbar button { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; height: 60px; font-size: 11px; font-weight: 600; color: var(--muted); position: relative; }
.tabbar a.is-active { color: var(--navy); }
.tabbar a.is-active::before { content: ""; position: absolute; top: 0; left: 28%; right: 28%; height: 3px; border-radius: 0 0 3px 3px; background: var(--saffron); }
.tabbar svg { width: 22px; height: 22px; }
.tabbar .count-badge { top: 6px; right: calc(50% - 20px); }
@media (min-width: 1024px) { .tabbar { display: none; } }

/* ------------------------------------------------------------ Fil d'Ariane */
.breadcrumbs { font-size: 13px; color: var(--muted); padding: 14px 0; display: flex; flex-wrap: wrap; align-items: center; gap: 4px 6px; }
.breadcrumbs a:hover { color: var(--navy); text-decoration: underline; }
.breadcrumbs .sep { color: var(--muted-2); }
.breadcrumbs [aria-current] { color: var(--ink); font-weight: 600; }

/* ------------------------------------------------------------ Accueil : hero (photo réelle + produit mis en avant) */
.hero { position: relative; background: var(--navy-2); color: #fff; overflow: hidden; isolation: isolate; }
.hero-photo { position: absolute; inset: 0; z-index: -1; }
.hero-photo picture, .hero-photo img { width: 100%; height: 100%; }
.hero-photo img { object-fit: cover; opacity: .35; }
.hero-photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(15, 34, 56, .96) 0%, rgba(15, 34, 56, .85) 45%, rgba(15, 34, 56, .55) 100%); }
.hero-grid { display: grid; gap: 28px; padding-top: 40px; padding-bottom: 44px; align-items: center; }
@media (min-width: 900px) { .hero-grid { grid-template-columns: 1.25fr .75fr; gap: 56px; padding-top: 72px; padding-bottom: 76px; } }
.hero h1 { color: #fff; max-width: 640px; }
.hero .lead { color: #d3dde8; margin-top: 16px; max-width: 560px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.hero-trust { display: grid; gap: 8px; margin-top: 26px; font-size: 14px; color: #dbe5ef; }
.hero-trust li { display: flex; align-items: center; gap: 10px; }
.hero-trust .icon { width: 18px; height: 18px; color: var(--saffron); flex-shrink: 0; }
.hero-product { display: grid; grid-template-columns: 96px 1fr; gap: 14px; align-items: center; background: #fff; color: var(--ink); border-radius: 18px; padding: 14px; box-shadow: var(--shadow-lg); transition: transform .2s; }
.hero-product:hover { transform: translateY(-2px); }
@media (min-width: 900px) { .hero-product { grid-template-columns: 1fr; padding: 18px; } }
.hero-product-img { display: block; aspect-ratio: 1 / 1; background: var(--paper); border-radius: 12px; overflow: hidden; }
.hero-product-img img { object-fit: contain !important; padding: 6px; background: transparent; }
.hero-product-body { display: grid; gap: 4px; }
.hero-product-body strong { font-size: 15px; line-height: 1.35; }
.hero-product-body .link-arrow { font-size: 14px; margin-top: 2px; }

/* ------------------------------------------------------------ Tuiles catégories */
.cat-rail { display: grid; grid-auto-flow: column; grid-auto-columns: 62%; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 6px; scrollbar-width: none; margin: 0 calc(-1 * var(--gutter)); padding-left: var(--gutter); padding-right: var(--gutter); scroll-padding-inline: var(--gutter); }
.cat-rail::-webkit-scrollbar { display: none; }
@media (min-width: 640px) { .cat-rail { grid-auto-columns: 38%; } }
@media (min-width: 1024px) { .cat-rail { grid-auto-flow: row; grid-template-columns: repeat(5, 1fr); overflow: visible; margin: 0; padding: 0; } }
.cat-tile { scroll-snap-align: start; display: flex; flex-direction: column; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; transition: transform .2s, box-shadow .2s, border-color .2s; }
.cat-tile:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: #c9d6e4; }
.cat-tile .cat-img { aspect-ratio: 4 / 3; background: #fff; overflow: hidden; }
.cat-tile .cat-img img { width: 100%; height: 100%; object-fit: contain; padding: 10px; background: #fff; }
.cat-tile .cat-body { padding: 14px 16px 16px; }
.cat-tile h3 { font-size: 16px; }
.cat-tile p { font-size: 13px; color: var(--muted); margin-top: 2px; }
.cat-tile .cat-from { display: inline-block; margin-top: 10px; font-size: 13px; font-weight: 700; color: var(--blue); }

/* ------------------------------------------------------------ Étapes "comment ça marche" */
.steps { display: grid; gap: 14px; counter-reset: step; }
@media (min-width: 768px) { .steps { grid-template-columns: repeat(3, 1fr); gap: 20px; } }
.step { position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 22px 20px 20px 76px; }
@media (min-width: 768px) { .step { padding: 26px 24px; } }
.step::before { counter-increment: step; content: counter(step) "."; position: absolute; left: 20px; top: 18px; width: 40px; color: var(--blue); font-family: var(--font-display); font-weight: 700; font-size: 26px; line-height: 1; }
@media (min-width: 768px) { .step::before { position: static; display: block; margin-bottom: 12px; } }
.step h3 { font-size: 17px; margin-bottom: 4px; }
.step p { font-size: 14px; color: var(--muted); }

/* ------------------------------------------------------------ Cartes produit */
.product-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
@media (min-width: 768px) { .product-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; } }
@media (min-width: 1100px) { .product-grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.p-card { position: relative; display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: 18px; overflow: hidden; transition: box-shadow .2s, border-color .2s, transform .2s; }
.p-card:hover { box-shadow: var(--shadow); border-color: #c9d6e4; transform: translateY(-2px); }
.p-card-img { position: relative; aspect-ratio: 1 / 1; background: var(--paper); }
.p-card-img picture, .p-card-img img { width: 100%; height: 100%; }
.p-card-img img { object-fit: contain !important; padding: 8px; background: transparent; }
.p-card-img .badge { position: absolute; top: 10px; left: 10px; z-index: 1; }
.p-card-body { display: flex; flex-direction: column; flex: 1; padding: 12px 12px 14px; gap: 6px; }
@media (min-width: 768px) { .p-card-body { padding: 16px; } }
.p-card-meta { font-size: 11.5px; color: var(--muted-2); font-weight: 600; letter-spacing: .02em; }
.p-card-title { font-family: var(--font); font-size: 14px; font-weight: 700; line-height: 1.35; letter-spacing: 0; color: var(--ink); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
@media (min-width: 768px) { .p-card-title { font-size: 15px; -webkit-line-clamp: 2; } }
.p-card-title a::after { content: ""; position: absolute; inset: 0; }
.p-card-chips { display: none; flex-wrap: wrap; gap: 6px; }
@media (min-width: 768px) { .p-card-chips { display: flex; } }
.p-card-foot { margin-top: auto; display: flex; align-items: flex-end; justify-content: space-between; gap: 8px; padding-top: 6px; }
.price { font-family: var(--font-display); font-weight: 700; font-size: 19px; letter-spacing: -.02em; color: var(--ink); line-height: 1.1; }
.price small { display: block; font-family: var(--font); font-size: 12px; font-weight: 500; color: var(--muted); letter-spacing: 0; }
.quick-add { position: relative; z-index: 2; display: inline-flex; align-items: center; justify-content: center; width: 42px; height: 42px; border-radius: 12px; background: var(--saffron); color: var(--ink); flex-shrink: 0; transition: background-color .15s, transform .1s; }
.quick-add:hover { background: var(--saffron-2); }
.quick-add:active { transform: scale(.94); }
.quick-add svg { width: 20px; height: 20px; }
.quick-add[disabled] { background: var(--line-2); color: var(--muted-2); cursor: not-allowed; }
.quick-add.is-done { background: var(--green); color: #fff; }
.p-card .stock { font-size: 12px; }

/* Carrousel horizontal */
.rail-wrap { position: relative; }
.rail { display: grid; grid-auto-flow: column; grid-auto-columns: 46%; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding-bottom: 4px; }
.rail::-webkit-scrollbar { display: none; }
.rail > * { scroll-snap-align: start; }
@media (min-width: 768px) { .rail { grid-auto-columns: calc((100% - 36px) / 3); gap: 18px; } }
@media (min-width: 1100px) { .rail { grid-auto-columns: calc((100% - 54px) / 4); } }
.rail-arrows { display: none; gap: 8px; }
@media (min-width: 768px) { .rail-arrows { display: inline-flex; } }
.rail-arrows button { width: 44px; height: 44px; border-radius: 12px; border: 1.5px solid var(--line); background: #fff; display: inline-flex; align-items: center; justify-content: center; }
.rail-arrows button:hover { border-color: var(--navy); }
.rail-arrows svg { width: 20px; height: 20px; }

/* ------------------------------------------------------------ Atouts */
.features { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
@media (min-width: 900px) { .features { grid-template-columns: repeat(4, 1fr); gap: 18px; } }
.feature { background: #fff; border-radius: var(--radius-lg); padding: 18px; border: 1px solid var(--line); }
.feature-icon { color: var(--blue); margin-bottom: 10px; }
.feature-icon svg { width: 26px; height: 26px; }
.feature h3 { font-size: 15.5px; margin-bottom: 4px; }
.feature p { font-size: 13.5px; color: var(--muted); line-height: 1.5; }

/* Articles */
.article-grid { display: grid; gap: 14px; }
@media (min-width: 768px) { .article-grid { grid-template-columns: repeat(3, 1fr); gap: 18px; } }
.a-card { display: flex; flex-direction: column; gap: 8px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 20px; transition: border-color .2s, box-shadow .2s; }
.a-card:hover { border-color: #c9d6e4; box-shadow: var(--shadow); }
.a-card .a-kicker { font-size: 12px; font-weight: 700; color: var(--blue); text-transform: uppercase; letter-spacing: .08em; }
.a-card h3 { font-size: 17px; line-height: 1.3; }
.a-card p { font-size: 14px; color: var(--muted); }
.a-card .link-arrow { margin-top: auto; font-size: 14px; }

/* Avis */
.review-grid { display: grid; gap: 14px; }
@media (min-width: 768px) { .review-grid { grid-template-columns: repeat(3, 1fr); } }
.review { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 18px; }
.stars { display: inline-flex; gap: 2px; vertical-align: middle; }
.stars .icon { width: 16px; height: 16px; color: #c7d2de; }
.stars .icon.is-full { color: var(--saffron); fill: var(--saffron); }
.adm-trend .icon { width: 16px; height: 16px; }

/* ------------------------------------------------------------ Catalogue */
.page-head { background: var(--paper); border-bottom: 1px solid var(--line); }
.page-head .container { padding-top: 4px; padding-bottom: 26px; }
.page-head h1 { margin-top: 4px; }
.page-head .lead { margin-top: 8px; max-width: 760px; }
.chips-row { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; padding: 16px 0 4px; }
.chips-row::-webkit-scrollbar { display: none; }
.filter-chip { flex: 0 0 auto; display: inline-flex; align-items: center; min-height: 40px; padding: 0 16px; border-radius: 999px; border: 1.5px solid var(--line); background: #fff; font-size: 14px; font-weight: 600; color: var(--ink-2); white-space: nowrap; }
.filter-chip:hover { border-color: var(--navy); }
.filter-chip.is-active { background: var(--navy); border-color: var(--navy); color: #fff; }
.catalog-layout { display: grid; gap: 24px; padding: 20px 0 56px; }
@media (min-width: 1024px) { .catalog-layout { grid-template-columns: 270px minmax(0, 1fr); gap: 32px; } }
.filters { display: none; }
@media (min-width: 1024px) { .filters { display: block; position: sticky; top: calc(var(--header-h) + 64px); align-self: start; max-height: calc(100vh - 150px); overflow-y: auto; } }
.filters.is-open { display: block; position: fixed; inset: 0; z-index: 130; background: #fff; overflow-y: auto; padding: 0 var(--gutter) 90px; max-height: none; }
.filters-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 16px 0 10px; }
.filters.is-open .filters-head { position: sticky; top: 0; background: #fff; z-index: 2; border-bottom: 1px solid var(--line); margin-bottom: 8px; }
.filters-close { display: inline-flex; }
@media (min-width: 1024px) { .filters-close { display: none; } .filters:not(.is-open) .filters-head { padding-top: 0; } }
.filter-group { border-bottom: 1px solid var(--line-2); padding: 12px 0; }
.filter-group summary { list-style: none; display: flex; align-items: center; justify-content: space-between; cursor: pointer; font-weight: 700; font-size: 14px; padding: 4px 0; }
.filter-group summary::-webkit-details-marker { display: none; }
.filter-group summary svg { width: 18px; height: 18px; transition: transform .2s; color: var(--muted); }
.filter-group[open] summary svg { transform: rotate(180deg); }
.filter-options { display: grid; gap: 4px; padding-top: 8px; }
.filter-options .check { font-size: 14px; padding: 5px 0; }
.price-range { display: flex; align-items: center; gap: 8px; padding-top: 8px; }
.price-range .input { min-height: 42px; padding: 8px 10px; }
.filters-submit { position: sticky; bottom: 12px; margin-top: 14px; }
@media (min-width: 1024px) { .filters-submit { position: static; } }
.toolbar { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 16px; flex-wrap: wrap; }
.toolbar .select { width: auto; min-height: 42px; padding: 8px 36px 8px 12px; font-size: 14px; font-weight: 600; }
.filters-toggle { display: inline-flex; }
@media (min-width: 1024px) { .filters-toggle { display: none; } }
.empty-state { text-align: center; padding: 48px 20px; border: 1.5px dashed var(--line); border-radius: var(--radius-lg); color: var(--muted); }
.empty-state svg { width: 40px; height: 40px; margin: 0 auto 10px; color: var(--muted-2); }
.guide-points { display: grid; gap: 14px; }
@media (min-width: 768px) { .guide-points { grid-template-columns: repeat(3, 1fr); } }
.guide-point { background: #fff; border-left: 4px solid var(--saffron); border-radius: 12px; padding: 16px 18px; border-top: 1px solid var(--line); border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.guide-point h3 { font-size: 15.5px; margin-bottom: 4px; }
.guide-point p { font-size: 14px; color: var(--muted); }

/* ------------------------------------------------------------ Fiche produit */
.pdp { display: grid; gap: 22px; padding-bottom: 24px; }
@media (min-width: 900px) { .pdp { grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 44px; align-items: start; } }
.gallery { display: grid; gap: 10px; }
@media (min-width: 900px) { .gallery { position: sticky; top: calc(var(--header-h) + 64px); } }
.gallery-main { position: relative; aspect-ratio: 1 / 1; background: var(--paper); border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--line); }
.gallery-main img { width: 100%; height: 100%; object-fit: contain !important; padding: 14px; background: transparent; }
.gallery-main .badge { position: absolute; top: 14px; left: 14px; z-index: 1; }
.gallery-thumbs { display: flex; gap: 10px; overflow-x: auto; }
.gallery-thumbs button { width: 72px; height: 72px; flex-shrink: 0; border-radius: 12px; overflow: hidden; border: 2px solid var(--line); background: var(--paper); }
.gallery-thumbs button.is-active { border-color: var(--navy); }
.gallery-thumbs img { width: 100%; height: 100%; object-fit: contain; }
.buybox h1 { font-size: clamp(22px, 3.6vw, 32px); margin: 6px 0 10px; }
.buybox-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; font-size: 13px; color: var(--muted); }
.variant-list { display: grid; gap: 10px; margin: 18px 0; }
@media (min-width: 520px) { .variant-list.cols-2 { grid-template-columns: 1fr 1fr; } .variant-list.cols-3 { grid-template-columns: repeat(3, 1fr); } }
.variant { position: relative; display: flex; flex-direction: column; gap: 2px; border: 2px solid var(--line); border-radius: 14px; padding: 12px 14px; cursor: pointer; transition: border-color .15s, background-color .15s; }
.variant input { position: absolute; opacity: 0; pointer-events: none; }
.variant:hover { border-color: #b9c7d6; }
.variant.is-selected, .variant:has(input:checked) { border-color: var(--navy); background: var(--sky); }
.variant input:focus-visible + .variant-name { outline: 3px solid var(--saffron); outline-offset: 2px; border-radius: 4px; }
.variant-name { font-weight: 700; font-size: 14.5px; }
.variant-sub { font-size: 12.5px; color: var(--muted); }
.variant-price { font-family: var(--font-display); font-weight: 700; font-size: 18px; margin-top: 4px; }
.buy-row { display: flex; gap: 10px; align-items: stretch; flex-wrap: wrap; }
.qty { display: inline-flex; align-items: center; border: 1.5px solid var(--line); border-radius: 12px; background: #fff; height: 56px; }
.qty button { width: 46px; height: 100%; font-size: 22px; color: var(--ink-2); }
.qty button:hover { color: var(--navy); }
.qty output, .qty span { min-width: 36px; text-align: center; font-weight: 700; font-size: 16px; }
.buy-row .btn-primary { flex: 1 1 220px; }
.wish-btn { width: 56px; height: 56px; border-radius: 12px; border: 1.5px solid var(--line); display: inline-flex; align-items: center; justify-content: center; color: var(--ink-2); background: #fff; }
.wish-btn svg { width: 24px; height: 24px; }
.wish-btn.is-on { color: var(--ember); border-color: #f3c3b8; background: var(--ember-soft); }
.wish-btn.is-on svg { fill: currentColor; }
.info-list { display: grid; gap: 10px; margin-top: 18px; padding: 16px; border-radius: 16px; background: var(--paper); }
.info-list li { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; color: var(--ink-2); }
.info-list svg { width: 20px; height: 20px; flex-shrink: 0; color: var(--blue); margin-top: 1px; }
.spec-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.spec-table th, .spec-table td { text-align: left; padding: 10px 0; border-bottom: 1px solid var(--line-2); vertical-align: top; }
.spec-table th { color: var(--muted); font-weight: 500; width: 46%; padding-right: 12px; }
.spec-table td { font-weight: 600; }
.pdp-sections { display: grid; gap: 18px; }
@media (min-width: 900px) { .pdp-sections { grid-template-columns: 1.15fr .85fr; gap: 28px; align-items: start; } }
.sticky-buy { position: fixed; left: 0; right: 0; bottom: 60px; z-index: 65; background: #fff; border-top: 1px solid var(--line); box-shadow: 0 -10px 24px -18px rgba(15, 31, 51, .45); padding: 10px var(--gutter) calc(10px); display: flex; align-items: center; gap: 12px; transform: translateY(120%); transition: transform .25s; }
.sticky-buy.is-visible { transform: none; }
.sticky-buy .price { font-size: 18px; }
.sticky-buy .btn { flex: 1; min-height: 48px; }
@media (min-width: 1024px) { .sticky-buy { display: none; } }

/* ------------------------------------------------------------ Panier et tunnel */
.checkout-header { background: #fff; border-bottom: 1px solid var(--line); }
.checkout-header .container { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 64px; }
.secure-note { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; color: var(--muted); font-weight: 600; }
.secure-note svg { width: 16px; height: 16px; color: var(--green); }
.cart-layout { display: grid; gap: 20px; padding: 8px 0 56px; }
@media (min-width: 960px) { .cart-layout { grid-template-columns: minmax(0, 1fr) 380px; gap: 28px; align-items: start; } }
.cart-item { display: grid; grid-template-columns: 76px 1fr; gap: 12px 14px; padding: 16px 0; border-bottom: 1px solid var(--line-2); }
@media (min-width: 640px) { .cart-item { grid-template-columns: 92px 1fr auto; align-items: center; } }
.cart-item-img { width: 76px; height: 76px; border-radius: 14px; overflow: hidden; background: var(--paper); border: 1px solid var(--line); }
@media (min-width: 640px) { .cart-item-img { width: 92px; height: 92px; } }
.cart-item-img img { width: 100%; height: 100%; object-fit: contain !important; padding: 4px; background: transparent; }
.cart-item-name { font-weight: 700; font-size: 15px; line-height: 1.35; }
.cart-item-sub { font-size: 13px; color: var(--muted); margin-top: 2px; }
.cart-item-actions { grid-column: 1 / -1; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
@media (min-width: 640px) { .cart-item-actions { grid-column: auto; flex-direction: column; align-items: flex-end; } }
.qty-sm { height: 42px; }
.qty-sm button { width: 38px; font-size: 18px; }
.remove-btn { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; color: var(--muted); font-weight: 600; }
.remove-btn:hover { color: var(--ember); }
.remove-btn svg { width: 16px; height: 16px; }
.summary { position: relative; }
@media (min-width: 960px) { .summary { position: sticky; top: 20px; } }
.summary-row { display: flex; justify-content: space-between; gap: 12px; padding: 7px 0; font-size: 15px; }
.summary-row span:first-child { color: var(--muted); }
.summary-row.is-discount { color: var(--green); }
.summary-row.is-discount span:first-child { color: var(--green); }
.summary-total { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; border-top: 1px solid var(--line); margin-top: 10px; padding-top: 14px; }
.summary-total strong { font-family: var(--font-display); font-size: 28px; letter-spacing: -.02em; }
.progress { height: 8px; border-radius: 8px; background: var(--line-2); overflow: hidden; margin-top: 8px; }
.progress span { display: block; height: 100%; background: linear-gradient(90deg, var(--saffron), var(--green)); border-radius: 8px; }
.ship-note { background: var(--sky); color: var(--navy); border-radius: 12px; padding: 12px 14px; font-size: 13.5px; margin: 10px 0; }
.promo-form { display: flex; gap: 8px; margin-top: 18px; }
.promo-form .input { min-height: 46px; }
/* « Poslať košík e-mailom » : champ et bouton l'un sous l'autre sur petit écran (libellé du bouton trop long pour 320 px). */
.cart-email-form .input { flex: 1; min-width: 0; }
@media (max-width: 520px) { .cart-email-form { flex-direction: column; } .cart-email-form .btn { width: 100%; justify-content: center; } }
.stepper { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; margin: 18px 0 20px; }
.stepper li { display: flex; flex-direction: column; gap: 6px; font-size: 11.5px; font-weight: 700; color: var(--muted-2); }
.stepper li::before { content: ""; height: 5px; border-radius: 5px; background: var(--line); }
.stepper li.is-done { color: var(--green); }
.stepper li.is-done::before { background: var(--green); }
.stepper li.is-current { color: var(--navy); }
.stepper li.is-current::before { background: var(--saffron); }
@media (min-width: 640px) { .stepper li { font-size: 13px; } }
.checkout-layout { display: grid; gap: 20px; padding-bottom: 56px; }
@media (min-width: 960px) { .checkout-layout { grid-template-columns: minmax(0, 1fr) 360px; gap: 28px; align-items: start; } }
.option { display: flex; align-items: center; gap: 14px; border: 2px solid var(--line); border-radius: 16px; padding: 16px; cursor: pointer; transition: border-color .15s, background-color .15s; }
.option:hover { border-color: #b9c7d6; }
.option:has(input:checked), .option.is-selected { border-color: var(--navy); background: var(--sky); }
.option input { width: 20px; height: 20px; accent-color: var(--navy); flex-shrink: 0; }
.option-body { flex: 1; min-width: 0; }
.option-body b { display: block; }
.option-body span { font-size: 13px; color: var(--muted); }
.option-price { font-weight: 800; white-space: nowrap; text-align: right; }
.option-price s { display: block; font-weight: 500; font-size: 13px; color: var(--muted-2); }
.checkout-actions { display: flex; flex-direction: column-reverse; gap: 12px; margin-top: 26px; padding-top: 20px; border-top: 1px solid var(--line-2); }
@media (min-width: 640px) { .checkout-actions { flex-direction: row; justify-content: space-between; align-items: center; } }
.review-list { border: 1px solid var(--line); border-radius: 16px; overflow: hidden; }
.review-list > div { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 4px 12px; padding: 13px 16px; font-size: 14px; }
.review-list > div + div { border-top: 1px solid var(--line-2); }
.review-list span { color: var(--muted); text-align: right; }
.mini-items { display: grid; gap: 10px; }
.mini-item { display: flex; justify-content: space-between; gap: 10px; font-size: 14px; }
.mini-item span { color: var(--ink-2); }
.notice-cod { border-left: 4px solid var(--ember); background: var(--ember-soft); border-radius: 12px; padding: 14px 16px; font-size: 14px; line-height: 1.55; color: #5c2a1f; }
.notice-cod strong { display: block; color: #b23a22; margin-bottom: 4px; font-size: 15px; }
.notice-cod p + p { margin-top: 5px; }

/* ------------------------------------------------------------ Paiement */
.pay-hero { text-align: center; max-width: 640px; margin: 0 auto; padding: 26px 0 10px; }
.pay-hero .ok-icon { width: 64px; height: 64px; border-radius: 20px; background: var(--green-soft); color: var(--green); display: flex; align-items: center; justify-content: center; margin: 0 auto 14px; }
.pay-hero .ok-icon svg { width: 34px; height: 34px; }
.pay-grid { display: grid; gap: 18px; margin-top: 22px; }
@media (min-width: 900px) { .pay-grid { grid-template-columns: .85fr 1.15fr; gap: 24px; align-items: start; } }
.qr-card { background: var(--navy); color: #dbe5ef; border-radius: var(--radius-lg); padding: 24px; text-align: center; }
.qr-card h2 { color: #fff; font-size: 20px; }
.qr-box { background: #fff; border-radius: 20px; padding: 14px; width: 232px; max-width: 100%; margin: 18px auto; box-shadow: 0 10px 30px rgba(0, 0, 0, .3); }
.qr-box img { width: 100%; height: auto; }
.qr-steps { text-align: left; font-size: 13.5px; line-height: 1.6; background: rgba(255, 255, 255, .07); border-radius: 14px; padding: 14px 16px; }
.qr-steps b { color: #fff; }
.qr-steps ol { list-style: decimal; padding-left: 18px; margin-top: 4px; }
.pay-badge { display: inline-flex; align-items: center; gap: 6px; background: var(--saffron); color: var(--ink); border-radius: 999px; padding: 4px 12px; font-size: 12px; font-weight: 800; }
.bank-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 12px 0; border-bottom: 1px solid var(--line-2); }
.bank-row dt { font-size: 13px; color: var(--muted); font-weight: 600; }
.bank-row dd { display: flex; align-items: center; gap: 8px; font-weight: 700; text-align: right; overflow-wrap: anywhere; }
.bank-row.is-key dd { font-family: ui-monospace, Consolas, monospace; font-size: 15.5px; }
.copy-btn { flex-shrink: 0; display: inline-flex; align-items: center; gap: 4px; font-size: 12px; font-weight: 700; color: var(--blue); background: var(--sky); border-radius: 8px; padding: 6px 9px; }
.copy-btn svg { width: 14px; height: 14px; }
.copy-btn.is-done { background: var(--green); color: #fff; }
.dropzone { display: flex; align-items: center; justify-content: center; text-align: center; border: 2px dashed #c3d0dd; background: var(--paper); border-radius: 18px; padding: 24px 16px; cursor: pointer; transition: border-color .15s, background-color .15s; }
.dropzone:hover, .dropzone.is-drag { border-color: var(--blue); background: var(--sky); }
.dropzone.has-file { border-style: solid; border-color: var(--green); background: var(--green-soft); }
.dropzone svg { width: 34px; height: 34px; color: var(--blue); margin: 0 auto 8px; }
.dropzone-file { display: flex; align-items: center; gap: 12px; text-align: left; width: 100%; max-width: 460px; }
.success-card { display: flex; gap: 16px; align-items: flex-start; background: var(--green-soft); border: 1.5px solid #bfe3cf; border-radius: var(--radius-lg); padding: 20px; }
.success-card .ok-icon { width: 46px; height: 46px; border-radius: 14px; background: var(--green); color: #fff; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.success-card .ok-icon svg { width: 24px; height: 24px; }
.success-card h3 { font-size: 18px; margin-bottom: 4px; }

/* Suivi de commande */
.track { display: grid; grid-template-columns: repeat(5, 1fr); gap: 6px; }
.track li { display: flex; flex-direction: column; align-items: center; gap: 8px; text-align: center; font-size: 11.5px; font-weight: 600; color: var(--muted-2); position: relative; }
.track li::before { content: ""; width: 30px; height: 30px; border-radius: 50%; border: 2px solid var(--line); background: #fff; position: relative; z-index: 1; }
.track li::after { content: ""; position: absolute; top: 14px; left: calc(-50% + 15px); right: calc(50% + 15px); height: 2px; background: var(--line); }
.track li:first-child::after { display: none; }
.track li.is-done { color: var(--ink); }
.track li.is-done::before { background: var(--green) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E") center / 16px no-repeat; border-color: var(--green); }
.track li.is-done::after { background: var(--green); }
.track li.is-current { color: var(--navy); font-weight: 800; }

/* FAQ */
.faq { display: grid; gap: 10px; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: 16px; }
.faq summary { list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 16px 18px; font-weight: 700; cursor: pointer; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary svg { width: 20px; height: 20px; color: var(--blue); transition: transform .2s; flex-shrink: 0; }
.faq details[open] summary svg { transform: rotate(45deg); }
.faq details > div { padding: 0 18px 16px; color: var(--ink-2); }

/* Pages de contenu */
.content-grid { display: grid; gap: 24px; padding: 8px 0 56px; }
@media (min-width: 960px) { .content-grid { grid-template-columns: minmax(0, 1fr) 320px; gap: 36px; align-items: start; } }
.toc { position: sticky; top: calc(var(--header-h) + 64px); }
.toc a { display: block; padding: 6px 0; font-size: 14px; color: var(--muted); }
.toc a:hover { color: var(--navy); }
.info-cards { display: grid; gap: 14px; }
@media (min-width: 768px) { .info-cards { grid-template-columns: repeat(2, 1fr); } }
.info-card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 20px; }
.info-card h3 { font-size: 17px; margin-bottom: 6px; display: flex; align-items: center; gap: 10px; }
.info-card h3 svg { width: 22px; height: 22px; color: var(--blue); }
.big-num { font-family: var(--font-display); font-size: 30px; font-weight: 700; letter-spacing: -.02em; color: var(--ink); }
.legal-box { background: var(--paper); border: 1px solid var(--line); border-radius: 16px; padding: 16px 18px; font-size: 14px; }

/* ------------------------------------------------------------ Pied de page */
.newsletter-band { background: var(--saffron); color: var(--ink); }
.newsletter-band .container { display: grid; gap: 14px; padding-top: 26px; padding-bottom: 26px; align-items: center; }
@media (min-width: 900px) { .newsletter-band .container { grid-template-columns: 1fr auto; gap: 30px; } }
.newsletter-band h2 { font-size: 22px; }
.newsletter-band p { font-size: 14px; color: #4a3500; }
.newsletter-form { display: flex; gap: 8px; flex-wrap: wrap; }
.newsletter-form .input { flex: 1 1 220px; min-width: 0; border-color: transparent; }
.newsletter-form .btn { flex: 0 0 auto; }
.newsletter-notice { font-size: 14px; font-weight: 700; margin-top: 6px; }
.site-footer { background: var(--navy-2); color: #b7c6d6; font-size: 14px; }
.footer-grid { display: grid; gap: 28px; padding: 44px 0 28px; }
@media (min-width: 768px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1.2fr; } }
.site-footer .brand { color: #fff; }
.site-footer .brand b { color: var(--saffron); }
.site-footer .brand svg { color: #fff; }
.site-footer h3 { color: #fff; font-family: var(--font); font-size: 13px; letter-spacing: .1em; text-transform: uppercase; margin-bottom: 12px; }
.site-footer li + li { margin-top: 8px; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.site-footer address { font-style: normal; line-height: 1.7; }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .1); padding: 18px 0; font-size: 12.5px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 20px; }
.pay-methods { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.pay-methods span { display: inline-flex; align-items: center; gap: 6px; border: 1px solid rgba(255, 255, 255, .18); border-radius: 8px; padding: 5px 10px; font-size: 12px; color: #dbe5ef; }

/* Notification (ajout au panier…) */
.toast { position: fixed; left: 50%; bottom: 84px; z-index: 160; transform: translate(-50%, 20px); opacity: 0; pointer-events: none; max-width: min(92vw, 440px); background: var(--ink); color: #fff; border-radius: 12px; padding: 12px 18px; font-size: 14px; font-weight: 600; box-shadow: var(--shadow-lg); transition: opacity .2s, transform .2s; }
.toast.is-visible { opacity: 1; transform: translate(-50%, 0); }
.toast.is-error { background: #b23a22; }
@media (min-width: 1024px) { .toast { bottom: 28px; } }

/* Bandeau cookies */
.consent { position: fixed; left: 12px; right: 12px; bottom: 76px; z-index: 150; max-width: 560px; margin: 0 auto; background: #fff; border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow-lg); padding: 18px; font-size: 14px; color: var(--ink-2); }
@media (min-width: 1024px) { .consent { bottom: 18px; left: 18px; right: auto; } }
.consent h2 { font-size: 16px; margin-bottom: 4px; }
.consent a { color: var(--blue); text-decoration: underline; }
.consent-actions { display: flex; gap: 8px; margin-top: 12px; }
.consent-actions .btn { flex: 1; min-height: 44px; }

/* 404 */
.error-page { text-align: center; padding: 64px 0; }
.error-page .big { font-family: var(--font-display); font-size: clamp(80px, 18vw, 150px); font-weight: 700; color: var(--sky); line-height: 1; letter-spacing: -.05em; -webkit-text-stroke: 2px var(--navy); }

/* Mouvement réduit */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
.prose mark { background: var(--saffron-soft); color: #6b4800; padding: 0 4px; border-radius: 4px; }
.prose table { display: block; overflow-x: auto; }

/* Petits écrans (audit responsive 320–390 px) */
.content-grid > *, .catalog-layout > *, .checkout-layout > *, .cart-layout > *, .pay-grid > * { min-width: 0; }
.feature p, .prose, .summary-row span:last-child { overflow-wrap: anywhere; }
.p-card-chips .chip { display: block; max-width: 100%; overflow: hidden; text-overflow: ellipsis; }
.toolbar > span:last-child { min-width: 0; max-width: 100%; }
.toolbar .select { min-width: 0; max-width: 100%; flex: 1 1 auto; }
@media (max-width: 479px) {
  .price { font-size: 17px; }
  .p-card-foot { flex-wrap: wrap; }
  .p-card-foot .price { min-width: 0; }
}
@media (max-width: 359px) {
  .header-main { gap: 8px; }
  .brand { font-size: 18px; gap: 8px; }
  .brand svg { width: 30px; height: 30px; }
  .header-actions > .icon-btn { display: none; } /* favoris accessibles via la barre d'onglets */
}
/* Cibles tactiles confortables sur mobile */
@media (max-width: 767px) {
  .qty-sm { height: 44px; }
  .qty-sm button { width: 44px; }
  .remove-btn { min-height: 40px; min-width: 40px; justify-content: center; padding: 0 4px; }
  .copy-btn { min-height: 36px; padding: 8px 11px; }
  .link-arrow { min-height: 40px; }
  .site-footer a, .site-footer button { display: inline-flex; align-items: center; min-height: 32px; }
}
.header-search input { padding-right: 88px; text-overflow: ellipsis; }
@media (max-width: 639px) {
  .review-list > div { flex-direction: column; }
  .review-list span { text-align: left; }
}
@media (max-width: 399px) {
  #add-to-cart-btn { white-space: nowrap; font-size: 15px; gap: 8px; padding-left: 14px; padding-right: 14px; }
}
@media (min-width: 1024px) and (max-width: 1199px) { .header-nav a { padding: 12px 9px; font-size: 13.5px; } }
