/* ========================================
   Shenze Textile - Design System CSS
   Based on design.pen tokens
   ======================================== */

/* CSS Custom Properties (Design Tokens) */
:root {
  /* Surfaces */
  --surface-primary: #FAF8F5;
  --surface-secondary: #F3EFEA;
  --surface-inverse: #1C1C1C;
  --surface-accent: #2C3E50;

  /* Foreground */
  --foreground-primary: #1C1C1C;
  --foreground-secondary: #5C5C5C;
  --foreground-muted: #8C8C8C;
  --foreground-inverse: #FFFFFF;

  /* Accent */
  --accent-primary: #C5855A;
  --accent-hover: #B0754A;
  --accent-cta: #D4916E;
  --success: #5A8F7B;
  --certification-blue: #2C5F7C;

  /* Borders */
  --border-subtle: #E0DCD6;
  --border-default: #C5BFB6;

  /* Typography */
  --font-heading: 'Playfair Display', Georgia, serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  /* Spacing scale */
  --spacing-xs: 0.25rem;
  --spacing-sm: 0.5rem;
  --spacing-md: 1rem;
  --spacing-lg: 1.5rem;
  --spacing-xl: 2rem;
  --spacing-2xl: 3rem;
  --spacing-3xl: 4rem;
  --spacing-4xl: 5rem;
  --spacing-5xl: 7.5rem;

  /* Border radius */
  --rounded-none: 0;
  --rounded-sm: 0.25rem;
  --rounded-md: 0.5rem;
  --rounded-lg: 1rem;

  /* Font sizes */
  --text-xs: 0.75rem;
  --text-sm: 0.875rem;
  --text-base: 1rem;
  --text-lg: 1.125rem;
  --text-xl: 1.5rem;
  --text-2xl: 2rem;
  --text-3xl: 2.5rem;
  --text-4xl: 3rem;
  --text-5xl: 3.5rem;

  /* Header height (mobile-nav aligns below it) */
  --header-h: 4.5rem;
  --adminbar-h: 0rem;
}

/* Reset */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font-body);
  font-size: var(--text-base);
  color: var(--foreground-primary);
  background: var(--surface-primary);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { cursor: pointer; font-family: inherit; border: none; background: none; }
.container { width: 100%; max-width: 1280px; margin: 0 auto; padding: 0 var(--spacing-lg); }

/* ========================================
   TYPOGRAPHY
   ======================================== */
.section-eyebrow {
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.125rem;
  text-transform: uppercase;
  color: var(--accent-primary);
}
.section-title {
  font-family: var(--font-heading);
  font-size: var(--text-3xl);
  font-weight: 700;
  color: var(--foreground-primary);
}
.section-subtitle {
  font-family: var(--font-body);
  font-size: var(--text-base);
  color: var(--foreground-secondary);
  max-width: 560px;
  text-align: center;
  line-height: 1.6;
}

/* ========================================
   BUTTONS
   ======================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--spacing-sm);
  padding: 0.75rem 1.75rem;
  border-radius: var(--rounded-sm);
  font-family: var(--font-body);
  font-size: var(--text-base);
  font-weight: 600;
  text-align: center;
  transition: all 0.3s ease;
  white-space: nowrap;
  cursor: pointer;
}
.btn-cta {
  background: var(--accent-cta);
  color: #FFFFFF;
}
.btn-cta:hover { background: var(--accent-hover); color: #fff; }
.btn-secondary {
  background: transparent;
  color: var(--accent-primary);
  border: 0.0938rem solid var(--accent-primary);
}
.btn-secondary:hover { background: var(--accent-primary); color: #fff; }
.btn-outline-white {
  background: transparent;
  color: #FFFFFF;
  border: 0.0938rem solid #FFFFFF;
}
.btn-outline-white:hover { background: #FFFFFF; color: var(--foreground-primary); }
.btn-sm { padding: 0.5rem 1.25rem; font-size: var(--text-sm); }

/* ========================================
   HEADER / NAVIGATION
   ======================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: #FFFFFF;
  border-bottom: 0.0625rem solid var(--border-subtle);
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-h, 4.5rem);
}
.site-logo {
  display: flex;
  align-items: center;
  max-width: 200px;
  height: 2.75rem;
}
.site-logo img { height: 2.75rem; width: auto; }
/* === WordPress Nav Menu (Appearance → Menus) === */
.primary-nav { display: flex; align-items: center; }

.nav-menu {
  display: flex;
  align-items: center;
  gap: var(--spacing-xl);
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-menu > li {
  position: relative;
  list-style: none;
  /* Bridge the gap between trigger and dropdown */
  padding-bottom: 1.25rem;
  margin-bottom: -1.25rem;
}
.nav-menu > li > a {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--foreground-secondary);
  transition: color 0.2s ease;
  text-decoration: none;
  cursor: pointer;
  white-space: nowrap;
}
.nav-menu > li > a:hover { color: var(--accent-primary); }

/* Active / current page highlighting (auto-added by WordPress) */
.nav-menu > li.current-menu-item > a,
.nav-menu > li.current_page_item > a,
.nav-menu > li.current-menu-ancestor > a {
  color: var(--accent-primary);
}

/* Dropdown arrow for parent items */
.dropdown-arrow {
  width: 0.625rem;
  height: 0.375rem;
  flex-shrink: 0;
  transition: transform 0.2s ease;
  opacity: 0.6;
}
.nav-menu > li:hover > a .dropdown-arrow,
.nav-menu > li.menu-item-has-children:hover > a .dropdown-arrow {
  transform: rotate(180deg);
  opacity: 1;
}

/* === Dropdown Menu (up to 3 levels) === */
.nav-menu .sub-menu {
  position: absolute;
  top: calc(100% - 0.25rem);
  left: -1.25rem;
  min-width: 220px;
  background: #FFFFFF;
  border: 0.0625rem solid var(--border-subtle);
  border-radius: var(--rounded-md);
  box-shadow: 0 0.75rem 2.5rem rgba(0,0,0,0.1);
  padding: 0.5rem 0;
  list-style: none;
  margin: 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(0.25rem);
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
  z-index: 1001;
}
/* Level 1: dropdown below the top nav item */
.nav-menu > li:hover > .sub-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.nav-menu .sub-menu li {
  position: relative;
  list-style: none;
}
.nav-menu .sub-menu li a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.625rem 1.5rem;
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--foreground-secondary);
  transition: background 0.15s ease, color 0.15s ease;
  text-decoration: none;
  white-space: nowrap;
}
.nav-menu .sub-menu li a:hover {
  background: var(--surface-secondary);
  color: var(--accent-primary);
}
.nav-menu .sub-menu li.current-menu-item > a {
  background: var(--surface-secondary);
  color: var(--accent-primary);
}

/* Level 2 & deeper: fly out to the right on hover */
.nav-menu .sub-menu .sub-menu {
  top: -0.5rem;
  left: calc(100% + 0.0625rem);
  transform: translateX(0.25rem);
}
.nav-menu .sub-menu li:hover > .sub-menu {
  opacity: 1;
  visibility: visible;
  transform: translateX(0);
}

/* Right-facing caret inside sub-menu items */
.dropdown-arrow-right {
  width: 0.625rem;
  height: 0.625rem;
  flex-shrink: 0;
  opacity: 0.45;
  margin-left: auto;
}
.nav-menu .sub-menu li:hover > a .dropdown-arrow-right {
  opacity: 1;
  transform: translateX(0.125rem);
}

/* === Mobile Menu Toggle (hamburger → X morph) === */
.mobile-menu-toggle {
  display: none;
  position: relative;
  width: 2.625rem;
  height: 2.625rem;
  padding: 0;
  cursor: pointer;
  background: transparent;
  border: none;
  align-items: center;
  justify-content: center;
}
.mobile-menu-toggle .bar {
  position: absolute;
  display: block;
  width: 1.5rem;
  height: 0.125rem;
  background: var(--foreground-primary);
  border-radius: 0.125rem;
  left: 50%;
  transform: translateX(-50%);
  transition: transform 0.35s ease, opacity 0.25s ease;
}
.mobile-menu-toggle .bar-1 { top: 0.9375rem; }
.mobile-menu-toggle .bar-2 { top: 1.25rem; }
.mobile-menu-toggle .bar-3 { top: 1.5625rem; }

/* Open: bars morph into an X */
.mobile-menu-toggle.is-open .bar-1 {
  transform: translateX(-50%) translateY(0.3125rem) rotate(45deg);
}
.mobile-menu-toggle.is-open .bar-2 {
  opacity: 0;
  transform: translateX(-50%) scaleX(0);
}
.mobile-menu-toggle.is-open .bar-3 {
  transform: translateX(-50%) translateY(-0.3125rem) rotate(-45deg);
}

/* === Mobile Menu List === */
.nav-menu-mobile {
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-menu-mobile li { list-style: none; }

/* === Top-level items — card style === */
.nav-menu-mobile > li {
  margin-bottom: 0.375rem;
}
.nav-menu-mobile > li > a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.9375rem 1.125rem;
  font-size: 1.0625rem;
  font-weight: 600;
  letter-spacing: 0.0125rem;
  color: var(--foreground-primary);
  background: var(--surface-primary);
  border-radius: var(--rounded-md);
  text-decoration: none;
  transition: background 0.2s ease, color 0.2s ease, transform 0.15s ease;
  position: relative;
}
.nav-menu-mobile > li > a:hover {
  color: var(--accent-primary);
  background: var(--surface-secondary);
}
.nav-menu-mobile > li.current-menu-item > a,
.nav-menu-mobile > li.current_page_item > a,
.nav-menu-mobile > li.current-menu-ancestor > a {
  color: var(--accent-primary);
  background: #fff7f1;
}
.nav-menu-mobile > li.sub-open > a {
  color: var(--accent-primary);
  background: var(--surface-secondary);
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
}

/* Chevron indicator on parent items */
.nav-menu-mobile > li.menu-item-has-children > a::after {
  content: '';
  width: 0.5rem;
  height: 0.5rem;
  border-right: 0.125rem solid var(--foreground-muted);
  border-bottom: 0.125rem solid var(--foreground-muted);
  transform: rotate(45deg);
  transition: transform 0.3s ease, border-color 0.3s ease;
  margin-right: 0.25rem;
  flex-shrink: 0;
}
.nav-menu-mobile > li.sub-open > a::after {
  transform: rotate(-135deg);
  border-color: var(--accent-primary);
}

/* === Sub-menus (accordion) — connected panel look === */
.nav-menu-mobile .mobile-submenu {
  list-style: none;
  margin: 0;
  padding: 0;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
  background: #fff;
  border-left: 0.0625rem solid var(--border-subtle);
  border-right: 0.0625rem solid var(--border-subtle);
  border-bottom: 0.0625rem solid var(--border-subtle);
  border-bottom-left-radius: var(--rounded-md);
  border-bottom-right-radius: var(--rounded-md);
  margin-bottom: 0.125rem;
}
.nav-menu-mobile li.sub-open > .mobile-submenu {
  border-bottom: 0.0625rem solid var(--border-subtle);
}
.nav-menu-mobile .mobile-submenu li a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 1.125rem 0.75rem 1.625rem;
  font-size: var(--text-base);
  font-weight: 500;
  color: var(--foreground-secondary);
  border-bottom: 0.0625rem solid #f3f0ec;
  text-decoration: none;
  transition: background 0.15s ease, color 0.15s ease, padding-left 0.2s ease;
  position: relative;
}
.nav-menu-mobile .mobile-submenu li:last-child > a { border-bottom: none; }
.nav-menu-mobile .mobile-submenu li a:hover {
  color: var(--accent-primary);
  background: var(--surface-secondary);
  padding-left: 1.875rem;
}
.nav-menu-mobile .mobile-submenu li.current-menu-item > a {
  color: var(--accent-primary);
  background: #fff7f1;
}

/* Nested sub-menu (third level) — indented line + smaller */
.nav-menu-mobile .mobile-submenu .mobile-submenu {
  border-left: 0.125rem solid var(--accent-primary);
  border-right: none;
  border-bottom: none;
  border-radius: 0;
  margin: 0 0.75rem 0 0;
}
.nav-menu-mobile .mobile-submenu .mobile-submenu li a {
  font-size: var(--text-sm);
  font-weight: 400;
  color: var(--foreground-muted);
  padding-left: 1.875rem;
}
.nav-menu-mobile .mobile-submenu .mobile-submenu li a:hover {
  color: var(--accent-primary);
  padding-left: 2.125rem;
}

/* Mobile sub-menu caret (right arrow for deeper levels) */
.nav-menu-mobile .mobile-submenu li.menu-item-has-children > a::after {
  content: '';
  width: 0.375rem;
  height: 0.375rem;
  border-right: 0.125rem solid var(--foreground-muted);
  border-bottom: 0.125rem solid var(--foreground-muted);
  transform: rotate(-45deg);
  transition: transform 0.3s ease;
  margin-right: 0.375rem;
  flex-shrink: 0;
}
.nav-menu-mobile .mobile-submenu li.menu-item-has-children.sub-open > a::after {
  transform: rotate(45deg);
  border-color: var(--accent-primary);
}

/* ========================================
   HERO SECTION
   ======================================== */
.hero-slider {
  position: relative;
  width: 100%;
  height: 40rem;
  overflow: hidden;
}
.hero-slide {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.8s ease, visibility 0.8s ease;
  z-index: 0;
}
.hero-slide.is-active {
  opacity: 1;
  visibility: visible;
  z-index: 1;
}
.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  background: #2C3E50;
}
.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
}
.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--spacing-lg);
  padding: 0 var(--spacing-lg);
}
.hero-eyebrow {
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.1875rem;
  color: var(--accent-cta);
  text-transform: uppercase;
}
.hero-headline {
  font-family: var(--font-heading);
  font-size: var(--text-5xl);
  font-weight: 700;
  color: #FFFFFF;
  max-width: 720px;
  line-height: 1.15;
}
.hero-subtitle {
  font-size: var(--text-lg);
  color: rgba(255, 255, 255, 0.85);
  max-width: 580px;
  line-height: 1.6;
}
.hero-ctas { display: flex; gap: var(--spacing-md); flex-wrap: wrap; justify-content: center; }

/* Slider Arrows */
.slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;
  width: 2.875rem;
  height: 2.875rem;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  border: 0.0625rem solid rgba(255, 255, 255, 0.3);
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease;
  backdrop-filter: blur(0.125rem);
}
.slider-arrow:hover {
  background: rgba(255, 255, 255, 0.25);
  border-color: rgba(255, 255, 255, 0.5);
}
.slider-arrow-prev { left: 1.5rem; }
.slider-arrow-next { right: 1.5rem; }

/* Slider Dots */
.slider-dots {
  position: absolute;
  bottom: 1.75rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  gap: 0.625rem;
  align-items: center;
}
.slider-dot {
  width: 0.625rem;
  height: 0.625rem;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, 0.4);
  cursor: pointer;
  padding: 0;
  transition: all 0.3s ease;
}
.slider-dot:hover { background: rgba(255, 255, 255, 0.7); }
.slider-dot.is-active {
  background: var(--accent-cta);
  width: 1.75rem;
  border-radius: 0.3125rem;
}

/* ========================================
   TRUST BAR
   ======================================== */
.trust-bar {
  background: var(--surface-inverse);
  padding: 1.25rem 0;
}
.trust-bar .container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--spacing-3xl);
  flex-wrap: wrap;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: var(--spacing-sm);
  color: var(--foreground-inverse);
  font-size: var(--text-sm);
  font-weight: 500;
}
.trust-item .icon {
  width: 1.25rem;
  height: 1.25rem;
  color: var(--accent-cta);
}

/* ========================================
   SECTION LAYOUT
   ======================================== */
.section { padding: var(--spacing-4xl) 0; }
.section-white { background: #FFFFFF; }
.section-secondary { background: var(--surface-secondary); }
.section-accent { background: var(--surface-accent); }
.section-inverse { background: var(--surface-inverse); }

.section-header {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--spacing-sm);
  margin-bottom: var(--spacing-2xl);
}
.section-header .section-eyebrow {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.section-header .section-eyebrow::before,
.section-header .section-eyebrow::after {
  content: '';
  display: block;
  width: 1rem;
  height: 0.0625rem;
  background: var(--accent-primary);
}

/* ========================================
   PRODUCT CARDS
   ======================================== */
.products-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--spacing-lg);
}
.product-card {
  background: var(--surface-primary);
  border-radius: var(--rounded-md);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.product-card:hover {
  transform: translateY(-0.25rem);
  box-shadow: 0 0.75rem 2.5rem rgba(0,0,0,0.08);
}
.product-card-image {
  width: 100%;
  height: 16.25rem;
  overflow: hidden;
  background: var(--surface-secondary);
}
.product-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.product-card:hover .product-card-image img { transform: scale(1.05); }
.product-card-info {
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.375rem;
}
.product-card-title {
  font-family: var(--font-heading);
  font-size: var(--text-lg);
  font-weight: 600;
  color: var(--foreground-primary);
}
.product-card-desc {
  font-size: var(--text-sm);
  color: var(--foreground-secondary);
  line-height: 1.5;
}
.product-card-link {
  display: inline-block;
  margin-top: var(--spacing-sm);
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--accent-primary);
}
.product-card-link:hover { color: var(--accent-hover); }
.view-all-wrap { text-align: center; margin-top: var(--spacing-xl); }

/* ========================================
   ADVANTAGE CARDS
   ======================================== */
.advantages-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--spacing-lg);
}
.advantage-card {
  background: #FFFFFF;
  border-radius: var(--rounded-md);
  padding: var(--spacing-xl);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--spacing-md);
  transition: transform 0.3s ease;
}
.advantage-card:hover { transform: translateY(-0.125rem); }
.advantage-card .icon {
  width: 2.5rem;
  height: 2.5rem;
  color: var(--accent-primary);
}
.advantage-card .number {
  font-family: var(--font-heading);
  font-size: var(--text-3xl);
  font-weight: 700;
  color: var(--foreground-primary);
}
.advantage-card .label {
  font-size: var(--text-sm);
  color: var(--foreground-secondary);
}

/* ========================================
   CERTIFICATION BADGES
   ======================================== */
.certs-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--spacing-lg);
}
.cert-card {
  background: var(--surface-primary);
  border-radius: var(--rounded-md);
  padding: 1.5rem 1rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--spacing-md);
}
.cert-card .cert-icon {
  width: 2.667rem;
  height: 2.667rem;
  color: var(--accent-primary);
}
.cert-card .cert-name {
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--foreground-primary);
}
.clients-note {
  text-align: center;
  margin-top: var(--spacing-md);
  font-size: var(--text-sm);
  color: var(--foreground-muted);
}

/* ========================================
   FACTORY GALLERY
   ======================================== */
.factory-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--spacing-md);
}
.factory-image {
  width: 100%;
  height: 17.5rem;
  border-radius: var(--rounded-md);
  overflow: hidden;
  background: var(--surface-secondary);
}
.factory-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.factory-image:hover img { transform: scale(1.05); }
.factory-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--spacing-3xl);
  margin-top: var(--spacing-2xl);
  text-align: center;
}
.factory-stat-number {
  font-family: var(--font-heading);
  font-size: var(--text-2xl);
  font-weight: 700;
  color: var(--accent-primary);
}
.factory-stat-label {
  font-size: var(--text-sm);
  color: var(--foreground-secondary);
  margin-top: 0.25rem;
}

/* ========================================
   NEWS CARDS
   ======================================== */
.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--spacing-lg);
}
.news-card {
  background: #FFFFFF;
  border-radius: var(--rounded-md);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.news-card .news-image {
  display: block;
  border-radius: var(--rounded-md);
  overflow: hidden;
  aspect-ratio: 16 / 9;
}
.news-card .news-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.news-date {
  font-size: var(--text-xs);
  font-weight: 500;
  color: var(--foreground-muted);
}
.news-title {
  font-family: var(--font-heading);
  font-size: var(--text-lg);
  font-weight: 600;
  color: var(--foreground-primary);
  line-height: 1.4;
}
.news-excerpt {
  font-size: var(--text-sm);
  color: var(--foreground-secondary);
  line-height: 1.6;
}
.news-read-more {
  display: flex;
  align-items: center;
  gap: 0.375rem;
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--accent-primary);
}
.news-read-more:hover { color: var(--accent-hover); }
.news-read-more svg { width: 0.875rem; height: 0.875rem; }

/* ========================================
   CTA STRIP
   ======================================== */
.cta-strip {
  background: var(--surface-accent);
  padding: var(--spacing-4xl) 0;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--spacing-lg);
}
.cta-strip-title {
  font-family: var(--font-heading);
  font-size: var(--text-3xl);
  font-weight: 700;
  color: #FFFFFF;
}
.cta-strip-subtitle {
  font-size: var(--text-base);
  color: rgba(255, 255, 255, 0.8);
  max-width: 520px;
  line-height: 1.6;
}
.cta-strip-buttons { display: flex; gap: var(--spacing-md); flex-wrap: wrap; justify-content: center; }

/* ========================================
   FOOTER
   ======================================== */
.site-footer {
  background: var(--surface-inverse);
  color: var(--foreground-inverse);
  padding: var(--spacing-3xl) 0 var(--spacing-2xl);
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: var(--spacing-3xl);
}
.footer-brand-name {
  font-family: var(--font-heading);
  font-size: 1.375rem;
  font-weight: 700;
  color: #FFFFFF;
}
.footer-tagline {
  font-size: var(--text-sm);
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.6;
  max-width: 320px;
  margin-top: var(--spacing-md);
}
.footer-col-title {
  font-size: var(--text-sm);
  font-weight: 600;
  letter-spacing: 0.0625rem;
  color: var(--accent-cta);
  margin-bottom: var(--spacing-md);
}
.footer-col a {
  display: block;
  font-size: var(--text-sm);
  color: rgba(255, 255, 255, 0.6);
  padding: 0.25rem 0;
  transition: color 0.2s ease;
}
.footer-col a:hover { color: #FFFFFF; }

/* Footer nav menus (from Appearance → Menus) */
.footer-menu {
  list-style: none;
  margin: 0;
  padding: 0;
}
.footer-menu li {
  list-style: none;
}
.footer-menu li a {
  display: block;
  font-size: var(--text-sm);
  color: rgba(255, 255, 255, 0.6);
  padding: 0.25rem 0;
  transition: color 0.2s ease;
}
.footer-menu li a:hover { color: #FFFFFF; }
.footer-divider {
  height: 0.0625rem;
  background: rgba(255, 255, 255, 0.15);
  margin: var(--spacing-2xl) 0;
}
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.footer-copyright {
  font-size: var(--text-xs);
  color: rgba(255, 255, 255, 0.4);
}
.footer-social {
  display: flex;
  gap: var(--spacing-md);
}
.footer-social a {
  width: 1.125rem;
  height: 1.125rem;
  color: rgba(255, 255, 255, 0.5);
  transition: color 0.2s ease;
}
.footer-social a:hover { color: #FFFFFF; }

/* ========================================
   PLACEHOLDER
   ======================================== */
.placeholder-img {
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #E8E3DB, #D5CFC7, #E0D9D0);
  width: 100%;
  height: 100%;
}
.placeholder-img::after {
  content: '🖼️';
  font-size: 3rem;
  opacity: 0.3;
}

/* ========================================
   MOBILE NAVIGATION
   ======================================== */
.mobile-nav {
  display: none;
  position: fixed;
  top: calc(var(--header-h) + var(--adminbar-h));
  left: 0;
  right: 0;
  bottom: 0;
  background: #FFFFFF;
  z-index: 999;
  padding: 0.5rem var(--spacing-xl) var(--spacing-xl);
  flex-direction: column;
  gap: 0;
  overflow-y: auto;
  border-top: 0.0625rem solid var(--border-subtle);
  animation: mobileNavIn 0.3s ease;
}
/* When logged in, WordPress adds .admin-bar to <body> and a 2rem bar */
body.admin-bar {
  --adminbar-h: 2rem;
}
@media screen and (max-width: 782px) {
  body.admin-bar { --adminbar-h: 2.875rem; }
}
.mobile-nav.active { display: flex; }
.mobile-nav .btn {
  margin-top: 1rem;
  width: 100%;
}

@keyframes mobileNavIn {
  from { opacity: 0; transform: translateY(-0.75rem); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ========================================
   RESPONSIVE - TABLET
   ======================================== */
@media (max-width: 1024px) {
  :root {
    --text-5xl: 2.625rem;
    --text-3xl: 2rem;
    --text-2xl: 1.75rem;
    --spacing-4xl: 3.75rem;
    --spacing-3xl: 3rem;
  }
  .hero-slider { height: 520px; }
  .products-grid { grid-template-columns: repeat(2, 1fr); }
  .advantages-grid { grid-template-columns: repeat(2, 1fr); }
  .certs-grid { grid-template-columns: repeat(3, 1fr); }
  .factory-grid { grid-template-columns: repeat(2, 1fr); }
  .factory-stats { grid-template-columns: repeat(2, 1fr); }
  .news-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .primary-nav { display: none; }
  .header-cta-desktop { display: none; }
  .mobile-menu-toggle { display: flex; }
  .trust-bar .container { gap: var(--spacing-xl); }
}

/* ========================================
   RESPONSIVE - MOBILE
   ======================================== */
@media (max-width: 640px) {
  :root {
    --text-5xl: 2rem;
    --text-3xl: 1.75rem;
    --text-2xl: 1.5rem;
    --text-xl: 1.25rem;
    --text-lg: 1rem;
    --spacing-4xl: 3rem;
    --spacing-3xl: 2.25rem;
    --spacing-2xl: 2rem;
    --spacing-xl: 1.5rem;
  }
  .container { padding: 0 var(--spacing-md); }
  .site-header .container { height: 60px; }
  :root { --header-h: 3.75rem; }

  .hero-slider { height: 480px; }
  .hero-headline { max-width: 100%; font-size: var(--text-5xl); }
  .hero-subtitle { font-size: var(--text-sm); }
  .slider-arrow { width: 36px; height: 36px; }
  .slider-arrow-prev { left: 12px; }
  .slider-arrow-next { right: 12px; }

  .trust-bar .container { gap: var(--spacing-lg); justify-content: center; }

  .products-grid { grid-template-columns: 1fr; }
  .advantages-grid { grid-template-columns: 1fr; }
  .certs-grid { grid-template-columns: repeat(2, 1fr); }
  .factory-grid { grid-template-columns: 1fr; }
  .factory-image { height: 220px; }
  .factory-stats { grid-template-columns: repeat(2, 1fr); gap: var(--spacing-lg); }
  .news-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: var(--spacing-xl); }
  .footer-quick-links,
  .footer-products { display: none; }
  .footer-bottom { flex-direction: column; gap: var(--spacing-md); text-align: center; }

  .btn { padding: 10px 24px; font-size: var(--text-sm); }
  .hero-ctas { flex-direction: column; width: 100%; max-width: 280px; }
  .hero-ctas .btn { width: 100%; }
  .cta-strip-buttons { flex-direction: column; width: 100%; max-width: 280px; }
  .cta-strip-buttons .btn { width: 100%; }

  .section-title { font-size: var(--text-3xl); }
  .site-logo { max-width: 150px; height: 34px; }
}


/* ========================================
   ABOUT US — GenerateBlocks className styling
   (GB containers/headlines/texts use these classes)
   ======================================== */
.sz-about-hero {
  background: var(--surface-accent);
}
.sz-about-hero .gb-inside-container {
  max-width: 720px;
  margin: 0 auto;
  padding: 5rem 1.5rem;
  text-align: center;
}
.sz-center { text-align: center; }
.sz-eyebrow {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.125rem;
  text-transform: uppercase;
  color: var(--accent-primary);
  margin-bottom: 0.5rem;
}
.sz-eyebrow-light { color: var(--accent-cta); }
.sz-hero-title {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 700;
  color: #FFFFFF;
  line-height: 1.2;
  margin: 0.5rem 0;
}
.sz-hero-sub {
  font-size: 1.125rem;
  line-height: 1.6;
  color: rgba(255,255,255,0.85);
  max-width: 600px;
  margin: 0.5rem auto 0;
}
.sz-title {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 700;
  color: var(--foreground-primary);
  margin: 0 0 1rem;
}
.sz-subtitle {
  font-size: 1rem;
  color: var(--foreground-secondary);
  margin: 0 auto 1.5rem;
  max-width: 560px;
}
.sz-body {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--foreground-secondary);
  margin-bottom: 0.75rem;
  max-width: 720px;
}
.sz-section .gb-inside-container {
  max-width: 1100px;
  margin: 0 auto;
}
.sz-section {
  padding: 4rem 1.5rem;
}
.sz-section-white { background: #FFFFFF; }
.sz-section-tint { background: var(--surface-secondary); }

/* Stats */
.sz-stat-value {
  font-family: var(--font-heading);
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--accent-primary);
  margin: 0 0 0.25rem;
}
.sz-stat-label {
  font-size: 0.875rem;
  color: var(--foreground-secondary);
  margin: 0;
}
.sz-stats-grid .gb-inside-container { padding: 0; }

/* Process cards */
.sz-process-card {
  background: var(--surface-primary);
  border-radius: var(--rounded-md);
  padding: 1.5rem 1rem;
}
.sz-process-title {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--foreground-primary);
  line-height: 1.4;
  margin: 0 0 0.5rem;
}
.sz-process-desc {
  font-size: 0.875rem;
  line-height: 1.5;
  color: var(--foreground-secondary);
  max-width: 260px;
  margin: 0 auto;
}
.sz-process-grid .gb-inside-container { padding: 0; }

/* QC list */
.sz-qc-wrap ul {
  margin: 1rem 0 0;
  padding: 0;
  list-style: none;
}
.sz-qc-wrap ul li {
  padding: 0.5rem 0 0.5rem 1.625rem;
  position: relative;
  color: var(--foreground-secondary);
  font-size: 0.875rem;
}
.sz-qc-wrap ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.9375rem;
  width: 0.875rem;
  height: 0.875rem;
  border-radius: 50%;
  background: var(--accent-primary);
  opacity: 0.5;
}

/* Clients */
.sz-clients {
  font-size: 0.875rem;
  line-height: 2;
  color: var(--foreground-muted);
}

/* CTA */
.sz-cta {
  background: var(--surface-accent);
}
.sz-cta .gb-inside-container {
  max-width: 640px;
  margin: 0 auto;
  padding: 5rem 1.5rem;
  text-align: center;
}
.sz-cta-title {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 700;
  color: #FFFFFF;
  margin: 0 0 0.75rem;
}
.sz-cta-sub {
  font-size: 1rem;
  line-height: 1.6;
  color: rgba(255,255,255,0.8);
  max-width: 520px;
  margin: 0 auto;
}

/* Responsive */
@media (max-width: 1024px) {
  .sz-hero-title { font-size: 32px; }
  .sz-title { font-size: 28px; }
  .sz-stat-value { font-size: 24px; }
}
@media (max-width: 640px) {
  .sz-section { padding: 40px 20px; }
  .sz-about-hero .gb-inside-container,
  .sz-cta .gb-inside-container { padding: 48px 20px; }
  .sz-hero-title { font-size: 28px; }
  .sz-title { font-size: 24px; }
}

/* ========================================
   CONTACT FORM 7 (Contact page)
   Matches design.pen Inquiry Form styling
   ======================================== */
.shenze-cf7 p {
  margin: 0 0 1.25rem;
}
.shenze-cf7 label {
  display: block;
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--foreground-primary);
  margin-bottom: 0.375rem;
}
.shenze-cf7 input[type="text"],
.shenze-cf7 input[type="email"],
.shenze-cf7 input[type="tel"],
.shenze-cf7 textarea {
  width: 100%;
  padding: 0.75rem 0.875rem;
  font-family: var(--font-body);
  font-size: var(--text-sm);
  color: var(--foreground-secondary);
  background: #FFFFFF;
  border: 1px solid var(--border-subtle);
  border-radius: var(--rounded-sm);
  box-sizing: border-box;
  transition: border-color 0.15s ease;
}
.shenze-cf7 input:focus,
.shenze-cf7 textarea:focus {
  outline: none;
  border-color: var(--accent-primary);
}
.shenze-cf7 .wpcf7-submit {
  background: var(--accent-cta);
  color: #FFFFFF;
  font-family: var(--font-body);
  font-size: var(--text-base);
  font-weight: 600;
  padding: 0.75rem 1.75rem;
  border: none;
  border-radius: var(--rounded-sm);
  cursor: pointer;
  transition: background 0.15s ease;
}
.shenze-cf7 .wpcf7-submit:hover {
  background: var(--accent-hover);
}
.shenze-cf7 .wpcf7-not-valid {
  border-color: #dc3232 !important;
}
.shenze-cf7 .wpcf7-not-valid-tip {
  color: #dc3232;
  font-size: var(--text-xs);
  margin-top: 0.25rem;
}
.shenze-cf7 .wpcf7-response-output {
  margin: 1rem 0 0;
  padding: 0.75rem 1rem;
  border-radius: var(--rounded-sm);
  font-family: var(--font-body);
  font-size: var(--text-sm);
  border-width: 1px;
}
.shenze-cf7 .wpcf7-mail-sent-ok {
  border-color: var(--success);
  color: var(--success);
  background: rgba(90, 143, 123, 0.08);
}
.shenze-cf7 .wpcf7-mail-sent-ng,
.shenze-cf7 .wpcf7-validation-errors,
.shenze-cf7 .wpcf7-spam-blocked {
  border-color: #dc3232;
  color: #dc3232;
  background: rgba(220, 50, 50, 0.06);
}

/* ========================================
   BLOG PAGE (Query Loop cards + pagination)
   ======================================== */
.blog-page-content .wp-block-post-template {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  list-style: none;
  padding: 0;
  margin: 0;
}
@media (max-width: 767px) {
  .blog-page-content .wp-block-post-template {
    grid-template-columns: 1fr;
  }
}
.blog-page-content .wp-block-post {
  background: var(--surface-secondary);
  border-radius: var(--rounded-md);
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin: 0;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.blog-page-content .wp-block-post:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.06);
}
.blog-page-content .wp-block-post-date {
  font-family: var(--font-body);
  font-size: var(--text-xs);
  color: var(--foreground-muted);
}
.blog-page-content .wp-block-post-title {
  font-family: var(--font-heading);
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--foreground-primary);
  line-height: 1.35;
  margin: 0;
}
.blog-page-content .wp-block-post-title a {
  color: inherit;
  text-decoration: none;
}
.blog-page-content .wp-block-post-title a:hover {
  color: var(--accent-primary);
}
.blog-page-content .wp-block-post-excerpt {
  font-family: var(--font-body);
  font-size: var(--text-sm);
  color: var(--foreground-secondary);
  line-height: 1.6;
  margin: 0;
}
.blog-page-content .wp-block-post-excerpt__more-text {
  display: none;
}
.blog-page-content .wp-block-read-more {
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--accent-primary);
  text-decoration: none;
  margin-top: auto;
}
.blog-page-content .wp-block-read-more:hover {
  color: var(--accent-hover);
}
.blog-page-content .wp-block-query-pagination {
  margin: 2.5rem 0 0;
  gap: 0.5rem;
  flex-wrap: wrap;
}
.blog-page-content .wp-block-query-pagination .page-numbers,
.blog-page-content .wp-block-query-pagination a {
  padding: 0.5rem 0.875rem;
  border: 1px solid var(--border-default);
  border-radius: var(--rounded-sm);
  color: var(--foreground-secondary);
  text-decoration: none;
  font-family: var(--font-body);
  font-size: var(--text-sm);
  line-height: 1.2;
}
.blog-page-content .wp-block-query-pagination a:hover {
  border-color: var(--accent-primary);
  color: var(--accent-primary);
}
.blog-page-content .wp-block-query-pagination .page-numbers.current {
  background: var(--accent-primary);
  border-color: var(--accent-primary);
  color: #FFFFFF;
}

/* ========================================
   PRODUCTS PAGE (Gutenberg Query Loop cards)
   ======================================== */
.products-page-content .wp-block-post-template {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  list-style: none;
  padding: 0;
  margin: 0;
}
@media (max-width: 1024px) {
  .products-page-content .wp-block-post-template {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 640px) {
  .products-page-content .wp-block-post-template {
    grid-template-columns: 1fr;
  }
}
.products-page-content .wp-block-post {
  background: var(--surface-primary);
  border-radius: var(--rounded-md);
  overflow: hidden;
  margin: 0;
  display: flex;
  flex-direction: column;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.products-page-content .wp-block-post:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
}
.products-page-content .wp-block-post-featured-image {
  margin: 0;
  aspect-ratio: 600 / 520;
  overflow: hidden;
}
.products-page-content .wp-block-post-featured-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.products-page-content .wp-block-post-title {
  font-family: var(--font-heading);
  font-size: 1.0625rem;
  font-weight: 600;
  color: var(--foreground-primary);
  line-height: 1.35;
  padding: 1rem 1.25rem 0;
  margin: 0;
}
.products-page-content .wp-block-post-title a {
  color: inherit;
  text-decoration: none;
}
.products-page-content .wp-block-post-title a:hover {
  color: var(--accent-primary);
}
.products-page-content .wp-block-post-excerpt {
  font-family: var(--font-body);
  font-size: var(--text-sm);
  color: var(--foreground-secondary);
  line-height: 1.6;
  padding: 0.5rem 1.25rem 0;
  margin: 0;
}
.products-page-content .wp-block-post-excerpt__more-text {
  display: none;
}
.products-page-content .wp-block-read-more {
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--accent-primary);
  text-decoration: none;
  padding: 0.5rem 1.25rem 1.25rem;
  margin-top: auto;
}
.products-page-content .wp-block-read-more:hover {
  color: var(--accent-hover);
}

/* ========================================
   HIDE ecommerce-product-catalog archive output
   (本主题已用古腾堡 Query Loop 自建产品列表)
   ======================================== */
.ic-catalog-container {
  display: none;
}

.cert-desc {
  font-size: var(--text-sm);
  color: var(--foreground-secondary);
  line-height: 1.5;
}

.news-title a { color: inherit; text-decoration: none; }
.news-title a:hover { color: var(--accent-primary); }

.news-card .news-content {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  flex: 1;
}

/* ========================================
   SINGLE POST (博客文章详情页)
   ======================================== */
.single-post-hero {
  background: var(--surface-accent);
  color: var(--foreground-inverse);
  padding: var(--spacing-2xl) 0 var(--spacing-3xl);
}
.single-post-hero-inner {
  max-width: 820px;
  margin: 0 auto;
  text-align: center;
}
.single-post-back {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  font-size: var(--text-sm);
  font-weight: 600;
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  transition: color 0.2s ease;
}
.single-post-back svg { width: 0.875rem; height: 0.875rem; }
.single-post-back:hover { color: #FFFFFF; }
.single-post-cats {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-top: var(--spacing-lg);
}
.single-post-cat {
  display: inline-block;
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--accent-cta);
  background: rgba(255, 255, 255, 0.08);
  border-radius: var(--rounded-sm);
  padding: 0.25rem 0.75rem;
}
.single-post-title {
  font-family: var(--font-heading);
  font-size: var(--text-4xl);
  font-weight: 700;
  line-height: 1.2;
  margin: var(--spacing-md) 0 0;
}
.single-post-meta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-size: var(--text-sm);
  color: rgba(255, 255, 255, 0.6);
  margin-top: var(--spacing-md);
}
.single-post-meta-sep { color: rgba(255, 255, 255, 0.35); }

.single-post-body {
  padding: var(--spacing-2xl) 0 var(--spacing-3xl);
}
.single-post-content {
  max-width: 80rem;
  margin: 0 auto;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.8;
  color: var(--foreground-secondary);
  text-align: justify;
}
.single-post-content h1,
.single-post-content h2,
.single-post-content h3,
.single-post-content h4 {
  font-family: var(--font-heading);
  color: var(--foreground-primary);
  line-height: 1.3;
  margin: 2rem 0 1rem;
}
.single-post-content h2 { font-size: var(--text-2xl); }
.single-post-content h3 { font-size: var(--text-xl); }
.single-post-content p { margin: 0 0 1.25rem; }
.single-post-content ul,
.single-post-content ol {
  margin: 0 0 1.25rem;
  padding-left: 1.5rem;
}
.single-post-content li { margin-bottom: 0.5rem; }
.single-post-content a { color: var(--accent-primary); text-decoration: none; }
.single-post-content a:hover { color: var(--accent-hover); text-decoration: underline; }
.single-post-content blockquote {
  border-left: 3px solid var(--accent-primary);
  background: var(--surface-secondary);
  padding: var(--spacing-md) var(--spacing-lg);
  margin: 0 0 1.25rem;
  font-style: italic;
  color: var(--foreground-primary);
  border-radius: var(--rounded-sm);
}
.single-post-content img {
  max-width: 100%;
  height: auto;
  border-radius: var(--rounded-md);
}
.single-post-content figure { margin: 0 0 1.25rem; }
.single-post-content figure img { margin-bottom: 0.5rem; }
.single-post-content figcaption {
  font-size: var(--text-xs);
  color: var(--foreground-muted);
  text-align: center;
}
.single-post-content .wp-block-image { margin: 0 0 1.25rem; }

.single-post-pagination {
  margin-top: var(--spacing-xl);
  font-size: var(--text-sm);
  color: var(--foreground-secondary);
}

.single-post-nav {
  display: flex;
  gap: var(--spacing-lg);
  margin-top: var(--spacing-2xl);
  padding-top: var(--spacing-xl);
  border-top: 1px solid var(--border-subtle);
}
.single-post-nav-item {
  flex: 1;
  display: flex;
}
.single-post-nav-item.next { justify-content: flex-end; text-align: right; }
.single-post-nav-item a {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  text-decoration: none;
  color: var(--foreground-primary);
  max-width: 100%;
}
.single-post-nav-label {
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--accent-primary);
}
.single-post-nav-title {
  font-family: var(--font-heading);
  font-size: var(--text-lg);
  line-height: 1.4;
  color: inherit;
}
.single-post-nav-item a:hover .single-post-nav-title {
  color: var(--accent-primary);
}

/* ========================================
   FAQ SECTION (首页手风琴问答)
   ======================================== */
.faq-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--spacing-md) var(--spacing-2xl);
  max-width: var(--gb-container-width, 1200px);
  margin: 0 auto;
}
.faq-col {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-md);
}
.faq-item {
  background: var(--surface-primary);
  border: 1px solid var(--border-subtle);
  border-radius: var(--rounded-md);
  overflow: hidden;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.faq-item.is-open {
  border-color: var(--accent-primary);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
}
.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--spacing-md);
  padding: 1rem 1.25rem;
  background: none;
  border: none;
  cursor: pointer;
  font-family: var(--font-heading);
  font-size: 1.0625rem;
  font-weight: 600;
  color: var(--foreground-primary);
  text-align: left;
  line-height: 1.4;
}
.faq-question:hover { color: var(--accent-primary); }
.faq-icon {
  flex-shrink: 0;
  width: 1.125rem;
  height: 1.125rem;
  color: var(--accent-primary);
  transition: transform 0.3s ease;
}
.faq-item.is-open .faq-icon { transform: rotate(180deg); }
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
}
.faq-answer p {
  font-size: var(--text-sm);
  line-height: 1.7;
  color: var(--foreground-secondary);
  padding: 0 1.25rem 1.25rem;
  margin: 0;
}

/* ========================================
   SCROLL REVEAL (滚动入屏动画)
   html.js 前缀：无 JS 时内容保持可见（渐进增强）
   ======================================== */
html.js [data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s cubic-bezier(0.22, 0.61, 0.36, 1),
              transform 0.7s cubic-bezier(0.22, 0.61, 0.36, 1);
  transition-delay: var(--reveal-delay, 0s);
  will-change: opacity, transform;
}
html.js [data-reveal].is-revealed {
  opacity: 1;
  transform: none;
}

/* 尊重系统「减少动态效果」偏好 */
@media (prefers-reduced-motion: reduce) {
  html.js [data-reveal] {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* ========================================
   INQUIRY MODAL (Swatches / Quote popup)
   ======================================== */
.inquiry-modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--spacing-md);
  visibility: hidden;
  opacity: 0;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}
.inquiry-modal.is-open {
  visibility: visible;
  opacity: 1;
}
.inquiry-modal-overlay {
  position: absolute;
  inset: 0;
  background: rgba(28, 28, 28, 0.55);
}
.inquiry-modal-dialog {
  position: relative;
  width: 100%;
  max-width: 540px;
  max-height: 90vh;
  overflow-y: auto;
  background: var(--surface-primary);
  border-radius: var(--rounded-lg);
  padding: var(--spacing-xl);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.25);
  transform: translateY(12px);
  transition: transform 0.25s ease;
}
.inquiry-modal.is-open .inquiry-modal-dialog {
  transform: translateY(0);
}
.inquiry-modal-close {
  position: absolute;
  top: 0.75rem;
  right: 1rem;
  background: none;
  border: none;
  font-size: 2rem;
  line-height: 1;
  color: var(--foreground-muted);
  cursor: pointer;
  padding: 0.25rem;
}
.inquiry-modal-close:hover { color: var(--foreground-primary); }
.inquiry-modal-title {
  font-family: var(--font-heading);
  font-size: var(--text-xl);
  font-weight: 700;
  color: var(--foreground-primary);
  margin: 0 0 var(--spacing-sm);
  padding-right: 2rem;
}
.inquiry-modal-subtitle {
  font-size: var(--text-sm);
  color: var(--foreground-secondary);
  line-height: 1.6;
  margin: 0 0 var(--spacing-lg);
}

/* CF7 form inside modal */
.inquiry-modal .wpcf7 label {
  display: block;
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--foreground-primary);
  margin-bottom: var(--spacing-sm);
}
.inquiry-modal .wpcf7-form-control-wrap {
  display: block;
  margin-bottom: var(--spacing-md);
}
.inquiry-modal .wpcf7 input[type="text"],
.inquiry-modal .wpcf7 input[type="email"],
.inquiry-modal .wpcf7 input[type="tel"],
.inquiry-modal .wpcf7 textarea {
  width: 100%;
  padding: 0.625rem 0.875rem;
  font-family: var(--font-body);
  font-size: var(--text-base);
  color: var(--foreground-primary);
  background: #FFFFFF;
  border: 1px solid var(--border-default);
  border-radius: var(--rounded-sm);
  outline: none;
  transition: border-color 0.2s ease;
}
.inquiry-modal .wpcf7 input:focus,
.inquiry-modal .wpcf7 textarea:focus {
  border-color: var(--accent-primary);
}
.inquiry-modal .wpcf7 textarea { min-height: 100px; resize: vertical; }
.inquiry-modal .wpcf7 input[type="submit"] {
  width: 100%;
  padding: 0.75rem 1.5rem;
  font-family: var(--font-body);
  font-size: var(--text-base);
  font-weight: 600;
  color: #FFFFFF;
  background: var(--accent-primary);
  border: none;
  border-radius: var(--rounded-sm);
  cursor: pointer;
  transition: background 0.2s ease;
}
.inquiry-modal .wpcf7 input[type="submit"]:hover { background: var(--accent-hover); }
.inquiry-modal .wpcf7-response-output {
  font-size: var(--text-sm);
  border-radius: var(--rounded-sm);
  margin-top: var(--spacing-md);
}
.inquiry-modal .wpcf7-not-valid-tip {
  font-size: var(--text-xs);
  margin-top: 0.25rem;
}
