/* SupaChat Marketplace — shopper site */

/* ================= header ================= */
.promo-bar {
    background: var(--grad); color: #fff; font-size: 13px; font-weight: 500; text-align: center;
    padding: 7px 16px;
}
.promo-bar b { font-weight: 700; }
.promo-bar.demo { background: #2a2234; }
.promo-bar.demo a { text-decoration: underline; font-weight: 700; }
.site-header { position: sticky; top: 0; z-index: 50; background: var(--surface); border-bottom: 1px solid var(--line); }
.hdr-row { max-width: 1320px; margin: 0 auto; padding: 12px 24px; display: flex; align-items: center; gap: 20px; }
.logo { display: flex; align-items: center; gap: 10px; flex: 0 0 auto; }
.logo img { width: 44px; height: auto; }
.logo-text { line-height: 1.05; }
.logo-text b { display: block; font-size: 18px; font-weight: 800; letter-spacing: -.01em; }
.logo-text span { display: block; font-size: 12px; font-weight: 600; color: var(--magenta-600); letter-spacing: .06em; text-transform: uppercase; }
.search { position: relative; flex: 1 1 auto; max-width: 720px; }
.search form { display: flex; align-items: center; height: 48px; border-radius: 999px; background: var(--bg); border: 1px solid var(--line); padding: 0 6px 0 18px; transition: border-color .15s, box-shadow .15s, background .15s; }
.search form:focus-within { background: var(--surface); border-color: var(--brand); box-shadow: var(--focus); }
.search svg.lens { width: 20px; height: 20px; color: var(--ink-3); flex: 0 0 auto; }
.search input { flex: 1; border: 0; background: transparent; height: 100%; padding: 0 12px; font-size: 15px; outline: none; min-width: 0; }
.search button[type=submit] { height: 38px; padding: 0 18px; border-radius: 999px; border: 0; background: var(--ink); color: #fff; font-weight: 600; font-size: 14px; }
.suggest {
    position: absolute; top: calc(100% + 8px); left: 0; right: 0; background: var(--surface); border-radius: var(--r-lg);
    box-shadow: var(--shadow-3); border: 1px solid var(--line); padding: 8px; z-index: 60; max-height: 70vh; overflow: auto;
}
.suggest-sec { padding: 6px 10px 2px; font-size: 12px; font-weight: 700; color: var(--ink-3); text-transform: uppercase; letter-spacing: .06em; }
.suggest-item { display: flex; align-items: center; gap: 12px; padding: 8px 10px; border-radius: 12px; cursor: pointer; }
.suggest-item:hover, .suggest-item.active { background: var(--brand-50); }
.suggest-item img { width: 44px; height: 44px; border-radius: 10px; object-fit: cover; background: var(--bg); }
.suggest-item .t { font-size: 14px; font-weight: 600; line-height: 1.3; }
.suggest-item .s { font-size: 13px; color: var(--ink-3); }
.suggest-item .p { margin-left: auto; font-weight: 700; font-size: 14px; white-space: nowrap; }
.suggest-row { display: flex; flex-wrap: wrap; gap: 6px; padding: 6px 10px 10px; }
.hdr-actions { display: flex; align-items: center; gap: 6px; flex: 0 0 auto; }
.hdr-actions .sell { font-size: 14px; font-weight: 600; color: var(--ink-2); padding: 0 10px; }
.hdr-actions .sell:hover { color: var(--brand); }
.count-badge {
    position: absolute; top: 2px; right: 0; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 999px;
    background: var(--magenta); color: #fff; font-size: 11px; font-weight: 700; display: grid; place-items: center;
}
.catnav { max-width: 1320px; margin: 0 auto; padding: 0 24px 12px; display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; }
.catnav::-webkit-scrollbar { display: none; }
.catnav a { flex: 0 0 auto; }
.catnav .hot { background: var(--magenta-50); border-color: #f6c9e2; color: var(--magenta-600); font-weight: 600; }

/* ================= layout ================= */
main { max-width: 1320px; margin: 0 auto; padding: 24px 24px 80px; min-height: 60vh; }
.section { margin-top: 44px; }
.sec-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 16px; }
.sec-head h2 { margin: 0; font-size: 22px; font-weight: 800; letter-spacing: -.015em; }
.sec-head p { margin: 2px 0 0; color: var(--ink-3); font-size: 14px; }
.sec-head a.more { font-size: 14px; font-weight: 600; color: var(--brand); white-space: nowrap; }
.sec-head .tag-spon { font-size: 12px; font-weight: 600; color: var(--ink-3); border: 1px solid var(--line-2); padding: 2px 8px; border-radius: 999px; margin-left: 8px; vertical-align: 3px; }

/* ================= hero ================= */
.hero { display: grid; grid-template-columns: 2fr 1fr; gap: 16px; }
.hero-main { position: relative; border-radius: 24px; overflow: hidden; min-height: 380px; background: var(--grad); color: #fff; }
.slide { position: absolute; inset: 0; display: grid; grid-template-columns: 1.1fr 1fr; align-items: center; gap: 12px; padding: 40px 44px; opacity: 0; transition: opacity .6s ease; pointer-events: none; }
.slide.on { opacity: 1; pointer-events: auto; }
.slide .copy { position: relative; z-index: 2; }
.slide .kicker { display: flex; gap: 8px; align-items: center; margin-bottom: 14px; flex-wrap: wrap; }
.slide .kicker .badge { background: rgba(255,255,255,.2); color: #fff; }
.slide h1 { margin: 0 0 10px; font-size: clamp(26px, 3vw, 40px); line-height: 1.06; letter-spacing: -.02em; font-weight: 800; }
.slide .price { display: flex; align-items: baseline; gap: 12px; margin: 14px 0 22px; }
.slide .price b { font-size: 34px; font-weight: 800; }
.slide .price s { opacity: .75; font-size: 18px; }
.slide .btn { background: #fff; color: var(--ink); }
.slide .art { position: relative; height: 100%; min-height: 260px; }
.slide .art img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; border-radius: 20px; box-shadow: 0 20px 60px rgba(0,0,0,.25); }
.hero-dots { position: absolute; left: 44px; bottom: 22px; display: flex; gap: 6px; z-index: 3; }
.hero-dots button { width: 8px; height: 8px; border-radius: 999px; border: 0; background: rgba(255,255,255,.45); padding: 0; transition: width .2s; }
.hero-dots button.on { width: 24px; background: #fff; }
.spon-label { position: absolute; top: 16px; right: 18px; z-index: 3; font-size: 11px; font-weight: 600; letter-spacing: .04em; background: rgba(0,0,0,.28); color: #fff; padding: 3px 9px; border-radius: 999px; }
.hero-side { display: grid; grid-template-rows: 1fr 1fr; gap: 16px; }
.promo-tile { position: relative; border-radius: 24px; overflow: hidden; background: #1c1526; color: #fff; display: flex; align-items: flex-end; padding: 22px; min-height: 182px; }
.promo-tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .72; transition: transform .5s ease; }
.promo-tile:hover img { transform: scale(1.04); }
.promo-tile::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to top, rgba(15,10,22,.85) 0%, rgba(15,10,22,.1) 60%); }
.promo-tile .c { position: relative; z-index: 2; }
.promo-tile .t { font-size: 18px; font-weight: 800; line-height: 1.15; margin: 6px 0 4px; }
.promo-tile .p { font-size: 15px; font-weight: 600; opacity: .95; }

.trust { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 16px; }
.trust > div { display: flex; align-items: center; gap: 12px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 14px 16px; }
.trust svg { width: 26px; height: 26px; color: var(--brand); flex: 0 0 auto; }
.trust b { display: block; font-size: 15px; }
.trust span { font-size: 13px; color: var(--ink-3); }

/* category tiles */
.cat-row { display: grid; grid-auto-flow: column; grid-auto-columns: 136px; gap: 12px; overflow-x: auto; padding-bottom: 6px; scrollbar-width: thin; }
.cat-tile { display: grid; gap: 8px; text-align: center; }
.cat-tile .img { aspect-ratio: 1; border-radius: 22px; overflow: hidden; background: var(--brand-50); border: 1px solid var(--line); }
.cat-tile img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s; }
.cat-tile:hover img { transform: scale(1.06); }
.cat-tile b { font-size: 13.5px; line-height: 1.25; }
.cat-tile span { font-size: 12px; color: var(--ink-3); margin-top: -6px; }

/* ================= deal card ================= */
.rail { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(208px, 1fr); gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 2px 2px 10px; scrollbar-width: thin; }
.rail > * { scroll-snap-align: start; }
.rail.cols-6 { grid-auto-columns: calc((100% - 5 * 14px) / 6); }
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 16px; }
.deal {
    position: relative; display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line);
    border-radius: var(--r-lg); overflow: hidden; transition: box-shadow .2s, transform .2s, border-color .2s;
}
.deal:hover { box-shadow: var(--shadow-2); border-color: transparent; transform: translateY(-2px); }
.deal .media { position: relative; aspect-ratio: 1; background: #f3f2f6; overflow: hidden; }
.deal .media img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.deal:hover .media img { transform: scale(1.04); }
.deal .badges { position: absolute; top: 10px; left: 10px; display: flex; flex-direction: column; align-items: flex-start; gap: 5px; z-index: 2; }
.deal .add {
    position: absolute; top: 10px; right: 10px; z-index: 2; width: 38px; height: 38px; border-radius: 50%; border: 0;
    background: rgba(255,255,255,.95); display: grid; place-items: center; box-shadow: var(--shadow-1); color: var(--ink);
    transition: transform .15s, background .15s;
}
.deal .add:hover { transform: scale(1.08); }
.deal .add.in { background: var(--brand); color: #fff; }
.deal .add svg { width: 19px; height: 19px; }
.deal .spon { position: absolute; bottom: 8px; left: 10px; z-index: 2; }
.deal .body { padding: 12px 14px 14px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.deal .meta { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.stars { display: inline-flex; align-items: center; gap: 3px; font-size: 12.5px; font-weight: 600; color: var(--ink-2); white-space: nowrap; }
.stars svg { width: 13px; height: 13px; color: #f5a524; }
.stars span { color: var(--ink-3); font-weight: 500; }
.deal .title { font-size: 14.5px; font-weight: 600; line-height: 1.32; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 2.64em; }
.deal .title::after { content: ''; position: absolute; inset: 0; z-index: 1; }   /* whole card clickable */
.price-row { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; margin-top: auto; }
.price-row b { font-size: 19px; font-weight: 800; letter-spacing: -.01em; }
.price-row s { color: var(--ink-3); font-size: 13.5px; }
.save { font-size: 12.5px; font-weight: 700; color: var(--green); }
.deal .foot { display: flex; align-items: center; gap: 8px; font-size: 12.5px; color: var(--ink-3); min-height: 18px; }
.deal .foot .ends { color: var(--amber); font-weight: 600; display: inline-flex; gap: 4px; align-items: center; }
.deal .foot .ends svg { width: 13px; height: 13px; }
.deal .foot .offers { color: var(--brand); font-weight: 600; }
.deal.sk .media { background: none; }

/* spotlight / retailer strip */
.spotlight { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 24px; border-radius: 24px; padding: 28px 32px; background: #1c1526; color: #fff; overflow: hidden; position: relative; }
.spotlight::before { content: ''; position: absolute; right: -80px; top: -80px; width: 320px; height: 320px; border-radius: 50%; background: var(--grad); opacity: .55; filter: blur(10px); }
.spotlight > * { position: relative; }
.spotlight .k { font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: #f3c6e2; }
.spotlight h3 { margin: 6px 0 6px; font-size: 26px; font-weight: 800; letter-spacing: -.015em; }
.spotlight p { margin: 0; color: rgba(255,255,255,.75); }
.spotlight .thumbs { display: flex; gap: 10px; }
.spotlight .thumbs img { width: 84px; height: 84px; border-radius: 16px; object-fit: cover; border: 2px solid rgba(255,255,255,.15); }
.retailers { display: flex; flex-wrap: wrap; gap: 10px; }
.retailers a { display: inline-flex; align-items: center; gap: 10px; height: 52px; padding: 0 18px; border-radius: 16px; background: var(--surface); border: 1px solid var(--line); font-weight: 700; }
.retailers a:hover { border-color: var(--ink-3); }
.retailers .mono { width: 28px; height: 28px; border-radius: 8px; display: grid; place-items: center; color: #fff; font-size: 13px; font-weight: 800; background: var(--c, var(--ink)); }
.retailers small { color: var(--ink-3); font-weight: 500; }

/* ================= search page ================= */
.results-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 14px; }
.results-head h1 { margin: 0; font-size: 26px; font-weight: 800; letter-spacing: -.015em; }
.results-head .count { color: var(--ink-3); font-size: 14px; }
.notice { display: flex; align-items: center; gap: 10px; padding: 10px 14px; border-radius: 12px; background: var(--brand-50); color: var(--brand-600); font-size: 14px; margin-bottom: 14px; }
.notice a { font-weight: 700; text-decoration: underline; }
.search-layout { display: grid; grid-template-columns: 250px 1fr; gap: 28px; align-items: start; }
.filters { position: sticky; top: calc(var(--header-h) + 16px); display: grid; gap: 22px; max-height: calc(100vh - var(--header-h) - 32px); overflow: auto; padding-right: 6px; }
.filters h4 { margin: 0 0 8px; font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--ink-3); }
.f-list { display: grid; gap: 2px; }
.f-opt { display: flex; align-items: center; gap: 10px; padding: 6px 8px; border-radius: 10px; font-size: 14px; cursor: pointer; }
.f-opt:hover { background: var(--surface); }
.f-opt input { accent-color: var(--brand); width: 16px; height: 16px; margin: 0; }
.f-opt .n { margin-left: auto; color: var(--ink-3); font-size: 12.5px; }
.f-opt.on { font-weight: 700; }
.f-more { font-size: 13px; font-weight: 600; color: var(--brand); background: none; border: 0; padding: 4px 8px; text-align: left; }
.price-inputs { display: flex; gap: 8px; align-items: center; margin-top: 6px; }
.price-inputs .input { height: 38px; padding: 0 10px; font-size: 14px; }
.toggle-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; font-size: 14px; font-weight: 500; padding: 4px 0; }
.toolbar { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 14px; flex-wrap: wrap; }
.active-filters { display: flex; flex-wrap: wrap; gap: 6px; }
.sort { width: auto; min-width: 190px; height: 40px; border-radius: 999px; font-size: 14px; font-weight: 600; }
.filter-toggle { display: none; }
.load-more { display: flex; justify-content: center; margin-top: 28px; }
.empty { text-align: center; padding: 60px 20px; }
.empty h2 { margin: 16px 0 6px; }
.empty p { color: var(--ink-3); margin: 0 0 18px; }
.empty .art { width: 84px; height: 84px; margin: 0 auto; border-radius: 26px; background: var(--brand-50); display: grid; place-items: center; color: var(--brand); }
.empty .art svg { width: 40px; height: 40px; }
.sponsored-strip { margin-bottom: 18px; padding: 14px; border-radius: var(--r-lg); background: linear-gradient(180deg, var(--magenta-50), transparent); border: 1px solid #f6d6e8; }
.sponsored-strip .lbl { font-size: 12px; font-weight: 700; color: var(--magenta-600); text-transform: uppercase; letter-spacing: .06em; margin: 0 0 10px 4px; }

/* ================= deal page ================= */
.crumbs { display: flex; flex-wrap: wrap; gap: 6px; font-size: 13px; color: var(--ink-3); margin-bottom: 16px; }
.crumbs a:hover { color: var(--brand); }
.from-video { display: flex; align-items: center; gap: 14px; padding: 14px 18px; border-radius: var(--r-lg); background: #1c1526; color: #fff; margin-bottom: 20px; flex-wrap: wrap; }
.from-video .ic { width: 38px; height: 38px; border-radius: 12px; background: var(--grad); display: grid; place-items: center; flex: 0 0 auto; }
.from-video .ic svg { width: 20px; height: 20px; }
.from-video b { font-size: 15px; }
.from-video span { color: rgba(255,255,255,.7); font-size: 14px; }
.from-video .chips { display: flex; gap: 6px; margin-left: auto; flex-wrap: wrap; }
.from-video .chip { background: rgba(255,255,255,.1); border-color: rgba(255,255,255,.2); color: #fff; height: 30px; font-size: 13px; }
.pdp { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 40px; align-items: start; }
.gallery { position: sticky; top: calc(var(--header-h) + 16px); }
.gallery .main { position: relative; aspect-ratio: 1; border-radius: 24px; background: #fff; border: 1px solid var(--line); overflow: hidden; }
.gallery .main img { width: 100%; height: 100%; object-fit: contain; }
.gallery .main .badges { position: absolute; top: 16px; left: 16px; display: flex; gap: 6px; }
.gallery .thumbs { display: flex; gap: 10px; margin-top: 12px; overflow-x: auto; }
.gallery .thumbs button { width: 72px; height: 72px; border-radius: 14px; border: 2px solid transparent; padding: 0; overflow: hidden; background: #fff; flex: 0 0 auto; }
.gallery .thumbs button.on { border-color: var(--brand); }
.gallery .thumbs img { width: 100%; height: 100%; object-fit: cover; }
.info .sold { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-bottom: 10px; }
.info h1 { margin: 0 0 10px; font-size: clamp(24px, 2.4vw, 32px); line-height: 1.15; letter-spacing: -.02em; font-weight: 800; }
.info .brandline { font-size: 14px; color: var(--ink-3); margin-bottom: 8px; }
.info .brandline a { color: var(--brand); font-weight: 600; }
.price-box { margin: 18px 0; padding: 20px; border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--line); }
.price-box .now { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.price-box .now b { font-size: 38px; font-weight: 800; letter-spacing: -.02em; line-height: 1; }
.price-box .now s { color: var(--ink-3); font-size: 18px; }
.price-box .savepill { background: var(--magenta-50); color: var(--magenta-600); font-weight: 700; font-size: 14px; padding: 4px 10px; border-radius: 999px; }
.price-box .label { margin-top: 12px; display: flex; gap: 8px; flex-wrap: wrap; }
.facts { display: grid; gap: 10px; margin: 16px 0 0; }
.fact { display: flex; align-items: center; gap: 10px; font-size: 14px; color: var(--ink-2); }
.fact svg { width: 18px; height: 18px; color: var(--ink-3); flex: 0 0 auto; }
.fact .stock-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--green); margin: 0 4px; }
.fact .stock-dot.low { background: #f5a524; } .fact .stock-dot.out { background: var(--red); }
.countdown { font-variant-numeric: tabular-nums; font-weight: 700; color: var(--amber); }
.promo-code { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 14px; padding: 10px 10px 10px 16px; border: 1.5px dashed #e3a6cb; border-radius: 14px; background: var(--magenta-50); }
.promo-code div { font-size: 13px; color: var(--ink-2); }
.promo-code code { display: block; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 17px; font-weight: 800; color: var(--magenta-600); letter-spacing: .06em; }
.cta { display: grid; grid-template-columns: 1fr auto; gap: 10px; margin-top: 18px; }
.cta .btn-lg { height: 56px; }
.handoff { display: flex; gap: 8px; align-items: flex-start; font-size: 13px; color: var(--ink-3); margin-top: 12px; line-height: 1.45; }
.handoff svg { width: 16px; height: 16px; flex: 0 0 auto; margin-top: 2px; }
.ask-btn { margin-top: 14px; width: 100%; justify-content: flex-start; height: 52px; border-radius: 16px; }
.ask-btn .spark { width: 28px; height: 28px; border-radius: 9px; background: var(--grad); display: grid; place-items: center; color: #fff; }
.ask-btn .spark svg { width: 16px; height: 16px; }
.compare { margin-top: 24px; border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; background: var(--surface); }
.compare h3 { margin: 0; padding: 14px 18px; font-size: 16px; border-bottom: 1px solid var(--line); }
.compare-row { display: grid; grid-template-columns: 1fr auto auto; align-items: center; gap: 14px; padding: 12px 18px; border-bottom: 1px solid var(--line); font-size: 14px; }
.compare-row:last-child { border-bottom: 0; }
.compare-row.me { background: var(--brand-50); }
.compare-row b { font-size: 16px; }
.details { margin-top: 44px; display: grid; grid-template-columns: 1.4fr 1fr; gap: 32px; }
.details h3 { margin: 0 0 10px; font-size: 18px; }
.details p { margin: 0; color: var(--ink-2); line-height: 1.65; }
.spec { display: grid; grid-template-columns: 140px 1fr; border-top: 1px solid var(--line); }
.spec div { padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
.spec div:nth-child(odd) { color: var(--ink-3); }
.tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 14px; }

/* ================= basket drawer ================= */
.scrim { position: fixed; inset: 0; background: rgba(23,18,31,.42); z-index: 90; opacity: 0; pointer-events: none; transition: opacity .25s; }
.scrim.on { opacity: 1; pointer-events: auto; }
.drawer { position: fixed; top: 0; right: 0; bottom: 0; width: min(440px, 100%); background: var(--surface); z-index: 100; transform: translateX(100%); transition: transform .3s cubic-bezier(.2,.8,.2,1); display: flex; flex-direction: column; box-shadow: var(--shadow-3); }
.drawer.on { transform: none; }
.drawer-head { display: flex; align-items: center; justify-content: space-between; padding: 18px 20px; border-bottom: 1px solid var(--line); }
.drawer-head h2 { margin: 0; font-size: 20px; }
.drawer-body { flex: 1; overflow: auto; padding: 8px 20px 20px; }
.drawer-foot { padding: 16px 20px 20px; border-top: 1px solid var(--line); display: grid; gap: 10px; }
.b-group { margin-top: 16px; }
.b-group-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 8px; }
.b-item { display: grid; grid-template-columns: 64px 1fr auto; gap: 12px; align-items: center; padding: 10px 0; border-bottom: 1px solid var(--line); }
.b-item img { width: 64px; height: 64px; border-radius: 12px; object-fit: cover; background: var(--bg); }
.b-item .t { font-size: 14px; font-weight: 600; line-height: 1.3; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.b-item .p { font-size: 14px; font-weight: 700; margin-top: 2px; }
.b-item .p s { color: var(--ink-3); font-weight: 400; font-size: 12.5px; margin-left: 4px; }
.b-item .acts { display: grid; gap: 6px; justify-items: end; }
.b-item .rm { background: none; border: 0; color: var(--ink-3); font-size: 13px; padding: 0; }
.b-item .rm:hover { color: var(--red); }
.totals { display: flex; justify-content: space-between; font-size: 15px; }
.totals b { font-size: 20px; }
.totals.save { color: var(--green); font-weight: 600; font-size: 14px; }
.b-note { font-size: 12.5px; color: var(--ink-3); line-height: 1.45; }

/* ================= footer ================= */
.site-footer { background: #140f1c; color: rgba(255,255,255,.72); padding: 40px 24px; font-size: 14px; }
.site-footer .in { max-width: 1320px; margin: 0 auto; display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.site-footer b { color: #fff; }
.site-footer a:hover { color: #fff; }
.site-footer .links { display: flex; gap: 18px; flex-wrap: wrap; }

/* ================= responsive ================= */
@media (max-width: 1100px) {
    .rail.cols-6 { grid-auto-columns: minmax(200px, 1fr); }
    .trust { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
    :root { --header-h: 170px; }
    .hdr-row { flex-wrap: wrap; gap: 10px 12px; padding: 10px 16px; }
    .search { order: 3; flex-basis: 100%; max-width: none; }
    .hdr-actions { margin-left: auto; }
    .hdr-actions .sell { display: none; }
    .catnav { padding: 0 16px 10px; }
    main { padding: 16px 16px 80px; }
    .hero { grid-template-columns: 1fr; }
    .hero-side { grid-template-columns: 1fr 1fr; grid-template-rows: auto; }
    .slide { grid-template-columns: 1fr; padding: 26px 24px 54px; align-content: end; }
    .slide .art { position: absolute; inset: 0; min-height: 0; }
    .slide .art img { border-radius: 0; opacity: .35; box-shadow: none; }
    .hero-dots { left: 24px; }
    .search-layout { grid-template-columns: minmax(0, 1fr); }   /* not 1fr: that lets a nowrap child widen the page */
    .filters { position: fixed; inset: auto 0 0 0; top: auto; max-height: 82vh; background: var(--surface); z-index: 110; border-radius: 24px 24px 0 0; padding: 20px 20px 90px; transform: translateY(105%); transition: transform .3s cubic-bezier(.2,.8,.2,1); box-shadow: var(--shadow-3); }
    .filters.on { transform: none; }
    .filters .sheet-done { position: fixed; left: 20px; right: 20px; bottom: 20px; }
    .filter-toggle { display: inline-flex; }
    .pdp { grid-template-columns: minmax(0, 1fr); gap: 20px; }
    .gallery { position: static; }
    .details { grid-template-columns: 1fr; }
    .spotlight { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
    .logo-text span { display: none; }
    .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
    .rail { grid-auto-columns: 172px; gap: 10px; }
    .deal .body { padding: 10px 11px 12px; }
    .price-row b { font-size: 17px; }
    .hero-side { grid-template-columns: 1fr; }
    .trust { grid-template-columns: 1fr 1fr; }
    .trust > div { padding: 10px 12px; }
    .cta { grid-template-columns: 1fr; }
    .sec-head h2 { font-size: 19px; }
}
@media (min-width: 901px) { .filters .sheet-done { display: none; } }
