/* ============================================================
   HIKARA : Design tokens & base styles
   Style direction: luxe minimaliste & épuré
   ============================================================ */

:root {
  /* Couleurs : palette Hikara */
  --c-bg:          #ffffff;
  --c-bg-soft:     #faf8f4;          /* warm off-white pour sections */
  --c-bg-deep:     #1a1a1a;          /* charbon profond */
  --c-text:        #1a1a1a;
  --c-text-soft:   #6b6b6b;
  --c-text-mute:   #9a948a;
  --c-border:      #ece8e0;
  --c-border-soft: #f3f0ea;
  --c-accent:      #b8956a;          /* or chaud / champagne */
  --c-accent-dark: #8b7050;
  --c-silver:      #c0bbb3;
  --c-success:     #1a1a1a;
  --c-danger:      #b8553e;

  /* Typographie */
  --ff-display: "Cormorant Garamond", "Playfair Display", Georgia, serif;
  --ff-body:    "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  /* Échelles */
  --fs-xs:   12px;
  --fs-sm:   14px;
  --fs-base: 16px;
  --fs-lg:   18px;
  --fs-xl:   22px;
  --fs-2xl:  28px;
  --fs-3xl:  36px;
  --fs-4xl:  56px;
  --fs-5xl:  76px;

  /* Espacements */
  --sp-1:  4px;
  --sp-2:  8px;
  --sp-3:  12px;
  --sp-4:  16px;
  --sp-5:  24px;
  --sp-6:  32px;
  --sp-7:  48px;
  --sp-8:  64px;
  --sp-9:  96px;
  --sp-10: 128px;

  /* Layout */
  --container:  1320px;
  --container-narrow: 1080px;
  --radius:     2px;
  --radius-lg:  4px;

  /* Animations */
  --ease:    cubic-bezier(0.4, 0, 0.2, 1);
  --t-fast:  150ms;
  --t-base:  250ms;
  --t-slow:  450ms;

  /* Header height */
  --h-trust: 36px;
  --h-header: 78px;
}

/* ===== Reset ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  box-sizing: border-box;
  overflow-x: hidden;
  margin: 0 !important;
  padding: 0 !important;
  /* Fond foncé pour que toute zone hors body (viewport > body) se confonde
     avec le footer dark — évite la bande blanche en bas/haut quand le
     contenu est plus court que la fenêtre. */
  background: var(--c-bg-deep) !important;
}
/* Pas de marge/padding parasite sur body qui créerait des bandes blanches
   au-dessus de la trust-bar ou en-dessous du footer. */
body {
  margin: 0 !important;
  padding: 0 !important;
}
*, *::before, *::after { box-sizing: inherit; }
body {
  font-family: var(--ff-body);
  font-size: var(--fs-base);
  line-height: 1.6;
  color: var(--c-text);
  background: var(--c-bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  /* Empêche les drawers fixed (filtres mobile, cart) de créer du scroll horizontal. */
  overflow-x: hidden;
  max-width: 100vw;
  margin: 0;
}
img, svg, video { display: block; max-width: 100%; height: auto; }
button { font: inherit; cursor: pointer; background: none; border: none; color: inherit; }
a { color: inherit; text-decoration: none; transition: color var(--t-base) var(--ease); }
ul, ol { list-style: none; }
input, textarea, select { font: inherit; }

/* ===== Typography helpers ===== */
.display { font-family: var(--ff-display); font-weight: 400; letter-spacing: -0.02em; line-height: 1.1; }
.eyebrow { font-size: var(--fs-xs); letter-spacing: 0.18em; text-transform: uppercase; color: var(--c-text-soft); font-weight: 500; }
.label   { font-size: var(--fs-sm); color: var(--c-text-soft); }

h1 { font-family: var(--ff-display); font-weight: 400; font-size: var(--fs-5xl); line-height: 1.05; letter-spacing: -0.02em; }
h2 { font-family: var(--ff-display); font-weight: 400; font-size: var(--fs-4xl); line-height: 1.1;  letter-spacing: -0.02em; }
h3 { font-family: var(--ff-display); font-weight: 400; font-size: var(--fs-3xl); line-height: 1.2; }
h4 { font-family: var(--ff-display); font-weight: 500; font-size: var(--fs-2xl); line-height: 1.3; }

/* ===== Container ===== */
.container        { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--sp-5); }
.container-narrow { width: 100%; max-width: var(--container-narrow); margin: 0 auto; padding: 0 var(--sp-5); }

/* ===== Buttons ===== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: var(--sp-2);
  padding: 16px 32px;
  font-size: var(--fs-sm);
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-radius: var(--radius);
  transition: all var(--t-base) var(--ease);
  cursor: pointer;
  text-align: center;
  border: 1px solid transparent;
}
.btn-primary {
  background: var(--c-text);
  color: #fff;
}
.btn-primary:hover { background: var(--c-accent-dark); }
.btn-outline {
  background: transparent;
  color: var(--c-text);
  border-color: var(--c-text);
}
.btn-outline:hover { background: var(--c-text); color: #fff; }
.btn-ghost {
  background: transparent;
  color: var(--c-text);
  text-transform: none;
  letter-spacing: normal;
  padding: 8px 0;
  border-bottom: 1px solid currentColor;
  border-radius: 0;
}
.btn-ghost:hover { color: var(--c-accent-dark); }
.btn-block { display: flex; width: 100%; }
/* État disabled : grisé, non-cliquable. Utilisé pour "Passer commande" quand panier vide. */
.btn.is-disabled,
.btn[aria-disabled="true"] {
  background: var(--c-border) !important;
  color: var(--c-text-mute) !important;
  cursor: not-allowed !important;
  pointer-events: none;
  opacity: 0.8;
}
.btn.is-disabled:hover,
.btn[aria-disabled="true"]:hover {
  background: var(--c-border) !important;
  color: var(--c-text-mute) !important;
}

/* ============================================================
   TRUST BAR (top strip)
   ============================================================ */
.trust-bar {
  background: var(--c-bg-deep);
  color: #fff;
  font-size: var(--fs-xs);
  letter-spacing: 0.06em;
  height: var(--h-trust);
  display: flex;
  align-items: center;
  overflow: hidden;
  position: relative;
}
.trust-bar__track {
  display: flex;
  gap: var(--sp-7);
  white-space: nowrap;
  animation: trustScroll 30s linear infinite;
  padding-right: var(--sp-7); /* ajoute un gap visuel entre le dernier item du set 2 et la reprise du set 1 */
  will-change: transform;
}
.trust-bar__item {
  display: inline-flex; align-items: center; gap: var(--sp-2);
  color: rgba(255,255,255,0.92);
}
.trust-bar__item svg { width: 14px; height: 14px; opacity: 0.7; }
@keyframes trustScroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce) {
  .trust-bar__track { animation: none; }
}

/* ============================================================
   HEADER
   ============================================================ */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,0.96);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--c-border-soft);
  height: var(--h-header);
  display: flex;
  align-items: center;
  transition: box-shadow var(--t-base) var(--ease);
}
.header.scrolled { box-shadow: 0 1px 12px rgba(0,0,0,0.04); }
.header__inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  grid-template-areas: "logo nav icons";
  align-items: center;
  width: 100%;
  column-gap: var(--sp-6);
}
.header__nav-left {
  grid-area: nav;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-6);
}
.header__logo { grid-area: logo; }
.header__nav-right {
  grid-area: icons;
  display: flex;
  align-items: center;
  gap: var(--sp-6);
  justify-content: flex-end;
}
.header__logo img {
  height: 32px;
  width: auto;
}
.nav-link {
  font-size: var(--fs-sm);
  letter-spacing: 0.04em;
  position: relative;
  padding: 8px 0;
  color: var(--c-text);
  display: inline-block;
  white-space: nowrap;
}
.nav-link::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: 0;
  height: 1px; background: var(--c-text);
  transform: scaleX(0); transform-origin: left;
  transition: transform var(--t-base) var(--ease);
}
.nav-link:hover::after,
.nav-link.is-active::after,
.nav-item--has-mega:hover .nav-link::after { transform: scaleX(1); }
.nav-link.is-active { font-weight: 500; }

/* ============================================================
   NAV ITEM avec MEGAMENU (desktop)
   ============================================================ */
.nav-item { position: relative; }
.nav-item--has-mega {
  /* Zone de hover étendue vers le bas pour rejoindre le panneau sans perdre le hover */
  padding-bottom: 18px;
  margin-bottom: -18px;
}
.nav-mega {
  --mega-shift-x: 0px;
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(calc(-50% + var(--mega-shift-x))) translateY(-8px);
  width: 540px;
  max-width: calc(100vw - 24px);
  background: #fff;
  border: 1px solid var(--c-border-soft);
  border-radius: 6px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.12);
  padding: var(--sp-4);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.2s var(--ease), visibility 0.2s var(--ease), transform 0.2s var(--ease);
  z-index: 80;
}
/* Bridge invisible pour ne pas perdre le hover entre lien et panneau */
.nav-mega::before {
  content: '';
  position: absolute;
  top: -22px;
  left: 0;
  right: 0;
  height: 22px;
}
.nav-item--has-mega:hover .nav-mega,
.nav-item--has-mega:focus-within .nav-mega {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(calc(-50% + var(--mega-shift-x))) translateY(0);
}
.nav-mega__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: var(--sp-3);
}
.nav-mega__title {
  font-size: var(--fs-xs);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--c-text-soft);
  font-weight: 600;
}
.nav-mega__cta {
  font-size: var(--fs-xs);
  letter-spacing: 0.05em;
  color: var(--c-text);
  text-decoration: none;
  border-bottom: 1px solid var(--c-text);
  padding-bottom: 2px;
  transition: color var(--t-base) var(--ease), border-color var(--t-base) var(--ease);
}
.nav-mega__cta:hover {
  color: var(--c-accent-dark);
  border-color: var(--c-accent-dark);
}
.nav-mega__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--sp-3);
}
.nav-mega__product {
  display: block;
  text-decoration: none;
  color: inherit;
}
.nav-mega__img {
  aspect-ratio: 1 / 1;
  background: var(--c-bg-soft);
  border-radius: 4px;
  overflow: hidden;
  margin-bottom: 6px;
}
.nav-mega__img img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform var(--t-base) var(--ease);
}
.nav-mega__product:hover .nav-mega__img img { transform: scale(1.05); }
.nav-mega__name {
  font-family: var(--ff-display);
  font-size: var(--fs-sm);
  line-height: 1.2;
  margin-bottom: 2px;
  color: var(--c-text);
}
.nav-mega__price {
  font-size: 12px;
  color: var(--c-text-soft);
}

/* .icon-btn — override Astra qui colore les boutons en couleur de marque par défaut. */
button.icon-btn,
a.icon-btn,
.icon-btn {
  width: 40px; height: 40px;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 50%;
  position: relative;
  transition: background var(--t-base) var(--ease);
  background: transparent !important;
  background-color: transparent !important;
  border: none !important;
  color: var(--c-text) !important;
  padding: 0 !important;
  box-shadow: none !important;
  cursor: pointer;
}
button.icon-btn:hover,
a.icon-btn:hover,
.icon-btn:hover { background: var(--c-bg-soft) !important; color: var(--c-text) !important; }
.icon-btn svg,
.icon-btn .lucide,
.icon-btn .menu-toggle__icon {
  width: 22px; height: 22px;
  stroke: currentColor !important;
  fill: none !important;
  display: inline-block;
}
.icon-btn__badge {
  position: absolute;
  top: 4px; right: 4px;
  background: var(--c-accent);
  color: #fff;
  font-size: 10px;
  min-width: 16px; height: 16px;
  border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  padding: 0 4px;
  font-weight: 600;
}

.menu-toggle { display: none; }
.menu-toggle__icon { width: 26px; height: 26px; }
.header__nav-desktop { display: flex; align-items: center; gap: var(--sp-5); flex-wrap: nowrap; }

/* ============================================================
   MOBILE DRAWER (menu hamburger plein écran latéral)
   ============================================================ */
.mobile-drawer {
  position: fixed;
  inset: 0 auto 0 0;
  width: min(85vw, 360px);
  background: #fff;
  z-index: 200;
  transform: translateX(-100%);
  transition: transform var(--t-base) var(--ease), box-shadow var(--t-base) var(--ease);
  display: flex;
  flex-direction: column;
  overflow-y: auto;
}
.mobile-drawer.is-open {
  transform: translateX(0);
  box-shadow: 0 0 32px rgba(0,0,0,0.2);
}
.mobile-drawer__backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.5);
  z-index: 150;
  opacity: 0;
  transition: opacity var(--t-base) var(--ease);
  pointer-events: none;
}
.mobile-drawer__backdrop.is-open {
  opacity: 1;
  pointer-events: auto;
}
.mobile-drawer__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--sp-4) var(--sp-5);
  border-bottom: 1px solid var(--c-border-soft);
}
.mobile-drawer__title {
  font-size: var(--fs-xs);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--c-text-soft);
}
.mobile-drawer__logo {
  height: 32px;
  width: auto;
  max-width: none;
}
.mobile-drawer__link--end { justify-content: space-between; }
.mobile-drawer__nav {
  display: flex;
  flex-direction: column;
}
.mobile-drawer__nav-item {
  display: flex;
  align-items: center;
  padding: var(--sp-4) var(--sp-5);
  font-family: var(--ff-display);
  font-size: var(--fs-2xl);
  font-weight: 600;
  color: var(--c-text);
  border-bottom: 1px solid var(--c-border-soft);
  transition: background var(--t-base) var(--ease);
}
.mobile-drawer__nav-item:hover,
.mobile-drawer__nav-item:focus { background: var(--c-bg-soft); }
/* Sous-catégories : décalées à gauche (indent), padding vertical réduit, weight normal */
.mobile-drawer__nav-item--sub {
  padding: 8px var(--sp-5) 8px calc(var(--sp-5) + var(--sp-5));
  font-weight: 400;
}
.mobile-drawer__footer {
  margin-top: auto;
  display: flex;
  flex-direction: column;
  padding: var(--sp-3) var(--sp-4);
  border-top: 1px solid var(--c-border-soft);
  gap: 0;
  background: var(--c-bg-soft);
}
.mobile-drawer__link {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  font-size: var(--fs-sm);
  color: var(--c-text);
  padding: var(--sp-2) 0;
}
.mobile-drawer__link svg { width: 18px; height: 18px; }
.mobile-drawer__link-icon {
  width: 36px;
  height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.05);
  flex-shrink: 0;
  color: var(--c-text);
}
.mobile-drawer__link-icon svg { width: 16px; height: 16px; }
body.drawer-open { overflow: hidden; }

/* ============================================================
   CART DRAWER (slide depuis la droite)
   ============================================================ */
.cart-drawer {
  position: fixed;
  inset: 0 0 0 auto;
  width: 100%;
  max-width: 460px;
  background: #fff;
  z-index: 220;
  transform: translateX(100%);
  transition: transform var(--t-base) var(--ease), box-shadow var(--t-base) var(--ease);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.cart-drawer.is-open {
  transform: translateX(0);
  box-shadow: 0 0 32px rgba(0,0,0,0.2);
}
.cart-drawer__backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.5);
  z-index: 170;
  opacity: 0;
  transition: opacity var(--t-base) var(--ease);
  pointer-events: none;
}
.cart-drawer__backdrop.is-open {
  opacity: 1;
  pointer-events: auto;
}

.cart-drawer__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 6px var(--sp-4);
  border-bottom: 1px solid var(--c-border-soft);
  flex-shrink: 0;
}
.cart-drawer__title {
  font-family: var(--ff-display);
  font-size: var(--fs-lg);
  font-weight: 500;
  margin: 0;
  line-height: 1.2;
}
.cart-drawer__count {
  color: var(--c-text-mute);
  font-size: var(--fs-base);
}

/* Rewards block (cadeau + livraison) — layout grid compact */
.cart-drawer__rewards {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 10px var(--sp-4);
  background: var(--c-bg-soft);
  border-bottom: 1px solid var(--c-border-soft);
  flex-shrink: 0;
}
.cart-reward {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.cart-reward__label {
  font-size: 12px;
  color: var(--c-text);
  line-height: 1.3;
}
/* Track = la zone qui contient barre + icône mobile au-dessus */
.cart-reward__track {
  position: relative;
  height: 22px;
  display: flex;
  align-items: center;
  margin: 0 11px; /* demi-largeur de l'icône → l'icône ne sort jamais du parent */
}
.cart-reward__icon {
  position: absolute;
  top: 50%;
  left: 0%;
  transform: translate(-50%, -50%);
  width: 22px; height: 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: #fff;
  color: var(--c-text);
  border: 1px solid var(--c-border);
  z-index: 2;
  transition: left 0.45s cubic-bezier(0.4, 0, 0.2, 1),
              background 0.3s, border-color 0.3s, color 0.3s;
}
.cart-reward__icon svg { width: 12px; height: 12px; }
.cart-reward__check {
  color: #16a34a;
  font-weight: 700;
  margin-left: 4px;
}
.cart-reward__label strong { font-weight: 600; }
.cart-reward__label em { font-style: italic; }
.cart-reward .cart-reward__bar,
.cart-reward .cart-reward__steps {
  width: 100%;
}
.cart-reward.is-unlocked .cart-reward__icon {
  background: var(--c-success);
  color: #fff;
  border-color: var(--c-success);
}
/* Hauteur strictement verrouillée à 6px sur les deux barres */
.cart-reward__bar,
.cart-reward__steps {
  height: 6px !important;
  min-height: 6px !important;
  max-height: 6px !important;
  width: 100%;
  box-sizing: border-box;
  padding: 0;
  margin: 0;
  border-radius: 3px;
}
.cart-reward__bar {
  background: var(--c-border);
  overflow: hidden;
}
.cart-reward__steps {
  display: flex;
  gap: 6px;
  background: transparent;
  height: 5px !important;
  min-height: 5px !important;
  max-height: 5px !important;
}
.cart-reward__step {
  flex: 1 1 0;
  height: 5px !important;
  min-height: 5px !important;
  max-height: 5px !important;
  background: var(--c-border);
  border-radius: 3px;
  box-sizing: border-box;
  padding: 0;
  margin: 0;
  transition: background 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
.cart-reward__fill {
  display: block;
  height: 6px !important;
  background: var(--c-success);
  border-radius: 3px;
  transition: width 0.45s cubic-bezier(0.4, 0, 0.2, 1);
}
.cart-reward__step.is-filled {
  background: var(--c-success);
}
.cart-reward.is-unlocked .cart-reward__step,
.cart-reward.is-unlocked .cart-reward__step.is-filled,
.cart-reward.is-unlocked .cart-reward__fill {
  background: var(--c-success);
}
.cart-reward.is-unlocked .cart-reward__icon {
  background: var(--c-success);
  color: #fff;
  border-color: var(--c-success);
}

/* Items list */
.cart-drawer__items {
  flex: 1 1 auto;
  overflow-y: auto;
  overflow-x: hidden;
  padding: var(--sp-4) var(--sp-5);  /* +4px vertical pour plus d'aération */
  scrollbar-width: none;
}
.cart-drawer__items::-webkit-scrollbar { display: none; }
.cart-line {
  display: grid;
  grid-template-columns: 72px 1fr auto;
  gap: var(--sp-4);
  padding: var(--sp-4) var(--sp-2);  /* horizontal +8px pour aérer */
  border-bottom: 1px solid var(--c-border-soft);
  align-items: flex-start;
}
.cart-line__right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: space-between;
  gap: var(--sp-3);
  min-height: 72px;
}
.cart-line:last-child { border-bottom: none; }
.cart-line__media {
  width: 72px; height: 72px;
  border-radius: 4px;
  overflow: hidden;
  background: var(--c-bg-soft);
}
.cart-line__media img { width: 100%; height: 100%; object-fit: cover; }
.cart-line__cat {
  font-size: 11px;
  color: var(--c-text-mute);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.cart-line__name {
  font-family: var(--ff-display);
  font-size: var(--fs-base);
  font-weight: 500;
  margin: 2px 0 6px;
}
.cart-line__price {
  font-size: 13px;
  color: var(--c-text-soft);
}
.cart-line__qty {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--c-border);
  border-radius: 4px;
  overflow: hidden;
  margin-top: 8px;
}
.cart-line__qty button {
  width: 28px; height: 28px;
  border: none;
  background: transparent;
  cursor: pointer;
  font-size: var(--fs-base);
  color: var(--c-text);
  transition: background var(--t-base) var(--ease);
}
.cart-line__qty button:hover:not(:disabled) { background: var(--c-bg-soft); }
.cart-line__qty button:disabled { opacity: 0.4; cursor: not-allowed; }
.cart-line__qty input {
  width: 36px; height: 28px;
  border: none;
  text-align: center;
  font-size: 13px;
  -moz-appearance: textfield;
}
.cart-line__qty input::-webkit-outer-spin-button,
.cart-line__qty input::-webkit-inner-spin-button {
  -webkit-appearance: none; margin: 0;
}
.cart-line__total {
  font-size: var(--fs-base);
  font-weight: 600;
  text-align: right;
}
.cart-line__remove {
  border: none;
  background: transparent;
  color: var(--c-text-mute);
  cursor: pointer;
  padding: 4px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: color var(--t-base) var(--ease);
}
.cart-line__remove:hover { color: var(--c-danger); }
.cart-line__remove svg { width: 14px; height: 14px; }

/* Cadeau : fond doré subtil pour se démarquer, mais hérite du padding
   horizontal des cart-line normales (plus de margin négative qui décalait l'image). */
.cart-line--gift {
  background: linear-gradient(135deg, rgba(184, 149, 106, 0.07) 0%, rgba(184, 149, 106, 0.02) 100%);
  border-radius: 8px;
  animation: giftSlideIn 0.45s ease both;
}
@keyframes giftSlideIn {
  from { opacity: 0; transform: translateY(-12px); }
  to   { opacity: 1; transform: translateY(0); }
}
.cart-line--gift .cart-line__total { color: var(--c-success); font-weight: 700; font-size: 13px; }
.cart-line--gift .cart-line__price {
  text-decoration: line-through;
  color: var(--c-text-mute);
}
.cart-line__gift-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: var(--c-success);
  color: #fff;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 3px 8px;
  border-radius: 999px;
  margin-top: 8px;
}
.cart-line__gift-badge svg { width: 10px; height: 10px; }

/* Empty cart */
.cart-empty {
  padding: var(--sp-8) var(--sp-4);
  text-align: center;
  color: var(--c-text-soft);
}
.cart-empty h3 {
  font-family: var(--ff-display);
  margin-bottom: var(--sp-2);
  color: var(--c-text);
}

/* Cross-sell rapide */
.cart-drawer__crosssell {
  padding: var(--sp-4) var(--sp-5);
  border-top: 1px solid var(--c-border-soft);
  background: var(--c-bg-soft);
  flex-shrink: 0;
}
.cart-drawer__crosssell-title {
  font-family: var(--ff-display);
  font-size: var(--fs-base);
  font-weight: 500;
  margin-bottom: var(--sp-3);
}
.cart-drawer__crosssell-list {
  display: flex;
  gap: var(--sp-3);
  overflow-x: auto;
  scrollbar-width: none;
}
.cart-drawer__crosssell-list::-webkit-scrollbar { display: none; }
.xsell {
  flex: 0 0 130px;
  display: flex;
  flex-direction: column;
  text-align: left;
}
.xsell__media {
  aspect-ratio: 1/1;
  background: #fff;
  border-radius: 4px;
  overflow: hidden;
  margin-bottom: 6px;
}
.xsell__media img { width: 100%; height: 100%; object-fit: cover; }
.xsell__name {
  font-family: var(--ff-display);
  font-size: 13px;
  font-weight: 500;
  margin-bottom: 2px;
}
.xsell__row {
  display: flex; justify-content: space-between; align-items: center;
}
.xsell__price { font-size: 12px; font-weight: 600; }
.xsell__add {
  background: var(--c-text);
  color: #fff;
  border: none;
  width: 26px; height: 26px;
  border-radius: 50%;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background var(--t-base) var(--ease);
}
.xsell__add:hover { background: var(--c-accent-dark); }
.xsell__add svg { width: 14px; height: 14px; }

/* Footer sticky */
.cart-drawer__footer {
  padding: var(--sp-4) var(--sp-5);
  border-top: 1px solid var(--c-border-soft);
  background: #fff;
  flex-shrink: 0;
}
.cart-drawer__row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 4px 0;
  font-size: 13px;
  color: var(--c-text-soft);
}
.cart-drawer__row span:last-child { color: var(--c-text); font-weight: 500; }
.cart-drawer__row--gift span { color: var(--c-success) !important; font-weight: 700 !important; }
.cart-drawer__total {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: var(--sp-3) 0;
  margin-top: 4px;
  border-top: 1px solid var(--c-border-soft);
  font-family: var(--ff-display);
  font-size: var(--fs-xl);
  font-weight: 500;
}
.cart-drawer__footer .btn { margin-top: var(--sp-3); }
.cart-drawer__note {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin-top: var(--sp-3);
  font-size: var(--fs-xs);
  color: var(--c-text-soft);
}
.cart-drawer__note svg { width: 12px; height: 12px; }

/* Lock body scroll quand le drawer panier OU mobile OU modal adresse est ouvert.
   Sur iOS Safari, `overflow: hidden` seul ne suffit pas → position: fixed + width 100%. */
body.cart-open,
body.drawer-open,
body.address-modal-open {
  overflow: hidden !important;
  position: fixed;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
}

/* ============================================================
   HERO : split layout (texte gauche / image droite)
   ============================================================ */
.hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: calc(100vh - var(--h-trust) - var(--h-header));
  background: var(--c-bg);
  overflow: hidden;
}
.hero__content {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding: var(--sp-7) var(--sp-7);
  background: var(--c-bg);
}
.hero__content-inner {
  max-width: 540px;
  width: 100%;
}

/* Social proof badge (sous le CTA) */
.hero__proof {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 6px 14px;
  background: rgba(184, 149, 106, 0.08);
  border-radius: 999px;
  margin-top: var(--sp-5);
  font-size: var(--fs-xs);
}
.hero__stars { display: inline-flex; gap: 1px; color: var(--c-accent); }
.hero__stars svg { width: 12px; height: 12px; fill: currentColor; }
.hero__proof-text { color: var(--c-text); letter-spacing: 0.02em; }
.hero__proof-text strong { font-weight: 600; }
.hero__proof-link {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color var(--t-base) var(--ease);
}
.hero__proof-link:hover { color: var(--c-accent-dark); }

/* H1 */
.hero__title {
  font-size: clamp(38px, 4.4vw, 60px);
  margin-bottom: var(--sp-4);
  line-height: 1.05;
}
.hero__title em {
  font-style: italic;
  color: var(--c-accent-dark);
}

.hero__sub {
  font-size: var(--fs-base);
  color: var(--c-text-soft);
  margin-bottom: var(--sp-5);
  max-width: 480px;
  line-height: 1.6;
}

/* Incentive offer block */
.hero__offer {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  padding: 12px 16px;
  background: var(--c-bg-soft);
  border-left: 3px solid var(--c-accent);
  border-radius: var(--radius);
  margin-bottom: var(--sp-5);
  flex-wrap: wrap;
}
.hero__offer-tag {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--c-accent-dark);
  white-space: nowrap;
}
.hero__offer-text {
  font-size: var(--fs-sm);
  color: var(--c-text);
  line-height: 1.4;
}
.hero__offer-text strong { font-weight: 700; }
.hero__offer-code {
  display: inline-block;
  font-family: 'Inter', monospace;
  background: var(--c-bg-deep);
  color: #fff;
  padding: 2px 8px;
  border-radius: 3px;
  font-size: var(--fs-xs);
  letter-spacing: 0.1em;
  font-weight: 600;
  margin-left: 2px;
}

.hero__actions { display: flex; gap: var(--sp-4); flex-wrap: wrap; }

/* Sub-trust signals (below CTAs) — masqués partout (redondants avec la trust bar du haut + le carousel USP) */
.hero__trust { display: none !important; }
.hero__trust li {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: var(--fs-xs);
  color: var(--c-text-soft);
  letter-spacing: 0.02em;
}
.hero__trust svg { width: 14px; height: 14px; opacity: 0.65; }

.hero__media {
  background-image: url('../images/hero-B-hand-ring.png');
  background-size: cover;
  background-position: center;
  min-height: 480px;
}

/* ============================================================
   USP : bandeau réassurance
   ============================================================ */
.usp {
  padding: var(--sp-6) 0;
  border-bottom: 1px solid var(--c-border-soft);
  background: var(--c-bg-soft);
}
.usp__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--sp-5);
}
.usp__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: var(--sp-2);
  padding: 0 var(--sp-4);
}
.usp__icon {
  width: 32px;
  height: 32px;
  color: var(--c-accent);
  display: inline-block;
  stroke-width: 1.5;
}
.usp__icon svg {
  width: 100%;
  height: 100%;
  stroke-width: 1.5;
}
.usp__title {
  font-size: var(--fs-sm);
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.usp__desc {
  font-size: var(--fs-sm);
  color: var(--c-text-soft);
}

/* ============================================================
   SECTION GENERIC
   ============================================================ */
.section { padding: var(--sp-7) 0; }
.section--soft { background: var(--c-bg-soft); }
.section__head {
  text-align: center;
  margin-bottom: var(--sp-8);
}
.section__head .eyebrow { display: inline-block; margin-bottom: var(--sp-3); }
.section__head h2 { margin-bottom: var(--sp-3); }
.section__head p {
  color: var(--c-text-soft);
  max-width: 580px;
  margin: 0 auto;
}

/* ============================================================
   CATEGORIES
   ============================================================ */
.cat-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: var(--sp-4);
}
.cat-card {
  position: relative;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  border-radius: var(--radius-lg);
  display: block;
  background: var(--c-bg-soft);
}
/* Sur desktop, on rend les cartes catégories plus compactes (square) */
@media (min-width: 821px) {
  .cat-card { aspect-ratio: 1 / 1; }
}
.cat-card img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform var(--t-slow) var(--ease);
}
.cat-card:hover img { transform: scale(1.06); }
.cat-card__overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.55) 0%, rgba(0,0,0,0) 50%);
}
.cat-card__name {
  position: absolute;
  left: var(--sp-4);
  right: var(--sp-4);
  bottom: var(--sp-4);
  color: #fff;
  font-family: var(--ff-display);
  font-size: var(--fs-2xl);
  line-height: 1.1;
}
.cat-card__count {
  position: absolute;
  top: var(--sp-3);
  right: var(--sp-3);
  color: #fff;
  font-size: var(--fs-xs);
  letter-spacing: 0.06em;
  background: rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  padding: 4px 9px;
  border-radius: 999px;
  font-weight: 500;
}

/* ============================================================
   PRODUCTS GRID
   ============================================================ */
.prod-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--sp-6) var(--sp-5);
}
.prod-card {
  display: flex; flex-direction: column;
  position: relative;
}
/* Stretched link : couvre toute la carte (sauf pastilles z-index supérieur) */
.prod-card__link {
  position: absolute;
  inset: 0;
  z-index: 1;
}
/* Pastilles de couleur en bas-droite de l'image */
.prod-card__colors {
  position: absolute;
  bottom: 8px;
  right: 8px;
  display: flex;
  gap: 4px;
  z-index: 5;
}
.prod-card__quick { display: none !important; }

/* Dégradés argent/doré pour les pastilles couleur (commun à toutes les pages) */
.card-swatch--silver,
.product-info__swatch.card-swatch--silver,
.swatch__circle--silver {
  background: linear-gradient(135deg, #d8d6d2 0%, #b3b0aa 50%, #d8d6d2 100%);
}
.card-swatch--gold,
.product-info__swatch.card-swatch--gold,
.swatch__circle--gold {
  background: linear-gradient(135deg, #e8c987 0%, #c4994a 50%, #e8c987 100%);
}
.prod-card__media {
  position: relative;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: var(--c-bg-soft);
  margin-bottom: var(--sp-4);
  border-radius: var(--radius-lg);
}
.prod-card__media img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform var(--t-slow) var(--ease);
}
.prod-card:hover .prod-card__media img { transform: scale(1.05); }
.prod-card__tag {
  position: absolute;
  top: var(--sp-3); left: var(--sp-3);
  background: #fff;
  color: var(--c-text);
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 600;
  padding: 6px 10px;
  border-radius: var(--radius);
}
.prod-card__tag--accent { background: var(--c-accent); color: #fff; }
.prod-card__quick {
  position: absolute;
  left: var(--sp-3); right: var(--sp-3); bottom: var(--sp-3);
  background: rgba(255,255,255,0.95);
  color: var(--c-text);
  text-align: center;
  padding: 12px;
  font-size: var(--fs-xs);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 600;
  border-radius: var(--radius);
  opacity: 0;
  transform: translateY(10px);
  transition: all var(--t-base) var(--ease);
  backdrop-filter: blur(4px);
}
.prod-card:hover .prod-card__quick {
  opacity: 1;
  transform: translateY(0);
}
.prod-card__cat {
  font-size: var(--fs-xs);
  color: var(--c-text-mute);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 4px;
}
.prod-card__name {
  font-family: var(--ff-display);
  font-size: var(--fs-xl);
  font-weight: 500;
  margin-bottom: var(--sp-1);
  color: var(--c-text);
}
.prod-card__price {
  font-size: var(--fs-base);
  font-weight: 500;
  color: var(--c-text);
}

/* ============================================================
   STORY : Notre engagement
   ============================================================ */
.story {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: var(--sp-9);
}
.story__media {
  aspect-ratio: 4 / 5;
  background-size: cover;
  background-position: center;
  border-radius: var(--radius-lg);
}
.story__content { padding-right: var(--sp-5); }
.story__content .eyebrow { margin-bottom: var(--sp-3); display: inline-block; }
.story__content h2 { margin-bottom: var(--sp-4); }
.story__content p {
  font-size: var(--fs-lg);
  color: var(--c-text-soft);
  line-height: 1.7;
  margin-bottom: var(--sp-5);
}
.story__features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-5);
  margin-bottom: var(--sp-6);
}
.story__feature {
  display: flex;
  gap: var(--sp-3);
  align-items: flex-start;
}
.story__feature svg {
  width: 22px; height: 22px;
  color: var(--c-accent);
  flex-shrink: 0;
  margin-top: 2px;
}
.story__feature h5 {
  font-size: var(--fs-sm);
  font-weight: 600;
  margin-bottom: 2px;
  font-family: var(--ff-body);
  letter-spacing: 0.02em;
}
.story__feature p {
  font-size: var(--fs-sm);
  color: var(--c-text-soft);
  margin: 0;
  line-height: 1.5;
}

/* ============================================================
   LIFESTYLE GALLERY
   ============================================================ */
.gallery {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  grid-template-rows: 300px 300px;
  gap: var(--sp-3);
}
.gallery__item {
  overflow: hidden;
  border-radius: var(--radius-lg);
  background-size: cover;
  background-position: center;
}
.gallery__item--big { grid-row: span 2; }

/* ============================================================
   REVIEWS / SOCIAL PROOF
   ============================================================ */
.reviews {
  text-align: center;
  background: var(--c-bg-soft);
  padding: var(--sp-9) 0;
}
.reviews__rating {
  display: inline-flex; align-items: center; gap: var(--sp-3);
  margin-bottom: var(--sp-2);
}
.reviews__stars { display: inline-flex; gap: 2px; color: var(--c-accent); }
.reviews__stars svg { width: 18px; height: 18px; fill: currentColor; }
.reviews__score {
  font-family: var(--ff-display);
  font-size: var(--fs-2xl);
  font-weight: 500;
}
.reviews__count {
  color: var(--c-text-soft);
  font-size: var(--fs-sm);
  margin-bottom: var(--sp-6);
}
.reviews__count-link {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color var(--t-base) var(--ease);
}
.reviews__count-link:hover { color: var(--c-text); }
.reviews__cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-5);
  margin-top: var(--sp-6);
}
.review-card {
  background: #fff;
  padding: var(--sp-5);
  border-radius: var(--radius-lg);
  text-align: left;
  border: 1px solid var(--c-border-soft);
}
.review-card__stars { display: flex; gap: 2px; color: var(--c-accent); margin-bottom: var(--sp-3); }
.review-card__stars svg { width: 14px; height: 14px; fill: currentColor; }
.review-card__title { font-weight: 600; font-size: var(--fs-base); margin-bottom: var(--sp-2); }
.review-card__text  { font-size: var(--fs-sm); color: var(--c-text-soft); line-height: 1.6; margin-bottom: var(--sp-4); }
.review-card__author { font-size: var(--fs-xs); color: var(--c-text-mute); display: flex; justify-content: space-between; }
.review-card__verified {
  display: inline-flex; align-items: center; gap: 4px;
  color: var(--c-success); font-size: 10px; font-weight: 600;
  letter-spacing: 0.06em; text-transform: uppercase;
}

/* ============================================================
   NEWSLETTER
   ============================================================ */
.newsletter {
  padding: var(--sp-9) 0;
  background: var(--c-bg-deep);
  color: #fff;
  text-align: center;
}
.newsletter h2 { color: #fff; margin-bottom: var(--sp-3); }
.newsletter p {
  color: rgba(255,255,255,0.7);
  max-width: 480px;
  margin: 0 auto var(--sp-6);
}
.newsletter__form {
  display: flex;
  max-width: 480px;
  margin: 0 auto;
  gap: var(--sp-2);
}
.newsletter__form input {
  flex: 1;
  padding: 16px var(--sp-4);
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.18);
  color: #fff;
  border-radius: var(--radius);
  font-size: var(--fs-sm);
}
.newsletter__form input::placeholder { color: rgba(255,255,255,0.45); }
.newsletter__form input:focus { outline: none; border-color: var(--c-accent); background: rgba(255,255,255,0.12); }
.newsletter__form button {
  background: var(--c-accent);
  color: #fff;
  padding: 16px 28px;
  font-size: var(--fs-sm);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 500;
  border-radius: var(--radius);
  transition: background var(--t-base) var(--ease);
  white-space: nowrap;
}
.newsletter__form button:hover { background: var(--c-accent-dark); }
.newsletter__note {
  font-size: var(--fs-xs);
  color: rgba(255,255,255,0.45);
  margin-top: var(--sp-4);
}
.newsletter__notice {
  background: rgba(255,255,255,0.08);
  color: #fff;
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 6px;
  padding: 12px 16px;
  font-size: var(--fs-sm);
  margin: 0 auto var(--sp-4);
  max-width: 520px;
  text-align: center;
}
.newsletter__notice--success {
  background: rgba(34,197,94,0.15);
  border-color: rgba(34,197,94,0.4);
  color: #d6f5e2;
}
.newsletter__notice--success strong { color: #fff; }
.newsletter__notice--error {
  background: rgba(239,68,68,0.15);
  border-color: rgba(239,68,68,0.4);
  color: #ffd6d6;
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: var(--c-bg-deep);
  color: rgba(255,255,255,0.7);
  padding: var(--sp-9) 0 var(--sp-6);
  border-top: 1px solid rgba(255,255,255,0.06);
}
.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr 1fr;
  gap: var(--sp-6);
  margin-bottom: var(--sp-8);
}
.footer__logo img { height: 36px; margin-bottom: var(--sp-4); }
.footer__about {
  font-size: var(--fs-sm);
  line-height: 1.7;
  max-width: 320px;
  margin-bottom: var(--sp-5);
}
.footer__col h6 {
  color: #fff;
  font-size: var(--fs-xs);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: var(--sp-4);
  font-weight: 600;
  font-family: var(--ff-body);
}
.footer__col ul { display: flex; flex-direction: column; gap: var(--sp-2); }
.footer__col a {
  font-size: var(--fs-sm);
  transition: color var(--t-base) var(--ease);
}
.footer__col a:hover { color: var(--c-accent); }
.footer__social {
  display: flex; gap: var(--sp-3);
}
.footer__social a {
  width: 42px; height: 42px;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 10px;
  color: #fff;
  transition: transform var(--t-base) var(--ease);
}
.footer__social a:hover { transform: scale(1.08); }
.footer__social svg {
  width: 42px;
  height: 42px;
}
.footer__bottom {
  display: flex; justify-content: space-between; align-items: center;
  padding-top: var(--sp-5);
  border-top: 1px solid rgba(255,255,255,0.08);
  font-size: var(--fs-xs);
  flex-wrap: wrap;
  gap: var(--sp-4);
}
.footer__payments { display: flex; gap: var(--sp-2); align-items: center; flex-wrap: wrap; }
.footer__payment-icon {
  width: 42px !important;
  height: 28px !important;
  max-width: none !important;
  padding: 4px 6px !important;
  background: #fff;
  border-radius: 4px;
  display: inline-block;
  object-fit: contain;
  box-sizing: border-box;
  margin: 0 !important;
  vertical-align: middle;
}

/* ============================================================
   MOBILE STICKY ADD-TO-CART (visible only on small product page)
   On home we just keep header sticky.
   ============================================================ */

/* ============================================================
   SKIP-TO-CONTENT (a11y, masqué sauf focus clavier)
   ============================================================ */
.skip-to-content {
  position: absolute;
  top: -100px;
  left: 8px;
  background: var(--c-text);
  color: #fff;
  padding: 10px 16px;
  text-decoration: none;
  border-radius: 6px;
  font-size: var(--fs-sm);
  font-weight: 500;
  z-index: 9999;
  transition: top 0.2s var(--ease);
}
.skip-to-content:focus {
  top: 8px;
  outline: 2px solid #fff;
  outline-offset: 2px;
}

/* ============================================================
   REVIEWS : titre de section + CTA "Voir les 107 avis"
   ============================================================ */
.reviews__title {
  font-family: var(--ff-display);
  font-size: var(--fs-3xl);
  font-weight: 500;
  line-height: 1.15;
  margin: var(--sp-2) 0 var(--sp-3);
  color: var(--c-text);
  text-align: center;
}
.reviews__cta {
  text-align: center;
  margin-top: var(--sp-5);
}
@media (max-width: 820px) {
  .reviews__title { font-size: var(--fs-2xl); }
}

/* ============================================================
   SEO BLOCK (texte référencement bas de home / catégories)
   ============================================================ */
.seo-block {
  background: var(--c-bg);
  padding: var(--sp-7) 0;
  border-top: 1px solid var(--c-border-soft);
}
.seo-block__title {
  font-family: var(--ff-display);
  font-size: var(--fs-3xl);
  font-weight: 500;
  line-height: 1.15;
  margin: 0 0 var(--sp-4);
  color: var(--c-text);
  text-align: center;
}
.seo-block__date {
  text-align: center;
  font-size: var(--fs-sm);
  color: var(--c-text-soft);
  margin: 0 0 var(--sp-4);
}
.seo-block__lead {
  font-size: var(--fs-lg);
  color: var(--c-text);
  line-height: 1.55;
  text-align: center;
  margin: 0 auto var(--sp-5);
  max-width: 720px;
}
.seo-block__content {
  font-size: var(--fs-base);
  color: var(--c-text);
  line-height: 1.7;
}
.seo-block__content p {
  margin: 0 0 var(--sp-3);
}
.seo-block__content p:last-child { margin-bottom: 0; }
/* Liens contextuels dans le guide d'achat (paragraphes, listes à puces, étapes).
   Soulignement or chaud pour rester sobre dans la charte bijouterie tout en
   restant clairement distinguable du texte (accessibilité WCAG 1.4.1). */
.seo-block p a,
.seo-block__bullets a,
.seo-block__steps a {
  color: var(--c-text);
  text-decoration: underline;
  text-decoration-color: var(--c-accent);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
  transition: color var(--t-base) var(--ease), text-decoration-color var(--t-base) var(--ease);
}
.seo-block p a:hover,
.seo-block__bullets a:hover,
.seo-block__steps a:hover {
  color: var(--c-accent-dark);
  text-decoration-color: var(--c-accent-dark);
}
.seo-block__content strong,
.seo-block__bullets strong,
.seo-block__steps strong { font-weight: 600; }

/* ============================================================
   SEO BLOCK : extensions (head, tldr, bullets, byline, placeholder)
   ============================================================ */
.seo-block__head {
  text-align: center;
  margin-bottom: var(--sp-5);
  padding-bottom: var(--sp-4);
  border-bottom: 1px solid var(--c-border-soft);
}
.seo-block__meta {
  font-size: var(--fs-sm);
  color: var(--c-text-soft);
  margin: var(--sp-2) 0 0;
}
.seo-block__tldr {
  background: var(--c-bg-soft);
  border-radius: 6px;
  padding: var(--sp-4);
  margin: 0 0 var(--sp-5);
}
.seo-block__tldr p { margin: 0; line-height: 1.6; }
.seo-block__bullets {
  margin: 0 0 var(--sp-3);
  padding-left: var(--sp-5);
  line-height: 1.7;
}
.seo-block__bullets li { margin-bottom: 10px; }
.seo-block__image-placeholder {
  background: #fffbeb;
  border: 2px dashed #f5b400;
  border-radius: 8px;
  padding: var(--sp-4);
  margin: var(--sp-4) 0;
  text-align: center;
  font-size: var(--fs-sm);
  color: #92400e;
  font-style: italic;
}
.seo-block__byline {
  margin-top: var(--sp-6);
  padding-top: var(--sp-4);
  border-top: 1px solid var(--c-border-soft);
  font-size: var(--fs-sm);
  color: var(--c-text-soft);
  line-height: 1.6;
  text-align: center;
}
.seo-block__byline strong { color: var(--c-text); font-weight: 500; }

/* ============================================================
   SEO BLOCK : figure (infographie) + h3 + tableau + steps
   ============================================================ */
.seo-block__figure {
  margin: var(--sp-5) 0;
  text-align: center;
}
.seo-block__figure img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
}
.seo-block__figure figcaption {
  margin-top: var(--sp-2);
  font-size: var(--fs-sm);
  color: var(--c-text-soft);
  font-style: italic;
}
.seo-block__h3 {
  font-family: var(--ff-display);
  font-size: var(--fs-2xl);
  font-weight: 500;
  margin: var(--sp-6) 0 var(--sp-3);
  color: var(--c-text);
}
.seo-block__steps {
  margin: 0 0 var(--sp-3);
  padding-left: var(--sp-5);
  line-height: 1.7;
}
.seo-block__steps li { margin-bottom: 8px; }

/* Tableau comparatif (responsive avec scroll horizontal au besoin) */
.seo-table-wrap {
  overflow-x: auto;
  margin: var(--sp-3) 0 var(--sp-5);
  border: 1px solid var(--c-border-soft);
  border-radius: 8px;
}
.seo-table {
  width: 100% !important;
  border-collapse: collapse !important;
  border-spacing: 0 !important;
  border: 0 !important;
  font-size: var(--fs-sm);
  min-width: 600px;
  margin: 0 !important;
}
.seo-table thead {
  background: var(--c-bg-soft);
  color: var(--c-text);
}
.seo-table th,
.seo-table td {
  padding: 12px 14px !important;
  text-align: left !important;
  border: 0 !important;
  border-bottom: 1px solid #e5e5e5 !important;
  border-right: 1px solid #e5e5e5 !important;
  vertical-align: top !important;
  line-height: 1.5 !important;
  background: transparent;
}
.seo-table th:last-child,
.seo-table td:last-child { border-right: 0 !important; }
.seo-table tbody tr:last-child th,
.seo-table tbody tr:last-child td { border-bottom: 0 !important; }
.seo-table thead th {
  font-weight: 600;
  font-size: var(--fs-xs);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--c-text-soft);
  background: var(--c-bg-soft);
}
.seo-table tbody th {
  font-family: var(--ff-display);
  font-weight: 500;
  color: var(--c-text);
}
.seo-table tbody tr:hover {
  background: var(--c-bg-soft);
}
.seo-table a {
  color: var(--c-text);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.seo-table a:hover { color: var(--c-accent-dark); }

@media (max-width: 820px) {
  .seo-block__h3 { font-size: var(--fs-xl); }
  .seo-table { font-size: 13px; }
  .seo-table th, .seo-table td { padding: 10px 12px; }
}

/* ============================================================
   FAQ BLOCK (questions/réponses dépliables — schema FAQPage)
   ============================================================ */
.faq-block {
  background: var(--c-bg-soft);
  padding: var(--sp-7) 0;
}
.faq-block__title {
  font-family: var(--ff-display);
  font-size: var(--fs-3xl);
  font-weight: 500;
  line-height: 1.15;
  margin: 0 0 var(--sp-5);
  color: var(--c-text);
  text-align: center;
}
.faq-block__list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.faq-item {
  background: #fff;
  border: 1px solid var(--c-border-soft);
  border-radius: 8px;
  overflow: hidden;
  transition: border-color var(--t-base) var(--ease);
}
.faq-item[open] { border-color: var(--c-text-soft); }
.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: var(--sp-4) var(--sp-5);
  font-weight: 500;
  font-size: var(--fs-base);
  color: var(--c-text);
  position: relative;
  padding-right: 48px;
  user-select: none;
  transition: background var(--t-base) var(--ease);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover { background: var(--c-bg-soft); }
.faq-item summary::after {
  content: '';
  position: absolute;
  right: var(--sp-5);
  top: 50%;
  width: 10px;
  height: 10px;
  border-right: 1.5px solid var(--c-text);
  border-bottom: 1.5px solid var(--c-text);
  transform: translateY(-70%) rotate(45deg);
  transition: transform var(--t-base) var(--ease);
}
.faq-item[open] summary::after {
  transform: translateY(-30%) rotate(-135deg);
}
.faq-item__body {
  padding: 0 var(--sp-5) var(--sp-4);
  color: var(--c-text);
  line-height: 1.65;
  font-size: var(--fs-base);
}
.faq-item__body p { margin: 0 0 10px; }
.faq-item__body p:last-child { margin-bottom: 0; }
.faq-item__body a {
  color: var(--c-text);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.faq-item__body a:hover { color: var(--c-accent-dark); }

@media (max-width: 820px) {
  .seo-block, .faq-block { padding: var(--sp-5) 0; }
  .seo-block__title, .faq-block__title { font-size: var(--fs-2xl); }
  .seo-block__lead { font-size: var(--fs-base); }
  .faq-item summary { padding: var(--sp-3) var(--sp-4); padding-right: 40px; font-size: var(--fs-sm); }
  .faq-item summary::after { right: var(--sp-4); }
  .faq-item__body { padding: 0 var(--sp-4) var(--sp-4); font-size: var(--fs-sm); }
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1100px) {
  .cat-grid     { grid-template-columns: repeat(6, 1fr); }
  .prod-grid    { grid-template-columns: repeat(3, 1fr); }
  .reviews__cards { grid-template-columns: repeat(2, 1fr); }
  .footer__grid { grid-template-columns: 1fr 1fr 1fr; }
}

/* En dessous de ~1024px, on bascule sur le menu burger même si on n'est pas en mobile :
   la nav 6 items + megamenu n'a pas assez de place pour rester propre. */
@media (max-width: 1024px) {
  .header__nav-desktop { display: none; }
  .menu-toggle { display: inline-flex; }
}

@media (max-width: 820px) {
  :root { --h-header: 64px; --fs-5xl: 56px; --fs-4xl: 40px; }
  /* Mobile header : burger (gauche) + logo (centre) + panier (droite) */
  .header__inner {
    grid-template-columns: auto 1fr auto;
    grid-template-areas: "menu logo icons";
  }
  .header__nav-left { grid-area: menu; justify-content: flex-start; }
  .header__logo { grid-area: logo; justify-self: center; }
  .header__nav-right { grid-area: icons; }
  .header__logo img { height: 36px !important; max-height: none; max-width: none; width: auto; }
  .header__nav-desktop { display: none; }
  .menu-toggle { display: inline-flex; }
  .header__nav-right .icon-btn[aria-label="Rechercher"],
  .header__nav-right .icon-btn[aria-label="Mon compte"] { display: none; }
  /* HERO MOBILE : image au-dessus, H1 en overlay sur l'image, reste en blanc en dessous */
  .hero {
    display: flex;
    flex-direction: column;
    grid-template-columns: none;
    position: relative;
    background: var(--c-bg);
    min-height: 0;
    overflow: hidden;
  }
  .hero__media {
    width: 100%;
    height: 38vh;
    min-height: 240px;
    max-height: 360px;
    position: relative;
    aspect-ratio: unset;
    order: -1;
  }
  .hero__media::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 35%, rgba(0,0,0,0.75) 100%);
    pointer-events: none;
  }
  .hero__content {
    background: var(--c-bg);
    padding: var(--sp-5) var(--sp-5) var(--sp-7);
    justify-content: flex-start;
  }
  .hero__content-inner { max-width: 100%; padding-top: 0; }
  /* H1 sort du flux et chevauche le bas de l'image */
  .hero__title {
    position: absolute;
    left: 0; right: 0;
    top: min(38vh, 360px);
    transform: translateY(-100%);
    padding: 0 var(--sp-5) var(--sp-4);
    margin: 0;
    color: #fff;
    text-shadow: 0 2px 14px rgba(0,0,0,0.5);
    z-index: 2;
  }
  .hero__title em { color: var(--c-accent); }
  .usp { padding: var(--sp-4) 0; border-bottom: none; overflow: hidden; }
  .usp .container { padding: 0; max-width: 100%; }
  .usp__grid {
    display: flex;
    gap: var(--sp-3);
    background: transparent;
    box-shadow: none;
    border-radius: 0;
    padding: 8px var(--sp-4);
    overflow-x: auto;
    overflow-y: hidden;
    scroll-behavior: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    width: auto;
    min-height: 0;
    grid-template-columns: none;
    animation: none;
  }
  .usp__grid::-webkit-scrollbar { display: none; }
  .usp__item {
    flex-shrink: 0;
    width: 200px;
    height: 180px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: #fff;
    border-radius: 10px;
    padding: var(--sp-5) var(--sp-4);
    box-shadow: 0 2px 14px rgba(0,0,0,0.06);
    border: none;
    gap: var(--sp-2);
  }
  .usp__icon {
    width: 32px;
    height: 32px;
    margin-bottom: var(--sp-2);
    color: var(--c-accent);
  }
  .usp__title {
    font-size: var(--fs-sm);
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    line-height: 1.3;
  }
  .usp__desc {
    font-size: 12px;
    color: var(--c-text-soft);
    line-height: 1.4;
  }
}
@keyframes uspScroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
@media (min-width: 821px) {
  /* Annulation sur desktop : grille statique 4 colonnes */
  .usp__grid { animation: none; }
}

@media (max-width: 820px) {
  .cat-grid     { grid-template-columns: repeat(2, 1fr); }
  .prod-grid    { grid-template-columns: repeat(2, 1fr); gap: var(--sp-5) var(--sp-3); }
  .story        { grid-template-columns: 1fr; gap: var(--sp-6); }
  .story__content { padding-right: 0; }
  .story__features { grid-template-columns: 1fr; gap: var(--sp-4); }
  .story__feature { align-items: center; gap: var(--sp-4); }
  .story__feature svg { width: 24px; height: 24px; margin-top: 0; }
  .gallery      {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 280px 200px 200px;
  }
  .gallery__item--big { grid-column: span 2; grid-row: auto; }
  .reviews__cards { grid-template-columns: 1fr; }
  .newsletter__form { flex-direction: column; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .section { padding: var(--sp-7) 0; }
  .section__head { margin-bottom: var(--sp-5); }
  .reviews { padding: var(--sp-7) 0; }
  .newsletter { padding: var(--sp-7) 0; }
  .footer { padding: var(--sp-7) 0 var(--sp-5); }
  .footer__grid { margin-bottom: var(--sp-6); }
}

@media (max-width: 820px) {
  /* Hero actions stacked vertically on mobile/tablet */
  .hero__actions {
    flex-direction: column;
    align-items: stretch;
    gap: var(--sp-3);
  }
  .hero__actions .btn-primary { width: 100%; justify-content: center; }
  .hero__actions .btn-ghost  {
    align-self: center;
    border-bottom: none;
    text-decoration: underline;
    text-underline-offset: 4px;
    padding: 4px 0;
  }
  /* Trust signals masqués sur mobile (redondants avec la trust bar du haut + le carousel USP) */
  .hero__trust { display: none !important; }
}

@media (max-width: 480px) {
  .hero__title { font-size: 40px; }
  .hero__proof { padding: 4px 10px; font-size: 11px; }
  .hero__offer { padding: 10px 12px; gap: var(--sp-2); }
  .usp__grid   { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; }
  .footer__bottom { flex-direction: column; text-align: center; }
}

/* ============================================================
   Free shipping micro-bar in header
   ============================================================ */
.ship-progress {
  display: none; /* shown only when cart has items */
}
