/* ============================================================
   UnoSnake — Design System
   Éditorial · Scandinave premium · Japandi · Minimalisme chaleureux
   ============================================================ */

/* Polices : chargées via <link> dans le <head> (préconnexion + display=swap),
   plus rapide qu'un @import bloquant depuis la feuille de style. */

/* ============================================================
   TOKENS
   ============================================================ */
:root {
  /* Colors — toutes les couleurs de texte respectent WCAG AA (≥ 4.5:1) sur --color-bg et --color-surface */
  --color-bg:        #F2EBE0;
  --color-surface:   #FAF6EF;
  --color-elevated:  #FFFFFF;
  --color-text:      #2B291F;   /* ~13:1 */
  --color-text-2:    #5F5947;   /* ~5.9:1 — texte secondaire, paragraphes */
  --color-muted:     #6F6858;   /* ~4.7:1 — légendes, métadonnées */
  --color-ink:       #3D3A2E;
  --color-walnut:    #7D5A3C;
  --color-accent:    #8A7748;   /* décoratif : bordures, soulignés, focus (≥ 3:1) */
  --color-accent-text: #6E5E38; /* ~5.3:1 — accent utilisé comme couleur de texte */
  --color-accent-h:  #6E5E38;
  --color-border:    #E4DCCB;
  --color-success:   #5F7355;
  --color-error:     #9E4B3B;
  /* Accents par univers — une teinte chacun, utilisée sur les badges, les univers et les filtres actifs */
  --c-scandinave:    #6F8A6E;   /* sauge */
  --c-japandi:       #4F5B4A;   /* vert profond */
  --c-warm:          #B5714C;   /* terracotta douce */
  --c-boheme:        #B98437;   /* ocre */

  /* Typography */
  --font-display: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
  --font-body:    'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  --fs-display: clamp(2.75rem, 6vw, 5rem);
  --fs-h1:      clamp(2.25rem, 4.5vw, 3.5rem);
  --fs-h2:      clamp(1.75rem, 3vw, 2.6rem);
  --fs-h3:      clamp(1.25rem, 2vw, 1.6rem);
  --fs-body:    1.0625rem;
  --fs-small:   0.9375rem;
  --fs-caption: 0.75rem;

  --lh-tight: 1.1;
  --lh-snug:  1.3;
  --lh-body:  1.7;

  /* Spacing scale (8px base) */
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.5rem;
  --space-6: 2rem;
  --space-7: 3rem;
  --space-8: 4rem;
  --space-9: 6rem;
  --space-10: 8rem;
  --space-11: 10rem;
  --space-12: 12rem;

  /* Radius */
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 32px;
  --radius-pill: 999px;

  /* Shadows — soft, warm, never harsh */
  --shadow-sm: 0 1px 2px rgba(43,41,31,.04), 0 2px 8px rgba(43,41,31,.05);
  --shadow-md: 0 4px 12px rgba(43,41,31,.06), 0 12px 32px rgba(43,41,31,.07);
  --shadow-lg: 0 8px 24px rgba(43,41,31,.08), 0 24px 60px rgba(43,41,31,.10);

  /* Transitions */
  --t-fast: 160ms cubic-bezier(.4,0,.2,1);
  --t-base: 260ms cubic-bezier(.4,0,.2,1);
  --t-slow: 420ms cubic-bezier(.22,1,.36,1);

  /* Layout */
  --container: 1200px;
  --container-narrow: 760px;
  --header-h: 76px;
  --header-h-scrolled: 62px;
  --tap: 44px; /* cible tactile minimale */
}

/* ============================================================
   RESET
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 1rem); /* ancres visibles sous le header sticky */
  -webkit-text-size-adjust: 100%;
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  font-family: var(--font-body);
  font-size: var(--fs-body);
  line-height: var(--lh-body);
  color: var(--color-text);
  background: var(--color-bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
}

img { max-width: 100%; height: auto; display: block; }
picture { display: contents; }
[hidden] { display: none !important; } /* prime sur les display:flex/grid des composants (filtres boutique) */
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }
ul { list-style: none; }
svg { flex-shrink: 0; }

::selection { background: var(--color-accent-h); color: #fff; }

:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 3px;
  border-radius: 2px;
}
.band :focus-visible { outline-color: #F7F1E6; }

/* ============================================================
   ACCESSIBILITÉ — utilitaires
   ============================================================ */
.sr-only {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; top: var(--space-3); left: var(--space-3); z-index: 200;
  padding: var(--space-3) var(--space-5); border-radius: var(--radius-pill);
  background: var(--color-ink); color: #F7F1E6; font-size: var(--fs-small); font-weight: 500;
  transform: translateY(-200%); opacity: 0; transition: transform var(--t-fast), opacity var(--t-fast);
}
.skip-link:focus { transform: none; opacity: 1; outline-color: #F7F1E6; }

/* ============================================================
   TYPOGRAPHY
   ============================================================ */
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 600; line-height: var(--lh-tight); color: var(--color-text); overflow-wrap: anywhere; }
.display { font-size: var(--fs-display); font-weight: 600; line-height: var(--lh-tight); letter-spacing: -0.01em; }
h1, .h1 { font-size: var(--fs-h1); }
h2, .h2 { font-size: var(--fs-h2); }
h3, .h3 { font-size: var(--fs-h3); font-weight: 600; }
p { max-width: 68ch; overflow-wrap: anywhere; }

.eyebrow {
  font-family: var(--font-body);
  font-size: var(--fs-caption);
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--color-accent-text);
}

.lead {
  font-size: 1.1875rem;
  line-height: 1.65;
  color: var(--color-text-2);
}

.muted { color: var(--color-muted); }
.text-2 { color: var(--color-text-2); }
em, .italic { font-style: italic; }

.page-title { margin: var(--space-3) 0 var(--space-5); }
.page-title--tight { margin-bottom: var(--space-2); }
.page-updated { margin-bottom: var(--space-6); font-size: var(--fs-small); }

/* ============================================================
   LAYOUT
   ============================================================ */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--space-5); }
.container-narrow { max-width: var(--container-narrow); }
.section { padding-block: var(--space-9); }
.section-sm { padding-block: var(--space-8); }
.section-alt { background: var(--color-surface); }
.page-head { padding-bottom: var(--space-6); }
.page-body { padding-top: 0; }
.section-more { margin-top: var(--space-6); }
.section-gap { margin-top: var(--space-8); }
.section-gap-sm { margin-top: var(--space-7); }

.section-head { max-width: 720px; margin-bottom: var(--space-7); }
.section-head .eyebrow { display: block; margin-bottom: var(--space-3); }
.section-head h1, .section-head h2 { margin-bottom: var(--space-4); }
.section-head p { color: var(--color-text-2); }

.divider { height: 1px; background: var(--color-border); border: 0; }

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: var(--space-2);
  min-height: var(--tap); text-align: center; /* un libellé sur deux lignes reste centré dans la pastille */
  font-family: var(--font-body); font-size: var(--fs-small); font-weight: 500;
  letter-spacing: 0.01em;
  padding: 0.85em 1.6em;
  border-radius: var(--radius-pill);
  transition: transform var(--t-fast), background var(--t-base), color var(--t-base), box-shadow var(--t-base), border-color var(--t-base);
}
.btn:active { transform: translateY(1px); }

.btn-primary { background: var(--color-ink); color: #F7F1E6; }
.btn-primary:hover { background: var(--color-accent-h); box-shadow: var(--shadow-md); }

.btn-secondary { border: 1px solid var(--color-text); color: var(--color-text); }
.btn-secondary:hover { background: var(--color-text); color: var(--color-bg); }

.btn-ghost { color: var(--color-accent-text); padding-inline: 0; justify-content: flex-start; }
.btn-ghost .arrow { transition: transform var(--t-base); }
.btn-ghost:hover .arrow { transform: translateX(4px); }

.btn-block { display: flex; width: 100%; justify-content: center; }

/* ============================================================
   HEADER
   ============================================================ */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(242,235,224,0.82);
  backdrop-filter: saturate(140%) blur(12px);
  -webkit-backdrop-filter: saturate(140%) blur(12px);
  border-bottom: 1px solid transparent;
  transition: background var(--t-base), border-color var(--t-base), box-shadow var(--t-base);
}
.site-header.scrolled {
  background: rgba(250,246,239,0.92);
  border-bottom-color: var(--color-border);
  box-shadow: 0 1px 20px rgba(43,41,31,.04);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between; gap: var(--space-4);
  height: var(--header-h);
  transition: height var(--t-base);
}
.scrolled .header-inner { height: var(--header-h-scrolled); }

.brand { display: flex; align-items: center; gap: var(--space-3); min-height: var(--tap); }
.brand-logo { width: 42px; height: 42px; transition: width var(--t-base), height var(--t-base); }
.scrolled .brand-logo { width: 36px; height: 36px; }
.brand-name { font-family: var(--font-display); font-size: 1.5rem; font-weight: 600; letter-spacing: 0.01em; color: var(--color-text); }

.nav-desktop { display: flex; align-items: center; gap: var(--space-6); }
.nav-desktop a {
  font-size: var(--fs-small); font-weight: 500; color: var(--color-text-2);
  position: relative; padding-block: 12px; transition: color var(--t-base);
}
.nav-desktop a::after {
  content: ''; position: absolute; left: 0; bottom: 8px; width: 100%; height: 1.5px;
  background: var(--color-accent); transform: scaleX(0); transform-origin: right;
  transition: transform var(--t-base);
}
.nav-desktop a:hover, .nav-desktop a[aria-current="page"], .nav-desktop a.is-active { color: var(--color-text); }
.nav-desktop a:hover::after, .nav-desktop a[aria-current="page"]::after, .nav-desktop a.is-active::after { transform: scaleX(1); transform-origin: left; }

.header-actions { display: flex; align-items: center; gap: var(--space-4); }

/* Burger */
.burger { display: none; width: var(--tap); height: var(--tap); flex-direction: column; justify-content: center; align-items: center; gap: 5px; border-radius: var(--radius-sm); }
.burger span { display: block; width: 22px; height: 1.6px; background: var(--color-text); transition: transform var(--t-base), opacity var(--t-base); }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(6.6px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6.6px) rotate(-45deg); }

/* Mobile nav — masquée (visibility) quand fermée : ni focusable, ni lue par les lecteurs d'écran ;
   absente du DOM rendu (display:none) sur desktop. */
.nav-mobile {
  position: fixed; inset: 0; z-index: 90;
  background: var(--color-surface);
  padding: calc(var(--header-h) + var(--space-7)) var(--space-5) var(--space-7);
  display: none; flex-direction: column; gap: var(--space-2);
  overflow-y: auto;
  transform: translateY(-8px); opacity: 0; visibility: hidden;
  transition: opacity var(--t-base), transform var(--t-base), visibility 0s linear var(--t-base);
}
.nav-mobile.open { opacity: 1; transform: translateY(0); visibility: visible; transition-delay: 0s; }
.nav-mobile a {
  font-family: var(--font-display); font-size: 1.75rem; font-weight: 500;
  padding-block: var(--space-3); border-bottom: 1px solid var(--color-border);
  color: var(--color-text);
}
.nav-mobile .btn { margin-top: var(--space-5); font-family: var(--font-body); font-size: var(--fs-small); border-bottom: 0; }
.nav-mobile a.btn-primary { color: #F7F1E6; } /* le lien du menu héritait de la couleur encre : texte sombre sur fond sombre */
.nav-mobile a.btn-primary:hover { color: #F7F1E6; }

/* ============================================================
   HERO
   ============================================================ */
.hero { position: relative; padding-block: var(--space-9) var(--space-8); }
.hero-grid {
  display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); gap: var(--space-8); align-items: center;
}
.hero-copy .eyebrow { display: block; margin-bottom: var(--space-4); }
.hero-copy h1 { margin-bottom: var(--space-5); letter-spacing: -0.015em; }
.hero-copy .lead { margin-bottom: var(--space-6); max-width: 42ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: var(--space-4); }
.hero-actions--center { justify-content: center; }

.hero-visual {
  position: relative; aspect-ratio: 4/5; border-radius: var(--radius-lg);
  overflow: hidden; box-shadow: var(--shadow-lg);
}
.hero-visual img { width: 100%; height: 100%; object-fit: cover; }
.hero-visual::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(43,41,31,.12));
}
.hero-tag:hover, .hero-tag:focus-visible { background: rgba(250,246,239,1); color: var(--color-accent-text); }
.hero-tag {
  position: absolute; left: var(--space-5); bottom: var(--space-5); z-index: 2;
  background: rgba(250,246,239,.92); backdrop-filter: blur(6px);
  padding: var(--space-3) var(--space-4); border-radius: var(--radius-pill);
  font-size: var(--fs-caption); font-weight: 600; letter-spacing: .12em; text-transform: uppercase;
  color: var(--color-ink);
}

/* ============================================================
   GRIDS — minmax(0,1fr) : aucun contenu ne peut élargir une colonne
   ============================================================ */
.grid-products { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--space-6); }
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-6); }
.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-6); }

/* ============================================================
   PRODUCT CARD — <article> : visuel (lien) + nom + description + bouton toujours visible
   ============================================================ */
.product-card { display: flex; flex-direction: column; height: 100%; }
.product-media {
  display: block; position: relative; aspect-ratio: 4/5; border-radius: var(--radius-md); overflow: hidden;
  background: var(--color-elevated); border: 1px solid var(--color-border);
}
.product-media img { width: 100%; height: 100%; object-fit: cover; transition: transform var(--t-slow); }
.product-card:hover .product-media img { transform: scale(1.045); }
.product-media .badge {
  position: absolute; top: var(--space-3); left: var(--space-3);
  background: rgba(250,246,239,.94); backdrop-filter: blur(4px);
  padding: 5px 12px; border-radius: var(--radius-pill);
  font-size: 0.7rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--color-accent-text);
}
.product-media .badge--material { left: auto; right: var(--space-3); color: var(--color-text-2); }
/* Badge d'univers coloré : texte clair sur la teinte du style (contraste ≥ 4.5:1 sur chacune) */
.badge--style { color: #FBF7F0; }
.badge--scandinave { background: var(--c-scandinave); }
.badge--japandi { background: var(--c-japandi); }
.badge--warm-minimalism { background: var(--c-warm); }
.badge--boheme { background: var(--c-boheme); }
.style-card--scandinave::after { background: linear-gradient(180deg, rgba(111,138,110,.08) 30%, rgba(43,41,31,.76)); }
.style-card--japandi::after { background: linear-gradient(180deg, rgba(79,91,74,.10) 30%, rgba(43,41,31,.78)); }
.style-card--warm-minimalism::after { background: linear-gradient(180deg, rgba(181,113,76,.10) 30%, rgba(43,41,31,.76)); }
.style-card--boheme::after { background: linear-gradient(180deg, rgba(185,132,55,.10) 30%, rgba(43,41,31,.76)); }
.style-card .style-card-accent { position: absolute; left: var(--space-6); top: var(--space-6); z-index: 2; width: 42px; height: 4px; border-radius: 2px; background: #F7F1E6; }
.style-card--scandinave .style-card-accent { background: var(--c-scandinave); }
.style-card--japandi .style-card-accent { background: #9DB59A; }
.style-card--warm-minimalism .style-card-accent { background: var(--c-warm); }
.style-card--boheme .style-card-accent { background: var(--c-boheme); }
.cat-card:nth-child(4n+1) .cat-icon { color: var(--c-scandinave); }
.cat-card:nth-child(4n+2) .cat-icon { color: var(--c-warm); }
.cat-card:nth-child(4n+3) .cat-icon { color: var(--c-boheme); }
.cat-card:nth-child(4n+4) .cat-icon { color: var(--c-japandi); }
.collection-card .article-tag { color: var(--c-warm); }
.eyebrow--warm { color: var(--c-warm); }
.product-body { display: flex; flex-direction: column; flex: 1; padding-top: var(--space-4); }
.product-cat { font-size: var(--fs-caption); font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--color-muted); }
.product-name { font-family: var(--font-display); font-size: 1.35rem; font-weight: 600; margin: var(--space-2) 0 var(--space-1); line-height: 1.25; }
.product-desc { font-size: var(--fs-small); color: var(--color-text-2); line-height: 1.6; margin-top: var(--space-2); }
.product-note { font-size: var(--fs-caption); color: var(--color-muted); margin-top: var(--space-2); }
.product-name a { transition: color var(--t-base); }
.product-card:hover .product-name a { color: var(--color-accent-text); }
/* Prix indicatif : petit, discret, jamais mis en avant */
.product-price { font-size: var(--fs-caption); font-weight: 500; color: var(--color-muted); margin-top: var(--space-2); font-variant-numeric: tabular-nums; }
/* Les actions restent alignées en bas de toutes les cartes d'une même rangée : un espaceur flexible
   (::after) absorbe la différence de hauteur des descriptions. */
.product-body::after { content: ''; flex: 1; order: 5; }
.product-actions { order: 6; margin-top: var(--space-4); display: flex; flex-direction: column; gap: var(--space-2); }
.product-amazon {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-height: 36px;
  font-size: var(--fs-caption); font-weight: 500; color: var(--color-muted); transition: color var(--t-base);
}
.product-amazon:hover { color: var(--color-accent-text); }
.product-amazon .arrow, .product-buy .arrow { transition: transform var(--t-base); }
.product-amazon:hover .arrow, .product-buy:hover .arrow { transform: translateX(4px); }
.product-card--compact .product-name { font-size: 1.2rem; }
.product-media .badge--new { top: auto; bottom: var(--space-3); left: var(--space-3); background: var(--color-ink); color: #F7F1E6; }
.product-actions-row { display: flex; gap: var(--space-2); align-items: stretch; }
.product-actions-row .btn { flex: 1; }

/* ============================================================
   FAVORIS (cœur) — état pressé = dans la liste
   ============================================================ */
.fav-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: var(--space-2);
  min-width: var(--tap); min-height: var(--tap); padding: 0 var(--space-3);
  border: 1px solid var(--color-border); border-radius: var(--radius-pill); background: var(--color-elevated);
  color: var(--color-text-2); transition: color var(--t-base), border-color var(--t-base), background var(--t-base), transform var(--t-fast);
}
.fav-btn:hover { border-color: var(--color-accent); color: var(--color-accent-text); }
.fav-btn:active { transform: scale(.96); }
.fav-btn[aria-pressed="true"] { color: var(--color-error); border-color: var(--color-error); }
.fav-btn[aria-pressed="true"] svg { fill: currentColor; }
.fav-btn--label { width: 100%; font-size: var(--fs-small); font-weight: 500; }
.nav-fav { position: relative; display: inline-flex; align-items: center; justify-content: center; width: var(--tap); height: var(--tap); border-radius: 50%; color: var(--color-text-2); transition: color var(--t-base), background var(--t-base); }
.nav-fav:hover, .nav-fav[aria-current="page"] { color: var(--color-text); background: var(--color-surface); }
.nav-fav-count {
  position: absolute; top: 4px; right: 2px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: var(--radius-pill);
  background: var(--color-ink); color: #F7F1E6; font-size: 0.68rem; font-weight: 600; line-height: 18px; text-align: center;
}

/* ============================================================
   BOUTIQUE — recherche élargie (articles, collections, univers)
   ============================================================ */
.shop-extra { margin-bottom: var(--space-6); padding: var(--space-5); background: var(--color-surface); border: 1px solid var(--color-border); border-radius: var(--radius-lg); }
.shop-extra .eyebrow { display: block; margin-bottom: var(--space-3); }
.shop-extra-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-3); }
.shop-extra-list a { display: grid; gap: 2px; padding: var(--space-3) var(--space-4); border-radius: var(--radius-md); background: var(--color-elevated); border: 1px solid var(--color-border); transition: border-color var(--t-base), transform var(--t-base); }
.shop-extra-list a:hover { border-color: var(--color-accent); transform: translateY(-2px); }
.shop-extra-type { font-size: var(--fs-caption); font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--color-accent-text); }
.shop-extra-title { font-family: var(--font-display); font-size: 1.2rem; font-weight: 600; color: var(--color-text); }
.shop-extra-text { font-size: var(--fs-caption); color: var(--color-text-2); }

/* ============================================================
   PAGE PRODUIT
   ============================================================ */
.product-hero { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--space-8); align-items: start; }
.product-gallery { display: grid; gap: var(--space-4); }
.product-figure { aspect-ratio: 4/5; border-radius: var(--radius-lg); overflow: hidden; background: var(--color-elevated); border: 1px solid var(--color-border); box-shadow: var(--shadow-sm); }
.product-figure img { width: 100%; height: 100%; object-fit: cover; }
.product-figure.product-media--empty { display: flex; align-items: center; justify-content: center; }
.product-figure.product-media--empty img { width: 72px; height: 72px; opacity: .28; }
/* Diaporama : piste à défilement natif (glisser au doigt), une photo par écran, flèches et compteur par-dessus */
.gallery-stage { position: relative; border-radius: var(--radius-lg); overflow: hidden; background: var(--color-elevated); border: 1px solid var(--color-border); box-shadow: var(--shadow-sm); }
.gallery-track { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.gallery-track::-webkit-scrollbar { display: none; }
.gallery-track:focus-visible { outline: 2px solid var(--color-accent); outline-offset: -2px; }
.gallery-slide { flex: 0 0 100%; scroll-snap-align: start; aspect-ratio: 4/5; margin: 0; }
.gallery-zoom { display: block; width: 100%; height: 100%; cursor: zoom-in; padding: 0; }
.gallery-zoom img { width: 100%; height: 100%; object-fit: cover; }
.gallery-nav {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 3;
  width: 44px; height: 44px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center;
  background: rgba(250,246,239,.92); color: var(--color-text); border: 1px solid var(--color-border); box-shadow: var(--shadow-sm);
  transition: background var(--t-base), transform var(--t-fast), opacity var(--t-base);
}
.gallery-nav:hover { background: #fff; }
.gallery-nav:active { transform: translateY(-50%) scale(.95); }
.gallery-nav--prev { left: var(--space-3); }
.gallery-nav--next { right: var(--space-3); }
.gallery-nav[disabled] { opacity: .35; cursor: default; }
.gallery-counter { position: absolute; right: var(--space-3); bottom: var(--space-3); z-index: 3; padding: 4px 10px; border-radius: var(--radius-pill); background: rgba(43,41,31,.72); color: #F7F1E6; font-size: var(--fs-caption); font-variant-numeric: tabular-nums; }
.gallery-thumbs { display: flex; gap: var(--space-3); overflow-x: auto; padding-bottom: 4px; scrollbar-width: thin; }
.gallery-thumb { flex: 0 0 72px; aspect-ratio: 4/5; padding: 0; border-radius: var(--radius-md); overflow: hidden; background: var(--color-elevated); border: 2px solid transparent; opacity: .72; transition: opacity var(--t-base), border-color var(--t-base); }
.gallery-thumb img { width: 100%; height: 100%; object-fit: cover; }
.gallery-thumb:hover, .gallery-thumb.is-active { opacity: 1; }
.gallery-thumb.is-active { border-color: var(--color-text); }
.gallery-video { display: inline-flex; align-items: center; gap: var(--space-2); font-size: var(--fs-caption); font-weight: 500; color: var(--color-accent-text); padding: var(--space-2) 0; }
.gallery-video:hover { text-decoration: underline; text-underline-offset: 3px; }
/* Agrandissement : boîte de dialogue native, fond sombre, flèches et compteur */
.lightbox { border: 0; padding: 0; background: transparent; max-width: 100vw; max-height: 100vh; width: 100vw; height: 100vh; margin: 0; display: none; }
.lightbox[open] { display: flex; align-items: center; justify-content: center; }
.lightbox::backdrop { background: rgba(43,41,31,.92); }
.lightbox-img { max-width: min(92vw, 900px); max-height: 88vh; width: auto; height: auto; object-fit: contain; border-radius: var(--radius-md); box-shadow: var(--shadow-lg); background: #fff; }
.lightbox-close { position: fixed; top: var(--space-4); right: var(--space-4); width: var(--tap); height: var(--tap); border-radius: 50%; background: rgba(250,246,239,.92); color: var(--color-text); font-size: 1.6rem; line-height: 1; display: inline-flex; align-items: center; justify-content: center; }
.lightbox .lightbox-nav { position: fixed; }
.lightbox-counter { position: fixed; bottom: var(--space-5); left: 50%; transform: translateX(-50%); color: #F7F1E6; font-size: var(--fs-small); margin: 0; }
html.lightbox-open { overflow: hidden; }
.product-info .eyebrow { display: block; margin-bottom: var(--space-3); }
.product-info h1 { margin-bottom: var(--space-4); }
.product-info .lead { margin-bottom: var(--space-5); }
.spec-list { display: grid; gap: 0; border-top: 1px solid var(--color-border); margin-bottom: var(--space-6); }
.spec-row { display: grid; grid-template-columns: 120px minmax(0, 1fr); gap: var(--space-4); padding: var(--space-3) 0; border-bottom: 1px solid var(--color-border); font-size: var(--fs-small); }
.spec-row dt { font-weight: 600; color: var(--color-muted); font-size: var(--fs-caption); letter-spacing: .08em; text-transform: uppercase; padding-top: 2px; }
.spec-row dd { color: var(--color-text); }
.spec-row dd a { color: var(--color-accent-text); text-decoration: underline; text-decoration-color: var(--color-border); text-underline-offset: 3px; }
.spec-row dd a:hover { text-decoration-color: currentColor; }
.buy-box { background: var(--color-surface); border: 1px solid var(--color-border); border-radius: var(--radius-lg); padding: var(--space-5); display: grid; gap: var(--space-4); }
.product-price--detailed { display: flex; flex-wrap: wrap; align-items: baseline; gap: var(--space-2) var(--space-3); margin: 0; }
.product-price-value { font-family: var(--font-display); font-size: 1.6rem; font-weight: 600; color: var(--color-text); }
.product-price-hint { font-size: var(--fs-caption); color: var(--color-muted); max-width: 40ch; }
.product-cart-link { display: block; text-align: center; font-size: var(--fs-caption); font-weight: 500; color: var(--color-accent-text); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--color-border); }
.product-cart-link:hover { text-decoration-color: currentColor; }
.buy-note { font-size: var(--fs-caption); color: var(--color-muted); }
.buy-note a { text-decoration: underline; text-underline-offset: 3px; }
.grid-products--shop { grid-template-columns: repeat(3, minmax(0, 1fr)); }

/* ============================================================
   STYLE CARD
   ============================================================ */
.grid-styles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-6); }
.style-card {
  position: relative; aspect-ratio: 3/2; border-radius: var(--radius-lg); overflow: hidden;
  display: flex; align-items: flex-end; box-shadow: var(--shadow-sm);
}
.style-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform var(--t-slow); }
.style-card:hover img { transform: scale(1.05); }
.style-card::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(43,41,31,.05) 30%, rgba(43,41,31,.74)); }
.style-card-body { position: relative; z-index: 2; padding: var(--space-6); color: #F7F1E6; }
.style-card-body h2, .style-card-body h3 { color: #F7F1E6; font-size: 1.9rem; margin-bottom: var(--space-2); }
.style-card-body p { color: #F7F1E6; font-size: var(--fs-small); max-width: 34ch; text-shadow: 0 1px 2px rgba(43,41,31,.25); }

/* Page Styles — fiche détaillée (image + texte, alternée sur desktop) */
.style-detail { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-8); align-items: center; }
.style-figure { aspect-ratio: 3/2; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-md); }
.style-figure img { width: 100%; height: 100%; object-fit: cover; }
.style-figure.is-flipped { order: 2; }
.style-copy h2 { margin: var(--space-3) 0; }
.style-copy .lead { margin-bottom: var(--space-4); }
.style-copy .section-more { margin-top: var(--space-5); }

/* ============================================================
   CATEGORY
   ============================================================ */
.grid-cats { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: var(--space-4); }
.cat-card {
  display: flex; flex-direction: column; align-items: center; gap: var(--space-3);
  padding: var(--space-6) var(--space-4); background: var(--color-surface);
  border: 1px solid var(--color-border); border-radius: var(--radius-md);
  text-align: center; transition: transform var(--t-base), box-shadow var(--t-base), border-color var(--t-base);
}
.cat-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: var(--color-accent); }
.cat-icon { width: 34px; height: 34px; color: var(--color-accent-text); }
.cat-card span { font-size: var(--fs-small); font-weight: 500; color: var(--color-text); }

/* ============================================================
   ARTICLE CARD
   ============================================================ */
.article-card { display: flex; flex-direction: column; }
.article-media { aspect-ratio: 16/10; border-radius: var(--radius-md); overflow: hidden; margin-bottom: var(--space-4); border: 1px solid var(--color-border); }
.article-media img { width: 100%; height: 100%; object-fit: cover; transition: transform var(--t-slow); }
.article-card:hover .article-media img { transform: scale(1.04); }
.article-tag { font-size: var(--fs-caption); font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--color-accent-text); }
.article-card h2, .article-card h3 { margin: var(--space-2) 0 var(--space-2); font-size: 1.4rem; transition: color var(--t-base); }
.article-card:hover h2, .article-card:hover h3 { color: var(--color-accent-text); }
.article-card p { font-size: var(--fs-small); color: var(--color-text-2); }

/* ============================================================
   EDITORIAL BAND / QUOTE
   ============================================================ */
.band { background: var(--color-ink); color: #F2E9D9; }
.band .eyebrow { color: #C9B792; }
.band h2, .band h3 { color: #F7F1E6; }
.band p { color: rgba(242,233,217,.86); }

.quote { text-align: center; }
.quote p {
  font-family: var(--font-display); font-style: italic; font-weight: 500;
  font-size: clamp(1.6rem, 3.4vw, 2.8rem); line-height: 1.3;
  max-width: 20ch; margin-inline: auto; color: #F7F1E6;
}

/* ============================================================
   DISCLOSURE (affiliation)
   ============================================================ */
.disclosure {
  display: flex; gap: var(--space-3); align-items: flex-start;
  background: var(--color-surface); border: 1px solid var(--color-border);
  border-left: 3px solid var(--color-accent);
  border-radius: var(--radius-sm); padding: var(--space-4) var(--space-5);
  font-size: var(--fs-small); color: var(--color-text-2); max-width: 720px;
}
.disclosure svg { flex-shrink: 0; width: 20px; height: 20px; color: var(--color-accent-text); margin-top: 2px; }
.page-updated + .disclosure { margin-bottom: var(--space-7); }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer { background: var(--color-surface); border-top: 1px solid var(--color-border); padding-block: var(--space-8) var(--space-6); margin-top: var(--space-9); }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: var(--space-6); }
.footer-brand { display: flex; align-items: center; gap: var(--space-3); margin-bottom: var(--space-4); }
.footer-brand img { width: 40px; height: 40px; }
.footer-brand span { font-family: var(--font-display); font-size: 1.4rem; font-weight: 600; }
.footer-about { color: var(--color-text-2); font-size: var(--fs-small); max-width: 34ch; }
.footer-heading { font-family: var(--font-body); font-size: var(--fs-caption); font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--color-muted); margin-bottom: var(--space-3); }
.footer-col a { display: block; font-size: var(--fs-small); color: var(--color-text-2); padding-block: 10px; transition: color var(--t-base); }
.footer-col a:hover { color: var(--color-accent-text); }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; gap: var(--space-4); margin-top: var(--space-7); padding-top: var(--space-5); border-top: 1px solid var(--color-border); font-size: var(--fs-caption); color: var(--color-muted); }

/* ============================================================
   BREADCRUMB
   ============================================================ */
.breadcrumb { display: flex; flex-wrap: wrap; gap: var(--space-2); align-items: center; font-size: var(--fs-caption); color: var(--color-muted); padding-block: var(--space-5); }
.breadcrumb a { padding: 12px 2px; margin: -12px -2px; transition: color var(--t-base); } /* zone tactile 44px sans changer le rendu */
.breadcrumb a:hover { color: var(--color-accent-text); }
.breadcrumb .sep { opacity: .5; }

/* ============================================================
   ARTICLE
   ============================================================ */
.article-head .article-tag { display: inline-block; }
.article-head h1 { margin: var(--space-3) 0 var(--space-4); }
.article-head .lead { margin-bottom: var(--space-4); }
.article-meta { font-size: var(--fs-small); color: var(--color-muted); margin-bottom: var(--space-6); }
.article-hero { aspect-ratio: 16/10; max-width: 980px; margin-inline: auto; border-radius: var(--radius-lg); overflow: hidden; margin-bottom: var(--space-6); box-shadow: var(--shadow-md); }
.article-hero--wide { aspect-ratio: 21/9; max-width: none; }
.article-hero img { width: 100%; height: 100%; object-fit: cover; }
.prose { max-width: 68ch; margin-inline: auto; }
.prose-start { margin-inline: 0; }
.prose > * + * { margin-top: var(--space-5); }
.prose h2 { font-size: 1.9rem; margin-top: var(--space-7); }
.prose h3 { font-size: 1.4rem; margin-top: var(--space-6); }
.prose p { color: var(--color-text-2); line-height: 1.8; }
.prose ul, .prose ol { padding-left: 1.4em; color: var(--color-text-2); line-height: 1.8; }
.prose ul { list-style: disc; }
.prose ol { list-style: decimal; }
.prose li + li { margin-top: var(--space-2); }
.prose figure { margin-block: var(--space-6); }
.prose figure img { border-radius: var(--radius-md); }
.prose figcaption { font-size: var(--fs-caption); color: var(--color-muted); text-align: center; margin-top: var(--space-2); }
.prose blockquote {
  border-left: 3px solid var(--color-accent); padding-left: var(--space-5);
  font-family: var(--font-display); font-style: italic; font-size: 1.5rem; color: var(--color-text);
}
.pull-tip { background: var(--color-surface); border: 1px solid var(--color-border); border-radius: var(--radius-md); padding: var(--space-5); }
.pull-tip strong { color: var(--color-accent-text); }

/* ============================================================
   404 / EMPTY STATES
   ============================================================ */
.center-screen { min-height: 70vh; display: flex; flex-direction: column; justify-content: center; align-items: center; text-align: center; gap: var(--space-5); }
.center-lead { max-width: 44ch; }

/* État vide (aucun produit publié) : sobre, honnête, avec une suite de navigation */
.empty-state {
  display: flex; flex-direction: column; align-items: center; text-align: center; gap: var(--space-4);
  padding: var(--space-8) var(--space-5); color: var(--color-text-2);
  background: var(--color-surface); border: 1px dashed var(--color-border); border-radius: var(--radius-lg);
}
.empty-state .empty-title { font-family: var(--font-display); font-size: var(--fs-h3); font-weight: 600; color: var(--color-text); }
.empty-state p { max-width: 48ch; }
.empty-state .hero-actions { margin-top: var(--space-2); }

/* Produit sans photo : la marque en filigrane, jamais la photo d'un autre produit */
.product-media--empty { display: flex; align-items: center; justify-content: center; background: var(--color-surface); }
.product-media--empty .product-media-mark { width: 56px; height: 56px; opacity: .28; object-fit: contain; }
.product-card:hover .product-media--empty .product-media-mark { transform: none; }

/* ============================================================
   REVEAL ANIMATIONS
   ============================================================ */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity var(--t-slow), transform var(--t-slow); }
.reveal.in { opacity: 1; transform: none; }
.reveal-delay-1 { transition-delay: 80ms; }
.reveal-delay-2 { transition-delay: 160ms; }
.reveal-delay-3 { transition-delay: 240ms; }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1 !important; transform: none !important; transition: none !important; }
  .product-card:hover .product-media img,
  .style-card:hover img,
  .article-card:hover .article-media img { transform: none; }
  * { animation-duration: 0.001ms !important; transition-duration: 0.001ms !important; }
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .grid-products { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .footer-grid { grid-template-columns: 1fr 1fr 1fr; }
  .footer-brand-col { grid-column: 1 / -1; }
}

@media (max-width: 860px) {
  :root { --header-h: 66px; }
  .nav-desktop, .nav-desktop-cta { display: none; }
  .burger { display: flex; }
  .nav-mobile { display: flex; }
  /* Hero : le titre d'abord, puis l'image entière (4:5, jamais recadrée) */
  .hero { padding-block: var(--space-7) var(--space-7); }
  .hero-grid { grid-template-columns: 1fr; gap: var(--space-6); }
  .hero-visual { width: 100%; max-width: 520px; }
  .grid-products { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-5); }
  .grid-3 { grid-template-columns: 1fr; }
  .grid-styles { grid-template-columns: 1fr; }
  .grid-cats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .style-detail { grid-template-columns: 1fr; gap: var(--space-6); }
  .style-figure.is-flipped { order: 0; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .section { padding-block: var(--space-8); }
  .article-hero, .article-hero--wide { aspect-ratio: 16/10; }
}

@media (max-width: 480px) {
  .container { padding-inline: var(--space-4); }
  .grid-products { grid-template-columns: 1fr; }
  .grid-2 { grid-template-columns: 1fr; }
  .grid-cats { grid-template-columns: 1fr 1fr; }
  /* Téléphone : les groupes de boutons s'empilent, chaque bouton prend toute la largeur, libellé centré et sur une
     ligne (plus de pastilles étroites au texte coupé et décalé) */
  .hero-actions, .favs-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .btn, .favs-actions .btn { width: 100%; flex: none; }
  .hero-actions .btn-ghost, .favs-actions .btn-ghost { justify-content: center; }
  .brand-name { font-size: 1.35rem; }
  .product-meta { flex-direction: column; align-items: flex-start; gap: var(--space-1); }
  .product-cta { text-align: left; }
}

/* ============================================================
   BOUTIQUE — filtres combinables (chips), recherche, compteur, « Voir plus »
   ============================================================ */
/* Barre collante : Filtres (ouvre/ferme le panneau) + Tri + compteur, toujours à portée de main */
.shop-bar {
  position: sticky; top: var(--header-h); z-index: 40;
  display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-3) var(--space-4);
  margin-top: var(--space-5); padding: var(--space-3) 0;
  background: rgba(242,235,224,.94); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--color-border);
}
.scrolled ~ main .shop-bar { top: var(--header-h-scrolled); }
.shop-toggle { min-height: 40px; padding: 0.5em 1.1em; gap: var(--space-2); }
.shop-toggle[aria-expanded="true"] { background: var(--color-text); color: var(--color-bg); }
.shop-active-count { min-width: 20px; height: 20px; padding: 0 6px; border-radius: var(--radius-pill); background: var(--c-warm); color: #fff; font-size: 0.72rem; font-weight: 600; line-height: 20px; text-align: center; }
.shop-sort select {
  min-height: 40px; padding: 0 2.2em 0 var(--space-4); font: inherit; font-size: var(--fs-small); color: var(--color-text);
  background: var(--color-elevated) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%235F5947' stroke-width='1.5'%3E%3Cpath d='M4 6l4 4 4-4'/%3E%3C/svg%3E") no-repeat right 12px center / 14px;
  border: 1px solid var(--color-border); border-radius: var(--radius-pill); appearance: none; -webkit-appearance: none; cursor: pointer;
}
.shop-sort select:focus { outline: none; border-color: var(--color-accent); box-shadow: 0 0 0 3px rgba(138,119,72,.18); }
.shop-bar .shop-count { margin-left: auto; }
.shop-layouts { display: inline-flex; gap: 4px; padding: 3px; border: 1px solid var(--color-border); border-radius: var(--radius-pill); background: var(--color-elevated); }
.layout-btn { width: 34px; height: 34px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; color: var(--color-muted); transition: background var(--t-base), color var(--t-base); }
.layout-btn:hover { color: var(--color-text); }
.layout-btn[aria-pressed="true"] { background: var(--color-ink); color: #F7F1E6; }
/* Dispositions : petites vignettes (4 colonnes), grandes (2 colonnes), liste (image à gauche, texte à droite) */
.grid-products--compact { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--space-4); }
.grid-products--compact .product-name { font-size: 1.05rem; }
.grid-products--compact .product-desc { display: none; }
.grid-products--compact .product-amazon { display: none; }
.grid-products--compact .product-media .badge--material { display: none; }
.grid-products--large { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-7); }
.grid-products--large .product-name { font-size: 1.6rem; }
.grid-products--liste { grid-template-columns: 1fr; gap: var(--space-5); }
.grid-products--liste .product-card { flex-direction: row; gap: var(--space-5); align-items: stretch; padding: var(--space-4); background: var(--color-elevated); border: 1px solid var(--color-border); border-radius: var(--radius-lg); }
.grid-products--liste .product-media { flex: 0 0 220px; aspect-ratio: 4/5; }
.grid-products--liste .product-body { padding-top: 0; }
.grid-products--liste .product-actions { max-width: 380px; }
.shop-toolbar { display: grid; gap: var(--space-4); margin-top: var(--space-5); padding: var(--space-5); background: var(--color-surface); border: 1px solid var(--color-border); border-radius: var(--radius-lg); }
.shop-toolbar[hidden] { display: none !important; }
.shop-hint { font-size: var(--fs-caption); max-width: 60ch; }
.chip.is-empty { opacity: .45; }
.chip-group[data-filter="style"] .chip[aria-pressed="true"][data-value="Scandinave"] { background: var(--c-scandinave); border-color: var(--c-scandinave); }
.chip-group[data-filter="style"] .chip[aria-pressed="true"][data-value="Japandi"] { background: var(--c-japandi); border-color: var(--c-japandi); }
.chip-group[data-filter="style"] .chip[aria-pressed="true"][data-value="Warm Minimalism"] { background: var(--c-warm); border-color: var(--c-warm); }
.chip-group[data-filter="style"] .chip[aria-pressed="true"][data-value="Bohème"] { background: var(--c-boheme); border-color: var(--c-boheme); }
.shop-search input {
  width: 100%; max-width: 460px; min-height: var(--tap); padding: 0 var(--space-5);
  font: inherit; font-size: var(--fs-small); color: var(--color-text);
  background: var(--color-elevated); border: 1px solid var(--color-border); border-radius: var(--radius-pill);
  transition: border-color var(--t-base), box-shadow var(--t-base);
}
.shop-search input::placeholder { color: var(--color-muted); }
.shop-search input:focus { outline: none; border-color: var(--color-accent); box-shadow: 0 0 0 3px rgba(138,119,72,.18); }
.filter-row { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-2) var(--space-3); }
.filter-label { font-size: var(--fs-caption); font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--color-muted); min-width: 84px; }
.chip-group { display: flex; flex-wrap: wrap; gap: var(--space-2); }
.chip {
  display: inline-flex; align-items: center; gap: 6px; min-height: 36px; padding: 6px 14px;
  font-size: var(--fs-small); font-weight: 500; color: var(--color-text-2);
  background: var(--color-surface); border: 1px solid var(--color-border); border-radius: var(--radius-pill);
  transition: background var(--t-base), color var(--t-base), border-color var(--t-base), transform var(--t-fast);
}
.chip:hover { border-color: var(--color-accent); color: var(--color-text); }
.chip:active { transform: translateY(1px); }
.chip[aria-pressed="true"] { background: var(--color-ink); color: #F7F1E6; border-color: var(--color-ink); }
.chip-count { font-size: var(--fs-caption); opacity: .72; font-variant-numeric: tabular-nums; }
.shop-status { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--space-3); padding-top: var(--space-3); border-top: 1px solid var(--color-border); }
.shop-count { font-size: var(--fs-small); font-weight: 600; color: var(--color-text); }
.shop-reset { min-height: 36px; }
.shop-empty { margin-top: var(--space-4); }
.favs-status { border-top: 0; padding: var(--space-4) var(--space-5); background: var(--color-surface); border: 1px solid var(--color-border); border-radius: var(--radius-lg); margin-bottom: var(--space-6); }
.favs-actions { display: flex; flex-wrap: wrap; gap: var(--space-3); align-items: center; }
.product-cart { margin-top: var(--space-2); font-size: var(--fs-caption); min-height: 40px; }
.shop-more { display: flex; justify-content: center; }

/* ============================================================
   COLLECTIONS
   ============================================================ */
.grid-collections { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-6); }
.grid-collections--single { grid-template-columns: minmax(0, 1fr); max-width: 620px; }
.collection-card {
  display: flex; flex-direction: column; background: var(--color-elevated);
  border: 1px solid var(--color-border); border-radius: var(--radius-lg); overflow: hidden;
  transition: transform var(--t-base), box-shadow var(--t-base), border-color var(--t-base);
}
.collection-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: var(--color-accent); }
.collection-media { aspect-ratio: 16/9; overflow: hidden; }
.collection-media img { width: 100%; height: 100%; object-fit: cover; transition: transform var(--t-slow); }
.collection-card:hover .collection-media img { transform: scale(1.04); }
.collection-body { padding: var(--space-5) var(--space-6) var(--space-6); display: flex; flex-direction: column; gap: var(--space-2); }
.collection-body h2, .collection-body h3 { font-size: 1.6rem; }
.collection-body p { font-size: var(--fs-small); color: var(--color-text-2); }
.collection-count { font-size: var(--fs-caption); font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--color-accent-text); margin-top: var(--space-2); }
.tips-list { list-style: decimal; padding-left: 1.4em; max-width: 68ch; color: var(--color-text-2); line-height: 1.7; display: grid; gap: var(--space-3); }
.tips-list li::marker { font-family: var(--font-display); font-weight: 600; color: var(--color-accent-text); }

/* ============================================================
   PAGE UNIVERS (style-*.html)
   ============================================================ */
.style-hero { padding-top: var(--space-4); }
.style-hero h1 { margin: var(--space-3) 0; }
.codes-list { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--space-5); }
.code-item { background: var(--color-elevated); border: 1px solid var(--color-border); border-radius: var(--radius-md); padding: var(--space-5); }
.code-label { display: block; font-family: var(--font-display); font-size: 1.35rem; font-weight: 600; margin-bottom: var(--space-2); }
.code-item p { font-size: var(--fs-small); color: var(--color-text-2); }

/* ============================================================
   FAQ (details/summary natifs, aucun script)
   ============================================================ */
.faq { border-top: 1px solid var(--color-border); }
.faq-item { border-bottom: 1px solid var(--color-border); }
.faq-item summary {
  display: flex; align-items: center; justify-content: space-between; gap: var(--space-4);
  padding: var(--space-4) 0; cursor: pointer; list-style: none;
  font-family: var(--font-display); font-size: 1.35rem; font-weight: 600; color: var(--color-text);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: '+'; flex-shrink: 0; width: 28px; height: 28px; border-radius: 50%;
  border: 1px solid var(--color-border); display: inline-flex; align-items: center; justify-content: center;
  font-family: var(--font-body); font-size: 1rem; color: var(--color-accent-text); transition: transform var(--t-base);
}
.faq-item[open] summary::after { content: '−'; }
.faq-item summary:hover { color: var(--color-accent-text); }
.faq-answer { padding-bottom: var(--space-5); }
.faq-answer p { color: var(--color-text-2); line-height: 1.75; }

/* ============================================================
   ARTICLE — navigation précédent / suivant
   ============================================================ */
.post-nav { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-4); margin-top: var(--space-8); padding-top: var(--space-5); border-top: 1px solid var(--color-border); }
.post-nav-link { display: flex; flex-direction: column; gap: var(--space-1); padding: var(--space-3) 0; }
.post-nav-link.next { text-align: right; align-items: flex-end; }
.post-nav-label { font-size: var(--fs-caption); font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--color-muted); }
.post-nav-title { font-family: var(--font-display); font-size: 1.25rem; font-weight: 600; color: var(--color-text); transition: color var(--t-base); }
.post-nav-link:hover .post-nav-title { color: var(--color-accent-text); }

/* ============================================================
   RESPONSIVE — compléments boutique / collections / univers
   ============================================================ */
@media (max-width: 1024px) {
  .grid-products--shop { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .codes-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid-cats { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (max-width: 860px) {
  .grid-products--compact { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .grid-products--large { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-5); }
  .grid-products--liste .product-media { flex-basis: 150px; }
  .shop-per-page { display: none; }
  .product-hero { grid-template-columns: 1fr; gap: var(--space-6); }
  .product-figure { max-width: 520px; }
  .product-gallery { max-width: 520px; }
  .gallery-nav { display: none; } /* au doigt, on glisse ; les flèches restent pour la souris */
  .shop-bar { gap: var(--space-2) var(--space-3); }
  .shop-bar .shop-count { flex-basis: 100%; margin-left: 0; font-size: var(--fs-caption); }
  .spec-row { grid-template-columns: 100px minmax(0, 1fr); }
  .grid-products--shop { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-5); }
  .grid-collections { grid-template-columns: 1fr; }
  .grid-cats { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .filter-label { min-width: 0; width: 100%; }
  .post-nav { grid-template-columns: 1fr; }
  .post-nav-link.next { text-align: left; align-items: flex-start; }
  .style-hero .style-figure { order: -1; }
}
@media (max-width: 480px) {
  .grid-products--shop { grid-template-columns: 1fr; }
  .grid-products--compact { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid-products--large { grid-template-columns: 1fr; }
  .grid-products--liste .product-card { flex-direction: column; }
  .grid-products--liste .product-media { flex-basis: auto; }
  .shop-extra-list { grid-template-columns: 1fr; }
  .codes-list { grid-template-columns: 1fr; }
  .grid-cats { grid-template-columns: 1fr 1fr; }
  .faq-item summary { font-size: 1.2rem; }
}
