/* ============================================================
   ENIXPAN — Design System & Main Styles
   Charte graphique officielle
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;600;700;900&display=swap');

/* ── Variables ──────────────────────────────────────────── */
:root {
  --bg:            #0a0a0f;
  --deep:          #100D28;
  --mid:           #1a1640;
  --accent:        #FF00FF;
  --accent-soft:   rgba(255,0,255,0.12);
  --accent-border: rgba(255,0,255,0.35);
  --white:         #ffffff;
  --text:          #b0b0c8;
  --success:       #00e87a;
  --warning:       #ffc800;
  --border:        rgba(255,255,255,0.07);
  --radius:        14px;
  --radius-lg:     22px;
  --transition:    0.3s cubic-bezier(0.4,0,0.2,1);
  --grid-size:     56px;
}

/* ── Reset ──────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; background: #0a0a0f; color-scheme: dark; overflow-x: hidden; }
body {
  font-family: 'Montserrat', sans-serif;
  font-weight: 400;
  background: var(--bg);
  color: var(--text);
  line-height: 1.8;
  min-height: 100vh;
  cursor: none;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
img, svg { display: block; max-width: 100%; }
button, input, select, textarea { font-family: inherit; }
ul { list-style: none; }

/* ── Custom Cursor ──────────────────────────────────────── */
.cursor-dot {
  width: 8px; height: 8px;
  background: var(--accent);
  border-radius: 50%;
  position: fixed;
  top: 0; left: 0;
  pointer-events: none;
  z-index: 2147483647;
  transform: translate(-50%, -50%);
  transition: transform 0.1s;
  /* Force own GPU compositing layer so the cursor renders above any element
     using backdrop-filter (which creates a competing compositing layer) */
  will-change: transform;
  isolation: isolate;
}
.cursor-ring {
  width: 32px; height: 32px;
  border: 1.5px solid var(--accent);
  border-radius: 50%;
  position: fixed;
  top: 0; left: 0;
  pointer-events: none;
  z-index: 2147483646;
  transform: translate(-50%, -50%);
  transition: transform 0.15s ease, width 0.2s, height 0.2s, background 0.2s;
  opacity: 0.6;
  will-change: transform;
  isolation: isolate;
}
.cursor-ring.hovering {
  width: 48px; height: 48px;
  background: var(--accent-soft);
  opacity: 1;
}
@media (pointer: coarse) {
  .cursor-dot, .cursor-ring { display: none; }
  body { cursor: auto; }
}

/* ── Background Grid ────────────────────────────────────── */
.bg-grid {
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,0,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,0,255,0.03) 1px, transparent 1px);
  background-size: var(--grid-size) var(--grid-size);
  pointer-events: none;
  z-index: 0;
}

/* ── Orbes ──────────────────────────────────────────────── */
.orb {
  position: fixed;
  border-radius: 50%;
  pointer-events: none;
  filter: blur(120px);
  z-index: 0;
  opacity: 0.18;
}
.orb-1 {
  width: 600px; height: 600px;
  background: var(--accent);
  top: -200px; right: -200px;
}
.orb-2 {
  width: 400px; height: 400px;
  background: #7B2FFF;
  bottom: 10%; left: -150px;
}
.orb-3 {
  width: 300px; height: 300px;
  background: var(--accent);
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  opacity: 0.06;
}

/* ── Layout ─────────────────────────────────────────────── */
.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 5vw;
}
section {
  padding: 8rem 5vw;
  position: relative;
  z-index: 1;
}

/* ── Header / Nav ───────────────────────────────────────── */
#header {
  position: fixed;
  top: -1px; left: 0; right: 0;
  z-index: 1000;
  padding: 1px 5vw 0;
  height: 73px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: background var(--transition), border-bottom var(--transition);
  overflow: visible;
}
#header.scrolled {
  background: rgba(10,10,15,0.92);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
}
.nav-logo img { height: 36px; width: auto; }
.nav-logo span {
  font-weight: 900;
  font-size: 1.25rem;
  letter-spacing: -0.03em;
  color: var(--white);
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
}
.nav-links a {
  color: var(--text);
  font-weight: 600;
  font-size: 0.875rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  transition: color var(--transition);
  position: relative;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0;
  width: 0; height: 2px;
  background: var(--accent);
  transition: width var(--transition);
}
.nav-links a:hover { color: var(--white); }
.nav-links a:hover::after { width: 100%; }
.nav-links a.active { color: var(--white); }
.nav-links a.active::after { width: 100%; }
.nav-right {
  display: flex;
  align-items: center;
  gap: 1rem;
}
.nav-cart {
  position: relative;
  width: 40px; height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  cursor: pointer;
  transition: border-color var(--transition), background var(--transition);
  color: var(--white);
}
.nav-cart:hover { border-color: var(--accent-border); background: var(--accent-soft); }
.cart-badge {
  position: absolute;
  top: -6px; right: -6px;
  width: 18px; height: 18px;
  background: var(--accent);
  color: var(--white);
  font-size: 0.625rem;
  font-weight: 700;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  display: none;
}
.cart-badge.visible { display: flex; }
.lang-selector {
  padding: 6px 12px;
  background: transparent;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--text);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
  transition: border-color var(--transition);
}
.lang-selector:hover { border-color: var(--accent-border); color: var(--white); }
.btn-nav-cta {
  padding: 8px 20px;
  background: var(--accent);
  color: var(--white);
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-radius: var(--radius);
  border: none;
  cursor: pointer;
  transition: opacity var(--transition), transform var(--transition);
}
.btn-nav-cta:hover { opacity: 0.85; transform: translateY(-1px); }
.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
}
.nav-hamburger span {
  display: block;
  width: 24px; height: 2px;
  background: var(--white);
  transition: var(--transition);
}

/* ── Mobile Nav ─────────────────────────────────────────── */
.nav-mobile {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 999;
  background: rgba(10,10,15,0.98);
  backdrop-filter: blur(20px);
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2rem;
}
.nav-mobile.open { display: flex; }
.nav-mobile a {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: -0.02em;
}
.nav-mobile-close {
  position: absolute;
  top: 24px; right: 5vw;
  font-size: 2rem;
  color: var(--white);
  cursor: pointer;
  background: none;
  border: none;
}

/* ── Buttons ────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 32px;
  font-weight: 700;
  font-size: 0.875rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  white-space: nowrap;
  border-radius: var(--radius);
  border: none;
  cursor: pointer;
  transition: transform var(--transition), opacity var(--transition), box-shadow var(--transition);
  position: relative;
  overflow: hidden;
}
.btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,0.08);
  opacity: 0;
  transition: opacity var(--transition);
}
.btn:hover::before { opacity: 1; }
.btn:hover { transform: translateY(-3px); }
.btn-primary {
  background: var(--accent);
  color: var(--white);
  box-shadow: 0 0 30px rgba(255,0,255,0.25);
}
.btn-primary:hover { box-shadow: 0 0 50px rgba(255,0,255,0.45); }
.btn-secondary {
  background: transparent;
  color: var(--white);
  border: 1px solid var(--border);
}
.btn-secondary:hover { border-color: var(--accent-border); }
.btn-ghost {
  background: var(--accent-soft);
  color: var(--white);
  border: 1px solid var(--accent-border);
}
.btn-success {
  background: var(--success);
  color: #000;
}
.btn-lg { padding: 18px 42px; font-size: 1rem; }
.btn-sm { padding: 10px 22px; font-size: 0.75rem; }
.btn-block { width: 100%; justify-content: center; }

/* ── Cards ──────────────────────────────────────────────── */
.card {
  background: linear-gradient(135deg, var(--deep) 0%, var(--mid) 100%);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform var(--transition), border-color var(--transition), box-shadow var(--transition);
  position: relative;
}
.card:hover {
  transform: translateY(-4px);
  border-color: var(--accent-border);
  box-shadow: 0 20px 60px rgba(255,0,255,0.12);
}

/* ── Typography ─────────────────────────────────────────── */
h1, h2, h3, h4, h5, h6 {
  color: var(--white);
  line-height: 1.1;
  letter-spacing: -0.025em;
}
h1 { font-size: clamp(2.5rem, 6vw, 5rem); font-weight: 900; }
h2 { font-size: clamp(2rem, 4vw, 3.5rem); font-weight: 900; }
h3 { font-size: clamp(1.5rem, 3vw, 2rem); font-weight: 700; }
h4 { font-size: 1.25rem; font-weight: 700; }
h5 { font-size: 1rem; font-weight: 700; }
p { line-height: 1.85; }
.label {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
}
.text-white { color: var(--white); }
.text-accent { color: var(--accent); }
.text-success { color: var(--success); }
.text-muted { color: var(--text); opacity: 0.6; }
.text-center { text-align: center; }
.text-gradient {
  background: linear-gradient(135deg, var(--white) 0%, var(--accent) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ── Section Headers ────────────────────────────────────── */
.section-header {
  text-align: center;
  margin-bottom: 4rem;
}
.section-header .label { margin-bottom: 1rem; }
.section-header p {
  max-width: 600px;
  margin: 1rem auto 0;
  color: var(--text);
}

/* ── Trust Bar ──────────────────────────────────────────── */
.trust-bar {
  background: linear-gradient(90deg, var(--deep) 0%, var(--mid) 100%);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 1rem 5vw;
  z-index: 1;
  position: relative;
}
.trust-items {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 2rem;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--white);
}
.trust-item svg, .trust-item .ti-icon {
  color: var(--success);
  flex-shrink: 0;
}

/* ── Hero ───────────────────────────────────────────────── */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 72px;
  position: relative;
  overflow: hidden;
}
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 760px;
}
.hero-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: var(--accent-soft);
  border: 1px solid var(--accent-border);
  border-radius: 100px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 2rem;
}
.hero-label::before {
  content: '';
  width: 8px; height: 8px;
  background: var(--accent);
  border-radius: 50%;
  animation: pulse-dot 1.5s infinite;
}
.hero h1 { margin-bottom: 1.5rem; }
.hero p {
  font-size: 1.125rem;
  max-width: 560px;
  margin-bottom: 2.5rem;
}
.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}
.hero-scroll {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text);
  opacity: 0.6;
  animation: bounce-down 2s infinite;
}
/* ── Hero visual: full-width background ──────────────────── */
.hero-visual {
  position: absolute;
  inset: 0;                /* covers entire hero */
  pointer-events: none;
  z-index: 0;
}

.hero-img-wrap {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.hero-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 25%;
  display: block;
  filter: saturate(1.1) brightness(0.55);
}

/* Left-to-right gradient — keeps text readable */
.hero-img-wrap::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    95deg,
    var(--bg)              0%,
    rgba(10,10,30,0.92)   20%,
    rgba(10,10,30,0.65)   45%,
    rgba(10,10,30,0.25)   70%,
    transparent           100%
  );
  z-index: 1;
}

/* Bottom fade so it blends with the next section */
.hero-img-wrap::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    transparent 55%,
    var(--bg)   100%
  );
  z-index: 2;
}

/* Accent glow on the left edge of the photo */
.hero-img-glow {
  position: absolute;
  left: -1px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(
    180deg,
    transparent 0%,
    rgba(255,0,255,0.6) 40%,
    rgba(255,0,255,0.6) 60%,
    transparent 100%
  );
  z-index: 3;
}

.hero-img-ring { display: none; }

@keyframes hero-ring-pulse {
  0%, 100% { opacity: 0.4; }
  50% { opacity: 0.1; }
}

/* ── Boutique Hero ──────────────────────────────────────── */
.boutique-hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 140px 5vw 5rem;
  overflow: hidden;
}

.boutique-hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.boutique-hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  filter: brightness(0.35) saturate(1.2);
}

.boutique-hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, var(--bg) 0%, transparent 20%, transparent 70%, var(--bg) 100%),
    radial-gradient(ellipse at 50% 40%, rgba(255,0,255,0.15) 0%, transparent 60%);
}

.boutique-hero-content {
  position: relative;
  z-index: 1;
  max-width: 700px;
  width: 100%;
}

/* ── Products Grid ──────────────────────────────────────── */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 1.5rem;
}
/* Related products section: always exactly 3 columns — no ghost tracks */
#relatedGrid {
  grid-template-columns: repeat(3, 1fr);
}
@media (max-width: 860px) {
  #relatedGrid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 560px) {
  #relatedGrid {
    grid-template-columns: 1fr;
  }
}
.product-card {
  display: flex;
  flex-direction: column;
}
.product-card-image {
  position: relative;
  aspect-ratio: 1 / 1;
  background: linear-gradient(135deg, var(--deep) 0%, var(--mid) 100%);
  overflow: hidden;
  display: block;
}
.product-card-image .handpan-preview {
  width: 200px;
  height: 200px;
  opacity: 0.85;
  transition: transform 0.6s ease;
}
.product-card:hover .handpan-preview {
  transform: scale(1.05) rotate(5deg);
}
.product-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  padding: 4px 10px;
  border-radius: 100px;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.badge-new { background: var(--accent); color: var(--white); }
.badge-popular { background: var(--success); color: #000; }
.badge-beginner { background: var(--warning); color: #000; }
.product-card-body {
  padding: 1.5rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.product-scale {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.5rem;
}
.product-card-body h3 {
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
}
.product-card-body p {
  font-size: 0.875rem;
  color: var(--text);
  margin-bottom: 1.25rem;
  flex: 1;
}
.product-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.5rem;
  border-top: 1px solid var(--border);
  background: rgba(10,10,15,0.3);
}
.product-price {
  font-size: 1.5rem;
  font-weight: 900;
  color: var(--white);
  letter-spacing: -0.03em;
}
.product-price-sub {
  font-size: 0.7rem;
  color: var(--text);
  font-weight: 400;
  margin-top: -4px;
}
.product-notes-count {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.75rem;
  color: var(--text);
  font-weight: 600;
}

/* ── Product Detail ─────────────────────────────────────── */
/* Desktop: 55/45 grid — left col: title (row2) + purchase (row3) | right col: sticky gallery spanning both */
.product-hero {
  padding-top: 100px;
  padding-bottom: 3rem;
  display: grid;
  grid-template-columns: 55fr 45fr;
  grid-template-rows: auto auto auto;
  column-gap: 3rem;
  row-gap: 0;
  align-items: start;
}
.product-hero > .breadcrumb {
  grid-column: 1 / -1;
  grid-row: 1;
  margin-bottom: 1.5rem;
}
.product-hero > .product-title-block {
  grid-column: 1;
  grid-row: 2;
  padding-bottom: 1.75rem;
}
.product-hero > .product-visual-wrap {
  grid-column: 2;
  grid-row: 2 / 4;
  position: sticky;
  top: 100px;
}
.product-hero > .product-info {
  grid-column: 1;
  grid-row: 3;
}
/* Title block typography */
.product-title-block .label { margin-bottom: 0.6rem; }
.product-title-block h1 {
  font-size: clamp(1.9rem, 3.5vw, 2.8rem);
  margin-bottom: 0.75rem;
  line-height: 1.15;
}
.product-title-block .stars { margin: 0.5rem 0 0; }
.product-main-image {
  width: 100%;
  aspect-ratio: 1;
  background: linear-gradient(135deg, var(--deep) 0%, var(--mid) 100%);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.product-main-image svg {
  width: 75%;
  height: 75%;
  opacity: 0.9;
}
/* price-vat sits closer to price */
.product-info .price-display {
  font-size: 2.5rem;
  font-weight: 900;
  color: var(--white);
  letter-spacing: -0.04em;
  margin-bottom: 0.5rem;
}
.product-info .price-vat {
  font-size: 0.8rem;
  color: var(--text);
  margin-bottom: 2rem;
}
.product-options {
  margin-bottom: 2rem;
}
.product-options label {
  display: block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 0.75rem;
  color: var(--white);
}
.radio-group {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}
.radio-option {
  padding: 8px 18px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--text);
  cursor: pointer;
  transition: all var(--transition);
}
.radio-option.selected,
.radio-option:hover {
  border-color: var(--accent-border);
  color: var(--white);
  background: var(--accent-soft);
}
.qty-selector {
  display: flex;
  align-items: center;
  gap: 0;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  width: fit-content;
  margin-bottom: 2rem;
}
.qty-btn {
  width: 44px; height: 44px;
  background: var(--deep);
  border: none;
  color: var(--white);
  font-size: 1.25rem;
  cursor: pointer;
  transition: background var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
}
.qty-btn:hover { background: var(--mid); }
.qty-input {
  width: 60px;
  height: 44px;
  background: transparent;
  border: none;
  border-left: 1px solid var(--border);
  border-right: 1px solid var(--border);
  color: var(--white);
  font-weight: 700;
  font-size: 1rem;
  text-align: center;
}
.product-ctas {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 2rem;
}
.gift-option {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.8rem;
  color: var(--text);
  cursor: pointer;
}
.gift-option input { accent-color: var(--accent); width: 16px; height: 16px; }
.product-guarantees {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  padding: 1.5rem;
  background: var(--deep);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}
.guarantee-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.8rem;
  color: var(--text);
  font-weight: 600;
}
.guarantee-item .gi-icon { color: var(--success); flex-shrink: 0; }

/* ── Product Tabs ────────────────────────────────────────── */
.product-tabs {
  margin-top: 5rem;
}
.tabs-nav {
  display: flex;
  border-bottom: 1px solid var(--border);
  gap: 0;
  overflow-x: auto;
  scrollbar-width: none;
}
.tabs-nav::-webkit-scrollbar { display: none; }
.tab-btn {
  padding: 1rem 2rem;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text);
  background: none;
  border: none;
  border-bottom: 2px solid transparent;
  cursor: pointer;
  white-space: nowrap;
  transition: color var(--transition), border-color var(--transition);
}
.tab-btn.active, .tab-btn:hover { color: var(--white); border-color: var(--accent); }
.tab-content { display: none; padding: 3rem 0; }
.tab-content.active { display: block; }

/* ── Scale Map ──────────────────────────────────────────── */
.scale-map {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 1.5rem 0;
}
.note-pill {
  padding: 8px 18px;
  background: var(--deep);
  border: 1px solid var(--border);
  border-radius: 100px;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--white);
  transition: all var(--transition);
}
.note-pill.ding {
  background: var(--accent-soft);
  border-color: var(--accent-border);
  color: var(--accent);
}
.note-pill:hover {
  background: var(--accent-soft);
  border-color: var(--accent-border);
  transform: translateY(-2px);
}

/* ── Accordion ──────────────────────────────────────────── */
.accordion-item {
  border-bottom: 1px solid var(--border);
}
.accordion-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 0;
  cursor: pointer;
  font-weight: 600;
  color: var(--white);
  font-size: 0.95rem;
  transition: color var(--transition);
}
.accordion-header:hover { color: var(--accent); }
.accordion-icon {
  width: 24px; height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: transform var(--transition);
  color: var(--accent);
}
.accordion-item.open .accordion-icon { transform: rotate(45deg); }
.accordion-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.3s;
}
.accordion-item.open .accordion-body { max-height: 500px; }
.accordion-body-inner { padding-bottom: 1.25rem; font-size: 0.875rem; line-height: 1.85; }

/* ── Review Stars ───────────────────────────────────────── */
.stars {
  display: flex;
  gap: 3px;
  color: var(--warning);
}
.star { font-size: 1rem; }
.review-card {
  padding: 2rem;
}
.review-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
}
.review-avatar {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--mid);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  font-size: 1rem;
  color: var(--accent);
  flex-shrink: 0;
}
.review-meta { flex: 1; }
.review-name { font-weight: 700; color: var(--white); font-size: 0.9rem; }
.review-date { font-size: 0.75rem; color: var(--text); }
.review-text { font-size: 0.875rem; line-height: 1.75; }
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.5rem;
}

/* ── Specs Table ────────────────────────────────────────── */
.specs-table {
  width: 100%;
  border-collapse: collapse;
}
.specs-table tr {
  border-bottom: 1px solid var(--border);
}
.specs-table tr:last-child { border-bottom: none; }
.specs-table td {
  padding: 1rem 0;
  font-size: 0.875rem;
}
.specs-table td:first-child {
  color: var(--text);
  width: 40%;
  font-weight: 600;
}
.specs-table td:last-child {
  color: var(--white);
  font-weight: 700;
}

/* ── Guides ─────────────────────────────────────────────── */
.guides-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.5rem;
}
.guide-card {
  display: flex;
  flex-direction: column;
}
.guide-card-icon {
  width: 56px; height: 56px;
  background: var(--accent-soft);
  border: 1px solid var(--accent-border);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 1.25rem;
}
.guide-card-body { padding: 1.5rem; flex: 1; display: flex; flex-direction: column; }
.guide-card-body h4 { margin-bottom: 0.5rem; }
.guide-card-body p { font-size: 0.875rem; flex: 1; margin-bottom: 1.25rem; }
.guide-meta {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: 0.75rem;
  color: var(--text);
  font-weight: 600;
}

/* ── Cart Drawer ─────────────────────────────────────────── */
.cart-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.6);
  z-index: 1100;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition);
}
.cart-overlay.open { opacity: 1; pointer-events: all; }
.cart-drawer {
  position: fixed;
  right: 0; top: 0; bottom: 0;
  width: min(480px, 100vw);
  background: var(--bg);
  border-left: 1px solid var(--border);
  z-index: 1101;
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform var(--transition);
}
.cart-drawer.open { transform: translateX(0); }
.cart-drawer-header {
  padding: 1.5rem 2rem;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.cart-drawer-header h3 { font-size: 1.25rem; }
.cart-close {
  width: 36px; height: 36px;
  background: var(--deep);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--white);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  transition: border-color var(--transition);
}
.cart-close:hover { border-color: var(--accent-border); }
.cart-items { flex: 1; overflow-y: auto; padding: 1.5rem 2rem; }
.cart-item {
  display: flex;
  gap: 1rem;
  padding: 1.25rem 0;
  border-bottom: 1px solid var(--border);
}
.cart-item-img {
  width: 72px; height: 72px;
  background: var(--deep);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.cart-item-details { flex: 1; }
.cart-item-name { font-weight: 700; font-size: 0.875rem; color: var(--white); margin-bottom: 4px; }
.cart-item-variant { font-size: 0.75rem; color: var(--text); margin-bottom: 8px; }
.cart-item-qty {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
}
.ci-qty-btn {
  width: 28px; height: 28px;
  background: var(--deep);
  border: 1px solid var(--border);
  border-radius: 6px;
  color: var(--white);
  font-size: 1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: border-color var(--transition);
}
.ci-qty-btn:hover { border-color: var(--accent-border); }
.cart-item-price {
  font-weight: 900;
  font-size: 1rem;
  color: var(--white);
  letter-spacing: -0.02em;
  align-self: flex-start;
  white-space: nowrap;
}
.cart-remove {
  color: var(--text);
  background: none;
  border: none;
  cursor: pointer;
  font-size: 0.75rem;
  transition: color var(--transition);
  margin-left: auto;
}
.cart-remove:hover { color: #ff4444; }
.cart-empty {
  text-align: center;
  padding: 4rem 2rem;
}
.cart-empty svg { margin: 0 auto 1rem; opacity: 0.3; }
.cart-empty p { color: var(--text); font-size: 0.875rem; }
.cart-footer {
  padding: 1.5rem 2rem;
  border-top: 1px solid var(--border);
}
.cart-promo {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}
.cart-promo input {
  flex: 1;
  padding: 10px 14px;
  background: var(--deep);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--white);
  font-size: 0.875rem;
  font-family: inherit;
  transition: border-color var(--transition);
}
.cart-promo input:focus {
  outline: none;
  border-color: var(--accent-border);
}
.cart-promo input::placeholder { color: var(--text); opacity: 0.5; }
.cart-totals { margin-bottom: 1.5rem; }
.cart-total-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.875rem;
  padding: 0.4rem 0;
  color: var(--text);
}
.cart-total-row.total {
  font-size: 1.125rem;
  font-weight: 900;
  color: var(--white);
  border-top: 1px solid var(--border);
  padding-top: 0.75rem;
  margin-top: 0.5rem;
}
.cart-total-row .discount { color: var(--success); }
.cart-shipping-note {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  background: rgba(0,232,122,0.08);
  border: 1px solid rgba(0,232,122,0.2);
  border-radius: var(--radius);
  font-size: 0.75rem;
  color: var(--success);
  font-weight: 600;
  margin-bottom: 1rem;
}

/* ── Popups ─────────────────────────────────────────────── */
.popup-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.7);
  z-index: 1200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition);
}
.popup-overlay.open { opacity: 1; pointer-events: all; }
.popup-box {
  background: var(--deep);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 3rem;
  max-width: 480px;
  width: 100%;
  position: relative;
  transform: scale(0.95) translateY(20px);
  transition: transform var(--transition);
}
.popup-overlay.open .popup-box {
  transform: scale(1) translateY(0);
}
.popup-close {
  position: absolute;
  top: 1rem; right: 1rem;
  width: 32px; height: 32px;
  background: var(--mid);
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--white);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  transition: border-color var(--transition);
}
.popup-close:hover { border-color: var(--accent-border); }
.popup-box .label { margin-bottom: 0.75rem; }
/* Heading visuel sans balise h-tag pour ne pas polluer la hiérarchie SEO.
   Le popup est un overlay transitoire, pas une section de contenu — il ne
   doit pas apparaître dans l'arbre des headings indexés par Google. */
.popup-box .popup-title,
.popup-box h3 { font-size: 1.75rem; margin-bottom: 1rem; font-weight: 700; color: var(--white); line-height: 1.3; }
.popup-box p { margin-bottom: 2rem; font-size: 0.9rem; }
.popup-input-group {
  display: flex;
  gap: 0.5rem;
}
.popup-input-group input {
  flex: 1;
  padding: 12px 16px;
  background: var(--mid);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--white);
  font-family: inherit;
  font-size: 0.875rem;
  transition: border-color var(--transition);
}
.popup-input-group input:focus { outline: none; border-color: var(--accent-border); }
.popup-box .legal {
  font-size: 0.7rem;
  color: var(--text);
  opacity: 0.5;
  margin-top: 1rem;
  text-align: center;
}

/* ── Notification Toast ─────────────────────────────────── */
.toast-container {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 1300;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.toast {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 20px;
  background: var(--deep);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: 0 8px 32px rgba(0,0,0,0.4);
  font-size: 0.875rem;
  color: var(--white);
  font-weight: 600;
  min-width: 280px;
  animation: toast-in 0.3s ease forwards;
}
.toast.success { border-color: rgba(0,232,122,0.3); }
.toast.success .toast-icon { color: var(--success); }
.toast.error { border-color: rgba(255,68,68,0.3); }
.toast.error .toast-icon { color: #ff4444; }
.toast.info { border-color: var(--accent-border); }
.toast.info .toast-icon { color: var(--accent); }
.toast-progress {
  position: absolute;
  bottom: 0; left: 0;
  height: 2px;
  background: var(--accent);
  animation: toast-progress 4s linear forwards;
}

/* ── Country Pricing Banner ──────────────────────────────── */
.pricing-banner {
  background: linear-gradient(90deg, var(--deep) 0%, var(--mid) 100%);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
}
.pricing-banner-left {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.875rem;
  color: var(--text);
}
.pricing-banner select {
  background: var(--mid);
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--white);
  padding: 6px 10px;
  font-family: inherit;
  font-size: 0.8rem;
  cursor: pointer;
  transition: border-color var(--transition);
}
.pricing-banner select:focus { outline: none; border-color: var(--accent-border); }

/* ── Footer ──────────────────────────────────────────────── */
footer {
  background: var(--deep);
  border-top: 1px solid var(--border);
  padding: 5rem 5vw 2rem;
  position: relative;
  z-index: 1;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr repeat(3, 1fr);
  gap: 3rem;
  margin-bottom: 3rem;
}
.footer-brand .nav-logo { margin-bottom: 1rem; }
.footer-brand p { font-size: 0.875rem; max-width: 280px; margin-bottom: 1.5rem; }
.footer-social {
  display: flex;
  gap: 0.75rem;
}
.social-btn {
  width: 36px; height: 36px;
  background: var(--mid);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text);
  transition: all var(--transition);
  cursor: pointer;
}
.social-btn:hover { border-color: var(--accent-border); color: var(--accent); }
.footer-col h5 {
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 1.25rem;
}
.footer-col ul { display: flex; flex-direction: column; gap: 0.75rem; }
.footer-col ul li a {
  font-size: 0.875rem;
  color: var(--text);
  transition: color var(--transition);
}
.footer-col ul li a:hover { color: var(--white); }
/* ── Footer Newsletter Strip ─────────────────────────────── */
.footer-newsletter {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  padding: 1.5rem 2rem;
  background: rgba(255,0,255,0.05);
  border: 1px solid rgba(255,0,255,0.15);
  border-radius: 14px;
  margin-bottom: 2.5rem;
  flex-wrap: wrap;
}
.footer-newsletter-text {
  /* Stabilise le layout : la zone texte garde une largeur cohérente
     quelle que soit la longueur de la chaîne traduite — évite qu'un titre
     long (DE/ES) ne casse le wrap d'une langue à l'autre. */
  flex: 1 1 360px;
  min-width: 0;
  max-width: 560px;
}
.footer-newsletter-title {
  font-size: 28px;     /* réduit de 35→28 pour mieux absorber les variantes de longueur 5-langues */
  font-weight: 800;
  color: var(--white);
  margin-bottom: .25rem;
  line-height: 1.2;
}
.footer-newsletter-sub {
  font-size: .72rem;
  color: var(--text);
}
.footer-newsletter-form {
  display: flex;
  gap: .6rem;
  flex: 1;
  max-width: 520px;
  min-width: 220px;
  flex-wrap: wrap;
}
.footer-newsletter-form input[name="first_name"] {
  max-width: 150px;
  flex: 0 0 150px;
}
.footer-newsletter-input {
  flex: 1;
  padding: .65rem 1rem;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 10px;
  color: var(--white);
  font-size: .82rem;
  font-family: inherit;
  outline: none;
  transition: border-color .2s;
}
.footer-newsletter-input::placeholder { color: rgba(255,255,255,0.3); }
.footer-newsletter-input:focus { border-color: var(--accent-border); }

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
  font-size: 0.75rem;
  color: var(--text);
  flex-wrap: wrap;
  gap: 1rem;
}
.footer-bottom a { color: var(--text); transition: color var(--transition); }
.footer-bottom a:hover { color: var(--white); }
.footer-payment-icons {
  display: flex;
  gap: 0.5rem;
  align-items: center;
}
.payment-icon {
  padding: 4px 8px;
  background: var(--mid);
  border: 1px solid var(--border);
  border-radius: 6px;
  font-size: 0.65rem;
  font-weight: 700;
  color: var(--text);
  letter-spacing: 0.05em;
}

/* ── Forms ──────────────────────────────────────────────── */
.form-group { margin-bottom: 1.5rem; }
.form-label {
  display: block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text);
  margin-bottom: 0.5rem;
}
.form-control {
  width: 100%;
  padding: 12px 16px;
  background: var(--deep);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--white);
  font-family: inherit;
  font-size: 0.9rem;
  transition: border-color var(--transition);
}
.form-control:focus { outline: none; border-color: var(--accent-border); }
.form-control::placeholder { color: var(--text); opacity: 0.4; }

/* ── Admin ──────────────────────────────────────────────── */
.admin-layout {
  display: grid;
  grid-template-columns: 240px 1fr;
  min-height: 100vh;
}
.admin-sidebar {
  background: var(--deep);
  border-right: 1px solid var(--border);
  padding: 2rem 0;
  position: sticky;
  top: 0;
  height: 100vh;
  overflow-y: auto;
}
.admin-sidebar .nav-logo {
  padding: 0 1.5rem;
  margin-bottom: 2rem;
}
.admin-nav { display: flex; flex-direction: column; }
.admin-nav-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 1.5rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text);
  transition: all var(--transition);
  cursor: pointer;
  border: none;
  background: none;
  text-align: left;
  width: 100%;
}
.admin-nav-item:hover, .admin-nav-item.active {
  background: var(--accent-soft);
  color: var(--white);
  border-right: 2px solid var(--accent);
}
.admin-nav-section {
  padding: 0.5rem 1.5rem;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text);
  opacity: 0.4;
  margin-top: 1rem;
}
.admin-main {
  padding: 2rem;
  overflow-y: auto;
}
.admin-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 2rem;
}
.admin-header h2 { font-size: 1.75rem; }
.stat-cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 1rem;
  margin-bottom: 2rem;
}
.stat-card {
  padding: 1.5rem;
}
.stat-card .stat-label {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text);
  margin-bottom: 0.5rem;
}
.stat-card .stat-value {
  font-size: 2rem;
  font-weight: 900;
  color: var(--white);
  letter-spacing: -0.04em;
}
.stat-card .stat-change {
  font-size: 0.75rem;
  font-weight: 600;
  margin-top: 0.25rem;
}
.stat-change.up { color: var(--success); }
.stat-change.down { color: #ff4444; }
.admin-table { width: 100%; border-collapse: collapse; }
.admin-table th {
  text-align: left;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text);
  padding: 0.75rem 1rem;
  border-bottom: 1px solid var(--border);
}
.admin-table td {
  padding: 0.875rem 1rem;
  font-size: 0.875rem;
  border-bottom: 1px solid var(--border);
  color: var(--text);
}
.admin-table tr:hover td { background: rgba(255,255,255,0.02); color: var(--white); }
.status-pill {
  padding: 3px 10px;
  border-radius: 100px;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.status-active { background: rgba(0,232,122,0.12); color: var(--success); border: 1px solid rgba(0,232,122,0.2); }
.status-pending { background: rgba(255,200,0,0.12); color: var(--warning); border: 1px solid rgba(255,200,0,0.2); }
.status-inactive { background: rgba(255,255,255,0.05); color: var(--text); border: 1px solid var(--border); }

/* ── Scroll Reveal ──────────────────────────────────────── */
.reveal {
  opacity: 0;
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.from-top { transform: translateY(-30px); }
.reveal.from-bottom { transform: translateY(40px); }
.reveal.from-left { transform: translateX(-40px); }
.reveal.from-right { transform: translateX(40px); }
.reveal.visible {
  opacity: 1;
  transform: translate(0);
}
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* ── Breadcrumb ─────────────────────────────────────────── */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.75rem;
  color: var(--text);
  margin-bottom: 3rem;
}
.breadcrumb a:hover { color: var(--white); }
.breadcrumb-sep { opacity: 0.4; }
.breadcrumb .current { color: var(--white); }

/* ── Newsletter ─────────────────────────────────────────── */
.newsletter-section {
  background: linear-gradient(135deg, var(--deep) 0%, var(--mid) 100%);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  text-align: center;
}
.newsletter-form {
  display: flex;
  gap: 0.75rem;
  max-width: 480px;
  margin: 2rem auto 0;
}
.newsletter-form input {
  flex: 1;
  padding: 14px 18px;
  background: rgba(10,10,15,0.5);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--white);
  font-family: inherit;
  font-size: 0.875rem;
  transition: border-color var(--transition);
}
.newsletter-form input:focus { outline: none; border-color: var(--accent-border); }
.newsletter-form input::placeholder { color: var(--text); opacity: 0.5; }

/* ── Comparison Table ───────────────────────────────────── */
.compare-table { width: 100%; border-collapse: collapse; }
.compare-table th, .compare-table td {
  padding: 1rem 1.5rem;
  text-align: center;
  border-bottom: 1px solid var(--border);
  font-size: 0.875rem;
}
.compare-table th {
  font-size: 0.8rem;
  font-weight: 900;
  color: var(--white);
  background: var(--deep);
}
.compare-table td:first-child {
  text-align: left;
  font-weight: 600;
  color: var(--text);
}
.compare-table .check { color: var(--success); font-size: 1rem; }
.compare-table .cross { color: rgba(255,255,255,0.2); }

/* ── Testimonials ───────────────────────────────────────── */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
}
.testimonial-card {
  padding: 2rem;
}
.testimonial-card .stars { margin-bottom: 1rem; }
.testimonial-text {
  font-size: 0.9rem;
  font-style: italic;
  line-height: 1.75;
  margin-bottom: 1.5rem;
  color: var(--white);
}
.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
}
.testimonial-author-name { font-weight: 700; color: var(--white); font-size: 0.875rem; }
.testimonial-author-location { font-size: 0.75rem; color: var(--text); }

/* ── FAQ ────────────────────────────────────────────────── */
.faq-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(480px, 1fr));
  gap: 0 4rem;
}

/* ── Mobile Responsive ──────────────────────────────────── */
@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .admin-layout { grid-template-columns: 1fr; }
  .admin-sidebar { display: none; }
  .faq-grid { grid-template-columns: 1fr; }

  /* ── Product hero : colonne centrée sur mobile / tablette ── */
  .product-hero {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
    padding-top: 90px;
    padding-bottom: 2rem;
    padding-left: 5vw;
    padding-right: 5vw;
  }
  /* Texte et blocs : pleine largeur, centrés */
  .product-hero > * { width: 100%; }
  .product-hero > .breadcrumb {
    order: 1;
    justify-content: center;
    text-align: center;
  }
  .product-hero > .product-title-block {
    order: 2;
    text-align: center;
  }
  .product-hero > .product-title-block h1 { text-align: center; }
  .product-hero > .product-title-block .stars { justify-content: center; }
  /* Galerie : pleine largeur (sort du padding de la section) */
  .product-hero > .product-visual-wrap {
    order: 3;
    position: static;
    width: calc(100% + 10vw);
    margin-left: -5vw;
    margin-right: -5vw;
    max-width: none;
  }
  .product-visual-wrap .pg-main { border-radius: 0; }
  .product-visual-wrap .pg-thumbs { padding-left: 5vw; padding-right: 5vw; }
  /* Info (prix, bouton achat) : gardé left-aligné pour lisibilité */
  .product-hero > .product-info { order: 4; }
  /* Image carrée 1:1 — sans max-height qui brisait le ratio */
  .pg-main { aspect-ratio: 1 / 1; }
  /* Prix centré sur mobile/tablette */
  .product-hero .product-info .price-display { text-align: center; }
  .product-hero .product-info .price-vat { text-align: center; }
  /* Options row : colonne centrée sur mobile/tablette */
  .options-row { flex-direction: column; align-items: center; }
  .options-row .hz-selector {
    justify-content: center;
    flex-wrap: wrap !important;   /* autorise le label à prendre sa propre ligne */
    width: 100%;
    text-align: center;
  }
  .options-row .hz-label { width: 100%; text-align: center; order: -1; }
  .options-row .hz-selector .hz-option { flex-shrink: 0; }
  /* Cadeau centré */
  .gift-option { justify-content: center; }
}
@media (max-width: 768px) {
  section { padding: 5rem 5vw; }
  .nav-links { display: none; }
  .nav-hamburger { display: flex; }
  .btn-nav-cta { display: none; }
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .hero-actions { flex-direction: column; }
  .newsletter-form { flex-direction: column; }
  .products-grid { grid-template-columns: 1fr; }
  .reviews-grid { grid-template-columns: 1fr; }
  .testimonials-grid { grid-template-columns: 1fr; }
  .guides-grid { grid-template-columns: 1fr; }
  .cart-drawer { width: 100vw; }
  .popup-box { padding: 2rem; }

  /* Hero image: hide on mobile — content takes full width */
  .hero-visual { display: none; }
  .hero-content { max-width: 100%; }

  /* Product hero mobile : espacement plus serré */
  .product-hero { gap: 1rem; padding-top: 80px; }

  /* Boutique hero: shorter on mobile */
  .boutique-hero { min-height: 380px; padding-top: 100px; }

  /* Header cart button: hide on mobile (cart is in bottom nav) */
  .nav-cart-wrap { display: none !important; }
}
@media (max-width: 480px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.75rem; }
  .hero { min-height: calc(100svh - 72px); }
  .btn-lg {
    padding: 14px 20px;
    font-size: .875rem;
    white-space: normal;
    line-height: 1.35;
    height: auto;
    text-align: center;
  }
}

/* ── Product page — mobile / tablette ───────────────────── */
@media (max-width: 1024px) {
  /* Tabs horizontal → vertical on mobile */
  .tabs-nav {
    flex-direction: column;
    border-bottom: none;
    border-right: 1px solid rgba(255,255,255,0.08);
    overflow-x: visible;
    overflow-y: auto;
    gap: 0;
  }
  .tab-btn {
    border-bottom: none;
    border-left: 2px solid transparent;
    text-align: left;
    padding: 0.85rem 1.25rem;
  }
  .tab-btn.active, .tab-btn:hover {
    border-left-color: var(--accent);
    border-bottom-color: transparent;
  }
  /* Description content: grid → single column */
  #tab-description [style*="grid-template-columns:1fr 1fr"],
  #tab-description [style*="grid-template-columns: 1fr 1fr"] {
    display: flex !important;
    flex-direction: column !important;
    gap: 2rem !important;
  }
  /* Desktop qty + accordage same row */
  .product-qty-tuning-row {
    display: flex;
    flex-direction: column;
    gap: 0;
  }
}
/* ── Quantité masquée — 1 unité par défaut ── */
.product-options { display: none; }
.qty-selector { display: none; }

/* ── Options row (desktop) : Hz en ligne horizontale ── */
.options-row {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 1.5rem;
}
/* Hz selector desktop : label + deux boutons sur la même ligne */
.options-row .hz-selector {
  display: flex !important;
  flex-direction: row;
  align-items: center;
  gap: 0.65rem;
  flex-wrap: nowrap;
  margin-bottom: 0;
  min-width: 0;
}
.options-row .hz-label {
  display: block;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(255,255,255,0.45);
  white-space: nowrap;
  width: auto;
  text-align: left;
}
.options-row .hz-selector .hz-option {
  display: block !important;
}
/* Breadcrumb centré sur mobile/tablette */
@media (max-width: 1024px) {
  .breadcrumb {
    justify-content: center;
    text-align: center;
  }
}

/* ── Footer bottom centré sur tablette & mobile ─────────── */
@media (max-width: 1024px) {
  .footer-bottom {
    justify-content: center;
    text-align: center;
    flex-direction: column;
    align-items: center;
  }
}

/* ── Footer newsletter — mobile 1 colonne ───────────────── */
@media (max-width: 768px) {
  .footer-newsletter {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 1.25rem;
  }
  .footer-newsletter-text {
    text-align: center;
    max-width: 100%;
  }
  .footer-newsletter-title {
    font-size: 24px;     /* mobile : un peu plus compact que les 28 px desktop */
  }
  .footer-newsletter-form {
    flex-direction: column;
    width: 100%;
    max-width: 360px;
    min-width: 0;
    gap: 0.65rem;
  }
  .footer-newsletter-form input[name="first_name"] {
    max-width: 100%;
    flex: none;
    width: 100%;
  }
  .footer-newsletter-input {
    width: 100%;
    flex: none;
  }
  .footer-newsletter-form .btn {
    width: 100%;
  }
  /* Footer links — centered on mobile */
  .footer-col {
    text-align: center;
  }
  .footer-col ul {
    padding-left: 0;
  }
  .footer-socials {
    justify-content: center;
  }
}

/* ── Homepage: Testeur Teaser — mobile fix ───────────────── */
#testeur-teaser > div {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
}
@media (max-width: 768px) {
  #testeur-teaser > div {
    grid-template-columns: 1fr !important;
    gap: 2rem !important;
  }
  #testeur-teaser > div > div:last-child { display: none !important; }
}

/* ── Homepage: Fabrication section — responsive ─────────── */
@media (max-width: 900px) {
  .fabr-two-col {
    grid-template-columns: 1fr !important;
  }
  .fabr-svg-wrap { display: none !important; }
  .fabr-cards-grid {
    grid-template-columns: 1fr !important;
  }
}

/* ── Animations ─────────────────────────────────────────── */
@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.8); }
}
@keyframes bounce-down {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(8px); }
}
@keyframes toast-in {
  from { transform: translateX(100%); opacity: 0; }
  to { transform: translateX(0); opacity: 1; }
}
@keyframes toast-progress {
  from { width: 100%; }
  to { width: 0%; }
}
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-16px); }
}
@keyframes spin-slow {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}
@keyframes fade-in {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: translateY(0); }
}
.animate-float { animation: float 6s ease-in-out infinite; }
.animate-spin-slow { animation: spin-slow 20s linear infinite; }
.animate-fade-in { animation: fade-in 0.6s ease forwards; }

/* ── Utility ────────────────────────────────────────────── */
.d-flex { display: flex; }
.align-center { align-items: center; }
.justify-between { justify-content: space-between; }
.gap-1 { gap: 0.5rem; }
.gap-2 { gap: 1rem; }
.gap-3 { gap: 1.5rem; }
.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }
.mt-2 { margin-top: 1rem; }
.mt-4 { margin-top: 2rem; }
.hidden { display: none !important; }
.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}

/* ── Variables manquantes ───────────────────────────────── */
:root {
  --gradient:    linear-gradient(135deg, var(--accent) 0%, #a600ff 100%);
  --error:       #ff4d4d;
  --shadow-glow: 0 0 40px rgba(255,0,255,0.25);
  --shadow-card: 0 8px 40px rgba(0,0,0,0.4);
}

/* ── .header — alias pour #header ──────────────────────── */
.header {
  position: fixed;
  top: -1px; left: 0; right: 0;
  z-index: 1000;
  height: 73px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: background var(--transition), border-bottom var(--transition);
  overflow: visible;
}
.header.scrolled {
  background: rgba(10,10,15,0.92);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
}

/* ── .nav — container interne du header ────────────────── */
.nav {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 5vw;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

/* ── .logo — lien logo ──────────────────────────────────── */
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  text-decoration: none;
}
.logo img { height: 36px; width: auto; display: block; }
.logo-text {
  font-weight: 900;
  font-size: 1.25rem;
  letter-spacing: -0.03em;
  color: var(--white);
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 0;
}

/* ── .nav-actions — actions droite du header ────────────── */
.nav-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
  overflow: visible;
}

/* ── Gradient sur bouton ────────────────────────────────── */
.btn-gradient,
.btn[style*="gradient"] {
  background: var(--gradient);
  color: var(--white);
  border: none;
  box-shadow: var(--shadow-glow);
}

/* ── Inputs / Formulaires globaux ───────────────────────── */
input[type="text"],
input[type="email"],
input[type="tel"],
input[type="password"],
input[type="number"],
input[type="date"],
select,
textarea {
  font-family: 'Montserrat', sans-serif;
}

/* ── Toasts ─────────────────────────────────────────────── */
.toast-container {
  position: fixed;
  top: 90px;
  right: 1.5rem;
  z-index: 9000;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  pointer-events: none;
}
.toast {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 1rem 1.2rem;
  background: rgba(16,13,40,0.98);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 12px;
  backdrop-filter: blur(16px);
  min-width: 280px;
  max-width: 360px;
  animation: toast-in 0.35s ease forwards;
  pointer-events: all;
  box-shadow: 0 8px 30px rgba(0,0,0,0.4);
}
.toast-icon { font-size: 1.1rem; flex-shrink: 0; margin-top: 1px; }
.toast-body { flex: 1; }
.toast-title { font-weight: 700; font-size: 0.85rem; color: var(--white); }
.toast-msg { font-size: 0.78rem; color: rgba(255,255,255,0.55); margin-top: 0.15rem; }
.toast-progress {
  position: absolute;
  bottom: 0; left: 0;
  height: 2px;
  border-radius: 0 0 12px 12px;
  animation: toast-progress 3s linear forwards;
}
.toast.success { border-color: rgba(0,232,122,0.3); }
.toast.success .toast-progress { background: var(--success); }
.toast.error   { border-color: rgba(255,77,77,0.3); }
.toast.error   .toast-progress { background: var(--error); }
.toast.info    { border-color: rgba(255,0,255,0.3); }
.toast.info    .toast-progress { background: var(--accent); }

/* ── Cart Drawer ────────────────────────────────────────── */
.cart-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.75);
  z-index: 2000;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s;
  /* backdrop-filter removed: even at opacity:0 it creates a persistent GPU
     compositing layer that can render above fixed elements (like the cursor)
     regardless of z-index. Slightly more opaque background compensates. */
}
.cart-overlay.open { opacity: 1; pointer-events: all; }
.cart-drawer {
  position: fixed;
  top: 0; right: 0;
  width: 420px;
  height: 100vh;
  background: rgba(10,10,15,0.98);
  border-left: 1px solid var(--border);
  z-index: 2001;
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(0.4,0,0.2,1);
  display: flex;
  flex-direction: column;
  backdrop-filter: blur(20px);
}
.cart-drawer.open { transform: translateX(0); }
.cart-drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.5rem;
  border-bottom: 1px solid var(--border);
}
.cart-drawer-header h3 { font-size: 1rem; font-weight: 700; color: var(--white); }
.cart-close {
  background: none;
  border: none;
  color: var(--text);
  cursor: pointer;
  padding: 4px;
  transition: color var(--transition);
}
.cart-close:hover { color: var(--white); }
.cart-items {
  flex: 1;
  overflow-y: auto;
  padding: 1rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.cart-empty {
  text-align: center;
  padding: 3rem 0;
  color: var(--text);
}
.cart-empty svg { margin: 0 auto 1rem; opacity: 0.4; }
.cart-item {
  display: flex;
  gap: 1rem;
  align-items: center;
  padding: 1rem;
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--border);
  border-radius: 10px;
}
.cart-item-img {
  width: 64px; height: 64px;
  border-radius: 8px;
  background: var(--deep);
  flex-shrink: 0;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.cart-item-info { flex: 1; min-width: 0; }
.cart-item-name { font-weight: 600; font-size: 0.85rem; color: var(--white); }
.cart-item-price { color: var(--accent); font-weight: 700; font-size: 0.9rem; margin-top: 4px; }
.cart-item-qty {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 6px;
}
.qty-btn {
  width: 24px; height: 24px;
  border-radius: 6px;
  border: 1px solid var(--border);
  background: none;
  color: var(--white);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  transition: border-color var(--transition);
}
.qty-btn:hover { border-color: var(--accent-border); }
.qty-value { font-size: 0.85rem; font-weight: 700; min-width: 20px; text-align: center; }
.cart-item-remove {
  background: none;
  border: none;
  color: rgba(255,255,255,0.3);
  cursor: pointer;
  padding: 4px;
  transition: color var(--transition);
}
.cart-item-remove:hover { color: var(--error); }
.cart-footer {
  padding: 1.5rem;
  border-top: 1px solid var(--border);
}
.cart-promo {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 1rem;
}
.cart-promo input {
  flex: 1;
  padding: 10px 14px;
  background: rgba(255,255,255,0.06);
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--white);
  font-size: 0.8rem;
  outline: none;
  transition: border-color var(--transition);
  font-family: inherit;
}
.cart-promo input:focus { border-color: var(--accent-border); }
.cart-promo input::placeholder { color: rgba(255,255,255,0.25); }
.cart-totals { margin-bottom: 1rem; }
.cart-line {
  display: flex;
  justify-content: space-between;
  font-size: 0.83rem;
  color: var(--text);
  margin-bottom: 0.4rem;
}
.cart-line.total { font-size: 1rem; font-weight: 700; color: var(--white); margin-top: 0.5rem; }
.cart-line.discount { color: var(--success); }

/* ── Popup Overlay ──────────────────────────────────────── */
.popup-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.88);
  z-index: 3000;
  display: none;
  align-items: center;
  justify-content: center;
  /* no backdrop-filter: see .cart-overlay comment above */
  padding: 1rem;
}
.popup-overlay.open { display: flex; }
.popup-box {
  background: linear-gradient(135deg, var(--deep) 0%, var(--mid) 100%);
  border: 1px solid var(--accent-border);
  border-radius: var(--radius-lg);
  padding: 3rem;
  max-width: 480px;
  width: 100%;
  position: relative;
  box-shadow: 0 20px 80px rgba(255,0,255,0.2);
  animation: fade-in 0.35s ease forwards;
}
.popup-close {
  position: absolute;
  top: 1rem; right: 1rem;
  background: rgba(255,255,255,0.08);
  border: 1px solid var(--border);
  border-radius: 50%;
  width: 32px; height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--text);
  transition: all var(--transition);
  font-size: 1rem;
}
.popup-close:hover { background: rgba(255,255,255,0.15); color: var(--white); }

/* ── Footer ─────────────────────────────────────────────── */
.footer {
  background: linear-gradient(180deg, transparent 0%, rgba(10,10,15,0.8) 100%);
  border-top: 1px solid var(--border);
  padding: 5rem 5vw 2rem;
  position: relative;
  z-index: 1;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}
.footer-brand {}
.footer-brand-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 1rem;
}
.footer-brand-logo img { height: 32px; }
.footer-brand-logo span { font-weight: 900; font-size: 1.1rem; color: var(--white); }
.footer-desc { font-size: 0.85rem; line-height: 1.7; color: var(--text); max-width: 280px; }
.footer-col h4 { font-size: 0.8rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; color: var(--white); margin-bottom: 1.2rem; }
.footer-col ul { display: flex; flex-direction: column; gap: 0.6rem; }
.footer-col li a { font-size: 0.85rem; color: var(--text); transition: color var(--transition); }
.footer-col li a:hover { color: var(--white); }
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
  font-size: 0.78rem;
  color: var(--text);
}
.footer-links { display: flex; gap: 1.5rem; flex-wrap: wrap; }
.footer-links a { color: var(--text); transition: color var(--transition); }
.footer-links a:hover { color: var(--white); }
.footer-social { display: flex; gap: 0.8rem; }
.footer-social a {
  width: 36px; height: 36px;
  border: 1px solid var(--border);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text);
  transition: all var(--transition);
}
.footer-social a:hover { border-color: var(--accent-border); color: var(--accent); }

/* ── Pricing Banner ─────────────────────────────────────── */
.pricing-banner {
  background: rgba(255,0,255,0.06);
  border: 1px solid rgba(255,0,255,0.2);
  border-radius: 10px;
  padding: 0.8rem 1.2rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 1.5rem;
}
.pricing-country {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.6);
}
.pricing-price-main {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--white);
}
.pricing-price-sub {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.4);
}
.pricing-vat-label {
  font-size: 0.72rem;
  padding: 0.2rem 0.6rem;
  border-radius: 6px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.pricing-vat-ttc { background: rgba(0,232,122,0.12); color: var(--success); }
.pricing-vat-ht  { background: rgba(255,200,0,0.12); color: var(--warning); }

/* ── Accordion ──────────────────────────────────────────── */
.accordion-item {
  border-bottom: 1px solid var(--border);
}
.accordion-trigger {
  width: 100%;
  background: none;
  border: none;
  color: var(--white);
  font-family: inherit;
  font-size: 0.95rem;
  font-weight: 600;
  text-align: left;
  padding: 1.3rem 0;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  transition: color var(--transition);
}
.accordion-trigger:hover { color: var(--accent); }
.accordion-icon {
  width: 22px; height: 22px;
  border-radius: 50%;
  border: 1.5px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 1.1rem;
  color: var(--accent);
  transition: transform var(--transition), border-color var(--transition);
}
.accordion-item.open .accordion-icon { transform: rotate(45deg); border-color: var(--accent-border); }
.accordion-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
}
.accordion-content {
  padding: 0 0 1.5rem;
  font-size: 0.88rem;
  color: var(--text);
  line-height: 1.8;
}

/* ── Tabs ───────────────────────────────────────────────── */
.tabs-nav {
  display: flex;
  border-bottom: 1px solid var(--border);
  margin-bottom: 2rem;
  gap: 0;
  overflow-x: auto;
  scrollbar-width: none;
}
.tabs-nav::-webkit-scrollbar { display: none; }
.tab-btn {
  padding: 1rem 1.5rem;
  background: none;
  border: none;
  border-bottom: 2px solid transparent;
  color: var(--text);
  font-family: inherit;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  cursor: pointer;
  transition: all var(--transition);
  white-space: nowrap;
}
.tab-btn:hover { color: var(--white); }
.tab-btn.active { color: var(--accent); border-bottom-color: var(--accent); }
.tab-panel { display: none; }
.tab-panel.active { display: block; }

/* ── Stars ──────────────────────────────────────────────── */
.stars { color: #FFD700; font-size: 1rem; letter-spacing: 2px; }

/* ── Badge promotion ────────────────────────────────────── */
.promo-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 10px;
  background: rgba(0,232,122,0.12);
  border: 1px solid rgba(0,232,122,0.25);
  border-radius: 100px;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--success);
}

/* ── Note pills ─────────────────────────────────────────── */
.note-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 6px 14px;
  background: var(--accent-soft);
  border: 1px solid var(--accent-border);
  border-radius: 100px;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: 0.05em;
}

/* ── Social proof badge ─────────────────────────────────── */
.social-proof-badge {
  position: fixed;
  bottom: 1.5rem;
  left: 1.5rem;
  z-index: 500;
  background: rgba(10,10,15,0.95);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 0.8rem 1.2rem;
  display: none;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.8rem;
  backdrop-filter: blur(12px);
  box-shadow: 0 8px 30px rgba(0,0,0,0.4);
  animation: fade-in 0.4s ease forwards;
}
.social-proof-badge.visible { display: flex; }
.viewer-dot { width: 8px; height: 8px; background: var(--success); border-radius: 50%; animation: pulse-dot 1.5s infinite; }

/* ── Mobile responsive supplémentaire ──────────────────── */
@media (max-width: 768px) {
  .header { padding: 0 1rem; }
  .nav { padding: 0 1rem; }
}
@media (max-width: 480px) {
  .cart-drawer { width: 100vw; }
}

/* ============================================================
   ENIXPAN — Components: Logo, Header Actions, Mobile Menu,
   Language Picker, Footer, Cookie Banner
   ============================================================ */

/* ── Logo Brand ─────────────────────────────────────────── */
.logo-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}
.logo-img {
  height: 44px;
  width: auto;
}
.logo-text-wrap {
  display: flex;
  flex-direction: column;
  gap: 1px;
}
.logo-name {
  font-weight: 900;
  font-size: 1.3rem;
  color: #fff;
  letter-spacing: -0.03em;
  line-height: 1;
}
.logo-tagline {
  font-size: 0.6rem;
  color: rgba(255,0,255,0.7);
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

/* ── Account Button ────────────────────────────────────── */
.nav-account-btn {
  width: 40px;
  height: 40px;
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 10px;
  background: none;
  color: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
  text-decoration: none;
}
.nav-account-btn:hover {
  border-color: rgba(255,0,255,0.3);
  color: var(--accent);
}

/* ── Cart Button ────────────────────────────────────────── */
.nav-cart-wrap {
  position: relative;
  display: inline-flex;
  overflow: visible;
}
.nav-cart-btn {
  width: 40px;
  height: 40px;
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 10px;
  background: none;
  color: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}
.nav-cart-btn:hover {
  border-color: rgba(255,0,255,0.3);
  color: var(--accent);
}
.cart-count-badge {
  position: absolute;
  top: 0;
  right: 0;
  transform: translate(40%, -40%);
  z-index: 10;
  width: 18px;
  height: 18px;
  background: var(--accent);
  color: #fff;
  font-size: 0.6rem;
  font-weight: 700;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ── Hamburger ──────────────────────────────────────────── */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: var(--transition);
}
.hamburger.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.hamburger.open span:nth-child(2) {
  opacity: 0;
}
.hamburger.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ── Mobile Menu ────────────────────────────────────────── */
.mobile-menu {
  display: none; /* caché par défaut, visible seulement mobile */
  position: fixed;
  top: 72px;
  left: 0;
  right: 0;
  background: rgba(10,10,15,0.98);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  transform: translateY(-110%);
  transition: transform 0.35s cubic-bezier(0.4,0,0.2,1), visibility 0.35s;
  z-index: 999;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  visibility: hidden;
}
.mobile-menu.open {
  transform: translateY(0);
  visibility: visible;
}
@media (max-width: 768px) {
  .mobile-menu { display: block; }
}
.mobile-menu-inner {
  padding: 2rem 5vw;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}
.mobile-link {
  font-size: 1.1rem;
  font-weight: 700;
  color: #fff;
  text-decoration: none;
  padding: 0.5rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  transition: color var(--transition);
}
.mobile-link:hover {
  color: var(--accent);
}
.mobile-lang {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-top: 1rem;
}
.mobile-lang-btns {
  display: flex;
  gap: 0.6rem;
}
.mobile-lang-btns button {
  background: none;
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 6px;
  padding: 0.4rem 0.6rem;
  font-size: 1rem;
  cursor: pointer;
  transition: border-color var(--transition);
}
.mobile-lang-btns button:hover {
  border-color: rgba(255,0,255,0.4);
}

/* ── Language Picker ────────────────────────────────────── */
.lang-picker {
  position: relative;
}
.lang-current {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 0.78rem;
  font-weight: 700;
  color: rgba(255,255,255,0.6);
  background: none;
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 8px;
  padding: 6px 10px;
  cursor: pointer;
  transition: var(--transition);
}
.lang-current:hover {
  color: #fff;
  border-color: rgba(255,0,255,0.3);
}
.lang-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  background: rgba(10,10,15,0.98);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 10px;
  padding: 0.4rem;
  display: none;
  flex-direction: column;
  min-width: 130px;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  z-index: 100;
  box-shadow: 0 12px 40px rgba(0,0,0,0.5);
}
.lang-dropdown.open {
  display: flex;
}
.lang-dropdown button {
  background: none;
  border: none;
  color: rgba(255,255,255,0.7);
  font-size: 0.82rem;
  font-weight: 600;
  padding: 0.5rem 0.8rem;
  border-radius: 6px;
  cursor: pointer;
  text-align: left;
  transition: background var(--transition), color var(--transition);
}
.lang-dropdown button:hover {
  background: rgba(255,0,255,0.1);
  color: #fff;
}

/* ── Site Footer ────────────────────────────────────────── */
.site-footer {
  background: linear-gradient(180deg, transparent 0%, rgba(10,10,15,0.9) 100%);
  border-top: 1px solid rgba(255,255,255,0.07);
  padding: 5rem 0 2rem;
  position: relative;
  z-index: 1;
}
.footer-inner {
  width: 100%;
}
.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}
.footer-brand {
  /* column naturally sized */
}
.footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  margin-bottom: 1rem;
}
.footer-logo img {
  height: 32px;
  width: auto;
}
.footer-logo span {
  font-weight: 900;
  font-size: 1rem;
  color: #fff;
}
.footer-tagline {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.45);
  line-height: 1.7;
  max-width: 260px;
  margin-bottom: 1.5rem;
}
.footer-socials {
  display: flex;
  gap: 0.75rem;
}
.footer-socials a {
  width: 36px;
  height: 36px;
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.5);
  transition: border-color var(--transition), color var(--transition);
}
.footer-socials a:hover {
  border-color: rgba(255,0,255,0.3);
  color: var(--accent);
}
.footer-col h4 {
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: rgba(255,255,255,0.4);
  margin-bottom: 1rem;
}
.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}
.footer-col li a {
  font-size: 0.83rem;
  color: rgba(255,255,255,0.5);
  transition: color var(--transition);
}
.footer-col li a:hover {
  color: #fff;
}
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,0.07);
  font-size: 0.75rem;
  color: rgba(255,255,255,0.3);
}
.footer-legal-links {
  display: flex;
  gap: 1.2rem;
  flex-wrap: wrap;
}
.footer-legal-links a {
  color: rgba(255,255,255,0.4);
  text-decoration: none;
  transition: color var(--transition);
}
.footer-legal-links a:hover {
  color: #fff;
}
.footer-lang {
  display: flex;
  gap: 0.4rem;
  align-items: center;
}
.footer-lang-btn {
  background: none;
  border: none;
  font-size: 0.75rem;
  color: rgba(255,255,255,0.35);
  cursor: pointer;
  padding: 2px 4px;
  border-radius: 4px;
  transition: color var(--transition);
}
.footer-lang-btn:hover,
.footer-lang-btn.active {
  color: var(--accent);
}

/* ── Nav active state ───────────────────────────────────── */
.nav-links a.active {
  color: #fff;
}
.nav-links a.active::after {
  content: '';
  display: block;
  height: 2px;
  background: var(--accent);
  border-radius: 2px;
  margin-top: 2px;
}

/* ── Cookie Banner ──────────────────────────────────────── */
@keyframes slide-up {
  from { transform: translateY(100%); }
  to   { transform: translateY(0); }
}
@keyframes slide-down {
  from { transform: translateY(0); }
  to   { transform: translateY(120%); }
}
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(10,10,15,0.97);
  border-top: 1px solid rgba(255,0,255,0.2);
  padding: 1.2rem 5vw;
  z-index: 8000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  animation: slide-up 0.4s ease;
}
.cookie-text {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.65);
  max-width: 640px;
  line-height: 1.6;
}
.cookie-actions {
  display: flex;
  gap: 0.7rem;
  flex-shrink: 0;
  flex-wrap: wrap;
}
.btn-cookie {
  padding: 0.55rem 1.1rem;
  border-radius: 8px;
  font-size: 0.8rem;
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition);
  display: flex;
  align-items: center;
}
.btn-cookie-refuse {
  background: none;
  border: 1px solid rgba(255,255,255,0.15);
  color: rgba(255,255,255,0.55);
}
.btn-cookie-refuse:hover {
  border-color: rgba(255,255,255,0.4);
  color: #fff;
}
.btn-cookie-custom {
  background: none;
  border: 1px solid rgba(255,0,255,0.25);
  color: rgba(255,0,255,0.7);
}
.btn-cookie-custom:hover {
  border-color: var(--accent);
  color: var(--accent);
}
.btn-cookie-accept {
  background: var(--accent);
  border: 1px solid var(--accent);
  color: #fff;
}
.btn-cookie-accept:hover {
  background: rgba(255,0,255,0.8);
}

/* Cookie Preferences Modal */
.cookie-modal {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.7);
  z-index: 9000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  backdrop-filter: blur(4px);
}
.cookie-modal-inner {
  background: rgba(16,13,40,0.98);
  border: 1px solid rgba(255,0,255,0.2);
  border-radius: 16px;
  padding: 2rem;
  max-width: 460px;
  width: 100%;
  position: relative;
}
.cookie-modal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: none;
  border: none;
  color: rgba(255,255,255,0.4);
  font-size: 1rem;
  cursor: pointer;
  padding: 4px;
  transition: color var(--transition);
}
.cookie-modal-close:hover {
  color: #fff;
}
.cookie-option {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.cookie-option strong {
  display: block;
  font-size: 0.85rem;
  color: #fff;
  font-weight: 700;
  margin-bottom: 0.25rem;
}
.cookie-option p {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.45);
  line-height: 1.5;
}
.cookie-option input[type="checkbox"] {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  margin-top: 2px;
  accent-color: var(--accent);
  cursor: pointer;
}

/* ── Responsive ─────────────────────────────────────────── */
@media (max-width: 768px) {
  .hamburger { display: flex; }
  .lang-picker { display: none; }
  .nav-account-btn { display: none; }
  .nav-links { display: none; }
  .btn-nav-cta { display: none; }
}

@media (max-width: 860px) {
  .footer-top {
    grid-template-columns: 1fr 1fr;
  }
  /* Center brand block (logo + tagline + socials) on tablet */
  .footer-brand {
    grid-column: 1 / -1;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  .footer-tagline {
    max-width: 420px;
  }
  .footer-socials {
    justify-content: center;
  }
  .footer-logo {
    justify-content: center;
  }
}

@media (max-width: 560px) {
  .footer-top {
    grid-template-columns: 1fr;
  }
  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }
  .footer-lang {
    display: none;
  }
}

/* ── Accordion header alias (FAQ homepage) ──────────────── */
.accordion-header {
  width: 100%;
  background: none;
  border: none;
  color: var(--white);
  font-family: inherit;
  font-size: 0.95rem;
  font-weight: 600;
  text-align: left;
  padding: 1.3rem 0;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  transition: color var(--transition);
  border-bottom: 1px solid var(--border);
}
.accordion-header:hover { color: var(--accent); }
.accordion-item.open .accordion-header { color: var(--accent); border-color: var(--accent-border); }
.accordion-icon {
  width: 24px; height: 24px;
  border-radius: 50%;
  border: 1.5px solid var(--border);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 1.1rem;
  color: var(--accent);
  transition: transform var(--transition), border-color var(--transition);
  line-height: 1;
}
.accordion-item.open .accordion-icon {
  transform: rotate(45deg);
  border-color: var(--accent-border);
}
.accordion-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.4,0,0.2,1);
}
.accordion-item.open .accordion-body {
  max-height: 800px;
}
.accordion-body-inner {
  padding: 1rem 0 1.5rem;
  font-size: 0.88rem;
  color: rgba(255,255,255,0.6);
  line-height: 1.8;
}
.accordion-body-inner a { color: var(--accent); }

/* ── Product grid responsive ────────────────────────────── */
@media (max-width: 1024px) {
  #productsGrid[style] { grid-template-columns: repeat(2,1fr) !important; }
}
@media (max-width: 640px) {
  #productsGrid[style] { grid-template-columns: 1fr !important; }
}

/* ── Product card image ─────────────────────────────────── */
.product-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.product-card:hover .product-card-image img {
  transform: scale(1.04);
}

/* ── Product gallery (fiche produit) ───────────────────── */
.product-gallery {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}
.pg-main {
  aspect-ratio: 1 / 1;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: var(--deep);
  border: 1px solid var(--border);
}
.pg-main img,
.pg-main iframe {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: opacity 0.25s ease;
  border: 0;
}
.pg-main img.pg-fade {
  opacity: 0;
}
/* Vidéo YouTube dans la galerie produit */
.pg-thumb-video { position: relative; }
.pg-thumb-video img { filter: brightness(0.75); }
.pg-thumb-video:hover img { filter: brightness(0.9); }
.pg-thumb-video .pg-play-overlay {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  pointer-events: none;
}
.pg-thumb-video .pg-play-overlay svg {
  filter: drop-shadow(0 2px 4px rgba(0,0,0,.5));
}
.pg-thumbs {
  display: flex;
  gap: 0.5rem;
  flex-wrap: nowrap;
  overflow-x: auto;
  padding-bottom: 2px;
}
.pg-thumbs::-webkit-scrollbar { height: 3px; }
.pg-thumbs::-webkit-scrollbar-thumb { background: var(--border); border-radius: 2px; }
.pg-thumb {
  width: 72px;
  height: 72px;
  flex-shrink: 0;
  border: 2px solid transparent;
  border-radius: 8px;
  overflow: hidden;
  cursor: pointer;
  background: var(--deep);
  padding: 0;
  transition: border-color 0.2s, opacity 0.2s;
  opacity: 0.55;
}
.pg-thumb:hover { opacity: 0.85; }
.pg-thumb.active {
  border-color: var(--accent);
  opacity: 1;
}
.pg-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  pointer-events: none;
}

/* ── Hz selector ────────────────────────────────────────── */
.hz-selector {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  margin-bottom: 1.2rem;
  flex-wrap: wrap;
}
.hz-label {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(255,255,255,0.45);
  flex-shrink: 0;
}
.hz-option { display: inline-block; }
.hz-option input[type="radio"] { display: none; }
.hz-btn {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  padding: 0.55rem 1.1rem;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.25s;
  font-weight: 700;
  font-size: 0.88rem;
  color: rgba(255,255,255,0.75);
  line-height: 1.2;
}
.hz-btn small {
  font-size: 0.62rem;
  color: rgba(255,255,255,0.35);
  font-weight: 500;
  margin-top: 2px;
}
.hz-option input:checked + .hz-btn {
  background: rgba(255,0,255,0.1);
  border-color: rgba(255,0,255,0.4);
  color: var(--accent);
  box-shadow: 0 0 12px rgba(255,0,255,0.15);
}
.hz-option input:checked + .hz-btn small { color: rgba(255,0,255,0.55); }

/* ── Review avatar ──────────────────────────────────────── */
.review-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1rem;
  color: #fff;
  flex-shrink: 0;
}

/* ── Product card footer ────────────────────────────────── */
.product-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.5rem;
  border-top: 1px solid var(--border);
  gap: 0.8rem;
  flex-wrap: wrap;
}
.product-price {
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--white);
}
.product-price-sub {
  font-size: 0.7rem;
  color: rgba(255,255,255,0.35);
  margin-top: 2px;
}
.product-scale {
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--accent);
  margin-bottom: 0.3rem;
}
.product-card-body {
  padding: 1.2rem 1.5rem 0.5rem;
  flex: 1;
}
.product-card-body h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 0.4rem;
  line-height: 1.3;
}
.product-card-body p {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.55);
  line-height: 1.6;
}

/* ── Payment icons footer ───────────────────────────────── */
.payment-icon {
  font-size: 0.7rem;
  font-weight: 700;
  padding: 4px 8px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 4px;
  color: rgba(255,255,255,0.4);
}

/* ── Mobile Bottom Navigation ───────────────────────────── */
.mobile-bottom-nav {
  display: none;
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 1200;
  background: rgba(10,10,20,0.97);
  border-top: 1px solid rgba(255,255,255,0.08);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: 0;
  padding-bottom: env(safe-area-inset-bottom, 0);
}
@media (max-width: 768px) {
  .mobile-bottom-nav { display: flex; }
  /* Push page content above the bottom nav */
  body { padding-bottom: 70px; }
  .site-footer { padding-bottom: calc(70px + 2rem); }
}
.mbn-item {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  padding: 10px 4px;
  color: rgba(255,255,255,0.4);
  text-decoration: none;
  font-size: 0.62rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border: none;
  background: none;
  cursor: pointer;
  transition: color 0.2s;
  font-family: inherit;
  -webkit-tap-highlight-color: transparent;
}
.mbn-item:hover,
.mbn-item.active { color: var(--accent); }
.mbn-item svg { transition: transform 0.2s; }
.mbn-item:active svg { transform: scale(0.88); }
.mbn-item.active svg { filter: drop-shadow(0 0 4px rgba(255,0,255,0.6)); }

/* Cart badge on mobile bottom nav */
.mbn-cart-count {
  position: absolute;
  top: -6px; right: -8px;
  background: var(--accent);
  color: #fff;
  font-size: 0.6rem;
  font-weight: 800;
  width: 16px; height: 16px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

/* ── Product image square (1:1) ─────────────────────────── */
.product-img-wrap {
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: var(--deep);
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}
.product-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s cubic-bezier(0.4,0,0.2,1);
}

/* ── Boutique grid — premium large image cards ──────────── */
.boutique-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
@media (max-width: 1024px) { .boutique-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 580px)  { .boutique-grid { grid-template-columns: 1fr; } }

.boutique-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--deep);
  border: 1px solid var(--border);
  transition: border-color 0.3s, box-shadow 0.3s;
  cursor: pointer;
  text-decoration: none;
  display: block;
}
.boutique-card:hover {
  border-color: rgba(255,0,255,0.3);
  box-shadow: 0 0 40px rgba(255,0,255,0.08);
}
.boutique-card:hover .boutique-card-img img {
  transform: scale(1.06);
}
.boutique-card:hover .boutique-card-overlay {
  opacity: 1;
}
.boutique-card-img {
  aspect-ratio: 1 / 1;
  overflow: hidden;
  position: relative;
}
.boutique-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.4,0,0.2,1);
  display: block;
}
.boutique-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10,10,20,0.85) 0%, transparent 60%);
  opacity: 0.6;
  transition: opacity 0.3s;
  display: flex;
  align-items: flex-end;
  padding: 1.5rem;
}
.boutique-card-overlay .btn-voir {
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.3s 0.05s, transform 0.3s 0.05s;
  padding: 0.5rem 1.2rem;
  font-size: 0.8rem;
  border-radius: 6px;
  background: var(--accent);
  color: #fff;
  font-weight: 700;
  letter-spacing: 0.05em;
  border: none;
  cursor: pointer;
}
.boutique-card:hover .boutique-card-overlay .btn-voir {
  opacity: 1;
  transform: translateY(0);
}
.boutique-card-info {
  padding: 1rem 1.2rem 1.2rem;
}
.boutique-card-name {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 0.3rem;
}
.boutique-card-price {
  font-size: 1.1rem;
  font-weight: 900;
  color: var(--accent);
  letter-spacing: -0.02em;
}
.boutique-card-notes {
  font-size: 0.72rem;
  color: rgba(255,255,255,0.4);
  margin-top: 0.2rem;
}

/* ── Cursor fix: ensure pointer on all interactive ──────── */
a, button, [role="button"],
.boutique-card, .product-card,
label[for], .tab-btn, .accordion-header,
.filter-btn, .nav-cart-btn, .mbn-item,
.shipping-option, .payment-method,
.qty-btn, .ci-qty-btn, .cart-remove,
select, input[type="checkbox"], input[type="radio"] {
  cursor: pointer !important;
}

/* ── Mobile fixes — homepage overflow & button sizing ───── */
@media (max-width: 768px) {
  /* Testeur teaser: force single column */
  #testeur-teaser > div {
    grid-template-columns: 1fr !important;
    gap: 2rem !important;
  }
  /* Hero actions: full-width buttons on small screens */
  .hero-actions .btn {
    width: 100%;
    justify-content: center;
  }
  /* Fabrication section: single column */
  .fabr-two-col {
    grid-template-columns: 1fr !important;
  }
  .fabr-svg-wrap {
    display: none !important;
  }
  .fabr-cards-grid {
    grid-template-columns: 1fr !important;
  }
  /* Fabrication CTA buttons: full-width */
  .fabr-cards-grid + div {
    flex-direction: column !important;
    align-items: stretch !important;
  }
  .fabr-cards-grid + div .btn {
    width: 100%;
    justify-content: center;
  }
  /* Why Enixpan: 1 card per row */
  #pourquoi > div {
    grid-template-columns: 1fr !important;
  }
  /* Testeur teaser: hide decorative visual (SVG + floating badges overflow) */
  #testeur-teaser > div > div:last-child {
    display: none !important;
  }
  /* Testeur teaser CTA button: full-width */
  #testeur-teaser .btn {
    width: 100%;
    justify-content: center;
  }
  /* Safety: clip any stray overflow in testeur section */
  #testeur-teaser {
    overflow: hidden;
  }
  /* Footer newsletter button: center text */
  .footer-newsletter-form .btn {
    justify-content: center;
  }
  /* Account page — mobile tab nav */
  .account-nav {
    display: flex !important;
    flex-direction: row !important;
    overflow-x: auto !important;
    gap: 0 !important;
    border-bottom: 1px solid var(--border);
    padding-bottom: 0 !important;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .account-nav::-webkit-scrollbar { display: none; }
  .account-nav-item {
    flex-shrink: 0 !important;
    border-left: none !important;
    border-bottom: 2px solid transparent;
    padding: 0.75rem 1rem !important;
    white-space: nowrap;
    background: none !important;
    font-size: 0.72rem !important;
  }
  .account-nav-item.active {
    border-left-color: transparent !important;
    border-bottom-color: var(--accent) !important;
    background: none !important;
    color: var(--white) !important;
  }
  .account-nav-icon { display: none !important; }
  .account-nav-divider { display: none !important; }
  .account-sidebar {
    position: static !important;
    top: auto !important;
  }
}

/* ── Testeur Nixis — mobile model selector ──────────────── */
@media (max-width: 640px) {
  /* Canvas (handpan) first on mobile, controls below */
  .tester-canvas { order: -1; }
  /* Model buttons: full width, 1 per row */
  .model-selector-list {
    flex-direction: column !important;
  }
  .model-btn {
    min-width: unset !important;
    width: 100% !important;
    flex: none !important;
  }
  /* Prevent handpan SVG from overflowing */
  #handpanTesterContainer { max-width: 100%; overflow: hidden; }
  #handpanTesterContainer svg { max-width: calc(100vw - 3rem) !important; height: auto !important; }
  .handpan-container { max-width: 100%; }
  .tester-hint { flex-wrap: wrap; text-align: center; justify-content: center; }
}

/* ── NIXIS PRODUCT BADGE (boutique catalog) ────────────── */
.nixis-product-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin-top: 0.4rem;
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(255, 0, 255, 0.7);
  background: rgba(255, 0, 255, 0.07);
  border: 1px solid rgba(255, 0, 255, 0.18);
  border-radius: 100px;
  padding: 3px 10px 3px 7px;
  width: fit-content;
}

/* ── NIXIS NARRATIVE BLOCK ─────────────────────────────── */
#nixisNarrative {
  padding: 0;
  margin: 0 auto;
  max-width: 1200px;
}
.nixis-narrative-inner {
  position: relative;
  background: linear-gradient(135deg, rgba(10,8,24,0.95) 0%, rgba(18,12,40,0.9) 100%);
  border: 1px solid rgba(255,255,255,0.07);
  border-left: 3px solid #FF00FF;
  border-radius: 20px;
  padding: 2.5rem 3rem 2.5rem 3rem;
  overflow: hidden;
  margin: 0 5vw 0;
}
.nixis-narrative-inner::before {
  content: '';
  position: absolute;
  top: -60px; right: -60px;
  width: 220px; height: 220px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,0,255,0.06) 0%, transparent 70%);
  pointer-events: none;
}
.nixis-narrative-inner::after {
  content: '"';
  position: absolute;
  bottom: -20px; right: 2rem;
  font-size: 12rem;
  line-height: 1;
  font-family: Georgia, serif;
  color: rgba(255,255,255,0.03);
  pointer-events: none;
  user-select: none;
}
.nixis-narrative-header {
  margin-bottom: 1.5rem;
}
.nixis-narrative-oracle {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.65rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: rgba(255,255,255,0.4);
  margin-bottom: 0.75rem;
}
.nixis-narrative-name {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 900;
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin: 0;
}
.nixis-narrative-story {
  font-size: 1.05rem;
  line-height: 1.85;
  color: rgba(255,255,255,0.75);
  font-style: italic;
  margin: 0 0 2rem 0;
  padding: 0;
  border: none;
  max-width: 780px;
}
.nixis-narrative-story em {
  font-style: normal;
  color: rgba(255,255,255,0.95);
  font-weight: 600;
}
.nixis-narrative-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #FF00FF;
  text-decoration: none;
  border: 1px solid rgba(255,0,255,0.35);
  border-radius: 100px;
  padding: 0.55rem 1.25rem;
  transition: background var(--transition), border-color var(--transition);
}
.nixis-narrative-cta:hover {
  background: rgba(255,0,255,0.1);
  border-color: rgba(255,0,255,0.6);
}
@media (max-width: 768px) {
  .nixis-narrative-inner {
    padding: 1.75rem 1.5rem;
    margin: 0 1rem;
    border-radius: 14px;
  }
  .nixis-narrative-story { font-size: 0.95rem; }
}
