/* SupaChat Marketplace — "Night Market" shopper layout, layered on shop.css + theme.css */

/* ================= header ================= */
.promo-bar {
    background: var(--bg); color: var(--ink-3); border-bottom: 1px solid var(--line);
    font-family: var(--mono); font-size: 10.5px; letter-spacing: .16em; text-transform: uppercase; padding: 9px 16px;
}
.promo-bar b { color: var(--ink); font-weight: 500; }
.promo-bar.demo { background: var(--bg); }
.promo-bar a { color: var(--accent-ink); text-decoration: underline; text-underline-offset: 3px; }
.site-header { position: sticky; top: 0; z-index: 50; background: color-mix(in srgb, var(--bg) 88%, transparent); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom: 1px solid var(--line); }
.hdr-row { max-width: none; margin: 0; padding: 12px 40px; display: flex; align-items: center; gap: 24px; }
.logo { display: flex; align-items: center; gap: 12px; flex: 0 0 auto; }
.logo img { width: 38px; height: auto; }
.logo-text { font-family: var(--mono); line-height: 1.2; }
.logo-text b { display: block; font-size: 12px; font-weight: 500; letter-spacing: .3em; }
.logo-text span { display: block; font-size: 9.5px; letter-spacing: .22em; color: var(--ink-3); text-transform: uppercase; }
.search { position: relative; flex: 1 1 auto; max-width: 640px; margin: 0 auto; min-width: 0; }
.search form { display: flex; align-items: center; height: 46px; border-radius: 0; background: transparent; border: 0; border-bottom: 1px solid var(--line-2); padding: 0; transition: border-color .15s; }
.search form:focus-within { border-color: var(--ink); box-shadow: none; background: transparent; }
.search svg.lens { width: 18px; height: 18px; color: var(--ink-3); }
.search input { color: var(--ink); font-size: 15px; padding: 0 12px; }
.search input::placeholder { color: var(--ink-3); }
.search button[type=submit] { height: 34px; padding: 0 14px; border-radius: 0; background: transparent; color: var(--ink); border: 1px solid var(--line-2); font-family: var(--mono); font-size: 10.5px; letter-spacing: .14em; text-transform: uppercase; }
.search button[type=submit]:hover { border-color: var(--ink); }
.suggest { border-radius: 0; background: var(--surface); border: 1px solid var(--line-2); box-shadow: var(--shadow-3); padding: 6px; }
.suggest-sec { font-family: var(--mono); font-size: 10px; letter-spacing: .16em; color: var(--ink-3); font-weight: 500; }
.suggest-item { border-radius: 0; }
.suggest-item:hover, .suggest-item.active { background: var(--surface-2); }
.suggest-item img { border-radius: 0; background: var(--img-bg); }
.suggest-item .t { font-weight: 600; }
.suggest-item .p { font-family: var(--display); font-weight: 800; font-size: 20px; }
.hdr-actions { display: flex; align-items: center; gap: 14px; flex: 0 0 auto; }
.hdr-actions .sell { font-family: var(--mono); font-size: 10.5px; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-2); font-weight: 500; padding: 0; }
.hdr-actions .sell:hover { color: var(--ink); }
.basket-btn { display: inline-flex; align-items: center; gap: 8px; height: 34px; padding: 0 12px; border: 1px solid var(--line-2); background: transparent; color: var(--ink); font-family: var(--mono); font-size: 10.5px; letter-spacing: .14em; text-transform: uppercase; }
.basket-btn:hover { border-color: var(--ink); }
.basket-btn svg { width: 16px; height: 16px; }
.count-badge { position: static; min-width: 0; height: auto; padding: 0; background: none; color: var(--accent-ink); font-size: 10.5px; display: inline; }
.catnav { max-width: none; padding: 0 40px 12px; gap: 6px; }
.catnav a.chip { height: 30px; font-size: 10px; border-color: var(--line); color: var(--ink-2); }
.catnav a.chip:hover { color: var(--ink); border-color: var(--ink); }
.catnav .hot { background: transparent; border-color: var(--accent); color: var(--accent-ink); }

/* ================= layout ================= */
main { max-width: 1440px; margin: 0 auto; padding: 0 40px 100px; min-height: 60vh; }
.section { margin-top: 96px; }
.sec-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 12px 20px; margin-bottom: 24px; border-bottom: 1px solid var(--line); padding-bottom: 18px; }
.sec-head h2 { margin: 6px 0 0; font-family: var(--display); font-weight: 900; font-size: clamp(44px, 6vw, 84px); line-height: .84; letter-spacing: -.005em; text-transform: uppercase; }
/* title grows, but "See all" only drops to its own line when a long word (e.g. a retailer name) leaves no room */
.sec-head > div { flex: 1 1 0; min-width: min-content; }
.sec-head p { margin: 10px 0 0; color: var(--ink-3); font-size: 14px; }
.sec-head a.more { font-family: var(--mono); font-size: 10.5px; letter-spacing: .16em; text-transform: uppercase; color: var(--ink); border-bottom: 1px solid var(--ink); padding-bottom: 3px; }
.sec-head .tag-spon { font-family: var(--mono); font-size: 10px; letter-spacing: .14em; color: var(--ink-3); border: 1px solid var(--line-2); padding: 3px 8px; border-radius: 0; margin-left: 12px; vertical-align: 12px; font-weight: 500; }

/* ================= hero (full bleed, cinematic) ================= */
.nm-hero { position: relative; margin: 0 calc(50% - 50vw); height: min(calc(100vh - 240px), 820px); min-height: 520px; overflow: hidden; background: #0B0A0C; color: #EDE8E1; }
.nm-slide { position: absolute; inset: 0; opacity: 0; transition: opacity .8s ease; pointer-events: none; }
.nm-slide.on { opacity: 1; pointer-events: auto; }
.nm-slide > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform: scale(1.04); transition: transform 7s ease-out; }
.nm-slide.on > img { transform: scale(1); }
.nm-slide::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to bottom, rgba(11,10,12,.55) 0%, rgba(11,10,12,0) 20%, rgba(11,10,12,0) 42%, rgba(11,10,12,.93) 100%); }
.nm-title { position: absolute; left: 40px; right: 40px; bottom: 134px; z-index: 2; font-family: var(--display); font-weight: 900; font-size: clamp(64px, 13vw, 210px); line-height: .8; text-transform: uppercase; letter-spacing: -.005em; margin: 0; max-width: 1100px; }
.nm-title .k { display: block; font-family: var(--mono); font-weight: 400; font-size: 11px; letter-spacing: .2em; margin-bottom: 18px; color: rgba(237,232,225,.75); }
.nm-hud { position: absolute; left: 0; right: 0; bottom: 0; z-index: 3; height: 100px; display: grid; grid-template-columns: 190px minmax(0, 1.5fr) minmax(0, 1fr) minmax(0, 1fr) 240px; border-top: 1px solid rgba(237,232,225,.22); background: rgba(11,10,12,.35); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.nm-hud > div, .nm-hud > a { display: flex; flex-direction: column; justify-content: center; padding: 0 26px; border-right: 1px solid rgba(237,232,225,.22); min-width: 0; }
.nm-hud > div:first-child { padding-left: 40px; }
.nm-hud .l { font-family: var(--mono); font-size: 10px; letter-spacing: .16em; text-transform: uppercase; color: rgba(237,232,225,.62); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.nm-hud .v { font-size: 19px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.nm-hud .big { font-family: var(--display); font-weight: 800; font-size: 38px; line-height: 1; }
.nm-hud .hot { color: #F07DBA; }
.nm-hud .nav { display: flex; align-items: center; gap: 10px; }
.nm-hud .nav button { width: 30px; height: 30px; border: 1px solid rgba(237,232,225,.35); background: transparent; color: #EDE8E1; display: grid; place-items: center; padding: 0; }
.nm-hud .nav button:hover { border-color: #EDE8E1; }
.nm-hud .nav button svg { width: 14px; height: 14px; }
.nm-hud a.cta { flex-direction: row; align-items: center; justify-content: space-between; background: #EDE8E1; color: #0B0A0C; font-family: var(--mono); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; border-right: 0; padding: 0 40px 0 26px; }
.nm-hud a.cta:hover { background: #FFFFFF; }
/* Retailer packshots (small, white background): a white plate on a dark stage instead of a full-bleed crop */
.nm-slide.pack { background: radial-gradient(ellipse 60% 70% at 72% 42%, #2A2530 0%, #0B0A0C 70%); }
.nm-slide.pack > img {
    inset: auto; right: max(40px, 6vw); top: 56px; width: min(40vw, 560px); height: calc(100% - 56px - 150px);
    object-fit: contain; background: #fff; padding: clamp(16px, 2.4vw, 36px); transform: none; box-shadow: 0 40px 90px rgba(0,0,0,.55);
}
.nm-slide.pack::after { background: linear-gradient(to bottom, rgba(11,10,12,0) 55%, rgba(11,10,12,.85) 100%); }
.nm-slide.pack .nm-title {
    right: auto; max-width: calc(100% - min(40vw, 560px) - max(40px, 6vw) - 80px); font-size: clamp(44px, 6.4vw, 118px); line-height: .86;
    display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden;
}
.nm-spon { position: absolute; top: 22px; right: 40px; z-index: 3; font-family: var(--mono); font-size: 10px; letter-spacing: .16em; text-transform: uppercase; border: 1px solid rgba(237,232,225,.4); padding: 5px 9px; color: #EDE8E1; }

/* stat strip */
.hud-bar { display: grid; grid-template-columns: repeat(4, 1fr); border-bottom: 1px solid var(--line); margin: 0 calc(50% - 50vw); padding: 0 40px; }
.hud-bar > div { padding: 22px 26px; border-right: 1px solid var(--line); display: flex; flex-direction: column; gap: 6px; }
.hud-bar > div:first-child { padding-left: 0; }
.hud-bar > div:last-child { border-right: 0; }
.hud-bar b { font-family: var(--display); font-weight: 800; font-size: 40px; line-height: .9; }
.hud-bar span { font-family: var(--mono); font-size: 10px; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-3); }

/* posters ("drops") */
.posters { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(260px, 1fr); gap: 2px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.posters::-webkit-scrollbar { display: none; }
.poster { position: relative; display: block; aspect-ratio: 3 / 4; overflow: hidden; background: var(--img-bg); color: #EDE8E1; scroll-snap-align: start; }
.poster > img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.poster:hover > img { transform: scale(1.05); }
.poster::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to top, rgba(11,10,12,.95) 0%, rgba(11,10,12,0) 58%); pointer-events: none; }
.poster .n { position: absolute; top: 14px; left: 18px; z-index: 2; font-family: var(--display); font-weight: 900; font-size: 64px; line-height: 1; color: transparent; -webkit-text-stroke: 1.5px #EDE8E1; }
.poster .tag { position: absolute; top: 20px; right: 16px; z-index: 2; font-family: var(--mono); font-size: 10px; letter-spacing: .14em; border: 1px solid rgba(237,232,225,.5); padding: 5px 8px; background: rgba(11,10,12,.3); }
.poster .hit { position: absolute; inset: 0; z-index: 2; }
.poster .n, .poster .tag, .poster .cap { pointer-events: none; }
.poster .cap { position: absolute; left: 18px; right: 64px; bottom: 18px; z-index: 2; display: flex; flex-direction: column; gap: 6px; }
.poster .cap .l { font-family: var(--mono); font-size: 10px; letter-spacing: .16em; text-transform: uppercase; color: rgba(237,232,225,.7); }
.poster .cap .t { font-size: 19px; font-weight: 600; line-height: 1.15; }
.poster .cap .p { font-family: var(--display); font-weight: 800; font-size: 34px; line-height: 1; }
.poster .cap .p s { font-family: var(--mono); font-weight: 400; font-size: 11px; color: rgba(237,232,225,.6); margin-left: 8px; }
.poster .add { position: absolute; right: 14px; bottom: 18px; z-index: 3; width: 38px; height: 38px; border: 1px solid rgba(237,232,225,.45); background: rgba(11,10,12,.35); color: #EDE8E1; display: grid; place-items: center; }
.poster .add:hover { border-color: #EDE8E1; }
.poster .add.in { background: #EDE8E1; color: #0B0A0C; }
.poster .add svg { width: 17px; height: 17px; }

/* category tiles */
.cat-row { display: grid; grid-auto-flow: column; grid-auto-columns: 176px; gap: 2px; overflow-x: auto; scrollbar-width: none; padding-bottom: 0; }
.cat-row::-webkit-scrollbar { display: none; }
.cat-tile { position: relative; display: block; aspect-ratio: 1; overflow: hidden; background: var(--img-bg); color: #EDE8E1; text-align: left; }
.cat-tile .img { position: absolute; inset: 0; border: 0; border-radius: 0; background: none; }
.cat-tile img { width: 100%; height: 100%; object-fit: cover; opacity: .85; transition: transform .5s; }
.cat-tile:hover img { transform: scale(1.06); }
.cat-tile::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to top, rgba(11,10,12,.9), rgba(11,10,12,.05) 70%); }
.cat-tile b { position: absolute; left: 14px; right: 14px; bottom: 30px; z-index: 2; font-family: var(--display); font-weight: 800; font-size: 24px; line-height: .92; text-transform: uppercase; }
.cat-tile span { position: absolute; left: 14px; bottom: 12px; z-index: 2; font-family: var(--mono); font-size: 9.5px; letter-spacing: .14em; text-transform: uppercase; color: rgba(237,232,225,.7); margin: 0; }

/* ================= deal card ================= */
.rail { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(230px, 1fr); gap: 0; overflow-x: auto; scroll-snap-type: x mandatory; padding: 0; scrollbar-width: none; border-left: 1px solid var(--line); }
.rail::-webkit-scrollbar { display: none; }
.rail.cols-6 { grid-auto-columns: calc(100% / 5); }
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 0; border-left: 1px solid var(--line); border-top: 1px solid var(--line); }
.deal {
    position: relative; display: flex; flex-direction: column; background: transparent;
    border: 0; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); border-radius: 0;
    transition: background .2s;
}
.rail .deal { border-top: 1px solid var(--line); }
.deal:hover { background: var(--surface); box-shadow: none; transform: none; border-color: var(--line); }
.deal .media { position: relative; aspect-ratio: 4 / 5; background: var(--img-bg); overflow: hidden; }
.deal .media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.deal:hover .media img { transform: scale(1.045); }
.deal .badges { top: 12px; left: 12px; gap: 4px; }
.deal .add { top: 10px; right: 10px; width: 36px; height: 36px; border-radius: 0; background: rgba(11,10,12,.55); color: #EDE8E1; border: 1px solid rgba(237,232,225,.35); box-shadow: none; backdrop-filter: blur(6px); }
.deal .add:hover { transform: none; border-color: #EDE8E1; }
.deal .add.in { background: var(--accent); color: var(--on-accent); border-color: var(--accent); }
.deal .add svg { width: 17px; height: 17px; }
.deal .spon { bottom: 10px; left: 12px; }
.deal .body { padding: 14px 16px 18px; gap: 8px; }
.stars { font-family: var(--mono); font-size: 10.5px; font-weight: 400; color: var(--ink-3); letter-spacing: .04em; gap: 4px; }
.stars svg { width: 11px; height: 11px; color: var(--ink-2); }
.stars span { color: var(--ink-3); }
.deal .title { font-size: 15px; font-weight: 600; line-height: 1.3; min-height: 2.6em; }
.price-row { gap: 10px; align-items: baseline; }
.price-row b { font-family: var(--display); font-weight: 800; font-size: 30px; line-height: 1; letter-spacing: 0; }
.price-row s { font-family: var(--mono); font-size: 11px; color: var(--ink-3); }
.save { font-family: var(--mono); font-size: 10.5px; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; color: var(--accent-ink); }
.deal .foot { font-family: var(--mono); font-size: 10px; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); min-height: 14px; }
.deal .foot .ends { color: var(--warn); font-weight: 500; }
.deal .foot .offers { color: var(--ink); font-weight: 500; }

/* spotlight */
.spotlight { margin: 0 calc(50% - 50vw); display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 40px; padding: 72px 40px; background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); color: var(--ink); border-radius: 0; }
.spotlight::before { display: none; }
.spotlight .k { font-family: var(--mono); font-size: 10.5px; letter-spacing: .16em; text-transform: uppercase; color: var(--accent-ink); }
.spotlight h3 { margin: 14px 0 10px; font-family: var(--display); font-weight: 900; font-size: clamp(56px, 8vw, 130px); line-height: .8; text-transform: uppercase; }
.spotlight p { margin: 0; color: var(--ink-3); font-size: 15px; }
.spotlight .thumbs { display: flex; gap: 2px; }
.spotlight .thumbs img { width: 150px; height: 190px; object-fit: cover; border: 0; border-radius: 0; }
.retailers { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 0; border-left: 1px solid var(--line); border-top: 1px solid var(--line); }
.retailers a { height: 74px; border-radius: 0; border: 0; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); background: transparent; padding: 0 18px; display: flex; align-items: center; justify-content: space-between; font-family: var(--display); font-weight: 800; font-size: 24px; text-transform: uppercase; }
.retailers a:hover { background: var(--surface); }
.retailers .mono { display: none; }
.retailers small { font-family: var(--mono); font-size: 10.5px; font-weight: 400; letter-spacing: .12em; color: var(--ink-3); }

/* ================= search page ================= */
.results-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; flex-wrap: wrap; margin: 56px 0 22px; padding-bottom: 20px; border-bottom: 1px solid var(--line); }
.results-head h1 { margin: 8px 0 0; font-family: var(--display); font-weight: 900; font-size: clamp(48px, 7vw, 104px); line-height: .82; text-transform: uppercase; letter-spacing: -.005em; }
.results-head .count { font-family: var(--mono); font-size: 10.5px; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-3); margin-top: 14px; }
.notice { border-radius: 0; background: transparent; border: 1px solid var(--line-2); color: var(--ink-2); font-size: 14px; }
.notice svg { color: var(--accent-ink); }
.search-layout { grid-template-columns: 240px 1fr; gap: 36px; }
.filters { gap: 26px; }
.filters h4 { font-family: var(--mono); font-size: 10px; font-weight: 500; letter-spacing: .16em; color: var(--ink-3); margin: 0 0 10px; padding-bottom: 8px; border-bottom: 1px solid var(--line); }
.f-opt { border-radius: 0; font-size: 14px; padding: 6px 4px; color: var(--ink-2); }
.f-opt:hover { background: transparent; color: var(--ink); }
.f-opt.on { color: var(--ink); font-weight: 700; }
.f-opt input { accent-color: var(--accent); }
.f-opt .n { font-family: var(--mono); font-size: 10.5px; color: var(--ink-3); }
.f-more { font-family: var(--mono); font-size: 10px; letter-spacing: .14em; text-transform: uppercase; color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.price-inputs .input { height: 36px; }
.toggle-row { font-size: 14px; color: var(--ink-2); padding: 6px 0; }
.sort { height: 38px; font-family: var(--mono); font-size: 10.5px; letter-spacing: .12em; text-transform: uppercase; border-radius: 0; min-width: 210px; }
.empty .art { border-radius: 0; background: transparent; border: 1px solid var(--line-2); color: var(--ink); }
.empty h2 { font-family: var(--display); font-weight: 900; font-size: 56px; text-transform: uppercase; line-height: .9; }
.sponsored-strip { border-radius: 0; background: var(--surface); border: 1px solid var(--line); padding: 16px; margin-bottom: 22px; }
.sponsored-strip .lbl { font-family: var(--mono); font-size: 10px; letter-spacing: .16em; color: var(--ink-3); margin: 0 0 12px; }
.sponsored-strip .grid { border-left: 1px solid var(--line); }

/* ================= deal page ================= */
.crumbs { font-family: var(--mono); font-size: 10.5px; letter-spacing: .14em; text-transform: uppercase; margin: 36px 0 18px; }
.from-video { border-radius: 0; background: var(--surface); border: 1px solid var(--line); color: var(--ink); margin-top: 28px; }
.from-video .ic { border-radius: 0; background: var(--accent); color: var(--on-accent); }
.from-video b { font-family: var(--display); font-weight: 800; font-size: 26px; text-transform: uppercase; line-height: 1; }
.from-video span { color: var(--ink-3); }
.from-video .chip { background: transparent; border-color: var(--line-2); color: var(--ink); }
.pdp { gap: 48px; }
.gallery .main { border-radius: 0; background: var(--img-bg); border: 1px solid var(--line); }
.gallery .main img { object-fit: cover; }
.gallery .thumbs button { border-radius: 0; border: 1px solid var(--line); background: var(--img-bg); }
.gallery .thumbs button.on { border-color: var(--ink); }
.info .sold { gap: 14px; }
.info h1 { font-family: var(--display); font-weight: 900; font-size: clamp(48px, 5.5vw, 92px); line-height: .84; text-transform: uppercase; letter-spacing: -.005em; margin: 6px 0 14px; }
.info .brandline { font-family: var(--mono); font-size: 10.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-3); }
.info .brandline a { color: var(--ink); font-weight: 500; }
.price-box { border-radius: 0; background: transparent; border: 1px solid var(--line); padding: 0; margin: 22px 0; }
.price-box .now { padding: 22px 22px 18px; gap: 16px; border-bottom: 1px solid var(--line); }
.price-box .now b { font-family: var(--display); font-weight: 800; font-size: 76px; line-height: .85; letter-spacing: 0; }
.price-box .now s { font-family: var(--mono); font-size: 13px; color: var(--ink-3); }
.price-box .savepill { border-radius: 0; background: var(--accent); color: var(--on-accent); font-family: var(--mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; font-weight: 500; padding: 6px 9px; }
.price-box .label { padding: 14px 22px 0; margin-top: 0; }
.price-box .promo-code, .price-box .facts { margin-left: 22px; margin-right: 22px; }
.price-box .facts { margin-top: 16px; margin-bottom: 20px; }
.fact { font-family: var(--mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-2); }
.fact svg { color: var(--ink-3); width: 16px; height: 16px; }
.fact .stock-dot { border-radius: 0; background: var(--good); }
.fact .stock-dot.low { background: var(--warn); } .fact .stock-dot.out { background: var(--bad); }
.countdown { color: var(--accent-ink); font-weight: 500; }
.promo-code { border-radius: 0; border: 1px dashed var(--line-2); background: transparent; margin-top: 16px; }
.promo-code code { font-family: var(--mono); color: var(--accent-ink); font-size: 16px; letter-spacing: .16em; }
.cta { gap: 0; }
.cta .btn-lg { height: 62px; white-space: normal; line-height: 1.35; }
.cta .btn-ghost { border-left: 0; }
.handoff { font-size: 12.5px; color: var(--ink-3); }
.ask-btn { border-radius: 0; height: auto; min-height: 58px; padding-block: 10px; margin-top: 16px; white-space: normal; line-height: 1.35; text-align: left; }
.ask-btn .spark { border-radius: 0; background: var(--accent); color: var(--on-accent); }
.compare { border-radius: 0; background: transparent; border: 1px solid var(--line); }
.compare h3 { font-family: var(--mono); font-size: 10.5px; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-3); }
.compare-row { border-color: var(--line); }
.compare-row.me { background: var(--surface); }
.compare-row b { font-family: var(--display); font-weight: 800; font-size: 26px; }
.details { margin-top: 72px; }
.details h3 { font-family: var(--mono); font-size: 10.5px; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 16px; }
.details p { color: var(--ink-2); font-size: 17px; line-height: 1.7; }
.spec { border-color: var(--line); grid-template-columns: 150px 1fr; }
.spec div { border-color: var(--line); font-size: 14px; }
.spec div:nth-child(odd) { font-family: var(--mono); font-size: 10.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); padding-top: 12px; }

/* ================= basket drawer ================= */
.scrim { background: rgba(0,0,0,.55); }
.drawer { background: var(--bg); border-left: 1px solid var(--line-2); box-shadow: var(--shadow-3); }
.drawer-head { border-color: var(--line); }
.drawer-head h2 { font-family: var(--display); font-weight: 900; font-size: 44px; text-transform: uppercase; line-height: .9; }
.drawer-foot { border-color: var(--line); }
.b-group-head { border-bottom: 1px solid var(--line); padding-bottom: 8px; }
.b-group-head .muted { font-family: var(--mono); font-size: 10.5px; letter-spacing: .1em; }
.b-item { border-color: var(--line); }
.b-item img { border-radius: 0; background: var(--img-bg); }
.b-item .p { font-family: var(--display); font-weight: 800; font-size: 22px; }
.b-item .p s { font-family: var(--mono); font-size: 10.5px; font-weight: 400; }
.b-item .rm { font-family: var(--mono); font-size: 10px; letter-spacing: .12em; text-transform: uppercase; }
.totals { font-family: var(--mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; align-items: baseline; }
.totals b { font-family: var(--display); font-weight: 800; font-size: 40px; letter-spacing: 0; }
.totals.save { color: var(--accent-ink); }
.b-note { font-size: 12.5px; }

/* ================= footer ================= */
.site-footer { background: var(--bg); color: var(--ink-3); border-top: 1px solid var(--line); padding: 30px 40px; font-family: var(--mono); font-size: 10.5px; letter-spacing: .14em; text-transform: uppercase; line-height: 1.9; }
.site-footer .in { max-width: none; }
.site-footer b { color: var(--ink); font-weight: 500; }
.site-footer a:hover { color: var(--ink); }
.site-footer .disclaimer { max-width: 980px; margin: 22px 0 0; padding-top: 18px; border-top: 1px solid var(--line); font-family: var(--font);
    font-size: 12.5px; line-height: 1.65; letter-spacing: 0; text-transform: none; color: var(--ink-3); }
.site-footer .disclaimer a { color: var(--ink-2); text-decoration: underline; }
.price-note { display: flex; gap: 8px; align-items: flex-start; margin-top: 8px; font-size: 12.5px; line-height: 1.5; color: var(--ink-3); }
.price-note svg { width: 15px; height: 15px; flex: 0 0 auto; margin-top: 2px; }
.price-note a { color: var(--ink-2); text-decoration: underline; }

/* ================= responsive ================= */
@media (max-width: 1100px) {
    .rail.cols-6 { grid-auto-columns: minmax(230px, 1fr); }
    .hud-bar { grid-template-columns: repeat(2, 1fr); }
    .hud-bar > div:nth-child(2) { border-right: 0; }
    .hud-bar > div:nth-child(3) { padding-left: 0; }
    .nm-hud { grid-template-columns: 150px minmax(0, 1.4fr) minmax(0, 1fr) 200px; }
    .nm-hud > .save-cell { display: none; }
    .hdr-row { padding: 12px 24px; gap: 18px; }
    .cta { grid-template-columns: 1fr; }
    .cta .btn-ghost { border-left: 1px solid var(--line-2); border-top: 0; }
}
@media (max-width: 900px) {
    :root { --header-h: 150px; }
    .hdr-row { flex-wrap: wrap; gap: 10px 14px; padding: 12px 18px; }
    .search { order: 3; flex-basis: 100%; max-width: none; }
    .hdr-actions { margin-left: auto; gap: 8px; }
    .hdr-actions .sell { display: none; }
    .catnav { padding: 0 18px 10px; }
    main { padding: 0 18px 80px; }
    .nm-hero { height: 78vh; min-height: 520px; }
    .nm-title { left: 18px; right: 18px; bottom: 168px; }
    .nm-slide.pack > img { left: 18px; right: auto; top: 18px; width: calc(100% - 36px); height: 42%; padding: 14px; }   /* an img ignores `right` when width is auto */
    .nm-slide.pack .nm-title { right: 18px; max-width: none; font-size: clamp(34px, 9vw, 64px); -webkit-line-clamp: 3; }
    .nm-hud { height: auto; grid-template-columns: 1fr 1fr; }
    .nm-hud > div, .nm-hud > a { padding: 12px 18px; min-height: 60px; border-bottom: 1px solid rgba(237,232,225,.22); }
    .nm-hud > div:first-child { padding-left: 18px; }
    .nm-hud > .name-cell { display: none; }
    .nm-hud a.cta { grid-column: 1 / -1; padding: 0 18px; }
    .nm-spon { right: 18px; }
    .hud-bar { padding: 0 18px; }
    .spotlight { grid-template-columns: 1fr; padding: 48px 18px; }
    .search-layout { grid-template-columns: minmax(0, 1fr); }   /* not 1fr: that lets a nowrap child widen the page */
    .filters { background: var(--bg); border-radius: 0; border-top: 1px solid var(--line-2); }
    .pdp { grid-template-columns: minmax(0, 1fr); gap: 20px; }
    .details { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
    .logo-text span { display: none; }
    .basket-btn > span:not(.count-badge) { display: none; }
    .basket-btn { padding: 0 10px; }
    .promo-bar { font-size: 9px; letter-spacing: .1em; padding: 7px 12px; }
    .theme-toggle button span { display: none; }
    .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .rail { grid-auto-columns: 62%; }
    .deal .body { padding: 10px 11px 14px; }
    .price-row b { font-size: 24px; }
    .deal .title { font-size: 13.5px; }
    .posters { grid-auto-columns: 78%; }
    .cat-row { grid-auto-columns: 138px; }
    .section { margin-top: 64px; }
    .hud-bar b { font-size: 30px; }
    .price-box .now b { font-size: 60px; }
    .results-head > div:last-child { width: 100%; }   /* Filters + Sort get a full-width row */
    .sort { min-width: 0; flex: 1 1 auto; }
}
