:root{
  --bg:#0B0F19;
  --text:#E5E7EB;
  --muted:#94A3B8;
  --line:rgba(255,255,255,.08);
  --violet:#8B5CF6;
  --cyan:#22D3EE;
  --pink:#EC4899;
  --shadow: 0 20px 80px rgba(0,0,0,.45);
}
*{box-sizing:border-box}
html,body{height:100%}
body{
  margin:0;
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Ubuntu, Cantarell, Noto Sans, Arial;
  background: radial-gradient(1200px 600px at 20% -10%, rgba(139,92,246,.35), transparent 60%),
              radial-gradient(900px 500px at 80% 0%, rgba(34,211,238,.25), transparent 60%),
              radial-gradient(900px 600px at 60% 120%, rgba(236,72,153,.18), transparent 60%),
              var(--bg);
  color: var(--text);
}
.bg-glow{
  position: fixed; inset: -200px;
  background: conic-gradient(from 180deg, rgba(139,92,246,.08), rgba(34,211,238,.06), rgba(236,72,153,.06), rgba(139,92,246,.08));
  filter: blur(60px); opacity:.7; pointer-events:none; z-index:-1;
}
.container{max-width:1100px;margin:0 auto;padding:0 18px}
.main{padding:26px 18px 40px}

.header{
  position: sticky; top:0; z-index:40;
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
  background: rgba(11,15,25,.65);
}
.nav{display:flex;align-items:center;justify-content:space-between; min-height:64px;}
.brand{display:flex;gap:10px;align-items:center;text-decoration:none;color:var(--text)}
.logo-dot{
  width:14px;height:14px;border-radius:9px;
  background: linear-gradient(135deg,var(--violet),var(--cyan));
  box-shadow: 0 0 0 6px rgba(139,92,246,.12), 0 0 50px rgba(34,211,238,.22);
}
.brand-text{font-weight:800;letter-spacing:.2px}
.menu{display:flex;gap:14px;align-items:center}
.menu a{color:var(--text);text-decoration:none;font-weight:600;opacity:.9}
.menu a:hover{opacity:1}
.cartpill{
  display:inline-flex;align-items:center;gap:8px;
  padding:8px 12px;border:1px solid var(--line);border-radius:999px;
  background: rgba(255,255,255,.03);
}
.cartpill span{
  display:inline-flex;align-items:center;justify-content:center;
  min-width:22px;height:22px;border-radius:999px;
  background: rgba(139,92,246,.18); border: 1px solid rgba(139,92,246,.35);
}
.burger{display:none; background:none; border:0; cursor:pointer; padding:10px}
.burger span{display:block;width:24px;height:2px;background:rgba(229,231,235,.9);margin:5px 0;border-radius:2px}

.hero{padding:18px 0 12px}
.hero-card{
  border: 1px solid rgba(255,255,255,.10);
  border-radius: 22px;
  background: linear-gradient(180deg, rgba(15,23,42,.85), rgba(11,18,34,.72));
  box-shadow: var(--shadow);
  padding: 22px;
}
.badge{
  display:inline-flex; align-items:center; gap:8px;
  font-weight:700; font-size:12px;
  padding:7px 10px; border-radius:999px;
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.03);
}
.h1{font-size:44px; line-height:1.05; margin:14px 0 10px}
.h2{font-size:26px; margin:0}
.h3{font-size:18px;margin:0}
.lead{color:var(--muted); font-size:16px; margin:0 0 14px}
.hero-cta{display:flex;gap:10px;flex-wrap:wrap;margin-top:10px}
.btn{
  display:inline-flex; align-items:center; justify-content:center;
  gap:8px; cursor:pointer; text-decoration:none;
  padding:10px 14px; border-radius:14px;
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.04);
  color: var(--text);
  font-weight:800;
}
.btn:hover{transform: translateY(-1px)}
.btn.primary{background: linear-gradient(135deg, rgba(139,92,246,.95), rgba(34,211,238,.75));border-color: rgba(139,92,246,.35);}
.btn.ghost{background: rgba(255,255,255,.03);}
.btn.tiny{padding:7px 10px;border-radius:12px;font-weight:800;font-size:12px}
.link{color:rgba(34,211,238,.9); text-decoration:none; font-weight:800}
.link:hover{color:rgba(34,211,238,1)}
.hero-kpis{display:grid;grid-template-columns:repeat(3,1fr); gap:10px; margin-top:16px}
.kpi{border:1px solid rgba(255,255,255,.08);background: rgba(255,255,255,.02);border-radius: 16px;padding: 12px;}
.kpi-n{font-weight:900}
.kpi-t{color:var(--muted);font-size:12px;margin-top:4px}

.section{padding:14px 0}
.section-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:8px 0 14px}
.stack{display:flex;flex-direction:column;gap:10px}
.row{display:flex;gap:10px;align-items:center}
.between{justify-content:space-between}

.grid{display:grid;grid-template-columns:repeat(4,1fr);gap:12px}
.grid-3{grid-template-columns:repeat(3,1fr)}
.gridfull{grid-column:1/-1}

.card{
  border:1px solid rgba(255,255,255,.10);
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(15,23,42,.72), rgba(11,18,34,.62));
  box-shadow: 0 10px 40px rgba(0,0,0,.28);
  color: var(--text);
  text-decoration:none;
  overflow:hidden;
}
.card:hover{border-color:rgba(34,211,238,.22)}
.pad{padding:16px}
.card-media{position:relative; height:170px; background: rgba(255,255,255,.02)}
.card-media img{width:100%; height:100%; object-fit:cover; display:block; opacity:.92}
.ph{
  width:100%;height:100%;
  display:flex;align-items:center;justify-content:center;
  font-weight:900; letter-spacing:2px; opacity:.75;
  background: radial-gradient(500px 220px at 20% 10%, rgba(139,92,246,.25), transparent 55%),
              radial-gradient(450px 220px at 80% 30%, rgba(34,211,238,.16), transparent 55%),
              rgba(255,255,255,.02);
}
.ph-big{height:420px}
.tag{
  position:absolute; left:10px; top:10px;
  padding:6px 10px; border-radius:999px;
  font-size:12px; font-weight:900;
  border:1px solid rgba(255,255,255,.12);
  background: rgba(0,0,0,.25);
}
.card-body{padding:12px}
.card-title{font-weight:900; margin-bottom:6px}
.muted{color:var(--muted)}
.small{font-size:12px}
.price{font-weight:900}
.price.big{font-size:20px}

.filters{display:flex;flex-wrap:wrap;gap:8px;margin:0 0 12px}
.chip{
  display:inline-flex;align-items:center;justify-content:center;
  padding:7px 10px; font-weight:800; font-size:12px;
  border-radius:999px;border:1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.03);
  color: var(--text); text-decoration:none;
}
.chip-on{border-color: rgba(139,92,246,.35); background: rgba(139,92,246,.14)}
.search{display:flex;gap:8px; align-items:center}
.search input{
  height:40px;border-radius:14px; padding:0 12px;
  border:1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.03);
  color: var(--text);
  outline:none;
}
.search input:focus{border-color: rgba(34,211,238,.35)}

.detail{display:grid;grid-template-columns: 1.1fr .9fr; gap:14px}
.detail-media{padding:12px}
.detail-img{width:100%;height:420px;object-fit:cover;border-radius:16px}
.gallery{display:flex;gap:8px;margin-top:10px;flex-wrap:wrap}
.gallery img{width:84px;height:64px;object-fit:cover;border-radius:12px;border:1px solid rgba(255,255,255,.10);opacity:.95}
.buybox{margin-top:14px}
.buybox input[type=number]{
  width:84px;height:42px;border-radius:14px;padding:0 10px;
  border:1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.03);
  color: var(--text);
}

.cartlines{display:flex;flex-direction:column;gap:10px}
.cartline{display:flex;justify-content:space-between;gap:12px;padding:10px;border-radius:14px;border:1px solid rgba(255,255,255,.08);background:rgba(255,255,255,.02)}
.cl-title{font-weight:900}
.cl-right{display:flex;gap:10px;align-items:center}
.divider{height:10px}
.carttotal{display:flex;justify-content:space-between;align-items:center;margin-top:10px}
.cartcta{margin-top:12px}

.checkout{display:grid;grid-template-columns: 1.05fr .95fr; gap:14px}
.form label{display:block;font-weight:800;margin-bottom:6px}
.gridform{display:grid;grid-template-columns:repeat(2,1fr);gap:12px}
.field input,.field textarea{
  width:100%;
  border-radius:14px;padding:10px 12px;
  border:1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.03);
  color: var(--text);
  outline:none;
}
.field textarea{resize:vertical}
.field input:focus,.field textarea:focus{border-color: rgba(139,92,246,.35)}

.ordergrid{display:grid;grid-template-columns: 1.1fr .9fr; gap:14px}
.instructions{
  white-space: pre-wrap;
  background: rgba(0,0,0,.25);
  border:1px solid rgba(255,255,255,.08);
  border-radius:14px;
  padding:12px;
  color: rgba(229,231,235,.95);
  margin:12px 0 0;
}
.post-cover{width:100%;height:360px;object-fit:cover;border-radius:16px;margin:12px 0}

.footer{border-top:1px solid var(--line);padding: 22px 0;background: rgba(11,15,25,.55);}
.footgrid{display:flex;justify-content:space-between;gap:12px;align-items:flex-start}
.footbrand{font-weight:900}
.footsocial{display:flex;flex-wrap:wrap;gap:8px;justify-content:flex-end}

@media (max-width: 980px){
  .grid{grid-template-columns:repeat(2,1fr)}
  .grid-3{grid-template-columns:repeat(2,1fr)}
  .detail,.checkout,.ordergrid{grid-template-columns:1fr}
  .ph-big,.detail-img{height:320px}
}
@media (max-width: 680px){
  .menu{display:none; position:absolute; right:18px; top:64px; flex-direction:column; width:calc(100% - 36px);
        border:1px solid rgba(255,255,255,.10); border-radius:18px; padding:12px;
        background: rgba(11,15,25,.92); backdrop-filter: blur(14px);}
  .menu.open{display:flex}
  .burger{display:block}
  .grid{grid-template-columns:1fr}
  .grid-3{grid-template-columns:1fr}
  .gridform{grid-template-columns:1fr}
  .footgrid{flex-direction:column;gap:14px}
  .footsocial{justify-content:flex-start}
}
