html {
    -webkit-text-size-adjust: none;
}

@media screen and (max-width: 768px) {
    .main_products_box {
        padding: 0;
    }
}

table a {
    color: #000;
}

.pager {
    margin: 30px auto;
    width: 400px;
}

.pager,
.pager a {
    align-items: center;
    display: flex;
    height: 40px;
    justify-content: center;
}

.pager a {
    border: 1px solid #999;
    border-radius: 3px;
    box-sizing: border-box;
    color: var(--first-color);
    font-size: 16px;
    margin: 0 3px;
    width: 40px;
}

.pager .cur,
.pager a:not(.disabled):hover {
    background: var(--first-color);
    color: #fff;
}

.pager a:not(.disabled):hover {
    cursor: pointer;
}

.pager .disabled {
    color: #999;
}

.pager .disabled:hover {
    cursor: not-allowed;
}

.total_records {
    display: block;
    font-size: 14px;
    margin: 20px auto;
    text-align: center;
    width: 100%;
}

.main-content {
    padding: 0;
}

.main_products_list_title span {
    display: block;
    max-height: 30px;
    overflow: hidden;
    position: relative;
    transition: all 0.5s ease-in-out;
}

.max_box {
    margin: 0 auto;
    padding: 30px 0;
    position: relative;
}

/* ========== 关键修改：让 product_list_container 成为滚动容器 ========== */
.product_list_container {
    display: flex;
    gap: 30px;
    justify-content: space-around;
    margin-top: 30px;
    align-items: flex-start;
    overflow-y: auto;
}

/* ========== 关键修改：左侧菜单 sticky 配置 ========== */
.main_products {
    background-color: #fff;
    border-radius: 8px;
    flex-shrink: 0;
    padding: 20px;
    position: sticky;
    top: 20px;  /* 距离顶部20px时开始固定 */
    width: fit-content;
    min-width: 400px;
    /* 移除了 max-height 和 overflow-y */
    align-self: flex-start;
}

.main_products_title {
    background-color: #fff;
    border-bottom: 1px solid #ccc;
    color: #333;
    display: block;
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 20px;
    padding-bottom: 15px;
}

.main_products ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.main_products ul li {
    background-color: #f7f7f7;
    border: none;
    border-radius: 4px;
    margin-bottom: 5px;
    overflow: hidden;
}

.main_products ul li a {
    align-items: center;
    color: #666;
    display: flex;
    justify-content: space-between;
    padding: 10px 12px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.main_products > ul > li a:hover,
.main_products > ul > li.active a {
    background-color: var(--first-color);
    color: #fff;
}

.main_products_box {
    flex: 1;
    min-width: 0;
    padding: 20px;
}

.main_products_row {
    display: grid;
    gap: 12px;
}
.product-item{
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.main_products_block {
    width: 100%;
    align-items: center;
    background-color:#f7f7f7;
    border-radius: 8px 0 0 8px;
    box-sizing: border-box;
    display: flex;
    justify-content: space-between;
    padding: 11px 20px;
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.main_products_block:hover {
    box-shadow: 0 4px 20px rgba(0, 102, 204, 0.15);
    transform: translateY(-2px);
}

.main_products_list_title {
    color: #333;
    font-size: 16px !important;
    font-weight: 600;
    pointer-events: none;
    transition: color 0.3s ease;
}

.main_products_list_title,
.main_products_read_more {
    display: block;
    text-align: center;
    text-decoration: none;
}

.main_products_read_more {
    height: 100%;
    width: 250px;
    display: flex;
    align-items: center;
    text-align: center;
    background:  var(--first-color);
    border: none;
    border-radius:0 8px 8px 0;
    color: #fff;
    cursor: pointer;
    overflow: hidden;
    padding: 8px 50px;
    position: relative;
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}
.main_products_read_more span{
    width: 100%;
    text-align: center;
}
.main_products_read_more:before {
    background: var(--third-color ,#0066cc);
    content: "";
    height: 100%;
    left: -100%;
    position: absolute;
    top: 0;
    transition: left 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    width: 100%;
}

.main_products_read_more:hover{
    box-shadow: 0 6px 25px var(--second-color);
    transform: scale(1.02);
    color: #fff !important;
}

.main_products_read_more:hover:before {
    left: 0;
}

.main_products_read_more:active {
    transform: translateY(0) scale(0.98);
}

.main_products_read_more span {
    font-size: 18px !important;
    position: relative;
    z-index: 1;
}

/* ========== 分类菜单样式（保持不变） ========== */
.category-item {
    position: relative;
}

.category-link {
    align-items: center;
    display: flex;
    white-space: nowrap;
    justify-content: space-between;
}

.expand-icon {
    font-size: 12px;
    transition: transform 0.3s ease;
}

.category-item.expanded > .category-link .expand-icon {
    height: 100%;
    transform: rotate(90deg);
    width: 16px;
}

.sub-category {
    max-height: 0;
    overflow: hidden;
    padding-left: 20px;
    transition: max-height 0.3s ease;
}

.category-item.expanded > .sub-category {
    max-height: 1000px;
}

.sub-category li {
    background-color: #e9e9e9;
}

.sub-category .category-item {
    border-top: 1px solid #fff;
}

.sub-category li a {
    font-size: 0.95em;
}

/* ========== 响应式 ========== */
@media (max-width: 1366px) {
    .max_box {
        padding: 0 20px;
    }
}

@media (max-width: 789px) {
    .product_list_container {
        flex-direction: column;
        max-height: none;  /* 移动端取消高度限制 */
        overflow-y: visible;
    }

    .main_products {
        position: static;  /* 移动端取消 sticky */
        width: 100%;
    }

    .product_detail {
        padding: 30px 0 !important;
        width: 90%;
    }
}

@media (min-width: 1800px) {
    .max_box {
        max-width: 1600px;
    }
}

@media (max-width: 1400px) {
    .max_box {
        max-width: 1366px;
    }
}

/* ========== 以下为产品详情页样式（保持不变） ========== */
.product_detail {
    margin: 0 auto;
    padding: 30px;
    width: 80%;
}

.product_detail p {
    margin-block-end: 0 !important;
    margin-block-start: 0 !important;
}

.product_detail a {
    font-size: inherit !important;
}

.wb_product_company_title {
    align-items: end;
    border-bottom: 1px solid #cecece;
    display: flex;
    justify-content: space-between;
    margin-top: 5rem;
    min-height: 4rem;
    padding-bottom: 1rem;
    width: 100%;
}

.wb_product_title {
    color: var(--first-color);
    font-weight: 400;
    width: fit-content;
}

.wb_product_company_name {
    color: #d8d8d8;
    font-size: 2.85rem;
    font-style: italic;
    font-weight: 700;
    text-transform: uppercase;
}

.wb_product_master_headinfo_cover {
    height: 480px;
    width: 400px;
}

.wb_product_module_banner {
    background: var(--first-color);
    color: #fff;
    font-size: var(--subtitle-font-size);
    font-weight: 700;
    height: 4rem;
    line-height: 4rem;
    margin: 2rem 0;
    padding-left: 2.25rem;
}

.wb_product_table_container {
    overflow-x: auto;
    width: 100%;
}

.wb_product_normal_table {
    border-collapse: collapse;
    width: 100% !important;
}

.wb_product_normal_table td,
.wb_product_normal_table th {
    border: 1px solid #000;
    padding: 0.6rem 2rem;
}

.wb_product_normal_table td a {
    color: #000;
}

tr:hover {
    background-color: #f5f5f5;
}

.wb_product_content_box {
    width: 100%;
}

.wb_product_master_headinfo {
    display: flex;
    gap: 100px;
    margin-top: 3.5rem;
    width: 100%;
}

.inquiry_button {
    background: var(--first-color);
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(30, 64, 175, 0.2);
    color: #fff;
    display: inline-block;
    font-weight: 600;
    margin-top: 20px;
    overflow: hidden;
    padding: 1rem 2rem;
    position: relative;
    text-decoration: none;
    transition: all 0.3s ease;
    z-index: 1;
}

.inquiry_button:before {
    background: var(--second-color);
    content: "";
    height: 100%;
    left: -100%;
    position: absolute;
    top: 0;
    transition: left 0.3s ease;
    width: 100%;
    z-index: -1;
}

.inquiry_button:hover:before {
    left: 0;
}

a.inquiry_button:hover {
    color: #fff;
}

.wb_product_master_headinfo_properties {
    flex: 1;
}

.wb_product_master_headinfo_properties ul {
    display: flex;
    flex-direction: column;
    height: 80%;
    justify-content: space-around;
}

.wb_product_master_headinfo_properties ul li {
    display: flex;
}

.wb_product_master_headinfo_properties .label {
    flex: 0 0 30%;
    font-weight: 700;
}

.wb_product_master_headinfo_cover img {
    height: 100% !important;
    vertical-align: middle !important;
    width: 100% !important;
}

.wb_product_master_headinfo_cover .wrap {
    height: 492px !important;
    left: 100px !important;
    position: relative !important;
    top: 100px !important;
    width: 400px !important;
}

.wb_product_master_headinfo_cover .imgs {
    height: 100% !important;
    position: relative;
    width: 100% !important;
}

.wb_product_master_headinfo_cover .main {
    border: 1px solid #dadada !important;
    height: 400px !important;
    overflow: hidden !important;
    position: relative !important;
    width: 400px !important;
}

.wb_product_master_headinfo_cover .smaller {
    height: 82px !important;
    margin-left: 0 !important;
    margin-top: 10px !important;
    overflow: hidden !important;
    position: relative !important;
    width: 400px !important;
}

.wb_product_master_headinfo_cover .smaller li {
    border: 1px solid #f3f3f3 !important;
    cursor: pointer !important;
    float: left !important;
    height: 64px !important;
    margin-left: 10px !important;
    padding: 2px !important;
    position: relative !important;
    width: 64px !important;
}

.wb_product_master_headinfo_cover .smaller li:first-child {
    margin-left: 0 !important;
}

.wb_product_master_headinfo_cover .smaller .current {
    border-color: #ff6a00;
}

.wb_product_master_headinfo_cover .biger {
    display: none;
    height: 400px;
    left: 410px;
    overflow: hidden;
    position: absolute;
    width: 400px;
    z-index: 999;
}

.wb_product_master_headinfo_cover .mask {
    background: url(../images/move.png) repeat;
    cursor: crosshair;
    display: none;
    height: 200px;
    left: 0;
    position: absolute;
    top: 0;
    width: 200px;
}

.wb_product_master_headinfo_cover .biger img {
    height: 800px !important;
    left: 0;
    max-width: 800px !important;
    position: absolute;
    top: 0;
    width: 800px !important;
}

.wb_product_master_headinfo_cover ul {
    list-style: none !important;
    padding-left: 0 !important;
}

@media (max-width: 789px) {
    .wb_product_master_headinfo {
        flex-direction: column;
    }

    .biger {
        display: none !important;
    }

    .wb_product_master_headinfo {
        gap: 50px;
    }

    .wb_product_title {
        max-width: 90%;
    }

    .wb_product_normal_table td,
    .wb_product_normal_table th {
        padding: 5px;
    }

    .wb_product_company_name {
        font-size: 1.85rem !important;
    }
}

.s3_box {
    margin: 30px 0;
}

.s3_box table {
    border-collapse: collapse;
    width: 100% !important;
}

.s3_box table td,
.s3_box table th {
    border: 1px solid #000;
    padding: 0.6rem 2rem;
}

.s3_box table td a {
    color: #000;
}

.s3_box table tr:hover {
    background-color: #f5f5f5;
}

.s3_box ol,
.s3_box ul {
    margin: 15px 0;
    padding-left: 25px;
}

.s3_box ol li,
.s3_box ul li {
    line-height: 1.6;
    padding: 8px 0;
}

.s3_box img {
    height: auto;
    margin: 15px 0;
    max-width: 100%;
}

.application_table p {
    padding-bottom: 10px;
}

.s4_box {
    margin-top: 30px;
}

.s4_box h1,
.s4_box h2,
.s4_box h3 {
    font-size: 1.5em;
    line-height: 1.5;
    margin-bottom: 20px;
    text-transform: none;
}

.product_cta_box {
    margin: 3rem 0;
}

.cta_inner {
    align-items: center;
    background: linear-gradient(135deg, var(--first-color) 0, var(--second-color) 100%);
    border-radius: 15px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    display: flex;
    flex-direction: column;
    gap: 2rem;
    justify-content: space-between;
    overflow: hidden;
    padding: 3.5rem 4rem;
    position: relative;
}

.cta_text {
    flex: 1;
    position: relative;
    z-index: 2;
}

.cta_text h2 {
    color: #fff;
    font-weight: 700;
    line-height: 1.2;
    margin: 0 0 1.5rem;
}

.product_cta_box .cta_text p {
    color: hsla(0, 0%, 100%, 0.9) !important;
    margin: 0;
    text-align: center;
}

.cta_btn_wrapper {
    flex-shrink: 0;
    position: relative;
    z-index: 2;
}

.cta_inner .inquiry_button {
    align-items: center;
    background: #fff;
    border-radius: 50px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
    color: var(--first-color);
    display: flex;
    font-weight: 700;
    gap: 1.25rem;
    margin-top: 0;
    padding: 1.5rem 3.5rem;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.cta_inner .inquiry_button span {
    font-size: 1.25rem;
}

.cta_inner .inquiry_button i {
    font-size: 1.4rem;
    transition: transform 0.4s ease;
}

.cta_inner .inquiry_button:before {
    background: var(--third-color);
}

.cta_inner .inquiry_button:hover {
    background-color: var(--first-color);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
    color: #fff;
    transform: translateY(-5px) scale(1.02);
}

.cta_inner .inquiry_button:hover i {
    transform: translate(5px, -5px);
}

.cta_bg_icon {
    bottom: -3rem;
    color: hsla(0, 0%, 100%, 0.08);
    font-size: 18rem;
    pointer-events: none;
    position: absolute;
    right: -3rem;
    transform: rotate(-12deg);
    z-index: 1;
}

@media (max-width: 991px) {
    .cta_inner {
        flex-direction: column;
        gap: 3rem;
        padding: 4rem 2rem;
        text-align: center;
    }

    .cta_bg_icon {
        display: none;
    }
}

@media (min-width: 1200px) {
    h1 {
        font-size: var(--title-font-size);
    }
    h2 {
        font-size: var(--subtitle-font-size);
    }
}