.head_box{
    height: 100%;
   
}
.moble_box{
    position: relative;
}
.head_center{
    height: 100%;
    width: 30%;
    display: flex;
    justify-content: space-between;
}

.head_tit{
    cursor: pointer;
}
.head_menu {
    /* position: relative; */
    cursor: pointer;
    display: flex;
    align-items: center;
}

.head_menu .arrow {
    margin-left: 8px;
    color: #3498db;
    transition: transform 0.3s ease;
    font-size: 16px;
}

.head_menu:hover .head_tit {
    color: #3498db;
}

.head_menu:hover .arrow {
    transform: rotate(180deg);
}
.search_box{
    width: 200px;
    border-bottom: 1px solid #3498db;
    padding-bottom: 10px;
}



.search_box input::placeholder {
    color: #3498db;
}

.search_icon {
    position: absolute;
    right: 80px;
    top: 50%;
    transform: translateY(-50%);
    color: #3498db;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.search_icon:hover {
    transform: translateY(-50%) scale(1.05);
}


.head_content {
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    position: absolute;
    left: 0;
    top: 80px;
    border: 1px solid #ccc;
    padding: 50px;
    width: 100vw; 
    height: auto;
    /* overflow-y: auto; */
    background-color: #f3f3f3;
    z-index: 1000; 
    box-shadow: 0 8px 16px 0 rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease-in-out; 
}
.head_product{
    height: 70vh;
}
.head_menu:hover .head_content {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.head_menu:hover .head_content {
    animation: dropdown-animation 0.3s ease-in-out;
}


.flex-container{
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 15px;
    list-style: none;
    /* height: 330px; */
}
.flex-container li{
    padding-left: 70px;
    margin-bottom: 50px;
}

.yiji{
    font-size: 20px;
}
.erji{
    font-size: 14px;
    color: #3498db;
    padding-left: 5px;
}
.solution_box{
    display: flex;
    justify-content: space-start;
}
.solution_box li{
    margin-left: 50px;
}
.solution_img{
    width: 200px;
    height: 110px;
}
.solution_tit:hover{
    color: #3498db;
}

.product-display {
    display: flex;
    width: 80%;
    height: 600px;
    background: white;
    margin: 0 auto;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

/* 左侧产品图片展示 */
.product-showcase {
    flex: 2;
    padding: 25px;
    border-right: 1px solid #eee;
    display: flex;
    flex-direction: column;
}

.product-image {
    flex: 1;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    margin-bottom: 15px;
    background: linear-gradient(45deg, #3498db, #9b59b6);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
    font-size: 1.5rem;
    transition: all 0.3s ease;
}

.product-features {
    list-style: none;
}

.product-features li {
    margin-bottom: 10px;
    color: #34495e;
    display: flex;
    align-items: center;
    padding: 8px 12px;
    border-radius: 6px;
    transition: background 0.3s;
}

.product-features li:hover {
    background-color: #f8f9fa;
}

/* 中间一级分类区域 */
.main-categories {
    flex: 2;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 20px;
    background: linear-gradient(to bottom, #f8f9fa, #e9ecef);
}
.category-content img{
    width: 400px;
    height: 400px;
    margin: 100px auto;
}
.category-title {
    text-align: center;
    margin-bottom: 25px;
    color: #2c3e50;
    font-size: 1.4rem;
}

.category-list {
    list-style: none;
}

.category-item {
    margin-bottom: 15px;
}

.category-link {
    display: block;
    padding: 14px 20px;
    /* background: white; */
    color: #34495e;
    text-decoration: none;
    /* border-radius: 8px; */
    border-bottom:1px solid #bbb8b8 ;
    font-weight: 500;
    transition: all 0.3s ease;
    text-align: center;
}

.category-link:hover, .category-link.active {
    /* background: #3498db; */
    /* border-bottom: 1px solid #2980b9; */
    /* color: white; */
    /* transform: translateY(-2px); */
    box-shadow: 0 5px 12px rgba(76, 76, 77, 0.3);
    /* border-color: #2980b9; */
}

/* 右侧二级目录样式 */
.sub-categories {
    flex: 2;
    padding: 25px;
    background: white;
    overflow-y: auto;
}

.sub-categories h2 {
    color: #2c3e50;
    margin-bottom: 20px;
    font-size: 1.5rem;
    text-align: center;
}

.sub-category-list {
    list-style: none;
}

.sub-category-item {
    margin-bottom: 12px;
}

.sub-category-link {
    display: flex;
    align-items: center;
    padding: 12px 18px;
    color: #34495e;
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.2s ease;
    background: #f8f9fa;
}

.sub-category-link:hover {
    background-color: #e3f2fd;
    color: #3498db;
    transform: translateX(5px);
}

/* 页脚样式 */
footer {
    text-align: center;
    margin-top: 50px;
    color: #7f8c8d;
    font-size: 0.9rem;
}


/* 动画效果 */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.category-content {
    display: none;
    animation: fadeIn 0.4s ease;
}

.category-content.active {
    display: flex;
    flex-direction: column;
}
#header_main:hover {
    background-color: #fff;
    box-shadow: 0 2px 8px 0 rgba(0, 0, 0, 0.08);
}

.head_center_main {
    margin-right: 33.5%;
}

.mobile_menu {
    position: absolute;
    right: 20px;
    font-size: 30px;
}
@media (min-width: 769px) {
    .mobile_menu{
        display: none;
    }
    .dropdown-nav{
        display: none;
    }

}
@media (max-width: 768px) {
    #search_form .form {
        width: 80%;
        height: 6.5vw;
    }

    #search_form .form:hover {
        border-color: #e2e6ec;
        background: transparent;
    }

    #search_form .text {
        width: calc(100% - 12vw);
    }

    #search_form .input {
        padding: 0 2.8vw;
        font-size: 0.18rem;
    }

    #search_form .submit {
        width: 12vw;
    }

    #search .title {
        font-size: 0.18rem;
    }

    #search .desc,
    #search .txt {
        font-size: 0.16rem;
    }

    #search li:hover .title {
        color: #333;
    }

    #search .notTip {
        font-size: 0.16rem;
        line-height: 1.5em;
    }

    .head_center,.head_search{
        display: none !important;
    }
        .mobile_menu {
            position: absolute;
            right: 20px;
          font-size: 30px;
          color: #0689DB;
        }


 /* 下拉导航栏样式 */
 .dropdown-nav {
    position: absolute;
    top: 100%; /* 位于按钮正下方 */
    right: 0;
    width: 100vw;
    height: 100vh;
    background-color: #fff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.15);
    border-radius: 0 0 4px 4px;
    overflow: hidden;
    z-index: 1000; /* 确保在其他内容上方 */
    transition: height 0.3s ease, opacity 0.3s ease;

}
.dropdown_menu{
    float: left;
    height: 100%;
    width: 30%;
    background-color: #f3f3f3;
}
.m-solution a p {
    color: #000;
}
.dropdown_menu li{
    color: #000;
    cursor: pointer;
    transition: all 0.3s ease; /* 平滑过渡效果 */
    height: 50px;
    text-align: center;
    line-height: 50px;
    padding: 5px 10px;
}
.dropdown_content {
   float: right; 
   width: 70%;
   height: 100%;
   overflow-y: auto;
}
/* 选中状态的样式 - 包含背景色 */
.dropdown_menu li.active {
    background-color: #fff; /* 背景色 */
}
.m_pro_box{
    padding-left: 30px;
    padding-bottom: 100px;
}
.m_pro{
    padding-top:20px ;
}
.m_yi a{
    font-size: 18px;
    font-family: "微软雅黑";
}
.m_erji{
    padding:2px 10px;
}
.m_erji a{
    position: relative;
    color: #0689DB;
    font-size: 14px;
}
.m_erji a::after {
    content: '';
    position: absolute;
    top: 50%;
    right: -10px;
    transform: translateY(-50%);
    /* 箭头样式 */
    width: 6px;
    height: 6px;
    border-top: 2px solid #0689DB; /* 箭头颜色 */
    border-right: 2px solid #0689DB; /* 箭头颜色 */
    transform: translateY(-50%) rotate(45deg);
    transition: transform 0.2s ease;
}
.m-solution{
    margin-top: 30px;
    
}
.m-solution a img{
    width: 200px;
    height: auto;
}
.m-solution a p{
    font-size: 18px;
    padding-top:6px ;
}

.swiper-carousel{
    max-width: 95vw !important;
}
.swiper-carousel .swiper-slide{
    width: 100%;
}

}