/* ============================================================
   糖贝贝童装 — 糖果色系主题 style.css
   ============================================================
   主色：米白 + 糖果粉 #F8A4B8 + 奶油黄 #FADB7F + 薄荷绿 #A8D5BA
   风格：温暖 / 童趣 / 安全 / 亲子生活杂志
   ============================================================ */

/* ---------- 主题变量 ---------- */
:root {
  --pink: #F8A4B8;
  --pink-deep: #F07997;
  --pink-soft: #FDE4EA;
  --yellow: #FADB7F;
  --yellow-deep: #F4C74F;
  --yellow-soft: #FFF3CF;
  --green: #A8D5BA;
  --green-deep: #78BC95;
  --green-soft: #E4F2E9;
  --blue: #A5C8E4;
  --blue-soft: #E3EEF8;
  --cream: #FFF9F0;
  --cream-2: #FFF4E4;
  --ink: #5B4A43;
  --ink-2: #7E6B62;
  --ink-3: #A7998F;
  --white: #FFFFFF;
  --shadow-sm: 0 4px 14px rgba(91, 74, 67, 0.08);
  --shadow-md: 0 10px 30px rgba(91, 74, 67, 0.10);
  --shadow-lg: 0 18px 44px rgba(91, 74, 67, 0.16);
  --radius-lg: 24px;
  --radius-md: 16px;
  --radius-sm: 10px;
  --font: "HarmonyOS Sans SC", "Source Han Sans SC", "Noto Sans SC", "Microsoft YaHei UI", "Microsoft YaHei", "PingFang SC", "Hiragino Sans GB", "Helvetica Neue", Arial, sans-serif;
  --font-head: "HarmonyOS Sans SC Bold", "HarmonyOS Sans SC", "Source Han Sans SC", "Noto Sans SC", "Microsoft YaHei UI", "Microsoft YaHei", "PingFang SC", "Hiragino Sans GB", sans-serif;
  --z-nav: 100;
  --z-dropdown: 110;
  --z-mobile: 200;
  --z-support: 300;
}

/* ---------- 基础 ---------- */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: hidden; }
body {
  font-family: var(--font);
  color: var(--ink);
  background: var(--cream);
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  width: 100%; max-width: 100%;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; transition: color .25s, background .25s, box-shadow .25s, transform .25s; }
ul { list-style: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
input, select, textarea { font-family: inherit; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }

h1, h2, h3, h4 { font-family: var(--font-head); font-weight: 800; line-height: 1.35; letter-spacing: .5px; }

/* 区块通用 */
.section { padding: 76px 0; }
.section--soft { background: var(--white); }
.section--cream { background: var(--cream); }
.section__head { text-align: center; margin-bottom: 44px; }
.section__tag {
  display: inline-block; padding: 6px 18px; border-radius: 999px;
  font-size: 13px; font-weight: 700; letter-spacing: 1px;
  background: var(--pink-soft); color: var(--pink-deep); margin-bottom: 14px;
}
.section__title { font-size: 34px; color: var(--ink); }
.section__title .dot { display: inline-block; width: 12px; height: 12px; border-radius: 50%; margin: 0 3px; vertical-align: 8px; animation: dotJump 1.6s infinite; }
.section__title .dot:nth-child(1) { background: var(--pink); animation-delay: 0s; }
.section__title .dot:nth-child(2) { background: var(--yellow); animation-delay: .2s; }
.section__title .dot:nth-child(3) { background: var(--green); animation-delay: .4s; }
.section__sub { color: var(--ink-2); font-size: 15px; margin-top: 8px; }

/* 按钮 */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 28px; border-radius: 999px;
  font-size: 15px; font-weight: 700; letter-spacing: .5px;
  transition: all .25s; cursor: pointer; border: 2px solid transparent;
}
.btn--pink { background: var(--pink); color: #fff; box-shadow: 0 8px 20px rgba(248,164,184,.4); }
.btn--pink:hover { background: var(--pink-deep); transform: translateY(-2px); box-shadow: 0 12px 26px rgba(248,164,184,.5); }
.btn--yellow { background: var(--yellow); color: var(--ink); }
.btn--yellow:hover { background: var(--yellow-deep); transform: translateY(-2px); }
.btn--ghost { background: transparent; border-color: rgba(255,255,255,.8); color: #fff; }
.btn--ghost:hover { background: rgba(255,255,255,.15); transform: translateY(-2px); }
.btn--outline { border-color: var(--pink); color: var(--pink-deep); }
.btn--outline:hover { background: var(--pink-soft); }

/* 动画 */
@keyframes dotJump {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-7px); }
}
@keyframes floaty {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}
@keyframes bounceIn {
  0% { transform: scale(.6); opacity: 0; }
  60% { transform: scale(1.08); }
  100% { transform: scale(1); opacity: 1; }
}
@keyframes rainbowSpin {
  0% { background-position: 0% 50%; }
  100% { background-position: 200% 50%; }
}

/* ============================================================
   头部导航（彩色渐变 → 滚动后白色毛玻璃）
   ============================================================ */
.header {
  position: fixed; top: 0; left: 0; right: 0; z-index: var(--z-nav);
  transition: all .35s ease;
  background: linear-gradient(120deg, rgba(248,164,184,.92), rgba(250,219,127,.92), rgba(168,213,186,.92));
  background-size: 200% 200%;
  animation: navGradient 12s ease infinite;
  box-shadow: 0 2px 18px rgba(91,74,67,.10);
}
@keyframes navGradient {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}
.header.is-scrolled {
  background: rgba(255,255,255,.94);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 6px 26px rgba(91,74,67,.12);
}
.header__inner {
  max-width: 1280px; margin: 0 auto; padding: 0 24px;
  display: flex; align-items: center; justify-content: space-between; height: 74px;
}
.header__logo { display: flex; align-items: center; gap: 12px; }
.header__logo-icon {
  width: 44px; height: 44px; border-radius: 50%;
  background: linear-gradient(135deg, var(--pink), var(--yellow));
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-size: 20px; box-shadow: 0 4px 12px rgba(248,164,184,.4);
  flex-shrink: 0;
}
.header__logo-name {
  font-family: var(--font-head); font-size: 22px; font-weight: 800; color: var(--ink); line-height: 1.2;
}
.header__logo-sub { font-size: 11px; color: var(--ink-2); letter-spacing: 2px; display: block; }

/* 导航 */
.header__nav { display: flex; align-items: center; gap: 6px; }
.header__nav-item { position: relative; }
.header__nav-link {
  display: inline-flex; align-items: center; gap: 5px;
  padding: 9px 16px; border-radius: 999px;
  font-size: 15px; font-weight: 700; color: var(--ink);
}
.header__nav-link:hover { color: var(--pink-deep); background: rgba(255,255,255,.65); }
.header__nav-link.active { color: var(--pink-deep); background: rgba(255,255,255,.75); }
.header__dropdown {
  position: absolute; top: calc(100% + 10px); left: 50%; transform: translateX(-50%) translateY(8px);
  min-width: 170px; background: #fff; border-radius: var(--radius-md);
  box-shadow: var(--shadow-md); padding: 10px;
  opacity: 0; visibility: hidden; transition: all .28s;
  z-index: var(--z-dropdown);
}
.header__nav-item:hover .header__dropdown { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0); }
.header__dropdown a {
  display: block; padding: 9px 14px; border-radius: var(--radius-sm);
  font-size: 14px; font-weight: 600; color: var(--ink);
}
.header__dropdown a:hover { background: var(--pink-soft); color: var(--pink-deep); }
.header__cta {
  margin-left: 10px;
  padding: 10px 22px; border-radius: 999px;
  background: linear-gradient(135deg, var(--pink), var(--pink-deep));
  color: #fff !important; font-size: 14px; font-weight: 700;
  box-shadow: 0 6px 16px rgba(248,164,184,.45);
}
.header__cta:hover { transform: translateY(-2px); box-shadow: 0 10px 22px rgba(248,164,184,.55); }

/* 汉堡菜单（独立元素，13.4） */
.hamburger { display: none; flex-direction: column; gap: 5px; width: 40px; height: 40px; align-items: center; justify-content: center; z-index: var(--z-mobile); }
.hamburger span { width: 24px; height: 3px; border-radius: 3px; background: var(--ink); transition: all .3s; }
.hamburger.is-open span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.hamburger.is-open span:nth-child(2) { opacity: 0; }
.hamburger.is-open span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* 移动端侧滑 */
.mobile-nav {
  position: fixed; top: 0; right: -320px; width: 300px; height: 100vh;
  background: #fff; z-index: var(--z-mobile);
  box-shadow: var(--shadow-lg); transition: right .35s ease;
  padding: 90px 24px 30px; overflow-y: auto;
}
.mobile-nav.is-open { right: 0; }
.mobile-nav__link {
  display: block; padding: 14px 8px; font-size: 16px; font-weight: 700; color: var(--ink);
  border-bottom: 1px dashed var(--pink-soft);
}
.mobile-nav__link:hover { color: var(--pink-deep); padding-left: 16px; }
.mobile-nav__link i { transition: transform .25s ease; }
.mobile-nav__link.is-open i { transform: rotate(180deg); }
.mobile-nav__sub { display: none; padding: 4px 0 10px 20px; }
.mobile-nav__sub a { display: block; padding: 9px 8px; font-size: 14px; color: var(--ink-2); font-weight: 600; }
.mobile-nav__sub a:hover { color: var(--pink-deep); }
.mobile-nav__overlay { position: fixed; inset: 0; background: rgba(91,74,67,.4); z-index: calc(var(--z-mobile) - 1); opacity: 0; visibility: hidden; transition: all .3s; }
.mobile-nav__overlay.is-open { opacity: 1; visibility: visible; }

/* ============================================================
   首页 Banner（全屏淡入淡出 + 彩色渐变遮罩）
   ============================================================ */
.hero { position: relative; height: 100vh; min-height: 640px; margin-top: 74px; overflow: hidden; }
.hero .swiper, .hero .swiper-wrapper, .hero .swiper-slide { height: 100%; }
.hero .swiper-slide { position: relative; overflow: hidden; background: var(--pink-soft); }
.hero-slide__bg { position: absolute; inset: 0; background-size: cover; background-position: center; transform: scale(1.06); }
.swiper-slide-active .hero-slide__bg { animation: kenburns 8s ease-out forwards; }
@keyframes kenburns { from { transform: scale(1.06); } to { transform: scale(1); } }
.hero-slide__mask { position: absolute; inset: 0; opacity: .55; }
.hero-slide__content {
  position: relative; z-index: 2; height: 100%;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center; padding: 0 20px; color: #fff;
}
.hero-slide__kicker {
  font-size: 15px; font-weight: 700; letter-spacing: 4px; margin-bottom: 18px;
  padding: 8px 20px; border-radius: 999px; background: rgba(255,255,255,.22);
  backdrop-filter: blur(4px);
}
.hero-slide__title { font-size: 58px; font-weight: 900; color: #fff; text-shadow: 0 6px 26px rgba(91,74,67,.35); line-height: 1.2; }
.hero-slide__title .jump-dot { display: inline-block; width: 16px; height: 16px; border-radius: 50%; margin: 0 6px; vertical-align: 14px; animation: dotJump 1.6s infinite; }
.hero-slide__title .jump-dot:nth-child(1) { background: #fff; }
.hero-slide__title .jump-dot:nth-child(2) { background: #fff; animation-delay: .25s; }
.hero-slide__title .jump-dot:nth-child(3) { background: #fff; animation-delay: .5s; }
.hero-slide__desc { font-size: 18px; margin-top: 16px; opacity: .96; max-width: 640px; text-shadow: 0 2px 10px rgba(91,74,67,.3); }
.hero-slide__btns { margin-top: 34px; display: flex; gap: 16px; flex-wrap: wrap; justify-content: center; }
.hero .swiper-pagination { bottom: 40px !important; }
.hero .swiper-pagination-bullet { width: 12px; height: 12px; background: #fff; opacity: .5; }
.hero .swiper-pagination-bullet-active { opacity: 1; width: 28px; border-radius: 999px; }
/* 每张轮播图对应不同糖果色渐变遮罩（随轮播切换颜色变化） */
.hero .swiper-slide:nth-child(1) .hero-slide__mask { background: linear-gradient(160deg, rgba(248,164,184,.86), rgba(250,219,127,.50)); }
.hero .swiper-slide:nth-child(2) .hero-slide__mask { background: linear-gradient(160deg, rgba(250,219,127,.86), rgba(168,213,186,.52)); }
.hero .swiper-slide:nth-child(3) .hero-slide__mask { background: linear-gradient(160deg, rgba(168,213,186,.86), rgba(165,200,228,.50)); }
.hero .swiper-slide:nth-child(4) .hero-slide__mask { background: linear-gradient(160deg, rgba(248,164,184,.86), rgba(165,200,228,.52)); }
/* 详情页轮播箭头 */
.detail__swiper { position: relative; }
.detail__swiper-arrow {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 5;
  width: 42px; height: 42px; border-radius: 50%; background: #fff; color: var(--pink-deep);
  box-shadow: var(--shadow-sm); display: flex; align-items: center; justify-content: center; font-size: 15px;
}
.detail__swiper-arrow:hover { background: var(--pink); color: #fff; }
.detail__swiper-prev { left: 12px; }
.detail__swiper-next { right: 12px; }
.detail__swiper-pagination { bottom: 14px !important; }
.detail__swiper-pagination .swiper-pagination-bullet { background: #fff; opacity: .6; }
.detail__swiper-pagination .swiper-pagination-bullet-active { background: var(--pink); opacity: 1; }

/* ============================================================
   品牌数据（数字滚动）
   ============================================================ */
.stats { position: relative; z-index: 3; margin-top: -54px; padding: 0 20px; }
.stats__inner {
  max-width: 1100px; margin: 0 auto; background: #fff;
  border-radius: var(--radius-lg); box-shadow: var(--shadow-md);
  display: grid; grid-template-columns: repeat(4, 1fr);
  padding: 38px 20px; position: relative;
}
.stats__item { text-align: center; padding: 8px 12px; }
.stats__num { font-size: 44px; font-weight: 900; font-family: var(--font-head); line-height: 1; }
.stats__num .unit { font-size: 20px; margin-left: 2px; }
.stats__num.c-pink { color: var(--pink-deep); }
.stats__num.c-yellow { color: var(--yellow-deep); }
.stats__num.c-green { color: var(--green-deep); }
.stats__num.c-blue { color: #5A97C9; }
.stats__label { margin-top: 8px; font-size: 14px; color: var(--ink-2); font-weight: 600; }
.stats__item + .stats__item { border-left: 1px dashed var(--pink-soft); }

/* ============================================================
   产品分类（彩色圆角卡片）
   ============================================================ */
.cats { display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px; }
.cat-card {
  background: #fff; border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm); position: relative; overflow: hidden; display: block;
  transition: transform .3s, box-shadow .3s;
}
.cat-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-md); }
.cat-card__img { position: relative; overflow: hidden; aspect-ratio: 1 / 1; background: var(--pink-soft); }
.cat-card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.cat-card:hover .cat-card__img img { transform: scale(1.06); }
.cat-card__badge {
  position: absolute; left: 14px; bottom: 14px;
  padding: 4px 14px; border-radius: 999px; font-size: 12px; font-weight: 700; color: #fff;
  background: linear-gradient(135deg, var(--pink), var(--pink-deep));
}
.cat-card__body { padding: 18px 16px 22px; text-align: center; }
.cat-card__name { font-size: 19px; font-weight: 800; color: var(--ink-1); }
.cat-card__link { display: inline-block; margin-top: 10px; font-size: 13px; font-weight: 700; color: var(--ink-3); }
.cat-card:hover .cat-card__link { color: var(--pink-deep); }
.cat-card:nth-child(5n+1) .cat-card__name { color: #D96A87; }
.cat-card:nth-child(5n+2) .cat-card__name { color: #C9A32C; }
.cat-card:nth-child(5n+3) .cat-card__name { color: #4E9B6D; }
.cat-card:nth-child(5n+4) .cat-card__name { color: #4E86B8; }
.cat-card:nth-child(5n+5) .cat-card__name { color: #CE7E52; }

/* ============================================================
   主推产品（错落网格：一大图 + 三小图，用 nth-child 实现）
   ============================================================ */
.featured { display: grid; grid-template-columns: repeat(12, 1fr); gap: 20px; }
.featured .p-card:nth-child(1) { grid-column: span 6; grid-row: span 2; }
.featured .p-card:nth-child(2),
.featured .p-card:nth-child(3) { grid-column: span 3; }
.featured .p-card:nth-child(4) { grid-column: span 6; }
.featured .p-card:nth-child(5),
.featured .p-card:nth-child(6),
.featured .p-card:nth-child(7),
.featured .p-card:nth-child(8) { grid-column: span 3; }
.featured .p-card:nth-child(1) { display: flex; flex-direction: column; }
.featured .p-card:nth-child(1) .p-card__img { aspect-ratio: auto; flex: 1; min-height: 0; }
.p-card {
  background: #fff; border-radius: var(--radius-lg); overflow: hidden;
  box-shadow: var(--shadow-sm); transition: transform .3s, box-shadow .3s; display: block;
}
.p-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.p-card__img { position: relative; overflow: hidden; aspect-ratio: 1 / 1; background: var(--pink-soft); }
.p-card--large .p-card__img { aspect-ratio: auto; height: 100%; min-height: 420px; }
.p-card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.p-card:hover .p-card__img img { transform: scale(1.06); }
.p-card__badge {
  position: absolute; top: 14px; left: 14px;
  padding: 4px 12px; border-radius: 999px; font-size: 12px; font-weight: 700; color: #fff;
  background: linear-gradient(135deg, var(--pink), var(--pink-deep));
}
.p-card__body { padding: 16px 18px 18px; }
.p-card__title { font-size: 16px; font-weight: 800; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.p-card__meta { margin-top: 6px; display: flex; flex-wrap: wrap; gap: 8px; }
.p-chip { font-size: 12px; font-weight: 600; color: var(--ink-2); background: var(--cream); padding: 3px 10px; border-radius: 999px; }
.featured .p-card:nth-child(1) .p-card__title { font-size: 24px; }
.featured .p-card:nth-child(1) .p-card__desc { margin-top: 10px; font-size: 14px; color: var(--ink-2); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.p-card__more { margin-top: 12px; font-size: 13px; font-weight: 700; color: var(--pink-deep); }

/* 本周主推折叠按钮（默认隐藏，仅手机端显示） */
.featured-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin: 18px auto 0;
  padding: 10px 26px;
  background: #fff;
  border: 2px solid var(--pink);
  color: var(--pink-deep);
  border-radius: 999px;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  transition: background .3s, color .3s, transform .3s;
}
.featured-toggle:hover { background: var(--pink); color: #fff; }
.featured-toggle:active { transform: scale(.97); }
.featured-toggle__icon { transition: transform .3s; }

/* 客户评价"查看其它"链接（默认隐藏，仅手机端显示） */
.reviews-more {
  display: none;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin: 16px auto 0;
  padding: 9px 24px;
  background: #fff;
  border: 2px solid var(--pink);
  color: var(--pink-deep);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition: background .3s, color .3s;
}
.reviews-more:hover { background: var(--pink); color: #fff; }

/* ============================================================
   亲子故事（三列温暖卡片）
   ============================================================ */
.story-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.story-card {
  background: #fff; border-radius: var(--radius-lg); overflow: hidden;
  box-shadow: var(--shadow-sm); transition: transform .3s, box-shadow .3s; display: block;
}
.story-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.story-card__img { aspect-ratio: 4 / 3; overflow: hidden; position: relative; background: var(--yellow-soft); }
.story-card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.story-card:hover .story-card__img img { transform: scale(1.06); }
.story-card__tag {
  position: absolute; bottom: 12px; left: 12px;
  padding: 4px 14px; border-radius: 999px; font-size: 12px; font-weight: 700; color: #fff;
  background: var(--pink);
}
.story-card:nth-child(2) .story-card__tag { background: var(--yellow-deep); }
.story-card:nth-child(3) .story-card__tag { background: var(--green-deep); }
.story-card__body { padding: 18px 20px 22px; }
.story-card__title { font-size: 17px; font-weight: 800; }
.story-card__desc { margin-top: 8px; font-size: 13px; color: var(--ink-2); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.story-card__more { display: inline-flex; align-items: center; gap: 6px; margin-top: 12px; font-size: 13px; font-weight: 700; color: var(--pink-deep); }
.story-card:hover .story-card__more { gap: 12px; }

/* ============================================================
   安全承诺（四列彩色圆形图标）
   ============================================================ */
.safety { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.safety__item { text-align: center; padding: 30px 18px; }
.safety__icon {
  width: 96px; height: 96px; margin: 0 auto 18px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 38px; color: #fff; box-shadow: 0 10px 24px rgba(91,74,67,.14);
  transition: transform .3s;
}
.safety__item:hover .safety__icon { transform: translateY(-6px) scale(1.05); }
.safety__s1 .safety__icon { background: linear-gradient(135deg, var(--pink), var(--pink-deep)); }
.safety__s2 .safety__icon { background: linear-gradient(135deg, var(--yellow), var(--yellow-deep)); }
.safety__s3 .safety__icon { background: linear-gradient(135deg, #A8D5BA, var(--green-deep)); }
.safety__s4 .safety__icon { background: linear-gradient(135deg, var(--blue), #6FA6D8); }
.safety__name { font-size: 18px; font-weight: 800; }
.safety__desc { margin-top: 6px; font-size: 13px; color: var(--ink-2); }

/* ============================================================
   育儿知识（彩色边框卡片 + 左图右文）
   ============================================================ */
.know-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.know-card {
  background: #fff; border-radius: var(--radius-lg); overflow: hidden;
  box-shadow: var(--shadow-sm); display: block; border-top: 5px solid var(--pink);
  transition: transform .3s, box-shadow .3s;
}
.know-card:nth-child(3n+2) { border-top-color: var(--yellow); }
.know-card:nth-child(3n+3) { border-top-color: var(--green); }
.know-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.know-card__img { aspect-ratio: 16 / 9; overflow: hidden; background: var(--green-soft); }
.know-card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.know-card:hover .know-card__img img { transform: scale(1.06); }
.know-card__body { padding: 18px 20px 22px; }
.know-card__date { font-size: 12px; color: var(--ink-3); font-weight: 600; }
.know-card__title { margin-top: 6px; font-size: 16px; font-weight: 800; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.know-card__desc { margin-top: 8px; font-size: 13px; color: var(--ink-2); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

/* ============================================================
   客户评价（三列卡片）
   ============================================================ */
.review-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.review-card {
  background: #fff; border-radius: var(--radius-lg); padding: 28px 26px;
  box-shadow: var(--shadow-sm); position: relative; transition: transform .3s, box-shadow .3s;
}
.review-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.review-card__quote { position: absolute; top: 20px; right: 22px; font-size: 30px; color: var(--pink-soft); }
.review-card__stars { color: var(--yellow-deep); font-size: 13px; letter-spacing: 2px; }
.review-card__text { margin-top: 12px; font-size: 14px; color: var(--ink-2); min-height: 76px; }
.review-card__user { display: flex; align-items: center; gap: 12px; margin-top: 18px; padding-top: 16px; border-top: 1px dashed var(--pink-soft); }
.review-card__avatar { width: 48px; height: 48px; border-radius: 50%; overflow: hidden; flex-shrink: 0; border: 3px solid var(--pink-soft); }
.review-card__avatar img { width: 100%; height: 100%; object-fit: cover; }
.review-card__name { font-size: 14px; font-weight: 800; }
.review-card__role { font-size: 12px; color: var(--ink-3); }
.review-card__baby { margin-left: auto; font-size: 12px; font-weight: 700; color: var(--pink-deep); background: var(--pink-soft); padding: 4px 12px; border-radius: 999px; }

/* ============================================================
   新闻资讯（纯文字列表 + 彩色圆点）
   ============================================================ */
.news-list { max-width: 980px; margin: 0 auto; background: #fff; border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); padding: 10px 26px; }
.news-item {
  display: flex; align-items: center; gap: 16px;
  padding: 18px 6px; border-bottom: 1px dashed var(--pink-soft); transition: padding-left .25s;
}
.news-item:last-child { border-bottom: none; }
.news-item:hover { padding-left: 16px; }
.news-item__dot { width: 10px; height: 10px; border-radius: 50%; flex-shrink: 0; background: var(--pink); }
.news-item:nth-child(3n+2) .news-item__dot { background: var(--yellow-deep); }
.news-item:nth-child(3n+3) .news-item__dot { background: var(--green-deep); }
.news-item__title { flex: 1; font-size: 15px; font-weight: 700; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.news-item:hover .news-item__title { color: var(--pink-deep); }
.news-item__date { font-size: 13px; color: var(--ink-3); flex-shrink: 0; }

/* ============================================================
   CTA
   ============================================================ */
.cta {
  border-radius: var(--radius-lg); overflow: hidden; position: relative;
  background: linear-gradient(120deg, var(--pink), var(--yellow), var(--green), var(--blue));
  background-size: 300% 300%; animation: navGradient 10s ease infinite;
  padding: 68px 40px; text-align: center; color: #fff;
}
.cta__title { font-size: 34px; font-weight: 900; text-shadow: 0 4px 18px rgba(91,74,67,.25); }
.cta__desc { margin-top: 10px; font-size: 16px; opacity: .95; }
.cta__btns { margin-top: 28px; display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.cta__chips { margin-top: 22px; display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.cta__chip { padding: 6px 18px; border-radius: 999px; border: 2px solid rgba(255,255,255,.7); font-size: 13px; font-weight: 700; }

/* ============================================================
   底部
   ============================================================ */
.footer { background: #fff; padding: 60px 0 0; margin-top: 20px; }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; padding-bottom: 44px; }
.footer__brand .header__logo-name { font-size: 24px; }
.footer__brand p { margin-top: 14px; font-size: 13px; color: var(--ink-2); line-height: 1.9; }
.footer__social { display: flex; gap: 10px; margin-top: 18px; }
.footer__social a {
  width: 38px; height: 38px; border-radius: 50%; display: flex; align-items: center; justify-content: center;
  color: #fff; font-size: 16px;
}
.footer__social a:nth-child(1) { background: linear-gradient(135deg, var(--green), var(--green-deep)); }
.footer__social a:nth-child(2) { background: linear-gradient(135deg, var(--pink), var(--pink-deep)); }
.footer__social a:nth-child(3) { background: linear-gradient(135deg, var(--yellow), var(--yellow-deep)); }
.footer__title { font-size: 16px; font-weight: 800; margin-bottom: 18px; position: relative; padding-bottom: 10px; }
.footer__title::after { content: ''; position: absolute; left: 0; bottom: 0; width: 26px; height: 4px; border-radius: 4px; background: linear-gradient(90deg, var(--pink), var(--yellow)); }
.footer__links a { display: block; padding: 6px 0; font-size: 14px; color: var(--ink-2); font-weight: 600; }
.footer__links a:hover { color: var(--pink-deep); padding-left: 6px; }
.footer__contact p { display: flex; align-items: flex-start; gap: 10px; font-size: 13px; color: var(--ink-2); margin-bottom: 12px; }
.footer__contact p i { color: var(--pink); margin-top: 3px; }
.footer__qrcodes { display: flex; gap: 16px; margin-top: 6px; }
.footer__qrcode { text-align: center; }
.footer__qrcode span { display: block; margin-top: 8px; font-size: 12px; color: var(--ink-2); font-weight: 600; }
.footer__partners { background: var(--cream); padding: 26px 0; border-radius: 0; }
.footer__partners h4 { text-align: center; font-size: 15px; color: var(--ink-2); margin-bottom: 18px; }
.footer__partner-list { display: flex; flex-wrap: wrap; justify-content: center; gap: 16px 34px; align-items: center; }
.footer__partner-list a { color: var(--ink-3); font-size: 14px; font-weight: 700; opacity: .8; transition: opacity .25s, color .25s; }
.footer__partner-list a:hover { opacity: 1; color: var(--pink-deep); }
.footer__bottom { text-align: center; padding: 18px 0 22px; font-size: 12px; color: var(--ink-3); border-top: 1px dashed var(--pink-soft); }
.footer__bottom a { color: var(--ink-3); }
.footer__bottom a:hover { color: var(--pink-deep); }

/* ============================================================
   在线客服（彩虹环圆形按钮）
   ============================================================ */
.support {
  position: fixed; right: 26px; bottom: 30px; z-index: var(--z-support);
}
.support__btn {
  width: 60px; height: 60px; border-radius: 50%;
  background: linear-gradient(135deg, var(--pink), var(--yellow), var(--green), var(--blue), var(--pink));
  background-size: 300% 300%; animation: rainbowSpin 6s linear infinite;
  color: #fff; font-size: 24px; display: flex; align-items: center; justify-content: center;
  box-shadow: 0 10px 28px rgba(91,74,67,.28); position: relative;
}
.support__btn::before {
  content: ''; position: absolute; inset: -7px; border-radius: 50%;
  border: 3px solid transparent;
  background: linear-gradient(135deg, var(--pink), var(--yellow), var(--green), var(--blue)) border-box;
  -webkit-mask: linear-gradient(#fff 0 0) padding-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
  animation: rainbowSpin 3s linear infinite; background-size: 300% 300%;
}
.support__panel {
  position: absolute; right: 0; bottom: 76px; width: 260px;
  background: #fff; border-radius: var(--radius-md); box-shadow: var(--shadow-lg);
  padding: 18px; opacity: 0; visibility: hidden; transform: translateY(10px); transition: all .3s;
}
.support__panel.is-open { opacity: 1; visibility: visible; transform: translateY(0); }
.support__panel h5 { font-size: 15px; margin-bottom: 8px; }
.support__panel p { font-size: 12px; color: var(--ink-2); margin-bottom: 12px; }
.support__panel .btn { width: 100%; justify-content: center; font-size: 13px; padding: 10px 16px; }

/* ============================================================
   页面通用（面包屑 / 页头）
   ============================================================ */
.page-hero {
  margin-top: 74px; padding: 54px 20px; text-align: center; color: #fff;
  background: linear-gradient(120deg, var(--pink), var(--yellow), var(--green));
  background-size: 200% 200%; animation: navGradient 12s ease infinite;
  position: relative; overflow: hidden;
}
.page-hero__title { font-size: 38px; font-weight: 900; text-shadow: 0 4px 16px rgba(91,74,67,.25); }
.page-hero__sub { margin-top: 8px; font-size: 15px; opacity: .96; }
.breadcrumb { max-width: 1200px; margin: 0 auto; padding: 18px 20px; font-size: 13px; color: var(--ink-3); display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.breadcrumb a:hover { color: var(--pink-deep); }
.breadcrumb .sep { color: var(--pink); }

/* 分类筛选 chip */
.filter-chip {
  padding: 9px 22px; border-radius: 999px; background: #fff; box-shadow: var(--shadow-sm);
  font-size: 14px; font-weight: 700; color: var(--ink-2); border: 2px solid transparent; transition: all .25s;
}
.filter-chip:hover { border-color: var(--pink); color: var(--pink-deep); transform: translateY(-2px); }

/* 分页 */
.pagination { display: flex; justify-content: center; gap: 8px; margin-top: 44px; flex-wrap: wrap; }
.pagination a, .pagination span {
  min-width: 40px; height: 40px; padding: 0 12px; border-radius: 999px;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 14px; font-weight: 700; color: var(--ink-2); background: #fff;
  box-shadow: var(--shadow-sm); transition: all .25s;
}
.pagination a:hover { background: var(--pink-soft); color: var(--pink-deep); }
.pagination .current { background: linear-gradient(135deg, var(--pink), var(--pink-deep)); color: #fff; box-shadow: 0 6px 16px rgba(248,164,184,.4); }
.no-data { text-align: center; padding: 70px 20px; color: var(--ink-3); font-size: 15px; }
.no-data i { font-size: 44px; display: block; margin-bottom: 14px; color: var(--pink-soft); }

/* ============================================================
   产品列表页
   ============================================================ */
.product-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.product-card {
  background: #fff; border-radius: var(--radius-lg); overflow: hidden;
  box-shadow: var(--shadow-sm); transition: transform .3s, box-shadow .3s; display: block; position: relative;
}
.product-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.product-card__img { aspect-ratio: 4 / 5; overflow: hidden; background: var(--pink-soft); position: relative; }
.product-card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.product-card:hover .product-card__img img { transform: scale(1.06); }
.product-card__badge { position: absolute; top: 14px; left: 14px; padding: 4px 12px; border-radius: 999px; font-size: 12px; font-weight: 700; color: #fff; background: var(--pink); }
.product-card__body { padding: 16px 18px 20px; }
.product-card__title { font-size: 16px; font-weight: 800; }
.product-card__desc { margin-top: 6px; font-size: 13px; color: var(--ink-2); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.product-card__meta { margin-top: 10px; display: flex; flex-wrap: wrap; gap: 8px; }

/* ============================================================
   产品详情页
   ============================================================ */
.detail { background: #fff; border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); overflow: hidden; }
.detail__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; padding: 44px; }
.detail__gallery .main-img { border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 4 / 5; background: var(--pink-soft); position: relative; }
.detail__gallery .main-img img { width: 100%; height: 100%; object-fit: cover; }
.detail__thumbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-top: 12px; }
.detail__thumbs img { aspect-ratio: 1; border-radius: var(--radius-sm); object-fit: cover; cursor: pointer; border: 3px solid transparent; opacity: .8; }
.detail__thumbs img.active { border-color: var(--pink); opacity: 1; }
/* 图集仅一张图时隐藏缩略图条，避免大图旁重复出现同图小图 */
.detail__thumbs:has(> img:only-child) { display: none; }
.detail__info h1 { font-size: 26px; }
.detail__sub { color: var(--ink-2); font-size: 14px; margin-top: 8px; }
.detail__ext { margin-top: 22px; display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.detail__ext-item { background: var(--cream); border-radius: var(--radius-sm); padding: 12px 16px; font-size: 14px; }
.detail__ext-item b { color: var(--ink-3); font-weight: 700; margin-right: 8px; }
.detail__tags { margin-top: 18px; display: flex; flex-wrap: wrap; gap: 8px; }
.detail__actions { margin-top: 26px; display: flex; gap: 14px; flex-wrap: wrap; }
.detail__content { padding: 0 44px 44px; }
.detail__content h2, .detail__content h3 { margin: 22px 0 10px; color: var(--ink); }
.detail__content p { color: var(--ink-2); font-size: 15px; margin-bottom: 12px; line-height: 2; }
.detail__content img { border-radius: var(--radius-md); margin: 14px 0; }
.detail__nav { display: flex; gap: 30px; padding: 20px 44px 26px; border-top: 1px dashed var(--pink-soft); font-size: 14px; }
.detail__nav a { color: var(--ink-2); font-weight: 600; }
.detail__nav a:hover { color: var(--pink-deep); }

/* ============================================================
   文章详情（故事/知识/新闻）
   ============================================================ */
.article { background: #fff; border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); padding: 44px; }
.article__title { font-size: 28px; text-align: center; }
.article__meta { text-align: center; margin-top: 14px; font-size: 13px; color: var(--ink-3); display: flex; gap: 18px; justify-content: center; flex-wrap: wrap; }
.article__cover { margin-top: 26px; border-radius: var(--radius-md); overflow: hidden; }
.article__cover img { width: 100%; max-height: 480px; object-fit: cover; }
.article__body { margin-top: 26px; }
.article__body p { color: var(--ink-2); font-size: 15px; line-height: 2; margin-bottom: 14px; }
.article__body h2, .article__body h3 { margin: 22px 0 10px; color: var(--ink); }
.article__body img { border-radius: var(--radius-md); margin: 14px 0; }
.article__body blockquote { border-left: 4px solid var(--pink); background: var(--pink-soft); padding: 14px 20px; border-radius: 0 var(--radius-sm) var(--radius-sm) 0; margin: 16px 0; color: var(--ink-2); }
.article__nav { margin-top: 34px; padding-top: 20px; border-top: 1px dashed var(--pink-soft); font-size: 14px; display: flex; flex-direction: column; gap: 8px; }
.article__nav a { color: var(--ink-2); font-weight: 600; }
.article__nav a:hover { color: var(--pink-deep); }

/* ============================================================
   关于我们
   ============================================================ */
.about-hero { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; background: #fff; border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); overflow: hidden; }
.about-hero__img { height: 100%; min-height: 380px; }
.about-hero__img img { width: 100%; height: 100%; object-fit: cover; }
.about-hero__body { padding: 40px 40px 40px 0; }
.about-hero__body h2 { font-size: 26px; }
.about-hero__body p { margin-top: 14px; color: var(--ink-2); font-size: 15px; line-height: 2; }
.about-values { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.about-value { background: #fff; border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); padding: 30px 24px; text-align: center; transition: transform .3s; }
.about-value:hover { transform: translateY(-6px); }
.about-value__icon { width: 72px; height: 72px; margin: 0 auto 16px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 28px; color: #fff; }
.about-value__name { font-size: 18px; font-weight: 800; }
.about-value__desc { margin-top: 8px; font-size: 13px; color: var(--ink-2); }
.about-content { background: #fff; border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); padding: 44px; }
.about-content p { color: var(--ink-2); font-size: 15px; line-height: 2.1; margin-bottom: 14px; }
.about-content h3 { color: var(--ink); margin: 20px 0 10px; font-size: 20px; }
.about-content img { border-radius: var(--radius-md); margin: 14px 0; }

/* ============================================================
   联系我们
   ============================================================ */
.contact-grid { display: grid; grid-template-columns: 1fr 1.3fr; gap: 30px; }
.contact-card { background: #fff; border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); padding: 34px; }
.contact-item { display: flex; align-items: flex-start; gap: 16px; padding: 18px 0; border-bottom: 1px dashed var(--pink-soft); }
.contact-item:last-child { border-bottom: none; }
.contact-item__icon { width: 48px; height: 48px; flex-shrink: 0; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 19px; color: #fff; background: linear-gradient(135deg, var(--pink), var(--pink-deep)); }
.contact-item:nth-child(2) .contact-item__icon { background: linear-gradient(135deg, var(--yellow), var(--yellow-deep)); }
.contact-item:nth-child(3) .contact-item__icon { background: linear-gradient(135deg, var(--green), var(--green-deep)); }
.contact-item:nth-child(4) .contact-item__icon { background: linear-gradient(135deg, var(--blue), #6FA6D8); }
.contact-item b { display: block; font-size: 14px; }
.contact-item span { font-size: 14px; color: var(--ink-2); }

/* ============================================================
   购物页
   ============================================================ */
.shop-tip { background: #fff; border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); padding: 30px; text-align: center; }
.shop-tip i { font-size: 44px; color: var(--pink); }
.shop-tip h3 { margin-top: 12px; font-size: 20px; }
.shop-tip p { margin-top: 8px; color: var(--ink-2); font-size: 14px; }

/* ============================================================
   搜索页
   ============================================================ */
.search-box { max-width: 640px; margin: 0 auto 44px; display: flex; gap: 10px; }
.search-box input { flex: 1; padding: 14px 22px; border-radius: 999px; border: 2px solid var(--pink-soft); background: #fff; font-size: 15px; outline: none; transition: border-color .25s; }
.search-box input:focus { border-color: var(--pink); }
.search-box button { padding: 14px 28px; border-radius: 999px; background: linear-gradient(135deg, var(--pink), var(--pink-deep)); color: #fff; font-weight: 700; font-size: 15px; }

/* ============================================================
   响应式（768px 断点）
   ============================================================ */
@media (max-width: 1024px) {
  .cats { grid-template-columns: repeat(3, 1fr); }
  .featured .p-card:nth-child(1) { grid-column: span 12; grid-row: auto; display: block; }
  .featured .p-card:nth-child(1) .p-card__img { aspect-ratio: 1 / 1; flex: none; }
  .featured .p-card:nth-child(2),
  .featured .p-card:nth-child(3),
  .featured .p-card:nth-child(4),
  .featured .p-card:nth-child(5),
  .featured .p-card:nth-child(6),
  .featured .p-card:nth-child(7),
  .featured .p-card:nth-child(8) { grid-column: span 4; }
  .product-grid { grid-template-columns: repeat(2, 1fr); }
  .safety { grid-template-columns: repeat(2, 1fr); }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .detail__grid { grid-template-columns: 1fr; padding: 26px; }
  .detail__content { padding: 0 26px 30px; }
  .detail__nav { padding: 16px 26px 22px; }
  .about-hero { grid-template-columns: 1fr; }
  .about-hero__body { padding: 30px 26px; }
}

@media (max-width: 768px) {
  .section { padding: 52px 0; }
  .section__title { font-size: 26px; }
  .header__inner { height: 64px; padding: 0 16px; }
  .hero { margin-top: 64px; height: 56vh; min-height: 360px; }
  .hero-slide__title { font-size: 34px; }
  .hero-slide__title .jump-dot { width: 10px; height: 10px; vertical-align: 8px; margin: 0 3px; }
  .hero-slide__desc { font-size: 15px; }
  .header__nav, .header__cta { display: none; }
  .hamburger { display: flex; }
  .stats { margin-top: -34px; }
  .stats__inner { grid-template-columns: repeat(2, 1fr); padding: 24px 10px; gap: 18px 0; }
  .stats__item:nth-child(3) { border-left: none; }
  .stats__item + .stats__item { border-left: none; }
  .stats__item:nth-child(odd) { border-right: 1px dashed var(--pink-soft); }
  .stats__num { font-size: 34px; }
  /* 本周主推：手机端改两列等宽卡片，文字截断 */
  .featured { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .featured .p-card { grid-row: auto; display: block; }
  .featured .p-card:nth-child(n) { grid-column: span 1; }
  .featured .p-card:nth-child(1) .p-card__img,
  .featured .p-card__img { aspect-ratio: 1 / 1; min-height: 0; }
  .featured .p-card__title,
  .featured .p-card:nth-child(1) .p-card__title { font-size: 15px; }
  .featured .p-card__body { padding: 10px 12px 12px; }
  .featured .p-card__desc,
  .featured .p-card:nth-child(1) .p-card__desc { margin-top: 6px; font-size: 12px; line-height: 1.5; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
  .featured .p-card__meta { margin-top: 6px; gap: 6px; }
  .featured .p-chip { font-size: 11px; padding: 2px 8px; }
  .featured .p-card__more { margin-top: 8px; font-size: 12px; }
  /* 本周主推：默认只显示 2 个，展开后显示全部 */
  .featured:not(.featured--open) .p-card:nth-child(n+3) { display: none; }
  .featured-toggle { display: flex; }
  /* 产品系列：手机端一行 3 个（第二行 2 个），卡片缩小 */
  .cats { grid-template-columns: repeat(3, 1fr); gap: 8px; }
  .cat-card__badge { left: 6px; bottom: 6px; padding: 2px 8px; font-size: 10px; }
  .cat-card__body { padding: 8px 4px 10px; }
  .cat-card__name { font-size: 13px; }
  .cat-card__link { margin-top: 4px; font-size: 11px; }
  .story-grid, .review-grid, .know-grid { grid-template-columns: 1fr; }
  /* 亲子故事：仅首页手机端只显示 1 个（列表页完整展示） */
  .story-grid--home .story-card:nth-child(n+2) { display: none; }
  /* 育儿知识：仅首页手机端只显示 1 个（列表页完整展示） */
  .know-grid--home .know-card:nth-child(n+2) { display: none; }
  /* 客户评价：首页手机端一行 2 个 + 查看其它入口 */
  .review-grid--home { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .review-grid--home .review-card:nth-child(n+3) { display: none; }
  .review-grid--home .review-card__text { margin-top: 8px; font-size: 13px; min-height: 0; display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; }
  .review-grid--home .review-card__user { gap: 8px; margin-top: 12px; padding-top: 12px; }
  .review-grid--home .review-card__avatar { width: 36px; height: 36px; border-width: 2px; }
  .review-grid--home .review-card__name { font-size: 13px; }
  .review-grid--home .review-card__baby { font-size: 11px; padding: 2px 8px; }
  .reviews-more { display: flex; }
  /* 安全承诺：手机端 4 个缩成一行 */
  .safety { grid-template-columns: repeat(4, 1fr); gap: 6px; }
  .safety__item { padding: 14px 2px; }
  .safety__icon { width: 42px; height: 42px; margin: 0 auto 8px; font-size: 18px; box-shadow: none; }
  .safety__name { font-size: 12px; }
  .safety__desc { margin-top: 3px; font-size: 10px; line-height: 1.4; }
  .product-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  /* 购物页热销好物：手机端只显示 2 个（产品列表页不受影响） */
  .product-grid--hot .product-card:nth-child(n+3) { display: none; }
  .product-card__title { font-size: 14px; }
  .news-list { padding: 6px 16px; }
  .news-item { gap: 10px; }
  .news-item__date { display: none; }
  .cta { padding: 46px 20px; }
  .cta__title { font-size: 26px; }
  .footer__grid { grid-template-columns: 1fr; gap: 30px; }
  /* 底部快捷导航 / 产品系列：手机端链接改为横向换行紧凑排布，不再每条占一整行 */
  .footer__title { font-size: 15px; margin-bottom: 12px; padding-bottom: 8px; }
  .footer__links a { display: inline-block; padding: 4px 0; margin: 0 16px 8px 0; font-size: 13px; }
  .footer__links a:hover { padding-left: 0; }
  .footer__partners { padding: 20px 14px; }
  .footer__partner-list { gap: 12px 22px; }
  .page-hero { padding: 40px 16px; }
  .page-hero__title { font-size: 28px; }
  /* 我们坚持的事：手机端三个缩成一行，卡片缩小 */
  .about-values { grid-template-columns: repeat(3, 1fr); gap: 8px; }
  .about-value { padding: 16px 6px; }
  .about-value__icon { width: 40px; height: 40px; margin: 0 auto 8px; font-size: 16px; }
  .about-value__name { font-size: 13px; }
  .about-value__desc { margin-top: 4px; font-size: 10px; line-height: 1.4; }
  .contact-grid { grid-template-columns: 1fr; gap: 20px; }
  /* 联系我们：手机端地址/电话等条目缩小 */
  .contact-card { padding: 22px 18px; }
  .contact-item { gap: 10px; padding: 12px 0; }
  .contact-item__icon { width: 36px; height: 36px; font-size: 15px; }
  .contact-item b { font-size: 13px; }
  .contact-item span { font-size: 13px; }
  .article { padding: 24px 18px; }
  .article__title { font-size: 22px; }
  .detail__ext { grid-template-columns: 1fr; }
  .support { right: 16px; bottom: 20px; }
  .support__btn { width: 52px; height: 52px; font-size: 20px; }
}

/* ============================================================
   移动端加固（13.17）：
   - 任何浏览器下禁止 html/body 横向滚动，杜绝"整体偏左"（离屏
     fixed 抽屉 right:-320px 在 iOS 等 WebKit 会撑出横向滚动区）
   - 超窄屏（≤380px）排版微调，避免局促
   全部只作用于 ≤768px，桌面 PC 布局完全不变
   ============================================================ */
@media (max-width: 768px) {
  html, body { width: 100%; max-width: 100%; overflow-x: hidden; }
  /* 离屏固定元素（侧滑抽屉/客服按钮）不得产生横向滚动 */
  .mobile-nav, .mobile-nav__overlay, .support, .support__panel { overflow-x: hidden; }
  /* 主体容器兜底：任何子元素超出视口时同样被裁剪而非撑宽页面 */
  .header__inner, .hero, .section, .page-hero,
  .footer__grid, .footer__partners, .footer__bottom,
  .detail__grid, .detail__content, .article, .news-list,
  .contact-grid, .cta { overflow-x: hidden; }
}

/* 超窄屏（≤380px）排版微调 */
@media (max-width: 380px) {
  .container { padding-left: 14px; padding-right: 14px; }
  .header__inner { padding-left: 12px; padding-right: 12px; }
  .hero-slide__content { padding: 0 14px; }
  .hero-slide__title { font-size: 30px; }
  .hero-slide__desc { font-size: 14px; }
  .hero-slide__btns { gap: 10px; }
  .section { padding: 44px 0; }
  .section__title { font-size: 23px; }
  .stats__num { font-size: 30px; }
  .support { right: 12px; bottom: 16px; }
}

/* 无障碍：尊重减少动态偏好 */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}
