
:root {
  --bg: #0b0d12;
  --card: #121622;
  --muted: #9aa4b2;
  --text: #e9eef7;
  --accent: #61e4c5;
  --accent2: #7aa2ff;
  --danger: #ff6b6b;
  --ok: #5ce37a;
  --shadow: 0 10px 30px rgba(0,0,0,.35);
}
* { 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; }
a { color: var(--accent2); text-decoration: none; }
.container { max-width: 1200px; margin: 0 auto; padding: 24px; }
.hero {
  min-height: 100vh; display:flex; align-items:center; justify-content:center; flex-direction:column;
  background: radial-gradient(1200px 600px at 50% -10%, rgba(97,228,197,0.08), transparent),
              radial-gradient(600px 600px at 80% 20%, rgba(122,162,255,0.08), transparent);
}
.title { font-size: clamp(28px, 4vw, 64px); line-height: 1.1; text-align:center; letter-spacing: .5px; }
.subtitle { color: var(--muted); max-width: 700px; text-align:center; margin-top: 10px; }

.search {
  margin-top: 28px; width: min(800px, 92%); background: var(--card); border-radius: 18px; padding: 14px 16px; box-shadow: var(--shadow);
  display:flex; gap:10px; align-items:center; position: relative;
}
.search input {
  flex:1; background: transparent; border: none; outline: none; color: var(--text); font-size: 18px;
}
.tagrow { margin-top: 18px; display:flex; gap:8px; flex-wrap: wrap; justify-content:center; }
.tag { padding: 8px 12px; border: 1px solid #20263a; background: #0e1422; border-radius: 999px; color: var(--muted); font-size: 13px; }
.suggest {
  position:absolute; top: 60px; left: 0; right: 0; background: #0f1320; border: 1px solid #1f2740; border-radius: 12px;
  overflow:hidden; box-shadow: var(--shadow); display:none;
}
.suggest.visible { display:block; }
.suggest li { list-style:none; padding: 12px 16px; border-top: 1px solid #151a2a; cursor:pointer; }
.suggest li:hover { background:#131a2c; }

.grid-mag {
  display:grid; grid-template-columns: repeat(6, 1fr); gap: 14px;
}
.card-mag {
  background: var(--card); border: 1px solid #171b2a; border-radius: 18px; padding: 18px; box-shadow: var(--shadow);
  transition: transform .2s ease;
}
.card-mag:hover { transform: translateY(-2px); }
.badges { display:flex; gap:6px; flex-wrap: wrap; margin-bottom: 8px; }
.badge { font-size: 11px; padding: 4px 8px; border-radius: 999px; background: #0f1a2a; border: 1px solid #1f2a44; color: var(--muted); }
.price { font-weight: 700; margin-top: 10px; }
.cta { display:flex; gap:10px; margin-top: 12px; }
.btn {
  padding: 10px 14px; border-radius: 12px; background: linear-gradient(90deg, var(--accent), var(--accent2)); color:#071219;
  font-weight: 700; border:none; cursor:pointer; box-shadow: var(--shadow);
}
.btn.outline { background: transparent; color: var(--text); border: 1px solid #26324f; }

.product {
  display:grid; grid-template-columns: 1.2fr 1fr; gap: 28px;
}
.product-hero { background: var(--card); border: 1px solid #171b2a; border-radius: 18px; height: 420px; display:flex; align-items:center; justify-content:center; color: var(--muted); }
.preftable { display:grid; gap:10px; }
.prefrow { display:flex; gap:10px; flex-wrap:wrap; }
.chip { padding:8px 12px; border-radius: 999px; background:#0f1524; border: 1px solid #202b47; cursor:pointer; }
.chip.active { outline: 2px solid var(--accent); background:#0a1a18; }

.cart-mini {
  position: fixed; right: 18px; bottom: 18px; background: #0f1422; border: 1px solid #1c2740; padding: 12px 16px; border-radius: 16px;
}
.table { width:100%; border-collapse: collapse; }
.table th, .table td { padding: 10px 8px; border-bottom: 1px solid #1a2137; text-align:left; }
.summary { background: var(--card); border: 1px solid #171b2a; border-radius: 14px; padding: 16px; margin-top: 16px; }

.admin-panel { max-width: 1000px; margin: 40px auto; background: var(--card); border: 1px solid #171b2a; border-radius: 16px; padding: 20px; }
.kv { display:grid; grid-template-columns: 180px 1fr; gap:10px; margin: 10px 0; }
.notice { color: var(--muted); font-size: 14px; }
