/* yanshan_2026 — 北京燕山厨卫官网 (localhost_3328).
   Mobile-first: the base rules are the phone layout; min-width breakpoints layer on the larger
   screens — 600px (large phone / tablet), 900px (PC navigation + sidebars), 1200px (wide PC).
   Hover effects only where the device can hover. System font stack only: web-font CDNs are
   unreliable from mainland China. */
:root {
  --brand: #e8751a;
  --brand-dark: #c55d0b;
  --brand-soft: #fff4ea;
  --ink: #1d2433;
  --ink-2: #4a5263;
  --muted: #8a92a3;
  --line: #e7e9ee;
  --bg: #f5f6f8;
  --navy: #14213d;
  --gold: #ffb36b;
  --radius: 14px;
  --shadow: 0 4px 18px rgba(20, 33, 61, 0.07);
  --header-h: 56px;
  --bar-h: 58px;
  --wrap: 1200px;
  --font: -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei",
    "Noto Sans SC", "Helvetica Neue", Arial, sans-serif;
}

/* ================= base (phone) ================= */
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; font: 15px/1.7 var(--font); color: var(--ink); background: var(--bg);
  -webkit-tap-highlight-color: transparent;
  /* room for the fixed bottom action bar */
  padding-bottom: calc(var(--bar-h) + env(safe-area-inset-bottom)); }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; }
h1, h2, h3 { line-height: 1.35; margin: 0; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 16px; }

/* ---- header: logo + menu button; the nav is a drop-down panel ---- */
.topbar { display: none; }
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, 0.97);
  backdrop-filter: saturate(1.4) blur(8px); border-bottom: 1px solid var(--line); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 12px; height: var(--header-h); }
.logo { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.logo-mark { width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center;
  background: linear-gradient(140deg, #ff9a3d, var(--brand-dark)); box-shadow: 0 4px 12px rgba(232, 117, 26, 0.35); }
.logo-mark svg { width: 20px; height: 20px; }
.logo-text { display: flex; flex-direction: column; line-height: 1.2; }
.logo-text strong { font-size: 18px; letter-spacing: 1px; color: var(--ink); }
.logo-text small { display: none; font-size: 12px; color: var(--muted); letter-spacing: 0.5px; }
.header-tools { display: flex; align-items: center; gap: 8px; }
.header-tools .search-form, .hotline { display: none; }
.menu-toggle { display: grid; place-items: center; border: 0; background: var(--bg); width: 44px; height: 44px; border-radius: 12px; cursor: pointer; }
.menu-toggle span, .menu-toggle span::before, .menu-toggle span::after { display: block; width: 18px; height: 2px;
  background: var(--ink); border-radius: 2px; position: relative; transition: 0.2s; content: ""; }
.menu-toggle span::before { position: absolute; top: -6px; }
.menu-toggle span::after { position: absolute; top: 6px; }
.nav-open .menu-toggle span { background: transparent; }
.nav-open .menu-toggle span::before { top: 0; transform: rotate(45deg); }
.nav-open .menu-toggle span::after { top: 0; transform: rotate(-45deg); }
.main-nav { display: none; position: absolute; left: 0; right: 0; top: var(--header-h); background: #fff;
  border-bottom: 1px solid var(--line); box-shadow: 0 16px 30px rgba(20, 33, 61, 0.12);
  max-height: calc(100vh - var(--header-h)); overflow-y: auto; overscroll-behavior: contain; }
.nav-open .main-nav { display: block; }
.nav-open body { overflow: hidden; }
.main-nav > ul { list-style: none; margin: 0; padding: 6px 16px 18px; }
.main-nav li > a { display: flex; align-items: center; min-height: 48px; padding: 0 14px; border-radius: 12px; font-size: 16px; color: var(--ink-2); }
.main-nav li.current > a { color: #fff; background: var(--brand); }
.subnav ul { list-style: none; margin: 0 0 4px; padding: 0 0 0 14px; display: grid; grid-template-columns: 1fr 1fr; gap: 0 8px; }
.main-nav .subnav a { min-height: 42px; justify-content: space-between; gap: 8px; font-size: 15px; }
.subnav em { font-style: normal; color: var(--muted); font-size: 12px; }
.search-form { display: flex; align-items: center; background: var(--bg); border: 1px solid var(--line); border-radius: 999px; padding: 0 4px 0 16px; }
.search-form input { flex: 1; min-width: 0; border: 0; background: transparent; outline: 0; height: 44px; font: inherit; font-size: 16px; color: var(--ink); }
.search-form button { border: 0; background: transparent; width: 38px; height: 38px; border-radius: 50%; cursor: pointer; color: var(--ink-2); display: grid; place-items: center; }
.m-search { margin: 12px 16px 0; }

/* ---- fixed bottom action bar (phone only) ---- */
.mobile-bar { display: grid; grid-template-columns: repeat(4, 1fr); position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
  background: #fff; border-top: 1px solid var(--line); height: calc(var(--bar-h) + env(safe-area-inset-bottom));
  padding-bottom: env(safe-area-inset-bottom); }
.mobile-bar a { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; font-size: 12px; color: var(--ink-2); }
.mobile-bar svg { width: 21px; height: 21px; }
.mobile-bar a.call { background: var(--brand); color: #fff; font-weight: 600; }

/* ---- buttons ---- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; padding: 0 22px;
  border-radius: 999px; font-weight: 600; background: var(--brand); color: #fff; border: 1px solid var(--brand);
  transition: 0.15s; font-size: 15px; }
.btn-ghost { background: #fff; color: var(--ink); border-color: #cfd4dd; }
.btn-light { background: rgba(255, 255, 255, 0.14); border-color: rgba(255, 255, 255, 0.45); color: #fff; }
.eyebrow { display: inline-block; font-size: 12px; font-weight: 600; color: var(--brand-dark); background: var(--brand-soft);
  padding: 3px 12px; border-radius: 999px; letter-spacing: 1px; }

/* ---- home: hero (slider first on phones) ---- */
.hero { background: radial-gradient(700px 300px at 90% -10%, #ffe2c7 0, transparent 60%), linear-gradient(180deg, #fff 0%, var(--bg) 100%);
  padding: 16px 0 24px; }
.hero .wrap { display: flex; flex-direction: column; gap: 20px; }
.hero .slider { order: -1; }
.hero h1 { font-size: 26px; font-weight: 800; margin: 12px 0 10px; letter-spacing: 0.5px; }
.hero h1 span { color: var(--brand); }
.hero p { color: var(--ink-2); margin: 0 0 18px; font-size: 14px; }
.hero .actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.hero .actions .btn { padding: 0 12px; font-size: 14px; }
.hero .actions .num { display: none; }
.hero-points { display: flex; flex-wrap: wrap; gap: 6px 16px; margin: 18px 0 0; padding: 0; font-size: 13px; color: var(--ink-2); }
.hero-points li { list-style: none; display: flex; align-items: center; gap: 6px; }
.hero-points li::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--brand); }
.slider { position: relative; border-radius: 16px; overflow: hidden; box-shadow: 0 12px 34px rgba(20, 33, 61, 0.16); background: #dde2ea; aspect-ratio: 750 / 337; }
.slides { display: flex; height: 100%; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; scroll-behavior: smooth; }
.slides::-webkit-scrollbar { display: none; }
.slides img { flex: 0 0 100%; width: 100%; height: 100%; object-fit: cover; scroll-snap-align: start; display: block; }
.dots { position: absolute; left: 0; right: 0; bottom: 10px; display: flex; justify-content: center; gap: 6px; }
.dots button { width: 7px; height: 7px; padding: 0; border: 0; border-radius: 99px; background: rgba(255, 255, 255, 0.6); cursor: pointer; transition: 0.2s; }
.dots button.on { width: 20px; background: #fff; }

/* ---- sections ---- */
.section { padding: 26px 0; }
.section + .section { padding-top: 0; }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.section-head h2 { font-size: 21px; font-weight: 800; }
.section-head p { margin: 2px 0 0; color: var(--muted); font-size: 13px; }
.section-head .more { color: var(--brand); font-weight: 600; font-size: 14px; white-space: nowrap; }
.cat-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.cat-tile { position: relative; display: flex; flex-direction: column; justify-content: space-between; min-height: 124px; padding: 14px;
  border-radius: var(--radius); background: #fff; overflow: hidden; box-shadow: var(--shadow); transition: transform 0.2s; }
.cat-tile h3 { font-size: 17px; }
.cat-tile span { font-size: 12px; color: var(--muted); }
.cat-tile .go { color: var(--brand); font-weight: 600; font-size: 13px; position: relative; z-index: 1; }
.cat-tile .pic { position: absolute; right: -6px; bottom: -6px; width: 54%; aspect-ratio: 1; background: center/contain no-repeat; }
.product-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.product-card { display: flex; flex-direction: column; background: #fff; border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow); transition: transform 0.2s, box-shadow 0.2s; }
.product-card .cover { aspect-ratio: 1; background: #fff center/contain no-repeat; border-bottom: 1px solid var(--line); }
.product-card .body { padding: 10px 12px 12px; display: flex; flex-direction: column; gap: 4px; flex: 1; }
.product-card .cat { font-size: 12px; color: var(--brand-dark); }
.product-card h3 { font-size: 14px; font-weight: 600; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 2.7em; }
.price { color: #e0301e; font-weight: 700; font-size: 17px; }
.price:not(:empty)::before { content: "¥"; font-size: 0.75em; margin-right: 1px; }
.product-card .price { margin-top: auto; }
.about { display: grid; gap: 14px; }
.about-card { background: #fff; border-radius: var(--radius); padding: 20px; box-shadow: var(--shadow); }
.about-card h2 { font-size: 20px; margin: 10px 0 8px; }
.about-card .text { color: var(--ink-2); font-size: 14px; }
.about-card .text img { display: none; }
.about-card .text p { margin: 0 0 10px; text-indent: 0 !important; }
.about-card .text [style] { font-family: inherit !important; color: inherit !important; font-size: inherit !important; }
.stats { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.stat { background: linear-gradient(150deg, var(--navy), #24365e); color: #fff; border-radius: var(--radius); padding: 16px; }
.stat strong { display: block; font-size: 18px; color: var(--gold); }
.stat span { font-size: 12px; color: #c8cfdc; }
.news-cols { display: grid; grid-template-columns: minmax(0, 1fr); gap: 14px; }
/* Grid children may hold nowrap text or sideways scrollers: never let them widen the page. */
.news-cols > *, .layout > *, .about > *, .product-hero > *, .hero .wrap > * { min-width: 0; }
.panel { background: #fff; border-radius: var(--radius); padding: 16px 18px; box-shadow: var(--shadow); }
.panel-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 4px; }
.panel-head h3 { font-size: 17px; display: flex; align-items: center; gap: 8px; }
.panel-head h3::before { content: ""; width: 4px; height: 17px; border-radius: 2px; background: var(--brand); }
.panel-head a { font-size: 13px; color: var(--muted); padding: 6px 0; }
.link-list { list-style: none; margin: 0; padding: 0; }
.link-list li { display: flex; justify-content: space-between; align-items: center; gap: 12px; min-height: 46px; border-bottom: 1px dashed var(--line); }
.link-list li:last-child { border-bottom: 0; }
.link-list a { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 14px; }
.link-list time, .link-list em { flex-shrink: 0; color: var(--muted); font-size: 12px; font-style: normal; }
.cta-band { background: linear-gradient(120deg, var(--brand-dark), var(--brand) 60%, #ff9a3d); color: #fff; border-radius: 18px;
  padding: 22px; display: flex; flex-direction: column; gap: 14px; }
.cta-band h2 { font-size: 19px; }
.cta-band p { margin: 4px 0 0; opacity: 0.9; font-size: 14px; }

/* ---- inner pages ---- */
.page-banner { background: linear-gradient(120deg, var(--navy), #2a3f6b); color: #fff; padding: 16px 0 18px; }
.page-banner h1 { font-size: 22px; font-weight: 800; }
.page-banner p { margin: 4px 0 0; color: #c8cfdc; font-size: 13px; }
.breadcrumb { font-size: 12px; color: #aab3c5; margin-bottom: 6px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.breadcrumb a { color: #dfe4ee; }
.layout { display: grid; grid-template-columns: minmax(0, 1fr); gap: 18px; padding-top: 16px; padding-bottom: 28px; }
.sidebar { display: flex; flex-direction: column; gap: 16px; }
.side-cats a { display: flex; justify-content: space-between; align-items: center; min-height: 44px; padding: 0 12px; border-radius: 10px; font-size: 14px; }
.side-cats em { font-style: normal; color: var(--muted); font-size: 12px; }
.contact-card { background: linear-gradient(150deg, var(--navy), #24365e); color: #dfe4ee; border-radius: var(--radius); padding: 20px; font-size: 14px; }
.contact-card h3 { color: #fff; font-size: 17px; margin-bottom: 6px; }
.contact-card .tel { display: block; font-size: 24px; font-weight: 800; color: var(--gold); margin: 4px 0 8px; letter-spacing: 0.5px; }
.contact-card p { margin: 4px 0; }
/* Category chips scroll sideways on phones instead of wrapping into several rows. */
.chips { display: flex; gap: 8px; margin: 0 0 16px; padding: 0 0 2px; overflow-x: auto; scrollbar-width: none; }
.chips::-webkit-scrollbar { display: none; }
.chips a { flex-shrink: 0; display: flex; align-items: center; min-height: 38px; padding: 0 16px; border-radius: 999px; background: #fff; border: 1px solid var(--line); font-size: 14px; color: var(--ink-2); }
.chips a.on { border-color: var(--brand); color: var(--brand); }
.article-list { display: flex; flex-direction: column; gap: 12px; }
.article-item { display: block; background: #fff; border-radius: var(--radius); padding: 16px; box-shadow: var(--shadow); }
.article-item h2 { font-size: 16px; font-weight: 700; margin-bottom: 4px; }
.article-item p { margin: 0 0 6px; color: var(--ink-2); font-size: 13px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.meta { display: flex; flex-wrap: wrap; gap: 4px 14px; font-size: 12px; color: var(--muted); }
/* Search: keyword highlight (client-side search marks matches) and the no-result note. */
mark { background: var(--brand-soft); color: var(--brand-dark); padding: 0 1px; border-radius: 3px; }
.empty { background: #fff; border-radius: var(--radius); padding: 28px 20px; text-align: center; color: var(--muted); box-shadow: var(--shadow); margin-bottom: 16px; }
[hidden] { display: none !important; }
.pager { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 6px; margin-top: 20px; font-size: 14px; }
.pager a, .pager span { min-width: 42px; height: 42px; padding: 0 10px; display: grid; place-items: center; border-radius: 10px; background: #fff; border: 1px solid var(--line); }
.pager .cur { background: var(--brand); border-color: var(--brand); color: #fff; font-weight: 600; }
.pager .total { width: 100%; height: auto; border: 0; background: transparent; color: var(--muted); font-size: 12px; }
.doc { background: #fff; border-radius: var(--radius); padding: 20px 18px; box-shadow: var(--shadow); }
.doc-title { font-size: 21px; font-weight: 800; margin-bottom: 8px; }
.doc .meta { padding-bottom: 14px; margin-bottom: 16px; border-bottom: 1px solid var(--line); }
.tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
.tags span { font-size: 13px; padding: 6px 12px; border-radius: 999px; background: var(--bg); color: var(--ink-2); }
.tags span::before { content: "# "; color: var(--brand); }
.prev-next { display: grid; gap: 10px; margin-top: 22px; }
.prev-next > div { background: var(--bg); border-radius: 12px; padding: 12px 14px; font-size: 14px; }
.prev-next small { display: block; color: var(--muted); font-size: 12px; }

/* Legacy rich text (Chanzhi-era inline styles) normalised into one readable style. */
.prose { font-size: 15px; line-height: 1.9; color: #2b3242; overflow-wrap: break-word; }
.prose [style] { font-family: inherit !important; font-size: inherit !important; line-height: inherit !important; color: inherit !important; background-color: transparent !important; }
.prose p { margin: 0 0 1em; }
.prose img { height: auto !important; border-radius: 8px; vertical-align: middle; }
.prose img[align="right"] { float: right; max-width: 40%; margin: 0 0 10px 12px; }
.prose table { display: block; max-width: 100%; width: auto !important; overflow-x: auto; border-collapse: collapse; margin: 0 0 1em; border: 0; }
.prose td, .prose th { border: 1px solid var(--line) !important; padding: 8px 10px !important; vertical-align: top; }
.prose td[width] { width: auto !important; }
/* Old editor output nests <blockquote>s purely for indentation: flatten it. */
.prose blockquote { margin: 0 !important; padding: 0; }
.prose div[style*="width"] { width: auto !important; max-width: 100%; }
.prose h2, .prose h3 { margin: 1.2em 0 0.6em; }
.prose a { color: var(--brand-dark); text-decoration: underline; text-underline-offset: 3px; }

/* ---- product detail ---- */
.product-hero { display: grid; grid-template-columns: minmax(0, 1fr); gap: 18px; background: #fff; border-radius: var(--radius); padding: 14px; box-shadow: var(--shadow); }
.product-info h1 { font-size: 20px; font-weight: 800; margin: 8px 0 8px; }
.product-info .price { font-size: 28px; display: block; margin-bottom: 10px; }
.product-info .summary { color: var(--ink-2); font-size: 14px; margin: 0 0 14px; }
.product-info .summary:empty { display: none; }
.product-info .ws-attrs { margin: 0 0 16px; padding: 12px 14px; background: var(--bg); border-radius: 12px; font-size: 14px; }
.product-info .actions { display: grid; grid-template-columns: 1fr; gap: 10px; }
.service-notes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 16px; font-size: 12px; color: var(--ink-2); text-align: center; }
.service-notes div { background: var(--brand-soft); border-radius: 10px; padding: 8px 6px; }
.service-notes b { display: block; color: var(--brand-dark); font-size: 13px; }
.detail-title { font-size: 18px; font-weight: 800; margin: 24px 0 12px; display: flex; align-items: center; gap: 8px; }
.detail-title::before { content: ""; width: 4px; height: 18px; border-radius: 2px; background: var(--brand); }

/* ---- comments / guestbook / sitemap ---- */
.comment { display: flex; gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.comment:last-child { border-bottom: 0; }
.avatar { flex-shrink: 0; width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; background: var(--brand-soft); color: var(--brand-dark); }
.comment .who { font-weight: 600; font-size: 14px; }
.comment .who time { font-weight: 400; color: var(--muted); font-size: 12px; margin-left: 8px; }
.comment p { margin: 4px 0 0; color: var(--ink-2); font-size: 14px; }
.sitemap-cols { display: grid; gap: 14px; }

/* ---- footer ---- */
.site-footer { background: var(--navy); color: #aab3c5; font-size: 14px; padding: 30px 0 20px; }
.site-footer .cols { display: grid; grid-template-columns: 1fr 1fr; gap: 22px 16px; }
.site-footer .cols > div:first-child, .site-footer .cols > div:last-child { grid-column: 1 / -1; }
.site-footer h4 { color: #fff; font-size: 15px; margin: 0 0 8px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin: 6px 0; }
.site-footer .tel { font-size: 24px; font-weight: 800; color: var(--gold); display: block; margin: 2px 0 6px; }
.site-footer .logo-text strong { color: #fff; }
.friend-links { margin-top: 22px; padding-top: 16px; border-top: 1px solid rgba(255, 255, 255, 0.08); display: flex; flex-wrap: wrap; gap: 6px 16px; }
.friend-links span { color: #fff; }
.copyright { margin-top: 14px; display: flex; flex-direction: column; gap: 4px; font-size: 12px; color: #7d879b; }

/* ================= ≥600px: large phone / tablet ================= */
@media (min-width: 600px) {
  .logo-text small { display: block; }
  .hero h1 { font-size: 32px; }
  .hero .actions { display: flex; flex-wrap: wrap; }
  .hero .actions .num { display: inline; }
  .section { padding: 34px 0; }
  .product-grid { grid-template-columns: repeat(3, 1fr); gap: 16px; }
  .product-card .body { padding: 12px 14px 14px; }
  .product-card h3 { font-size: 15px; }
  .cat-grid { grid-template-columns: repeat(4, 1fr); }
  .stats { grid-template-columns: repeat(4, 1fr); }
  .news-cols { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
  .cta-band { flex-direction: row; align-items: center; justify-content: space-between; padding: 26px 30px; }
  .page-banner { padding: 24px 0; }
  .page-banner h1 { font-size: 26px; }
  .doc { padding: 26px 28px; }
  .prev-next { grid-template-columns: 1fr 1fr; }
  .prev-next > div:last-child { text-align: right; }
  .product-info .actions { display: flex; flex-wrap: wrap; margin-top: 20px;}
  .chips { flex-wrap: wrap; overflow: visible; margin: 0 0 18px; padding: 0; }
  .site-footer .cols { grid-template-columns: repeat(3, 1fr); }
  .site-footer .cols > div:last-child { grid-column: auto; }
  .copyright { flex-direction: row; justify-content: space-between; }
}

/* ================= ≥900px: PC ================= */
@media (min-width: 900px) {
  :root { --header-h: 72px; }
  body { padding-bottom: 0; }
  .mobile-bar { display: none; }
  .topbar { display: block; background: var(--navy); color: #c8cfdc; font-size: 13px; }
  .topbar .wrap { display: flex; justify-content: space-between; align-items: center; height: 36px; }
  .topbar a { color: #fff; }
  .topbar b { color: var(--gold); font-weight: 600; }
  .site-header .wrap { gap: 20px; justify-content: flex-start; }
  .logo-mark { width: 40px; height: 40px; border-radius: 11px; }
  .logo-text strong { font-size: 19px; }
  .menu-toggle, .m-search { display: none; }
  .header-tools .search-form { display: flex; }
  .search-form input { width: 140px; height: 38px; font-size: 14px; }
  .search-form button { width: 32px; height: 32px; }
  /* The nav becomes an inline bar; the product menu a hover drop-down. */
  .main-nav, .nav-open .main-nav { display: block; position: static; flex: 1; background: none; border: 0; box-shadow: none; max-height: none; overflow: visible; }
  .nav-open body { overflow: visible; }
  .main-nav > ul { display: flex; justify-content: center; gap: 2px; padding: 0; }
  .main-nav li { position: relative; }
  .main-nav li > a { min-height: 38px; padding: 0 13px; border-radius: 999px; font-size: 15px; white-space: nowrap; }
  .subnav { display: none; position: absolute; left: 50%; top: 100%; transform: translateX(-50%); padding-top: 10px; }
  .subnav ul { display: block; margin: 0; padding: 8px; min-width: 168px; background: #fff; border: 1px solid var(--line); border-radius: 12px; box-shadow: var(--shadow); }
  .main-nav .subnav a { min-height: 38px; padding: 0 12px; border-radius: 8px; font-size: 14px; }
  .has-sub:hover .subnav, .has-sub:focus-within .subnav { display: block; }

  .hero { padding: 44px 0 40px; }
  .hero .wrap { display: grid; grid-template-columns: 1fr 1.1fr; gap: 44px; align-items: center; }
  .hero .slider { order: 0; border-radius: 20px; }
  .hero h1 { font-size: clamp(32px, 3.6vw, 46px); margin: 16px 0 14px; }
  .hero p { font-size: 15px; margin-bottom: 26px; max-width: 34em; }
  .hero-points { margin-top: 26px; font-size: 14px; }
  .section { padding: 44px 0; }
  .section-head { margin-bottom: 22px; }
  .section-head h2 { font-size: 26px; }
  .cat-tile { min-height: 164px; padding: 20px; }
  .cat-tile h3 { font-size: 20px; }
  .product-grid { grid-template-columns: repeat(4, 1fr); gap: 18px; }
  .about { grid-template-columns: 1.15fr 1fr; gap: 28px; }
  .about-card { padding: 30px; }
  .about-card h2 { font-size: 24px; }
  .stats { grid-template-columns: 1fr 1fr; gap: 14px; }
  .stat { padding: 22px; }
  .stat strong { font-size: 22px; }
  .panel { padding: 22px 24px; }

  .page-banner { padding: 32px 0 30px; }
  .page-banner h1 { font-size: 30px; }
  .layout { grid-template-columns: minmax(0, 1fr) 300px; gap: 28px; padding-top: 28px; padding-bottom: 48px; align-items: start; }
  .layout.full { grid-template-columns: minmax(0, 1fr); }
  .layout .product-grid { grid-template-columns: repeat(3, 1fr); }
  .layout.full .product-grid { grid-template-columns: repeat(4, 1fr); }
  .sidebar { position: sticky; top: calc(var(--header-h) + 20px); gap: 20px; }
  .article-item { padding: 20px 22px; }
  .article-item h2 { font-size: 18px; }
  .doc { padding: 30px 34px; }
  .doc-title { font-size: 28px; }
  .prose { font-size: 16px; }
  .product-hero { grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 36px; padding: 28px; align-items: start; }
  .product-info h1 { font-size: 26px; }
  .product-info .price { font-size: 30px; }
  .service-notes { font-size: 13px; text-align: left; }
  .service-notes div { padding: 10px 12px; }
  .detail-title { font-size: 20px; margin: 30px 0 14px; }
  .sitemap-cols { grid-template-columns: repeat(3, 1fr); gap: 20px; }
  .site-footer { padding: 44px 0 24px; }
  .site-footer .cols { grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 28px; }
  .site-footer .cols > div:first-child { grid-column: auto; }
}

/* ================= ≥1200px: wide PC ================= */
@media (min-width: 1200px) {
  .hotline { display: flex; flex-direction: column; align-items: flex-end; line-height: 1.2; white-space: nowrap; }
  .hotline small { font-size: 12px; color: var(--muted); }
  .hotline strong { font-size: 18px; color: var(--brand); letter-spacing: 0.5px; }
  .main-nav li > a { padding: 0 14px; }
}

/* ================= hover-capable devices only ================= */
@media (hover: hover) {
  a:hover { color: var(--brand); }
  .main-nav li > a:hover { color: var(--brand); background: var(--brand-soft); }
  .main-nav li.current > a:hover { color: #fff; background: var(--brand-dark); }
  .btn:hover { background: var(--brand-dark); border-color: var(--brand-dark); color: #fff; }
  .btn-ghost:hover { background: #fff; color: var(--brand); border-color: var(--brand); }
  .btn-light:hover { background: #fff; color: var(--brand); border-color: #fff; }
  .search-form button:hover { background: #fff; color: var(--brand); }
  .cat-tile:hover, .product-card:hover { transform: translateY(-3px); color: inherit; }
  .product-card:hover { box-shadow: 0 14px 36px rgba(20, 33, 61, 0.14); }
  .article-item:hover h2 { color: var(--brand); }
  .side-cats a:hover, .subnav a:hover { background: var(--brand-soft); }
  .chips a:hover { border-color: var(--brand); color: var(--brand); }
  .breadcrumb a:hover, .site-footer a:hover { color: var(--gold); }
  .mobile-bar a.call:hover { color: #fff; }
}
