/* Rambasamba storefront + shared chrome. Mobile-first. Uses /brand/tokens.css. */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 130px; }
html.rs-lock, html.rs-lock body { overflow: hidden; }
body {
  margin: 0; min-height: 100vh; background: var(--rs-night); color: var(--rs-text); font: 400 15px/1.55 var(--rs-font);
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
body::before { /* ambient light behind every page */
  content: ""; position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background: radial-gradient(900px 600px at 85% -10%, rgba(59, 91, 255, .18), transparent 60%), radial-gradient(700px 500px at -10% 30%, rgba(30, 167, 225, .10), transparent 60%), var(--rs-night);
}
img { max-width: 100%; display: block; }
a { color: var(--rs-cyan); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 3px; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 2px solid var(--rs-cyan); outline-offset: 2px; border-radius: 6px; }
h1, h2, h3, h4 { font-family: var(--rs-display); letter-spacing: -.02em; line-height: 1.12; margin: 0 0 .5em; }
svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.rs-sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.wrap { width: 100%; max-width: 1320px; margin: 0 auto; padding: 0 16px; }
@media (min-width: 760px) { .wrap { padding: 0 28px; } }
.muted { color: var(--rs-muted); } .dim { color: var(--rs-dim); }
.grad-text { background: var(--rs-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hot-text { background: var(--rs-grad-hot); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ---------- buttons + forms ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; padding: 0 22px; border-radius: 999px; border: 1px solid var(--rs-line);
  background: rgba(255, 255, 255, .06); color: var(--rs-text); font-weight: 600; text-decoration: none !important; transition: transform .15s, background .2s, box-shadow .2s; white-space: nowrap; }
.btn:hover { background: rgba(255, 255, 255, .11); }
.btn:active { transform: scale(.97); }
.btn-hot { background: var(--rs-grad-hot); color: #1a0b12; border: 0; box-shadow: 0 12px 34px -10px rgba(255, 122, 61, .7); }
.btn-hot:hover { background: var(--rs-grad-hot); box-shadow: 0 16px 44px -10px rgba(255, 122, 61, .9); }
.btn-blue { background: var(--rs-grad); color: #04101f; border: 0; box-shadow: 0 12px 34px -12px rgba(30, 167, 225, .8); }
.btn-blue:hover { background: var(--rs-grad); }
.btn-sm { min-height: 36px; padding: 0 14px; font-size: 13px; }
.btn-block { width: 100%; }
.btn[disabled] { opacity: .5; pointer-events: none; }
.link-btn { background: none; border: 0; padding: 0; color: var(--rs-cyan); font-weight: 500; }
.link-btn:hover { text-decoration: underline; }
.field { display: grid; gap: 6px; margin-bottom: 14px; }
.field > span, .field > label { font-size: 13px; font-weight: 600; color: var(--rs-muted); }
.input, select.input, textarea.input { width: 100%; min-height: 46px; padding: 11px 14px; border-radius: var(--rs-radius-sm); border: 1px solid var(--rs-line); background: rgba(5, 11, 22, .6); color: var(--rs-text); }
textarea.input { min-height: 100px; resize: vertical; }
.input:focus { border-color: var(--rs-blue); outline: none; box-shadow: 0 0 0 3px rgba(30, 167, 225, .25); }
select.input { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--rs-muted) 50%), linear-gradient(135deg, var(--rs-muted) 50%, transparent 50%); background-position: calc(100% - 18px) 50%, calc(100% - 13px) 50%; background-size: 5px 5px; background-repeat: no-repeat; padding-right: 34px; }
.row2 { display: grid; gap: 0 12px; grid-template-columns: 1fr; }
@media (min-width: 560px) { .row2 { grid-template-columns: 1fr 1fr; } .row3 { grid-template-columns: 2fr 1fr 1fr; } }
.check { display: flex; gap: 10px; align-items: center; cursor: pointer; font-size: 14px; }
.check input { width: 18px; height: 18px; accent-color: var(--rs-blue); }
.err { color: var(--rs-red); font-size: 13px; min-height: 0; }
.ok-text { color: var(--rs-green); }
.glass { background: linear-gradient(160deg, rgba(23, 63, 95, .35), rgba(10, 22, 40, .55)); border: 1px solid var(--rs-line); border-radius: var(--rs-radius); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }
.panel { padding: 20px; }
@media (min-width: 760px) { .panel { padding: 26px; } }
.chip { display: inline-flex; align-items: center; gap: 6px; min-height: 36px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--rs-line); background: rgba(255, 255, 255, .04); color: var(--rs-text); font-size: 13px; font-weight: 500; text-decoration: none !important; }
.chip:hover { border-color: rgba(111, 231, 255, .5); }
.chip.on, .chip[aria-pressed="true"] { background: rgba(30, 167, 225, .2); border-color: var(--rs-blue); color: #fff; }
.chip[disabled] { opacity: .4; text-decoration: line-through !important; cursor: not-allowed; }
.badge { display: inline-flex; align-items: center; gap: 4px; padding: 3px 9px; border-radius: 999px; font-size: 11px; font-weight: 700; letter-spacing: .02em; }
.badge-hot { background: var(--rs-grad-hot); color: #1a0b12; }
.badge-blue { background: rgba(30, 167, 225, .18); color: var(--rs-cyan); border: 1px solid rgba(111, 231, 255, .3); }
.badge-green { background: rgba(47, 217, 154, .14); color: var(--rs-green); }
.badge-red { background: rgba(255, 90, 106, .15); color: var(--rs-red); }
.badge-gray { background: rgba(255, 255, 255, .08); color: var(--rs-muted); }
.skel { background: linear-gradient(90deg, rgba(255, 255, 255, .04), rgba(255, 255, 255, .09), rgba(255, 255, 255, .04)); background-size: 200% 100%; animation: skel 1.3s infinite; border-radius: var(--rs-radius); }
@keyframes skel { to { background-position: -200% 0; } }
.empty { text-align: center; padding: 60px 16px; }
.empty h2 { font-size: 24px; }
.empty .btn { margin-top: 12px; }

html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }

/* ---------- demo banner ---------- */
.rs-demo { position: relative; z-index: 60; display: flex; align-items: center; justify-content: center; gap: 10px; padding: 7px 44px 7px 16px; font-size: 12.5px; text-align: center; color: #1a0b12; background: var(--rs-grad-hot); }
.rs-demo[hidden] { display: none; }
.rs-demo-x { position: absolute; right: 8px; top: 50%; transform: translateY(-50%); background: none; border: 0; color: inherit; padding: 4px; display: grid; }
.rs-demo-x svg { width: 16px; height: 16px; }

/* ---------- header ---------- */
#rs-header { position: sticky; top: 0; z-index: 50; }
.rs-hdr { background: rgba(5, 11, 22, .72); backdrop-filter: blur(18px) saturate(1.4); -webkit-backdrop-filter: blur(18px) saturate(1.4); border-bottom: 1px solid var(--rs-line); }
.rs-hdr-row { max-width: 1320px; margin: 0 auto; padding: 10px 16px; display: grid; gap: 10px 8px; align-items: center; grid-template-columns: auto 1fr auto; grid-template-areas: "burger logo right" "search search search"; }
.rs-burger { grid-area: burger; }
.rs-logo { grid-area: logo; display: inline-flex; align-items: center; gap: 9px; color: var(--rs-text); text-decoration: none !important; min-width: 0; }
.rs-logo img { width: 32px; height: 32px; filter: drop-shadow(0 4px 14px rgba(30, 167, 225, .55)); transition: transform .4s cubic-bezier(.3, 1.6, .5, 1); }
.rs-logo:hover img { transform: rotate(-10deg) scale(1.08); }
.rs-word { font: 700 15px/1 var(--rs-display); letter-spacing: .26em; white-space: nowrap; background: linear-gradient(90deg, #fff, #bfe9ff); -webkit-background-clip: text; background-clip: text; color: transparent; }
.rs-cats-btn { display: none; }
.rs-search { grid-area: search; position: relative; display: flex; align-items: center; height: 46px; border-radius: 999px; background: rgba(255, 255, 255, .07); border: 1px solid var(--rs-line); transition: border-color .2s, box-shadow .2s; }
.rs-search:focus-within { border-color: var(--rs-blue); box-shadow: 0 0 0 4px rgba(30, 167, 225, .18); }
.rs-search input[type=search] { flex: 1; min-width: 0; height: 100%; padding: 0 6px 0 18px; border: 0; background: none; outline: none; }
.rs-search input::placeholder { color: var(--rs-dim); }
.rs-search input::-webkit-search-cancel-button { filter: invert(1); opacity: .5; }
.rs-ai-tog { position: relative; display: flex; cursor: pointer; }
.rs-ai-tog input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.rs-ai-pill { display: inline-flex; align-items: center; gap: 4px; height: 30px; padding: 0 10px; border-radius: 999px; font-size: 12px; font-weight: 700; color: var(--rs-muted); border: 1px solid var(--rs-line); transition: all .2s; }
.rs-ai-pill svg { width: 15px; height: 15px; }
.rs-ai-tog input:checked + .rs-ai-pill { background: var(--rs-grad); color: #04101f; border-color: transparent; box-shadow: 0 0 18px rgba(111, 231, 255, .5); }
.rs-ai-tog input:focus-visible + .rs-ai-pill { outline: 2px solid var(--rs-cyan); outline-offset: 2px; }
.rs-search-go { width: 38px; height: 38px; margin: 0 4px 0 6px; border-radius: 50%; border: 0; display: grid; place-items: center; background: var(--rs-grad); color: #04101f; }
.rs-search-go svg { width: 18px; height: 18px; stroke-width: 2.4; }
.rs-suggest { position: absolute; left: 0; right: 0; top: calc(100% + 8px); z-index: 70; padding: 6px; border-radius: 16px; background: #0b1a30; border: 1px solid var(--rs-line); box-shadow: var(--rs-shadow); max-height: 70vh; overflow: auto; }
.rs-suggest a { display: flex; align-items: center; gap: 12px; padding: 8px 10px; border-radius: 10px; color: var(--rs-text); text-decoration: none; font-size: 14px; }
.rs-suggest a:hover, .rs-suggest a[aria-selected="true"] { background: rgba(30, 167, 225, .15); }
.rs-suggest a img { width: 40px; height: 40px; border-radius: 8px; object-fit: cover; }
.rs-suggest a span { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.rs-suggest .rs-sg-cat svg { transform: rotate(-90deg); width: 16px; color: var(--rs-cyan); }
.rs-suggest .rs-sg-all { color: var(--rs-cyan); font-weight: 600; justify-content: center; }
.rs-hdr-right { grid-area: right; display: flex; align-items: center; gap: 4px; }
.rs-ibtn { position: relative; width: 42px; height: 42px; border-radius: 12px; border: 0; background: none; display: grid; place-items: center; color: var(--rs-text); }
.rs-ibtn:hover { background: rgba(255, 255, 255, .07); }
.rs-sell-link { display: none; }
.rs-acct { display: inline-flex; align-items: center; gap: 8px; height: 42px; padding: 0 8px; border-radius: 12px; border: 0; background: none; color: var(--rs-text); text-decoration: none !important; font-weight: 600; font-size: 13px; text-align: left; }
.rs-acct:hover { background: rgba(255, 255, 255, .07); }
.rs-acct span { display: none; line-height: 1.15; }
.rs-acct small { display: block; font-weight: 400; font-size: 11px; color: var(--rs-muted); max-width: 120px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.rs-cart { position: relative; width: 44px; height: 42px; display: grid; place-items: center; color: var(--rs-text); border-radius: 12px; }
.rs-cart:hover { background: rgba(255, 255, 255, .07); }
.rs-dot { position: absolute; top: 3px; right: 1px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px; background: var(--rs-grad-hot); color: #1a0b12; font: 800 10.5px/18px var(--rs-font); font-style: normal; text-align: center; }
.rs-dot[hidden] { display: none; }
.rs-pop-wrap { position: relative; }
.rs-pop { position: absolute; right: 0; top: calc(100% + 8px); z-index: 70; width: min(320px, calc(100vw - 32px)); padding: 8px; border-radius: 16px; background: #0b1a30; border: 1px solid var(--rs-line); box-shadow: var(--rs-shadow); }
.rs-pop[hidden] { display: none; }
.rs-menu a, .rs-menu button { display: block; width: 100%; padding: 10px 12px; border: 0; border-radius: 10px; background: none; text-align: left; color: var(--rs-text); font-size: 14px; text-decoration: none; }
.rs-menu a:hover, .rs-menu button:hover { background: rgba(30, 167, 225, .15); }
.rs-menu .rs-menu-hl { color: var(--rs-cyan); font-weight: 600; }
.rs-menu button { color: var(--rs-muted); border-top: 1px solid var(--rs-line); border-radius: 0 0 10px 10px; margin-top: 4px; }
.rs-notes { max-height: 70vh; overflow: auto; }
.rs-pop-h { padding: 8px 10px; font-weight: 700; font-family: var(--rs-display); }
.rs-note { display: grid; gap: 2px; padding: 10px 12px; border-radius: 10px; color: var(--rs-text); text-decoration: none !important; font-size: 13.5px; }
.rs-note:hover { background: rgba(255, 255, 255, .05); }
.rs-note.new { background: rgba(30, 167, 225, .1); }
.rs-note span { color: var(--rs-muted); }
.rs-note small, .rs-pop-empty { color: var(--rs-dim); font-size: 12px; }
.rs-pop-empty { padding: 16px; text-align: center; }
.rs-mega { position: fixed; inset: 0; z-index: 80; background: rgba(3, 7, 15, .96); overflow: auto; }
.rs-mega[hidden] { display: none; }
.rs-mega-in { max-width: 1320px; margin: 0 auto; padding: 16px; }
.rs-mega-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 8px; font-family: var(--rs-display); font-size: 18px; }
.rs-mega-grid { display: grid; gap: 4px 24px; grid-template-columns: 1fr; }
.rs-mega-col { display: grid; gap: 2px; padding: 8px 0; border-bottom: 1px solid var(--rs-line); }
.rs-mega-col a { color: var(--rs-muted); font-size: 14px; padding: 4px 0; }
.rs-mega-col a.rs-mega-top { color: var(--rs-text); font-weight: 700; font-size: 15px; }
.rs-mega-col small { color: var(--rs-dim); font-weight: 400; margin-left: 4px; }
.rs-mega-foot { display: flex; flex-wrap: wrap; gap: 8px 20px; padding: 16px 0 8px; }
.rs-mega-foot a { font-weight: 600; }
@media (min-width: 760px) {
  .rs-hdr-row { grid-template-columns: auto auto 1fr auto; grid-template-areas: "logo cats search right"; padding: 12px 28px; gap: 18px; }
  .rs-burger { display: none; }
  .rs-cats-btn { grid-area: cats; display: inline-flex; align-items: center; gap: 4px; height: 42px; padding: 0 14px; border-radius: 12px; border: 1px solid var(--rs-line); background: rgba(255, 255, 255, .04); font-weight: 600; font-size: 14px; }
  .rs-cats-btn svg { width: 16px; height: 16px; transition: transform .2s; }
  .rs-cats-btn[aria-expanded="true"] svg { transform: rotate(180deg); }
  .rs-mega { position: absolute; inset: auto 0 auto 0; top: 100%; background: rgba(6, 13, 26, .97); backdrop-filter: blur(20px); border-bottom: 1px solid var(--rs-line); box-shadow: 0 40px 80px -20px rgba(0, 0, 0, .8); max-height: 80vh; animation: drop .25s ease; }
  .rs-mega-head { display: none; }
  .rs-mega-in { padding: 24px 28px; }
  .rs-mega-grid { grid-template-columns: repeat(5, 1fr); }
  .rs-mega-col { border: 0; align-content: start; }
  .rs-acct span { display: block; }
}
@media (min-width: 1100px) { .rs-sell-link { display: inline-flex; flex-direction: column; align-items: center; padding: 4px 12px; font-weight: 700; font-size: 13px; color: var(--rs-text); border-radius: 12px; line-height: 1.1; }
  .rs-sell-link span { font-size: 10.5px; font-weight: 700; } .rs-sell-link span { background: var(--rs-grad-hot); -webkit-background-clip: text; background-clip: text; color: transparent; }
  .rs-sell-link:hover { background: rgba(255, 255, 255, .06); text-decoration: none; } }
@keyframes drop { from { opacity: 0; transform: translateY(-8px); } }

/* ---------- footer ---------- */
.rs-ftr { margin-top: 80px; border-top: 1px solid var(--rs-line); background: linear-gradient(180deg, rgba(10, 22, 40, .4), #030810); }
.rs-ftr-in { max-width: 1320px; margin: 0 auto; padding: 48px 16px 24px; display: grid; gap: 28px; grid-template-columns: 1fr 1fr; }
.rs-fbrand { grid-column: 1 / -1; }
.rs-fbrand p { color: var(--rs-muted); max-width: 340px; margin: 14px 0 0; font-size: 14px; }
.rs-fpay { display: flex; align-items: center; gap: 8px; color: var(--rs-text) !important; font-weight: 600; }
.rs-fpay svg { width: 18px; height: 18px; color: var(--rs-green); }
.rs-fcol { display: grid; gap: 8px; align-content: start; }
.rs-fcol h3 { font-size: 13px; letter-spacing: .12em; text-transform: uppercase; color: var(--rs-dim); margin-bottom: 4px; font-family: var(--rs-font); }
.rs-fcol a { color: var(--rs-muted); font-size: 14px; }
.rs-fcol a:hover { color: var(--rs-text); }
.rs-ftr-base { max-width: 1320px; margin: 0 auto; padding: 18px 16px 28px; display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; color: var(--rs-dim); font-size: 12.5px; border-top: 1px solid var(--rs-line); }
@media (min-width: 900px) { .rs-ftr-in { grid-template-columns: 1.6fr repeat(4, 1fr); padding: 64px 28px 32px; } .rs-fbrand { grid-column: auto; } .rs-ftr-base { padding: 18px 28px 32px; } }

/* ---------- bottom tab bar (phones) ---------- */
.rs-tabbar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 55; display: grid; grid-template-columns: repeat(5, 1fr); padding: 6px 4px calc(6px + env(safe-area-inset-bottom)); background: rgba(5, 11, 22, .86); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px); border-top: 1px solid var(--rs-line); }
.rs-tabbar a { position: relative; display: grid; justify-items: center; gap: 2px; padding: 4px 0; color: var(--rs-dim); font-size: 10.5px; font-weight: 600; text-decoration: none !important; }
.rs-tabbar a.on { color: var(--rs-cyan); }
.rs-tabbar a.on svg { filter: drop-shadow(0 0 8px rgba(111, 231, 255, .7)); }
.rs-tabbar .rs-dot { top: 0; right: calc(50% - 22px); }
body.rs-has-tabbar { padding-bottom: calc(66px + env(safe-area-inset-bottom)); }
@media (min-width: 760px) { .rs-tabbar { display: none; } body.rs-has-tabbar { padding-bottom: 0; } }

/* ---------- AI assistant bubble ---------- */
#rs-ai-bubble { position: fixed; right: 16px; bottom: calc(80px + env(safe-area-inset-bottom)); z-index: 58; }
#rs-ai-bubble[hidden] { display: none; }
@media (min-width: 760px) { #rs-ai-bubble { right: 24px; bottom: 24px; } }
.rs-ai-fab { display: inline-flex; align-items: center; gap: 8px; height: 52px; padding: 0 18px 0 14px; border-radius: 999px; border: 0; background: var(--rs-grad); color: #04101f; font-weight: 800; box-shadow: 0 14px 40px -8px rgba(30, 167, 225, .8), 0 0 0 1px rgba(255, 255, 255, .2) inset; animation: fabin .6s cubic-bezier(.3, 1.5, .5, 1) both .8s; }
.rs-ai-fab::after { content: ""; position: absolute; inset: -4px; border-radius: inherit; border: 2px solid rgba(111, 231, 255, .5); animation: pulse 2.6s infinite; pointer-events: none; }
.rs-ai-fab svg { stroke-width: 2.2; }
#rs-ai-bubble.open .rs-ai-fab { display: none; }
@media (max-width: 759px) { .rs-ai-fab span { display: none; } .rs-ai-fab { width: 52px; padding: 0; justify-content: center; } }
@keyframes fabin { from { transform: scale(0) rotate(-40deg); } }
@keyframes pulse { 0% { transform: scale(1); opacity: .9; } 70%, 100% { transform: scale(1.3); opacity: 0; } }
.rs-ai-panel { position: fixed; right: 16px; left: 16px; bottom: calc(80px + env(safe-area-inset-bottom)); height: min(620px, calc(100vh - 170px)); display: flex; flex-direction: column; border-radius: 22px; overflow: hidden; background: rgba(8, 18, 34, .97); border: 1px solid rgba(111, 231, 255, .25); box-shadow: 0 40px 100px -20px rgba(0, 0, 0, .9), 0 0 60px -20px rgba(30, 167, 225, .5); animation: rise .3s ease; }
.rs-ai-panel[hidden] { display: none; }
@media (min-width: 760px) { .rs-ai-panel { left: auto; width: 400px; right: 24px; bottom: 24px; } }
@keyframes rise { from { opacity: 0; transform: translateY(20px) scale(.97); } }
.rs-ai-panel > header { display: flex; align-items: center; gap: 10px; padding: 12px 10px 12px 14px; border-bottom: 1px solid var(--rs-line); background: linear-gradient(120deg, rgba(30, 167, 225, .2), rgba(59, 91, 255, .12)); }
.rs-ai-panel > header div { flex: 1; min-width: 0; line-height: 1.2; }
.rs-ai-panel > header small { display: block; color: var(--rs-muted); font-size: 11.5px; }
.rs-ai-ava { width: 36px; height: 36px; border-radius: 12px; display: grid; place-items: center; background: var(--rs-grad); color: #04101f; }
.rs-ai-body { flex: 1; min-height: 0; display: flex; flex-direction: column; }
.rs-chat-log { flex: 1; overflow: auto; padding: 14px; display: flex; flex-direction: column; gap: 10px; overscroll-behavior: contain; }
.rs-msg { max-width: 88%; }
.rs-msg p { margin: 0; padding: 10px 14px; border-radius: 16px; font-size: 14px; white-space: pre-wrap; }
.rs-msg.ai p { background: rgba(255, 255, 255, .06); border: 1px solid var(--rs-line); border-bottom-left-radius: 4px; }
.rs-msg.me { align-self: flex-end; }
.rs-msg.me p { background: var(--rs-grad); color: #04101f; font-weight: 500; border-bottom-right-radius: 4px; }
.rs-typing p { display: flex; gap: 4px; }
.rs-typing i { width: 7px; height: 7px; border-radius: 50%; background: var(--rs-cyan); animation: dots 1s infinite; }
.rs-typing i:nth-child(2) { animation-delay: .15s; } .rs-typing i:nth-child(3) { animation-delay: .3s; }
@keyframes dots { 50% { opacity: .3; transform: translateY(-3px); } }
.rs-minis { display: grid; gap: 6px; margin-top: 8px; }
.rs-mini { display: flex; gap: 10px; align-items: center; padding: 6px; border-radius: 12px; background: rgba(255, 255, 255, .04); border: 1px solid var(--rs-line); color: var(--rs-text); text-decoration: none !important; transition: border-color .2s, transform .2s; }
.rs-mini:hover { border-color: var(--rs-blue); transform: translateX(3px); }
.rs-mini img { width: 52px; height: 52px; border-radius: 9px; object-fit: cover; }
.rs-mini span { display: grid; min-width: 0; font-size: 13px; }
.rs-mini b { font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.rs-mini em { font-style: normal; color: var(--rs-gold); font-weight: 700; }
.rs-chat-sugs { display: flex; flex-wrap: wrap; gap: 6px; padding: 0 14px 10px; }
.rs-chat-sugs[hidden] { display: none; }
.rs-chat-sugs button { padding: 7px 12px; border-radius: 999px; border: 1px solid var(--rs-line); background: rgba(30, 167, 225, .08); font-size: 12.5px; }
.rs-chat-sugs button:hover { border-color: var(--rs-blue); }
.rs-chat-in { display: flex; gap: 8px; padding: 10px; border-top: 1px solid var(--rs-line); }
.rs-chat-in input { flex: 1; min-width: 0; height: 46px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--rs-line); background: rgba(255, 255, 255, .05); }
.rs-chat-in input:focus { outline: none; border-color: var(--rs-blue); }
.rs-chat-in button { width: 46px; height: 46px; border-radius: 50%; border: 0; background: var(--rs-grad); color: #04101f; display: grid; place-items: center; }

/* ================= HOME ================= */
.hero { position: relative; height: calc(100svh - 112px); min-height: 560px; max-height: 980px; overflow: hidden; isolation: isolate; display: grid; align-items: center; }
@media (min-width: 760px) { .hero { height: calc(100svh - 66px); min-height: 640px; } }
.hero-stage { position: absolute; inset: 0; z-index: -1; }
.hero-fallback { position: absolute; inset: 0; background: linear-gradient(180deg, #030714 0%, #0b1638 32%, #2a1d5c 55%, #7a2f6b 70%, #e0603f 82%, #ffb36b 92%, #ffd9a0 100%); }
.hero-fallback::before { content: ""; position: absolute; left: 50%; bottom: 8%; width: 140%; height: 50%; transform: translateX(-50%); background: radial-gradient(closest-side, rgba(255, 180, 110, .7), transparent); }
.hero-sky-l { position: absolute; left: -5%; right: -5%; bottom: 0; height: 70%; transition: transform .6s cubic-bezier(.2, .7, .3, 1); will-change: transform; }
.hero-sky-l svg { width: 100%; height: 100%; display: block; }
.hero-canvas { position: absolute; inset: 0; width: 100% !important; height: 100% !important; opacity: 0; transition: opacity 1.6s ease; }
.hero-canvas.on { opacity: 1; }
.hero-shade { position: absolute; inset: 0; z-index: 0; pointer-events: none; background: radial-gradient(60% 55% at 50% 48%, rgba(5, 11, 22, .62), rgba(5, 11, 22, .25) 60%, transparent 85%), linear-gradient(180deg, rgba(5, 11, 22, .55) 0%, rgba(5, 11, 22, 0) 30%, rgba(5, 11, 22, 0) 70%, var(--rs-night) 100%); }
.hero-in { position: relative; z-index: 1; text-align: center; pointer-events: none; }
.hero-in > * { pointer-events: auto; }
.hero-eyebrow { display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px; border-radius: 999px; font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; background: rgba(5, 11, 22, .45); border: 1px solid rgba(111, 231, 255, .3); backdrop-filter: blur(10px); }
.hero-eyebrow i { width: 8px; height: 8px; border-radius: 50%; background: var(--rs-green); box-shadow: 0 0 12px var(--rs-green); animation: blink 1.8s infinite; }
@keyframes blink { 50% { opacity: .35; } }
.hero h1 { margin: 18px auto 14px; max-width: 980px; font-size: clamp(38px, 8.6vw, 92px); font-weight: 800; line-height: .98; letter-spacing: -.035em; text-shadow: 0 10px 60px rgba(0, 0, 0, .55); }
.hero h1 .l2 { display: block; background: linear-gradient(100deg, #fff 10%, #9fe9ff 45%, #ffc65c 75%, #ff7a3d); -webkit-background-clip: text; background-clip: text; color: transparent; filter: drop-shadow(0 6px 30px rgba(255, 122, 61, .35)); }
.hero p.lead { margin: 0 auto 26px; max-width: 600px; font-size: clamp(15px, 2vw, 19px); color: #d4e3f7; text-shadow: 0 2px 20px rgba(0, 0, 0, .6); }
.hero-search { display: flex; align-items: center; gap: 6px; max-width: 720px; margin: 0 auto; height: 64px; padding: 0 8px 0 22px; border-radius: 999px; background: rgba(5, 11, 22, .6); border: 1px solid rgba(111, 231, 255, .35); backdrop-filter: blur(20px) saturate(1.5); -webkit-backdrop-filter: blur(20px) saturate(1.5); box-shadow: 0 30px 80px -20px rgba(0, 0, 0, .8), 0 0 60px -10px rgba(30, 167, 225, .45); }
.hero-search input[type=search] { flex: 1; min-width: 0; height: 100%; border: 0; background: none; outline: none; font-size: 17px; }
.hero-search input::placeholder { color: #8ea5c6; }
.hero-search .rs-ai-pill { height: 36px; padding: 0 12px; font-size: 13px; }
.hero-search .btn { min-height: 48px; padding: 0 22px; }
@media (max-width: 559px) { .hero-search { height: 56px; padding: 0 6px 0 16px; } .hero-search .btn { padding: 0 14px; min-height: 44px; } .hero-search .btn span { display: none; } .hero-search input[type=search] { font-size: 16px; } }
.hero-chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin: 18px auto 0; max-width: 760px; }
@media (max-width: 559px) { .hero-chips { flex-wrap: nowrap; justify-content: flex-start; overflow-x: auto; margin: 16px -16px 0; padding: 0 16px; scrollbar-width: none; } .hero-chips::-webkit-scrollbar { display: none; } .hero-chips .chip { flex: none; } .hero-stats { gap: 18px; margin-top: 18px; } .hero-stats b { font-size: 22px; } }
.hero-chips .chip { background: rgba(5, 11, 22, .45); backdrop-filter: blur(8px); }
.hero-stats { display: flex; justify-content: center; gap: 28px; margin-top: 26px; color: #c0d3ee; font-size: 13px; }
.hero-stats b { display: block; font: 800 26px/1 var(--rs-display); color: #fff; }
.hero-scroll { position: absolute; left: 50%; bottom: 18px; transform: translateX(-50%); z-index: 1; width: 26px; height: 42px; border-radius: 14px; border: 2px solid rgba(255, 255, 255, .4); }
.hero-scroll::after { content: ""; position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px; border-radius: 2px; background: #fff; animation: wheel 1.8s infinite; }
@keyframes wheel { 60% { transform: translateY(12px); opacity: 0; } 61% { transform: none; opacity: 0; } }
.hero-hint { position: absolute; right: 16px; bottom: 18px; z-index: 1; font-size: 11.5px; color: rgba(255, 255, 255, .55); }
@media (max-width: 759px) { .hero-hint, .hero-scroll { display: none; } }

.sec { position: relative; padding: 64px 0 0; }
@media (min-width: 760px) { .sec { padding-top: 96px; } }
.sec-h { display: flex; align-items: end; justify-content: space-between; gap: 16px; margin-bottom: 22px; }
.sec-h h2 { font-size: clamp(26px, 4.4vw, 44px); margin: 0; }
.sec-h p { margin: 6px 0 0; color: var(--rs-muted); }
.sec-h .more { white-space: nowrap; font-weight: 600; font-size: 14px; }
.kicker { display: inline-block; font-size: 12px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--rs-cyan); margin-bottom: 8px; }

/* bento categories */
.bento { display: grid; gap: 10px; grid-template-columns: repeat(2, 1fr); grid-auto-rows: 150px; }
.bento a { position: relative; overflow: hidden; border-radius: var(--rs-radius); border: 1px solid var(--rs-line); color: #fff; text-decoration: none !important; background: var(--rs-ink-2); isolation: isolate; transform-style: preserve-3d; }
.bento a img { position: absolute; inset: -8% 0; width: 100%; height: 116%; object-fit: cover; z-index: -2; transition: transform .8s cubic-bezier(.2, .7, .3, 1), filter .4s; }
.bento a::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(5, 11, 22, 0) 30%, rgba(5, 11, 22, .88)); }
.bento a::after { content: ""; position: absolute; inset: 0; z-index: -1; opacity: 0; transition: opacity .4s; background: radial-gradient(120% 80% at 50% 120%, rgba(30, 167, 225, .45), transparent 60%); }
.bento a:hover img { transform: scale(1.08); }
.bento a:hover::after { opacity: 1; }
.bento .cap { position: absolute; left: 14px; right: 14px; bottom: 12px; }
.bento .cap b { display: block; font: 700 17px/1.15 var(--rs-display); }
.bento .cap small { color: #b9cbe3; font-size: 12px; }
.bento .ico { position: absolute; top: 12px; left: 14px; font-size: 24px; filter: drop-shadow(0 4px 10px rgba(0, 0, 0, .5)); }
.bento .big { grid-column: span 2; grid-row: span 2; }
.bento .big .cap b { font-size: 26px; }
.bento a:last-child:not(.big) { grid-column: span 2; } /* fills the last row on phone + tablet */
@media (min-width: 760px) { .bento { grid-template-columns: repeat(4, 1fr); grid-auto-rows: 190px; gap: 14px; } .bento .wide { grid-column: span 2; } }
@media (min-width: 1100px) { .bento { grid-template-columns: repeat(6, 1fr); grid-auto-rows: 200px; } .bento .tail { grid-column: span 2; } }

/* product rows / carousels */
.rail { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(168px, 46%); gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 4px 16px 18px; margin: 0 -16px; scrollbar-width: none; overscroll-behavior-x: contain; }
.rail::-webkit-scrollbar { display: none; }
.rail > * { scroll-snap-align: start; }
@media (min-width: 760px) { .rail { grid-auto-columns: minmax(220px, 23%); gap: 16px; padding: 6px 28px 22px; margin: 0 -28px; } }
@media (min-width: 1100px) { .rail { grid-auto-columns: calc((100% - 5 * 16px) / 5.4); } }
.rail-nav { display: none; gap: 8px; }
@media (min-width: 760px) { .rail-nav { display: flex; } }
.rail-nav button { width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--rs-line); background: rgba(255, 255, 255, .05); display: grid; place-items: center; }
.rail-nav button:hover { border-color: var(--rs-blue); }
.rail-nav svg { width: 18px; height: 18px; }
.grid { display: grid; gap: 12px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 760px) { .grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; } }
@media (min-width: 1100px) { .grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } .grid.g5 { grid-template-columns: repeat(5, minmax(0, 1fr)); } }

/* product card */
.pcard { position: relative; display: flex; flex-direction: column; border-radius: var(--rs-radius); background: linear-gradient(165deg, rgba(23, 63, 95, .42), rgba(10, 22, 40, .7)); border: 1px solid var(--rs-line); overflow: hidden; transform-style: preserve-3d; transition: transform .25s ease, box-shadow .3s, border-color .3s; will-change: transform; }
.pcard:hover { border-color: rgba(111, 231, 255, .4); box-shadow: 0 30px 60px -25px rgba(0, 0, 0, .8), 0 0 40px -12px rgba(30, 167, 225, .45); }
.pcard::after { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity .3s; background: radial-gradient(240px circle at var(--mx, 50%) var(--my, 0%), rgba(255, 255, 255, .14), transparent 60%); }
.pcard:hover::after { opacity: 1; }
.pcard-img { position: relative; display: block; aspect-ratio: 1; overflow: hidden; background: #0c1b31; }
.pcard-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: opacity .45s, transform .6s cubic-bezier(.2, .7, .3, 1); }
.pcard-img img.alt { opacity: 0; }
.pcard:hover .pcard-img img { transform: scale(1.05); }
.pcard:hover .pcard-img img.alt { opacity: 1; }
.pcard-badges { position: absolute; top: 10px; left: 10px; display: grid; gap: 4px; justify-items: start; z-index: 1; }
.heart { position: absolute; top: 8px; right: 8px; z-index: 2; width: 38px; height: 38px; border-radius: 50%; border: 0; display: grid; place-items: center; background: rgba(5, 11, 22, .55); backdrop-filter: blur(8px); color: #fff; transition: transform .2s; }
.heart:hover { transform: scale(1.1); }
.heart svg { width: 19px; height: 19px; }
.heart[aria-pressed="true"] { color: var(--rs-rose); }
.heart[aria-pressed="true"] svg { fill: currentColor; animation: pop .35s; }
@keyframes pop { 50% { transform: scale(1.35); } }
.pcard-body { display: flex; flex-direction: column; gap: 4px; padding: 12px 12px 14px; flex: 1; }
.pcard-shop { font-size: 11.5px; color: var(--rs-muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pcard-title { color: var(--rs-text); font-weight: 600; font-size: 14px; line-height: 1.3; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 2.6em; text-decoration: none !important; }
.pcard-title:hover { color: #fff; }
.price { display: flex; align-items: baseline; flex-wrap: wrap; gap: 2px 8px; margin-top: auto; padding-top: 4px; }
.price b { font: 700 19px/1 var(--rs-display); }
.price s { color: var(--rs-dim); font-size: 13px; }
.price .off { color: var(--rs-samba); font-size: 12px; font-weight: 700; }
.pcard-foot { display: flex; align-items: center; justify-content: space-between; gap: 8px; min-height: 36px; }
.ship { font-size: 11.5px; color: var(--rs-green); font-weight: 600; }
.qadd { width: 38px; height: 38px; border-radius: 12px; border: 1px solid rgba(111, 231, 255, .35); background: rgba(30, 167, 225, .14); color: var(--rs-cyan); display: grid; place-items: center; flex: none; transition: all .2s; }
.qadd:hover { background: var(--rs-grad); color: #04101f; border-color: transparent; }
.qadd svg { width: 19px; height: 19px; stroke-width: 2.2; }
.stars { display: inline-flex; align-items: center; gap: 5px; font-size: 12px; color: var(--rs-muted); }
.stars i { position: relative; display: inline-block; font-style: normal; letter-spacing: 1px; color: rgba(255, 255, 255, .18); line-height: 1; }
.stars i::before { content: "★★★★★"; }
.stars i span { position: absolute; left: 0; top: 0; overflow: hidden; color: var(--rs-gold); white-space: nowrap; }
.stars i span::before { content: "★★★★★"; }
.stars.lg { font-size: 15px; } .stars.lg i { font-size: 18px; }

/* deals */
.deals-band { position: relative; border-radius: 28px; padding: 22px 0 6px; overflow: hidden; background: radial-gradient(100% 120% at 0% 0%, rgba(255, 122, 61, .22), transparent 55%), radial-gradient(100% 120% at 100% 100%, rgba(255, 77, 141, .18), transparent 55%), rgba(10, 22, 40, .6); border: 1px solid rgba(255, 122, 61, .25); }
.deals-band .sec-h { padding: 0 16px; }
.deals-band .rail { margin: 0; padding: 4px 16px 18px; }
@media (min-width: 760px) { .deals-band { padding: 32px 0 10px; } .deals-band .sec-h, .deals-band .rail { padding-left: 28px; padding-right: 28px; } }
.countdown { display: inline-flex; gap: 6px; align-items: center; font-size: 12px; color: var(--rs-muted); }
.countdown b { display: inline-grid; place-items: center; min-width: 40px; height: 40px; border-radius: 10px; background: rgba(5, 11, 22, .7); border: 1px solid rgba(255, 122, 61, .35); font: 700 18px/1 var(--rs-display); color: #fff; font-variant-numeric: tabular-nums; }

/* banners (cinematic slides) */
.banners { display: grid; gap: 14px; }
@media (min-width: 900px) { .banners { grid-template-columns: 1.4fr 1fr; } .banners > :first-child { grid-row: span 2; } }
.banner { position: relative; display: flex; flex-direction: column; justify-content: flex-end; min-height: 260px; padding: 24px; border-radius: 26px; overflow: hidden; color: #fff; text-decoration: none !important; isolation: isolate; border: 1px solid var(--rs-line); }
.banner > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform 1.2s cubic-bezier(.2, .7, .3, 1); }
.banner:hover > img { transform: scale(1.05); }
.banner::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(200deg, rgba(5, 11, 22, 0) 20%, rgba(5, 11, 22, .9) 90%); }
.banner.t-sell { min-height: 360px; background: radial-gradient(90% 90% at 80% 10%, rgba(255, 122, 61, .65), transparent 60%), radial-gradient(90% 90% at 10% 100%, rgba(59, 91, 255, .6), transparent 60%), #0a1628; }
.banner.t-sell > img { opacity: .45; mix-blend-mode: luminosity; }
.banner.t-winter { background: linear-gradient(135deg, #1b2c4f, #3c4f7d); } .banner.t-tech { background: linear-gradient(135deg, #0b2a45, #1a1f5c); }
.banner small { font-size: 12px; font-weight: 700; letter-spacing: .18em; color: var(--rs-gold); }
.banner h3 { font-size: clamp(26px, 4vw, 44px); margin: 8px 0; }
.banner.t-sell h3 { font-size: clamp(32px, 5.4vw, 60px); }
.banner p { margin: 0 0 16px; color: #d0def2; max-width: 480px; }
.banner .btn { align-self: flex-start; }

/* shops strip */
.shops { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(230px, 72%); gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 4px 16px 18px; margin: 0 -16px; scrollbar-width: none; }
.shops::-webkit-scrollbar { display: none; }
@media (min-width: 760px) { .shops { grid-auto-columns: minmax(260px, 30%); margin: 0 -28px; padding: 4px 28px 18px; } }
@media (min-width: 1100px) { .shops { grid-auto-columns: calc((100% - 4 * 14px) / 4.3); } }
.shop { scroll-snap-align: start; position: relative; border-radius: 20px; overflow: hidden; border: 1px solid var(--rs-line); background: var(--rs-ink); color: var(--rs-text); text-decoration: none !important; transition: transform .3s, border-color .3s; }
.shop:hover { transform: translateY(-4px); border-color: var(--shop-accent, var(--rs-blue)); }
.shop-ban { height: 110px; background: linear-gradient(120deg, var(--shop-accent, #1ea7e1), #0a1628); position: relative; }
.shop-ban img { width: 100%; height: 100%; object-fit: cover; opacity: .85; }
.shop-logo { position: absolute; left: 16px; bottom: -26px; width: 56px; height: 56px; border-radius: 16px; border: 3px solid var(--rs-ink); background: #fff; overflow: hidden; display: grid; place-items: center; font: 800 22px var(--rs-display); color: #0a1628; }
.shop-logo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; background: #fff; }
.seller-card .shop-logo, .store-id .shop-logo, .thread .shop-logo { position: relative !important; left: auto; bottom: auto; }
.shop-body { padding: 34px 16px 16px; }
.shop-body b { font-family: var(--rs-display); font-size: 17px; display: block; }
.shop-body p { margin: 2px 0 8px; color: var(--rs-muted); font-size: 13px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* ai teaser */
.ai-teaser { display: grid; gap: 24px; align-items: center; padding: 28px 20px; border-radius: 28px; overflow: hidden; position: relative; background: radial-gradient(70% 90% at 100% 0%, rgba(59, 91, 255, .35), transparent 60%), radial-gradient(60% 80% at 0% 100%, rgba(111, 231, 255, .18), transparent 60%), rgba(10, 22, 40, .7); border: 1px solid rgba(111, 231, 255, .22); }
@media (min-width: 900px) { .ai-teaser { grid-template-columns: 1fr 1fr; padding: 48px; } }
.ai-teaser h2 { font-size: clamp(28px, 4.4vw, 48px); }
.ai-teaser .prompts { display: flex; flex-wrap: wrap; gap: 8px; margin: 18px 0; }
.ai-orb { position: relative; aspect-ratio: 1; max-width: 360px; width: 80%; margin: 0 auto; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #c8f6ff, #6fe7ff 20%, #1ea7e1 45%, #3b5bff 70%, #120f3d 100%); box-shadow: 0 0 120px rgba(30, 167, 225, .55), inset -30px -40px 80px rgba(5, 11, 22, .6); animation: orb 8s ease-in-out infinite; }
.ai-orb::before, .ai-orb::after { content: ""; position: absolute; inset: -14%; border-radius: 50%; border: 1px solid rgba(111, 231, 255, .3); animation: spin 18s linear infinite; border-top-color: rgba(255, 198, 92, .8); }
.ai-orb::after { inset: -28%; animation-duration: 28s; animation-direction: reverse; border-top-color: transparent; border-left-color: rgba(255, 77, 141, .6); }
@keyframes orb { 50% { transform: translateY(-12px) scale(1.02); } }
@keyframes spin { to { transform: rotate(360deg); } }

/* trust */
.trust { display: grid; gap: 12px; grid-template-columns: 1fr 1fr; }
@media (min-width: 900px) { .trust { grid-template-columns: repeat(4, 1fr); } }
.trust > div { padding: 18px; border-radius: var(--rs-radius); background: rgba(255, 255, 255, .03); border: 1px solid var(--rs-line); }
.trust svg { width: 30px; height: 30px; color: var(--rs-cyan); margin-bottom: 10px; }
.trust b { display: block; font-family: var(--rs-display); font-size: 16px; margin-bottom: 4px; }
.trust span { color: var(--rs-muted); font-size: 13px; }
.trust a { color: inherit; }

/* sell CTA */
.sell-cta { position: relative; overflow: hidden; border-radius: 32px; padding: 48px 20px; text-align: center; isolation: isolate; background: #0a1628; border: 1px solid rgba(255, 122, 61, .3); }
.sell-cta::before { content: ""; position: absolute; inset: -40%; z-index: -1; background: conic-gradient(from 0deg, rgba(255, 122, 61, .4), rgba(59, 91, 255, .35), rgba(111, 231, 255, .3), rgba(255, 77, 141, .35), rgba(255, 122, 61, .4)); filter: blur(60px); animation: spin 22s linear infinite; }
.sell-cta::after { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(70% 70% at 50% 50%, rgba(5, 11, 22, .2), rgba(5, 11, 22, .85)); }
.sell-cta .price-big { font: 800 clamp(70px, 17vw, 190px)/.9 var(--rs-display); letter-spacing: -.05em; margin: 10px 0; background: var(--rs-grad-hot); -webkit-background-clip: text; background-clip: text; color: transparent; filter: drop-shadow(0 20px 60px rgba(255, 122, 61, .45)); }
.sell-cta h2 { font-size: clamp(26px, 4.6vw, 52px); }
.sell-cta p { color: #c9d8ee; max-width: 620px; margin: 0 auto 24px; }
.sell-cta .pts { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 22px; margin: 0 0 28px; padding: 0; list-style: none; font-weight: 600; font-size: 14px; }
.sell-cta .pts li::before { content: ""; display: inline-block; width: 14px; height: 1px; margin-right: 10px; vertical-align: middle; background: var(--rs-blue); }
.sell-cta .btns { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }

/* newsletter */
.news { display: grid; gap: 16px; align-items: center; padding: 26px 20px; }
@media (min-width: 900px) { .news { grid-template-columns: 1fr 1fr; padding: 36px 40px; } }
.news h2 { font-size: clamp(22px, 3vw, 32px); margin: 0 0 4px; }
.news form { display: flex; gap: 8px; }
.news input { flex: 1; min-width: 0; }

/* scroll reveal */
.rv { opacity: 0; transform: translateY(40px); }
.no-motion .rv, .rv.in { opacity: 1; transform: none; transition: opacity .9s ease, transform .9s cubic-bezier(.2, .7, .3, 1); }

/* ================= INNER PAGES ================= */
.page { padding-top: 20px; padding-bottom: 40px; min-height: 60vh; }
@media (min-width: 760px) { .page { padding-top: 32px; padding-bottom: 60px; } }
.page-h { margin-bottom: 20px; }
.page-h h1 { font-size: clamp(26px, 4vw, 40px); margin: 0 0 4px; }
.crumbs { display: flex; flex-wrap: wrap; gap: 6px; font-size: 13px; color: var(--rs-dim); margin-bottom: 14px; }
.crumbs a { color: var(--rs-muted); }
.crumbs span::before { content: "›"; margin-right: 6px; }

/* category hero */
.cat-hero { position: relative; overflow: hidden; border-radius: 26px; padding: 34px 20px; margin-bottom: 22px; isolation: isolate; border: 1px solid var(--rs-line); background: linear-gradient(120deg, #0f2a4a, #1a1f5c); }
.cat-hero img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; opacity: .55; }
.cat-hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(5, 11, 22, .9), rgba(5, 11, 22, .2)); }
.cat-hero h1 { font-size: clamp(30px, 6vw, 60px); margin: 0 0 6px; }
.cat-hero p { color: #cbd9ee; max-width: 560px; margin: 0; }
.subcats { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 6px; margin-bottom: 18px; scrollbar-width: none; }
.subcats::-webkit-scrollbar { display: none; }

/* search layout */
.srch { display: grid; gap: 20px; }
@media (min-width: 960px) { .srch { grid-template-columns: 250px 1fr; gap: 28px; } }
.filters { display: none; }
.filters.open { display: block; position: fixed; inset: 0; z-index: 90; overflow: auto; padding: 16px 16px 100px; background: rgba(3, 7, 15, .98); }
@media (min-width: 960px) { .filters, .filters.open { display: block; position: sticky; top: 90px; align-self: start; padding: 0; background: none; max-height: calc(100vh - 110px); overflow: auto; } .filters-x, .filters-apply { display: none !important; } }
.filters h3 { font: 700 13px/1 var(--rs-font); letter-spacing: .12em; text-transform: uppercase; color: var(--rs-dim); margin: 22px 0 10px; }
.filters h3:first-of-type { margin-top: 4px; }
.filters a.fcat { display: flex; justify-content: space-between; padding: 6px 10px; margin: 0 -10px; border-radius: 8px; color: var(--rs-muted); font-size: 14px; }
.filters a.fcat:hover, .filters a.fcat.on { background: rgba(30, 167, 225, .12); color: var(--rs-text); text-decoration: none; }
.filters .price-in { display: flex; gap: 8px; align-items: center; }
.filters .price-in input { min-height: 40px; padding: 8px 10px; }
.filters .check { margin: 8px 0; }
.filters-head { display: flex; justify-content: space-between; align-items: center; }
.srch-bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 14px; }
.srch-bar select { width: auto; min-height: 40px; padding: 6px 34px 6px 12px; }
.intent { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin-bottom: 14px; padding: 12px 14px; border-radius: 14px; background: rgba(30, 167, 225, .08); border: 1px solid rgba(111, 231, 255, .2); font-size: 13px; }
.intent > svg { width: 18px; height: 18px; color: var(--rs-cyan); }
.pager { display: flex; justify-content: center; gap: 8px; margin-top: 28px; }
@media (min-width: 960px) { .only-mobile { display: none !important; } }

/* product page */
.pdp { display: grid; gap: 24px; }
@media (min-width: 960px) { .pdp { grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 44px; align-items: start; } }
.gallery { display: grid; gap: 10px; }
@media (min-width: 960px) { .gallery { position: sticky; top: 90px; grid-template-columns: 76px 1fr; } .gallery .thumbs { flex-direction: column; order: -1; } }
.gal-main { position: relative; aspect-ratio: 1; border-radius: 22px; overflow: hidden; background: #0c1b31; border: 1px solid var(--rs-line); cursor: zoom-in; touch-action: pan-y; }
.gal-main img { width: 100%; height: 100%; object-fit: cover; transition: transform .15s ease-out; transform-origin: var(--zx, 50%) var(--zy, 50%); }
.gal-main.zoom img { transform: scale(2.2); }
.gal-main .heart { top: 14px; right: 14px; width: 44px; height: 44px; }
.thumbs { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; }
.thumbs button { flex: none; width: 66px; height: 66px; padding: 0; border-radius: 12px; overflow: hidden; border: 2px solid transparent; background: #0c1b31; opacity: .65; }
.thumbs button.on, .thumbs button:hover { border-color: var(--rs-blue); opacity: 1; }
.thumbs img { width: 100%; height: 100%; object-fit: cover; }
.pdp-info h1 { font-size: clamp(24px, 3.2vw, 36px); margin: 6px 0 10px; }
.pdp-brand { font-size: 13px; color: var(--rs-muted); }
.pdp-price { display: flex; align-items: baseline; flex-wrap: wrap; gap: 6px 12px; margin: 16px 0 6px; }
.pdp-price b { font: 800 38px/1 var(--rs-display); }
.pdp-price s { color: var(--rs-dim); font-size: 17px; }
.opt { margin: 18px 0; }
.opt > span { display: block; font-size: 13px; font-weight: 600; color: var(--rs-muted); margin-bottom: 8px; }
.opt > span b { color: var(--rs-text); }
.opt .chips { display: flex; flex-wrap: wrap; gap: 8px; }
.opt.need > span { color: var(--rs-samba); }
.qty { display: inline-flex; align-items: center; border: 1px solid var(--rs-line); border-radius: 999px; overflow: hidden; height: 46px; }
.qty button { width: 42px; height: 100%; border: 0; background: rgba(255, 255, 255, .05); font-size: 18px; }
.qty input { width: 46px; height: 100%; border: 0; background: none; text-align: center; font-weight: 700; -moz-appearance: textfield; }
.qty input::-webkit-inner-spin-button { display: none; }
.buybox { display: grid; gap: 12px; margin: 20px 0; padding: 18px; }
.buybox .acts { display: grid; grid-template-columns: auto 1fr; gap: 10px; }
.buybox .acts .btn-hot { grid-column: 1 / -1; }
@media (min-width: 560px) { .buybox .acts { grid-template-columns: auto 1fr 1fr; } .buybox .acts .btn-hot { grid-column: auto; } }
.deliver { display: grid; gap: 6px; font-size: 13.5px; color: var(--rs-muted); }
.deliver b { color: var(--rs-text); }
.stock-low { color: var(--rs-samba); font-weight: 600; font-size: 13px; }
.seller-card { display: grid; gap: 12px; padding: 18px; margin-top: 16px; }
.seller-card .top { display: flex; gap: 12px; align-items: center; }
.seller-card .shop-logo { position: static; width: 52px; height: 52px; border: 0; }
.seller-card .facts { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; font-size: 13px; color: var(--rs-muted); }
.seller-card .facts b { display: block; color: var(--rs-text); }
.bullets { padding-left: 18px; margin: 14px 0; color: #d1def0; }
.bullets li { margin: 6px 0; }
.pdp-sec { margin-top: 48px; }
.pdp-sec h2 { font-size: clamp(22px, 3vw, 30px); }
.specs { width: 100%; border-collapse: collapse; font-size: 14px; overflow: hidden; border-radius: 14px; }
.specs th, .specs td { text-align: left; padding: 11px 14px; border-bottom: 1px solid var(--rs-line); vertical-align: top; }
.specs th { width: 38%; color: var(--rs-muted); font-weight: 500; background: rgba(255, 255, 255, .025); }
.desc { color: #d1def0; white-space: pre-line; max-width: 820px; }
.ai-sum { position: relative; padding: 18px 18px 18px 54px; margin-bottom: 18px; border-radius: 18px; background: linear-gradient(120deg, rgba(30, 167, 225, .14), rgba(59, 91, 255, .12)); border: 1px solid rgba(111, 231, 255, .3); }
.ai-sum > svg { position: absolute; left: 18px; top: 18px; color: var(--rs-cyan); }
.ai-sum b { font-family: var(--rs-display); }
.ai-sum p { margin: 6px 0 0; color: #d6e5f7; }
.ai-sum ul { margin: 8px 0 0; padding-left: 18px; color: #d6e5f7; font-size: 14px; }
.revs { display: grid; gap: 24px; }
@media (min-width: 900px) { .revs { grid-template-columns: 300px 1fr; } }
.hist { display: grid; gap: 6px; }
.hist button { display: grid; grid-template-columns: 44px 1fr 34px; gap: 8px; align-items: center; padding: 3px 4px; border: 0; background: none; font-size: 13px; color: var(--rs-muted); border-radius: 6px; text-align: left; }
.hist button:hover, .hist button.on { background: rgba(255, 255, 255, .05); color: var(--rs-text); }
.hist .bar { height: 10px; border-radius: 5px; background: rgba(255, 255, 255, .07); overflow: hidden; }
.hist .bar i { display: block; height: 100%; background: var(--rs-grad-hot); border-radius: 5px; }
.rev { padding: 16px 0; border-bottom: 1px solid var(--rs-line); }
.rev h4 { font-family: var(--rs-font); font-size: 15px; margin: 6px 0 4px; }
.rev p { margin: 0 0 8px; color: #d1def0; font-size: 14px; }
.rev .meta { font-size: 12px; color: var(--rs-dim); display: flex; flex-wrap: wrap; gap: 4px 12px; align-items: center; }
.rev .reply { margin: 8px 0; padding: 10px 12px; border-left: 3px solid var(--rs-blue); background: rgba(30, 167, 225, .07); border-radius: 0 10px 10px 0; font-size: 13.5px; }
.qa { padding: 14px 0; border-bottom: 1px solid var(--rs-line); font-size: 14px; }
.qa p { margin: 0 0 4px; }
.qa b { color: var(--rs-cyan); margin-right: 6px; }
.buy-bar { position: fixed; left: 0; right: 0; bottom: calc(62px + env(safe-area-inset-bottom)); z-index: 54; display: flex; align-items: center; gap: 10px; padding: 10px 16px; background: rgba(5, 11, 22, .92); backdrop-filter: blur(16px); border-top: 1px solid var(--rs-line); transform: translateY(150%); transition: transform .3s; }
.buy-bar.show { transform: none; }
.buy-bar b { font: 800 20px var(--rs-display); }
.buy-bar .btn { flex: 1; }
@media (min-width: 760px) { .buy-bar { display: none; } }
body.has-buybar #rs-ai-bubble { bottom: calc(142px + env(safe-area-inset-bottom)); }

/* store page */
.store-hero { position: relative; border-radius: 26px; overflow: hidden; margin-bottom: 70px; border: 1px solid var(--rs-line); }
.store-ban { height: 200px; background: linear-gradient(120deg, var(--shop-accent, #1ea7e1), #0a1628 80%); }
.store-ban img { width: 100%; height: 100%; object-fit: cover; }
@media (min-width: 760px) { .store-ban { height: 280px; } }
.store-id { position: absolute; left: 16px; right: 16px; bottom: -56px; display: flex; align-items: flex-end; gap: 14px; }
.store-id .shop-logo { position: static; width: 96px; height: 96px; border-radius: 24px; border-width: 4px; font-size: 38px; flex: none; }
.store-id h1 { margin: 0; font-size: clamp(24px, 4vw, 40px); text-shadow: 0 4px 20px rgba(0, 0, 0, .7); }
.store-meta { display: flex; flex-wrap: wrap; gap: 8px 18px; align-items: center; margin-bottom: 20px; color: var(--rs-muted); font-size: 14px; }

/* cart + checkout */
.two { display: grid; gap: 20px; }
@media (min-width: 960px) { .two { grid-template-columns: minmax(0, 1fr) 370px; gap: 28px; align-items: start; } .two > aside { position: sticky; top: 90px; } }
.sgroup { padding: 0; overflow: hidden; margin-bottom: 16px; }
.sgroup-h { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px; padding: 14px 18px; border-bottom: 1px solid var(--rs-line); background: rgba(255, 255, 255, .02); }
.sgroup-h a { color: var(--rs-text); font-weight: 700; }
.fsbar { padding: 10px 18px; font-size: 13px; color: var(--rs-muted); border-bottom: 1px solid var(--rs-line); }
.fsbar .track { height: 6px; border-radius: 3px; background: rgba(255, 255, 255, .08); margin-top: 6px; overflow: hidden; }
.fsbar .track i { display: block; height: 100%; background: var(--rs-grad); border-radius: 3px; transition: width .6s; }
.citem { display: grid; grid-template-columns: 84px 1fr; gap: 14px; padding: 16px 18px; border-bottom: 1px solid var(--rs-line); }
.citem:last-child { border-bottom: 0; }
.citem > a img { width: 84px; height: 84px; border-radius: 12px; object-fit: cover; }
.citem h4 { font: 600 14.5px/1.3 var(--rs-font); margin: 0 0 4px; }
.citem h4 a { color: var(--rs-text); }
.citem .row { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; margin-top: 8px; font-size: 13px; }
.citem .qty { height: 38px; } .citem .qty button { width: 34px; } .citem .qty input { width: 38px; }
.sumrow { display: flex; justify-content: space-between; gap: 10px; padding: 5px 0; font-size: 14px; color: var(--rs-muted); }
.sumrow b { color: var(--rs-text); font-weight: 600; }
.sumrow.total { border-top: 1px solid var(--rs-line); margin-top: 8px; padding-top: 12px; font-size: 17px; color: var(--rs-text); }
.sumrow.total b { font: 800 22px var(--rs-display); }
.coupon { display: flex; gap: 8px; margin: 12px 0; }
.coupon input { min-height: 42px; }
.secure { display: flex; align-items: center; justify-content: center; gap: 6px; font-size: 12px; color: var(--rs-dim); margin-top: 10px; }
.secure svg { width: 15px; height: 15px; color: var(--rs-green); }
.addr-list { display: grid; gap: 10px; margin-bottom: 14px; }
.addr { display: flex; gap: 12px; align-items: flex-start; padding: 14px; border-radius: 14px; border: 1px solid var(--rs-line); cursor: pointer; font-size: 14px; }
.addr:has(input:checked) { border-color: var(--rs-blue); background: rgba(30, 167, 225, .08); }
.addr input { margin-top: 3px; accent-color: var(--rs-blue); }
.steps { display: flex; gap: 8px; margin-bottom: 18px; font-size: 13px; color: var(--rs-dim); }
.steps b { color: var(--rs-cyan); }
.card-field { position: relative; }
.card-field svg { position: absolute; right: 14px; top: 37px; color: var(--rs-muted); }

/* order + timeline */
.ship-card { padding: 0; margin-bottom: 18px; overflow: hidden; }
.timeline { list-style: none; margin: 0; padding: 18px 18px 6px 18px; display: grid; gap: 0; }
.timeline li { position: relative; padding: 0 0 18px 28px; font-size: 14px; }
.timeline li::before { content: ""; position: absolute; left: 5px; top: 6px; width: 12px; height: 12px; border-radius: 50%; background: var(--rs-blue); box-shadow: 0 0 12px var(--rs-blue); }
.timeline li::after { content: ""; position: absolute; left: 10px; top: 20px; bottom: 0; width: 2px; background: var(--rs-line); }
.timeline li:last-child::after { display: none; }
.timeline small { display: block; color: var(--rs-dim); font-size: 12px; }
.progress { display: grid; grid-template-columns: repeat(4, 1fr); gap: 4px; padding: 16px 18px 0; }
.progress div { text-align: center; font-size: 11.5px; color: var(--rs-dim); }
.progress div::before { content: ""; display: block; height: 5px; border-radius: 3px; background: rgba(255, 255, 255, .08); margin-bottom: 6px; }
.progress div.on { color: var(--rs-text); font-weight: 600; }
.progress div.on::before { background: var(--rs-grad); box-shadow: 0 0 10px rgba(30, 167, 225, .7); }
.oitem { display: grid; grid-template-columns: 64px 1fr; gap: 12px; padding: 14px 18px; border-top: 1px solid var(--rs-line); }
.oitem img { width: 64px; height: 64px; border-radius: 10px; object-fit: cover; }
.oitem .acts { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.success { text-align: center; padding: 30px 16px 26px; }
.success .ring { width: 84px; height: 84px; margin: 0 auto 14px; border-radius: 50%; display: grid; place-items: center; background: var(--rs-grad); color: #04101f; box-shadow: 0 0 60px rgba(30, 167, 225, .6); animation: fabin .6s cubic-bezier(.3, 1.5, .5, 1); }
.success .ring svg { width: 42px; height: 42px; stroke-width: 3; }
.olist { display: grid; gap: 12px; }
.orow { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; padding: 16px 18px; color: var(--rs-text); text-decoration: none !important; }
.orow:hover { border-color: rgba(111, 231, 255, .4); }
.orow .imgs { display: flex; }
.orow .imgs img { width: 48px; height: 48px; border-radius: 10px; object-fit: cover; border: 2px solid var(--rs-ink); margin-left: -12px; }
.orow .imgs img:first-child { margin-left: 0; }
.orow .grow { flex: 1; min-width: 160px; }
.st-new, .st-processing { background: rgba(255, 198, 92, .14); color: var(--rs-gold); }
.st-shipped { background: rgba(30, 167, 225, .16); color: var(--rs-cyan); }
.st-delivered, .st-paid, .st-approved, .st-refunded { background: rgba(47, 217, 154, .14); color: var(--rs-green); }
.st-cancelled, .st-rejected, .st-expired { background: rgba(255, 90, 106, .14); color: var(--rs-red); }

/* modal */
.modal { position: fixed; inset: 0; z-index: 100; display: grid; place-items: end center; background: rgba(3, 7, 15, .7); backdrop-filter: blur(6px); animation: fade .2s; }
@media (min-width: 600px) { .modal { place-items: center; } }
.modal > div { width: 100%; max-width: 520px; max-height: 90vh; overflow: auto; padding: 22px; border-radius: 24px 24px 0 0; background: #0b1a30; border: 1px solid var(--rs-line); animation: rise .25s; }
@media (min-width: 600px) { .modal > div { border-radius: 24px; } }
.modal h3 { font-size: 22px; }
.star-pick { display: flex; gap: 4px; margin-bottom: 12px; }
.star-pick button { border: 0; background: none; font-size: 32px; color: rgba(255, 255, 255, .2); padding: 0 2px; }
.star-pick button.on { color: var(--rs-gold); }
@keyframes fade { from { opacity: 0; } }

/* account / auth */
.auth { display: grid; gap: 24px; max-width: 980px; margin: 0 auto; }
@media (min-width: 900px) { .auth { grid-template-columns: 1fr 1fr; align-items: stretch; } }
.auth-side { position: relative; overflow: hidden; padding: 28px 22px; border-radius: 24px; isolation: isolate; background: radial-gradient(90% 80% at 100% 0%, rgba(255, 122, 61, .4), transparent 60%), radial-gradient(90% 80% at 0% 100%, rgba(59, 91, 255, .45), transparent 60%), #0a1628; border: 1px solid var(--rs-line); }
.auth-side h2 { font-size: 28px; }
.auth-side ul { padding-left: 18px; color: #d0def2; }
.auth-tabs { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; padding: 5px; border-radius: 999px; background: rgba(255, 255, 255, .05); margin-bottom: 18px; }
.auth-tabs a { text-align: center; padding: 10px; border-radius: 999px; color: var(--rs-muted); font-weight: 600; font-size: 14px; text-decoration: none; }
.auth-tabs a.on { background: var(--rs-grad); color: #04101f; }
.acct { display: grid; gap: 20px; }
@media (min-width: 900px) { .acct { grid-template-columns: 230px 1fr; } }
.acct-nav { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; }
@media (min-width: 900px) { .acct-nav { flex-direction: column; } }
.acct-nav a { white-space: nowrap; padding: 10px 14px; border-radius: 12px; color: var(--rs-muted); font-weight: 600; font-size: 14px; }
.acct-nav a.on, .acct-nav a:hover { background: rgba(30, 167, 225, .12); color: var(--rs-text); text-decoration: none; }
.acct section { margin-bottom: 18px; }
.acct h2 { font-size: 20px; }
.threads { display: grid; gap: 8px; }
.thread { display: flex; gap: 12px; align-items: center; padding: 14px 16px; color: var(--rs-text); text-decoration: none !important; }
.thread .shop-logo { position: static; width: 44px; height: 44px; border: 0; border-radius: 12px; font-size: 18px; flex: none; }
.thread .grow { flex: 1; min-width: 0; }
.thread p { margin: 2px 0 0; color: var(--rs-muted); font-size: 13px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.chatbox { display: flex; flex-direction: column; height: min(70vh, 640px); padding: 0; overflow: hidden; }
.chatbox .rs-chat-log { padding: 18px; }
.chatbox .rs-msg small { display: block; font-size: 11px; color: var(--rs-dim); margin-top: 3px; padding: 0 6px; }
.assist-page { max-width: 820px; margin: 0 auto; }
.assist-page .chatbox { height: min(74vh, 760px); }
.assist-page .rs-chat-sugs { padding-top: 6px; }

/* =====================================================================
   PREMIUM LAYER — restrained, realistic, serious. Overrides the rules above.
   Night navy + brand blue only. Thin line icons. Small radii. Slow motion.
   ===================================================================== */
:root {
  --rs-display: "Inter Tight", "Inter", system-ui, -apple-system, sans-serif;
  --rs-radius: 12px; --rs-radius-sm: 8px;
  --rs-line: rgba(255, 255, 255, .09);
  --rs-line-2: rgba(255, 255, 255, .16);
  --rs-text: #f3f6fa; --rs-muted: #9aa8bb; --rs-dim: #66758a;
  --rs-gold: #d7dde6; /* rating stars: quiet near-white, no candy gold */
  --rs-green: #7fc8a9; --rs-red: #e0727c;
}
body { background: #060c17; font-size: 15px; letter-spacing: -.003em; }
body::before { background: radial-gradient(1200px 700px at 80% -20%, rgba(30, 167, 225, .07), transparent 60%), #060c17; }
svg { stroke-width: 1.5; }
h1, h2, h3, h4 { font-weight: 500; letter-spacing: -.025em; }
a { color: #7cc8ec; }
.grad-text, .hot-text { background: none; -webkit-background-clip: initial; background-clip: initial; color: var(--rs-blue); }
.kicker { font-size: 13px; font-weight: 500; letter-spacing: 0; text-transform: none; color: var(--rs-muted); margin-bottom: 10px; }

/* buttons + chips: flat, small radius, no glow */
.btn { min-height: 44px; padding: 0 20px; border-radius: 10px; border-color: var(--rs-line-2); background: transparent; font-weight: 500; letter-spacing: 0; box-shadow: none; transition: background .25s, border-color .25s, color .25s; }
.btn:hover { background: rgba(255, 255, 255, .06); border-color: rgba(255, 255, 255, .3); }
.btn:active { transform: none; }
.btn-hot, .btn-hot:hover { background: #f3f6fa; color: #08111f; border: 0; box-shadow: none; }
.btn-hot:hover { background: #fff; }
.btn-blue, .btn-blue:hover { background: var(--rs-blue); color: #fff; border: 0; box-shadow: none; }
.btn-blue:hover { background: #2bb3ec; }
.btn-sm { min-height: 34px; padding: 0 12px; border-radius: 8px; }
.chip { min-height: 32px; padding: 0 12px; border-radius: 8px; background: transparent; border-color: var(--rs-line-2); font-weight: 400; }
.chip.on, .chip[aria-pressed="true"] { background: rgba(30, 167, 225, .12); border-color: var(--rs-blue); }
.badge { border-radius: 4px; font-weight: 600; letter-spacing: .01em; padding: 3px 7px; }
.badge-hot { background: #f3f6fa; color: #08111f; }
.badge-blue { background: transparent; border: 1px solid rgba(30, 167, 225, .5); color: #8fd3f2; }
.badge-green { background: transparent; border: 1px solid rgba(127, 200, 169, .4); }
.badge-red { background: transparent; border: 1px solid rgba(224, 114, 124, .45); }
.badge-gray { background: rgba(255, 255, 255, .06); }
.st-new, .st-processing { background: transparent; border: 1px solid var(--rs-line-2); color: var(--rs-text); }
.st-shipped { background: transparent; border: 1px solid rgba(30, 167, 225, .5); color: #8fd3f2; }
.st-delivered, .st-paid, .st-approved, .st-refunded { background: transparent; border: 1px solid rgba(127, 200, 169, .4); color: var(--rs-green); }
.st-cancelled, .st-rejected, .st-expired { background: transparent; border: 1px solid rgba(224, 114, 124, .4); color: var(--rs-red); }
.glass { background: rgba(255, 255, 255, .025); border-color: var(--rs-line); backdrop-filter: none; -webkit-backdrop-filter: none; }
.input, select.input, textarea.input { border-radius: 8px; background: rgba(255, 255, 255, .03); border-color: var(--rs-line-2); }
.input:focus { box-shadow: 0 0 0 3px rgba(30, 167, 225, .18); }
.intent { border-radius: 10px; background: rgba(30, 167, 225, .05); border-color: rgba(30, 167, 225, .25); }

/* demo banner: slim, dark, muted */
.rs-demo { background: #0b1422; color: var(--rs-muted); border-bottom: 1px solid var(--rs-line); font-size: 12px; padding: 6px 40px 6px 16px; }
.rs-demo b { color: var(--rs-text); font-weight: 500; }

/* header */
.rs-hdr { background: rgba(6, 12, 23, .82); border-bottom-color: var(--rs-line); }
.rs-logo img { width: 28px; height: 28px; filter: none; transition: none; }
.rs-logo:hover img { transform: none; }
.rs-word { font-weight: 600; font-size: 14px; letter-spacing: .2em; background: none; -webkit-background-clip: initial; background-clip: initial; color: var(--rs-text); }
.rs-search { height: 44px; border-radius: 10px; background: rgba(255, 255, 255, .04); border-color: var(--rs-line-2); }
.rs-search:focus-within { box-shadow: none; border-color: rgba(30, 167, 225, .7); }
.rs-ai-pill { height: 28px; border-radius: 6px; font-weight: 500; }
.rs-ai-tog input:checked + .rs-ai-pill { background: rgba(30, 167, 225, .15); color: #8fd3f2; border-color: var(--rs-blue); box-shadow: none; }
.rs-search-go { width: 36px; height: 36px; border-radius: 8px; background: var(--rs-blue); color: #fff; }
.rs-search-go svg { stroke-width: 1.8; }
.rs-cats-btn { border-radius: 10px !important; background: transparent !important; font-weight: 500 !important; }
.rs-sell-link { font-weight: 500 !important; color: var(--rs-muted) !important; }
.rs-sell-link:hover { color: var(--rs-text) !important; }
.rs-dot { background: var(--rs-blue); color: #fff; font-weight: 600; border-radius: 9px; }
.rs-suggest, .rs-pop { border-radius: 12px; background: #0a1321; border-color: var(--rs-line-2); }
.rs-mega { background: rgba(6, 12, 23, .98); }
.rs-tabbar { background: rgba(6, 12, 23, .92); }
.rs-tabbar a.on { color: var(--rs-text); }
.rs-tabbar a.on svg { filter: none; color: var(--rs-blue); }

/* assistant bubble: quiet, no pulse/bounce */
.rs-ai-fab { height: 46px; border-radius: 10px; background: #0d1828; color: var(--rs-text); border: 1px solid var(--rs-line-2); font-weight: 500; box-shadow: 0 14px 40px -12px rgba(0, 0, 0, .7); animation: fadein 1.2s ease both .8s; }
.rs-ai-fab::after { display: none; }
.rs-ai-fab svg { color: var(--rs-blue); stroke-width: 1.5; }
@media (max-width: 759px) { .rs-ai-fab { width: 46px; } }
@keyframes fadein { from { opacity: 0; } }
.rs-ai-panel { border-radius: 14px; background: #0a1321; border-color: var(--rs-line-2); box-shadow: 0 40px 100px -20px rgba(0, 0, 0, .9); animation: fadein .35s ease; }
.rs-ai-panel > header { background: transparent; }
.rs-ai-ava { border-radius: 8px; background: rgba(30, 167, 225, .12); color: var(--rs-blue); }
.rs-msg p { border-radius: 12px; }
.rs-msg.me p { background: var(--rs-blue); color: #fff; }
.rs-chat-sugs button { border-radius: 8px; background: transparent; border-color: var(--rs-line-2); }
.rs-chat-in input { border-radius: 10px; }
.rs-chat-in button { border-radius: 10px; background: var(--rs-blue); color: #fff; }
.rs-mini em { color: var(--rs-text); }

/* ---------- HERO: real store photo, slow Ken Burns, legible vignette ---------- */
.hero { background: #060c17; }
.hero-photo-wrap { position: absolute; inset: -40px; will-change: transform; transition: transform 1.6s cubic-bezier(.2, .6, .2, 1); }
.hero-photo { position: absolute; inset: 0; background-size: cover; background-position: center 40%; transform-origin: 55% 45%; animation: kenburns 38s ease-in-out infinite alternate; }
@keyframes kenburns { from { transform: scale(1.04) translate3d(0, 0, 0); } to { transform: scale(1.14) translate3d(-1.5%, -1%, 0); } }
.no-motion .hero-photo { animation: none; transform: scale(1.04); }
.hero-shade { background:
  radial-gradient(70% 60% at 50% 46%, rgba(6, 12, 23, .55), rgba(6, 12, 23, .25) 70%, rgba(6, 12, 23, 0) 100%),
  linear-gradient(180deg, rgba(6, 12, 23, .55) 0%, rgba(6, 12, 23, .1) 30%, rgba(6, 12, 23, .2) 65%, #060c17 100%); }
.hero-canvas { transition: opacity 2.4s ease; }
.hero h1 { margin: 0 auto 18px; max-width: 900px; font-size: clamp(36px, 6.2vw, 78px); font-weight: 500; line-height: 1.02; letter-spacing: -.035em; color: #fff; text-shadow: 0 2px 40px rgba(0, 0, 0, .45); }
.hero h1 .accent { color: #fff; background-image: linear-gradient(var(--rs-blue), var(--rs-blue)); background-size: 100% 3px; background-position: 0 92%; background-repeat: no-repeat; padding-bottom: 2px; }
.hero p.lead { color: rgba(255, 255, 255, .78); font-size: clamp(15px, 1.6vw, 18px); max-width: 560px; margin-bottom: 30px; text-shadow: 0 1px 16px rgba(0, 0, 0, .5); }
.hero-search { max-width: 640px; height: 58px; padding: 0 6px 0 18px; border-radius: 12px; background: rgba(8, 14, 26, .62); border: 1px solid rgba(255, 255, 255, .18); backdrop-filter: blur(18px) saturate(1.2); -webkit-backdrop-filter: blur(18px) saturate(1.2); box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .8); }
.hero-search input[type=search] { font-size: 16px; }
.hero-search .rs-ai-pill { height: 32px; font-size: 12.5px; }
.hero-search .btn { min-height: 46px; border-radius: 8px; padding: 0 18px; }
@media (max-width: 559px) { .hero-search { height: 54px; } .hero-search .btn { min-height: 42px; padding: 0 12px; } }
.hero-chips { gap: 4px 22px; margin-top: 22px; }
.hero-chips a { color: rgba(255, 255, 255, .75); font-size: 14px; padding: 6px 0; text-decoration: none; border-bottom: 1px solid transparent; transition: color .3s, border-color .3s; white-space: nowrap; }
.hero-chips a:hover { color: #fff; border-bottom-color: rgba(255, 255, 255, .5); text-decoration: none; }
@media (max-width: 559px) { .hero-chips { gap: 18px; } }
.hero-stats { position: absolute; left: 0; right: 0; bottom: 28px; z-index: 1; display: flex; justify-content: center; flex-wrap: wrap; gap: 6px 28px; margin: 0 auto; color: rgba(255, 255, 255, .6); font-size: 13px; }
.hero-stats span + span::before { content: ""; display: inline-block; width: 3px; height: 3px; border-radius: 50%; background: rgba(255, 255, 255, .4); margin-right: 28px; vertical-align: middle; }
@media (max-width: 559px) { .hero-stats { font-size: 12px; gap: 4px 14px; bottom: 18px; } .hero-stats span + span::before { margin-right: 14px; } .hero-stats span:last-child { display: none; } }
.hero-scroll, .hero-hint { display: none; }

/* sections */
.sec-h h2 { font-size: clamp(24px, 3.4vw, 36px); font-weight: 500; }
.sec-h .more { color: var(--rs-text); font-weight: 400; border-bottom: 1px solid var(--rs-line-2); padding-bottom: 2px; }
.sec-h .more:hover { text-decoration: none; border-color: var(--rs-text); }
.rail-nav button { border-radius: 8px; background: transparent; border-color: var(--rs-line-2); }

/* category tiles: photo + name only */
.bento a { border-radius: 12px; border-color: var(--rs-line); }
.bento a::before { background: linear-gradient(180deg, rgba(6, 12, 23, 0) 45%, rgba(6, 12, 23, .82)); }
.bento a::after { display: none; }
.bento a img { transition: transform 1.6s cubic-bezier(.2, .6, .2, 1); }
.bento a:hover img { transform: scale(1.04); }
.bento .cap b { font-weight: 500; font-size: 17px; letter-spacing: -.01em; }
.bento .big .cap b { font-size: 24px; }
.bento .ico { display: none; }

/* product cards: hairline, calm hover */
.pcard { border-radius: 12px; background: rgba(255, 255, 255, .02); border-color: var(--rs-line); transform: none !important; transition: border-color .4s, background .4s; }
.pcard:hover { border-color: var(--rs-line-2); background: rgba(255, 255, 255, .035); box-shadow: none; }
.pcard::after { display: none; }
.pcard-img { background: #0c1522; }
.pcard-img img { transition: opacity .6s ease, transform 1.4s cubic-bezier(.2, .6, .2, 1); }
.pcard:hover .pcard-img img { transform: scale(1.03); }
.pcard-title { font-weight: 500; }
.price b { font-family: var(--rs-font); font-weight: 600; font-size: 17px; }
.price .off { color: var(--rs-muted); font-weight: 500; }
.heart { border-radius: 8px; background: rgba(6, 12, 23, .55); transition: color .3s; }
.heart:hover { transform: none; }
.heart[aria-pressed="true"] { color: #fff; }
.heart[aria-pressed="true"] svg { animation: none; }
.qadd { border-radius: 8px; background: transparent; border-color: var(--rs-line-2); color: var(--rs-text); }
.qadd:hover { background: var(--rs-blue); color: #fff; border-color: var(--rs-blue); }
.ship { color: var(--rs-muted); font-weight: 400; }
.stars i span { color: #e9edf3; }
.stars i { color: rgba(255, 255, 255, .16); }

/* deals, banners, shops */
.deals-band { border-radius: 14px; background: rgba(255, 255, 255, .02); border-color: var(--rs-line); }
.countdown b { border-radius: 6px; background: transparent; border-color: var(--rs-line-2); font-family: var(--rs-font); font-weight: 500; min-width: 36px; height: 36px; font-size: 15px; }
.banner { border-radius: 14px; border-color: var(--rs-line); }
.banner.t-sell, .banner.t-winter, .banner.t-tech { background: #0b1422; }
.banner.t-sell > img { opacity: 1; mix-blend-mode: normal; }
.banner::before { background: linear-gradient(200deg, rgba(6, 12, 23, 0) 25%, rgba(6, 12, 23, .88) 90%); }
.banner small { color: rgba(255, 255, 255, .7); letter-spacing: .06em; font-weight: 500; }
.banner h3 { font-weight: 500; }
.banner > img { transition: transform 2s cubic-bezier(.2, .6, .2, 1); }
.banner:hover > img { transform: scale(1.03); }
.shop { border-radius: 12px; }
.shop:hover { transform: none; border-color: var(--rs-line-2); }
.shop-ban { background: #0e1a2b; }
.shop-logo { border-radius: 10px; font-family: var(--rs-font); font-weight: 600; }

/* AI teaser + sell CTA: photographic, calm */
.ai-teaser { border-radius: 14px; background: rgba(255, 255, 255, .02); border-color: var(--rs-line); padding: 28px 20px; }
@media (min-width: 900px) { .ai-teaser { padding: 48px; gap: 48px; } }
.ai-teaser h2 { font-weight: 500; }
.ai-orb { display: none; }
.ai-photo { position: relative; aspect-ratio: 4 / 3; border-radius: 10px; overflow: hidden; background: #0c1522; }
.ai-photo img { position: absolute; inset: -8% 0; width: 100%; height: 116%; object-fit: cover; }
.sell-cta { border-radius: 14px; border-color: var(--rs-line); background: #0a1321; padding: 64px 20px; }
.sell-cta::before { display: none; }
.sell-cta .sell-bg { position: absolute; inset: -8% 0; width: 100%; height: 116%; object-fit: cover; z-index: -2; }
.sell-cta::after { background: linear-gradient(180deg, rgba(6, 12, 23, .72), rgba(6, 12, 23, .88)); }
.sell-cta .kicker { color: rgba(255, 255, 255, .7); }
.sell-cta h2 { font-weight: 500; }
.sell-cta .price-big { font-family: var(--rs-display); font-weight: 400; letter-spacing: -.05em; background: none; -webkit-background-clip: initial; background-clip: initial; color: #fff; filter: none; font-size: clamp(64px, 13vw, 150px); }
.sell-cta .pts { font-weight: 400; color: rgba(255, 255, 255, .8); }
.trust > div { border-radius: 12px; background: transparent; }
.trust svg { color: var(--rs-text); width: 26px; height: 26px; stroke-width: 1.3; }
.trust b { font-weight: 500; }
.news { border-radius: 14px; }

/* inner pages */
.cat-hero { border-radius: 14px; border-color: var(--rs-line); background: #0b1422; padding: 40px 20px; }
.cat-hero img { opacity: .5; }
.cat-hero h1 { font-weight: 500; }
.filters a.fcat.on, .filters a.fcat:hover { background: rgba(255, 255, 255, .05); }
.gal-main { border-radius: 12px; border-color: var(--rs-line); background: #0c1522; }
.thumbs button { border-radius: 8px; }
.pdp-info h1 { font-weight: 500; }
.pdp-price b { font-family: var(--rs-font); font-weight: 600; font-size: 32px; }
.opt.need > span { color: var(--rs-red); }
.stock-low { color: var(--rs-text); font-weight: 500; }
.ai-sum { border-radius: 12px; background: rgba(30, 167, 225, .05); border-color: rgba(30, 167, 225, .25); }
.ai-sum > svg { color: var(--rs-blue); }
.hist .bar i { background: #e9edf3; }
.rev .reply { border-left-color: var(--rs-blue); background: rgba(255, 255, 255, .03); }
.qa b { color: var(--rs-text); }
.buy-bar { background: rgba(6, 12, 23, .95); }
.buy-bar b { font-family: var(--rs-font); font-weight: 600; }
.store-hero { border-radius: 14px; }
.store-ban { background: #0e1a2b; }
.fsbar .track i { background: var(--rs-blue); }
.sumrow.total b { font-family: var(--rs-font); font-weight: 600; }
.addr { border-radius: 10px; }
.progress div.on::before { background: var(--rs-blue); box-shadow: none; }
.timeline li::before { background: var(--rs-blue); box-shadow: none; width: 9px; height: 9px; left: 6px; top: 7px; }
.success .ring { background: transparent; border: 1px solid var(--rs-blue); color: var(--rs-blue); box-shadow: none; animation: fadein .8s ease; }
.success .ring svg { stroke-width: 1.5; }
.modal { backdrop-filter: none; }
.modal > div { border-radius: 14px 14px 0 0; background: #0a1321; animation: fadein .3s ease; }
@media (min-width: 600px) { .modal > div { border-radius: 14px; } }
.star-pick button.on { color: #fff; }
.auth-side { border-radius: 14px; background: #0a1321 url('/img/hero/shop-d.jpg') center / cover; position: relative; }
.auth-side::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(6, 12, 23, .78), rgba(6, 12, 23, .92)); }
.auth-side h2 { font-weight: 500; }
.auth-tabs { border-radius: 10px; }
.auth-tabs a { border-radius: 8px; }
.auth-tabs a.on { background: var(--rs-text); color: #08111f; }
.acct-nav a { border-radius: 8px; }
.rs-ftr { background: #050a14; }
.rs-fcol h3 { letter-spacing: .04em; text-transform: none; font-size: 13px; font-weight: 500; color: var(--rs-text); }
.skel { border-radius: 10px; }
.hero { grid-template-columns: minmax(0, 1fr); }
.hero-in { min-width: 0; }
