:root {
  color-scheme: dark;
  --bg: #090b11;
  --surface: #11141c;
  --surface-2: #171b25;
  --surface-3: #1e2330;
  --line: rgba(255, 255, 255, 0.09);
  --line-strong: rgba(255, 255, 255, 0.15);
  --text: #f6f7fb;
  --muted: #979daa;
  --dim: #666d7c;
  --accent: #b8ff3d;
  --accent-2: #78e8ff;
  --danger: #ff6f83;
  --radius-sm: 12px;
  --radius: 18px;
  --radius-lg: 28px;
  --max: 1380px;
  --ease: cubic-bezier(.22, 1, .36, 1);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  background: var(--bg);
}

body {
  margin: 0;
  min-width: 320px;
  min-height: 100vh;
  overflow-x: hidden;
  color: var(--text);
  background:
    radial-gradient(circle at 76% -10%, rgba(94, 132, 255, .12), transparent 30%),
    linear-gradient(180deg, #090b11 0%, #0b0e14 42%, #090b11 100%);
  -webkit-font-smoothing: antialiased;
}

body.no-scroll { overflow: hidden; }

button, input, select, textarea { font: inherit; }
button { color: inherit; }
a { color: inherit; }

button, a, select { -webkit-tap-highlight-color: transparent; }

.svg-sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.ambient {
  position: fixed;
  z-index: -1;
  border-radius: 50%;
  filter: blur(110px);
  opacity: .09;
  pointer-events: none;
}

.ambient-one {
  width: 480px;
  height: 480px;
  top: 20vh;
  right: -260px;
  background: var(--accent);
}

.ambient-two {
  width: 380px;
  height: 380px;
  top: 70vh;
  left: -240px;
  background: #6a5cff;
}

.topbar {
  position: sticky;
  z-index: 40;
  top: 0;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  height: 76px;
  padding: 0 max(24px, calc((100vw - var(--max)) / 2));
  border-bottom: 1px solid var(--line);
  background: rgba(9, 11, 17, .75);
  backdrop-filter: blur(20px) saturate(140%);
}

.brand {
  display: inline-flex;
  width: max-content;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.brand-mark {
  position: relative;
  display: inline-flex;
  width: 35px;
  height: 32px;
  align-items: flex-end;
  justify-content: center;
  gap: 3px;
  transform: skewX(-9deg);
}

.brand-mark span {
  display: block;
  width: 7px;
  border-radius: 2px 2px 1px 1px;
  background: var(--accent);
  box-shadow: 0 0 16px rgba(184, 255, 61, .25);
}

.brand-mark span:nth-child(1) { height: 18px; }
.brand-mark span:nth-child(2) { height: 27px; }
.brand-mark span:nth-child(3) { height: 22px; }
.brand-mark.small { width: 25px; height: 21px; gap: 2px; }
.brand-mark.small span { width: 5px; }
.brand-mark.small span:nth-child(1) { height: 12px; }
.brand-mark.small span:nth-child(2) { height: 18px; }
.brand-mark.small span:nth-child(3) { height: 15px; }

.brand-copy { display: grid; gap: 1px; }
.brand-copy strong { font-size: 14px; letter-spacing: .16em; }
.brand-copy small { color: var(--muted); font-size: 8px; font-weight: 700; letter-spacing: .28em; }

.topbar-center {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-size: 12px;
}

.status-dot {
  width: 7px;
  height: 7px;
  border-radius: 99px;
  background: var(--accent);
  box-shadow: 0 0 0 4px rgba(184, 255, 61, .08), 0 0 12px rgba(184, 255, 61, .5);
}

.top-chat-button {
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 8px;
  height: 40px;
  padding: 0 16px;
  border: 1px solid var(--line-strong);
  border-radius: 99px;
  background: rgba(255, 255, 255, .04);
  cursor: pointer;
  text-decoration: none;
  transition: transform .25s var(--ease), border-color .25s, background .25s;
}

.top-chat-button:hover {
  transform: translateY(-2px);
  border-color: rgba(184, 255, 61, .45);
  background: rgba(184, 255, 61, .07);
}

.top-chat-button svg { width: 17px; color: var(--accent); }
.top-chat-button span { font-size: 12px; font-weight: 650; }
.topbar-actions { justify-self: end; display: flex; align-items: center; gap: 8px; }
.home-account-button {
  display: inline-flex;
  min-height: 40px;
  align-items: center;
  gap: 7px;
  padding: 0 13px;
  border: 1px solid var(--line-strong);
  border-radius: 99px;
  color: #c1c8d1;
  background: rgba(255,255,255,.035);
  cursor: pointer;
  transition: transform .25s var(--ease),border-color .25s,background .25s;
}
.home-account-button:hover { transform: translateY(-2px); border-color: rgba(120,232,255,.4); background: rgba(120,232,255,.06); }
.home-account-button svg { width: 16px; }.home-account-button span { max-width: 120px; overflow: hidden; font-size: 11px; text-overflow: ellipsis; white-space: nowrap; }

.home-auth-dialog { width: min(420px,calc(100vw - 28px)); max-height: calc(100dvh - 28px); margin: auto; padding: 30px; overflow: auto; border: 1px solid var(--line-strong); border-radius: 22px; color: var(--text); background: #10151d; box-shadow: 0 35px 100px rgba(0,0,0,.58); }
.home-auth-dialog[open] { animation: homeAuthIn .36s var(--ease); }
.home-auth-dialog::backdrop { background: rgba(2,4,7,.74); backdrop-filter: blur(6px); animation: backdropIn .25s ease-out; }
@keyframes homeAuthIn { from { opacity: 0; transform: translateY(16px) scale(.975); } }
@keyframes backdropIn { from { opacity: 0; } }
.home-auth-close { position: absolute; top: 15px; right: 15px; display: grid; width: 42px; height: 42px; place-items: center; border: 1px solid var(--line); border-radius: 12px; color: var(--muted); background: rgba(255,255,255,.03); cursor: pointer; }
.home-auth-close:hover { color: var(--text); border-color: var(--line-strong); }.home-auth-close svg { width: 16px; }
.home-auth-dialog > img { display: block; margin-bottom: 18px; }
.home-auth-dialog h2 { margin: 7px 0 0; font-size: 25px; letter-spacing: -.03em; }
.home-auth-dialog > p:not(.section-kicker) { margin: 12px 0 21px; color: var(--muted); font-size: 10px; line-height: 1.7; }
.home-auth-tabs {
  display: grid;
  grid-template-columns: 1fr;
  gap: 6px;
  margin-bottom: 13px;
  padding: 4px;
  border: 1px solid var(--line);
  border-radius: 13px;
  background: rgba(255,255,255,.025);
}
.home-auth-tabs button {
  min-height: 36px;
  border: 0;
  border-radius: 9px;
  color: var(--muted);
  background: transparent;
  cursor: pointer;
  font-size: 9px;
  font-weight: 750;
}
.home-auth-tabs button.active { color: #111608; background: var(--accent); }
.home-auth-dialog form { display: grid; gap: 8px; }.home-auth-dialog form label { color: #858f9c; font-size: 9px; }
.home-auth-dialog form input { height: 47px; padding: 0 13px; border: 1px solid var(--line); border-radius: 11px; outline: 0; color: var(--text); background: var(--surface-2); font-size: 12px; }
.home-auth-dialog form input:focus { border-color: rgba(184,255,61,.42); box-shadow: 0 0 0 3px rgba(184,255,61,.04); }
.home-auth-dialog .home-terms-check { display: flex; align-items: center; gap: 8px; margin: 4px 0 2px; color: var(--muted); font-size: 9px; line-height: 1.5; }
.home-auth-dialog .home-terms-check input { width: 15px; height: 15px; min-width: 15px; padding: 0; accent-color: var(--accent); }
.home-auth-dialog .home-terms-check a { color: var(--accent); text-decoration: none; }
.home-auth-dialog .home-terms-check a:hover { text-decoration: underline; }
.home-auth-dialog form button { min-height: 44px; margin-top: 3px; border: 0; border-radius: 11px; color: #111608; background: var(--accent); cursor: pointer; font-size: 10px; font-weight: 750; }
.home-auth-dialog form button:disabled { opacity: .5; cursor: wait; }
.home-auth-button-row { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.home-auth-button-row button:last-child { color: var(--text); border: 1px solid var(--line-strong); background: var(--surface-2); }
.home-auth-back { justify-self: start; min-height: 28px !important; margin: 0 0 4px !important; padding: 0; border: 0 !important; color: var(--muted) !important; background: transparent !important; font-size: 9px !important; }
.home-auth-back:hover { color: var(--text) !important; }
.home-auth-note { color: var(--dim); font-size: 9px; line-height: 1.55; }
.home-code-input { text-align: center; font-size: 20px !important; font-weight: 800; letter-spacing: .35em; }
.home-auth-session { display: grid; grid-template-columns: 38px minmax(0,1fr) auto; align-items: center; gap: 10px; padding: 12px; border: 1px solid rgba(184,255,61,.18); border-radius: 13px; background: rgba(184,255,61,.04); }
.home-auth-session > span { display: grid; width: 38px; height: 38px; place-items: center; border-radius: 10px; color: #111608; background: var(--accent); }.home-auth-session > span svg { width: 17px; }
.home-auth-session > div { display: grid; min-width: 0; gap: 4px; }.home-auth-session strong { overflow: hidden; font-size: 10px; text-overflow: ellipsis; white-space: nowrap; }.home-auth-session small { color: var(--dim); font-size: 8px; }
.home-auth-session button { min-height: 34px; padding: 0 10px; border: 1px solid var(--line); border-radius: 9px; color: var(--text); background: transparent; cursor: pointer; font-size: 8px; }
.home-auth-feedback { display: block; min-height: 18px; margin-top: 11px; color: var(--muted); font-size: 9px; line-height: 1.5; }

main { min-height: calc(100vh - 180px); }

.hero {
  position: relative;
  max-width: var(--max);
  min-height: 530px;
  margin: 0 auto;
  padding: 118px 24px 70px;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  top: 48px;
  right: 3%;
  width: 410px;
  height: 410px;
  border: 1px solid rgba(255, 255, 255, .035);
  border-radius: 50%;
  box-shadow: inset 0 0 80px rgba(120, 232, 255, .025);
  background:
    repeating-radial-gradient(circle, transparent 0 40px, rgba(255,255,255,.025) 41px 42px),
    linear-gradient(115deg, transparent 45%, rgba(184,255,61,.04) 45% 46%, transparent 46%);
  animation: slowRotate 30s linear infinite;
  pointer-events: none;
}

.service-disclaimer {
  max-width: 620px;
  margin: 18px 0 0;
  color: var(--dim);
  font-size: 11px;
  line-height: 1.7;
}

.hero::after {
  content: "VRC";
  position: absolute;
  right: 4%;
  bottom: 14px;
  color: transparent;
  font-size: clamp(150px, 20vw, 290px);
  font-weight: 900;
  letter-spacing: -.08em;
  line-height: .8;
  -webkit-text-stroke: 1px rgba(255, 255, 255, .025);
  pointer-events: none;
}

@keyframes slowRotate { to { transform: rotate(360deg); } }

.eyebrow, .section-kicker {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--accent);
  font-size: 10px;
  font-weight: 750;
  letter-spacing: .25em;
}

.eyebrow span {
  width: 25px;
  height: 1px;
  background: var(--accent);
}

.hero h1 {
  position: relative;
  z-index: 1;
  max-width: 860px;
  margin: 25px 0 24px;
  font-size: clamp(44px, 6.2vw, 84px);
  font-weight: 760;
  letter-spacing: -.058em;
  line-height: 1.02;
}

.hero h1 em {
  color: var(--muted);
  font-style: normal;
  font-weight: 500;
}

.hero > p {
  position: relative;
  z-index: 1;
  max-width: 580px;
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.8;
}

.hero-stats {
  position: absolute;
  z-index: 2;
  right: 24px;
  bottom: 68px;
  display: flex;
  align-items: center;
  gap: 0;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(17, 20, 28, .66);
  box-shadow: 0 24px 70px rgba(0,0,0,.2);
  backdrop-filter: blur(20px);
}

.hero-stats div {
  display: grid;
  min-width: 115px;
  gap: 3px;
  padding: 18px 22px;
  text-align: center;
}

.hero-stats div + div { border-left: 1px solid var(--line); }
.hero-stats strong { font-size: 22px; letter-spacing: -.04em; }
.hero-stats span { color: var(--dim); font-size: 10px; }

.catalog {
  max-width: var(--max);
  margin: 0 auto;
  padding: 54px 24px 100px;
  border-top: 1px solid var(--line);
}

.catalog-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 30px;
}

.catalog-heading > div { display: grid; gap: 8px; }
.catalog-heading h2 { margin: 0; font-size: 32px; letter-spacing: -.04em; }
.catalog-heading p { margin: 0 0 3px; color: var(--dim); font-size: 12px; }

.controls-shell {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 190px minmax(210px, auto) auto;
  gap: 12px;
  margin-bottom: 20px;
}

.search-field, .sort-control {
  display: flex;
  height: 56px;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 15px;
  background: rgba(17, 20, 28, .86);
  transition: border-color .25s, box-shadow .25s, background .25s;
}

.search-field:focus-within, .sort-control:focus-within {
  border-color: rgba(184, 255, 61, .4);
  background: var(--surface);
  box-shadow: 0 0 0 4px rgba(184, 255, 61, .05);
}

.search-field { gap: 12px; padding: 0 16px; }
.search-field svg { flex: 0 0 auto; color: var(--muted); }
.search-field input {
  min-width: 0;
  flex: 1;
  border: 0;
  outline: 0;
  color: var(--text);
  background: transparent;
  font-size: 14px;
}
.search-field input::placeholder { color: var(--dim); }
.search-field kbd {
  padding: 4px 7px;
  border: 1px solid var(--line);
  border-radius: 6px;
  color: var(--dim);
  background: rgba(255,255,255,.025);
  font-size: 10px;
}

.sort-control { position: relative; gap: 10px; padding: 0 14px; }
.sort-control svg { width: 17px; color: var(--muted); }
.sort-control::after {
  content: "";
  position: absolute;
  right: 16px;
  width: 6px;
  height: 6px;
  border-right: 1.5px solid var(--muted);
  border-bottom: 1.5px solid var(--muted);
  transform: rotate(45deg) translateY(-2px);
  pointer-events: none;
}
.sort-control select {
  width: 100%;
  height: 100%;
  padding-right: 20px;
  border: 0;
  outline: 0;
  appearance: none;
  color: var(--text);
  background: transparent;
  font-size: 12px;
  cursor: pointer;
}
.sort-control option { background: var(--surface-2); }

.adult-controls {
  min-height: 56px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: 15px;
  background: rgba(17, 20, 28, .72);
}

.adult-toggle {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 38px;
  padding: 0 11px;
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 999px;
  color: var(--dim);
  background: rgba(255,255,255,.025);
  font-size: 11px;
  cursor: pointer;
  user-select: none;
  transition: border-color .2s, color .2s, background .2s, transform .2s;
}

.adult-toggle:hover { transform: translateY(-1px); color: var(--text); }
.adult-toggle input { width: 14px; height: 14px; accent-color: var(--accent); }
.adult-toggle:has(input:checked) {
  color: #10150b;
  border-color: rgba(184,255,61,.56);
  background: var(--accent);
}

.image-search-control {
  min-height: 56px;
  display: flex;
  align-items: stretch;
}

.image-search-button {
  display: inline-flex;
  min-width: 118px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 15px;
  border: 1px solid rgba(184,255,61,.25);
  border-radius: 15px;
  color: var(--text);
  background: linear-gradient(135deg, rgba(184,255,61,.14), rgba(120,232,255,.06));
  cursor: pointer;
  font-size: 12px;
  font-weight: 760;
  transition: transform .2s var(--ease), border-color .2s, background .2s, box-shadow .2s;
}

.image-search-button:hover {
  transform: translateY(-1px);
  border-color: rgba(184,255,61,.48);
  box-shadow: 0 12px 30px rgba(184,255,61,.08);
}

.image-search-button.loading { opacity: .68; cursor: wait; }
.image-search-button svg { width: 16px; color: var(--accent); }

.image-search-preview {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  margin: -8px 0 18px;
  padding: 10px 12px;
  border: 1px solid rgba(184,255,61,.22);
  border-radius: 16px;
  background:
    radial-gradient(circle at 40px 18px, rgba(184,255,61,.14), transparent 36px),
    rgba(17,20,28,.72);
  animation: fadeSlide .28s var(--ease);
}

.image-search-preview.hidden { display: none; }
.image-search-preview img {
  width: 48px;
  height: 48px;
  object-fit: cover;
  border-radius: 12px;
  background: rgba(255,255,255,.04);
}
.image-search-preview strong {
  display: block;
  color: var(--text);
  font-size: 12px;
}
.image-search-preview small {
  display: block;
  margin-top: 3px;
  color: var(--dim);
  font-size: 10px;
}
.image-search-preview button {
  min-height: 34px;
  padding: 0 11px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  background: rgba(255,255,255,.025);
  cursor: pointer;
  font-size: 10px;
}
.image-search-preview button:hover { color: var(--text); border-color: rgba(184,255,61,.35); }

@keyframes fadeSlide {
  from { opacity: 0; transform: translateY(-6px); }
}

.category-strip-wrap { position: relative; margin-bottom: 30px; }
.category-strip {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 2px 40px 10px 2px;
  scrollbar-width: none;
}
.category-strip::-webkit-scrollbar { display: none; }
.strip-fade {
  position: absolute;
  z-index: 2;
  top: 0;
  right: 0;
  width: 80px;
  height: calc(100% - 8px);
  background: linear-gradient(90deg, transparent, var(--bg));
  pointer-events: none;
}

.category-pill {
  display: flex;
  flex: 0 0 auto;
  min-width: 130px;
  height: 64px;
  align-items: center;
  gap: 11px;
  padding: 8px 14px 8px 9px;
  border: 1px solid var(--line);
  border-radius: 14px;
  color: var(--muted);
  background: rgba(17, 20, 28, .55);
  cursor: pointer;
  transition: transform .3s var(--ease), border-color .25s, background .25s, color .25s;
}
.category-pill:hover { transform: translateY(-3px); color: var(--text); border-color: var(--line-strong); }
.category-pill.active {
  color: var(--text);
  border-color: rgba(184, 255, 61, .34);
  background: linear-gradient(135deg, rgba(184, 255, 61, .1), rgba(17, 20, 28, .9));
  box-shadow: 0 10px 30px rgba(0,0,0,.14);
}
.category-pill > span:last-child { display: grid; justify-items: start; gap: 2px; }
.category-pill b { font-size: 12px; font-weight: 650; white-space: nowrap; }
.category-pill small { color: var(--dim); font-size: 10px; }
.category-orb {
  display: grid;
  width: 43px;
  height: 43px;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 11px;
  color: #c7d5ff;
  background: #222a3a;
}
.category-pill.active .category-orb { color: #101507; background: var(--accent); }
.category-orb svg { width: 18px; }

.product-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px 16px;
  min-height: 320px;
}

.product-card {
  position: relative;
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(23,27,37,.96), rgba(15,18,25,.96));
  box-shadow: 0 12px 30px rgba(0,0,0,.1);
  cursor: pointer;
  opacity: 0;
  transform: translateY(18px) scale(.985);
  animation: cardIn .6s var(--ease) forwards;
  transition: transform .38s var(--ease), border-color .3s, box-shadow .38s var(--ease);
}

@keyframes cardIn { to { opacity: 1; transform: translateY(0) scale(1); } }

.product-card:hover {
  z-index: 2;
  transform: translateY(-7px);
  border-color: rgba(255,255,255,.18);
  box-shadow: 0 26px 55px rgba(0,0,0,.32);
}
.product-card:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

.card-media {
  position: relative;
  aspect-ratio: 1 / .88;
  overflow: hidden;
  background: #191d27;
}

.card-media::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 42%;
  background: linear-gradient(transparent, rgba(9,11,17,.72));
  pointer-events: none;
}

.card-media img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  transition: transform .7s var(--ease), filter .35s;
}
.product-card:hover .card-media img { transform: scale(1.055); }

.image-placeholder {
  display: grid;
  width: 100%;
  height: 100%;
  place-items: center;
  color: rgba(255,255,255,.24);
  background:
    radial-gradient(circle at 25% 20%, rgba(184,255,61,.13), transparent 38%),
    linear-gradient(135deg, #202635, #11151e);
}
.image-placeholder svg { width: 35px; height: 35px; }

.card-badges {
  position: absolute;
  z-index: 2;
  top: 10px;
  left: 10px;
  right: 10px;
  display: flex;
  justify-content: space-between;
  gap: 6px;
  pointer-events: none;
}
.card-badges .state-badge { position: absolute; top: 44px; right: 0; }

.type-badge, .state-badge {
  display: inline-flex;
  width: max-content;
  align-items: center;
  gap: 5px;
  padding: 6px 9px;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 99px;
  color: #f8f9fb;
  background: rgba(10,12,17,.76);
  box-shadow: 0 5px 15px rgba(0,0,0,.15);
  backdrop-filter: blur(10px);
  font-size: 9px;
  font-weight: 680;
  letter-spacing: .03em;
}
.type-badge::before {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--type-color, var(--accent));
  box-shadow: 0 0 8px var(--type-color, var(--accent));
}
.state-badge { color: #111; border-color: transparent; background: var(--accent); }
.state-badge.adult { color: white; background: var(--danger); }

.card-open {
  position: absolute;
  z-index: 3;
  right: 12px;
  bottom: 12px;
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 50%;
  color: #12170a;
  background: var(--accent);
  opacity: 0;
  transform: translateY(10px) scale(.8);
  transition: opacity .3s, transform .38s var(--ease);
}
.card-open svg { width: 16px; }
.product-card:hover .card-open { opacity: 1; transform: translateY(0) scale(1); }

.card-body { display: grid; gap: 11px; padding: 15px 16px 17px; }
.card-shop {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 6px;
  color: var(--dim);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: .07em;
}
.card-shop svg { width: 12px; height: 12px; flex: 0 0 auto; }
.card-shop span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.card-title {
  display: -webkit-box;
  min-height: 44px;
  margin: 0;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  font-size: 14px;
  font-weight: 650;
  letter-spacing: -.01em;
  line-height: 1.55;
}
.card-tags { display: flex; min-height: 22px; gap: 5px; overflow: hidden; }
.card-tags span {
  flex: 0 0 auto;
  max-width: 120px;
  overflow: hidden;
  padding: 4px 7px;
  border-radius: 6px;
  color: var(--muted);
  background: rgba(255,255,255,.045);
  font-size: 9px;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.card-footer { display: flex; align-items: center; justify-content: space-between; padding-top: 2px; }
.card-price { font-size: 14px; font-weight: 720; }
.card-price.free { color: var(--accent); }
.card-price.unknown { color: var(--dim); font-size: 11px; font-weight: 500; }
.card-id { color: #4f5664; font-family: ui-monospace, SFMono-Regular, Consolas, monospace; font-size: 9px; }

.skeleton-card { pointer-events: none; animation: none; opacity: 1; transform: none; }
.skeleton {
  position: relative;
  overflow: hidden;
  border-radius: 7px;
  background: rgba(255,255,255,.055);
}
.skeleton::after {
  content: "";
  position: absolute;
  inset: 0;
  transform: translateX(-100%);
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.08), transparent);
  animation: shimmer 1.4s infinite;
}
@keyframes shimmer { to { transform: translateX(100%); } }
.skeleton-media { aspect-ratio: 1 / .88; border-radius: 0; }
.skeleton-line { height: 12px; }
.skeleton-line.short { width: 45%; }
.skeleton-line.medium { width: 75%; }
.skeleton-line.title { height: 17px; width: 92%; }

.empty-state {
  display: grid;
  min-height: 390px;
  place-items: center;
  align-content: center;
  gap: 10px;
  text-align: center;
}
.hidden { display: none !important; }
.empty-visual {
  display: grid;
  width: 65px;
  height: 65px;
  margin-bottom: 8px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 20px;
  color: var(--muted);
  background: var(--surface);
}
.empty-state h3 { margin: 0; font-size: 19px; }
.empty-state p { max-width: 420px; margin: 0; color: var(--muted); font-size: 12px; line-height: 1.7; }
.empty-state button {
  margin-top: 12px;
  padding: 10px 16px;
  border: 1px solid var(--line-strong);
  border-radius: 10px;
  background: var(--surface-2);
  cursor: pointer;
}

.load-zone { display: grid; min-height: 100px; place-items: center; }
.load-more {
  display: flex;
  height: 46px;
  align-items: center;
  gap: 9px;
  padding: 0 19px;
  border: 1px solid var(--line-strong);
  border-radius: 99px;
  background: var(--surface);
  cursor: pointer;
  transition: gap .3s var(--ease), border-color .25s, transform .25s;
}
.load-more:hover { gap: 14px; transform: translateY(-2px); border-color: rgba(184,255,61,.4); }
.load-more svg { width: 16px; color: var(--accent); }
.load-more.loading svg { animation: slideArrow 1s ease-in-out infinite; }
@keyframes slideArrow { 50% { transform: translateX(4px); } }

footer {
  display: flex;
  max-width: var(--max);
  min-height: 92px;
  margin: 0 auto;
  align-items: center;
  justify-content: space-between;
  padding: 0 24px;
  border-top: 1px solid var(--line);
  color: var(--dim);
  font-size: 10px;
}
.footer-brand { display: flex; align-items: center; gap: 8px; color: var(--muted); font-size: 11px; font-weight: 700; letter-spacing: .12em; }
.footer-links { display: flex; align-items: center; gap: 12px; }
.footer-links a { color: var(--muted); text-decoration: none; }
.footer-links a:hover { color: var(--accent); }

.legal-page {
  min-height: 100vh;
  color: var(--text);
  background:
    radial-gradient(circle at 20% -10%, rgba(184,255,61,.12), transparent 34%),
    radial-gradient(circle at 90% 0%, rgba(120,232,255,.08), transparent 35%),
    var(--bg);
}
.legal-main {
  width: min(920px, calc(100% - 32px));
  margin: 0 auto;
  padding: 72px 0 80px;
}
.legal-card {
  overflow: hidden;
  border: 1px solid var(--line-strong);
  border-radius: 28px;
  background: rgba(16, 21, 29, .86);
  box-shadow: 0 28px 90px rgba(0,0,0,.36);
}
.legal-hero {
  padding: 34px 34px 24px;
  border-bottom: 1px solid var(--line);
}
.legal-hero h1 { margin: 10px 0 10px; font-size: clamp(32px, 6vw, 58px); line-height: .98; letter-spacing: -.06em; }
.legal-hero p { max-width: 720px; margin: 0; color: var(--muted); line-height: 1.8; }
.legal-updated { display: inline-flex; margin-top: 16px; color: var(--dim); font-size: 11px; }
.legal-content { display: grid; gap: 24px; padding: 30px 34px 36px; }
.legal-content section { display: grid; gap: 9px; }
.legal-content h2 { margin: 0; font-size: 18px; letter-spacing: -.02em; }
.legal-content p, .legal-content li { color: var(--muted); font-size: 13px; line-height: 1.85; }
.legal-content p { margin: 0; }
.legal-content ul { margin: 0; padding-left: 20px; }
.legal-notice {
  padding: 16px 18px;
  border: 1px solid rgba(184,255,61,.18);
  border-radius: 16px;
  color: #dce6ef;
  background: rgba(184,255,61,.045);
}
.legal-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}
.legal-actions a {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  padding: 0 16px;
  border: 1px solid var(--line-strong);
  border-radius: 99px;
  color: var(--text);
  text-decoration: none;
  background: rgba(255,255,255,.035);
}
.legal-actions a:first-child { color: #101608; border-color: transparent; background: var(--accent); font-weight: 800; }

.drawer-backdrop {
  position: fixed;
  z-index: 90;
  inset: 0;
  visibility: hidden;
  background: rgba(2, 3, 6, .62);
  opacity: 0;
  backdrop-filter: blur(3px);
  transition: opacity .35s, visibility .35s;
}
.drawer-backdrop.open { visibility: visible; opacity: 1; }

.product-drawer {
  position: fixed;
  z-index: 100;
  top: 0;
  right: 0;
  width: min(620px, 100vw);
  height: 100dvh;
  overflow: hidden;
  border-left: 1px solid var(--line);
  background: #0e1118;
  box-shadow: -35px 0 80px rgba(0,0,0,.4);
  transform: translateX(102%);
  transition: transform .55s var(--ease);
}
.product-drawer.open { transform: translateX(0); }
.drawer-close {
  position: absolute;
  z-index: 4;
  top: 18px;
  right: 18px;
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  border: 1px solid rgba(255,255,255,.15);
  border-radius: 50%;
  background: rgba(8,10,15,.72);
  backdrop-filter: blur(12px);
  cursor: pointer;
  transition: transform .25s, background .25s;
}
.drawer-close:hover { transform: rotate(8deg); background: rgba(255,255,255,.1); }
.drawer-scroll { height: 100%; overflow-y: auto; overscroll-behavior: contain; }

.detail-gallery { position: relative; background: #171b25; }
.detail-main-image { aspect-ratio: 1.18 / 1; overflow: hidden; }
.detail-main-image img { width: 100%; height: 100%; display: block; object-fit: cover; animation: imageReveal .45s var(--ease); }
@keyframes imageReveal { from { opacity: .3; transform: scale(1.02); } }
.detail-thumbs {
  position: absolute;
  left: 18px;
  right: 68px;
  bottom: 16px;
  display: flex;
  gap: 7px;
  overflow-x: auto;
  scrollbar-width: none;
}
.detail-thumbs::-webkit-scrollbar { display: none; }
.detail-thumb {
  width: 52px;
  height: 52px;
  flex: 0 0 auto;
  overflow: hidden;
  padding: 0;
  border: 2px solid transparent;
  border-radius: 9px;
  background: #222;
  opacity: .65;
  cursor: pointer;
  transition: opacity .2s, border-color .2s, transform .2s;
}
.detail-thumb:hover, .detail-thumb.active { opacity: 1; transform: translateY(-2px); border-color: var(--accent); }
.detail-thumb img { width: 100%; height: 100%; object-fit: cover; }

.detail-content { display: grid; gap: 27px; padding: 30px 32px 50px; }
.detail-topline { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.detail-shop { display: flex; align-items: center; gap: 7px; color: var(--muted); font-size: 11px; }
.detail-shop svg { width: 14px; }
.detail-price { font-size: 18px; font-weight: 750; }
.detail-title { margin: -8px 0 0; font-size: 25px; letter-spacing: -.03em; line-height: 1.4; }
.detail-meta { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.detail-meta > div {
  display: grid;
  gap: 4px;
  padding: 13px 15px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface);
}
.detail-meta small { color: var(--dim); font-size: 9px; text-transform: uppercase; letter-spacing: .08em; }
.detail-meta span { overflow: hidden; font-size: 11px; text-overflow: ellipsis; white-space: nowrap; }

.detail-section { display: grid; gap: 11px; }
.detail-section-label { display: flex; align-items: center; gap: 7px; color: var(--muted); font-size: 10px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.detail-section-label svg { width: 14px; }
.detail-tags { display: flex; flex-wrap: wrap; gap: 7px; }
.detail-tags span { padding: 7px 10px; border: 1px solid var(--line); border-radius: 8px; color: #b2b7c2; background: rgba(255,255,255,.025); font-size: 10px; }
.detail-description {
  max-height: 260px;
  margin: 0;
  overflow: auto;
  padding: 14px 15px;
  border: 1px solid var(--line);
  border-radius: 12px;
  color: #c5cbd4;
  background: rgba(255,255,255,.025);
  font-size: 12px;
  line-height: 1.75;
  white-space: pre-wrap;
}

.classification-box {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 180px;
  align-items: center;
  gap: 18px;
  padding: 16px;
  border: 1px solid rgba(184,255,61,.15);
  border-radius: 14px;
  background: rgba(184,255,61,.035);
}
.classification-copy { display: grid; gap: 5px; }
.classification-copy strong { font-size: 12px; }
.classification-copy small { color: var(--dim); font-size: 9px; line-height: 1.5; }
.classification-select-wrap { position: relative; }
.classification-select-wrap::after {
  content: "";
  position: absolute;
  top: 15px;
  right: 14px;
  width: 6px;
  height: 6px;
  border-right: 1px solid var(--muted);
  border-bottom: 1px solid var(--muted);
  transform: rotate(45deg);
  pointer-events: none;
}
.classification-select {
  width: 100%;
  height: 42px;
  padding: 0 32px 0 12px;
  border: 1px solid var(--line-strong);
  border-radius: 10px;
  outline: none;
  appearance: none;
  background: var(--surface-2);
  font-size: 11px;
  cursor: pointer;
}

.detail-actions { display: grid; grid-template-columns: 1fr auto; gap: 10px; }
.booth-link, .copy-link {
  display: flex;
  height: 50px;
  align-items: center;
  justify-content: center;
  gap: 9px;
  border: 0;
  border-radius: 12px;
  text-decoration: none;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  transition: transform .25s var(--ease), filter .25s;
}
.booth-link { color: #12160b; background: var(--accent); }
.booth-link:hover { transform: translateY(-2px); filter: brightness(1.05); }
.booth-link svg { width: 16px; }
.copy-link { width: 50px; border: 1px solid var(--line-strong); background: var(--surface-2); }

.chat-fab {
  position: fixed;
  z-index: 130;
  right: 27px;
  bottom: 26px;
  display: grid;
  width: 58px;
  height: 58px;
  place-items: center;
  border: 0;
  border-radius: 50%;
  color: #12160b;
  background: var(--accent);
  box-shadow: 0 15px 45px rgba(0,0,0,.4), 0 0 0 1px rgba(184,255,61,.15);
  cursor: pointer;
  text-decoration: none;
  transition: transform .35s var(--ease), background .25s;
}
.chat-fab:hover { transform: translateY(-4px) scale(1.03); }
body.no-scroll .chat-fab { opacity: 0; pointer-events: none; transform: translateY(10px) scale(.9); }
.chat-fab svg { position: absolute; width: 23px; height: 23px; transition: opacity .25s, transform .35s var(--ease); }
.chat-fab .close-icon { opacity: 0; transform: rotate(-80deg) scale(.6); }
.chat-fab.open .chat-icon { opacity: 0; transform: rotate(80deg) scale(.6); }
.chat-fab.open .close-icon { opacity: 1; transform: rotate(0) scale(1); }
.fab-glow { position: absolute; inset: -5px; border: 1px solid rgba(184,255,61,.28); border-radius: 50%; animation: fabPulse 2.3s ease-out infinite; }
@keyframes fabPulse { 70%,100% { transform: scale(1.28); opacity: 0; } }
.chat-notice {
  position: absolute;
  top: -3px;
  right: -2px;
  display: grid;
  width: 18px;
  height: 18px;
  place-items: center;
  border: 2px solid var(--bg);
  border-radius: 50%;
  color: white;
  background: #ff526e;
  font-size: 8px;
  font-weight: 800;
}
.chat-fab.open .chat-notice { display: none; }

.chat-panel {
  position: fixed;
  z-index: 120;
  right: 27px;
  bottom: 96px;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto auto;
  width: min(390px, calc(100vw - 30px));
  height: min(590px, calc(100dvh - 125px));
  overflow: hidden;
  visibility: hidden;
  border: 1px solid var(--line-strong);
  border-radius: 22px;
  background: rgba(16,19,27,.96);
  box-shadow: 0 28px 90px rgba(0,0,0,.55);
  opacity: 0;
  backdrop-filter: blur(25px);
  transform: translateY(18px) scale(.94);
  transform-origin: bottom right;
  transition: opacity .35s, transform .45s var(--ease), visibility .35s;
}
.chat-panel.open { visibility: visible; opacity: 1; transform: translateY(0) scale(1); }
.chat-header {
  display: flex;
  height: 72px;
  align-items: center;
  gap: 11px;
  padding: 0 16px;
  border-bottom: 1px solid var(--line);
}
.agent-avatar {
  position: relative;
  display: grid;
  width: 39px;
  height: 39px;
  place-items: center;
  border-radius: 12px;
  color: #11170a;
  background: var(--accent);
}
.agent-avatar svg { width: 19px; }
.agent-avatar span { position: absolute; right: -1px; bottom: -1px; width: 9px; height: 9px; border: 2px solid var(--surface); border-radius: 50%; background: #4df19b; }
.chat-header > div:nth-child(2) { display: grid; gap: 3px; }
.chat-header strong { font-size: 12px; }
.chat-header small { display: flex; align-items: center; gap: 5px; color: var(--dim); font-size: 8px; }
.chat-header small i { width: 5px; height: 5px; border-radius: 50%; background: #4df19b; }
.chat-header button { display: grid; width: 34px; height: 34px; margin-left: auto; place-items: center; border: 0; border-radius: 50%; background: transparent; cursor: pointer; }
.chat-header button:hover { background: rgba(255,255,255,.06); }
.chat-header button svg { width: 17px; }

.chat-messages {
  display: flex;
  min-height: 0;
  flex-direction: column;
  gap: 12px;
  overflow-y: auto;
  padding: 18px 15px;
  scroll-behavior: smooth;
}
.message { display: flex; max-width: 90%; gap: 8px; animation: messageIn .35s var(--ease); }
@keyframes messageIn { from { opacity: 0; transform: translateY(8px); } }
.message.user { align-self: flex-end; }
.message-mark { display: grid; width: 26px; height: 26px; flex: 0 0 auto; place-items: center; border-radius: 8px; color: #12160b; background: var(--accent); }
.message-mark svg { width: 13px; }
.message-bubble { padding: 10px 12px; border-radius: 5px 13px 13px 13px; color: #c4c8d1; background: var(--surface-3); font-size: 11px; line-height: 1.65; }
.message.user .message-bubble { border-radius: 13px 5px 13px 13px; color: #11160a; background: var(--accent); }
.typing-dots { display: flex; align-items: center; gap: 4px; min-height: 17px; }
.typing-dots i { width: 5px; height: 5px; border-radius: 50%; background: var(--muted); animation: typing 1s infinite alternate; }
.typing-dots i:nth-child(2) { animation-delay: .18s; }
.typing-dots i:nth-child(3) { animation-delay: .36s; }
@keyframes typing { to { transform: translateY(-4px); opacity: .45; } }
.chat-suggestions { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 0 34px; }
.chat-suggestions button { padding: 7px 9px; border: 1px solid var(--line); border-radius: 99px; color: var(--muted); background: transparent; font-size: 9px; cursor: pointer; transition: color .2s, border-color .2s; }
.chat-suggestions button:hover { color: var(--text); border-color: rgba(184,255,61,.32); }
.chat-product-list { display: grid; gap: 6px; width: 100%; margin-top: 8px; }
.chat-product {
  display: grid;
  grid-template-columns: 42px minmax(0,1fr) 18px;
  align-items: center;
  gap: 8px;
  padding: 6px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: rgba(255,255,255,.025);
  cursor: pointer;
}
.chat-product img, .chat-product-placeholder { width: 42px; height: 42px; object-fit: cover; border-radius: 7px; background: var(--surface-3); }
.chat-product div:nth-child(2) { min-width: 0; }
.chat-product strong { display: block; overflow: hidden; font-size: 9px; text-overflow: ellipsis; white-space: nowrap; }
.chat-product small { color: var(--dim); font-size: 8px; }
.chat-product svg { width: 13px; color: var(--dim); }

.chat-compose {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 38px;
  align-items: end;
  gap: 8px;
  margin: 0 13px;
  padding: 8px 8px 8px 12px;
  border: 1px solid var(--line-strong);
  border-radius: 14px;
  background: var(--surface-2);
}
.chat-compose:focus-within { border-color: rgba(184,255,61,.38); }
.chat-compose textarea { max-height: 90px; resize: none; border: 0; outline: 0; color: var(--text); background: transparent; font-size: 11px; line-height: 1.5; }
.chat-compose textarea::placeholder { color: var(--dim); }
.chat-compose button { display: grid; width: 38px; height: 38px; place-items: center; border: 0; border-radius: 10px; color: #11160a; background: var(--accent); cursor: pointer; transition: transform .2s; }
.chat-compose button:hover { transform: scale(1.05); }
.chat-compose button:disabled { opacity: .4; cursor: wait; }
.chat-compose svg { width: 17px; }
.chat-footnote { margin: 8px 0 10px; color: #4f5664; font-size: 8px; text-align: center; }

.toast-region { position: fixed; z-index: 200; left: 50%; bottom: 24px; display: grid; gap: 8px; transform: translateX(-50%); pointer-events: none; }
.toast { padding: 10px 15px; border: 1px solid var(--line-strong); border-radius: 10px; color: var(--text); background: rgba(24,28,38,.96); box-shadow: 0 15px 40px rgba(0,0,0,.35); font-size: 10px; animation: toastIn .35s var(--ease), toastOut .3s 2.7s forwards; }
@keyframes toastIn { from { opacity: 0; transform: translateY(8px); } }
@keyframes toastOut { to { opacity: 0; transform: translateY(6px); } }

@media (max-width: 1080px) {
  .product-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .hero-stats { position: relative; right: auto; bottom: auto; width: max-content; margin-top: 38px; }
  .hero { min-height: auto; }
}

@media (max-width: 760px) {
  .topbar { grid-template-columns: 1fr auto; height: 66px; padding: 0 16px; }
  .topbar-center { display: none; }
  .top-chat-button span { display: none; }
  .top-chat-button { width: 40px; padding: 0; justify-content: center; }
  .topbar-actions { gap: 6px; }
  .home-account-button { width: 40px; min-height: 40px; justify-content: center; padding: 0; }
  .home-account-button span { display: none; }
  .hero { padding: 82px 18px 55px; }
  .hero::before { width: 250px; height: 250px; right: -120px; }
  .hero h1 { font-size: clamp(41px, 12vw, 60px); }
  .hero-stats { width: 100%; }
  .hero-stats div { min-width: 0; flex: 1; padding: 15px 8px; }
  .hero-stats strong { font-size: 18px; }
  .catalog { padding: 42px 14px 70px; }
  .catalog-heading { align-items: flex-start; }
  .catalog-heading p { display: none; }
  .controls-shell { grid-template-columns: 1fr; }
  .search-field kbd { display: none; }
  .sort-control { height: 48px; }
  .image-search-control { min-height: 48px; }
  .image-search-button { width: 100%; min-height: 48px; }
  .image-search-preview { grid-template-columns: 42px minmax(0, 1fr); margin-top: 0; }
  .image-search-preview img { width: 42px; height: 42px; }
  .image-search-preview button { grid-column: 1 / -1; width: 100%; }
  .category-pill { min-width: 115px; height: 59px; }
  .category-orb { width: 39px; height: 39px; }
  .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 8px; }
  .product-card { border-radius: 14px; }
  .card-body { gap: 8px; padding: 11px; }
  .card-title { min-height: 40px; font-size: 12px; }
  .card-tags { display: none; }
  .card-shop { font-size: 8px; }
  .card-open { display: none; }
  .type-badge, .state-badge { padding: 5px 7px; font-size: 8px; }
  .card-price { font-size: 12px; }
  footer { padding: 0 16px; }
  footer p { display: none; }
  .product-drawer { width: 100%; border-left: 0; }
  .detail-content { padding: 24px 18px 42px; }
  .detail-title { font-size: 21px; }
  .classification-box { grid-template-columns: 1fr; }
  .chat-fab { right: 16px; bottom: 16px; }
  .chat-panel { right: 10px; bottom: 85px; width: calc(100vw - 20px); }
  .home-auth-dialog { padding: 25px 20px; }.home-auth-dialog form input { font-size: 16px; }
}

@media (max-width: 390px) {
  .product-grid { grid-template-columns: 1fr; }
  .card-media { aspect-ratio: 1.2 / 1; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    scroll-behavior: auto !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
}

/* v0.7 product polish */
.brand-logo {
  width: 42px;
  height: 42px;
  flex: 0 0 auto;
  filter: drop-shadow(0 10px 24px rgba(184, 255, 61, .08));
}

.hero-actions {
  position: relative;
  z-index: 2;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 30px;
}

.primary-action, .secondary-action {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 0 18px;
  border-radius: 14px;
  text-decoration: none;
  font-size: 12px;
  font-weight: 720;
  transition: transform .25s var(--ease), border-color .25s, background .25s;
}
.primary-action { color: #0b1007; background: var(--accent); }
.secondary-action { border: 1px solid var(--line-strong); background: rgba(255,255,255,.035); }
.primary-action:hover, .secondary-action:hover { transform: translateY(-2px); }
.primary-action svg, .secondary-action svg { width: 16px; }

.trust-row {
  position: relative;
  z-index: 2;
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 15px;
}
.trust-row span {
  padding: 6px 9px;
  border: 1px solid var(--line);
  border-radius: 99px;
  color: var(--muted);
  background: rgba(255,255,255,.025);
  font-size: 10px;
}
.trust-row span::before { content: ""; display: inline-block; width: 5px; height: 5px; margin-right: 6px; border-radius: 50%; background: var(--accent); }

.clear-search {
  display: grid;
  width: 34px;
  height: 34px;
  flex: 0 0 auto;
  place-items: center;
  border: 0;
  border-radius: 10px;
  color: var(--muted);
  background: transparent;
  cursor: pointer;
}
.clear-search:hover { color: var(--text); background: rgba(255,255,255,.06); }
.clear-search svg { width: 15px; }

.quick-tools {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin: -5px 0 22px;
}
.quick-searches { display: flex; min-width: 0; align-items: center; gap: 7px; overflow-x: auto; scrollbar-width: none; }
.quick-searches::-webkit-scrollbar { display: none; }
.quick-searches > span { flex: 0 0 auto; margin-right: 2px; color: var(--dim); font-size: 10px; }
.quick-searches button, .favorites-toggle {
  min-height: 36px;
  flex: 0 0 auto;
  padding: 0 11px;
  border: 1px solid var(--line);
  border-radius: 99px;
  color: #b7bec9;
  background: rgba(255,255,255,.025);
  cursor: pointer;
  font-size: 10px;
  transition: border-color .2s, color .2s, background .2s;
}
.quick-searches button:hover, .favorites-toggle:hover, .favorites-toggle.active { color: var(--text); border-color: rgba(184,255,61,.35); background: rgba(184,255,61,.06); }
.favorites-toggle { display: inline-flex; align-items: center; gap: 6px; }
.favorites-toggle svg { width: 14px; }
.favorites-toggle.active svg { color: var(--accent); fill: currentColor; }
.favorites-toggle span { min-width: 16px; color: var(--accent); }

.favorite-button {
  position: absolute;
  z-index: 5;
  top: 11px;
  right: 11px;
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 50%;
  color: #e8ecf2;
  background: rgba(8,11,16,.68);
  backdrop-filter: blur(10px);
  cursor: pointer;
}
.favorite-button svg { width: 16px; }
.favorite-button.active { color: var(--accent); border-color: rgba(184,255,61,.35); }
.favorite-button.active svg { fill: currentColor; }
.product-card { content-visibility: auto; contain-intrinsic-size: 300px 390px; }

.share-link, .favorite-detail {
  display: grid;
  width: 50px;
  height: 50px;
  place-items: center;
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  color: var(--text);
  background: var(--surface-2);
  cursor: pointer;
}
.share-link svg, .favorite-detail svg { width: 17px; }
.favorite-detail.active { color: var(--accent); border-color: rgba(184,255,61,.35); }
.favorite-detail.active svg { fill: currentColor; }
.detail-actions { grid-template-columns: 1fr auto auto auto; }

.mobile-nav { display: none; }
body.no-scroll .mobile-nav { opacity: 0; visibility: hidden; pointer-events: none; }

@media (max-width: 760px) {
  body { padding-bottom: calc(67px + env(safe-area-inset-bottom)); }
  .topbar { height: 62px; }
  .brand-logo { width: 38px; height: 38px; }
  .brand-copy strong { font-size: 12px; }
  .brand-copy small { font-size: 7px; }
  .hero { min-height: auto; padding: 54px 18px 34px; }
  .hero h1 { max-width: 520px; margin: 18px 0 16px; font-size: clamp(36px, 10.5vw, 50px); }
  .hero > p { font-size: 13px; line-height: 1.65; }
  .hero-actions { margin-top: 22px; }
  .primary-action, .secondary-action { min-height: 44px; flex: 1 1 145px; padding: 0 12px; }
  .trust-row { margin-top: 12px; }
  .trust-row span { font-size: 9px; }
  .hero-stats { margin-top: 24px; }
  .catalog { padding-top: 30px; }
  .controls-shell {
    position: sticky;
    z-index: 32;
    top: 68px;
    gap: 8px;
    margin: 0 -4px 13px;
    padding: 6px 4px;
    border-radius: 16px;
    background: rgba(9,11,17,.9);
    backdrop-filter: blur(16px);
  }
  .search-field { height: 50px; }
  .quick-tools { align-items: stretch; margin-bottom: 15px; }
  .quick-searches > span { display: none; }
  .quick-searches button, .favorites-toggle { min-height: 40px; }
  .category-strip { scroll-snap-type: x proximity; touch-action: pan-x; }
  .category-pill { min-width: auto; height: 46px; scroll-snap-align: start; padding: 4px 12px 4px 6px; }
  .category-orb { width: 35px; height: 35px; }
  .category-pill small { display: none; }
  .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 8px; }
  .favorite-button { top: 7px; right: 7px; width: 34px; height: 34px; }
  .chat-fab { display: none; }
  .mobile-nav {
    position: fixed;
    z-index: 150;
    right: 10px;
    bottom: max(8px, env(safe-area-inset-bottom));
    left: 10px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    min-height: 58px;
    padding: 5px;
    border: 1px solid var(--line-strong);
    border-radius: 18px;
    background: rgba(14,18,25,.94);
    box-shadow: 0 16px 50px rgba(0,0,0,.42);
    backdrop-filter: blur(20px);
  }
  .mobile-nav a, .mobile-nav button {
    display: flex;
    min-width: 0;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3px;
    border: 0;
    border-radius: 13px;
    color: var(--muted);
    background: transparent;
    text-decoration: none;
    font-size: 9px;
  }
  .mobile-nav .active { color: #11160a; background: var(--accent); }
  .mobile-nav svg { width: 17px; height: 17px; }
  .product-drawer {
    top: auto;
    bottom: 0;
    width: 100%;
    height: min(92dvh, 880px);
    border: 1px solid var(--line);
    border-bottom: 0;
    border-radius: 24px 24px 0 0;
    transform: translateY(102%);
  }
  .product-drawer.open { transform: translateY(0); }
  .drawer-scroll::before { content: ""; position: sticky; z-index: 5; top: 8px; display: block; width: 42px; height: 4px; margin: 8px auto -12px; border-radius: 99px; background: rgba(255,255,255,.22); }
  .detail-actions { position: sticky; z-index: 6; bottom: 0; margin: 0 -18px -42px; padding: 12px 18px var(--atlas-safe-bottom); background: rgba(14,17,24,.94); backdrop-filter: blur(18px); }
  footer { padding-bottom: 12px; }
}

@media (max-width: 339px) {
  .product-grid { grid-template-columns: 1fr; }
}
