:root{
  --headerHeight: 70px;
  --footerHeight: 50px;
  --themeColor: #a47864;
  --themeColor2: #c3a08a;
  --navColor:#424241;
}

.fadeShow {
  animation: fadeIn 0.5s ease-in-out both;
}

.fadeHide {
  animation: fadeOut 0.5s ease-in-out both;
}

@keyframes fadeIn {
  0% {
      opacity: 0;
  }

  100% {
      opacity: 1;
  }
}

@keyframes fadeOut {
  0% {
      opacity: 1;
  }

  100% {
      opacity: 0;
  }
}
#bd{
  padding-top: var(--headerHeight);
  min-height:100vh;
}
.header{
  width: 100%;
  position: fixed;
  display: flex;
  flex-direction: column;
  /* 设置为列布局 */
  justify-content: center;
  align-items: center;

  height: var(--headerHeight);
  /* 高度自动适应内容 */
  z-index: 999;
  transition: all 0.5s ease;
  background-color: #f5f5f5;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  opacity: 1;
}
/* 鼠标悬浮.header变色 */

.header.transparent{
    background-color: transparent;
    box-shadow: none;
}

.header_logo{
    align-items: center;
    width: auto;
    height: var(--headerHeight);
    display: flex;
    justify-content: flex-start;
}
.header_logo>a{
  height:100%;
}
@media screen and (max-width: 768px) {
  .header_logo {
      height: 60px;
  }
}
.header_logo img{
    width: 100%;
    height: 100%;
    object-fit: contain;
}
.header_top {
  align-items: center;
  width: 100%;
  display: flex;
  border-bottom: none;
  justify-content: space-between;
  gap: 1.25rem;
  padding: 0 15rem;
}
@media screen and (max-width: 1440px) {
  .header_top {
      padding: 0 5%;
  }
}
.header_nav{
    display: flex;
    gap:1.8rem;
    width: 100%;
    max-width: 74.75rem;
    padding: 0 2.5rem;
    height: var(--headerHeight);
    justify-content: space-between;
}
.header_nav>li{
    font-size: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: 0 20px;
}
.header_nav>li:hover{
  background: var(--themeColor);;
}
.header_nav>li>a{
  color:var(--navColor);
  transition: all 0.3s ease;
}
.header_nav>li:hover>a{
  color:#fff
}
.header_nav>li>ul {
  display: none;
  position: absolute;
  top: var(--headerHeight);
  width: 100%;
  background-color: #fff;
}
.header_nav>li:hover ul,
.header_nav>li>ul:hover {
    display: block;
}
.header_nav>li>ul>li{
  padding: 20px 10px;
  text-align: center;
}
.header_nav>li>ul>li:hover{
  background: var(--themeColor);
}
.header_nav>li>ul>li:hover a{
  color:#fff;
}
.header_logo_nav{
  display: flex;
  align-items: center;
  gap: 2.5rem;
}
svg.search path {
  transition: all .2s;
}
svg.search:hover path {
  stroke: var(--themeColor);;
}
/* 如果.header包含.transparent 那么.header_nav li>a字体颜色变白色 */
.header.transparent .header_nav>li>a{
    color:#fff;
}
.header_fuc {
  display: flex;
  gap: 1.875rem;
  justify-content: flex-end;
}

@media screen and (max-width: 968px) {
  .header_fuc{
    gap: 1.25rem;
  }
}
.header_fuc>img{
    width: 24px;
    height: 24px;
    cursor: pointer;
}
@media screen and (max-width: 1280px) {
  .header_nav{
    gap: 1.25rem;
  }
  .header_nav li{
    font-size: .875rem
  }
}
@media screen and (max-width: 968px) {
  .header_nav{
    display: none;
  }
  .fuc_phoneMenu {
    display: flex;
  }
}
.footer{
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2.5rem;
    height: var(--footerHeight);
    background-color: #f5f5f5;
    padding: 20px 120px;
    font-size: 1rem;
    overflow: unset;
}
@media screen and (max-width: 1440px) {
  .footer {
      padding: 20px 5%;
      height: auto !important;
  }
}
@media screen and (max-width: 1280px) {
  .footer{
    gap: 10px;
    font-size:.875rem;
    flex-direction: column;
    height: auto;
  }
}
@media screen and (max-width: 768px) {
  .footer {
     height: auto !important;
     position: relative;
     z-index: 999;
  }
  .footer-Left, .footer-Right{
      gap:10px !important;
  }
}
.footer-Left-Img{
    position: relative;
}
.footer-Left-Img .imgContainer{
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2.5rem;
    padding-left: 3.75rem;
    position: relative;
}
@media (max-width:768px){
  .footer-Left-Img .imgContainer{
    padding-left:0;
  }
}
.footer-Left-Img .imgContainer .iconWrapper>img{
    width: 20px;
    height: 20px;
    object-fit: contain;
    cursor: pointer;
    position: relative;
}

.footer-Left,.footer-Right{
    display: flex;
    gap:1.25rem;
}
@media screen and (max-width: 768px) {
  .footer-Left, .footer-Right{
      gap:10px;
  }
}
.footer-Right{
  font-size: 14px;
}
.footer-Left{
  gap: 1.875rem;
}
.footer-Right span,.footer-Right a,.footer_nav a{
  color: var(--navColor);
}
.footer-Right-ICP>span>a:hover{
  color: var(--themeColor);
}
.footer-Left>span>a,.footer-Right>span>a{transition: all .3s;color:#4D4C4C;}
.footer-Left-Img .iconWrapper{
  position: relative;
  display: inline-block;
}

.footer_erweima{
    opacity: 0;
    position: absolute;
    bottom:150%;
    left: 50%;
    transform: translateX(-50%);
    background-color: #fff;
    padding: 10px;
    display: flex;
    /* 禁用鼠标事件 */
    pointer-events: none;
    z-index: 10;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease-in-out;
}

.footer_erweima::before{
    content: "";
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    border: 10px solid transparent;
    border-top: 10px solid #fff;
}
.footer_erweima img{
    width: 5rem;
    height: 5rem;
    object-fit: cover;
}
.footer_nav{
  display: flex;
  gap: 1.875rem;
}
.footer_nav a:hover {
  color: var(--themeColor);
}
.iconWrapper:hover .footer_erweima {
  display: flex;
  opacity: 1;
}
/* 修正后的悬浮显示逻辑 */
@media (max-width: 1700px) {
  .footer-Left,.footer-Right{
    font-size:14px;
  }
}
@media (max-width: 1570px) {
  .footer-Left, .footer-Right{
    gap: 1.25rem;
  }
  .footer-Left-Img .imgContainer{
    padding-left:1.75rem;
  }
}
@media (max-width: 968px) {
  .footer{
    flex-direction: column;
    height: auto;
  }
}
@media (max-width: 768px) {
  .footer-Left,.footer-Right{
    flex-direction: column;
    align-items: center;
  }
  .footer_nav{
    opacity: 0;
    display: none;
  }
}
ul.phoneMenu .phoneMenu_top{
  padding: .625rem 2.8125rem;
  display: flex;
  justify-content: flex-end;
  margin-bottom: 10px;
  gap: 1.25rem;
}
@media (max-width: 768px) {
  ul.phoneMenu .phoneMenu_top{
    padding: .625rem 1.8125rem;
  }
}
ul.phoneMenu .close {
  font-size: 20px;
  cursor: pointer;
  color: #67676a;
  font-weight: bold;
  /* padding: 10px; */
  width: 40px;
  height: 40px;
  display:block;
  text-align: center;
  background-color: #e9eaef;
  border-radius: .3125rem;
  line-height: 36px;
}

ul.phoneMenu {
    padding: 0;
    list-style: none;
    width: 400px;
    box-shadow: 0px 0px 25px #00000070;
    background: #fff;
    clear: both;
    display: table;
    position:fixed;
    top: 0;
    right: -100%;
    z-index: 999;
    height: 100%;
    padding-top: 30px;
    transition: all 0.3s ease-in-out;
  }
  ul.phoneMenu.active {
    right: 0;
  }
  ul.phoneMenu .list {
    font-size: 14px;
    position: relative;
    width: 100%;
    box-sizing: border-box;
    height: 50px;
    vertical-align: sub;
    background: #fff;
    clear: both;
  }
  ul.phoneMenu .list:after {
    content: "";
    position: absolute;
    right: 17px;
    top: 17px;
    padding: 0px 5px;
    color: #a2a2a2;
  }

  ul.phoneMenu .list a {
    text-decoration: none;
    color: #383838;
    padding:1.0625rem 0 1.0625rem 2.8125rem; 
    padding-left: calc(2.8125rem + 1.0625rem);
    display: block;
    height: 100%;
    box-sizing: border-box;
  }
  @media (max-width: 768px) {
    ul.phoneMenu .list a {
      padding:1.0625rem 0 1.0625rem 1.8125rem; 
      padding-left: calc(1.8125rem + 1.0625rem);
    }
  }
  ul.phoneMenu .list a:hover {
    background-color: #a47864;
    transition: 300ms all;
    color: #fff;
  }
  ul.phoneMenu .list .items {
    height: 0px;
    overflow: hidden;
  }
  ul.phoneMenu .list .items a {
    padding: 17px;
    padding-left: 65px;
  }
  @media (max-width: 768px) {
    ul.phoneMenu .list .items a {
      padding: 17px;
      padding-left: 45px;
    }
  }
  ul.phoneMenu .list .items a:hover {
    background-color: #a47864;
    color: #fff;
    transition: 300ms all;
  }
  ul.phoneMenu .list:last-child {
    border-bottom: none;
  }
  ul.phoneMenu .active > .items {
    display: block;
    background: #fff;
    padding: 0px;
    height: auto;
    color: #fff;
    transition-timing-function: cubic-bezier(0.075, 0.82, 0.165, 1);
    transition: all 200ms;
    clear: both;
    float: left;
    width: 100%;
  }
  ul.phoneMenu .active > .items li {
    padding: 0px;
    list-style: none;
  }
  ul.phoneMenu .active > .items li:last-child {
    border-color: transparent;
    padding-bottom: 0px;
  }
  ul.phoneMenu .active > a {
    color: #fff;
    background-color: #a47864;
    text-transform: uppercase;
    font-weight: bold;
  }
  ul.phoneMenu .active .list a {
    padding: 1.0625rem 0 1.0625rem 2.8125rem;
  }
  @media (max-width: 768px) {
    ul.phoneMenu .active .list a {
      padding:1.0625rem 0 1.0625rem 1.8125rem; 
    }
  }
  @media (max-width: 768px) {
    ul.phoneMenu {
      right:-120%;
      width: 80%;
    }
  }
  .phoneMenu_search{
    display: flex;
    align-items: center;
    gap: 10px;
    padding: .625rem 2.8125rem;
  }
  @media (max-width: 768px) {
    .phoneMenu_search{
      padding: .625rem 1.8125rem;
    }
  }
  .phoneMenu_search_input input{
    width:80%;
    padding: 0px 0px 0px 1.25rem;
    border: none;
  }
  .phoneMenu_search_btn{
    cursor: pointer;
    background-color: #a47864;
    padding: 4%;
    width: 20%;
    height: 48px;
  }
  .phoneMenu_search_input{
    border: 1px solid #e2e8f0;
    width:100%;
    border-radius: 10px;
    display: flex;
    gap: 10px;
    overflow: hidden;
  }
.backHome{
  width:40px;
  height:40px;
  background-color: #e9eaef;
  border-radius: .3125rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}
.zt_back_home{
  display: flex;
  justify-content:flex-end;
  align-items: center;
  margin-bottom: 1.875rem;
}
.zt_back_home_phone{
  display: none;
  justify-content:flex-start;
  align-items: center;
  margin-bottom: 1.875rem;
}
.zt_back_home_phone a{
  font-size: 1.25rem;
  font-weight: 600;
  color: #333;
}
.zt_back_home a{
  color: #333;
  font-size: 1.25rem;
  font-weight: 600;
}
@media (max-width: 768px) {
  .zt_back_home{
    display: none;
  }
  .zt_back_home_phone{
    display: flex;
  }
}