.product-bg {
    background-image: url(../img/product-bg-2.png);
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    height: 410px;
    position: relative;
}

.bg-wrap h2 {
    font-weight: 700;
    color: rgba(0, 21, 85, 0.99);
    font-size: 60px;
    text-align: center;
    padding-top: 123px;
}

.bg-wrap .tab-wrap {
    width: 1400px;
    position: absolute;
    bottom: -49.5px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 99;
}

.bg-wrap .tab-nav {
    width: 100%;
    display: flex;
    border: 1px solid rgba(0, 21, 85, 0.99);
    border-radius: 7px;
}

.bg-wrap .tab-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    width: calc(100% / 3);
    height: 99px;
    border: none;
    text-align: center;
    background-color: #fff;
    color: rgba(0, 21, 85, 0.99);
    font-size: 28px;
}

.bg-wrap .tab-btn:nth-child(1) {
    border-radius: 7px 0 0 7px;
}

.bg-wrap .tab-btn:last-child {
    border-radius: 0px 7px 7px 0px;
}

.bg-wrap .tab-btn:nth-child(2) {
    border-left: 1px solid rgba(0, 21, 85, 0.99);
    border-right: 1px solid rgba(0, 21, 85, 0.99);
}

.bg-wrap .tab-btn .icon {
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    margin-right: 51px;
}

.bg-wrap .tab-btn:nth-child(1) .icon {
    width: 40.51px;
    height: 66.02px;
}

.bg-wrap .tab-btn:nth-child(2) .icon {
    width: 46.32px;
    height: 45.9px;
}

.bg-wrap .tab-btn:nth-child(3) .icon {
    width: 50.68px;
    height: 46.31px;
}

.bg-wrap .tab-btn.active {
    color: #fff;
}

.bg-wrap .tab-btn.active .icon {
    /* filter: brightness(0) invert(1); */
}

.bg-wrap .tab-btn.active {
    background-color: rgba(0, 21, 85, 0.99);
}

@media (max-width: 768px) {
    .product-bg {
        height: 150px;
    }

    .bg-wrap h2 {
        font-size: 17px;
        padding-top: 44px;
    }

    .bg-wrap .tab-wrap {
        width: 100%;
        padding: 0 20px;
        position: absolute;
        bottom: -25px;
    }

    .bg-wrap .tab-btn {
        height: 50px;
        font-size: 12px;
        text-align: left;
        padding: 5px;
    }

    .bg-wrap .tab-btn .icon {
        margin-right: 5px;
    }

    .bg-wrap .tab-btn:nth-child(1) .icon {
        width: 14px;
        height: 18px;
    }

    .bg-wrap .tab-btn:nth-child(2) .icon {
        width: 16px;
        height: 16px;
    }

    .bg-wrap .tab-btn:nth-child(3) .icon {
        width: 25px;
        height: 16px;
    }
}

/* 产品列表 */
.tab-content {
    margin-top: 111.5px;
    margin-bottom: 40px;
}

.product .tab-pane {
    display: none;
}

.product .tab-pane.active {
    display: block;
    animation: fadeIn 0.5s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}


.product .product-list {
    margin-bottom: 75px;
}

.product #tab1 .product-list {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    column-gap: 13px;
    row-gap: 44px;
}

.product #tab2 .product-list,
.product #tab3 .product-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    column-gap: 10px;
    row-gap: 44px;
}

.product .product-item {
    border-radius: 7px;
    box-shadow: 4px 4px 10px rgba(0, 0, 0, 0.16);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    overflow: hidden;
}

.product .product-item-1 {
    width: 340px;
}

.product .product-item-2,
.product .product-item-3 {
    width: 695px;
}

.product .product-item .product-img {
    width: 100%;
    height: 382px;
    background-position: center;
    background-size: cover;
}

@media (max-width: 768px) {

    .tab-content {
        margin-top: 5px;
        margin-bottom: 0px;
    }


    .product .tab-header {
        margin-top: 0px;
        margin-bottom: 20px;
        display: block;
    }

    .product .tab-header h2 {
        font-size: 16px;
        margin-bottom: 20px;
    }

    .product .tab-nav {
        width: 100%;
    }

    .product .tab-btn {
        padding: 3px;
        width: 33.33%;
    }

    .product .tab-btn span {
        text-align: left;
        transform: scale(0.9);
    }

    .product .tab-content {
        font-size: 13px;
    }

    .product .product-list {
        margin-bottom: 20px;
    }

    .product .product-list:last-child {
        margin-bottom: 0px;
    }

    .product #tab1 .product-list {
        display: grid;
        grid-template-columns: 1fr;
        gap: 0px;
    }

    .product #tab2 .product-list,
    .product #tab3 .product-list {
        display: grid;
        grid-template-columns: 1fr;
        gap: 0px;
    }

    .product .product-item {
        margin-top: 20px;
    }

    .product .product-item-1,
    .product .product-item-2,
    .product .product-item-3 {
        width: 100%;
    }

    .product .product-title {
        font-size: 14px;
    }
}

.product .product-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.product .product-img {
    height: 300px;
    background-color: #f9f9f9;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

@media (max-width: 768px) {
    .product .product-list {
        display: block;
    }

    .product .product-item:hover {
        transform: none;
    }
}

.product .product-info {
    padding: 20px 26px;
    color: #001555;
    height: 133px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.product .product-title {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: normal;
}

.product .product-title p {
    flex: 1;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    font-size: 28px;
    font-weight: 700;
}

.product .product-desc {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    font-style: normal;
    margin-top: 12px;
}

.product .product-info:hover {
    background: linear-gradient(180deg, #001555 0%, rgba(0, 21, 85, 0.99) 100%);
    color: #fff;
    border: 1px solid #001555;
    border-radius: 0px 0px 7px 7px;
}

.product .pagination {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
}

.product .page-btn {
    width: 36px;
    height: 19px;
    display: flex;
    justify-content: center;
    align-items: center;
    background: #ffffff;
    border: 1px solid #001555;
    border-radius: 3px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 20px;
}

.product .page-btn:hover {
    background: #001555;
    color: #fff;
}

@media (max-width: 768px) {
    .product .tab-btn {
        padding: 6px;
        font-size: 14px;
    }

    .product .tab-btn .icon {
        margin-right: 2px;
    }

    .product .tab-btn:nth-child(1) .icon {
        width: 14px;
        height: 18px;
    }

    .product .tab-btn:nth-child(2) .icon {
        width: 16px;
        height: 16px;
    }

    .product .tab-btn:nth-child(3) .icon {
        width: 25px;
        height: 16px;
    }

    .product .product-item .product-img {
        height: 140px;
    }

    .product .product-info {
        height: auto;
        padding: 10px !important;
    }

    .product .product-title p {
        font-size: 14px;
    }

    .product .product-title span {
        font-size: 14px;
    }

    .product .product-desc {
        font-size: 13px;
    }

    .product .pagination {
        margin-bottom: 0px;
    }
}