/* ============================
   RESET & BASE
   ============================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg: #0d1117;
  --bg-2: #161b27;
  --bg-3: #1e2433;
  --border: rgba(255,255,255,.07);
  --text: #e2e8f0;
  --text-muted: #8892a4;
  --primary: #6366f1;
  --primary-dark: #4f46e5;
  --primary-light: #818cf8;
  --accent: #10b981;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 4px 32px rgba(0,0,0,.4);
  --transition: .3s cubic-bezier(.4,0,.2,1);
  --container-max: 1200px;
  --section-y: 100px;
  --grid-gap: 24px;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  /* Évite un saut de layout / trait clair quand body prend du padding (barre sticky) */
  scrollbar-gutter: stable;
}

body {
  font-family: 'Inter', system-ui, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.7;
  overflow-x: hidden;
  font-size: 16px;
}

:root {
  --text-muted: #9aa3b2;
}

h1, h2, h3, h4 {
  font-family: 'Space Grotesk', sans-serif;
  line-height: 1.2;
}

a { text-decoration: none; color: inherit; }
img { max-width: 100%; }
ul { list-style: none; }

.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 24px;
}

/* ============================
   TYPOGRAPHY HELPERS
   ============================ */
.gradient-text {
  background: linear-gradient(135deg, var(--primary-light) 0%, #a78bfa 50%, #ec4899 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-tag {
  display: inline-block;
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--primary-light);
  background: rgba(99,102,241,.12);
  border: 1px solid rgba(99,102,241,.25);
  padding: 4px 14px;
  border-radius: 999px;
  margin-bottom: 16px;
}

.section-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 64px;
}
.section-header h2 { font-size: clamp(1.8rem, 3.5vw, 2.8rem); margin-bottom: 16px; }
.section-header .h2-nowrap { font-size: clamp(1.4rem, 2.8vw, 2.1rem); white-space: nowrap; }
.section-header p { color: var(--text-muted); font-size: 1.08rem; line-height: 1.7; }

/* ============================
   BUTTONS
   ============================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 12px;
  font-weight: 600;
  font-size: .95rem;
  cursor: pointer;
  border: none;
  transition: var(--transition);
  white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; }

.btn-primary {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: #fff;
  box-shadow: 0 4px 20px rgba(99,102,241,.35);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(99,102,241,.5);
}

.btn-ghost {
  background: rgba(255,255,255,.05);
  color: var(--text);
  border: 1px solid var(--border);
}
.btn-ghost:hover { background: rgba(255,255,255,.1); transform: translateY(-2px); }

.btn-outline {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border);
}
.btn-outline:hover { border-color: var(--primary); color: var(--primary-light); transform: translateY(-2px); }

.btn-nav {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: #fff;
  padding: 9px 18px;
  font-size: .85rem;
}
.btn-nav:hover { transform: translateY(-2px); box-shadow: 0 4px 20px rgba(99,102,241,.4); }

.btn-client {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 9px 16px;
  border-radius: 12px;
  font-size: .82rem;
  font-weight: 600;
  color: var(--primary-light);
  background: rgba(99,102,241,.1);
  border: 1px solid rgba(99,102,241,.25);
  transition: var(--transition);
  white-space: nowrap;
}
.btn-client svg { width: 16px; height: 16px; }
.btn-client:hover {
  background: rgba(99,102,241,.2);
  border-color: rgba(99,102,241,.5);
  transform: translateY(-2px);
}

/* Téléassistance (lien #teamviewer) — même AD que le site */
.btn-assist {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 22px;
  border-radius: 12px;
  font-size: 1rem;
  font-weight: 600;
  color: var(--primary-light);
  background: rgba(99, 102, 241, .12);
  border: 1px solid rgba(99, 102, 241, .4);
  box-shadow: 0 4px 24px rgba(99, 102, 241, .15);
  text-decoration: none;
  transition: var(--transition);
}
.btn-assist svg { width: 20px; height: 20px; flex-shrink: 0; }
.btn-assist:hover {
  background: rgba(99, 102, 241, .22);
  border-color: rgba(129, 140, 248, .65);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(99, 102, 241, .3);
}

.btn-assist-nav {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 9px 14px;
  border-radius: 12px;
  font-size: .8rem;
  font-weight: 600;
  color: var(--primary-light);
  background: rgba(99, 102, 241, .1);
  border: 1px solid rgba(99, 102, 241, .28);
  text-decoration: none;
  transition: var(--transition);
  white-space: nowrap;
}
.btn-assist-nav svg { width: 15px; height: 15px; }
.btn-assist-nav:hover {
  background: rgba(99, 102, 241, .2);
  border-color: rgba(99, 102, 241, .45);
  transform: translateY(-1px);
}

.footer-client-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: .8rem;
  font-weight: 600;
  color: var(--primary-light);
  padding: 6px 14px;
  border-radius: 8px;
  background: rgba(99,102,241,.1);
  border: 1px solid rgba(99,102,241,.2);
  transition: var(--transition);
}
.footer-client-btn svg { width: 14px; height: 14px; }
.footer-client-btn:hover {
  background: rgba(99,102,241,.2);
  color: #fff;
}

.btn-full { width: 100%; justify-content: center; }

/* ============================
   SECTIONS
   ============================ */
.section { padding: var(--section-y) 0; }
.section-dark { background: var(--bg-2); }

/* ============================
   LOADER
   ============================ */
body.is-loading { overflow: hidden; }

/* Nom à côté du logo : caché tant que config.js n’a pas injecté SITE (HTML = placeholder) */
body:not(.brand-ready) .loader-logo > span,
body:not(.brand-ready) .logo[data-c="logo"] > span {
  visibility: hidden;
}

#siteLoader {
  position: fixed;
  inset: 0;
  z-index: 99999;
  background: #0f0f13;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity .25s ease, visibility .25s ease;
}
#siteLoader.loader-hidden {
  opacity: 0;
  visibility: hidden;
}
.loader-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 28px;
}
.loader-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.8rem;
  font-weight: 700;
  letter-spacing: -.02em;
  animation: loaderPulse 1s ease-in-out infinite;
}
.loader-logo .logo-icon { font-size: 2rem; }
@keyframes loaderPulse {
  0%, 100% { opacity: 1; }
  50%       { opacity: .5; }
}
.loader-bar {
  width: 160px;
  height: 3px;
  background: var(--border);
  border-radius: 99px;
  overflow: hidden;
}
.loader-bar-fill {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--primary), var(--primary-light));
  border-radius: 99px;
  animation: loaderFill 1.95s ease forwards;
}
@keyframes loaderFill {
  0%   { width: 0%; }
  55%  { width: 82%; }
  100% { width: 100%; }
}

/* ============================
   TOP BAR
   ============================ */
.topbar {
  background: var(--bg-2);
  border-bottom: 1px solid var(--border);
  padding: 6px 0;
  font-size: .75rem;
  color: var(--text-muted);
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 101;
}
.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.topbar-left {
  display: flex;
  align-items: center;
  gap: 24px;
}
.topbar-left span {
  display: flex;
  align-items: center;
  gap: 6px;
}
.topbar-left svg { width: 13px; height: 13px; flex-shrink: 0; }

.topbar-tva {
  font-size: .75rem;
  color: var(--text-muted);
  letter-spacing: .01em;
}

.topbar-hours {
  display: flex;
  align-items: center;
  gap: 7px;
  font-weight: 600;
  color: #fff;
  font-size: .78rem;
}
.topbar-hours-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--accent);
  flex-shrink: 0;
  box-shadow: 0 0 0 0 rgba(16,185,129,.6);
  animation: topbarPulse 2s ease-in-out infinite;
}
@keyframes topbarPulse {
  0%   { box-shadow: 0 0 0 0 rgba(16,185,129,.6); }
  70%  { box-shadow: 0 0 0 6px rgba(16,185,129,0); }
  100% { box-shadow: 0 0 0 0 rgba(16,185,129,0); }
}

/* ============================
   NAVBAR
   ============================ */
.navbar {
  position: fixed;
  top: 33px; left: 0; right: 0;
  z-index: 100;
  transition: background 0.3s ease, padding 0.3s ease, box-shadow 0.3s ease;
  padding: 14px 0;
  /* Séparateur toujours réservé : évite le flash quand .scrolled ajoute une bordure */
  box-shadow: 0 1px 0 transparent;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  transform: translateZ(0);
}

.navbar.scrolled {
  background: rgba(13,17,23,.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  /* Ligne de séparation sans border (souvent plus stable avec backdrop-filter) */
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.07);
  padding: 10px 0;
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo picture,
.loader-logo picture {
  display: flex;
  align-items: center;
}
.logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.25rem;
  font-weight: 500;
  letter-spacing: -.02em;
}
.logo strong { font-weight: 700; }
.logo-icon { font-size: 1.5rem; }
.logo-img { height: 62px; width: auto; display: block; object-fit: contain; }

/* Logo : léger mouvement “vivant” (navbar + footer) */
.navbar .logo .logo-img,
.footer-brand .logo .logo-img {
  transform-origin: center center;
  animation: logoLive 4s ease-in-out infinite;
}
@keyframes logoLive {
  0%, 100% {
    transform: translateY(0) scale(1);
    filter: drop-shadow(0 2px 6px rgba(99, 102, 241, 0));
  }
  40% {
    transform: translateY(-3px) scale(1.035);
    filter: drop-shadow(0 6px 14px rgba(99, 102, 241, 0.2));
  }
  70% {
    transform: translateY(-1px) scale(1.02);
    filter: drop-shadow(0 4px 10px rgba(99, 102, 241, 0.12));
  }
}
.navbar .logo:hover .logo-img,
.footer-brand .logo:hover .logo-img {
  animation-play-state: paused;
  transform: translateY(-4px) scale(1.06);
  filter: drop-shadow(0 8px 22px rgba(99, 102, 241, 0.32));
  transition: transform 0.35s ease, filter 0.35s ease;
}
@media (prefers-reduced-motion: reduce) {
  .navbar .logo .logo-img,
  .footer-brand .logo .logo-img {
    animation: none;
  }
  .navbar .logo:hover .logo-img,
  .footer-brand .logo:hover .logo-img {
    transform: none;
    filter: none;
  }
  .wa-btn {
    animation: none;
    box-shadow: 0 4px 20px rgba(37,211,102,.45);
  }
  .sticky-wa-btn {
    animation: none;
    box-shadow: 0 2px 14px rgba(37,211,102,.35);
  }
  .wa-btn svg,
  .sticky-wa-btn svg {
    animation: none;
  }
  .hero-cta-primary:has(.hero-wa-in-phone[style*="inline-flex"]),
  .hero-cta-primary:has(.hero-wa-in-phone[style*="flex"]) {
    animation: none !important;
    box-shadow: 0 6px 24px rgba(16, 185, 129, 0.32);
  }
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 24px;
}
.nav-links a:not(.btn):not(.btn-assist-nav):not(.nav-shop-link) {
  font-size: .87rem;
  font-weight: 500;
  color: var(--text-muted);
  transition: color var(--transition);
  position: relative;
}
.nav-links a:not(.btn):not(.btn-assist-nav):not(.nav-shop-link)::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0; right: 0;
  height: 2px;
  background: var(--primary);
  transform: scaleX(0);
  transition: transform var(--transition);
  border-radius: 2px;
}
.nav-links a:not(.btn):not(.btn-assist-nav):not(.nav-shop-link):hover { color: var(--text); }
.nav-links a:not(.btn):not(.btn-assist-nav):not(.nav-shop-link):hover::after { transform: scaleX(1); }

/* Lien Boutique — mise en avant dans la navbar */
.nav-shop-link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 6px 12px;
  border-radius: 999px;
  font-size: .76rem;
  font-weight: 700;
  letter-spacing: .02em;
  color: #fff !important;
  background: linear-gradient(135deg, var(--primary) 0%, #8b5cf6 55%, #a855f7 100%);
  border: 1px solid rgba(255,255,255,.18);
  box-shadow: 0 3px 14px rgba(99,102,241,.4), inset 0 1px 0 rgba(255,255,255,.12);
  text-decoration: none;
  transition: transform .25s ease, box-shadow .25s ease, filter .25s ease;
  white-space: nowrap;
  position: relative;
  overflow: hidden;
  box-shadow: 0 3px 14px rgba(99, 102, 241, .4), inset 0 1px 0 rgba(255, 255, 255, .12);
}

.nav-shop-link::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, transparent 40%, rgba(255,255,255,.18) 50%, transparent 60%);
  transform: translateX(-120%);
  transition: transform .55s ease;
  animation: nav-shop-link-shine 4.5s ease-in-out infinite;
  pointer-events: none;
}

.nav-shop-link:hover::before {
  transform: translateX(120%);
  animation: none;
}

.nav-shop-link svg,
.nav-shop-link__icon {
  width: 13px;
  height: 13px;
  flex-shrink: 0;
  opacity: .95;
  filter: drop-shadow(0 0 4px rgba(255, 255, 255, .25));
}

.nav-shop-link:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(99,102,241,.55), inset 0 1px 0 rgba(255,255,255,.15);
  filter: brightness(1.06);
}

.nav-shop-link.active {
  box-shadow: 0 4px 22px rgba(99, 102, 241, .55), 0 0 0 2px rgba(167, 139, 250, .45), inset 0 1px 0 rgba(255, 255, 255, .15);
}

/* Variante promo — remplace « Boutique » sans changer la mise en page */
.nav-shop-link--promo {
  font-size: .7rem;
  padding: 6px 11px;
  gap: 4px;
  background: linear-gradient(135deg, #b45309 0%, #d97706 48%, #f59e0b 100%);
  border-color: rgba(255, 237, 213, .28);
  box-shadow: 0 3px 14px rgba(217, 119, 6, .34), inset 0 1px 0 rgba(255, 255, 255, .14);
  animation: none;
}

.nav-shop-link--promo::before {
  display: none;
}

.nav-shop-link--promo:hover {
  box-shadow: 0 8px 24px rgba(217, 119, 6, .44), inset 0 1px 0 rgba(255, 255, 255, .15);
}

.nav-shop-link--promo.active {
  box-shadow: 0 4px 20px rgba(217, 119, 6, .44), 0 0 0 2px rgba(251, 191, 36, .32), inset 0 1px 0 rgba(255, 255, 255, .14);
}

@media (max-width: 1120px) {
  .nav-links-desktop .nav-shop-link--promo .nav-shop-link__label {
    font-size: 0;
    line-height: 0;
  }

  .nav-links-desktop .nav-shop-link--promo .nav-shop-link__label::after {
    content: "Promo";
    font-size: .7rem;
    line-height: 1.2;
  }
}

@keyframes nav-shop-link-shine {
  0%, 72%, 100% { transform: translateX(-120%); }
  28% { transform: translateX(120%); }
}

.nav-mobile .nav-shop-link {
  font-size: 1rem;
  padding: 10px 20px;
  margin: 0;
  gap: 6px;
  box-shadow: 0 3px 14px rgba(99,102,241,.4), inset 0 1px 0 rgba(255,255,255,.12);
}

.nav-mobile .nav-shop-link svg {
  width: 16px;
  height: 16px;
}

@media (prefers-reduced-motion: reduce) {
  .nav-shop-link,
  .nav-shop-link.active,
  .nav-shop-link--promo,
  .nav-shop-link--promo.active,
  .nav-shop-link::before {
    animation: none;
  }

  .nav-shop-link::before { display: none; }
  .nav-shop-link:hover { transform: none; }
}

.nav-mobile { display: none; } /* caché sur desktop, activé en mobile */
.nav-mobile-close { display: none; } /* uniquement visible en mobile */

.burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.burger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: var(--transition);
}
.burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger.open span:nth-child(2) { opacity: 0; }
.burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ============================
   HERO
   ============================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 220px 0 80px;
  overflow: hidden;
}

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

.grid-overlay {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(99,102,241,.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(99,102,241,.07) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black, transparent);
}

.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: .25;
  animation: blobFloat 8s ease-in-out infinite;
}
.blob-1 {
  width: 600px; height: 600px;
  background: radial-gradient(circle, #6366f1, #ec4899);
  top: -200px; right: -200px;
}
.blob-2 {
  width: 400px; height: 400px;
  background: radial-gradient(circle, #10b981, #3b82f6);
  bottom: -100px; left: -100px;
  animation-delay: -4s;
}

@keyframes blobFloat {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(30px, -20px) scale(1.05); }
  66% { transform: translate(-20px, 20px) scale(.95); }
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 760px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: .82rem;
  font-weight: 500;
  color: var(--text-muted);
  background: rgba(255,255,255,.05);
  border: 1px solid var(--border);
  padding: 6px 16px;
  border-radius: 999px;
  margin-top: 48px;
  margin-bottom: 28px;
}
.hero-badge svg { width: 13px; height: 13px; flex-shrink: 0; color: var(--primary-light); }
.badge-text-mobile  { display: none; }
.badge-text-desktop { display: inline; }
.badge-dot {
  width: 8px; height: 8px;
  background: var(--accent);
  border-radius: 50%;
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: .6; transform: scale(1.3); }
}

.hero-title {
  font-size: clamp(2rem, 4.5vw, 3.8rem);
  font-weight: 800;
  letter-spacing: -.03em;
  margin-bottom: 24px;
  line-height: 1.1;
}

.hero-desc {
  font-size: clamp(1rem, 1.8vw, 1.15rem);
  color: var(--text-muted);
  max-width: 560px;
  margin-bottom: 36px;
  line-height: 1.8;
}
.hero-desc strong { color: var(--text); font-weight: 600; }

.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 52px; }

.hero-stats {
  display: flex;
  align-items: center;
  gap: 32px;
  flex-wrap: wrap;
}
.stat { display: flex; flex-direction: column; }
.stat-num {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--text);
}
.stat-label { font-size: .8rem; color: var(--text-muted); }
.stat-divider { width: 1px; height: 40px; background: var(--border); }

.hero-scroll {
  position: absolute;
  bottom: 40px; left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  font-size: .72rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.scroll-line {
  width: 1px; height: 40px;
  background: linear-gradient(to bottom, var(--text-muted), transparent);
  animation: scrollLine 2s ease-in-out infinite;
}
@keyframes scrollLine {
  0% { transform: scaleY(0); transform-origin: top; }
  50% { transform: scaleY(1); transform-origin: top; }
  50.001% { transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}

/* ============================
   MARQUES / PARTENAIRES
   ============================ */
.brands-bar {
  background: var(--bg-2);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 24px 0;
}
.brands-logos {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 48px;
  flex-wrap: wrap;
}
.brand-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  opacity: .55;
  transition: opacity var(--transition);
}
.brand-item:hover { opacity: 1; }
.brand-item svg {
  height: 34px;
  width: auto;
  display: block;
}
.brand-item span {
  font-size: .68rem;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--text-muted);
}

@media (max-width: 768px) {
  .brands-logos { gap: 28px; }
  .brand-item img { height: 26px; }
}

/* ============================
   TEAMVIEWER QUICKSUPPORT
   ============================ */
.section-tv {
  background: linear-gradient(180deg, var(--bg) 0%, rgba(99, 102, 241, .04) 50%, var(--bg) 100%);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.tv-quick-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  max-width: 720px;
  margin: 0 auto 20px;
}
.tv-quick-card {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px 20px;
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: 16px;
  text-decoration: none;
  color: var(--text);
  transition: border-color var(--transition), transform var(--transition), box-shadow var(--transition);
}
.tv-quick-card:hover {
  border-color: rgba(99, 102, 241, .45);
  transform: translateY(-2px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, .25);
}
.tv-quick-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.tv-quick-icon svg { width: 26px; height: 26px; }
.tv-quick-icon--win .tv-win-logo {
  width: 28px;
  height: 28px;
  display: block;
  shape-rendering: geometricPrecision;
}
.tv-quick-icon--win {
  background: rgba(0, 120, 215, .12);
  color: #4da3ff;
}
.tv-quick-icon--mac {
  background: rgba(255, 255, 255, .06);
  color: var(--text);
}
.tv-quick-body {
  display: flex;
  flex-direction: column;
  gap: 2px;
  flex: 1;
  min-width: 0;
  text-align: left;
}
.tv-quick-body strong { font-size: 1.05rem; font-weight: 600; }
.tv-quick-body span { font-size: .8rem; color: var(--text-muted); }
.tv-quick-action {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: .82rem;
  font-weight: 600;
  color: var(--primary-light);
  flex-shrink: 0;
}
.tv-quick-action svg { width: 16px; height: 16px; }
.tv-quick-note {
  text-align: center;
  font-size: .75rem;
  color: var(--text-muted);
  max-width: 520px;
  margin: 0 auto;
  line-height: 1.5;
}
@media (max-width: 768px) {
  .tv-quick-grid { grid-template-columns: 1fr; }
  .tv-quick-card { padding: 16px 18px; }
}

/* ============================
   SERVICES
   ============================ */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--grid-gap);
}

.service-card {
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.service-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(99,102,241,.06), transparent);
  opacity: 0;
  transition: opacity var(--transition);
}
.service-card:hover { border-color: rgba(99,102,241,.3); transform: translateY(-4px); box-shadow: var(--shadow); }
.service-card:hover::before { opacity: 1; }
.service-card[id] {
  scroll-margin-top: 96px;
}

.card-icon {
  width: 52px; height: 52px;
  background: rgba(var(--c, 99 102 241), .12);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  color: var(--c, var(--primary));
  border: 1px solid rgba(var(--c, 99 102 241), .2);
}
.card-icon { background: color-mix(in srgb, var(--c) 12%, transparent); color: var(--c); border-color: color-mix(in srgb, var(--c) 20%, transparent); }
.card-icon svg { width: 26px; height: 26px; }

.service-card h3 { font-size: 1.1rem; margin-bottom: 10px; }
.service-card p { color: var(--text-muted); font-size: .95rem; margin-bottom: 20px; line-height: 1.7; }

.card-list { display: flex; flex-direction: column; gap: 6px; }
.card-list li {
  font-size: .9rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 8px;
}
.card-list li::before {
  content: '';
  width: 5px; height: 5px;
  background: var(--primary-light);
  border-radius: 50%;
  flex-shrink: 0;
}

/* ============================
   ABOUT
   ============================ */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.about-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.about-img-wrapper {
  width: 340px; height: 340px;
  border-radius: 50%;
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: 0 0 60px rgba(99,102,241,.15);
  flex-shrink: 0;
}
.about-img-placeholder {
  width: 100%; height: 100%;
  background: var(--bg-3);
  display: flex;
  align-items: center;
  justify-content: center;
}
.about-img-placeholder svg { width: 80%; height: 80%; }

.about-card-float {
  position: absolute;
  background: var(--bg-3);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  display: flex;
  align-items: center;
  gap: 10px;
  box-shadow: var(--shadow);
  backdrop-filter: blur(8px);
  z-index: 2;
}
.about-card-float svg { width: 28px; height: 28px; flex-shrink: 0; }
.about-card-float div { display: flex; flex-direction: column; }
.about-card-float strong { font-size: .85rem; }
.about-card-float span { font-size: .75rem; color: var(--text-muted); }
.card-float-1 { top: 20px; left: -20px; animation: floatCard 4s ease-in-out infinite; }
.card-float-2 { bottom: 20px; right: -20px; animation: floatCard 4s ease-in-out infinite reverse; }
@keyframes floatCard {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

.about-text h2 { font-size: clamp(1.8rem, 3vw, 2.5rem); margin-bottom: 20px; }
.about-text p { color: var(--text-muted); line-height: 1.8; margin-bottom: 16px; }

.about-values {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin: 32px 0;
}
.value-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}
.value-icon {
  font-size: 1.4rem;
  width: 44px; height: 44px;
  background: var(--bg-3);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.value-item div strong { display: block; font-size: .95rem; margin-bottom: 2px; }
.value-item div p { font-size: .85rem; color: var(--text-muted); margin: 0; }

/* ============================
   WHY US
   ============================ */
.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--grid-gap);
}
.why-card {
  padding: 32px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--bg-2);
  transition: var(--transition);
  position: relative;
}
.why-card:hover { border-color: rgba(99,102,241,.3); transform: translateY(-4px); }
.why-num {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 3rem;
  font-weight: 800;
  color: rgba(99,102,241,.15);
  line-height: 1;
  margin-bottom: 16px;
  transition: color var(--transition);
}
.why-card:hover .why-num { color: rgba(99,102,241,.4); }
.why-card h3 { font-size: 1.05rem; margin-bottom: 10px; }
.why-card p { font-size: .95rem; color: var(--text-muted); line-height: 1.75; }

/* ============================
   TARIFS
   ============================ */
.tarif-notes {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 12px;
  margin-bottom: 36px;
}
.tarif-notes-mobile { display: none; }
.tarif-chips { display: none; } /* visible uniquement sur mobile via media query */

.tarif-note-top {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  font-size: .7rem;
  line-height: 1.28;
  letter-spacing: -0.02em;
  color: var(--text-muted);
  background: rgba(99,102,241,.07);
  border: 1px solid rgba(99,102,241,.18);
  border-radius: 10px;
  padding: 7px 8px;
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
}
.tarif-note-top svg { width: 13px; height: 13px; color: var(--primary-light); flex-shrink: 0; }

/* Géoloc tarifs : au clic uniquement */
.tarif-geo-wrap {
  max-width: 680px;
  margin: 22px auto 0;
  padding-top: 18px;
  padding-bottom: 8px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  text-align: center;
  position: relative;
  z-index: 2;
}
.tarif-geo-actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}
/* display:flex ci-dessus annule le [hidden] natif — forcer la disparition */
.tarif-geo-actions[hidden] {
  display: none !important;
}
.tarif-geo-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 10px 18px;
  font-size: 0.75rem;
  font-weight: 500;
  font-family: inherit;
  color: rgba(226, 232, 240, 0.92);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(129, 140, 248, 0.28);
  border-radius: 999px;
  cursor: pointer;
  position: relative;
  transition:
    transform 0.22s ease,
    background 0.22s ease,
    border-color 0.22s ease,
    box-shadow 0.22s ease;
  -webkit-tap-highlight-color: transparent;
  animation: tarifGeoBtnHint 3.2s ease-in-out infinite;
}
@keyframes tarifGeoBtnHint {
  0%,
  100% {
    border-color: rgba(129, 140, 248, 0.26);
    box-shadow: 0 0 0 0 rgba(129, 140, 248, 0);
  }
  50% {
    border-color: rgba(165, 180, 252, 0.4);
    box-shadow:
      0 0 0 1px rgba(129, 140, 248, 0.12),
      0 2px 14px rgba(99, 102, 241, 0.14);
  }
}
.tarif-geo-btn:hover:not(:disabled),
.tarif-geo-btn:focus-visible:not(:disabled) {
  animation: none;
  transform: translateY(-1px);
  color: #e2e8f0;
  background: rgba(99, 102, 241, 0.14);
  border-color: rgba(165, 180, 252, 0.48);
  box-shadow: 0 4px 22px rgba(99, 102, 241, 0.22);
}
.tarif-geo-btn:active:not(:disabled) {
  transform: translateY(0);
  box-shadow: 0 2px 10px rgba(99, 102, 241, 0.15);
}
.tarif-geo-btn:disabled {
  opacity: 0.65;
  cursor: wait;
  animation: none;
}
@media (prefers-reduced-motion: reduce) {
  .tarif-geo-btn {
    animation: none;
  }
  .tarif-geo-btn:hover:not(:disabled),
  .tarif-geo-btn:focus-visible:not(:disabled) {
    transform: none;
  }
}
.tarif-geo-help {
  margin: 0;
  max-width: 42ch;
  font-size: 0.62rem;
  line-height: 1.45;
  color: rgba(148, 163, 184, 0.5);
}
.tarif-geo-result {
  margin-top: 14px;
  font-size: 0.68rem;
  line-height: 1.55;
  color: rgba(148, 163, 184, 0.55);
  text-align: center;
  opacity: 0;
}
/* Réponse seule : le bouton + l’aide sont masqués */
.tarif-geo-wrap--answer .tarif-geo-result {
  margin-top: 0;
}
.tarif-geo-wrap--answer {
  padding-top: 18px;
}
.tarif-geo-result.is-visible {
  animation: tarifGeoFade 0.4s ease forwards;
}
.tarif-geo-result__line {
  display: block;
  margin-bottom: 6px;
  color: rgba(148, 163, 184, 0.78);
  font-size: 0.7rem;
}
.tarif-geo-result__sub {
  display: block;
  margin-bottom: 8px;
  font-size: 0.64rem;
  color: rgba(148, 163, 184, 0.55);
}
.tarif-geo-result__legal {
  display: block;
  font-size: 0.62rem;
  font-style: italic;
  color: rgba(148, 163, 184, 0.48);
  line-height: 1.5;
  max-width: 52ch;
  margin-left: auto;
  margin-right: auto;
}
.tarif-geo-result__err {
  color: rgba(248, 180, 180, 0.75);
  font-size: 0.65rem;
}
@keyframes tarifGeoFade {
  to { opacity: 1; }
}
@media (prefers-reduced-motion: reduce) {
  .tarif-geo-result.is-visible { animation: none; opacity: 1; }
}

.tarif-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--grid-gap);
  align-items: stretch;
}

.tarif-card {
  background: var(--bg-3);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 40px 32px;
  position: relative;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  height: 100%;
  box-sizing: border-box;
}
.tarif-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.tarif-label { font-size: .8rem; font-weight: 600; color: var(--text-muted); letter-spacing: .08em; text-transform: uppercase; margin-bottom: 12px; }
.tarif-price { display: flex; align-items: baseline; gap: 4px; margin-bottom: 10px; }
.price-num { font-family: 'Space Grotesk', sans-serif; font-size: 3.5rem; font-weight: 800; line-height: 1; }
.price-unit { font-size: 1.1rem; color: var(--text-muted); }
.tarif-desc { font-size: .95rem; color: var(--text-muted); line-height: 1.7; margin-bottom: 28px; }
.tarif-list { display: flex; flex-direction: column; gap: 12px; margin-bottom: 0; }
.tarif-card-footer {
  margin-top: auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding-top: 24px;
}
.tarif-card-footer .btn-primary {
  width: 100%;
  justify-content: center;
  text-align: center;
  box-sizing: border-box;
}
/* Même style que .tarif-note-top (encadré violet), dans la carte */
.tarif-fr-note {
  display: flex;
  align-items: flex-start;
  gap: 5px;
  font-size: .7rem;
  color: var(--text-muted);
  background: rgba(99, 102, 241, 0.07);
  border: 1px solid rgba(99, 102, 241, 0.18);
  border-radius: 10px;
  padding: 7px 8px;
  width: 100%;
  box-sizing: border-box;
  line-height: 1.28;
  letter-spacing: -0.02em;
}
.tarif-fr-note svg {
  width: 13px;
  height: 13px;
  color: var(--primary-light);
  flex-shrink: 0;
  margin-top: 1px;
}
.tarif-fr-note span { min-width: 0; }
.tarif-fr-note--after-price {
  margin-bottom: 16px;
}
/* Carte « Contrat » : pas de frais visibles, mais même hauteur de pied de carte */
.tarif-fr-note--balance {
  opacity: 0;
  pointer-events: none;
  user-select: none;
}
.tarif-list li { display: flex; align-items: center; gap: 10px; font-size: .95rem; }
.check { color: var(--accent); font-weight: 700; font-size: 1rem; flex-shrink: 0; }

.tarif-list .tarif-list-item--promo {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-top: 8px;
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, .06);
}

.tarif-list-item--promo[hidden] {
  display: none !important;
}

.tarif-promo-icon {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  margin-top: 1px;
  border-radius: 8px;
  color: #86efac;
  background: rgba(34, 197, 94, .12);
  border: 1px solid rgba(34, 197, 94, .22);
}

.tarif-promo-icon svg {
  width: 15px;
  height: 15px;
}

.tarif-promo-copy {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}

.tarif-promo-copy__line {
  font-size: .94rem;
  line-height: 1.45;
  color: var(--text);
}

.tarif-promo-copy__line strong {
  font-weight: 700;
  color: #bbf7d0;
}

.tarif-promo-copy__link {
  font-size: .82rem;
  font-weight: 600;
  line-height: 1.35;
  color: #86efac;
  text-decoration: none;
  transition: color .2s;
}

.tarif-promo-copy__link:hover {
  color: #bbf7d0;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.check--promo {
  color: #4ade80;
  font-size: .85rem;
}

/* ============================
   TESTIMONIALS
   ============================ */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--grid-gap);
  align-items: start;
}
.testimonial-card {
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  transition: var(--transition);
}
.testimonial-card:hover { transform: translateY(-4px); border-color: rgba(99,102,241,.3); }
.testimonial-featured {
  background: linear-gradient(135deg, rgba(99,102,241,.08), var(--bg-2));
  border-color: rgba(99,102,241,.3);
}
.stars { color: #f59e0b; font-size: 1.1rem; letter-spacing: 2px; margin-bottom: 16px; }
.testimonial-card > p { color: var(--text-muted); font-size: .97rem; line-height: 1.75; margin-bottom: 24px; font-style: italic; }
.testimonial-author { display: flex; align-items: center; gap: 12px; }
.author-avatar {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--bg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.1rem;
  color: #fff;
  flex-shrink: 0;
  background: var(--bg);
}
.author-avatar { background: var(--bg); box-shadow: 0 0 0 2px var(--bg), 0 0 0 4px var(--border); }
.testimonial-author div strong { display: block; font-size: .9rem; }
.testimonial-author div span { font-size: .78rem; color: var(--text-muted); }

/* ============================
   CONTACT
   ============================ */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 80px;
  align-items: start;
}
.contact-info h2 { font-size: clamp(1.8rem, 3vw, 2.4rem); margin-bottom: 20px; }
.contact-info > p { color: var(--text-muted); line-height: 1.7; margin-bottom: 40px; }

.contact-items { display: flex; flex-direction: column; gap: 20px; }
.contact-item { display: flex; align-items: center; gap: 16px; }
.contact-item-icon {
  width: 48px; height: 48px;
  background: rgba(99,102,241,.1);
  border: 1px solid rgba(99,102,241,.2);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--primary-light);
}
.contact-item-icon svg { width: 20px; height: 20px; }
.contact-item div { display: flex; flex-direction: column; }
.contact-item strong { font-size: .9rem; margin-bottom: 2px; }
.contact-item span { font-size: .85rem; color: var(--text-muted); }

.contact-form {
  background: var(--bg-3);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 40px;
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { display: flex; flex-direction: column; gap: 8px; margin-bottom: 16px; }
.form-group label { font-size: .82rem; font-weight: 500; color: var(--text-muted); }
.form-group input,
.form-group select,
.form-group textarea {
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text);
  padding: 12px 16px;
  font-size: .9rem;
  font-family: inherit;
  transition: border-color var(--transition);
  outline: none;
  width: 100%;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus { border-color: var(--primary); box-shadow: 0 0 0 3px rgba(99,102,241,.15); }
.form-group select { appearance: none; cursor: pointer; }
.form-group textarea { resize: vertical; min-height: 120px; }
.form-note { text-align: center; font-size: .78rem; color: var(--text-muted); margin-top: 12px; }

/* ── Consentement RGPD ── */
.form-consent {
  margin-bottom: 16px;
  padding: 14px 16px;
  background: rgba(99,102,241,.06);
  border: 1px solid rgba(99,102,241,.2);
  border-radius: 10px;
}
.consent-label {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  cursor: pointer;
}
.consent-label input[type="checkbox"] {
  position: absolute;
  opacity: 0;
  width: 0; height: 0;
}
.consent-custom {
  flex-shrink: 0;
  width: 20px; height: 20px;
  border: 2px solid var(--border);
  border-radius: 5px;
  background: var(--bg-2);
  margin-top: 1px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: border-color .2s, background .2s;
}
.consent-custom::after {
  content: '';
  display: none;
  width: 5px; height: 10px;
  border: 2px solid #fff;
  border-top: none;
  border-left: none;
  transform: rotate(45deg) translate(-1px, -1px);
}
.consent-label input:checked ~ .consent-custom {
  background: var(--primary);
  border-color: var(--primary);
}
.consent-label input:checked ~ .consent-custom::after { display: block; }
.consent-label input:focus-visible ~ .consent-custom {
  outline: 2px solid var(--primary-light);
  outline-offset: 2px;
}
.consent-text {
  font-size: .8rem;
  color: var(--text-muted);
  line-height: 1.6;
}
.consent-text a {
  color: var(--primary-light);
  text-decoration: underline;
}
.consent-text strong { color: var(--text); }

/* ============================
   FOOTER
   ============================ */
.footer {
  background: var(--bg-2);
  border-top: 1px solid var(--border);
  padding-top: 80px;
}
.footer-inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.2fr;
  gap: 60px;
  padding-bottom: 60px;
}
.footer-brand .logo { margin-bottom: 16px; display: inline-flex; }
.footer-brand p { font-size: .87rem; color: var(--text-muted); max-width: 240px; line-height: 1.7; margin-bottom: 24px; }
.footer-socials { display: flex; gap: 12px; }
.footer-socials a {
  width: 38px; height: 38px;
  background: var(--bg-3);
  border: 1px solid var(--border);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  transition: var(--transition);
}
.footer-socials a svg { width: 16px; height: 16px; }
.footer-socials a:hover { border-color: var(--primary); color: var(--primary-light); transform: translateY(-2px); }

.footer-col h4 { font-size: .9rem; font-weight: 700; margin-bottom: 20px; }
.footer-col ul { display: flex; flex-direction: column; gap: 10px; }
.footer-col ul li, .footer-col ul a { font-size: .84rem; color: var(--text-muted); transition: color var(--transition); }
.footer-col ul a:hover { color: var(--text); }

.footer-bottom {
  border-top: 1px solid var(--border);
  padding: 24px 0;
}
.footer-bottom .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.footer-bottom p { font-size: .8rem; color: var(--text-muted); }
.footer-copyright { margin: 0; }
.footer-cr-desktop { display: inline; }
.footer-cr-mobile {
  display: none;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  text-align: center;
}
.footer-cr-m1,
.footer-cr-m2 { display: block; line-height: 1.35; }
.recaptcha-notice {
  font-size: .7rem;
  color: var(--text-muted);
  opacity: .55;
  text-align: center;
  padding: 10px 24px 0;
}
.recaptcha-notice a { color: inherit; text-decoration: underline; }
.recaptcha-notice a:hover { opacity: 1; color: var(--text); }
.footer-bottom-links { display: flex; gap: 24px; }
.footer-bottom-links a { font-size: .8rem; color: var(--text-muted); transition: color var(--transition); }
.footer-bottom-links a:hover { color: var(--text); }

/* ============================
   BACK TO TOP
   ============================ */
.back-to-top {
  position: fixed;
  bottom: 32px; right: 32px;
  width: 48px; height: 48px;
  background: var(--primary);
  border: none;
  border-radius: 50%;
  color: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(99,102,241,.4);
  transition: var(--transition);
  opacity: 0;
  transform: translateY(20px);
  pointer-events: none;
  z-index: 99;
}
.back-to-top svg { width: 20px; height: 20px; }
.back-to-top.visible { opacity: 1; transform: translateY(0); pointer-events: all; }
.back-to-top:hover { transform: translateY(-4px); box-shadow: 0 8px 30px rgba(99,102,241,.5); }

/* ============================
   ANIMATIONS
   ============================ */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity .6s ease, transform .6s ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ============================
   NAVBAR CALL BUTTON
   ============================ */
.btn-call-nav {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 18px;
  border-radius: 12px;
  font-size: .85rem;
  font-weight: 700;
  color: #fff;
  background: linear-gradient(135deg, #10b981, #059669);
  border: none;
  cursor: pointer;
  transition: var(--transition);
  white-space: nowrap;
  box-shadow: 0 4px 16px rgba(16,185,129,.3);
}
.btn-call-nav svg { width: 16px; height: 16px; flex-shrink: 0; }
.btn-call-nav:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(16,185,129,.45); }

/* ============================
   HERO CALL BUTTON
   ============================ */
.btn-call-hero {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 16px 28px;
  border-radius: 16px;
  background: linear-gradient(135deg, #10b981, #059669);
  color: #fff;
  font-weight: 700;
  font-size: 1rem;
  border: none;
  cursor: pointer;
  transition: var(--transition);
  position: relative;
  overflow: visible;
  box-shadow: 0 6px 30px rgba(16,185,129,.35);
  text-decoration: none;
}
.btn-call-hero svg { width: 22px; height: 22px; flex-shrink: 0; }
.btn-call-hero span { display: flex; flex-direction: column; }
.btn-call-hero strong { font-size: 1.1rem; line-height: 1.2; }
.btn-call-hero small { font-size: .72rem; font-weight: 400; opacity: .85; }
.btn-call-hero:hover { transform: translateY(-3px); box-shadow: 0 12px 40px rgba(16,185,129,.5); }

.btn-call-pulse {
  position: absolute;
  top: -4px; right: -4px;
  width: 14px; height: 14px;
  background: #fbbf24;
  border-radius: 50%;
  border: 2px solid var(--bg);
}
/* Hero : WhatsApp intégré au bouton téléphone (segment gauche fusionné — smartphone) */
.hero-cta-primary {
  display: flex;
  flex-direction: row;
  align-items: stretch;
  gap: 0;
  width: 100%;
}
/* Segment WhatsApp (gauche) — halo animé sur le conteneur .hero-cta-primary en mobile, pas ici */
.hero-wa-in-phone {
  display: none;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  min-width: 52px;
  padding: 0 10px;
  border-radius: 18px 0 0 18px;
  background: linear-gradient(145deg, #25d366, #17a34a);
  color: #fff;
  border: 2px solid rgba(255, 255, 255, 0.2);
  border-right-width: 0;
  box-shadow: none;
  text-decoration: none;
  transition: background 0.2s ease, filter 0.2s ease;
}
.hero-wa-in-phone svg {
  width: 26px;
  height: 26px;
}
.hero-wa-in-phone:focus-visible {
  outline: 2px solid rgba(255, 255, 255, 0.9);
  outline-offset: 2px;
  z-index: 1;
}

@media (min-width: 769px) {
  .hero-cta-primary {
    display: contents;
    gap: revert;
  }
  .hero-wa-in-phone {
    display: none !important;
  }
}

.btn-call-pulse::after {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  background: rgba(251,191,36,.4);
  animation: callPulse 1.5s ease-out infinite;
}
@keyframes callPulse {
  0% { transform: scale(1); opacity: 1; }
  100% { transform: scale(2.5); opacity: 0; }
}

/* ============================
   HERO SPLIT LAYOUT
   ============================ */
.hero-split {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr min(480px, 38vw);
  gap: 60px;
  align-items: center;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 24px;
}
.hero-left {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
/* Legacy */
.hero-content { grid-column: 1; }

.hero-visual {
  position: relative;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  grid-template-rows: auto auto auto;
  gap: 18px 0;
  align-items: center;
  justify-items: center;
  min-height: 360px;
}

.hv-card {
  background: var(--bg-3);
  border: 1px solid var(--border);
  border-radius: 16px;
  box-shadow: 0 8px 40px rgba(0,0,0,.5);
}

.hv-card-main {
  width: 340px;
  padding: 20px 24px;
  position: relative;
  z-index: 2;
  grid-column: 1 / -1;
  grid-row: 2;
  justify-self: center;
}

.hv-card-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--border);
}
.hv-dots { display: flex; gap: 5px; }
.hv-dots span {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: var(--border);
}
.hv-dots span:nth-child(1) { background: #ef4444; }
.hv-dots span:nth-child(2) { background: #f59e0b; }
.hv-dots span:nth-child(3) { background: #10b981; }
.hv-title { font-size: .78rem; color: var(--text-muted); font-family: monospace; }

.hv-lines { display: flex; flex-direction: column; gap: 10px; margin-bottom: 18px; }
.hv-line { font-size: .8rem; font-family: monospace; display: flex; align-items: center; gap: 8px; }
.hv-icon { width: 18px; text-align: center; font-style: normal; flex-shrink: 0; }
.hv-ok { color: #10b981; }
.hv-warn { color: #f59e0b; }
.hv-line--ok { color: #9aa3b2; }
.hv-line--warn { color: #f59e0b; }
.hv-line--scanning { color: var(--primary-light); }
.hv-scan::before { content: '⟳'; display: inline-block; animation: spin 1s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.hv-blink { animation: blink .8s step-end infinite; }
@keyframes blink { 50% { opacity: 0; } }

.hv-progress-bar {
  height: 4px;
  background: var(--bg-2);
  border-radius: 2px;
  overflow: hidden;
}
.hv-progress-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  border-radius: 2px;
  animation: progressAnim 3s ease-in-out infinite;
}
.hv-disclaimer {
  margin: 12px 0 0;
  font-size: .58rem;
  line-height: 1.4;
  color: rgba(148, 163, 184, 0.45);
  font-family: inherit;
  letter-spacing: 0.01em;
  text-align: center;
}
@keyframes progressAnim {
  0% { width: 0%; }
  60% { width: 85%; }
  80% { width: 85%; }
  100% { width: 0%; }
}

.hv-card-mini {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  position: relative;
  z-index: 1;
  white-space: nowrap;
}
.hv-card-mini svg { width: 22px; height: 22px; flex-shrink: 0; }
.hv-card-mini div { display: flex; flex-direction: column; }
.hv-card-mini strong { font-size: .82rem; }
.hv-card-mini span { font-size: .72rem; color: var(--text-muted); }
.hv-mini-1 {
  grid-column: 3;
  grid-row: 1;
  justify-self: end;
  animation: floatCard 4s ease-in-out infinite;
}
.hv-mini-2 {
  grid-column: 1;
  grid-row: 3;
  justify-self: start;
  animation: floatCard 4s ease-in-out infinite;
}

/* ============================
   WHY US – 4 CARDS WITH ICONS
   ============================ */
.why-grid-4 { grid-template-columns: repeat(4, 1fr); gap: var(--grid-gap); }
.why-icon {
  width: 56px; height: 56px;
  background: rgba(99,102,241,.1);
  border: 1px solid rgba(99,102,241,.2);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-light);
  margin-bottom: 20px;
  transition: background var(--transition), border-color var(--transition), color var(--transition), transform var(--transition);
}
.why-icon svg { width: 26px; height: 26px; }
.why-card:hover .why-icon {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
  transform: scale(1.08);
}
.why-card h3 { font-size: 1.08rem; margin-bottom: 12px; }

/* ============================
   GOOGLE REVIEWS
   ============================ */
.google-score {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-bottom: 48px;
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 16px 28px;
  max-width: 320px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 48px;
}
.google-logo { width: 28px; height: 28px; flex-shrink: 0; }
.google-score-info { display: flex; flex-direction: column; }
.google-stars-row { display: flex; align-items: center; gap: 8px; }
.google-stars { color: #f59e0b; font-size: 1.1rem; letter-spacing: 2px; }
.google-rating { font-weight: 800; font-size: 1.2rem; font-family: 'Space Grotesk', sans-serif; }
.google-count { font-size: .75rem; color: var(--text-muted); }

.review-header {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 16px;
}
.author-avatar-lg {
  width: 48px; height: 48px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
  display: block;
}
.author-avatar-lg svg { width: 100%; height: 100%; display: block; }
.review-header > div { flex: 1; }
.review-header strong { display: block; font-size: .95rem; }
.review-sub { font-size: .75rem; color: var(--text-muted); display: block; margin-bottom: 3px; }
.stars-sm { color: #f59e0b; font-size: .85rem; letter-spacing: 1px; }
.google-icon { width: 20px; height: 20px; flex-shrink: 0; margin-left: auto; }

/* ============================
   FAQ
   ============================ */
.faq-container { max-width: 780px; }
.faq-list { display: flex; flex-direction: column; gap: 8px; }
.faq-item {
  background: var(--bg-3);
  border: 1px solid var(--border);
  border-radius: 14px;
  overflow: hidden;
  transition: border-color var(--transition);
}
.faq-item.open { border-color: rgba(99,102,241,.35); }
.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 24px;
  background: none;
  border: none;
  color: var(--text);
  font-size: 1rem;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  text-align: left;
  transition: color var(--transition);
}
.faq-question:hover { color: var(--primary-light); }
.faq-question svg {
  width: 20px; height: 20px;
  flex-shrink: 0;
  color: var(--text-muted);
  transition: transform .3s ease, color .3s ease;
}
.faq-item.open .faq-question svg { transform: rotate(180deg); color: var(--primary-light); }
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height .4s ease, padding .3s ease;
  padding: 0 24px;
}
.faq-item.open .faq-answer { max-height: 300px; padding: 0 24px 20px; }
.faq-answer p { font-size: .95rem; color: var(--text-muted); line-height: 1.75; }
.faq-answer strong { color: var(--text); }

/* ============================
   TRUST BAR
   ============================ */
.trust-bar {
  background: var(--bg-2);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 18px 0;
}
.trust-bar-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  flex-wrap: wrap;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: .82rem;
  color: var(--text-muted);
  padding: 6px 24px;
}
.trust-item svg { width: 16px; height: 16px; color: var(--accent); flex-shrink: 0; }
.trust-item strong { color: var(--text); }
.trust-divider { width: 1px; height: 24px; background: var(--border); }

/* ============================
   HOW IT WORKS
   ============================ */
.steps-grid {
  display: flex;
  align-items: stretch;
  gap: 0;
}
.step-card {
  flex: 1;
  background: var(--bg-3);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 36px 32px;
  position: relative;
  transition: var(--transition);
}
.step-card:hover { border-color: rgba(99,102,241,.3); transform: translateY(-4px); }
.step-number {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 4rem;
  font-weight: 800;
  color: rgba(129, 140, 248, .28);
  line-height: 1;
  position: absolute;
  top: 20px; right: 24px;
  transition: color var(--transition);
}
.step-card:hover .step-number { color: rgba(165, 180, 252, .45); }
.step-icon {
  width: 52px; height: 52px;
  background: rgba(99,102,241,.1);
  border: 1px solid rgba(99,102,241,.2);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-light);
  margin-bottom: 20px;
}
.step-icon svg { width: 26px; height: 26px; }
.step-card h3 { font-size: 1.15rem; margin-bottom: 12px; }
.step-card p { font-size: .87rem; color: var(--text-muted); line-height: 1.7; margin-bottom: 20px; }

.step-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: .85rem;
  font-weight: 700;
  color: var(--accent);
  transition: gap var(--transition);
}
.step-cta svg { width: 16px; height: 16px; }
.step-cta:hover { gap: 10px; }

.step-badge {
  display: inline-block;
  font-size: .75rem;
  font-weight: 600;
  color: var(--primary-light);
  background: rgba(99,102,241,.1);
  border: 1px solid rgba(99,102,241,.2);
  padding: 4px 12px;
  border-radius: 999px;
}
.step-badge[style] {
  color: #10b981;
  background: rgba(16,185,129,.1);
  border-color: rgba(16,185,129,.2);
}

.step-connector {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  flex-shrink: 0;
  color: var(--border);
}
.step-connector svg { width: 24px; height: 24px; }

/* ============================
   CARD CTA
   ============================ */

/* ============================
   URGENCE SECTION
   ============================ */
.urgence-section {
  background: linear-gradient(135deg, rgba(16,185,129,.08) 0%, rgba(6,95,70,.15) 100%);
  border-top: 1px solid rgba(16,185,129,.15);
  border-bottom: 1px solid rgba(16,185,129,.15);
  padding: 80px 0;
}
.urgence-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 60px;
}
.urgence-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
}
.urgence-dot {
  width: 8px; height: 8px;
  background: var(--accent);
  border-radius: 50%;
  animation: pulse 1.5s infinite;
}
.urgence-text h2 { font-size: clamp(1.8rem, 3vw, 2.6rem); margin-bottom: 16px; }
.urgence-text p { color: var(--text-muted); font-size: .95rem; line-height: 1.7; max-width: 480px; }
.urgence-actions { display: flex; flex-direction: column; gap: 12px; align-items: flex-start; flex-shrink: 0; }

/* ============================
   MOBILE CALL BUTTON
   ============================ */
/* ============================
   WHATSAPP FLOATING BUTTON
   ============================ */
.wa-btn {
  position: fixed;
  bottom: 32px; left: 32px;
  z-index: 97;
  width: 56px; height: 56px;
  background: #25d366;
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(37,211,102,.45);
  transition: transform var(--transition), box-shadow 0.35s ease, bottom var(--transition);
  text-decoration: none;
  animation: waGlow 2.5s ease-out infinite;
}
.wa-btn svg {
  width: 30px;
  height: 30px;
  animation: waIconBob 2.8s ease-in-out infinite;
}
.wa-btn:hover {
  animation: none;
  transform: scale(1.1);
  box-shadow: 0 8px 32px rgba(37,211,102,.65);
}

/* Mentions légales & pages légales : pas de bouton WhatsApp flottant */
body.page-legal .wa-btn,
body.page-legal #waBtn,
body.shop-page .wa-btn,
body.shop-page #waBtn,
body.shop-page .mobile-call-btn {
  display: none !important;
  pointer-events: none !important;
  visibility: hidden !important;
}

.mobile-call-btn {
  display: none;
  position: fixed;
  bottom: 24px; left: 50%;
  transform: translateX(-50%);
  z-index: 97;
  background: linear-gradient(135deg, #10b981, #059669);
  color: #fff;
  border-radius: 999px;
  padding: 14px 28px;
  font-weight: 700;
  font-size: .95rem;
  align-items: center;
  gap: 10px;
  box-shadow: 0 8px 32px rgba(16,185,129,.5);
  text-decoration: none;
  transition: var(--transition);
}
.mobile-call-btn svg { width: 20px; height: 20px; }
.mobile-call-pulse {
  position: absolute;
  top: -4px; right: -4px;
  width: 12px; height: 12px;
  background: #fbbf24;
  border-radius: 50%;
  border: 2px solid var(--bg);
}
.mobile-call-pulse::after {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  background: rgba(251,191,36,.4);
  animation: callPulse 1.5s ease-out infinite;
}

/* ============================
   COOKIE CONSENT
   ============================ */
.prefs-scrim {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.5);
  backdrop-filter: blur(4px);
  z-index: 999;
  opacity: 0;
  pointer-events: none;
  transition: opacity .35s ease;
}
.prefs-scrim.visible { opacity: 1; pointer-events: all; }

/* --- Bannière principale --- */
.prefs-bar {
  position: fixed;
  bottom: 0;
  left: 0; right: 0;
  z-index: 1000;
  padding: 0 24px 24px;
  transform: translateY(calc(100% + 32px));
  transition: transform .45s cubic-bezier(.4,0,.2,1);
}
.prefs-bar.visible { transform: translateY(0); }

.prefs-bar-inner {
  background: var(--bg-3);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 28px 32px;
  display: flex;
  align-items: center;
  gap: 32px;
  max-width: 1100px;
  margin: 0 auto;
  box-shadow: 0 -4px 60px rgba(0,0,0,.5);
}

.prefs-bar-left {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  flex: 1;
  min-width: 0;
}

.prefs-emoji {
  font-size: 2.2rem;
  line-height: 1;
  flex-shrink: 0;
  animation: prefsEmojiBounce 2s ease-in-out infinite;
}
@keyframes prefsEmojiBounce {
  0%, 100% { transform: rotate(-5deg); }
  50% { transform: rotate(5deg); }
}

.prefs-bar-left h3 { font-size: 1rem; font-weight: 700; margin-bottom: 6px; }
.prefs-bar-left p { font-size: .82rem; color: var(--text-muted); line-height: 1.6; }
.prefs-bar-left a { color: var(--primary-light); text-decoration: underline; }

.prefs-bar-actions {
  display: flex;
  gap: 10px;
  flex-shrink: 0;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.btn-prefs-accept {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: #fff;
  padding: 10px 22px;
  border-radius: 10px;
  font-size: .85rem;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: var(--transition);
}
.btn-prefs-accept:hover { transform: translateY(-2px); box-shadow: 0 4px 16px rgba(99,102,241,.4); }

.btn-prefs-refuse {
  background: transparent;
  color: var(--text-muted);
  padding: 10px 22px;
  border-radius: 10px;
  font-size: .85rem;
  font-weight: 600;
  border: 1px solid var(--border);
  cursor: pointer;
  transition: var(--transition);
}
.btn-prefs-refuse:hover { border-color: rgba(255,255,255,.2); color: var(--text); }

.btn-prefs-settings {
  background: rgba(99,102,241,.1);
  color: var(--primary-light);
  padding: 10px 22px;
  border-radius: 10px;
  font-size: .85rem;
  font-weight: 600;
  border: 1px solid rgba(99,102,241,.25);
  cursor: pointer;
  transition: var(--transition);
}
.btn-prefs-settings:hover { background: rgba(99,102,241,.2); }

/* --- Panneau personnalisation --- */
.prefs-panel {
  position: fixed;
  top: 50%; left: 50%;
  transform: translate(-50%, -48%) scale(.95);
  z-index: 1001;
  width: min(580px, calc(100vw - 32px));
  max-height: 90vh;
  overflow-y: auto;
  background: var(--bg-3);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 32px;
  box-shadow: 0 24px 80px rgba(0,0,0,.6);
  opacity: 0;
  pointer-events: none;
  transition: opacity .3s ease, transform .3s ease;
}
.prefs-panel.visible {
  opacity: 1;
  pointer-events: all;
  transform: translate(-50%, -50%) scale(1);
}

/* Scrollbar du panneau (desktop) — discret, aligné sur la charte */
@media (min-width: 769px) {
  .prefs-panel {
    scrollbar-width: thin;
    scrollbar-color: rgba(129, 140, 248, 0.65) rgba(255, 255, 255, 0.06);
  }
  .prefs-panel::-webkit-scrollbar {
    width: 8px;
  }
  .prefs-panel::-webkit-scrollbar-track {
    margin: 14px 0;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 100px;
  }
  .prefs-panel::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, rgba(129, 140, 248, 0.85), rgba(99, 102, 241, 0.55));
    border-radius: 100px;
    border: 2px solid var(--bg-3);
    background-clip: padding-box;
  }
  .prefs-panel::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, var(--primary-light), var(--primary));
  }
}

.prefs-panel-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}
.prefs-panel-title {
  display: flex;
  align-items: center;
  gap: 10px;
}
.prefs-panel-title svg { width: 20px; height: 20px; color: var(--primary-light); }
.prefs-panel-title h3 { font-size: 1.1rem; font-weight: 700; }

.prefs-panel-close {
  width: 36px; height: 36px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: var(--bg-2);
  color: var(--text-muted);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
  flex-shrink: 0;
}
.prefs-panel-close svg { width: 16px; height: 16px; }
.prefs-panel-close:hover { background: var(--bg); color: var(--text); }

.prefs-panel-desc {
  font-size: .83rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 28px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border);
}
.prefs-panel-desc a { color: var(--primary-light); text-decoration: underline; }

/* Toggle items */
.prefs-toggles { display: flex; flex-direction: column; gap: 4px; margin-bottom: 28px; }

.prefs-toggle-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 18px 20px;
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: 12px;
  transition: border-color var(--transition);
}
.prefs-toggle-row:hover { border-color: rgba(99,102,241,.25); }
.prefs-toggle-required { opacity: .75; }

.prefs-toggle-info { flex: 1; min-width: 0; }
.prefs-toggle-label {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 5px;
}
.prefs-toggle-name { font-size: .9rem; font-weight: 600; }
.prefs-required-badge {
  font-size: .68rem;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--accent);
  background: rgba(16,185,129,.1);
  border: 1px solid rgba(16,185,129,.2);
  padding: 2px 8px;
  border-radius: 999px;
}
.prefs-toggle-info p { font-size: .8rem; color: var(--text-muted); line-height: 1.6; }

/* Toggle switch */
.toggle-switch { flex-shrink: 0; cursor: pointer; }
.toggle-switch input { display: none; }
.toggle-track {
  display: block;
  width: 46px; height: 26px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 999px;
  position: relative;
  transition: background .25s, border-color .25s;
}
.toggle-thumb {
  position: absolute;
  top: 3px; left: 3px;
  width: 18px; height: 18px;
  background: var(--text-muted);
  border-radius: 50%;
  transition: transform .25s, background .25s;
}
.toggle-switch input:checked + .toggle-track,
.toggle-track.active {
  background: var(--primary);
  border-color: var(--primary);
}
.toggle-switch input:checked + .toggle-track .toggle-thumb,
.toggle-track.active .toggle-thumb {
  transform: translateX(20px);
  background: #fff;
}
.toggle-locked { cursor: not-allowed; }

/* Panel footer */
.prefs-panel-footer {
  display: flex;
  gap: 10px;
  justify-content: flex-end;
  flex-wrap: wrap;
  padding-top: 20px;
  border-top: 1px solid var(--border);
}

/* Toast confirmation */
.prefs-toast {
  position: fixed;
  bottom: 32px; left: 50%;
  transform: translateX(-50%) translateY(20px);
  background: var(--bg-3);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 12px 24px;
  font-size: .85rem;
  font-weight: 500;
  color: var(--text);
  z-index: 1100;
  opacity: 0;
  box-shadow: 0 8px 32px rgba(0,0,0,.4);
  transition: opacity .3s ease, transform .3s ease;
  white-space: nowrap;
}
.prefs-toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }

/* Bouton rouvrir */
.prefs-fab {
  position: fixed;
  bottom: 32px; right: 32px;
  width: 42px; height: 42px;
  border-radius: 50%;
  background: var(--bg-3);
  border: 1px solid var(--border);
  font-size: 1.2rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 98;
  opacity: 0;
  transform: scale(.8);
  pointer-events: none;
  transition: var(--transition);
  box-shadow: 0 4px 20px rgba(0,0,0,.3);
}
.prefs-fab.visible { opacity: 1; transform: scale(1); pointer-events: all; }
.prefs-fab:hover { transform: scale(1.1); border-color: var(--primary); }

/* ============================
   RESPONSIVE
   ============================ */
/* ============================
   LAPTOP 15–16" (hauteur ~800–960px)
   ============================ */
@media (max-height: 960px) and (min-width: 769px) {
  /* Topbar + navbar plus compacts */
  .topbar { padding: 4px 0; }
  .navbar { top: 28px; padding: 10px 0; }
  .navbar.scrolled { padding: 8px 0; }

  /* Hero : plus de min-height forcé, paddings réduits */
  .hero {
    padding-top: 90px;
    padding-bottom: 32px;
    min-height: auto;
  }
  .hero-badge { margin-bottom: 14px; font-size: .78rem; padding: 4px 14px; }
  .hero-title { font-size: clamp(1.7rem, 3.2vw, 2.6rem); margin-bottom: 12px; }
  .hero-desc { font-size: .9rem; margin-bottom: 22px; line-height: 1.65; }
  .hero-actions { margin-bottom: 28px; gap: 12px; }
  .hero-stats { gap: 18px; }
  .stat-num { font-size: 1.35rem; }
  .stat-label { font-size: .75rem; }

  /* Hero visual : bulles sous le cadre (évite le bouton Appeler du header) */
  .hero-visual {
    min-height: auto;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto auto;
    gap: 14px;
    align-items: start;
  }
  .hv-card-main {
    grid-column: 1 / -1;
    grid-row: 1;
  }
  .hv-mini-1 {
    grid-column: 2;
    grid-row: 2;
    justify-self: end;
    align-self: start;
  }
  .hv-mini-2 {
    grid-column: 1;
    grid-row: 2;
    justify-self: start;
    align-self: start;
  }

  /* Trust bar plus fine */
  .trust-bar { padding: 10px 0; }
  .trust-item { font-size: .82rem; gap: 7px; }
  .trust-item svg { width: 15px; height: 15px; }

  /* Sections légèrement réduites */
  .section { padding: 64px 0; }
  .section-header { margin-bottom: 40px; }
  .section-header h2 { font-size: clamp(1.5rem, 2.5vw, 2rem); }
}

/* Hero visual — écrans moyens : mini-cartes alignées sous le cadre */
@media (min-width: 1025px) and (max-width: 1536px) {
  .hero-visual {
    min-height: auto;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto auto;
    gap: 14px;
    align-items: start;
  }

  .hv-card-main {
    grid-column: 1 / -1;
    grid-row: 1;
    width: min(340px, 100%);
    justify-self: center;
  }

  .hv-mini-1,
  .hv-mini-2 {
    grid-row: 2;
    align-self: start;
    animation: floatCard 4s ease-in-out infinite;
  }

  .hv-mini-1 {
    grid-column: 2;
    justify-self: end;
  }

  .hv-mini-2 {
    grid-column: 1;
    justify-self: start;
  }
}

/* ============================
   TARIFS + CONTACT compacts (laptop 15-16")
   ============================ */
@media (max-height: 960px) and (min-width: 769px) {
  /* Services */
  .service-card { padding: 22px 24px; }
  .card-icon { width: 42px; height: 42px; border-radius: 11px; margin-bottom: 14px; }
  .card-icon svg { width: 21px; height: 21px; }
  .service-card h3 { font-size: 1rem; margin-bottom: 7px; }
  .service-card p { font-size: .88rem; margin-bottom: 14px; line-height: 1.6; }
  .card-list { gap: 5px; }
  .card-list li { font-size: .84rem; }

  /* À propos */
  .about-grid { gap: 48px; }
  .about-img-wrapper { width: 260px; height: 260px; }
  .about-text h2 { font-size: clamp(1.4rem, 2.5vw, 2rem); margin-bottom: 12px; }
  .about-text p { font-size: .9rem; line-height: 1.65; margin-bottom: 10px; }
  .about-values { gap: 12px; margin: 18px 0; }
  .value-icon { width: 36px; height: 36px; font-size: 1.1rem; border-radius: 9px; }
  .value-item { gap: 12px; }
  .value-item div strong { font-size: .88rem; }
  .value-item div p { font-size: .8rem; }
  .about-card-float { padding: 9px 13px; }
  .about-card-float svg { width: 22px; height: 22px; }
  .about-card-float strong { font-size: .78rem; }
  .about-card-float span { font-size: .68rem; }

  /* Nos différences */
  .why-card { padding: 22px 24px; }
  .why-icon { width: 44px; height: 44px; border-radius: 12px; margin-bottom: 14px; }
  .why-icon svg { width: 21px; height: 21px; }
  .why-num { font-size: 2.2rem; margin-bottom: 10px; }
  .why-card h3 { font-size: .97rem; margin-bottom: 8px; }
  .why-card p { font-size: .87rem; line-height: 1.6; }
  .why-grid { gap: 18px; }
  .why-grid-4 { gap: 18px; }

  /* Tarifs */
  .tarif-card { padding: 28px 24px; }
  .price-num { font-size: 2.6rem; }
  .price-unit { font-size: .95rem; }
  .tarif-desc { font-size: .88rem; margin-bottom: 18px; line-height: 1.6; }
  .tarif-list { gap: 8px; margin-bottom: 22px; }
  .tarif-list li { font-size: .88rem; }
  .tarif-notes { margin-top: 8px; margin-bottom: 28px; }
  .tarif-note-top { padding: 7px 8px; font-size: .7rem; }

  /* Contact */
  .contact-grid { gap: 48px; }
  .contact-info h2 { font-size: clamp(1.4rem, 2.5vw, 1.9rem); margin-bottom: 12px; }
  .contact-info > p { margin-bottom: 24px; font-size: .9rem; }
  .contact-grid { gap: 36px; }
  .contact-info h2 { font-size: clamp(1.25rem, 2.2vw, 1.7rem); margin-bottom: 8px; }
  .contact-info > p { margin-bottom: 16px; font-size: .85rem; }
  .contact-items { gap: 8px; }
  .contact-item-icon { width: 34px; height: 34px; border-radius: 9px; }
  .contact-item-icon svg { width: 15px; height: 15px; }
  .contact-item strong { font-size: .82rem; }
  .contact-item span { font-size: .77rem; }
  .contact-form { padding: 22px; }
  .form-group { gap: 4px; margin-bottom: 10px; }
  .form-group label { font-size: .75rem; }
  .form-group input,
  .form-group select,
  .form-group textarea { padding: 8px 12px; font-size: .85rem; }
  .form-group textarea { min-height: 80px; }
  .form-note { font-size: .72rem; margin-top: 6px; }
}

/* Laptop petit écran (800px de hauteur ou moins) */
@media (max-height: 800px) and (min-width: 769px) {
  .hero {
    padding-top: 80px;
    padding-bottom: 24px;
  }
  .hero-badge { margin-bottom: 10px; }
  .hero-title { font-size: clamp(1.5rem, 3vw, 2.2rem); margin-bottom: 10px; }
  .hero-desc { font-size: .87rem; margin-bottom: 18px; }
  .hero-actions { margin-bottom: 22px; }
  .hero-actions .btn { padding: 10px 20px; font-size: .88rem; }
  .stat-num { font-size: 1.2rem; }

  /* Services encore plus serrés */
  .service-card { padding: 18px 20px; }
  .card-icon { width: 36px; height: 36px; margin-bottom: 10px; }

  /* À propos encore plus serré */
  .about-img-wrapper { width: 220px; height: 220px; }
  .about-values { gap: 9px; margin: 14px 0; }

  /* Nos différences encore plus serrées */
  .why-card { padding: 18px 20px; }
  .why-icon { width: 38px; height: 38px; }
  .why-num { font-size: 2rem; margin-bottom: 8px; }
  .why-grid { gap: 14px; }
  .why-grid-4 { gap: 14px; }

  /* Tarifs encore plus serrés */
  .tarif-card { padding: 22px 20px; }
  .price-num { font-size: 2.2rem; }
  .tarif-list { gap: 6px; margin-bottom: 16px; }

  /* Contact encore plus serré */
  .contact-grid { gap: 24px; }
  .contact-items { gap: 6px; }
  .contact-form { padding: 18px; }
  .form-group { margin-bottom: 8px; }
  .form-group input,
  .form-group select,
  .form-group textarea { padding: 7px 11px; }
  .form-group textarea { min-height: 65px; }
}

@media (max-width: 1024px) {
  .hero-split { grid-template-columns: 1fr; }
  .hero-visual { display: none; }
  .services-grid,
  .why-grid,
  .why-grid-4,
  .tarif-grid,
  .testimonials-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-inner { grid-template-columns: 1fr 1fr; gap: 40px; }
  .about-grid, .contact-grid { grid-template-columns: 1fr; }
  .about-visual { display: none; }
}

/* ============================================================
   GRANDS ÉCRANS  (27" — 1400px et plus)
   ============================================================ */
@media (min-width: 1400px) {
  :root {
    --container-max: 1320px;
    --section-y: 112px;
    --grid-gap: 28px;
  }

  .container { padding: 0 40px; }
  .hero-split { padding: 0 40px; gap: 72px; }

  .section-header { max-width: 720px; margin-bottom: 72px; }
  .section-header h2 { font-size: clamp(2rem, 2.4vw, 3rem); }
  .section-header p { font-size: 1.12rem; }

  .hero-title { font-size: clamp(2.4rem, 3.2vw, 4rem); }
  .hero-desc { font-size: 1.18rem; max-width: 620px; }
  .hero-stats { gap: 40px; }
  .stat-num { font-size: 2rem; }

  .services-grid,
  .why-grid,
  .why-grid-4,
  .tarif-grid,
  .testimonials-grid { gap: var(--grid-gap); }

  .service-card,
  .why-card,
  .tarif-card,
  .testimonial-card { padding: 36px; }

  .about-grid { gap: 96px; }
  .about-img-wrapper { width: 380px; height: 380px; }
  .contact-grid { gap: 96px; }

  .faq-container { max-width: 860px; }
  .steps-grid .step-card { padding: 40px 36px; }

  .footer-inner { gap: 72px; }
  .brands-logos { gap: 64px; }
  .trust-item { padding: 6px 32px; font-size: .88rem; }

  .nav-links { gap: 28px; }
  .logo-img { height: 66px; }
}

@media (min-width: 1600px) {
  :root {
    --container-max: 1440px;
    --section-y: 120px;
    --grid-gap: 32px;
  }

  html { font-size: 17px; }

  .hero-split {
    grid-template-columns: 1fr min(540px, 36vw);
    gap: 88px;
  }

  .hero-visual { min-height: 400px; }
  .hv-card-main { width: 380px; padding: 24px 28px; }
  .hv-line { font-size: .85rem; }

  .hero { padding: 240px 0 96px; }
  .blob-1 { width: 720px; height: 720px; }
  .blob-2 { width: 480px; height: 480px; }
  .grid-overlay { background-size: 72px 72px; }

  .section-header { max-width: 780px; margin-bottom: 80px; }
  .section-header h2 { font-size: clamp(2.1rem, 2.2vw, 3.2rem); }

  .about-grid { gap: 112px; }
  .about-img-wrapper { width: 420px; height: 420px; }
  .contact-grid { gap: 112px; }
  .contact-form { padding: 48px; }

  .urgence-inner { gap: 80px; }
  .urgence-text h2 { font-size: clamp(2rem, 2.5vw, 3rem); }

  .price-num { font-size: 3.75rem; }
  .tarif-card { padding: 44px 40px; }

  .sticky-cta-inner { gap: 28px; }
  .sticky-cta-text { font-size: .95rem; }

  .logo-img { height: 70px; }
  .nav-links a:not(.btn):not(.btn-assist-nav):not(.nav-shop-link) { font-size: .92rem; }

  .footer-inner { grid-template-columns: 2.2fr 1fr 1fr 1.3fr; gap: 80px; }
  .footer-brand p { max-width: 300px; }
}

@media (min-width: 1920px) {
  :root {
    --container-max: 1580px;
    --section-y: 128px;
    --grid-gap: 36px;
  }

  .hero-split {
    grid-template-columns: 1fr min(580px, 34vw);
    gap: 100px;
  }

  .hero-visual { min-height: 440px; }
  .hv-card-main { width: 400px; }
  .hv-card-mini strong { font-size: .88rem; }
  .hv-card-mini span { font-size: .78rem; }

  .hero-title { font-size: clamp(2.6rem, 2.8vw, 4.2rem); letter-spacing: -.035em; }
  .hero-desc { font-size: 1.22rem; max-width: 680px; line-height: 1.85; }

  .hero-actions { gap: 20px; margin-bottom: 60px; }
  .btn-call-hero { padding: 18px 32px; }
  .btn-call-hero strong { font-size: 1.15rem; }

  .section-header h2 { font-size: 3.2rem; }
  .section-header p { font-size: 1.15rem; max-width: 640px; margin-left: auto; margin-right: auto; }

  .service-card h3,
  .why-card h3 { font-size: 1.15rem; }
  .service-card p,
  .why-card p { font-size: 1rem; }

  .about-text h2 { font-size: clamp(2rem, 2.5vw, 2.8rem); }
  .about-text p { font-size: 1.02rem; }

  .faq-container { max-width: 920px; }
  .faq-question { padding: 22px 28px; font-size: 1.05rem; }

  .testimonial-card > p { font-size: 1rem; }

  .prefs-bar-inner { max-width: 1280px; padding: 32px 40px; }

  .back-to-top,
  .wa-btn { width: 52px; height: 52px; }
  .wa-btn svg { width: 28px; height: 28px; }
}

@media (min-width: 2560px) {
  :root {
    --container-max: 1720px;
    --section-y: 140px;
    --grid-gap: 40px;
  }

  html { font-size: 18px; }

  .container { padding: 0 48px; }
  .hero-split { padding: 0 48px; gap: 120px; }

  .hero-split {
    grid-template-columns: 1fr min(640px, 32vw);
  }

  .hero-visual { min-height: 480px; }
  .hv-card-main { width: 440px; padding: 28px 32px; }

  .section-header { max-width: 840px; }
  .section-header h2 { font-size: 3.4rem; }

  .about-img-wrapper { width: 460px; height: 460px; }

  .steps-grid .step-number { font-size: 4.5rem; }

  .logo-img { height: 74px; }
  .logo { font-size: 1.35rem; }

  /* Évite des lignes de texte trop longues dans les cartes larges */
  .service-card p,
  .why-card p,
  .tarif-desc { max-width: 42ch; }

  /* Page mentions légales */
  body.page-legal .legal-layout {
    grid-template-columns: 300px 1fr;
    gap: 88px;
  }
  body.page-legal .legal-hero { padding: 200px 0 80px; }
  body.page-legal .legal-hero h1 { font-size: 3.2rem; }
}

/* ============================================================
   MOBILE  (≤ 768px)
   ============================================================ */
@media (max-width: 768px) {

  /* ── Topbar ── */
  .topbar { display: none; }          /* inutile sur mobile, retire le bruit */

  /* ── Navbar ── */
  .navbar { top: 0; }
  .btn-call-nav { display: none; }
  .burger { display: flex; z-index: 100; }
  body.menu-open { overflow: hidden; }
  /* Menu desktop caché sur mobile */
  .nav-links-desktop { display: none !important; }

  /* Menu mobile — élément indépendant hors de la navbar */
  .nav-mobile {
    display: flex;
    position: fixed;
    inset: 0;
    background: #0a0a10;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    padding-top: 88px;
    gap: 32px;
    transform: translateX(100%);
    transition: transform .3s ease;
    z-index: 200;
  }
  .nav-mobile.open { transform: translateX(0); }
  .nav-mobile a:not(.btn):not(.nav-shop-link) { font-size: 1.4rem; font-weight: 600; color: var(--text); text-decoration: none; }
  .nav-mobile .nav-shop-link {
    font-size: 1.05rem;
    padding: 11px 22px;
    gap: 7px;
    margin: 0 0 4px;
    box-shadow: 0 4px 16px rgba(99,102,241,.42), inset 0 1px 0 rgba(255,255,255,.12);
  }
  .nav-mobile .nav-shop-link svg {
    width: 17px;
    height: 17px;
  }
  .nav-mobile .btn-call-nav { display: none; }
  .burger { z-index: 201; }
  .nav-mobile-close {
    position: absolute;
    top: 20px; right: 20px;
    background: none;
    border: 1px solid var(--border);
    border-radius: 50%;
    width: 44px; height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: var(--text);
  }
  .nav-mobile-close svg { width: 20px; height: 20px; }

  /* ── Bouton d'appel fixe ── */
  .mobile-call-btn { display: none; }

  /* ── Hero ── */
  .hero {
    padding-top: 96px;
    padding-bottom: 56px;
    min-height: auto;
    text-align: center;
  }
  .hero-left { align-items: center; }
  .hero-badge { font-size: .72rem; padding: 5px 12px; margin-top: 10px; margin-bottom: 18px; white-space: nowrap; }
  .badge-text-desktop { display: none; }
  .badge-text-mobile  { display: inline; }
  .hero-title {
    font-size: clamp(1.9rem, 7vw, 2.6rem);
    margin-bottom: 16px;
    line-height: 1.25;
  }
  .hero-desc { font-size: .97rem; line-height: 1.7; margin-bottom: 24px; }
  .hero-actions {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
    margin-bottom: 36px;
    width: 100%;
  }
  .hero-actions .btn { width: 100%; justify-content: center; font-size: 1rem; padding: 14px 20px; }
  /* Téléphone + WhatsApp : un seul bloc arrondi (segment WA + appel) */
  .hero-cta-primary {
    flex-direction: row;
    align-items: stretch;
    gap: 0;
    border-radius: 18px;
    overflow: visible;
    transition: transform 0.25s ease, filter 0.25s ease;
  }
  /* Halo pulsé sur tout le bloc (WA + téléphone), comme l’ancien rond / sticky */
  .hero-cta-primary:has(.hero-wa-in-phone[style*="inline-flex"]),
  .hero-cta-primary:has(.hero-wa-in-phone[style*="flex"]) {
    animation: waGlowSoft 2.6s ease-out infinite;
  }
  .hero-cta-primary:has(.hero-wa-in-phone[style*="inline-flex"]):hover,
  .hero-cta-primary:has(.hero-wa-in-phone[style*="flex"]):hover {
    animation: none;
    transform: translateY(-3px);
    box-shadow: 0 12px 40px rgba(16, 185, 129, 0.45);
    filter: brightness(1.04);
  }
  .hero-cta-primary:has(.hero-wa-in-phone[style*="inline-flex"]):active,
  .hero-cta-primary:has(.hero-wa-in-phone[style*="flex"]):active {
    transform: translateY(-1px);
  }
  .hero-cta-primary .hero-phone-part.btn-call-hero {
    width: auto;
    flex: 1;
    min-width: 0;
    max-width: none;
    justify-content: center;
    padding: 14px 16px;
    border-radius: 18px;
    box-shadow: 0 6px 30px rgba(16, 185, 129, 0.35);
  }
  .hero-cta-primary:has(.hero-wa-in-phone[style*="inline-flex"]) .hero-phone-part.btn-call-hero,
  .hero-cta-primary:has(.hero-wa-in-phone[style*="flex"]) .hero-phone-part.btn-call-hero {
    border-radius: 0 18px 18px 0;
    padding-left: 12px;
    border-left: 1px solid rgba(255, 255, 255, 0.18);
    box-shadow: none;
  }
  .hero-cta-primary:has(.hero-wa-in-phone[style*="inline-flex"]) .hero-phone-part.btn-call-hero:hover,
  .hero-cta-primary:has(.hero-wa-in-phone[style*="flex"]) .hero-phone-part.btn-call-hero:hover {
    transform: none;
    box-shadow: none;
  }
  .hero-cta-primary:has(.hero-wa-in-phone[style*="inline-flex"]) .hero-wa-in-phone,
  .hero-cta-primary:has(.hero-wa-in-phone[style*="flex"]) .hero-wa-in-phone {
    align-self: stretch;
  }
  .hero-stats {
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px 24px;
  }
  .stat-divider { display: none; }
  .stat-item { text-align: center; }

  /* ── Téléassistance TeamViewer : masqué sur smartphone ── */
  #teamviewer { display: none !important; }
  .footer-link-tv { display: none !important; }

  /* ── Trust bar ── */
  .trust-bar { padding: 10px 0; }
  .trust-bar-inner {
    display: flex;
    flex-direction: column;
    gap: 6px;
    overflow-x: unset;
    flex-wrap: unset;
    justify-content: unset;
    align-items: stretch;
  }
  .trust-divider { display: none; }
  .trust-item {
    flex-shrink: unset;
    padding: 9px 16px;
    font-size: .82rem;
    white-space: normal;
    background: rgba(255,255,255,.04);
    border: 1px solid var(--border);
    border-radius: 10px;
    justify-content: flex-start;
    text-align: left;
    flex-direction: row;
    gap: 10px;
  }
  .trust-item svg { width: 16px; height: 16px; flex-shrink: 0; }

  /* ── Sections ── */
  .section { padding: 56px 0; }
  .section-header { margin-bottom: 36px; }
  .section-header h2 { font-size: 1.75rem; }
  .section-header .h2-nowrap { white-space: normal; font-size: 1.65rem; }
  .section-header p { font-size: .95rem; }
  .container { padding-left: 20px; padding-right: 20px; }

  /* ── Grilles → 1 colonne ── */
  .services-grid,
  .why-grid,
  .why-grid-4,
  .tarif-grid,
  .testimonials-grid { grid-template-columns: 1fr; gap: 16px; }

  /* ── Cartes services & différences ── */
  .service-card,
  .why-card {
    padding: 22px 18px;
    border-radius: 14px;
  }
  .card-icon { width: 44px; height: 44px; margin-bottom: 14px; }
  .service-card h3,
  .why-card h3 { font-size: 1.05rem; }
  .service-card p,
  .why-card p { font-size: .9rem; line-height: 1.65; }

  /* ── Tarifs ── */
  .tarif-card { padding: 24px 18px; border-radius: 14px; }
  .tarif-label { font-size: .75rem; }
  .price-num { font-size: 2.8rem; }
  .tarif-fr-note { font-size: .63rem; padding: 6px 7px; gap: 4px; }
  .tarif-fr-note svg { width: 12px; height: 12px; }
  .tarif-card-footer { padding-top: 20px; gap: 10px; }
  .tarif-desc { font-size: .88rem; margin-bottom: 18px; }
  .tarif-list li { font-size: .9rem; }

  /* ── À propos ── */
  .about-text h2 { font-size: 1.7rem; margin-bottom: 14px; }
  .about-text p { font-size: .92rem; line-height: 1.7; }
  .about-values { gap: 14px; margin: 20px 0; }
  .value-item div strong { font-size: .9rem; }
  .value-item div p { font-size: .82rem; }

  /* ── Steps (Comment ça marche) ── */
  .steps-grid { flex-direction: column; gap: 16px; }
  .step-connector { display: none; }
  .step-card { padding: 26px 22px; border-radius: 14px; }
  .step-number {
    font-size: 3.4rem;
    color: rgba(165, 180, 252, .38);
    top: 16px;
    right: 18px;
  }
  .step-card:active .step-number { color: rgba(199, 210, 254, .52); }

  /* ── Urgence ── */
  .urgence-section { padding: 48px 0; }
  .urgence-inner { flex-direction: column; gap: 28px; text-align: center; }
  .urgence-text h2 { font-size: 1.7rem; }
  .urgence-text p { font-size: .92rem; }
  .urgence-actions { width: 100%; display: flex; flex-direction: column; gap: 12px; }
  .urgence-actions .btn-call-hero,
  .urgence-actions .btn-ghost { width: 100%; justify-content: center; }

  /* ── Testimonials ── */
  .testimonial-card { padding: 22px 18px; border-radius: 14px; }

  /* ── FAQ ── */
  .faq-question { padding: 16px 16px; font-size: .97rem; min-height: 56px; }
  .faq-answer p { font-size: .9rem; line-height: 1.7; }

  /* ── Contact ── */
  .contact-info h2 { font-size: 1.7rem; }
  .contact-form { padding: 22px 16px; border-radius: 14px; }
  .form-row { grid-template-columns: 1fr; }
  .form-group { margin-bottom: 14px; }
  .form-group label { font-size: .8rem; }
  .form-group input,
  .form-group select,
  .form-group textarea { font-size: 16px; padding: 12px 14px; } /* 16px évite le zoom iOS */
  .form-group textarea { min-height: 100px; }

  /* ── Footer ── */
  .footer-inner { grid-template-columns: 1fr; gap: 28px; }
  .footer-bottom .container { flex-direction: column; text-align: center; gap: 6px; }
  .footer-cr-desktop { display: none !important; }
  .footer-cr-mobile { display: flex !important; }
  .footer-col h4 { font-size: .9rem; }

  /* ── Boutons flottants ── */
  .back-to-top { bottom: 24px; right: 16px; width: 44px; height: 44px; }
  /* Doublon évité sur l’accueil : WhatsApp est dans le hero (#heroWa) */
  body:has(#heroWa) .wa-btn,
  body:has(#heroWa) #waBtn {
    display: none !important;
    pointer-events: none !important;
  }

  /* ── Tarif notes (sous Particuliers / Pro) ── */
  .tarif-notes { gap: 8px; margin-top: 4px; margin-bottom: 0; }
  .tarif-note-top { display: none; }
  .tarif-chips {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
  }
  .tarif-chip {
    display: inline-flex;
    align-items: flex-start;
    gap: 4px;
    font-size: .63rem;
    font-weight: 500;
    color: var(--primary-light);
    background: rgba(99,102,241,.1);
    border: 1px solid rgba(99,102,241,.25);
    border-radius: 12px;
    padding: 6px 7px;
    white-space: normal;
    line-height: 1.28;
    letter-spacing: -0.02em;
  }
  .tarif-chip svg { width: 12px; height: 12px; flex-shrink: 0; margin-top: 1px; }
  /* Bloc géoloc : sous les chips, au-dessus de la section suivante — zone de tap + marge safe / barres flottantes */
  .tarif-geo-wrap {
    margin-top: 28px;
    padding-top: 20px;
    padding-bottom: max(28px, env(safe-area-inset-bottom, 0px));
    max-width: 100%;
  }
  .tarif-geo-btn {
    font-size: 0.82rem;
    min-height: 44px;
    padding: 12px 20px;
    width: 100%;
    max-width: 340px;
    box-sizing: border-box;
  }
  .tarif-geo-help { font-size: 0.68rem; max-width: none; line-height: 1.5; color: rgba(148, 163, 184, 0.58); }
  .tarif-geo-result__line { font-size: 0.66rem; }
  .tarif-geo-result__sub { font-size: 0.6rem; }
  .tarif-geo-result__legal { font-size: 0.58rem; max-width: none; }

  /* ── Cookie banner ── */
  .prefs-bar { padding: 0 10px 12px; }
  .prefs-bar-inner {
    flex-direction: column;
    gap: 12px;
    padding: 18px 14px;
    max-height: 80vh;
    overflow-y: auto;
    border-radius: 16px;
  }
  .prefs-emoji { font-size: 1.5rem; }
  .prefs-bar-left { gap: 12px; }
  .prefs-bar-left h3 { font-size: .92rem; margin-bottom: 4px; }
  .prefs-bar-left p { font-size: .78rem; line-height: 1.5; }
  .prefs-bar-actions { width: 100%; flex-direction: column; gap: 8px; }
  .prefs-bar-actions .btn-prefs-accept,
  .prefs-bar-actions .btn-prefs-refuse,
  .prefs-bar-actions .btn-prefs-settings {
    width: 100%;
    text-align: center;
    padding: 11px 16px;
    font-size: .82rem;
  }
  /* Panneau personnalisation */
  .prefs-panel { padding: 20px 14px; max-height: 90vh; }
  .prefs-panel-header { margin-bottom: 12px; }
  .prefs-toggle-row { padding: 14px 14px; }
  .prefs-toggle-info strong { font-size: .88rem; }
  .prefs-toggle-info p { font-size: .75rem; }
  .prefs-panel-footer { flex-direction: column; gap: 8px; }
  .prefs-panel-footer button { width: 100%; text-align: center; }
  /* Bouton rouvrir les préférences (mobile) — pas de !important : le JS masque la pastille quand la barre sticky est visible */
  .prefs-fab {
    display: flex;
    bottom: 24px;
    right: 12px;
    left: auto;
    width: 38px;
    height: 38px;
    font-size: 1rem;
  }
}

/* ============================================================
   PETIT MOBILE  (≤ 400px)
   ============================================================ */
@media (max-width: 400px) {
  .hero-title { font-size: 1.7rem; }
  .section-header h2 { font-size: 1.5rem; }
  .price-num { font-size: 2.4rem; }
  .container { padding-left: 16px; padding-right: 16px; }
}


/* ============================
   STICKY DESKTOP CTA
   ============================ */
.sticky-cta {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  background: rgba(13,17,23,.97);
  border-top: 1px solid rgba(99,102,241,.25);
  backdrop-filter: blur(16px);
  z-index: 90;
  padding: 12px 0;
  transform: translateY(100%);
  transition: transform .4s cubic-bezier(.4,0,.2,1);
  box-shadow: 0 -4px 30px rgba(0,0,0,.4);
}
.sticky-cta.visible { transform: translateY(0); }

.sticky-cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.sticky-cta-text {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: .9rem;
  color: var(--text-muted);
}
.sticky-cta-text svg { width: 18px; height: 18px; color: var(--accent); flex-shrink: 0; }
.sticky-cta-text strong { color: var(--text); }
.sticky-cta-btn { font-size: .88rem; padding: 10px 22px; }

.sticky-wa-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #25d366;
  color: #fff;
  font-size: .85rem;
  font-weight: 700;
  padding: 9px 18px;
  border-radius: var(--radius-sm);
  white-space: nowrap;
  flex-shrink: 0;
  transition: background var(--transition), transform var(--transition), box-shadow 0.35s ease;
  box-shadow: 0 2px 14px rgba(37,211,102,.35);
  animation: waGlowSoft 2.6s ease-out infinite;
}
.sticky-wa-btn svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  animation: waIconBob 2.8s ease-in-out infinite;
}
.sticky-wa-btn:hover {
  animation: none;
  background: #1ebe5c;
  transform: translateY(-1px);
  box-shadow: 0 6px 22px rgba(37,211,102,.5);
}

@keyframes waGlow {
  0%, 100% {
    box-shadow: 0 4px 20px rgba(37,211,102,.45), 0 0 0 0 rgba(37,211,102,0.5);
  }
  55% {
    box-shadow: 0 4px 22px rgba(37,211,102,.5), 0 0 0 12px rgba(37,211,102,0);
  }
}
@keyframes waGlowSoft {
  0%, 100% {
    box-shadow: 0 2px 14px rgba(37,211,102,.35), 0 0 0 0 rgba(37,211,102,0.4);
  }
  55% {
    box-shadow: 0 3px 18px rgba(37,211,102,.42), 0 0 0 8px rgba(37,211,102,0);
  }
}
@keyframes waIconBob {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-2px); }
}

/* Sticky CTA sur smartphone : même barre (fond, bordure, flou) — mise en page adaptée */
@media (max-width: 768px) {
  .sticky-cta {
    padding: 10px 0;
    padding-bottom: max(10px, env(safe-area-inset-bottom, 0px));
  }
  .sticky-cta-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto auto;
    gap: 8px 10px;
    align-items: stretch;
  }
  .sticky-cta-text {
    grid-column: 1 / -1;
    grid-row: 1;
    font-size: 0.68rem;
    line-height: 1.3;
    justify-content: center;
    text-align: center;
    gap: 6px;
    padding: 0 4px;
  }
  .sticky-cta-text svg {
    width: 13px;
    height: 13px;
    flex-shrink: 0;
  }
  .sticky-cta-text strong {
    font-weight: 700;
  }
  /* Bouton appel : numéro lisible ; retour à la ligne si demi-grille (WhatsApp à côté) */
  .sticky-cta .sticky-cta-btn.btn-call-hero {
    overflow: hidden;
    gap: 6px;
    padding: 10px 8px;
    font-size: 0.8rem;
    border-radius: 12px;
    min-width: 0;
    width: 100%;
    min-height: 48px;
    justify-content: center;
    align-items: center;
  }
  .sticky-cta .sticky-cta-btn.btn-call-hero svg {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
  }
  .sticky-cta .sticky-cta-btn.btn-call-hero [data-c="phone"] {
    flex: 1 1 auto;
    min-width: 0;
    max-width: 100%;
    display: block;
    overflow: visible;
    white-space: normal;
    overflow-wrap: break-word;
    word-break: normal;
    line-height: 1.2;
    font-size: clamp(0.8rem, 3.2vw, 0.92rem);
    letter-spacing: 0;
    text-align: center;
  }
  .sticky-cta .sticky-cta-btn .btn-call-pulse {
    top: 4px;
    right: 4px;
    width: 9px;
    height: 9px;
    border-width: 1px;
  }
  /* Par défaut : une seule action (appel) sur toute la ligne — WhatsApp masqué dans le HTML si pas de numéro */
  .sticky-cta-btn {
    grid-column: 1 / -1;
    grid-row: 2;
    justify-content: center;
    font-size: 0.82rem;
    padding: 10px 14px;
    min-width: 0;
  }
  .sticky-wa-btn {
    grid-column: 1;
    grid-row: 2;
    justify-content: center;
    padding: 10px 12px;
    font-size: 0.8rem;
    min-width: 0;
  }
  /* Deux boutons côte à côte quand config.js affiche le WhatsApp (inline-flex) */
  .sticky-cta-inner:has(.sticky-wa-btn[style*="inline-flex"]) .sticky-cta-btn {
    grid-column: 2;
  }
}

/* ============================
   FORM SUCCESS MESSAGE
   ============================ */
.form-success {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  background: rgba(16,185,129,.1);
  border: 1px solid rgba(16,185,129,.3);
  border-radius: var(--radius-sm);
  padding: 18px 20px;
  margin-top: 16px;
  animation: fadeInUp .4s ease;
}
.form-success svg {
  width: 28px; height: 28px;
  flex-shrink: 0;
  color: var(--accent);
  margin-top: 2px;
}
.form-success div { display: flex; flex-direction: column; gap: 4px; }
.form-success strong { font-size: 1rem; color: var(--text); }
.form-success p { font-size: .88rem; color: var(--text-muted); margin: 0; }

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

/* reCAPTCHA v3 : masquer le badge flottant Google (obligatoire : garder l’avis dans le footer — .recaptcha-notice) */
.grecaptcha-badge {
  visibility: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
  width: 0 !important;
  height: 0 !important;
  overflow: hidden !important;
  position: fixed !important;
  right: -9999px !important;
  bottom: -9999px !important;
}

/* ===== BOUTIQUE (store) ===== */
:root {
  --radius-lg: 20px;
  --store-cat-tower: #6366f1;
  --store-cat-laptop: #10b981;
  --store-cat-accessory: #f59e0b;
}

body.shop-page .navbar .nav-links a.active:not(.nav-shop-link) {
  color: var(--primary-light);
}

body.store-drawer-open,
body.store-detail-open,
body.store-sidebar-open {
  overflow: hidden;
  overflow-x: hidden;
}

.store {
  padding: 118px 0 72px;
  min-height: 60vh;
  background:
    radial-gradient(ellipse 80% 50% at 50% -20%, rgba(99,102,241,.14), transparent 55%),
    var(--bg);
}

/* — En-tête — */
.store-head {
  margin-bottom: 24px;
}

.store-crumb {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px 10px;
  font-size: .82rem;
  color: var(--text-muted);
  margin-bottom: 16px;
  padding: 10px 14px;
  background: rgba(99, 102, 241, .06);
  border: 1px solid rgba(129, 140, 248, .18);
  border-radius: 12px;
}

.store-crumb[hidden] {
  display: none !important;
}

.store-crumb-back {
  appearance: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 0;
  border: none;
  background: none;
  font: inherit;
  font-size: .82rem;
  font-weight: 600;
  color: var(--primary-light);
  cursor: pointer;
  transition: color .2s ease;
  -webkit-tap-highlight-color: transparent;
}

.store-crumb-back svg {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
}

.store-crumb-back:hover {
  color: #c4b5fd;
}

.store-crumb-sep {
  opacity: .45;
  user-select: none;
}

.store-crumb-current {
  color: var(--text);
  font-weight: 600;
}

.store-crumb a {
  color: var(--text-muted);
  transition: color var(--transition);
}

.store-crumb a:hover { color: var(--primary-light); }

.store-head h1 {
  font-size: clamp(1.85rem, 4vw, 2.6rem);
  letter-spacing: -.03em;
  margin-bottom: 0;
}

.store-head-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

.store-head-titles {
  min-width: 0;
  flex: 1;
}

.store-head-top h1,
.store-head-titles h1 {
  min-width: 0;
}

.store-head-titles .store-lead {
  margin-top: 8px;
  margin-bottom: 0;
  max-width: 52ch;
}

.store-head-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-shrink: 0;
  position: relative;
  z-index: 2;
}

.store-head-actions .store-help-btn {
  position: relative;
  z-index: 3;
}

.store-help-btn--discover {
  margin-right: 10px;
  border-color: rgba(167, 139, 250, 0.95);
  color: #fff;
  background: linear-gradient(145deg, rgba(99, 102, 241, 0.72) 0%, rgba(139, 92, 246, 0.52) 100%);
  animation: storeHelpBtnPop 2.2s ease-in-out infinite;
  box-shadow:
    0 0 0 0 rgba(99, 102, 241, 0.45),
    0 0 22px rgba(99, 102, 241, 0.65),
    0 0 44px rgba(139, 92, 246, 0.35);
}

.store-help-btn--discover::before,
.store-help-btn--discover::after {
  content: "";
  position: absolute;
  inset: -2px;
  border-radius: 50%;
  border: 2px solid rgba(129, 140, 248, 0.75);
  pointer-events: none;
  z-index: -1;
}

.store-help-btn--discover::before {
  animation: storeHelpRing 2.4s cubic-bezier(0, 0.2, 0.4, 1) infinite;
}

.store-help-btn--discover::after {
  animation: storeHelpRing 2.4s cubic-bezier(0, 0.2, 0.4, 1) 1.2s infinite;
}

@keyframes storeHelpRing {
  0% {
    transform: scale(1);
    opacity: 0.85;
  }
  100% {
    transform: scale(2.35);
    opacity: 0;
  }
}

@keyframes storeHelpBtnPop {
  0%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.14);
  }
}

@media (prefers-reduced-motion: reduce) {
  .store-help-btn--discover,
  .store-help-btn--discover::before,
  .store-help-btn--discover::after {
    animation: none;
  }

  .store-help-btn--discover {
    box-shadow:
      0 0 0 3px rgba(99, 102, 241, 0.35),
      0 0 18px rgba(99, 102, 241, 0.45);
  }
}

.store-help-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid rgba(99, 102, 241, 0.35);
  border-radius: 50%;
  background: linear-gradient(145deg, rgba(99, 102, 241, 0.18) 0%, rgba(99, 102, 241, 0.06) 100%);
  color: var(--primary-light);
  cursor: pointer;
  flex-shrink: 0;
  position: relative;
  transition: border-color .2s, background .2s, color .2s, box-shadow .2s, transform .2s;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}

.store-help-btn-mark {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  pointer-events: none;
  font-family: var(--font-display, inherit);
  font-size: 1rem;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -.02em;
}

.store-help-btn:hover,
.store-help-btn:focus-visible {
  border-color: rgba(99, 102, 241, 0.55);
  color: #fff;
  background: linear-gradient(145deg, rgba(99, 102, 241, 0.45) 0%, rgba(79, 70, 229, 0.28) 100%);
  box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.18);
  transform: translateY(-1px);
  outline: none;
}

.store-lead {
  font-size: 1rem;
  color: var(--text-muted);
  max-width: 640px;
  line-height: 1.6;
  margin-bottom: 0;
}

.store-lead strong { color: var(--text); font-weight: 600; }

.store-head-badges {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: stretch;
  gap: 10px;
  margin-top: 16px;
}

.store-head-badges span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: .82rem;
  color: var(--text-muted);
  padding: 8px 14px;
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  white-space: nowrap;
}

.store-head-badges svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  color: var(--accent);
}

/* — Filtres mobile / tablette — */
.store-mobile-controls {
  display: contents;
}

.store-mobile-panel-toggle {
  display: none;
}

.store-mobile-panel-body[hidden] {
  display: none !important;
}

.store-mobile-sheet-backdrop {
  display: none;
}

.store-mobile-sheet-head {
  display: none;
}

.store-filter-mobile {
  display: none;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 20px;
}

.store-filter-select-wrap {
  display: block;
  min-width: 0;
}

.store-catalog-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px 20px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.store-catalog-toolbar-tools {
  display: contents;
}

.store-price-mode {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-left: auto;
  flex-shrink: 0;
}

.store-price-mode-label {
  font-size: .88rem;
  font-weight: 500;
  color: var(--text-muted);
  white-space: nowrap;
}

.store-price-mode-btn {
  padding: 7px 12px;
  border: 1px solid var(--border);
  background: var(--bg-3);
  color: var(--text-muted);
  font-family: inherit;
  font-size: .82rem;
  font-weight: 600;
  letter-spacing: .02em;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: color .2s, background .2s, border-color .2s, box-shadow .2s;
}

.store-price-mode-btn:hover {
  color: var(--text);
  border-color: rgba(99, 102, 241, .35);
}

.store-price-mode-btn:focus-visible {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(99, 102, 241, .15);
}

.store-price-mode-btn.is-active {
  background: rgba(99, 102, 241, .14);
  border-color: rgba(99, 102, 241, .45);
  color: var(--text);
}

.store-sort-control {
  display: flex;
  align-items: center;
  gap: 10px;
}

.store-sort-control-label {
  font-size: .88rem;
  font-weight: 500;
  color: var(--text-muted);
  white-space: nowrap;
}

.store-catalog-toolbar .store-sort-select {
  min-width: min(220px, 100%);
  max-width: 280px;
}

.store-filter-select {
  width: 100%;
  padding: 11px 40px 11px 14px;
  appearance: none;
  -webkit-appearance: none;
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%2394a3b8' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E") no-repeat right 14px center,
    var(--bg-3);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text);
  font-family: inherit;
  font-size: 16px;
  font-weight: 500;
  cursor: pointer;
  transition: border-color .2s, box-shadow .2s;
}

.store-filter-select:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(99,102,241,.15);
}

.store-filter-mobile.is-filter-active .store-filter-select {
  border-color: rgba(99, 102, 241, .55);
  background-color: rgba(99, 102, 241, .08);
  box-shadow: 0 0 0 3px rgba(99, 102, 241, .14);
  animation: store-filter-select-active 2.4s ease-in-out infinite;
}

@keyframes store-sidebar-rail-attention {
  0%, 100% {
    box-shadow: 4px 0 28px rgba(0, 0, 0, .32);
    border-color: rgba(129, 140, 248, .22);
  }

  50% {
    box-shadow: 4px 0 28px rgba(0, 0, 0, .32), 0 0 18px rgba(99, 102, 241, .28);
    border-color: rgba(99, 102, 241, .42);
  }
}

@keyframes store-sidebar-rail-filtered {
  0%, 100% {
    box-shadow: 4px 0 28px rgba(0, 0, 0, .32), inset -3px 0 0 rgba(99, 102, 241, .35);
    border-color: rgba(99, 102, 241, .55);
    background: linear-gradient(180deg, rgba(45, 50, 72, .98), rgba(32, 36, 54, .96));
  }

  50% {
    box-shadow: 4px 0 28px rgba(0, 0, 0, .32), 0 0 22px rgba(99, 102, 241, .38), inset -3px 0 0 rgba(99, 102, 241, .55);
    border-color: rgba(129, 140, 248, .72);
  }
}

@keyframes store-filter-select-active {
  0%, 100% { box-shadow: 0 0 0 3px rgba(99, 102, 241, .14); }
  50% { box-shadow: 0 0 0 5px rgba(99, 102, 241, .08); }
}

@media (prefers-reduced-motion: reduce) {
  .store-cart-btn.has-items,
  .store-cart-btn.has-items .store-cart-badge,
  .store-sidebar:not(.is-open) .store-sidebar-rail,
  .store-filter-mobile.is-filter-active .store-filter-select,
  .store-mobile-panel-body,
  .store-mobile-sheet-backdrop {
    transition: none !important;
  }
}

@media (min-width: 769px) and (max-width: 1024px) {
  .store-mobile-controls {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 16px;
  }

  .store-mobile-panel-toggle {
    display: none !important;
  }

  .store-mobile-sheet-head {
    display: none !important;
  }

  .store-mobile-panel-body,
  .store-mobile-panel-body[hidden] {
    display: block !important;
    position: static !important;
    transform: none !important;
    visibility: visible !important;
    pointer-events: auto !important;
    max-height: none !important;
    padding: 0 !important;
    margin: 0 !important;
    border: none !important;
    border-radius: 0 !important;
    background: none !important;
    box-shadow: none !important;
    overflow: visible !important;
  }

  .store-filter-mobile {
    display: flex;
    flex-direction: column;
    gap: 8px;
  }

  .store-filter-select-wrap .store-filter-field-label {
    position: static;
    width: auto;
    height: auto;
    margin: 0;
    overflow: visible;
    clip: auto;
    white-space: normal;
  }
}

@media (min-width: 1025px) {
  .store-mobile-controls {
    display: contents;
  }

  .store-mobile-panel-toggle {
    display: none !important;
  }

  .store-mobile-panel-body,
  .store-mobile-panel-body[hidden] {
    display: contents !important;
  }
}

.store-sort-select {
  width: 100%;
  padding: 11px 40px 11px 14px;
  appearance: none;
  -webkit-appearance: none;
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%2394a3b8' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E") no-repeat right 14px center,
    var(--bg-3);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text);
  font-family: inherit;
  font-size: 16px;
  font-weight: 500;
  cursor: pointer;
  transition: border-color .2s, box-shadow .2s;
}

.store-sort-select:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(99,102,241,.15);
}

/* — Scrollbars boutique — */
.store-scroll {
  scrollbar-width: thin;
  scrollbar-color: rgba(129, 140, 248, 0.5) rgba(255, 255, 255, 0.05);
}

.store-scroll::-webkit-scrollbar {
  width: 7px;
  height: 7px;
}

.store-scroll::-webkit-scrollbar-track {
  margin: 4px 0;
  background: rgba(255, 255, 255, 0.04);
  border-radius: 999px;
}

.store-scroll::-webkit-scrollbar-thumb {
  background: rgba(129, 140, 248, 0.42);
  border-radius: 999px;
  border: 2px solid transparent;
  background-clip: padding-box;
}

.store-scroll::-webkit-scrollbar-thumb:hover {
  background: rgba(129, 140, 248, 0.62);
  background-clip: padding-box;
}

/* — Filtres latéraux desktop — */
.store-sidebar {
  display: none;
}

.store-tabs {
  display: inline-flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: 6px;
  min-width: min-content;
  padding: 2px 4px 4px;
}

.store-tabs--sidebar {
  display: flex;
  flex-direction: column;
  flex-wrap: nowrap;
  align-items: stretch;
  gap: 6px;
  min-width: 0;
  width: 100%;
  padding: 0;
}

.store-tab {
  appearance: none;
  border: 1px solid transparent;
  background: transparent;
  color: var(--text-muted);
  font-family: inherit;
  font-size: .88rem;
  font-weight: 500;
  padding: 9px 16px;
  border-radius: 999px;
  cursor: pointer;
  transition: color .2s, background .2s, border-color .2s;
  min-height: 40px;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
  white-space: nowrap;
  flex-shrink: 0;
  scroll-snap-align: start;
}

.store-count {
  font-size: .82rem;
  color: var(--text-muted);
  white-space: nowrap;
  margin: 0;
  padding-top: 2px;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.store-tab:hover {
  color: var(--text);
  background: rgba(255,255,255,.05);
}

.store-tab.is-active {
  color: #fff;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  border-color: transparent;
  box-shadow: 0 0 0 1px rgba(129,140,248,.35), 0 2px 10px rgba(99,102,241,.28);
}

.store-tab--promo.is-active {
  background: linear-gradient(135deg, #ef4444, #f59e0b);
  box-shadow: 0 0 0 1px rgba(251,191,36,.35), 0 2px 10px rgba(239,68,68,.28);
}

.store-tab--promo:not(.is-active):hover {
  color: #f87171;
}

.store-tab--gaming.is-active {
  background: linear-gradient(135deg, #a855f7, #6366f1);
  box-shadow: 0 0 0 1px rgba(192, 132, 252, .35), 0 2px 10px rgba(168, 85, 247, .28);
}

.store-tab--gaming:not(.is-active):hover {
  color: #c4b5fd;
}

.store-tabs--sidebar .store-tab {
  width: 100%;
  text-align: left;
  white-space: normal;
  border-radius: var(--radius-sm);
  scroll-snap-align: unset;
  flex-shrink: unset;
}

.store-filter-nav {
  width: 100%;
}

.store-filter-section-label {
  margin: 14px 4px 8px;
  padding: 0;
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.store-filter-family {
  display: flex;
  flex-direction: column;
  margin: 0 0 8px;
  border-radius: 14px;
  border: 1px solid rgba(129, 140, 248, 0.14);
  background: rgba(255, 255, 255, 0.02);
  overflow: hidden;
}

.store-filter-family > .store-filter-item {
  border-radius: 0;
  border: none;
  background: transparent;
  box-shadow: none;
}

.store-filter-family > .store-filter-item:hover {
  background: rgba(255, 255, 255, 0.04);
}

.store-filter-family > .store-filter-item.is-active {
  background: rgba(99, 102, 241, 0.14);
}

.store-filter-family-subs {
  display: flex;
  flex-direction: column;
  gap: 2px;
  margin: 0 10px 8px 20px;
  padding: 4px 0 2px 12px;
  border-left: 2px solid rgba(129, 140, 248, 0.22);
}

.store-filter-item--child {
  min-height: 34px;
  padding: 7px 8px;
  border-radius: 10px;
  background: transparent;
  gap: 10px;
}

.store-filter-item-bullet {
  flex-shrink: 0;
  width: 6px;
  height: 6px;
  margin-top: 1px;
  border-radius: 50%;
  background: rgba(129, 140, 248, 0.55);
  align-self: center;
}

.store-filter-item--child.is-active .store-filter-item-bullet {
  background: #fff;
  box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.2);
}

.store-filter-item--child .store-filter-item-label {
  font-size: .84rem;
  font-weight: 600;
  color: rgba(226, 232, 240, 0.92);
}

.store-filter-item--child .store-filter-item-text {
  min-width: 0;
}

.store-tabs--sidebar .store-filter-item-chevron {
  display: none;
}

.store-category-group {
  margin-bottom: 2.5rem;
  padding: 1.25rem 1.25rem .5rem;
  border-radius: 20px;
  border: 1px solid rgba(129, 140, 248, 0.12);
  background: linear-gradient(180deg, rgba(99, 102, 241, 0.05) 0%, rgba(255, 255, 255, 0.01) 100%);
}

.store-category-group[hidden] {
  display: none !important;
}

.store-cat-group-head {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 1.25rem;
  padding-bottom: .85rem;
  border-bottom: 1px solid rgba(129, 140, 248, 0.14);
}

.store-cat-group-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 14px;
  background: rgba(99, 102, 241, 0.12);
  border: 1px solid rgba(129, 140, 248, 0.22);
  color: var(--primary-light);
}

.store-cat-group-icon svg {
  width: 20px;
  height: 20px;
}

.store-cat-group-text {
  min-width: 0;
}

.store-cat-group-title {
  margin: 0;
  font-size: clamp(1.35rem, 2.5vw, 1.65rem);
  font-weight: 800;
  letter-spacing: -.02em;
  color: var(--text);
}

.store-category--sub {
  margin-bottom: 1.75rem;
  padding: 0 0 0 .85rem;
  border-left: 2px solid rgba(129, 140, 248, 0.22);
}

.store-category--sub:last-child {
  margin-bottom: .5rem;
}

.store-category--solo {
  margin-bottom: .35rem;
}

.store-category--solo .store-cat-foot {
  margin-top: 4px;
  padding-top: 0;
}

.store-category--sub .store-cat-title {
  font-size: clamp(1.05rem, 2vw, 1.2rem);
  font-weight: 700;
}

.store-cat-head--sub {
  margin-bottom: .85rem;
}

.store-cat-head-text {
  display: flex;
  flex-direction: column;
  gap: .2rem;
  min-width: 0;
}

.store-cat-subtitle {
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.store-filter-item {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  padding: 12px 14px;
  border: 1px solid transparent;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.02);
  text-align: left;
  transition: background .2s, border-color .2s, box-shadow .2s, transform .15s;
}

.store-filter-item:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.08);
  color: var(--text);
}

.store-filter-item-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  flex-shrink: 0;
  border-radius: 11px;
  background: rgba(99, 102, 241, 0.1);
  border: 1px solid rgba(129, 140, 248, 0.18);
  color: var(--primary-light);
}

.store-filter-item-icon svg {
  width: 18px;
  height: 18px;
}

.store-filter-item-text {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex: 1;
  min-width: 0;
}

.store-filter-item-label {
  font-size: .9rem;
  font-weight: 600;
  color: var(--text);
  line-height: 1.3;
}

.store-filter-item-count {
  flex-shrink: 0;
  min-width: 1.6rem;
  padding: 3px 8px;
  border-radius: 999px;
  font-size: .72rem;
  font-weight: 700;
  text-align: center;
  color: var(--text-muted);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.store-filter-item-chevron {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  color: var(--text-muted);
  opacity: 0;
  transform: translateX(-4px);
  transition: opacity .2s, transform .2s, color .2s;
}

.store-filter-item:hover .store-filter-item-chevron,
.store-filter-item.is-active .store-filter-item-chevron {
  opacity: .65;
  transform: translateX(0);
}

.store-filter-item.is-active {
  color: #fff;
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.24), rgba(79, 70, 229, 0.12));
  border-color: rgba(129, 140, 248, 0.38);
  box-shadow: 0 6px 20px rgba(99, 102, 241, 0.18);
}

.store-filter-item.is-active .store-filter-item-icon {
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.45), rgba(79, 70, 229, 0.28));
  border-color: rgba(165, 180, 252, 0.45);
  color: #fff;
}

.store-filter-item.is-active .store-filter-item-label {
  color: #fff;
}

.store-filter-item.is-active .store-filter-item-count {
  color: #e0e7ff;
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.12);
}

.store-filter-item.is-active .store-filter-item-chevron {
  color: #c7d2fe;
  opacity: 1;
}

.store-filter-item--promo .store-filter-item-icon {
  background: rgba(239, 68, 68, 0.12);
  border-color: rgba(248, 113, 113, 0.22);
  color: #f87171;
}

.store-filter-item--promo.is-active {
  background: linear-gradient(135deg, rgba(239, 68, 68, 0.22), rgba(245, 158, 11, 0.12));
  border-color: rgba(251, 191, 36, 0.35);
  box-shadow: 0 6px 20px rgba(239, 68, 68, 0.16);
}

.store-filter-item--promo.is-active .store-filter-item-icon {
  background: linear-gradient(135deg, rgba(239, 68, 68, 0.42), rgba(245, 158, 11, 0.28));
  border-color: rgba(252, 211, 77, 0.4);
  color: #fff;
}

.store-filter-item--gaming .store-filter-item-icon {
  background: rgba(168, 85, 247, 0.12);
  border-color: rgba(192, 132, 252, 0.24);
  color: #c4b5fd;
}

.store-filter-item--gaming.is-active {
  background: linear-gradient(135deg, rgba(168, 85, 247, 0.22), rgba(99, 102, 241, 0.12));
  border-color: rgba(192, 132, 252, 0.35);
  box-shadow: 0 6px 20px rgba(168, 85, 247, 0.16);
}

.store-filter-item--gaming.is-active .store-filter-item-icon {
  background: linear-gradient(135deg, rgba(168, 85, 247, 0.42), rgba(99, 102, 241, 0.28));
  border-color: rgba(216, 180, 254, 0.4);
  color: #fff;
}

.store-tabs--sidebar .store-tab.store-filter-item {
  border-radius: 14px;
  min-height: auto;
  padding: 12px 14px;
  box-shadow: none;
}

.store-tabs--sidebar .store-tab.store-filter-item:not(.is-active) {
  background: rgba(255, 255, 255, 0.02);
  border-color: transparent;
  color: var(--text-muted);
}

/* — Chargement / vide — */
.store-loading,
.store-empty {
  text-align: center;
  padding: 72px 24px;
  color: var(--text-muted);
}

.store-loading[hidden],
.store-empty[hidden] {
  display: none !important;
}

.store-loading-spinner {
  width: 40px;
  height: 40px;
  margin: 0 auto 16px;
  border: 3px solid var(--border);
  border-top-color: var(--primary);
  border-radius: 50%;
  animation: storeSpin .75s linear infinite;
}

@keyframes storeSpin { to { transform: rotate(360deg); } }

.store-empty p { margin-bottom: 20px; font-size: .95rem; }

.store-disabled {
  text-align: center;
  padding: 64px 24px 80px;
  max-width: 520px;
  margin: 0 auto;
}

.store-disabled-icon {
  width: 72px;
  height: 72px;
  margin: 0 auto 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 20px;
  background: linear-gradient(165deg, rgba(99,102,241,.12) 0%, rgba(99,102,241,.04) 100%);
  border: 1px solid rgba(99,102,241,.2);
  color: var(--primary-light);
}

.store-disabled-icon svg {
  width: 36px;
  height: 36px;
}

.store-disabled h2 {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 12px;
}

.store-disabled p {
  font-size: .95rem;
  color: var(--text-muted);
  line-height: 1.65;
  margin-bottom: 28px;
}

.store-disabled-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}

/* — Catalogue — */
.store-catalog { animation: storeFadeIn .45s ease; }

@keyframes storeFadeIn {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}

.store-category {
  margin-bottom: 56px;
}

.store-category:last-child { margin-bottom: 0; }

.store-category[hidden] { display: none !important; }

.store-catalog--promo .store-cat-title { display: block; }

.store-catalog--promo .store-category[hidden] { display: none !important; }

.store-cat-title {
  font-size: 1.15rem;
  font-weight: 600;
  letter-spacing: -.02em;
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border);
  color: var(--text);
}

.store-cat-head {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 10px 12px;
  flex-wrap: wrap;
  margin-bottom: 18px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border);
}

.store-cat-head .store-cat-title {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: none;
  flex: 0 1 auto;
  min-width: 0;
}

.store-cat-see-all {
  appearance: none;
  display: none;
  align-items: center;
  justify-content: center;
  gap: 4px;
  flex-shrink: 0;
  white-space: nowrap;
  font-family: inherit;
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .01em;
  line-height: 1.2;
  padding: 5px 10px;
  min-height: 28px;
  border-radius: 999px;
  border: 1px solid rgba(129, 140, 248, .32);
  background: rgba(99, 102, 241, .1);
  color: #c7d2fe;
  cursor: pointer;
  transition: color .2s, background .2s, border-color .2s, box-shadow .2s, transform .15s;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}

.store-cat-see-all.is-visible {
  display: inline-flex;
}

.store-cat-see-all[hidden] {
  display: none !important;
}

.store-cat-see-all:hover {
  color: #fff;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  border-color: transparent;
  box-shadow: 0 2px 10px rgba(99, 102, 241, .28);
  transform: translateY(-1px);
}

.store-cat-see-all:active {
  transform: translateY(0);
}

.store-cat-see-all-icon {
  width: 11px;
  height: 11px;
  flex-shrink: 0;
  opacity: .9;
}

.store-cat-see-all--foot {
  font-size: .76rem;
  padding: 6px 14px;
  min-height: 30px;
}

.store-cat-foot {
  display: none;
  justify-content: center;
  margin-top: 8px;
}

.store-catalog--preview .store-cat-foot {
  display: flex;
}

.store-cat-foot:has(.store-cat-see-all.is-visible) {
  display: flex;
}

.store-product--catalog-hidden {
  display: none !important;
}

@media (min-width: 769px) and (max-width: 1023px) {
  .store-catalog--preview .store-grid--acc {
    gap: 18px;
  }
}

@media (min-width: 1024px) and (max-width: 1279px) {
  .store-catalog--preview .store-grid--acc {
    gap: 20px;
  }
}

@media (min-width: 1920px) {
  .store-catalog--preview .store-grid--acc {
    gap: 22px;
  }
}

.store-category[data-layout="acc"] .store-cat-title { color: #fbbf24; }

.store-category[data-category="tower"] .store-cat-title { color: var(--store-cat-tower); }
.store-category[data-category="laptop"] .store-cat-title { color: var(--store-cat-laptop); }
.store-category[data-category="accessory"] .store-cat-title { color: var(--store-cat-accessory); }

.store-catalog-banners {
  margin: 0 0 56px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.store-catalog-banners[hidden] {
  display: none !important;
}

.store-grid {
  display: grid;
  gap: 22px;
}

.store-grid--pc {
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
}

@media (min-width: 769px) {
  .store-grid--pc {
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  }
}

@media (min-width: 1400px) {
  .store-grid--pc {
    grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
  }
}

@media (min-width: 1920px) {
  .store-grid--pc {
    grid-template-columns: repeat(auto-fill, minmax(380px, 1fr));
  }
}

.store-grid--acc {
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
}

@media (min-width: 769px) {
  .store-grid--acc {
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  }
}

@media (min-width: 1400px) {
  .store-grid--acc {
    grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
  }
}

@media (min-width: 1920px) {
  .store-grid--acc {
    grid-template-columns: repeat(auto-fill, minmax(380px, 1fr));
  }
}

/* — Carte produit — */
.store-product {
  position: relative;
  display: flex;
  flex-direction: column;
  container-type: inline-size;
  container-name: store-card;
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform .28s ease, border-color .28s ease, box-shadow .28s ease;
}

.store-product[hidden] { display: none !important; }

.store-product:hover {
  transform: translateY(-5px);
  border-color: rgba(99,102,241,.35);
  box-shadow: 0 20px 48px rgba(0,0,0,.35);
}

.store-product--pick {
  border-color: rgba(99,102,241,.45);
  box-shadow: 0 0 0 1px rgba(99,102,241,.15), 0 16px 40px rgba(0,0,0,.28);
}

.store-product--pick:hover { transform: translateY(-7px); }

.store-product-badges {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
  max-width: calc(100% - 28px);
  pointer-events: none;
}

.store-product-badge {
  position: static;
  top: auto;
  left: auto;
  z-index: auto;
  padding: 5px 11px;
  border-radius: 999px;
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  white-space: nowrap;
  background: linear-gradient(135deg, var(--primary), #8b5cf6);
  color: #fff;
  box-shadow: 0 4px 14px rgba(99,102,241,.4);
}

.store-product-badge--new {
  background: linear-gradient(135deg, #2563eb, #38bdf8);
  box-shadow: 0 4px 14px rgba(37, 99, 235, .35);
}

.store-product-badge--refurb {
  background: linear-gradient(135deg, #0d9488, #14b8a6);
  box-shadow: 0 4px 14px rgba(20, 184, 166, .35);
}

.store-product--refurb {
  border-color: rgba(20, 184, 166, .32);
}

.store-product-badge--gaming {
  background: linear-gradient(135deg, #a855f7, #6366f1);
  box-shadow: 0 4px 14px rgba(168, 85, 247, .32);
}

.store-product--gaming {
  border-color: rgba(168, 85, 247, .32);
}

.store-product--gaming:hover {
  border-color: rgba(168, 85, 247, .48);
  box-shadow: 0 20px 48px rgba(168, 85, 247, .12);
}

.store-product-card-actions {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 6px;
  pointer-events: none;
}

.store-product-card-actions > * {
  pointer-events: auto;
}

.store-card-share {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 11px;
  background: rgba(12, 14, 22, 0.72);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: var(--text-muted);
  cursor: pointer;
  transition: color .2s, border-color .2s, background .2s, transform .15s;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}

.store-card-share:hover {
  color: #fff;
  border-color: rgba(129, 140, 248, 0.45);
  background: rgba(30, 36, 51, 0.92);
  transform: scale(1.04);
}

.store-card-share svg {
  width: 17px;
  height: 17px;
}

.store-product-badge--promo {
  position: static;
  top: auto;
  right: auto;
  left: auto;
  z-index: auto;
  background: linear-gradient(135deg, #ef4444, #f59e0b);
  box-shadow: 0 4px 14px rgba(239,68,68,.35);
}

.store-product--promo {
  border-color: rgba(239,68,68,.35);
}

.store-product--promo:hover {
  border-color: rgba(239,68,68,.5);
  box-shadow: 0 20px 48px rgba(239,68,68,.12);
}

.store-product--interactive {
  cursor: pointer;
}

.store-product--interactive:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
}

.store-product-media-wrap {
  display: block;
  flex-shrink: 0;
}

.store-product-more {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin: 0 0 12px;
  font-size: .78rem;
  font-weight: 600;
  color: var(--primary-light);
  opacity: .85;
  transition: opacity .2s ease, color .2s ease;
}

.store-product--interactive:hover .store-product-more {
  opacity: 1;
}

/* — Carte compacte (tours / laptops dans la grille) — */
.store-product--compact .store-product-media:not(.store-product-media--img) {
  height: 128px;
}

.store-product--compact .store-product-body {
  padding: 16px 18px 18px;
}

.store-product--compact .store-product-title {
  margin-bottom: 10px;
  font-size: 1.02rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.store-product--compact .store-product-more {
  order: 2;
  margin: 2px 0 0;
  padding: 7px 0 0;
  font-size: .76rem;
  border-top: 1px dashed rgba(99, 102, 241, .22);
  width: 100%;
}

.store-product--compact .store-product-highlights {
  list-style: none;
  margin: 0 0 10px;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.store-product-highlight {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  font-size: .74rem;
  font-weight: 600;
  line-height: 1.35;
  color: var(--text-muted);
}

.store-product-highlight svg {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
  color: var(--primary-light);
  opacity: .9;
}

.store-product-highlight span {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.store-product--compact .store-product-highlight span {
  overflow: visible;
  text-overflow: unset;
  white-space: normal;
  overflow-wrap: anywhere;
  line-height: 1.4;
}

/* Encadré specs sur petites fiches tours / laptops */
.store-product--compact .store-product-highlights--boxed {
  gap: 8px;
  margin-bottom: 12px;
  padding: 10px 12px;
  border-radius: var(--radius-sm);
}

.store-product--compact .store-product-highlights--boxed .store-product-highlight {
  color: #fff;
  font-size: .78rem;
}

/* Standard tours & laptops — bleu indigo */
.store-product--compact .store-product-highlights--pc {
  background: linear-gradient(135deg, rgba(37, 99, 235, .42), rgba(79, 70, 229, .28));
  border: 1px solid rgba(96, 165, 250, .38);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .08);
}

.store-product--compact .store-product-highlights--pc .store-product-highlight--cpu svg { color: #bfdbfe; }
.store-product--compact .store-product-highlights--pc .store-product-highlight--ram svg { color: #6ee7b7; }
.store-product--compact .store-product-highlights--pc .store-product-highlight--storage svg { color: #7dd3fc; }
.store-product--compact .store-product-highlights--pc .store-product-highlight--gpu svg { color: #fbcfe8; }
.store-product--compact .store-product-highlights--pc .store-product-highlight--display svg { color: #c4b5fd; }
.store-product--compact .store-product-highlights--pc .store-product-highlight--os svg { color: #fde68a; }
.store-product--compact .store-product-highlights--pc .store-product-highlight--psu svg { color: #fb923c; }

/* Gaming — mauve / violet */
.store-product--compact .store-product-highlights--gaming {
  background: linear-gradient(135deg, rgba(126, 34, 206, .45), rgba(99, 102, 241, .32));
  border: 1px solid rgba(192, 132, 252, .4);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .08);
}

.store-product--compact .store-product-highlights--gaming .store-product-highlight--cpu svg { color: #e9d5ff; }
.store-product--compact .store-product-highlights--gaming .store-product-highlight--ram svg { color: #6ee7b7; }
.store-product--compact .store-product-highlights--gaming .store-product-highlight--gpu svg { color: #f9a8d4; }

.store-card-foot-layout {
  width: 100%;
  min-width: 0;
}

.store-card-foot-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px 10px;
  flex-wrap: nowrap;
  min-width: 0;
}

.store-card-foot-row .store-price-wrap {
  flex: 1 1 auto;
  min-width: 0;
}

.store-card-foot-row .store-product-price {
  min-width: 0;
}

.store-card-foot-row .store-buy {
  flex: 0 0 auto;
  margin-left: auto;
  max-width: min(12rem, 50%);
  padding: 10px 14px !important;
  font-size: .84rem !important;
  min-height: 40px;
  white-space: nowrap;
}

.store-card-foot-row .store-price-val {
  font-size: 1.35rem;
}

.store-product--compact .store-card-foot-row .store-price-val {
  font-size: 1.22rem;
}

@container store-card (max-width: 340px) {
  .store-card-foot-row {
    align-items: flex-end;
    gap: 6px 8px;
  }

  .store-card-foot-row .store-price-val {
    font-size: 1.12rem;
  }

  .store-card-foot-row .store-buy {
    font-size: .76rem !important;
    padding: 8px 10px !important;
    min-height: 36px;
    max-width: 52%;
    white-space: normal;
    line-height: 1.2;
    text-align: center;
  }

  .store-product-price--promo .store-price-old {
    font-size: .72rem;
  }

  .store-delivery-info {
    font-size: .64rem;
    padding: 7px 11px 7px 8px;
  }
}

@container store-card (max-width: 280px) {
  .store-card-foot-row .store-price-val {
    font-size: 1rem;
  }

  .store-card-foot-row .store-buy {
    font-size: .72rem !important;
    padding: 7px 9px !important;
    min-height: 34px;
    max-width: 55%;
  }
}

.store-product--compact .store-product-foot {
  margin-top: auto;
  padding-top: 12px;
}

.store-product--compact .store-product-included-tag {
  margin: 8px 0 0;
}

.store-product--compact .store-price-val {
  font-size: 1.35rem;
}

.store-product--compact:hover .store-product-more {
  color: #c4b5fd;
}

.store-product-media-link {
  display: block;
  pointer-events: none;
}

.store-product-media {
  height: 168px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(165deg, rgba(99,102,241,.1) 0%, var(--bg-3) 100%);
  border-bottom: 1px solid var(--border);
}

.store-product--acc .store-product-media:not(.store-product-media--img) {
  height: 140px;
  background: linear-gradient(165deg, rgba(245,158,11,.1) 0%, var(--bg-3) 100%);
}

.store-product--acc .store-product-media {
  background: linear-gradient(165deg, rgba(245,158,11,.1) 0%, var(--bg-3) 100%);
}

.store-product[data-category="laptop"] .store-product-media {
  background: linear-gradient(165deg, rgba(16,185,129,.1) 0%, var(--bg-3) 100%);
}

.store-product-media svg {
  width: 56px;
  height: 56px;
  color: var(--primary-light);
  opacity: .85;
}

.store-product[data-category="laptop"] .store-product-media svg { color: var(--accent); }
.store-product[data-category="accessory"] .store-product-media svg { color: #fbbf24; }

.store-product-media--img {
  display: grid;
  grid-template: 1fr / 1fr;
  place-items: center;
  height: 184px;
  padding: 8px;
  box-sizing: border-box;
  overflow: hidden;
  flex-shrink: 0;
  background:
    radial-gradient(circle at 50% 45%, rgba(99,102,241,.08) 0%, transparent 65%),
    linear-gradient(165deg, rgba(99,102,241,.06) 0%, var(--bg-3) 100%);
}

.store-product--acc .store-product-media--img {
  background:
    radial-gradient(circle at 50% 45%, rgba(245,158,11,.08) 0%, transparent 65%),
    linear-gradient(165deg, rgba(245,158,11,.06) 0%, var(--bg-3) 100%);
}

.store-product[data-category="laptop"] .store-product-media--img {
  background:
    radial-gradient(circle at 50% 45%, rgba(16,185,129,.08) 0%, transparent 65%),
    linear-gradient(165deg, rgba(16,185,129,.06) 0%, var(--bg-3) 100%);
}

.store-product-media--img img {
  grid-area: 1 / 1;
  display: block;
  width: 100%;
  height: 100%;
  max-width: 100%;
  max-height: 100%;
  min-width: 0;
  min-height: 0;
  object-fit: contain;
  object-position: center;
}

.store-product-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 22px 24px 24px;
}

.store-product-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 8px;
  min-width: 0;
}

.store-product-top > * {
  flex-shrink: 0;
}

.store-product-top--meta {
  justify-content: flex-start;
  align-items: center;
  flex-wrap: nowrap;
  gap: 6px;
  overflow: visible;
  width: 100%;
  max-width: 100%;
}

.store-product-top--meta > * {
  flex: 0 0 auto;
  white-space: nowrap;
}

.store-product-top--meta .store-product-cat {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(99, 102, 241, .12);
  border: 1px solid rgba(99, 102, 241, .28);
}

.store-product-top--meta .store-product-stock {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .04);
  border: 1px solid var(--border);
  margin-left: auto;
}

.store-product-top--meta .store-product-stock--ok {
  border-color: rgba(52, 211, 153, .28);
  background: rgba(52, 211, 153, .08);
}

.store-product-top--meta .store-product-stock--no {
  border-color: rgba(248, 113, 113, .28);
  background: rgba(248, 113, 113, .08);
}

@container store-card (max-width: 420px) {
  .store-product-top--meta,
  .store-detail-badges {
    flex-wrap: nowrap;
    gap: 4px;
  }

  .store-product-top--meta .store-product-cat,
  .store-product-top--meta .store-product-badge,
  .store-product-top--meta .store-product-stock,
  .store-detail-badges .store-product-cat,
  .store-detail-badges .store-detail-tag,
  .store-detail-badges .store-product-stock {
    font-size: clamp(0.54rem, 2.5vw, 0.62rem);
    padding: 2px 6px;
    letter-spacing: 0.02em;
  }

  .store-product-top--meta .store-product-stock--ok::before,
  .store-detail-badges .store-product-stock--ok::before {
    width: 5px;
    height: 5px;
  }

  .store-product--compact .store-delivery-info,
  .store-delivery-included .store-delivery-info {
    width: max-content;
    max-width: 100%;
    font-size: .66rem;
    padding: 8px 12px 8px 9px;
    gap: 7px;
    white-space: nowrap;
    line-height: 1.25;
  }

  .store-product--compact .store-delivery-info-icon,
  .store-delivery-included .store-delivery-info-icon {
    width: 18px;
    height: 18px;
  }

  .store-product--compact .store-delivery-info-icon svg,
  .store-delivery-included .store-delivery-info-icon svg {
    width: 11px;
    height: 11px;
  }
}

.store-product-cat {
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--primary-light);
  white-space: nowrap;
}

.store-product[data-category="laptop"] .store-product-cat { color: var(--accent); }
.store-product[data-category="accessory"] .store-product-cat { color: #fbbf24; }

.store-product-stock {
  font-size: .72rem;
  font-weight: 600;
  white-space: nowrap;
}

.store-product-stock--ok {
  color: var(--accent);
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.store-product-stock--ok::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
  box-shadow: 0 0 8px currentColor;
}

.store-product-stock--no { color: #f87171; }

.store-product-title {
  font-size: 1.12rem;
  font-weight: 600;
  line-height: 1.3;
  margin-bottom: 8px;
}

.store-product-desc {
  font-size: .86rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 14px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.store-product--acc .store-product-desc {
  -webkit-line-clamp: 2;
}

@media (min-width: 1400px) {
  .store-product--acc .store-product-desc {
    -webkit-line-clamp: 3;
  }
}

.store-service-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 14px;
}

.store-service-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: .68rem;
  font-weight: 600;
  letter-spacing: .02em;
  color: var(--text-muted);
  padding: 5px 9px;
  background: rgba(255,255,255,.04);
  border: 1px solid var(--border);
  border-radius: 999px;
  line-height: 1.25;
  white-space: nowrap;
  flex: 0 0 auto;
}

.store-service-pill svg {
  width: 13px;
  height: 13px;
  flex-shrink: 0;
}

.store-service-pill--check svg { color: #34d399; }
.store-service-pill--pin svg { color: #60a5fa; }
.store-service-pill--shield svg { color: var(--primary-light); }

.store-product--acc .store-service-pill--shield {
  color: #fbbf24;
  border-color: rgba(245,158,11,.25);
  background: rgba(245,158,11,.08);
}

.store-product--acc .store-service-pill--shield svg { color: #fbbf24; }

.store-product[data-category="laptop"] .store-service-pill--check svg { color: var(--accent); }
.store-product[data-category="laptop"] .store-service-pill--shield svg { color: var(--accent); }

.store-chips {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin-bottom: 16px;
}

.store-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 36px;
  padding: 7px 11px;
  border-radius: 10px;
  font-size: .74rem;
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: .01em;
  color: var(--text);
  background: linear-gradient(145deg, rgba(255,255,255,.07) 0%, rgba(255,255,255,.02) 100%);
  border: 1px solid rgba(255,255,255,.1);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.06);
  transition: border-color .2s ease, background .2s ease;
}

.store-chip svg {
  width: 15px;
  height: 15px;
  flex-shrink: 0;
  opacity: .9;
}

.store-chip-label {
  min-width: 0;
  word-break: break-word;
}

.store-chip--cpu {
  background: linear-gradient(145deg, rgba(99,102,241,.18) 0%, rgba(99,102,241,.06) 100%);
  border-color: rgba(99,102,241,.32);
}
.store-chip--cpu svg { color: #a5b4fc; }

.store-chip--ram {
  background: linear-gradient(145deg, rgba(16,185,129,.16) 0%, rgba(16,185,129,.05) 100%);
  border-color: rgba(16,185,129,.3);
}
.store-chip--ram svg { color: #6ee7b7; }

.store-chip--storage {
  background: linear-gradient(145deg, rgba(245,158,11,.16) 0%, rgba(245,158,11,.05) 100%);
  border-color: rgba(245,158,11,.32);
}
.store-chip--storage svg { color: #fcd34d; }

.store-chip--os {
  background: linear-gradient(145deg, rgba(59,130,246,.16) 0%, rgba(59,130,246,.05) 100%);
  border-color: rgba(59,130,246,.3);
}
.store-chip--os svg { color: #93c5fd; }

.store-chip--gpu {
  background: linear-gradient(145deg, rgba(236,72,153,.14) 0%, rgba(236,72,153,.05) 100%);
  border-color: rgba(236,72,153,.28);
}
.store-chip--gpu svg { color: #f9a8d4; }

.store-chip--display {
  background: linear-gradient(145deg, rgba(14,165,233,.14) 0%, rgba(14,165,233,.05) 100%);
  border-color: rgba(14,165,233,.28);
}
.store-chip--display svg { color: #7dd3fc; }

.store-chip--cooling {
  background: color-mix(in srgb, #22d3ee 14%, transparent);
  border-color: color-mix(in srgb, #22d3ee 28%, transparent);
}
.store-chip--cooling svg { color: #67e8f9; }

.store-chip--motherboard {
  background: color-mix(in srgb, #a78bfa 14%, transparent);
  border-color: color-mix(in srgb, #a78bfa 28%, transparent);
}
.store-chip--motherboard svg { color: #c4b5fd; }

.store-chip--case {
  background: color-mix(in srgb, #94a3b8 14%, transparent);
  border-color: color-mix(in srgb, #94a3b8 28%, transparent);
}
.store-chip--case svg { color: #cbd5e1; }

.store-chip--psu {
  background: linear-gradient(145deg, rgba(249,115,22,.16) 0%, rgba(249,115,22,.05) 100%);
  border-color: rgba(249,115,22,.32);
}
.store-chip--psu svg { color: #fb923c; }

.store-chip--weight {
  background: linear-gradient(145deg, rgba(148,163,184,.16) 0%, rgba(148,163,184,.05) 100%);
  border-color: rgba(148,163,184,.3);
}
.store-chip--weight svg { color: #cbd5e1; }

.store-chip--keyboard {
  background: linear-gradient(145deg, rgba(168,85,247,.14) 0%, rgba(168,85,247,.05) 100%);
  border-color: rgba(168,85,247,.28);
}
.store-chip--keyboard svg { color: #d8b4fe; }

.store-chip--bluetooth {
  background: linear-gradient(145deg, rgba(37,99,235,.14) 0%, rgba(37,99,235,.05) 100%);
  border-color: rgba(37,99,235,.28);
}
.store-chip--bluetooth svg { color: #93c5fd; }

.store-chip--wifi {
  background: linear-gradient(145deg, rgba(6,182,212,.14) 0%, rgba(6,182,212,.05) 100%);
  border-color: rgba(6,182,212,.28);
}
.store-chip--wifi svg { color: #67e8f9; }

.store-chip--feature {
  background: linear-gradient(145deg, rgba(234,179,8,.14) 0%, rgba(234,179,8,.05) 100%);
  border-color: rgba(234,179,8,.28);
}
.store-chip--feature svg { color: #fde047; }

.store-chip--default svg { color: var(--text-muted); }

.store-product--acc .store-chips {
  grid-template-columns: 1fr;
}

@media (min-width: 769px) {
  .store-chips {
    display: flex;
    flex-wrap: wrap;
  }

  .store-chip {
    flex: 0 1 auto;
    max-width: 100%;
  }
}

@media (hover: hover) and (pointer: fine) {
  .store-chip:hover {
    border-color: rgba(255,255,255,.22);
    background: linear-gradient(145deg, rgba(255,255,255,.1) 0%, rgba(255,255,255,.04) 100%);
  }
}

.store-product-foot {
  display: block;
  cursor: default;
  padding-top: 16px;
  margin-top: auto;
  border-top: 1px solid var(--border);
  min-width: 0;
}

.store-product-foot .store-product-price,
.store-detail-price-row .store-product-price {
  flex: none;
}

.store-product-price {
  line-height: 1.1;
}

.store-price-wrap {
  min-width: 0;
}

.store-delivery-included {
  margin: 8px 0 0;
}

.store-delivery-info {
  appearance: none;
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  gap: 7px;
  width: max-content;
  max-width: 100%;
  box-sizing: border-box;
  margin: 0;
  padding: 7px 13px 7px 9px;
  border-radius: 999px;
  border: 1px solid rgba(52, 211, 153, .28);
  background: linear-gradient(135deg, rgba(16, 185, 129, .12), rgba(99, 102, 241, .08));
  color: #a7f3d0;
  font-family: inherit;
  font-size: .68rem;
  font-weight: 600;
  line-height: 1.25;
  white-space: nowrap;
  text-align: left;
  cursor: pointer;
  transition: color .2s, background .2s, border-color .2s, box-shadow .2s, transform .15s;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}

.store-delivery-info:hover,
.store-delivery-info:focus-visible {
  color: #ecfdf5;
  border-color: rgba(52, 211, 153, .45);
  background: linear-gradient(135deg, rgba(16, 185, 129, .2), rgba(99, 102, 241, .14));
  box-shadow: 0 4px 14px rgba(16, 185, 129, .16);
  outline: none;
}

.store-delivery-info:active {
  transform: scale(.98);
}

.store-delivery-info-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  border-radius: 50%;
  background: rgba(16, 185, 129, .22);
  color: #6ee7b7;
}

.store-delivery-info-icon svg {
  width: 12px;
  height: 12px;
}

.store-delivery-info-label {
  flex: 0 0 auto;
  white-space: nowrap;
}

.store-product-included-tag,
.store-delivery-included {
  display: block;
  width: max-content;
  max-width: 100%;
}

.store-price-wrap .store-delivery-included {
  width: max-content;
  max-width: 100%;
}

.store-product--compact .store-delivery-info {
  justify-content: flex-start;
  font-size: .66rem;
  padding: 8px 12px 8px 9px;
}

.store-detail-price-row .store-delivery-included {
  margin-top: 10px;
  width: max-content;
  max-width: 100%;
}

.store-detail-price-row .store-delivery-info {
  width: max-content;
  max-width: 100%;
  font-size: .76rem;
  padding: 7px 12px 7px 9px;
}

.store-delivery-popover {
  position: fixed;
  inset: 0;
  z-index: 10050;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 0;
  pointer-events: none;
}

.store-delivery-popover[hidden] {
  display: none !important;
}

.store-delivery-popover.is-open {
  pointer-events: auto;
}

.store-delivery-popover-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(8, 10, 18, .58);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  opacity: 0;
  transition: opacity .24s ease;
}

.store-delivery-popover.is-open .store-delivery-popover-backdrop {
  opacity: 1;
}

.store-delivery-popover-panel {
  position: relative;
  z-index: 1;
  width: min(420px, calc(100vw - 24px));
  max-height: min(78vh, 520px);
  display: flex;
  flex-direction: column;
  border-radius: 18px 18px 0 0;
  border: 1px solid rgba(129, 140, 248, .24);
  background:
    radial-gradient(ellipse 120% 80% at 50% -10%, rgba(99, 102, 241, .16), transparent 55%),
    linear-gradient(180deg, rgba(28, 33, 48, .99) 0%, rgba(16, 19, 30, .99) 100%);
  box-shadow: 0 -12px 48px rgba(0, 0, 0, .42);
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .24s ease, transform .28s cubic-bezier(.22, 1, .36, 1);
}

.store-delivery-popover.is-open .store-delivery-popover-panel {
  opacity: 1;
  transform: translateY(0);
}

.store-delivery-popover-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 16px 12px;
  border-bottom: 1px solid rgba(255, 255, 255, .07);
}

.store-delivery-popover-title {
  margin: 0;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.3;
  color: var(--text);
  letter-spacing: -.02em;
}

.store-delivery-popover-close {
  appearance: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  flex-shrink: 0;
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: 10px;
  background: rgba(255, 255, 255, .04);
  color: var(--text-muted);
  cursor: pointer;
  transition: color .2s, background .2s, border-color .2s;
}

.store-delivery-popover-close:hover,
.store-delivery-popover-close:focus-visible {
  color: #fff;
  background: rgba(255, 255, 255, .08);
  border-color: rgba(129, 140, 248, .28);
  outline: none;
}

.store-delivery-popover-close svg {
  width: 16px;
  height: 16px;
}

.store-delivery-popover-body {
  flex: 1 1 auto;
  min-height: 0;
  overflow-y: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
  padding: 14px 16px 18px;
}

.store-delivery-points {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.store-delivery-point {
  padding: 12px 14px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, .06);
  background: rgba(255, 255, 255, .03);
}

.store-delivery-point-label {
  display: block;
  margin-bottom: 4px;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
  color: #a5b4fc;
}

.store-delivery-point p {
  margin: 0;
  font-size: .86rem;
  line-height: 1.55;
  color: #cbd5e1;
}

.store-delivery-popover-note {
  margin: 14px 0 0;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px dashed rgba(148, 163, 184, .28);
  background: rgba(15, 23, 42, .35);
  font-size: .8rem;
  line-height: 1.55;
  color: #94a3b8;
}

body.store-delivery-popover-open {
  overflow: hidden;
}

@media (min-width: 769px) {
  .store-delivery-popover {
    align-items: flex-start;
    justify-content: flex-start;
    padding: 0;
  }

  .store-delivery-popover-backdrop {
    background: rgba(8, 10, 18, .32);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
  }

  .store-delivery-popover-panel {
    position: fixed;
    width: min(380px, calc(100vw - 24px));
    max-height: min(70vh, 420px);
    border-radius: 16px;
    box-shadow: 0 20px 56px rgba(0, 0, 0, .48), 0 0 0 1px rgba(255, 255, 255, .05);
    transform: translateY(8px) scale(.98);
  }

  .store-delivery-popover.is-open .store-delivery-popover-panel {
    transform: translateY(0) scale(1);
  }

  .store-delivery-popover.is-sheet .store-delivery-popover-panel {
    left: 12px !important;
    right: 12px !important;
    bottom: 12px !important;
    top: auto !important;
    width: auto;
    max-width: 420px;
    margin: 0 auto;
    border-radius: 18px;
    transform: translateY(12px);
  }
}

.store-product-price--promo .store-price-old {
  display: block;
  font-size: .88rem;
  color: var(--text-muted);
  text-decoration: line-through;
  margin-bottom: 2px;
  font-weight: 500;
}

.store-product-price--promo .store-price-old sup {
  font-size: .72rem;
}

.store-price-val--promo {
  color: #fbbf24;
}

.store-price-val {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.75rem;
  font-weight: 700;
  letter-spacing: -.02em;
}

.store-price-val sup {
  font-size: .85rem;
  font-weight: 600;
  top: -.35em;
}

.store-price-unit {
  display: block;
  font-size: .72rem;
  color: var(--text-muted);
  margin-top: 2px;
}

.store-buy {
  flex: 1 1 11rem;
  max-width: 100%;
  margin-left: auto;
  padding: 10px 18px !important;
  font-size: .88rem !important;
  white-space: nowrap;
  min-height: 44px;
  touch-action: manipulation;
}

.store-buy:disabled {
  opacity: .45;
  cursor: not-allowed;
}

/* — Bandeau aide — */
.store-help {
  margin-top: 64px;
}

.store-help-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  padding: 24px 28px;
  background: linear-gradient(135deg, rgba(99,102,241,.12), rgba(16,185,129,.06));
  border: 1px solid rgba(99,102,241,.22);
  border-radius: var(--radius-lg);
}

.store-help-inner strong {
  display: block;
  font-size: 1rem;
  margin-bottom: 4px;
}

.store-help-inner span {
  font-size: .88rem;
  color: var(--text-muted);
}

.store-help-actions {
  display: flex;
  gap: 10px;
  flex-shrink: 0;
}

.store-help-actions .btn {
  padding: 10px 20px;
  font-size: .88rem;
}

.store-help-inner--contact {
  align-items: center;
  padding: 18px 22px;
}

.store-help-inner--contact .store-help-copy {
  flex: 1 1 auto;
  min-width: 0;
}

.store-help-inner--contact strong {
  margin-bottom: 2px;
}

.store-help-inner--contact span {
  display: block;
  line-height: 1.4;
}

/* — Guide première visite boutique — */
.shop-intro {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: max(16px, env(safe-area-inset-top)) 16px max(16px, env(safe-area-inset-bottom));
}

.shop-intro[hidden] {
  display: none !important;
}

body.shop-intro-open {
  overflow: hidden;
}

.shop-intro-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, .76);
  backdrop-filter: blur(6px);
  animation: storeBackdropIn .25s ease;
}

.shop-intro-dialog {
  position: relative;
  width: 100%;
  max-width: 520px;
  max-height: min(92vh, 720px);
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: 0 28px 80px rgba(0, 0, 0, .55);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  animation: storeDetailIn .28s cubic-bezier(.4, 0, .2, 1);
}

.shop-intro-close {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: rgba(22, 27, 39, .88);
  color: var(--text-muted);
  cursor: pointer;
  transition: color .2s, border-color .2s, background .2s;
}

.shop-intro-close:hover {
  color: var(--text);
  border-color: rgba(255, 255, 255, .15);
  background: var(--bg-3);
}

.shop-intro-close svg {
  width: 20px;
  height: 20px;
}

.shop-intro-head {
  padding: 28px 28px 16px;
  border-bottom: 1px solid var(--border);
  background: linear-gradient(180deg, rgba(99,102,241,.1) 0%, transparent 100%);
}

.shop-intro-kicker {
  margin: 0 0 6px;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--primary-light);
}

.shop-intro-head h2 {
  margin: 0 0 10px;
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 4vw, 1.65rem);
  font-weight: 700;
  line-height: 1.25;
  color: var(--text);
}

.shop-intro-lead {
  margin: 0;
  font-size: .9rem;
  line-height: 1.55;
  color: var(--text-muted);
}

.shop-intro-body {
  padding: 20px 24px 12px;
  overflow-y: auto;
  overscroll-behavior: contain;
}

.shop-intro-flow {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.shop-intro-flow-item {
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr);
  gap: 14px;
  align-items: start;
  padding: 14px 0;
  position: relative;
}

.shop-intro-flow-item:not(:last-child)::after {
  content: "";
  position: absolute;
  left: 17px;
  top: 46px;
  bottom: -2px;
  width: 2px;
  background: linear-gradient(180deg, rgba(99,102,241,.35), rgba(99,102,241,.08));
  border-radius: 1px;
}

.shop-intro-flow-num {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(99,102,241,.28), rgba(79,70,229,.16));
  border: 1px solid rgba(129,140,248,.32);
  color: #e0e7ff;
  font-size: .95rem;
  font-weight: 800;
  line-height: 1;
}

.shop-intro-flow-text strong {
  display: block;
  margin-bottom: 3px;
  font-size: .94rem;
  font-weight: 700;
  color: var(--text);
  line-height: 1.3;
}

.shop-intro-flow-text p {
  margin: 0;
  font-size: .84rem;
  line-height: 1.5;
  color: var(--text-muted);
}

.shop-intro-note {
  margin: 8px 0 0;
  padding: 11px 13px;
  border-radius: 12px;
  font-size: .78rem;
  line-height: 1.45;
  color: var(--text-muted);
  background: rgba(99,102,241,.08);
  border: 1px solid rgba(99,102,241,.16);
}

.shop-intro-note + .shop-intro-note {
  margin-top: 10px;
}

.shop-intro-note strong {
  display: block;
  margin-bottom: 4px;
  color: var(--text);
  font-weight: 600;
}

.shop-intro-note a {
  color: var(--primary-light);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.shop-intro-note a:hover {
  color: #fff;
}

.shop-intro-foot {
  padding: 14px 24px 22px;
  border-top: 1px solid var(--border);
}

.shop-intro-confirm {
  width: 100%;
}

@media (max-width: 480px) {
  .shop-intro-dialog {
    max-height: min(90vh, 640px);
  }

  .shop-intro-head {
    padding: 22px 20px 12px;
  }

  .shop-intro-head h2 {
    font-size: 1.28rem;
  }

  .shop-intro-lead {
    font-size: .84rem;
  }

  .shop-intro-body {
    padding: 14px 18px 10px;
  }

  .shop-intro-foot {
    padding: 12px 18px 18px;
  }

  .shop-intro-flow-item {
    gap: 12px;
    padding: 12px 0;
  }

  .shop-intro-flow-num {
    width: 32px;
    height: 32px;
    font-size: .88rem;
  }

  .shop-intro-flow-item:not(:last-child)::after {
    left: 15px;
    top: 40px;
  }

  .shop-intro-flow-text strong {
    font-size: .88rem;
  }

  .shop-intro-flow-text p {
    font-size: .8rem;
  }

  .shop-intro-note {
    font-size: .74rem;
    padding: 10px 11px;
  }
}

/* — Fiche produit (modal) — */
.store-detail {
  position: fixed;
  inset: 0;
  z-index: 9998;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px 16px;
}

.store-detail[hidden] { display: none !important; }

.store-detail-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, .72);
  backdrop-filter: blur(6px);
  animation: storeBackdropIn .25s ease;
}

.store-detail-dialog {
  position: relative;
  width: 100%;
  max-width: 920px;
  max-height: min(92vh, 900px);
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: 0 28px 80px rgba(0, 0, 0, .55);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  animation: storeDetailIn .28s cubic-bezier(.4, 0, .2, 1);
}

@keyframes storeDetailIn {
  from {
    opacity: 0;
    transform: translateY(16px) scale(.98);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.store-detail-close {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: rgba(22, 27, 39, .88);
  color: var(--text-muted);
  cursor: pointer;
  outline: none;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
  transition: color .2s, border-color .2s, background .2s;
}

.store-detail-close:focus {
  outline: none;
}

.store-detail-close:focus-visible {
  outline: 2px solid var(--primary-light);
  outline-offset: 2px;
}

.store-detail-toolbar {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 8px;
}

.store-detail-toolbar .store-detail-close {
  position: static;
  top: auto;
  right: auto;
}

.store-detail-share {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  padding: 0;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: rgba(22, 27, 39, .88);
  color: var(--text-muted);
  cursor: pointer;
  outline: none;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
  transition: color .2s, border-color .2s, background .2s;
}

.store-detail-share:focus {
  outline: none;
}

.store-detail-share:focus-visible {
  outline: 2px solid var(--primary-light);
  outline-offset: 2px;
}

.store-detail-share:hover {
  color: var(--text);
  border-color: rgba(255, 255, 255, .15);
  background: var(--bg-3);
}

.store-detail-share svg {
  width: 18px;
  height: 18px;
}

.store-detail-close:hover {
  color: var(--text);
  border-color: rgba(255, 255, 255, .15);
  background: var(--bg-3);
}

.store-detail-close svg {
  width: 20px;
  height: 20px;
}

.store-detail-body {
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior: contain;
  overscroll-behavior-x: none;
  scrollbar-gutter: stable;
  flex: 1;
  min-height: 0;
  max-width: 100%;
}

.store-detail-body.store-scroll::-webkit-scrollbar {
  width: 8px;
}

.store-detail-body.store-scroll::-webkit-scrollbar-track {
  margin: 14px 6px;
  background: rgba(255, 255, 255, 0.03);
  border-radius: 999px;
}

.store-detail-body.store-scroll::-webkit-scrollbar-thumb {
  background: rgba(129, 140, 248, 0.38);
  border-radius: 999px;
  border: 2px solid transparent;
  background-clip: padding-box;
}

.store-detail-body.store-scroll::-webkit-scrollbar-thumb:hover {
  background: rgba(129, 140, 248, 0.58);
  background-clip: padding-box;
}

.store-detail-body.store-scroll {
  scrollbar-width: thin;
  scrollbar-color: rgba(129, 140, 248, 0.48) rgba(255, 255, 255, 0.04);
}

.store-detail-layout {
  display: grid;
  grid-template-columns: minmax(280px, 380px) minmax(0, 1fr);
  gap: 0;
  min-height: 320px;
  min-width: 0;
  max-width: 100%;
}

.store-detail-layout--acc {
  grid-template-columns: minmax(200px, 280px) minmax(0, 1fr);
}

.store-detail-media {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 280px;
  padding: 22px 20px;
  background: var(--bg-3);
  border-right: 1px solid var(--border);
}

.store-detail-media svg {
  width: 88px;
  height: 88px;
  color: var(--primary-light);
  opacity: .75;
}

.store-detail-media--img {
  padding: 20px;
}

.store-detail-media--img img {
  display: block;
  max-width: 100%;
  max-height: min(52vh, 420px);
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: var(--radius-sm);
}

.store-detail-gallery {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 280px;
  padding: 22px 20px 20px;
  background: var(--bg-3);
  border-right: 1px solid var(--border);
}

.store-detail-gallery-stage {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 14px;
  width: 100%;
}

.store-detail-gallery-main {
  position: relative;
  width: 100%;
}

.store-detail-gallery-viewport {
  position: relative;
  width: 100%;
  height: clamp(220px, 42vh, 340px);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 16px;
  background:
    radial-gradient(ellipse 90% 80% at 50% 42%, rgba(255, 255, 255, .06), transparent 68%),
    rgba(255, 255, 255, .025);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .07);
}

.store-detail-gallery-viewport img {
  display: block;
  max-width: 92%;
  max-height: 92%;
  width: auto;
  height: auto;
  object-fit: contain;
  user-select: none;
  -webkit-user-drag: none;
  filter: drop-shadow(0 10px 28px rgba(0, 0, 0, .22));
}

.store-detail-gallery-lens {
  position: absolute;
  pointer-events: none;
  border: 1px solid rgba(255, 255, 255, .55);
  background: rgba(129, 140, 248, .1);
  box-shadow: 0 0 0 1px rgba(99, 102, 241, .35);
  transform: translate(-50%, -50%);
  border-radius: 3px;
  z-index: 2;
}

.store-detail-gallery-zoompane {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  border: none;
  background-color: var(--bg-3);
  background-repeat: no-repeat;
  box-shadow: none;
  z-index: 1;
  pointer-events: none;
  opacity: 0;
  transition: opacity .18s ease;
}

.store-detail-gallery.is-zooming .store-detail-gallery-zoompane {
  opacity: 1;
}

.store-detail-gallery.is-zooming .store-detail-gallery-viewport img[data-gallery-main] {
  opacity: 0;
}

.store-detail-gallery-viewport img[data-gallery-main] {
  position: relative;
  z-index: 0;
  transition: opacity .18s ease;
}

.store-detail-gallery-expand {
  position: absolute;
  right: 12px;
  bottom: 12px;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  padding: 0;
  border: none;
  border-radius: 9px;
  background: rgba(12, 15, 24, .62);
  backdrop-filter: blur(8px);
  color: rgba(255, 255, 255, .92);
  cursor: pointer;
  opacity: 0;
  transform: translateY(4px);
  transition: opacity .22s ease, transform .22s ease, background .2s ease, color .2s ease;
}

.store-detail-gallery-expand svg {
  width: 16px;
  height: 16px;
}

.store-detail-gallery-viewport:hover .store-detail-gallery-expand,
.store-detail-gallery-viewport:focus-within .store-detail-gallery-expand,
.store-detail-gallery-expand:focus-visible {
  opacity: 1;
  transform: translateY(0);
}

.store-detail-gallery-expand:hover {
  background: rgba(99, 102, 241, .78);
  color: #fff;
}

@media (hover: hover) and (pointer: fine) {
  .store-detail-gallery-viewport {
    cursor: pointer;
  }

  .store-detail-gallery.is-zoom-armed .store-detail-gallery-viewport {
    cursor: zoom-in;
  }

  .store-detail-gallery.is-zooming .store-detail-gallery-viewport {
    cursor: crosshair;
  }
}

.store-detail-gallery-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 4;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  padding: 0;
  border: none;
  border-radius: 999px;
  background: rgba(12, 15, 24, .58);
  backdrop-filter: blur(8px);
  color: rgba(255, 255, 255, .9);
  cursor: pointer;
  opacity: 0;
  transition: opacity .22s ease, background .2s ease, transform .22s ease;
}

.store-detail-gallery-nav svg {
  width: 16px;
  height: 16px;
}

.store-detail-gallery-prev {
  left: 10px;
  transform: translate(-4px, -50%);
}

.store-detail-gallery-next {
  right: 10px;
  transform: translate(4px, -50%);
}

.store-detail-gallery-main:hover .store-detail-gallery-nav,
.store-detail-gallery-main:focus-within .store-detail-gallery-nav {
  opacity: 1;
}

.store-detail-gallery-main:hover .store-detail-gallery-prev,
.store-detail-gallery-main:focus-within .store-detail-gallery-prev {
  transform: translate(0, -50%);
}

.store-detail-gallery-main:hover .store-detail-gallery-next,
.store-detail-gallery-main:focus-within .store-detail-gallery-next {
  transform: translate(0, -50%);
}

.store-detail-gallery-nav:hover {
  background: rgba(99, 102, 241, .75);
  color: #fff;
}

.store-detail-gallery-counter {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 3;
  padding: 4px 9px;
  border-radius: 999px;
  font-size: .64rem;
  font-weight: 600;
  letter-spacing: .04em;
  color: rgba(255, 255, 255, .88);
  background: rgba(10, 12, 20, .52);
  backdrop-filter: blur(6px);
}

.store-detail-gallery-thumbs {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  gap: 8px;
  justify-content: center;
  overflow-x: auto;
  padding: 2px 2px 6px;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.store-detail-gallery-thumbs::-webkit-scrollbar {
  display: none;
}

.store-detail-gallery-thumb {
  position: relative;
  flex: 0 0 54px;
  width: 54px;
  height: 54px;
  padding: 5px;
  border: 1px solid transparent;
  border-radius: 10px;
  background: rgba(255, 255, 255, .04);
  cursor: pointer;
  transition: border-color .2s ease, background .2s ease, transform .2s ease;
}

.store-detail-gallery-thumb::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -5px;
  width: 0;
  height: 2px;
  border-radius: 2px;
  background: var(--primary-light);
  transform: translateX(-50%);
  transition: width .2s ease;
}

.store-detail-gallery-thumb.is-active {
  border-color: rgba(129, 140, 248, .45);
  background: rgba(99, 102, 241, .12);
}

.store-detail-gallery-thumb.is-active::after {
  width: 22px;
}

.store-detail-gallery-thumb:hover {
  border-color: rgba(129, 140, 248, .32);
  background: rgba(255, 255, 255, .06);
}

.store-detail-gallery-thumb img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 5px;
}

/* Visionneuse plein écran (au-dessus de la fiche produit) */
body.store-gallery-viewer-open {
  overflow: hidden;
}

.store-gallery-viewer {
  position: fixed;
  inset: 0;
  z-index: 10050;
  display: grid;
  place-items: center;
}

.store-gallery-viewer[hidden] {
  display: none !important;
}

.store-gallery-viewer-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(4, 6, 16, .92);
  backdrop-filter: blur(10px);
}

.store-gallery-viewer-stage {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  width: min(94vw, 1100px);
  max-height: 82vh;
  padding: 56px 72px;
}

.store-gallery-viewer-img {
  display: block;
  max-width: 100%;
  max-height: 82vh;
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 8px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, .45);
  user-select: none;
  -webkit-user-drag: none;
}

.store-gallery-viewer-close,
.store-gallery-viewer-nav {
  position: absolute;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: none;
  border-radius: 999px;
  background: rgba(12, 15, 24, .62);
  backdrop-filter: blur(10px);
  color: rgba(255, 255, 255, .92);
  cursor: pointer;
  transition: background .2s ease, color .2s ease, transform .2s ease;
}

.store-gallery-viewer-close {
  top: 16px;
  right: 16px;
  width: 44px;
  height: 44px;
}

.store-gallery-viewer-nav {
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
}

.store-gallery-viewer-prev { left: 16px; }
.store-gallery-viewer-next { right: 16px; }

.store-gallery-viewer-close:hover,
.store-gallery-viewer-nav:hover {
  background: rgba(99, 102, 241, .78);
  color: #fff;
}

.store-gallery-viewer-close svg,
.store-gallery-viewer-nav svg {
  width: 20px;
  height: 20px;
}

.store-gallery-viewer-counter {
  position: absolute;
  left: 50%;
  bottom: 20px;
  transform: translateX(-50%);
  margin: 0;
  padding: 5px 12px;
  border-radius: 999px;
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .04em;
  color: rgba(255, 255, 255, .9);
  background: rgba(10, 12, 20, .55);
  backdrop-filter: blur(8px);
  z-index: 2;
}

.store-detail-main {
  padding: 28px 28px 24px;
  display: flex;
  flex-direction: column;
  gap: 0;
  min-height: 0;
}

.store-detail-head {
  flex-shrink: 0;
  padding-right: 104px;
}

.store-detail-scroll {
  flex: 1 1 auto;
  min-height: 0;
}

.store-detail-badges {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: 6px;
  margin-bottom: 12px;
  overflow: visible;
  width: 100%;
  max-width: 100%;
  word-break: normal;
  overflow-wrap: normal;
}

.store-detail-badges > * {
  flex: 0 0 auto;
  white-space: nowrap;
}

.store-detail-badges .store-product-cat {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(99, 102, 241, .12);
  border: 1px solid rgba(99, 102, 241, .28);
}

.store-detail-badges .store-product-stock {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .04);
  border: 1px solid var(--border);
}

.store-detail-badges .store-product-stock--ok {
  border-color: rgba(52, 211, 153, .28);
  background: rgba(52, 211, 153, .08);
}

.store-detail-badges .store-product-stock--no {
  border-color: rgba(248, 113, 113, .28);
  background: rgba(248, 113, 113, .08);
}

.store-detail-tag {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  white-space: nowrap;
}

.store-detail-tag--new {
  background: linear-gradient(135deg, #2563eb, #38bdf8);
  color: #fff;
  border-color: rgba(56, 189, 248, .45);
}

.store-detail-tag--pick {
  background: linear-gradient(135deg, rgba(99, 102, 241, .25), rgba(139, 92, 246, .18));
  color: #c4b5fd;
  border: 1px solid rgba(99, 102, 241, .35);
}

.store-detail-tag--refurb {
  background: rgba(20, 184, 166, .16);
  color: #5eead4;
  border: 1px solid rgba(20, 184, 166, .35);
}

.store-detail-tag--promo {
  background: rgba(239, 68, 68, .15);
  color: #fca5a5;
  border: 1px solid rgba(239, 68, 68, .3);
}

.store-detail-tag--gaming {
  background: rgba(168, 85, 247, .16);
  color: #d8b4fe;
  border: 1px solid rgba(168, 85, 247, .35);
}

.store-detail-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(1.35rem, 2.5vw, 1.75rem);
  font-weight: 600;
  line-height: 1.25;
  margin: 0 0 14px;
}

.store-detail-price-row {
  margin-bottom: 18px;
}

.store-detail-price-row .store-product-price {
  font-size: 1.15rem;
}

/* — Modale options panier — */
body.store-cart-configure-open {
  overflow: hidden;
}

.store-cart-configure {
  position: fixed;
  inset: 0;
  z-index: 10040;
  display: grid;
  place-items: center;
  padding: 20px;
}

.store-cart-configure[hidden] {
  display: none !important;
}

.store-cart-configure-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(4, 6, 16, .78);
  backdrop-filter: blur(6px);
}

.store-cart-configure-dialog {
  position: relative;
  z-index: 1;
  width: min(100%, 480px);
  max-height: min(90vh, 640px);
  overflow: auto;
  padding: 24px 22px 22px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background: var(--bg-2);
  box-shadow: 0 24px 64px rgba(0, 0, 0, .45);
}

.store-cart-configure-close {
  position: absolute;
  top: 12px;
  right: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--bg-3);
  color: var(--text-muted);
  cursor: pointer;
}

.store-cart-configure-head {
  padding-right: 36px;
  margin-bottom: 18px;
}

.store-cart-configure-kicker {
  margin: 0 0 6px;
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--primary-light);
}

.store-cart-configure-head h2 {
  margin: 0 0 8px;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.35rem;
}

.store-cart-configure-product {
  margin: 0;
  font-size: .92rem;
  color: var(--text-muted);
}

.store-cart-configure-fields {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 20px;
}

.store-cart-configure-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.store-cart-configure-label {
  font-size: .82rem;
  font-weight: 600;
  color: var(--text);
}

.store-cart-configure-field select {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--bg-3);
  color: var(--text);
  font: inherit;
}

.store-cart-configure-total {
  margin: 0 0 16px;
  padding: 10px 12px;
  border-radius: var(--radius-sm);
  font-size: .86rem;
  font-weight: 600;
  color: var(--text);
  background: rgba(99, 102, 241, .1);
  border: 1px solid rgba(99, 102, 241, .22);
}

.store-cart-configure-actions {
  display: flex;
  gap: 10px;
  justify-content: flex-end;
}

.cart-line-option {
  margin: 2px 0 0;
  font-size: .74rem;
  line-height: 1.4;
  color: var(--text-muted);
}

.cart-line-options {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin-top: 4px;
}

.cart-line-options-text {
  flex: 1;
  min-width: 0;
}

.cart-options-edit {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  flex-shrink: 0;
  margin-top: 2px;
  border: 1px solid rgba(99, 102, 241, .25);
  border-radius: 8px;
  background: rgba(99, 102, 241, .08);
  color: var(--primary-light);
  cursor: pointer;
  transition: color .2s, border-color .2s, background .2s;
}

.cart-options-edit svg {
  width: 14px;
  height: 14px;
}

.cart-options-edit:hover {
  color: #c4b5fd;
  border-color: rgba(99, 102, 241, .45);
  background: rgba(99, 102, 241, .16);
}

.store-detail-desc {
  font-size: .95rem;
  line-height: 1.75;
  color: var(--text-muted);
  margin: 0 0 18px;
  white-space: pre-wrap;
}

.store-detail-main .store-service-pills {
  margin-bottom: 18px;
}

.store-detail-config {
  margin-bottom: 18px;
}

.store-config-heading {
  margin: 0 0 10px;
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--primary-light);
}

.store-config {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* —— Tuiles principales (CPU, RAM, GPU/Stockage) —— */
.store-config-hero {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.store-config-hero:has(.store-config-hero-tile:nth-child(2):last-child) {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.store-config-hero:has(.store-config-hero-tile:nth-child(1):last-child) {
  grid-template-columns: 1fr;
}

.store-config-hero-tile {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  min-width: 0;
  padding: 12px 11px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,.1);
  background: linear-gradient(155deg, rgba(255,255,255,.07) 0%, rgba(255,255,255,.02) 100%);
}

.store-config-hero-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: rgba(0,0,0,.22);
}

.store-config-hero-icon svg {
  width: 18px;
  height: 18px;
}

.store-config-hero-body {
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 0;
  width: 100%;
}

.store-config-hero-kicker {
  font-size: .58rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: rgba(255,255,255,.55);
  line-height: 1.2;
}

.store-config-hero-value {
  font-size: .8rem;
  font-weight: 700;
  line-height: 1.35;
  color: #fff;
  word-break: break-word;
}

.store-config-hero-sub {
  font-size: .67rem;
  font-weight: 500;
  line-height: 1.35;
  color: rgba(255,255,255,.62);
  word-break: break-word;
}

.store-config-hero-tile--cpu {
  background: linear-gradient(155deg, rgba(99,102,241,.28) 0%, rgba(99,102,241,.08) 100%);
  border-color: rgba(129,140,248,.32);
}
.store-config-hero-tile--cpu .store-config-hero-icon svg { color: #c7d2fe; }

.store-config-hero-tile--ram {
  background: linear-gradient(155deg, rgba(16,185,129,.26) 0%, rgba(16,185,129,.07) 100%);
  border-color: rgba(52,211,153,.28);
}
.store-config-hero-tile--ram .store-config-hero-icon svg { color: #6ee7b7; }

.store-config-hero-tile--gpu {
  background: linear-gradient(155deg, rgba(236,72,153,.24) 0%, rgba(236,72,153,.07) 100%);
  border-color: rgba(244,114,182,.3);
}
.store-config-hero-tile--gpu .store-config-hero-icon svg { color: #f9a8d4; }

.store-config-hero-tile--storage {
  background: linear-gradient(155deg, rgba(14,165,233,.24) 0%, rgba(14,165,233,.07) 100%);
  border-color: rgba(56,189,248,.28);
}
.store-config-hero-tile--storage .store-config-hero-icon svg { color: #7dd3fc; }

.store-config-hero-tile--display {
  background: linear-gradient(155deg, rgba(139,92,246,.24) 0%, rgba(139,92,246,.07) 100%);
  border-color: rgba(167,139,250,.28);
}
.store-config-hero-tile--display .store-config-hero-icon svg { color: #c4b5fd; }

.store-detail-config--gaming .store-config-hero-tile--cpu {
  background: linear-gradient(155deg, rgba(168,85,247,.3) 0%, rgba(168,85,247,.08) 100%);
  border-color: rgba(192,132,252,.32);
}
.store-detail-config--gaming .store-config-hero-tile--cpu .store-config-hero-icon svg { color: #e9d5ff; }

.store-detail-config--gaming .store-config-hero-tile--gpu {
  background: linear-gradient(155deg, rgba(244,63,94,.28) 0%, rgba(244,63,94,.08) 100%);
  border-color: rgba(251,113,133,.32);
}

/* —— Grille secondaire —— */
.store-config-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.store-config-card {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  min-width: 0;
  padding: 10px 11px;
  border-radius: 11px;
  background: rgba(255,255,255,.035);
  border: 1px solid rgba(255,255,255,.07);
}

.store-config-card-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  flex-shrink: 0;
  border-radius: 8px;
  background: rgba(0,0,0,.22);
}

.store-config-card-icon svg {
  width: 15px;
  height: 15px;
  opacity: 1;
}

.store-config-card-body {
  min-width: 0;
  flex: 1;
}

.store-config-card-label {
  display: block;
  margin-bottom: 2px;
  font-size: .58rem;
  font-weight: 700;
  letter-spacing: .07em;
  text-transform: uppercase;
  color: var(--text-muted);
  line-height: 1.2;
}

.store-config-card-value {
  margin: 0;
  font-size: .76rem;
  font-weight: 600;
  line-height: 1.35;
  color: var(--text);
  word-break: break-word;
}

.store-config-card-sub {
  margin: 3px 0 0;
  font-size: .66rem;
  font-weight: 500;
  line-height: 1.35;
  color: var(--text-muted);
  word-break: break-word;
}

.store-config-card--cpu .store-config-card-icon svg { color: #a5b4fc; }
.store-config-card--ram .store-config-card-icon svg { color: #6ee7b7; }
.store-config-card--storage .store-config-card-icon svg { color: #fcd34d; }
.store-config-card--os .store-config-card-icon svg { color: #93c5fd; }
.store-config-card--gpu .store-config-card-icon svg { color: #f9a8d4; }
.store-config-card--display .store-config-card-icon svg { color: #7dd3fc; }
.store-config-card--cooling .store-config-card-icon svg { color: #67e8f9; }
.store-config-card--motherboard .store-config-card-icon svg { color: #c4b5fd; }
.store-config-card--case .store-config-card-icon svg { color: #cbd5e1; }
.store-config-card--psu .store-config-card-icon svg { color: #fb923c; }
.store-config-card--weight .store-config-card-icon svg { color: #cbd5e1; }

/* —— Connectivité & extras —— */
.store-config-extras {
  padding: 10px 12px;
  border-radius: 11px;
  background: rgba(0,0,0,.16);
  border: 1px dashed rgba(255,255,255,.1);
}

.store-config-extras-label {
  display: block;
  margin-bottom: 8px;
  font-size: .6rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.store-config-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.store-config-tag {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  max-width: 100%;
  padding: 5px 10px 5px 7px;
  border-radius: 999px;
  font-size: .71rem;
  font-weight: 600;
  line-height: 1.3;
  color: var(--text);
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.09);
}

.store-config-tag-icon {
  display: flex;
  flex-shrink: 0;
}

.store-config-tag-icon svg {
  width: 13px;
  height: 13px;
  opacity: .9;
}

.store-config-tag-text {
  min-width: 0;
  word-break: break-word;
}

.store-config-tag--keyboard .store-config-tag-icon svg { color: #d8b4fe; }
.store-config-tag--bluetooth .store-config-tag-icon svg { color: #93c5fd; }
.store-config-tag--wifi .store-config-tag-icon svg { color: #67e8f9; }
.store-config-tag--feature .store-config-tag-icon svg { color: #fde047; }

@media (max-width: 560px) {
  .store-config-hero {
    grid-template-columns: 1fr;
  }

  .store-config-grid {
    grid-template-columns: 1fr;
  }
}

@media (min-width: 561px) and (max-width: 720px) {
  .store-config-hero {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .store-config-hero-value {
    font-size: .74rem;
  }
}

.store-detail-actions {
  margin-top: auto;
  padding-top: 8px;
  border-top: 1px solid var(--border);
}

.store-detail-actions .btn {
  width: 100%;
  justify-content: center;
  padding: 14px 20px;
}

.store-detail-actions .store-buy {
  flex: 1 1 100%;
  width: 100%;
  max-width: none;
  margin-left: 0;
  padding: 14px 20px !important;
  font-size: .9rem !important;
  min-height: 44px;
  line-height: 1.25;
  white-space: nowrap;
}

.store-detail-note {
  margin: 12px 0 0;
  font-size: .82rem;
  color: var(--text-muted);
  line-height: 1.55;
  text-align: center;
}

/* — Drawer commande — */
.store-drawer {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  justify-content: flex-end;
}

.store-drawer[hidden] { display: none !important; }

.store-drawer-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,.6);
  backdrop-filter: blur(4px);
  animation: storeBackdropIn .25s ease;
}

@keyframes storeBackdropIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.store-drawer-panel {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 440px;
  height: 100%;
  background: var(--bg-2);
  border-left: 1px solid var(--border);
  box-shadow: -16px 0 48px rgba(0,0,0,.45);
  display: flex;
  flex-direction: column;
  padding: 28px 26px 32px;
  overflow-y: auto;
  animation: storeDrawerIn .3s cubic-bezier(.4,0,.2,1);
}

@keyframes storeDrawerIn {
  from { transform: translateX(100%); }
  to { transform: translateX(0); }
}

.store-drawer-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 24px;
}

.store-drawer-head h2 {
  font-size: 1.25rem;
  font-weight: 600;
}

.store-drawer-close {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--bg-3);
  color: var(--text-muted);
  cursor: pointer;
  transition: color .2s, border-color .2s;
}

.store-drawer-close:hover {
  color: var(--text);
  border-color: rgba(255,255,255,.15);
}

.store-drawer-close svg { width: 20px; height: 20px; }

.store-drawer-product {
  padding: 18px 20px;
  background: var(--bg-3);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  margin-bottom: 16px;
}

.store-drawer-label {
  display: block;
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 6px;
}

.store-drawer-name {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 4px;
}

.store-drawer-price {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--primary-light);
}

.store-drawer-note {
  font-size: .84rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 22px;
}

.store-form label {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 14px;
}

.store-form label span {
  font-size: .82rem;
  color: var(--text-muted);
}

.store-form input,
.store-form textarea {
  padding: 11px 14px;
  background: var(--bg-3);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text);
  font-family: inherit;
  font-size: 16px;
  transition: border-color .2s, box-shadow .2s;
}

.store-form input:focus,
.store-form textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(99,102,241,.15);
}

.store-form textarea { resize: vertical; min-height: 80px; }

.store-submit {
  width: 100%;
  margin-top: 8px;
}

.store-feedback,
.shop-feedback {
  font-size: .86rem;
  min-height: 1.2em;
  margin: 6px 0 4px;
}

.shop-feedback-ok { color: var(--accent); }
.shop-feedback-err { color: #f87171; }

.cart-order-success {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 28px 20px 24px;
  margin: 8px 0 12px;
  border: 1px solid rgba(99,102,241,.28);
  border-radius: 16px;
  background: linear-gradient(165deg, rgba(99,102,241,.1) 0%, rgba(99,102,241,.03) 100%);
}

.cart-order-success[hidden] {
  display: none !important;
}

.cart-order-success-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  margin-bottom: 14px;
  border-radius: 50%;
  background: rgba(99,102,241,.18);
  color: var(--primary-light);
}

.cart-order-success-icon svg {
  width: 28px;
  height: 28px;
}

.cart-order-success-title {
  margin: 0 0 8px;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text);
  letter-spacing: -.01em;
}

.cart-order-success-lead {
  margin: 0 0 12px;
  font-size: .92rem;
  font-weight: 600;
  color: var(--primary-light);
}

.cart-order-success-text {
  margin: 0 0 14px;
  max-width: 34ch;
  font-size: .88rem;
  line-height: 1.55;
  color: var(--text-muted);
}

.cart-order-success-text strong {
  color: var(--text);
  font-weight: 600;
}

.cart-order-success-contact {
  margin: 0 0 18px;
  padding: 10px 14px;
  max-width: 100%;
  border-radius: 10px;
  background: var(--bg-3);
  border: 1px solid var(--border);
  font-size: .82rem;
  line-height: 1.45;
  color: var(--text-muted);
  word-break: break-word;
}

.cart-order-success-close {
  width: 100%;
  max-width: 280px;
}

/* — Panier — */
.store-cart-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 14px;
  min-height: 38px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--bg-3);
  color: var(--text);
  font-family: inherit;
  font-size: .84rem;
  font-weight: 600;
  cursor: pointer;
  transition: border-color .2s, background .2s, color .2s;
  position: relative;
  flex-shrink: 0;
}

.store-cart-btn svg {
  width: 17px;
  height: 17px;
}

.store-cart-btn:hover {
  border-color: rgba(99,102,241,.45);
  color: var(--primary-light);
}

.store-cart-btn.has-items {
  border-color: rgba(99, 102, 241, .62);
  color: #c7d2fe;
  background: linear-gradient(135deg, rgba(99, 102, 241, .22), rgba(79, 70, 229, .1));
  box-shadow: 0 0 0 0 rgba(99, 102, 241, .38);
  animation: store-cart-items-glow 2.5s ease-in-out infinite;
}

.store-cart-btn.has-items svg {
  color: var(--primary-light);
  filter: drop-shadow(0 0 6px rgba(99, 102, 241, .45));
}

.store-cart-btn.has-items .store-cart-badge {
  box-shadow: 0 0 12px rgba(99, 102, 241, .7);
  animation: store-cart-badge-pulse 2.5s ease-in-out infinite;
}

@keyframes store-cart-items-glow {
  0%, 100% { box-shadow: 0 0 0 0 rgba(99, 102, 241, .38); }
  50% { box-shadow: 0 0 0 7px rgba(99, 102, 241, 0); }
}

@keyframes store-cart-badge-pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.1); }
}

.store-cart-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  border-radius: 999px;
  background: var(--primary);
  color: #fff;
  font-size: .7rem;
  font-weight: 700;
  line-height: 1;
}

.store-cart-badge[hidden] { display: none !important; }

/* — Animation ajout au panier — */
.cart-fly-item {
  position: fixed;
  z-index: 120;
  width: 52px;
  height: 52px;
  margin: 0;
  pointer-events: none;
  border-radius: 12px;
  overflow: hidden;
  border: 2px solid rgba(129, 140, 248, 0.55);
  background: var(--bg-2);
  box-shadow:
    0 10px 28px rgba(0, 0, 0, 0.38),
    0 0 0 1px rgba(99, 102, 241, 0.2);
  will-change: transform, opacity;
}

.cart-fly-item img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cart-fly-item-fallback {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  color: var(--primary-light);
  background: linear-gradient(145deg, rgba(99, 102, 241, 0.18), rgba(30, 36, 51, 0.95));
}

.cart-fly-item-fallback svg {
  width: 24px;
  height: 24px;
}

@keyframes cart-target-pulse {
  0% { transform: scale(1); }
  35% { transform: scale(1.12); }
  100% { transform: scale(1); }
}

.store-cart-btn.cart-target-pulse {
  animation: cart-target-pulse 0.42s cubic-bezier(0.22, 1, 0.36, 1);
}

@media (prefers-reduced-motion: reduce) {
  .store-cart-btn.cart-target-pulse {
    animation: none;
  }
}

/* — Boutons panier flottant (boutique) — aligné sur « retour en haut » — */
body.shop-page {
  --shop-fab-inset-x: max(16px, env(safe-area-inset-right, 0px));
  --shop-fab-inset-y: max(24px, env(safe-area-inset-bottom, 0px));
  --shop-fab-size: 44px;
  --shop-fab-stack-gap: 8px;
}

@media (min-width: 769px) {
  body.shop-page {
    --shop-fab-inset-x: max(32px, env(safe-area-inset-right, 0px));
    --shop-fab-inset-y: max(32px, env(safe-area-inset-bottom, 0px));
    --shop-fab-size: 54px;
    --shop-fab-stack-gap: 12px;
  }
}

body.shop-page .back-to-top {
  right: var(--shop-fab-inset-x);
  bottom: var(--shop-fab-inset-y);
  width: var(--shop-fab-size);
  height: var(--shop-fab-size);
}

body.shop-page .back-to-top svg {
  width: calc(var(--shop-fab-size) * 0.42);
  height: calc(var(--shop-fab-size) * 0.42);
}

.store-floating-actions {
  position: fixed;
  z-index: 98;
  right: max(16px, env(safe-area-inset-right, 0px));
  bottom: max(20px, env(safe-area-inset-bottom, 0px));
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 8px;
  border-radius: 999px;
  background: rgba(12, 14, 22, 0.88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(99, 102, 241, 0.28);
  box-shadow: 0 10px 36px rgba(0, 0, 0, 0.38);
  opacity: 0;
  transform: translateY(14px) scale(0.94);
  pointer-events: none;
  visibility: hidden;
  transition: opacity .28s ease, transform .28s ease, visibility .28s ease, bottom .28s ease;
}

body.shop-page .store-floating-actions {
  right: var(--shop-fab-inset-x);
  bottom: var(--shop-fab-inset-y);
  padding: 0;
  gap: 0;
  border: none;
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

.store-floating-actions.is-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
  visibility: visible;
}

body.shop-page:has(.back-to-top.visible) .store-floating-actions {
  bottom: calc(var(--shop-fab-inset-y) + var(--shop-fab-size) + var(--shop-fab-stack-gap));
}

.store-floating-actions .store-cart-btn--dock {
  width: 40px;
  height: 40px;
  min-height: 40px;
  padding: 0;
  justify-content: center;
  border-radius: 50%;
}

body.shop-page .store-floating-actions .store-cart-btn--dock {
  width: var(--shop-fab-size);
  height: var(--shop-fab-size);
  min-height: var(--shop-fab-size);
}

.store-floating-actions .store-cart-btn--dock svg {
  width: 18px;
  height: 18px;
}

body.shop-page .store-floating-actions .store-cart-btn--dock svg {
  width: calc(var(--shop-fab-size) * 0.48);
  height: calc(var(--shop-fab-size) * 0.48);
}

.store-floating-actions .store-cart-badge {
  position: absolute;
  top: -4px;
  right: -4px;
  min-width: 17px;
  height: 17px;
  font-size: .65rem;
}

body.shop-page .store-floating-actions .store-cart-badge {
  top: -2px;
  right: -2px;
  min-width: calc(var(--shop-fab-size) * 0.36);
  height: calc(var(--shop-fab-size) * 0.36);
  font-size: .68rem;
}

@media (min-width: 769px) {
  .store-head-actions .store-cart-btn {
    min-height: 44px;
    padding: 10px 18px;
    font-size: .9rem;
  }

  .store-head-actions .store-cart-btn svg {
    width: 24px;
    height: 24px;
  }
}

body.store-drawer-open .store-floating-actions,
body.store-detail-open .store-floating-actions,
body.store-cart-configure-open .store-floating-actions,
body.shop-intro-open .store-floating-actions,
body.store-sidebar-open .store-floating-actions,
body.store-gallery-viewer-open .store-floating-actions {
  opacity: 0 !important;
  pointer-events: none !important;
  visibility: hidden !important;
}

@media (prefers-reduced-motion: reduce) {
  .store-floating-actions {
    transition: opacity .12s ease, visibility .12s ease;
    transform: none;
  }

  .store-floating-actions.is-visible {
    transform: none;
  }
}

.store-drawer-panel--cart {
  max-width: min(520px, 100%);
  height: 100%;
  height: 100dvh;
  max-height: 100dvh;
  padding: 0;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

/* Panier : pas de scroll horizontal — le contenu se réorganise au lieu d'être coupé */
.store-drawer-panel--cart .cart-drawer-body,
.store-drawer-panel--cart .cart-drawer-footer,
.store-drawer-panel--cart .cart-checkout,
.store-drawer-panel--cart .cart-section,
.store-drawer-panel--cart .cart-items-wrap,
.store-drawer-panel--cart .cart-line,
.store-drawer-panel--cart .cart-contact-form,
.store-drawer-panel--cart .cart-options-card,
.store-drawer-panel--cart .cart-delivery-cards,
.store-drawer-panel--cart .cart-address-card {
  min-width: 0;
  max-width: 100%;
}

.store-drawer-panel--cart .store-form label,
.store-drawer-panel--cart .cart-contact-grid > label,
.store-drawer-panel--cart .cart-address-field {
  min-width: 0;
  max-width: 100%;
}

.store-drawer-panel--cart .store-form input,
.store-drawer-panel--cart .store-form textarea,
.store-drawer-panel--cart .cart-address-field input {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  box-sizing: border-box;
}

.store-drawer-panel--cart .cart-section-head > div:last-child {
  min-width: 0;
  flex: 1;
}

.store-drawer-panel--cart :is(
  .cart-section-title,
  .cart-section-lead,
  .cart-option-body strong,
  .cart-option-body small,
  .cart-delivery-card-text strong,
  .cart-delivery-card-text small,
  .cart-pickup-notice p,
  .cart-line-unit,
  .cart-footer-trust,
  .cart-footer-feedback,
  .cart-delivery-note,
  .cart-totals-summary-label,
  .cart-totals-summary-val,
  .cart-total-row span,
  .cart-total-row strong,
  .cart-zone-notice span
) {
  overflow-wrap: anywhere;
  word-break: break-word;
}

.cart-drawer-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-shrink: 0;
  padding: 14px 18px 12px;
  border-bottom: 1px solid var(--border);
  background: linear-gradient(180deg, rgba(99,102,241,.08) 0%, transparent 100%);
}

.cart-drawer-head-main {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.cart-drawer-head-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 38px;
  height: 38px;
  border-radius: 11px;
  background: rgba(99,102,241,.14);
  border: 1px solid rgba(99,102,241,.26);
  color: var(--primary-light);
}

.cart-drawer-head-icon svg {
  width: 20px;
  height: 20px;
}

.cart-drawer-head h2 {
  margin: 0;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: -.02em;
  line-height: 1.2;
  overflow-wrap: anywhere;
}

.cart-drawer-subtitle {
  margin: 3px 0 0;
  font-size: .78rem;
  color: var(--text-muted);
}

.cart-drawer-subtitle[hidden] {
  display: none !important;
}

.cart-drawer-close {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--bg-3);
  color: var(--text-muted);
  cursor: pointer;
  transition: color .2s, border-color .2s, background .2s;
  flex-shrink: 0;
}

.cart-drawer-close:hover {
  color: var(--text);
  border-color: rgba(99,102,241,.35);
  background: rgba(99,102,241,.08);
}

.cart-drawer-close svg {
  width: 18px;
  height: 18px;
}

.cart-drawer-body {
  flex: 1;
  min-height: 0;
  min-width: 0;
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 12px 16px 10px;
  scrollbar-width: thin;
  scrollbar-color: rgba(129, 140, 248, 0.45) transparent;
}

.cart-drawer-footer {
  flex-shrink: 0;
  min-width: 0;
  padding: 8px 16px max(10px, env(safe-area-inset-bottom, 10px));
  border-top: 1px solid var(--border);
  background: var(--bg-2);
  box-shadow: 0 -4px 18px rgba(0,0,0,.2);
}

.cart-drawer-footer[hidden] {
  display: none !important;
}

.cart-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 36px 20px 28px;
  color: var(--text-muted);
}

.cart-empty[hidden] {
  display: none !important;
}

.cart-empty-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 72px;
  height: 72px;
  margin-bottom: 16px;
  border-radius: 50%;
  background: rgba(99,102,241,.1);
  border: 1px solid rgba(99,102,241,.2);
  color: var(--primary-light);
}

.cart-empty-icon svg {
  width: 34px;
  height: 34px;
  opacity: .85;
}

.cart-empty-title {
  margin: 0 0 8px;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text);
}

.cart-empty-hint {
  margin: 0 0 20px;
  max-width: 28ch;
  font-size: .86rem;
  line-height: 1.55;
}

.cart-empty .btn {
  min-width: 200px;
}

.cart-items-details {
  margin-bottom: 12px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: rgba(255, 255, 255, .02);
  overflow: hidden;
}

.cart-items-details[hidden] {
  display: none !important;
}

.cart-items-summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 10px 12px;
  cursor: pointer;
  list-style: none;
  user-select: none;
}

.cart-items-summary::-webkit-details-marker {
  display: none;
}

.cart-items-summary::after {
  content: "";
  width: 7px;
  height: 7px;
  margin-left: 10px;
  border-right: 2px solid var(--text-muted);
  border-bottom: 2px solid var(--text-muted);
  transform: rotate(45deg);
  transition: transform .2s ease;
  flex-shrink: 0;
}

.cart-items-details[open] .cart-items-summary::after {
  transform: rotate(-135deg);
  margin-top: 3px;
}

.cart-items-summary-label {
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .03em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.cart-items-summary-val {
  margin-left: auto;
  font-size: .92rem;
  font-weight: 800;
  color: var(--primary-light);
  letter-spacing: -.02em;
}

.cart-items-details .cart-items-wrap {
  margin-bottom: 0;
  padding: 0 10px 10px;
  max-height: min(34vh, 260px);
  overflow-y: auto;
  overscroll-behavior: contain;
}

.cart-items-wrap {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 12px;
}

.cart-items-wrap[hidden] {
  display: none !important;
}

.cart-line {
  padding: 10px 12px 9px;
  background: var(--bg-3);
  border: 1px solid var(--border);
  border-radius: 12px;
  transition: border-color .2s, box-shadow .2s;
}

.cart-line:hover {
  border-color: rgba(99,102,241,.28);
}

.cart-line-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 8px;
}

.cart-line-main {
  min-width: 0;
}

.cart-line-name {
  margin: 0 0 4px;
  font-weight: 600;
  font-size: .92rem;
  line-height: 1.35;
  color: var(--text);
}

.cart-line-unit {
  margin: 0;
  font-size: .78rem;
  color: var(--text-muted);
}

.cart-line-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px 12px;
}

.cart-qty {
  display: inline-flex;
  align-items: center;
  gap: 0;
  border: 1px solid var(--border);
  border-radius: 999px;
  overflow: hidden;
  background: var(--bg-2);
}

.cart-qty-btn {
  width: 32px;
  height: 32px;
  border: none;
  background: transparent;
  color: var(--text);
  font-size: 1.05rem;
  line-height: 1;
  cursor: pointer;
  transition: color .2s, background .2s;
}

.cart-qty-btn:hover:not(:disabled) {
  color: var(--primary-light);
  background: rgba(99,102,241,.1);
}

.cart-qty-btn:disabled {
  opacity: .35;
  cursor: not-allowed;
}

.cart-qty-val {
  min-width: 28px;
  text-align: center;
  font-size: .84rem;
  font-weight: 700;
}

.cart-line-total {
  margin: 0;
  font-size: .95rem;
  font-weight: 700;
  color: var(--primary-light);
  white-space: nowrap;
}

.cart-remove {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border: 1px solid transparent;
  border-radius: 10px;
  background: transparent;
  color: var(--text-muted);
  cursor: pointer;
  transition: color .2s, border-color .2s, background .2s;
  flex-shrink: 0;
}

.cart-remove svg {
  width: 16px;
  height: 16px;
}

.cart-remove:hover {
  color: #f87171;
  border-color: rgba(248,113,113,.25);
  background: rgba(248,113,113,.08);
}

.cart-totals-details {
  margin-bottom: 4px;
}

.cart-totals-details[open] .cart-totals-summary::after {
  transform: rotate(180deg);
}

.cart-totals-summary {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 4px 8px;
  min-width: 0;
  list-style: none;
  cursor: pointer;
  padding: 0 0 3px;
  user-select: none;
}

.cart-totals-summary::-webkit-details-marker {
  display: none;
}

.cart-totals-summary::after {
  content: "";
  width: 8px;
  height: 8px;
  margin-left: 8px;
  border-right: 2px solid var(--text-muted);
  border-bottom: 2px solid var(--text-muted);
  transform: rotate(45deg);
  transition: transform .2s;
  flex-shrink: 0;
}

.cart-totals-summary-label {
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .03em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.cart-totals-summary-val {
  font-size: 1rem;
  font-weight: 800;
  color: var(--primary-light);
  letter-spacing: -.02em;
  min-width: 0;
  text-align: right;
}

.cart-totals {
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding: 2px 0 4px;
  border-top: 1px dashed var(--border);
}

.cart-total-row {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 2px 8px;
  min-width: 0;
  font-size: .74rem;
  color: var(--text-muted);
}

.cart-total-row[hidden] {
  display: none !important;
}

.cart-total-row > span,
.cart-total-row > strong {
  min-width: 0;
}

.cart-total-row strong {
  color: var(--text);
  font-weight: 600;
  font-size: .76rem;
  text-align: right;
  margin-left: auto;
}

.cart-total-row--htva {
  padding-top: 3px;
  margin-top: 1px;
  border-top: 1px dashed rgba(255,255,255,.06);
}

.cart-total-row--tvac {
  padding-top: 2px;
}

.cart-total-row--rounding {
  font-size: .72rem;
  color: var(--text-muted);
}

.cart-total-row--rounding strong {
  font-size: .74rem;
  font-weight: 600;
}

.cart-total-row--rounding strong.is-positive {
  color: #6ee7b7;
}

.cart-total-row--rounding strong.is-negative {
  color: #fca5a5;
}

.cart-rounding-hint {
  font-size: .64rem;
  font-weight: 500;
  opacity: .85;
}

.cart-delivery-note {
  margin: 0 0 5px;
  padding: 4px 8px;
  border-radius: 8px;
  font-size: .7rem;
  color: #c4b5fd;
  line-height: 1.35;
  background: rgba(99,102,241,.1);
  border: 1px solid rgba(99,102,241,.18);
}

.cart-delivery-note[hidden] {
  display: none !important;
}

.cart-minimum-notice {
  margin: 8px 0 0;
  padding: 8px 10px;
  border-radius: 8px;
  font-size: .76rem;
  line-height: 1.45;
}

#cartMinimumNotice {
  margin: 0 0 5px;
}

.cart-minimum-notice[hidden] {
  display: none !important;
}

.cart-footer-feedback {
  margin: 0 0 4px;
  min-height: 0;
  font-size: .78rem;
}

.cart-checkout-btn {
  width: 100%;
  max-width: 100%;
  min-height: 40px;
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-size: .86rem;
  font-weight: 700;
  border-radius: 11px;
  box-shadow: 0 4px 16px rgba(99,102,241,.28);
  overflow-wrap: anywhere;
}

.cart-checkout-btn svg {
  width: 15px;
  height: 15px;
  flex-shrink: 0;
}

.cart-checkout-btn:disabled {
  opacity: .45;
  box-shadow: none;
  cursor: not-allowed;
}

.cart-quote-legal {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 8px;
  margin: 0 0 8px;
  padding: 5px 8px;
  border-radius: 8px;
  font-size: .66rem;
  line-height: 1.35;
  color: var(--text-muted);
  background: rgba(99, 102, 241, .06);
  border: 1px solid rgba(99, 102, 241, .12);
}

.cart-quote-legal[hidden] {
  display: none !important;
}

.cart-quote-legal-details {
  flex: 1 1 auto;
  min-width: 0;
}

.cart-quote-legal-summary {
  display: block;
  list-style: none;
  cursor: pointer;
  text-align: center;
  font-weight: 500;
  color: var(--text-muted);
}

.cart-quote-legal-summary::-webkit-details-marker {
  display: none;
}

.cart-quote-legal-summary::after {
  content: " ▾";
  font-size: .58rem;
  opacity: .65;
}

.cart-quote-legal-details[open] .cart-quote-legal-summary::after {
  content: " ▴";
}

.cart-quote-legal-detail {
  margin: 4px 0 0;
  padding: 0 2px;
  font-size: .64rem;
  line-height: 1.4;
  text-align: center;
  color: var(--text-muted);
}

.cart-quote-legal-cgv {
  flex-shrink: 0;
  align-self: center;
  padding: 2px 7px;
  border-radius: 999px;
  font-size: .62rem;
  font-weight: 700;
  letter-spacing: .03em;
  text-transform: uppercase;
  color: var(--primary-light);
  text-decoration: none;
  background: rgba(99, 102, 241, .12);
  border: 1px solid rgba(99, 102, 241, .2);
}

.cart-quote-legal-cgv:hover {
  color: #fff;
  background: rgba(99, 102, 241, .28);
}

.cart-footer-trust {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 5px;
  margin: 5px 0 0;
  font-size: .66rem;
  color: var(--text-muted);
  text-align: center;
  line-height: 1.3;
}

.cart-footer-trust svg {
  width: 12px;
  height: 12px;
  flex-shrink: 0;
  color: var(--accent);
}

.cart-checkout {
  display: flex;
  flex-direction: column;
  gap: 0;
  min-width: 0;
}

.cart-checkout[hidden] {
  display: none !important;
}

.cart-checkout-progress {
  padding: 2px 0 12px;
  margin-bottom: 2px;
  border-bottom: 1px solid rgba(255, 255, 255, .08);
}

.cart-checkout-progress-steps {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  margin-bottom: 8px;
}

.cart-checkout-progress-step {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 999px;
  font-size: .78rem;
  font-weight: 800;
  color: var(--text-muted);
  background: rgba(255, 255, 255, .04);
  border: 1px solid var(--border);
  transition: background .2s, border-color .2s, color .2s, box-shadow .2s;
}

.cart-checkout-progress-step.is-current {
  color: #fff;
  background: linear-gradient(135deg, var(--primary), #8b5cf6);
  border-color: rgba(167, 139, 250, .45);
  box-shadow: 0 4px 14px rgba(99, 102, 241, .35);
}

.cart-checkout-progress-step.is-done {
  color: var(--accent);
  background: rgba(16, 185, 129, .12);
  border-color: rgba(16, 185, 129, .35);
}

.cart-checkout-progress-line {
  flex: 1 1 36px;
  max-width: 56px;
  height: 2px;
  margin: 0 6px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .08);
}

.cart-checkout-progress-line.is-done {
  background: rgba(16, 185, 129, .45);
}

.cart-checkout-progress-label {
  margin: 0;
  text-align: center;
  font-size: .82rem;
  font-weight: 600;
  color: var(--text-muted);
}

.cart-checkout-form {
  display: flex;
  flex-direction: column;
  gap: 0;
  min-width: 0;
}

.cart-checkout[data-step] [data-cart-step] {
  display: none;
}

.cart-checkout[data-step="1"] [data-cart-step="1"],
.cart-checkout[data-step="2"] [data-cart-step="2"],
.cart-checkout[data-step="3"] [data-cart-step="3"] {
  display: flex;
}

.cart-drawer-body[data-checkout-step]:not([data-checkout-step="1"]) .cart-items-details {
  display: none;
}

.cart-checkout .cart-section-head {
  display: none;
}

.cart-footer-actions {
  display: flex;
  align-items: stretch;
  gap: 10px;
}

.cart-step-back {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 12px 14px !important;
  min-height: 48px;
  font-size: .88rem !important;
}

/* display:inline-flex ci-dessus annule le [hidden] natif */
.cart-step-back[hidden],
.cart-drawer-body[data-checkout-step="1"] ~ .cart-drawer-footer .cart-step-back {
  display: none !important;
}

.cart-step-back svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

.cart-footer-actions .cart-checkout-btn {
  flex: 1 1 auto;
  min-width: 0;
}

.cart-section {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding-bottom: 4px;
}

.cart-section-head {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.cart-section-head--nested {
  margin-top: 0;
}

.cart-section-step {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  border-radius: 999px;
  background: rgba(99,102,241,.16);
  border: 1px solid rgba(99,102,241,.3);
  color: var(--primary-light);
  font-size: .78rem;
  font-weight: 800;
}

.cart-section-title {
  margin: 0 0 3px;
  font-family: 'Space Grotesk', sans-serif;
  font-size: .95rem;
  font-weight: 600;
  color: var(--text);
}

.cart-section-lead {
  margin: 0;
  font-size: .78rem;
  line-height: 1.45;
  color: var(--text-muted);
}

.cart-subsection--options {
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, .09);
}

.cart-delivery-cards {
  display: flex;
  flex-direction: column;
  gap: 6px;
  align-items: stretch;
}

.cart-delivery-card {
  position: relative;
  display: flex;
  min-width: 0;
  cursor: pointer;
}

.cart-delivery-card input {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  opacity: 0;
  cursor: pointer;
  z-index: 1;
}

.cart-delivery-card-inner {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  flex: 1;
  width: 100%;
  min-height: 100%;
  padding: 10px 12px;
  min-width: 0;
  box-sizing: border-box;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: var(--bg-3);
  transition: border-color .2s, background .2s, box-shadow .2s;
}

.cart-delivery-card:hover .cart-delivery-card-inner {
  border-color: rgba(99,102,241,.3);
}

.cart-delivery-card input:checked + .cart-delivery-card-inner {
  border-color: rgba(99,102,241,.5);
  background: rgba(99,102,241,.1);
  box-shadow: 0 0 0 1px rgba(99,102,241,.15);
}

.cart-delivery-card input:focus-visible + .cart-delivery-card-inner {
  outline: 2px solid rgba(99,102,241,.55);
  outline-offset: 0;
}

.cart-delivery-card-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 9px;
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.08);
  color: var(--primary-light);
}

.cart-delivery-card-icon svg {
  width: 18px;
  height: 18px;
}

.cart-delivery-card-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.cart-delivery-card-text strong {
  font-size: .88rem;
  font-weight: 600;
  color: var(--text);
}

.cart-delivery-card-text small {
  font-size: .76rem;
  color: var(--text-muted);
}

.cart-delivery-card-delay {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  gap: 5px;
  width: fit-content;
  max-width: 100%;
  margin-top: 4px;
  padding: 3px 8px;
  border-radius: 999px;
  font-size: .69rem;
  font-weight: 600;
  line-height: 1.25;
  color: #7dd3fc;
  background: rgba(56, 189, 248, .1);
  border: 1px solid rgba(56, 189, 248, .22);
  white-space: nowrap;
  box-sizing: border-box;
}

.cart-delivery-card-delay::before {
  content: "";
  flex-shrink: 0;
  width: 11px;
  height: 11px;
  background: currentColor;
  opacity: .85;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M12 7v5l3 2'/%3E%3C/svg%3E") center / contain no-repeat;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M12 7v5l3 2'/%3E%3C/svg%3E") center / contain no-repeat;
}

.cart-delivery-card input:checked + .cart-delivery-card-inner .cart-delivery-card-delay {
  color: #bae6fd;
  background: rgba(56, 189, 248, .16);
  border-color: rgba(56, 189, 248, .34);
}

.cart-delivery-card-badge {
  padding: 4px 8px;
  border-radius: 999px;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .02em;
  line-height: 1.25;
  color: #86efac;
  background: rgba(34,197,94,.12);
  border: 1px solid rgba(34,197,94,.22);
  white-space: normal;
  text-align: center;
  max-width: 100%;
}

.cart-delivery-card-badge--fee {
  color: #c4b5fd;
  background: rgba(99,102,241,.12);
  border-color: rgba(99,102,241,.22);
}

.cart-delivery-card-badge--discount {
  color: #86efac;
  background: rgba(34,197,94,.14);
  border-color: rgba(34,197,94,.28);
}

.cart-total-row--discount strong {
  color: #86efac;
}

.cart-total-row--labor > span,
.cart-total-row--discount > span {
  flex: 1 1 auto;
  min-width: 0;
  padding-right: 4px;
}

.cart-total-row--labor > strong,
.cart-total-row--discount > strong {
  flex: 0 0 auto;
  white-space: nowrap;
}

@media (max-width: 480px) {
  .cart-total-row--labor,
  .cart-total-row--discount {
    align-items: center;
    gap: 4px 6px;
  }

  .cart-total-row--labor > span,
  .cart-total-row--discount > span {
    font-size: .7rem;
    line-height: 1.25;
    max-width: 58%;
  }

  .cart-total-row--labor > strong,
  .cart-total-row--discount > strong {
    font-size: .72rem;
  }
}

.cart-repair-notice svg {
  color: #fbbf24;
}

.cart-pickup-notice {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  min-width: 0;
  margin-top: 0;
  padding: 8px 10px;
  border-radius: 10px;
  font-size: .74rem;
  line-height: 1.45;
  color: var(--text-muted);
  background: rgba(255,255,255,.03);
  border: 1px solid var(--border);
}

.cart-pickup-notice[hidden] {
  display: none !important;
}

.cart-pickup-notice svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  margin-top: 1px;
  color: var(--primary-light);
}

.cart-pickup-notice p {
  margin: 0;
  min-width: 0;
  flex: 1;
}

.cart-contact-form label {
  margin-bottom: 12px;
}

.cart-contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
}

.cart-message-field {
  margin-top: 4px;
  margin-bottom: 0 !important;
}

.store-drawer-panel--cart .store-form input,
.store-drawer-panel--cart .store-form textarea {
  border-radius: 12px;
  background: rgba(0,0,0,.15);
}

.store-drawer-panel--cart .cart-option-panel label span {
  font-size: .78rem;
}

@media (min-width: 400px) {
  .cart-contact-grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 0 12px;
  }
}

/* Panier — écrans laptop 14-15" (peu de hauteur utile) */
@media (max-height: 900px) {
  .cart-drawer-head {
    padding: 10px 14px 8px;
  }

  .cart-drawer-head h2 {
    font-size: 1.05rem;
  }

  .cart-drawer-body {
    padding: 10px 14px 8px;
  }

  .cart-drawer-footer {
    padding: 6px 12px max(8px, env(safe-area-inset-bottom, 8px));
  }

  .cart-checkout-progress {
    padding: 0 0 8px;
    margin-bottom: 0;
  }

  .cart-checkout-progress-step {
    width: 26px;
    height: 26px;
    font-size: .72rem;
  }

  .cart-checkout-progress-label {
    font-size: .76rem;
  }

  .cart-items-details .cart-items-wrap {
    max-height: min(28vh, 200px);
  }

  .cart-delivery-card-text strong {
    font-size: .82rem;
  }

  .cart-delivery-card-text small {
    font-size: .7rem;
  }

  .cart-delivery-card-badge {
    font-size: .66rem;
    padding: 3px 6px;
  }

  .cart-contact-form label {
    margin-bottom: 8px;
  }

  .store-drawer-panel--cart .store-form input,
  .store-drawer-panel--cart .store-form textarea {
    padding: 9px 11px;
    min-height: 40px;
  }

  .cart-option-box {
    padding: 10px 12px !important;
  }

  .cart-option-body small {
    font-size: .7rem;
    line-height: 1.35;
  }

  .cart-footer-trust {
    display: none;
  }

  .cart-step-back {
    min-height: 42px !important;
    padding: 10px 12px !important;
  }

  .cart-checkout-btn {
    min-height: 42px;
    font-size: .84rem;
  }
}

@media (min-width: 480px) {
  .store-drawer-panel--cart .cart-delivery-cards {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 6px;
    align-items: stretch;
  }

  .store-drawer-panel--cart .cart-delivery-card {
    display: flex;
    height: 100%;
    min-height: 100%;
  }

  .store-drawer-panel--cart .cart-delivery-card-inner {
    grid-template-columns: 1fr;
    grid-template-rows: auto 1fr auto;
    justify-items: center;
    align-content: space-between;
    text-align: center;
    gap: 6px;
    padding: 10px 8px;
    height: 100%;
    min-height: 100%;
  }

  .store-drawer-panel--cart .cart-delivery-card-text {
    align-items: center;
    justify-content: center;
    display: flex;
    flex-direction: column;
    flex: 1;
  }

  .store-drawer-panel--cart .cart-delivery-card-delay {
    align-self: center;
  }

  .store-drawer-panel--cart .cart-delivery-card-badge {
    grid-column: 1;
    justify-self: center;
    margin-top: auto;
  }
}

@media (max-height: 900px) and (min-width: 768px) {
  .store-drawer-panel--cart .cart-delivery-card-inner {
    padding: 8px 6px;
  }
}

.cart-options-card {
  margin: 0;
  padding: 0;
  border: none;
  background: transparent;
  box-shadow: none;
}

.cart-options-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.cart-option {
  position: relative;
  display: block;
  cursor: pointer;
}

.cart-option input {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  opacity: 0;
  cursor: pointer;
  z-index: 1;
}

.cart-option-box {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  min-width: 0;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,.08);
  background: rgba(255,255,255,.03);
  transition: border-color .2s, background .2s, box-shadow .2s;
}

.cart-option:hover .cart-option-box {
  border-color: rgba(99,102,241,.28);
  background: rgba(255,255,255,.05);
}

.cart-option input:focus-visible + .cart-option-box {
  outline: 2px solid rgba(99,102,241,.55);
  outline-offset: 0;
}

.cart-option input:checked + .cart-option-box {
  border-color: rgba(99,102,241,.42);
  background: rgba(99,102,241,.1);
  box-shadow: 0 0 0 1px rgba(99,102,241,.12);
}

.cart-option--highlight .cart-option-box {
  border-color: rgba(99,102,241,.24);
  background: rgba(99,102,241,.06);
}

.cart-option--highlight input:checked + .cart-option-box {
  border-color: rgba(129,140,248,.55);
  background: linear-gradient(135deg, rgba(99,102,241,.16) 0%, rgba(99,102,241,.08) 100%);
}

.cart-option-mark {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.08);
  color: var(--primary-light);
  flex-shrink: 0;
}

.cart-option-mark svg {
  width: 18px;
  height: 18px;
}

.cart-option input:checked + .cart-option-box .cart-option-mark {
  background: rgba(99,102,241,.18);
  border-color: rgba(99,102,241,.32);
  color: #c7d2fe;
}

.cart-option-body {
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 0;
}

.cart-option-body strong {
  font-size: .9rem;
  font-weight: 600;
  color: var(--text);
  line-height: 1.35;
}

.cart-option-body small {
  font-size: .78rem;
  line-height: 1.45;
  color: var(--text-muted);
  font-weight: 400;
}

.cart-option-toggle {
  position: relative;
  width: 42px;
  height: 24px;
  border-radius: 999px;
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.1);
  flex-shrink: 0;
  transition: background .2s, border-color .2s;
}

.cart-option-toggle::after {
  content: "";
  position: absolute;
  top: 2px;
  left: 2px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 2px 6px rgba(0,0,0,.28);
  transition: transform .2s cubic-bezier(.4, 0, .2, 1);
}

.cart-option input:checked + .cart-option-box .cart-option-toggle {
  background: var(--primary);
  border-color: rgba(99,102,241,.6);
}

.cart-option input:checked + .cart-option-box .cart-option-toggle::after {
  transform: translateX(18px);
}

.cart-option-panel {
  margin: 0 2px 4px;
  padding: 12px 14px 4px;
  border-radius: 12px;
  background: rgba(0,0,0,.18);
  border: 1px solid rgba(255,255,255,.06);
}

.cart-option-panel[hidden] {
  display: none !important;
}

.cart-option-panel label {
  margin-bottom: 10px;
}

.cart-option-panel label:last-child {
  margin-bottom: 6px;
}

.cart-address {
  margin-bottom: 14px;
}

.cart-address[hidden] {
  display: none !important;
}

.cart-address-card {
  padding: 16px 16px 14px;
  border-radius: 16px;
  background: linear-gradient(165deg, rgba(99,102,241,.11) 0%, rgba(22,27,39,.55) 48%, rgba(22,27,39,.75) 100%);
  border: 1px solid rgba(99,102,241,.24);
  box-shadow: 0 8px 28px rgba(0,0,0,.22), inset 0 1px 0 rgba(255,255,255,.05);
}

.cart-address-head {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 14px;
}

.cart-address-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: rgba(99,102,241,.16);
  border: 1px solid rgba(99,102,241,.28);
  color: var(--primary-light);
}

.cart-address-icon svg {
  width: 20px;
  height: 20px;
}

.cart-address-head-text {
  min-width: 0;
  padding-top: 2px;
}

.cart-address-title {
  margin: 0 0 4px;
  font-family: 'Space Grotesk', sans-serif;
  font-size: .98rem;
  font-weight: 600;
  letter-spacing: -.01em;
  text-transform: none;
  color: var(--text);
}

.cart-address-lead {
  margin: 0;
  font-size: .8rem;
  line-height: 1.45;
  color: var(--text-muted);
}

.cart-zone-notice {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  min-width: 0;
  margin: 0 0 14px;
  padding: 10px 12px;
  border-radius: 12px;
  font-size: .78rem;
  line-height: 1.5;
  color: #c4b5fd;
  background: rgba(99,102,241,.12);
  border: 1px solid rgba(99,102,241,.22);
}

.cart-zone-notice svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  margin-top: 1px;
  color: var(--primary-light);
}

.cart-zone-notice > :not(svg) {
  min-width: 0;
  flex: 1;
}

.cart-zone-error {
  margin: -6px 0 12px;
  padding: 8px 10px;
  border-radius: 10px;
  font-size: .78rem;
  line-height: 1.45;
  background: rgba(248,113,113,.08);
  border: 1px solid rgba(248,113,113,.22);
}

.cart-address-fields {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.cart-address-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 12px;
}

.cart-address-field span {
  font-size: .74rem;
  font-weight: 600;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.cart-address-field input {
  width: 100%;
  padding: 11px 13px;
  background: rgba(15,18,28,.65);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 11px;
  color: var(--text);
  font-family: inherit;
  font-size: 16px;
  transition: border-color .2s, box-shadow .2s, background .2s;
}

.cart-address-field input::placeholder {
  color: rgba(148,163,184,.55);
}

.cart-address-field input:hover:not(:disabled) {
  border-color: rgba(99,102,241,.28);
}

.cart-address-field input:focus {
  outline: none;
  border-color: rgba(99,102,241,.55);
  background: rgba(15,18,28,.85);
  box-shadow: 0 0 0 3px rgba(99,102,241,.14);
}

.cart-address-row {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: 10px;
}

.cart-address-row .cart-address-field {
  margin-bottom: 0;
}

.cart-zone-error[hidden] {
  display: none !important;
}

.cart-vat-feedback {
  margin: -2px 0 10px;
  padding: 8px 10px;
  border-radius: 10px;
  font-size: .78rem;
  line-height: 1.45;
}

.cart-vat-feedback[hidden] {
  display: none !important;
}

.cart-vat-feedback--ok {
  color: #86efac;
  background: rgba(34, 197, 94, .08);
  border: 1px solid rgba(34, 197, 94, .22);
}

.cart-vat-feedback--warn {
  color: #fde68a;
  background: rgba(245, 158, 11, .08);
  border: 1px solid rgba(245, 158, 11, .22);
}

.cart-vat-feedback--err {
  color: #fca5a5;
  background: rgba(248, 113, 113, .08);
  border: 1px solid rgba(248, 113, 113, .22);
}

.cart-vat-feedback--loading {
  color: var(--text-muted);
  background: rgba(255, 255, 255, .03);
  border: 1px solid var(--border);
}

input[name="invoice_vat"].is-checking {
  opacity: .72;
}

.cart-pickup-notice {
  margin: 0 0 14px;
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  background: rgba(34,197,94,.08);
  border: 1px solid rgba(34,197,94,.2);
}

.cart-pickup-notice p {
  margin: 0;
  font-size: .82rem;
  line-height: 1.55;
  color: var(--text-muted);
}

.cart-pickup-notice[hidden] {
  display: none !important;
}

.cart-toast {
  position: fixed;
  left: 50%;
  bottom: max(24px, env(safe-area-inset-bottom, 24px));
  transform: translateX(-50%) translateY(12px);
  z-index: 10000;
  max-width: min(360px, calc(100vw - 32px));
  padding: 10px 16px;
  border-radius: 12px;
  background: rgba(22,27,39,.95);
  border: 1px solid rgba(99,102,241,.35);
  color: var(--text);
  font-size: .84rem;
  font-weight: 500;
  line-height: 1.35;
  text-align: center;
  box-shadow: 0 12px 32px rgba(0,0,0,.35);
  opacity: 0;
  pointer-events: none;
  transition: opacity .25s ease, transform .25s ease;
  overflow-wrap: anywhere;
  word-break: break-word;
  hyphens: auto;
}

.cart-toast.is-visible {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

@media (max-width: 768px) {
  .cart-toast {
    bottom: max(14px, env(safe-area-inset-bottom, 14px));
    max-width: calc(100vw - 24px);
    padding: 7px 12px;
    font-size: .72rem;
    font-weight: 600;
    line-height: 1.3;
    border-radius: 10px;
    box-shadow: 0 8px 24px rgba(0,0,0,.32);
  }
}

.store-detail-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.store-detail-actions .btn-secondary {
  padding: 12px 18px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--bg-3);
  color: var(--text);
  font-family: inherit;
  font-size: .9rem;
  font-weight: 600;
  cursor: pointer;
  transition: border-color .2s, color .2s;
}

.store-detail-actions .btn-secondary:hover {
  border-color: rgba(99,102,241,.4);
  color: var(--primary-light);
}

/* Fiche produit — laptops 13–16" et hauteur limitée */
@media (min-width: 769px) and (max-width: 1536px) {
  .store-detail {
    padding: 8px 12px;
  }

  .store-detail-dialog {
    max-width: min(1040px, 97vw);
    max-height: calc(100vh - 20px);
    max-height: calc(100dvh - 20px);
  }

  .store-detail-body {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    min-height: 0;
  }

  .store-detail-layout {
    grid-template-columns: minmax(260px, 300px) minmax(0, 1fr);
    flex: 1 1 auto;
    min-height: 0;
    height: auto;
    max-height: none;
    align-items: stretch;
  }

  .store-detail-layout--acc {
    grid-template-columns: minmax(200px, 240px) minmax(0, 1fr);
  }

  .store-detail-gallery,
  .store-detail-media {
    min-height: 0;
    height: 100%;
    padding: 16px 14px 14px;
    display: flex;
    flex-direction: column;
    justify-content: stretch;
    align-items: stretch;
    overflow: visible;
  }

  .store-detail-gallery-stage {
    gap: 10px;
    flex: 1 1 auto;
    min-height: 0;
    height: 100%;
    justify-content: stretch;
  }

  .store-detail-gallery-main {
    flex: 1 1 auto;
    min-height: 200px;
    display: flex;
    align-items: center;
    width: 100%;
  }

  .store-detail-gallery-viewport {
    width: 100%;
    height: 100%;
    min-height: 200px;
    max-height: none;
    flex: none;
  }

  .store-detail-gallery-viewport img {
    max-width: 94%;
    max-height: 94%;
  }

  .store-detail-gallery-thumbs {
    flex-shrink: 0;
    padding-bottom: 4px;
  }

  .store-detail-gallery-thumb {
    flex-basis: 48px;
    width: 48px;
    height: 48px;
    padding: 4px;
  }

  .store-detail-main {
    padding: 16px 20px 14px;
    min-height: 0;
    max-height: none;
    overflow: hidden;
  }

  .store-detail-head {
    flex-shrink: 0;
  }

  .store-detail-badges {
    margin-bottom: 8px;
    gap: 6px 8px;
  }

  .store-detail-head {
    padding-right: 96px;
  }

  .store-detail-title {
    font-size: 1.2rem;
    line-height: 1.25;
    margin-bottom: 8px;
  }

  .store-detail-price-row {
    margin-bottom: 0;
  }

  .store-detail-price-row .store-product-price {
    font-size: 1.1rem;
  }

  .store-detail-scroll {
    flex: 1 1 auto;
    min-height: 0;
    overflow-y: auto;
    overscroll-behavior: contain;
    margin: 10px 0;
    padding-right: 4px;
    scrollbar-width: thin;
    scrollbar-color: rgba(129, 140, 248, 0.35) transparent;
  }

  .store-detail-scroll::-webkit-scrollbar {
    width: 5px;
  }

  .store-detail-scroll::-webkit-scrollbar-thumb {
    background: rgba(129, 140, 248, 0.35);
    border-radius: 999px;
  }

  .store-detail-desc {
    font-size: .86rem;
    line-height: 1.55;
    margin-bottom: 10px;
  }

  .store-detail-main .store-service-pills {
    margin-bottom: 10px;
    gap: 5px;
  }

  .store-detail-main .store-service-pill {
    font-size: .68rem;
    padding: 4px 8px;
  }

  .store-detail-config {
    margin-bottom: 12px;
  }

  .store-config {
    gap: 10px;
  }

  .store-config-hero-tile {
    flex-direction: row;
    align-items: center;
    padding: 10px 12px;
  }

  .store-config-hero-icon {
    width: 30px;
    height: 30px;
  }

  .store-config-hero-icon svg {
    width: 16px;
    height: 16px;
  }

  .store-config-hero-value {
    font-size: .76rem;
  }

  .store-config-card {
    padding: 9px 10px;
  }

  .store-detail-actions {
    flex-shrink: 0;
    margin-top: 0;
    padding-top: 8px;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 8px;
    border-top: 1px solid var(--border);
  }

  .store-detail-actions .btn,
  .store-detail-actions .store-buy {
    flex: 1 1 calc(50% - 4px);
    width: auto;
    min-width: 0;
    padding: 10px 14px !important;
    font-size: .86rem !important;
    min-height: 40px;
  }

  .store-detail-note {
    flex: 1 1 100%;
    margin-top: 2px;
    font-size: .72rem;
    line-height: 1.35;
  }
}

/* Fiche produit — laptops avec peu de hauteur utile (barre navigateur, 768p…) */
@media (min-width: 769px) and (max-width: 1536px) and (max-height: 860px) {
  .store-detail-dialog {
    max-height: calc(100vh - 12px);
    max-height: calc(100dvh - 12px);
  }

  .store-detail-gallery-main {
    min-height: 170px;
  }

  .store-detail-gallery-viewport {
    min-height: 170px;
  }

  .store-detail-scroll {
    margin: 8px 0;
  }
}

@media (min-width: 769px) {
  .store-detail-body {
    display: flex;
    flex-direction: column;
    min-height: 0;
  }

  .store-detail-layout {
    flex: 1 1 auto;
    min-height: 0;
  }

  .store-detail-main {
    min-height: 0;
    overflow: hidden;
  }

  .store-detail-scroll {
    flex: 1 1 auto;
    min-height: 0;
    overflow-y: auto;
    overscroll-behavior: contain;
  }

  .store-detail-actions {
    flex-shrink: 0;
    margin-top: 0;
  }
}

/* Fiche produit — grands écrans (27", 32"…) */
@media (min-width: 1537px) {
  .store-detail {
    padding: 28px 32px;
  }

  .store-detail-dialog {
    max-width: min(1180px, 90vw);
    max-height: min(92vh, 960px);
  }

  .store-detail-layout {
    grid-template-columns: minmax(340px, 440px) minmax(0, 1fr);
    min-height: 380px;
  }

  .store-detail-layout--acc {
    grid-template-columns: minmax(260px, 340px) minmax(0, 1fr);
  }

  .store-detail-gallery-viewport {
    height: clamp(280px, 46vh, 400px);
  }
}

@media (min-width: 1920px) {
  .store-detail-dialog {
    max-width: min(1380px, 86vw);
    max-height: min(94vh, 1060px);
  }

  .store-detail-layout {
    grid-template-columns: minmax(400px, 520px) minmax(0, 1fr);
    min-height: 420px;
  }

  .store-detail-layout--acc {
    grid-template-columns: minmax(300px, 400px) minmax(0, 1fr);
  }

  .store-detail-gallery,
  .store-detail-media {
    padding: 28px 26px 24px;
  }

  .store-detail-gallery-viewport {
    height: clamp(320px, 50vh, 480px);
  }

  .store-detail-main {
    padding: 32px 36px 28px;
  }

  .store-detail-title {
    font-size: clamp(1.5rem, 1.6vw, 1.9rem);
  }
}

@media (min-width: 2560px) {
  .store-detail-dialog {
    max-width: min(1560px, 82vw);
    max-height: min(94vh, 1140px);
  }

  .store-detail-layout {
    grid-template-columns: minmax(460px, 580px) minmax(0, 1fr);
  }

  .store-detail-gallery-viewport {
    height: clamp(360px, 52vh, 540px);
  }
}

/* — Grands écrans boutique — */
@media (min-width: 1400px) {
  .store-product-body {
    padding: 24px 26px 26px;
  }

  .store-product-foot {
    gap: 14px 16px;
    padding-top: 18px;
  }
}

@media (min-width: 1920px) {
  .store-product-body {
    padding: 26px 28px 28px;
  }

  .store-grid--pc {
    gap: 26px;
  }

  .store-grid--acc {
    gap: 26px;
  }
}

/* — Responsive boutique — */
@media (min-width: 769px) and (max-width: 1024px) {
  .store-grid--pc {
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  }
}

@media (max-width: 1024px) {
  .store-grid--acc {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  /* Filtres accessoires, TVAC/HTVA et tri — mobile & tablette */
  .store-filter-field-label,
  .store-price-mode-label,
  .store-sort-control-label {
    display: block;
    font-size: .68rem;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--text-muted);
    line-height: 1.3;
  }

  .store-filter-mobile {
    padding: 14px;
    background: linear-gradient(180deg, rgba(30, 36, 51, .94), rgba(22, 27, 39, .98));
    border: 1px solid rgba(129, 140, 248, .16);
    border-radius: 14px;
    margin-bottom: 12px;
    box-shadow: 0 6px 22px rgba(0, 0, 0, .2);
  }

  .store-filter-select-wrap {
    display: flex;
    flex-direction: column;
    gap: 8px;
    min-width: 0;
  }

  .store-filter-select,
  .store-sort-select {
    min-height: 46px;
    padding: 12px 40px 12px 14px;
    border-radius: 11px;
    border-color: rgba(129, 140, 248, .2);
    background-color: rgba(12, 15, 24, .55);
    font-size: 16px;
    font-weight: 600;
    line-height: 1.25;
  }

  .store-filter-select:active,
  .store-sort-select:active {
    border-color: rgba(99, 102, 241, .45);
  }

  .store-catalog-toolbar {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 0;
    margin-bottom: 16px;
    background: linear-gradient(180deg, rgba(30, 36, 51, .94), rgba(22, 27, 39, .98));
    border: 1px solid rgba(129, 140, 248, .16);
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 6px 22px rgba(0, 0, 0, .2);
  }

  .store-catalog-toolbar-tools {
    display: flex;
    flex-direction: column;
    gap: 0;
    min-width: 0;
  }

  .store-count {
    margin: 0;
    padding: 11px 14px 10px;
    background: rgba(99, 102, 241, .1);
    border-bottom: 1px solid rgba(129, 140, 248, .12);
    font-size: .8rem;
    font-weight: 600;
    color: var(--primary-light);
    white-space: normal;
    line-height: 1.35;
  }

  .store-price-mode {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto auto;
    gap: 8px;
    margin: 0;
    width: 100%;
    padding: 12px 14px;
    border-bottom: 1px solid rgba(129, 140, 248, .1);
  }

  .store-price-mode-label {
    grid-column: 1 / -1;
    white-space: normal;
  }

  .store-price-mode-btn {
    min-height: 46px;
    padding: 11px 14px;
    font-size: .9rem;
    font-weight: 700;
    letter-spacing: .03em;
    border-radius: 0;
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
  }

  .store-price-mode-btn[data-price-mode="tvac"] {
    border-radius: 11px 0 0 11px;
    border-right-width: 0;
  }

  .store-price-mode-btn[data-price-mode="htva"] {
    border-radius: 0 11px 11px 0;
  }

  .store-price-mode-btn.is-active {
    background: rgba(99, 102, 241, .26);
    border-color: rgba(129, 140, 248, .52);
    color: #eceeff;
    box-shadow: inset 0 0 0 1px rgba(129, 140, 248, .28);
    z-index: 1;
    position: relative;
  }

  .store-price-mode-btn[data-price-mode="htva"].is-active {
    border-left-width: 1px;
  }

  .store-price-mode-btn:active:not(.is-active) {
    background: rgba(99, 102, 241, .12);
  }

  .store-sort-control {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
    width: 100%;
    margin: 0;
    padding: 12px 14px 14px;
    min-width: 0;
  }

  .store-catalog-toolbar .store-sort-select {
    flex: none;
    width: 100%;
    max-width: none;
    min-width: 0;
  }
}

@media (max-width: 1024px) and (min-width: 600px) {
  .store-catalog-toolbar-tools {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
    align-items: stretch;
  }

  .store-price-mode {
    border-bottom: none;
    border-right: 1px solid rgba(129, 140, 248, .1);
    height: 100%;
    box-sizing: border-box;
  }

  .store-sort-control {
    justify-content: center;
    padding-top: 12px;
    padding-bottom: 14px;
  }
}

@media (max-width: 768px) {
  body.shop-page .store {
    padding: calc(76px + env(safe-area-inset-top, 0px)) 0 calc(28px + env(safe-area-inset-bottom, 0px));
  }

  .store-head {
    margin-bottom: 18px;
  }

  .store-head h1 {
    font-size: clamp(1.55rem, 6.5vw, 2rem);
    margin-bottom: 0;
  }

  .store-head-titles .store-lead {
    display: none !important;
  }

  .store-mobile-controls {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    margin-bottom: 10px;
  }

  .store-mobile-panel-toggle {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    width: 100%;
    min-height: 52px;
    padding: 10px 12px;
    border: 1px solid rgba(129, 140, 248, 0.16);
    border-radius: 14px;
    background: linear-gradient(180deg, rgba(30, 36, 51, 0.96), rgba(22, 27, 39, 0.98));
    color: var(--text);
    font-family: inherit;
    text-align: left;
    cursor: pointer;
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.18);
    transition: border-color .2s, background .2s, box-shadow .2s;
  }

  .store-mobile-panel.is-open .store-mobile-panel-toggle {
    border-color: rgba(99, 102, 241, 0.45);
    background: linear-gradient(180deg, rgba(45, 50, 72, 0.98), rgba(32, 36, 54, 0.98));
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.12);
  }

  .store-mobile-panel-toggle-main {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
  }

  .store-mobile-panel-toggle-label {
    font-size: .65rem;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--text-muted);
    line-height: 1.2;
  }

  .store-mobile-panel-toggle-value {
    font-size: .82rem;
    font-weight: 700;
    color: var(--primary-light);
    line-height: 1.25;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .store-mobile-panel-chevron {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
    color: var(--text-muted);
    transition: transform .22s ease, color .22s ease;
  }

  .store-mobile-panel.is-open .store-mobile-panel-chevron {
    transform: rotate(180deg);
    color: var(--primary-light);
  }

  .store-mobile-sheet-backdrop {
    display: block;
    position: fixed;
    inset: 0;
    z-index: 210;
    background: rgba(8, 10, 18, 0.55);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    opacity: 0;
    pointer-events: none;
    transition: opacity .32s ease;
  }

  .store-mobile-sheet-backdrop.is-visible {
    opacity: 1;
    pointer-events: auto;
  }

  .store-mobile-sheet-backdrop[hidden] {
    display: block !important;
  }

  body.store-mobile-sheet-open {
    overflow: hidden;
    touch-action: none;
  }

  .store-mobile-panel-body {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 220;
    display: flex;
    flex-direction: column;
    gap: 12px;
    max-height: min(78vh, 520px);
    margin: 0;
    padding: 8px 16px calc(16px + env(safe-area-inset-bottom, 0px));
    border-radius: 20px 20px 0 0;
    border: 1px solid rgba(129, 140, 248, 0.22);
    border-bottom: none;
    background:
      radial-gradient(ellipse 120% 80% at 50% -20%, rgba(99, 102, 241, 0.14), transparent 55%),
      linear-gradient(180deg, rgba(28, 33, 48, 0.99) 0%, rgba(16, 19, 30, 0.99) 100%);
    box-shadow: 0 -16px 48px rgba(0, 0, 0, 0.42);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    transform: translateY(100%);
    visibility: hidden;
    pointer-events: none;
    transition: transform .34s cubic-bezier(.32, .72, 0, 1), visibility 0s linear .34s;
  }

  .store-mobile-panel-body[hidden] {
    display: flex !important;
  }

  .store-mobile-panel-body.is-sheet-visible {
    transform: translateY(0);
    visibility: visible;
    pointer-events: auto;
    transition: transform .34s cubic-bezier(.32, .72, 0, 1), visibility 0s;
  }

  .store-mobile-sheet-head {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 2px 0 4px;
    flex-shrink: 0;
  }

  .store-mobile-sheet-handle {
    width: 38px;
    height: 4px;
    border-radius: 999px;
    background: rgba(148, 163, 184, 0.45);
  }

  .store-mobile-sheet-title {
    margin: 0;
    font-size: .92rem;
    font-weight: 700;
    color: var(--text);
    letter-spacing: -.01em;
    text-align: center;
  }

  .store-filter-mobile,
  .store-catalog-toolbar {
    display: block;
    padding: 0;
    margin-bottom: 0;
    background: none;
    border: none;
    border-radius: 0;
    box-shadow: none;
    overflow: visible;
  }

  .store-catalog-toolbar .store-count {
    display: none;
  }

  .store-crumb {
    font-size: .78rem;
    margin-bottom: 10px;
  }

  .store-filter-mobile {
    display: flex;
  }

  .store-catalog-toolbar {
    margin-bottom: 0;
  }

  .store-head-top {
    align-items: flex-start;
  }

  .store-head-actions {
    margin-top: 4px;
  }

  .cart-address-row {
    grid-template-columns: 1fr;
  }

  .store-category {
    margin-bottom: 36px;
  }

  .store-catalog-banners {
    margin-bottom: 36px;
    gap: 12px;
  }

  .store-cat-head {
    margin-bottom: 14px;
    padding-bottom: 10px;
    gap: 8px 10px;
  }

  .store-cat-title {
    font-size: 1.15rem;
    margin-bottom: 0;
  }

  .store-cat-see-all {
    font-size: .68rem;
    padding: 4px 8px;
    min-height: 26px;
  }

  .store-cat-see-all--foot {
    font-size: .72rem;
    padding: 5px 12px;
    min-height: 28px;
  }

  .store-grid--pc,
  .store-grid--acc {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .store-product:hover {
    transform: none;
  }

  .store-product--pick:hover {
    transform: none;
  }

  .store-product-media:not(.store-product-media--img) {
    height: 132px;
  }

  .store-product-media--img {
    height: 160px;
    padding: 8px;
  }

  .store-product-body {
    padding: 16px 16px 18px;
  }

  .store-product-top:not(.store-product-top--meta) {
    flex-wrap: nowrap;
    gap: 8px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }

  .store-product-top:not(.store-product-top--meta)::-webkit-scrollbar {
    display: none;
  }

  .store-product-top:not(.store-product-top--meta) .store-product-stock {
    margin-left: auto;
  }

  .store-product-top--meta {
    margin-bottom: 10px;
    flex-wrap: nowrap;
    gap: 4px;
    overflow: visible;
  }

  .store-product-top--meta .store-product-badge,
  .store-product-top--meta .store-product-cat,
  .store-product-top--meta .store-product-stock {
    font-size: clamp(0.54rem, 2.5vw, 0.62rem);
    padding: 2px 6px;
    letter-spacing: 0.02em;
  }

  .store-product-top--meta .store-product-stock--ok::before {
    width: 5px;
    height: 5px;
  }

  .store-detail-badges {
    margin-bottom: 8px;
    flex-wrap: nowrap;
    gap: 4px;
    overflow: visible;
  }

  .store-detail-tag,
  .store-detail-badges .store-product-cat,
  .store-detail-badges .store-product-stock {
    font-size: clamp(0.54rem, 2.5vw, 0.62rem);
    padding: 2px 6px;
    letter-spacing: 0.02em;
  }

  .store-detail-badges .store-product-stock--ok::before {
    width: 5px;
    height: 5px;
  }

  .store-product--compact .store-delivery-info,
  .store-product-included-tag.store-delivery-info {
    width: max-content;
    max-width: 100%;
    font-size: .66rem;
    padding: 8px 12px 8px 9px;
    gap: 7px;
    white-space: nowrap;
    line-height: 1.25;
  }

  .store-product-included-tag {
    width: max-content;
    max-width: 100%;
  }

  .store-delivery-info-label {
    white-space: nowrap;
  }

  .store-product-title {
    font-size: 1.05rem;
  }

  .store-product-desc {
    font-size: .84rem;
    margin-bottom: 12px;
    -webkit-line-clamp: 2;
  }

  .store-service-pills {
    flex-wrap: wrap;
    gap: 5px;
    margin-bottom: 12px;
  }

  .store-service-pill {
    font-size: .64rem;
    padding: 5px 8px;
    flex: 0 0 auto;
    max-width: none;
    line-height: 1.2;
  }

  .store-service-pill svg {
    width: 12px;
    height: 12px;
  }

  .store-chips {
    gap: 7px;
    margin-bottom: 14px;
  }

  .store-chip {
    min-height: 34px;
    padding: 6px 10px;
    font-size: .7rem;
    gap: 7px;
    border-radius: 9px;
  }

  .store-chip svg {
    width: 14px;
    height: 14px;
  }

  .store-product-foot {
    padding-top: 12px;
  }

  .store-card-foot-row {
    gap: 8px;
  }

  .store-price-val {
    font-size: 1.2rem;
  }

  .store-product--compact .store-price-val {
    font-size: 1.1rem;
  }

  .store-product--compact .store-product-included-tag {
    margin-top: 6px;
  }

  .store-product--compact .store-delivery-info {
    width: max-content;
    max-width: 100%;
    font-size: .66rem;
    padding: 8px 12px 8px 9px;
    gap: 7px;
    white-space: nowrap;
    line-height: 1.25;
  }

  .store-product--compact .store-delivery-info-icon {
    width: 18px;
    height: 18px;
  }

  .store-product--compact .store-delivery-info-icon svg {
    width: 11px;
    height: 11px;
  }

  .store-card-foot-row .store-buy {
    max-width: 48%;
    padding: 8px 12px !important;
    font-size: .78rem !important;
    min-height: 38px;
    white-space: normal;
    line-height: 1.2;
    text-align: center;
  }

  .store-delivery-included {
    margin-top: 4px;
  }

  .store-product--compact .store-delivery-info,
  .store-product-included-tag.store-delivery-info {
    width: max-content;
    max-width: 100%;
    font-size: .66rem;
    padding: 8px 12px 8px 9px;
    white-space: nowrap;
    line-height: 1.25;
  }

  .store-product-badges {
    top: 10px;
    left: 10px;
    gap: 5px;
  }

  .store-product-badge {
    font-size: .62rem;
    padding: 5px 10px;
  }

  .store-product-card-actions {
    top: 10px;
    right: 10px;
    gap: 5px;
  }

  .store-card-share {
    width: 34px;
    height: 34px;
    border-radius: 10px;
  }

  .store-card-share svg {
    width: 16px;
    height: 16px;
  }

  .store-loading,
  .store-empty,
  .store-disabled {
    padding: 48px 16px;
  }

  .store-disabled-actions {
    flex-direction: column;
    width: 100%;
    max-width: 280px;
    margin: 0 auto;
  }

  .store-disabled-actions .btn {
    width: 100%;
    justify-content: center;
    min-height: 44px;
  }

  .store-help {
    margin-top: 40px;
  }

  .store-help-inner {
    flex-direction: column;
    text-align: center;
    padding: 20px 18px;
    gap: 16px;
  }

  .store-help-inner--contact .store-help-copy {
    width: 100%;
  }

  .store-help-inner--contact strong {
    font-size: .94rem;
    line-height: 1.25;
  }

  .store-help-actions {
    width: 100%;
    justify-content: center;
    flex-direction: column;
    gap: 10px;
  }

  .store-help-actions .btn {
    width: 100%;
    min-height: 44px;
    justify-content: center;
  }

  .store-detail {
    padding: 0 14px max(12px, env(safe-area-inset-bottom, 12px));
    align-items: flex-end;
    overflow-x: hidden;
  }

  .store-detail-backdrop {
    animation: storeBackdropIn .22s ease;
  }

  .store-detail-dialog {
    max-width: none;
    width: 100%;
    max-height: min(90vh, 90dvh);
    border-radius: 18px;
    border: 1px solid var(--border);
    overflow-x: hidden;
    box-shadow: 0 16px 48px rgba(0, 0, 0, .48);
    animation: storeDetailMobileIn .3s cubic-bezier(0.22, 1, 0.36, 1) both;
    transform: translateZ(0);
    backface-visibility: hidden;
  }

  @keyframes storeDetailMobileIn {
    from {
      opacity: 0;
      transform: translate3d(0, 22px, 0);
    }
    to {
      opacity: 1;
      transform: translate3d(0, 0, 0);
    }
  }

  @media (prefers-reduced-motion: reduce) {
    .store-detail-dialog {
      animation: none;
    }
  }

  .store-detail-body.store-scroll {
    scrollbar-gutter: auto;
    touch-action: pan-y;
    -webkit-overflow-scrolling: touch;
  }

  .store-detail-layout,
  .store-detail-layout--acc {
    grid-template-columns: 1fr;
    width: 100%;
    min-width: 0;
  }

  .store-detail-media,
  .store-detail-gallery {
    min-height: auto;
    border-right: none;
    border-bottom: 1px solid var(--border);
    padding: 16px 20px 14px;
    max-width: 100%;
    min-width: 0;
    overflow-x: hidden;
    box-sizing: border-box;
  }

  .store-detail-gallery-stage,
  .store-detail-gallery-main {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    overflow: hidden;
  }

  .store-detail-gallery-stage {
    gap: 12px;
  }

  .store-detail-gallery-thumbs {
    max-width: 100%;
    margin: 0;
    padding-inline: 0;
    overscroll-behavior-x: contain;
  }

  .store-detail-main {
    padding: 18px 20px max(22px, env(safe-area-inset-bottom, 22px));
    max-width: 100%;
    max-height: none;
    min-width: 0;
    overflow-x: hidden;
    overflow-y: visible;
    overflow-wrap: normal;
    word-break: normal;
    box-sizing: border-box;
  }

  .store-detail-desc {
    overflow-wrap: anywhere;
    word-break: break-word;
  }

  .store-detail-scroll {
    overflow: visible;
    flex: none;
    margin: 0;
    padding-right: 0;
  }

  .store-detail-desc,
  .store-detail-price-row,
  .store-detail-config,
  .store-config {
    max-width: 100%;
    min-width: 0;
  }

  .store-detail-price-row {
    margin-right: -40px;
    width: calc(100% + 40px);
    max-width: calc(100% + 40px);
  }

  .store-detail-price-row .store-price-wrap {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    width: 100%;
    max-width: 100%;
  }

  .store-detail-price-row button.store-delivery-included.store-delivery-info {
    display: inline-flex;
    width: max-content;
    max-width: 100%;
    box-sizing: border-box;
    font-size: .66rem;
    padding: 8px 11px 8px 9px;
    gap: 6px;
    white-space: nowrap;
    line-height: 1.25;
  }

  .store-detail-price-row .store-delivery-info-label {
    flex: 0 0 auto;
    white-space: nowrap;
  }

  .store-detail-gallery-viewport {
    aspect-ratio: 4 / 3;
    max-height: min(40vh, 260px);
  }

  .store-detail-gallery-viewport img {
    max-width: 96%;
    max-height: 96%;
  }

  .store-detail-gallery-expand {
    opacity: 1;
    transform: none;
  }

  .store-detail-gallery-nav {
    opacity: 1;
    transform: translateY(-50%);
  }

  .store-detail-gallery-prev { transform: translate(0, -50%); }
  .store-detail-gallery-next { transform: translate(0, -50%); }

  .store-detail-gallery-thumb {
    flex-basis: 48px;
    width: 48px;
    height: 48px;
  }

  .store-gallery-viewer-stage {
    padding: 52px 16px 64px;
  }

  .store-gallery-viewer-prev { left: 8px; }
  .store-gallery-viewer-next { right: 8px; }

  .store-detail-title {
    font-size: 1.25rem;
  }

  .store-detail-toolbar {
    top: 10px;
    right: 10px;
    gap: 6px;
  }

  .store-detail-toolbar .store-detail-close,
  .store-detail-toolbar .store-detail-share {
    width: 44px;
    height: 44px;
  }

  .store-detail-close {
    top: 10px;
    right: 10px;
    width: 44px;
    height: 44px;
  }

  .store-drawer {
    align-items: flex-end;
  }

  .store-drawer-panel {
    max-width: none;
    width: 100%;
    border-left: none;
    border-top: 1px solid var(--border);
    height: auto;
    max-height: min(94vh, 94dvh);
    margin-top: auto;
    padding: 0;
    border-radius: 20px 20px 0 0;
    animation: storeDrawerUp .35s cubic-bezier(.4,0,.2,1);
    overflow: hidden;
    overscroll-behavior: contain;
  }

  .store-drawer-panel--cart {
    height: min(94vh, 94dvh);
    max-height: min(94vh, 94dvh);
  }

  .cart-drawer-head {
    padding: 16px 18px 14px;
    position: sticky;
    top: 0;
    z-index: 2;
    background: var(--bg-2);
  }

  .cart-drawer-head h2 {
    font-size: 1.05rem;
  }

  .cart-drawer-close {
    width: 44px;
    height: 44px;
  }

  .cart-drawer-body {
    padding: 14px 18px 10px;
  }

  .cart-drawer-footer {
    padding: 8px 14px max(10px, env(safe-area-inset-bottom, 10px));
  }

  .cart-checkout-btn {
    min-height: 42px;
  }

  .store-drawer-head {
    padding-bottom: 12px;
    margin-bottom: 4px;
    position: sticky;
    top: 0;
    background: var(--bg-2);
    z-index: 1;
  }

  .store-drawer-head h2 {
    font-size: 1.1rem;
  }

  .store-drawer-close {
    width: 44px;
    height: 44px;
  }

  .store-drawer-product {
    padding: 14px;
    margin-bottom: 12px;
  }

  .store-drawer-name {
    font-size: 1rem;
  }

  .store-drawer-note {
    font-size: .84rem;
    margin-bottom: 14px;
  }

  .store-form label {
    margin-bottom: 12px;
  }

  .store-form input,
  .store-form textarea {
    font-size: 16px;
    min-height: 48px;
    padding: 12px 14px;
  }

  .store-form textarea {
    min-height: 96px;
  }

  .store-submit {
    width: 100%;
    min-height: 48px;
    margin-top: 4px;
  }

  .store-empty .btn {
    width: 100%;
    max-width: 280px;
    min-height: 44px;
    justify-content: center;
  }

  @keyframes storeDrawerUp {
    from { transform: translateY(100%); }
    to { transform: translateY(0); }
  }
}

@media (max-width: 480px) {
  body.shop-page .store {
    padding-top: calc(72px + env(safe-area-inset-top, 0px));
  }

  .store-service-pill {
    flex: 0 0 auto;
    justify-content: flex-start;
    text-align: left;
  }

  .store-price-val {
    font-size: 1.45rem;
  }
}

@media (min-width: 1025px) {
  body.shop-page {
    --store-sidebar-top: 136px;
  }

  .store-filter-mobile {
    display: none !important;
  }

  .store-sidebar {
    display: block;
  }

  .store-sidebar-rail {
    position: fixed;
    left: 0;
    top: calc(var(--store-sidebar-top) + 72px);
    z-index: 103;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 48px;
    padding: 18px 9px;
    border: 1px solid rgba(129, 140, 248, 0.2);
    border-left: none;
    border-radius: 0 16px 16px 0;
    background: linear-gradient(180deg, rgba(30, 36, 51, 0.96), rgba(22, 27, 39, 0.94));
    color: var(--text-muted);
    cursor: pointer;
    transform: none;
    box-shadow: 4px 0 28px rgba(0, 0, 0, 0.32);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    transition: color .2s, border-color .2s, background .2s, box-shadow .2s, transform .2s, opacity .22s ease, visibility .22s ease;
  }

  .store-sidebar:not(.is-open) .store-sidebar-rail.is-filter-active {
    color: var(--primary-light);
    border-color: rgba(99, 102, 241, 0.5);
    box-shadow: 4px 0 28px rgba(0, 0, 0, 0.32), inset -3px 0 0 rgba(99, 102, 241, 0.45);
  }

  .store-sidebar-rail.is-filter-active svg {
    color: #a5b4fc;
    filter: drop-shadow(0 0 6px rgba(99, 102, 241, .45));
  }

  .store-sidebar-rail.is-filter-active .store-sidebar-rail-label {
    color: #c7d2fe;
  }

  .store-sidebar-rail svg {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    color: var(--primary-light);
  }

  .store-sidebar-rail-label {
    font-size: .68rem;
    font-weight: 700;
    letter-spacing: .06em;
    text-transform: uppercase;
    writing-mode: vertical-rl;
    transform: rotate(180deg);
    line-height: 1;
    color: var(--text);
  }

  .store-sidebar-rail:hover,
  .store-sidebar.is-open .store-sidebar-rail {
    color: var(--primary-light);
    border-color: rgba(99, 102, 241, 0.42);
    background: linear-gradient(180deg, rgba(38, 44, 62, 0.98), rgba(28, 33, 48, 0.96));
    box-shadow: 6px 0 32px rgba(99, 102, 241, 0.14);
  }

  .store-sidebar.is-open .store-sidebar-rail {
    transform: translateX(2px);
  }

  .store-sidebar:not(.is-persistent).is-open .store-sidebar-rail {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateX(-6px);
  }

  .store-sidebar:not(.is-persistent) .store-sidebar-panel {
    left: 0;
    top: calc(72px + env(safe-area-inset-top, 0px) + 6px);
    bottom: 8px;
    height: auto;
    max-height: none;
    border-radius: 0 20px 20px 0;
    transform: translateX(-100%);
    pointer-events: none;
  }

  .store-sidebar:not(.is-persistent).is-open .store-sidebar-panel {
    pointer-events: auto;
  }

  .store-sidebar:not(.is-persistent) .store-sidebar-head {
    padding: 16px 16px 12px;
  }

  .store-sidebar:not(.is-persistent) .store-sidebar-subtitle {
    display: none;
  }

  .store-sidebar:not(.is-persistent) .store-sidebar-head-icon {
    width: 38px;
    height: 38px;
  }

  .store-sidebar:not(.is-persistent) .store-sidebar-scroll {
    padding: 10px 12px 14px;
  }

  .store-sidebar:not(.is-persistent) .store-tabs--sidebar {
    gap: 6px;
  }

  .store-sidebar:not(.is-persistent) .store-filter-item {
    padding: 9px 11px;
  }

  .store-sidebar:not(.is-persistent) .store-sidebar-foot {
    padding: 10px 14px 12px;
    font-size: .72rem;
  }

  .store-sidebar-panel {
    position: fixed;
    left: 0;
    top: calc(var(--store-sidebar-top) + 10px);
    bottom: 12px;
    z-index: 105;
    display: flex;
    flex-direction: column;
    width: min(300px, calc(100vw - 12px));
    max-width: min(300px, calc(100vw - 12px));
    border-radius: 0 20px 20px 0;
    overflow: hidden;
    background:
      radial-gradient(ellipse 120% 70% at 50% -8%, rgba(99, 102, 241, 0.14), transparent 52%),
      linear-gradient(180deg, rgba(26, 31, 46, 0.99) 0%, rgba(15, 18, 28, 0.99) 100%);
    border: 1px solid rgba(129, 140, 248, 0.22);
    border-left: none;
    box-shadow:
      8px 0 40px rgba(0, 0, 0, 0.38),
      0 0 0 1px rgba(255, 255, 255, 0.04),
      inset 0 1px 0 rgba(255, 255, 255, 0.06);
    transform: translateX(-100%);
    transition: transform .32s cubic-bezier(.22, 1, .36, 1);
    will-change: transform;
    pointer-events: none;
  }

  .store-sidebar-panel[hidden] {
    display: flex !important;
  }

  .store-sidebar.is-open .store-sidebar-panel {
    transform: translateX(0);
    pointer-events: auto;
  }

  .store-sidebar-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 14px;
    padding: 20px 18px 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
    background: linear-gradient(180deg, rgba(99, 102, 241, 0.11) 0%, transparent 100%);
    flex-shrink: 0;
  }

  .store-sidebar-head-main {
    display: flex;
    align-items: center;
    gap: 14px;
    min-width: 0;
  }

  .store-sidebar-head-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    flex-shrink: 0;
    border-radius: 13px;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.28), rgba(79, 70, 229, 0.14));
    border: 1px solid rgba(129, 140, 248, 0.28);
    color: #c7d2fe;
    box-shadow: 0 8px 20px rgba(99, 102, 241, 0.16);
  }

  .store-sidebar-head-icon svg {
    width: 20px;
    height: 20px;
  }

  .store-sidebar-head-text {
    min-width: 0;
  }

  .store-sidebar-title {
    margin: 0 0 3px;
    font-size: 1rem;
    font-weight: 700;
    color: var(--text);
    letter-spacing: -.02em;
    line-height: 1.25;
  }

  .store-sidebar-subtitle {
    margin: 0;
    font-size: .8rem;
    color: var(--text-muted);
    line-height: 1.4;
  }

  .store-sidebar-close {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    padding: 0;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.04);
    color: var(--text-muted);
    cursor: pointer;
    transition: color .2s, border-color .2s, background .2s, transform .15s;
  }

  .store-sidebar-close:hover {
    color: var(--text);
    border-color: rgba(255, 255, 255, 0.16);
    background: rgba(255, 255, 255, 0.08);
    transform: scale(1.04);
  }

  .store-sidebar-close svg {
    width: 18px;
    height: 18px;
  }

  .store-sidebar-scroll {
    flex: 1;
    min-height: 0;
    overflow-y: auto;
    overscroll-behavior: contain;
    padding: 14px 14px 18px;
  }

  .store-sidebar:not(.is-persistent) .store-filter-item {
    border-radius: 14px;
    border-color: rgba(255, 255, 255, 0.05);
    background: rgba(255, 255, 255, 0.025);
  }

  .store-sidebar:not(.is-persistent) .store-filter-item:hover {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(129, 140, 248, 0.16);
  }

  .store-tabs--sidebar {
    gap: 8px;
  }

  .store-sidebar-foot {
    margin: 0;
    padding: 13px 18px 16px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    font-size: .74rem;
    line-height: 1.45;
    color: rgba(148, 163, 184, 0.92);
    background: rgba(0, 0, 0, 0.14);
    flex-shrink: 0;
  }

  .store-sidebar-backdrop {
    position: fixed;
    inset: 0;
    z-index: 104;
    background: rgba(8, 10, 18, 0.52);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    opacity: 0;
    pointer-events: none;
    transition: opacity .3s ease;
  }

  .store-sidebar-backdrop[hidden] {
    display: block !important;
  }

  .store-sidebar.is-open .store-sidebar-backdrop {
    opacity: 1;
    pointer-events: auto;
  }
}

@media (min-width: 1920px) {
  body.shop-page {
    --store-sidebar-width: 340px;
    --store-sidebar-inset-y: 10px;
    --store-sidebar-inset-x: 14px;
    --store-sidebar-persistent-max-h: min(900px, calc(100vh - 88px));
  }

  body.shop-page:has(.store-sidebar.is-persistent) .store {
    padding-left: var(--store-sidebar-width);
  }

  .store-sidebar.is-persistent .store-sidebar-rail,
  .store-sidebar.is-persistent .store-sidebar-close,
  .store-sidebar.is-persistent .store-sidebar-backdrop {
    display: none !important;
  }

  .store-sidebar.is-persistent .store-sidebar-panel {
    transform: translateX(0) !important;
    top: calc(
      72px + env(safe-area-inset-top, 0px) +
      max(0px, (100vh - 72px - env(safe-area-inset-top, 0px) - var(--store-sidebar-persistent-max-h)) / 2)
    );
    bottom: auto;
    height: var(--store-sidebar-persistent-max-h);
    max-height: var(--store-sidebar-persistent-max-h);
    left: var(--store-sidebar-inset-x);
    width: calc(var(--store-sidebar-width) - var(--store-sidebar-inset-x) - 6px);
    max-width: calc(var(--store-sidebar-width) - var(--store-sidebar-inset-x) - 6px);
    border: 1px solid rgba(129, 140, 248, 0.22);
    border-radius: 22px;
    overflow: hidden;
    background:
      radial-gradient(ellipse 120% 85% at 50% -5%, rgba(99, 102, 241, 0.18), transparent 55%),
      linear-gradient(180deg, rgba(28, 33, 48, 0.98) 0%, rgba(16, 19, 30, 0.99) 100%);
    box-shadow:
      0 24px 54px rgba(0, 0, 0, 0.4),
      0 0 0 1px rgba(255, 255, 255, 0.05),
      inset 0 1px 0 rgba(255, 255, 255, 0.07);
  }

  .store-sidebar.is-persistent .store-sidebar-head {
    padding: 16px 18px 14px;
    background: linear-gradient(180deg, rgba(99, 102, 241, 0.1) 0%, transparent 100%);
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  }

  .store-sidebar.is-persistent .store-sidebar-head-icon {
    width: 38px;
    height: 38px;
    border-radius: 12px;
    box-shadow: 0 6px 16px rgba(99, 102, 241, 0.18);
  }

  .store-sidebar.is-persistent .store-sidebar-subtitle {
    display: none;
  }

  .store-sidebar.is-persistent .store-sidebar-title {
    font-size: .94rem;
    letter-spacing: -.01em;
  }

  .store-sidebar.is-persistent .store-sidebar-scroll {
    flex: 1;
    min-height: 0;
    padding: 12px 14px 14px;
  }

  .store-sidebar.is-persistent .store-filter-item {
    padding: 9px 11px;
    border-radius: 14px;
    gap: 10px;
    border-color: rgba(255, 255, 255, 0.05);
    background: rgba(255, 255, 255, 0.025);
  }

  .store-sidebar.is-persistent .store-filter-item:hover {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(129, 140, 248, 0.16);
  }

  .store-sidebar.is-persistent .store-filter-item-icon {
    width: 34px;
    height: 34px;
    border-radius: 11px;
  }

  .store-sidebar.is-persistent .store-filter-item-label {
    font-size: .86rem;
  }

  .store-sidebar.is-persistent .store-filter-item-count {
    min-width: 1.5rem;
    font-size: .72rem;
    padding: 2px 7px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.07);
  }

  .store-sidebar.is-persistent .store-tab.is-active {
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.92), rgba(79, 70, 229, 0.88));
    box-shadow: 0 2px 12px rgba(99, 102, 241, 0.22);
    border-color: transparent;
  }

  .store-sidebar.is-persistent .store-tab.is-active .store-filter-item-icon {
    background: rgba(255, 255, 255, 0.14);
    border-color: rgba(255, 255, 255, 0.22);
    color: #fff;
  }

  .store-sidebar.is-persistent .store-filter-item-chevron {
    opacity: .35;
  }

  .store-sidebar.is-persistent .store-tab.is-active .store-filter-item-chevron {
    opacity: .85;
  }

  .store-sidebar.is-persistent .store-sidebar-foot {
    padding: 12px 16px 14px;
    font-size: .72rem;
    background: rgba(0, 0, 0, 0.16);
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    color: rgba(148, 163, 184, 0.9);
  }

  .store-sidebar.is-persistent .store-tabs--sidebar {
    gap: 7px;
  }

  .store-sidebar.is-persistent .store-filter-section-label {
    margin-top: 7px;
    margin-bottom: 5px;
    padding-left: 4px;
  }
}

@media (hover: hover) and (pointer: fine) {
  .store-product:hover {
    transform: translateY(-5px);
    border-color: rgba(99,102,241,.35);
    box-shadow: 0 20px 48px rgba(0,0,0,.35);
  }

  .store-product--pick:hover {
    transform: translateY(-7px);
  }
}
