.pgr-widget {
    --pgr-bg: #111315;
    --pgr-card: #17191c;
    --pgr-text: #f5f7f9;
    --pgr-muted: #a9b0b8;
    --pgr-border: #2b3036;
    --pgr-star: #fbbc04;
    --pgr-accent: #fff;
    font-family: inherit;
    color: var(--pgr-text);
    position: relative;
    width: 100%;
    box-sizing: border-box
}

.pgr-widget.pgr-theme-light {
    --pgr-bg: #fff;
    --pgr-card: #fff;
    --pgr-text: #171717;
    --pgr-muted: #667085;
    --pgr-border: #e5e7eb;
    --pgr-accent: #111
}

@media(prefers-color-scheme: light) {
    .pgr-widget.pgr-theme-auto {
        --pgr-bg:#fff;
        --pgr-card: #fff;
        --pgr-text: #171717;
        --pgr-muted: #667085;
        --pgr-border: #e5e7eb;
        --pgr-accent: #111
    }
}

.pgr-widget * {
    box-sizing: border-box
}

.pgr-summary {
    display: flex;
    align-items: center;
    gap: 24px;
    padding: 18px 20px;
    margin-bottom: 16px;
    background: #fee8cb;
    border: 1px solid var(--pgr-border);
    border-radius: 16px
}

.pgr-business {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 0
}

.pgr-business-logo {
    width: 52px;
    height: 52px;
    border-radius: 12px;
    object-fit: cover
}

.pgr-business strong {
    display: block;
    font-size: 16px
}

.pgr-business span,.pgr-score>span {
    display: block;
    color: var(--pgr-muted);
    font-size: 13px;
    margin-top: 2px
}

.pgr-google-mark {
    display: inline-grid;
    place-items: center;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: #fff;
    color: #4285f4;
    font-weight: 800;
    font-family: Arial,sans-serif;
    border: 1px solid #e5e7eb
}

.pgr-google-small {
    width: 26px;
    height: 26px;
    font-size: 13px;
    flex: 0 0 auto
}

.pgr-score {
    margin-left: auto;
    display: flex;
    align-items: center;
    gap: 9px;
    flex-wrap: wrap;
    justify-content: end;
}

.pgr-score>strong {
    font-size: 26px;
    line-height: 1
}

.pgr-score>span {
    width: 100%;
    text-align: right
}

.pgr-stars {
    color: var(--pgr-star);
    letter-spacing: 1.5px;
    white-space: nowrap
}

.pgr-star-empty {
    opacity: .25
}

.pgr-maps-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 14px;
    border-radius: 9px;
    background: var(--pgr-accent);
    color: var(--pgr-bg)!important;
    text-decoration: none!important;
    font-weight: 700;
    font-size: 13px;
    white-space: nowrap
}

.pgr-carousel {
    position: relative;
    display: flex;
    align-items: center;
    gap: 10px
}

.pgr-viewport {
    overflow: hidden;
    width: 100%
}

.pgr-track {
    display: flex;
    gap: var(--pgr-gap);
    transition: transform var(--pgr-transition) cubic-bezier(.22,.61,.36,1);
    will-change: transform
}

.pgr-card {
    flex: 0 0 calc((100% - (var(--pgr-desktop) - 1)*var(--pgr-gap))/var(--pgr-desktop));
    background: var(--pgr-card);
    border: 1px solid var(--pgr-border);
    border-radius: 16px;
    padding: 18px;
    color: var(--pgr-text);
    box-shadow: 0 5px 18px rgba(0,0,0,.08)
}

.pgr-equal .pgr-track {
    align-items: stretch
}

.pgr-equal .pgr-card {
    display: flex;
    flex-direction: column
}

.pgr-card-head {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    align-items: flex-start
}

.pgr-author {
    display: flex;
    gap: 11px;
    min-width: 0;
    align-items: center
}

.pgr-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    object-fit: cover;
    flex: 0 0 auto
}

.pgr-avatar-fallback {
    display: grid;
    place-items: center;
    background: #30343a;
    color: #fff;
    font-weight: 700
}

.pgr-author strong {
    display: block;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 210px
}

.pgr-author span {
    display: block;
    color: var(--pgr-muted);
    font-size: 12px;
    margin-top: 3px
}

.pgr-rating {
    margin: 14px 0 10px
}

.pgr-comment {
    font-size: 14px;
    line-height: 1.58;
    white-space: pre-line
}

.pgr-more {
    border: 0;
    background: none;
    color: var(--pgr-muted);
    text-decoration: underline;
    cursor: pointer;
    padding: 7px 0 0;
    font: inherit;
    font-size: 13px
}

.pgr-reply {
    margin-top: 14px;
    padding: 12px;
    border-left: 3px solid var(--pgr-border);
    background: rgba(127,127,127,.07);
    border-radius: 6px
}

.pgr-reply strong {
    font-size: 12px
}

.pgr-reply p {
    margin: 6px 0 0;
    font-size: 13px;
    color: var(--pgr-muted)
}

.pgr-arrow {
    width: 38px;
    height: 38px;
    flex: 0 0 38px;
    border-radius: 50%;
    border: 1px solid var(--pgr-border);
    background: #fee8cb;
    color: var(--pgr-text);
    font-size: 26px;
    line-height: 1;
    cursor: pointer;
    display: grid;
    /* place-items:center; */
    /* align-items: center; */
    justify-content: center;
    padding: 5px;
}

.pgr-arrow:disabled {
    opacity: .3;
    cursor: default
}

.pgr-dots {
    display: flex;
    gap: 6px;
    justify-content: center;
    margin-top: 14px
}

.pgr-dot {
    width: 7px;
    height: 7px;
    border: 0;
    border-radius: 50%;
    padding: 0;
    background: var(--pgr-border);
    cursor: pointer
}

.pgr-dot.is-active {
    background: var(--pgr-star);
    transform: scale(1.25)
}

@media(max-width: 900px) {
    .pgr-card {
        flex-basis:calc((100% - (var(--pgr-tablet) - 1)*var(--pgr-gap))/var(--pgr-tablet))
    }

    .pgr-summary {
        flex-wrap: wrap
    }

    .pgr-score {
        margin-left: 0
    }

    .pgr-score>span {
        text-align: center;
    }

    .pgr-maps-btn {
        margin-left: auto
    }
}

@media(max-width: 600px) {
    .pgr-card {
        flex-basis:calc((100% - (var(--pgr-mobile) - 1)*var(--pgr-gap))/var(--pgr-mobile));
        padding: 40px;
        background: #ffffff;
    }

    .pgr-summary {
        gap: 14px;
        padding: 30px 15px;
        display: flex;
        justify-content: center;
        background: #fbe5c8;
    }

    .pgr-business {
        width: 100%;
        display: flex;
        justify-content: center;
    }

    .pgr-score {
        width: calc(100% - 130px);
        display: flex;
        justify-content: center;
    }

    .pgr-maps-btn {
        margin-left: 0
    }

    .pgr-arrow {
        position: absolute;
        z-index: 3;
        top: 50%;
        transform: translateY(-50%);
        background: rgba(20,20,20,.85);
        display: none;
    }

    .pgr-prev {
        left: 8px;
    }

    .pgr-next {
        right: 8px
    }

    .pgr-carousel {
        gap: 0
    }
}
