 /* 调整导航栏布局 */


/* 确保搜索框和联系信息不会挤压导航 */
.header-search {
    margin-right: 15px;
    flex-shrink: 0;
}
.main-nav-mini{
    display: none;
}

/* header-contact styles removed as the element is no longer used */
/* 响应式调整 */
@media (max-width: 1200px) {
    .search-input {
        width: 150px;
    }

    .main-nav ul {
        gap: 15px;
    }
}

@media (max-width: 992px) {
    .main-nav {
        display: none;
        /* 在小屏幕上隐藏导航菜单 */
    }
    .main-nav-mini{
        display: block;
        font-size: 20pt;
        color: #ffffff;
        cursor: pointer;
    }
    .main-nav-mini:hover{
        color: var(--primary-color);
    }
}
.header-search {
    margin-right: 20px;
    position: relative;
}

/* 搜索图标按钮样式 */
.search-icon-button {
    background-color: transparent;
    border: none;
    color: white;
    font-size: 18px;
    cursor: pointer;
    padding: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.8s ease;
}

.search-icon-button:hover {
    color: #00704a;
    transition: color 0.8s ease;
}

/* 搜索表单容器样式 */
.search-form-container {
    position: absolute;
    right: 0;
    top: 100%;
    background-color: #1a1a1a;
    border-radius: 4px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    padding: 10px;
    display: none;
    z-index: 1000;
    margin-top: 5px;
}

/* 显示搜索表单 */
.search-form-container.active {
    display: block;
    animation: fadeIn 0.8s ease;
    /* 从0.3s修改为0.8s，与导航栏过渡效果保持一致 */
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* 搜索表单样式 */
.search-form-header {
    display: flex;
    align-items: center;
}

.search-input {
    padding: 6px 10px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 4px 0 0 4px;
    background-color: rgba(255, 255, 255, 0.1);
    color: white;
    font-size: 14px;
    width: 200px;
    height: 32px;
    box-sizing: border-box;
}

.search-input::placeholder {
    color: rgba(255, 255, 255, 0.7);
}

.search-submit-button {
    background-color: #00704a;
    border: none;
    color: white;
    padding: 6px 10px;
    cursor: pointer;
    border-radius: 0 4px 4px 0;
    height: 32px;
    box-sizing: border-box;
    display: flex;
    align-items: center;
    justify-content: center;
}

.search-submit-button:hover {
    background-color: #005a3b;
}

@media (max-width: 992px) {
    .header-search {
        display: none;
        /* 在小屏幕上隐藏搜索框 */
    }
}
.header .drawerTop {
    margin-top:60px !important;
    background:transparent !important;
}
.drawerTopBody{
    background-color: rgba(26, 26, 26, 0.9);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
}
.drawerMain{
    width: 80%;
    margin: 30px auto;
    color: #ffffff;
}
.item_title{
    display: flex;
    padding: 20px 0;
}
.level1{
    width: 30%;
}
.left_item{
    padding: 10px 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.5);
    font-size: 16pt;
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
}
.level2{
    padding-left: 10%;
    width: 60%;
    line-height: 35px;
    font-size: 14pt;
    text-align: left;
    
}
.levelMain{
    display: flex;
}
.area_sub{
    cursor: pointer;
    border-bottom: 1px solid rgba(26, 26, 26, 0);
}
.area_sub:hover{
    border-bottom: 1px solid #f8f8f8;

}
.left_item .icon {
    opacity: 0;
  }
  .left_item:hover .icon {
    opacity: 1;
  }
  
/**小屏幕弹出菜单区域*/
  .menuDrawerTopBody{
      background-color: rgba(26, 26, 26, 0.95);
      color: #ffffff;
  }
  .menuArae{
      padding: 0 20px;
  }

  .menu_search{}
  .menuitem{
      border-bottom: 1px solid #ffffff;
  }
  .areaMenu{
      cursor: pointer;
  }
  .areaMenu:hover,.areacheck{
   color: var(--primary-color);
   font-weight: 600;
  }

  .h_companyView {
    background-color: var(--primary-color) !important;
    padding: 15px;
    border-radius: 20px;
    width: 100%;
    color: #ffffff;

    }
     .h_product_title {
        font-size: 1.5rem;
        font-weight: 600;
    }

     .h_p_content {
        margin: 15px 0;
        line-height: var(--zw-line-height);
    }
    .h_msg {
        font-size: 16pt;
        margin-left: 5px;
    }
