:root {
  --color-primary: #0f4c81;
  --color-secondary: #c45c26;
  --color-page-bg: #f4f6f8;
  --color-card-bg: #ffffff;
  --color-title: #1c2430;
  --ink: #243040;
  --muted: #5d6b7a;
  --line: #e3e8ee;
  --header-h: 76px;
}

* { box-sizing: border-box; }
html { font-size: 16px; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--color-page-bg);
  font-family: "Microsoft YaHei", "PingFang SC", "Noto Sans SC", sans-serif;
  line-height: 1.7;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--color-primary); text-decoration: none; }
h1, h2, h3 { color: var(--color-title); line-height: 1.35; margin: 0; }
p { margin: 0; }
.nav-toggle {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
}
.nav-btn { display: none; }
.wrap { width: min(1180px, calc(100% - 32px)); margin: 0 auto; }
#content { min-height: 50vh; }

.topbar {
  background: var(--color-primary);
  color: rgba(255, 255, 255, .92);
  font-size: 13px;
}
.topbar-inner {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  min-height: 36px;
  align-items: center;
}
.topbar a { color: #fff; font-weight: 700; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: #fff;
  border-bottom: 1px solid var(--line);
  box-shadow: 0 2px 10px rgba(15, 35, 60, .05);
}
.header-inner {
  display: flex;
  align-items: center;
  min-height: var(--header-h);
  gap: 24px;
}
.logo {
  display: flex;
  align-items: center;
  min-width: 0;
  color: var(--color-title);
  font-weight: 700;
  font-size: 20px;
}
.logo img {
  display: block;
  max-width: 220px;
  max-height: 52px;
  width: auto;
  height: auto;
  object-fit: contain;
}
.logo-name {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
}
.site-nav { display: flex; margin-left: auto; gap: 4px; }
.site-nav a {
  position: relative;
  display: inline-flex;
  align-items: center;
  height: var(--header-h);
  padding: 0 16px;
  color: var(--ink);
  font-size: 16px;
}
.site-nav a:hover,
.site-nav a.is-current { color: var(--color-primary); }
.site-nav a.is-current { font-weight: 700; }
.site-nav a.is-current::after {
  content: "";
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 0;
  height: 3px;
  background: var(--color-secondary);
}

.banner {
  position: relative;
  width: 100%;
  background: #d8dee6;
  overflow: hidden;
}
.banner-viewport {
  position: relative;
  width: 100%;
  height: clamp(200px, 36vw, 460px);
  overflow: hidden;
}
.banner-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity .65s ease-in-out;
  z-index: 0;
  pointer-events: none;
}
.banner-slide.is-active {
  opacity: 1;
  z-index: 1;
  pointer-events: auto;
}
.banner-slide a {
  display: block;
  position: absolute;
  inset: 0;
}
.banner-slide img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  max-width: none;
  height: 100% !important;
  object-fit: cover;
  object-position: center center;
}
.banner-caption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  margin: 0;
  padding: 18px 24px 36px;
  color: #fff;
  background: linear-gradient(transparent, rgba(0, 0, 0, .55));
  font-size: 18px;
  font-weight: 700;
  z-index: 1;
  pointer-events: none;
}
.banner-dots {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 14px;
  z-index: 3;
  display: flex;
  justify-content: center;
  gap: 8px;
}
.banner-dot {
  width: 10px;
  height: 10px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, .45);
  cursor: pointer;
}
.banner-dot.is-active {
  background: #fff;
}
.banner-arrow {
  position: absolute;
  top: 50%;
  z-index: 3;
  width: 42px;
  height: 42px;
  margin-top: -21px;
  border: 0;
  border-radius: 50%;
  background: rgba(15, 24, 36, .42);
  color: #fff;
  cursor: pointer;
  transition: background .2s ease, opacity .2s ease;
}
.banner-arrow:hover { background: rgba(15, 24, 36, .62); }
.banner-arrow::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 10px;
  height: 10px;
  border-top: 2px solid #fff;
  border-right: 2px solid #fff;
  box-sizing: border-box;
}
.banner-prev { left: 14px; }
.banner-prev::before { transform: translate(-30%, -50%) rotate(-135deg); }
.banner-next { right: 14px; }
.banner-next::before { transform: translate(-70%, -50%) rotate(45deg); }
@media (max-width: 720px) {
  .banner-arrow { width: 34px; height: 34px; margin-top: -17px; }
  .banner-prev { left: 8px; }
  .banner-next { right: 8px; }
}

.hero {
  position: relative;
  color: #fff;
  background:
    radial-gradient(circle at 86% 18%, rgba(255, 255, 255, .18), transparent 26%),
    linear-gradient(115deg, var(--color-primary), color-mix(in srgb, var(--color-primary) 42%, #07111c));
  overflow: hidden;
}
.hero::after {
  content: "";
  position: absolute;
  right: -80px;
  bottom: -120px;
  width: 420px;
  height: 420px;
  border: 40px solid rgba(255, 255, 255, .08);
  border-radius: 50%;
}
.hero-inner { position: relative; z-index: 1; padding: 72px 0 84px; }
.hero-kicker {
  margin-bottom: 10px;
  letter-spacing: .35em;
  font-size: 13px;
  opacity: .85;
}
.hero h1 { color: #fff; font-size: 42px; font-weight: 700; }
.hero .intro { max-width: 720px; margin-top: 16px; font-size: 16px; line-height: 1.8; color: rgba(255, 255, 255, .92); }
.hero .phone, .hero .addr, .hero .contact { margin-top: 8px; color: rgba(255, 255, 255, .9); }
.hero .phone a { color: #fff; font-size: 22px; font-weight: 700; }
.hero-actions { display: flex; gap: 12px; margin-top: 28px; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0 22px;
  border-radius: 2px;
  font-size: 15px;
}
.btn-primary { background: var(--color-primary); color: #fff; }
.btn-primary:hover { filter: brightness(1.08); }
.btn-light { background: var(--color-secondary); color: #fff; }
.btn-light:hover { filter: brightness(1.06); }
.btn-line { border: 1px solid rgba(255, 255, 255, .8); color: #fff; }
.btn-line:hover { background: rgba(255, 255, 255, .12); }

.advantage { margin-top: -36px; position: relative; z-index: 2; }
.advantage-grid {
  display: grid;
  grid-template-columns: repeat(var(--adv-cols, 4), minmax(0, 1fr));
  background: var(--color-card-bg);
  box-shadow: 0 8px 24px rgba(16, 40, 70, .08);
}
.advantage article { padding: 22px 20px 20px; border-right: 1px solid var(--line); }
.advantage article:last-child { border-right: 0; }
.adv-no { color: var(--color-secondary); font-weight: 700; letter-spacing: .08em; }
.advantage h2 { margin-top: 6px; font-size: 18px; }
.advantage p { margin-top: 6px; color: var(--muted); font-size: 14px; }

.block { padding: 56px 0 20px; }
.block-news { padding-top: 24px; padding-bottom: 56px; }
.section-head {
  position: relative;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 16px;
  margin-bottom: 22px;
  text-align: center;
}
.section-head-main { min-width: 0; }
.section-en { color: var(--color-secondary); letter-spacing: .28em; font-size: 12px; font-weight: 700; }
.section-head h2 { margin-top: 4px; font-size: 28px; }
.section-head h2::after {
  content: "";
  display: block;
  width: 42px;
  height: 3px;
  margin: 10px auto 0;
  background: var(--color-secondary);
}
.more-link {
  position: absolute;
  right: 0;
  bottom: 8px;
  color: var(--muted);
  font-size: 14px;
  white-space: nowrap;
}
.more-link:hover { color: var(--color-primary); }
.more-link::after { content: " ›"; }

.product-search {
  display: flex;
  align-items: stretch;
  gap: 8px;
  margin: 0 0 16px;
  max-width: 620px;
}
.product-search-box { flex: 1 1 auto; display: block; min-width: 0; }
.product-search input[type="search"] {
  width: 100%;
  height: 40px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 2px;
  background: var(--color-card-bg);
  color: var(--ink);
  font: inherit;
  font-size: 14px;
  -webkit-appearance: none;
  appearance: none;
}
.product-search input[type="search"]::placeholder { color: var(--muted); }
.product-search input[type="search"]:focus {
  outline: none;
  border-color: var(--color-primary);
}
.product-search button {
  flex: 0 0 auto;
  height: 40px;
  padding: 0 22px;
  border: 0;
  border-radius: 2px;
  background: var(--color-primary);
  color: #fff;
  font: inherit;
  font-size: 14px;
  cursor: pointer;
}
.product-search button:hover { filter: brightness(1.08); }
.product-search-clear {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  padding: 0 4px;
  color: var(--muted);
  font-size: 13px;
  text-decoration: underline;
}
.product-search-clear:hover { color: var(--color-primary); }
.search-summary {
  margin: 0 0 18px;
  padding: 10px 14px;
  background: var(--color-card-bg);
  border: 1px solid var(--line);
  border-left: 3px solid var(--color-primary);
  color: var(--muted);
  font-size: 14px;
  line-height: 1.7;
}
.search-summary b { color: var(--ink); }
.search-summary a { color: var(--color-primary); }

.product-cats {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin: 0 0 14px;
}
.product-cats .filter-label {
  font-size: 13px;
  color: var(--muted);
  margin-right: 2px;
}
.product-cats a {
  padding: 6px 12px;
  border: 1px solid var(--line);
  background: var(--color-card-bg);
  color: var(--ink);
  font-size: 14px;
}
.product-cats a:hover { border-color: var(--color-primary); color: var(--color-primary); }
.product-cats a.is-active {
  border-color: var(--color-primary);
  background: var(--color-primary);
  color: #fff;
}
.product-brands { margin-bottom: 10px; }
.brand-tag {
  margin: 0 0 6px;
  font-size: 12px;
  color: var(--color-primary);
  font-weight: 600;
  letter-spacing: .5px;
}
.product-list, .article-list, .qualify-list { list-style: none; padding: 0; margin: 0; }
.product-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.qualify-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px 28px;
  align-items: start;
}
.qualify-item {
  width: 100%;
  max-width: none;
  padding: 0;
  background: transparent;
  border: 0;
  text-align: center;
}
.qualify-photo {
  display: block;
  min-height: 0;
  background: none;
}
.qualify-photo img {
  display: block;
  width: auto;
  max-width: 100%;
  max-height: 280px;
  height: auto;
  margin: 0 auto;
  object-fit: contain;
  background: none;
}
.qualify-photo .no-photo {
  display: grid;
  place-items: center;
  width: 100%;
  max-width: 200px;
  height: 180px;
  margin: 0 auto;
  background: #f0f3f6;
}
.qualify-zoom {
  display: inline-block;
  width: auto;
  max-width: 100%;
  line-height: 0;
  cursor: zoom-in;
}
.qualify-zoom:hover img { opacity: .92; }
.qualify-item h2 {
  margin: 10px 0 4px;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.4;
}
.qualify-summary {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
  white-space: pre-wrap;
}
.album-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}
.album-card {
  display: flex;
  flex-direction: column;
  background: var(--color-card-bg);
  border: 1px solid var(--line);
}
.album-cover {
  display: block;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: #e8eef3;
}
.album-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .3s ease;
}
.album-card:hover .album-cover img { transform: scale(1.04); }
.album-meta { padding: 14px 16px 16px; }
.album-meta h2 { margin: 0 0 6px; font-size: 17px; line-height: 1.4; }
.album-meta h2 a { color: inherit; }
.album-meta h2 a:hover { color: var(--color-primary); }
.album-count { margin: 0; color: var(--muted); font-size: 13px; }
.album-summary {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.album-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 6px;
}
.album-head h1 { margin: 0; font-size: 24px; }
.album-desc { margin: 0 0 18px; color: var(--muted); line-height: 1.7; max-width: 60em; }
.photo-grid {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}
.photo-grid a {
  display: block;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: #e8eef3;
  cursor: zoom-in;
}
.photo-grid img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .3s ease;
}
.photo-grid a:hover img { transform: scale(1.05); }
.album-back { margin: 22px 0 0; }
.img-lightbox {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 12px;
  margin: 0;
  background: rgba(0, 0, 0, .88);
  cursor: zoom-out;
  border: 0;
  overflow: auto;
}
.img-lightbox.is-open { display: flex; }
.img-lightbox img {
  max-width: 96vw !important;
  max-height: 96vh !important;
  width: auto !important;
  height: auto !important;
  object-fit: contain;
  background: transparent;
  box-shadow: none;
  cursor: default;
}
.img-lightbox-close {
  position: fixed;
  top: 10px;
  right: 14px;
  z-index: 10001;
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, .18);
  color: #fff;
  font-size: 26px;
  line-height: 1;
  cursor: pointer;
}
.product-item { background: var(--color-card-bg); border: 1px solid var(--line); }
.product-item a { display: flex; flex-direction: column; height: 100%; color: inherit; }
.product-item img, .product-item .no-photo {
  width: 100%;
  aspect-ratio: 1 / 1;
  height: auto;
  object-fit: cover;
  object-position: center;
  background: #e8eef3;
}
.no-photo {
  display: grid;
  place-items: center;
  color: var(--muted);
}
.card-body { display: flex; flex-direction: column; gap: 6px; padding: 14px 16px 16px; flex: 1; }
.product-item h2, .product-item h3 { font-size: 17px; }
.product-item .model, .product-item .summary { color: var(--muted); font-size: 14px; }
.product-item .summary {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.product-item .price { color: var(--color-secondary); font-weight: 700; }
.card-more { margin-top: auto; padding-top: 8px; color: var(--color-primary); font-size: 14px; }
.product-item a:hover h2,
.product-item a:hover h3 { color: var(--color-primary); }
.more { margin-top: 22px; text-align: center; }
.empty {
  padding: 36px 16px;
  text-align: center;
  color: var(--muted);
  background: var(--color-card-bg);
  border: 1px solid var(--line);
}

.news-layout { display: grid; grid-template-columns: 1fr; gap: 22px; align-items: start; }
.news-layout .section-head { text-align: left; }
.news-layout .section-head h2::after { margin-left: 0; }
.about-visual {
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  background: #e8eef3;
  min-height: 220px;
}
.about-visual img {
  width: 100%;
  height: 100%;
  min-height: 220px;
  object-fit: cover;
  display: block;
}
.article-list li {
  display: flex;
  gap: 16px;
  align-items: center;
  padding: 14px 16px;
  margin-bottom: 10px;
  background: var(--color-card-bg);
  border: 1px solid var(--line);
}
.article-list time {
  flex: none;
  width: 72px;
  text-align: center;
  color: var(--color-primary);
}
.article-list time b { display: block; font-size: 26px; line-height: 1; }
.article-list time span { display: block; margin-top: 4px; color: var(--muted); font-size: 12px; }
.article-list a { color: var(--ink); font-size: 16px; }
.article-list a:hover { color: var(--color-primary); }
.article-list strong { display: block; font-weight: 600; }
.author { display: block; margin-top: 4px; color: var(--muted); font-size: 13px; font-weight: 400; }

.cta-band {
  background: var(--color-primary);
  color: #fff;
}
.cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 108px;
}
.cta-band h2 { color: #fff; font-size: 24px; }
.cta-band a { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.cta-band .btn { text-decoration: none; }
.cta-band p { margin-top: 4px; color: rgba(255, 255, 255, .88); }

.page-banner {
  color: #fff;
  background:
    linear-gradient(115deg, var(--color-primary), color-mix(in srgb, var(--color-primary) 40%, #07111c));
}
.page-banner .wrap { padding: 34px 0 26px; }
.banner-en { letter-spacing: .28em; font-size: 12px; opacity: .8; }
.page-banner h1, .banner-title { margin-top: 4px; color: #fff; font-size: 30px; font-weight: 700; }
.crumb { margin-top: 10px; color: rgba(255, 255, 255, .86); font-size: 14px; }
.crumb a { color: #fff; }
.crumb span { margin: 0 6px; }
.page-panel { padding: 28px 0 56px; }

.detail-grid {
  display: grid;
  grid-template-columns: 420px 1fr;
  gap: 28px;
  padding: 22px;
  background: var(--color-card-bg);
  border: 1px solid var(--line);
}
.detail-photo img, .detail-photo .no-photo { width: 100%; height: 320px; object-fit: cover; background: #e8eef3; }
.detail-info h1 { font-size: 28px; }
.product-detail dl, .contact-card dl {
  display: grid;
  grid-template-columns: 5.5rem 1fr;
  gap: 10px 12px;
  margin: 18px 0 22px;
}
.product-detail dt, .contact-card dt { color: var(--muted); }
.product-detail dd, .contact-card dd { margin: 0; }
.detail-info .price { color: var(--color-secondary); font-size: 20px; font-weight: 700; }
.detail-block {
  margin-top: 16px;
  padding: 22px 24px;
  background: var(--color-card-bg);
  border: 1px solid var(--line);
}
.detail-block h2 {
  margin-bottom: 10px;
  padding-left: 10px;
  border-left: 3px solid var(--color-secondary);
  font-size: 18px;
}
.detail-block p { white-space: pre-wrap; }

.article-detail {
  max-width: 920px;
  margin: 0 auto;
  padding: 36px 40px 32px;
  background: var(--color-card-bg);
  border: 1px solid var(--line);
}
.article-detail h1 { font-size: 28px; text-align: center; }
.article-meta {
  display: flex;
  justify-content: center;
  gap: 18px;
  margin: 14px 0 22px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-size: 14px;
}
.article-body { font-size: 16px; line-height: 1.8; }
.article-body p { margin: 0 0 12px; }
.article-body h2 { margin: 18px 0 8px; font-size: 20px; }
.article-body h3, .article-body h4 { margin: 16px 0 6px; font-size: 17px; }
.article-body ul, .article-body ol { margin: 0 0 12px; padding-left: 22px; }
.article-body li { margin-bottom: 4px; }
.article-body blockquote { margin: 12px 0; padding: 8px 14px; border-left: 3px solid var(--color-primary); background: rgba(0, 0, 0, .03); color: var(--muted); }
.article-body a { color: var(--color-primary); text-decoration: underline; }
.article-body img { display: block; max-width: 100%; height: auto; margin: 12px auto; }
.article-body table { width: 100%; border-collapse: collapse; margin: 12px 0; }
.article-body td, .article-body th { border: 1px solid var(--line); padding: 6px 8px; }
.article-body table th { background: rgba(0, 0, 0, .035); font-weight: 700; text-align: left; width: 32%; }
.article-body table tr:nth-child(even) td { background: rgba(0, 0, 0, .015); }
.article-body table caption { caption-side: top; padding: 4px 0 8px; color: var(--muted); font-size: 14px; text-align: left; }
.article-detail .more { text-align: left; }

.contact-layout { display: grid; grid-template-columns: 1.4fr .8fr; gap: 18px; }
.contact-card, .contact-side { background: var(--color-card-bg); border: 1px solid var(--line); padding: 28px 26px; }
.contact-card h2 { margin-bottom: 8px; font-size: 22px; }
.contact-card address { font-style: normal; }
.contact-side {
  color: #fff;
  background: linear-gradient(165deg, var(--color-primary), color-mix(in srgb, var(--color-primary) 40%, #07111c));
  border: 0;
}
.side-label { opacity: .85; }
.side-phone { margin: 8px 0 16px; }
.side-phone a { color: #fff; font-size: 30px; font-weight: 700; }
.contact-side .btn { margin-top: 18px; }
.wechat-qr {
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  text-align: center;
}
.wechat-qr p { margin-bottom: 8px; color: var(--muted); font-size: 14px; }
.wechat-qr img {
  width: 148px;
  height: 148px;
  margin: 0 auto;
  object-fit: contain;
  background: #fff;
  border: 1px solid var(--line);
}
.wechat-qr span { display: block; margin-top: 8px; color: var(--ink); }
.footer-qr img {
  width: 96px;
  height: 96px;
  margin-top: 8px;
  object-fit: contain;
  background: #fff;
}
.contact-message { padding-top: 0; }
.message-form {
  display: grid;
  gap: 12px;
  max-width: 560px;
}
.message-form label { display: grid; gap: 6px; color: var(--muted); font-size: 14px; }
.message-form input,
.message-form textarea {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--ink);
  font: inherit;
}
.message-form button { justify-self: start; border: 0; cursor: pointer; }
.msg.ok {
  padding: 12px 14px;
  background: #e8f6ec;
  color: #1f6b3a;
  border: 1px solid #b7dfc4;
}
.msg.err {
  padding: 12px 14px;
  background: #fdeeee;
  color: #8a1f1f;
  border: 1px solid #efc0c0;
}
.msg.err:empty,
.msg[hidden],
.validation-summary-valid { display: none !important; }
.contact-card .hint { color: var(--muted); margin-bottom: 12px; }
.map-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 14px;
}
.footer-map {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 6px;
}
.site-toast {
  position: fixed;
  top: 18px;
  right: 18px;
  z-index: 80;
  min-width: 180px;
  max-width: min(360px, calc(100vw - 32px));
  padding: .7rem .95rem;
  border-radius: 8px;
  box-shadow: 0 8px 24px rgba(16, 40, 70, .16);
  opacity: 0;
  transform: translateY(-8px);
  pointer-events: none;
  transition: opacity .2s ease, transform .2s ease;
  font-size: .92rem;
}
.site-toast.is-show {
  opacity: 1;
  transform: translateY(0);
}
.site-toast.is-ok { background: #e7f6ee; color: #146c43; }
.site-toast.is-err { background: #fde8e8; color: #a12626; }

.pager { display: flex; justify-content: center; gap: 8px; align-items: center; margin-top: 26px; }
.pager a, .pager span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 88px;
  height: 36px;
  padding: 0 12px;
  background: var(--color-card-bg);
  border: 1px solid var(--line);
  color: var(--ink);
}
.pager a:hover { border-color: var(--color-primary); color: var(--color-primary); }

.site-footer { background: #1b2430; color: rgba(255, 255, 255, .78); }
.footer-grid { display: grid; grid-template-columns: 1.4fr .7fr 1.1fr; gap: 36px; padding: 42px 0 32px; }
.site-footer h2 { margin-bottom: 14px; color: #fff; font-size: 18px; }
.site-footer p { margin-top: 8px; font-size: 14px; }
.footer-name { color: #fff; font-size: 16px; font-weight: 700; }
.footer-nav { list-style: none; margin: 0; padding: 0; }
.footer-nav li { margin-top: 8px; }
.site-footer a { color: rgba(255, 255, 255, .88); }
.site-footer a:hover { color: #fff; }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .1); }
.footer-bottom-inner {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  min-height: 52px;
  align-items: center;
  font-size: 13px;
}

body.tpl-card .wrap { width: min(1240px, calc(100% - 32px)); }
body.tpl-card .product-list { grid-template-columns: repeat(4, 1fr); gap: 14px; }
body.tpl-card .product-item img, body.tpl-card .product-item .no-photo {
  aspect-ratio: 1 / 1;
  height: auto;
}
body.tpl-card .card-body { padding: 12px; }
body.tpl-card .article-list li { padding: 12px; }

.about-home, .about-layout { display: grid; grid-template-columns: 1.5fr .8fr; gap: 22px; align-items: start; }
.about-home .section-head { justify-content: flex-start; text-align: left; }
.about-home .section-head h2::after { margin-left: 0; }
.about-home .more-link { position: static; margin-left: auto; align-self: center; }
.about-text { white-space: pre-wrap; color: var(--ink); }
.about-facts, .about-side, .about-card { list-style: none; margin: 0; padding: 22px 24px; background: var(--color-card-bg); border: 1px solid var(--line); }
.about-facts li { padding: 12px 0; border-bottom: 1px solid var(--line); }
.about-facts li:last-child { border-bottom: 0; }
.about-facts span, .about-side span { display: block; color: var(--muted); font-size: 13px; }
.about-facts strong { display: block; margin-top: 4px; font-size: 16px; font-weight: 600; }
.about-card h2, .about-side h2 { margin-bottom: 14px; font-size: 22px; }
.about-side p { margin-top: 12px; }
.about-side .btn { margin-top: 18px; }
.faq-list { display: flex; flex-direction: column; gap: 12px; }
.faq-item { background: var(--color-card-bg); border: 1px solid var(--line); }
.faq-item summary {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 16px 18px;
  cursor: pointer;
  font-weight: 700;
  color: var(--color-title);
  list-style: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::before {
  content: "问";
  flex: none;
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  background: var(--color-secondary);
  color: #fff;
  font-size: 14px;
}
.faq-item p { margin: 0; padding: 0 18px 16px 56px; white-space: pre-wrap; }

@media (max-width: 980px) {
  .advantage-grid, .product-list, .news-layout, .contact-layout, .footer-grid, .detail-grid, .about-home, .about-layout { grid-template-columns: 1fr 1fr; }
  body.tpl-card .product-list { grid-template-columns: 1fr 1fr; }
  .qualify-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .album-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .photo-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .detail-grid { grid-template-columns: 1fr; }
  .detail-photo img, .detail-photo .no-photo { height: 240px; }
}
@media (max-width: 720px) {
  .topbar-inner span:first-child { display: none; }
  .header-inner { flex-wrap: wrap; min-height: 64px; }
  .nav-btn {
    display: inline-flex;
    align-items: center;
    margin-left: auto;
    height: 32px;
    padding: 0 12px;
    border: 1px solid var(--line);
    color: var(--ink);
  }
  .site-nav { display: none; width: 100%; flex-direction: column; margin: 0 0 8px; }
  .nav-toggle:checked ~ .site-nav { display: flex; }
  .site-nav a { height: 42px; border-top: 1px solid var(--line); }
  .site-nav a.is-current::after { display: none; }
  .hero-inner { padding: 42px 0 64px; }
  .hero h1, .page-banner h1, .banner-title { font-size: 26px; }
  .banner-viewport { height: clamp(160px, 56vw, 280px); }
  .logo img { max-width: 160px; max-height: 42px; }
  .advantage { margin-top: 0; }
  .section-head { padding-right: 3.2em; }
  .more-link { bottom: 6px; font-size: 13px; }
  .about-home .section-head { padding-right: 0; }
  .advantage-grid, .product-list, .news-layout, .contact-layout, .footer-grid, .about-home, .about-layout, body.tpl-card .product-list, .qualify-list, .album-list { grid-template-columns: 1fr; }
  .photo-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .advantage article { border-right: 0; border-bottom: 1px solid var(--line); }
  .cta-inner, .footer-bottom-inner { flex-direction: column; align-items: flex-start; padding: 18px 0; }
  .article-detail { padding: 22px 16px; }
  .product-detail dl, .contact-card dl { grid-template-columns: 1fr; gap: 2px 0; }
  .product-detail dt, .contact-card dt { margin-top: 8px; }
}
