/* product-reviews-waterfallreview.css - Theme-adaptive masonry reviews & media gallery */

.water-fall-review-box,
.water-fall-review-box .lightbox-content,
.water-fall-review-box .jdgm-form-dynamic {
    --wf-star-color: #f4c430;
    --wf-star-empty-color: rgba(var(--color-foreground, 140, 140, 140), 0.24);
    --wf-verified-color: #369388;
    --wf-border-color: rgba(var(--color-border, var(--color-foreground, 200, 200, 200)), 0.55);
    --wf-track-bg: rgba(var(--color-foreground, 120, 120, 120), 0.14);
    --wf-surface-bg: rgb(var(--color-background, 255, 255, 255));
    --wf-text-color: rgb(var(--color-foreground, 34, 34, 34));
    --wf-text-secondary: rgba(var(--color-foreground-secondary, var(--color-foreground, 102, 102, 102)), 0.85);
    --wf-heading-color: rgb(var(--color-heading, var(--color-foreground, 34, 34, 34)));
    --wf-outline-color: rgb(var(--color-outline-button, var(--color-foreground, 34, 34, 34)));
    --wf-btn-bg: rgb(var(--color-button, 34, 34, 34));
    --wf-btn-text: rgb(var(--color-button-text, 255, 255, 255));
    --wf-btn-hover-bg: rgb(var(--color-button-hover, var(--color-button, 34, 34, 34)));
    --wf-btn-hover-text: rgb(var(--color-button-text-hover, var(--color-button-text, 255, 255, 255)));
}

.water-fall-review-box {
    --wf-media-radius: 8px;
    --wf-btn-radius: var(--btn-border-radius, 999px);

    max-width: 1200px;
    margin: 0 auto;
    padding: 0 16px 2.5rem;
    color: var(--wf-text-color);
    font-family: var(--font-stack-body, var(--body-font, inherit));
    line-height: 1.5;
    box-sizing: border-box;
}

.water-fall-review-box.wf-modal-portal {
    max-width: none;
    margin: 0;
    padding: 0;
    border: 0;
    height: 0;
    overflow: visible;
    background: transparent;
    background-color: transparent;
}

.water-fall-review-box *,
.water-fall-review-box *::before,
.water-fall-review-box *::after {
    box-sizing: border-box;
}

.water-fall-review-box .m\:hidden {
    display: none;
}

.water-fall-review-box .\!m\:hidden {
    display: none !important;
}

/* Header & Title */
.water-fall-review-box .front-note {
    text-align: center;
    padding-bottom: 28px;
}

.f-product-reviews .water-fall-review-box .front-note h2 {
    display: none;
}

.f-product-reviews .water-fall-review-box .front-note:not(.has-note) {
    display: none;
}

.water-fall-review-box .front-note h2 {
    font-family: var(--font-stack-header, var(--alt-font, inherit));
    color: var(--wf-heading-color);
    font-size: clamp(22px, 2.2vw, 28px);
    font-weight: var(--font-weight-header, 500);
    line-height: 1.3;
    letter-spacing: var(--heading-letter-spacing, 0);
    margin: 0 0 10px;
    text-transform: none;
}

.water-fall-review-box .front-note .msg {
    font-size: 15px;
    color: var(--wf-text-secondary);
}

.water-fall-review-box .front-note .msg a {
    color: var(--wf-text-color);
    text-decoration: none;
}

.water-fall-review-box .front-note .msg a:hover {
    text-decoration: underline;
}

.water-fall-review-box .list-box {
    border-top: 0;
}

/* Empty state */
.water-fall-review-box .list-box .write_review {
    display: none;
}

.water-fall-review-box .list-box.list-empty .write_review {
    display: flex;
}

.water-fall-review-box .list-box.list-empty .jdgm-widget,
.water-fall-review-box .list-box.list-empty .jdgm-row-actions,
.water-fall-review-box .list-box.list-empty .wf-media-gallery {
    display: none;
}

/* Stars */
.water-fall-review-box .star-rating {
    display: inline-flex;
    align-items: center;
    gap: 3px;
    color: var(--wf-star-color);
    line-height: 1;
}

.water-fall-review-box .star-filled,
.water-fall-review-box .star-half {
    color: var(--wf-star-color);
    fill: var(--wf-star-color);
    flex-shrink: 0;
    margin-right: 0;
}

.water-fall-review-box .star-empty {
    color: var(--wf-star-empty-color);
    fill: var(--wf-star-empty-color);
    flex-shrink: 0;
    margin-right: 0;
}

.water-fall-review-box .jdgm-rev-widg__summary .star-rating svg {
    width: 18px;
    height: 18px;
}

.water-fall-review-box .jdgm-histogram__star .star-rating svg {
    width: 14px;
    height: 14px;
}

.water-fall-review-box .card_content .star-rating svg,
.water-fall-review-box .wf-lightbox-stars .star-rating svg {
    width: 15px;
    height: 15px;
}

/* 3-Column Summary Header */
.water-fall-review-box .jdgm-rev-widg {
    padding: 0;
    background: transparent;
}

.water-fall-review-box .jdgm-rev-widg__header {
    text-align: center;
    background: transparent;
}

.water-fall-review-box .jdgm-widget .jdgm-row-stars {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    padding-bottom: 24px;
}

@media (min-width: 768px) {
    .water-fall-review-box .jdgm-widget .jdgm-row-stars {
        flex-direction: row;
        align-items: stretch;
        justify-content: center;
        gap: 0;
        padding-bottom: 28px;
    }

    .water-fall-review-box .jdgm-widget .jdgm-row-stars > div {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }

    .water-fall-review-box .jdgm-rev-widg__summary {
        width: 32%;
        padding: 8px 24px 8px 0;
    }

    .water-fall-review-box .jdgm-histogram {
        width: 38%;
        padding: 4px 32px;
    }

    .water-fall-review-box .jdgm-widget-actions-wrapper {
        width: 30%;
        padding: 8px 0 8px 24px;
    }
}

/* Summary Left Column */
.water-fall-review-box .jdgm-rev-widg__summary,
.water-fall-review-box .jdgm-histogram,
.water-fall-review-box .jdgm-widget-actions-wrapper {
    margin: 0;
}

.water-fall-review-box .jdgm-rev-widg__summary-inner {
    display: inline-flex;
    text-align: start;
}

.water-fall-review-box .jdgm-rev-widg__summary-stars {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
}

.water-fall-review-box .wf-summary-top {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

.water-fall-review-box .wf-summary-out-of {
    display: inline-flex;
    align-items: baseline;
    gap: 5px;
    font-size: 16px;
    font-weight: 500;
    color: var(--wf-heading-color);
    line-height: 1.3;
}

.water-fall-review-box .jdgm-rev-widg__summary-average {
    display: inline;
    width: auto;
    height: auto;
    margin: 0;
    padding: 0;
    background: transparent;
    color: var(--wf-heading-color);
    border-radius: 0;
    font-size: 16px;
    font-weight: 600;
    line-height: 1.3;
}

.water-fall-review-box .jdgm-rev-widg__summary-average::after {
    content: none !important;
    display: none !important;
}

.water-fall-review-box .wf-summary-bottom {
    display: flex;
    align-items: center;
    gap: 8px;
    justify-content: flex-start;
}

.water-fall-review-box .jdgm-rev-widg__summary-text {
    font-size: 15px;
    color: var(--wf-text-secondary);
    line-height: 1.4;
    justify-content: flex-start !important;
}

.water-fall-review-box .wf-verified-summary-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--wf-verified-color);
    flex-shrink: 0;
    line-height: 0;
}

@media (max-width: 767px) {
    .water-fall-review-box .jdgm-rev-widg__summary-stars {
        align-items: center;
    }

    .water-fall-review-box .wf-summary-top,
    .water-fall-review-box .wf-summary-bottom {
        justify-content: center;
    }
}

/* Histogram Middle Column */
.water-fall-review-box .jdgm-histogram {
    width: 100%;
    max-width: 440px;
    border-inline-start: 1px solid var(--wf-border-color) !important;
    border-inline-end: 1px solid var(--wf-border-color) !important;
    border-top: none !important;
    border-bottom: none !important;
}

@media (max-width: 767px) {
    .water-fall-review-box .jdgm-histogram {
        border-inline-start: none !important;
        border-inline-end: none !important;
        padding: 12px 0;
    }
}

.water-fall-review-box .jdgm-histogram__row {
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
    min-height: 24px;
    height: auto;
    padding: 3px 8px;
    margin-bottom: 4px;
    border-radius: 6px;
    cursor: pointer;
    transition: opacity 0.2s ease, background-color 0.2s ease;
}

.water-fall-review-box .jdgm-histogram__row:last-child {
    margin-bottom: 0;
}

.water-fall-review-box .jdgm-histogram__row:hover,
.water-fall-review-box .jdgm-histogram__row:focus-visible {
    background-color: rgba(var(--color-foreground, 128, 128, 128), 0.06);
    outline: none;
}

.water-fall-review-box .jdgm-histogram__row[data-frequency='0'] {
    pointer-events: none;
    opacity: 0.65;
}

.water-fall-review-box .jdgm-histogram.wf-filtering .jdgm-histogram__row:not(.is-active) {
    opacity: 0.42;
}

.water-fall-review-box .jdgm-histogram__row.is-active {
    background-color: rgba(244, 196, 48, 0.14);
}

.water-fall-review-box .jdgm-histogram__star {
    display: inline-flex;
    align-items: center;
    flex-shrink: 0;
    line-height: 1;
}

.water-fall-review-box .jdgm-histogram__bar-content {
    flex: 1 1 auto;
    min-width: 96px;
    width: auto;
    height: 8px;
    margin: 0;
    border-radius: 999px;
    background: var(--wf-track-bg);
    position: relative;
    overflow: hidden;
}

.water-fall-review-box .jdgm-histogram__bar-content::after {
    content: '';
    position: absolute;
    inset-block: 0;
    inset-inline-start: 0;
    height: 100%;
    width: var(--star-progress, 0%);
    background-color: var(--wf-star-color);
    border-radius: 999px;
    transition: width 0.35s ease;
}

.water-fall-review-box .jdgm-histogram__frequency {
    display: inline-flex;
    align-items: center;
    justify-content: flex-end;
    min-width: 40px;
    flex-shrink: 0;
    text-align: end;
    font-variant-numeric: tabular-nums;
}

.water-fall-review-box .rate-val {
    width: auto;
    min-width: 34px;
    text-align: end;
    font-size: 14px;
    line-height: 1.2;
    color: var(--wf-text-secondary);
}

.water-fall-review-box .jdgm-histogram .rate-val {
    display: none;
}

.water-fall-review-box .jdgm-histogram:not(.show-number) .rate-val.percentage,
.water-fall-review-box .jdgm-histogram.show-percent .rate-val.percentage {
    display: inline-block;
}

.water-fall-review-box .jdgm-histogram.show-number .rate-val.number {
    display: inline-block;
}

.water-fall-review-box .jdgm-histogram.show-number .rate-val.percentage {
    display: none;
}

/* Write A Review Button (Right Column & Empty State) */
.water-fall-review-box .jdgm-widget-actions-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border: none !important;
}

.water-fall-review-box .jdgm-write-rev-link,
.water-fall-review-box .wf-write-review-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: auto;
    min-width: 200px;
    max-width: 260px;
    min-height: 44px;
    margin: 0 auto;
    padding: 10px 28px;
    background: transparent;
    background-color: transparent;
    color: var(--wf-outline-color);
    border: 1px solid var(--wf-outline-color);
    border-radius: var(--wf-btn-radius);
    font-family: var(--font-stack-body, var(--body-font, inherit));
    font-size: var(--font-btn-size, 15px);
    font-weight: var(--font-btn-weight, 500);
    letter-spacing: var(--btn-letter-spacing, 0);
    text-transform: var(--btn-text-transform, none);
    line-height: 1.3;
    text-decoration: none;
    cursor: pointer;
    box-shadow: none;
    transition: background-color 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}

.water-fall-review-box .jdgm-write-rev-link:hover,
.water-fall-review-box .jdgm-write-rev-link:focus-visible,
.water-fall-review-box .wf-write-review-btn:hover,
.water-fall-review-box .wf-write-review-btn:focus-visible {
    background: var(--wf-btn-hover-bg);
    background-color: var(--wf-btn-hover-bg);
    color: var(--wf-btn-hover-text);
    border-color: var(--wf-btn-hover-bg);
    box-shadow: none;
    outline: none;
}

.water-fall-review-box .write_review {
    padding: 28px 0 32px;
    text-align: center;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    font-size: 16px;
    color: var(--wf-text-secondary);
}

/* Customer Photos & Videos Gallery */
.water-fall-review-box .wf-media-gallery {
    border-top: 1px solid var(--wf-border-color);
    margin-top: 4px;
    padding: 24px 0 22px;
    text-align: center;
}

.water-fall-review-box .wf-media-gallery__title {
    font-family: var(--font-stack-body, var(--body-font, inherit));
    font-size: 16px;
    font-weight: 500;
    color: var(--wf-heading-color);
    margin: 0 0 16px;
    text-align: center;
    line-height: 1.4;
}

.water-fall-review-box .wf-media-gallery__list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 10px;
}

.water-fall-review-box .photo-item,
.water-fall-review-box .wf-media-thumb {
    width: 84px;
    height: 84px;
    padding: 0;
    margin: 0;
    border: 1px solid var(--wf-border-color);
    border-radius: var(--wf-media-radius);
    overflow: hidden;
    cursor: pointer;
    position: relative;
    background: rgba(var(--color-foreground, 128, 128, 128), 0.06);
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

@media (max-width: 767px) {
    .water-fall-review-box .photo-item,
    .water-fall-review-box .wf-media-thumb {
        width: 68px;
        height: 68px;
    }
}

.water-fall-review-box .photo-item:hover,
.water-fall-review-box .photo-item:focus-visible,
.water-fall-review-box .wf-media-thumb:hover,
.water-fall-review-box .wf-media-thumb:focus-visible {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.14);
    outline: none;
}

.water-fall-review-box .photo-item img,
.water-fall-review-box .photo-item video,
.water-fall-review-box .wf-media-thumb img,
.water-fall-review-box .wf-media-thumb video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.water-fall-review-box .wf-media-play-badge {
    position: absolute;
    right: 6px;
    bottom: 6px;
    width: 24px;
    height: 24px;
    border-radius: 999px;
    background: rgba(0, 0, 0, 0.62);
    color: #ffffff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
}

.water-fall-review-box .wf-media-play-badge svg {
    width: 11px;
    height: 11px;
    margin-left: 1px;
    fill: currentColor;
}

.water-fall-review-box .wf-media-gallery__more-wrap {
    margin-top: 14px;
    text-align: center;
}

.water-fall-review-box .wf-media-gallery__more-btn {
    background: transparent;
    border: none;
    padding: 4px 10px;
    font-family: inherit;
    font-size: 14px;
    line-height: 1.4;
    color: var(--wf-text-secondary);
    text-decoration: underline;
    text-underline-offset: 4px;
    cursor: pointer;
    transition: color 0.2s ease, opacity 0.2s ease;
}

.water-fall-review-box .wf-media-gallery__more-btn:hover,
.water-fall-review-box .wf-media-gallery__more-btn:focus-visible {
    color: var(--wf-text-color);
    outline: none;
}

.water-fall-review-box .wf-media-gallery__more-btn[disabled] {
    opacity: 0.55;
    cursor: wait;
}

/* Sort Actions Bar */
.water-fall-review-box .jdgm-row-actions {
    margin-bottom: 20px;
    padding: 8px 0;
    position: relative;
    display: flex;
    flex-direction: column;
    border-top: 1px solid var(--wf-border-color);
    border-bottom: 1px solid var(--wf-border-color);
}

.water-fall-review-box .jdgm-rev-widg__sort-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
}

.water-fall-review-box .jdgm-sort-dropdown-wrapper {
    float: none;
    position: relative;
    display: inline-flex;
    align-items: center;
}

.water-fall-review-box .jdgm-sort-dropdown {
    outline: none;
    color: var(--wf-text-color);
    padding: 8px 24px 8px 0;
    font-size: 14px;
    font-family: inherit;
    appearance: none;
    background: transparent;
    border: none;
    cursor: pointer;
    position: relative;
    z-index: 1;
}

.water-fall-review-box .jdgm-sort-dropdown option {
    background-color: var(--wf-surface-bg);
    color: var(--wf-text-color);
}

.water-fall-review-box .jdgm-sort-dropdown-arrow {
    position: absolute;
    inset-inline-end: 2px;
    border: none;
    color: var(--wf-text-color);
    pointer-events: none;
    display: inline-flex;
    align-items: center;
}

[dir="rtl"] .water-fall-review-box .jdgm-sort-dropdown,
.water-fall-review-box[dir="rtl"] .jdgm-sort-dropdown {
    padding: 8px 0 8px 24px;
}

.water-fall-review-box .wf-active-filter {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 12px;
    border-radius: 999px;
    border: 1px solid var(--wf-border-color);
    background: rgba(var(--color-foreground, 128, 128, 128), 0.08);
    color: var(--wf-text-color);
    font-size: 13px;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.water-fall-review-box .wf-active-filter:hover {
    background: rgba(var(--color-foreground, 128, 128, 128), 0.14);
}

/* Waterfall Review Cards */
.water-fall-review-box .product-list {
    margin: 0 auto;
    position: relative;
}

.water-fall-review-box .card_content {
    display: block;
    break-inside: avoid;
    border-radius: var(--wf-media-radius);
    border: 1px solid var(--wf-border-color);
    overflow: hidden;
    background: var(--wf-surface-bg);
    color: var(--wf-text-color);
    transition: box-shadow 0.2s ease;
}

.water-fall-review-box .card_content:hover {
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
}

.water-fall-review-box .card_img {
    position: relative;
    cursor: zoom-in;
    overflow: hidden;
    background: rgba(var(--color-foreground, 128, 128, 128), 0.05);
}

.water-fall-review-box .card_img img,
.water-fall-review-box .card_img video.wf-card-video {
    width: 100%;
    height: auto;
    display: block;
    max-height: 360px;
    object-fit: cover;
}

.water-fall-review-box .more-photo {
    position: absolute;
    inset-inline-end: 10px;
    top: 10px;
    background: rgba(0, 0, 0, 0.45);
    color: #ffffff;
    padding: 4px 8px;
    border-radius: 6px;
    font-size: 12px;
    display: flex;
    align-items: center;
    flex-wrap: nowrap;
    line-height: 1;
    gap: 4px;
}

.water-fall-review-box .text-box {
    padding: 15px 18px;
}

.water-fall-review-box .header-box .name-box {
    width: 100%;
    margin-bottom: 8px;
}

.water-fall-review-box .name {
    font-weight: 600;
    font-size: 15px;
    margin: 0 0 6px;
    color: var(--wf-heading-color);
    display: inline-flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 6px;
}

.water-fall-review-box .header-box .name-box .verified-badge {
    margin-inline-start: 4px;
    display: inline-flex;
    align-items: center;
    position: relative;
    color: var(--wf-verified-color);
}

.water-fall-review-box .header-box .name-box .verified-badge:hover .tag {
    display: block;
    opacity: 1;
}

.water-fall-review-box .header-box .name-box .verified-badge .tag {
    position: absolute;
    top: calc(100% + 8px);
    left: 50%;
    transform: translateX(-50%);
    font-size: 12px;
    font-weight: 400;
    background-color: rgb(var(--color-tooltip, 34, 34, 34));
    border: 1px solid var(--wf-border-color);
    color: rgb(var(--color-tooltip-text, 255, 255, 255));
    padding: 4px 8px;
    white-space: nowrap;
    border-radius: 6px;
    display: none;
    opacity: 0;
    z-index: 5;
    transition: opacity 0.2s ease;
}

.water-fall-review-box .header-box .name-box .verified-badge .tag::before {
    content: "";
    position: absolute;
    top: -7px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 7px solid transparent;
    border-right: 7px solid transparent;
    border-bottom: 7px solid var(--wf-border-color);
    z-index: 1;
}

.water-fall-review-box .header-box .name-box .verified-badge .tag::after {
    content: "";
    position: absolute;
    top: -6px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 6px solid transparent;
    border-right: 6px solid transparent;
    border-bottom: 6px solid rgb(var(--color-tooltip, 34, 34, 34));
    z-index: 2;
}

.water-fall-review-box .date-box .time {
    color: var(--wf-text-secondary);
    font-size: 12px;
    margin-bottom: 6px;
}

.water-fall-review-box .content-box {
    margin-bottom: 10px;
}

.water-fall-review-box .content-box .msg {
    font-size: 14px;
    line-height: 1.55;
    margin-bottom: 4px;
    color: var(--wf-text-color);
    word-break: break-word;
    white-space: pre-wrap;
}

.water-fall-review-box .helpful {
    font-size: 12px;
    color: var(--wf-text-secondary);
    display: flex;
    justify-content: flex-end;
    gap: 8px;
    align-items: center;
}

.water-fall-review-box .helpful .icon-like {
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    color: var(--wf-text-secondary);
    transition: transform 0.2s ease, color 0.2s ease;
}

.water-fall-review-box .helpful .icon-like:hover {
    transform: scale(1.1);
    color: var(--wf-text-color);
}

.water-fall-review-box .helpful .icon-like.active {
    color: var(--wf-star-color);
}

.water-fall-review-box .helpful .icon-like svg {
    pointer-events: none;
}

/* Load More Button */
.water-fall-review-box .load-more-wrap {
    margin-top: 24px;
}

.water-fall-review-box .load-more-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 26px;
    border-radius: var(--wf-btn-radius);
    border: 1px solid var(--wf-outline-color);
    background: transparent;
    color: var(--wf-outline-color);
    font-family: inherit;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    margin: 0 auto;
    position: relative;
    transition: background-color 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}

.water-fall-review-box .load-more-btn:hover,
.water-fall-review-box .load-more-btn:focus-visible {
    background: var(--wf-btn-hover-bg);
    color: var(--wf-btn-hover-text);
    border-color: var(--wf-btn-hover-bg);
    outline: none;
}

.water-fall-review-box .load-more-btn .f-spinner-icon {
    display: none;
    width: 16px;
    height: 16px;
    align-items: center;
    justify-content: center;
    background: transparent;
}

.water-fall-review-box .load-more-btn.loading .f-spinner-icon {
    display: inline-flex;
}

.water-fall-review-box .load-more-btn.loading .animate-spin {
    display: block;
    width: 16px;
    height: 16px;
    animation: f-loading-rotate 1s linear infinite;
}

/* Lightbox Modal */
.water-fall-review-box .review-lightbox {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 100060;
    justify-content: center;
    align-items: center;
    padding: 16px;
}

.water-fall-review-box .review-lightbox.active {
    display: flex;
}

.water-fall-review-box .lightbox-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.72);
}

.water-fall-review-box .lightbox-content {
    padding: 32px;
    position: relative;
    background: var(--wf-surface-bg);
    color: var(--wf-text-color);
    border: 1px solid var(--wf-border-color);
    max-width: 92vw;
    max-height: 90vh;
    width: 1060px;
    display: flex;
    gap: 28px;
    z-index: 10;
    border-radius: var(--wf-media-radius);
}

.water-fall-review-box .lightbox-close {
    line-height: 1;
    padding: 10px;
    position: absolute;
    top: 10px;
    inset-inline-end: 10px;
    cursor: pointer;
    z-index: 15;
    color: var(--wf-text-color);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: background-color 0.2s ease;
}

.water-fall-review-box .lightbox-close:hover {
    background-color: rgba(var(--color-foreground, 128, 128, 128), 0.1);
}

.water-fall-review-box .lightbox-left {
    flex: 1 1 56%;
    max-width: 56%;
    min-width: 0;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: rgba(var(--color-foreground, 0, 0, 0), 0.04);
    border-radius: var(--wf-media-radius);
    padding: 12px;
}

.water-fall-review-box #lightbox-big-swiper,
.water-fall-review-box .wf-lightbox-big-swiper {
    width: 100%;
    overflow: hidden;
}

.water-fall-review-box #lightbox-big-wrapper,
.water-fall-review-box .wf-lightbox-big-wrapper {
    align-items: center;
}

.water-fall-review-box #lightbox-big-wrapper .swiper-slide,
.water-fall-review-box .wf-lightbox-big-wrapper .swiper-slide {
    display: flex;
    align-items: center;
    justify-content: center;
}

.water-fall-review-box #lightbox-big-wrapper img,
.water-fall-review-box #lightbox-big-wrapper video.wf-lightbox-video,
.water-fall-review-box .wf-lightbox-big-wrapper img,
.water-fall-review-box .wf-lightbox-big-wrapper video.wf-lightbox-video {
    width: 100%;
    max-height: 62vh;
    object-fit: contain;
    display: block;
    border-radius: 6px;
}

.water-fall-review-box #lightbox-thumb-swiper,
.water-fall-review-box .wf-lightbox-thumb-swiper {
    position: relative;
    bottom: auto;
    left: auto;
    width: 100%;
    margin-top: 12px;
    padding: 2px 0;
}

.water-fall-review-box #lightbox-thumb-swiper .swiper-slide,
.water-fall-review-box .wf-lightbox-thumb-swiper .swiper-slide {
    width: 60px;
    height: 60px;
    position: relative;
    border-radius: 6px;
    overflow: hidden;
    border: 2px solid transparent;
    opacity: 0.55;
    cursor: pointer;
    transition: opacity 0.2s ease, border-color 0.2s ease;
}

.water-fall-review-box #lightbox-thumb-wrapper,
.water-fall-review-box .wf-lightbox-thumb-wrapper {
    justify-content: center;
}

.water-fall-review-box #lightbox-thumb-wrapper img,
.water-fall-review-box #lightbox-thumb-wrapper video,
.water-fall-review-box .wf-lightbox-thumb-wrapper img,
.water-fall-review-box .wf-lightbox-thumb-wrapper video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.water-fall-review-box #lightbox-thumb-wrapper .swiper-slide-thumb-active,
.water-fall-review-box .wf-lightbox-thumb-wrapper .swiper-slide-thumb-active {
    opacity: 1;
    border-color: var(--wf-heading-color);
}

.water-fall-review-box .wf-thumb-play-badge {
    position: absolute;
    inset: 0;
    margin: auto;
    width: 22px;
    height: 22px;
    border-radius: 999px;
    background: rgba(0, 0, 0, 0.62);
    color: #ffffff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
}

.water-fall-review-box .wf-thumb-play-badge svg {
    width: 10px;
    height: 10px;
    margin-left: 1px;
    fill: currentColor;
}

.water-fall-review-box .lightbox-right {
    flex: 1 1 44%;
    min-width: 0;
    padding: 8px 4px;
    overflow-y: auto;
    max-height: 75vh;
    text-align: start;
}

.water-fall-review-box .wf-lightbox-stars {
    margin-bottom: 10px;
}

.water-fall-review-box .wf-lightbox-meta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

.water-fall-review-box .review-name {
    font-weight: 600;
    font-size: 16px;
    color: var(--wf-heading-color);
}

.water-fall-review-box .wf-lightbox-verified {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 12px;
    color: var(--wf-verified-color);
    font-weight: 500;
}

.water-fall-review-box .review-date {
    color: var(--wf-text-secondary);
    font-size: 13px;
    margin-top: 6px;
}

.water-fall-review-box .review-text {
    margin-top: 14px;
    font-size: 14px;
    line-height: 1.6;
    color: var(--wf-text-color);
    white-space: pre-wrap;
    word-break: break-word;
}

.water-fall-review-box .lightbox-arrow {
    padding: 5px;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    z-index: 15;
    color: #ffffff;
    fill: #ffffff;
    transition: opacity 0.2s ease;
}

.water-fall-review-box .lightbox-arrow.is-disabled {
    opacity: 0.3;
    pointer-events: none;
}

.water-fall-review-box .lightbox-arrow.left {
    left: -50px;
}

.water-fall-review-box .lightbox-arrow.right {
    right: -50px;
}

@media (max-width: 767px) {
    .water-fall-review-box .review-lightbox {
        padding: 0;
    }

    .water-fall-review-box .lightbox-content {
        padding: 0;
        width: 100%;
        max-width: 100vw;
        max-height: 100vh;
        height: 100vh;
        border-radius: 0;
        flex-direction: column;
        gap: 0;
        border: none;
    }

    .water-fall-review-box .lightbox-close {
        color: #ffffff;
        width: 34px;
        height: 34px;
        border-radius: 50%;
        background: rgba(0, 0, 0, 0.45);
        z-index: 20;
        inset-inline-end: 14px;
        top: 14px;
        padding: 0;
    }

    .water-fall-review-box .lightbox-left {
        max-width: 100%;
        width: 100%;
        flex: 0 0 auto;
        border-radius: 0;
        padding: 12px 12px 8px;
    }

    .water-fall-review-box #lightbox-big-wrapper img,
    .water-fall-review-box #lightbox-big-wrapper video.wf-lightbox-video,
    .water-fall-review-box .wf-lightbox-big-wrapper img,
    .water-fall-review-box .wf-lightbox-big-wrapper video.wf-lightbox-video {
        max-height: 46vh;
    }

    .water-fall-review-box .lightbox-right {
        max-width: 100%;
        width: 100%;
        flex: 1 1 auto;
        padding: 18px 20px 28px;
        max-height: none;
    }

    .water-fall-review-box .lightbox-arrow {
        top: 24vh;
        width: 36px;
        height: 36px;
        border-radius: 50%;
        background: rgba(0, 0, 0, 0.45);
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .water-fall-review-box .lightbox-arrow svg {
        width: 20px;
        height: 20px;
    }

    .water-fall-review-box .lightbox-arrow.left {
        left: 10px;
    }

    .water-fall-review-box .lightbox-arrow.right {
        right: 10px;
    }
}

/* Write Review Modal Form */
.water-fall-review-box .jdgm-form-dynamic-wrapper {
    position: fixed;
    inset: 0;
    z-index: 100060;
    background-color: rgba(0, 0, 0, 0.6);
    display: none;
}

.water-fall-review-box .jdgm-form-dynamic-wrapper.jdgm-show {
    display: block;
    height: 100vh;
}

.water-fall-review-box .jdgm-form-dynamic {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 540px;
    max-width: calc(100vw - 30px);
    max-height: 88vh;
    overflow: auto;
    padding: 28px 32px;
    text-align: start;
    background: var(--wf-surface-bg);
    color: var(--wf-text-color);
    border: 1px solid var(--wf-border-color);
    border-radius: var(--wf-media-radius);
}

@media (max-width: 767px) {
    .water-fall-review-box .jdgm-form-dynamic {
        width: 100%;
        height: 100%;
        max-height: 100vh;
        max-width: 100vw;
        left: 0;
        top: 0;
        transform: none;
        border-radius: 0;
        border: none;
    }
}

.water-fall-review-box .jdgm-form-dynamic__close {
    position: absolute;
    inset-inline-end: 12px;
    top: 12px;
    padding: 10px;
    cursor: pointer;
    color: var(--wf-text-color);
}

.water-fall-review-box .jdgm-form {
    margin: 0 auto;
    max-width: 600px;
}

.water-fall-review-box .jdgm-form__title {
    margin-bottom: 18px;
    font-size: 20px;
    font-weight: 600;
    text-align: center;
    color: var(--wf-heading-color);
}

.water-fall-review-box .jdgm-form__fieldset {
    margin-bottom: 20px;
}

.water-fall-review-box .jdgm-form__fieldset > label,
.water-fall-review-box .jdgm-form__inline-label {
    margin-bottom: 8px;
    display: block;
    font-size: 13px;
    font-weight: 500;
    color: var(--wf-text-color);
}

.water-fall-review-box .jdgm-form input,
.water-fall-review-box .jdgm-form textarea {
    color: rgb(var(--color-form-field-text, var(--color-foreground, 34, 34, 34)));
    background-color: rgb(var(--color-form-field, var(--color-background, 255, 255, 255)));
    border: var(--inputs-border-width, 1px) solid var(--wf-border-color);
    border-radius: var(--inputs-radius, 6px);
}

.water-fall-review-box .jdgm-form input[type="text"],
.water-fall-review-box .jdgm-form input[type="email"],
.water-fall-review-box .jdgm-form textarea {
    padding: 10px 14px;
    width: 100%;
    font-family: inherit;
    font-size: 14px;
}

.water-fall-review-box .jdgm-form input[type="text"]:focus,
.water-fall-review-box .jdgm-form input[type="text"]:focus-visible,
.water-fall-review-box .jdgm-form input[type="email"]:focus,
.water-fall-review-box .jdgm-form input[type="email"]:focus-visible,
.water-fall-review-box .jdgm-form textarea:focus,
.water-fall-review-box .jdgm-form textarea:focus-visible {
    outline: none;
    border-color: var(--wf-text-color);
}

.water-fall-review-box .jdgm-form input::placeholder,
.water-fall-review-box .jdgm-form textarea::placeholder {
    color: rgba(var(--color-form-field-text, var(--color-foreground, 120, 120, 120)), 0.65);
}

.water-fall-review-box .star-rating__star {
    position: relative;
    background: transparent;
    border: none;
    padding: 0;
    cursor: pointer;
    color: inherit;
}

.water-fall-review-box .star-icon {
    pointer-events: none;
    display: inline-flex;
}

/* Form Media Upload */
.water-fall-review-box .jdgm-media-fieldset__container {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.water-fall-review-box .jdgm-upload-status {
    display: none;
    padding: 10px;
    background: rgba(var(--color-foreground, 128, 128, 128), 0.08);
    border-radius: 6px;
    text-align: center;
    color: var(--wf-text-secondary);
    width: 80px;
    height: 80px;
    align-items: center;
    justify-content: center;
}

.water-fall-review-box .jdgm-upload-status .f-icon--loading {
    animation: f-loading-rotate 2s linear infinite;
}

@keyframes f-loading-rotate {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

.water-fall-review-box .jdgm-uploaded-preview {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.water-fall-review-box .jdgm-picture-fieldset__box {
    position: relative;
    display: inline-block;
    vertical-align: top;
    width: 80px;
    height: 80px;
    cursor: pointer;
    text-align: center;
    padding: 15px;
    border: 1px dashed var(--wf-border-color);
    border-radius: 6px;
    transition: opacity 0.2s ease, border-color 0.2s ease;
}

.water-fall-review-box .jdgm-picture-fieldset__box--input:hover {
    opacity: 0.75;
    border-color: var(--wf-text-color);
}

.water-fall-review-box .jdgm-picture-fieldset__box-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.water-fall-review-box .jdgm-media-fieldset__icon {
    font-size: 24px;
    color: var(--wf-text-secondary);
}

.water-fall-review-box .jdgm-media-fieldset__input {
    position: absolute;
    inset: 0;
    opacity: 0;
    cursor: pointer;
}

.water-fall-review-box .jdgm-uploaded-image {
    position: relative;
    width: 80px;
    height: 80px;
    border: 1px solid var(--wf-border-color);
    border-radius: 6px;
    overflow: hidden;
}

.water-fall-review-box .jdgm-uploaded-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.water-fall-review-box .jdgm-remove-image {
    position: absolute;
    top: 3px;
    right: 3px;
    width: 20px;
    height: 20px;
    background: rgba(0, 0, 0, 0.72);
    color: #ffffff;
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    cursor: pointer;
    line-height: 1;
    transition: opacity 0.2s ease;
}

.water-fall-review-box .jdgm-remove-image:hover {
    opacity: 0.85;
}

.water-fall-review-box .jdgm-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 24px;
    font-size: 15px;
    font-weight: 500;
    line-height: 1.2;
    text-decoration: none;
    cursor: pointer;
    border-radius: var(--wf-btn-radius);
}

.water-fall-review-box .jdgm-btn--solid {
    background-color: var(--wf-btn-bg);
    color: var(--wf-btn-text);
    border: 1px solid var(--wf-btn-bg);
    transition: background-color 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}

.water-fall-review-box .jdgm-btn--solid:hover,
.water-fall-review-box .jdgm-btn--solid:focus-visible {
    background-color: var(--wf-btn-hover-bg);
    color: var(--wf-btn-hover-text);
    border-color: var(--wf-btn-hover-bg);
    outline: none;
}

.water-fall-review-box .error-input {
    border: 1px solid #f56c6c !important;
}

.water-fall-review-box .error-message {
    color: #f56c6c;
    font-size: 12px;
    margin-top: 4px;
}

.water-fall-review-box .flex {
    display: flex;
}

.water-fall-review-box .flex-align-center {
    align-items: center;
}

.water-fall-review-box .relative {
    position: relative;
}

.water-fall-review-box .ml-20 {
    margin-inline-start: 20px;
}

.water-fall-review-box .f-w-6-12 {
    width: 50%;
}

.water-fall-review-box .uppercase {
    text-transform: uppercase;
}
