.review_page_container {
    max-width: 1440px;
    width: 100%;
    margin: 40px auto;
    display: flex;
    justify-content: center;
    gap: 24px;
}

.product_review_details {
    max-width: 420px;
    width: 100%;
}

.prod_review_main_img {
    display: block;
    margin-bottom: 10px;
    border: 1px solid #d9d9d9;
}

.product_review_img_box_header {
    color: #000000;
    font-size: 16px;
    font-weight: 400;
    line-height: 1;
    text-transform: uppercase;
    margin-block: 24px;
}

.product_review_all_img_wrap {
    display: flex;
    justify-content: start;
    flex-wrap: wrap;
    gap: 16px 5%;
}

.product_review_all_img {
    flex: 0 0 30%;
    width: 100%;
    border: 1px solid #0000001a;
    position: relative;
}

.product_review_all_img img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.review_card_video {
    position: relative;
}

.review_card_video::after,
.product_review_all_img:has(video)::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    filter: invert(1);
    width: 30px;
    height: 30px;
    background: url("../img/icons/video_play.png") no-repeat center / 60% 60%, #ffffff80;
    padding: 20px;
    border-radius: 50%;
}

.review_page_container .prod_reviews_section {
    margin: 0px;
    flex: 1 0 auto;
}

@media screen and (max-width:1470px) {

    .review_page_container {
        padding: 0px 20px;
    }

    .product_review_details {
        max-width: 350px;
    }
}

@media screen and (max-width: 1080px) {
    .product_review_details {
        max-width: 300px;
    }
}

@media screen and (max-width: 767px) {
    .review_page_container {
        flex-direction: column;
        padding: 0px 10px;
    }

    .product_review_details {
        max-width: 100%;
    }

    .product_review_all_img_wrap {
        flex-wrap: nowrap;
        overflow: scroll;
        gap: 10px
    }

    .product_review_all_img {
        flex: 0 0 60px;
        aspect-ratio: 1
    }

    .review_page_container .prod_reviews_section {
        padding: 0px;
    }
}

@media screen and (max-width:540px) {
    .review_page_container {
        margin: 12px 0
    }

    .product_review_img_box_header {
        font-size: 14px;
        margin-block: 16px
    }
}