/* ============================================================
   前台样式（手写 CSS，无外部 CDN 依赖，境内访问不卡）
   结构：变量 → 基础 → 头部 → Hero → 区块 → 商品卡 → 详情
        → 列表筛选 → 店铺 → 文章页 → 页脚 → 响应式
   ============================================================ */

:root {
  --brand-50: #f4f1f6;
  --brand-100: #e4ddea;
  --brand-200: #c9bad4;
  --brand-300: #a991bc;
  --brand-400: #8669a0;
  --brand-500: #6a4982;
  --brand-600: #54396a;
  --brand-700: #412c52;
  --brand-800: #33213f;
  --brand-900: #26182f;

  --accent: #b5734c;
  --price: #b23a2c;
  --ink: #26212b;
  --ink-2: #5b5462;
  --ink-3: #8b8494;
  --line: #eae4ee;
  --bg: #fbf9f7;
  --card: #ffffff;
  --radius: 10px;
  --radius-lg: 16px;
  --shadow-sm: 0 1px 2px rgba(38, 24, 47, .05);
  --shadow: 0 8px 24px -8px rgba(38, 24, 47, .16);
  --container: 1200px;
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: system-ui, -apple-system, "PingFang SC", "Hiragino Sans GB",
    "Microsoft YaHei", sans-serif;
  font-size: 14px;
  line-height: 1.6;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button { font-family: inherit; cursor: pointer; }
ul { list-style: none; margin: 0; padding: 0; }

.container { max-width: var(--container); margin: 0 auto; padding: 0 20px; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  height: 40px; padding: 0 20px; border-radius: 8px; border: 1px solid transparent;
  font-size: 14px; transition: background .18s, border-color .18s, color .18s;
}
.btn-primary { background: var(--brand-600); color: #fff; }
.btn-primary:hover { background: var(--brand-700); }
.btn-ghost { border-color: var(--line); background: #fff; color: var(--ink-2); }
.btn-ghost:hover { border-color: var(--brand-300); color: var(--brand-600); }
.btn-accent { background: var(--accent); color: #fff; }
.btn-accent:hover { filter: brightness(.94); }
.btn-lg { height: 46px; padding: 0 28px; font-size: 15px; }

/* ---------- 顶部信息条 ---------- */
.topbar {
  background: var(--brand-900); color: rgba(255, 255, 255, .72);
  font-size: 12.5px; height: 36px; display: flex; align-items: center;
}
.topbar .container { display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.topbar a:hover { color: #fff; }
.topbar .tb-right { display: flex; gap: 18px; align-items: center; }
.topbar .divider { width: 1px; height: 12px; background: rgba(255, 255, 255, .2); }

/* ---------- 站点头部 ---------- */
.site-header {
  position: sticky; top: 0; z-index: 60;
  background: rgba(255, 255, 255, .92);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--line);
}
.site-header.is-scrolled { box-shadow: var(--shadow-sm); }
.header-main {
  display: flex; align-items: center; gap: 28px;
  height: 74px;
}
.logo { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.logo-mark {
  width: 34px; height: 34px; border-radius: 9px; background: var(--brand-600);
  color: #fff; display: grid; place-items: center; font-size: 15px; letter-spacing: .5px;
}
.logo-text { font-size: 18px; font-weight: 500; letter-spacing: .06em; color: var(--brand-800); }
.logo-sub { display: block; font-size: 11px; color: var(--ink-3); letter-spacing: .12em; margin-top: -2px; }

.header-search { flex: 1; max-width: 520px; position: relative; min-width: 0; }
.header-search input {
  width: 100%; min-width: 0; height: 42px; padding: 0 92px 0 16px; border-radius: 999px;
  border: 1px solid var(--line); background: #f7f4f9; font-size: 14px; color: var(--ink);
  outline: none; transition: border-color .18s, background .18s;
}
.header-search input::placeholder { color: var(--ink-3); }
.header-search input:focus { border-color: var(--brand-300); background: #fff; }
.header-search button {
  position: absolute; right: 4px; top: 4px; height: 34px; padding: 0 18px;
  border: none; border-radius: 999px; background: var(--brand-600); color: #fff; font-size: 13.5px;
}
.header-search button:hover { background: var(--brand-700); }

.header-actions { display: flex; align-items: center; gap: 22px; flex-shrink: 0; font-size: 13px; color: var(--ink-2); }
.header-actions .act { display: flex; flex-direction: column; align-items: center; gap: 3px; }
.header-actions .act:hover { color: var(--brand-600); }
.header-actions .act .ico { color: var(--ink-3); transition: color .18s; }
.header-actions .act:hover .ico { color: var(--brand-600); }

.main-nav { border-top: 1px solid var(--line); }
.main-nav .container { display: flex; align-items: center; gap: 30px; height: 48px; }
.main-nav a { font-size: 14.5px; color: var(--ink-2); padding: 0 2px; height: 48px; display: flex; align-items: center; border-bottom: 2px solid transparent; }
.main-nav a:hover { color: var(--brand-600); }
.main-nav a.is-active { color: var(--brand-700); border-bottom-color: var(--brand-600); font-weight: 500; }
.nav-toggle { display: none; }

/* ---------- Hero ---------- */
.hero {
  background-color: var(--brand-900);
  background-image:
    repeating-linear-gradient(0deg, rgba(255,255,255,.045) 0 1px, transparent 1px 64px),
    repeating-linear-gradient(90deg, rgba(255,255,255,.045) 0 1px, transparent 1px 64px);
  color: #fff; padding: 72px 0 64px;
}
.hero-inner { max-width: 760px; }
.hero-kicker { font-size: 12.5px; letter-spacing: .28em; color: rgba(255,255,255,.55); margin-bottom: 20px; }
.hero-title { font-size: 40px; line-height: 1.3; font-weight: 400; letter-spacing: .22em; margin: 0 0 14px; }
.hero-sub { font-size: 15px; color: rgba(255,255,255,.68); letter-spacing: .04em; margin-bottom: 34px; }
.hero-search { display: flex; background: #fff; border-radius: 10px; padding: 6px; max-width: 620px; }
.hero-search input { flex: 1; min-width: 0; border: none; outline: none; height: 44px; padding: 0 14px; font-size: 15px; background: none; color: var(--ink); }
.hero-search button { height: 44px; padding: 0 30px; border: none; border-radius: 7px; background: var(--brand-600); color: #fff; font-size: 15px; }
.hero-search button:hover { background: var(--brand-700); }
.hero-tags { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 18px; font-size: 13px; color: rgba(255,255,255,.6); }
.hero-tags a { padding: 4px 12px; border: 1px solid rgba(255,255,255,.22); border-radius: 999px; }
.hero-tags a:hover { border-color: rgba(255,255,255,.6); color: #fff; }

/* ---------- 通用区块 ---------- */
.section { padding: 56px 0; }
.section + .section { padding-top: 8px; }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 24px; padding-bottom: 16px; border-bottom: 1px solid var(--line); }
.sh-left { display: flex; align-items: baseline; gap: 14px; }
.sh-index { font-size: 13px; color: var(--brand-300); letter-spacing: .1em; }
.sh-title { font-size: 24px; font-weight: 500; letter-spacing: .04em; margin: 0; }
.sh-desc { font-size: 13px; color: var(--ink-3); }
.sh-more { font-size: 13.5px; color: var(--ink-2); display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; }
.sh-more:hover { color: var(--brand-600); }
.sh-more::after { content: "→"; transition: transform .18s; }
.sh-more:hover::after { transform: translateX(3px); }

/* ---------- 商品网格 ---------- */
.grid { display: grid; gap: 20px; }
.grid-6 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }

.card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
  display: flex; flex-direction: column;
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: var(--brand-200); }
.card-media { position: relative; aspect-ratio: 4 / 3; background: #f4f1f0; overflow: hidden; }
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.card:hover .card-media img { transform: scale(1.03); }
.card-body { padding: 14px 16px 16px; display: flex; flex-direction: column; flex: 1; }
.card-title {
  font-size: 14.5px; font-weight: 500; color: var(--ink); margin: 0 0 6px;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
  min-height: 44px;
}
.card-desc {
  font-size: 12.5px; color: var(--ink-3); margin: 0 0 14px;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.card-foot { margin-top: auto; display: flex; align-items: flex-end; justify-content: space-between; gap: 10px; }
.price { color: var(--price); font-size: 17px; font-weight: 500; letter-spacing: .01em; }
.price small { font-size: 12px; margin-right: 1px; }
.price-old { color: var(--ink-3); font-size: 12px; text-decoration: line-through; margin-left: 6px; font-weight: 400; }
.card-link { font-size: 12.5px; color: var(--brand-600); display: inline-flex; align-items: center; gap: 4px; }
.card-link::after { content: "→"; }
.tag-new { position: absolute; left: 10px; top: 10px; background: rgba(38,24,47,.82); color: #fff; font-size: 11.5px; padding: 3px 8px; border-radius: 4px; }
.tag-cat { position: absolute; right: 10px; bottom: 10px; background: rgba(255,255,255,.92); color: var(--brand-700); font-size: 11.5px; padding: 3px 8px; border-radius: 4px; }

/* ---------- 店铺卡 ---------- */
.shop-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; display: flex; gap: 14px; align-items: center; transition: box-shadow .2s, transform .2s, border-color .2s; }
.shop-card:hover { transform: translateY(-2px); box-shadow: var(--shadow); border-color: var(--brand-200); }
.shop-avatar { width: 52px; height: 52px; border-radius: 12px; background: var(--brand-50); color: var(--brand-600); display: grid; place-items: center; font-size: 18px; font-weight: 500; flex-shrink: 0; }
.shop-name { font-size: 15px; font-weight: 500; margin: 0 0 4px; }
.shop-meta { font-size: 12.5px; color: var(--ink-3); }
.shop-enter { margin-left: auto; font-size: 12.5px; color: var(--brand-600); white-space: nowrap; }

/* ---------- 面包屑 ---------- */
.breadcrumb { padding: 18px 0; font-size: 12.5px; color: var(--ink-3); display: flex; gap: 8px; flex-wrap: wrap; }
.breadcrumb a:hover { color: var(--brand-600); }
.breadcrumb .sep { color: #cfc8d6; }

/* ---------- 商品详情 ---------- */
.detail { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 44px; padding: 8px 0 40px; }
.gallery-main { border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; background: #f4f1f0; aspect-ratio: 4 / 3; }
.gallery-main img { width: 100%; height: 100%; object-fit: cover; }
.gallery-thumbs { display: flex; gap: 10px; margin-top: 12px; }
.gallery-thumbs button { width: 76px; height: 60px; border-radius: 8px; overflow: hidden; border: 1px solid var(--line); background: #f4f1f0; padding: 0; }
.gallery-thumbs button.is-active { border-color: var(--brand-500); }
.gallery-thumbs img { width: 100%; height: 100%; object-fit: cover; }

.detail-title { font-size: 25px; line-height: 1.42; font-weight: 500; margin: 0 0 10px; }
.detail-sub { font-size: 14px; color: var(--ink-2); margin: 0 0 18px; }
.price-panel { background: #faf7fb; border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 20px; }
.price-panel .row { display: flex; align-items: baseline; gap: 14px; flex-wrap: wrap; }
.price-panel .price { font-size: 30px; }
.price-panel .meta { font-size: 12.5px; color: var(--ink-3); display: flex; gap: 18px; margin-top: 10px; flex-wrap: wrap; }
.detail-tags { display: flex; gap: 8px; flex-wrap: wrap; margin: 18px 0 22px; }
.detail-tags span { font-size: 12px; color: var(--brand-600); background: var(--brand-50); border: 1px solid var(--brand-100); padding: 4px 10px; border-radius: 999px; }
.buy-actions { display: flex; gap: 12px; margin: 24px 0; }
.buy-actions .btn { flex: 1; }

.shop-panel { border: 1px solid var(--line); border-radius: var(--radius); background: #fff; padding: 18px; margin-top: 8px; }
.shop-panel-head { display: flex; gap: 12px; align-items: flex-start; margin-bottom: 14px; }
.shop-panel .badge { font-size: 11.5px; color: var(--brand-600); background: var(--brand-50); padding: 2px 8px; border-radius: 4px; margin-left: 6px; vertical-align: 1px; }
.shop-panel dl { margin: 0; display: grid; grid-template-columns: 72px 1fr; gap: 8px 10px; font-size: 13px; }
.shop-panel dt { color: var(--ink-3); }
.shop-panel dd { margin: 0; color: var(--ink-2); }

.tabs { border-bottom: 1px solid var(--line); display: flex; gap: 34px; margin-top: 8px; }
.tabs button { background: none; border: none; padding: 14px 0; font-size: 15px; color: var(--ink-2); border-bottom: 2px solid transparent; margin-bottom: -1px; }
.tabs button.is-active { color: var(--brand-700); border-bottom-color: var(--brand-600); font-weight: 500; }
.tab-panel { padding: 28px 0 8px; }
.tab-panel[hidden] { display: none; }

.prose { font-size: 14.5px; line-height: 1.95; color: var(--ink-2); max-width: 860px; }
.prose h2 { font-size: 17px; font-weight: 500; color: var(--ink); margin: 26px 0 10px; }
.prose h2:first-child { margin-top: 0; }
.prose p { margin: 0 0 14px; }
.prose ol, .prose ul { padding-left: 22px; margin: 0 0 16px; }
.prose li { margin-bottom: 8px; list-style: disc; }
.prose ol li { list-style: decimal; }
.prose strong { color: var(--ink); font-weight: 500; }

.spec-table { width: 100%; border-collapse: collapse; font-size: 13.5px; max-width: 780px; }
.spec-table th, .spec-table td { border: 1px solid var(--line); padding: 11px 16px; text-align: left; }
.spec-table th { background: #faf8fb; color: var(--ink-3); font-weight: 400; width: 148px; }
.spec-table td { color: var(--ink-2); }

.service-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; max-width: 820px; }
.service-item { border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 18px; background: #fff; }
.service-item h4 { margin: 0 0 6px; font-size: 14px; font-weight: 500; color: var(--ink); }
.service-item p { margin: 0; font-size: 13px; color: var(--ink-2); }

.faq { max-width: 820px; }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary { cursor: pointer; padding: 16px 0; font-size: 14.5px; color: var(--ink); list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; color: var(--ink-3); }
.faq-item[open] summary::after { content: "–"; }
.faq-item p { margin: 0 0 16px; font-size: 13.5px; color: var(--ink-2); line-height: 1.8; }

/* ---------- 列表页 ---------- */
.list-layout { display: grid; grid-template-columns: 216px minmax(0, 1fr); gap: 32px; padding: 8px 0 56px; }
.filter-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; position: sticky; top: 132px; align-self: start; }
.filter-card h3 { font-size: 13px; font-weight: 500; color: var(--ink-3); letter-spacing: .08em; margin: 0 0 12px; }
.filter-card + .filter-card { margin-top: 16px; }
.filter-list li + li { margin-top: 2px; }
.filter-list a { display: block; padding: 7px 10px; border-radius: 6px; font-size: 13.5px; color: var(--ink-2); }
.filter-list a:hover { background: var(--brand-50); color: var(--brand-600); }
.filter-list a.is-active { background: var(--brand-600); color: #fff; }
.price-form { display: grid; grid-template-columns: 1fr 10px 1fr; gap: 6px; align-items: center; }
.price-form input { width: 100%; min-width: 0; height: 34px; border: 1px solid var(--line); border-radius: 6px; padding: 0 8px; font-size: 13px; outline: none; }
.price-form input:focus { border-color: var(--brand-300); }
.price-form button { grid-column: 1 / -1; height: 34px; border-radius: 6px; border: 1px solid var(--line); background: #fff; font-size: 13px; color: var(--ink-2); margin-top: 2px; }
.price-form button:hover { border-color: var(--brand-300); color: var(--brand-600); }

.list-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-bottom: 16px; border-bottom: 1px solid var(--line); margin-bottom: 22px; flex-wrap: wrap; }
.sort-tabs { display: flex; gap: 8px; }
.sort-tabs a { padding: 6px 14px; border-radius: 999px; font-size: 13px; color: var(--ink-2); border: 1px solid var(--line); background: #fff; }
.sort-tabs a.is-active { background: var(--brand-600); border-color: var(--brand-600); color: #fff; }
.result-count { font-size: 13px; color: var(--ink-3); }
.result-count b { color: var(--brand-600); font-weight: 500; }

.pager { display: flex; justify-content: center; gap: 8px; margin-top: 40px; flex-wrap: wrap; }
.pager a, .pager span { min-width: 38px; height: 38px; padding: 0 12px; border-radius: 8px; border: 1px solid var(--line); background: #fff; display: grid; place-items: center; font-size: 13.5px; color: var(--ink-2); }
.pager a:hover { border-color: var(--brand-300); color: var(--brand-600); }
.pager .is-current { background: var(--brand-600); border-color: var(--brand-600); color: #fff; }
.pager .is-disabled { color: #cdc6d3; background: #f8f6f9; }

/* ---------- 店铺页 ---------- */
.shop-hero { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 28px; display: flex; gap: 24px; align-items: flex-start; flex-wrap: wrap; }
.shop-hero .shop-avatar { width: 72px; height: 72px; border-radius: 16px; font-size: 24px; }
.shop-hero h1 { font-size: 22px; font-weight: 500; margin: 0 0 6px; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.shop-hero .company { font-size: 13px; color: var(--ink-3); margin-bottom: 10px; }
.shop-hero .scope { font-size: 13.5px; color: var(--ink-2); }
.shop-hero .scores { margin-left: auto; display: flex; gap: 28px; text-align: center; }
.shop-hero .scores div span { display: block; font-size: 12px; color: var(--ink-3); }
.shop-hero .scores div b { font-size: 19px; font-weight: 500; color: var(--brand-700); }
.shop-contact { display: flex; gap: 26px; flex-wrap: wrap; font-size: 13px; color: var(--ink-2); margin-top: 18px; padding-top: 18px; border-top: 1px dashed var(--line); width: 100%; }
.shop-contact b { color: var(--ink-3); font-weight: 400; margin-right: 6px; }

/* ---------- 文章页 ---------- */
.article-layout { display: grid; grid-template-columns: 200px minmax(0, 1fr); gap: 44px; padding: 12px 0 64px; }
.article-nav { position: sticky; top: 132px; align-self: start; }
.article-nav h2 { font-size: 13px; color: var(--ink-3); font-weight: 400; letter-spacing: .08em; margin: 0 0 12px; }
.article-nav a { display: block; font-size: 13.5px; color: var(--ink-2); padding: 8px 12px; border-left: 2px solid var(--line); }
.article-nav a:hover { color: var(--brand-600); border-left-color: var(--brand-300); }
.article-nav a.is-active { color: var(--brand-700); border-left-color: var(--brand-600); background: var(--brand-50); font-weight: 500; }
.article-body { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 36px 40px; }
.article-body h1 { font-size: 26px; font-weight: 500; margin: 0 0 8px; }
.article-body .summary { font-size: 13.5px; color: var(--ink-3); margin: 0 0 24px; padding-bottom: 20px; border-bottom: 1px solid var(--line); }

/* ---------- 页脚 ---------- */
.site-footer { background: #26212b; color: #a99fb3; padding: 56px 0 0; margin-top: 40px; font-size: 13px; }
.footer-top { display: grid; grid-template-columns: 1.4fr repeat(4, 1fr); gap: 32px; padding-bottom: 40px; }
.footer-brand .logo-text { color: #fff; }
.footer-brand p { font-size: 12.5px; line-height: 1.9; color: #8d8398; margin: 14px 0 0; }
.footer-col h3 { font-size: 13px; color: #fff; font-weight: 500; margin: 0 0 14px; letter-spacing: .04em; }
.footer-col li + li { margin-top: 9px; }
.footer-col a { font-size: 12.5px; color: #9c92a7; }
.footer-col a:hover { color: #fff; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.08); padding: 20px 0 28px; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 12px; color: #7d7389; }
.footer-bottom a:hover { color: #fff; }

.back-top { position: fixed; right: 24px; bottom: 28px; width: 42px; height: 42px; border-radius: 50%; background: #fff; border: 1px solid var(--line); color: var(--ink-2); display: grid; place-items: center; box-shadow: var(--shadow); opacity: 0; pointer-events: none; transition: opacity .2s; z-index: 40; }
.back-top.is-show { opacity: 1; pointer-events: auto; }

/* ---------- 空状态 ---------- */
.empty { text-align: center; padding: 72px 20px; color: var(--ink-3); }
.empty h3 { font-size: 16px; font-weight: 500; color: var(--ink-2); margin: 0 0 8px; }

/* ---------- 响应式 ---------- */
@media (max-width: 1080px) {
  .grid-6 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .detail { grid-template-columns: 1fr; gap: 28px; }
  .footer-top { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 820px) {
  .topbar { display: none; }
  .header-main { height: auto; min-height: 62px; gap: 12px; flex-wrap: wrap; padding: 10px 0 12px; }
  .header-search { order: 3; max-width: 100%; flex-basis: 100%; }
  .header-search input { height: 38px; }
  .header-search button { height: 30px; top: 4px; }
  .header-actions { margin-left: auto; gap: 14px; }
  .nav-toggle { display: grid; place-items: center; width: 38px; height: 38px; border: 1px solid var(--line); border-radius: 8px; background: #fff; color: var(--ink-2); }
  .main-nav .container { display: none; gap: 0; height: auto; padding: 8px 20px 14px; }
  .main-nav.is-open .container { display: block; }
  .main-nav a { height: 42px; border-bottom: 1px solid var(--line); }
  .main-nav a.is-active { border-bottom-color: var(--line); }
  .hero { padding: 48px 0 44px; }
  .hero-title { font-size: 27px; letter-spacing: .16em; }
  .hero-search button { padding: 0 18px; }
  .section { padding: 36px 0; }
  .sh-title { font-size: 20px; }
  .grid-6, .grid-4, .grid-3, .grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid { gap: 14px; }
  .card-body { padding: 12px; }
  .card-title { font-size: 13.5px; min-height: 40px; }
  .detail-title { font-size: 20px; }
  .price-panel .price { font-size: 25px; }
  .list-layout { grid-template-columns: 1fr; gap: 20px; }
  .filter-card { position: static; }
  .article-layout { grid-template-columns: 1fr; gap: 20px; }
  .article-nav { position: static; }
  .article-body { padding: 24px 20px; }
  .shop-hero { padding: 20px; }
  .shop-hero .scores { margin-left: 0; width: 100%; justify-content: space-between; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 24px; }
  .service-list { grid-template-columns: 1fr; }
  .tabs { gap: 22px; }
  .tabs button { font-size: 14px; }
}

@media (max-width: 520px) {
  .grid-6, .grid-4, .grid-3, .grid-2 { grid-template-columns: 1fr; }
  .header-actions .act span { display: none; }
  .hero-title { font-size: 23px; }
  .buy-actions { flex-direction: column; }
  .shop-hero .scores div b { font-size: 17px; }
  .footer-top { grid-template-columns: 1fr; }
}
