.prod_review_card_skeleton {
    aspect-ratio: 5.1;
}

.prod_review_input_skeleton {
    aspect-ratio: 5.92;
}

.prod_review_img_skeleton {
    aspect-ratio: 14;
}

.write_review_popup.active,
.write_review_gift_popup.active,
.review_gift_banner.active {
    align-items: center;
    justify-content: center;
}

.write_review_popup .popup_containers_wrap {
    max-width: 948px;
    width: 100%;
}

.write_review_popup .popup_containers_content {
    padding: 24px;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 16px;
    max-height: 85vh;
    overflow: hidden scroll;
    scrollbar-width: auto;
}

.write_review_popup .popup_containers_content::-webkit-scrollbar {
    display: block;
}

.prod_review_input_box {
    width: 100%;
    padding: 8px 12px;
    background: #FBFBFB;
    border: 1px solid #D9D9D9;
}

.prod_review_input_box:has(.prod_review_input:not(:placeholder-shown)),
.prod_review_input_box:has(.prod_review_input:focus) {
    border: 1px solid #4B5154;
}

.review_popup_input_box:has(.error__msg.active) input,
.prod_review_input_box:has(.error__msg.active) {
    border-color: #FF0000;
}

.prod_review_input {
    all: unset;
    width: 100%;
    color: #333333;
    font-size: 16px;
    font-style: normal;
    font-weight: 300;
    line-height: 150%;
    min-height: 124px;
    caret-color: #333;
}

.prod_review_input_remarks,
.write_review_img_input_remarks {
    color: #777777;
    text-align: right;
    font-size: 12px;
    font-style: normal;
    font-weight: 300;
    line-height: 100%;
}

.write_review_img_wrap {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 12px;
    background: #FBFBFB;
    border: 1px dashed #333;
    position: relative;
}

.write_review_img_input_box,
.body_info_card_wrap {
    display: flex;
    align-items: center;
    gap: 8px;
}

#reviewImageInput {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: pointer;
}

.reviewImageIcon {
    width: 20px;
    aspect-ratio: 1;
}

.reviewImage_label {
    color: #777777;
    font-size: 16px;
    font-style: normal;
    font-weight: 300;
    line-height: 200%;
}

.reviewImage_label label {
    color: #333333;
    text-decoration: underline;
    cursor: pointer;
}

.write_review_img_card_wrap {
    width: 100%;
    display: none;
    align-items: stretch;
    justify-content: start;
    gap: 16px;
    flex-wrap: wrap;
}

.write_review_img_card_wrap.active {
    display: flex;
}

.write_review_img_card {
    flex: 0 0 auto;
    width: 60px;
    aspect-ratio: .75;
    position: relative;
}

.write_review_img_card img,
.write_review_img_card video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.write_review_img_card_cancel_icon {
    position: absolute;
    top: 0;
    right: 0;
    z-index: 1;
    width: 16px;
    aspect-ratio: 1;
    cursor: pointer;
    transform: translate(50%, -50%);
}

.write_review_submit_btn {
    width: 100%;
    height: 58px;
    font-size: 18px;
    flex-shrink: 0;
    cursor: pointer;
}

.write_review_user_input_wrap {
    width: 100%;
    padding: 0 4px;
    margin: 8px 0;
    display: flex;
    flex-direction: column;
    align-items: start;
    gap: 24px
}

.review_popup_input_box {
    width: 100%;
}

.review_popup_input_box label {
    display: inline-block;
    color: #333333;
    font-size: 16px;
    font-weight: 300;
    line-height: 1;
    text-align: left;
    margin-left: 16px;
    margin-bottom: 4px;
}

.review_popup_input_box label::after {
    content: "*";
    vertical-align: top;
    color: #b12029;
}

.review_popup_input_box input {
    all: unset;
    box-sizing: border-box;
    width: 100%;
    padding: 20px 16px;
    background-color: #FBFBFB;
    border-bottom: 1px solid #777777;
    color: #333333;
    font-size: 16px;
    font-weight: 400;
    line-height: 1;
    text-align: left;
}

.review_popup_input_box input::placeholder {
    opacity: .8;
    text-transform: capitalize;
}

.rating_error_msg {
    margin: 10px 12px 8px;
}

.body_info_card {
    width: 100%;
    padding: 16px;
    background-color: #FAFAFA;
    display: grid;
    align-items: center;
    justify-content: space-between;
    grid-template-columns: 1fr 24px;
    grid-template-rows: repeat(2, auto);
}

.body_info_card_heading {
    color: #333333;
    font-size: 18px;
    font-weight: 400;
    line-height: 1.334;
    text-transform: capitalize;
}

.body_info_card_details,
.write_review_img_remarks {
    color: #333333;
    font-size: 16px;
    font-weight: 300;
    line-height: 1.375;
}

.body_info_card_details span,
.write_review_img_remarks span {
    color: #b12029;
    font-weight: 400;
}

.write_review_img_remarks:has(+.write_review_img_card_wrap.active) {
    display: none;
}

.body_info_sub_heading {
    color: #000000;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.375;
    text-transform: uppercase;
    margin-bottom: 12px;
}

.body_info_input_container {
    width: 100%;
    display: flex;
    align-items: start;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 24px;
}

.body_info_input_wrap {
    width: 100%;
    flex: 0 1 calc(50% - 12px);
}

.body_info_input_wrap span.label_name {
    display: block;
    margin: 0px 16px 4px;
}

.body_info_input_wrap span {
    display: none;
    font-size: 16px;
    font-weight: 300;
    line-height: 1.375;
    text-transform: capitalize;
}

/* .body_info_input_wrap span::after {
    content: "*";
    color: #b12029;
} */

.body_info_input {
    all: unset;
    box-sizing: border-box;
    width: 100%;
    cursor: auto;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.313;
    text-transform: capitalize;
    padding: 20px 16px;
    background: #FBFBFB;
    border-bottom: 1px solid #777777;
}

.body_info_input_wrap:has(.error__msg.active) .body_info_input {
    border-bottom: 1px solid #FF0000;
}

.body_info_sub_details {
    color: #777777;
    font-size: 18px;
    font-weight: 300;
    line-height: 1.334;
    margin-bottom: 12px;
}

.bodyShapeWrap {
    display: flex;
    align-items: center;
    justify-content: start;
    gap: 25px;
}

.bodyShapeWrap label {
    width: 76px;
    aspect-ratio: 1;
    flex: 0 0 auto;
    background-color: #F8F8F8;
    border: 2px solid #F8F8F8;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.bodyShapeWrap label svg {
    height: 57px;
    width: auto;
}

.bodyShapeWrap label:has(input:checked) {
    border: 2px solid #000000;
    background-color: #f3f3f3;
}

.bodyShapeWrap input {
    display: none;
}

.review_sub_heading {
    font-size: 16px;
    font-weight: 400;
    line-height: 1;
    text-transform: uppercase;
    margin-bottom: 12px;
}

.overall_fit_options_wrap {
    display: flex;
    align-items: center;
    gap: 40px;
    padding: 12px 16px 16px;
}

.overall_fit_options_wrap label {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
}

.overall_fit_options_wrap input {
    width: 24px;
    height: 24px;
    aspect-ratio: 1;
    accent-color: #333333;
    position: relative;
    cursor: pointer;
    -webkit-appearance: none;
    -moz-appearance: none;
    border: 1px solid #333333;
    border-radius: 50%;
    display: inline-block;
}

.overall_fit_options_wrap input::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60%;
    aspect-ratio: 1;
    border-radius: 50%;
    background-color: #D9D9D9;
}

.overall_fit_options_wrap label:has(input:checked) input::before {
    background-color: #333333;
}

.overall_fit_options_wrap label span {
    font-size: 16px;
    font-weight: 400;
    line-height: 1;
    text-transform: capitalize;
}

.prod_review_tag_wrap {
    display: flex;
    align-items: center;
    gap: 10px;
    overflow-x: scroll;
    margin-top: 12px;
}

.prod_review_tag_wrap label,
.prod_review_tag {
    font-size: 14px;
    font-weight: 500;
    line-height: 1;
    text-align: center;
    padding: 12px 24px;
    background: #F8F8F8;
    border: 1px solid #F8F8F8;
    white-space: nowrap;
    cursor: pointer;
    text-transform: uppercase;
}

.prod_review_tag {
    cursor: default;
}

.prod_review_tag_wrap input {
    display: none;
}

.prod_review_tag_wrap label:has(input:checked) {
    border: 1px solid #000000;
}

.write_review_gift_popup .popup_containers_wrap {
    max-width: 660px;
    width: 100%;
}

.write_review_gift_popup .popup_containers_content {
    padding: 20px;
}

.write_review_gift_msg {
    color: #B12029;
    font-weight: 300;
    font-size: 18px;
    line-height: 1.4;
}

.write_review_gift_btns_wrap {
    margin-top: 24px;
    display: flex;
    gap: 24px;
}

.write_review_gift_btns_wrap button {
    flex: 0 1 50%;
    height: 56px;
    cursor: pointer;
}

.review_gift_banner .popup_containers_wrap {
    max-width: 620px;
    width: 100%;
}

.review_gift_banner .popup_containers_cls_btn {
    position: absolute;
    top: 5px;
    right: 5px;
    z-index: 1;
}

.review_thread_wrap {
    width: 100%;
    padding: 8px;
    background-color: #FFF8F8;
    gap: 4px;
    display: flex;
    align-items: center;
    flex-direction: column;
    justify-content: center;
}

.review_thread_count_wrap {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 6px;
}

.review_thread_count {
    color: #B12029;
    font-size: 30px;
    font-weight: 400;
    line-height: 1;
}

.body_info_dropdown_btn {
    width: 20px;
    cursor: pointer;
    transition: all 0.3s linear;
}

.body_info_dropdown_btn:has(+.body_info_wrap.active) {
    transform: rotate(180deg);
}

.review_thread_cont {
    color: #333333;
    font-size: 16px;
    font-weight: 300;
    line-height: 1.4;
}

.body_info_wrap {
    display: none;
    padding: 16px;
    margin-top: 20px;
    background-color: #ffffff;
    grid-area: 2 / 1 / 3 / 3;
}

.body_info_shape_wrap {
    margin-top: 24px;
}

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

    .body_info_card_wrap {
        align-items: start;
        flex-direction: column;
    }
}

@media screen and (max-width:767px) {
    .review_thread_wrap {
        gap: 0px;
        padding: 6px;
    }

    .review_thread_count_wrap {
        gap: 4px;
        padding: 4px 6px;
    }

    .review_thread_count {
        font-size: 20px;
    }

    .review_thread_count_wrap svg {
        width: 14px;
    }

    .review_thread_cont {
        font-size: 12px;
    }

    .body_info_card {
        padding: 8px;
    }

    .body_info_dropdown_btn {
        width: 18px;
    }

    .body_info_sub_details,
    .body_info_sub_heading {
        font-size: 14px;
        margin-bottom: 8px;
        line-height: 1.286;
    }

    .body_info_card_heading {
        font-size: 14px;
        line-height: 1.286;
    }

    .body_info_input_wrap span,
    .overall_fit_options_wrap label span,
    .write_review_gift_msg {
        font-size: 14px;
    }

    .review_sub_heading {
        font-size: 14px;
        margin-bottom: 8px;
    }

    .body_info_wrap {
        margin-top: 12px;
        padding: 10px 8px;
    }

    .body_info_input_container {
        gap: 16px 8px;
    }

    .body_info_input_wrap {
        width: 100%;
        flex: 0 1 calc(50% - 4px);
    }

    .body_info_input_wrap span.label_name {
        margin: 0px 8px 4px;
        line-height: 1.286;
    }

    .body_info_input {
        font-size: 14px;
        padding: 16px 8px;
        line-height: 1.215;
    }

    .body_info_shape_wrap {
        margin-top: 20px;
    }

    .bodyShapeWrap {
        gap: 16px;
        overflow: scroll hidden;
    }

    .bodyShapeWrap label {
        width: 53px;
    }

    .bodyShapeWrap label svg {
        height: 38px;
    }

    .overall_fit_options_wrap {
        padding: 4px 10px 8px;
        gap: 16px;
    }

    .overall_fit_options_wrap input {
        width: 20px;
        height: 20px;
    }

    .prod_review_tag_wrap label,
    .prod_review_tag {
        padding: 8px;
        font-size: 12px;
    }

    .prod_review_tag_wrap {
        gap: 6px;
    }

    .rating_error_msg {
        margin: 6px 8px;
    }

    .write_review_gift_popup.active,
    .write_review_popup.active {
        align-items: end
    }

    .write_review_gift_popup .popup_containers_wrap,
    .write_review_popup .popup_containers_wrap {
        max-width: 100%
    }

    .write_review_popup .popup_containers_content {
        padding: 24px 10px;
        gap: 12px;
        max-height: 80vh
    }

    .write_review_gift_popup .popup_containers_content {
        padding: 16px 10px 24px;
    }

    .write_review_gift_btns_wrap {
        gap: 8px;
        margin-top: 16px;
    }

    .write_review_gift_btns_wrap button {
        height: 46px;
    }

    .prod_review_input_box {
        padding: 10px 8px 8px
    }

    .prod_review_input {
        font-size: 12px;
        line-height: 100%;
        min-height: 72px
    }

    .prod_review_input_remarks,
    .write_review_img_input_remarks {
        font-size: 10px;
    }

    .write_review_img_wrap {
        padding: 12px
    }

    .write_review_img_input_box {
        gap: 4px
    }

    .reviewImageIcon {
        width: 16px
    }

    .reviewImage_label {
        font-size: 10px
    }

    .reviewImage_label label,
    .body_info_card_details {
        font-size: 12px;
        line-height: 1.167;
    }

    .write_review_img_card_wrap {
        margin-top: 12px;
    }

    .write_review_img_card {
        width: 45px
    }

    .write_review_submit_btn {
        height: 46px;
        font-size: 14px
    }

    .write_review_user_input_wrap {
        margin: 4px 0;
        padding: 0;
        gap: 16px
    }

    .review_popup_input_box label {
        margin-left: 8px;
        font-size: 14px
    }

    .review_popup_input_box input {
        padding: 16px 8px;
        font-size: 14px
    }
}