/* header.css — PC navy single bar (2.2.25: mark logo, chevron align, Quote CTA), nav + dropdowns + mega menu, search, language, mobile header/menu
   Derived from the original theme stylesheet (wangzhan theme) and reorganised per component. */
.mobile_header {
  display: none;
  clear: both;
  width: 100%;
  height: 52px;
  transition: all 0.5s;
  -webkit-transition: all 0.5s;
}

.mobile_header_top {
  position: fixed;
  left: 0;
  top: 0;
  z-index: 7;
  width: 100%;
  height: 52px;
  background: var(--hue);
  box-shadow: 0 2px 8px rgba(6,29,66,.28);
}

.mobile_logo {
  width: 180px;
  height: 52px;
  margin-left: 15px;
}

.mobile_logo>a,
.mobile_logo .ycx_brand_link {
  height: 100%;
  display: -ms-flexbox;
  display: -webkit-flex;
  display: flex;
  -ms-flex-direction: column;
  -webkit-flex-direction: column;
  flex-direction: column;
  -ms-align-items: center;
  -webkit-align-items: center;
  align-items: center;
  -ms-justify-content: center;
  -webkit-justify-content: center;
  justify-content: center;
  gap: 2px;
  text-decoration: none;
}

.mobile_logo img,
.mobile_logo .ycx_brand_img {
  display: block;
  height: 28px;
  width: auto;
}

.mobile_logo .ycx_brand_name {
  display: block;
  color: #fff;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .01em;
  white-space: nowrap;
  line-height: 1.15;
}

.mobile_menu_btn {
  position: absolute;
  right: 0;
  top: 0;
  display: flex;
  display: -ms-flexbox;
  display: -webkit-flex;
  justify-content: center;
  -ms-justify-content: center;
  -webkit-justify-content: center;
  align-items: center;
  -webkit-align-items: center;
  -ms-align-items: center;
  flex-direction: column;
  -webkit-flex-direction: column;
  -ms-flex-direction: column;
  width: 54px;
  height: 52px;
  cursor: pointer;
}

.mobile_menu_btn span {
  display: block;
  height: 3px;
  width: 28px;
  background: #fff;
  border-radius: 4px;
  margin-bottom: 6px;
}

.mobile_menu_btn span:last-child {
  margin-bottom: 0;
}

.mobile_search_icon {
  width: 40px;
  height: 52px;
  color: #fff;
  font-size: 30px;
  line-height: 54px;
  text-align: center;
  margin-right: 52px;
  cursor: pointer;
}

.mobile_header.hover {
  background: rgba(0,0,0,.5);
  box-shadow: 0 2px 3px rgba(0,0,0,.1);
  transition: all 0.5s;
  -webkit-transition: all 0.5s;
}

.mobile_menu_box {
  position: fixed;
  right: -110%;
  top: 0;
  z-index: 9;
  width: 75%;
  height: 100%;
  background: rgba(255,255,255,.95);
  padding: 20px 15px;
  overflow-y: auto;
  transition: all 0.6s;
  -webkit-transition: all 0.6s;
}

.mobile_menu_box.show {
  right: 0;
  transition: all 0.6s;
  -webkit-transition: all 0.6s;
}

.mobile_menu_dl {
  padding: 0;
  margin: 0;
}

.mobile_menu_dl dd {
  padding: 0;
  margin: 0;
}

.mobile_menu_dl dd {
  clear: both;
  line-height: 1.3;
  border-bottom: 1px solid #e1e1e1;
}

.mobile_menu_tt {
  display: flex;
  display: -ms-flexbox;
  display: -webkit-flex;
  -ms-align-items: center;
  -webkit-align-items: center;
  align-items: center;
  flex-wrap: wrap;
  -ms-flex-wrap: wrap;
  -webkit-flex-wrap: wrap;
}

.mobile_menu_tt .text {
  float: left;
  width: 80%;
  color: #333;
  font-size: 16px;
  line-height: 24px;
  padding: 10px 0;
  text-transform: capitalize;
}

.mobile_menu_dl dd.hover .mobile_menu_tt .text {
  color: var(--hue);
}

.mobile_menu_tt_icon {
  display: none;
  float: right;
  float: right;
  width: 44px;
  line-height: 44px;
  text-align: center;
  color: #333;
  font-size: 16px;
  -webit-transition: all 0.5s;
  transition: all 0.5s;
  transform: rotateZ(0deg);
  -webkit-transform: rotateZ(0deg);
  -moz-transform: rotateZ(0deg);
  -ms-transform: rotateZ(0deg);
  -o-transform: rotateZ(0deg);
}

.mobile_menu_down {
  display: none;
  padding: 6px 0 10px 12px;
}

.mobile_menu_down_clm {
  margin-bottom: 8px;
}

.mobile_menu_down_clm_tt {
  display: -ms-flex;
  display: -webkit-flex;
  display: flex;
  -ms-justify-content: space-between;
  -webkit-justify-content: space-between;
  justify-content: space-between;
  -ms-align-items: center;
  -webkit-align-items: center;
  align-items: center;
  font-size: 14px;
  color: #333;
}

.mobile_menu_down_clm_tt .tt {
  width: calc(100% - 50px);
  color: #333;
  line-height: 20px;
  padding: 7px 0;
}

.mobile_menu_down_clm_tt .icon {
  width: 40px;
  height: 40px;
  line-height: 40px;
  text-align: center;
  font-size: 16px;
  transform: rotateZ(90deg);
  -webkit-transform: rotateZ(90deg);
  -moz-transform: rotateZ(90deg);
  -ms-transform: rotateZ(90deg);
  -o-transform: rotateZ(90deg);
  -webit-transition: all 0.5s;
  transition: all 0.5s;
}

.mobile_menu_down_clm.hover .mobile_menu_down_clm_tt .icon {
  -webit-transition: all 0.5s;
  transition: all 0.5s;
  transform: rotateZ(180deg);
  -webkit-transform: rotateZ(180deg);
  -moz-transform: rotateZ(180deg);
  -ms-transform: rotateZ(180deg);
  -o-transform: rotateZ(180deg);
}

.mobile_menu_down_clm_list {
  display: none;
  padding: 5px 0 0 10px;
}

.mobile_menu_down_clm_list a {
  display: block;
  font-size: 12px;
  line-height: 1.4;
  color: #333;
  padding: 5px 0 5px 14px;
  position: relative;
}

.mobile_menu_down_clm_list a::before {
  content: "";
  display: block;
  position: absolute;
  left: 0;
  top: 50%;
  width: 5px;
  height: 5px;
  margin-top: -3px;
  background: #333;
  border-radius: 50%;
}

.mobile_menu_tt_icon.hover {
  transform: rotateZ(90deg);
  -webkit-transform: rotateZ(90deg);
  -ms-transform: rotateZ(90deg);
  -webit-transition: all 0.5s;
  transition: all 0.5s;
}

.mobile_search_box {
  position: fixed;
  left: 0;
  top: 52px;
  z-index: 7;
  display: none;
  width: 100%;
  padding: 20px;
  background: #fafafa;
}

.mobile_search_box form {
  width: 100%;
  padding: 2px;
  border-radius: 5px;
  border: 1px solid #ddd;
}

.mobile_search_text {
  float: left;
  line-height: 40px;
  padding-left: 15px;
  font-size: 14px;
  width: calc(100% - 40px);
  border: 0;
}

.mobile_search_btn_text {
  float: right;
  width: 40px;
  height: 40px;
  font-size: 28px;
  color: var(--hue);
  text-align: center;
  line-height: 40px;
  border: none;
  background: none;
}

.mobile_menu_b {
  margin-top: 40px;
}

.mobile_menu_b_clm {
  margin-bottom: 25px;
}

.mobile_menu_b_clm .tt {
  font-size: 16px;
  font-weight: 700;
  color: #333;
  margin-bottom: 10px;
}

.mobile_menu_b_clm .text {
  font-size: 14px;
  color: #333;
  margin-bottom: 6px;
}

.mobile_menu_b_clm .text a {
  color: #333;
  word-break: break-all;
}

.mobile_lag_box {
  padding: 0 0 10px;
  margin-bottom: 20px;
}

.mobile_lag_tt {
  font-size: 18px;
  color: #333;
  font-weight: 700;
  padding-bottom: 18px;
}

.mobile_lag_text {
  padding-bottom: 8px;
  display: flex;
  display: -ms-flexbox;
  display: -webkit-flex;
  flex-wrap: wrap;
  -ms-flex-wrap: wrap;
  -webkit-flex-wrap: wrap;
}

.mobile_lag_text a {
  color: #333;
  font-size: 16px;
  margin-right: 25px;
}

.mask,
.mobile_menu_mask {
  display: none;
  position: fixed;
  left: 0;
  top: 0;
  z-index: 6;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,.2);
}

.mobile_menu_mask {
  z-index: 7;
}

.pc_header_top {
  /* 2.2.24: utility strip removed (concept B single navy bar). Kept hidden for old markup safety. */
  display: none !important;
}

.header_top_w {
  display: -ms-flexbox;
  display: -webkit-flex;
  display: flex;
  -ms-align-items: center;
  -webkit-align-items: center;
  align-items: center;
  -ms-justify-content: space-between;
  -webkit-justify-content: space-between;
  justify-content: space-between;
}

.header_top_l {
  font-size: 16px;
  color: #FFF;
}

.header_top_r {
  column-gap: 25px;
  display: -ms-flexbox;
  display: -webkit-flex;
  display: flex;
  -ms-align-items: center;
  -webkit-align-items: center;
  align-items: center;
}

.header_top_r_01 {
  column-gap: 25px;
  display: -ms-flexbox;
  display: -webkit-flex;
  display: flex;
  -ms-align-items: center;
  -webkit-align-items: center;
  align-items: center;
}

.header_top_r_01 .item {
  display: -ms-flexbox;
  display: -webkit-flex;
  display: flex;
  -ms-align-items: center;
  -webkit-align-items: center;
  align-items: center;
}

.header_top_r_01 .item .iconfont {
  font-size: 24px;
  color: #fff;
}

.header_top_r_01 .item .r_box {
  font-size: 16px;
  color: #fff;
  padding-left: 3px;
}

.header_top_r_01 .item .r_box a {
  color: #fff;
}

.header_top_r_01 .item .r_box a:hover {
  text-decoration: underline;
}

.header_language {
  position: relative;
}

.header_language_01 {
  height: 36px;
  border-left: 1px solid rgba(255,255,255,.3);
  border-right: 1px solid rgba(255,255,255,.3);
  padding-left: 10px;
  padding-right: 10px;
  cursor: pointer;
  display: -ms-flexbox;
  display: -webkit-flex;
  display: flex;
  -ms-align-items: center;
  -webkit-align-items: center;
  align-items: center;
}

.header_language_01 .icon1 {
  width: 21px;
}

.header_language_01 .icon1 img {
  display: block;
  width: 100%;
}

.header_language_01 span {
  font-size: 16px;
  color: #fff;
  padding: 0 2px 0 5px;
}

.header_language_01 .icon2 {
  font-size: 16px;
  color: #fff;
  padding-top: 1px;
}

.header_language_02 {
  display: none;
  position: absolute;
  z-index: 5;
  top: 100%;
  left: 50%;
  -ms-transform: translate(-50%,0);
  -webkit-transform: translate(-50%,0);
  transform: translate(-50%,0);
  width: 105px;
  padding: 16px 0;
  background: #fff;
  border-radius: 6px;
  box-shadow: 0 5px 10px rgba(0,0,0,.2);
}

.header_language_02 a {
  display: block;
  font-size: 16px;
  color: #444;
  text-align: center;
  padding: 8px 0;
}

.header_language_02 a:hover {
  color: #fff;
  background: var(--hue);
}

.pc_header_bot {
  background: var(--hue);
  box-shadow: 0 2px 10px rgba(6,29,66,.22);
}

.header_bot_w {
  position: relative;
  display: -ms-flexbox;
  display: -webkit-flex;
  display: flex;
  -ms-align-items: center;
  -webkit-align-items: center;
  align-items: center;
  -ms-justify-content: space-between;
  -webkit-justify-content: space-between;
  justify-content: space-between;
}

.header_bot_w .logo {
  width: 240px;
  flex: 0 0 auto;
}

.header_bot_w .logo a {
  display: -ms-flexbox;
  display: -webkit-flex;
  display: flex;
  -ms-flex-direction: column;
  -webkit-flex-direction: column;
  flex-direction: column;
  -ms-align-items: center;
  -webkit-align-items: center;
  align-items: center;
  gap: 3px;
  text-decoration: none;
}

.header_bot_w .logo a img {
  display: block;
  width: auto;
  max-width: 100%;
  height: 40px;
  object-fit: contain;
}

.header_bot_w .logo .ycx_brand_name {
  display: block;
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .02em;
  white-space: nowrap;
  line-height: 1.15;
  margin-top: 0;
}

.header_bot_r {
  flex: 1 1 auto;
  width: auto;
  min-width: 0;
  display: -ms-flexbox;
  display: -webkit-flex;
  display: flex;
  -ms-align-items: center;
  -webkit-align-items: center;
  align-items: center;
  -ms-justify-content: flex-end;
  -webkit-justify-content: flex-end;
  justify-content: flex-end;
  column-gap: 28px;
}

.pc_head_list_box {
  width: auto;
  flex: 1 1 auto;
  min-width: 0;
  display: -ms-flexbox;
  display: -webkit-flex;
  display: flex;
  -ms-justify-content: center;
  -webkit-justify-content: center;
  justify-content: center;
  column-gap: clamp(18px, 2.2vw, 36px);
}

.pc_head_list_box .item {
  position: relative;
}

.pc_head_list_box .item>a {
  /* 2.2.26: block + line-height like pre-2.2.24 / cnycchem — icon stays in text flow.
     Active bar = inset box-shadow on whole <a> (not text-decoration; that splits under .icon-xia). */
  display: block;
  height: 88px;
  line-height: 88px;
  font-size: 15px;
  color: #fff;
  white-space: nowrap;
  text-decoration: none;
  box-shadow: inset 0 -2px 0 transparent;
}
.pc_head_list_box .item>a .iconfont.icon-xia,
.pc_head_list_box .item>a .icon-xia {
  display: inline-block;
  margin-left: 4px;
  font-size: 12px;
  line-height: 1;
  text-decoration: none !important;
}

.pc_head_list_box .item.hover>a,
.pc_head_list_box .item.is-active>a {
  color: #fff;
  opacity: .92;
  text-decoration: none;
  box-shadow: inset 0 -2px 0 #fff;
}

.pro_drop_menu {
  display: none;
  position: absolute;
  z-index: 5;
  top: 100%;
  left: 0;
  width: 100%;
  background: #F5F5F5;
  box-shadow: 0 4px 10px rgba(0,0,0,.25);
  padding: 45px 45px 35px;
}

/* 2.2.4: columns size to their content (capped) with one equal gap,
   the Featured products area takes the remaining width. */
.pro_drop_menu1 {
  display: grid;
  grid-template-columns: fit-content(300px) fit-content(320px) minmax(0, 1fr);
  column-gap: clamp(28px, 2.8vw, 48px);
  align-items: start;
}

/* Narrow desktops: let the middle column titles wrap so the
   Featured products images keep a comfortable size. */
@media (max-width: 1279px) {
  .pro_drop_menu .pro_drop_menu1 {
    grid-template-columns: fit-content(290px) fit-content(270px) minmax(0, 1fr);
  }
}

.pro_drop_menu1_01_tt a {
  display: -ms-flexbox;
  display: -webkit-flex;
  display: flex;
}

.pro_drop_menu1_01_tt a .iconfont {
  width: 25px;
  font-size: 20px;
  color: var(--hue);
  margin-top: 4px;
}

.pro_drop_menu1_01_tt a span {
  width: calc(100% - 25px);
  color: #444;
  -ms-transition: all 0.6s;
  -webkit-transition: all 0.6s;
  transition: all 0.6s;
}

.pro_drop_menu1_01_tt a:hover span {
  color: var(--hue);
  text-decoration: underline;
}

.pro_drop_menu1_01_list {
  padding: 15px 0 0 25px;
}

.pro_drop_menu1_01_list a {
  display: block;
  font-size: 16px;
  color: #666;
  margin-bottom: 8px;
}

.pro_drop_menu1_01_list a:hover {
  color: var(--hue);
}

.pro_drop_menu1_03_tt {
  font-size: 20px;
  color: #444;
  padding-bottom: 24px;
}

.pro_drop_menu1_03_list {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  column-gap: 18px;
}

.header_pro_item a {
  display: block;
}

.header_pro_item a .img_box {
  display: block;
  aspect-ratio: 345 / 260;
  overflow: hidden;
  background: #f0f4f9;
  -ms-perspective: 900px;
  -moz-perspective: 900px;
  -webkit-perspective: 900px;
  perspective: 900px;
}

.header_pro_item a .img_box img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  max-width: none;
}

.header_pro_item a:hover .img_box img {
  -ms-transform: translateZ(80px);
  -moz-transform: translateZ(80px);
  -webkit-transform: translateZ(80px);
  transform: translateZ(80px);
  -ms-transition: all 1.6s;
  -webkit-transition: all 1.6s;
  transition: all 1.6s;
}

.header_pro_item a .title {
  color: #444;
  padding-top: 11px;
  -ms-transition: all 0.6s;
  -webkit-transition: all 0.6s;
  transition: all 0.6s;
}

.header_pro_item a:hover .title {
  color: var(--hue);
}

.header_pro_item a .text {
  color: #666;
  padding-top: 4px;
}

.pro_drop_menu1_01,
.pro_drop_menu1_02,
.pro_drop_menu1_03 {
  width: auto;
  min-width: 0;
}

.publicTwo_stage_nav {
  display: none;
  position: absolute;
  z-index: 5;
  top: 100%;
  left: -22px;
  width: 210px;
  background: #F5F5F5;
  box-shadow: 0 4px 4px rgba(0,0,0,.25);
  padding: 25px 10px 25px 22px;
}

.publicTwo_stage_nav .everyOne {
  margin-bottom: 8px;
}

.publicTwo_stage_nav .everyOne a {
  font-size: 16px;
  color: #444;
}

.publicTwo_stage_nav .everyOne a:hover {
  color: var(--hue);
}

.publicTwo_stage_nav>.everyOne:last-child {
  margin-bottom: 0;
}

.header_bot_actions {
  display: -ms-flexbox;
  display: -webkit-flex;
  display: flex;
  -ms-align-items: center;
  -webkit-align-items: center;
  align-items: center;
  gap: 14px;
  flex: 0 0 auto;
  flex-wrap: nowrap;
}

.header_cta {
  display: inline-block;
  flex: 0 0 auto;
  white-space: nowrap;
  padding: 8px 16px;
  border-radius: 5px;
  background: #fff;
  color: var(--hue);
  border: 1px solid #fff;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.2;
  text-decoration: none;
  transition: background .2s, color .2s, border-color .2s;
}
.header_cta:hover,
.header_cta:focus {
  background: transparent;
  color: #fff;
  border-color: #fff;
}

.mobile_header_cta {
  display: none;
  margin-right: 8px;
  margin-top: 11px;
  padding: 6px 10px;
  border-radius: 4px;
  background: #fff;
  color: var(--hue);
  border: 1px solid #fff;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.2;
  text-decoration: none;
  white-space: nowrap;
}
.mobile_header_cta:hover,
.mobile_header_cta:focus {
  background: transparent;
  color: #fff;
}

@media screen and (min-width: 380px) {
  .mobile_header_cta {
    display: inline-block;
  }
}

.header_search {
  width: 180px;
  border: 1px solid rgba(255,255,255,.55);
  border-radius: 5px;
  overflow: hidden;
  background: transparent;
  flex: 0 0 auto;
}

.header_search_form {
  display: -ms-flexbox;
  display: -webkit-flex;
  display: flex;
}

.header_search_form input {
  font-family: "Inter-Regular","Arial","sans-serif";
  font-size: 14px;
  color: #fff;
  width: calc(100% - 38px);
  height: 34px;
  border: none;
  background: transparent;
  padding: 0 8px 0 10px;
}
.header_search_form input::placeholder {
  color: rgba(255,255,255,.7);
}

.header_search_form button {
  font-size: 22px;
  color: #fff;
  width: 38px;
  height: 34px;
  border: none;
  background: none;
}

.pc_header_bot.active {
  position: fixed;
  z-index: 10;
  top: 0;
  left: 0;
  width: 100%;
  background: var(--hue);
  box-shadow: 0 4px 16px rgba(6,29,66,.35);
}

/* 2.2.62: taller desktop header bar (72px -> 88px); slightly slimmer once fixed on scroll */
.pc_header_bot.active .pc_head_list_box .item>a{height:76px;line-height:76px}

/* 2.2.3: height follows the real header content (was a fixed 141px, which left a ~12px white strip
   under the nav). While the nav row is fixed on scroll, header.js locks this height so nothing jumps. */
.pc_header {
  height: auto;
}

@media screen and (min-width:1201px) and (max-width:1410px){
  .header_bot_w .logo {
    width: 200px;
  }
  .header_bot_r {
    width: auto;
  }
  .pc_head_list_box {
    width: auto;
    column-gap: 20px;
  }
  .pro_drop_menu1_01_list a {
    font-size: 14px;
  }
  .header_pro_item a .title {
    font-size: 14px;
  }
  .pro_drop_menu {
    padding-left: 25px;
    padding-right: 30px;
  }
}

@media screen and (min-width:1025px) and (max-width:1200px){
  .header_search {
    display: none;
  }
  .header_bot_w .logo {
    width: 180px;
  }
  .pc_head_list_box {
    width: auto;
    column-gap: 14px;
  }
  .header_bot_r {
    width: auto;
  }
  .pc_head_list_box .item>a {
    font-size: 14px;
  }
  .pro_drop_menu {
    padding-left: 25px;
    padding-right: 30px;
  }
  .pro_drop_menu1_01_list a {
    font-size: 14px;
  }
  .header_pro_item a .title {
    font-size: 12px;
  }
  .pro_drop_menu1_03_list {
    column-gap: 12px;
  }
}

@media screen and (min-width:768px) and (max-width:1024px){
  .pc_header {
    display: none;
  }
  .mobile_header {
    display: block;
  }
}

@media screen and (min-width:1px) and (max-width:767px){
  .pc_header {
    display: none;
  }
  .mobile_header {
    display: block;
  }
  .mobile_logo {
    margin-left: 10px;
  }
}
