/* Alpixi Google Reviews — Front-end */

/* ── Elementor widget ── */

.apgr-block {
    --apgr-star-color: #FFAB40;
    --apgr-star-empty: #E0E0E0;
    line-height: 1.4;
}

.apgr-block--empty {
    padding: 20px;
    background: #fff3cd;
    border: 1px solid #ffc107;
    border-radius: 4px;
    text-align: center;
    font-size: 13px;
}

.apgr-stars {
    display: inline-block;
    line-height: 1;
    letter-spacing: 1px;
    font-size: 30px;
}

.apgr-star {
    display: inline-block;
}

.apgr-star--full {
    color: var(--apgr-star-color, #FFAB40);
}

.apgr-star--empty {
    color: var(--apgr-star-empty, #E0E0E0);
}

.apgr-star--half {
    position: relative;
    display: inline-block;
    color: transparent;
}

.apgr-star__back,
.apgr-star__front {
    display: block;
}

.apgr-star__back {
    color: var(--apgr-star-empty, #E0E0E0);
}

.apgr-star__front {
    position: absolute;
    left: 0;
    top: 0;
    width: 50%;
    overflow: hidden;
    color: var(--apgr-star-color, #FFAB40);
}

/* ── Shortcode JS fallback ── */

.apgr-review,
.apgr-total {
    text-align: center;
}

.apgr-review__stars,
.apgr-total__stars {
    font-size: 30px;
    line-height: 1;
    letter-spacing: 1px;
}

.apgr-review__info,
.apgr-total__info {
    font-size: 14px;
    white-space: nowrap;
    margin-top: 4px;
}

/* ── Shortcode stars inherit same defaults ── */

.apgr-review .apgr-star--full,
.apgr-total .apgr-star--full {
    color: #FFAB40;
}

.apgr-review .apgr-star--empty,
.apgr-total .apgr-star--empty {
    color: #E0E0E0;
}

.apgr-review .apgr-star--half,
.apgr-total .apgr-star--half {
    position: relative;
    display: inline-block;
    color: transparent;
}

.apgr-review .apgr-star__back,
.apgr-total .apgr-star__back,
.apgr-review .apgr-star__front,
.apgr-total .apgr-star__front {
    display: block;
}

.apgr-review .apgr-star__back,
.apgr-total .apgr-star__back {
    color: #E0E0E0;
}

.apgr-review .apgr-star__front,
.apgr-total .apgr-star__front {
    position: absolute;
    left: 0;
    top: 0;
    width: 50%;
    overflow: hidden;
    color: #FFAB40;
}

@media (max-width: 767px) {
    .apgr-review__stars,
    .apgr-total__stars {
        font-size: 22px;
    }

    .apgr-review__info,
    .apgr-total__info {
        font-size: 12px;
    }
}
