:root{
  --bg: #0b1416;
  --bg2:#071013;
  --panel: rgba(18, 26, 29, 0.72);
  --panel2:#121a1d;
  --text:#EAF2F4;
  --muted:#A9BCC1;
  --neon:#39ff88;
  --danger:#ff4d4d;
  --warning:#ffce4d;
  --ok:#39ff88;
  --shadow: 0 18px 60px rgba(0,0,0,.35);
  --shadow2: 0 10px 30px rgba(0,0,0,.35);
  --radius: 18px;
  --radius2: 24px;
  --border: 1px solid rgba(255,255,255,.08);
  --ring: 0 0 0 3px rgba(57,255,136,.18);
  --max: 1200px;
}

*{ box-sizing:border-box; }
html,body{ height:100%; }
body{
  margin:0;
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  color:var(--text);
  background:
    radial-gradient(900px 520px at 20% -10%, rgba(57,255,136,.18), transparent 60%),
    radial-gradient(820px 420px at 110% 10%, rgba(98,76,255,.16), transparent 60%),
    radial-gradient(900px 520px at 50% 120%, rgba(57,255,136,.08), transparent 55%),
    linear-gradient(180deg, var(--bg2), var(--bg));
  overflow-x:hidden;
}

a{ color:inherit; text-decoration:none; }
img{ max-width:100%; display:block; }

.container{ width:min(var(--max), calc(100% - 40px)); margin:0 auto; }

.skip-link{
  position:absolute; left:-999px; top:0;
  background:var(--panel2); padding:10px 14px; border-radius:12px;
}
.skip-link:focus{ left:14px; top:14px; z-index:9999; outline:none; box-shadow:var(--ring); }

/* Header */
.header{
  position:sticky; top:0; z-index:50;
  border-bottom: 1px solid rgba(255,255,255,.06);
  background: rgba(11,20,22,.70);
  backdrop-filter: blur(16px);
}
.header-inner{
  display:flex; align-items:center; justify-content:space-between;
  padding:16px 0;
}
.brand{
  display:flex; gap:12px; align-items:center;
}
.brand img{ height:54px; width:auto; filter: drop-shadow(0 0 14px rgba(57,255,136,.35)); }
.nav{
  display:flex; gap:18px; align-items:center;
}
.nav a{
  opacity:.85; font-weight:600; font-size:14px;
  padding:10px 12px; border-radius:12px;
  transition: .18s ease;
}
.nav a:hover{ background: rgba(255,255,255,.06); opacity:1; }

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

.icon-btn{
  border: var(--border);
  background: rgba(18,26,29,.35);
  color:var(--text);
  border-radius: 14px;
  padding:10px 12px;
  cursor:pointer;
  transition: .18s ease;
  display:flex; align-items:center; gap:10px;
}
.icon-btn:hover{ transform: translateY(-1px); box-shadow: var(--shadow2); }
.icon-btn:focus{ outline:none; box-shadow: var(--ring); }
.badge{
  background: var(--neon);
  color:#061113;
  border-radius: 999px;
  font-weight:800;
  font-size:12px;
  padding: 2px 8px;
  min-width: 26px;
  text-align:center;
}

/* Mobile nav */
.mobile-only{ display:none; }
@media (max-width: 860px){
  .nav{ display:none; }
  .mobile-only{ display:flex; }
}

/* Hero */
.hero{
  padding: 54px 0 22px;
}
.hero-grid{
  display:grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 26px;
  align-items:stretch;
}
@media (max-width: 900px){
  .hero-grid{ grid-template-columns: 1fr; }
}
.hero-card{
  border: var(--border);
  background: linear-gradient(180deg, rgba(18,26,29,.62), rgba(18,26,29,.35));
  border-radius: var(--radius2);
  padding: 28px;
  box-shadow: var(--shadow);
  position:relative;
  overflow:hidden;
}
.hero-card::after{
  content:"";
  position:absolute; inset:-2px;
  background: radial-gradient(600px 240px at 30% 0%, rgba(57,255,136,.18), transparent 55%),
              radial-gradient(400px 220px at 100% 40%, rgba(98,76,255,.12), transparent 60%);
  pointer-events:none;
}
.hero-card > *{ position:relative; z-index:1; }
.kicker{
  display:inline-flex;
  align-items:center; gap:10px;
  border: var(--border);
  background: rgba(255,255,255,.04);
  padding: 8px 12px;
  border-radius: 999px;
  font-size: 13px;
  color: var(--muted);
  width: fit-content;
}
.dot{
  width:10px; height:10px; border-radius:50%;
  background: var(--neon);
  box-shadow: 0 0 18px rgba(57,255,136,.55);
}
.h1{
  margin: 16px 0 10px;
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.05;
  letter-spacing: -0.02em;
}
.h1 span{
  color: var(--neon);
  text-shadow: 0 0 18px rgba(57,255,136,.45);
}
.sub{
  margin:0 0 18px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.55;
  max-width: 62ch;
}
.cta-row{
  display:flex; gap:12px; flex-wrap:wrap; align-items:center;
  margin-top: 14px;
}
.btn{
  border:none;
  border-radius: 14px;
  padding: 12px 16px;
  font-weight:800;
  cursor:pointer;
  transition: .18s ease;
  display:inline-flex; gap:10px; align-items:center;
}
.btn-primary{
  background: var(--neon);
  color:#061113;
  box-shadow: 0 16px 40px rgba(57,255,136,.12);
}
.btn-primary:hover{ transform: translateY(-1px); }
.btn-secondary{
  background: rgba(255,255,255,.06);
  border: var(--border);
  color: var(--text);
}
.btn-secondary:hover{ background: rgba(255,255,255,.08); transform: translateY(-1px); }
.btn:focus{ outline:none; box-shadow: var(--ring); }

.hero-side{
  display:grid; gap: 12px;
}
.side-card{
  border: var(--border);
  background: rgba(18,26,29,.45);
  border-radius: var(--radius2);
  padding: 18px;
}
.side-title{
  display:flex; align-items:center; justify-content:space-between;
  font-weight:800; margin-bottom: 10px;
}
.chips{ display:flex; gap:10px; flex-wrap:wrap; }
.chip{
  border: var(--border);
  background: rgba(255,255,255,.04);
  color: var(--muted);
  padding: 8px 10px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
}

/* Section */
.section{ padding: 22px 0 60px; }
.section-head{
  display:flex; align-items:flex-end; justify-content:space-between;
  gap: 16px;
  margin: 18px 0 16px;
}
.section-title{
  font-size: 18px;
  letter-spacing: -0.01em;
  margin:0;
}
.section-desc{ margin:0; color: var(--muted); font-size: 14px; }

/* Controls */
.controls{
  display:flex; gap:12px; align-items:center; flex-wrap:wrap;
}
.input{
  border: var(--border);
  background: rgba(18,26,29,.35);
  color: var(--text);
  border-radius: 14px;
  padding: 12px 14px;
  min-width: 240px;
}
.select{
  border: var(--border);
  background: rgba(18,26,29,.35);
  color: var(--text);
  border-radius: 14px;
  padding: 12px 14px;
}
.input:focus, .select:focus{ outline:none; box-shadow: var(--ring); }

/* Product grid */
.grid{
  display:grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 16px;
}
.card{
  grid-column: span 3;
  border: var(--border);
  background: rgba(18,26,29,.52);
  border-radius: var(--radius2);
  overflow:hidden;
  box-shadow: var(--shadow2);
  transition: .18s ease;
  cursor:pointer;
  position:relative;
}
.card:hover{ transform: translateY(-3px); box-shadow: 0 22px 70px rgba(0,0,0,.35); }
@media (max-width: 1024px){ .card{ grid-column: span 4; } }
@media (max-width: 720px){ .card{ grid-column: span 6; } }
@media (max-width: 520px){ .card{ grid-column: span 12; } }

.cover{
  height: 210px;
  background: rgba(0,0,0,.2);
}
.cover img{
  width:100%; height:100%;
  object-fit:cover;
}
.card-body{
  padding: 14px 14px 16px;
}
.card-title{
  margin: 0 0 6px;
  font-size: 16px;
  letter-spacing: -0.01em;
}
.card-sub{ margin:0; color: var(--muted); font-size: 13px; }
.card-row{
  display:flex; align-items:center; justify-content:space-between;
  margin-top: 12px;
}
.price{
  font-weight: 900;
  color: var(--neon);
  text-shadow: 0 0 18px rgba(57,255,136,.25);
}
.small{
  font-size: 12px; color: var(--muted);
}
.pill{
  border: var(--border);
  background: rgba(255,255,255,.04);
  padding: 8px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
  color: var(--text);
}

/* Drawer */
.backdrop{
  position:fixed; inset:0;
  background: rgba(0,0,0,.55);
  opacity:0; pointer-events:none;
  transition: .2s ease;
  z-index: 80;
}
.backdrop.active{ opacity:1; pointer-events:auto; }

.drawer{
  position:fixed;
  top:0; right:-420px;
  height:100%;
  width:min(420px, calc(100% - 32px));
  border-left: 1px solid rgba(255,255,255,.08);
  background: rgba(12,18,20,.82);
  backdrop-filter: blur(18px);
  z-index: 90;
  transition: .24s ease;
  display:flex;
  flex-direction:column;
}
.drawer.active{ right:0; }
.drawer-head{
  padding: 18px 18px 12px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.drawer-title{ margin:0; font-size: 16px; font-weight: 900; letter-spacing:-0.01em; }
.drawer-close{
  border: var(--border);
  background: rgba(255,255,255,.05);
  color: var(--text);
  border-radius: 12px;
  padding: 10px 12px;
  cursor:pointer;
}
.drawer-close:focus{ outline:none; box-shadow: var(--ring); }

.drawer-body{ padding: 14px 18px; overflow:auto; }
.cart-item{
  border: var(--border);
  background: rgba(18,26,29,.45);
  border-radius: 16px;
  padding: 12px;
  display:grid;
  grid-template-columns: 56px 1fr auto;
  gap: 12px;
  margin-bottom: 12px;
}
.thumb{
  width:56px; height:56px; border-radius:14px; overflow:hidden;
  border: 1px solid rgba(255,255,255,.08);
  background: rgba(0,0,0,.2);
}
.thumb img{ width:100%; height:100%; object-fit:cover; }
.item-title{ margin:0; font-weight:900; font-size: 14px; }
.item-meta{ margin:4px 0 0; color: var(--muted); font-size: 12px; }
.qty{
  display:flex; flex-direction:column; gap: 8px; align-items:flex-end;
}
.qty-row{
  display:flex; gap: 8px; align-items:center;
}
.qty-btn{
  width:34px; height:34px;
  border-radius: 12px;
  border: var(--border);
  background: rgba(255,255,255,.05);
  color: var(--text);
  cursor:pointer;
}
.qty-btn:hover{ background: rgba(255,255,255,.08); }
.qty-btn:focus{ outline:none; box-shadow: var(--ring); }
.qty-num{ min-width: 18px; text-align:center; font-weight: 900; }
.link-danger{
  color: #ff6b6b;
  font-weight: 900;
  font-size: 12px;
  cursor:pointer;
  opacity: .9;
}
.drawer-foot{
  margin-top:auto;
  padding: 14px 18px 18px;
  border-top: 1px solid rgba(255,255,255,.08);
}
.total-row{
  display:flex; justify-content:space-between; align-items:center;
  margin-bottom: 12px;
}
.total-label{ color: var(--muted); font-weight: 700; }
.total-val{ font-weight: 1000; color: var(--neon); }
.checkout-btn{ width:100%; justify-content:center; }
.checkout-btn:disabled{ opacity:.55; cursor:not-allowed; transform:none; }

/* Footer */
.footer{
  border-top: 1px solid rgba(255,255,255,.06);
  padding: 26px 0;
  color: var(--muted);
  font-size: 13px;
}
.footer-grid{
  display:grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 18px;
}
@media (max-width: 860px){ .footer-grid{ grid-template-columns: 1fr; } }
.footer h4{ margin:0 0 10px; color: var(--text); }
.footer a{ opacity:.92; }
.footer a:hover{ opacity:1; text-decoration:underline; }
.mini{
  opacity:.75; line-height:1.6;
}

/* Toast */
.toast-wrap{
  position:fixed;
  left: 50%;
  transform: translateX(-50%);
  bottom: 18px;
  z-index: 110;
  display:grid;
  gap: 10px;
  width: min(560px, calc(100% - 24px));
}
.toast{
  border: var(--border);
  background: rgba(12,18,20,.88);
  backdrop-filter: blur(16px);
  border-radius: 16px;
  padding: 12px 14px;
  display:flex; justify-content:space-between; align-items:center;
  box-shadow: var(--shadow2);
}
.toast strong{ font-size: 13px; }
.toast span{ color: var(--muted); font-size: 12px; }
.toast button{
  border: var(--border);
  background: rgba(255,255,255,.05);
  color: var(--text);
  border-radius: 12px;
  padding: 8px 10px;
  cursor:pointer;
}
.toast button:focus{ outline:none; box-shadow: var(--ring); }

/* Out of stock UI */
.card.disabled{ opacity:.65; }
.card.disabled:hover{ transform:none; box-shadow: var(--shadow2); }
.pill.out{
  background: rgba(255,77,77,.10);
  border: 1px solid rgba(255,77,77,.25);
  color: #ff6b6b;
}

/* Admin quick login modal */
.modal-backdrop{
  position:fixed; inset:0;
  background: rgba(0,0,0,.62);
  opacity:0; pointer-events:none;
  transition: .18s ease;
  z-index: 120;
}
.modal-backdrop.active{ opacity:1; pointer-events:auto; }

.modal{
  position:fixed;
  left:50%; top:50%;
  transform: translate(-50%,-46%) scale(.98);
  width: min(520px, calc(100% - 24px));
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(12,18,20,.92);
  backdrop-filter: blur(18px);
  border-radius: 22px;
  box-shadow: 0 22px 90px rgba(0,0,0,.55);
  padding: 16px;
  opacity:0; pointer-events:none;
  transition: .18s ease;
  z-index: 130;
}
.modal.active{
  opacity:1; pointer-events:auto;
  transform: translate(-50%,-50%) scale(1);
}
.modal-head{
  display:flex; justify-content:space-between; align-items:center;
  gap:10px;
  padding: 6px 6px 10px;
}
.modal-title{
  font-weight: 1000;
  letter-spacing: -0.01em;
}
.modal-close{
  border: var(--border);
  background: rgba(255,255,255,.06);
  color: var(--text);
  border-radius: 12px;
  padding: 10px 12px;
  cursor:pointer;
}
.modal-close:focus{ outline:none; box-shadow: var(--ring); }

.kbd{
  border:1px solid rgba(255,255,255,.14);
  background:rgba(255,255,255,.06);
  padding:2px 8px;
  border-radius:10px;
  font-size:12px;
  font-weight:800;
  color:var(--text);
}



/* ===== Extras (trust, reviews, FAQ, floating actions) ===== */
.topbar{
  background: rgba(57,255,136,.10);
  border-bottom: 1px solid rgba(57,255,136,.14);
}
.topbar-inner{
  display:flex; align-items:center; justify-content:space-between;
  padding: 10px 0;
  font-size: 13px;
  color: var(--text);
}
.topbar-inner a{ opacity:.92; text-decoration:underline; }
.topbar-pill{
  display:inline-flex; align-items:center; gap:8px;
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid rgba(57,255,136,.22);
  background: rgba(57,255,136,.10);
  font-weight: 900;
}
.stats{
  display:grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 14px;
  margin-top: 14px;
}
.stat{
  grid-column: span 4;
  border: var(--border);
  background: rgba(18,26,29,.45);
  border-radius: var(--radius2);
  padding: 16px;
}
@media (max-width: 720px){ .stat{ grid-column: span 12; } }
.stat b{
  display:block;
  font-size: 22px;
  letter-spacing: -0.02em;
}
.stat span{ color: var(--muted); font-size: 13px; }

.review-grid{
  display:grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 16px;
}
.review{
  grid-column: span 4;
  border: var(--border);
  background: rgba(18,26,29,.52);
  border-radius: var(--radius2);
  padding: 16px;
}
@media (max-width: 900px){ .review{ grid-column: span 6; } }
@media (max-width: 520px){ .review{ grid-column: span 12; } }
.stars{ letter-spacing: 2px; color: var(--neon); text-shadow: 0 0 12px rgba(57,255,136,.22); }
.review p{ color: var(--muted); line-height: 1.6; margin: 10px 0 0; }
.reviewer{ margin-top: 12px; font-weight: 900; }
.reviewer small{ display:block; color: var(--muted); font-weight: 700; margin-top:4px; }

.accordion{
  border: var(--border);
  background: rgba(18,26,29,.45);
  border-radius: var(--radius2);
  overflow:hidden;
}
.acc-item + .acc-item{ border-top: 1px solid rgba(255,255,255,.07); }
.acc-btn{
  width:100%;
  text-align:left;
  padding: 14px 16px;
  background: transparent;
  border: 0;
  color: var(--text);
  cursor:pointer;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 10px;
  font-weight: 900;
}
.acc-btn:focus{ outline:none; box-shadow: var(--ring); }
.acc-panel{
  max-height: 0;
  overflow:hidden;
  transition: max-height .22s ease;
}
.acc-panel > div{
  padding: 0 16px 14px;
  color: var(--muted);
  line-height: 1.7;
  font-size: 14px;
}
.chev{ opacity:.8; transition: transform .18s ease; }
.acc-item.active .chev{ transform: rotate(180deg); }
.acc-item.active .acc-panel{ max-height: 240px; }

.fab{
  position: fixed;
  right: 16px;
  bottom: 16px;
  z-index: 140;
  display:flex;
  flex-direction:column;
  gap: 10px;
}
.fab a, .fab button{
  border-radius: 999px;
  padding: 12px 14px;
  border: var(--border);
  background: rgba(12,18,20,.82);
  backdrop-filter: blur(16px);
  color: var(--text);
  cursor:pointer;
  font-weight: 900;
  box-shadow: var(--shadow2);
  display:flex;
  align-items:center;
  gap: 10px;
}
.fab a:hover, .fab button:hover{ transform: translateY(-1px); }
.fab .primary{
  background: rgba(57,255,136,.14);
  border-color: rgba(57,255,136,.22);
}
.hidden{ display:none !important; }

/* Reveal on scroll */
.reveal{
  opacity: 0;
  transform: translateY(10px);
  transition: opacity .35s ease, transform .35s ease;
}
.reveal.show{
  opacity: 1;
  transform: translateY(0);
}
