/* DebzGaming: one stylesheet for every page. Flat, dense retail styling: no glows, no gradient text. */
:root {
  --bg: #0e0f11;
  --bg-2: #121316;
  --panel: #17191c;
  --panel-2: #1f2226;
  --line: #2a2e33;
  --ink: #ffffff;
  --text: #c8ccd2;
  --muted: #8a9099;
  /* Taken from the DebzGaming logo: its indigo for buttons, its cyan for small highlights. */
  --brand: #5a67f2;
  --brand-dark: #4553e0;
  --brand-2: #25c5eb;
  --brand-text: #8b95f8;   /* the brand colour, light enough for small text on dark backgrounds */
  --deal: #ffd400;
  --hot: #ff3b3b;
  --good: #22c55e;
  --warn: #f59e0b;
  --radius: 10px;
  --edge: clamp(1rem, 3vw, 3rem);
  --wrap: min(1480px, calc(100vw - 2 * var(--edge)));
  --sans: "Barlow", system-ui, -apple-system, "Segoe UI", sans-serif;
  --display: "Barlow Condensed", "Barlow", system-ui, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--text); font: 400 16px/1.55 var(--sans); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
[hidden] { display: none !important; } /* layout rules (display: grid, flex) must never un-hide an element */
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { color: var(--ink); font-family: var(--display); line-height: 1.05; margin: 0 0 .5em; font-weight: 700; }
h1 { font-size: clamp(2.4rem, 5vw, 4.2rem); text-transform: uppercase; letter-spacing: .005em; }
h2 { font-size: clamp(1.6rem, 2.8vw, 2.3rem); text-transform: uppercase; }
h3 { font-size: 1.2rem; }
p { margin: 0 0 1em; }
.wrap { width: var(--wrap); margin: 0 auto; }
.grad { color: var(--brand); }
.eyebrow { display: inline-block; font: 700 .8rem/1 var(--sans); text-transform: uppercase; letter-spacing: .06em; color: var(--brand-text); margin-bottom: .6rem; }
.lead { font-size: 1.1rem; max-width: 62ch; }
.muted { color: var(--muted); }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 1rem; top: 1rem; z-index: 99; background: var(--brand); color: #fff; padding: .5rem 1rem; border-radius: 8px; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; padding: .8rem 1.35rem; border-radius: 8px; border: 1px solid transparent; background: var(--brand); color: #fff; font: 700 .95rem/1 var(--sans); cursor: pointer; transition: background .15s, transform .15s; }
.btn:hover { background: var(--brand-dark); }
.btn:active { transform: translateY(1px); }
.btn:disabled { opacity: .5; cursor: not-allowed; }
.btn-line { background: transparent; border-color: #3a3f46; color: var(--ink); }
.btn-line:hover { background: var(--panel-2); border-color: #4b515a; }
.btn-cyan, .btn-deal { background: var(--deal); color: #111; }
.btn-cyan:hover, .btn-deal:hover { background: #ffe14d; }
.btn-white { background: #fff; color: #111; }
.btn-white:hover { background: #e9ebee; }
.btn-sm { padding: .55rem .9rem; font-size: .85rem; }
.btn-block { width: 100%; }

/* Brand logos: one colour, from the files in assets/brands, or a wordmark when there is no logo file */
.logo-mask { display: inline-block; height: var(--h, 18px); aspect-ratio: var(--ar, 4); background: currentColor; -webkit-mask-position: left center; mask-position: left center; -webkit-mask-size: contain; mask-size: contain; -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat; }
.brand-tile .logo-mask, .footer-brands .logo-mask { -webkit-mask-position: center; mask-position: center; }
.brand-combo { display: inline-flex; align-items: center; gap: .4em; }
.brand-combo .logo-mask { height: calc(var(--h, 18px) * 1.15); }
.wordmark { display: inline-block; font: 800 var(--fs, .9rem)/1 var(--display); letter-spacing: .04em; text-transform: uppercase; white-space: nowrap; }

/* Top bar + header */
.topbar { background: #08090a; border-bottom: 1px solid var(--line); color: var(--muted); font-size: .82rem; }
.topbar .wrap { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: .45rem 0; }
.topbar span, .topbar a { display: inline-flex; align-items: center; gap: .4rem; white-space: nowrap; }
.topbar svg { width: 15px; height: 15px; color: var(--brand); flex: none; }
.topbar a:hover { color: var(--ink); }
.topbar .promise { color: var(--deal); font-weight: 600; min-width: 0; }
.topbar .promise svg { color: var(--deal); }
.site-header { position: sticky; top: 0; z-index: 50; background: #121316; border-bottom: 1px solid var(--line); }
.header-main { display: flex; align-items: center; gap: 1.5rem; height: 74px; }
.logo { display: flex; align-items: center; gap: .55rem; font: 800 1.55rem/1 var(--display); color: var(--ink); white-space: nowrap; text-transform: uppercase; letter-spacing: .01em; }
.logo-mark { width: 38px; height: 38px; border-radius: 8px; display: grid; place-items: center; background: var(--brand); }
.logo-mark svg { width: 24px; height: 24px; color: #fff; }
.logo b { color: var(--brand); font-weight: 800; }
.logo img { height: 52px; width: auto; }
.site-footer .logo img { height: 60px; }
.header-search { flex: 1; max-width: 760px; margin: 0 auto; position: relative; display: flex; }
.header-search input { flex: 1; min-width: 0; height: 46px; padding: 0 7rem 0 2.8rem; border-radius: 8px; border: 1px solid #33373d; background: #1b1d21; color: var(--ink); font: inherit; font-size: .98rem; }
.header-search input::placeholder { color: #7b818a; }
.header-search input:focus { outline: none; border-color: var(--brand); background: #1f2226; }
.header-search > svg { position: absolute; left: .95rem; top: 50%; transform: translateY(-50%); width: 19px; color: var(--muted); pointer-events: none; }
.header-search .btn { position: absolute; right: 4px; top: 4px; height: 38px; }
.help-link { display: flex; align-items: center; gap: .6rem; font-size: .9rem; color: var(--ink); white-space: nowrap; font-weight: 600; }
.help-link svg { width: 26px; height: 26px; color: #25d366; }
.help-link small, .cart-label small { display: block; font-size: .74rem; color: var(--muted); line-height: 1.2; font-weight: 400; }
.cart-btn { display: flex; align-items: center; gap: .7rem; padding: .4rem .9rem .4rem .45rem; border-radius: 8px; background: #1b1d21; border: 1px solid #33373d; color: var(--ink); white-space: nowrap; }
.cart-btn:hover { border-color: var(--brand); }
.cart-icon { position: relative; width: 38px; height: 38px; border-radius: 6px; display: grid; place-items: center; background: var(--brand); }
.cart-icon svg { width: 20px; height: 20px; }
.cart-total { font-weight: 700; font-size: 1rem; }
.cart-count { position: absolute; top: -7px; right: -7px; min-width: 20px; height: 20px; padding: 0 5px; border-radius: 10px; background: var(--deal); color: #111; font: 800 .72rem/20px var(--sans); text-align: center; }
.cart-count:empty, .cart-count[data-n="0"] { display: none; }
.mobile-search { display: none; }

/* Search suggestions */
.suggest { position: absolute; left: 0; right: 0; top: calc(100% + 6px); z-index: 70; background: #17191c; border: 1px solid #33373d; border-radius: 10px; box-shadow: 0 24px 50px -12px rgba(0, 0, 0, .8); overflow: hidden; max-height: min(70vh, 560px); overflow-y: auto; }
.suggest-chips { display: flex; flex-wrap: wrap; gap: .4rem; padding: .7rem; border-bottom: 1px solid var(--line); }
.suggest .chip { display: inline-flex; align-items: center; height: 32px; padding: 0 .75rem; border-radius: 6px; background: var(--panel-2); border: 1px solid var(--line); font-size: .85rem; font-weight: 600; color: #d6d9de; }
.suggest .chip:hover { border-color: var(--brand); color: #fff; }
.suggest .chip .logo-mask { --h: 13px; }
.suggest .chip .wordmark { --fs: .8rem; }
.suggest-item { display: grid; grid-template-columns: 52px 1fr auto; gap: .8rem; align-items: center; padding: .55rem .7rem; border-bottom: 1px solid #22252a; }
.suggest-item:hover { background: var(--panel-2); }
.suggest-item .thumb { width: 52px; height: 52px; border-radius: 6px; background: #fff; display: grid; place-items: center; padding: 4px; }
.suggest-item .thumb img { width: 100%; height: 100%; object-fit: contain; }
.suggest-item .thumb svg { width: 60%; color: #9aa1aa; }
.suggest-item .info { display: grid; gap: .1rem; min-width: 0; }
.suggest-item .name { font-size: .88rem; color: #e6e8eb; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.suggest-item .stock { font-size: .74rem; }
.suggest-item .price { font: 700 1.1rem var(--display); color: #fff; white-space: nowrap; }
.suggest-all { width: 100%; padding: .75rem; background: none; border: 0; color: var(--brand-2); font: 600 .88rem var(--sans); cursor: pointer; text-align: center; }
.suggest-all:hover { background: var(--panel-2); }
.suggest-empty { padding: 1rem; color: var(--muted); font-size: .9rem; }
.catbar { border-top: 1px solid var(--line); background: #0e0f11; }
.catbar .wrap { display: flex; gap: 0; overflow-x: auto; scrollbar-width: none; }
.catbar .wrap::-webkit-scrollbar { display: none; }
.catbar a { display: flex; align-items: center; gap: .4rem; padding: .7rem .8rem; white-space: nowrap; font-size: .9rem; font-weight: 600; color: var(--text); border-bottom: 3px solid transparent; }
.catbar a svg { width: 17px; height: 17px; color: var(--muted); }
.catbar a:hover, .catbar a.on { color: var(--ink); border-color: var(--brand); }
.catbar a:hover svg, .catbar a.on svg { color: var(--brand); }
.catbar a.hot, .catbar a.hot svg { color: var(--deal); }
.catbar a.amber, .catbar a.amber svg { color: var(--warn); }
.catbar a.community, .catbar a.community svg { color: #6ee7b7; }

/* Product cards */
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: .9rem; }
.card { position: relative; display: flex; flex-direction: column; border-radius: var(--radius); background: var(--panel); border: 1px solid var(--line); overflow: hidden; transition: border-color .15s; }
.card:hover { border-color: #444a52; }
.card .thumb { position: relative; aspect-ratio: 1; background: #fff; display: grid; place-items: center; padding: 1.2rem; overflow: hidden; }
.card .thumb img { width: 100%; height: 100%; object-fit: contain; transition: transform .3s ease; }
.card:hover .thumb img { transform: scale(1.04); }
.card .thumb svg { width: 46%; color: #9aa1aa; }
.card .body { display: flex; flex-direction: column; gap: .3rem; padding: .85rem .95rem .95rem; flex: 1; }
.card .brand { color: #9aa1aa; height: 16px; display: flex; align-items: center; }
.card .brand .logo-mask { --h: 14px; }
.card .brand .wordmark { --fs: .8rem; }
.card h3 { font-family: var(--sans); font-size: .92rem; font-weight: 500; line-height: 1.38; margin: .15rem 0 .1rem; color: #e6e8eb; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 2.76em; }
.card h3 a:hover { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.card .pricing { display: flex; align-items: center; gap: .5rem; flex-wrap: wrap; margin-top: auto; padding-top: .45rem; }
.price { font: 700 1.45rem/1 var(--display); color: var(--ink); letter-spacing: .01em; }
.card .pricing .price { font-size: 1.5rem; }
.was { font-size: .82rem; color: var(--muted); text-decoration: line-through; margin-left: .4rem; font-family: var(--sans); font-weight: 400; }
.save-chip { font-size: .74rem; font-weight: 700; color: #111; background: var(--deal); padding: .18rem .45rem; border-radius: 4px; white-space: nowrap; }
.beat-chip { font-size: .72rem; font-weight: 700; color: #6ee7b7; border: 1px solid rgba(110, 231, 183, .4); padding: .14rem .4rem; border-radius: 4px; white-space: nowrap; }
.card .rrp { font-size: .78rem; color: var(--muted); min-height: 1.1em; }
.card .rrp s { color: #7b818a; }
.btn-add { margin-top: .65rem; width: 100%; height: 40px; display: flex; align-items: center; justify-content: center; gap: .5rem; border-radius: 7px; border: 0; background: var(--brand); color: #fff; font: 700 .88rem var(--sans); cursor: pointer; transition: background .15s; }
.btn-add svg { width: 17px; height: 17px; }
.btn-add:hover { background: var(--brand-dark); }
.btn-add:disabled { background: #2a2e33; color: var(--muted); cursor: not-allowed; }
.badge { position: absolute; top: .6rem; left: .6rem; z-index: 2; font: 800 .74rem/1 var(--sans); text-transform: uppercase; letter-spacing: .02em; padding: .38rem .5rem; border-radius: 4px; background: var(--hot); color: #fff; }
.badge-open { background: var(--warn); color: #111; }
.badge-new { background: var(--brand); color: #fff; }
.badge-beat { background: var(--deal); color: #111; }
.stock { font-size: .8rem; display: inline-flex; align-items: center; gap: .35rem; font-weight: 500; }
.stock::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: currentColor; }
.stock.in { color: var(--good); }
.stock.low { color: var(--warn); }
.stock.out { color: var(--hot); }

/* Sections */
section.block { padding: clamp(2rem, 4vw, 3.2rem) 0; }
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 1rem; margin-bottom: 1.2rem; flex-wrap: wrap; }
.section-head h2 { margin: 0; }
.section-head p { margin: .4rem 0 0; color: var(--muted); max-width: 64ch; }

/* Home: banner carousel */
.hero2 { padding: 1rem 0 .5rem; }
.carousel { position: relative; border-radius: 12px; overflow: hidden; border: 1px solid var(--line); background: var(--panel); }
.slides { display: grid; }
.slide { grid-area: 1 / 1; display: grid; grid-template-columns: 1fr 1fr; min-height: 400px; opacity: 0; visibility: hidden; transition: opacity .5s, visibility .5s; }
.slide.on { opacity: 1; visibility: visible; }
.slide .copy { padding: clamp(1.5rem, 4vw, 3.5rem); display: flex; flex-direction: column; justify-content: center; align-items: flex-start; }
.slide .copy h1, .slide .copy h2 { font-size: clamp(2.2rem, 4.6vw, 4rem); text-transform: uppercase; margin-bottom: .3em; }
.slide .copy p { font-size: 1.08rem; max-width: 46ch; margin-bottom: 1.4rem; }
.slide .tagline { font: 700 .85rem/1 var(--sans); text-transform: uppercase; letter-spacing: .06em; padding: .45rem .65rem; border-radius: 4px; margin-bottom: 1rem; background: var(--deal); color: #111; }
.slide .tagline.blue { background: var(--brand); color: #fff; }
.slide .tagline.amber { background: var(--warn); color: #111; }
.slide .stage { background: #fff; position: relative; overflow: hidden; }
.slide .stage img { position: absolute; inset: 1.5rem; width: calc(100% - 3rem); height: calc(100% - 3rem); object-fit: contain; }
.slide .stage .price-flag { position: absolute; left: 1.2rem; bottom: 1.2rem; background: #111; color: #fff; padding: .7rem .9rem; border-radius: 8px; max-width: 70%; }
.slide .stage .price-flag strong { display: block; font-size: .85rem; font-weight: 600; line-height: 1.3; margin-bottom: .3rem; color: #e6e8eb; }
.slide .stage .price-flag .price { font-size: 1.7rem; }
.slide .stage .price-flag .was { color: #9aa1aa; }
.dots { position: absolute; left: clamp(1.5rem, 4vw, 3.5rem); bottom: 1.1rem; display: flex; gap: .4rem; z-index: 3; }
.dots button { width: 28px; height: 5px; border-radius: 3px; border: 0; background: #3a3f46; cursor: pointer; padding: 0; }
.dots button.on { background: var(--brand); }

/* Home: category circles */
.cat-circles { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(104px, 1fr); gap: .6rem; overflow-x: auto; scrollbar-width: none; padding: .3rem 0 .4rem; }
.cat-circles::-webkit-scrollbar { display: none; }
.cat-circle { display: flex; flex-direction: column; align-items: center; gap: .5rem; text-align: center; padding: .4rem .2rem; border-radius: 10px; }
.cat-circle .pic { width: 88px; height: 88px; border-radius: 50%; background: #fff; display: grid; place-items: center; overflow: hidden; border: 3px solid var(--panel-2); transition: border-color .15s; }
.cat-circle .pic img { width: 72%; height: 72%; object-fit: contain; }
.cat-circle .pic svg { width: 40px; color: #9aa1aa; }
.cat-circle:hover .pic { border-color: var(--brand); }
.cat-circle strong { font-size: .84rem; font-weight: 600; color: var(--ink); line-height: 1.2; }
.cat-circle span { font-size: .74rem; color: var(--muted); margin-top: -.3rem; }

/* Home: three promo cards */
.promo-trio { display: grid; grid-template-columns: repeat(3, 1fr); gap: .9rem; }
.promo { display: grid; grid-template-columns: 1fr 44%; border-radius: 12px; overflow: hidden; border: 1px solid var(--line); background: var(--panel); min-height: 190px; transition: border-color .15s; }
.promo:hover { border-color: #4b515a; }
.promo .copy { padding: 1.3rem 1.4rem; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; }
.promo h3 { font-size: 1.7rem; text-transform: uppercase; margin: 0 0 .35rem; }
.promo p { font-size: .9rem; color: var(--muted); margin: 0 0 .9rem; }
.promo .go { font-weight: 700; font-size: .9rem; color: var(--ink); border-bottom: 2px solid var(--brand); padding-bottom: 2px; }
.promo .pic { background: #fff; display: grid; place-items: center; padding: 1rem; position: relative; }
.promo .pic img { position: absolute; inset: 12%; width: 76%; height: 76%; object-fit: contain; }
.promo.amber .go { border-color: var(--warn); }
.promo.deal .go { border-color: var(--deal); }

/* Home: price-beat strip + product rows */
.rail-block { padding: 1.8rem 0; }
.rail-block .section-head { margin-bottom: 1rem; }
.rail-nav { display: flex; gap: .45rem; align-items: center; }
.rail-btn { width: 38px; height: 38px; border-radius: 8px; border: 1px solid #3a3f46; background: transparent; color: var(--ink); font-size: 1.3rem; line-height: 1; cursor: pointer; }
.rail-btn:hover { background: var(--panel-2); }
.rail { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 5 * .9rem) / 6); gap: .9rem; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding-bottom: .2rem; }
.rail::-webkit-scrollbar { display: none; }
.rail > .card { scroll-snap-align: start; }
.beat-strip { display: grid; grid-template-columns: 260px 1fr; gap: .9rem; }
.beat-strip .intro { border-radius: 12px; background: var(--deal); color: #111; padding: 1.5rem 1.4rem; display: flex; flex-direction: column; justify-content: space-between; }
.beat-strip .intro h2 { color: #111; font-size: 2.3rem; margin: 0 0 .5rem; }
.beat-strip .intro p { font-size: .95rem; margin: 0 0 1rem; color: #2b2b2b; }
.beat-strip .intro .btn { background: #111; color: #fff; align-self: flex-start; }
.beat-strip .intro .btn:hover { background: #333; }
.beat-strip .rail { grid-auto-columns: calc((100% - 4 * .9rem) / 5); }

/* Home: scrolling brand strip, live stats, brand spotlight */
.brand-strip { margin-top: 1rem; border-block: 1px solid var(--line); background: #0b0c0e; padding: 1rem 0; }
.marquee { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.marquee .track { display: flex; align-items: center; gap: 3rem; width: max-content; animation: marquee 70s linear infinite; }
.marquee:hover .track { animation-play-state: paused; }
.marquee a { color: #7d838c; display: flex; align-items: center; height: 30px; transition: color .15s; }
.marquee a:hover { color: #fff; }
.marquee .logo-mask { --h: 24px; -webkit-mask-position: center; mask-position: center; }
.marquee .brand-combo .logo-mask { --h: 22px; }
.marquee .wordmark { --fs: 1.15rem; }
@keyframes marquee { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) {
  .marquee { -webkit-mask-image: none; mask-image: none; }
  .marquee .track { animation: none; flex-wrap: wrap; width: auto; justify-content: center; gap: 1rem 2.4rem; padding: 0 1rem; }
  .marquee .dup { display: none; }
}
.stat-bar { display: grid; grid-template-columns: repeat(4, 1fr); gap: .6rem; margin-bottom: 1.2rem; }
.stat-bar div { padding: .8rem 1rem; border-radius: 10px; background: var(--panel); border: 1px solid var(--line); color: var(--muted); font-size: .88rem; display: flex; align-items: baseline; gap: .55rem; }
.stat-bar b { font: 800 1.6rem/1 var(--display); color: #fff; }
.stat-bar div:last-child b { color: var(--deal); }
.spotlight { display: grid; grid-template-columns: repeat(3, 1fr); gap: .9rem; }
.spot { display: flex; flex-direction: column; gap: 1rem; padding: 1.3rem; border-radius: 12px; background: var(--panel); border: 1px solid var(--line); }
.spot-head { display: flex; align-items: center; justify-content: space-between; gap: 1rem; color: #fff; min-height: 40px; }
.spot-head .logo-mask { --h: 34px; }
.spot-head .brand-combo .logo-mask { --h: 32px; }
.spot-head .wordmark { --fs: 1.6rem; }
.spot-head span:last-child { font-size: .85rem; color: var(--muted); white-space: nowrap; }
.spot-items { display: grid; grid-template-columns: repeat(3, 1fr); gap: .6rem; }
.spot-items a { display: flex; flex-direction: column; gap: .35rem; min-width: 0; }
.spot-items .pic { aspect-ratio: 1; border-radius: 8px; background: #fff; position: relative; transition: transform .2s; }
.spot-items a:hover .pic { transform: translateY(-2px); }
.spot-items .pic img { position: absolute; inset: 10%; width: 80%; height: 80%; object-fit: contain; }
.spot-items .nm { font-size: .78rem; color: #c8ccd2; line-height: 1.3; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.spot-items .price { font-size: 1.05rem; }
#brands { scroll-margin-top: 170px; }
.h-brand { display: inline-flex; vertical-align: -0.12em; margin-left: .3em; color: #fff; }
.h-brand .logo-mask { --h: .95em; }
.h-brand .wordmark { --fs: 1em; }

/* Home: brand wall */
.brand-wall { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: .6rem; }
.brand-tile { height: 78px; display: grid; place-items: center; border-radius: 10px; background: var(--panel); border: 1px solid var(--line); color: #aab0b8; transition: color .15s, border-color .15s, background .15s; position: relative; }
.brand-tile:hover { color: #fff; border-color: #4b515a; background: var(--panel-2); }
.brand-tile .logo-mask { --h: 26px; --ar: 3.6; }
.brand-tile .wordmark { --fs: 1.25rem; }
.brand-tile small { position: absolute; right: .55rem; bottom: .4rem; font-size: .7rem; color: var(--muted); }

/* Home: promises + community/news */
.promises { display: grid; grid-template-columns: repeat(4, 1fr); gap: .9rem; }
.promises div { padding: 1.3rem 1.3rem 1.2rem; border-radius: 12px; background: var(--panel); border: 1px solid var(--line); }
.promises svg { width: 30px; height: 30px; color: var(--brand); margin-bottom: .7rem; }
.promises h3 { font-size: 1.3rem; text-transform: uppercase; margin: 0 0 .3rem; }
.promises p { margin: 0; font-size: .92rem; color: var(--muted); }
.community { display: grid; grid-template-columns: 1fr 1.6fr; gap: .9rem; }
.community .join { border-radius: 12px; background: #11261d; border: 1px solid #1f4434; padding: 1.8rem; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; }
.community .join h2 { margin-bottom: .4rem; }
.community .join p { color: #b9d6c8; margin-bottom: 1.2rem; }
.community .join .btn { background: #22c55e; color: #052e16; }
.community .join .btn:hover { background: #4ade80; }
.posts { display: grid; grid-template-columns: repeat(3, 1fr); gap: .9rem; }
.post { display: flex; flex-direction: column; border-radius: 12px; background: var(--panel); border: 1px solid var(--line); overflow: hidden; transition: border-color .15s; }
.post:hover { border-color: #4b515a; }
.post .pic { aspect-ratio: 16 / 9; background: #fff; display: grid; place-items: center; padding: .8rem; }
.post .pic img { max-height: 100%; object-fit: contain; }
.post .pic.brand-pic { background: #121316; }
.post .pic.brand-pic img { height: 60%; }
.post .body { padding: .9rem 1rem 1rem; }
.post .meta { font-size: .76rem; color: var(--muted); text-transform: uppercase; letter-spacing: .04em; font-weight: 600; }
.post h3 { font-family: var(--sans); font-size: 1rem; font-weight: 700; line-height: 1.35; margin: .3rem 0 .4rem; }
.post p { font-size: .88rem; color: var(--muted); margin: 0; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }

/* PC builder */
.catbar a.builder, .catbar a.builder svg { color: var(--brand-2); }
.builder-hero { padding: 1.6rem 0 1.2rem; border-bottom: 1px solid var(--line); background: linear-gradient(180deg, #14161a, var(--bg)); }
.builder-hero h1 { font-size: clamp(2rem, 4vw, 3rem); margin: .2rem 0 .4rem; }
.builder-hero .lead { color: var(--muted); margin-bottom: 1rem; }
.builder-hero .quick { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem; }
.builder-hero .quick .label { font-weight: 700; color: var(--ink); margin-right: .2rem; }
.builder { display: grid; grid-template-columns: 1fr 380px; gap: 1.5rem; padding: 1.5rem 0 4rem; align-items: start; }
.slots-title { font-size: 1.2rem; margin: .4rem 0 .7rem; }
.slots-title small { font: 500 .8rem var(--sans); color: var(--muted); text-transform: none; }
.slots-title:not(:first-child) { margin-top: 1.6rem; }
.slot { display: grid; grid-template-columns: 52px 1fr auto; gap: 1rem; align-items: center; padding: .9rem 1rem; margin-bottom: .55rem; border-radius: 12px; background: var(--panel); border: 1px solid var(--line); transition: border-color .15s; }
.slot.filled { border-color: #343941; }
.slot.bad { border-color: rgba(255, 59, 59, .6); background: rgba(255, 59, 59, .05); }
.slot-icon { width: 52px; height: 52px; border-radius: 10px; display: grid; place-items: center; background: var(--panel-2); color: var(--brand-2); }
.slot-icon svg { width: 26px; height: 26px; }
.slot.filled .slot-icon { color: var(--good); }
.slot-label { font: 700 .82rem var(--sans); text-transform: uppercase; letter-spacing: .04em; color: var(--muted); margin-bottom: .3rem; }
.slot-label small { text-transform: none; letter-spacing: 0; font-weight: 500; color: #6b717a; }
.slot-empty { color: #7b818a; font-size: .9rem; }
.slot-pick { display: flex; gap: .8rem; align-items: center; min-width: 0; }
.slot-pick .thumb, .pick .thumb { flex: none; width: 60px; height: 60px; border-radius: 8px; background: #fff; display: grid; place-items: center; padding: 4px; }
.slot-pick .thumb img, .pick .thumb img { width: 100%; height: 100%; object-fit: contain; }
.slot-pick .thumb svg, .pick .thumb svg { width: 60%; color: #9aa1aa; }
.slot-pick .nm, .pick .nm { display: block; color: #fff; font-weight: 600; font-size: .95rem; line-height: 1.3; }
.slot-pick:hover .nm { text-decoration: underline; text-underline-offset: 3px; }
.chips { display: flex; flex-wrap: wrap; gap: .3rem; margin-top: .35rem; }
.chips .chip { font-size: .72rem; font-weight: 600; padding: .15rem .45rem; border-radius: 4px; background: var(--panel-2); border: 1px solid var(--line); color: #c8ccd2; }
.why { display: block; margin-top: .35rem; font-size: .82rem; font-weight: 600; color: #fca5a5; }
.slot-side { display: grid; justify-items: end; gap: .35rem; }
.slot-side .price { font-size: 1.3rem; }
.build-summary { position: sticky; top: 138px; padding: 1.4rem; border-radius: 14px; background: var(--panel); border: 1px solid var(--line); }
.build-summary h3 { font-size: 1.4rem; text-transform: uppercase; margin-bottom: .8rem; }
.sum-total { display: flex; justify-content: space-between; align-items: baseline; padding-bottom: .6rem; margin-bottom: .6rem; border-bottom: 1px solid var(--line); color: var(--muted); }
.sum-total strong { font: 800 2.1rem var(--display); color: #fff; }
.power { display: flex; gap: .7rem; align-items: center; margin: 1rem 0; padding: .8rem; border-radius: 10px; background: var(--bg-2); border: 1px solid var(--line); font-size: .9rem; }
.power svg { width: 28px; height: 28px; color: var(--deal); flex: none; }
.power strong { color: #fff; font-size: 1.05rem; }
.checks { list-style: none; margin: 0 0 1.1rem; padding: 0; display: grid; gap: .45rem; font-size: .88rem; }
.checks li { position: relative; padding-left: 1.6rem; line-height: 1.4; }
.checks li::before { position: absolute; left: 0; top: .05rem; width: 1.15rem; height: 1.15rem; border-radius: 50%; display: grid; place-items: center; font-size: .72rem; font-weight: 800; }
.checks li.ok::before { content: "\2713"; background: rgba(34, 197, 94, .18); color: #4ade80; }
.checks li.bad { color: #fecaca; }
.checks li.bad::before { content: "!"; background: rgba(255, 59, 59, .2); color: #fca5a5; }
.checks li.warn::before { content: "?"; background: rgba(245, 158, 11, .2); color: var(--warn); }
.checks li.todo { color: var(--muted); }
.checks li.todo::before { content: "\2026"; background: var(--panel-2); color: var(--muted); }
.sum-actions { display: flex; gap: .5rem; margin-top: .7rem; flex-wrap: wrap; }
.sum-actions .btn { flex: 1; }
.build-summary .note { font-size: .82rem; color: var(--muted); margin: .8rem 0 0; }
.build-summary .okline { color: #4ade80; }
.build-summary .warnline { color: #fca5a5; }
.picker { position: fixed; inset: 0; z-index: 90; background: rgba(0, 0, 0, .65); display: flex; justify-content: flex-end; }
.picker[hidden] { display: none; }
.picker-panel { width: min(720px, 100%); height: 100%; background: #121316; border-left: 1px solid var(--line); display: flex; flex-direction: column; animation: slide-in .2s ease; }
@keyframes slide-in { from { transform: translateX(40px); opacity: 0; } }
.picker-head { display: flex; justify-content: space-between; align-items: center; padding: 1.1rem 1.3rem; border-bottom: 1px solid var(--line); }
.picker-head h2 { margin: 0; font-size: 1.5rem; }
.icon-close { width: 40px; height: 40px; border-radius: 8px; border: 1px solid var(--line); background: var(--panel); color: #fff; font-size: 1.6rem; line-height: 1; cursor: pointer; }
.picker-tools { display: flex; flex-wrap: wrap; gap: .6rem; align-items: center; padding: .9rem 1.3rem; border-bottom: 1px solid var(--line); }
.picker-tools .field { width: auto; flex: 1; min-width: 180px; }
.picker-tools select.field { flex: 0 0 auto; }
.picker-note { padding: 0 1.3rem; font-size: .85rem; color: var(--muted); }
.picker-note:not(:empty) { padding: .7rem 1.3rem; border-bottom: 1px solid var(--line); }
.picker-list { overflow-y: auto; padding: .6rem .8rem 2rem; }
.pick { display: grid; grid-template-columns: 60px 1fr auto; gap: .9rem; align-items: center; padding: .7rem .6rem; border-bottom: 1px solid #1f2226; border-radius: 8px; }
.pick:hover { background: var(--panel); }
.pick.chosen { background: rgba(90, 103, 242, .1); }
.pick.no { opacity: .55; }
.pick .brand { color: #9aa1aa; display: block; height: 15px; margin-bottom: .2rem; }
.pick .brand .logo-mask { --h: 12px; }
.pick .brand .wordmark { --fs: .72rem; }
.pick .stock { margin-top: .3rem; }
.pick-side { display: grid; justify-items: end; gap: .4rem; }
.pick-side .price { font-size: 1.2rem; }
@media (max-width: 1000px) {
  .builder { grid-template-columns: 1fr; }
  .build-summary { position: static; }
}
@media (max-width: 640px) {
  .slot { grid-template-columns: 40px 1fr; padding: .8rem; }
  .slot-icon { width: 40px; height: 40px; }
  .slot-side { grid-column: 1 / -1; grid-auto-flow: column; justify-content: space-between; align-items: center; }
  .slot-pick .thumb { width: 48px; height: 48px; }
  .pick { grid-template-columns: 48px 1fr; }
  .pick .thumb { width: 48px; height: 48px; }
  .pick-side { grid-column: 1 / -1; grid-auto-flow: column; justify-content: space-between; align-items: center; }
}

/* Community page */
.comm-hero { padding: 1.8rem 0 1.6rem; border-bottom: 1px solid var(--line); background: radial-gradient(600px 220px at 85% 0, rgba(34, 197, 94, .14), transparent 70%), linear-gradient(180deg, #121a16, var(--bg)); }
.comm-hero h1 { font-size: clamp(2.1rem, 4.4vw, 3.4rem); margin: .2rem 0 .5rem; }
.comm-hero .lead { color: #c3d3ca; }
.comm { display: grid; grid-template-columns: 1fr 360px; gap: 1.2rem; padding: 1.5rem 0 4rem; align-items: start; }
.comm-card { padding: 1.3rem 1.4rem; border-radius: 14px; background: var(--panel); border: 1px solid var(--line); margin-bottom: 1.2rem; }
.comm-card h2 { font-size: 1.45rem; margin-bottom: .8rem; }
.threads { list-style: none; margin: 0; padding: 0; }
.threads li { display: grid; grid-template-columns: 1fr auto; gap: .2rem 1rem; padding: .85rem 0; border-bottom: 1px solid var(--line); }
.threads li:last-child { border-bottom: 0; }
.threads a strong { color: #fff; font-size: 1rem; }
.threads a:hover strong { text-decoration: underline; text-underline-offset: 3px; }
.threads .meta { grid-column: 1; display: flex; flex-wrap: wrap; gap: .35rem; align-items: center; font-size: .8rem; color: var(--muted); }
.threads .meta .chip { font-size: .7rem; padding: .1rem .4rem; border-radius: 4px; background: var(--panel-2); border: 1px solid var(--line); color: #c8ccd2; }
.threads .replies { grid-column: 2; grid-row: 1 / span 2; align-self: center; font-size: .82rem; color: var(--muted); white-space: nowrap; }
.soon { display: flex; gap: 1rem; align-items: flex-start; padding: 1.1rem; border-radius: 12px; background: #11261d; border: 1px solid #1f4434; }
.soon svg { width: 34px; height: 34px; color: #4ade80; flex: none; }
.soon strong { color: #fff; font-size: 1.05rem; }
.soon p { margin: .3rem 0 0; color: #b9d6c8; font-size: .92rem; }
.topics { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: .7rem; }
.topic { display: flex; flex-direction: column; gap: .3rem; padding: 1rem 1.05rem; border-radius: 12px; background: var(--bg-2); border: 1px solid var(--line); border-left: 4px solid var(--c); transition: background .15s, transform .15s; }
.topic:hover { background: var(--panel-2); transform: translateY(-2px); }
.topic strong { color: #fff; font-size: 1rem; }
.topic span { color: var(--muted); font-size: .86rem; }
.topic small { color: #9aa1aa; font-size: .76rem; margin-top: .2rem; }
.share-build { display: flex; align-items: center; justify-content: space-between; gap: 1.2rem; background: linear-gradient(120deg, #171a2e, var(--panel)); }
.share-build h2 { margin-bottom: .4rem; }
.share-build p { margin: 0; color: var(--muted); }
.rules { margin: 0; padding-left: 1.1rem; display: grid; gap: .55rem; font-size: .92rem; }
.rules strong { color: #fff; }
.team-posts { display: grid; gap: .5rem; }
.team-post { display: grid; gap: .15rem; padding: .7rem .8rem; border-radius: 10px; background: var(--bg-2); border: 1px solid var(--line); }
.team-post:hover { border-color: #4b515a; }
.team-post strong { color: #fff; font-size: .92rem; }
.team-post span { font-size: .78rem; color: var(--muted); }
.comm-hero-row { display: flex; justify-content: space-between; align-items: flex-start; gap: 1.5rem; }
.me-box { flex: none; }
.me { display: flex; align-items: center; gap: .8rem; padding: .7rem .9rem; border-radius: 12px; background: rgba(0, 0, 0, .3); border: 1px solid var(--line); font-size: .88rem; }
.me strong a { color: #fff; }
.me.guest { gap: .5rem; background: none; border: 0; padding: 0; }
.comm-search { display: flex; gap: .5rem; margin-top: 1.1rem; flex-wrap: wrap; }
.comm-search .field { flex: 1; min-width: 200px; max-width: 520px; }
.comm-search .btn:last-child { margin-left: auto; }
.avatar { flex: none; display: inline-grid; place-items: center; border-radius: 50%; font-weight: 800; color: #fff; background: hsl(var(--hue) 55% 42%); box-shadow: inset 0 0 0 2px hsl(var(--hue) 60% 55% / .5); }
.role { display: inline-block; font: 800 .66rem var(--sans); text-transform: uppercase; letter-spacing: .04em; padding: .12rem .38rem; border-radius: 4px; vertical-align: middle; }
.role.team { background: var(--brand); color: #fff; }
.role.mod { background: #22c55e; color: #052e16; }
.thread-row { display: grid; grid-template-columns: 40px 1fr auto; gap: .9rem; align-items: center; padding: .85rem .6rem; border-bottom: 1px solid var(--line); border-radius: 8px; }
.thread-row:last-of-type { border-bottom: 0; }
.thread-row:hover { background: var(--panel-2); }
.thread-row.is-hidden { opacity: .55; }
.tr-title { color: #fff; font-weight: 600; font-size: 1rem; line-height: 1.35; }
.tr-meta { display: flex; flex-wrap: wrap; gap: .4rem; align-items: center; margin-top: .25rem; font-size: .8rem; color: var(--muted); }
.tr-stats { text-align: center; min-width: 56px; color: var(--muted); font-size: .74rem; display: grid; }
.tr-stats strong { color: #fff; font: 700 1.2rem var(--display); }
.flag { display: inline-block; font: 700 .66rem var(--sans); text-transform: uppercase; padding: .12rem .4rem; border-radius: 4px; margin-right: .4rem; vertical-align: middle; }
.flag.pin { background: var(--deal); color: #111; }
.flag.solved { background: #22c55e; color: #052e16; }
.flag.lock { background: #3a3f46; color: #c8ccd2; }
.tchip { display: inline-block; font-size: .72rem; font-weight: 700; padding: .12rem .45rem; border-radius: 4px; color: #fff; background: color-mix(in srgb, var(--c) 30%, transparent); border: 1px solid color-mix(in srgb, var(--c) 60%, transparent); }
.post-list { display: grid; gap: .8rem; margin-bottom: 1.2rem; }
.comm-hero h1.thread-title { text-transform: none; font-size: clamp(1.7rem, 3.4vw, 2.6rem); }
.post-card { display: grid; grid-template-columns: 56px 1fr; gap: 1rem; padding: 1.1rem 1.2rem; border-radius: 14px; background: var(--panel); border: 1px solid var(--line); scroll-margin-top: 150px; }
.post-card.is-answer { border-color: rgba(34, 197, 94, .6); box-shadow: inset 4px 0 0 #22c55e; }
.post-card.is-hidden { opacity: .55; }
.post-head { font-size: .9rem; margin-bottom: .45rem; }
.post-head a strong { color: #fff; }
.answer-tag { color: #4ade80; font-weight: 700; }
.post-body { color: #d8dbe0; line-height: 1.6; overflow-wrap: anywhere; }
.post-body p:last-child { margin-bottom: 0; }
.post-body a[href] { color: var(--brand-2); text-decoration: underline; }
.post-body textarea { width: 100%; }
.post-actions { display: flex; flex-wrap: wrap; gap: .3rem; margin-top: .8rem; }
.pa { display: inline-flex; align-items: center; gap: .35rem; padding: .35rem .6rem; border-radius: 6px; border: 1px solid var(--line); background: transparent; color: var(--muted); font: 600 .8rem var(--sans); cursor: pointer; }
.pa:hover { color: #fff; border-color: #4b515a; }
.pa.on { color: var(--deal); border-color: rgba(255, 212, 0, .5); }
.pa:disabled { opacity: .45; cursor: default; }
.solved-box { display: flex; align-items: center; gap: .6rem; padding: .7rem 1rem; margin-bottom: .8rem; border-radius: 10px; background: rgba(34, 197, 94, .1); border: 1px solid rgba(34, 197, 94, .4); color: #bbf7d0; font-size: .9rem; }
.solved-box svg { width: 20px; color: #4ade80; }
.mod-bar { display: flex; gap: .5rem; align-items: center; flex-wrap: wrap; padding: .6rem .8rem; margin-bottom: .8rem; border-radius: 10px; background: rgba(34, 197, 94, .08); border: 1px dashed rgba(34, 197, 94, .4); font-size: .85rem; color: #bbf7d0; }
.reply-box textarea, .new-form textarea { width: 100%; resize: vertical; font-family: inherit; line-height: 1.5; }
.form-foot { display: flex; justify-content: space-between; align-items: center; gap: 1rem; margin-top: .7rem; flex-wrap: wrap; font-size: .82rem; }
.join-cta { display: flex; flex-wrap: wrap; align-items: center; gap: .6rem 1rem; }
.join-cta strong { color: #fff; font-size: 1.05rem; }
.join-cta span { color: var(--muted); margin-right: auto; }
.new-form { display: grid; gap: 1rem; }
.new-form label { display: grid; gap: .4rem; font-size: .86rem; color: var(--muted); font-weight: 600; }
.profile { display: flex; align-items: center; gap: 1.5rem; }
.pstats { display: flex; gap: 2rem; flex-wrap: wrap; color: var(--muted); font-size: .85rem; }
.pstats strong { display: block; color: #fff; font: 800 1.8rem var(--display); }
.modal { position: fixed; inset: 0; z-index: 95; background: rgba(0, 0, 0, .7); display: grid; place-items: center; padding: 1rem; }
.modal[hidden] { display: none; }
.modal-panel { position: relative; width: min(420px, 100%); padding: 1.6rem; border-radius: 16px; background: #15171b; border: 1px solid var(--line); box-shadow: 0 30px 80px -20px #000; animation: pop .18s ease; }
@keyframes pop { from { transform: scale(.96); opacity: 0; } }
.modal-panel .icon-close { position: absolute; right: .8rem; top: .8rem; }
.auth-tabs { display: flex; gap: .3rem; margin-bottom: 1rem; }
.auth-tabs button { flex: 1; padding: .7rem; border-radius: 8px; border: 1px solid var(--line); background: transparent; color: var(--muted); font: 700 .95rem var(--sans); cursor: pointer; }
.auth-tabs button.on { background: var(--brand); border-color: var(--brand); color: #fff; }
.auth-form { display: grid; gap: .9rem; }
.auth-form label { display: grid; gap: .35rem; font-size: .86rem; color: var(--muted); font-weight: 600; }
@media (max-width: 1000px) { .comm { grid-template-columns: 1fr; } }
@media (max-width: 760px) {
  .comm-hero-row { flex-direction: column; }
  .comm-search .btn:last-child { margin-left: 0; }
  .thread-row { grid-template-columns: 32px 1fr auto; gap: .6rem; }
  .thread-row .avatar { width: 32px !important; height: 32px !important; }
  .post-card { grid-template-columns: 1fr; padding: 1rem; }
  .post-side { display: none; }
}
@media (max-width: 640px) { .share-build { flex-direction: column; align-items: flex-start; } }

/* Feel: a header shadow once you scroll, clear keyboard focus, gentle image fade-in */
.site-header.scrolled { box-shadow: 0 10px 30px -12px rgba(0, 0, 0, .8); }
:focus-visible { outline: 2px solid var(--brand-2); outline-offset: 2px; }
img.fade { opacity: 0; transition: opacity .35s ease; }
img.fade.in { opacity: 1; }

/* Older section styles still used on inner pages */
.hero { position: relative; padding: clamp(2.5rem, 6vw, 5rem) 0 clamp(2rem, 4vw, 3rem); }
.hero .wrap { display: grid; grid-template-columns: 1.1fr .9fr; gap: 3rem; align-items: center; }
.hero-actions { display: flex; gap: .7rem; flex-wrap: wrap; margin-top: 1.6rem; }
.features { display: grid; grid-template-columns: repeat(4, 1fr); gap: .9rem; }
.feature { padding: 1.4rem; border-radius: 12px; background: var(--panel); border: 1px solid var(--line); }
.feature svg { width: 30px; height: 30px; color: var(--brand); margin-bottom: .8rem; }
.feature p { margin: 0; font-size: .93rem; color: var(--muted); }
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: .9rem; counter-reset: step; }
.step { position: relative; padding: 1.3rem; border-radius: 12px; background: var(--panel); border: 1px solid var(--line); }
.step::before { counter-increment: step; content: counter(step); display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--brand); color: #fff; font: 800 1rem var(--sans); margin-bottom: .8rem; }
.step p { margin: 0; font-size: .92rem; color: var(--muted); }

/* Page header (inner pages) */
.page-head { padding: 1.6rem 0 1.2rem; border-bottom: 1px solid var(--line); background: var(--bg-2); }
.page-head h1 { font-size: clamp(1.8rem, 3.6vw, 2.6rem); margin: 0; }
.crumbs { font-size: .85rem; color: var(--muted); margin-bottom: .5rem; }
.crumbs a:hover { color: var(--ink); }

/* Shop layout */
.shop { display: grid; grid-template-columns: 260px 1fr; gap: 1.6rem; padding: 1.6rem 0 4rem; }
.filters { position: sticky; top: 138px; align-self: start; display: grid; gap: 1.2rem; max-height: calc(100vh - 150px); overflow: auto; padding-right: .3rem; }
.filters h4 { font: 700 .85rem var(--sans); text-transform: uppercase; letter-spacing: .04em; color: var(--ink); margin-bottom: .5rem; }
.filters label { display: flex; align-items: center; gap: .55rem; padding: .28rem 0; font-size: .92rem; cursor: pointer; }
.filters label span { margin-left: auto; color: var(--muted); font-size: .8rem; }
.filters label .logo-mask { --h: 13px; color: #c8ccd2; }
.filters input[type="checkbox"], .filters input[type="radio"] { accent-color: var(--brand); width: 16px; height: 16px; }
.filter-list { max-height: 260px; overflow: auto; padding-right: .3rem; }
.price-row { display: flex; gap: .5rem; }
.field, .price-row input, select.field { width: 100%; padding: .7rem .85rem; border-radius: 8px; border: 1px solid #33373d; background: #1b1d21; color: var(--ink); font: inherit; font-size: .94rem; }
.field:focus, .price-row input:focus { outline: none; border-color: var(--brand); }
.toolbar { display: flex; gap: .8rem; align-items: center; justify-content: space-between; margin-bottom: 1rem; flex-wrap: wrap; }
.toolbar .count { color: var(--muted); font-size: .92rem; }
.toolbar select { width: auto; }
.filters-toggle { display: none; }
.brand-hero { display: flex; align-items: center; gap: 1.4rem; padding: 1.3rem 1.5rem; margin-bottom: 1rem; border-radius: 12px; background: var(--panel); border: 1px solid var(--line); }
.brand-hero .mark { color: #fff; flex: none; min-width: 120px; display: flex; justify-content: center; }
.brand-hero .mark .logo-mask { --h: 40px; -webkit-mask-position: center; mask-position: center; }
.brand-hero .mark .wordmark { --fs: 2rem; }
.brand-hero strong { display: block; color: #fff; font: 800 1.6rem var(--display); text-transform: uppercase; }
.brand-hero span { color: var(--muted); font-size: .9rem; }
.brand-hero .btn { margin-left: auto; }
.brand-chips { display: flex; flex-wrap: wrap; align-items: center; gap: .45rem; margin-bottom: 1rem; }
.brand-chips .label { font: 700 .82rem var(--sans); text-transform: uppercase; letter-spacing: .04em; color: var(--muted); margin-right: .3rem; }
.brand-chips button { display: inline-flex; align-items: center; gap: .5rem; height: 42px; padding: 0 .9rem; border-radius: 8px; background: var(--panel); border: 1px solid var(--line); color: #b9bec5; cursor: pointer; }
.brand-chips button:hover { color: #fff; border-color: #4b515a; }
.brand-chips button.on { color: #fff; border-color: var(--brand); background: rgba(90, 103, 242, .12); }
.brand-chips .logo-mask { --h: 16px; }
.brand-chips .wordmark { --fs: .9rem; }
.brand-chips small { font-size: .72rem; color: var(--muted); }
.empty { text-align: center; padding: 3.5rem 1rem; border: 1px dashed var(--line); border-radius: 12px; color: var(--muted); }
.pager { display: flex; justify-content: center; gap: .4rem; margin-top: 2rem; flex-wrap: wrap; }
.pager button { min-width: 40px; height: 40px; border-radius: 8px; border: 1px solid var(--line); background: var(--panel); color: var(--text); cursor: pointer; font: inherit; font-weight: 600; }
.pager button.on { background: var(--brand); border-color: var(--brand); color: #fff; }

/* Product page */
.pdp { display: grid; grid-template-columns: 1fr 1fr; gap: 2.5rem; padding: 1.5rem 0 2.5rem; }
.gallery .main { aspect-ratio: 1; border-radius: 12px; border: 1px solid var(--line); background: #fff; display: grid; place-items: center; padding: 2rem; position: relative; }
.gallery .main img { position: absolute; inset: 6%; width: 88%; height: 88%; object-fit: contain; }
.gallery .main svg { width: 45%; color: #9aa1aa; }
.thumbs { display: flex; gap: .5rem; margin-top: .7rem; flex-wrap: wrap; }
.thumbs button { width: 72px; height: 72px; border-radius: 8px; border: 2px solid var(--line); background: #fff; padding: .35rem; cursor: pointer; }
.thumbs button.on { border-color: var(--brand); }
.thumbs img { width: 100%; height: 100%; object-fit: contain; }
.buy h1 { font-size: clamp(1.6rem, 2.8vw, 2.3rem); text-transform: none; }
.buy .brand-line { color: #aab0b8; margin-bottom: .7rem; display: block; }
.buy .brand-line .logo-mask { --h: 22px; }
.buy .brand-line .wordmark { --fs: 1.2rem; }
.buy .price { font-size: 2.6rem; }
.buy .sku { font-size: .85rem; color: var(--muted); }
.buy-box { margin: 1.3rem 0; padding: 1.3rem; border-radius: 12px; background: var(--panel); border: 1px solid var(--line); display: grid; gap: 1rem; }
.qty { display: inline-flex; border: 1px solid #33373d; border-radius: 8px; overflow: hidden; }
.qty button { width: 40px; border: 0; background: var(--panel-2); color: var(--ink); font-size: 1.1rem; cursor: pointer; }
.qty input { width: 52px; text-align: center; border: 0; background: #1b1d21; color: var(--ink); font: inherit; -moz-appearance: textfield; }
.qty input::-webkit-inner-spin-button { -webkit-appearance: none; }
.buy-row { display: flex; gap: .7rem; flex-wrap: wrap; }
.buy-row .btn { flex: 1; min-width: 150px; }
.perks { display: grid; gap: .55rem; font-size: .92rem; }
.perks div { display: flex; gap: .6rem; align-items: center; }
.perks svg { width: 18px; color: var(--brand); flex: none; }
.specs { width: 100%; border-collapse: collapse; font-size: .94rem; }
[data-page="product"] .specs { table-layout: fixed; } /* long spec values wrap on phones */
.specs th, .specs td { text-align: left; padding: .7rem 1rem; border-bottom: 1px solid var(--line); vertical-align: top; overflow-wrap: anywhere; }
.specs tr:nth-child(odd) { background: var(--bg-2); }
.specs th { color: var(--muted); font-weight: 500; width: 38%; }
.desc { max-width: 80ch; }
.tabs { display: flex; gap: .2rem; border-bottom: 1px solid var(--line); margin-bottom: 1.3rem; }
.tabs button { background: none; border: 0; border-bottom: 3px solid transparent; color: var(--muted); padding: .8rem 1rem; font: 700 .95rem var(--sans); cursor: pointer; }
.tabs button.on { color: var(--ink); border-color: var(--brand); }
.beat-note { display: flex; gap: .6rem; align-items: center; padding: .8rem 1rem; border-radius: 8px; background: rgba(255, 212, 0, .1); border: 1px solid rgba(255, 212, 0, .35); color: #ffe680; font-size: .9rem; margin-top: 1rem; }
.beat-note svg { width: 20px; flex: none; color: var(--deal); }

/* Cart + checkout */
.cart-layout { display: grid; grid-template-columns: 1fr 380px; gap: 1.6rem; padding: 1.6rem 0 4rem; align-items: start; }
.line { display: grid; grid-template-columns: 88px 1fr auto; gap: 1rem; align-items: center; padding: .9rem; border-radius: 12px; background: var(--panel); border: 1px solid var(--line); margin-bottom: .7rem; }
.line .thumb { width: 88px; height: 88px; border-radius: 8px; background: #fff; display: grid; place-items: center; padding: .4rem; }
.line .thumb img { width: 100%; height: 100%; object-fit: contain; }
.line .thumb svg { width: 50%; color: #9aa1aa; }
.line h3 { font-family: var(--sans); font-size: .95rem; margin: 0 0 .3rem; }
.line .right { display: grid; justify-items: end; gap: .5rem; }
.link-btn { background: none; border: 0; color: var(--muted); font: inherit; font-size: .82rem; cursor: pointer; text-decoration: underline; padding: 0; }
.link-btn:hover { color: var(--hot); }
.summary { position: sticky; top: 138px; padding: 1.4rem; border-radius: 12px; background: var(--panel); border: 1px solid var(--line); }
.summary .row { display: flex; justify-content: space-between; padding: .4rem 0; font-size: .95rem; }
.summary .total { border-top: 1px solid var(--line); margin-top: .6rem; padding-top: 1rem; font: 700 1.5rem var(--display); color: var(--ink); }
.summary .note { font-size: .8rem; color: var(--muted); margin-top: 1rem; }
.pay-logos { display: flex; gap: .4rem; flex-wrap: wrap; margin-top: 1rem; }
.pay-logos span { font-size: .72rem; font-weight: 700; padding: .3rem .55rem; border: 1px solid var(--line); border-radius: 5px; color: var(--muted); }
.form-card { padding: 1.4rem; border-radius: 12px; background: var(--panel); border: 1px solid var(--line); margin-bottom: 1rem; }
.form-card h3 { margin-bottom: 1rem; font-size: 1.4rem; text-transform: uppercase; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: .9rem; }
.form-grid .full { grid-column: 1 / -1; }
.form-grid label { display: grid; gap: .35rem; font-size: .86rem; color: var(--muted); font-weight: 500; }
.choice { display: flex; gap: .8rem; align-items: start; padding: 1rem; border: 1px solid var(--line); border-radius: 10px; cursor: pointer; margin-bottom: .6rem; }
.choice:has(input:checked) { border-color: var(--brand); background: rgba(43, 127, 255, .07); }
.choice input { accent-color: var(--brand); margin-top: .25rem; }
.choice strong { color: var(--ink); display: block; }
.choice small { color: var(--muted); }
.choice .amt { margin-left: auto; color: var(--ink); font-weight: 700; white-space: nowrap; }
.alert { padding: .9rem 1.1rem; border-radius: 10px; border: 1px solid; font-size: .92rem; margin-bottom: 1rem; }
.alert.bad { border-color: rgba(255, 59, 59, .5); background: rgba(255, 59, 59, .1); color: #fecaca; }
.alert.info { border-color: rgba(43, 127, 255, .45); background: rgba(43, 127, 255, .08); color: #cfe0ff; }
.alert.good { border-color: rgba(34, 197, 94, .4); background: rgba(34, 197, 94, .1); color: #bbf7d0; }
.result { max-width: 640px; margin: 3rem auto; text-align: center; padding: 2.5rem 2rem; border-radius: 14px; background: var(--panel); border: 1px solid var(--line); }
.result .icon { width: 72px; height: 72px; border-radius: 50%; margin: 0 auto 1.2rem; display: grid; place-items: center; }
.result .icon svg { width: 36px; }
.demo-note { background: rgba(245, 158, 11, .12); border-bottom: 1px solid rgba(245, 158, 11, .35); color: #fde68a; font-size: .85rem; text-align: center; padding: .5rem 1rem; }

/* Footer */
.site-footer { border-top: 1px solid var(--line); background: #0a0b0c; margin-top: 2rem; }
.footer-brands { display: flex; flex-wrap: wrap; gap: 1.6rem 2.4rem; justify-content: center; align-items: center; padding: 1.6rem 0; border-bottom: 1px solid var(--line); color: #6b717a; }
.footer-brands a:hover { color: #fff; }
.footer-brands .logo-mask { --h: 20px; --ar: 3.6; }
.footer-brands .wordmark { --fs: 1rem; }
.footer-cta { display: flex; justify-content: space-between; align-items: center; gap: 1.5rem; padding: 2rem 0; border-bottom: 1px solid var(--line); flex-wrap: wrap; }
.footer-cta h2 { margin: 0; font-size: clamp(1.4rem, 2.6vw, 2rem); }
.footer-grid { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 2rem; padding: 2.5rem 0; }
.footer-grid h4 { font: 700 .85rem var(--sans); text-transform: uppercase; letter-spacing: .04em; color: var(--ink); }
.footer-grid ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .5rem; font-size: .93rem; }
.footer-grid a:hover { color: var(--ink); }
.footer-grid p { font-size: .93rem; color: var(--muted); max-width: 38ch; }
.footer-bottom { display: flex; justify-content: space-between; gap: 1rem; padding: 1.2rem 0; border-top: 1px solid var(--line); font-size: .82rem; color: var(--muted); flex-wrap: wrap; }
.pay-marks { display: inline-flex; align-items: center; gap: 1rem; flex-wrap: wrap; color: #9aa1aa; }
.pay-marks .logo-mask { --h: 18px; }
.pay-marks .eft { font: 700 .78rem var(--sans); border: 1px solid #3a3f46; border-radius: 4px; padding: .15rem .4rem; color: #c8ccd2; }

/* Product page: price and buttons stay in reach on phones */
.buy-bar { display: none; }
@media (max-width: 760px) {
  .buy-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 55; display: flex; align-items: center; gap: .8rem; padding: .7rem 1rem calc(.7rem + env(safe-area-inset-bottom)); background: rgba(18, 19, 22, .97); border-top: 1px solid var(--line); transform: translateY(110%); transition: transform .2s; }
  .buy-bar.show { transform: none; }
  .buy-bar .price { font-size: 1.4rem; }
  .buy-bar .btn { margin-left: auto; }
  body[data-page="product"] .wa-float { bottom: 5.2rem; }
  body[data-page="product"] .site-footer { padding-bottom: 4.5rem; }
}

.wa-float { position: fixed; right: 1.1rem; bottom: 1.1rem; z-index: 60; width: 54px; height: 54px; border-radius: 50%; background: #25d366; display: grid; place-items: center; box-shadow: 0 8px 24px -6px rgba(0, 0, 0, .6); }
.wa-float svg { width: 28px; color: #fff; }
.toast { position: fixed; left: 50%; bottom: 1.5rem; transform: translate(-50%, 160%); z-index: 80; background: #fff; color: #111; padding: .8rem 1.1rem; border-radius: 10px; box-shadow: 0 12px 30px -8px rgba(0, 0, 0, .6); transition: transform .25s; font-size: .94rem; font-weight: 600; display: flex; gap: .8rem; align-items: center; }
.toast.show { transform: translate(-50%, 0); }
.toast svg { color: var(--good); }
.toast a { color: var(--brand-text); font-weight: 700; }

/* Responsive */
@media (max-width: 1280px) {
  .rail { grid-auto-columns: calc((100% - 4 * .9rem) / 5); }
  .beat-strip .rail { grid-auto-columns: calc((100% - 3 * .9rem) / 4); }
}
@media (max-width: 1100px) {
  .help-link { display: none; }
  .features, .steps, .promises { grid-template-columns: repeat(2, 1fr); }
  .rail { grid-auto-columns: calc((100% - 3 * .9rem) / 4); }
  .promo-trio { grid-template-columns: 1fr 1fr; }
  .posts { grid-template-columns: 1fr 1fr; }
  .spotlight { grid-template-columns: 1fr; }
  .stat-bar { grid-template-columns: 1fr 1fr; }
  .community { grid-template-columns: 1fr; }
}
@media (max-width: 900px) {
  .hero .wrap, .pdp, .cart-layout { grid-template-columns: 1fr; }
  .shop { grid-template-columns: 1fr; }
  .filters { position: static; display: none; max-height: none; padding: 1.1rem; border: 1px solid var(--line); border-radius: 12px; background: var(--panel); }
  .filters.open { display: grid; }
  .filters-toggle { display: inline-flex; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .summary { position: static; }
  .slide { grid-template-columns: 1fr; min-height: 0; }
  .slide .stage { order: -1; height: 230px; }
  .slide .stage img { inset: .8rem .8rem 3.6rem; width: calc(100% - 1.6rem); height: calc(100% - 4.4rem); }
  .slide .stage .price-flag { left: .6rem; right: .6rem; bottom: .6rem; max-width: none; display: flex; align-items: baseline; gap: .6rem; padding: .5rem .7rem; }
  .slide .stage .price-flag strong { display: none; }
  .slide .stage .price-flag .price { font-size: 1.3rem; }
  .slide .copy { padding-bottom: 3rem; }
  .beat-strip { grid-template-columns: 1fr; }
  .beat-strip .rail { grid-auto-columns: calc((100% - 2 * .9rem) / 3); }
}
@media (max-width: 760px) {
  .topbar .hide-sm { display: none; }
  .topbar .wrap { justify-content: center; }
  .topbar .promise { white-space: normal; text-align: center; line-height: 1.35; } /* long messages wrap instead of running off the screen */
  .header-main { height: 62px; gap: .8rem; justify-content: space-between; }
  .header-main .header-search { display: none; }
  .mobile-search { display: block; padding-bottom: .65rem; }
  .mobile-search .header-search input { height: 44px; }
  .mobile-search .header-search .btn { height: 36px; }
  .cart-label small { display: none; }
  .rail, .beat-strip .rail { grid-auto-columns: 46%; gap: .6rem; }
  .rail-nav .rail-btn { display: none; }
  .promo-trio, .posts { grid-template-columns: 1fr; }
  .promises { grid-template-columns: 1fr 1fr; gap: .6rem; }
  .promises div { padding: 1rem; }
  .brand-wall { grid-template-columns: repeat(3, 1fr); }
  .brand-tile { height: 64px; }
  .brand-tile .logo-mask { --h: 20px; }
  .brand-tile .wordmark { --fs: .95rem; }
  .card .pricing .price { font-size: 1.2rem; }
  .card h3 { font-size: .86rem; }
  .btn-add { height: 38px; font-size: .82rem; }
  .filters, .summary { top: 0; }
}
@media (max-width: 640px) {
  .logo { font-size: 1.25rem; }
  .logo-mark { width: 32px; height: 32px; }
  .features, .steps { grid-template-columns: 1fr; }
  .grid { grid-template-columns: repeat(2, 1fr); gap: .6rem; }
  .card .body { padding: .7rem; }
  .form-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .line { grid-template-columns: 64px 1fr; }
  .line .thumb { width: 64px; height: 64px; }
  .line .right { grid-column: 1 / -1; grid-auto-flow: column; justify-content: space-between; align-items: center; }
  .promo { grid-template-columns: 1fr 38%; min-height: 150px; }
  .cat-circle .pic { width: 72px; height: 72px; }
}

/* ---------- Discord, social links, contact list ---------- */
.discord-card { display: grid; grid-template-columns: auto 1fr auto; gap: 1rem 1.3rem; align-items: center; padding: 1.3rem 1.5rem; border-radius: 14px; background: linear-gradient(115deg, rgba(88, 101, 242, .24), rgba(88, 101, 242, .05) 65%), var(--panel); border: 1px solid rgba(88, 101, 242, .5); }
.discord-card .dc-icon { width: 54px; height: 54px; border-radius: 14px; display: grid; place-items: center; background: #5865f2; color: #fff; box-shadow: 0 10px 24px -10px rgba(88, 101, 242, .9); }
.discord-card .dc-icon svg { width: 30px; height: 30px; }
.discord-card strong { display: block; color: #fff; font: 700 1.3rem/1.15 var(--display); text-transform: uppercase; letter-spacing: .01em; }
.discord-card p { margin: .35rem 0 0; color: #cfd3d9; font-size: .95rem; line-height: 1.5; }
.discord-card .say { color: #fff; background: rgba(88, 101, 242, .38); border: 1px solid rgba(124, 135, 255, .75); padding: .02rem .4rem; border-radius: 4px; white-space: nowrap; letter-spacing: .02em; }
.btn-discord { background: #5865f2; border-color: #5865f2; color: #fff; white-space: nowrap; }
.btn-discord:hover { background: #4752c4; border-color: #4752c4; color: #fff; }
.discord-card.compact { grid-template-columns: auto 1fr; padding: 1rem; gap: .8rem; }
.discord-card.compact .btn { grid-column: 1 / -1; }
.discord-card.compact strong { font-size: 1.05rem; }
.discord-card.compact p { font-size: .88rem; }
.discord-card.compact .dc-icon { width: 42px; height: 42px; border-radius: 11px; }
.discord-card.compact .dc-icon svg { width: 24px; height: 24px; }
.build-summary .discord-card { margin-top: 1rem; }
.comm-card .discord-card + iframe { margin-top: 1rem; border-radius: 10px; }
.social-links { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1rem; }
.social-links a { width: 40px; height: 40px; border-radius: 10px; display: grid; place-items: center; background: var(--panel-2); border: 1px solid var(--line); color: #c8ccd2; transition: color .15s, border-color .15s, background .15s; }
.social-links a:hover { color: #fff; border-color: #5865f2; background: rgba(88, 101, 242, .15); }
.social-links .ico { width: 19px; height: 19px; background: currentColor; -webkit-mask-size: contain; mask-size: contain; -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat; -webkit-mask-position: center; mask-position: center; }
.contact-list a { display: inline-flex; align-items: center; gap: .5rem; }
.contact-list svg { width: 16px; height: 16px; flex: none; }
.footer-bottom a { color: inherit; text-decoration: underline; text-underline-offset: 2px; }
@media (max-width: 1100px) { .topbar .hide-md { display: none; } }
@media (max-width: 700px) {
  .discord-card { grid-template-columns: auto 1fr; padding: 1.1rem; }
  .discord-card .btn { grid-column: 1 / -1; }
}

/* ---------- Policy pages (delivery, returns, terms, privacy) ---------- */
.legal { max-width: 860px; padding: 1.8rem 0 3.5rem; }
.legal > p, .legal li { color: #cfd3d9; line-height: 1.75; }
.legal h2 { font-size: 1.55rem; margin: 2.2rem 0 .6rem; scroll-margin-top: 150px; }
.legal h3 { font-family: var(--sans); font-size: 1.05rem; font-weight: 700; text-transform: none; margin: 1.3rem 0 .4rem; color: #fff; }
.legal ul, .legal ol { padding-left: 1.25rem; }
.legal li + li { margin-top: .35rem; }
.legal a { color: var(--brand-2); text-decoration: underline; text-underline-offset: 2px; }
.legal strong { color: #fff; }
.legal .tldr { padding: 1.1rem 1.3rem; border-radius: 12px; background: rgba(90, 103, 242, .1); border: 1px solid rgba(90, 103, 242, .45); }
.legal .tldr ul { margin: .5rem 0 0; }
.legal .updated { color: var(--muted); font-size: .88rem; margin-top: 2.5rem; padding-top: 1rem; border-top: 1px solid var(--line); }
.legal dl.biz { display: grid; grid-template-columns: max-content 1fr; gap: .45rem 1.4rem; margin: .8rem 0 0; padding: 1rem 1.2rem; border-radius: 10px; background: var(--panel); border: 1px solid var(--line); }
.legal dl.biz:empty { display: none; }
.legal dl.biz dt { color: var(--muted); }
.legal dl.biz dd { margin: 0; color: #fff; }
.legal-nav { display: flex; flex-wrap: wrap; gap: .4rem; margin-top: 1rem; }
.legal-nav a { padding: .42rem .85rem; border-radius: 999px; border: 1px solid var(--line); font-size: .86rem; font-weight: 600; color: var(--muted); }
.legal-nav a:hover { color: #fff; border-color: #4b515a; }
.legal-nav a.on { color: #fff; border-color: var(--brand); background: rgba(90, 103, 242, .15); }
@media (max-width: 600px) { .legal dl.biz { grid-template-columns: 1fr; gap: .1rem; } .legal dl.biz dd { margin-bottom: .55rem; } }

/* ---------- Order page: progress and tracking ---------- */
.tracker { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: .4rem; max-width: 620px; margin: 1.6rem auto; padding: 0; }
.tracker li { position: relative; display: grid; justify-items: center; gap: .45rem; font-size: .85rem; color: var(--muted); font-weight: 600; }
.tracker li::before { content: ''; position: absolute; top: 17px; left: -50%; width: 100%; height: 3px; background: var(--line); }
.tracker li:first-child::before { display: none; }
.tracker li.done::before, .tracker li.now::before { background: var(--good); }
.tracker span { position: relative; width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: var(--panel-2); border: 2px solid var(--line); color: var(--muted); font-weight: 700; }
.tracker span svg { width: 18px; height: 18px; }
.tracker li.done, .tracker li.now { color: #fff; }
.tracker li.done span { background: var(--good); border-color: var(--good); color: #052e16; }
.tracker li.now span { border-color: var(--brand-2); color: #fff; box-shadow: 0 0 0 4px rgba(37, 197, 235, .18); }
.track-box { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 1rem 2rem; max-width: 620px; margin: 0 auto 1.2rem; padding: 1.1rem 1.3rem; border-radius: 12px; background: var(--panel); border: 1px solid var(--line); text-align: left; }
.track-box small { display: block; color: var(--muted); font-size: .78rem; }
.track-box strong { color: #fff; font-size: 1.05rem; overflow-wrap: anywhere; }
.order-items { list-style: none; max-width: 620px; margin: 0 auto 1.4rem; padding: 0; text-align: left; border-top: 1px solid var(--line); }
.order-items li { padding: .55rem 0; border-bottom: 1px solid var(--line); color: #d8dbe0; font-size: .92rem; }
.order-items li span { color: var(--muted); margin-right: .3rem; }
.lookup { display: flex; gap: .5rem; max-width: 460px; margin: 0 auto; }
.lookup .field { flex: 1; text-transform: uppercase; }
@media (max-width: 520px) { .tracker li { font-size: .74rem; } .lookup { flex-direction: column; } }

/* ---------- Quote page (a build quote from the crew) ---------- */
.quote-layout { display: grid; grid-template-columns: 1.6fr 1fr; gap: 1.5rem; align-items: start; padding: 1.6rem 0 3rem; }
.q-deal { display: flex; align-items: center; gap: .7rem; padding: .9rem 1.1rem; margin-bottom: 1rem; border-radius: 12px; background: linear-gradient(115deg, rgba(88, 101, 242, .26), rgba(88, 101, 242, .06)); border: 1px solid rgba(88, 101, 242, .5); color: #e6e8ff; }
.q-deal svg { width: 26px; height: 26px; color: #fff; flex: none; }
.q-deal strong { color: #fff; }
.q-note { padding: 1rem 1.1rem; margin-bottom: 1rem; border-radius: 12px; background: var(--panel); border: 1px solid var(--line); border-left: 4px solid var(--brand-2); }
.q-note small { color: var(--muted); font-weight: 700; text-transform: uppercase; letter-spacing: .05em; font-size: .72rem; }
.q-note p { margin: .3rem 0 0; color: #e6e8eb; white-space: pre-line; }
.q-items { border-radius: 12px; background: var(--panel); border: 1px solid var(--line); overflow: hidden; }
.q-item { display: grid; grid-template-columns: 64px 1fr auto; gap: 1rem; align-items: center; padding: .9rem 1rem; border-bottom: 1px solid var(--line); }
.q-item:last-child { border-bottom: 0; }
.q-item img, .q-item .q-ico { width: 64px; height: 64px; border-radius: 8px; background: #fff; object-fit: contain; padding: 4px; }
.q-item .q-ico { display: grid; place-items: center; background: var(--panel-2); color: var(--brand-2); padding: 0; }
.q-item .q-ico svg { width: 28px; height: 28px; }
.q-item strong { display: block; color: #fff; font-weight: 600; line-height: 1.35; }
.q-item strong a:hover { color: var(--brand-2); }
.q-item small { color: var(--muted); }
.q-item small .out { color: #fca5a5; }
.q-item > span { font-weight: 700; color: #fff; white-space: nowrap; }
.q-sum .row.save span:last-child { color: #4ade80; }
@media (max-width: 900px) { .quote-layout { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .q-item { grid-template-columns: 48px 1fr; } .q-item img, .q-item .q-ico { width: 48px; height: 48px; } .q-item > span { grid-column: 2; } }
