:root {
  color-scheme: dark;
  --bg: #0f1111;
  --bg-accent: #1a1d1d;
  --surface: #171919;
  --surface-2: #202525;
  --ink: #f6f1e8;
  --muted: #a7aca8;
  --line: rgba(255, 255, 255, 0.08);
  --brand: #f0a13b;
  --brand-dark: #d97d1f;
  --brand-2: #7a4c1d;
  --shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Noto Sans SC", "PingFang SC", sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at top right, rgba(240, 161, 59, 0.18), transparent 28%),
    radial-gradient(circle at top left, rgba(122, 76, 29, 0.22), transparent 24%),
    linear-gradient(180deg, var(--bg-accent), var(--bg));
}
a { color: inherit; text-decoration: none; }
.hero {
  padding: 84px 20px 44px;
  position: relative;
  overflow: hidden;
}
.hero::after {
  content: "";
  position: absolute;
  inset: auto -10% -90px -10%;
  height: 220px;
  background: linear-gradient(180deg, rgba(255,255,255,0), rgba(240,161,59,0.07));
  filter: blur(10px);
  pointer-events: none;
}
.hero-inner, .page-shell { width: min(1180px, calc(100% - 32px)); margin: 0 auto; position: relative; z-index: 1; }
.eyebrow, .section-kicker {
  color: #ffcf87;
  letter-spacing: .14em;
  text-transform: uppercase;
  font-size: 12px;
}
h1, h2, h3 { margin: 0; line-height: 1.15; }
.hero h1 {
  margin-top: 12px;
  font-size: clamp(38px, 6.4vw, 68px);
  letter-spacing: -0.03em;
  max-width: 11ch;
}
.hero-copy {
  max-width: 760px;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.75;
}
.page-shell { padding-bottom: 72px; }
.category-section {
  margin-top: 34px;
  padding: 26px;
  background: linear-gradient(180deg, rgba(255,255,255,0.03), rgba(255,255,255,0.015));
  border-radius: 28px;
  box-shadow: var(--shadow);
  border: 1px solid var(--line);
  backdrop-filter: blur(8px);
}
.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 20px;
}
.section-head span {
  color: var(--muted);
  font-size: 13px;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.product-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 18px; }
.product-card {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  background: linear-gradient(180deg, rgba(255,255,255,0.03), rgba(255,255,255,0.01));
  border-radius: 22px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
}
.product-image {
  aspect-ratio: 1 / 1;
  background: #111414;
  display: block;
}
.product-image img, .detail-gallery img { width: 100%; height: 100%; object-fit: cover; display: block; }
.image-fallback {
  display: grid;
  place-items: center;
  width: 100%; height: 100%;
  color: var(--muted);
  background: linear-gradient(135deg, #1f2323, #141616);
}
.product-body { display: flex; flex-direction: column; gap: 12px; padding: 16px; }
.product-card h3 { font-size: 17px; line-height: 1.45; }
.product-meta {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  min-height: 40px;
}
.product-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: auto;
}
.price-group strong, .detail-price {
  font-size: 22px;
  color: #ffd18d;
}
.coupon-pill {
  display: inline-flex;
  padding: 4px 8px;
  border-radius: 999px;
  background: rgba(240, 161, 59, 0.16);
  color: #ffd18d;
  font-size: 12px;
}
.buy-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 16px;
  border-radius: 999px;
  background: linear-gradient(180deg, var(--brand), var(--brand-dark));
  color: #160f08;
  font-weight: 800;
  box-shadow: 0 10px 24px rgba(240, 161, 59, 0.22);
}
.product-detail {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, .9fr);
  gap: 28px;
  margin-top: 40px;
  padding: 28px;
  background: linear-gradient(180deg, rgba(255,255,255,0.04), rgba(255,255,255,0.015));
  border-radius: 28px;
  box-shadow: var(--shadow);
  border: 1px solid var(--line);
}
.detail-gallery { display: grid; gap: 14px; }
.detail-body { display: flex; flex-direction: column; gap: 16px; }
.empty { color: var(--muted); }
@media (max-width: 760px) {
  .section-head, .product-footer, .product-detail { grid-template-columns: 1fr; display: grid; }
  .category-section { padding: 20px; }
}