/* ===== Variables ===== */
:root {
  --bg-dark: #0a0a0a;
  --bg-card: #141414;
  --bg-elevated: #1a1a1a;
  --text-primary: #ffffff;
  --text-secondary: #a0a0a0;
  --text-muted: #6b6b6b;
  --accent: #c9a227;
  --accent-hover: #d4af37;
  --border: #2a2a2a;
  --radius: 8px;
  --radius-lg: 12px;
  --font: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --container: min(1200px, 100% - 2rem);
  --header-h: 64px;
  --topbar-h: 40px;
}

/* ===== Reset & Base ===== */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.5;
  color: var(--text-primary);
  background: var(--bg-dark);
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }
button { font-family: inherit; cursor: pointer; border: none; }

/* ===== Age Gate ===== */
.age-gate-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.92);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}
.age-gate-overlay.hidden { display: none; }
.age-gate-modal {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  max-width: 420px;
  width: 100%;
  text-align: center;
}
.age-gate-modal h2 { margin: 0 0 1rem; font-size: 1.5rem; }
.age-gate-modal p { margin: 0 0 0.75rem; color: var(--text-secondary); font-size: 0.95rem; }
.age-gate-modal a { color: var(--accent); text-decoration: underline; }
.age-gate-checkbox {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin: 1.25rem 0;
  cursor: pointer;
  color: var(--text-secondary);
}
.age-gate-checkbox input { width: 18px; height: 18px; accent-color: var(--accent); }
.btn-primary {
  background: var(--accent);
  color: #000;
  padding: 0.75rem 2rem;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 1rem;
  transition: background .2s;
}
.btn-primary:hover:not(:disabled) { background: var(--accent-hover); }
.btn-primary:disabled { opacity: 0.5; cursor: not-allowed; }

/* ===== Top Bar ===== */
.top-bar {
  background: var(--bg-elevated);
  border-bottom: 1px solid var(--border);
  height: var(--topbar-h);
  display: flex;
  align-items: center;
  justify-content: center;
}
.top-bar-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}
.top-bar-text { margin: 0; font-size: 0.875rem; color: var(--text-secondary); }
.top-bar-link {
  font-size: 0.875rem;
  color: var(--accent);
  font-weight: 500;
}

/* ===== Header ===== */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--bg-dark);
  border-bottom: 1px solid var(--border);
  height: var(--header-h);
}
.header-inner { position: relative; }
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}
.logo {
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: 0.05em;
}
.nav {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
/* WordPress 自定义菜单 */
.nav.stroklab-menu {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.nav.stroklab-menu li { position: relative; }
.nav.stroklab-menu li a {
  padding: 0.5rem 0.75rem;
  font-size: 0.9rem;
  color: var(--text-secondary);
  transition: color .2s;
}
.nav.stroklab-menu li a:hover { color: var(--text-primary); }
.nav.stroklab-menu .sub-menu {
  list-style: none;
  margin: 0;
  padding: 0.5rem 0;
  min-width: 160px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  position: absolute;
  top: 100%;
  left: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity .2s, visibility .2s;
  z-index: 10;
}
.nav.stroklab-menu li:hover .sub-menu { opacity: 1; visibility: visible; }
.nav.stroklab-menu .sub-menu a {
  display: block;
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
}
.nav-link {
  padding: 0.5rem 0.75rem;
  font-size: 0.9rem;
  color: var(--text-secondary);
  transition: color .2s;
}
.nav-link:hover { color: var(--text-primary); }
.nav-dropdown { position: relative; }
.nav-dropdown:hover .dropdown-menu { opacity: 1; visibility: visible; }
.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 160px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 0.5rem 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity .2s, visibility .2s;
  z-index: 10;
}
.dropdown-menu a {
  display: block;
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
  color: var(--text-secondary);
}
.dropdown-menu a:hover { color: var(--text-primary); background: var(--bg-elevated); }
.nav-region {
  margin-left: 0.5rem;
  padding: 0.25rem 0.5rem;
  font-size: 0.8rem;
  color: var(--text-muted);
  border: 1px solid var(--border);
  border-radius: 4px;
}
.mobile-menu-btn {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 0.5rem;
  background: none;
  color: var(--text-primary);
}
.mobile-menu-btn span { display: block; width: 22px; height: 2px; background: currentColor; }

/* ===== Container ===== */
.container { width: var(--container); margin: 0 auto; padding: 0 1rem; }

/* ===== Hero ===== */
.hero {
  position: relative;
  height: 70vh;
  min-height: 400px;
  max-height: 700px;
  overflow: hidden;
}
.hero-slides { position: relative; height: 100%; }
.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.6s ease;
}
.hero-slide.active { opacity: 1; z-index: 1; }
.hero-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.hero-content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 2rem var(--container);
  padding-left: calc((100% - var(--container)) / 2 + 1rem);
  padding-right: calc((100% - var(--container)) / 2 + 1rem);
  background: linear-gradient(transparent, rgba(0,0,0,.8));
  color: #fff;
}
.hero-content h1 { margin: 0 0 0.25rem; font-size: clamp(1.25rem, 3vw, 1.75rem); }
.hero-content p { margin: 0; font-size: clamp(0.9rem, 2vw, 1rem); color: rgba(255,255,255,.9); }
.hero-dots {
  position: absolute;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 0.5rem;
  z-index: 2;
}
.hero-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255,255,255,.4);
  transition: background .2s;
}
.hero-dot.active { background: var(--accent); }

/* ===== Sections ===== */
.section { padding: 4rem 0; }
.section-title {
  text-align: center;
  font-size: clamp(1.5rem, 4vw, 2rem);
  font-weight: 700;
  letter-spacing: 0.02em;
  margin: 0 0 2rem;
}

/* ===== Collections ===== */
.category-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-bottom: 3rem;
}
.category-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  text-align: center;
  transition: border-color .2s, transform .2s;
}
.category-card:hover { border-color: var(--accent); transform: translateY(-2px); }
.category-card h3 { margin: 0 0 0.5rem; font-size: 1.25rem; }
.category-card p { margin: 0; font-size: 0.9rem; color: var(--text-secondary); }

/* ===== Product Grid ===== */
.product-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}
.product-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: border-color .2s;
}
.product-card:hover { border-color: var(--accent); }
.product-link { flex: 1; padding: 1rem; display: block; color: inherit; }
.product-link:focus { outline: none; }
.product-badge {
  display: inline-block;
  background: var(--accent);
  color: #000;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.2rem 0.5rem;
  border-radius: 4px;
  margin-bottom: 0.5rem;
}
.product-card img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: var(--radius);
  margin-bottom: 0.75rem;
}
.product-card h3 { margin: 0 0 0.25rem; font-size: 1.1rem; }
.product-reviews { font-size: 0.8rem; color: var(--text-muted); margin-bottom: 0.5rem; }
.product-card .product-link p {
  font-size: 0.85rem;
  color: var(--text-secondary);
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.product-price { padding: 0 1rem; margin-bottom: 0.5rem; }
.product-price .price { font-size: 1rem; font-weight: 600; }
.product-price .price .amount { color: var(--accent); font-size: 1.25rem; }
.product-price .price del .amount { color: var(--text-muted); font-size: 0.9rem; }
.price-sale { font-size: 1.25rem; font-weight: 700; color: var(--accent); }
.price-original { font-size: 0.9rem; color: var(--text-muted); text-decoration: line-through; margin-left: 0.5rem; }
.btn-cart {
  margin: 0 1rem 1rem;
  padding: 0.65rem 1rem;
  background: var(--accent);
  color: #000;
  font-weight: 600;
  font-size: 0.9rem;
  border-radius: var(--radius);
  transition: background .2s;
}
.btn-cart:hover { background: var(--accent-hover); }

/* ===== Cum-e ===== */
.cum-e { background: var(--bg-elevated); }
.cum-e-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}
.cum-e-content h2 { margin: 0 0 0.25rem; font-size: 2rem; }
.cum-e-content h3 { margin: 0 0 1rem; font-size: 1.25rem; color: var(--accent); }
.cum-e-content p { margin: 0 0 1.5rem; color: var(--text-secondary); line-height: 1.6; }
.btn-outline {
  display: inline-block;
  padding: 0.65rem 1.5rem;
  border: 2px solid var(--accent);
  color: var(--accent);
  font-weight: 600;
  border-radius: var(--radius);
  transition: background .2s, color .2s;
}
.btn-outline:hover { background: var(--accent); color: #000; }
.cum-e-banner img { border-radius: var(--radius-lg); width: 100%; }

/* ===== Sex Guide ===== */
.guide-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 1rem;
}
.guide-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color .2s;
}
.guide-card:hover { border-color: var(--accent); }
.guide-card img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
}
.guide-card h3 {
  padding: 0.75rem 1rem;
  margin: 0;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-primary);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* ===== APP Section ===== */
.app-section { background: var(--bg-card); }
.app-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}
.app-content h2 { margin: 0 0 0.5rem; font-size: 1.75rem; }
.app-content p { margin: 0 0 0.5rem; color: var(--text-secondary); }
.app-tagline { margin: 0 0 1rem !important; font-size: 1rem; color: var(--text-primary); }
.app-download-label { margin: 0 0 0.75rem !important; font-size: 0.9rem; }
.app-buttons { display: flex; gap: 0.75rem; margin-bottom: 1rem; }
.app-store-btn {
  display: inline-block;
  padding: 0.5rem 1rem;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-size: 0.9rem;
  color: var(--text-primary);
  transition: border-color .2s;
}
.app-store-btn:hover { border-color: var(--accent); }
.app-banner img { border-radius: var(--radius-lg); width: 100%; }

/* ===== Blog ===== */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}
.blog-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: border-color .2s;
}
.blog-card:hover { border-color: var(--accent); }
.blog-card-link { display: block; color: inherit; padding: 0; }
.blog-card img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
}
.blog-views {
  display: block;
  padding: 0.5rem 1rem;
  font-size: 0.8rem;
  color: var(--text-muted);
}
.blog-card h3 {
  margin: 0 0 0.5rem;
  padding: 0 1rem;
  font-size: 1rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.blog-card p {
  margin: 0 0 1rem;
  padding: 0 1rem;
  font-size: 0.85rem;
  color: var(--text-secondary);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.section-cta { text-align: center; margin-top: 2rem; }

/* ===== 页面内容 ===== */
.page-content .page-header { margin-bottom: 1.5rem; }
.page-content .page-title { margin: 0 0 0.5rem; font-size: clamp(1.5rem, 4vw, 2rem); font-weight: 700; }
.page-content .entry-content { line-height: 1.7; color: var(--text-secondary); }
.page-content .entry-content p { margin: 0 0 1rem; }
.page-content .entry-content a { color: var(--accent); text-decoration: underline; }

/* ===== About 页面 ===== */
.page-about .entry-content img,
.page-about .entry-content svg,
.page-about .entry-content video,
.page-about .entry-content iframe {
  max-width: 400px;
  max-height: 300px;
  width: auto;
  height: auto;
  display: block;
  margin: 1.5rem auto;
  border-radius: var(--radius-lg);
}

.page-about .entry-content .wp-block-image {
  max-width: 400px;
  margin: 1.5rem auto;
}

.page-about .entry-content .wp-block-image img {
  width: 100%;
  height: auto;
}

/* Best Sellers 页 WooCommerce 产品网格 */
.page-best-sellers .best-sellers-products { margin-top: 2rem; }
.page-best-sellers .products { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; list-style: none; margin: 0; padding: 0; }
.page-best-sellers .products li.product { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius-lg); overflow: hidden; }
.page-best-sellers .products li.product a { color: var(--text-primary); }
.page-best-sellers .products li.product .price { color: var(--accent); font-weight: 600; }
.page-best-sellers .products li.product .button { background: var(--accent); color: #000; border-radius: var(--radius); font-weight: 600; }
@media (max-width: 1024px) { .page-best-sellers .products { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 768px) { .page-best-sellers .products { grid-template-columns: 1fr; } }

/* ===== Site Footer ===== */
.site-footer {
  margin-top: auto;
}

/* --- 主区域：渐变蓝背景 --- */
.footer-main {
  background: linear-gradient(135deg, #0a1628 0%, #0d2a6b 50%, #1a56c4 100%);
  padding: 3rem 0 2rem;
}

.footer-main-inner {
  display: flex;
  justify-content: space-between;
  gap: 3rem;
}

/* 左侧 */
.footer-left {
  flex: 1;
  max-width: 520px;
}

/* 社交图标 */
.footer-socials {
  display: flex;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
}

.footer-social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  color: #ffffff;
  transition: opacity 0.2s;
}

.footer-social-link:hover {
  opacity: 0.7;
}

/* 标语 */
.footer-tagline {
  margin: 0 0 0.5rem;
  font-size: 1.15rem;
  font-weight: 600;
  font-style: italic;
  color: #ffffff;
  letter-spacing: 0.01em;
}

/* 描述 */
.footer-desc {
  margin: 0 0 1.25rem;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.5;
}

/* 订阅表单 */
.footer-subscribe {
  display: flex;
  gap: 0;
  margin-bottom: 1rem;
  max-width: 420px;
}

.footer-subscribe-field {
  flex: 1;
  position: relative;
  display: flex;
  align-items: center;
}

.footer-subscribe-icon {
  position: absolute;
  left: 0.75rem;
  color: rgba(255, 255, 255, 0.5);
  pointer-events: none;
}

.footer-subscribe-field input {
  width: 100%;
  padding: 0.65rem 0.75rem 0.65rem 2.5rem;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-right: none;
  border-radius: 6px 0 0 6px;
  color: #ffffff;
  font-size: 0.875rem;
  font-family: var(--font);
  outline: none;
  transition: border-color 0.2s;
}

.footer-subscribe-field input::placeholder {
  color: rgba(255, 255, 255, 0.4);
}

.footer-subscribe-field input:focus {
  border-color: rgba(255, 255, 255, 0.5);
}

.footer-subscribe-btn {
  padding: 0.65rem 1.5rem;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.6);
  border-radius: 0 6px 6px 0;
  color: #ffffff;
  font-size: 0.875rem;
  font-weight: 500;
  font-family: var(--font);
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.2s, border-color 0.2s;
}

.footer-subscribe-btn:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: #ffffff;
}

/* 联系邮箱 */
.footer-email {
  margin: 0;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.6);
}

.footer-email a {
  color: rgba(255, 255, 255, 0.6);
  text-decoration: none;
  transition: color 0.2s;
}

.footer-email a:hover {
  color: #ffffff;
}

/* 右侧链接 */
.footer-right {
  display: flex;
  gap: 3rem;
  flex-shrink: 0;
}

.footer-links-title {
  margin: 0 0 0.75rem;
  font-size: 0.95rem;
  font-weight: 700;
  color: #ffffff;
}

.footer-links-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-links-list li {
  margin-bottom: 0.4rem;
}

.footer-links-list a {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  transition: color 0.2s;
}

.footer-links-list a:hover {
  color: #ffffff;
}

/* --- 政策链接栏 --- */
.footer-policies {
  background: linear-gradient(135deg, #08112a 0%, #0a1e52 50%, #144aaa 100%);
  padding: 1rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-policies-inner {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 2rem;
  flex-wrap: wrap;
}

.footer-policies-inner a {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.6);
  text-decoration: none;
  transition: color 0.2s;
}

.footer-policies-inner a:hover {
  color: #ffffff;
}

/* --- 版权栏 --- */
.footer-copyright {
  background: #060e22;
  padding: 0.75rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.footer-copyright-inner {
  text-align: center;
}

.footer-copyright-inner p {
  margin: 0;
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.4);
  line-height: 1.6;
}

/* --- Footer 响应式 --- */
@media (max-width: 768px) {
  .footer-main {
    padding: 2rem 0 1.5rem;
  }

  .footer-main-inner {
    flex-direction: column;
    gap: 2rem;
  }

  .footer-left {
    max-width: 100%;
  }

  .footer-subscribe {
    max-width: 100%;
  }

  .footer-right {
    gap: 2.5rem;
  }

  .footer-policies-inner {
    gap: 1rem;
  }

  .footer-policies-inner a {
    font-size: 0.78rem;
  }
}

@media (max-width: 480px) {
  .footer-right {
    flex-direction: column;
    gap: 1.5rem;
  }

  .footer-subscribe {
    flex-direction: column;
  }

  .footer-subscribe-field input {
    border-right: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 6px;
  }

  .footer-subscribe-btn {
    border-radius: 6px;
    margin-top: 0.5rem;
  }

  .footer-policies-inner {
    flex-direction: column;
    gap: 0.5rem;
    text-align: center;
  }
}

/* ===== Play Room 页面样式 ===== */
.play-room-page {
  min-height: 80vh;
  padding: 2rem 0 4rem;
}

.play-room-inner {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

/* 页面标题 */
.play-room-title {
  text-align: center;
  font-size: clamp(1.5rem, 4vw, 2rem);
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--text-primary);
  margin: 0 0 2.5rem;
}

/* 故事卡片网格 — 4 列 */
.story-grid {
  display: grid !important;
  grid-template-columns: repeat(4, 1fr) !important;
  gap: 1.75rem;
  margin-bottom: 3rem;
}

.story-card {
  background: transparent;
  overflow: visible;
}

.story-card-link {
  display: block;
  color: inherit;
  text-decoration: none;
}

.story-card-image {
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: 20px;
  overflow: hidden;
  margin-bottom: 0.75rem;
  background: var(--bg-elevated);
}

.story-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.3s ease;
}

.story-card:hover .story-card-image img {
  transform: scale(1.05);
}

/* 无图片占位 */
.story-card-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  color: var(--text-muted);
  background: var(--bg-elevated);
}

.story-card-content {
  padding: 0 0.15rem;
}

.story-card-title {
  margin: 0 0 0.35rem;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.story-card-meta {
  margin: 0;
  font-size: 0.78rem;
  color: var(--text-secondary);
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.story-card-meta .meta-divider {
  margin: 0 0.3rem;
  color: var(--text-muted);
}

/* 分页 */
.play-room-pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.5rem;
  padding-top: 1rem;
}

.pagination-arrow,
.pagination-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 32px;
  height: 32px;
  padding: 0 0.5rem;
  font-size: 0.95rem;
  color: var(--text-secondary);
  text-decoration: none;
  border-radius: 4px;
  transition: all 0.2s;
}

.pagination-arrow:hover:not(.disabled),
.pagination-number:hover:not(.active) {
  background: var(--bg-elevated);
  color: var(--text-primary);
}

.pagination-number.active {
  background: var(--accent);
  color: #000;
  font-weight: 500;
}

.pagination-arrow.disabled {
  color: var(--text-muted);
  cursor: not-allowed;
}

/* Play Room 响应式 */
@media (max-width: 1024px) {
  .story-grid {
    grid-template-columns: repeat(2, 1fr) !important;
  }
}

@media (max-width: 480px) {
  .story-grid {
    grid-template-columns: 1fr !important;
    max-width: 360px;
    margin-left: auto;
    margin-right: auto;
  }
  .story-card-image { border-radius: 14px; }
}

/* ===== Responsive ===== */
@media (max-width: 1024px) {
  .product-grid { grid-template-columns: repeat(2, 1fr); }
  .blog-grid { grid-template-columns: repeat(2, 1fr); }
  .cum-e-inner, .app-inner { grid-template-columns: 1fr; }
  .cum-e-banner, .app-banner { order: -1; }
}
@media (max-width: 768px) {
  .nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    background: var(--bg-card);
    border-bottom: 1px solid var(--border);
    padding: 1rem;
    gap: 0;
  }
  .nav.open { display: flex; }
  .nav .nav-dropdown .dropdown-menu {
    position: static;
    opacity: 1;
    visibility: visible;
    border: none;
    background: var(--bg-elevated);
    margin-top: 0.25rem;
    margin-bottom: 0.5rem;
  }
  .nav .nav-link { padding: 0.75rem; display: block; }
  .nav-region { margin: 0.5rem 0 0; }
  .mobile-menu-btn { display: flex; }
  .mobile-menu-btn.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
  .mobile-menu-btn.open span:nth-child(2) { opacity: 0; }
  .mobile-menu-btn.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }
  .mobile-menu-btn span { transition: transform .2s, opacity .2s; }
  .category-cards { grid-template-columns: 1fr; }
  .product-grid { grid-template-columns: 1fr; }
  .blog-grid { grid-template-columns: 1fr; }
  .guide-grid { grid-template-columns: repeat(2, 1fr); }
  .hero { height: 50vh; min-height: 300px; }
  .hero-content { padding: 1.5rem 1rem; }
}

/* ===== Story 单页样式 ===== */
.story-single {
  min-height: 80vh;
  padding: 2rem 0 4rem;
}

.story-article {
  max-width: 780px;
  margin: 0 auto;
  padding: 0 1rem;
}

.story-back {
  display: block;
  margin-bottom: 1.5rem;
  font-size: 0.9rem;
  color: var(--accent);
  text-decoration: none;
  text-align: center;
  transition: color 0.2s;
}

.story-back:hover {
  color: var(--accent-hover);
  text-decoration: underline;
}

.story-title {
  margin: 0 0 1rem;
  font-size: 2rem;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.3;
  text-align: center;
}

.story-meta-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.25rem;
  margin-bottom: 2rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--border);
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.story-meta-divider {
  margin: 0 0.4rem;
  color: var(--text-muted);
}

/* 正文：完全保留 WordPress 编辑器格式，居中排版 */
.story-content {
  color: var(--text-secondary);
  text-align: center;
}

/* 继承编辑器行内样式，不强制覆盖 */
.story-content p,
.story-content h1,
.story-content h2,
.story-content h3,
.story-content h4,
.story-content h5,
.story-content h6,
.story-content ul,
.story-content ol,
.story-content blockquote,
.story-content pre,
.story-content table,
.story-content figure {
  color: inherit;
}

.story-content h1,
.story-content h2,
.story-content h3,
.story-content h4 {
  color: var(--text-primary);
}

/* WordPress Block Editor 对齐支持 */
.story-content .has-text-align-center { text-align: center; }
.story-content .has-text-align-right { text-align: right; }
.story-content .has-text-align-left { text-align: left; }

/* 保留编辑器字体大小 class */
.story-content .has-small-font-size { font-size: 0.85rem; }
.story-content .has-medium-font-size { font-size: 1.15rem; }
.story-content .has-large-font-size { font-size: 1.5rem; }
.story-content .has-x-large-font-size { font-size: 2rem; }

/* 列表 */
.story-content ul, .story-content ol {
  padding-left: 1.5em;
}

/* 引用块 */
.story-content blockquote {
  border-left: 3px solid var(--accent);
  padding-left: 1rem;
  margin-left: 0;
  font-style: italic;
}

/* 分隔线 */
.story-content hr {
  border: none;
  border-top: 1px solid var(--border);
  margin: 2rem 0;
}

/* 图片块 */
.story-content .wp-block-image {
  margin: 1.5rem 0;
}

.story-content .wp-block-image img {
  border-radius: var(--radius);
}

/* 确保编辑器自带的行内样式（字体大小、颜色等）不被覆盖 */
.story-content [style] {
  color: unset;
}

.story-nav {
  display: flex;
  justify-content: space-between;
  margin-top: 3rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
}

.story-nav a {
  color: var(--accent);
  font-size: 0.95rem;
  text-decoration: none;
  transition: color 0.2s;
}

.story-nav a:hover {
  color: var(--accent-hover);
  text-decoration: underline;
}

@media (max-width: 768px) {
  .story-title { font-size: 1.5rem; }
  .story-content { font-size: 1rem; }
}

/* ===== Sex Guide 单页样式 ===== */
.sex-guide-single {
  min-height: 80vh;
  padding: 2rem 0 4rem;
}

.sex-guide-article {
  max-width: 780px;
  margin: 0 auto;
  padding: 0 1rem;
}

/* 返回链接 */
.sex-guide-back {
  display: block;
  margin-bottom: 1.5rem;
  font-size: 0.9rem;
  color: var(--accent);
  text-decoration: none;
  text-align: center;
  transition: color 0.2s;
}
.sex-guide-back:hover {
  color: var(--accent-hover);
  text-decoration: underline;
}

/* 标题 */
.sex-guide-title {
  margin: 0 0 1rem;
  font-size: 2rem;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.3;
  text-align: center;
}

/* 元信息栏 */
.sex-guide-meta-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.25rem;
  margin-bottom: 2rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--border);
  font-size: 0.9rem;
  color: var(--text-secondary);
}

/* 正文 */
.sex-guide-content {
  color: var(--text-secondary);
  line-height: 1.8;
  text-align: center;
}

.sex-guide-content p,
.sex-guide-content h1,
.sex-guide-content h2,
.sex-guide-content h3,
.sex-guide-content h4,
.sex-guide-content h5,
.sex-guide-content h6,
.sex-guide-content ul,
.sex-guide-content ol,
.sex-guide-content blockquote,
.sex-guide-content pre,
.sex-guide-content table,
.sex-guide-content figure {
  color: inherit;
}

.sex-guide-content h1,
.sex-guide-content h2,
.sex-guide-content h3,
.sex-guide-content h4 {
  color: var(--text-primary);
}

/* Block Editor 对齐支持 */
.sex-guide-content .has-text-align-center { text-align: center; }
.sex-guide-content .has-text-align-right { text-align: right; }
.sex-guide-content .has-text-align-left { text-align: left; }

/* 保留编辑器字体大小 class */
.sex-guide-content .has-small-font-size { font-size: 0.85rem; }
.sex-guide-content .has-medium-font-size { font-size: 1.15rem; }
.sex-guide-content .has-large-font-size { font-size: 1.5rem; }
.sex-guide-content .has-x-large-font-size { font-size: 2rem; }

/* 列表 */
.sex-guide-content ul, .sex-guide-content ol {
  padding-left: 1.5em;
}

/* 引用块 */
.sex-guide-content blockquote {
  border-left: 3px solid var(--accent);
  padding-left: 1rem;
  margin-left: 0;
  font-style: italic;
}

/* 分隔线 */
.sex-guide-content hr {
  border: none;
  border-top: 1px solid var(--border);
  margin: 2rem 0;
}

/* 图片块 */
.sex-guide-content .wp-block-image {
  margin: 1.5rem 0;
}
.sex-guide-content .wp-block-image img {
  border-radius: var(--radius);
}
.sex-guide-content img {
  max-width: 100%;
  height: auto;
  border-radius: var(--radius);
}

/* 保留编辑器行内样式 */
.sex-guide-content [style] {
  color: unset;
}

/* 底部导航 */
.sex-guide-nav {
  display: flex;
  justify-content: space-between;
  margin-top: 3rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
}
.sex-guide-nav a {
  color: var(--accent);
  font-size: 0.95rem;
  text-decoration: none;
  transition: color 0.2s;
}
.sex-guide-nav a:hover {
  color: var(--accent-hover);
  text-decoration: underline;
}

/* Sex Guide 列表页 */
.sex-guide-page {
  min-height: 80vh;
  padding: 2rem 0 4rem;
}

@media (max-width: 768px) {
  .sex-guide-title { font-size: 1.5rem; }
  .sex-guide-content { font-size: 1rem; }
}

/* ===== App Control 页面 ===== */
.app-control-page {
  min-height: 80vh;
  padding: 3rem 0 5rem;
  background: var(--bg-dark);
}

/* --- Download Section --- */
.ac-download {
  text-align: center;
  margin-bottom: 3rem;
}

.ac-download-title {
  font-size: 1.75rem;
  font-weight: 600;
  color: var(--text-primary);
  margin: 0 0 1.5rem;
  letter-spacing: 0.02em;
}

.ac-store-badges {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.ac-badge {
  display: inline-flex;
  align-items: center;
  height: 44px;
  flex-shrink: 0;
  transition: opacity 0.2s, transform 0.2s;
}

.ac-badge img {
  display: inline-block !important;
  height: 44px;
  width: auto;
  border-radius: 8px;
}

.ac-badge:hover {
  opacity: 0.85;
  transform: translateY(-1px);
}

/* --- Feature Cards Grid --- */
.ac-features {
  margin-bottom: 4rem;
}

.ac-features-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
}

/* 单张功能卡片：用 CSS background-image 而非 img 标签 */
.ac-feature-card {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  min-height: 340px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  display: flex;
  align-items: flex-end;
}

/* 卡片渐变背景（当无背景图或作为底层） */
.ac-card-sound  { background-color: #1a1040; }
.ac-card-video  { background-color: #0a1628; }
.ac-card-diy    { background-color: #141432; }
.ac-card-remote { background-color: #1a0a20; }

/* 半透明蒙层，用伪元素实现 */
.ac-feature-card::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0.15) 0%,
    rgba(0, 0, 0, 0.55) 100%
  );
  pointer-events: none;
}

/* 文字内容区域 */
.ac-card-inner {
  position: relative;
  z-index: 2;
  padding: 2rem;
  width: 60%;
}

.ac-card-inner.ac-inner-right {
  margin-left: auto;
  width: 55%;
  text-align: left;
}

.ac-card-text {
  margin: 0;
  font-size: 1.15rem;
  font-weight: 600;
  color: #ffffff;
  line-height: 1.6;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.6);
}

/* --- Room Chat & Control --- */
.ac-room {
  margin-bottom: 2rem;
}

.ac-room-title {
  text-align: center;
  font-family: 'Georgia', 'Times New Roman', serif;
  font-style: italic;
  font-size: clamp(1.5rem, 3.5vw, 2rem);
  font-weight: 400;
  color: var(--text-primary);
  margin: 0 0 2.5rem;
  letter-spacing: 0.02em;
}

.ac-room-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.ac-room-card {
  background: var(--bg-elevated);
  border-radius: 12px;
  overflow: hidden;
  text-align: center;
  padding-bottom: 1.5rem;
}

.ac-room-illustration {
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: #3b4fd4;
  display: flex;
  align-items: center;
  justify-content: center;
}

.ac-room-illustration img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.ac-room-card-title {
  margin: 1rem 1rem 0.5rem;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.4;
}

.ac-room-card-title span {
  font-weight: 600;
  color: var(--text-secondary);
}

.ac-room-card-desc {
  margin: 0 1rem;
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* --- App Control 响应式 --- */
@media (max-width: 768px) {
  .app-control-page {
    padding: 2rem 0 3rem;
  }

  .ac-download-title {
    font-size: 1.35rem;
  }

  .ac-badge,
  .ac-badge img {
    height: 38px;
  }

  .ac-features-grid {
    grid-template-columns: 1fr;
  }

  .ac-feature-card {
    min-height: 260px;
  }

  .ac-card-inner,
  .ac-card-inner.ac-inner-right {
    width: 70%;
    padding: 1.5rem;
  }

  .ac-card-text {
    font-size: 1rem;
  }

  .ac-room-grid {
    grid-template-columns: 1fr;
    max-width: 400px;
    margin: 0 auto;
  }

  .ac-room-title {
    font-size: 1.35rem;
  }
}

@media (max-width: 480px) {
  .ac-card-inner,
  .ac-card-inner.ac-inner-right {
    width: 100%;
    padding: 1.25rem;
  }

  .ac-store-badges {
    flex-direction: column;
    gap: 0.75rem;
    align-items: center;
  }
}

/* ===== Blog 归档页 ===== */
.blog-archive-page {
  min-height: 80vh;
  padding: 3rem 0 5rem;
}

.blog-pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.5rem;
  margin-top: 3rem;
}

.blog-pagination .pagination-arrow,
.blog-pagination .pagination-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.9rem;
  transition: all 0.2s;
}

.blog-pagination .pagination-arrow:hover,
.blog-pagination .pagination-number:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.blog-pagination .pagination-number.active {
  background: var(--accent);
  border-color: var(--accent);
  color: #000;
  font-weight: 600;
}

.blog-pagination .pagination-arrow.disabled {
  opacity: 0.3;
  pointer-events: none;
}

/* ===== Blog 单篇文章样式 ===== */
.blog-single {
  min-height: 80vh;
  padding: 2rem 0 4rem;
}

.blog-article {
  max-width: 780px;
  margin: 0 auto;
  padding: 0 1rem;
}

/* 返回链接 */
.blog-back {
  display: block;
  margin-bottom: 1.5rem;
  font-size: 0.9rem;
  color: var(--accent);
  text-decoration: none;
  text-align: center;
  transition: color 0.2s;
}
.blog-back:hover {
  color: var(--accent-hover);
  text-decoration: underline;
}

/* 标题 */
.blog-single-title {
  margin: 0 0 1rem;
  font-size: 2rem;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.3;
  text-align: center;
}

/* 元信息 */
.blog-meta-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin-bottom: 2rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--border);
  font-size: 0.9rem;
  color: var(--text-secondary);
}

/* 特色图片 */
.blog-featured-image {
  margin-bottom: 2rem;
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.blog-featured-image img {
  width: 100%;
  height: auto;
  display: block;
}

/* 正文 */
.blog-content {
  color: var(--text-secondary);
  line-height: 1.8;
}

.blog-content p,
.blog-content h1,
.blog-content h2,
.blog-content h3,
.blog-content h4,
.blog-content h5,
.blog-content h6,
.blog-content ul,
.blog-content ol,
.blog-content blockquote,
.blog-content pre,
.blog-content table,
.blog-content figure {
  color: inherit;
}

.blog-content h1,
.blog-content h2,
.blog-content h3,
.blog-content h4 {
  color: var(--text-primary);
}

.blog-content .has-text-align-center { text-align: center; }
.blog-content .has-text-align-right { text-align: right; }
.blog-content .has-text-align-left { text-align: left; }

.blog-content .has-small-font-size { font-size: 0.85rem; }
.blog-content .has-medium-font-size { font-size: 1.15rem; }
.blog-content .has-large-font-size { font-size: 1.5rem; }
.blog-content .has-x-large-font-size { font-size: 2rem; }

.blog-content ul, .blog-content ol {
  padding-left: 1.5em;
}

.blog-content blockquote {
  border-left: 3px solid var(--accent);
  margin: 1.5rem 0;
  padding: 0.75rem 1.25rem;
  font-style: italic;
  color: var(--text-muted);
}

.blog-content hr {
  border: none;
  border-top: 1px solid var(--border);
  margin: 2rem 0;
}

.blog-content .wp-block-image {
  margin: 1.5rem 0;
}
.blog-content .wp-block-image img {
  border-radius: var(--radius);
}
.blog-content img {
  max-width: 100%;
  height: auto;
}

.blog-content [style] {
  color: unset;
}

/* 底部导航 */
.blog-post-nav {
  display: flex;
  justify-content: space-between;
  margin-top: 3rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
}
.blog-post-nav a {
  color: var(--accent);
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.2s;
}
.blog-post-nav a:hover {
  color: var(--accent-hover);
}

@media (max-width: 768px) {
  .blog-single-title { font-size: 1.5rem; }
  .blog-content { font-size: 1rem; }
}

/* ===== Contact Us 页面 ===== */
.contact-page {
  min-height: 80vh;
  padding: 3rem 0 5rem;
  background: #f5f5f5;
}

.contact-inner {
  width: 100%;
  max-width: 800px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* 面包屑 */
.contact-breadcrumb {
  text-align: center;
  margin-bottom: 2.5rem;
  font-size: 0.95rem;
  color: #888;
}

.contact-breadcrumb a {
  color: #888;
  text-decoration: none;
  transition: color 0.2s;
}

.contact-breadcrumb a:hover {
  color: #333;
}

.breadcrumb-sep {
  margin: 0 0.4rem;
  color: #bbb;
}

.breadcrumb-current {
  color: #333;
  font-weight: 600;
}

/* 标题 */
.contact-title {
  text-align: center;
  margin: 0 0 0.75rem;
  font-size: clamp(1.6rem, 4vw, 2.25rem);
  font-weight: 700;
  color: #1a1a2e;
  line-height: 1.3;
}

/* 副标题 */
.contact-subtitle {
  text-align: center;
  margin: 0 auto 2.5rem;
  max-width: 600px;
  font-size: 1.05rem;
  color: #666;
  line-height: 1.7;
}

/* 表单 */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  max-width: 680px;
  margin: 0 auto;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.form-group label {
  font-size: 1rem;
  font-weight: 500;
  color: #555;
}

.form-group label .required {
  color: #d32f2f;
  margin-right: 0.15rem;
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group textarea {
  width: 100%;
  padding: 0.85rem 1rem;
  font-size: 1rem;
  font-family: var(--font);
  color: #333;
  background: #e8e8e8;
  border: 1px solid transparent;
  border-radius: 6px;
  outline: none;
  transition: border-color 0.2s, background 0.2s;
}

.form-group input[type="text"]:focus,
.form-group input[type="email"]:focus,
.form-group textarea:focus {
  border-color: #1a237e;
  background: #fff;
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

/* 文件上传 */
.upload-label {
  font-size: 1rem;
  font-weight: 500;
  color: #555;
}

.upload-zone {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 110px;
  height: 110px;
  border: 2px dashed #ccc;
  border-radius: 8px;
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s;
  background: transparent;
}

.upload-zone:hover {
  border-color: #999;
  background: rgba(0, 0, 0, 0.02);
}

.upload-icon {
  font-size: 1.75rem;
  color: #999;
  line-height: 1;
  margin-bottom: 0.3rem;
}

.upload-hint {
  font-size: 0.8rem;
  color: #999;
}

.upload-preview {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-top: 0.5rem;
}

.upload-preview-item {
  position: relative;
  width: 80px;
  height: 80px;
  border-radius: 6px;
  overflow: hidden;
  border: 1px solid #ddd;
}

.upload-preview-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.upload-preview-item .remove-file {
  position: absolute;
  top: 2px;
  right: 2px;
  width: 20px;
  height: 20px;
  background: rgba(0, 0, 0, 0.6);
  color: #fff;
  border: none;
  border-radius: 50%;
  font-size: 0.7rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  line-height: 1;
}

/* 提交按钮 */
.form-submit {
  margin-top: 0.75rem;
  text-align: center;
}

.contact-submit-btn {
  display: inline-block;
  width: 320px;
  max-width: 100%;
  padding: 0.9rem 2.5rem;
  background: #1a237e;
  color: #fff;
  font-size: 1.1rem;
  font-weight: 600;
  font-family: var(--font);
  border: none;
  border-radius: 30px;
  cursor: pointer;
  transition: background 0.2s, transform 0.1s;
}

.contact-submit-btn:hover {
  background: #0d1466;
}

.contact-submit-btn:active {
  transform: scale(0.98);
}

.contact-submit-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

/* 反馈消息 */
.contact-feedback {
  margin-top: 0.5rem;
  font-size: 1rem;
  text-align: center;
  min-height: 1.5em;
}

.contact-feedback.success {
  color: #2e7d32;
}

.contact-feedback.error {
  color: #d32f2f;
}

/* Contact 页面响应式 */
@media (max-width: 768px) {
  .contact-page {
    padding: 2rem 0 3rem;
  }

  .contact-title {
    font-size: 1.4rem;
  }

  .contact-subtitle {
    font-size: 0.95rem;
  }

  .contact-submit-btn {
    width: 100%;
  }
}

/* ===== User Agreement 页面 ===== */
.user-agreement-page {
  min-height: 80vh;
  padding: 3rem 0 5rem;
  background: #f5f5f5;
}

.user-agreement-inner {
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
  padding: 0 2rem;
  text-align: center;
}

/* User Agreement 富文本内容区 */
.ua-section-body {
  margin: 0 auto;
  max-width: 780px;
  font-size: 1rem;
  color: #666;
  line-height: 1.7;
  text-align: left;
}

.ua-section-body p {
  margin: 0 0 1rem;
}

.ua-section-body p:last-child {
  margin-bottom: 0;
}

.ua-section-body a {
  color: #1a237e;
  text-decoration: underline;
  transition: color 0.2s;
}

.ua-section-body a:hover {
  color: #0d1466;
}

.ua-section-body strong {
  color: #333;
}

/* 子标题 a. b. c. */
.ua-subsection-title {
  margin: 1.5rem 0 0.5rem;
  font-size: 1.05rem;
  font-weight: 600;
  color: #1a1a2e;
}

.ua-subsection-title:first-child {
  margin-top: 0;
}

/* 列表 */
.ua-section-body ul {
  list-style: disc;
  padding-left: 1.5em;
  margin: 0.5rem 0 1rem;
}

.ua-section-body ul li {
  margin-bottom: 0.4rem;
  color: #666;
  line-height: 1.7;
}

/* 嵌套子列表 */
.ua-section-body ul .ua-sub-list {
  list-style: circle;
  margin-top: 0.3rem;
  margin-bottom: 0.3rem;
  padding-left: 1.5em;
}

/* User Agreement 响应式 */
@media (max-width: 768px) {
  .user-agreement-page {
    padding: 2rem 0 3rem;
  }

  .user-agreement-inner {
    padding: 0 1rem;
  }

  .ua-section-body {
    font-size: 0.95rem;
  }

  .ua-subsection-title {
    font-size: 1rem;
  }
}

/* ===== Shipping 页面 ===== */
.shipping-page {
  min-height: 80vh;
  padding: 3rem 0 5rem;
  background: #f5f5f5;
}

.shipping-inner {
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
  padding: 0 2rem;
  text-align: center;
}

/* 面包屑 */
.shipping-breadcrumb {
  text-align: center;
  margin-bottom: 2.5rem;
  font-size: 1rem;
  color: #888;
}

.shipping-breadcrumb a {
  color: #888;
  text-decoration: none;
  transition: color 0.2s;
}

.shipping-breadcrumb a:hover {
  color: #333;
}

.shipping-breadcrumb .breadcrumb-current {
  color: #1a1a2e;
  font-weight: 600;
}

/* 标题 */
.shipping-title {
  text-align: center;
  margin: 0 0 0.75rem;
  font-size: clamp(1.6rem, 4vw, 2.25rem);
  font-weight: 700;
  color: #1a1a2e;
  line-height: 1.3;
}

/* 副标题 */
.shipping-subtitle {
  text-align: center;
  margin: 0 auto 3rem;
  max-width: 780px;
  font-size: 1.05rem;
  color: #666;
  line-height: 1.7;
}

/* 信息区块容器 */
.shipping-sections {
  display: flex;
  flex-direction: column;
  gap: 0;
  text-align: center;
}

/* 单个区块 */
.shipping-section {
  padding: 2rem 1.5rem;
  border-top: 1px solid #ddd;
}

.shipping-section:last-child {
  border-bottom: 1px solid #ddd;
}

/* 区块头部：图标 + 标题，居中 */
.shipping-section-header {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  margin-bottom: 0.75rem;
}

.shipping-section-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #1a237e;
  flex-shrink: 0;
}

.shipping-section-title {
  margin: 0;
  font-size: 1.25rem;
  font-weight: 700;
  color: #1a1a2e;
  line-height: 1.4;
}

/* 区块描述 */
.shipping-section-desc {
  margin: 0 auto;
  max-width: 780px;
  font-size: 1rem;
  color: #666;
  line-height: 1.7;
}

/* Shipping 页面响应式 */
@media (max-width: 768px) {
  .shipping-page {
    padding: 2rem 0 3rem;
  }

  .shipping-inner {
    padding: 0 1rem;
  }

  .shipping-title {
    font-size: 1.8rem;
  }

  .shipping-subtitle {
    font-size: 1rem;
  }

  .shipping-section {
    padding: 1.5rem 0.5rem;
  }

  .shipping-section-title {
    font-size: 1.1rem;
  }

  .shipping-section-desc {
    font-size: 0.95rem;
  }
}

/* ===== FAQ 页面 ===== */
.faq-page {
  min-height: 80vh;
  padding: 3rem 0 5rem;
  background: #f5f5f5;
}

.faq-inner {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* 面包屑 */
.faq-breadcrumb {
  margin-bottom: 2.5rem;
  font-size: 0.95rem;
  color: #888;
}

.faq-breadcrumb a {
  color: #888;
  text-decoration: none;
  transition: color 0.2s;
}

.faq-breadcrumb a:hover {
  color: #333;
}

/* 两栏布局 */
.faq-layout {
  display: flex;
  gap: 3rem;
  align-items: flex-start;
}

/* 左侧分类栏 */
.faq-sidebar {
  width: 200px;
  flex-shrink: 0;
  position: sticky;
  top: calc(var(--header-h) + 2rem);
}

.faq-categories {
  list-style: none;
  margin: 0;
  padding: 0;
}

.faq-cat-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.85rem 0;
  border-bottom: 1px solid #e5e5e5;
  cursor: pointer;
  transition: color 0.2s;
  color: #666;
}

.faq-cat-item:first-child {
  border-top: 1px solid #e5e5e5;
}

.faq-cat-item:hover {
  color: #333;
}

.faq-cat-item.active {
  color: #1a1a2e;
  font-weight: 600;
}

.faq-cat-label {
  font-size: 1rem;
  line-height: 1.4;
}

.faq-cat-arrow {
  flex-shrink: 0;
  opacity: 0.5;
  transition: opacity 0.2s;
}

.faq-cat-item.active .faq-cat-arrow {
  opacity: 1;
}

/* 右侧 FAQ 内容 */
.faq-content {
  flex: 1;
  min-width: 0;
}

/* FAQ 分组 */
.faq-group {
  display: none;
}

.faq-group.active {
  display: block;
}

/* 单个 FAQ 条目 */
.faq-item {
  border-bottom: 1px solid #e5e5e5;
}

.faq-item:first-child {
  border-top: 1px solid #e5e5e5;
}

/* 问题按钮 */
.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 1.1rem 0;
  background: none;
  border: none;
  font-size: 0.95rem;
  font-weight: 600;
  color: #1a1a2e;
  text-align: left;
  cursor: pointer;
  font-family: var(--font);
  line-height: 1.5;
  gap: 1rem;
  transition: color 0.2s;
}

.faq-question:hover {
  color: #444;
}

.faq-question span {
  flex: 1;
}

/* 展开/收起箭头 */
.faq-chevron {
  flex-shrink: 0;
  color: #999;
  transition: transform 0.3s ease, color 0.2s;
}

.faq-item.open .faq-chevron {
  transform: rotate(180deg);
  color: #666;
}

/* 答案区域 */
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.35s ease;
}

.faq-item.open .faq-answer {
  max-height: 500px;
  padding-bottom: 1.1rem;
}

.faq-answer p {
  margin: 0;
  font-size: 0.9rem;
  color: #8b6914;
  line-height: 1.7;
}

/* FAQ 响应式 */
@media (max-width: 768px) {
  .faq-page {
    padding: 2rem 0 3rem;
  }

  .faq-inner {
    padding: 0 1rem;
  }

  .faq-layout {
    flex-direction: column;
    gap: 2rem;
  }

  .faq-sidebar {
    width: 100%;
    position: static;
  }

  .faq-categories {
    display: flex;
    gap: 0;
    overflow-x: auto;
    border-bottom: 1px solid #e5e5e5;
    -webkit-overflow-scrolling: touch;
  }

  .faq-cat-item {
    border-bottom: none;
    border-top: none;
    padding: 0.75rem 1rem;
    white-space: nowrap;
    flex-shrink: 0;
    border-bottom: 2px solid transparent;
  }

  .faq-cat-item:first-child {
    border-top: none;
  }

  .faq-cat-item.active {
    border-bottom-color: #1a1a2e;
  }

  .faq-cat-arrow {
    display: none;
  }

  .faq-question {
    font-size: 0.9rem;
    padding: 1rem 0;
  }

  .faq-answer p {
    font-size: 0.85rem;
  }
}

/* ===== Return & Refund Policy 页面 ===== */
.refund-page {
  min-height: 80vh;
  padding: 3rem 0 5rem;
  background: #f5f5f5;
}

.refund-inner {
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
  padding: 0 2rem;
  text-align: center;
}

/* 面包屑 */
.refund-breadcrumb {
  text-align: center;
  margin-bottom: 2.5rem;
  font-size: 1rem;
  color: #888;
}

.refund-breadcrumb a {
  color: #888;
  text-decoration: none;
  transition: color 0.2s;
}

.refund-breadcrumb a:hover {
  color: #333;
}

.refund-breadcrumb .breadcrumb-current {
  color: #1a1a2e;
  font-weight: 600;
}

/* 标题 */
.refund-title {
  text-align: center;
  margin: 0 0 0.75rem;
  font-size: clamp(1.6rem, 4vw, 2.25rem);
  font-weight: 700;
  color: #1a1a2e;
  line-height: 1.3;
}

/* 副标题 */
.refund-subtitle {
  text-align: center;
  margin: 0 auto 3rem;
  max-width: 780px;
  font-size: 1.05rem;
  color: #666;
  line-height: 1.7;
}

/* 信息区块容器 */
.refund-sections {
  display: flex;
  flex-direction: column;
  gap: 0;
  text-align: center;
}

/* 单个区块 */
.refund-section {
  padding: 2rem 1.5rem;
  border-top: 1px solid #ddd;
}

.refund-section:last-child {
  border-bottom: 1px solid #ddd;
}

/* 区块头部：图标 + 标题，居中 */
.refund-section-header {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  margin-bottom: 0.75rem;
}

.refund-section-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #1a237e;
  flex-shrink: 0;
}

.refund-section-title {
  margin: 0;
  font-size: 1.25rem;
  font-weight: 700;
  color: #1a1a2e;
  line-height: 1.4;
}

/* 区块描述 */
.refund-section-desc {
  margin: 0 auto;
  max-width: 780px;
  font-size: 1rem;
  color: #666;
  line-height: 1.7;
}

/* Return & Refund 页面响应式 */
@media (max-width: 768px) {
  .refund-page {
    padding: 2rem 0 3rem;
  }

  .refund-inner {
    padding: 0 1rem;
  }

  .refund-title {
    font-size: 1.8rem;
  }

  .refund-subtitle {
    font-size: 1rem;
  }

  .refund-section {
    padding: 1.5rem 0.5rem;
  }

  .refund-section-title {
    font-size: 1.1rem;
  }

  .refund-section-desc {
    font-size: 0.95rem;
  }
}
