@import url('https://cdnjs.cloudflare.com/ajax/libs/limonte-sweetalert2/10.13.3/sweetalert2.min.css');
@import url('https://unpkg.com/dropzone@6.0.0-beta.1/dist/dropzone.css');

:root {
    --next-reviews-primary: #111827;
    --next-reviews-star: #ffb400;
    --next-reviews-text: #111827;
    --next-reviews-muted: #6b7280;
    --next-reviews-soft: #f8fafc;
    --next-reviews-border: #e5e7eb;
    --next-reviews-background: #ffffff;
    --next-reviews-white: #ffffff;
    --next-reviews-radius: 12px;
    --next-reviews-max-width: 1144px;
}

.next-reviews,
.next_questions_content {
    box-sizing: border-box;
}

.next-reviews *,
.next-reviews *::before,
.next-reviews *::after,
.next_questions_content *,
.next_questions_content *::before,
.next_questions_content *::after {
    box-sizing: border-box;
}

.next-reviews {
    width: calc(100% - 32px);
    max-width: var(--next-reviews-max-width);
    margin: 48px auto;
    color: var(--next-reviews-text);
    font-family: inherit;
}

.next-reviews img,
.next_questions_content img {
    max-width: 100%;
}

.next-reviews button,
.next_questions_content button,
.next-reviews input,
.next-reviews textarea,
.next-reviews select,
.next_questions_content input,
.next_questions_content textarea {
    font: inherit;
}

.next-reviews-v3-hidden {
    display: none !important;
}

.next-reviews-v3-heading {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 20px;
}

.next-reviews-v3-eyebrow {
    display: block;
    margin-bottom: 6px;
    color: var(--next-reviews-muted);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.next-reviews-v3-heading h2 {
    margin: 0;
    color: var(--next-reviews-text);
    font-size: 28px;
    font-weight: 700;
    line-height: 1.2;
}

.next-reviews-v3-heading p {
    margin: 7px 0 0;
    color: var(--next-reviews-muted);
    font-size: 14px;
    line-height: 1.5;
}

.next-reviews-v3-summary-card {
    overflow: hidden;
    border: 1px solid var(--next-reviews-border);
    border-radius: var(--next-reviews-radius);
    background: var(--next-reviews-background);
}

.next-reviews-v3-summary-card > .list {
    display: grid;
    grid-template-columns: minmax(240px, 0.9fr) minmax(300px, 1.1fr);
    gap: 40px;
    align-items: center;
    padding: 28px 32px;
}

.next-reviews .reviews-media {
    min-width: 0;
}

.next-reviews-v3-score-row {
    display: flex;
    align-items: center;
    gap: 14px;
}

.next-reviews .reviews-media .media {
    color: var(--next-reviews-text);
    font-size: 36px;
    font-weight: 700;
    line-height: 1;
}

.next-reviews-v3-score-copy {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.next-reviews-v3-score-copy strong {
    color: var(--next-reviews-text);
    font-size: 14px;
}

.next-reviews-v3-score-copy span {
    color: var(--next-reviews-muted);
    font-size: 12px;
}

.next-reviews .reviews-media p {
    margin: 12px 0 4px;
    color: var(--next-reviews-muted);
    font-size: 13px;
}

.next-reviews .developed_by {
    color: #9ca3af;
    font-size: 11px;
}

.next-reviews .developed_by a {
    color: inherit;
    text-decoration: none;
}

.next-reviews .ratings,
.next-reviews .total {
    width: 100%;
}

.next-reviews .ratings ul,
.next-reviews .total {
    margin: 0;
    padding: 0;
}

.next-reviews .ratings ul {
    list-style: none;
}

.next-reviews .total li {
    display: grid;
    grid-template-columns: 18px 16px minmax(100px, 1fr) 30px;
    align-items: center;
    gap: 7px;
    min-height: 30px;
    padding: 2px 8px;
    border-radius: 7px;
    cursor: pointer;
    outline: none;
    transition: background-color 0.18s ease, box-shadow 0.18s ease;
}

.next-reviews .total li:hover,
.next-reviews .total li.is-active {
    background: #fff9e8;
}

.next-reviews .total li:focus-visible {
    box-shadow: 0 0 0 2px rgba(17, 24, 39, 0.15);
}

.next-reviews .rating-number {
    color: var(--next-reviews-text);
    font-size: 13px;
    font-weight: 600;
}

.next-reviews .total li img {
    width: 14px;
    height: 14px;
    object-fit: contain;
}

.next-reviews .progress {
    position: relative;
    width: 100%;
    height: 6px;
    overflow: hidden;
    margin: 0 !important;
    border-radius: 999px;
    background: #eef0f3;
}

.next-reviews .progress-bar {
    position: absolute;
    inset: 0 auto 0 0;
    width: 100%;
    height: 100%;
    border-radius: inherit;
    background: var(--next-reviews-star);
}

.next-reviews .total-rating {
    color: var(--next-reviews-muted);
    font-size: 12px;
    text-align: right;
}

.next-reviews .reviews {
    margin-top: 22px;
}

.next-reviews-v3-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 12px;
}

.next-reviews-v3-toolbar-title {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.next-reviews-v3-toolbar-title strong {
    color: var(--next-reviews-text);
    font-size: 16px;
}

.next-reviews-v3-filter-label {
    color: var(--next-reviews-muted);
    font-size: 12px;
}

.next-reviews-v3-sort {
    min-width: 170px;
    height: 38px;
    padding: 0 34px 0 12px;
    border: 1px solid var(--next-reviews-border);
    border-radius: 8px;
    color: var(--next-reviews-text);
    background: var(--next-reviews-background);
    outline: none;
    cursor: pointer;
}

.next-reviews-v3-sort:focus {
    border-color: #b9bec6;
    box-shadow: 0 0 0 3px rgba(17, 24, 39, 0.05);
}

.next-reviews .list-reviews {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.next-reviews .reviews .card {
    display: block;
    width: 100%;
    margin: 0;
}

.next-reviews article {
    height: 100%;
    margin: 0;
    overflow: hidden;
    border: 1px solid var(--next-reviews-border);
    border-radius: var(--next-reviews-radius);
    background: var(--next-reviews-background);
}

.next-reviews article > img {
    width: 100%;
    max-height: 190px;
    object-fit: cover;
    border-bottom: 1px solid var(--next-reviews-border);
}

.next-reviews article > .review {
    position: relative;
    min-height: 100%;
    padding: 18px;
    background: var(--next-reviews-background);
}

.next-reviews .review-stars {
    margin: 0 0 11px;
}

.next-reviews .stars-review,
.next-review-media {
    display: flex;
    align-items: center;
    gap: 3px;
}

.next-reviews .stars-review img {
    width: 16px;
    height: 16px;
    object-fit: contain;
}

.next-review-media img {
    width: 14px;
    height: 14px;
    object-fit: contain;
}

.next-reviews .stars-review img.op,
.next-review-media img.op {
    opacity: 0.25;
}

.next-reviews article .other-part {
    padding: 0;
}

.next-reviews article h4 {
    display: -webkit-box;
    margin: 0 0 8px;
    overflow: hidden;
    color: var(--next-reviews-text) !important;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.4;
    text-align: left;
    text-overflow: ellipsis;
    text-transform: none;
    word-break: break-word;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 1;
}

.next-reviews article p {
    margin: 0;
    color: #374151 !important;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.55;
    text-align: left;
}

.next-reviews .reviews .card .footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-top: 14px;
    padding-top: 12px;
    border-top: 1px solid #f0f1f3;
}

.next-reviews .reviews .card .footer .date {
    color: #9ca3af;
    font-size: 11px;
    font-weight: 500;
    line-height: 1.4;
    text-align: right;
}

.next-reviews .review_images {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 14px;
}

.next-reviews .review_image {
    position: relative;
    width: 68px;
    height: 68px;
    overflow: hidden;
    border: 1px solid var(--next-reviews-border);
    border-radius: 8px;
    cursor: pointer;
    background: var(--next-reviews-soft);
}

.next-reviews .review_image_background,
.next-reviews .review__video {
    width: 100%;
    height: 100%;
}

.next-reviews .review_image_background {
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

.next-reviews .review__video {
    display: block;
    object-fit: cover;
}

.next-reviews .review_video_preview {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--next-reviews-white);
    background: rgba(0, 0, 0, 0.2);
    pointer-events: none;
}

.next-reviews .review_video_preview span {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    padding-left: 2px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.58);
    font-size: 11px;
}

.next-reviews .btnLoadReviews {
    display: flex;
    justify-content: center;
    margin-top: 18px;
}

.next-reviews #loadMore {
    min-width: 160px;
    min-height: 38px;
    padding: 9px 18px;
    border: 1px solid var(--next-reviews-primary);
    border-radius: 8px;
    color: var(--next-reviews-white);
    background: var(--next-reviews-primary);
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: opacity 0.18s ease, transform 0.18s ease;
}

.next-reviews #loadMore:hover {
    opacity: 0.9;
}

.next-reviews #loadMore:active {
    transform: translateY(1px);
}

.next-reviews-v3-empty {
    padding: 34px 20px;
    border: 1px dashed #d8dce2;
    border-radius: var(--next-reviews-radius);
    color: var(--next-reviews-muted);
    background: var(--next-reviews-soft);
    text-align: center;
}

.next-reviews-v3-empty[hidden] {
    display: none !important;
}

.next-reviews-v3-empty strong {
    display: block;
    margin-bottom: 5px;
    color: var(--next-reviews-text);
    font-size: 15px;
}

.next-reviews-v3-empty p {
    margin: 0;
    font-size: 13px;
}

[data-next-reviews-v3-average] {
    margin-top: 8px;
}

.next-review-average {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 6px;
    color: var(--next-reviews-text);
    font-size: 12px;
}

.next-review-average > a {
    display: inline-flex;
    text-decoration: none;
}

.next-review-count {
    color: var(--next-reviews-muted);
}

@media (max-width: 767px) {
    .next-reviews {
        width: calc(100% - 24px);
        margin: 32px auto;
    }

    .next-reviews-v3-heading h2 {
        font-size: 23px;
    }

    .next-reviews-v3-summary-card > .list {
        grid-template-columns: 1fr;
        gap: 24px;
        padding: 22px 18px;
    }

    .next-reviews-v3-toolbar {
        align-items: stretch;
        flex-direction: column;
    }

    .next-reviews-v3-sort {
        width: 100%;
    }

    .next-reviews .list-reviews {
        grid-template-columns: 1fr;
    }

    .next-reviews .total li {
        grid-template-columns: 18px 16px minmax(0, 1fr) 30px;
    }

    .next-reviews article > .review {
        padding: 16px;
    }
}
