@import url("selection-mark.css?v=20261014-glasses");

/* Keep controller targets intact while removing carousel pagination and its space. */
body :is(.pair-scenes__controls, .children-gallery__count,
  .replacement-scenes__controls, .replacement-scenes__counter,
  .repair-stage-counter, .repair-dialog__counter,
  [data-pair-counter], [data-child-counter], [data-package-counter],
  [data-replacement-counter], [data-team-counter], [data-stage-count],
  [data-guide-counter], [data-pair-story-number], [data-replacement-story-number]) {
  display: none !important;
}
/* ==========================================================================
   site.css — 新组件样式（顶栏大菜单 / 顶栏 CTA）
   参考 OWNDAYS：文字加粗、间距放大、镜片用多列大菜单、右侧一个醒目按钮。

   ⚠️ 这个文件是**手写**的，不由生成器改写（生成器只写 tokens.css 和 i18n.js）。
      加载顺序：home-redesign.css → tokens.css → site.css，所以这里的规则能覆盖前面。
   ⚠️ 名字沿用旧的 .nav-drop / .nav-drop__menu / .nav-drop__trigger —— 因为
      subpage-common.js 用 is-open 类来控制开合，改类名会把 JS 弄坏。
   ========================================================================== */

/* ==========================================================================
   第 1 批外观（照 002「眼镜店官网_2026-10-07_网页」）
   002 是单文件中文站，这一批只搬它的**外观语言**：衬线标题 + 深蓝 hero 带。
   下面数值全部照抄 002 的内联 CSS，没有自己编：
     .hero-in padding:84px 0 / grid 1.1fr .9fr / gap 48px
     .hero-title 46px (->36 ->30) / .stat b 30px / .btn padding:12px 24px radius:6px
     .hero-visual img radius:14px + shadow 0 24px 60px rgba(0,0,0,.35)
   机制（三语 + 内容.xlsx + 生成器）不动。
   ========================================================================== */
h1, h2 { font-family: var(--serif); }

.hero {
  color: #fff;
  background-color: var(--navy-deep);
  background-image: radial-gradient(120% 90% at 12% 0%, rgba(47, 111, 191, .38), transparent 62%);
}
.hero__in {
  width: min(1160px, 92vw); margin-inline: auto;
  display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center;
  padding: 84px 0;
}
.hero__eyebrow { margin: 0 0 16px; font-size: 13px; letter-spacing: 3px; color: #cfe0f5; }
.hero__title { margin: 0; font-size: 46px; line-height: 1.25; font-weight: 700; color: #fff; }
.hero__sub { margin: 20px 0 30px; max-width: 520px; font-size: 16px; line-height: 1.75; color: #d7e3f2; }
.hero__actions { display: flex; gap: 14px; flex-wrap: wrap; }
.hero .btn {
  display: inline-flex; align-items: center; gap: 8px; padding: 12px 24px;
  border-radius: 6px; font-size: 15px; font-weight: 600; text-decoration: none;
  transition: background .2s ease, color .2s ease;
}
.hero .btn--primary { background: #fff; color: var(--navy-deep); }
.hero .btn--primary:hover { background: #eaf1fb; }
.hero .btn--ghost { border: 1px solid rgba(255, 255, 255, .6); color: #fff; }
.hero .btn--ghost:hover { background: rgba(255, 255, 255, .12); }
.hero__stats { display: flex; gap: 34px; margin-top: 40px; flex-wrap: wrap; }
.hero .stat b { display: block; font-family: var(--serif); font-size: 30px; font-weight: 700; }
.hero .stat span { font-size: 13px; color: #c3d4e8; }
.hero__visual { position: relative; }
.hero__visual img {
  display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover;
  border-radius: 14px; box-shadow: 0 24px 60px rgba(0, 0, 0, .35);
}
.hero__badge {
  position: absolute; left: -18px; bottom: 24px; padding: 12px 18px; border-radius: 10px;
  background: #fff; color: var(--navy-deep); font-size: 14px; font-weight: 600;
  box-shadow: 0 10px 30px rgba(0, 0, 0, .2);
}
.hero__badge small { display: block; margin-top: 2px; font-size: 12px; font-weight: 400; color: var(--muted); }
@media (max-width: 980px) {
  .hero__in { grid-template-columns: 1fr; gap: 36px; padding: 56px 0; }
  .hero__title { font-size: 36px; }
  .hero__badge { left: 12px; }
}
@media (max-width: 640px) {
  .hero__in { padding: 40px 0; }
  .hero__title { font-size: 30px; }
  .hero__stats { gap: 22px; }
}

/* ---------- 顶栏：字重与间距（OWNDAYS 那种干净加粗的横排） ---------- */
.site-header nav { gap: clamp(16px, 2.2vw, 34px); }
.site-header nav > a,
.site-header nav .nav-drop__trigger {
  font-size: 15px;
  font-weight: 800;
  letter-spacing: .01em;
  color: var(--navy);
  padding: 6px 1px;
  border-bottom: 2px solid transparent;
  transition: border-color .18s, color .18s;
}
.site-header nav > a:hover,
.site-header nav .nav-drop__trigger:hover,
.site-header nav .nav-drop.is-open .nav-drop__trigger {
  color: var(--navy);
  border-bottom-color: var(--teal);
}
/* 顶栏里不再用那些小图标（OWNDAYS 也没有） */
.site-header nav > a > svg,
.site-header nav .nav-drop__trigger > svg { display: none; }

/* ---------- 顶栏右侧：醒目的 WhatsApp 按钮（OWNDAYS 那个按钮的位置） ---------- */
.header-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 42px;
  padding: 0 18px;
  border-radius: 6px;
  background: var(--navy);
  color: #fff;
  font-size: 14px;
  font-weight: 800;
  text-decoration: none;
  white-space: nowrap;
}
.header-cta:hover { background: var(--teal); color: #fff; }
.header-cta svg { width: 16px; height: 16px; flex: none; fill: currentColor; }

/* ---------- 镜片大菜单（多列，OWNDAYS 那种一屏列很多项） ---------- */
.nav-drop__menu--mega {
  min-width: 620px;
  max-width: min(92vw, 680px);
  padding: 20px 24px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px 26px;
}
.mega-col { display: flex; flex-direction: column; }
.mega-col + .mega-col {
  border-left: 1px solid var(--line);
  padding-left: 26px;
}
.nav-drop__menu--mega a {
  padding: 11px 8px;
  font-size: 14.5px;
  font-weight: 700;
  justify-content: flex-start;
}
/* 桌面上左右两列的对齐不要被 space-between 拉散 */
.nav-drop__menu--mega a > span { flex: 1; text-align: left; }

/* ---------- 第 2 批：OWNDAYS 式「5 个顶级 + 分栏大菜单」（002 的 9 个入口全在菜单里） ---------- */
/* 顶级从 6 项减到 5 项、每项更短，间距给足；1280px 实测只占 ~420px，右侧 CTA 与语言选择器都放得下 */
.site-header nav { gap: clamp(18px, 2.4vw, 40px); }
/* 当前所在页：下划线常驻（002 与 OWNDAYS 都有这个细节） */
.site-header nav > a.is-current,
.site-header nav .nav-drop__trigger.is-current { border-bottom-color: var(--navy); }
/* 三列大菜单（两个产品栏 + 一个辅助栏）要比两列更宽 */
.nav-drop__menu--wide {
  min-width: 700px;
  max-width: min(94vw, 790px);
  grid-template-columns: 1fr 1fr auto;
}
/* 辅助栏（FAQ / 关于 / 导航）：小一号、灰一点，和产品栏区分开 —— OWNDAYS 右侧那栏就是这个作用 */
.mega-col--aside a { font-size: 14px; font-weight: 600; color: var(--muted); }
.mega-col--aside a:hover { color: var(--navy); }

@media (max-width: 1180px) {
  .nav-drop__menu--mega { min-width: 520px; }
  .nav-drop__menu--wide { min-width: 600px; }
}
@media (max-width: 980px) {
  /* 窄屏走抽屉面板：分栏一律改成单列，辅助栏不再缩小 */
  .nav-drop__menu--wide { grid-template-columns: 1fr; }
  .mega-col--aside a { font-size: 15px; font-weight: 600; color: inherit; }
}

/* 980px 以下顶栏本来就隐藏导航（旧版就这样），大菜单跟着失效；
   这里只保证右侧的 WhatsApp 按钮还在。 */
@media (max-width: 980px) {
  .nav-drop__menu--mega { min-width: 0; max-width: none; }
  .header-cta { height: 38px; padding: 0 14px; font-size: 13px; }
}
@media (max-width: 640px) {
  /* 手机上只留图标，免得顶栏挤爆 */
  .header-cta { padding: 0 12px; }
  .header-cta span { display: none; }
}

/* 第三张卡片的阶梯错位：原来靠 .package-card--499（translateY(36px)），
   现在第三档是 RM399 —— 补等价规则，视觉阶梯才不丢。 */
.package-card--399 { transform: translateY(36px); }
.package-card--399:hover,
.package-card--399:focus-within { transform: translateY(26px); }
@media (max-width: 980px) {
  .package-card--399 { transform: none; }
  .package-card--399:hover { transform: translateY(-4px); }
}

/* ===== 品牌镜架（3 个镜架品牌，镜片另配）—— 由表格「品牌镜架」页生成 ===== */
.frame-brands { padding: clamp(44px, 5vw, 74px) 0; background: var(--card); }
.frame-brands__inner { width: min(1120px, 92vw); margin-inline: auto; }
.frame-brands__head { display: grid; gap: 8px; margin-bottom: 24px; }
.frame-brands .eyebrow {
  margin: 0; color: var(--teal); font-size: 12px; letter-spacing: .16em;
  text-transform: uppercase; font-weight: 800;
}
.frame-brands__head h2 { margin: 0; font-size: clamp(21px, 2.4vw, 30px); color: var(--navy); }
.frame-grid { display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.frame-card {
  overflow: hidden; border: 1px solid var(--line); border-radius: 12px; background: var(--card);
}
.frame-card__media { aspect-ratio: 2 / 1; overflow: hidden; background: var(--paper); }
.frame-card__media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.frame-card h3 { margin: 14px 18px 0; font-size: 17px; color: var(--navy); letter-spacing: .01em; }
.frame-card p { margin: 6px 18px 18px; font-size: 13.5px; line-height: 1.55; color: var(--muted); }

/* ===== 限时优惠（去品牌名版）—— 文字由表格「文案」页生成 ===== */
.offer-band { padding: clamp(44px, 5vw, 74px) 0; background: var(--paper); }
.offer-band__inner { width: min(1120px, 92vw); margin-inline: auto; }
.offer-band__head { display: grid; gap: 8px; margin-bottom: 24px; max-width: 760px; }
.offer-band .eyebrow {
  margin: 0; color: var(--coral); font-size: 12px; letter-spacing: .16em;
  text-transform: uppercase; font-weight: 800;
}
.offer-band__head h2 { margin: 0; font-size: clamp(21px, 2.4vw, 30px); color: var(--navy); }
.offer-band__head > p:not(.eyebrow) { margin: 0; color: var(--muted); }
.offer-card {
  padding: clamp(22px, 2.6vw, 32px); border: 1px solid var(--line); border-left: 4px solid var(--coral);
  border-radius: 12px; background: var(--card); max-width: 760px;
}
.offer-card h3 { margin: 0; font-size: clamp(18px, 2vw, 24px); color: var(--navy); }
.offer-card > p { margin: 10px 0 0; color: var(--muted); }
.offer-card__facts { list-style: none; margin: 16px 0 0; padding: 0; display: grid; gap: 8px; }
.offer-card__facts li { font-size: 14px; color: var(--ink); }
.offer-card__facts span { color: var(--muted); margin-right: 10px; }
.offer-card__period { font-weight: 800; color: var(--navy) !important; margin-top: 14px !important; }
.offer-card__cta {
  display: inline-flex; align-items: center; justify-content: center;
  margin-top: 20px; height: 46px; padding: 0 24px; border-radius: 6px;
  background: var(--coral); color: #fff; font-weight: 800; text-decoration: none;
}
.offer-card__cta:hover { background: var(--navy); color: #fff; }

/* ===== 镜片库（七个按功能的系列）—— 内容由表格「镜片库」页生成 ===== */
.lens-library { padding: clamp(44px, 5vw, 74px) 0; background: var(--paper); }
.lens-library__inner { width: min(1120px, 92vw); margin-inline: auto; }
.lens-library__head { display: grid; gap: 8px; margin-bottom: 24px; }
.lens-library .eyebrow {
  margin: 0; color: var(--teal); font-size: 12px; letter-spacing: .16em;
  text-transform: uppercase; font-weight: 800;
}
.lens-library__head h2 { margin: 0; font-size: clamp(21px, 2.4vw, 30px); color: var(--navy); }
.lens-library__head > p:not(.eyebrow) { margin: 0; color: var(--muted); max-width: 70ch; }
.lib-grid { display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); }
.lib-card {
  display: flex; flex-direction: column; gap: 8px;
  padding: 20px; border: 1px solid var(--line); border-radius: 12px; background: var(--card);
}
.lib-card h3 { margin: 0; font-size: 16.5px; color: var(--navy); }
.lib-card p { margin: 0; font-size: 14px; line-height: 1.6; color: var(--muted); flex: 1; }
.lib-card__tags { font-size: 12.5px; font-weight: 800; color: var(--teal); }

/* ===== 镜片科普（折射率速查表）—— 内容由表格「镜片科普」页生成 ===== */
.lens-science { padding: clamp(44px, 5vw, 74px) 0; background: var(--card); }
.lens-science__inner { width: min(1000px, 92vw); margin-inline: auto; }
.lens-science__head { display: grid; gap: 8px; margin-bottom: 22px; }
.lens-science .eyebrow {
  margin: 0; color: var(--teal); font-size: 12px; letter-spacing: .16em;
  text-transform: uppercase; font-weight: 800;
}
.lens-science__head h2 { margin: 0; font-size: clamp(21px, 2.4vw, 30px); color: var(--navy); }
.lens-science__head > p:not(.eyebrow) { margin: 0; color: var(--muted); max-width: 72ch; }
.lens-science__table { width: 100%; border-collapse: collapse; margin-top: 22px; }
.lens-science__table th,
.lens-science__table td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--line); font-size: 14.5px; }
.lens-science__table thead th { color: var(--navy); font-weight: 800; background: var(--paper); }
.lens-science__table tbody th { color: var(--navy); font-weight: 800; }
.lens-science__table td { color: var(--muted); }
.lens-science__points { list-style: none; margin: 20px 0 0; padding: 0; display: grid; gap: 8px; }
.lens-science__points li { font-size: 14px; color: var(--muted); }
.lens-science__points li:before { content: "—"; color: var(--teal); font-weight: 800; margin-right: 8px; }

/* ===== 定制中心（四维定制 + 四步流程）—— 内容由表格「文案」页生成 ===== */
.custom-centre { padding: clamp(48px, 5.4vw, 84px) 0; background: var(--paper); }
.custom-centre__inner { width: min(1120px, 92vw); margin-inline: auto; }
.custom-centre__head { display: grid; gap: 8px; margin-bottom: 28px; max-width: 760px; }
.custom-centre .eyebrow {
  margin: 0; color: var(--teal); font-size: 12px; letter-spacing: .16em;
  text-transform: uppercase; font-weight: 800;
}
.custom-centre__head h2 { margin: 0; font-size: clamp(22px, 2.6vw, 34px); color: var(--navy); }
.custom-centre__head > p:not(.eyebrow) { margin: 0; color: var(--muted); }
.custom-dims { display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(228px, 1fr)); }
.custom-dim {
  display: flex; flex-direction: column; gap: 8px;
  padding: 20px; border: 1px solid var(--line); border-radius: 12px; background: var(--card);
}
.custom-dim h3 { margin: 0; font-size: 17px; color: var(--navy); }
.custom-dim p { margin: 0; font-size: 14px; line-height: 1.6; color: var(--muted); flex: 1; }
.custom-dim__tag { font-size: 12.5px; font-weight: 800; color: var(--teal); }
.custom-dim__tag:after { content: " →"; }
.custom-flow {
  margin-top: clamp(30px, 3.4vw, 46px); padding-top: clamp(24px, 2.8vw, 36px);
  border-top: 1px solid var(--line);
}
.custom-flow h3 { margin: 6px 0 0; font-size: clamp(19px, 2.1vw, 26px); color: var(--navy); }
.custom-flow__lead { margin: 8px 0 0; color: var(--muted); }
.custom-flow__cta {
  display: inline-flex; align-items: center; justify-content: center;
  margin-top: 22px; height: 46px; padding: 0 24px; border-radius: 6px;
  background: var(--navy); color: #fff; font-weight: 800; text-decoration: none;
}
.custom-flow__cta:hover { background: var(--teal); color: #fff; }
.custom-steps { list-style: none; margin: 22px 0 0; padding: 0; display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }
.custom-steps li { display: flex; gap: 12px; align-items: flex-start; }
.custom-step__num {
  flex: none; width: 34px; height: 34px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--navy); color: #fff; font-size: 13px; font-weight: 800;
}
.custom-steps b { display: block; font-size: 15.5px; color: var(--navy); }
.custom-steps small { display: block; margin-top: 3px; font-size: 13px; line-height: 1.55; color: var(--muted); }

/* ===== FAQ 专区（到店前 / 镜片保养）：标题与问答列表对齐 ===== */
.faq-block { max-width: 780px; margin: 0 auto; }
.faq-block h2 { margin: 6px 0 0; font-size: clamp(22px, 2.6vw, 32px); color: var(--navy); }
.faq-block .eyebrow {
  margin: 0; color: var(--teal); font-size: 12px; letter-spacing: .16em;
  text-transform: uppercase; font-weight: 800;
}
.faq-block > p:not(.eyebrow) { margin: 10px 0 0; color: var(--muted); }
.faq-block .faq-list { margin-top: 22px; }

/* ===== RM1 优惠带（内容由表格「文案」页生成） ===== */
.promo-band { background: var(--navy); color: #fff; padding: clamp(28px, 3.4vw, 46px) 0; }
.promo-band__inner {
  width: min(1120px, 92vw); margin-inline: auto;
  display: grid; grid-template-columns: 1fr auto; gap: 24px; align-items: center;
}
.promo-band h2 { margin: 0; font-size: clamp(24px, 3vw, 38px); letter-spacing: -.01em; }
.promo-band__sub { margin: 8px 0 0; font-size: clamp(15px, 1.5vw, 19px); font-weight: 700; color: var(--mint); }
.promo-band__text p { margin: 10px 0 0; color: rgba(255, 255, 255, .86); max-width: 62ch; }
.promo-band__points { list-style: none; margin: 14px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 20px; }
.promo-band__points li { font-size: 13.5px; color: rgba(255, 255, 255, .84); }
.promo-band__points li:before { content: "✓"; color: var(--mint); margin-right: 6px; font-weight: 800; }
.promo-band__cta {
  align-self: center; display: inline-flex; align-items: center; justify-content: center;
  height: 48px; padding: 0 26px; border-radius: 6px;
  background: var(--teal); color: #fff; font-weight: 800; text-decoration: none; white-space: nowrap;
}
.promo-band__cta:hover { background: var(--mint); color: var(--navy); }
@media (max-width: 760px) {
  .promo-band__inner { grid-template-columns: 1fr; gap: 18px; }
}

/* ===== 入门镜框（内容由表格「套餐」页生成） ===== */
.entry-tiers { padding: clamp(44px, 5vw, 74px) 0; background: var(--card); }
.entry-tiers__head, .entry-grid { width: min(1120px, 92vw); margin-inline: auto; }
.entry-tiers__head { margin-bottom: 26px; display: grid; gap: 8px; }
.entry-tiers__head h2 { margin: 0; font-size: clamp(20px, 2.2vw, 28px); color: var(--navy); }
.entry-tiers__head > p { margin: 0; color: var(--muted); max-width: 68ch; }
.entry-tiers__head .eyebrow {
  color: var(--teal); font-size: 12px; letter-spacing: .16em; text-transform: uppercase; font-weight: 800;
}
.entry-grid { display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(232px, 1fr)); }
.entry-card {
  display: flex; align-items: flex-start; gap: 14px; padding: 14px; text-align: left; cursor: pointer;
  min-height: 112px;                     /* 等高：否则说明行数不同，价格就会错位 */
  border: 1px solid var(--line); border-radius: 12px; background: var(--card);
  color: var(--ink); font: inherit;
  transition: border-color .2s, box-shadow .2s, transform .2s;
}
.entry-card:hover, .entry-card:focus-within {
  border-color: var(--teal); box-shadow: 0 14px 30px rgba(15, 35, 70, .10); transform: translateY(-3px);
}
.entry-card__thumb {
  position: relative; flex: none; width: 76px; height: 58px; border-radius: 8px; overflow: hidden;
  background: var(--light); display: grid; place-items: center;
}
.entry-card__thumb img { width: 100%; height: 100%; object-fit: cover; }
.entry-card__tag {
  position: absolute; left: 4px; bottom: 4px; background: var(--navy); color: #fff;
  font-size: 9.5px; font-weight: 800; padding: 2px 6px; border-radius: 4px; letter-spacing: .04em;
}
.entry-card__info { display: grid; gap: 2px; min-width: 0; }
.entry-card__info strong { font-size: 21px; color: var(--navy); line-height: 1.1; }
.entry-card__info b { font-size: 14.5px; color: var(--ink); }
.entry-card__info small { font-size: 12.5px; color: var(--muted); line-height: 1.45; }
.entry-card__arrow { margin-left: auto; color: var(--teal); font-weight: 800; flex: none; }

/* ==========================================================================
   手机端导航（<980px）
   旧版是直接把导航整个隐藏 → 手机上等于没有导航（顾客只能自己翻页面）。
   做法：同一个 <nav> 在窄屏变成从顶部落下的面板，靠 .site-header.nav-open 开合；
   下拉在窄屏里不悬浮，直接在原地展开。**零重复标记**。
   ========================================================================== */
.nav-toggle { display: none; }

@media (max-width: 980px) {
  .nav-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    flex: none;
    border: 1px solid var(--line);
    border-radius: 6px;
    background: #fff;
    color: var(--navy);
    cursor: pointer;
  }
  .nav-toggle svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }

  /* 覆盖旧版的 .site-header nav{display:none} */
  .site-header nav {
    display: flex;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    z-index: 20;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 0;
    background: #fff;
    border-bottom: 1px solid var(--line);
    box-shadow: 0 22px 44px rgba(15, 35, 70, .18);
    max-height: 0;
    overflow: hidden;
    padding: 0 clamp(18px, 4vw, 32px);
    transition: max-height .28s ease, padding .28s ease;
  }
  .site-header.nav-open nav { max-height: 78vh; overflow-y: auto; padding: 8px clamp(18px, 4vw, 32px) 20px; }

  .site-header nav > a,
  .site-header nav .nav-drop__trigger {
    width: 100%;
    justify-content: space-between;
    padding: 15px 0;
    font-size: 16px;
    border-bottom: 1px solid var(--line);
  }
  .site-header nav > a:hover,
  .site-header nav .nav-drop__trigger:hover { border-bottom-color: var(--line); }
  .site-header nav > a:last-child { border-bottom: 0; }

  /* 下拉在窄屏 = 原地展开的列表，不是悬浮层 */
  .nav-drop__menu,
  .nav-drop__menu--mega {
    position: static;
    transform: none;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    display: none;
    grid-template-columns: 1fr;
    gap: 0;
    min-width: 0;
    max-width: none;
    width: auto;
    padding: 2px 0 10px 14px;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    background: transparent;
  }
  .nav-drop__menu::before { display: none; }
  .nav-drop.is-open .nav-drop__menu { display: grid; }
  .nav-drop__menu a,
  .nav-drop__menu--mega a { padding: 12px 0; font-size: 15px; font-weight: 600; }
  .mega-col + .mega-col { border-left: 0; padding-left: 0; }
}

/* ==========================================================================
   很窄的手机（<=640px）：顶栏放不下 品牌+WhatsApp+语言+汉堡 四项，会被挤出边界。
   改成两行：第一行 品牌 / 语言 / 汉堡，第二行一整条 WhatsApp 按钮（顺便更显眼）。
   用 display:contents 把 .header-actions 拆成网格项 —— 还是零重复标记。
   ========================================================================== */
@media (max-width: 640px) {
  .site-header {
    grid-template-columns: auto 1fr auto;
    grid-template-areas: "brand lang toggle" "cta cta cta";
    row-gap: 8px;
    padding: 10px 18px;
  }
  .brand { grid-area: brand; }
  .header-actions { display: contents; }
  .language-select { grid-area: lang; justify-self: end; }
  .language-select select {
    width: auto;
    min-width: 104px;
    max-width: 44vw;
    padding: 0 26px 0 32px;
    font-size: 13px;
  }
  .nav-toggle { grid-area: toggle; }
  .header-cta {
    grid-area: cta;
    justify-self: stretch;
    justify-content: center;
    height: 40px;
  }
  /* 有整行空间了，把文字放回来（覆盖上面那条"只留图标"） */
  .header-cta span { display: inline; }
}

/* Shared topic navigation */
@media(min-width:981px){
  .site-header nav .nav-drop:last-child #nav-menu-4{left:50%;right:auto;transform:translate(-50%,-6px)}
  .site-header nav .nav-drop:last-child:hover #nav-menu-4,
  .site-header nav .nav-drop:last-child.is-open #nav-menu-4,
  .site-header nav .nav-drop:last-child:focus-within #nav-menu-4{transform:translate(-50%,0)}
}
.nav-topic{display:flex;align-items:center;gap:5px}.nav-expand{width:26px;height:32px;display:grid;place-items:center;background:transparent;border:0;color:var(--navy);cursor:pointer;padding:0;flex:none}.nav-expand:focus-visible{outline:2px solid var(--teal);outline-offset:2px}.nav-drop__trigger{white-space:nowrap}.site-header nav{gap:20px}.mega-col{min-width:0}.nav-drop__menu--mega a{white-space:normal}.site-header nav .nav-drop:last-child .nav-drop__menu{left:auto;right:0;transform:translateY(-6px)}.site-header nav .nav-drop:last-child:hover .nav-drop__menu,.site-header nav .nav-drop:last-child.is-open .nav-drop__menu,.site-header nav .nav-drop:last-child:focus-within .nav-drop__menu{transform:translateY(0)}
.site-header .nav-drop__menu--single{grid-template-columns:1fr;min-width:280px;width:320px;max-width:90vw}
@media(max-width:980px){.site-header .nav-drop__menu--single{min-width:0;width:100%;max-width:none}}
.topic-links{max-width:1160px;margin:32px auto;display:flex;gap:12px;flex-wrap:wrap;padding:0 20px}.topic-links a{color:var(--navy);border-bottom:1px solid var(--teal);padding:8px 0;margin-right:20px}.topic-copy{max-width:1160px;margin:0 auto;padding:32px 20px 56px;line-height:1.8}.topic-copy img{display:block;width:min(100%,540px);aspect-ratio:4/3;object-fit:cover;margin-bottom:24px}.topic-copy .custom-dims{margin-top:24px}.topic-main{min-height:60vh}
@media(max-width:1180px) and (min-width:981px){.site-header{gap:14px}.site-header nav{gap:10px}.site-header nav .nav-drop__trigger{font-size:14px}.header-actions{gap:8px}.header-actions .language-select select{max-width:110px}.header-cta{padding:0 12px}}
@media(max-width:980px){.nav-topic{justify-content:space-between;width:100%}.nav-expand{width:44px;height:44px}.nav-drop__menu--mega,.nav-drop__menu--wide{grid-template-columns:1fr}.site-header nav .nav-drop:last-child .nav-drop__menu{transform:none}.site-header nav{gap:0}.nav-drop:not(.is-open) .nav-drop__menu{display:none!important}.nav-drop.is-open .nav-drop__menu{display:grid!important}}

.topic-heading{width:min(1160px,92%);margin:auto}.topic-main .subpage-hero h1{font-size:46px;overflow-wrap:break-word}@media(max-width:640px){.topic-main .subpage-hero h1{font-size:30px}}

/* Unified Special Offers overview: shared media and copy rhythm. */
.offers-index {
  padding: 48px 0 64px;
  background: #fff;
}
.offers-index__grid {
  width: min(1440px, 92%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
}
.offers-index__card {
  min-width: 0;
  display: grid;
  grid-template-rows: auto 1fr;
  color: #173b65;
  text-decoration: none;
}
.offers-index__card img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 7px;
  background: #f4f7f9;
}
.offers-index__copy {
  display: grid;
  grid-template-rows: minmax(54px, auto) minmax(48px, auto);
  align-content: start;
  padding-top: 20px;
}
.offers-index__copy h2 {
  align-self: start;
  margin: 0;
  color: #173b65;
  font-size: 25px;
  line-height: 1.35;
  letter-spacing: 0;
}
.offers-index__copy p {
  margin: 8px 0 0;
  color: #173b65;
  font-size: 15px;
  line-height: 1.6;
}
.offers-index__card:hover h2,
.offers-index__card:focus-visible h2 {
  color: #07969e;
}
.offers-index__card:focus-visible {
  outline: 2px solid #07969e;
  outline-offset: 6px;
}
@media (max-width: 900px) {
  .offers-index__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 620px) {
  .offers-index { padding: 34px 0 46px; }
  .offers-index__grid { grid-template-columns: 1fr; gap: 34px; }
  .offers-index__copy { grid-template-rows: auto auto; padding-top: 16px; }
  .offers-index__copy h2 { font-size: 23px; }
}
