/**
 * 潮玩星球 ToyPlanet — 主样式表
 * 潮流玩具/手办/盲盒品牌官网
 * 设计基调：白底+深灰+克莱因蓝/荧光橙/紫色点缀+银色装饰
 * 排版风格：潮流杂志、大留白、图文错落
 * 纯原生 CSS，无框架依赖
 * ★ 符合 PBootCMS AI开发规范 V3.6 全部约束
 */

/* ============================================================
   CSS 变量体系
   ============================================================ */
:root {
  /* === 品牌色 === */
  --brand-blue: #002FA7;        /* 克莱因蓝 — 主品牌色 */
  --brand-blue-light: #3B6FD4;
  --brand-blue-dim: rgba(0, 47, 167, 0.08);
  --brand-orange: #FF5F00;      /* 荧光橙 — CTA/强调 */
  --brand-orange-light: #FF8533;
  --brand-orange-dim: rgba(255, 95, 0, 0.08);
  --brand-purple: #7B2FF7;      /* 紫 — 副点缀 */
  --brand-purple-light: #9B6AFF;
  --brand-purple-dim: rgba(123, 47, 247, 0.08);

  /* === 基底色 === */
  --bg-white: #FFFFFF;
  --bg-light: #F8F9FB;
  --bg-dark: #1A1A1A;
  --bg-darker: #111111;
  --bg-card: #FFFFFF;
  --bg-input: #F5F6F8;

  /* === 文字 === */
  --text-primary: #1A1A1A;
  --text-secondary: #555555;
  --text-muted: #999999;
  --text-on-dark: #FFFFFF;
  --text-on-dark-muted: rgba(255, 255, 255, 0.65);

  /* === 边框 === */
  --border-default: #E8E8E8;
  --border-light: #F0F0F0;
  --border-card: #EDEDED;

  /* === 银色装饰 === */
  --silver: #C0C0C0;
  --silver-light: #E8E8E8;
  --silver-dim: rgba(192, 192, 192, 0.2);

  /* === 圆角 === */
  --radius-xs: 4px;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --radius-2xl: 40px;
  --radius-full: 9999px;

  /* === 间距 === */
  --section-py: 100px;
  --section-py-m: 60px;
  --container-max: 1280px;
  --container-narrow: 960px;
  --header-h: 72px;

  /* === 阴影 === */
  --shadow-xs: 0 1px 2px rgba(0, 0, 0, 0.04);
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.06);
  --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 16px 48px rgba(0, 0, 0, 0.1);
  --shadow-glow-blue: 0 0 30px rgba(0, 47, 167, 0.12);
  --shadow-glow-orange: 0 0 30px rgba(255, 95, 0, 0.12);

  /* === 过渡 === */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --duration-fast: 150ms;
  --duration-normal: 300ms;
  --duration-slow: 500ms;

  /* === 字体 === */
  --font-heading: 'Fredoka', 'PingFang SC', 'Microsoft YaHei', 'Hiragino Sans GB', sans-serif;
  --font-body: 'Nunito', 'PingFang SC', 'Microsoft YaHei', 'Hiragino Sans GB', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-mono: 'SF Mono', 'Fira Code', 'Cascadia Code', monospace;
}

/* ============================================================
   全局重置 & 基础
   ============================================================ */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  background: var(--bg-white);
  color: var(--text-primary);
  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;
  overflow-x: hidden;
  min-width: 320px;
}

::selection {
  background: var(--brand-blue);
  color: #FFFFFF;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

ul, ol {
  list-style: none;
}

button {
  border: none;
  background: none;
  cursor: pointer;
  font-family: inherit;
  font-size: inherit;
}

input, textarea, select {
  font-family: inherit;
  font-size: inherit;
}

/* ============================================================
   排版
   ============================================================ */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.3;
  color: var(--text-primary);
}

.section-tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--brand-blue);
  margin-bottom: 12px;
  position: relative;
  padding-left: 28px;
}

.section-tag::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 18px;
  height: 2px;
  background: var(--brand-blue);
  border-radius: 1px;
}

.section-tag--orange { color: var(--brand-orange); }
.section-tag--orange::before { background: var(--brand-orange); }
.section-tag--purple { color: var(--brand-purple); }
.section-tag--purple::before { background: var(--brand-purple); }

.section-title {
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
  color: var(--text-primary);
}

.section-subtitle {
  font-size: 1.05rem;
  color: var(--text-secondary);
  max-width: 560px;
  line-height: 1.7;
}

/* ============================================================
   布局 & 容器
   ============================================================ */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 24px;
}

.container--narrow {
  max-width: var(--container-narrow);
}

.section {
  padding: var(--section-py) 0;
}

.section--tight {
  padding: var(--section-py-m) 0;
}

.section--dark {
  background: var(--bg-dark);
  color: var(--text-on-dark);
}

.section--dark .section-title,
.section--dark h2,
.section--dark h3 {
  color: var(--text-on-dark);
}

.section--dark .section-subtitle,
.section--dark p {
  color: var(--text-on-dark-muted);
}

.section--light {
  background: var(--bg-light);
}

.section--brand {
  background: var(--brand-blue);
  color: var(--text-on-dark);
}

.section--brand .section-title,
.section--brand h2 {
  color: var(--text-on-dark);
}

.section--brand .section-tag { color: rgba(255,255,255,0.7); }
.section--brand .section-tag::before { background: rgba(255,255,255,0.5); }

/* ============================================================
   Header & Navigation
   ★ 13.4: hamburger 独立于 header__actions
   ★ 13.3: nav__dropdown 有 z-index
   ★ 13.11: 白色实底+深色文字
   ============================================================ */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: var(--header-h);
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-light);
  transition: all var(--duration-normal) var(--ease-out);
}

.header.scrolled {
  box-shadow: var(--shadow-sm);
  background: rgba(255, 255, 255, 0.97);
}

.header__inner {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 24px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

/* Logo */
.header__logo {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.header__logo-icon {
  width: 40px;
  height: 40px;
  background: var(--brand-blue);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #FFFFFF;
  font-size: 1.1rem;
}

.header__logo-text {
  display: flex;
  flex-direction: column;
}

.header__logo-name {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--text-primary);
  line-height: 1.2;
  letter-spacing: -0.01em;
}

.header__logo-sub {
  font-size: 0.6rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-muted);
  font-weight: 500;
}

/* 主导航 */
.header__nav {
  display: flex;
  align-items: center;
  gap: 4px;
}

.header__nav-link {
  padding: 8px 16px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-secondary);
  border-radius: var(--radius-full);
  transition: all var(--duration-fast) var(--ease-out);
  white-space: nowrap;
  position: relative;
}

.header__nav-link:hover,
.header__nav-link.active {
  color: var(--brand-blue);
  background: var(--brand-blue-dim);
}

/* 下拉项 */
.header__nav-item {
  position: relative;
}

/* ★ 13.3: 导航下拉 z-index */
.header__dropdown {
  position: absolute;
  top: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%) translateY(8px);
  background: var(--bg-white);
  border: 1px solid var(--border-default);
  border-radius: var(--radius-lg);
  padding: 8px;
  min-width: 180px;
  box-shadow: var(--shadow-lg);
  opacity: 0;
  visibility: hidden;
  transition: all var(--duration-normal) var(--ease-out);
  z-index: 60;
}

.header__nav-item:hover .header__dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.header__dropdown a {
  display: block;
  padding: 10px 16px;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--text-secondary);
  border-radius: var(--radius-sm);
  transition: all var(--duration-fast);
  white-space: nowrap;
}

.header__dropdown a:hover {
  background: var(--brand-blue-dim);
  color: var(--brand-blue);
}

/* 右侧操作区 */
.header__actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.header__cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 22px;
  background: var(--brand-orange);
  color: #FFFFFF;
  font-size: 0.88rem;
  font-weight: 700;
  border-radius: var(--radius-full);
  transition: all var(--duration-normal) var(--ease-out);
  white-space: nowrap;
}

.header__cta:hover {
  background: var(--brand-orange-light);
  box-shadow: var(--shadow-glow-orange);
  transform: translateY(-1px);
}

/* ★ 13.4: hamburger 独立 */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 32px;
  height: 32px;
  padding: 4px;
  cursor: pointer;
  z-index: 110;
  flex-shrink: 0;
}

.hamburger span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--text-primary);
  border-radius: 1px;
  transition: all var(--duration-normal) var(--ease-spring);
}

.hamburger.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

.hamburger.active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* 移动端侧滑菜单 */
.mobile-nav {
  position: fixed;
  top: 0;
  right: 0;
  width: 320px;
  max-width: 85vw;
  height: 100vh;
  background: var(--bg-white);
  z-index: 105;
  transform: translateX(100%);
  transition: transform var(--duration-normal) var(--ease-out);
  box-shadow: var(--shadow-lg);
  overflow-y: auto;
}

.mobile-nav.open {
  transform: translateX(0);
}

.mobile-nav__inner {
  padding: 32px 24px;
}

.mobile-nav__link {
  display: block;
  padding: 14px 16px;
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-primary);
  border-radius: var(--radius-sm);
  transition: background var(--duration-fast);
}

.mobile-nav__link:hover {
  background: var(--brand-blue-dim);
  color: var(--brand-blue);
}

.mobile-nav__sub {
  padding-left: 20px;
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--duration-normal) var(--ease-out);
}

.mobile-nav__sub.open {
  max-height: 500px;
}

.mobile-nav__sub a {
  display: block;
  padding: 10px 16px;
  font-size: 0.88rem;
  color: var(--text-secondary);
  border-radius: var(--radius-sm);
}

.mobile-nav__overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
  z-index: 104;
  opacity: 0;
  visibility: hidden;
  transition: all var(--duration-normal);
}

.mobile-nav__overlay.show {
  opacity: 1;
  visibility: visible;
}

/* ============================================================
   Hero / Banner
   ============================================================ */
.hero {
  position: relative;
  width: 100%;
  height: 100vh;
  min-height: 600px;
  max-height: 900px;
  overflow: hidden;
  background: var(--bg-dark);
}

.hero .swiper {
  width: 100%;
  height: 100%;
}

.hero__slide {
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0.35) 0%,
    rgba(0, 0, 0, 0.15) 40%,
    rgba(0, 0, 0, 0.5) 100%
  );
  z-index: 2;
}

/* 左侧品牌色块装饰 */
.hero__brand-stripe {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 6px;
  height: 40%;
  background: var(--brand-orange);
  z-index: 3;
  border-radius: 0 3px 0 0;
}

.hero__content {
  position: absolute;
  inset: 0;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 0 24px;
  padding-top: var(--header-h);
}

.hero__title {
  font-size: clamp(2rem, 5vw, 4rem);
  font-weight: 900;
  color: #FFFFFF;
  letter-spacing: -0.02em;
  margin-bottom: 20px;
  max-width: 800px;
  line-height: 1.15;
}

.hero__title span {
  color: var(--brand-orange);
}

.hero__subtitle {
  font-size: clamp(1rem, 2vw, 1.25rem);
  color: rgba(255, 255, 255, 0.85);
  max-width: 600px;
  margin-bottom: 36px;
  line-height: 1.6;
}

.hero__actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: center;
}

.hero__scroll {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.hero__scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, rgba(255,255,255,0.5), transparent);
  animation: scrollBounce 2s ease-in-out infinite;
}

@keyframes scrollBounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(8px); }
}

/* Swiper 分页器 */
.hero-pagination {
  position: absolute;
  bottom: 120px !important;
  z-index: 4;
}

.hero-pagination .swiper-pagination-bullet {
  width: 8px;
  height: 8px;
  background: rgba(255, 255, 255, 0.4);
  opacity: 1;
  transition: all var(--duration-normal);
}

.hero-pagination .swiper-pagination-bullet-active {
  background: var(--brand-orange);
  width: 24px;
  border-radius: 4px;
}

/* ============================================================
   内页 Banner
   ============================================================ */
.inner-banner {
  position: relative;
  height: 360px;
  overflow: hidden;
  background: var(--bg-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: var(--header-h);
}

.inner-banner__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  filter: brightness(0.4);
}

.inner-banner__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.3), rgba(0,0,0,0.5));
}

.inner-banner__content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 0 24px;
}

.inner-banner__title {
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  font-weight: 900;
  color: #FFFFFF;
  letter-spacing: -0.02em;
}

.inner-banner__subtitle {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.7);
  margin-top: 8px;
}

/* 面包屑 */
.breadcrumb-bar {
  background: var(--bg-light);
  border-bottom: 1px solid var(--border-light);
  padding: 12px 0;
}

.breadcrumb {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 24px;
  font-size: 0.85rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}

.breadcrumb a {
  color: var(--text-secondary);
  transition: color var(--duration-fast);
}

.breadcrumb a:hover {
  color: var(--brand-blue);
}

/* ============================================================
   按钮系统
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 28px;
  font-size: 0.95rem;
  font-weight: 700;
  border-radius: var(--radius-full);
  transition: all var(--duration-normal) var(--ease-out);
  cursor: pointer;
  white-space: nowrap;
  position: relative;
  overflow: hidden;
}

.btn--primary {
  background: var(--brand-blue);
  color: #FFFFFF;
  border: 2px solid var(--brand-blue);
}

.btn--primary:hover {
  background: var(--brand-blue-light);
  border-color: var(--brand-blue-light);
  box-shadow: var(--shadow-glow-blue);
  transform: translateY(-2px);
}

.btn--accent {
  background: var(--brand-orange);
  color: #FFFFFF;
  border: 2px solid var(--brand-orange);
}

.btn--accent:hover {
  background: var(--brand-orange-light);
  border-color: var(--brand-orange-light);
  box-shadow: var(--shadow-glow-orange);
  transform: translateY(-2px);
}

.btn--outline {
  background: transparent;
  color: var(--brand-blue);
  border: 2px solid var(--brand-blue);
}

.btn--outline:hover {
  background: var(--brand-blue);
  color: #FFFFFF;
  transform: translateY(-2px);
}

.btn--outline-light {
  background: transparent;
  color: #FFFFFF;
  border: 2px solid rgba(255, 255, 255, 0.4);
}

.btn--outline-light:hover {
  background: #FFFFFF;
  color: var(--text-primary);
  border-color: #FFFFFF;
}

.btn--ghost {
  background: transparent;
  color: var(--text-secondary);
  border: 1px solid var(--border-default);
}

.btn--ghost:hover {
  background: var(--bg-light);
  border-color: var(--text-muted);
  color: var(--text-primary);
}

.btn--sm {
  padding: 8px 18px;
  font-size: 0.85rem;
}

.btn--lg {
  padding: 16px 36px;
  font-size: 1.05rem;
}

/* 脉冲动画 CTA */
.btn--pulse {
  animation: btnPulse 2.5s ease-in-out infinite;
}

@keyframes btnPulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(255, 95, 0, 0.4); }
  50% { box-shadow: 0 0 0 16px rgba(255, 95, 0, 0); }
}

/* ============================================================
   卡片系统
   ============================================================ */
.card {
  display: block;
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all var(--duration-normal) var(--ease-out);
  cursor: pointer;
  position: relative;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.card--border-blue:hover { border-color: var(--brand-blue); box-shadow: var(--shadow-glow-blue); }
.card--border-orange:hover { border-color: var(--brand-orange); }
.card--border-purple:hover { border-color: var(--brand-purple); }

/* 彩色边框卡片 — 用户指定：纯白卡片+彩色边框 */
.card--accent-blue { border-top: 4px solid var(--brand-blue); }
.card--accent-orange { border-top: 4px solid var(--brand-orange); }
.card--accent-purple { border-top: 4px solid var(--brand-purple); }

.card__image {
  position: relative;
  aspect-ratio: 4/3;
  overflow: hidden;
  background: var(--bg-light);
}

.card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--duration-slow) var(--ease-out);
}

.card:hover .card__image img {
  transform: scale(1.06);
}

.card__image--square {
  aspect-ratio: 1/1;
}

.card__image--wide {
  aspect-ratio: 16/9;
}

.card__image--tall {
  aspect-ratio: 3/4;
}

.card__badge {
  position: absolute;
  top: 12px;
  left: 12px;
  padding: 4px 12px;
  font-size: 0.72rem;
  font-weight: 700;
  border-radius: var(--radius-full);
  color: #FFFFFF;
  z-index: 2;
}

.card__badge--orange { background: var(--brand-orange); }
.card__badge--blue { background: var(--brand-blue); }
.card__badge--purple { background: var(--brand-purple); }
.card__badge--limited {
  background: linear-gradient(135deg, var(--brand-purple), var(--brand-orange));
}

.card__body {
  padding: 20px;
}

.card__tag {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--brand-blue);
  background: var(--brand-blue-dim);
  padding: 3px 10px;
  border-radius: var(--radius-full);
  margin-bottom: 10px;
  letter-spacing: 0.03em;
}

.card__title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 8px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  line-height: 1.35;
}

.card__desc {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-bottom: 12px;
}

.card__meta {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 0.8rem;
  color: var(--text-muted);
  flex-wrap: wrap;
}

.card__meta i {
  margin-right: 4px;
}

.card__price {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--brand-orange);
  margin-top: 8px;
}

.card__footer {
  padding: 16px 20px;
  border-top: 1px solid var(--border-light);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* 设计师卡片 */
.card--designer {
  text-align: center;
}

.card--designer .card__image {
  aspect-ratio: 1/1;
  border-radius: 50%;
  width: 160px;
  height: 160px;
  margin: 24px auto 0;
  overflow: hidden;
}

.card--designer .card__image img {
  border-radius: 50%;
}

/* 特色大卡片 */
.feature-card {
  text-align: center;
  padding: 36px 24px;
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-xl);
  transition: all var(--duration-normal) var(--ease-out);
}

.feature-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}

.feature-card__icon {
  width: 72px;
  height: 72px;
  margin: 0 auto 20px;
  background: var(--brand-blue-dim);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  color: var(--brand-blue);
}

.feature-card__icon--orange { background: var(--brand-orange-dim); color: var(--brand-orange); }
.feature-card__icon--purple { background: var(--brand-purple-dim); color: var(--brand-purple); }

.feature-card__title {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.feature-card__desc {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* 分类卡片 */
.category-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding: 32px 20px;
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-xl);
  transition: all var(--duration-normal) var(--ease-out);
  cursor: pointer;
  text-align: center;
}

.category-card:hover {
  border-color: var(--brand-blue);
  box-shadow: var(--shadow-glow-blue);
  transform: translateY(-4px);
}

.category-card__icon {
  width: 64px;
  height: 64px;
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: #FFFFFF;
}

.category-card__icon--blue { background: var(--brand-blue); }
.category-card__icon--orange { background: var(--brand-orange); }
.category-card__icon--purple { background: var(--brand-purple); }

.category-card__name {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-primary);
}

.category-card__count {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* ============================================================
   网格系统
   ============================================================ */
.list-grid {
  display: grid;
  gap: 24px;
}

.list-grid--2 { grid-template-columns: repeat(2, 1fr); }
.list-grid--3 { grid-template-columns: repeat(3, 1fr); }
.list-grid--4 { grid-template-columns: repeat(4, 1fr); }

/* 错落杂志网格 — 用户要求图文错落 */
.masonry-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.masonry-grid__item--large {
  grid-column: span 2;
  grid-row: span 2;
}

.masonry-grid__item--tall {
  grid-row: span 2;
}

.masonry-grid__item--wide {
  grid-column: span 2;
}

/* 产品详情页布局 */
.detail-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}

.detail-gallery {
  position: sticky;
  top: calc(var(--header-h) + 24px);
}

.detail-gallery .swiper-slide {
  aspect-ratio: 1/1;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--bg-light);
}

.detail-gallery .swiper-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.detail-info__title {
  font-size: 2rem;
  font-weight: 900;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}

.detail-info__meta {
  display: flex;
  gap: 20px;
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-bottom: 24px;
  flex-wrap: wrap;
}

.detail-info__params {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-bottom: 28px;
}

.detail-info__param {
  background: var(--bg-light);
  border-radius: var(--radius-md);
  padding: 16px;
}

.detail-info__param-label {
  font-size: 0.75rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 4px;
}

.detail-info__param-value {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-primary);
}

.detail-info__actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 32px;
}

/* 详情页 Tab */
.detail-tabs {
  display: flex;
  gap: 4px;
  border-bottom: 2px solid var(--border-light);
  margin-bottom: 24px;
}

.detail-tabs__btn {
  padding: 12px 24px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-muted);
  border-bottom: 2px solid transparent;
  margin-bottom: -2px;
  transition: all var(--duration-fast);
}

.detail-tabs__btn.active,
.detail-tabs__btn:hover {
  color: var(--brand-blue);
  border-bottom-color: var(--brand-blue);
}

.detail-body {
  font-size: 0.95rem;
  line-height: 1.85;
  color: var(--text-secondary);
}

.detail-body img {
  border-radius: var(--radius-md);
  margin: 16px 0;
}

/* ============================================================
   首页模块专用
   ============================================================ */

/* 关于我们区块 */
.about-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.about-block__image {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  aspect-ratio: 4/3;
}

.about-block__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* 银色装饰框 */
.about-block__image::after {
  content: '';
  position: absolute;
  inset: 10px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-radius: var(--radius-lg);
  pointer-events: none;
}

.about-block__accent {
  position: absolute;
  bottom: -12px;
  right: -12px;
  width: 120px;
  height: 120px;
  background: var(--brand-orange);
  border-radius: var(--radius-lg);
  z-index: -1;
}

.about-block__text h2 {
  margin-bottom: 16px;
}

.about-block__text p {
  color: var(--text-secondary);
  margin-bottom: 24px;
  line-height: 1.8;
}

/* 数字统计 */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  text-align: center;
}

.stat-item__number {
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 900;
  color: var(--brand-blue);
  letter-spacing: -0.02em;
  line-height: 1;
  margin-bottom: 8px;
}

.stat-item__label {
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* CTA 区块 */
.cta-section {
  background: var(--bg-dark);
  color: var(--text-on-dark);
  text-align: center;
  padding: 100px 0;
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(ellipse at center, var(--brand-blue-dim) 0%, transparent 60%);
  opacity: 0.5;
}

.cta-section > .container {
  position: relative;
  z-index: 1;
}

.cta-section__title {
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  font-weight: 900;
  color: #FFFFFF;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}

/* 设计师区块 */
.designer-showcase {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

/* 限量发售倒计时 */
.countdown-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
}

.countdown-item {
  text-align: center;
  min-width: 80px;
}

.countdown-item__number {
  font-size: 2.5rem;
  font-weight: 900;
  color: var(--brand-orange);
  line-height: 1;
  font-variant-numeric: tabular-nums;
}

.countdown-item__label {
  font-size: 0.75rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-top: 4px;
}

/* 订阅区块 */
.subscribe-card {
  background: var(--bg-light);
  border: 1px solid var(--border-default);
  border-radius: var(--radius-2xl);
  padding: 60px 40px;
  text-align: center;
  max-width: 720px;
  margin: 0 auto;
}

.subscribe-form {
  display: flex;
  gap: 12px;
  max-width: 520px;
  margin: 24px auto 0;
}

.subscribe-form input {
  flex: 1;
  padding: 14px 20px;
  border: 2px solid var(--border-default);
  border-radius: var(--radius-full);
  font-size: 0.95rem;
  outline: none;
  transition: border-color var(--duration-fast);
}

.subscribe-form input:focus {
  border-color: var(--brand-blue);
}

/* ============================================================
   列表页
   ============================================================ */
.filter-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 16px 0;
  flex-wrap: wrap;
}

.filter-bar a {
  padding: 8px 20px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-secondary);
  border-radius: var(--radius-full);
  transition: all var(--duration-fast);
  border: 1px solid transparent;
}

.filter-bar a.active,
.filter-bar a:hover {
  color: var(--brand-blue);
  background: var(--brand-blue-dim);
  border-color: var(--brand-blue);
}

.list-header {
  text-align: center;
  margin-bottom: 48px;
}

.list-header h1 {
  font-size: 2.25rem;
  font-weight: 900;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
}

/* ============================================================
   搜索页
   ============================================================ */
.search-header {
  text-align: center;
  padding: 48px 0 32px;
}

.search-header h1 {
  font-size: 1.5rem;
  font-weight: 800;
  margin-bottom: 8px;
}

.search-form {
  display: flex;
  max-width: 560px;
  margin: 0 auto;
  gap: 12px;
}

.search-form input {
  flex: 1;
  padding: 14px 20px;
  border: 2px solid var(--border-default);
  border-radius: var(--radius-full);
  font-size: 0.95rem;
  outline: none;
  transition: border-color var(--duration-fast);
}

.search-form input:focus {
  border-color: var(--brand-blue);
}

.search-form button {
  padding: 14px 28px;
  background: var(--brand-blue);
  color: #FFFFFF;
  border-radius: var(--radius-full);
  font-weight: 700;
  font-size: 0.95rem;
  transition: all var(--duration-normal);
}

.search-form button:hover {
  background: var(--brand-blue-light);
}

/* ============================================================
   表单系统
   ============================================================ */
.form-control {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--border-default);
  border-radius: var(--radius-md);
  font-size: 0.9rem;
  color: var(--text-primary);
  background: var(--bg-white);
  outline: none;
  transition: border-color var(--duration-fast);
}

.form-control:focus {
  border-color: var(--brand-blue);
  box-shadow: 0 0 0 3px var(--brand-blue-dim);
}

.form-control::placeholder {
  color: var(--text-muted);
}

textarea.form-control {
  resize: vertical;
  min-height: 100px;
}

/* ============================================================
   分页
   ============================================================ */
.pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin-top: 48px;
  flex-wrap: wrap;
}

.pagination a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  padding: 0 12px;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-secondary);
  border: 1px solid var(--border-default);
  border-radius: var(--radius-sm);
  transition: all var(--duration-fast);
}

.pagination a:hover,
.pagination a.active {
  color: #FFFFFF;
  background: var(--brand-blue);
  border-color: var(--brand-blue);
}

/* 空状态 */
.empty-state {
  text-align: center;
  padding: 80px 24px;
  color: var(--text-muted);
}

.empty-state i {
  font-size: 3rem;
  color: var(--border-default);
  margin-bottom: 16px;
  display: block;
}

.empty-state p {
  font-size: 1rem;
}

/* ============================================================
   联系页
   ============================================================ */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
}

.contact-info__item {
  display: flex;
  gap: 16px;
  padding: 20px 0;
  border-bottom: 1px solid var(--border-light);
}

.contact-info__icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  background: var(--brand-blue-dim);
  color: var(--brand-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}

.contact-info__label {
  font-size: 0.75rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 4px;
}

.contact-info__value {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-primary);
}

/* ============================================================
   Footer
   ============================================================ */
.footer {
  background: var(--bg-darker);
  color: var(--text-on-dark-muted);
  padding: 80px 0 0;
}

.footer__grid {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
}

.footer__brand-desc {
  font-size: 0.88rem;
  line-height: 1.7;
  margin: 16px 0 20px;
  max-width: 320px;
}

.footer__social {
  display: flex;
  gap: 12px;
}

.footer__social a {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-full);
  border: 1px solid rgba(255, 255, 255, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-on-dark-muted);
  font-size: 0.9rem;
  transition: all var(--duration-fast);
}

.footer__social a:hover {
  border-color: var(--brand-blue);
  background: var(--brand-blue);
  color: #FFFFFF;
}

.footer__col-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: #FFFFFF;
  margin-bottom: 20px;
}

.footer__links a {
  display: block;
  font-size: 0.88rem;
  color: var(--text-on-dark-muted);
  padding: 6px 0;
  transition: all var(--duration-fast);
}

.footer__links a:hover {
  color: #FFFFFF;
  padding-left: 4px;
}

.footer__contact-item {
  display: flex;
  gap: 10px;
  padding: 6px 0;
  font-size: 0.88rem;
  color: var(--text-on-dark-muted);
}

.footer__contact-item i {
  color: var(--brand-blue-light);
  flex-shrink: 0;
  margin-top: 4px;
}

.footer__qrcode {
  width: 100px;
  height: 100px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  text-align: center;
  line-height: 1.5;
}

/* 友情链接 */
.friend-links {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  padding: 24px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  margin-top: 48px;
}

.friend-links__label {
  font-size: 0.8rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.4);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  white-space: nowrap;
}

.friend-links a {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.45);
  transition: color var(--duration-fast);
}

.friend-links a:hover {
  color: #FFFFFF;
}

/* 底部版权栏 */
.footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  margin-top: 32px;
  padding: 20px 0;
}

.footer__bottom-inner {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.4);
}

.footer__bottom-inner a {
  color: rgba(255, 255, 255, 0.4);
  transition: color var(--duration-fast);
}

.footer__bottom-inner a:hover {
  color: rgba(255, 255, 255, 0.7);
}

/* ============================================================
   返回顶部
   ============================================================ */
.back-top {
  position: fixed;
  bottom: 32px;
  right: 32px;
  width: 48px;
  height: 48px;
  background: var(--brand-blue);
  color: #FFFFFF;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  box-shadow: var(--shadow-md);
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: all var(--duration-normal) var(--ease-out);
  z-index: 90;
  cursor: pointer;
}

.back-top.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-top:hover {
  background: var(--brand-blue-light);
  transform: translateY(-3px);
}

/* ============================================================
   在线客服按钮 — 右下角品牌色圆形
   ============================================================ */
.online-service {
  position: fixed;
  bottom: 96px;
  right: 32px;
  width: 52px;
  height: 52px;
  background: var(--brand-orange);
  color: #FFFFFF;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  box-shadow: var(--shadow-md);
  z-index: 90;
  cursor: pointer;
  transition: all var(--duration-normal) var(--ease-out);
  animation: servicePulse 3s ease-in-out infinite;
}

@keyframes servicePulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(255, 95, 0, 0.3); }
  50% { box-shadow: 0 0 0 14px rgba(255, 95, 0, 0); }
}

.online-service:hover {
  transform: scale(1.1);
  box-shadow: var(--shadow-lg);
}

/* ============================================================
   动画 & 微动效
   ============================================================ */

/* 浮动动画 */
.float-element {
  animation: float 4s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

/* 闪烁星光 */
.shimmer {
  position: relative;
  overflow: hidden;
}

.shimmer::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(
    45deg,
    transparent 40%,
    rgba(255, 255, 255, 0.08) 45%,
    rgba(255, 255, 255, 0.15) 50%,
    rgba(255, 255, 255, 0.08) 55%,
    transparent 60%
  );
  animation: shimmerSlide 3s ease-in-out infinite;
}

@keyframes shimmerSlide {
  0% { transform: translateX(-100%) rotate(45deg); }
  100% { transform: translateX(100%) rotate(45deg); }
}

/* 品牌色渐变文字 */
.text-gradient {
  background: linear-gradient(135deg, var(--brand-blue), var(--brand-purple));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.text-gradient--warm {
  background: linear-gradient(135deg, var(--brand-orange), var(--brand-purple));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* 淡入上移 (AOS 补充) */
[data-aos] {
  transition-timing-function: var(--ease-out);
}

/* 滚动视差容器 */
.parallax-container {
  overflow: hidden;
  position: relative;
}

/* 银色分割线 */
.silver-divider {
  width: 60px;
  height: 3px;
  background: linear-gradient(to right, var(--silver), var(--brand-blue));
  border-radius: 2px;
  margin: 0 auto 24px;
}

/* 品牌色装饰条 */
.brand-stripe {
  width: 100%;
  height: 4px;
  background: linear-gradient(to right, var(--brand-blue), var(--brand-purple), var(--brand-orange));
}

/* 图片懒加载占位 */
img[data-src] {
  background: var(--bg-light);
  transition: opacity 0.3s ease;
}

img.loaded {
  opacity: 1;
}

/* Tab 面板 */
.tab-panel {
  display: none;
}

.tab-panel:not(.hidden) {
  display: block;
}

/* ============================================================
   响应式 — 断点 768px
   ============================================================ */
@media (max-width: 1023px) {
  :root {
    --section-py: 72px;
    --section-py-m: 48px;
    --header-h: 64px;
  }

  /* 导航隐藏 */
  .header__nav {
    display: none;
  }

  .header__actions {
    display: none;
  }

  /* header__inner 设为相对定位容器 */
  .header__inner {
    position: relative;
  }

  .hamburger {
    display: flex;
    order: -1;
    margin-right: 0;
    position: relative;
    z-index: 110;
  }

  /* 手机端 Logo 居中 */
  .header__logo {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
  }

  /* 网格改2列 */
  .list-grid--3,
  .list-grid--4,
  .masonry-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .masonry-grid__item--large,
  .masonry-grid__item--wide {
    grid-column: span 1;
  }

  .detail-layout {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .detail-gallery {
    position: static;
  }

  .about-block {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }

  .stats {
    grid-template-columns: repeat(2, 1fr);
  }

  .designer-showcase {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
  }

  .hero {
    max-height: 80vh;
    min-height: 500px;
  }

  .inner-banner {
    height: 260px;
  }

  .subscribe-card {
    padding: 40px 24px;
  }
}

@media (max-width: 767px) {
  :root {
    --section-py: 56px;
    --section-py-m: 36px;
  }

  .container {
    padding: 0 16px;
  }

  /* 网格改1列 */
  .list-grid--2,
  .list-grid--3,
  .list-grid--4,
  .masonry-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .masonry-grid__item--large,
  .masonry-grid__item--tall,
  .masonry-grid__item--wide {
    grid-column: span 1;
    grid-row: span 1;
  }

  .detail-info__params {
    grid-template-columns: 1fr;
  }

  .stats {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .designer-showcase {
    grid-template-columns: 1fr;
  }

  .footer__grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .footer__bottom-inner {
    flex-direction: column;
    text-align: center;
  }

  .hero__title {
    font-size: 1.75rem;
  }

  .hero__subtitle {
    font-size: 0.95rem;
  }

  .hero__actions {
    flex-direction: column;
    align-items: center;
  }

  .inner-banner {
    height: 200px;
  }

  .inner-banner__title {
    font-size: 1.5rem;
  }

  .subscribe-form {
    flex-direction: column;
  }

  .countdown-bar {
    gap: 16px;
  }

  .countdown-item__number {
    font-size: 1.75rem;
  }

  .back-top,
  .online-service {
    right: 16px;
  }

  /* === 移动端居中修复 === */
  .section {
    padding-left: 0;
    padding-right: 0;
  }

  /* 所有容器内容居中 */
  .container {
    margin-left: auto;
    margin-right: auto;
  }

  /* section-tag 居中 */
  .section-tag {
    margin-left: auto;
    margin-right: auto;
    display: table;
  }

  /* section-subtitle 居中 */
  .section-subtitle {
    margin-left: auto !important;
    margin-right: auto !important;
  }

  /* 首页/列表 左图右文 → 上下堆叠 */
  a.news-item {
    flex-direction: column !important;
    align-items: flex-start !important;
    padding: 16px !important;
  }
  a.news-item > div:first-child {
    width: 100% !important;
    aspect-ratio: 16/9;
  }

  /* 搜索高亮词条 */
  mark, .highlight {
    background: var(--brand-orange-dim);
    color: var(--brand-orange);
    padding: 1px 4px;
    border-radius: 2px;
  }

  /* filter-bar 水平滚动 */
  .filter-bar {
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding-bottom: 4px;
  }
  .filter-bar::-webkit-scrollbar { display: none; }
  .filter-bar a {
    flex-shrink: 0;
    white-space: nowrap;
  }

  /* header 内部居中 */
  .header__inner {
    padding: 0 16px;
  }

  /* logo 文字缩短 */
  .header__logo-sub {
    display: none;
  }

  /* 内页 banner 居中 */
  .inner-banner__content {
    text-align: center;
    padding: 0 16px;
  }

  /* 面包屑 */
  .breadcrumb {
    padding: 0 16px;
  }

  /* about-block 图片装饰隐藏 */
  .about-block__accent {
    display: none;
  }

  /* 联系表单 2列变1列 */
  .contact-grid form div[style*="repeat(2,1fr)"] {
    grid-template-columns: 1fr !important;
  }

  /* CTA 按钮全宽居中 */
  .cta-section .btn {
    width: 100%;
    max-width: 280px;
  }

  /* 产品详情 mobile fix */
  .detail-info__actions .btn {
    width: 100%;
    justify-content: center;
  }

  /* 设计师卡片居中 */
  .card--designer {
    margin: 0 auto;
    max-width: 320px;
  }

  /* 搜索表单 */
  .search-form {
    flex-direction: column;
    padding: 0 16px;
  }

  /* 订阅表单 */
  .subscribe-form {
    padding: 0;
  }

  /* 页脚 */
  .footer__grid {
    text-align: center;
  }
  .footer__social {
    justify-content: center;
  }
  .footer__brand-desc {
    margin-left: auto;
    margin-right: auto;
  }
  .footer__contact-item {
    justify-content: center;
  }
  .friend-links {
    justify-content: center;
  }

  /* Swiper 分页器 */
  .hero-pagination {
    bottom: 100px !important;
  }
}

/* July 15 ToyPlanet: mobile catalogue density; desktop preserved. */
@media(max-width:767px){
 :root{--section-py:28px;--section-py-m:28px;--header-h:60px;}
 html{scroll-padding-top:72px;}
 .hero{height:410px;min-height:0;max-height:none;}
 .hero__content{padding:80px 16px 40px;}
 .hero__title{font-size:28px;margin-bottom:12px;}
 .hero__subtitle{font-size:14px;margin-bottom:20px;}
 .hero__actions{flex-direction:row;gap:10px;}
 .hero__scroll{display:none;}
 .hero-pagination{bottom:16px!important;}
 .btn,.btn--lg{padding:10px 16px;font-size:13px;}
 .section-title{font-size:24px;line-height:1.35;}
 .section-subtitle{font-size:13px;line-height:1.65;}
 .section-tag{font-size:11px;margin-bottom:8px;}
 .section>.container>[style*="margin-bottom:48px"]{margin-bottom:20px!important;}
 .silver-divider{margin:12px auto;}
 .list-grid--2,.list-grid--3,.list-grid--4{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;}
 .category-card{padding:18px 10px;gap:8px;}
 .category-card__icon{width:40px;height:40px;font-size:20px;}
 .category-card__name{font-size:16px;}
 .category-card__count{font-size:12px;}
 .card{min-width:0;}
 .card__body{padding:12px;min-width:0;}
 .card__title{font-size:15px;line-height:1.45;display:block;-webkit-line-clamp:unset;overflow-wrap:anywhere;}
 .card__desc{font-size:12px;line-height:1.6;display:block;-webkit-line-clamp:unset;}
 .card__tag{font-size:10px;padding:3px 6px;letter-spacing:0;overflow-wrap:anywhere;}
 .card__price{font-size:18px;}
 .card__meta{font-size:11px;gap:6px;flex-wrap:wrap;}
 .card__badge{font-size:10px;padding:3px 7px;top:8px;left:8px;}
 .designer-showcase{grid-template-columns:minmax(0,1fr);gap:12px;}
 .card--designer{display:grid;grid-template-columns:80px minmax(0,1fr);max-width:none;width:100%;text-align:left;align-items:center;}
 .card--designer .card__image{width:64px;height:64px;margin:12px 0 12px 12px;}
 .card--designer .card__body{padding:12px;}
 .section>.container>[style*="margin-top:36px"]{margin-top:20px!important;}
 .countdown-bar{gap:12px;margin:20px 0;}
 .countdown-item__number{font-size:25px;}
 .section .list-grid[style*="margin-top:48px"]{margin-top:20px!important;}
 a.news-item{flex-direction:row!important;align-items:flex-start!important;padding:12px!important;gap:12px!important;}
 a.news-item>div:first-child{width:28%!important;aspect-ratio:1;}
 a.news-item h3{font-size:15px!important;line-height:1.45;}
 a.news-item p{font-size:12px!important;line-height:1.65!important;}
 .about-block{gap:20px;}
 .about-block__image img{max-height:240px;object-fit:cover;}
 .about-block__text p{font-size:14px;line-height:1.8;}
 .cta-section{padding:32px 0;}
 .cta-section__title{font-size:25px;}
 .cta-section p{font-size:14px!important;margin-bottom:20px!important;}
 .cta-section .btn{width:auto;max-width:none;}
 .inner-banner{height:auto!important;min-height:195px;padding:84px 0 24px;}
 .inner-banner__content{padding:0 16px;}
 .inner-banner__title{font-size:24px;overflow-wrap:anywhere;}
 .inner-banner__subtitle{font-size:13px;}
 .breadcrumb{flex-wrap:wrap;font-size:12px;gap:6px;}
 .filter-bar{flex-wrap:wrap;gap:6px;overflow:visible;}
 .filter-bar a{padding:8px 12px;font-size:12px;}
 .detail-layout{gap:20px;}
 .detail-layout>*{min-width:0;}
 .detail-gallery .swiper-slide img{max-height:310px;object-fit:contain;}
 .detail-info__title{font-size:23px;}
 .detail-info__params{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;}
 .detail-info__param{padding:10px;overflow-wrap:anywhere;}
 .detail-info__param-value{font-size:13px;}
 .detail-info__actions .btn{width:auto;}
 .detail-tabs{flex-wrap:wrap;}
 .detail-tabs__btn{padding:10px 12px;font-size:13px;}
 .detail-body{font-size:14px;line-height:1.85;overflow-wrap:anywhere;}
 .detail-body img{height:auto!important;max-width:100%;}
 .detail-body table{display:block;max-width:100%;overflow-x:auto;}
 .detail-body [style*="grid-template-columns"]{grid-template-columns:minmax(0,1fr)!important;}
 .contact-grid{gap:24px;}
 .contact-grid>div{min-width:0;}
 .contact-grid [style*="padding:40px"]{padding:18px!important;}
 .contact-info__item{padding:12px;margin-bottom:12px;gap:12px;}
 .contact-info__value{font-size:14px;overflow-wrap:anywhere;}
 .form-control{min-width:0;font-size:16px;}
 form [name="checkcode"]{width:110px!important;}
 form img{max-width:100px;object-fit:contain;}
 .stats{gap:14px;}
 .stat-item__number{font-size:28px;}
 .stat-item__label{font-size:12px;}
 .feature-card{padding:20px 14px;}
 .footer{padding-top:28px;}
 .footer__grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:20px 16px;text-align:left;}
 .footer__grid>div:first-child,.footer__grid>div:last-child{grid-column:1/-1;}
 .footer__brand-desc{font-size:13px;margin:12px 0;}
 .footer__social,.footer__contact-item{justify-content:flex-start;}
 .footer__col-title{margin-bottom:10px;}
 .footer__links a{padding:4px 0;font-size:13px;}
 .footer__contact-item{font-size:12px;overflow-wrap:anywhere;}
 .mobile-nav__inner{padding:20px 16px;}
 .mobile-nav__inner>a:first-of-type{padding-right:30px;}
 .mobile-nav__close{display:block!important;position:absolute;right:8px;top:12px;border:0;background:transparent;width:40px;height:40px;font-size:28px;cursor:pointer;}
 .mobile-nav__link{padding:11px 12px;}
 .online-service{right:12px;bottom:18px;width:40px;height:40px;}
 .back-top{right:12px;bottom:68px;width:36px;height:36px;}
}
@media(max-width:767px){
 [data-aos]{transform:none!important;opacity:1!important;}
}
@media(max-width:767px){
 .section--dark .card .card__title{color:var(--text-primary);}
 .section--dark .card .card__desc{color:var(--text-secondary);}
}

/* Keep mobile and landscape entrance animations inside the layout viewport. */
@media(max-width:1023px){
 [data-aos]{transform:none!important;opacity:1!important;transition:none!important;}
}
