﻿:root {
    --primary-color: #003366;
    --secondary-color: #06b590;
    --accent-color: #ff6b6b;
}

body {
    padding-top: 90px; /* 此处的值应替换为您导航栏的实际高度 */
    font-size: 15px;
}

.flcontainer .product-list p {
    line-height: 1.5rem;
    margin-top: 8px;
}

    .flcontainer .product-list p a {
        margin: 0;
        padding-right: 1px;
    }

.header {
    height: 90px;
    background: #dbdfeb;
    position: fixed; /* 新增：将定位方式改为固定定位 */
    top: 0; /* 新增：固定在视口顶部 */
    left: 0; /* 新增：固定在视口左侧 */
    width: 100%; /* 新增：宽度充满整个视口 */
    z-index: 1000; /* 新增：设置较高的堆叠顺序，确保导航栏在最上层 */
    text-align: center;
}
.col-md-2 .tab_nav.cardify.article-bg {
    background: #dbdfeb !important;
}
.col-md-2 .tab_nav .nav .nav-link {
    font-size: 1.2rem !important;
    color: #003366 !important;
}
.tab-pane h3 {
    font-size:1.2rem !important;
    color:#003366;
}
.tab-pane h1, .tab-pane .newsTitle {
    font-size:2rem;
    color:#000;
}

.header .menu_area {
    width: 100%;
    background: #dbdfeb;
}

        .header .menu_area .menucontainer {
            background: #dbdfeb;
        }

            .header .menu_area .menucontainer .navbar {
                background: #dbdfeb;
            }

                .header .menu_area .menucontainer .navbar .bg-light {
                    background: #dbdfeb;
                }

.navbar-nav .nav-link {
    font-size: 1.5rem; /* 根据需要调整这个值 */
}
/* 保护主要内容区域 */
.menu_area {
    z-index: 1100 !important;
    position: relative;
    height: 90px;
}

    .menu_area h5 {
        font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif !important;
        font-size: 1.3rem;
        line-height: 1.6rem;
        padding-top: 20px;
        color: #003366;
    }

.menucontainer {
    width: 90% !important;
    max-width: 90% !important;
    height: 90px;
    padding-left: 20px;
    padding-right: 20px;
    margin: 0 auto;
}
.menu_area .menucontainer .dropdown {
    height:90px;
    margin:0;
    padding:0;
}

.navbar {
    width: 100%;
    margin: 0;
    padding: 0;
    height: 90px;
}

.proQuocontainer {
    width: 100%;
    margin: 0 auto;
    line-height: 1.5rem;
}
/*路径*/
.pathContainer {
    width: 90% !important;
    max-width: 90%;
    height: 40px;
    padding: 0;
    margin: 10px auto;
}

    .pathContainer .path {
        width: 100%;
        color: #000;
        font-size: 1rem;
        line-height: 1.6rem;
        text-align: left;
    }

        .pathContainer .path a {
            color: #000;
        }
.dropdown-menu p, .dropdown-menu p a {
    color: #003366;
}
/* 面包屑导航区域 - 图片容器修复 */
.breadcrumb_area {
    position: relative;
    width: 100%;
    text-align: center;
    border-top: 3px solid #003366;
    overflow: hidden;
    height: 490px;
}
    .breadcrumb_area .bg_image_holder {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        z-index: 0;
        background-color: #003366;
    }

    .bg-image-holder img {
        width: 100%;
        height: 100%;
        object-fit: cover; 
}

/* 确保文字在图片上方 */
/*.breadcrumb_wrapper {
    position: relative;
    z-index: 1;*/ /* 确保文字在图片上方 */
/*padding: 20px 0;*/ /* 添加一些内边距，使文字不紧贴边缘 */
/*}
.bgimage.bg-secondary.p-top-100.p-bottom-80 {
    width: 100vw !important;
    max-width: 100% !important;
    margin: 0 auto !important;
    position: relative;
    left: 50%;
    transform: translateX(-50%);*/
}

.nav_right_content .search_module .search_trigger {
    font-size: 2.5rem; /* 根据需要调整 */
    transition: transform 0.3s ease;
}

    /* 放大效果 */
    .nav_right_content .search_module .search_trigger:hover {
        transform: scale(1.5);
    }
/*分页样式*/

/* 背景图片容器 */
.bg_image_holder {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background-color: #003366;
}

    .bg_image_holder img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        opacity: 0.3;
    }

/* 内容容器 */
.container.content_above {
    width: 90% !important;
    max-width: 90% !important;
    padding-left: 20px;
    padding-right: 20px;
}


ul li {
    text-align: left;
}

.container {
    column-width: 200px; /*每列的理想宽度 */
    column-gap: 10px; /*列之间的间距 */
    padding: 10px;
}

    .container li {
        break-inside: avoid; /*防止图片被分割到两列之间*/
        margin-bottom: 10px;
        margin: 0;
    }
/* 产品列表样式 */
.product-list {
    list-style: none;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    margin: 0;
    width: 100%;
}

/* 产品项目样式 */
.product-item {
    flex: 1 1 calc(20% - 20px);
    min-width: 200px;
    color: #FFF;
    padding: 0px;
    display: flex;
    flex-direction: column;
    height: auto;
    margin: 2px;
}

    /* 标题样式 */
    .product-item h6 {
        margin-bottom: 1px;
        text-align: left;
        font-size: 1.2rem;
        color: #FFF;
        font-weight: 600;
    }

    /* 描述文字 */
    .product-item p {
        margin-bottom: 0px;
        text-align: left;
        line-height: 1.3rem;
        color: #FFF;
        flex-grow: 1;
    }

    .product-item a {
        color: #FFF;
    }

.procontainer {
    width: 100% !important;
    max-width: 100% !important;
    text-align: center;
    padding-left: 20px;
    padding-right: 20px;
    margin: 0 auto;
    height: 70px;
    overflow: hidden;
}

    .procontainer .row {
        width: 100% !important;
        max-width: 100% !important;
        padding-left: 10px;
        padding-right: 30px;
        margin: 0 auto;
    }

.pp-h1 {
    color: #003366;
}

.flcontainer {
    width: 90% !important;
    max-width: 90% !important;
    text-align: center;
    padding-left: 20px;
    padding-right: 20px;
    margin: 0 auto;
}

    .flcontainer .row {
        width: 100% !important;
        max-width: 100% !important;
        padding-left: 10px;
        padding-right: 30px;
        margin: 0 auto;
    }
/*医疗器械分类样式*/
        
.proYLContainer {
    display:flex;
    width:100%;
    margin:0;
    padding:0;
}
.proYLContainer .col-md-4 {
    width: 100%;
    margin: 0;
    padding: 0;
}
    .proYLContainer .ylrtm h6, .proYLContainer .ylrtm p a {
        color: #FFF;
    }

    .proYLContainer .ylrtm h6 {
        margin: 0;
        padding: 0;
    }

    .proYLContainer .ylrtm p {
        margin: 0;
        padding: 4px 0;
        line-height: 1.6rem;
    }


/*页脚*/
.footContent {
    width: 100% !important;
    margin: 0;
    padding: 0;
    color: #FFF !important;
}

    .footContent h6, .footContent p, .footContent ul li a {
        color: #FFF !important;
    }

.pad {
    display: inline-flex;
    margin: 0 5px;
}

.row.justify-content-center {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    margin: 0 -5px;
}

.col-auto {
    flex: 0 0 auto;
    padding: 0 5px;
}

.team-small {
    text-align: center;
    width: 150px; /* 固定宽度确保一致性 */
}

    .team-small img {
        max-width: 150px;
        height: auto;
        object-fit: cover;
        border-radius: 4px;
        margin: 0 auto 10px;
    }

    .team-small .content h6 {
        font-size: 0.8rem;
        line-height: 1.3rem;
        margin-bottom: 0;
    }

        .team-small .content h6 a {
            color: #202428;
            text-decoration: none;
            transition: color 0.3s ease;
        }

            .team-small .content h6 a:hover {
                color: #413aa4;
            }

.cart-wrapper {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    margin-bottom: 20px;
}

.cart-table {
    width: 100%;
    table-layout: fixed;
}

    .cart-table .table {
        width: 100%;
        table-layout: fixed;
        min-width: 800px;
    }

        .cart-table .table th, .cart-table .table td {
            vertical-align: middle;
            border-bottom: 1px solid #eaeaea;
            word-wrap: break-word;
        }

        .cart-table .table th {
            background-color: #f8f9fa;
            font-weight: 600;
            text-align: center;
            color: #495057;
            margin: 0;
            padding: 0;
        }

        .cart-table .table td {
            background-color: #fff;
            margin: 0;
            padding: 0;
            border: 1px solid #eaeaea;
        }

    /* 列宽设置 */
    .cart-table .product-serial {
        width: 4%; /* 序号列 */
        min-width: 20px;
    }

    .cart-table .product-image {
        width: 18%;
        min-width: 150px;
    }

    .cart-table .product-name {
        width: 15%; /* 产品名称列 */
        min-width: 150px;
    }

    .cart-table .product-description {
        min-width: 200px;
    }

    .cart-table .product-price {
        width: 10%; /* 价格列 */
        min-width: 100px;
    }

    .cart-table .product-manufacturer {
        width: 10%; /* 厂家列 */
        min-width: 80px;
    }

    /* 表头样式 */
    .cart-table .table th span {
        display: block;
        text-align: center;
    }
    /* 内容对齐方式 */
    .cart-table .text-center {
        text-align: center !important;
    }

    .cart-table .text-left {
        text-align: left !important;
    }

    /* 表格单元格样式 */
    .cart-table .table th,
    .cart-table .table td {
        padding: 12px 8px;
        vertical-align: middle;
        border-bottom: 1px solid #eaeaea;
        word-wrap: break-word;
    }

    .cart-table .table th {
        background-color: #f8f9fa;
        color: #495057;
    }

    .cart-table .table td {
        background-color: #fff;
    }

/* 产品名称样式 */
.product-name a {
    color: #007bff;
    text-decoration: none;
    transition: color 0.2s;
}

    .product-name a:hover {
        color: #0056b3;
        text-decoration: underline;
    }

/* 产品描述样式 */
.description-content {
    max-height: 120px;
    overflow-y: auto;
    padding-right: 5px;
}

    .description-content p {
        margin: 0;
        font-size: 0.8rem;
        line-height: 1.5rem;
        text-align: left;
    }

/* 价格样式 */
.product-price {
    font-weight: 600;
    color: #e74c3c;
}

.col1 {
    margin: 15px;
}


/* 表头居中 */
.cart-table .table th {
    text-align: center;
    font-weight: 600;
}

.description-content::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 2px;
}

.description-content::-webkit-scrollbar-thumb {
    background: #c1c1c1;
    border-radius: 2px;
}

    .description-content::-webkit-scrollbar-thumb:hover {
        background: #a8a8a8;
    }

.gallery-image-view .image-view-carousel .carousel-single img {
    max-width: 95%;
    height: auto;
    margin: 0 auto;
    display: block;
}

.carousel-thumbs ul li img {
    max-width: 60px;
    height: auto;
}

.product-info span {
    color: #003366;
    font-size: 1.2em;
}

.space {
    padding: 0 8px;
}

.product-info p, .tab-content p {
    text-align: left;
}

.col-md-2 {
    background: #003366;
}

.col-md-10 {
    background: #003366;
}

.nav {
    margin: 0;
    padding: 0;
}

.nav-link {
    width: 100%;
    margin: 0;
    padding: 10px;
    vertical-align: middle;
}

    .nav-link h6 {
        color: #FFF;
    }

/*Tab切换前图片自动轮换*/

/*.rptimg {
    position:absolute;
    top:60px;
    width:100%;
    height:340px;
    border-radius:8px;
    overflow:hidden;
}*/
.tab-container {
    position: relative;
    width: 100%;
    background: #003366;
    border-radius: 8px;
    overflow: hidden;
    margin-top: 10px;
    box-sizing: border-box;
}


.tab-image-carousel {
    position: relative;
    width: 100%;
    height: 320px;
    border-radius: 8px;
    overflow: hidden;
}


.tab-image-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.8s ease-in-out;
    background-size: contain;
    background-position: center center;
    background-repeat: no-repeat;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

    .tab-image-slide.active {
        opacity: 1;
        z-index: 1;
    }

/* 轮播指示点 */
.carousel-dots {
    position: absolute;
    bottom: 20px;
    left: 0;
    right: 0;
    display: flex;
    justify-content: center;
    gap: 10px;
    z-index: 2;
}

.carousel-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
}

    .carousel-dot.active {
        background: #fff;
        transform: scale(1.2);
    }

    .carousel-dot:hover {
        background: rgba(255, 255, 255, 0.8);
    }

/*行业新闻样式*/
.comments-area .comment-title {
    margin-bottom: 1.66667rem;
    text-align: center;
}

    .comments-area .comment-title h3 {
        position: relative;
        margin-bottom: 0;
    }

.comments-area .comment-lists ul .depth-1 {
    width:100%;
    padding: 0;
    border: 1px solid #e4e8ed;
    border-radius: 0.5rem;
    margin-bottom: 0.2rem;
}


    .comments-area .comment-lists ul .depth-1 .media {
        color:#003366 !important;
        width:100%;
        margin:0;
        padding:10px;
        display: flex;
    }
        .comments-area .comment-lists ul .depth-1 .media .media-heading {
            color:#003366;
        }
        .comments-area .comment-lists ul .depth-1 .media .media_left, .comments-area .comment-lists ul .depth-1 .media .media_right, .comments-area .comment-lists ul .depth-1 .media .media_left h6 {
            margin: 0;
            padding: 0;
            color: #003366 !important;
        }
        .comments-area .comment-lists ul .depth-1 .media .media_left, .comments-area .comment-lists ul .depth-1 .media .media_left h6 .comments-area .comment-lists ul .depth-1 .media .media_left a {
            font-size: 1rem !important;
            
            text-align: left;
        }
        .comments-area .comment-lists ul .depth-1 .media .media_right {
            text-align: right;
        }

/*移动端适配 - 高度调整为240px */
@media (max-width: 768px) {
    .tab-image-carousel {
        height: 240px;
    }

    .menu_area h5 {
        font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif !important;
        font-size: 1.1rem;
        line-height: 1.6rem;
        padding-top: 20px;
        color: #003366;
    }
}

/*小屏幕手机适配 - 高度调整为200px */
@media (max-width: 480px) {
    .tab-image-carousel {
        height: 200px;
    }

    .menu_area h5 {
        font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif !important;
        font-size: 1rem;
        line-height: 1.6rem;
        padding-top: 20px;
        color: #003366;
    }
}

.llmenu {
    display: block !important;
    width: 100% !important;
    margin: 0;
    padding: 0;
    border: 1px solid #003366;
    border-radius: 8px;
    background: #003366;
    vertical-align: middle;
}

    .llmenu h5 {
        color: #FFF;
        padding-top: 10px;
    }

.llcontent {
    display: block !important;
    width: 100% !important;
    border: 2px solid #003366;
    border-radius: 8px;
    /* 强制换行
    break-before: always; CSS3 分页属性 */
    /*page-break-before: always;*/ /* 老版本浏览器 */
    /*-webkit-column-break-before: always;*/
}

.proTitle {
    display: block;
    width: 100%;
    margin: 0;
    padding: 0;
}

/* 修正产品信息字体大小 */
.d-flex p {
    font-size: 1.1em !important; /* 减小字体大小 */
    line-height: 1.5 !important; /* 减小行高 */
    margin-bottom: 0.5rem !important; /* 调整段落间距 */
    color: #000;
}

    /* 产品编号等标签的特定样式 */
    .d-flex p span {
        font-size: 1.1em !important;
        color: #000;
    }

/* 产品价格特殊处理 */
.proPrice {
    font-size: 1.1em !important;
    font-weight: bold;
    color: #000;
}

.abcontainer .row .tab_nav2 {
    background: #003366;
    border-radius: 8px;
    margin: 0;
}

    .abcontainer .row .tab_nav2 a, .product-info-tab .row .tab_nav2 h6 {
        color: #fff;
        margin-top: 10px;
    }


.showimg {
    display: inline-block;
    width: 100%;
    margin: 0;
    padding: 0;
}

.cart-table {
    overflow-x: auto;
    margin-bottom: 1rem;
}

/* 卡片样式优化 */
.card.card-product {
    border: 1px solid #e4e8ed;
    border-radius: 0.26667rem;
    box-shadow: 0 5px 20px rgba(105, 106, 119, 0.05);
    margin-bottom: 2rem;
}

    .card.card-product .card-body {
        padding: 0;
    }

/* 添加到现有CSS中 */
.manu {
    display: flex;
    width: 100%;
    margin: 0;
    padding: 0;
    text-align: center;
}

    .manu ul li {
        display: flex;
        float: left;
        margin-right: 10px;
        width: 200px !important;
        max-width: 200px !important;
    }

.manulist {
    width: 100%;
    margin-left: 20px;
    padding: 0;
}

    .manulist .card {
        height: 100px;
        margin-bottom: 10px;
    }

        .manulist .card figure {
            height: 75px;
            padding: 0;
            display: flex;
            align-items: center;
            justify-content: center;
            background: #FFF;
        }

            .manulist .card figure img {
                max-height: 75px !important;
                width: auto;
                height: auto;
                object-fit: contain;
            }

.gallery-grid .card-body {
    height: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 !important;
    background: #dbdfeb;
}

    .gallery-grid .card-body h6 {
        margin: 0;
        padding: 0;
        text-align: center;
        font-size: 14px;
    }

.currentpath {
    width: 100%;
    height: 25px;
    vertical-align: middle;
    line-height: 20px;
}

.breadcrumb-item {
    background: none !important;
}
/*左侧分类效果*/

.widget-wrapper {
    margin: 0;
    padding: 0;
}

    .widget-wrapper .widget-header {
        margin: 0;
        padding: 0;
    }

    .widget-wrapper .widget-content {
        margin: 0;
        padding: 0;
    }

    .widget-wrapper .widget-title {
        font-size: 1.5rem;
    }
/* 表格行悬停效果 */
.cart-table .table tbody tr:hover {
    background-color: #f8f9fa;
    transition: background-color 0.3s ease;
}

/*产品信息列表*/
.infolist {
    display: flex;
    width: 100%;
    margin: 0;
    padding: 0;
}

    .infolist td {
        margin: 0;
        padding: 5px;
        border-bottom: 1px solid #eaeaea;
    }

    .infolist .tab-news-title, .infolist .tab-news-con {
        text-align: left;
    }


.d-lg-10 {
    background: rgba(0, 0, 0, 0.1);
    margin: 0;
    padding: 0;
}

.flcontainer .lei {
    font-size: 16px;
    text-align: left;
    font-weight: bolder;
    margin: 0;
    padding: 0;
    padding-top: 5px;
    padding-bottom: 5px;
}

    .flcontainer .lei a {
        color: #000;
    }

.flcontainer .content {
    font-size: 14px;
    text-align: left;
    line-height: 24px;
    margin: 5px;
    padding: 0;
    background: #eaeaea;
}

.clients-logo-area {
    margin: 0;
    padding: 0;
    margin-bottom: -2px;
    background: #003366;
}

    .clients-logo-area .flcontainer {
        width: 92%;
        max-width: 92% !important;
        background: #dbdfeb;
    }

        .clients-logo-area .flcontainer .row {
            margin: 0;
            padding: 0;
        }

.carousel-single img {
    width: 90%;
    margin: 0;
    padding: 0;
    padding: 10px;
}

.widget__title {
    margin: 0;
    padding: 0;
    text-align: left;
}

.col1 ul li a, .col1 p {
    font-size: 0.8em !important;
    margin: 0;
    padding: 0;
    color: #FFF;
    text-align: left;
    line-height: 1.4em;
}

/* 修复客服组件布局冲突 */
.floating-cs-container {
    z-index: 1000;
    max-width: 40px;
}

.control-panel {
    z-index: 1001;
}

.content-panel {
    z-index: 1002;
}



.container, .row, .col-lg-6 {
    position: relative;
    z-index: 1;
}

/* 移除冲突的激进重置 */
.control-panel {
    /* 移除 all: unset */
    display: flex !important;
    flex-direction: column !important;
    /* 保留其他必要样式 */
}

.breadcrumb_wrapper {
    width: 100%;
}

.breadcrumb {
    width: 100%;
    background: none;
}

.breadcrumb-item {
    width: 100%;
    padding: 15px 0;
    background: none;
}

.products-wrapper {
    padding-top: 5px;
    padding-bottom: 15px;
}

.aboutus-wrapper {
    padding-top: 5px;
    padding-bottom: 15px;
}

    .aboutus-wrapper .flcontainer {
        width: 92%;
        max-width: 92%;
    }

        .aboutus-wrapper .flcontainer .col-lg-10 {
            margin: 0;
            padding: 0;
        }

            .aboutus-wrapper .flcontainer .col-lg-10 .abcontainer {
                width: 100% !important;
                margin: 0;
                padding: 0;
            }

                .aboutus-wrapper .flcontainer .col-lg-10 .abcontainer .row {
                    margin: 0;
                    padding: 0;
                }

                    .aboutus-wrapper .flcontainer .col-lg-10 .abcontainer .row .col-md-10, .aboutus-wrapper .flcontainer .col-lg-10 .abcontainer .row .col-md-2 {
                        background: #FFF !important;
                        width: 100% !important;
                        margin: 0;
                        padding: 15px;
                    }

                    .aboutus-wrapper .flcontainer .col-lg-10 .abcontainer .row .col-md-2 {
                    }
/* ====== 来源显示 ====== */
.newsContent {
    width:98%;
    max-width:100%;
}
    .newsContent, .newsContent p, .tab-pane p {
        font-size:1rem;
        line-height:1.8rem;
        margin:0;
        padding:0;
    }
.newsFrom {
    margin: 0;
    padding: 0;
    text-align: right !important;
}
.newsD {
    margin-bottom:25px;
    padding-bottom:10px;
    border-bottom:2px solid #003366;
}
/* ====== 优化产品详情页布局 ====== */
/* 产品详情页主容器 */

.aboutus-wrapper {
    padding-top: 20px;
    padding-bottom: 30px;
    text-align: center;
    display: flex;
    justify-content: center; /* 水平居中 */
    align-items: center; /* 可选：垂直居中 */
}
    .aboutus-wrapper .flcontainer {
        width:100%;
        margin:0;
        padding:0;
    }
        .aboutus-wrapper .flcontainer .row {
            width:100%;
            margin:0;
            padding:0;
        }
/* 产品展示区域 - 确保一行显示 */
.product-gallery {
    display: flex;
    flex-wrap: wrap;
    width: 100%;
    margin: 0;
    padding: 0;
    gap: 5px; /* 列之间的间距 */
}

    /* 列宽调整 */
    .product-gallery .col-4 {
        flex: 0 0 33%; /* 占据1/3宽度 */
        max-width: 33.333%;
        padding: 0 5px;
    }

    .product-gallery .col-5 {
        flex: 0 0 40%; /* 占据5/12宽度 */
        max-width: 41.667%;
        padding: 0 15px;
    }

    .product-gallery .col-3 {
        flex: 0 0 25%; /* 占据1/4宽度 */
        max-width: 25%;
        padding: 0;
    }

/* 产品信息区域优化 */
.product-info {
    width: 100%;
    margin: 0;
    background: #fff;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.product-lllist {
    width: 100%;
    margin: 0;
    background: #fff;
    border-radius: 8px;
    padding: 1px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.product-info .proTitle {
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid #eaeaea;
}

    .product-info .proTitle h6 {
        color: #003366;
        font-size: 1.4em;
        line-height: 1.4;
        margin: 0;
    }

.product-info .preferential {
    color: #e74c3c;
    font-weight: 600;
    font-size: 1em;
    margin-top: 5px;
    display: inline-block;
}

.product-info .d-flex {
    margin: 0;
    padding: 0;
}

    .product-info .d-flex p {
        font-size: 1em !important;
        line-height: 1.6em;
        color: #333;
        margin: 0;
    }

        .product-info .d-flex p br {
            display: block;
            margin-bottom: 8px;
        }

.product-info .proPrice {
    color: #e74c3c;
    font-weight: 700;
    font-size: 1.2em;
}

.product-info .space {
    display: inline-block;
    width: 0.5em;
}

/* 浏览记录区域优化 */
.llmenu {
    background: #003366;
    color: #fff;
    padding: 15px 20px;
    border-radius: 6px 6px 0 0;
    margin: 0;
}

    .llmenu h5 {
        margin: 0;
        font-size: 1.4em;
        text-align: center;
    }

.llcontent {
    border: 1px solid #eaeaea;
    border-top: none;
    border-radius: 0 0 6px 6px;
    padding: 5px;
    background: #fff;
    max-height: 500px;
    overflow-y: auto;
}

    .llcontent table, .llcontent table tr {
        width: 100%;
        font-size: 1em;
        border-collapse: collapse;
    }

    .llcontent tr, .llcontent td {
        border: 1px solid #f0f0f0;
        width: 100%;
        margin: 0;
        padding: 0;
    }

        .llcontent tr:last-child {
            border-bottom: none;
        }

    .llcontent .product-name-cell, .llcontent .product-model-cell, .llcontent .product-price-cell, .llcontent a {
        color: #000;
        font-size: 1em;
        text-align: left;
        line-height: 1.6em;
    }

    .llcontent .product-name-cellW {
        width: 99% !important;
        text-align: left;
        padding: 2px;
    }
    /*.llcontent .product-model-cell {
        width: 40px !important;
        text-align: left;
        padding: 2px;
    }*/
    /* .llcontent .product-price-cell {
        width:20%;
        text-align: right;
    }*/
    .llcontent .proPhoto {
        width: 60px;
        padding: 5px 0;
        vertical-align: top;
    }

        .llcontent .proPhoto a img {
            width: 60px;
            height: 60px;
            object-fit: cover;
            border-radius: 4px;
            border: 1px solid #ddd;
        }

    .llcontent .proTitle {
        padding: 5px 0 5px 10px;
        vertical-align: top;
    }

        .llcontent .proTitle a {
            color: #003366;
            font-weight: 600;
            font-size: 0.9em;
            line-height: 1.4;
            text-decoration: none;
            display: block;
            margin-bottom: 5px;
        }

            .llcontent .proTitle a:hover {
                color: #06b590;
                text-decoration: underline;
            }

    .llcontent .proPrice {
        color: #e74c3c;
        font-weight: 700;
        font-size: 0.9em;
    }

/* 确保所有列高度一致 */
.product-gallery > [class^="col-"] {
    display: flex;
    flex-direction: column;
}

/*产品详情*/
.productrow {
    display: flex;
    flex-wrap: wrap;
    width: 100%;
}

    .productrow table, .productrow tr, .productrow td, .productrow .col-md-2, .productrow .col-md-10 {
        color: #000;
        background: none;
    }

    .productrow a {
        color: #000;
    }

    .productrow .tab_nav2, .productrow .tab-content {
        width: 100%;
    }

        .productrow .tab_nav2 .nav, .productrow .tab_nav2 .nav .nav-item {
            width: 96%;
            display: flex;
            float: left;
            border-radius: 8px;
            background: #003366;
        }

        .productrow .tab_nav2 .nav {
            padding-bottom: 20px;
        }

        .productrow .tab_nav2 .nav-link {
            display: block;
            width: 100%;
            margin: 0;
            padding: 0;
            border-bottom: 1px solid #FFF;
            padding-top: 15px;
            padding-left: 20px;
        }


/*内容详情*/
.abcontainer .tab_nav {
    width: 100%;
    background: #003366;
    margin: 0;
    padding: 0;
    padding: 20px;
    border-radius: 8px;
}

    .abcontainer .tab_nav .nav, .abcontainer .tab_nav .nav a {
        width: 100%;
        text-align: left;
        color: #FFF;
        font-size: 1.2rem;
        line-height: 1.6rem;
    }

/* 手机端样式 */
@media (max-width: 576px) {
    body {
        padding-top: 50px !important; /* 此处的值应替换为您导航栏的实际高度 */
    }

    .menu_area h5 {
        font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif !important;
        font-size: 1.1rem;
        line-height: 1.6rem;
        padding-top: 20px;
        color: #003366;
    }
    .menu_area h5 {
        font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif !important;
        font-size: 1.2rem;
        line-height: 1.6rem;
        padding-top: 20px;
        color: #003366;
    }

    .productrow, .proYLContainer {
        flex-direction: column;
    }

    productrow .col-10 {
        order: 2; /* 内容显示在下面 */
    }

    .productrow .col-2 {
        order: 1; /* 导航显示在上面 */
        width: 100% !important; /* 手机端导航占满全宽 */
    }
    /* 手机端导航样式 */
    .productrow .tab_nav2 .nav {
        flex-direction: row;
        flex-wrap: wrap;
        padding-bottom: 0;
        border-radius: 8px;
    }

        .productrow .tab_nav2 .nav .nav-item {
            width: 100%;
            min-width: 0;
            border-bottom: none;
        }

    .productrow .tab_nav2 .nav-link {
        padding: 15px 0;
        text-align: center;
        border-bottom: none;
    }

        .productrow .tab_nav2 .nav-link h6 {
            margin: 0;
            font-size: 14px;
        }

    .productrow .tab_nav2 .nav, .productrow .tab_nav2 .nav .nav-item {
        border: none;
    }
    .product-item {
        flex: 1 1 100%;
    }

    .bgimage.bg-secondary.p-top-100.p-bottom-80 {
        width: 98vw !important;
        max-width: 98% !important;
    }

    .container.content_above {
        padding-left: 10px;
        padding-right: 10px;
    }

    .col-auto {
        flex: 0 0 33.333%;
    }

    .team-small img {
        max-width: 45px;
        height: 45px;
    }

    .team-small .content h6 {
        font-size: 10px;
    }

    .d-flex p {
        font-size: 1.1em !important;
        line-height: 1.3 !important;
    }

    .cart-table .table {
        min-width: 600px;
    }

    .pagination.pagination-rounded .page-link {
        width: 30px;
        height: 30px;
        font-size: 12px;
    }

    .pagination.pagination-rounded .page-item {
        margin-right: 3px;
    }

    /* 标题样式 */
    .divider.text-center {
        margin-bottom: 40px;
    }

    .color-light {
        color: #fff !important;
        text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    }

    .p-bottom-10 {
        padding-bottom: 10px;
    }

    .m-bottom-50 {
        margin-bottom: 50px;
    }

    /* 卡片容器 */
    .card-style-twelve {
        width: 100%;
    }

        .card-style-twelve .container {
            width: 100%;
            max-width: 100%;
        }

        .card-style-twelve .row {
            width: 100%;
            margin: 0;
        }

    .main-image-container {
        height: 250px;
    }

    .product-info {
        padding: 12px;
    }

        .product-info .d-flex p {
            font-size: 0.9em;
        }

    .llcontent .proPhoto a img {
        width: 50px;
        height: 50px;
    }

    .thumbnails-scroll {
        width: calc(100% - 30px);
    }

    .thumbnail-item {
        margin-right: 5px;
    }

    .thumbnail-image {
        width: 50px;
        height: 50px;
    }

    .scroll-arrow {
        width: 25px;
        height: 25px;
        font-size: 14px;
    }

    .productrow .tab_nav2 .nav, .productrow .tab_nav2 .nav .nav-item {
        border: none;
    }
}

/* 桌面端样式 */
@media (min-width: 768px) {
    .menu_area h5 {
        font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif !important;
        font-size: 1.2rem;
        line-height: 1.6rem;
        padding-top: 20px;
        color: #003366;
    }

    .productrow {
        flex-direction: row;
    }
    /* 移动端搜索面板 */
    
    /* 搜索面板动画效果 */
    .mobile_search_panel {
        display: none;
        transform: translateY(-100%);
        opacity: 0;
        transition: transform 0.3s ease, opacity 0.3s ease;
        position: fixed;
        top: 80px;
        left: 0;
        width: 100%;
        background: white;
        z-index: 10000;
        padding: 1rem;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
        display: none;
    }

    .form-control {
        flex: 1;
        border: 2px solid #003366;
        border-radius: 8px 0 0 8px;
        padding: 0.75rem 1rem;
        font-size: 1rem;
        height: 50px;
    }

    .mobile_search_panel.show {
        transform: translateY(0);
        opacity: 1;
    }

    .la.la-search {
        font-size: 1.5em;
        color: #FFF;
    }

        .la.la-search.search_trigger_mobile {
            color: #003366;
        }

    /* 搜索面板动画效果 */
    .mobile_search_header {
        display: flex;
        justify-content: space-between;
        align-items: center;
        margin-bottom: 1rem;
        padding-bottom: 0.5rem;
        border-bottom: 1px solid #eaeaea;
    }

        .mobile_search_header h6 {
            color: #003366;
            margin: 0;
            font-size: 1.2rem;
        }

    .btn-close-search {
        background: none;
        border: none;
        color: #666;
        font-size: 1.2rem;
        cursor: pointer;
        padding: 0.5rem;
        transition: color 0.3s ease;
    }

        .btn-close-search:hover {
            color: #003366;
        }

    .btn-primary {
        border: 2px solid #003366;
        border-left: none;
        border-radius: 0 8px 8px 0;
        background-color: #003366;
        color: white;
        padding: 0 1.5rem;
        font-weight: 600;
        transition: all 0.3s ease;
        height: 50px;
        display: flex;
        align-items: center;
        gap: 0.5rem;
    }

        .btn-primary:hover {
            background-color: #06b590;
            border-color: #06b590;
        }
}

/* 手机端布局 */


/* 小屏幕设备 */
@media (max-width: 767.98px) {
    body {
        padding-top: 0px !important; /* 此处的值应替换为您导航栏的实际高度 */
    }

    .menu_area h5 {
        font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif !important;
        font-size: 1.2rem;
        line-height: 1.6rem;
        padding-top: 20px;
        color: #003366;
    }

    .productrow, .proYLContainer {
        flex-direction: column;
    }

    productrow .col-10 {
        order: 2; /* 内容显示在下面 */
    }

    .productrow .col-2 {
        order: 1; /* 导航显示在上面 */
        width: 100% !important; /* 手机端导航占满全宽 */
    }
    /* 手机端导航样式 */
    .productrow .tab_nav2 .nav {
        flex-direction: row;
        flex-wrap: wrap;
        padding-bottom: 0;
        border-radius: 8px;
    }

        .productrow .tab_nav2 .nav .nav-item {
            width: 100%;
            min-width: 0;
            border-bottom: none;
        }

    .productrow .tab_nav2 .nav-link {
        padding: 15px 0;
        text-align: center;
        border-bottom: none;
    }

        .productrow .tab_nav2 .nav-link h6 {
            margin: 0;
            font-size: 14px;
        }

    .productrow .tab_nav2 .nav, .productrow .tab_nav2 .nav .nav-item {
        border: none;
    }

    .mobile_search_panel {
        padding: 0.5rem;
    }

    .mobile_search_form .form-control {
        height: 40px;
        font-size: 0.85rem;
    }

    .mobile_search_form .btn-primary {
        height: 40px;
        padding: 0 0.75rem;
        font-size: 0.85rem;
    }

    .product-gallery {
        gap: 10px;
    }

    .main-image-container {
        height: 300px;
    }

    .product-info {
        padding: 15px;
    }

        .product-info .proTitle h6 {
            font-size: 1.2em;
        }

    .llcontent {
        max-height: 250px;
    }


    .product-item {
        flex: 1 1 calc(50% - 20px);
    }

    .container.content_above {
        padding-left: 15px;
        padding-right: 15px;
    }

    .row.justify-content-center {
        flex-wrap: wrap;
        justify-content: center;
        overflow-x: visible;
    }

    .cart-table {
        font-size: 12px;
    }

        .cart-table .table th,
        .cart-table .table td {
            padding: 3px;
        }

    .description-content {
        max-height: 80px;
    }

    .gallery-image-view .image-view-carousel .carousel-single img {
        max-width: 80%;
    }

    .carousel-thumbs ul li img {
        max-width: 50px;
    }

    .d-flex p {
        font-size: 1.1em !important;
        line-height: 1.4 !important;
    }

    .cart-table {
        font-size: 12px;
    }

        .cart-table .table th,
        .cart-table .table td {
            padding: 3px;
        }

    .description-content {
        max-height: 80px;
    }

    .product-name h6 {
        font-size: 12px;
    }

    .pagination.pagination-rounded .page-link {
        width: 35px;
        height: 35px;
        font-size: 14px;
    }

    .cart-table .table {
        min-width: 600px;
    }

    .cart-table .product-serial {
        width: 3%;
    }

    .cart-table .product-name {
        width: 20%;
    }

    .cart-table .product-image {
        width: 20%;
    }

    .cart-table .product-price {
        width: 15%;
    }

    .cart-table .product-manufacturer {
        width: 15%;
    }

    .floating-cs-container {
        max-width: 60px;
        bottom: 20px;
        top: auto;
        transform: none;
    }

    .footer3 .widget--links .row {
        display: flex;
        flex-direction: column;
    }

    .footer3 .flcontainer .row .col-12, .footer3 .flcontainer .row .col-sm-12 {
        display: flex;
        width: 100% !important;
        margin: 0 !important;
        padding: 0 !important;
        text-align: left !important;
    }

    .footer3 .flcontainer .row .h_nav ul, .footer3 .flcontainer .row .h_nav ul li, .footer3 .flcontainer .row .h_nav ul li a {
        width: 100% !important;
        margin: 0 !important;
        padding: 0 !important;
    }

    /* 确保 ul 列表在手机端能正确显示 */
    .footer3 .flcontainer .row .h_nav ul {
        list-style: none !important;
    }


        /* 确保 li 列表项在手机端能正确显示 */
        .footer3 .flcontainer .row .h_nav ul li {
            text-align: left !important;
        }

            /* 确保 a 链接在手机端能正确显示 */
            .footer3 .flcontainer .row .h_nav ul li a {
                text-align: left !important;
                color: #FFF !important;
                text-decoration: none !important;
            }




    .row .col-lg-1, .row .col-sm-12 {
        flex-direction: column
    }

    .col-pd-20 {
        margin: 0;
        padding: 0;
    }
}

@media (max-width: 991.98px) {
    /* Logo居中 */
    .navbar-brand {
        position: absolute;
        left: 50%;
        transform: translateX(-50%);
        margin: 0;
    }
    .proYLContainer {
        flex-direction: column;
    }
    /* 菜单按钮在左侧 */
    .navbar-toggler {
        margin-right: auto;
    }
    /* 搜索容器在右侧 */
    .nav_search_container {
        margin-left: auto;
    }

    .mobile_search_trigger {
        display: block;
    }

    .mobile_search_panel {
        padding: 0.75rem;
    }

    .mobile_search_form .form-control {
        height: 45px;
        font-size: 0.9rem;
    }

    .mobile_search_form .btn-primary {
        height: 45px;
        padding: 0 1rem;
        font-size: 0.9rem;
    }

    .product-gallery {
        flex-direction: column;
    }

        .product-gallery .col-4,
        .product-gallery .col-5,
        .product-gallery .col-3 {
            flex: 0 0 100%;
            max-width: 100%;
            margin-bottom: 20px;
        }

    .magnifier-wrapper {
        max-width: 100%;
    }

    .main-image-container {
        height: 400px;
    }

    .product-item {
        flex: 1 1 calc(33.333% - 20px);
    }

    .bgimage.bg-secondary.p-top-100.p-bottom-80 {
        width: 95vw !important;
        max-width: 95% !important;
    }

    .tabProduct {
        font-size: 14px;
    }

    .team-small {
        width: 100px;
    }

        .team-small img {
            max-width: 50px;
            height: 50px;
        }

        .team-small .content h6 {
            font-size: 11px;
        }
}

/* 桌面端布局 */
@media (min-width: 992px) {
    .mobile_search_panel {
        display: none !important;
    }

    .desktop_search_wrapper {
        display: flex !important;
    }

    .mobile_search_trigger {
        display: none !important;
    }

    .mobile_search_panel {
        display: none !important;
    }

    .mobile_search_overlay {
        display: none !important;
    }
}



/* 响应式调整 */
@media (max-width: 1200px) {
    .menu_area h5 {
        font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif !important;
        font-size: 1.2rem;
        line-height: 1.6rem;
        padding-top: 20px;
        color: #003366;
    }
    .proYLContainer {
        flex-direction: column;
    }
    .product-gallery {
        gap: 15px;
    }

        .product-gallery .col-4 {
            flex: 0 0 40%;
            max-width: 40%;
        }

        .product-gallery .col-5 {
            flex: 0 0 60%;
            max-width: 60%;
        }

        .product-gallery .col-3 {
            flex: 0 0 100%;
            max-width: 100%;
            margin-top: 20px;
        }

    .product-item {
        flex: 1 1 calc(25% - 20px);
    }

    .team-small {
        width: 110px;
    }

        .team-small img {
            max-width: 55px;
            height: 55px;
        }

    .erweima {
        width: 150px !important;
    }

        .erweima img {
            width: 150px !important;
            height: auto;
        }
}

@media (max-width: 1199.98px) {
    .proYLContainer {
        flex-direction: column !important; /* 强制垂直堆叠 */
        width: 100% !important; /* 占满视口宽度 */
        max-width: 100% !important;
        /*margin-left: calc(-50vw + 50%) !important;*/ /* 抵消父容器的内边距，使背景能触及屏幕边缘 */
        /*margin-right: calc(-50vw + 50%) !important;
        padding-left: 0 !important;
        padding-right: 0 !important;*/
        margin:0;
        padding:0;
    }

       
        .proYLContainer .col-md-4,
        .proYLContainer .col-md-8 {
            width: 100% !important;
            max-width: 100% !important;
            flex: 0 0 100% !important; /* 确保在Flex布局中占满一行 */
            margin: 0 !important;
            padding: 0 !important; 
            box-sizing: border-box;
        }

            /* 3. 可选：调整内部元素的样式以适应全宽布局 */
            /* 左侧产品列表 */
            .proYLContainer .col-md-4 .product-list {
                padding: 0px;
            }

        .proYLContainer .ylrtm h6 {
            font-size: 1.1em;
            text-align: left;
        }

        /* 右侧轮播图区域 */
        .proYLContainer .col-md-8 .tab-container {
            width: 100%;
            border-radius: 8px;
        }

        
}


@media (max-width: 768px) {
    .proYLContainer .col-md-8 .tab-image-carousel {
        height: 250px;
    }

    .proYLContainer .ylrtm h6 {
        font-size: 1em;
    }
}

@media (max-width: 576px) {
    .proYLContainer .col-md-8 .tab-image-carousel {
        height: 200px;
    }
    
    .proYLContainer .col-md-4,
    .proYLContainer .col-md-8 {
        padding: 0 !important;
    }
}

/* ====== 产品中心 Mega Menu 样式优化 ====== */
/* 注意：此样式将覆盖Bootstrap默认的.dropdown-menu样式 */

/* 1. Mega Menu 容器样式 */
.has_mega-lg .mega-menu {
    width: 80vw !important; /* 屏幕宽度的80% */
    max-width: 1200px !important; /* 限制最大宽度 */
    left: 50% !important; /* 水平居中 */
    transform: translateX(-50%) !important; /* 居中定位 */
    padding: 3px !important; /* 内部间距 */
    border: 1px solid #eaeaea !important; /* 边框 */
    border-radius: 8px !important; /* 圆角 */
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15) !important; /* 阴影 */
    background-color: #ffffff !important; /* 背景色 */
    margin-top: 0.5rem !important; /* 与菜单项的距离 */
    z-index: 1100 !important; /* 确保在最上层 */
}

/* 2. 5列网格布局 - 使用Bootstrap的row/col结构 */
.mega-menu .row {
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    display: flex !important;
    flex-wrap: wrap !important;
}

.mega-menu .nav-list {
    display: flex !important;
    flex-wrap: wrap !important;
    width: 100% !important;
    padding: 0 !important;
    margin: 0 !important;
    list-style: none !important;
}

    /* 5列布局 - 每列占20% */
    .mega-menu .nav-list .col1 {
        flex: 0 0 20% !important;
        max-width: 20% !important;
        padding: 2px !important; /* 列的左右内边距 */
        box-sizing: border-box !important;
        position: relative !important;
        margin:0;
    }

        /* 列分隔线（可选） */
        .mega-menu .nav-list .col1:not(:last-child)::after {
            content: '' !important;
            position: absolute !important;
            right: 0 !important;
            //top: 20% !important;
            //height: 60% !important;
            width: 1px !important;
            background: linear-gradient(to bottom, transparent, #eaeaea, transparent) !important;
        }

        /* 3. 导航项内容样式 */
        .mega-menu .nav-list .col1 .h_nav {
            width: 100% !important;
            padding: 0.5rem !important;
            transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1) !important;
            border-radius: 6px !important;
            background-color: transparent !important;
            text-align: center !important;
        }

            /* 悬停效果 */
            .mega-menu .nav-list .col1 .h_nav:hover {
                background-color: rgba(6, 181, 144, 0.05) !important;
                transform: translateY(-2px) !important;
                box-shadow: 0 4px 12px rgba(0, 51, 102, 0.1) !important;
            }

        /* 链接样式 */
        .mega-menu .nav-list .col1 a {
            display: block !important;
            color: #003366 !important; /* 使用您的主色 */
            font-size: 0.95rem !important;
            font-weight: 500 !important;
            text-decoration: none !important;
            line-height: 1.4 !important;
            transition: color 0.3s ease !important;
            padding: 0.25rem 0 !important;
        }

            /* 悬停时链接颜色 */
            .mega-menu .nav-list .col1 a:hover {
                color: #06b590 !important; /* 使用您的次要色 */
            }

/* 4. 响应式设计 */
/* 大平板 (992px-1200px) */
@media (max-width: 1199.98px) {
    .has_mega-lg .mega-menu {
        width: 85vw !important;
        max-width: 1000px !important;
    }
}

/* 平板端 (768px-992px)：4列布局 */
@media (max-width: 991.98px) {
    .has_mega-lg .mega-menu {
        width: 90vw !important;
        padding: 1.25rem 1rem !important;
    }

    /* 4列布局 */
    .mega-menu .nav-list .col1 {
        flex: 0 0 25% !important; /* 每列25% = 4列 */
        max-width: 25% !important;
    }

        /* 调整列分隔线 */
        .mega-menu .nav-list .col1:nth-child(4n)::after {
            display: none !important; /* 第4列隐藏分隔线 */
        }
}

/* 手机端 (576px-768px)：3列布局 */
@media (max-width: 767.98px) {
    .has_mega-lg .mega-menu {
        width: 95vw !important;
        left: 2.5vw !important; /* 稍微偏移，避免贴边 */
        transform: none !important; /* 取消居中变换 */
        padding: 1rem 0.75rem !important;
    }

    /* 3列布局 */
    .mega-menu .nav-list .col1 {
        flex: 0 0 33.333% !important; /* 每列33.333% = 3列 */
        max-width: 33.333% !important;
        padding: 0.5rem 0.75rem !important;
    }

        /* 调整列分隔线 */
        .mega-menu .nav-list .col1:nth-child(3n)::after {
            display: none !important; /* 第3列隐藏分隔线 */
        }
}

/* 小手机端 (<576px)：2列布局 */
@media (max-width: 575.98px) {
    .has_mega-lg .mega-menu {
        width: 100vw !important; /* 小屏幕占满宽度 */
        left: 0 !important;
        border-radius: 0 0 8px 8px !important;
        border-left: none !important;
        border-right: none !important;
    }

    /* 2列布局 */
    .mega-menu .nav-list .col1 {
        flex: 0 0 50% !important; /* 每列50% = 2列 */
        max-width: 50% !important;
        padding: 0.5rem 0.5rem !important;
    }

        /* 移除所有列分隔线，改为底部边框 */
        .mega-menu .nav-list .col1::after {
            display: none !important;
        }

        .mega-menu .nav-list .col1 .h_nav {
            border-bottom: 1px solid #f5f5f5 !important;
            padding: 0.75rem 0.25rem !important;
        }

        .mega-menu .nav-list .col1:nth-child(2n) .h_nav {
            border-right: none !important;
        }
}

/* 5. 动画效果（可选，提升用户体验） */
.has_mega-lg .mega-menu {
    opacity: 0;
    visibility: hidden;
    transform: translateX(-50%) translateY(-10px) !important;
    transition: all 0.3s ease !important;
}

/* Bootstrap的.show类激活时显示菜单 */
.has_mega-lg.show .mega-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0) !important;
}

/* 6. 确保不会与其他Bootstrap组件冲突 */
@media (min-width: 992px) {
    .has_mega-lg .mega-menu {
        display: block !important; /* 覆盖Bootstrap的响应式隐藏 */
    }
}