/* ============================================
   经典版 3 — 信谊红品牌色 · 红色 Logo
   基于经典企业版，仅覆盖 CSS 变量与品牌视觉
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Libre+Bodoni:wght@700&display=swap');

.theme-classic3 {
  --color-primary: #D9232E;
  --color-primary-dark: #A91520;
  --color-primary-light: #EF4A54;
  --color-accent: #D9232E;
  --color-accent-hover: #EF555F;
  --color-accent-warm: #C4922A;
  --color-border: rgba(217, 35, 46, 0.14);
  --color-primary-rgb: 217, 35, 46;
  --color-primary-dark-rgb: 169, 21, 32;
  --color-accent-rgb: 217, 35, 46;
  --gradient-sph: linear-gradient(180deg, #EF4A54 0%, #A91520 100%);
  --gradient-sph-h: linear-gradient(135deg, #EF4A54 0%, #D9232E 48%, #A91520 100%);
  --shadow-sm: 0 2px 8px rgba(217, 35, 46, 0.07);
  --shadow-md: 0 8px 32px rgba(217, 35, 46, 0.11);
  --shadow-lg: 0 20px 60px rgba(217, 35, 46, 0.15);
}

/* ---- Logo 矢量（信谊 SINE） ---- */
.theme-classic3 .logo-svg--sine {
  height: 80px;
  width: auto;
  display: block;
}

.theme-classic3 .logo-sine-main {
  fill: #ffffff !important;
  transition: none;
}

.theme-classic3 .logo-sine-sub {
  fill: rgba(255, 255, 255, 0.82) !important;
  transition: none;
}

.theme-classic3 .site-header.on-hero .logo-sine-main {
  fill: #ffffff !important;
}

.theme-classic3 .site-header.on-hero .logo-sine-sub {
  fill: rgba(255, 255, 255, 0.82) !important;
}

.theme-classic3 .site-header.scrolled .logo-sine-main {
  fill: #ffffff !important;
}

.theme-classic3 .footer-brand .logo-svg--sine {
  height: 80px;
}

.theme-classic3 .footer-brand .logo-sine-main {
  fill: #FFFFFF;
}

.theme-classic3 .footer-brand .logo-sine-sub {
  fill: rgba(255, 255, 255, 0.82);
}

/* ---- Header 整体使用 footer 同色：所有页面 logo 统一白色 ---- */
body.theme-classic3 .site-header .logo-sine-main {
  fill: #FFFFFF;
}

body.theme-classic3 .site-header .logo-sine-sub {
  fill: rgba(255, 255, 255, 0.82);
}

body.theme-classic3 .site-header:not(.scrolled) .logo-sine-main,
body.theme-classic3 .site-header:not(.scrolled) .logo-sine-sub {
  fill: #FFFFFF;
}

/* ---- 顶栏与导航 ---- */
.theme-classic3 .site-header.scrolled {
  box-shadow: none;
}

.theme-classic3 .site-header.on-hero {
  background: var(--gradient-sph-h);
}

@media (min-width: 769px) {
  body.theme-classic3[data-page="home"] .site-header.on-hero,
  body.theme-classic3[data-page^="brand"] .site-header.on-hero,
  body.theme-classic3[data-page="social-responsibility"] .site-header.on-hero,
  body.theme-classic3[data-page="science"] .site-header.on-hero,
  body.theme-classic3[data-page="honors"] .site-header.on-hero,
  body.theme-classic3[data-page="news"] .site-header.on-hero,
  body.theme-classic3[data-page="news-detail"] .site-header.on-hero,
  body.theme-classic3[data-page="contact"] .site-header.on-hero {
    background: var(--gradient-sph-h);
    box-shadow: none;
  }
}

.theme-classic3 .nav-desktop a.nav-cta {
  background: transparent;
  box-shadow: none;
  color: #ffffff !important;
}

.theme-classic3 .nav-desktop a.nav-cta:hover {
  box-shadow: none;
  opacity: 0.85;
}

.theme-classic3 .site-header.scrolled .nav-desktop a.nav-cta {
  box-shadow: none;
}

/* ---- 按钮 ---- */
.theme-classic3 .btn-primary {
  background: var(--color-primary);
  border: 1px solid var(--color-primary);
  box-shadow: none;
}

.theme-classic3 .btn-primary:hover {
  background: var(--color-primary-dark);
  border-color: var(--color-primary-dark);
  box-shadow: none;
}

.theme-classic3 .btn-outline {
  border-color: rgba(217, 35, 46, 0.35);
  color: var(--color-primary);
}

.theme-classic3 .btn-outline:hover {
  background: rgba(217, 35, 46, 0.06);
  border-color: var(--color-primary);
}

/* ---- 章节标签与标题 ---- */
.theme-classic3 .section-label {
  color: var(--color-primary);
}

.theme-classic3 .section-label::before {
  background: var(--color-primary);
}

/* ---- 首页支柱图标（覆盖内联 SVG 色值） ---- */
.theme-classic3 .pillar-icon {
  background: linear-gradient(145deg, #FFF0F1 0%, #FFE8EA 100%);
  border-color: rgba(217, 35, 46, 0.12);
  box-shadow: 0 4px 12px rgba(217, 35, 46, 0.08);
}

.theme-classic3 .pillar-icon svg path,
.theme-classic3 .pillar-icon svg circle {
  stroke: var(--color-primary);
}

.theme-classic3 .pillar-icon svg circle[fill],
.theme-classic3 .pillar-icon svg path[fill]:not([fill="none"]) {
  fill: var(--color-primary-light);
}

/* ---- Hero ---- */
.theme-classic3 .hero-overlay {
  background: linear-gradient(
    120deg,
    rgba(80, 8, 12, 0.72) 0%,
    rgba(169, 21, 32, 0.45) 50%,
    rgba(30, 10, 12, 0.35) 100%
  );
}

.theme-classic3 .hero-dots button.active {
  background: #fff;
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.35);
}

.theme-classic3 .page-hero-overlay {
  background: linear-gradient(
    120deg,
    rgba(80, 8, 12, 0.82) 0%,
    rgba(169, 21, 32, 0.55) 55%,
    rgba(30, 10, 12, 0.4) 100%
  );
}

/* ---- 卡片与交互 ---- */
.theme-classic3 .product-card:hover,
.theme-classic3 .news-card:hover,
.theme-classic3 .pillar-card:hover,
.theme-classic3 .research-card:hover {
  border-color: rgba(217, 35, 46, 0.28);
}

.theme-classic3 .filter-btn.active {
  background: var(--color-primary);
  border-color: var(--color-primary);
  color: #fff;
}

.theme-classic3 .article-hero__overlay {
  background: linear-gradient(
    180deg,
    rgba(80, 8, 12, 0.42) 0%,
    rgba(120, 12, 18, 0.88) 100%
  );
}

.theme-classic3 .article-highlight {
  background: linear-gradient(135deg, rgba(217, 35, 46, 0.08), rgba(169, 21, 32, 0.05));
  border-left-color: var(--color-primary);
}

.theme-classic3 .article-stat {
  background: linear-gradient(145deg, rgba(217, 35, 46, 0.08), rgba(169, 21, 32, 0.04));
}

.theme-classic3 .article-stat strong {
  color: var(--color-primary);
}

.theme-classic3 .article-quote p {
  color: var(--color-primary-dark);
}

.theme-classic3 .timeline-item::before {
  background: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(217, 35, 46, 0.15);
}

.theme-classic3 .official-store-link:hover {
  border-color: rgba(217, 35, 46, 0.35);
}

/* ---- 统计数据 ---- */
.theme-classic3 .home-section-stats__value,
.theme-classic3 .stat-value {
  color: var(--color-primary);
}

/* 首页"关于我们"：取消「1916」统计卡片与「自有菌种/科学循证/全产业链」支柱卡片的边框 */
.theme-classic3 .section--home-about .home-section-stats__item,
.theme-classic3 .section--home-about .pillar-card {
  border: none;
}

.theme-classic3 .section--home-about .pillar-card:hover {
  border: none;
}

.theme-classic3 .microbe-bg {
  opacity: 0.35;
  filter: hue-rotate(320deg) saturate(1.2);
}

/* ---- 搜索 ---- */
.theme-classic3 .search-trigger {
  border-color: rgba(217, 35, 46, 0.2);
}

.theme-classic3 .search-trigger:hover {
  border-color: rgba(217, 35, 46, 0.4);
  background: rgba(217, 35, 46, 0.04);
}

.theme-classic3 .search-panel__input:focus {
  border-color: var(--color-primary-light);
  box-shadow: 0 0 0 3px rgba(217, 35, 46, 0.12);
}

.theme-classic3 .search-result.is-active,
.theme-classic3 .search-result:hover {
  background: rgba(217, 35, 46, 0.06);
}

.theme-classic3 .search-result__category {
  color: var(--color-primary);
}

/* ---- 版本栏（当前主题） ---- */
.theme-classic3 .version-bar__info strong {
  color: var(--color-primary);
}

.theme-classic3 .version-bar__tag {
  background: rgba(217, 35, 46, 0.08);
  color: var(--color-primary);
}

.theme-classic3 .version-bar__inner {
  border-color: rgba(217, 35, 46, 0.16);
}

/* ---- Mobile layout: keep the shared header and product controls inside viewport ---- */
@media (max-width: 768px) {
  body.theme-classic3 {
    --header-h: 60px;
  }

  .theme-classic3 .site-header {
    height: var(--header-h);
  }

  .theme-classic3 .header-inner {
    gap: 8px;
  }

  .theme-classic3 .header-inner .logo {
    flex: 0 1 auto;
    min-width: 0;
    overflow: hidden;
  }

  .theme-classic3 .logo-svg--sine {
    width: auto;
    max-width: min(160px, 47vw);
    height: 34px;
  }

  .theme-classic3 .site-header .logo-image--young {
    width: auto;
    max-width: min(160px, 47vw);
    height: 34px;
  }

  .theme-classic3 .header-tools {
    gap: 4px;
    margin-left: auto;
  }

  .theme-classic3 .site-search,
  .theme-classic3 .site-search-trigger {
    width: 34px;
    height: 34px;
  }

  .theme-classic3 .menu-toggle {
    width: 38px;
    height: 38px;
  }

  .theme-classic3 .nav-mobile {
    padding: max(14px, env(safe-area-inset-top)) 16px max(20px, env(safe-area-inset-bottom));
  }

  .theme-classic3 .nav-mobile > a,
  .theme-classic3 .nav-mobile .nav-mobile__group-link {
    font-size: 0.92rem;
  }

  .theme-classic3 .site-search-form {
    top: calc((var(--header-h) - 40px) / 2);
  }

  .theme-classic3 .site-search-dropdown {
    top: calc(var(--header-h) + 6px);
  }

  body.theme-classic3[data-page="products-child"] .product-channel-hero,
  body.theme-classic3[data-page="products-adult"] .product-channel-hero {
    min-height: 300px;
    padding: 44px 0;
  }

  body.theme-classic3[data-page="products-child"] .product-channel-hero h3,
  body.theme-classic3[data-page="products-adult"] .product-channel-hero h3 {
    margin: 8px 0 12px;
    font-size: clamp(2rem, 10vw, 2.7rem);
    line-height: 1.15;
  }

  body.theme-classic3[data-page="products-child"] .product-channel-hero p,
  body.theme-classic3[data-page="products-adult"] .product-channel-hero p {
    max-width: 100%;
    font-size: 0.94rem;
    line-height: 1.7;
  }

  body.theme-classic3[data-page="products-child"] .product-catalog-section,
  body.theme-classic3[data-page="products-adult"] .product-catalog-section {
    padding-top: 24px;
    margin-top: 0;
  }

  body.theme-classic3[data-page="products-child"] .product-catalog-section {
    margin-top: -72px;
  }

  body.theme-classic3[data-page="products-adult"] .product-catalog-section {
    margin-top: -72px;
  }

  body.theme-classic3[data-page="products"] .product-channel-tabs,
  body.theme-classic3[data-page="products-child"] .product-channel-tabs,
  body.theme-classic3[data-page="products-adult"] .product-channel-tabs {
    position: static;
    top: auto;
    flex-direction: row;
    gap: 8px;
    margin: 0 0 16px;
  }

  body.theme-classic3[data-page="products"] .product-channel-tabs a,
  body.theme-classic3[data-page="products-child"] .product-channel-tabs a,
  body.theme-classic3[data-page="products-adult"] .product-channel-tabs a {
    flex: 1 1 0;
    min-width: 0;
    padding: 10px 12px;
    font-size: 0.92rem;
  }

  body.theme-classic3[data-page="products-child"] .product-age-pills {
    position: static;
    top: auto;
    right: auto;
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 6px;
    width: 100%;
    margin: 0 0 24px;
    padding-top: 0 !important;
  }

  body.theme-classic3[data-page="products-child"] .product-age-pills .filter-btn {
    width: 100%;
    min-width: 0;
    padding: 9px 2px;
    font-size: 0.78rem;
    white-space: nowrap;
  }

  body.theme-classic3[data-page="products-child"] .product-age-pills .filter-btn:first-child {
    grid-column: auto;
  }

  /* 移动端仅显示汉堡按钮，桌面导航（首页、品牌介绍等）隐藏 */
  .theme-classic3 .site-header .nav-desktop {
    display: none !important;
  }

  .theme-classic3 .hospital-logos-grid,
  .theme-classic3 .hospital-logos-grid--inspections {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .theme-classic3 #hospitals .hospital-logos-grid > .hospital-logo-item:last-child:nth-child(odd),
  .theme-classic3 #partners .hospital-logos-grid > .hospital-logo-item:last-child:nth-child(odd) {
    grid-column: 1 / -1;
    width: calc((100% - 16px) / 2);
    justify-self: center;
  }

  /* Give catalog copy a stronger, centered mobile hierarchy. */
  .theme-classic3 .product-bento--catalog .product-card-body,
  .theme-classic3 .product-bento--more .product-card-body {
    left: 0;
    right: 0;
    padding: 0 24px;
    text-align: center;
  }

  .theme-classic3 .product-bento--catalog .product-card .product-card-title,
  .theme-classic3 .product-bento--more .product-card .product-card-title {
    font-size: 1.45rem;
    text-align: center;
  }

  .theme-classic3 .product-card .product-title-text {
    margin-left: 0.3em;
    font-size: 1rem;
  }

  .theme-classic3 .product-bento--catalog .product-card-body p,
  .theme-classic3 .product-bento--more .product-card-body p {
    margin-top: 6px;
    font-size: 0.95rem;
    line-height: 1.45;
    text-align: center;
  }

  .theme-classic3 .product-card-cta {
    width: min(220px, 82%);
    height: 48px;
    margin: 14px auto 0;
    font-size: 1.05rem;
    font-weight: 600;
    transform-origin: center;
  }

  /* This portrait artwork needs a top crop; center crop cuts off its branding. */
  .theme-classic3 .product-card[data-id="p1000-probiotic-nutrition-pack"] .product-card-img img {
    object-position: center top;
  }
}

@media (max-width: 360px) {
  .theme-classic3 .logo-svg--sine {
    max-width: 145px;
    height: 31px;
  }
}

/* ============================================
   产品系列页面（products / products-child / products-adult / products-all）：
   1. 分类按钮采用首页方形按钮风格，取消胶囊
   2. “更多产品”按钮并入分类按钮行，与其他按钮风格一致
   3. 产品卡片采用首页“产品家族”简洁样式（去除双层圆角金边框），3 列布局
   ============================================ */

/* 分类按钮 + 更多按钮：方形风格（与首页 filter-btn 一致） */
body.theme-classic3[data-page^="products"] .product-channel-tabs a,
body.theme-classic3[data-page^="products"] .product-channel-tabs .product-channel-more {
  min-width: auto;
  padding: 10px 22px;
  border-radius: 4px;
  border: 1px solid rgba(217, 35, 46, 0.18);
  background: #fff;
  color: #4a5662;
  font-size: 0.92rem;
  font-weight: 500;
  font-family: inherit;
  line-height: 1.4;
  text-align: center;
  cursor: pointer;
  box-shadow: none;
  transform: none;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

body.theme-classic3[data-page^="products"] .product-channel-tabs a:hover,
body.theme-classic3[data-page^="products"] .product-channel-tabs .product-channel-more:hover {
  color: var(--color-primary);
  border-color: var(--color-primary);
  background: #fff;
  box-shadow: none;
  transform: none;
}

body.theme-classic3[data-page^="products"] .product-channel-tabs a.active {
  background: var(--color-primary);
  border-color: var(--color-primary);
  color: #fff;
  box-shadow: none;
  transform: none;
  cursor: default;
}

/* “更多产品”与分类按钮相邻排列，与成人页按钮布局一致 */

body.theme-classic3[data-page^="products"] .product-channel-tabs .product-channel-more[hidden] {
  display: none;
}

/* 卡片网格：桌面 3 列（同首页产品家族） */
body.theme-classic3[data-page^="products"] .product-bento.product-bento--catalog {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

/* 卡片容器：复位 absolute 叠层，对齐首页「产品家族」左图右文白卡（无阴影） */
body.theme-classic3[data-page^="products"] .product-bento--catalog .product-card,
body.theme-classic3[data-page^="products"] .product-bento--catalog .product-card:nth-child(1),
body.theme-classic3[data-page^="products"] .product-bento--catalog .product-card:nth-child(2) {
  position: relative;
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: stretch;
  grid-column: auto !important;
  width: 100%;
  aspect-ratio: auto;
  min-height: 0;
  /* 与首页「产品家族」卡片高度一致（1440×900 下首页满屏网格行高 = 130px），产品页卡片统一等高 */
  height: 130px;
  overflow: hidden;
  border-radius: 4px;
  border: 1px solid var(--color-border);
  background: #fff;
  box-shadow: none;
  container-type: normal;
  transition: border-color 0.2s ease;
}

body.theme-classic3[data-page^="products"] .product-bento--catalog .product-card:hover {
  transform: none;
  border-color: rgba(217, 35, 46, 0.28);
  box-shadow: none;
}

/* 去除内层金色描边 */
body.theme-classic3[data-page^="products"] .product-bento--catalog .product-card::before {
  content: none;
}

/* 图片区：与首页「产品家族」一致，占卡片约 40%（比之前 46% 收窄，
   给右侧产品名称留出更宽的单行空间），白底无描边 */
body.theme-classic3[data-page^="products"] .product-bento--catalog .product-card-img,
body.theme-classic3[data-page^="products"] .product-bento--catalog .product-card:nth-child(1) .product-card-img,
body.theme-classic3[data-page^="products"] .product-bento--catalog .product-card:nth-child(2) .product-card-img {
  position: relative;
  flex: 0 0 40%;
  width: 40%;
  max-width: 40%;
  min-width: 0;
  min-height: 0;
  height: auto;
  max-height: none;
  align-self: stretch;
  top: auto;
  left: auto;
  right: auto;
  padding: clamp(6px, 1vh, 11px);
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border: 0;
  border-right: none;
  border-radius: 0;
  background: #ffffff;
}

/* 移除图片底部渐变遮罩 */
body.theme-classic3[data-page^="products"] .product-bento--catalog .product-card-img::after {
  content: none;
}

/* 图片等比 contain + 柔和投影（同首页）。
   注意：img 用 absolute 填满图片盒，避免其固有高度撑大自适应高度的卡片，
   让卡片高度由右侧文案驱动（与首页 fullpage 固定行高达到同样的视觉比例）。 */
body.theme-classic3[data-page^="products"] .product-bento--catalog .product-card-img img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  max-width: none;
  max-height: none;
  object-fit: contain;
  object-position: center;
  filter: drop-shadow(0 8px 18px rgba(0, 60, 120, 0.14));
  transform: none;
}

body.theme-classic3[data-page^="products"] .product-bento--catalog .product-card:hover .product-card-img img {
  transform: none;
}

/* 文案区：与首页「产品家族」一致，标题 + 亮点 + 规格行 + 查看详情 纵向排布 */
body.theme-classic3[data-page^="products"] .product-bento--catalog .product-card-body {
  position: relative;
  z-index: 2;
  flex: 1 1 0;
  width: 0;
  min-width: 0;
  min-height: 0;
  left: auto;
  right: auto;
  top: auto;
  bottom: auto;
  height: 100%;
  align-self: stretch;
  padding: clamp(8px, 1vh, 11px) clamp(10px, 1.2vh, 14px) clamp(6px, 0.8vh, 10px);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  gap: 6px;
  text-align: left;
  overflow: hidden;
}

body.theme-classic3[data-page^="products"] .product-bento--catalog .product-card-body h3,
body.theme-classic3[data-page^="products"] .product-bento--catalog .product-card .product-card-title {
  min-height: 0;
  margin: 0;
  color: var(--color-text);
  font-size: clamp(0.84rem, 0.98vw, 0.94rem);
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: 0;
  text-align: left;
  /* 产品名称强制单行不换行，超出用省略号截断 */
  white-space: nowrap;
  word-break: normal;
  overflow-wrap: normal;
  align-self: auto;
  display: block;
  -webkit-line-clamp: unset;
  -webkit-box-orient: unset;
  overflow: hidden;
  text-overflow: ellipsis;
}

body.theme-classic3[data-page^="products"] .product-bento--catalog .product-card .product-title-text {
  display: inline;
  margin-left: 0.3em;
  font-size: inherit;
  line-height: inherit;
  vertical-align: baseline;
  white-space: normal;
}

/* 一句话亮点：单行截断——配合固定 130px 卡片高度，保证标题+亮点+规格+按钮完整不裁剪（与首页一致） */
body.theme-classic3[data-page^="products"] .product-bento--catalog .product-card-body p:not(.product-card-spec) {
  min-height: 0;
  margin: 0;
  color: var(--color-text-muted);
  font-size: clamp(0.74rem, 0.88vw, 0.82rem);
  font-weight: 400;
  line-height: 1.4;
  text-align: left;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* 规格行（"0岁+ · 规格"）：不截断 */
body.theme-classic3[data-page^="products"] .product-bento--catalog .product-card-body .product-card-spec {
  min-height: 0;
  margin: 0;
  color: var(--color-text-muted);
  font-size: 0.72rem;
  font-weight: 400;
  line-height: 1.4;
  text-align: left;
  display: block;
  -webkit-line-clamp: unset;
  overflow: visible;
  flex-shrink: 0;
}

/* 首页"产品家族"卡片"查看详情"按钮：居中 + 采用 products.html "了解详情"红色实心按钮样式 */
body.theme-classic3 .section--home-products .product-card-meta {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  margin: auto 0 0;
  padding: 0;
  border-top: none;
  font-size: inherit;
  color: inherit;
  flex-shrink: 0;
}

body.theme-classic3 .section--home-products .product-card-meta .arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  width: auto;
  height: auto;
  margin: 0;
  padding: 6px 18px;
  border: 0;
  border-radius: 4px;
  color: #fff;
  background: var(--color-primary);
  font-size: 0.88rem;
  font-weight: 600;
  line-height: 1.4;
  white-space: nowrap;
  box-shadow: none;
  transition: background-color 0.2s ease, color 0.2s ease;
}

body.theme-classic3 .section--home-products .product-card:hover .product-card-meta .arrow,
body.theme-classic3 .section--home-products .product-card-meta .arrow:hover {
  transform: none;
  background: var(--color-primary-dark);
  color: #fff;
}

/* 产品页（products / products-child / products-adult / products-all）：
   "查看详情"按钮与首页「产品家族」同源——左对齐 + 红色实心药丸 */
body.theme-classic3[data-page^="products"] .product-bento--catalog .product-card-meta {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  width: 100%;
  margin-top: auto;
  padding: 6px 0 0;
  border-top: none;
  font-size: inherit;
  color: inherit;
  flex-shrink: 0;
}

body.theme-classic3[data-page^="products"] .product-bento--catalog .product-card-meta .arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  width: auto;
  height: auto;
  margin: 0;
  padding: 6px 18px;
  border: 0;
  border-radius: 4px;
  color: #fff;
  background: var(--color-primary);
  font-size: 0.88rem;
  font-weight: 600;
  line-height: 1.4;
  white-space: nowrap;
  box-shadow: none;
  transition: background-color 0.2s ease, color 0.2s ease;
}

body.theme-classic3[data-page^="products"] .product-bento--catalog .product-card:hover .product-card-meta .arrow,
body.theme-classic3[data-page^="products"] .product-bento--catalog .product-card-meta .arrow:hover {
  transform: none;
  background: var(--color-primary-dark);
  color: #fff;
}

/* 中屏：2 列 */
@media (max-width: 1180px) {
  body.theme-classic3[data-page^="products"] .product-bento.product-bento--catalog {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* 平板 / 移动端：单列，图片置顶全宽、文字在其下方堆叠；更多按钮不再右推 */
@media (max-width: 768px) {
  body.theme-classic3[data-page^="products"] .product-bento.product-bento--catalog {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  body.theme-classic3[data-page^="products"] .product-bento--catalog .product-card,
  body.theme-classic3[data-page^="products"] .product-bento--catalog .product-card:nth-child(1),
  body.theme-classic3[data-page^="products"] .product-bento--catalog .product-card:nth-child(2) {
    flex-direction: column;
    /* 移动端纵向卡片：恢复内容自适应高度（不再继承桌面固定 130px） */
    height: auto;
  }

  body.theme-classic3[data-page^="products"] .product-bento--catalog .product-card-img,
  body.theme-classic3[data-page^="products"] .product-bento--catalog .product-card:nth-child(1) .product-card-img,
  body.theme-classic3[data-page^="products"] .product-bento--catalog .product-card:nth-child(2) .product-card-img {
    flex: 0 0 auto;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    min-height: 170px;
    height: 170px;
    max-height: none;
    align-self: auto;
    margin: 0;
    padding: 16px;
    border-right: 0;
    border-bottom: 1px solid var(--color-border);
    border-radius: 0;
  }

  body.theme-classic3[data-page^="products"] .product-bento--catalog .product-card-body {
    left: auto;
    right: auto;
    /* 纵向卡片下取消桌面 flex:1 1 0，改按内容自适应，避免文案区塌陷 */
    flex: none;
    width: 100%;
    height: auto;
    align-self: auto;
    padding: 14px 16px 16px;
    text-align: left;
  }

  body.theme-classic3[data-page^="products"] .product-bento--catalog .product-card-body h3,
  body.theme-classic3[data-page^="products"] .product-bento--catalog .product-card-body p:not(.product-card-spec) {
    font-size: 0.92rem;
    text-align: left;
  }

  body.theme-classic3[data-page^="products"] .product-bento--catalog .product-card-body .product-card-spec {
    font-size: 0.78rem;
  }

  /* 移动端"查看详情"按钮居中，覆盖主视口左对齐 */
  body.theme-classic3[data-page^="products"] .product-bento--catalog .product-card-meta {
    justify-content: center;
    padding: 8px 0 2px;
  }

  /* 移动端分类按钮行纵向/横向排列时，更多按钮与其他按钮等宽 */
  body.theme-classic3[data-page^="products"] .product-channel-tabs .product-channel-more {
    margin-left: 0;
    flex: 1 1 0;
    min-width: 0;
  }
}

/* 隐藏年龄分类标签（0岁+、6月+、1岁+、3岁+）：顶部导航年龄子菜单 + 产品页年龄筛选按钮 */
.nav-submenu-nested { display: none !important; }
.product-age-pills  { display: none !important; }
