/* =========================================================
   Subvana — store UI
   Pure black, glassy cards, brand-tinted product art,
   one violet accent (change --accent / --accent-2 to rebrand).
   ========================================================= */
:root {
  --bg: #050507;
  --panel: #0E0E12;
  --panel-2: #15151A;
  --line: rgba(255, 255, 255, 0.07);
  --line-2: rgba(255, 255, 255, 0.13);
  --text: #F5F5F7;
  --text-2: #C9C9D2;
  --muted: #8D8D99;
  --dim: #63636F;
  --accent: #8B5CF6;
  --accent-deep: #6D28D9;
  --accent-2: #B49CFF;
  --mint: #34D399;
  --wa: #25D366;
  --font: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --ease: cubic-bezier(.2, .8, .2, 1);
  --nav-h: 66px;
  --safe-b: env(safe-area-inset-bottom, 0px);
}

@property --a { syntax: "<angle>"; inherits: false; initial-value: 0deg; }

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; -webkit-text-size-adjust: 100%; }
html.no-scroll { overflow: hidden; }
body {
  margin: 0; min-height: 100vh;
  background: var(--bg); color: var(--text);
  font-family: var(--font); font-size: 16px; line-height: 1.55;
  -webkit-font-smoothing: antialiased; -webkit-tap-highlight-color: transparent;
  overflow-x: hidden;
}
img, svg { display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; }
h1, h2, h3, h4, p { margin: 0; }
:focus-visible { outline: 2px solid var(--accent-2); outline-offset: 2px; border-radius: 10px; }
.wrap { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 16px; }
.muted { color: var(--muted); }
.skip { position: absolute; left: -9999px; top: 8px; z-index: 200; padding: 10px 14px; border-radius: 10px; background: var(--accent); color: #fff; font-weight: 700; }
.skip:focus { left: 8px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 48px; padding: 0 22px; border-radius: 14px; border: 1px solid transparent;
  font: 700 15px var(--font); white-space: nowrap; cursor: pointer;
  transition: transform .15s var(--ease), filter .2s, background .2s, border-color .2s, box-shadow .2s;
}
.btn svg { width: 18px; height: 18px; flex-shrink: 0; }
.btn:active { transform: scale(.97); }
.btn-lg { height: 56px; font-size: 16px; border-radius: 16px; }
.btn-sm { height: 40px; padding: 0 14px; font-size: 13.5px; border-radius: 12px; }
.btn-block { width: 100%; }
.btn-primary {
  color: #fff; background: linear-gradient(135deg, #A487FF 0%, var(--accent) 45%, var(--accent-deep) 100%);
  box-shadow: 0 14px 34px -12px rgba(139, 92, 246, .8), inset 0 1px 0 rgba(255, 255, 255, .25);
}
.btn-primary:hover { filter: brightness(1.1); }
.btn-green { color: #03200E; background: linear-gradient(135deg, #5EEA8F, #22C55E); box-shadow: 0 14px 30px -14px rgba(34, 197, 94, .8), inset 0 1px 0 rgba(255,255,255,.35); }
.btn-green:hover { filter: brightness(1.06); }
.btn-wa { color: #03200E; background: var(--wa); box-shadow: 0 14px 30px -14px rgba(37, 211, 102, .8), inset 0 1px 0 rgba(255,255,255,.3); }
.btn-wa:hover { filter: brightness(1.06); }
.btn-ghost { background: rgba(255, 255, 255, .04); border-color: var(--line-2); color: var(--text); }
.btn-ghost:hover { background: rgba(255, 255, 255, .08); }
.icon-btn {
  width: 42px; height: 42px; border-radius: 12px; flex-shrink: 0;
  display: grid; place-items: center; background: rgba(255, 255, 255, .04);
  border: 1px solid var(--line); color: var(--text); transition: background .2s, border-color .2s;
}
.icon-btn:hover { background: rgba(255, 255, 255, .09); border-color: var(--line-2); }
.icon-btn.sm { width: 38px; height: 38px; }
.icon-btn.xs { width: 28px; height: 28px; border-radius: 8px; }
.icon-btn.xs svg { width: 14px; height: 14px; }
.link-btn { background: none; border: 0; padding: 4px; color: var(--muted); font-size: 13px; text-decoration: underline; text-underline-offset: 3px; justify-self: center; }
.link-btn:hover { color: var(--text); }

/* ---------- Ticker ---------- */
.ticker {
  position: relative; z-index: 61; overflow: hidden; height: 34px;
  background: linear-gradient(90deg, #5B21B6, var(--accent) 50%, #5B21B6);
  color: #fff; font-size: 12px; font-weight: 700; letter-spacing: .03em; text-transform: uppercase;
}
.ticker-track { display: flex; align-items: center; width: max-content; height: 100%; animation: marquee 55s linear infinite; }
.ticker span { padding: 0 18px; white-space: nowrap; }
.ticker i { width: 5px; height: 5px; border-radius: 50%; background: rgba(255, 255, 255, .6); flex-shrink: 0; }

/* ---------- Header ---------- */
.header {
  position: sticky; top: 0; z-index: 60;
  background: rgba(5, 5, 7, .8); backdrop-filter: blur(16px) saturate(150%); -webkit-backdrop-filter: blur(16px) saturate(150%);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 64px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-size: 20px; font-weight: 800; letter-spacing: -0.02em; }
.nav-pills { display: none; }
.header-end { display: flex; align-items: center; gap: 10px; }
.hide-sm { display: none; }
.cart-btn {
  position: relative; width: 46px; height: 46px; border-radius: 14px; border: 0;
  display: grid; place-items: center; color: #fff;
  background: linear-gradient(135deg, #A487FF, var(--accent) 50%, var(--accent-deep));
  box-shadow: 0 10px 26px -8px rgba(139, 92, 246, .8), inset 0 1px 0 rgba(255,255,255,.25);
}
.cart-btn svg { width: 22px; height: 22px; }
.cart-count {
  position: absolute; top: -7px; right: -7px; min-width: 21px; height: 21px; padding: 0 6px;
  display: grid; place-items: center; border-radius: 999px;
  background: #fff; color: #17102A; font-size: 11.5px; font-weight: 800; line-height: 1;
  box-shadow: 0 0 0 3px var(--bg);
  transition: background .2s, color .2s;
}
.cart-count.is-zero { background: #26262D; color: var(--muted); }
.bump { animation: bump .5s var(--ease); }

/* ---------- Hero ---------- */
.hero { position: relative; padding: 34px 0 30px; text-align: center; overflow: hidden; }
.hero-orb {
  position: absolute; left: 50%; top: -340px; width: 720px; height: 720px; pointer-events: none;
  background: radial-gradient(closest-side, rgba(139, 92, 246, .42), rgba(139, 92, 246, .12) 55%, transparent);
  transform: translateX(-50%); animation: orb 14s ease-in-out infinite;
}
.hero-inner { position: relative; display: flex; flex-direction: column; align-items: center; }
.pill-live {
  display: inline-flex; align-items: center; gap: 8px; height: 32px; padding: 0 14px; border-radius: 999px;
  background: rgba(139, 92, 246, .12); border: 1px solid rgba(180, 156, 255, .22);
  color: var(--accent-2); font-size: 12px; font-weight: 800; letter-spacing: .07em; text-transform: uppercase;
}
.pill-live i { width: 7px; height: 7px; border-radius: 50%; background: var(--mint); animation: live 2s infinite; }
.hero h1 { margin: 18px 0 14px; font-size: clamp(36px, 9vw, 76px); font-weight: 800; line-height: 1.03; letter-spacing: -0.04em; }
.hero h1 span { background: linear-gradient(90deg, #D8CCFF, var(--accent-2) 35%, #E9A8FF 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-sub { max-width: 34em; color: var(--muted); font-size: clamp(15px, 2.2vw, 18px); }

/* floating logo rail */
.rail {
  position: relative; margin: 26px 0 22px; padding: 16px 0 6px; overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
}
.rail-track { display: flex; width: max-content; animation: marquee 48s linear infinite; }
.rail:hover .rail-track, .rail:focus-within .rail-track { animation-play-state: paused; }
.rail-item { width: 124px; display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 4px 0 8px; border-radius: 16px; }
.rail-float { margin-bottom: 10px; animation: bob 3.6s ease-in-out infinite; animation-delay: var(--d); }
.rail-item:hover .tile { transform: scale(1.08); }
.rail-name { font-size: 14.5px; font-weight: 700; }
.rail-price { font-size: 12.5px; color: var(--muted); }
.rail-price b { color: var(--text-2); font-weight: 700; }

.hero-cta { width: 100%; display: flex; justify-content: center; }
.hero-cta .btn { width: min(100%, 440px); }
.trust { list-style: none; margin: 18px 0 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 18px; font-size: 13px; font-weight: 600; color: var(--muted); }
.trust li { display: inline-flex; align-items: center; gap: 7px; }
.trust svg { color: var(--accent-2); }
.trust li:nth-child(2) svg { color: var(--wa); }

/* rotating light border ("snake") */
.snake { position: relative; isolation: isolate; }
.snake::before {
  content: ""; position: absolute; inset: -1px; z-index: -1; border-radius: inherit; padding: 1px; pointer-events: none;
  background: conic-gradient(from var(--a), transparent 0 62%, rgba(180, 156, 255, .9) 80%, #fff 86%, transparent 94%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
  animation: spin-a 4.5s linear infinite;
}

/* ---------- Finder ---------- */
.finder { display: grid; gap: 12px; margin-top: 6px; }
.search {
  display: flex; align-items: center; gap: 12px; height: 58px; padding: 0 18px;
  border-radius: 18px; background: var(--panel); border: 1px solid var(--line); color: var(--muted);
  transition: border-color .2s, box-shadow .2s;
}
.search:focus-within { border-color: rgba(139, 92, 246, .6); box-shadow: 0 0 0 4px rgba(139, 92, 246, .14); color: var(--accent-2); }
.search input { flex: 1; min-width: 0; height: 100%; background: none; border: 0; outline: 0; color: var(--text); font: 500 16px var(--font); }
.search input::placeholder { color: var(--dim); }
.search input::-webkit-search-cancel-button { filter: invert(.6); }
.support {
  display: flex; align-items: center; gap: 14px; padding: 12px 16px; border-radius: 18px;
  background: var(--panel); border: 1px solid var(--line); transition: border-color .2s, background .2s;
}
.support:hover { border-color: var(--line-2); background: #121217; }
.support-ico { position: relative; width: 46px; height: 46px; flex-shrink: 0; border-radius: 50%; display: grid; place-items: center; background: rgba(255,255,255,.05); border: 1px solid var(--line-2); }
.support-ico i { position: absolute; right: -1px; bottom: -1px; width: 13px; height: 13px; border-radius: 50%; background: var(--wa); border: 3px solid var(--panel); }
.support-txt { flex: 1; display: flex; flex-direction: column; text-align: left; }
.support-txt b { font-size: 15px; }
.support-txt small { font-size: 12.5px; color: var(--muted); }
.support-go { color: var(--muted); }
.search-note { font-size: 13.5px; color: var(--muted); }
.search-note:empty { display: none; }

/* ---------- Sections ---------- */
.section { padding: 44px 0 8px; }
.sec-title {
  display: flex; align-items: center; justify-content: center; gap: 14px; margin-bottom: 18px;
  font-size: clamp(20px, 3vw, 28px); font-weight: 800; letter-spacing: -0.02em; text-align: center;
}
.sec-title::before, .sec-title::after { content: ""; flex: 0 1 70px; height: 1px; background: linear-gradient(90deg, transparent, rgba(180, 156, 255, .5)); }
.sec-title::after { transform: scaleX(-1); }

/* ---------- Chips ---------- */
.chips { display: flex; gap: 8px; overflow-x: auto; margin: 0 -16px 18px; padding: 2px 16px 6px; scrollbar-width: none; }
.chips::-webkit-scrollbar { display: none; }
.chip {
  flex-shrink: 0; display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 16px;
  border-radius: 999px; background: var(--panel); border: 1px solid var(--line);
  color: var(--text-2); font: 600 14px var(--font); transition: background .2s, border-color .2s, color .2s;
}
.chip:hover { border-color: var(--line-2); color: var(--text); }
.chip span { min-width: 20px; padding: 1px 7px; border-radius: 999px; background: rgba(255,255,255,.07); font-size: 11px; font-weight: 700; color: var(--muted); }
.chip[aria-selected="true"] { background: var(--accent); border-color: var(--accent); color: #fff; box-shadow: 0 8px 22px -10px rgba(139, 92, 246, .9); }
.chip[aria-selected="true"] span { background: rgba(255,255,255,.22); color: #fff; }

/* ---------- Brand logo tile ---------- */
.tile {
  --size: 56px;
  position: relative; display: grid; place-items: center; flex-shrink: 0;
  width: var(--size); height: var(--size); border-radius: 24%;
  background: var(--tile);
  box-shadow: 0 14px 34px -12px rgba(var(--g), .65), inset 0 0 0 1px rgba(255, 255, 255, .1);
  transition: transform .5s var(--ease);
}
.tile img { width: calc(var(--s) * 100%); height: calc(var(--s) * 100%); object-fit: contain; user-select: none; }
.tile.is-bare { box-shadow: none; }
.tile.is-bare img { filter: drop-shadow(0 12px 22px rgba(var(--g), .45)); }
.tile b { display: none; font-size: calc(var(--size) * .42); font-weight: 800; color: rgb(var(--g)); }
.tile.no-img img { display: none; }
.tile.no-img b { display: block; }
.t-xs { --size: 30px; border-radius: 9px; }
.t-sm { --size: 50px; border-radius: 14px; }
.t-card { --size: 74px; }
.t-rail { --size: 70px; }
.t-hero { --size: 140px; }

/* ---------- Product cards ---------- */
.grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.card {
  position: relative; display: flex; flex-direction: column; padding: 6px;
  border-radius: 20px; background: rgba(18, 18, 22, .62); border: 1px solid var(--line);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  transition: border-color .3s, background .3s, transform .3s var(--ease), box-shadow .3s;
}
.card:hover { border-color: var(--line-2); background: rgba(22, 22, 28, .85); transform: translateY(-3px); box-shadow: 0 24px 50px -28px rgba(var(--g), .55); }
.card:not(.is-in) { opacity: 0; transform: translateY(18px) scale(.97); }
.card.is-in { animation: pop .6s var(--ease) backwards; animation-delay: calc(min(var(--i), 8) * 45ms); }
.card-media {
  position: relative; display: grid; place-items: center; aspect-ratio: 4 / 3; overflow: hidden; border-radius: 15px;
  background:
    radial-gradient(110% 90% at 25% 0%, rgba(var(--g), .34), transparent 62%),
    linear-gradient(135deg, rgba(var(--g), .22) 0%, rgba(var(--g), .06) 48%, #050506 100%);
}
/* product pictures: full-bleed cover art, or a game box over its own blurred glow */
.art { position: absolute; inset: 0; display: grid; place-items: center; overflow: hidden; border-radius: inherit; }
.art.is-cover .art-img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.art-bg { position: absolute; inset: -14%; width: 128%; height: 128%; object-fit: cover; filter: blur(22px) saturate(1.5) brightness(.5); }
.art.is-box .art-img {
  position: relative; height: 82%; width: auto; max-width: 86%; object-fit: contain; border-radius: 9px;
  box-shadow: 0 18px 38px -12px rgba(0, 0, 0, .95), 0 0 0 1px rgba(255, 255, 255, .12);
  transition: transform .5s var(--ease);
}
.card:hover .art.is-cover .art-img { transform: scale(1.05); }
.card:hover .art.is-box .art-img { transform: scale(1.06) translateY(-2px) rotate(-1.2deg); }
.card-media::after { content: ""; position: absolute; inset: 0; border-radius: inherit; box-shadow: inset 0 1px 0 rgba(255,255,255,.06); pointer-events: none; }
.card:hover .card-media .tile { transform: scale(1.09) translateY(-2px); }
.price-chip {
  position: absolute; top: 8px; right: 8px; z-index: 2;
  padding: 4px 8px; border-radius: 8px; background: var(--accent); color: #fff;
  font-size: 11.5px; font-weight: 800; letter-spacing: .01em; white-space: nowrap;
  box-shadow: 0 6px 16px -6px rgba(139, 92, 246, .9);
}
.price-chip.is-soon { background: rgba(255,255,255,.14); box-shadow: none; backdrop-filter: blur(6px); }
.price-chip.is-ask { background: rgba(255,255,255,.14); box-shadow: none; backdrop-filter: blur(6px); }
.price-chip.is-off { background: #DC2626; box-shadow: 0 6px 16px -6px rgba(220, 38, 38, .8); }
.price-chip small { display: none; font-size: inherit; font-weight: 600; opacity: .85; }
.card-badge {
  position: absolute; bottom: 8px; left: 8px; z-index: 2;
  padding: 3px 8px; border-radius: 999px; font-size: 10.5px; font-weight: 700;
  background: rgba(5, 5, 7, .6); border: 1px solid var(--line-2); color: var(--text);
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
}
.card.is-dim .tile { filter: grayscale(.4); opacity: .8; }
.card-body { flex: 1; display: flex; flex-direction: column; padding: 11px 6px 4px; }
.card-title { font-size: 14.5px; font-weight: 700; line-height: 1.3; letter-spacing: -0.01em; margin-bottom: 10px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.card-title a:hover { color: var(--accent-2); }
.card-desc { display: none; }
.card-tags { display: none; }
.card-tags span { padding: 2px 8px; border-radius: 999px; font-size: 11px; color: var(--muted); background: rgba(255,255,255,.04); border: 1px solid var(--line); }
.card-tags.is-shown { display: flex; flex-wrap: wrap; gap: 6px; margin: 14px 0 4px; }
.card-tags.is-shown span { font-size: 12px; padding: 4px 10px; }
.card-actions { margin-top: auto; display: flex; gap: 6px; }
.btn-buy, .btn-add {
  height: 38px; border-radius: 11px; display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  background: rgba(255, 255, 255, .05); border: 1px solid var(--line); color: var(--text);
  font: 700 13px var(--font); transition: background .2s, border-color .2s, color .2s;
}
.btn-buy { flex: 1; min-width: 0; }
.btn-buy svg { width: 16px; height: 16px; flex-shrink: 0; }
.btn-add { width: 38px; flex-shrink: 0; }
.btn-add svg { width: 18px; height: 18px; }
.btn-buy:hover, .btn-add:hover { background: var(--accent); border-color: var(--accent); color: #fff; }
.btn-buy.is-muted { color: var(--text-2); }
.btn-buy.is-muted svg { width: 15px; height: 15px; }
.btn-buy.is-muted:hover { background: rgba(255,255,255,.1); border-color: var(--line-2); color: var(--text); }
.empty { padding: 30px 0; text-align: center; color: var(--muted); }
.empty a { color: var(--accent-2); text-decoration: underline; }

/* ---------- How it works ---------- */
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.steps li { position: relative; padding: 22px; border-radius: 20px; background: var(--panel); border: 1px solid var(--line); overflow: hidden; }
.step-n {
  display: grid; place-items: center; width: 42px; height: 42px; margin-bottom: 16px; border-radius: 13px;
  background: linear-gradient(135deg, #A487FF, var(--accent-deep)); color: #fff; font-weight: 800; font-size: 18px;
  box-shadow: 0 10px 24px -10px rgba(139, 92, 246, .9);
}
.steps h3 { font-size: 18px; font-weight: 800; margin-bottom: 6px; }
.steps p { font-size: 14.5px; color: var(--muted); }

/* ---------- Why ---------- */
.why { display: grid; gap: 12px; }
.why article { padding: 20px; border-radius: 20px; background: var(--panel); border: 1px solid var(--line); }
.why-ico { display: grid; place-items: center; width: 44px; height: 44px; margin-bottom: 14px; border-radius: 13px; background: rgba(139, 92, 246, .13); color: var(--accent-2); }
.why h3 { font-size: 16.5px; font-weight: 800; margin-bottom: 4px; }
.why p { font-size: 14px; color: var(--muted); }

/* ---------- FAQ ---------- */
.faq-wrap { max-width: 820px; }
.faq details { margin-bottom: 10px; border-radius: 18px; background: var(--panel); border: 1px solid var(--line); transition: border-color .2s; }
.faq details[open] { border-color: var(--line-2); }
.faq summary {
  list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 17px 20px; font-size: 15.5px; font-weight: 700;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; flex-shrink: 0; width: 9px; height: 9px; margin-top: -4px;
  border-right: 2px solid var(--accent-2); border-bottom: 2px solid var(--accent-2);
  transform: rotate(45deg); transition: transform .25s var(--ease), margin .25s;
}
.faq details[open] summary::after { transform: rotate(-135deg); margin-top: 4px; }
.faq details p { padding: 0 20px 18px; color: var(--muted); font-size: 14.5px; }
.faq a { color: var(--accent-2); text-decoration: underline; }

/* ---------- Contact ---------- */
.cta-band {
  display: flex; flex-direction: column; gap: 18px; padding: 26px 22px; border-radius: 24px;
  background: radial-gradient(90% 140% at 100% 0%, rgba(139, 92, 246, .38), transparent 60%), var(--panel);
  border: 1px solid var(--line-2);
}
.cta-band h2 { font-size: clamp(22px, 3vw, 30px); font-weight: 800; letter-spacing: -0.02em; margin-bottom: 6px; }
.cta-band p { color: var(--text-2); font-size: 15px; }
.contact-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-top: 12px; }
.contact-grid a { padding: 14px 16px; border-radius: 16px; background: var(--panel); border: 1px solid var(--line); transition: border-color .2s; }
.contact-grid a:hover { border-color: rgba(139, 92, 246, .5); }
.contact-grid small { display: block; font-size: 12px; color: var(--muted); }
.contact-grid b { display: block; font-size: 14.5px; font-weight: 700; overflow-wrap: anywhere; }

/* ---------- Footer ---------- */
.footer { margin-top: 56px; padding: 40px 0 24px; border-top: 1px solid var(--line); background: linear-gradient(180deg, #08080B, var(--bg)); }
.footer-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px 16px; }
.footer-brand { grid-column: 1 / -1; display: grid; gap: 14px; justify-items: start; }
.footer-brand p { color: var(--muted); font-size: 14px; max-width: 30em; }
.footer h4 { font-size: 13.5px; font-weight: 800; margin-bottom: 10px; }
.footer-grid > div:not(.footer-brand) a { display: block; padding: 5px 0; color: var(--muted); font-size: 14px; cursor: pointer; }
.footer-grid > div:not(.footer-brand) a:hover { color: var(--text); }
.footer-bottom { margin-top: 28px; padding-top: 18px; border-top: 1px solid var(--line); }
.footer-bottom p { font-size: 12.5px; color: var(--dim); }

/* ---------- Bottom nav (phones) ---------- */
body { padding-bottom: calc(var(--nav-h) + var(--safe-b)); }
.bottom-nav {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 70;
  display: flex; align-items: stretch; height: calc(var(--nav-h) + var(--safe-b)); padding-bottom: var(--safe-b);
  background: rgba(8, 8, 11, .94); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px);
  border-top: 1px solid var(--line);
}
.bottom-nav > a, .bottom-nav > button {
  position: relative; flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px;
  background: none; border: 0; color: var(--dim); font-size: 11px; font-weight: 700; transition: color .2s;
}
.bottom-nav > a svg, .bottom-nav > button > svg { width: 22px; height: 22px; }
.bottom-nav > a:hover, .bottom-nav > button:hover { color: var(--text-2); }
.bottom-nav .is-active { color: var(--accent-2); }
.bottom-nav .is-active::before { content: ""; position: absolute; top: 0; width: 22px; height: 3px; border-radius: 0 0 4px 4px; background: var(--accent-2); }
.bn-cart { color: var(--text-2) !important; }
.bn-cart-btn {
  position: relative; display: grid; place-items: center; width: 58px; height: 58px; margin-top: -30px; margin-bottom: 2px;
  border-radius: 19px; color: #fff;
  background: linear-gradient(135deg, #A487FF, var(--accent) 50%, var(--accent-deep));
  box-shadow: 0 12px 28px -8px rgba(139, 92, 246, .85), 0 0 0 5px var(--bg);
}
.bn-cart-btn svg { width: 24px; height: 24px; }
.bn-cart-btn .cart-count { top: -6px; right: -6px; }

/* ---------- Floating WhatsApp ---------- */
.wa-float {
  position: fixed; right: 16px; bottom: calc(var(--nav-h) + var(--safe-b) + 16px); z-index: 66;
  display: grid; place-items: center; width: 54px; height: 54px; border-radius: 50%;
  background: var(--wa); color: #fff; box-shadow: 0 14px 30px -8px rgba(37, 211, 102, .7);
  transition: transform .2s var(--ease), bottom .3s var(--ease);
}
.wa-float svg { width: 28px; height: 28px; }
.wa-float::after { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid var(--wa); animation: ping 2.4s var(--ease) infinite; }
.wa-float:hover { transform: scale(1.06); }
body:has(.buy-bar.is-on) .wa-float { bottom: calc(var(--nav-h) + var(--safe-b) + 84px); }

/* ---------- Toast ---------- */
.toast {
  position: fixed; left: 50%; bottom: calc(var(--nav-h) + var(--safe-b) + 14px); z-index: 90;
  display: flex; align-items: center; gap: 10px; width: max-content; max-width: calc(100vw - 24px);
  padding: 8px 8px 8px 10px; border-radius: 16px;
  background: rgba(24, 24, 30, .97); border: 1px solid var(--line-2); box-shadow: 0 20px 50px -16px rgba(0,0,0,.9);
  font-size: 13.5px; opacity: 0; pointer-events: none; transform: translate(-50%, 16px);
  transition: opacity .25s, transform .3s var(--ease);
}
.toast.is-on { opacity: 1; pointer-events: auto; transform: translate(-50%, 0); }
.toast > span:not(.tile) { flex: 1; min-width: 0; }
.toast b { font-weight: 700; }
.toast button { flex-shrink: 0; height: 34px; padding: 0 12px; border-radius: 10px; border: 0; background: var(--accent); color: #fff; font-weight: 700; font-size: 13px; }

/* ---------- Sheets (cart / checkout / more) ---------- */
.sheet { position: fixed; inset: 0; z-index: 100; }
.sheet[hidden] { display: none; }
.sheet-backdrop { position: absolute; inset: 0; background: rgba(0, 0, 0, .62); backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px); opacity: 0; transition: opacity .28s; }
.sheet.is-open .sheet-backdrop { opacity: 1; }
.sheet-panel {
  position: absolute; left: 0; right: 0; bottom: 0; max-height: 92dvh; max-height: 92vh;
  display: flex; flex-direction: column;
  background: #0C0C10; border: 1px solid var(--line-2); border-bottom: 0; border-radius: 26px 26px 0 0;
  box-shadow: 0 -30px 80px -20px rgba(0, 0, 0, .9);
  transform: translateY(100%); transition: transform .32s var(--ease);
}
@supports (max-height: 92dvh) { .sheet-panel { max-height: 92dvh; } }
.sheet.is-open .sheet-panel { transform: none; }
.sheet-panel.is-small { max-height: 82vh; }
.sheet-grip { width: 42px; height: 4px; margin: 10px auto 0; border-radius: 4px; background: rgba(255, 255, 255, .18); flex-shrink: 0; }
.sheet-head { position: relative; display: grid; grid-template-columns: 38px 1fr 38px; align-items: center; gap: 8px; padding: 10px 14px 14px; flex-shrink: 0; }
.sheet-title { text-align: center; }
.sheet-title h2 { font-size: 17px; font-weight: 800; }
.sheet-title p { font-size: 12px; color: var(--muted); }
.sheet-progress { position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: rgba(255, 255, 255, .06); }
.sheet-progress i { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--accent), #E9A8FF); transition: width .4s var(--ease); }
.sheet-body { flex: 1; overflow-y: auto; padding: 16px; overscroll-behavior: contain; }
.sheet-foot { display: grid; gap: 10px; padding: 14px 16px calc(14px + var(--safe-b)); border-top: 1px solid var(--line); background: #0C0C10; flex-shrink: 0; }
.sheet-foot:empty { display: none; }

.more-links { padding-top: 4px; }
.more-links > a:not(.btn) { display: flex; align-items: center; gap: 14px; padding: 14px 4px; border-bottom: 1px solid var(--line); color: var(--text-2); }
.more-links > a:not(.btn) span { flex: 1; font-size: 15px; font-weight: 600; color: var(--text); }
.more-links > a:not(.btn) svg:last-child { color: var(--dim); }
.more-links .btn { margin-top: 18px; }

/* checkout: cart */
.co-lede { font-size: 13.5px; color: var(--muted); margin-bottom: 14px; }
.co-items { list-style: none; margin: 0 0 12px; padding: 0; display: grid; gap: 10px; }
.co-item { display: grid; grid-template-columns: auto 1fr auto; gap: 12px; padding: 12px; border-radius: 18px; background: var(--panel-2); border: 1px solid var(--line); }
.co-info { min-width: 0; }
.co-info b { display: block; font-size: 14.5px; font-weight: 700; line-height: 1.3; }
.co-info small { display: block; margin-top: 2px; font-size: 12.5px; color: var(--muted); }
.qty { display: inline-flex; align-items: center; gap: 12px; margin-top: 10px; }
.qty button { width: 32px; height: 32px; border-radius: 10px; display: grid; place-items: center; border: 1px solid var(--line-2); background: rgba(255, 255, 255, .04); }
.qty button:last-child { background: var(--accent); border-color: var(--accent); color: #fff; }
.qty button svg { width: 16px; height: 16px; }
.qty span { min-width: 16px; text-align: center; font-weight: 800; }
.co-end { display: flex; flex-direction: column; align-items: flex-end; justify-content: space-between; }
.co-end strong { font-size: 14.5px; font-weight: 800; color: var(--accent-2); white-space: nowrap; }
.co-total { display: flex; align-items: center; justify-content: space-between; padding: 0 2px; }
.co-total span { font-size: 14px; color: var(--muted); font-weight: 600; }
.co-total strong { font-size: 22px; font-weight: 800; color: var(--accent-2); }
.co-empty, .co-done { padding: 34px 8px; text-align: center; display: grid; justify-items: center; gap: 8px; }
.co-empty-icon, .co-done-icon { display: grid; place-items: center; width: 68px; height: 68px; margin-bottom: 8px; border-radius: 22px; background: rgba(139, 92, 246, .12); color: var(--accent-2); }
.co-empty-icon svg, .co-done-icon svg { width: 30px; height: 30px; }
.co-done-icon { background: rgba(34, 197, 94, .14); color: #4ADE80; }
.co-empty h3, .co-done h3 { font-size: 20px; font-weight: 800; }
.co-empty p, .co-done p { font-size: 14.5px; color: var(--text-2); max-width: 26em; }
.co-done .muted { font-size: 13.5px; color: var(--muted); }
.co-done a { color: var(--accent-2); text-decoration: underline; }

/* checkout: details */
.pay-card {
  position: relative; overflow: hidden; padding: 18px; border-radius: 22px; color: #fff;
  background: radial-gradient(120% 120% at 100% 0%, rgba(233, 168, 255, .45), transparent 55%), linear-gradient(135deg, #7C3AED, #3B0F8C);
  box-shadow: 0 20px 40px -20px rgba(124, 58, 237, .9);
}
.pay-card small { display: block; font-size: 11.5px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; opacity: .8; }
.pay-card strong { display: block; margin: 2px 0 4px; font-size: 32px; font-weight: 800; letter-spacing: -0.02em; }
.pay-card span { font-size: 13px; opacity: .9; }
.pay-card .link-btn { color: #fff; padding: 0; font-size: 13px; }
.co-label { margin: 22px 2px 10px; font-size: 12px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.field {
  display: flex; align-items: center; gap: 12px; margin-bottom: 8px; padding: 10px 14px;
  border-radius: 16px; background: var(--panel-2); border: 1px solid var(--line); cursor: text;
  transition: border-color .2s, background .2s;
}
.field:focus-within { border-color: rgba(139, 92, 246, .6); background: #18181F; }
.field.is-bad { border-color: #F87171; }
.f-ico { display: grid; place-items: center; width: 38px; height: 38px; flex-shrink: 0; border-radius: 12px; background: rgba(255, 255, 255, .05); color: var(--muted); transition: background .2s, color .2s; }
.field:focus-within .f-ico { background: rgba(139, 92, 246, .16); color: var(--accent-2); }
.f-main { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.f-label { display: flex; align-items: center; justify-content: space-between; gap: 8px; font-size: 12.5px; font-weight: 700; color: var(--text-2); }
.f-label em { font-style: normal; font-size: 11px; font-weight: 600; padding: 1px 8px; border-radius: 999px; background: rgba(255, 255, 255, .06); color: var(--muted); }
.field input { width: 100%; padding: 2px 0; background: none; border: 0; outline: 0; color: var(--text); font: 500 16px var(--font); }
.field input::placeholder { color: var(--dim); }
.f-row { display: flex; align-items: center; gap: 8px; }
.cc { flex-shrink: 0; padding: 2px 6px; border-radius: 6px; background: #01411C; color: #fff; font-size: 10.5px; font-weight: 800; letter-spacing: .04em; }
.f-error { margin: 6px 2px 0; font-size: 13.5px; font-weight: 600; color: #FCA5A5; }
.f-error:empty { display: none; }
.f-hint { margin: 10px 2px 0; font-size: 12.5px; color: var(--dim); }

/* checkout: payment */
.pay-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.pay-opt { display: flex; align-items: center; gap: 10px; padding: 12px; border-radius: 14px; background: var(--panel-2); border: 1px solid var(--line); text-align: left; transition: border-color .2s, background .2s; }
.pay-opt:hover { border-color: var(--line-2); }
.pay-opt[aria-checked="true"] { border-color: var(--accent); background: rgba(139, 92, 246, .1); }
.radio { width: 18px; height: 18px; flex-shrink: 0; border-radius: 50%; border: 2px solid var(--dim); transition: all .2s; }
[aria-checked="true"] > .radio { border-color: var(--accent); background: var(--accent); box-shadow: inset 0 0 0 3px var(--panel-2); }
.pay-txt { min-width: 0; }
.pay-txt b { display: block; font-size: 14px; font-weight: 700; }
.pay-txt small { display: block; font-size: 11.5px; color: var(--muted); }
.co-summary { display: grid; gap: 8px; padding: 14px; border-radius: 16px; background: var(--panel-2); border: 1px solid var(--line); font-size: 13.5px; }
.co-summary > div { display: flex; justify-content: space-between; gap: 12px; }
.co-summary span { color: var(--muted); }
.co-summary b { font-weight: 600; text-align: right; overflow-wrap: anywhere; }
.co-summary .sum-sep { height: 1px; background: var(--line); margin: 2px 0; }
.co-summary .sum-total span { color: var(--text); font-weight: 700; }
.co-summary .sum-total b { color: var(--accent-2); font-size: 17px; font-weight: 800; }

/* ---------- Product page ---------- */
.pd-page { padding-top: 10px; }
.back-link { display: inline-flex; align-items: center; gap: 4px; margin-bottom: 10px; padding: 8px 0; color: var(--muted); font-size: 14px; font-weight: 600; }
.back-link:hover { color: var(--text); }
.pd { display: grid; gap: 22px; }
.pd-media {
  position: relative; display: grid; place-items: center; aspect-ratio: 4 / 3; overflow: hidden;
  border-radius: 26px; border: 1px solid var(--line);
  background:
    radial-gradient(70% 70% at 50% 45%, rgba(var(--g), .36), transparent 70%),
    linear-gradient(135deg, rgba(var(--g), .24) 0%, rgba(var(--g), .05) 55%, #050506 100%);
}
.pd-media::before {
  content: ""; position: absolute; inset: 0; opacity: .5; pointer-events: none;
  background-image: radial-gradient(rgba(255, 255, 255, .08) 1px, transparent 1.2px);
  background-size: 18px 18px;
  -webkit-mask-image: radial-gradient(closest-side, #000, transparent);
          mask-image: radial-gradient(closest-side, #000, transparent);
}
.pd-stage { position: relative; animation: bob 4.2s ease-in-out infinite; }
.pd-media.has-art::before { display: none; }
.pd-media.fit-box .art-img { height: 84%; border-radius: 14px; animation: bob 5s ease-in-out infinite; }
.pd-media .card-badge { top: 14px; bottom: auto; left: 14px; font-size: 12px; padding: 5px 11px; }
.pd-meta { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 10px; }
.pd-cat { font-size: 13.5px; font-weight: 600; color: var(--muted); }
.status { display: inline-flex; align-items: center; gap: 7px; height: 28px; padding: 0 12px; border-radius: 999px; font-size: 11.5px; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; white-space: nowrap; }
.status i { width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.status.is-ok { color: #4ADE80; background: rgba(34, 197, 94, .1); border: 1px solid rgba(34, 197, 94, .3); }
.status.is-ok i { animation: live-g 2s infinite; }
.status.is-off { color: #FCA5A5; background: rgba(239, 68, 68, .1); border: 1px solid rgba(239, 68, 68, .3); }
.status.is-soon { color: #FCD34D; background: rgba(245, 158, 11, .1); border: 1px solid rgba(245, 158, 11, .3); }
.pd-info h1 { font-size: clamp(27px, 4.2vw, 42px); font-weight: 800; line-height: 1.1; letter-spacing: -0.03em; }
.pd-desc { margin-top: 10px; color: var(--muted); font-size: 15.5px; }
.pd-label { margin: 24px 0 10px; font-size: 14px; font-weight: 800; }
.plans { display: grid; gap: 8px; }
.plan {
  display: flex; align-items: center; gap: 12px; width: 100%; padding: 15px 16px; text-align: left;
  border-radius: 16px; background: var(--panel); border: 1px solid var(--line);
  transition: border-color .2s, background .2s, box-shadow .2s;
}
.plan:hover { border-color: var(--line-2); }
.plan[aria-checked="true"] { border-color: var(--accent); background: rgba(139, 92, 246, .08); box-shadow: 0 0 0 3px rgba(139, 92, 246, .13); }
.plan[aria-checked="true"] > .radio { box-shadow: inset 0 0 0 3px #15121F; }
.plan-name { flex: 1; display: flex; align-items: center; flex-wrap: wrap; gap: 8px 10px; font-size: 15px; font-weight: 700; }
.plan-name em { font-style: normal; padding: 3px 8px; border-radius: 999px; background: var(--mint); color: #052E1F; font-size: 10.5px; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; }
.plan-price { font-size: 15.5px; font-weight: 800; white-space: nowrap; }
.pd-buy { margin-top: 18px; padding: 16px; border-radius: 22px; background: var(--panel); border: 1px solid var(--line-2); }
.pd-total { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.pd-total span { font-size: 14px; font-weight: 600; color: var(--muted); }
.pd-total strong { font-size: 30px; font-weight: 800; letter-spacing: -0.02em; color: var(--accent-2); }
.pd-total strong.is-soft { font-size: 20px; color: var(--text-2); }
.pd-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.pd-actions .btn { height: 52px; }
.pd-actions > :only-child { grid-column: 1 / -1; }
.perks { list-style: none; margin: 14px 0 0; padding: 0; display: grid; gap: 8px; }
.perks li { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 14px; background: rgba(255, 255, 255, .025); border: 1px solid var(--line); }
.perks svg { flex-shrink: 0; color: var(--accent-2); }
.perks span { font-size: 13px; color: var(--muted); }
.perks b { display: block; font-size: 14px; font-weight: 700; color: var(--text); }
.pd-tabs { margin-top: 34px; }
.tabs { display: flex; gap: 6px; margin-bottom: 12px; padding: 5px; border-radius: 16px; background: var(--panel); border: 1px solid var(--line); }
.tab { flex: 1; height: 44px; border: 0; border-radius: 12px; background: none; color: var(--muted); font: 700 14px var(--font); transition: background .2s, color .2s; }
.tab[aria-selected="true"] { background: rgba(255, 255, 255, .08); color: var(--text); }
.tab-panel { padding: 20px; border-radius: 22px; background: var(--panel); border: 1px solid var(--line); }
.tab-panel > p { color: var(--text-2); font-size: 15px; }
.tab-panel .muted { margin-top: 16px; font-size: 13.5px; color: var(--muted); }
.tab-panel a { color: var(--accent-2); text-decoration: underline; }
.checks { list-style: none; margin: 16px 0 0; padding: 0; display: grid; gap: 12px; }
.checks li { display: flex; align-items: flex-start; gap: 12px; font-size: 15px; color: var(--text-2); }
.checks svg { flex-shrink: 0; margin-top: 1px; color: var(--accent-2); }
.checks.is-warn svg { color: #FBBF24; }
.related { margin-top: 48px; }
.pd-missing { padding: 70px 16px; text-align: center; display: grid; justify-items: center; gap: 12px; }
.pd-missing h1 { font-size: 26px; font-weight: 800; }
.pd-missing p { color: var(--muted); max-width: 28em; margin-bottom: 8px; }

.buy-bar {
  position: fixed; left: 0; right: 0; bottom: calc(var(--nav-h) + var(--safe-b)); z-index: 65;
  display: flex; align-items: center; gap: 12px; padding: 10px 16px;
  background: rgba(10, 10, 14, .96); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-top: 1px solid var(--line-2);
  transform: translateY(130%); transition: transform .3s var(--ease);
}
.buy-bar.is-on { transform: none; }
.buy-bar > div:first-child { flex-shrink: 0; }
.buy-bar small { display: block; font-size: 11.5px; color: var(--muted); }
.buy-bar strong { font-size: 18px; font-weight: 800; color: var(--accent-2); white-space: nowrap; }
.buy-bar-actions { flex: 1; display: flex; justify-content: flex-end; gap: 8px; }
.buy-bar-actions .btn { height: 44px; padding: 0 16px; font-size: 14px; }
.buy-bar-actions [data-act="add"] { width: 44px; padding: 0; }
.buy-bar-actions [data-act="add"] span { display: none; }

/* ---------- Policies ---------- */
.policy { padding: 10px 0 20px; }
.policy .wrap { max-width: 840px; }
.policy h1 { font-size: clamp(30px, 5vw, 46px); font-weight: 800; letter-spacing: -0.03em; }
.policy .updated { margin-top: 4px; color: var(--muted); }
.policy-nav { margin-top: 18px; }
.policy section { margin-top: 18px; padding: 22px; border-radius: 22px; background: var(--panel); border: 1px solid var(--line); }
.policy h2 { margin-bottom: 12px; font-size: 21px; font-weight: 800; }
.policy p, .policy li { margin-bottom: 10px; color: var(--text-2); font-size: 15px; }
.policy ul { margin: 0; padding-left: 20px; }
.policy li::marker { color: var(--accent-2); }
.policy section a { color: var(--accent-2); text-decoration: underline; }

/* ---------- Motion ---------- */
@keyframes marquee { to { transform: translateX(-50%); } }
@keyframes bob { 0%, 100% { transform: translateY(-5px) rotate(-3deg); } 50% { transform: translateY(5px) rotate(3deg); } }
@keyframes live { 0% { box-shadow: 0 0 0 0 rgba(52, 211, 153, .6); } 80%, 100% { box-shadow: 0 0 0 7px rgba(52, 211, 153, 0); } }
@keyframes live-g { 0% { box-shadow: 0 0 0 0 rgba(74, 222, 128, .6); } 80%, 100% { box-shadow: 0 0 0 7px rgba(74, 222, 128, 0); } }
@keyframes spin-a { to { --a: 360deg; } }
@keyframes orb { 0%, 100% { transform: translateX(-50%) scale(1); } 50% { transform: translateX(-46%) scale(1.08); } }
@keyframes pop { 0% { opacity: 0; transform: translateY(18px) scale(.96); } 60% { opacity: 1; transform: translateY(-3px) scale(1.005); } 100% { opacity: 1; transform: none; } }
@keyframes bump { 30% { transform: scale(1.18) rotate(-6deg); } 60% { transform: scale(.94); } 100% { transform: none; } }
@keyframes ping { 0% { transform: scale(1); opacity: .7; } 80%, 100% { transform: scale(1.6); opacity: 0; } }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
  .card:not(.is-in) { opacity: 1; transform: none; }
}

/* ---------- Larger screens ---------- */
@media (min-width: 600px) {
  .why { grid-template-columns: repeat(2, 1fr); }
  .pay-card strong { font-size: 34px; }
}
@media (min-width: 720px) {
  .wrap { padding: 0 24px; }
  .grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
  .chips { flex-wrap: wrap; justify-content: center; overflow: visible; margin: 0 0 24px; padding: 0; }
  .card { padding: 8px; border-radius: 22px; }
  .card-media { border-radius: 16px; }
  .t-card { --size: 96px; }
  .t-rail { --size: 80px; }
  .rail-item { width: 140px; }
  .price-chip { top: 12px; right: 12px; font-size: 12.5px; padding: 5px 10px; }
  .card-badge { bottom: 12px; left: 12px; font-size: 11.5px; }
  .price-chip small { display: inline; }
  .card-body { padding: 14px 8px 6px; }
  .card-title { font-size: 16.5px; margin-bottom: 6px; }
  .card-desc { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; margin-bottom: 10px; font-size: 13px; line-height: 1.45; color: var(--muted); }
  .card-tags { display: flex; flex-wrap: wrap; gap: 5px; margin-bottom: 14px; }
  .btn-buy, .btn-add { height: 40px; }
  .btn-add { width: 40px; }
  .steps { grid-template-columns: repeat(3, 1fr); }
  .cta-band { flex-direction: row; align-items: center; justify-content: space-between; padding: 34px; }
  .contact-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .section { padding-top: 64px; }
  .t-hero { --size: 170px; }
  .sheet-body { padding: 18px 20px; }
  .sheet-foot { padding-left: 20px; padding-right: 20px; }
}
@media (min-width: 900px) {
  body { padding-bottom: 0; }
  .bottom-nav { display: none; }
  .header-inner { height: 72px; }
  .nav-pills { display: flex; gap: 6px; }
  .nav-pills a {
    display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 15px; border-radius: 999px;
    background: rgba(255, 255, 255, .03); border: 1px solid var(--line); color: var(--text-2);
    font-size: 14px; font-weight: 700; transition: background .2s, border-color .2s, color .2s;
  }
  .nav-pills a svg { width: 17px; height: 17px; }
  .nav-pills a:hover { border-color: var(--line-2); color: var(--text); }
  .nav-pills a.is-active { background: var(--accent); border-color: var(--accent); color: #fff; box-shadow: 0 8px 22px -10px rgba(139, 92, 246, .9); }
  .hide-sm { display: grid; }
  .hero { padding: 64px 0 40px; }
  .finder { grid-template-columns: 1.7fr 1fr; }
  .search-note { grid-column: 1 / -1; }
  .wa-float { right: 24px; bottom: 24px; width: 58px; height: 58px; }
  body:has(.buy-bar.is-on) .wa-float { bottom: 96px; }
  .toast { bottom: 28px; }
  .footer { padding-bottom: 28px; }
  .footer-grid { grid-template-columns: 1.6fr 1fr 1fr 1fr; }
  .footer-brand { grid-column: auto; }
  .pd-page { padding-top: 22px; }
  .pd { grid-template-columns: 1.05fr 1fr; gap: 44px; align-items: start; }
  .pd-media { position: sticky; top: 96px; aspect-ratio: 1; }
  .pd-media.fit-cover { aspect-ratio: 4 / 3; }
  .t-hero { --size: 200px; }
  .buy-bar { bottom: 0; padding: 12px max(24px, calc((100vw - 1152px) / 2)); }
  .buy-bar-actions [data-act="add"] { width: auto; padding: 0 16px; }
  .buy-bar-actions [data-act="add"] span { display: inline; }
  .sheet-panel {
    top: 0; left: auto; bottom: 0; width: 460px; max-height: none;
    border-radius: 26px 0 0 26px; border-bottom: 1px solid var(--line-2); border-right: 0;
    transform: translateX(100%);
  }
  @supports (max-height: 92dvh) { .sheet-panel { max-height: none; } }
  .sheet-panel.is-small { max-height: none; }
  .sheet-grip { display: none; }
  .sheet-head { padding-top: 18px; }
}
@media (min-width: 1080px) {
  .grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
  .why { grid-template-columns: repeat(4, 1fr); }
}
