/*
Theme Name: Salon Furniture
Theme URI: https://salonfurniture88.com
Description: Custom lightweight theme for LEADIR Salon Furniture Factory
Version: 1.1
Author: Custom Build
Text Domain: salon
*/

/* ── CSS Variables ─────────────────────────────────────────────── */
:root {
  --color-primary: #ab856f;
  --color-secondary: #d26e4b;
  --color-alert: #b20000;
  --color-success: #7a9c59;
  --color-link: #946d57;
  --color-link-hover: #111;
  --color-text: #333;
  --color-text-light: #666;
  --color-white: #fff;
  --color-bg: #fff;
  --color-bg-light: #f8f9fa;
  --color-footer: #000;
  --color-border: #eee;
  --color-nav-text: #4f3e3e;
  --font-body: Lato, -apple-system, BlinkMacSystemFont, sans-serif;
  --font-accent: 'Dancing Script', cursive;
  --section-gap: 80px;
  --container-max: 75rem;
  --header-height: 108px;
  --sticky-height: 70px;
}

/* ── Reset & Base ──────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  font-size: clamp(14px, 1.11vw, 20px);
}

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7;
  color: var(--color-text);
  background: var(--color-bg);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--color-link); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--color-link-hover); }

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-body);
  font-weight: 700;
  line-height: 1.3;
  color: var(--color-text);
}
h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }

.container { max-width: var(--container-max); margin: 0 auto; padding: 0 20px; }
.container-wide { max-width: var(--container-max); margin: 0 auto; padding: 0 20px; }

/* ── Buttons ───────────────────────────────────────────────────── */
.btn {
  display: inline-block;
  padding: 12px 28px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border: 2px solid;
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.25s ease;
  text-align: center;
  line-height: 1.4;
}
.btn-primary { background: var(--color-primary); border-color: var(--color-primary); color: var(--color-white); }
.btn-primary:hover { background: #385273; border-color: #385273; color: var(--color-white); }
.btn-outline-white { background: transparent; border-color: var(--color-white); color: var(--color-white); }
.btn-outline-white:hover { background: var(--color-white); color: var(--color-text); }
.btn-outline-primary { background: transparent; border-color: var(--color-primary); color: var(--color-primary); }
.btn-outline-primary:hover { background: var(--color-primary); color: var(--color-white); }
.btn-alert { background: var(--color-alert); border-color: var(--color-alert); color: var(--color-white); }
.btn-alert:hover { background: #900; border-color: #900; color: var(--color-white); }
.btn-outline-alert { background: transparent; border-color: var(--color-alert); color: var(--color-alert); }
.btn-outline-alert:hover { background: var(--color-alert); color: var(--color-white); }
.btn-lg { padding: 16px 36px; font-size: 1.05rem; border-radius: 99px; }

/* ── Header ────────────────────────────────────────────────────── */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: #fff;
  box-shadow: 0 1px 10px rgba(0,0,0,0.08);
}

/* 针对非首页页面的 Header 定位微调：初始为 static，滚动时 fixed */
body:not(.home) .site-header {
  position: static;
  box-shadow: none;
}
body:not(.home) .site-header.sticky {
  position: fixed;
  top: 0; left: 0; right: 0;
  box-shadow: 0 1px 10px rgba(0,0,0,0.08);
}
.site-header .header-top { background: var(--color-primary); color: var(--color-white); }
.site-header .header-top a { color: rgba(255,255,255,0.8); }
.site-header .header-top a:hover { color: #fff; }
.site-header .nav-link { color: var(--color-nav-text); }
.site-header .mobile-toggle span { background: var(--color-nav-text); }

.site-header.transparent {
  background: transparent;
  box-shadow: none;
}
.site-header.transparent .header-top { background: rgba(0,0,0,0.15); color: var(--color-white); }
.site-header.transparent .header-top a { color: rgba(255,255,255,0.8); }
.site-header.transparent .nav-link { color: var(--color-white); }
.site-header.transparent .mobile-toggle span { background: var(--color-white); }

.site-header.sticky {
  background: rgba(255,255,255,0.95);
  box-shadow: 0 1px 10px rgba(0,0,0,0.08);
  backdrop-filter: blur(10px);
}
.site-header.sticky .header-top { display: none; }
.site-header.sticky .header-main { height: var(--sticky-height); }
.site-header.sticky .nav-link { color: var(--color-nav-text); }
.site-header.sticky .mobile-toggle span { background: var(--color-nav-text); }

.header-top { transition: background 0.3s; }
.header-top-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 30px; font-size: 0.8rem;
}
.header-top-left { display: flex; gap: 20px; align-items: center; }
.header-top-right { display: flex; gap: 12px; align-items: center; }
.header-top-right a { color: rgba(255,255,255,0.8); transition: color 0.2s; }
.header-top-right a:hover { color: #fff; }

.header-main { height: var(--header-height); transition: height 0.3s; }
.site-header.transparent .header-main { height: 90px; }

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.site-logo { flex-shrink: 0; }
.site-logo img { height: 60px; width: auto; }

.nav-menu .menu { display: flex; list-style: none; gap: 4px; align-items: center; flex-wrap: wrap; }
.nav-menu .menu > li { position: relative; }
.nav-link {
  display: block;
  padding: 10px 16px;
  font-weight: 700;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: color 0.2s;
  white-space: nowrap;
}

/* Dropdown */
.nav-menu .sub-menu {
  display: none;
  position: absolute;
  top: 100%; left: 0;
  background: #fff;
  width: max-content;
  min-width: 240px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.15);
  border-radius: 0 0 4px 4px;
  border: 1px solid #eee;
  border-top: 2px solid var(--color-primary);
  padding: 10px 0;
  list-style: none;
  z-index: 1001;
}
.nav-menu .menu > li:hover > .sub-menu { display: block; }
.sub-menu .nav-link {
  padding: 8px 20px;
  font-size: 0.85rem;
  text-transform: none;
  letter-spacing: 0;
  font-weight: 400;
  color: var(--color-text) !important;
}
.sub-menu .nav-link:hover { background: var(--color-bg-light); color: var(--color-primary) !important; }

/* Mobile toggle */
.mobile-toggle {
  display: none;
  background: transparent;
  border: none;
  padding: 0;
  cursor: pointer;
  width: 24px;
  height: 16px;
  flex-direction: column;
  justify-content: space-between;
  z-index: 1001;
  outline: none;
  box-shadow: none;
}
.mobile-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--color-nav-text);
  border-radius: 2px;
  transition: all 0.3s cubic-bezier(0.25, 1, 0.5, 1);
}
.mobile-toggle.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.mobile-toggle.active span:nth-child(2) { opacity: 0; }
.mobile-toggle.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ── Hero Slider ───────────────────────────────────────────────── */
.hero-slider { position: relative; width: 100%; height: 100vh; overflow: hidden; }
.hero-slide {
  position: absolute; inset: 0;
  opacity: 0;
  transition: opacity 1s ease;
  background-size: cover;
  background-position: center;
}
.hero-slide.active { opacity: 1; }
.hero-slide .overlay {
  position: absolute; inset: 0;
  background: rgba(0,0,0,0.25);
}
.hero-slide .hero-content {
  position: absolute;
  bottom: 20%;
  left: 50%;
  transform: translateX(-50%);
  text-align: center;
  color: var(--color-white);
  width: 90%;
  max-width: 800px;
}
.hero-slide .hero-content h1 { color: var(--color-white); font-size: 2.8rem; margin-bottom: 16px; }
.hero-slide .hero-content p { font-size: 1.15rem; margin-bottom: 24px; opacity: 0.9; line-height: 1.8; }

.hero-dots {
  position: absolute; bottom: 30px; left: 50%; transform: translateX(-50%);
  display: flex; gap: 12px; z-index: 10;
}
.hero-dot {
  width: 12px; height: 12px;
  border-radius: 50%;
  background: rgba(255,255,255,0.4);
  border: 2px solid rgba(255,255,255,0.6);
  cursor: pointer;
  transition: all 0.3s;
}
.hero-dot:hover { background: rgba(255,255,255,0.7); border-color: rgba(255,255,255,0.9); }
.hero-dot.active { background: var(--color-white); border-color: var(--color-white); }
.hero-arrow {
  position: absolute; top: 50%; transform: translateY(-50%);
  background: rgba(0,0,0,0.30);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  color: var(--color-white);
  border: 1px solid rgba(255,255,255,0.2);
  width: 56px; height: 56px;
  border-radius: 50%;
  cursor: pointer;
  z-index: 10;
  transition: all 0.3s;
  display: flex; align-items: center; justify-content: center;
}
.hero-arrow:hover { background: rgba(0,0,0,0.50); border-color: rgba(255,255,255,0.4); transform: translateY(-50%) scale(1.05); }
.hero-prev { left: 20px; }
.hero-next { right: 20px; }

/* ── Sections ──────────────────────────────────────────────────── */
.section { padding: var(--section-gap) 0; }
.section-sm { padding: 40px 0; }
.section-title {
  text-align: center;
  margin-bottom: 48px;
}
.section-title h2 { margin-bottom: 12px; }
.section-title p { color: var(--color-text-light); font-size: 1.05rem; }

.row { display: flex; flex-wrap: wrap; gap: 40px; align-items: center; }
.row-top { align-items: flex-start; }
.col-6 { flex: 1 1 calc(50% - 20px); min-width: 300px; }
.col-4 { flex: 1 1 calc(33.333% - 27px); min-width: 280px; }
.col-5 { flex: 1 1 calc(41.666% - 20px); min-width: 300px; }
.col-7 { flex: 1 1 calc(58.333% - 20px); min-width: 300px; }
.col-full { flex: 1 1 100%; }

/* ── Product Card ──────────────────────────────────────────────── */
.product-card {
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  background: var(--color-white);
  transition: box-shadow 0.3s;
  display: flex;
  flex-direction: column;
}
.product-card:hover { box-shadow: 0 8px 30px rgba(0,0,0,0.12); }
.product-card > a {
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}
.product-card .card-img { overflow: hidden; border-radius: 8px 8px 0 0; }
.product-card .card-img img {
  width: 100%;
  transition: transform 0.5s ease;
  aspect-ratio: 1/1;
  object-fit: cover;
}
.product-card:hover .card-img img { transform: scale(1.05); }
.product-card .card-body {
  padding: 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  flex-grow: 1;
}
.product-card .card-body h3 { font-size: 1.05rem; margin-bottom: 12px; }
.product-card .card-body .btn { margin-top: auto; }


.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.news-grid {
  grid-template-columns: repeat(4, 1fr);
}
@media (max-width: 768px) {
  .news-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 480px) {
  .news-grid {
    grid-template-columns: 1fr;
  }
}

/* ── Product Slider ────────────────────────────────────────────── */
.product-slider { overflow: hidden; position: relative; }
.product-slider-track {
  display: flex;
  gap: 24px;
  transition: transform 0.5s ease;
  padding: 20px 0;
}
.product-slider .product-card { width: 260px; min-width: 260px; flex-shrink: 0; }

/* Slider arrows (product & project carousels) */
.slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0,0,0,0.30);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  color: #fff;
  border: 1px solid rgba(255,255,255,0.2);
  width: 44px; height: 44px;
  border-radius: 50%;
  cursor: pointer;
  z-index: 10;
  transition: all 0.3s;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem;
}
.slider-arrow:hover {
  background: rgba(0,0,0,0.55);
  border-color: rgba(255,255,255,0.4);
  transform: translateY(-50%) scale(1.08);
}
.slider-prev { left: 10px; }
.slider-next { right: 10px; }

/* Slider dots */
.slider-dots {
  display: flex;
  gap: 10px;
  justify-content: center;
  margin-top: 24px;
}
.slider-dot {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: rgba(68,96,132,0.25);
  border: 2px solid rgba(68,96,132,0.35);
  cursor: pointer;
  transition: all 0.3s;
}
.slider-dot:hover { background: rgba(68,96,132,0.5); border-color: rgba(68,96,132,0.6); }
.slider-dot.active { background: var(--color-primary); border-color: var(--color-primary); }

/* Homepage category cards use a tighter art direction than generic product cards */
.product-showcase-section .product-card .card-img {
  aspect-ratio: 1 / 1;
  background: #f1f2f4;
}
.product-showcase-section .product-card .card-img img {
  height: 100%;
  aspect-ratio: auto;
  object-fit: cover;
  object-position: center;
  background: transparent;
}

/* ── CTA Banner ────────────────────────────────────────────────── */
.cta-banner {
  position: relative;
  padding: 160px 0;
  background-size: cover;
  background-position: center top;
  color: var(--color-white);
  text-align: left;
}
.cta-banner .cta-overlay {
  position: absolute; inset: 0;
  background: rgba(0,0,0,0.35);
}
.cta-banner .cta-content {
  position: relative; z-index: 1;
}
.cta-banner h2 { color: var(--color-white); font-size: 2.2rem; margin-bottom: 16px; }
.cta-banner p { font-size: 1.15rem; margin-bottom: 24px; max-width: 600px; }

/* CTA Contact Info */
.cta-banner .contact-info {
  display: flex;
  justify-content: center;
  gap: 30px;
  margin: 28px 0;
  flex-wrap: wrap;
}
.cta-banner .contact-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.12rem;
}
.cta-banner .contact-item svg {
  color: var(--color-primary);
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}
.cta-banner .contact-item a {
  color: var(--color-white) !important;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s;
}
.cta-banner .contact-item a:hover {
  color: var(--color-primary) !important;
}
.cta-banner .contact-item small {
  font-size: 0.85rem;
  opacity: 0.7;
  margin-left: 4px;
}
@media (max-width: 480px) {
  .cta-banner .contact-info {
    flex-direction: column;
    align-items: center;
    gap: 16px;
  }
}

/* ── Icon Boxes ────────────────────────────────────────────────── */
.icon-boxes { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 32px; }
.icon-box { text-align: center; padding: 32px 20px; }
.icon-box .icon-box-img { margin-bottom: 16px; }
.icon-box .icon-box-img img { width: 60px; margin: 0 auto; }
.icon-box h3 { font-size: 1.1rem; margin-bottom: 8px; }
.icon-box p { font-size: 0.9rem; color: var(--color-text-light); }

/* ── Testimonials ──────────────────────────────────────────────── */
.testimonial { max-width: 700px; margin: 0 auto; text-align: center; }
.testimonial blockquote {
  font-size: 1.15rem;
  font-style: italic;
  color: var(--color-text-light);
  margin-bottom: 20px;
  line-height: 1.8;
}
.testimonial .author { font-weight: 700; color: var(--color-primary); }

/* ── Contact Banner ────────────────────────────────────────────── */
.contact-banner {
  background: var(--color-primary);
  color: var(--color-white);
  padding: 80px 0;
  text-align: center;
}
.contact-banner h2 { color: var(--color-white); margin-bottom: 12px; }
.contact-banner .contact-info { display: flex; gap: 32px; justify-content: center; flex-wrap: wrap; margin-top: 32px; }
.contact-banner .contact-item { display: flex; align-items: center; gap: 12px; font-size: 1.05rem; }
.contact-banner .contact-item a { color: var(--color-white); }

/* ── Footer ────────────────────────────────────────────────────── */

/* Partner Brands */
.footer-partners {
  background: #111;
  padding: 48px 0;
}
.footer-partners-title {
  color: var(--color-white);
  text-align: center;
  font-size: 1.1rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 28px;
}
.footer-partners-grid {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 32px;
  flex-wrap: wrap;
}
.footer-partner-item {
  max-width: 140px;
  opacity: 0.7;
  transition: opacity 0.3s;
}
.footer-partner-item:hover {
  opacity: 1;
}
.footer-partner-item img {
  width: 100%;
  height: auto;
  display: block;
}

.site-footer {
  background: var(--color-footer);
  color: rgba(255,255,255,0.7);
  padding: 60px 0 0;
  font-size: 0.9rem;
}
.site-footer a { color: rgba(255,255,255,0.7); }
.site-footer a:hover { color: var(--color-white); }
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 0.8fr 1.2fr 1.2fr;
  gap: 40px;
  margin-bottom: 48px;
}
.footer-col h4 { color: var(--color-white); font-size: 1rem; margin-bottom: 16px; text-transform: uppercase; }
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 8px; }
.footer-tagline {
  margin-bottom: 24px;
  opacity: 0.6;
}

/* Footer Social Icons */
.footer-social {
  display: flex;
  gap: 14px;
  margin-bottom: 28px;
  flex-wrap: wrap;
}
.social-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  color: var(--color-white) !important;
  transition: all 0.25s cubic-bezier(0.25, 1, 0.5, 1);
}
.social-icon svg {
  width: 22px;
  height: 22px;
}
.social-icon[title="WhatsApp"] { background: #25D366; }
.social-icon[title="Facebook"] { background: #1877F2; }
.social-icon[title="Instagram"] { background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%); }
.social-icon[title="TikTok"] { background: #010101; border: 1px solid rgba(255,255,255,0.25); }
.social-icon[title="YouTube"] { background: #FF0000; }


.social-icon:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
  filter: brightness(1.1);
}

/* Footer QR Codes */
.footer-qr-row {
  display: flex;
  gap: 20px;
}
.footer-qr-item {
  text-align: center;
}
.footer-qr-item img {
  width: 100px;
  height: 100px;
  object-fit: contain;
  border-radius: 6px;
  background: #fff;
  padding: 4px;
  display: block;
}
.footer-qr-item span {
  display: block;
  margin-top: 6px;
  font-size: 0.75rem;
  color: rgba(255,255,255,0.5);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 24px 0;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 16px;
}
.footer-disclaimer {
  max-width: 500px;
  font-size: 0.8rem;
  opacity: 0.5;
  line-height: 1.5;
}

/* ── Page Content ──────────────────────────────────────────────── */
.page-content { padding: 170px 0 80px; }
.page-content h2 { margin: 32px 0 16px; }
.page-content h3 { margin: 24px 0 12px; }
.page-content p { margin-bottom: 16px; }
.page-content ul, .page-content ol { margin: 0 0 16px 24px; }
.page-content ul li, .page-content ol li { margin-bottom: 8px; }
.page-content .page-title { margin-bottom: 24px; }
.content-empty-state {
  padding: 28px 32px;
  background: #f8f9fa;
  border: 1px solid var(--color-border);
  border-radius: 18px;
}
.legacy-page-note {
  margin: 0 0 28px;
  padding: 16px 18px;
  border-left: 4px solid var(--color-secondary);
  background: #fbf5f0;
  color: var(--color-text);
  border-radius: 10px;
}
.product-card-fallback {
  background: #f0f0f0;
  aspect-ratio: 1/1;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #999;
}



/* ── Contact Form ──────────────────────────────────────────────── */
.contact-page-shell {
  display: grid;
  grid-template-columns: minmax(280px, 380px) minmax(0, 1fr);
  gap: 36px;
  align-items: start;
}
.contact-page-details,
.contact-page-form {
  background: #faf8f2;
  border: 1px solid var(--color-border);
  border-radius: 20px;
  padding: 28px;
}
.contact-detail-list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.contact-detail-list li + li {
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid #ece6dc;
}
.contact-detail-list strong {
  display: block;
  margin-bottom: 6px;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-text-light);
}
.contact-detail-list span,
.contact-detail-list a {
  color: var(--color-text);
}
.contact-form-section {
  margin-top: 28px;
}
.form-group { margin-bottom: 20px; }
.form-group label { display: block; margin-bottom: 6px; font-weight: 600; font-size: 0.9rem; }
.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--color-border);
  border-radius: 6px;
  font-family: var(--font-body);
  font-size: 1rem;
  transition: border-color 0.2s;
}
.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--color-primary);
}
.form-submit .btn { width: 100%; }

/* ── WooCommerce Overrides ─────────────────────────────────────── */

/* ── Mobile Off-Canvas Menu ────────────────────────────────────── */
.mobile-nav {
  position: fixed;
  top: 0; right: -300px;
  width: 300px; height: 100vh;
  background: var(--color-white);
  z-index: 2000;
  padding: 80px 30px 30px;
  transition: right 0.3s ease;
  overflow-y: auto;
  box-shadow: -5px 0 20px rgba(0,0,0,0.1);
}
.mobile-nav.open { right: 0; }
.mobile-nav-overlay {
  position: fixed; inset: 0;
  background: rgba(0,0,0,0.5);
  z-index: 1999;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
}
.mobile-nav-overlay.open { opacity: 1; pointer-events: auto; }
.mobile-nav ul { list-style: none; }
.mobile-nav > ul > li { border-bottom: 1px solid var(--color-border); }
.mobile-nav .nav-link { padding: 12px 0; display: block; color: var(--color-text); }
.mobile-nav .sub-menu { display: none; padding-left: 16px; margin-bottom: 8px; }
.mobile-nav .sub-menu.open { display: block; }
.mobile-nav .has-submenu > .nav-link::after { content: ' ▾'; font-size: 0.8rem; }

/* ── Back to Top ───────────────────────────────────────────────── */
.back-to-top {
  position: fixed;
  bottom: 30px; right: 30px;
  width: 46px; height: 46px;
  border-radius: 50%;
  background: var(--color-primary);
  color: var(--color-white);
  border: 1px solid rgba(255,255,255,0.15);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
  cursor: pointer;
  z-index: 900;
  opacity: 0;
  pointer-events: none;
  transition: all 0.3s cubic-bezier(0.25, 1, 0.5, 1);
  display: flex; align-items: center; justify-content: center;
}
.back-to-top.visible { opacity: 1; pointer-events: auto; }
.back-to-top:hover {
  background: #85614f;
  transform: translateY(-4px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}


/* ── Utilities ─────────────────────────────────────────────────── */
.text-center { text-align: center; }
.text-white { color: var(--color-white); }
.mb-20 { margin-bottom: 20px; }
.mb-40 { margin-bottom: 40px; }
.hide-mobile { display: block; }
.show-mobile { display: none; }

/* ── Responsive ────────────────────────────────────────────────── */
@media (max-width: 1024px) {
  :root { --section-gap: 60px; }
  h1 { font-size: 2rem; }
  h2 { font-size: 1.6rem; }
  .hero-slide .hero-content h1 { font-size: 2rem; }
}

@media (max-width: 768px) {
  :root { --header-height: 64px; --sticky-height: 56px; --section-gap: 48px; }
  h1 { font-size: 1.7rem; }
  h2 { font-size: 1.4rem; }

  .nav-menu { display: none; }
  .mobile-toggle { display: flex; }
  .hide-mobile { display: none !important; }
  .show-mobile { display: block; }
  .site-logo img {
    height: 40px !important;
    width: auto;
  }

  .row { flex-direction: column; gap: 24px; }
  .col-5, .col-6, .col-7, .col-4 { flex: 1 1 100%; }

  .hero-slide .hero-content { bottom: 15%; }
  .hero-slide .hero-content h1 { font-size: 1.6rem; }
  .hero-slide .hero-content p { font-size: 0.95rem; }

  .product-grid { grid-template-columns: repeat(2, 1fr); }

  .cta-banner { padding: 110px 0; text-align: center; }
  .cta-banner p { margin: 0 auto 24px; }

  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
  }
  .footer-bottom { flex-direction: column; text-align: center; }
  .footer-disclaimer { max-width: none; }
  .footer-partners-grid { gap: 20px; }
  .footer-partner-item { max-width: 100px; }
}

@media (max-width: 480px) {
  .hero-slider { height: 80vh; }
  .hero-slide .hero-content h1 { font-size: 1.3rem; }
  .product-slider .product-card { width: 220px; min-width: 220px; }
  .slider-arrow { width: 34px; height: 34px; font-size: 0.9rem; }
  .slider-prev { left: 4px; }
  .slider-next { right: 4px; }
  .slider-dot { width: 8px; height: 8px; }
  .product-grid { grid-template-columns: 1fr; }
  .btn { padding: 10px 20px; font-size: 0.85rem; }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
    text-align: center;
  }
  .footer-col-company {
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  .footer-social {
    justify-content: center;
  }
  .footer-qr-row {
    justify-content: center;
  }
  .footer-col-contact ul {
    display: inline-block;
    text-align: left;
  }
}

/* ── Nav Dropdown Arrow ──────────────────────────────────────────── */
.nav-arrow { font-size: 0.65rem; margin-left: 3px; opacity: 0.5; display: inline-block; vertical-align: middle; }

/* ── Product Listing Page ────────────────────────────────────────── */
.product-listing-page { padding-top: 170px; }
.product-sidebar { padding-top: 20px; }
.sidebar-title { font-size: 1.5rem; margin-bottom: 24px; }
.product-search { margin-bottom: 32px; }
.search-input-wrap {
  display: flex; align-items: center;
  border: 1px solid #ddd; border-radius: 4px;
  overflow: hidden;
}
.search-input-wrap input {
  flex: 1; border: none; padding: 10px 14px;
  font-size: 0.95rem; font-family: var(--font-body);
  outline: none;
}
.search-input-wrap button {
  background: var(--color-primary); color: #fff;
  border: none; padding: 10px 14px; cursor: pointer;
  display: flex; align-items: center;
}
.product-cat-nav ul { list-style: none; }
.product-cat-nav li { border-bottom: 1px solid #eee; }
.product-cat-nav a {
  display: block; padding: 12px 0;
  font-size: 1rem; font-weight: 400;
  color: var(--color-text);
  transition: color 0.2s;
}
.product-cat-nav a:hover { color: var(--color-primary); }
.product-cat-nav a.current { color: var(--color-primary); font-weight: 700; }
.cat-title { font-size: 1.8rem; margin-bottom: 12px; }
.cat-desc { font-size: 0.95rem; color: var(--color-text-light); margin-bottom: 32px; line-height: 1.7; }
.product-category-landing .cat-desc { max-width: none; }
.product-title { font-size: 1rem !important; margin-bottom: 6px; line-height: 1.4; }
.product-excerpt { font-size: 0.85rem; color: var(--color-text-light); line-height: 1.5; }
.col-3 { flex: 1 1 calc(25% - 30px); width: 220px; min-width: 220px; }
.col-9 { flex: 1 1 calc(75% - 30px); min-width: 300px; }

/* Download + Projects + Partner pages */
.download-page-intro {
  max-width: 760px;
  margin-bottom: 30px;
}
.download-catalog-grid,
.download-topic-grid,
.partner-brand-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 22px;
}
.download-catalog-grid {
  grid-template-columns: repeat(3, 1fr);
}
.download-card,
.download-topic-card,
.partner-brand-card,
.project-group,
.project-shot {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: 20px;
  overflow: hidden;
}
.download-card {
  display: block;
  color: inherit;
}
.download-card-media {
  aspect-ratio: 1 / 1.414;
  background: #f5f5f5;
}
.partner-brand-media {
  aspect-ratio: 4 / 3;
  background: #f5f5f5;
}
.download-card-media img,
.partner-brand-media img,
.project-shot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.download-card-body,
.download-topic-card,
.partner-brand-body {
  padding: 20px;
}
.download-card-body h2,
.download-topic-card h3,
.partner-brand-body h2 {
  margin: 0 0 10px;
  font-size: 1.1rem;
}
.download-card-body span {
  display: inline-block;
  color: var(--color-primary);
  font-weight: 700;
}
.download-topic-section {
  margin-top: 42px;
}
.project-group-stack {
  display: grid;
  gap: 26px;
}
.project-group {
  padding: 24px;
}
.project-group-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 18px;
  flex-wrap: wrap;
}
.project-group-head h2 {
  margin: 0;
}
.project-gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 18px;
}
.project-shot {
  aspect-ratio: 4 / 3;
}

/* Pagination */
.pagination {
  display: flex; gap: 6px; justify-content: center;
  margin-top: 40px; flex-wrap: wrap;
}
.pagination .page-numbers {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 38px; height: 38px;
  padding: 0 10px;
  border: 1px solid #ddd; border-radius: 4px;
  font-size: 0.9rem; font-weight: 600;
  color: var(--color-text);
  transition: all 0.2s;
}
.pagination .page-numbers.current {
  background: var(--color-primary);
  border-color: var(--color-primary);
  color: var(--color-white);
}
.pagination .page-numbers:hover:not(.current):not(.dots) {
  border-color: var(--color-primary);
  color: var(--color-primary);
}

/* ── Product Single Page ─────────────────────────────────────────── */
.product-single-page { padding-top: 180px; }

.product-top-row {
  display: grid;
  grid-template-columns: 4fr 6fr;
  gap: 40px;
  margin-bottom: 60px;
}
@media (max-width: 768px) {
  .product-top-row {
    grid-template-columns: 1fr;
    gap: 30px;
  }
}

/* Gallery column */
.product-gallery-col { position: relative; }

.product-main-image {
  position: relative;
  border: 1px solid #eee;
  border-radius: 8px;
  overflow: hidden;
  margin-bottom: 16px;
  background: #fafafa;
}
.product-main-image a {
  display: block;
}
.product-main-image img {
  width: 100%;
  display: block;
  aspect-ratio: 1/1;
  object-fit: cover;
  transition: opacity 0.3s;
}
.product-expand-icon {
  position: absolute;
  bottom: 12px;
  right: 12px;
  width: 36px;
  height: 36px;
  background: rgba(255,255,255,0.9);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-text);
  opacity: 0;
  transition: opacity 0.2s;
  pointer-events: none;
}
.product-main-image:hover .product-expand-icon {
  opacity: 1;
}

/* Thumbnail strip with arrows */
.product-thumb-wrap {
  display: flex;
  align-items: center;
  gap: 8px;
  justify-content: center;
  margin-top: 16px;
}
.product-thumb-viewport {
  overflow: hidden;
  max-width: 350px;
}
.product-thumb-strip {
  display: flex;
  gap: 10px;
  transition: transform 0.35s ease;
}
.product-thumb {
  flex-shrink: 0;
  width: 80px;
  height: 80px;
  border: 2px solid #ddd;
  border-radius: 6px;
  overflow: hidden;
  cursor: pointer;
  padding: 0;
  background: #fafafa;
  transition: border-color 0.2s, opacity 0.2s;
  opacity: 0.65;
}
.product-thumb:hover,
.product-thumb.active {
  border-color: var(--color-primary);
  opacity: 1;
}
.product-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.thumb-arrow {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  border: 1px solid #ddd;
  border-radius: 50%;
  background: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-text);
  transition: all 0.2s;
  padding: 0;
}
.thumb-arrow:hover {
  border-color: var(--color-primary);
  color: var(--color-primary);
}
.thumb-arrow:disabled {
  opacity: 0.3;
  cursor: default;
}

/* Info column */
.product-info-col .product-title {
  font-size: 1.85rem !important;
  margin-bottom: 12px;
  line-height: 1.35;
}

.product-cats {
  margin-bottom: 16px;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.product-cats a {
  color: var(--color-text-light);
  text-decoration: underline;
}
.product-cats a:hover { color: var(--color-primary); }
.product-cats a + a::before { content: ', '; }

.product-info-col .product-excerpt {
  font-size: 0.9rem;
  line-height: 1.7;
  margin-bottom: 24px;
  color: var(--color-text-light);
}

.product-actions { margin-bottom: 24px; }

.product-share {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--color-text-light);
  font-size: 0.82rem;
}
.product-share a {
  display: flex; align-items: center; justify-content: center;
  width: 34px; height: 34px;
  border-radius: 50%;
  border: 1px solid #ddd;
  color: var(--color-text-light);
  transition: all 0.2s;
}
.product-share a:hover {
  background: var(--color-primary);
  border-color: var(--color-primary);
  color: var(--color-white);
}

/* Sidebar column */
.product-sidebar-col {
  padding-top: 6px;
}

.product-specs-widget {
  border: 1px solid #eee;
  border-radius: 8px;
  padding: 18px;
  margin-bottom: 20px;
}
.product-specs-widget h4 {
  font-size: 0.88rem;
  text-transform: uppercase;
  margin-bottom: 12px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--color-primary);
}
.product-specs-widget table {
  width: 100%;
  border-collapse: collapse;
}
.product-specs-widget td {
  padding: 6px 0;
  border-bottom: 1px solid #f0f0f0;
  font-size: 0.8rem;
  word-break: break-word;
}
.product-specs-widget td:first-child {
  font-weight: 600;
  color: var(--color-text);
  width: 105px;
  padding-right: 8px;
}
.product-specs-widget td:last-child {
  color: var(--color-text-light);
}
.product-specs-widget ul {
  list-style: none;
}
.product-specs-widget ul li {
  padding: 5px 0;
  border-bottom: 1px solid #f0f0f0;
}
.product-specs-widget ul a {
  color: var(--color-text-light);
  font-size: 0.85rem;
}
.product-specs-widget ul a:hover { color: var(--color-primary); }

/* Full description */
.product-description-full {
  margin-bottom: 60px;
  padding-top: 40px;
  border-top: 1px solid #eee;
}
.product-description-full h3 {
  font-size: 1.25rem;
  margin-bottom: 20px;
  text-transform: uppercase;
}
.product-description-full .content {
  font-size: 0.95rem;
  line-height: 1.85;
  color: var(--color-text-light);
  max-width: none;
}
.product-description-full .content h2,
.product-description-full .content h3,
.product-description-full .content h4 {
  margin: 28px 0 12px;
  color: var(--color-text);
}
.product-description-full .content ul,
.product-description-full .content ol {
  margin: 0 0 16px 20px;
}
.product-description-full .content li {
  margin-bottom: 6px;
}

/* Related products */
.product-related {
  padding-top: 40px;
  border-top: 1px solid #eee;
}
.product-related h3 {
  font-size: 1.25rem;
  margin-bottom: 24px;
  text-transform: uppercase;
}

@media (max-width: 992px) {
  .product-top-row {
    grid-template-columns: 1fr 1fr;
    gap: 28px;
  }
  .product-sidebar-col {
    grid-column: 1 / -1;
  }
}

@media (max-width: 768px) {
  .product-top-row {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .product-info-col .product-title { font-size: 1.25rem !important; }
  .product-thumb { width: 60px; height: 60px; }
  .product-single-page { padding-top: 100px; }

  .contact-page-shell { grid-template-columns: 1fr; }
  .download-catalog-grid,
  .download-topic-grid,
  .partner-brand-grid,
  .project-gallery-grid { grid-template-columns: 1fr; }
}

/* ── About Us Page ─────────────────────────────────────────────────── */

/* Hero Banner */
.about-hero {
  margin-top: 138px;
}
.about-hero-bg {
  position: relative;
  height: 550px;
  background-size: cover;
  background-position: center top;
  display: flex;
  align-items: center;
  justify-content: center;
}
.about-hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.45);
}
.about-hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  color: #fff;
}
.about-hero-dot {
  font-size: 2.5rem;
  display: block;
  margin-bottom: 12px;
}
.about-hero-content h1 {
  color: #fff;
  font-size: 3rem;
  margin-bottom: 8px;
}
.about-hero-brand {
  font-size: 1.5rem;
  opacity: 0.85;
  letter-spacing: 0.15em;
}

/* Company Profile */
.about-profile-grid {
  display: grid;
  grid-template-columns: 1.3fr 0.7fr; /* 文字宽度增加，图片缩小 */
  gap: 60px;
  align-items: center;
}
.about-profile-text h2 {
  margin-bottom: 20px;
}
.about-profile-text p {
  margin-bottom: 14px;
  color: var(--color-text-light);
  line-height: 1.8;
  font-size: 1.08rem; /* 段落文字放大 */
}
.about-profile-image img {
  width: 100%;
  border-radius: 12px;
  box-shadow: 0 8px 30px rgba(0,0,0,0.1);
}

/* Mission Vision Values */
.about-mvv-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.about-mvv-card {
  background: #fff;
  border-radius: 12px;
  padding: 40px 28px;
  text-align: center;
  box-shadow: 0 2px 12px rgba(0,0,0,0.05);
  transition: box-shadow 0.3s;
}
.about-mvv-card:hover {
  box-shadow: 0 8px 30px rgba(0,0,0,0.1);
}
.about-mvv-icon {
  margin-bottom: 20px;
}
.about-mvv-card h3 {
  font-size: 1.2rem;
  margin-bottom: 12px;
}
.about-mvv-card p {
  color: var(--color-text-light);
  font-size: 0.95rem;
  line-height: 1.7;
}

/* Manufacturing */
.about-manu-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 48px;
}
.section-subtitle {
  color: var(--color-text-light);
  font-size: 1.05rem;
  margin-top: 12px;
  line-height: 1.7;
}

/* Gallery Grid */
.about-gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: 240px;
  gap: 16px;
  margin-bottom: 48px;
}
.about-gallery-item {
  overflow: hidden;
  border-radius: 10px;
}
.about-gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.about-gallery-item:hover img {
  transform: scale(1.05);
}
.about-gallery-tall {
  grid-row: span 2;
}
.about-gallery-wide {
  grid-column: span 2;
}

/* Manufacturing Features */
.about-manu-features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.about-manu-feature {
  background: #f8f9fa;
  border-radius: 10px;
  padding: 28px;
  border-left: 4px solid var(--color-primary);
}
.about-manu-feature h4 {
  font-size: 1.05rem;
  margin-bottom: 8px;
}
.about-manu-feature p {
  color: var(--color-text-light);
  font-size: 0.9rem;
  line-height: 1.6;
}

/* Global Reach */
.about-global-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr; /* 文字区域收窄，图片区域放大 */
  gap: 50px;
  align-items: center;
}
.about-global-text p {
  margin-bottom: 14px;
  color: var(--color-text-light);
  line-height: 1.8;
  font-size: 1.08rem; /* 段落文字放大 */
}
.about-global-images {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}
.about-global-images img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  border-radius: 10px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.08);
}
.about-global-images img:first-child {
  grid-column: span 2;
  aspect-ratio: 16/9;
}

/* Why Choose Us */
.about-why-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr); /* 5个排在同一行 */
  gap: 16px;
}
.about-why-card {
  position: relative;
  text-align: center;
  padding: 40px 20px;
  border-radius: 12px;
  background-size: cover;
  background-position: center;
  color: #fff;
  border: none;
  overflow: hidden;
  z-index: 1;
  transition: transform 0.3s, box-shadow 0.3s;
  
  /* 搞大卡片，并使卡片高度等高且文字居中 */
  min-height: 280px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.about-why-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0, 0, 0, 0.65); /* 半透明遮罩，突出文字 */
  z-index: -1;
  transition: background 0.3s;
}
.about-why-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0,0,0,0.3);
}
.about-why-card:hover::before {
  background: rgba(0, 0, 0, 0.5); /* 鼠标悬停时稍微亮一些 */
}
.about-why-card h3 {
  font-size: 1.05rem;
  margin-bottom: 12px;
  color: #fff;
  text-shadow: 0 1px 3px rgba(0,0,0,0.5);
}
.about-why-card p {
  color: rgba(255, 255, 255, 0.85); /* 段落字体改为透白色，极高易读性 */
  font-size: 0.85rem; /* 5列时空间变窄，字号微调 */
  line-height: 1.6;
  text-shadow: 0 1px 2px rgba(0,0,0,0.5);
}

/* Contact CTA */
.about-contact {
  padding: 0 0 80px;
}
.about-contact-card {
  background-image: url('assets/images/contact-bg.jpg');
  background-size: cover;
  background-position: center top;
  position: relative;
  z-index: 1;
  color: #fff;
  border-radius: 16px;
  padding: 90px 40px;
  text-align: center;
}
.about-contact-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.52);
  z-index: -1;
  border-radius: 16px;
}
.about-contact-logo {
  margin-bottom: 24px;
}
.about-contact-logo img {
  max-height: 60px;
  width: auto;
  margin: 0 auto;
  filter: brightness(0) invert(1);
}
.about-contact-card h2 {
  color: #fff;
  font-size: 2rem;
  margin-bottom: 16px;
}
.about-contact-card > p {
  color: rgba(255,255,255,0.85);
  max-width: 600px;
  margin: 0 auto 32px;
  line-height: 1.7;
}
.about-contact-info {
  display: flex;
  justify-content: center;
  gap: 48px;
  flex-wrap: wrap;
  margin-bottom: 32px;
}
.about-contact-item strong {
  display: block;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 6px;
  color: rgba(255,255,255,0.7);
}
.about-contact-item a {
  color: #fff;
  font-size: 1.1rem;
}
.about-contact-card .btn-primary {
  background: #fff;
  color: var(--color-primary);
  border-color: #fff;
}
.about-contact-card .btn-primary:hover {
  background: #f0f0f0;
  border-color: #f0f0f0;
  color: var(--color-primary);
}

/* About Us Responsive */
@media (max-width: 992px) {
  .about-gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .about-mvv-grid,
  .about-why-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .about-manu-features {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .about-hero-bg {
    height: 300px;
  }
  .about-hero-content h1 {
    font-size: 2rem;
  }
  .about-profile-grid,
  .about-global-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .about-mvv-grid,
  .about-why-grid,
  .about-manu-features {
    grid-template-columns: 1fr;
  }
  .about-gallery-grid {
    grid-template-columns: 1fr 1fr;
    grid-auto-rows: 180px;
  }
  .about-gallery-wide {
    grid-column: span 2;
  }
  .about-contact-card {
    padding: 60px 24px;
  }
  .about-contact-info {
    flex-direction: column;
    gap: 20px;
  }
}

@media (max-width: 480px) {
  .about-gallery-grid {
    grid-template-columns: 1fr;
    grid-auto-rows: 220px;
  }
  .about-gallery-wide,
  .about-gallery-tall {
    grid-column: auto;
    grid-row: auto;
  }
  .about-global-images {
    grid-template-columns: 1fr;
  }
  .about-global-images img:first-child {
    grid-column: auto;
  }
}

/* ── Team Page ─────────────────────────────────────────────────────── */

/* Hero */
.team-hero {
  margin-top: 138px;
}
.team-hero-bg {
  position: relative;
  height: 380px;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
}
.team-hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.45);
}
.team-hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  color: #fff;
}
.team-hero-content h1 {
  color: #fff;
  font-size: 3rem;
  margin-bottom: 8px;
}
.team-hero-content p {
  font-size: 1.4rem;
  opacity: 0.85;
  font-family: var(--font-accent);
}

/* Intro */
.team-intro-content {
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
}
.team-intro-content h2 {
  margin-bottom: 20px;
}
.team-intro-content p {
  color: var(--color-text-light);
  font-size: 1.05rem;
  line-height: 1.9;
}

/* Team Grid */
.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}
.team-card {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
  transition: box-shadow 0.3s, transform 0.3s;
}
.team-card:hover {
  box-shadow: 0 8px 30px rgba(0,0,0,0.12);
  transform: translateY(-4px);
}
.team-card-photo {
  aspect-ratio: 3/4;
  overflow: hidden;
  background: #f0f0f0;
}
.team-card-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.team-card:hover .team-card-photo img {
  transform: scale(1.05);
}
.team-card-info {
  padding: 20px;
  text-align: center;
}
.team-card-info h3 {
  font-size: 1.05rem;
  margin-bottom: 4px;
}
.team-card-title {
  color: var(--color-text-light);
  font-size: 0.85rem;
}

/* Team Responsive */
@media (max-width: 992px) {
  .team-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 768px) {
  .team-hero-bg {
    height: 280px;
  }
  .team-hero-content h1 {
    font-size: 2rem;
  }
  .team-hero-content p {
    font-size: 1.1rem;
  }
  .team-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
}

@media (max-width: 480px) {
  .team-grid {
    grid-template-columns: 1fr;
  }
}

/* ── Material Page ──────────────────────────────────────────────────── */

.material-hero {
  margin-top: 138px;
}
.material-hero-bg {
  position: relative;
  height: 360px;
  background: linear-gradient(135deg, #2c3e50, #446084);
  display: flex;
  align-items: center;
  justify-content: center;
}
.material-hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.25);
}
.material-hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  color: #fff;
}
.material-hero-dot {
  font-size: 2.5rem;
  display: block;
  margin-bottom: 12px;
}
.material-hero-content h1 {
  color: #fff;
  font-size: 2.8rem;
  margin-bottom: 10px;
}
.material-hero-content p {
  font-size: 1.15rem;
  opacity: 0.85;
  letter-spacing: 0.05em;
}

/* Material Intro */
.material-intro-content {
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
}
.material-intro-content p {
  font-size: 1.05rem;
  color: var(--color-text-light);
  line-height: 1.8;
}
.material-disclaimer {
  margin-top: 16px;
  font-size: 0.85rem !important;
  color: #999 !important;
  font-style: italic;
}

/* Swatch Grid */
.material-swatch-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.material-swatch-card {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
  transition: box-shadow 0.3s;
}
.material-swatch-card:hover {
  box-shadow: 0 8px 30px rgba(0,0,0,0.12);
}
.material-swatch-image {
  aspect-ratio: 1/1;
  overflow: hidden;
  background: #f5f5f5;
}
.material-swatch-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.material-swatch-card:hover .material-swatch-image img {
  transform: scale(1.05);
}
.material-swatch-info {
  padding: 24px;
}
.material-swatch-color {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
}
.material-color-dot {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 2px solid var(--color-border);
  flex-shrink: 0;
}
.material-color-label {
  font-weight: 600;
  font-size: 0.95rem;
}
.material-color-code {
  color: var(--color-text-light);
  font-size: 0.85rem;
}
.material-swatch-apps {
  margin-bottom: 18px;
}
.material-swatch-apps strong {
  display: block;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--color-text-light);
  margin-bottom: 6px;
}
.material-swatch-apps ul {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.material-swatch-apps ul li {
  background: #f0f4f8;
  color: var(--color-text-light);
  font-size: 0.8rem;
  padding: 4px 10px;
  border-radius: 99px;
}
.btn-sm {
  padding: 8px 18px;
  font-size: 0.85rem;
}
.material-swatch-note {
  text-align: center;
  color: #999;
  font-size: 0.85rem;
  font-style: italic;
  margin-top: 40px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* Material Responsive */
@media (max-width: 992px) {
  .material-swatch-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 768px) {
  .material-hero-bg { height: 260px; }
  .material-hero-content h1 { font-size: 2rem; }
  .material-swatch-grid {
    grid-template-columns: 1fr;
    max-width: 440px;
    margin: 0 auto;
  }
}

/* ── Certificates Page ──────────────────────────────────────────────── */

.certs-hero {
  margin-top: 138px;
}
.certs-hero-bg {
  position: relative;
  height: 340px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
}
.certs-hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.3);
}
.certs-hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  color: #fff;
}
.certs-hero-content h1 {
  color: #fff;
  font-size: 2.8rem;
  margin-bottom: 10px;
}
.certs-hero-content p {
  font-size: 1.15rem;
  opacity: 0.85;
}

/* Certs Intro */
.certs-intro {
  max-width: 700px;
  margin: 0 auto 48px;
  text-align: center;
}
.certs-intro p {
  font-size: 1.05rem;
  color: var(--color-text-light);
  line-height: 1.8;
}

/* Swiper Coverflow Carousel */
.certs-swiper.swiper {
  overflow: hidden;
}
.certs-swiper .swiper-wrapper {
  display: flex;
  align-items: stretch;
  box-sizing: border-box;
}
.certs-swiper .swiper-slide {
  flex-shrink: 0;
}
.certs-swiper .swiper-pagination {
  position: absolute;
  left: 0;
  width: 100%;
  text-align: center;
}
.certs-swiper .swiper-button-prev,
.certs-swiper .swiper-button-next {
  position: absolute;
  z-index: 10;
}
.certs-swiper .swiper-button-disabled {
  opacity: 0.35;
  pointer-events: none;
}
.certs-swiper-wrap {
  position: relative;
  padding: 0 3.75rem 2.5rem;
  margin: 0;
}
.certs-swiper {
  width: 100%;
  padding: 24px 0 80px;
}
.certs-swiper .swiper-slide {
  width: 25rem;
  height: auto;
  pointer-events: auto;
  transition: transform 0.6s cubic-bezier(0.25, 1, 0.3, 1), opacity 0.6s ease;
  opacity: 0.35;
}
.certs-swiper .swiper-slide-prev,
.certs-swiper .swiper-slide-next {
  opacity: 0.7;
}
.certs-swiper .swiper-slide-active {
  opacity: 1;
  cursor: zoom-in;
}
.certs-slide {
  transition: box-shadow 0.45s ease;
}
.certs-swiper .swiper-slide-active .certs-slide-inner {
  box-shadow: 0 16px 48px rgba(28, 47, 77, 0.15);
}

/* Glassmorphism Lightbox Style */
.cert-lightbox {
  display: none;
  position: fixed;
  z-index: 99999;
  inset: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(15, 23, 42, 0.75);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  justify-content: center;
  align-items: center;
  opacity: 0;
  transition: opacity 0.4s cubic-bezier(0.25, 1, 0.3, 1);
}
.cert-lightbox.active {
  opacity: 1;
}
.lightbox-content {
  max-width: 90%;
  max-height: 82vh;
  object-fit: contain;
  border-radius: 12px;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
  transform: scale(0.92);
  transition: transform 0.35s cubic-bezier(0.25, 1, 0.3, 1), opacity 0.22s ease;
  background: #fff;
  padding: 12px;
}
.cert-lightbox.active .lightbox-content {
  transform: scale(1);
}
.lightbox-close {
  position: absolute;
  top: 24px;
  right: 32px;
  color: #f8fafc;
  font-size: 38px;
  font-weight: 300;
  cursor: pointer;
  transition: color 0.3s, transform 0.3s;
  user-select: none;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}
.lightbox-close:hover {
  color: #38bdf8;
  transform: scale(1.1) rotate(90deg);
}
#lightbox-caption {
  position: absolute;
  bottom: 30px;
  width: 100%;
  text-align: center;
  color: #f8fafc;
  font-size: 1.1rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  padding: 0 20px;
}

/* Lightbox navigation arrows */
.lightbox-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #fff;
  font-size: 24px;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.25s cubic-bezier(0.25, 1, 0.5, 1);
  user-select: none;
  z-index: 100000;
}
.lightbox-arrow:hover {
  background: rgba(255, 255, 255, 0.25);
  transform: translateY(-50%) scale(1.08);
}
.lightbox-prev {
  left: 32px;
}
.lightbox-next {
  right: 32px;
}
@media (max-width: 768px) {
  .lightbox-prev { left: 16px; }
  .lightbox-next { right: 16px; }
  .lightbox-arrow { width: 44px; height: 44px; font-size: 18px; }
}

.certs-slide-inner {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid #e8ebf0;
  box-shadow: 0 10px 28px rgba(28, 47, 77, 0.08);
  aspect-ratio: 1/1.414;
}
.certs-slide-inner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  padding: 14px;
  background: #fff;
}
.certs-slide-title {
  text-align: center;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--color-text);
  margin-top: 14px;
  line-height: 1.5;
}

/* Swiper nav arrows */
.certs-prev,
.certs-next {
  color: var(--color-primary) !important;
  width: 44px !important;
  height: 44px !important;
  min-width: 44px;
  min-height: 44px;
  background: #fff;
  border-radius: 50% !important;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  transition: box-shadow 0.3s;
  display: flex;
  align-items: center;
  justify-content: center;
}
.certs-prev:hover,
.certs-next:hover {
  box-shadow: 0 4px 18px rgba(0,0,0,0.15);
}
.certs-prev::after,
.certs-next::after {
  font-size: 1.1rem !important;
  font-weight: 700;
  line-height: 1;
}
/* Fix Swiper default arrow sizing */
.certs-prev.swiper-button-prev,
.certs-next.swiper-button-next {
  margin-top: -22px;
  top: 42%;
}
.certs-prev.swiper-button-prev { left: -30px; }
.certs-next.swiper-button-next { right: -30px; }

/* Swiper pagination */
.certs-pagination {
  bottom: -30px !important;
}
.certs-pagination .swiper-pagination-bullet {
  width: 10px;
  height: 10px;
  background: #ccc;
  opacity: 1;
}
.certs-pagination .swiper-pagination-bullet-active {
  background: var(--color-primary);
}

/* Certs Responsive */
@media (max-width: 768px) {
  html {
    font-size: clamp(13px, 3.8vw, 16px);
  }
  .certs-hero-bg { height: 240px; }
  .certs-hero-content h1 { font-size: 2rem; }
  .certs-swiper-wrap {
    padding: 0 0.75rem 2rem;
    margin: 0;
  }
  .certs-swiper {
    padding: 16px 0 64px;
  }
  .certs-swiper .swiper-slide {
    width: 20rem;
  }
  .certs-prev,
  .certs-next {
    display: none !important;
  }
}

/* ── Custom Service Page ────────────────────────────────────────────── */

.service-hero {
  margin-top: 138px;
}
.service-hero-bg {
  position: relative;
  height: 260px;
  background: linear-gradient(135deg, #2c3e50, #446084);
  display: flex;
  align-items: center;
  justify-content: center;
}
.service-hero-content {
  text-align: center;
  color: #fff;
}
.service-hero-content h1 {
  color: #fff;
  font-size: 2.8rem;
}

/* Featured banner image (图1) */
.service-banner-image {
  margin-top: 50px;
}
.service-banner-image img {
  width: 50%;
  margin: 0 auto;
  display: block;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

@media (max-width: 768px) {
  .service-banner-image {
    margin-top: 30px;
  }
  .service-banner-image img {
    width: 90%;
  }
}

.service-intro-content {
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
}
.service-intro-content p {
  font-size: 1.05rem;
  color: var(--color-text-light);
  line-height: 1.9;
}

/* Process Steps */
.service-process-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
  margin-bottom: 40px;
}
.service-step-card {
  text-align: center;
  padding: 32px 16px 24px;
  background: #fff;
  border-radius: 12px;
  position: relative;
  box-shadow: 0 2px 12px rgba(0,0,0,0.04);
  transition: box-shadow 0.3s, transform 0.3s;
}
.service-step-card:hover {
  box-shadow: 0 8px 28px rgba(0,0,0,0.1);
  transform: translateY(-4px);
}
.service-step-number {
  font-size: 2.2rem;
  font-weight: 900;
  color: rgba(68,96,132,0.12);
  position: absolute;
  top: 10px;
  right: 16px;
  line-height: 1;
}
.service-step-icon {
  color: var(--color-primary);
  margin-bottom: 14px;
}
.service-step-card h3 {
  font-size: 0.95rem;
  margin-bottom: 8px;
}
.service-step-card p {
  font-size: 0.85rem;
  color: var(--color-text-light);
  line-height: 1.5;
}
.service-process-image {
  max-width: 900px;
  margin: 0 auto;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}
.service-process-image img {
  width: 100%;
  display: block;
}

/* Customization Options */
.service-options-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.service-option-card {
  text-align: center;
  padding: 36px 20px;
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: 12px;
  transition: box-shadow 0.3s, border-color 0.3s;
}
.service-option-card:hover {
  box-shadow: 0 8px 24px rgba(0,0,0,0.08);
  border-color: var(--color-primary);
}
.service-option-icon {
  font-size: 2.5rem;
  margin-bottom: 14px;
}
.service-option-card h3 {
  font-size: 1rem;
  margin-bottom: 8px;
}
.service-option-card p {
  font-size: 0.9rem;
  color: var(--color-text-light);
  line-height: 1.6;
}

/* Service Responsive */
@media (max-width: 992px) {
  .service-process-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .service-options-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 768px) {
  .service-hero-bg { height: 200px; }
  .service-hero-content h1 { font-size: 2rem; }
  .service-process-grid {
    grid-template-columns: 1fr;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
  }
  .service-options-grid {
    grid-template-columns: 1fr;
  }
}

/* ── Blog Page Styles ─────────────────────────────────────────────── */
.blog-posts-list {
  display: flex;
  flex-direction: column;
  gap: 50px;
}
.post-card {
  display: flex;
  gap: 30px;
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--color-border);
  box-shadow: 0 4px 15px rgba(0,0,0,0.02);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.post-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(0,0,0,0.06);
}
.post-card-media {
  flex: 0 0 320px;
  height: auto;
  aspect-ratio: 4/3;
  overflow: hidden;
  background: var(--color-bg-light);
}
.post-card-media a {
  display: block;
  width: 100%;
  height: 100%;
}
.blog-thumbnail-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.post-card:hover .blog-thumbnail-img {
  transform: scale(1.05);
}
.post-card-body {
  flex: 1;
  padding: 24px 30px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.post-card-body h2 {
  margin-top: 0;
  font-size: 1.35rem;
  margin-bottom: 12px;
  line-height: 1.4;
  font-family: var(--font-body);
}
.post-card-body h2 a {
  color: var(--color-text);
  transition: color 0.2s;
}
.post-card-body h2 a:hover {
  color: var(--color-primary);
}
.post-card-body p {
  font-size: 0.95rem;
  color: var(--color-text-light);
  margin-bottom: 16px;
  line-height: 1.6;
}
.post-card-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px solid rgba(0, 0, 0, 0.04);
}
.post-meta-date {
  font-size: 0.85rem;
  color: var(--color-text-light);
}
.read-more {
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--color-primary);
  letter-spacing: 0.5px;
}
.read-more:hover {
  color: var(--color-link-hover);
}

/* Mobile Responsive Blog List */
@media (max-width: 768px) {
  .post-card {
    flex-direction: column;
    gap: 0;
  }
  .post-card-media {
    flex: 0 0 auto;
    width: 100%;
    aspect-ratio: 16/10;
  }
  .post-card-body {
    padding: 20px;
  }
  .post-card-body h2 {
    font-size: 1.15rem;
  }
  .post-card-footer {
    padding-top: 12px;
    margin-top: 12px;
  }
}

/* Slider No-Slide Grid Overrides */
.product-slider-track.no-slide {
  transform: none !important;
  display: grid !important;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)) !important;
  width: 100% !important;
  gap: 24px !important;
  transition: none !important;
}
.product-slider-track.no-slide .product-card {
  width: auto !important;
  min-width: 0 !important;
  flex-shrink: 1 !important;
}

/* Custom Mobile Enhancements */
@media (max-width: 768px) {
  .site-header.transparent .mobile-toggle {
    height: auto;
    justify-content: flex-start;
  }
  .site-header.transparent .mobile-toggle span {
    margin-bottom: 4px;
  }
  .site-header.transparent .mobile-toggle span:last-child {
    margin-bottom: 0;
  }
  .site-header.transparent .mobile-toggle.active {
    height: 16px;
    justify-content: space-between;
  }
  .site-header.transparent .mobile-toggle.active span {
    margin-bottom: 0;
  }

  .testimonial-video-col {
    margin-left: -20px !important;
    margin-right: -20px !important;
    width: calc(100% + 40px) !important;
    max-width: none !important;
  }
  .testimonial-video-col > div {
    border-radius: 0 !important;
  }
}

/* ── FAQ Page ───────────────────────────────────────────────────────── */

.faq-hero {
  margin-top: 138px;
}
.faq-hero-bg {
  position: relative;
  height: 300px;
  background: linear-gradient(135deg, #1a3a4a, #2c5f7c);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 20px;
}
.faq-hero-content {
  text-align: center;
  color: #fff;
  max-width: 700px;
}
.faq-hero-content h1 {
  color: #fff;
  font-size: 2.8rem;
  margin-bottom: 12px;
}
.faq-hero-content p {
  font-size: 1.1rem;
  opacity: 0.85;
  line-height: 1.7;
}

/* FAQ List */
.faq-list {
  max-width: 820px;
  margin: 0 auto;
}
.faq-item {
  border: 1px solid var(--color-border);
  border-radius: 10px;
  margin-bottom: 12px;
  background: #fff;
  overflow: hidden;
  transition: box-shadow 0.2s;
}
.faq-item[open] {
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
  border-color: #dde;
}
.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 24px;
  cursor: pointer;
  font-weight: 600;
  font-size: 1rem;
  color: var(--color-text);
  list-style: none;
  user-select: none;
}
.faq-question::-webkit-details-marker {
  display: none;
}
.faq-q-text {
  flex: 1;
}
.faq-icon {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  position: relative;
  transition: transform 0.25s ease;
}
.faq-icon::before,
.faq-icon::after {
  content: '';
  position: absolute;
  background: var(--color-primary);
  border-radius: 2px;
  transition: transform 0.25s ease;
}
.faq-icon::before {
  top: 11px;
  left: 4px;
  right: 4px;
  height: 2px;
}
.faq-icon::after {
  top: 4px;
  bottom: 4px;
  left: 11px;
  width: 2px;
}
.faq-item[open] .faq-icon::after {
  transform: rotate(90deg);
}
.faq-answer {
  padding: 0 24px 20px;
  color: var(--color-text-light);
  font-size: 0.95rem;
  line-height: 1.8;
}
.faq-answer a {
  color: var(--color-primary);
  text-decoration: underline;
}

/* FAQ Responsive */
@media (max-width: 768px) {
  .faq-hero-bg { height: 220px; }
  .faq-hero-content h1 { font-size: 2rem; }
  .faq-hero-content p { font-size: 1rem; }
  .faq-question {
    padding: 16px 18px;
    font-size: 0.95rem;
  }
  .faq-answer {
    padding: 0 18px 16px;
  }
}

/* ── OEM/ODM Page ───────────────────────────────────────────────────── */

.odm-hero {
  margin-top: 138px;
}
.odm-hero-bg {
  height: 300px;
  background: linear-gradient(135deg, #2c3e50, #446084);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 20px;
}
.odm-hero-content {
  text-align: center;
  color: #fff;
}
.odm-hero-content h1 {
  color: #fff;
  font-size: 2.8rem;
  margin-bottom: 8px;
}
.odm-hero-content p {
  font-size: 1.1rem;
  opacity: 0.85;
}

/* Feature rows */
.odm-alt-bg {
  background: #f8f9fa;
}
.odm-feature-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.odm-feature-reverse {
  direction: rtl;
}
.odm-feature-reverse .odm-feature-text {
  direction: ltr;
}
.odm-feature-text h2 {
  margin-bottom: 16px;
}
.odm-feature-text p {
  color: var(--color-text-light);
  font-size: 1.05rem;
  line-height: 1.8;
  margin-bottom: 24px;
}
.odm-feature-image {
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}
.odm-feature-image img {
  width: 100%;
  display: block;
  aspect-ratio: 16/9;
  object-fit: cover;
}

/* ODM Responsive */
@media (max-width: 768px) {
  .odm-hero-bg { height: 220px; }
  .odm-hero-content h1 { font-size: 2rem; }
  .odm-feature-row {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .odm-feature-reverse {
    direction: ltr;
  }
  .odm-feature-image {
    order: -1;
  }
}

/* ── Search Results ─────────────────────────────────────────────────── */

.search-header {
  margin-bottom: 32px;
}
.search-title {
  font-size: 1.5rem;
  margin-bottom: 6px;
}
.search-count {
  color: var(--color-text-light);
  font-size: 0.95rem;
}
.search-empty {
  text-align: center;
  padding: 40px 0;
  color: var(--color-text-light);
}
.search-empty p {
  margin-bottom: 8px;
  font-size: 1.05rem;
}

/* Large Screens Max-Width Adjustments */
@media (min-width: 1600px) {
  :root {
    --container-max: 1600px;
  }
}
@media (min-width: 1920px) {
  :root {
    --container-max: 1660px;
  }
}
@media (min-width: 2560px) {
  :root {
    --container-max: 1800px;
  }
}

/* ── Reset Sub-Page Margins for Static Header ────────────────────────── */
body:not(.home) [class*="-hero"] {
  margin-top: 0 !important;
}
body:not(.home) .product-single-page {
  padding-top: 40px !important;
}

/* ── Default Hero Background for Sub-Pages ────────────────────────── */
.material-hero-bg,
.service-hero-bg,
.faq-hero-bg,
.odm-hero-bg {
  background-image: url('assets/images/default-hero-bg.jpg') !important;
  background-size: cover;
  background-position: center;
  position: relative;
  z-index: 1;
}

/* 统一添加/加强半透明黑色遮罩，提升文字可读性 */
.material-hero-overlay {
  background: rgba(0, 0, 0, 0.48) !important;
  z-index: 0;
}
.service-hero-bg::before,
.faq-hero-bg::before,
.odm-hero-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.48);
  z-index: 0;
}
.service-hero-content,
.faq-hero-content,
.odm-hero-content {
  position: relative;
  z-index: 1;
}
