/* ============================================================
   SWAG CITY — neon orange theme (with full mobile layout)
   ============================================================ */
:root {
  --bg:         #0a0808;
  --surface:    #0e0c0c;
  --surface-2:  #151011;
  --ink:        #d6cfcf;
  --ink-soft:   #6b5e5e;
  --line:       #231d1d;
  --accent:     #ff6a00;
  --accent-dim: #8a3a00;
  --accent-in:  #0a0808;
  --warn:       #e0b23f;
  --radius:     0px;
  --mono: 'JetBrains Mono', ui-monospace, Menlo, Consolas, monospace;
}

/* ---------- base ---------- */
* { box-sizing: border-box; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--mono);
  font-size: 14px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
#rain {
  position: fixed; inset: 0;
  z-index: 0; pointer-events: none;
  opacity: 0.5;
}
.status, main { position: relative; z-index: 1; }
body::before {
  content: "";
  position: fixed; inset: 0;
  pointer-events: none; z-index: 100;
  background: repeating-linear-gradient(
    to bottom, rgba(255,255,255,0.014) 0 1px, transparent 1px 3px);
}
::selection { background: var(--accent); color: var(--accent-in); }
img { display: block; max-width: 100%; }
button { font: inherit; cursor: pointer; }
:focus-visible { outline: 1px solid var(--accent); outline-offset: 2px; }
.wrap { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

/* ---------- status strip ---------- */
.status {
  border-bottom: 1px solid var(--line);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-soft);
  background: var(--bg);
}
.status .wrap { display: flex; gap: 24px; height: 30px; align-items: center; }
.status .ok { color: var(--accent); }
.status .spacer { margin-left: auto; }
.status .typed { color: var(--accent-dim); white-space: nowrap; }
.status .net { display: flex; gap: 14px; align-items: center; }
.status .net .k { color: var(--ink-soft); }
.status .net b {
  color: var(--accent); font-weight: 700;
  font-variant-numeric: tabular-nums;
}
.status .net b.bad { color: var(--warn); }
.status .net b.live { color: var(--accent); margin-right: 5px; }
.status .net b.live::before {
  content: ""; display: inline-block;
  width: 6px; height: 6px; margin-right: 6px; border-radius: 50%;
  background: var(--accent); vertical-align: middle;
  box-shadow: 0 0 6px var(--accent);
  animation: pulse 1.6s ease-in-out infinite;
}
.logo .tld { color: var(--accent); }
.status .caret {
  color: var(--accent);
  animation: blink 1.1s steps(1) infinite;
  margin-left: 1px;
}
@keyframes blink { 0%,50% { opacity: 1; } 50.01%,100% { opacity: 0; } }
.dot {
  display: inline-block; width: 6px; height: 6px;
  background: var(--accent); margin-right: 7px;
  vertical-align: middle;
  animation: pulse 2.4s infinite;
}
@keyframes pulse { 0%,100% { opacity: 1; } 50% { opacity: 0.25; } }

/* ---------- header ---------- */
header.main {
  border-bottom: 1px solid var(--line);
  position: sticky; top: 0; z-index: 20;
  background: var(--bg);
}
.bar { display: flex; align-items: center; gap: 34px; height: 76px; }
.logo {
  font-weight: 700; font-size: 17px;
  letter-spacing: 0.14em; text-transform: uppercase;
  text-decoration: none; color: var(--ink);
  margin-right: auto;
}
.logo b { color: var(--accent); font-weight: 700; }
nav { display: flex; gap: 28px; }
nav a {
  color: var(--ink-soft); text-decoration: none;
  font-size: 13px; letter-spacing: 0.06em; text-transform: uppercase;
  padding-bottom: 2px; border-bottom: 1px solid transparent;
}
nav a:hover { color: var(--accent); border-bottom-color: var(--accent-dim); }
.cart-btn {
  background: transparent; color: var(--accent);
  border: 1px solid var(--accent-dim);
  border-radius: var(--radius);
  padding: 9px 18px;
  font-size: 13px; font-weight: 500;
  letter-spacing: 0.08em; text-transform: uppercase;
  transition: background 0.15s, color 0.15s;
}
.cart-btn:hover { background: var(--accent); color: var(--accent-in); }

/* ---------- search ---------- */
.search-row { padding: 44px 0 30px; }
.search-shell {
  display: flex; align-items: center;
  border: 1px solid var(--line);
  background: var(--surface);
  transition: border-color 0.15s;
}
.search-shell:focus-within { border-color: var(--accent-dim); }
.prompt {
  padding: 0 0 0 16px;
  color: var(--accent);
  font-weight: 700;
  user-select: none;
}
#search {
  flex: 1;
  padding: 15px 16px;
  font: inherit;
  color: var(--ink);
  background: transparent;
  border: 0; outline: 0;
}
#search::placeholder { color: var(--ink-soft); }
.hits {
  font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--ink-soft); padding-right: 16px; white-space: nowrap;
}

/* ---------- product grid ---------- */
.pager {
  display: flex; justify-content: center; align-items: center;
  gap: 8px; flex-wrap: wrap; margin: -60px 0 90px;
}
.pager:empty { display: none; }
.pager .pg {
  background: transparent; color: var(--ink-soft);
  border: 1px solid var(--line); border-radius: var(--radius);
  padding: 9px 13px; font-size: 11px; letter-spacing: 0.12em;
  text-transform: uppercase;
  transition: color 0.15s, border-color 0.15s, background 0.15s;
}
.pager .pg:hover:not(:disabled) {
  color: var(--accent); border-color: var(--accent-dim); background: var(--surface-2);
}
.pager .pg.on {
  color: var(--accent-in); background: var(--accent); border-color: var(--accent);
  font-weight: 700;
}
.pager .pg:disabled { opacity: 0.3; }

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 22px;
  margin-bottom: 90px;
}
.card {
  background: var(--surface);
  border: 1px solid var(--line);
  display: flex; flex-direction: column;
  transition: background 0.15s, border-color 0.15s;
}
.card:hover { background: var(--surface-2); border-color: var(--accent-dim); }
.card .thumb {
  aspect-ratio: 4 / 3;
  background: #0a0d0b;
  border-bottom: 1px solid var(--line);
  display: grid; place-items: center;
  color: var(--ink-soft); font-size: 11px;
  letter-spacing: 0.1em; text-transform: uppercase;
  overflow: hidden; position: relative;
}
.card .thumb img { width: 100%; height: 100%; object-fit: cover; }
.card .body { padding: 20px; display: flex; flex-direction: column; flex: 1; }
.card h3 {
  font-size: 15px; font-weight: 700;
  letter-spacing: 0.05em; text-transform: uppercase;
  margin: 0 0 10px;
}
.card p {
  color: var(--ink-soft); font-size: 13px;
  line-height: 1.65; margin: 0 0 20px;
}
.meta {
  margin-top: auto;
  border-top: 1px solid var(--line);
  padding-top: 16px;
  display: flex; align-items: center; gap: 14px;
}
.label {
  font-size: 10px; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--ink-soft);
  display: block; margin-bottom: 2px;
}
.price { font-size: 19px; font-weight: 700; color: var(--ink); margin-right: auto; }
.add {
  background: transparent; color: var(--accent);
  border: 1px solid var(--accent-dim);
  border-radius: var(--radius);
  padding: 10px 18px;
  font-size: 12px; font-weight: 500;
  letter-spacing: 0.1em; text-transform: uppercase;
  transition: background 0.15s, color 0.15s, box-shadow 0.15s;
}
.add:hover:not(:disabled) {
  background: var(--accent); color: var(--accent-in);
  box-shadow: 0 0 22px -6px var(--accent);
}
.add:disabled {
  color: var(--ink-soft); border-color: var(--line);
  cursor: not-allowed;
}
.stock {
  font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--ink-soft);
  padding: 12px 20px;
  border-top: 1px solid var(--line);
  display: flex; align-items: center; gap: 10px;
}

/* ---------- star rating ---------- */
.rating { display: flex; align-items: center; gap: 10px; margin: 9px 0 4px; }
.stars { display: inline-flex; gap: 3px; line-height: 1; }
.stars .s { position: relative; font-size: 28px; color: #4a4429; }
.stars .s.on { color: #f2c14e; text-shadow: 0 0 15px rgba(242, 193, 78, 0.45); }
.stars .s.half::before {
  content: "\2605"; position: absolute; left: 0; top: 0;
  width: 50%; overflow: hidden; color: #f2c14e;
  text-shadow: 0 0 15px rgba(242, 193, 78, 0.45);
}
.buys { color: var(--accent-dim); font-size: 16px; letter-spacing: 0.04em; }
.stock.low { color: var(--warn); }
.stock.out { color: var(--ink-soft); }
.stock .inf {
  color: var(--accent);
  font-size: 15px;
  line-height: 1;
  vertical-align: -1px;
  margin-right: 2px;
}

.empty {
  grid-column: 1 / -1; background: var(--surface);
  border: 1px solid var(--line);
  padding: 90px 0; text-align: center;
  color: var(--ink-soft); font-size: 13px;
  letter-spacing: 0.06em;
}

/* ---------- cart drawer ---------- */
.scrim {
  position: fixed; inset: 0;
  background: rgba(0,0,0,0.7);
  opacity: 0; pointer-events: none;
  transition: opacity 0.2s; z-index: 30;
}
.scrim.open { opacity: 1; pointer-events: auto; }
.drawer {
  position: fixed; top: 0; right: 0; bottom: 0;
  width: min(420px, 100%);
  background: var(--bg);
  border-left: 1px solid var(--line);
  transform: translateX(100%);
  transition: transform 0.25s ease;
  z-index: 40; display: flex; flex-direction: column;
}
.drawer.open { transform: none; }
.drawer .head {
  display: flex; align-items: center;
  padding: 24px;
  border-bottom: 1px solid var(--line);
}
.drawer h2 {
  font-size: 13px; margin: 0; margin-right: auto;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--accent);
}
.close { background: none; border: 0; font-size: 20px; color: var(--ink-soft); line-height: 1; }
.close:hover { color: var(--accent); }
#cart-items { flex: 1; overflow-y: auto; padding: 0 24px; }
.line {
  display: flex; align-items: baseline; gap: 12px;
  padding: 18px 0; border-bottom: 1px solid var(--line);
  font-size: 13px;
}
.line .n { flex: 1; letter-spacing: 0.04em; }
.line .qty { color: var(--accent-dim); }
.line .amt { color: var(--ink); }
.line button {
  background: none; border: 0; color: var(--ink-soft);
  font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase;
}
.line button:hover { color: var(--warn); }
.foot { padding: 24px; border-top: 1px solid var(--line); }
.total {
  display: flex; justify-content: space-between;
  margin-bottom: 18px; font-weight: 700;
  font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase;
}
.total b { font-size: 19px; color: var(--accent); }
.checkout {
  width: 100%;
  background: var(--accent); color: var(--accent-in);
  border: 1px solid var(--accent);
  border-radius: var(--radius);
  padding: 15px;
  font-weight: 700; font-size: 12px;
  letter-spacing: 0.14em; text-transform: uppercase;
}
.checkout:hover:not(:disabled) { box-shadow: 0 0 26px -6px var(--accent); }
.checkout:disabled {
  background: transparent; color: var(--ink-soft);
  border-color: var(--line); cursor: not-allowed;
}

/* ---------- checkout overlay ---------- */
#pay {
  position: fixed; inset: 0; z-index: 60;
  background: rgba(4, 8, 6, 0.95);
  display: none; overflow-y: auto;
}
#pay.open { display: block; }
.pay-shell { max-width: 600px; margin: 0 auto; padding: 40px 20px 80px; }
.panel { background: var(--surface); border: 1px solid var(--line); }
.panel > .head {
  display: flex; align-items: center; gap: 12px;
  padding: 15px 20px; border-bottom: 1px solid var(--line);
  font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--ink-soft);
}
.panel > .head .step-no { color: var(--accent); }
.panel > .head .x {
  margin-left: auto; background: none; border: 0;
  color: var(--ink-soft); font-size: 20px; line-height: 1; padding: 0;
}
.panel > .head .x:hover { color: var(--accent); }
.panel > .head .back {
  background: none; border: 0; color: var(--ink-soft);
  font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; padding: 0;
}
.panel > .head .back:hover { color: var(--accent); }
.step { display: none; padding: 24px 20px; }
.step.on { display: block; }

/* order summary */
.sum { border: 1px solid var(--line); margin-bottom: 26px; }
.sum .row {
  display: flex; gap: 14px; padding: 11px 16px;
  font-size: 13px; border-bottom: 1px solid var(--line);
}
.sum .row:last-child { border-bottom: 0; }
.sum .row .n { flex: 1; color: var(--ink-soft); }
.sum .row .qty { color: var(--accent-dim); }
.sum .row.due { background: var(--surface-2); font-weight: 700; }
.sum .row.due .n { color: var(--ink); letter-spacing: 0.1em;
  text-transform: uppercase; font-size: 11px; align-self: center; }
.sum .row.due .amt { color: var(--accent); font-size: 18px; }

.hint {
  font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--ink-soft); margin: 0 0 12px;
}
.coins { display: grid; gap: 8px; }
.coin {
  display: flex; align-items: center; gap: 14px; width: 100%;
  background: transparent; border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 14px 16px; text-align: left; color: var(--ink);
  transition: border-color 0.15s, background 0.15s;
}
.coin:hover { border-color: var(--accent-dim); background: var(--surface-2); }
.coin .tick { font-weight: 700; letter-spacing: 0.08em; width: 62px; }
.coin .cname { color: var(--ink-soft); font-size: 13px; flex: 1; }
.coin .net {
  font-size: 10px; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--accent-dim); border: 1px solid var(--line); padding: 3px 8px;
}
.coin:hover .net { color: var(--accent); }

/* payment screen */
.qr-plate {
  width: 216px; height: 216px; margin: 0 auto 22px;
  background: #ccd5ce; padding: 8px;
  display: grid; place-items: center;
}
.qr-plate img, .qr-plate canvas { width: 100% !important; height: 100% !important; }
.qr-plate .fallback {
  color: #04150b; font-size: 10px; text-align: center;
  letter-spacing: 0.06em; padding: 10px; line-height: 1.5;
}
.field { border: 1px solid var(--line); margin-bottom: 12px; }
.field .cap {
  display: flex; align-items: center;
  padding: 9px 14px; border-bottom: 1px solid var(--line);
  font-size: 10px; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--ink-soft);
}
.field .cap .timer { margin-left: auto; color: var(--accent-dim); }
.field .cap .timer.stale { color: var(--warn); }
.field .val {
  display: flex; align-items: center; gap: 12px; padding: 13px 14px;
}
.field .val .txt {
  flex: 1; word-break: break-all; font-size: 13px; line-height: 1.5;
}
.field.amount .val .txt { font-size: 20px; font-weight: 700; }
.field.amount .val .txt .u { color: var(--accent); font-size: 13px; margin-left: 6px; }
.copy {
  background: transparent; color: var(--accent);
  border: 1px solid var(--accent-dim); border-radius: var(--radius);
  padding: 7px 13px; font-size: 10px; letter-spacing: 0.12em;
  text-transform: uppercase; white-space: nowrap;
  transition: background 0.15s, color 0.15s;
}
.copy:hover { background: var(--accent); color: var(--accent-in); }
.copy.done { background: var(--accent); color: var(--accent-in); }

.warn-line {
  border: 1px solid var(--line); border-left: 2px solid var(--warn);
  padding: 12px 14px; margin: 18px 0 22px;
  font-size: 12px; line-height: 1.6; color: var(--ink-soft);
}
.warn-line b { color: var(--warn); font-weight: 500; }

.wide {
  width: 100%; background: var(--accent); color: var(--accent-in);
  border: 1px solid var(--accent); border-radius: var(--radius);
  padding: 15px; font-weight: 700; font-size: 12px;
  letter-spacing: 0.14em; text-transform: uppercase;
}
.wide:hover { box-shadow: 0 0 26px -6px var(--accent); }
.wide.ghost {
  background: transparent; color: var(--accent);
  border-color: var(--accent-dim); font-weight: 500;
}
.wide.ghost:hover { background: var(--surface-2); box-shadow: none; }

/* watch screen */
.watch {
  display: flex; align-items: flex-start; gap: 13px;
  border: 1px solid var(--line); border-left: 2px solid var(--accent-dim);
  padding: 15px 16px; margin-bottom: 22px;
}
.watch .wdot {
  width: 9px; height: 9px; border-radius: 50%; flex: none; margin-top: 5px;
  background: var(--accent-dim); animation: pulse 1.4s ease-in-out infinite;
}
.watch .wtxt { display: flex; flex-direction: column; gap: 4px; font-size: 13px; }
.watch .wtxt b { font-weight: 700; }
.watch .wtxt span { color: var(--ink-soft); line-height: 1.6; }
.watch.seen { border-left-color: var(--warn); }
.watch.seen .wdot { background: var(--warn); }
.watch.seen .wtxt b { color: var(--warn); }
.watch.ok { border-left-color: var(--accent); }
.watch.ok .wdot { background: var(--accent); animation: none; box-shadow: 0 0 10px var(--accent); }
.watch.ok .wtxt b { color: var(--accent); }
.watch.off { border-left-color: var(--line); }
.watch.off .wdot { background: var(--ink-soft); animation: none; }

.explore {
  display: block; text-align: center; color: var(--accent);
  font-size: 12px; letter-spacing: 0.06em; text-decoration: none;
  border: 1px solid var(--line); border-radius: var(--radius);
  padding: 12px; margin-bottom: 18px;
}
.explore:hover { border-color: var(--accent-dim); background: var(--surface-2); }

/* confirmation */
.done-mark {
  text-align: center; color: var(--accent);
  font-size: 34px; line-height: 1; margin: 10px 0 18px;
}
.done-copy { text-align: center; font-size: 13px; color: var(--ink-soft);
  line-height: 1.7; margin: 0 0 24px; }
.done-copy b { color: var(--ink); font-weight: 500; }
.done-copy a { color: var(--accent); text-decoration: underline; }
.done-copy a:hover { text-decoration: none; }
.ref {
  text-align: center; letter-spacing: 0.18em; color: var(--accent);
  font-size: 17px; font-weight: 700; margin-bottom: 6px;
}

/* ---------- product detail modal ---------- */
#detail {
  position: fixed; inset: 0; z-index: 70; display: none;
  background: rgba(4, 8, 6, 0.86);
  padding: 24px; overflow-y: auto;
}
#detail.open { display: grid; place-items: center; }
.detail-card {
  position: relative; width: 100%; max-width: 520px;
  background: var(--surface); border: 1px solid var(--line);
  animation: pop 0.22s cubic-bezier(0.2, 0.8, 0.3, 1);
}
@keyframes pop {
  from { opacity: 0; transform: translateY(12px) scale(0.98); }
  to   { opacity: 1; transform: none; }
}
.d-x {
  position: absolute; top: 10px; right: 12px; z-index: 2;
  width: 34px; height: 34px; border-radius: 50%;
  background: rgba(4, 8, 6, 0.6); border: 1px solid var(--line);
  color: var(--ink); font-size: 22px; line-height: 1;
}
.d-x:hover { color: var(--accent); border-color: var(--accent-dim); }
.d-thumb {
  aspect-ratio: 4 / 3; background: #0a0d0b;
  border-bottom: 1px solid var(--line);
  display: grid; place-items: center; overflow: hidden;
  color: var(--ink-soft); font-size: 11px;
  letter-spacing: 0.1em; text-transform: uppercase;
}
.d-thumb img { width: 100%; height: 100%; object-fit: cover; }
.d-body { padding: 24px; }
.d-body h3 {
  font-size: 20px; font-weight: 700;
  letter-spacing: 0.05em; text-transform: uppercase; margin: 0 0 10px;
}
.d-text {
  color: var(--ink-soft); font-size: 14px; line-height: 1.75;
  margin: 14px 0 22px; white-space: pre-line;
}
.d-foot {
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; padding-top: 20px; border-top: 1px solid var(--line);
}
.d-price .price { font-size: 24px; font-weight: 700; color: var(--ink); }
.d-foot .add { padding: 13px 22px; }
.d-stock {
  margin-top: 16px; font-size: 11px;
  letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-soft);
}
.card { cursor: pointer; }

/* ---------- scroll reveal ---------- */
.reveal {
  opacity: 0; transform: translateY(20px);
  transition: opacity 0.6s cubic-bezier(0.2, 0.7, 0.3, 1),
              transform 0.6s cubic-bezier(0.2, 0.7, 0.3, 1);
}
.reveal.in { opacity: 1; transform: none; }
.card .thumb::after {
  content: ""; position: absolute; inset: 0; opacity: 0; pointer-events: none;
  background: linear-gradient(180deg, transparent, var(--accent-dim), transparent);
}
.reveal.in .thumb::after { animation: sweep 0.9s ease-out 0.15s 1; }
@keyframes sweep {
  0%   { opacity: 0.4; transform: translateY(-100%); }
  100% { opacity: 0;   transform: translateY(100%); }
}

/* ---------- section heading ---------- */
.sec { margin-top: 60px; padding-top: 36px; border-top: 1px solid var(--line); }
.sec-head { display: flex; align-items: baseline; gap: 10px; margin-bottom: 16px; }
.sec-head h2 {
  font-size: 20px; font-weight: 700;
  letter-spacing: 0.14em; text-transform: uppercase; margin: 0;
}
.sec-head .cur { color: var(--accent); animation: blink 1.1s steps(1) infinite; }
.sec-head .tag {
  margin-left: auto; font-size: 11px; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--ink-soft);
}

/* ---------- faq accordion ---------- */
.faq-list { border-top: 1px solid var(--line); }
.faq-item {
  border-bottom: 1px solid var(--line);
  transition: background 0.25s, box-shadow 0.25s;
}
.faq-q {
  width: 100%; display: flex; align-items: center; gap: 16px;
  background: none; border: 0; color: var(--ink); text-align: left;
  padding: 13px 4px; font-size: 14px; line-height: 1.45;
  transition: padding-left 0.22s, color 0.22s;
}
.faq-q:hover { padding-left: 10px; color: var(--accent); }
.faq-q .qt { flex: 1; }
.faq-q .chev {
  width: 12px; height: 8px; flex: none; color: var(--ink);
  transition: transform 0.32s cubic-bezier(0.3, 0.8, 0.3, 1);
}
.faq-item.open {
  background: linear-gradient(90deg, var(--surface-2), transparent 65%);
  box-shadow: inset 2px 0 0 var(--accent);
}
.faq-item.open .faq-q { color: var(--accent); padding-left: 10px; }
.faq-item.open .faq-q .chev { transform: rotate(180deg); }
.faq-a {
  max-height: 0; overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.3, 0.8, 0.3, 1);
}
.faq-a .inner {
  padding: 0 34px 16px 4px; color: var(--ink-soft);
  font-size: 13px; line-height: 1.7;
  opacity: 0; transform: translateY(-6px);
  transition: opacity 0.3s 0.06s, transform 0.3s 0.06s;
}
.faq-item.open .faq-a .inner { opacity: 1; transform: none; }

/* ---------- footer ---------- */
footer.site {
  margin-top: 56px; border-top: 1px solid var(--line);
  padding: 26px 0 40px;
  display: flex; flex-wrap: wrap; gap: 24px; align-items: flex-start;
}
footer.site .mark {
  font-weight: 700; font-size: 15px;
  letter-spacing: 0.14em; text-transform: uppercase;
}
footer.site .mark .tld { color: var(--accent); }
footer.site .said { color: var(--ink-soft); font-size: 12px; margin: 10px 0 0; }
footer.site .right { margin-left: auto; text-align: right; }
footer.site .right .lbl {
  font-size: 10px; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--ink-soft);
}
footer.site .right a {
  display: block; margin-top: 8px; color: var(--accent);
  text-decoration: none; font-size: 13px;
}
footer.site .right a:hover { text-decoration: underline; }

/* ============================================================
   CRYPTO ACCEPTED SECTION
   ============================================================ */
.crypto-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 20px;
  margin: 30px 0 20px;
}
.crypto-card {
  background: var(--surface);
  border: 1px solid var(--line);
  padding: 24px 16px;
  text-align: center;
  transition: all 0.25s ease;
  position: relative;
  overflow: hidden;
}
.crypto-card:hover {
  background: var(--surface-2);
  border-color: var(--accent-dim);
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(255, 106, 0, 0.08);
}
.crypto-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--accent);
  opacity: 0;
  transition: opacity 0.3s ease;
}
.crypto-card:hover::before { opacity: 1; }
.crypto-icon {
  width: 48px;
  height: 48px;
  margin: 0 auto 10px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.crypto-icon img {
  width: 48px;
  height: 48px;
  object-fit: contain;
  image-rendering: auto;
}
.crypto-name {
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink);
  margin-bottom: 2px;
}
.crypto-ticker {
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent-dim);
  margin-bottom: 8px;
}
.crypto-network {
  font-size: 11px;
  letter-spacing: 0.06em;
  color: var(--ink-soft);
  margin-bottom: 10px;
}
.crypto-badge {
  display: inline-block;
  font-size: 9px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent-in);
  background: var(--accent);
  padding: 3px 10px;
  border-radius: 0;
  font-weight: 700;
}
.crypto-info {
  margin-top: 30px;
  padding: 20px;
  border: 1px solid var(--line);
  background: var(--surface);
  text-align: center;
}
.crypto-info p {
  margin: 0;
  font-size: 13px;
  color: var(--ink-soft);
  line-height: 1.7;
}
.crypto-info .crypto-sub {
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent-dim);
  margin-top: 6px;
}

/* ============================================================
   MOBILE LAYOUT — completely redesigned for small screens
   ============================================================ */

/* ---------- Tablets and small laptops ---------- */
@media (max-width: 1024px) {
  .grid {
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 18px;
  }
  .crypto-grid {
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 16px;
  }
}

/* ---------- Mobile phones (portrait) ---------- */
@media (max-width: 700px) {
  /* ---- Global ---- */
  body { font-size: 13px; }
  .wrap { padding: 0 16px; }

  /* ---- Status bar (compact) ---- */
  .status .wrap {
    gap: 12px;
    height: 28px;
    font-size: 9px;
    flex-wrap: nowrap;
    overflow-x: auto;
  }
  .status .hide-sm { display: none; }
  .status .net { gap: 8px; flex-shrink: 0; }
  .status .net .k { display: none; }          /* hide labels, keep numbers */
  .status .net b { font-size: 9px; }
  .status .typed { display: none; }           /* hide typed text */
  .status .spacer { display: none; }
  .dot { width: 5px; height: 5px; margin-right: 4px; }

  /* ---- Header (compact) ---- */
  header.main { position: sticky; top: 0; }
  .bar { height: 56px; gap: 12px; flex-wrap: nowrap; }
  .logo { font-size: 14px; letter-spacing: 0.1em; }
  nav { gap: 14px; }
  nav a { font-size: 10px; letter-spacing: 0.04em; }
  .cart-btn { padding: 6px 12px; font-size: 10px; letter-spacing: 0.06em; white-space: nowrap; }

  /* ---- Search ---- */
  .search-row { padding: 24px 0 20px; }
  .search-shell { flex-wrap: wrap; }
  .prompt { padding: 0 0 0 12px; font-size: 12px; }
  #search { padding: 12px 12px; font-size: 13px; min-width: 120px; }
  .hits { font-size: 9px; padding-right: 12px; white-space: nowrap; }

  /* ---- Product grid (single column) ---- */
  .grid {
    grid-template-columns: 1fr;
    gap: 16px;
    margin-bottom: 40px;
  }
  .card .body { padding: 16px; }
  .card h3 { font-size: 14px; }
  .card p { font-size: 12px; margin-bottom: 14px; }
  .meta { flex-wrap: wrap; gap: 10px; }
  .price { font-size: 17px; }
  .add { padding: 8px 14px; font-size: 11px; }
  .stock { font-size: 10px; padding: 10px 16px; }

  /* ---- Pager ---- */
  .pager { margin: -30px 0 50px; gap: 4px; }
  .pager .pg { padding: 6px 10px; font-size: 10px; }

  /* ---- FAQ ---- */
  .sec-head h2 { font-size: 16px; }
  .faq-q { font-size: 13px; padding: 12px 2px; }
  .faq-a .inner { font-size: 12px; padding: 0 16px 12px 2px; }
  .faq-q .chev { width: 10px; height: 6px; }

  /* ---- Crypto grid (2 columns) ---- */
  .crypto-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    margin: 20px 0 12px;
  }
  .crypto-card { padding: 16px 10px; }
  .crypto-icon { width: 36px; height: 36px; }
  .crypto-icon img { width: 36px; height: 36px; }
  .crypto-name { font-size: 12px; }
  .crypto-ticker { font-size: 9px; }
  .crypto-network { font-size: 9px; margin-bottom: 6px; }
  .crypto-badge { font-size: 7px; padding: 2px 8px; }
  .crypto-info { padding: 16px; margin-top: 16px; }
  .crypto-info p { font-size: 12px; }

  /* ---- Footer ---- */
  footer.site {
    flex-direction: column;
    gap: 16px;
    padding: 20px 0 30px;
    margin-top: 30px;
  }
  footer.site .right {
    margin-left: 0;
    text-align: left;
    width: 100%;
  }
  footer.site .mark { font-size: 13px; }

  /* ---- Cart drawer (full width) ---- */
  .drawer { width: 100%; border-left: none; }
  .drawer .head { padding: 16px; }
  .drawer h2 { font-size: 11px; }
  #cart-items { padding: 0 16px; }
  .line { font-size: 12px; padding: 14px 0; gap: 8px; }
  .line .n { font-size: 12px; }
  .line .qty { font-size: 11px; }
  .line .amt { font-size: 12px; }
  .line button { font-size: 9px; }
  .foot { padding: 16px; }
  .total { font-size: 11px; }
  .total b { font-size: 16px; }
  .checkout { padding: 12px; font-size: 11px; }

  /* ---- Checkout overlay ---- */
  .pay-shell { padding: 20px 12px 60px; }
  .panel > .head {
    padding: 12px 14px;
    font-size: 10px;
    gap: 8px;
    flex-wrap: wrap;
  }
  .panel > .head .back { font-size: 10px; }
  .step { padding: 16px 14px; }
  .sum .row { font-size: 12px; padding: 8px 12px; gap: 10px; }
  .sum .row.due .amt { font-size: 15px; }
  .coins .coin { padding: 12px 12px; gap: 10px; }
  .coin .tick { width: 44px; font-size: 12px; }
  .coin .cname { font-size: 12px; }
  .coin .net { font-size: 8px; padding: 2px 6px; }
  .qr-plate { width: 160px; height: 160px; padding: 6px; }
  .field .cap { font-size: 9px; padding: 6px 10px; }
  .field .val { padding: 10px 12px; gap: 8px; }
  .field .val .txt { font-size: 12px; }
  .field.amount .val .txt { font-size: 16px; }
  .field.amount .val .txt .u { font-size: 11px; }
  .copy { padding: 5px 10px; font-size: 9px; }
  .warn-line { font-size: 11px; padding: 10px 12px; }
  .wide { padding: 12px; font-size: 11px; }
  .watch { padding: 12px 14px; gap: 10px; }
  .watch .wtxt { font-size: 12px; }
  .explore { font-size: 11px; padding: 10px; }
  .done-copy { font-size: 12px; }
  .ref { font-size: 15px; }

  /* ---- Product detail modal ---- */
  #detail { padding: 12px; }
  .detail-card { max-width: 100%; }
  .d-body { padding: 16px; }
  .d-body h3 { font-size: 17px; }
  .d-text { font-size: 13px; margin: 10px 0 16px; }
  .d-price .price { font-size: 20px; }
  .d-foot .add { padding: 10px 16px; font-size: 11px; }
  .d-x { width: 28px; height: 28px; font-size: 18px; top: 6px; right: 8px; }

  /* ---- Disable stagger on mobile ---- */
  .reveal { transition-delay: 0s !important; }
}

/* ---------- Very small phones (<= 400px) ---------- */
@media (max-width: 400px) {
  .crypto-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
  }
  .crypto-card { padding: 12px 6px; }
  .crypto-icon { width: 28px; height: 28px; }
  .crypto-icon img { width: 28px; height: 28px; }
  .crypto-name { font-size: 10px; }
  .crypto-ticker { font-size: 8px; }
  .crypto-network { font-size: 8px; }
  .crypto-badge { font-size: 6px; padding: 1px 6px; }
  .grid { gap: 12px; }
  .card .body { padding: 12px; }
  .card h3 { font-size: 12px; }
  .card p { font-size: 11px; }
  .price { font-size: 15px; }
  .add { font-size: 10px; padding: 6px 10px; }
  .stock { font-size: 9px; padding: 8px 12px; }
}

/* ---------- Landscape phones ---------- */
@media (max-height: 500px) and (orientation: landscape) {
  .bar { height: 44px; }
  .logo { font-size: 12px; }
  nav a { font-size: 9px; }
  .cart-btn { padding: 4px 10px; font-size: 9px; }
  .search-row { padding: 12px 0 10px; }
  #search { padding: 8px 10px; font-size: 12px; }
  .grid { gap: 12px; margin-bottom: 30px; }
  .card .thumb { aspect-ratio: 16 / 10; }
  .card .body { padding: 12px; }
  .card h3 { font-size: 12px; }
  .card p { font-size: 11px; margin-bottom: 10px; }
  .meta { padding-top: 10px; }
  .price { font-size: 14px; }
  .add { padding: 6px 12px; font-size: 10px; }
  .stock { padding: 6px 12px; font-size: 9px; }
  .sec { margin-top: 30px; padding-top: 20px; }
  .sec-head h2 { font-size: 14px; }
  .crypto-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
  }
  .crypto-card { padding: 10px 6px; }
  .crypto-icon { width: 28px; height: 28px; }
  .crypto-icon img { width: 28px; height: 28px; }
  .crypto-name { font-size: 10px; }
  .crypto-ticker { font-size: 8px; }
  .crypto-network { font-size: 8px; }
  .crypto-badge { font-size: 6px; padding: 1px 6px; }
  .crypto-info { padding: 12px; margin-top: 12px; }
  .crypto-info p { font-size: 11px; }
  footer.site { margin-top: 20px; padding: 16px 0 20px; }
  footer.site .mark { font-size: 11px; }
  footer.site .said { font-size: 10px; }
  .status .wrap { height: 22px; font-size: 8px; }
}

/* ---------- Print ---------- */
@media print {
  #rain, .status, header.main, .search-row, .pager,
  #faq, #crypto-accepted, footer.site, #detail,
  #pay, .scrim, .drawer { display: none !important; }
  .grid { display: block; }
  .card { break-inside: avoid; border: 1px solid #333; margin-bottom: 16px; }
  body { background: white; color: black; }
  .price { color: black !important; }
}
