.bos-reviews-wrap {
    --bos-rv-accent-light: color-mix(in srgb, var(--bos-rv-accent, var(--bos-accent, #4A6EF6)) 10%, #fff);
    font-family: var(--bos-rv-font, var(--bos-font, 'Assistant', sans-serif));
    font-size: var(--bos-rv-font-size, 14px);
    color: var(--bos-text, #111827);
}

.bos-reviews-wrap *:focus:not(:focus-visible) {
    outline: none !important;
    box-shadow: none !important;
}

.bos-reviews-wrap *:focus-visible {
    outline: 2px solid var(--bos-rv-accent, var(--bos-accent, #111827));
    outline-offset: 2px;
    box-shadow: none !important;
}

.bos-reviews-runtime {
    display: grid;
    gap: 20px;
}

.bos-reviews-summary {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
    padding: 18px;
    border: 1px solid #e5e7eb;
    border-radius: var(--bos-rv-radius, 8px);
    background: #fff;
}

.bos-reviews-summary-left {
    display: grid;
    gap: 16px;
}

.bos-reviews-avg {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
}

.bos-avg-number {
    font-size: 32px;
    font-weight: 700;
    line-height: 1;
}

.bos-avg-total {
    font-size: 13px;
    color: #6b7280;
}

.bos-reviews-recommended {
    display: inline-block;
    margin-bottom: 6px;
    font-size: 13px;
    color: var(--bos-rv-accent, var(--bos-accent, #4A6EF6));
    font-weight: 600;
}

.bos-reviews-bars {
    display: grid;
    gap: 6px;
}

.bos-rating-bar-row {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    padding: 2px 0;
    width: 100%;
    border: none;
    background: transparent;
    text-align: inherit;
    color: inherit;
}

.bos-rating-bar-row:hover .bos-bar-fill {
    opacity: 0.85;
}

.bos-bar-label {
    width: 12px;
    text-align: center;
    font-size: 13px;
}

.bos-bar-track {
    flex: 1;
    height: 8px;
    background: #e5e7eb;
    border-radius: 999px;
    overflow: hidden;
}

.bos-bar-fill {
    display: block;
    height: 100%;
    background: var(--bos-rv-accent, var(--bos-accent, #4A6EF6));
    border-radius: 999px;
    transition: width 0.4s ease;
}

.bos-bar-count {
    font-size: 12px;
    color: #6b7280;
    width: 24px;
    text-align: end;
}

.bos-reviews-photos-section {
    display: grid;
    gap: 10px;
}

.bos-section-label {
    font-family: var(--bos-font, var(--bos-font-base, inherit));
    margin: 0;
    font-size: 13px;
    font-weight: 600;
    color: var(--bos-text-secondary, #374151);
}

.bos-photos-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 6px;
}

.bos-photo-thumb {
    position: relative;
    border: none;
    background: #fff;
    padding: 0;
    aspect-ratio: 1 / 1;
    border-radius: var(--bos-rv-radius, 8px);
    overflow: hidden;
    cursor: pointer;
}

.bos-photo-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.2s;
}

.bos-photo-thumb:hover img {
    transform: scale(1.05);
}

.bos-photo-more {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    font-weight: 700;
}

.bos-reviews-filters {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
    padding: 16px 0;
    margin-bottom: 8px;
    border-bottom: 1px solid #e5e7eb;
}

.bos-reviews-section-title {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 15px;
    font-weight: 600;
}

.bos-reviews-filters-right {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
}

.bos-star-filter {
    display: flex;
    gap: 6px;
}

.bos-star-chip {
    padding: 4px 12px;
    border: 1px solid #e5e7eb;
    border-radius: 999px;
    font-size: 13px;
    cursor: pointer;
    background: #fff;
    color: #374151;
}

.bos-star-chip.active {
    border-color: var(--bos-rv-accent, var(--bos-accent, #4A6EF6));
    background: var(--bos-rv-accent-light);
    color: var(--bos-rv-accent, var(--bos-accent, #4A6EF6));
}

.bos-reviews-grid {
    display: grid;
    gap: 16px;
}

.bos-reviews-cols-1 {
    grid-template-columns: 1fr;
}

.bos-reviews-cols-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.bos-reviews-cols-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.bos-reviews-cols-4 {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.bos-review-card {
    position: relative;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: var(--bos-rv-radius, 8px);
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    transition: box-shadow 0.15s;
}

.bos-review-card:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.bos-review-card-header {
    display: flex;
    align-items: center;
    gap: 10px;
}

.bos-reviewer-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    object-fit: cover;
}

.bos-reviewer-info {
    display: grid;
    gap: 2px;
}

.bos-reviewer-name {
    font-size: 14px;
    font-weight: 600;
}

.bos-verified-badge {
    font-size: 11px;
    color: #16a34a;
    font-weight: 500;
}

.bos-review-rating-row {
    display: flex;
    align-items: center;
    gap: 8px;
}

.bos-review-rating-text {
    font-size: 13px;
    font-weight: 600;
}

.bos-review-date {
    font-size: 12px;
    color: #6b7280;
    margin-inline-end: auto;
}

.bos-review-title {
    font-size: 14px;
    font-weight: 600;
    margin: 0;
}

.bos-review-content {
    margin: 0;
    font-size: 14px;
    color: #374151;
    line-height: 1.6;
    white-space: pre-line;
}

.bos-review-images {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.bos-review-thumb {
    width: 56px;
    height: 56px;
    border-radius: 4px;
    object-fit: cover;
    cursor: pointer;
    border: 1px solid #e5e7eb;
}

.bos-review-helpful {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: #6b7280;
    padding-top: 8px;
    border-top: 1px solid #f3f4f6;
}

.bos-helpful-btn {
    background: none;
    border: 1px solid #e5e7eb;
    border-radius: 999px;
    padding: 2px 10px;
    cursor: pointer;
    font-size: 13px;
    transition: all 0.15s;
}

.bos-helpful-btn:hover {
    border-color: #9ca3af;
}

.bos-helpful-btn.active {
    border-color: var(--bos-rv-accent, var(--bos-accent, #4A6EF6));
    color: var(--bos-rv-accent, var(--bos-accent, #4A6EF6));
    background: var(--bos-rv-accent-light);
}

.bos-helpful-btn:disabled {
    opacity: 0.5;
    cursor: default;
}

.bos-review-response {
    background: #f9fafb;
    border-radius: 6px;
    padding: 10px 14px;
    border-inline-end: 3px solid var(--bos-rv-accent, var(--bos-accent, #4A6EF6));
}

.bos-response-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 4px;
}

.bos-response-label {
    font-size: 12px;
    font-weight: 600;
    color: var(--bos-rv-accent, var(--bos-accent, #4A6EF6));
}

.bos-response-date {
    font-size: 11px;
    color: #6b7280;
}

.bos-response-text {
    margin: 0;
    font-size: 13px;
    line-height: 1.6;
    color: #374151;
    white-space: pre-line;
}

.bos-star-rating {
    display: inline-flex;
    align-items: center;
    gap: 2px;
}

.bos-star {
    line-height: 1;
    cursor: pointer;
}

.bos-star-rating.is-readonly .bos-star {
    cursor: default;
}

.bos-star-rating-sm .bos-star {
    font-size: 14px;
}

.bos-star-rating-md .bos-star {
    font-size: 18px;
}

.bos-star-rating-lg .bos-star {
    font-size: 24px;
}

.bos-reviews-slider {
    position: relative;
    overflow: hidden;
}

.bos-slider-track {
    display: flex;
    gap: 16px;
    transition: transform 0.3s ease;
}

.bos-slider-item {
    flex: 0 0 100%;
    min-width: 100%;
}

.bos-slider-prev,
.bos-slider-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #fff;
    border: 1px solid #e5e7eb;
    cursor: pointer;
    z-index: 2;
}

.bos-slider-prev {
    inset-inline-end: 8px;
}

.bos-slider-next {
    inset-inline-start: 8px;
}

.bos-lightbox-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.85);
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
}

.bos-lightbox-img {
    max-width: 90vw;
    max-height: 85vh;
    border-radius: 8px;
}

.bos-lightbox-close {
    position: absolute;
    top: 16px;
    inset-inline-start: 16px;
    border: none;
    background: transparent;
    color: #fff;
    font-size: 28px;
    cursor: pointer;
}

.bos-lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    border: none;
    background: transparent;
    color: #fff;
    font-size: 34px;
    cursor: pointer;
    padding: 8px;
}

.bos-lightbox-prev {
    inset-inline-end: 12px;
}

.bos-lightbox-next {
    inset-inline-start: 12px;
}

.bos-lightbox-counter {
    position: absolute;
    bottom: 18px;
    inset-inline-end: 50%;
    transform: translateX(-50%);
    color: #fff;
    font-size: 13px;
}

.bos-reviews-pagination {
    display: flex;
    justify-content: center;
    gap: 4px;
    margin-top: 8px;
}

.bos-reviews-pagination button {
    width: 32px;
    height: 32px;
    border-radius: var(--bos-rv-radius, 8px);
    border: 1px solid #e5e7eb;
    cursor: pointer;
    background: #fff;
}

.bos-reviews-pagination button.active {
    background: var(--bos-rv-accent, var(--bos-accent, #4A6EF6));
    color: var(--bos-accent-text, #fff);
    border-color: var(--bos-rv-accent, var(--bos-accent, #4A6EF6));
}

.bos-reviews-pagination button:disabled {
    opacity: 0.4;
    cursor: default;
}

.bos-review-form-wrap {
    margin-top: 24px;
    padding-top: 24px;
    border-top: 1px solid #e5e7eb;
}

.bos-review-form {
    margin-top: 16px;
    display: grid;
    gap: 12px;
}

.bos-form-note {
    font-size: 12px;
    color: #6b7280;
    margin: 4px 0 0;
}

.bos-review-image-upload {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
}

.bos-upload-trigger {
    cursor: pointer;
}

.bos-upload-thumb-wrap {
    position: relative;
}

.bos-upload-thumb {
    width: 60px;
    height: 60px;
    border-radius: 6px;
    object-fit: cover;
    border: 1px solid #e5e7eb;
}

.bos-upload-remove {
    position: absolute;
    top: -4px;
    inset-inline-start: -4px;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    border: none;
    background: #dc2626;
    color: #fff;
    font-size: 10px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.bos-reviews-loading {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 120px;
}

.bos-review-share {
    display: flex;
    align-items: center;
    gap: 6px;
    padding-top: 8px;
    border-top: 1px solid #f3f4f6;
}

.bos-share-label {
    font-size: 12px;
    color: #6b7280;
}

.bos-share-btn {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: none;
    cursor: pointer;
    transition: opacity 0.15s;
    text-decoration: none;
}

.bos-share-btn:hover {
    opacity: 0.8;
}

.bos-share-facebook {
    background: #1877f2;
    color: #fff;
}

.bos-share-whatsapp {
    background: #25d366;
    color: #fff;
}

.bos-share-copy {
    background: #f3f4f6;
    color: #374151;
}

.bos-review-card--google {
    border: 1px solid #e8eaed;
    border-top: 3px solid #4285F4;
    background: #fff;
    position: relative;
}

.bos-review-card--google::before {
    content: '';
    position: absolute;
    top: 0;
    inset-inline-end: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, #4285F4 0%, #34A853 33%, #FBBC05 66%, #EA4335 100%);
}

.bos-google-badge {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 8px;
    padding-bottom: 8px;
    border-bottom: 1px solid #f1f3f4;
}

.bos-google-badge-text {
    font-size: 12px;
    font-weight: 600;
    color: #5f6368;
    letter-spacing: 0.02em;
}

.bos-google-stars {
    display: inline-flex;
    align-items: center;
    gap: 1px;
    margin-inline-end: auto;
}

.bos-google-star {
    color: #e0e0e0;
    font-size: 12px;
    line-height: 1;
}

.bos-google-star.filled {
    color: #FBBC05;
}

.bos-review-card--google .bos-reviewer-name {
    color: #202124;
}

.bos-review-card--google .bos-review-content {
    color: #3c4043;
}

.bos-google-summary-widget {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 14px 20px;
    background: #f8f9fa;
    border: 1px solid #e8eaed;
    border-radius: var(--bos-rv-radius, 8px);
    margin-bottom: 2px;
}

.bos-google-summary-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    gap: 16px;
}

.bos-google-summary-title {
    font-size: 18px;
    font-weight: 700;
    color: #202124;
}

.bos-google-summary-score {
    display: flex;
    align-items: center;
    gap: 8px;
}

.bos-google-score-number {
    font-size: 28px;
    font-weight: 700;
    color: #202124;
}

.bos-google-score-count {
    font-size: 12px;
    color: #5f6368;
}

@media (max-width: 768px) {
    .bos-reviews-cols-2,
    .bos-reviews-cols-3,
    .bos-reviews-cols-4 {
        grid-template-columns: 1fr;
    }

    .bos-reviews-summary {
        grid-template-columns: 1fr;
    }

    .bos-photos-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 640px) {
    .bos-reviews-wrap .bos-reviews-main-aside {
        order: 2;
    }

    .bos-reviews-wrap .bos-reviews-main-content {
        order: 1;
    }

    .bos-reviews-source-tabs {
        gap: 6px;
        justify-content: stretch;
    }

    .bos-reviews-source-tab {
        flex: 1 1 0;
        min-width: 0;
        padding: 9px 10px;
        font-size: 12px;
        text-align: center;
    }

    .bos-reviews-wrap .bos-reviews-main-aside .bos-reviews-summary {
        padding: 12px;
    }

    .bos-reviews-wrap .bos-avg-number,
    .bos-reviews-wrap .bos-google-score-number {
        font-size: 24px;
    }

    .bos-reviews-wrap .bos-rating-bar-row {
        gap: 6px;
    }

    .bos-reviews-filters-right {
        width: 100%;
    }

    .bos-star-filter {
        width: 100%;
        overflow-x: auto;
        padding-bottom: 4px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .bos-reviews-wrap *,
    .bos-reviews-wrap *::before,
    .bos-reviews-wrap *::after {
        animation: none !important;
        transition: none !important;
    }
}

/* Premium layout refinements */
.bos-reviews-summary {
    grid-template-columns: minmax(0, 1.35fr) minmax(260px, 0.9fr);
    gap: 24px;
    padding: 20px;
    border: 1px solid #e6eaf0;
    border-radius: calc(var(--bos-rv-radius, 8px) + 2px);
    box-shadow: 0 8px 24px rgba(17, 24, 39, 0.04);
}

.bos-reviews-summary.has-photos .bos-reviews-summary-left {
    padding-inline-start: 4px;
}

.bos-reviews-summary.is-no-photos {
    grid-template-columns: 1fr;
}

.bos-reviews-summary.is-no-photos .bos-reviews-summary-left {
    max-width: 980px;
}

.bos-reviews-summary-score {
    display: grid;
    gap: 8px;
}

.bos-reviews-photos-section {
    align-content: start;
    padding: 12px;
    border: 1px solid #edf0f5;
    border-radius: calc(var(--bos-rv-radius, 8px) + 1px);
    background: linear-gradient(180deg, #fcfdff 0%, #f9fafc 100%);
}

.bos-reviews-summary.has-photos .bos-photos-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.bos-reviews-filters {
    padding: 14px 16px;
    margin-bottom: 2px;
    border: 1px solid #e8ebf0;
    border-radius: calc(var(--bos-rv-radius, 8px) + 1px);
    background: #fff;
}

.bos-reviews-filters-right .bos-input {
    min-inline-size: 220px;
}

.bos-reviews-grid-single {
    grid-template-columns: minmax(300px, 820px);
    justify-content: center;
}

.bos-reviews-grid-pair {
    grid-template-columns: repeat(2, minmax(300px, 520px));
    justify-content: center;
}

.bos-review-card {
    border-color: #e7ebf2;
    border-radius: calc(var(--bos-rv-radius, 8px) + 2px);
    box-shadow: 0 2px 8px rgba(15, 23, 42, 0.03);
    transition: transform 0.16s ease, box-shadow 0.16s ease, border-color 0.16s ease;
}

.bos-review-card:hover {
    transform: translateY(-2px);
    border-color: #d9dee8;
    box-shadow: 0 12px 24px rgba(15, 23, 42, 0.08);
}

.bos-review-card--no-images .bos-review-content {
    min-height: 0 !important;
}

.bos-review-helpful {
    margin-top: 6px;
}

.bos-review-share {
    margin-top: 4px;
}

.bos-review-share {
    justify-content: flex-end;
    gap: 8px;
}

.bos-review-share .bos-share-label {
    margin-inline-start: auto;
}

@media (max-width: 980px) {
    .bos-reviews-summary {
        grid-template-columns: 1fr;
    }

    .bos-reviews-summary.has-photos .bos-photos-grid {
        grid-template-columns: repeat(5, minmax(0, 1fr));
    }
}

@media (max-width: 768px) {
    .bos-reviews-grid-single,
    .bos-reviews-grid-pair {
        grid-template-columns: 1fr;
    }

    .bos-reviews-filters-right .bos-input {
        min-inline-size: 100%;
        width: 100%;
    }
}

@media (prefers-reduced-motion: reduce) {
    .bos-review-card,
    .bos-review-card:hover {
        transition: none !important;
        transform: none !important;
    }
}

/* Reviews filters: clean single-row RTL toolbar */
.bos-reviews-filters {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto auto;
    align-items: center;
    gap: 12px;
}

.bos-reviews-filters-heading {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    white-space: nowrap;
}

.bos-reviews-section-title {
    margin: 0;
    font-size: 20px;
    font-weight: 700;
    line-height: 1.2;
}

.bos-reviews-view-all {
    min-height: 32px;
    padding: 0 10px;
    font-size: 12px;
}

.bos-star-filter {
    display: flex;
    align-items: center;
    gap: 6px;
    min-width: 0;
    overflow-x: auto;
    overflow-y: hidden;
    padding-bottom: 2px;
    scrollbar-width: thin;
}

.bos-star-filter::-webkit-scrollbar {
    height: 4px;
}

.bos-star-filter::-webkit-scrollbar-thumb {
    background: #d1d5db;
    border-radius: 999px;
}

.bos-star-chip {
    flex: 0 0 auto;
    min-width: 46px;
    text-align: center;
}

.bos-reviews-sort-wrap {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
}

.bos-reviews-sort-label {
    font-size: 12px;
    color: #6b7280;
    font-weight: 600;
}

.bos-reviews-sort-select {
    appearance: none;
    min-height: 34px;
    border: 1px solid #d1d5db;
    border-radius: 10px;
    background: #fff;
    color: #111827;
    font-size: 13px;
    font-weight: 500;
    padding-inline: 12px 32px;
    line-height: 1.1;
}

.bos-reviews-sort-wrap::after {
    content: '▾';
    position: absolute;
    inset-inline-start: 10px;
    top: 50%;
    transform: translateY(-50%);
    color: #6b7280;
    font-size: 12px;
    pointer-events: none;
}

.bos-reviews-search {
    inline-size: 200px;
    min-inline-size: 180px;
    max-inline-size: 220px;
    min-height: 34px;
    text-align: start;
}

@media (max-width: 980px) {
    .bos-reviews-filters {
        grid-template-columns: 1fr;
        align-items: stretch;
    }

    .bos-reviews-filters-heading {
        justify-content: space-between;
    }

    .bos-reviews-sort-wrap {
        justify-content: space-between;
    }

    .bos-reviews-search {
        inline-size: 100%;
        min-inline-size: 100%;
        max-inline-size: none;
    }
}

/* Premium revamp: 35/65 shell + refined RTL controls */
.bos-reviews-main-shell {
    display: grid;
    grid-template-columns: minmax(260px, 35%) minmax(0, 65%);
    gap: 16px;
    align-items: start;
}

.bos-reviews-main-shell.no-summary {
    grid-template-columns: 1fr;
}

.bos-reviews-main-aside,
.bos-reviews-main-content {
    min-width: 0;
}

.bos-reviews-main-content {
    display: grid;
    gap: 12px;
}

.bos-reviews-main-aside .bos-reviews-summary {
    grid-template-columns: 1fr;
    gap: 14px;
    padding: 14px;
    border: 1px solid #e6eaf0;
    border-radius: calc(var(--bos-rv-radius, 8px) + 1px);
    box-shadow: 0 6px 20px rgba(17, 24, 39, 0.04);
}

.bos-reviews-main-aside .bos-reviews-summary-left {
    gap: 14px;
}

.bos-reviews-main-aside .bos-reviews-summary-score {
    gap: 6px;
}

.bos-reviews-main-aside .bos-reviews-photos-section {
    display: grid;
    gap: 8px;
    border: 1px solid #eceff4;
    border-radius: calc(var(--bos-rv-radius, 8px) + 1px);
    background: #fbfcfe;
    padding: 10px;
    min-height: 126px;
    align-content: start;
}

.bos-photos-empty {
    min-height: 84px;
    border: 1px dashed #d6dbe4;
    border-radius: calc(var(--bos-rv-radius, 8px) - 1px);
    background: repeating-linear-gradient(45deg, #fafbfd, #fafbfd 6px, #f4f6fa 6px, #f4f6fa 12px);
}

.bos-reviews-main-aside .bos-photos-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 6px;
}

.bos-reviews-filters {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: nowrap;
    padding: 12px 14px;
    margin-bottom: 0;
    border: 1px solid #e7ebf2;
    border-radius: calc(var(--bos-rv-radius, 8px) + 1px);
    background: #fff;
}

.bos-reviews-filters-heading {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}

.bos-reviews-section-title {
    margin: 0;
    font-size: 17px;
    line-height: 1.2;
    font-weight: 700;
}

.bos-reviews-filters-controls {
    display: inline-flex;
    align-items: center;
    justify-content: flex-end;
    flex-wrap: wrap;
    gap: 10px;
    min-width: 0;
    flex: 1;
}

.bos-star-filter {
    max-width: 100%;
    overflow-x: auto;
}

.bos-reviews-sort-wrap {
    display: inline-flex;
    align-items: center;
    flex-shrink: 0;
}

.bos-reviews-sort-select-wrap {
    position: relative;
    display: inline-flex;
    align-items: center;
}

.bos-reviews-sort-select {
    appearance: none;
    min-height: 36px;
    min-width: 174px;
    border: 1px solid #d4d9e3;
    border-radius: 10px;
    background-color: #fff;
    color: #111827;
    font-size: 13px;
    font-weight: 500;
    line-height: 1.2;
    padding-inline: 13px 34px;
    text-align: start;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%236b7280' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: 12px 50%;
}

.bos-reviews-search {
    min-height: 36px;
    inline-size: 190px;
    min-inline-size: 170px;
    max-inline-size: 220px;
    text-align: start;
}

.bos-reviews-slider .bos-slider-prev,
.bos-reviews-slider .bos-slider-next {
    width: 36px;
    height: 36px;
    font-size: 16px;
    font-weight: 700;
    color: #1f2937;
    border-color: #dbe1eb;
    box-shadow: 0 4px 14px rgba(17, 24, 39, 0.08);
}

.bos-reviews-slider .bos-slider-prev:hover,
.bos-reviews-slider .bos-slider-next:hover {
    border-color: #c5cedc;
    background: #fff;
}

@media (max-width: 980px) {
    .bos-reviews-main-shell {
        grid-template-columns: 1fr;
    }

    .bos-reviews-main-aside .bos-reviews-photos-section {
        min-height: 0;
    }

    .bos-reviews-filters {
        flex-wrap: wrap;
    }

    .bos-reviews-filters-controls {
        width: 100%;
        justify-content: flex-start;
    }
}

@media (max-width: 680px) {
    .bos-reviews-filters {
        display: grid;
        gap: 8px;
    }

    .bos-reviews-filters-heading {
        justify-content: space-between;
    }

    .bos-reviews-filters-controls {
        justify-content: flex-start;
        gap: 8px;
    }

    .bos-reviews-sort-select,
    .bos-reviews-search {
        width: 100%;
        max-width: none;
        min-width: 0;
    }

    .bos-reviews-sort-wrap,
    .bos-reviews-sort-select-wrap {
        width: 100%;
    }
}

.bos-reviews-sort-wrap::after {
    content: none !important;
}

/* Filters layout v2: row 1 title+search+view-all, row 2 dropdown filters */
.bos-reviews-filters {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
    padding: 14px 16px;
}

.bos-reviews-filters-top {
    display: grid;
    grid-template-columns: auto minmax(220px, 320px) auto;
    align-items: center;
    gap: 10px;
}

.bos-reviews-filters-top .bos-reviews-section-title {
    margin: 0;
    font-size: 16px;
    font-weight: 700;
}

.bos-reviews-filters-top .bos-reviews-search {
    inline-size: 100%;
    min-inline-size: 0;
    max-inline-size: none;
    min-height: 36px;
}

.bos-reviews-filters-top .bos-reviews-view-all {
    min-height: 34px;
    padding-inline: 12px;
    justify-self: start;
}

.bos-reviews-filters-bottom {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.bos-reviews-filter-select-wrap {
    position: relative;
    display: inline-flex;
    align-items: center;
}

.bos-reviews-filter-select {
    appearance: none;
    min-height: 36px;
    min-width: 170px;
    border: 1px solid #d4d9e3;
    border-radius: 10px;
    background-color: #fff;
    color: #111827;
    font-size: 13px;
    font-weight: 500;
    line-height: 1.2;
    padding-inline: 14px 36px;
    text-align: start;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%236b7280' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: 12px 50%;
}

.bos-reviews-rating-select {
    min-width: 150px;
}

.bos-reviews-sort-select {
    min-width: 188px;
}

@media (max-width: 920px) {
    .bos-reviews-filters-top {
        grid-template-columns: 1fr;
    }

    .bos-reviews-filters-top .bos-reviews-filters-heading {
        justify-content: space-between;
    }

    .bos-reviews-filters-bottom {
        display: grid;
        grid-template-columns: 1fr;
    }

    .bos-reviews-filter-select-wrap,
    .bos-reviews-filter-select {
        width: 100%;
        min-width: 0;
    }
}

/* Google reviews source tabs + panel */
.bos-reviews-source-tabs {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 4px;
    border: 1px solid #e5e7eb;
    border-radius: 999px;
    background: #fff;
    width: fit-content;
    max-width: 100%;
}

.bos-reviews-source-tab {
    border: none;
    background: transparent;
    color: #4b5563;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.2;
    padding: 8px 14px;
    border-radius: 999px;
    cursor: pointer;
    white-space: nowrap;
    transition: background-color 0.15s ease, color 0.15s ease;
}

.bos-reviews-source-tab:hover {
    background: #f3f4f6;
    color: var(--bos-rv-accent, var(--bos-accent, #111827));
}

.bos-reviews-source-tab.is-active {
    background: var(--bos-rv-accent, var(--bos-accent, #4A6EF6));
    color: var(--bos-accent-text, #fff);
}

.bos-google-empty {
    min-height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px dashed #d9dee8;
    border-radius: calc(var(--bos-rv-radius, 8px) + 1px);
    background: #fafbfd;
    color: #6b7280;
    font-size: 13px;
}

.bos-google-grid {
    display: grid;
    grid-template-columns: repeat(var(--bos-gg-cols-desktop, 3), minmax(0, 1fr));
    column-gap: var(--bos-google-grid-gap-column, 12px);
    row-gap: var(--bos-google-grid-gap-row, 20px);
}

@media (max-width: 1024px) {
    .bos-google-grid {
        grid-template-columns: repeat(var(--bos-gg-cols-tablet, 2), minmax(0, 1fr));
    }
}

@media (max-width: 767px) {
    .bos-google-grid {
        grid-template-columns: repeat(var(--bos-gg-cols-mobile, 1), minmax(0, 1fr));
    }
}

.bos-google-reply-wrap {
    border-top: 1px solid #eef2f7;
    padding-top: 8px;
    display: grid;
    gap: 6px;
}

.bos-google-reply-toggle {
    border: none;
    background: transparent;
    color: #374151;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    padding: 0;
    width: fit-content;
}

.bos-google-reply-box {
    background: var(--bos-google-reply-bg);
    border: 1px solid #e8edf5;
    border-radius: 10px;
    padding: 10px;
}

.bos-google-reply-text {
    margin: 0;
    color: #374151;
    font-size: 12px;
    line-height: 1.7;
    white-space: pre-line;
}

.bos-google-carousel {
    position: relative;
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 8px;
}

.bos-google-carousel-nav {
    width: 32px;
    height: 32px;
    border: 1px solid #d9dfe9;
    border-radius: 999px;
    background: #fff;
    color: #1f2937;
    font-size: 18px;
    line-height: 1;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.bos-google-carousel-nav:hover {
    background: #f8fafc;
}

.bos-google-carousel-viewport {
    overflow: hidden;
    min-width: 0;
}

.bos-google-carousel-track {
    display: flex;
    transition: transform 0.28s ease;
    will-change: transform;
}

.bos-google-carousel-item {
    flex: 0 0 100%;
    min-width: 100%;
    padding-inline: 4px;
    box-sizing: border-box;
}

@media (min-width: 768px) {
    .bos-google-carousel-item {
        flex-basis: 50%;
        min-width: 50%;
    }
}

@media (min-width: 1024px) {
    .bos-google-carousel-item {
        flex-basis: 33.3334%;
        min-width: 33.3334%;
    }
}

@media (max-width: 840px) {
    .bos-reviews-source-tabs {
        width: 100%;
        overflow-x: auto;
        padding: 4px;
        justify-content: center;
    }

    .bos-google-carousel {
        grid-template-columns: 1fr;
    }

    .bos-google-carousel-nav {
        display: none;
    }

    .bos-reviews-source-tab {
        flex: 1 1 0;
        min-width: 0;
        text-align: center;
    }

}

.bos-google-shortcode-shell {
    font-family: var(--bos-rv-font, var(--bos-font, inherit));
}

.bos-gr-photo-strip {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 10px;
}

.bos-gr-photo-thumb {
    position: relative;
    flex: 0 0 auto;
    border: none;
    padding: 0;
    background-color: #f3f4f6;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    cursor: pointer;
    overflow: hidden;
}

.bos-gr-photo-more {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(17, 24, 39, 0.56);
    color: #ffffff;
    font-size: 14px;
    font-weight: 700;
}

.bos-gr-lightbox {
    position: fixed;
    inset: 0;
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    background: rgba(0, 0, 0, 0.82);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease;
}

.bos-gr-lightbox.is-open {
    opacity: 1;
    pointer-events: auto;
}

.bos-gr-lightbox-dialog {
    position: relative;
    width: min(92vw, 920px);
    display: flex;
    align-items: center;
    justify-content: center;
}

.bos-gr-lightbox-image {
    display: block;
    max-width: 100%;
    max-height: 86vh;
    border-radius: 10px;
    opacity: 0;
    transition: opacity 0.2s ease;
}

.bos-gr-lightbox-image.is-ready {
    opacity: 1;
}

.bos-gr-lightbox-nav,
.bos-gr-lightbox-close {
    position: absolute;
    appearance: none;
    -webkit-appearance: none;
    border: none;
    outline: none;
    box-shadow: none;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
    user-select: none;
    transition: background .15s ease, border-color .15s ease, color .15s ease, opacity .15s ease;
    text-decoration: none;
}

.bos-gr-lightbox-nav:focus,
.bos-gr-lightbox-nav:focus-visible,
.bos-gr-lightbox-close:focus,
.bos-gr-lightbox-close:focus-visible {
    outline: none;
    box-shadow: none;
    background: rgba(17, 24, 39, 0.72);
    color: #ffffff;
}

.bos-gr-lightbox-nav {
    position: absolute;
    top: 50%;
    width: 46px;
    height: 46px;
    border-radius: 999px;
    transform: translateY(-50%);
    background: rgba(17, 24, 39, 0.72);
    color: #ffffff;
    font-size: 0;
    line-height: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.bos-gr-lightbox-prev {
    inset-inline-end: 16px;
}

.bos-gr-lightbox-next {
    inset-inline-start: 16px;
}

.bos-gr-lightbox-close {
    position: fixed;
    top: 16px;
    inset-inline-start: 16px;
    width: 38px;
    height: 38px;
    border-radius: 999px;
    border: none;
    background: rgba(17, 24, 39, 0.72);
    color: #ffffff;
    font-size: 0;
    line-height: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.bos-gr-lightbox-prev::before,
.bos-gr-lightbox-next::before,
.bos-gr-lightbox-close::before {
    display: block;
    line-height: 1;
}

.bos-gr-lightbox-prev::before {
    content: '←';
    font-size: 24px;
}

.bos-gr-lightbox-next::before {
    content: '→';
    font-size: 24px;
}

.bos-gr-lightbox-close::before {
    content: '×';
    font-size: 22px;
}

.bos-gr-lightbox-nav:hover,
.bos-gr-lightbox-nav:focus,
.bos-gr-lightbox-nav:focus-visible,
.bos-gr-lightbox-nav:active {
    background: rgba(255, 255, 255, 0.2);
    color: #ffffff;
}

.bos-gr-lightbox-close:hover,
.bos-gr-lightbox-close:focus,
.bos-gr-lightbox-close:focus-visible,
.bos-gr-lightbox-close:active {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.2);
}

.bos-google-grid.is-masonry {
    display: block;
    columns: var(--bos-gg-cols-desktop, 3);
    column-gap: var(--bos-google-grid-gap-column, 12px);
}

@media (max-width: 1024px) {
    .bos-google-grid.is-masonry {
        columns: var(--bos-gg-cols-tablet, 2);
    }
}

@media (max-width: 767px) {
    .bos-google-grid.is-masonry {
        columns: var(--bos-gg-cols-mobile, 1);
    }
}

.bos-google-grid.is-masonry .bos-review-item {
    break-inside: avoid;
    margin-bottom: var(--bos-google-grid-gap-row, 20px);
    display: block;
}

.bos-google-shortcode-wrap {
    --bos-rv-font-size-desktop: var(--bos-rv-font-size, 14px);
    --bos-rv-font-size-mobile: var(--bos-rv-font-size, 14px);
    --bos-rv-text-lines: 4;
    --bos-rv-arrow-hover-bg: #111827;
    --bos-rv-arrow-hover-color: #ffffff;
    --bos-rv-read-more-color: var(--bos-rv-accent, #111827);
    --bos-rv-read-more-hover-color: var(--bos-rv-accent, #111827);
    --bos-carousel-nav-safe-space-desktop: 0px;
    --bos-carousel-nav-safe-space-tablet: 0px;
    --bos-carousel-nav-safe-space-mobile: 0px;
    --bos-carousel-nav-safe-space: var(--bos-carousel-nav-safe-space-desktop);
    display: block;
    box-sizing: border-box;
    max-width: 100%;
    padding-inline: var(--bos-carousel-nav-safe-space);
}

.bos-review-item {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: var(--bos-rv-radius, 8px);
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.04);
    font-size: var(--bos-rv-font-size-desktop, var(--bos-rv-font-size, 14px));
}

.bos-review-item.bos-source-google {
    position: relative;
}

.bos-review-header {
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.bos-reviewer-avatar img {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    object-fit: cover;
    border: 1px solid #e5e7eb;
}

.bos-reviewer-avatar-fallback {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #eef2f7;
    color: #334155;
    font-weight: 700;
}

.bos-review-source {
    margin-inline-end: auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.bos-review-stars {
    display: flex;
    align-items: center;
    gap: 3px;
    color: var(--bos-rv-star, #f59e0b);
}

.bos-review-stars .bos-star {
    font-size: 16px;
    color: #d1d5db;
}

.bos-review-stars .bos-star.is-filled {
    color: var(--bos-rv-star, #f59e0b);
}

.bos-review-text {
    margin: 0;
    color: #374151;
    line-height: 1.7;
    white-space: pre-line;
    overflow: hidden;
}

.bos-review-text.is-collapsed {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: var(--bos-rv-text-lines, 4);
}

.bos-review-text.is-expanded {
    display: block;
    overflow: visible;
}

.bos-read-more-btn {
    width: fit-content;
    border: none;
    background: transparent;
    color: var(--bos-rv-read-more-color, var(--bos-rv-accent, #111827));
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    padding: 0;
    appearance: none;
    text-decoration: none;
    outline: none;
    box-shadow: none;
    -webkit-tap-highlight-color: transparent;
    transition: color 0.2s ease;
}

.bos-read-more-btn:hover,
.bos-read-more-btn:focus,
.bos-read-more-btn:focus-visible,
.bos-read-more-btn:active {
    background: transparent;
    color: var(--bos-rv-read-more-hover-color, var(--bos-rv-read-more-color, var(--bos-rv-accent, #111827)));
    outline: none;
    box-shadow: none;
}

.bos-gr-owner-response {
    margin-top: 10px;
    padding: 10px 12px;
    background: #f3f4f6;
    border-radius: calc(var(--bos-rv-radius, 8px) - 2px);
    border-inline-end: 3px solid var(--bos-rv-accent, #111827);
}

.bos-gr-owner-response-label {
    display: block;
    font-size: 11px;
    font-weight: 700;
    color: #374151;
    margin-bottom: 4px;
}

.bos-gr-owner-response-text {
    font-size: 13px;
    line-height: 1.5;
    color: #4b5563;
}

.bos-google-carousel {
    position: relative;
    display: block;
    overflow: visible;
    box-sizing: border-box;
    padding-inline: var(--bos-carousel-nav-safe-space);
    touch-action: pan-y pinch-zoom;
    --bos-carousel-gap-desktop: 20px;
    --bos-carousel-gap-tablet: 20px;
    --bos-carousel-gap-mobile: 16px;
    --bos-carousel-peek-desktop: 44px;
    --bos-carousel-peek-tablet: 32px;
    --bos-carousel-peek-mobile: 0px;
    --bos-carousel-nav-offset-x-desktop: 0px;
    --bos-carousel-nav-offset-x-tablet: 0px;
    --bos-carousel-nav-offset-x-mobile: 0px;
    --bos-carousel-nav-offset-y-desktop: 0px;
    --bos-carousel-nav-offset-y-tablet: 0px;
    --bos-carousel-nav-offset-y-mobile: 0px;
    --bos-carousel-gap-active: var(--bos-carousel-gap-desktop);
    --bos-carousel-peek: var(--bos-carousel-peek-desktop);
    --bos-carousel-nav-offset-x: var(--bos-carousel-nav-offset-x-desktop);
    --bos-carousel-nav-offset-y: var(--bos-carousel-nav-offset-y-desktop);
    --bos-carousel-nav-safe-space: var(--bos-carousel-nav-safe-space-desktop);
}

.bos-carousel-viewport {
    overflow: hidden;
    width: 100%;
    min-width: 0;
}

.bos-carousel-track {
    display: flex;
    align-items: stretch;
    gap: var(--bos-carousel-gap-active);
    min-width: 0;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    padding-block: 4px;
    padding-inline: var(--bos-carousel-peek);
    scroll-padding-inline: var(--bos-carousel-peek);
    scrollbar-width: none;
    touch-action: pan-x pan-y;
}

.bos-carousel-track::-webkit-scrollbar {
    display: none;
}

.bos-carousel-track > * {
    scroll-snap-align: start;
    scroll-snap-stop: normal;
}

.bos-google-carousel-card {
    display: flex;
    align-self: stretch;
}

.bos-google-carousel-card .bos-review-item {
    width: 100%;
    height: 100%;
}

.bos-carousel-prev,
.bos-carousel-next {
    position: absolute;
    top: calc(50% + var(--bos-carousel-nav-offset-y));
    transform: translateY(-50%);
    background: white;
    border: 1px solid #ddd;
    border-radius: 50%;
    width: 36px;
    height: 36px;
    cursor: pointer;
    font-size: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
    color: #111827;
    appearance: none;
    outline: none;
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
    -webkit-tap-highlight-color: transparent;
    transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.bos-carousel-prev[disabled],
.bos-carousel-next[disabled] {
    opacity: 0.45;
    cursor: default;
    pointer-events: none;
}

.bos-carousel-prev {
    inset-inline-end: calc(var(--bos-carousel-nav-safe-space) + var(--bos-carousel-nav-offset-x));
}

.bos-carousel-next {
    inset-inline-start: calc(var(--bos-carousel-nav-safe-space) + var(--bos-carousel-nav-offset-x));
}

.bos-google-carousel.is-rtl .bos-carousel-prev {
    inset-inline-start: calc(var(--bos-carousel-nav-safe-space) + var(--bos-carousel-nav-offset-x));
    inset-inline-end: auto;
}

.bos-google-carousel.is-rtl .bos-carousel-next {
    inset-inline-end: calc(var(--bos-carousel-nav-safe-space) + var(--bos-carousel-nav-offset-x));
    inset-inline-start: auto;
}

.bos-google-carousel[data-nav-direction="default"] .bos-carousel-prev {
    inset-inline-end: calc(var(--bos-carousel-nav-safe-space) + var(--bos-carousel-nav-offset-x));
    inset-inline-start: auto;
}

.bos-google-carousel[data-nav-direction="default"] .bos-carousel-next {
    inset-inline-start: calc(var(--bos-carousel-nav-safe-space) + var(--bos-carousel-nav-offset-x));
    inset-inline-end: auto;
}

.bos-google-carousel[data-nav-direction="reverse"] .bos-carousel-prev {
    inset-inline-start: calc(var(--bos-carousel-nav-safe-space) + var(--bos-carousel-nav-offset-x));
    inset-inline-end: auto;
}

.bos-google-carousel[data-nav-direction="reverse"] .bos-carousel-next {
    inset-inline-end: calc(var(--bos-carousel-nav-safe-space) + var(--bos-carousel-nav-offset-x));
    inset-inline-start: auto;
}

.bos-carousel-prev:hover,
.bos-carousel-prev:focus,
.bos-carousel-prev:focus-visible,
.bos-carousel-prev:active,
.bos-carousel-next:hover,
.bos-carousel-next:focus,
.bos-carousel-next:focus-visible,
.bos-carousel-next:active {
    background: var(--bos-rv-arrow-hover-bg, #111827);
    color: var(--bos-rv-arrow-hover-color, #ffffff);
    border-color: var(--bos-rv-arrow-hover-bg, #111827);
    outline: none;
    box-shadow: none;
}

.bos-carousel-pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-top: 14px;
}

.bos-carousel-pagination[hidden] {
    display: none;
}

.bos-carousel-pagination.is-dots {
    gap: 8px;
}

.bos-carousel-dot {
    width: 10px;
    height: 10px;
    border: none;
    border-radius: 999px;
    background: #d1d5db;
    cursor: pointer;
    transition: transform 0.2s ease, background-color 0.2s ease;
}

.bos-carousel-dot.is-active {
    background: var(--bos-rv-accent, var(--bos-accent, #111827));
    transform: scale(1.15);
}

.bos-carousel-pagination-fraction {
    font-size: 13px;
    font-weight: 600;
    color: #374151;
}

.bos-carousel-pagination-progress {
    display: block;
    width: min(220px, 70%);
    height: 4px;
    background: #e5e7eb;
    border-radius: 999px;
    overflow: hidden;
}

.bos-carousel-pagination-progress-bar {
    display: block;
    height: 100%;
    background: var(--bos-rv-accent, var(--bos-accent, #111827));
    border-radius: 999px;
    transition: width 0.3s ease;
}

@media (max-width: 767px) {
    .bos-google-grid {
        grid-template-columns: repeat(var(--bos-gg-cols-mobile, 1), minmax(0, 1fr));
    }

    .bos-review-item {
        font-size: var(--bos-rv-font-size-mobile, var(--bos-rv-font-size-desktop, var(--bos-rv-font-size, 14px)));
    }

    .bos-google-grid.is-masonry {
        columns: var(--bos-gg-cols-mobile, 1);
    }

    .bos-carousel-track {
        padding-inline: var(--bos-carousel-peek);
    }
}

@media (max-width: 1023px) {
    .bos-google-carousel {
        --bos-carousel-gap-active: var(--bos-carousel-gap-tablet);
        --bos-carousel-peek: var(--bos-carousel-peek-tablet);
        --bos-carousel-nav-offset-x: var(--bos-carousel-nav-offset-x-tablet);
        --bos-carousel-nav-offset-y: var(--bos-carousel-nav-offset-y-tablet);
        --bos-carousel-nav-safe-space: var(--bos-carousel-nav-safe-space-tablet);
    }

    .bos-google-shortcode-wrap {
        --bos-carousel-nav-safe-space: var(--bos-carousel-nav-safe-space-tablet);
    }
}

@media (max-width: 767px) {
    .bos-google-carousel {
        --bos-carousel-gap-active: var(--bos-carousel-gap-mobile);
        --bos-carousel-peek: var(--bos-carousel-peek-mobile);
        --bos-carousel-nav-offset-x: var(--bos-carousel-nav-offset-x-mobile);
        --bos-carousel-nav-offset-y: var(--bos-carousel-nav-offset-y-mobile);
        --bos-carousel-nav-safe-space: var(--bos-carousel-nav-safe-space-mobile);
    }

    .bos-google-shortcode-wrap {
        --bos-carousel-nav-safe-space: var(--bos-carousel-nav-safe-space-mobile);
    }
}

/* Default: carousel always fills 100% of its Elementor container width at every viewport.
   Nav safe-space is removed so .bos-google-carousel and .bos-google-shortcode-wrap have no
   horizontal padding - the track extends edge-to-edge. Peek is kept as configured by the
   widget. Arrows overlay the card edges via absolute positioning (z-index: 2). To add side
   margins, configure the Elementor container / shortcode widget itself. */
.bos-google-carousel,
.bos-google-shortcode-wrap {
    --bos-carousel-nav-safe-space: 0px !important;
    padding-inline: 0 !important;
}

.bos-google-carousel .bos-carousel-prev,
.bos-google-carousel .bos-carousel-next {
    z-index: 2;
}

/* Final cleanup: classic stars layout + tidy structure */
.bos-reviews-main-content .bos-reviews-filters {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
    padding: 14px 16px;
    border: 1px solid #e5e9f0;
    border-radius: calc(var(--bos-rv-radius, 8px) + 2px);
    background: #fff;
}

.bos-reviews-main-content .bos-reviews-filters-top {
    display: grid;
    grid-template-columns: auto minmax(240px, 330px) auto;
    grid-template-areas: 'viewall search heading';
    align-items: center;
    gap: 10px;
}

.bos-reviews-main-content .bos-reviews-filters-heading {
    grid-area: heading;
    justify-self: end;
}

.bos-reviews-main-content .bos-reviews-search {
    grid-area: search;
    width: 100%;
    min-height: 36px;
    margin: 0;
}

.bos-reviews-main-content .bos-reviews-view-all {
    grid-area: viewall;
    justify-self: start;
    min-height: 34px;
    padding-inline: 12px;
}

.bos-reviews-main-content .bos-reviews-section-title {
    margin: 0;
    font-size: 18px;
    font-weight: 700;
    line-height: 1.2;
}

.bos-reviews-main-content .bos-reviews-filters-bottom {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
}

.bos-reviews-main-content .bos-star-filter {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 6px;
    min-width: 0;
    overflow-x: auto;
    padding-bottom: 2px;
    scrollbar-width: thin;
}

.bos-reviews-main-content .bos-star-chip {
    flex: 0 0 auto;
    min-width: 42px;
    height: 30px;
    padding: 0 10px;
    border: 1px solid #d7dce5;
    border-radius: 999px;
    background: #fff;
    color: #1f2937;
    font-size: 12px;
    line-height: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.bos-reviews-main-content .bos-star-chip.active {
    border-color: #111827;
    background: #111827;
    color: #fff;
}

.bos-reviews-main-content .bos-reviews-filter-select-wrap {
    flex: 0 0 auto;
}

.bos-reviews-main-content .bos-reviews-sort-select {
    min-width: 180px;
    min-height: 36px;
    padding-inline: 14px 36px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%236b7280' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: 12px 50%;
}

@media (max-width: 980px) {
    .bos-reviews-main-content .bos-reviews-filters-top {
        grid-template-columns: 1fr;
        grid-template-areas:
            'heading'
            'search'
            'viewall';
    }

    .bos-reviews-main-content .bos-reviews-filters-heading,
    .bos-reviews-main-content .bos-reviews-view-all {
        justify-self: start;
    }

    .bos-reviews-main-content .bos-reviews-filters-bottom {
        display: grid;
        grid-template-columns: 1fr;
    }

    .bos-reviews-main-content .bos-reviews-sort-select,
    .bos-reviews-main-content .bos-reviews-filter-select-wrap {
        width: 100%;
        min-width: 0;
    }
}

/* Root fix: frontend DS base for reviews (prevent theme override) */
.bos-reviews-wrap {
    --bos-rv-border: #dbe1eb;
    --bos-rv-text: #111827;
    --bos-rv-muted: #6b7280;
    --bos-rv-surface: #ffffff;
    --bos-rv-soft: #f8fafc;
}

.bos-reviews-wrap .bos-card {
    background: var(--bos-rv-surface);
    border: 1px solid var(--bos-rv-border);
    border-radius: calc(var(--bos-rv-radius, 8px) + 2px);
    box-shadow: none;
}

.bos-reviews-wrap .bos-btn {
    appearance: none;
    -webkit-appearance: none;
    border: 1px solid var(--bos-rv-border);
    background: #fff;
    color: var(--bos-rv-text);
    border-radius: 10px;
    height: 36px;
    padding: 0 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    font-weight: 500;
    line-height: 1;
    text-decoration: none;
    box-shadow: none;
    cursor: pointer;
    transition: border-color .15s ease, background-color .15s ease, color .15s ease;
}

.bos-reviews-wrap .bos-btn:hover {
    border-color: #c8d0de;
    background: #fff;
    color: var(--bos-rv-text);
}

.bos-reviews-wrap .bos-btn-primary {
    background: #111827;
    border-color: #111827;
    color: #fff;
}

.bos-reviews-wrap .bos-btn-primary:hover {
    background: #1f2937;
    border-color: #1f2937;
    color: #fff;
}

.bos-reviews-wrap .bos-btn-secondary,
.bos-reviews-wrap .bos-btn-ghost {
    background: #fff;
    border-color: var(--bos-rv-border);
    color: #374151;
}

.bos-reviews-wrap .bos-btn-sm {
    height: 32px;
    font-size: 12px;
    padding-inline: 10px;
}

.bos-reviews-wrap .bos-input,
.bos-reviews-wrap .bos-select,
.bos-reviews-wrap .bos-textarea {
    appearance: none;
    -webkit-appearance: none;
    width: 100%;
    background: #fff;
    border: 1px solid #d4d9e3;
    color: var(--bos-rv-text);
    border-radius: 10px;
    font-size: 13px;
    line-height: 1.3;
    padding: 10px 12px;
    box-shadow: none;
    outline: none;
}

.bos-reviews-wrap .bos-input::placeholder,
.bos-reviews-wrap .bos-textarea::placeholder {
    color: #9aa3b2;
}

.bos-reviews-wrap .bos-input:focus,
.bos-reviews-wrap .bos-select:focus,
.bos-reviews-wrap .bos-textarea:focus {
    border-color: #111827;
    box-shadow: 0 0 0 3px rgba(17, 24, 39, 0.08);
}

.bos-reviews-wrap .bos-empty-state {
    background: var(--bos-rv-soft);
    border: 1px dashed #d7dce5;
    border-radius: calc(var(--bos-rv-radius, 8px) + 2px);
    padding: 28px 16px;
    text-align: center;
}

.bos-reviews-wrap .bos-empty-title {
    margin: 0;
    color: #111827;
    font-size: 18px;
    font-weight: 700;
}

.bos-reviews-wrap .bos-empty-desc {
    margin: 8px 0 0;
    color: var(--bos-rv-muted);
    font-size: 13px;
}

/* Frontend layout lock: enforce stable Smart Reviews structure (RTL). */
.bos-reviews-wrap .bos-reviews-main-shell {
    display: grid !important;
    grid-template-columns: minmax(280px, 35%) minmax(0, 65%) !important;
    gap: 16px !important;
    align-items: start !important;
}

.bos-reviews-wrap .bos-reviews-main-shell.no-summary {
    grid-template-columns: 1fr !important;
}

.bos-reviews-wrap .bos-reviews-main-aside,
.bos-reviews-wrap .bos-reviews-main-content {
    min-width: 0;
}

.bos-reviews-wrap .bos-reviews-main-aside .bos-reviews-summary {
    grid-template-columns: 1fr !important;
    gap: 12px;
    padding: 14px;
}

.bos-reviews-wrap .bos-reviews-main-aside .bos-reviews-photos-section {
    min-height: 126px;
}

.bos-reviews-wrap .bos-reviews-main-content {
    display: grid;
    gap: 12px;
}

.bos-reviews-wrap .bos-reviews-main-content .bos-reviews-filters {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 10px !important;
    padding: 14px 16px !important;
    margin: 0;
    border: 1px solid #e5e9f0;
    border-radius: calc(var(--bos-rv-radius, 8px) + 2px);
    background: #fff;
}

.bos-reviews-wrap .bos-reviews-main-content .bos-reviews-filters-top {
    display: grid !important;
    grid-template-columns: auto minmax(240px, 360px) auto !important;
    grid-template-areas: 'heading search viewall' !important;
    align-items: center;
    gap: 10px;
}

.bos-reviews-wrap .bos-reviews-main-content .bos-reviews-filters-heading {
    grid-area: heading;
    justify-self: end;
}

.bos-reviews-wrap .bos-reviews-main-content .bos-reviews-section-title {
    margin: 0;
    font-size: 18px;
    font-weight: 700;
    line-height: 1.2;
}

.bos-reviews-wrap .bos-reviews-main-content .bos-reviews-search {
    grid-area: search;
    width: 100%;
    min-width: 0;
    max-width: none;
    min-height: 36px;
    margin: 0;
}

.bos-reviews-wrap .bos-reviews-main-content .bos-reviews-view-all {
    grid-area: viewall;
    justify-self: start;
    min-height: 34px;
    padding-inline: 12px;
}

.bos-reviews-wrap .bos-reviews-main-content .bos-reviews-filters-bottom {
    display: flex !important;
    align-items: center;
    gap: 10px;
    min-width: 0;
}

.bos-reviews-wrap .bos-reviews-main-content .bos-star-filter {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 6px;
    min-width: 0;
    overflow-x: auto;
    padding-bottom: 2px;
}

.bos-reviews-wrap .bos-reviews-main-content .bos-reviews-filter-select-wrap {
    flex: 0 0 auto;
}

.bos-reviews-wrap .bos-reviews-main-content .bos-reviews-sort-select {
    min-width: 188px;
    min-height: 36px;
    padding-inline: 14px 36px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%236b7280' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: 12px 50%;
}

@media (max-width: 980px) {
    .bos-reviews-wrap .bos-reviews-main-shell {
        grid-template-columns: 1fr !important;
    }

    .bos-reviews-wrap .bos-reviews-main-content .bos-reviews-filters-top {
        grid-template-columns: 1fr !important;
        grid-template-areas:
            'heading'
            'search'
            'viewall' !important;
    }

    .bos-reviews-wrap .bos-reviews-main-content .bos-reviews-filters-heading,
    .bos-reviews-wrap .bos-reviews-main-content .bos-reviews-view-all {
        justify-self: start;
    }

    .bos-reviews-wrap .bos-reviews-main-content .bos-reviews-filters-bottom {
        display: grid !important;
        grid-template-columns: 1fr;
    }

    .bos-reviews-wrap .bos-reviews-main-content .bos-reviews-filter-select-wrap,
    .bos-reviews-wrap .bos-reviews-main-content .bos-reviews-sort-select {
        width: 100%;
        min-width: 0;
    }
}

/* Reviews toolbar simplification: no search, title right, "view all" minimal text left. */
.bos-reviews-wrap .bos-reviews-main-content .bos-reviews-filters-top {
    display: flex !important;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.bos-reviews-wrap .bos-reviews-main-content .bos-reviews-search {
    display: none !important;
}

.bos-reviews-wrap .bos-reviews-main-content .bos-reviews-filters-heading {
    justify-self: auto;
}

.bos-reviews-wrap .bos-reviews-main-content .bos-reviews-view-all,
.bos-reviews-wrap .bos-reviews-main-content .bos-reviews-view-all-text {
    appearance: none;
    -webkit-appearance: none;
    background: transparent;
    border: 0;
    padding: 0;
    margin: 0;
    min-height: 0;
    color: #6b7280;
    font-size: 13px;
    font-weight: 500;
    line-height: 1.2;
    text-decoration: none;
    cursor: pointer;
}

.bos-reviews-wrap .bos-reviews-main-content .bos-reviews-view-all:hover,
.bos-reviews-wrap .bos-reviews-main-content .bos-reviews-view-all-text:hover {
    color: #111827;
}

@media (max-width: 980px) {
    .bos-reviews-wrap .bos-reviews-main-content .bos-reviews-filters-top {
        align-items: center;
    }
}

/* Premium hardening: prevent browser/theme default colors from leaking into reviews UI. */
.bos-reviews-wrap .bos-rating-bar-row,
.bos-reviews-wrap .bos-helpful-btn,
.bos-reviews-wrap .bos-share-btn,
.bos-reviews-wrap .bos-star-chip,
.bos-reviews-wrap .bos-reviews-view-all-text,
.bos-reviews-wrap .bos-reviews-filter-select,
.bos-reviews-wrap .bos-reviews-sort-select,
.bos-reviews-wrap .bos-slider-prev,
.bos-reviews-wrap .bos-slider-next {
    appearance: none !important;
    -webkit-appearance: none !important;
    box-shadow: none !important;
    outline: none !important;
    text-shadow: none !important;
}

.bos-reviews-wrap .bos-rating-bar-row,
.bos-reviews-wrap .bos-rating-bar-row:hover,
.bos-reviews-wrap .bos-rating-bar-row:focus,
.bos-reviews-wrap .bos-rating-bar-row:focus-visible,
.bos-reviews-wrap .bos-rating-bar-row:active {
    background: transparent !important;
    border: 0 !important;
    color: #111827 !important;
}

.bos-reviews-wrap .bos-helpful-btn {
    background: #fff !important;
    border: 1px solid #d7dce5 !important;
    color: #6b7280 !important;
}

.bos-reviews-wrap .bos-helpful-btn:hover {
    background: #f8fafc !important;
    border-color: #c8d0de !important;
    color: #374151 !important;
}

.bos-reviews-wrap .bos-helpful-btn.active {
    border-color: var(--bos-rv-accent, var(--bos-accent, #4A6EF6)) !important;
    color: var(--bos-rv-accent, var(--bos-accent, #4A6EF6)) !important;
    background: var(--bos-rv-accent-light) !important;
}

.bos-reviews-wrap .bos-helpful-btn:disabled {
    opacity: .75 !important;
    background: #fff !important;
}

.bos-reviews-wrap .bos-share-btn {
    width: 30px;
    height: 30px;
    border-radius: 999px;
    border: 1px solid transparent !important;
}

.bos-reviews-wrap .bos-share-btn svg {
    width: 16px;
    height: 16px;
    display: block;
}

.bos-reviews-wrap .bos-share-facebook {
    background: #1877f2 !important;
    border-color: #1877f2 !important;
    color: #fff !important;
}

.bos-reviews-wrap .bos-share-whatsapp {
    background: #25d366 !important;
    border-color: #25d366 !important;
    color: #fff !important;
}

.bos-reviews-wrap .bos-share-copy {
    background: #fff !important;
    border-color: #d7dce5 !important;
    color: #374151 !important;
}

.bos-reviews-wrap .bos-share-copy:hover {
    background: #f8fafc !important;
    border-color: #c8d0de !important;
    color: #111827 !important;
}

/* Keep reviews area width stable while filtering/loading/empty states. */
.bos-reviews-wrap .bos-reviews-main-content {
    align-content: start;
}

.bos-reviews-wrap .bos-reviews-results-shell {
    width: 100%;
    min-width: 0;
    display: grid;
    gap: 12px;
}

.bos-reviews-wrap .bos-reviews-results-shell > * {
    width: 100%;
    min-width: 0;
}

.bos-reviews-wrap .bos-reviews-loading {
    width: 100%;
    min-height: 140px;
    border: 1px solid #e5e9f0;
    border-radius: calc(var(--bos-rv-radius, 8px) + 1px);
    background: #fff;
}

.bos-reviews-wrap .bos-reviews-loading-text {
    color: #6b7280;
    font-size: 13px;
    font-weight: 400;
}

.bos-reviews-wrap .bos-reviews-empty-state {
    width: 100%;
    min-height: 120px;
    border: 1px dashed #d9dfe9;
    border-radius: calc(var(--bos-rv-radius, 8px) + 1px);
    background: linear-gradient(180deg, #fcfdff 0%, #f7f9fc 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
}

.bos-reviews-wrap .bos-reviews-empty-card {
    width: min(100%, 460px);
    display: grid;
    justify-items: center;
    gap: 10px;
    text-align: center;
}

.bos-reviews-wrap .bos-reviews-empty-stars {
    color: #d4af37;
    font-size: 18px;
    letter-spacing: 3px;
    line-height: 1;
}

.bos-reviews-wrap .bos-reviews-empty-title {
    margin: 0;
    color: #111827;
    font-size: 20px;
    font-weight: 700;
    line-height: 1.25;
}

.bos-reviews-wrap .bos-reviews-empty-text {
    margin: 0;
    color: #6b7280;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.6;
    text-align: center;
    max-width: 42ch;
}

.bos-reviews-wrap .bos-reviews-empty-cta {
    min-height: 40px;
    padding: 0 16px;
    border-radius: 999px;
    border: 1px solid var(--bos-rv-accent, #111111) !important;
    background: var(--bos-rv-accent, #111111) !important;
    color: #ffffff !important;
    font-size: 13px;
    font-weight: 700;
}

.bos-reviews-wrap .bos-reviews-empty-cta:hover {
    opacity: .94;
    color: #ffffff !important;
}

/* Final stability pass: no horizontal chips scrollbar, no layout squeeze on filtering. */
.bos-reviews-wrap .bos-reviews-main-content .bos-reviews-filters-bottom {
    display: flex !important;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

.bos-reviews-wrap .bos-reviews-main-content .bos-star-filter {
    flex: 1 1 420px;
    min-width: 280px;
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    overflow: visible !important;
    padding-bottom: 0;
    scrollbar-width: none !important;
}

.bos-reviews-wrap .bos-reviews-main-content .bos-star-filter::-webkit-scrollbar {
    display: none !important;
}

.bos-reviews-wrap .bos-reviews-main-content .bos-reviews-filter-select-wrap {
    flex: 0 0 auto;
}

.bos-reviews-wrap .bos-reviews-main-content .bos-reviews-sort-select {
    min-width: 200px;
}

.bos-reviews-wrap .bos-reviews-results-shell {
    min-height: 250px;
}

.bos-reviews-wrap .bos-reviews-loading,
.bos-reviews-wrap .bos-reviews-empty-state {
    min-height: 250px;
}

.bos-reviews-wrap .bos-reviews-empty-text {
    font-size: 12px;
    font-weight: 400;
    opacity: .95;
}

/* Sharper share icons */
.bos-reviews-wrap .bos-review-share {
    gap: 8px;
}

.bos-reviews-wrap .bos-share-btn {
    width: 32px;
    height: 32px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: transform .15s ease, opacity .15s ease, border-color .15s ease, background-color .15s ease;
}

.bos-reviews-wrap .bos-share-btn:hover {
    transform: translateY(-1px);
    opacity: 1;
}

.bos-reviews-wrap .bos-share-btn svg {
    width: 17px;
    height: 17px;
}

.bos-reviews-wrap .bos-share-copy svg {
    width: 16px;
    height: 16px;
}

@media (max-width: 980px) {
    .bos-reviews-wrap .bos-reviews-main-content .bos-star-filter {
        flex: 1 1 100%;
        min-width: 0;
    }

    .bos-reviews-wrap .bos-reviews-main-content .bos-reviews-filter-select-wrap,
    .bos-reviews-wrap .bos-reviews-main-content .bos-reviews-sort-select {
        width: 100%;
        min-width: 0;
    }
}

/* Top action button: write review (accent-driven, fallback already set in runtime vars). */
.bos-reviews-wrap .bos-reviews-main-content .bos-reviews-open-review {
    min-height: 34px;
    padding: 0 12px;
    border-radius: 10px;
    border: 1px solid var(--bos-rv-accent, #111111) !important;
    background: var(--bos-rv-accent, #111111) !important;
    color: #ffffff !important;
    font-size: 12px;
    font-weight: 600;
    line-height: 1;
    white-space: nowrap;
}

.bos-reviews-wrap .bos-reviews-main-content .bos-reviews-open-review:hover {
    opacity: .92;
    color: #ffffff !important;
}

.bos-reviews-wrap .bos-reviews-main-content .bos-reviews-open-review:focus,
.bos-reviews-wrap .bos-reviews-main-content .bos-reviews-open-review:focus-visible {
    box-shadow: 0 0 0 3px color-mix(in srgb, var(--bos-rv-accent, #111111) 20%, #fff) !important;
}

/* Ensure chip row never shows horizontal scroll bar. */
.bos-reviews-wrap .bos-reviews-main-content .bos-star-filter,
.bos-reviews-wrap .bos-reviews-main-content .bos-star-filter * {
    scrollbar-width: none !important;
}

.bos-reviews-wrap .bos-reviews-main-content .bos-star-filter {
    -ms-overflow-style: none !important;
}

.bos-reviews-wrap .bos-reviews-main-content .bos-star-filter::-webkit-scrollbar,
.bos-reviews-wrap .bos-reviews-main-content .bos-star-filter *::-webkit-scrollbar {
    width: 0 !important;
    height: 0 !important;
    display: none !important;
}

/* Keep same visual footprint when result list is empty/loading. */
.bos-reviews-wrap .bos-reviews-results-shell,
.bos-reviews-wrap .bos-reviews-loading,
.bos-reviews-wrap .bos-reviews-empty-state {
    min-height: 240px;
}

.bos-reviews-wrap .bos-reviews-empty-text {
    font-size: 14px;
    font-weight: 400;
}

/* Stable filters width + refresh only reviews list body */
.bos-reviews-wrap .bos-reviews-main-content .bos-reviews-filters,
.bos-reviews-wrap .bos-reviews-main-content .bos-reviews-filters-top,
.bos-reviews-wrap .bos-reviews-main-content .bos-reviews-filters-bottom {
    width: 100% !important;
    min-width: 0 !important;
}

.bos-reviews-wrap .bos-reviews-main-content .bos-reviews-filters-bottom {
    min-height: 40px;
}

.bos-reviews-wrap .bos-reviews-main-content .bos-star-filter {
    flex: 1 1 auto !important;
    min-width: 0 !important;
}

.bos-reviews-wrap .bos-reviews-results-shell {
    position: relative;
}

.bos-reviews-wrap .bos-reviews-results-shell.is-refreshing > *:not(.bos-reviews-refresh-overlay) {
    opacity: .66;
    transition: opacity .12s ease;
}

.bos-reviews-wrap .bos-reviews-refresh-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.38);
    pointer-events: none;
    border-radius: inherit;
}

/* Width lock: keep top filters/add-review area identical even when results are empty */
.bos-reviews-wrap,
.bos-reviews-wrap .bos-reviews-runtime,
.bos-reviews-wrap .bos-reviews-main-shell,
.bos-reviews-wrap .bos-reviews-main-content,
.bos-reviews-wrap .bos-reviews-main-content .bos-reviews-filters,
.bos-reviews-wrap .bos-reviews-main-content .bos-reviews-filters-top,
.bos-reviews-wrap .bos-reviews-main-content .bos-reviews-filters-bottom,
.bos-reviews-wrap .bos-reviews-results-shell {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    box-sizing: border-box;
}

.bos-reviews-wrap .bos-reviews-main-content {
    grid-template-columns: minmax(0, 1fr) !important;
    justify-items: stretch !important;
    align-items: start !important;
}

.bos-reviews-wrap .bos-reviews-results-shell {
    justify-items: stretch !important;
    align-items: start !important;
}

.bos-reviews-wrap .bos-reviews-results-shell > .bos-reviews-empty-state,
.bos-reviews-wrap .bos-reviews-results-shell > .bos-reviews-loading,
.bos-reviews-wrap .bos-reviews-results-shell > .bos-reviews-grid,
.bos-reviews-wrap .bos-reviews-results-shell > .bos-reviews-slider,
.bos-reviews-wrap .bos-reviews-results-shell > .bos-reviews-pagination {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
}

/* Keep toolbar frame height fixed across empty/non-empty states */
.bos-reviews-wrap .bos-reviews-main-content .bos-reviews-filters-top {
    min-height: 38px;
}

.bos-reviews-wrap .bos-reviews-main-content .bos-reviews-filters-bottom {
    min-height: 40px;
}

/* Root anti-shrink lock: force full-width even when no reviews exist */
.bos-reviews-wrap {
    display: block !important;
    width: 100% !important;
    inline-size: 100% !important;
    max-width: none !important;
    max-inline-size: none !important;
    margin: 0 !important;
    flex: 1 1 100% !important;
    align-self: stretch !important;
}

.bos-reviews-wrap .bos-reviews-runtime {
    display: grid !important;
    width: 100% !important;
    min-width: 0 !important;
}

.bos-reviews-wrap .bos-reviews-main-shell,
.bos-reviews-wrap .bos-reviews-main-shell.no-summary,
.bos-reviews-wrap .bos-reviews-main-content,
.bos-reviews-wrap .bos-reviews-main-content .bos-reviews-filters,
.bos-reviews-wrap .bos-reviews-main-content .bos-reviews-filters-top,
.bos-reviews-wrap .bos-reviews-main-content .bos-reviews-filters-bottom,
.bos-reviews-wrap .bos-reviews-results-shell,
.bos-reviews-wrap .bos-reviews-empty-state {
    justify-self: stretch !important;
    align-self: stretch !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    margin-inline: 0 !important;
}

/* Share icons via Dashicons (clean + consistent with WP admin language) */
.bos-reviews-wrap .bos-share-btn .dashicons {
    width: 16px;
    height: 16px;
    font-size: 16px;
    line-height: 16px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: dashicons !important;
}

.bos-reviews-wrap .bos-share-btn .dashicons:before {
    font-family: dashicons !important;
    display: block;
    width: 16px;
    height: 16px;
    line-height: 16px;
    font-size: 16px;
}

.bos-reviews-wrap .bos-share-facebook .dashicons,
.bos-reviews-wrap .bos-share-whatsapp .dashicons {
    color: #fff;
}

.bos-reviews-wrap .bos-share-copy .dashicons {
    color: currentColor;
}

/* Elementor host wrapper hard-lock (prevents shortcode widget shrink on empty results) */
.bos-reviews-host-fixed {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    box-sizing: border-box !important;
}

.elementor-shortcode.bos-reviews-host-fixed,
.elementor-widget-container.bos-reviews-host-fixed {
    display: block !important;
}

.elementor-element.bos-reviews-host-fixed,
.elementor-widget-shortcode.bos-reviews-host-fixed {
    flex: 1 1 100% !important;
    align-self: stretch !important;
}

/* Review form modal (replaces old inline bottom form button) */
.bos-review-modal-overlay {
    position: fixed;
    inset: 0;
    z-index: 100000;
    background: rgba(10, 15, 25, 0.48);
    backdrop-filter: blur(2px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
}

.bos-review-modal {
    width: min(760px, calc(100vw - 32px));
    max-width: 100%;
    max-height: calc(100vh - 40px);
    background: #fff;
    border: 1px solid #e5e9f0;
    border-radius: 14px;
    box-shadow: 0 24px 70px rgba(15, 23, 42, 0.28);
    display: grid;
    grid-template-rows: auto minmax(0, 1fr);
    overflow: hidden;
}

.bos-review-modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 14px 16px;
    border-bottom: 1px solid #eef1f6;
    background: #fff;
}

.bos-review-modal-header .bos-card-title {
    margin: 0;
    font-size: 18px;
    font-weight: 700;
    color: #111827;
}

.bos-review-modal-close {
    width: 34px;
    height: 34px;
    border-radius: 999px;
    border: 1px solid #d8dde7;
    background: #fff;
    color: #6b7280;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all .15s ease;
}

.bos-review-modal-close:hover {
    border-color: #111827;
    color: #111827;
    background: #f8fafc;
}

.bos-review-modal-close .dashicons {
    width: 18px;
    height: 18px;
    font-size: 18px;
    line-height: 18px;
}

.bos-review-modal .bos-review-form {
    margin: 0;
    padding: 14px 16px 16px;
    display: grid;
    gap: 12px;
    overflow: auto;
}

@media (max-width: 640px) {
    .bos-review-modal-overlay {
        padding: 12px;
    }

    .bos-review-modal {
        width: calc(100vw - 16px);
        max-height: calc(100vh - 16px);
        border-radius: 12px;
    }
}

/* Mobile polish: reviews area + modal popup */
@media (max-width: 767px) {
    .bos-reviews-wrap .bos-reviews-main-shell,
    .bos-reviews-wrap .bos-reviews-main-shell.no-summary {
        grid-template-columns: 1fr !important;
        gap: 12px !important;
    }

    .bos-reviews-wrap .bos-reviews-main-content {
        gap: 10px;
    }

    .bos-reviews-wrap .bos-reviews-main-content .bos-reviews-filters {
        padding: 12px !important;
        border-radius: 12px;
    }

    .bos-reviews-wrap .bos-reviews-main-content .bos-reviews-filters-top {
        grid-template-columns: 1fr auto !important;
        gap: 10px;
        min-height: 36px;
    }

    .bos-reviews-wrap .bos-reviews-main-content .bos-reviews-section-title {
        font-size: 24px;
    }

    .bos-reviews-wrap .bos-reviews-main-content .bos-reviews-open-review {
        min-height: 36px;
        padding: 0 10px;
        font-size: 12px;
    }

    .bos-reviews-wrap .bos-reviews-main-content .bos-reviews-filters-bottom {
        display: grid !important;
        grid-template-columns: 1fr;
        gap: 8px;
        min-height: 0;
    }

    .bos-reviews-wrap .bos-reviews-main-content .bos-star-filter {
        width: 100%;
        flex: 1 1 100% !important;
        min-width: 0 !important;
        flex-wrap: nowrap;
        overflow-x: auto !important;
        padding-bottom: 2px;
    }

    .bos-reviews-wrap .bos-reviews-main-content .bos-reviews-filter-select-wrap,
    .bos-reviews-wrap .bos-reviews-main-content .bos-reviews-sort-select {
        width: 100%;
        min-width: 0;
    }

    .bos-reviews-wrap .bos-reviews-main-content .bos-reviews-sort-select {
        min-height: 40px;
        padding-inline: 12px 34px;
    }

    .bos-reviews-wrap .bos-review-card {
        padding: 14px;
        gap: 8px;
    }

    .bos-reviews-wrap .bos-review-content {
        font-size: 13px;
        line-height: 1.55;
    }

    .bos-reviews-wrap .bos-review-helpful {
        flex-wrap: wrap;
        gap: 6px;
    }

    .bos-reviews-wrap .bos-review-share {
        gap: 6px;
    }

    .bos-review-modal-overlay {
        padding: 10px;
        align-items: flex-end;
    }

    .bos-review-modal {
        width: 100%;
        max-width: 100%;
        max-height: calc(100vh - 12px);
        border-radius: 14px 14px 0 0;
    }

    .bos-review-modal-header {
        padding: 12px 14px;
    }

    .bos-review-modal-header .bos-card-title {
        font-size: 16px;
    }

    .bos-review-modal .bos-review-form {
        padding: 12px 14px 14px;
        gap: 10px;
    }

    .bos-review-modal .bos-input,
    .bos-review-modal .bos-textarea,
    .bos-review-modal .bos-select {
        font-size: 16px;
    }

    .bos-review-modal .bos-btn {
        min-height: 40px;
    }
}

/* Final mobile lock: keep reviews toolbar width stable and popup fully usable on phones */
@media (max-width: 767px) {
    .bos-reviews-wrap,
    .bos-reviews-wrap .bos-reviews-runtime,
    .bos-reviews-wrap .bos-reviews-main-shell,
    .bos-reviews-wrap .bos-reviews-main-shell.no-summary,
    .bos-reviews-wrap .bos-reviews-main-content,
    .bos-reviews-wrap .bos-reviews-main-content .bos-reviews-filters,
    .bos-reviews-wrap .bos-reviews-main-content .bos-reviews-filters-top,
    .bos-reviews-wrap .bos-reviews-main-content .bos-reviews-filters-bottom,
    .bos-reviews-wrap .bos-reviews-results-shell,
    .bos-reviews-wrap .bos-reviews-empty-state,
    .bos-reviews-wrap .bos-reviews-loading,
    .bos-reviews-wrap .bos-reviews-grid,
    .bos-reviews-wrap .bos-reviews-pagination {
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        box-sizing: border-box;
    }

    .bos-reviews-wrap .bos-reviews-main-shell,
    .bos-reviews-wrap .bos-reviews-main-shell.no-summary {
        grid-template-columns: minmax(0, 1fr) !important;
        gap: 12px !important;
    }

    .bos-reviews-wrap .bos-reviews-main-content {
        gap: 10px !important;
    }

    .bos-reviews-wrap .bos-reviews-main-content .bos-reviews-filters {
        padding: 12px !important;
        border-radius: 12px !important;
    }

    .bos-reviews-wrap .bos-reviews-main-content .bos-reviews-filters-top {
        grid-template-columns: 1fr auto !important;
        align-items: center;
        gap: 10px;
    }

    .bos-reviews-wrap .bos-reviews-main-content .bos-reviews-section-title {
        font-size: 18px !important;
    }

    .bos-reviews-wrap .bos-reviews-main-content .bos-reviews-filters-bottom {
        display: grid !important;
        grid-template-columns: 1fr !important;
        gap: 8px !important;
        min-height: 0 !important;
    }

    .bos-reviews-wrap .bos-reviews-main-content .bos-star-filter {
        width: 100%;
        flex: 1 1 100% !important;
        min-width: 0 !important;
        flex-wrap: nowrap !important;
        overflow-x: auto !important;
        overflow-y: hidden !important;
        padding-bottom: 2px;
        scrollbar-width: none !important;
    }

    .bos-reviews-wrap .bos-reviews-main-content .bos-star-filter::-webkit-scrollbar {
        display: none !important;
    }

    .bos-reviews-wrap .bos-reviews-main-content .bos-star-chip {
        flex: 0 0 auto;
        white-space: nowrap;
    }

    .bos-reviews-wrap .bos-reviews-main-content .bos-reviews-filter-select-wrap,
    .bos-reviews-wrap .bos-reviews-main-content .bos-reviews-sort-select {
        width: 100% !important;
        min-width: 0 !important;
    }

    .bos-reviews-wrap .bos-reviews-main-content .bos-reviews-sort-select {
        min-height: 42px !important;
        padding-inline: 12px 34px !important;
    }

    .bos-reviews-wrap .bos-reviews-results-shell,
    .bos-reviews-wrap .bos-reviews-empty-state,
    .bos-reviews-wrap .bos-reviews-loading {
        min-height: 180px !important;
    }

    .bos-reviews-wrap .bos-review-card {
        padding: 14px !important;
        gap: 8px !important;
    }

    .bos-reviews-wrap .bos-review-content {
        font-size: 13px;
        line-height: 1.55;
    }

    .bos-reviews-wrap .bos-review-helpful,
    .bos-reviews-wrap .bos-review-share {
        flex-wrap: wrap;
        gap: 6px;
    }

    .bos-reviews-wrap .bos-reviews-empty-state {
        padding: 18px !important;
    }

    .bos-reviews-wrap .bos-reviews-empty-title {
        font-size: 18px !important;
    }

    .bos-reviews-wrap .bos-reviews-empty-text {
        font-size: 13px !important;
    }

    .bos-review-modal-overlay {
        padding: 0 !important;
        align-items: flex-end !important;
    }

    .bos-review-modal {
        width: 100% !important;
        max-width: none !important;
        max-height: 92vh !important;
        border-radius: 16px 16px 0 0 !important;
        border-inline: 0 !important;
        border-bottom: 0 !important;
    }

    .bos-review-modal-header {
        position: sticky;
        top: 0;
        z-index: 2;
        background: #fff;
        padding: 12px 14px !important;
    }

    .bos-review-modal .bos-review-form {
        padding: 12px 14px calc(14px + env(safe-area-inset-bottom, 0px)) !important;
        gap: 10px !important;
    }

    .bos-review-modal .bos-input,
    .bos-review-modal .bos-textarea,
    .bos-review-modal .bos-select {
        font-size: 16px !important;
    }

    .bos-review-modal .bos-btn {
        min-height: 42px;
    }
}


.bos-reviews-load-more-wrap {
    display: flex;
    justify-content: center;
    margin-top: 8px;
}

.bos-reviews-load-more-btn {
    min-height: 34px;
    padding: 0 14px;
    border-radius: 10px;
    border: 1px solid #d8dde7;
    background: #fff;
    color: #111827;
    font-size: 12px;
    font-weight: 600;
    line-height: 1;
}

.bos-reviews-load-more-btn:hover {
    border-color: #bfc7d4;
    background: #f8fafc;
}

.bos-reviews-load-more-btn:disabled {
    opacity: .6;
    cursor: default;
}

@media (max-width: 767px) {
    .bos-reviews-load-more-btn {
        min-height: 38px;
        padding: 0 12px;
    }
}


/* Minimal top summary shortcode: [bos_reviews_summary] / [bos_reviews_preview] */
.bos-reviews-mini-summary {
    --bos-mini-bg: #fff;
    --bos-mini-text: #111827;
    --bos-mini-border: #e5e7eb;
    --bos-mini-star: var(--bos-rv-star, #f59e0b);
    --bos-mini-radius: 12px;
    --bos-mini-font-size: 14px;
    --bos-mini-font: var(--bos-rv-font, var(--bos-font, Assistant, Heebo, sans-serif));
    display: inline-flex;
    flex-direction: column;
    gap: var(--bos-mini-gap, 8px);
    padding: var(--bos-mini-pad-y, 12px) var(--bos-mini-pad-x, 14px);
    border: 1px solid var(--bos-mini-border);
    border-radius: var(--bos-mini-radius);
    background: var(--bos-mini-bg);
    color: var(--bos-mini-text);
    min-width: 180px;
    font-family: var(--bos-mini-font);
    font-size: var(--bos-mini-font-size);
    line-height: 1.25;
}

.bos-reviews-mini-label {
    font-size: var(--bos-mini-label-size, 12px);
    line-height: 1.2;
    color: color-mix(in srgb, var(--bos-mini-text) 58%, #fff);
    font-weight: 600;
}

.bos-reviews-mini-main {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: var(--bos-mini-main-gap, 10px);
    min-width: 0;
}

.bos-reviews-mini-score {
    font-size: var(--bos-mini-score-size, 24px);
    line-height: 1;
    font-weight: 700;
    color: var(--bos-mini-text);
}

.bos-reviews-mini-stars {
    display: inline-flex;
    align-items: center;
    gap: 3px;
}

.bos-reviews-mini-star {
    font-size: var(--bos-mini-star-size, 14px);
    line-height: 1;
    color: #d1d5db;
}

.bos-reviews-mini-star.is-filled {
    color: var(--bos-mini-star);
}

.bos-reviews-mini-count {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    min-width: 0;
    font-size: var(--bos-mini-count-size, 13px);
    line-height: 1.2;
    color: color-mix(in srgb, var(--bos-mini-text) 62%, #fff);
    font-weight: 500;
}

.bos-reviews-mini-count .dashicons {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    inline-size: var(--bos-mini-icon-size, 14px);
    block-size: var(--bos-mini-icon-size, 14px);
    font-size: var(--bos-mini-icon-size, 14px);
    line-height: 1;
}

.bos-reviews-mini-count-text {
    min-width: 0;
}

/* Prevent theme/global font overrides from breaking Dashicons glyphs. */
.bos-reviews-wrap .dashicons,
.bos-reviews-wrap .dashicons:before,
.bos-reviews-mini-summary .dashicons,
.bos-reviews-mini-summary .dashicons:before {
    font-family: dashicons !important;
}

.bos-reviews-mini-empty-text {
    font-size: var(--bos-mini-empty-size, 12px);
    color: color-mix(in srgb, var(--bos-mini-text) 62%, #fff);
}

.bos-reviews-mini-summary.hide-label .bos-reviews-mini-label {
    display: none;
}

.bos-reviews-mini-summary.hide-stars .bos-reviews-mini-stars {
    display: none;
}

.bos-reviews-mini-summary.hide-score .bos-reviews-mini-score {
    display: none;
}

.bos-reviews-mini-summary.hide-count .bos-reviews-mini-count {
    display: none;
}

.bos-reviews-mini-summary.hide-border {
    border-width: 0 !important;
    border-color: transparent !important;
}

.bos-reviews-mini-summary.is-empty .bos-reviews-mini-score {
    color: color-mix(in srgb, var(--bos-mini-text) 65%, #fff);
}

.bos-reviews-mini-summary.is-empty .bos-reviews-mini-star.is-filled {
    color: #d1d5db;
}

.bos-reviews-mini-summary.is-empty .bos-reviews-mini-count.is-empty-count {
    font-size: var(--bos-mini-empty-size, 12px);
}

.bos-reviews-mini-summary.is-style_1 {
    box-shadow: 0 1px 0 rgba(15, 23, 42, .03);
}

.bos-reviews-mini-summary.is-style_2 {
    border-radius: calc(var(--bos-mini-radius) + 8px);
    background: color-mix(in srgb, var(--bos-mini-bg) 90%, #f8fafc);
    box-shadow: 0 6px 22px rgba(15, 23, 42, .08);
}

.bos-reviews-mini-summary.is-style_3 {
    border-width: 0 0 1px;
    border-radius: 0;
    padding-inline: 0;
    background: transparent;
}

.bos-reviews-mini-summary.is-style_3 .bos-reviews-mini-label {
    font-size: 11px;
    letter-spacing: .04em;
}

.bos-reviews-mini-summary.is-style_4 {
    flex-direction: row;
    align-items: center;
    gap: var(--bos-mini-gap, 8px);
    min-width: 0;
}

.bos-reviews-mini-summary.is-style_4 .bos-reviews-mini-label {
    margin: 0;
    white-space: nowrap;
}

.bos-reviews-mini-summary.is-style_4 .bos-reviews-mini-main {
    margin-inline-end: auto;
    flex-wrap: wrap;
    justify-content: flex-end;
    min-width: 0;
}

.bos-reviews-mini-summary.is-style_5 {
    border-width: 0;
    background: linear-gradient(135deg, color-mix(in srgb, var(--bos-mini-bg) 92%, #fff), #fff);
    box-shadow: 0 8px 30px rgba(17, 24, 39, .08);
}

.bos-reviews-mini-summary.is-style_5 .bos-reviews-mini-label {
    font-weight: 700;
}

@media (max-width: 767px) {
    .bos-reviews-mini-summary {
        min-width: 0;
        width: 100%;
    }

    .bos-reviews-mini-summary.is-style_4 {
        flex-direction: column;
        align-items: flex-start;
    }

    .bos-reviews-mini-summary.is-style_4 .bos-reviews-mini-main {
        margin-inline-end: 0;
        flex-wrap: wrap;
    }
}

/* Helpful + share row alignment */
.bos-reviews-wrap .bos-review-footer {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 10px;
    margin-top: 6px;
    padding-top: 8px;
    border-top: 1px solid #f3f4f6;
}

.bos-reviews-wrap .bos-review-helpful {
    border-top: 0;
    padding-top: 0;
    margin-top: 0;
    min-width: 0;
}

.bos-reviews-wrap .bos-helpful-label {
    white-space: nowrap;
}

.bos-reviews-wrap .bos-helpful-btn {
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.bos-reviews-wrap .bos-helpful-btn .dashicons {
    width: 14px;
    height: 14px;
    font-size: 14px;
    line-height: 14px;
    font-family: dashicons !important;
}

.bos-reviews-wrap .bos-helpful-btn .dashicons:before {
    font-family: dashicons !important;
}

.bos-reviews-wrap .bos-review-share {
    grid-column: 2;
    margin-top: 0;
    border-top: 0;
    padding-top: 0;
    justify-content: flex-end;
}

.bos-reviews-wrap .bos-review-share .bos-share-label {
    margin-inline-start: 0;
}

.bos-reviews-wrap .bos-review-footer .bos-share-btn {
    width: 26px;
    height: 26px;
}

.bos-reviews-wrap .bos-review-footer .bos-share-btn .dashicons,
.bos-reviews-wrap .bos-review-footer .bos-share-btn .dashicons:before {
    width: 14px;
    height: 14px;
    font-size: 14px;
    line-height: 14px;
}

@media (max-width: 767px) {
    .bos-reviews-wrap .bos-review-footer {
        grid-template-columns: 1fr;
        gap: 8px;
    }

    .bos-reviews-wrap .bos-review-share {
        grid-column: auto;
        justify-content: flex-end;
    }
}

/* Final empty-state sizing: keep "no reviews" panel compact and aligned with right summary column. */
.bos-reviews-wrap .bos-reviews-results-shell {
    min-height: 0 !important;
}

.bos-reviews-wrap .bos-reviews-empty-state,
.bos-reviews-wrap .bos-reviews-loading {
    min-height: 220px !important;
}

@media (max-width: 767px) {
    .bos-reviews-wrap .bos-reviews-empty-state,
    .bos-reviews-wrap .bos-reviews-loading {
        min-height: 170px !important;
    }
}
