/* 游戏账号小店 · 简洁清新浅色风 */
:root {
  --bg: #f2f6fb;
  --bg2: #ffffff;
  --card: #ffffff;
  --line: #e4eaf4;
  --text: #1c2733;
  --muted: #6f7d93;
  --accent: #0ea5e9;          /* 天空蓝：链接/信息 */
  --accent-ink: #0284c7;
  --accent2: #10b981;         /* 清新绿：购买/价格/成功 */
  --accent2-ink: #0b8a5f;
  --accent2-soft: #dcf7ea;
  --danger: #f43f5e;
  --danger-soft: #ffe4ea;
  --warn-soft: #fef3c7;
  --radius: 16px;
  --shadow: 0 2px 14px rgba(28, 39, 51, .07);
  --shadow-lg: 0 12px 36px rgba(28, 39, 51, .13);
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0e141d;
    --bg2: #141c27;
    --card: #17202d;
    --line: #26313f;
    --text: #e9eef6;
    --muted: #8b98ad;
    --accent2-soft: rgba(16, 185, 129, .14);
    --danger-soft: rgba(244, 63, 94, .14);
    --warn-soft: rgba(251, 191, 36, .14);
    --shadow: 0 2px 14px rgba(0, 0, 0, .35);
    --shadow-lg: 0 12px 36px rgba(0, 0, 0, .5);
  }
}
* { box-sizing: border-box; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font-family: -apple-system, "PingFang SC", "Hiragana Sans GB", "Microsoft YaHei", system-ui, sans-serif;
  font-size: 15px; line-height: 1.6; -webkit-tap-highlight-color: transparent;
}
/* 顶部导航 */
.topnav {
  background: var(--bg2);
  background: color-mix(in srgb, var(--bg2) 88%, transparent);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
  position: sticky; top: 0; z-index: 50;
  box-shadow: 0 1px 8px rgba(28, 39, 51, .04);
}
.nav-inner { max-width: 1280px; margin: 0 auto; padding: 0 16px; height: 58px; display: flex; align-items: center; justify-content: space-between; }
.brand { font-size: 17px; font-weight: 800; display: flex; align-items: center; gap: 9px; letter-spacing: .5px; }
.brand-dot { width: 11px; height: 11px; border-radius: 50%; background: var(--accent2); display: inline-block; box-shadow: 0 0 0 4px var(--accent2-soft); }
.nav-right { display: flex; align-items: center; gap: 8px; color: var(--muted); font-size: 13px; }
.nav-stock {
  font-size: 15px; font-weight: 800; color: var(--accent2-ink);
  min-width: 34px; text-align: center; padding: 5px 12px;
  background: var(--accent2-soft); border-radius: 20px;
  cursor: pointer; user-select: none;
}
/* 主布局 */
.layout { max-width: 1280px; margin: 0 auto; padding: 20px 16px 32px; display: grid; grid-template-columns: 190px 1fr 320px; gap: 18px; align-items: start; }
/* 左侧分类 */
.sidebar { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 14px; position: sticky; top: 76px; box-shadow: var(--shadow); }
.side-title { font-weight: 800; margin-bottom: 10px; font-size: 14px; }
.cat-list { list-style: none; margin: 0; padding: 0; }
.cat-list li { padding: 10px 12px; border-radius: 10px; cursor: pointer; color: var(--muted); display: flex; justify-content: space-between; align-items: center; font-size: 14px; transition: background .15s; }
.cat-list li:hover { background: var(--bg); color: var(--text); }
.cat-list li.active { background: var(--accent2-soft); color: var(--accent2-ink); font-weight: 700; }
.cat-list .cnt { font-size: 12px; opacity: .75; background: var(--bg); border-radius: 10px; padding: 1px 8px; }
.cat-list li.active .cnt { background: rgba(255,255,255,.6); }
/* 商品区 */
.products { min-width: 0; }
.prod-head { font-size: 18px; font-weight: 800; margin-bottom: 14px; display: flex; gap: 8px; align-items: baseline; }
.prod-count { color: var(--muted); font-size: 13px; font-weight: 400; }
.prod-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 14px; }
.prod-card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 18px; cursor: pointer; box-shadow: var(--shadow);
  transition: transform .16s ease, box-shadow .16s ease, border-color .16s ease;
}
.prod-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); border-color: var(--accent2); }
.prod-card.selected { border-color: var(--accent2); box-shadow: 0 0 0 2px var(--accent2-soft), var(--shadow); }
.prod-name { font-size: 16px; font-weight: 800; margin-bottom: 6px; }
.prod-meta { font-size: 12px; color: var(--muted); margin-bottom: 8px; min-height: 18px; }
.prod-hl { font-size: 13px; color: var(--muted); margin-bottom: 10px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.prod-price { font-size: 23px; font-weight: 800; color: var(--accent2-ink); }
.prod-price small { font-size: 12px; font-weight: 400; color: var(--muted); }
.empty-tip { color: var(--muted); padding: 48px 0; text-align: center; grid-column: 1 / -1; }
/* 右侧下单栏 */
.orderbar { position: sticky; top: 76px; }
.order-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; box-shadow: var(--shadow); }
.order-title { font-size: 17px; font-weight: 800; margin-bottom: 12px; }
.order-empty { color: var(--muted); font-size: 13px; text-align: center; padding: 28px 0; }
.sel-name { font-weight: 800; font-size: 16px; }
.sel-meta { color: var(--muted); font-size: 12px; margin: 4px 0 10px; }
.sel-price { font-size: 26px; font-weight: 800; color: var(--accent2-ink); margin-bottom: 12px; }
.fld-label { display: block; font-size: 13px; color: var(--muted); margin: 14px 0 6px; font-weight: 600; }
.fld-input {
  width: 100%; background: var(--bg); border: 1.5px solid var(--line); color: var(--text);
  border-radius: 12px; padding: 11px 13px; font-size: 15px; outline: none; transition: border-color .15s, box-shadow .15s;
}
.fld-input:focus { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(14, 165, 233, .15); background: var(--card); }
textarea.fld-input { resize: vertical; }
.pay-methods { display: flex; gap: 10px; }
.pay-opt { flex: 1; border: 1.5px solid var(--line); border-radius: 12px; padding: 12px; text-align: center; cursor: pointer; color: var(--muted); font-weight: 600; transition: all .15s; background: var(--card); }
.pay-opt.active { border-color: var(--accent2); color: var(--accent2-ink); background: var(--accent2-soft); }
.btn-primary {
  width: 100%; margin-top: 16px; border: none; cursor: pointer;
  background: linear-gradient(135deg, #12c184, #0b9e6a); color: #fff;
  border-radius: 12px; padding: 14px; font-size: 16px; font-weight: 800; letter-spacing: 1px;
  box-shadow: 0 4px 14px rgba(16, 185, 129, .35);
  transition: transform .12s ease, box-shadow .15s ease, filter .15s;
}
.btn-primary:hover { filter: brightness(1.05); }
.btn-primary:active { transform: scale(.98); }
.btn-primary:disabled { opacity: .5; cursor: not-allowed; box-shadow: none; }
.btn-ghost {
  background: var(--card); border: 1.5px solid var(--line); color: var(--text);
  border-radius: 12px; padding: 11px 16px; font-size: 14px; font-weight: 600; cursor: pointer; transition: border-color .15s;
}
.btn-ghost:hover { border-color: var(--accent); }
.btn-sm { width: auto; margin-top: 0; padding: 9px 16px; font-size: 13px; }
.order-tip { margin-top: 12px; font-size: 12px; color: var(--muted); }
/* 弹窗 */
.modal-mask { position: fixed; inset: 0; background: rgba(28, 39, 51, .45); -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px); display: flex; align-items: center; justify-content: center; z-index: 300; padding: 16px; }
/* 账号信息弹窗必须盖在订单列表弹窗之上（DOM 顺序在前，z-index 需更高） */
#credModal { z-index: 310; }
/* 库存编辑/查看弹窗盖在库存管理弹窗之上 */
#stockEditModal { z-index: 320; }
#stockViewModal { z-index: 320; }
/* 提码弹窗盖在订单列表弹窗之上 */
#codeModal { z-index: 315; }
.modal-mask[hidden] { display: none; }
.modal { background: var(--card); border: none; border-radius: 20px; padding: 24px; width: 100%; max-width: 380px; max-height: 90vh; overflow-y: auto; box-shadow: var(--shadow-lg); }
.modal .btn-ghost { width: 100%; margin-top: 10px; }
.modal-title { font-size: 18px; font-weight: 800; text-align: center; margin-bottom: 10px; }
.modal-amount { text-align: center; font-size: 30px; font-weight: 800; color: var(--accent2-ink); margin-bottom: 14px; }
.qr-box { display: flex; justify-content: center; margin-bottom: 14px; min-height: 60px; align-items: center; }
.qr-box img { width: 220px; height: 220px; object-fit: contain; background: #fff; border-radius: 14px; box-shadow: var(--shadow); }
.qr-empty { color: var(--muted); font-size: 13px; text-align: center; padding: 20px; }
.modal-instr { font-size: 13px; color: var(--muted); margin-bottom: 10px; white-space: pre-wrap; line-height: 1.7; }
.modal-contact { font-size: 13px; margin-bottom: 4px; }
.modal-msg { margin-top: 10px; font-size: 13px; text-align: center; min-height: 20px; }
.modal-msg.err { color: var(--danger); }
.modal-msg.ok { color: var(--accent2-ink); }
.modal .fld-input { margin-bottom: 10px; }
/* 后台 */
.admin-panel { position: fixed; inset: 0; background: var(--bg); z-index: 200; display: flex; flex-direction: column; }
.admin-panel[hidden] { display: none; }
.admin-head { display: flex; align-items: center; gap: 12px; padding: 14px 18px; border-bottom: 1px solid var(--line); background: var(--bg2); flex-wrap: wrap; box-shadow: 0 1px 8px rgba(28, 39, 51, .04); }
.admin-title { font-size: 17px; font-weight: 800; }
.admin-tabs { display: flex; gap: 8px; flex: 1; }
.tab-btn { background: var(--card); border: 1.5px solid var(--line); color: var(--muted); border-radius: 10px; padding: 9px 16px; cursor: pointer; font-weight: 600; font-size: 14px; }
.tab-btn.active { background: var(--accent); border-color: var(--accent); color: #fff; box-shadow: 0 3px 10px rgba(14, 165, 233, .3); }
.admin-body { flex: 1; overflow-y: auto; padding: 18px; max-width: 1000px; width: 100%; margin: 0 auto; }
.adm-row { display: flex; gap: 10px; margin-bottom: 14px; flex-wrap: wrap; align-items: center; }
.adm-form { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; margin-bottom: 16px; box-shadow: var(--shadow); }
.form-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 12px; }
.form-grid label { font-size: 12px; color: var(--muted); display: flex; flex-direction: column; gap: 6px; font-weight: 600; }
.adm-table { width: 100%; border-collapse: collapse; background: var(--card); border-radius: var(--radius); overflow: hidden; font-size: 13px; box-shadow: var(--shadow); }
.adm-table th, .adm-table td { padding: 12px; border-bottom: 1px solid var(--line); text-align: left; }
.adm-table th { color: var(--muted); font-weight: 700; background: var(--bg); font-size: 12px; }
.adm-table tr:last-child td { border-bottom: none; }
.adm-table select.fld-input { width: auto; padding: 8px 10px; }
.link-btn { background: none; border: none; color: var(--accent-ink); cursor: pointer; font-size: 13px; font-weight: 600; padding: 4px 8px; }
.link-btn.danger { color: var(--danger); }
.status-tag { padding: 4px 12px; border-radius: 20px; font-size: 12px; font-weight: 700; }
.status-tag.available { background: var(--accent2-soft); color: var(--accent2-ink); }
.status-tag.off { background: var(--bg); color: var(--muted); border: 1px solid var(--line); }
.status-tag.pending { background: var(--warn-soft); color: #b45309; }
.status-tag.paid { background: rgba(14, 165, 233, .13); color: var(--accent-ink); }
.status-tag.paid.stale { background: var(--danger-soft); color: var(--danger); font-weight: 700; }
.order-stale td { background: rgba(244, 63, 94, .05); }
.stale-badge { display: inline-block; margin-left: 6px; padding: 2px 10px; border-radius: 12px; font-size: 11px; font-weight: 700; background: var(--danger-soft); color: var(--danger); }
.status-tag.done { background: var(--accent2-soft); color: var(--accent2-ink); }
.status-tag.cancelled { background: var(--danger-soft); color: var(--danger); }
.cat-tags { display: flex; gap: 10px; flex-wrap: wrap; }
.cat-tag { background: var(--card); border: 1px solid var(--line); border-radius: 24px; padding: 8px 8px 8px 16px; display: flex; gap: 8px; align-items: center; box-shadow: var(--shadow); }
.set-block { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; margin-bottom: 14px; box-shadow: var(--shadow); }
.set-title { font-weight: 800; margin-bottom: 12px; font-size: 15px; }
.switch { display: flex; gap: 10px; align-items: center; cursor: pointer; margin-bottom: 12px; }
.qr-row { display: flex; gap: 14px; align-items: center; }
.qr-preview { width: 110px; height: 110px; object-fit: contain; background: #fff; border-radius: 12px; border: 1px solid var(--line); box-shadow: var(--shadow); }
.qr-preview[src=""], .qr-preview:not([src]) { display: none; }
.file-btn { display: inline-block; }
/* 买家账号 */
.auth-area { display: flex; align-items: center; gap: 6px; margin-right: 10px; }
.auth-name { font-weight: 700; color: var(--text); max-width: 90px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.auth-tabs { display: flex; gap: 10px; margin-bottom: 14px; }
.auth-tab { flex: 1; background: var(--bg); border: 1.5px solid var(--line); color: var(--muted); border-radius: 12px; padding: 11px; cursor: pointer; font-size: 14px; font-weight: 600; }
.auth-tab.active { background: var(--accent); border-color: var(--accent); color: #fff; font-weight: 700; }
/* 我的订单 */
.modal.wide { max-width: 560px; }
.modal-title .link-btn { margin-left: 8px; }
.my-order { border: 1px solid var(--line); border-radius: var(--radius); padding: 14px 16px; margin-bottom: 12px; background: var(--card); }
.my-order-title { font-weight: 800; font-size: 15px; }
.my-order-meta { color: var(--muted); font-size: 12px; margin: 4px 0 10px; }
.my-order .status-tag { display: inline-block; margin-bottom: 10px; }
.my-order-acts { margin-top: 4px; display: flex; gap: 8px; flex-wrap: wrap; }
.wait-hint { font-size: 12px; color: var(--muted); }
/* 已购账号信息 */
.cred-box { background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius); padding: 12px 16px; margin: 14px 0; }
.cred-row { display: flex; align-items: center; gap: 10px; padding: 10px 0; }
.cred-row + .cred-row { border-top: 1px solid var(--line); }
.cred-row span { color: var(--muted); font-size: 13px; min-width: 40px; }
.cred-row b { flex: 1; font-family: ui-monospace, SFMono-Regular, monospace; font-size: 15px; user-select: all; word-break: break-all; }
/* 等待动画 */
.spinner { width: 38px; height: 38px; margin: 20px auto; border: 3px solid var(--line); border-top-color: var(--accent2); border-radius: 50%; animation: spin 0.9s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
/* 后台发货信息标记 */
.cred-flag { font-size: 12px; font-weight: 700; }
.cred-flag.yes { color: var(--accent2-ink); }
.cred-flag.no { color: var(--danger); }

/* 库存与数量选择 */
/* 库存徽章 */
.prod-stock { margin-top: 10px; font-size: 12px; font-weight: 700; }
.stock-pill { display: inline-block; padding: 4px 13px; border-radius: 20px; font-size: 12px; font-weight: 700; background: var(--accent2-soft); color: var(--accent2-ink); }
.stock-pill.out, .prod-stock.out .stock-pill { background: var(--danger-soft); color: var(--danger); }
/* 商品详情弹窗 */
.pdet-top { display: flex; align-items: center; gap: 14px; margin-bottom: 4px; }
.pdet-icon { width: 58px; height: 58px; border-radius: 18px; }
.pdet-icon .ico-svg { width: 32px; height: 32px; }
.pdet-head { flex: 1; min-width: 0; }
.pdet-name { font-size: 18px; font-weight: 800; }
.pdet-price { font-size: 22px; font-weight: 800; color: var(--accent2-ink); margin-top: 2px; }
.pdet-sec { margin: 18px 0 4px; }
.pdet-sec-title { font-size: 15px; font-weight: 800; margin-bottom: 8px; padding-left: 10px; border-left: 4px solid var(--accent2); line-height: 1.4; }
.pdet-hl { font-size: 14px; color: var(--muted); }
.pdet-desc { font-size: 14px; line-height: 1.85; }
.pdet-guide { margin: 0; padding-left: 22px; font-size: 13px; color: var(--muted); line-height: 2; }
#prodDetailModal .btn-primary { margin-top: 18px; }
.qty-row { display: flex; align-items: center; gap: 12px; margin: 6px 0 8px; }
.qty-btn { width: 38px; height: 38px; border: 1.5px solid var(--line); border-radius: 12px; background: var(--card); color: var(--text); font-size: 19px; cursor: pointer; line-height: 1; transition: border-color .15s; }
.qty-btn:hover { border-color: var(--accent2); }
.qty-btn:disabled { opacity: .35; cursor: default; }
.qty-val { min-width: 38px; text-align: center; font-size: 18px; font-weight: 800; }
.qty-stock { font-size: 12px; color: var(--muted); }
.sel-total { font-size: 14px; color: var(--muted); margin-bottom: 4px; }
.sel-total b { color: var(--accent2-ink); font-size: 22px; }
/* 已购账号（一单多号） */
.cred-item { background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius); padding: 12px 16px; margin: 14px 0; }
.cred-head { font-size: 13px; font-weight: 800; color: var(--accent-ink); margin-bottom: 4px; }
.cred-tips { background: #fffbeb; border: 1px solid #fde68a; border-radius: var(--radius); padding: 12px 16px; margin: 14px 0; }
.cred-tips-head { font-size: 13px; font-weight: 800; color: #92400e; margin-bottom: 6px; }
.cred-tips-body { font-size: 13px; line-height: 1.7; color: #78350f; white-space: pre-wrap; word-break: break-word; user-select: all; }
@media (prefers-color-scheme: dark) {
  .cred-tips { background: rgba(251, 191, 36, .1); border-color: rgba(251, 191, 36, .3); }
  .cred-tips-head, .cred-tips-body { color: #fcd34d; }
}
/* 库存管理 */
.stock-line { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 10px 2px; border-bottom: 1px solid var(--line); font-size: 13px; }
.stock-line.sold { color: var(--muted); }
/* 页脚技术支持 */
.page-foot { text-align: center; color: var(--muted); font-size: 13px; padding: 26px 16px 36px; }
.page-foot span { user-select: all; }
.foot-qr { display: block; width: 110px; height: 110px; margin: 12px auto 0; border-radius: 14px; background: #fff; box-shadow: var(--shadow); }
/* 顶部横幅 */
.hero {
  position: relative; overflow: hidden; border-radius: var(--radius);
  background: linear-gradient(120deg, #d7f6e8 0%, #ddf1fe 100%);
  padding: 20px 24px; margin-bottom: 18px;
  display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap;
  box-shadow: var(--shadow);
}
.hero-text { position: relative; z-index: 1; }
.hero-title { font-size: 20px; font-weight: 800; color: #0a3d2c; letter-spacing: .5px; }
.hero-sub { font-size: 13px; color: #33665a; margin-top: 3px; }
.hero-badges { display: flex; gap: 8px; position: relative; z-index: 1; flex-wrap: wrap; }
.hero-badges span { background: rgba(255,255,255,.8); border-radius: 20px; padding: 7px 15px; font-size: 12px; font-weight: 700; color: #0b7a55; white-space: nowrap; box-shadow: 0 1px 6px rgba(28,39,51,.06); }
.hero-c1, .hero-c2, .hero-c3 { position: absolute; border-radius: 50%; background: rgba(255,255,255,.4); }
.hero-c1 { width: 130px; height: 130px; right: -35px; top: -45px; }
.hero-c2 { width: 74px; height: 74px; right: 150px; bottom: -32px; }
.hero-c3 { width: 42px; height: 42px; left: 38%; top: -16px; }
@media (prefers-color-scheme: dark) {
  .hero { background: linear-gradient(120deg, rgba(16,185,129,.16), rgba(14,165,233,.16)); }
  .hero-title { color: var(--text); }
  .hero-sub { color: var(--muted); }
  .hero-badges span { background: rgba(255,255,255,.08); color: var(--accent2); }
}
/* 商品图标 */
.prod-top { display: flex; align-items: center; gap: 12px; margin-bottom: 4px; }
.prod-icon { width: 48px; height: 48px; border-radius: 15px; display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; }
.prod-icon .ico-svg { width: 27px; height: 27px; }
.cat-ico { width: 28px; height: 28px; border-radius: 9px; display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; }
.cat-ico .ico-svg { width: 17px; height: 17px; }
.cat-list li { gap: 9px; }
.cat-name { flex: 1; }
.t-sky { background: #e0f2fe; color: #0284c7; }
.t-blue { background: #dbeafe; color: #2563eb; }
.t-slate { background: #e6ebf2; color: #475569; }
.t-violet { background: #ede9fe; color: #7c3aed; }
.t-green { background: var(--accent2-soft); color: var(--accent2-ink); }
@media (prefers-color-scheme: dark) {
  .t-sky { background: rgba(14,165,233,.16); }
  .t-blue { background: rgba(37,99,235,.2); color: #7aa5f8; }
  .t-slate { background: rgba(148,163,184,.16); color: #a8b6c9; }
  .t-violet { background: rgba(124,58,237,.2); color: #b39dff; }
}
/* 空态插图 */
.empty-illus { width: 88px; height: 70px; color: #c2cede; margin-bottom: 10px; }
/* 分类介绍（买家点分类后在列表下方展示） */
.cat-desc { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px 22px; margin-top: 18px; box-shadow: var(--shadow); }
.cat-desc[hidden] { display: none; }
.cat-desc-body { font-size: 14px; line-height: 1.85; }
.cat-desc-body img, .catdesc-preview img { max-width: 100%; height: auto; border-radius: 12px; margin: 8px 0; display: block; }
.cat-desc-body p { margin: 6px 0; }
.catdesc-preview { background: var(--bg); border: 1px dashed var(--line); border-radius: 12px; padding: 14px; margin-bottom: 10px; font-size: 14px; line-height: 1.8; }
.catdesc-preview[hidden] { display: none; }
/* 移动端 */
@media (max-width: 960px) {
  .layout { grid-template-columns: 1fr; padding: 14px 12px 24px; gap: 14px; }
  .sidebar { position: static; padding: 10px; }
  .side-title { display: none; }
  .cat-list { display: flex; overflow-x: auto; gap: 8px; padding-bottom: 2px; }
  .cat-list li { white-space: nowrap; border: 1.5px solid var(--line); background: var(--card); font-weight: 600; }
  .cat-list li.active { border-color: var(--accent2); background: var(--accent2); color: #fff; }
  .cat-list li.active .cnt { background: rgba(255,255,255,.25); }
  .cat-list .cnt { background: var(--bg); }
  .orderbar { position: static; }
  .prod-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .prod-card { padding: 14px; }
  .prod-name { font-size: 14px; }
  .prod-hl { display: none; }
  .prod-price { font-size: 19px; }
  .modal { padding: 20px; border-radius: 18px; }
  .btn-primary { padding: 15px; }
}
@media (max-width: 380px) {
  .prod-grid { grid-template-columns: 1fr; }
  .prod-hl { display: -webkit-box; }
}
