:root {
  --color-primary: #15231c;
  --color-accent: #2f7a4f;
  --color-accent-soft: #e7f2eb;
  --color-bg: #eef2ef;
  --color-surface: #ffffff;
  --color-text: #15231c;
  --color-muted: #5b6a61;
  --color-line: #d5ddd7;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(21, 35, 28, 0.08);
  --shadow-hover: 0 16px 40px rgba(21, 35, 28, 0.12);
  --container: 1240px;
  --header-h: 64px;
  --font: "Source Han Sans SC", "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  color: var(--color-text);
  background: var(--color-bg);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s var(--ease), background 0.2s var(--ease), transform 0.2s var(--ease), box-shadow 0.2s var(--ease);
}

button, input, textarea, select { font: inherit; }

.container {
  width: min(100% - 2rem, var(--container));
  margin-inline: auto;
}

/* Header —— 更紧凑 */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  height: var(--header-h);
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--color-line);
}

.site-header.is-scrolled {
  box-shadow: 0 6px 18px rgba(21, 35, 28, 0.06);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-h);
  gap: 1rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  min-width: 0;
}

.brand img {
  height: 36px;
  width: auto;
  flex-shrink: 0;
}

.brand-text { display: grid; gap: 0; min-width: 0; }
.brand-name {
  font-weight: 700;
  font-size: 1.05rem;
  line-height: 1.2;
}
.brand-sub {
  font-size: 0.72rem;
  color: var(--color-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 260px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.15rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links a {
  padding: 0.45rem 0.8rem;
  border-radius: 8px;
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--color-text);
}

.nav-links a:hover { background: var(--color-accent-soft); color: var(--color-accent); }
.nav-links a.is-active { background: var(--color-primary); color: #fff; }

.nav-toggle {
  display: none;
  border: 0;
  background: transparent;
  width: 40px;
  height: 40px;
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  background: var(--color-primary);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.25rem;
  border-radius: 10px;
  border: 1px solid transparent;
  background: var(--color-primary);
  color: #fff;
  cursor: pointer;
  font-weight: 600;
  font-size: 0.95rem;
}
.btn:hover { transform: translateY(-1px); box-shadow: var(--shadow); }
.btn-accent { background: var(--color-accent); }
.btn-accent:hover { background: #276843; }
.btn-ghost {
  background: #fff;
  color: var(--color-primary);
  border-color: var(--color-line);
}
.btn-ghost:hover {
  border-color: var(--color-accent);
  color: var(--color-accent);
}

/* 内页标题区 —— 收紧 */
.page-hero { padding: 2.5rem 0 1.5rem; }
.page-hero h1 {
  margin: 0 0 0.5rem;
  font-size: clamp(1.75rem, 3.5vw, 2.4rem);
  letter-spacing: -0.02em;
}
.page-hero p {
  margin: 0;
  color: var(--color-muted);
  max-width: 40rem;
}

.section { padding: 3.25rem 0; }
.section-tight { padding: 2.75rem 0; }
.section-band { padding: 2.75rem 0; background: #fff; }

.section-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 1rem;
  margin-bottom: 1.35rem;
}
.section-head h2 {
  margin: 0;
  font-size: clamp(1.35rem, 2.5vw, 1.75rem);
}
.section-head p {
  margin: 0.3rem 0 0;
  color: var(--color-muted);
  font-size: 0.95rem;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}
.card-grid.cols-2 { grid-template-columns: repeat(2, 1fr); }

.card {
  background: var(--color-surface);
  border: 1px solid var(--color-line);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-hover);
  border-color: transparent;
}

.card-row {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  min-height: 180px;
}
.card-row .card-media { aspect-ratio: auto; min-height: 180px; height: 100%; }
.card-row .card-body { display: flex; flex-direction: column; justify-content: center; }

.card-media {
  aspect-ratio: 16 / 10;
  background: linear-gradient(135deg, var(--color-accent-soft), #f2f5f3);
  overflow: hidden;
}
.card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s var(--ease);
}
.card:hover .card-media img { transform: scale(1.03); }

.card-body { padding: 1rem 1.1rem 1.15rem; }
.card-body h3 { margin: 0 0 0.35rem; font-size: 1.05rem; }
.card-body p { margin: 0; color: var(--color-muted); font-size: 0.9rem; }
.meta {
  display: inline-block;
  margin-bottom: 0.35rem;
  color: var(--color-accent);
  font-size: 0.78rem;
  font-weight: 700;
}

/* 新闻列表 —— 更密、更现代 */
.news-list {
  display: grid;
  gap: 0;
  background: #fff;
  border: 1px solid var(--color-line);
  border-radius: var(--radius);
  overflow: hidden;
}
.news-item {
  display: grid;
  grid-template-columns: 7.5rem 1fr auto;
  gap: 1rem;
  align-items: center;
  padding: 1.1rem 1.25rem;
  border-bottom: 1px solid var(--color-line);
}
.news-item:last-child { border-bottom: 0; }
.news-item:hover { background: var(--color-accent-soft); }
.news-item time {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--color-accent);
  letter-spacing: 0.02em;
}
.news-item h3 { margin: 0 0 0.25rem; font-size: 1.02rem; }
.news-item p { margin: 0; color: var(--color-muted); font-size: 0.88rem; }
.news-arrow {
  color: var(--color-muted);
  font-size: 1.1rem;
  transition: transform 0.2s var(--ease);
}
.news-item:hover .news-arrow {
  transform: translateX(4px);
  color: var(--color-accent);
}

.prose { max-width: 46rem; }
.prose p { color: var(--color-muted); }

.detail-layout {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 1.75rem;
  align-items: start;
}
.detail-aside {
  background: #fff;
  border: 1px solid var(--color-line);
  border-radius: var(--radius);
  padding: 1.25rem;
}

.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.25rem;
}
.chip {
  padding: 0.4rem 0.85rem;
  border-radius: 999px;
  border: 1px solid var(--color-line);
  color: var(--color-muted);
  background: #fff;
  font-size: 0.88rem;
}
.chip:hover, .chip.is-active {
  background: var(--color-primary);
  border-color: var(--color-primary);
  color: #fff;
}

/* Footer */
.site-footer {
  margin-top: 0;
  padding: 2.5rem 0 1.25rem;
  border-top: 1px solid var(--color-line);
  background: #fff;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 1.5rem;
}
.footer-grid h4 { margin: 0 0 0.5rem; font-size: 0.92rem; }
.footer-grid p, .footer-grid a { color: var(--color-muted); font-size: 0.9rem; }
.footer-bottom {
  margin-top: 1.5rem;
  padding-top: 1rem;
  border-top: 1px solid var(--color-line);
  color: var(--color-muted);
  font-size: 0.82rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1rem;
  align-items: center;
  justify-content: space-between;
}
.footer-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 0.85rem;
  align-items: center;
}
.footer-stats {
  display: inline-flex;
  align-items: center;
  line-height: 0;
  opacity: 0.92;
}
.footer-stats img {
  height: 20px;
  width: auto;
  display: inline-block;
}
.footer-stats:hover { opacity: 1; }
.footer-beian { display: flex; flex-wrap: wrap; gap: 0.35rem 0.5rem; align-items: center; }
.footer-beian a:hover { color: var(--color-accent); }
.footer-beian-item {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  line-height: 1.3;
}
.footer-beian-icon {
  width: 16px;
  height: 16px;
  object-fit: contain;
  flex-shrink: 0;
  display: block;
}
.footer-beian-sep {
  color: var(--color-muted);
  opacity: 0.7;
}

/* ========== 首页：自动轮播（图底 + 文案叠加） ========== */
.hero-carousel {
  position: relative;
  height: min(78vh, 760px);
  min-height: 420px;
  background: #1a2a22;
  overflow: hidden;
}

.hero-track {
  position: absolute;
  inset: 0;
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.7s var(--ease), visibility 0.7s var(--ease);
  pointer-events: none;
}

.hero-slide.is-active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  z-index: 1;
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-media img,
.hero-media-fallback {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transform: scale(1.04);
  transition: transform 6.5s linear;
}

.hero-slide.is-active .hero-media img,
.hero-slide.is-active .hero-media-fallback {
  transform: scale(1);
}

.hero-media-fallback {
  background:
    linear-gradient(160deg, rgba(47, 122, 79, 0.45), rgba(21, 35, 28, 0.85)),
    repeating-linear-gradient(
      -12deg,
      transparent,
      transparent 18px,
      rgba(255, 255, 255, 0.04) 18px,
      rgba(255, 255, 255, 0.04) 36px
    );
}

.hero-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      105deg,
      rgba(12, 20, 16, 0.72) 0%,
      rgba(12, 20, 16, 0.42) 48%,
      rgba(12, 20, 16, 0.22) 100%
    );
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 1;
  height: 100%;
  display: flex;
  align-items: center;
  padding: 3rem 0;
}

.hero-copy {
  max-width: 38rem;
  color: #fff;
}

.panel-eyebrow {
  display: inline-flex;
  width: fit-content;
  margin-bottom: 0.85rem;
  padding: 0.28rem 0.7rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.16);
  color: #dff3e6;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  backdrop-filter: blur(6px);
}

.hero-copy h1,
.hero-copy h2 {
  margin: 0 0 0.75rem;
  font-size: clamp(2.1rem, 5vw, 3.4rem);
  line-height: 1.12;
  letter-spacing: -0.03em;
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.25);
}

.hero-copy p {
  margin: 0 0 1.35rem;
  color: rgba(255, 255, 255, 0.88);
  font-size: clamp(1rem, 1.5vw, 1.15rem);
  line-height: 1.7;
  max-width: 32rem;
  text-shadow: 0 1px 10px rgba(0, 0, 0, 0.2);
}

.panel-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.btn-on-dark {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.45);
  backdrop-filter: blur(6px);
}

.btn-on-dark:hover {
  background: rgba(255, 255, 255, 0.22);
  border-color: #fff;
  color: #fff;
}

.hero-controls {
  position: absolute;
  left: 50%;
  bottom: 1.25rem;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.35rem 0.45rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.22);
}

.hero-nav {
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.18);
  color: #fff;
  font-size: 1.35rem;
  line-height: 1;
  cursor: pointer;
}

.hero-nav:hover {
  background: rgba(255, 255, 255, 0.3);
}

.hero-dots {
  display: flex;
  gap: 0.4rem;
  align-items: center;
}

.hero-dots button {
  width: 8px;
  height: 8px;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.45);
  padding: 0;
  cursor: pointer;
  transition: width 0.25s var(--ease), background 0.25s var(--ease);
}

.hero-dots button.is-active {
  width: 22px;
  background: #fff;
}

.hero-progress {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 3px;
  background: rgba(255, 255, 255, 0.18);
  z-index: 3;
  overflow: hidden;
}

.hero-progress span {
  display: block;
  height: 100%;
  width: 0;
  background: var(--color-accent);
}

.hero-carousel.is-playing .hero-progress span {
  animation: heroProgress linear forwards;
}

@keyframes heroProgress {
  from { width: 0; }
  to { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  .hero-slide { transition: none; }
  .hero-media img,
  .hero-media-fallback { transition: none; transform: none; }
  .hero-carousel.is-playing .hero-progress span { animation: none; width: 0; }
}

/* ========== 产品展示 ========== */
.page-kicker {
  margin: 0 0 0.35rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-accent);
}

.product-hero-inner {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 1rem;
}

.product-layout {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 1.5rem;
  align-items: start;
}

.product-side-card {
  position: sticky;
  top: calc(var(--header-h) + 1rem);
  background: #fff;
  border: 1px solid var(--color-line);
  border-radius: var(--radius);
  padding: 1rem;
}

.product-side-card h3 {
  margin: 0 0 0.75rem;
  font-size: 0.95rem;
}

.product-cat-nav {
  display: grid;
  gap: 0.25rem;
}

.product-cat-nav a {
  padding: 0.55rem 0.7rem;
  border-radius: 8px;
  color: var(--color-muted);
  font-size: 0.92rem;
}

.product-cat-nav a:hover,
.product-cat-nav a.is-active {
  background: var(--color-accent-soft);
  color: var(--color-accent);
  font-weight: 600;
}

.product-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
}

.product-count {
  margin: 0;
  color: var(--color-muted);
  font-size: 0.88rem;
  white-space: nowrap;
}

.filters-mobile { display: none; }

.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.1rem;
}

.product-grid--compact {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.85rem;
  max-width: 920px;
}

.product-card--compact .product-card-media {
  aspect-ratio: 1 / 1;
}

.product-card--compact .product-card-media img {
  object-fit: contain;
  background: linear-gradient(145deg, #f3f7f4, #e7f0ea);
}

.product-card--compact .product-card-body {
  padding: 0.7rem 0.75rem 0.85rem;
  gap: 0.2rem;
}

.product-card--compact .product-card-body h3 {
  font-size: 0.92rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.product-card--compact .product-card-body p {
  font-size: 0.78rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.product-card--compact:hover {
  transform: translateY(-2px);
}

.product-rail-wrap {
  position: relative;
}

.product-rail {
  display: flex;
  gap: 0.95rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: 0.15rem;
  padding: 0.2rem 0.15rem 0.85rem;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
}

.product-rail:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 4px;
  border-radius: 12px;
}

.product-card--rail {
  flex: 0 0 min(72vw, 240px);
  scroll-snap-align: start;
  max-width: 240px;
}

.product-card--rail .product-card-media {
  aspect-ratio: 1 / 1;
}

.product-card--rail .product-card-body {
  padding: 0.8rem 0.85rem 0.95rem;
  gap: 0.25rem;
}

.product-card--rail .product-card-body h3 {
  font-size: 0.98rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.product-card--rail .product-card-body p {
  font-size: 0.82rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.rail-nav {
  position: absolute;
  top: 42%;
  transform: translateY(-50%);
  z-index: 2;
  width: 2.35rem;
  height: 2.35rem;
  border: 1px solid var(--color-line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.96);
  color: var(--color-text);
  font-size: 1.35rem;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 6px 18px rgba(20, 40, 28, 0.08);
  display: grid;
  place-items: center;
}

.rail-nav:hover {
  border-color: var(--color-accent);
  color: var(--color-accent);
}

.rail-prev { left: -0.35rem; }
.rail-next { right: -0.35rem; }

.rail-nav[hidden] { display: none !important; }

.product-card {
  background: #fff;
  border: 1px solid var(--color-line);
  border-radius: 16px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), border-color 0.25s var(--ease);
}

.product-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
  border-color: transparent;
}

.product-card-media {
  position: relative;
  aspect-ratio: 4 / 3;
  background: linear-gradient(145deg, var(--color-accent-soft), #f3f6f4);
  overflow: hidden;
}

.product-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s var(--ease);
}

.product-card:hover .product-card-media img {
  transform: scale(1.05);
}

.product-card-tag {
  position: absolute;
  left: 0.75rem;
  top: 0.75rem;
  padding: 0.25rem 0.55rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  color: var(--color-accent);
  font-size: 0.75rem;
  font-weight: 700;
}

.product-card-body {
  padding: 1rem 1.05rem 1.15rem;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  flex: 1;
}

.product-card-body h3 {
  margin: 0;
  font-size: 1.05rem;
  line-height: 1.35;
}

.product-card-body p {
  margin: 0;
  color: var(--color-muted);
  font-size: 0.9rem;
  flex: 1;
}

.product-card-more {
  margin-top: 0.35rem;
  color: var(--color-accent);
  font-size: 0.88rem;
  font-weight: 600;
}

/* Cases / News list */
.story-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.15rem;
}

.story-card {
  background: #fff;
  border: 1px solid var(--color-line);
  border-radius: 16px;
  overflow: hidden;
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  min-height: 220px;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), border-color 0.25s var(--ease);
}

.story-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-hover);
  border-color: transparent;
}

.story-card-media {
  min-height: 100%;
  background: linear-gradient(145deg, var(--color-accent-soft), #f3f6f4);
  overflow: hidden;
}

.story-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s var(--ease);
}

.story-card:hover .story-card-media img {
  transform: scale(1.04);
}

.story-card-body {
  padding: 1.25rem 1.2rem;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.story-card-body h3 {
  margin: 0;
  font-size: 1.15rem;
  line-height: 1.35;
}

.story-card-body p {
  margin: 0;
  color: var(--color-muted);
  font-size: 0.92rem;
  flex: 1;
}

.story-aside-media {
  border-radius: 14px;
  overflow: hidden;
  margin-bottom: 1rem;
  background: #f3f6f4;
}

.story-aside-media img {
  width: 100%;
  display: block;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.news-list {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}

.news-row {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 1.1rem;
  background: #fff;
  border: 1px solid var(--color-line);
  border-radius: 16px;
  overflow: hidden;
  padding: 0.75rem;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), border-color 0.25s var(--ease);
}

.news-row:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-hover);
  border-color: transparent;
}

.news-row-media {
  border-radius: 12px;
  overflow: hidden;
  min-height: 140px;
  background: linear-gradient(145deg, var(--color-accent-soft), #f3f6f4);
}

.news-row-media img,
.news-row-placeholder {
  width: 100%;
  height: 100%;
  min-height: 140px;
  object-fit: cover;
  display: block;
}

.news-row-placeholder {
  background: linear-gradient(135deg, #dce8e0, #f4f7f5);
}

.news-row-body {
  padding: 0.35rem 0.5rem 0.35rem 0;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.news-row-body h3 {
  margin: 0;
  font-size: 1.15rem;
}

.news-row-body p {
  margin: 0;
  color: var(--color-muted);
  flex: 1;
}

.news-article {
  max-width: 820px;
}

.news-article-cover {
  margin-bottom: 1.5rem;
  border-radius: 14px;
  overflow: hidden;
}

.news-article-cover img {
  width: 100%;
  display: block;
  max-height: 420px;
  object-fit: cover;
}

.product-detail-hero {
  padding: 1.75rem 0 0;
  background: #fff;
  border-bottom: 1px solid var(--color-line);
}

.product-detail-hero-grid {
  display: grid;
  grid-template-columns: minmax(240px, 340px) minmax(0, 1fr);
  gap: 1.75rem 2rem;
  align-items: center;
  padding-bottom: 1.75rem;
}

.product-detail-cover {
  position: relative;
  margin: 0;
  width: 100%;
  max-width: 340px;
  aspect-ratio: 1 / 1;
  border-radius: 16px;
  overflow: hidden;
  background: linear-gradient(145deg, #f3f7f4, #e7f0ea);
  border: 1px solid var(--color-line);
}

.product-detail-cover.is-zoomable {
  cursor: zoom-in;
}

.product-detail-cover img,
.product-detail-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  transition: transform 0.35s var(--ease);
  transform-origin: center center;
}

.product-detail-cover.is-zoomable:hover img,
.product-detail-cover.is-zoomable:hover .product-detail-img {
  transform: scale(1.45);
}

.product-detail-zoom-hint {
  position: absolute;
  left: 0.7rem;
  bottom: 0.7rem;
  z-index: 1;
  padding: 0.28rem 0.55rem;
  border-radius: 999px;
  background: rgba(21, 35, 28, 0.72);
  color: #fff;
  font-size: 0.72rem;
  letter-spacing: 0.02em;
  pointer-events: none;
  opacity: 0.92;
  transition: opacity 0.2s var(--ease);
}

.product-detail-cover.is-zoomable:hover .product-detail-zoom-hint {
  opacity: 0;
}

.product-detail-cover-fallback {
  width: 100%;
  height: 100%;
  min-height: 100%;
  background: linear-gradient(145deg, var(--color-accent-soft), #d7e6dc);
}

.product-detail-intro h1 {
  margin: 0.35rem 0 0.75rem;
  font-size: clamp(1.8rem, 3.5vw, 2.5rem);
  letter-spacing: -0.02em;
}

.product-detail-summary {
  margin: 0 0 1.25rem;
  color: var(--color-muted);
  font-size: 1.05rem;
  line-height: 1.7;
}

.product-lightbox {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: grid;
  place-items: center;
  padding: 1.25rem;
  background: rgba(12, 20, 16, 0.72);
  backdrop-filter: blur(4px);
  cursor: zoom-out;
}

.product-lightbox[hidden] {
  display: none !important;
}

.product-lightbox img {
  max-width: min(920px, 100%);
  max-height: min(88vh, 100%);
  object-fit: contain;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.35);
}

.product-lightbox-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 2.5rem;
  height: 2.5rem;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  color: #15231c;
  font-size: 1.35rem;
  line-height: 1;
  cursor: pointer;
}

.product-detail-body {
  max-width: 860px;
}

.product-richtext h2 {
  margin-top: 0;
  font-size: 1.25rem;
}

.contact-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 1.25rem;
  align-items: start;
}
.contact-card,
.form-card {
  background: #fff;
  border: 1px solid var(--color-line);
  border-radius: var(--radius);
  padding: 1.35rem;
}

.contact-facts {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.85rem;
}
.contact-facts li {
  display: grid;
  gap: 0.2rem;
}
.contact-label {
  font-size: 0.8rem;
  color: var(--color-muted);
}
.contact-value {
  color: var(--color-text);
  line-height: 1.5;
  word-break: break-word;
}
.contact-value a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 0.15em;
}
.contact-tip {
  margin: 1rem 0 0;
  padding: 0.75rem 0.85rem;
  background: #f4f7f4;
  border-radius: 10px;
  color: #3d5346;
  font-size: 0.9rem;
  line-height: 1.5;
}
.contact-actions {
  margin-top: 1rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}
.contact-wechat {
  margin-top: 1.25rem;
  padding-top: 1.15rem;
  border-top: 1px solid var(--color-line);
  text-align: center;
}
.contact-wechat h4 {
  margin: 0 0 0.75rem;
  font-size: 1rem;
}
.contact-wechat img {
  width: 148px;
  height: 148px;
  object-fit: contain;
  border: 1px solid var(--color-line);
  border-radius: 12px;
  background: #fff;
  padding: 0.4rem;
}
.contact-wechat p {
  margin: 0.55rem 0 0;
  font-size: 0.85rem;
  color: var(--color-muted);
}
.contact-store {
  margin: 1.25rem 0 0;
  padding-top: 1.15rem;
  border-top: 1px solid var(--color-line);
}
.contact-store img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 12px;
  background: #eef2ef;
}
.contact-store figcaption {
  margin-top: 0.45rem;
  font-size: 0.82rem;
  color: var(--color-muted);
  text-align: center;
}

.form-row { display: grid; gap: 0.35rem; margin-bottom: 0.85rem; }
.form-row label { font-size: 0.88rem; color: var(--color-muted); }
.form-row input,
.form-row textarea,
.form-row select {
  width: 100%;
  border: 1px solid var(--color-line);
  border-radius: 10px;
  padding: 0.7rem 0.85rem;
  background: #fff;
}
.form-row input:focus,
.form-row textarea:focus,
.form-row select:focus {
  outline: none;
  border-color: var(--color-accent);
  box-shadow: 0 0 0 3px rgba(47, 122, 79, 0.14);
}

.alert { padding: 0.75rem 1rem; border-radius: 10px; margin-bottom: 0.85rem; }
.alert-success { background: #eaf7ef; color: #1f6b3a; }
.alert-error { background: #fdeeee; color: #8b2e2e; }
.alert-strong {
  border: 1px solid #b7e0c4;
  font-weight: 600;
  line-height: 1.5;
}
.form-note {
  margin: 0.75rem 0 0;
  font-size: 0.85rem;
  color: #6a7a70;
  line-height: 1.45;
}
.hp-field {
  position: absolute !important;
  left: -10000px !important;
  top: auto !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
}
.form-row-captcha .captcha-q {
  color: var(--color-text);
  font-weight: 500;
}
.form-row-captcha .captcha-q strong {
  color: var(--color-accent);
  letter-spacing: 0.02em;
}
#contact-form button[disabled] {
  opacity: 0.72;
  cursor: not-allowed;
}

.empty {
  padding: 2rem;
  text-align: center;
  color: var(--color-muted);
  background: #fff;
  border: 1px dashed var(--color-line);
  border-radius: var(--radius);
}

@media (max-width: 900px) {
  .nav-toggle { display: inline-block; }
  .brand-sub { max-width: 140px; }
  .nav-links {
    position: absolute;
    top: var(--header-h);
    left: 0;
    right: 0;
    background: #fff;
    flex-direction: column;
    align-items: stretch;
    padding: 0.65rem 0.85rem 0.85rem;
    border-bottom: 1px solid var(--color-line);
    display: none;
  }
  .nav-links.is-open { display: flex; }

  .product-layout,
  .product-detail-hero-grid,
  .product-grid,
  .story-grid {
    grid-template-columns: 1fr;
  }

  .product-grid--compact {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    max-width: none;
  }

  .story-card,
  .news-row {
    grid-template-columns: 1fr;
  }

  .story-card-media {
    min-height: 180px;
    aspect-ratio: 16 / 9;
  }

  .news-row-media {
    min-height: 160px;
  }

  .product-side { display: none; }
  .filters-mobile { display: flex; flex-wrap: wrap; }
  .product-hero-inner { flex-direction: column; align-items: flex-start; }
  .product-detail-cover,
  .product-detail-cover img,
  .product-detail-img,
  .product-detail-cover-fallback {
    min-height: 0;
  }

  .product-detail-hero-grid {
    grid-template-columns: 1fr;
    justify-items: center;
  }

  .product-detail-cover {
    max-width: min(280px, 72vw);
  }

  .product-detail-intro {
    width: 100%;
    text-align: left;
  }

  .product-detail-cover.is-zoomable:hover img,
  .product-detail-cover.is-zoomable:hover .product-detail-img {
    transform: none;
  }

  .card-grid,
  .card-grid.cols-2,
  .card-row,
  .detail-layout,
  .contact-grid,
  .footer-grid,
  .news-item {
    grid-template-columns: 1fr;
  }

  .hero-carousel {
    height: min(72vh, 640px);
    min-height: 380px;
  }

  .hero-content {
    align-items: end;
    padding: 2.5rem 0 4.25rem;
  }

  .card-row .card-media { min-height: 160px; }
  .section-head { flex-direction: column; align-items: flex-start; }
  .news-item { gap: 0.35rem; }
  .news-arrow { display: none; }

  .rail-nav { display: none; }
  .product-card--rail {
    flex-basis: min(68vw, 220px);
    max-width: 220px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .product-detail-cover img,
  .product-detail-img {
    transition: none;
  }
  .product-detail-cover.is-zoomable:hover img,
  .product-detail-cover.is-zoomable:hover .product-detail-img {
    transform: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}
