.st-reviews-widget {
    --st-reviews-blue: #0991df;
    --st-reviews-blue-dark: #0b5f99;
    --st-reviews-ink: #17324b;
    --st-reviews-muted: #60758a;
    --st-reviews-line: rgba(9, 145, 223, 0.14);
    --st-reviews-card: #ffffff;
    margin: 20px 0;
    font-family: "City Sans", -apple-system, system-ui, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    font-size: 16px;
    line-height: 1.5;
    color: var(--st-reviews-ink);
}

.st-reviews-widget,
.st-reviews-widget button,
.st-reviews-widget input,
.st-reviews-widget select,
.st-reviews-widget textarea,
.st-reviews-widget a,
.st-reviews-widget h1,
.st-reviews-widget h2,
.st-reviews-widget h3,
.st-reviews-widget h4,
.st-reviews-widget h5,
.st-reviews-widget h6,
.st-reviews-widget p,
.st-reviews-widget span,
.st-reviews-widget strong,
.st-reviews-widget small,
.st-reviews-widget blockquote {
    font-family: inherit;
}

.st-reviews-widget * {
    box-sizing: border-box;
}

.st-reviews-shell {
    border: 1px solid var(--st-reviews-line);
    border-radius: 24px;
    background: linear-gradient(180deg, #f7fbff 0%, #ffffff 100%);
    box-shadow: 0 18px 40px rgba(17, 37, 58, 0.07);
    overflow: hidden;
}

.st-reviews-heading {
    padding: 20px 24px 10px;
    background: radial-gradient(circle at top right, rgba(9, 145, 223, 0.12), transparent 24%);
}

.st-reviews-heading--with-summary {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 18px;
}

.st-reviews-heading--compact {
    padding-bottom: 6px;
    background: linear-gradient(180deg, rgba(9, 145, 223, 0.08), rgba(9, 145, 223, 0.02) 72%, transparent 100%);
}

.st-reviews-heading-copy {
    max-width: 760px;
}

.st-reviews-heading-summary {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 8px;
    flex-shrink: 0;
    min-width: 320px;
}

.st-reviews-heading h2 {
    margin: 0;
    color: var(--st-reviews-ink);
    font-size: clamp(28px, 2.4vw, 38px);
    line-height: 1.06;
    letter-spacing: -0.025em;
    font-weight: 700;
}

.st-reviews-heading p {
    margin: 8px 0 0;
    color: var(--st-reviews-muted);
    font-size: 15px;
    max-width: 640px;
}

.st-reviews-eyebrow {
    display: inline-flex;
    margin-bottom: 10px;
    padding: 5px 10px;
    border-radius: 999px;
    background: rgba(9, 145, 223, 0.1);
    color: var(--st-reviews-blue-dark);
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.12em;
}

.st-reviews-grid {
    display: grid;
    gap: 14px;
    padding: 0 24px 22px;
}

.st-reviews-grid--both {
    grid-template-columns: minmax(0, 1.8fr) minmax(320px, 0.68fr);
}

.st-reviews-grid--google,
.st-reviews-grid--trustpilot {
    grid-template-columns: minmax(0, 1fr);
}

.st-reviews-panel {
    min-width: 0;
    padding: 16px;
    border-radius: 18px;
    border: 1px solid rgba(17, 37, 58, 0.08);
    background: rgba(255, 255, 255, 0.94);
}

.st-reviews-panel-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 10px;
}

.st-reviews-panel-head--compact h3 {
    margin: 4px 0 0;
    color: var(--st-reviews-ink);
    font-size: 18px;
    line-height: 1.2;
}

.st-reviews-source {
    color: var(--st-reviews-blue-dark);
    font-size: 10px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.14em;
}

.st-reviews-heading-summary .st-reviews-source {
    margin-right: 4px;
}

.st-reviews-badge {
    flex-shrink: 0;
    padding: 5px 10px;
    border-radius: 999px;
    background: #0f7bc0;
    color: #fff;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.st-reviews-badge--outline {
    background: transparent;
    border: 1px solid rgba(9, 145, 223, 0.22);
    color: var(--st-reviews-blue-dark);
}

.st-reviews-scorecard {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 14px;
    align-items: center;
    margin-bottom: 12px;
    padding: 14px 16px;
    border-radius: 16px;
    background: linear-gradient(180deg, #f4faff 0%, #eef6fd 100%);
}

.st-reviews-scorecard--header {
    margin-bottom: 0;
    min-width: 320px;
    padding: 12px 14px;
    border: 1px solid rgba(9, 145, 223, 0.12);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.55);
}

.st-reviews-scorecard--header strong {
    font-size: 32px;
}

.st-reviews-scorecard--header span {
    font-size: 15px;
}

.st-reviews-scorecard--header small {
    font-size: 13px;
}

.st-reviews-scorecard strong {
    display: block;
    color: var(--st-reviews-ink);
    font-size: 40px;
    line-height: 1;
}

.st-reviews-scorecard span {
    display: block;
    color: var(--st-reviews-ink);
    font-weight: 800;
    font-size: 17px;
}

.st-reviews-scorecard small {
    font-size: 14px;
}

.st-reviews-scorecard small,
.st-reviews-meta small,
.st-reviews-carousel-label {
    color: var(--st-reviews-muted);
}

.st-reviews-stars {
    display: inline-flex;
    gap: 2px;
    color: #d7e1eb;
    font-size: 15px;
}

.st-reviews-stars .is-filled {
    color: #f7b500;
}

.st-reviews-carousel.is-static .st-reviews-carousel-controls {
    display: none;
}

.st-reviews-carousel-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 10px;
}

.st-reviews-carousel-label {
    font-size: 13px;
    font-weight: 700;
}

.st-reviews-carousel-controls {
    display: inline-flex;
    gap: 8px;
}

.st-reviews-control {
    width: 40px;
    height: 40px;
    border: 1px solid rgba(9, 145, 223, 0.18);
    border-radius: 50%;
    background: #fff;
    color: var(--st-reviews-blue-dark);
    font-size: 22px;
    line-height: 1;
    cursor: pointer;
    transition: background 0.2s ease, opacity 0.2s ease, transform 0.2s ease;
}

.st-reviews-control:hover:not(:disabled) {
    background: #eef7ff;
    transform: translateY(-1px);
}

.st-reviews-control:disabled {
    opacity: 0.4;
    cursor: default;
}

.st-reviews-carousel-viewport {
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
}

.st-reviews-carousel-viewport::-webkit-scrollbar {
    display: none;
}

.st-reviews-list--carousel {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: calc((100% - 32px) / 3);
    gap: 14px;
}

.st-reviews-item {
    height: 100%;
    margin: 0;
    min-height: 220px;
    padding: 16px;
    border-radius: 16px;
    background: var(--st-reviews-card);
    border: 1px solid rgba(17, 37, 58, 0.08);
    scroll-snap-align: start;
    box-shadow: 0 8px 18px rgba(17, 37, 58, 0.04);
}

.st-reviews-item-head {
    display: grid;
    grid-template-columns: 52px 1fr;
    gap: 12px;
    align-items: start;
    margin-bottom: 10px;
}

.st-reviews-item strong {
    display: block;
    color: var(--st-reviews-ink);
    font-size: 16px;
    line-height: 1.22;
}

.st-reviews-item p,
.st-reviews-empty p {
    margin: 0;
    color: var(--st-reviews-ink);
    font-size: 14px;
    line-height: 1.6;
}

.st-reviews-list--carousel .st-reviews-item p {
    display: -webkit-box;
    -webkit-line-clamp: 7;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.st-reviews-avatar {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: linear-gradient(135deg, #0b5f99, #0991df);
    color: #fff;
    font-weight: 800;
    font-size: 17px;
    overflow: hidden;
}

.st-reviews-avatar--photo {
    object-fit: cover;
    background: #eaf4fb;
}

.st-reviews-meta {
    display: flex;
    align-items: center;
    gap: 7px;
    flex-wrap: wrap;
    margin-top: 3px;
}

.st-reviews-meta small {
    font-size: 13px;
}

.st-reviews-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 12px;
}

.st-reviews-actions--compact {
    margin-top: 12px;
}

.st-reviews-btn,
.st-reviews-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 0 18px;
    border-radius: 999px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 800;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.st-reviews-btn {
    background: linear-gradient(135deg, #0991df, #0b5f99);
    color: #fff;
    box-shadow: 0 10px 18px rgba(9, 145, 223, 0.18);
}

.st-reviews-btn:hover,
.st-reviews-link:hover {
    transform: translateY(-1px);
}

.st-reviews-btn--ghost,
.st-reviews-link {
    background: #fff;
    color: var(--st-reviews-blue-dark);
    border: 1px solid rgba(9, 145, 223, 0.2);
    box-shadow: none;
}

.st-reviews-trustpilot-frame {
    padding: 12px;
    border-radius: 16px;
    background: linear-gradient(180deg, #f4faff 0%, #eef6fd 100%);
}

.st-reviews-empty {
    padding: 16px;
    border-radius: 16px;
    background: #f8fbff;
    border: 1px dashed rgba(9, 145, 223, 0.24);
}

@media (max-width: 1260px) {
    .st-reviews-list--carousel {
        grid-auto-columns: calc((100% - 12px) / 2);
    }
}

@media (max-width: 1040px) {
    .st-reviews-grid--both {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 760px) {
    .st-reviews-heading,
    .st-reviews-grid {
        padding-left: 18px;
        padding-right: 18px;
    }

    .st-reviews-heading--with-summary {
        align-items: stretch;
        flex-direction: column;
    }

    .st-reviews-heading-summary,
    .st-reviews-heading-summary .st-reviews-source {
        align-items: flex-start;
        margin-right: 0;
    }

    .st-reviews-scorecard--header {
        min-width: 0;
        width: 100%;
    }

    .st-reviews-list--carousel {
        grid-auto-columns: 100%;
    }

    .st-reviews-carousel-head {
        align-items: flex-start;
    }
}

@media (max-width: 520px) {
    .st-reviews-panel,
    .st-reviews-heading {
        padding: 14px;
    }

    .st-reviews-heading h2 {
        font-size: 30px;
    }

    .st-reviews-scorecard--header {
        grid-template-columns: 1fr;
    }

    .st-reviews-scorecard {
        grid-template-columns: 1fr;
    }

    .st-reviews-actions {
        flex-direction: column;
    }

    .st-reviews-btn,
    .st-reviews-link {
        width: 100%;
    }
}