﻿/*
Theme Name: fyzhufa-lite-next6
Theme URI: http://fyzhufa.asia/
Author: Codex
Description: Mobile-first lightweight corporate theme for bamboo raft manufacturing and scenic project services.
Version: 1.0.0
Requires at least: 5.4
Tested up to: 6.9
Requires PHP: 7.2
Text Domain: fyzhufa-lite-next6
*/

:root {
  --ink: #1d2b24;
  --muted: #657268;
  --line: #dbe4dd;
  --paper: #eef8f5;
  --white: #ffffff;
  --green: #26745d;
  --green-dark: #123f35;
  --gold: #c58c3d;
  --shadow: 0 12px 28px rgba(18, 45, 31, 0.11);
  font-size: 16px;
}

/* Compact inner-page hero: keep the green identity, let content images appear sooner. */
.page-hero .wrap {
  padding: 30px 0 34px !important;
}

.page-hero .eyebrow {
  min-height: 26px;
  padding: 3px 10px;
  font-size: 12px;
}

.page-hero h1 {
  margin: 10px 0 8px !important;
  font-size: clamp(30px, 8vw, 42px) !important;
  line-height: 1.12 !important;
}

.page-hero p {
  max-width: 760px;
  margin: 0 !important;
  font-size: 15px !important;
  line-height: 1.55 !important;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.page-hero + .section {
  padding-top: 34px;
}

.page-hero-factory + .section .section-head {
  display: none;
}

.page-hero-factory + .section .placeholder-grid {
  gap: 18px;
}

.page-hero-factory + .section .photo-placeholder,
.page-hero-factory + .section .photo-placeholder img {
  min-height: 240px;
}

@media (min-width: 780px) {
  .page-hero .wrap {
    padding: 38px 0 42px !important;
  }

  .page-hero h1 {
    font-size: 46px !important;
  }

  .page-hero p {
    -webkit-line-clamp: 1;
  }
}

@media (min-width: 1180px) {
  .page-hero .wrap {
    padding: 44px 0 48px !important;
  }

  .page-hero h1 {
    font-size: 52px !important;
  }

  .page-hero + .section {
    padding-top: 42px;
  }

  .page-hero-factory + .section .placeholder-grid {
    gap: 22px;
  }

  .page-hero-factory + .section .photo-placeholder,
  .page-hero-factory + .section .photo-placeholder img {
    min-height: 320px;
  }
}

/* Lightweight management-era polish */
.btn {
  border-radius: 6px;
  min-height: 48px;
}

.btn-primary {
  background: var(--gold);
  color: #1e1609;
}

.btn-secondary,
.back-link {
  border: 1px solid rgba(23, 75, 46, 0.28);
  background: var(--white);
  color: var(--green-dark);
}

.product-list-card {
  align-content: stretch;
}

.product-list-body {
  min-height: 100%;
}

.product-list-body p,
.product-card small {
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.product-list-body .btn {
  margin-top: auto;
}

.product-visual img,
.case-entry img,
.option-card > img {
  width: 100%;
  object-fit: cover;
}

.product-visual img {
  height: 100%;
  min-height: inherit;
}

.case-entry img,
.option-card > img {
  aspect-ratio: 4 / 3;
  border-radius: 6px;
}

.detail-panel {
  border: 1px solid var(--line);
  background: var(--white);
  color: var(--ink);
  box-shadow: 0 8px 22px rgba(18, 45, 31, 0.06);
}

.detail-panel h2 {
  color: var(--green-dark);
}

.detail-panel p {
  color: var(--muted);
}

.detail-panel .tag-list span {
  background: #f7faf5;
  color: var(--green-dark);
}

.detail-panel.contact-panel {
  border-color: transparent;
  background: var(--green-dark);
  color: var(--white);
}

.detail-panel.contact-panel h2,
.detail-panel.contact-panel p {
  color: var(--white);
}

.primary-menu .current-menu-item > a,
.primary-menu .current_page_item > a {
  color: var(--green);
}

.mobile-quote-bar {
  display: none;
}

.desktop-contact-toolbar {
  position: fixed;
  z-index: 55;
  right: 18px;
  top: 50%;
  display: flex;
  flex-direction: column;
  gap: 8px;
  transform: translateY(-50%);
}

.toolbar-item {
  position: relative;
}

.toolbar-button {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  width: 58px;
  min-height: 58px;
  border: 1px solid rgba(10, 73, 50, 0.14);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.96);
  color: var(--green);
  box-shadow: 0 10px 24px rgba(12, 38, 28, 0.14);
  font-size: 12px;
  font-weight: 800;
  line-height: 1.1;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.toolbar-button:hover,
.toolbar-button:focus-visible {
  background: #ffffff;
  color: var(--green-dark);
  transform: translateX(-2px);
  box-shadow: 0 14px 30px rgba(12, 38, 28, 0.2);
}

.toolbar-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border-radius: 999px;
  background: rgba(13, 93, 64, 0.1);
  color: var(--green);
  font-size: 13px;
  font-weight: 900;
}

.toolbar-icon-phone {
  color: #8a5b16;
  background: rgba(198, 140, 49, 0.14);
}

.toolbar-icon-service {
  color: #0a63c7;
  background: rgba(58, 139, 236, 0.12);
}

.toolbar-icon-douyin {
  color: #111111;
  background: rgba(17, 17, 17, 0.08);
}

.toolbar-popover {
  position: absolute;
  top: 50%;
  right: calc(100% + 10px);
  min-width: 128px;
  padding: 12px;
  border: 1px solid rgba(10, 73, 50, 0.12);
  border-radius: 10px;
  background: #ffffff;
  box-shadow: 0 14px 34px rgba(12, 38, 28, 0.18);
  color: var(--ink);
  text-align: center;
  opacity: 0;
  pointer-events: none;
  transform: translate(8px, -50%);
  transition: opacity 0.18s ease, transform 0.18s ease;
}

.toolbar-item-pop:hover .toolbar-popover,
.toolbar-item-pop:focus-within .toolbar-popover {
  opacity: 1;
  pointer-events: auto;
  transform: translate(0, -50%);
}

.toolbar-qr-card img,
.toolbar-empty-qr {
  width: 104px;
  height: 104px;
  border-radius: 8px;
}

.toolbar-qr-card img {
  display: block;
  object-fit: cover;
}

.toolbar-empty-qr {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
  background: #eef5f1;
  color: var(--green);
  font-weight: 900;
}

.toolbar-qr-card p {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 13px;
}

.toolbar-phone-card strong {
  display: block;
  white-space: nowrap;
  color: var(--green-dark);
  font-size: 17px;
}

@media (max-width: 767px) {
  body {
    padding-bottom: 70px;
  }

  .desktop-contact-toolbar {
    display: none;
  }

  .btn,
  .actions .btn {
    width: 100%;
    min-height: 48px;
  }

  .mobile-quote-bar {
    position: fixed;
    z-index: 40;
    left: 14px;
    right: 14px;
    bottom: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 50px;
    border-radius: 6px;
    background: var(--gold);
    color: #1e1609;
    font-weight: 900;
    box-shadow: 0 10px 28px rgba(18, 45, 31, 0.22);
  }

  .primary-menu a {
    min-height: 52px;
  }
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  width: 100%;
  min-width: 0;
  overflow-x: hidden;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    linear-gradient(180deg, #edf8f5 0%, #f7fcfa 42%, #eef8f5 100%);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.76;
}

a {
  color: inherit;
  text-decoration: none;
}

img,
svg,
video,
iframe {
  display: block;
  max-width: 100%;
  height: auto;
}

button,
input,
textarea,
select {
  font: inherit;
}

.wrap {
  width: min(100% - 28px, 1120px);
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid var(--line);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 66px;
  gap: 12px;
}

.brand {
  min-width: 0;
  display: flex;
  flex-direction: column;
  line-height: 1.22;
}

.brand strong {
  max-width: min(66vw, 360px);
  overflow-wrap: anywhere;
  font-size: 17px;
  letter-spacing: 0;
}

.brand span {
  margin-top: 4px;
  color: var(--muted);
  font-size: 12px;
}

.menu-toggle {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--white);
  color: var(--ink);
}

.menu-toggle span,
.menu-toggle span::before,
.menu-toggle span::after {
  display: block;
  width: 22px;
  height: 2px;
  background: currentColor;
  content: "";
}

.menu-toggle span::before {
  transform: translateY(-7px);
}

.menu-toggle span::after {
  transform: translateY(5px);
}

.primary-menu,
.primary-menu ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.primary-menu {
  display: none;
  position: absolute;
  left: 14px;
  right: 14px;
  top: 66px;
  max-height: calc(100vh - 82px);
  overflow-y: auto;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.primary-menu.is-open {
  display: block;
}

.primary-menu a {
  display: block;
  min-height: 48px;
  padding: 12px 14px;
  color: var(--ink);
  font-size: 16px;
  font-weight: 700;
}

.primary-menu a:hover {
  color: var(--green);
}

.hero,
.page-hero {
  color: var(--white);
  background:
    linear-gradient(90deg, rgba(18, 52, 33, 0.9), rgba(18, 52, 33, 0.66)),
    url("assets/hero.svg") center / cover no-repeat;
}

.hero {
  min-height: 520px;
  display: flex;
  align-items: center;
}

.hero-inner {
  max-width: 720px;
  padding: 58px 0 70px;
}

.page-hero .wrap {
  padding: 58px 0 64px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  max-width: 100%;
  padding: 4px 12px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.92);
  font-size: 13px;
}

.hero h1,
.page-hero h1 {
  margin: 18px 0 16px;
  font-size: clamp(32px, 11vw, 48px);
  line-height: 1.12;
  letter-spacing: 0;
  overflow-wrap: anywhere;
}

.hero p,
.page-hero p {
  max-width: 620px;
  margin: 0 0 26px;
  color: rgba(255, 255, 255, 0.9);
  font-size: 17px;
  line-height: 1.75;
}

.actions {
  display: grid;
  gap: 12px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  width: 100%;
  padding: 11px 18px;
  border: 1px solid transparent;
  border-radius: 6px;
  font-weight: 800;
  text-align: center;
}

.btn-primary {
  background: var(--gold);
  color: #1e1609;
}

.btn-ghost {
  border-color: rgba(255, 255, 255, 0.45);
  color: var(--white);
}

.section {
  padding: 52px 0;
}

.compact-section {
  padding: 42px 0;
}

.section-alt {
  background: var(--white);
}

.section-head {
  margin-bottom: 24px;
}

.section-head h2,
.content h2 {
  margin: 0;
  font-size: clamp(25px, 8vw, 34px);
  line-height: 1.24;
  letter-spacing: 0;
}

.section-head p {
  max-width: 600px;
  margin: 10px 0 0;
  color: var(--muted);
}

.grid,
.product-strip {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 16px;
}

.service,
.case,
.fact,
.contact-card,
.scene-card,
.product-card,
.product-list-card,
.product-module {
  min-width: 0;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 8px 22px rgba(18, 45, 31, 0.06);
}

.service b,
.case b,
.contact-card b,
.scene-card b {
  display: block;
  margin-bottom: 8px;
  font-size: 18px;
}

.service p,
.case p,
.contact-card p,
.scene-card p {
  margin: 0;
  color: var(--muted);
}

.panel {
  min-width: 0;
  padding: 24px;
  border-radius: 8px;
  background: var(--green-dark);
  color: var(--white);
  box-shadow: var(--shadow);
}

.panel h2 {
  margin-top: 0;
}

.panel p {
  color: rgba(255, 255, 255, 0.86);
}

.panel-btn {
  margin-top: 16px;
}

.check-list {
  display: grid;
  gap: 10px;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}

.check-list li {
  position: relative;
  padding-left: 24px;
}

.check-list li::before {
  position: absolute;
  left: 0;
  color: var(--gold);
  content: "✓";
}

.fact strong {
  display: block;
  color: var(--green);
  font-size: 32px;
  line-height: 1.1;
}

.fact span,
.content p {
  color: var(--muted);
}

.content {
  max-width: 960px;
  margin: 0 auto;
}

.content ul {
  padding-left: 20px;
}

.content li {
  margin: 8px 0;
}

.product-card-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 14px;
}

.product-card {
  display: block;
  padding: 14px;
}

.product-card > span,
.product-list-body span,
.product-module-head span {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 2px 10px;
  border-radius: 999px;
  background: #e9f1eb;
  color: var(--green-dark);
  font-size: 13px;
  font-weight: 800;
}

.product-card b {
  display: block;
  margin: 12px 0 8px;
  font-size: 18px;
  line-height: 1.35;
}

.product-card small {
  display: block;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.65;
}

.product-card em,
.price-line,
.internal-line {
  display: block;
  color: var(--green-dark);
  font-style: normal;
  font-weight: 800;
}

.product-card em {
  margin: 0 0 8px;
  font-size: 15px;
}

.product-list-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 16px;
}

.product-list-card {
  display: grid;
  gap: 16px;
  padding: 14px;
}

.product-list-cover {
  display: block;
}

.product-list-body {
  display: grid;
  gap: 10px;
  align-content: start;
}

.product-list-body h2 {
  margin: 0;
  font-size: 21px;
  line-height: 1.28;
}

.product-list-body h2 a {
  color: var(--ink);
}

.product-list-body p {
  margin: 0;
  color: var(--muted);
  line-height: 1.68;
}

.product-visual {
  position: relative;
  display: grid;
  align-items: end;
  min-height: 190px;
  width: 100%;
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.82), rgba(255, 255, 255, 0.12)),
    linear-gradient(160deg, #dcebdd 0%, #f7f4e9 48%, #d7e7ed 100%);
}

.product-visual::before {
  position: absolute;
  inset: 18px 18px auto auto;
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: rgba(197, 154, 73, 0.22);
  content: "";
}

.visual-water {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 46%;
  background:
    repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.22) 0 2px, transparent 2px 12px),
    linear-gradient(180deg, rgba(116, 155, 159, 0.18), rgba(78, 128, 134, 0.38));
}

.visual-raft {
  position: absolute;
  left: 10%;
  right: 10%;
  bottom: 28%;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 5px;
  transform: perspective(260px) rotateX(12deg);
}

.visual-raft span {
  height: 16px;
  border-radius: 999px;
  background: linear-gradient(90deg, #7c5b30, #d2a35f, #7f5f34);
  box-shadow: 0 8px 12px rgba(49, 67, 55, 0.16);
}

.product-visual figcaption {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 14px;
  color: var(--ink);
  background: linear-gradient(180deg, transparent, rgba(255, 255, 255, 0.88));
}

.product-visual figcaption b {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 2px 10px;
  border-radius: 999px;
  background: rgba(23, 75, 46, 0.1);
  color: var(--green-dark);
  font-size: 13px;
}

.product-visual figcaption small {
  min-width: 0;
  color: var(--ink);
  font-size: 13px;
  font-weight: 800;
  line-height: 1.35;
  text-align: right;
}

.product-card .product-visual figcaption small,
.product-list-cover .product-visual figcaption small {
  display: none;
}

.price-line {
  margin: 0 0 6px;
  font-size: 18px;
}

.internal-line {
  margin: 0 0 10px;
  color: var(--muted);
  font-size: 14px;
}

.anchor-nav {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin-bottom: 22px;
}

.anchor-nav a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--paper);
  color: var(--green-dark);
  font-weight: 800;
}

.choice-guide {
  margin: 0 0 22px;
  padding: 20px;
  border: 1px solid var(--line);
  border-left: 4px solid var(--gold);
  border-radius: 8px;
  background: #fffaf0;
}

.choice-guide h3 {
  margin: 0 0 10px;
  font-size: 20px;
}

.choice-guide p {
  margin: 10px 0 0;
  color: var(--muted);
}

.choice-guide a,
.choice-guide strong {
  color: var(--green-dark);
}

.product-module-list {
  display: grid;
  gap: 20px;
}

.product-module {
  scroll-margin-top: 86px;
  padding: 24px;
}

.product-module-head h2 {
  margin: 12px 0 8px;
  font-size: clamp(24px, 7vw, 34px);
  line-height: 1.22;
}

.product-module-head p,
.product-detail-grid p {
  margin: 0;
  color: var(--muted);
}

.product-detail-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 16px;
  margin: 22px 0;
}

.product-module h3 {
  margin: 18px 0 10px;
  font-size: 18px;
}

.detail-list {
  margin-top: 0;
}

.product-hero {
  padding: 42px 0;
  background:
    linear-gradient(180deg, rgba(244, 248, 240, 0.96), rgba(255, 255, 255, 0.95)),
    var(--paper);
}

.product-hero-grid,
.detail-layout,
.gallery-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 18px;
}

.product-hero-copy {
  display: grid;
  gap: 14px;
  align-content: center;
}

.product-hero-copy h1 {
  margin: 0;
  font-size: clamp(32px, 10vw, 52px);
  line-height: 1.12;
  letter-spacing: 0;
}

.product-hero-copy p,
.detail-panel p {
  margin: 0;
  color: var(--muted);
  line-height: 1.72;
}

.product-hero-media .product-visual {
  min-height: 260px;
}

.back-link {
  color: var(--green-dark);
  font-weight: 800;
}

.detail-panel h2,
.contact-panel h2 {
  margin: 0 0 14px;
  font-size: 24px;
  line-height: 1.28;
}

.detail-panel .product-visual {
  margin-bottom: 14px;
}

.gallery-item {
  min-width: 0;
}

.gallery-item b {
  display: block;
  margin-top: 10px;
  color: var(--green-dark);
}

.compact-product-hero {
  padding: 18px 0 20px;
}

.compact-product-hero .product-hero-copy {
  max-width: 980px;
  gap: 10px;
}

.compact-product-hero .product-hero-copy h1 {
  font-size: clamp(34px, 4vw, 46px);
}

.compact-product-hero .actions {
  margin-top: 4px;
}

.product-figure-section {
  padding-top: 20px !important;
  padding-bottom: 34px;
}

.product-figure-section .section-head {
  margin-bottom: 14px;
}

.product-detail-gallery {
  display: grid;
  gap: 12px;
  max-width: 980px;
}

.product-gallery-main {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(23, 75, 46, 0.14);
  border-radius: 10px;
  background: #eef5ef;
  box-shadow: 0 16px 34px rgba(18, 45, 31, 0.1);
}

.product-gallery-slide {
  display: none;
  position: relative;
  margin: 0;
  min-height: 420px;
  aspect-ratio: 16 / 9;
}

.product-gallery-slide.is-active {
  display: block;
}

.product-gallery-slide img,
.product-gallery-placeholder {
  width: 100%;
  height: 100%;
  min-height: inherit;
  object-fit: cover;
  border: 0;
  border-radius: 0;
}

.product-gallery-placeholder {
  display: grid;
  align-items: end;
}

.product-gallery-slide figcaption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 14px 18px;
  background: linear-gradient(180deg, transparent, rgba(6, 28, 18, 0.72));
  color: #fff;
  font-weight: 800;
}

.product-gallery-slide figcaption b {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 3px 11px;
  border-radius: 999px;
  background: var(--gold);
  color: #1e1609;
  font-size: 13px;
}

.gallery-arrow {
  position: absolute;
  top: 50%;
  z-index: 2;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255, 255, 255, 0.68);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.84);
  color: var(--green-dark);
  font-size: 30px;
  line-height: 1;
  transform: translateY(-50%);
  cursor: pointer;
  box-shadow: 0 10px 22px rgba(18, 45, 31, 0.14);
}

.gallery-arrow-prev {
  left: 14px;
}

.gallery-arrow-next {
  right: 14px;
}

.gallery-arrow:hover {
  background: #fff;
  border-color: var(--gold);
}

.product-gallery-thumbs {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.product-gallery-thumb {
  display: grid;
  grid-template-columns: 86px minmax(0, 1fr);
  align-items: center;
  gap: 10px;
  min-height: 72px;
  padding: 6px;
  border: 1px solid rgba(23, 75, 46, 0.14);
  border-radius: 8px;
  background: #fff;
  color: var(--green-dark);
  font-weight: 800;
  text-align: left;
  cursor: pointer;
}

.product-gallery-thumb img,
.thumb-placeholder {
  width: 86px;
  height: 58px;
  border-radius: 6px;
  object-fit: cover;
  background:
    linear-gradient(160deg, #dcebdd 0%, #f7f4e9 48%, #d7e7ed 100%);
}

.product-gallery-thumb span {
  min-width: 0;
  line-height: 1.35;
}

.product-gallery-thumb.is-active {
  border-color: var(--gold);
  background: #fff7e8;
  box-shadow: 0 8px 18px rgba(197, 154, 73, 0.16);
}

.product-image-note {
  margin-top: 16px;
}

.contact-panel {
  display: grid;
  gap: 14px;
  align-content: start;
}

.spec-table {
  width: 100%;
  border-collapse: collapse;
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
}

.spec-table,
.spec-table tbody,
.spec-table tr,
.spec-table th,
.spec-table td {
  display: block;
}

.spec-table tr {
  border-bottom: 1px solid var(--line);
}

.spec-table tr:last-child {
  border-bottom: 0;
}

.spec-table th,
.spec-table td {
  padding: 12px 14px;
  text-align: left;
}

.spec-table th {
  background: #f1f6f0;
  color: var(--green-dark);
}

.spec-table td {
  color: var(--muted);
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tag-list span {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 5px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--paper);
  color: var(--muted);
  font-size: 14px;
}

.image-note {
  min-height: 96px;
  display: flex;
  align-items: center;
  padding: 16px;
  border: 1px dashed #a8b8ad;
  border-radius: 8px;
  background: linear-gradient(135deg, #f7f9f4, #edf3ec);
  color: var(--muted);
}

.image-note span {
  display: block;
}

.module-btn {
  margin-top: 20px;
}

.placeholder-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 16px;
}

.photo-placeholder {
  min-height: 180px;
  display: grid;
  place-items: center;
  border: 1px dashed #a8b8ad;
  border-radius: 8px;
  background: linear-gradient(135deg, #f6f8f3, #e9f0ea);
  color: var(--muted);
  text-align: center;
  padding: 20px;
}

.photo-placeholder.has-image {
  padding: 0;
  overflow: hidden;
  border-style: solid;
  background: #fff;
}

.photo-placeholder img {
  width: 100%;
  height: 100%;
  min-height: 180px;
  object-fit: cover;
  display: block;
}

.factory-notes {
  margin-top: 18px;
}

.case-video-badge {
  position: absolute;
  right: 10px;
  bottom: 10px;
  z-index: 2;
  padding: 4px 9px;
  border-radius: 999px;
  background: rgba(16, 51, 33, 0.82);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
}

.factory-video-panel,
.case-detail-video {
  margin-top: 22px;
  padding: 18px;
  border: 1px solid #dce8df;
  border-radius: 10px;
  background: #fff;
}

.factory-video-panel h2,
.case-detail-video h2 {
  margin: 0 0 12px;
  color: var(--ink);
  font-size: 24px;
}

.factory-video-panel video,
.case-detail-video video {
  display: block;
  width: 100%;
  max-height: 620px;
  border-radius: 8px;
  background: #0f2b1e;
}

.site-footer {
  padding: 34px 0;
  background: #12291b;
  color: rgba(255, 255, 255, 0.78);
}

.footer-grid {
  display: grid;
  gap: 14px;
}

.footer-grid strong {
  display: block;
  color: var(--white);
  font-size: 18px;
}

@media (min-width: 768px) and (max-width: 1024px) {
  .wrap {
    width: min(100% - 44px, 920px);
  }

  .nav {
    min-height: 72px;
  }

  .brand strong {
    font-size: 20px;
  }

  .primary-menu {
    top: 72px;
    left: 22px;
    right: 22px;
  }

  .hero {
    min-height: 580px;
  }

  .hero-inner {
    padding: 76px 0 88px;
  }

  .page-hero .wrap {
    padding: 74px 0 80px;
  }

  .actions {
    display: flex;
    flex-wrap: wrap;
  }

  .btn {
    width: auto;
    min-width: 168px;
  }

  .section {
    padding: 66px 0;
  }

  .compact-section {
    padding: 52px 0;
  }

  .grid-3,
  .grid-4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .product-card-grid,
  .product-list-grid,
  .placeholder-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .anchor-nav {
    grid-template-columns: repeat(6, minmax(0, 1fr));
  }

  .product-detail-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .product-hero-grid,
  .detail-layout,
  .gallery-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .gallery-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .spec-table {
    display: table;
  }

  .spec-table tbody {
    display: table-row-group;
  }

  .spec-table tr {
    display: table-row;
  }

  .spec-table th,
  .spec-table td {
    display: table-cell;
    vertical-align: top;
  }

  .spec-table th {
    width: 32%;
  }

  .product-strip {
    grid-template-columns: minmax(0, 1fr);
    gap: 24px;
  }

  .footer-grid {
    grid-template-columns: 1fr auto;
    align-items: center;
  }
}

@media (min-width: 1025px) {
  body {
    font-size: 16px;
  }

  .wrap {
    width: min(100% - 64px, 1120px);
  }

  .site-header {
    backdrop-filter: blur(10px);
  }

  .nav {
    min-height: 76px;
    gap: 24px;
  }

  .brand strong {
    max-width: none;
    font-size: 21px;
  }

  .brand span {
    font-size: 13px;
  }

  .menu-toggle {
    display: none;
  }

  .primary-menu,
  .primary-menu.is-open {
    position: static;
    display: flex;
    align-items: center;
    gap: 24px;
    max-height: none;
    overflow: visible;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
  }

  .primary-menu a {
    min-height: auto;
    padding: 8px 0;
    font-size: 15px;
  }

  .mobile-quick-nav {
    display: none;
  }

  .hero {
    min-height: 620px;
    background:
      linear-gradient(90deg, rgba(18, 52, 33, 0.88), rgba(18, 52, 33, 0.56), rgba(18, 52, 33, 0.22)),
      url("assets/hero.svg") center / cover no-repeat;
  }

  .hero-inner {
    padding: 88px 0 104px;
  }

  .page-hero .wrap {
    padding: 84px 0 90px;
  }

  .hero h1,
  .page-hero h1 {
    font-size: 68px;
  }

  .hero p,
  .page-hero p {
    font-size: 18px;
  }

  .actions {
    display: flex;
    flex-wrap: wrap;
  }

  .btn {
    width: auto;
    min-width: 154px;
  }

  .section {
    padding: 78px 0;
  }

  .compact-section {
    padding: 56px 0;
  }

  .section-head {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 28px;
    margin-bottom: 32px;
  }

  .section-head p {
    margin-top: 0;
  }

  .grid {
    gap: 18px;
  }

  .grid-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .grid-4 {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .product-card-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .product-list-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .anchor-nav {
    grid-template-columns: repeat(12, minmax(0, 1fr));
  }

  .product-detail-grid {
    grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
  }

  .product-hero-grid {
    grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
    align-items: center;
  }

  .detail-layout {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .gallery-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .product-hero-media .product-visual {
    min-height: 360px;
  }

  .placeholder-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .spec-table {
    display: table;
  }

  .spec-table tbody {
    display: table-row-group;
  }

  .spec-table tr {
    display: table-row;
  }

  .spec-table th,
  .spec-table td {
    display: table-cell;
    vertical-align: top;
  }

  .spec-table th {
    width: 28%;
  }

  .product-strip {
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
    gap: 28px;
    align-items: center;
  }

  .panel {
    padding: 34px;
  }

  .footer-grid {
    grid-template-columns: 1fr auto;
    align-items: center;
  }
}


/* Mobile overflow fixes for long product titles and detail controls */
.hero h1,
.page-hero h1,
.product-hero-copy h1,
.product-hero-copy p,
.section-head p,
.product-list-body p,
.product-card small,
.detail-panel p,
.gallery-item p,
.spec-table th,
.spec-table td,
.product-visual figcaption small {
  max-width: 100%;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.product-hero-copy,
.product-hero-media,
.detail-panel,
.product-list-body,
.product-visual figcaption {
  min-width: 0;
}

.product-hero .btn-ghost {
  border-color: var(--line);
  color: var(--green-dark);
  background: rgba(255, 255, 255, 0.72);
}

@media (max-width: 767px) {
  .hero h1,
  .page-hero h1 {
    font-size: clamp(30px, 9vw, 42px);
  }

  .product-hero-copy h1 {
    font-size: clamp(30px, 8.5vw, 40px);
  }

  .product-hero-copy p,
  .section-head p {
    font-size: 15px;
  }

  .product-visual figcaption {
    align-items: flex-start;
  }

  .product-visual figcaption small {
    flex: 1 1 auto;
  }
}


/* Tight mobile detail title and caption fix */
@media (max-width: 767px) {
  .product-hero-copy h1 {
    width: 100%;
    max-width: calc(100vw - 28px);
    font-size: clamp(27px, 7.4vw, 34px);
    line-height: 1.18;
    overflow-wrap: anywhere;
    word-break: break-all;
  }

  .product-hero-copy p,
  .internal-line {
    max-width: calc(100vw - 28px);
    overflow-wrap: anywhere;
    word-break: break-word;
  }

  .product-hero-media .product-visual figcaption,
  .detail-panel .product-visual figcaption,
  .gallery-item .product-visual figcaption {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    justify-items: start;
    gap: 6px;
  }

  .product-hero-media .product-visual figcaption small,
  .detail-panel .product-visual figcaption small,
  .gallery-item .product-visual figcaption small {
    text-align: left;
  }
}


/* Mobile mixed Chinese/Latin subtitle overflow fix */
@media (max-width: 767px) {
  .product-hero-copy p,
  .section-head p,
  .product-list-body p,
  .product-card small {
    word-break: break-all;
  }
}


/* Force mobile hero copy to stay inside viewport */
@media (max-width: 767px) {
  .product-hero,
  .product-hero .wrap,
  .product-hero-grid,
  .product-hero-copy {
    max-width: 100%;
    overflow-x: hidden;
  }

  .product-hero-copy p,
  .product-hero-copy .internal-line {
    display: block;
    width: 100% !important;
    max-width: calc(100vw - 44px) !important;
    white-space: normal !important;
    overflow-wrap: anywhere !important;
    word-break: break-all !important;
  }
}


/* Conservative mobile copy width */
@media (max-width: 767px) {
  .product-hero-copy p {
    max-width: min(100%, 320px) !important;
  }
}


/* Conservative mobile page hero copy width */
@media (max-width: 767px) {
  .hero p,
  .page-hero p,
  .section-head p {
    max-width: min(100%, 320px) !important;
    white-space: normal !important;
    overflow-wrap: anywhere !important;
    word-break: break-all !important;
  }
}


/* D series option module */
.option-section-head {
  margin-top: 34px;
}

.option-card {
  display: grid;
  align-content: start;
  gap: 12px;
}

.option-card > span {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  min-height: 28px;
  padding: 2px 10px;
  border-radius: 999px;
  background: #e9f1eb;
  color: var(--green-dark);
  font-size: 13px;
  font-weight: 800;
}

.option-card b {
  margin-bottom: 0;
}

.option-card p strong {
  color: var(--green-dark);
}

.option-tags {
  margin: 2px 0;
}

.option-card .btn {
  margin-top: 4px;
}


/* Unified detail page mobile text wrapping */
.overview-panel,
.overview-panel p,
.overview-panel li,
.detail-panel,
.detail-panel li,
.detail-panel .tag-list span {
  max-width: 100%;
  overflow-wrap: anywhere;
  word-break: break-word;
}

@media (max-width: 767px) {
  .overview-panel,
  .detail-panel {
    overflow: hidden;
  }

  .overview-panel p,
  .overview-panel li,
  .detail-panel li,
  .detail-panel .tag-list span {
    word-break: break-all;
  }
}


/* Unified product detail mobile containment */
@media (max-width: 767px) {
  .compact-product-hero .wrap,
  .product-figure-section .wrap,
  .section .wrap {
    max-width: calc(100vw - 28px);
  }

  .compact-hero-copy,
  .compact-gallery-grid,
  .overview-panel,
  #product-config .detail-panel,
  .section-alt .detail-panel {
    width: 100%;
    max-width: 100%;
    min-width: 0;
  }

  .overview-panel,
  .detail-panel {
    padding: 20px;
  }

  .overview-panel p,
  .contact-panel p {
    line-height: 1.72;
  }

  .tag-list {
    max-width: 100%;
    min-width: 0;
  }

  .tag-list span {
    max-width: 100%;
    white-space: normal;
    overflow-wrap: anywhere;
    word-break: break-word;
  }

  .compact-gallery-grid .product-visual {
    min-height: 176px;
  }

  .compact-product-hero {
    padding: 16px 0 18px;
  }

  .product-figure-section {
    padding-top: 16px !important;
    padding-bottom: 26px;
  }

  .product-detail-gallery {
    gap: 10px;
  }

  .product-gallery-slide {
    min-height: 230px;
    aspect-ratio: 4 / 3;
  }

  .product-gallery-slide figcaption {
    padding: 11px 12px;
    font-size: 13px;
  }

  .gallery-arrow {
    width: 36px;
    height: 36px;
    font-size: 26px;
  }

  .gallery-arrow-prev {
    left: 8px;
  }

  .gallery-arrow-next {
    right: 8px;
  }

  .product-gallery-thumbs {
    gap: 8px;
  }

  .product-gallery-thumb {
    grid-template-columns: minmax(0, 1fr);
    gap: 5px;
    min-height: 0;
    padding: 5px;
    font-size: 12px;
    text-align: center;
  }

  .product-gallery-thumb img,
  .thumb-placeholder {
    width: 100%;
    height: auto;
    aspect-ratio: 4 / 3;
  }
}


/* Stable mobile gutters */
@media (max-width: 767px) {
  .wrap {
    width: auto !important;
    max-width: none !important;
    margin-left: 14px !important;
    margin-right: 14px !important;
  }

  .detail-layout,
  .gallery-grid,
  .product-hero-copy,
  .overview-panel,
  .detail-panel,
  .product-visual {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
  }
}

/* Final mobile containment for unified product details */
@media (max-width: 767px) {
  .product-figure-section .wrap,
  .product-hero .wrap,
  main > .section > .wrap,
  main > .section > .wrap.detail-layout {
    width: auto !important;
    max-width: none !important;
    margin-left: 14px !important;
    margin-right: 14px !important;
    overflow-x: hidden !important;
  }

  .overview-panel,
  #product-config .detail-panel,
  main > .section.section-alt .detail-panel {
    width: calc(100vw - 56px) !important;
    max-width: calc(100vw - 56px) !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    padding: 20px !important;
    overflow: hidden !important;
  }

  .overview-panel p,
  .overview-panel li,
  .detail-panel p,
  .detail-panel li,
  .check-list li,
  .tag-list span {
    max-width: 100% !important;
    white-space: normal !important;
    overflow-wrap: anywhere !important;
    word-break: break-word !important;
  }

  .tag-list {
    max-width: 100% !important;
    overflow: hidden !important;
  }
}

/* Hard mobile cap for product detail cards */
@media (max-width: 767px) {
  .overview-panel,
  #product-config .detail-panel,
  main > .section.section-alt .detail-panel {
    box-sizing: border-box !important;
    width: 320px !important;
    max-width: 100% !important;
  }

  .overview-panel p,
  .overview-panel li,
  .detail-panel p,
  .detail-panel li,
  .check-list li,
  .tag-list span {
    word-break: break-all !important;
    overflow-wrap: anywhere !important;
  }

  .tag-list {
    display: flex !important;
    flex-wrap: wrap !important;
    overflow: visible !important;
  }

  .tag-list span {
    flex: 0 1 auto !important;
    min-width: 0 !important;
  }
}

/* Tablet and mobile hard cap for product detail cards */
@media (max-width: 1024px) {
  .overview-panel,
  #product-config .detail-panel,
  main > .section.section-alt .detail-panel {
    box-sizing: border-box !important;
    width: 320px !important;
    max-width: 100% !important;
  }

  .overview-panel p,
  .overview-panel li,
  .detail-panel p,
  .detail-panel li,
  .check-list li,
  .tag-list span {
    white-space: normal !important;
    word-break: break-all !important;
    overflow-wrap: anywhere !important;
  }

  .tag-list {
    display: flex !important;
    flex-wrap: wrap !important;
    overflow: visible !important;
  }
}

/* Final lightweight UI overrides */
.btn { min-height: 48px; border-radius: 6px; }
.btn-primary { background: var(--gold); color: #1e1609; }
.btn-secondary, .back-link { border: 1px solid rgba(23, 75, 46, 0.28); background: var(--white); color: var(--green-dark); }
.back-link { display: inline-flex; align-items: center; justify-content: center; width: fit-content; min-height: 40px; padding: 6px 12px; border-radius: 6px; }
.product-list-body p, .product-card small { display: -webkit-box; overflow: hidden; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.product-list-body .btn { margin-top: auto; }
.product-visual img { width: 100%; height: 100%; min-height: inherit; object-fit: cover; }
.case-entry img, .option-card > img { width: 100%; aspect-ratio: 4 / 3; border-radius: 6px; object-fit: cover; }
.contact-qr { width: 150px; max-width: 100%; border: 1px solid var(--line); border-radius: 6px; }
.detail-panel { border: 1px solid var(--line) !important; background: var(--white) !important; color: var(--ink) !important; box-shadow: 0 8px 22px rgba(18, 45, 31, 0.06) !important; }
.detail-panel h2 { color: var(--green-dark); }
.detail-panel p { color: var(--muted); }
.detail-panel .tag-list span { background: #f7faf5; color: var(--green-dark); }
.detail-panel.contact-panel { border-color: transparent !important; background: var(--green-dark) !important; color: var(--white) !important; }
.detail-panel.contact-panel h2, .detail-panel.contact-panel p { color: var(--white); }
.primary-menu .current-menu-item > a, .primary-menu .current_page_item > a { color: var(--green); }
.mobile-quote-bar { display: none; }
@media (max-width: 767px) {
  body { padding-bottom: 70px; }
  .btn, .actions .btn { width: 100%; min-height: 48px; }
  .mobile-quote-bar { position: fixed; z-index: 40; left: 14px; right: 14px; bottom: 12px; display: flex; align-items: center; justify-content: center; min-height: 50px; border-radius: 6px; background: var(--gold); color: #1e1609; font-weight: 900; box-shadow: 0 10px 28px rgba(18, 45, 31, 0.22); }
  .primary-menu a { min-height: 52px; }
}


/* Highlight product detail back button */
.product-hero .back-link {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  gap: 6px;
  width: fit-content !important;
  min-height: 42px;
  padding: 7px 16px;
  border: 1px solid rgba(197, 140, 61, 0.55) !important;
  border-radius: 999px !important;
  background: #fff7e8 !important;
  color: var(--green-dark) !important;
  font-weight: 900;
  box-shadow: 0 8px 18px rgba(197, 140, 61, 0.16);
}

.product-hero .back-link::before {
  content: "←";
  font-size: 16px;
  line-height: 1;
}

.product-hero .back-link:hover {
  border-color: var(--gold) !important;
  background: #f8e6c8 !important;
}

@media (max-width: 767px) {
  .product-hero .back-link {
    min-height: 44px;
    padding-inline: 15px;
  }
}

/* Blue variant for product detail back button */
.product-hero .back-link {
  border-color: #9ec5e8 !important;
  background: #eaf6ff !important;
  color: #15527a !important;
  box-shadow: 0 8px 18px rgba(74, 144, 196, 0.16) !important;
}

.product-hero .back-link:hover {
  border-color: #62a6d8 !important;
  background: #d8efff !important;
  color: #0f4568 !important;
}

/* Clearer product cards and single product title display */
.product-card,
.product-list-card {
  border: 1px solid rgba(23, 75, 46, 0.18) !important;
  border-top: 4px solid rgba(197, 140, 61, 0.72) !important;
  background: #ffffff !important;
  box-shadow: 0 14px 30px rgba(18, 45, 31, 0.12) !important;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.product-card:hover,
.product-list-card:hover {
  transform: translateY(-2px);
  border-color: rgba(23, 75, 46, 0.28) !important;
  box-shadow: 0 18px 36px rgba(18, 45, 31, 0.16) !important;
}

.product-card .product-visual figcaption,
.product-list-cover .product-visual figcaption {
  display: none !important;
}

.product-card > span,
.product-list-body > span {
  display: none !important;
}

.product-card b,
.product-list-body h2 {
  margin-top: 0 !important;
}

.product-list-card {
  gap: 18px;
}

@media (max-width: 767px) {
  .product-card,
  .product-list-card {
    border-top-width: 5px !important;
    box-shadow: 0 12px 26px rgba(18, 45, 31, 0.13) !important;
  }
}

/* Teal raised product cards */
.product-card,
.product-list-card {
  border: 1px solid #b8ddd6 !important;
  border-top: 0 !important;
  background: linear-gradient(180deg, #f1fbf8 0%, #ffffff 72%) !important;
  box-shadow: 0 18px 42px rgba(24, 91, 84, 0.18), 0 2px 0 rgba(255,255,255,0.9) inset !important;
}

.product-card::before,
.product-list-card::before {
  display: block;
  height: 5px;
  margin: -14px -14px 12px;
  border-radius: 8px 8px 0 0;
  background: linear-gradient(90deg, #58b8ad, #b9e7df);
  content: "";
}

.product-list-card::before {
  margin: -14px -14px 0;
}

.product-card:hover,
.product-list-card:hover {
  transform: translateY(-3px);
  border-color: #83c9bf !important;
  box-shadow: 0 24px 54px rgba(24, 91, 84, 0.24), 0 2px 0 rgba(255,255,255,0.92) inset !important;
}

.product-card .product-visual,
.product-list-cover .product-visual {
  border-color: #c8e6e0 !important;
  background:
    linear-gradient(135deg, rgba(255,255,255,0.86), rgba(255,255,255,0.18)),
    linear-gradient(160deg, #dcefeb 0%, #f8fbf5 48%, #d9eef0 100%) !important;
}

@media (max-width: 767px) {
  .product-card,
  .product-list-card {
    box-shadow: 0 16px 36px rgba(24, 91, 84, 0.2) !important;
  }
}

/* Stronger product detail CTA button */
.product-list-body .btn-secondary,
.product-card .btn-secondary {
  position: relative;
  min-height: 48px;
  border: 1px solid #4fa99c !important;
  background: #e7f7f4 !important;
  color: #13584f !important;
  font-weight: 900;
  box-shadow: 0 8px 18px rgba(24, 91, 84, 0.16) !important;
}

.product-list-body .btn-secondary::after,
.product-card .btn-secondary::after {
  content: "→";
  margin-left: 8px;
  font-size: 16px;
  line-height: 1;
}

.product-list-body .btn-secondary:hover,
.product-card .btn-secondary:hover {
  background: #d4f0ea !important;
  border-color: #238d80 !important;
  box-shadow: 0 12px 24px rgba(24, 91, 84, 0.22) !important;
  transform: translateY(-1px);
}

.product-list-body .btn-secondary:active,
.product-card .btn-secondary:active {
  transform: translateY(1px);
  box-shadow: 0 5px 12px rgba(24, 91, 84, 0.16) !important;
}

/* News center */
.news-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 24px;
}

.news-filter a {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 6px 14px;
  border: 1px solid #b8ddd6;
  border-radius: 999px;
  background: #ffffff;
  color: var(--green-dark);
  font-weight: 800;
}

.news-filter a.is-active,
.news-filter a:hover {
  background: #e7f7f4;
  border-color: #58b8ad;
}

.news-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 18px;
}

.news-card {
  min-width: 0;
  overflow: hidden;
  border: 1px solid #dbe4dd;
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 12px 28px rgba(18, 45, 31, 0.1);
}

.news-thumb {
  display: grid;
  place-items: center;
  min-height: 178px;
  aspect-ratio: 16 / 10;
  background: linear-gradient(135deg, #e1f1ed, #faf8ef);
  color: var(--green-dark);
  font-size: 28px;
  font-weight: 900;
}

.news-thumb img,
.article-cover img,
.article-content img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
}

.news-thumb img {
  height: 100%;
  object-fit: cover;
}

.news-card-body {
  display: grid;
  gap: 10px;
  padding: 18px;
}

.news-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 12px;
  color: var(--muted);
  font-size: 13px;
}

.news-card h2,
.article-header h1 {
  margin: 0;
  line-height: 1.25;
  letter-spacing: 0;
}

.news-card h2 {
  font-size: 21px;
}

.news-card p {
  margin: 0;
  color: var(--muted);
}

.news-quote {
  margin-top: 28px;
}

.article-wrap {
  max-width: 860px;
}

.article-header {
  display: grid;
  gap: 12px;
  margin: 24px 0;
}

.article-header h1 {
  font-size: clamp(30px, 8vw, 48px);
}

.article-cover {
  overflow: hidden;
  margin-bottom: 24px;
  border-radius: 8px;
}

.article-content {
  color: var(--ink);
  font-size: 17px;
  line-height: 1.9;
}

.article-content p,
.article-content ul,
.article-content ol {
  margin: 0 0 18px;
}

.article-content h2,
.article-content h3 {
  margin: 28px 0 12px;
  color: var(--green-dark);
  line-height: 1.3;
}

@media (min-width: 768px) {
  .news-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1025px) {
  .news-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

/* Cleaner news cards and smaller homepage accessory block */
.news-card {
  display: flex;
  flex-direction: column;
}

.news-thumb {
  position: relative;
  display: block;
  width: 100%;
  min-height: 0;
  height: 210px;
  overflow: hidden;
}

.news-thumb img {
  width: 100%;
  height: 100% !important;
  object-fit: cover;
}

.news-thumb-placeholder {
  display: block;
  width: 100%;
  height: 100%;
  background:
    linear-gradient(135deg, rgba(233, 246, 243, 0.92), rgba(250, 248, 239, 0.94)),
    radial-gradient(circle at 24% 28%, rgba(207, 169, 83, 0.18), transparent 34%);
}

.news-card-body {
  flex: 1;
  align-content: start;
}

.news-card h2 {
  font-size: 20px;
}

.news-card h2 a {
  color: var(--green-dark);
}

.news-card p {
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.news-card .btn {
  justify-self: start;
  margin-top: auto;
}

.home-news-section .section-head {
  margin-bottom: 20px;
}

.section-more {
  margin-top: 20px;
  text-align: center;
}

.accessory-mini-head {
  margin-top: 34px;
  margin-bottom: 14px;
}

.accessory-mini-grid {
  gap: 14px;
}

.accessory-mini-card {
  padding: 12px !important;
  border-color: #dceeea !important;
  background: #fbfefd !important;
  box-shadow: 0 8px 18px rgba(18, 45, 31, 0.07) !important;
}

.accessory-mini-thumb {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: 6px;
  background: linear-gradient(135deg, #eef8f5, #fbf7ea);
}

.accessory-mini-thumb img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.accessory-mini-card b {
  font-size: 15px;
  line-height: 1.35;
}

.accessory-mini-card p {
  display: -webkit-box;
  margin: 0;
  overflow: hidden;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.65;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

@media (max-width: 767px) {
  .news-thumb {
    height: 190px;
  }

  .section-more .btn {
    width: 100%;
  }
}

/* Homepage hero advantage cards */
.hero {
  position: relative;
  overflow: hidden;
  background-position: center bottom !important;
}

.hero-inner {
  position: relative;
  z-index: 2;
  max-width: 720px;
}

.hero-facts {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 9px;
  width: 100%;
  max-width: 720px;
  margin-top: 22px;
}

.hero-facts .fact {
  display: flex;
  min-height: 94px;
  flex-direction: column;
  justify-content: center;
  padding: 12px 14px;
  border: 1px solid rgba(255, 255, 255, 0.58);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 8px 18px rgba(8, 32, 22, 0.1);
  backdrop-filter: blur(3px);
}

.hero-facts .fact strong {
  color: var(--green-dark);
  font-size: 18px;
  line-height: 1.25;
}

.hero-facts .fact span {
  display: -webkit-box;
  margin-top: 5px;
  overflow: hidden;
  color: #3f5f53;
  font-size: 13px;
  line-height: 1.55;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

@media (min-width: 560px) {
  .hero-facts {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }
}

@media (min-width: 768px) {
  .hero {
    align-items: center;
  }

  .hero-inner {
    max-width: 720px;
    padding-bottom: 64px;
  }
}

@media (min-width: 1025px) {
  .hero-inner {
    max-width: 720px;
    padding: 74px 0 74px;
  }

  .hero-facts {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
    margin-top: 26px;
  }

  .hero-facts .fact {
    min-height: 104px;
  }
}

@media (max-width: 767px) {
  .hero {
    min-height: auto;
  }

  .hero-inner {
    padding: 42px 0 28px;
  }

  .hero-facts {
    margin-top: 18px;
  }

  .hero-facts .fact {
    min-height: 86px;
    padding: 10px 12px;
  }

  .hero-facts .fact strong {
    font-size: 16px;
  }

  .hero-facts .fact span {
    font-size: 12px;
  }
}

/* Homepage scene guide */
.scene-guide {
  margin-top: 34px;
  margin-bottom: 42px;
  padding-top: 28px;
  padding-bottom: 6px;
  border-top: 1px solid #d8ece7;
}

.scene-guide-head {
  display: block;
  margin-bottom: 16px;
}

.scene-guide-head p {
  margin-top: 8px;
}

.scene-guide-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 14px;
}

.scene-guide-card {
  min-width: 0;
  padding: 15px 16px;
  border: 1px solid #d9e8e3;
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 8px 18px rgba(18, 45, 31, 0.06);
}

.scene-guide-card b {
  display: block;
  margin-bottom: 5px;
  color: var(--green-dark);
  font-size: 18px;
  line-height: 1.3;
}

.scene-guide-card p {
  display: -webkit-box;
  min-height: 40px;
  margin: 0 0 10px;
  overflow: hidden;
  color: var(--muted);
  line-height: 1.65;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.scene-tags {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
}

.scene-tags em {
  color: #6a7b73;
  font-size: 12px;
  font-style: normal;
  font-weight: 700;
}

.scene-tags span {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 2px 8px;
  border: 1px solid #b9ded7;
  border-radius: 999px;
  background: #edf8f5;
  color: var(--green-dark);
  font-size: 12px;
  font-weight: 800;
}

@media (min-width: 768px) {
  .scene-guide-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1025px) {
  .scene-guide {
    margin-top: 44px;
    margin-bottom: 54px;
    padding-top: 34px;
  }

  .scene-guide-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
  }
}

/* Mobile product browsing polish */
@media (max-width: 767px) {
  main {
    display: flex;
    flex-direction: column;
  }

  .home-products-section {
    order: -1;
    padding-top: 14px !important;
    padding-bottom: 24px !important;
    background: #f4fbf9;
  }

  .home-products-head {
    display: none !important;
  }

  .home-products-section .wrap {
    padding-top: 0;
  }

  .home-products-section .product-card-grid {
    margin-top: 0;
  }

  .home-products-section .product-card {
    min-height: 0;
  }

  .home-products-section .product-card .product-visual {
    min-height: 180px;
  }

  .home-products-section .product-card small {
    -webkit-line-clamp: 2;
  }

  .home-products-section + .hero {
    order: 0;
  }

  .site-header {
    background: rgba(255, 255, 255, 0.98);
  }

  .nav {
    min-height: 64px;
  }

  .mobile-quick-nav {
    display: block;
    border-top: 1px solid rgba(219, 228, 221, 0.72);
    background: rgba(250, 252, 248, 0.98);
  }

  .mobile-quick-nav-inner {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding-top: 8px;
    padding-bottom: 9px;
    -webkit-overflow-scrolling: touch;
  }

  .mobile-quick-nav-inner::-webkit-scrollbar {
    display: none;
  }

  .mobile-quick-nav a {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 34px;
    padding: 5px 12px;
    border: 1px solid #cfe6e1;
    border-radius: 999px;
    background: #f3fbf8;
    color: #13584f;
    font-size: 13px;
    font-weight: 800;
    white-space: nowrap;
  }

  body {
    padding-bottom: 78px !important;
  }

  .hero {
    min-height: auto !important;
    background:
      linear-gradient(180deg, rgba(16, 62, 45, 0.96), rgba(14, 72, 55, 0.82)),
      url("assets/hero.svg") center bottom / cover no-repeat !important;
  }

  .hero-inner {
    padding: 28px 0 24px !important;
  }

  .hero .eyebrow {
    min-height: 30px;
    padding: 4px 11px;
    font-size: 12px;
  }

  .hero h1 {
    max-width: 9em;
    margin: 14px 0 10px !important;
    font-size: clamp(34px, 10vw, 42px) !important;
    line-height: 1.16 !important;
    word-break: keep-all !important;
    overflow-wrap: normal !important;
  }

  .hero p {
    display: none !important;
  }

  .hero .hero-mobile-subtitle {
    display: -webkit-box;
    max-width: 100% !important;
    margin-bottom: 18px !important;
    overflow: hidden;
    color: rgba(255, 255, 255, 0.92) !important;
    font-size: 16px !important;
    line-height: 1.68 !important;
    word-break: keep-all !important;
    overflow-wrap: break-word !important;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
  }

  .hero .actions {
    gap: 10px;
  }

  .hero-facts {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 9px !important;
    margin-top: 16px !important;
  }

  .hero-facts .fact {
    min-height: 74px !important;
    padding: 9px 10px !important;
    border-radius: 8px;
  }

  .hero-facts .fact strong {
    font-size: 15px !important;
  }

  .hero-facts .fact span {
    font-size: 11px !important;
    line-height: 1.45 !important;
    word-break: keep-all !important;
    overflow-wrap: break-word !important;
  }

  .section:has(.product-card-grid) {
    padding-top: 34px;
  }

  .product-card-grid,
  .product-list-grid,
  .option-card-grid {
    display: flex !important;
    grid-template-columns: none !important;
    gap: 12px !important;
    margin-right: -28px;
    margin-left: -14px;
    padding: 0 28px 14px 14px;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    scroll-padding-left: 14px;
    -webkit-overflow-scrolling: touch;
  }

  .product-card-grid::-webkit-scrollbar,
  .product-list-grid::-webkit-scrollbar,
  .option-card-grid::-webkit-scrollbar {
    display: none;
  }

  .product-card,
  .product-list-card,
  .option-card {
    flex: 0 0 calc(100vw - 64px);
    max-width: calc(100vw - 64px);
    min-height: 0;
    scroll-snap-align: start;
  }

  .accessory-mini-card {
    flex-basis: calc(100vw - 88px);
    max-width: calc(100vw - 88px);
  }

  .option-card-grid + .mobile-carousel-hint {
    margin-top: 8px;
    margin-bottom: 20px;
  }

  .product-card {
    padding: 13px !important;
  }

  .product-card .product-visual,
  .product-list-cover .product-visual {
    min-height: 158px !important;
  }

  .product-card b,
  .product-list-body h2 {
    font-size: 19px !important;
    line-height: 1.28 !important;
  }

  .product-card small,
  .product-list-body p {
    font-size: 14px !important;
    line-height: 1.58 !important;
    word-break: normal !important;
    overflow-wrap: break-word !important;
  }

  .page-hero-products .wrap {
    padding: 28px 0 30px !important;
  }

  .page-hero-products .eyebrow {
    display: none;
  }

  .page-hero-products h1 {
    margin: 0 !important;
    font-size: 30px !important;
    line-height: 1.2 !important;
  }

  .page-hero-products p {
    display: none;
  }

  .page-hero-products + .section {
    padding-top: 24px;
  }

  .page-hero-products + .section .section-head {
    margin-bottom: 14px;
  }

  .page-hero-products + .section .section-head h2 {
    font-size: 22px;
  }

  .product-list-card {
    align-content: start;
    grid-template-rows: auto 1fr;
    padding: 13px !important;
  }

  .product-list-body {
    gap: 9px;
  }

  .product-list-body .btn {
    min-height: 46px;
  }

  .mobile-carousel-hint {
    display: flex;
    justify-content: center;
    gap: 6px;
    margin: -2px 0 16px;
  }

  .mobile-carousel-hint span {
    width: 6px;
    height: 6px;
    border-radius: 999px;
    background: #b8ddd6;
  }

  .mobile-carousel-hint span:first-child {
    width: 18px;
    background: #58b8ad;
  }

  .mobile-quote-bar {
    left: 12px !important;
    right: 12px !important;
    bottom: 10px !important;
    display: grid !important;
    grid-template-columns: 1.28fr 0.72fr;
    gap: 9px;
    min-height: 0 !important;
    padding: 8px !important;
    border: 1px solid rgba(184, 221, 214, 0.86);
    border-radius: 18px !important;
    background: rgba(255, 255, 255, 0.94) !important;
    box-shadow: 0 8px 24px rgba(16, 52, 39, 0.18) !important;
    backdrop-filter: blur(8px);
  }

  .mobile-quote-bar a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    border-radius: 999px;
    font-weight: 900;
  }

  .mobile-quote-phone {
    border: 1px solid #b8ddd6;
    background: #c58c3d;
    color: #1e1609;
    box-shadow: 0 6px 14px rgba(197, 140, 61, 0.22);
  }

  .mobile-quote-phone::before {
    content: "☎";
    margin-right: 6px;
    font-size: 15px;
  }

  .mobile-quote-main {
    border: 1px solid #b8ddd6;
    background: #effaf7;
    color: #13584f;
    box-shadow: none;
    font-size: 14px;
  }
}

.hero-mobile-subtitle,
.mobile-carousel-hint {
  display: none;
}

/* Lighter mobile scene and case browsing */
.product-card b,
.product-list-body h2 {
  text-align: center;
}

.product-card small,
.product-list-body p {
  text-align: left !important;
  direction: ltr;
}

.case-card-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 16px;
}

.case-card {
  display: grid;
  grid-template-rows: auto auto 1fr;
  gap: 12px;
  min-width: 0;
  padding: 14px;
  border: 1px solid #d9e8e3;
  border-radius: 10px;
  background: #ffffff;
  color: var(--ink);
  text-decoration: none;
  box-shadow: 0 10px 22px rgba(18, 45, 31, 0.08);
}

.case-card b {
  display: block;
  color: var(--green-dark);
  font-size: 18px;
  line-height: 1.3;
  text-align: center;
}

.case-media {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 188px;
  overflow: hidden;
  border-radius: 8px;
  background: linear-gradient(135deg, #e1f1ed, #faf8ef);
}

.case-media img,
.case-media video,
.case-detail-media img,
.case-detail-media video {
  display: block;
  width: 100%;
  height: auto;
  max-width: 100%;
}

.case-media img,
.case-media video {
  height: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.case-placeholder {
  color: var(--green-dark);
  font-weight: 900;
}

.case-card small {
  display: -webkit-box;
  overflow: hidden;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.55;
  text-align: left;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.case-card-placeholder {
  pointer-events: none;
}

.case-card-placeholder .case-media {
  border: 1px dashed #bad7cf;
}

.case-detail-media {
  overflow: hidden;
  border-radius: 10px;
  background: #eef5f1;
}

@media (min-width: 768px) {
  .case-card-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1025px) {
  .case-card-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
  }

  .case-card {
    padding: 18px;
    border-radius: 14px;
    box-shadow: 0 18px 42px rgba(18, 45, 31, 0.11);
  }

  .case-card b {
    font-size: 21px;
  }

  .case-media {
    min-height: 246px;
    border-radius: 12px;
  }
}

@media (max-width: 767px) {
  .hero .hero-mobile-subtitle {
    display: -webkit-box;
  }

  .mobile-carousel-hint {
    display: flex;
  }

  .scene-guide {
    margin-top: 20px !important;
    margin-bottom: 28px !important;
    padding-top: 20px !important;
  }

  .scene-guide-head {
    margin-bottom: 12px !important;
    text-align: center;
  }

  .scene-guide-head h2 {
    width: 100%;
    text-align: center;
  }

  .scene-guide-head p,
  .scene-guide-card p {
    display: none !important;
  }

  .scene-guide-grid,
  .case-card-grid {
    display: flex !important;
    gap: 12px !important;
    margin-right: -28px;
    margin-left: -14px;
    padding: 0 28px 14px 14px;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
  }

  .scene-guide-grid::-webkit-scrollbar,
  .case-card-grid::-webkit-scrollbar {
    display: none;
  }

  .scene-guide-card,
  .case-card {
    flex: 0 0 calc(100vw - 64px);
    max-width: calc(100vw - 64px);
    scroll-snap-align: start;
  }

  .scene-guide-card {
    display: grid;
    align-content: center;
    min-height: 132px;
    padding: 16px 14px !important;
    text-align: center;
  }

  .scene-guide-card b {
    margin-bottom: 12px !important;
    text-align: center;
  }

  .scene-tags {
    justify-content: center;
  }

  .scene-tags em {
    flex-basis: 100%;
    text-align: center;
  }

  .product-card > span {
    margin-right: auto;
    margin-left: auto;
  }

  .product-card b,
  .product-list-body h2 {
    text-align: center !important;
  }

  .product-card small,
  .product-list-body p {
    text-align: left !important;
  }

  .case-card {
    padding: 13px !important;
  }

  .case-media {
    min-height: 174px;
  }
}

/* Lightweight online customer service */
.fy-chat[hidden] {
  display: none;
}

.fy-chat {
  position: fixed;
  z-index: 80;
  inset: 0;
}

.fy-chat-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(9, 25, 18, 0.38);
}

.fy-chat-panel {
  position: absolute;
  right: 18px;
  bottom: 92px;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
  width: min(390px, calc(100vw - 28px));
  height: min(560px, calc(100vh - 130px));
  overflow: hidden;
  border: 1px solid #b8ddd6;
  border-radius: 12px;
  background: #ffffff;
  box-shadow: 0 24px 70px rgba(7, 28, 20, 0.28);
}

.fy-chat-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 16px;
  background: #f0faf7;
  color: var(--green-dark);
}

.fy-chat-head strong {
  font-size: 17px;
}

.fy-chat-head button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border: 1px solid #cfe6e1;
  border-radius: 999px;
  background: #ffffff;
  color: var(--green-dark);
  font-size: 22px;
  line-height: 1;
}

.fy-chat-body {
  display: flex;
  flex-direction: column;
  gap: 10px;
  overflow-y: auto;
  padding: 14px;
  background: #fbfefd;
}

.fy-chat-msg {
  max-width: 86%;
  padding: 10px 12px;
  border-radius: 12px;
  font-size: 14px;
  line-height: 1.65;
  white-space: pre-wrap;
}

.fy-chat-msg-bot {
  align-self: flex-start;
  border: 1px solid #d9e8e3;
  background: #ffffff;
  color: var(--ink);
}

.fy-chat-msg-user {
  align-self: flex-end;
  background: #c58c3d;
  color: #1e1609;
  font-weight: 700;
}

.fy-chat-form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px;
  padding: 12px;
  border-top: 1px solid #d9e8e3;
  background: #ffffff;
}

.fy-chat-form textarea {
  width: 100%;
  min-height: 46px;
  max-height: 120px;
  resize: vertical;
  border: 1px solid #cfe6e1;
  border-radius: 8px;
  padding: 9px 10px;
  color: var(--ink);
}

.fy-chat-form button {
  min-width: 72px;
  min-height: 46px;
  border: 0;
  border-radius: 8px;
  background: var(--green-dark);
  color: #ffffff;
  font-weight: 900;
}

@media (max-width: 767px) {
  .fy-chat-panel {
    left: 12px;
    right: 12px;
    bottom: 82px;
    width: auto;
    height: min(520px, calc(100vh - 116px));
    border-radius: 14px;
  }

  .fy-chat-form {
    grid-template-columns: minmax(0, 1fr);
  }

  .fy-chat-form button {
    width: 100%;
  }
}

/* Desktop showcase upgrade */
.desktop-hero-showcase {
  display: none;
}

.hero-keywords {
  display: none;
}

@media (min-width: 1025px) {
  .home .wrap,
  .home-products-section .wrap,
  .home-news-section .wrap {
    width: min(100% - 72px, 1520px);
  }

  .home .site-header {
    background: rgba(255, 255, 255, 0.94);
    border-bottom-color: rgba(219, 228, 221, 0.68);
  }

  .home .nav {
    min-height: 72px;
  }

  .home .hero {
    min-height: calc(100vh - 72px);
    background:
      linear-gradient(90deg, rgba(13, 45, 31, 0.92) 0%, rgba(13, 45, 31, 0.72) 42%, rgba(13, 45, 31, 0.22) 100%),
      url("assets/hero.svg") center / cover no-repeat;
  }

  .home .hero-inner {
    display: grid;
    grid-template-columns: minmax(460px, 0.82fr) minmax(620px, 1.18fr);
    grid-template-areas:
      "copy showcase"
      "facts facts";
    align-items: center;
    gap: 30px 64px;
    width: min(100% - 72px, 1520px);
    max-width: none;
    padding: 78px 0 46px;
  }

  .hero-copy {
    grid-area: copy;
    min-width: 0;
  }

  .home .hero h1 {
    max-width: 720px;
    margin: 24px 0 20px;
    font-size: clamp(62px, 5.45vw, 96px);
    line-height: 1.04;
  }

  .home .hero .hero-desktop-subtitle {
    max-width: 650px;
    margin-bottom: 20px;
    color: rgba(255, 255, 255, 0.9);
    font-size: 21px;
    line-height: 1.72;
  }

  .hero-keywords {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    max-width: 660px;
    margin: 0 0 30px;
  }

  .hero-keywords span {
    display: inline-flex;
    align-items: center;
    min-height: 34px;
    padding: 4px 13px;
    border: 1px solid rgba(255, 255, 255, 0.24);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.92);
    font-size: 14px;
    font-weight: 800;
    backdrop-filter: blur(6px);
  }

  .home .hero .actions {
    display: flex;
    gap: 14px;
  }

  .home .hero .btn {
    width: auto;
    min-width: 184px;
    min-height: 52px;
    border-radius: 8px;
    font-size: 17px;
  }

  .home .hero .btn-primary {
    box-shadow: 0 16px 34px rgba(0, 0, 0, 0.2);
  }

  .home .hero .btn-ghost {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(8px);
  }

  .desktop-hero-showcase {
    grid-area: showcase;
    position: relative;
    display: block;
    height: min(62vh, 650px);
    min-height: 480px;
  }

  .desktop-hero-card {
    position: relative;
    position: absolute;
    inset: 0;
    display: block;
    min-width: 0;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 18px;
    background: linear-gradient(135deg, #eef8f5, #f7f1df);
    box-shadow: 0 28px 70px rgba(5, 28, 18, 0.32);
    opacity: 0;
    pointer-events: none;
    transform: scale(0.985);
    transition: opacity 0.5s ease, transform 0.5s ease;
  }

  .desktop-hero-card.is-active {
    opacity: 1;
    pointer-events: auto;
    transform: scale(1);
  }

  .desktop-hero-photo,
  .desktop-hero-photo img {
    display: block;
    width: 100%;
    height: 100%;
  }

  .desktop-hero-photo img {
    object-fit: contain;
    background: linear-gradient(135deg, #0f3d2a, #173e31);
  }

  .desktop-hero-card::after {
    position: absolute;
    inset: 56% 0 0;
    background: linear-gradient(180deg, transparent, rgba(5, 26, 18, 0.82));
    content: "";
  }

  .desktop-hero-placeholder {
    display: grid;
    width: 100%;
    height: 100%;
    place-items: center;
    background:
      radial-gradient(circle at 72% 22%, rgba(197, 140, 61, 0.28), transparent 28%),
      linear-gradient(135deg, #d9ece7 0%, #f7f3e6 48%, #cfe6ef 100%);
    color: rgba(23, 75, 46, 0.42);
    font-size: clamp(52px, 6vw, 104px);
    font-weight: 900;
    letter-spacing: 0;
  }

  .desktop-hero-caption {
    position: absolute;
    z-index: 2;
    right: 30px;
    bottom: 28px;
    left: 30px;
    display: grid;
    gap: 10px;
    color: #ffffff;
  }

  .desktop-hero-caption em {
    width: fit-content;
    padding: 3px 10px;
    border-radius: 999px;
    background: rgba(197, 140, 61, 0.94);
    color: #1e1609;
    font-size: 13px;
    font-style: normal;
    font-weight: 900;
  }

  .desktop-hero-caption b {
    font-size: clamp(34px, 3vw, 54px);
    line-height: 1.2;
    text-shadow: 0 6px 18px rgba(0, 0, 0, 0.28);
  }

  .desktop-hero-dots {
    position: absolute;
    z-index: 4;
    right: 30px;
    bottom: 28px;
    display: flex;
    gap: 7px;
  }

  .desktop-hero-dots span {
    width: 8px;
    height: 8px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.52);
    transition: width 0.2s ease, background 0.2s ease;
  }

  .desktop-hero-dots span.is-active {
    width: 26px;
    background: var(--gold);
  }

  .home .hero-facts {
    grid-area: facts;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    max-width: none;
    margin-top: 4px;
    gap: 16px;
  }

  .home .hero-facts .fact {
    min-height: 94px;
    border-color: rgba(255, 255, 255, 0.46);
    background: rgba(255, 255, 255, 0.9);
    box-shadow: 0 14px 32px rgba(8, 32, 22, 0.14);
  }

  .home-products-section {
    margin-top: 0;
    padding: 84px 0 76px;
    background:
      linear-gradient(180deg, #ffffff 0%, #f5fbf8 100%);
  }

  .home-products-section .section-head {
    display: block;
    max-width: 1520px;
    margin-bottom: 34px;
  }

  .home-products-section .section-head h2 {
    font-size: 46px;
  }

  .home-products-section .product-card-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 24px;
  }

  .home-products-section .product-card,
  .product-list-card {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    padding: 0;
    border: 1px solid rgba(13, 75, 50, 0.12);
    border-radius: 14px;
    background: #ffffff;
    box-shadow: 0 18px 42px rgba(18, 45, 31, 0.12);
  }

  .home-products-section .product-card:hover,
  .product-list-card:hover,
  .desktop-hero-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 26px 58px rgba(18, 45, 31, 0.18);
  }

  .home-products-section .product-card,
  .product-list-card,
  .desktop-hero-card {
    transition: transform 0.18s ease, box-shadow 0.18s ease;
  }

  .home-products-section .product-card .product-visual,
  .product-list-cover .product-visual {
    min-height: 292px;
    border: 0;
    border-radius: 0;
  }

  .home-products-section .product-card > span,
  .home-products-section .product-card b,
  .home-products-section .product-card small {
    margin-right: 22px;
    margin-left: 22px;
  }

  .home-products-section .product-card > span {
    margin-top: 20px;
  }

  .home-products-section .product-card b {
    margin-top: 14px;
    font-size: 22px;
  }

  .home-products-section .product-card small {
    margin-bottom: 24px;
    font-size: 15px;
  }

  .scene-guide {
    margin-top: 72px;
    margin-bottom: 68px;
    padding: 40px;
    border: 1px solid #d8ece7;
    border-radius: 16px;
    background: #ffffff;
    box-shadow: 0 18px 42px rgba(18, 45, 31, 0.08);
  }

  .scene-guide-head h2 {
    font-size: 36px;
  }

  .scene-guide-grid {
    gap: 18px;
  }

  .scene-guide-card {
    padding: 22px 24px;
    border-radius: 12px;
    box-shadow: 0 12px 28px rgba(18, 45, 31, 0.08);
  }

  .accessory-mini-head {
    margin-top: 0;
  }

  .accessory-mini-grid {
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 18px;
  }

  .accessory-mini-card {
    border-radius: 12px !important;
  }

  .home-news-section {
    padding: 84px 0;
  }

  .home-news-section .section-head h2 {
    font-size: 42px;
  }

  .home-news-grid {
    gap: 24px;
  }

  .home-news-grid .news-thumb {
    height: 260px;
  }

  .product-strip {
    width: min(100% - 72px, 1520px);
    grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  }

  .product-strip .panel {
    padding: 44px;
    border-radius: 16px;
  }

  .page-hero-products + .section .wrap,
  .page-template-default .product-list-grid {
    width: min(100%, 1520px);
  }

  .product-list-grid {
    gap: 24px;
  }

  .product-list-cover .product-visual {
    min-height: 300px;
  }

  .product-list-body {
    padding: 22px;
  }
}

/* Homepage manufacturer layout: copy first, product left, factory right. */
.hero-media-row,
.hero-factory-card {
  min-width: 0;
}

.hero-factory-card {
  position: relative;
  display: block;
  overflow: hidden;
  min-height: 220px;
  border: 1px solid rgba(255, 255, 255, 0.46);
  border-radius: 10px;
  background: rgba(8, 36, 24, 0.5);
  color: #fff;
  text-decoration: none;
  box-shadow: 0 22px 50px rgba(0, 0, 0, 0.2);
}

.hero-factory-card img,
.hero-factory-placeholder {
  display: block;
  width: 100%;
  height: 100%;
  min-height: inherit;
  object-fit: cover;
}

.hero-factory-placeholder {
  display: grid;
  place-items: center;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.08), transparent),
    linear-gradient(145deg, #113924, #2d6044);
  color: rgba(255, 255, 255, 0.86);
  font-weight: 800;
}

.hero-factory-card::after {
  position: absolute;
  inset: 52% 0 0;
  background: linear-gradient(180deg, transparent, rgba(5, 26, 18, 0.82));
  content: "";
}

.hero-factory-card > span {
  position: absolute;
  z-index: 2;
  left: 22px;
  right: 22px;
  bottom: 20px;
  display: grid;
  gap: 7px;
}

.hero-factory-card em {
  width: fit-content;
  padding: 3px 10px;
  border-radius: 999px;
  background: var(--gold);
  color: #1e1609;
  font-size: 13px;
  font-style: normal;
  font-weight: 900;
}

.hero-factory-card b {
  font-size: clamp(24px, 2vw, 34px);
  line-height: 1.18;
  text-shadow: 0 5px 16px rgba(0, 0, 0, 0.28);
}

@media (min-width: 1025px) {
  .home .hero {
    min-height: auto;
  }

  .home .hero-inner {
    width: min(100%, 1520px);
    max-width: none;
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas:
      "copy"
      "media"
      "facts";
    gap: 22px;
    padding: 54px 0 54px;
  }

  .home .hero-copy {
    display: grid;
    max-width: 1080px;
    gap: 14px;
  }

  .home .hero h1 {
    max-width: 980px;
    margin: 0;
    font-size: clamp(54px, 4.8vw, 84px);
  }

  .home .hero .hero-desktop-subtitle {
    max-width: 980px;
    margin: 0;
  }

  .home .hero .actions {
    display: none;
  }

  .hero-media-row {
    grid-area: media;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
    align-items: stretch;
  }

  .hero-media-row .desktop-hero-showcase {
    display: block;
    grid-area: auto !important;
    width: 100%;
    min-height: 430px;
    aspect-ratio: auto;
  }

  .hero-media-row .desktop-hero-card {
    border-radius: 10px;
  }

  .hero-media-row .desktop-hero-photo img {
    object-fit: cover;
  }

  .hero-factory-card {
    grid-area: auto !important;
    min-height: 430px;
  }

  .home .hero-facts {
    margin-top: 0;
  }
}

.left-quick-actions {
  position: fixed;
  z-index: 120;
  top: 50%;
  left: 18px;
  display: grid;
  gap: 10px;
  transform: translateY(-50%);
}

.left-quick-action {
  display: grid;
  min-width: 116px;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  padding: 0 16px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 900;
  line-height: 1;
  text-decoration: none;
  box-shadow: 0 14px 30px rgba(11, 34, 24, 0.22);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.left-quick-action:hover {
  transform: translateX(3px);
  box-shadow: 0 18px 36px rgba(11, 34, 24, 0.28);
}

.left-quick-quote {
  background: var(--gold);
  color: #1f1709;
}

.left-quick-products {
  border: 1px solid rgba(9, 91, 132, 0.24);
  background: #e9f6ff;
  color: #075985;
}

.left-quick-cases,
.left-quick-factory {
  border: 1px solid rgba(16, 84, 61, 0.24);
  background: #f2fbf7;
  color: #14543d;
}

@media (max-width: 1024px) {
  .home .hero-keywords {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
  }

  .left-quick-actions {
    display: none;
  }
}

@media (max-width: 1024px) {
  .hero-media-row {
    display: grid;
    gap: 14px;
    margin-top: 18px;
  }

  .hero-media-row .desktop-hero-showcase {
    display: block;
    grid-area: auto !important;
    width: 100%;
    min-height: 260px;
  }

  .hero-media-row .desktop-hero-card {
    position: absolute;
  }

  .hero-factory-card {
    min-height: 220px;
  }
}

@media (max-width: 767px) {
  .hero-media-row {
    margin-top: 14px;
  }

  .hero-media-row .desktop-hero-showcase {
    min-height: 220px;
  }

  .hero-factory-card {
    min-height: 190px;
  }

  .hero-factory-card > span {
    left: 14px;
    right: 14px;
    bottom: 14px;
  }
}

.home-insights {
  display: grid;
  grid-template-columns: minmax(300px, 0.86fr) minmax(520px, 1.14fr);
  gap: 18px;
  align-items: stretch;
  margin: 26px 0 28px;
}

.home-insights .scene-guide,
.home-news-compact {
  min-width: 0;
  margin: 0;
  padding: 20px;
  border: 1px solid rgba(0, 96, 69, 0.15);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 14px 34px rgba(17, 50, 37, 0.08);
}

.home-insights .scene-guide-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: 0 0 14px;
}

.home-insights .scene-guide-head h2 {
  margin: 0;
  color: var(--green);
  font-size: 22px;
  line-height: 1.25;
}

.home-news-compact .scene-guide-head a {
  flex: 0 0 auto;
  color: var(--green);
  font-size: 14px;
  font-weight: 800;
}

.scene-guide-controls {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.scene-guide-controls button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  padding: 0;
  border: 1px solid rgba(0, 96, 69, 0.24);
  border-radius: 50%;
  background: #f7fffb;
  color: var(--green);
  cursor: pointer;
  font-size: 20px;
  font-weight: 900;
  line-height: 1;
}

.scene-guide-controls span {
  min-width: 34px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
  text-align: center;
}

.home-insights .scene-guide-grid {
  position: relative;
  display: block;
  min-height: 178px;
}

.home-insights .scene-guide-card {
  position: absolute;
  inset: 0;
  display: grid;
  align-content: center;
  gap: 10px;
  min-height: 178px;
  padding: 22px;
  border-color: rgba(0, 96, 69, 0.18);
  opacity: 0;
  pointer-events: none;
  transform: translateX(18px);
  transition: opacity 0.32s ease, transform 0.32s ease;
}

.home-insights .scene-guide-card.is-active {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(0);
}

.home-insights .scene-guide-card b {
  font-size: 21px;
}

.home-insights .scene-guide-card p {
  min-height: 0;
  margin: 0;
  font-size: 15px;
}

.home-news-compact {
  display: grid;
  grid-template-rows: auto 1fr;
}

.home-news-feature {
  display: grid;
  grid-template-columns: minmax(220px, 0.92fr) minmax(240px, 1fr);
  gap: 16px;
  min-width: 0;
}

.home-news-feature-thumb {
  min-height: 208px;
  overflow: hidden;
  border-radius: 8px;
  background: #eef7f3;
}

.home-news-feature-thumb img,
.home-news-feature-thumb .news-thumb-placeholder {
  width: 100%;
  height: 100%;
  min-height: 208px;
  object-fit: cover;
}

.home-news-feature-body {
  display: flex;
  min-width: 0;
  flex-direction: column;
  justify-content: center;
}

.home-news-feature-body span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.home-news-feature-body h3 {
  margin: 8px 0;
  color: var(--green);
  font-size: 20px;
  line-height: 1.36;
}

.home-news-feature-body p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.72;
}

.home-news-list {
  display: grid;
  gap: 8px;
  margin-top: 12px;
}

.home-news-list a {
  display: grid;
  gap: 3px;
  padding: 9px 0;
  border-top: 1px solid rgba(0, 96, 69, 0.11);
}

.home-news-list b {
  color: var(--ink);
  font-size: 15px;
  line-height: 1.42;
}

.home-news-list span {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
}

@media (max-width: 980px) {
  .home-insights {
    grid-template-columns: 1fr;
  }

  .home-news-feature {
    grid-template-columns: minmax(180px, 0.7fr) 1fr;
  }
}

@media (max-width: 640px) {
  .home-insights {
    margin: 18px 0 22px;
  }

  .home-insights .scene-guide,
  .home-news-compact {
    padding: 16px;
  }

  .home-insights .scene-guide-head h2 {
    font-size: 19px;
  }

  .home-insights .scene-guide-grid,
  .home-insights .scene-guide-card {
    min-height: 190px;
  }

  .home-news-feature {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .home-news-feature-thumb,
  .home-news-feature-thumb img,
  .home-news-feature-thumb .news-thumb-placeholder {
    min-height: 180px;
  }
}

/* Wider desktop first-screen presentation */
@media (min-width: 1025px) {
  .home .hero-inner {
    width: min(100% - 80px, 1760px);
    grid-template-columns: minmax(520px, 0.9fr) minmax(640px, 1.1fr);
    gap: 8px 22px;
    padding: 24px 0 22px;
  }

  .home .hero h1 {
    max-width: 820px;
    font-size: clamp(50px, 4.45vw, 78px);
  }

  .home .hero .hero-desktop-subtitle {
    max-width: 900px;
    font-size: 18px;
    line-height: 1.58;
  }

  .home .hero-facts {
    gap: 10px;
  }

  .home .hero-facts .fact {
    min-height: 62px;
    padding: 11px 14px;
  }

  .hero-media-row {
    gap: 14px;
  }

  .hero-media-row .desktop-hero-showcase,
  .hero-factory-card {
    min-height: calc(100vh - 380px);
    height: calc(100vh - 380px);
    max-height: 520px;
  }
}

/* Compact product detail page */
.compact-product-hero {
  padding: 10px 0 12px;
}

.compact-product-hero .wrap {
  width: min(100% - 32px, 1180px);
}

.compact-product-hero .product-hero-copy {
  max-width: 1120px;
  gap: 7px;
}

.compact-product-hero .back-link {
  width: fit-content;
  padding: 6px 12px;
  border: 1px solid #bddcf6;
  border-radius: 999px;
  background: #eef8ff;
  color: #075985;
}

.compact-product-hero .eyebrow {
  display: none;
}

.compact-product-hero .product-hero-copy h1 {
  font-size: clamp(30px, 3vw, 40px);
}

.compact-product-hero .product-hero-copy p {
  max-width: 980px;
  font-size: 15px;
  line-height: 1.55;
}

.product-detail-main {
  padding-top: 12px !important;
  padding-bottom: 28px;
}

.product-detail-stage {
  display: grid;
  width: min(100% - 32px, 1280px);
  gap: 16px;
}

.product-detail-stage .product-detail-gallery {
  max-width: none;
}

.product-detail-stage .product-gallery-slide {
  min-height: min(58vh, 560px);
}

.product-detail-stage .product-gallery-main {
  background: linear-gradient(135deg, #eaf4ef, #dcebe5);
}

.product-detail-stage .product-gallery-slide img,
.product-detail-stage .product-gallery-placeholder {
  object-fit: contain;
}

.product-detail-stage .product-gallery-slide {
  aspect-ratio: auto;
}

.product-detail-stage .product-gallery-slide.is-active {
  display: grid;
  place-items: center;
}

.product-detail-stage .product-gallery-slide img {
  width: auto;
  max-width: 100%;
  height: auto;
  max-height: min(68vh, 680px);
}

.product-detail-summary {
  display: grid;
  align-content: start;
  gap: 12px;
  padding: 22px;
}

.product-detail-summary h2 {
  margin: 10px 0 0;
  font-size: 20px;
}

.product-detail-summary h2:first-child {
  margin-top: 0;
}

.product-detail-summary p {
  font-size: 15px;
  line-height: 1.6;
}

.product-detail-summary .detail-list {
  margin: 0;
}

.product-detail-summary .tag-list {
  gap: 7px;
}

.product-detail-summary .tag-list span {
  min-height: 28px;
  padding: 4px 9px;
  font-size: 13px;
}

@media (min-width: 1025px) {
  .compact-product-hero {
    padding-top: 8px;
    padding-bottom: 10px;
  }

  .product-detail-stage {
    grid-template-columns: minmax(0, 1.55fr) minmax(320px, 0.45fr);
    align-items: start;
  }

  .product-detail-stage .product-gallery-slide {
    min-height: calc(100vh - 250px);
    max-height: 680px;
  }

  .product-detail-summary {
    max-height: calc(100vh - 250px);
    overflow: auto;
  }

  .product-gallery-thumbs {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 767px) {
  .product-detail-stage .product-gallery-slide {
    min-height: 300px;
  }

  .product-detail-summary {
    padding: 18px;
  }
}

@media (min-width: 1500px) {
  .home .hero-inner {
    width: calc(100% - 80px);
  }

  .hero-media-row .desktop-hero-showcase,
  .hero-factory-card {
    min-height: calc(100vh - 360px);
    height: calc(100vh - 360px);
    max-height: 560px;
  }
}

/* Must stay after all desktop hero overrides. */
@media (min-width: 1025px) {
  .home .hero-inner {
    grid-template-areas:
      "title title"
      "copy facts"
      "media media" !important;
    align-items: start;
  }

  .home .home-hero-title {
    grid-area: title !important;
    align-self: start;
    justify-self: center;
    width: 100%;
    margin: 0 0 4px !important;
    text-align: center;
  }

  .home .hero-copy {
    grid-area: copy !important;
    align-self: center;
  }

  .home .hero-facts {
    grid-area: facts !important;
    align-self: center;
  }

  .home .hero-media-row {
    grid-area: media !important;
  }
}

/* Center the homepage title and let the intro occupy the former title area. */
@media (min-width: 1025px) {
  .home .hero-inner {
    grid-template-areas:
      "title title"
      "copy facts"
      "media media";
    gap: 10px 22px;
    padding-top: 18px;
  }

  .home .hero-copy {
    display: block;
    grid-area: copy;
    align-self: center;
  }

  .home .home-hero-title {
    grid-area: title;
    width: 100%;
    max-width: none;
    margin: 0;
    text-align: center;
    font-size: clamp(52px, 4.7vw, 82px);
    line-height: 1.05;
  }

  .home .hero .hero-desktop-subtitle {
    max-width: 760px;
    margin: 0;
    font-size: 22px;
    line-height: 1.72;
  }

  .home .hero .hero-mobile-subtitle,
  .home .hero .actions {
    display: none;
  }

  .home .hero-facts {
    align-self: center;
  }
}

/* Homepage tightening pass */
.home .hero-keywords {
  display: none !important;
}

@media (min-width: 1025px) {
  .home .hero {
    min-height: calc(100vh - 72px);
  }

  .home .hero-inner {
    display: grid;
    grid-template-columns: minmax(500px, 0.95fr) minmax(520px, 1.05fr);
    grid-template-areas:
      "copy facts"
      "media media";
    align-items: start;
    gap: 18px 34px;
    padding: 38px 0 30px;
  }

  .home .hero-copy {
    max-width: none;
  }

  .home .hero h1 {
    font-size: clamp(52px, 4.9vw, 82px);
  }

  .home .hero .hero-desktop-subtitle {
    max-width: 900px;
    margin-bottom: 0;
    font-size: 20px;
  }

  .home .hero-facts {
    grid-area: facts;
    align-self: start;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin: 0;
  }

  .home .hero-facts .fact {
    min-height: 72px;
    padding: 14px 16px;
    border-radius: 8px;
  }

  .home .hero-facts .fact strong {
    font-size: 18px;
  }

  .home .hero-facts .fact span {
    font-size: 13px;
    line-height: 1.45;
  }

  .hero-media-row {
    grid-area: media;
    gap: 18px;
  }

  .hero-media-row .desktop-hero-showcase,
  .hero-factory-card {
    min-height: 360px;
    height: 360px;
  }

  .hero-media-row .desktop-hero-photo img,
  .hero-factory-card img {
    object-fit: contain;
    background: rgba(8, 36, 24, 0.68);
  }

  .desktop-hero-caption b,
  .hero-factory-card b {
    font-size: clamp(24px, 2.2vw, 36px);
  }
}

.home-insights {
  grid-template-columns: minmax(280px, 0.76fr) minmax(520px, 1.24fr);
  gap: 14px;
  margin: 20px 0 24px;
}

.home-insights .scene-guide,
.home-news-compact {
  padding: 14px;
}

.home-insights .scene-guide-head {
  margin-bottom: 10px;
}

.home-insights .scene-guide-head h2 {
  font-size: 19px;
}

.home-insights .scene-guide-grid,
.home-insights .scene-guide-card {
  min-height: 118px;
}

.home-insights .scene-guide-card {
  padding: 16px;
}

.home-insights .scene-guide-card b {
  font-size: 18px;
}

.home-insights .scene-guide-card p {
  font-size: 13px;
  line-height: 1.5;
  -webkit-line-clamp: 1;
}

.home-insights .scene-tags span {
  min-height: 24px;
  padding: 1px 7px;
}

.home-news-compact {
  display: grid;
  grid-template-columns: minmax(220px, 0.92fr) minmax(260px, 1.08fr);
  grid-template-rows: auto 1fr;
  gap: 0 14px;
}

.home-news-compact .scene-guide-head {
  grid-column: 1 / -1;
}

.home-news-feature {
  display: block;
  min-width: 0;
}

.home-news-feature-thumb {
  position: relative;
  min-height: 150px;
  height: 150px;
  border-radius: 8px;
}

.home-news-feature-thumb img,
.home-news-feature-thumb .news-thumb-placeholder {
  min-height: 150px;
  height: 150px;
  object-fit: cover;
}

.home-news-feature-thumb::after {
  position: absolute;
  inset: 40% 0 0;
  background: linear-gradient(180deg, transparent, rgba(5, 26, 18, 0.86));
  content: "";
}

.home-news-feature-body {
  position: absolute;
  z-index: 2;
  right: 12px;
  bottom: 10px;
  left: 12px;
  display: grid;
  gap: 3px;
  color: #fff;
}

.home-news-feature-body em,
.home-news-feature-body small {
  color: rgba(255, 255, 255, 0.84);
  font-size: 12px;
  font-style: normal;
  line-height: 1.35;
}

.home-news-feature-body strong {
  display: -webkit-box;
  overflow: hidden;
  font-size: 17px;
  line-height: 1.3;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.home-news-feature-body small {
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 1;
}

.home-news-list {
  align-content: start;
  gap: 8px;
  margin-top: 0;
}

.home-news-list a {
  display: grid;
  gap: 5px;
  padding: 10px 12px;
  border: 1px solid rgba(0, 96, 69, 0.12);
  border-radius: 8px;
  background: rgba(247, 252, 250, 0.78);
  text-decoration: none;
  transition: border-color 0.18s ease, background 0.18s ease, transform 0.18s ease, box-shadow 0.18s ease;
}

.home-news-list a:hover {
  border-color: rgba(0, 96, 69, 0.26);
  background: #ffffff;
  box-shadow: 0 8px 18px rgba(17, 50, 37, 0.08);
  transform: translateY(-1px);
}

.home-news-list-meta {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  align-items: start;
}

.home-news-list b {
  display: block;
  min-width: 0;
  color: var(--ink);
  font-size: 14px;
  line-height: 1.38;
}

.home-news-list time {
  color: #6f8a7f;
  font-size: 12px;
  font-weight: 800;
  line-height: 1.4;
  white-space: nowrap;
}

.home-news-list span {
  font-size: 12px;
  line-height: 1.42;
}

@media (max-width: 980px) {
  .home-news-compact {
    grid-template-columns: 1fr;
  }

  .home-news-list {
    margin-top: 8px;
  }
}

/* Final homepage balance tweaks */
@media (min-width: 1025px) {
  .home .hero-inner {
    gap: 14px 34px;
    padding: 34px 0 28px;
  }

  .home .hero h1 {
    max-width: 760px;
    font-size: clamp(46px, 4.25vw, 70px);
  }

  .home .hero .hero-desktop-subtitle {
    max-width: 860px;
    font-size: 18px;
    line-height: 1.62;
  }

  .home .hero-facts .fact {
    min-height: 66px;
    padding: 12px 15px;
  }

  .home .hero-facts .fact strong {
    font-size: 17px;
  }

  .home .hero-facts .fact span {
    font-size: 12px;
  }

  .hero-media-row .desktop-hero-showcase,
  .hero-factory-card {
    min-height: min(46vh, 470px);
    height: min(46vh, 470px);
  }

  .desktop-hero-caption {
    right: 26px;
    bottom: 22px;
    left: 26px;
  }

  .desktop-hero-caption b,
  .hero-factory-card b {
    font-size: clamp(26px, 2.35vw, 40px);
  }
}

.home-insights .scene-guide-grid,
.home-insights .scene-guide-card {
  min-height: 205px;
}

.home-insights .scene-guide-card {
  padding: 20px 22px;
}

.home-news-feature-thumb,
.home-news-feature-thumb img,
.home-news-feature-thumb .news-thumb-placeholder {
  min-height: 240px;
  height: 240px;
}

@media (max-width: 640px) {
  .home-insights .scene-guide-grid,
  .home-insights .scene-guide-card {
    min-height: 220px;
  }

  .home-news-feature-thumb,
  .home-news-feature-thumb img,
  .home-news-feature-thumb .news-thumb-placeholder {
    min-height: 220px;
    height: 220px;
  }
}

/* Inner-page hero and site tone refinement */
.page-hero {
  min-height: 0;
  background-position: center;
}

.page-hero .wrap {
  padding: 22px 0 24px !important;
}

.page-hero h1 {
  margin: 0 0 6px !important;
  font-size: clamp(28px, 5vw, 40px) !important;
}

.page-hero p {
  max-width: 620px;
  font-size: 14px !important;
  line-height: 1.48 !important;
}

.section-alt {
  background: rgba(247, 252, 250, 0.78);
}

.service,
.case,
.fact,
.contact-card,
.scene-card,
.product-card,
.product-list-card,
.product-module,
.panel,
.news-card,
.case-card {
  border-color: #cfe3dc;
  background: rgba(255, 255, 255, 0.88);
}

@media (min-width: 780px) {
  .page-hero .wrap {
    padding: 26px 0 28px !important;
  }
}

@media (min-width: 1180px) {
  .page-hero .wrap {
    padding: 30px 0 32px !important;
  }
}

/* Cases page: keep the hero as the only heading and let project visuals breathe. */
.page-hero-cases + .section {
  padding-top: 30px;
  padding-bottom: 66px;
}

.page-hero-cases + .section .wrap {
  width: min(100% - 44px, 1280px);
}

.page-hero-cases + .section .case-card-grid {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 560px));
  justify-content: start;
  gap: 28px;
}

.page-hero-cases + .section .case-card {
  gap: 16px;
  padding: 22px;
  border-radius: 14px;
  box-shadow: 0 22px 58px rgba(18, 45, 31, 0.12);
}

.page-hero-cases + .section .case-card b {
  font-size: clamp(22px, 2vw, 26px);
}

.page-hero-cases + .section .case-media {
  min-height: 320px;
  border-radius: 12px;
}

.page-hero-cases + .section .case-media img,
.page-hero-cases + .section .case-media video {
  aspect-ratio: 4 / 3;
}

.page-hero-cases + .section .case-card small {
  font-size: 15px;
}

@media (min-width: 1025px) {
  .page-hero-cases + .section .case-media {
    min-height: 370px;
  }
}

@media (max-width: 767px) {
  .page-hero-cases + .section {
    padding-top: 22px;
  }

  .page-hero-cases + .section .wrap {
    width: min(100% - 28px, 1280px);
  }

  .page-hero-cases + .section .case-card-grid {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr);
    gap: 18px !important;
    margin-right: 0;
    overflow: visible;
  }

  .page-hero-cases + .section .case-card {
    flex: initial;
    max-width: none;
    padding: 16px !important;
  }

  .page-hero-cases + .section .case-media {
    min-height: 230px;
  }
}

/* Three-card case carousel */
.page-hero-cases + .section .case-card-grid.case-carousel {
  position: relative;
  display: block;
  width: min(100%, 1280px);
  height: 560px;
  margin: 0 auto;
  overflow: hidden;
}

.page-hero-cases + .section .case-carousel .case-card {
  position: absolute;
  top: 50%;
  left: 50%;
  width: min(58vw, 620px);
  max-width: calc(100% - 32px);
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, -50%) scale(0.72);
  transition: transform 0.45s ease, opacity 0.45s ease, filter 0.45s ease;
  will-change: transform, opacity;
}

.page-hero-cases + .section .case-carousel .case-card.is-active {
  z-index: 3;
  opacity: 1;
  pointer-events: auto;
  transform: translate(-50%, -50%) scale(1);
}

.page-hero-cases + .section .case-carousel .case-card.is-prev,
.page-hero-cases + .section .case-carousel .case-card.is-next {
  z-index: 2;
  opacity: 0.72;
  pointer-events: auto;
  filter: saturate(0.82) brightness(0.93);
}

.page-hero-cases + .section .case-carousel .case-card.is-prev {
  transform: translate(calc(-50% - 390px), -50%) scale(0.78);
}

.page-hero-cases + .section .case-carousel .case-card.is-next {
  transform: translate(calc(-50% + 390px), -50%) scale(0.78);
}

.page-hero-cases + .section .case-carousel .case-card.is-prev:hover,
.page-hero-cases + .section .case-carousel .case-card.is-next:hover {
  opacity: 0.9;
  filter: saturate(0.92) brightness(0.98);
}

.page-hero-cases + .section .case-carousel .case-media {
  min-height: 390px;
}

@media (min-width: 1400px) {
  .page-hero-cases + .section .case-card-grid.case-carousel {
    height: 590px;
  }

  .page-hero-cases + .section .case-carousel .case-card.is-prev {
    transform: translate(calc(-50% - 430px), -50%) scale(0.78);
  }

  .page-hero-cases + .section .case-carousel .case-card.is-next {
    transform: translate(calc(-50% + 430px), -50%) scale(0.78);
  }
}

@media (max-width: 1024px) {
  .page-hero-cases + .section .case-card-grid.case-carousel {
    height: 520px;
  }

  .page-hero-cases + .section .case-carousel .case-card {
    width: min(78vw, 560px);
  }

  .page-hero-cases + .section .case-carousel .case-card.is-prev {
    transform: translate(calc(-50% - 250px), -50%) scale(0.74);
  }

  .page-hero-cases + .section .case-carousel .case-card.is-next {
    transform: translate(calc(-50% + 250px), -50%) scale(0.74);
  }
}

@media (max-width: 767px) {
  .page-hero-cases + .section .case-card-grid.case-carousel {
    display: block !important;
    height: 450px;
    margin-right: auto;
    overflow: hidden;
  }

  .page-hero-cases + .section .case-carousel .case-card {
    width: min(92vw, 520px);
  }

  .page-hero-cases + .section .case-carousel .case-card.is-prev {
    transform: translate(calc(-50% - 180px), -50%) scale(0.7);
  }

  .page-hero-cases + .section .case-carousel .case-card.is-next {
    transform: translate(calc(-50% + 180px), -50%) scale(0.7);
  }

  .page-hero-cases + .section .case-carousel .case-media {
    min-height: 270px;
  }
}

/* Refined site header */
.site-header {
  border-top: 4px solid transparent;
  border-image: linear-gradient(90deg, #0d4f3a, #27a28b, #d49a3a) 1;
  box-shadow: 0 8px 24px rgba(14, 43, 31, 0.06);
}

.brand {
  align-items: center;
  flex-direction: row;
  gap: 12px;
  color: var(--ink);
  text-decoration: none;
}

.brand-mark {
  display: none;
  flex: 0 0 auto;
  width: 64px;
  height: 64px;
  margin-top: 0;
  place-items: center;
  border: 1px solid rgba(19, 88, 79, 0.18);
  border-radius: 16px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.92), rgba(231, 246, 240, 0.92)),
    radial-gradient(circle at 30% 24%, rgba(212, 154, 58, 0.24), transparent 44%);
  color: #0e563f;
  font-size: 0;
  font-weight: 900;
  box-shadow: 0 10px 24px rgba(19, 88, 79, 0.12);
}

.brand-mark img,
.footer-brand-mark img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.brand-copy {
  min-width: 0;
  display: flex;
  flex-direction: column;
  line-height: 1.22;
}

.brand .brand-copy span {
  margin-top: 4px;
  color: #557267;
  font-size: 12px;
}

.header-quote {
  display: none;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 8px 18px;
  border-radius: 999px;
  background: linear-gradient(135deg, #d39a3c, #c4872e);
  color: #211606;
  font-size: 14px;
  font-weight: 900;
  text-decoration: none;
  box-shadow: 0 12px 24px rgba(154, 103, 31, 0.18);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.header-quote:hover {
  color: #211606;
  transform: translateY(-1px);
  box-shadow: 0 16px 30px rgba(154, 103, 31, 0.24);
}

@media (min-width: 768px) {
  .brand-mark {
    display: grid;
  }
}

@media (min-width: 1025px) {
  .site-header {
    background: rgba(250, 253, 251, 0.9) !important;
  }

  .nav {
    width: min(100% - 72px, 1240px);
    min-height: 88px;
    gap: 20px;
  }

  .primary-menu,
  .primary-menu.is-open {
    gap: 8px;
    padding: 4px;
    border: 1px solid rgba(19, 88, 79, 0.08);
    border-radius: 999px;
    background: rgba(239, 249, 245, 0.72);
  }

  .primary-menu a {
    min-height: 36px;
    padding: 8px 13px;
    border-radius: 999px;
    color: #1a352b;
    font-size: 14px;
    line-height: 1;
    white-space: nowrap;
    transition: background 0.18s ease, color 0.18s ease, transform 0.18s ease;
  }

  .primary-menu a:hover,
  .primary-menu .current-menu-item > a,
  .primary-menu .current_page_item > a,
  .primary-menu .current-menu-ancestor > a {
    background: #e0f3ec;
    color: #0b6a4f;
  }

  .primary-menu a:hover {
    transform: translateY(-1px);
  }

  .header-quote {
    display: inline-flex;
  }
}

@media (min-width: 1025px) and (max-width: 1180px) {
  .nav {
    width: min(100% - 48px, 1120px);
    gap: 14px;
  }

  .brand strong {
    font-size: 18px;
  }

  .brand-mark {
    width: 54px;
    height: 54px;
  }

  .primary-menu,
  .primary-menu.is-open {
    gap: 4px;
  }

  .primary-menu a {
    padding-right: 9px;
    padding-left: 9px;
    font-size: 13px;
  }

  .header-quote {
    display: none;
  }
}

@media (max-width: 767px) {
  .site-header {
    border-top-width: 3px;
  }

  .brand {
    gap: 0;
  }

  .brand strong {
    max-width: min(66vw, 340px);
  }

  .header-quote {
    display: none;
  }
}

/* Footer QR matrix and refined floating contact icons */
.site-footer {
  padding: 26px 0 28px;
  background:
    radial-gradient(circle at 50% 0, rgba(39, 162, 139, 0.18), transparent 36%),
    linear-gradient(180deg, #0d2f21, #0b261a);
}

.footer-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) !important;
  justify-items: center;
  gap: 12px;
  min-height: 126px;
  align-items: center;
  text-align: center;
}

.footer-brand {
  display: flex;
  max-width: min(100%, 660px);
  align-items: center;
  justify-content: center;
  gap: 18px;
  text-align: left;
}

.footer-brand-mark {
  display: grid;
  flex: 0 0 auto;
  width: 96px;
  height: 96px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.1);
  color: #d7a445;
  font-size: 0;
  font-weight: 900;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.06);
}

.footer-brand-copy {
  display: grid;
  gap: 8px;
}

.footer-grid strong {
  font-size: clamp(26px, 3.2vw, 34px);
  line-height: 1.25;
}

.footer-grid span {
  color: rgba(255, 255, 255, 0.74);
}

.footer-brand-copy > span {
  font-size: 16px;
}

.footer-qr-grid {
  position: absolute;
  right: 0;
  bottom: 0;
  display: grid;
  width: auto;
  grid-template-columns: repeat(4, 86px);
  gap: 10px;
}

.footer-qr-card {
  display: grid;
  justify-items: center;
  gap: 5px;
  min-width: 0;
  padding: 9px 7px 8px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.07);
}

.footer-qr-card img,
.footer-qr-placeholder {
  display: grid;
  width: 66px;
  height: 66px;
  place-items: center;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.92);
}

.footer-qr-card img {
  object-fit: cover;
}

.footer-qr-placeholder {
  padding: 7px;
  color: #155340;
  font-size: 11px;
  font-weight: 900;
  line-height: 1.15;
}

.footer-qr-card b {
  color: rgba(255, 255, 255, 0.88);
  font-size: 12px;
  line-height: 1.15;
}

.footer-icp {
  align-self: end;
  color: rgba(255, 255, 255, 0.52);
  font-size: 12px;
  line-height: 1.4;
}

.toolbar-button {
  width: 62px;
  min-height: 66px;
  gap: 5px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.97);
}

.toolbar-icon {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  overflow: hidden;
  background: transparent !important;
}

.toolbar-icon svg {
  display: block;
  width: 100%;
  height: 100%;
}

.toolbar-button > span:last-child {
  font-size: 12px;
}

.site-music-player {
  position: fixed;
  z-index: 58;
  right: 22px;
  bottom: 22px;
}

.site-music-toggle {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 42px;
  padding: 8px 14px 8px 10px;
  border: 1px solid rgba(13, 93, 64, 0.18);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.96);
  color: #13584f;
  box-shadow: 0 12px 26px rgba(12, 38, 28, 0.16);
  cursor: pointer;
  font-size: 13px;
  font-weight: 900;
}

.site-music-icon {
  display: grid;
  width: 26px;
  height: 26px;
  place-items: center;
  border-radius: 50%;
  background: #e8f6ef;
  color: #0b6a4f;
  font-size: 18px;
  line-height: 1;
}

.site-music-player.is-playing .site-music-icon {
  background: #d39a3c;
  color: #1f1709;
}

@media (max-width: 767px) {
  .site-footer {
    padding-bottom: 104px;
  }

  .footer-brand {
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }

  .footer-brand-mark {
    width: 86px;
    height: 86px;
  }

  .footer-qr-grid {
    position: static;
    grid-template-columns: repeat(4, 74px);
    justify-content: center;
    margin-top: 8px;
  }

  .site-music-player {
    right: 14px;
    bottom: 88px;
  }

  .site-music-label {
    display: none;
  }

  .site-music-toggle {
    min-height: 44px;
    padding: 8px;
  }
}

/* Keep footer brand and QR area from overlapping on inner pages. */
@media (min-width: 1180px) {
  .footer-grid {
    grid-template-columns: minmax(280px, 1fr) minmax(420px, auto) minmax(360px, 1fr) !important;
    align-items: center;
    min-height: 142px;
  }

  .footer-brand {
    grid-column: 2;
    justify-self: center;
  }

  .footer-qr-grid {
    position: static;
    grid-column: 3;
    justify-self: end;
    align-self: end;
  }

  .footer-icp {
    grid-column: 1 / -1;
    justify-self: center;
  }
}

@media (min-width: 768px) and (max-width: 1179px) {
  .footer-grid {
    min-height: 0;
  }

  .footer-qr-grid {
    position: static;
    justify-content: center;
    margin-top: 4px;
  }

  .footer-icp {
    justify-self: center;
  }
}

/* Homepage desktop hero: title, intro, advantages, then large visuals. */
@media (min-width: 1025px) {
  .home .hero-inner {
    width: calc(100% - 80px);
    max-width: 1760px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) !important;
    grid-template-areas:
      "title"
      "copy"
      "facts"
      "media" !important;
    gap: 18px;
    align-items: start;
    padding: 0 0 28px !important;
  }

  .home .home-hero-title {
    grid-area: title !important;
    justify-self: center;
    width: 100%;
    max-width: none;
    margin: 0 !important;
    display: grid;
    gap: 4px;
    justify-items: center;
    text-align: center;
    font-size: clamp(46px, 4.3vw, 72px);
    line-height: 0.98;
  }

  .home .home-hero-title span {
    display: block;
    width: 100%;
    text-align: center;
    white-space: nowrap;
  }

  .home .hero-copy {
    grid-area: copy !important;
    justify-self: center;
    width: min(100%, 1160px);
    max-width: none;
    text-align: center;
    margin-top: -2px;
  }

  .home .hero .hero-desktop-subtitle {
    max-width: none;
    margin: 0 auto !important;
    font-size: 20px;
    line-height: 1.55;
  }

  .home .hero-facts {
    grid-area: facts !important;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    gap: 12px;
    justify-self: center;
    width: min(100%, 1480px);
    margin: 2px 0 0 !important;
  }

  .home .hero-facts .fact {
    display: grid;
    align-content: center;
    justify-items: center;
    min-height: 66px;
    padding: 12px 16px;
    border-radius: 8px;
    text-align: center;
  }

  .home .hero-facts .fact strong {
    font-size: 17px;
  }

  .home .hero-facts .fact span {
    font-size: 12px;
    line-height: 1.45;
  }

  .home .hero-media-row {
    grid-area: media !important;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
    width: 100%;
    margin-top: 2px;
  }

  .home .hero-media-row .desktop-hero-showcase,
  .home .hero-factory-card {
    min-height: 340px;
    height: min(42vh, 440px);
  }
}

@media (min-width: 1500px) {
  .home .hero-inner {
    padding-top: 0 !important;
  }

  .home .hero-media-row .desktop-hero-showcase,
  .home .hero-factory-card {
    min-height: 390px;
    height: min(45vh, 500px);
  }
}

/* Mobile H5 polish: lighter, compact, product-first without touching desktop. */
@media (max-width: 767px) {
  html {
    background: #eef8f5;
  }

  body {
    background: linear-gradient(180deg, #f3fbf8 0, #eef8f5 42%, #f8fcfa 100%) !important;
    padding-bottom: 96px !important;
  }

  .wrap {
    width: min(100% - 24px, 1120px);
  }

  .site-header {
    border-top-width: 2px;
    border-bottom-color: rgba(20, 92, 70, 0.12);
    background: rgba(250, 255, 252, 0.96) !important;
    box-shadow: 0 6px 18px rgba(10, 40, 30, 0.08);
    backdrop-filter: blur(10px);
  }

  .nav {
    min-height: 56px !important;
    gap: 10px;
  }

  .brand {
    flex: 1 1 auto;
    gap: 2px;
  }

  .brand strong {
    max-width: calc(100vw - 96px);
    color: #12352b;
    font-size: 18px;
    line-height: 1.18;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .brand span {
    margin-top: 1px;
    color: #58736b;
    font-size: 12px;
  }

  .menu-toggle {
    width: 42px;
    height: 42px;
    border-color: rgba(20, 92, 70, 0.18);
    border-radius: 14px;
    background: #f5fbf8;
    color: #145640;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.78);
  }

  .primary-menu {
    top: 58px;
    border-radius: 14px;
  }

  .mobile-quick-nav {
    border-top: 1px solid rgba(20, 92, 70, 0.1);
    background: rgba(246, 252, 249, 0.96) !important;
  }

  .mobile-quick-nav-inner {
    gap: 7px;
    padding-top: 7px;
    padding-bottom: 8px;
  }

  .mobile-quick-nav a {
    min-height: 32px;
    padding: 4px 12px;
    border-color: rgba(20, 92, 70, 0.16);
    background: #fff;
    color: #145640;
    font-size: 13px;
    box-shadow: 0 4px 12px rgba(14, 56, 42, 0.06);
  }

  .home-products-section {
    padding-top: 12px !important;
    padding-bottom: 20px !important;
    background:
      linear-gradient(180deg, rgba(236, 249, 244, 0.98), rgba(246, 252, 249, 0.96)) !important;
  }

  .home-products-section .product-card-grid,
  .product-card-grid,
  .product-list-grid,
  .option-card-grid {
    gap: 12px !important;
    margin-right: -12px !important;
    margin-left: -12px !important;
    padding: 0 18px 12px !important;
    scroll-padding-left: 18px;
  }

  .home-products-section .product-card,
  .product-card,
  .product-list-card,
  .option-card {
    flex-basis: calc(100vw - 58px) !important;
    max-width: calc(100vw - 58px) !important;
    border-color: rgba(20, 92, 70, 0.16) !important;
    border-radius: 16px !important;
    background: rgba(255, 255, 255, 0.94) !important;
    box-shadow: 0 14px 34px rgba(15, 58, 43, 0.11) !important;
    scroll-snap-align: center;
  }

  .home-products-section .product-card {
    padding: 12px !important;
  }

  .product-card .product-visual,
  .product-list-cover .product-visual,
  .home-products-section .product-card .product-visual {
    min-height: 0 !important;
    aspect-ratio: 1.18 / 1;
    border-color: rgba(20, 92, 70, 0.12);
    border-radius: 14px !important;
    background: #e9f4ef;
  }

  .product-visual::before {
    width: 58px;
    height: 58px;
    opacity: 0.6;
  }

  .product-visual img {
    min-height: 0 !important;
    object-fit: cover;
  }

  .product-visual figcaption {
    padding: 10px 12px;
  }

  .home-products-section .product-card > span,
  .product-card > span {
    min-height: 26px;
    padding: 2px 9px;
    font-size: 12px;
  }

  .home-products-section .product-card b,
  .product-card b,
  .product-list-body h2 {
    margin-top: 8px;
    color: #103b2e;
    font-size: 22px !important;
    line-height: 1.24 !important;
    text-align: center !important;
  }

  .home-products-section .product-card small,
  .product-card small,
  .product-list-body p {
    margin-top: 6px;
    color: #526b63;
    font-size: 14px !important;
    line-height: 1.5 !important;
    text-align: center !important;
    -webkit-line-clamp: 2 !important;
  }

  .mobile-carousel-hint {
    margin: 0 0 12px;
  }

  .hero {
    background:
      linear-gradient(180deg, rgba(16, 76, 58, 0.92), rgba(20, 91, 70, 0.74)),
      url("assets/hero.svg") center bottom / cover no-repeat !important;
  }

  .hero-inner {
    padding: 22px 0 20px !important;
  }

  .hero h1 {
    max-width: 100%;
    margin: 0 0 8px !important;
    font-size: clamp(28px, 8.2vw, 36px) !important;
    line-height: 1.16 !important;
    text-align: center;
  }

  .hero .hero-mobile-subtitle {
    max-width: 92% !important;
    margin: 0 auto 14px !important;
    font-size: 14px !important;
    line-height: 1.55 !important;
    text-align: center;
  }

  .hero-facts {
    gap: 8px !important;
    margin-top: 12px !important;
  }

  .hero-facts .fact {
    min-height: 62px !important;
    padding: 9px 8px !important;
    border-radius: 12px !important;
    background: rgba(255, 255, 255, 0.92) !important;
  }

  .hero-facts .fact strong {
    font-size: 14px !important;
  }

  .hero-facts .fact span {
    font-size: 11px !important;
  }

  .home-insights {
    margin: 14px 0 20px !important;
  }

  .home-insights .scene-guide,
  .home-news-compact,
  .scene-guide {
    border-radius: 16px !important;
    background: rgba(255, 255, 255, 0.95) !important;
    box-shadow: 0 12px 28px rgba(15, 58, 43, 0.1);
  }

  .home-insights .scene-guide-head h2,
  .scene-guide-head h2 {
    font-size: 24px !important;
    line-height: 1.2;
  }

  .scene-guide-card,
  .case-card {
    border-radius: 14px !important;
    background: rgba(255, 255, 255, 0.95) !important;
  }

  .mobile-quote-bar {
    left: 10px !important;
    right: 10px !important;
    bottom: 8px !important;
    grid-template-columns: 1.12fr 0.88fr !important;
    gap: 8px !important;
    padding: 7px !important;
    border-color: rgba(20, 92, 70, 0.18) !important;
    border-radius: 18px !important;
    background: rgba(255, 255, 255, 0.96) !important;
    box-shadow: 0 10px 28px rgba(8, 34, 25, 0.18) !important;
  }

  .mobile-quote-bar a {
    min-height: 42px !important;
    font-size: 15px;
  }

  .mobile-quote-phone {
    background: #c9913c !important;
    color: #1e1609 !important;
  }

  .mobile-quote-main {
    border: 1px solid rgba(20, 92, 70, 0.18);
    background: #eef8f5 !important;
    color: #145640 !important;
  }

  .site-music-player {
    right: 14px !important;
    bottom: 72px !important;
  }

  .site-music-toggle {
    width: 42px;
    min-width: 42px;
    min-height: 42px !important;
    padding: 7px !important;
    border-radius: 50%;
  }

  .site-music-icon {
    width: 24px;
    height: 24px;
  }

  .desktop-contact-toolbar {
    display: none !important;
  }
}

/* Mobile homepage order: product center first; hide the scene guide only. */
@media (max-width: 767px) {
  .home main {
    display: flex;
    flex-direction: column;
  }

  .home .hero {
    order: 0;
  }

  .home .home-products-section {
    order: -1;
    padding-top: 18px !important;
  }

  .home .home-products-section > .wrap {
    display: flex;
    flex-direction: column;
  }

  .home .home-insights {
    order: 4;
    display: block !important;
    grid-template-columns: 1fr !important;
    margin: 18px 0 16px !important;
    overflow: visible !important;
  }

  .home .home-insights .scene-guide {
    display: none !important;
  }

  .home .home-news-compact {
    width: 100%;
    margin: 0 !important;
  }

  .home .accessory-mini-head {
    order: 1;
    margin: 0 0 10px !important;
    text-align: center;
  }

  .home .accessory-mini-head h2 {
    width: 100%;
    margin: 0 auto !important;
    overflow: hidden;
    color: #103b2e;
    font-size: clamp(20px, 5.7vw, 24px) !important;
    line-height: 1.2 !important;
    text-align: center;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .home .accessory-mini-grid {
    order: 2;
  }

  .home .accessory-mini-grid + .mobile-carousel-hint {
    order: 3;
    margin-bottom: 4px;
  }

  .home .accessory-mini-card {
    align-content: start;
    min-height: 0;
    padding: 12px !important;
  }

  .home .accessory-mini-card b {
    display: block;
    width: 100%;
    overflow: hidden;
    color: #103b2e;
    font-size: 16px !important;
    line-height: 1.28 !important;
    text-align: center;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .home .accessory-mini-card p {
    display: -webkit-box;
    margin-top: 6px;
    overflow: hidden;
    color: #58736b;
    font-size: 13px !important;
    line-height: 1.45 !important;
    text-align: center;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
  }
}

/* Mobile product showcase: fuller card, larger image, news after shopping sections. */
@media (max-width: 767px) {
  .home-products-section .product-card-grid,
  .product-card-grid {
    gap: 10px !important;
    margin-right: -12px !important;
    margin-left: -12px !important;
    padding-right: 9px !important;
    padding-left: 9px !important;
    scroll-padding-left: 9px;
  }

  .home-products-section .product-card,
  .product-card {
    flex-basis: calc(100vw - 24px) !important;
    max-width: calc(100vw - 24px) !important;
    padding: 10px !important;
    border-radius: 18px !important;
  }

  .home-products-section .product-card .product-visual,
  .product-card .product-visual {
    aspect-ratio: 1.02 / 1;
    border-radius: 15px !important;
  }

  .home-products-section .product-card b,
  .product-card b {
    margin-top: 9px;
    font-size: 24px !important;
  }

  .home-products-section .product-card small,
  .product-card small {
    max-width: 92%;
    margin-right: auto;
    margin-left: auto;
    font-size: 14px !important;
    line-height: 1.48 !important;
  }

  .home .accessory-mini-head {
    margin-top: 16px !important;
  }

  .home .accessory-mini-grid {
    margin-bottom: 4px !important;
  }

  .home .home-insights {
    order: 99;
    margin-top: 24px !important;
    margin-bottom: 0 !important;
    padding-bottom: 82px;
  }

  .home .home-news-compact {
    border-radius: 18px !important;
  }
}

/* Mobile news slot under the homepage factory visual. */
.home-news-mobile-slot {
  display: none;
}

@media (max-width: 767px) {
  .home .home-products-section .home-insights {
    display: none !important;
  }

  .home-news-mobile-slot {
    order: 1;
    display: block;
    padding: 16px 0 88px;
    background: linear-gradient(180deg, rgba(232, 246, 240, 0.88), rgba(244, 250, 247, 0.96));
  }

  .home-news-mobile-slot .wrap {
    width: min(100% - 24px, 1180px);
  }

  .home-news-mobile-slot .home-news-compact {
    border-radius: 18px !important;
    box-shadow: 0 14px 34px rgba(15, 58, 43, 0.12);
  }
}

/* Mobile product center page: larger visuals, less text weight. */
@media (max-width: 767px) {
  .page-hero-products + .section {
    padding-top: 14px !important;
  }

  .page-hero-products + .section > .wrap {
    width: min(100% - 18px, 1180px);
  }

  .page-hero-products + .section .section-head:first-child {
    display: none;
  }

  .page-hero-products + .section .product-list-grid {
    gap: 10px !important;
    margin-right: -9px !important;
    margin-left: -9px !important;
    padding: 0 9px 12px !important;
    scroll-padding-left: 9px;
  }

  .page-hero-products + .section .product-list-card {
    flex-basis: calc(100vw - 24px) !important;
    max-width: calc(100vw - 24px) !important;
    padding: 10px !important;
    border-radius: 18px !important;
  }

  .page-hero-products + .section .product-list-cover .product-visual {
    aspect-ratio: 1.02 / 1 !important;
    border-radius: 15px !important;
  }

  .page-hero-products + .section .product-list-body {
    padding: 10px 8px 4px !important;
    text-align: center;
  }

  .page-hero-products + .section .product-list-body h2 {
    margin: 0 auto 6px !important;
    font-size: 22px !important;
    line-height: 1.25 !important;
  }

  .page-hero-products + .section .product-list-body p {
    max-width: 92%;
    margin: 0 auto !important;
    font-size: 14px !important;
    line-height: 1.48 !important;
    -webkit-line-clamp: 2 !important;
  }

  .page-hero-products + .section .product-list-body .btn {
    display: none !important;
  }

  .page-hero-products + .section .option-section-head h2 {
    overflow: hidden;
    font-size: clamp(20px, 5.7vw, 24px) !important;
    line-height: 1.2 !important;
    text-align: center;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .page-hero-products + .section .option-section-head p,
  .page-hero-products + .section .product-image-note {
    display: none !important;
  }
}

/* News page mobile categories: one compact row. */
@media (max-width: 767px) {
  .news-section {
    padding-top: 14px !important;
  }

  .news-filter {
    display: flex !important;
    flex-wrap: nowrap !important;
    justify-content: space-between;
    gap: 4px !important;
    margin: 0 0 14px !important;
    padding: 0 !important;
    overflow: visible !important;
  }

  .news-filter::-webkit-scrollbar {
    display: none;
  }

  .news-filter a {
    flex: 1 1 0;
    min-width: 0;
    padding: 7px 4px !important;
    border-radius: 999px !important;
    font-size: 12px !important;
    line-height: 1 !important;
    text-align: center;
    white-space: nowrap;
  }

  .news-grid {
    gap: 12px !important;
  }

  .news-card {
    border-radius: 16px !important;
  }

  .news-card h2 {
    font-size: 18px !important;
    line-height: 1.32 !important;
  }
}

/* Case browser: clickable project pills and active case gallery. */
.case-browser {
  width: 100%;
}

.case-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0 0 22px;
}

.case-tabs button {
  appearance: none;
  min-height: 38px;
  padding: 8px 18px;
  border: 1px solid rgba(20, 92, 70, 0.22);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.88);
  color: #145640;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 8px 22px rgba(15, 58, 43, 0.08);
}

.case-tabs button.is-active,
.case-tabs button:hover {
  border-color: #145640;
  background: #145640;
  color: #fff;
}

.case-panel {
  display: grid;
  gap: 20px;
  align-items: stretch;
}

.case-panel[hidden] {
  display: none !important;
}

.case-panel-video {
  overflow: hidden;
  border-radius: 18px;
  background: #03100c;
  box-shadow: 0 18px 46px rgba(15, 58, 43, 0.12);
}

.case-panel-video video {
  display: block;
  width: 100%;
  max-height: 70vh;
  object-fit: contain;
}

.case-gallery {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.case-gallery-item,
.case-placeholder {
  width: 100%;
  min-height: 220px;
  overflow: hidden;
  border: 0;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 18px 46px rgba(15, 58, 43, 0.12);
}

.case-gallery-item:first-of-type,
.case-gallery-item:nth-child(3n + 1) {
  grid-column: 1 / -1;
  min-height: 360px;
}

.case-gallery-item {
  display: block;
  padding: 0;
  cursor: zoom-in;
}

.case-gallery img,
.case-gallery-item img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.case-panel-body {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 28px;
  border: 1px solid rgba(20, 92, 70, 0.14);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 18px 46px rgba(15, 58, 43, 0.1);
}

.about-feature-image {
  margin: 0 0 26px;
  overflow: hidden;
  border: 1px solid rgba(20, 92, 70, 0.14);
  border-radius: 18px;
  background: #e9f4ef;
  box-shadow: 0 18px 46px rgba(15, 58, 43, 0.12);
}

.about-feature-image img {
  display: block;
  width: 100%;
  max-height: 520px;
  object-fit: cover;
}

.case-panel-kicker {
  width: fit-content;
  margin-bottom: 14px;
  padding: 5px 12px;
  border-radius: 999px;
  background: #d39a3a;
  color: #1e1609;
  font-weight: 800;
  font-size: 13px;
}

.case-panel-body h2 {
  margin: 0;
  color: #102b22;
  font-size: clamp(28px, 3vw, 42px);
  line-height: 1.18;
}

.case-panel-body p {
  margin: 16px 0 0;
  color: #506c63;
  font-size: 16px;
  line-height: 1.8;
}

.case-meta-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
}

.case-meta-pills span {
  padding: 6px 10px;
  border: 1px solid rgba(20, 92, 70, 0.18);
  border-radius: 999px;
  background: #eef8f5;
  color: #145640;
  font-size: 13px;
  font-weight: 700;
}

.case-panel-body small {
  margin-top: 18px;
  color: #789087;
}

.case-lightbox {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: grid;
  place-items: center;
  padding: 28px;
  background: rgba(3, 16, 12, 0.82);
}

.case-lightbox[hidden] {
  display: none !important;
}

.case-lightbox img {
  max-width: min(1180px, 96vw);
  max-height: 88vh;
  border-radius: 12px;
  object-fit: contain;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.38);
}

.case-lightbox button {
  position: fixed;
  top: 18px;
  right: 18px;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  color: #103b2e;
  font-size: 30px;
  line-height: 1;
  cursor: pointer;
}

body.case-lightbox-open {
  overflow: hidden;
}

@media (max-width: 767px) {
  .page-hero-cases + .section {
    padding-top: 14px !important;
    padding-bottom: 88px !important;
  }

  .case-tabs {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    margin: 0 0 12px;
    padding: 0;
    overflow: visible;
  }

  .case-tabs button {
    min-height: 36px;
    padding: 6px 8px;
    font-size: 12px;
    line-height: 1.25;
    white-space: normal;
    text-align: center;
  }

  .case-tabs button:first-child:nth-last-child(3),
  .case-tabs button:first-child:nth-last-child(3) ~ button:last-child {
    grid-column: auto;
  }

  .case-panel {
    grid-template-columns: minmax(0, 1fr);
    gap: 12px;
  }

  .case-gallery {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 10px;
    margin: 0;
    padding: 0 0 12px;
    min-height: 0;
    counter-reset: case-media;
  }

  .case-gallery-item,
  .case-placeholder,
  .case-gallery-item:first-of-type,
  .case-gallery-item:nth-child(3n + 1) {
    grid-column: auto;
    min-height: 0;
    max-width: none;
    aspect-ratio: auto;
    border-radius: 16px;
  }

  .case-panel-video {
    border-radius: 16px;
  }

  .case-panel-video video {
    max-height: 54vh;
  }

  .case-gallery-item {
    position: relative;
    min-height: 0 !important;
    counter-increment: case-media;
  }

  .case-gallery-item img {
    height: auto;
    object-fit: contain;
  }

  .case-gallery-item::after {
    content: counter(case-media);
    position: absolute;
    top: 10px;
    left: 10px;
    display: grid;
    width: 28px;
    height: 28px;
    place-items: center;
    border-radius: 50%;
    background: rgba(211, 154, 58, 0.94);
    color: #1e1609;
    font-size: 13px;
    font-weight: 900;
    box-shadow: 0 8px 18px rgba(8, 34, 25, 0.2);
  }

  .case-gallery-item.is-expanded {
    position: fixed;
    inset: 0;
    z-index: 10020;
    display: grid;
    width: 100vw !important;
    max-width: none !important;
    height: 100vh !important;
    margin: 0;
    padding: 0;
    place-items: center;
    border-radius: 0 !important;
    background: #03100c;
    box-shadow: none;
    cursor: zoom-out;
    aspect-ratio: auto;
  }

  .case-gallery-item.is-expanded::after {
    content: "再点返回";
    top: 14px;
    left: 50%;
    width: auto;
    height: auto;
    padding: 8px 13px;
    border-radius: 999px;
    color: #fff;
    background: rgba(3, 16, 12, 0.62);
    transform: translateX(-50%);
  }

  .case-gallery-item.is-expanded img {
    width: 100%;
    height: 100%;
    max-width: 100vw;
    max-height: 100vh;
    object-fit: contain;
  }

  .case-panel-body {
    padding: 16px;
    border-radius: 16px;
  }

  .case-panel-kicker {
    margin-bottom: 10px;
    font-size: 12px;
  }

  .case-panel-body h2 {
    font-size: 24px;
    text-align: center;
  }

  .case-panel-body p {
    margin-top: 10px;
    font-size: 14px;
    line-height: 1.6;
    text-align: center;
  }

  .case-meta-pills {
    justify-content: center;
    margin-top: 12px;
  }

  .case-panel-body small {
    margin-top: 12px;
    text-align: center;
  }

  .about-feature-image {
    margin-bottom: 18px;
    border-radius: 16px;
  }

  .about-feature-image img {
    max-height: none;
  }

  body.case-image-expanded {
    overflow: hidden;
  }
}

/* Mobile global navigation: visible key pills plus a clear all-pages toggle. */
@media (max-width: 767px) {
  .site-header .nav {
    justify-content: center !important;
    min-height: 58px !important;
  }

  .site-header .brand {
    flex: 0 1 auto !important;
    align-items: center !important;
    text-align: center;
  }

  .site-header .brand strong {
    max-width: calc(100vw - 34px) !important;
    text-align: center;
  }

  .site-header .brand span {
    width: 100%;
    text-align: center;
  }

  .site-header .nav > .menu-toggle {
    display: none !important;
  }

  .mobile-quick-nav-inner {
    display: grid !important;
    grid-template-columns: 0.62fr repeat(4, 1fr) 34px;
    gap: 5px !important;
    align-items: center;
    padding-top: 7px !important;
    padding-bottom: 7px !important;
  }

  .mobile-quick-nav a,
  .mobile-more-toggle {
    min-width: 0;
    min-height: 31px !important;
    padding: 4px 3px !important;
    border: 1px solid rgba(20, 92, 70, 0.16);
    border-radius: 999px;
    background: #fff;
    color: #145640;
    font-size: 12px !important;
    font-weight: 800;
    line-height: 1;
    text-align: center;
    white-space: nowrap;
    box-shadow: 0 4px 12px rgba(14, 56, 42, 0.06);
  }

  .mobile-quick-nav a.is-active,
  .mobile-more-nav a.is-active {
    border-color: #145640;
    background: #145640;
    color: #fff;
    box-shadow: 0 8px 20px rgba(20, 92, 70, 0.18);
  }

  .mobile-more-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 !important;
  }

  .mobile-more-toggle span,
  .mobile-more-toggle span::before,
  .mobile-more-toggle span::after {
    display: block;
    width: 15px;
    height: 2px;
    border-radius: 999px;
    background: currentColor;
    content: "";
  }

  .mobile-more-toggle span::before {
    transform: translateY(-5px);
  }

  .mobile-more-toggle span::after {
    transform: translateY(3px);
  }

  .mobile-more-toggle.is-active {
    border-color: #d39a3a;
    background: #fff8ec;
    color: #8a5b14;
  }

  .mobile-more-nav {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 7px;
    padding: 0 0 9px;
  }

  .mobile-more-nav[hidden] {
    display: none !important;
  }

  .mobile-more-nav a {
    min-height: 32px;
    padding: 6px 8px;
    border: 1px solid rgba(20, 92, 70, 0.16);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.94);
    color: #145640;
    font-size: 12px;
    font-weight: 800;
    line-height: 1;
    text-align: center;
    box-shadow: 0 5px 14px rgba(14, 56, 42, 0.07);
  }
}

/* Mobile product images: tap to expand, tap again to return. */
@media (max-width: 767px) {
  .product-image-expand-target.is-expanded {
    position: fixed !important;
    inset: 0;
    z-index: 10020;
    display: grid !important;
    width: 100vw !important;
    max-width: none !important;
    height: 100vh !important;
    min-height: 100vh !important;
    margin: 0 !important;
    padding: 0 !important;
    place-items: center;
    border: 0 !important;
    border-radius: 0 !important;
    background: #03100c !important;
    box-shadow: none !important;
    cursor: zoom-out;
    aspect-ratio: auto !important;
  }

  .product-image-expand-target.is-expanded::after {
    content: "再点返回";
    position: fixed;
    top: 14px;
    left: 50%;
    z-index: 1;
    padding: 8px 13px;
    border-radius: 999px;
    background: rgba(3, 16, 12, 0.62);
    color: #fff;
    font-size: 13px;
    font-weight: 800;
    transform: translateX(-50%);
  }

  .product-image-expand-target.is-expanded img {
    width: 100% !important;
    height: 100% !important;
    max-width: 100vw;
    max-height: 100vh;
    object-fit: contain !important;
  }

  .product-image-expand-target.is-expanded figcaption,
  .product-image-expand-target.is-expanded::before {
    display: none !important;
  }

  body.product-image-expanded {
    overflow: hidden;
  }
}

/* Mobile product detail: make the back pill compact and keep media higher. */
@media (max-width: 767px) {
  .compact-product-hero {
    padding: 6px 0 7px !important;
  }

  .compact-product-hero .product-hero-copy {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 5px 8px;
    align-items: center;
  }

  .compact-product-hero .product-hero-copy h1 {
    grid-column: 1;
    grid-row: 1;
    margin: 0 !important;
    font-size: 24px !important;
    line-height: 1.18 !important;
  }

  .compact-product-hero .back-link {
    grid-column: 2;
    grid-row: 1;
    min-height: 30px !important;
    padding: 4px 9px !important;
    font-size: 12px !important;
    white-space: nowrap;
  }

  .compact-product-hero .product-hero-copy p {
    grid-column: 1 / -1;
    margin: 0 !important;
    font-size: 13px !important;
    line-height: 1.45 !important;
    -webkit-line-clamp: 2;
  }

  .product-detail-main {
    padding-top: 8px !important;
  }

  .product-detail-stage {
    gap: 10px !important;
  }

  .product-detail-stage .product-gallery-slide {
    min-height: 240px !important;
  }

  .product-detail-stage .product-gallery-slide img {
    max-height: 42vh !important;
  }

  .product-gallery-thumbs {
    gap: 8px !important;
  }

  .product-gallery-thumb {
    min-height: 74px !important;
    padding: 5px !important;
  }

  .product-gallery-thumb img {
    height: 48px !important;
  }
}
