/* t206_4 · 活力橙·宽屏分栏 · theme tokens */
body.tpl-t206.var-v4 {
  --tpl-primary: #70ea00;
  --tpl-secondary: #5b9a07;
  --tpl-accent: #97fd69;
  --tpl-bg: #fff7ed;
  --tpl-radius: 0;
  --tpl-max: 1280px;
  font-family: "Helvetica Neue", Arial, sans-serif;
}
body.var-v4 a:hover { color: var(--tpl-primary); }
body.var-v4 .btn, body.var-v4 .my_btn, body.var-v4 .my_btn2,
body.var-v4 button[type="submit"], body.var-v4 input[type="submit"] {
  background: var(--tpl-primary) !important;
  border-color: var(--tpl-primary) !important;
  border-radius: var(--tpl-radius);
}
body.var-v4 .nav-list li.active a, body.var-v4 .nav-list a:hover,
body.var-v4 .mune .m-list > a:hover { color: var(--tpl-primary) !important; }

/* topbar / accent elements */
body.var-v4 .tpl-topbar-v1 {
  background: var(--tpl-secondary);
  color: #fff;
  font-size: 13px;
  padding: 8px 0;
}
body.var-v4 .tpl-topbar-inner {
  max-width: var(--tpl-max);
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  gap: 12px;
  align-items: center;
}
body.var-v4 .tpl-badge {
  background: var(--tpl-primary);
  padding: 2px 10px;
  border-radius: 4px;
  font-size: 12px;
}
body.var-v4 .tpl-accent-ring {
  height: 6px;
  background: linear-gradient(90deg, var(--tpl-primary), var(--tpl-accent), var(--tpl-primary));
}
body.var-v4 .tpl-hero-strip {
  background: var(--tpl-bg);
  border-bottom: 1px solid var(--tpl-accent);
  text-align: center;
  padding: 14px;
  color: var(--tpl-secondary);
  letter-spacing: 0.2em;
  font-size: 14px;
}
body.var-v4 .tpl-stripe-bar { height: 5px; background: var(--tpl-primary); }
body.var-v4 .tpl-stripe-bar2 { height: 2px; background: var(--tpl-accent); margin-bottom: 0; }

/* header variants */
body.hdr-sticky-light .header, body.hdr-sticky-light .head-box,
body.hdr-sticky-light .c-layer--nav {
  position: sticky; top: 0; z-index: 900;
  background: #fff !important;
  box-shadow: 0 2px 12px rgba(0,0,0,.08);
  border-bottom: 3px solid var(--tpl-primary);
}
body.hdr-gradient-round .header, body.hdr-gradient-round .head-box {
  background: linear-gradient(135deg, var(--tpl-secondary), var(--tpl-primary)) !important;
  border-radius: 0 0 20px 20px;
  margin: 0 12px;
  color: #fff;
}
body.hdr-gradient-round .header a, body.hdr-gradient-round .nav-list a { color: #fff !important; }
body.hdr-centered-logo .header .container, body.hdr-centered-logo .head-box .head {
  flex-direction: column !important;
  text-align: center;
  align-items: center;
}
body.hdr-centered-logo .nav-list {
  justify-content: center !important;
  float: none !important;
  display: flex !important;
  flex-wrap: wrap;
  margin-top: 12px;
}
body.hdr-dark-stripe .header, body.hdr-dark-stripe .head-box {
  background: #1a1a2e !important;
  border-top: 4px solid var(--tpl-primary);
}
body.hdr-dark-stripe .header a, body.hdr-dark-stripe .nav-list a { color: #eee !important; }

/* nav variants */
body.nav-pill-buttons .nav-list li a {
  border-radius: 20px;
  padding: 6px 16px !important;
  margin: 0 4px;
  background: rgba(255,255,255,.15);
}
body.nav-pill-buttons .nav-list li.active a {
  background: var(--tpl-primary) !important;
  color: #fff !important;
}
body.nav-center-nav .nav-list { justify-content: center !important; }
body.nav-split-nav .header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* footer */
body.var-v4 .footer, body.var-v4 .foot, body.var-v4 .fo3,
body.var-v4 .c-layer--footer {
  background: var(--tpl-secondary) !important;
  color: #fff;
}
body.foot-minimal-center .footer, body.foot-minimal-center .c-layer--footer {
  text-align: center;
  padding: 40px 20px;
  background: var(--tpl-bg) !important;
  color: var(--tpl-secondary) !important;
}
body.foot-bold-orange .footer { border-top: 6px solid var(--tpl-primary); }

/* tpl-nav-contrast · universal menu readability for transformed templates */

/* ── v1: sticky light header (white bg → dark text) ── */
body.hdr-sticky-light .c-layer--nav,
body.hdr-sticky-light .c-layer--nav .nav,
body.hdr-sticky-light .tpl-header,
body.hdr-sticky-light .tpl-nav,
body.hdr-sticky-light .boxb.header,
body.hdr-sticky-light header.mheader,
body.hdr-sticky-light .head-box,
body.hdr-sticky-light .header,
body.hdr-sticky-light .nav-box {
  background: #fff !important;
}
body.hdr-sticky-light .menu-item,
body.hdr-sticky-light .nav-list a,
body.hdr-sticky-light .nav-menu a,
body.hdr-sticky-light .header_r a,
body.hdr-sticky-light .header_r li a,
body.hdr-sticky-light .mheader nav a,
body.hdr-sticky-light .mheader nav a.upper,
body.hdr-sticky-light .mheader nav a.btn,
body.hdr-sticky-light .header nav a,
body.hdr-sticky-light .nav-box a,
body.hdr-sticky-light .main-menu a,
body.hdr-sticky-light .nav-logo,
body.hdr-sticky-light .nav-logo__text,
body.hdr-sticky-light .header-logo,
body.hdr-sticky-light .boxb.header > a {
  color: #334155 !important;
}
body.hdr-sticky-light .menu-item.is-active,
body.hdr-sticky-light .nav-list li.active a,
body.hdr-sticky-light .nav-list a:hover,
body.hdr-sticky-light .header_r a.tv,
body.hdr-sticky-light .header_r a:hover,
body.hdr-sticky-light .mheader nav .curb a.upper,
body.hdr-sticky-light .mheader nav .curb a.upper span,
body.hdr-sticky-light .menu-item:hover {
  color: var(--tpl-primary, #1d5deb) !important;
}

/* hhshop home: cancel transparent nav + white text */
body.hdr-sticky-light.c-hhshop-page .c-layer--nav,
body.hdr-sticky-light.c-hhshop-page .c-layer--nav .nav {
  position: sticky !important;
  top: 0 !important;
  left: auto !important;
  width: auto !important;
  height: auto !important;
  min-height: 64px;
  background: #fff !important;
  box-shadow: 0 2px 16px rgba(0,0,0,.1) !important;
}
body.hdr-sticky-light.c-hhshop-page .menu-item,
body.hdr-sticky-light.c-hhshop-page .nav-logo,
body.hdr-sticky-light.c-hhshop-page .nav-logo__text {
  color: #334155 !important;
}
body.hdr-sticky-light.c-hhshop-page .menu-item.is-active,
body.hdr-sticky-light.c-hhshop-page .menu-item:hover {
  color: var(--tpl-primary, #1d5deb) !important;
}
body.hdr-sticky-light.c-hhshop-page--home .c-layer--banner {
  padding-top: 35% !important;
}

/* ── v2: gradient round header (gradient bg → white text) ── */
body.hdr-gradient-round .c-layer--nav,
body.hdr-gradient-round .c-layer--nav .nav,
body.hdr-gradient-round .tpl-header,
body.hdr-gradient-round .tpl-nav,
body.hdr-gradient-round .boxb.header,
body.hdr-gradient-round header.mheader,
body.hdr-gradient-round .head-box,
body.hdr-gradient-round .header {
  background: linear-gradient(
    135deg,
    var(--tpl-secondary, #19368a),
    var(--tpl-primary, #1d5deb)
  ) !important;
  box-shadow: 0 8px 28px rgba(0,0,0,.15) !important;
}
body.hdr-gradient-round .menu-item,
body.hdr-gradient-round .nav-list a,
body.hdr-gradient-round .nav-menu a,
body.hdr-gradient-round .header_r a,
body.hdr-gradient-round .header_r li a,
body.hdr-gradient-round .mheader nav a,
body.hdr-gradient-round .mheader nav a.upper,
body.hdr-gradient-round .mheader nav a.btn,
body.hdr-gradient-round .nav-logo,
body.hdr-gradient-round .nav-logo__text,
body.hdr-gradient-round .header-logo,
body.hdr-gradient-round .boxb.header > a {
  color: #fff !important;
}
body.hdr-gradient-round .menu-item.is-active,
body.hdr-gradient-round .nav-list li.active a {
  color: #fff !important;
  opacity: 1;
}
body.hdr-gradient-round.c-hhshop-page .c-layer--nav,
body.hdr-gradient-round.c-hhshop-page .c-layer--nav .nav {
  position: sticky !important;
  top: 0 !important;
  left: auto !important;
  width: auto !important;
  height: auto !important;
}

/* ── v4: dark stripe header ── */
body.hdr-dark-stripe .c-layer--nav,
body.hdr-dark-stripe .c-layer--nav .nav,
body.hdr-dark-stripe .tpl-header,
body.hdr-dark-stripe .boxb.header,
body.hdr-dark-stripe header.mheader,
body.hdr-dark-stripe .head-box,
body.hdr-dark-stripe .header {
  background: #1a1a2e !important;
  box-shadow: 0 2px 12px rgba(0,0,0,.25) !important;
  border-top: 4px solid var(--tpl-primary, #ea5203);
}
body.hdr-dark-stripe .menu-item,
body.hdr-dark-stripe .nav-list a,
body.hdr-dark-stripe .nav-menu a,
body.hdr-dark-stripe .header_r a,
body.hdr-dark-stripe .mheader nav a,
body.hdr-dark-stripe .nav-logo,
body.hdr-dark-stripe .nav-logo__text,
body.hdr-dark-stripe .header-logo {
  color: #f1f5f9 !important;
}
body.hdr-dark-stripe .menu-item.is-active,
body.hdr-dark-stripe .nav-list li.active a,
body.hdr-dark-stripe .nav-list a:hover,
body.hdr-dark-stripe .menu-item:hover {
  color: var(--tpl-accent, #fdb76e) !important;
}
body.hdr-dark-stripe.c-hhshop-page .c-layer--nav,
body.hdr-dark-stripe.c-hhshop-page .c-layer--nav .nav {
  position: sticky !important;
  background: #1a1a2e !important;
}

/* ── v3: sidebar layout (dark sidebar → light text) ── */
body.layout-sidebar.hdr-sidebar-fixed .tpl-aside-v3 .menu-item,
body.layout-sidebar.hdr-sidebar-fixed .tpl-aside-v3 .nav-list a,
body.layout-sidebar.hdr-sidebar-fixed .tpl-aside-v3 .header_r a,
body.layout-sidebar.hdr-sidebar-fixed .tpl-aside-v3 .header_r li a,
body.layout-sidebar.hdr-sidebar-fixed .tpl-aside-v3 .mheader nav a,
body.layout-sidebar.hdr-sidebar-fixed .tpl-aside-v3 .mheader nav a.upper,
body.layout-sidebar.hdr-sidebar-fixed .tpl-aside-v3 .mheader nav a.btn,
body.layout-sidebar.hdr-sidebar-fixed .tpl-aside-v3 .header nav a,
body.layout-sidebar.hdr-sidebar-fixed .tpl-aside-v3 .nav-box a,
body.layout-sidebar.hdr-sidebar-fixed .tpl-aside-v3 .nav-box dd a,
body.layout-sidebar.hdr-sidebar-fixed .tpl-aside-v3 .nav-logo,
body.layout-sidebar.hdr-sidebar-fixed .tpl-aside-v3 .header-logo,
body.layout-sidebar.hdr-sidebar-fixed .tpl-aside-v3 .boxb.header > a {
  color: rgba(255,255,255,.92) !important;
}
body.layout-sidebar.hdr-sidebar-fixed .tpl-aside-v3 .menu-item.is-active,
body.layout-sidebar.hdr-sidebar-fixed .tpl-aside-v3 .menu-item.is-active:hover,
body.layout-sidebar.hdr-sidebar-fixed .tpl-aside-v3 .nav-list li.active a,
body.layout-sidebar.hdr-sidebar-fixed .tpl-aside-v3 .header_r a.tv,
body.layout-sidebar.hdr-sidebar-fixed .tpl-aside-v3 .mheader nav .curb a.upper span {
  background: var(--tpl-primary) !important;
  color: #fff !important;
}
body.layout-sidebar.hdr-sidebar-fixed .tpl-aside-v3 .menu-item:hover,
body.layout-sidebar.hdr-sidebar-fixed .tpl-aside-v3 .mheader nav a.upper:hover span,
body.layout-sidebar.hdr-sidebar-fixed .tpl-aside-v3 .nav-list a:hover {
  background: rgba(255,255,255,.12) !important;
  color: #fff !important;
}
body.layout-sidebar.hdr-sidebar-fixed .tpl-aside-v3 .nav-logo,
body.layout-sidebar.hdr-sidebar-fixed .tpl-aside-v3 .header-logo {
  color: #fff !important;
}

/* pill buttons on light headers */
body.nav-pill-buttons.hdr-sticky-light .nav-list li a,
body.nav-pill-buttons.hdr-sticky-light .menu-item,
body.nav-pill-buttons.hdr-sticky-light .header_r li a {
  background: rgba(0,0,0,.06) !important;
  color: #334155 !important;
}
body.nav-pill-buttons.hdr-sticky-light .nav-list li.active a,
body.nav-pill-buttons.hdr-sticky-light .menu-item.is-active,
body.nav-pill-buttons.hdr-sticky-light .header_r a.tv {
  background: var(--tpl-primary) !important;
  color: #fff !important;
}
