/* ═══════════════════════════════════════════════════════════════
   SCH — PAGE BILLET V3 « SOUVIENS-TOI DEMAIN »
   Extension directe du design system de la home (assets/home.css) :
   mêmes tokens clair sable / or champagne, mêmes composants.
   Scopé .template--product — mobile-first, zéro dépendance externe.
   ═══════════════════════════════════════════════════════════════ */

.template--product {
  --pd-bg: #FBFAF6;
  --pd-bg-soft: #F4EFE2;
  --pd-panel: #FFFFFF;
  --pd-panel-2: #FFFCF5;
  --pd-line: rgba(161, 120, 38, 0.16);
  --pd-line-strong: rgba(161, 120, 38, 0.28);
  --pd-gold: #B88A2B;
  --pd-gold-hi: #9D7423;
  --pd-gold-deep: #745016;
  --pd-cream: #17130C;
  --pd-muted: rgba(23, 19, 12, 0.68);
  --pd-faint: rgba(23, 19, 12, 0.42);
  --pd-green: #258657;
  --pd-radius: 8px;
  --pd-pad-x: clamp(16px, 4.5vw, 40px);
  --pd-section: clamp(44px, 7vw, 82px);
  background: var(--pd-bg);
  color: var(--pd-cream);
}
.template--product main.pd {
  background: var(--pd-bg);
  max-width: 100vw;
  overflow-x: clip;
}
.template--product ::selection { background: var(--pd-gold); color: #FFFDF7; }

.pd-sr {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
.pd-anchor { position: relative; top: -84px; display: block; height: 0; }

/* ── Conteneur & primitives (identiques à la home) ─────────────── */
.pd-wrap { max-width: 1280px; margin: 0 auto; padding: 0 var(--pd-pad-x); }
.pd-kicker {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 10px; font-weight: 800; letter-spacing: 3.6px;
  text-transform: uppercase; color: var(--pd-gold);
}
.pd-h2 {
  font-family: var(--font-display, 'Bebas Neue', sans-serif);
  font-size: clamp(28px, 4.8vw, 44px);
  line-height: 1.05; letter-spacing: 1.4px;
  color: var(--pd-cream); margin: 8px 0 0;
}
.pd-sub { font-size: clamp(13px, 1.6vw, 15px); line-height: 1.7; color: var(--pd-muted); margin: 14px auto 0; max-width: 560px; }
.pd-head { margin-bottom: clamp(18px, 4vw, 32px); text-align: center; }
.pd-head--center { text-align: center; }

/* Boutons (mêmes valeurs que .hm-btn) */
.pd-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  min-height: 48px; padding: 0 24px; border-radius: 9px;
  font-size: 11px; font-weight: 800; letter-spacing: 1.8px; text-transform: uppercase;
  font-family: var(--font-body, 'Inter', sans-serif);
  cursor: pointer; text-decoration: none; border: none;
  transition: transform 0.22s ease, box-shadow 0.22s ease, background 0.22s ease, border-color 0.22s ease, color 0.22s ease;
  -webkit-tap-highlight-color: transparent;
}
.pd-btn--gold {
  background: linear-gradient(180deg, #EDD586 0%, #C9A84C 44%, #9D7423 100%);
  color: #17130C;
  box-shadow: 0 8px 20px rgba(161, 120, 38, 0.16), inset 0 1px 0 rgba(255, 255, 255, 0.42);
}
.pd-btn--gold:hover { transform: translateY(-1px); box-shadow: 0 12px 24px rgba(161, 120, 38, 0.20), inset 0 1px 0 rgba(255, 255, 255, 0.42); }
.pd-btn--gold:active { transform: translateY(0); }
.pd-btn--gold:disabled { opacity: 0.55; cursor: not-allowed; transform: none; }
.pd-btn--ghost {
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid var(--pd-line-strong);
  color: var(--pd-cream);
  box-shadow: 0 4px 12px rgba(35, 27, 12, 0.04);
}
.pd-btn--ghost:hover { border-color: var(--pd-gold); color: var(--pd-gold-deep); background: rgba(201, 168, 76, 0.08); }
.pd-btn svg { flex-shrink: 0; }

/* Révélation au scroll (activée seulement si JS pose .pd-io) */
html.pd-io .template--product .pd-r {
  opacity: 0; transform: translateY(22px);
  transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1), transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}
html.pd-io .template--product .pd-r.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html.pd-io .template--product .pd-r { opacity: 1 !important; transform: none !important; transition: none !important; }
}

/* ═══════════════════════════════════════════════════════════════
   HEADER — blanc premium (même rendu que la home scrollée)
   ═══════════════════════════════════════════════════════════════ */
.template--product .site-header,
.template--product .site-header.scrolled {
  background: rgba(255, 255, 255, 0.93) !important;
  -webkit-backdrop-filter: blur(14px) saturate(1.2);
  backdrop-filter: blur(14px) saturate(1.2);
  border-bottom: 1px solid rgba(161, 120, 38, 0.14) !important;
  box-shadow: 0 10px 30px rgba(35, 27, 12, 0.08) !important;
}
.template--product .site-header .logo-sub { color: rgba(23, 19, 12, 0.56); }
.template--product .site-header .logo-pipe { color: rgba(23, 19, 12, 0.24); }
.template--product .site-header .nav-link,
.template--product .site-header .nav-btn-infos { color: rgba(23, 19, 12, 0.76); }
.template--product .site-header .nav-link:hover,
.template--product .site-header .nav-btn-infos:hover { color: var(--pd-gold-deep); }
.template--product .site-header .nav-cart { color: var(--pd-cream); }
.template--product .site-header .header-login-chip {
  border-color: rgba(161, 120, 38, 0.24);
  background: rgba(255, 255, 255, 0.72);
  color: rgba(23, 19, 12, 0.84);
}
.template--product .site-header .header-login-chip:hover { background: var(--pd-gold); border-color: var(--pd-gold); color: #17130C; }

/* Nav mobile claire (même rendu que la home) */
.template--product .mobile-nav {
  background: rgba(255, 255, 255, 0.94);
  -webkit-backdrop-filter: blur(16px) saturate(1.15);
  backdrop-filter: blur(16px) saturate(1.15);
  border-top: 1px solid rgba(161, 120, 38, 0.16);
  box-shadow: 0 -10px 30px rgba(35, 27, 12, 0.10);
}
.template--product .mobile-nav-item { color: rgba(23, 19, 12, 0.56); }
.template--product .mobile-nav-item:hover,
.template--product .mobile-nav-item.active { color: var(--pd-gold-deep); }
.template--product .mobile-nav-cart { background: var(--pd-gold); color: #17130C; }
.template--product .mobile-nav-cart:hover { background: #D8B960; color: #17130C; }

/* ═══════════════════════════════════════════════════════════════
   1. HERO
   ═══════════════════════════════════════════════════════════════ */
.pd-hero {
  position: relative;
  display: flex; align-items: center; justify-content: center;
  min-height: clamp(300px, 46svh, 440px);
  overflow: hidden;
  isolation: isolate;
  text-align: center;
  background:
    linear-gradient(90deg, rgba(184, 138, 43, 0.10) 0, rgba(184, 138, 43, 0.10) 1px, transparent 1px, transparent 100%),
    linear-gradient(180deg, #FFFFFF 0%, #FFF9EA 58%, var(--pd-bg) 100%);
  background-size: 72px 100%, auto;
  border-bottom: 1px solid rgba(161, 120, 38, 0.12);
}
.pd-hero-scrim {
  position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.72) 0%, rgba(255, 255, 255, 0.28) 56%, rgba(251, 250, 246, 0.92) 100%),
    linear-gradient(135deg, rgba(184, 138, 43, 0.10) 0%, transparent 42%, rgba(23, 19, 12, 0.04) 100%);
}
.pd-hero-inner {
  width: 100%; max-width: 1120px;
  padding: calc(76px + var(--sch-safe-top, 0px)) var(--pd-pad-x) clamp(30px, 5vh, 46px);
  display: flex; flex-direction: column; align-items: center;
}
.pd-crumb {
  display: inline-flex; align-items: center; flex-wrap: wrap; justify-content: center;
  gap: 7px; row-gap: 4px;
  max-width: 100%;
  font-size: 10px; font-weight: 750; letter-spacing: 0.6px; line-height: 1.2;
  text-transform: uppercase;
  color: rgba(23, 19, 12, 0.58);
  border: 1px solid rgba(161, 120, 38, 0.22);
  background: rgba(255, 255, 255, 0.82);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  padding: 7px 13px; border-radius: 99px;
  margin-bottom: clamp(12px, 2.5vh, 20px);
  box-shadow: 0 4px 12px rgba(35, 27, 12, 0.04);
}
.pd-crumb a { color: var(--pd-gold-deep); text-decoration: none; }
.pd-crumb a:hover { color: var(--pd-gold-hi); }
.pd-crumb-sep { color: rgba(23, 19, 12, 0.30); }
.pd-hero-title {
  display: inline-block;
  box-sizing: border-box;
  font-family: var(--font-display, 'Bebas Neue', sans-serif);
  font-size: clamp(52px, 11vw, 104px);
  line-height: 0.98; letter-spacing: clamp(4px, 1.2vw, 12px);
  margin: 0 0 clamp(6px, 1.3vh, 10px);
  padding: 0 clamp(10px, 3vw, 28px) clamp(2px, 0.6vw, 6px);
  background: linear-gradient(180deg, #17130C 0%, #3D2E10 52%, #B88A2B 118%);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: #17130C;
  filter: none;
}
.pd-hero-tour {
  display: flex; align-items: center; gap: 14px;
  font-family: var(--font-display, 'Bebas Neue', sans-serif);
  font-size: clamp(13px, 2.4vw, 18px);
  letter-spacing: clamp(3px, 0.7vw, 6px);
  color: #17130C;
  margin: 0 0 clamp(14px, 2.5vh, 22px);
  text-shadow: none;
}
.pd-hero-tour::before, .pd-hero-tour::after {
  content: ""; height: 1px; width: clamp(18px, 4.5vw, 56px);
  background: linear-gradient(90deg, transparent, rgba(232, 201, 106, 0.75));
}
.pd-hero-tour::after { transform: scaleX(-1); }
.pd-hero-meta {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: center;
  gap: 8px;
  margin-bottom: clamp(12px, 2.5vh, 20px);
}
.pd-hero-meta span {
  display: inline-flex; align-items: center; gap: 7px;
  font-size: 10.5px; font-weight: 700; letter-spacing: 1.1px; text-transform: uppercase;
  color: rgba(23, 19, 12, 0.78);
  border: 1px solid rgba(161, 120, 38, 0.18);
  background: rgba(255, 255, 255, 0.78);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  padding: 7px 12px; border-radius: 99px;
  box-shadow: none;
}
.pd-hero-meta svg { color: var(--pd-gold); flex-shrink: 0; }
.pd-hero-note {
  font-size: 10.5px; letter-spacing: 0.9px; text-transform: uppercase;
  color: rgba(23, 19, 12, 0.58);
  display: inline-flex; align-items: center; flex-wrap: wrap; justify-content: center; gap: 7px;
  margin: 0 0 clamp(14px, 2.8vh, 22px);
}
.pd-hero-note strong { color: var(--pd-gold-hi); font-weight: 800; }
.pd-hero-note svg { color: var(--pd-green); flex-shrink: 0; }
.pd-hero-note-item { display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; }
.pd-hero-note-sep { color: rgba(23, 19, 12, 0.35); }
.pd-hero-cta { min-width: 210px; }

/* ═══════════════════════════════════════════════════════════════
   2. INFOS CONCERT (clone .hm-info)
   ═══════════════════════════════════════════════════════════════ */
.pd-info { padding: calc(var(--pd-section) * 0.6) 0 0; }
.pd-info-grid {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}
.pd-info-card {
  position: relative;
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  padding: 16px 14px;
  background: linear-gradient(160deg, var(--pd-panel-2) 0%, var(--pd-panel) 100%);
  border: 1px solid var(--pd-line);
  border-radius: var(--pd-radius);
  transition: border-color 0.25s ease, transform 0.25s ease;
  overflow: hidden;
  text-align: center;
}
.pd-info-card::after {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(90% 70% at 100% 0%, rgba(201, 168, 76, 0.07), transparent 60%);
  pointer-events: none;
}
.pd-info-card:hover { border-color: rgba(201, 168, 76, 0.4); transform: translateY(-2px); }
.pd-info-ico {
  width: 38px; height: 38px; border-radius: 11px;
  display: flex; align-items: center; justify-content: center;
  color: var(--pd-gold-hi);
  background: rgba(201, 168, 76, 0.09);
  border: 1px solid rgba(201, 168, 76, 0.22);
}
.pd-info-lbl { font-size: 9px; font-weight: 800; letter-spacing: 2.2px; text-transform: uppercase; color: var(--pd-faint); }
.pd-info-val { font-size: 14px; font-weight: 700; color: var(--pd-cream); line-height: 1.35; margin: 2px 0 0; }
.pd-info-val small { display: block; font-size: 11px; font-weight: 500; color: var(--pd-muted); margin-top: 2px; }

/* ═══════════════════════════════════════════════════════════════
   3. BILLETTERIE
   ═══════════════════════════════════════════════════════════════ */
.pd-shop { padding: clamp(38px, 6vw, 68px) 0 0; scroll-margin-top: 84px; }
.pd-shop-grid {
  display: grid; grid-template-columns: 1fr;
  gap: 16px;
  align-items: start;
}
.pd-cats { display: flex; flex-direction: column; min-width: 0; }
.pd-cat-list { display: flex; flex-direction: column; gap: 8px; }

/* ── Carte catégorie ── */
.pd-cat {
  position: relative;
  display: grid; grid-template-columns: minmax(0, 1fr) auto;
  gap: 9px;
  padding: 12px 13px 12px 16px;
  background: #FFFFFF;
  border: 1px solid var(--pd-line);
  border-radius: var(--pd-radius);
  cursor: pointer;
  overflow: hidden;
  transition: border-color 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
  box-shadow: 0 4px 14px rgba(35, 27, 12, 0.035);
}
.pd-cat::before {
  content: "";
  position: absolute; top: 0; left: 0; bottom: 0; width: 2px;
  background: var(--cat-color, var(--pd-gold));
  opacity: 0.58;
}
.pd-cat::after {
  content: "";
  position: absolute; inset: 0;
  border: 1px solid transparent;
  border-radius: var(--pd-radius);
  pointer-events: none;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}
.pd-cat:hover:not(.pd-cat--out) {
  border-color: rgba(161, 120, 38, 0.30);
  transform: translateY(-1px);
  box-shadow: 0 8px 18px rgba(35, 27, 12, 0.055);
}
.pd-cat:active:not(.pd-cat--out) { transform: translateY(0) scale(0.995); }
.pd-cat--on {
  background: #FFFDF7;
  border-color: rgba(161, 120, 38, 0.34);
  box-shadow: 0 8px 20px rgba(161, 120, 38, 0.08);
}
.pd-cat--on::after {
  border-color: rgba(184, 138, 43, 0.36);
  box-shadow: none;
}
.pd-cat--out { opacity: 0.62; cursor: not-allowed; filter: saturate(0.55); }
.pd-cat--out:hover { transform: none; }
.pd-cat-r { position: absolute; opacity: 0; pointer-events: none; }

.pd-cat-main { display: flex; flex-direction: column; align-items: flex-start; gap: 3px; min-width: 0; text-align: left; }
.pd-cat-top { display: flex; align-items: center; flex-wrap: wrap; gap: 6px; }
.pd-cat-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--cat-color, var(--pd-gold));
  box-shadow: none;
  flex-shrink: 0;
}
.pd-cat-zone { font-size: 8.5px; font-weight: 800; letter-spacing: 1.8px; text-transform: uppercase; color: var(--pd-faint); }
.pd-flag {
  display: inline-flex; align-items: center;
  font-size: 7.5px; font-weight: 800; letter-spacing: 1px; text-transform: uppercase;
  color: var(--pd-gold-deep);
  border: 1px solid rgba(161, 120, 38, 0.24);
  background: rgba(201, 168, 76, 0.10);
  padding: 3px 7px; border-radius: 99px;
  white-space: nowrap;
}
.pd-flag--gold {
  color: #0B0A07;
  border: 1px solid rgba(161, 120, 38, 0.26);
  background: rgba(201, 168, 76, 0.18);
  box-shadow: none;
}
.pd-cat-name {
  font-family: var(--font-display, 'Bebas Neue', sans-serif);
  font-size: 20px; letter-spacing: 1px; line-height: 1.05;
  color: var(--pd-cream);
  margin-top: 2px;
}
.pd-cat-desc { font-size: 11.5px; line-height: 1.4; color: var(--pd-muted); }
.pd-cat-tags { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 4px; }
.pd-cat-tags:empty { display: none; }
.pd-tag {
  display: inline-flex; align-items: center; gap: 5px;
  font-size: 9.5px; font-weight: 700; letter-spacing: 0.2px;
  color: var(--pd-muted);
  border: 1px solid var(--pd-line);
  background: rgba(201, 168, 76, 0.055);
  padding: 3px 7px; border-radius: 99px;
  white-space: nowrap;
}
.pd-tag--perk { color: var(--pd-gold-deep); border-color: rgba(161, 120, 38, 0.24); background: rgba(201, 168, 76, 0.09); }
.pd-tag--perk svg { color: var(--pd-gold); }
.pd-tag--stock { color: var(--pd-green); border-color: rgba(37, 134, 87, 0.28); background: rgba(37, 134, 87, 0.07); }
.pd-tag--stock.is-limited { color: var(--pd-gold-hi); border-color: rgba(184, 138, 43, 0.32); background: rgba(201, 168, 76, 0.08); }
.pd-tag--stock.is-low { color: #A03E12; border-color: rgba(196, 88, 32, 0.32); background: rgba(224, 122, 55, 0.08); }
.pd-tag--out { color: rgba(23, 19, 12, 0.40); border-color: var(--pd-line); background: transparent; }
.pd-pulse {
  width: 6px; height: 6px; border-radius: 50%; background: currentColor;
  animation: pdPulse 2s ease-in-out infinite;
  flex-shrink: 0;
}
@keyframes pdPulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.35; } }

.pd-cat-side {
  display: flex; flex-direction: column; align-items: flex-end; justify-content: center;
  gap: 2px;
  padding-left: 4px;
  border-left: 1px solid rgba(161, 120, 38, 0.10);
  min-width: 76px;
}
.pd-cat-price {
  font-family: var(--font-display, 'Bebas Neue', sans-serif);
  font-size: 23px; letter-spacing: 0.5px; line-height: 1;
  color: var(--pd-gold-hi);
  white-space: nowrap;
  transition: transform 0.2s ease;
}
.pd-cat-price .woocommerce-Price-currencySymbol { font-size: 0.58em; color: var(--pd-gold-deep); }
.pd-cat--on .pd-cat-price { transform: none; }
.pd-cat-price--x { text-decoration: line-through; font-size: 17px; color: rgba(23, 19, 12, 0.36); }
.pd-cat-price--x .woocommerce-Price-currencySymbol { color: rgba(23, 19, 12, 0.36); }
.pd-cat-unit { font-size: 9px; font-weight: 700; letter-spacing: 1.2px; text-transform: uppercase; color: var(--pd-faint); }
.pd-cat-out-lbl {
  font-size: 9px; font-weight: 800; letter-spacing: 1.5px; text-transform: uppercase;
  color: rgba(23, 19, 12, 0.40);
  border: 1px solid var(--pd-line);
  padding: 4px 10px; border-radius: 99px;
}
.pd-cat-check {
  width: 20px; height: 20px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: #17130C;
  background: rgba(201, 168, 76, 0.34);
  box-shadow: none;
  opacity: 0; transform: scale(0.75);
  transition: opacity 0.22s ease, transform 0.22s ease;
  margin-top: 2px;
}
.pd-cat--on .pd-cat-check { opacity: 1; transform: scale(1) rotate(0deg); }

/* Plan + légende */
.pd-plan-btn { width: 100%; margin-top: 10px; min-height: 46px; }
.pd-legend {
  display: flex; align-items: center; justify-content: center; flex-wrap: wrap;
  gap: 8px 16px;
  margin-top: 12px;
}
.pd-leg { display: inline-flex; align-items: center; gap: 6px; font-size: 10.5px; color: var(--pd-faint); }
.pd-leg-dot { width: 8px; height: 8px; border-radius: 50%; flex-shrink: 0; }

/* ── Panneau réservation ── */
.pd-panel {
  display: flex; flex-direction: column;
  gap: 12px;
  padding: 16px;
  background: #FFFFFF;
  border: 1px solid var(--pd-line-strong);
  border-radius: var(--pd-radius);
  box-shadow: 0 10px 26px rgba(35, 27, 12, 0.06);
  min-width: 0;
}
.pd-panel-head {
  display: flex; flex-direction: column; align-items: flex-start; gap: 6px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--pd-line);
}
.pd-panel-kicker {
  font-family: var(--font-display, 'Bebas Neue', sans-serif);
  font-size: 21px; letter-spacing: 1px; line-height: 1.05;
  color: var(--pd-cream);
}
.pd-panel-limit {
  display: inline-flex; align-items: center; gap: 5px;
  font-size: 10px; font-weight: 700; letter-spacing: 0.6px;
  color: var(--pd-faint);
}
.pd-panel-limit svg { color: var(--pd-gold); flex-shrink: 0; }
.pd-panel-cat { display: flex; flex-direction: column; gap: 3px; }
.pd-panel-cat-lbl { font-size: 9px; font-weight: 800; letter-spacing: 2px; text-transform: uppercase; color: var(--pd-faint); }
.pd-panel-cat-name { font-size: 14px; font-weight: 800; color: var(--pd-cream); }

/* Quantité */
.pd-qty { display: flex; flex-direction: column; gap: 8px; }
.pd-qty-lbl { font-size: 9px; font-weight: 800; letter-spacing: 2px; text-transform: uppercase; color: var(--pd-faint); }
.pd-qty-ctrl {
  display: flex; align-items: stretch; gap: 6px;
  padding: 4px;
  background: rgba(255, 248, 232, 0.55);
  border: 1px solid var(--pd-line);
  border-radius: 9px;
}
.pd-qty-btn {
  width: 42px; min-height: 42px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 7px;
  border: 1px solid var(--pd-line);
  background: #FFFFFF;
  color: var(--pd-cream);
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease, transform 0.15s ease;
  flex-shrink: 0;
}
.pd-qty-btn:hover { border-color: rgba(161, 120, 38, 0.34); background: rgba(201, 168, 76, 0.08); color: var(--pd-gold-deep); }
.pd-qty-btn:active { transform: scale(0.94); }
.pd-qty-btn--plus {
  color: #17130C;
  border-color: rgba(161, 120, 38, 0.30);
  background: linear-gradient(180deg, #EDD586, #C9A84C 48%, #9D7423);
  box-shadow: 0 5px 12px rgba(161, 120, 38, 0.13);
}
.pd-qty-btn--plus:hover { color: #17130C; background: linear-gradient(180deg, #F3DE99, #C9A84C 48%, #9D7423); }
.pd-qty-val {
  flex: 1; width: 100%; min-width: 0;
  border: none; background: transparent;
  text-align: center;
  font-family: var(--font-display, 'Bebas Neue', sans-serif);
  font-size: 24px; color: var(--pd-cream);
  -moz-appearance: textfield; appearance: textfield;
}
.pd-qty-val::-webkit-outer-spin-button,
.pd-qty-val::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.pd-qty-val:focus { outline: none; }

/* Récapitulatif */
.pd-recap { display: flex; flex-direction: column; gap: 7px; margin: 0; }
.pd-recap-row {
  display: flex; align-items: baseline; justify-content: space-between; gap: 10px;
  font-size: 13px;
}
.pd-recap-row dt { color: var(--pd-muted); font-weight: 600; }
.pd-recap-row dd { margin: 0; color: var(--pd-cream); font-weight: 700; }
.pd-recap-row dd .woocommerce-Price-currencySymbol { font-size: 0.85em; }
.pd-recap-total {
  display: flex; align-items: baseline; justify-content: space-between; gap: 10px;
  margin-top: 3px; padding-top: 10px;
  border-top: 1px solid var(--pd-line);
}
.pd-recap-total dt {
  font-size: 11px; font-weight: 800; letter-spacing: 2px; text-transform: uppercase;
  color: var(--pd-cream);
  display: flex; flex-direction: column; gap: 2px;
}
.pd-recap-total dt small { font-size: 9px; font-weight: 600; letter-spacing: 0.8px; color: var(--pd-faint); text-transform: none; }
.pd-recap-total dd {
  margin: 0;
  font-family: var(--font-display, 'Bebas Neue', sans-serif);
  font-size: 30px; line-height: 1; letter-spacing: 0.5px;
  color: var(--pd-gold-hi);
}
.pd-recap-total dd .woocommerce-Price-currencySymbol { font-size: 0.58em; color: var(--pd-gold-deep); }

/* Feedback */
.pd-feedback { padding: 10px 14px; border-radius: 11px; font-size: 13px; font-weight: 700; }
.pd-fb--ok { background: rgba(37, 134, 87, 0.10); border: 1px solid rgba(37, 134, 87, 0.28); color: var(--pd-green); }
.pd-fb--err { background: rgba(196, 30, 58, 0.07); border: 1px solid rgba(196, 30, 58, 0.20); color: #B3261E; }
.pd-unavail { font-size: 12px; color: var(--pd-faint); margin: 0; text-align: center; }

.pd-submit { width: 100%; min-height: 50px; }

/* Paiement express */
.pd-express { display: flex; flex-direction: column; gap: 8px; padding-top: 12px; border-top: 1px solid var(--pd-line); }
.pd-express-lbl { font-size: 9px; font-weight: 800; letter-spacing: 2px; text-transform: uppercase; color: var(--pd-faint); text-align: center; }
.pd-express-slot { min-height: 46px; border-radius: 11px; overflow: hidden; }

/* Confiance */
.pd-trust {
  display: grid; grid-template-columns: 1fr;
  gap: 7px;
  margin: 0; padding: 12px 0 0;
  border-top: 1px solid var(--pd-line);
  list-style: none;
}
.pd-trust li {
  display: flex; align-items: center; gap: 9px;
  font-size: 11.5px; font-weight: 600; color: var(--pd-muted);
  line-height: 1.35;
}
.pd-trust svg { color: var(--pd-gold); flex-shrink: 0; }

/* Moyens de paiement */
.pd-pay {
  display: flex; align-items: center; justify-content: center; flex-wrap: wrap;
  gap: 7px;
  padding-top: 4px;
}
.pd-pay-ico { display: inline-flex; opacity: 0.85; filter: saturate(0.95); border-radius: 4px; overflow: hidden; }

/* ═══════════════════════════════════════════════════════════════
   4. COMPTE À REBOURS (clone .hm-count)
   ═══════════════════════════════════════════════════════════════ */
.pd-count-sec { padding: var(--pd-section) 0 0; }
.pd-count-sec .pd-head { margin-bottom: clamp(20px, 3.6vw, 30px); }
.pd-count {
  display: flex; align-items: center; justify-content: center;
  gap: clamp(7px, 1.7vw, 14px);
  width: fit-content; max-width: 100%;
  margin: 0 auto;
  border: 1px solid rgba(161, 120, 38, 0.18);
  background: rgba(255, 255, 255, 0.78);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border-radius: 16px;
  padding: 12px clamp(14px, 2.9vw, 24px);
  box-shadow: 0 16px 34px rgba(35, 27, 12, 0.12);
}
.pd-count-cell { display: flex; flex-direction: column; align-items: center; gap: 3px; min-width: clamp(38px, 8.4vw, 54px); }
.pd-count-num {
  font-family: var(--font-display, 'Bebas Neue', sans-serif);
  font-size: clamp(24px, 5.6vw, 36px); line-height: 1; color: var(--pd-cream);
  font-variant-numeric: tabular-nums;
}
.pd-count-lbl { font-size: 7.5px; font-weight: 700; letter-spacing: 1.7px; color: var(--pd-faint); text-transform: uppercase; }
.pd-count-sep {
  font-family: var(--font-display, 'Bebas Neue', sans-serif);
  font-size: clamp(18px, 4.3vw, 26px); color: rgba(232, 201, 106, 0.5);
  padding-bottom: 12px;
}

/* ═══════════════════════════════════════════════════════════════
   5. AVIS (cartes .hm-rev-card, grille statique sobre)
   ═══════════════════════════════════════════════════════════════ */
.pd-reviews { padding: var(--pd-section) 0 0; }
.pd-rev-score {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 8px;
  margin-top: 18px;
}
.pd-rev-num {
  font-family: var(--font-display, 'Bebas Neue', sans-serif);
  font-size: clamp(46px, 9vw, 64px); line-height: 0.9;
  color: var(--pd-cream);
}
.pd-rev-score-side { display: flex; flex-direction: column; align-items: center; gap: 5px; }
.pd-stars { display: flex; gap: 3px; color: var(--pd-gold-hi); justify-content: center; }
.pd-rev-count { font-size: 11px; letter-spacing: 1.4px; text-transform: uppercase; color: var(--pd-faint); font-weight: 700; }
.pd-rev-grid { display: grid; grid-template-columns: 1fr; gap: 12px; }
.pd-rev {
  display: flex; flex-direction: column; align-items: center;
  background: linear-gradient(165deg, var(--pd-panel-2) 0%, var(--pd-panel) 75%);
  border: 1px solid var(--pd-line);
  border-radius: var(--pd-radius);
  padding: 18px;
  text-align: center;
  transition: border-color 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
  min-width: 0;
}
.pd-rev:hover { border-color: rgba(201, 168, 76, 0.38); transform: translateY(-2px); box-shadow: 0 16px 36px rgba(35, 27, 12, 0.07); }
.pd-rev-head { display: flex; align-items: center; justify-content: center; gap: 11px; margin-bottom: 11px; }
.pd-rev-avatar {
  width: 40px; height: 40px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display, 'Bebas Neue', sans-serif);
  font-size: 16px; letter-spacing: 1px;
  color: var(--pd-gold-hi);
  background: rgba(201, 168, 76, 0.1);
  border: 1px solid rgba(201, 168, 76, 0.3);
  flex-shrink: 0;
}
.pd-rev-id { text-align: left; }
.pd-rev-id b { display: flex; align-items: center; gap: 4px; font-size: 13px; font-weight: 700; color: var(--pd-cream); }
.pd-rev-id b svg { color: var(--pd-green); flex-shrink: 0; }
.pd-rev-id span { display: block; font-size: 10.5px; color: var(--pd-faint); margin-top: 1px; }
.pd-rev-meta { display: flex; align-items: center; justify-content: center; gap: 8px; margin-bottom: 10px; flex-wrap: wrap; }
.pd-rev-cat {
  font-size: 8.5px; font-weight: 800; letter-spacing: 1.6px; text-transform: uppercase;
  color: var(--pd-gold-hi);
  border: 1px solid rgba(201, 168, 76, 0.3);
  background: rgba(201, 168, 76, 0.07);
  padding: 4px 9px; border-radius: 99px;
}
.pd-rev-stars { display: flex; gap: 2px; color: var(--pd-gold-hi); }
.pd-rev-txt { font-size: 13px; line-height: 1.65; color: var(--pd-muted); margin: 0 0 12px; }
.pd-rev-like {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 11px; font-weight: 600; color: var(--pd-faint);
  font-family: var(--font-body, 'Inter', sans-serif);
  background: rgba(255, 255, 255, 0.6);
  border: 1px solid var(--pd-line);
  border-radius: 99px;
  padding: 5px 13px;
  cursor: pointer;
  transition: color 0.2s ease, border-color 0.2s ease, background 0.2s ease;
  margin-top: auto;
}
.pd-rev-like:hover, .pd-rev-like.liked {
  color: var(--pd-gold-deep);
  border-color: rgba(161, 120, 38, 0.32);
  background: rgba(201, 168, 76, 0.08);
}
.pd-rev-like.liked svg { fill: rgba(201, 168, 76, 0.35); }

/* ═══════════════════════════════════════════════════════════════
   6. FAQ (clone .hm-faq)
   ═══════════════════════════════════════════════════════════════ */
.pd-faq { padding: calc(var(--pd-section) * 0.8) 0 var(--pd-section); }
.pd-faq-grid { display: grid; grid-template-columns: 1fr; gap: 10px; }
.pd-faq-item {
  border: 1px solid var(--pd-line);
  border-radius: var(--pd-radius);
  background: linear-gradient(165deg, var(--pd-panel-2) 0%, var(--pd-panel) 78%);
  box-shadow: 0 16px 36px rgba(35, 27, 12, 0.05);
  overflow: hidden;
}
.pd-faq-q {
  position: relative;
  width: 100%;
  min-height: 54px;
  display: flex; align-items: center; justify-content: center;
  gap: 14px;
  padding: 16px 52px;
  border: 0;
  background: transparent;
  color: var(--pd-cream);
  font: 800 12px/1.3 var(--font-body, 'Inter', sans-serif);
  letter-spacing: 1px;
  text-align: center;
  text-transform: uppercase;
  cursor: pointer;
}
.pd-faq-q::after {
  content: "+";
  position: absolute; right: 18px; top: 50%;
  transform: translateY(-50%);
  width: 24px; height: 24px;
  display: grid; place-items: center;
  border-radius: 999px;
  color: var(--pd-gold-deep);
  background: rgba(201, 168, 76, 0.10);
  border: 1px solid rgba(161, 120, 38, 0.18);
  font-size: 17px; line-height: 1;
}
.pd-faq-q.active::after { content: "-"; }
.pd-faq-a {
  display: none;
  padding: 0 18px 17px;
  color: var(--pd-muted);
  font-size: 13px;
  line-height: 1.65;
  text-align: center;
}
.pd-faq-a.open { display: block; }
.pd-faq-a p { margin: 0; }

/* ═══════════════════════════════════════════════════════════════
   BARRE STICKY MOBILE (flottante, au-dessus de la nav mobile)
   ═══════════════════════════════════════════════════════════════ */
.pd-sticky {
  position: fixed;
  left: 10px; right: 10px;
  bottom: calc(var(--sch-mobile-bottom-space, 68px) + 10px);
  z-index: 920;
  display: flex; align-items: center; justify-content: space-between;
  gap: 10px;
  min-height: 64px;
  padding: 9px 10px 9px 16px;
  background: rgba(255, 255, 255, 0.94);
  -webkit-backdrop-filter: blur(14px) saturate(1.15);
  backdrop-filter: blur(14px) saturate(1.15);
  border: 1px solid rgba(161, 120, 38, 0.22);
  border-radius: 17px;
  box-shadow: 0 18px 44px rgba(35, 27, 12, 0.16);
  transform: translateY(calc(100% + var(--sch-mobile-bottom-space, 68px) + 26px));
  opacity: 0;
  transition: transform 0.32s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.28s ease;
  pointer-events: none;
}
.pd-sticky--show { transform: translateY(0); opacity: 1; pointer-events: auto; }
.pd-sticky-info { display: flex; flex-direction: column; gap: 1px; min-width: 0; }
.pd-sticky-cat {
  font-size: 11.5px; font-weight: 800; color: var(--pd-cream);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  max-width: 38vw;
}
.pd-sticky-price {
  font-family: var(--font-display, 'Bebas Neue', sans-serif);
  font-size: 21px; line-height: 1; color: var(--pd-gold-hi);
}
.pd-sticky-price .woocommerce-Price-currencySymbol { font-size: 0.6em; color: var(--pd-gold-deep); }
.pd-sticky-actions { display: flex; align-items: center; gap: 6px; flex-shrink: 0; }
.pd-sticky-prb { width: 104px; height: 40px; border-radius: 10px; overflow: hidden; flex-shrink: 0; }
.pd-sticky-prb:empty { display: none; }
.pd-sticky-btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 44px; padding: 0 18px;
  border: none; border-radius: 12px;
  background: linear-gradient(180deg, #EDD586 0%, #C9A84C 44%, #9D7423 100%);
  color: #17130C;
  font-size: 11px; font-weight: 800; letter-spacing: 1.6px; text-transform: uppercase;
  font-family: var(--font-body, 'Inter', sans-serif);
  cursor: pointer;
  box-shadow: 0 10px 24px rgba(161, 120, 38, 0.26), inset 0 1px 0 rgba(255, 255, 255, 0.48);
  transition: transform 0.15s ease, box-shadow 0.2s ease;
  white-space: nowrap;
}
.pd-sticky-btn:active { transform: scale(0.96); }
.pd-sticky-btn:disabled { opacity: 0.45; cursor: not-allowed; }

/* Le footer ne doit jamais être masqué par la barre sticky + nav mobile */
@media (max-width: 1023px) {
  .template--product .site-footer {
    padding-bottom: calc(var(--sp-sticky-height, 64px) + var(--sch-mobile-bottom-space, 68px) + 30px);
  }
}

/* ═══════════════════════════════════════════════════════════════
   BREAKPOINTS
   ═══════════════════════════════════════════════════════════════ */

/* ── ≤359px : très petits écrans ── */
@media (max-width: 359px) {
  .pd-hero-title { font-size: clamp(46px, 18vw, 58px); letter-spacing: 4px; padding-inline: 8px; }
  .pd-info-grid { grid-template-columns: 1fr; }
  .pd-count { gap: 4px; padding: 10px; }
  .pd-count-cell { min-width: 32px; }
  .pd-cat { grid-template-columns: 1fr; }
  .pd-cat-side {
    flex-direction: row; align-items: center; justify-content: space-between;
    border-left: 0; border-top: 1px solid rgba(161, 120, 38, 0.10);
    padding: 8px 0 0; min-width: 0;
  }
  .pd-cat-check { margin-top: 0; }
  .pd-sticky-cat { max-width: 30vw; }
  .pd-sticky-prb { width: 88px; }
  .pd-sticky-btn { padding: 0 12px; font-size: 10px; letter-spacing: 1px; }
}

/* ── ≥480px ── */
@media (min-width: 480px) {
  .pd-trust { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* ── ≥640px ── */
@media (min-width: 640px) {
  .pd-info-grid { grid-template-columns: repeat(3, 1fr); gap: 12px; }
  .pd-cat { padding: 13px 15px 13px 18px; }
  .pd-cat-side { min-width: 90px; }
  .pd-cat-name { font-size: 21px; }
  .pd-cat-price { font-size: 24px; }
  .pd-rev-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* ── ≥769px : tablette / desktop ── */
@media (min-width: 769px) {
  .pd-hero { min-height: clamp(340px, 48svh, 460px); }
  .pd-hero-inner { padding-top: calc(88px + var(--sch-safe-top, 0px)); }
  .pd-hero-scrim {
    background:
      linear-gradient(180deg, rgba(255, 255, 255, 0.62) 0%, rgba(255, 255, 255, 0.20) 58%, rgba(251, 250, 246, 0.92) 100%),
      linear-gradient(135deg, rgba(184, 138, 43, 0.10) 0%, transparent 42%, rgba(23, 19, 12, 0.04) 100%);
  }
  .pd-info-card { padding: 22px 20px; gap: 12px; }
  .pd-info-val { font-size: 15px; }
  .pd-hero-meta span { font-size: 11px; padding: 8px 14px; }
  .pd-faq-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .pd-faq-item:first-child { grid-column: 1 / -1; }
  .pd-panel { padding: 18px; }
}

/* ── ≥1024px : billetterie en 2 colonnes, panneau sticky ── */
@media (min-width: 1024px) {
  .pd-shop-grid { grid-template-columns: minmax(0, 1fr) 360px; gap: 20px; }
  .pd-panel { position: sticky; top: 92px; }
  .pd-cat { padding: 14px 16px 14px 19px; }
  .pd-cat-side { min-width: 96px; }
  .pd-info-grid { gap: 14px; }
  .pd-sticky { display: none; }
  .template--product .site-footer { padding-bottom: 28px; }
}

/* ── ≥1280px ── */
@media (min-width: 1280px) {
  .pd-shop-grid { gap: 22px; }
  .pd-rev-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
}

/* ── Anti-débordement horizontal global ── */
.template--product main.pd,
.template--product main.pd section,
.template--product .pd-wrap { max-width: 100vw; min-width: 0; }
.template--product .pd-shop-grid > * { min-width: 0; }

/* ── Accessibilité : mouvement réduit ── */
@media (prefers-reduced-motion: reduce) {
  .pd-pulse { animation: none; }
  .pd-btn, .pd-cat, .pd-info-card, .pd-rev, .pd-sticky { transition: none; }
}
