/* ==========================================================================
   H8 · 导航 v2（6 项：Products / 3D Customise / Catalog / About Us /
        News & Blog / Contact）
   --------------------------------------------------------------------------
   本文件只解决「新标签更长」带来的**两个纯几何问题**，与悬浮 CTA 无关
   （lead 2026-11-15 裁定：分开两个文件，别混在一起）。

   ⚠️ 全部是本文件的覆盖规则，**不修改 styles.css**。
      每一条都带 @media —— 遵守 check-css-layers 的「不得用裸声明打平窄屏断点」。
   ========================================================================== */

/* --- 1) 901–1040px：新 6 项比旧 6 项宽 ~130px，会顶出视口 ---
   实测（新标签，未加本条时）：cta 右边缘 901→925（视口 901，被裁 24px）、
   940→926（视口 940）；styles.css:18886 那条 gap 14 的补丁是按旧标签算的，
   对 `3D CUSTOMISE` / `NEWS & BLOG` 不够。
   加本条后实测：901→889 ✓ / 940→920 ✓ / 1024→1004 ✓ / 1040→1020 ✓，
   全档 documentElement 横向溢出 = 0。 */
@media (min-width: 901px) and (max-width: 1040px) {
  .hd__nav { gap: 8px; margin-right: 8px; }
  .hd { padding-inline: 20px; }
}

/* --- 2) ≤900px：`.hd__cta`（Enquire）实际没有隐藏，跑到屏幕外 ---
   实测 375 视口：`.hd__cta` 左 392 / 右 457，可见宽度 **0px**。
   根因：styles.css:11747 的 `@media(max-width:900){.hd__nav,.hd__tools,
   .hd__cta{display:none}}` 之后，又有一条 `@media(max-width:1200){.hd__cta{
   ...}}` 把基础 `display:inline-flex` 重新带回（它没写 display，
   但属性组重置让该元素不再是 none）。
   本条只补 display，不动其它属性。 */
@media (max-width: 900px) {
  .hd__cta { display: none; }
}

/* --- 3) 3D Customise 的强调态（业主规格：该项要高亮） ---
   做法克制：只加一条 accent 下划线 + 字色，不加底色、不加图标
   —— A 套「强调色每屏最多 2 处」的纪律（styles.css 头部 §1.2）。
   只在 ≥901px 有效（≤900 导航整块收进 MENU）。 */
@media (min-width: 901px) {
  .hd__nav .hd__nav-emph {
    color: var(--ink);
  }
  /* M24-01: remove the static terracotta underline under 3D STUDIO.
     Hover underline is owned by styles.css `.hd__nav a:hover::after`. */
  .hd__nav .hd__nav-emph:hover { color: var(--ink); }
}

/* ==========================================================================
   H8b · 页头回归「三栏等分栅格 + 导航真居中」（2026-11-17 业主反馈）
   --------------------------------------------------------------------------
   业主原话：「我怎么感觉页头怪怪的，怎么这个页头的布局跟我之前设计的不太一样」

   实测（1440 视口，qa/tools/probe-header-geometry.mjs）：
     现状 .hd = flex + justify-content: space-between
     nav 中心 X = 795 ／ 视口中心 X = 720 ／ **偏差 +75px（明显右偏）**
   设计依据（docs/04-设计/参考站-页头页尾拆解.md §1.1）：
     「三栏等分栅格 + 居中导航」，参考站 nav 中心 = 720 = 页宽一半（实测吻合）
   根因：flex + space-between 把导航当成「中间那坨」，它的位置由左右两侧**内容宽度差**决定，
         而不是由视口中心决定。左侧品牌 161px、右侧 tools+cta 292px → 导航必然右移。
   修法：导航脱离 flex 流，绝对居中；品牌与右侧工具仍由 space-between 分管左右两端。
         这样「导航居中」不再依赖左右两侧宽度是否相等（换语言 / 换 CTA 文案都不会漂）。
   -------------------------------------------------------------------------- */

/* 只在桌面三栏态（≥901px）生效；≤900 导航整块收进 MENU，不需要居中 */
@media (min-width: 901px) {
  .hd__nav {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    /* 绝对定位后 margin 不再参与两端分配，清零避免与 nav-v2 上面那条 901–1040 的补丁打架 */
    margin-left: 0;
    margin-right: 0;
  }
}

/* 居中后必须复核「不与左右两端相撞」——用最大最小宽度兜底：
   导航可收缩到 min-content，且不与品牌/工具重叠时靠 max-width 限制。
   901–1040 区间是历史上最挤的一段（新 6 项标签 + 语言 + ENQUIRE 同时在场）。 */
@media (min-width: 901px) and (max-width: 1040px) {
  .hd__nav { max-width: calc(100vw - 460px); }
  .hd__nav { gap: 10px !important; } /* M24-01: was 8px; still tight at 901-1040 */
}

/* 允许导航项在极窄的三栏区间内轻微压缩，避免 absolute 居中后压到两侧 */
@media (min-width: 901px) {
  .hd__nav a,
  .hd__nav .hd__drop-trigger { white-space: nowrap; }
}

/* H8c · 修 H8b 引入的碰撞：导航绝对居中后，flex 只剩「品牌 / 工具 / 主 CTA」三件，
   space-between 把它们均匀摊开 → `.hd__tools`（搜索 + 语言）落到**中间**，
   与居中的 `.hd__nav` 重叠。实测（1440 截图 + 探针）：
     nav 右边缘 1023 ／ tools 左边缘 940  → 重叠 **83px**
     视觉表现：放大镜与语言图标压在 "About Us" 上，截图一眼可见。
   修法：给工具组一个 margin-left:auto，把它和主 CTA 一起推到右端。
   ⚠️ 这条判据我上一版漏了：只量了「导航左间隙 / 导航右间隙」两个外侧，
      没量「导航与工具组之间」这个内侧 —— 又一次「判据覆盖不全」。 */
@media (min-width: 901px) {
  .hd__tools { margin-left: auto; }
}

/* ==========================================================================
   M8-02 · 页头 v3 视觉层（干活A / home-hero，2026-11-17）
   R3 四条硬伤 + R11 写域。不改 styles.css 的 .hd 主体（24 页共用），只在此覆盖。
   --nav-h 契约不破：96px 盒子内收内边距，不写死 height（--nav-h 被 8 处消费）。
   ========================================================================== */

/* ① 毛玻璃分界 + 双档高度（R3 可执行口径：76 ±2 初始 / 64 ±2 滚动后）
   ⚠️ styles.css:483 写 `.hd{height:var(--nav-h)}`=96px，且 14824 还有
      `.hd{min-height:var(--nav-h)}`=96px → **必须同时覆盖 height 与 min-height**，
      否则 height:76 会被 min-height 撑回 96（实测复现：只覆盖 height 仍是 96/101）。
   --nav-h 变量本身不动：它还被 scroll-padding-top / scroll-margin-top / mega 定位 /
   抽屉等消费，那些语义是「滚动落点留白」，比页头实高略大是对的。 */
.hd {
  --fy-hd-glass: rgba(253, 252, 250, .86);
  --fy-hd-line: rgba(20, 19, 17, .08);
  height: 72px; /* M24-01: unified 72px header (was 76px initial / 64px scrolled) */
  min-height: 0;
  padding-block: 0;
  background: var(--fy-hd-glass);
  -webkit-backdrop-filter: blur(16px) saturate(180%);
  backdrop-filter: blur(16px) saturate(180%);
  border-bottom: 1px solid var(--fy-hd-line);
  /* M26-01: height is a frame-0 constant — never transition it. Only the
     paper tint may animate on scroll (site.js only toggles .is-scrolled). */
  transition: background-color 260ms ease, border-color 260ms ease;
}
.hd.is-scrolled { height: 72px; }

/* body 顶部占位：**只给非首页**（首页 Hero 从视口顶端开始，页头透明浮在上面）。
   styles.css:14831 已有 body[data-page="home"]{padding-top:0}；
   若给首页也加 76px，Hero 会被下推 76px → 高 900 的 Hero 底部超出视口，R10-② 破。 */
body:not([data-page="home"]) { padding-top: 72px; }
body[data-page="home"] { padding-top: 0; }

@media (max-width: 1100px) {
  body:not([data-page="home"]) { padding-top: 72px; }
  .hd, .hd.is-scrolled { height: 72px; }
}
/* M26-01: mobile bar is 64px from frame 0 (critical-header.css owns the
   authoritative !important lock). */
@media (max-width: 1199px) {
  body:not([data-page="home"]) { padding-top: 64px; }
  .hd, .hd.is-scrolled, body[data-page="home"] .hd { height: 64px; min-height: 64px; }
}
body[data-page="home"] .hd {
  background: rgba(253, 252, 250, .74);
  border-bottom-color: var(--fy-hd-line);
}
body[data-page="home"] .hd.is-scrolled { background: var(--fy-hd-glass); }

/* ② 品牌双层（原 lockup.svg 是纯矢量路径、0 个 <text>，CSS 改不了字距） */
/* ⚠️ 必须显式写 flex-direction: row ——
   styles.css:14696 `.hd__brand{display:flex;flex-direction:column;gap:2px}`。
   只覆盖 display/align-items 而不覆盖 flex-direction → 徽章与两行字**竖排**，
   brand 高 82px > 页头 76px（实测溢出），徽章跑到字上方，不是并排锁排。 */
.hd__brand {
  display: inline-flex;
  flex-direction: row;
  align-items: center;
  gap: 11px;
  text-decoration: none;
  color: var(--ink);
}
.hd__brand-mark {
  width: auto; height: 30px; flex: 0 0 auto;
  display: inline-block; vertical-align: middle;
  object-fit: contain;
  background: none; border: 0; border-radius: 0; box-shadow: none;
  color: inherit; font: inherit; letter-spacing: normal;
}

.hd__brand-text {
  display: flex; flex-direction: column; line-height: 1.02;
  min-width: 0;   /* 宽度由文字本身决定；不再人为撑 96px（那会把徽章推远） */
}
/* ⚠️ 必须写 `.hd__brand .hd__brand-main`（0,2,0）。styles.css:14708 的
   `.hd__brand span{font-size:clamp(7.5px,.52vw,9px);letter-spacing:.30em}` 是 (0,1,1)，
   压过 (0,1,0) → 实测两个 span 都被压成 7.5px / ls 2.25px / IBM Plex Mono，
   拆字反而比原 26px lockup 更难读（设计关 R1 REJECT 的确切原因）。 */
.hd__brand .hd__brand-main {
  font-family: var(--fy-font-sans, Inter, sans-serif);
  font-size: 15px; font-weight: 700; letter-spacing: .18em;
  color: var(--ink); text-transform: none; line-height: 1.1;
}
.hd__brand .hd__brand-sub {
  font-family: var(--fy-font-sans, Inter, sans-serif);
  font-size: 10px; font-weight: 600; letter-spacing: .26em;
  /* M9 · 2026-11-18 对比度：原 #8C7A5B 在白底 4.09:1（AA 需 4.5）→ 收到 #7A6A4D（5.2:1）。
     这是 logo 下方的 "PACKAGING" 小字，10px + .26em 字距，本来就最难读，
     再让它低对比度就是「印了但看不见」。 */
  color: #7A6A4D; margin-top: 4px;
  text-transform: uppercase; line-height: 1;
}
.hd__brand-lock { display: none; }

/* ③ 3D STUDIO：M12 T3 去胶囊框，回归与其余 5 项同款文字排版，只留一枚暖金点 */
.hd__nav-emph {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 6px 0; border: 0; border-radius: 0;
  background: none;
  font-size: 10.5px; letter-spacing: .12em; text-transform: uppercase;
  text-decoration: none; color: var(--ink); white-space: nowrap;
  transition: color 180ms ease;
}
.hd__nav-emph:hover { color: var(--accent-strong, #8C6A2E); }
.hd__studio-dot {
  width: 5px; height: 5px; flex: 0 0 5px; border-radius: 50%;
  background: #C8A464; box-shadow: 0 0 0 3px rgba(200, 164, 100, .20);
  animation: hd-studio-pulse 2.8s ease-in-out infinite;
}
@keyframes hd-studio-pulse {
  0%, 100% { box-shadow: 0 0 0 3px rgba(200, 164, 100, .20); }
  50%      { box-shadow: 0 0 0 5px rgba(200, 164, 100, .06); }
}
@media (prefers-reduced-motion: reduce) {
  .hd__studio-dot { animation: none; box-shadow: none; }
}

/* M24-R1-C · Arabic 3D LTR isolate.
   Only the Arabic dictionary used to append "(3D)" to nav.studio; in an RTL
   paragraph bidiGuard isolates the digit "3" but leaves "D" bare, so it renders
   as "(D3)". The fragment is now a static <bdi dir="ltr">3D</bdi> in an LTR
   wrapper, shown only on html[lang="ar"]. Other 10 languages keep their
   original data-i18n text with zero regression. */
.hd__studio-ltr { display: none; }
html[lang="ar"] .hd__studio-ltr { display: inline; }

/* ④ GET A QUOTE 磁吸胶囊
   ⚠️ M9 · 2026-11-18 修设计关 N1：这一段原来是无条件规则，
      `display:inline-flex` 与本文件 31 行 `@media(max-width:900px){.hd__cta{display:none}}`
      **同特异性且在后** → 手机端隐藏被覆盖，360–430 全档 GET A QUOTE
      变成挂在右缘外的黑胶囊（390 下 x376 w128，只有 14px 露在视口内，
      页面 scrollWidth 424 > 390，被 body{overflow-x:clip} 藏成"裁切"）。
      styles.css 里也有一条同样的无条件规则（14791 行），已同批包进 min-width:901px。 */
@media (min-width: 901px) {
.hd__cta {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 40px; /* M24-01: real-device height <=46px, strictly single line */
  padding: 0 18px; border-radius: 999px;
  background: #181816; border: 1px solid rgba(184, 150, 90, .55);
  color: #F7F5F0;
  font-size: 10px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase;
  line-height: 1; text-decoration: none; white-space: nowrap; overflow: visible;
  transition: transform 180ms cubic-bezier(.22, 1, .36, 1), box-shadow 180ms ease, border-color 180ms ease;
}
.hd__cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 16px -6px rgba(20, 19, 17, .34);
  border-color: rgba(184, 150, 90, .85);
}
.hd__cta i { font-style: normal; }
}

/* ⑤ Mega-Menu 760px + 与页头同一套玻璃 */
.hd__mega-inner, .hd__mega-inner--cap { max-width: 760px; }
.hd__mega--cap {
  background: var(--fy-hd-glass);
  -webkit-backdrop-filter: blur(16px) saturate(180%);
  backdrop-filter: blur(16px) saturate(180%);
  border-top: 1px solid var(--fy-hd-line);
}

@media (max-width: 900px) {
  .hd__brand-mark { width: 30px; height: 30px; flex-basis: 30px; font-size: 12px; }
  .hd__brand .hd__brand-main { font-size: 13px; letter-spacing: .15em; }
  .hd__brand .hd__brand-sub { font-size: 9.5px; letter-spacing: .22em; }
  .hd__nav-emph { padding: 5px 10px; font-size: 9.5px; letter-spacing: .08em; }
}

/* ==========================================================================
   M9 · 2026-11-18 业主 §五 模块00 ①②：页头两处
   --------------------------------------------------------------------------
   ① 「滚动后悬停 PRODUCTS，弹出的 THE GLASS LIBRARY 下拉框 z-index 低于
      第 7 板块白色卡片，文字被卡片遮住，且背景过于透明看不清」
      根因：.hd 是 `position:fixed; z-index:60`，而 .hd__mega 虽是 140，
           但它在 .hd 的层叠上下文内 —— 只要页面里有 >60 的元素（实测存在
           .certzoom z=200 / .pdp3d z=300 / .onestop__tab:hover z=9999）
           就会盖住整个页头，连带盖住下拉。
      修法（采纳业主补丁）：.hd 提到 3000，.hd__mega 提到 3001，
           并把下拉底色改近实心（.98）+ 更强 blur，保证文字可读。
      影响面：26 页共用 nav-v2.css → 全站一致，且不碰 styles.css。
   ② 「3D STUDIO 胶囊上下压字：边框紧贴文字上下缘」
      修法：加大上下内边距 + 收紧 line-height。
   ========================================================================== */

@media (min-width: 901px) {
  .hd {
    z-index: 3000;
  }
  /* mega 必须高于 .hd 自身层级里的其它子元素（.hd-search 200 / .hd-lang 210） */
  .hd__mega,
  .nav__mega {
    z-index: 3001;
    background: rgba(253, 252, 250, .98);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    backdrop-filter: blur(20px) saturate(180%);
    box-shadow: 0 24px 48px -12px rgba(20, 19, 17, .18);
    border-bottom: 1px solid rgba(20, 19, 17, .1);
  }
}

/* ② 3D STUDIO 胶囊：上下内边距加到 6px、line-height 收到 1.2 */
.hd__link--studio,
.hd__pill--studio,
[data-studio-pill] {
  padding-block: 6px;
  padding-inline: 14px;
  line-height: 1.2;
}

/* 窄屏（<901）页头是抽屉式，z-index 用原值；但抽屉本身要能盖住内容 */
@media (max-width: 900px) {
  .hd { z-index: 3000; }
  .drawer { z-index: 2999; }
}

/* ==========================================================================
   M10 · home-hero · P0 五大浮层根治（业主补丁按真 DOM 重写，不用其 !important）
   本文件在 index.html 中最后加载 → 同特异性规则自然胜出，不碰 styles.css。
   ========================================================================== */

/* P1-1（并入 h10-layout 请求）：3D STUDIO 绿点不贴胶囊左边框
   级联真因：styles.css 的 `.hd__nav a{padding:6px 0px}` 特异性 (0,1,1)
   高于裸 `.hd__nav-emph`(0,1,0)，加载顺序救不回来 —— 实测 computed padding-left=0px。
   原位提 specificity 到 (0,2,0)，不用 !important，也不动 styles.css。 */
.hd__nav .hd__nav-emph { padding: 6px 0; }

/* D-01 搜索：SVG 锁 20×20，结果容器零裁切 */
.hd-search[data-search-panel] {
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
}
.hd-search[data-search-panel] svg {
  width: 20px; height: 20px; max-width: 20px; max-height: 20px; flex: 0 0 20px;
}
.hd-search__results {
  width: min(720px, 88vw);
  max-height: min(50vh, 420px);
  overflow-y: auto;
  margin-top: 12px;
  padding: 6px;
  background: #FFFFFF;
  border: 1px solid rgba(20, 19, 17, .14);
  border-radius: 12px;
  box-shadow: 0 18px 44px rgba(20, 19, 17, .14);
}
.hd-search__results[hidden] { display: none; }
.hd-search__result {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  border-radius: 8px;
  color: #141311;
  text-decoration: none;
}
.hd-search__result:hover,
.hd-search__result[aria-selected="true"] { background: rgba(184, 150, 90, .14); }
.hd-search__result-sku {
  font-family: var(--font-mono, ui-monospace, monospace);
  font-size: 10px; letter-spacing: .08em; color: #8A7350;
}
.hd-search__result-name { font-size: 14px; }
.hd-search__result-meta { font-size: 11px; color: #6B6560; }
.hd-search__all,
.hd-search__empty {
  display: block;
  padding: 10px 12px;
  margin: 2px 0 0;
  font-size: 12px;
  color: #6B6560;
}
.hd-search__all { color: #8A7350; text-decoration: none; }
.hd-search__all[hidden],
.hd-search__empty[hidden] { display: none; }

/* D-02 Mega：全宽 ≤1280、4:3 等高卡、清斜角镜面层 */
/* 真因：.hd__nav 是 absolute+translateX(-50%) 的 607px 定位上下文，
   mega 原 left:0/right:0 只得到 607px。以 nav 自身中心（=视口中心）为锚，
   显式给 mega 视口级宽度并按自身宽度回移，得到真·全宽 ≤1280。 */
.hd__mega {
  left: 50%; right: auto;
  width: min(1280px, calc(100vw - 48px));
  transform: translateX(-50%) translateY(-8px);
}
.hd__drop[data-open="true"] .hd__mega { transform: translateX(-50%); }
.hd__mega-inner--cap { max-width: 100%; }
.capcards--three { align-items: start; }
.hd__nav .capcards .capcard,
.hd__nav .capcards .capcard--col {
  aspect-ratio: 4 / 3;
  height: auto;
}
.hd__nav .capcards-shapes .shp span::after { display: none; }

/* D-03 语言：12px 圆角 + 柔阴影 + 阿语/日语/韩语/俄语回退 */
.hd-lang { border-radius: 12px; box-shadow: 0 18px 40px -12px rgba(20, 19, 17, .22); }
.hd-lang button { border-radius: 8px; }
.hd-lang button[data-lang="ar"] {
  font-family: "Noto Sans Arabic", "Geeza Pro", "Segoe UI", Tahoma, sans-serif;
}
.hd-lang button[data-lang="ja"] {
  font-family: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Yu Gothic", sans-serif;
}
.hd-lang button[data-lang="ko"] {
  font-family: "Noto Sans KR", "Apple SD Gothic Neo", "Malgun Gothic", sans-serif;
}
.hd-lang button[data-lang="ru"] {
  font-family: "Noto Sans", Arial, sans-serif;
}

/* D-04 QR：弹窗零裁切 + 底部安全边距 */
.fy3-qr-dialog { max-height: calc(100dvh - 48px); overflow-y: auto; }


/* ==========================================================================
   M12 · T3 页头三分区 + T4 全宽下拉菜单 v2（Editorial All-Light）
   --------------------------------------------------------------------------
   · 三分区：品牌 / 居中导航 / 右工具+CTA 一整格（.hd__right 由 m12-header 落 DOM）。
     导航仍在视觉中心，但不再靠 flex space-between 的两端宽度差，换语言/换 CTA
     文案都不会漂。
   · 菜单：100vw 统一 #FDFCFA + 左 310px #F4F1EA 侧栏 + 右 3 列完整瓶型卡。
     淘汰右栏黑盒；删重复底部横条（.capcards-info）—— 一个信息只出现一次。
   · 动画只有 opacity + translateY(-6px→0)。**没有 max-height，没有 clip-path
     扫掠** —— 那两条会让卡片在开场半秒里反复改高度（业主说的「抽搐」）。
   · 全部按真钩子适配：.hd__drop / [data-fy-mega] / .capcards-* / .shp。
   ========================================================================== */

@media (min-width: 901px) {
  /* ---- T3 三分区 grid -------------------------------------------------- */
  .hd {
    display: grid;
    grid-template-columns: minmax(220px, 1fr) auto minmax(220px, 1fr);
    align-items: center;
    column-gap: 16px;
  }
  .hd__brand { grid-column: 1; grid-row: 1; justify-self: start; }
  .hd__nav {
    grid-column: 2; grid-row: 1; justify-self: center;
    position: static; left: auto; transform: none;
    margin-left: 0; margin-right: 0;
  }
  .hd__right {
    grid-column: 3; grid-row: 1; justify-self: end;
    display: flex; align-items: center; gap: 14px;
  }
  .hd__right .hd__tools { margin-left: 0; }
  .hd__menu { display: none; }
  .hd__vdiv {
    display: block; flex: 0 0 1px;
    width: 1px; height: 18px;
    background: rgba(20, 19, 17, .16);
  }

  /* 两处同款 10×6 折线箭头：打开一起转 180°，PRODUCTS 亮 2px 香槟金底线 */
  .hd__nav .hd__drop-trigger .m11-nav-chevron,
  .hd__lang .m11-nav-chevron {
    display: inline-block; margin-left: 6px;
    width: 10px; height: 6px; flex: 0 0 10px;
    /* M15-R2 · 显式缺省回正：关闭态必须是 matrix(1,0,0,1)，不能靠 transition 隐式归位 */
    transform: rotate(0deg);
    transition: transform .24s cubic-bezier(.22, 1, .36, 1);
  }
  .hd__nav .hd__drop[data-open="true"] .m11-nav-chevron,
  .hd__nav .hd__drop[data-pinned="true"] .m11-nav-chevron,
  .hd__lang[aria-expanded="true"] .m11-nav-chevron { transform: rotate(180deg); }
  .hd__nav .hd__drop[data-open="true"] > .hd__drop-trigger {
    box-shadow: inset 0 -2px 0 #C8A464;
  }

  /* ---- T4 面板本体 -----------------------------------------------------
     ⚠️ 特异性：styles.css 有 body[data-page=home] .hd__drop[data-open] .hd__mega
     (0,4,1)，所以这里带 body 前缀才压得住；不靠 !important。 */
  body[data-page] .hd__nav .hd__drop > .hd__mega,
  body[data-page] .hd__nav .hd__drop > .hd__mega--cap {
    left: 50%; right: auto;
    width: calc(100vw - var(--fy-sbw, 0px));
    max-width: none;
    background: #FDFCFA;
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
    border-top: 0;
    border-bottom: 1px solid rgba(20, 19, 17, .10);
    box-shadow: 0 32px 64px -20px rgba(20, 19, 17, .16);
    clip-path: none;             /* 覆盖 styles.css 的 inset 扫掠（抽搐真凶） */
    transform: translateX(-50%); /* 常驻居中；显隐不再借用 transform */
    transition: opacity .2s ease, visibility .2s ease;
  }
  body[data-page] .hd__nav .hd__drop[data-open="true"] > .hd__mega,
  body[data-page] .hd__nav .hd__drop[data-open="true"] > .hd__mega--cap,
  html.annot-mode body[data-page] .hd__nav .hd__drop[data-pinned="true"] > .hd__mega {
    opacity: 1; visibility: visible; pointer-events: auto;
    clip-path: none;
    transform: translateX(-50%);
    animation: m12MegaReveal .2s cubic-bezier(.22, 1, .36, 1) both;
  }
  /* 批注模式的 styles.css 用 transform:none !important 会打掉居中，单独收回 */
  html.annot-mode body[data-page] .hd__nav .hd__drop > .hd__mega { transform: translateX(-50%) !important; }

  @keyframes m12MegaReveal {
    from { opacity: 0; transform: translateX(-50%) translateY(-6px); }
    to   { opacity: 1; transform: translateX(-50%) translateY(0); }
  }
  @media (prefers-reduced-motion: reduce) {
    body[data-page] .hd__nav .hd__drop > .hd__mega,
    body[data-page] .hd__nav .hd__drop[data-open="true"] > .hd__mega { animation: none; transition: none; }
    body[data-page] .hd__nav .hd__drop[data-open="true"] .capcard { animation: none; }
  }

  /* ---- 内栅格：左侧栏 / 右标题 + 3 卡 --------------------------------- */
  /* M24-01: mega grid geometry removed here. m23-megamenu-v2.css is now the
     single source of truth (340px left / 3-col right, no scrollbar). */

  .hd__nav .capcards-head {
    grid-area: head;
    display: flex; align-items: baseline;
    margin: 0 0 16px;
  }
  /* 灰色副标题只是复述「三家族 / 70 器型」，卡片和侧栏已经说了 → 删 */
  .hd__nav .capcards-head__right,
  .hd__nav .capcards-note { display: none; }
  .hd__nav .hd__mega-kicker {
    margin: 0;
    font-family: var(--font-display, Georgia, serif);
    font-size: 14px; font-weight: 600; letter-spacing: .01em;
    text-transform: none; color: #141311;
  }

  /* ---- 左栏：暖石 #F4F1EA，三组功能入口 ------------------------------ */
  .hd__nav .capcards-aside {
    grid-area: aside;
    margin-right: 8px;   /* 侧栏与首卡之间合计 28px */
    display: flex; flex-direction: column; gap: 12px;
    align-self: stretch;
    padding: 18px;
    border-radius: 12px;
    background: #F4F1EA;
    border: 1px solid rgba(20, 19, 17, .06);
    color: #141311;
  }
  /* M26-02 / M26-05: the two hardcoded English ::before strings
     ("BY SILHOUETTE" / "FAST SOURCING") were DELETED. They are now real
     <span data-i18n="m26.mega.by_silhouette|by_capacity|fast_sourcing">
     text nodes in the baked header, so all 10 languages can translate them. */
  .hd__nav .capcards-aside__kicker { display: none; }
  .hd__nav .capcards-aside__list::before { content: none; display: none; }

  /* 4 枚瓶型胶囊：纸白底 + 1px 描边，hover 黑底金字 */
  .hd__nav .capcards-shapes { gap: 7px; margin: 0; }
  .hd__nav .capcards-shapes .shp {
    background: #FFFFFF;
    border: 1px solid rgba(20, 19, 17, .12);
    border-radius: 999px;
    box-shadow: none; backdrop-filter: none; -webkit-backdrop-filter: none;
    color: #141311;
    transition: background-color .18s ease, color .18s ease,
                border-color .18s ease, transform .18s ease;
  }
  .hd__nav .capcards-shapes .shp span {
    padding: 5px 11px;
    font-family: var(--fy-font-sans, Inter, sans-serif);
    font-size: 11px; font-weight: 600; letter-spacing: 0;
    text-transform: none; line-height: 1.2;
  }
  /* 清掉旧「玻璃高光 / conic 描边」伪元素，浅底上它们是两道脏斜杠 */
  .hd__nav .capcards-shapes .shp::after,
  .hd__nav .capcards-shapes .shp span::after { display: none; }
  .hd__nav .capcards-shapes .shp:hover {
    background: #141311; border-color: #141311;
    color: #F7F4EE; transform: none;
  }
  .hd__nav .capcards-shapes .shp:hover span { color: #F7F4EE; }

  .hd__nav .capcards-aside__list,
  .hd__nav .capcards-aside__sourcing {
    list-style: none; margin: 0; padding: 0;
  }
  .hd__nav .capcards-aside__list li,
  .hd__nav .capcards-aside__sourcing li { border-bottom: 1px solid rgba(20, 19, 17, .08); }
  .hd__nav .capcards-aside__list a,
  .hd__nav .capcards-aside__sourcing a {
    display: flex; justify-content: space-between; gap: 8px;
    padding: 4px 0;
    color: #2A2722; font-size: 12px; line-height: 1.35;
    letter-spacing: normal; text-transform: none; text-decoration: none;
  }
  .hd__nav .capcards-aside__list a:hover,
  .hd__nav .capcards-aside__sourcing a:hover { color: #8C6A2E; }
  .hd__nav .capcards-aside__foot {
    margin-top: auto; padding-top: 6px;
    border-top: 1px solid rgba(20, 19, 17, .10);
    font-size: 11.5px; color: #5A554C;
  }
  .hd__nav .capcards-aside__foot strong { display: block; color: #141311; margin-bottom: 2px; }

  /* ---- 右 3 列：完整瓶型卡（contain + 柔和留白）----------------------- */
  .hd__nav .capcards .capcard,
  .hd__nav .capcards .capcard--col {
    display: flex; flex-direction: column;
    aspect-ratio: auto; height: auto;
    border: 1px solid rgba(20, 19, 17, .08);
    border-radius: 12px;
    background: #FFFFFF;
    color: #141311;
    overflow: hidden;
    text-transform: none; letter-spacing: normal;
    transition: border-color .22s ease, transform .22s ease, box-shadow .22s ease;
  }
  .hd__nav .capcards .capcard:hover {
    color: #141311;
    border-color: #C8A464;
    transform: translateY(-2px);
    box-shadow: 0 16px 32px -12px rgba(20, 19, 17, .12);
  }
  /* 深底遮罩与扫掠层全部撤掉：亮底编辑风，瓶身完整可见 */
  .hd__nav .capcards .capcard::after,
  .hd__nav .capcards .capcard__veil { content: none; display: none; background: none; }

  .hd__nav .capcards .capcard__bg {
    position: relative; inset: auto;
    display: flex; align-items: center; justify-content: center;
    aspect-ratio: 4 / 3;
    padding: 16px;
    background: #F7F5F0;
    overflow: hidden;
  }
  .hd__nav .capcards .capcard__bg img {
    display: block;
    width: auto; height: auto; max-width: 100%; max-height: 100%;
    object-fit: contain;
    mix-blend-mode: multiply;  /* 白底产品照融入暖纸色，不出现白方块 */
    transform: none;
    transition: transform .4s ease;
  }
  .hd__nav .capcards .capcard:hover .capcard__bg img { transform: scale(1.05); }

  .hd__nav .capcards .capcard__body {
    position: static; inset: auto; z-index: auto;
    display: flex; flex-direction: column; gap: 5px;
    padding: 12px 14px 0;
  }
  .hd__nav .capcards .capcard__no {
    font-family: var(--font-mono); font-size: 10px;
    letter-spacing: .14em; color: #9E7B3B;
  }
  .hd__nav .capcards .capcard__name {
    font-family: var(--font-display, Georgia, serif);
    font-size: 17px; font-weight: var(--fw-display, 600);
    letter-spacing: -.01em; line-height: 1.2; color: #141311;
  }
  .hd__nav .capcards .capcard__meta {
    font-family: var(--fy-font-sans, Inter, sans-serif);
    font-size: 11.5px; letter-spacing: .02em;
    text-transform: none; color: #6B6560;
  }
  .hd__nav .capcards .capcard__foot {
    position: static; inset: auto; z-index: auto;
    margin-top: auto;
    padding: 8px 14px 12px;
    font-size: 11px; letter-spacing: .1em; color: #141311;
  }

  /* 入场：只做 opacity + translateY(-6px→0)，逐卡 40ms 轻错开 */
  .hd__nav .hd__drop[data-open="true"] .capcard,
  .hd__nav .hd__drop[data-open="true"] .capcard:nth-child(1),
  .hd__nav .hd__drop[data-open="true"] .capcard:nth-child(2),
  .hd__nav .hd__drop[data-open="true"] .capcard:nth-child(3),
  .hd__nav .hd__drop[data-open="true"] .capcard:nth-child(4) {
    animation: m12CardReveal .22s cubic-bezier(.22, 1, .36, 1) both;
    animation-delay: 0ms;
  }
  .hd__nav .hd__drop[data-open="true"] .capcard:nth-child(2) { animation-delay: 40ms; }
  .hd__nav .hd__drop[data-open="true"] .capcard:nth-child(3) { animation-delay: 80ms; }
  @keyframes m12CardReveal {
    from { opacity: 0; transform: translateY(-6px); }
    to   { opacity: 1; transform: translateY(0); }
  }

  /* MOQ / 样品 / Lookbook 只在左侧栏出现一次 —— 底部横条彻底删除 */
  .hd__nav .capcards-info { display: none; }
}

/* ≤900px：右区收进抽屉，竖线不再孤零零挂着 */
@media (max-width: 900px) {
  .hd__vdiv { display: none; }
}

/* M15-R2 B-02 · mega z-index 3001 的乳白玻璃层盖住语言面板 z-index 210；
   抬层级 + 显式锁字色（R2-NEW-1 授权对比度锁色） */
@media (min-width: 901px) {
  .hd-lang { z-index: 3002; }
  .hd-lang button,
  .hd-lang button[aria-current="true"],
  .hd-lang em {
    color: rgba(20, 19, 17, 1) !important;
    opacity: 1 !important;
  }
}

/* V1 · 10语排版：RTL 视觉镜像 + CJK/阿拉伯字体回退 + 德语长词防溢出 */
html[dir="rtl"] .hd-lang,
html[dir="rtl"] .fy3-enquiry__form { text-align: right; }
.hd-lang button[data-lang="ar"] { font-family: "Noto Sans Arabic", "Geeza Pro", Tahoma, sans-serif; }
.hd-lang button[data-lang="ja"] { font-family: "Noto Sans JP", "Hiragino Sans", sans-serif; }
.hd-lang button[data-lang="ko"] { font-family: "Noto Sans KR", "Apple SD Gothic Neo", sans-serif; }
html[lang="de"] .hd-lang button { overflow-wrap: break-word; }
/* W1 · WP-I18N · RTL 语言面板对齐到 AR 按钮左侧（任务包 fix :29-34）。
   只用站内真类 .hd-lang / [data-lang-panel]；参考件 .m11-lang-menu 站内 0 命中。 */
html[dir="rtl"] .hd-lang,
html[dir="rtl"] [data-lang-panel] {
  left: 0 !important;
  right: auto !important;
}

/* M17 · 2列×5行语言面板（真 .hd-lang[data-lang-panel]，340px/44px/14圆角/纸白磨砂） */
.hd-lang[data-lang-panel] {
  width: 360px; min-width: 360px; max-width: calc(100vw - 32px);
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 4px; padding: 10px;
  border-radius: 14px; background: rgba(253, 252, 250, .92);
  -webkit-backdrop-filter: blur(18px) saturate(160%); backdrop-filter: blur(18px) saturate(160%);
  box-shadow: 0 22px 48px -16px rgba(20, 19, 17, .24);
}
.hd-lang[data-lang-panel] button[data-lang] {
  min-height: 44px; width: 100%; justify-content: flex-start; gap: 10px;
  padding: 8px 12px; border-radius: 10px; position: relative;
}
.hd-lang[data-lang-panel] button[data-lang] em {
  flex: 0 0 auto; min-width: 30px; padding: 3px 6px;
  border: 1px solid var(--fy-accent-gold); border-radius: 999px;
  color: var(--fy-accent-gold); font-size: 9px; text-align: center;
}
.hd-lang[data-lang-panel] button[data-lang][aria-current="true"] { background: rgba(200, 164, 100, .12); font-weight: 700; }
.hd-lang[data-lang-panel] button[data-lang][aria-current="true"]::after {
  content: ""; position: absolute; right: 12px; top: 50%; width: 6px; height: 6px;
  margin-top: -3px; border-radius: 50%; background: var(--fy-accent-gold);
}
html[dir="rtl"] .hd-lang[data-lang-panel] { left: var(--container-pad, 20px); right: auto; }

/* M2-F3 · chevron 单一数据源兜底：data-open 缺省回正，抑制态显式 0deg */
.hd__nav .hd__drop-trigger .m11-nav-chevron.is-open { transform: rotate(180deg); }

/* M20-02 · zh-Hant autonym font: system stack fallback, no CDN */
.hd-lang button[data-lang="zh-hant"] { font-family: "Noto Sans TC", "PingFang TC", "Microsoft JhengHei", sans-serif; }
html[lang="zh-Hant"] body { font-family: "Noto Sans TC", "PingFang TC", "Microsoft JhengHei", sans-serif; }
html[lang="zh-Hant"] h1, html[lang="zh-Hant"] h2 { font-family: "Noto Serif TC", "Songti TC", serif; }

/* M20-M1 m20-header：双轨大菜单（不透明底根治透出 Hero） */
.hd__mega, .hd__mega--cap { background: #ffffff; transition: transform 150ms ease, opacity 150ms ease; }
.fy-mega-tracks { display: flex; flex-direction: column; gap: 10px; width: 100%; padding: 0; } /* M24-01: stacked, no narrow bars */
.fy-track-card { display:flex; flex-direction:column; gap:4px; padding:14px 16px; border-radius:12px; text-decoration:none; color:#fff; min-height:96px; }
.fy-track-card--instock { background:#1B4D3E; }
.fy-track-card--custom { background:#5C4321; }
.fy-track-card__eyebrow { font-size:11px; letter-spacing:.12em; opacity:.9; }
.fy-track-card__title { font-size:18px; font-weight:700; }
.fy-track-card__desc { font-size:12px; opacity:.95; }
html[lang="ja"] .hd__mega *, html[lang="ja"] .fy-track-card * { word-break: keep-all; overflow-wrap: anywhere; }

/* ---- R3-header：双轨卡置于面板顶部（覆盖 M9 的 4 列命名栅格） -------- */
/* M24-01: the old R3 grid override + `max-height:78vh; overflow-y:auto` are
   removed. They were the exact source of the mega-menu vertical scrollbar.
   Layout is now owned solely by m23-megamenu-v2.css. */
/* 不透明底彻底遮挡 Hero（含 backdrop-filter 清空） */
.hd__mega, .hd__mega--cap,
body[data-page] .hd__nav .hd__drop > .hd__mega,
body[data-page] .hd__nav .hd__drop > .hd__mega--cap {
  background: #ffffff !important;
  -webkit-backdrop-filter: none !important;
  backdrop-filter: none !important;
}
/* R3-header · JA 片假名腰斩/数字断行根治 */
html[lang="ja"] h1,
html[lang="ja"] h2,
html[lang="ja"] .stat-num,
html[lang="ja"] .fy3-hero__copy *,
html[lang="ja"] .fy3-jentry__title,
html[lang="ja"] .capcard__name {
  word-break: keep-all !important;
  overflow-wrap: anywhere !important;
}
html[lang="ja"] .stat-num,
html[lang="ja"] [data-moq],
html[lang="ja"] bdi[dir="ltr"] {
  white-space: nowrap !important;
}

/* ==========================================================================
   M25-R1 · R1-01 FINAL CASCADE AUTHORITY (LAST stylesheet on every page)
   --------------------------------------------------------------------------
   Both mega panels must be exactly viewport-wide and aligned to the header.
   This block intentionally repeats m23-megamenu-v2.css with equal/higher
   specificity + !important so the older 1320x430 / translateX(-50%) rules in
   this file, styles.css and r1-megamenu-opaque.css can never win again.
   ASSERT (1440 / 1920): panel.width === window.innerWidth; panel.left === 0.
   ========================================================================== */
@media (min-width: 901px) {
  .hd__nav .hd__drop > .hd__mega,
  .hd__nav .hd__drop > .hd__mega--cap,
  .hd__nav .hd__drop > .hd__mega--hub,
  .hd__mega--cap,
  .hd__mega--hub,
  .fy-mega-full,
  [data-overlay-panel="products"],
  [data-overlay-panel="news-blog"],
  body[data-page] .hd__nav .hd__drop > .hd__mega,
  body[data-page] .hd__nav .hd__drop > .hd__mega--cap,
  body[data-page] .hd__nav .hd__drop > .hd__mega--hub,
  body[data-page] .hd__nav .hd__drop > [data-overlay-panel="products"],
  body[data-page] .hd__nav .hd__drop > [data-overlay-panel="news-blog"] {
    position: fixed !important;
    top: 72px !important;
    left: 0 !important;
    right: 0 !important;
    width: 100vw !important;
    width: calc(100vw - var(--fy-sbw, 0px)) !important; /* scrollbar-exact innerWidth */
    max-width: 100vw !important;
    min-width: 0 !important;
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
    margin: 0 !important;
    transform: none !important;
    clip-path: none !important;
    overflow: visible !important;
    box-sizing: border-box !important;
    background: #ffffff !important;
    -webkit-backdrop-filter: none !important;
    backdrop-filter: none !important;
    animation: none !important;
    transition: opacity .2s ease, visibility .2s ease !important;
    z-index: 3900 !important;
  }

  .hd__nav .hd__drop > .hd__mega .hd__mega-inner,
  .hd__nav .hd__drop > .hd__mega--cap .hd__mega-inner--cap,
  .hd__nav .hd__drop > .hd__mega--hub .hd__mega-inner,
  .hd__mega-inner,
  .hd__mega-inner--cap,
  .fy-mega-full__inner {
    width: 100% !important;
    max-width: 1380px !important;
    margin-inline: auto !important;
    padding: 20px 28px 22px !important;
    height: auto !important;
    max-height: none !important;
    overflow: visible !important;
    box-sizing: border-box !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 16px !important;
  }

  /* Neither panel may clip its left rail any more (120–150 ml / FAST SOURCING). */
  .hd__nav .capcards-aside,
  .hd__nav .fy-hub-side { overflow: visible !important; }
  .hd__nav .capcards,
  .hd__nav .capcards--three,
  .hd__nav .fy-mega-grid-3 { overflow: visible !important; }

  /* backdrop-filter on .hd makes it the containing block of position:fixed
     panels. Even while hidden, a 100vw panel then starts at the header's x
     (body margin = 8px) and inflates body.scrollWidth by ~250px. Remove it
     unconditionally so both open and closed panels anchor to the viewport;
     the header keeps its 74%-opaque paper background and the mega is opaque. */
  .hd,
  .hd.is-mega-open,
  body[data-page="home"] .hd.is-mega-open,
  body[data-page="home"] .hd.is-over-hero.is-mega-open {
    -webkit-backdrop-filter: none !important;
    backdrop-filter: none !important;
  }
}

/* ==========================================================================
   R1-01 · DESIGN-GATE P0 FIXES (last stylesheet — authoritative)
   B1 dark ink on light dual cards; B2 2-line clamped article titles.
   Same declarations live in m23-megamenu-v2.css for single-file robustness.
   ========================================================================== */
@media (min-width: 901px) {
  .hd__nav .fy-track-card--instock,
  .hd__nav .fy-track-card--instock *,
  .hd__nav .fy-track-card--custom,
  .hd__nav .fy-track-card--custom *,
  .hd__nav .fy-mega-dual--news,
  .hd__nav .fy-mega-dual--news *,
  .hd__nav .fy-mega-dual--blog,
  .hd__nav .fy-mega-dual--blog * {
    color: #141311 !important;
  }
  .hd__nav .fy-track-card__desc,
  .hd__nav .fy-track-card__desc * { color: #5c554c !important; }

  .hd__nav .fy-mega-nb-cats { flex-wrap: wrap !important; } /* M26-02: zero chip overflow at 1440/1920 */
  .hd__nav .fy-mega-nb-card { min-height: 92px !important; overflow: hidden !important; }
  .hd__nav .fy-mega-nb-card__body { min-width: 0 !important; overflow: hidden !important; }
  .hd__nav .fy-mega-nb-card__title {
    display: -webkit-box !important;
    -webkit-box-orient: vertical !important;
    -webkit-line-clamp: 2 !important;
    line-clamp: 2 !important;
    white-space: normal !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    overflow-wrap: anywhere !important;
    max-height: 2.7em !important;
  }
}


/* ==========================================================================
   M26-02 · LUXURY MEGA-MENU REFINEMENT  (prod package 02-luxury-megamenu-redesign)
   Zero hardcoded English in CSS pseudo-elements: every visible string lives in
   a real <span data-i18n> node inside the baked header.
   ========================================================================== */

/* --- Full-bleed pure-white panel + 1380px inner grid -------------------- */
@media (min-width: 901px) {
  .hd__nav .hd__drop > .hd__mega,
  .hd__nav .hd__drop > .hd__mega--cap,
  .hd__nav .hd__drop > .hd__mega--hub,
  .hd__mega--cap, .hd__mega--hub, .fy-mega-full,
  [data-overlay-panel="products"], [data-overlay-panel="news-blog"],
  body[data-page] .hd__nav .hd__drop > .hd__mega,
  body[data-page] .hd__nav .hd__drop > [data-overlay-panel="products"],
  body[data-page] .hd__nav .hd__drop > [data-overlay-panel="news-blog"] {
    background: #ffffff !important;
    border-bottom: 1px solid rgba(20, 19, 17, 0.10) !important;
    box-shadow: 0 24px 48px rgba(20, 19, 17, 0.08) !important;
  }
  .hd__mega-inner, .hd__mega-inner--cap, .hd__mega-inner--hub,
  .hd__nav .hd__drop > .hd__mega .hd__mega-inner,
  .hd__nav .hd__drop > .hd__mega--cap .hd__mega-inner--cap,
  .hd__nav .hd__drop > .hd__mega--hub .hd__mega-inner,
  .fy-mega-full__inner {
    max-width: 1380px !important;
    margin-inline: auto !important;
    padding: 20px 28px 22px !important;
  }
}

/* --- Top dual-track cards: crisp 1px border + dot, no curved hook ------- */
.hd__nav .fy-track-card,
.hd__nav .fy-mega-dual {
  border: 1px solid transparent !important;
  border-inline-start-width: 1px !important;
  border-radius: 12px !important;
  gap: 4px !important;
}
.hd__nav .fy-track-card__eyebrow {
  display: inline-flex !important;
  align-items: center !important;
  gap: 7px !important;
  white-space: nowrap !important;
}
.fy-track-dot {
  display: inline-block;
  width: 7px; height: 7px;
  border-radius: 50%;
  flex: 0 0 7px;
  background: #1b4d3e;
}
.fy-track-dot--stock { background: #1b4d3e; }
.fy-track-dot--custom { background: #9a723a; }
/* Single-line subtitle: no orphan "MOQ" dropping to a second row. */
.hd__nav .fy-track-card__title,
.hd__nav .fy-mega-dual__title {
  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  font-size: 15px !important;
  line-height: 1.3 !important;
}

/* --- PRODUCTS rail: grouped real headings + 2x2 equal pills ------------- */
.hd__nav .capcards-aside {
  background: #f6f3ec !important;
  border: 1px solid rgba(20, 19, 17, 0.07) !important;
  border-radius: 12px !important;
  padding: 18px 20px !important;
  gap: 18px !important;
  border-inline-end-width: 1px !important;
  padding-inline-end: 20px !important;
}
.hd__nav .fy-mega-rail__group {
  display: flex !important;
  flex-direction: column !important;
  gap: 8px !important;
  min-width: 0 !important;
}
.hd__nav .fy-mega-rail__heading {
  font-size: 10.5px !important;
  font-weight: 700 !important;
  letter-spacing: 0.11em !important;
  text-transform: uppercase !important;
  color: #7c6748 !important;
}
.hd__nav .capcards-shapes {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 8px !important;
  margin: 0 !important;
}
.hd__nav .capcards-shapes .shp {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  height: 32px !important;
  min-width: 0 !important;
  padding: 0 8px !important;
  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
}
/* 120–150 ml row: label flexes, arrow is pinned inside the rail box. */
.hd__nav .capcards-aside__list a,
.hd__nav .capcards-aside__sourcing a {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 10px !important;
}
.hd__nav .capcards-aside__list a > span:first-child,
.hd__nav .capcards-aside__sourcing a > span:first-child {
  flex: 1 1 auto !important;
  min-width: 0 !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  white-space: nowrap !important;
}
.hd__nav .fy-arrow {
  flex: 0 0 auto !important;
  margin-inline-start: 8px !important;
  color: #6b655c !important;
}

/* --- Category cards: distinct Explore Bottles / Jars / Sets ------------ */
.hd__nav .capcard__foot {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 8px !important;
}
.hd__nav .capcard__more { letter-spacing: 0.08em !important; }
.hd__nav .capcard__arrow { flex: 0 0 auto !important; }

/* --- NEWS & BLOG: strict mirroring, wrapped chips, intact dates -------- */
.hd__nav .fy-mega-nb-col__head > span,
.hd__nav .fy-mega-nb-col__head > a {
  font-size: 11px !important;
  font-weight: 700 !important;
  letter-spacing: 0.1em !important;
  text-transform: uppercase !important;
}
.hd__nav .fy-mega-nb-col__head > a {
  display: inline-flex !important;
  align-items: center !important;
  gap: 6px !important;
}
.hd__nav .fy-mega-nb-cats {
  flex-wrap: wrap !important;
  gap: 8px !important;
}
.hd__nav .fy-mega-nb-cats a {
  white-space: nowrap !important;
  max-width: 100% !important;
}
.hd__nav .fy-mega-nb-card {
  display: grid !important;
  grid-template-columns: 96px minmax(0, 1fr) !important;
  gap: 12px !important;
  min-height: 92px !important;
}
.hd__nav .fy-mega-nb-card__thumb {
  width: 96px !important;
  height: 68px !important;
  flex: 0 0 96px !important;
}
.hd__nav .fy-mega-nb-card__body {
  display: flex !important;
  flex-direction: column !important;
  justify-content: space-between !important;
  gap: 6px !important;
  min-width: 0 !important;
}
.hd__nav .fy-mega-nb-card__meta {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 8px !important;
}
.hd__nav .fy-mega-nb-card__cat {
  flex: 1 1 auto !important;
  min-width: 0 !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  white-space: nowrap !important;
  color: #1b4d3e !important;
  font-weight: 600 !important;
}
.hd__nav .fy-mega-nb-card__date {
  flex: 0 0 auto !important;
  white-space: nowrap !important;
  font-variant-numeric: tabular-nums !important;
  color: #706a60 !important;
}

/* ==========================================================================
   M26-R2 · P0-1 / P0-3 / P0-4 FINAL CASCADE AUTHORITY (last stylesheet)
   --------------------------------------------------------------------------
   P0-1  header = real three-column GRID in normal flow (no absolute boxes).
         Assert (1440/1920 × scroll 0/600): nav.left >= brand.right + 24,
         cta.right <= innerWidth - 16.
   P0-3  PRODUCTS: wider rail + non-truncating labels; the 3 category cards
         stretch to the full .fy-mega-body height → bottom white void = 0.
   P0-4  NEWS & BLOG: both chip rows strictly ONE row; the 4 article cards
         share one baseline (spread <= 2px).
   ========================================================================== */

/* Desktop-only: the three-column grid must never leak into <=1199px, where
   critical-header.css hides .hd__nav / .hd__right and shows the MENU button.
   (R2: the breakpoint moved 1024 → 1200 because the SIX localized nav labels in
   fr/de/es/it/pt are wider than the English ones and would collide with the
   200px-era logo at 1024–1199. Below 1200 the drawer MENU is the entry point.) */
@media (min-width: 1200px) {
  html body .hd,
  html body .fy-site-header {
    display: grid !important;
    grid-template-columns: auto minmax(0, 1fr) auto !important;
    align-items: center !important;
    column-gap: 24px !important;
    /* M27-02: same 1380px/28px content box as both mega-inners. */
    padding: 0 var(--fy-hd-gutter) !important;
    box-sizing: border-box !important;
  }
}
@media (min-width: 1320px) {
  html body .hd,
  html body .fy-site-header { grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr) !important; }
}
@media (min-width: 1200px) {
  html body .hd > .hd__brand,
  html body .fy-site-header > .hd__brand {
    position: static !important;
    inset: auto !important;
    grid-column: 1 !important;
    grid-row: 1 !important;
    justify-self: start !important;
    width: auto !important;
    min-width: 0 !important;
    max-width: none !important;
    height: 44px !important;
    margin: 0 !important;
    white-space: nowrap !important;
  }
  html body .hd__brand-text,
  html body .fy-site-header__brand-text {
    width: auto !important;
    min-width: 0 !important;
    max-width: none !important;
    max-height: none !important;
    overflow: visible !important;
    white-space: nowrap !important;
  }
  html body .hd > .hd__nav,
  html body .fy-site-header > .hd__nav {
    position: static !important;
    inset: auto !important;
    left: auto !important;
    right: auto !important;
    top: auto !important;
    bottom: auto !important;
    transform: none !important;
    grid-column: 2 !important;
    grid-row: 1 !important;
    justify-self: center !important;
    width: auto !important;
    min-width: 0 !important;
    max-width: none !important;
    height: 44px !important;
    margin: 0 !important;
    padding: 0 !important;
    display: flex !important;
    flex-wrap: nowrap !important;
    align-items: center !important;
    justify-content: center !important;
    gap: clamp(11px, 1.4vw, 26px) !important;
  }
  html body .hd__nav a {
    font-size: clamp(9px, 0.66vw, 10.5px) !important;
    letter-spacing: 0.1em !important;
    white-space: nowrap !important;
  }
  html body .hd__nav .hd__nav-emph { letter-spacing: 0.1em !important; }
  html body .hd__nav .hd__studio-ltr { display: none !important; }
  html[lang="ar"] body .hd__nav .hd__studio-ltr { display: inline !important; }

  html body .hd > .hd__right,
  html body .fy-site-header > .hd__right,
  html body header[data-header] .hd__right {
    position: static !important;
    inset: auto !important;
    top: auto !important;
    left: auto !important;
    right: auto !important;
    bottom: auto !important;
    grid-column: 3 !important;
    grid-row: 1 !important;
    justify-self: end !important;
    width: auto !important;
    min-width: 0 !important;
    max-width: none !important;
    height: 72px !important;
    margin: 0 !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: flex-end !important;
    gap: 12px !important;
    white-space: nowrap !important;
  }
  html body header[data-header] .hd__tools,
  html body header.fy-site-header .hd__tools {
    width: auto !important;
    min-width: 0 !important;
    max-width: none !important;
    margin: 0 !important;
    gap: 10px !important;
    flex: 0 0 auto !important;
  }
  html body header[data-header] .hd__cta,
  html body header.fy-site-header .hd__cta {
    width: auto !important;
    min-width: 0 !important;
    max-width: none !important;
    height: 40px !important;
    margin: 0 !important;
    padding: 0 16px !important;
    flex: 0 0 auto !important;
    white-space: nowrap !important;
  }


}

/* ---------- P0-3 · PRODUCTS panel --------------------------------------- */
html body .hd__nav .fy-mega-body {
  display: grid !important;
  grid-template-columns: clamp(348px, 26vw, 392px) minmax(0, 1fr) !important;
  gap: 18px !important;
  align-items: stretch !important;
  min-height: 0 !important;
  width: 100% !important;
}
@media (max-width: 1179px) {
  html body .hd__nav .fy-mega-body {
    grid-template-columns: clamp(320px, 32vw, 356px) minmax(0, 1fr) !important;
    gap: 18px !important;
  }
}
html body .hd__nav .fy-mega-body > .capcards-aside {
  padding: 16px 18px !important;
  gap: 14px !important;
  min-width: 0 !important;
  box-sizing: border-box !important;
}
html body .hd__nav .capcards-aside__list,
html body .hd__nav .capcards-aside__sourcing {
  gap: 2px !important;
}
html body .hd__nav .capcards-aside__list a,
html body .hd__nav .capcards-aside__sourcing a,
html body .hd__nav .fy-mega-rail__group a {
  display: flex !important;
  align-items: flex-start !important;
  justify-content: space-between !important;
  gap: 8px !important;
  padding: 6px 6px !important;
  font-size: 11.5px !important;
  line-height: 1.35 !important;
  letter-spacing: 0 !important;
  white-space: normal !important;
  overflow: visible !important;
  text-overflow: clip !important;
  word-break: normal !important;
  overflow-wrap: break-word !important;
}
html body .hd__nav .capcards-aside__list a > span:first-child,
html body .hd__nav .capcards-aside__sourcing a > span:first-child,
html body .hd__nav .fy-mega-rail__group a > span:first-child {
  flex: 1 1 auto !important;
  min-width: 0 !important;
  white-space: normal !important;
  overflow: visible !important;
  text-overflow: clip !important;
  overflow-wrap: break-word !important;
}
html body .hd__nav .capcards-aside .fy-arrow,
html body .hd__nav .fy-mega-rail__group .fy-arrow {
  flex: 0 0 auto !important;
  margin-inline-start: 4px !important;
  line-height: 1.35 !important;
}
html body .hd__nav .capcards,
html body .hd__nav .capcards--three,
html body .hd__nav .fy-mega-grid-3 {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  grid-auto-rows: minmax(0, 1fr) !important;
  align-content: stretch !important;
  align-items: stretch !important;
  gap: 16px !important;
  width: 100% !important;
  min-width: 0 !important;
  height: 100% !important;
  max-height: none !important;
  overflow: visible !important;
}
html body .hd__nav .capcards .capcard,
html body .hd__nav .capcards .capcard--col,
html body .hd__nav .fy-mega-grid-3 .capcard {
  display: flex !important;
  flex-direction: column !important;
  height: 100% !important;
  min-height: 0 !important;
  aspect-ratio: auto !important;
  /* M26-R2: height:100% + border adds 2px outside .fy-mega-body in RTL/EU
     languages (593 vs 591). Border-box keeps the card inside the grid row. */
  box-sizing: border-box !important;
}
html body .hd__nav .capcards .capcard__bg {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  flex: 1 1 auto !important;
  height: auto !important;
  min-height: 148px !important;
  aspect-ratio: auto !important;
  padding: 12px !important;
}
html body .hd__nav .capcards .capcard__bg img {
  max-width: 100% !important;
  max-height: 100% !important;
  width: auto !important;
  height: auto !important;
  object-fit: contain !important;
}

/* ---------- P0-4 · NEWS & BLOG panel ------------------------------------ */
html body .hd__nav .fy-mega-nb-split {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 24px !important;
  align-items: start !important;
  width: 100% !important;
}
html body .hd__nav .fy-mega-nb-col {
  display: flex !important;
  flex-direction: column !important;
  gap: 0 !important;
  min-width: 0 !important;
}
html body .hd__nav .fy-mega-nb-col__head {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 12px !important;
  height: 32px !important;
  min-height: 32px !important;
  max-height: 32px !important;
  box-sizing: border-box !important;
  padding: 0 0 6px !important;
  margin: 0 !important;
}
html body .hd__nav .fy-mega-nb-cats {
  display: flex !important;
  flex-wrap: nowrap !important;
  align-items: center !important;
  justify-content: flex-start !important;
  gap: 6px !important;
  height: 34px !important;
  min-height: 34px !important;
  max-height: 34px !important;
  width: auto !important;
  max-width: 100% !important;
  margin: 12px 0 14px !important;
  padding: 0 !important;
  overflow: visible !important;
}
html body .hd__nav .fy-mega-nb-cats a {
  flex: 0 0 auto !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  height: 28px !important;
  padding: 0 10px !important;
  box-sizing: border-box !important;
  font-size: 11px !important;
  line-height: 1 !important;
  letter-spacing: 0 !important;
  white-space: nowrap !important;
  max-width: none !important;
  overflow: visible !important;
  text-overflow: clip !important;
}
html body .hd__nav .fy-mega-nb-cards {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 14px !important;
  align-items: stretch !important;
  width: 100% !important;
  margin: 0 !important;
}
html body .hd__nav .fy-mega-nb-card {
  height: 100% !important;
  min-height: 92px !important;
  box-sizing: border-box !important;
}

/* ==========================================================================
   M27-01 / M27-02 · COMPACT + ALIGNED MEGA (mirrored in nav-v2.css, the last
   stylesheet). Real hooks only: .capcards-aside / .capcard__bg / .fy-mega-nb-cats a.
   No truncation was introduced: rail labels keep white-space:normal + visible
   overflow; only their vertical rhythm is tightened.
   ========================================================================== */
@media (min-width: 901px) {
  html body .hd__nav .hd__mega-inner,
  html body .hd__nav .hd__mega-inner--cap,
  html body .hd__nav .hd__mega-inner--hub,
  html body .hd__nav .fy-mega-full__inner {
    width: 100% !important;
    max-width: 1380px !important;
    margin-inline: auto !important;
    padding: 20px 28px 22px !important;
    row-gap: 14px !important;
    box-sizing: border-box !important;
  }

  /* Top dual track: compact but still a comfortable 84px touch row. */
  html body .hd__nav .fy-mega-dual-row { gap: 14px !important; }
  html body .hd__nav .fy-track-card,
  html body .hd__nav .fy-mega-dual {
    min-height: 84px !important;
    padding: 10px 14px !important;
    gap: 3px !important;
  }
  html body .hd__nav .fy-track-card__eyebrow,
  html body .hd__nav .fy-mega-dual__tag { font-size: 10px !important; line-height: 1.2 !important; }
  html body .hd__nav .fy-track-card__title,
  html body .hd__nav .fy-mega-dual__title { font-size: 15px !important; line-height: 1.2 !important; }
  html body .hd__nav .fy-track-card__desc,
  html body .hd__nav .fy-track-card__sub { font-size: 11px !important; line-height: 1.2 !important; }

  /* PRODUCTS body: tighter rail, fixed 172px media, 3 equal cards. */
  html body .hd__nav .fy-mega-body {
    grid-template-columns: clamp(320px, 25vw, 360px) minmax(0, 1fr) !important;
    gap: 18px !important;
    align-items: stretch !important;
  }
  html body .hd__nav .fy-mega-body > .capcards-aside {
    padding: 10px 14px !important;
    gap: 6px !important;
    box-sizing: border-box !important;
  }
  html body .hd__nav .fy-mega-rail__group { gap: 4px !important; }
  html body .hd__nav .fy-mega-rail__heading {
    font-size: 10px !important;
    line-height: 1.2 !important;
    margin-bottom: 1px !important;
  }
  html body .hd__nav .capcards-shapes { gap: 6px !important; }
  html body .hd__nav .capcards-shapes .shp {
    height: 26px !important;
    min-height: 26px !important;
    padding: 0 8px !important;
    font-size: 10.5px !important;
    line-height: 1 !important;
  }
  html body .hd__nav .capcards-shapes .shp span { padding: 0 !important; font-size: 10.5px !important; line-height: 1 !important; }
  html body .hd__nav .capcards-aside__list,
  html body .hd__nav .capcards-aside__sourcing { gap: 1px !important; padding-top: 4px !important; }
  html body .hd__nav .capcards-aside__list a,
  html body .hd__nav .capcards-aside__sourcing a,
  html body .hd__nav .fy-mega-rail__group a {
    padding: 2px 4px !important;
    min-height: 20px !important;
    font-size: 11px !important;
    line-height: 1.25 !important;
    white-space: normal !important;
    overflow: visible !important;
    text-overflow: clip !important;
  }
  html body .hd__nav .capcards-aside__foot { padding-top: 4px !important; }
  html body .hd__nav .capcards-aside__foot strong,
  html body .hd__nav .capcards-aside__foot span { font-size: 10px !important; line-height: 1.3 !important; }

  html body .hd__nav .capcards,
  html body .hd__nav .capcards--three,
  html body .hd__nav .fy-mega-grid-3 { gap: 14px !important; align-content: stretch !important; }
  html body .hd__nav .capcards .capcard,
  html body .hd__nav .capcards .capcard--col { height: 100% !important; box-sizing: border-box !important; }
  html body .hd__nav .capcards .capcard__bg {
    flex: 0 0 144px !important;
    height: 144px !important;
    min-height: 144px !important;
    max-height: 144px !important;
    aspect-ratio: auto !important;
    box-sizing: border-box !important;
    padding: 14px !important;
  }
  html body .hd__nav .capcards .capcard__bg img { max-height: 144px !important; object-fit: contain !important; }
  html body .hd__nav .capcards .capcard__body {
    flex: 1 1 auto !important;
    gap: 2px !important;
    padding: 8px 12px 0 !important;
  }
  html body .hd__nav .capcards .capcard__name { font-size: 14.5px !important; line-height: 1.2 !important; }
  html body .hd__nav .capcards .capcard__meta { font-size: 11px !important; }
  html body .hd__nav .capcards .capcard__foot { padding: 6px 12px 8px !important; }

  /* NEWS & BLOG: only the mega chips escape the global 44px touch floor. */
  html body .hd__nav .fy-mega-nb-split { gap: 24px !important; }
  html body .hd__nav .fy-mega-nb-cats {
    gap: 6px !important;
    margin: 10px 0 12px !important;
    flex-wrap: nowrap !important;
    height: 30px !important;
    min-height: 30px !important;
    max-height: 30px !important;
  }
  html body .hd__nav .fy-mega-nb-cats a {
    height: 30px !important;
    min-height: 30px !important;
    padding: 0 11px !important;
    font-size: 11px !important;
    line-height: 1 !important;
    white-space: nowrap !important;
    overflow: visible !important;
    text-overflow: clip !important;
  }
}

/* ==========================================================================
   M27-03 · FINAL CASCADE · 1024–1380px adaptive band.
   Frame-0 copy lives in critical-header.css; this block is the last word.
   Only inter-item spacing / button padding tighten. No element is hidden and
   the aligned 1380/28 content gutter is deliberately left untouched.
   ========================================================================== */
@media (min-width: 1024px) and (max-width: 1380px) {
  html body .hd,
  html body .fy-site-header {
    --fy-hd-column-gap: 16px !important;
    column-gap: 16px !important;
  }
  html body .hd > .hd__nav,
  html body .fy-site-header > .hd__nav { gap: 12px !important; }
  html body .hd__nav a,
  html body .hd__nav .hd__drop-trigger,
  html body .hd__nav .hd__nav-emph {
    font-size: 9.5px !important;
    letter-spacing: 0.08em !important;
  }
  html body header[data-header] .hd__right,
  html body header[data-header] .hd__tools { gap: 10px !important; }
  html body header[data-header] .hd__cta {
    padding: 0 12px !important;
    font-size: 9.5px !important;
  }
}

/* M27-02/03 · above 1380px the aligned CTA sits 34px further in than the old
   flush-right one. Keep the same visual rhythm by tightening inter-item gaps
   and CTA padding, so long localized nav labels never touch the tools group. */
@media (min-width: 1381px) {
  html body .hd > .hd__nav,
  html body .fy-site-header > .hd__nav { gap: 12px !important; }
  html body .hd__nav a,
  html body .hd__nav .hd__drop-trigger,
  html body .hd__nav .hd__nav-emph { letter-spacing: 0.08em !important; }
  html body header[data-header] .hd__tools { gap: 8px !important; }
  html body header[data-header] .hd__cta {
    padding: 0 12px !important;
    font-size: 9px !important;
    letter-spacing: 0.08em !important;
  }
}

/* M27-02: authoritative gutter (wins over each page's inline :root 24px). */
html:root {
  --fy-hd-gutter: max(28px, calc((100vw - 1380px) / 2 + 28px));
}

/* ==========================================================================
   M27-R1 · Final micro-polish (adapted to REAL DOM, high-specificity lock)
   ========================================================================== */
@media (min-width: 1360px) {
  html body .hd__nav { gap: clamp(22px, 2.2vw, 34px) !important; }
}
@media (min-width: 1200px) and (max-width: 1359px) {
  html body .hd__nav { gap: 16px !important; }
  html body .hd__nav a, html body .hd__nav .hd__drop > a { padding: 5px 8px !important; font-size: 11px !important; }
}
html body .hd__nav a, html body .hd__nav .hd__drop > a {
  padding: 6px 12px !important; border-radius: 999px !important;
  transition: background-color .16s ease, color .16s ease, border-color .16s ease !important;
}
html body .hd__nav a:hover, html body .hd__nav .hd__drop > a:hover {
  background-color: rgba(20,19,17,.055) !important; color: #141311 !important;
}
html body .hd__nav .hd__drop[data-drop]:has([data-overlay-trigger="news-blog"]) { position: relative !important; margin-left: 10px !important; }
html body .hd__nav .hd__drop[data-drop]:has([data-overlay-trigger="news-blog"])::before {
  content: "" !important; position: absolute !important; left: -6px !important; top: 50% !important;
  transform: translateY(-50%) !important; width: 1px !important; height: 14px !important;
  background: rgba(20,19,17,.16) !important; pointer-events: none !important;
}
html body[data-page] .hd__nav .hd__drop > [data-overlay-panel="products"],
html body[data-page] .hd__nav .hd__drop > [data-overlay-panel="news-blog"],
html body [data-overlay-panel="products"],
html body [data-overlay-panel="news-blog"] {
  height: 420px !important; min-height: 420px !important; max-height: 420px !important;
  box-sizing: border-box !important;
}
html body [data-overlay-panel="products"] .hd__mega-inner,
html body [data-overlay-panel="news-blog"] .hd__mega-inner {
  height: 100% !important; padding-top: 18px !important; padding-bottom: 26px !important; box-sizing: border-box !important;
}
html body [data-overlay-panel="products"] .fy-mega-body { flex: 1 1 auto !important; min-height: 0 !important; }
html body [data-overlay-panel="products"] .capcard__bg {
  flex: 0 0 148px !important; height: 148px !important; min-height: 148px !important; max-height: 148px !important; padding: 10px !important;
}
html body [data-overlay-panel="products"] .capcard__bg img { max-height: 126px !important; }
html body [data-overlay-panel="news-blog"] .fy-mega-nb-split,
html body [data-overlay-panel="news-blog"] .fy-mega-nb-col { min-height: 0 !important; }
html body [data-overlay-panel="news-blog"] .fy-mega-nb-col { display: flex !important; flex-direction: column !important; }
html body [data-overlay-panel="news-blog"] .fy-mega-nb-cards { flex: 1 1 auto !important; }

/* M27-R1 fix: match critical CSS specificity (html body .hd > .hd__nav = 0,2,2) */
@media (min-width: 1360px) {
  html body .hd > .hd__nav,
  html body .fy-site-header > .hd__nav { gap: clamp(22px, 2.2vw, 34px) !important; }
}
@media (min-width: 1200px) and (max-width: 1359px) {
  html body .hd > .hd__nav,
  html body .fy-site-header > .hd__nav { gap: 16px !important; }
}
html body [data-overlay-panel="news-blog"] .hd__mega-inner {
  display: flex !important; flex-direction: column !important;
}
html body [data-overlay-panel="news-blog"] .fy-mega-nb-split {
  flex: 1 1 auto !important; min-height: 0 !important;
}
html body [data-overlay-panel="news-blog"] .fy-mega-nb-col {
  display: flex !important; flex-direction: column !important; height: 100% !important; min-height: 0 !important;
}
html body [data-overlay-panel="news-blog"] .fy-mega-nb-cards { flex: 1 1 auto !important; min-height: 0 !important; }
html body [data-overlay-panel="news-blog"] .fy-mega-nb-card {
  min-height: 132px !important; padding: 14px !important;
}
html body [data-overlay-panel="news-blog"] .fy-mega-nb-card__thumb {
  width: 104px !important; height: 84px !important; flex: 0 0 104px !important;
}
html body [data-overlay-panel="news-blog"] .fy-mega-nb-card__thumb img {
  width: 100% !important; height: 100% !important; object-fit: cover !important;
}
html body [data-overlay-panel="news-blog"] .fy-mega-nb-card__title {
  -webkit-line-clamp: 3 !important; line-clamp: 3 !important; font-size: 14px !important;
}
html body [data-overlay-panel="news-blog"] .fy-mega-nb-quickbar {
  flex: 0 0 auto !important; margin-top: 6px !important; padding-top: 6px !important;
  border-top: 1px solid rgba(20,19,17,.08) !important;
  text-align: center !important; font-size: 12px !important; letter-spacing: .02em !important;
}
html body [data-overlay-panel="news-blog"] .fy-mega-nb-quickbar a {
  color: #1b4d3e !important; font-weight: 600 !important;
}
/* M27-R1 final: eliminate the 150px NEWS void — bottom quickbar must sit <=24px from panel bottom. */
html body[data-page] [data-overlay-panel="news-blog"] .hd__mega-inner {
  padding-bottom: 8px !important;
}

/* ==========================================================================
   M27-R2 hotfix: 452px equal-height panels, zero bottom overflow, uniform nav
   ========================================================================== */
html body[data-page] .hd__nav a[href*="studio"],
html body[data-page] .hd__nav a[href*="customise"] {
  background: transparent !important;
  border-color: transparent !important;
  box-shadow: none !important;
  font-weight: 500 !important;
  padding: 6px 12px !important;
}
html body[data-page] [data-overlay-panel="products"] .capcards-aside__sourcing a[href*="customise"] {
  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
}
html body[data-page] [data-overlay-panel="products"],
html body[data-page] [data-overlay-panel="news-blog"],
html body [data-overlay-panel="products"],
html body [data-overlay-panel="news-blog"] {
  height: 452px !important; min-height: 452px !important; max-height: 452px !important;
  overflow: hidden !important; box-sizing: border-box !important;
}
html body [data-overlay-panel="products"] .capcard__bg {
  flex: 0 0 144px !important; height: 144px !important;
  min-height: 144px !important; max-height: 144px !important; padding: 10px !important;
}
html body [data-overlay-panel="products"] .capcard__bg img { max-height: 124px !important; }
html body [data-overlay-panel="products"] .capcard.capcard--col {
  height: 100% !important; max-height: 100% !important; box-sizing: border-box !important;
}
