#icon-youtube {
    position: absolute;
    left: calc(50% - 15px);
}

#tab-add-video {
    padding: 20px;
}

#video-caption {
    margin: 95px 0 0;
    text-align: center;
    color: #919191;
    font-size: 1.1em;
}

.ex-image-additional, .videos-thumbnails {
    float: left;
}

.plus {
    display: block;
    color: #3FA260;
    font-size: 12px;
    font-weight: 500;
    line-height: 1.33333;
    margin-bottom: 4px;
}

.minus {
    display: block;
    color: #E25A68;
    font-size: 12px;
    font-weight: 500;
    line-height: 1.33333;
    margin-bottom: 4px;
}

.all-reviews-thumbnails {
    overflow: visible;
    margin: 0;
}

#review-extended .owl-carousel {
    margin: 0;
    background: inherit;
}

#review-extended .owl-pagination {
    top: -5px;
}

#review-extended .owl-pagination .owl-page span {
    width: 8px;
    height: 8px;
    background: rgba(0, 0, 0, 0.24);
    box-shadow: none;
}

#review-extended .owl-pagination .owl-page.active span {
    background: #4e94ff;
    box-shadow: 0 0 0 0.2rem rgba(43, 139, 194, 0.3);
}

#review-extended .owl-carousel .owl-wrapper-outer {
    box-shadow: none;
    border-radius: 0;
}

#review-extended .owl-carousel:hover .owl-buttons div {
    opacity: 1;
}

#review-extended .owl-carousel .owl-buttons div {
    opacity: 1;
    font-size: 0;
    height: 23px;
    padding: 0;
    text-align: center;
    width: 23px;
    left: auto;
    color: #fff;
    text-shadow: none;
}

#review-extended .owl-carousel .owl-buttons i {
    font-size: 23px;
    margin: 0;
    color: #676D79;
}

#review-extended .owl-carousel .owl-prev {
    right: 46px;
}

#review-extended .owl-carousel .owl-next {
    right: 0;
}

.review-childrens-container {
    margin-left: 10%;
    padding: 10px 0;
    padding-left: 15px;
}

.add-review-star-wrap {
    display: flex;
    gap: 4px;
    position: relative;
}

.add-review-star-wrap:hover .fa {
    color: #FBB346 !important;
}

.allready-buy {
    color: #099f3f;
    padding-left: 5px;
    letter-spacing: -.5px;
}

.allready-buy .fa {
    font-size: 13px;
}

.add-review-star-wrap > div:hover ~ div .fa:before {
    color: #dbdbdb;
}

.videos-thumbnails a {
    overflow: hidden;
    position: relative;
    display: block;
    margin: 3px 2px 15px;
    box-shadow: 1px 1px 5px #00000047;
}

.videos-thumbnails a:hover {
    box-shadow: 0 0 0 0.2rem rgba(255, 0, 0, 0.32);
}

.review-media-container {
    overflow: hidden;
}

.reviews-author {
    float: left;
    font-size: 13px;
    margin: 0 0 10px;
    font-weight: 600;
}

.reviews-author .purchased {
    font-weight: normal;
    margin-left: 10px;
}

.reviews-author .fa-cart-plus {
    color: #199323;
}

.reviews-date {
    float: right;
}

.heading_title_reviews {
    margin: 0px 0 20px;
}

.review-container {
    padding: 24px 0 16px 0;
    overflow: hidden;
    width: 100%;
    border-bottom: 1px solid #E6E7EA;
}

.comment-text {
    padding: 16px 0 8px 0;
    word-wrap: break-word;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.comment-text p {
    margin: 0;
}

#review {
    margin-bottom: 20px;
}

.review-author {
    float: left;
}

.review-author-name {
    font-weight: 500;
}

.verification-check {
    display: inline-block;
    height: 18px;
    width: 18px;
    border-radius: 20px;
    text-align: center;
    line-height: 19px;
    vertical-align: text-bottom;
    color: #fff;
    margin: 0 5px;
    background: #46ae6b;
    box-shadow: 0 0 0 0.17rem #46ae6b45;
}

.verification-check i {
    font-size: 11px;
}

.review-admin-name {
    font-weight: 600;
    margin-left: 5px;
}

.review-date {
    float: right;
}

.review-text-container {
    display: -ms-flexbox;
    display: flex;
    -ms-flex-direction: row;
    flex-direction: row;
}

.review-answer-title-container {
    overflow: hidden;
    padding-top: 6px;
    /* border-top: 1px solid #ededed; */
}

.review-title-container {
    overflow: hidden;
}

.rating-container {
    float: left;
    margin-top: 2px;
}

.fa-star {
    color: #FBB346;
    font-size: 15px;
}

.star-gray {
    color: #D0D2D7;
}

.star-active .fa {
    color: #FBB346;
}

.star-3x {
    font-size: 22px !important;
    width: 100%;
}

.star-stack {
    position: relative;
    display: inline-block;
    width: .9em;
    height: 1em;
    line-height: 2em;
    vertical-align: text-top;
}

.stack-3x {
    width: 3em;
    height: 3em;
}

.review-rating-change-buttons {
    float: right;
    padding: 8px 0;
}

.review-rating-change-buttons a {
    display: flex;
    align-items: center;
    gap: 8px;
}

.review-rating-change-buttons a .icon {
    width: 16px;
    height: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.change-rating-button {
    display: flex;
    align-items: center;
    gap: 4px;
    cursor: pointer;
    color: #676D79;
    font-size: 12px;
    line-height: 1.33333;
}

.review-container-footer {
    overflow: hidden;
}

.review-vote-negative {
    color: #ff7d82;
}

.review-media-all {
    overflow: hidden;
}

.review-all-photo-title {
    font-size: 16px;
    font-weight: 600;
    line-height: 1.5;
    margin-bottom: 16px;
}

.ex-image-additional a {
    padding: 0;
}

.image-crop {
    position: absolute;
    max-width: 500px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.imgbb {
    max-width: 300px !important;
}

#review-extended .ex-image-additional {
    position: relative;
    border: none;
    overflow: hidden;
    padding: 0;
}

.btn-link-i {
    position: relative;
    border: 0;
    outline: 0;
    text-decoration: none;
    background: 0 0;
    cursor: pointer;
    z-index: 1;
    color: #1950C8;
    display: flex;
    gap: 12px;
}

.btn-link-i:hover {
    color: #3a83f6;
}

.btn-link-i svg {
    min-width: 20px;
    min-height: 20px;
}

.reviews-user-add-content-block {
    overflow: hidden;
}

.review-media-text-block {
    position: relative;
    color: #969CA6;
    font-size: 12px;
    line-height: 1.33333;
    padding: 0 0 0 32px;
    -ms-flex-order: 1;
    order: 1;
    overflow: hidden;
}

.user-content-add-caption-arrow {
    display: block;
    position: absolute;
    top: 26px;
    left: 0;
    width: 47px;
    height: 22px;
}

.user-review-write-block {
    border-bottom: 0;
    overflow: hidden;
}

.popup-media-container {
    margin: auto;
    position: relative;
    width: 100%;
    max-width: 420px;
    background: #fff;
    border-radius: 12px;
}

.popup-media-container .mfp-close {
    display: none;
}

.popup-media-nav-tabs {
    width: 50%;
    text-align: center;
}

.tab-content-media {
    min-height: 242px;
}

.dropzone {
    margin: 25px;
    border: 2px dashed #c2c1c1;
}

.fa-custom-lg {
    font-size: 1.63333333em;
    line-height: 1;
    vertical-align: -20%;
}

.m-0 {
    margin: 0 !important;
}

.fl-l {
    float: left;
}

.fl-r {
    float: right;
}

.pd-0 {
    padding: 0 !important;
}

.to-write-review {
    float: right;
}

.btn-light {
    color: #1950C8;
    font-size: 12px;
    line-height: 1.33333;
    outline: 0 !important;
    box-shadow: none;
    padding: 8px 0;
    background: none;
    border: none;
}

.btn-light:hover {
    color: #ff7878;
    background-color: #e2e6ea;
    border-color: #dae0e5;
}

.btn-light.focus, .btn-light:focus, .btn-light:active {
    color: #ff7878;
    box-shadow: 0 0 0 0.2rem rgba(237, 237, 237, 0.8);
}

.btn-light + .btn-light {
    margin-left: 16px;
}

.btn-green {
    color: #ffffff !important;
    background-color: #2fa15b;
    border-color: #2fa15b;
    outline: none !important;
    min-width: 100px;
}

.btn-green:hover {
    background-color: #238649;
    border-color: #238649;
}

.btn-green:focus {
    box-shadow: 0 0 0 0.2rem rgba(72, 180, 97, .5);
}

.btn-green:active {
    background-color: #1c7840;
    border-color: #1c7840;
    box-shadow: 0 0 0 0.2rem rgba(72, 180, 97, .5);
}

.btn-blue {
    color: #1950C8;
    padding: 0;
    border: none;
}

.btn-blue:hover {
    background-color: #0984b4;
    border-color: #0984b4;
}

.btn-blue:focus {
    box-shadow: 0 0 0 0.2rem rgba(43, 139, 194, 0.5);
}

.btn-blue:active {
    background-color: #066d95;
    border-color: #066d95;
    box-shadow: 0 0 0 0.2rem rgba(43, 139, 194, 0.5);
}

.btn-cancel {
    background: none;
    color: #383c42 !important;
    border-color: #383c42;
    outline: none !important;
    min-width: 100px;
}

.btn-cancel:hover {
    background: none;
    border-color: #383c42;
    color: #1950C8 !important;
}

/*.btn-cancel:focus {
    box-shadow: 0 0 0 0.2rem rgba(255, 38, 38, 0.5);
}

.btn-cancel:active {
    background-color: #e94f3e;
    border-color: #e94f3e;
    box-shadow: 0 0 0 0.2rem rgba(255, 38, 38, 0.5);
}*/

.cheating-button {
    display: inline-block;
    padding: 10px 15px;
    border-radius: 2px;
    background-color: #3076b6;
    color: #ffffff;
    font-size: 1.5em;
    margin: 10px auto;
}

.cheating-button:hover {
    background-color: #296ca9;
    box-shadow: 0 0 0 0.2rem #1e65a585;
}

.mr {
    -moz-transform: scale(-1, 1);
    -webkit-transform: scale(-1, 1);
    -o-transform: scale(-1, 1);
    transform: scale(-1, 1);
}

.vd-prev:hover .remove_video {
    opacity: 1;
}

.remove_video {
    opacity: .1;
    position: absolute;
    top: 5px;
    right: 5px;
    height: 33px;
    width: 33px;
    border-radius: 30px;
    background: #898989c4;
    color: #fff !important;
    line-height: 34px;
    text-align: center;
    cursor: pointer;
}

.remove_video:hover {
    background: #898989f0;
}

.review_note {
    margin-left: 20%;
}

.m-r-20 {
    margin: 0 20% 0 0 !important;
}

.ov-h {
    overflow: hidden;
}

.dropzone .dz-preview .dz-error-message {
    top: 150px;
}

.images-user-content-block .dz-success-mark,
.images-user-content-block .dz-error-mark,
.images-user-content-block .dz-size {
    display: none;
}

.images-user-content-block .dz-preview {
    display: flex;
    flex-direction: column;
    gap: 2px;
    overflow: hidden;
    color: #676D79;
    text-overflow: ellipsis;
    font-size: 11px;
    font-weight: 400;
    line-height: 1.27273;
    position: relative;
    max-width: 72px;
}

.images-user-content-block .dz-preview .dz-remove {
    position: absolute;
    content: url("/image/icons/close-icon.svg");
    top: 0;
    right: 0;
}

.images-user-content-block .dz-image {
    width: 72px;
    height: 48px;
    border-radius: 4px;

    display: flex;
    align-items: center;
    justify-content: center;
}

.images-user-content-block .dz-image img {
    max-width: 100%;
    max-height: 100%;
}

.images-user-content-block .vd-prev {
    background: none;
    width: 127px;
    float: left;
    height: 130px;
    margin: 1%;
    border: 0;
    padding: 0 5px;
    border-radius: 15px;
    position: relative;
}

.images-user-content-block .vd-thumb-title-vrapper {
    overflow: initial;
    font-size: 11px;
    line-height: 13px;
    word-break: break-word;
    margin: 0;
}

.images-user-content-block {
    overflow: hidden;
    margin: 8px 0 16px 0;
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.star-block .super-star-text {
    display: none;
    position: absolute;
    left: 144px;
    top: 50%;
    transform: translateY(-50%);
}

.star-block:nth-last-child(1 of .star-active) .super-star-text {
    display: inline;
}

.star-block:hover .super-star-text {
    color: #343434;
}

.star-block {
    width: 24px;
    height: 24px;
    padding: 2px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.popup-footer {
    padding: 5px 20px 10px;
}

.alert-danger {
    border-color: #f2dede;
}

#video-thumb-preview {
    position: relative;
    margin: 20px -20px;
    padding: 5px;
    overflow: hidden;
    background: #f3f3f3;
    min-height: 138px;
}

.vd-prev {
    background: #ffff;
    width: 48%;
    float: left;
    height: 115px;
    margin: 1%;
    border: 1px solid #eaeaea;
    padding: 10px 5px;
    border-radius: 15px;
    position: relative;
}

.vd-thumb-vrapper {
    float: left;
    border-radius: 2px;
}

.vd-thumb-title-vrapper {
    margin-left: 130px;
    position: relative;
    overflow: hidden;
    font-size: 11px;
    line-height: 17px;
    word-break: break-word;
}

.dz-filename span {
    white-space: nowrap;
}

#form-review h2 {
    font-size: 21px;
    font-weight: 600;
    line-height: 1.52381;
    letter-spacing: -0.21px;
    margin: 0 0 16px 0;
}

#form-review {
    display: block;
    width: 100%;
}

.review-answer-container {
    overflow: hidden;
    margin-bottom: 20px;
}

.blur {
    -webkit-filter: blur(5px);
    -moz-filter: blur(5px);
    -o-filter: blur(5px);
    -ms-filter: blur(5px);
    filter: blur(5px);
}

@media (max-width: 480px) {
    .review_note {
        display: block;
        overflow: hidden;
        float: left;
        width: 100%;
        margin: 0;
    }

    .m-r-20 {
        float: left;
        width: 100%;
        margin: 0 0 15px 0 !important;
    }

    .popup-media-container {
        width: 100%;
    }

    .dz-message h3, .dz-message h4 {
        display: none;
    }
}

.reviews-thumbnails {
    overflow: hidden;
}

#input-sort {
    height: 32px;
}

#button-review-extended {
    float: right;
    margin-top: 16px;
    margin-bottom: 8px;
    display: flex;
    padding: 8px;
    justify-content: center;
    align-items: center;
    gap: 8px;
    flex: 1 0 0;
    border-radius: 8px;
    background: #5C8DF5;
    color: #fff;
    font-weight: 500;
    width: 100%;
    height: 36px;
}

.review-list {
    width: 100%;
    position: relative;
    min-height: 1px;
}

.review-thumb {
    border-radius: 2px;
    overflow: hidden;
    margin: 0 3px 20px;
    box-shadow: 1px 1px 5px #00000029;
    border: none;
}

.review-thumb .image {
    text-align: center;
}

.review-thumb .image img {
    margin-left: auto;
    margin-right: auto;
}

.review-thumb .caption {
    min-height: 0;
    margin-left: 0;
    padding: 0 10px;
}

@media (min-width: 767px) {
    .review-thumb .image {
        float: left;
        padding: 0 15px;
    }

    .review-thumb .caption {
        padding: 0 20px;
        min-height: 180px;
        margin-left: 230px;
    }
}

.review-alert {
    padding: 8px 14px 8px 14px;
    margin-bottom: 20px;
    border: 1px solid transparent;
    border-radius: 2px;
}

.review-container .owl-buttons {
    display: none;
}

.review-form-write-footer {
    display: flex;
    flex-direction: column;
}

/* Блокування прокрутки сайту під попапом */
body.ext-rev-modal-open {
    overflow: hidden !important;
    position: fixed;
    width: 100%;
    touch-action: none !important;
}

/* FIX скролу для Magnific Popup на iOS */
.mfp-bg {
    touch-action: none !important;
    pointer-events: none !important;
}

.mfp-wrap {
    overflow-y: auto !important;
    -webkit-overflow-scrolling: touch !important;
}

.mfp-content #media-content-popup {
    width: 90%;
    max-width: 420px;
    background: #fff;
    border-radius: 12px;
    padding: 0;
    max-height: 90vh;
    display: flex;
    flex-direction: column;
    overflow: hidden; /* обов’язково */
}

/* Скрол лише всередині */
#media-content-popup .popup-inner-scroll {
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    max-height: calc(90vh - 140px);
    padding: 16px;
}

/* Фіксуємо footer */
#media-content-popup .popup-footer {
    padding: 16px;
    border-top: 1px solid #eee;
    background: #fff;
}
