/* CYBERAPI v13 — Compact monochrome store */

@import url('https://fonts.googleapis.com/css2?family=Anuphan:wght@500;600;700;800&family=IBM+Plex+Sans+Thai:wght@400;500;600;700&display=swap');

:root {
  color-scheme: dark;
  --bg: #000000;
  --bg-elev: #0c0c0c;
  --surface: #141414;
  --surface-2: #1a1a1a;
  --surface-3: #222222;
  --ink: #ffffff;
  --ink-soft: #d4d4d4;
  --muted: #a3a3a3;
  --faint: #737373;
  --line: #2a2a2a;
  --line-strong: #3f3f3f;
  --white: #ffffff;
  --black: #000000;
  --ok-dot: #22c55e;
  --danger: #f87171;
  --danger-soft: #3f1515;
  --ok: #86efac;
  --ok-soft: #052e1a;
  --warn: #fde68a;
  --warn-soft: #3f2e0a;
  --radius: 10px;
  --radius-lg: 12px;
  --radius-pill: 999px;
  --font-display: "Anuphan", "IBM Plex Sans Thai", system-ui, sans-serif;
  --font-body: "IBM Plex Sans Thai", "Anuphan", system-ui, sans-serif;
  --font-mono: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  --max: 1280px;
  --nav-h: 44px;
  --lime: var(--ink);
  --lime-bright: #e5e5e5;
  --lime-soft: #1a1a1a;
  --accent: var(--ink);
  --accent-deep: #e5e5e5;
  --accent-soft: #1a1a1a;
  --bg-band: var(--surface);
  --bg-deep: #050505;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 14.5px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
}

a { color: var(--ink); text-decoration: none; }
a:hover { color: #fff; text-decoration: underline; text-underline-offset: 2px; }

.container { width: min(var(--max), calc(100% - 32px)); margin-inline: auto; }
#main { padding-bottom: 24px; }
.muted { color: var(--muted); }
.small { font-size: 12.5px; }

.ic { display: inline-flex; align-items: center; justify-content: center; flex: none; color: inherit; vertical-align: -2px; line-height: 0; }
.ic svg { width: 16px; height: 16px; display: block; }
.ic-12 svg { width: 12px; height: 12px; }
.ic-14 svg { width: 14px; height: 14px; }
.ic-16 svg { width: 16px; height: 16px; }
.ic-18 svg { width: 18px; height: 18px; }
.ic-20 svg { width: 20px; height: 20px; }
.ic-28 svg { width: 28px; height: 28px; }

.preview-banner {
  background: #0a0a0a; color: var(--muted);
  font-size: 11.5px; text-align: center; padding: 5px 12px;
  border-bottom: 1px solid var(--line); position: relative; z-index: 50;
}
.preview-banner a { color: #fff; font-weight: 600; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  min-height: 36px; padding: 7px 14px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--line-strong);
  background: var(--surface); color: var(--ink);
  font-family: var(--font-body); font-size: 13px; font-weight: 600;
  cursor: pointer; line-height: 1.25;
  transition: background .15s, border-color .15s, color .15s;
}
.btn:hover { text-decoration: none; background: var(--surface-3); border-color: #555; color: #fff; }
.btn-primary, .btn-lime, .btn--light, .btn--dark {
  background: var(--white); border-color: var(--white); color: var(--black);
}
.btn-primary:hover, .btn-lime:hover, .btn--light:hover, .btn--dark:hover {
  background: #e8e8e8; border-color: #e8e8e8; color: #000;
}
.btn--outline { background: transparent; border-color: var(--line-strong); color: var(--ink); }
.btn--outline:hover { border-color: #fff; background: #111; }
.btn-sm, .btn--sm { min-height: 32px; padding: 5px 12px; font-size: 12.5px; }
.btn--lg { min-height: 36px; padding: 8px 16px; font-size: 13.5px; }
.btn--block { width: 100%; }
.btn[disabled], .btn.is-disabled { opacity: .45; cursor: not-allowed; pointer-events: none; }
.btn-danger { background: #3f1515; border-color: #7f1d1d; color: #fecaca; }

/* Nav */
.site-header {
  position: sticky; top: 0; z-index: 40;
  padding: 8px 0 6px; background: transparent; border: 0;
}
.site-header.is-scrolled .nav-pill {
  background: rgba(20,20,20,.94);
  box-shadow: 0 8px 24px -16px #000000aa;
}
.header-inner, .nav-pill-wrap {
  width: min(var(--max), calc(100% - 24px));
  margin-inline: auto;
}
.nav-pill {
  display: flex; align-items: center; gap: 6px;
  min-height: var(--nav-h);
  height: var(--nav-h);
  padding: 4px 6px 4px 8px;
  border-radius: 999px;
  background: rgba(20,20,20,.9);
  border: 1px solid var(--line);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
}
.brand {
  display: inline-flex; align-items: center; gap: 8px; flex-shrink: 0;
  font: 700 15px/1.1 var(--font-display); color: #fff;
}
.brand:hover { text-decoration: none; color: #fff; }
.brand .brand-mark {
  display: grid; place-items: center; width: 26px; height: 26px;
  border-radius: 8px; background: #0a0a0a; color: #fff; border: 1px solid var(--line-strong);
}
.brand-mark .ic svg { width: 13px; height: 13px; }
.brand-text { display: flex; flex-direction: column; gap: 0; }
.brand-text small { font-size: 9px; font-weight: 500; color: var(--faint); line-height: 1.15; }

.header-menu { margin-left: auto; min-width: 0; flex: 1; }
.header-menu-inner { display: flex; align-items: center; gap: 6px; justify-content: flex-end; }
.nav { display: flex; align-items: center; gap: 0; }
.nav a {
  display: inline-flex; align-items: center; gap: 5px;
  min-height: 30px; height: 30px; padding: 0 9px; border-radius: var(--radius-pill);
  font-size: 13px; font-weight: 500; color: var(--muted); white-space: nowrap;
}
.nav a:hover { color: #fff; text-decoration: none; background: #ffffff0a; }
.nav a.active { color: #fff; background: #ffffff10; }
.nav a .ic svg { width: 14px; height: 14px; }

.nav-search {
  display: flex; align-items: center; gap: 6px;
  min-height: 30px; height: 30px; padding: 0 10px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--line); background: #0a0a0a;
  color: var(--muted); min-width: 150px; max-width: 200px;
}
.nav-search input {
  flex: 1; min-width: 0; border: 0; background: transparent;
  color: #fff; font: inherit; font-size: 12.5px; outline: none;
}
.nav-search input::placeholder { color: var(--faint); }
.nav-search .ic svg { width: 14px; height: 14px; }

.header-actions { display: flex; align-items: center; gap: 4px; }
.header-login, .header-logout {
  display: inline-flex; align-items: center; gap: 5px;
  min-height: 30px; height: 30px; padding: 0 9px;
  font-size: 13px; font-weight: 500; color: var(--muted);
}
.header-login:hover, .header-logout:hover { color: #fff; text-decoration: none; }
.header-docs, .header-signup {
  display: inline-flex; align-items: center; justify-content: center; gap: 5px;
  min-height: 30px; height: 30px; padding: 0 12px; border-radius: var(--radius-pill);
  background: #fff; color: #000; border: 1px solid #fff;
  font-size: 13px; font-weight: 700; white-space: nowrap;
}
.header-docs:hover, .header-signup:hover, .header-docs.active {
  background: #e8e8e8; color: #000; text-decoration: none;
}
.header-docs > span { display: none; }
.site-header :focus-visible, :focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
.nav-mobile-tools { display: none; align-items: center; gap: 8px; margin-left: auto; }
.nav-icon-btn {
  width: 34px; height: 34px; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  border: 1px solid var(--line); background: #0a0a0a; color: #fff; cursor: pointer; padding: 0;
}
.nav-icon-btn:hover { border-color: #555; background: #141414; }
.nav-icon-btn .theme-ico-moon { display: none; }
html.theme-light .nav-icon-btn .theme-ico-sun { display: none; }
html.theme-light .nav-icon-btn .theme-ico-moon { display: inline-flex; }
.mobile-search {
  display: none; align-items: center; gap: 8px;
  width: min(var(--max), calc(100% - 24px)); margin: 8px auto 0;
  padding: 8px 10px; border-radius: 16px;
  border: 1px solid var(--line); background: #111;
}
.mobile-search input {
  flex: 1; min-width: 0; border: 0; background: transparent;
  color: #fff; font: inherit; font-size: 14px; outline: none;
}
.site-header.search-open .mobile-search { display: flex; }
.menu-toggle { display: none; }
.visually-hidden {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

/* Hero */
.zt-hero {
  text-align: center;
  padding: 20px 0 14px;
  position: relative;
}
.zt-hero::before { display: none; } /* no radial glow */
.status-pill {
  display: inline-flex; align-items: center; gap: 7px;
  min-height: 28px; padding: 4px 11px; margin-bottom: 10px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--line); background: var(--surface);
  font-size: 12px; font-weight: 550; color: var(--ink-soft);
}
.status-pill .dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--ok-dot); box-shadow: 0 0 0 3px #22c55e22;
}
.zt-hero h1 {
  margin: 0 0 8px;
  font-family: var(--font-display);
  font-size: 40px;
  font-weight: 750; letter-spacing: -.025em; line-height: 1.2;
}
.zt-hero .lead {
  margin: 0 auto 14px; max-width: 44ch;
  font-size: 14px; color: var(--muted); line-height: 1.6;
}
.zt-hero-actions { display: flex; justify-content: center; align-items: center; gap: 8px; flex-wrap: wrap; }
.btn-icon-round {
  width: 36px; height: 36px; border-radius: 50%;
  display: grid; place-items: center;
  border: 1px solid var(--line-strong); background: var(--surface); color: #fff;
}
.btn-icon-round:hover { background: var(--surface-3); text-decoration: none; }

/* Carousel */
.promo-carousel {
  position: relative;
  margin: 4px auto 14px;
  width: min(var(--max), calc(100% - 32px));
}
.promo-track {
  overflow: hidden; border-radius: var(--radius-lg);
  border: 1px solid var(--line); background: var(--surface);
  height: 260px;
}
.promo-track img { width: 100%; height: 100%; object-fit: cover; object-position: left center; display: block; }
.promo-slide { display: none; width: 100%; height: 100%; }
.promo-slide.is-active { display: block; }
.promo-slide a { display: block; height: 100%; }
.promo-nav {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 34px; height: 34px; border-radius: 50%;
  border: 1px solid var(--line-strong); background: rgba(0,0,0,.75);
  color: #fff; display: grid; place-items: center; cursor: pointer; z-index: 2;
}
.promo-nav:hover { background: #111; border-color: #fff; }
.promo-nav.prev { left: 10px; }
.promo-nav.next { right: 10px; }
.promo-nav.prev .ic { transform: scaleX(-1); }
.promo-dots {
  display: flex; justify-content: center; gap: 5px; margin-top: 8px;
}
.promo-dots button {
  width: 6px; height: 6px; border-radius: 50%; border: 0;
  background: #444; padding: 0; cursor: pointer;
}
.promo-dots button.is-active { background: #fff; width: 14px; border-radius: 3px; }

/* Ticker */
.announce-bar {
  display: flex; align-items: center; gap: 10px;
  width: min(var(--max), calc(100% - 32px));
  margin: 0 auto 16px;
  padding: 5px 8px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--line); background: var(--surface);
  overflow: hidden;
}
.announce-tag {
  flex: none; display: inline-flex; align-items: center;
  min-height: 24px; padding: 2px 10px; border-radius: var(--radius-pill);
  background: #fff; color: #000; font-size: 11px; font-weight: 700;
}
.announce-viewport { flex: 1; overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.announce-track {
  display: flex; gap: 32px; width: max-content;
  animation: ticker 28s linear infinite;
  font-size: 12.5px; color: var(--ink-soft); white-space: nowrap;
}
.announce-track span { display: inline-flex; align-items: center; gap: 6px; }
@keyframes ticker { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .announce-track { animation: none; } }

/* Stats — compact inline row */
.stat-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px;
  width: min(var(--max), calc(100% - 32px));
  margin: 0 auto 16px;
}
.stat-card {
  display: flex; flex-direction: row; align-items: center; gap: 10px;
  min-height: 72px; padding: 12px 14px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line); background: var(--surface);
}
.stat-card .stat-ico {
  width: 30px; height: 30px; border-radius: 8px; flex: none;
  display: grid; place-items: center;
  border: 1px solid var(--line); background: #0a0a0a; color: var(--muted);
}
.stat-card .stat-ico .ic svg { width: 14px; height: 14px; }
.stat-card .stat-text { display: flex; flex-direction: column; gap: 1px; min-width: 0; }
.stat-card .stat-label { font-size: 11.5px; color: var(--muted); line-height: 1.2; }
.stat-card .stat-value {
  font-family: var(--font-display); font-size: 20px; font-weight: 700;
  letter-spacing: -.02em; color: #fff; line-height: 1.15;
}
.stat-card .stat-note { display: none; }

/* Quick actions */
.quick-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px;
  width: min(var(--max), calc(100% - 32px));
  margin: 0 auto 32px;
}
.quick-card {
  position: relative; display: flex; flex-direction: column; justify-content: space-between;
  min-height: 96px; padding: 14px; border-radius: var(--radius-lg); overflow: hidden;
  border: 1px solid var(--line); text-decoration: none; color: inherit;
  isolation: isolate;
}
.quick-card:hover { text-decoration: none; border-color: #555; }
.quick-card::after {
  content: ''; position: absolute; z-index: -1; inset: 0; background: var(--surface);
}
.quick-card.is-light::after { background: #f3f3f3; }
.quick-card.is-light { color: #111; border-color: #ddd; }
.quick-card .quick-slash {
  position: absolute; z-index: -1; right: -8%; top: -30%;
  width: 48%; height: 160%;
  background: #fff; opacity: .05;
  transform: skewX(-16deg);
}
.quick-card.is-light .quick-slash { background: #000; opacity: .05; }
.quick-card h3 {
  margin: 0; font-family: var(--font-display);
  font-size: 16px; font-weight: 700; letter-spacing: -.015em;
}
.quick-card p { display: none; } /* no English sub-labels */
.quick-card .quick-go {
  display: inline-flex; align-items: center;
  margin-top: 10px; align-self: flex-start;
  min-height: 26px; padding: 2px 10px; border-radius: var(--radius-pill);
  border: 1px solid currentColor; font-size: 11.5px; font-weight: 650; opacity: .8;
}
.quick-card .quick-copy { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; position: relative; z-index: 1; }
.quick-card .quick-tile {
  position: absolute; right: 12px; bottom: 12px; z-index: 1;
  width: 44px; height: 44px; border-radius: 12px;
  display: inline-flex; align-items: center; justify-content: center;
  background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.12);
  color: #fff;
}
.quick-card.is-light .quick-tile {
  background: rgba(0,0,0,.05); border-color: rgba(0,0,0,.08); color: #111;
}
.quick-card .quick-tile .ic svg { width: 28px; height: 28px; }
.quick-card .quick-go { gap: 4px; }

/* Sections */
.section { padding: 24px 0; }
.section + .section { border-top: 0; }
.section-head {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  margin-bottom: 12px;
}
.section-head h2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 20px; font-weight: 700; letter-spacing: -.015em;
}
.section-head .sub { display: none; }
.text-link {
  display: inline-flex; align-items: center; gap: 4px;
  min-height: 30px; padding: 4px 11px; border-radius: var(--radius-pill);
  border: 1px solid var(--line); background: var(--surface);
  font-size: 12.5px; font-weight: 600; color: var(--ink-soft); white-space: nowrap;
}
.text-link:hover { text-decoration: none; border-color: #555; color: #fff; }
.eyebrow, .kicker { margin: 0 0 6px; font-size: 12px; font-weight: 600; color: var(--muted); }

.why-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.why-card {
  display: flex; gap: 12px; align-items: flex-start;
  padding: 14px; border-radius: var(--radius-lg);
  border: 1px solid var(--line); background: var(--surface);
}
.why-card .why-ico {
  width: 34px; height: 34px; border-radius: 9px; flex: none;
  display: grid; place-items: center;
  border: 1px solid var(--line); background: #0a0a0a; color: #fff;
}
.why-card h3 { margin: 0 0 2px; font-size: 14.5px; font-weight: 700; }
.why-card p { margin: 0; font-size: 13px; color: var(--muted); line-height: 1.5; }

.cat-banner-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.cat-banner {
  display: flex; flex-direction: column;
  border-radius: var(--radius-lg); overflow: hidden;
  border: 1px solid var(--line); background: var(--surface);
  color: inherit; text-decoration: none;
}
.cat-banner:hover { text-decoration: none; border-color: #555; }
.cat-banner-art { aspect-ratio: 800 / 220; background: #0a0a0a; }
.cat-banner-art img { width: 100%; height: 100%; object-fit: cover; display: block; }
.cat-banner-foot {
  display: flex; align-items: center; justify-content: space-between; gap: 8px;
  padding: 10px 12px;
}
.cat-banner-foot strong { display: block; font-size: 13px; }
.cat-banner-foot small { color: var(--muted); font-size: 11.5px; }
.price-pill {
  flex: none; display: inline-flex; align-items: center;
  min-height: 26px; padding: 2px 10px; border-radius: var(--radius-pill);
  border: 1px solid var(--line); background: #0a0a0a;
  font-size: 11.5px; font-weight: 650; color: var(--ink-soft); white-space: nowrap;
}

/* Product cards */
.product-grid, .product-grid--shop {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px;
}
.product-grid--dense { grid-template-columns: repeat(2, 1fr); gap: 8px; }
.product-card, .product-card--shop {
  display: flex; flex-direction: column;
  padding: 0; overflow: hidden;
  border-radius: var(--radius-lg); border: 1px solid var(--line);
  background: var(--surface); color: inherit;
}
.product-card:hover, .product-card--shop:hover { border-color: #555; }
.product-card.is-featured, .product-card--shop.is-featured {
  border-color: #555; background: var(--surface);
}
.product-media {
  position: relative; display: block; aspect-ratio: 4/3;
  background: #0a0a0a; overflow: hidden;
}
.product-media img {
  width: 100%; height: 100%; object-fit: cover; display: block;
  filter: grayscale(1) contrast(1.05);
}
.product-media-badge { position: absolute; left: 8px; top: 8px; }
.product-body { display: flex; flex-direction: column; gap: 5px; padding: 10px; flex: 1; }
.product-body h3 { margin: 0; font-family: var(--font-display); font-size: 13px; font-weight: 650; line-height: 1.3; }
.product-body h3 a { color: #fff; }
.product-body h3 a:hover { text-decoration: none; }
.product-meta { display: flex; flex-wrap: wrap; gap: 4px; font-size: 11px; color: var(--muted); margin: 0; }
.product-buy {
  display: flex; flex-direction: column; gap: 6px;
  margin-top: auto; padding-top: 8px; border-top: 1px solid var(--line);
}
.buy-price-label {
  display: block; font-size: 11px; font-weight: 500; color: var(--faint); line-height: 1.2;
}
.buy-price-row {
  display: flex; align-items: center; justify-content: space-between; gap: 8px;
}
.product-price {
  font-family: var(--font-display); font-size: 20px; font-weight: 750; line-height: 1.05;
  letter-spacing: -.02em; color: #fff;
}
.product-price small {
  display: block; margin-top: 2px;
  font-family: var(--font-body); font-size: 10px; font-weight: 500; color: var(--faint);
}
.btn--buy {
  display: inline-flex; align-items: center; justify-content: center; gap: 7px;
  min-height: 36px; padding: 8px 12px; border-radius: 999px;
  background: #f3f3f3; color: #111; border: 1px solid #f3f3f3;
  font-size: 13px; font-weight: 700; text-decoration: none; white-space: nowrap;
}
.btn--buy:hover { background: #fff; border-color: #fff; color: #000; text-decoration: none; }
.btn--buy .ic { color: inherit; }
.btn--buy.is-disabled, .btn--buy[disabled] { opacity: .55; cursor: not-allowed; pointer-events: none; }
.product-desc { margin: 0; font-size: 12.5px; color: var(--muted); }

.badge {
  display: inline-flex; align-items: center;
  font-size: 10.5px; font-weight: 650; padding: 2px 7px; border-radius: 6px;
  border: 1px solid var(--line); color: var(--ink-soft); background: #0a0a0a;
  white-space: nowrap; width: fit-content;
}
.badge-info { background: #fff; color: #000; border-color: #fff; }
.badge-delivery { background: #0a0a0a; color: #fff; border-color: #444; }
.badge-success { border-color: #14532d; color: var(--ok); background: var(--ok-soft); }
.badge-danger { border-color: #7f1d1d; color: #fecaca; background: var(--danger-soft); }
.badge-vip { border-color: #854d0e; color: var(--warn); background: var(--warn-soft); }

/* FAQ */
.faq-acc { display: grid; gap: 6px; }
.faq-acc details {
  border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--surface);
  overflow: hidden;
}
.faq-acc summary {
  list-style: none; cursor: pointer;
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  padding: 12px 14px; font-weight: 650; font-size: 13.5px;
}
.faq-acc summary::-webkit-details-marker { display: none; }
.faq-acc summary::after { content: none; }
.faq-acc details[open] { border-color: #444; }
.faq-acc .faq-q { display: inline-flex; align-items: center; gap: 8px; min-width: 0; }
.faq-acc .faq-chev { display: inline-flex; color: var(--muted); transition: transform .15s ease; }
.faq-acc details[open] .faq-chev { transform: rotate(180deg); color: #fff; }
.faq-acc .faq-body { padding: 0 14px 12px; color: var(--muted); font-size: 13px; }

.faq-list { display: grid; gap: 0; }
.faq-item { padding: 12px 0; border-top: 1px solid var(--line); }
.faq-item h3 { margin: 0 0 3px; font-size: 14px; }

.page-head { display: flex; align-items: flex-start; gap: 10px; margin: 0 0 16px; }
.page-head h2, .catalog-head h1, .pricing-page-head h1 {
  margin: 0; font-family: var(--font-display);
  font-size: clamp(22px, 3vw, 28px); font-weight: 700; letter-spacing: -.02em;
}
.catalog-page, .packages-page { padding: 16px 0 12px; }
.catalog-head, .pricing-page-head {
  display: flex; justify-content: space-between; align-items: flex-end; gap: 14px;
  margin-bottom: 14px;
}
.chip-row { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 12px; }
.chip {
  display: inline-flex; align-items: center; gap: 6px; min-height: 30px; padding: 4px 11px;
  border-radius: var(--radius-pill); border: 1px solid var(--line);
  background: var(--surface); color: var(--muted); font-size: 12.5px; font-weight: 550;
}
a.chip:hover { text-decoration: none; color: #fff; border-color: #555; }
.chip.is-active { background: #fff; color: #000; border-color: #fff; }
.example-note {
  display: inline-flex; align-items: center; gap: 5px; margin: 0 0 12px;
  padding: 6px 10px; border-radius: 8px;
  border: 1px solid var(--line); background: var(--surface); color: var(--muted); font-size: 12px;
}

.category-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.category-card {
  display: flex; flex-direction: column; gap: 8px; padding: 14px;
  border-radius: var(--radius-lg); border: 1px solid var(--line); background: var(--surface); color: inherit;
}
a.category-card:hover { text-decoration: none; border-color: #555; }
.card-icon, .category-card .card-icon {
  display: grid; place-items: center; width: 34px; height: 34px; border-radius: 9px;
  background: #0a0a0a; color: #fff; border: 1px solid var(--line); margin: 0;
}
.category-card h3 { margin: 0; font-size: 14.5px; font-weight: 700; }
.category-card p { margin: 0; font-size: 12.5px; color: var(--muted); }
.cat-count { font-size: 11.5px; color: var(--faint); }

.product-breadcrumb {
  display: flex; flex-wrap: wrap; gap: 6px; align-items: center;
  margin: 0 0 14px; font-size: 12.5px; color: var(--muted);
}
.product-breadcrumb a { color: var(--muted); }
.product-breadcrumb a:hover { color: #fff; }
.product-detail-page { padding-top: 12px; }
.product-detail {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: 32px;
  align-items: start;
}
.product-detail-media {
  width: 100%;
  max-width: 420px;
  margin: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--line);
  background: #0a0a0a;
  aspect-ratio: 1 / 1;
}
.product-detail-media img {
  width: 100%; height: 100%; display: block; object-fit: cover;
  filter: grayscale(1) contrast(1.05);
}
.product-detail-info { min-width: 0; }
@media (min-width: 901px) {
  .product-detail-info { position: sticky; top: 72px; }
}
.product-detail-info h1 {
  margin: 0 0 8px; font-family: var(--font-display);
  font-size: 24px; font-weight: 700; letter-spacing: -.02em; line-height: 1.25;
}
.product-detail-meta { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; margin-bottom: 10px; }
.product-detail-price {
  margin: 0 0 10px; font-family: var(--font-display);
  font-size: 26px; font-weight: 700; line-height: 1.1;
}
.product-detail-price small {
  display: block; margin-top: 4px; font-family: var(--font-body);
  font-size: 11.5px; font-weight: 500; color: var(--faint);
}
.product-detail-desc { margin: 0 0 12px; color: var(--muted); font-size: 13.5px; line-height: 1.55; }
.product-howto {
  margin: 0 0 14px; padding: 12px 14px;
  border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--surface);
}
.product-howto h2 { margin: 0 0 6px; font-size: 13.5px; font-weight: 700; font-family: var(--font-display); }
.product-howto ol { margin: 0; padding-left: 18px; color: var(--muted); font-size: 12.5px; }
.product-howto li { margin: 4px 0; }
.product-howto a { text-decoration: underline; text-underline-offset: 2px; }
.product-detail-actions { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.product-detail-actions .btn { min-height: 36px; }
.product-note, .product-detail-info .preview-purchase-note {
  text-align: left; color: var(--faint); font-size: 11.5px; margin: 10px 0 0;
}
.product-related { padding-top: 8px; border-top: 1px solid var(--line); margin-top: 8px; }
.product-grid--related { grid-template-columns: repeat(4, 1fr); }

.process { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.process-step {
  padding: 14px; border-radius: var(--radius-lg); border: 1px solid var(--line); background: var(--surface);
  display: grid; grid-template-columns: 36px 1fr; gap: 8px; position: relative;
}
.process-step .step-ico {
  width: 36px; height: 36px; border-radius: 10px;
  display: inline-flex; align-items: center; justify-content: center;
  background: #111; border: 1px solid var(--line); color: #fff; grid-row: 1 / span 2;
}
.process-step .step-num {
  position: absolute; top: 10px; right: 12px;
  font-family: var(--font-display); font-size: 12px; font-weight: 700; color: var(--faint);
}
.process-step h3 { margin: 0 0 2px; font-size: 14px; }
.process-step p { margin: 0; font-size: 12.5px; color: var(--muted); }

.feature-list { list-style: none; margin: 10px 0 12px; padding: 0; display: grid; gap: 6px; }
.feature-list li { display: flex; gap: 6px; align-items: flex-start; font-size: 13px; color: var(--ink-soft); }
.help-block {
  border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--surface);
  padding: 14px 16px; margin: 10px 0;
}
.help-block h3 { margin: 0 0 6px; font-size: 14.5px; display: inline-flex; align-items: center; gap: 8px; }
.help-block ol { margin: 0; padding-left: 18px; color: var(--muted); font-size: 13px; }
.help-block li { margin: 4px 0; }

.final-cta {
  margin-top: 18px; padding: 16px 18px; border-radius: var(--radius-lg);
  border: 1px solid var(--line); background: var(--surface);
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
}
.final-cta h2 { margin: 0 0 2px; font-size: 17px; font-family: var(--font-display); }
.final-cta p { margin: 0; color: var(--muted); font-size: 13px; }

.purchase-guide {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  margin-top: 16px; padding: 12px 14px; border-radius: var(--radius-lg);
  border: 1px solid var(--line); background: var(--surface);
}
.preview-purchase-note { text-align: left; color: var(--faint); font-size: 11.5px; margin: 10px 0 0; }
.purchase-guide + .preview-purchase-note, .packages-page > .preview-purchase-note { text-align: center; }
.subhead { display: flex; align-items: center; gap: 6px; margin: 18px 0 10px; }
.subhead h3 { margin: 0; font-size: 14.5px; }

table { width: 100%; border-collapse: collapse; font-size: 13px; }
th, td { text-align: left; padding: 9px 10px; border-bottom: 1px solid var(--line); }
th { color: var(--muted); font-weight: 600; font-size: 11.5px; }
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.table-wrap thead th { background: #0a0a0a; }
.table-wrap tr:last-child td { border-bottom: none; }

.form label { display: block; font-weight: 600; margin: 10px 0 5px; font-size: 13px; }
.form input, .form select, .form textarea {
  width: 100%; padding: 9px 11px; border-radius: 9px;
  border: 1px solid var(--line-strong); background: #0a0a0a; color: #fff; font: inherit; font-size: 13.5px;
}
.form input:focus, .form select:focus, .form textarea:focus {
  outline: 2px solid #fff; outline-offset: 2px; border-color: #fff;
}

.alert { padding: 10px 12px; border-radius: 9px; margin: 12px 0; border: 1px solid; font-size: 13px; }
.alert-success { background: var(--ok-soft); border-color: #14532d; color: var(--ok); }
.alert-error { background: var(--danger-soft); border-color: #7f1d1d; color: #fecaca; }
.alert-info { background: #111; border-color: #333; color: #ddd; }

code { background: #111; border: 1px solid var(--line); padding: 1px 5px; border-radius: 5px; font-family: var(--font-mono); font-size: 12px; }
pre {
  background: #0a0a0a; color: #e5e5e5; padding: 12px; border-radius: var(--radius);
  border: 1px solid var(--line); overflow-x: auto; font-family: var(--font-mono); font-size: 12.5px;
}
pre code { border: 0; background: none; padding: 0; }
.key-box { background: #0a0a0a; border: 1px solid var(--line); border-radius: 8px; padding: 8px 10px; font-family: var(--font-mono); word-break: break-all; font-size: 12.5px; }
.progress { height: 6px; background: #222; border-radius: 999px; overflow: hidden; }
.progress > div { height: 100%; background: #fff; }

.card {
  border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 14px; background: var(--surface);
  display: flex; flex-direction: column;
}
.price { font-family: var(--font-display); font-size: 26px; font-weight: 700; margin: 8px 0 !important; }
.grid { display: grid; gap: 8px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }

/* Footer */
.site-footer {
  margin-top: 24px; padding: 28px 0 0;
  border-top: 1px solid var(--line); background: #050505;
  color: var(--muted); font-size: 12.5px;
}
.footer-cols {
  display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 20px;
  width: min(var(--max), calc(100% - 32px)); margin-inline: auto;
}
.footer-brand {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-display); font-weight: 700; color: #fff; font-size: 15px;
}
.footer-brand .brand-mark {
  display: inline-flex; width: 26px; height: 26px; border-radius: 8px;
  background: #111; border: 1px solid var(--line); color: #fff;
  align-items: center; justify-content: center;
}
.footer-col h4 {
  margin: 0 0 8px; font-size: 12px; font-weight: 700; color: #fff;
  font-family: var(--font-display);
  display: inline-flex; align-items: center; gap: 6px;
}
.footer-col a {
  display: flex; align-items: center; gap: 7px; padding: 3px 0; color: var(--muted);
}
.footer-col a:hover { color: #fff; }
.footer-bottom { align-items: center; }
.footer-bottom .ic { opacity: .7; }
.footer-bottom {
  display: flex; justify-content: space-between; gap: 10px; flex-wrap: wrap;
  width: min(var(--max), calc(100% - 32px)); margin: 18px auto 0;
  padding: 12px 0; border-top: 1px solid var(--line); font-size: 11.5px;
}
.footer-wordmark {
  width: min(var(--max), calc(100% - 32px)); margin: 20px auto 0;
  overflow: hidden; text-align: center; user-select: none; pointer-events: none;
}
.footer-wordmark span {
  display: block;
  font-family: var(--font-display); font-weight: 800;
  font-size: clamp(48px, 14vw, 120px); line-height: .85;
  letter-spacing: -.05em; color: #fff; opacity: .05;
  white-space: nowrap;
}

/* Auth compact */
body:has(.auth-scene) { background: #000; }
body:has(.auth-scene) .site-header,
body:has(.auth-scene) .site-footer { display: none; }
body:has(.auth-scene) main { width: 100%; max-width: none; padding: 0; }
body:has(.auth-scene) main > .alert { width: min(400px, calc(100% - 32px)); margin: 12px auto; }
.auth-minimal {
  --auth-bg: #000; --auth-ink: #fff; --auth-muted: #a3a3a3;
  --auth-border: #333; --auth-control: #141414; --auth-accent: #fff;
  position: relative; isolation: isolate; display: grid; grid-template-rows: auto 1fr auto;
  min-height: calc(100svh - 28px); background: var(--auth-bg); color: var(--auth-ink);
  font-family: var(--font-display); font-weight: 500;
}
.auth-minimal::before { display: none; }
.auth-topbar { display: flex; justify-content: space-between; align-items: center; padding: 18px 24px; }
.auth-brand { display: inline-flex; align-items: center; gap: 8px; color: #fff; font-size: 13px; font-weight: 700; }
.auth-brand:hover { text-decoration: none; color: #fff; }
.auth-brand-icon {
  display: grid; place-items: center; width: 26px; height: 26px;
  border-radius: 7px; background: #111; border: 1px solid #333; color: #fff;
}
.auth-back { color: var(--auth-muted); font-size: 12px; display: inline-flex; align-items: center; gap: 5px; }
.auth-back:hover { color: #fff; text-decoration: none; }
.auth-stage { width: min(340px, calc(100% - 40px)); align-self: center; justify-self: center; padding-block: 36px 72px; }
.auth.auth-card { max-width: none; width: 100%; margin: 0; padding: 0; background: none; border: 0; }
.auth-heading { margin: 0 0 20px; text-align: center; }
.auth-heading h1 { margin: 0; font: 700 22px/1.35 var(--font-display); letter-spacing: -.025em; }
.auth-heading p { margin: 6px 0 0; color: var(--auth-muted); font-size: 12.5px; font-family: var(--font-body); }
.auth-card .provider-list { display: grid; gap: 0; margin: 0; }
.auth-card .provider-google {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  width: 100%; height: 40px; border-radius: var(--radius-pill);
  border: 1px solid #fff; background: #fff; color: #111;
  font: 600 13px/1.4 var(--font-display);
}
.auth-card a.provider-google:hover { background: #e8e8e8; text-decoration: none; color: #111; }
.auth-card .auth-google-disabled { opacity: .5; cursor: not-allowed; background: #333; border-color: #333; color: #aaa; }
.auth-provider-help { margin: 6px 0 0; color: var(--auth-muted); text-align: center; font-size: 11px; font-family: var(--font-body); }
.auth-method-divider { display: flex; align-items: center; gap: 12px; color: var(--auth-muted); font-size: 11px; margin: 16px 0; font-family: var(--font-body); }
.auth-method-divider::before, .auth-method-divider::after { content: ''; flex: 1; height: 1px; background: #333; }
.auth-telegram-widget {
  display: flex; align-items: center; justify-content: center; min-height: 40px;
  border: 1px solid var(--auth-border); border-radius: var(--radius-pill); background: var(--auth-control);
}
.auth-new-account, .auth-fineprint { margin: 16px 0 0; text-align: center; color: var(--auth-muted); font-size: 12px; line-height: 1.7; font-family: var(--font-body); }
.auth-fineprint { font-size: 11px; }
.auth-bottom {
  display: flex; justify-content: space-between; align-items: center; gap: 10px;
  padding: 14px 24px; color: var(--auth-muted); font-size: 11px; font-family: var(--font-body);
}
.auth-bottom a { color: var(--auth-muted); }
.auth-bottom a:hover { color: #fff; }
.provider-list { display: grid; gap: 10px; }
.provider-google { background: #fff; color: #111; border-color: #fff; }
.provider-off { border: 1px dashed #333; border-radius: 10px; padding: 10px; color: var(--muted); }

.store-hero { display: none; }
::selection { background: #fff; color: #000; }

@media (max-width: 1100px) {
  .product-grid, .product-grid--shop { grid-template-columns: repeat(3, 1fr); }
  .quick-grid { grid-template-columns: repeat(2, 1fr); }
  .nav-search { display: none; }
}
@media (max-width: 900px) {
  .stat-grid { grid-template-columns: repeat(2, 1fr); }
  .product-grid, .product-grid--shop { grid-template-columns: repeat(2, 1fr); }
  .cat-banner-grid, .why-grid, .product-detail { grid-template-columns: 1fr; gap: 16px; }
  .product-detail-media { max-width: none; aspect-ratio: 4 / 3; max-height: 280px; }
  .product-detail-media img { max-height: 280px; }
  .product-detail-info { position: static; }
  .product-detail-info h1 { font-size: 22px; }
  .product-grid--related { grid-template-columns: repeat(2, 1fr); }
  .footer-cols { grid-template-columns: 1fr 1fr; gap: 16px; }
  .process { grid-template-columns: 1fr; }
  .category-grid, .grid-3 { grid-template-columns: 1fr 1fr; }
  .section { padding: 16px 0; }
  .quick-grid { margin-bottom: 24px; }
}
@media (max-width: 760px) {
  .container, .promo-carousel, .announce-bar, .stat-grid, .quick-grid, .footer-cols, .footer-bottom, .footer-wordmark {
    width: calc(100% - 24px);
  }
  .header-inner, .nav-pill-wrap {
    width: calc(100% - 16px);
  }
  .site-header { padding: 8px 0 6px; top: 0; }
  .nav-pill {
    flex-wrap: wrap;
    min-height: 48px;
    height: auto;
    border-radius: 999px;
    padding: 7px 8px;
    gap: 6px;
    background: #111;
    border: 1px solid var(--line);
    align-items: center;
  }
  .site-header.is-scrolled .nav-pill { background: rgba(17,17,17,.96); }
  .brand .brand-mark { width: 28px; height: 28px; border-radius: 9px; }
  .brand .brand-mark .ic svg { width: 14px; height: 14px; }
  .brand { font-size: 16px; gap: 8px; }
  .brand-text small { display: none; }
  .nav-mobile-tools { display: inline-flex; gap: 6px; }
  .nav-icon-btn { width: 34px; height: 34px; }
  .header-menu { width: 100%; margin: 0; flex: none; order: 3; }
  .nav-ready .menu-toggle {
    display: inline-flex; align-items: center; justify-content: center;
    width: 34px; height: 34px; margin-left: 0;
    border-radius: 50%; border: 1px solid var(--line); background: #0a0a0a; color: #fff; cursor: pointer;
  }
  .mobile-search { width: calc(100% - 16px); }
  .menu-toggle-lines { display: grid; gap: 4px; }
  .menu-toggle-lines > span { display: block; width: 15px; height: 1.5px; background: currentColor; transition: transform .15s, opacity .15s; }
  .menu-open .menu-toggle-lines > span:first-child { transform: translateY(5.5px) rotate(45deg); }
  .menu-open .menu-toggle-lines > span:nth-child(2) { opacity: 0; }
  .menu-open .menu-toggle-lines > span:last-child { transform: translateY(-5.5px) rotate(-45deg); }
  .nav-ready .header-menu {
    display: grid; grid-template-rows: 0fr; visibility: hidden; opacity: 0;
    transition: grid-template-rows .2s, opacity .15s, visibility .2s;
  }
  .nav-ready.menu-open .header-menu { grid-template-rows: 1fr; visibility: visible; opacity: 1; }
  .nav-ready .header-menu-inner { min-height: 0; overflow: hidden; display: block; }
  .nav { flex-direction: column; align-items: stretch; gap: 2px; padding: 6px 0; }
  .nav a { justify-content: flex-start; min-height: 40px; border-radius: 10px; }
  .header-actions {
    display: grid; grid-template-columns: 1fr 1fr; gap: 6px;
    padding: 6px 0 2px; border-top: 1px solid var(--line);
  }
  .header-login, .header-logout, .header-docs, .header-signup { justify-content: center; min-height: 40px; }
  .btn, .btn--lg { min-height: 40px; }
  .btn-sm, .btn--sm { min-height: 36px; }

  .zt-hero { padding: 14px 0 10px; }
  .zt-hero h1 { font-size: 28px; }
  .zt-hero .lead { font-size: 13.5px; margin-bottom: 12px; }

  .promo-track { height: 170px; }
  .product-detail-media { max-height: 240px; aspect-ratio: auto; height: 240px; }
  .product-detail-media img { height: 240px; max-height: 240px; object-fit: cover; }
  .promo-nav { display: none; } /* arrows off on mobile — dots only */
  .promo-dots { margin-top: 6px; }

  .stat-grid, .quick-grid { grid-template-columns: repeat(2, 1fr); }
  .product-grid, .product-grid--shop, .product-grid--dense, .product-grid--related { grid-template-columns: repeat(2, 1fr); gap: 8px; }
  .category-grid, .grid-3, .grid-2 { grid-template-columns: 1fr; }

  .section { padding: 16px 0; }
  .section-head h2 { font-size: 18px; }
  .quick-grid { margin-bottom: 20px; }
  .final-cta, .purchase-guide { flex-direction: column; align-items: flex-start; }
  .final-cta .btn, .product-detail-actions .btn { width: 100%; justify-content: center; }
  .product-card--shop .product-buy .btn--buy { width: 100%; }
  .product-card--shop .btn-sm { width: 100%; justify-content: center; }
  .footer-cols > div:first-child { grid-column: 1 / -1; }
  .auth-topbar, .auth-bottom { padding-inline: 16px; }
  .catalog-head, .pricing-page-head, .section-head { flex-direction: column; align-items: flex-start; }
}


/* === v15 icons === */
.sec-ico {
  display: inline-flex; align-items: center; justify-content: center;
  width: 26px; height: 26px; margin-right: 8px; vertical-align: -5px;
  border-radius: 8px; background: #111; border: 1px solid var(--line); color: #fff;
}
.section-head h2, .catalog-head h1, .pricing-page-head h1, .page-head h2 {
  display: flex; align-items: center; flex-wrap: wrap; gap: 0;
}
.status-pill { display: inline-flex; align-items: center; gap: 6px; }
.status-pill .ic { opacity: .9; }
.announce-tag { display: inline-flex; align-items: center; gap: 5px; }
.btn .ic, .btn-sm .ic, a.btn .ic, button.btn .ic { margin-right: 2px; }
.btn, .btn-sm, .header-login, .header-signup, .header-logout, .text-link {
  gap: 6px;
}
.header-signup, .header-logout, .header-login { display: inline-flex; align-items: center; }
.meta-chip {
  display: inline-flex; align-items: center; gap: 5px;
  min-height: 22px; padding: 2px 8px; border-radius: 999px;
  border: 1px solid var(--line); background: var(--surface);
  color: var(--muted); font-size: 11.5px; font-weight: 550;
}
.product-meta { display: flex; flex-wrap: wrap; gap: 6px; margin: 6px 0 8px; }
.product-card--shop .product-buy .btn--buy { display: inline-flex; align-items: center; gap: 7px; }
.badge-delivery { display: inline-flex; align-items: center; gap: 5px; }
.product-media-badge { display: inline-flex; align-items: center; gap: 4px; font-size: 11px; }
.cat-banner-foot strong { display: inline-flex; align-items: center; gap: 6px; }
.cat-ico {
  display: inline-flex; width: 22px; height: 22px; border-radius: 7px;
  align-items: center; justify-content: center;
  background: #111; border: 1px solid var(--line); color: #fff;
}
.price-pill { display: inline-flex; align-items: center; gap: 4px; }
.why-card .why-ico { width: 36px; height: 36px; }
.why-card .why-ico .ic svg { width: 18px; height: 18px; }
.product-checklist {
  list-style: none; margin: 0 0 12px; padding: 0;
  display: grid; gap: 6px;
}
.product-checklist li {
  display: flex; align-items: flex-start; gap: 8px;
  font-size: 12.5px; color: var(--ink-soft);
}
.product-checklist .ic { color: #fff; margin-top: 1px; }
.howto-steps {
  list-style: none; margin: 0; padding: 0; display: grid; gap: 8px;
}
.howto-steps li {
  display: flex; align-items: flex-start; gap: 10px;
  margin: 0; color: var(--muted); font-size: 12.5px;
}
.howto-ico {
  width: 28px; height: 28px; border-radius: 8px; flex: none;
  display: inline-flex; align-items: center; justify-content: center;
  background: #0a0a0a; border: 1px solid var(--line); color: #fff;
}
.product-howto h2 { display: flex; align-items: center; }
.product-breadcrumb { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.product-breadcrumb a { display: inline-flex; align-items: center; gap: 4px; }
.auth-back { display: inline-flex; align-items: center; gap: 6px; }
.auth-back-ico { transform: scaleX(-1); }
.auth-new-account, .auth-fineprint { display: flex; align-items: flex-start; gap: 6px; }
.auth-bottom nav a { display: inline-flex; align-items: center; gap: 4px; }
.example-note .ic { opacity: .8; }
.final-cta h2 { display: inline-flex; align-items: center; gap: 8px; }
.eyebrow { display: inline-flex; align-items: center; gap: 5px; }


/* === v15 category + mobile nav extras === */
.btn--light {
  background: #f3f3f3; color: #111; border-color: #f3f3f3; font-weight: 700;
}
.btn--light:hover { background: #fff; border-color: #fff; color: #000; text-decoration: none; }

.cat-hero {
  position: relative; overflow: hidden;
  display: grid; grid-template-columns: 1.2fr .8fr; gap: 12px; align-items: center;
  min-height: 200px; padding: 28px 28px 28px 32px;
  border-radius: 22px; border: 1px solid var(--line);
  background: linear-gradient(135deg, #141414 0%, #0a0a0a 55%, #111 100%);
  margin: 10px 0 18px;
}
.cat-hero-word {
  position: absolute; right: 4%; top: 50%; transform: translateY(-50%);
  font-family: var(--font-display); font-size: clamp(64px, 10vw, 120px); font-weight: 800;
  letter-spacing: -.04em; color: transparent; -webkit-text-stroke: 1px rgba(255,255,255,.08);
  pointer-events: none; white-space: nowrap; z-index: 0;
}
.cat-hero-slash {
  position: absolute; z-index: 1; left: 52%; top: -20%; bottom: -20%;
  width: 44px; background: #fff; opacity: .92;
  transform: skewX(-18deg);
}
.cat-hero-copy { position: relative; z-index: 2; max-width: 36ch; }
.cat-hero-label {
  display: inline-flex; min-height: 22px; padding: 2px 10px; margin-bottom: 10px;
  border-radius: 999px; border: 1px solid rgba(255,255,255,.2);
  font-size: 10.5px; font-weight: 700; letter-spacing: .08em; color: var(--muted);
}
.cat-hero h1 {
  margin: 0 0 8px; font-family: var(--font-display);
  font-size: clamp(28px, 4vw, 40px); font-weight: 750; letter-spacing: -.02em;
}
.cat-hero p { margin: 0; color: var(--muted); font-size: 13.5px; line-height: 1.55; }
.cat-hero-tiles {
  position: relative; z-index: 2;
  display: flex; justify-content: flex-end; align-items: center; gap: 10px;
  padding-right: 8px;
}
.cat-hero-tile {
  width: 64px; height: 64px; border-radius: 18px;
  display: inline-flex; align-items: center; justify-content: center;
  background: #161616; border: 1px solid var(--line); color: #fff;
  box-shadow: 0 12px 28px -18px #000;
}
.cat-hero-tile.t1 { transform: rotate(-8deg) translateY(8px); }
.cat-hero-tile.t2 { transform: rotate(4deg) translateY(-10px); width: 72px; height: 72px; border-radius: 20px; }
.cat-hero-tile.t3 { transform: rotate(10deg) translateY(4px); }

.cat-intro {
  display: flex; justify-content: space-between; align-items: flex-end; gap: 14px;
  margin-bottom: 16px; flex-wrap: wrap;
}
.cat-intro h2 {
  margin: 0 0 4px; font-family: var(--font-display);
  font-size: clamp(22px, 3vw, 28px); font-weight: 750; letter-spacing: -.02em;
}
.cat-intro-pills { display: flex; flex-wrap: wrap; gap: 6px; }

.cat-toolbar {
  display: flex; justify-content: space-between; align-items: flex-end; gap: 12px;
  margin-bottom: 12px; flex-wrap: wrap;
}
.cat-toolbar h3 { margin: 0 0 2px; font-size: 15px; font-family: var(--font-display); }
.cat-sort {
  display: inline-flex; align-items: center; gap: 6px;
  min-height: 34px; padding: 4px 10px 4px 12px;
  border-radius: 999px; border: 1px solid var(--line); background: var(--surface); color: #fff;
}
.cat-sort select {
  border: 0; background: transparent; color: #fff; font: inherit; font-size: 12.5px;
  outline: none; cursor: pointer;
}
.cat-sort select option { color: #111; }

.cat-product-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px;
}
.cat-product-card {
  display: flex; flex-direction: column;
  border: 1px solid var(--line); border-radius: 18px; background: var(--surface); overflow: hidden;
}
.cat-product-media {
  position: relative; display: block; aspect-ratio: 1 / 1;
  background: #0e0e0e; overflow: hidden; text-decoration: none; color: inherit;
}
.cat-product-media img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .35;
}
.cat-product-tag {
  position: absolute; z-index: 2; left: 10px; top: 10px;
  display: inline-flex; align-items: center; gap: 4px;
  min-height: 22px; padding: 2px 8px; border-radius: 999px;
  background: rgba(0,0,0,.65); border: 1px solid rgba(255,255,255,.12);
  color: #fff; font-size: 10.5px; font-weight: 650;
}
.cat-product-label {
  position: absolute; z-index: 2; left: 12px; bottom: 14px;
  font-family: var(--font-display); font-size: clamp(22px, 3vw, 28px);
  font-weight: 800; letter-spacing: -.03em; color: #fff; line-height: 1;
  max-width: 70%;
}
.cat-product-ico {
  position: absolute; z-index: 2; right: 14px; top: 42%;
  width: 52px; height: 52px; border-radius: 16px;
  display: inline-flex; align-items: center; justify-content: center;
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1); color: #fff;
  transform: rotate(8deg);
}
.cat-product-body { padding: 12px 12px 14px; display: flex; flex-direction: column; gap: 10px; }
.cat-product-body h3 { margin: 0; font-size: 14px; font-weight: 700; line-height: 1.35; }
.cat-product-body h3 a { color: #fff; }
.cat-product-body h3 a:hover { text-decoration: none; color: #fff; }
.cat-product-price-row { display: flex; align-items: flex-end; justify-content: space-between; gap: 8px; }
.cat-price-label { display: block; font-size: 11px; color: var(--faint); margin-bottom: 2px; }
.cat-price { font-family: var(--font-display); font-size: 22px; font-weight: 750; letter-spacing: -.02em; }
.status-ready {
  display: inline-flex; align-items: center; gap: 5px;
  min-height: 22px; padding: 3px 9px; border-radius: 999px;
  background: #052e16; border: 1px solid #166534; color: #86efac;
  font-size: 11px; font-weight: 650; white-space: nowrap; flex: none;
}
.status-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: #22c55e; box-shadow: 0 0 0 3px #22c55e22;
}
.cat-buy-btn { margin-top: 2px; }
.cat-product-body .product-buy { border-top: 0; padding-top: 2px; }
.cat-product-body .product-price, .cat-price { font-size: 20px; }

html.theme-light {
  color-scheme: light;
  --bg: #f4f4f5; --surface: #fff; --surface-2: #fafafa; --surface-3: #f0f0f0;
  --ink: #111; --ink-soft: #222; --muted: #555; --faint: #888;
  --line: #e4e4e7; --line-strong: #d4d4d8;
  --white: #111; --black: #fff;
}
html.theme-light body { background: var(--bg); color: var(--ink); }
html.theme-light .site-header .nav-pill,
html.theme-light .nav-pill { background: rgba(255,255,255,.92); border-color: var(--line); }
html.theme-light .brand, html.theme-light .brand:hover { color: #111; }
html.theme-light .brand .brand-mark { background: #111; color: #fff; border-color: #111; }
html.theme-light .nav a { color: #555; }
html.theme-light .nav a:hover, html.theme-light .nav a.active { color: #111; background: #1111110a; }
html.theme-light .nav-icon-btn, html.theme-light .menu-toggle {
  background: #fff; color: #111; border-color: var(--line);
}
html.theme-light .header-login, html.theme-light .header-logout { color: #555; }
html.theme-light .header-signup { background: #111; color: #fff; border-color: #111; }
html.theme-light .mobile-search { background: #fff; border-color: var(--line); }
html.theme-light .mobile-search input { color: #111; }

@media (max-width: 900px) {
  .cat-product-grid { grid-template-columns: repeat(2, 1fr); }
  .cat-hero { grid-template-columns: 1fr; min-height: 170px; padding: 20px; }
  .cat-hero-slash { left: auto; right: 34%; width: 28px; opacity: .85; }
  .cat-hero-tiles { justify-content: flex-start; margin-top: 4px; }
  .cat-hero-tile { width: 48px; height: 48px; border-radius: 14px; }
  .cat-hero-tile.t2 { width: 54px; height: 54px; }
}
@media (max-width: 760px) {
  .cat-hero { min-height: 170px; margin-top: 8px; }
  .cat-hero-word { font-size: 64px; right: -2%; opacity: .9; }
  .cat-product-grid { grid-template-columns: repeat(2, 1fr); gap: 8px; }
  .cat-product-body { padding: 10px; gap: 8px; }
  .cat-price { font-size: 18px; }
  .cat-product-label { font-size: 18px; bottom: 10px; left: 10px; }
  .cat-product-ico { width: 40px; height: 40px; right: 10px; border-radius: 12px; }
}

/* v17: full-width slim nav */
.site-header .nav-pill, .site-header .nav-shell, .site-header > .container, .nav-pill { max-width: none !important; width: auto !important; }
.nav-pill-wrap { max-width: none !important; width: 100% !important; padding-inline: 12px !important; margin-inline: 0 !important; }
@media (max-width: 760px) { .nav-pill-wrap { padding-inline: 6px !important; } }
@media (max-width: 760px) {
  .nav-pill-wrap { padding-inline: 0 !important; margin-top: 0 !important; }
  .nav-pill { border-radius: 0 !important; border-left: 0 !important; border-right: 0 !important; border-top: 0 !important; margin: 0 !important; padding-inline: 14px !important; }
}
/* v19: floating pill back on mobile, prettier */
@media (max-width: 760px) {
  .nav-pill-wrap { padding-inline: 6px !important; margin-top: 8px !important; }
  .nav-pill {
    border-radius: 999px !important;
    border: 1px solid rgba(255,255,255,.10) !important;
    margin: 0 !important; padding-inline: 8px 6px !important;
    background: linear-gradient(180deg, rgba(28,28,28,.92), rgba(14,14,14,.92)) !important;
    backdrop-filter: blur(14px) saturate(140%); -webkit-backdrop-filter: blur(14px) saturate(140%);
    box-shadow: 0 8px 24px rgba(0,0,0,.45), inset 0 1px 0 rgba(255,255,255,.06) !important;
  }
}
html.theme-light .nav-pill { background: rgba(255,255,255,.9) !important; border-color: rgba(0,0,0,.08) !important; box-shadow: 0 8px 24px rgba(0,0,0,.08) !important; }


/* v20 buy area */
.product-detail-buy {
  margin-top: 4px; padding: 12px 14px;
  border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--surface);
  display: flex; flex-direction: column; gap: 8px;
}
.product-detail-buy .product-detail-actions { margin-top: 2px; }
.product-detail-buy .btn--buy { min-height: 40px; font-size: 14px; }
.product-detail-price-inline { font-size: 26px; }
html.theme-light .product-price { color: #111; }
html.theme-light .btn--buy { background: #111; color: #fff; border-color: #111; }
html.theme-light .btn--buy:hover { background: #000; border-color: #000; color: #fff; }
html.theme-light .status-ready { background: #ecfdf5; border-color: #86efac; color: #166534; }
html.theme-light .buy-price-label { color: #737373; }
@media (max-width: 760px) {
  .product-price, .cat-product-body .product-price, .cat-price { font-size: 17px; }
  .btn--buy { min-height: 34px; font-size: 12.5px; padding: 6px 10px; }
  .status-ready { font-size: 10.5px; padding: 2px 7px; }
  .buy-price-label { font-size: 10.5px; }
}

.buy-form{width:100%}.buy-form .btn--buy{width:100%}
