
:root{--bg:#0f1115;--card:#151924;--text:#e8ecf3;--muted:#a7b1c2;--brand:#5eead4;--accent:#38bdf8;}
*{box-sizing:border-box}
html,body{margin:0;padding:0;background:var(--bg);color:var(--text);font-family:Inter,system-ui,-apple-system,Segoe UI,Roboto,Arial,sans-serif;line-height:1.6}
a{color:var(--accent);text-decoration:none}
a:hover{text-decoration:underline}
.container{max-width:1100px;margin:0 auto;padding:24px}
.grid{display:grid;gap:16px}
.grid-3{grid-template-columns:repeat(auto-fit,minmax(260px,1fr))}
.card{background:var(--card);border:1px solid #22293a;border-radius:16px;padding:18px;box-shadow:0 8px 24px rgba(0,0,0,.25)}
.btn{display:inline-block;background:var(--brand);color:#082c2a;font-weight:700;border-radius:12px;padding:12px 16px;margin-right:8px}
.btn.secondary{background:transparent;border:1px solid var(--brand);color:var(--text)}
.badge{display:inline-block;padding:4px 8px;background:#1f2635;border:1px solid #2a3347;border-radius:999px;color:var(--muted);font-size:12px}
nav{position:sticky;top:0;background:rgba(15,17,21,.8);backdrop-filter:blur(8px);border-bottom:1px solid #22293a;z-index:20}
nav .container{display:flex;align-items:center;justify-content:space-between}
nav a.logo{font-weight:800;color:var(--text)}
nav .menu a{margin-left:14px;color:var(--muted)}
header.hero{padding:48px 0 16px}
.hero h1{font-size:34px;margin:0 0 6px}
.hero p{color:var(--muted);margin:0 0 16px}
.kv{display:grid;grid-template-columns:1.2fr .8fr;gap:18px}
.kv img{width:100%;border-radius:16px;border:1px solid #22293a}
@media(max-width:900px){.kv{grid-template-columns:1fr}}
.ft{border-top:1px solid #22293a;margin-top:36px;padding:24px;color:var(--muted)}
.table{width:100%;border-collapse:separate;border-spacing:0 8px}
.table th,.table td{text-align:left;padding:10px 12px;background:#121725;border:1px solid #22293a}
.table th{color:#c7d2e0}
.table tr td:first-child,.table tr th:first-child{border-radius:10px 0 0 10px}
.table tr td:last-child,.table tr th:last-child{border-radius:0 10px 10px 0}
.faq dt{cursor:pointer;background:#121725;border:1px solid #22293a;margin:10px 0;padding:12px;border-radius:12px}
.faq dd{margin:0 0 8px 0;padding:0 12px 12px;display:none;color:var(--muted)}
.breadcrumbs{font-size:14px;color:var(--muted);margin:8px 0 16px}
img.resp{width:100%;height:auto;border-radius:12px;border:1px solid #22293a}
.small{font-size:14px;color:var(--muted)}
.hl{color:#fff}

/* --- Product gallery & pricing & urgency --- */
.price{display:flex;align-items:center;gap:10px;margin:8px 0 12px}
.price .old{color:#a7b1c2;text-decoration:line-through}
.price .new{font-size:22px;font-weight:800;color:#fff}
.stock{display:inline-block;background:#231d1d;border:1px solid #3a2c2c;border-radius:10px;padding:6px 10px;color:#fca5a5;margin:8px 0}
.timer{display:flex;align-items:center;gap:10px;background:#12201e;border:1px solid #1e3a35;border-radius:12px;padding:10px 12px;margin:10px 0;color:#a7f3d0}
.timer .num{font-weight:800;color:#d1fae5}
.gallery{display:grid;grid-template-columns:1fr;gap:10px}
.gallery .main img{width:100%;height:auto;border-radius:14px;border:1px solid #22293a}
.gallery .thumbs{display:grid;grid-template-columns:repeat(4,1fr);gap:8px}
.gallery .thumbs img{width:100%;height:74px;object-fit:cover;border-radius:10px;border:2px solid #22293a;cursor:pointer;opacity:.9}
.gallery .thumbs img.active{border-color:#5eead4;opacity:1}
.desc{background:#111621;border:1px solid #22293a;border-radius:12px;padding:12px;margin-top:12px;color:#c7d2e0}
.badge.urgent{background:#2b1d1d;border-color:#4d2b2b;color:#fecaca}

/* --- Product page: gallery on top --- */
.kv.product{grid-template-columns:1fr}

.kv.product .main img{cursor:zoom-in}

/* --- Lightbox --- */
.lightbox{position:fixed;inset:0;background:rgba(0,0,0,.9);display:none;align-items:center;justify-content:center;z-index:9999}
.lightbox.open{display:flex}
.lightbox img{max-width:92vw;max-height:86vh;border-radius:12px;border:1px solid #333}
.lightbox .close,.lightbox .prev,.lightbox .next{
  position:absolute;top:20px;background:rgba(255,255,255,.1);
  border:1px solid rgba(255,255,255,.2);color:#fff;padding:10px 14px;border-radius:10px;cursor:pointer
}
.lightbox .close{right:20px}
.lightbox .prev{left:20px;top:50%;transform:translateY(-50%)}
.lightbox .next{right:20px;top:50%;transform:translateY(-50%)}

/* --- Home product cards with image & price --- */
.card.product{display:flex;flex-direction:column;gap:8px}
.card.product img{width:100%;height:180px;object-fit:cover;border-radius:12px;border:1px solid #22293a}
.card .price-line{display:flex;align-items:center;gap:8px}
.card .price-line .old{color:#a7b1c2;text-decoration:line-through;font-size:14px}
.card .price-line .new{font-weight:800}

/* --- Product video block --- */
.video{margin:14px 0;background:#0f1521;border:1px solid #22293a;border-radius:14px;padding:12px}
.video iframe,.video video{width:100%;height:340px;border:0;border-radius:10px;background:#000}
@media(max-width:600px){.video iframe,.video video{height:220px}}

/* --- Desktop responsiveness upgrades --- */
@media(min-width:1024px){
  .container{max-width:1200px}
  .grid-3{grid-template-columns:repeat(3,1fr)}
  .grid-4{display:grid;grid-template-columns:repeat(4,1fr);gap:16px}
  .gallery .thumbs{grid-template-columns:repeat(6,1fr)}
  .gallery .thumbs img{height:96px}
  .hero h1{font-size:44px}
  .kv.product{grid-template-columns:1fr;gap:14px}
  .kv.product .main img{max-height:640px;object-fit:cover}
}
/* Make gallery block sit on top with full width */
.kv.product{grid-template-columns:1fr}

/* CTA bands */
.band{background:linear-gradient(90deg,#0f172a,#111827);border-top:1px solid #22293a;border-bottom:1px solid #22293a}
.band .wrap{display:flex;flex-direction:column;gap:12px;align-items:flex-start;padding:18px 0}
@media(min-width:900px){.band .wrap{flex-direction:row;align-items:center;justify-content:space-between}}
.band .kpis{display:grid;grid-template-columns:repeat(2,1fr);gap:10px}
@media(min-width:900px){.band .kpis{grid-template-columns:repeat(4,1fr)}}
.kpi{background:#101624;border:1px solid #22293a;border-radius:12px;padding:10px 12px;color:#c7d2e0}
.cta-inline{display:flex;gap:10px;flex-wrap:wrap}
.cta-ghost{background:transparent;border:1px solid var(--accent);color:var(--text);padding:12px 16px;border-radius:12px}
/* Bottom big CTA */
.big-cta{background:#0b1220;border:1px solid #1f2a44;border-radius:16px;padding:18px;text-align:center;margin-top:16px}
.big-cta h3{margin:0 0 10px 0}
.big-cta .cta-inline{justify-content:center}

/* --- Sticky mobile CTA bar --- */
.sticky-cta{position:fixed;left:0;right:0;bottom:0;background:#0b1220;border-top:1px solid #1f2a44;display:none;z-index:9998}
.sticky-cta .wrap{display:flex;gap:10px;align-items:center;justify-content:space-between;padding:10px 14px}
.sticky-cta .wrap .btn{flex:1;text-align:center}
@media(max-width:900px){.sticky-cta{display:block;padding-bottom:env(safe-area-inset-bottom)}}
body.has-sticky-pad{padding-bottom:72px}

/* PRODUCT GALLERY POSITIONING V9 */
.kv.product{grid-template-columns:1fr}

/* Mobile 3:4 aspect ratio */
@media(max-width: 700px){
  .gallery .main img{aspect-ratio: 3 / 4; width:100%; height:auto; object-fit: cover}
  .gallery .thumbs img{aspect-ratio: 3 / 4; height:auto; object-fit: cover}
}


/* === NEO THEME — Futuristic look === */
:root{
  --bg:#06070b;--card:rgba(13,17,28,.6);--text:#e9f1ff;--muted:#a6b3c9;
  --brand:#7cfff1;--accent:#6ae1ff;--glow:#00f5ff;--ring:#0ea5e9;
}
/* Animated gradient backdrop + grid */
body.neo{
  background:
    radial-gradient(1000px 600px at 10% -10%, rgba(3,172,255,.08), transparent 60%),
    radial-gradient(900px 700px at 110% 10%, rgba(0,255,204,.06), transparent 55%),
    #06070b;
  color:var(--text);
  overflow-x:hidden;
}
body.neo::before{
  content:"";
  position:fixed; inset:0; z-index:-1;
  background:
    linear-gradient(transparent 96%, rgba(124,255,241,.12) 100%),
    linear-gradient(90deg, transparent 96%, rgba(124,255,241,.12) 100%);
  background-size: 50px 50px, 50px 50px;
  opacity:.12;
  mask-image: radial-gradient(1200px 800px at 50% 40%, #000 60%, transparent 85%);
}
/* Soft fog layer */
body.neo::after{
  content:""; position:fixed; inset:-10% -10% -10% -10%; z-index:-2;
  background: radial-gradient(600px 400px at 70% 90%, rgba(106,225,255,.08), transparent 60%);
  pointer-events:none;
}
/* Glass cards & motion */
.card, .kpi, .desc, .video, .band, .big-cta, .table th, .table td{
  background:linear-gradient(180deg, rgba(20,26,40,.6), rgba(12,16,28,.5));
  border:1px solid rgba(122,178,255,.18);
  box-shadow:0 10px 30px rgba(0,0,0,.35), inset 0 1px 0 rgba(255,255,255,.05);
  backdrop-filter: blur(8px);
}
.card:hover{transform:translateY(-2px); transition:transform .25s ease}
/* Navbar glass */
nav{background:rgba(8,12,20,.6); border-bottom:1px solid rgba(122,178,255,.2); backdrop-filter: blur(10px)}
nav a.logo{letter-spacing:.5px}
/* Neon buttons */
.btn{
  position:relative; isolation:isolate;
  background:linear-gradient(180deg, var(--brand), var(--accent));
  border:none; color:#041316; box-shadow:0 0 0 0 rgba(0,245,255,.4);
  transition:transform .15s ease, box-shadow .3s ease;
}
.btn::after{
  content:""; position:absolute; inset:-2px; border-radius:14px; z-index:-1;
  background: radial-gradient(120px 80px at 20% 0%, rgba(255,255,255,.4), transparent 60%);
  mix-blend-mode: overlay; opacity:.35; pointer-events:none;
}
.btn:hover{transform:translateY(-1px); box-shadow:0 12px 30px rgba(0,245,255,.18)}
.btn.secondary{
  background:linear-gradient(180deg, rgba(12,17,28,.8), rgba(12,17,28,.8));
  border:1px solid rgba(106,225,255,.35); color:var(--text);
}
/* Headings glow */
h1,h2,h3{letter-spacing:.3px}
h1{ text-shadow:0 0 12px rgba(0,245,255,.18)}
/* Price chip */
.price .new{font-size:24px;font-weight:800;color:#eaffff; text-shadow:0 0 10px rgba(0,245,255,.18)}
.price .old{opacity:.7}
.stock{background:rgba(255,60,60,.08); border-color:rgba(255,60,60,.22)}
.timer{background:rgba(0,255,204,.06); border-color:rgba(0,255,204,.25); color:#bffcf2}
/* Gallery frame */
.gallery .main img, .gallery .thumbs img{
  border:1px solid rgba(122,178,255,.24); box-shadow:0 8px 20px rgba(0,0,0,.35)
}
.gallery .thumbs img.active{box-shadow:0 0 0 2px rgba(0,245,255,.35), 0 8px 20px rgba(0,0,0,.4)}
/* Lightbox chrome */
.lightbox{background:radial-gradient(60% 100% at 50% 50%, rgba(0,8,16,.9), rgba(0,0,0,.96))}
.lightbox img{box-shadow:0 20px 60px rgba(0,0,0,.6)}
.lightbox .close,.lightbox .prev,.lightbox .next{
  background:rgba(10,18,30,.6); border:1px solid rgba(122,178,255,.25)
}
/* Band & metrics accents */
.band .kpis .kpi{box-shadow:inset 0 0 0 1px rgba(122,178,255,.12)}
.big-cta{box-shadow:0 14px 40px rgba(0,0,0,.35)}
/* Breadcrumbs neon tweak */
.breadcrumbs{color:#8ea7c9}
a{color:#9be6ff}
a:hover{text-decoration:none; filter:drop-shadow(0 0 6px rgba(106,225,255,.45))}
/* Tables with grid glow */
.table th,.table td{background:rgba(10,14,24,.6)}
.table th{border-bottom:1px solid rgba(122,178,255,.25)}
/* Sticky CTA polish */
.sticky-cta{background:rgba(7,12,20,.8); border-top:1px solid rgba(122,178,255,.25); backdrop-filter: blur(8px)}
/* Hero art */
header.hero .container{position:relative}
header.hero .container::after{
  content:""; position:absolute; right:-40px; top:-40px; width:240px; height:240px;
  background:radial-gradient(circle at 30% 30%, rgba(0,245,255,.3), transparent 60%);
  filter:blur(30px); opacity:.4; pointer-events:none;
}
