.reviews-slider-new {
    padding-bottom: 30px!important;
}
.reviews__wrapper .reviews__item {
    position: relative;
    overflow: hidden;
    /*cursor: pointer;*/
    border: none!important;
    padding: 0!important;
    border-radius: 0!important;
    min-height: 286px;
}

.reviews-slide {
    padding: 24px!important;
    border: 1px solid #E9E9E9!important;
    border-radius: 16px!important;
    height: 420px!important;
    width: 366px!important;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}
/*.reviews__wrapper .reviews__item:after {*/
/*    content: '';*/
/*    display: block;*/
/*    width: 100%;*/
/*    height: 60px;*/
/*    background: linear-gradient(to bottom, rgba(255,255,255,0) 0%,  rgba(255,255,255,1) 70%);*/
/*    position: absolute;*/
/*    bottom: 0;*/
/*    left: 0;*/
/*}*/
.reviews__item-name {
    font-style: normal;
    font-weight: 500;
    font-size: 16px;
    line-height: 100%;
    color: #333333;
    margin-bottom: 12px;

}
.review-rating-wrapper {
    display: flex;
    gap: 8px;
    margin-bottom: 24px;
    align-items: center;
}
.reviews__item-rating {
    margin-bottom: 0!important;
}
.reviews__date-text {
    font-style: normal;
    font-weight: 500;
    font-size: 14px;
    line-height: 100%;
    color: #888888;
}
.review-popup {
    box-shadow: 20px 20px 10px rgb(0 0 0/5%);
    padding: 1rem;
    background: var(--white-color);
    border-radius: .667rem;
    border: 1px solid var(--second-bg-color);
    max-width: 640px;
}
.review-popup a {
    outline: none!important;
}

.reviews__item-product-link {
    width: 100%;
    /*background: #e5e5e5;*/
    /*padding: 1rem;*/
    /*border-top-left-radius: .667rem;*/
    /*border-top-right-radius: .667rem;*/
    /*border: 1px solid var(--second-bg-color);*/
    font-style: normal;
    font-weight: 600;
    font-size: 14px;
    line-height: 100%;
    color: #EC584D;
    transition: .3s ease-out;
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 24px;
}
.reviews__item-product-link img {
    flex-shrink: 0;
    display: block;
    width: 57px;
    height: 57px;
    border-radius: 12px;
    border: 1px solid #E9E9E9;
    object-fit: contain;
    object-position: center;
}
.reviews__item-product-link:hover {
    /*color: var(--red-color);*/
}
.reviews-slider-new.swiper:not(.swiper-initialized) {
    overflow: hidden;
    position: relative;
}
.reviews-slider-new.swiper:not(.swiper-initialized):before,
.reviews-slider-new.swiper:not(.swiper-initialized):after {
    content: '';
    position: absolute;
    z-index: 3;
    display: block;
}
.reviews-slider-new.swiper:not(.swiper-initialized):before {
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: white;
}
.reviews-slider-new.swiper:not(.swiper-initialized):after {
    width: 48px;
    height: 48px;
    border: 5px solid #FFF;
    border-bottom-color: var(--red-color);
    border-radius: 50%;
    display: inline-block;
    box-sizing: border-box;
    animation: rotation 1s linear infinite;
    z-index: 5;
    left: calc(50% - 24px);
    top: calc(50% - 24px);
}
.reviews-slider-new.swiper .swiper-pagination {
    bottom: .5rem;
}
.reviews-slider-new.swiper .swiper-pagination-bullet {
    width: 6px;
    height: 6px;
    background: var(--gray-color);
    display: inline-block;
    margin: 0 10px!important;
    border-radius: 3px;
    transition: .3s ease-out;
    will-change: auto;
    opacity: 1
}

.reviews-slider-new.swiper .swiper-pagination-bullet.swiper-pagination-bullet-active {
    width: 30px;
    background: #ec584d
}
.reviews-slider-new.swiper .swiper-pagination-bullet.swiper-pagination-bullet-active {
    width: 6px!important;

}
@keyframes rotation {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

@media (min-width: 700px){
    .reviews__item-product {
        padding: 1.333rem;
    }
}

@media (max-width: 580px) {
    .reviews-slider-new.swiper .swiper-pagination {
        bottom:0;
    }
}




.ortonica-rating-star {
    width: 24px;
    height: 24px;
    display: block;
    color:#ccc;
    transition: .3s ease-out;
}
.ortonica-rating-star.filled {
    color:#ED8A19;
}

.add-review-btn {
    margin-bottom: 0!important;
    width: initial!important;
    margin-right: auto;
    margin-left: auto;
}
.product-reviews-wrapper {
    margin-bottom: 30px;
}

#ortonica-reviews-form {
    display: grid;
    grid-template-columns: 1fr;
    border-radius: 16px;
    width: 90%;
    max-width: 330px;
    padding: 24px;
}
#ortonica-reviews-form .rating-block {
    display: flex;
    flex-wrap: wrap;
    margin-bottom: 24px;
}
#ortonica-reviews-form .rating-block .rating-name {
    width: 100%;
    margin-bottom: 12px;
    color: #333;
    font-family: 'Gilroy';
    font-style: normal;
    font-weight: 500;
    font-size: 16px;
    line-height: 100%;
    leading-trim: both;
    text-edge: cap;
}
#ortonica-reviews-form .rating-block svg {
    cursor: pointer;
}

.add-review-btn,
#ortonica-reviews-form .default-button {
    align-items: center;
    justify-content: center;
    transition: all .1s ease-in-out;
    border-radius: 10px;
    padding: 15px 20px;
    border: 1px solid #a84645;
    color: #FFF;
    background: #EC584D;
    text-align: center;
    line-height: 1;
    font-weight: 600;
    letter-spacing: 0.4px;
    font-size: 14px;
    cursor: pointer;
    text-transform: uppercase;
}
.add-review-bt:hover,
#ortonica-reviews-form .default-button:hover{
    opacity: .7;
}
#ortonica-reviews-form input{
    margin-bottom: 12px;
}
#ortonica-reviews-form textarea {
    margin-bottom: 24px;
}
/* File previews styles */
#ortonica-reviews-form .previews {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    gap: 12px;
    margin-bottom: 12px;
}

#ortonica-reviews-form .preview-item {
    position: relative;
    width: 100%;
    aspect-ratio: 1;
    background: #E9E9E9;
}

#ortonica-reviews-form .preview-content {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    border-radius: 8px;
    overflow: hidden;
}

#ortonica-reviews-form .preview-content img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

#ortonica-reviews-form .preview-content video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

#ortonica-reviews-form .preview-video-label {
    position: absolute;
    bottom: 5px;
    left: 5px;
    background: rgba(0, 0, 0, 0.7);
    color: #fff;
    padding: 3px 8px;
    border-radius: 4px;
    font-size: 11px;
    z-index: 5;
}

#ortonica-reviews-form .preview-file-icon {
    font-size: 32px;
    margin-bottom: 5px;
}

#ortonica-reviews-form .preview-file-name {
    font-size: 10px;
    text-align: center;
    padding: 0 5px;
    word-break: break-word;
    color: var(--black-color, #333);
}

#ortonica-reviews-form .preview-remove {
    position: absolute;
    top: -4px;
    right: -5px;
    width: 18px;
    height: 18px;
    transition: all 0.2s ease;
    z-index: 10;
    cursor: pointer;
    color: #333;
}

#ortonica-reviews-form .preview-remove:hover {
    transform: scale(1.1);
}



#ortonica-reviews-form .v-file-wrapper input[type="file"] {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
    z-index: 3;
    cursor: pointer;
    /*padding: 10px;*/
    /*border: 1px solid var(--second-bg-color, #e5e5e5);*/
    /*border-radius: 8px;*/
    /*background: #fff;*/
    /*cursor: pointer;*/
}

#ortonica-reviews-form .v-file-wrapper .description {
    margin-bottom: 24px;
    font-style: normal;
    font-weight: 500;
    font-size: 12px;
    line-height: 150%;
    leading-trim: both;
    text-edge: cap;
    text-align: center;
    letter-spacing: -0.02em;
    color: #888888;
}


.v-file-input-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    width: 100%;
    height: 46px;
    background: #E9E9E9;
    border-radius: 10px;
    margin-bottom: 12px;
    font-style: normal;
    font-weight: 700;
    font-size: 14px;
    line-height: 100%;
    leading-trim: both;
    text-edge: cap;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    color: #333333;
    cursor: pointer;
    transition: .2s ease-out;
}

#ortonica-reviews-form .title {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-style: normal;
    font-weight: 600;
    font-size: 24px;
    line-height: 120%;
    color: #333333;
    margin-bottom: 33px;
}
#ortonica-reviews-form .close {
    cursor: pointer;
    display: block;
    flex-shrink: 0;
}
#ortonica-reviews-form .carousel__button.is-close {
    display: none;
}
#ortonica-reviews-form .default-button:disabled {
    background: #888888;
    opacity: .5;
}

#ortonica-reviews-form .v-product-info {
    display: flex;
    align-items: center;
    margin-bottom: 24px;
    gap: 8px;
    font-style: normal;
    font-weight: 600;
    font-size: 14px;
    line-height: 100%;
    color: #333333;
}
#ortonica-reviews-form .v-product-info img {
    flex-shrink: 0;
    width: 52px;
    height: 52px;
    border: 1px solid #E9E9E9;
    object-fit: contain;
    object-position: center;
    border-radius: 12px;
}

.reviews__item-opinion {
    margin: 0!important;
}

.reviews__opinion-name {
    font-style: normal;
    font-weight: 600;
    font-size: 14px;
    line-height: 150%;
    color: #888888;
    margin: 0!important;
    display: inline-block;
}

.reviews__opinion-text {
    font-style: normal;
    font-weight: 400;
    font-size: 15px;
    line-height: 150%;
    color: #333333;
    margin: 0!important;
    display: inline;
}


.review-item-photo-slider {
    width: 100%;
    margin-bottom: 24px;
}
.review-item-photo-slider .item {
    width: 104px;
    height: 104px;
}
.review-item-photo-slider .item img,
.review-item-photo-slider .item video{
    width: 100%;
    height: 100%;
    border-radius: 16px;
    object-fit: cover;
    object-position: center;
}

.v-reviews-link-wrapper {
    display: flex;
    justify-content: center;
}

.v-reviews-link {
    font-style: normal;
    font-weight: 400;
    font-size: 16px;
    line-height: 100%;
    text-decoration-line: underline;
    color: #EC584D;
    text-align: center;
    display: inline-flex;
    margin: 0 auto;
}
@media (max-width: 640px) {
    .reviews-slide {
        width: 306px !important;
    }
}