
/* t219_4 紫橙现代 */
.theme-purple .purple-bar {
  background: linear-gradient(135deg, #312e81 0%, #6d28d9 50%, #7c3aed 100%);
  padding: 0;
}
.theme-purple .purple-inner { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; padding: 16px 0; }
.theme-purple #logo { float: none !important; margin-top: 0 !important; }
.theme-purple #logo span a { color: #fff !important; }
.theme-purple .pill-nav #cssmenu > ul > li > a {
  color: #ede9fe !important; border-radius: 20px; margin: 0 4px; padding: 8px 16px !important;
}
.theme-purple .pill-nav #cssmenu > ul > li.active > a,
.theme-purple .pill-nav #cssmenu > ul > li > a:hover {
  background: #f97316 !important; color: #fff !important;
}
.theme-purple .i_more {
  background: linear-gradient(135deg, #7c3aed, #f97316) !important; border: none !important;
}
.theme-purple .i_title h2:first-letter { color: #7c3aed !important; }
.theme-purple .main_pro ul.row { display: grid !important; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.theme-purple .main_pro ul.row > li { width: 100% !important; float: none !important; padding: 0; }
.theme-purple .main_pro .main_list { border-radius: 12px; overflow: hidden; background: #f5f3ff; padding-bottom: 12px; }
.theme-purple .i_news ul.row > li {
  background: #fff; border-radius: 10px; padding: 12px; box-shadow: 0 4px 20px rgba(124,58,237,.1);
}
.theme-purple .i_about .container { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.theme-purple .i_about .i_aobut_l, .theme-purple .i_about .i_about_r { float: none; width: auto; }
.theme-purple .cate ul { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.theme-purple .cate ul > li { width: 100% !important; }
.theme-purple .footer_bottom { background: #1e1b4b !important; }

/* 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;
}
