/* ============================================================
   炫风比价 · 全品类比价智能体 · 主样式
   ============================================================ */
:root {
  --brand: #534AB7;
  --brand-light: #EEEDFE;
  --brand-dark: #3C3489;
  --accent: #378ADD;
  --accent-light: #E6F1FB;
  --good: #639922;
  --good-light: #EAF3DE;
  --warn: #BA7517;
  --warn-light: #FAEEDA;
  --danger: #A32D2D;
  --danger-light: #FCEBEB;
  --bg: #F7F6F2;
  --surface: #FFF;
  --border: rgba(60, 52, 137, .12);
  --text: #2C2C2A;
  --text-2: #5F5E5A;
  --text-3: #888780;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
body { font-family: -apple-system, "Segoe UI", "PingFang SC", "Microsoft YaHei", "Helvetica Neue", sans-serif;
       background: var(--bg); color: var(--text); font-size: 14px; line-height: 1.5; min-height: 100vh; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }

/* ---------- Header ---------- */
.site-header {
  background: linear-gradient(135deg, #534AB7, #378ADD);
  color: #fff; padding: 14px 24px;
  display: flex; align-items: center; justify-content: space-between;
  position: sticky; top: 0; z-index: 100;
  box-shadow: 0 2px 18px rgba(60, 52, 137, .18);
}
.brand { display: flex; align-items: center; gap: 12px; }
.logo { width: 38px; height: 38px; background: rgba(255,255,255,.18); border: 1px solid rgba(255,255,255,.3);
        border-radius: 10px; display: flex; align-items: center; justify-content: center; font-size: 20px; }
.brand-name { font-size: 16px; font-weight: 600; }
.brand-tag { font-size: 12px; opacity: .8; margin-top: 2px; }
.header-right { display: flex; align-items: center; gap: 10px; }
.meta-pill { background: rgba(255,255,255,.15); border: 1px solid rgba(255,255,255,.25);
             padding: 4px 10px; border-radius: 999px; font-size: 12px; }
.meta-dot { width: 6px; height: 6px; border-radius: 50%; background: #62e88a; display: inline-block;
            margin-right: 6px; box-shadow: 0 0 0 3px rgba(98,232,138,.25); }
.meta-dot.manual { background: #F5B942; box-shadow: 0 0 0 3px rgba(245,185,66,.25); }
.share-btn { display: inline-flex; align-items: center; gap: 5px; padding: 6px 12px;
             background: rgba(255,255,255,.18); border: 1px solid rgba(255,255,255,.3);
             color: #fff; border-radius: 999px; font-size: 12px; }
.share-btn:hover { background: rgba(255,255,255,.3); }

/* ---------- 微信下拉的隐藏菜单提示，藏了 toast ---------- */
.share-toast { position: fixed; bottom: 30%; left: 50%; transform: translate(-50%, 50%);
               background: rgba(0,0,0,.85); color: #fff; padding: 12px 24px;
               border-radius: 999px; font-size: 14px; opacity: 0;
               transition: opacity .25s; z-index: 9999; pointer-events: none; }
.share-toast.show { opacity: 1; }

/* ---------- Main ---------- */
main { max-width: 1280px; margin: 0 auto; padding: 24px 24px 60px; display: flex; flex-direction: column; gap: 18px; }

/* ---------- 通用 Head / 段头 ---------- */
.head-block {
  background: var(--surface); border: 1px solid var(--border); border-radius: 14px;
  padding: 16px 22px; display: flex; align-items: center; justify-content: space-between;
  gap: 16px; flex-wrap: wrap;
}
.head-block h2 { font-size: 16px; font-weight: 500; }
.head-block .sub { font-size: 12px; color: var(--text-3); margin-top: 4px; }
.head-block .head-right { font-size: 12px; }
.section-head { margin: 8px 4px -4px; display: flex; align-items: baseline; gap: 12px; }
.section-head h2 { font-size: 18px; font-weight: 600; }
.section-head .sub { color: var(--text-3); font-size: 12px; }
.dim { color: var(--text-3); margin: 0 6px; }

/* ---------- 首页 Hero ---------- */
.hero {
  background: linear-gradient(135deg, #534AB7, #6E63D6, #378ADD);
  color: #fff; border-radius: 18px; padding: 36px 32px;
  position: relative; overflow: hidden;
}
.hero::before { content: '🛒'; position: absolute; font-size: 240px; opacity: .06;
                right: -30px; top: -50px; transform: rotate(-12deg); }
.hero h1 { font-size: 28px; font-weight: 600; max-width: 720px; line-height: 1.3; }
.hero-sub { margin-top: 10px; font-size: 15px; max-width: 720px; line-height: 1.7; opacity: .92; }
.hero-stats { display: flex; gap: 16px; margin-top: 22px; flex-wrap: wrap; }
.stat { background: rgba(255,255,255,.15); backdrop-filter: blur(10px); border: 1px solid rgba(255,255,255,.25);
        border-radius: 14px; padding: 12px 18px; min-width: 110px; }
.stat b { display: block; font-size: 22px; font-weight: 600; }
.stat span { display: block; font-size: 12px; opacity: .85; margin-top: 2px; }

/* ---------- 首页选品信任说明 ---------- */
.trust-block {
  background: var(--surface); border: 1px solid var(--border); border-radius: 14px;
  padding: 18px 22px; display: flex; gap: 16px; align-items: flex-start;
}
.trust-badge {
  width: 46px; height: 46px; background: var(--brand-light); border-radius: 12px;
  display: flex; align-items: center; justify-content: center; font-size: 24px; flex-shrink: 0;
}
.trust-body { flex: 1; min-width: 0; }
.trust-title { font-size: 15px; font-weight: 600; }
.trust-desc { font-size: 13px; color: var(--text-2); line-height: 1.7; margin-top: 6px; }
.trust-desc b { color: var(--brand-dark); font-weight: 600; }
.trust-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.trust-tags span {
  font-size: 12px; padding: 5px 12px; border-radius: 999px;
  background: var(--good-light); color: var(--good); font-weight: 500;
}

/* ---------- 首页 Q&A ---------- */
.quick-ask, .chat-card {
  background: var(--surface); border: 1px solid var(--border); border-radius: 14px; padding: 18px 22px;
}
.quick-ask .head, .chat-card .head { display: flex; align-items: baseline; gap: 12px; margin-bottom: 14px; }
.quick-ask h2, .chat-card h2 { font-size: 16px; font-weight: 500; }
.quick-ask .sub, .chat-card .sub { color: var(--text-3); font-size: 12px; }
.qa-grid { display: flex; gap: 8px; }
.qa-grid input {
  flex: 1; padding: 11px 14px; border: 1px solid var(--border); border-radius: 10px;
  font-size: 14px; font-family: inherit; outline: none;
}
.qa-grid input:focus { border-color: var(--brand); }
.qa-grid button {
  padding: 11px 22px; background: var(--brand); color: #fff; border: none;
  border-radius: 10px; font-weight: 500; transition: background .2s;
}
.qa-grid button:hover { background: var(--brand-dark); }
.qa-suggestions { display: flex; flex-wrap: wrap; gap: 6px; margin: 12px 0 0; }
.qa-suggestions span {
  padding: 5px 12px; background: var(--bg); border: 1px solid var(--border);
  border-radius: 999px; font-size: 12px; color: var(--text-2); cursor: pointer;
  transition: all .15s;
}
.qa-suggestions span:hover { background: var(--brand-light); color: var(--brand-dark); border-color: transparent; }

.qa-result { margin-top: 14px; min-height: 40px; }
.qa-msg { background: var(--bg); border-radius: 10px; padding: 12px 14px; font-size: 13px;
          color: var(--text-2); line-height: 1.7; margin-bottom: 10px; }
.qa-msg.qa-loading, .qa-msg.qa-err { background: var(--accent-light); color: var(--accent); }
.qa-alert { background: var(--warn-light); color: var(--warn); border-radius: 10px; padding: 10px 14px;
            font-size: 13px; margin-top: 8px; }
.qa-card { background: var(--surface); border: 1px solid var(--border); border-radius: 12px;
           padding: 12px 14px; display: flex; gap: 12px; margin-bottom: 10px; }
.qa-rank { width: 26px; height: 26px; background: var(--brand); color: #fff; border-radius: 50%;
           display: flex; align-items: center; justify-content: center; font-weight: 600; flex-shrink: 0; }
.qa-body { flex: 1; min-width: 0; }
.qa-name { font-size: 14px; font-weight: 500; }
.qa-reason { color: var(--text-2); font-size: 12px; margin-top: 2px; }
.qa-spec { color: var(--text-3); font-size: 12px; margin-top: 2px; }
.qa-platforms { display: flex; gap: 6px; margin-top: 8px; flex-wrap: wrap; }
.plat-tag { font-size: 11px; padding: 2px 8px; border-radius: 4px; color: #fff; }
.plat-tag.jd { background: #E1251B; } .plat-tag.tb { background: #FF4400; }
.plat-tag.pdd { background: #E02D2D; } .plat-tag.dy { background: #161823; }
.qa-cta { margin-top: 8px; display: flex; gap: 12px; align-items: center; }
.qa-cta a { color: var(--brand); font-size: 12px; font-weight: 500; }
.qa-best { color: var(--danger); font-size: 12px; font-weight: 600; }

/* ---------- 品类网格 ---------- */
.cat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: 12px; }
.cat-card { background: var(--surface); border: 1px solid var(--border); border-radius: 14px;
            padding: 18px 18px; transition: all .2s; position: relative; overflow: hidden; }
.cat-card::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px;
                    background: var(--accent); }
.cat-card:hover { transform: translateY(-3px); box-shadow: 0 8px 24px rgba(60,52,137,.12);
                  border-color: var(--accent); }
.cat-card-head { display: flex; align-items: center; gap: 10px; }
.cat-icon { font-size: 28px; }
.cat-card h3 { font-size: 17px; font-weight: 600; }
.cat-tagline { color: var(--text-3); font-size: 12px; margin: 6px 0 12px; }
.cat-subs { display: flex; flex-wrap: wrap; gap: 5px; }
.cat-sub-pill { font-size: 11px; padding: 3px 8px; border-radius: 4px; background: var(--bg);
                color: var(--text-2); }
.cat-sub-pill.more { background: var(--brand-light); color: var(--brand-dark); }
.cat-cta { margin-top: 14px; padding-top: 12px; border-top: 1px dashed var(--border);
           color: var(--brand); font-size: 12px; font-weight: 500; }

/* ---------- CTA Block ---------- */
.cta-block {
  background: linear-gradient(135deg, var(--brand-light), #fff);
  border: 1px dashed var(--brand); border-radius: 14px; padding: 24px;
  text-align: center;
}
.cta-block h3 { font-size: 18px; color: var(--brand-dark); }
.cta-block p { color: var(--text-2); font-size: 13px; margin-top: 6px; }
.cta-buttons { display: flex; gap: 12px; justify-content: center; margin-top: 14px; flex-wrap: wrap; }
.cta-buttons button, .primary-btn, .cta-buttons .cta-link {
  padding: 10px 24px; background: var(--brand); color: #fff; border: none;
  border-radius: 999px; font-size: 13px; font-weight: 500; cursor: pointer; display: inline-block;
  text-decoration: none; font-family: inherit;
}
.cta-buttons .cta-link { background: #fff; color: var(--brand); border: 1.5px solid var(--brand); }
.dim-btn { padding: 10px 24px; background: var(--surface); border: 1px solid var(--border);
           border-radius: 999px; font-size: 13px; color: var(--text-2); display: inline-block;
           margin-left: 8px; }

/* ---------- 横向对比表 ---------- */
.compare-card { background: var(--surface); border: 1px solid var(--border); border-radius: 14px; padding: 18px 22px; }
.compare-head { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 14px; flex-wrap: wrap; gap: 8px; }
.compare-title { font-size: 14px; font-weight: 500; }
.compare-tip { font-size: 12px; color: var(--text-3); }
.compare-table { display: grid; grid-template-columns: 110px repeat(3, 1fr);
                 border: 1px solid var(--border); border-radius: 10px; overflow: hidden; font-size: 12px; }
.compare-th, .compare-th-product { padding: 12px 10px; background: var(--bg);
                                   border-right: 1px solid var(--border); border-bottom: 1px solid var(--border); font-weight: 500; }
.compare-th { color: var(--text-3); font-size: 11px; text-transform: uppercase; letter-spacing: .5px; }
.compare-th-product { position: relative; }
.compare-th-product:last-child, .compare-cell:last-child { border-right: none; }
.compare-th-product .rank { position: absolute; top: 6px; right: 8px; font-size: 10px;
                            padding: 2px 6px; border-radius: 4px; background: var(--brand);
                            color: #fff; font-weight: 500; }
.compare-th-product .rank.rank-2 { background: var(--good); }
.compare-th-product .rank.rank-3 { background: var(--text-3); }
.compare-th-product .emoji { font-size: 22px; }
.compare-th-product .pname { font-weight: 500; margin-top: 4px; line-height: 1.3; }
.compare-th-product .pprice { color: var(--danger); font-weight: 600; font-size: 15px; margin-top: 4px; }
.compare-th-product .psub { font-size: 10px; color: var(--text-3); margin-top: 2px; }
.compare-row-label { padding: 10px; background: var(--bg); border-right: 1px solid var(--border);
                     border-bottom: 1px solid var(--border); font-weight: 500; color: var(--text-2);
                     font-size: 12px; display: flex; align-items: center; }
.compare-cell { padding: 10px; border-right: 1px solid var(--border); border-bottom: 1px solid var(--border); font-size: 12px; }
.compare-cell.best .v { color: var(--good); font-weight: 600; }
.compare-cell.warn .v { color: var(--warn); }
.compare-cell.bad .v { color: var(--danger); }
.compare-cell .v { font-weight: 500; }
.compare-cell .l { color: var(--text-2); font-size: 11px; }

/* ---------- 分享卡预览 ---------- */
.share-card-preview { background: var(--surface); border: 1px solid var(--border); border-radius: 14px;
                      padding: 18px 22px; }
.share-card-preview .head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; flex-wrap: wrap; }
.share-card-preview h2 { font-size: 14px; font-weight: 500; }
.share-card-preview .sub { color: var(--text-3); font-size: 12px; }
.share-wrap { display: flex; gap: 18px; align-items: flex-start; flex-wrap: wrap; }
.share-img { width: 280px; height: 280px; border-radius: 10px; box-shadow: 0 8px 24px rgba(60,52,137,.18); }
.share-actions { flex: 1; min-width: 200px; display: flex; flex-direction: column; gap: 10px; }
.share-actions button, .share-actions a {
  padding: 11px 14px; background: var(--brand); color: #fff; border: none;
  border-radius: 10px; font-size: 13px; cursor: pointer; text-align: center;
  transition: background .2s;
}
.share-actions button:hover, .share-actions a:hover { background: var(--brand-dark); }
.share-actions button:not(.primary-btn):nth-child(2), .share-actions .primary-btn {
  background: var(--good);
}
.share-actions button:not(.primary-btn):nth-child(3) { background: var(--accent); }

/* ---------- 详情卡片 ---------- */
.detail-card { background: var(--surface); border: 1px solid var(--border); border-radius: 14px; padding: 18px 22px; }
.detail-card.rank1 { border-color: var(--brand); background: linear-gradient(180deg, rgba(238,237,254,.3), #fff 60%); }
.detail-head { display: flex; gap: 14px; margin-bottom: 14px; }
.img-box { width: 72px; height: 72px; background: linear-gradient(135deg, var(--brand-light), var(--accent-light));
           border-radius: 10px; display: flex; align-items: center; justify-content: center; font-size: 32px;
           flex-shrink: 0; position: relative; }
.img-box .rank { position: absolute; top: -6px; left: -6px; width: 22px; height: 22px; background: var(--brand);
                 color: #fff; border-radius: 50%; display: flex; align-items: center; justify-content: center;
                 font-size: 11px; font-weight: 600; }
.detail-info { flex: 1; min-width: 0; }
.detail-name { font-size: 15px; font-weight: 500; }
.detail-sub { font-size: 12px; color: var(--text-3); margin-top: 3px; }
.tags-row { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 6px; }
.tag { font-size: 11px; padding: 3px 8px; border-radius: 4px; background: var(--bg);
       color: var(--text-2); border: 1px solid var(--border); }
.tag.good { background: var(--good-light); color: var(--good); border-color: transparent; }
.tag.warn { background: var(--warn-light); color: var(--warn); border-color: transparent; }
.tag.info { background: var(--accent-light); color: var(--accent); border-color: transparent; }
.tag.brand { background: var(--brand-light); color: var(--brand-dark); border-color: transparent; }

.keyinfo-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--border);
               border-radius: 10px; overflow: hidden; margin-bottom: 14px; }
.keyinfo { background: var(--surface); padding: 10px 12px; }
.keyinfo .kl { font-size: 11px; color: var(--text-3); margin-bottom: 3px; }
.keyinfo .kv { font-size: 15px; font-weight: 600; }
.keyinfo .kv.good { color: var(--good); }
.keyinfo .kv.danger { color: var(--danger); }
.keyinfo .kv.warn { color: var(--warn); }
.keyinfo .ks { font-size: 11px; color: var(--text-3); margin-top: 2px; }

.reason-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 14px; }
.reason-block { background: var(--bg); border-radius: 10px; padding: 10px 14px; }
.reason-block.pros { border-left: 3px solid var(--good); }
.reason-block.cons { border-left: 3px solid var(--warn); }
.reason-block .rt { font-size: 12px; font-weight: 500; margin-bottom: 6px; color: var(--text-2); }
.reason-block ul { list-style: none; font-size: 12px; line-height: 1.7; }
.reason-block ul li { padding-left: 14px; position: relative; }
.reason-block.pros li::before { content: '✓'; position: absolute; left: 0; color: var(--good); font-weight: 600; }
.reason-block.cons li::before { content: '✗'; position: absolute; left: 0; color: var(--warn); font-weight: 600; }

.store-list { border: 1px solid var(--border); border-radius: 10px; overflow: hidden; }
.store-list-head { background: var(--bg); padding: 8px 12px; font-size: 12px; font-weight: 500;
                   color: var(--text-2); display: flex; justify-content: space-between; }
.store-row { display: grid; grid-template-columns: 70px 1fr 90px 60px; gap: 8px; padding: 9px 12px;
             border-top: 1px solid var(--border); align-items: center; font-size: 12px; }
.store-row:first-of-type { border-top: none; }
.store-row.recommend { background: var(--good-light); }
.store-platform { display: flex; align-items: center; gap: 5px; font-weight: 500; }
.platform-tag { width: 22px; height: 16px; border-radius: 3px;
                display: flex; align-items: center; justify-content: center;
                font-size: 10px; font-weight: 600; color: #fff; }
.store-name { color: var(--text-2); font-size: 12px; }
.store-tag-inline { display: inline-block; font-size: 10px; padding: 1px 5px; border-radius: 3px;
                    margin-left: 4px; font-weight: 500; }
.store-tag-inline.ziyun { background: #FFE7E7; color: #C00; }
.store-tag-inline.guanfang { background: #FFF4D9; color: #B2700D; }
.store-tag-inline.baiyi { background: var(--danger-light); color: var(--danger); }
.store-recommend-tag { font-size: 10px; background: var(--danger); color: #fff;
                       padding: 2px 5px; border-radius: 3px; margin-left: 4px; }
.store-price { font-size: 14px; font-weight: 600; color: var(--text); text-align: right; }
.store-price.best { color: var(--danger); }
.store-action { background: var(--brand); color: #fff; border: none; padding: 4px 10px;
                border-radius: 5px; font-size: 11px; cursor: pointer; font-family: inherit;
                text-decoration: none; display: inline-block; }
.store-action:hover { background: var(--brand-dark); }
.store-action.disabled { background: #E0E0E0; color: #888; cursor: not-allowed; }
.store-source-tag { font-size: 10px; color: #888; padding: 2px 4px; border-radius: 3px;
                    background: #F5F5F5; margin-left: 6px; }
.store-source-tag[data-source="live"]    { background: #E5F5E0; color: #2C8B0F; }   /* 实时接口 */
.store-source-tag[data-source="manual"]  { background: #FFF7E0; color: #B07820; }   /* 人工 */
.store-source-tag[data-source="mock"]    { background: #FFE5E5; color: #C0341D; }   /* demo */
.store-source-tag[data-source="unavailable"] { background: #F0F0F0; color: #999; }

/* ---------- [review P1] 同款跨子品类 ---------- */
.same-sku-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 12px;
  margin: 8px 0 16px;
}
.same-sku-card {
  background: #FAF8FF;
  border: 1px solid var(--brand-soft);
  border-radius: 12px;
  padding: 12px 14px;
}
.same-sku-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px; }
.same-sku-from { font-size: 13px; color: var(--text-2); font-weight: 500; }
.same-sku-from::before { content: '📦 '; }
.same-sku-tag { font-size: 11px; padding: 3px 8px; border-radius: 10px; background: var(--brand); color: #fff; }
.same-sku-list { display: flex; flex-direction: column; gap: 6px; }
.same-sku-row {
  display: grid;
  grid-template-columns: auto auto 1fr auto;
  gap: 8px;
  align-items: center;
  padding: 7px 9px;
  background: #fff;
  border-radius: 6px;
  text-decoration: none;
  color: var(--text);
  font-size: 12px;
}
.same-sku-row:hover { background: #fff; box-shadow: 0 1px 4px rgba(0,0,0,.08); }
.same-sku-cat { color: var(--brand); font-weight: 600; }
.same-sku-sub { color: var(--text-3); }
.same-sku-name { color: var(--text-2); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.meta-tag { font-size: 11px; padding: 3px 8px; border-radius: 4px; background: #F0EBFC; color: var(--brand); display: inline-block; }
.history-link { text-decoration: none; }
.history-link:hover { background: var(--brand); color: #fff; }

/* ---------- 子品类/其他品类导航 ---------- */
.subs-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-top: 8px; }
.sub-card {
  background: var(--surface); border: 1px solid var(--border); border-radius: 10px;
  padding: 12px; display: flex; align-items: center; gap: 8px; transition: all .15s;
}
.sub-card:hover { border-color: var(--brand); transform: translateY(-2px); }
.sub-icon { font-size: 18px; }
.cats-strip { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 8px; }
.strip-card {
  background: var(--surface); border: 1px solid var(--border); border-radius: 999px;
  padding: 8px 14px; display: flex; align-items: center; gap: 6px; font-size: 13px; transition: all .15s;
}
.strip-card:hover { border-color: var(--accent); background: var(--accent-light); }
.strip-icon { font-size: 16px; }

/* ---------- 404 / Empty ---------- */
.empty-block { background: var(--surface); border: 1px solid var(--border); border-radius: 14px;
               padding: 60px 32px; text-align: center; }
.empty-block .emoji { font-size: 60px; margin-bottom: 16px; }
.empty-block h2 { font-size: 18px; }
.empty-block p { color: var(--text-3); margin: 8px 0 20px; }

/* ---------- Footer ---------- */
.site-footer { text-align: center; padding: 28px 16px; color: var(--text-3); font-size: 12px; line-height: 1.9; border-top: 1px solid var(--border); margin-top: 24px; }
.site-footer .tech { color: var(--brand); margin: 0 3px; }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .cat-grid, .subs-grid { grid-template-columns: repeat(3, 1fr); }
  .hero h1 { font-size: 24px; }
}
@media (max-width: 768px) {
  .cat-grid, .subs-grid { grid-template-columns: repeat(2, 1fr); }
  .compare-table { grid-template-columns: 90px repeat(3, 1fr); font-size: 11px; }
  .keyinfo-row { grid-template-columns: repeat(2, 1fr); }
  .reason-row { grid-template-columns: 1fr; }
  .store-row { grid-template-columns: 60px 1fr 80px; }
  .store-action { display: none; }
  main { padding: 16px; }
  .hero { padding: 24px 20px; }
  .hero h1 { font-size: 20px; }
  .stat { min-width: 90px; padding: 10px 12px; }
}
@media (max-width: 480px) {
  .cat-grid, .subs-grid { grid-template-columns: 1fr 1fr; }
  .hero-stats { gap: 8px; }
}
