/* ==========================================================================
   AURION MERCH — BOUTIQUE OFFICIELLE
   Direction artistique de la boutique : graphite profond, or réservé aux
   actions, bleu en accent, maillot en héros. Tout est scopé sous .merch-page
   et hérite des tokens de style.css.

   Les photos produit sont sur fond noir : `mix-blend-mode: screen` détoure le
   fond sans retouche d'image — ne pas retirer sans re-détourer les JPEG.
   ========================================================================== */

.merch-page {
  --m-glass: rgba(16, 19, 27, 0.55);
  --m-glass-border: rgba(255, 255, 255, 0.09);
  --m-line: rgba(201, 164, 92, 0.35);
  --m-holo: linear-gradient(100deg,
      rgba(201, 164, 92, 0.0) 30%, rgba(241, 214, 117, 0.25) 46%,
      rgba(99, 169, 255, 0.16) 54%, rgba(201, 164, 92, 0.0) 70%);
  --m-radius: 1.4rem;
}
.merch-page .field-error:empty { display: none; }

/* ---------- 1. BANDEAU COMMERCIAL ---------- */
.shop-strip {
  display: flex; align-items: center; justify-content: center;
  gap: 0.5rem 1rem; flex-wrap: wrap; text-align: center;
  padding: 0.6rem 1.25rem;
  font-size: 0.6875rem; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--aurion-gold-light);
  background: rgba(201, 164, 92, 0.06);
  border-bottom: 1px solid rgba(201, 164, 92, 0.18);
}
/* Séparateurs décoratifs : assez lisibles pour ne pas paraître cassés
   (--border-strong tombait à 1,4:1, invisible sur ce fond). */
.shop-strip .ss-sep { color: var(--text-muted); }
.shop-strip strong { color: var(--text-primary); font-weight: 700; }

/* ---------- 2. HERO BOUTIQUE ---------- */
.merch-hero {
  position: relative;
  padding: calc(var(--nav-height) + 2.5rem) 0 3.5rem;
  overflow: hidden;
  background:
    radial-gradient(52% 60% at 74% 38%, rgba(201, 164, 92, 0.10), transparent 65%),
    radial-gradient(40% 50% at 18% 80%, rgba(47, 140, 255, 0.08), transparent 70%),
    linear-gradient(180deg, #07162C 0%, var(--background) 100%);
}
.merch-hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    repeating-linear-gradient(90deg, transparent 0 119px, rgba(255, 255, 255, 0.025) 119px 120px),
    repeating-linear-gradient(0deg, transparent 0 119px, rgba(255, 255, 255, 0.018) 119px 120px);
  mask-image: radial-gradient(75% 75% at 60% 40%, #000 30%, transparent 80%);
}
.merch-hero .container {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(2rem, 5vw, 4.5rem); align-items: center;
}
.merch-hero-copy .eyebrow { margin-bottom: 1.25rem; }
.merch-hero-copy h1 { margin-bottom: 1.1rem; max-width: 13ch; }
.merch-hero-copy .lead {
  color: var(--text-secondary); max-width: 46ch; margin-bottom: 1.75rem;
  font-size: 1.0625rem;
}
/* Prix : la première information commerciale, jamais reléguée */
.hero-price { display: flex; align-items: baseline; gap: 0.85rem; flex-wrap: wrap; }
.hero-price .hp-amount {
  font-family: var(--font-display); font-size: clamp(2.6rem, 6vw, 3.6rem);
  line-height: 1; color: var(--aurion-gold); letter-spacing: 0.01em;
}
.hero-price .hp-unit { font-size: 0.75rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--text-muted); }
.hero-ship {
  margin-top: 0.5rem; font-size: 0.875rem; color: var(--text-secondary);
  display: flex; align-items: center; gap: 0.5rem;
}
.hero-ship::before {
  content: ""; width: 16px; height: 1px; background: var(--aurion-gold); flex: none;
}
/* Sélecteur domicile / extérieur */
.variant-pills { display: inline-flex; gap: 0.3rem; padding: 0.3rem; margin-top: 1.6rem;
  border: 1px solid var(--border-subtle); border-radius: var(--radius-pill); background: var(--m-glass); }
.variant-pills button {
  padding: 0.5rem 1.2rem; border-radius: var(--radius-pill);
  font-size: 0.6875rem; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--text-secondary); transition: color 0.3s, background 0.3s;
}
.variant-pills button:hover { color: var(--text-primary); }
.variant-pills button.is-active { background: var(--aurion-gold); color: #100D04; }
.merch-hero .hero-cta { margin-top: 1.6rem; }
.hero-detail { margin-top: 1.25rem; font-size: 0.875rem; color: var(--text-muted); max-width: 44ch; }

/* Scène maillot */
.jersey-stage {
  position: relative; perspective: 1100px;
  display: flex; align-items: center; justify-content: center;
}
.jersey-stage::after {
  content: ""; position: absolute; left: 50%; bottom: 2%;
  width: 58%; height: 26px; transform: translateX(-50%);
  background: radial-gradient(50% 100% at 50% 50%, rgba(201, 164, 92, 0.22), transparent 75%);
  filter: blur(10px);
}
.jersey-float { transform-style: preserve-3d; width: 100%; }
.fx .jersey-float { animation: jerseyFloat 7s ease-in-out infinite alternate; }
@keyframes jerseyFloat {
  from { transform: translateY(-8px) rotateZ(-0.4deg); }
  to   { transform: translateY(10px) rotateZ(0.5deg); }
}
.jersey-3d {
  width: min(88%, 440px); margin-inline: auto;
  transform-style: preserve-3d;
  transform: rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg));
  transition: transform 0.35s var(--ease-premium);
  will-change: transform;
}
.jersey-3d img {
  width: 100%; height: auto; display: block; object-fit: contain;
  mix-blend-mode: screen;
  filter: drop-shadow(0 30px 50px rgba(0, 0, 0, 0.55));
}
.jersey-sheen {
  position: absolute; inset: 0; pointer-events: none;
  background: var(--m-holo);
  background-size: 300% 100%; background-position: 120% 0;
  mix-blend-mode: screen; border-radius: 8%;
  opacity: 0; transition: opacity 0.5s var(--ease-premium);
}
.jersey-stage:hover .jersey-sheen { opacity: 1; animation: sheenTravel 2.4s var(--ease-premium); }
@keyframes sheenTravel {
  0%   { background-position: 130% 0; }
  100% { background-position: -30% 0; }
}

/* ---------- 3. AVIS DE PRÉVISUALISATION ---------- */
.merch-notice {
  display: flex; align-items: center; justify-content: center; gap: 0.75rem;
  padding: 0.65rem 1.25rem; text-align: center;
  font-size: 0.6875rem; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--text-muted);
  background: rgba(255, 255, 255, 0.02);
  border-block: 1px solid var(--border-subtle);
}
.merch-notice::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--aurion-blue); flex: none; }

/* ---------- 4. COLLECTION ---------- */
.m-grid {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(1rem, 2.5vw, 1.75rem); margin-top: 2.5rem;
  max-width: 980px; margin-inline: auto;
}
.m-card {
  position: relative;
  border: 1px solid var(--m-glass-border); border-radius: var(--m-radius);
  background: linear-gradient(170deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.015) 55%);
  box-shadow: 0 18px 40px -22px rgba(0, 0, 0, 0.55);
  overflow: hidden;
  transition: transform 0.55s var(--ease-premium), border-color 0.55s var(--ease-premium), box-shadow 0.55s var(--ease-premium);
}
.m-card:hover { transform: translateY(-6px); border-color: var(--m-line); box-shadow: 0 32px 60px -20px rgba(0, 0, 0, 0.65); }
.m-card::before {
  content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background: radial-gradient(320px circle at var(--mx, 50%) var(--my, 30%), rgba(241, 214, 117, 0.07), transparent 65%);
  opacity: 0; transition: opacity 0.4s;
}
.m-card:hover::before { opacity: 1; }
.m-art {
  position: relative; display: block; aspect-ratio: 1 / 0.95;
  background:
    radial-gradient(62% 58% at 50% 38%, var(--aurion-blue-glow), transparent 70%),
    radial-gradient(48% 40% at 50% 98%, var(--aurion-gold-glow), transparent 75%),
    var(--surface);
  border-bottom: 1px solid var(--border-subtle);
}
.m-art .art-main, .m-art .art-alt {
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
  transition: opacity 0.5s var(--ease-premium);
}
.m-art .art-alt { opacity: 0; }
.m-art img {
  width: 84%; height: auto; object-fit: contain; mix-blend-mode: screen;
  filter: drop-shadow(0 26px 30px rgba(0, 0, 0, 0.5));
  transition: transform 0.6s var(--ease-premium);
}
@media (hover: hover) and (pointer: fine) {
  .m-card:hover .art-main { opacity: 0; }
  .m-card:hover .art-alt { opacity: 1; }
  .m-card:hover .m-art img { transform: scale(1.03); }
}
.m-body { position: relative; z-index: 1; padding: 1.5rem 1.35rem 1.4rem; }
.m-cat { font-size: 0.5938rem; font-weight: 700; letter-spacing: 0.26em; text-transform: uppercase; color: var(--text-muted); }
.m-name { font-family: var(--font-display); font-size: 1.45rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.02em; line-height: 1.05; margin: 0.35rem 0 0.6rem; }
.m-name a { color: inherit; transition: color 0.3s; }
.m-name a:hover { color: var(--aurion-gold-light); }
.m-price { font-family: var(--font-display); font-size: 1.5rem; color: var(--aurion-gold); letter-spacing: 0.03em; }
.m-ship { font-size: 0.75rem; color: var(--text-secondary); margin-top: 0.15rem; }
.m-sizes { margin-top: 0.6rem; font-size: 0.6875rem; color: var(--text-muted); letter-spacing: 0.1em; }
.m-actions { display: flex; gap: 0.5rem; margin-top: 1.1rem; flex-wrap: wrap; }
.m-actions .btn { flex: 1 1 auto; justify-content: center; }
/* Visuel manquant : jamais un dessin qui pourrait passer pour le produit */
.m-ph {
  display: flex; align-items: center; justify-content: center;
  width: 84%; aspect-ratio: 1 / 1; border: 1px dashed var(--border-strong); border-radius: 1rem;
  color: var(--text-muted); font-size: 0.75rem; letter-spacing: 0.14em; text-transform: uppercase;
}

/* ---------- 5. VITRINE MAILLOT ---------- */
.showcase-grid {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(2rem, 5vw, 4.5rem); align-items: center;
}
.showcase-view { position: relative; perspective: 1200px; display: flex; justify-content: center; }
/* La scène épouse la photo : les points d'intérêt sont donc positionnés en %
   de l'image réelle, pas d'un conteneur arbitraire. */
.showcase-stage { position: relative; width: min(92%, 460px); }
.jersey-flip {
  position: relative; width: 100%;
  transform-style: preserve-3d;
  transition: transform 0.85s var(--ease-in-out-emph, cubic-bezier(0.77, 0, 0.175, 1));
}
.jersey-flip.is-back { transform: rotateY(180deg); }
.jersey-face { backface-visibility: hidden; -webkit-backface-visibility: hidden; }
.jersey-face--back { position: absolute; inset: 0; transform: rotateY(180deg); }
.jersey-face img {
  width: 100%; height: auto; display: block; object-fit: contain; mix-blend-mode: screen;
  filter: drop-shadow(0 24px 44px rgba(0, 0, 0, 0.5));
}
.hotspot-layer { position: absolute; inset: 0; pointer-events: none; }
.hotspot {
  position: absolute; transform: translate(-50%, -50%); pointer-events: auto;
  width: 30px; height: 30px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  border: 1px solid var(--m-line); background: rgba(10, 12, 18, 0.7);
  color: var(--aurion-gold); font-size: 0.9rem; line-height: 1;
  backdrop-filter: blur(6px);
  transition: transform 0.3s var(--ease-premium), background 0.3s;
}
.hotspot:hover, .hotspot:focus-visible { transform: translate(-50%, -50%) scale(1.15); background: rgba(201, 164, 92, 0.18); }
.hotspot::after {
  content: ""; position: absolute; inset: -6px; border-radius: 50%;
  border: 1px solid rgba(201, 164, 92, 0.35); opacity: 0; transition: opacity 0.3s;
}
.hotspot:hover::after, .hotspot:focus-visible::after { opacity: 1; }
.showcase-toggle { display: inline-flex; gap: 0.25rem; padding: 0.3rem; border: 1px solid var(--border-subtle); border-radius: var(--radius-pill); background: var(--m-glass); }
.showcase-toggle button {
  padding: 0.5rem 1.3rem; border-radius: var(--radius-pill);
  font-size: 0.6875rem; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--text-secondary); transition: color 0.3s, background 0.3s;
}
.showcase-toggle button.is-active { background: var(--aurion-gold); color: #100D04; }
.showcase-detail {
  min-height: 96px; padding: 1.1rem 1.3rem; margin-top: 1.5rem;
  border: 1px solid var(--m-glass-border); border-radius: 1rem;
  background: var(--m-glass);
}
.showcase-detail h4 { color: var(--aurion-gold); margin-bottom: 0.3rem; font-size: 1.05rem; }
.showcase-detail p { font-size: 0.875rem; color: var(--text-secondary); }

/* ---------- 6. RÉASSURANCE (uniquement des promesses vraies) ---------- */
.reassure-row {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem;
}
.reassure-row .ri {
  display: flex; gap: 0.9rem; align-items: flex-start;
  padding: 1.2rem 1.3rem; border: 1px solid var(--m-glass-border); border-radius: 1.1rem;
  background: linear-gradient(170deg, rgba(255, 255, 255, 0.03), transparent 60%);
}
.reassure-row .ri svg { width: 18px; height: 18px; flex: none; color: var(--aurion-gold); margin-top: 2px; }
.reassure-row .ri h4 { font-size: 1rem; margin-bottom: 0.2rem; }
.reassure-row .ri p { font-size: 0.8125rem; color: var(--text-secondary); }

/* ---------- 7. CHOISIR SA TAILLE (méthode, sans mesure inventée) ---------- */
.size-help { display: grid; grid-template-columns: 150px 1fr; gap: 1.75rem; align-items: center;
  padding: clamp(1.25rem, 3vw, 2rem); border: 1px solid var(--m-glass-border); border-radius: 1.2rem; background: var(--m-glass); }
.size-help svg { width: 100%; height: auto; }
.size-help ol { list-style: decimal; padding-left: 1.2rem; font-size: 0.9375rem; color: var(--text-secondary); }
.size-help li { margin-bottom: 0.55rem; }
.size-help li::marker { color: var(--aurion-gold); font-weight: 600; }
.size-help .pending { margin-top: 1rem; font-size: 0.8125rem; color: var(--text-muted); }

/* ---------- 8. AVIS (ligne compacte, honnête) ---------- */
.reviews-line {
  display: flex; align-items: center; justify-content: center; gap: 0.75rem; flex-wrap: wrap;
  padding: 1rem 1.25rem; text-align: center;
  border: 1px solid var(--border-subtle); border-radius: var(--radius-pill);
  font-size: 0.875rem; color: var(--text-muted);
}
.reviews-line svg { width: 16px; height: 16px; color: var(--aurion-gold); flex: none; }

/* ---------- 9. TIROIRS (panier + fiche rapide) ---------- */
.m-overlay {
  position: fixed; inset: 0; z-index: 320;
  background: rgba(3, 4, 6, 0.65); backdrop-filter: blur(6px);
  opacity: 0; visibility: hidden;
  transition: opacity 0.4s var(--ease-premium), visibility 0.4s;
}
.m-overlay.is-open { opacity: 1; visibility: visible; }
.m-drawer {
  position: fixed; top: 0; right: 0; bottom: 0; z-index: 330;
  width: min(460px, 100vw);
  display: flex; flex-direction: column;
  background: rgba(10, 12, 18, 0.96); backdrop-filter: blur(24px);
  border-left: 1px solid var(--m-glass-border);
  box-shadow: -40px 0 100px -30px rgba(0, 0, 0, 0.8);
  transform: translateX(102%);
  transition: transform 0.5s var(--ease-out-expo);
}
.m-drawer.is-open { transform: none; }
.m-drawer-head {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: 1.4rem 1.5rem 1.2rem; border-bottom: 1px solid var(--border-subtle);
}
.m-drawer-head h3 { font-size: 1.6rem; }
.m-drawer-body { flex: 1; overflow-y: auto; padding: 1.4rem 1.5rem; overscroll-behavior: contain; }
.m-drawer-foot { padding: 1.2rem 1.5rem 1.5rem; border-top: 1px solid var(--border-subtle); background: rgba(6, 8, 12, 0.6); }
.m-close {
  width: 40px; height: 40px; border-radius: 50%;
  border: 1px solid var(--border-subtle); color: var(--text-secondary);
  display: flex; align-items: center; justify-content: center;
  transition: color 0.3s, border-color 0.3s, transform 0.3s;
}
.m-close:hover { color: var(--text-primary); transform: rotate(90deg); }
body.m-lock { overflow: hidden; }

/* Fiche rapide */
.qv-art {
  position: relative; aspect-ratio: 1/0.9; border-radius: 1.1rem;
  border: 1px solid var(--border-subtle);
  background:
    radial-gradient(60% 55% at 50% 38%, var(--aurion-blue-glow), transparent 70%),
    radial-gradient(45% 38% at 50% 100%, var(--aurion-gold-glow), transparent 75%),
    var(--surface);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 0.85rem; overflow: hidden;
}
.qv-art img { width: 82%; height: auto; object-fit: contain; mix-blend-mode: screen; filter: drop-shadow(0 26px 30px rgba(0, 0, 0, 0.5)); }
.qv-views { display: flex; gap: 0.4rem; margin-bottom: 1.1rem; }
.qv-views button {
  flex: 1; padding: 0.45rem 0.3rem; border-radius: 0.6rem;
  border: 1px solid var(--border-subtle); background: rgba(255, 255, 255, 0.03);
  color: var(--text-secondary); font-size: 0.6875rem; letter-spacing: 0.08em; text-transform: uppercase;
  transition: border-color 0.25s, color 0.25s, background 0.25s;
}
.qv-views button:hover { color: var(--text-primary); }
.qv-views button.is-active { border-color: var(--aurion-gold); color: var(--aurion-gold); background: rgba(201, 164, 92, 0.08); }
.qv-cat { font-size: 0.5938rem; font-weight: 700; letter-spacing: 0.26em; text-transform: uppercase; color: var(--text-muted); }
.qv-name { font-size: 1.9rem; margin: 0.3rem 0 0.5rem; }
.qv-price { font-family: var(--font-display); font-size: 1.8rem; color: var(--aurion-gold); display: flex; align-items: baseline; gap: 0.75rem; flex-wrap: wrap; }
.qv-price .qv-ship { font-family: var(--font-body); font-size: 0.8125rem; color: var(--text-secondary); letter-spacing: 0; }
.qv-desc { font-size: 0.9375rem; color: var(--text-secondary); margin: 1rem 0 0.5rem; }
.qv-more { margin-top: 1.25rem; }
.qv-label { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; font-size: 0.6875rem; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; color: var(--text-secondary); margin: 1.4rem 0 0.6rem; }
.qv-label .link-arrow { font-size: 0.625rem; letter-spacing: 0.1em; }
.size-row { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.size-btn {
  min-width: 52px; padding: 0.7rem 0.8rem; border-radius: 0.7rem;
  border: 1px solid var(--border-subtle); color: var(--text-secondary);
  font-size: 0.8125rem; font-weight: 600; text-align: center;
  transition: border-color 0.25s, color 0.25s, background 0.25s;
}
.size-btn:hover { border-color: var(--border-strong); color: var(--text-primary); }
.size-btn.is-active { border-color: var(--aurion-gold); color: var(--aurion-gold); background: rgba(201, 164, 92, 0.07); }
.qty-row { display: inline-flex; align-items: center; border: 1px solid var(--border-subtle); border-radius: var(--radius-pill); }
.qty-row button { width: 44px; height: 44px; font-size: 1.1rem; color: var(--text-secondary); transition: color 0.2s; }
.qty-row button:hover { color: var(--text-primary); }
.qty-row output { min-width: 34px; text-align: center; font-family: var(--font-display); font-size: 1.2rem; }

/* Panier */
.cart-line { display: grid; grid-template-columns: 72px 1fr auto; gap: 1rem; padding: 1rem 0; border-bottom: 1px solid var(--border-subtle); }
.cart-line .cl-art { width: 72px; height: 78px; border-radius: 0.7rem; border: 1px solid var(--border-subtle); background: var(--surface); display: flex; align-items: center; justify-content: center; overflow: hidden; }
.cart-line .cl-art img { width: 88%; height: auto; object-fit: contain; mix-blend-mode: screen; }
.cart-line .cl-name { display: block; font-family: var(--font-display); font-size: 1.15rem; text-transform: uppercase; letter-spacing: 0.02em; line-height: 1.05; color: var(--text-primary); }
.cart-line .cl-name:hover { color: var(--aurion-gold-light); }
.cart-line .cl-meta { font-size: 0.75rem; color: var(--text-muted); margin-top: 0.25rem; }
.cart-line .cl-unit { font-size: 0.75rem; color: var(--text-secondary); margin-top: 0.15rem; }
.cart-line .cl-price { font-family: var(--font-display); font-size: 1.1rem; color: var(--aurion-gold); text-align: right; }
.cart-line .cl-remove { font-size: 0.6875rem; color: var(--text-muted); letter-spacing: 0.1em; text-transform: uppercase; margin-top: 0.5rem; transition: color 0.2s; }
.cart-line .cl-remove:hover { color: var(--danger); }
.cart-line .qty-row { margin-top: 0.55rem; transform: scale(0.85); transform-origin: left center; }
.cart-summary { font-size: 0.875rem; color: var(--text-secondary); }
.cart-summary .row { display: flex; justify-content: space-between; padding: 0.3rem 0; }
.cart-summary .row.total { font-family: var(--font-display); font-size: 1.4rem; color: var(--text-primary); text-transform: uppercase; padding-top: 0.7rem; margin-top: 0.5rem; border-top: 1px solid var(--border-subtle); }
.cart-summary .row.total strong { color: var(--aurion-gold); }
.cart-ship-note { margin-top: 0.5rem; font-size: 0.75rem; color: var(--text-muted); }
.cart-actions { display: flex; flex-direction: column; gap: 0.6rem; margin-top: 1rem; }
.btn--disabled, .btn[disabled] {
  opacity: 0.55; cursor: not-allowed;
  background: var(--surface); color: var(--text-secondary);
  border: 1px solid var(--border-strong); box-shadow: none;
}
.cart-note { font-size: 0.6875rem; color: var(--text-muted); text-align: center; margin-top: 0.6rem; }
.cart-clear { align-self: center; font-size: 0.6875rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--text-muted); margin-top: 0.4rem; }
.cart-clear:hover { color: var(--danger); }
.cart-btn { position: relative; }
.cart-btn .cart-count {
  position: absolute; top: -4px; right: -4px;
  min-width: 17px; height: 17px; padding: 0 4px; border-radius: 99px;
  background: var(--aurion-gold); color: #100D04;
  font-size: 0.625rem; font-weight: 700; line-height: 17px; text-align: center;
}
.cart-btn .cart-count:empty { display: none; }

/* Confirmation d'ajout */
.m-toast {
  position: fixed; bottom: 1.5rem; left: 50%; z-index: 360;
  transform: translate(-50%, 20px); opacity: 0; visibility: hidden;
  display: flex; align-items: center; gap: 0.9rem;
  padding: 0.75rem 0.85rem 0.75rem 1.3rem; border-radius: var(--radius-pill);
  background: rgba(12, 15, 23, 0.96); border: 1px solid var(--m-line);
  color: var(--text-primary); font-size: 0.8125rem;
  backdrop-filter: blur(14px);
  transition: transform 0.4s var(--ease-out-expo), opacity 0.4s, visibility 0.4s;
}
.m-toast.is-show { transform: translate(-50%, 0); opacity: 1; visibility: visible; }
.m-toast .toast-cta {
  padding: 0.45rem 1rem; border-radius: var(--radius-pill);
  background: var(--aurion-gold); color: #100D04;
  font-size: 0.6875rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase;
}

/* ---------- 10. FICHE PRODUIT ---------- */
.pdp { padding-top: calc(var(--nav-height) + 2.5rem); }
.pdp-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.pdp-main {
  position: relative; border: 1px solid var(--m-glass-border); border-radius: var(--m-radius);
  background:
    radial-gradient(62% 58% at 50% 38%, var(--aurion-blue-glow), transparent 70%),
    radial-gradient(48% 40% at 50% 98%, var(--aurion-gold-glow), transparent 75%),
    var(--surface);
  overflow: hidden;
}
.pdp-stage { display: flex; align-items: center; justify-content: center; padding: clamp(1rem, 3vw, 2rem); }
.pdp-stage img { width: min(100%, 460px); height: auto; object-fit: contain; mix-blend-mode: screen; filter: drop-shadow(0 30px 44px rgba(0, 0, 0, 0.55)); }
.pdp-zoom-btn {
  position: absolute; top: 0.9rem; right: 0.9rem; z-index: 2;
  width: 40px; height: 40px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  border: 1px solid var(--border-subtle); background: rgba(8, 10, 15, 0.7); color: var(--text-secondary);
  backdrop-filter: blur(8px); transition: color 0.3s, border-color 0.3s;
}
.pdp-zoom-btn:hover { color: var(--aurion-gold); border-color: var(--m-line); }
.pdp-zoom-btn svg { width: 17px; height: 17px; }
.pdp-thumbs { display: flex; gap: 0.75rem; margin-top: 0.9rem; }
.pdp-thumbs button {
  flex: 0 0 92px; border: 1px solid var(--border-subtle); border-radius: 0.9rem;
  background: var(--surface); padding: 0.4rem 0.4rem 0.5rem;
  color: var(--text-muted); font-size: 0.625rem; letter-spacing: 0.14em; text-transform: uppercase;
  transition: border-color 0.25s, color 0.25s;
}
.pdp-thumbs button img { width: 100%; height: auto; object-fit: contain; mix-blend-mode: screen; display: block; }
.pdp-thumbs button.is-active { border-color: var(--aurion-gold); color: var(--aurion-gold); }
.pdp-name { font-size: clamp(2rem, 4vw, 2.8rem); margin: 0.5rem 0 0.75rem; }
.pdp-price { font-family: var(--font-display); font-size: clamp(2.2rem, 5vw, 3rem); line-height: 1; color: var(--aurion-gold); }
.pdp-ship { margin-top: 0.5rem; font-size: 0.9375rem; color: var(--text-secondary); }
.pdp-desc { margin-top: 1.25rem; font-size: 0.9375rem; color: var(--text-secondary); max-width: 46ch; }
.pdp-color { font-size: 0.9375rem; color: var(--text-primary); }
.pdp-note { margin-top: 0.75rem; font-size: 0.75rem; color: var(--text-muted); text-align: center; }
.pdp-acc { margin-top: 2rem; }
.pdp-related { margin-top: clamp(3rem, 8vw, 5rem); }
.pdp-related h2 { font-size: 1.8rem; margin-bottom: 0.5rem; }
.m-grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 760px; margin-inline: 0; }
/* Barre d'achat mobile */
.pdp-sticky {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 300;
  display: none; align-items: center; justify-content: space-between; gap: 1rem;
  padding: 0.75rem 1rem calc(0.75rem + env(safe-area-inset-bottom));
  background: rgba(8, 10, 15, 0.96); border-top: 1px solid var(--border-subtle);
  backdrop-filter: blur(16px);
  transform: translateY(105%); transition: transform 0.35s var(--ease-out-expo);
}
.pdp-sticky.is-show { transform: none; }
.pdp-sticky .ps-info { display: flex; flex-direction: column; line-height: 1.2; }
.pdp-sticky .ps-info strong { font-family: var(--font-display); font-size: 1.3rem; color: var(--aurion-gold); }
.pdp-sticky .ps-info span { font-size: 0.6875rem; color: var(--text-muted); letter-spacing: 0.1em; text-transform: uppercase; }
body.m-lock .pdp-sticky { display: none; }
/* Photo agrandie */
.pdp-zoom {
  position: fixed; inset: 0; z-index: 400;
  display: flex; align-items: center; justify-content: center;
  padding: clamp(1rem, 5vw, 3rem);
  background: rgba(3, 4, 6, 0.94); backdrop-filter: blur(8px);
}
.pdp-zoom[hidden] { display: none; }
.pdp-zoom-img { max-width: min(100%, 900px); }
.pdp-zoom-img img { width: 100%; height: auto; object-fit: contain; mix-blend-mode: screen; }
.pdp-zoom-close {
  position: absolute; top: 1.2rem; right: 1.2rem;
  width: 44px; height: 44px; border-radius: 50%;
  border: 1px solid var(--border-subtle); color: var(--text-secondary);
  background: rgba(10, 12, 18, 0.8);
  transition: color 0.3s, border-color 0.3s;
}
.pdp-zoom-close:hover { color: var(--text-primary); border-color: var(--border-strong); }

/* ---------- 11. NEWSLETTER ---------- */
.merch-news .core { padding: clamp(2.5rem, 6vw, 4rem) clamp(1.5rem, 5vw, 4rem); text-align: center; }
.merch-news .core::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(55% 90% at 50% 115%, rgba(201, 164, 92, 0.16), transparent 70%);
}
.news-form { display: flex; gap: 0.6rem; max-width: 460px; margin: 2rem auto 0; position: relative; }
.news-form input[type="email"] {
  flex: 1; background: rgba(255, 255, 255, 0.04); border: 1px solid var(--border-strong);
  border-radius: var(--radius-pill); padding: 0.85rem 1.4rem;
  font-size: 0.9375rem; color: var(--text-primary);
}
.news-form input[type="email"]:focus { outline: none; border-color: var(--aurion-gold); background: rgba(201, 164, 92, 0.05); }
.news-consent { display: flex; gap: 0.6rem; align-items: flex-start; justify-content: center; max-width: 460px; margin: 1rem auto 0; font-size: 0.75rem; color: var(--text-muted); text-align: left; }
.news-consent input { margin-top: 2px; accent-color: var(--aurion-gold); appearance: auto; }
.news-msg { margin-top: 1rem; font-size: 0.8125rem; min-height: 1.4em; }
.news-msg.is-ok { color: var(--success); }
.news-msg.is-err { color: #FCA5A5; }

/* ---------- 12. RESPONSIVE ---------- */
@media (max-width: 1023px) {
  .merch-hero .container { grid-template-columns: 1fr; }
  .jersey-3d { width: min(70%, 340px); }
  .showcase-grid, .pdp-grid { grid-template-columns: 1fr; }
  .reassure-row { grid-template-columns: 1fr; }
  .pdp-sticky { display: flex; }
}
/* Mobile : le maillot remonte juste sous le titre, et le prix + le CTA
   restent atteignables sans faire défiler un hero d'un écran et demi.
   `display: contents` fait des enfants du bloc texte des cases de la grille :
   on peut alors intercaler la photo entre le titre et l'accroche. */
@media (max-width: 767px) {
  .merch-hero { padding: calc(var(--nav-height) + 1rem) 0 2.5rem; }
  .merch-hero .container { grid-template-columns: 1fr; gap: 1rem; }
  .merch-hero-copy { display: contents; }
  .merch-hero-copy .eyebrow { order: 1; margin-bottom: 0.75rem; }
  .merch-hero-copy h1 { order: 2; font-size: clamp(2.4rem, 11vw, 3.4rem); max-width: none; margin-bottom: 0; }
  .merch-hero .jersey-stage { order: 3; }
  .merch-hero-copy .lead { order: 4; font-size: 0.9375rem; margin-bottom: 0; }
  .merch-hero-copy .hero-price-block { order: 5; }
  .merch-hero-copy .variant-pills { order: 6; margin-top: 0; }
  .merch-hero .hero-cta { order: 7; margin-top: 0; }
  .merch-hero-copy .hero-detail { order: 8; margin-top: 0; }
  .jersey-3d { width: min(62%, 240px); }
  .jersey-stage::after { display: none; }

  .m-grid, .m-grid--2 { grid-template-columns: 1fr; }
  .m-drawer { width: 100vw; }
  .size-help { grid-template-columns: 1fr; gap: 1.25rem; }
  .size-help svg { width: 130px; }
  .news-form { flex-direction: column; }
  .hero-price .hp-amount { font-size: 2.6rem; }
  .cart-line { grid-template-columns: 64px 1fr auto; }
  .cart-line .cl-art { width: 64px; height: 70px; }
}

/* ---------- 13. ACCESSIBILITÉ & GARDE-FOUS ---------- */
@media (prefers-reduced-motion: reduce) {
  .jersey-float, .jersey-sheen { animation: none !important; }
  .jersey-3d { transform: none !important; transition: none; }
  .m-card, .m-art img, .hotspot, .pdp-sticky { transition: none; }
  .jersey-flip { transition: none; }
}
.fx-dead .m-actions { opacity: 1 !important; transform: none !important; }
