/**
 * MUSA L'ATELIER — 独立设计师买手店
 * 杂志感视觉驱动 | Swiss Modernism 2.0
 * 白 + 黑 + 浅灰 + 酒红点缀
 * Playfair Display (标题) + Inter (正文)
 */

/* ============================================================
   CSS 变量体系
   ============================================================ */
:root {
  /* 基底色 */
  --bg-primary: #FFFFFF;
  --bg-secondary: #FAFAFA;
  --bg-tertiary: #F5F5F5;
  --bg-dark: #171717;

  /* 文字色阶 */
  --text-primary: #171717;
  --text-secondary: #525252;
  --text-muted: #A3A3A3;
  --text-inverse: #FFFFFF;

  /* 点缀色 — 勃艮第酒红 */
  --accent: #8B1A2B;
  --accent-light: #A52738;
  --accent-dim: rgba(139, 26, 43, 0.08);
  --accent-hover: rgba(139, 26, 43, 0.12);

  /* 边框 */
  --border-default: #EBEBEB;
  --border-light: #F0F0F0;
  --border-divider: #E5E5E5;

  /* 圆角 */
  --radius-xs: 2px;
  --radius-sm: 4px;
  --radius-md: 6px;
  --radius-lg: 8px;

  /* 间距 */
  --section-py: 80px;
  --section-py-sm: 48px;
  --container-max: 1280px;
  --header-h: 64px;
  --gutter: 40px;        /* .container 横向内边距，各断点覆盖 */

  /* 过渡 */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
  --duration-fast: 150ms;
  --duration-normal: 300ms;
  --duration-slow: 600ms;

  /* 字体 */
  --font-heading: 'Georgia', 'Times New Roman', 'STSong', 'Noto Serif SC', 'Songti SC', 'KaiTi', serif;
  --font-body: 'PingFang SC', 'Microsoft YaHei', 'Hiragino Sans GB', 'Helvetica Neue', 'Segoe UI', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono: 'SF Mono', 'Fira Code', 'Cascadia Code', monospace;

  /* 阴影 */
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.04);
  --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 8px 40px rgba(0, 0, 0, 0.08);
}

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

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

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


::selection {
  background: var(--accent-dim);
  color: var(--accent);
}

/* 滚动条 */
::-webkit-scrollbar { width: 4px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: #D4D4D4; border-radius: 2px; }
::-webkit-scrollbar-thumb:hover { background: #A3A3A3; }

a { color: inherit; text-decoration: none; transition: color var(--duration-fast) var(--ease-out); }
a:hover { color: var(--accent); }
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-primary);
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: -0.01em;
}

.section-tag {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.75rem;
  font-family: var(--font-body);
}

.section-title {
  font-family: var(--font-heading);
  font-size: clamp(1.75rem, 3.5vw, 2.75rem);
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.75rem;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.section-subtitle {
  font-size: 0.95rem;
  color: var(--text-secondary);
  max-width: 500px;
  line-height: 1.8;
}

.section-desc {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.8;
}

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

.container--narrow {
  max-width: 900px;
}

.container--wide {
  max-width: 1400px;
}

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

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

.section--bg {
  background: var(--bg-secondary);
}

/* ============================================================
   Header — 杂志风透明→毛玻璃
   ============================================================ */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: var(--header-h);
  transition: all var(--duration-normal) var(--ease-out);
}

/* 首页：透明背景 + 白色文字 */
body.home .header {
  background: transparent;
  border-bottom: none;
}

body.home .header .header__logo-text,
body.home .header .header__nav a,
body.home .header .header__icon-btn {
  color: #fff;
}

body.home .header .header__burger span {
  background: #fff;
}

/* 滚动后：白色毛玻璃 */
.header.scrolled {
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-default);
}

.header.scrolled .header__logo-text,
.header.scrolled .header__nav a,
.header.scrolled .header__icon-btn {
  color: var(--text-primary);
}

.header.scrolled .header__burger span {
  background: var(--text-primary);
}

/* ★ 首页滚动后的"白毛玻璃 + 深色文字"原本是失效的：
   body.home .header（0,2,1）比 .header.scrolled（0,2,0）更具体，
   body.home .header .header__logo-text（0,3,1）也比
   .header.scrolled .header__logo-text（0,3,0）更具体 ——
   于是滚动后头部底色仍是透明的、logo 仍是白字，
   滚到浅色区块上（如「系列·分类」）就是白底白字，看不见。
   下面用同样更具体的写法把这三条补回来。
   （汉堡图标不受影响，它在 426 行单独用 !important 处理过。） */
body.home .header.scrolled {
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-default);
}

body.home .header.scrolled .header__logo-text,
body.home .header.scrolled .header__nav a,
body.home .header.scrolled .header__icon-btn {
  color: var(--text-primary);
}

/* 当前栏目的强调色不能被上面那条一起抹平 */
body.home .header.scrolled .header__nav a.active {
  color: var(--accent);
}

/* 内页：始终白色 */
body:not(.home) .header {
  background: #fff;
  border-bottom: 1px solid var(--border-default);
}

body:not(.home) .header .header__logo-text,
body:not(.home) .header .header__nav a,
body:not(.home) .header .header__icon-btn {
  color: var(--text-primary);
}

body:not(.home) .header .header__burger span {
  background: var(--text-primary);
}

body:not(.home) .header.scrolled {
  box-shadow: var(--shadow-sm);
}

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

/* Logo — 移动优先：左对齐 + 防溢出截断 */
.header__logo {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  z-index: 2;
  margin-right: auto;
  max-width: calc(100vw - 90px);
  flex-shrink: 1;
}
.header__logo {
  max-width: calc(100vw - 90px) !important;
  flex-shrink: 1 !important;
}
.header__logo-text {
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  white-space: nowrap !important;
  display: block !important;
  max-width: 100% !important;
}

.header__logo-text {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  line-height: 1;
  transition: color var(--duration-normal);
}

.header__logo-sub {
  font-size: 0.55rem;
  font-weight: 400;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-top: 2px;
  font-family: var(--font-body);
  transition: color var(--duration-normal);
}

body.home .header__logo-sub {
  color: rgba(255,255,255,0.6);
}

/* 导航 — 移动优先：默认隐藏，桌面端显示 */
.header__nav-left,
.header__nav-right {
  display: none !important;
}

.header__nav-left {
  margin-right: auto;
}

.header__nav-right {
  margin-left: auto;
}

.header__nav a {
  padding: 8px 16px;
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  transition: all var(--duration-fast) var(--ease-out);
  white-space: nowrap;
  font-family: var(--font-body);
}

.header__nav a:hover {
  opacity: 0.7;
}

.header__nav a.active {
  color: var(--accent);
}

.header.scrolled .header__nav a.active {
  color: var(--accent);
}

/* 导航下拉 */
.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: 50%;
  transform: translateX(-50%) translateY(8px);
  min-width: 140px;
  padding: 8px 0;
  background: #fff;
  border: 1px solid var(--border-default);
  box-shadow: var(--shadow-md);
  opacity: 0;
  visibility: hidden;
  transition: all var(--duration-normal) var(--ease-out);
  z-index: 60;
}

.header__dropdown a {
  display: block;
  padding: 10px 20px;
  font-size: 0.82rem;
  color: var(--text-secondary) !important;
  white-space: nowrap;
  letter-spacing: 0.02em;
}

.header__dropdown a:hover {
  background: var(--bg-secondary);
  color: var(--text-primary) !important;
}

/* 右侧图标 */
.header__icon-btn {
  background: none;
  border: none;
  cursor: pointer;
  font-size: 1.1rem;
  padding: 6px;
  color: inherit;
  transition: opacity var(--duration-fast);
}

.header__icon-btn:hover {
  opacity: 0.7;
}

/* 汉堡菜单 — absolute定位，.header__inner 为锚点 */
.header__burger {
  position: absolute !important;
  right: 16px !important;
  top: 50% !important;
  transform: translateY(-50%) !important;
  display: flex !important;
  width: 40px !important;
  height: 40px !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 5px !important;
  background: none !important;
  border: none !important;
  cursor: pointer !important;
  z-index: 110 !important;
}

body.home .header:not(.scrolled) .header__burger span {
  background: #fff !important;
}
body:not(.home) .header__burger span,
.header.scrolled .header__burger span {
  background: var(--text-primary) !important;
}

.header__burger span {
  display: block !important;
  width: 22px !important;
  height: 1.5px !important;
  border-radius: 1px !important;
  transition: all 0.3s ease !important;
}

.header__burger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px) !important;
}
.header__burger.active span:nth-child(2) {
  opacity: 0 !important;
}
.header__burger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px) !important;
}

/* ============================================================
   移动端侧滑菜单
   ============================================================ */
.mobile-nav {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: 80%;
  max-width: 380px;
  background: #fff;
  z-index: 120;
  transform: translateX(100%);
  transition: transform var(--duration-normal) var(--ease-out);
  overflow-y: auto;
  box-shadow: -4px 0 40px rgba(0,0,0,0.08);
}

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

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

.mobile-nav__inner a {
  display: block;
  padding: 14px 0;
  font-size: 1.1rem;
  font-family: var(--font-heading);
  color: var(--text-primary);
  border-bottom: 1px solid var(--border-light);
  letter-spacing: 0.02em;
}

.mobile-nav__sub {
  display: none;
  padding-left: 16px;
}

.mobile-nav__sub.open {
  display: block;
}

.mobile-nav__sub a {
  font-size: 0.9rem;
  font-family: var(--font-body);
  color: var(--text-secondary);
  padding: 10px 0;
  border: none;
}

.mobile-nav__overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.5);
  z-index: 115;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--duration-normal);
}

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

/* ============================================================
   按钮系统
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 32px;
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.03em;
  font-family: var(--font-body);
  transition: all var(--duration-normal) var(--ease-out);
  cursor: pointer;
  white-space: nowrap;
  border: none;
  line-height: 1;
}

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

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

.btn--outline {
  background: transparent;
  color: var(--text-primary);
  border: 1px solid var(--border-divider);
}

.btn--outline:hover {
  border-color: var(--text-primary);
  color: var(--text-primary);
}

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

.btn--white:hover {
  background: var(--bg-tertiary);
}

.btn--link {
  background: none;
  padding: 0;
  color: var(--text-primary);
  font-weight: 500;
  border-bottom: 1px solid transparent;
}

.btn--link:hover {
  border-bottom-color: var(--text-primary);
  color: var(--text-primary);
}

.btn--link::after {
  content: ' →';
  transition: transform var(--duration-fast);
}

.btn--link:hover::after {
  transform: translateX(3px);
}

.btn--sm { padding: 9px 20px; font-size: 0.8rem; }
.btn--lg { padding: 16px 40px; font-size: 0.92rem; }

/* ============================================================
   全屏 Hero Banner (Swiper 淡入淡出)
   ============================================================ */
.hero {
  position: relative;
  height: 100vh;
  min-height: 650px;
  overflow: hidden;
  background: var(--bg-dark);
}

.hero .swiper {
  position: absolute;
  inset: 0;
}

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

.hero__slide::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.15) 0%, rgba(0,0,0,0.05) 40%, rgba(0,0,0,0.55) 100%);
}

.hero__content {
  position: relative;
  z-index: 3;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: center;
  text-align: center;
  padding-bottom: 120px;
}

.hero__title {
  font-family: var(--font-heading);
  font-size: clamp(2.5rem, 7vw, 5.5rem);
  font-weight: 700;
  color: #fff;
  line-height: 1.1;
  margin-bottom: 0.75rem;
  letter-spacing: -0.02em;
  max-width: 800px;
}

.hero__subtitle {
  font-size: clamp(0.95rem, 1.5vw, 1.15rem);
  color: rgba(255,255,255,0.75);
  font-weight: 300;
  letter-spacing: 0.06em;
  margin-bottom: 2rem;
  max-width: 500px;
}

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


/* Hero 分页器
   ★ 用 .hero 打头是为了压过 Swiper 自带的 .swiper-pagination-horizontal：
   两者同为 (0,1,0)，而 Swiper 的 CDN 样式表在本表之后加载，同分就它赢，
   于是 left:0 / width:100% / bottom:8px 生效 —— 本该在右侧竖排的圆点
   被拉到左下角。这里提高一级特异性并显式清掉 left/width。 */
.hero .hero-pagination {
  position: absolute;
  left: auto;
  right: 40px;
  width: auto;
  bottom: 80px;
  z-index: 3;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

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

.hero-pagination .swiper-pagination-bullet-active {
  background: #fff;
  box-shadow: 0 0 8px rgba(255,255,255,0.4);
}

/* ============================================================
   桌面端 (> 1024px) — 显示导航 + Logo居中 + 隐藏汉堡
   ============================================================ */
@media (min-width: 1024px) {
  .header__nav-left,
  .header__nav-right {
    display: flex !important;
    align-items: center;
    gap: 4px;
  }

  .header__logo {
    position: absolute !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    align-items: center;
    text-align: center;
    margin-right: 0;
    max-width: none !important;
    flex-shrink: 0;
  }

  .header__burger {
    display: none !important;
  }

  body.home .header__logo-sub {
    color: rgba(255,255,255,0.6);
  }
}

/* ============================================================
   内页 Banner
   ============================================================ */
.inner-banner {
  position: relative;
  height: 200px;
  overflow: hidden;
  background: var(--bg-tertiary);
  margin-top: var(--header-h);
}

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

.inner-banner__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.25);
}

.inner-banner__content {
  position: relative;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.inner-banner__title {
  font-family: var(--font-heading);
  font-size: clamp(1.25rem, 2.5vw, 1.75rem);
  font-weight: 700;
  color: #fff;
  margin-bottom: 0.25rem;
}

.inner-banner__subtitle {
  font-size: 0.72rem;
  color: rgba(255,255,255,0.7);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

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

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

.breadcrumb a { color: var(--text-secondary); }
.breadcrumb a:hover { color: var(--accent); }
.breadcrumb i { font-size: 0.55rem; }

/* ============================================================
   首页模块 — 双栏图文
   ============================================================ */
.split-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.split-section__image {
  position: relative;
  aspect-ratio: 3/4;
  overflow: hidden;
  background: var(--bg-tertiary);
}

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

.split-section:hover .split-section__image img {
  transform: scale(1.03);
}

.split-section__text {
  padding: 20px 0;
}

.split-section__text .section-tag { margin-bottom: 0.75rem; }

.split-section__text p {
  color: var(--text-secondary);
  line-height: 1.9;
  margin-bottom: 1.5rem;
  font-size: 0.95rem;
}

/* 反转（右图左文） */
.split-section--reverse .split-section__image {
  order: 2;
}
.split-section--reverse .split-section__text {
  order: 1;
}

/* ============================================================
   产品网格
   ============================================================ */
.product-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2px;
}

.product-card {
  position: relative;
  background: #fff;
  transition: opacity var(--duration-normal);
  cursor: pointer;
}

.product-card:hover {
  opacity: 0.85;
}

.product-card__image {
  aspect-ratio: 3/4;
  overflow: hidden;
  background: var(--bg-tertiary);
}

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

.product-card:hover .product-card__image img {
  transform: scale(1.04);
}

.product-card__info {
  padding: 16px 0;
}

.product-card__name {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-primary);
  margin-bottom: 4px;
}

.product-card__price {
  font-size: 0.85rem;
  color: var(--text-secondary);
  font-weight: 400;
}

.product-card__designer {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-top: 2px;
}

/* ============================================================
   分类卡片
   ============================================================ */
.category-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1px;
}

.category-card {
  position: relative;
  aspect-ratio: 1;
  overflow: hidden;
  background: var(--bg-tertiary);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.category-card__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transition: transform var(--duration-slow) var(--ease-out);
  opacity: 0.7;
}

.category-card:hover .category-card__bg {
  transform: scale(1.06);
  opacity: 1;
}

.category-card__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.2);
  transition: background var(--duration-normal);
}

.category-card:hover .category-card__overlay {
  background: rgba(0,0,0,0.35);
}

.category-card__label {
  position: relative;
  z-index: 1;
  color: #fff;
  text-align: center;
}

.category-card__label h3 {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 600;
  margin-bottom: 4px;
  color: #fff;
}

.category-card__label span {
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  opacity: 0.8;
}

/* ============================================================
   Lookbook 横向滚动画廊
   ============================================================ */
.lookbook-swiper {
  overflow: visible !important;
}

.lookbook-swiper .swiper-slide {
  width: 500px;
}

.lookbook-slide {
  /* ★ 这是个 <a>，默认 display:inline —— 而 aspect-ratio 与 overflow
     对 inline 元素都不生效。缺了这行，slide 高度退化成"图片固有比例"，
     图片没加载出来时更是直接塌成一行文字高（26px），
     同一轮播里的 slide 也会因原图尺寸不同而高低不齐。 */
  display: block;
  position: relative;
  aspect-ratio: 4/5;
  overflow: hidden;
  cursor: pointer;
}

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

.lookbook-slide:hover img {
  transform: scale(1.03);
}

.lookbook-slide__caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 24px;
  background: linear-gradient(transparent, rgba(0,0,0,0.6));
  color: #fff;
}

.lookbook-slide__caption h3 {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  color: #fff;
  margin-bottom: 2px;
}

.lookbook-slide__caption p {
  font-size: 0.78rem;
  opacity: 0.75;
}

/* ============================================================
   评价卡片
   ============================================================ */
.review-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.review-card {
  text-align: center;
  padding: 32px 24px;
}

.review-card__stars {
  color: #D4A843;
  font-size: 0.85rem;
  margin-bottom: 16px;
  letter-spacing: 2px;
}

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

.review-card__author {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-primary);
}

.review-card__date {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-top: 4px;
}

/* ============================================================
   CTA 区块
   ============================================================ */
.cta-section {
  text-align: center;
  padding: 80px 0;
  background: var(--bg-secondary);
}

.cta-section__title {
  font-family: var(--font-heading);
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--text-primary);
}

.cta-section__desc {
  color: var(--text-secondary);
  margin-bottom: 2rem;
  font-size: 0.95rem;
}

/* ============================================================
   品牌Logo网格
   ============================================================ */
.brand-grid {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 48px;
  padding: 40px 0;
}

.brand-grid a {
  opacity: 0.35;
  transition: opacity var(--duration-normal);
  font-size: 0.85rem;
  color: var(--text-muted);
  letter-spacing: 0.06em;
}

.brand-grid a:hover {
  opacity: 0.7;
}

/* ============================================================
   新闻列表
   ============================================================ */
.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.news-card {
  cursor: pointer;
}

.news-card__image {
  aspect-ratio: 4/3;
  overflow: hidden;
  background: var(--bg-tertiary);
  margin-bottom: 16px;
}

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

.news-card:hover .news-card__image img {
  transform: scale(1.04);
}

.news-card__date {
  font-size: 0.75rem;
  color: var(--text-muted);
  letter-spacing: 0.06em;
  margin-bottom: 8px;
}

.news-card__title {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 8px;
  line-height: 1.4;
}

.news-card__desc {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.7;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* ============================================================
   产品列表页
   ============================================================ */
.list-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 32px;
  margin-bottom: 32px;
  border-bottom: 1px solid var(--border-light);
}

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

.filter-bar {
  display: flex;
  align-items: center;
  gap: 20px;
  border-bottom: 1px solid var(--border-light);
  padding: 10px 0;
  margin-bottom: 28px;
}

.filter-bar a {
  font-size: 0.85rem;
  color: var(--text-secondary);
  letter-spacing: 0.04em;
  transition: color var(--duration-fast);
  padding-bottom: 4px;
  border-bottom: 1px solid transparent;
}

.filter-bar a:hover,
.filter-bar a.active {
  color: var(--text-primary);
  border-bottom-color: var(--text-primary);
}

/* ============================================================
   产品详情页
   ============================================================ */
.product-detail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: flex-start;
}

.product-detail__gallery {
  position: sticky;
  top: calc(var(--header-h) + 30px);
}

.product-detail__gallery .swiper-slide {
  aspect-ratio: 3/4;
}

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

.product-detail__thumbs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  margin-top: 8px;
}

.product-detail__thumb {
  aspect-ratio: 1;
  overflow: hidden;
  cursor: pointer;
  opacity: 0.5;
  transition: opacity var(--duration-fast);
  border: 1px solid transparent;
}

.product-detail__thumb.active,
.product-detail__thumb:hover {
  opacity: 1;
  border-color: var(--border-divider);
}

.product-detail__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-detail__info {
  padding-top: 0;
}

.product-detail__designer {
  font-size: 0.8rem;
  color: var(--accent);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 8px;
  font-weight: 500;
}

.product-detail__name {
  font-family: var(--font-heading);
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 8px;
}

.product-detail__price {
  font-size: 1.35rem;
  font-weight: 400;
  color: var(--text-primary);
  margin-bottom: 24px;
  font-family: var(--font-body);
}

.product-detail__desc {
  font-size: 0.92rem;
  color: var(--text-secondary);
  line-height: 1.9;
  margin-bottom: 32px;
  padding-bottom: 32px;
  border-bottom: 1px solid var(--border-light);
}

.product-detail__attrs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 32px;
}

.product-detail__attr {
  font-size: 0.82rem;
  color: var(--text-secondary);
}

.product-detail__attr strong {
  color: var(--text-primary);
  display: block;
  margin-bottom: 2px;
  font-size: 0.78rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

/* ============================================================
   Tab 切换 (产品详情)
   ============================================================ */
.tab-nav {
  display: flex;
  gap: 32px;
  border-bottom: 1px solid var(--border-light);
  margin-bottom: 32px;
}

.tab-btn {
  padding: 12px 0;
  font-size: 0.85rem;
  color: var(--text-muted);
  background: none;
  border: none;
  border-bottom: 2px solid transparent;
  cursor: pointer;
  letter-spacing: 0.04em;
  transition: all var(--duration-fast);
  margin-bottom: -1px;
}

.tab-btn.active,
.tab-btn:hover {
  color: var(--text-primary);
  border-bottom-color: var(--text-primary);
}

.tab-panel {
  display: none;
}

.tab-panel.active {
  display: block;
}

/* ============================================================
   文章详情页
   ============================================================ */
.article-detail {
  max-width: 720px;
  margin: 0 auto;
}

.article-detail__header {
  text-align: center;
  margin-bottom: 40px;
  padding-bottom: 32px;
  border-bottom: 1px solid var(--border-light);
}

.article-detail__title {
  font-family: var(--font-heading);
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  font-weight: 700;
  margin-bottom: 12px;
}

.article-detail__meta {
  font-size: 0.8rem;
  color: var(--text-muted);
  display: flex;
  justify-content: center;
  gap: 20px;
}

.article-detail__body {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 2;
}

.article-detail__body p {
  margin-bottom: 20px;
}

.article-detail__body img {
  margin: 32px 0;
  width: 100%;
}

.article-detail__body h2,
.article-detail__body h3 {
  font-family: var(--font-heading);
  color: var(--text-primary);
  margin: 40px 0 16px;
}

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

.contact-info__item {
  display: flex;
  gap: 16px;
  padding: 20px 0;
  border-bottom: 1px solid var(--border-light);
}

.contact-info__icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--bg-tertiary);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-primary);
  flex-shrink: 0;
  font-size: 0.9rem;
}

.contact-info__label {
  font-size: 0.78rem;
  color: var(--text-muted);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 4px;
}

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

.contact-form {
  padding: 40px;
  background: var(--bg-secondary);
}

.contact-form h3 {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  margin-bottom: 24px;
}

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

.form-group label {
  display: block;
  font-size: 0.8rem;
  color: var(--text-secondary);
  margin-bottom: 6px;
  letter-spacing: 0.04em;
}

.form-control {
  width: 100%;
  padding: 13px 16px;
  border: 1px solid var(--border-default);
  background: #fff;
  color: var(--text-primary);
  font-size: 0.9rem;
  transition: border-color var(--duration-fast);
}

.form-control:focus {
  outline: none;
  border-color: var(--text-primary);
}

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

/* ============================================================
   搜索页
   ============================================================ */
.search-header {
  padding: 40px 0;
  margin-top: var(--header-h);
  border-bottom: 1px solid var(--border-light);
  text-align: center;
}

.search-form-row {
  display: flex;
  max-width: 600px;
  margin: 0 auto;
  gap: 8px;
}

.search-form-row input {
  flex: 1;
  padding: 14px 20px;
  border: 1px solid var(--border-default);
  font-size: 0.95rem;
  color: var(--text-primary);
}

.search-form-row input:focus {
  outline: none;
  border-color: var(--text-primary);
}

.search-form-row button {
  padding: 14px 28px;
  background: var(--bg-dark);
  color: #fff;
  border: none;
  cursor: pointer;
  font-size: 0.85rem;
  letter-spacing: 0.04em;
  transition: background var(--duration-fast);
}

.search-form-row button:hover {
  background: var(--accent);
}

.search-result-item {
  display: flex;
  gap: 20px;
  padding: 24px 0;
  border-bottom: 1px solid var(--border-light);
  transition: opacity var(--duration-fast);
}

.search-result-item:hover {
  opacity: 0.7;
}

.search-result-item__thumb {
  width: 120px;
  height: 90px;
  overflow: hidden;
  flex-shrink: 0;
  background: var(--bg-tertiary);
}

.search-result-item__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.search-result-item__info h3 {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 4px;
}

.search-result-item__info p {
  font-size: 0.85rem;
  color: var(--text-muted);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* ============================================================
   分页
   ============================================================ */
.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: 40px;
  height: 40px;
  padding: 0 8px;
  font-size: 0.85rem;
  color: var(--text-secondary);
  transition: all var(--duration-fast);
}

.pagination a:hover {
  color: var(--text-primary);
  background: var(--bg-tertiary);
}

.pagination .active {
  color: var(--text-primary);
  font-weight: 600;
}

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

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

.empty-state i {
  font-size: 2rem;
  margin-bottom: 12px;
  display: block;
}

/* ============================================================
   Footer
   ============================================================ */
.footer {
  background: var(--bg-dark);
  color: rgba(255,255,255,0.6);
  padding: 60px 0 0;
}

.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.footer__brand {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  color: #fff;
  margin-bottom: 12px;
  letter-spacing: 0.06em;
}

.footer__brand-desc {
  font-size: 0.85rem;
  line-height: 1.8;
  margin-bottom: 20px;
  color: rgba(255,255,255,0.45);
}

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

.footer__social a {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,0.06);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.5);
  font-size: 0.85rem;
  transition: all var(--duration-fast);
}

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

.footer__col-title {
  font-size: 0.82rem;
  font-weight: 600;
  color: #fff;
  margin-bottom: 20px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

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

.footer__links a {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.5);
  transition: color var(--duration-fast);
}

.footer__links a:hover {
  color: #fff;
}

.footer__contact p {
  font-size: 0.85rem;
  margin-bottom: 8px;
  color: rgba(255,255,255,0.5);
  line-height: 1.6;
}

.footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 0;
  font-size: 0.78rem;
  color: rgba(255,255,255,0.35);
  flex-wrap: wrap;
  gap: 8px;
}

.footer__bottom a {
  color: rgba(255,255,255,0.35);
}

.footer__bottom a:hover {
  color: rgba(255,255,255,0.7);
}

/* ============================================================
   品牌Logo区（footer上方）
   ============================================================ */
.brand-bar {
  padding: 48px 0;
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
  text-align: center;
}

.brand-bar__label {
  font-size: 0.75rem;
  color: var(--text-muted);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 24px;
}

.brand-bar__logos {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 40px;
}

.brand-bar__logos a {
  opacity: 0.3;
  transition: opacity var(--duration-normal);
  font-size: 0.9rem;
  color: var(--text-secondary);
  letter-spacing: 0.04em;
}

.brand-bar__logos a:hover {
  opacity: 0.6;
}

/* ============================================================
   Lookbook 列表 — 图文错落
   ============================================================ */
.lookbook-item {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  margin-bottom: 80px;
}

.lookbook-item:nth-child(even) .lookbook-item__image {
  order: 2;
}

.lookbook-item:nth-child(even) .lookbook-item__text {
  order: 1;
}

.lookbook-item__image {
  aspect-ratio: 3/4;
  overflow: hidden;
  background: var(--bg-tertiary);
}

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

.lookbook-item:hover .lookbook-item__image img {
  transform: scale(1.03);
}

.lookbook-item__text {
  padding: 20px 0;
}

/* ============================================================
   返回顶部
   ============================================================ */
.back-top {
  position: fixed;
  right: 24px;
  bottom: 40px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #fff;
  border: 1px solid var(--border-default);
  color: var(--text-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  cursor: pointer;
  z-index: 80;
  opacity: 0;
  pointer-events: none;
  transition: all var(--duration-normal);
  box-shadow: var(--shadow-sm);
}

.back-top.show {
  opacity: 1;
  pointer-events: auto;
}

.back-top:hover {
  background: var(--bg-dark);
  color: #fff;
  border-color: var(--bg-dark);
}

/* ============================================================
   在线客服按钮
   ============================================================ */
.customer-service {
  position: fixed;
  right: 24px;
  bottom: 92px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--bg-dark);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  cursor: pointer;
  z-index: 80;
  box-shadow: var(--shadow-md);
  transition: all var(--duration-normal);
}

.customer-service:hover {
  background: var(--accent);
  transform: scale(1.05);
}

/* ============================================================
   动画 — 杂志风淡入
   ============================================================ */
[data-aos] {
  transition-timing-function: var(--ease-out);
}

/* ============================================================
   响应式 — 平板 (768px-1023px)
   ============================================================ */
@media (max-width: 1023px) {
  :root {
    --section-py: 70px;
    --section-py-sm: 48px;
    --header-h: 64px;
    --gutter: 24px;
  }

  .container { padding: 0 var(--gutter); }

  .split-section {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .split-section--reverse .split-section__image {
    order: 1;
  }

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

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

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

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

  .product-detail {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .product-detail__gallery {
    position: static;
  }

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

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

  .hero-pagination {
    bottom: 60px;
    right: 20px;
  }

  .hero__content {
    padding-bottom: 100px;
  }
}

/* ============================================================
   响应式 — 移动端 (< 768px)
   ——— 手机端独立排版：不再压缩桌面版，而是重排 ———
   · 首页展示型区块 → 横向滑动卡片流（下一张露出约 1/3）
   · 列表 / 搜索结果 → 保持两列，方便浏览比对
   · 竖向节奏整体压缩，页面显著变短
   ============================================================ */
@media (max-width: 767px) {
  :root {
    --section-py: 40px;
    --section-py-sm: 26px;
    --gutter: 16px;
    --header-h: 56px;
  }

  /* 锚点跳转不被固定头部盖住 */
  html { scroll-padding-top: calc(var(--header-h) + 8px); }

  .container { padding: 0 var(--gutter); }

  /* 汉堡是手机端的主导航入口，命中区补到 44px
     （基础规则整条带 !important，这里必须同样带） */
  .header__burger {
    width: 44px !important;
    height: 44px !important;
    right: 6px !important;
  }

  /* ------------------------------------------------------------
     区块标题组 — 压掉上下留白
     （模板里的标题外层是内联 margin-bottom:48px，需 !important 覆盖）
     ------------------------------------------------------------ */
  .section > .container > div[style*="margin-bottom:48px"] {
    margin-bottom: 20px !important;
  }

  .section-tag {
    font-size: 0.66rem;
    letter-spacing: 0.14em;
    margin-bottom: 0.45rem;
  }

  .section-title {
    font-size: 1.28rem;
    margin-bottom: 0.5rem;
  }

  .section-subtitle {
    font-size: 0.82rem;
    line-height: 1.65;
    max-width: 100%;
  }

  /* ============================================================
     通用横向卡片流 — 首页展示型区块
     ============================================================ */
  body.home .product-grid,
  body.home .category-grid,
  body.home .review-grid,
  body.home .news-grid {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x proximity;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior-x: contain;
    scrollbar-width: none;
    -ms-overflow-style: none;
    /* 出血到屏幕边缘，露出下一张卡的一角作为可滑动提示 */
    margin-inline: calc(var(--gutter) * -1);
    padding: 6px var(--gutter) 12px;
    /* ★ 有 scroll-snap-align:start 时，吸附位置是"子项起点对齐滚动口起点"，
       不认 padding —— 缺了 scroll-padding，容器会自己向右滚 var(--gutter)，
       把第一张卡切掉左半边（实测每个卡片流 scrollLeft 都是 16）。 */
    scroll-padding-inline: var(--gutter);
    background: transparent;
  }

  body.home .product-grid::-webkit-scrollbar,
  body.home .category-grid::-webkit-scrollbar,
  body.home .review-grid::-webkit-scrollbar,
  body.home .news-grid::-webkit-scrollbar {
    display: none;
  }

  body.home .product-grid > *,
  body.home .category-grid > *,
  body.home .review-grid > *,
  body.home .news-grid > * {
    flex: 0 0 auto;
    min-width: 0;
    scroll-snap-align: start;
  }

  body.home .product-grid > * { flex-basis: 68%; }
  body.home .category-grid > * { flex-basis: 56%; }
  body.home .review-grid > * { flex-basis: 84%; }
  body.home .news-grid > * { flex-basis: 76%; }

  /* 圆点指示器 — 由 main.js 在「确实溢出」时才插入 */
  /* 圆点由 main.js 在「确实溢出」时才插入。
     圆点本身很小，但按钮的命中区要做到好点：
     视觉圆点放在 ::before 上，按钮只当透明热区。 */
  .card-rail__dots {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0;
    margin-top: 8px;
  }

  .card-rail__dot {
    position: relative;
    width: 28px;
    height: 32px; /* 命中区，非视觉尺寸 */
    padding: 0;
    border: none;
    background: transparent;
    cursor: pointer;
  }

  .card-rail__dot::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 6px;
    height: 6px;
    border-radius: 999px;
    background: var(--border-divider);
    transition: background var(--duration-fast), width var(--duration-fast);
  }

  .card-rail__dot.is-active::before {
    width: 16px;
    background: var(--accent);
  }

  /* ------------------------------------------------------------
     Hero — 从 90vh 收到 62vh
     ------------------------------------------------------------ */
  .hero {
    height: 62vh;
    min-height: 420px;
    max-height: 520px;
  }

  .hero__content {
    padding-bottom: 56px;
    padding-left: var(--gutter);
    padding-right: var(--gutter);
  }

  .hero__title {
    font-size: clamp(1.6rem, 7.5vw, 2.2rem);
  }

  .hero__subtitle {
    font-size: 0.85rem;
    margin-bottom: 1.25rem;
  }

  .hero__actions {
    gap: 10px;
  }

  .hero__actions .btn {
    min-height: 44px;
    padding: 12px 20px;
    font-size: 0.82rem;
  }

  .hero .hero-pagination {
    bottom: 26px;
    right: var(--gutter);
    gap: 8px;
  }

  /* ------------------------------------------------------------
     内页 Banner / 面包屑
     ------------------------------------------------------------ */
  .inner-banner { height: 132px; }

  .inner-banner__title { font-size: 1.15rem; }

  .inner-banner__subtitle { font-size: 0.66rem; }

  .breadcrumb {
    padding: 7px var(--gutter);
    font-size: 0.7rem;
    flex-wrap: nowrap;
    overflow-x: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
  }

  .breadcrumb::-webkit-scrollbar { display: none; }

  /* ------------------------------------------------------------
     列表页 — 两列小卡片（不滑动，方便扫读比对）
     ------------------------------------------------------------ */
  .product-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }

  .product-card__info { padding: 10px 0 0; }

  .product-card__name { font-size: 0.82rem; }

  .product-card__price { font-size: 0.78rem; }

  .product-card__designer { font-size: 0.7rem; }

  /* 评价 / 资讯列表页 */
  .review-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
  }

  .review-card { padding: 20px 14px; }

  .review-card__text { font-size: 0.84rem; margin-bottom: 14px; }

  .news-grid { grid-template-columns: 1fr; gap: 24px; }

  /* 栏目筛选条 — 横向滑动 chips */
  .filter-bar {
    gap: 16px;
    overflow-x: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
    margin-inline: calc(var(--gutter) * -1);
    padding-inline: var(--gutter);
    margin-bottom: 20px;
  }

  .filter-bar::-webkit-scrollbar { display: none; }

  .filter-bar a {
    flex-shrink: 0;
    white-space: nowrap;
    font-size: 0.8rem;
  }

  /* ------------------------------------------------------------
     搜索结果 / 资讯列表 — 保持左图右文一行（原先是竖着堆）
     ------------------------------------------------------------ */
  .search-result-item {
    gap: 12px;
    padding: 14px 0;
    align-items: flex-start;
  }

  .search-result-item__thumb {
    width: 104px !important;
    height: 80px !important;
    flex-shrink: 0;
  }

  .search-result-item__info h3 { font-size: 0.88rem; }

  .search-result-item__info p { font-size: 0.78rem; }

  /* ------------------------------------------------------------
     首页各模块
     ------------------------------------------------------------ */
  /* 分类卡：覆盖桌面端的正方比例，避免横滑时过高 */
  .category-card { aspect-ratio: 4 / 5; }

  .category-card__label h3 { font-size: 1rem; }

  .category-card__label span { font-size: 0.62rem; }

  /* Lookbook 横滑画廊
     ★ 模板的 swiper-slide 带内联 style="width:460px;"，普通规则压不住。
       不加 !important 的话这里是死规则，slide 仍按 460×575 渲染 */
  .lookbook-swiper .swiper-slide { width: 268px !important; }

  .lookbook-slide__caption { padding: 16px; }

  .lookbook-slide__caption h3 { font-size: 0.95rem; }

  /* 关于品牌 — 图文堆叠 */
  .split-section { gap: 20px; }

  .split-section__image { aspect-ratio: 4 / 3; }

  .split-section__text { padding: 0; }

  .split-section__text p {
    font-size: 0.86rem;
    line-height: 1.75;
    margin-bottom: 1rem;
  }

  /* CTA */
  .cta-section { padding: 44px var(--gutter); }

  .cta-section__title { font-size: 1.35rem; }

  .cta-section__desc {
    font-size: 0.85rem;
    margin-bottom: 1.5rem;
  }

  /* 合作品牌 — 横向一行 */
  .brand-bar { padding: 28px 0; }

  .brand-bar__label { margin-bottom: 16px; }

  .brand-bar__logos {
    flex-wrap: nowrap;
    justify-content: flex-start;
    gap: 24px;
    overflow-x: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
    margin-inline: calc(var(--gutter) * -1);
    padding-inline: var(--gutter);
  }

  .brand-bar__logos::-webkit-scrollbar { display: none; }

  .brand-bar__logos a {
    flex-shrink: 0;
    white-space: nowrap;
    font-size: 0.8rem;
  }

  /* 产品详情 — 图片不再吸顶 */
  .product-detail { gap: 20px; }

  /* ★ grid 轨道默认 minmax(auto,1fr)，Swiper 的 min-content 会形成
     循环引用并算出天文数字宽度，必须显式归零 */
  .product-detail__gallery {
    position: static;
    min-width: 0;
  }

  .product-detail__gallery .swiper-slide { aspect-ratio: 1 / 1; }

  .product-detail__name { font-size: 1.3rem; }

  .product-detail__price { font-size: 1.15rem; margin-bottom: 16px; }

  .product-detail__desc {
    font-size: 0.86rem;
    line-height: 1.75;
    margin-bottom: 20px;
    padding-bottom: 20px;
  }

  .product-detail__attrs {
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-bottom: 20px;
  }

  .product-detail__attr { font-size: 0.78rem; }

  .product-detail__thumb { min-width: 0; }

  /* Tab 切换 — 横向滑动 */
  .tab-nav {
    gap: 18px;
    overflow-x: auto;
    -ms-overflow-style: none;
    scrollbar-width: none;
    margin-bottom: 20px;
  }

  .tab-nav::-webkit-scrollbar { display: none; }

  .tab-btn {
    flex-shrink: 0;
    white-space: nowrap;
    font-size: 0.82rem;
  }

  .tab-panel .article-detail__body { font-size: 0.88rem; }

  /* 文章详情 */
  .article-detail__header {
    margin-bottom: 20px;
    padding-bottom: 18px;
  }

  .article-detail__title { font-size: 1.25rem; }

  .article-detail__meta { gap: 12px; font-size: 0.72rem; }

  .article-detail__body {
    font-size: 0.9rem;
    line-height: 1.85;
  }

  .article-detail__body img { margin: 20px 0; }

  .article-detail__body h2,
  .article-detail__body h3 { margin: 26px 0 12px; }

  /* Lookbook 列表 */
  .lookbook-item {
    grid-template-columns: 1fr;
    gap: 16px;
    margin-bottom: 36px;
  }

  .lookbook-item__image { aspect-ratio: 4 / 5; }

  .lookbook-item:nth-child(even) .lookbook-item__image { order: 0; }

  .lookbook-item:nth-child(even) .lookbook-item__text { order: 0; }

  .lookbook-item__text { padding: 0; }

  /* 联系我们 */
  .contact-grid { gap: 28px; }

  .contact-info__item { padding: 14px 0; gap: 12px; }

  .contact-info__icon { width: 34px; height: 34px; font-size: 0.8rem; }

  .contact-form { padding: 20px var(--gutter); }

  .contact-form h3 { font-size: 1.1rem; margin-bottom: 18px; }

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

  /* ★ 字号必须 ≥16px，否则 iOS 聚焦输入框时会强制放大整个页面 */
  .form-control {
    font-size: 16px;
    padding: 12px 14px;
  }

  .search-form-row {
    flex-direction: row;
    gap: 8px;
  }

  .search-form-row input { padding: 12px 14px; font-size: 16px; }

  .search-form-row button { padding: 12px 20px; flex-shrink: 0; }

  .search-header { padding: 24px 0; }

  /* 分页 */
  .pagination { margin-top: 28px; gap: 2px; }

  .pagination a,
  .pagination span {
    min-width: 36px;
    height: 36px;
    font-size: 0.8rem;
  }

  /* 空状态 */
  .empty-state { padding: 40px 16px; }

  /* ------------------------------------------------------------
     Footer — 四列改两列
     ------------------------------------------------------------ */
  .footer { padding-top: 40px; }

  .footer__grid {
    grid-template-columns: 1fr 1fr;
    gap: 24px 20px;
    padding-bottom: 28px;
  }

  /* 品牌简介独占一行 */
  .footer__grid > *:first-child { grid-column: 1 / -1; }

  .footer__brand { font-size: 1.05rem; margin-bottom: 8px; }

  .footer__brand-desc { margin-bottom: 14px; }

  .footer__col-title { margin-bottom: 12px; font-size: 0.76rem; }

  /* 并成两列后每列只剩 ~171px，0.85rem 下地址会折成两行，缩到 0.8rem 正好一行 */
  .footer__links { gap: 6px; }

  .footer__links a,
  .footer__contact p { font-size: 0.8rem; }

  .footer__contact p { margin-bottom: 6px; line-height: 1.5; }

  .footer__social a { width: 32px; height: 32px; }

  /* 二维码：模板内联 100×100，而同一行右侧是空的，缩到 76px 收一行高度 */
  .footer__grid > *:last-child > div:first-of-type {
    width: 76px !important;
    height: 76px !important;
  }

  /* 合作品牌友情链接：20 个链接原本折成 6 行占 168px，改单行横滑后约 36px。
     该 div 只有内联样式没有 class，用属性选择器命中 */
  .footer > .container > div[style*="flex-wrap:wrap"] {
    flex-wrap: nowrap !important;
    gap: 14px !important;
    overflow-x: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
    margin-inline: calc(var(--gutter) * -1);
    padding-inline: var(--gutter) !important;
  }

  .footer > .container > div[style*="flex-wrap:wrap"]::-webkit-scrollbar { display: none; }

  .footer > .container > div[style*="flex-wrap:wrap"] > a { flex: 0 0 auto; }

  .footer__bottom {
    flex-direction: column;
    text-align: center;
    padding: 16px 0;
    font-size: 0.72rem;
  }

  .friend-links { padding-bottom: 16px !important; }

  /* ------------------------------------------------------------
     WCAG 2.5.8 最小点按区 24×24
     ------------------------------------------------------------ */
  /* 页脚链接（0.8rem / 行高 1.7 ≈ 22px）、版权行的"网站地图"（20px）、
     友情链接条（0.78rem ≈ 22px）、合作品牌条（22px）、正文里的
     "了解更多"文字链（13.6px）都差一点点。这些是一条条挨着排的纯链接，
     "间距豁免"也够不上（相邻间距小于 24px），补个最小高度即可。
     视觉上只多一两像素，不影响排版。 */
  .footer__links a,
  .footer__bottom a,
  .footer > .container > div[style*="flex-wrap:wrap"] > a,
  .brand-bar__logos a,
  .btn--link {
    min-height: 24px;
    display: inline-flex;
    align-items: center;
  }

  /* ------------------------------------------------------------
     悬浮按钮 — 错开排布，避免叠在一起
     ------------------------------------------------------------ */
  /* 两个都取 44px：手指点击的最小可靠尺寸 */
  .back-top {
    right: 12px;
    bottom: 24px;
    width: 44px;
    height: 44px;
  }

  .customer-service {
    right: 12px;
    bottom: 78px;
    width: 44px;
    height: 44px;
  }

  /* 移动端菜单 */
  .mobile-nav__inner { padding: 72px 20px 32px; }

  .mobile-nav__inner a { padding: 13px 0; font-size: 0.95rem; }
}

/* ============================================================
   小屏手机 (< 375px)
   ============================================================ */
@media (max-width: 374px) {
  :root { --gutter: 14px; }

  body { font-size: 14px; }

  .section-title { font-size: 1.18rem; }

  .product-grid { gap: 8px; }

  .product-card__name { font-size: 0.78rem; }

  body.home .product-grid > * { flex-basis: 74%; }

  body.home .category-grid > * { flex-basis: 62%; }

  body.home .review-grid > * { flex-basis: 88%; }

  .hero__actions .btn { font-size: 0.78rem; padding: 11px 16px; }

  .footer__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;
  }
}
