/* Dollar-Assets — modern design system */
:root {
  --bg: #f5f5f1; --surface: #ffffff; --surface-2: #f0f0ea;
  --ink: #0b1b16; --ink-2: #33423c; --muted: #6b7671; --line: #e4e4dc;
  --brand: #0b3d2e; --brand-2: #0f9f6e; --mint: #a7f3d0; --mint-2: #d9fbe9;
  --gold: #f5b800; --red: #e5484d;
  --font: "Plus Jakarta Sans", "Segoe UI", system-ui, sans-serif;
  --r: 18px; --r-sm: 12px;
  --shadow: 0 1px 2px rgba(11,27,22,.05), 0 8px 24px -12px rgba(11,27,22,.18);
  --shadow-lg: 0 2px 4px rgba(11,27,22,.06), 0 24px 48px -20px rgba(11,27,22,.35);
}
* { box-sizing: border-box; }
html { background: var(--bg); scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); font: 500 16px/1.6 var(--font); -webkit-font-smoothing: antialiased; min-height: 100vh; display: flex; flex-direction: column; }
main { flex: 1; width: 100%; }
a { color: inherit; }
img { display: block; max-width: 100%; }
button, input, select, textarea { font: inherit; color: inherit; }
.wrap { max-width: 1280px; margin: 0 auto; padding: 0 28px; }
.num { font-variant-numeric: tabular-nums; }

/* ---------- header ---------- */
.top { position: sticky; top: 0; z-index: 30; background: rgba(245,245,241,.82); backdrop-filter: saturate(1.6) blur(14px); border-bottom: 1px solid rgba(11,27,22,.06); }
.top .wrap { display: flex; align-items: center; gap: 18px; height: 74px; }
.logo { display: flex; align-items: center; gap: 11px; text-decoration: none; font-weight: 800; font-size: 20px; letter-spacing: -.03em; white-space: nowrap; }
.mark { width: 38px; height: 38px; border-radius: 11px; display: grid; place-items: center; color: #fff; font-weight: 800; font-size: 21px;
  background: linear-gradient(135deg, var(--brand), var(--brand-2)); box-shadow: inset 0 -2px 0 rgba(0,0,0,.18), 0 6px 16px -6px rgba(15,159,110,.7); }
.logo em { font-style: normal; color: var(--brand-2); }
.logo small { display: block; font-size: 11px; font-weight: 600; letter-spacing: .02em; color: var(--muted); margin-top: -3px; }
.nav { display: flex; gap: 2px; margin-left: 8px; }
.nav a { text-decoration: none; padding: 8px 14px; border-radius: 999px; font-weight: 600; font-size: 15px; color: var(--ink-2); white-space: nowrap; transition: background .15s, color .15s; }
.nav a:hover { background: var(--surface-2); color: var(--ink); }
.nav a.on { background: var(--ink); color: #fff; }
.search { flex: 1 1 220px; min-width: 180px; max-width: 380px; margin-left: auto; position: relative; }
.search input[type=search] { width: 100%; min-height: 44px; height: 44px; padding: 0 16px 0 42px; border: 1px solid var(--line); background: var(--surface); border-radius: 999px; outline: none; font-weight: 500; transition: border-color .15s, box-shadow .15s; }
.search input:focus { border-color: var(--brand-2); box-shadow: 0 0 0 4px rgba(15,159,110,.12); }
.search svg { position: absolute; left: 15px; top: 13px; width: 18px; height: 18px; color: var(--muted); }
.acts { display: flex; gap: 8px; align-items: center; }
.pill { display: inline-flex; align-items: center; gap: 8px; height: 44px; padding: 0 18px; border-radius: 999px; text-decoration: none; font-weight: 700; font-size: 15px;
  background: var(--surface); border: 1px solid var(--line); cursor: pointer; white-space: nowrap; transition: border-color .15s, transform .1s; }
.pill:hover { border-color: var(--ink); }
.pill.dark { background: var(--ink); color: #fff; border-color: var(--ink); }
.pill.dark:hover { background: #1b2f28; }
.count { background: var(--mint); color: var(--brand); font-size: 12px; font-weight: 800; border-radius: 999px; min-width: 22px; height: 22px; display: inline-grid; place-items: center; padding: 0 6px; }
.menu { position: relative; }
.menu-list { position: absolute; right: 0; top: 52px; background: var(--surface); border: 1px solid var(--line); border-radius: 16px; min-width: 220px; padding: 8px; box-shadow: var(--shadow-lg); display: none; }
.menu.open .menu-list { display: block; }
.menu-list a, .menu-list button { display: block; width: 100%; text-align: left; padding: 10px 12px; border: 0; background: none; text-decoration: none; border-radius: 10px; cursor: pointer; font-weight: 600; }
.menu-list a:hover, .menu-list button:hover { background: var(--surface-2); }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 0; cursor: pointer; text-decoration: none; white-space: nowrap;
  background: var(--ink); color: #fff; height: 48px; padding: 0 24px; border-radius: 999px; font-weight: 700; font-size: 15px; transition: transform .1s, background .15s, box-shadow .15s; }
.btn:hover { background: #1b2f28; }
.btn:active { transform: translateY(1px) scale(.99); }
.btn.brand { background: var(--brand-2); }
.btn.brand:hover { background: #0c8a5f; }
.btn.light { background: #fff; color: var(--ink); }
.btn.light:hover { background: var(--mint-2); }
.btn.ghost { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--line); }
.btn.ghost:hover { box-shadow: inset 0 0 0 1.5px var(--ink); }
.btn.glass { background: rgba(255,255,255,.12); color: #fff; box-shadow: inset 0 0 0 1px rgba(255,255,255,.3); }
.btn.glass:hover { background: rgba(255,255,255,.2); }
.btn.danger { background: var(--red); }
.btn.sm { height: 36px; padding: 0 16px; font-size: 14px; }
.btn[disabled] { opacity: .45; cursor: not-allowed; }
.btn.download { height: 60px; padding: 0 34px; font-size: 18px; font-weight: 800; background: linear-gradient(135deg, var(--brand), var(--brand-2)); box-shadow: 0 12px 24px -12px rgba(15,159,110,.9); }
.btn.download:hover { filter: brightness(1.08); }
.btn.paypal { background: #ffc439; color: #111; }
.btn.paypal:hover { background: #f2b71f; }

/* ---------- hero ---------- */
.hero { position: relative; overflow: hidden; margin: 26px 0 0; border-radius: 32px; color: #fff; padding: 64px 60px; min-height: 480px;
  display: grid; grid-template-columns: 1.1fr .9fr; gap: 30px; align-items: center;
  background: radial-gradient(900px 500px at 85% 0%, rgba(167,243,208,.42), transparent 60%), linear-gradient(130deg, #03211a 0%, #0b3d2e 45%, #0f9f6e 100%); }
.hero::before { content: ""; position: absolute; inset: 0; background-image: radial-gradient(rgba(255,255,255,.09) 1.5px, transparent 1.5px); background-size: 28px 28px; pointer-events: none; }
.hero > * { position: relative; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px 7px 8px; border-radius: 999px; background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.22); font-size: 14px; font-weight: 600; }
.eyebrow b { background: var(--mint); color: var(--brand); border-radius: 999px; padding: 2px 9px; font-size: 12px; }
.hero h1 { font-size: clamp(42px, 5.6vw, 76px); line-height: .98; letter-spacing: -.045em; font-weight: 800; margin: 22px 0 18px; }
.hero h1 span { background: linear-gradient(90deg, var(--mint), #fff3b0); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero p { font-size: 18px; color: rgba(255,255,255,.82); max-width: 480px; margin: 0 0 28px; }
.hero .ctas { display: flex; gap: 12px; flex-wrap: wrap; }
.stack { position: relative; height: 380px; }
.stack img { position: absolute; width: 74%; aspect-ratio: 4/3; object-fit: cover; border-radius: 22px; box-shadow: 0 30px 60px -20px rgba(0,0,0,.55); border: 1px solid rgba(255,255,255,.25); transition: transform .4s; }
.stack img:nth-child(1) { right: 22%; top: 34%; transform: rotate(-9deg); }
.stack img:nth-child(2) { right: 0; top: 2%; transform: rotate(6deg); }
.stack img:nth-child(3) { right: 10%; top: 22%; transform: rotate(-1deg); z-index: 2; }
.hero:hover .stack img:nth-child(1) { transform: rotate(-12deg) translateX(-12px); }
.hero:hover .stack img:nth-child(2) { transform: rotate(9deg) translateX(10px); }

.perks { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin: 18px 0 0; }
.perk { background: var(--surface); border-radius: var(--r); padding: 16px 18px; display: flex; gap: 12px; align-items: center; box-shadow: var(--shadow); font-size: 14px; color: var(--muted); }
.perk b { display: block; color: var(--ink); font-size: 15px; }
.perk i { flex: 0 0 40px; height: 40px; border-radius: 12px; background: var(--mint-2); color: var(--brand); display: grid; place-items: center; font-style: normal; font-size: 18px; font-weight: 800; }

/* ---------- sections ---------- */
.sec { margin: 64px 0; }
.sec-h { display: flex; align-items: end; justify-content: space-between; gap: 16px; margin-bottom: 22px; }
.sec-h h2 { font-size: 34px; letter-spacing: -.035em; line-height: 1.1; font-weight: 800; margin: 0; }
.sec-h p { margin: 6px 0 0; color: var(--muted); }
.sec-h a { font-weight: 700; text-decoration: none; color: var(--brand-2); white-space: nowrap; }
.sec-h a:hover { text-decoration: underline; }
.kicker { font-size: 13px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--brand-2); }

/* category banner tiles */
.cats { display: grid; grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); gap: 18px; }
.cat { position: relative; display: block; aspect-ratio: 16/10; border-radius: 24px; overflow: hidden; text-decoration: none; color: #fff; background: var(--brand); box-shadow: var(--shadow); isolation: isolate; }
.cat img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .6s cubic-bezier(.2,.7,.2,1); z-index: -2; }
.cat::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,0) 35%, rgba(3,20,15,.78) 100%); z-index: -1; }
.cat:hover img { transform: scale(1.06); }
.cat .in { position: absolute; left: 22px; right: 22px; bottom: 20px; display: flex; align-items: end; justify-content: space-between; gap: 12px; }
.cat h3 { margin: 0; font-size: 24px; letter-spacing: -.03em; line-height: 1.1; font-weight: 800; }
.cat .n { display: inline-block; margin-top: 8px; font-size: 13px; font-weight: 700; background: rgba(255,255,255,.18); backdrop-filter: blur(6px); padding: 3px 10px; border-radius: 999px; }
.cat .go { flex: 0 0 44px; height: 44px; border-radius: 50%; background: #fff; color: var(--ink); display: grid; place-items: center; font-size: 20px; font-weight: 800; transition: transform .2s; }
.cat:hover .go { transform: translateX(3px) rotate(-45deg); }
.cats.big .cat:first-child { grid-column: span 2; aspect-ratio: auto; }

/* page banner (category page) */
.banner { position: relative; border-radius: 28px; overflow: hidden; color: #fff; padding: 56px 48px; margin: 26px 0 30px; min-height: 260px; display: flex; flex-direction: column; justify-content: end; isolation: isolate; background: var(--brand); }
.banner img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.banner::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(3,20,15,.85), rgba(3,20,15,.25)); z-index: -1; }
.banner h1 { font-size: clamp(36px, 4.5vw, 56px); letter-spacing: -.045em; line-height: 1; margin: 8px 0 10px; font-weight: 800; }
.banner p { margin: 0; max-width: 560px; color: rgba(255,255,255,.85); font-size: 17px; }
.banner .kicker { color: var(--mint); }
.page-title { font-size: 46px; letter-spacing: -.045em; font-weight: 800; margin: 40px 0 6px; line-height: 1.05; }
.lede { color: var(--muted); margin: 0 0 26px; max-width: 680px; font-size: 17px; }

/* ---------- product cards ---------- */
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 22px; }
.card { position: relative; background: var(--surface); border-radius: 22px; padding: 10px; display: flex; flex-direction: column; box-shadow: var(--shadow); transition: transform .2s, box-shadow .2s; }
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.card .thumb { aspect-ratio: 4/3; border-radius: 15px; overflow: hidden; background: var(--surface-2); }
.card .thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.card:hover .thumb img { transform: scale(1.05); }
.card .body { padding: 14px 8px 6px; display: flex; flex-direction: column; gap: 4px; flex: 1; }
.card .cat-l { font-size: 12px; font-weight: 700; color: var(--muted); }
.card h3 { font-size: 17px; line-height: 1.3; letter-spacing: -.02em; font-weight: 800; margin: 0; }
.card h3 a { text-decoration: none; }
.card h3 a::after { content: ""; position: absolute; inset: 0; }
.card .row { display: flex; align-items: center; justify-content: space-between; margin-top: auto; padding-top: 12px; position: relative; z-index: 2; }
.tags-top { position: absolute; top: 20px; left: 20px; z-index: 2; display: flex; gap: 6px; }
.flag { font-size: 11px; font-weight: 800; letter-spacing: .06em; padding: 5px 10px; border-radius: 999px; background: rgba(255,255,255,.92); color: var(--ink); backdrop-filter: blur(6px); }
.flag.premium { background: linear-gradient(135deg, #ffe58a, var(--gold)); color: #3b2a00; }
.flag.sale { background: var(--red); color: #fff; }

.price { font-size: 22px; font-weight: 800; letter-spacing: -.03em; white-space: nowrap; font-variant-numeric: tabular-nums; }
.price s { font-size: .7em; font-weight: 600; color: var(--muted); text-decoration-color: var(--red); text-decoration-thickness: 2px; margin-right: 7px; }
.price .now.cut { color: var(--red); }
.add { height: 40px; min-width: 40px; padding: 0 14px; border-radius: 999px; border: 0; background: var(--surface-2); font-weight: 700; font-size: 14px; cursor: pointer; transition: background .15s, color .15s; }
.add:hover { background: var(--ink); color: #fff; }
.add.in { background: var(--brand-2); color: #fff; }

/* premium band */
.premium-band { background: radial-gradient(700px 300px at 90% 0%, rgba(245,184,0,.22), transparent 60%), #0b1b16; color: #fff; border-radius: 32px; padding: 44px 40px; }
.premium-band .sec-h p { color: rgba(255,255,255,.65); }
.premium-band .kicker { color: var(--gold); }
.premium-band .sec-h a { color: var(--gold); }
.premium-band .card { background: #13261f; box-shadow: none; border: 1px solid rgba(255,255,255,.08); }
.premium-band .card .cat-l { color: rgba(255,255,255,.55); }
.premium-band .add { background: rgba(255,255,255,.1); color: #fff; }
.premium-band .add:hover, .premium-band .add.in { background: var(--gold); color: #2b1f00; }

/* ---------- offers ---------- */
.offers { display: grid; grid-template-columns: repeat(auto-fit, minmax(380px, 1fr)); gap: 22px; }
.offer { background: var(--surface); border-radius: 26px; overflow: hidden; box-shadow: var(--shadow); display: flex; flex-direction: column; transition: transform .2s, box-shadow .2s; }
.offer:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.offer .art { position: relative; aspect-ratio: 2/1; background: var(--brand); color: #fff; isolation: isolate; overflow: hidden; }
.offer .art img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform .6s; }
.offer:hover .art img { transform: scale(1.05); }
.offer .art::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(3,20,15,.82) 0%, rgba(3,20,15,.2) 70%); z-index: -1; }
.offer .art .in { position: absolute; left: 26px; right: 26px; bottom: 22px; }
.offer .art .badge-o { display: inline-block; font-size: 12px; font-weight: 800; letter-spacing: .08em; background: var(--mint); color: var(--brand); padding: 4px 10px; border-radius: 999px; }
.offer .art h3 { font-size: 30px; line-height: 1.05; letter-spacing: -.04em; margin: 10px 0 0; font-weight: 800; max-width: 80%; }
.offer .body { padding: 18px 24px 22px; display: flex; flex-direction: column; gap: 12px; flex: 1; }
.offer .body p { margin: 0; color: var(--muted); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.chip { display: inline-flex; gap: 8px; align-items: center; background: var(--surface-2); border-radius: 999px; padding: 4px 12px 4px 4px; text-decoration: none; font-size: 14px; font-weight: 600; white-space: nowrap; max-width: 100%; overflow: hidden; text-overflow: ellipsis; }
.chip.text { padding: 7px 12px; }
.chip img { flex: 0 0 28px; width: 28px; height: 28px; border-radius: 50%; object-fit: cover; }
.chip.reward { background: var(--mint-2); color: var(--brand); }
.chip s { color: var(--muted); }
.plus { font-weight: 800; color: var(--muted); }
.offer .foot { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-top: auto; }
.meta { font-size: 13px; color: var(--muted); font-weight: 500; }

/* ---------- item page ---------- */
.item-page { display: grid; grid-template-columns: 1.2fr .8fr; gap: 40px; margin: 30px 0; align-items: start; }
.item-page .hero-img { border-radius: 28px; overflow: hidden; aspect-ratio: 4/3; background: var(--surface-2); box-shadow: var(--shadow); }
.item-page .hero-img img { width: 100%; height: 100%; object-fit: cover; }
.buy { position: sticky; top: 100px; background: var(--surface); border-radius: 26px; padding: 28px; box-shadow: var(--shadow); }
.buy h1 { font-size: 36px; line-height: 1.08; letter-spacing: -.04em; margin: 10px 0 16px; font-weight: 800; }
.buy .price { font-size: 40px; }
.buy .actions { display: grid; gap: 10px; margin: 20px 0; }
.buy .actions .btn { width: 100%; height: 54px; font-size: 16px; }
.facts { display: grid; gap: 10px; padding-top: 18px; border-top: 1px solid var(--line); }
.facts div { display: flex; gap: 10px; align-items: center; font-size: 14px; color: var(--ink-2); }
.facts i { font-style: normal; width: 28px; height: 28px; border-radius: 8px; background: var(--mint-2); color: var(--brand); display: grid; place-items: center; font-size: 13px; font-weight: 800; }
.desc-box { background: var(--surface); border-radius: 24px; padding: 28px; margin-top: 22px; box-shadow: var(--shadow); }
.desc-box h2 { font-size: 22px; letter-spacing: -.03em; margin: 0 0 10px; }
.desc { white-space: pre-wrap; color: var(--ink-2); }
.tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 16px; }
.tag { font-size: 13px; font-weight: 600; background: var(--surface-2); border-radius: 999px; padding: 4px 12px; color: var(--ink-2); }
.offer-note { display: flex; gap: 12px; align-items: center; background: var(--mint-2); color: var(--brand); padding: 12px 14px; border-radius: 14px; margin: 10px 0; font-size: 14px; }
.offer-note img { width: 56px; height: 40px; object-fit: cover; border-radius: 8px; flex: 0 0 56px; }
.crumb { font-size: 14px; font-weight: 600; color: var(--muted); text-decoration: none; }
.crumb:hover { color: var(--ink); }
.pbadge { display: inline-block; font-size: 11px; font-weight: 800; letter-spacing: .06em; padding: 4px 10px; border-radius: 999px; background: linear-gradient(135deg, #ffe58a, var(--gold)); color: #3b2a00; margin-left: 8px; vertical-align: middle; }

/* ---------- basket ---------- */
.basket { display: grid; grid-template-columns: 1fr 380px; gap: 28px; margin: 10px 0 40px; align-items: start; }
.lines { background: var(--surface); border-radius: 24px; padding: 8px 22px; box-shadow: var(--shadow); }
.line { display: grid; grid-template-columns: 104px 1fr auto auto; gap: 18px; align-items: center; padding: 16px 0; border-bottom: 1px solid var(--line); }
.line:last-child { border-bottom: 0; }
.line img { width: 104px; height: 78px; object-fit: cover; border-radius: 12px; }
.line b { font-size: 17px; letter-spacing: -.02em; }
.line a { text-decoration: none; }
.badge { display: inline-block; font-size: 11px; font-weight: 800; letter-spacing: .04em; background: var(--mint-2); color: var(--brand); padding: 3px 9px; border-radius: 999px; margin-top: 6px; }
.x { width: 36px; height: 36px; border-radius: 50%; border: 0; background: var(--surface-2); font-size: 18px; cursor: pointer; color: var(--muted); }
.x:hover { background: var(--ink); color: #fff; }
.summary { background: var(--surface); border-radius: 24px; padding: 26px; position: sticky; top: 100px; box-shadow: var(--shadow); }
.summary h3 { font-size: 22px; letter-spacing: -.03em; margin: 0 0 14px; }
.sumrow { display: flex; justify-content: space-between; padding: 6px 0; color: var(--ink-2); }
.sumrow.total { border-top: 1px solid var(--line); margin-top: 10px; padding-top: 16px; font-size: 26px; font-weight: 800; color: var(--ink); letter-spacing: -.03em; }
.sumrow.save { color: var(--red); font-weight: 700; }
.paybtns { display: grid; gap: 10px; margin-top: 20px; }
.paybtns .btn { width: 100%; height: 52px; }
.hint { display: flex; gap: 10px; align-items: center; background: #fff8e1; border-radius: 14px; padding: 12px 16px; font-size: 14px; margin-top: 12px; color: #6b4d00; }

/* ---------- purchased ---------- */
.purchased { display: grid; gap: 14px; margin-bottom: 40px; }
.p-row { display: grid; grid-template-columns: 160px 1fr auto; gap: 24px; align-items: center; background: var(--surface); border-radius: 22px; padding: 12px; box-shadow: var(--shadow); }
.p-row img { width: 160px; height: 120px; object-fit: cover; border-radius: 14px; }
.p-row h3 { font-size: 21px; letter-spacing: -.03em; margin: 2px 0 4px; }
.p-row .btn.download { margin-right: 10px; }
.thanks { display: flex; gap: 14px; align-items: center; background: linear-gradient(130deg, #0b3d2e, #0f9f6e); color: #fff; border-radius: 20px; padding: 18px 22px; margin-bottom: 18px; }
.thanks i { font-style: normal; width: 42px; height: 42px; border-radius: 50%; background: #fff; color: var(--brand-2); display: grid; place-items: center; font-weight: 800; }

/* ---------- forms ---------- */
.auth { max-width: 460px; margin: 56px auto; background: var(--surface); border-radius: 28px; padding: 38px; box-shadow: var(--shadow-lg); }
.auth h1 { font-size: 32px; letter-spacing: -.04em; margin: 14px 0 4px; }
label { display: block; font-weight: 700; font-size: 14px; margin: 14px 0 6px; }
input[type=text], input[type=email], input[type=password], input[type=number], input[type=datetime-local], input[type=search], select, textarea {
  width: 100%; min-height: 46px; padding: 10px 14px; border: 1.5px solid var(--line); background: #fff; border-radius: 12px; outline: none; transition: border-color .15s, box-shadow .15s; }
input:focus, select:focus, textarea:focus { border-color: var(--brand-2); box-shadow: 0 0 0 4px rgba(15,159,110,.12); }
textarea { min-height: 120px; resize: vertical; }
.err { color: var(--red); font-weight: 700; min-height: 22px; margin-top: 10px; font-size: 14px; }
.muted { color: var(--muted); }
.empty { text-align: center; padding: 64px 20px; background: var(--surface); border-radius: 24px; color: var(--muted); box-shadow: var(--shadow); }
.empty b { display: block; font-size: 24px; letter-spacing: -.03em; color: var(--ink); margin-bottom: 6px; }

.toast { position: fixed; bottom: 26px; left: 50%; transform: translateX(-50%) translateY(140px); background: var(--ink); color: #fff; padding: 13px 22px; border-radius: 999px; font-weight: 600; transition: transform .3s cubic-bezier(.2,.8,.2,1), opacity .3s; opacity: 0; z-index: 60; box-shadow: var(--shadow-lg); }
.toast.show { transform: translateX(-50%) translateY(0); opacity: 1; }

footer { background: #0b1b16; color: rgba(255,255,255,.7); margin-top: 80px; padding: 46px 0; font-size: 14px; }
footer .wrap { display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; align-items: center; }
footer .logo { color: #fff; }
footer .logo small { color: rgba(255,255,255,.5); }

@media (max-width: 1100px) { .nav { display: none; } .perks { grid-template-columns: 1fr 1fr; } .cats.big .cat:first-child { grid-column: auto; } }
@media (max-width: 900px) {
  .hero, .item-page, .basket { grid-template-columns: 1fr; }
  .hero { padding: 40px 28px; } .stack { height: 260px; }
  .search { display: none; }
  .p-row { grid-template-columns: 100px 1fr; } .p-row img { width: 100px; height: 75px; }
  .p-row .btn.download { grid-column: 1 / -1; margin: 0; }
  .line { grid-template-columns: 72px 1fr auto; } .line img { width: 72px; height: 54px; } .line .x { grid-column: 3; }
  .offers { grid-template-columns: 1fr; }
}

/* service charge + codes */
.svc { background: var(--surface); border-radius: 20px; padding: 16px 20px; margin-bottom: 18px; box-shadow: var(--shadow); display: grid; gap: 10px; }
.svc-t { display: flex; flex-direction: column; gap: 2px; }
.svc-t b { font-size: 16px; letter-spacing: -.01em; }
.svc-t span { color: var(--muted); font-size: 14px; }
.svc-t span b { color: var(--brand-2); font-size: 14px; }
.svc-bar { height: 10px; border-radius: 999px; background: var(--surface-2); overflow: hidden; }
.svc-bar i { display: block; height: 100%; border-radius: 999px; background: linear-gradient(90deg, var(--brand-2), #6ee7b7); transition: width .4s; }
.codebox { display: flex; gap: 8px; margin-top: 16px; }
.codebox input { flex: 1; min-height: 40px !important; text-transform: uppercase; font-weight: 700; letter-spacing: .04em; }
.codebox .btn { height: 42px; }
.code-on { flex: 1; display: flex; justify-content: space-between; align-items: center; gap: 8px; background: var(--mint-2); color: var(--brand); border-radius: 12px; padding: 10px 12px; font-size: 14px; }
.linkbtn { border: 0; background: none; color: inherit; text-decoration: underline; cursor: pointer; font-weight: 600; font-size: 13px; padding: 0; }
.sumrow .badge { vertical-align: 1px; }

/* account + billing */
.acct { display: grid; grid-template-columns: 1.3fr 1fr; gap: 22px; align-items: start; margin-bottom: 40px; }
.panel-c { background: var(--surface); border-radius: 24px; padding: 26px 28px; box-shadow: var(--shadow); margin-bottom: 22px; }
.panel-c h2 { font-size: 20px; letter-spacing: -.03em; margin: 0 0 4px; }
.panel-c .btn { margin-top: 6px; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.row3 { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 14px; }
input[type=tel] { width: 100%; min-height: 46px; padding: 10px 14px; border: 1.5px solid var(--line); background: #fff; border-radius: 12px; outline: none; }
input[type=tel]:focus { border-color: var(--brand-2); box-shadow: 0 0 0 4px rgba(15,159,110,.12); }
.shake { animation: shake .5s; }
@keyframes shake { 20%, 60% { transform: translateX(-6px); } 40%, 80% { transform: translateX(6px); } }
@media (max-width: 900px) { .acct, .row2, .row3 { grid-template-columns: 1fr; } }
