/* =========================================================
   WellSun 惠尔森 — 公共样式表 common.css
   参考 Blue Buffalo 视觉风格：深蓝主色 + 自然米色背景
   ========================================================= */

/* ===== 基础变量 ===== */
:root {
  --blue: #0b308e;
  --blue-600: #1f4e8c;
  --blue-500: #2f6fc4;
  --blue-light: #e8f0fa;
  --yellow-light: #e8faf6;
  --beige: #eef4fb;
  --beige-2: #dce8f8;
  --green: #4f8a3d;
  --text: #2b2b2b;
  --muted: #6b6b6b;
  --white: #ffffff;
  --line: #e3e9f2;
  --radius: 14px;
  --radius-sm: 8px;
  --btn-radius: 6px;
  --shadow: 0 1px 3px rgba(0, 0, 0, .06);
  --shadow-hover: 0 2px 8px rgba(0, 0, 0, .1);
  --container: 1200px;
  --header-h: 116px;
  --ease: cubic-bezier(.22, .61, .36, 1);
  --font-title: "SimSun", "Songti SC", "STSong", serif;          /* 大标题：宋体 */
  --font-sub: "Microsoft YaHei", "PingFang SC", "Hiragino Sans GB", sans-serif; /* 小标题：微软雅黑 */
}

/* ===== 重置 ===== */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: hidden; }
body {
  font-family: "Segoe UI", "PingFang SC", "Microsoft YaHei", system-ui, -apple-system, Helvetica, Arial, sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.6;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }

/* ===== 布局容器 ===== */
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 20px; }
.section { padding: 80px 0; }
.crumbs + .section { padding-top: 34px; }
.section--beige { background: var(--beige); }
#products-entry { background: #fff; }   /* 产品中心整体背景白色，卡片为浅蓝 */
.section--blue { background: var(--blue); color: #fff; }

/* ===== 文字工具 ===== */
.eyebrow {
  display: inline-block;
  font-size: 13px; letter-spacing: 2px; text-transform: uppercase;
  color: var(--blue-500); font-weight: 700; margin-bottom: 12px; font-family: var(--font-sub);
}
.section--blue .eyebrow { color: #9ec3f2; }
h1, h2, h3, h4, h5, h6 { line-height: 1.2; font-weight: 800; letter-spacing: .2px; font-family: var(--font-title); }
.section-title { font-size: 34px; margin-bottom: 16px; font-family: var(--font-title); }
.section-sub { color: var(--muted); max-width: 640px; margin: 0 auto 40px; font-size: 16px; }
.section--blue .section-sub { color: #cdddf2; }
.text-center { text-align: center; }

/* ===== 按钮 ===== */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 13px 26px; border-radius: var(--btn-radius); font-weight: 700; font-size: 15px;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s, color .25s;
  white-space: nowrap;
}
.btn-primary { background: var(--blue); color: #fff; }
.btn-primary:hover { background: var(--blue-600); transform: translateY(-1px); box-shadow: 0 4px 14px rgba(23,58,107,.25); }
.btn-outline { border: 1px solid var(--blue); color: var(--blue); }
.btn-outline:hover { background: var(--blue); color: #fff; transform: translateY(-1px); }
.btn-light { background: #fff; color: var(--blue); }
.btn-light:hover { transform: translateY(-1px); box-shadow: 0 4px 12px rgba(0,0,0,.1); }
.btn-ghost { border: 2px solid rgba(255,255,255,.6); color: #fff; }
.btn-ghost:hover { background: #fff; color: var(--blue); }
.btn-link { color: var(--blue-500); font-weight: 700; font-size: 14px; display: inline-flex; align-items: center; gap: 6px; }
.btn-link:hover { color: var(--blue); }
.btn-link .ico { width: 16px; height: 16px; stroke-width: 1.5; }

/* ===== 顶部促销条 ===== */
.topbar {
  background: var(--blue); color: #dfe9f7; font-size: 13px;
  text-align: center; padding: 8px 16px; letter-spacing: .3px;
}
.topbar a { color: #fff; text-decoration: underline; text-underline-offset: 3px; }

/* ===== 头部导航 ===== */
#site-header { position: sticky; top: 0; z-index: 100; background: #fff;
  border-bottom: 1px solid var(--line); box-shadow: 0 2px 14px rgba(20,40,80,.06); }
.navbar { display: flex; align-items: center; gap: 24px; min-height: 72px; }
.brand { position: relative; z-index: 10; display: flex; align-items: center; font-weight: 800; font-size: 22px; color: var(--blue); }
.brand .logo-mark {
  display: block;
  width: 200px; 
}

.nav-menu { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.nav-drawer { display: contents; }
.nav-backdrop { display: none; }
.nav-item { position: relative; }
.nav-link {
  display: flex; align-items: center; gap: 6px; padding: 10px 14px; border-radius: 8px;
  font-weight: 600; font-size: 15px; color: var(--text); transition: background .2s, color .2s;
}
.nav-link:hover, .nav-item.open > .nav-link { background: var(--blue-light); color: var(--blue); }
.nav-item.has-drop > .nav-link::after {
  content: "";
  display: inline-block; width: 6px; height: 6px;
  border-right: 1.5px solid var(--muted);
  border-bottom: 1.5px solid var(--muted);
  transform: rotate(45deg); margin-left: 3px; margin-bottom: 1px;
  transition: transform .25s var(--ease), border-color .25s;
}
.nav-item.has-drop > .nav-link:hover::after,
.nav-item.open > .nav-link::after { border-color: var(--blue); }
.nav-item.open > .nav-link::after { transform: rotate(-135deg); margin-bottom: 0; }

/* 下拉面板 */
.dropdown {
  position: absolute; top: calc(100% + 8px); left: 0; min-width: 220px;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm);
  box-shadow: var(--shadow); padding: 8px; opacity: 0; visibility: hidden;
  transform: translateY(8px); transition: all .22s var(--ease); z-index: 50;
}
.nav-item.has-drop:hover .dropdown,
.nav-item.open .dropdown { opacity: 1; visibility: visible; transform: translateY(0); }
.dropdown a { display: block; padding: 9px 14px; border-radius: 6px; font-size: 14px; color: var(--text); }
.dropdown a:hover { background: var(--blue-light); color: var(--blue); }
.dropdown .dd-title { font-size: 12px; letter-spacing: 1px; color: var(--muted); padding: 8px 14px 4px; text-transform: uppercase; }

/* 大型 Mega Menu（参考 Blue Buffalo） */
.dropdown.mega { display: flex; width: auto; padding: 0; overflow: hidden; white-space: nowrap; }
.mega-feature { flex: 1; padding: 26px; color: #fff; display: flex; flex-direction: column; gap: 8px; justify-content: center; min-width: max-content; }
.mega-feature img { width: auto; height: 80px; object-fit: contain; flex: none; }
.mega-feature .ico { font-size: 36px; }
.mega-feature h4 { color: #fff; font-size: 19px; white-space: nowrap; }
.mega-feature p { font-size: 13px; opacity: .92; line-height: 1.5; white-space: nowrap; }
.mega-feature .btn { align-self: flex-start; margin-top: 8px; }
.mega-links { flex: 1; padding: 16px; background: #fff; min-width: max-content; }
.mega-links a { font-weight: 600; }

/* 右侧图标 */
.nav-tools { display: flex; align-items: center; gap: 6px; margin-left: 8px; }
.icon-btn {
  width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center;
  background: var(--blue); color: #fff; transition: background .2s, transform .2s;
}
.icon-btn:hover { background: var(--blue-500); transform: translateY(-1px); }
.icon-btn .ico { width: 22px; height: 22px; }
.lang-btn { font-size: 13px; font-weight: 600; text-decoration: none; }
.lang-btn.active { background: #fff; color: var(--blue); }

/* 移动端汉堡 */
.hamburger { display: none; width: 42px; height: 42px; border-radius: 50%; place-items: center; background: var(--blue); color: #fff; transition: background .2s, transform .2s; }
.hamburger:hover { background: var(--blue-500); }
.hamburger .ico { width: 22px; height: 22px; }

/* ===== 搜索 / 定位 弹窗 ===== */
.modal-overlay {
  position: fixed; inset: 0; background: rgba(10,22,40,.55);
  display: grid; place-items: start center; padding-top: 12vh; z-index: 200;
  opacity: 0; visibility: hidden; pointer-events: none;
  transition: opacity .25s, visibility .25s;
  backdrop-filter: none; -webkit-backdrop-filter: none;
}
.modal-overlay.show { opacity: 1; visibility: visible; pointer-events: auto; backdrop-filter: blur(3px); -webkit-backdrop-filter: blur(3px); }
.modal {
  background: #fff; border-radius: var(--radius); width: min(560px, 92vw);
  padding: 28px; box-shadow: 0 8px 24px rgba(0,0,0,.2); transform: translateY(-12px);
  transition: transform .25s var(--ease);
}
.modal-overlay.show .modal { transform: translateY(0); }
.modal-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 18px; }
.modal-head h3 { font-size: 20px; }
.modal-close { color: var(--muted); width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; transition: background .2s, color .2s; }
.modal-close .ico { width: 20px; height: 20px; }
.modal-close:hover { background: var(--beige); color: var(--text); }
.search-box { display: flex; gap: 10px; }
.search-box input {
  flex: 1; padding: 13px 16px; border: 2px solid var(--line); border-radius: 999px; font-size: 15px; outline: none;
}
.search-box input:focus { border-color: var(--blue-500); }
.search-results { margin-top: 18px; display: grid; gap: 10px; }
.search-results a { display: flex; gap: 12px; align-items: center; padding: 10px; border-radius: 10px; border: 1px solid var(--line); }
.search-results a:hover { background: var(--blue-light); }
.search-results .thumb { width: 48px; height: 48px; border-radius: 8px; flex: none; background: var(--beige-2); display: grid; place-items: center; }
.search-results .meta small { color: var(--muted); font-size: 12px; }
.store-list { display: flex; flex-direction: column; gap: 16px; margin-top: 6px; }
#locModal .store-list .channel { width: 100%; padding: 16px 18px; display: flex; align-items: center; text-align: left; gap: 16px; }
#locModal .store-list .channel .ch-img,
#locModal .store-list .channel .ch-ico { margin: 0; flex: none; }
#locModal .store-list .channel .ch-img { height: 72px; }
#locModal .store-list .channel h4 { margin: 0 0 4px; }
#locModal .store-list .channel p { text-align: left; }
#locModal .store-list .channel .ch-img--zoom img:hover { transform: scale(1.3); }
.store-list .store { display: flex; gap: 12px; align-items: center; padding: 12px; border: 1px solid var(--line); border-radius: 10px; transition: transform .2s var(--ease), box-shadow .2s var(--ease); }
.store-list .store:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.store-list .store .pin { width: 38px; height: 38px; border-radius: 50%; background: var(--blue-light); color: var(--blue); display: grid; place-items: center; flex: none; }

/* ===== 图标系统 ===== */
.ico { width: 24px; height: 24px; display: inline-block; vertical-align: middle; }
.ico-sm { width: 18px; height: 18px; }
.ico-lg { width: 32px; height: 32px; }
.ico-xl { width: 48px; height: 48px; }
.btn .ico { width: 16px; height: 16px; stroke-width: 1.5; }
.banner-arrow .ico { width: 24px; height: 24px; }
.mega-feature .ico svg { width: 40px; height: 40px; }
.value-card .ico svg { width: 32px; height: 32px; }
.contact-info .info-item .ci-ico svg { width: 22px; height: 22px; display: block; }
.channel .ico svg { width: 36px; height: 36px; }
.thumb svg { width: 24px; height: 24px; }
.pin svg { width: 20px; height: 20px; }
.product-card .pic .img svg { width: 40px; height: 40px; }

.faq-card .pic svg { width: 44px; height: 44px; }
.split .media .img svg { width: 60px; height: 60px; }

/* ===== Banner 轮播（图片自适应 + 文字居左/居右） ===== */
.banner { position: relative; overflow: hidden; }
.banner-track { display: flex; transition: transform .7s var(--ease); }
.slide {
  position: relative; min-width: 100%; display: block;
}
.slide img { width: 100%; height: auto; display: block; }
.slide-inner {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -70%);
  width: 100%; max-width: var(--container); padding: 0 20px; z-index: 2; color: #0b308e;
}
.slide--left .slide-inner { text-align: left; }
.slide--right .slide-inner { text-align: right; }
.slide h2 {
  display: block; width: 100%; max-width: 560px;
  font-size: clamp(30px, 2.6vw, 34px); font-family: var(--font-title);
  margin-bottom: 14px; line-height: 1.2;
}
.slide--right .slide-inner h2 { margin-left: auto; }
.slide--right.slide--light-text .slide-inner { text-align: left; }
.slide--right.slide--light-text .slide-inner h2,
.slide--right.slide--light-text .slide-inner p { margin-left: 0; color: #fff; }
.slide--right.slide--light-text .slide-inner p { color: rgba(255,255,255,.9); }
.slide--right.slide--light-text .slide-inner .btn-primary { color: #fff; }
.slide p { display: block; width: 100%; max-width: 560px; font-size: clamp(13px, 1.1vw, 15px); margin-bottom: 44px; opacity: .85; }
.slide--right .slide-inner p { margin-left: auto; }
.slide .btn { padding: 12px 28px; font-size: 14px; }
.banner-dots { position: absolute; bottom: 24px; left: 50%; transform: translateX(-50%); display: flex; gap: 10px; z-index: 5; }
.banner-dots button { width: 12px; height: 12px; border-radius: 50%; background: rgba(23,58,107,.35); transition: all .25s; }
.banner-dots button.active { background: var(--blue); width: 30px; border-radius: 6px; }
.banner-arrow { position: absolute; top: 50%; transform: translateY(-50%); z-index: 5;
  width: 48px; height: 48px; border-radius: 50%; background: rgba(255,255,255,.85); color: var(--blue);
  display: grid; place-items: center; box-shadow: 0 2px 10px rgba(0,0,0,.1); opacity: 0; transition: opacity .25s, transform .2s; }
.banner:hover .banner-arrow { opacity: 1; }
.banner-arrow:hover { transform: translateY(-50%) scale(1.08); background: #fff; }
.banner-arrow.prev { left: 16px; }
.banner-arrow.next { right: 16px; }

/* ===== 产品入口（斜线分割连体容器，左侧狗 / 右侧猫） ===== */
.pet-connect {
  position: relative;
  min-height: 460px;
  border-radius: var(--radius);
  overflow: hidden;
  margin-top: 40px;
  transition: box-shadow .3s var(--ease);
}
.pet-connect:hover { box-shadow: var(--shadow-hover); }

/* 斜线分割背景层 */
.pet-bg {
  position: absolute;
  top: 0; bottom: 0;
  width: 100%;
  pointer-events: none;
  transition: clip-path .45s var(--ease);
}
.pet-bg { z-index: 0; }

/* 产品图：按原始比例显示，不拉伸 */
.pet-img {
  position: absolute;
  top: 0; left: 0;
  height: auto;
  pointer-events: none;
  transition: clip-path .45s var(--ease);
  z-index: 1;
  object-fit: contain;
}

.pet-bg--dog,
.pet-img--dog {
  left: 0;
  clip-path: polygon(0 0, 62% 0, 34% 100%, 0 100%);
}
.pet-bg--dog { background: var(--blue-light); }

.pet-bg--cat,
.pet-img--cat {
  right: 0;
  clip-path: polygon(62% 0, 100% 0, 100% 100%, 34% 100%);
}
.pet-bg--cat { background: var(--yellow-light); }

/* 悬停狗侧 → 蓝底+狗图沿斜线向右微扩 */
.pet-hover--dog .pet-bg--dog,
.pet-hover--dog .pet-img--dog {
  clip-path: polygon(0 0, 68% 0, 40% 100%, 0 100%);
}
.pet-hover--dog .pet-bg--cat,
.pet-hover--dog .pet-img--cat {
  clip-path: polygon(68% 0, 100% 0, 100% 100%, 40% 100%);
}
.pet-hover--dog .pet-side--dog { flex: 2; }
.pet-hover--dog .pet-side--cat { flex: 1; }

/* 悬停猫侧 → 黄底+猫图沿斜线向左微扩 */
.pet-hover--cat .pet-bg--dog,
.pet-hover--cat .pet-img--dog {
  clip-path: polygon(0 0, 56% 0, 28% 100%, 0 100%);
}
.pet-hover--cat .pet-bg--cat,
.pet-hover--cat .pet-img--cat {
  clip-path: polygon(56% 0, 100% 0, 100% 100%, 28% 100%);
}
.pet-hover--cat .pet-side--dog { flex: 1; }
.pet-hover--cat .pet-side--cat { flex: 1.5; }

/* 内容层（文字+按钮）置于图片之上 */
.pet-content {
  position: relative;
  z-index: 2;
  display: flex;
  padding: 36px 20px;
  min-height: 460px;
}
.pet-side {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 16px;
  padding: 36px 16px 0;
  transition: flex .45s var(--ease);   /* 跟随斜线伸缩 */
}
.pet-side h3 {
  font-size: 28px;
  font-family: var(--font-title);
}
.pet-filters { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }

@media (max-width: 768px) {
  .pet-connect { min-height: auto; }
  .pet-bg--dog,
  .pet-img--dog { clip-path: polygon(0 0, 100% 0, 100% 48%, 0 42%); }
  .pet-bg--cat,
  .pet-img--cat { clip-path: polygon(0 42%, 100% 48%, 100% 100%, 0 100%); }
  .pet-content { flex-direction: column; min-height: auto; gap: 30px; }
  .pet-side { padding: 20px 20px 0; }

  /* 悬停狗侧（上方）→ 蓝底+狗图向下微扩 */
  .pet-hover--dog .pet-bg--dog,
  .pet-hover--dog .pet-img--dog {
    clip-path: polygon(0 0, 100% 0, 100% 56%, 0 50%);
  }
  .pet-hover--dog .pet-bg--cat,
  .pet-hover--dog .pet-img--cat {
    clip-path: polygon(0 50%, 100% 56%, 100% 100%, 0 100%);
  }
  .pet-hover--dog .pet-side--dog { flex: 2; }
  .pet-hover--dog .pet-side--cat { flex: 1; }
  /* 悬停猫侧（下方）→ 黄底+猫图向上微扩 */
  .pet-hover--cat .pet-bg--dog,
  .pet-hover--cat .pet-img--dog {
    clip-path: polygon(0 0, 100% 0, 100% 40%, 0 34%);
  }
  .pet-hover--cat .pet-bg--cat,
  .pet-hover--cat .pet-img--cat {
    clip-path: polygon(0 34%, 100% 40%, 100% 100%, 0 100%);
  }
  .pet-hover--cat .pet-side--dog { flex: 1; }
  .pet-hover--cat .pet-side--cat { flex: 1.5; }
}


.pet-btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 10px 20px; border-radius: var(--btn-radius);
  background: #fff; color: var(--blue); font-weight: 700; font-size: 14px; transition: all .2s;
}
.pet-btn:hover { background: var(--blue); color: #fff; }
.stage-tabs { margin-top: 14px; }
.filter-btn {
  display: inline-block; padding: 9px 20px; border-radius: 999px; border: 1px solid var(--blue); color: var(--blue);
  font-weight: 600; font-size: 14px; transition: all .2s;
}
.filter-btn:hover { background: var(--blue-light); }
.filter-btn.active { background: var(--blue); color: #fff; }
.faq-filters { background: #f7f7f7; border-radius: var(--radius); padding: 20px 24px; margin-bottom: 30px; display: flex; flex-direction: column; gap: 14px; }
.faq-search { display: flex; gap: 10px; }
.faq-search input { flex: 1; padding: 12px 16px; border: 1px solid var(--line); border-radius: 6px; font-size: 14px; outline: none; background: #fff; }
.faq-search input:focus { border-color: var(--blue-500); }
.faq-search .btn { white-space: nowrap; }
.faq-filter-group { display: flex; align-items: flex-start; gap: 12px; flex-wrap: wrap; }
.faq-filter-label { font-size: 14px; color: var(--text); font-weight: 600; padding: 6px 0; flex-shrink: 0; }
.faq-filter-btns { display: flex; flex-wrap: wrap; gap: 8px; }
.faq-tags { display: flex; gap: 8px; align-items: center; margin-bottom: 8px; }
.filter-select { padding: 8px 36px 8px 14px; border: 1px solid var(--line); border-radius: 6px; font-size: 13px; background: #fff; color: var(--text); outline: none; cursor: pointer; min-width: 100px; appearance: none; -webkit-appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M0 0l5 6 5-6z' fill='%23999'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; }
.filter-select:focus { border-color: var(--blue-500); }
.filter-select-row { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.filter-select-row .filter-select,
.filter-select-row .faq-search input,
.filter-select-row .faq-search .btn { height: 38px; }
.filter-select-row .filter-select { flex: 1; min-width: 100px; line-height: normal; }
.filter-select-row .faq-search { display: flex; align-items: stretch; }
.filter-select-row .faq-search input { font-size: 13px; padding: 0 14px; }
.filter-select-row .faq-search .btn { padding: 0 22px; display: inline-flex; align-items: center; justify-content: center; font-size: 14px; }
.pagination { display: flex; justify-content: center; gap: 8px; margin-top: 36px; }
.pag-btn { width: 36px; height: 36px; border: 1px solid var(--line); border-radius: 6px; background: #fff; color: var(--text); font-size: 14px; cursor: pointer; transition: all .2s; display: grid; place-items: center; }
.pag-btn:hover:not(.disabled):not(.active) { border-color: var(--blue-500); color: var(--blue-500); }
.pag-btn.active { background: var(--blue); color: #fff; border-color: var(--blue); }
.pag-btn.disabled { opacity: .35; cursor: default; }
/* ThinkPHP 后端分页：分页链接与当前页（与 pag-btn 视觉一致） */
.pagination a { display: inline-flex; align-items: center; justify-content: center; min-width: 36px; height: 36px; padding: 0 12px; border: 1px solid var(--line); border-radius: 6px; background: #fff; color: var(--text); font-size: 14px; transition: all .2s; }
.pagination a:hover { border-color: var(--blue-500); color: var(--blue-500); }
.pagination .curr_page { display: inline-flex; align-items: center; justify-content: center; min-width: 36px; height: 36px; padding: 0 12px; border: 1px solid var(--blue); border-radius: 6px; background: var(--blue); color: #fff; font-size: 14px; }
.pagination > span:not(.curr_page) { align-self: center; font-size: 13px; color: var(--muted); white-space: nowrap; margin-left: 2px; }
.filter-select-label { font-size: 14px; color: var(--text); font-weight: 600; flex-shrink: 0; }
.pet-tag { font-size: 11px; color: var(--blue-500); background: var(--blue-light); padding: 2px 8px; border-radius: 4px; font-weight: 600; white-space: nowrap; }
.faq-tags { flex-wrap: wrap; }

/* 级联选择器 Cascader */
.cascader { position: relative; display: inline-block; min-width: 160px; flex: 1; }
.cascader-input { padding-right: 30px !important; cursor: pointer; width: 100%; }
.cascader-input::placeholder { color: var(--text); opacity: 1; }
.cascader-arrow { position: absolute; right: 12px; top: 50%; transform: translateY(-50%); width: 10px; height: 6px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M0 0l5 6 5-6z' fill='%23999'/%3E%3C/svg%3E"); background-repeat: no-repeat; pointer-events: none; transition: transform .2s; }
.cascader.open .cascader-arrow { transform: translateY(-50%) rotate(180deg); }
.cascader-clear { position: absolute; right: 28px; top: 50%; transform: translateY(-50%); background: none; border: none; color: #aaa; font-size: 18px; line-height: 1; cursor: pointer; padding: 0 4px; }
.cascader-clear:hover { color: #555; }
.cascader-pop { display: none; position: absolute; top: calc(100% + 6px); left: 0; z-index: 50; background: #fff; border: 1px solid var(--line); border-radius: 8px; box-shadow: 0 6px 20px rgba(0,0,0,.1); overflow: hidden; padding: 6px; min-width: 240px; }
.cascader.open .cascader-pop { display: flex; gap: 4px; }
.cascader-col { display: flex; flex-direction: column; gap: 2px; min-width: 130px; }
.cascader-col-sub { border-left: 1px solid var(--line); padding-left: 4px; }
.cascader-sub { display: none; flex-direction: column; gap: 2px; }
.cascader-sub.show { display: flex; }
.cascader-item { padding: 8px 12px; border-radius: 4px; font-size: 13px; color: var(--text); cursor: pointer; display: flex; align-items: center; justify-content: space-between; transition: background .15s, color .15s; }
.cascader-item:hover, .cascader-item.hover { background: var(--blue-light, #eff5ff); color: var(--blue-500, #2f6fc4); }
.cascader-item.active { color: var(--blue-500, #2f6fc4); font-weight: 600; }
.cascader-item.active::before { content: "✓"; margin-right: 4px; font-weight: 600; }
.cascader-arrow-r { color: #bbb; font-size: 16px; margin-left: 4px; }
.cascader-item:hover .cascader-arrow-r, .cascader-item.active .cascader-arrow-r { color: var(--blue-500, #2f6fc4); }
.cascader-empty { min-height: 80px; }

/* FAQ 详情页 */
.faq-detail-head { margin-bottom: 24px; }
.faq-detail-head .cat { margin-right: 8px; font-size: 11px; color: var(--blue-500); background: var(--blue-light); padding: 2px 8px; border-radius: 4px; font-weight: 600; display: inline-block; }
.faq-detail-title { font-size: 28px; font-family: var(--font-title); color: var(--text); line-height: 1.35; margin: 12px 0; }
.faq-detail-meta { display: flex; gap: 20px; font-size: 13px; color: var(--muted); }
.faq-detail-cover { border-radius: var(--radius); overflow: hidden; margin-bottom: 30px; }
.faq-detail-cover img { width: 100%; height: auto; display: block; }
.faq-detail-body { font-size: 15px; color: var(--text); line-height: 1.85; }
.faq-detail-body h3 { font-size: 20px; margin: 28px 0 12px; font-family: var(--font-title); }
#legalArticle .faq-detail-body h3 { margin-top: 32px; padding-top: 22px; border-top: 1px solid var(--line); }
#legalArticle .faq-detail-body h3:first-child { border-top: none; padding-top: 0; }
.faq-detail-body p { margin-bottom: 16px; }
.faq-detail-footer { margin-top: 36px; padding-top: 18px; border-top: 1px solid var(--line); display: flex; gap: 24px; font-size: 13px; color: var(--muted); }
.product-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.product-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease); display: flex; flex-direction: column;
}
.product-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-hover); }
.product-card .pic { overflow: hidden; }
.product-card .pic img { width: 100%; height: auto; display: block; transition: transform .4s var(--ease); }
.product-card:hover .pic img { transform: scale(1.08); }
.product-card .body { padding: 18px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.product-card .body .tag { font-size: 12px; color: #7c3aed; background: #f3e8ff; padding: 3px 10px; border-radius: 4px; font-weight: 700; letter-spacing: 1px; align-self: flex-start; white-space: nowrap; }
.product-card .body .tag-row { display: flex; align-items: center; gap: 6px; }
.product-card .body .tag-row .tag { align-self: auto; }
.product-card .body h4 { font-size: 17px; }
.product-card .body .product-name { font-family: "SimSun", "宋体", serif; }
.product-card .body p { font-size: 13px; color: var(--muted); flex: 1; }
.product-card .body .price { font-weight: 800; color: var(--blue); }
.product-card .body .btn { justify-content: center; margin-top: 6px; padding: 10px; font-size: 14px; }

/* ===== 核心优势（Blue Buffalo 风格：图文交替） ===== */
#adv { padding: 0; background: #fff; }
.advantage-row { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 60px; margin-bottom: 0; padding: 60px 0; }
.advantage-row:nth-child(odd) {
  background: #eee8fa;
  margin-left: calc(-50vw + 50%);
  margin-right: calc(-50vw + 50%);
  padding-left: calc(50vw - 50%);
  padding-right: calc(50vw - 50%);
}
.advantage-row:last-child { margin-bottom: 0; }
.advantage-row.reverse .adv-media { order: 2; }
.advantage-row.reverse .adv-text { order: 1; }
.adv-media { border-radius: var(--radius); overflow: hidden; transition: transform .3s var(--ease), box-shadow .3s var(--ease); }
.adv-media:hover { transform: translateY(-3px); box-shadow: 0 6px 20px rgba(0, 0, 0, .12); }
.adv-media img { width: 100%; height: auto; aspect-ratio: 10/7; object-fit: cover; display: block; transition: transform .4s var(--ease); }
.adv-media:hover img { transform: scale(1.1); }
.advantage-row:hover .adv-text { transform: translateX(4px); }
.advantage-row.reverse:hover .adv-text { transform: translateX(-4px); }
.adv-text { padding: 20px 0 20px 40px; transition: transform .25s var(--ease); }
.advantage-row.reverse .adv-text { padding: 20px 40px 20px 0; text-align: left; }
.adv-text h3 { font-size: 30px; margin-bottom: 12px; font-family: var(--font-title); color: var(--blue); line-height: 1.3; }
.adv-text .eyebrow { display: inline-block; font-size: 13px; letter-spacing: 2px; text-transform: uppercase; color: var(--blue-500); font-weight: 700; margin-bottom: 14px; }
.adv-text p { color: var(--muted); font-size: 15px; line-height: 1.7; margin-bottom: 24px; }

/* ===== 新闻动态 ===== */
#news { background: var(--beige); }
.news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
#newsGrid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
#newsGrid .news-card { display: flex; flex-direction: row; gap: 16px; background: #f7f7f7; border-radius: var(--radius); overflow: hidden; transition: transform .3s var(--ease), box-shadow .3s var(--ease); color: var(--text); }
#newsGrid .news-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-hover); }
#newsGrid .news-card .pic { width: 180px; min-height: 140px; flex: none; overflow: hidden; }
#newsGrid .news-card .pic img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .4s var(--ease); }
#newsGrid .news-card:hover .pic img { transform: scale(1.08); }
#newsGrid .news-card .body { padding: 16px 20px 16px 20px; display: flex; flex-direction: column; gap: 6px; flex: 1; justify-content: center; }
#newsGrid .news-card .body .cat { width: fit-content; }
.news-card { background: #f7f7f7; border-radius: var(--radius); overflow: hidden; transition: transform .3s var(--ease), box-shadow .3s var(--ease); display: flex; flex-direction: column; color: var(--text); }
.news-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-hover); }
.news-card .pic { overflow: hidden; }
.news-card .pic img { width: 100%; height: auto; display: block; transition: transform .4s var(--ease); }
.news-card:hover .pic img { transform: scale(1.06); }
.news-card .body { padding: 24px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.news-card .cat { font-size: 11px; color: var(--blue-500); background: var(--blue-light); padding: 2px 8px; border-radius: 4px; font-weight: 600; width: fit-content; }
.news-card h4 { font-size: 19px; color: var(--text); font-family: var(--font-title); }
.news-card p { font-size: 14px; color: var(--muted); flex: 1; line-height: 1.6; }
.news-card .btn { align-self: flex-start; }

/* ===== FAQ 滚动（Blue Buffalo 风格：卡片轮播） ===== */
#faq { padding: 80px 0; background: #fff; color: var(--text); }
#faq .eyebrow { color: var(--blue-500); }
#faq h3 { font-size: 32px; margin: 12px 0 18px; font-family: var(--font-title); color: var(--text); }
.faq-head p { color: var(--muted); max-width: 560px; margin: 0 auto 22px; }
.faq-head { margin-bottom: 40px; }
.faq-img { width: 120px; height: 120px; border-radius: 50%; background: var(--blue-light); display: grid; place-items: center; color: var(--blue); margin: 0 auto 24px; }
.faq-carousel { position: relative; }
.faq-viewport { overflow: hidden; border-radius: var(--radius); }
.faq-track { display: flex; transition: transform .5s var(--ease); }
.faq-slide { min-width: 25%; padding: 0 10px; box-sizing: border-box; }
.faq-card { background: #f7f7f7; border-radius: var(--radius); overflow: hidden; color: var(--text); height: 100%; display: flex; flex-direction: column; transition: transform .3s var(--ease), box-shadow .3s var(--ease); }
.faq-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-hover); }
.faq-card .pic { overflow: hidden; }
.faq-card .pic img { width: 100%; height: auto; display: block; transition: transform .4s var(--ease); }
.faq-card:hover .pic img { transform: scale(1.05); }
.faq-card .info { padding: 22px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.faq-card .cat { font-size: 12px; color: var(--blue-500); font-weight: 700; letter-spacing: 1px; text-transform: uppercase; }
.faq-card h4 { font-size: 18px; color: var(--text); line-height: 1.3; font-family: var(--font-title); }
.faq-card p { font-size: 14px; color: var(--muted); flex: 1; line-height: 1.6; margin: 0; }
.faq-card .btn-link { color: var(--blue-500); font-weight: 700; font-size: 14px; display: inline-flex; align-items: center; gap: 6px; margin-top: 4px; margin-right: auto; width: fit-content; padding: 0; }
.faq-card .btn-link:hover { color: var(--blue); }
.faq-card .btn-link .ico { width: 16px; height: 16px; stroke-width: 1.5; }
.faq-arrow { position: absolute; top: 50%; transform: translateY(-50%); width: 48px; height: 48px; border-radius: 50%; background: rgba(255,255,255,.85); color: var(--blue); display: grid; place-items: center; box-shadow: 0 2px 10px rgba(0,0,0,.1); transition: opacity .25s, transform .2s; z-index: 2; }
.faq-arrow:hover { transform: translateY(-50%) scale(1.08); background: #fff; }
.faq-arrow.prev { left: -60px; }
.faq-arrow.next { right: -60px; }
.faq-arrow svg { width: 24px; height: 24px; }
.faq-dots { display: flex; justify-content: center; gap: 10px; margin-top: 28px; }
.faq-dots button { width: 10px; height: 10px; border-radius: 50%; background: var(--beige-2); transition: all .2s; }
.faq-dots button.active { background: var(--blue); width: 26px; border-radius: 6px; }

/* ===== 页脚 ===== */
.footer-top { background: #325080; color: #d7e3f4; padding: 32px 0; }
.footer-top .container { display: flex; flex-wrap: wrap; }
.footer-links-group { display: flex; gap: 80px; flex-shrink: 0; margin-left: auto; }
.footer-brand-col { flex: 1; min-width: 200px; }
.footer-brand-col .brand { color: #fff; margin-bottom: 12px; font-size: 22px; display: inline-flex; align-items: center; gap: 10px; }
.footer-brand-col .brand .logo-mark { display: block; width: 200px; height: 80px; }
.footer-brand-col .brand small { display: block; font-size: 11px; color: #aac1e0; font-weight: 600; letter-spacing: 2px; }
.footer-brand-col .footer-desc { font-size: 14px; color: #b9cdec; line-height: 1.7; white-space: nowrap; }
.footer-brand-col .footer-info { font-size: 13px; color: #aac1e0; margin-top: 4px; }
.footer-col { white-space: nowrap; }
.footer-col h4 { color: #FFFFFF; font-size: 14px; margin-bottom: 10px; font-weight: 700; }
.footer-col a { display: block; padding: 3px 0; font-size: 13px; color: #c6d6ee; transition: color .2s, padding-left .2s; }
.footer-col a:hover { color: #fff; padding-left: 5px; }
.footer-bottom { background: #2d4872; color: #aac1e0; padding: 18px 0; font-size: 13px; }
.footer-bottom .container { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; }
.footer-bottom .legal a { color: #aac1e0; margin-left: 16px; transition: color .2s; }
.footer-bottom .legal a:hover { color: #fff; }

/* ===== 滚动渐入 ===== */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

/* ===== 内页 Banner（满屏图片 + 文字叠加） ===== */
.sub-banner { position: relative; overflow: hidden; }
.sub-banner img { width: 100%; height: auto; display: block; }
.sub-banner .banner-text { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -70%); text-align: left; color: #0b308e; width: 100%; max-width: var(--container); padding: 0 20px; }
.sub-banner h1 { font-size: clamp(28px, 3.6vw, 42px); font-family: var(--font-title); line-height: 1.2; }
.sub-banner p { font-size: 14px; margin-top: 10px; opacity: .85; }

/* ===== 关于我们 / 通用内容栅格 ===== */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center; }
.split .media { border-radius: var(--radius); min-height: 360px; display: grid; place-items: center; color: #fff; font-size: 60px; box-shadow: var(--shadow); overflow: hidden; }
.split .media .img { width: 100%; height: 100%; min-height: 360px; display: grid; place-items: center; transition: transform .5s var(--ease); }
.split .media img { width: 100%; height: auto; aspect-ratio: 10/7; object-fit: cover; display: block; }
.split:hover .media .img { transform: scale(1.05); }
.split.reverse .media { order: 2; }
.split.reverse > div:last-child { order: 1; }
.values-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 26px; }
.value-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; transition: transform .3s var(--ease), box-shadow .3s var(--ease); }
.value-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-hover); }
.value-card .vc-img { width: 100%; height: 180px; border-radius: 14px; overflow: hidden; margin-bottom: 16px; }
.value-card .vc-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.value-card h4 { font-size: 18px; margin-bottom: 8px; }
.value-card p { font-size: 14px; color: var(--muted); }
.culture-block { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; transition: transform .3s var(--ease), box-shadow .3s var(--ease); }
.culture-block:hover { transform: translateY(-6px); box-shadow: var(--shadow-hover); }
.culture-block h4 { font-size: 22px; margin-bottom: 12px; color: var(--blue); }
.culture-block p { font-size: 15px; color: var(--muted); line-height: 1.8; margin: 0; }
/* 企业文化：新闻左侧大图样式（无标签/详情按钮） */
.culture-card { position: relative; border-radius: var(--radius); overflow: hidden; color: #fff; transition: transform .3s var(--ease), box-shadow .3s var(--ease); }
.culture-card:hover { transform: translateY(-3px); box-shadow: 0 12px 30px rgba(0,0,0,.15); }
.culture-bg { position: relative; z-index: 0; overflow: hidden; }
.culture-bg img { width: 100%; height: auto; aspect-ratio: 10/7; object-fit: cover; display: block; transition: transform .4s var(--ease); }
.culture-card:hover .culture-bg img { transform: scale(1.05); }
.culture-ov { position: absolute; left: 0; right: 0; top: 0; bottom: 0; z-index: 1; background: linear-gradient(to top, rgba(8,30,65,.88), rgba(8,30,65,.5) 28%, transparent 55%); }
.culture-body { position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; padding: 30px; }
.culture-body h4 { font-size: 24px; margin: 0 0 10px; color: #fff; }
.culture-body p { font-size: 14px; color: rgba(255,255,255,.9); line-height: 1.7; margin: 0; }

.timeline { position: relative; max-width: 880px; margin: 0 auto; padding: 20px 0; }
.timeline::before { content: ""; position: absolute; left: 50%; top: 0; bottom: 0; width: 2px; background: var(--blue); transform: translateX(-50%); }
.tl-item { display: grid; grid-template-columns: 1fr 60px 1fr; align-items: start; position: relative; padding: 16px 0; transition: background .25s var(--ease); border-radius: 8px; cursor: default; }
.tl-item:hover { background: var(--blue); }
.tl-item:hover .tl-year { color: #fff; }
.tl-item:hover h4 { color: #fff; }
.tl-item:hover p { color: #cdddf2; }
.tl-item::before { content: ""; position: absolute; left: 50%; top: 30px; width: 12px; height: 12px; border-radius: 50%; background: var(--blue); box-shadow: 0 0 0 4px #fff, 0 0 0 6px var(--blue-light); transform: translateX(-50%); z-index: 1; transition: background .25s, box-shadow .25s; }
.tl-item:hover::before { background: transparent; box-shadow: none; }
.tl-year { font-family: var(--font-title); font-weight: 800; font-size: 28px; line-height: 1; color: var(--blue); transition: all .35s var(--ease); }
.tl-body h4 { font-size: 16px; font-weight: 700; color: var(--text); line-height: 1; transition: color .25s; }
.tl-body p { color: var(--muted); font-size: 13px; line-height: 1.6; margin: 8px 0 0; transition: color .25s; }
.tl-img-wrap { width: 200px; height: 100px; border-radius: 6px; overflow: hidden; margin-top: 10px; }
.tl-img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s var(--ease); }
.tl-item:hover .tl-img { transform: scale(1.1); }

/* 悬停：日期居中 + 放大 */
.tl-item:nth-child(odd):hover .tl-year { transform: translateX(-30px) scale(1.3); align-self: center; }
.tl-item:nth-child(even):hover .tl-year { transform: translateX(30px) scale(1.3); align-self: center; }

.tl-item:nth-child(odd) .tl-year { grid-column: 1; text-align: right; padding-right: 40px; }
.tl-item:nth-child(odd) .tl-body { grid-column: 3; text-align: left; padding-left: 40px; }
.tl-item:nth-child(odd) .tl-img { margin-right: auto; }

.tl-item:nth-child(even) .tl-year { grid-column: 3; text-align: left; padding-left: 40px; order: 2; }
.tl-item:nth-child(even) .tl-body { grid-column: 1; text-align: right; padding-right: 40px; }
.tl-item:nth-child(even) .tl-img-wrap { margin-left: auto; }
.tl-item:nth-child(odd) .tl-img-wrap { margin-right: auto; }

@media (max-width: 768px) {
  .timeline::before { left: 24px; transform: none; }
  .tl-item { display: block; padding: 12px 0 12px 50px; }
  .tl-item::before { left: 24px; transform: translateX(-50%); }
  .tl-year { font-size: 20px; padding: 0 !important; margin-right: 12px; display: inline-block; }
  .tl-body { text-align: left !important; padding: 0 !important; }
  .tl-img { margin: 10px 0 0 !important; }
}

.honors-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.honor { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; text-align: center; transition: transform .3s var(--ease), box-shadow .3s var(--ease); }
.honor:hover { transform: translateY(-3px); box-shadow: var(--shadow-hover); }
.honor .badge { width: 64px; height: 64px; border-radius: 50%; background: linear-gradient(135deg, var(--blue-500), var(--blue)); color: #fff; display: grid; place-items: center; font-size: 28px; margin: 0 auto 14px; }
.honor .badge svg { width: 32px; height: 32px; }
.honor h4 { font-size: 16px; }
.honor p { font-size: 13px; color: var(--muted); margin-top: 6px; }

/* ===== 荣誉资质 Coverflow 证书轮播 ===== */
.honor-coverflow-wrap { position: relative; padding: 12px 4px 8px; }
.honor-coverflow { width: 100%; padding: 8px 0 12px; overflow: hidden; }
.honor-coverflow .swiper-wrapper { align-items: center; }
.honor-coverflow .swiper-slide {
  width: min(340px, 80vw);
  aspect-ratio: 700 / 990;
  height: auto;
  box-sizing: border-box;
  transition-property: transform;
}
.honor-zoom { display: block; position: relative; height: 100%; width: 100%; padding: 0; border: none; background: none; cursor: zoom-in; border-radius: var(--radius); overflow: hidden; box-shadow: 0 12px 32px rgba(0,0,0,.22); }
.honor-zoom img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  transform: scale(1.02); transition: transform .5s ease;
}
.honor-coverflow .swiper-slide-active .honor-zoom img { transform: scale(1.04); }
.honor-coverflow__toolbar { display: flex; align-items: center; justify-content: center; gap: 16px; margin-top: 24px; padding: 0 12px 4px; }
.honor-arrow {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 5;
  width: 44px; height: 44px; border: none; border-radius: 50%;
  background: rgba(255,255,255,.85); color: var(--blue);
  display: inline-flex; align-items: center; justify-content: center;
  cursor: pointer; box-shadow: 0 4px 14px rgba(0,0,0,.12);
  transition: background .25s ease, transform .2s ease;
}
.honor-arrow:hover { background: var(--blue); color: #fff; }
.honor-arrow--prev { left: -56px; }
.honor-arrow--next { right: -56px; }
.honor-arrow .ico-sm { width: 20px; height: 20px; }
.honor-pagination { display: flex; justify-content: center; gap: 8px; }
.honor-pagination .swiper-pagination-bullet { width: 8px; height: 8px; border-radius: 50%; background: rgba(11,48,142,.25); opacity: 1; }
.honor-pagination .swiper-pagination-bullet-active { background: var(--blue); width: 22px; border-radius: 4px; }

/* 荣誉证书点击放大（lightbox） */
.honor-lightbox { position: fixed; inset: 0; z-index: 1000; display: flex; align-items: center; justify-content: center; visibility: hidden; opacity: 0; transition: opacity .28s ease, visibility .28s ease; }
.honor-lightbox.is-open { visibility: visible; opacity: 1; }
.honor-lightbox__mask { position: absolute; inset: 0; background: rgba(6,16,32,.82); }
.honor-lightbox__wrap { position: relative; z-index: 1; max-width: min(86vw, 900px); max-height: 88vh; }
.honor-lightbox__img { display: block; max-width: 86vw; max-height: 84vh; width: auto; height: auto; object-fit: contain; border-radius: 8px; box-shadow: 0 24px 60px rgba(0,0,0,.5); background: #fff; }
.honor-lightbox__close {
  position: absolute; top: -44px; right: 0; width: 36px; height: 36px;
  border: none; border-radius: 50%; background: rgba(255,255,255,.15); color: #fff;
  display: inline-flex; align-items: center; justify-content: center; cursor: pointer;
  transition: background .2s ease;
}
.honor-lightbox__close:hover { background: rgba(255,255,255,.3); }
.honor-lightbox__close .ico-sm { width: 20px; height: 20px; }
body.honor-locked { overflow: hidden; }

/* ===== 产品中心 ===== */
.cat-tabs { display: flex; justify-content: center; gap: 12px; margin-bottom: 36px; flex-wrap: wrap; }

/* ===== 联系我们 ===== */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; }
.contact-info .info-item { display: flex; gap: 14px; padding: 16px 0; border-bottom: 1px solid var(--line); transition: transform .2s var(--ease), box-shadow .2s var(--ease); }
.contact-info .info-item:hover { transform: translateX(4px); }
.contact-info .info-item .ci-ico { width: 44px; height: 44px; border-radius: 12px; background: var(--blue-light); color: var(--blue); display: flex; align-items: center; justify-content: center; flex: none; }
.contact-info .info-item h4 { font-size: 15px; }
.contact-info .info-item p { font-size: 14px; color: var(--muted); }
.form-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; box-shadow: var(--shadow); }
.form-card .field { margin-bottom: 18px; }
.form-card label { display: block; font-size: 14px; font-weight: 600; margin-bottom: 7px; }
.form-card .req { color: #e02424; font-weight: 700; margin-right: 2px; }
.form-card .field-label { display: flex; align-items: center; margin-bottom: 7px; }
.form-card .field-label label { margin-bottom: 0; }
.form-card input, .form-card textarea, .form-card select {
  width: 100%; padding: 12px 14px; border: 2px solid var(--line); border-radius: 10px; font-size: 15px; font-family: inherit; outline: none; background: #fff; color: var(--text);
}
.form-card input:focus, .form-card textarea:focus, .form-card select:focus { border-color: var(--blue-500); }
.form-card textarea { resize: vertical; min-height: 120px; }
.form-note { font-size: 13px; color: var(--green); margin-top: 10px; display: none; }
.form-note.show { display: block; }
.store-channels { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 10px; }
.channel { position: relative; border: 1px solid var(--line); border-radius: 16px; padding: 34px 26px; text-align: center; background: #fff; box-shadow: 0 8px 24px rgba(20,40,80,.06); transition: transform .3s var(--ease), box-shadow .3s var(--ease); }
.channel:hover { transform: translateY(-6px); box-shadow: 0 16px 34px rgba(20,40,80,.12); }
.channel .ch-ico { width: 60px; height: 60px; margin: 0 auto 16px; border-radius: 16px; background: var(--blue-light); color: var(--blue); display: flex; align-items: center; justify-content: center; }
.channel .ch-ico svg { width: 30px; height: 30px; display: block; }
.channel .ch-img { height: 90px; margin: 0 auto 16px; display: flex; align-items: center; justify-content: center; }
.channel .ch-img--zoom { height: 90px; }
.channel .ch-img img { max-width: 100%; max-height: 100%; width: auto; height: auto; display: block; object-fit: contain; }
.channel .ch-img--zoom img { transition: transform .3s var(--ease, ease); position: relative; z-index: 2; transform-origin: center center; }
.channel .ch-img--zoom img:hover { transform: translateY(45px) scale(2.2); }
.channel h4 { font-size: 18px; font-weight: 600; margin: 0 0 8px; color: var(--ink); }
.channel p { font-size: 14px; line-height: 1.7; color: var(--muted); margin: 0; white-space: pre-line; }

/* ===== 面包屑 ===== */
.crumbs { font-size: 13px; color: var(--muted); padding: 16px 20px; }
.crumbs a:hover { color: var(--blue); }

/* ===== 响应式 ===== */
@media (max-width: 1024px) {
  .product-grid { grid-template-columns: repeat(3, 1fr); }
  .values-grid { grid-template-columns: repeat(2, 1fr); }

  /* 产品入口：平板（≤1024）改为上下两张独立卡片，去掉悬停伸缩效果 */
  .pet-connect { min-height: 520px; display: flex; flex-direction: column; }
  .pet-bg--dog, .pet-img--dog { top: 0; left: 0; width: 100%; height: 50%; clip-path: none; object-fit: contain; object-position: left bottom; }
  .pet-bg--cat, .pet-img--cat { top: 50%; right: 0; width: 100%; height: 50%; clip-path: none; object-fit: contain; object-position: right bottom; }
  .pet-content { flex: 1; flex-direction: column; min-height: auto; gap: 0; padding: 0; }
  .pet-side { flex: 1 1 0; min-height: 230px; padding: 24px 20px; display: flex; flex-direction: column; justify-content: center; align-items: center; }
  /* 禁用悬停变形 */
  .pet-hover--dog .pet-bg--dog, .pet-hover--dog .pet-img--dog,
  .pet-hover--cat .pet-bg--dog, .pet-hover--cat .pet-img--dog { top: 0; left: 0; width: 100%; height: 50%; clip-path: none; }
  .pet-hover--dog .pet-bg--cat, .pet-hover--dog .pet-img--cat,
  .pet-hover--cat .pet-bg--cat, .pet-hover--cat .pet-img--cat { top: 50%; right: 0; width: 100%; height: 50%; clip-path: none; }
  .pet-hover--dog .pet-side--dog, .pet-hover--dog .pet-side--cat,
  .pet-hover--cat .pet-side--dog, .pet-hover--cat .pet-side--cat { flex: 1 1 0; }

  /* 页脚：logo 与联系方式左右并排，导航单独一行居中 */
  .footer-brand-col { flex: 100%; display: flex; flex-direction: row; align-items: center; gap: 32px; flex-wrap: wrap; }
  .footer-brand-col .brand { margin-bottom: 0; flex: none; }
  .footer-brand-col .footer-contact { display: block; }
  .footer-brand-col .footer-info { display: inline-block; margin: 0 16px 0 0; white-space: nowrap; }
  .footer-brand-col .footer-info:last-child { display: block; margin: 4px 0 0; margin-bottom: 15px; }
  .footer-links-group { flex: 100%; justify-content: center; flex-wrap: wrap; gap: 20px 48px; margin-left: 0; }
  /* 导航折叠点提前到 1024（原 768，平板区间太挤） */
  .hamburger { display: grid; }
  /* 抽屉用铺满视口的容器裁切，从结构上保证不撑宽页面（不依赖根 overflow 对 fixed 的裁切） */
  .nav-drawer { display: block; position: fixed; inset: 0; z-index: 120; overflow: hidden; transform: translateZ(0); pointer-events: none; }
  .nav-drawer.open { pointer-events: auto; }
  .nav-backdrop { display: block; position: absolute; inset: 0; background: rgba(15,30,60,.45); opacity: 0; visibility: hidden; transition: opacity .3s var(--ease); }
  .nav-drawer.open .nav-backdrop { opacity: 1; visibility: visible; }
  .nav-menu {
    position: absolute; top: 0; right: 0; height: 100%; width: 300px; max-width: 84vw;
    background: #fff; flex-direction: column; align-items: stretch; gap: 0; padding: 80px 16px 24px;
    box-shadow: -10px 0 40px rgba(0,0,0,.18); transform: translateX(100%); transition: transform .3s var(--ease);
    z-index: 1; overflow-y: auto; pointer-events: auto;
  }
  .nav-menu.open { transform: translateX(0); }
  .nav-item { border-bottom: 1px solid var(--line); }
  .nav-link { padding: 14px; border-radius: 0; justify-content: space-between; }
  .nav-link:hover { background: none; color: var(--blue); }
  .dropdown { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: none; padding: 0 0 8px 14px; display: none; }
  .nav-item.open .dropdown { display: block; }
  .dropdown.mega { flex-direction: column; min-width: 0; }
  .mega-feature { padding: 18px; }
  .nav-tools { margin-left: auto; }
  /* 修复B：FAQ 轮播箭头在 ≤1024 溢出，统一隐藏（用圆点/滑动） */
  .faq-arrow { display: none; }
  /* 优势区块在 ≤1024 收窄间距、减小标题，避免平板区间过挤 */
  .advantage-row { gap: 40px; padding: 40px 0; }
  .adv-text { padding: 12px 0 12px 24px; }
  .advantage-row.reverse .adv-text { padding: 12px 24px 12px 0; }
  .adv-text h3 { font-size: 24px; }
}
@media (max-width: 768px) {
  :root { --header-h: 64px; }
  .advantage-row, .advantage-row.reverse { grid-template-columns: 1fr; gap: 24px; }
  .advantage-row.reverse .adv-media { order: 0; }
  .faq-wrap { grid-template-columns: 1fr; gap: 30px; }
  .faq-slide { min-width: 50%; }
  .split { grid-template-columns: 1fr; gap: 26px; }
  .split.reverse .media, .split.reverse > div:last-child { order: 0; }
  .news-grid { grid-template-columns: 1fr 1fr; }
  .honors-grid { grid-template-columns: repeat(2, 1fr); }
  .values-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .store-channels { grid-template-columns: 1fr; }
  .section { padding: 56px 0; }
  .section-title { font-size: 27px; }
  /* 移动端 banner 自适应：slide 高度跟随视口（vw 单位），图片 cover 填满 */
  .slide { min-width: 100%; height: 42vw; max-height: 320px; overflow: hidden; }
  .slide img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
  .slide-inner { top: 50%; transform: translate(-50%, -50%); }
  .sub-banner img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
  .sub-banner .banner-text { top: 50%; transform: translate(-50%, -50%); }
}
@media (max-width: 560px) {
  .product-grid { grid-template-columns: 1fr 1fr; }
  .news-grid { grid-template-columns: 1fr; }
  /* 移动端：底部链接每行显示 3 个分类，剩余自动换行 */
  .footer-col { flex: 0 0 calc((100% - 96px) / 3); max-width: calc((100% - 96px) / 3); white-space: normal; }
  .footer-col h4 { white-space: nowrap; }
  .faq-slide { min-width: 100%; }
  .faq-arrow { display: none; }
  .lifestage-head { flex-direction: column; align-items: flex-start; }
  /* 小屏 banner 继续自适应：高度更矮、字号收敛，避免短 banner 文字溢出 */
  .slide { height: 52vw; max-height: none; }
  .slide h2 { font-size: 22px; max-width: 100%; }
  .slide p { font-size: 12px; margin-bottom: 18px; max-width: 100%; }
  .slide .btn { padding: 10px 20px; font-size: 13px; }
  .slide-inner { padding: 0 20px; max-width: 100%; }
  .sub-banner { min-height: 180px; aspect-ratio: 16 / 9; }
  .sub-banner .banner-text { padding: 0 20px; }
  /* 移动端：新闻卡片改上下排列，避免窄屏下图占左、文字区被挤压导致文字/按钮不显示 */
  #newsGrid .news-card { flex-direction: column; }
  #newsGrid .news-card .pic { width: 100%; min-height: 0; }
}


/* 隐藏各板块顶部的小标题（产品中心 / 核心优势 / 新闻动态 / 问答FAQ） */
/* #products-entry .text-center > .eyebrow,
#adv .text-center > .eyebrow,
#news .text-center > .eyebrow,
#faq .faq-head > .eyebrow { display: none; }*/

/* ===== 产品详情页 ===== */
.product-detail { display: flex; flex-direction: column; gap: 40px; }
.pd-hero { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; }
.pd-hero-img { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); }
.pd-hero-img img { width: 100%; height: auto; display: block; }
.pd-hero-info { display: flex; flex-direction: column; gap: 14px; }
.pd-name { font-size: 28px; line-height: 1.3; }
.pd-price { font-size: 22px; font-weight: 800; color: var(--blue); }
.pd-desc { color: var(--muted); line-height: 1.7; }
.pd-hero-info .btn { align-self: flex-start; margin-top: 6px; }
.specs { display: flex; flex-direction: column; gap: 0; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.spec-row { display: flex; padding: 12px 16px; border-bottom: 1px solid var(--line); }
.spec-row:last-child { border-bottom: none; }
.spec-row:nth-child(odd) { background: #fafbff; }
.spec-label { font-weight: 700; color: var(--ink); min-width: 96px; }
.spec-value { color: var(--muted); }
.pd-section { display: flex; flex-direction: column; gap: 14px; }
.pd-h { font-size: 21px; padding-left: 12px; border-left: 4px solid var(--blue); line-height: 1.2; }
.pd-section p { line-height: 1.85; color: #3b4252; }
.ingredient-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.ingredient-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; text-align: center; }
.ing-img { aspect-ratio: 4/3; overflow: hidden; }
.ing-img img { width: 100%; height: 100%; object-fit: cover; }
.ingredient-card h5 { margin: 12px 0 6px; font-size: 15px; }
.ingredient-card p { padding: 0 12px 14px; font-size: 12px; color: var(--muted); line-height: 1.6; }
@media (max-width: 768px) {
  .pd-hero { grid-template-columns: 1fr; gap: 24px; }
  .ingredient-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .ingredient-grid { grid-template-columns: 1fr; }
}
