:root {
  --bg: #0b0b0f;
  --bg-2: #14141c;
  --bg-3: #1c1c28;
  --card: #181822;
  --text: #f4f1ea;
  --muted: #a8a3b5;
  --red: #e11d2e;
  --red-2: #ff3b4e;
  --gold: #f5c542;
  --gold-2: #ffd86b;
  --green: #22c55e;
  --line: rgba(255,255,255,.08);
  --shadow: 0 18px 50px rgba(0,0,0,.45);
  --radius: 18px;
  --max: 1180px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: "Segoe UI", Inter, system-ui, -apple-system, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.55;
  min-height: 100vh;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }

.wrap { width: min(var(--max), calc(100% - 32px)); margin-inline: auto; }

/* Top bar */
.topbar {
  background: #08080c;
  border-bottom: 1px solid var(--line);
  font-size: 13px;
  color: var(--muted);
}
.topbar .wrap {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 8px 0;
  flex-wrap: wrap;
}
.topbar strong { color: var(--gold); font-weight: 700; }

/* Header */
header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(11,11,15,.88);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
header .wrap {
  display: flex;
  align-items: center;
  gap: 22px;
  padding: 14px 0;
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  letter-spacing: -.03em;
  font-size: 1.25rem;
  white-space: nowrap;
}
.logo-mark {
  width: 38px; height: 38px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--red), #8b1020);
  display: grid; place-items: center;
  box-shadow: 0 0 0 3px rgba(225,29,46,.25);
  font-size: 18px;
}
.logo img, .logo-mark-img {
  width: 40px;
  height: 40px;
  border-radius: 11px;
  flex-shrink: 0;
}
.logo-text span { color: var(--gold); }
.logo-lockup {
  height: 42px;
  width: auto;
  max-width: min(240px, 52vw);
}
nav {
  display: flex;
  gap: 18px;
  margin-left: auto;
  align-items: center;
  flex-wrap: wrap;
}
nav a {
  color: var(--muted);
  font-size: 14px;
  font-weight: 600;
}
nav a:hover, nav a.active { color: var(--text); }
.live-link {
  color: #fff !important;
  background: var(--red);
  padding: 6px 10px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px !important;
}
.pulse {
  width: 8px; height: 8px; border-radius: 50%;
  background: #fff;
  box-shadow: 0 0 0 0 rgba(255,255,255,.7);
  animation: pulse 1.4s infinite;
}
@keyframes pulse {
  70% { box-shadow: 0 0 0 8px rgba(255,255,255,0); }
  100% { box-shadow: 0 0 0 0 rgba(255,255,255,0); }
}
.cart-btn {
  background: var(--bg-3);
  border: 1px solid var(--line);
  color: #fff;
  border-radius: 999px;
  padding: 8px 14px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.cart-count {
  background: var(--gold);
  color: #111;
  min-width: 20px; height: 20px;
  border-radius: 999px;
  display: grid; place-items: center;
  font-size: 12px;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 0;
  border-radius: 999px;
  padding: 13px 22px;
  font-weight: 800;
  font-size: 15px;
}
.btn-red { background: var(--red); color: #fff; }
.btn-red:hover { background: var(--red-2); }
.btn-gold { background: var(--gold); color: #16120a; }
.btn-gold:hover { background: var(--gold-2); }
.btn-ghost {
  background: transparent;
  color: #fff;
  border: 1px solid var(--line);
}
.btn-ghost:hover { border-color: #fff; }

/* Hero */
.hero {
  position: relative;
  overflow: hidden;
  padding: 56px 0 40px;
  background:
    radial-gradient(800px 400px at 80% -10%, rgba(225,29,46,.28), transparent 60%),
    radial-gradient(600px 300px at 0% 80%, rgba(245,197,66,.12), transparent 55%);
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 40px;
  align-items: center;
}
.kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(225,29,46,.15);
  color: #ff8a96;
  border: 1px solid rgba(225,29,46,.35);
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 16px;
}
.hero h1 {
  font-size: clamp(2rem, 4.4vw, 3.4rem);
  line-height: 1.08;
  letter-spacing: -.04em;
  margin-bottom: 14px;
}
.hero h1 span { color: var(--gold); }
.hero p.lead { color: var(--muted); font-size: 1.08rem; max-width: 52ch; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 24px; }
.trust-row {
  display: flex; gap: 18px; flex-wrap: wrap;
  margin-top: 26px; color: var(--muted); font-size: 13px;
}
.trust-row span { display: flex; align-items: center; gap: 6px; }

.hero-card {
  background: linear-gradient(180deg, #22151a, #15151d);
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 22px;
  box-shadow: var(--shadow);
}
.hero-card .live-now {
  display: flex; justify-content: space-between; align-items: center;
  margin-bottom: 14px;
}
.badge-live {
  background: var(--red);
  color: #fff;
  font-weight: 800;
  font-size: 12px;
  padding: 5px 10px;
  border-radius: 999px;
  display: inline-flex; align-items: center; gap: 6px;
}
.hero-visual {
  aspect-ratio: 16/11;
  border-radius: 16px;
  background:
    linear-gradient(160deg, rgba(0,0,0,.15), rgba(0,0,0,.55)),
    radial-gradient(circle at 30% 40%, #3a1a20, #111);
  display: grid; place-items: center;
  text-align: center;
  padding: 20px;
  position: relative;
  overflow: hidden;
}
.box-stack { font-size: 72px; filter: drop-shadow(0 12px 20px rgba(0,0,0,.5)); }
.hero-visual small { color: var(--muted); display: block; margin-top: 6px; }
.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-top: 14px;
}
.stat {
  background: rgba(255,255,255,.04);
  border-radius: 12px;
  padding: 10px;
  text-align: center;
}
.stat b { display: block; font-size: 1.05rem; }
.stat span { color: var(--muted); font-size: 12px; }

/* Sections */
section { padding: 56px 0; }
.section-head { margin-bottom: 28px; }
.section-head h2 {
  font-size: clamp(1.5rem, 3vw, 2.1rem);
  letter-spacing: -.03em;
}
.section-head p { color: var(--muted); margin-top: 6px; }

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

.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.card-media {
  height: 180px;
  background: #222;
  display: grid;
  place-items: center;
  font-size: 56px;
  position: relative;
  overflow: hidden;
}
.card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.card-media.tech { background: linear-gradient(160deg, #1c2a3a, #111); }
.card-media.beauty { background: linear-gradient(160deg, #3a1c2e, #111); }
.card-media.random { background: linear-gradient(160deg, #2a2414, #111); }
.card-media.soft { background: linear-gradient(160deg, #1c2a24, #111); }
.sale {
  position: absolute; top: 12px; left: 12px;
  background: var(--gold); color: #111;
  font-weight: 800; font-size: 12px;
  padding: 4px 8px; border-radius: 999px;
}
.stock {
  position: absolute; top: 12px; right: 12px;
  background: rgba(0,0,0,.55); color: #fff;
  font-size: 12px; padding: 4px 8px; border-radius: 999px;
}
.card-body { padding: 16px 16px 18px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.card-body h3 { font-size: 1.05rem; letter-spacing: -.02em; }
.price { display: flex; align-items: baseline; gap: 8px; }
.price .now { font-weight: 800; font-size: 1.2rem; }
.price .old { color: var(--muted); text-decoration: line-through; font-size: .9rem; }
.card .btn { width: 100%; margin-top: auto; }

.step {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px;
}
.step-num {
  width: 36px; height: 36px;
  border-radius: 10px;
  background: var(--red);
  display: grid; place-items: center;
  font-weight: 800;
  margin-bottom: 12px;
}
.step h3 { margin-bottom: 6px; }
.step p { color: var(--muted); font-size: 14px; }

.choice-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.choice {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px;
}
.choice h3 { margin: 8px 0; }
.choice p { color: var(--muted); }

.usp {
  background: var(--bg-2);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.usp .grid-4 .item { text-align: center; padding: 8px; }
.usp .item b { display: block; margin: 8px 0 4px; }
.usp .item span { color: var(--muted); font-size: 14px; }

/* Product page */
.product-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 36px;
  align-items: start;
}
.qty {
  display: flex; align-items: center; gap: 10px; margin: 16px 0;
}
.qty button {
  width: 36px; height: 36px; border-radius: 10px;
  border: 1px solid var(--line); background: var(--bg-3); color: #fff;
  font-size: 18px;
}
.qty input {
  width: 64px; text-align: center;
  background: var(--bg-3); color: #fff; border: 1px solid var(--line);
  border-radius: 10px; padding: 8px;
}

/* Cart drawer */
.overlay {
  position: fixed; inset: 0; background: rgba(0,0,0,.55);
  opacity: 0; pointer-events: none; transition: .2s; z-index: 50;
}
.overlay.open { opacity: 1; pointer-events: auto; }
.drawer {
  position: fixed; top: 0; right: 0; height: 100%;
  width: min(420px, 100%);
  background: #12121a;
  border-left: 1px solid var(--line);
  transform: translateX(100%);
  transition: .25s ease;
  z-index: 60;
  display: flex; flex-direction: column;
}
.drawer.open { transform: none; }
.drawer header, .drawer-h {
  display: flex; justify-content: space-between; align-items: center;
  padding: 18px;
  border-bottom: 1px solid var(--line);
}
.cart-items { padding: 12px 18px; overflow: auto; flex: 1; }
.cart-item {
  display: grid; grid-template-columns: 1fr auto;
  gap: 8px; padding: 12px 0;
  border-bottom: 1px solid var(--line);
}
.cart-foot { padding: 18px; border-top: 1px solid var(--line); }
.cart-foot .row { display: flex; justify-content: space-between; margin-bottom: 12px; }
.empty { color: var(--muted); padding: 24px 0; text-align: center; }

/* Forms */
form { display: grid; gap: 12px; }
input, textarea, select {
  width: 100%;
  background: var(--bg-3);
  border: 1px solid var(--line);
  color: #fff;
  border-radius: 12px;
  padding: 12px 14px;
  font: inherit;
}
label { font-size: 14px; color: var(--muted); }

footer {
  border-top: 1px solid var(--line);
  padding: 40px 0 24px;
  color: var(--muted);
  font-size: 14px;
}
.foot-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 24px;
  margin-bottom: 28px;
}
footer h4 { color: #fff; margin-bottom: 10px; }
footer ul { list-style: none; display: grid; gap: 6px; }
.copy { border-top: 1px solid var(--line); padding-top: 16px; font-size: 12px; }

.notice {
  background: #1a1710;
  border: 1px solid rgba(245,197,66,.25);
  color: #e8d7a0;
  border-radius: 12px;
  padding: 12px 14px;
  font-size: 13px;
  margin-top: 16px;
}

@media (max-width: 900px) {
  .hero-grid, .product-layout, .choice-grid, .grid-3, .grid-4, .foot-grid {
    grid-template-columns: 1fr;
  }
  nav { display: none; }
  .mobile-nav { display: flex !important; }
  header .wrap { justify-content: space-between; }
}
.mobile-nav { display: none; gap: 10px; }

.weight-box {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
  align-items: center;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 24px;
  overflow: hidden;
}
.weight-box img.hero-shot {
  width: 100%;
  height: 100%;
  min-height: 280px;
  object-fit: cover;
}
.weight-ctrl { padding: 26px; }
.kg-stepper {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 16px 0;
}
.kg-stepper button {
  width: 52px; height: 52px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: var(--bg-3);
  color: #fff;
  font-size: 28px;
  font-weight: 700;
}
.kg-stepper .kg-readout {
  flex: 1;
  text-align: center;
  background: #0e0e14;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 12px;
}
.kg-stepper .kg-readout b { display: block; font-size: 1.6rem; }
.kg-stepper .kg-readout span { color: var(--muted); font-size: 13px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 10px 0 18px; }
.chips button {
  background: var(--bg-3);
  color: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 8px 12px;
  font-weight: 700;
  font-size: 13px;
}
.chips button.active { background: var(--gold); color: #16120a; border-color: var(--gold); }
.cart-item img { width: 54px; height: 54px; object-fit: cover; border-radius: 10px; }
.cart-item { grid-template-columns: 54px 1fr auto; align-items: center; }
.mini-qty { display: flex; gap: 6px; margin-top: 6px; }
.mini-qty button {
  background: var(--bg-3); color: #fff; border: 1px solid var(--line);
  border-radius: 8px; padding: 3px 8px;
}
.order-grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: 24px; }
.summary { background: var(--card); border: 1px solid var(--line); border-radius: 18px; padding: 18px; }
@media (max-width: 900px) {
  .weight-box, .order-grid { grid-template-columns: 1fr; }
}

.lang { font-size: 13px; font-weight: 700; margin-left: 8px; }
.lang a { color: var(--muted); }
.lang a.active, .lang a:hover { color: var(--gold); }
