@media (min-width: 990px) {
    .hide-desktop {
        display: none !important;
    }
}

@media (max-width: 990px) {
    .hide-mobile {
        display: none !important;
    }
}

@media (min-width: 1280px) and (max-width: 1440px) {
    #custom-product .hide-mobile {
        display: none !important;
    }

    #custom-product .hide-desktop {
        display: block !important;
    }

    #custom-product .review-tab-item {
        margin-right: 10px;
        display: flex;
        white-space: nowrap;
        justify-content: center;
    }

    #custom-product .review-tab-item .review-tab-item-count {
        margin-left: 5px;
    }

    #custom-product #reviews {
        min-height: 465px;
    }
}



#loadMoreReviews .button {
    background-color: var(--white)!important;
    padding: var(--small-padding) var(--middle-padding);
    cursor: pointer;
    user-select: none;
    border-radius: 36px;
    border: 2px solid var(--light);
    transition: var(--trans);
    font-size: 14px;
    font-weight: 400;
    color: var(--darkness);
}

.module-review-content {
    text-align: left;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    width: 100%;
    margin: 5px 0;
}

.more-review-wrapper {
    position: relative;
}

.more-review-button {
    position: absolute;
    right: 0;
    bottom: 0;
    z-index: 1;
    width: 100%;
    text-align: right;
    display: flex;
    justify-content: flex-end;
}

.more-review-button span {
    position: relative;
    z-index: 3;
    border-radius: 16px;
    color: #4a4a4a;
    user-select: none;
    padding: 2px 12px;
    cursor: pointer;
    background-color: #ededed;
    display: flex;
    align-items: center;
    justify-content: center;
    width: fit-content;
    width: -moz-fit-content;
    transition: background-color 250ms ease-in;
}

.more-review-button span:hover {
    background-color: #dedede;
}

.more-review-input {
    opacity: 0;
    position: absolute;
    top: 0;
    left: 0;
}

.more-review-input:checked ~ .module-review-content {
    display: block;
}
.more-review-input:checked ~ .more-review-button {
    display: none;
}

.more-review-button::before {
    content: '';
    width: 100%;
    height: 20px;
    background: linear-gradient(45deg, rgba(247, 247, 247, 0) 0%, #fff 90%);
    background: -webkit-linear-gradient(45deg, rgba(247, 247, 247, 0) 0%, #fff 90%);
    position: absolute;
    right: 0;
    bottom: 0;
}

.verified-box img {
    margin:0 2px 0 6px;
    height: 14px;
    width: 14px;
    transform: translateY(2px);
}

.module-review-star {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.product-star svg {
    color: #e1e1e1;
}

.module-rating-star-in-list {
    width: 14px;
    min-width: 14px;
    height: 14px;
    display: block;
    margin-right: 3px;
    background-color: #ffbc59;
    -webkit-mask-image: url('/modules/reviews/images/review-star.svg');
    mask-image: url('/modules/reviews/images/review-star.svg');
    -webkit-mask-size: contain;
    mask-size: contain;
}

.module-star-off {
    background-color: #999;
}

.module-review-list-heading {
    font-size: 21px;
    font-weight: 600;
    margin: 32px 0 10px 0;
    padding: 0;
    line-height: 1.3;
}

.module-review-list,
.module-list-sub-review {
    position: relative;
    margin: 0;
    padding: 0;
    list-style: none;
    width: 100%;
    min-height: 75px;
}

/* .module-review-item,
.module-list-sub-review-item {
    display: flex;
    justify-content: flex-start;
    align-items: flex-start;
    margin-bottom: 16px;
    width: 100%;
} */

.module-review-item+.module-review-item {
    border-top: 1px dashed #CCCCCC;
    padding-top: 16px;
}

.module-review-item+.module-review-item:last-child {
    margin-bottom: 0;
}

.module-list-sub-review-item {
    margin-top: 32px;
}

.module-review-avatar {
    width: 30px;
    height: 30px;
    border-radius: 30px;
    background-color: #fff1e9;
    color: var(--black);
    display: flex;
    justify-content: center;
    align-items: center;
    line-height: 1;
    user-select: none;
    font-weight: 500;
    font-size: 14px;
}

.module-review-avatar span {
    font-size: 12px !important;
}

.module-review-content-wrapper {
    width: 100%;
    position: relative;
}

.module-review-content-wrapper > * {
    position: relative;
    z-index: 2;
}

.hightlight .more-review-button {
    display: none;
}
.hightlight .module-review-content {
    display: block;
}
.hightlight,
.hightlight.module-review-item + .module-review-item {
    border: none !important;
}

.hightlight .module-review-content-wrapper::after {
    content: "";
    width: calc(100% + 24px);
    height: calc(100% + 32px);
    display: block;
    position: absolute;
    top: -16px;
    left: -12px;
    z-index: 1;
    background-color: #fffaeb;
    border-radius: 5px;
}

.module-review-item-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    color: var(--pr-color-text);
    font-size: 15px;
    font-weight: 500;
    margin-bottom: 10px;
}

.module-review-item-top span {
    font-size: 14px;
    line-height: 17px;
    margin: 0 4px;
    padding: 0;
    font-weight: 400;
}

.module-review-content-action-wrapper {
    margin-top: 8px;
}

#module-reply-comment {
    padding-left: 0;
}

.module-review-images {
    display: flex;
    justify-content: flex-start;
    align-items: stretch;
    margin-top: 8px;
    width: 100%;
    overflow-y: hidden;
    overflow-x: auto;
}

.module-review-images img {
    height: 90px;
    max-width: 150px;
    margin-right: 5px;
    object-fit: cover;
    cursor: zoom-in;
    border: 1px solid #ccc;
    border-radius: 5px;
    margin-bottom: 5px;
}

.module-review-images img.focus {
    border: 3px solid var(--pr-color-information-300);
}

.review-module-form-reply .error {
    border-color: #dc3545;
}

.reply-error-mess {
    width: 100%;
    margin: 0;
    font-size: 13px;
    color: #dc3545;
    font-style: italic;
}


.module-rate-label {
    position: absolute;
    top: 0;
    left: 0;
    display: flex;
    justify-content: flex-start;
    align-items: center;
}


.module-rate-label:last-child {
  position: static;
}


.module-rate-box {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    position: relative;
}

.module-rate-box input[type=radio] {
    position: absolute;
    right: 8px;
    z-index: 1;
    opacity: 0;
}


.review-star-item {
    margin-right: 8px;
    cursor: pointer;
    position: relative;
    z-index: 2;
}

.review-star-item:before {
    content: "";
    width: 26px;
    min-width: 26px;
    height: 26px;
    background-color: transparent;

    mask-size: contain;
    mask-repeat: no-repeat;
    mask-image: url('/modules/reviews/images/review-star.svg');

    -webkit-mask-size: contain;
    -webkit-mask-repeat: no-repeat;
    -webkit-mask-image: url('/modules/reviews/images/review-star.svg');

    display: block;
    transition: all 350ms ease;
}

.module-rate-label:last-child .review-star-item:before {
    background-color: #ccc;
}

.module-rate-box:not(:hover) .module-rate-label input:checked ~ .review-star-item:before,
.module-rate-box:hover .module-rate-label:hover input ~ .review-star-item:before {
    background-color: #ffbc59;
}

.module-rate-box .module-rate-label input:focus:not(:checked) ~ .review-star-item:last-child:before {
    background-color: #ccc;
}

.module-rate-box .module-rate-label input[type=radio]:checked ~ .review-star-item:before {
    background-color: #ffbc59;
}

.product-bar {
    height: calc(8px / 2);
    width: calc(100% - 100px);
    background-color: rgba(211, 211, 211, 0.6);
    border-radius: 8px;
    display: flex;
    margin: 0 0 0 8px;
    position: relative;
    overflow: hidden;
}

.product-result {
    transition: all 300ms ease-in-out;
    width: 0;
    height: 100%;
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    background-color: #6551cc;
}

.star-on {
    fill: rgb(255, 188, 89);
    color: rgb(255, 188, 89);
}


.overall-heading {
    font-size: 17px;
    font-weight: 500;
    line-height: 1;
    margin-bottom: 16px;
    display: block;
    white-space: nowrap;
}

.module-review-label {
    font-size: 17px;
    font-weight: 500;
    line-height: 1;
    margin-right: 7px;
    display: block;
    white-space: nowrap;
    width: 100%;
    margin-bottom: 16px;
}

.module-review-form-label i {
    margin: 0 3px;
    color: #f00;
}

.module-review-form-group {
    position: relative;
    box-sizing: content-box;
    margin-bottom: 16px;
}

.module-review-form-label {
    position: absolute;
    top: 10px;
    left: 14px;
    font-size: 15px;
    padding: 0;
    pointer-events: none;
    background-color: #f1f1f1;
    transition: all 150ms ease-in-out;
    color: #444;
}

.module-review-form-group.focus .module-review-form-label {
    font-size: 11px;
    color: #666;
    top: 4px;
}

.module-review-text::-webkit-input-placeholder {
    opacity: 0
}

.module-review-text:-ms-input-placeholder {
    opacity: 0
}

.module-review-text::placeholder {
    opacity: 0
}

.module-review-form-group.focus .module-review-text::-webkit-input-placeholder,
.module-review-form-group.error .module-review-text::-webkit-input-placeholder {
    opacity: 1;
}

.module-review-form-group.focus .module-review-text:-ms-input-placeholder,
.module-review-form-group.error .module-review-text:-ms-input-placeholder {
    opacity: 1
}

.module-review-form-group.focus .module-review-text::placeholder,
.module-review-form-group.error .module-review-text::placeholder {
    opacity: 1
}

.module-review-text {
    padding: 12px;
    line-height: 1.5;
    color: #495057;
    background-color: #F1F1F1;
    box-sizing: border-box;
    background-clip: padding-box;
    border: none;
    border-radius: .25rem;
    outline: none;
    width: 100%;
    transition: all 350ms ease-in-out;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 16px;
}

.module-review-form-group.focus label {
    display: none;
}

.module-review-text:focus {
    color: #495057;
    background-color: #f8f8f8;
    outline: 0;
    box-shadow: 0 0 0 2px var(--pr-color-primary-300);
}

.module-review-action-wrapper {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    flex-wrap: wrap;
    grid-gap: 12px;
}

.module-review-action-cancel {
    margin-left: 16px;
}

.module-review-file-selector {
    display: inline-flex;
    justify-content: flex-start;
    align-items: center;
    order: 2;
}

#selectImagesButton {
    margin-right: 8px;
}

.module-review-error-mess {
    width: 100%;
    margin: 0;
    font-size: 13px;
    color: #dc3545;
    font-style: italic;
    display: none;
}

.module-review-form-group.error .module-review-error-mess {
    display: block;
}

.module-review-form-group.error .module-review-form-label {
    color: #dc3545;
    font-size: 11px;
    top: 0px;
}

.module-review-form-group.error .module-review-text {
    border-color: #dc3545
}

.module-review-form-group.error .module-review-text:focus {
    border-color: #dc3545;
    box-shadow: 0 0 0 0.25rem rgb(220 53 69 / 25%);
}

.sb_image {
    position: relative;
}

.sb_image:hover .middle {
    opacity: 1;
}

.middle {
    transition: .5s ease;
    opacity: 0;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    text-align: center;
    width: 100%;
}

.module-action-image {
    display: flex;
    align-items: center;
    padding: 8px 0;
}

.image-contrainer {
    width: auto;
    display: flex;
    justify-content: flex-start;
    align-items: stretch;
    overflow-x: auto;
    overflow-y: hidden;
}

.sb_image {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 10px 0px 0;
}

.sb_image img {
    height: 56px;
    width: 56px;
    object-fit: cover;
    border-radius: 5px;
    border: 1px solid #ccc;
}

.image-remove {
    position: absolute;
    top: 3px;
    right: 3px;
    z-index: 1;
    background-color: var(--pr-color-information-300);
    padding: 2px 4px;
    width: 20px;
    height: 20px;
    border-radius: 3px;
    color: #fff;
}

.module-review-form-wrapper {
    display: none;
}

.module-form-wrapper {
    position: relative;
}

#openForm,
.show-reply {
    position: absolute;
    opacity: 0;
}

#openForm:checked ~ .module-review-form-wrapper {
    display: block;
}

.reply-button {
    display: block;
    padding: 4px 20px;
    border: 2px solid var(--flash);
    border-radius: 24px;
    margin-left: auto;
    font-size: 13px;
    user-select: none;
    cursor: pointer;
}

.reply-button:hover {
    border-color: var(--primary-lt);
}

.module-review-item-top .module-review-admin-edit-btn {
    display: block;
    padding: 10px 20px;
    border-radius: 24px;
    margin-left: auto;
    font-size: 13px;
    user-select: none;
    cursor: pointer;
}

.module-review-item-top .module-review-admin-edit-btn:hover {
    background-color: var(--secondary);
    color: #fff;
}

.module-review-admin-edit-btn + .reply-button {
    margin-left: 10px;
}

.show-reply:checked ~ .review-module-form-reply {
    display: block !important;
}

.module-review-admin-edit-btn {
    background-color: #19124f;
    font-size: 12px;
    padding: 5px;
    color: #f0f0f0;
}

.review-btn-gr-action {
    margin-left: 20px;
}

.module-review-admin-actions {
    margin-top: 8px;
    padding: 8px 0;
    border-top: 1px solid #f1f1f1;
    border-radius: 3px;
    display: flex;
    justify-content: flex-start;
    align-content: stretch;
}

.module-review-admin-actions a.pined {
    background-color: #ff5965;
    color: #fff;
}

.module-review-admin-actions a {
    padding: 6px 24px;
    display: flex;
    justify-content: center;
    align-content: center;
    background: none;
    border: 2px solid #e1e1e1;
    border-radius: 24px;
    color: #ff5965;
    margin-right: 10px;
    cursor: pointer;
}

.progressbar {
    height: 10px;
    width: 100%;
    position: relative;
    border-radius: 10px;
    display: block;
    overflow: hidden;
    background-color: #f1f1f1;
}

.progressbar-item {
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background-color: #ffbc59;
    border-radius: 10px;
}

.review-wrapper .module-review-content-action-wrapper {
    display: none;
}

.review-wrapper .rating-star {
    margin-left: 3px;
    margin-top: -4px;
}


.review-wrapper .module-review-images,
.review-wrapper .module-review-content-action-wrapper {
    margin: 0;
}
.review-wrapper .module-review-item-top {
    margin-bottom: 0;
}

.review-pagination {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    list-style: none;
    margin: 20px 0 0 0;
    padding: 0;
}

.module-review-list-wrapper {
    margin-bottom: 24px;
}

.review-pagination-item {
    display: block;
    margin: 0 10px 0 0;
    padding: 0;
}

.review-pagination-item.disable {
    pointer-events: none;
    opacity: 0.6;
}

.review-pagination-link {
    min-width: 36px;
    height: 36px;
    padding: 4px 8px;
    border-radius: 32px;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #f6f6f6;
    cursor: pointer;
    font-size: 13px;
    font-weight: 500;
}

.review-pagination-link.active,
.review-pagination-link:hover {
    background-color: #e6e6e6;
}

.review-tabs {
    border-bottom: 2px solid rgba(34,34,34,.15);
    margin-bottom: 10px;
    display: flex;
    justify-content: flex-start;
    align-items: stretch;
}

.review-tab-item {
    padding: 0 0 10px 0px;
    position: relative;
    display: block;
    user-select: none;
    cursor: pointer;
}

.review-tab-item.active {
    color: var(--secondary);
}

.review-tab-item:hover {
    color: var(--secondary);
}

.review-tab-item:after {
    content: "";
    display: block;
    height: 2px;
    width: 100%;
    opacity: 0;
    background-color: var(--secondary);
    position: absolute;
    bottom: -2px;
    left: 0;
    transition: opacity 100ms ease-in-out;
}

.review-tab-item.active:after {
    opacity: 1;
}

.review-tab-item-count {
    border-radius: 15px;
    color: inherit;
    display: inline-block;
    word-break: break-word;
    line-height: 1;
    font-size: 13px;
    font-weight: normal;
    padding-top: 6px;
    padding-bottom: 6px;
    padding-left: 9px;
    padding-right: 9px;
    min-width: 25px;
    background: #eaeaea;
}

.module-review-action-write,
.module-review-action-cancel {
    border-radius: 32px;
}
/* 
.module-review-file-selector {
    width: 100%;
    display: flex;
    border-radius: 32px;
    border: 2px solid #444;
    padding: 0;
    margin-bottom: 10px;
} */

.module-review-action-wrapper .module-review-action-write,
.module-review-action-wrapper .module-review-action-cancel {
    width: 48%;
    margin: 0;
    padding-top: 13px;
    padding-bottom: 13px;
    margin-top: 10px;
    border: 2px solid var(--secondary);
}

.module-review-action-wrapper .module-review-action-cancel {
    background-color: transparent;
    color: var(--secondary);
}

#selectImagesButton {
    background: transparent;
    border: none;
    padding: 0;
    margin: 0;
}

.select-images-note {
    min-width: 1px;
    padding: 0;
}

.review-loading-info > * {
    min-height: 20px;
    width: 100%;
    display: block;
    background-color: #f1f1f1;
    margin-bottom: 10px;
}

.review-loading-info * {
    border-radius: 5px;
    display: block;
    background: #eee;
    background: linear-gradient(110deg, #ececec 8%, #f5f5f5 18%, #ececec 33%);
    background-size: 200% 100%;
    -webkit-animation: 1.5s shine linear infinite;
    animation: 1.5s shine linear infinite;
}

.module-review-zoom-area {
    display: none;
    margin: 16px 0;
}

@-webkit-keyframes shine {
    to {
        background-position-x: -200%;
    }
}

@keyframes shine {
    to {
        background-position-x: -200%;
    }
}

.module-review-list-th-page {
    min-height: 295px;
}

.review-loading-wrapper {
    position: absolute; width: 100%; top: 0; left: 0;
}

.review-wrapper .product-review-box {
    max-width: 100%;
}

.module-rating-star-in-list {
    width: 78px;
    min-width: 78px;
    height: 14px;
    display: block;
    background-color: #ccc;
    background: linear-gradient(90deg,rgba(255,188,89,1) 0,rgba(255,188,89,1) calc(var(--starRating) * 20%),rgba(214,218,223,1) calc(var(--starRating) * 20%),rgba(214,218,223,1) 100%);
    mask-image: url(/modules/reviews/images/star-list.svg);
    mask-size: contain;
    mask-repeat: no-repeat;
    -webkit-mask-image: url(/modules/reviews/images/star-list.svg);
    -webkit-mask-size: contain;
    -webkit-mask-repeat: no-repeat;
    position: relative;
}

@media (min-width: 1181px) {
    
    .module-review-action-wrapper .module-review-file-selector {
        width: calc(100% - 360px);
        margin: 0;
    }
    .module-review-action-wrapper .module-review-action-write,
    .module-review-action-wrapper .module-review-action-cancel {
        width: 160px;
        margin: 0;
    }

    .image-contrainer {
        order: 1;
    }
    
}

@media (min-width: 760px) {
    .review-tab-item {
        margin-right: 24px;
    }
}

@media (max-width: 1024px) {
    .overall-heading {
        margin-bottom: 8px;
    }
    .module-rate-box {
        margin-bottom: 16px;
    }
}

@media (max-width: 760px) {
    .review-tabs {
        padding: 0 16px;
    }
    .review-loading-wrapper {
        width: 90%;
        left: 16px;
    }
    #loadMoreReviews .button {
        padding-top: 13px;
        padding-bottom: 13px;
        border: 2px solid #444;
        margin-bottom: 24px;
    }

    .review-wrapper #reviews {
        width: 100%;
        max-width: 100%;
    }

    .review-wrapper .product-review-box,
    .review-wrapper .allreview-heading,
    .review-wrapper .product-detail-heading {
        padding-left: 16px;
        padding-right: 16px;
    }

    .review-tab-item {
        padding: 10px;
        width: 50%;
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .review-tab-item .review-tab-item-count {
        margin-left: 6px;
        white-space: nowrap;
        min-width: 40px;
        height: 40px;
        border-radius: 100%;
        text-align: center;
        padding: 0;
        display: flex;
        justify-content: center;
        align-items: center;
        font-weight: 600;
    }

    .review-pagination {
        margin-top: 6px;
        justify-content: center;
    }

    .module-review-list-wrapper {
        margin-top: 16px;
        margin-bottom: 16px;
    }

    .module-review-list-th-page {
        min-height: 270px!important;
    }

    .module-review-content {
        font-size: 14px;
    }

    .sb_image img {
        width: 56px;
        min-width: 56px;
        object-fit: cover;
    }

    .module-review-list {
        padding: 0 16px;
        min-height: 90px;
    }

    .module-review-content-wrapper {
        padding-left: 16px;
        position: relative;
    }

    .module-review-item-top .module-review-admin-edit-btn:hover {
        background-color: transparent;
        color: var(--secondary);
    }

    .module-review-item + .module-review-item {
        border-top: none;
        padding-top: 0;
    }

    .module-review-item-top {
        margin-bottom: 4px;
    }

    .reply-button {
        position: absolute;
        top: 0;
        right: 0;
    }

    .module-review-content {
        -webkit-line-clamp: 1;
    }

    .more-review-button span {
        border: none;
    }

}

@media (min-width: 1030px) {
    .small-screen {
        display: none;
    }
}
@media (max-width: 1030px) {
    .large-screen {
        display: none;
    }

    .read-all-review-heading,
    .product-detail-heading {
        font-size: 17px;
    }
}


@media (min-width: 760px) and (max-width: 1180px) {
    .module-review-list {
        margin-top: 16px;
        padding: 0 !important;
    }
    .module-review-list-wrapper .module-review-list .module-review-content-wrapper {
        padding-left: 0 !important;
    }
}


.div-review-box-top {
    display: grid;
    grid-template-areas:
        'rReviewStar rReviewContent'
        'rReviewStar rReviewsAction';
    grid-template-columns: 36% calc(64% - 32px);
    grid-gap: 12px 32px;
}

.product-review-box {
    grid-area: rReviewStar;
}

.module-review-list-wrapper {
    grid-area: rReviewContent;
    position: relative;
}
.viewall-box {
    grid-area: rReviewsAction;
    padding: 0;
    position: relative;
}

.load-more-review-item {
    position: absolute;
    right: 0;
    bottom: -55px;
    z-index: 99;
}

.load-more-review-item ul {
    margin: 0;
}

.module-review-list-wrapper {
    margin: 0 !important;
}

/* .animated-background {
    border-radius: 16px;
} */

.product-rating-percent .product-review-item {
    margin-bottom: 8px;
}

.product-rating-percent .product-review-item .product-star {
    padding: 0;
    margin-right: 6px;
    width: 32px;
    min-width: 32px;  
}

.product-rating-percent .product-review-item .product-star svg {
    margin-left: 4px;
    color: #ffbc59;
}

.progressbar-count {
    min-width: 36px;
    text-align: right;
    margin-left: 6px;
    font-size: 16px;
}

.module-review-content-wrapper .title {
    font-weight: 500;
    text-transform: capitalize;
}

.star-wrapper {
    display: flex;
    justify-content: flex-start;
    align-items: center;
}

.review-wrapper .module-review-item-top {
    grid-gap: 8px;
    margin-bottom: 16px;
    margin-top: 10px;
}

.read-review, 
.viewall-rating, 
.allreview-button {
    padding: var(--pr-spacing-03) var(--pr-spacing-05);
    cursor: pointer;
    user-select: none;
    display: inline-flex;
    border-radius: var(--pr-radius-x-large);
    border: var(--pr-size-border-width-small) solid var(--pr-color-primary);
    transition: var(--pr-trans-standard);
    font-size: var(--pr-font-size-display6);
    font-family: var(--pr-font-family);
    font-weight: var(--pr-font-weight-body);
}

.viewall-rating,
.module-review-action-wrapper .module-review-action-write {
    background: var(--pr-color-secondary);
    border-color: var(--pr-color-secondary);
    color: #fff;
}

.viewall-rating:hover,
.module-review-action-wrapper .module-review-action-write:hover {
    background: var(--pr-color-information-600);
    border-color: var(--pr-color-information-600);
    color: #fff;
}

.module-review-form-wrapper.form-show {
    display: grid;
    grid-template-areas:
        'fRate fForm';
    grid-template-columns: 36% calc(64% - 32px);
    grid-gap: 12px 32px;
    margin-top: 24px;
}

.module-rate-content {
    grid-area: fRate;
}

.module-rate-form-wrapp {
    grid-area: fForm;
}

.avg-point {
    line-height: 1.1;
    font-size: calc(35px + (41 - 35) * ((100vw - 300px) / (1920 - 300)));
    font-weight: 500;
    margin-bottom: 12px;
    width: 94px;
    height: 45px;
}

@media (max-width: 1024px) {
    .div-review-box-top {
        display: block;
    }
    .avg-point {
        margin: 0 auto 12px;
    }
    .module-review-form-wrapper.form-show {
        display: block;
    }
}

@media (max-width: 767px) {

    .avg-rating {
        text-align: center;
    }

    .avg-point {
        margin: 12px auto 0;
    }
    .div-review-box-top {
        display: block;
        overflow-x: hidden;
    }

    .hightlight .module-review-content-wrapper::after {
        height: calc(100% + 16px);
        top: -8px;
    }

    .module-review-form-wrapper.form-show {
        display: block;
    }
    .product-rating-percent .product-review-item {
        justify-content: space-between;
    }
    .product-rating-percent {
        margin-bottom: 24px;
    }
    #reviews {
        padding-bottom: var(--pr-spacing-05);
    }

    .viewall-box {
        padding: 8px 16px;
    }

    .load-more-review-item {
        bottom: -64px;
    }

    .module-review-list-wrapper .load-more-review-item {
        z-index: 2 !important; 
    }

    #moduleReviewForm {
        padding: 16px;
    }

    .overall-heading,
    .module-review-label {
        margin-bottom: 8px;
    }

    .module-rate-content {
        margin-bottom: 16px;
    }
    .module-action-image {
        flex-wrap: wrap;
        grid-gap: 3px;
    }
    .no-review-content {
        text-align: center;
    }
    .no-review-content img {
        margin: 0 auto;
    }
}


.module-review-content-wrapper .title-wrapp {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.module-review-item-top .info-review {
    display: flex;
    align-items: center;
    grid-gap: 6px;
}

@media (max-width: 767px) {
    .review-wrapper .module-review-item-top {
        display: block;
    }
    .verified-box img {
        margin: 0 2px 0 0px;
    }
}