:root,
html[data-theme="dark"] {
  color-scheme: dark;
  --bg: #0a0a10;
  --panel: #12121a;
  --panel-2: #181824;
  --text: #f6f6f9;
  --muted: #9a96ad;
  --line: #262636;
  --lilac: #c4b5fd;
  --lilac-2: #a78bfa;
  --pill: #f3f0ff;
  --on-pill: #16141f;
  --ghost: #1a1a24;
  --ghost-text: #efeafc;
  --cat-bg: #15151e;
  --cat-text: #d8d4ea;
  --head-col: #7d7992;
  --img-bg: #1c1c28;
  --stock-bg: #10261a;
  --stock-fg: #3dd68c;
  --empty-bg: #2a1216;
  --empty-fg: #ff5c6a;
  --hold-bg: #2a2410;
  --hold-fg: #ffc400;
  --tip-bg: #181824;
  --tip-border: rgba(255, 255, 255, .12);
  --tip-text: #d8d4ea;
  --tip-shadow: 0 16px 40px rgba(0, 0, 0, .45);
  --price: #fff;
  --page-body: #ddd8ef;
  --heading: #fff;
  --input-bg: #1c1c28;
  --pre-bg: #0c0c12;
  --error: #f0a0a0;
  --pay-addr: #fff;
  --pay-copy-bg: #181824;
  --pay-copy-border: rgba(255, 255, 255, .12);
  --pay-alert-text: #f4e8c0;
  --pay-alert-title: #ffd43b;
  --nav-bg: rgba(24, 24, 34, .7);
  --nav-border: rgba(255, 255, 255, .08);
  --nav-chip: rgba(255, 255, 255, .06);
  --nav-chip-border: rgba(255, 255, 255, .12);
  --nav-chip-text: #e4e4ec;
  --nav-hover-bg: rgba(196, 181, 253, .22);
  --nav-hover-border: rgba(196, 181, 253, .65);
  --nav-hover-text: #fff;
  --nav-primary-bg: rgba(124, 58, 237, .2);
  --nav-primary-border: rgba(167, 139, 250, .4);
  --nav-primary-text: #e9e0ff;
  --nav-primary-hover: rgba(124, 58, 237, .32);
  --menu-bg: #18181f;
  --menu-border: rgba(255, 255, 255, .1);
  --menu-text: #efeafc;
  --menu-shadow: 0 16px 40px rgba(0, 0, 0, .5);
  --text-soft: rgba(255, 255, 255, .72);
  --link-hover: #fff;
  --footer-bg: #08080d;
  --footer-border: rgba(255, 255, 255, .09);
  --footer-link: #b4b4c0;
  --banner-base: #14102a;
  --banner-border: rgba(167, 139, 250, .4);
  --welcome: #e4e4ec;
  --chip-bg: rgba(255, 255, 255, .05);
  --chip-border: rgba(255, 255, 255, .1);
  --chip-hover: rgba(255, 255, 255, .09);
  --highlight-bg: linear-gradient(135deg, rgba(255, 255, 255, .2), rgba(167, 139, 250, .2));
  --highlight-border: rgba(255, 255, 255, .55);
  --purple: #7c3aed;
  --purple-dark: #5b21b6;
  --lavender: #c4b5fd;
  --yellow: #ffd43b;
  font-family: 'Manrope', Inter, "Segoe UI", system-ui, sans-serif;
}
html[data-theme="light"] {
  color-scheme: light;
  --bg: #f4f2fa;
  --panel: #ffffff;
  --panel-2: #f7f5fc;
  --text: #1a1628;
  --muted: #6b6580;
  --line: #e4dff0;
  --lilac: #6d28d9;
  --lilac-2: #7c3aed;
  --pill: #1a1628;
  --on-pill: #fff;
  --ghost: #ece8f5;
  --ghost-text: #1a1628;
  --cat-bg: #ece8f5;
  --cat-text: #3a3550;
  --head-col: #7a748c;
  --img-bg: #ece8f5;
  --stock-bg: #e6f7ee;
  --stock-fg: #0f8a4b;
  --empty-bg: #fde8ea;
  --empty-fg: #d12b3c;
  --hold-bg: #fff4cc;
  --hold-fg: #9a7400;
  --tip-bg: #ffffff;
  --tip-border: rgba(26, 22, 40, .1);
  --tip-text: #3a3550;
  --tip-shadow: 0 16px 40px rgba(40, 20, 80, .12);
  --price: #1a1628;
  --page-body: #3a3550;
  --heading: #1a1628;
  --input-bg: #ffffff;
  --pre-bg: #ece8f5;
  --error: #c43c3c;
  --pay-addr: #1a1628;
  --pay-copy-bg: #f7f5fc;
  --pay-copy-border: rgba(26, 22, 40, .12);
  --pay-alert-text: #5c4a10;
  --pay-alert-title: #9a7400;
  --nav-bg: rgba(255, 255, 255, .9);
  --nav-border: rgba(26, 22, 40, .08);
  --nav-chip: #f3f0fa;
  --nav-chip-border: rgba(26, 22, 40, .1);
  --nav-chip-text: #1a1628;
  --nav-hover-bg: rgba(124, 58, 237, .12);
  --nav-hover-border: rgba(124, 58, 237, .45);
  --nav-hover-text: #3b0764;
  --nav-primary-bg: rgba(124, 58, 237, .12);
  --nav-primary-border: rgba(124, 58, 237, .35);
  --nav-primary-text: #4c1d95;
  --nav-primary-hover: rgba(124, 58, 237, .2);
  --menu-bg: #ffffff;
  --menu-border: rgba(26, 22, 40, .1);
  --menu-text: #1a1628;
  --menu-shadow: 0 16px 40px rgba(40, 20, 80, .12);
  --text-soft: rgba(26, 22, 40, .68);
  --link-hover: #3b0764;
  --footer-bg: #ebe7f4;
  --footer-border: rgba(26, 22, 40, .08);
  --footer-link: #5c5670;
  --banner-base: #efe9ff;
  --banner-border: rgba(124, 58, 237, .28);
  --welcome: #1a1628;
  --chip-bg: #ffffff;
  --chip-border: rgba(26, 22, 40, .1);
  --chip-hover: #f7f5fc;
  --highlight-bg: linear-gradient(135deg, #fff, #efe6ff);
  --highlight-border: rgba(124, 58, 237, .28);
  --lavender: #6d28d9;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-height: 100vh;
  background: var(--bg);
  color: var(--text);
}
a { color: inherit; text-decoration: none; }
button, .btn-light, .btn-ghost, input, select, textarea { font: inherit; }

.btn-light, .btn-ghost, .buy {
  border: 0;
  border-radius: 999px;
  padding: 10px 16px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
}
.btn-light { background: var(--pill); color: var(--on-pill); font-weight: 650; }
.btn-ghost { background: var(--ghost); color: var(--ghost-text); }
.buy {
  background: #ffc400;
  color: #111;
  font-weight: 800;
  gap: 8px;
  min-width: 132px;
  padding: 11px 22px 11px 18px;
  transition: background .15s ease, color .15s ease;
}
.buy:hover { background: #7c3aed; color: #fff; }
.buy svg { width: 18px; height: 18px; flex: none; }

main { padding: 28px 24px 80px; max-width: 1280px; margin: 0 auto; }
.banner { background: #2a1520; border: 1px solid #5a2436; padding: 12px 16px; border-radius: 14px; }

.page-card, .product-table, .order-card {
  background: var(--panel);
  border-radius: 28px;
}
html[data-theme="light"] .page-card,
html[data-theme="light"] .product-table,
html[data-theme="light"] .order-card {
  border: 1px solid var(--line);
  box-shadow: 0 10px 30px rgba(40, 20, 80, .06);
}

.catalog-head { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; margin-bottom: 16px; }
.catalog-head h2 { margin: 0; font-size: 36px; letter-spacing: -0.03em; }
.cat-pills { display: flex; flex-wrap: wrap; gap: 8px; }
.cat-pills button {
  border: 1px solid rgba(255, 255, 255, .08);
  background: var(--cat-bg);
  color: var(--cat-text);
  border-radius: 999px;
  padding: 8px 14px;
  cursor: pointer;
  font-weight: 650;
  transition: background .15s ease, color .15s ease;
}
.cat-pills button:hover { background: #2a2a38; color: #fff; }
.cat-pills button.on { background: var(--pill); color: var(--on-pill); font-weight: 750; }
.cat-chip {
  display: inline-flex;
  align-items: center;
  margin: 4px 0 0;
  border-radius: 999px;
  padding: 5px 12px;
  font-size: 13px;
  font-weight: 650;
  line-height: 1.3;
  letter-spacing: .01em;
  background: var(--cat-bg);
  color: var(--cat-text);
  border: 1px solid rgba(255, 255, 255, .08);
}
html[data-theme="light"] .cat-pills button { border-color: rgba(26, 22, 40, .08); }
html[data-theme="light"] .cat-pills button:hover { background: #ddd8ee; color: #1a1628; }
html[data-theme="light"] .cat-chip { border-color: rgba(26, 22, 40, .08); }

.product-table { padding: 8px 8px 12px; overflow: visible; }
.product-head, .product-row {
  display: grid;
  grid-template-columns: minmax(280px, 1.6fr) 168px 160px 140px;
  gap: 12px;
  align-items: center;
}
.product-head { color: var(--head-col); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; padding: 16px 22px 10px; }
.product-row { padding: 18px 22px; border-top: 1px solid var(--line); }
.product-row.is-off { display: none; }
.product-info { display: flex; gap: 14px; align-items: flex-start; min-width: 0; }
.product-info img { width: 44px; height: 44px; border-radius: 12px; object-fit: cover; background: var(--img-bg); }
.product-info h3 { margin: 0 0 6px; font-size: 16px; line-height: 1.35; font-weight: 650; }
.product-info h3 img { height: 16px; width: auto; vertical-align: middle; }
.product-meta { margin: 0; color: var(--muted); font-size: 13px; }
.product-qty {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 6px;
  width: max-content;
  min-width: 132px;
}
.product-stock,
.product-hold {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 7px 16px;
  border-radius: 999px;
  box-sizing: border-box;
}
.product-stock {
  background: var(--stock-bg);
  color: var(--stock-fg);
  font-size: 20px;
  font-weight: 750;
  letter-spacing: -.02em;
}
.product-stock::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: currentColor;
}
.product-qty.is-empty .product-stock {
  background: var(--empty-bg);
  color: var(--empty-fg);
}
.product-hold {
  background: var(--hold-bg);
  color: var(--hold-fg);
  font-size: 13px;
  font-weight: 750;
}
.product-qty.has-hold { cursor: help; }
.product-tip {
  display: none;
  position: absolute;
  left: 0;
  bottom: calc(100% + 10px);
  z-index: 8;
  width: 280px;
  padding: 14px 16px;
  border-radius: 16px;
  background: var(--tip-bg);
  border: 1px solid var(--tip-border);
  color: var(--tip-text);
  font-size: 13px;
  font-weight: 600;
  line-height: 1.5;
  box-shadow: var(--tip-shadow);
}
.product-tip p { margin: 0 0 8px; }
.product-tip p:last-child { margin: 0; }
.product-tip b { color: var(--hold-fg); font-weight: 800; }
.product-qty.has-hold:hover .product-tip,
.product-qty.has-hold:focus-within .product-tip { display: block; }
.product-price { color: var(--price); font-size: 20px; font-weight: 750; }
.product-price small { font-size: 13px; color: var(--muted); font-weight: 500; }
.product-buy { text-align: right; }
.empty { padding: 24px; color: var(--muted); }

.page-wrap { max-width: 920px; }
.page-card { padding: 32px 34px; }
.page-card h1 { margin: 0 0 18px; font-size: 36px; letter-spacing: -0.03em; }
.page-body { line-height: 1.65; color: var(--page-body); }
.page-body p { margin: 0 0 12px; }
.page-body h2, .page-body h3 { color: var(--heading); }
.page-body a { text-decoration: underline; }
.page-body table { width: 100%; border-collapse: collapse; }
.page-body td, .page-body th { border: 1px solid var(--line); padding: 8px; }
.page-wrap.is-embed { max-width: 880px; }
.page-card.is-embed { background: transparent; box-shadow: none; border: 0; padding: 0; }
.page-embed {
  display: block;
  width: 100%;
  height: 1px;
  overflow: hidden;
  border: 0;
  background: transparent;
}
.auth-card { max-width: 420px; }
.auth-switch { margin: 8px 0 0; color: var(--muted); }
.auth-switch a { color: var(--lilac); text-decoration: underline; }
.cabinet-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; flex-wrap: wrap; }
.cabinet-head h1 { margin-bottom: 6px; }
.cabinet-head .inline { margin: 0; }
.cabinet-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin: 8px 0 20px;
}
.cabinet-stats div {
  background: var(--panel-2);
  border-radius: 16px;
  padding: 16px 18px;
}
.cabinet-stats span { display: block; color: var(--muted); font-size: 13px; margin-bottom: 6px; }
.cabinet-stats strong { font-size: 22px; }
.cabinet-stats small { font-size: 13px; color: var(--muted); font-weight: 500; }
.order-meta { margin: 6px 0 12px; color: var(--muted); }
.order-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.slide-captcha { user-select: none; }
.slide-track {
  position: relative;
  height: 52px;
  border-radius: 999px;
  background: var(--input-bg);
  border: 1px solid #3d6ea5;
  overflow: hidden;
  touch-action: none;
}
.slide-fill {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 0;
  background: rgba(59, 158, 255, .22);
}
.slide-label {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--muted);
  font-size: 15px;
  pointer-events: none;
  padding-left: 18px;
}
.slide-captcha.is-done .slide-label { color: var(--text); padding-left: 0; }
.slide-knob {
  position: absolute;
  top: 5px;
  left: 5px;
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 50%;
  padding: 0;
  background: #3b9eff;
  color: #fff;
  font-size: 18px;
  font-weight: 800;
  box-shadow: 0 4px 14px rgba(59, 158, 255, .45);
  cursor: grab;
  touch-action: none;
}
.slide-knob:active { cursor: grabbing; }
.slide-captcha.is-done .slide-knob { cursor: default; background: #2f9e62; box-shadow: 0 4px 14px rgba(47, 158, 98, .4); }
.auth-card .btn-light:disabled { opacity: .45; cursor: not-allowed; }
.stack { display: grid; gap: 10px; margin: 14px 0; }
.stack input, .pay input, .pay select {
  width: 100%;
  background: var(--input-bg);
  color: var(--text);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 11px 12px;
}
.order-card { padding: 16px 18px; margin-top: 12px; background: var(--panel-2); }
.inline { margin: 0 0 16px; }
.sum { font-size: 32px; margin: 8px 0; }
.wallet { word-break: break-all; font-family: Consolas, monospace; }
.qr { display: flex; justify-content: center; margin: 8px 0 18px; }
.qr svg { width: 220px; height: 220px; background: #fff; border-radius: 16px; }

.pay-wait { max-width: 640px; }
.pay-alert {
  margin: 0 0 22px;
  padding: 16px 18px;
  border-radius: 18px;
  border: 1px solid rgba(255, 196, 0, .45);
  background: linear-gradient(135deg, rgba(255, 196, 0, .16), rgba(255, 77, 109, .1));
  animation: payPulse 2.2s ease-in-out infinite;
}
.pay-alert strong { display: block; color: var(--pay-alert-title); font-size: 20px; margin-bottom: 6px; }
.pay-alert p { margin: 0; color: var(--pay-alert-text); line-height: 1.45; }
.pay-block { margin-bottom: 20px; }
.pay-label { display: block; color: var(--muted); font-size: 13px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; margin-bottom: 8px; }
.pay-copy-row { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.pay-amount { font-size: 42px; font-weight: 800; line-height: 1; letter-spacing: -.03em; }
.pay-tail { color: #ffc400; text-shadow: 0 0 18px rgba(255, 196, 0, .45); }
.pay-amount small { font-size: 18px; color: var(--muted); font-weight: 700; }
.pay-addr { flex: 0 1 auto; min-width: 0; max-width: calc(100% - 140px); word-break: break-all; font-family: Consolas, monospace; font-size: 16px; color: var(--pay-addr); }
.pay-copy {
  flex: none;
  border: 1px solid var(--pay-copy-border);
  background: var(--pay-copy-bg);
  color: var(--pay-addr);
  border-radius: 999px;
  cursor: pointer;
  font: inherit;
  padding: 10px 16px;
  font-weight: 700;
}
.pay-copy:hover { border-color: #ffc400; }
.pay-copy.is-copied { border-color: #3dd68c; color: #3dd68c; }
.pay-note { margin: 10px 0 0; color: var(--page-body); }
.pay-note b { color: var(--hold-fg); }
.pay-timer { margin: 0 0 20px; }
.pay-timer strong { display: block; font-size: 40px; font-weight: 800; letter-spacing: .04em; font-variant-numeric: tabular-nums; }
.pay-timer.is-low strong { color: #ff6b6b; animation: payBlink 1s step-end infinite; }
.pay-timer.is-over strong { color: #f0a0a0; }
.pay-net { margin: 0 0 16px; color: var(--page-body); }
.pay-qr-hint { margin: -8px 0 18px; text-align: center; color: var(--muted); font-size: 13px; }
.pay-status { font-weight: 700; color: var(--lilac); }
@keyframes payPulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(255, 196, 0, .28); }
  50% { box-shadow: 0 0 0 10px rgba(255, 196, 0, 0); }
}
@keyframes payBlink {
  50% { opacity: .4; }
}
.hint { color: var(--muted); }
pre { white-space: pre-wrap; word-break: break-word; background: var(--pre-bg); padding: 12px; border-radius: 12px; }
.error { color: var(--error); }

.pay-modal {
  position: fixed;
  inset: 0;
  background: rgba(10, 10, 16, .72);
  display: grid;
  place-items: center;
  padding: 12px;
  z-index: 20;
  overflow: hidden;
}
.pay-modal[hidden] { display: none; }
.pay-card[hidden] { display: none !important; }
.pay-card {
  width: min(680px, 100%);
  max-height: calc(100vh - 24px);
  max-height: calc(100dvh - 24px);
  background: var(--panel);
  color: var(--text);
  border: 2px solid #ffc400;
  border-radius: 28px;
  padding: 20px 24px 18px;
  position: relative;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(0, 0, 0, .35), 0 0 0 4px rgba(255, 196, 0, .18);
}
.pay-card h3 { text-align: center; font-weight: 800; margin: 0 0 14px; color: var(--heading); letter-spacing: -.02em; flex: none; }
.pay-scroll { flex: 1 1 auto; min-height: 0; overflow-y: auto; padding-right: 4px; }
.pay-x { position: absolute; right: 16px; top: 12px; background: transparent; color: var(--muted); font-size: 28px; line-height: 1; padding: 0 6px; border: 0; cursor: pointer; }
.pay-x:hover { color: var(--text); }
.pay-row { display: grid; grid-template-columns: 180px 1fr; gap: 14px; align-items: center; margin-bottom: 12px; }
.pay-row span { text-align: right; color: var(--muted); font-weight: 700; }
.pay-card input, .pay-card select {
  width: 100%;
  background: var(--input-bg);
  color: var(--text);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 11px 12px;
}
.pay-nets { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin: 6px 0 16px; }
.pay-nets button {
  border: 1px solid var(--line);
  background: var(--cat-bg);
  color: var(--cat-text);
  border-radius: 999px;
  padding: 9px 16px;
  cursor: pointer;
  font-weight: 700;
}
.pay-nets button.on {
  background: var(--pill);
  color: var(--on-pill);
  border-color: transparent;
}
.pay-agree {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 12px;
  margin: 8px 0 10px;
  padding: 14px 16px;
  border: 1px dashed var(--lilac);
  border-radius: 16px;
  background: var(--panel-2);
  color: var(--text);
  cursor: pointer;
  font-weight: 650;
  line-height: 1.4;
}
.pay-agree input {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
}
.pay-box {
  width: 26px;
  height: 26px;
  flex: none;
  margin-top: 1px;
  border: 2px solid var(--lilac);
  border-radius: 8px;
  background: var(--input-bg);
  box-shadow: inset 0 0 0 1px rgba(124, 58, 237, .2);
  position: relative;
}
.pay-agree input:checked + .pay-box {
  background: var(--purple);
  border-color: var(--purple);
}
.pay-agree input:checked + .pay-box::after {
  content: "";
  position: absolute;
  left: 7px;
  top: 3px;
  width: 7px;
  height: 12px;
  border: solid #fff;
  border-width: 0 2.4px 2.4px 0;
  transform: rotate(45deg);
}
.pay-agree input:focus-visible + .pay-box { box-shadow: 0 0 0 3px rgba(167, 139, 250, .35); }
.pay-agree a { color: var(--lilac); text-decoration: underline; }
.pay-card .rules { color: var(--page-body); background: var(--pre-bg); padding: 12px; border-radius: 12px; max-height: 140px; overflow: auto; }
.pay-card .error { text-align: center; }
.pay-go {
  display: block;
  flex: none;
  margin: 12px auto 0;
  min-width: 168px;
  background: #ffc400;
  color: #111;
  border: 0;
  border-radius: 999px;
  padding: 12px 28px;
  font-size: 16px;
  font-weight: 800;
  cursor: pointer;
  text-align: center;
}
.pay-go:hover { filter: brightness(1.05); }
.pay-maint { text-align: center; }
.pay-maint h3 { margin-bottom: 12px; }
.pay-maint p { color: var(--page-body); line-height: 1.5; margin: 0 0 8px; }
.pay-maint a.pay-go { background: #2AABEE; color: #fff; }
.pay-maint input { margin-top: 14px; }
.pay-maint-note { text-align: center; margin-bottom: 14px; }
.pay-maint-note h3 { margin-bottom: 8px; }
.pay-maint-note p { color: var(--page-body); line-height: 1.5; margin: 0; }
.support-note { margin: 16px 0 0; color: var(--muted); font-size: 14px; }
.support-note a { color: var(--lilac); text-decoration: underline; }
.support-banner {
  margin-top: 22px;
  padding: 20px 22px;
  border-radius: 20px;
  border: 1px solid rgba(255, 196, 0, .55);
  background: linear-gradient(135deg, rgba(255, 196, 0, .2), rgba(124, 58, 237, .14));
}
.support-banner strong {
  display: block;
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -.02em;
  color: var(--pay-alert-title);
  margin-bottom: 8px;
}
.support-banner p {
  margin: 0;
  color: var(--pay-alert-text);
  font-size: 16px;
  font-weight: 650;
  line-height: 1.45;
}
.support-go {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 14px;
  padding: 12px 22px;
  border-radius: 999px;
  background: #2AABEE;
  color: #fff;
  font-weight: 800;
  font-size: 16px;
}
.support-go:hover { filter: brightness(1.08); }
html[data-theme="light"] .support-banner {
  border-color: rgba(201, 148, 0, .45);
  background: linear-gradient(135deg, rgba(255, 196, 0, .28), rgba(124, 58, 237, .08));
}

@media (max-width: 980px) {
  .cabinet-stats { grid-template-columns: 1fr; }
  .product-head { display: none; }
  .product-row { grid-template-columns: 1fr; }
  .product-buy { text-align: left; }
  .pay-row { grid-template-columns: 1fr; }
  .pay-row span { text-align: left; }
}
@media (max-height: 820px) {
  .pay-card { padding: 14px 18px 12px; border-radius: 22px; }
  .pay-card h3 { margin-bottom: 10px; font-size: 18px; }
  .pay-row { margin-bottom: 8px; gap: 10px; }
  .pay-card input, .pay-card select { padding: 8px 10px; }
  .pay-nets { margin: 2px 0 10px; }
  .pay-agree { padding: 10px 12px; margin: 4px 0 6px; }
  .pay-card .rules { max-height: 90px; }
  .pay-go { margin-top: 10px; padding: 10px 24px; }
}
