/**
 * Luthier's Note — 手工吉他品牌站样式
 * 原木暖色 + 深棕 + 米白 + 黑
 * 大留白 · 叙事感 · 匠人笔记风格
 * 无圆角 · 木质纹理 · 手写标题
 * 纯原生 CSS，无框架依赖
 */

/* ============================================================
   Google Fonts — 中文排版优化
   ============================================================ */


/* ============================================================
   CSS 变量体系 — 木材本色
   ============================================================ */
:root {
  /* 原木暖色系 */
  --wood: #D4A373;
  --wood-light: #E8CFB0;
  --wood-lighter: #F5E6D3;
  --wood-dark: #B8874A;
  --bark: #3D2B1F;
  --bark-light: #5C4033;
  --bark-dark: #1A0F08;
  --cream: #FAF7F2;
  --cream-dark: #EFE8DC;
  --ivory: #FFFDF9;
  --black: #1A1A1A;
  --charcoal: #2D2D2D;

  /* 文字色阶 */
  --text-primary: var(--bark);
  --text-secondary: #6B5D55;
  --text-muted: #9B8D85;
  --text-light: #C4B8AE;

  /* 边框 */
  --border-wood: rgba(180, 135, 74, 0.25);
  --border-subtle: rgba(61, 43, 31, 0.1);
  --border-card: rgba(61, 43, 31, 0.12);

  /* 阴影 — 柔和如木纹投影 */
  --shadow-sm: 0 1px 3px rgba(61, 43, 31, 0.06);
  --shadow-md: 0 4px 16px rgba(61, 43, 31, 0.08);
  --shadow-lg: 0 8px 32px rgba(61, 43, 31, 0.1);

  /* 间距 */
  --section-py: 64px;
  --container-max: 1200px;
  --header-h: 72px;

  /* 过渡 */
  --ease-out: cubic-bezier(0.22, 0.61, 0.36, 1);
  --ease-smooth: cubic-bezier(0.4, 0, 0.2, 1);
  --duration-fast: 180ms;
  --duration-normal: 350ms;
  --duration-slow: 600ms;

  /* ★ 字体 — Google Fonts + 系统回退 */
  --font-serif: 'Noto Serif SC', 'Source Han Serif SC', 'STSong', 'Songti SC', 'PingFang SC', 'SimSun', serif;
  --font-sans: 'Noto Sans SC', 'Source Han Sans SC', 'PingFang SC', 'Microsoft YaHei', 'Hiragino Sans GB', 'Helvetica Neue', -apple-system, sans-serif;
  --font-hand: 'Ma Shan Zheng', 'KaiTi', 'STKaiti', 'Noto Serif SC', cursive;
}

/* ============================================================
   全局重置 & 基调
   ============================================================ */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  font-size: 16px;
}

body {
  background: var(--ivory);
  color: var(--text-secondary);
  font-family: var(--font-sans);
  font-size: 0.95rem;
  line-height: 1.9;
  letter-spacing: 0.02em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

/* 极浅木纹底 */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: -2;
  background:
    /* 微妙的横向木纹纹理 */
    repeating-linear-gradient(
      1deg,
      transparent,
      transparent 1px,
      rgba(180, 135, 74, 0.015) 1px,
      rgba(180, 135, 74, 0.015) 2px
    ),
    repeating-linear-gradient(
      89deg,
      transparent,
      transparent 40px,
      rgba(180, 135, 74, 0.02) 40px,
      rgba(180, 135, 74, 0.02) 42px
    ),
    linear-gradient(180deg, var(--ivory) 0%, var(--cream) 50%, #F8F3EB 100%);
  pointer-events: none;
}

::selection {
  background: rgba(180, 135, 74, 0.2);
  color: var(--bark);
}

/* 滚动条 */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--cream); }
::-webkit-scrollbar-thumb { background: var(--wood-light); }
::-webkit-scrollbar-thumb:hover { background: var(--wood); }

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--duration-fast) var(--ease-out);
}

img {
  max-width: 100%;
  max-height: 500px;
  height: auto;
  display: block;
  object-fit: cover;
}

/* 详情页正文内图片不限制高度（富文本编辑器插入的图） */
.detail__body img {
  max-height: none;
  object-fit: contain;
}

ul, ol { list-style: none; }

input, textarea, select, button {
  font-family: inherit;
  font-size: inherit;
  border-radius: 0;
}

input::placeholder, textarea::placeholder {
  color: var(--text-muted);
  opacity: 1;
}

/* ============================================================
   排版 — 叙事感
   ============================================================ */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-serif);
  color: var(--text-primary);
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: 0.03em;
}

/* 区块小标签 — 手写感 */
.section-tag {
  display: inline-block;
  font-family: var(--font-hand);
  font-size: 0.95rem;
  font-weight: 400;
  letter-spacing: 0.08em;
  color: var(--wood-dark);
  margin-bottom: 0.5rem;
}

/* 英文标签 */
.section-tag-en {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 0.25rem;
}

.section-title {
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  font-weight: 700;
  color: var(--bark);
  margin-bottom: 0.75rem;
  letter-spacing: 0.04em;
  line-height: 1.35;
}

.section-subtitle {
  font-size: 1rem;
  color: var(--text-secondary);
  max-width: 560px;
  line-height: 1.8;
}

/* 段落 — 叙事节奏 */
.lead-text {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  color: var(--text-secondary);
  line-height: 2;
  letter-spacing: 0.03em;
}

/* ============================================================
   布局容器
   ============================================================ */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 32px;
}

.section {
  padding: var(--section-py) 0;
}

/* 木纹装饰分割线 */
.wood-divider {
  width: 60px;
  height: 2px;
  background: var(--wood);
  margin: 0 auto;
  position: relative;
}

.wood-divider::after {
  content: '';
  position: absolute;
  top: -1px;
  left: 50%;
  transform: translateX(-50%);
  width: 12px;
  height: 4px;
  background: var(--bark);
}

/* ============================================================
   Header 头部 — 原木质感
   ============================================================ */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: var(--header-h);
  background: rgba(255, 253, 249, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-wood);
  transition: background var(--duration-normal) var(--ease-out),
              box-shadow var(--duration-normal) var(--ease-out);
}

.header.scrolled {
  background: rgba(255, 253, 249, 0.98);
  box-shadow: 0 1px 20px rgba(61, 43, 31, 0.06);
}

.header__inner {
  display: flex;
  align-items: center;
  height: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 32px;
}

/* Logo — 手写风格 */
.header__logo {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
  margin-right: auto;
}

.header__logo-icon {
  width: 42px;
  height: 42px;
  background: var(--bark);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  color: var(--wood);
}

.header__logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.header__logo-name {
  font-family: var(--font-hand);
  font-size: 1.2rem;
  font-weight: 400;
  color: var(--bark);
  letter-spacing: 0.06em;
}

.header__logo-sub {
  font-size: 0.6rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--wood-dark);
}

/* 主导航 */
.header__nav {
  display: flex;
  align-items: center;
  gap: 2px;
}

.header__nav-link {
  padding: 8px 18px;
  font-size: 0.88rem;
  color: var(--text-secondary);
  transition: all var(--duration-fast) var(--ease-out);
  white-space: nowrap;
  letter-spacing: 0.04em;
}

.header__nav-link:hover,
.header__nav-link.active {
  color: var(--bark);
}

/* 导航下拉 */
.header__nav-item {
  position: relative;
}

.header__nav-item:hover .header__dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.header__dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 160px;
  padding: 8px 0;
  background: var(--ivory);
  border: 1px solid var(--border-wood);
  box-shadow: var(--shadow-lg);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: all var(--duration-normal) var(--ease-out);
  z-index: 60;
}

.header__dropdown a {
  display: block;
  padding: 10px 22px;
  font-size: 0.85rem;
  color: var(--text-secondary);
  transition: all var(--duration-fast);
  letter-spacing: 0.03em;
}

.header__dropdown a:hover {
  color: var(--bark);
  background: var(--cream);
}

/* 头部右侧操作区 */
.header__actions {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-left: 20px;
}

.header__cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 18px;
  background: var(--bark);
  color: var(--cream);
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  border: 1px solid var(--bark);
  transition: all var(--duration-fast) var(--ease-out);
  white-space: nowrap;
  flex-shrink: 0;
}

.header__cta:hover {
  background: var(--bark-dark);
  color: var(--cream);
  border-color: var(--bark-dark);
}

/* ============================================================
   汉堡菜单（移动端）
   ============================================================ */
.hamburger {
  display: none;
  width: 44px;
  height: 44px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 110;
  margin-left: 8px;
}

.hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--bark);
  transition: all var(--duration-normal) var(--ease-out);
}

.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}
.hamburger.active span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}
.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* 移动端侧滑菜单 */
.mobile-nav {
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  width: 80%;
  max-width: 360px;
  background: var(--ivory);
  z-index: 120;
  transform: translateX(-100%);
  transition: transform var(--duration-normal) var(--ease-out);
  overflow-y: auto;
  box-shadow: var(--shadow-lg);
}

.mobile-nav.open {
  transform: translateX(0);
}

.mobile-nav__inner {
  padding: 28px 24px;
  padding-top: 90px;
}

.mobile-nav__link {
  display: block;
  padding: 14px 16px;
  font-size: 1rem;
  color: var(--text-secondary);
  letter-spacing: 0.04em;
  border-bottom: 1px solid var(--border-subtle);
  transition: all var(--duration-fast);
}

.mobile-nav__link:hover {
  color: var(--bark);
  background: var(--cream);
}

.mobile-nav__sub {
  padding-left: 16px;
  display: none;
}

.mobile-nav__sub.open {
  display: block;
}

.mobile-nav__sub a {
  display: block;
  padding: 10px 16px;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.mobile-nav__overlay {
  position: fixed;
  inset: 0;
  background: rgba(26, 15, 8, 0.5);
  z-index: 115;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--duration-normal) var(--ease-out);
}

.mobile-nav__overlay.show {
  opacity: 1;
  pointer-events: auto;
}

/* ============================================================
   内页 Banner — 木纹底色
   ============================================================ */
.inner-banner {
  position: relative;
  height: 280px;
  overflow: hidden;
  background: var(--bark);
}

.inner-banner__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0.5;
}

.inner-banner__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(26,15,8,0.6) 0%, rgba(61,43,31,0.4) 50%, rgba(61,43,31,0.8) 100%);
}

.inner-banner__content {
  position: relative;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 32px;
}

.inner-banner__title {
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  font-weight: 700;
  color: var(--cream);
  margin-bottom: 0.5rem;
  letter-spacing: 0.05em;
}

.inner-banner__subtitle {
  font-size: 1.05rem;
  color: var(--wood-light);
  font-family: var(--font-serif);
}

/* 面包屑 */
.breadcrumb-bar {
  background: var(--cream);
  border-bottom: 1px solid var(--border-subtle);
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 14px 32px;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.breadcrumb a {
  color: var(--text-secondary);
  transition: color var(--duration-fast);
}

.breadcrumb a:hover {
  color: var(--wood-dark);
}

.breadcrumb i {
  font-size: 0.6rem;
  color: var(--text-muted);
}

/* ============================================================
   按钮系统 — 原木风格
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 32px;
  font-size: 0.9rem;
  font-weight: 500;
  border: none;
  cursor: pointer;
  transition: all var(--duration-normal) var(--ease-out);
  white-space: nowrap;
  letter-spacing: 0.04em;
}

.btn--primary {
  background: var(--bark);
  color: var(--cream);
  border: 1px solid var(--bark);
}

.btn--primary:hover {
  background: var(--bark-dark);
  color: var(--cream);
}

.btn--outline {
  background: transparent;
  color: var(--bark);
  border: 1px solid var(--bark);
}

.btn--outline:hover {
  background: var(--bark);
  color: var(--cream);
}

.btn--ghost {
  background: transparent;
  color: var(--text-secondary);
  border: 1px solid var(--border-subtle);
}

.btn--ghost:hover {
  border-color: var(--wood);
  color: var(--bark);
  background: var(--cream);
}

.btn--wood {
  background: var(--wood);
  color: var(--bark);
  border: 1px solid var(--wood);
}

.btn--wood:hover {
  background: var(--wood-dark);
  color: var(--ivory);
  border-color: var(--wood-dark);
}

/* ============================================================
   卡片系统 — 米白底 + 细棕边框
   ============================================================ */
.card {
  background: var(--ivory);
  border: 1px solid var(--border-card);
  overflow: hidden;
  transition: all var(--duration-normal) var(--ease-out);
}

.card:hover {
  border-color: var(--border-wood);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.card__image {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 10;
  max-height: 260px;
  background: var(--cream-dark);
}

.card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--duration-slow) var(--ease-out);
}

.card:hover .card__image img {
  transform: scale(1.04);
}

.card__body {
  padding: 18px;
}

.card__tag {
  display: inline-block;
  padding: 3px 10px;
  font-size: 0.7rem;
  font-weight: 500;
  color: var(--wood-dark);
  background: var(--wood-lighter);
  letter-spacing: 0.06em;
  margin-bottom: 10px;
}

.card__title {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--bark);
  margin-bottom: 8px;
  line-height: 1.45;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.card__desc {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.75;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.card__meta {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid var(--border-subtle);
  font-size: 0.8rem;
  color: var(--text-muted);
}

.card__price {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--wood-dark);
  margin-top: 10px;
}

/* 大卡片（用于主推/孤品） */
.card--large .card__image {
  aspect-ratio: 16 / 10;
  max-height: 320px;
}

.card--large .card__body {
  padding: 24px;
}

/* ============================================================
   首页 — Hero Banner（Swiper 全屏）
   ============================================================ */
.hero {
  position: relative;
  height: 70vh;
  min-height: 420px;
  max-height: 600px;
  overflow: hidden;
  background: var(--bark);
}

.hero .swiper {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero__slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  background:
    linear-gradient(180deg,
      rgba(26,15,8,0.2) 0%,
      rgba(26,15,8,0.05) 40%,
      rgba(26,15,8,0.7) 100%
    );
}

.hero__content {
  position: relative;
  z-index: 3;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-bottom: 60px;
  max-width: var(--container-max);
  margin: 0 auto;
  padding-left: 32px;
  padding-right: 32px;
}

.hero__title {
  font-family: var(--font-hand);
  font-size: clamp(2.25rem, 5.5vw, 3.75rem);
  font-weight: 400;
  color: var(--cream);
  line-height: 1.2;
  margin-bottom: 1rem;
  letter-spacing: 0.06em;
  text-shadow: 0 2px 30px rgba(0,0,0,0.4);
}

.hero__subtitle {
  font-family: var(--font-serif);
  font-size: clamp(1rem, 2vw, 1.25rem);
  color: var(--wood-light);
  margin-bottom: 2rem;
}

.hero__actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.hero__actions .btn--outline {
  border-color: var(--wood);
  color: var(--cream);
}

.hero__actions .btn--outline:hover {
  background: var(--cream);
  color: var(--bark);
  border-color: var(--cream);
}

/* Swiper 分页器 */
.hero-pagination {
  display: flex;
  justify-content: flex-start;
  gap: 6px;
  margin-top: 28px;
}

.hero-pagination .swiper-pagination-bullet {
  width: 36px;
  height: 2px;
  background: rgba(255,255,255,0.35);
  opacity: 1;
  transition: all var(--duration-normal);
}

.hero-pagination .swiper-pagination-bullet-active {
  width: 56px;
  background: var(--wood);
}

/* 滚动指示器 */
.hero__scroll-indicator {
  position: absolute;
  bottom: 36px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 5;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: var(--text-light);
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  animation: scrollFloat 2s ease-in-out infinite;
}

.hero__scroll-line {
  width: 1px;
  height: 36px;
  background: linear-gradient(180deg, var(--wood), transparent);
}

@keyframes scrollFloat {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(10px); }
}

/* ============================================================
   首页 — 木纹装饰区
   ============================================================ */
.wood-section {
  position: relative;
  background: var(--ivory);
}

.wood-section--alt {
  background: var(--cream);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}

/* 木纹顶线 */
.wood-topline {
  height: 3px;
  background: linear-gradient(90deg,
    transparent 0%,
    var(--wood-light) 20%,
    var(--wood) 50%,
    var(--wood-light) 80%,
    transparent 100%
  );
}

/* ============================================================
   首页 — 三大特色（feature卡片）
   ============================================================ */
.features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.feature-card {
  text-align: center;
  padding: 32px 20px;
  background: var(--ivory);
  border: 1px solid var(--border-subtle);
  transition: all var(--duration-normal) var(--ease-out);
}

.feature-card:hover {
  border-color: var(--border-wood);
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}

.feature-card__icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 16px;
  background: var(--wood-lighter);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  color: var(--wood-dark);
  transition: all var(--duration-normal);
}

.feature-card:hover .feature-card__icon {
  background: var(--wood);
  color: var(--ivory);
}

.feature-card__title {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--bark);
  margin-bottom: 10px;
}

.feature-card__desc {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.75;
}

/* ============================================================
   首页 — 制琴师引子（左图右文，大留白）
   ============================================================ */
.intro-split {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 40px;
  align-items: center;
}

.intro-image {
  position: relative;
  overflow: hidden;
  aspect-ratio: 3/4;
  max-width: 320px;
  max-height: 400px;
  margin: 0 auto;
  background: var(--cream-dark);
}

.intro-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* 木纹边框装饰框 */
.intro-image::before {
  content: '';
  position: absolute;
  inset: -12px;
  border: 1px solid var(--border-wood);
  z-index: -1;
}

.intro-text {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.intro-text .quote {
  font-family: var(--font-hand);
  font-size: 1.35rem;
  color: var(--wood-dark);
  line-height: 1.8;
  letter-spacing: 0.05em;
  padding-left: 16px;
  border-left: 2px solid var(--wood);
}

/* ============================================================
   首页 — 孤品/主推产品大卡
   ============================================================ */
.featured-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.featured-card {
  background: var(--ivory);
  border: 1px solid var(--border-card);
  overflow: hidden;
  transition: all var(--duration-normal) var(--ease-out);
  display: flex;
  flex-direction: column;
}

.featured-card:hover {
  border-color: var(--border-wood);
  box-shadow: var(--shadow-lg);
  transform: translateY(-3px);
}

.featured-card__image {
  overflow: hidden;
  aspect-ratio: 16 / 10;
  max-height: 180px;
  background: var(--cream-dark);
}

.featured-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--duration-slow) var(--ease-out);
}

.featured-card:hover .featured-card__image img {
  transform: scale(1.05);
}

.featured-card__body {
  padding: 16px 20px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.featured-card__title {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--bark);
  margin-bottom: 8px;
}

.featured-card__specs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px 12px;
  margin: 14px 0;
  font-size: 0.8rem;
  color: var(--text-muted);
}

.featured-card__specs span {
  display: flex;
  align-items: center;
  gap: 4px;
}

.featured-card__specs strong {
  color: var(--text-secondary);
}

.featured-card__link {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding-top: 14px;
  border-top: 1px solid var(--border-subtle);
  font-size: 0.85rem;
  color: var(--wood-dark);
  font-weight: 500;
  letter-spacing: 0.04em;
  transition: color var(--duration-fast);
}

.featured-card__link:hover {
  color: var(--bark);
}

/* ============================================================
   首页 — 制琴七步（竖版步骤条）
   ============================================================ */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.steps-grid .step-card:nth-child(5),
.steps-grid .step-card:nth-child(6),
.steps-grid .step-card:nth-child(7) {
  /* 后3个用3列 */
}

/* 如果总共7步，用7列不好看，用4+3或一行 */
@media (min-width: 768px) {
  .steps-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.step-card {
  text-align: center;
  padding: 24px 16px;
  background: var(--ivory);
  border: 1px solid var(--border-subtle);
  transition: all var(--duration-normal);
  position: relative;
}

.step-card:hover {
  border-color: var(--border-wood);
  box-shadow: var(--shadow-md);
}

.step-card__num {
  font-family: var(--font-hand);
  font-size: 2.5rem;
  color: var(--wood);
  line-height: 1;
  margin-bottom: 12px;
}

.step-card__title {
  font-family: var(--font-serif);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--bark);
  margin-bottom: 6px;
}

.step-card__desc {
  font-size: 0.82rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ============================================================
   首页 — 音色试听区
   ============================================================ */
.audio-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.audio-card {
  padding: 32px;
  background: var(--ivory);
  border: 1px solid var(--border-card);
  text-align: center;
}

.audio-card__icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 16px;
  border-radius: 50%;
  background: var(--bark);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--wood);
  font-size: 1.2rem;
}

.audio-card__name {
  font-family: var(--font-serif);
  font-size: 1rem;
  font-weight: 600;
  color: var(--bark);
  margin-bottom: 4px;
}

.audio-card__wood {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-bottom: 16px;
}

.audio-card audio {
  width: 100%;
  height: 36px;
}

/* ============================================================
   首页 — 音乐人合作
   ============================================================ */
.artists-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.artist-card {
  text-align: center;
  padding: 24px 16px;
  background: var(--ivory);
  border: 1px solid var(--border-subtle);
  transition: all var(--duration-normal);
}

.artist-card:hover {
  border-color: var(--border-wood);
  box-shadow: var(--shadow-md);
}

.artist-card__avatar {
  width: 100px;
  height: 100px;
  margin: 0 auto 16px;
  border-radius: 50%;
  overflow: hidden;
  background: var(--cream-dark);
}

.artist-card__avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.artist-card__name {
  font-family: var(--font-serif);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--bark);
  margin-bottom: 4px;
}

.artist-card__role {
  font-size: 0.82rem;
  color: var(--text-muted);
}

/* ============================================================
   首页 — 新闻/日志区（左大右小）
   ============================================================ */
.news-highlight {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 28px;
}

.news-main {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16/10;
  background: var(--cream-dark);
}

.news-main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.news-main__info {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 32px;
  background: linear-gradient(transparent, rgba(26,15,8,0.85));
  color: var(--cream);
}

.news-main__title {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 600;
  color: #fff;
  margin-bottom: 4px;
}

.news-main__date {
  font-size: 0.8rem;
  color: var(--wood-light);
}

.news-side {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.news-side-item {
  display: flex;
  gap: 16px;
  padding: 18px;
  background: var(--ivory);
  border: 1px solid var(--border-subtle);
  transition: all var(--duration-fast);
}

.news-side-item:hover {
  border-color: var(--border-wood);
}

.news-side-item__thumb {
  width: 90px;
  height: 70px;
  flex-shrink: 0;
  overflow: hidden;
  background: var(--cream-dark);
}

.news-side-item__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.news-side-item__info h4 {
  font-family: var(--font-serif);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--bark);
  margin-bottom: 4px;
}

.news-side-item__info time {
  font-size: 0.78rem;
  color: var(--text-muted);
}

/* ============================================================
   首页 — CTA区
   ============================================================ */
.cta-section {
  text-align: center;
  padding: 64px 24px;
  background: var(--bark);
  position: relative;
  overflow: hidden;
}
.cta-section .container {
  max-width: 600px;
}

.cta-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(
      87deg,
      transparent,
      transparent 30px,
      rgba(180, 135, 74, 0.04) 30px,
      rgba(180, 135, 74, 0.04) 32px
    );
  pointer-events: none;
}

.cta-section__title {
  font-family: var(--font-hand);
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 400;
  color: var(--cream);
  margin-bottom: 0.75rem;
  letter-spacing: 0.06em;
  position: relative;
}

.cta-section__subtitle {
  color: var(--wood-light);
  font-size: 1rem;
  margin-bottom: 36px;
  position: relative;
}

.cta-section .btn--primary {
  background: var(--wood);
  color: var(--bark);
  border-color: var(--wood);
  font-size: 1rem;
  padding: 15px 40px;
  position: relative;
}

.cta-section .btn--primary:hover {
  background: var(--wood-light);
  color: var(--bark);
}

.cta-section .cta-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  position: relative;
}

.cta-section .btn--outline {
  border-color: var(--wood);
  color: var(--cream);
  font-size: 1rem;
  padding: 15px 40px;
}

.cta-section .btn--outline:hover {
  background: var(--cream);
  color: var(--bark);
  border-color: var(--cream);
}

/* ============================================================
   列表页 — 网格布局
   ============================================================ */
.list-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.list-header {
  text-align: center;
  margin-bottom: 48px;
}

.list-header h1 {
  font-family: var(--font-hand);
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  margin-bottom: 0.5rem;
  color: var(--bark);
}

/* 子栏目过滤栏 */
.filter-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  overflow-x: auto;
  padding-bottom: 8px;
  margin-bottom: 40px;
  -ms-overflow-style: none;
  scrollbar-width: none;
}

.filter-bar::-webkit-scrollbar { display: none; }

.filter-bar a {
  display: inline-flex;
  padding: 9px 20px;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-secondary);
  border: 1px solid var(--border-subtle);
  letter-spacing: 0.04em;
  white-space: nowrap;
  transition: all var(--duration-fast);
  flex-shrink: 0;
}

.filter-bar a:hover,
.filter-bar a.active {
  color: var(--bark);
  border-color: var(--wood);
  background: var(--wood-lighter);
}

/* ============================================================
   详情页
   ============================================================ */
.detail {
  max-width: 900px;
  margin: 0 auto;
}

/* 详情页大图轮播 */
.detail-gallery {
  overflow: hidden;
  margin-bottom: 40px;
}

.detail-gallery .swiper-slide {
  aspect-ratio: 16 / 9;
}

.detail-gallery .swiper-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* 缩略图导航 */
.detail-thumbs {
  margin-top: 10px;
}

.detail-thumbs .swiper-slide {
  width: 80px;
  height: 60px;
  opacity: 0.5;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all var(--duration-fast);
  overflow: hidden;
}

.detail-thumbs .swiper-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.detail-thumbs .swiper-slide-thumb-active {
  opacity: 1;
  border-color: var(--wood);
}

/* 详情信息 */
.detail__header {
  margin-bottom: 32px;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--border-subtle);
}

.detail__title {
  font-family: var(--font-hand);
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  font-weight: 400;
  color: var(--bark);
  margin-bottom: 12px;
  letter-spacing: 0.05em;
}

.detail__meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.detail__meta-row i {
  margin-right: 4px;
  color: var(--wood-dark);
}

/* 参数卡片 — 产品扩展字段 */
.detail__params {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 10px;
  margin-bottom: 36px;
}

.detail__param {
  padding: 18px 16px;
  background: var(--cream);
  border: 1px solid var(--border-subtle);
  text-align: center;
}

.detail__param-label {
  font-size: 0.72rem;
  color: var(--text-muted);
  margin-bottom: 4px;
  letter-spacing: 0.06em;
}

.detail__param-value {
  font-family: var(--font-serif);
  font-size: 1rem;
  font-weight: 600;
  color: var(--bark);
}

/* Tab切换 */
.detail__tabs {
  display: flex;
  gap: 0;
  border-bottom: 1px solid var(--border-wood);
  margin-bottom: 32px;
}

.detail__tab-btn {
  padding: 12px 24px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-secondary);
  background: none;
  border: none;
  border-bottom: 2px solid transparent;
  cursor: pointer;
  transition: all var(--duration-fast);
  letter-spacing: 0.03em;
}

.detail__tab-btn.active {
  color: var(--bark);
  border-bottom-color: var(--wood);
}

/* 正文内容 */
.detail__body {
  color: var(--text-secondary);
  line-height: 2;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
}

.detail__body img {
  margin: 28px 0;
  max-width: 100%;
}

.detail__body p { margin-bottom: 18px; }

.detail__body h2, .detail__body h3, .detail__body h4 {
  font-family: var(--font-serif);
  color: var(--bark);
  margin-top: 36px;
  margin-bottom: 18px;
}

.detail__body blockquote {
  font-family: var(--font-hand);
  font-size: 1.05rem;
  color: var(--wood-dark);
  padding: 16px 20px;
  border-left: 2px solid var(--wood);
  margin: 24px 0;
  background: var(--cream);
}

/* 上下篇 */
.detail__pager {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 56px;
  padding-top: 28px;
  border-top: 1px solid var(--border-subtle);
  font-size: 0.88rem;
  color: var(--text-muted);
}

.detail__pager a {
  color: var(--text-secondary);
  transition: color var(--duration-fast);
}

.detail__pager a:hover {
  color: var(--wood-dark);
}

/* 相关推荐 */
.related-title {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  font-weight: 700;
  margin: 64px 0 28px;
  color: var(--bark);
}

.related-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

/* ============================================================
   制琴工坊页 — 七步流程（左右交错）
   ============================================================ */
.workshop-step {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  padding: 48px 0;
  border-bottom: 1px solid var(--border-subtle);
}

.workshop-step:last-child {
  border-bottom: none;
}

.workshop-step:nth-child(even) .workshop-step__image {
  order: -1;
}

.workshop-step__image {
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: var(--cream-dark);
}

.workshop-step__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--duration-slow);
}

.workshop-step__image:hover img {
  transform: scale(1.04);
}

.workshop-step__num {
  font-family: var(--font-hand);
  font-size: 3rem;
  color: var(--wood);
  line-height: 1;
  margin-bottom: 8px;
}

.workshop-step__title {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--bark);
  margin-bottom: 12px;
}

.workshop-step__text {
  color: var(--text-secondary);
  line-height: 1.9;
}

/* ============================================================
   联系我们/定制页面
   ============================================================ */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
}

.contact-info__item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 22px;
  background: var(--cream);
  border: 1px solid var(--border-subtle);
  margin-bottom: 12px;
  transition: all var(--duration-fast);
}

.contact-info__item:hover {
  border-color: var(--border-wood);
}

.contact-info__icon {
  width: 44px;
  height: 44px;
  background: var(--wood-lighter);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--wood-dark);
  flex-shrink: 0;
  font-size: 1rem;
}

.contact-info__label {
  font-family: var(--font-serif);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--bark);
  margin-bottom: 2px;
}

.contact-info__value {
  font-size: 0.88rem;
  color: var(--text-secondary);
}

/* 联系表单 */
.contact-form-card {
  padding: 40px;
  background: var(--ivory);
  border: 1px solid var(--border-subtle);
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-secondary);
  margin-bottom: 6px;
  letter-spacing: 0.03em;
}

.form-group label .required {
  color: var(--wood-dark);
}

.form-control {
  width: 100%;
  padding: 13px 16px;
  background: var(--cream);
  border: 1px solid var(--border-subtle);
  color: var(--text-primary);
  font-size: 0.9rem;
  transition: all var(--duration-fast);
}

.form-control:focus {
  outline: none;
  border-color: var(--wood);
  background: var(--ivory);
  box-shadow: 0 0 0 3px rgba(180, 135, 74, 0.1);
}

textarea.form-control {
  resize: vertical;
  min-height: 110px;
}

select.form-control {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='%239B8D85' viewBox='0 0 16 16'%3E%3Cpath d='M8 11L3 6h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 40px;
}

/* ============================================================
   搜索页
   ============================================================ */
.search-box {
  max-width: 700px;
  margin: 0 auto;
}

.search-form-row {
  display: flex;
  gap: 10px;
}

.search-form-row input {
  flex: 1;
  padding: 15px 20px;
  padding-left: 48px;
  background: var(--cream);
  border: 1px solid var(--border-subtle);
  color: var(--text-primary);
  font-size: 0.95rem;
}

.search-form-row input:focus {
  outline: none;
  border-color: var(--wood);
  box-shadow: 0 0 0 3px rgba(180, 135, 74, 0.1);
}

.search-input-wrap {
  position: relative;
  flex: 1;
}

.search-input-wrap i {
  position: absolute;
  left: 18px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted);
  font-size: 0.95rem;
}

.search-result-item {
  display: flex;
  gap: 18px;
  padding: 22px;
  background: var(--ivory);
  border: 1px solid var(--border-subtle);
  transition: all var(--duration-fast);
  margin-bottom: 10px;
}

.search-result-item:hover {
  border-color: var(--border-wood);
  background: var(--cream);
}

.search-result-item__thumb {
  width: 110px;
  height: 85px;
  flex-shrink: 0;
  overflow: hidden;
  background: var(--cream-dark);
}

.search-result-item__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.search-result-item__info {
  flex: 1;
  min-width: 0;
}

.search-result-item__title {
  font-family: var(--font-serif);
  font-size: 1rem;
  font-weight: 600;
  color: var(--bark);
  margin-bottom: 4px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.search-result-item__date {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-bottom: 4px;
}

.search-result-item__desc {
  font-size: 0.85rem;
  color: var(--text-secondary);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* ============================================================
   案例/图库瀑布流网格
   ============================================================ */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4/3;
  cursor: pointer;
  background: var(--cream-dark);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--duration-slow) var(--ease-out);
}

.gallery-item:hover img {
  transform: scale(1.06);
}

.gallery-item__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(transparent 55%, rgba(26,15,8,0.75));
  opacity: 0;
  transition: opacity var(--duration-normal);
  display: flex;
  align-items: flex-end;
  padding: 20px;
}

.gallery-item:hover .gallery-item__overlay {
  opacity: 1;
}

.gallery-item__title {
  color: var(--cream);
  font-family: var(--font-serif);
  font-size: 0.95rem;
  font-weight: 600;
}

/* ============================================================
   分页
   ============================================================ */
.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 4px;
  margin-top: 52px;
}

.pagination a,
.pagination span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 42px;
  height: 42px;
  padding: 0 8px;
  font-size: 0.88rem;
  color: var(--text-secondary);
  border: 1px solid var(--border-subtle);
  transition: all var(--duration-fast);
}

.pagination a:hover {
  background: var(--cream);
  border-color: var(--border-wood);
  color: var(--bark);
}

.pagination .active {
  background: var(--bark);
  border-color: var(--bark);
  color: var(--cream);
  font-weight: 600;
}

.pagination .disabled {
  color: var(--text-light);
  pointer-events: none;
  border-color: var(--border-subtle);
}

/* ============================================================
   空状态
   ============================================================ */
.empty-state {
  text-align: center;
  padding: 64px 20px;
}

.empty-state i {
  font-size: 2.5rem;
  color: var(--text-light);
  margin-bottom: 16px;
  display: block;
}

.empty-state p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* ============================================================
   Footer 底部 — 深棕色
   ============================================================ */
.footer {
  background: var(--bark);
  color: var(--text-light);
}

.footer__top-line {
  height: 3px;
  background: linear-gradient(90deg,
    transparent 0%,
    var(--wood-dark) 20%,
    var(--wood) 50%,
    var(--wood-dark) 80%,
    transparent 100%
  );
}

.footer__grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 40px;
  padding: 64px 0 44px;
  max-width: var(--container-max);
  margin: 0 auto;
  padding-left: 32px;
  padding-right: 32px;
}

.footer__brand-desc {
  font-size: 0.88rem;
  color: var(--text-light);
  line-height: 1.75;
  margin: 20px 0;
}

.footer__social {
  display: flex;
  gap: 10px;
}

.footer__social a {
  width: 38px;
  height: 38px;
  background: rgba(255,255,255,0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-light);
  font-size: 0.95rem;
  transition: all var(--duration-fast);
}

.footer__social a:hover {
  background: var(--wood);
  color: var(--bark);
}

.footer__col-title {
  font-family: var(--font-serif);
  font-size: 1rem;
  font-weight: 600;
  color: var(--cream);
  margin-bottom: 22px;
  letter-spacing: 0.04em;
}

.footer__links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer__links a {
  font-size: 0.88rem;
  color: var(--text-light);
  transition: color var(--duration-fast);
}

.footer__links a:hover {
  color: var(--wood);
}

.footer__contact-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.85rem;
  color: var(--text-light);
  margin-bottom: 12px;
}

.footer__contact-item i {
  color: var(--wood);
  margin-top: 2px;
  flex-shrink: 0;
}

.footer__qrcode {
  width: 110px;
  height: 110px;
  background: var(--cream);
  padding: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  color: var(--text-muted);
  text-align: center;
}

.footer__bottom {
  border-top: 1px solid rgba(255,255,255,0.06);
  padding: 22px 0;
}

.footer__bottom-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 32px;
  font-size: 0.8rem;
  color: var(--text-light);
  flex-wrap: wrap;
  gap: 8px;
}

.footer__bottom a {
  color: var(--text-light);
  transition: color var(--duration-fast);
}

.footer__bottom a:hover {
  color: var(--wood);
}

/* ============================================================
   友情链接
   ============================================================ */
.friend-links {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
  padding: 24px 0;
  max-width: var(--container-max);
  margin: 0 auto;
  padding-left: 32px;
  padding-right: 32px;
  border-top: 1px solid rgba(255,255,255,0.05);
}

.friend-links__label {
  font-size: 0.82rem;
  color: var(--text-light);
  flex-shrink: 0;
}

.friend-links a {
  font-size: 0.82rem;
  color: var(--text-light);
  transition: color var(--duration-fast);
}

.friend-links a:hover {
  color: var(--wood);
}

/* ============================================================
   返回顶部
   ============================================================ */
.back-top {
  position: fixed;
  right: 24px;
  bottom: 80px;
  width: 44px;
  height: 44px;
  background: var(--bark);
  border: 1px solid rgba(255,255,255,0.1);
  color: var(--cream);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  cursor: pointer;
  z-index: 80;
  opacity: 0;
  pointer-events: none;
  transition: all var(--duration-normal) var(--ease-out);
}

.back-top.show {
  opacity: 1;
  pointer-events: auto;
}

.back-top:hover {
  background: var(--wood);
  color: var(--bark);
}

/* ============================================================
   在线客服按钮
   ============================================================ */
.online-service {
  position: fixed;
  right: 24px;
  bottom: 136px;
  width: 44px;
  height: 44px;
  background: var(--bark);
  border: none;
  color: var(--wood);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  cursor: pointer;
  z-index: 80;
  transition: all var(--duration-fast);
}

.online-service:hover {
  background: var(--wood-dark);
  color: var(--cream);
}

/* ============================================================
   定制流程步骤条
   ============================================================ */
.custom-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin: 40px 0;
}

.custom-step {
  text-align: center;
  padding: 36px 20px;
  background: var(--cream);
  border: 1px solid var(--border-subtle);
  position: relative;
}

.custom-step__num {
  font-family: var(--font-hand);
  font-size: 2rem;
  color: var(--wood);
  margin-bottom: 8px;
}

.custom-step__title {
  font-family: var(--font-serif);
  font-size: 1rem;
  font-weight: 600;
  color: var(--bark);
  margin-bottom: 6px;
}

.custom-step__desc {
  font-size: 0.82rem;
  color: var(--text-secondary);
}

/* ============================================================
   木质纹理装饰背景
   ============================================================ */
.bg-wood-texture {
  position: relative;
  background: var(--cream);
}

.bg-wood-texture::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(
      2deg,
      transparent,
      transparent 2px,
      rgba(180, 135, 74, 0.03) 2px,
      rgba(180, 135, 74, 0.03) 3px
    );
  pointer-events: none;
}

/* ============================================================
   动画 — 温和入场
   ============================================================ */
@keyframes fadeUp {
  0% { opacity: 0; transform: translateY(24px); }
  100% { opacity: 1; transform: translateY(0); }
}

.fade-up-element {
  animation: fadeUp 0.8s var(--ease-out) both;
}

/* ============================================================
   AOS 覆盖
   ============================================================ */
[data-aos] {
  transition-timing-function: var(--ease-out);
}

/* ============================================================
   响应式 — 平板 (768px - 1023px)
   ============================================================ */
@media (max-width: 1023px) {
  :root { --section-py: 80px; }

  .header__nav,
  .header__actions {
    display: none;
  }

  .hamburger {
    display: flex;
  }

  .features {
    grid-template-columns: repeat(2, 1fr);
  }

  .intro-split {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .featured-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .steps-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .audio-cards {
    grid-template-columns: repeat(2, 1fr);
  }

  .artists-row {
    grid-template-columns: repeat(2, 1fr);
  }

  .news-highlight {
    grid-template-columns: 1fr;
  }

  .list-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }

  .workshop-step {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .workshop-step:nth-child(even) .workshop-step__image {
    order: 0;
  }

  .footer__grid {
    grid-template-columns: 1fr 1fr;
  }

  .custom-steps {
    grid-template-columns: repeat(2, 1fr);
  }

  .detail__pager {
    flex-direction: column;
    gap: 8px;
    text-align: center;
  }

  .related-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ============================================================
   响应式 — 移动端 (< 768px)
   ============================================================ */
@media (max-width: 767px) {
  :root { --section-py: 60px; }

  .container {
    padding: 0 20px;
  }

  .hero {
    height: 55vh;
    min-height: 360px;
    max-height: 460px;
  }

  .hero__content {
    padding-bottom: 80px;
    padding-left: 20px;
    padding-right: 20px;
  }

  .inner-banner {
    height: 240px;
  }

  .features {
    grid-template-columns: 1fr;
  }

  .featured-grid {
    grid-template-columns: 1fr;
  }

  .steps-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .audio-cards {
    grid-template-columns: 1fr;
  }

  .artists-row {
    grid-template-columns: 1fr;
  }

  .list-grid {
    grid-template-columns: 1fr;
  }

  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer__grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .footer__bottom-inner {
    flex-direction: column;
    text-align: center;
  }

  .detail__params {
    grid-template-columns: repeat(2, 1fr);
  }

  .related-grid {
    grid-template-columns: 1fr;
  }

  .custom-steps {
    grid-template-columns: 1fr;
  }

  .card__body {
    padding: 18px;
  }

  .contact-form-card {
    padding: 28px 20px;
  }

  .search-result-item {
    flex-direction: column;
  }

  .search-result-item__thumb {
    width: 100%;
    height: 160px;
  }

  .back-top {
    right: 16px;
    bottom: 60px;
  }

  .online-service {
    right: 16px;
    bottom: 112px;
  }

  .cta-buttons {
    flex-direction: column;
    align-items: center;
  }
}

/* ============================================================
   小屏手机 (< 375px)
   ============================================================ */
@media (max-width: 374px) {
  body { font-size: 0.9rem; }
  .gallery-grid { grid-template-columns: 1fr; }
}

/* ============================================================
   减少动画
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* ============================================================
   首页新版布局组件
   ============================================================ */

/* 区块标题栏（标题+更多链接） */
.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 36px;
  flex-wrap: wrap;
  gap: 12px;
}
.section-head .section-title { margin-bottom: 0; }
.section-head__more {
  font-size: 0.85rem;
  color: var(--wood-dark);
  white-space: nowrap;
  font-weight: 500;
  transition: color var(--duration-fast);
}
.section-head__more:hover { color: var(--bark); }

/* 模块2：关于+分类 双栏 */
.home-about {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}
.home-about__desc {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.9;
  margin: 16px 0 20px;
}
.home-about__cats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.home-cat-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 28px 16px;
  background: var(--ivory);
  border: 1px solid var(--border-subtle);
  text-align: center;
  transition: all var(--duration-fast);
}
.home-cat-card:hover {
  border-color: var(--border-wood);
  background: var(--cream);
}
.home-cat-card__icon {
  width: 48px; height: 48px;
  background: var(--wood-lighter);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem; color: var(--wood-dark);
}
.home-cat-card__name {
  font-family: var(--font-serif);
  font-size: 0.9rem; font-weight: 600;
  color: var(--bark);
}

/* 模块3：产品行 */
.product-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.product-card {
  background: var(--ivory);
  border: 1px solid var(--border-subtle);
  overflow: hidden;
  transition: all var(--duration-fast);
  display: flex; flex-direction: column;
}
.product-card:hover {
  border-color: var(--border-wood);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}
.product-card__img {
  overflow: hidden;
  aspect-ratio: 4/3;
  max-height: 200px;
  background: var(--cream-dark);
}
.product-card__img img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform var(--duration-slow);
}
.product-card:hover .product-card__img img { transform: scale(1.04); }
.product-card__info {
  padding: 16px 18px;
}
.product-card__title {
  font-family: var(--font-serif);
  font-size: 1rem; font-weight: 600;
  color: var(--bark); margin-bottom: 4px;
}
.product-card__spec {
  font-size: 0.8rem; color: var(--text-muted);
}

/* 模块4：制琴七步 */
.steps-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 24px;
}
.step-item {
  font-family: var(--font-serif);
  font-size: 0.95rem; color: var(--text-secondary);
  padding: 10px 20px;
  background: var(--ivory);
  border: 1px solid var(--border-subtle);
  transition: all var(--duration-fast);
}
.step-item:hover {
  border-color: var(--wood);
  color: var(--bark);
}
.step-item b {
  font-family: var(--font-hand);
  font-size: 1.15rem; font-weight: 400;
  color: var(--wood-dark); margin-right: 4px;
}

/* 模块5：日志+案例 双栏 */
.home-2col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
}
.news-list { display: flex; flex-direction: column; gap: 12px; }
.news-list__item {
  display: flex; gap: 14px; align-items: center;
  padding: 14px;
  background: var(--ivory);
  border: 1px solid var(--border-subtle);
  transition: all var(--duration-fast);
}
.news-list__item:hover { border-color: var(--border-wood); }
.news-list__thumb {
  width: 80px; height: 56px; flex-shrink: 0;
  overflow: hidden; background: var(--cream-dark);
}
.news-list__thumb img {
  width: 100%; height: 100%; object-fit: cover;
}
.news-list__text strong {
  display: block; font-size: 0.9rem; font-weight: 600;
  color: var(--bark); margin-bottom: 4px;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.news-list__text em {
  font-style: normal; font-size: 0.75rem; color: var(--text-muted);
}
.case-mini-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.case-mini {
  position: relative; overflow: hidden;
  aspect-ratio: 4/3; background: var(--cream-dark);
}
.case-mini img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform var(--duration-slow);
}
.case-mini:hover img { transform: scale(1.06); }
.case-mini__title {
  position: absolute; bottom: 0; left: 0; right: 0;
  padding: 12px; font-size: 0.82rem; font-weight: 600;
  color: #fff; background: linear-gradient(transparent, rgba(0,0,0,0.7));
}

/* 响应式 */
@media (max-width: 767px) {
  .home-about, .home-2col { grid-template-columns: 1fr; gap: 32px; }
  .product-row { grid-template-columns: 1fr; }
  .steps-row { gap: 8px 12px; }
  .step-item { font-size: 0.85rem; padding: 8px 14px; }
  .case-mini-grid { grid-template-columns: 1fr 1fr; }
}

/* June 23 mobile luthier journal layout; wood palette and desktop preserved. */
@media(max-width:1023px){
 body.page-inner{padding-top:calc(var(--header-h) + 16px)}.container{padding-left:20px;padding-right:20px}.inner-banner{height:auto!important;min-height:150px;margin-top:0}.inner-banner__content{padding:28px 20px}.inner-banner__title{font-size:26px;line-height:1.5;overflow-wrap:anywhere}.inner-banner__subtitle{font-size:14px;line-height:1.8;overflow-wrap:anywhere}.breadcrumb{padding:12px 20px;flex-wrap:wrap;line-height:1.8;font-size:12px;overflow-wrap:anywhere}
 .header__inner{padding:0 20px;gap:8px}.header__logo{min-width:0;gap:8px}.header__logo-text{min-width:0}.header__logo-icon,.hamburger{flex-shrink:0}.hamburger{width:44px;height:44px}.header{z-index:125}
 .mobile-nav{top:var(--header-h);height:calc(100dvh - var(--header-h));width:calc(100vw - 48px);max-width:340px;visibility:hidden;pointer-events:none}.mobile-nav.open{visibility:visible;pointer-events:auto}.mobile-nav__inner{padding:20px 16px}.mobile-nav__link{min-height:44px;padding:11px 12px;font-size:14px}.mobile-nav__sub{padding-left:8px}.mobile-nav__sub.open{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:4px}.mobile-nav__sub a{padding:10px;font-size:12px}.mobile-nav__sub a:first-child{grid-column:1/-1}
 .home-about>*,.home-2col>*,.product-row>*,.list-grid>*,.contact-grid>*,.artists-row>*,.footer__grid>*{min-width:0}.detail__body,.detail__param-value,.detail__pager,.contact-info__value,.footer__contact-item{overflow-wrap:anywhere}.detail__body img,.tab-panel img{max-width:100%;height:auto}.detail__body table{width:100%;max-width:100%;table-layout:fixed}.detail__body th,.detail__body td{overflow-wrap:anywhere}
 .tab-panel.hidden{display:none}.detail__tabs{flex-wrap:wrap;overflow:visible}.detail__tab-btn{flex:1;min-width:0;white-space:normal;padding:12px 8px}.form-control,.search-form-row input{min-width:0;max-width:100%;font-size:16px}.form-group{min-width:0}.form-group>div:has([name=checkcode]){flex-wrap:wrap}.detail__meta,.detail__meta-row{flex-wrap:wrap}
 .hero__content{padding-top:calc(var(--header-h) + 24px);padding-bottom:36px}
 [data-aos="fade-left"],[data-aos="fade-right"]{transform:translateY(20px)}[data-aos="fade-left"].aos-animate,[data-aos="fade-right"].aos-animate{transform:translateY(0)}
}
@media(max-width:767px){
 :root{--section-py:32px}.header__logo-icon{width:34px;height:34px;font-size:18px}.header__logo-name{font-size:15px;letter-spacing:.04em}.header__logo-sub{font-size:8px;letter-spacing:.06em}
 .hero{height:auto;min-height:430px;max-height:none}.hero__content{min-height:430px;padding:96px 20px 32px}.hero__title{font-size:34px;line-height:1.5;letter-spacing:.04em;margin-bottom:16px}.hero__subtitle{font-size:14px;line-height:1.9;margin-bottom:22px}.hero__actions{gap:10px}.hero-pagination{margin-top:22px}
 .btn{min-height:44px;padding:12px 16px;font-size:13px;gap:8px;white-space:normal}.section-title{font-size:25px;line-height:1.5}.section-tag{font-size:12px;letter-spacing:.08em}.section-head{flex-wrap:wrap;gap:8px 14px;margin-bottom:22px}.section-head .section-tag{width:100%}.section-head__more{font-size:12px}.section-subtitle{font-size:13px;line-height:1.8}
 .home-about{gap:22px}.home-about__desc{font-size:14px;line-height:1.9;margin-bottom:20px}.home-about__cats{grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.home-cat-card{padding:16px 8px;gap:8px}.home-cat-card__icon{width:34px;height:34px;font-size:17px}.home-cat-card__name{font-size:13px}
 .product-row{gap:12px}.product-card{display:grid;grid-template-columns:110px minmax(0,1fr)}.product-card__img{height:100%;min-height:150px;aspect-ratio:auto}.product-card__img img{height:100%;object-fit:cover}.product-card__info{padding:18px 12px}.product-card__title{font-size:17px;line-height:1.65}.product-card__spec{font-size:12px;line-height:1.8;overflow-wrap:anywhere}
 .steps-row{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.step-item{text-align:center;padding:10px 8px;font-size:13px}.step-item b{font-size:18px}
 .home-2col{gap:28px}.news-list__item{padding:12px;gap:12px}.news-list__thumb{width:70px;height:64px}.news-list__text{min-width:0}.news-list__text strong{font-size:14px;line-height:1.6;display:block;-webkit-line-clamp:unset}.news-list__text em{font-size:11px}.case-mini-grid{gap:12px}.case-mini{aspect-ratio:1}.case-mini__title{font-size:12px;padding:10px;line-height:1.7}
 .artists-row{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.artist-card{padding:18px 10px}.artist-card__avatar{width:72px;height:72px;margin-bottom:12px}.artist-card__name{font-size:16px;line-height:1.5}.artist-card__role{font-size:12px;line-height:1.8}
 .cta-section{padding:34px 0}.cta-section__title{font-size:28px;line-height:1.5}.cta-section__subtitle{font-size:13px;line-height:1.8}.cta-section .cta-buttons{flex-direction:row;gap:10px;justify-content:center;flex-wrap:wrap}
 .footer__grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:24px 16px;padding:30px 20px 24px}.footer__grid>div:first-child{grid-column:1/-1}.footer__brand-desc{font-size:12px;line-height:1.8}.footer__col-title{font-size:15px;margin-bottom:12px}.footer__links a,.footer__contact-item{font-size:12px}.footer__bottom-inner{font-size:11px;align-items:flex-start;text-align:left}
 .list-grid,.related-grid,.gallery-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.card__image{height:155px}.card__body{padding:14px 10px}.card__title{font-size:16px;line-height:1.6}.card__desc{font-size:12px;line-height:1.8}.card__meta{font-size:11px;flex-wrap:wrap;gap:8px}
 .detail__title{font-size:25px;line-height:1.5}.detail__params{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.detail__param{padding:14px 10px}.detail__param-value{font-size:14px;line-height:1.7}.detail__body{font-size:14px;line-height:1.9}.detail__pager{font-size:12px;text-align:left;align-items:flex-start;gap:12px}
 .workshop-step{gap:18px;margin-bottom:28px}.workshop-step__image img{height:190px;object-fit:cover}.workshop-step__num{font-size:34px}.workshop-step__title{font-size:24px;line-height:1.5}.workshop-step__text{font-size:14px;line-height:1.9}.custom-steps{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
 .contact-grid{gap:24px}.contact-form-card{padding:22px 16px}.mobile-form-row{grid-template-columns:1fr!important;gap:0!important}.contact-info__value{font-size:14px}.search-result-item{flex-direction:row;gap:12px}.search-result-item__thumb{width:78px;height:90px;flex-shrink:0}.search-result-item>div{min-width:0}.search-form-row{flex-wrap:wrap}.search-form-row input{width:100%;flex-basis:100%}
}

/* zzm-reviewed-demo-layout-199; original ZIP unchanged */
@media (min-width: 992px) and (max-width: 1599px) {
  .header__inner { gap: 16px; }
  .header__nav { display: none; }
  .header__actions { margin-left: auto; flex-shrink: 0; }
  .header__cta { white-space: nowrap; flex-shrink: 0; }
  .hamburger { display: flex; flex-shrink: 0; margin-left: 8px; }
}
@media (min-width: 1600px) {
  .header__inner { max-width: none; width: 100%; padding-left: 32px; padding-right: 32px; gap: 16px; }
  .header__nav a { white-space: nowrap; }
  .header__logo { min-width: 0; max-width: 300px; flex-shrink: 0; }
  .header__logo-text { min-width: 0; }
  .header__logo-name, .header__logo-sub { display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .header__cta { white-space: nowrap; flex-shrink: 0; }
}