

/**
 * 森居生活 — 绿植/花艺/生活美学品牌
 * 风格：Organic Biophilic · 自然治愈 · 城市森林
 * 色调：米白 + 植物绿(#4A7C59) + 陶土色(#C9A87C) + 暖灰
 * 排版：大留白 · 大圆角 · 图文错落 · 植物生活杂志感
 * 依赖：Font Awesome 6 Free, Swiper 11, AOS 2.3.4
 * ★ 14.15: 所有第三方JS在 main.js 之前加载
 * ★ 14.3: z-index 已定义层级
 */

/* ============================================================
   CSS 变量 — 暖调绿植主题
   ============================================================ */
:root {
  /* 主色系 */
  --green: #4A7C59;
  --green-light: #8DB595;
  --green-pale: #D4E6D4;
  --green-dark: #2D5A39;
  --terracotta: #C9A87C;
  --terracotta-light: #E8D5BA;
  --terracotta-pale: #F5EDE2;

  /* 中性色 */
  --white: #FFFFFF;
  --cream: #FAF7F2;
  --cream-dark: #F0EBE3;
  --warm-gray: #8B8581;
  --warm-gray-light: #BFB9B4;
  --warm-gray-pale: #E8E3DE;
  --text: #3D362D;
  --text-secondary: #6B6258;
  --text-muted: #9B9287;
  --border: #E0DBD4;
  --border-light: #EFEBE5;

  /* 语义色 */
  --pink-accent: #E8A4B2;
  --yellow-accent: #E8CF7A;
  --sky-accent: #A4C8E8;

  /* 阴影（暖调柔和） */
  --shadow-sm: 0 1px 3px rgba(61, 54, 45, 0.06);
  --shadow-md: 0 4px 20px rgba(61, 54, 45, 0.08);
  --shadow-lg: 0 12px 40px rgba(61, 54, 45, 0.12);
  --shadow-green: 0 4px 20px rgba(74, 124, 89, 0.15);

  /* 圆角（大圆角亲切感） */
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --radius-full: 9999px;

  /* 间距 */
  --section-py: 100px;
  --container: 1200px;
  --header-h: 72px;

  /* 过渡 */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --fast: 150ms;
  --normal: 300ms;
  --slow: 500ms;

  /* 字体 */
  --font-heading: 'Noto Serif SC', 'STSong', 'Songti SC', 'SimSun', serif;
  --font-body: 'Noto Sans SC', 'PingFang SC', 'Microsoft YaHei', 'Hiragino Sans GB', -apple-system, sans-serif;
}

/* ============================================================
   全局重置
   ============================================================ */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  background: var(--cream);
  color: var(--text-secondary);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.8;
  letter-spacing: 0.01em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

::selection {
  background: rgba(74, 124, 89, 0.18);
  color: var(--green-dark);
}

::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--cream); }
::-webkit-scrollbar-thumb { background: var(--warm-gray-light); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--warm-gray); }

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--fast) var(--ease-out);
}

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

ul, ol { list-style: none; }

input, textarea, select, button {
  font-family: inherit;
  font-size: inherit;
}

input::placeholder, textarea::placeholder {
  color: var(--text-muted);
  opacity: 1;
}

/* ============================================================
   排版
   ============================================================ */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--text);
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: 0.02em;
}

.section-tag {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 0.75rem;
  position: relative;
  padding-left: 16px;
}

.section-tag::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--green-light);
}

.section-title {
  font-size: clamp(1.6rem, 3.5vw, 2.6rem);
  font-weight: 700;
  color: var(--text);
  margin-bottom: 0.5rem;
  letter-spacing: 0.02em;
}

.section-subtitle {
  font-size: 1rem;
  color: var(--text-secondary);
  max-width: 560px;
  line-height: 1.7;
}

/* 模块标题块（取代模板里写死的 margin-bottom:48px） */
.section-head {
  text-align: center;
  margin-bottom: 48px;
}

.section-head--split {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 48px;
}

/* ============================================================
   布局容器
   ============================================================ */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 28px;
}

.section {
  padding: var(--section-py) 0;
}

/* 工具类 */
.hidden { display: none !important; }

/* ============================================================
   Header — 米白半透明 + 植物绿点缀
   ============================================================ */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: var(--header-h);
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-light);
  transition: all var(--normal) var(--ease-out);
}

.header.scrolled {
  background: rgba(255, 255, 255, 0.96);
  box-shadow: var(--shadow-md);
}

.header__inner {
  display: flex;
  align-items: center;
  height: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 28px;
}

/* Logo */
.header__logo {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
  margin-right: auto;
}

.header__logo-icon {
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, var(--green), var(--green-light));
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  color: #fff;
}

.header__logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.header__logo-name {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.01em;
}

.header__logo-sub {
  font-size: 0.55rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--green);
}

/* 主导航 */
.header__nav {
  display: flex;
  align-items: center;
  gap: 2px;
}

.header__nav-link {
  padding: 8px 16px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-secondary);
  border-radius: var(--radius-sm);
  transition: all var(--fast) var(--ease-out);
  white-space: nowrap;
}

.header__nav-link:hover,
.header__nav-link.active {
  color: var(--green);
  background: rgba(74, 124, 89, 0.06);
}

/* 导航下拉 */
.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: 170px;
  padding: 8px 0;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: all var(--normal) var(--ease-out);
  z-index: 60;
}

.header__dropdown a {
  display: block;
  padding: 10px 20px;
  font-size: 0.88rem;
  color: var(--text-secondary);
  transition: all var(--fast) var(--ease-out);
}

.header__dropdown a:hover {
  color: var(--green);
  background: rgba(74, 124, 89, 0.05);
}

/* 头部右侧操作区 */
.header__actions {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-left: 20px;
}

.header__cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 9px 20px;
  background: var(--green);
  color: #fff;
  font-size: 0.85rem;
  font-weight: 600;
  border-radius: var(--radius-full);
  transition: all var(--fast) var(--ease-out);
  cursor: pointer;
}

.header__cta:hover {
  background: var(--green-dark);
  color: #fff;
  box-shadow: var(--shadow-green);
  transform: translateY(-1px);
}

/* ============================================================
   汉堡菜单（移动端）★ 独立于 .header__actions — 13.4
   ============================================================ */
.hamburger {
  display: none;
  width: 40px;
  height: 40px;
  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(--text);
  border-radius: 1px;
  transition: all var(--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(--white);
  z-index: 120;
  transform: translateX(-100%);
  transition: transform var(--normal) var(--ease-out);
  overflow-y: auto;
  box-shadow: var(--shadow-lg);
}

.mobile-nav.open { transform: translateX(0); }

.mobile-nav__inner {
  padding: 24px;
  padding-top: 80px;
}

.mobile-nav__link {
  display: block;
  padding: 14px 16px;
  font-size: 1rem;
  color: var(--text-secondary);
  border-radius: var(--radius-sm);
  transition: all var(--fast) var(--ease-out);
  cursor: pointer;
}

.mobile-nav__link:hover { color: var(--green); background: rgba(74, 124, 89, 0.04); }

.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);
  border-radius: var(--radius-sm);
}

.mobile-nav__overlay {
  position: fixed;
  inset: 0;
  background: rgba(61, 54, 45, 0.4);
  z-index: 115;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--normal) var(--ease-out);
}

.mobile-nav__overlay.show { opacity: 1; pointer-events: auto; }

/* ============================================================
   按钮系统
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 28px;
  font-size: 0.92rem;
  font-weight: 600;
  border-radius: var(--radius-full);
  border: none;
  cursor: pointer;
  transition: all var(--normal) var(--ease-out);
  white-space: nowrap;
}

.btn--primary {
  background: var(--green);
  color: #fff;
}

.btn--primary:hover {
  background: var(--green-dark);
  color: #fff;
  box-shadow: var(--shadow-green);
  transform: translateY(-2px);
}

.btn--outline {
  background: transparent;
  color: var(--green);
  border: 2px solid var(--green);
}

.btn--outline:hover {
  background: var(--green);
  color: #fff;
  transform: translateY(-2px);
}

.btn--ghost {
  background: rgba(74, 124, 89, 0.06);
  color: var(--green);
}

.btn--ghost:hover {
  background: rgba(74, 124, 89, 0.12);
  color: var(--green-dark);
}

.btn--terracotta {
  background: var(--terracotta);
  color: #fff;
}

.btn--terracotta:hover {
  background: #b8966a;
  color: #fff;
  box-shadow: 0 4px 20px rgba(201, 168, 124, 0.3);
  transform: translateY(-2px);
}

/* ============================================================
   卡片系统 — 米白卡片 + 轻阴影
   ============================================================ */
.card {
  background: var(--white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all var(--normal) var(--ease-out);
  cursor: pointer;
}

.card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
  border-color: var(--green-pale);
}

.card__image {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: var(--green-pale);
}

.card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--slow) var(--ease-out);
}

.card:hover .card__image img { transform: scale(1.06); }

.card__body { padding: 22px; }

.card__tag {
  display: inline-block;
  padding: 3px 12px;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--green);
  background: rgba(74, 124, 89, 0.08);
  border-radius: var(--radius-full);
  margin-bottom: 10px;
}

.card__title {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 6px;
  line-height: 1.4;
  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.7;
  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-light);
  font-size: 0.82rem;
  color: var(--text-muted);
}

.card__price {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--green);
  margin-top: 8px;
}

/* 难度标签 */
.difficulty {
  display: inline-block;
  padding: 2px 10px;
  font-size: 0.72rem;
  font-weight: 600;
  border-radius: var(--radius-full);
}

.difficulty--easy { color: var(--green); background: rgba(74, 124, 89, 0.08); }
.difficulty--medium { color: #C9903A; background: rgba(201, 144, 58, 0.08); }
.difficulty--hard { color: #C95A3A; background: rgba(201, 90, 58, 0.08); }

/* ============================================================
   Hero Banner — 全屏绿植场景
   ============================================================ */
.hero {
  position: relative;
  height: 100vh;
  min-height: 600px;
  overflow: hidden;
  background: var(--green-dark);
}

.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(45, 90, 57, 0.25) 0%, rgba(45, 90, 57, 0.1) 40%, rgba(45, 90, 57, 0.7) 100%);
}

.hero__content {
  position: relative;
  z-index: 3;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding-bottom: 120px;
  max-width: var(--container);
  margin: 0 auto;
  padding-left: 28px;
  padding-right: 28px;
  text-align: center;
}

.hero__title {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 6vw, 4.5rem);
  font-weight: 700;
  color: #fff;
  line-height: 1.15;
  margin-bottom: 0.75rem;
  text-shadow: 0 2px 40px rgba(0, 0, 0, 0.3);
}

.hero__subtitle {
  font-size: clamp(1rem, 2vw, 1.25rem);
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 2.5rem;
  font-weight: 400;
}

.hero__actions {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

.hero-pagination {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 28px;
}

.hero-pagination .swiper-pagination-bullet {
  width: 40px;
  height: 3px;
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.4);
  opacity: 1;
  transition: all var(--normal);
}

.hero-pagination .swiper-pagination-bullet-active {
  width: 60px;
  background: #fff;
}

/* 滚动指示器 */
.hero__scroll {
  position: absolute;
  bottom: 36px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 5;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  animation: scrollFloat 2s ease-in-out infinite;
}

.hero__scroll-line {
  width: 1px;
  height: 32px;
  background: linear-gradient(180deg, #fff, transparent);
}

@keyframes scrollFloat {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(8px); }
}

/* ============================================================
   数据滚动区 — 浅绿色背景
   ============================================================ */
.stats-section {
  background: linear-gradient(180deg, var(--green-pale), rgba(212, 230, 212, 0.3));
  padding: 60px 0;
}

.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
}

.stat-item {
  text-align: center;
}

.stat-item__icon {
  font-size: 1.75rem;
  color: var(--green);
  margin-bottom: 12px;
}

.stat-item__number {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 700;
  color: var(--green-dark);
  line-height: 1;
  margin-bottom: 6px;
}

.stat-item__label {
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* ============================================================
   首页 — 核心产品分类（5列）
   ============================================================ */
.categories-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
}

.category-card {
  text-align: center;
  padding: 36px 20px;
  background: var(--white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  transition: all var(--normal) var(--ease-out);
  cursor: pointer;
}

.category-card:hover {
  box-shadow: var(--shadow-green);
  transform: translateY(-4px);
  border-color: var(--green-pale);
}

.category-card__icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 16px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--green-pale), rgba(74, 124, 89, 0.1));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: var(--green);
  transition: all var(--normal) var(--ease-out);
}

.category-card:hover .category-card__icon {
  background: var(--green);
  color: #fff;
  box-shadow: var(--shadow-green);
}

.category-card__name {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 4px;
}

.category-card__desc {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* ============================================================
   空间搭配 — 三列大卡片
   ============================================================ */
.space-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.space-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4/5;
  background: var(--green-pale);
  cursor: pointer;
  transition: all var(--normal) var(--ease-out);
}

.space-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }

.space-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--slow) var(--ease-out);
}

.space-card:hover img { transform: scale(1.05); }

.space-card__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(transparent 40%, rgba(45, 90, 57, 0.7));
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 28px;
  color: #fff;
}

.space-card__title {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 4px;
}

.space-card__desc {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.8);
}

/* ============================================================
   左图右文
   ============================================================ */
.media-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.media-row__image {
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4/3;
  background: var(--green-pale);
}

.media-row__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.media-row__text {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.media-row__text p {
  color: var(--text-secondary);
  line-height: 1.9;
}

/* ============================================================
   CTA 区 — 绿色底
   ============================================================ */
.cta-section {
  background: linear-gradient(135deg, var(--green), var(--green-dark));
  text-align: center;
  padding: 80px 0;
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  top: -30%;
  right: -10%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.06) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.cta-section .section-tag { color: rgba(255, 255, 255, 0.7); }
.cta-section .section-tag::before { background: rgba(255, 255, 255, 0.5); }
.cta-section .section-title { color: #fff; }
.cta-section p { color: rgba(255, 255, 255, 0.8); }

.cta-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 24px;
}

/* ============================================================
   内页 Banner
   ============================================================ */
.inner-banner {
  position: relative;
  height: 320px;
  overflow: hidden;
  background: var(--green-dark);
}

.inner-banner__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
}

.inner-banner__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(45, 90, 57, 0.5) 0%, rgba(45, 90, 57, 0.3) 50%, rgba(45, 90, 57, 0.7) 100%);
}

.inner-banner__content {
  position: relative;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 28px;
  text-align: center;
}

.inner-banner__title {
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  font-weight: 700;
  color: #fff;
  margin-bottom: 0.5rem;
}

.inner-banner__subtitle {
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.75);
}

/* 面包屑 */
.breadcrumb-bar {
  background: var(--white);
  border-bottom: 1px solid var(--border-light);
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  max-width: var(--container);
  margin: 0 auto;
  padding: 14px 28px;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.breadcrumb a { color: var(--text-secondary); transition: color var(--fast); }
.breadcrumb a:hover { color: var(--green); }
.breadcrumb i { font-size: 0.65rem; color: var(--text-muted); }

/* ============================================================
   列表页
   ============================================================ */
.list-header {
  text-align: center;
  margin-bottom: 48px;
}

.list-header h1 {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  margin-bottom: 0.5rem;
}

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

.list-grid--4 {
  grid-template-columns: repeat(4, 1fr);
}

/* 子栏目过滤栏 */
.filter-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 8px;
  margin-bottom: 36px;
  -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);
  border-radius: var(--radius-full);
  white-space: nowrap;
  transition: all var(--fast) var(--ease-out);
  flex-shrink: 0;
  cursor: pointer;
}

.filter-bar a:hover,
.filter-bar a.active {
  color: var(--green);
  border-color: var(--green);
  background: rgba(74, 124, 89, 0.05);
}

/* ============================================================
   详情页
   ============================================================ */
.detail {
  max-width: 900px;
  margin: 0 auto;
}

.detail__header {
  margin-bottom: 32px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--border-light);
}

.detail__title {
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  margin-bottom: 12px;
}

.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(--green); }

/* 产品参数卡片 */
.detail__params {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 12px;
  margin-bottom: 32px;
}

.detail__param {
  padding: 18px 16px;
  background: var(--white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  text-align: center;
  transition: all var(--fast) var(--ease-out);
}

.detail__param:hover {
  border-color: var(--green-pale);
  box-shadow: var(--shadow-sm);
}

.detail__param-label {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-bottom: 4px;
}

.detail__param-value {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text);
}

.detail__param-value--green {
  color: var(--green);
}

/* 详情大图轮播 */
.detail-gallery {
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-bottom: 40px;
  background: var(--green-pale);
}

.detail-gallery .swiper-slide {
  aspect-ratio: 16/10;
}

.detail-gallery .swiper-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* 正文内容 */
.detail__body {
  color: var(--text-secondary);
  line-height: 2;
  font-size: 0.95rem;
  letter-spacing: 0.015em;
}

.detail__body img {
  border-radius: var(--radius-md);
  margin: 24px 0;
  max-width: 100%;
}

.detail__body p { margin-bottom: 16px; }

.detail__body h2, .detail__body h3, .detail__body h4 {
  font-family: var(--font-heading);
  color: var(--text);
  margin-top: 32px;
  margin-bottom: 16px;
}

/* 上下篇 */
.detail__pager {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 48px;
  padding-top: 24px;
  border-top: 1px solid var(--border-light);
  font-size: 0.88rem;
  color: var(--text-muted);
}

.detail__pager a { color: var(--text-secondary); transition: color var(--fast); }
.detail__pager a:hover { color: var(--green); }

/* 相关推荐 */
.related-title {
  font-size: 1.35rem;
  font-weight: 700;
  margin: 56px 0 24px;
  color: var(--text);
}

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

/* ============================================================
   养护知识列表 — 左图右文
   ============================================================ */
/* 列表容器（原来写死在模板 inline style 里，挪出来才能按断点调间距） */
.care-list {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.care-list--compact { gap: 20px; }

.care-list-item {
  display: flex;
  gap: 28px;
  padding: 24px;
  background: var(--white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  margin-bottom: 16px;
  transition: all var(--normal) var(--ease-out);
  cursor: pointer;
}

.care-list-item:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.care-list-item__image {
  width: 200px;
  aspect-ratio: 4/3;
  border-radius: var(--radius-md);
  overflow: hidden;
  flex-shrink: 0;
  background: var(--green-pale);
}

.care-list-item__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.care-list-item__info {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.care-list-item__title {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 8px;
}

.care-list-item__desc {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

.care-list-item__date {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 8px;
}

/* ============================================================
   联系我们
   ============================================================ */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
}

.contact-info__item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 20px;
  background: var(--white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  margin-bottom: 12px;
  transition: all var(--fast) var(--ease-out);
}

.contact-info__item:hover { border-color: var(--green-pale); box-shadow: var(--shadow-sm); }

.contact-info__icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  background: rgba(74, 124, 89, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--green);
  flex-shrink: 0;
}

.contact-info__label {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 2px;
}

.contact-info__value {
  font-size: 0.88rem;
  color: var(--text-secondary);
}

/* 表单 */
.contact-form-card {
  padding: 36px;
  background: var(--white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
}

.form-group { margin-bottom: 18px; }

.form-group label {
  display: block;
  font-size: 0.85rem;
  color: var(--text-secondary);
  margin-bottom: 6px;
  font-weight: 500;
}

.form-group label .required { color: var(--pink-accent); }

.form-control {
  width: 100%;
  padding: 13px 16px;
  background: var(--cream);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text);
  font-size: 0.9rem;
  transition: all var(--fast) var(--ease-out);
}

.form-control:focus {
  outline: none;
  border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(74, 124, 89, 0.1);
}

textarea.form-control {
  resize: vertical;
  min-height: 100px;
}

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='%239B9287' 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: 36px;
}

/* ============================================================
   搜索页
   ============================================================ */
.search-box {
  max-width: 700px;
  margin: 0 auto;
}

.search-form-row {
  display: flex;
  gap: 10px;
}

.search-input-wrap {
  position: relative;
  flex: 1;
}

.search-input-wrap i {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted);
  font-size: 0.95rem;
}

.search-form-row input {
  flex: 1;
  padding: 15px 20px;
  padding-left: 44px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-full);
  color: var(--text);
  font-size: 0.95rem;
  width: 100%;
}

.search-form-row input:focus {
  outline: none;
  border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(74, 124, 89, 0.08);
}

.search-result-item {
  display: flex;
  gap: 16px;
  padding: 18px;
  background: var(--white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  transition: all var(--fast) var(--ease-out);
  margin-bottom: 10px;
  cursor: pointer;
}

.search-result-item:hover {
  border-color: var(--green-pale);
  box-shadow: var(--shadow-sm);
}

.search-result-item__thumb {
  width: 100px;
  height: 80px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  flex-shrink: 0;
  background: var(--green-pale);
}

.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-heading);
  font-size: 1rem;
  font-weight: 600;
  color: var(--text);
  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;
}

/* ============================================================
   客户评价卡片
   ============================================================ */
.review-card {
  padding: 32px;
  background: var(--white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  transition: all var(--normal) var(--ease-out);
}

.review-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.review-card__stars {
  color: var(--yellow-accent);
  font-size: 0.9rem;
  margin-bottom: 12px;
}

.review-card__text {
  font-size: 0.92rem;
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 16px;
  font-style: italic;
}

.review-card__author {
  display: flex;
  align-items: center;
  gap: 10px;
}

.review-card__avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--green-pale);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--green);
  font-weight: 600;
  font-size: 0.9rem;
}

.review-card__name {
  font-weight: 600;
  color: var(--text);
  font-size: 0.88rem;
}

.review-card__role {
  font-size: 0.78rem;
  color: var(--text-muted);
}

/* ============================================================
   分页
   ============================================================ */
.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 4px;
  margin-top: 48px;
}

.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-radius: var(--radius-sm);
  transition: all var(--fast) var(--ease-out);
}

.pagination a:hover {
  background: rgba(74, 124, 89, 0.06);
  color: var(--green);
}

.pagination .active {
  background: var(--green);
  color: #fff;
  font-weight: 600;
}

.pagination .disabled {
  color: var(--text-muted);
  pointer-events: none;
}

/* ============================================================
   空状态
   ============================================================ */
.empty-state {
  text-align: center;
  padding: 60px 20px;
}

.empty-state i {
  font-size: 3rem;
  color: var(--warm-gray-light);
  margin-bottom: 16px;
  display: block;
}

.empty-state p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* ============================================================
   在线客服按钮
   ============================================================ */
.kf-btn {
  position: fixed;
  right: 20px;
  bottom: 120px;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--green);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  cursor: pointer;
  z-index: 90;
  box-shadow: var(--shadow-green);
  transition: all var(--normal) var(--ease-out);
  border: none;
}

.kf-btn:hover {
  background: var(--green-dark);
  transform: scale(1.1);
}

/* ============================================================
   返回顶部
   ============================================================ */
.back-top {
  position: fixed;
  right: 20px;
  bottom: 60px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--white);
  border: 1px solid var(--border);
  color: var(--text-secondary);
  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(--normal) var(--ease-out);
  box-shadow: var(--shadow-sm);
}

.back-top.show { opacity: 1; pointer-events: auto; }
.back-top:hover { background: var(--green); color: #fff; border-color: var(--green); }

/* ============================================================
   Footer — 深绿底
   ============================================================ */
.footer {
  background: var(--green-dark);
  color: rgba(255, 255, 255, 0.7);
  position: relative;
}

.footer__top-line {
  height: 3px;
  background: linear-gradient(90deg, var(--green-light), var(--terracotta), var(--green-light));
}

.footer__grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 40px;
  padding: 60px 0 40px;
  max-width: var(--container);
  margin: 0 auto;
  padding-left: 28px;
  padding-right: 28px;
}

.footer__brand-desc {
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.55);
  line-height: 1.7;
  margin: 16px 0;
}

.footer__social {
  display: flex;
  gap: 10px;
}

.footer__social a {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.95rem;
  transition: all var(--fast) var(--ease-out);
  cursor: pointer;
}

.footer__social a:hover { background: var(--green); color: #fff; }

.footer__col-title {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 600;
  color: #fff;
  margin-bottom: 20px;
}

.footer__links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer__links a {
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.55);
  transition: color var(--fast);
  cursor: pointer;
}

.footer__links a:hover { color: var(--green-light); }

.footer__contact-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 10px;
}

.footer__contact-item i {
  color: var(--green-light);
  margin-top: 3px;
  flex-shrink: 0;
}

.footer__qrcode {
  width: 120px;
  height: 120px;
  background: #fff;
  border-radius: var(--radius-sm);
  padding: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  color: #999;
}

.footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 20px 0;
}

.footer__bottom-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 28px;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.4);
  flex-wrap: wrap;
  gap: 8px;
}

.footer__bottom a { color: rgba(255, 255, 255, 0.4); transition: color var(--fast); }
.footer__bottom a:hover { color: var(--green-light); }

/* 友情链接 */
.friend-links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
  padding: 16px 0;
  max-width: var(--container);
  margin: 0 auto;
  padding-left: 28px;
  padding-right: 28px;
}

.friend-links__label {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.4);
  flex-shrink: 0;
}

.friend-links a {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.4);
  transition: color var(--fast);
  cursor: pointer;
}

.friend-links a:hover { color: var(--green-light); }

/* ============================================================
   响应式 — 平板 (768px - 1023px)
   ============================================================ */
@media (max-width: 1023px) {
  :root { --section-py: 70px; }

  .header__nav, .header__actions { display: none; }
  .hamburger { display: flex; }

  .categories-grid { grid-template-columns: repeat(3, 1fr); }

  .stats { grid-template-columns: repeat(2, 1fr); gap: 32px 16px; }

  .media-row { grid-template-columns: 1fr; gap: 32px; }

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

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

  .contact-grid { grid-template-columns: 1fr; }

  .footer__grid { grid-template-columns: 1fr 1fr; }

  .detail__pager { flex-direction: column; gap: 8px; text-align: center; }

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

  .care-list-item { flex-direction: column; }
  .care-list-item__image { width: 100%; }
}

/* ============================================================
   响应式 — 移动端 (< 768px)
   ============================================================ */
@media (max-width: 767px) {
  /* 模块间距收紧：区块上下留白 56 -> 44，模块之间 112 -> 88 */
  :root { --section-py: 44px; }
  .cta-section { padding: 60px 0; }

  .hero { height: 75vh; min-height: 460px; }
  .hero__content { padding-bottom: 80px; }
  .hero__scroll { display: none; }

  /* 内页 banner：内容改为在「头部以下的可见区」居中，不再顶到固定头部下沿 */
  .inner-banner { height: 220px; padding-top: var(--header-h); }

  /* 模块内部「标题 → 内容」间距 48 -> 32 */
  .section-head, .section-head--split { margin-bottom: 32px; }
  .list-header { margin-bottom: 32px; }

  /* 分类卡：手机上 3+2 两行，第二行居中，卡片同步压小 */
  .categories-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
  }
  .category-card { flex: 0 0 calc((100% - 20px) / 3); padding: 16px 6px; }
  .category-card__icon { width: 44px; height: 44px; margin: 0 auto 8px; font-size: 1.05rem; }
  .category-card__name { font-size: 0.82rem; margin-bottom: 2px; }
  .category-card__desc { font-size: 0.62rem; }

  /* 数据区（轮播下方 4 个方框）在手机上压扁 */
  .stats-section { padding: 36px 0; }
  .stats { grid-template-columns: repeat(2, 1fr); gap: 20px 12px; }
  .stat-item__icon { font-size: 1.4rem; margin-bottom: 8px; }
  .stat-item__number { font-size: 1.55rem; }
  .stat-item__label { font-size: 0.78rem; }

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

  /* 空间搭配：手机上整宽 4/5 竖图太高（单卡 417px），改 4/3 横构图并压小文字 */
  .space-cards { grid-template-columns: 1fr; gap: 14px; }
  .space-card { aspect-ratio: 4 / 3; }
  /* 卡片变矮后 40% 的渐变起点太低、白字底衬不够，起点上移 24% 保住对比度 */
  .space-card__overlay {
    padding: 20px;
    background: linear-gradient(transparent 24%, rgba(45, 90, 57, 0.78));
  }
  .space-card__title { font-size: 1.05rem; margin-bottom: 2px; }
  .space-card__desc { font-size: 0.78rem; }

  /* 养护·知识：手机上从「上图下文」改回「一行一个」的左图右文，单条 449 -> 129 */
  .care-list, .care-list--compact { gap: 12px; }
  .care-list-item {
    flex-direction: row;
    align-items: center;
    gap: 12px;
    padding: 10px;
    margin-bottom: 0;          /* 原来和容器 gap 叠加，条目间实际空 44px */
    border-radius: var(--radius-md);
  }
  .care-list-item__image {
    width: 104px;              /* 覆盖 ≤1023 的 width:100% */
    height: auto;
    aspect-ratio: auto;        /* 让 align-self 决定高度，免得和 4/3 打架 */
    align-self: stretch;       /* 跟正文同高，不留悬空 */
    min-height: 104px;
    border-radius: var(--radius-sm);
  }
  .care-list-item__title { font-size: 0.95rem; margin-bottom: 4px; }
  /* 摘要截两行，否则正文把行高又撑回去 */
  .care-list-item__desc {
    font-size: 0.78rem;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }
  .care-list-item__date { font-size: 0.72rem; margin-top: 4px; }

  /* 客户·评价：手机上压成「一行一个」——头像占左列，星级/评价/署名排在右列，单卡 231 -> 164 */
  .list-grid { gap: 12px; }
  .list-grid .review-card {
    display: grid;
    grid-template-columns: 44px 1fr;
    column-gap: 12px;
    row-gap: 3px;
    align-items: start;
    padding: 14px;
    border-radius: var(--radius-md);
  }
  /* 拆开作者行，头像才能脱离出来独占左列 */
  .list-grid .review-card__author { display: contents; }
  .list-grid .review-card__avatar {
    grid-column: 1;
    grid-row: 1 / span 3;
    width: 44px;
    height: 44px;
    font-size: 0.8rem;
  }
  .list-grid .review-card__stars { grid-column: 2; grid-row: 1; font-size: 0.76rem; margin-bottom: 0; }
  .list-grid .review-card__text {
    grid-column: 2;
    grid-row: 2;
    font-size: 0.8rem;
    line-height: 1.6;
    margin-bottom: 0;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }
  /* :not() 不能省——否则头像也被这条选中，把上面的定位覆盖掉 */
  .list-grid .review-card__author > div:not(.review-card__avatar) { grid-column: 2; grid-row: 3; }
  .list-grid .review-card__name { font-size: 0.84rem; }
  .list-grid .review-card__role { font-size: 0.72rem; }

  /* 新闻·资讯：手机上压成「一行一个」——缩略图在左，日期/标题/摘要排在右，单卡 331 -> 113 */
  .list-grid--news { gap: 12px; }
  .list-grid--news > .card {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 12px;
    padding: 10px;
    border-radius: var(--radius-md);
  }
  .list-grid--news .card__image {
    width: 120px;
    flex-shrink: 0;
    aspect-ratio: 4 / 3;   /* 覆盖上面通用的 16/10 */
    border-radius: var(--radius-sm);
  }
  .list-grid--news .card__body { padding: 0; flex: 1; min-width: 0; }
  .list-grid--news .card__tag { font-size: 0.66rem; padding: 2px 8px; margin-bottom: 4px; }
  .list-grid--news .card__title { font-size: 0.88rem; margin-bottom: 4px; }
  /* 摘要截两行，否则正文把行高撑回去 */
  .list-grid--news .card__desc {
    font-size: 0.74rem;
    line-height: 1.5;
    margin-bottom: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }

  .footer__grid { grid-template-columns: 1fr; gap: 32px; }
  .footer__bottom-inner { flex-direction: column; text-align: center; }

  /* 快速链接：竖排 5 行占地太多，改成横排一行（360/390/414 都在一行内，320 会折成两行） */
  .footer__links {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 6px 10px;
    align-items: center;
  }
  .footer__links a { font-size: 0.8rem; line-height: 1.5; }

  /* 植物卡在手机上再压一档（首页热门植物 / 植物列表） */
  .list-grid--4 { gap: 12px; }
  .card__image { aspect-ratio: 16 / 10; }
  .card__body { padding: 12px; }
  .card__tag { font-size: 0.66rem; padding: 2px 9px; margin-bottom: 6px; }
  .card__title { font-size: 0.92rem; margin-bottom: 4px; }
  .card__desc { font-size: 0.78rem; line-height: 1.55; }
  /* meta 整项换行，不要从词中间断开 */
  .card__meta { flex-wrap: wrap; row-gap: 4px; column-gap: 8px; margin-top: 10px; padding-top: 10px; }
  .card__meta > span { white-space: nowrap; font-size: 0.68rem; }
  .card__price { font-size: 1.05rem; margin-top: 6px; }

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

  .related-grid { grid-template-columns: 1fr; }

  .contact-form-card { padding: 24px; }

  .review-card { padding: 24px; }

  .search-result-item { flex-direction: column; }
  .search-result-item__thumb { width: 100%; height: 160px; }
}

/* ============================================================
   动画效果
   ============================================================ */

/* 温和小浮 */
@keyframes gentleFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

.gentle-float {
  animation: gentleFloat 4s ease-in-out infinite;
}

/* 淡入上移 */
@keyframes fadeInUp {
  0% { opacity: 0; transform: translateY(30px); }
  100% { opacity: 1; transform: translateY(0); }
}

/* 缩放淡入 */
@keyframes scaleIn {
  0% { opacity: 0; transform: scale(0.95); }
  100% { opacity: 1; transform: scale(1); }
}

/* 叶子飘落感 */
@keyframes leafDrift {
  0% { transform: translate(0, 0) rotate(0deg); opacity: 0; }
  10% { opacity: 1; }
  90% { opacity: 1; }
  100% { transform: translate(60px, 120px) rotate(45deg); opacity: 0; }
}

/* 呼吸光晕 */
@keyframes breatheGlow {
  0%, 100% { box-shadow: 0 0 8px rgba(74, 124, 89, 0.15); }
  50% { box-shadow: 0 0 24px rgba(74, 124, 89, 0.35); }
}

/* Hero 标题入场 */
.hero__title, .hero__subtitle, .hero__actions {
  animation: fadeInUp 1s var(--ease-out) both;
}
.hero__subtitle { animation-delay: 0.2s; }
.hero__actions { animation-delay: 0.4s; }

/* AOS 覆盖 */
[data-aos] {
  transition-timing-function: var(--ease-out);
}

/* ============================================================
   偏好：减少动画
   ============================================================ */
@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;
  }
}
