/* ============================================
   Design system + page styles
   ============================================ */

:root {
  /* color */
  --bg:           #07050d;
  --bg-elev:      #0d0a17;
  --surface:      #110d1c;
  --surface-2:    #181426;
  --text:         #f4f1fa;
  --text-2:       #b9b3c6;
  --muted:        #6c6680;
  --line:         #25203a;
  --line-soft:    #1c172d;

  --primary:      #d23a3a;
  --primary-2:    #b22e2e;
  --primary-soft: rgba(210, 58, 58, 0.10);
  --accent:       #e8b3b3;
  --neon:         #e8b3b3;

  --success: #4ade80;
  --warn:    #f5b042;
  --danger:  #f87171;

  /* type */
  --f-sans: "Bricolage Grotesque", "Geist", ui-sans-serif, system-ui, sans-serif;
  --f-body: "Geist", ui-sans-serif, system-ui, sans-serif;
  --f-mono: "Geist Mono", "JetBrains Mono", ui-monospace, "SF Mono", Menlo, monospace;

  /* radii */
  --r-sm: 6px;
  --r-md: 10px;
  --r-lg: 14px;
}

/* ============================================
   RESET
   ============================================ */
*, *::before, *::after { box-sizing: border-box; }
html, body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--f-body);
  font-size: 15px;
  line-height: 1.55;
  font-feature-settings: "ss01", "cv11";
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; }
button { font: inherit; border: 0; background: none; color: inherit; cursor: pointer; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; padding: 0; margin: 0; }
input, select, textarea { font: inherit; }
:focus-visible { outline: 2px solid var(--primary); outline-offset: 2px; border-radius: 4px; }

/* ============================================
   TYPE
   ============================================ */
h1, h2, h3, h4, h5 {
  font-family: var(--f-sans);
  font-weight: 600;
  letter-spacing: -0.015em;
  margin: 0;
  color: var(--text);
  font-variation-settings: "opsz" 48;
}
h1 {
  font-size: clamp(40px, 6vw, 88px);
  line-height: 1.0;
  letter-spacing: -0.03em;
  font-weight: 700;
  font-variation-settings: "opsz" 96;
}
h2 {
  font-size: clamp(28px, 3.4vw, 46px);
  line-height: 1.05;
  letter-spacing: -0.02em;
  font-variation-settings: "opsz" 64;
}
h3 { font-size: 22px; line-height: 1.2; font-variation-settings: "opsz" 32; }
h4 { font-size: 17px; line-height: 1.3; font-variation-settings: "opsz" 24; letter-spacing: -0.01em; }
h5 { font-size: 13px; letter-spacing: 0.02em; text-transform: uppercase; color: var(--text-2); margin-bottom: 14px; }
p { margin: 0 0 12px; color: var(--text-2); }

.mono { font-family: var(--f-mono); }
.muted { color: var(--muted); }

/* ============================================
   LAYOUT HELPERS
   ============================================ */
.container { max-width: 1280px; margin: 0 auto; padding: 0 28px; }
section { padding: 56px 0; position: relative; }

.flex { display: flex; }
.gap-12 { gap: 12px; }
.gap-24 { gap: 24px; }

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

.section-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 32px;
  margin-bottom: 32px;
  flex-wrap: wrap;
}
.section-head p { max-width: 380px; }

/* ============================================
   EYEBROW
   ============================================ */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-2);
  font-weight: 500;
}
.eyebrow::before {
  content: "";
  width: 18px;
  height: 1px;
  background: var(--line);
}

/* ============================================
   SECTION NUMBER
   ============================================ */
.section-num {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-family: var(--f-mono);
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-2);
}
.section-num-tag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 30px;
  height: 22px;
  padding: 0 8px;
  background: var(--surface-2);
  color: var(--text);
  border-radius: 4px;
  font-weight: 600;
  box-shadow: inset 0 0 0 1px var(--line);
}

.view-all {
  font-size: 12px;
  letter-spacing: 0.14em;
  color: var(--text-2);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
}
.view-all:hover { color: var(--text); }

/* ============================================
   BRAND
   ============================================ */
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--f-sans);
  font-weight: 700;
  font-size: 16px;
  letter-spacing: -0.01em;
  color: var(--text);
}
.brand-mark {
  width: 28px;
  height: 28px;
  position: relative;
  display: inline-block;
}
.brand-mark::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--primary);
  clip-path: polygon(50% 0, 100% 30%, 100% 70%, 50% 100%, 0 70%, 0 30%);
}

/* ============================================
   BUTTONS
   ============================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 18px;
  border-radius: 8px;
  font-family: var(--f-body);
  font-weight: 500;
  font-size: 14px;
  cursor: pointer;
  transition: background .15s, transform .12s, box-shadow .15s, color .15s;
  white-space: nowrap;
  text-decoration: none;
  letter-spacing: -0.005em;
}
.btn:disabled { cursor: not-allowed; }

.btn-primary {
  background: var(--primary);
  color: #fff;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.12);
}
.btn-primary:hover:not(:disabled) {
  background: var(--primary-2);
  transform: translateY(-1px);
}

.btn-ghost {
  background: transparent;
  color: var(--text);
  box-shadow: inset 0 0 0 1px var(--line);
}
.btn-ghost:hover:not(:disabled) {
  background: var(--surface);
  box-shadow: inset 0 0 0 1px var(--line);
}

.btn-sm { padding: 8px 12px; font-size: 13px; gap: 6px; }
.btn-lg { padding: 14px 22px; font-size: 15px; gap: 10px; }

.icon-btn {
  display: inline-grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 8px;
  background: transparent;
  color: var(--text-2);
  cursor: pointer;
  transition: background .15s, color .15s;
  position: relative;
  text-decoration: none;
}
.icon-btn:hover { background: var(--surface); color: var(--text); }

.cart-count {
  position: absolute;
  top: 2px; right: 2px;
  min-width: 16px;
  height: 16px;
  padding: 0 4px;
  background: var(--primary);
  color: #fff;
  font-family: var(--f-mono);
  font-size: 10px;
  font-weight: 700;
  border-radius: 999px;
  display: inline-grid;
  place-items: center;
}

/* ============================================
   TAG
   ============================================ */
.tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 8px;
  border-radius: 999px;
  font-family: var(--f-mono);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-2);
  background: var(--surface-2);
  box-shadow: inset 0 0 0 1px var(--line);
}
.tag-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--text-2);
}

/* ============================================
   CARD + PLACEHOLDER
   ============================================ */
.card {
  background: var(--surface);
  border-radius: var(--r-lg);
  box-shadow: inset 0 0 0 1px var(--line-soft);
  padding: 24px;
}

.placeholder {
  background:
    repeating-linear-gradient(135deg, rgba(255,255,255,.02) 0 6px, transparent 6px 14px),
    var(--bg-elev);
  display: grid;
  place-items: center;
  color: var(--muted);
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  border-radius: var(--r-md);
  box-shadow: inset 0 0 0 1px var(--line-soft);
  height: 200px;
}

/* ============================================
   MARQUEE
   ============================================ */
.marquee {
  background: var(--primary);
  color: #fff;
  overflow: hidden;
  white-space: nowrap;
  border-bottom: 1px solid rgba(255,255,255,.1);
}
.marquee-track {
  display: inline-flex;
  gap: 40px;
  padding: 9px 0;
  animation: marquee-scroll 40s linear infinite;
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 500;
}
.marquee-item { display: inline-flex; align-items: center; gap: 40px; }
.marquee-dot { opacity: 0.55; }
@keyframes marquee-scroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ============================================
   NAV
   ============================================ */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(7, 5, 13, 0.85);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line-soft);
}
.nav-inner {
  display: flex;
  align-items: center;
  gap: 32px;
  padding: 14px 28px;
  max-width: 1280px;
  margin: 0 auto;
}
.nav-links {
  display: flex;
  gap: 6px;
  flex: 1;
}
.nav-links a {
  display: inline-block;
  padding: 8px 14px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-2);
  transition: color .15s, background .15s;
}
.nav-links a:hover { color: var(--text); }
.nav-links a.active {
  color: var(--text);
  background: var(--surface);
}
.nav-actions {
  display: flex;
  align-items: center;
  gap: 6px;
}
.nav-text-link {
  font-size: 13px;
  font-weight: 500;
  color: var(--text-2);
  padding: 8px 10px;
  transition: color .15s;
}
.nav-text-link:hover { color: var(--text); }

/* ============================================
   FOOTER
   ============================================ */
.footer {
  background: var(--bg-elev);
  border-top: 1px solid var(--line-soft);
  padding: 56px 0 28px;
  margin-top: 60px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, 1fr);
  gap: 48px;
  margin-bottom: 40px;
}
.footer h5 {
  font-family: var(--f-sans);
  font-size: 13px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text);
  margin-bottom: 18px;
  font-weight: 600;
}
.footer ul { display: grid; gap: 10px; }
.footer a {
  font-size: 13px;
  color: var(--text-2);
  transition: color .15s;
}
.footer a:hover { color: var(--text); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 22px;
  border-top: 1px solid var(--line-soft);
  font-family: var(--f-mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  color: var(--muted);
  flex-wrap: wrap;
  gap: 16px;
}
.status-dot {
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--success);
  box-shadow: 0 0 6px var(--success);
  margin-right: 8px;
  vertical-align: middle;
}

/* ============================================
   BRAND STRIP
   ============================================ */
.brand-strip {
  background: var(--bg-elev);
  border-top: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
  overflow: hidden;
  padding: 22px 0;
}
.brand-strip-track {
  display: inline-flex;
  gap: 64px;
  animation: marquee-scroll 50s linear infinite;
  white-space: nowrap;
}
.brand-strip-item {
  font-family: var(--f-sans);
  font-weight: 700;
  font-size: 24px;
  letter-spacing: 0.04em;
  color: var(--muted);
  transition: color .2s;
  text-transform: uppercase;
}
.brand-strip-item:hover { color: var(--text); }
.brand-strip-dot { color: var(--primary); opacity: 0.55; font-size: 16px; }

/* ============================================
   HERO
   ============================================ */
.hero {
  padding: 64px 0 32px;
  position: relative;
  overflow: hidden;
  min-height: 580px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.hero-glow {
  position: absolute;
  top: 50%; left: 50%;
  width: 1000px; height: 700px;
  transform: translate(-50%, -50%);
  background: radial-gradient(ellipse at center, rgba(210,58,58,.05), transparent 70%);
  filter: blur(10px);
  pointer-events: none;
  z-index: 0;
}
.hero-bg-image {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
  animation: heroBgIn .9s ease-out both;
}
.hero-bg-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.06;
  filter: blur(2px) saturate(0.5);
}
.hero-bg-image::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at center, rgba(7,5,13,.4) 30%, rgba(7,5,13,.92) 80%),
    linear-gradient(180deg, var(--bg) 0%, transparent 25%, transparent 75%, var(--bg) 100%);
}
@keyframes heroBgIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}
.hero-stage {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 24px 0;
}
.hero-copy {
  max-width: 820px;
  margin: 0 auto;
  animation: heroFadeIn .55s ease-out both;
}
.hero-title {
  margin-top: 22px;
  margin-bottom: 24px;
  text-wrap: balance;
}
.hero-title .hl { color: var(--primary); }
.hero-sub {
  font-size: 18px;
  color: var(--text-2);
  max-width: 620px;
  margin: 0 auto 32px;
  text-wrap: pretty;
}
.hero-ctas {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}
.hero-controls {
  position: relative;
  z-index: 1;
  margin-top: 36px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}
.hero-dots {
  display: flex;
  align-items: center;
  gap: 12px;
}
.hero-dot {
  width: 32px;
  height: 4px;
  background: var(--line);
  border-radius: 2px;
  cursor: pointer;
  transition: background .2s, width .2s;
  padding: 0;
}
.hero-dot.is-active {
  background: var(--primary);
  width: 56px;
}
.hero-counter {
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  color: var(--muted);
  margin-left: 8px;
}
.hero-arrows { display: flex; gap: 8px; }
.hero-arrow {
  background: var(--surface);
  box-shadow: inset 0 0 0 1px var(--line-soft);
}
.hero-arrow:hover { background: var(--surface-2); color: var(--text); }

@keyframes heroFadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to   { opacity: 1; transform: none; }
}

/* ============================================
   CATEGORY CARDS
   ============================================ */
.cat-card {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 20px;
  background: var(--surface);
  border-radius: var(--r-lg);
  box-shadow: inset 0 0 0 1px var(--line-soft);
  text-decoration: none;
  position: relative;
  transition: box-shadow .2s, transform .15s;
  color: inherit;
}
.cat-card:hover {
  box-shadow: inset 0 0 0 1px var(--line);
  transform: translateY(-2px);
}
.cat-card:hover .cat-arrow { color: var(--primary); transform: translateX(2px); }
.cat-icon {
  width: 56px;
  height: 56px;
  border-radius: 10px;
  background: var(--surface-2);
  color: var(--text-2);
  display: grid;
  place-items: center;
  box-shadow: inset 0 0 0 1px var(--line-soft);
}
.cat-icon-img {
  overflow: hidden;
  padding: 0;
  position: relative;
}
.cat-icon-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .4s ease, filter .3s ease;
}
.cat-card:hover .cat-icon-img img { transform: scale(1.08); filter: brightness(1.1); }
.cat-arrow {
  color: var(--muted);
  transition: color .15s, transform .15s;
}

/* ============================================
   PILLAR CARD
   ============================================ */
.pillar-card {
  position: relative;
  background: var(--surface);
  border-radius: var(--r-lg);
  box-shadow: inset 0 0 0 1px var(--line-soft);
  padding: 28px;
}
.pillar-num {
  position: absolute;
  top: 22px;
  right: 24px;
  font-family: var(--f-mono);
  font-size: 48px;
  font-weight: 700;
  color: rgba(255,255,255,.04);
  letter-spacing: -0.04em;
  line-height: 1;
}
.pillar-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: var(--surface-2);
  color: var(--text);
  display: grid;
  place-items: center;
  margin-bottom: 18px;
  box-shadow: inset 0 0 0 1px var(--line-soft);
}
.pillar-card:hover .pillar-icon { color: var(--primary); }

/* ============================================
   PRODUCT CARD
   ============================================ */
.product-card {
  background: var(--surface);
  border-radius: var(--r-md);
  box-shadow: inset 0 0 0 1px var(--line-soft);
  overflow: hidden;
  position: relative;
  transition: box-shadow .2s, transform .15s;
  display: flex;
  flex-direction: column;
  color: inherit;
}
.product-card:hover {
  box-shadow: inset 0 0 0 1px var(--line);
  transform: translateY(-2px);
}
.product-img {
  height: 200px;
  background:
    repeating-linear-gradient(135deg, rgba(255,255,255,.015) 0 6px, transparent 6px 14px),
    var(--bg-elev);
  display: grid;
  place-items: center;
  border-bottom: 1px solid var(--line-soft);
  position: relative;
  overflow: hidden;
}
.product-img img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  transition: transform .4s ease, filter .3s ease;
}
.product-card:hover .product-img img { transform: scale(1.04); filter: brightness(1.05); }
.product-img::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(7,5,13,0) 40%, rgba(7,5,13,.55) 100%);
  z-index: 1;
  pointer-events: none;
}
.product-model {
  position: absolute;
  bottom: 12px;
  left: 14px;
  font-family: var(--f-mono);
  font-weight: 600;
  font-size: 11px;
  letter-spacing: 0.14em;
  color: rgba(255,255,255,.92);
  text-transform: uppercase;
  z-index: 2;
  padding: 4px 8px;
  background: rgba(7,5,13,.55);
  backdrop-filter: blur(4px);
  border-radius: 4px;
  max-width: calc(100% - 28px);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.product-brand {
  font-family: var(--f-mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  color: var(--muted);
  text-transform: uppercase;
}

.discount-badge {
  position: absolute;
  top: 12px; left: 12px;
  padding: 5px 9px;
  background: var(--primary);
  color: #fff;
  font-family: var(--f-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  border-radius: 4px;
  z-index: 3;
}
.stock-badge {
  position: absolute;
  top: 12px; right: 12px;
  padding: 4px 9px;
  background: rgba(74,222,128,.16);
  color: var(--success);
  font-family: var(--f-mono);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.12em;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  z-index: 3;
}
.stock-badge::before {
  content: "";
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--success);
  box-shadow: 0 0 6px var(--success);
}
.price-old {
  font-family: var(--f-mono);
  font-size: 12px;
  color: var(--muted);
  text-decoration: line-through;
  margin-left: 8px;
}

/* ============================================
   REVIEW CARDS
   ============================================ */
.review-card {
  display: flex;
  flex-direction: column;
  padding: 22px;
}
.review-product {
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--text-2);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 14px;
  text-decoration: none;
}
.review-product:hover { color: var(--text); }
.review-foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 14px;
  border-top: 1px solid var(--line-soft);
}
.review-avatar {
  width: 28px; height: 28px;
  border-radius: 50%;
  background: var(--surface-2);
  color: var(--text-2);
  display: grid; place-items: center;
  font-family: var(--f-sans);
  font-weight: 700;
  font-size: 11px;
  box-shadow: inset 0 0 0 1px var(--line-soft);
}

/* ============================================
   BUILDER CTA BANNER
   ============================================ */
.builder-cta {
  padding: 56px;
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 32px;
  align-items: center;
  background: linear-gradient(135deg, #150b25 0%, #0a0617 70%);
  border-radius: var(--r-lg);
  box-shadow: inset 0 0 0 1px var(--line-soft);
  position: relative;
  overflow: hidden;
}
.builder-cta-bg {
  position: absolute; inset: 0;
  background: radial-gradient(circle at 85% 50%, rgba(210,58,58,.10), transparent 60%);
  pointer-events: none;
}

/* ============================================
   STORE PAGE
   ============================================ */
.store-grid {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 24px;
  align-items: start;
}
.store-sidebar {
  position: sticky;
  top: 120px;
  display: grid;
  gap: 16px;
}
.sidebar-cat {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  border-radius: 6px;
  text-align: left;
  background: transparent;
  color: var(--text-2);
  cursor: pointer;
  transition: background .15s, color .15s;
}
.sidebar-cat svg { color: var(--muted); }
.sidebar-cat:hover { background: rgba(255,255,255,.02); }
.sidebar-cat.is-active {
  background: var(--surface-2);
  color: var(--text);
  box-shadow: inset 0 0 0 1px var(--line-soft);
}
.sidebar-cat.is-active svg { color: var(--text); }
.brand-chip {
  padding: 6px 10px;
  border-radius: 999px;
  font-size: 10px;
  letter-spacing: 0.08em;
  background: transparent;
  color: var(--text-2);
  box-shadow: inset 0 0 0 1px var(--line);
  cursor: pointer;
  transition: all .15s;
  font-weight: 600;
}
.brand-chip:hover { color: var(--text); }
.brand-chip.is-active {
  background: var(--primary);
  color: #fff;
  box-shadow: none;
}
.store-search {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border-radius: 8px;
  background: var(--bg);
  box-shadow: inset 0 0 0 1px var(--line-soft);
  min-width: 280px;
}
.store-search svg { color: var(--muted); }
.store-search input {
  flex: 1; background: transparent; border: 0; outline: 0;
  color: var(--text); font-size: 14px; font-family: var(--f-body);
}
.store-search button { color: var(--muted); cursor: pointer; background: transparent; }
.store-sort {
  padding: 8px 30px 8px 12px;
  border-radius: 6px;
  background: var(--surface);
  color: var(--text);
  border: 0;
  outline: 0;
  box-shadow: inset 0 0 0 1px var(--line-soft);
  font-family: var(--f-body);
  font-size: 13px;
  cursor: pointer;
  appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, var(--text-2) 50%), linear-gradient(135deg, var(--text-2) 50%, transparent 50%);
  background-position: calc(100% - 16px) 16px, calc(100% - 11px) 16px;
  background-size: 5px 5px, 5px 5px;
  background-repeat: no-repeat;
}

/* ============================================
   PRODUCT DETAIL
   ============================================ */
.product-hero {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 48px;
  align-items: start;
}
.product-thumb {
  height: 72px;
  border-radius: 6px;
  overflow: hidden;
  background: var(--bg);
  box-shadow: inset 0 0 0 1px var(--line-soft);
  cursor: pointer;
  position: relative;
}
.product-thumb img { width: 100%; height: 100%; object-fit: cover; }
.product-thumb.is-active { box-shadow: inset 0 0 0 1.5px var(--primary); }
.product-price-block {
  display: flex; align-items: baseline; gap: 14px;
  padding: 22px 24px;
  background: var(--bg);
  border-radius: 10px;
  margin-bottom: 24px;
  box-shadow: inset 0 0 0 1px var(--line-soft);
  flex-wrap: wrap;
}
.product-price {
  font-family: var(--f-sans);
  font-weight: 700;
  font-size: 38px;
  color: var(--text);
  letter-spacing: -0.025em;
}
.product-save {
  margin-left: auto;
  padding: 5px 10px;
  border-radius: 4px;
  background: var(--primary);
  color: #fff;
  font-family: var(--f-mono);
  font-size: 12px;
  font-weight: 700;
}
.qty-box {
  display: inline-flex;
  align-items: center;
  border-radius: 6px;
  background: var(--bg);
  box-shadow: inset 0 0 0 1px var(--line-soft);
}
.qty-box .icon-btn { width: 42px; height: 100%; border-radius: 0; }
.qty-box > span {
  min-width: 36px;
  text-align: center;
  font-family: var(--f-mono);
  font-size: 14px;
}
.trust-badge {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px;
  border-radius: 8px;
  background: var(--surface-2);
}
.trust-badge-icon {
  width: 36px; height: 36px; border-radius: 8px;
  background: var(--surface);
  color: var(--text);
  display: grid; place-items: center;
  box-shadow: inset 0 0 0 1px var(--line-soft);
}
.product-tab {
  padding: 14px 18px;
  font-size: 12px;
  letter-spacing: 0.14em;
  color: var(--muted);
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
  cursor: pointer;
  background: transparent;
  text-transform: uppercase;
}
.product-tab.is-active {
  color: var(--text);
  border-bottom-color: var(--primary);
}

/* ============================================
   CART
   ============================================ */
.cart-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 28px;
  align-items: start;
}
.cart-row {
  padding: 18px;
  display: grid;
  grid-template-columns: 84px 1fr auto;
  gap: 18px;
  align-items: center;
}
.cart-row-thumb {
  width: 84px;
  height: 84px;
  border-radius: 8px;
  background: var(--surface-2);
  color: var(--text-2);
  display: grid;
  place-items: center;
  box-shadow: inset 0 0 0 1px var(--line-soft);
}
.cart-remove {
  font-family: var(--f-mono);
  font-size: 11px;
  color: var(--muted);
  letter-spacing: 0.12em;
  cursor: pointer;
  background: transparent;
}
.cart-remove:hover { color: var(--text); }
.cart-foot-link {
  font-family: var(--f-mono);
  font-size: 12px;
  color: var(--muted);
  letter-spacing: 0.14em;
  background: transparent;
  cursor: pointer;
  text-decoration: none;
}
.cart-foot-link:hover { color: var(--text); }

/* ============================================
   CHECKOUT
   ============================================ */
.checkout-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 28px;
  align-items: start;
}
.checkout-input, .checkout-select {
  width: 100%;
  padding: 13px 14px;
  border-radius: 8px;
  background: var(--bg);
  color: var(--text);
  border: 0;
  outline: 0;
  box-shadow: inset 0 0 0 1px var(--line-soft);
  font-family: var(--f-body);
  font-size: 14px;
  transition: box-shadow .15s;
}
.checkout-input.is-mono { font-family: var(--f-mono); letter-spacing: 0.04em; }
.checkout-input:focus, .checkout-select:focus { box-shadow: inset 0 0 0 1.5px var(--primary); }
.checkout-select {
  appearance: none;
  padding-right: 36px;
  background-image: linear-gradient(45deg, transparent 50%, var(--text-2) 50%), linear-gradient(135deg, var(--text-2) 50%, transparent 50%);
  background-position: calc(100% - 18px) 18px, calc(100% - 13px) 18px;
  background-size: 5px 5px, 5px 5px;
  background-repeat: no-repeat;
}
.pay-method {
  display: grid;
  grid-template-columns: 44px 1fr 22px;
  gap: 14px;
  align-items: center;
  padding: 16px;
  border-radius: 10px;
  text-align: left;
  cursor: pointer;
  background: var(--bg);
  box-shadow: inset 0 0 0 1px var(--line-soft);
  transition: box-shadow .15s;
}
.pay-method.is-active { box-shadow: inset 0 0 0 1.5px var(--primary); }
.pay-method-icon {
  width: 44px; height: 44px; border-radius: 8px;
  background: var(--surface-2);
  color: var(--text);
  display: grid; place-items: center;
  box-shadow: inset 0 0 0 1px var(--line-soft);
}
.pay-method-radio {
  width: 20px; height: 20px; border-radius: 50%;
  background: transparent;
  box-shadow: inset 0 0 0 1.5px var(--line);
  transition: all .15s;
}
.pay-method.is-active .pay-method-radio {
  background: var(--primary);
  box-shadow: inset 0 0 0 5px var(--bg);
}

/* ============================================
   PC BUILDER
   ============================================ */
.builder-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 24px;
  align-items: start;
}
.purpose-toggle {
  display: flex;
  gap: 6px;
  padding: 4px;
  background: var(--bg);
  border-radius: 8px;
  box-shadow: inset 0 0 0 1px var(--line-soft);
}
.purpose-toggle button {
  flex: 1;
  padding: 9px 14px;
  border-radius: 5px;
  font-size: 11px;
  letter-spacing: 0.12em;
  background: transparent;
  color: var(--text-2);
  cursor: pointer;
  font-weight: 600;
}
.purpose-toggle button.is-active {
  background: var(--primary);
  color: #fff;
}
.slot-row {
  display: grid;
  grid-template-columns: 44px 70px 1fr auto;
  gap: 14px;
  align-items: center;
  padding: 16px 24px;
  border-bottom: 1px solid var(--line-soft);
}
.slot-row:last-child { border-bottom: 0; }
.slot-thumb {
  width: 70px;
  height: 60px;
  border-radius: 6px;
  overflow: hidden;
  background: var(--surface-2);
  box-shadow: inset 0 0 0 1px var(--line-soft);
  display: grid;
  place-items: center;
  color: var(--text-2);
}
.slot-thumb img { width: 100%; height: 100%; object-fit: cover; }
.slot-change {
  padding: 8px 12px;
  border-radius: 6px;
  font-size: 10px;
  letter-spacing: 0.12em;
  background: var(--surface-2);
  color: var(--text-2);
  box-shadow: inset 0 0 0 1px var(--line-soft);
  cursor: pointer;
  font-weight: 600;
}
.slot-change:hover { color: var(--text); }

/* PICKER MODAL */
.picker-overlay {
  position: fixed; inset: 0; z-index: 100;
  background: rgba(7,5,13,.82);
  backdrop-filter: blur(8px);
  display: grid; place-items: center;
  padding: 24px;
  animation: pickerFadeIn .18s ease-out;
}
.picker-modal {
  width: 100%;
  max-width: 720px;
  max-height: 85vh;
  background: var(--surface);
  border-radius: var(--r-lg);
  box-shadow: 0 24px 80px -20px rgba(0,0,0,.8), inset 0 0 0 1px var(--line);
  display: flex; flex-direction: column;
  overflow: hidden;
  animation: pickerSlideIn .22s ease-out;
}
.picker-head {
  padding: 22px 28px;
  border-bottom: 1px solid var(--line-soft);
  display: flex; justify-content: space-between; align-items: center;
}
.picker-body {
  padding: 16px 20px 20px;
  overflow-y: auto;
  display: grid; gap: 8px;
}
.picker-row {
  display: flex; align-items: center; gap: 14px;
  padding: 12px;
  background: var(--bg);
  border-radius: 10px;
  cursor: pointer;
  transition: box-shadow .15s, transform .12s;
  width: 100%;
  text-align: left;
  color: inherit;
}
.picker-row:hover { transform: translateY(-1px); }
@keyframes pickerFadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes pickerSlideIn { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }

/* ============================================
   CONTACT — topic chips
   ============================================ */
.topic-chip {
  padding: 9px 14px;
  border-radius: 999px;
  font-size: 11px;
  letter-spacing: 0.1em;
  background: transparent;
  color: var(--text-2);
  box-shadow: inset 0 0 0 1px var(--line);
  cursor: pointer;
  font-weight: 600;
  transition: all .15s;
}
.topic-chip:hover { color: var(--text); }
.topic-chip.is-active {
  background: var(--primary);
  color: #fff;
  box-shadow: none;
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
  .store-grid { grid-template-columns: 1fr; }
  .store-sidebar { position: static; }
  .builder-grid { grid-template-columns: 1fr; }
  .product-hero { grid-template-columns: 1fr; }
}
@media (max-width: 800px) {
  .nav-links { display: none; }
  .nav-inner { gap: 16px; }
  .cart-grid { grid-template-columns: 1fr; }
  .checkout-grid { grid-template-columns: 1fr; }
  .builder-cta { grid-template-columns: 1fr; padding: 40px 28px; }
}
@media (max-width: 720px) {
  .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .hero { min-height: 480px; padding: 32px 0; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  section { padding: 40px 0; }
}
