/* PixelPass. Warm, varied look (owner: "not another blue site"; warm charcoal/gold/coral/magenta/plum/lime, mixed
   treatments): a warm-charcoal hero panel for the gold art, cream page, per-category tints, one coral-magenta accent.
   No gradient text, glows or glass. */
:root{
  --bg:#faf6f1;--surface:#fff;--sunken:#f3ece3;--text:#1f1a1d;--muted:#6b6167;--line:#e8dfd4;
  --char:#231d20;--char-2:#2e272a;--char-text:#f6efe9;--char-muted:#c9bcb3;
  --accent:#d0335f;--accent-ink:#fff;--accent-soft:#fdeaf0;--gold:#a8680f;--gold-soft:#fbf0dc;
  --plum-soft:#f3e8f1;--lime-soft:#eef6dd;--peach-soft:#fde9df;--bad:#b42318;--ok:#1d7a45;--radius:16px;
}
*{box-sizing:border-box}
[hidden]{display:none!important}
html{scroll-behavior:smooth}
body{margin:0;background:var(--bg);color:var(--text);font:16px/1.5 -apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif}
a{color:inherit}
h1,h2,h3{letter-spacing:-.01em}
.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap;border:0}
.skip{position:absolute;left:12px;top:-60px;z-index:50;background:var(--text);color:#fff;padding:10px 14px;border-radius:10px;font-weight:700}
.skip:focus{top:12px}
:focus-visible{outline:2px solid var(--accent);outline-offset:2px}
.muted{color:var(--muted)}

.topbar{height:64px;display:flex;align-items:center;gap:20px;padding:0 max(16px,5vw);position:sticky;top:0;z-index:20;background:var(--surface);border-bottom:1px solid var(--line)}
.brand{display:flex;align-items:center;gap:10px;font-weight:800;text-decoration:none}
.brand-mark{width:32px;height:32px;border-radius:9px;display:grid;place-items:center;background:var(--accent);color:var(--accent-ink);font-weight:800}
.nav{display:flex;gap:22px;margin-left:auto}
.nav a{color:var(--muted);text-decoration:none}
.nav a:hover{color:var(--text)}
.cart-btn{border:1px solid var(--line);background:var(--surface);color:var(--text);border-radius:10px;padding:8px 14px;font:inherit;font-weight:600;cursor:pointer}
.cart-btn span{display:inline-block;min-width:22px;margin-left:6px;padding:1px 7px;border-radius:99px;background:var(--accent);color:var(--accent-ink);font-size:13px}

/* hero: warm charcoal panel */
.hero{max-width:1300px;margin:24px auto 0;padding:40px 44px;display:grid;grid-template-columns:1fr 1fr;align-items:center;gap:24px;background:var(--char);color:var(--char-text);border-radius:24px}
.eyebrow{margin:0;color:#f3a3b8;font-weight:700;font-size:14px}
.hero h1{font-size:clamp(32px,4.4vw,52px);line-height:1.08;margin:8px 0 12px;font-weight:800}
.hero h1 span{color:#f4b860}
.lead{color:var(--char-muted);font-size:18px;margin:0 0 22px;max-width:540px}
.hero-search{display:flex;gap:8px;max-width:520px}
.hero-search input{flex:1;border:0;border-radius:12px;padding:13px 14px;font:inherit;background:#fff;color:var(--text)}
.hero-search button{border:0;border-radius:12px;padding:0 20px;font:inherit;font-weight:700;background:var(--accent);color:var(--accent-ink);cursor:pointer}
.hero-art img{display:block;width:100%;height:auto}

/* sections */
.section{padding:40px max(16px,5vw);max-width:1300px;margin:0 auto}
.section h2{font-size:clamp(24px,3vw,32px);margin:0 0 16px;font-weight:800}
.section-head{display:flex;justify-content:space-between;align-items:end;gap:16px}
.search{border:1px solid var(--line);background:var(--surface);color:var(--text);border-radius:10px;padding:10px 14px;font:inherit;min-width:260px}
.search:focus{border-color:var(--accent);outline:none}
.band{background:var(--sunken);border-radius:24px}

/* category tiles, each with its own tint */
.cats{display:grid;grid-template-columns:repeat(4,1fr);gap:14px}
.cat{min-width:0;display:flex;align-items:center;gap:14px;border:0;border-radius:var(--radius);padding:14px 18px;font:inherit;font-weight:700;font-size:17px;color:var(--text);cursor:pointer;text-align:left}
.cat img{width:72px;height:72px;object-fit:contain}
.cat[data-cat=giftcards]{background:var(--peach-soft)}
.cat[data-cat=gaming]{background:var(--gold-soft)}
.cat[data-cat=media]{background:var(--plum-soft)}
.cat[data-cat=subscriptions]{background:var(--lime-soft)}
.cat:hover{filter:brightness(.97)}

.tabs{display:flex;gap:8px;overflow:auto;padding:4px 0;margin:4px 0 12px}
.tab{white-space:nowrap;background:var(--surface);color:var(--text);border:1px solid var(--line);border-radius:99px;padding:8px 16px;font:inherit;font-size:15px;cursor:pointer}
.tab.active{background:var(--text);border-color:var(--text);color:#fff}
.result-count{color:var(--muted);font-size:14px;margin:0 0 12px}

/* products */
.grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px}
.product{background:var(--surface);border:1px solid var(--line);border-radius:var(--radius);overflow:hidden;display:flex;flex-direction:column}
.product.out{opacity:.6}
.product-art{position:relative;height:170px;display:grid;place-items:center;background:var(--sunken)}
.product-art img{width:140px;height:140px;object-fit:contain}
.badges{position:absolute;left:10px;top:10px;display:flex;gap:6px}
.badge{font-size:12px;font-weight:700;border-radius:99px;padding:3px 9px}
.badge.new{background:var(--lime-soft);color:#3f5f10}
.badge.hit{background:var(--accent-soft);color:#9b1c43}
.product-body{padding:14px 16px 16px;display:flex;flex-direction:column;flex:1;gap:6px}
.product h3{margin:0;font-size:16px;line-height:1.3}
.product p{margin:0;color:var(--muted);font-size:14px}
.login-label{font-size:13px;font-weight:600;margin-top:6px}
.login-input{border:1px solid var(--line);border-radius:10px;padding:9px 12px;font:inherit;font-size:15px}
.login-input:focus{border-color:var(--accent);outline:none}
.login-input[aria-invalid=true]{border-color:var(--bad)}
.field-status{margin:0;min-height:0;color:var(--bad);font-size:13px}
.field-status:empty{display:none}
.price-row{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-top:auto;padding-top:8px}
.price{font-size:19px;font-weight:800}
.old{font-size:13px;color:var(--muted);margin-left:6px}
.add{border:0;background:var(--accent);color:var(--accent-ink);padding:9px 14px;border-radius:10px;font:inherit;font-size:14px;font-weight:700;cursor:pointer}
.add:hover,.primary:hover{filter:brightness(.93)}
.soldout{font-size:13px;color:var(--bad)}
.empty{grid-column:1/-1;padding:40px;text-align:center;color:var(--muted);border:1px dashed var(--line);border-radius:var(--radius);background:var(--surface)}

/* trust */
.trust{display:grid;grid-template-columns:repeat(4,1fr);gap:16px}
.trust article{background:var(--surface);border:1px solid var(--line);border-radius:var(--radius);padding:18px}
.trust img{width:56px;height:56px;object-fit:contain;display:block;margin-bottom:10px}
.trust h3{margin:0 0 6px;font-size:17px}
.trust p{margin:0;color:var(--muted);font-size:15px}

footer{display:flex;justify-content:space-between;gap:24px;padding:28px max(16px,5vw) 40px;margin-top:24px;background:var(--char);color:var(--char-muted);font-size:14px}
footer .brand{color:var(--char-text)}
footer p{margin:8px 0 0;max-width:560px}
.footer-links{display:flex;flex-wrap:wrap;gap:8px 18px;align-items:flex-start;max-width:520px}
.footer-links button{border:0;background:none;color:var(--char-muted);font:inherit;cursor:pointer;padding:0}
.footer-links button:hover{color:var(--char-text)}

/* drawer */
.drawer{position:fixed;z-index:40;right:0;top:0;width:min(440px,100%);height:100vh;background:var(--surface);border-left:1px solid var(--line);padding:20px;transform:translateX(102%);transition:transform .2s;overflow:auto}
.drawer.open{transform:translateX(0)}
.drawer-head{display:flex;justify-content:space-between;align-items:center}
.drawer-head h2{margin:0}
.drawer-head button,.close{border:0;background:none;color:var(--text);font-size:28px;line-height:1;cursor:pointer}
.drawer-art{width:56px;height:56px;object-fit:contain;margin:6px 0}
.cart-line{display:grid;grid-template-columns:1fr auto;align-items:center;gap:10px;padding:12px 0;border-bottom:1px solid var(--line)}
.cart-line small{color:var(--muted)}
.qty{display:flex;align-items:center;gap:6px}
.qty button{width:30px;height:30px;border-radius:8px;border:1px solid var(--line);background:var(--surface);color:var(--text);font:inherit;cursor:pointer}
.qty button:disabled{opacity:.4;cursor:default}
.qty .remove{border-color:transparent;color:var(--bad);font-size:18px}
.promo-row{display:flex;gap:8px;margin-top:16px}
.promo-row input{flex:1;border:1px solid var(--line);border-radius:10px;padding:10px 12px;font:inherit}
.promo-row button{border:1px solid var(--line);background:var(--surface);color:var(--text);border-radius:10px;padding:0 14px;font:inherit;cursor:pointer}
#promoStatus{color:var(--muted)}
.sum{margin:14px 0}
.sum div{display:flex;justify-content:space-between;padding:4px 0;color:var(--muted)}
.sum dd{margin:0}
.sum .total{font-size:20px;font-weight:800;color:var(--text);border-top:1px solid var(--line);margin-top:8px;padding-top:10px}
.primary{border:0;background:var(--accent);color:var(--accent-ink);border-radius:10px;padding:13px 18px;font:inherit;font-weight:700;cursor:pointer}
.primary:disabled{opacity:.5;cursor:default}
.wide{width:100%}
.backdrop{position:fixed;inset:0;background:rgba(31,26,29,.45);z-index:30;opacity:0;pointer-events:none;transition:opacity .2s}
.backdrop.show{opacity:1;pointer-events:auto}

dialog{width:min(480px,calc(100% - 28px));background:var(--surface);color:var(--text);border:1px solid var(--line);border-radius:16px;padding:24px}
dialog::backdrop{background:rgba(31,26,29,.5)}
dialog h2{margin:0 36px 14px 0}
dialog p{color:var(--muted)}
.close{position:absolute;right:14px;top:10px}
#checkoutForm label{display:block;font-weight:700;margin-bottom:6px}
#checkoutForm input[type=email]{width:100%;border:1px solid var(--line);border-radius:10px;padding:12px 14px;font:inherit;margin-bottom:12px}
#checkoutForm label.check{display:flex;align-items:center;gap:8px;font-weight:600}
.check input{accent-color:var(--accent)}
.note{padding:12px;border-radius:10px;background:var(--gold-soft);color:#6d4308!important;font-size:14px}
.message{min-height:1.2em;color:var(--bad)!important}
.success{display:grid;gap:6px;padding:16px;border:1px solid #cfe7d8;background:#eef8f1;border-radius:12px;color:var(--ok)}

@media(max-width:1000px){.grid{grid-template-columns:repeat(2,1fr)}.cats{grid-template-columns:repeat(2,1fr)}.trust{grid-template-columns:repeat(2,1fr)}.nav{display:none}.cart-btn{margin-left:auto}.hero{grid-template-columns:1fr;margin:16px}.hero-art{order:-1}.hero-art img{max-height:260px;object-fit:contain}}
@media(max-width:600px){.hero{padding:24px 20px;margin:12px}.grid,.trust{grid-template-columns:1fr}.cat{flex-direction:column;align-items:flex-start;gap:6px;font-size:15px;padding:12px}.cat img{width:52px;height:52px}.section-head{flex-direction:column;align-items:stretch}.search{min-width:0}footer{flex-direction:column}}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;transition:none!important}}
/* batch-2 art: per-category trays, promo band, empty search */
.tint-giftcards{background:var(--peach-soft)}
.tint-gaming{background:var(--gold-soft)}
.tint-media{background:var(--plum-soft)}
.tint-subscriptions{background:var(--lime-soft)}
.promo-band{display:flex;align-items:center;gap:24px;padding:20px 28px;border-radius:24px;background:var(--plum-soft)}
.promo-band img{width:120px;height:120px;object-fit:contain;flex:none}
.promo-copy{flex:1}
.promo-copy h2{margin:0 0 4px;font-size:clamp(20px,2.4vw,28px)}
.promo-copy h2 span{color:var(--accent)}
.promo-copy code{background:var(--surface);border:1px dashed var(--accent);border-radius:8px;padding:1px 8px;font-size:.9em}
.promo-copy p{margin:0;color:var(--muted)}
.empty img{width:120px;height:120px;object-fit:contain;display:block;margin:0 auto 8px}
.empty p{margin:0}
@media(max-width:700px){.promo-band{flex-direction:column;align-items:flex-start;padding:18px}.promo-band img{width:88px;height:88px}.promo-band .primary{width:100%}}
