/* =====================================================================
   Golden Wine Shop — Démo statique
   Charte : Élégant & doré premium (bordeaux / noir profond / or)
   « Le vin qui vous fait confiance »
   ===================================================================== */

/* ------------------------------ Tokens ------------------------------ */
:root {
  --gold:        #C9A24A;
  --gold-light:  #E4C766;
  --gold-dark:   #a9832f;
  --bordeaux:    #7A1E2B;
  --bordeaux-dk: #5c1620;
  --ink:         #1a1416;   /* noir profond chaud (grandes bandes sombres) */
  --ink-soft:    #2a2226;

  /* PALETTE UNIFIÉE — les surfaces de base = valeurs prototype (une seule
     famille de blancs chauds sur tout le site : home + catalogue + fiche). */
  --cream:       #F8F3E9;   /* fond global (= --proto-page) */
  --cream-2:     #F2EADD;   /* palier panneau (= --proto-media) */
  --cream-3:     #E7DFD1;   /* crème maquette : segments/chips */
  --paper:       #FFFDF8;   /* carte / panneau (= --proto-paper) */
  --muted:       #6B5E4E;   /* texte secondaire (= --proto-soft) */
  --line:        #EBE1D0;   /* bord carte (= --proto-line) */

  /* Teintes chaudes prototype (.cat2 / .pdp2) — alignées sur la base. */
  --proto-page:   #F8F3E9;
  --proto-paper:  #FFFDF8;
  --proto-media:  #F2EADD;
  --proto-ink:    #2B1216;  /* titres (bandes sombres wine) */
  --proto-text:   #3A322A;  /* texte courant */
  --proto-soft:   #6B5E4E;  /* texte secondaire */
  --proto-muted:  #9A8B75;  /* labels / meta */
  --proto-gold:   #A9803F;  /* eyebrow doré */
  --proto-line:   #EBE1D0;  /* bord carte */
  --proto-line2:  #E2D7C4;  /* séparateurs */
  --proto-line3:  #D8CAB2;  /* bords contrôles */

  --serif: 'Cormorant Garamond', 'Cormorant', Georgia, 'Times New Roman', serif;
  --sans:  'Karla', 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;

  /* Échelle typographique resserrée (~4 pas) — discipline serif. */
  --fs-display: clamp(2.6rem, 6vw, 4.6rem);  /* hero h1 */
  --fs-h2:      clamp(2rem, 4.2vw, 3.1rem);  /* titres de section */
  --fs-h3:      1.5rem;                       /* titres de carte */
  --fs-num:     1.9rem;                       /* chiffres serif */

  --wrap: 1240px;
  --radius: 4px;
  --shadow: 0 18px 50px -20px rgba(0,0,0,.35);
  --shadow-sm: 0 8px 24px -14px rgba(0,0,0,.4);
  --t: .3s cubic-bezier(.22,.61,.36,1);
}

/* ------------------------------ Reset ------------------------------- */
*,*::before,*::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; overflow-x: hidden; max-width: 100%; }
body {
  font-family: var(--sans);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.65;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; height: auto; }
a { color: inherit; text-decoration: none; transition: color var(--t); }
ul { list-style: none; padding: 0; }
button { font-family: inherit; cursor: pointer; border: 0; background: none; }
h1,h2,h3,h4 { font-family: var(--serif); font-weight: 600; line-height: 1.12; letter-spacing: .2px; }

/* ---------------------------- Utilities ---------------------------- */
.wrap { width: min(var(--wrap), 92%); margin-inline: auto; }
.section { padding: clamp(3.5rem, 8vw, 6.5rem) 0; }
/* Densité & surfaces (fini les style= inline) */
.section--tight { padding: clamp(2.5rem, 5vw, 4rem) 0; }
.section--cream { background: var(--cream); }
.section--panel { background: var(--cream-2); }
.section--ink   { background: var(--ink); color: #fff; }
.section--wine  { background: linear-gradient(160deg, var(--proto-ink), var(--bordeaux-dk)); color: #fff; }

.eyebrow {
  font-family: var(--sans);
  font-size: .72rem; font-weight: 700; letter-spacing: .32em;
  text-transform: uppercase; color: var(--gold-dark);
  display: inline-flex; align-items: center; gap: .7rem;
}
.eyebrow::before { content:""; width: 28px; height: 1px; background: var(--gold); }

/* En-tête de section — deux variantes, un seul système */
.section-head { text-align: center; max-width: 640px; margin: 0 auto clamp(2rem,4vw,3.2rem); }
.section-head .eyebrow::before,
.section-head .eyebrow::after { content:""; width: 28px; height: 1px; background: var(--gold); }
.section-head .eyebrow { justify-content: center; }
.section-title { font-family: var(--serif); font-size: var(--fs-h2); font-weight: 500; color: var(--bordeaux); margin-top: .5rem; line-height: 1.08; }
.section-sub { color: var(--muted); margin-top: .75rem; font-size: 1.02rem; line-height: 1.6; }

/* Variante titre gauche + lien droite (rangées de cartes) */
.section-head--split { display: flex; align-items: flex-end; justify-content: space-between; gap: 1.5rem;
  text-align: left; max-width: none; margin: 0 0 clamp(2rem,4vw,3rem);
  padding-bottom: 1.6rem; border-bottom: 1px solid var(--proto-line2); flex-wrap: wrap; }
.section-head--split .section-title { margin-top: .4rem; }
.section-head--split .eyebrow { justify-content: flex-start; }
.section-head__link { font-size: .8rem; letter-spacing: .08em; text-transform: uppercase; color: var(--bordeaux); white-space: nowrap; align-self: flex-end; }
.section-head__link:hover { color: var(--gold-dark); }

/* Modificateur pour bandes sombres */
.section-head--onDark .section-title { color: #fff; }
.section-head--onDark .section-sub { color: rgba(255,255,255,.78); }
.section-head--onDark .eyebrow { color: var(--gold-light); }
.section-head--onDark .eyebrow::before, .section-head--onDark .eyebrow::after { background: var(--gold-light); }
.section-head--onDark .section-head__link { color: var(--gold-light); }
.section-cta { text-align: center; margin-top: clamp(2rem, 4vw, 2.8rem); }
.newsletter .box .eyebrow { justify-content: center; }

.btn {
  display: inline-flex; align-items: center; gap: .6rem;
  font-family: var(--sans); font-weight: 700; font-size: .82rem;
  letter-spacing: .12em; text-transform: uppercase;
  padding: .95rem 2rem; border-radius: var(--radius);
  transition: all var(--t); cursor: pointer; white-space: nowrap;
}
.btn-gold {
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  color: var(--ink); box-shadow: 0 10px 24px -12px rgba(201,162,39,.8);
}
.btn-gold:hover { transform: translateY(-2px); box-shadow: 0 16px 30px -12px rgba(201,162,39,.9); color: var(--ink); }
.btn-outline { border: 1.5px solid var(--gold); color: var(--gold-dark); }
.btn-outline:hover { background: var(--gold); color: var(--ink); }
.btn-ghost-light { border: 1.5px solid rgba(255,255,255,.5); color:#fff; }
.btn-ghost-light:hover { background:#fff; color: var(--bordeaux); }
.btn-block { width: 100%; justify-content: center; }

/* ------------------------- Announcement bar ------------------------ */
.topbar {
  background: var(--ink); color: var(--cream-2);
  font-size: .78rem; letter-spacing: .04em;
}
.topbar .wrap { display: flex; align-items: center; justify-content: space-between; min-height: 40px; gap: 1rem; }
.topbar strong { color: var(--gold-light); font-weight: 700; }
.topbar-msg { display: flex; align-items: center; gap: .5rem; }
.topbar-msg svg { color: var(--gold); }

/* 4 messages courts répartis sur la barre */
.topbar-strip { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: .5rem 2rem; min-height: 40px; }
.topbar-item { display: inline-flex; align-items: center; gap: .5rem; white-space: nowrap; }
.topbar-item svg { color: var(--gold); flex-shrink: 0; }
/* Mobile/tablette : les 4 messages défilent en boucle (1 seul visible à la
   fois, ~3 s chacun) — riche mais sans empiler ni déborder. */
@media (max-width: 860px) {
  .topbar-strip { flex-wrap: nowrap; justify-content: center; gap: 0; overflow: hidden; position: relative; height: 40px; }
  .topbar-item { position: absolute; left: 0; right: 0; justify-content: center; font-size: .78rem; gap: .4rem; opacity: 0; animation: topbarRotate 12s infinite; }
  .topbar-item:nth-child(1) { animation-delay: 0s; }
  .topbar-item:nth-child(2) { animation-delay: 3s; }
  .topbar-item:nth-child(3) { animation-delay: 6s; }
  .topbar-item:nth-child(4) { animation-delay: 9s; }
  .topbar-item.hide-sm { display: inline-flex; }   /* réintégrés dans la rotation */
}
@keyframes topbarRotate {
  0%, 2%   { opacity: 0; transform: translateY(6px); }
  6%, 23%  { opacity: 1; transform: translateY(0); }
  27%,100% { opacity: 0; transform: translateY(-6px); }
}
@media (prefers-reduced-motion: reduce) {
  /* Accessibilité : pas d'animation → on montre juste le 1er message. */
  @media (max-width: 860px) {
    .topbar-item { animation: none; opacity: 0; }
    .topbar-item:nth-child(1) { opacity: 1; }
  }
}
.lang-switch { display: flex; gap: .15rem; align-items: center; }
.lang-switch a { padding: .2rem .5rem; border-radius: 3px; color: var(--muted); font-weight: 700; font-size: .72rem; letter-spacing: .06em; }
.lang-switch a.active { color: var(--ink); background: var(--gold-light); }
.lang-switch a:hover { color: var(--gold-light); }
.lang-switch a.active:hover { color: var(--ink); }

/* ------------------------------ Header ----------------------------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(251,247,239,.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow var(--t);
}
.site-header.scrolled { box-shadow: var(--shadow-sm); }
.header-inner { display: flex; align-items: center; gap: 2rem; min-height: 82px; }
.logo { display: flex; align-items: center; gap: .85rem; margin-right: auto; }
/* Le logo Golden Wine est déjà une couronne dorée sur fond transparent :
   pas de cercle/fond derrière, on le laisse tel quel. */
.logo-mark {
  width: 66px; height: 66px;
  display: grid; place-items: center;
  flex-shrink: 0;
  filter: drop-shadow(0 3px 8px rgba(201,162,39,.28));
  transition: transform var(--t);
}
.logo:hover .logo-mark { transform: scale(1.05) rotate(-2deg); }
.logo-mark img { width: 100%; height: 100%; object-fit: contain; }
.logo-mark svg { width: 24px; height: 24px; }
.logo-text b { font-family: var(--serif); font-size: 1.7rem; color: var(--bordeaux); display:block; line-height: 1.02; letter-spacing: .5px; font-weight: 700; }
.logo-text span { font-family: var(--serif); font-size: .82rem; font-style: italic; letter-spacing: .01em; text-transform: none; color: var(--gold-dark); font-weight: 500; white-space: nowrap; }
@media (max-width: 480px) {
  .logo-mark { width: 54px; height: 54px; }
  .logo-text b { font-size: 1.4rem; }
  .logo-text span { font-size: .72rem; }
}
/* Slogan logo — curseur clignotant pendant la frappe (machine à écrire). */
.logo-slogan { display: inline-block; min-height: 1em; }
.logo-slogan.is-typing::after {
  content: '';
  display: inline-block;
  width: 2px; height: 1em;
  margin-left: 1px;
  background: var(--gold-dark);
  vertical-align: -.12em;
  animation: logoCaret .7s steps(1) infinite;
}
@keyframes logoCaret { 50% { opacity: 0; } }

.nav { display: flex; gap: 2rem; }
.nav > a, .nav > .has-mega > a { font-size: .82rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-soft); position: relative; padding: .3rem 0; display: inline-flex; align-items: center; gap: .35rem; }
.nav > a::after, .nav > .has-mega > a::after { content:""; position:absolute; left:0; bottom:-2px; width:0; height:2px; background: var(--gold); transition: width var(--t); }
.nav > a:hover, .nav > a.active, .nav > .has-mega > a:hover, .nav > .has-mega.active > a { color: var(--bordeaux); }
.nav > a:hover::after, .nav > a.active::after, .nav > .has-mega:hover > a::after, .nav > .has-mega.active > a::after { width: 100%; }
.nav .caret { width: 12px; height: 12px; transition: transform var(--t); }
.nav .has-mega:hover .caret { transform: rotate(180deg); }

/* ------------------------- Méga-menu ------------------------------- */
.has-mega { position: static; }               /* le panneau s'étend sur toute la largeur */
.mega {
  position: absolute; left: 0; right: 0; top: 100%;
  background: var(--paper); border-top: 1px solid var(--line);
  box-shadow: 0 24px 40px -18px rgba(0,0,0,.28);
  opacity: 0; visibility: hidden; transform: translateY(10px);
  transition: opacity var(--t), transform var(--t), visibility var(--t);
  z-index: 55;
}
.has-mega:hover .mega, .has-mega:focus-within .mega { opacity: 1; visibility: visible; transform: translateY(0); }
.mega-inner { width: min(var(--wrap), 92%); margin-inline: auto; display: grid; grid-template-columns: 1fr 1fr 1.7fr; gap: 3rem; padding: 2.6rem 0 2.8rem; }
.mega-col h5 { font-family: var(--sans); font-size: .72rem; letter-spacing: .16em; text-transform: uppercase; color: var(--gold-dark); margin-bottom: 1rem; padding-bottom: .6rem; border-bottom: 1px solid var(--line); }
.mega-col ul { display: grid; gap: .1rem; }
.mega-col li a { display: flex; align-items: center; justify-content: space-between; padding: .5rem .6rem; margin: 0 -.6rem; border-radius: var(--radius); font-size: .95rem; color: var(--ink-soft); font-weight: 500; transition: all var(--t); }
.mega-col li a:hover { background: var(--cream-2); color: var(--bordeaux); padding-left: 1rem; }
.mega-col li a .flag { margin-right: .55rem; }
.mega-col li a .m-count { color: var(--muted); font-size: .78rem; font-weight: 400; }
.mega-col .see-all { color: var(--gold-dark); font-weight: 700; font-size: .82rem; letter-spacing: .04em; }
.mega-col .see-all:hover { color: var(--bordeaux); }
.mega-promo { position: relative; border-radius: var(--radius); overflow: hidden; color:#fff; display: flex; align-items: flex-end; min-height: 260px; transition: transform var(--t); }
.mega-promo:hover { transform: scale(1.01); }
.mega-promo:hover img { transform: scale(1.06); }
.mega-promo img { transition: transform .5s cubic-bezier(.22,.61,.36,1); }
.mega-promo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.mega-promo::after { content:""; position:absolute; inset:0; background: linear-gradient(to top, rgba(58,12,22,.9) 12%, rgba(58,12,22,.15) 70%); }
.mega-promo-body { position: relative; z-index: 2; padding: 1.8rem; }
.mega-promo .tagline { font-size: .72rem; letter-spacing: .16em; text-transform: uppercase; color: var(--gold-light); font-weight: 700; }
.mega-promo h4 { font-size: 1.6rem; margin: .35rem 0 .5rem; line-height: 1.15; }
.mega-promo-price { display: block; color: var(--gold-light); font-weight: 700; font-size: .95rem; margin-bottom: 1rem; }
.mega-promo .btn { padding: .6rem 1.2rem; font-size: .72rem; }

.header-actions { display: flex; align-items: center; gap: .35rem; }
.icon-btn {
  width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center;
  color: var(--ink-soft); position: relative; transition: all var(--t);
}
.icon-btn:hover { background: var(--cream-2); color: var(--bordeaux); }
.icon-btn svg { width: 20px; height: 20px; }
.badge {
  position: absolute; top: 4px; right: 4px; min-width: 17px; height: 17px; padding: 0 4px;
  background: var(--bordeaux); color:#fff; border-radius: var(--radius); font-size: .62rem; font-weight: 800;
  display: grid; place-items: center; font-family: var(--sans);
}
.burger { display: none; }

/* ------------------------------- Hero ------------------------------ */
.hero {
  position: relative; color: #fff; overflow: hidden;
  background: linear-gradient(105deg, var(--bordeaux-dk) 0%, var(--bordeaux) 45%, #8f2635 100%);
}
.hero::before {
  content:""; position:absolute; inset:0;
  background: url('../img/hero-bg.webp') center/cover no-repeat;
  opacity: .22; mix-blend-mode: luminosity;
}
.hero::after {
  content:""; position:absolute; inset:0;
  background:
    linear-gradient(94deg, rgba(35,14,17,.55) 0%, rgba(35,14,17,.14) 44%, transparent 72%),
    radial-gradient(ellipse at 80% 20%, rgba(201,162,39,.28), transparent 55%);
}
.hero-inner { position: relative; z-index: 2; display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(3rem,5vw,5rem); align-items: center; padding: clamp(3rem,5.5vw,4.6rem) 0; }
/* Rythme vertical intentionnel de la colonne de gauche */
.hero-copy { display: flex; flex-direction: column; align-items: flex-start; gap: clamp(.9rem,2vw,1.35rem); }
/* Eyebrow doré (fil conducteur commun à toutes les sections) */
.hero-badge {
  display: inline-flex; align-items: center; gap: .7rem; margin-bottom: 0;
  font-family: var(--sans); font-size: .72rem; letter-spacing: .28em; text-transform: uppercase;
  color: var(--gold-light); font-weight: 700; border: 0; padding: 0;
}
.hero-badge::before { content:""; width: 34px; height: 1px; background: var(--gold); }
/* Variante empilée : filet doré + deux lignes (bienvenue / sous-titre). */
.hero-badge--stacked { align-items: center; }
.hero-badge__lines { display: flex; flex-direction: column; gap: .18em; line-height: 1.25; }
.hero-badge__welcome { color: var(--gold); }
.hero-badge__sub { color: var(--gold-light); opacity: .92; }
.hero h1 { font-size: var(--fs-display); line-height: .98; letter-spacing: -.01em; }
.hero h1 em { font-style: italic; color: var(--gold-light); }
.hero-cta { margin-top: clamp(.4rem,1.4vw,1rem); }
.hero-slogan {
  font-family: var(--serif); font-style: italic; font-size: clamp(1.3rem,2.6vw,1.9rem);
  margin: 0;
  /* Reflet doré « or liquide » qui balaie le texte en boucle. */
  color: var(--gold-light);
  background: linear-gradient(
    100deg,
    var(--gold-dark) 0%,
    var(--gold-light) 35%,
    #fff8e1 50%,
    var(--gold-light) 65%,
    var(--gold-dark) 100%
  );
  background-size: 220% auto;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  animation: sloganShimmer 5s linear infinite;
}
@keyframes sloganShimmer {
  0%   { background-position: 180% center; }
  100% { background-position: -80% center; }
}
@media (prefers-reduced-motion: reduce) {
  .hero-slogan { animation: none; -webkit-text-fill-color: var(--gold-light); color: var(--gold-light); }
}
.hero p.lead { color: rgba(255,255,255,.82); font-size: 1.08rem; max-width: 46ch; margin: 0; }
.hero-cta { display: flex; gap: 1rem; flex-wrap: wrap; }
.hero-figure { position: relative; }
.hero-figure img { border-radius: var(--radius); box-shadow: var(--shadow); border: 4px solid rgba(228,199,102,.3); }
/* Carte « en vedette » — cadre or fin, chevauche le visuel (détail designer). */
.hero-featured-card {
  position: absolute; right: -12px; bottom: -12px; z-index: 5;
  display: flex; flex-direction: column; gap: .3rem;
  width: min(238px, 64%); padding: 1rem 1.15rem;
  background: rgba(248,243,233,.97); border-radius: var(--radius);
  border: 1px solid rgba(228,199,102,.55);
  box-shadow: 0 18px 38px -16px rgba(43,18,22,.65);
  color: var(--ink); backdrop-filter: blur(2px);
  transition: transform var(--t), box-shadow var(--t);
}
.hero-featured-card:hover { transform: translateY(-3px); box-shadow: 0 20px 40px -14px rgba(43,18,22,.7); color: var(--ink); }
.hero-featured-card__eyebrow { font-size: .62rem; letter-spacing: .18em; text-transform: uppercase; color: var(--gold-dark); font-weight: 700; }
.hero-featured-card__name { font-family: var(--serif); font-size: 1.18rem; line-height: 1.15; color: var(--bordeaux); }
.hero-featured-card__price { font-family: var(--serif); font-size: 1.35rem; font-weight: 700; color: var(--bordeaux); }
.hero-featured-card__price small { font-size: .72rem; color: var(--muted); font-weight: 400; }
.hero-trust { display: flex; gap: 2.2rem; margin-top: clamp(1.4rem,3vw,2.2rem); padding-top: 1.8rem; border-top: 1px solid rgba(255,255,255,.14); }
.hero-trust div + div { border-left: 1px solid rgba(255,255,255,.14); padding-left: 2.2rem; }
.hero-trust b { font-family: var(--serif); font-size: var(--fs-num); color: var(--gold-light); display: block; line-height: 1; }
.hero-trust span { font-size: .78rem; color: rgba(255,255,255,.7); letter-spacing: .04em; }


/* ---------------------------- Categories --------------------------- */
.cat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.4rem; }
.cat-card {
  position: relative; border-radius: var(--radius); overflow: hidden; aspect-ratio: 3/4;
  display: flex; align-items: flex-end; color: #fff; box-shadow: var(--shadow-sm);
}
.cat-card img { position:absolute; inset:0; width:100%; height:100%; object-fit: cover; transition: transform .6s ease; }
.cat-card::after { content:""; position:absolute; inset:0; background: linear-gradient(to top, rgba(30,10,14,.85) 8%, transparent 60%); }
.cat-card:hover img { transform: scale(1.07); }
.cat-card-body { position: relative; z-index: 2; padding: 1.5rem; width: 100%; }
.cat-card h3 { font-size: 1.5rem; }
.cat-card span { font-size: .78rem; color: var(--gold-light); letter-spacing: .1em; text-transform: uppercase; }
.cat-card .arrow { margin-top: .6rem; display: inline-flex; align-items: center; gap: .4rem; font-size: .8rem; font-weight: 700; opacity: 0; transform: translateX(-6px); transition: all var(--t); }
.cat-card:hover .arrow { opacity: 1; transform: translateX(0); }

/* --------------------------- Product grid -------------------------- */
.product-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.6rem; }
.product-grid.cols-3 { grid-template-columns: repeat(3,1fr); }
.product-grid.cols-4 { grid-template-columns: repeat(4,1fr); }
.product-card {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
  display: flex; flex-direction: column; transition: transform var(--t), box-shadow var(--t), border-color var(--t); position: relative;
}
.product-card:hover { transform: translateY(-8px); box-shadow: 0 26px 50px -24px rgba(58,12,22,.4); border-color: var(--gold); }

/* Zone visuelle : dégradé chaud + halo doux, pour poser la bouteille (fini le blanc plat). */
.product-media {
  position: relative; aspect-ratio: 3 / 4; overflow: hidden;
  background:
    radial-gradient(120% 90% at 50% 118%, rgba(201,162,39,.14), transparent 60%),
    linear-gradient(170deg, #fffdf9 0%, var(--cream) 55%, var(--cream-2) 100%);
}
/* Ombre portée douce sous la bouteille. */
.product-media::after {
  content: ''; position: absolute; left: 50%; bottom: 8%; transform: translateX(-50%);
  width: 55%; height: 14px; border-radius: 50%;
  background: radial-gradient(ellipse, rgba(26,20,22,.22), transparent 70%);
  filter: blur(3px); opacity: .8; transition: opacity var(--t), transform var(--t);
}
.product-card:hover .product-media::after { opacity: 1; transform: translateX(-50%) scale(1.08); }
.product-media img {
  position: relative; z-index: 1;
  width: 100%; height: 100%; object-fit: contain; padding: 1.6rem 1.2rem 1.9rem;
  mix-blend-mode: multiply;               /* fond blanc des visuels fondu dans le dégradé */
  transition: transform .55s cubic-bezier(.22,.61,.36,1);
}
.product-card:hover .product-media img { transform: scale(1.07) translateY(-4px); }

.ribbon {
  position: absolute; top: .9rem; left: .9rem; z-index: 3;
  background: var(--bordeaux); color:#fff; font-size: .66rem; font-weight: 800;
  letter-spacing: .1em; text-transform: uppercase; padding: .4rem .75rem; border-radius: 999px;
  box-shadow: 0 6px 14px -6px rgba(90,18,32,.7);
}
.ribbon.gold { background: linear-gradient(135deg,var(--gold),var(--gold-dark)); color: var(--ink); box-shadow: 0 6px 14px -6px rgba(201,162,39,.8); }
/* Badge type (couleur du vin) — coin bas-gauche, distinct du ribbon statut (haut-gauche). */
.ribbon--type {
  position: absolute; bottom: .8rem; left: .8rem; top: auto; z-index: 3;
  background: rgba(255,253,248,.92); color: var(--ink-soft);
  font-size: .62rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  padding: .35rem .7rem; border-radius: 999px; border: 1px solid var(--line);
  box-shadow: 0 4px 12px -6px rgba(0,0,0,.25);
}
.wish {
  position: absolute; top: .8rem; right: .8rem; z-index: 3; width: 38px; height: 38px; border-radius: 50%;
  background: rgba(255,255,255,.9); display: grid; place-items: center; color: var(--bordeaux);
  opacity: 0; transform: translateY(-6px); transition: all var(--t); box-shadow: var(--shadow-sm);
}
.product-card:hover .wish { opacity: 1; transform: translateY(0); }
.wish:hover { background: var(--bordeaux); color:#fff; }

.product-body { padding: 1.3rem 1.4rem 1.5rem; display: flex; flex-direction: column; flex: 1; border-top: 1px solid var(--line); }
.product-region { font-size: .68rem; letter-spacing: .18em; text-transform: uppercase; color: var(--gold-dark); font-weight: 800; }
.product-name {
  font-family: var(--serif); font-size: 1.32rem; font-weight: 600; line-height: 1.2;
  color: var(--ink); margin: .35rem 0 .3rem;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
  min-height: 2.4em;                      /* 2 lignes -> grille alignée */
}
.product-name a { transition: color var(--t); }
.product-name a:hover { color: var(--bordeaux); }
.product-meta { font-size: .84rem; color: var(--muted); font-style: italic; }
/* Note courte (short_description) sur la vignette catalogue. */
.product-note { font-size: .86rem; line-height: 1.5; color: var(--ink-soft); margin: .55rem 0 0;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.stars { color: var(--gold); font-size: .85rem; letter-spacing: 1px; margin: .5rem 0; }
.stars small { color: var(--muted); margin-left: .3rem; letter-spacing: normal; }

.product-foot { margin-top: auto; display: flex; align-items: flex-end; justify-content: space-between; gap: .8rem; padding-top: 1rem; margin-top: 1rem; border-top: 1px solid var(--line); }
.price { font-family: var(--serif); font-size: 1.7rem; font-weight: 700; color: var(--bordeaux); line-height: 1; display: flex; flex-direction: column; }
.price small { font-size: .72rem; color: var(--muted); font-weight: 600; font-family: var(--sans); letter-spacing: .02em; margin-top: .2rem; }
.price del { font-size: .95rem; color: var(--muted); font-weight: 400; margin-right: .4rem; }
.add-btn {
  width: 48px; height: 48px; border-radius: 50%;
  background: linear-gradient(135deg, var(--ink), var(--ink-soft)); color: var(--gold-light);
  display: grid; place-items: center; transition: all var(--t); flex-shrink: 0;
  box-shadow: 0 8px 18px -8px rgba(26,20,22,.6);
}
.add-btn:hover { background: linear-gradient(135deg, var(--gold), var(--gold-dark)); color: var(--ink); transform: rotate(90deg) scale(1.08); }
.add-btn svg { width: 20px; height: 20px; }

/* --------------------------- Split feature -------------------------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem,5vw,4.5rem); align-items: center; }
.split-media img { border-radius: var(--radius); box-shadow: var(--shadow); }
.split-media { position: relative; }
.split-media .tag {
  position: absolute; bottom: -22px; left: -22px; background: var(--bordeaux); color:#fff;
  padding: 1.2rem 1.6rem; border-radius: var(--radius); box-shadow: var(--shadow); text-align: center;
}
.split-media .tag b { font-family: var(--serif); font-size: 2.2rem; color: var(--gold-light); display: block; line-height: 1; }
.split-media .tag span { font-size: .74rem; letter-spacing: .1em; text-transform: uppercase; }
.split ul.checks { margin: 1.6rem 0 2rem; display: grid; gap: .9rem; }
.split ul.checks li { display: flex; gap: .8rem; align-items: flex-start; }
.split ul.checks svg { color: var(--gold-dark); flex-shrink: 0; margin-top: 3px; }
.split ul.checks b { display: block; }
.split ul.checks p { color: var(--muted); font-size: .92rem; }

/* ------------------------ Expédition / Livraison ------------------------ */
.ship { background: linear-gradient(180deg, var(--cream) 0%, var(--cream-2) 100%); }
.ship-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; margin-top: 2.6rem; align-items: stretch; }
.ship-card { position: relative; display: flex; flex-direction: column; gap: .7rem; padding: 2.2rem 1.9rem;
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius);
  transition: transform var(--t), box-shadow var(--t), border-color var(--t); }
.ship-card:hover { transform: translateY(-4px); box-shadow: 0 26px 50px -28px rgba(58,12,22,.35); border-color: var(--gold); }
.ship-card__icon { width: 56px; height: 56px; border-radius: var(--radius); display: grid; place-items: center; margin-bottom: .3rem;
  background: linear-gradient(135deg, rgba(201,162,74,.16), rgba(201,162,74,.05)); color: var(--gold-dark); }
.ship-card__icon svg { width: 28px; height: 28px; }
.ship-card__title { font-family: var(--serif); font-size: 1.5rem; color: var(--bordeaux); margin: 0; line-height: 1.15; }
.ship-card__text { color: var(--ink-soft); font-size: .96rem; line-height: 1.6; margin: 0; flex: 1; }
.ship-card__meta { font-size: .82rem; color: var(--muted); letter-spacing: .01em; padding-top: .5rem; border-top: 1px solid var(--line); }
/* Carte mise en avant : paiement après réception */
.ship-card--feature { background: linear-gradient(160deg, var(--bordeaux-dk), var(--bordeaux)); border-color: var(--bordeaux-dk); color: #fff; }
.ship-card--feature .ship-card__icon { background: rgba(228,199,102,.16); color: var(--gold-light); }
.ship-card--feature .ship-card__title { color: #fff; }
.ship-card--feature .ship-card__text { color: rgba(255,255,255,.85); }
.ship-card--feature:hover { border-color: var(--gold); box-shadow: 0 26px 50px -24px rgba(58,12,22,.6); }
.ship-card__badge { align-self: flex-start; display: inline-flex; align-items: center; gap: .4rem; margin-top: .3rem;
  padding: .4rem .8rem; border-radius: 999px; background: rgba(228,199,102,.18); border: 1px solid rgba(228,199,102,.4);
  color: var(--gold-light); font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; font-weight: 700; }
.ship-note { text-align: center; max-width: 640px; margin: 2.2rem auto 0; color: var(--muted); font-size: .95rem; }
@media (max-width: 900px) { .ship-grid { grid-template-columns: 1fr; max-width: 460px; margin-left: auto; margin-right: auto; } }

/* (Les en-têtes home utilisent désormais .section-head--split / __link ci-dessus.) */

/* ------------------------ Home : par couleur ------------------------ */
.home-colours { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.4rem; }
.colour-card { position: relative; display: block; aspect-ratio: 4/5; overflow: hidden; background: var(--proto-media); border-radius: 4px; }
.colour-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 40%;
  transition: transform .6s cubic-bezier(.22,.61,.36,1); }
.colour-card:hover img { transform: scale(1.06); }
.colour-card__shade { position: absolute; inset: 0; background: linear-gradient(to top, rgba(30,11,14,.82) 0%, rgba(30,11,14,.12) 52%, transparent 100%); }
.colour-card__body { position: absolute; left: 22px; right: 22px; bottom: 22px; display: flex; flex-direction: column; gap: 5px; }
.colour-card__label { font-family: var(--serif); font-size: 1.9rem; color: #F8F3E9; line-height: 1; }
.colour-card__count { font-size: .74rem; letter-spacing: .14em; text-transform: uppercase; color: rgba(248,243,233,.75); }

/* ------------------------ Home : régions / terroirs ------------------------ */
.home-regions { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--proto-line2); border: 1px solid var(--proto-line2); }
.region-card { display: flex; flex-direction: column; gap: .8rem; padding: 2.2rem 2rem; background: var(--proto-paper); min-height: 280px;
  transition: background var(--t); }
.region-card:hover { background: #EFE4D2; }
.region-card__country { font-family: var(--serif); font-size: .9rem; letter-spacing: .2em; text-transform: uppercase; color: var(--proto-gold); }
.region-card__name { font-family: var(--serif); font-size: 2rem; line-height: 1.08; color: var(--proto-ink); }
.region-card__rule { width: 34px; height: 1px; background: var(--gold); }
.region-card__desc { font-size: .92rem; line-height: 1.6; color: var(--proto-soft); }
.region-card__meta { font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: var(--bordeaux); margin-top: auto; }

@media (max-width: 1080px) { .home-colours, .home-regions { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px)  { .home-colours { grid-template-columns: 1fr 1fr; gap: .8rem; } .home-regions { grid-template-columns: 1fr; }
  .colour-card__label { font-size: 1.4rem; } }

/* ------------------------ Home : accords mets-vins ------------------------ */
.home-pairings { display: grid; grid-template-columns: 1fr 320px; gap: 3.5rem; align-items: center;
  background: linear-gradient(160deg, var(--bordeaux-dk), var(--bordeaux)); padding: 3.4rem 3.4rem; border-radius: 4px; }
.home-pairings__copy { display: flex; flex-direction: column; gap: 1.1rem; }
.home-pairings__chips { display: flex; flex-wrap: wrap; gap: .6rem; padding-top: .4rem; }
.dish-chip { display: inline-flex; align-items: center; height: 42px; padding: 0 18px; border: 1px solid rgba(248,243,233,.28);
  color: rgba(248,243,233,.9); font-size: .85rem; transition: border-color var(--t), color var(--t), background var(--t); }
.dish-chip:hover { border-color: var(--gold-light); color: var(--bordeaux-dk); background: var(--gold-light); }
.home-pairings__media { width: 320px; height: 440px; overflow: hidden; background: #1E0B0E; }
.home-pairings__media img { width: 100%; height: 100%; object-fit: cover; object-position: center 55%; }

@media (max-width: 860px) {
  .home-pairings { grid-template-columns: 1fr; gap: 2rem; padding: 2.4rem; }
  .home-pairings__media { width: 100%; height: 260px; }
}

/* ------------------------------ Bandeau ---------------------------- */
.cta-band { background: linear-gradient(105deg, var(--bordeaux-dk), var(--bordeaux)); color:#fff; position: relative; overflow: hidden; }
.cta-band::after { content:""; position:absolute; inset:0; background: radial-gradient(circle at 15% 50%, rgba(201,162,39,.25), transparent 45%); }
.cta-band .wrap { position: relative; z-index: 2; display: flex; align-items: center; justify-content: space-between; gap: 2rem; flex-wrap: wrap; padding: clamp(2.5rem,5vw,3.5rem) 0; }
.cta-band h2 { font-size: clamp(1.8rem,3.5vw,2.6rem); }
.cta-band h2 em { color: var(--gold-light); font-style: italic; }
.cta-band p { color: rgba(255,255,255,.8); margin-top: .5rem; }

/* --------------------------- Testimonials -------------------------- */
.testi { background: var(--ink) url('../img/testimonial-bg.jpg') center/cover; background-blend-mode: multiply; color:#fff; position: relative; }
.testi::before { content:""; position:absolute; inset:0; background: rgba(20,12,14,.86); }
.testi .wrap { position: relative; z-index: 2; }
.testi-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 1.5rem; }
.testi-card { background: rgba(255,255,255,.04); border: 1px solid rgba(228,199,102,.18); border-radius: var(--radius); padding: 2rem; }
.testi-card .stars { margin-bottom: 1rem; }
.testi-card blockquote { font-family: var(--serif); font-size: 1.15rem; font-style: italic; line-height: 1.5; color: var(--cream); }
.testi-author { display: flex; align-items: center; gap: .8rem; margin-top: 1.4rem; }
.testi-author .av { width: 44px; height: 44px; border-radius: 50%; background: var(--gold); color: var(--bordeaux-dk); display: grid; place-items: center; font-weight: 800; font-family: var(--serif); }
.testi-author b { display: block; }
.testi-author span { font-size: .8rem; color: var(--muted); }

/* Carrousel d'avis (home, sur fond sombre .testi) */
.rev-carousel { position: relative; }
.rev-carousel__head { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-bottom: 1.8rem; }
.rev-carousel__title { font-family: var(--serif); font-size: clamp(1.9rem, 3.4vw, 2.6rem); color: #fff; margin: 0; }
.rev-carousel__nav { display: flex; gap: .6rem; }
.rev-carousel__arrow { width: 46px; height: 46px; border-radius: 50%; border: 1px solid rgba(228,199,102,.4);
  background: rgba(255,255,255,.05); color: var(--gold-light); display: grid; place-items: center; cursor: pointer;
  transition: background var(--t), border-color var(--t), transform var(--t); }
.rev-carousel__arrow:hover { background: var(--gold); border-color: var(--gold); color: var(--bordeaux-dk); transform: translateY(-2px); }
.rev-carousel__arrow svg { width: 20px; height: 20px; }

.rev-track { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 2 * 1.6rem) / 3);
  gap: 1.6rem; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth;
  padding-bottom: .5rem; scrollbar-width: none; }
.rev-track::-webkit-scrollbar { display: none; }
.rev-slide { scroll-snap-align: start; background: rgba(255,255,255,.06); border: 1px solid rgba(228,199,102,.18);
  border-radius: var(--radius); padding: 1.8rem 1.7rem; display: flex; flex-direction: column; gap: 1rem; min-height: 220px; }
.rev-slide__stars { color: var(--gold-light); font-size: 1rem; letter-spacing: 2px; }
.rev-slide__body { font-family: var(--serif); font-style: italic; font-size: 1.18rem; line-height: 1.5; color: var(--cream); margin: 0; flex: 1; }
.rev-slide__author { display: flex; align-items: center; gap: .85rem; margin-top: auto; }
.rev-slide__avatar { width: 46px; height: 46px; border-radius: 50%; flex: none; display: grid; place-items: center;
  background: linear-gradient(135deg, var(--gold), var(--gold-dark)); color: var(--bordeaux-dk);
  font-family: var(--serif); font-weight: 800; font-size: 1.05rem; }
.rev-slide__meta { display: flex; flex-direction: column; line-height: 1.3; }
.rev-slide__meta b { color: #fff; font-size: 1rem; }              /* nom LISIBLE */
.rev-slide__meta span { font-size: .8rem; color: rgba(255,255,255,.65); }
.rev-carousel__dots { display: flex; gap: .5rem; justify-content: center; margin-top: 1.6rem; }
.rev-carousel__dots button { width: 9px; height: 9px; border-radius: 50%; border: 0; padding: 0; cursor: pointer;
  background: rgba(255,255,255,.28); transition: all var(--t); }
.rev-carousel__dots button.is-active { background: var(--gold-light); width: 26px; border-radius: var(--radius); }
@media (max-width: 900px) { .rev-track { grid-auto-columns: calc((100% - 1.6rem) / 2); } }
@media (max-width: 640px) { .rev-track { grid-auto-columns: 88%; } .rev-carousel__head { flex-wrap: wrap; } }

/* --------------------------- Newsletter ---------------------------- */
.newsletter { background: var(--cream-2); }
.newsletter .box { text-align: center; max-width: 620px; margin: 0 auto; }
.news-form { display: flex; gap: .6rem; margin-top: 1.5rem; }
.news-form input { flex: 1; padding: 1rem 1.2rem; border: 1.5px solid #cfc7ba; border-radius: var(--radius); font-family: inherit; font-size: 1rem; background: #fafafa; transition: border-color var(--t), box-shadow var(--t); }
.news-form input::placeholder { color: #b8ab9d; }
.news-form input:hover { border-color: var(--gold-dark); background:#fff; }
.news-form input:focus { outline: none; border-color: var(--gold); background:#fff; box-shadow: 0 0 0 3px rgba(201,162,39,.22); }

/* ------------------------------ Footer ----------------------------- */
.site-footer { background: var(--ink); color: var(--cream-2); padding-top: clamp(3rem,6vw,4.5rem); }
.footer-top { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 2.5rem; padding-bottom: 3rem; border-bottom: 1px solid rgba(255,255,255,.08); }
.footer-brand .logo-text b { color: #fff; }
.footer-brand .logo-text span { color: var(--gold-light); }
.footer-brand p { color: var(--muted); font-size: .92rem; margin-top: 1rem; max-width: 34ch; }
.footer-social { display: flex; gap: .6rem; margin-top: 1.4rem; }
.footer-social a { width: 40px; height: 40px; border-radius: 50%; border: 1px solid rgba(228,199,102,.3); display: grid; place-items: center; color: var(--gold-light); transition: all var(--t); }
.footer-social a:hover { background: var(--gold); color: var(--ink); border-color: var(--gold); }
.footer-col h4 { color: #fff; font-size: 1.05rem; margin-bottom: 1.2rem; }
.footer-col ul { display: grid; gap: .7rem; }
.footer-col a { color: var(--muted); font-size: .9rem; }
.footer-col a:hover { color: var(--gold-light); }
.footer-contact li { display: flex; gap: .7rem; align-items: flex-start; color: var(--muted); font-size: .9rem; margin-bottom: .8rem; }
.footer-contact svg { color: var(--gold); flex-shrink: 0; margin-top: 3px; width: 18px; height: 18px; }
/* « Contact » présenté comme un titre de rubrique (semi-gras) */
.footer-contact-title { font-weight: 600; color: var(--cream-2); letter-spacing: .02em; }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; padding: 1.6rem 0 .6rem; font-size: .82rem; color: var(--muted); flex-wrap: wrap; gap: 1rem; }
.footer-credit { padding-bottom: 1.4rem; font-size: .76rem; color: var(--muted); opacity: .75; letter-spacing: .01em; }
.footer-bottom a { color: var(--muted); }
.footer-bottom a:hover { color: var(--gold-light); }
.pay-note { display: inline-flex; align-items: center; gap: .5rem; color: var(--gold-light); }

/* --------------------------- Page header --------------------------- */
.page-hero { background: linear-gradient(105deg,var(--bordeaux-dk),var(--bordeaux)); color:#fff; padding: clamp(3rem,6vw,4.5rem) 0; position: relative; overflow: hidden; }
.page-hero::after { content:""; position:absolute; inset:0; background: radial-gradient(circle at 85% 30%, rgba(201,162,39,.22), transparent 50%); }
.page-hero .wrap { position: relative; z-index: 2; }
.page-hero h1 { font-size: clamp(2.2rem,5vw,3.4rem); }
.breadcrumb { font-size: .82rem; color: rgba(255,255,255,.7); margin-top: .6rem; display: flex; gap: .5rem; }
.breadcrumb a:hover { color: var(--gold-light); }
.breadcrumb span { color: var(--gold-light); }

/* ------------------------------ Shop ------------------------------- */
/* -------------------- Boutique : sidebar filtres + tri (AJAX) -------------------- */
.shop-layout { display: grid; grid-template-columns: 250px 1fr; gap: 2.5rem; align-items: start; margin-top: 1.6rem; }
.filters { position: sticky; top: 100px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.5rem; }
.filters__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: .5rem; }
.filters__title { font-family: var(--sans); font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: var(--bordeaux); }
.filters__close { display: none; width: 34px; height: 34px; border-radius: 50%; place-items: center; color: var(--muted); }
.filters__close svg { width: 18px; height: 18px; }

.filter-group { padding: 1.1rem 0; border-bottom: 1px solid var(--line); }
.filter-group:last-child { border-bottom: 0; padding-bottom: 0; }
.filter-group h5 { font-family: var(--sans); font-size: .72rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--gold-dark); margin-bottom: .7rem; }
.filter-opt {
  display: block; width: 100%; text-align: left;
  padding: .5rem .7rem; margin: .15rem 0; border-radius: var(--radius);
  font-family: var(--sans); font-size: .92rem; font-weight: 500;
  color: var(--ink-soft); cursor: pointer; transition: all var(--t);
}
.filter-opt:hover { background: var(--cream-2); color: var(--bordeaux); }
.filter-opt.is-active { background: linear-gradient(135deg, var(--gold), var(--gold-dark)); color: var(--ink); font-weight: 700; }
/* Pastille de couleur devant les filtres « couleur » (mappée sur data-value). */
.filter-opt--dot::before {
  content: ''; width: 12px; height: 12px; border-radius: 50%; display: inline-block;
  margin-right: .55rem; vertical-align: -1px; border: 1px solid var(--line);
}
.filter-opt--dot[data-value="red"]::before       { background: #7A1E2B; }
.filter-opt--dot[data-value="white"]::before      { background: #EBD9A0; }
.filter-opt--dot[data-value="rose"]::before       { background: #E4A0A8; }
.filter-opt--dot[data-value="sparkling"]::before  { background: #D9C27A; }

.shop-toolbar { display: flex; align-items: center; gap: 1rem; margin-bottom: 1.4rem; flex-wrap: wrap; }
.shop-toolbar__filters { display: none; align-items: center; gap: .5rem; padding: .6rem 1.1rem; font-size: .78rem; }
.shop-toolbar__filters svg { width: 16px; height: 16px; }

/* Zone résultats + transition AJAX */
.shop-results { position: relative; transition: opacity .25s ease; }
.shop-results.is-loading { opacity: .35; pointer-events: none; }
.shop-grid-head { margin: 0 0 1.2rem; }
.shop-grid-head .count { color: var(--muted); font-size: .92rem; font-weight: 600; }
.shop-empty { color: var(--muted); font-size: 1.05rem; padding: 3rem 0; text-align: center; }
.shop-pagination { margin-top: 2.4rem; }

/* Sélecteur de tri */
.shop-sort { display: inline-flex; align-items: center; gap: .6rem; margin-left: auto; }
.shop-sort__label { font-size: .82rem; color: var(--muted); font-weight: 600; }
.shop-sort__field { position: relative; display: inline-flex; align-items: center; }
.shop-sort__field select {
  appearance: none; -webkit-appearance: none;
  padding: .6rem 2.4rem .6rem 1rem;
  border: 1px solid var(--line); border-radius: 999px;
  font-family: var(--sans); font-size: .9rem; font-weight: 600;
  background: var(--paper); color: var(--ink); cursor: pointer;
  transition: border-color var(--t), box-shadow var(--t);
}
.shop-sort__field select:hover { border-color: var(--gold); }
.shop-sort__field select:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(201,162,39,.15); }
.shop-sort__caret { position: absolute; right: .9rem; width: 14px; height: 14px; color: var(--gold-dark); pointer-events: none; }
.pagination { display: flex; gap: .5rem; justify-content: center; align-items: center; margin-top: 3rem; flex-wrap: wrap; }
.pagination a, .pagination > span { min-width: 44px; height: 44px; padding: 0 .6rem; border-radius: var(--radius); display: grid; place-items: center; border: 1.5px solid #cfc7ba; font-weight: 700; color: var(--ink-soft); background: #fff; text-decoration: none; transition: all var(--t); }
.pagination a.active { background: var(--bordeaux); color:#fff; border-color: var(--bordeaux); }
.pagination a:hover:not(.active) { border-color: var(--gold); color: var(--bordeaux); background: #FFFDF6; }
.pagination .page-prev, .pagination .page-next { font-size: 1.5rem; line-height: 1; color: var(--bordeaux); }
.pagination .is-disabled { color: #cfc7ba; background: #f5f1ea; cursor: not-allowed; }
.pagination .page-gap { border: 0; background: none; color: var(--muted); min-width: auto; }

/* ---------------------------- Single product ----------------------- */
.pdp { display: grid; grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr); gap: clamp(2rem,4vw,3.5rem); align-items: start; }
.pdp-info { min-width: 0; }
.pdp-gallery { position: sticky; top: 110px; }
.pdp-main { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 5;
  background: radial-gradient(circle at 50% 40%, #fff 0%, var(--cream-2) 80%); }
.pdp-main img { width: 100%; height: 100%; object-fit: contain; padding: 2rem; }
/* Badge éditorial en overlay sur l'image principale (mockup). */
.pdp-badge { position: absolute; top: 1rem; left: 1rem; z-index: 4;
  background: var(--bordeaux); color: #F8F3E9; font-size: .64rem; font-weight: 700;
  letter-spacing: .14em; text-transform: uppercase; padding: .45rem .8rem; border-radius: 4px;
  box-shadow: 0 6px 14px -6px rgba(90,18,32,.7); }
.pdp-thumbs { display: grid; grid-template-columns: repeat(4,1fr); gap: .7rem; margin-top: .8rem; }
.pdp-thumbs img { border: 1px solid var(--line); border-radius: var(--radius); aspect-ratio: 1; object-fit: cover; cursor: pointer; transition: border-color var(--t); }
.pdp-thumbs img:hover { border-color: var(--gold); }
.pdp-info h1 { font-size: clamp(2rem,4vw,2.8rem); color: var(--ink); margin: .4rem 0; }
.pdp-price { font-family: var(--serif); font-size: 2.4rem; font-weight: 700; color: var(--bordeaux); margin: 1rem 0; }
.pdp-price small { font-size: 1rem; color: var(--muted); font-weight: 400; }
.pdp-desc { color: var(--ink-soft); margin: 1.2rem 0; }
.pdp-specs { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; margin: 1.5rem 0; }
.pdp-specs div { display: flex; justify-content: space-between; padding: .8rem 1.2rem; font-size: .92rem; }
.pdp-specs div:nth-child(odd) { background: var(--cream-2); }
.pdp-specs span:first-child { color: var(--muted); }
.pdp-specs span:last-child { font-weight: 700; color: var(--ink); }
.qty { display: inline-flex; align-items: center; border: 1.5px solid #cfc7ba; border-radius: var(--radius); overflow: hidden; transition: border-color var(--t), box-shadow var(--t); }
.qty:focus-within { border-color: var(--gold); box-shadow: 0 0 0 3px rgba(201,162,39,.22); }
.qty button { width: 46px; height: 50px; font-size: 1.3rem; color: var(--bordeaux); background: var(--cream-2); transition: background var(--t); }
.qty button:hover { background: var(--gold-light); }
.qty input { width: 56px; height: 50px; text-align: center; border: 0; outline: none; font-family: var(--serif); font-size: 1.15rem; font-weight: 700; color: var(--bordeaux); background: #fff; }
.pdp-actions { display: flex; gap: .8rem; margin: 1.5rem 0; flex-wrap: wrap; }
.pdp-trust { display: grid; grid-template-columns: repeat(3,1fr); gap: 1rem; margin-top: 1.5rem; }
.pdp-trust div { text-align: center; padding: 1.2rem .5rem; background: var(--cream-2); border-radius: var(--radius); }
.pdp-trust svg { color: var(--gold-dark); margin: 0 auto .5rem; }
.pdp-trust b { display: block; font-size: .85rem; }
.pdp-trust span { font-size: .74rem; color: var(--muted); }

/* ------------------------------ Cart ------------------------------- */
.cart-layout { display: grid; grid-template-columns: 1fr 380px; gap: 2.5rem; align-items: start; }
.cart-table { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.cart-row { display: grid; grid-template-columns: 90px 1fr auto auto auto; gap: 1.2rem; align-items: center; padding: 1.3rem 1.5rem; border-bottom: 1px solid var(--line); }
.cart-row:last-child { border-bottom: 0; }
.cart-row img { width: 90px; height: 90px; object-fit: cover; border-radius: var(--radius); }
.cart-row .c-name { font-family: var(--serif); font-size: 1.15rem; color: var(--ink); }
.cart-row .c-region { font-size: .78rem; color: var(--gold-dark); text-transform: uppercase; letter-spacing: .1em; font-weight: 700; }
.cart-row .c-price { font-weight: 700; color: var(--bordeaux); font-family: var(--serif); font-size: 1.2rem; }
.cart-row .c-remove { color: var(--muted); width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; }
.cart-row .c-remove:hover { background: #f7e8e8; color: var(--bordeaux); }
.cart-qty { display: inline-flex; border: 1.5px solid #cfc7ba; border-radius: var(--radius); overflow: hidden; transition: border-color var(--t), box-shadow var(--t); background: #fff; }
.cart-qty:focus-within { border-color: var(--gold); box-shadow: 0 0 0 3px rgba(201,162,39,.22); }
.cart-qty button { width: 34px; height: 44px; color: var(--bordeaux); background: var(--cream-2); }
.cart-qty input { width: 52px; height: 44px; text-align: center; border: 0; outline: none; font-weight: 700; font-family: var(--serif); font-size: 1.05rem; color: var(--bordeaux); }
.summary { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.8rem; position: sticky; top: 110px; }
.summary h3 { color: var(--bordeaux); font-size: 1.5rem; margin-bottom: 1.2rem; }
.summary-row { display: flex; justify-content: space-between; padding: .7rem 0; font-size: .95rem; }
.summary-row.total { border-top: 2px solid var(--line); margin-top: .6rem; padding-top: 1.1rem; font-size: 1.3rem; font-family: var(--serif); font-weight: 700; color: var(--bordeaux); }
.summary .pay-highlight { background: linear-gradient(135deg, rgba(201,162,39,.14), rgba(201,162,39,.05)); border: 1px solid var(--line); border-radius: var(--radius); padding: 1rem 1.2rem; margin: 1.2rem 0; display: flex; gap: .8rem; align-items: flex-start; }
.summary .pay-highlight svg { color: var(--gold-dark); flex-shrink: 0; margin-top: 2px; }
.summary .pay-highlight b { color: var(--bordeaux); font-size: .92rem; display: block; }
.summary .pay-highlight span { font-size: .82rem; color: var(--muted); }

/* Conversion — message dynamique « il reste X bouteilles » */
.cart-remaining { background: linear-gradient(135deg, rgba(122,30,43,.06), rgba(201,162,74,.08)); border: 1px solid var(--proto-line); border-left: 3px solid var(--bordeaux); border-radius: var(--radius); padding: .9rem 1.1rem; margin: 1rem 0; }
.cart-remaining b { display: block; color: var(--bordeaux); font-size: .95rem; }
.cart-remaining span { display: block; margin-top: .25rem; font-size: .84rem; color: var(--muted); }

/* Conversion — encadré confiance renforcé avant validation */
.summary .cart-trust-wallet { background: linear-gradient(135deg, rgba(122,30,43,.1), rgba(201,162,74,.12)); border: 1px solid var(--bordeaux); border-left: 4px solid var(--bordeaux); }
.summary .cart-trust-wallet b { font-size: 1rem; }
.summary .cart-trust-wallet span { color: var(--proto-text); font-weight: 600; }

.promo { display: flex; gap: .5rem; margin: 1.2rem 0; }
.promo input { flex: 1; padding: .8rem 1rem; border: 1px solid var(--line); border-radius: var(--radius); font-family: inherit; }

/* ------------------------- Steps (checkout) ------------------------ */
.steps { display: flex; justify-content: center; gap: 0; margin-bottom: 2.5rem; flex-wrap: wrap; }
.step { display: flex; align-items: center; gap: .6rem; color: var(--muted); font-size: .85rem; font-weight: 700; }
.step .n { width: 30px; height: 30px; border-radius: 50%; border: 2px solid var(--line); display: grid; place-items: center; font-family: var(--serif); }
.step.active { color: var(--bordeaux); }
.step.active .n { background: var(--gold); border-color: var(--gold); color: var(--ink); }
.step.done .n { background: var(--bordeaux); border-color: var(--bordeaux); color:#fff; }
.step-line { width: 60px; height: 2px; background: var(--line); margin: 0 1rem; }

/* -------------------------------- Fade ----------------------------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ---------------------------- Responsive --------------------------- */
@media (max-width: 1080px) {
  .cat-grid, .product-grid, .product-grid.cols-3, .product-grid.cols-4 { grid-template-columns: repeat(3,1fr); }
  .testi-grid { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 2rem; }
}
@media (max-width: 900px) {
  .nav, .header-actions .icon-btn.search-only { display: none; }
  .burger { display: grid; }
  .hero-inner, .split, .pdp, .cart-layout { grid-template-columns: 1fr; }
  .hero-figure { order: -1; max-width: 420px; }
  .hero-featured-card { position: static; width: 100%; margin-top: .9rem; }
  .pdp-gallery, .summary { position: static; }
  .cart-layout { gap: 1.8rem; }

  /* Boutique : sidebar en panneau coulissant, ouvert par le bouton Filtres. */
  .shop-layout { grid-template-columns: 1fr; }
  .filters {
    position: fixed; top: 0; left: 0; bottom: 0; z-index: 70;
    width: 300px; max-width: 85vw; border-radius: 0;
    transform: translateX(-100%); transition: transform .28s cubic-bezier(.22,.61,.36,1);
    overflow-y: auto; box-shadow: var(--shadow);
  }
  .shop-layout.filters-open .filters { transform: translateX(0); }
  .filters__close { display: grid; }
  .shop-toolbar__filters { display: inline-flex; }
  /* Voile derrière la sidebar mobile. */
  .shop-layout.filters-open::before {
    content: ''; position: fixed; inset: 0; z-index: 69;
    background: rgba(26,20,22,.55);
  }
}
@media (max-width: 620px) {
  .cat-grid, .product-grid, .product-grid.cols-3, .product-grid.cols-4 { grid-template-columns: 1fr 1fr; gap: 1rem; }
  .shop-toolbar { gap: .7rem; }
  .shop-sort__label { display: none; }
  .shop-sort__field select { padding: .5rem 2.1rem .5rem .8rem; font-size: .85rem; }
  .footer-top { grid-template-columns: 1fr; }
  .topbar .topbar-msg span.hide-sm { display: none; }
  .hero-trust { gap: 1.3rem; }
  .cart-row { grid-template-columns: 70px 1fr; grid-auto-flow: row; }
  .cart-row img { width: 70px; height: 70px; }
  .pdp-actions .btn { flex: 1; }
  .news-form { flex-direction: column; }
  .section-title { font-size: 1.8rem; }
}

/* ------------------------- Mobile drawer nav ----------------------- */
.drawer-backdrop { position: fixed; inset: 0; background: rgba(20,12,14,.6); z-index: 60; opacity: 0; visibility: hidden; transition: all var(--t); }
.drawer-backdrop.open { opacity: 1; visibility: visible; }
.drawer { position: fixed; top: 0; right: -320px; width: 300px; max-width: 85vw; height: 100%; background: var(--cream); z-index: 61; transition: right var(--t); padding: 1.5rem; overflow-y: auto; box-shadow: var(--shadow); }
.drawer.open { right: 0; }
.drawer-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 1.5rem; }
.drawer nav > a,
.drawer .m-acc > button { display: flex; width: 100%; align-items: center; justify-content: space-between; text-align: left; padding: 1rem 0; border-bottom: 1px solid var(--line); font-family: var(--serif); font-size: 1.3rem; color: var(--bordeaux); }
.drawer .m-acc > button svg { width: 18px; height: 18px; color: var(--gold-dark); transition: transform var(--t); flex-shrink: 0; }
.drawer .m-acc.open > button svg { transform: rotate(180deg); }
.drawer .m-acc-panel { max-height: 0; overflow: hidden; transition: max-height var(--t); }
.drawer .m-acc.open .m-acc-panel { max-height: 620px; }
.drawer .m-acc-panel a { display: block; padding: .6rem 0 .6rem 1rem; font-family: var(--sans); font-size: .98rem; color: var(--ink-soft); border-bottom: 1px solid var(--cream-2); }
.drawer .m-acc-panel a:hover { color: var(--bordeaux); }
.drawer .m-acc-panel h6 { font-family: var(--sans); font-size: .68rem; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-dark); margin: .9rem 0 .3rem; padding-left: 1rem; }
.drawer .lang-switch { margin-top: 1.5rem; justify-content: center; }
.drawer .lang-switch a { color: var(--ink-soft); }

/* Bandeau règle de la cave */
.cave-rule {
  display: flex; align-items: center; gap: .75rem;
  background: linear-gradient(135deg, rgba(201,162,39,.12), rgba(201,162,39,.04));
  border: 1px solid var(--line); border-radius: var(--radius);
  padding: .9rem 1.2rem; margin-bottom: 1.8rem; font-size: .95rem; color: var(--ink-soft);
}
.cave-rule svg { color: var(--gold-dark); flex-shrink: 0; }
.cave-rule strong { color: var(--bordeaux); }

/* ------------------------------ Checkout --------------------------- */
.co-card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.8rem; margin-bottom: 1.4rem; }
.co-card h3 { color: var(--bordeaux); font-size: 1.5rem; margin-bottom: 1.2rem; }
.co-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.co-field { margin-bottom: 1.15rem; }
.co-field label {
  display: block; font-size: .8rem; font-weight: 700; color: var(--ink);
  margin-bottom: .45rem; letter-spacing: .02em;
}
/* Astérisque doré pour les champs requis. */
.co-field label .req { color: var(--gold-dark); font-weight: 800; margin-left: .1rem; }

.co-field input, .co-field textarea, .co-field select {
  width: 100%; padding: .95rem 1.05rem;
  border: 1.5px solid #cfc7ba;            /* bord gris net, bien visible */
  border-radius: var(--radius);
  font-family: inherit; font-size: 1rem; background: #fafafa; color: var(--ink);
  transition: border-color var(--t), box-shadow var(--t), background var(--t);
  -webkit-appearance: none; appearance: none;
}
.co-field textarea { line-height: 1.5; resize: vertical; min-height: 96px; }
.co-field input::placeholder, .co-field textarea::placeholder { color: #a89e90; }
.co-field input:hover, .co-field textarea:hover, .co-field select:hover { border-color: var(--gold-dark); background: #fff; }
.co-field input:focus, .co-field textarea:focus, .co-field select:focus {
  outline: none; border-color: var(--gold); background: #fff;
  box-shadow: 0 0 0 3px rgba(201,162,39,.22);
}
.co-field input[readonly] {
  background: #f0ece3; color: var(--ink-soft); cursor: default;
  border-style: dashed; border-color: #cfc7ba;
}
.co-field input[readonly]:hover { border-color: #cfc7ba; background: #f0ece3; }
/* Select : petite flèche dorée */
.co-field select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%239c7d1a' stroke-width='2.5'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 1rem center; padding-right: 2.6rem;
}
.co-hint { font-size: .8rem; color: var(--muted); margin-top: .35rem; line-height: 1.4; }
.co-opt { color: var(--muted); font-weight: 400; }
/* Adresse de facturation + encarts de confiance (checkout) */
.co-check { display: flex; gap: .6rem; align-items: flex-start; font-size: .88rem; color: var(--ink-soft); line-height: 1.5; cursor: pointer; }
.co-check input { margin-top: .2rem; }
.co-billing { margin-top: 1rem; padding-top: 1rem; border-top: 1px dashed var(--line); }
.co-bv-trust { margin-top: 1rem; padding: .8rem 1rem; background: #FBF6EA; border: 1px solid var(--gold); border-radius: var(--radius); font-size: .82rem; color: var(--ink-soft); line-height: 1.5; }
.co-delivery-hint { text-align: center; }
.co-confirm-trust { text-align: center; font-size: .95rem; color: var(--bordeaux); font-style: italic; line-height: 1.6; margin: 0 0 1.4rem; padding: 0 1rem; }
/* État d'erreur (ajouté par validation serveur si besoin). */
.co-field.has-error input, .co-field.has-error .phone-ch { border-color: #c0392b; box-shadow: 0 0 0 3px rgba(192,57,43,.12); }
.co-field .field-error, .field-error { display: block; color: #9B2226; font-size: .8rem; margin-top: .3rem; }

/* Téléphone suisse : drapeau + indicatif */
.phone-ch {
  display: flex; align-items: stretch; border: 1.5px solid #cfc7ba; border-radius: var(--radius);
  overflow: hidden; background: #fafafa; transition: border-color var(--t), box-shadow var(--t), background var(--t);
}
.phone-ch:hover { border-color: var(--gold-dark); background: #fff; }
.phone-ch:focus-within { border-color: var(--gold); background: #fff; box-shadow: 0 0 0 3px rgba(201,162,39,.22); }
.phone-ch__flag {
  display: flex; align-items: center; padding: 0 .95rem;
  background: linear-gradient(180deg, var(--cream-2), #e5d8c1); color: var(--bordeaux);
  font-weight: 700; font-size: .92rem; white-space: nowrap; border-right: 1.5px solid #cfc7ba;
}
.phone-ch input { border: 0 !important; box-shadow: none !important; flex: 1; padding: .95rem 1.05rem; font-family: inherit; font-size: 1rem; background: transparent; }
.phone-ch input:focus { background: transparent; }

/* Versements */
.installments { display: grid; grid-template-columns: repeat(3, 1fr); gap: .8rem; margin-top: .6rem; }
.inst-option input { position: absolute; opacity: 0; }
.inst-option__box { display: block; border: 2px solid var(--line); border-radius: var(--radius); padding: 1rem .7rem; text-align: center; cursor: pointer; transition: all var(--t); }
.inst-option__box strong { display: block; color: var(--bordeaux); font-family: var(--serif); font-size: 1.15rem; }
.inst-option__box small { color: var(--muted); font-size: .78rem; }
.inst-option input:checked + .inst-option__box { border-color: var(--gold); background: #FFFDF6; }

/* Récap commande */
.co-recap { border-bottom: 1px solid var(--line); margin-bottom: 1rem; padding-bottom: .6rem; }
.co-recap li { display: flex; justify-content: space-between; padding: .35rem 0; font-size: .9rem; gap: 1rem; }
.co-recap li span:last-child { font-weight: 700; white-space: nowrap; }

@media (max-width: 620px) { .co-row, .installments { grid-template-columns: 1fr; } }

/* Autocomplétion localité */
.co-autocomplete { position: relative; }
.ac-list {
  position: absolute; left: 0; right: 0; top: 100%; z-index: 30;
  background: #fff; border: 1px solid var(--line); border-top: 0;
  border-radius: 0 0 var(--radius) var(--radius); box-shadow: var(--shadow-sm);
  max-height: 280px; overflow-y: auto; display: none; margin: 0;
}
.ac-list.open { display: block; }
.ac-list li {
  padding: .7rem 1rem; cursor: pointer; display: flex; justify-content: space-between;
  align-items: baseline; gap: 1rem; border-bottom: 1px solid var(--cream-2);
}
.ac-list li:last-child { border-bottom: 0; }
.ac-list li strong { color: var(--bordeaux); font-weight: 700; }
.ac-list li span { color: var(--muted); font-size: .82rem; white-space: nowrap; }
.ac-list li:hover, .ac-list li.is-active { background: var(--cream-2); }

/* Échéancier des versements */
.schedule { margin-top: 1.4rem; background: #FFFDF6; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.2rem 1.4rem; }
.schedule h4 { font-family: var(--sans); font-size: .78rem; text-transform: uppercase; letter-spacing: .14em; color: var(--gold-dark); margin-bottom: .8rem; }
.schedule ul { display: grid; gap: .5rem; }
.schedule li { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: .6rem .2rem; border-bottom: 1px dashed var(--line); }
.schedule li:last-child { border-bottom: 0; }
.sch-label { display: flex; flex-direction: column; font-weight: 700; color: var(--ink); font-size: .92rem; }
.sch-label em { font-style: normal; font-weight: 400; color: var(--muted); font-size: .8rem; }
.sch-amount { font-family: var(--serif); font-size: 1.3rem; font-weight: 700; color: var(--bordeaux); white-space: nowrap; }

/* Bouton bordeaux plein */
.btn-bordeaux { background: var(--bordeaux); color: #fff; }
.btn-bordeaux:hover { background: var(--bordeaux-dk); color: #fff; transform: translateY(-2px); }

/* Confirmation commande */
.confirm-steps { padding-left: 1.2rem; display: grid; gap: .6rem; line-height: 1.6; }
.confirm-steps li { padding-left: .2rem; }
.confirm-table { width: 100%; border-collapse: collapse; }
.confirm-table td { padding: .55rem 0; border-bottom: 1px solid var(--cream-2); font-size: .95rem; }
.confirm-sub td { color: var(--muted); }
.confirm-total td { font-family: var(--serif); font-weight: 700; color: var(--bordeaux); font-size: 1.2rem; border-top: 2px solid var(--line); border-bottom: 0; padding-top: .8rem; }

/* Choix du mode de paiement */
.pay-methods { display: grid; grid-template-columns: 1fr 1fr; gap: .9rem; margin: .8rem 0 1.4rem; }
.pay-method input { position: absolute; opacity: 0; }
.pay-method__box {
  display: block; border: 1.5px solid #cfc7ba; border-radius: var(--radius); padding: 1.1rem 1.2rem;
  cursor: pointer; height: 100%; transition: all var(--t); background: #fafafa;
}
.pay-method__box:hover { border-color: var(--gold-dark); background: #fff; }
.pay-method input:checked + .pay-method__box { border-color: var(--gold); background: #FFFDF6; box-shadow: 0 0 0 3px rgba(201,162,39,.18); }
.pay-method__title { display: block; font-family: var(--serif); font-size: 1.25rem; font-weight: 700; color: var(--bordeaux); margin-bottom: .25rem; }
.pay-method__desc { display: block; font-size: .85rem; color: var(--muted); line-height: 1.45; }
.pay-panel[hidden] { display: none; }
@media (max-width: 620px) { .pay-methods { grid-template-columns: 1fr; } }

/* Cadre décoratif or : léger offset qui épouse le carrousel (coin haut-gauche). */
.hero-figure::before { content:""; position: absolute; left: -14px; top: -14px; width: 55%; height: 55%;
  border: 1px solid rgba(228,199,102,.45); pointer-events: none; z-index: 0; }

/* Carrousel dynamique du hero : une bouteille = une slide + son cartouche.
   La 1re slide reste dans le flux (donne la hauteur = ratio 4/5 de sa largeur) ;
   les suivantes sont empilées en absolu par-dessus. Robuste sans aspect-ratio. */
.hero-carousel { position: relative; z-index: 1; display: block; width: 100%; max-width: 100%; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); background: var(--proto-media, #F2EADD); }
.hero-carousel .hero-slide { position: absolute; inset: 0; display: block; opacity: 0; visibility: hidden; transition: opacity 1s ease; text-decoration: none; }
.hero-carousel .hero-slide:first-child { position: relative; }   /* réserve la hauteur */
.hero-carousel .hero-slide.is-active { opacity: 1; visibility: visible; }
.hero-slide__img { display: block; width: 100%; aspect-ratio: 4/5; object-fit: cover; border-radius: var(--radius); }
.hero-carousel .hero-slide:not(:first-child) .hero-slide__img { position: absolute; inset: 0; height: 100%; }
/* Bandeau synchronisé : barre pleine largeur en bas de l'image, fond bordeaux
   translucide (on devine le visuel derrière), texte clair — façon proposition. */
.hero-slide__card { position: absolute; left: 0; right: 0; bottom: 0; z-index: 2;
  display: flex; flex-direction: column; gap: 4px; padding: 20px 20px 18px;
  background: linear-gradient(to top, rgba(60,14,22,.97) 0%, rgba(60,14,22,.95) 40%, rgba(60,14,22,.78) 72%, rgba(60,14,22,0) 100%);
  border-radius: 0 0 var(--radius) var(--radius); }
.hero-slide__eyebrow { font-size: .62rem; letter-spacing: .18em; text-transform: uppercase; color: var(--gold-light); font-weight: 700; text-shadow: 0 1px 3px rgba(0,0,0,.45); }
.hero-slide__name { font-family: var(--serif); font-size: 1.32rem; line-height: 1.14; color: #FBF6EC; text-shadow: 0 1px 4px rgba(0,0,0,.4); }
.hero-slide__vintage { color: var(--gold-light); font-weight: 600; }
.hero-slide__foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 4px; }
.hero-slide__price { font-family: var(--serif); font-size: 1.3rem; font-weight: 700; color: var(--gold-light); text-shadow: 0 1px 3px rgba(0,0,0,.45); }
.hero-slide__price small { font-size: .72rem; color: rgba(251,246,236,.85); font-weight: 400; }
.hero-slide__btn { flex: none; font-family: var(--sans); font-size: .62rem; letter-spacing: .16em; text-transform: uppercase;
  color: var(--cream, #F7EFE2); font-weight: 700; padding: 9px 16px; border: 1px solid rgba(247,239,226,.55);
  border-radius: 2px; transition: background .25s ease, border-color .25s ease; }
.hero-slide:hover .hero-slide__btn { background: rgba(247,239,226,.12); border-color: rgba(247,239,226,.9); }
.hero-carousel__dots { position: absolute; top: 14px; left: 0; right: 0; display: flex; gap: .5rem; justify-content: center; z-index: 3; }
.hero-carousel__dots button { width: 9px; height: 9px; border-radius: 50%; background: rgba(255,255,255,.6); border: 0; cursor: pointer; padding: 0; transition: all var(--t); box-shadow: 0 1px 3px rgba(0,0,0,.25); }
.hero-carousel__dots button.is-active { background: var(--gold-light); width: 26px; border-radius: var(--radius); }


/* Logo Golden Wine superposé sur le coin haut-gauche du slider */
.hero-figure { position: relative; }
.hero-figure__logo {
  position: absolute; top: -30px; left: -30px; z-index: 4;
  height: clamp(96px, 10vw, 132px);
  filter: drop-shadow(0 6px 16px rgba(0,0,0,.5));
  pointer-events: none;
}
@media (max-width: 900px) {
  .hero-figure__logo { top: -20px; left: -10px; height: 84px; }
}

/* ------------------------- Vérification d'âge 18+ ------------------------- */
html.age-locked { overflow: hidden; }
/* Masque tout le contenu tant que l'âge n'est pas confirmé (évite le flash). */
html.age-locked body > *:not(.age-gate) { visibility: hidden; }

.age-gate {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  background:
    radial-gradient(120% 120% at 50% 0%, rgba(90,18,32,.55), rgba(26,20,22,.92) 60%),
    var(--ink);
  backdrop-filter: blur(6px);
}
.age-gate--closing { opacity: 0; transition: opacity .3s ease; }


.age-gate__card {
  width: 100%;
  max-width: 460px;
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 2.6rem 2rem 2rem;
  text-align: center;
  position: relative;
  animation: ageGateIn .4s cubic-bezier(.22,.61,.36,1) both;
}
@keyframes ageGateIn {
  from { opacity: 0; transform: translateY(14px) scale(.97); }
  to   { opacity: 1; transform: none; }
}

.age-gate__mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 82px; height: 82px;
  margin-bottom: 1rem;
  border-radius: 50%;
  background: var(--paper);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
}
.age-gate__mark img { width: 60px; height: 60px; object-fit: contain; }
.age-gate__mark--lock { color: var(--bordeaux); }
.age-gate__mark--lock svg { width: 38px; height: 38px; }

.age-gate__badge {
  position: absolute;
  top: 1.4rem; right: 1.6rem;
  font-family: var(--sans);
  font-weight: 800;
  font-size: .8rem;
  letter-spacing: .04em;
  color: var(--ink);
  background: linear-gradient(180deg, var(--gold-light), var(--gold));
  border-radius: 999px;
  padding: .28rem .6rem;
  box-shadow: 0 6px 16px -8px rgba(201,162,39,.9);
}

.age-gate__card h2 {
  font-family: var(--serif);
  font-weight: 700;
  font-size: 1.7rem;
  line-height: 1.2;
  color: var(--bordeaux);
  margin: .2rem 0 .6rem;
}
.age-gate__card p {
  color: var(--ink-soft);
  font-size: .96rem;
  line-height: 1.55;
  margin: 0 auto 1.5rem;
  max-width: 34ch;
}

.age-gate__actions {
  display: flex;
  flex-direction: column;
  gap: .7rem;
}
.age-gate__actions .btn { width: 100%; justify-content: center; }

.age-gate__decline {
  appearance: none;
  background: none;
  border: none;
  cursor: pointer;
  font-family: var(--sans);
  font-size: .9rem;
  color: var(--muted);
  padding: .4rem;
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color var(--t);
}
.age-gate__decline:hover { color: var(--bordeaux); }

.age-gate__legal {
  display: block;
  margin-top: 1.4rem;
  font-size: .72rem;
  color: var(--muted);
  letter-spacing: .01em;
}

.age-gate__card--blocked h2 { color: var(--ink); }

@media (max-width: 480px) {
  .age-gate__card { padding: 2.2rem 1.4rem 1.6rem; }
  .age-gate__card h2 { font-size: 1.45rem; }
}

/* ---------------------- Sélecteur de langue (header) ---------------------- */
.lang-select {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: .3rem;
  height: 40px;
  padding: 0 .5rem 0 .6rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--paper);
  cursor: pointer;
  transition: border-color var(--t), background var(--t);
}
.lang-select:hover { border-color: var(--gold); background: var(--cream); }
.lang-select__flag { font-size: 1.05rem; line-height: 1; }
.lang-select__caret { width: 14px; height: 14px; color: var(--muted); pointer-events: none; }
/* Le select natif recouvre toute la pastille mais reste invisible. */
.lang-select select {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  border: none;
  cursor: pointer;
  font-size: 16px; /* évite le zoom iOS */
}

@media (max-width: 1080px) {
  /* Sur mobile, le choix de langue passe dans le drawer. */
  .header-actions .lang-select { display: none; }
}

/* ---------------------------- Réseaux sociaux ---------------------------- */
.topbar-social {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  color: var(--cream-2);
  font-size: .74rem;
  letter-spacing: .04em;
  white-space: nowrap;
  transition: color var(--t);
}
.topbar-social:hover { color: var(--gold-light); }
.topbar-social svg { width: 15px; height: 15px; flex-shrink: 0; }

.footer-social {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  color: var(--muted);
  transition: color var(--t);
}
.footer-social:hover { color: var(--gold-light); }
.footer-social svg { width: 18px; height: 18px; flex-shrink: 0; color: var(--gold); }
.footer-social:hover svg { color: var(--gold-light); }

/* -------------------------- Le vin du mois (offre) ------------------------- */
.offer-section { background: linear-gradient(160deg, var(--proto-ink), var(--bordeaux-dk)); }
.offer-section .eyebrow { color: var(--gold-light); }
.offer-section .section-title { color: #F8F3E9; }
.offer-card {
  display: grid;
  grid-template-columns: minmax(0,.82fr) 1fr;
  background: transparent;
  border: 0;
  border-radius: 0;
  overflow: visible;
  box-shadow: none;
  max-width: 1080px;
  margin: 0 auto;
  gap: 3.5rem;
  align-items: center;
}
/* Image encadrée d'un filet or (façon maquette) */
.offer-card__media { position: relative; min-height: 340px; aspect-ratio: 4/5; }
.offer-card__media::before { content: ''; position: absolute; left: -14px; top: -14px; width: 78%; height: 100%;
  border: 1px solid rgba(201,162,74,.5); pointer-events: none; }
.offer-card__media img { position: relative; z-index: 1; width: 100%; height: 100%; object-fit: cover; }
.offer-card__badge {
  position: absolute; top: 1.1rem; left: 1.1rem;
  background: var(--bordeaux); color: #fff;
  font-family: var(--sans); font-weight: 800; font-size: 1.05rem;
  padding: .5rem .9rem; border-radius: 999px;
  box-shadow: 0 8px 20px -8px rgba(90,18,32,.8);
  letter-spacing: .02em;
}
/* --- Galerie photo de l'offre du mois --- */
.offer-gallery { display: flex; flex-direction: column; gap: .7rem; }
.offer-gallery__main { position: relative; aspect-ratio: 1/1; border: 1px solid rgba(201,162,74,.5); overflow: hidden; cursor: zoom-in; background: #2B1216; }
.offer-gallery__main img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .4s ease; }
.offer-gallery__main:hover img { transform: scale(1.03); }
.offer-gallery__thumbs { display: grid; grid-template-columns: repeat(6, 1fr); gap: .5rem; }
.offer-gallery__thumb { padding: 0; border: 2px solid transparent; background: none; cursor: pointer; aspect-ratio: 1/1; overflow: hidden; border-radius: 3px; transition: border-color var(--t); }
.offer-gallery__thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.offer-gallery__thumb.is-active { border-color: var(--gold, #C9A24A); }
.offer-gallery__thumb:hover { border-color: rgba(201,162,74,.6); }

/* --- Lightbox plein écran --- */
.lightbox { position: fixed; inset: 0; z-index: 200; display: flex; align-items: center; justify-content: center; background: rgba(20,10,12,.92); backdrop-filter: blur(3px); }
.lightbox[hidden] { display: none; }
.lightbox__img { max-width: 88vw; max-height: 82vh; object-fit: contain; box-shadow: 0 20px 60px -20px rgba(0,0,0,.8); border: 1px solid rgba(201,162,74,.3); }
.lightbox__close { position: absolute; top: 18px; right: 24px; background: none; border: none; color: #F8F3E9; font-size: 2.4rem; line-height: 1; cursor: pointer; opacity: .85; }
.lightbox__close:hover { opacity: 1; }
.lightbox__nav { position: absolute; top: 50%; transform: translateY(-50%); background: rgba(248,243,233,.12); border: none; color: #F8F3E9; font-size: 2.6rem; line-height: 1; width: 56px; height: 56px; border-radius: 50%; cursor: pointer; display: flex; align-items: center; justify-content: center; transition: background var(--t); }
.lightbox__nav:hover { background: rgba(248,243,233,.28); }
.lightbox__prev { left: 3vw; }
.lightbox__next { right: 3vw; }
.lightbox__counter { position: absolute; bottom: 22px; left: 0; right: 0; text-align: center; color: rgba(248,243,233,.8); font-size: .9rem; letter-spacing: .1em; }
@media (max-width: 640px) {
  .offer-gallery__thumbs { grid-template-columns: repeat(6, 1fr); gap: .3rem; }
  .lightbox__nav { width: 44px; height: 44px; font-size: 2rem; }
  .lightbox__prev { left: 2vw; } .lightbox__next { right: 2vw; }
}

.offer-card__body { padding: 0; display: flex; flex-direction: column; gap: 1rem; }
/* Mot « rouge » mis en valeur dans le titre de l'offre (teinte chaude) */
.offer-accent-red { color: #E07A5F; font-style: italic; }
.offer-card__title { font-family: var(--serif); font-size: clamp(2.2rem,3.4vw,3rem); color: #F8F3E9; line-height: 1.05; margin: 0; }
.offer-card__subtitle { color: rgba(248,243,233,.8); font-family: var(--serif); font-style: italic; font-size: 1.25rem; line-height: 1.5; margin: 0; }
.offer-card__items { list-style: none; padding: 0; margin: .4rem 0; border-top: 1px solid rgba(248,243,233,.16); }
.offer-card__items li {
  display: flex; align-items: center; gap: .6rem;
  padding: .7rem 0; border-bottom: 1px solid rgba(248,243,233,.16);
  font-size: .98rem;
}
.offer-qty { font-family: var(--serif); font-weight: 700; color: var(--gold-light); font-size: 1.1rem; min-width: 2.2rem; }
.offer-card__items a { color: rgba(248,243,233,.92); font-weight: 600; }
.offer-card__items a:hover { color: var(--gold-light); }

.offer-card__pricing { margin: .4rem 0 .6rem; padding-top: 1.2rem; border-top: 1px solid rgba(248,243,233,.16); }
.offer-price { display: flex; align-items: baseline; gap: .9rem; flex-wrap: wrap; }
.offer-price__regular { color: rgba(248,243,233,.55); text-decoration: line-through; font-size: 1.1rem; }
.offer-price__promo { font-family: var(--serif); font-size: 3rem; font-weight: 700; color: var(--gold-light); line-height: 1; }
.offer-price__promo small { font-size: 1rem; font-weight: 600; color: rgba(248,243,233,.7); }
.offer-save {
  display: inline-block; margin-top: .5rem;
  background: rgba(228,199,102,.18); color: var(--gold-light); border: 1px solid rgba(228,199,102,.4);
  font-weight: 700; font-size: .86rem;
  padding: .3rem .7rem; border-radius: 999px;
}
.offer-card__note { font-size: .8rem; color: rgba(248,243,233,.6); margin: .8rem 0 0; }

@media (max-width: 780px) {
  .offer-card { grid-template-columns: 1fr; }
  .offer-card__media { min-height: 240px; }
  .offer-card__body { padding: 1.8rem 1.4rem 1.6rem; }
  .offer-card__title { font-size: 1.6rem; }
}
.summary-row--discount span { color: #266B37; font-weight: 700; }

/* ---------------------------- Recherche live ---------------------------- */
.search-overlay { position: fixed; inset: 0; z-index: 9998; display: flex; justify-content: center; align-items: flex-start; }
.search-overlay[hidden] { display: none; }   /* l'attribut hidden doit primer sur display:flex */
.search-overlay__backdrop { position: absolute; inset: 0; background: rgba(26,20,22,.6); backdrop-filter: blur(4px); opacity: 0; transition: opacity .25s ease; }
.search-overlay.is-open .search-overlay__backdrop { opacity: 1; }
.search-panel {
  position: relative; z-index: 1;
  width: min(680px, 94%); margin-top: clamp(60px, 10vh, 120px);
  background: var(--paper); border-radius: var(--radius);
  box-shadow: var(--shadow); overflow: hidden;
  transform: translateY(-16px); opacity: 0;
  transition: transform .28s cubic-bezier(.22,.61,.36,1), opacity .28s ease;
}
.search-overlay.is-open .search-panel { transform: none; opacity: 1; }

.search-panel__bar { display: flex; align-items: center; gap: .8rem; padding: 1rem 1.2rem; border-bottom: 1px solid var(--line); }
.search-panel__icon { width: 22px; height: 22px; color: var(--gold-dark); flex-shrink: 0; }
.search-panel__input { flex: 1; border: none; outline: none; font-family: var(--sans); font-size: 1.1rem; color: var(--ink); background: transparent; }
.search-panel__input::placeholder { color: var(--muted); }
.search-panel__close { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; color: var(--muted); flex-shrink: 0; transition: all var(--t); }
.search-panel__close:hover { background: var(--cream-2); color: var(--bordeaux); }
.search-panel__close svg { width: 18px; height: 18px; }

.search-panel__results { max-height: min(60vh, 520px); overflow-y: auto; padding: .6rem; position: relative; }
.search-panel__results.is-loading { opacity: .5; }
.search-panel__hint { color: var(--muted); font-size: .92rem; padding: 1.6rem 1rem; text-align: center; margin: 0; }
.search-count { font-size: .72rem; text-transform: uppercase; letter-spacing: .12em; color: var(--gold-dark); font-weight: 700; padding: .6rem 1rem .3rem; }

.search-results { list-style: none; margin: 0; padding: 0; }
.search-result { display: flex; align-items: center; gap: 1rem; padding: .7rem 1rem; border-radius: var(--radius); transition: background var(--t); }
.search-result:hover { background: var(--cream); }
.search-result img { width: 48px; height: 60px; object-fit: cover; border-radius: var(--radius); flex-shrink: 0; background: var(--cream-2); }
.search-result__body { flex: 1; min-width: 0; }
.search-result__name { display: block; font-family: var(--serif); font-size: 1.08rem; color: var(--ink); font-weight: 600; line-height: 1.2; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.search-result__meta { display: block; font-size: .8rem; color: var(--muted); margin-top: .15rem; }
.search-result__price { font-family: var(--serif); font-weight: 700; color: var(--bordeaux); font-size: 1.05rem; white-space: nowrap; }
.search-seeall { display: block; text-align: center; padding: .9rem; margin-top: .4rem; border-top: 1px solid var(--line); color: var(--gold-dark); font-weight: 700; font-size: .9rem; }
.search-seeall:hover { color: var(--bordeaux); background: var(--cream); }

@media (max-width: 560px) {
  .search-panel { margin-top: 0; width: 100%; height: 100%; border-radius: 0; }
  .search-panel__results { max-height: calc(100vh - 70px); }
  .search-result__meta { white-space: normal; }
}

/* Barre de recherche sur la boutique (ouvre l'overlay) */
.shop-search {
  width: 100%; display: flex; align-items: center; gap: .8rem;
  padding: 1rem 1.4rem; border: 1px solid var(--line); border-radius: 999px;
  background: var(--paper); color: var(--muted);
  font-family: var(--sans); font-size: 1rem; text-align: left;
  transition: border-color var(--t), box-shadow var(--t);
}
.shop-search:hover { border-color: var(--gold); box-shadow: var(--shadow-sm); }
.shop-search svg { width: 20px; height: 20px; color: var(--gold-dark); flex-shrink: 0; }

/* ============================================================
   Pages d'information & légales (livraison, commander, FAQ, CGV…)
   ============================================================ */
.page-hero .lead { color: rgba(255,255,255,.85); margin-top: 1rem; font-size: 1.05rem; }

.info-page { max-width: 760px; margin: 0 auto; }
.info-page h2 { color: var(--bordeaux); font-size: 1.5rem; margin: 2.2rem 0 .7rem; }
.info-page h2:first-child { margin-top: 0; }
.info-page h3 { color: var(--ink); font-size: 1.12rem; margin-bottom: .35rem; }
.info-page p { color: var(--ink-soft); line-height: 1.7; margin-bottom: 1rem; }
.info-page a { color: var(--gold-dark); text-decoration: underline; }
.info-page a:hover { color: var(--bordeaux); }

/* Page Contact — 2 colonnes : coordonnées + formulaire.
   On élargit au-delà du .info-page (760px) et on neutralise les héritages
   (h2 bordeaux, liens soulignés) pour un rendu propre. */
.info-page--wide { max-width: 1060px; }
.contact-layout { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 2.8rem; align-items: start; margin: .5rem 0 2.4rem; }

/* Colonne coordonnées — cartes discrètes */
.contact-info { display: grid; gap: 1.1rem; }
.contact-block { background: var(--proto-media, #F2EADD); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.3rem 1.4rem; }
.contact-block h2 {
  margin: 0 0 .7rem; font-family: var(--sans); font-size: .78rem; font-weight: 700;
  letter-spacing: .12em; text-transform: uppercase; color: var(--gold-dark);
}
.contact-block p { margin: 0 0 .7rem; color: var(--ink); line-height: 1.55; }
.contact-block p:last-child { margin-bottom: 0; }
.contact-block strong { color: var(--bordeaux); }
.contact-block a { color: var(--bordeaux); text-decoration: none; font-weight: 600; }
.contact-block a:hover { color: var(--gold-dark); text-decoration: underline; }
.contact-muted { color: var(--proto-muted) !important; font-size: .88rem; }

/* Carte formulaire — surface claire, mise en avant */
.contact-form-wrap { background: var(--proto-paper, #FFFDF8); border: 1px solid var(--line); border-radius: var(--radius); padding: 2rem 2rem 2.2rem; box-shadow: 0 8px 30px rgba(90,18,32,.06); }
.contact-form-wrap h2 { margin: 0 0 .3rem; font-family: var(--serif); font-size: 1.7rem; color: var(--bordeaux); }
.contact-form { margin-top: 1.4rem; }
.contact-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.contact-form .field { margin-bottom: 1.1rem; }
.contact-form label { display: block; font-size: .82rem; font-weight: 600; letter-spacing: .01em; color: var(--ink-soft); margin-bottom: .4rem; }
.contact-form input, .contact-form textarea {
  width: 100%; padding: .8rem 1rem; border: 1.5px solid #cfc7ba; border-radius: var(--radius);
  background: #fafafa; font-family: inherit; font-size: .98rem; color: var(--ink); box-sizing: border-box;
  transition: border-color var(--t), box-shadow var(--t), background var(--t);
}
.contact-form textarea { resize: vertical; min-height: 140px; line-height: 1.55; }
.contact-form input:hover, .contact-form textarea:hover { border-color: var(--gold-dark); background: #fff; }
.contact-form input:focus, .contact-form textarea:focus {
  outline: none; border-color: var(--gold); background: #fff; box-shadow: 0 0 0 3px rgba(201,162,39,.22);
}
.contact-submit { margin-top: .3rem; width: 100%; }
.contact-form-legal { margin: 1rem 0 0; font-size: .8rem; line-height: 1.5; }

/* Messages */
.contact-alert { background: #EAF3EA; border: 1px solid #BBD9BB; color: #2C6B34; border-radius: var(--radius); padding: .9rem 1.1rem; margin-bottom: 1.2rem; font-size: .92rem; }
.contact-alert--error { background: #FBEDED; border-color: #E3B7B7; color: #9B2226; }
.contact-alert ul { margin: 0; padding-left: 1.1rem; }

.contact-legal-link { border-top: 1px solid var(--line); padding-top: 1.4rem; margin-top: .4rem; color: var(--ink-soft); font-size: .9rem; }
.contact-legal-link a { color: var(--bordeaux); }

@media (max-width: 880px) {
  .contact-layout { grid-template-columns: 1fr; gap: 1.6rem; }
  .contact-row { grid-template-columns: 1fr; }
  .contact-form-wrap { padding: 1.5rem 1.3rem 1.7rem; }
}

.info-list { list-style: none; padding: 0; margin: 0 0 1rem; }
.info-list li { position: relative; padding-left: 1.6rem; color: var(--ink-soft); line-height: 1.7; margin-bottom: .55rem; }
.info-list li::before { content: ""; position: absolute; left: 0; top: .6em; width: 8px; height: 8px; border-radius: 50%; background: var(--gold); }

.info-steps { list-style: none; counter-reset: step; padding: 0; margin: 0; }
.info-steps > li { counter-increment: step; padding: 1.3rem 0 1.3rem 3.4rem; border-bottom: 1px solid var(--line); position: relative; }
.info-steps > li::before { content: counter(step); position: absolute; left: 0; top: 1.3rem; width: 2.2rem; height: 2.2rem; display: flex; align-items: center; justify-content: center; background: var(--bordeaux); color: var(--cream); border-radius: 50%; font-family: var(--serif); font-weight: 700; font-size: 1.05rem; }
.info-steps > li:last-child { border-bottom: 0; }
.info-steps h3 { color: var(--bordeaux); margin-top: .1rem; }

.info-notice {
  background: var(--cream-2); border: 1px solid var(--line); border-left: 3px solid var(--gold);
  border-radius: var(--radius); padding: 1rem 1.2rem; font-size: .9rem; color: var(--ink-soft); margin-bottom: 2rem;
}
.info-contact { margin-top: 2.2rem; padding-top: 1.4rem; border-top: 1px solid var(--line); color: var(--muted); font-size: .95rem; }
.info-updated { margin-top: 2rem; font-size: .82rem; color: var(--muted); }
.info-cta-row { display: flex; gap: .8rem; flex-wrap: wrap; margin-top: 2rem; }

/* FAQ (accordéon natif <details>) */
.faq { border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary {
  cursor: pointer; list-style: none; padding: 1.15rem .2rem; font-family: var(--serif, inherit);
  font-weight: 600; color: var(--bordeaux); font-size: 1.08rem; display: flex; justify-content: space-between; gap: 1rem; align-items: center;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; color: var(--gold); font-size: 1.5rem; line-height: 1; transition: transform var(--t); }
.faq-item[open] summary::after { content: "−"; }
.faq-item p { padding: 0 .2rem 1.2rem; margin: 0; color: var(--ink-soft); line-height: 1.7; }

/* Checkout : case d'acceptation des CGV */
.co-terms { display: flex; gap: .6rem; align-items: flex-start; margin: 1rem 0 1.2rem; font-size: .88rem; color: var(--ink-soft); line-height: 1.5; cursor: pointer; }
.co-terms input { margin-top: .2rem; width: 18px; height: 18px; accent-color: var(--bordeaux); flex-shrink: 0; }
.co-terms a { color: var(--gold-dark); text-decoration: underline; }
.co-terms a:hover { color: var(--bordeaux); }

/* ============================================================
   Fiche produit — galerie zoom + sections détaillées
   ============================================================ */
.pdp-main { position: relative; cursor: crosshair; }
.pdp-zoom-lens {
  position: absolute; inset: 0; opacity: 0; pointer-events: none; z-index: 2;
  border-radius: inherit; background-repeat: no-repeat; background-color: #fff;
  transition: opacity .15s;
}
.pdp-main.is-zooming .pdp-zoom-lens { opacity: 1; }
.pdp-main.is-zooming img { opacity: 0; } /* on masque l'image nette sous la loupe */
.pdp-zoom-btn {
  position: absolute; right: .8rem; bottom: .8rem; z-index: 3; width: 42px; height: 42px;
  border-radius: 50%; background: rgba(255,255,255,.92); border: 1px solid var(--line);
  display: grid; place-items: center; color: var(--bordeaux); cursor: pointer;
  box-shadow: 0 4px 14px rgba(0,0,0,.12); transition: background var(--t), transform var(--t);
}
.pdp-zoom-btn:hover { background: #fff; transform: scale(1.05); }
.pdp-zoom-btn svg { width: 20px; height: 20px; }

/* Miniatures (boutons) */
.pdp-thumb {
  padding: 0; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
  aspect-ratio: 1; cursor: pointer; background: #fff; transition: border-color var(--t);
}
.pdp-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.pdp-thumb:hover { border-color: var(--gold); }
.pdp-thumb.is-active { border-color: var(--bordeaux); box-shadow: 0 0 0 1px var(--bordeaux); }

/* Lightbox plein écran */
.pdp-lightbox {
  position: fixed; inset: 0; z-index: 200; background: rgba(20,10,14,.92);
  display: grid; place-items: center; padding: 3vw; opacity: 0; transition: opacity .25s;
}
.pdp-lightbox[hidden] { display: none; } /* le hidden HTML doit l'emporter sur display:grid */
.pdp-lightbox.is-open { opacity: 1; }
.pdp-lightbox img { max-width: 92vw; max-height: 88vh; object-fit: contain; border-radius: var(--radius); }
.pdp-lightbox__close {
  position: absolute; top: 1.4rem; right: 1.4rem; width: 46px; height: 46px; border-radius: 50%;
  background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.3); color: #fff;
  display: grid; place-items: center; cursor: pointer;
}
.pdp-lightbox__close:hover { background: rgba(255,255,255,.22); }
.pdp-lightbox__close svg { width: 22px; height: 22px; }
/* Flèches de navigation dans le plein écran */
.pdp-lightbox__nav {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 2;
  width: 54px; height: 54px; border-radius: 50%;
  background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.3); color: #fff;
  display: grid; place-items: center; cursor: pointer; transition: background var(--t), transform var(--t);
}
.pdp-lightbox__nav:hover { background: var(--gold); border-color: var(--gold); color: var(--bordeaux-dk); }
.pdp-lightbox__nav svg { width: 26px; height: 26px; }
.pdp-lightbox__nav--prev { left: 1.6rem; }
.pdp-lightbox__nav--next { right: 1.6rem; }
.pdp-lightbox__nav--prev:hover { transform: translateY(-50%) translateX(-2px); }
.pdp-lightbox__nav--next:hover { transform: translateY(-50%) translateX(2px); }
/* Compteur « 2 / 5 » */
.pdp-lightbox__counter {
  position: absolute; bottom: 1.6rem; left: 50%; transform: translateX(-50%); z-index: 2;
  padding: 6px 16px; border-radius: 999px; background: rgba(0,0,0,.5);
  color: #fff; font-size: .9rem; letter-spacing: .08em; font-variant-numeric: tabular-nums;
}
@media (max-width: 640px) {
  .pdp-lightbox__nav { width: 44px; height: 44px; }
  .pdp-lightbox__nav--prev { left: .6rem; } .pdp-lightbox__nav--next { right: .6rem; }
}

/* Contenu éditorial intégré dans la colonne de droite */
.pdp-editorial { margin-top: 2.2rem; }
.pdp-block { padding: 1.8rem 0; border-top: 1px solid var(--line); }
/* Jauges de dégustation (corps / tanins / acidité / sucrosité), 0–4 segments. */
.pdp-gauges .gauge { display: grid; grid-template-columns: 8rem 1fr; align-items: center; gap: 1rem; margin: .55rem 0; }
.pdp-gauges .gauge__label { font-weight: 700; font-size: .9rem; color: var(--ink); }
.pdp-gauges .gauge__track { display: grid; grid-template-columns: repeat(4, 1fr); gap: .4rem; }
.pdp-gauges .gauge__seg { height: 10px; border-radius: 3px; background: var(--cream-3); border: 1px solid var(--line); }
.pdp-gauges .gauge__seg.is-on { background: var(--bordeaux); border-color: var(--bordeaux); }
/* Accords mets-vins en grille 2 colonnes (mockup) au lieu de la liste à puces. */
.pdp-pairings ul { display: grid; grid-template-columns: repeat(2, 1fr); gap: .7rem; list-style: none; padding: 0; margin: 0; }
.pdp-pairings ul li { padding: .8rem 1rem; background: var(--cream); border: 1px solid var(--line); border-radius: var(--radius); font-size: .92rem; color: var(--ink-soft); }
.pdp-pairings ul li::before { display: none; }
@media (max-width: 480px) { .pdp-pairings ul { grid-template-columns: 1fr; } }
.pdp-block__title {
  color: var(--bordeaux); font-family: var(--serif); font-size: 1.3rem; font-weight: 700;
  margin-bottom: .9rem; display: flex; align-items: center; gap: .55rem; letter-spacing: .2px;
}
.pdp-block__title svg { width: 22px; height: 22px; color: var(--gold-dark); flex-shrink: 0; }
.pdp-prose { color: var(--ink-soft); line-height: 1.85; font-size: 1.01rem; }
.pdp-prose p { margin-bottom: .9rem; }
.pdp-prose p:last-child { margin-bottom: 0; }
.pdp-prose strong { color: var(--ink); }
.pdp-prose ul { list-style: none; padding: 0; margin: .4rem 0; }
.pdp-prose ul li { position: relative; padding-left: 1.4rem; margin-bottom: .5rem; }
.pdp-prose ul li::before { content: ""; position: absolute; left: 0; top: .65em; width: 6px; height: 6px; border-radius: 50%; background: var(--gold); }

/* Bloc « avis du sommelier » : mis en valeur, encadré doré */
.pdp-block--accent {
  background: linear-gradient(180deg, #fffdf7, var(--cream-2));
  border: 1px solid var(--line); border-left: 3px solid var(--gold);
  border-radius: var(--radius); padding: 1.6rem 1.7rem; margin: 1.2rem 0;
}
.pdp-block--accent .pdp-block__title { margin-bottom: .7rem; }

.pdp-advice { list-style: none; padding: 0; margin: 0; display: grid; gap: .7rem; }
.pdp-advice li {
  display: flex; justify-content: space-between; align-items: center; gap: 1rem;
  padding: .85rem 1.1rem; background: var(--cream-2); border-radius: var(--radius);
}
.pdp-advice span { color: var(--muted); }
.pdp-advice strong { color: var(--ink); text-align: right; }

/* -------------------------- Accessibilité --------------------------- */
/* Focus clavier visible et homogène (navigation au clavier / lecteur d'écran).
   Ne s'affiche qu'au focus clavier grâce à :focus-visible, jamais au clic souris. */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
[tabindex]:focus-visible,
[role="button"]:focus-visible,
.btn:focus-visible,
.filter-opt:focus-visible,
.pdp-thumb:focus-visible,
.chip:focus-visible {
  outline: 2px solid var(--gold-dark);
  outline-offset: 2px;
  border-radius: var(--radius);
}

/* Les champs de formulaire conservent leur halo doré existant en plus du liseré. */
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline-offset: 1px;
}

/* ----------------------- Bandeau de consentement -------------------- */
.cookie-consent {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 1200;
  background: var(--ink); color: var(--cream);
  box-shadow: 0 -8px 30px -12px rgba(0,0,0,.5);
  border-top: 2px solid var(--gold);
}
.cookie-consent[hidden] { display: none; }
.cookie-consent__inner {
  max-width: var(--wrap); margin: 0 auto;
  padding: 1rem 1.4rem;
  display: flex; align-items: center; gap: 1.4rem;
  flex-wrap: wrap; justify-content: space-between;
}
.cookie-consent__text { margin: 0; font-size: .92rem; line-height: 1.5; max-width: 62ch; }
.cookie-consent__text a { color: var(--gold-light); text-decoration: underline; }
.cookie-consent__actions { display: flex; gap: .7rem; flex-shrink: 0; }
.cookie-consent__actions .btn { padding: .6rem 1.4rem; }
@media (max-width: 620px) {
  .cookie-consent__inner { flex-direction: column; align-items: stretch; text-align: center; }
  .cookie-consent__actions { justify-content: center; }
}

/* ----------------------- Toast d'ajout au panier -------------------- */
.gw-toast {
  position: fixed; right: 1.4rem; bottom: 1.4rem; z-index: 1300;
  background: var(--ink); color: var(--cream);
  padding: .85rem 1.3rem; border-radius: var(--radius);
  border-left: 3px solid var(--gold);
  box-shadow: 0 12px 34px -12px rgba(0,0,0,.5);
  font-size: .92rem; font-weight: 600;
  opacity: 0; transform: translateY(12px);
  transition: opacity .3s ease, transform .3s ease;
  max-width: min(90vw, 360px);
}
.gw-toast.is-visible { opacity: 1; transform: translateY(0); }
.add-btn.added { background: var(--gold); color: #fff; }
@media (max-width: 620px) {
  .gw-toast { left: 1rem; right: 1rem; bottom: 1rem; text-align: center; max-width: none; }
}

/* --------------------- Disponibilité / stock ------------------------ */
.ribbon--out { background: #6b6b6b !important; color: #fff; }
.pdp-availability { font-size: .9rem; font-weight: 700; margin: .2rem 0 .9rem; display: flex; align-items: center; gap: .4rem; }
.pdp-availability::before { content: ''; width: 9px; height: 9px; border-radius: 50%; display: inline-block; }
.pdp-availability--in { color: #2e7d32; }
.pdp-availability--in::before { background: #2e7d32; }
.pdp-availability--out { color: #b23b3b; }
.pdp-availability--out::before { background: #b23b3b; }

/* ------------------------------ Avis ------------------------------- */
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.reviews-section { margin: 3rem 0 1rem; }
.reviews-section__title { font-family: var(--serif); font-size: 1.9rem; margin-bottom: 1.4rem; }
.reviews-flash { background: #e9f5ea; border: 1px solid #bcdcbf; color: #2e7d32; padding: .8rem 1.1rem; border-radius: var(--radius); margin-bottom: 1.2rem; }
.reviews-list { display: grid; gap: 1.1rem; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); }
.review-card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.1rem 1.3rem; box-shadow: var(--shadow-sm); }
.review-card__head { display: flex; align-items: center; gap: .6rem; margin-bottom: .5rem; }
.review-card__author { font-size: .95rem; color: var(--ink); }
.review-card__body { color: var(--ink-soft); line-height: 1.55; margin: 0; }
.reviews-empty { color: var(--muted); font-style: italic; }
.stars--muted { color: var(--muted); }
.review-form-wrap { margin-top: 1.6rem; }
.review-form-wrap > summary { display: inline-flex; cursor: pointer; list-style: none; }
.review-form-wrap > summary::-webkit-details-marker { display: none; }
.review-form {
  display: flex; flex-direction: column; gap: 1.1rem;
  max-width: 560px; margin-top: 1.2rem; padding: 1.6rem;
  background: var(--cream-2); border-radius: var(--radius); border: 1px solid var(--line);
}
.review-field { display: flex; flex-direction: column; gap: .4rem; }
.review-field__label { font-size: .9rem; font-weight: 700; color: var(--ink); }
.review-form input,
.review-form textarea {
  width: 100%; box-sizing: border-box;
  padding: .7rem .9rem; border: 1px solid var(--line); border-radius: var(--radius);
  font: inherit; background: var(--paper); color: var(--ink);
}
.review-form textarea { resize: vertical; min-height: 110px; }
.review-form input:focus,
.review-form textarea:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(201,162,39,.15); }
.review-form__actions { display: flex; align-items: center; gap: 1rem; flex-wrap: wrap; margin-top: .3rem; }
.reviews-note { color: var(--muted); font-size: .8rem; }

/* Notation par étoiles cliquables : radios masqués, labels en étoiles.
   Ordre DOM inversé (5→1) + row-reverse pour que le survol/sélection
   remplisse toutes les étoiles jusqu'à celle pointée. */
.star-rating { display: inline-flex; flex-direction: row-reverse; justify-content: flex-end; gap: .15rem; }
.star-rating input { position: absolute; opacity: 0; width: 0; height: 0; }
.star-rating label {
  font-size: 1.8rem; line-height: 1; color: #d9cdb4; cursor: pointer;
  transition: color .12s ease;
}
.star-rating label:hover,
.star-rating label:hover ~ label,
.star-rating input:checked ~ label { color: var(--gold); }
.star-rating input:focus-visible + label { outline: 2px solid var(--gold-dark); outline-offset: 2px; border-radius: 3px; }

/* =====================================================================
   PROTOTYPE « Catalogue et fiches » — reproduction fidèle (.cat2 / .pdp2)
   Valeurs reprises 1:1 de la maquette Claude Design.
   ===================================================================== */

/* Fond des pages catalogue + fiche, façon prototype */
.cat2-page { background: var(--proto-page); }
.cat2-wrap { max-width: 1360px; margin: 0 auto; padding: 36px 40px 80px; width: 100%; }
.cat2-crumb { font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: #8A7A63; }
.cat2-crumb a { color: #8A7A63; }
.cat2-crumb a:hover { color: var(--bordeaux); }

/* En-tête catalogue : titre + compteur / tri */
.cat2-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 1.5rem;
  padding: 18px 0 26px; border-bottom: 1px solid var(--proto-line2); flex-wrap: wrap; }
.cat2-head__title { margin: 0; font-family: var(--serif); font-size: 46px; font-weight: 500; color: var(--proto-ink); line-height: 1.02; }
.cat2-head__count { font-size: 14px; color: var(--proto-soft); margin-top: 10px; }
.cat2-sort { display: flex; gap: 10px; flex-wrap: wrap; }
.cat2-sort a, .cat2-sort button { display: inline-flex; align-items: center; height: 44px; padding: 0 16px; border: 1px solid var(--proto-line3);
  font-size: 13px; color: var(--proto-text); background: transparent; cursor: pointer; font-family: var(--sans);
  transition: border-color var(--t), background var(--t), color var(--t); }
.cat2-sort a:hover, .cat2-sort button:hover { border-color: var(--bordeaux); }
.cat2-sort a.is-active, .cat2-sort button.is-active { background: var(--bordeaux); border-color: var(--bordeaux); color: var(--proto-page); }

/* Ligne filtres couleur */
.cat2-filters { display: flex; gap: 10px; padding: 22px 0 30px; flex-wrap: wrap; align-items: center; }
.cat2-filters__label { font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: #8A7A63; margin-right: 6px; }
.cat2-chip { display: inline-flex; align-items: center; gap: 8px; height: 38px; padding: 0 18px; font-size: 13px;
  cursor: pointer; border: 1px solid var(--proto-line3); background: transparent; color: var(--proto-text); transition: all var(--t); }
.cat2-chip:hover { border-color: var(--bordeaux); }
.cat2-chip.is-active { border-color: var(--bordeaux); background: var(--bordeaux); color: var(--proto-page); font-weight: 600; }
.cat2-chip__dot { width: 10px; height: 10px; border-radius: 50%; border: 1px solid rgba(0,0,0,.12); }
.cat2-chip__dot--red { background: var(--bordeaux); }
.cat2-chip__dot--white { background: #EBD9A0; }
.cat2-chip__dot--rose { background: #E4A0A8; }
.cat2-chip__dot--sparkling { background: #D9C27A; }

/* Grille + carte produit (prototype) — grille définie plus bas (avec sidebar) */
.pcard { display: flex; flex-direction: column; background: var(--proto-paper); border: 1px solid var(--proto-line);
  transition: transform var(--t), border-color var(--t), box-shadow var(--t); }
.pcard:hover { transform: translateY(-4px); border-color: var(--gold); box-shadow: 0 26px 50px -24px rgba(43,18,22,.4); }
.pcard__media { position: relative; aspect-ratio: 3/4; background: var(--proto-media); overflow: hidden; display: block; }
.pcard__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 42%;
  transition: transform .55s cubic-bezier(.22,.61,.36,1); }
.pcard:hover .pcard__media img { transform: scale(1.06); }
/* Voile dégradé bas pour poser le badge type et donner du relief */
.pcard__shade { position: absolute; inset: auto 0 0 0; height: 42%; pointer-events: none;
  background: linear-gradient(to top, rgba(43,18,22,.28), transparent); opacity: .9; }
/* Badge type coloré selon la couleur du vin (pastille + libellé) */
.pcard__type { position: absolute; bottom: 12px; left: 12px; z-index: 2; display: inline-flex; align-items: center; gap: 7px;
  padding: 6px 12px; background: rgba(255,253,248,.94); border-radius: 999px;
  font-size: 10px; letter-spacing: .1em; text-transform: uppercase; font-weight: 700; color: #5A4E3F;
  box-shadow: 0 4px 12px -6px rgba(0,0,0,.3); }
.pcard__type::before { content: ''; width: 9px; height: 9px; border-radius: 50%; border: 1px solid rgba(0,0,0,.12); }
.pcard__type--red::before       { background: #7A1E2B; }
.pcard__type--white::before      { background: #EBD9A0; }
.pcard__type--rose::before       { background: #E4A0A8; }
.pcard__type--sparkling::before  { background: #D9C27A; }
.pcard__ribbon { position: absolute; top: 12px; right: 12px; z-index: 2; padding: 5px 11px; background: var(--bordeaux); color: var(--proto-page);
  font-size: 10px; letter-spacing: .1em; text-transform: uppercase; font-weight: 700; border-radius: 4px;
  box-shadow: 0 6px 14px -6px rgba(90,18,32,.7); }
.pcard__ribbon--gold { background: linear-gradient(135deg, var(--gold), var(--gold-dark)); color: var(--bordeaux-dk); box-shadow: 0 6px 14px -6px rgba(201,162,39,.75); }
.pcard__ribbon--out { background: #6b6b6b; }
.pcard__body { display: flex; flex-direction: column; gap: 8px; padding: 18px 18px 20px; flex: 1; }
.pcard__eyebrow { font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--proto-muted); font-weight: 600; }
.pcard__name { margin: 0; font-family: var(--serif); font-size: 21px; line-height: 1.2; font-weight: 500; color: var(--proto-ink); min-height: 50px; }
.pcard__name a { color: var(--proto-ink); transition: color var(--t); }
.pcard__name a:hover { color: var(--bordeaux); }
.pcard__note { font-size: 13.5px; line-height: 1.5; color: var(--proto-soft); min-height: 40px; margin: 0;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.pcard__foot { display: flex; align-items: baseline; justify-content: space-between; margin-top: auto;
  padding-top: 12px; border-top: 1px solid #EFE6D6; }
.pcard__price { font-family: var(--serif); font-size: 24px; font-weight: 700; color: var(--bordeaux); line-height: 1; }
.pcard__litre { font-size: 11.5px; color: var(--proto-muted); }
.pcard__add { min-height: 44px; padding: 6px 10px; margin-top: 8px; width: 100%; border: 1px solid var(--bordeaux); background: transparent;
  color: var(--bordeaux); font-family: var(--sans); font-size: 13px; font-weight: 600; letter-spacing: .08em;
  text-transform: uppercase; cursor: pointer; transition: background var(--t), color var(--t); }
.pcard__add:hover { background: var(--bordeaux); color: var(--proto-page); }
.pcard__add:focus-visible { outline: 2px solid var(--gold-dark); outline-offset: 2px; }
.pcard__add:disabled { opacity: .5; cursor: not-allowed; }

/* ---------- Fiche produit (prototype) ---------- */
.pdp2-crumb { display: flex; align-items: center; gap: 8px; font-size: 11px; letter-spacing: .18em;
  text-transform: uppercase; color: #8A7A63; padding-bottom: 14px; margin-bottom: 20px;
  border-bottom: 1px solid var(--proto-line2); flex-wrap: wrap; }
.pdp2-crumb a { color: #8A7A63; transition: color var(--t); }
.pdp2-crumb a:hover { color: var(--bordeaux); }
.pdp2-crumb span { opacity: .55; }
.pdp2-crumb .cur { color: #4A4038; opacity: 1; }
.pdp2-top { display: grid; grid-template-columns: 0.85fr 1fr; gap: 56px; align-items: start; }

/* Galerie limitée à la résolution native des photos (évite l'agrandissement flou). */
.pdp2-gallery { display: flex; flex-direction: column; gap: 14px; position: sticky; top: 100px; width: 100%; max-width: 480px; }
.pdp2-main { position: relative; aspect-ratio: 4/5; background: var(--proto-media); overflow: hidden; cursor: zoom-in; }
.pdp2-main img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 45%; }
.pdp2-badge { position: absolute; top: 18px; left: 18px; padding: 6px 12px; background: var(--bordeaux); color: var(--proto-page);
  font-size: 10px; letter-spacing: .16em; text-transform: uppercase; z-index: 3; }
.pdp2-thumbs { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; }
.pdp2-thumb { aspect-ratio: 1/1; overflow: hidden; background: var(--proto-media); cursor: pointer; border: 1px solid var(--proto-line2); padding: 0; }
.pdp2-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.pdp2-thumb:hover { border-color: var(--proto-gold); }
.pdp2-thumb.is-active { border: 2px solid var(--bordeaux); }

.pdp2-info { display: flex; flex-direction: column; gap: 30px; padding-top: 4px; }
.pdp2-eyebrow { font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: var(--proto-gold); font-weight: 600;
  display: inline-flex; align-items: center; gap: 10px; }
.pdp2-eyebrow::before { content: ''; width: 26px; height: 2px; background: var(--gold); border-radius: 2px; }
.pdp2-title { margin: 0; font-family: var(--serif); font-size: clamp(2.4rem, 4vw, 3rem); line-height: 1.04; font-weight: 500; color: var(--proto-ink); }
.pdp2-meta { display: flex; align-items: center; gap: 14px; font-size: 15.5px; color: var(--proto-soft); flex-wrap: wrap; }
.pdp2-meta__year { font-family: var(--serif); font-size: 26px; color: var(--bordeaux); }
.pdp2-sep { width: 1px; height: 18px; background: var(--proto-line3); }

.pdp2-price { display: flex; align-items: flex-end; gap: 16px; padding: 22px 20px;
  background: rgba(242,234,221,.45); border: 1px solid var(--proto-line2); flex-wrap: wrap; }
.pdp2-price__amount { font-size: 36px; font-weight: 700; color: var(--bordeaux); line-height: 1; }
.pdp2-price__amount del { font-size: 20px; color: var(--proto-muted); font-weight: 400; margin-right: 10px; }
.pdp2-price__litre { font-size: 14px; color: #8A7A63; padding-bottom: 4px; }

.pdp2-buy { display: flex; gap: 14px; align-items: center; }
.pdp2-qty { display: flex; align-items: center; border: 1px solid var(--proto-line3); height: 54px; }
.pdp2-qty button { width: 46px; height: 100%; text-align: center; color: var(--proto-soft); font-size: 18px; background: transparent; }
.pdp2-qty button:hover { color: var(--bordeaux); }
.pdp2-qty input { width: 44px; height: 100%; text-align: center; font-weight: 600; border: 0; background: transparent;
  color: var(--proto-ink); font-family: var(--sans); }
.pdp2-add { flex: 1; height: 54px; border: none; background: var(--bordeaux); color: var(--proto-page); font-family: var(--sans);
  font-size: 14px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; cursor: pointer;
  box-shadow: 0 8px 20px -8px rgba(122,30,43,.4); transition: background var(--t), box-shadow var(--t), transform var(--t); }
.pdp2-add:hover { background: #911F2F; box-shadow: 0 12px 28px -8px rgba(122,30,43,.55); transform: translateY(-2px); }
.pdp2-add:focus-visible { outline: 2px solid var(--gold-dark); outline-offset: 2px; }
.pdp2-add:disabled { opacity: .5; cursor: not-allowed; box-shadow: none; transform: none; }
.pdp2-thumb { transition: border-color var(--t), transform var(--t); }
.pdp2-thumb:hover { transform: translateY(-2px); }
.pdp2-shipline { font-size: 14px; color: var(--proto-soft); display: flex; align-items: center; gap: 8px; }
.pdp2-shipline::before { content: '✓'; color: #2e7d32; font-weight: 700; }
.pdp2-minorder { margin-top: 6px; font-size: 12.5px; color: var(--proto-muted); }

/* Message de confiance mis en valeur : paiement après réception */
.pdp2-trust { display: flex; gap: 1rem; align-items: flex-start; padding: 1.3rem 1.5rem;
  background: linear-gradient(135deg, rgba(122,30,43,.06), rgba(201,162,74,.08));
  border: 1px solid var(--proto-line); border-left: 3px solid var(--bordeaux); }
.pdp2-trust__icon { flex: none; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center;
  background: var(--bordeaux); color: var(--gold-light); }
.pdp2-trust__icon svg { width: 22px; height: 22px; }
.pdp2-trust__title { display: block; font-family: var(--serif); font-size: 1.35rem; line-height: 1.15; color: var(--bordeaux); }
.pdp2-trust__text { margin: .35rem 0 0; font-size: .95rem; line-height: 1.55; color: var(--proto-text); font-weight: 600; }

/* Libellé de section commun : filet doré + majuscules espacées (hiérarchie) */
.pdp2-panel__label, .pdp2-block__label { font-size: 12px; letter-spacing: .18em; text-transform: uppercase; color: var(--gold-dark);
  font-weight: 700; display: inline-flex; align-items: center; gap: 9px; }
.pdp2-panel__label::before, .pdp2-block__label::before { content: ''; width: 18px; height: 2px; background: var(--gold); border-radius: 2px; }

/* Panneau notes de dégustation + jauges (fond crème chaud, accent gauche doré) */
.pdp2-panel { display: flex; flex-direction: column; gap: 16px; padding: 26px 28px; background: var(--proto-paper);
  border: 1px solid var(--proto-line); border-left: 3px solid var(--gold); }
.pdp2-tasting { margin: 0; font-family: var(--serif); font-size: 23px; line-height: 1.5; color: var(--proto-ink); }
.pdp2-scales { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; padding-top: 10px; border-top: 1px solid var(--proto-line2); }
.pdp2-scale { display: flex; flex-direction: column; gap: 8px; }
.pdp2-scale__label { font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--proto-soft); font-weight: 600; }
.pdp2-scale__bars { display: flex; gap: 4px; }
.pdp2-scale__bars i { flex: 1; height: 6px; border-radius: 3px; background: var(--proto-line2); }
.pdp2-scale__bars i.on { background: var(--bordeaux); }

/* Accords mets-vins en grille */
.pdp2-block { display: flex; flex-direction: column; gap: 14px; }
.pdp2-pairings { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.pdp2-pairings div { display: flex; align-items: center; gap: 10px; padding: 15px 16px; background: var(--proto-paper);
  border: 1px solid var(--proto-line); font-size: 15px; color: var(--proto-text); transition: background var(--t), border-color var(--t); }
.pdp2-pairings div::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--gold); flex: none; }
.pdp2-pairings div:hover { background: var(--proto-media); border-color: var(--proto-line3); }
.pdp2-service { font-size: 14px; color: var(--proto-soft); }

/* Specs 2 colonnes (lignes alternées pour lisibilité) */
.pdp2-specs { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--proto-line2); border: 1px solid var(--proto-line2); }
.pdp2-specs > div { background: var(--proto-page); padding: 17px 18px; display: flex; flex-direction: column; gap: 5px; }
.pdp2-specs > div:nth-child(4n+1), .pdp2-specs > div:nth-child(4n+2) { background: var(--proto-paper); }
.pdp2-specs__k { font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--proto-muted); }
.pdp2-specs__v { font-size: 16px; color: var(--proto-ink); font-weight: 500; }

/* Dans la même famille */
.pdp2-related { padding-top: 64px; }
.pdp2-related__head { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem;
  padding-bottom: 22px; border-bottom: 1px solid var(--proto-line2); }
.pdp2-related__head h2 { margin: 0; font-family: var(--serif); font-size: 32px; font-weight: 500; color: var(--proto-ink); }
.pdp2-related__all { font-size: 13px; color: var(--bordeaux); letter-spacing: .06em; text-transform: uppercase; }
.pdp2-related__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; padding-top: 26px; }
.pdp2-rel { display: flex; gap: 16px; align-items: center; background: var(--proto-paper); border: 1px solid var(--proto-line); padding: 14px;
  transition: border-color var(--t); }
.pdp2-rel:hover { border-color: var(--gold); }
.pdp2-rel__media { width: 76px; height: 100px; flex: none; background: var(--proto-media); overflow: hidden; }
.pdp2-rel__media img { width: 100%; height: 100%; object-fit: cover; }
.pdp2-rel__region { font-size: 10px; letter-spacing: .14em; text-transform: uppercase; color: var(--proto-muted); }
.pdp2-rel__name { font-family: var(--serif); font-size: 17px; line-height: 1.2; color: var(--proto-ink); }
.pdp2-rel__price { font-size: 15px; font-weight: 600; color: var(--bordeaux); }

/* Layout catalogue : sidebar filtres (gauche) + grille (droite) */
.cat2-layout { display: grid; grid-template-columns: 250px 1fr; gap: 40px; align-items: start; margin-top: 8px; }
.cat2-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px 24px; }
.cat2-grid--4 { grid-template-columns: repeat(4, 1fr); }  /* home : pleine largeur, sans sidebar */

/* Toolbar (bouton filtres mobile + tri) dans l'en-tête */
.cat2-toolbar { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.cat2-filters-btn { display: none; align-items: center; gap: 8px; height: 44px; padding: 0 16px;
  border: 1px solid var(--proto-line3); background: transparent; font-family: var(--sans); font-size: 13px; color: var(--proto-text); cursor: pointer; }
.cat2-filters-btn svg { width: 18px; height: 18px; }
.cat2-filters-btn:hover { border-color: var(--bordeaux); }
.cat2-sortsel { position: relative; display: inline-flex; align-items: center; gap: 10px; font-size: 13px; color: var(--proto-soft); }
.cat2-sortsel select { appearance: none; -webkit-appearance: none; height: 44px; padding: 0 40px 0 16px;
  border: 1px solid var(--proto-line3); background: var(--proto-paper); font-family: var(--sans); font-size: 13px; color: var(--proto-text); cursor: pointer; }
.cat2-sortsel select:hover { border-color: var(--bordeaux); }
.cat2-sortsel__caret { position: absolute; right: 14px; width: 16px; height: 16px; color: #8A7A63; pointer-events: none; }

/* Sidebar filtres — palette prototype */
.cat2-sidebar.filters { position: sticky; top: 100px; background: var(--proto-paper); border: 1px solid var(--proto-line); border-radius: 0; padding: 22px 20px; }
.cat2-sidebar .filters__title { color: var(--bordeaux); }
.cat2-sidebar .filter-group { padding: 16px 0; border-bottom: 1px solid var(--proto-line2); }
.cat2-sidebar .filter-group:last-child { border-bottom: 0; padding-bottom: 0; }
.cat2-sidebar .filter-group h5 { font-family: var(--sans); font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: #8A7A63; margin-bottom: 10px; }
.cat2-sidebar .filter-opt { display: block; width: 100%; text-align: left; padding: 8px 10px; margin: 2px 0;
  font-family: var(--sans); font-size: 14px; color: var(--proto-text); background: transparent; border: 0; cursor: pointer; transition: background var(--t), color var(--t); }
.cat2-sidebar .filter-opt:hover { background: var(--proto-media); color: var(--bordeaux); }
.cat2-sidebar .filter-opt.is-active { background: var(--bordeaux); color: var(--proto-page); font-weight: 600; }
.cat2-sidebar .filter-opt.is-active.filter-opt--dot::before { border-color: rgba(255,255,255,.5); }

/* Responsive prototype */
@media (max-width: 1200px) { .cat2-grid { grid-template-columns: repeat(2, 1fr); } .cat2-grid--4 { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 900px)  { .cat2-grid--4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 1080px) { .pdp2-related__grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 900px)  {
  .pdp2-top { grid-template-columns: 1fr; gap: 32px; } .pdp2-gallery { position: static; }
  .cat2-layout { grid-template-columns: 1fr; }
  .cat2-filters-btn { display: inline-flex; }
  /* Sidebar en panneau coulissant */
  .cat2-sidebar.filters { position: fixed; top: 0; left: 0; bottom: 0; z-index: 70; width: 300px; max-width: 85vw;
    transform: translateX(-100%); transition: transform .28s cubic-bezier(.22,.61,.36,1); overflow-y: auto; box-shadow: var(--shadow); }
  .cat2-wrap.filters-open .cat2-sidebar.filters { transform: translateX(0); }
  .cat2-wrap.filters-open::before { content: ''; position: fixed; inset: 0; z-index: 69; background: rgba(26,20,22,.55); }
  .cat2-sidebar .filters__close { display: grid; }
}
@media (max-width: 680px)  { .cat2-wrap { padding: 24px 18px 60px; } .cat2-grid { grid-template-columns: 1fr 1fr; gap: 18px 14px; }
  .cat2-head__title { font-size: 34px; } .pdp2-title { font-size: 32px; } .pdp2-thumbs { grid-template-columns: repeat(5, 1fr); }
  .pdp2-scales { grid-template-columns: 1fr; } .pdp2-pairings { grid-template-columns: 1fr; } .pdp2-related__grid { grid-template-columns: 1fr; } }

/* =====================================================================
   POLISH RESPONSIVE MOBILE — home (tablette ≤700 / mobile ≤560 / ≤480)
   ===================================================================== */

/* Grille coups de cœur 4 col : cascade explicite */
@media (max-width: 700px) { .cat2-grid--4 { grid-template-columns: 1fr 1fr; gap: 18px 14px; } }
@media (max-width: 440px) { .cat2-grid--4 { grid-template-columns: 1fr; } }

@media (max-width: 560px) {
  /* Régions : typo + hauteur adaptées */
  .region-card { min-height: 200px; padding: 1.6rem 1.4rem; }
  .region-card__name { font-size: 1.5rem; }
  /* Vin du mois : prix promo + titre au clamp */
  .offer-price__promo { font-size: clamp(2rem, 7vw, 3rem); }
  .offer-card__title { font-size: clamp(1.8rem, 6vw, 2.4rem); }
  /* Accords : padding resserré, image plus courte */
  .home-pairings { padding: 1.8rem; gap: 1.4rem; }
  .home-pairings__media { height: 220px; }
  /* Carrousel avis : titre/flèches */
  .rev-carousel__title { font-size: clamp(1.6rem, 6vw, 2.2rem); }
}

@media (max-width: 480px) {
  /* Hero : eyebrow filet plus court, chiffres empilés (fini le border-left serré) */
  .hero-badge { font-size: .66rem; letter-spacing: .2em; }
  .hero-badge::before { width: 20px; }
  .hero-trust { flex-direction: column; gap: .8rem; padding-top: 1rem; }
  .hero-trust div + div { border-left: 0; border-top: 1px solid rgba(255,255,255,.14); padding-left: 0; padding-top: .8rem; }
  .hero-trust b { font-size: 1.6rem; }
  /* Chips accords compactes */
  .dish-chip { height: 38px; padding: 0 14px; font-size: .78rem; }
  /* Newsletter : champ + bouton confortables empilés */
  .news-form input, .news-form button { width: 100%; }
}

/* Bouton retour en haut */
.to-top {
  position: fixed; right: clamp(1rem, 3vw, 2rem); bottom: clamp(1rem, 3vw, 2rem); z-index: 90;
  width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--gold);
  background: var(--bordeaux); color: var(--gold-light); cursor: pointer;
  display: grid; place-items: center; box-shadow: 0 10px 26px -10px rgba(43,18,22,.6);
  opacity: 0; visibility: hidden; transform: translateY(12px);
  transition: opacity var(--t), transform var(--t), visibility var(--t), background var(--t);
}
.to-top.is-visible { opacity: 1; visibility: visible; transform: translateY(0); }
.to-top:hover { background: #911F2F; transform: translateY(-3px); }
.to-top svg { width: 22px; height: 22px; }
@media (max-width: 560px) { .to-top { width: 44px; height: 44px; } }

/* =====================================================================
   RESPONSIVE MOBILE CONSOLIDÉ — 80% du trafic est smartphone.
   Rattrape tous les gaps sous 900px (le breakpoint principal était trop haut).
   ===================================================================== */

/* ---------- Tablette / petit écran ≤ 620px ---------- */
@media (max-width: 620px) {
  /* PANIER — la grille 5 col déborde : on empile (le tunnel d'achat est critique) */
  .cart-row { grid-template-columns: 72px 1fr; gap: .6rem 1rem; padding: 1rem; align-items: start; }
  .cart-row img { width: 72px; height: 72px; grid-row: span 2; }
  .cart-row > div { grid-column: 2; }
  .cart-qty { grid-column: 2; justify-self: start; margin-top: .2rem; }
  .cart-row .c-price { grid-column: 1 / -1; justify-self: start; margin-top: .3rem; }
  .cart-row .c-remove { position: absolute; top: .6rem; right: .6rem; }
  .cart-row { position: relative; }
  /* Résumé panier/checkout : ne plus coller en haut (couvrait les articles) */
  .summary { position: static; top: auto; margin-top: 1.5rem; }
}

/* ---------- Mobile ≤ 480px ---------- */
@media (max-width: 480px) {
  /* HEADER — tout doit tenir dans le viewport (le burger débordait à droite).
     Logo réduit, slogan masqué, gaps resserrés, aucune icône ne dépasse. */
  .header-inner { gap: .5rem; min-height: 64px; flex-wrap: nowrap; }
  .logo { gap: .5rem; min-width: 0; }                    /* laisse le logo rétrécir */
  .logo-mark { width: 40px; height: 40px; flex: none; }
  .logo-text b { font-size: 1.15rem; letter-spacing: .3px; }
  .logo-text span, .logo-slogan { display: none; }       /* slogan masqué sur petit écran */
  .header-actions { gap: .1rem; padding-right: 0; flex: none; }
  .header-actions .icon-btn { width: 38px; height: 38px; }

  /* HERO — supprimer les débordements des éléments en offset négatif */
  .hero-featured-card { position: static; width: 100%; margin-top: .9rem; right: auto; bottom: auto; }
  .hero-figure { max-width: 100%; margin: 0 auto; }
  .hero-carousel { max-width: 100%; }
  .hero-figure__logo { display: none; }                /* logo flottant : masqué sur mobile (chevauchait le carrousel) */
  .hero-figure::before { display: none; }              /* cadre offset décoratif */
  .hero-trust { flex-direction: column; gap: .7rem; padding-top: 1rem; }
  .hero-trust div + div { border-left: 0; border-top: 1px solid rgba(255,255,255,.14); padding-left: 0; padding-top: .7rem; }
  .hero-trust b { font-size: 1.55rem; }

  /* SPLIT (section maison) — le tag en offset négatif débordait */
  .split-media .tag { position: static; margin-top: .8rem; display: inline-flex; gap: .5rem; align-items: baseline; }

  /* PAR COULEUR — passer en 1 colonne, titre lisible */
  .home-colours { grid-template-columns: 1fr; gap: .8rem; }
  .colour-card { aspect-ratio: 16/10; }                /* moins haut en pleine largeur */
  .colour-card__label { font-size: 1.5rem; }

  /* RÉGIONS — hauteur + typo adaptées */
  .region-card { min-height: auto; padding: 1.5rem 1.4rem; }
  .region-card__name { font-size: 1.5rem; }

  /* ACCORDS — image plus courte (fini le 320px fixe) */
  .home-pairings__media { width: 100%; height: 200px; }
  .dish-chip { height: 40px; padding: 0 14px; font-size: .8rem; }

  /* CATALOGUE — 2 col serrées (standard e-commerce mobile) + titre au clamp */
  .cat2-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .pcard__name { font-size: 17px; min-height: 44px; }
  .pcard__body { padding: 12px 12px 14px; }
  /* Prix : empilé pour que « 29,90 CHF » reste sur une seule ligne */
  .pcard__foot { flex-direction: column; align-items: flex-start; gap: 2px; }
  .pcard__price { font-size: 20px; white-space: nowrap; }
  /* Bouton : moins d'interlettrage pour tenir sans casse maladroite */
  .pcard__add { font-size: 12px; letter-spacing: .04em; padding: 8px 8px; }
  .cat2-head__title { font-size: clamp(26px, 8vw, 40px); }
  .cat2-head { gap: 1rem; }
  .cat2-sort { width: 100%; flex-wrap: wrap; }

  /* FICHE — specs + thumbs plus lisibles en 1 colonne */
  .pdp2-specs { grid-template-columns: 1fr; }
  .pdp2-scales { grid-template-columns: repeat(3, 1fr); }

  /* NEWSLETTER — champ + bouton pleine largeur (déjà partiel) */
  .news-form { flex-direction: column; }
  .news-form input, .news-form button { width: 100%; }

  /* Cibles tactiles ≥ 44px (accessibilité mobile) */
  .cat2-chip { height: 44px; }
  .filter-opt { min-height: 44px; display: flex; align-items: center; }
}
