.product-main {
    position: relative;
    overflow: hidden;
    /* tránh tràn */
}

/* Lửa cháy từ trên xuống (nửa trên) */
.product-main::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 70%;
    /* chỉ nửa trên */
    background: url('../images/bg_product.png') no-repeat center top;
    background-size: cover;
    transform: rotate(180deg);
    /* lật ngược ảnh */
}

/* Lửa cháy từ dưới lên (nửa dưới) */
.product-main::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 70%;
    /* chỉ nửa dưới */
    background: url('../images/bg_product.png') no-repeat center top;
    background-size: cover;
}

.background_color_black {
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    background: rgba(0, 0, 0, 0.35);
    z-index: 10;
}

.container {
    position: relative;
    z-index: 50;
}

.statistical {
    margin-top: auto;
}

.statistical-container {
    padding: 20px 0px;
    border-radius: 10px;
    color: white;
    font-family: 'Montserrat', sans-serif;
}

.statistical-info .info-top {
    display: flex;
    justify-content: space-between;
    margin-bottom: 15px;
}

.statistical-info .info-top .sold span {
    color: #ff4b4b;
}

.statistical-info .info-progress {
    display: flex;
    justify-content: space-between;
}

.statistical-info .info-progress .revenue span {
    font-size: 18px;
    font-weight: bold;
}

.statistical-info .info-progress .target {
    text-align: right;
}

.statistical-info .info-progress .target span {
    font-size: 18px;
    font-weight: bold;
}

.progress-bar {
    background-color: #fff;
    border-radius: 25px;
    height: 15px;
    width: 100%;
    margin: 5px 0;
}

.progress-bar .progress {
    background-color: #ff4b4b;
    height: 100%;
    border-radius: 25px;
    border: 1px solid #fff;
}

.statistical-info .progress-labels {
    display: flex;
    justify-content: space-between;
    font-size: 12px;
    margin-bottom: 20px;
}

.actions {
    display: flex;
    justify-content: space-between;
    align-items: start;
}

.actions .price span {
    font-size: 24px;
    font-weight: 600;
    color: #fff;
}

.cart-btn {
    border: none;
    border-radius: 25px;
    color: #ff4b4b;
    padding: 10px;
    cursor: pointer;
}

.cart-btn:hover {
    background-color: #ff4b4b;
    color: #fff;
}

.actions .buttons .buy-btn {
    background: #fff;
    border: none;
    border-radius: 25px;
    color: #ff4b4b;
    padding: 10px 50px;
    cursor: pointer;
    font-weight: bold;
}

.actions .buttons .buy-btn:hover {
    background-color: #ff4b4b;
    color: #fff;
}

/* PRODUCT BOX */
.product_hot_box {
    display: flex;
    gap: 120px;
    justify-content: space-between;
    align-items: center;
    padding: 60px 0px;
    position: relative;
}

.image_list_product {
    display: flex;
    gap: 10px;
    position: relative;
    padding: 35px 0;
}

.detail_product {
    width: 100%;
    height: 100%;
    min-height: 450px;
    max-width: 508px;
    display: flex;
    flex-direction: column;
}

.detail_product>h3 {
    font-size: 70px;
    text-align: center;
    margin-bottom: 16px;
}

.main_img {
    flex: 1;
    min-width: 0;
    padding: 10px;
    border: 1px solid #fff;
    border-radius: 20px;
    display: flex;
    justify-content: center;
    max-height: 450px;
}

.main_img>img {
    border: 1px solid #fff;
    width: 100%;
    border-radius: 12px;
}

.gallery_img .swiper-slide img {
    border: 1px solid #fff;
    border-radius: 12px;
    cursor: pointer;
}

.gallery_img.swiper {
    height: 450px;
    flex-shrink: 0;
    position: relative;
}

.content-detail {
    line-height: 1.6;
    font-weight: lighter;
    font-size: 15px;
    margin-bottom: 16px;
}

.zoom-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

.zoom-overlay img.zoomed-img {
    max-width: 90%;
    max-height: 90%;
    object-fit: contain;
}

.gallery_img {
    position: relative;
}

.swiper-button-prev,
.swiper-button-next {
    position: absolute;
    width: 30px;
    height: 30px;
    color: #fff;
    z-index: 100;
    cursor: pointer;
}

.swiper-button-prev {
    left: 30px;
    top: 15px;
    transform: rotate(90deg);
}

.swiper-button-next {
    left: 30px !important;
    right: auto;
    top: auto;
    bottom: 8px !important;
    transform: rotate(90deg);
}

.swiper-button-prev::after,
.swiper-button-next::after {
    font-size: 18px;
    color: #fff;
}

.list_nohot {
    width: 100%;
    padding: 60px 1.25rem 60px 1.25rem;
}

.list_nohot>h3 {
    font-size: 36px;
    margin-bottom: 50px;
}

.list-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
}

.box_item {
    padding: 12px;
    border: 1px solid #fff;
    border-radius: 12px;
}

.box_item>h3 {
    margin-bottom: 16px;
}

.img-item {
    width: 100%;
    overflow: hidden;
    border-radius: 12px;
}

.box_item .img-item>img {
    width: 100%;
    transition: all 0.3s ease-in-out;
    border-radius: 8px;
}

.img-item:hover>img {
    transform: scale(1.2);
}

.box_item>.price {
    margin: 12px 0px;
}

.box_item>.price>.price-box {
    display: flex;
    justify-content: space-between;
}

.number_sold {
    display: flex;
    justify-content: start;
    gap: 10px;
}

.action {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

@media (max-width:767px) {
    .list_nohot>h3 {
        text-align: center;
        font-size: 32px;
        margin-bottom: 24px;
    }

    .list-grid {
        grid-template-columns: repeat(1, 1fr) !important;
        gap: 16px;
    }

    .product_hot_box {
        flex-direction: column;
        gap: 32px;
    }

    .image_list_product {
        display: flex;
        flex-direction: column;
        align-items: center;
        width: 100%;
    }

    .image_list_product .gallery_img {
        width: 100%;
        height: auto;
        order: 2;
    }

    .image_list_product .main_img {
        order: 1;
        margin-bottom: 10px;
    }

    .gallery_img {
        height: 100px;
    }

    .swiper-button-next,
    .swiper-button-prev {
        display: none;
    }

    .actions .buttons .buy-btn {
        padding: 8px 16px;
    }

    .actions .price span {
        font-size: 18px;
    }

    .detail_product>h3 {
        font-size: 42px;
    }

    .business-market-title {
        margin-top: 30px;
        margin-bottom: 16px;
    }

}

@media (max-width:991px) {
    .product_hot_box {
        flex-direction: column;
        padding: 60px 1.25rem 0px 1.25rem;
    }

    .main_img {
        max-height: fit-content;
    }

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

    .detail_product {
        max-width: max-content;
    }

    .slider-nav {
        display: none;
    }
}

@media (max-width : 1199px) {
    .product_hot_box {
        gap: 36px;
    }
}