.banner {
    width: 100%;
}

.banner img {
    width: 100%;
    height: auto;
    max-width: 100%;
}

.banner-max {
    display: block;
}

.banner-min {
    display: none;
}

.product {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    background-color: #F7F7F7;
    padding-bottom: 71px;
}

.product-title {
    font-weight: 700;
    font-size: 40px;
    line-height: 40px;
    color: #333333;
    margin-top: 60px;
}

.product-tabs {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    margin-top: 40px;
    gap: 12px;
}

.product-tab {
    width: 154px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #EEEEEE;
    border-radius: 6px;
    font-weight: 500;
    font-size: 16px;
    line-height: 16px;
    color: #333333;
    cursor: pointer;
}

.product-tab:hover {
    background-color: #E1E1E1;
    color: #111111;
}

.product-tab-active {
    background-color: #FF4500 !important;
    color: #FFFFFF !important;
}

.product-list {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-gap: 12px;
    max-width: 1200px;
    width: 100%;
    height: max-content;
    margin-top: 40px;
    padding: 0 12px;
    box-sizing: border-box;
    align-items: stretch;
}

.product-item {
    width: 100%;
    display: flex;
    flex-direction: column;
    border-radius: 12px;
    overflow: hidden;
    background-color: #FFF;
    min-height: 0;
    align-items: stretch;
}

.product-item:hover {
    box-shadow: 0px 0px 20px 0px rgba(0,0,0,0.16);
}

.product-item img {
    width: 100%;
    height: max-content;
    min-height: 291px;
    max-height: 291px;
    object-fit: cover;
}

.product-item > div:nth-child(2) {
    width: 100%;
    height: max-content;
    padding: 24px 16px 24px 16px;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
}

.product-item > div:nth-child(2) > div:nth-child(1) {
    font-weight: 500;
    font-size: 20px;
    color: #333333;
    line-height: 20px;
    margin-bottom: 24px;
}

.product-item > div:nth-child(2) > div:nth-child(2) {
    display: flex;
    flex-direction: row;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
}

.product-desc {
    width: max-content;
    height: 32px;
    border: 1px solid rgba(0,0,0,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 8px;
    border-radius: 4px;
    font-weight: 400;
    font-size: 13px;
    line-height: 13px;
    color: #666666;
    white-space: nowrap;
}

.why-select-kgm {
    width: 100%;
    padding-top: 60px;
    padding-bottom: 60px;
    background: linear-gradient( 180deg, #FFFFFF 0%, rgba(255,255,255,0) 100%);
}

.why-select-kgm > div:nth-child(1) {
    text-align: center;
    font-weight: 900;
    font-size: 40px;
    line-height: 40px;
    color: #333333;
    margin-bottom: 79px;
}

.why-select-kgm > div:nth-child(2) {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    justify-content: center;
    gap: 100px;
}

.why-kgm-item {
    width: 208px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.why-kgm-item > img {
    width: 132px;
    height: 132px;
    border-radius: 50%;
    overflow: hidden;
    margin-bottom: 37px;
}

.why-kgm-item > div:nth-child(2) {
    width: 100%;
    text-align: center;
    font-weight: 400;
    font-size: 24px;
    line-height: 24px;
    color: #333333;
    margin-bottom: 22px;
}

.why-kgm-item > div:nth-child(3) {
    width: 100%;
    text-align: center;
    font-weight: 400;
    font-size: 16px;
    line-height: 22px;
    color: #666666;
}

.pdlr8 {
    width: 100%;
    padding-left: 8px;
    padding-right: 8px;
    box-sizing: border-box;
    background-color: #F7F7F7;
}

.about-kgm {
    width: 100%;
    background-color: #F7F7F7;
    padding-top: 49px;
    padding-bottom: 81px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.about-kgm-title {
    width: 100%;
    text-align: center;
    font-weight: 900;
    font-size: 40px;
    line-height: 40px;
    color: #333333;
    margin-bottom: 60px;
}

.about-kgm-group {
    max-width: 1200px;
    width: 100%;
    padding: 40px;
    box-sizing: border-box;
    width: 100%;
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    justify-content: center;
    gap: 40px;
    border-radius: 12px;
    overflow: hidden;
    background-color: #FFF;
    margin: 0 8px 0 8px;
}

.about-kgm-left {
    width: 440px;
    height: 265px;
    flex-shrink: 0;
    border-radius: 6px;
    overflow: hidden;
}

.about-kgm-left > img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.about-kgm-right {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    box-sizing: border-box;
    padding-top: 35px;
}

.about-kgm-right > img {
    width: 120px;
    height: 35px;
    object-fit: cover;
    margin-bottom: 25px;
}

.about-kgm-right > div:nth-child(2) {
    width: 100%;
    font-weight: 400;
    font-size: 18px;
    color: #999999;
    line-height: 30px;
    text-align: left;
}

.about-kgm-right-desc > div:nth-child(1) {
    margin-bottom: 24px;
}

.qrcode-bottom {
    width: 100%;
    background-color: #FFF;
    display: none;
    padding: 31px 0 36px 0;
    border-radius: 12px;
}

.qrcode-bottom img {
    width: 160px;
    height: 160px;
    object-fit: cover;
}

.qrcode-bottom div {
    width: 100%;
    font-weight: 700;
    font-size: 14px;
    color: #333333;
    line-height: 24px;
    text-align: center;
}

.footer {
    width: 100%;
    height: 68px;
    background-color: #333333;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

.footer > div:nth-child(1) {
    font-weight: 400;
    font-size: 16px;
    color: #FFFFFF;
    line-height: 16px;
}

.footer > div:nth-child(2) {
    width: 1px;
    height: 10px;
    background-color: #999;
}

.footer > div:nth-child(3) {
    font-weight: 400;
    font-size: 16px;
    color: #999999;
    line-height: 16px;
}

@media (max-width: 1200px) {
    .product-list {
        grid-template-columns: repeat(3, 1fr);
    }

    .product-item > div:nth-child(2) {
        padding: 24px 12px 24px 12px;
    }

    .product-item > div:nth-child(2) > div:nth-child(2) {
        gap: 6px;
    }

    .product-desc {
        padding: 0 6px;
    }
}

@media (max-width: 750px) {
    .banner-max {
        display: none;
    }
    .banner-min {
        display: block;
    }

    .product-title {
        font-size: 20px;
        line-height: 20px;
        margin-top: 30px;
    }

    .product-tabs {
        gap: 13px;
        margin-top: 20px;
    }

    .product-tab {
        width: 80px;
        height: 40px;
    }

    .product-list {
        grid-template-columns: repeat(3, 1fr);
    }

    .product-item img {
        width: 100%;
        height: max-content;
        min-height: 175px;
        max-height: 175px;
        object-fit: cover;
    }


    .why-select-kgm > div:nth-child(1) {
        margin-bottom: 40px;
        font-weight: 900;
        font-size: 20px;
        line-height: 20px;
    }

    .why-select-kgm > div:nth-child(2) {
        gap: 8px;
    }

    .why-kgm-item {
        width: 111px;
    }

    .why-kgm-item > img {
        width: 64px;
        height: 64px;
        margin-bottom: 15px;
    }

    .why-kgm-item > div:nth-child(2) {
        font-size: 16px;
        line-height: 16px;
        margin-bottom: 11px;
    }
    

    .why-kgm-item > div:nth-child(3) {
        font-size: 12px;
        line-height: 18px;
    }

    .about-kgm {
        padding-top: 30px;
        padding-bottom: 10px;
    }

    .about-kgm-title {
        font-size: 20px;
        line-height: 20px;
        margin-bottom: 30px;
    }

    .about-kgm-group {
        max-width: 100%;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 42px;
        padding: 8px;
    }

    .about-kgm-left {
        width: 100%;
    }

    .about-kgm-right {
        width: 100%;
        margin-bottom: 42px;
        padding: 0 8px 22px 8px;
        align-items: center;
        padding-top: 0;
    }

    .about-kgm-right > img {
        margin-bottom: 20px;
    }

    .qrcode-bottom {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 19px;
    }

    .footer {
        height: 96px;
        flex-direction: column;
        gap: 16px;
    }
    
    .footer > div:nth-child(2) {
        display: none;
    }
}

@media (max-width: 588px) {
    .product-list {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 375px) {
    .product-list {
        min-width: 375px;
    }
}