:root {
    --rw_star-color: #FFDC64;
    --rw_star-o-color: #737373;
}


.d-block {
    display: block;
}

.ml-auto {
    margin-left: auto;
}

.mr-auto {
    margin-right: auto;
}

._af-ques-form,
._af-review-form {
    padding: 0;
}



._af-review-form .upload-file-btn {
    top: calc(50% - 12px);
}

._af-review-form .upload-file-wrapper::before {
    top: calc(50% - .4375rem);
}

._af-review-form .form-group {
    margin-bottom: 10px;
}

._af-ques-form label,
._af-review-form label {
    margin-bottom: 0.5em !important;
    display: inline-block;
}

.nx-cursor-pointer {
    cursor: pointer;
}

._af-review-form .form-group.review-desc {
    margin-bottom: 2rem;
}

._af-section-reviews .upload-file-btn {
    font-weight: 600;
    line-height: 15.6px;
    text-align: center;
    text-transform: uppercase;
    border-radius: var(--siteBorderRadius, 0);
    padding: 5px 10px !important;
    font-size: .75rem !important;
}

._af-section-reviews {
    background: #fff !important;
}

.vc_section .d-none {
    display: none;
}

.vc_section .text-center {
    text-align: center;
}

.vc_section .container {
    max-width: 1140px;
    margin-left: auto;
    margin-right: auto;
}


._af-section-reviews .form-control {
    width: 100%;
}

._af-section-reviews input[type='text'],
._af-section-reviews input[type='email'],
._af-section-reviews input[type='file'],
._af-section-reviews textarea {
    border: var(--reviews-input-border, 1px solid rgba(0, 0, 0, 0.25)) !important;
    background-color: var(--reviews-input-background-color, #fff) !important;
    box-shadow: var(--reviews-input-box-shadow, none);
    border-radius: var(--reviews-input-radius, 0);
    padding-top: var(--reviews-input-padding-top, 15px) !important;
    padding-bottom: var(--reviews-input-padding-bottom, 15px) !important;
    padding-left: var(--reviews-input-padding-left, 15px) !important;
    padding-right: var(--reviews-input-padding-right, 15px) !important;
}

.review_loading_wrapper img {
    height: 50px;
    width: 50px;
}

._af-section-reviews .stars-wrapper {
    overflow: hidden;
    display: flex;
}

._af-section-reviews .stars-wrapper svg {
    display: inline-block;
    height: 1rem;
    width: 1rem;
}

._af-section-reviews .form-review-stars-wrapper svg{
    width: 1.5rem;
    height: 1.5rem;
}


/* Modal Background */
._af-section-reviews .modal {
    display: none;
    /* Hidden by default */
    position: fixed;
    /* Stay in place */
    z-index: 1050;
    /* Sit on top */
    left: 0;
    top: 0;
    width: 100%;
    /* Full width */
    height: 100%;
    /* Full height */
    overflow: auto;
    /* Enable scroll if needed */
    background-color: rgba(0, 0, 0, 0.5);
    /* Black background with opacity */
    transition: opacity 0.3s ease;
    /* Transition for fade effect */
    opacity: 0;
    /* Start as invisible */
}

/* Modal Fade In */
._af-section-reviews .modal.show {
    display: block;
    opacity: 1;
    /* Make it visible */
}

/* Modal Content */
._af-section-reviews .modal-content {
    background-color: #fff;
    /* White background */
    margin: 15% auto;
    /* 15% from the top and centered */
    padding: 20px;
    border: 1px solid #888;
    width: 80%;
    /* Could be more or less, depending on screen size */
    max-width: 500px;
    /* Max width of the modal */
    border-radius: 5px;
    transform: translateY(-50px);
    /* Start position for animation */
    transition: transform 0.3s ease, opacity 0.3s ease;
    /* Smooth animation */
    opacity: 0;
    /* Start as invisible */
}

/* Modal Fade In Content */
._af-section-reviews .modal.show .modal-content {
    opacity: 1;
    /* Make it visible */
    transform: translateY(0);
    /* Move to final position */
}

/* Header */
._af-section-reviews .modal-header {
    padding: 15px;
    border-bottom: 1px solid #ddd;
}

._af-section-reviews .modal-header .close {
    color: #000;
    font-size: 30px;
    font-weight: bold;
    transition: color 0.3s ease;
    /* Smooth color transition */
}

._af-section-reviews .modal-header .close:hover,
._af-section-reviews .modal-header .close:focus {
    color: #333;
    text-decoration: none;
    cursor: pointer;
}

/* Body */
._af-section-reviews .modal-body {
    padding: 20px;
}

/* Footer */
._af-section-reviews .modal-footer {
    padding: 15px;
    border-top: 1px solid #ddd;
    text-align: right;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    ._af-section-reviews .modal-content {
        width: 90%;
        margin: 10% auto;
    }

    ._af-section-reviews .modal-header .close {
        font-size: 24px;
    }
}

/* Top Ratings */
.nx-product-avg-rating__wrapper{
    display: inline-flex;
    align-items: center;
    gap: .5rem;

    padding: .25rem .75rem;
    border: 1px solid #BCBCBCFF;
    color: #747474FF !important;
    border-radius: .25rem;
    overflow: hidden;
    font-size: 14px;
    line-height: 1;

    outline: none !important;
    margin-bottom: 0.5rem;
    text-decoration: none;

}

.reviews__loadmore-btn .btn-load-more:disabled{
    opacity: 50%;
}

.nx-product-avg-rating{
    color: #000;
    font-size: 1rem;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: .25rem;
}

.nx-product-avg-rating svg{
    max-width: .75rem;
    width: 100%;
}

.nx-product-avg-rating svg path{
    fill: var(--rw_star-color, #FFDC64);
}

.nx-product-avg-rating__wrapper .nx-get-star-rating-html__suffix{
}
/* Top Ratings */

/*  FAZ design */
.nx-reviews-entry-heading {
    margin-bottom: 25px;
    font-size: 24px;
}

.nx-reviews-entry-row {
    display: flex;
    align-items: center;
    justify-content: left;
    flex-wrap: wrap;
    padding-bottom: 1rem;
    margin-bottom: 1rem;
    border-bottom: 1px solid #DDDDDD;
}

.nx-reviews-entry-row>div {
    width: max-content;
}

.nx-reviews-entry-row>div:first-child {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
}

.nx-reviews-entry-row>div:first-child>p {
    margin-bottom: 0 !important;
}

.nx-reviews-entry-row>div:first-child>p:first-child {
    font-family: var(--textFontFamily);
    font-size: 27px;
    font-weight: 400;
    line-height: 1;
    letter-spacing: -0.6932433247566223px;
    align-items: center;
}

.nx-reviews-entry-row>div:first-child .star-rating {
    margin-left: 1rem !important;
    margin-right: 1rem !important;
    font-size: 27px;

    height: auto;
}

/* .nx-custom-icon-star.star-rating{
    display: flex;
    align-items: center;
    gap: .25rem;
} */
.nx-custom-icon-star.star-rating i svg{
    max-width: 1.5rem;
    width: 100%;
    height: auto;
    fill: var(--rw_star-color, #FFDC64);
}

.nx-product-rating{
    display: inline-flex;
    align-items: center;
    gap: .25rem;
}

.nx-product-rating svg{
    max-width: 1.25rem;
    width: 100%;
    height: auto;
    fill: var(--rw_star-color, #FFDC64);
}

.nx-get-star-rating-html{
    display: flex;
    align-items: center;
    gap: .5rem;
}

.nx-reviews-entry-row .based-on {
    color: #737373;
    font-size: 17.33px;
}

/* .fa-star-o::before {
    content: "\2606";
}

 .fa-star::before {
    content: "\2605";
} */

.nx-custom-icon-star{
    line-height: 0;
    overflow: hidden;
}
.nx-custom-icon-star .fa svg {
    height: 25.75px;
    width: 27px;
}

.nx-custom-icon-star .fa-star svg {
    fill: var(--rw_star-color, #FFDC64);
}

.nx-custom-icon-star .fa-star-o svg,
.nx-custom-icon-star .fa-star-half-o svg {
    fill: var(--rw_star-o-color, #737373);
}

.nx-reviwes-cards-wrap {
    /* display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 1rem;
    margin-bottom: 40px;
    overflow: hidden; */

    column-gap: 1rem;
    column-count: 1;
}

.nx-reviwes-cards-wrap .review-row{
    margin: 0;
    /* display: grid; */
    /* grid-template-rows: 1fr auto; */
    margin-bottom: 1rem;
    break-inside: avoid;
}

.nx-reviwes-cards-wrap__showing-results-line {
    grid-column: span 1;
    font-size: 16px;
    font-weight: 400;
    line-height: 24px;
    text-align: left;
    color: #737373;
    display: block;
}

@media screen and (max-width: 767px) {
    .nx-reviews-entry-row>div:first-child>p:first-child{
        font-size: 1.5rem;
    }

    .nx-reviews-entry-row>div:first-child .star-rating{
        margin: 0 .75rem !important;
        display: flex;
    }

    .nx-reviews-entry-row .based-on{
        font-size: 1rem;
    }
}

._af-section-reviews .row:not(:last-child)::after,
._af-section-reviews .head-row::after {
    display: none;
}

.nx-reviwes-cards-wrap .img-container img {
    width: 100%;
}

.nx-reviwes-cards-wrap .review-details-wrapper {
    border: 1px solid #F2F2F2;
    border-top: 0;
    padding: 1rem;
}

.nx-reviwes-cards-wrap .img-container {
    border: 1px solid #F2F2F2;
    border-bottom: none;
}


.nx-reviwes-cards-wrap__starts-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nx-reviwes-cards-wrap__starts-wrapper .date {
    font-size: 14px;
    font-weight: 400;
    line-height: 18.2px;
    text-align: right;
    color: #737373;
}

._af-section-reviews .review-body{
    word-break: initial;
    text-align: justify;
}

@media screen and (min-width:576px) {
    .nx-reviwes-cards-wrap {
        column-count: 2;
    }
}

@media screen and (min-width:768px) {
    .nx-reviews-entry-row {
        justify-content: space-between;
    }

    .nx-reviews-entry-row>div:first-child {
        margin-bottom: 0;
    }

    .nx-reviwes-cards-wrap {
        /* grid-template-columns: repeat(2, 1fr); */
        column-count: 3;
    }

    .nx-reviwes-cards-wrap__showing-results-line {
        grid-column: span 2;
    }
}

@media screen and (min-width:992px) {
    .nx-reviwes-cards-wrap {
        /* grid-template-columns: repeat(3, 1fr); */
        column-count: 4;
    }

    .nx-reviwes-cards-wrap__showing-results-line {
        grid-column: span 3;
    }
}

@media screen and (min-width:993px) {
    .nx-reviews-entry-heading {
        font-size: 32px;
    }
}

@media screen and (min-width:1024px) {
    .nx-reviwes-cards-wrap {
        grid-template-columns: repeat(4, 1fr);
    }

    .nx-reviwes-cards-wrap__showing-results-line {
        grid-column: span 4;
    }
}

@media screen and (min-width:1200px) {}

@media screen and (max-width:1199px) {
    .vc_section .container {
        padding-left: 15px;
        padding-right: 15px;
    }
}


/*  FAZ design end */