/* =========================================================
   BOOPETS / MYSTIC CRÉATURES — Design system TCG Premium
   ========================================================= */

:root {
  /* base — tons puisés dans le logo (bleu nuit du relief du B) */
  --ink: #05060b;
  --ink-2: #0a0e1a;
  --navy-1: #3a5488;
  --navy-2: #1c2c4f;
  --navy-3: #0f1830;
  --panel-soft: rgba(16, 20, 36, .68);
  --line: rgba(232, 197, 122, .22);
  --line-soft: rgba(255, 255, 255, .08);
  --text: #f4efe0;
  --muted: #aab1c9;
  --muted-2: #7d84a2;

  /* foil / or — puisé dans le wordmark "Mystic Creatures" */
  --gold-1: #fbe6b0;
  --gold-2: #e9c26a;
  --gold-3: #b6852f;
  --gold-4: #6e4c17;

  /* dégradé signature du "B" (or -> orange -> rouge) */
  --ember-1: #f6bc47;
  --ember-2: #e9843d;
  --ember-3: #e44d41;
  --ember-4: #7a1810;

  /* éléments — couleurs des vrais badges officiels */
  --fire-1: #ffb27a;    --fire-2: #e2661d;    --fire-3: #7a1810;
  --water-1: #bfe9f5;   --water-2: #2f8fb0;   --water-3: #0a2a3a;
  --terre-1: #d7e8b0;   --terre-2: #7ea852;   --terre-3: #24371a;
  --air-1: #eef3f6;     --air-2: #a9b7c2;     --air-3: #4a5866;
  --lumiere-1: #fffbe8; --lumiere-2: #e9c26a; --lumiere-3: #a9781f;
  --tenebre-1: #c9c3f2; --tenebre-2: #6f5aa8; --tenebre-3: #221631;

  --radius-xl: 26px;
  --radius-lg: 20px;
  --radius-md: 14px;
  --max: 1200px;

  --shadow-deep: 0 30px 80px rgba(0,0,0,.55);
  --shadow-soft: 0 18px 44px rgba(0,0,0,.35);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "Segoe UI", ui-sans-serif, system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
  color: var(--text);
  background-color: var(--ink);
  background-image:
    radial-gradient(58rem 38rem at 10% -10%, rgba(246,188,71,.16), transparent 60%),
    radial-gradient(48rem 38rem at 96% 2%, rgba(58,84,136,.30), transparent 58%),
    radial-gradient(64rem 46rem at 50% 112%, rgba(228,77,65,.09), transparent 60%),
    repeating-linear-gradient(115deg, rgba(255,255,255,.015) 0 2px, transparent 2px 5px),
    linear-gradient(180deg, #05060b 0%, #0d1424 45%, #05060b 100%);
  background-attachment: fixed;
  min-height: 100vh;
  position: relative;
}

body.menu-open { overflow: hidden; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
.container { width: min(100% - 32px, var(--max)); margin: 0 auto; }

::selection { background: rgba(233,194,106,.35); color: #1a1206; }

/* scrollbar */
::-webkit-scrollbar { width: 12px; }
::-webkit-scrollbar-track { background: var(--ink-2); }
::-webkit-scrollbar-thumb { background: linear-gradient(var(--gold-3), var(--gold-4)); border-radius: 10px; border: 3px solid var(--ink-2); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
}

/* ---------- Eyebrow / gems / small bits ---------- */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 8px 16px 8px 12px;
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(233,194,106,.14), rgba(233,194,106,.03));
  border-radius: 999px;
  color: var(--gold-1);
  font-weight: 800;
  font-size: 12.5px;
  letter-spacing: .12em;
  text-transform: uppercase;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.06), 0 10px 24px rgba(0,0,0,.25);
}
.badge .gem { width: 9px; height: 9px; }

.gem-dot {
  width: 9px; height: 9px;
  background: linear-gradient(135deg, var(--gold-1), var(--gold-3));
  transform: rotate(45deg);
  box-shadow: 0 0 10px rgba(233,194,106,.7), inset 0 0 0 1px rgba(255,255,255,.5);
  border-radius: 2px;
  flex: none;
}

h1, h2, h3 { margin: 0; line-height: 1.02; font-family: inherit; }
h1 {
  font-size: clamp(40px, 6.6vw, 76px);
  font-weight: 900;
  letter-spacing: -.03em;
  margin-top: 22px;
  text-shadow: 0 2px 0 rgba(0,0,0,.5), 0 30px 60px rgba(0,0,0,.35);
}
h2 { font-size: clamp(30px, 4vw, 50px); font-weight: 900; letter-spacing: -.025em; }
h3 { font-size: 22px; font-weight: 800; letter-spacing: -.01em; }

.accent {
  background: linear-gradient(120deg, var(--ember-1) 10%, var(--ember-2) 55%, var(--ember-3) 90%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 2px 16px rgba(228,77,65,.35));
}

.eyebrow {
  display: inline-block;
  text-transform: uppercase;
  letter-spacing: .18em;
  font-size: 12px;
  font-weight: 800;
  color: var(--muted-2);
}

.lead { color: var(--muted); font-size: clamp(17px, 1.9vw, 21px); line-height: 1.7; margin: 22px 0 0; }

/* ---------- Ornamental divider ---------- */
.divider {
  display: flex; align-items: center; gap: 14px;
  margin: 0 auto; width: min(100% - 32px, var(--max));
  padding: 0;
  opacity: .8;
}
.divider::before, .divider::after {
  content: ""; flex: 1; height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold-3), transparent);
}
.divider .gem-dot { box-shadow: 0 0 14px rgba(233,194,106,.8), inset 0 0 0 1px rgba(255,255,255,.5); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(5,6,12,.72);
  backdrop-filter: blur(16px) saturate(140%);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 1px 0 rgba(233,194,106,.05), 0 20px 40px rgba(0,0,0,.25);
  transition: box-shadow .25s ease, background .25s ease;
}
.site-header.is-scrolled { background: rgba(5,6,12,.9); box-shadow: 0 1px 0 rgba(233,194,106,.18), 0 24px 50px rgba(0,0,0,.4); }

.header-inner { min-height: 82px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }

.logo { display: inline-flex; align-items: center; gap: 13px; font-weight: 900; letter-spacing: .01em; }
.logo-mark {
  width: 52px; height: 52px; flex: none; object-fit: contain;
  filter: drop-shadow(0 10px 18px rgba(233,194,106,.28));
}

/* ---------- Brand showcase (official lockup) ---------- */
.brand-showcase { text-align: center; padding: 4px 0 30px; }
.brand-showcase img { max-width: 380px; width: 62%; margin: 0 auto; filter: drop-shadow(0 24px 44px rgba(0,0,0,.55)); }
.logo span { font-size: 19px; letter-spacing: .03em; }
.logo small {
  display: block; color: var(--gold-2); font-size: 11px;
  letter-spacing: .22em; font-weight: 800; margin-top: 2px;
}

.nav { display: flex; align-items: center; gap: 6px; color: var(--muted); font-size: 14.5px; font-weight: 600; }
.nav a { padding: 10px 14px; border-radius: 10px; transition: color .2s ease, background .2s ease; position: relative; }
.nav a:hover { color: var(--gold-1); background: rgba(233,194,106,.08); }
.nav a.active { color: var(--gold-1); }
.nav a.active::after {
  content: ""; position: absolute; left: 14px; right: 14px; bottom: 4px; height: 2px;
  background: linear-gradient(90deg, var(--gold-2), transparent);
}

.header-actions { display: flex; align-items: center; gap: 10px; }

/* ---------- Buttons ---------- */
.btn, button.btn {
  border: 0; cursor: pointer;
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 0 22px;
  border-radius: 13px;
  font-weight: 800; font-size: 14.5px; letter-spacing: .02em;
  color: #1c1206;
  background: linear-gradient(160deg, var(--gold-1), var(--gold-2) 55%, var(--gold-3));
  box-shadow: inset 0 1px 0 rgba(255,255,255,.65), inset 0 -3px 8px rgba(110,76,23,.35), 0 14px 30px rgba(233,194,106,.22);
  transition: transform .18s ease, box-shadow .18s ease, filter .18s ease;
}
.btn:hover { transform: translateY(-2px); box-shadow: inset 0 1px 0 rgba(255,255,255,.7), inset 0 -3px 8px rgba(110,76,23,.35), 0 18px 40px rgba(233,194,106,.34); }
.btn:active { transform: translateY(0); filter: brightness(.97); }

.btn.secondary {
  background: linear-gradient(180deg, rgba(255,255,255,.08), rgba(255,255,255,.02));
  color: var(--text);
  border: 1px solid var(--line);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.06);
}
.btn.secondary:hover { background: rgba(233,194,106,.1); border-color: rgba(233,194,106,.4); box-shadow: 0 14px 30px rgba(0,0,0,.3); }
.btn.small { min-height: 40px; padding: 0 16px; font-size: 13px; border-radius: 11px; }
.btn.full { width: 100%; }

.cart-button { position: relative; }
.cart-count {
  position: absolute; top: -8px; right: -6px;
  min-width: 22px; height: 22px; border-radius: 999px;
  display: grid; place-items: center;
  color: #1c1206; background: #fff;
  border: 2px solid var(--gold-2); font-size: 11px; font-weight: 900;
}

.mobile-toggle {
  display: none; width: 48px; height: 48px; border-radius: 13px;
  border: 1px solid var(--line); background: rgba(233,194,106,.08); color: var(--gold-1); font-size: 22px;
}

/* ---------- Bannière de présentation ---------- */
.site-banner {
  position: relative; width: 100%; aspect-ratio: 16 / 9; overflow: hidden; line-height: 0;
  background: var(--ink);
}
.site-banner > img:first-child { width: 100%; height: 100%; object-fit: cover; display: block; }
.site-banner::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(180deg,
      rgba(5,6,11,.35) 0%,
      rgba(5,6,11,0) 20%,
      rgba(5,6,11,0) 40%,
      rgba(5,6,11,.12) 55%,
      rgba(5,6,11,.32) 68%,
      rgba(5,6,11,.6) 80%,
      rgba(5,6,11,.85) 90%,
      var(--ink) 100%),
    linear-gradient(90deg, rgba(5,6,11,.28) 0%, rgba(5,6,11,0) 18%);
  pointer-events: none;
}
.site-banner-logo {
  position: absolute; top: 6%; right: 4%; width: clamp(380px, 52vw, 760px); height: auto;
  z-index: 2;
}
@media (max-width: 720px) {
  .site-banner-logo { width: clamp(260px, 68vw, 440px); top: 4%; right: 4%; }
}

/* ---------- Bannière plein cadre (carte de l'Île Céleste, univers.html) ---------- */
.world-map-banner {
  position: relative; width: 100%; aspect-ratio: 16 / 9; overflow: hidden; line-height: 0;
  background: var(--ink);
}
.world-map-banner img { width: 100%; height: 100%; object-fit: cover; display: block; }
.world-map-banner::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg,
    var(--ink) 0%,
    rgba(5,6,11,0) 14%,
    rgba(5,6,11,0) 78%,
    rgba(5,6,11,.55) 92%,
    var(--ink) 100%);
  pointer-events: none;
}

/* ---------- Hero ---------- */
.hero { padding: 64px 0 60px; position: relative; overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: -20% -10% auto -10%; height: 620px; z-index: -1;
  background: radial-gradient(45rem 30rem at 20% 20%, rgba(246,188,71,.16), transparent 60%),
              radial-gradient(40rem 26rem at 85% 10%, rgba(58,84,136,.30), transparent 60%);
  pointer-events: none;
}
.hero .container { --max: 1360px; }
.hero-grid { display: grid; grid-template-columns: .85fr 1.15fr; align-items: center; gap: 48px; }

.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }

.hero-stats { display: flex; gap: 26px; margin-top: 38px; flex-wrap: wrap; }
.hero-stats div { display: flex; flex-direction: column; gap: 2px; }
.hero-stats strong { font-size: 22px; color: var(--gold-1); font-weight: 900; }
.hero-stats span { color: var(--muted-2); font-size: 12.5px; text-transform: uppercase; letter-spacing: .1em; font-weight: 700; }

.hero-card {
  position: relative;
  border-radius: var(--radius-xl);
  padding: 3px;
  background: conic-gradient(from 210deg, var(--gold-3), var(--ember-1) 18%, var(--ember-3) 34%, var(--navy-2) 50%, var(--gold-4) 62%, var(--gold-2) 80%, var(--gold-3));
  box-shadow: var(--shadow-deep);
  animation: heroFrameGlow 8s ease-in-out infinite;
}
@keyframes heroFrameGlow {
  0%, 100% { filter: brightness(1) saturate(1); }
  50% { filter: brightness(1.12) saturate(1.15); }
}
.hero-card-inner {
  position: relative; overflow: hidden; border-radius: calc(var(--radius-xl) - 3px);
  background: #0a0d18;
}

/* ---------- Carousel (fenêtre "L'Île Céleste t'attend") ---------- */
.hero-carousel { position: relative; width: 100%; aspect-ratio: 16 / 9; overflow: hidden; }
.carousel-track { display: flex; width: 100%; height: 100%; transition: transform .6s cubic-bezier(.65,0,.35,1); }
.carousel-slide { flex: 0 0 100%; width: 100%; height: 100%; }
.carousel-slide img { width: 100%; height: 100%; object-fit: cover; display: block; }
.carousel-arrow {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 3;
  width: 38px; height: 38px; border-radius: 50%; border: 1px solid rgba(233,194,106,.35);
  background: rgba(6,8,16,.55); backdrop-filter: blur(6px); color: var(--gold-1);
  font-size: 22px; line-height: 1; cursor: pointer; display: flex; align-items: center; justify-content: center;
  transition: background .25s ease, transform .25s ease;
}
.carousel-arrow:hover { background: rgba(233,194,106,.22); transform: translateY(-50%) scale(1.08); }
.carousel-arrow.prev { left: 12px; }
.carousel-arrow.next { right: 12px; }
.carousel-dots { position: absolute; left: 0; right: 0; bottom: 88px; z-index: 3; display: flex; justify-content: center; gap: 8px; }
.carousel-dots button {
  width: 8px; height: 8px; border-radius: 50%; border: none; padding: 0; cursor: pointer;
  background: rgba(255,255,255,.35); transition: background .25s ease, transform .25s ease;
}
.carousel-dots button.is-active { background: var(--gold-1); transform: scale(1.3); }

.float-panel {
  position: absolute; left: 20px; bottom: 20px; right: 20px; padding: 18px 20px;
  border-radius: 18px; border: 1px solid rgba(233,194,106,.3);
  background: rgba(6,8,16,.72); backdrop-filter: blur(10px);
  box-shadow: 0 20px 44px rgba(0,0,0,.4);
  z-index: 4; pointer-events: none;
}
.float-panel strong { display: block; font-size: 18px; margin-bottom: 5px; color: var(--gold-1); }
.float-panel span { color: var(--muted); font-size: 14px; }

/* ---------- Sections ---------- */
.section { padding: 76px 0; position: relative; }
.section.alt {
  background: linear-gradient(180deg, rgba(233,194,106,.04), rgba(233,194,106,0) 40%);
  border-block: 1px solid var(--line-soft);
}
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 36px; position: relative; z-index: 10; }
.section-head p { color: var(--muted); max-width: 640px; line-height: 1.7; margin: 14px 0 0; }
.section-head h2 { position: relative; }
.section-head h2::after {
  content: "";
  display: block;
  width: 64px; height: 3px; margin-top: 14px; border-radius: 2px;
  background: linear-gradient(90deg, var(--gold-1), transparent);
}

/* ---------- Sections atmosphériques (fond illustré continu) ---------- */
.section-atmo { position: relative; isolation: isolate; overflow: hidden; border-block: none; }
.section-atmo::before {
  content: ""; position: absolute; inset: -2px; z-index: -2;
  background-size: cover; background-position: center;
  filter: saturate(.8) brightness(.42);
  transform: scale(1.03);
}
.section-atmo::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg,
    var(--ink) 0%,
    rgba(5,6,11,.6) 10%,
    rgba(5,6,11,.32) 32%,
    rgba(5,6,11,.32) 68%,
    rgba(5,6,11,.65) 90%,
    var(--ink) 100%);
}
.section-atmo.atmo-foret::before { background-image: url('../img/carousel/carousel-05-foret.jpg'); }
.section-atmo.atmo-plateau::before { background-image: url('../img/carousel/carousel-06-plateau.jpg'); }
.section-atmo.atmo-savane::before { background-image: url('../img/carousel/carousel-02-savane.jpg'); }
.section-atmo.atmo-fournaise::before { background-image: url('../img/carousel/carousel-03-fournaise.jpg'); }
.section-atmo.atmo-ensemble::before { background-image: url('../img/carousel/carousel-01-vue-ensemble.jpg'); }
.section-atmo.atmo-ravine::before { background-image: url('../img/carousel/carousel-04-ravine.jpg'); }

.page-hero.section-atmo { padding: 104px 0 64px; }

/* ---------- Cartes "verre" flottant sur fond atmosphérique ---------- */
.card.glass {
  background:
    linear-gradient(180deg, rgba(16,18,29,.6), rgba(8,9,16,.5)) padding-box,
    linear-gradient(155deg, rgba(233,194,106,.55), rgba(233,194,106,.1) 40%, rgba(233,194,106,.4)) border-box;
  backdrop-filter: blur(10px) saturate(1.15);
  -webkit-backdrop-filter: blur(10px) saturate(1.15);
}

/* ---------- Personnage en bordure de section (profondeur) ---------- */
.callout-figure {
  position: absolute; left: -30px; bottom: 0; height: 112%; width: auto;
  z-index: 1; pointer-events: none;
  filter: drop-shadow(0 24px 30px rgba(0,0,0,.6));
  opacity: .92;
}
.callout { position: relative; overflow: visible; z-index: 2; }

.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }

/* ---------- Generic ornate card ---------- */
.card {
  padding: 28px;
  position: relative;
  border-radius: var(--radius-xl);
  background:
    linear-gradient(180deg, rgba(255,255,255,.05), rgba(255,255,255,.015)) padding-box,
    linear-gradient(155deg, rgba(233,194,106,.5), rgba(233,194,106,.08) 40%, rgba(233,194,106,.35)) border-box;
  border: 1px solid transparent;
  box-shadow: var(--shadow-soft);
}
.card p { color: var(--muted); line-height: 1.7; margin: 14px 0 0; }
.icon {
  width: 52px; height: 52px; border-radius: 15px;
  display: grid; place-items: center;
  background: linear-gradient(160deg, rgba(233,194,106,.22), rgba(233,194,106,.06));
  border: 1px solid var(--line);
  color: var(--gold-1); font-size: 22px; font-weight: 900;
  margin-bottom: 18px;
}

/* ---------- Rarity pips ---------- */
.rarity { display: inline-flex; gap: 5px; align-items: center; }
.rarity i {
  width: 7px; height: 7px; border-radius: 2px; display: inline-block; transform: rotate(45deg);
  background: rgba(233,194,106,.22);
}
.rarity i.on { background: linear-gradient(135deg, var(--gold-1), var(--gold-3)); box-shadow: 0 0 8px rgba(233,194,106,.7); }

/* ---------- Product / pack cards ---------- */
.product-card {
  overflow: hidden; padding: 0; position: relative; isolation: isolate;
  transition: transform .3s ease, box-shadow .3s ease;
}
.product-card:hover { transform: translateY(-6px); box-shadow: 0 30px 60px rgba(0,0,0,.5); }

.pack-art {
  position: relative; aspect-ratio: 1/1; overflow: hidden;
  border-bottom: 1px solid var(--line);
  display: grid; place-items: center;
  background:
    radial-gradient(70% 70% at 50% 30%, rgba(233,194,106,.18), transparent 65%),
    linear-gradient(160deg, #141a2e, #0a0d18 70%);
}
.pack-art img { width: 62%; height: 62%; object-fit: contain; filter: drop-shadow(0 18px 30px rgba(0,0,0,.5)); transition: transform .4s ease; }
.product-card:hover .pack-art img { transform: scale(1.06) rotate(-1.5deg); }

.pack-art::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(115deg, transparent 25%, rgba(255,255,255,.35) 38%, rgba(246,188,71,.3) 46%, transparent 60%);
  background-size: 240% 240%; background-position: -40% -40%;
  opacity: 0; mix-blend-mode: overlay; transition: opacity .3s ease, background-position .8s ease;
}
.product-card:hover .pack-art::after { opacity: 1; background-position: 60% 60%; }

.product-body { padding: 22px; }
.product-meta { display: flex; justify-content: space-between; gap: 12px; align-items: center; margin: 14px 0 18px; color: var(--muted); }
.price { color: var(--gold-1); font-weight: 900; font-size: 23px; }
.tag {
  display: inline-flex; border: 1px solid var(--line); border-radius: 999px; padding: 5px 11px;
  color: var(--gold-1); font-size: 11.5px; font-weight: 800; letter-spacing: .05em; text-transform: uppercase;
  background: rgba(233,194,106,.06);
}

/* ---------- Creature / lore cards ---------- */
.creature-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 40px 16px; padding-top: 22px; }

.creature-card {
  position: relative;
  overflow: visible;
  border-radius: var(--radius-lg);
  padding: 2px;
  background: linear-gradient(160deg, var(--el-1), var(--el-3));
  box-shadow: var(--shadow-soft);
  transition: transform .3s ease, box-shadow .3s ease;
  z-index: 1;
}
.creature-card:hover { transform: translateY(-8px) rotate(-.4deg); box-shadow: 0 26px 54px rgba(0,0,0,.5); }

.creature-card-inner {
  border-radius: calc(var(--radius-lg) - 2px);
  background: linear-gradient(180deg, #0d1120 0%, #0a0d18 100%);
  overflow: visible; position: relative;
  display: flex; flex-direction: column; height: 100%;
}

.creature-art {
  position: relative; aspect-ratio: 3/4;
  border-radius: calc(var(--radius-lg) - 2px) calc(var(--radius-lg) - 2px) 0 0;
  background:
    radial-gradient(120% 90% at 50% 0%, color-mix(in srgb, var(--el-2) 35%, transparent), transparent 60%),
    linear-gradient(200deg, color-mix(in srgb, var(--el-3) 55%, #05060c), #05060c 75%);
  display: grid; place-items: center;
  overflow: visible;
}
.creature-art svg { width: 46%; height: 46%; color: var(--el-1); filter: drop-shadow(0 10px 20px rgba(0,0,0,.5)); }

/* Le personnage dépasse légèrement le haut du cadre (juste la tête) pour un rendu
   premium ("pop out"), ancré par les pieds en bas du cadre pour une taille cohérente
   d'une carte à l'autre quel que soit le ratio de l'image source. */
.creature-illust {
  position: absolute; left: 50%; bottom: 0; transform: translateX(-50%);
  height: 113%; width: auto; max-width: 150%; object-fit: contain;
  z-index: 2; pointer-events: none;
  filter: drop-shadow(0 14px 20px rgba(0,0,0,.55));
  transition: transform .4s ease;
}
.creature-card:hover .creature-illust { transform: translateX(-50%) translateY(-4px) scale(1.02); }

.creature-art::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(115deg, transparent 30%, rgba(255,255,255,.28) 42%, transparent 56%);
  background-size: 220% 220%; background-position: -60% -60%;
  opacity: 0; mix-blend-mode: overlay; transition: opacity .3s ease, background-position .9s ease;
  pointer-events: none; z-index: 2;
}
.creature-card:hover .creature-art::after { opacity: 1; background-position: 80% 80%; }

.creature-ribbon {
  position: absolute; top: 12px; left: -32px; z-index: 3;
  transform: rotate(-40deg);
  background: rgba(5,6,12,.85); color: var(--muted-2);
  font-size: 9.5px; font-weight: 800; text-transform: uppercase; letter-spacing: .08em;
  padding: 4px 40px; border: 1px solid var(--line-soft);
}

.creature-type {
  position: absolute; top: 10px; right: 10px;
  width: 30px; height: 30px; border-radius: 9px;
  display: grid; place-items: center;
  background: color-mix(in srgb, var(--el-2) 30%, #05060c);
  border: 1px solid color-mix(in srgb, var(--el-1) 60%, transparent);
  color: var(--el-1);
}
.creature-type svg { width: 16px; height: 16px; }

.creature-badge {
  position: absolute; top: 8px; right: 8px; z-index: 3;
  width: 42px; height: 42px;
  filter: drop-shadow(0 8px 14px rgba(0,0,0,.55));
}
.creature-badge img { width: 100%; height: 100%; display: block; }

.creature-body { padding: 14px 14px 16px; }
.creature-people {
  display: block; font-size: 19px; font-weight: 900; letter-spacing: -.01em;
  text-transform: uppercase; color: var(--el-1); line-height: 1.15;
  text-shadow: 0 0 18px color-mix(in srgb, var(--el-1) 55%, transparent);
  margin-bottom: 7px;
}
.creature-people em {
  display: block; font-style: normal; font-size: 10px; font-weight: 700;
  letter-spacing: .16em; text-transform: uppercase; color: var(--muted-2);
  margin-top: 3px;
}
.creature-desc { font-size: 12.5px; color: var(--muted-2); line-height: 1.55; margin: 0; }
.creature-bar { height: 3px; background: linear-gradient(90deg, var(--el-1), var(--el-2), var(--el-3)); }

/* ---------- Témoignages ---------- */
.testimonial-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.testimonial-card { overflow: hidden; padding: 0; }
.testimonial-video {
  position: relative; aspect-ratio: 16 / 9; overflow: hidden;
  background: linear-gradient(200deg, rgba(233,194,106,.12), #05060c 70%);
  border-bottom: 1px solid var(--line);
}
.testimonial-video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; display: block; }
.testimonial-video-empty {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px;
  color: var(--muted-2); font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em;
}
.testimonial-play-ph {
  width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--line);
  display: grid; place-items: center; color: var(--gold-1); font-size: 15px;
}
.testimonial-body { padding: 20px 22px 24px; }
.testimonial-type { margin-bottom: 12px; padding: 5px 12px; font-size: 10px; }
.testimonial-type.type-interview {
  color: var(--water-1, #bfe9f5);
  background: linear-gradient(180deg, rgba(58,84,136,.24), rgba(58,84,136,.05));
  border-color: rgba(58,84,136,.4);
}
.testimonial-type.type-media {
  color: var(--fire-1, #ffb27a);
  background: linear-gradient(180deg, rgba(228,102,29,.22), rgba(228,102,29,.05));
  border-color: rgba(228,102,29,.4);
}
.testimonial-title { font-size: 16px; font-weight: 800; margin: 0 0 8px; letter-spacing: -.01em; }
.testimonial-quote { color: var(--muted); line-height: 1.6; font-size: 13.5px; margin: 0 0 14px; }
.testimonial-name { display: block; font-size: 11.5px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--muted-2); }

/* ---------- Trainers / Maîtres Invocateurs ---------- */
.trainer-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; margin-top: 22px; }
.trainer-card {
  position: relative; text-align: center; overflow: hidden;
  padding: 26px 20px 22px;
  border-radius: var(--radius-xl);
  background: linear-gradient(180deg, rgba(233,194,106,.08), rgba(233,194,106,.015));
  border: 1px solid var(--line);
  box-shadow: var(--shadow-soft);
}
.trainer-card::before {
  content: ""; position: absolute; inset: -30% -10% auto -10%; height: 70%;
  background: radial-gradient(60% 60% at 50% 20%, rgba(233,194,106,.16), transparent 70%);
  pointer-events: none;
}
.trainer-card img { max-width: 220px; width: 78%; margin: 0 auto; filter: drop-shadow(0 22px 30px rgba(0,0,0,.5)); position: relative; }
.trainer-name { margin-top: 14px; font-weight: 900; font-size: 17px; color: var(--gold-1); letter-spacing: .01em; }
.trainer-role { color: var(--muted-2); font-size: 11.5px; text-transform: uppercase; letter-spacing: .12em; font-weight: 800; margin-top: 3px; }

.element-feu     { --el-1: var(--fire-1);    --el-2: var(--fire-2);    --el-3: var(--fire-3); }
.element-aqua    { --el-1: var(--water-1);   --el-2: var(--water-2);   --el-3: var(--water-3); }
.element-terre   { --el-1: var(--terre-1);   --el-2: var(--terre-2);   --el-3: var(--terre-3); }
.element-air     { --el-1: var(--air-1);     --el-2: var(--air-2);     --el-3: var(--air-3); }
.element-lumiere { --el-1: var(--lumiere-1); --el-2: var(--lumiere-2); --el-3: var(--lumiere-3); }
.element-tenebre { --el-1: var(--tenebre-1); --el-2: var(--tenebre-2); --el-3: var(--tenebre-3); }

/* ---------- Timeline ---------- */
.timeline { display: grid; gap: 14px; }
.timeline-item {
  display: grid; grid-template-columns: 130px 1fr; gap: 18px; padding: 20px;
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, rgba(255,255,255,.05), rgba(255,255,255,.015));
  border: 1px solid var(--line-soft);
  position: relative;
}
.timeline-item::before {
  content: ""; position: absolute; left: 0; top: 14px; bottom: 14px; width: 3px; border-radius: 3px;
  background: linear-gradient(var(--gold-1), var(--gold-3));
}
.timeline-date { color: var(--gold-1); font-weight: 900; text-transform: uppercase; letter-spacing: .08em; font-size: 13px; }
.timeline-item p { margin: 6px 0 0; color: var(--muted); line-height: 1.6; }

/* ---------- Callout ---------- */
.callout {
  padding: 40px; border-radius: var(--radius-xl);
  border: 1px solid rgba(233,194,106,.35);
  background: linear-gradient(135deg, rgba(233,194,106,.14), rgba(58,84,136,.14));
  display: grid; grid-template-columns: 1fr auto; gap: 24px; align-items: center;
  box-shadow: var(--shadow-soft);
}
.callout p { color: var(--muted); line-height: 1.7; margin: 12px 0 0; }

/* ---------- Forms ---------- */
.form { display: grid; gap: 15px; }
.form label { font-weight: 800; color: var(--muted); font-size: 14px; }
.input, textarea.input, select.input {
  width: 100%; border: 1px solid var(--line-soft);
  background: rgba(255,255,255,.05); color: var(--text);
  border-radius: var(--radius-md); min-height: 50px; padding: 13px 15px;
  font: inherit; outline: none; margin-top: 6px;
  transition: border-color .2s ease, box-shadow .2s ease;
}
textarea.input { min-height: 140px; resize: vertical; }
.input:focus { border-color: rgba(233,194,106,.6); box-shadow: 0 0 0 4px rgba(233,194,106,.12); }

/* ---------- Footer ---------- */
.footer { padding: 52px 0 30px; border-top: 1px solid var(--line); color: var(--muted); position: relative; }
.footer::before {
  content: ""; position: absolute; top: -1px; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold-2), transparent);
}
.footer-grid { display: grid; grid-template-columns: 1.2fr repeat(3, 1fr); gap: 30px; }
.footer h4 { color: var(--gold-1); margin: 0 0 14px; font-size: 13px; text-transform: uppercase; letter-spacing: .1em; }
.footer a { display: block; margin: 9px 0; color: var(--muted); transition: color .2s ease; }
.footer a:hover { color: var(--gold-1); }
.footer-bottom {
  margin-top: 30px; padding-top: 20px; border-top: 1px solid var(--line-soft);
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 13px; color: var(--muted-2);
}

/* ---------- Misc pages ---------- */
.page-hero { padding: 60px 0 28px; position: relative; }
.page-hero p { max-width: 760px; }
.rich-text { color: var(--muted); line-height: 1.8; }
.rich-text h2, .rich-text h3 { color: var(--text); margin-top: 30px; }
.rich-text ul { padding-left: 22px; }
.rich-text li { margin: 8px 0; }
.notice {
  border: 1px solid rgba(233,194,106,.35);
  background: linear-gradient(135deg, rgba(233,194,106,.12), rgba(233,194,106,.03));
  color: var(--gold-1);
  padding: 16px 18px; border-radius: var(--radius-md); line-height: 1.6; font-size: 14.5px;
}

/* ---------- Cart drawer ---------- */
.cart-drawer { position: fixed; inset: 0; z-index: 200; opacity: 0; pointer-events: none; transition: opacity .25s ease; }
.cart-drawer.open { opacity: 1; pointer-events: all; }
.cart-backdrop { position: absolute; inset: 0; background: rgba(0,0,0,.65); backdrop-filter: blur(2px); }
.cart-panel {
  position: absolute; top: 0; right: 0; width: min(100%, 440px); height: 100%;
  background: linear-gradient(180deg, #0d1120, #090c16);
  border-left: 1px solid var(--line);
  box-shadow: var(--shadow-deep);
  display: flex; flex-direction: column;
  transform: translateX(100%); transition: transform .28s ease;
}
.cart-drawer.open .cart-panel { transform: translateX(0); }
.cart-head, .cart-foot { padding: 22px; border-bottom: 1px solid var(--line-soft); }
.cart-head h3 { color: var(--gold-1); }
.cart-foot { border-top: 1px solid var(--line-soft); border-bottom: 0; margin-top: auto; }
.cart-head { display: flex; justify-content: space-between; align-items: center; }
.close-cart {
  border: 1px solid var(--line); background: rgba(233,194,106,.08); color: var(--gold-1);
  border-radius: 999px; width: 40px; height: 40px; cursor: pointer; font-size: 18px;
}
.cart-items { padding: 14px 22px; overflow: auto; display: grid; gap: 12px; }
.cart-item {
  display: grid; grid-template-columns: 1fr auto; gap: 10px; padding: 15px;
  border: 1px solid var(--line-soft); border-radius: var(--radius-md);
  background: rgba(255,255,255,.04);
}
.cart-item strong { display: block; color: var(--text); }
.cart-item small { color: var(--muted-2); }
.qty { display: inline-flex; align-items: center; gap: 10px; margin-top: 10px; }
.qty button {
  width: 28px; height: 28px; border-radius: 999px; border: 1px solid var(--line);
  background: rgba(233,194,106,.08); color: var(--gold-1); cursor: pointer; font-weight: 800;
}
.cart-total { display: flex; justify-content: space-between; align-items: center; margin-bottom: 16px; font-size: 18px; }
.cart-total strong:last-child { color: var(--gold-1); }
.empty { color: var(--muted-2); text-align: center; padding: 34px 8px; }

/* ---------- Gallery (Liste des cartes) ---------- */
.gallery-toolbar { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-bottom: 26px; }
.gallery-count { color: var(--muted-2); font-size: 13px; margin-left: auto; font-weight: 700; }

.gallery-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 16px; }

.gallery-card {
  all: unset; cursor: pointer; display: block; position: relative;
  border-radius: var(--radius-lg); padding: 2px;
  background: linear-gradient(160deg, var(--gold-2), var(--navy-2));
  box-shadow: var(--shadow-soft);
  transition: transform .3s ease, box-shadow .3s ease;
}
.gallery-card:hover, .gallery-card:focus-visible {
  box-shadow: 0 26px 54px rgba(0,0,0,.55);
}
.gallery-frame {
  display: block; overflow: hidden; position: relative;
  aspect-ratio: 2634 / 3620; border-radius: calc(var(--radius-lg) - 2px);
  background:
    radial-gradient(120% 90% at 50% 0%, rgba(233,194,106,.14), transparent 60%),
    linear-gradient(200deg, #141a2e, #05060c 78%);
}
.gallery-frame img {
  width: 100%; height: 100%; object-fit: contain; padding: 3%; box-sizing: border-box;
  filter: drop-shadow(0 10px 18px rgba(0,0,0,.5));
  transition: transform .45s ease;
}
.gallery-card:hover .gallery-frame img { transform: scale(1.08); }
.gallery-frame::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(115deg, transparent 30%, rgba(255,255,255,.25) 42%, rgba(246,188,71,.28) 50%, transparent 62%);
  background-size: 220% 220%; background-position: -60% -60%;
  opacity: 0; mix-blend-mode: overlay; transition: opacity .3s ease, background-position .9s ease;
}
.gallery-card:hover .gallery-frame::after { opacity: 1; background-position: 80% 80%; }

.gallery-caption { display: flex; align-items: center; justify-content: space-between; gap: 6px; padding: 9px 10px 10px; }
.gallery-name { font-size: 12.5px; font-weight: 800; color: var(--text); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.gallery-stage {
  flex: none; font-size: 9px; font-weight: 800; text-transform: uppercase; letter-spacing: .06em;
  color: var(--gold-1); background: rgba(233,194,106,.12); border: 1px solid var(--line);
  padding: 2px 7px; border-radius: 999px;
}

.gallery-card.is-mystery .gallery-frame img { filter: drop-shadow(0 10px 18px rgba(0,0,0,.5)) grayscale(.2) brightness(.82); }
.gallery-card.is-mystery .gallery-name { color: var(--muted-2); font-style: italic; }
.gallery-card.is-mystery .gallery-stage { color: var(--muted-2); background: rgba(255,255,255,.05); }

/* Lightbox preview */
.lightbox {
  position: fixed; inset: 0; z-index: 300; display: flex; align-items: center; justify-content: center;
  padding: 24px; opacity: 0; pointer-events: none; transition: opacity .25s ease;
}
.lightbox.open { opacity: 1; pointer-events: all; }
.lightbox-backdrop { position: absolute; inset: 0; background: rgba(0,0,0,.8); backdrop-filter: blur(4px); }
.lightbox-panel {
  position: relative; width: 100%; max-width: 420px; text-align: center;
  background: linear-gradient(180deg, #11162a, #090c16);
  border: 1px solid var(--line); border-radius: var(--radius-xl);
  padding: 30px 26px 26px; box-shadow: var(--shadow-deep);
  transform: translateY(18px) scale(.96); transition: transform .3s ease;
}
.lightbox.open .lightbox-panel { transform: translateY(0) scale(1); }
.lightbox-panel img { max-width: 100%; max-height: 78vh; margin: 0 auto 18px; border-radius: 14px; filter: drop-shadow(0 20px 30px rgba(0,0,0,.55)); }
.lightbox-caption strong { display: block; font-size: 20px; color: var(--gold-1); font-weight: 900; }
.lightbox-caption span { display: inline-block; margin-top: 7px; color: var(--muted-2); font-size: 12px; text-transform: uppercase; letter-spacing: .1em; font-weight: 800; }
.lightbox-close {
  position: absolute; top: 14px; right: 14px; width: 38px; height: 38px; border-radius: 999px;
  border: 1px solid var(--line); background: rgba(233,194,106,.1); color: var(--gold-1);
  font-size: 18px; cursor: pointer;
}

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .creature-grid { grid-template-columns: repeat(3, 1fr); gap: 60px 16px; }
}

@media (max-width: 920px) {
  .mobile-toggle { display: grid; place-items: center; }
  .nav {
    position: fixed; inset: 82px 0 auto 0; padding: 18px 16px 26px;
    display: none; flex-direction: column; align-items: stretch;
    background: rgba(6,8,16,.98); border-bottom: 1px solid var(--line);
    max-height: calc(100vh - 82px); overflow: auto;
  }
  .nav.open { display: flex; }
  .nav a { padding: 15px 16px; border: 1px solid var(--line-soft); border-radius: var(--radius-md); }
  .hero-grid, .grid-2, .callout, .footer-grid { grid-template-columns: 1fr; }
  .callout-figure { display: none; }
  .grid-3, .grid-4, .testimonial-grid { grid-template-columns: repeat(2, 1fr); }
  .hero { padding-top: 40px; }
  .page-hero.section-atmo { padding: 64px 0 40px; }
  .section-head { display: block; }
}

@media (max-width: 620px) {
  .container { width: min(100% - 22px, var(--max)); }
  .header-inner { min-height: 72px; }
  .logo span { font-size: 15px; }
  .logo small { font-size: 9.5px; }
  .logo-mark { width: 44px; height: 44px; }
  .header-actions .btn.secondary:not(.cart-button) { display: none; }
  .grid-3, .grid-4, .creature-grid, .testimonial-grid { grid-template-columns: 1fr 1fr; }
  .creature-grid { gap: 74px 16px; }
  .timeline-item { grid-template-columns: 1fr; }
  .section { padding: 48px 0; }
  .card { padding: 20px; }
  .callout { padding: 26px; }
  .trainer-grid { grid-template-columns: 1fr; }
}

@media (max-width: 420px) {
  .grid-3, .grid-4, .creature-grid, .testimonial-grid { grid-template-columns: 1fr; }
  .creature-grid { gap: 84px 16px; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .gallery-count { margin-left: 0; }
}

/* ---------- Démo jeu mobile (placeholder) ---------- */
.demo-frame {
  position: relative; width: 100%; aspect-ratio: 16 / 9; max-width: 960px; margin: 0 auto;
  border-radius: var(--radius-xl); overflow: hidden; display: flex; align-items: center; justify-content: center;
  background:
    radial-gradient(60% 80% at 50% 30%, rgba(58,84,136,.35), transparent 70%),
    linear-gradient(160deg, #141a2e, #05060c 78%);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-deep);
}
.demo-frame-glow {
  position: absolute; inset: -30%; z-index: 0;
  background: radial-gradient(38% 38% at 50% 45%, rgba(233,194,106,.18), transparent 70%);
  animation: demoGlow 4s ease-in-out infinite;
}
@keyframes demoGlow {
  0%, 100% { opacity: .55; transform: scale(1); }
  50% { opacity: .95; transform: scale(1.08); }
}
.demo-play {
  position: relative; z-index: 1; width: 96px; height: 96px; border-radius: 50%;
  border: 2px solid var(--gold-2); cursor: not-allowed;
  background: linear-gradient(160deg, var(--gold-2), var(--ember-2) 60%, var(--ember-3));
  color: var(--ink); display: flex; align-items: center; justify-content: center;
  box-shadow: 0 0 0 8px rgba(233,194,106,.12), 0 20px 44px rgba(0,0,0,.45);
  opacity: .85;
}
.demo-play-icon { font-size: 32px; margin-left: 5px; }
.demo-frame-label {
  position: absolute; left: 50%; bottom: 26px; transform: translateX(-50%); z-index: 1;
  font-size: 12.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  color: var(--muted-2); background: rgba(6,8,16,.6); padding: 8px 16px; border-radius: 999px;
  border: 1px solid var(--line-soft);
}
.demo-note { max-width: 640px; margin: 24px auto 0; text-align: center; color: var(--muted); line-height: 1.7; }
@media (max-width: 560px) {
  .demo-play { width: 76px; height: 76px; }
  .demo-play-icon { font-size: 26px; }
}


/* ---------- Boutique premium : decks officiels ---------- */
.product-card { --product-glow: rgba(233,194,106,.25); }
.product-card.theme-terre { --product-glow: rgba(101,205,112,.35); }
.product-card.theme-aqua { --product-glow: rgba(73,174,255,.38); }
.product-card.theme-feu { --product-glow: rgba(255,91,43,.38); }
.product-card.theme-tenebre { --product-glow: rgba(154,83,255,.40); }
.product-card.theme-duo { --product-glow: rgba(235,93,72,.34); }
.product-card::before {
  content:""; position:absolute; inset:0; border-radius:inherit; pointer-events:none; z-index:3;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.035), inset 0 0 42px var(--product-glow);
  opacity:.65; transition:opacity .3s ease;
}
.product-card:hover::before { opacity:1; }
.product-card .pack-art {
  aspect-ratio: 1 / 1.08;
  background:
    radial-gradient(65% 60% at 50% 34%, var(--product-glow), transparent 72%),
    radial-gradient(35% 25% at 50% 84%, rgba(255,255,255,.10), transparent 76%),
    linear-gradient(165deg,#171b2d 0%,#080a13 72%);
}
.product-card .pack-art::before {
  content:""; position:absolute; left:14%; right:14%; bottom:8%; height:13%; border-radius:50%;
  background:var(--product-glow); filter:blur(22px); opacity:.72;
}
.product-card .pack-art img { width:76%; height:82%; position:relative; z-index:1; }
.product-card.theme-duo .pack-art img { width:88%; height:84%; }
.premium-label {
  position:absolute; top:15px; left:15px; z-index:4; padding:7px 11px; border-radius:999px;
  color:#fff7df; background:rgba(6,8,16,.76); border:1px solid rgba(233,194,106,.42);
  backdrop-filter:blur(8px); font-size:10px; font-weight:900; letter-spacing:.11em; text-transform:uppercase;
  box-shadow:0 8px 20px rgba(0,0,0,.35);
}
.product-kicker {
  margin-top:10px; color:var(--gold-1); font-size:11px; font-weight:900;
  text-transform:uppercase; letter-spacing:.11em;
}
.product-card h3 { margin-top:8px; font-size:21px; line-height:1.2; }
.product-card .product-body > p { min-height:82px; font-size:14px; }
.product-features { display:flex; flex-wrap:wrap; gap:7px; margin:16px 0 2px; }
.product-features span {
  padding:6px 8px; border-radius:8px; border:1px solid rgba(255,255,255,.09);
  background:rgba(255,255,255,.035); color:var(--muted-2); font-size:10.5px; font-weight:700;
}
.product-cta { position:relative; overflow:hidden; }
.product-cta::after {
  content:""; position:absolute; inset:-2px; transform:translateX(-120%);
  background:linear-gradient(110deg,transparent 28%,rgba(255,255,255,.28) 48%,transparent 67%);
  transition:transform .65s ease;
}
.product-card:hover .product-cta::after { transform:translateX(120%); }
@media (min-width: 921px) {
  body[data-page="boutique"] [data-cms-list="products"] { grid-template-columns:repeat(3,1fr); gap:26px; }
  body[data-page="boutique"] .product-card:nth-child(-n+5) { box-shadow:0 24px 58px rgba(0,0,0,.44), 0 0 34px var(--product-glow); }
}

/* ---------- Boutique : cartes parfaitement alignées ---------- */
body[data-page="boutique"] [data-cms-list="products"] {
  align-items: stretch;
}

body[data-page="boutique"] .product-card {
  display: flex;
  flex-direction: column;
  height: 100%;
}

body[data-page="boutique"] .product-card .pack-art {
  aspect-ratio: auto;
  height: 330px;
  min-height: 330px;
  flex: 0 0 330px;
}

body[data-page="boutique"] .product-card .pack-art img,
body[data-page="boutique"] .product-card.theme-duo .pack-art img {
  width: 78%;
  height: 84%;
  max-width: 290px;
  max-height: 285px;
  object-fit: contain;
  object-position: center;
}

body[data-page="boutique"] .product-card.theme-duo .pack-art img {
  width: 88%;
  max-width: 320px;
}

body[data-page="boutique"] .product-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 22px;
}

body[data-page="boutique"] .product-kicker {
  min-height: 15px;
}

body[data-page="boutique"] .product-card h3 {
  min-height: 52px;
  display: flex;
  align-items: flex-start;
}

body[data-page="boutique"] .product-card .product-body > p {
  min-height: 96px;
  margin-bottom: 0;
}

body[data-page="boutique"] .product-features {
  min-height: 62px;
  align-content: flex-start;
}

body[data-page="boutique"] .product-meta {
  min-height: 36px;
  margin-top: auto;
}

body[data-page="boutique"] .product-cta {
  min-height: 54px;
}

@media (min-width: 1280px) {
  body[data-page="boutique"] [data-cms-list="products"] {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 22px;
  }
}

@media (min-width: 921px) and (max-width: 1279px) {
  body[data-page="boutique"] [data-cms-list="products"] {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 920px) {
  body[data-page="boutique"] .product-card .pack-art {
    height: 300px;
    min-height: 300px;
    flex-basis: 300px;
  }
}

@media (max-width: 560px) {
  body[data-page="boutique"] .product-card .pack-art {
    height: 280px;
    min-height: 280px;
    flex-basis: 280px;
  }

  body[data-page="boutique"] .product-card h3,
  body[data-page="boutique"] .product-card .product-body > p,
  body[data-page="boutique"] .product-features {
    min-height: 0;
  }
}

/* ---------- Boutique V23 : présentation hyper premium et visuels intégraux ---------- */
.product-card.theme-booster { --product-glow: rgba(255,160,35,.42); }
.product-card.theme-decouverte { --product-glow: rgba(239,196,91,.48); }
body[data-page="boutique"] .product-card .pack-art {
  overflow: hidden;
  isolation: isolate;
}
body[data-page="boutique"] .product-card .pack-art img {
  width: 86%;
  height: 88%;
  max-width: 320px;
  max-height: 300px;
  object-fit: contain;
  object-position: center;
  filter: drop-shadow(0 22px 30px rgba(0,0,0,.58));
}
body[data-page="boutique"] .product-card.theme-booster .pack-art img {
  width: 70%;
  height: 88%;
  max-width: 245px;
  max-height: 300px;
}
body[data-page="boutique"] .product-card.theme-decouverte .pack-art img,
body[data-page="boutique"] .product-card .pack-art-discovery img {
  width: 96%;
  height: 94%;
  max-width: 355px;
  max-height: 315px;
  object-fit: contain;
  transform: none;
}
body[data-page="boutique"] .product-card.theme-decouverte:hover .pack-art img {
  transform: scale(1.035);
}
body[data-page="boutique"] .product-card .pack-art::after {
  background: linear-gradient(115deg, transparent 25%, rgba(255,255,255,.12) 45%, transparent 65%);
  mix-blend-mode: screen;
}
body[data-page="boutique"] .product-card.theme-decouverte .pack-art {
  background:
    radial-gradient(70% 60% at 50% 40%, rgba(244,201,98,.35), transparent 72%),
    radial-gradient(45% 20% at 50% 88%, rgba(255,255,255,.12), transparent 78%),
    linear-gradient(160deg,#1b1d2b 0%,#090a11 76%);
}

/* Booster 2026 — ajout produit */
.product-card.theme-booster-2026 { --product-glow: rgba(218, 82, 64, .46); }
body[data-page="boutique"] .product-card.theme-booster-2026 .pack-art img {
  width: 72%;
  height: 88%;
  object-fit: contain;
  object-position: center;
}


/* Boutique V25 — boosters officiels, visuels complets sans recadrage */
body[data-page="boutique"] .product-card.theme-booster .pack-art img,
body[data-page="boutique"] .product-card.theme-booster-2026 .pack-art img {
  width: 72%;
  height: 90%;
  max-width: 255px;
  max-height: 310px;
  object-fit: contain;
  object-position: center;
  transform: none;
}
body[data-page="boutique"] .product-card.theme-booster:hover .pack-art img,
body[data-page="boutique"] .product-card.theme-booster-2026:hover .pack-art img {
  transform: scale(1.035);
}
body[data-page="boutique"] .product-card.theme-booster-2026 {
  --product-glow: rgba(175, 55, 66, .50);
}

/* ===== Boutique Premium V26 ===== */
body[data-page="boutique"] .section:has([data-cms-list="products"]) {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 15% 20%, rgba(255,177,38,.10), transparent 24%),
    radial-gradient(circle at 82% 58%, rgba(132,70,255,.09), transparent 26%),
    linear-gradient(180deg, rgba(3,5,10,.96), rgba(11,8,6,.98));
}
body[data-page="boutique"] .section:has([data-cms-list="products"])::before {
  content:""; position:absolute; inset:0; pointer-events:none; opacity:.28;
  background-image: radial-gradient(rgba(242,190,90,.7) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: linear-gradient(to bottom, transparent, #000 18%, #000 82%, transparent);
}
body[data-page="boutique"] [data-cms-list="products"] {
  position:relative; z-index:1;
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:24px;
  align-items:stretch;
}
body[data-page="boutique"] .product-card {
  min-width:0;
  overflow:visible;
  border:1px solid rgba(224,165,62,.52);
  border-radius:24px;
  background:linear-gradient(180deg,rgba(19,20,20,.96),rgba(12,11,9,.98));
  box-shadow:0 22px 70px rgba(0,0,0,.52), inset 0 1px 0 rgba(255,255,255,.04);
  transform-style:preserve-3d;
}
body[data-page="boutique"] .product-card::after {
  content:""; position:absolute; inset:0; border-radius:inherit; pointer-events:none;
  background:linear-gradient(120deg,transparent 30%,rgba(255,220,144,.06) 47%,transparent 63%);
  opacity:0; transition:opacity .35s ease;
}
body[data-page="boutique"] .product-card:hover::after { opacity:1; }
body[data-page="boutique"] .product-card .pack-art {
  height:330px;
  overflow:visible;
  border-radius:23px 23px 0 0;
  perspective:1200px;
  isolation:isolate;
  background:
    radial-gradient(ellipse at 50% 86%, var(--product-glow), transparent 45%),
    linear-gradient(180deg,rgba(6,8,12,.92),rgba(13,12,10,.95));
}
body[data-page="boutique"] .product-card .pack-art::before {
  content:""; position:absolute; left:12%; right:12%; bottom:20px; height:58px; z-index:0;
  border-radius:50%;
  background:radial-gradient(ellipse,rgba(245,176,69,.33),rgba(0,0,0,.74) 62%,transparent 72%);
  filter:blur(4px);
  transform:rotateX(67deg);
}
body[data-page="boutique"] .product-card .pack-art::after {
  content:""; position:absolute; left:13%; right:13%; bottom:23px; height:18px; z-index:0;
  border:1px solid rgba(238,185,89,.35); border-radius:50%;
  background:linear-gradient(180deg,#3b2b16,#0d0a07);
  box-shadow:0 10px 25px rgba(0,0,0,.75), inset 0 1px 4px rgba(255,222,158,.18);
  opacity:1;
}
body[data-page="boutique"] .product-card .pack-art img {
  width:74%; height:88%; object-fit:contain; padding:8px 0 22px;
  transform:rotateY(-7deg) rotateX(1.5deg) translateZ(20px);
  transform-origin:50% 70%;
  filter:drop-shadow(22px 26px 24px rgba(0,0,0,.66));
  transition:transform .5s cubic-bezier(.2,.75,.2,1), filter .5s ease;
  will-change:transform;
}
body[data-page="boutique"] .product-card:nth-child(even) .pack-art img {
  transform:rotateY(7deg) rotateX(1.5deg) translateZ(20px);
}
body[data-page="boutique"] .product-card:hover .pack-art img {
  transform:rotateY(0deg) rotateX(0deg) translateY(-8px) translateZ(36px) scale(1.035);
  filter:drop-shadow(0 34px 30px rgba(0,0,0,.75));
}
body[data-page="boutique"] .premium-label {
  top:-14px; left:50%; transform:translateX(-50%); right:auto;
  white-space:nowrap;
  border-color:rgba(239,186,82,.75);
  background:linear-gradient(180deg,#211b10,#0c0b08);
  color:#f6d995;
  box-shadow:0 8px 24px rgba(0,0,0,.55),inset 0 1px 0 rgba(255,255,255,.08);
}
body[data-page="boutique"] .product-body { padding:18px 22px 22px; }
body[data-page="boutique"] .product-card h3 { color:#f4d28b; min-height:51px; }
body[data-page="boutique"] .product-card .product-body>p { color:#d3cec4; min-height:84px; }
body[data-page="boutique"] .product-meta { border-top:1px solid rgba(226,174,69,.18); padding-top:14px; }
body[data-page="boutique"] .product-cta {
  background:linear-gradient(180deg,#f4cc7a,#c88a26);
  color:#171006;
  box-shadow:0 10px 25px rgba(203,137,34,.2),inset 0 1px 0 rgba(255,255,255,.55);
}

/* Produits larges, comme la maquette premium validée */
body[data-page="boutique"] .product-card.theme-booster,
body[data-page="boutique"] .product-card.theme-booster-2026,
body[data-page="boutique"] .product-card.theme-decouverte {
  grid-column:span 2;
  display:grid;
  grid-template-columns:minmax(260px,46%) 1fr;
  min-height:390px;
}
body[data-page="boutique"] .product-card.theme-booster .pack-art,
body[data-page="boutique"] .product-card.theme-booster-2026 .pack-art,
body[data-page="boutique"] .product-card.theme-decouverte .pack-art {
  height:100%; min-height:390px;
  border-radius:23px 0 0 23px;
}
body[data-page="boutique"] .product-card.theme-booster .pack-art img,
body[data-page="boutique"] .product-card.theme-booster-2026 .pack-art img {
  width:80%; height:95%; padding:26px 0 34px;
  transform:rotateZ(-5deg) rotateY(-8deg) translateZ(20px);
}
body[data-page="boutique"] .product-card.theme-booster-2026 .pack-art img {
  transform:rotateZ(4deg) rotateY(8deg) translateZ(20px);
}
body[data-page="boutique"] .product-card.theme-booster:hover .pack-art img,
body[data-page="boutique"] .product-card.theme-booster-2026:hover .pack-art img {
  transform:rotateZ(0) rotateY(0) translateY(-7px) translateZ(34px) scale(1.03);
}
body[data-page="boutique"] .product-card.theme-decouverte .pack-art img {
  width:96%; height:94%; padding:22px 10px 30px;
  transform:rotateY(-5deg) translateZ(18px);
}
body[data-page="boutique"] .product-card.theme-booster .product-body,
body[data-page="boutique"] .product-card.theme-booster-2026 .product-body,
body[data-page="boutique"] .product-card.theme-decouverte .product-body {
  display:flex; flex-direction:column; justify-content:center;
  padding:28px 28px 26px;
}
body[data-page="boutique"] .product-card.theme-booster h3,
body[data-page="boutique"] .product-card.theme-booster-2026 h3,
body[data-page="boutique"] .product-card.theme-decouverte h3 { min-height:0; font-size:23px; }
body[data-page="boutique"] .product-card.theme-booster .product-body>p,
body[data-page="boutique"] .product-card.theme-booster-2026 .product-body>p,
body[data-page="boutique"] .product-card.theme-decouverte .product-body>p { min-height:0; }

@media (max-width:1180px){
  body[data-page="boutique"] [data-cms-list="products"]{grid-template-columns:repeat(2,minmax(0,1fr));}
}
@media (max-width:760px){
  body[data-page="boutique"] [data-cms-list="products"]{grid-template-columns:1fr;}
  body[data-page="boutique"] .product-card.theme-booster,
  body[data-page="boutique"] .product-card.theme-booster-2026,
  body[data-page="boutique"] .product-card.theme-decouverte{grid-column:span 1;grid-template-columns:1fr;}
  body[data-page="boutique"] .product-card.theme-booster .pack-art,
  body[data-page="boutique"] .product-card.theme-booster-2026 .pack-art,
  body[data-page="boutique"] .product-card.theme-decouverte .pack-art{height:340px;min-height:340px;border-radius:23px 23px 0 0;}
}


/* Carte promotionnelle GEEKY — édition unique GEEKALI 2025 */
.product-card.theme-promo-geekali { --product-glow: rgba(178, 221, 91, .48); }

body[data-page="boutique"] .product-card.theme-promo-geekali .pack-art {
  background:
    radial-gradient(circle at 50% 42%, rgba(184, 231, 96, .26), transparent 43%),
    linear-gradient(145deg, rgba(11, 30, 28, .98), rgba(25, 21, 14, .98));
}

body[data-page="boutique"] .product-card.theme-promo-geekali .pack-art img {
  width: 66%;
  height: 88%;
  object-fit: contain;
  transform: perspective(1000px) rotateY(-7deg) rotateX(2deg) rotateZ(-1deg);
  filter:
    drop-shadow(0 30px 30px rgba(0,0,0,.62))
    drop-shadow(0 0 24px rgba(184,231,96,.18));
  border-radius: 18px;
}

body[data-page="boutique"] .product-card.theme-promo-geekali:nth-child(even) .pack-art img {
  transform: perspective(1000px) rotateY(-7deg) rotateX(2deg) rotateZ(-1deg);
}

body[data-page="boutique"] .product-card.theme-promo-geekali:hover .pack-art img {
  transform: perspective(1000px) rotateY(-3deg) rotateX(0deg) rotateZ(0deg) translateY(-8px) scale(1.035);
}

body[data-page="boutique"] .product-card.theme-promo-geekali .premium-label {
  border-color: rgba(195, 235, 112, .62);
  color: #efffc5;
  background: rgba(56, 84, 26, .88);
}

/* Correctif V27.1 — stabilité du survol produit (Safari / rendu local) */
body[data-page="boutique"] .product-card {
  transform-style: flat;
}
body[data-page="boutique"] .product-card .pack-art {
  perspective: none;
}
body[data-page="boutique"] .product-card .pack-art img {
  transform: rotate(-0.8deg);
  transform-origin: 50% 70%;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  transition: transform .38s ease, filter .38s ease;
}
body[data-page="boutique"] .product-card:nth-child(even) .pack-art img {
  transform: rotate(0.8deg);
}
body[data-page="boutique"] .product-card:hover .pack-art img {
  transform: translateY(-7px) scale(1.025);
  filter: drop-shadow(0 30px 28px rgba(0,0,0,.72));
}
body[data-page="boutique"] .product-card.theme-booster .pack-art img {
  transform: rotate(-4deg);
}
body[data-page="boutique"] .product-card.theme-booster-2026 .pack-art img {
  transform: rotate(4deg);
}
body[data-page="boutique"] .product-card.theme-booster:hover .pack-art img,
body[data-page="boutique"] .product-card.theme-booster-2026:hover .pack-art img {
  transform: translateY(-7px) scale(1.025);
}
body[data-page="boutique"] .product-card.theme-decouverte .pack-art img {
  transform: rotate(-1deg);
}
body[data-page="boutique"] .product-card.theme-decouverte:hover .pack-art img {
  transform: translateY(-7px) scale(1.02);
}
body[data-page="boutique"] .product-card.theme-promo-geekali .pack-art img,
body[data-page="boutique"] .product-card.theme-promo-geekali:nth-child(even) .pack-art img {
  transform: rotate(-1deg);
}
body[data-page="boutique"] .product-card.theme-promo-geekali:hover .pack-art img {
  transform: translateY(-7px) scale(1.025);
}


/* ===== Accueil V28 : affinités, nouveautés et contact ===== */
body[data-page="index"] .creature-art .affinity-badge {
  top: auto;
  right: auto;
  left: 50%;
  bottom: -22px;
  width: 48px;
  height: 48px;
  transform: translateX(-50%);
  z-index: 5;
  padding: 3px;
  border-radius: 50%;
  background: rgba(5, 7, 13, .88);
  border: 1px solid color-mix(in srgb, var(--el-1) 75%, rgba(255,255,255,.25));
  box-shadow:
    0 0 0 4px rgba(5, 7, 13, .72),
    0 0 24px color-mix(in srgb, var(--el-1) 58%, transparent),
    0 12px 22px rgba(0,0,0,.58);
}
body[data-page="index"] .creature-art .affinity-badge img {
  border-radius: 50%;
}
body[data-page="index"] .creature-body {
  padding-top: 30px;
}

body[data-page="index"] .home-shop-intro {
  max-width: 680px;
  margin: 10px 0 0;
  color: var(--muted);
  line-height: 1.6;
}
body[data-page="index"] .home-featured-products {
  align-items: stretch;
}
body[data-page="index"] .home-featured-products .product-card {
  min-width: 0;
  height: 100%;
}
body[data-page="index"] .home-featured-products .pack-art {
  aspect-ratio: 1 / 1;
}
body[data-page="index"] .home-featured-products .product-body {
  display: flex;
  flex-direction: column;
  min-height: 410px;
}
body[data-page="index"] .home-featured-products .product-meta {
  margin-top: auto;
}
body[data-page="index"] .home-featured-products .product-cta {
  margin-top: 0;
}

body[data-page="index"] .home-contact-callout {
  min-height: 190px;
  padding: 40px 42px 40px 250px;
  grid-template-columns: minmax(0, 1fr) auto;
  overflow: visible;
}
body[data-page="index"] .home-contact-callout .callout-figure {
  left: -18px;
  bottom: -2px;
  height: 146%;
  max-width: 270px;
  object-fit: contain;
  object-position: left bottom;
  opacity: 1;
  z-index: 2;
}
body[data-page="index"] .home-contact-callout .callout-copy {
  position: relative;
  z-index: 3;
}
body[data-page="index"] .home-contact-callout > .btn {
  position: relative;
  z-index: 3;
}

@media (max-width: 1100px) {
  body[data-page="index"] .home-featured-products {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  body[data-page="index"] .home-contact-callout {
    padding-left: 210px;
  }
  body[data-page="index"] .home-contact-callout .callout-figure {
    height: 132%;
    max-width: 230px;
  }
}
@media (max-width: 760px) {
  body[data-page="index"] .home-contact-callout {
    padding: 170px 24px 28px;
    grid-template-columns: 1fr;
    text-align: center;
  }
  body[data-page="index"] .home-contact-callout .callout-figure {
    left: 50%;
    bottom: auto;
    top: -24px;
    height: 205px;
    max-width: 210px;
    transform: translateX(-50%);
  }
  body[data-page="index"] .home-contact-callout > .btn {
    justify-self: center;
  }
}
@media (max-width: 520px) {
  body[data-page="index"] .home-featured-products {
    grid-template-columns: 1fr;
  }
  body[data-page="index"] .home-featured-products .product-body {
    min-height: 0;
  }
}

/* ===== Espace membre BOOPETS — Étape 2 ===== */
.account-link{white-space:nowrap}.account-main{min-height:calc(100vh - 84px);padding:130px 0 72px}.account-shell{display:grid;place-items:center}.account-card{width:min(760px,100%);padding:34px;border:1px solid var(--line);border-radius:var(--radius-xl);background:linear-gradient(145deg,rgba(22,29,49,.96),rgba(7,10,18,.96));box-shadow:var(--shadow-deep)}.auth-card{max-width:520px}.auth-card.wide{max-width:760px}.account-card h1{margin:14px 0 8px;font-size:clamp(2rem,5vw,3rem)}.account-lead,.profile-head p{color:var(--muted);line-height:1.65}.account-form{display:grid;gap:16px;margin-top:24px}.account-form.two-cols{grid-template-columns:repeat(2,minmax(0,1fr))}.account-form label{display:grid;gap:7px;font-weight:700}.account-form input{width:100%;padding:13px 14px;border:1px solid rgba(255,255,255,.15);border-radius:10px;background:rgba(4,7,13,.78);color:var(--text);font:inherit}.account-form input:focus{outline:2px solid var(--gold-2);outline-offset:2px}.account-form small{font-weight:400;color:var(--muted)}.full-row{grid-column:1/-1}.check-row{display:flex!important;align-items:flex-start;gap:10px;font-weight:400!important;color:var(--muted)}.check-row input{width:auto;margin-top:4px}.check-row a,.account-switch a{color:var(--gold-2);text-decoration:underline}.account-switch{text-align:center;color:var(--muted);margin:22px 0 0}.form-alert{padding:13px 15px;border-radius:10px;margin:18px 0}.form-alert.error{background:rgba(153,35,48,.3);border:1px solid rgba(255,104,118,.42)}.form-alert.success{background:rgba(35,135,86,.25);border:1px solid rgba(100,230,160,.4)}.profile-card{max-width:900px}.profile-head{display:flex;gap:22px;align-items:center}.profile-avatar{width:88px;height:88px;display:grid;place-items:center;border-radius:50%;font-size:2.2rem;font-weight:900;color:#1b1206;background:linear-gradient(135deg,var(--gold-1),var(--ember-2));box-shadow:0 0 30px rgba(233,194,106,.25)}.profile-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;margin:30px 0}.profile-grid article{padding:18px;border:1px solid var(--line-soft);border-radius:14px;background:rgba(255,255,255,.035)}.profile-grid span{display:block;color:var(--muted);font-size:.9rem;margin-bottom:7px}.profile-grid strong{overflow-wrap:anywhere}.profile-actions{display:flex;justify-content:space-between;align-items:center;gap:14px}.profile-actions form{margin:0}@media(max-width:760px){.account-main{padding-top:110px}.account-card{padding:24px}.account-form.two-cols,.profile-grid{grid-template-columns:1fr}.profile-head{align-items:flex-start}.profile-actions{flex-direction:column;align-items:stretch}.profile-actions .btn,.profile-actions form .btn{width:100%}}

/* ===== Espace Compte premium — Étape 2.1 (sans Boopets) ===== */
body[data-page="compte"]{
  background:
    radial-gradient(circle at 50% 20%, rgba(29,55,96,.26), transparent 36%),
    radial-gradient(circle at 15% 55%, rgba(213,160,55,.05), transparent 30%),
    radial-gradient(circle at 86% 60%, rgba(213,160,55,.05), transparent 30%),
    linear-gradient(180deg,#07101f 0%,#050b15 100%);
}
body[data-page="compte"]::before{
  content:"";
  position:fixed;
  inset:84px 0 0;
  pointer-events:none;
  opacity:.28;
  background:
    linear-gradient(115deg, transparent 0 48%, rgba(255,255,255,.018) 49%, transparent 50%) 0 0/14px 14px,
    radial-gradient(circle at 18% 48%, transparent 0 118px, rgba(214,167,69,.12) 119px 120px, transparent 121px 150px),
    radial-gradient(circle at 82% 52%, transparent 0 118px, rgba(214,167,69,.10) 119px 120px, transparent 121px 150px);
}
body[data-page="compte"] .account-main{position:relative;z-index:1;min-height:calc(100vh - 84px);padding:122px 0 78px}
body[data-page="compte"] .account-shell{display:block}
body[data-page="compte"] .account-card{position:relative;width:min(1000px,100%);margin:0 auto;padding:44px 50px 42px;border:1px solid rgba(229,177,70,.82);border-radius:24px;background:linear-gradient(145deg,rgba(18,35,61,.96),rgba(5,14,27,.98));box-shadow:0 28px 75px rgba(0,0,0,.5),inset 0 1px 0 rgba(255,255,255,.05)}
body[data-page="compte"] .account-card::before{content:"";position:absolute;left:12%;right:12%;top:-1px;height:2px;background:linear-gradient(90deg,transparent,#f6e5b2,transparent);box-shadow:0 0 18px rgba(247,214,130,.65)}
body[data-page="compte"] .account-card::after{content:"◇";position:absolute;left:50%;bottom:-17px;transform:translateX(-50%);padding:0 12px;color:#e8b548;background:#07101f;font-size:26px;line-height:32px}
body[data-page="compte"] .auth-card,body[data-page="compte"] .auth-card.wide{max-width:1000px}
body[data-page="compte"] .account-kicker{display:flex;align-items:center;justify-content:center;gap:14px;margin:0 auto 14px;color:#e9b84e}
body[data-page="compte"] .account-kicker::before,body[data-page="compte"] .account-kicker::after{content:"";width:110px;height:1px;background:linear-gradient(90deg,transparent,rgba(230,177,69,.75))}
body[data-page="compte"] .account-kicker::after{background:linear-gradient(90deg,rgba(230,177,69,.75),transparent)}
body[data-page="compte"] .account-kicker span{font-size:20px}
body[data-page="compte"] .account-title{text-align:center;margin:0 0 10px;font-size:clamp(2.8rem,6vw,5rem);line-height:1;text-transform:uppercase;letter-spacing:-.025em;background:linear-gradient(180deg,#fff7dd 0%,#f2c45e 60%,#c98721 100%);-webkit-background-clip:text;background-clip:text;color:transparent;text-shadow:0 8px 24px rgba(0,0,0,.35)}
body[data-page="compte"] .account-lead{max-width:760px;margin:0 auto 30px;text-align:center;color:#e9e6de;font-size:1.08rem;line-height:1.65}
body[data-page="compte"] .badge{display:none}
body[data-page="compte"] .account-form{gap:24px 44px;margin-top:0}
body[data-page="compte"] .account-form.two-cols{grid-template-columns:repeat(2,minmax(0,1fr))}
body[data-page="compte"] .account-form label{gap:10px;color:#f0c966;font-size:.95rem;text-transform:uppercase;letter-spacing:.025em}
body[data-page="compte"] .field-label{display:flex;align-items:center;gap:9px}
body[data-page="compte"] .field-label .field-icon{width:20px;text-align:center;color:#e5ae3d;font-size:1.05rem}
body[data-page="compte"] .field-label small{margin-left:auto;text-transform:none;letter-spacing:0;color:#c7c6c3;font-size:.85rem}
body[data-page="compte"] .account-form input:not([type="checkbox"]){height:52px;padding:0 17px;border:1px solid rgba(178,190,211,.25);border-radius:8px;background:linear-gradient(180deg,rgba(6,14,27,.9),rgba(4,10,20,.95));box-shadow:inset 0 1px 0 rgba(255,255,255,.025);color:#f7f3e9;font-size:1rem;transition:border-color .2s ease,box-shadow .2s ease,transform .2s ease}
body[data-page="compte"] .account-form input::placeholder{color:#8e929a}
body[data-page="compte"] .account-form input:not([type="checkbox"]):focus{outline:none;border-color:#e3ae40;box-shadow:0 0 0 3px rgba(227,174,64,.12),0 0 22px rgba(227,174,64,.08);transform:translateY(-1px)}
body[data-page="compte"] .full-row{grid-column:1/-1}
body[data-page="compte"] .password-row{grid-column:1/-1}
body[data-page="compte"] .check-row{margin-top:2px;display:flex!important;align-items:center;gap:12px;color:#f0eee8!important;text-transform:none!important;letter-spacing:0!important;font-weight:500!important}
body[data-page="compte"] .check-row input{width:25px;height:25px;flex:0 0 25px;margin:0;accent-color:#d9a534}
body[data-page="compte"] .check-row a,body[data-page="compte"] .account-switch a{color:#e9b444;text-decoration:underline;text-underline-offset:4px}
body[data-page="compte"] .account-form .btn.full{min-height:66px;margin-top:0;border:1px solid #f3d178;border-radius:10px;background:linear-gradient(110deg,#d79b2c,#f7d777 50%,#d79b2c);color:#16120a;font-size:1.18rem;font-weight:900;text-transform:uppercase;box-shadow:0 12px 34px rgba(214,157,42,.25),inset 0 1px 0 rgba(255,255,255,.7);transition:transform .2s ease,box-shadow .2s ease,filter .2s ease}
body[data-page="compte"] .account-form .btn.full:hover{transform:translateY(-2px);box-shadow:0 16px 38px rgba(214,157,42,.35),0 0 26px rgba(242,196,91,.22);filter:brightness(1.04)}
body[data-page="compte"] .account-switch{margin:34px 0 0;text-align:center;color:#f3efe5;font-size:1.08rem}
body[data-page="compte"] .form-alert{max-width:860px;margin:0 auto 24px}
body[data-page="compte"] .profile-card{max-width:1000px}
body[data-page="compte"] .profile-head{padding-bottom:28px;border-bottom:1px solid rgba(229,177,70,.2)}
body[data-page="compte"] .profile-head h1{margin:8px 0 4px;font-size:clamp(2.2rem,5vw,3.6rem);color:#f5cf76}
body[data-page="compte"] .profile-grid{gap:18px;margin:32px 0}
body[data-page="compte"] .profile-grid article{padding:22px;border-color:rgba(229,177,70,.22);background:rgba(255,255,255,.025)}
body[data-page="compte"] .profile-grid span{color:#c9c8c3}
body[data-page="compte"] .profile-grid strong{color:#fff3d2;font-size:1.05rem}
body[data-page="compte"] .profile-actions{padding-top:8px}
@media(max-width:900px){body[data-page="compte"] .account-card{padding:38px 32px}body[data-page="compte"] .account-form{gap:22px 28px}}
@media(max-width:760px){body[data-page="compte"] .account-main{padding:104px 0 52px}body[data-page="compte"] .account-card{padding:30px 20px;border-radius:18px}body[data-page="compte"] .account-title{font-size:clamp(2.25rem,12vw,3.6rem)}body[data-page="compte"] .account-kicker::before,body[data-page="compte"] .account-kicker::after{width:70px}body[data-page="compte"] .account-form.two-cols{grid-template-columns:1fr}body[data-page="compte"] .password-row{grid-column:auto}body[data-page="compte"] .account-form .btn.full{min-height:58px;font-size:1rem}body[data-page="compte"] .profile-head{align-items:center}body[data-page="compte"] .profile-actions{flex-direction:column;align-items:stretch}}
@media(max-width:480px){body[data-page="compte"] .account-card{padding:26px 16px}body[data-page="compte"] .account-lead{font-size:.98rem}body[data-page="compte"] .account-kicker::before,body[data-page="compte"] .account-kicker::after{width:44px}}
body[data-page="compte"] .auth-card:not(.wide){max-width:700px}
body[data-page="compte"] .profile-head .badge{display:inline-flex}
/* BOOPETS Studio 3.3 — barre privée administrateur */
.boopets-studio-bar{position:relative;z-index:10000;min-height:46px;padding:8px 18px;display:flex;align-items:center;gap:22px;background:rgba(4,10,22,.97);border-bottom:1px solid rgba(231,181,73,.45);box-shadow:0 10px 30px rgba(0,0,0,.28);color:#f7f1df;font:600 13px/1.2 system-ui,-apple-system,sans-serif}.studio-bar-brand,.studio-bar-metrics,.boopets-studio-bar nav{display:flex;align-items:center;gap:12px}.studio-bar-brand i{width:9px;height:9px;border-radius:50%;background:#45d483;box-shadow:0 0 12px rgba(69,212,131,.8)}.studio-bar-brand span{color:#d8aa4f;font-size:11px}.studio-bar-metrics{margin-left:auto}.studio-bar-metrics span{padding:6px 10px;border:1px solid rgba(255,255,255,.10);border-radius:999px;color:#bfc6d4}.studio-bar-metrics b{color:#fff;margin-left:4px}.boopets-studio-bar nav a{color:#f2d27f;text-decoration:none;padding:7px 9px;border-radius:8px}.boopets-studio-bar nav a:hover{background:rgba(231,181,73,.12)}.boopets-studio-bar button{width:30px;height:30px;border:1px solid rgba(231,181,73,.38);border-radius:8px;background:transparent;color:#f2d27f;font-size:18px;cursor:pointer}.boopets-studio-bar.is-compact .studio-bar-metrics,.boopets-studio-bar.is-compact nav,.boopets-studio-bar.is-compact .studio-bar-brand span{display:none}.boopets-studio-bar.is-compact{position:fixed;top:10px;left:10px;width:auto;min-height:0;border:1px solid rgba(231,181,73,.45);border-radius:12px;padding:7px 9px}.boopets-studio-bar.is-compact .studio-bar-brand b{display:none}@media(max-width:900px){.boopets-studio-bar{flex-wrap:wrap;gap:8px 14px;padding:9px 12px}.studio-bar-metrics{order:3;width:100%;margin-left:0;overflow:auto}.boopets-studio-bar nav{margin-left:auto}.boopets-studio-bar nav a:nth-child(2){display:none}}@media(max-width:560px){.studio-bar-brand b{font-size:12px}.boopets-studio-bar nav a{font-size:12px;padding:6px}.studio-bar-metrics span{font-size:11px;padding:5px 8px}}


/* ===== BOOPETS Studio 3.5.4 — Accès compte mobile fiable ===== */
.mobile-account-actions{display:none}
@media (max-width:920px){
  .nav{top:0;inset:82px 0 0 0;max-height:none;height:calc(100dvh - 82px);padding:14px 16px calc(28px + env(safe-area-inset-bottom));overflow-y:auto;overscroll-behavior:contain;z-index:9999}
  .mobile-account-actions{display:grid;grid-template-columns:1fr 1fr;gap:10px;position:sticky;top:-14px;z-index:3;margin:-14px -16px 8px;padding:14px 16px 12px;background:linear-gradient(180deg,rgba(6,8,16,1) 0%,rgba(6,8,16,.98) 78%,rgba(6,8,16,.88) 100%);border-bottom:1px solid rgba(233,194,106,.28);box-shadow:0 12px 24px rgba(0,0,0,.28)}
  .nav .mobile-account-btn{display:flex!important;align-items:center;justify-content:center;min-height:50px;padding:12px 10px!important;border-radius:13px!important;font-weight:900;text-align:center;text-decoration:none;line-height:1.15}
  .nav .mobile-account-login{color:#fff3cf!important;border:1px solid rgba(233,194,106,.55)!important;background:rgba(233,194,106,.10)!important}
  .nav .mobile-account-signup{color:#1b1206!important;border:1px solid #f3d178!important;background:linear-gradient(135deg,#d89e30,#f4d477 55%,#d79b2d)!important;box-shadow:0 8px 24px rgba(233,194,106,.22)}
  .mobile-account-actions + a{margin-top:2px}
}
@media (max-width:620px){
  .nav{inset:72px 0 0 0;height:calc(100dvh - 72px)}
  .header-actions .account-link{display:none!important}
}
@media (max-width:380px){
  .mobile-account-actions{grid-template-columns:1fr}
}

/* ===== BOOPETS Studio 3.5.5 — accès compte mobile toujours visible ===== */
.mobile-account-entry{display:none;position:relative}
.mobile-account-trigger{border:1px solid rgba(233,194,106,.42);background:rgba(233,194,106,.08);color:var(--gold-1);border-radius:13px;min-height:48px;padding:0 13px;align-items:center;justify-content:center;gap:7px;font:800 13px/1 inherit;cursor:pointer}
.mobile-account-icon{font-size:18px;line-height:1}
.mobile-account-popover{position:absolute;top:calc(100% + 10px);right:0;z-index:10050;width:min(270px,calc(100vw - 24px));padding:10px;border:1px solid rgba(233,194,106,.35);border-radius:16px;background:rgba(6,8,16,.995);box-shadow:0 22px 55px rgba(0,0,0,.58)}
.mobile-account-popover[hidden]{display:none!important}
.mobile-account-popover a{display:flex;align-items:center;justify-content:center;min-height:48px;padding:12px 14px;border:1px solid var(--line-soft);border-radius:12px;color:#fff3cf;text-align:center;font-weight:900;text-decoration:none}
.mobile-account-popover a+a{margin-top:8px}
.mobile-account-popover a.is-primary{color:#1b1206;border-color:#f3d178;background:linear-gradient(135deg,#d89e30,#f4d477 55%,#d79b2d)}
@media(max-width:920px){.mobile-account-entry{display:block}.header-actions>.account-link{display:none!important}}
@media(max-width:620px){.mobile-account-trigger{width:48px;padding:0}.mobile-account-label{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap}.header-actions{gap:7px}.cart-button{padding-left:16px;padding-right:16px}}
@media(max-width:390px){.cart-button{min-width:0;padding-left:12px;padding-right:12px}.mobile-account-trigger,.mobile-toggle{width:44px;height:44px;min-height:44px}}

/* BOOPETS v4 — Cristaux d’Aura */
.aura-lore{padding:100px 0;background:radial-gradient(circle at 18% 18%,rgba(180,119,255,.16),transparent 32%),radial-gradient(circle at 84% 65%,rgba(62,224,255,.12),transparent 28%),linear-gradient(180deg,#090715,#120b24 55%,#080711);position:relative;overflow:hidden}.aura-lore:before{content:"";position:absolute;inset:0;background-image:linear-gradient(rgba(255,255,255,.025) 1px,transparent 1px),linear-gradient(90deg,rgba(255,255,255,.025) 1px,transparent 1px);background-size:42px 42px;mask-image:linear-gradient(to bottom,transparent,#000,transparent)}.aura-lore .container{position:relative}.aura-lore-head{text-align:center;max-width:850px;margin:0 auto 60px}.aura-lore-head h2{font-size:clamp(38px,6vw,72px);margin:18px 0;background:linear-gradient(90deg,#fff,#e7c7ff,#91f3ff,#fff);-webkit-background-clip:text;color:transparent}.aura-lore-head p{font-size:19px;line-height:1.8;color:#d8cee9}.aura-lore-grid{display:grid;grid-template-columns:minmax(300px,.9fr) 1.1fr;gap:60px;align-items:center}.aura-art{position:relative;margin:0;padding:28px;border:1px solid rgba(255,255,255,.15);background:rgba(255,255,255,.045);border-radius:34px;box-shadow:0 30px 90px rgba(0,0,0,.45);backdrop-filter:blur(16px)}.aura-art img{width:100%;display:block;border-radius:24px;position:relative;z-index:2}.aura-glow{position:absolute;width:60%;aspect-ratio:1;border-radius:50%;background:rgba(176,92,255,.35);filter:blur(65px);left:20%;top:17%}.aura-art figcaption{display:flex;justify-content:space-between;gap:20px;padding:22px 4px 0;color:#ddd}.aura-art figcaption b{color:#fff}.aura-story h3,.fragment-lore h3{font-size:34px;margin:12px 0 20px}.aura-story p,.fragment-lore p{line-height:1.85;color:#d6cfe2}.aura-story blockquote{margin:28px 0 0;padding:22px 24px;border-left:3px solid #cf8fff;background:rgba(255,255,255,.05);font-size:18px;font-style:italic}.aura-story cite{display:block;font-size:13px;margin-top:10px;color:#bcb1ca}.fragment-lore{display:grid;grid-template-columns:240px 1fr;gap:40px;align-items:center;margin-top:70px;padding:34px;border:1px solid rgba(255,255,255,.12);border-radius:30px;background:linear-gradient(135deg,rgba(255,255,255,.07),rgba(255,255,255,.025))}.fragment-lore figure{margin:0}.fragment-lore img{width:100%;border-radius:22px}.fusion-rule{display:grid;grid-template-columns:auto auto auto auto auto;gap:12px;align-items:center;margin-top:25px;padding:18px;border-radius:18px;background:rgba(0,0,0,.28)}.fusion-rule strong{font-size:30px;color:#f0cbff}.fusion-rule em{color:#9fefff}.aura-lore-cards{display:grid;grid-template-columns:repeat(3,1fr);gap:20px;margin-top:30px}.aura-lore-cards article{padding:25px;border-radius:22px;background:rgba(255,255,255,.045);border:1px solid rgba(255,255,255,.1)}.aura-lore-cards b{font-size:18px}.aura-lore-cards p{color:#cfc5da;line-height:1.65}.aura-price-list{display:flex;gap:8px;flex-wrap:wrap;margin:16px 0}.aura-price-list span{padding:7px 10px;border-radius:999px;background:rgba(142,79,255,.12);border:1px solid rgba(170,119,255,.25);font-weight:700}.products-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:24px}.product-admin-card{padding:16px 0;border-bottom:1px solid rgba(255,255,255,.1)}.product-admin-card summary{cursor:pointer;display:flex;justify-content:space-between;padding:12px}.form-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:14px}.form-grid .wide{grid-column:1/-1}.check-row{display:flex;gap:18px;flex-wrap:wrap;margin:15px 0}.wallet-grid{display:grid;grid-template-columns:1fr 1fr;gap:24px}.wallet-grid article{display:flex;align-items:center;gap:20px;padding:20px;border:1px solid rgba(255,255,255,.12);border-radius:24px;background:rgba(255,255,255,.04)}.wallet-grid img{width:105px;height:105px;object-fit:cover;border-radius:20px}.wallet-grid span{display:block;color:var(--muted-2)}.wallet-grid strong{font-size:40px}.conversion-box{display:flex;align-items:end;gap:16px;margin-top:24px;padding:20px;border-radius:20px;background:rgba(130,74,210,.1)}
@media(max-width:900px){.aura-lore-grid,.fragment-lore{grid-template-columns:1fr}.aura-lore-cards,.products-grid{grid-template-columns:1fr}.fragment-lore figure{max-width:260px;margin:auto}.fusion-rule{grid-template-columns:auto 1fr}.fusion-rule em{grid-column:1/-1}.wallet-grid{grid-template-columns:1fr}.form-grid{grid-template-columns:1fr 1fr}.conversion-box{align-items:stretch;flex-direction:column}}
@media(max-width:560px){.aura-lore{padding:70px 0}.aura-art{padding:14px}.form-grid{grid-template-columns:1fr}.wallet-grid article{align-items:center}.wallet-grid img{width:80px;height:80px}}

/* === Portefeuille compact global — v4.1 === */
.aura-mini-bar{position:relative;z-index:101;background:linear-gradient(90deg,rgba(8,11,28,.98),rgba(28,13,48,.98),rgba(8,11,28,.98));border-bottom:1px solid rgba(216,178,255,.18);box-shadow:0 5px 18px rgba(0,0,0,.22);min-height:26px;display:none}
.aura-mini-bar.is-visible{display:block}
.aura-mini-inner{width:min(1180px,calc(100% - 28px));margin:auto;min-height:26px;display:flex;justify-content:flex-end;align-items:center;gap:14px}
.aura-mini-label{font-size:10px;letter-spacing:.11em;text-transform:uppercase;color:rgba(255,255,255,.56)}
.aura-mini-token{display:inline-flex;align-items:center;gap:4px;color:#fff;text-decoration:none;font-size:11px;font-weight:800;white-space:nowrap}
.aura-mini-token img{width:18px;height:18px;object-fit:contain;filter:drop-shadow(0 0 5px rgba(218,170,255,.65))}
.aura-mini-token strong{font-size:12px}.aura-mini-token span{color:rgba(255,255,255,.7);font-weight:600}
.aura-mini-sep{width:1px;height:13px;background:rgba(255,255,255,.14)}
@media(max-width:700px){.aura-mini-inner{justify-content:center;gap:9px}.aura-mini-label{display:none}.aura-mini-token span{display:none}.aura-mini-token img{width:17px;height:17px}}

/* === Présentation premium des Cristaux === */
.aura-lore{position:relative;overflow:hidden;background:radial-gradient(circle at 20% 20%,rgba(152,83,255,.17),transparent 35%),radial-gradient(circle at 85% 75%,rgba(255,105,183,.11),transparent 32%),linear-gradient(180deg,#090a1b 0%,#120d24 48%,#080a19 100%);padding:110px 0;color:#fff}
.aura-lore:before{content:"";position:absolute;inset:0;pointer-events:none;background-image:radial-gradient(circle,rgba(255,255,255,.38) 0 1px,transparent 1.4px);background-size:42px 42px;opacity:.16;mask-image:linear-gradient(to bottom,transparent,#000 25%,#000 75%,transparent)}
.aura-lore .container{position:relative;z-index:1}.aura-lore-head{max-width:860px;margin:0 auto 58px;text-align:center}.aura-lore-head h2{font-size:clamp(40px,6vw,76px);line-height:.98;margin:18px 0 24px;text-shadow:0 0 32px rgba(194,129,255,.22)}
.aura-lore-head p{font-size:clamp(17px,2vw,22px);line-height:1.75;color:rgba(255,255,255,.76)}
.aura-lore-grid{display:grid;grid-template-columns:minmax(280px,.72fr) minmax(420px,1.28fr);gap:72px;align-items:center}
.aura-art{position:relative;min-height:440px;margin:0;border:1px solid rgba(255,255,255,.12);border-radius:32px;background:linear-gradient(145deg,rgba(255,255,255,.075),rgba(255,255,255,.015));box-shadow:0 28px 72px rgba(0,0,0,.42),inset 0 1px rgba(255,255,255,.11);display:flex;align-items:center;justify-content:center;overflow:hidden;backdrop-filter:blur(12px)}
.aura-art:after{content:"";position:absolute;inset:12px;border:1px solid rgba(221,185,255,.12);border-radius:24px;pointer-events:none}.aura-art img{position:relative;z-index:2;width:66%;max-width:300px;height:285px;object-fit:contain;transform:translateY(-16px);filter:drop-shadow(0 18px 26px rgba(0,0,0,.34)) drop-shadow(0 0 24px rgba(184,105,255,.32))}
.aura-glow{position:absolute;width:48%;max-width:260px;aspect-ratio:1;border-radius:50%;background:radial-gradient(circle,rgba(255,255,255,.28),rgba(188,99,255,.17) 28%,rgba(108,69,255,.06) 53%,transparent 72%);filter:blur(8px);animation:auraPulse 4.8s ease-in-out infinite}
@keyframes auraPulse{50%{transform:scale(1.1);opacity:.72}}
.aura-art figcaption{position:absolute;z-index:3;left:28px;right:28px;bottom:24px;padding:18px 20px;border-radius:18px;background:rgba(5,7,19,.68);border:1px solid rgba(255,255,255,.1);backdrop-filter:blur(12px)}.aura-art figcaption b,.aura-art figcaption span{display:block}.aura-art figcaption b{font-size:17px}.aura-art figcaption span{margin-top:5px;color:rgba(255,255,255,.64);font-size:13px}
.aura-story{padding:18px 0}.aura-story .eyebrow,.fragment-lore .eyebrow{color:#d9adff;text-transform:uppercase;letter-spacing:.16em;font-size:11px;font-weight:900}.aura-story h3,.fragment-lore h3{font-size:clamp(28px,4vw,47px);line-height:1.08;margin:14px 0 24px}.aura-story p,.fragment-lore p{color:rgba(255,255,255,.73);line-height:1.82;font-size:16px}.aura-story blockquote{margin:34px 0 0;padding:28px 30px;border-left:3px solid #c78aff;border-radius:0 20px 20px 0;background:linear-gradient(90deg,rgba(181,109,255,.13),rgba(255,255,255,.025));font-family:Georgia,serif;font-size:20px;line-height:1.55}.aura-story cite{display:block;margin-top:12px;font:600 12px/1.4 sans-serif;letter-spacing:.08em;text-transform:uppercase;color:rgba(255,255,255,.5)}
.fragment-lore{margin-top:72px;display:grid;grid-template-columns:220px 1fr;gap:46px;align-items:center;padding:38px 42px;border-radius:30px;border:1px solid rgba(255,255,255,.11);background:linear-gradient(135deg,rgba(255,255,255,.07),rgba(255,255,255,.018));box-shadow:0 24px 64px rgba(0,0,0,.27)}.fragment-lore figure{height:220px;margin:0;display:grid;place-items:center;border-radius:23px;background:radial-gradient(circle,rgba(207,144,255,.16),transparent 66%)}.fragment-lore img{width:72%;max-width:145px;height:190px;object-fit:contain;filter:drop-shadow(0 14px 20px rgba(0,0,0,.3)) drop-shadow(0 0 18px rgba(193,113,255,.3))}
.fusion-rule{margin-top:25px;display:flex;align-items:center;flex-wrap:wrap;gap:10px;padding:17px 20px;border-radius:18px;background:rgba(4,6,17,.5);border:1px solid rgba(220,181,255,.13)}.fusion-rule strong{font-size:31px;color:#f3d8ff}.fusion-rule span{font-weight:800}.fusion-rule em{font-style:normal;color:rgba(255,255,255,.5);margin:0 5px}
.aura-lore-cards{margin-top:38px;display:grid;grid-template-columns:repeat(3,1fr);gap:18px}.aura-lore-cards article{padding:27px;border-radius:23px;border:1px solid rgba(255,255,255,.1);background:rgba(255,255,255,.045)}.aura-lore-cards b{font-size:17px}.aura-lore-cards p{margin:10px 0 0;color:rgba(255,255,255,.62);line-height:1.62}
@media(max-width:900px){.aura-lore{padding:78px 0}.aura-lore-grid{grid-template-columns:1fr;gap:38px}.aura-art{min-height:390px;max-width:560px;width:100%;margin:0 auto}.aura-art img{height:245px;max-width:260px}.fragment-lore{grid-template-columns:180px 1fr;padding:30px}.fragment-lore figure{height:190px}.fragment-lore img{height:160px;max-width:120px}.aura-lore-cards{grid-template-columns:1fr}}
@media(max-width:560px){.aura-art{min-height:345px;border-radius:27px}.aura-art img{width:58%;height:205px;max-width:210px;transform:translateY(-18px)}.aura-art figcaption{left:18px;right:18px;bottom:16px}.fragment-lore{margin-top:48px;grid-template-columns:1fr;padding:26px}.fragment-lore figure{width:160px;height:160px;margin:0 auto}.fragment-lore img{height:135px;max-width:100px}.fusion-rule{align-items:baseline}.aura-lore-head{margin-bottom:38px}}


/* Ajustement final du lore Aura : visuels précieux, jamais envahissants. */
.aura-lore-grid{grid-template-columns:minmax(280px,430px) minmax(0,1fr);gap:clamp(34px,5vw,68px)}
.aura-art{min-height:430px;display:grid;place-items:center;padding:30px 30px 92px}
.aura-art img{width:auto;height:260px;max-width:72%;object-fit:contain;border-radius:0;filter:drop-shadow(0 18px 28px rgba(0,0,0,.34)) drop-shadow(0 0 24px rgba(193,113,255,.28))}
.aura-art figcaption{position:absolute;left:28px;right:28px;bottom:24px;padding:18px 0 0;border-top:1px solid rgba(255,255,255,.1)}
.fragment-lore{grid-template-columns:180px minmax(0,1fr)}.fragment-lore figure{height:180px}.fragment-lore img{height:145px;max-width:105px}
@media(max-width:900px){.aura-lore-grid{grid-template-columns:1fr}.aura-art{min-height:370px}.aura-art img{height:225px}.fragment-lore{grid-template-columns:150px minmax(0,1fr)}}
@media(max-width:560px){.aura-art{min-height:320px;padding:24px 20px 82px}.aura-art img{height:180px;max-width:62%;transform:none}.fragment-lore{grid-template-columns:1fr}.fragment-lore figure{height:145px}.fragment-lore img{height:120px;max-width:88px}}

/* BOOPETS Legal Pack 1.0 */
body[data-page="legal"] .legal-content{max-width:980px;margin:auto;padding:clamp(24px,5vw,56px)}body[data-page="legal"] .legal-content h2{margin-top:34px;color:var(--gold-1)}body[data-page="legal"] .legal-content h3{margin-top:24px;color:#f3d78f}.legal-box,.legal-warning{padding:18px 20px;margin:20px 0;border:1px solid rgba(233,194,106,.3);border-radius:14px;background:rgba(233,194,106,.06)}.legal-warning{border-color:rgba(255,174,86,.5);background:rgba(255,174,86,.08)}.legal-table{width:100%;border-collapse:collapse;margin:20px 0}.legal-table th,.legal-table td{padding:12px;border:1px solid rgba(255,255,255,.14);text-align:left;vertical-align:top}.legal-table th{color:var(--gold-1);background:rgba(255,255,255,.04)}.legal-updated{margin-top:40px;padding-top:18px;border-top:1px solid rgba(255,255,255,.12);font-size:.9rem;color:var(--muted-2)}.footer-tagline{line-height:1.7;max-width:380px;margin-top:16px}.cookie-panel{position:fixed;inset:auto 18px 18px 18px;z-index:12000;max-width:760px;margin:auto;padding:18px;border:1px solid rgba(233,194,106,.45);border-radius:18px;background:rgba(5,10,20,.98);box-shadow:0 20px 60px rgba(0,0,0,.5)}.cookie-panel[hidden]{display:none}.cookie-actions{display:flex;gap:10px;flex-wrap:wrap;margin-top:14px}.cookie-actions .btn{min-width:150px}.cookie-panel p{margin:8px 0;color:#ddd}


/* BOOPETS 4.2 — Programme de fidélité Fragments d’Aura */
.loyalty-program-section{padding-top:28px;padding-bottom:12px}.loyalty-program-card{display:grid;grid-template-columns:auto 1fr;gap:24px;align-items:center;border-color:rgba(238,196,88,.45);background:linear-gradient(135deg,rgba(35,25,70,.9),rgba(8,31,55,.92))}.loyalty-program-icon{font-size:3rem;filter:drop-shadow(0 0 18px rgba(111,208,255,.5))}.loyalty-program-card h2{margin:.45rem 0}.loyalty-program-card p{margin:.45rem 0;line-height:1.65}.loyalty-program-card small{color:var(--muted-2)}
.product-loyalty{margin:12px 0 14px;padding:10px 12px;border:1px solid rgba(111,208,255,.26);border-radius:12px;background:rgba(42,79,116,.18);font-size:.84rem;line-height:1.4}.product-loyalty strong{color:#f1d77b}
.cart-loyalty{margin:14px 0;padding:14px;border-radius:14px;border:1px solid rgba(111,208,255,.3);background:rgba(19,50,78,.4);display:grid;gap:9px}.cart-loyalty-head{display:flex;justify-content:space-between;gap:12px}.cart-loyalty-head span,.cart-loyalty small{color:var(--muted-2);font-size:.8rem}.cart-loyalty-track,.aura-progress-track{height:9px;border-radius:999px;background:rgba(255,255,255,.1);overflow:hidden}.cart-loyalty-track i,.aura-progress-track i{display:block;height:100%;border-radius:inherit;background:linear-gradient(90deg,#62c9ff,#f2d36d)}
.aura-loyalty-progress{margin:18px 0;padding:16px;border:1px solid rgba(111,208,255,.25);border-radius:14px}.aura-loyalty-progress>div:first-child{display:flex;justify-content:space-between;gap:16px;margin-bottom:10px}.aura-loyalty-progress span{color:var(--muted-2)}
@media(max-width:680px){.loyalty-program-card{grid-template-columns:1fr}.loyalty-program-icon{font-size:2.4rem}.cart-loyalty-head,.aura-loyalty-progress>div:first-child{flex-direction:column;gap:4px}}


/* BOOPETS 4.2.1 — Visuels officiels des Fragments et Cristaux */
.loyalty-program-card{grid-template-columns:minmax(210px,300px) minmax(0,1fr);gap:clamp(22px,4vw,44px);padding:clamp(24px,4vw,38px);overflow:hidden;position:relative}
.loyalty-program-card:before{content:"";position:absolute;inset:0;pointer-events:none;background:radial-gradient(circle at 14% 50%,rgba(190,110,255,.12),transparent 30%),radial-gradient(circle at 31% 50%,rgba(82,200,255,.09),transparent 25%)}
.loyalty-program-visual{position:relative;z-index:1;display:flex;align-items:center;justify-content:center;gap:8px;min-height:150px;padding:12px 18px;border-radius:24px;border:1px solid rgba(233,194,106,.2);background:linear-gradient(145deg,rgba(4,8,24,.5),rgba(25,15,47,.38));box-shadow:inset 0 1px rgba(255,255,255,.06)}
.loyalty-token{position:relative;margin:0;width:92px;height:126px;display:grid;place-items:center;grid-template-rows:1fr auto}
.loyalty-token img{position:relative;z-index:2;width:auto;height:88px;max-width:76px;object-fit:contain;filter:drop-shadow(0 12px 16px rgba(0,0,0,.34)) drop-shadow(0 0 13px rgba(178,105,255,.35))}
.loyalty-token-crystal img{height:100px;max-width:86px;filter:drop-shadow(0 13px 18px rgba(0,0,0,.36)) drop-shadow(0 0 15px rgba(92,205,255,.3))}
.loyalty-token-glow{position:absolute;z-index:1;top:20px;width:72px;height:72px;border-radius:50%;background:radial-gradient(circle,rgba(210,155,255,.2),transparent 70%);filter:blur(6px)}
.loyalty-token-crystal .loyalty-token-glow{background:radial-gradient(circle,rgba(93,211,255,.18),transparent 70%)}
.loyalty-token figcaption{position:relative;z-index:2;font-size:10px;font-weight:900;letter-spacing:.08em;text-transform:uppercase;color:rgba(255,255,255,.7);white-space:nowrap}
.loyalty-fusion-arrow{position:relative;z-index:2;color:#edca72;font-size:22px;filter:drop-shadow(0 0 8px rgba(237,202,114,.45))}
.loyalty-program-copy{position:relative;z-index:1}.loyalty-program-copy h2{font-size:clamp(27px,3.3vw,46px);line-height:1.08}
.aura-inline-icon{display:inline-block;width:22px;height:22px;object-fit:contain;vertical-align:-6px;margin-right:5px;filter:drop-shadow(0 0 6px rgba(189,116,255,.45))}
.product-loyalty{display:flex;align-items:center}.product-loyalty .aura-inline-icon{flex:0 0 auto;width:24px;height:24px}
.cart-loyalty-head strong{display:inline-flex;align-items:center}.cart-loyalty-head .aura-inline-icon{width:25px;height:25px;vertical-align:middle}
.aura-payment-badge{display:inline-flex!important;align-items:center;gap:5px}.aura-payment-badge img{width:20px;height:20px;object-fit:contain;filter:drop-shadow(0 0 5px rgba(188,112,255,.42))}
.wallet-token-art img{object-fit:contain!important;border-radius:0!important}.wallet-token-fragment .wallet-token-art img{width:76px!important;height:96px!important}.wallet-token-crystal .wallet-token-art img{width:86px!important;height:104px!important}
@media(max-width:760px){.loyalty-program-card{grid-template-columns:1fr}.loyalty-program-visual{min-height:130px;max-width:330px;width:100%;margin:auto}.loyalty-token{height:108px}.loyalty-token img{height:72px}.loyalty-token-crystal img{height:82px}.loyalty-program-copy{text-align:center}.loyalty-program-copy .badge{justify-content:center}}
@media(max-width:420px){.loyalty-program-visual{padding:8px}.loyalty-token{width:78px}.loyalty-token figcaption{font-size:9px}.loyalty-token img{max-width:62px}.loyalty-token-crystal img{max-width:70px}}

/* BOOPETS 4.3 — Niveau d'Invocateur */
.invoker-journal{position:relative;overflow:hidden;border-color:rgba(255,255,255,.18)}
.invoker-journal:before{content:"";position:absolute;inset:-60% 35% auto -15%;height:260px;background:radial-gradient(circle,var(--rank-glow,rgba(255,255,255,.16)),transparent 68%);pointer-events:none}
.invoker-journal-head,.invoker-xp-line,.invoker-rules{position:relative;display:flex;align-items:center;justify-content:space-between;gap:20px}
.invoker-title{display:inline-flex;padding:7px 13px;border:1px solid var(--rank-color,#fff);border-radius:999px;color:var(--rank-color,#fff);font-weight:900;letter-spacing:.07em;text-transform:uppercase;font-size:12px;box-shadow:0 0 18px var(--rank-glow,rgba(255,255,255,.15))}
.invoker-journal h2{font-size:clamp(30px,5vw,52px);margin:12px 0 5px;color:var(--rank-color,#fff)}
.invoker-level-medallion{width:92px;height:92px;flex:0 0 92px;display:grid;place-content:center;text-align:center;border-radius:50%;border:2px solid var(--rank-color,#fff);background:rgba(0,0,0,.34);box-shadow:0 0 28px var(--rank-glow,rgba(255,255,255,.15)),inset 0 0 24px var(--rank-glow,rgba(255,255,255,.08))}
.invoker-level-medallion small{font-weight:900;letter-spacing:.18em;color:var(--muted-2)}.invoker-level-medallion strong{font-size:31px;color:var(--rank-color,#fff)}
.xp-title-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:14px 0 18px}.xp-title-list article{display:grid;gap:4px;padding:12px;border:1px solid rgba(255,255,255,.12);border-radius:12px;opacity:.58}.xp-title-list article.is-unlocked{opacity:1;border-color:rgba(245,215,123,.45)}.xp-title-list article.is-current{box-shadow:0 0 20px var(--rank-glow,rgba(245,215,123,.2))}.xp-title-list span,.xp-title-list b{font-size:.75rem}.xp-title-list b{color:var(--rank-color,#f5d77b)}.xp-cost-details summary{cursor:pointer;color:#f5d77b;font-weight:800;margin-bottom:12px}.director-quiz-unavailable{margin-top:18px;padding:18px;border:1px solid rgba(245,215,123,.25);border-radius:14px;background:rgba(0,0,0,.2)}
.product-card.is-exhausted .pack-art img,.product-card.is-exhausted .product-visual img{filter:grayscale(.7) brightness(.62)}.product-card.is-exhausted .premium-label{background:#7b1820;color:#fff;border-color:#ff7982}.product-stock-status{display:block;margin:10px 0;color:#e31f2b!important;font-size:1.05rem;font-weight:950;letter-spacing:.12em;text-align:center}.product-card.is-exhausted .product-cta,.product-card.is-exhausted .product-cta:disabled{background:#777!important;background-image:none!important;border-color:#999!important;color:#e5e5e5!important;box-shadow:none!important;opacity:1!important;cursor:not-allowed!important;pointer-events:none}
@media(max-width:620px){.xp-title-list{grid-template-columns:1fr}}
.invoker-xp-line{margin-top:23px;font-size:14px}.invoker-xp-line b{color:var(--rank-color,#fff)}
.invoker-progress-track{height:13px;margin-top:10px;border-radius:999px;background:rgba(255,255,255,.09);overflow:hidden;border:1px solid rgba(255,255,255,.08)}
.invoker-progress-track i{display:block;height:100%;border-radius:inherit;width:0;background:linear-gradient(90deg,var(--rank-color,#fff),#fff);box-shadow:0 0 18px var(--rank-glow,rgba(255,255,255,.25));transition:width .7s ease}
.invoker-rules{margin-top:13px;color:var(--muted-2);font-size:12px}
.invoker-rank-aspirant{--rank-color:#fff;--rank-glow:rgba(255,255,255,.2)}
.invoker-rank-novice{--rank-color:#54e58a;--rank-glow:rgba(84,229,138,.28)}
.invoker-rank-confirme{--rank-color:#57a8ff;--rank-glow:rgba(87,168,255,.3)}
.invoker-rank-maitre{--rank-color:#ffd95a;--rank-glow:rgba(255,217,90,.34)}
.invoker-rank-grand-maitre{--rank-color:#ff5959;--rank-glow:rgba(255,89,89,.35)}
.invoker-rank-conseil{--rank-color:#fff;--rank-glow:rgba(203,116,255,.42);background:linear-gradient(120deg,rgba(255,77,77,.09),rgba(255,214,77,.08),rgba(68,220,255,.08),rgba(180,91,255,.1))}
.invoker-rank-conseil .invoker-title,.invoker-rank-conseil h2,.invoker-rank-conseil .invoker-level-medallion strong,.invoker-rank-conseil .invoker-xp-line b{background:linear-gradient(90deg,#ff6565,#ffd861,#6cf0ae,#62cfff,#c47aff,#ff6565);background-size:220% auto;-webkit-background-clip:text;color:transparent;animation:boopets-rainbow 5s linear infinite}
@keyframes boopets-rainbow{to{background-position:220% center}}
.aura-mini-rank{min-width:210px;display:grid;gap:5px;padding:4px 10px}.aura-mini-rank-head{display:flex;justify-content:space-between;gap:9px;font-size:11px}.aura-mini-rank-head strong{color:var(--rank-color,#fff)}.aura-mini-rank-track{height:5px;border-radius:99px;background:rgba(255,255,255,.12);overflow:hidden}.aura-mini-rank-track i{display:block;height:100%;background:linear-gradient(90deg,var(--rank-color,#fff),#fff);border-radius:inherit}
@media(max-width:760px){.invoker-journal-head{align-items:flex-start}.invoker-level-medallion{width:72px;height:72px;flex-basis:72px}.invoker-rules{align-items:flex-start;flex-direction:column;gap:5px}.aura-mini-rank{min-width:150px}}


/* ===== BOOPETS Studio V6.4 — Header officiel et page À propos ===== */
.header-inner{width:min(100% - 32px,1900px);max-width:1900px;min-height:88px;gap:18px}
.brand-lockup{position:relative;display:grid;grid-template-rows:58px 13px;align-items:center;justify-items:center;flex:0 0 230px;width:230px;min-width:230px;padding:4px 8px 2px;text-decoration:none}
.brand-logo-image{display:block;width:210px;height:58px;object-fit:contain;object-position:center;filter:drop-shadow(0 8px 16px rgba(233,194,106,.20))}
.brand-studio{font-size:10px;font-weight:900;letter-spacing:.46em;color:var(--gold-2);line-height:1;text-indent:.46em;text-shadow:0 0 14px rgba(233,194,106,.25)}
.nav{flex:1;justify-content:center;gap:1px;font-size:13.5px;min-width:0}
.nav a{padding:10px 9px;white-space:nowrap}
.nav a.active::after{left:9px;right:9px}
.header-actions{flex:0 0 auto}
.header-actions .btn.small{padding-left:16px;padding-right:16px}
@media(max-width:1450px){.brand-lockup{flex-basis:190px;width:190px;min-width:190px}.brand-logo-image{width:175px}.nav{font-size:12.5px}.nav a{padding:10px 7px}.header-actions .btn.small{padding-left:13px;padding-right:13px}}
@media(max-width:1180px){.mobile-toggle{display:grid;place-items:center}.nav{position:fixed;inset:88px 0 auto 0;padding:18px 16px 26px;display:none;flex-direction:column;align-items:stretch;background:rgba(6,8,16,.98);border-bottom:1px solid var(--line);max-height:calc(100vh - 88px);overflow:auto}.nav.open{display:flex}.nav a{padding:15px 16px;border:1px solid var(--line-soft);border-radius:var(--radius-md)}.brand-lockup{margin-right:auto}.header-actions>.account-link,.header-actions>.btn.secondary{display:none}}
@media(max-width:620px){.header-inner{width:min(100% - 18px,1900px);min-height:74px;gap:8px}.brand-lockup{grid-template-rows:43px 10px;flex-basis:154px;width:154px;min-width:154px;padding:2px 0}.brand-logo-image{width:150px;height:43px}.brand-studio{font-size:8px;letter-spacing:.34em;text-indent:.34em}.nav{inset:74px 0 auto 0;max-height:calc(100vh - 74px)}.cart-button{min-height:42px;padding:0 13px!important}.mobile-toggle{width:42px;height:42px}}
.about-hero{position:relative;min-height:520px;display:flex;align-items:center;overflow:hidden;border-bottom:1px solid var(--line)}
.about-hero-bg{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:center}
.about-hero-overlay{position:absolute;inset:0;background:linear-gradient(90deg,rgba(4,5,12,.94) 0%,rgba(4,5,12,.77) 42%,rgba(4,5,12,.18) 75%),linear-gradient(0deg,rgba(4,5,12,.6),transparent 50%)}
.about-hero-content{position:relative;z-index:1;max-width:760px;margin-left:max(0px,calc((100% - var(--max))/2));padding:88px 0}
.about-hero h1{font-size:clamp(48px,6vw,86px);margin:12px 0 10px}.about-kicker{font-size:clamp(20px,2vw,28px);color:var(--gold-2);font-weight:800;margin:0 0 20px}.about-hero .lead{max-width:720px}
.about-origin{display:grid;grid-template-columns:minmax(0,1.35fr) minmax(250px,.65fr);gap:50px;align-items:end;padding:46px 50px;overflow:hidden}.about-origin img{max-height:520px;object-fit:contain;filter:drop-shadow(0 28px 35px rgba(0,0,0,.65));margin-bottom:-50px}.about-origin blockquote{margin:28px 0;padding:20px 24px;border-left:3px solid var(--gold-2);background:rgba(233,194,106,.07);border-radius:0 14px 14px 0;color:var(--gold-1);font-size:clamp(20px,2vw,28px);font-weight:800}
.about-timeline{display:grid;grid-template-columns:repeat(4,1fr);gap:18px;position:relative}.about-timeline:before{content:"";position:absolute;top:32px;left:8%;right:8%;height:1px;background:linear-gradient(90deg,transparent,var(--gold-2),transparent)}.about-timeline article{position:relative;text-align:center;padding:0 15px}.about-timeline article>span{display:grid;place-items:center;width:64px;height:64px;margin:0 auto 18px;border:1px solid var(--gold-2);border-radius:50%;background:#0b0e19;color:var(--gold-1);font-weight:900;box-shadow:0 0 22px rgba(233,194,106,.18)}
.about-values .card{padding:38px}.about-goals .card{text-align:center}.about-goals .icon{margin:0 auto 18px;font-size:28px}.about-message{display:grid;grid-template-columns:260px 1fr;gap:42px;align-items:center;padding:44px}.about-message img{width:100%;filter:drop-shadow(0 20px 30px rgba(0,0,0,.45))}.signature{color:var(--gold-2);font-weight:800;margin-top:24px}
@media(max-width:920px){.about-origin,.about-message{grid-template-columns:1fr}.about-origin img{max-height:390px;margin:0 auto -50px}.about-timeline{grid-template-columns:1fr 1fr;gap:34px 18px}.about-timeline:before{display:none}.about-message img{max-width:280px;margin:auto}.about-hero-content{margin-left:0}.about-hero-overlay{background:rgba(4,5,12,.72)}}
@media(max-width:620px){.about-hero{min-height:470px}.about-hero-content{padding:62px 0}.about-origin{padding:28px 24px}.about-timeline{grid-template-columns:1fr}.about-message{padding:28px 24px}}


/* ===== BOOPETS Studio V7.0.1 — Filigrane réservé à l’agrandissement ===== */
/* Les miniatures restent totalement propres. Le filigrane n’apparaît que dans la lightbox. */
.lightbox-panel{position:relative;overflow:hidden}
.lightbox-panel::after{
  content:"";
  position:absolute;
  inset:18px 18px 92px;
  z-index:8;
  pointer-events:none;
  border-radius:14px;
  background-image:url('../img/brand/logo-mark.png');
  background-repeat:repeat;
  background-size:112px auto;
  background-position:17px 13px;
  opacity:.012;
  transform:rotate(-14deg) scale(1.08);
  mix-blend-mode:screen;
}
.lightbox-panel>img,.lightbox-caption,.lightbox-close{position:relative;z-index:1}
.lightbox-panel>img{-webkit-user-drag:none;user-drag:none;-webkit-touch-callout:none;user-select:none}
@media(max-width:620px){
  .lightbox-panel::after{inset:14px 14px 82px;background-size:88px auto;opacity:.014}
}
@media print{
  .lightbox-panel::after{opacity:.05}
  .lightbox-panel>img{filter:blur(5px)}
}

/* BOOPETS — accessoires boutique (boîtes & sleeves) */
body[data-page="boutique"] .product-card.theme-accessoire { --product-glow: rgba(127, 166, 255, .30); }
body[data-page="boutique"] .product-card.theme-accessoire .pack-art img { object-fit: contain; }


/* ===== Boutique 2026-10-08 : lots de boosters =====
   Les lots réutilisent entièrement les thèmes .theme-booster et
   .theme-booster-2026 (halo, couleurs, typographie) : aucun thème nouveau,
   donc aucune règle existante touchée.

   Seul le CADRAGE de l'image change. Les règles booster plafonnent la vignette
   à 70 % de large / 245 px, calibrées pour UN sachet vertical. Un éventail de
   3 ou 5 est large : sans cette correction, object-fit: contain le réduirait
   jusqu'à le rendre illisible. On élargit donc la boîte et on annule la
   rotation décorative, qui ferait pencher un éventail déjà incliné.
   Placé en fin de fichier pour passer après les surcharges booster. */
body[data-page="boutique"] .product-card .pack-art.pack-art-lot img,
body[data-page="boutique"] .product-card.theme-booster .pack-art.pack-art-lot img,
body[data-page="boutique"] .product-card.theme-booster-2026 .pack-art.pack-art-lot img {
  width: 100%;
  height: 94%;
  max-width: 390px;
  max-height: 310px;
  object-fit: contain;
  object-position: center;
  transform: none;
}
body[data-page="boutique"] .product-card:nth-child(even) .pack-art.pack-art-lot img {
  transform: none;
}
body[data-page="boutique"] .product-card.theme-booster:hover .pack-art.pack-art-lot img,
body[data-page="boutique"] .product-card.theme-booster-2026:hover .pack-art.pack-art-lot img,
body[data-page="boutique"] .product-card:hover .pack-art.pack-art-lot img {
  transform: translateY(-7px) scale(1.025);
}

/* ---------- Témoignages : vidéo hébergée (format vertical réseaux) — 20/10/2026 ---------- */
.testimonial-video video { position: absolute; inset: 0; width: 100%; height: 100%; display: block; object-fit: cover; background: #05060c; }
.testimonial-video-vertical { aspect-ratio: 9 / 16; }
.testimonial-card-featured { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(260px, 380px) 1fr; align-items: center; }
.testimonial-card-featured .testimonial-video { border-bottom: 0; border-right: 1px solid var(--line); }
.testimonial-card-featured .testimonial-body { padding: 36px 40px; }
.testimonial-card-featured .testimonial-title { font-size: 26px; margin-bottom: 14px; }
.testimonial-card-featured .testimonial-quote { font-size: 16px; line-height: 1.75; }
@media (max-width: 760px) {
  .testimonial-card-featured { grid-template-columns: 1fr; }
  .testimonial-card-featured .testimonial-video { border-right: 0; border-bottom: 1px solid var(--line); }
  .testimonial-card-featured .testimonial-body { padding: 22px; }
}

/* ---------- Offre Spéciale Halloween (26–31 octobre 2026) ---------- */
.product-card.theme-halloween {
  --product-glow: rgba(255, 118, 28, .46);
  border-color: rgba(255, 138, 42, .42);
}
.product-card.theme-halloween .pack-art {
  background:
    radial-gradient(68% 62% at 50% 34%, rgba(255, 122, 24, .34), rgba(142, 62, 240, .20) 54%, transparent 76%),
    radial-gradient(38% 26% at 50% 84%, rgba(255, 156, 64, .16), transparent 76%),
    linear-gradient(165deg, #1b1128 0%, #090612 74%);
}
.product-card.theme-halloween .pack-art img,
body[data-page="boutique"] .product-card.theme-halloween .pack-art img {
  width: 98%;
  height: 94%;
  max-width: 390px;
  max-height: 310px;
  object-fit: contain;
  object-position: center;
  transform: none;
}
.product-card.theme-halloween:hover .pack-art img,
body[data-page="boutique"] .product-card.theme-halloween:hover .pack-art img {
  transform: translateY(-6px) scale(1.03);
}
.product-card.theme-halloween .premium-label {
  background: linear-gradient(135deg, rgba(44, 16, 66, .92), rgba(18, 8, 28, .95));
  border-color: rgba(255, 148, 46, .68);
  color: #ffe8c2;
  box-shadow: 0 8px 22px rgba(255, 110, 20, .28);
}
.product-card.theme-halloween .tag {
  border-color: rgba(255, 145, 42, .48);
  background: rgba(255, 122, 24, .12);
  color: #ffb35c;
}
.halloween-countdown {
  margin-top: 8px;
  padding: 6px 10px;
  border-radius: 9px;
  background: linear-gradient(90deg, rgba(255, 115, 22, .16), rgba(148, 62, 240, .16));
  border: 1px solid rgba(255, 145, 42, .38);
  color: #ffd79e;
  font-size: 11.5px;
  font-weight: 700;
  line-height: 1.35;
}
.halloween-countdown strong {
  color: #fff3db;
  font-weight: 900;
}
.halloween-deck-selector {
  margin: 12px 0 6px;
  padding: 10px;
  border-radius: 12px;
  background: rgba(14, 10, 24, .74);
  border: 1px solid rgba(255, 145, 42, .32);
}
.halloween-selector-label {
  display: block;
  font-size: 10.5px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .07em;
  color: #ffbe6b;
  margin-bottom: 7px;
}
.halloween-selector-buttons {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 7px;
}
.halloween-choice-btn {
  appearance: none;
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 8px;
  padding: 7px 8px;
  background: rgba(255, 255, 255, .04);
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
  cursor: pointer;
  transition: all .2s ease;
  text-align: center;
  line-height: 1.25;
}
.halloween-choice-btn:hover {
  border-color: rgba(255, 158, 64, .58);
  color: #fff;
}
.halloween-choice-btn.is-selected {
  background: linear-gradient(135deg, rgba(255, 118, 24, .30), rgba(154, 68, 245, .30));
  border-color: #ff9d3b;
  color: #fff7e6;
  box-shadow: 0 0 14px rgba(255, 122, 24, .32);
}
.price-stack {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-end;
  line-height: 1.1;
}
.price-old {
  font-size: 13px;
  color: rgba(255, 190, 170, .68);
  text-decoration: line-through;
  font-weight: 700;
  margin-bottom: 2px;
}
.halloween-meta-note {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
}
.halloween-free-badge {
  display: inline-block;
  padding: 2px 7px;
  border-radius: 999px;
  background: rgba(255, 122, 24, .22);
  border: 1px solid rgba(255, 152, 56, .55);
  color: #ffc470;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .05em;
}

