/* =========================================================
   [公司名] Furniture — Global Stylesheet
   配色规范：暖木棕 #7a4a21 / 米白 #f7f3ec / 深正文 #2b2b2b / 深松绿 #1f5f52
   禁止出现紫色系
   ========================================================= */

:root {
  --wood: #7a4a21;
  --wood-dark: #5e3817;
  --wood-light: #a9743f;
  --cream: #f7f3ec;
  --cream-dark: #efe7da;
  --ink: #2b2b2b;
  --ink-soft: #5a544c;
  --pine: #1f5f52;
  --pine-dark: #164a40;
  --white: #ffffff;
  --line: #e2d9cb;
  --radius: 10px;
  --shadow-sm: 0 2px 8px rgba(43, 43, 43, 0.06);
  --shadow-md: 0 8px 24px rgba(43, 43, 43, 0.1);
  --font-body: "Inter", "Manrope", -apple-system, "Segoe UI", Arial, sans-serif;
  --font-head: Georgia, "Times New Roman", serif;
  --maxw: 1200px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

a { color: var(--pine); text-decoration: none; }
a:hover { color: var(--pine-dark); }

h1, h2, h3, h4 { line-height: 1.25; color: var(--ink); font-weight: 700; }
h1 { font-size: clamp(1.9rem, 4vw, 3rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2.2rem); margin-bottom: 0.6em; }
h3 { font-size: 1.2rem; }
p { margin-bottom: 1em; }

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

.section { padding: 72px 0; }
.section-alt { background: var(--white); }
.section-head { max-width: 720px; margin-bottom: 40px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head p { color: var(--ink-soft); }

.eyebrow {
  display: inline-block;
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--wood);
  font-weight: 700;
  margin-bottom: 10px;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  padding: 13px 26px;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 0.95rem;
  border: 2px solid transparent;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, border-color 0.2s, transform 0.15s;
  text-align: center;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--pine); color: var(--white); }
.btn-primary:hover { background: var(--pine-dark); color: var(--white); }
.btn-secondary { background: var(--wood); color: var(--white); }
.btn-secondary:hover { background: var(--wood-dark); color: var(--white); }
.btn-outline { background: transparent; border-color: var(--wood); color: var(--wood); }
.btn-outline:hover { background: var(--wood); color: var(--white); }
.btn-white { background: var(--white); color: var(--pine); }
.btn-white:hover { background: var(--cream); color: var(--pine-dark); }
.btn-sm { padding: 8px 16px; font-size: 0.85rem; }
.btn-block { display: block; width: 100%; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--white);
  border-bottom: 1px solid var(--line);
}
/* Hero video shown at the video's native aspect ratio (no overlay text/CTA).
   Capped width + centered for a comfortable desktop size. */
.hero-video-native { display: block; padding: 28px 0; }
.hero-video-native video {
  display: block; width: 100%; height: auto;
  max-width: 1100px; margin: 0 auto;
}
@media (max-width: 640px) {
  .hero-video-native { padding: 16px 0; }
}
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

/* Header spans the full viewport width — no side gutters, gives nav maximum room */
.site-header .container { max-width: none; padding: 0 12px; }

.header-inner { display: flex; align-items: center; gap: 18px; min-height: 68px; flex-wrap: nowrap; }
.logo {
  display: flex; align-items: center; gap: 10px;
  font-weight: 800; font-size: clamp(0.92rem, 2.6vw, 1.1rem); color: var(--wood);
  white-space: nowrap; flex-shrink: 0;
}
.logo-mark {
  width: 38px; height: 38px; border-radius: 8px;
  background: var(--wood); color: var(--white);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.7rem; font-weight: 700;
}
.main-nav { flex: 1; min-width: 0; }
.main-nav > ul { display: flex; list-style: none; gap: 4px; align-items: center; flex-wrap: nowrap; }
.main-nav > ul > li > a {
  display: block; padding: 10px 12px; color: var(--ink);
  font-weight: 500; font-size: 0.92rem; border-radius: 8px;
  white-space: nowrap;
}
.main-nav > ul > li > a:hover,
.main-nav > ul > li > a.active { color: var(--wood); background: var(--cream); }

/* Mega menu */
.has-mega { position: relative; }
.mega {
  position: absolute; left: 50%; transform: translateX(-50%) translateY(8px);
  top: 100%; width: min(760px, 92vw);
  background: var(--white); border: 1px solid var(--line);
  border-radius: var(--radius); box-shadow: var(--shadow-md);
  padding: 24px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px;
  opacity: 0; visibility: hidden; transition: opacity 0.18s, transform 0.18s, visibility 0.18s;
}
.has-mega:hover .mega, .has-mega:focus-within .mega {
  opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0);
}
.mega a.mega-card { display: block; padding: 12px; border-radius: 8px; color: var(--ink); }
.mega a.mega-card:hover { background: var(--cream); }
.mega .mega-thumb { border-radius: 8px; overflow: hidden; margin-bottom: 8px; aspect-ratio: 4/3; }
.mega .mega-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.mega strong { display: block; font-size: 0.95rem; color: var(--wood); }
.mega small { color: var(--ink-soft); font-size: 0.8rem; }

.header-actions { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.lang-switcher { display: flex; gap: 2px; font-size: 0.8rem; }
.lang-switcher a { padding: 4px 7px; border-radius: 6px; color: var(--ink-soft); font-weight: 600; }
.lang-switcher a.active, .lang-switcher a:hover { background: var(--cream); color: var(--wood); }
.nav-toggle {
  display: none; background: none; border: 1px solid var(--line);
  border-radius: 8px; width: 42px; height: 42px; font-size: 1.2rem;
  cursor: pointer; color: var(--wood);
}
.nav-secondary { display: none; }

/* ---------- Hero ---------- */
.hero { position: relative; color: var(--white); }
.hero .hero-bg { position: absolute; inset: 0; overflow: hidden; }
.hero .hero-bg img { width: 100%; height: 100%; object-fit: cover; }
.hero .hero-overlay { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(43,32,20,0.78), rgba(43,32,20,0.35)); }
.hero .container { position: relative; padding-top: 110px; padding-bottom: 110px; }
.hero h1, .hero p { color: var(--white); }
.hero p.lead { font-size: 1.15rem; max-width: 560px; margin-bottom: 28px; color: rgba(255,255,255,0.9); }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }

.page-hero { background: var(--wood); color: var(--white); padding: 64px 0; }
.page-hero h1, .page-hero p { color: var(--white); }
.page-hero p { color: rgba(255,255,255,0.85); max-width: 640px; margin-bottom: 0; }
.breadcrumb { font-size: 0.82rem; margin-bottom: 12px; color: rgba(255,255,255,0.75); }
.breadcrumb a { color: rgba(255,255,255,0.9); }

/* ---------- Cards / grids ---------- */
.grid { display: grid; gap: 24px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: var(--white); border: 1px solid var(--line);
  border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s, box-shadow 0.2s;
  display: flex; flex-direction: column;
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.card .card-img { aspect-ratio: 4/3; overflow: hidden; background: var(--cream-dark); }
.card .card-img img { width: 100%; height: 100%; object-fit: cover; }
.card .card-body { padding: 20px; flex: 1; display: flex; flex-direction: column; gap: 8px; }
.card .card-body h3 { color: var(--wood); }
.card .card-body p { color: var(--ink-soft); font-size: 0.92rem; margin-bottom: 0; }
.card .card-foot { margin-top: auto; padding-top: 12px; display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }

.product-card .meta {
  display: flex; flex-wrap: wrap; gap: 6px 14px;
  font-size: 0.82rem; color: var(--ink-soft);
}
.product-card .meta b { color: var(--ink); }
.price-range { font-weight: 700; color: var(--pine); }

.badge {
  display: inline-block; padding: 3px 10px; border-radius: 999px;
  background: var(--cream-dark); color: var(--wood);
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.02em;
}
.badge-green { background: #e0efeb; color: var(--pine); }

/* Trust bar */
.trust-bar { background: var(--white); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.trust-bar .container { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; padding-top: 36px; padding-bottom: 36px; text-align: center; }
.trust-item .num { font-size: 1.8rem; font-weight: 800; color: var(--pine); }
.trust-item .lbl { font-size: 0.85rem; color: var(--ink-soft); }
.client-logos { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }
.client-logos .ph-logo {
  width: 140px; height: 52px; border-radius: 8px;
  background: var(--cream-dark); color: var(--ink-soft);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.75rem; font-weight: 600;
}

/* Banner CTA */
.banner-cta {
  background: var(--pine); color: var(--white);
  border-radius: var(--radius); padding: 48px 40px;
  display: flex; align-items: center; gap: 30px; flex-wrap: wrap;
}
.banner-cta h2, .banner-cta p { color: var(--white); }
.banner-cta p { color: rgba(255,255,255,0.85); margin-bottom: 0; }
.banner-cta .grow { flex: 1; min-width: 240px; }
.banner-cta-wood { background: var(--wood); }

/* ---------- Placeholder images ---------- */
.ph-img {
  width: 100%; height: 100%;
  background: var(--cream-dark);
  display: flex; align-items: center; justify-content: center;
  color: var(--ink-soft); font-size: 0.85rem; font-weight: 600;
  text-align: center; padding: 10px;
}
.ph-frame { background: var(--cream-dark); border-radius: var(--radius); overflow: hidden; }
.ph-frame img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* ---------- Forms ---------- */
.form-card {
  background: var(--white); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 28px;
  box-shadow: var(--shadow-sm);
}
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-grid .full { grid-column: 1 / -1; }
label { display: block; font-size: 0.85rem; font-weight: 600; margin-bottom: 6px; color: var(--ink); }
label .req { color: #b23b2e; }
input[type="text"], input[type="email"], input[type="tel"], input[type="number"],
input[type="file"], select, textarea {
  width: 100%; padding: 11px 14px;
  border: 1px solid var(--line); border-radius: 8px;
  font: inherit; font-size: 0.92rem; color: var(--ink);
  background: var(--white);
}
textarea { min-height: 110px; resize: vertical; }
input:focus, select:focus, textarea:focus {
  outline: 2px solid rgba(31, 95, 82, 0.35); border-color: var(--pine);
}
.form-note { font-size: 0.8rem; color: var(--ink-soft); margin-top: 10px; }
.form-success {
  display: none; margin-top: 16px; padding: 14px 16px;
  background: #e0efeb; border: 1px solid var(--pine);
  border-radius: 8px; color: var(--pine-dark); font-weight: 600; font-size: 0.9rem;
}
.form-success.show { display: block; }
.form-wa-alt { margin-top: 14px; display: flex; align-items: center; gap: 10px; font-size: 0.88rem; color: var(--ink-soft); flex-wrap: wrap; }

/* Form tabs */
.form-tabs { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 24px; }
.form-tabs button {
  padding: 10px 18px; border-radius: 999px; border: 1px solid var(--line);
  background: var(--white); font: inherit; font-weight: 600; font-size: 0.88rem;
  cursor: pointer; color: var(--ink-soft);
}
.form-tabs button.active { background: var(--pine); border-color: var(--pine); color: var(--white); }
.form-panel { display: none; }
.form-panel.active { display: block; }

/* ---------- Tables ---------- */
.spec-table { width: 100%; border-collapse: collapse; background: var(--white); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); }
.spec-table th, .spec-table td { padding: 12px 16px; text-align: left; font-size: 0.9rem; border-bottom: 1px solid var(--line); }
.spec-table th { width: 38%; background: var(--cream); color: var(--wood); font-weight: 700; }
.spec-table tr:last-child th, .spec-table tr:last-child td { border-bottom: none; }

/* ---------- Accordion ---------- */
.accordion { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--white); }
.accordion-item + .accordion-item { border-top: 1px solid var(--line); }
.accordion-header {
  width: 100%; text-align: left; background: none; border: none;
  padding: 18px 20px; font: inherit; font-weight: 600; font-size: 0.98rem;
  color: var(--ink); cursor: pointer;
  display: flex; justify-content: space-between; align-items: center; gap: 12px;
}
.accordion-header::after { content: "+"; font-size: 1.3rem; color: var(--wood); transition: transform 0.2s; }
.accordion-item.open .accordion-header::after { transform: rotate(45deg); }
.accordion-body { display: none; padding: 0 20px 18px; color: var(--ink-soft); font-size: 0.92rem; }
.accordion-item.open .accordion-body { display: block; }

/* ---------- Filters ---------- */
.filter-bar {
  display: flex; flex-wrap: wrap; gap: 18px 28px;
  background: var(--white); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 18px 20px; margin-bottom: 32px;
}
.filter-group { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; width: 100%; }
.filter-group .fg-label { font-size: 0.8rem; font-weight: 700; color: var(--wood); text-transform: uppercase; letter-spacing: 0.05em; }
.filter-btn {
  padding: 6px 14px; border-radius: 999px; border: 1px solid var(--line);
  background: var(--white); font: inherit; font-size: 0.82rem; cursor: pointer; color: var(--ink-soft);
}
.filter-btn.active { background: var(--wood); border-color: var(--wood); color: var(--white); }
.filter-empty { display: none; padding: 40px; text-align: center; color: var(--ink-soft); }

/* ---------- Detail page ---------- */
.detail-layout { display: grid; grid-template-columns: 1.1fr 1fr; gap: 40px; align-items: start; }
.gallery-main { border-radius: var(--radius); overflow: hidden; aspect-ratio: 4/3; background: var(--cream-dark); margin-bottom: 12px; }
.gallery-main img { width: 100%; height: 100%; object-fit: cover; }
.gallery-thumbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.gallery-thumbs .thumb { border-radius: 8px; overflow: hidden; aspect-ratio: 1; cursor: pointer; border: 2px solid transparent; background: var(--cream-dark); }
.gallery-thumbs .thumb.active { border-color: var(--pine); }
.gallery-thumbs img { width: 100%; height: 100%; object-fit: cover; }
.detail-info h1 { font-size: clamp(1.5rem, 3vw, 2.1rem); }
.detail-meta { display: flex; flex-wrap: wrap; gap: 8px; margin: 14px 0 18px; }
.detail-cta { display: flex; gap: 12px; flex-wrap: wrap; margin: 22px 0; }
.info-box {
  border-left: 4px solid var(--pine); background: #eef5f2;
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 16px 20px; margin: 20px 0; font-size: 0.92rem;
}
.info-box.wood-tone { border-color: var(--wood); background: var(--cream); }
.cert-badges { display: flex; flex-wrap: wrap; gap: 10px; margin: 16px 0; }
.cert-badges .cert {
  border: 1px dashed var(--wood-light); border-radius: 8px;
  padding: 10px 16px; font-size: 0.8rem; font-weight: 700; color: var(--wood);
  background: var(--white); text-align: center;
}

/* ---------- Steps / process ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; counter-reset: step; }
.steps.six { grid-template-columns: repeat(6, 1fr); }
.step {
  background: var(--white); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 24px 18px; text-align: center;
  position: relative;
}
.step::before {
  counter-increment: step; content: counter(step);
  display: flex; align-items: center; justify-content: center;
  width: 40px; height: 40px; margin: 0 auto 12px;
  background: var(--pine); color: var(--white);
  border-radius: 50%; font-weight: 800;
}
.step h3 { font-size: 1rem; margin-bottom: 6px; }
.step p { font-size: 0.85rem; color: var(--ink-soft); margin-bottom: 0; }
.step-connector { position: relative; }

/* ---------- Footer ---------- */
.site-footer { background: #33241a; color: #e8dfd2; margin-top: 72px; }
.site-footer a { color: #e8dfd2; }
.site-footer a:hover { color: var(--white); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 36px; padding: 56px 0 40px; align-items: start; }
.site-footer h4 { color: var(--white); font-size: 0.95rem; margin-bottom: 14px; }
.site-footer .container { max-width: 1440px; padding-left: 48px; padding-right: 48px; }
.site-footer ul { list-style: none; }
.site-footer ul li { margin-bottom: 8px; font-size: 0.88rem; }
.site-footer p, .site-footer li { color: #cbbfa9; font-size: 0.88rem; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.12); padding: 18px 0; font-size: 0.8rem; color: #a99b83; display: flex; justify-content: center; gap: 10px; flex-wrap: wrap; }

/* ---------- Toast ---------- */
.toast {
  position: fixed; left: 50%; bottom: 90px; transform: translateX(-50%) translateY(20px);
  background: var(--ink); color: var(--white);
  padding: 12px 22px; border-radius: 999px; font-size: 0.88rem;
  opacity: 0; pointer-events: none; transition: opacity 0.25s, transform 0.25s;
  z-index: 300;
}
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }

/* ---------- Misc ---------- */
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.list-check { list-style: none; }
.list-check li { padding-left: 28px; position: relative; margin-bottom: 10px; }
.list-check li::before { content: "✓"; position: absolute; left: 0; color: var(--pine); font-weight: 800; }
.tag-row { display: flex; flex-wrap: wrap; gap: 8px; }
.video-frame { aspect-ratio: 16/9; background: var(--cream-dark); border-radius: var(--radius); display: flex; align-items: center; justify-content: center; color: var(--ink-soft); font-weight: 600; }

/* Factory showcase video on homepage (with audio) */
.factory-video video {
  width: 100%; display: block; background: #000;
  border-radius: var(--radius); box-shadow: var(--shadow-md);
}
.video-caption {
  text-align: center; font-size: 0.85rem;
  color: var(--ink-soft); margin: 10px 0 0;
}
.mt-24 { margin-top: 24px; } .mt-40 { margin-top: 40px; }
.mb-0 { margin-bottom: 0; }
.text-soft { color: var(--ink-soft); }
.hidden { display: none !important; }

/* ---------- Responsive ---------- */
/* Very large desktop: comfortable single-row header */
@media (min-width: 1536px) {
  .header-inner { min-height: 82px; gap: 28px; }
  .logo { gap: 12px; }
  .logo-mark { width: 42px; height: 42px; }
  .main-nav > ul { gap: 6px; }
  .main-nav > ul > li > a { padding: 10px 14px; }
  .header-actions { gap: 16px; }
}

/* Laptops 1280–1535: compact single row; secondary links and duplicate CTA hidden */
@media (min-width: 1280px) and (max-width: 1535px) {
  .header-inner { gap: 18px; }
  .logo { font-size: 0.98rem; }
  .main-nav > ul { gap: 2px; }
  .main-nav > ul > li > a { padding: 9px 10px; font-size: 0.85rem; }
  .header-actions { gap: 10px; }
  .header-actions .btn-primary { display: none; }
}

/* Secondary items stay in footer + hamburger; hidden from the horizontal bar */
@media (min-width: 1280px) {
  .main-nav > ul > li.nav-secondary { display: none; }
}

@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .steps, .steps.six { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .detail-layout { grid-template-columns: 1fr; }
}

/* Below 1280 (small laptops, tablets, phones): hamburger menu */
@media (max-width: 1279px) {
  .header-inner { flex-wrap: wrap; padding-top: 10px; padding-bottom: 10px; }
  .nav-toggle { display: block; }
  .header-actions .btn-primary { display: none; }
  .main-nav {
    order: 3; width: 100%; display: none;
    border-top: 1px solid var(--line); padding-top: 10px;
  }
  .main-nav.open { display: block; }
  .main-nav > ul { flex-direction: column; align-items: stretch; }
  .main-nav > ul > li > a { padding: 12px; }
  .has-mega .mega {
    position: static; transform: none; opacity: 1; visibility: visible;
    width: 100%; box-shadow: none; border: none; border-top: 1px dashed var(--line);
    grid-template-columns: 1fr 1fr; padding: 10px; display: none;
  }
  .has-mega.mega-open .mega { display: grid; }
  .nav-secondary { display: block; border-top: 1px dashed var(--line); margin-top: 8px; padding: 10px 12px; }
  .nav-secondary a { display: block; padding: 6px 0; color: var(--ink-soft); font-size: 0.9rem; }
}

@media (max-width: 640px) {
  .section { padding: 48px 0; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .two-col { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .trust-bar .container { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr; }
  .site-footer .container { padding-left: 24px; padding-right: 24px; }
  .steps, .steps.six { grid-template-columns: 1fr; }
  .hero .container { padding-top: 72px; padding-bottom: 72px; }
  .banner-cta { padding: 32px 22px; }
}

/* =========================================================
   全局美化层（2026-10 追加）
   仅做视觉增强：阴影/渐变/圆角/动效/细节，不改变布局结构
   ========================================================= */

/* 全局细节 */
::selection { background: var(--wood); color: var(--white); }
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: var(--cream); }
::-webkit-scrollbar-thumb { background: #c9b795; border-radius: 999px; border: 2px solid var(--cream); }
::-webkit-scrollbar-thumb:hover { background: var(--wood-light); }

body { text-rendering: optimizeLegibility; }
h1, h2, h3, h4 { letter-spacing: 0.01em; }
:focus-visible { outline: 2px solid var(--pine); outline-offset: 2px; border-radius: 4px; }

/* 按钮：渐变 + 阴影 + 回弹 */
.btn { transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.2s, color 0.2s, border-color 0.2s; letter-spacing: 0.01em; }
.btn:active { transform: translateY(0) scale(0.98); }
.btn-primary { background: linear-gradient(135deg, #24705f, var(--pine)); box-shadow: 0 4px 14px rgba(31, 95, 82, 0.28); }
.btn-primary:hover { background: linear-gradient(135deg, var(--pine), var(--pine-dark)); box-shadow: 0 6px 18px rgba(31, 95, 82, 0.34); }
.btn-secondary { background: linear-gradient(135deg, #8a5626, var(--wood)); box-shadow: 0 4px 14px rgba(122, 74, 33, 0.26); }
.btn-secondary:hover { background: linear-gradient(135deg, var(--wood), var(--wood-dark)); box-shadow: 0 6px 18px rgba(122, 74, 33, 0.32); }
.btn-outline:hover { box-shadow: 0 4px 14px rgba(122, 74, 33, 0.22); }
.btn-white { box-shadow: 0 4px 14px rgba(0, 0, 0, 0.12); }

/* 产品详情弹层：大图 + 底部信息 */
.p-lightbox { position: fixed; inset: 0; z-index: 400; display: flex; align-items: center; justify-content: center; padding: 24px; }
.p-lightbox-mask { position: absolute; inset: 0; background: rgba(31, 26, 20, 0.78); }
.p-lightbox-panel { position: relative; background: var(--white); border-radius: 16px; overflow: hidden; width: 100%; max-width: 880px; box-shadow: 0 24px 64px rgba(0, 0, 0, 0.35); animation: pZoom 0.25s ease; }
@keyframes pZoom { from { transform: scale(0.94); opacity: 0; } to { transform: scale(1); opacity: 1; } }
.p-lightbox-img { background: var(--cream); }
.p-lightbox-img img { width: 100%; max-height: 70vh; object-fit: contain; display: block; }
.p-lightbox-info { padding: 16px 22px; border-top: 1px solid var(--line); }
.p-lightbox-info h3 { margin: 0 0 6px; font-size: 1.05rem; }
.p-lightbox-meta { display: flex; gap: 24px; flex-wrap: wrap; color: var(--ink-soft); font-size: 0.9rem; }
.p-lightbox-close { position: absolute; top: 10px; right: 10px; width: 38px; height: 38px; border-radius: 50%; border: none; background: rgba(31, 26, 20, 0.6); color: #fff; font-size: 1.35rem; line-height: 1; cursor: pointer; }
.p-lightbox-close:hover { background: rgba(31, 26, 20, 0.85); }

/* 头部：悬浮阴影 */
.site-header { box-shadow: 0 1px 0 rgba(43, 43, 43, 0.04), 0 6px 20px rgba(43, 43, 43, 0.05); }
.main-nav > ul > li > a { position: relative; transition: color 0.2s, background 0.2s; }
.logo-mark { box-shadow: 0 3px 10px rgba(122, 74, 33, 0.3); letter-spacing: 0.02em; }

/* Hero：更柔和的渐变压暗 */
.hero .hero-overlay { background: linear-gradient(100deg, rgba(43, 32, 20, 0.82) 0%, rgba(43, 32, 20, 0.45) 55%, rgba(43, 32, 20, 0.22) 100%); }
.hero-actions .btn { backdrop-filter: blur(2px); }

/* 页头：木纹渐变 */
.page-hero {
  background:
    radial-gradient(1200px 300px at 85% -40%, rgba(255, 255, 255, 0.14), transparent 60%),
    linear-gradient(120deg, var(--wood-dark), var(--wood) 55%, var(--wood-light));
}
.breadcrumb { opacity: 0.9; }

/* 卡片：更大圆角 + 图片缩放 + 柔和阴影 */
.card {
  border-radius: 14px; border-color: #e9e0d2;
  box-shadow: 0 2px 10px rgba(43, 43, 43, 0.05);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s;
}
.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 14px 34px rgba(43, 43, 43, 0.13);
  border-color: #ddd0ba;
}
.card .card-img img { transition: transform 0.5s ease; }
.card:hover .card-img img { transform: scale(1.05); }
.card .card-body h3 { transition: color 0.2s; }
.card:hover .card-body h3 { color: var(--wood-dark); }

/* 产品卡片入场动画（动态插入也生效） */
@keyframes fadeUp { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: translateY(0); } }
.product-card { animation: fadeUp 0.45s ease both; }

/* 徽章：微渐变 */
.badge { background: linear-gradient(135deg, #f3e9d8, var(--cream-dark)); border: 1px solid #e4d7c0; }
.badge-green { background: linear-gradient(135deg, #e8f3ef, #d8ebe4); border: 1px solid #c8ded6; }

/* 信任条数字 */
.trust-item .num { letter-spacing: 0.01em; }
.trust-item { padding: 6px 0; transition: transform 0.2s; }
.trust-item:hover { transform: translateY(-2px); }

/* Banner CTA：渐变 + 内发光 */
.banner-cta {
  background: linear-gradient(120deg, var(--pine-dark), var(--pine) 60%, #2a7a68);
  box-shadow: 0 16px 40px rgba(31, 95, 82, 0.25);
  border-radius: 16px;
}
.banner-cta-wood {
  background: linear-gradient(120deg, var(--wood-dark), var(--wood) 60%, var(--wood-light));
  box-shadow: 0 16px 40px rgba(122, 74, 33, 0.25);
}

/* 筛选条：更清爽的分组 */
.filter-bar { border-radius: 14px; box-shadow: 0 2px 10px rgba(43, 43, 43, 0.05); border-color: #e9e0d2; }
.filter-btn { transition: all 0.18s ease; }
.filter-btn:hover { border-color: var(--wood-light); color: var(--wood); transform: translateY(-1px); }
.filter-btn.active { background: linear-gradient(135deg, #8a5626, var(--wood)); box-shadow: 0 3px 10px rgba(122, 74, 33, 0.28); }
.filter-btn.active:hover { color: var(--white); }

/* 表单：更柔和的交互反馈 */
input[type="text"], input[type="email"], input[type="tel"], input[type="number"],
input[type="file"], select, textarea { transition: border-color 0.2s, box-shadow 0.2s; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--pine); box-shadow: 0 0 0 3px rgba(31, 95, 82, 0.14); }
.form-tabs button { transition: all 0.18s ease; }
.form-tabs button:not(.active):hover { border-color: var(--pine); color: var(--pine); }

/* 表格：行悬浮 */
.spec-table tr { transition: background 0.15s; }
.spec-table tbody tr:hover, .spec-table tr:hover td { background: #faf6ef; }

/* 手风琴：悬浮反馈 */
.accordion-header { transition: background 0.18s; }
.accordion-header:hover { background: var(--cream); }
.accordion-item.open .accordion-header { color: var(--wood); }

/* 步骤卡：悬浮浮起 */
.step { transition: transform 0.22s ease, box-shadow 0.22s ease; }
.step:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.step::before { box-shadow: 0 4px 12px rgba(31, 95, 82, 0.3); }

/* 详情页画廊缩略图 */
.gallery-thumbs .thumb { transition: transform 0.18s ease, border-color 0.18s; }
.gallery-thumbs .thumb:hover { transform: translateY(-2px); }

/* 页脚：深棕渐变 + 链接滑动 */
.site-footer { background: linear-gradient(180deg, #3a2a1e, #2b1e14); }
.site-footer a { transition: color 0.2s, padding-left 0.2s; }
.site-footer ul li a:hover { padding-left: 4px; color: var(--white); }
.site-footer h4 { position: relative; padding-bottom: 10px; }
.site-footer h4::after { content: ""; position: absolute; left: 0; bottom: 0; width: 28px; height: 2px; background: var(--wood-light); border-radius: 2px; }

/* 滚动渐显（JS 添加 .reveal/.reveal-in，无 JS 时内容照常显示） */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.reveal-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .product-card { animation: none; }
}

/* =========================================================
   舒适感提升（第二轮美化）：留白、行高、柔和度
   ========================================================= */
/* 阅读舒适度：更松的行高与字距 */
body { line-height: 1.75; letter-spacing: 0.003em; }
.section-head p, .page-hero p, .card .card-body p, .accordion-body { line-height: 1.75; }

/* 呼吸感：区块与网格留白 */
.section { padding: 88px 0; }
.grid { gap: 28px; }
.section-head { margin-bottom: 48px; }
@media (max-width: 860px) { .section { padding: 56px 0; } }

/* Hero 视频：圆角 + 柔和投影，更像橱窗展示 */
.hero-video-native video { border-radius: 16px; box-shadow: 0 20px 50px rgba(43, 32, 20, 0.16); }

/* 页头横幅：更高留白 */
.page-hero { padding: 76px 0; }

/* 卡片：正文比例更舒展 */
.card .card-body { padding: 22px 22px 24px; gap: 10px; }
.product-card .meta { color: #7d766b; }

/* 筛选条：上下分组更清晰 */
.filter-bar { padding: 20px 24px; gap: 14px 28px; margin-bottom: 40px; }
.filter-group { gap: 10px; }
.filter-group + .filter-group { border-top: 1px dashed var(--line); padding-top: 14px; }
.filter-empty { padding: 56px 40px; font-size: 0.95rem; }

/* 横幅 CTA 更通透 */
.banner-cta { padding: 56px 48px; }

/* 页脚：与正文拉开距离 */
.site-footer { margin-top: 88px; }
.site-footer .footer-grid { row-gap: 36px; }

/* 步骤卡更柔和 */
.step { padding: 28px 20px; }

/* 弹层遮罩更柔和 */
.p-lightbox-mask { background: rgba(31, 26, 20, 0.72); backdrop-filter: blur(4px); }

/* 图片圆角统一 */
.gallery-main, .ph-frame { border-radius: 14px; }

