/* =====================================================================
   LSR SHOP — identité violet / bleu électrique + effets
   Fichier : assets/custom.css (remplace tout le contenu)
   ===================================================================== */

:root {
  --lsr-violet: #ab65ff;
  --lsr-blue: #39bbff;
  --lsr-indigo: #6c63ff;
  --lsr-ink: #f5f2ff;
  --lsr-muted: rgba(214, 206, 240, 0.62);
  --lsr-bg: #07061a;
  --lsr-grad: linear-gradient(110deg, #ab65ff 0%, #7b6bff 45%, #39bbff 100%);
  --lsr-grad-soft: linear-gradient(110deg, rgba(171, 101, 255, 0.18), rgba(57, 187, 255, 0.18));
  --lsr-ease: cubic-bezier(0.16, 1, 0.3, 1);
}

/* ---------- Titres de section (repris de l'ancien fichier) ---------- */
.section-title,
.section-title h2 {
  font-family: 'Satoshi', sans-serif;
  font-size: clamp(2rem, 3.5vw, 3.25rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: #ffffff;
  margin: 0 auto 8px;
  text-align: center !important;
  text-wrap: balance;
}

.section-subtitle,
.section-subtitle p {
  font-family: 'Satoshi', sans-serif;
  font-size: clamp(0.875rem, 1.2vw, 1rem);
  font-weight: 400;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.5);
  margin: 0 auto 20px;
  max-width: 36rem;
  text-align: center !important;
}

.text-highlight {
  color: var(--lsr-violet);
  background: var(--lsr-grad);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* ---------- Base ---------- */
html { scrollbar-color: #5b4a9a #07061a; }
::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: #07061a; }
::-webkit-scrollbar-thumb { background: linear-gradient(#ab65ff, #39bbff); border-radius: 10px; border: 2px solid #07061a; }
::selection { background: rgba(171, 101, 255, 0.45); color: #fff; }

body:not(.lsr-inner-page) {
  background:
    radial-gradient(1200px 600px at 85% -10%, rgba(171, 101, 255, 0.10), transparent 60%),
    radial-gradient(900px 500px at 0% 30%, rgba(57, 187, 255, 0.06), transparent 60%),
    var(--lsr-bg) !important;
}

/* Grain léger (div injectée par custom.js) */
.lsr-grain {
  position: fixed;
  inset: -50%;
  z-index: 9998;
  pointer-events: none;
  opacity: 0.045;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: lsr-grain 1.2s steps(6) infinite;
}
@keyframes lsr-grain {
  0% { transform: translate(0, 0); }
  20% { transform: translate(-3%, 2%); }
  40% { transform: translate(2%, -3%); }
  60% { transform: translate(-2%, 3%); }
  80% { transform: translate(3%, -1%); }
  100% { transform: translate(0, 0); }
}

/* Barre de progression de scroll */
.lsr-progress {
  position: fixed;
  top: 0; left: 0;
  height: 3px;
  width: 100%;
  z-index: 9999;
  transform-origin: 0 50%;
  transform: scaleX(0);
  background: var(--lsr-grad);
  box-shadow: 0 0 12px rgba(171, 101, 255, 0.8), 0 0 24px rgba(57, 187, 255, 0.4);
  pointer-events: none;
}

/* Halo qui suit la souris sur toute la page */
.lsr-cursor-glow {
  position: fixed;
  left: 0; top: 0;
  width: 520px; height: 520px;
  margin: -260px 0 0 -260px;
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
  background: radial-gradient(circle, rgba(171, 101, 255, 0.10) 0%, rgba(57, 187, 255, 0.05) 35%, transparent 65%);
  transition: opacity 0.4s ease;
  opacity: 0;
  will-change: transform;
}
.lsr-cursor-glow.is-on { opacity: 1; }

/* ---------- Navbar ---------- */
.nb-pill {
  background: rgba(10, 8, 28, 0.55) !important;
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  border: 1px solid rgba(171, 101, 255, 0.14) !important;
  transition: box-shadow 0.4s var(--lsr-ease), border-color 0.4s var(--lsr-ease);
}
.lsr-scrolled .nb-pill {
  border-color: rgba(171, 101, 255, 0.28) !important;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.45), 0 0 0 1px rgba(57, 187, 255, 0.06), 0 1px 0 rgba(171, 101, 255, 0.35) inset;
}
.nb-brand img {
  height: 40px;
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 0 10px rgba(171, 101, 255, 0.55));
  transition: transform 0.5s var(--lsr-ease), filter 0.4s ease;
}
.nb-brand:hover img {
  transform: rotate(-8deg) scale(1.08);
  filter: drop-shadow(0 0 16px rgba(171, 101, 255, 0.85)) drop-shadow(0 0 24px rgba(57, 187, 255, 0.4));
}
.ft__logo { height: 44px !important; filter: drop-shadow(0 0 12px rgba(171, 101, 255, 0.5)); }
.nb-brand span {
  background: linear-gradient(90deg, #fff, #d8c6ff);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.nb-links a { position: relative; transition: color 0.25s ease; }
.nb-links a.nb-link--active { color: #fff !important; }
.nb-links a.nb-link--active::after {
  content: '';
  position: absolute;
  left: 18%; right: 18%;
  bottom: -6px;
  height: 2px;
  border-radius: 2px;
  background: var(--lsr-grad);
  box-shadow: 0 0 10px rgba(171, 101, 255, 0.9);
}

/* ---------- Hero ---------- */
html body .hero .hero-title {
  background-image: linear-gradient(110deg, #ab65ff 0%, #c7a4ff 22%, #ffffff 42%, #9fdcff 58%, #39bbff 78%, #ab65ff 100%) !important;
  background-size: 260% 100% !important;
  -webkit-background-clip: text !important;
  background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  filter: drop-shadow(0 6px 40px rgba(171, 101, 255, 0.25));
}

.hero { position: relative; isolation: isolate; }
.hero-scene::before,
.hero-scene::after {
  content: '';
  position: absolute;
  z-index: -1;
  width: 60vw; height: 60vw;
  max-width: 820px; max-height: 820px;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.55;
  pointer-events: none;
}
.hero-scene::before {
  left: -12%; top: -30%;
  background: radial-gradient(circle, rgba(171, 101, 255, 0.55), transparent 65%);
  animation: lsr-aurora-a 16s ease-in-out infinite alternate;
}
.hero-scene::after {
  right: -14%; top: -10%;
  background: radial-gradient(circle, rgba(57, 187, 255, 0.45), transparent 65%);
  animation: lsr-aurora-b 19s ease-in-out infinite alternate;
}
@keyframes lsr-aurora-a { to { transform: translate(18%, 22%) scale(1.15); } }
@keyframes lsr-aurora-b { to { transform: translate(-20%, 18%) scale(0.9); } }

.hero-badge {
  border: 1px solid rgba(171, 101, 255, 0.35) !important;
  background: linear-gradient(110deg, rgba(171, 101, 255, 0.14), rgba(57, 187, 255, 0.10)) !important;
  box-shadow: 0 0 24px rgba(171, 101, 255, 0.2);
}

/* ---------- Boutons ---------- */
.hero-btn-primary,
.cta-btn-primary,
.btn-primary,
.pc__buy {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  background: var(--lsr-grad) !important;
  border: 1px solid rgba(255, 255, 255, 0.18) !important;
  color: #fff !important;
  box-shadow: 0 8px 28px rgba(123, 107, 255, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.25) !important;
  transition: transform 0.35s var(--lsr-ease), box-shadow 0.35s var(--lsr-ease), filter 0.3s ease !important;
}
.hero-btn-primary::after,
.cta-btn-primary::after,
.btn-primary::after,
.pc__buy::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(115deg, transparent 30%, rgba(255, 255, 255, 0.45) 50%, transparent 70%);
  transform: translateX(-120%);
  transition: transform 0.8s var(--lsr-ease);
}
.hero-btn-primary:hover::after,
.cta-btn-primary:hover::after,
.btn-primary:hover::after,
.pc:hover .pc__buy::after { transform: translateX(120%); }
.hero-btn-primary:hover,
.cta-btn-primary:hover,
.btn-primary:hover {
  box-shadow: 0 12px 40px rgba(171, 101, 255, 0.55), 0 0 0 1px rgba(57, 187, 255, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.3) !important;
  filter: brightness(1.08);
}
.hero-btn-ghost,
.cta-btn-secondary {
  border: 1px solid rgba(171, 101, 255, 0.35) !important;
  background: rgba(171, 101, 255, 0.06) !important;
  transition: background 0.3s ease, border-color 0.3s ease, transform 0.35s var(--lsr-ease) !important;
}
.hero-btn-ghost:hover,
.cta-btn-secondary:hover {
  background: rgba(171, 101, 255, 0.14) !important;
  border-color: rgba(57, 187, 255, 0.55) !important;
}

/* Effet d'onde au clic */
.lsr-ripple {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  transform: scale(0);
  background: rgba(255, 255, 255, 0.45);
  animation: lsr-ripple 0.7s var(--lsr-ease) forwards;
  z-index: 0;
}
@keyframes lsr-ripple { to { transform: scale(4); opacity: 0; } }

/* ---------- Cartes : projecteur + bordure lumineuse + inclinaison 3D ---------- */
.pc,
.cf-card,
.accordion-item,
.status-card {
  position: relative;
}
.lsr-spot {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  z-index: 3;
  opacity: 0;
  transition: opacity 0.35s ease;
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 50%), rgba(171, 101, 255, 0.16), rgba(57, 187, 255, 0.06) 35%, transparent 60%);
}
.lsr-spot::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: radial-gradient(260px circle at var(--mx, 50%) var(--my, 50%), rgba(199, 164, 255, 0.9), rgba(57, 187, 255, 0.5) 40%, transparent 70%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
}
.pc:hover > .lsr-spot,
.cf-card:hover > .lsr-spot,
.accordion-item:hover > .lsr-spot,
.status-card:hover > .lsr-spot { opacity: 1; }

.pc {
  transform-style: preserve-3d;
  transition: transform 0.5s var(--lsr-ease), box-shadow 0.5s var(--lsr-ease), border-color 0.3s ease !important;
  will-change: transform;
}
.pc.lsr-tilting { transition: transform 0.08s linear, box-shadow 0.4s var(--lsr-ease) !important; }
.pc:hover {
  border-color: rgba(171, 101, 255, 0.45) !important;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.5), 0 0 40px rgba(123, 107, 255, 0.18) !important;
}
.pc__name { transition: color 0.3s ease; }
.pc:hover .pc__name { color: #fff; }

.pc__price {
  background: linear-gradient(90deg, #fff 30%, #cbb3ff);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.pc__price span { -webkit-text-fill-color: transparent; }

/* Vignette vide remplacée par une icône animée (injectée par custom.js) */
.pc__thumb--empty {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 30% 20%, rgba(171, 101, 255, 0.35), transparent 55%),
    radial-gradient(circle at 80% 90%, rgba(57, 187, 255, 0.30), transparent 55%),
    linear-gradient(135deg, #150f33, #0a0b24) !important;
}
.pc__thumb--empty::before {
  content: '';
  position: absolute;
  inset: -60%;
  background: conic-gradient(from 0deg, transparent 0 70%, rgba(171, 101, 255, 0.35) 80%, rgba(57, 187, 255, 0.35) 90%, transparent 100%);
  animation: lsr-spin 9s linear infinite;
  opacity: 0.55;
}
.pc__thumb--empty::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 22px 22px;
  -webkit-mask-image: radial-gradient(circle at 50% 50%, #000, transparent 75%);
  mask-image: radial-gradient(circle at 50% 50%, #000, transparent 75%);
}
@keyframes lsr-spin { to { transform: rotate(360deg); } }
.lsr-thumb-icon {
  position: relative;
  z-index: 1;
  font-size: 2.6rem;
  color: #fff;
  filter: drop-shadow(0 0 18px rgba(171, 101, 255, 0.9)) drop-shadow(0 0 32px rgba(57, 187, 255, 0.5));
  transform: translateZ(40px);
  transition: transform 0.5s var(--lsr-ease);
  animation: lsr-float 5s ease-in-out infinite;
}
.pc:hover .lsr-thumb-icon { transform: translateZ(60px) scale(1.12); }
@keyframes lsr-float { 50% { translate: 0 -6px; } }

/* ---------- Section « Why Us » ---------- */
.cf-card:hover { border-color: rgba(171, 101, 255, 0.3) !important; }
.cf-shield__core { background: rgba(171, 101, 255, 0.12) !important; border-color: rgba(171, 101, 255, 0.45) !important; box-shadow: 0 0 60px rgba(171, 101, 255, 0.3) !important; }
.cf-shield__core i { color: var(--lsr-violet) !important; filter: drop-shadow(0 0 12px rgba(171, 101, 255, 0.8)); }
.cf-shield__ring { border-color: rgba(171, 101, 255, 0.5) !important; }
.cf-step__icon { color: #d7c2ff !important; border-color: rgba(171, 101, 255, 0.4) !important; background: var(--lsr-grad-soft) !important; }
.cf-step__line { background: linear-gradient(90deg, rgba(171, 101, 255, 0), rgba(171, 101, 255, 0.7), rgba(57, 187, 255, 0)) !important; }

/* ---------- FAQ ---------- */
.accordion-item { transition: border-color 0.3s ease, background 0.3s ease; }
.accordion-button:not(.collapsed) { color: #fff !important; }
.accordion-button:not(.collapsed)::after { filter: drop-shadow(0 0 6px rgba(171, 101, 255, 0.9)); }

/* ---------- CTA ---------- */
.cta-card {
  position: relative;
  border: 1px solid rgba(171, 101, 255, 0.22) !important;
  box-shadow: 0 0 80px rgba(123, 107, 255, 0.12) inset;
}
.cta-card::before {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  padding: 1px;
  background: conic-gradient(from var(--lsr-angle, 0deg), transparent 0 60%, #ab65ff 75%, #39bbff 85%, transparent 100%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  animation: lsr-border-spin 6s linear infinite;
  pointer-events: none;
  z-index: 2;
}
@property --lsr-angle { syntax: '<angle>'; inherits: false; initial-value: 0deg; }
@keyframes lsr-border-spin { to { --lsr-angle: 360deg; } }
.cta-overline { color: #c7a4ff !important; }

/* ---------- Footer ---------- */
.ft__glow { background: linear-gradient(90deg, transparent, rgba(171, 101, 255, 0.6) 30%, rgba(57, 187, 255, 0.7) 50%, rgba(171, 101, 255, 0.6) 70%, transparent) !important; }
.ft__link:hover { color: #d7c2ff !important; }

/* ---------- Pages intérieures (fond d'ambiance) ---------- */
.lsr-ambient-halo-a { background: radial-gradient(ellipse, rgba(171, 101, 255, 0.22), rgba(123, 107, 255, 0.07) 40%, transparent 70%) !important; }
.lsr-ambient-halo-b { background: radial-gradient(ellipse, rgba(57, 187, 255, 0.18), rgba(57, 140, 230, 0.06) 44%, transparent 70%) !important; }
.lsr-inner-page .section-title:before { color: #c7a4ff !important; }

/* =====================================================================
   PAGES INTÉRIEURES
   ===================================================================== */

/* Libellé au-dessus du titre selon la page (body[data-lsr-page] posé par custom.js) */
body[data-lsr-page="product"] .section-title:before { content: 'LSR / PRODUCT' !important; }
body[data-lsr-page="cart"] .section-title:before { content: 'LSR / CART' !important; }
body[data-lsr-page="feedback"] .section-title:before { content: 'LSR / REVIEWS' !important; }
body[data-lsr-page="status"] .section-title:before { content: 'LSR / STATUS' !important; }
body[data-lsr-page="blog"] .section-title:before { content: 'LSR / BLOG' !important; }
body[data-lsr-page="faq"] .section-title:before { content: 'LSR / FAQ' !important; }
body[data-lsr-page="legal"] .section-title:before { content: 'LSR / LEGAL' !important; }
body[data-lsr-page="customer"] .section-title:before { content: 'LSR / ACCOUNT' !important; }
.lsr-inner-page .section-title:before {
  background: var(--lsr-grad);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.lsr-inner-page .section-title h1,
.lsr-inner-page .section-title h2 {
  background: linear-gradient(180deg, #ffffff 30%, #cdbdff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* ---------- Catalogue /products ---------- */
.lsr-inner-page aside .bg-gray {
  background: linear-gradient(160deg, rgba(24, 16, 52, 0.85), rgba(10, 10, 30, 0.9)) !important;
  border: 1px solid rgba(171, 101, 255, 0.18) !important;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}
.lsr-inner-page aside .btn-outline {
  color: rgba(226, 218, 255, 0.72);
  border: 1px solid transparent;
  transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease, padding 0.25s var(--lsr-ease);
}
.lsr-inner-page aside .btn-outline:hover {
  color: #fff;
  background: rgba(171, 101, 255, 0.10);
  border-color: rgba(171, 101, 255, 0.25);
  padding-left: 18px !important;
}
.btn-outline-primary {
  color: #d9ccff !important;
  border-color: rgba(171, 101, 255, 0.4) !important;
  background: transparent !important;
  transition: all 0.25s ease;
}
.btn-outline-primary:hover,
.btn-outline-primary.active {
  color: #fff !important;
  background: var(--lsr-grad) !important;
  border-color: transparent !important;
  box-shadow: 0 6px 22px rgba(123, 107, 255, 0.35);
}
.form-control:focus,
.form-select:focus {
  border-color: rgba(171, 101, 255, 0.7) !important;
  box-shadow: 0 0 0 3px rgba(171, 101, 255, 0.18) !important;
}
.pc__thumb-wrap { overflow: hidden; }
img.pc__thumb { transition: transform 0.7s var(--lsr-ease), filter 0.5s ease; }
.pc:hover img.pc__thumb { transform: scale(1.06); filter: saturate(1.15) brightness(1.05); }

/* ---------- Fenêtres (groupes, connexion) ---------- */
.modal-content {
  background: linear-gradient(160deg, rgba(20, 14, 44, 0.96), rgba(8, 8, 26, 0.97)) !important;
  border: 1px solid rgba(171, 101, 255, 0.25) !important;
  box-shadow: 0 40px 120px rgba(0, 0, 0, 0.6), 0 0 60px rgba(123, 107, 255, 0.15) !important;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}
.modal-header { border-bottom-color: rgba(171, 101, 255, 0.15) !important; }
.modal-title { font-weight: 700; letter-spacing: -0.02em; }
.modal-backdrop.show { opacity: 0.75 !important; backdrop-filter: blur(6px); }

/* ---------- Fiche produit ---------- */
.pp-title {
  background: linear-gradient(110deg, #ffffff 20%, #d3bfff 60%, #8fd6ff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.pp-carousel {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid rgba(171, 101, 255, 0.22);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.45), 0 0 60px rgba(123, 107, 255, 0.12);
}
.pp-carousel__img { transition: transform 0.9s var(--lsr-ease); }
.pp-carousel:hover .pp-carousel__img { transform: scale(1.04); }
.pp-carousel::after {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(115deg, transparent 35%, rgba(255, 255, 255, 0.10) 50%, transparent 65%);
  transform: translateX(-100%);
  transition: transform 1.1s var(--lsr-ease);
}
.pp-carousel:hover::after { transform: translateX(100%); }

@media (min-width: 992px) {
  .pp-col--form > div { position: sticky; top: 110px; }
}

.pf-price-block__amount {
  background: var(--lsr-grad);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 4px 24px rgba(171, 101, 255, 0.35));
}
.pf-price-block__unit.lsr-same { display: none !important; }

.pf-variant {
  position: relative;
  transition: border-color 0.25s ease, background 0.25s ease, transform 0.3s var(--lsr-ease), box-shadow 0.3s ease !important;
}
.pf-variant:hover {
  border-color: rgba(171, 101, 255, 0.4) !important;
  transform: translateX(3px);
}
.pf-variant--active {
  border-color: rgba(171, 101, 255, 0.7) !important;
  background: linear-gradient(110deg, rgba(171, 101, 255, 0.14), rgba(57, 187, 255, 0.07)) !important;
  box-shadow: 0 0 0 1px rgba(171, 101, 255, 0.25), 0 10px 30px rgba(123, 107, 255, 0.18) !important;
}
.pf-variant--active .pf-variant__price {
  background: var(--lsr-grad) !important;
  color: #fff !important;
  border-color: transparent !important;
}
.pf-variant__stock { display: inline-flex; align-items: center; gap: 6px; }
.pf-variant__stock::before {
  content: '';
  width: 6px; height: 6px;
  border-radius: 50%;
  background: #3ddc97;
  box-shadow: 0 0 8px #3ddc97;
}
.lsr-badges { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 6px; }
.lsr-badge {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 3px 8px;
  border-radius: 999px;
  color: #e6dbff;
  background: rgba(171, 101, 255, 0.14);
  border: 1px solid rgba(171, 101, 255, 0.3);
  line-height: 1.3;
}
.lsr-badge--gold { color: #ffe7a8; background: rgba(255, 196, 64, 0.12); border-color: rgba(255, 196, 64, 0.35); }
.lsr-badge--blue { color: #bfe9ff; background: rgba(57, 187, 255, 0.12); border-color: rgba(57, 187, 255, 0.35); }

.pf-qty__btn:not(:disabled) { color: #fff !important; }
.pf-qty__btn:disabled { opacity: 0.35; }

.pf-btn--primary {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  background: var(--lsr-grad) !important;
  border: 1px solid rgba(255, 255, 255, 0.18) !important;
  color: #fff !important;
  box-shadow: 0 10px 34px rgba(123, 107, 255, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.25) !important;
  transition: box-shadow 0.35s var(--lsr-ease), filter 0.3s ease !important;
}
.pf-btn--primary::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(115deg, transparent 30%, rgba(255, 255, 255, 0.45) 50%, transparent 70%);
  transform: translateX(-120%);
  animation: lsr-shine 3.8s var(--lsr-ease) infinite;
}
@keyframes lsr-shine { 0%, 55% { transform: translateX(-120%); } 85%, 100% { transform: translateX(120%); } }
.pf-btn--primary:hover { filter: brightness(1.1); box-shadow: 0 14px 44px rgba(171, 101, 255, 0.55) !important; }
.pf-btn--secondary {
  color: #e2d8ff !important;
  border: 1px solid rgba(171, 101, 255, 0.35) !important;
  background: rgba(171, 101, 255, 0.06) !important;
  transition: background 0.25s ease, border-color 0.25s ease !important;
}
.pf-btn--secondary:hover { background: rgba(171, 101, 255, 0.14) !important; border-color: rgba(57, 187, 255, 0.5) !important; }

/* Bloc confiance sous les boutons */
.lsr-trust {
  margin-top: 18px;
  padding: 16px;
  border-radius: 16px;
  border: 1px solid rgba(171, 101, 255, 0.18);
  background: linear-gradient(160deg, rgba(24, 16, 52, 0.6), rgba(10, 10, 30, 0.6));
  display: grid;
  gap: 12px;
}
.lsr-trust__row { display: flex; gap: 12px; align-items: flex-start; }
.lsr-trust__icon {
  flex: 0 0 34px;
  height: 34px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  color: #d7c2ff;
  background: var(--lsr-grad-soft);
  border: 1px solid rgba(171, 101, 255, 0.3);
  font-size: 0.9rem;
}
.lsr-trust__title { font-size: 0.86rem; font-weight: 700; color: #fff; line-height: 1.3; }
.lsr-trust__text { font-size: 0.78rem; color: var(--lsr-muted); line-height: 1.45; }
.lsr-discord-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 16px;
  border-radius: 12px;
  font-size: 0.86rem;
  font-weight: 700;
  color: #fff !important;
  text-decoration: none !important;
  background: #5865f2;
  box-shadow: 0 8px 24px rgba(88, 101, 242, 0.35);
  transition: transform 0.3s var(--lsr-ease), box-shadow 0.3s ease, filter 0.3s ease;
}
.lsr-discord-btn:hover { transform: translateY(-2px); filter: brightness(1.1); box-shadow: 0 12px 30px rgba(88, 101, 242, 0.5); }

/* Description mise en forme */
.pp-editor .lsr-empty-p { display: none; }
.pp-editor .lsr-desc-h {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: 22px 0 8px !important;
  padding: 10px 14px;
  border-radius: 12px;
  border-left: 3px solid var(--lsr-violet);
  background: linear-gradient(90deg, rgba(171, 101, 255, 0.12), rgba(171, 101, 255, 0));
  font-size: 0.82rem !important;
  font-weight: 800 !important;
  letter-spacing: 0.06em;
  color: #fff !important;
}
.pp-editor .lsr-desc-h:first-child { margin-top: 0 !important; }
.pp-editor .lsr-desc-price {
  flex-shrink: 0;
  padding: 3px 10px;
  border-radius: 999px;
  font-size: 0.78rem;
  letter-spacing: 0;
  background: var(--lsr-grad);
  color: #fff;
}
.pp-editor .lsr-desc-intro { font-size: 1.05rem !important; color: #fff !important; margin-bottom: 6px !important; }
.pp-editor a.lsr-inline-link { color: #c7a4ff; text-decoration: underline; text-underline-offset: 3px; }

/* Barre d'achat fixe sur mobile */
.lsr-buybar {
  position: fixed;
  left: 12px; right: 12px;
  bottom: 12px;
  z-index: 1030;
  display: none;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 10px 10px 16px;
  border-radius: 18px;
  background: rgba(14, 10, 34, 0.88);
  border: 1px solid rgba(171, 101, 255, 0.3);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.55);
  transform: translateY(140%);
  transition: transform 0.45s var(--lsr-ease);
}
.lsr-buybar.is-on { transform: translateY(0); }
.lsr-buybar__price { font-size: 1.15rem; font-weight: 800; color: #fff; }
.lsr-buybar__btn {
  border: 0;
  padding: 11px 20px;
  border-radius: 12px;
  font-weight: 700;
  color: #fff;
  background: var(--lsr-grad);
  box-shadow: 0 8px 24px rgba(123, 107, 255, 0.45);
}
@media (max-width: 991px) { .lsr-buybar { display: flex; } }

/* ---------- Panier ---------- */
.cart .border.rounded,
.cart .cart-item-bg {
  border-color: rgba(171, 101, 255, 0.18) !important;
  background: linear-gradient(160deg, rgba(24, 16, 52, 0.55), rgba(10, 10, 30, 0.6)) !important;
}
.cart .p-4.border.rounded.text-center .text-muted:before {
  content: '\f07a';
  display: block;
  margin: 0 auto 14px;
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  font-size: 2.2rem;
  color: #d7c2ff;
  filter: drop-shadow(0 0 16px rgba(171, 101, 255, 0.8));
}
.cart .p-4.border.rounded.text-center .text-muted { color: rgba(226, 218, 255, 0.75) !important; font-size: 1rem; margin: 18px 0; }

/* ---------- Blog vide / alertes ---------- */
.alert-info {
  color: #e2d8ff !important;
  text-align: center;
  padding: 48px 24px !important;
  border-radius: 20px !important;
  border: 1px solid rgba(171, 101, 255, 0.2) !important;
  background: radial-gradient(ellipse at 50% 0%, rgba(171, 101, 255, 0.14), transparent 60%), linear-gradient(135deg, #120e2c, #0a0b22) !important;
}

/* ---------- États vides (Reviews / Status) ---------- */
.lsr-inner-page .lsr-empty {
  border-color: rgba(171, 101, 255, 0.2) !important;
  background: radial-gradient(ellipse at 50% 0%, rgba(171, 101, 255, 0.16), transparent 60%), linear-gradient(135deg, #120e2c, #0a0b22) !important;
}
.lsr-inner-page .lsr-empty-icon {
  color: #e2d0ff !important;
  border-color: rgba(171, 101, 255, 0.4) !important;
  background: var(--lsr-grad-soft) !important;
  box-shadow: 0 0 30px rgba(171, 101, 255, 0.3);
  animation: lsr-float 5s ease-in-out infinite;
}
.lsr-inner-page .lsr-empty a { background: var(--lsr-grad) !important; border-color: rgba(255, 255, 255, 0.18) !important; }

/* ---------- Ajout au panier ---------- */
.lsr-fly {
  position: fixed;
  z-index: 10000;
  object-fit: cover;
  pointer-events: none;
  box-shadow: 0 20px 60px rgba(171, 101, 255, 0.55), 0 0 0 2px rgba(199, 164, 255, 0.6);
  will-change: transform, opacity;
}
.lsr-spark {
  position: fixed;
  z-index: 10000;
  width: 7px; height: 7px;
  border-radius: 50%;
  pointer-events: none;
  background: radial-gradient(circle, #fff 0%, #c7a4ff 45%, #39bbff 100%);
  box-shadow: 0 0 10px rgba(171, 101, 255, 0.9);
}
.nb-cart { position: relative; }
.nb-cart.lsr-cart-bump { animation: lsr-cart-bump 0.8s var(--lsr-ease); }
.nb-cart.lsr-cart-bump::after {
  content: '';
  position: absolute;
  inset: -6px;
  border-radius: 14px;
  border: 2px solid rgba(171, 101, 255, 0.9);
  animation: lsr-cart-ring 0.8s ease-out forwards;
  pointer-events: none;
}
.nb-cart.lsr-cart-bump .count { animation: lsr-count-pop 0.6s var(--lsr-ease); }
@keyframes lsr-cart-bump {
  0% { transform: scale(1); }
  25% { transform: scale(1.28) rotate(-10deg); }
  50% { transform: scale(0.92) rotate(6deg); }
  75% { transform: scale(1.08) rotate(-3deg); }
  100% { transform: scale(1) rotate(0); }
}
@keyframes lsr-cart-ring { from { opacity: 1; transform: scale(0.8); } to { opacity: 0; transform: scale(1.6); } }
@keyframes lsr-count-pop { 0% { transform: scale(0.4); } 60% { transform: scale(1.4); } 100% { transform: scale(1); } }
.pf-btn--secondary.lsr-added {
  border-color: rgba(61, 220, 151, 0.7) !important;
  background: rgba(61, 220, 151, 0.12) !important;
  color: #c9ffe6 !important;
  animation: lsr-added-pulse 0.7s var(--lsr-ease);
}
@keyframes lsr-added-pulse { 0% { transform: scale(1); } 35% { transform: scale(1.04); box-shadow: 0 0 0 6px rgba(61, 220, 151, 0.18); } 100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(61, 220, 151, 0); } }

/* ---------- Fond « ambiance » des fiches produit ---------- */
/* Le fond opaque de la fiche cachait tout le décor de la page */
.pp-wrap { background: transparent !important; }
.lsr-ambilight {
  position: absolute;
  left: 50%; top: -18vh;
  width: 130vw; height: 95vh;
  transform: translateX(-50%);
  background-size: cover;
  background-position: center;
  filter: blur(110px) saturate(1.8);
  opacity: 0.42;
  -webkit-mask-image: radial-gradient(ellipse at 50% 30%, #000 20%, transparent 70%);
  mask-image: radial-gradient(ellipse at 50% 30%, #000 20%, transparent 70%);
  transition: opacity 0.35s ease;
  animation: lsr-ambi-breathe 14s ease-in-out infinite alternate;
}
.lsr-ambilight.is-swap { opacity: 0; }
@keyframes lsr-ambi-breathe {
  from { transform: translateX(-50%) scale(1); }
  to { transform: translateX(-47%) scale(1.08); }
}
body[data-lsr-page="product"] .lsr-ambient-grid { opacity: 0.6; }
body[data-lsr-page="product"] .pp-glows { opacity: 0.4; }

@media (prefers-reduced-motion: reduce) {
  .lsr-ambilight, .nb-cart.lsr-cart-bump, .nb-cart.lsr-cart-bump::after, .pf-btn--secondary.lsr-added { animation: none !important; }
}

/* ---------- Connexion avec Discord ---------- */
.lsr-discord-login { margin-top: 14px; }
.lsr-or { display: flex; align-items: center; gap: 12px; margin: 4px 0 14px; color: rgba(226, 218, 255, 0.5); font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.1em; }
.lsr-or::before, .lsr-or::after { content: ''; flex: 1; height: 1px; background: rgba(171, 101, 255, 0.2); }
.lsr-discord-login__btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 11px 16px;
  border: 0;
  border-radius: 12px;
  font-weight: 700;
  color: #fff;
  background: #5865f2;
  box-shadow: 0 8px 24px rgba(88, 101, 242, 0.35);
  transition: transform 0.3s var(--lsr-ease), filter 0.3s ease, box-shadow 0.3s ease;
}
.lsr-discord-login__btn i { font-size: 1.15rem; }
.lsr-discord-login__btn:hover:not(:disabled) { transform: translateY(-2px); filter: brightness(1.1); box-shadow: 0 12px 30px rgba(88, 101, 242, 0.5); }
.lsr-discord-login__btn:disabled { opacity: 0.7; cursor: progress; }
.lsr-discord-login__err { margin: 10px 0 0; font-size: 0.82rem; color: #ff8a9a; text-align: center; }

/* Sections vides masquées par custom.js */
.lsr-hidden { display: none !important; }

/* ---------- Accessibilité / performance ---------- */
@media (hover: none), (pointer: coarse) {
  .lsr-cursor-glow, .lsr-spot { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .lsr-grain, .hero-scene::before, .hero-scene::after, .pc__thumb--empty::before,
  .lsr-thumb-icon, .cta-card::before, .pf-btn--primary::after,
  .lsr-inner-page .lsr-empty-icon { animation: none !important; }
  .lsr-cursor-glow { display: none; }
  .pc { transition: none !important; }
  .lsr-buybar { transition: none; }
  .hero-btn-primary::after, .cta-btn-primary::after, .btn-primary::after, .pc__buy::after { display: none; }
}
@media (forced-colors: active) {
  .lsr-grain, .lsr-cursor-glow, .lsr-spot, .lsr-progress { display: none; }
}

/* ---------- Cartes produit (déplacé depuis snippets/product-card.njk) ----------
   Ce bloc était répété dans le HTML pour chaque carte (39 fois sur l'accueil, ~190 Ko).
   Il est chargé une seule fois ici, en dernier, pour garder exactement le même rendu. */
.pc {
  position: relative;
  display: flex;
  flex-direction: column;
  text-decoration: none;
  background: #0a0e22;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 14px;
  overflow: hidden;
  font-family: 'Satoshi', 'Inter', system-ui, sans-serif;
  transition: border-color 0.25s cubic-bezier(0.16, 1, 0.3, 1), background 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.pc::before {
  content: '';
  position: absolute;
  top: 0;
  left: 20%;
  right: 20%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(180, 210, 255, 0.22) 50%, transparent);
  opacity: 0;
  transition: opacity 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 1;
}

.pc::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: -40%;
  width: 140%;
  height: 80%;
  transform: translateX(-50%);
  background: radial-gradient(
    ellipse at center,
    rgba(91, 110, 245, 0.24) 0%,
    rgba(58, 142, 245, 0.12) 30%,
    rgba(91, 110, 245, 0.03) 60%,
    transparent 75%
  );
  opacity: 0;
  transition: opacity 0.45s cubic-bezier(0.16, 1, 0.3, 1);
  pointer-events: none;
  z-index: 0;
}

.pc:hover {
  background: #0c1128;
  border-color: rgba(180, 210, 255, 0.14);
}

.pc:hover::before {
  opacity: 1;
}

.pc:hover::after {
  opacity: 1;
}

.pc__thumb-wrap,
.pc__body {
  position: relative;
  z-index: 1;
}

.pc__thumb-wrap {
  position: relative;
  margin: 10px 10px 0;
  border-radius: 10px;
  overflow: hidden;
  background: #06091a;
  z-index: 1;
}

.pc__thumb {
  width: 100%;
  display: block;
  border-radius: 10px;
}

.pc__thumb--empty {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(200, 220, 255, 0.14);
  border-radius: 10px;
}

.pc__badges {
  position: absolute;
  top: 8px;
  left: 8px;
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  z-index: 2;
}

.pc__badge {
  font-family: 'Satoshi', sans-serif;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #ffffff;
  padding: 4px 9px;
  border-radius: 999px;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.pc__body {
  padding: 14px 14px 14px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  flex: 1;
}

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

.pc__name {
  font-family: 'Satoshi', sans-serif;
  font-size: 15px;
  font-weight: 700;
  color: #ffffff;
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  flex: 1;
  min-width: 0;
}

.pc__stock-wrap {
  flex-shrink: 0;
}

.pc__stock {
  font-family: 'Satoshi', sans-serif;
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 4px 8px;
  border-radius: 999px;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.pc__stock--in {
  background: rgba(34, 197, 94, 0.1);
  color: rgba(74, 222, 128, 0.9);
  border: 1px solid rgba(34, 197, 94, 0.18);
}

.pc__stock--low {
  background: rgba(234, 179, 8, 0.1);
  color: rgba(250, 204, 21, 0.95);
  border: 1px solid rgba(234, 179, 8, 0.2);
}

.pc__stock--out {
  background: rgba(200, 220, 255, 0.04);
  color: rgba(200, 220, 255, 0.3);
  border: 1px solid rgba(200, 220, 255, 0.07);
}

.pc__bottom {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 10px;
}

.pc__pricing {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 3px;
  min-width: 0;
  flex: 1;
}

.pc__label {
  font-family: 'Satoshi', sans-serif;
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(200, 220, 255, 0.35);
  line-height: 1;
}

.pc__price {
  font-family: 'Satoshi', sans-serif;
  font-size: 20px;
  font-weight: 800;
  color: #ffffff;
  letter-spacing: -0.025em;
  line-height: 1;
  display: flex;
  align-items: baseline;
  gap: 6px;
}

.pc__slash {
  font-size: 12px;
  font-weight: 500;
  color: rgba(200, 220, 255, 0.28);
  text-decoration: line-through;
  letter-spacing: 0;
}

.pc__buy {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 9px 14px;
  background: linear-gradient(135deg, #5B6EF5 0%, #3a8ef5 100%);
  border-radius: 6px;
  font-family: 'Satoshi', sans-serif;
  font-size: 12px;
  font-weight: 700;
  color: #ffffff;
  letter-spacing: 0.01em;
  line-height: 1;
  flex-shrink: 0;
  transition: background 0.18s cubic-bezier(0.16, 1, 0.3, 1), transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.12) inset;
}

.pc:hover .pc__buy {
  background: linear-gradient(135deg, #6e80f7 0%, #52a0f7 100%);
}

.pc__buy-icon {
  opacity: 0.9;
  flex-shrink: 0;
}

@media (max-width: 640px) {
  .pc__body {
    padding: 12px 12px 12px;
    gap: 12px;
  }

  .pc__name {
    font-size: 14px;
  }

  .pc__price {
    font-size: 18px;
  }

  .pc__buy {
    padding: 8px 12px;
    font-size: 11px;
  }
}