/* ATF Frontend Language Switcher */
/* ATF Frontend Language Switcher
 * v1.0.4 — Match the compact borderless topbar button; hover reveals the acid-lime brand tone. */
.atf-lang-switch{display:inline-flex;align-items:center;gap:4px;margin-left:12px;padding:6px 10px;border:1px solid transparent;border-radius:14px;background:transparent;color:#666;font-size:12px;line-height:1;height:28px;box-sizing:border-box;cursor:pointer;text-decoration:none;transition:background .18s,border-color .18s,color .18s}
.atf-lang-switch:hover{background:#EDFE63;border-color:transparent;color:#111}
.atf-lang-switch:focus-visible{outline:2px solid #222;outline-offset:2px}
.atf-lang-switch .atf-lang-icon{width:14px;height:14px;stroke:currentColor;fill:none;stroke-width:1.6}
.atf-lang-switch .atf-lang-label{font-family:inherit;font-weight:500;letter-spacing:.02em}
html[data-atf-lang="en"] .trp-language-switcher-container,
html[data-atf-lang="en"] .trp-floater{display:none!important}

/* v1.0.6
 * Fashion & Lifestyle 二级标题在 mega menu 里默认右对齐，与其他两组不一致，
 * 只在 EN 状态下把三个二级标题统一居中，不影响列表项本身的对齐布局。 */
/* v1.0.7
 * (1) mega menu 下三级标题（包含 Fashion & Lifestyle）EN 下强制居中，
 *     修复主题给 Fashion 列的三级标题 text-align:right。
 * (2) 首页趋势卡 tags 果下的 grid 强制两列，已保证“Show Frontiers”与“Future Home”自然换到第二行。 */
html[data-atf-lang="en"] .menu-item-has-children .mega-third-link,
html[data-atf-lang="en"] .submenu-dropdown .mega-third-link{
  text-align:center!important;
}
html[data-atf-lang="en"] .trend-forecast-section .trend-tags,
html[data-atf-lang="en"] .trend-forecast-section .trend-tags.trend-tags-2col{
  display:grid!important;
  grid-template-columns:repeat(2,minmax(0,1fr))!important;
  justify-items:end;
  column-gap:20px;
  row-gap:6px;
}
html[data-atf-lang="en"] .menu-item-has-children .mega-second-title{
  text-align:center!important;
  display:block!important;
  justify-content:center!important;
  width:100%!important;
}
