/* BityCart design system */
@font-face { font-family: "Plus Jakarta Sans"; font-style: normal; font-weight: 400; font-display: swap; src: url("/fonts/plus-jakarta-sans-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Plus Jakarta Sans"; font-style: normal; font-weight: 600; font-display: swap; src: url("/fonts/plus-jakarta-sans-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Plus Jakarta Sans"; font-style: normal; font-weight: 700; font-display: swap; src: url("/fonts/plus-jakarta-sans-latin-700-normal.woff2") format("woff2"); }
@font-face { font-family: "Plus Jakarta Sans"; font-style: normal; font-weight: 800; font-display: swap; src: url("/fonts/plus-jakarta-sans-latin-800-normal.woff2") format("woff2"); }
:root {
  --bg: #ffffff;
  --surface: #ffffff;
  --surface-2: #f5f4fb;
  --surface-3: #ecebf7;
  --ink: #16123a;
  --ink-2: #4a4766;
  --ink-3: #6b6885;
  --line: #e6e4f1;
  --brand: #5b3df5;
  --brand-ink: #ffffff;
  --brand-soft: #eeeaff;
  --mint: #1fe0b0;
  --mint-ink: #07372b;
  --ok: #0b7350;
  --ok-ink: #ffffff;
  --ok-soft: #dcf6ec;
  --warn: #9a5b00;
  --warn-soft: #fff2d9;
  --bad: #c42b43;
  --bad-soft: #fde6ea;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 1px 2px rgba(22, 18, 58, .06), 0 8px 24px rgba(22, 18, 58, .07);
  --font: "Plus Jakarta Sans", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --mono: ui-monospace, "SF Mono", Consolas, monospace;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0d0b22; --surface: #16133a; --surface-2: #131031; --surface-3: #1d1948; --ink: #f1efff; --ink-2: #bdb9dc; --ink-3: #8c88b0;
    --line: #2a2658; --brand: #8b74ff; --brand-ink: #0d0b22; --ok-ink: #0d0b22; --brand-soft: #251d5c; --mint: #2ee8b9; --ok: #3fd69c; --ok-soft: #123627;
    --warn: #f3b54e; --warn-soft: #3a2b10; --bad: #ff7b8f; --bad-soft: #3d1621;
    --shadow: 0 1px 2px rgba(0, 0, 0, .35), 0 10px 28px rgba(0, 0, 0, .3);
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #0d0b22; --surface: #16133a; --surface-2: #131031; --surface-3: #1d1948; --ink: #f1efff; --ink-2: #bdb9dc; --ink-3: #8c88b0;
  --line: #2a2658; --brand: #8b74ff; --brand-ink: #0d0b22; --ok-ink: #0d0b22; --brand-soft: #251d5c; --mint: #2ee8b9; --ok: #3fd69c; --ok-soft: #123627;
  --warn: #f3b54e; --warn-soft: #3a2b10; --bad: #ff7b8f; --bad-soft: #3d1621;
  --shadow: 0 1px 2px rgba(0, 0, 0, .35), 0 10px 28px rgba(0, 0, 0, .3);
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 15px/1.55 var(--font); min-height: 100vh; display: flex; flex-direction: column; }
a { color: inherit; }
button, input, select { font: inherit; color: inherit; }
img, svg { display: block; }
[hidden] { display: none !important; }
.wrap { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 20px; }
main { flex: 1; padding-bottom: 72px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* ---- announcement + header ---- */
.announce { background: #16123a; color: #fff; font-size: 13px; font-weight: 600; text-align: center; padding: 8px 16px; }
.announce b { color: #1fe0b0; }
.topbar { position: sticky; top: 0; z-index: 20; background: color-mix(in srgb, var(--bg) 92%, transparent); backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.topbar .row { display: flex; align-items: center; gap: 18px; height: 70px; }
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 800; font-size: 22px; letter-spacing: -.035em; white-space: nowrap; }
.logo img { width: 36px; height: 36px; }
.logo .cart-word { color: var(--brand); }
.search { flex: 1; position: relative; max-width: 560px; }
.search input { width: 100%; height: 44px; border-radius: 12px; border: 1.5px solid var(--line); background: var(--surface-2); padding: 0 16px 0 42px; outline: none; transition: border-color .15s, background .15s; }
.search input:focus { border-color: var(--brand); background: var(--surface); }
.search svg { position: absolute; left: 15px; top: 50%; transform: translateY(-50%); color: var(--ink-3); pointer-events: none; }
.nav { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.country select { height: 40px; border-radius: 10px; border: 1.5px solid var(--line); background: var(--surface); padding: 0 10px; max-width: 170px; cursor: pointer; font-weight: 600; }
.icon-btn { position: relative; height: 40px; min-width: 40px; padding: 0 12px; border-radius: 10px; border: 0; background: transparent; display: inline-flex; align-items: center; gap: 8px; text-decoration: none; cursor: pointer; font-weight: 700; }
.icon-btn:hover { background: var(--surface-2); }
.badge-count { position: absolute; top: 1px; right: 1px; min-width: 18px; height: 18px; border-radius: 9px; background: var(--brand); color: var(--brand-ink); font-size: 11px; font-weight: 800; display: grid; place-items: center; padding: 0 5px; }
.catnav { display: flex; gap: 2px; overflow-x: auto; scrollbar-width: none; margin: 0 -8px; padding-bottom: 6px; }
.catnav::-webkit-scrollbar { display: none; }
.catnav a { padding: 6px 10px; border-radius: 8px; font-size: 14px; font-weight: 600; text-decoration: none; color: var(--ink-2); white-space: nowrap; }
.catnav a:hover { color: var(--ink); background: var(--surface-2); }
.catnav a.active { color: var(--brand); }

/* ---- common ---- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 48px; padding: 0 24px; border-radius: 12px; border: 1.5px solid var(--line); background: var(--surface); font-weight: 700; cursor: pointer; text-decoration: none; transition: transform .08s ease, background .15s, border-color .15s; }
.btn:hover { background: var(--surface-2); }
.btn:active { transform: translateY(1px); }
.btn.primary { background: var(--brand); border-color: var(--brand); color: var(--brand-ink); }
.btn.primary:hover { background: color-mix(in srgb, var(--brand) 86%, black); }
.btn.dark { background: var(--ink); border-color: var(--ink); color: var(--bg); }
.btn.small { height: 36px; padding: 0 14px; font-size: 14px; border-radius: 10px; }
.btn.block { width: 100%; }
.btn[disabled] { opacity: .5; cursor: not-allowed; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }
.muted { color: var(--ink-2); }
.faint { color: var(--ink-3); font-size: 13px; }
.chip { display: inline-flex; align-items: center; gap: 6px; height: 36px; padding: 0 14px; border-radius: 10px; border: 1.5px solid var(--line); background: var(--surface); text-decoration: none; font-weight: 600; font-size: 14px; white-space: nowrap; cursor: pointer; }
.chip:hover { border-color: var(--ink-3); }
.chip.active { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.pill { display: inline-flex; align-items: center; height: 24px; padding: 0 10px; border-radius: 999px; font-size: 12px; font-weight: 700; background: var(--surface-3); color: var(--ink-2); }
.pill.ok { background: var(--ok-soft); color: var(--ok); }
.pill.warn { background: var(--warn-soft); color: var(--warn); }
.pill.bad { background: var(--bad-soft); color: var(--bad); }
.notice { display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; border-radius: var(--radius-sm); background: var(--warn-soft); color: var(--ink); font-size: 14px; }
.notice.info { background: var(--brand-soft); }
.notice.error { background: var(--bad-soft); }
.notice svg { flex: none; margin-top: 2px; }
h1, h2, h3 { letter-spacing: -.03em; line-height: 1.1; margin: 0; }
h1 { font-size: clamp(34px, 6vw, 64px); font-weight: 800; }
h2 { font-size: clamp(22px, 3vw, 28px); font-weight: 800; }
h3 { font-size: 17px; font-weight: 700; }
.section { margin-top: 56px; }
.band { background: var(--surface-2); padding: 48px 0 56px; margin-top: 56px; }
.band .section:first-child { margin-top: 0; }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 16px; margin-bottom: 20px; }
.section-head a { font-weight: 700; text-decoration: none; color: var(--brand); white-space: nowrap; }
.cc-tag { display: inline-block; font-size: .55em; vertical-align: .35em; margin-left: 6px; color: var(--brand); font-weight: 800; }
.spinner { width: 24px; height: 24px; border-radius: 50%; border: 3px solid var(--line); border-top-color: var(--brand); animation: spin .8s linear infinite; margin: 60px auto; }
@keyframes spin { to { transform: rotate(360deg); } }
.empty { text-align: center; padding: 60px 20px; color: var(--ink-2); }

/* ---- hero ---- */
.hero { text-align: center; padding: 64px 0 20px; position: relative; }
.hero .count { display: inline-block; background: var(--mint); color: var(--mint-ink); padding: 0 .18em; border-radius: .12em; }
.hero h1 { max-width: 900px; margin: 0 auto; text-transform: uppercase; letter-spacing: -.035em; line-height: 1.02; }
.hero h1 .accent { color: var(--brand); }
.hero p.lead { font-size: 18px; color: var(--ink-2); max-width: 560px; margin: 20px auto 30px; }
.hero .cta { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }
.stats { display: flex; justify-content: center; gap: 44px; margin-top: 40px; flex-wrap: wrap; }
.stat-item { display: flex; align-items: center; gap: 10px; text-align: left; }
.stat-item .ico { width: 42px; height: 42px; border-radius: 12px; background: var(--brand-soft); color: var(--brand); display: grid; place-items: center; }
.stat-item b { display: block; font-size: 20px; letter-spacing: -.02em; line-height: 1.1; }
.stat-item span { font-size: 13px; color: var(--ink-3); }

/* category icon strip */
.catstrip { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; margin-top: 48px; border-top: 1px solid var(--line); padding: 22px 2px 10px; }
.catstrip::-webkit-scrollbar { display: none; }
.catstrip a { flex: none; display: flex; flex-direction: column; align-items: center; gap: 8px; min-width: 92px; padding: 10px 8px; border-radius: 12px; text-decoration: none; font-size: 13px; font-weight: 600; color: var(--ink-2); }
.catstrip a:hover { background: var(--surface-2); color: var(--ink); }
.catstrip a .ico { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; background: var(--surface-2); color: var(--ink); transition: background .15s, color .15s; }
.catstrip a:hover .ico { background: var(--brand); color: #fff; }

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.step { padding: 26px; }
.step .num { width: 44px; height: 44px; border-radius: 12px; background: var(--brand); color: #fff; display: grid; place-items: center; margin-bottom: 18px; }
.step .num.mint { background: var(--mint); color: var(--mint-ink); }
.step .num.ink { background: var(--ink); color: var(--bg); }
.step p { margin: 8px 0 0; color: var(--ink-2); font-size: 14px; }
.faq { max-width: 820px; }
.faq details { border-bottom: 1px solid var(--line); padding: 18px 4px; }
.faq summary { cursor: pointer; font-weight: 700; font-size: 16px; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 22px; line-height: 1; color: var(--brand); }
.faq details[open] summary::after { content: "−"; }
.faq details p { margin: 10px 0 0; color: var(--ink-2); }

/* ---- product grid ---- */
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(196px, 1fr)); gap: 18px; }
.pcard { text-decoration: none; display: flex; flex-direction: column; gap: 10px; }
.pcard .tile { border-radius: var(--radius); transition: transform .15s ease, box-shadow .15s ease; }
.pcard:hover .tile { transform: translateY(-3px); box-shadow: 0 12px 26px rgba(22, 18, 58, .18); }
.pcard .name { font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pcard .meta { display: flex; justify-content: space-between; gap: 8px; font-size: 13px; color: var(--ink-3); margin-top: -6px; }
.tile { aspect-ratio: 1.58; display: flex; align-items: center; justify-content: center; padding: 16px; color: #fff; position: relative; overflow: hidden; border-radius: var(--radius-sm); }
.tile::before { content: ""; position: absolute; inset: 0; background: radial-gradient(120% 90% at 100% 0%, rgba(255, 255, 255, .22), transparent 55%); }
.tile .mono { font-size: 23px; font-weight: 800; letter-spacing: -.03em; text-align: center; position: relative; z-index: 1; line-height: 1.05; text-shadow: 0 1px 2px rgba(0, 0, 0, .15); overflow-wrap: anywhere; }
.tile .cc { position: absolute; right: 10px; bottom: 10px; font-size: 10px; font-weight: 800; letter-spacing: .04em; background: rgba(0, 0, 0, .25); padding: 3px 7px; border-radius: 6px; z-index: 1; }
.tile .chipdots { position: absolute; left: 12px; top: 12px; display: flex; gap: 3px; z-index: 1; opacity: .85; }
.tile .chipdots i { width: 6px; height: 6px; border-radius: 2px; background: rgba(255, 255, 255, .8); }
.tile .chipdots i:nth-child(2) { background: rgba(255, 255, 255, .45); }
.tile.big { border-radius: 22px; }
.tile.big .mono { font-size: 40px; }

/* ---- browse ---- */
.browse { display: grid; grid-template-columns: 230px 1fr; gap: 32px; margin-top: 28px; }
.browse > *, .two-col > *, .product > * { min-width: 0; }
.filters h3 { font-size: 12px; text-transform: uppercase; letter-spacing: .08em; color: var(--ink-3); margin: 0 0 10px; }
.filters a { display: flex; justify-content: space-between; padding: 7px 10px; border-radius: 8px; text-decoration: none; font-weight: 600; font-size: 14px; }
.filters a:hover { background: var(--surface-2); }
.filters a.active { background: var(--brand-soft); color: var(--brand); }
.filters a span { color: var(--ink-3); font-weight: 500; }
.results-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 18px; gap: 12px; flex-wrap: wrap; }
.more { display: flex; justify-content: center; margin-top: 28px; }
.cat-scroll { display: none; }

/* ---- product page ---- */
.crumbs { margin: 26px 0 20px; font-size: 14px; color: var(--ink-3); }
.crumbs a { text-decoration: none; color: var(--ink-2); }
.crumbs a:hover { color: var(--brand); }
.product { display: grid; grid-template-columns: 1fr 1fr; gap: 44px; align-items: start; }
.product .facts { display: flex; gap: 8px; flex-wrap: wrap; margin: 14px 0 0; }
.product .perks { margin-top: 22px; display: grid; gap: 10px; }
.product .perks div { display: flex; gap: 10px; align-items: center; font-size: 14px; color: var(--ink-2); }
.product .perks svg { color: var(--brand); flex: none; }
.buybox { padding: 26px; }
.buybox h1 { font-size: 32px; text-transform: none; }
.label { font-weight: 700; font-size: 14px; margin: 24px 0 10px; display: block; }
.denoms { display: grid; grid-template-columns: repeat(auto-fill, minmax(100px, 1fr)); gap: 8px; }
.denom { border: 1.5px solid var(--line); background: var(--surface); border-radius: 12px; padding: 11px 8px; cursor: pointer; text-align: center; transition: border-color .12s, background .12s; }
.denom b { display: block; font-size: 16px; }
.denom small { color: var(--ink-3); font-size: 12px; }
.denom:hover { border-color: var(--ink-3); }
.denom[aria-pressed="true"] { border-color: var(--brand); background: var(--brand-soft); box-shadow: inset 0 0 0 1px var(--brand); }
.amount-input { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.amount-input input { width: 170px; height: 48px; border-radius: 12px; border: 1.5px solid var(--line); background: var(--surface); padding: 0 14px; font-size: 17px; font-weight: 700; }
.qty { display: inline-flex; align-items: center; border: 1.5px solid var(--line); border-radius: 12px; overflow: hidden; }
.qty button { width: 42px; height: 42px; border: 0; background: transparent; cursor: pointer; font-size: 18px; font-weight: 700; }
.qty button:hover { background: var(--surface-2); }
.qty span { min-width: 34px; text-align: center; font-weight: 700; }
.total-row { display: flex; justify-content: space-between; align-items: center; margin: 26px 0 16px; padding-top: 20px; border-top: 1px solid var(--line); }
.total-row b { font-size: 28px; letter-spacing: -.03em; }
.buy-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
details.terms { margin-top: 22px; border-top: 1px solid var(--line); padding-top: 14px; }
details.terms summary { cursor: pointer; font-weight: 700; }
details.terms pre { white-space: pre-wrap; font: 13px/1.6 var(--font); color: var(--ink-2); max-height: 280px; overflow: auto; }

/* ---- cart / checkout ---- */
.two-col { display: grid; grid-template-columns: 1fr 380px; gap: 30px; align-items: start; margin-top: 30px; }
.line { display: grid; grid-template-columns: 100px 1fr auto; gap: 16px; align-items: center; padding: 16px; border-bottom: 1px solid var(--line); }
.line:last-child { border-bottom: 0; }
.line .tile { border-radius: 10px; padding: 8px; }
.line .tile .mono { font-size: 14px; }
.line .tile .cc, .line .tile .chipdots { display: none; }
.line .right { text-align: right; display: flex; flex-direction: column; align-items: flex-end; gap: 8px; }
.link-btn { background: none; border: 0; color: var(--ink-3); cursor: pointer; font-size: 13px; text-decoration: underline; padding: 0; }
.summary { padding: 24px; position: sticky; top: 130px; }
.summary .row { display: flex; justify-content: space-between; margin: 8px 0; }
.field { display: block; margin: 16px 0; }
.field span { display: block; font-weight: 700; font-size: 14px; margin-bottom: 6px; }
.field input { width: 100%; height: 48px; border-radius: 12px; border: 1.5px solid var(--line); background: var(--surface); padding: 0 14px; }
.field input:focus, .amount-input input:focus { outline: none; border-color: var(--brand); }

/* ---- order page ---- */
.order-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; margin: 30px 0 20px; flex-wrap: wrap; }
.order-item { padding: 22px; margin-bottom: 14px; }
.order-item .top { display: flex; justify-content: space-between; gap: 12px; align-items: center; }
.code-box { margin-top: 14px; border: 1.5px dashed var(--brand); border-radius: 12px; padding: 14px; background: var(--brand-soft); }
.code-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 4px 0; }
.code-row code { font: 700 18px var(--mono); letter-spacing: .05em; word-break: break-all; }
.code-row .k { font-size: 12px; color: var(--ink-3); text-transform: uppercase; letter-spacing: .06em; font-weight: 700; }
.timeline { display: flex; gap: 8px; margin-top: 14px; }
.timeline div { flex: 1; height: 5px; border-radius: 3px; background: var(--line); }
.timeline div.on { background: var(--brand); }

/* ---- footer ---- */
footer { background: #16123a; color: #c9c6e6; padding: 48px 0 28px; font-size: 14px; }
.foot { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 32px; }
.foot .logo { color: #fff; }
.foot .logo .cart-word { color: #a996ff; }
.foot p { margin: 14px 0 0; max-width: 300px; }
.foot h4 { color: #fff; margin: 4px 0 12px; font-size: 14px; }
.foot a { display: block; color: #c9c6e6; text-decoration: none; margin: 7px 0; }
.foot a:hover { color: #fff; }
.foot-bottom { border-top: 1px solid rgba(255, 255, 255, .12); margin-top: 36px; padding-top: 20px; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 13px; color: #9a96c2; }

.toast { position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%) translateY(20px); background: var(--ink); color: var(--bg); padding: 12px 18px; border-radius: 12px; font-weight: 700; font-size: 14px; opacity: 0; transition: .2s; pointer-events: none; z-index: 50; }
.toast.show { opacity: 1; transform: translateX(-50%); }

/* ---- responsive ---- */
@media (max-width: 900px) {
  .product, .two-col { grid-template-columns: 1fr; }
  .product .tile.big { max-width: 420px; }
  .summary { position: static; }
  .browse { grid-template-columns: 1fr; }
  .filters { display: none; }
  .cat-scroll { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 6px; margin-bottom: 14px; scrollbar-width: none; }
  .foot { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .wrap { padding: 0 16px; }
  .topbar .row { flex-wrap: wrap; height: auto; padding: 10px 0; gap: 10px; }
  .topbar .search { order: 3; flex-basis: 100%; max-width: none; }
  .nav .label-text { display: none; }
  .country select { max-width: 120px; }
  .hero { padding-top: 40px; }
  .stats { gap: 18px; justify-content: flex-start; }
  .steps { grid-template-columns: 1fr; }
  .grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .tile .mono { font-size: 17px; }
  .line { grid-template-columns: 64px 1fr; }
  .line .right { grid-column: 1 / -1; flex-direction: row; justify-content: space-between; align-items: center; }
  .buy-actions { grid-template-columns: 1fr; }
  .foot { grid-template-columns: 1fr; }
}
.section[id] { scroll-margin-top: 140px; }
.foot a.logo { display: flex; margin: 0; }

/* ---- brand artwork tiles ---- */
.tile.art { padding: 12% 14%; }
.tile.art::before { background: radial-gradient(120% 90% at 100% 0%, rgba(255, 255, 255, .14), transparent 55%); }
.tile.art img { position: relative; z-index: 1; max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; }
.tile.art.light { box-shadow: inset 0 0 0 1px var(--line); }
.tile.art.light::before { display: none; }
.tile.art.light .cc { background: rgba(22, 18, 58, .08); color: #16123a; }

/* ---- product page (buy box on the right) ---- */
.pd-title { margin-bottom: 26px; }
.pd-title h1 { font-size: clamp(28px, 4vw, 40px); text-transform: none; }
.pd-bullets { list-style: none; padding: 0; margin: 14px 0 0; display: grid; gap: 6px; color: var(--ink-2); font-size: 15px; }
.pd-bullets li { display: flex; gap: 10px; align-items: center; }
.pd-bullets li::before { content: ""; width: 7px; height: 7px; border-radius: 2px; background: var(--brand); flex: none; }
.product { grid-template-columns: minmax(0, 1fr) 370px; gap: 40px; }
.pd-main { display: grid; gap: 34px; }
.pd-hero { display: grid; grid-template-columns: minmax(0, 340px) 1fr; gap: 26px; align-items: center; }
.pd-hero .tile.big { max-width: 340px; }
.pd-meta { display: grid; gap: 12px; }
.pd-meta .facts, .pd-meta .perks { margin: 0; }
.pd-h2 { font-size: 20px; margin-bottom: 14px; }
.denoms { grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 12px; }
.denom { padding: 18px 10px; border-radius: 14px; }
.denom b { font-size: 20px; letter-spacing: -.02em; }
.denom small { font-size: 14px; color: var(--ink-2); }
.accs { display: grid; gap: 10px; }
.acc { border: 1px solid var(--line); border-radius: 14px; background: var(--surface); }
.acc summary { cursor: pointer; list-style: none; padding: 18px 20px; font-weight: 700; display: flex; justify-content: space-between; align-items: center; }
.acc summary::-webkit-details-marker { display: none; }
.acc summary::after { content: "+"; width: 30px; height: 30px; border-radius: 50%; background: var(--surface-2); display: grid; place-items: center; font-size: 18px; color: var(--brand); }
.acc[open] summary::after { content: "−"; }
.acc-body { padding: 0 20px 18px; color: var(--ink-2); font-size: 14px; }
.acc-body ol { margin: 0; padding-left: 20px; display: grid; gap: 6px; }
.acc-body .pre { white-space: pre-wrap; margin: 0; max-height: 340px; overflow: auto; }
.buybox { position: sticky; top: 130px; padding: 22px; display: grid; gap: 12px; }
.bb-head { display: grid; grid-template-columns: 48px 1fr auto; gap: 12px; align-items: center; }
.bb-logo { width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; overflow: hidden; box-shadow: inset 0 0 0 1px var(--line); }
.bb-logo img { width: 74%; height: 74%; object-fit: contain; }
.bb-logo.gen { background: var(--brand); color: #fff; font-weight: 800; font-size: 20px; }
.bb-name { font-weight: 700; line-height: 1.2; }
.bb-sel { font-size: 14px; color: var(--ink-2); }
.bb-qty select { height: 38px; border-radius: 10px; border: 1.5px solid var(--line); background: var(--surface); padding: 0 8px; font-weight: 700; cursor: pointer; }
.bb-total { padding: 6px 0 4px; }
.bb-price { font-size: 30px; font-weight: 800; letter-spacing: -.03em; }
.bb-note { margin: 2px 0 0; text-align: center; }
@media (max-width: 900px) {
  .product { grid-template-columns: 1fr; }
  .buybox { position: static; }
  .pd-hero { grid-template-columns: 1fr; }
}

/* ---- utilities & accessibility ---- */
.h2 { font-size: clamp(22px, 3vw, 28px); font-weight: 800; letter-spacing: -.03em; }
.h3 { font-size: 17px; font-weight: 700; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--brand); color: var(--brand-ink); padding: 10px 14px; border-radius: 10px; font-weight: 700; text-decoration: none; }
.skip:focus { top: 12px; }
:focus-visible { outline: 3px solid var(--brand); outline-offset: 2px; }
main:focus, h1[tabindex="-1"]:focus, h2[tabindex="-1"]:focus { outline: none; }
.wrap.narrow { max-width: 780px; }
.page-title { margin: 30px 0 16px; }
.sub { margin: 6px 0 0; }
.bad-text { color: var(--bad); }
.pre { white-space: pre-wrap; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .pcard:hover .tile { transform: none; }
}

/* ---- skeleton loading ---- */
.pcard.skeleton .tile, .sk-line { background: var(--surface-3); border-radius: var(--radius); }
.sk-line { height: 12px; border-radius: 6px; width: 80%; }
.sk-line.short { width: 45%; }
.pcard.skeleton .tile, .pcard.skeleton .sk-line { animation: pulse 1.4s ease-in-out infinite; }
@keyframes pulse { 50% { opacity: .55; } }

/* ---- search suggestions ---- */
.suggest { position: absolute; top: calc(100% + 6px); left: 0; right: 0; margin: 0; padding: 6px; list-style: none; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; box-shadow: var(--shadow); z-index: 30; }
.suggest li a { display: flex; justify-content: space-between; gap: 12px; padding: 9px 12px; border-radius: 8px; text-decoration: none; font-size: 14px; font-weight: 600; }
.suggest li[aria-selected="true"] a, .suggest li a:hover { background: var(--surface-2); }
.suggest .sg-all a { color: var(--brand); }
.inline-search { margin: 18px auto; max-width: 420px; }
.inline-search input { padding-left: 16px; }

/* ---- browse controls ---- */
.filters-title { font-size: 12px; text-transform: uppercase; letter-spacing: .08em; color: var(--ink-3); margin: 0 0 10px; font-weight: 700; }
.sorters { display: flex; gap: 8px; flex-wrap: wrap; }
.sorters select { height: 40px; border-radius: 10px; border: 1.5px solid var(--line); background: var(--surface); padding: 0 10px; font-weight: 600; cursor: pointer; }
.retry { display: grid; gap: 12px; justify-items: center; }
.results-head .muted { font-size: 14px; }

/* ---- trust row ---- */
.trust { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.trust-item { display: flex; gap: 12px; align-items: flex-start; padding: 18px; border-radius: 14px; background: var(--surface-2); }
.trust-item .ico { width: 38px; height: 38px; border-radius: 10px; background: var(--brand-soft); color: var(--brand); display: grid; place-items: center; flex: none; }
.trust-item b { display: block; }
.trust-item span { color: var(--ink-2); font-size: 14px; }

/* ---- product extras ---- */
.pd-warn { margin: -10px 0 22px; }
.pill[href] { text-decoration: none; }
.pill[href]:hover { background: var(--brand-soft); color: var(--brand); }
.bb-note { display: flex; gap: 8px; align-items: flex-start; text-align: left; }
.bb-note span { color: var(--brand); flex: none; }

/* ---- cart & checkout ---- */
.line-name { font-weight: 700; text-decoration: none; }
.line.unavailable { opacity: .65; }
.line .qty { margin-top: 8px; }
.qty button[disabled] { opacity: .35; cursor: not-allowed; }
.summary .row.total { font-weight: 800; font-size: 20px; border-top: 1px solid var(--line); padding-top: 12px; margin-top: 12px; }
.summary .notice { margin: 14px 0; }
.check { display: flex; gap: 10px; align-items: center; font-weight: 700; font-size: 14px; cursor: pointer; margin: 4px 0 8px; }
.check input { width: 18px; height: 18px; accent-color: var(--brand); }
.check > span { display: inline-flex; gap: 8px; align-items: center; }
.check svg { color: var(--brand); }
.gift-fields { padding: 4px 0 2px; }
.field textarea { width: 100%; border-radius: 12px; border: 1.5px solid var(--line); background: var(--surface); padding: 12px 14px; font: inherit; resize: vertical; }
.field textarea:focus { outline: none; border-color: var(--brand); }
.turnstile { margin: 12px 0; min-height: 0; }
.trust-line { display: flex; gap: 6px; align-items: center; justify-content: center; flex-wrap: wrap; margin: 12px 0 0; }
.trust-line span { color: var(--brand); display: inline-flex; }
.notice + .notice, .notice + .card { margin-top: 12px; }
.two-col > div > .notice { margin-bottom: 12px; }

/* ---- orders ---- */
.oi-head { display: flex; gap: 14px; align-items: center; }
.oi-head .tile { width: 84px; flex: none; padding: 8px; border-radius: 10px; }
.oi-head .tile .mono { font-size: 12px; }
.oi-head .tile .cc, .oi-head .tile .chipdots { display: none; }
.order-item p.muted { margin: 12px 0 0; }
.oh-total { text-align: right; }
.oh-total b { font-size: 22px; }
.order-link { display: flex; gap: 12px; justify-content: space-between; align-items: center; flex-wrap: wrap; padding: 12px 16px; border-radius: 12px; background: var(--surface-2); margin-bottom: 16px; font-size: 14px; }
.gift-msg { margin: 0 0 18px; padding: 16px 20px; border-left: 4px solid var(--brand); background: var(--brand-soft); border-radius: 0 12px 12px 0; font-size: 17px; font-weight: 600; }
.order-line { grid-template-columns: 1fr auto; text-decoration: none; }
.find-box { padding: 22px; margin-top: 20px; }
.find-box p { margin: 6px 0 14px; }
.find-form { padding: 22px; }

/* ---- legal pages ---- */
.legal section { margin: 22px 0; }
.legal section h2 { margin-bottom: 8px; }
.legal p { color: var(--ink-2); margin: 6px 0; }

/* ---- footer extras ---- */
.foot-h { color: #fff; margin: 4px 0 12px; font-size: 14px; font-weight: 700; letter-spacing: 0; }
.foot .support { font-size: 13px; color: #a8a4cf; }

@media (max-width: 900px) {
  .trust { grid-template-columns: 1fr; }
}

/* ---- currency ---- */
.country.currency select { max-width: 120px; }
.currency-note { margin-top: 2px; }
.foot-bottom a { color: inherit; }
@media (max-width: 640px) {
  .country.currency select { max-width: 96px; }
}
.custom-amount { margin-top: 14px; padding: 12px 14px; border: 1.5px dashed var(--line); border-radius: 14px; }
.custom-amount label { display: block; font-weight: 700; font-size: 14px; margin-bottom: 8px; }
.custom-amount.active { border-style: solid; border-color: var(--brand); background: var(--brand-soft); }

/* ---- phone top-ups ---- */
.phone-field { margin: 4px 0 0; }
.phone-field input { font-size: 16px; letter-spacing: .02em; }
.denom.long b { font-size: 14px; line-height: 1.3; }

/* ---- add-to-cart feedback: header subtotal, badge pop, cart drawer ---- */
.cart-total { font-weight: 700; font-size: 13px; color: var(--ink-2); }
.badge-count.bump { animation: bump .45s ease; }
@keyframes bump { 0% { transform: scale(1); } 35% { transform: scale(1.45); } 100% { transform: scale(1); } }
.in-cart { display: flex; align-items: center; gap: 6px; margin: 2px 0 0; font-size: 14px; font-weight: 600; color: var(--ok); }
.in-cart a { color: var(--brand); }

.drawer-wrap { position: fixed; inset: 0; z-index: 60; }
.drawer-scrim { position: absolute; inset: 0; background: rgba(13, 11, 34, .35); opacity: 0; transition: opacity .2s ease; }
.drawer {
  position: absolute; top: 0; right: 0; height: 100%; width: min(420px, 100%); background: var(--surface); color: var(--ink);
  box-shadow: -12px 0 40px rgba(13, 11, 34, .25); padding: 20px 22px; display: flex; flex-direction: column; gap: 14px;
  overflow-y: auto; transform: translateX(100%); transition: transform .25s ease;
}
.drawer-wrap.open .drawer-scrim { opacity: 1; }
.drawer-wrap.open .drawer { transform: none; }
.drawer-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.drawer-head h2 { display: flex; align-items: center; gap: 8px; outline: none; }
.ok-mark { width: 26px; height: 26px; border-radius: 50%; background: var(--ok-soft); color: var(--ok); display: grid; place-items: center; }
.drawer-close { width: 38px; height: 38px; border-radius: 10px; border: 0; background: var(--surface-2); font-size: 22px; line-height: 1; cursor: pointer; }
.drawer-close:hover { background: var(--surface-3); }
.drawer-item { display: grid; grid-template-columns: 110px 1fr; gap: 14px; align-items: center; padding: 14px; border: 1px solid var(--line); border-radius: 14px; }
.drawer-item .tile { border-radius: 10px; padding: 8px; }
.drawer-item .tile .mono { font-size: 14px; }
.drawer-item .tile .cc, .drawer-item .tile .chipdots { display: none; }
.drawer-line { display: flex; justify-content: space-between; margin-top: 6px; font-size: 14px; }
.drawer-others { margin: 0; }
.drawer-total { display: flex; justify-content: space-between; align-items: baseline; padding-top: 14px; border-top: 1px solid var(--line); font-size: 15px; }
.drawer-total b { font-size: 20px; letter-spacing: -.02em; }
.drawer-actions { display: grid; gap: 10px; margin-top: 4px; }
.drawer-continue { justify-self: center; font-size: 14px; padding: 6px; }
@media (max-width: 640px) {
  .cart-total { display: none; }
  /* bottom sheet on phones */
  .drawer { top: auto; bottom: 0; height: auto; max-height: 88vh; width: 100%; border-radius: 18px 18px 0 0; transform: translateY(100%); box-shadow: 0 -12px 40px rgba(13, 11, 34, .25); }
  .drawer-item { grid-template-columns: 84px 1fr; }
}

/* ---- wallet dialog (Connect & Pay; markup from assets/wallet.js), scoped to .wm ---- */
.wm { --panel: var(--surface); --panel-2: var(--surface-2); --text: var(--ink); --muted: var(--ink-3); --accent: var(--brand); --accent-2: var(--brand); --danger: var(--bad);
  position: fixed; inset: 0; z-index: 90; display: grid; place-items: center; padding: 16px;
  background: rgba(13, 11, 34, .62); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); animation: wm-fade .15s ease-out; }
@keyframes wm-fade { from { opacity: 0; } }
@keyframes wm-rise { from { opacity: 0; transform: translateY(8px) scale(.98); } }
.wm .modal { width: 100%; max-width: 440px; max-height: calc(100dvh - 32px); overflow-y: auto; background: var(--surface); color: var(--ink);
  border: 1px solid var(--line); border-radius: 22px; padding: 22px 22px 20px; box-shadow: 0 24px 64px -16px rgba(13, 11, 34, .5); animation: wm-rise .18s ease-out; }
.wm :focus { outline: none; }
.wm :focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; }

/* header + progress */
.wm .modal-head { display: flex; align-items: flex-start; gap: 8px; margin: 0 0 16px; }
.wm .modal-head h2 { margin: 0; font-size: 19px; line-height: 1.25; font-weight: 800; letter-spacing: -.01em; }
.wm .wiz-title { flex: 1; min-width: 0; }
.wm .wiz-cap { display: block; font-size: 11px; font-weight: 800; letter-spacing: .07em; text-transform: uppercase; color: var(--brand); margin-bottom: 4px; }
.wm .icon-btn { flex: none; width: 34px; height: 34px; min-width: 0; padding: 0; border-radius: 10px; display: grid; place-items: center; color: var(--ink-3); font-size: 16px; background: var(--surface-2); }
.wm .icon-btn:hover { color: var(--ink); background: var(--surface-3); }
.wm .wiz-bar { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; margin: 0 0 18px; }
.wm .wiz-bar span { font-size: 11.5px; font-weight: 600; color: var(--ink-3); padding-top: 8px; border-top: 3px solid var(--line); text-align: center; border-radius: 2px; }
.wm .wiz-bar span.done { border-color: var(--ok); color: var(--ok); }
.wm .wiz-bar span.on { border-color: var(--brand); color: var(--ink); font-weight: 800; }

/* buttons */
.wm .btn { width: 100%; height: 48px; border-radius: 12px; background: var(--brand); border: 1.5px solid var(--brand); color: var(--brand-ink); font-weight: 800; }
.wm .btn:hover { background: color-mix(in srgb, var(--brand) 86%, black); }
.wm .btn.ghost { background: var(--surface); border-color: var(--line); color: var(--ink); font-weight: 700; }
.wm .btn.ghost:hover { background: var(--surface-2); }
.wm .btn.danger { background: var(--bad); border-color: var(--bad); }
.wm .btn-col { display: flex; flex-direction: column; gap: 10px; margin-top: 4px; }
.wm .muted { color: var(--ink-3); }
.wm .hidden { display: none !important; }
.wm .alert { padding: 12px 14px; border-radius: 12px; font-size: 14px; margin-bottom: 14px; background: var(--surface-2); }
.wm .alert.err { background: var(--bad-soft); }
.wm .linkish { background: none; border: 0; padding: 0; color: var(--brand); font: inherit; font-weight: 700; text-decoration: underline; cursor: pointer; }
.wm .badge { display: inline-block; padding: 2px 8px; border-radius: 999px; font-size: 11px; font-weight: 700; background: var(--surface-3); color: var(--ink-3); }
.wm .badge.ok { background: var(--ok-soft); color: var(--ok); }

/* wallet grid */
.wm .wallet-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.wm .wallet-tile { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; min-height: 112px;
  padding: 26px 8px 14px; border-radius: 16px; border: 1.5px solid var(--line); background: var(--surface); color: var(--ink); cursor: pointer; font: inherit;
  transition: border-color .15s, background .15s, transform .08s; }
.wm .wallet-tile:hover:not([disabled]), .wm .wallet-tile:focus-visible { border-color: var(--brand); background: var(--brand-soft); outline: none; }
.wm .wallet-tile:active:not([disabled]) { transform: translateY(1px); }
.wm .wallet-tile[disabled] { opacity: .45; cursor: not-allowed; }
.wm .wallet-tile b { font-size: 13px; font-weight: 700; line-height: 1.2; text-align: center; }
.wm .wallet-ico { flex: none; width: 40px; height: 40px; border-radius: 11px; display: grid; place-items: center; font-weight: 800; background: var(--brand); color: #fff; overflow: hidden; object-fit: cover; }
.wm .wallet-ico.wc { background: #3b99fc; }
.wm .wallet-tile .wallet-ico { width: 42px; height: 42px; border-radius: 12px; font-size: 18px; box-shadow: 0 0 0 1px rgba(13, 11, 34, .06); }
.wm .tile-badge { position: absolute; top: 7px; left: 50%; transform: translateX(-50%); white-space: nowrap; font-size: 10px; font-weight: 700; line-height: 16px; padding: 0 7px; border-radius: 999px; background: var(--surface-3); color: var(--ink-3); }
.wm .tile-badge.ok { background: var(--ok-soft); color: var(--ok); }
.wm .wiz-how { margin: 16px 4px 0; font-size: 13px; line-height: 1.5; color: var(--ink-3); text-align: center; }
.wm .wiz-foot { display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--line); font-size: 12.5px; color: var(--ink-3); }
.wm .wiz-foot a, .wm .modal-hint a { color: var(--brand); font-weight: 600; }
.wm .wiz-tip { margin-top: 14px; font-size: 13px; color: var(--ink-3); }
.wm .wiz-tip summary { cursor: pointer; color: var(--brand); font-weight: 600; }
.wm .wiz-tip p { margin: 8px 0 0; }
.wm .modal-sub { margin: -6px 2px 14px; color: var(--ink-3); font-size: 14px; }
.wm .modal-hint { color: var(--ink-3); font-size: 12.5px; margin: 14px 2px 0; line-height: 1.5; }

/* network list */
.wm .wallet-opt { display: flex; gap: 12px; align-items: center; width: 100%; text-align: left; background: var(--surface); border: 1.5px solid var(--line); color: var(--ink); border-radius: 14px; padding: 12px 14px; cursor: pointer; font: inherit; transition: border-color .15s, background .15s; }
.wm .wallet-opt:hover:not(:disabled), .wm .wallet-opt:focus-visible { border-color: var(--brand); background: var(--brand-soft); outline: none; }
.wm .wallet-opt b { display: block; font-size: 15px; }
.wm .wallet-opt small { display: block; color: var(--ink-3); font-size: 12.5px; margin-top: 2px; }
.wm .net-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.wm .net-grid .net-opt { flex-direction: column; align-items: flex-start; gap: 10px; position: relative; min-height: 104px; padding: 14px; }
.wm .net-grid .net-opt .badge { position: absolute; top: 12px; right: 12px; }
.wm .net-ico { display: inline-block; flex: none; border-radius: 50%; vertical-align: middle; }

/* connecting / signing */
.wm .connect-state { text-align: center; padding: 4px 4px 18px; }
.wm .connect-state p { margin: 16px 0 0; line-height: 1.5; }
.wm .connect-icon { position: relative; width: 88px; height: 88px; margin: 4px auto 0; display: grid; place-items: center; }
.wm .connect-icon .wallet-ico.lg { width: 56px; height: 56px; border-radius: 16px; box-shadow: 0 0 0 1px rgba(13, 11, 34, .06); }
.wm .spinner { position: absolute; inset: 0; width: auto; height: auto; margin: 0; border-radius: 50%; border: 3px solid var(--brand-soft); border-top-color: var(--brand); animation: spin .9s linear infinite; }
.wm .steps { display: flex; flex-direction: column; gap: 4px; list-style: none; padding: 12px 16px; margin: 18px auto 0; max-width: 300px; text-align: left; background: var(--surface-2); border-radius: 14px; }
.wm .steps li { display: flex; gap: 12px; padding: 6px 0; align-items: center; font-size: 14px; }
.wm .steps .dot { flex: none; width: 24px; height: 24px; border-radius: 50%; border: 2px solid var(--line); display: grid; place-items: center; font-size: 12px; font-weight: 800; color: var(--ink-3); background: var(--surface); }
.wm .steps li.done .dot { background: var(--ok); border-color: var(--ok); color: #fff; }
.wm .steps li.current { font-weight: 700; }
.wm .steps li.current .dot { border-color: var(--brand); color: var(--brand); }
.wm .confirm-body { font-size: 14.5px; line-height: 1.55; margin-bottom: 18px; }
.wm .confirm-body p { margin: 0 0 10px; }
@media (max-width: 440px) {
  .wm { padding: 10px; align-items: end; }
  .wm .modal { padding: 18px 16px 16px; border-radius: 20px; }
  .wm .wallet-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
  .wm .wallet-tile { min-height: 100px; padding: 24px 4px 10px; }
  .wm .wallet-tile b { font-size: 12px; }
}
@media (max-width: 340px) { .wm .wallet-grid, .wm .net-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

.refund-box { margin-top: 12px; padding: 14px 16px; border-radius: var(--radius-sm); background: var(--warn-soft); }
.refund-box p { margin: 0 0 8px; }
.refund-box .btn { margin-top: 4px; }

.pcard .pcountry { font-size: 12px; font-weight: 600; color: var(--ink-3); margin-top: -2px; }
.pcard .pcountry.here { color: var(--ok); }
.sg-country { display: block; font-size: 12px; color: var(--ink-3); font-weight: 500; }

/* ---- launch discount ---- */
.pcard { position: relative; }
.promo-badge { position: absolute; top: 10px; left: 10px; z-index: 1; padding: 3px 9px; border-radius: 999px; background: var(--bad); color: #fff; font-size: 12px; font-weight: 800; box-shadow: 0 2px 6px rgba(0, 0, 0, .15); }
.was { color: var(--ink-3); font-weight: 500; margin-left: 6px; font-size: .88em; }
.promo-note { margin-top: 6px; font-size: 13px; font-weight: 700; color: var(--bad); }
.promo-row { color: var(--ok); font-weight: 700; }
.promo-hint { margin: 8px 0 0; }
.denom small .was { display: block; margin: 0; }

/* ---- Connect & Pay panel (cart) ---- */
.cpay { display: grid; gap: 10px; }
.cpay-src { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 12px; border: 1.5px solid var(--line); background: var(--surface-2); font-size: 14px; }
.cpay-src .grow { flex: 1; min-width: 0; }
.cpay-src .grow b { display: block; }
.cpay-src select { width: 100%; height: 38px; border-radius: 10px; border: 1.5px solid var(--line); background: var(--surface); color: var(--ink); padding: 0 8px; font: inherit; font-weight: 600; }
.cpay-meta { display: flex; justify-content: space-between; align-items: center; gap: 8px; flex-wrap: wrap; font-size: 12.5px; color: var(--ink-3); }
.cpay-meta button { background: none; border: 0; padding: 0; color: var(--brand); font: inherit; font-weight: 700; cursor: pointer; }
.cpay-note { font-size: 12.5px; color: var(--ink-3); margin: 0; }
.cpay-status { display: flex; gap: 10px; align-items: center; font-size: 14px; }
.cpay-status .spinner { width: 18px; height: 18px; margin: 0; border-width: 2.5px; flex: none; }
.or-line { display: flex; align-items: center; gap: 10px; color: var(--ink-3); font-size: 12px; margin: 4px 0; }
.or-line::before, .or-line::after { content: ""; flex: 1; border-top: 1px solid var(--line); }

/* ---- BityCart Card page ---- */
.card-page { padding-top: 28px; padding-bottom: 40px; }
.cp-head { margin-bottom: 18px; }
.cp-head h1 { margin: 0 0 4px; }
.cp-box { max-width: 560px; display: grid; gap: 10px; }
.cp-box .field { margin: 0; }
.cp-box .field select { width: 100%; height: 48px; border-radius: 12px; border: 1.5px solid var(--line); background: var(--surface); color: var(--ink); padding: 0 12px; font: inherit; }
.cp-box .pill { justify-self: start; }
.cp-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 20px; align-items: start; }
.cp-actions { display: flex; gap: 10px; flex-wrap: wrap; margin: 14px 0 10px; }
.cp-sub { margin: 22px 0 10px; }
.vcard { position: relative; aspect-ratio: 1.586; border-radius: 20px; padding: 22px 24px; color: #fff; display: flex; flex-direction: column; justify-content: space-between;
  background: radial-gradient(120% 120% at 100% 0%, #8b74ff 0%, transparent 55%), linear-gradient(135deg, #16123a 0%, #3a22c9 60%, #5b3df5 100%);
  box-shadow: 0 20px 40px -18px rgba(22, 18, 58, .6); overflow: hidden; }
.vcard::after { content: ""; position: absolute; width: 220px; height: 220px; right: -60px; bottom: -80px; border-radius: 50%; background: rgba(31, 224, 176, .18); }
.vcard.frozen { filter: grayscale(.85); }
.vc-top { display: flex; justify-content: space-between; align-items: center; font-size: 13px; letter-spacing: .08em; }
.vc-top b { font-size: 18px; letter-spacing: -.01em; }
.vc-number { font: 600 clamp(18px, 3.2vw, 24px) var(--mono); letter-spacing: .08em; }
.vc-bottom { display: flex; gap: 24px; position: relative; z-index: 1; }
.vc-bottom small { display: block; font-size: 10.5px; opacity: .7; text-transform: uppercase; letter-spacing: .08em; }
.vc-bottom b { font: 600 14px var(--mono); }
.cp-limit { margin: 10px 0; font-size: 14px; }
.cp-limit .row { display: flex; justify-content: space-between; margin-bottom: 6px; }
.meter { height: 8px; border-radius: 99px; background: var(--surface-3); overflow: hidden; }
.meter span { display: block; height: 100%; background: var(--brand); border-radius: 99px; }
.cp-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.cp-table th { text-align: left; font-size: 12px; color: var(--ink-3); padding: 10px 14px; border-bottom: 1px solid var(--line); }
.cp-table td { padding: 10px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
@media (max-width: 760px) { .cp-grid { grid-template-columns: 1fr; } .vcard { padding: 18px; } }
.card-page .panel { padding: 20px 22px; }
.fee-check { align-items: flex-start; gap: 10px; font-size: 14px; }
.fee-box { background: var(--surface-2); border-radius: 12px; padding: 12px 14px; }
.fee-list { list-style: none; margin: 6px 0; padding: 0; font-size: 14px; }
.fee-list li { display: flex; justify-content: space-between; gap: 10px; padding: 5px 0; border-bottom: 1px dashed var(--line); }
.fee-list li:last-child { border-bottom: 0; }
.card-page .panel h2 { margin: 0 0 8px; }
.card-page .panel .h3.cp-sub { margin-top: 18px; }
.beta-pill { margin-left: 10px; vertical-align: middle; font-size: 12px; background: var(--brand-soft); color: var(--brand); }
.send-fee { display: flex; justify-content: space-between; padding: 10px 14px; border-radius: 12px; background: var(--ok-soft); font-size: 14px; }
.send-fee b { color: var(--ok); }
.row-between { display: flex; justify-content: space-between; align-items: center; }
.cp-box .field input { width: 100%; }
