/* ── Google Review Badge ──────────────────────────────────────────────────── */

.ute-google-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 20px 16px 20px 12px;
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 16px;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.12);
    text-decoration: none;
    color: inherit;
    transition: box-shadow 0.2s ease;
    width: fit-content;
}

.ute-google-badge:hover {
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.18);
    text-decoration: none;
    color: inherit;
}

/* Google G logo */
.ute-google-badge__logo {
    flex-shrink: 0;
    display: flex;
    align-items: center;
}

/* Text column */
.ute-google-badge__body {
    display: flex;
    flex-direction: column;
    gap: 2px;
    line-height: 1;
}

.ute-google-badge__label {
    font-size: 14px;
    color: #000;
    font-weight: 700;
    white-space: nowrap;
    text-align: left;
}

/* Score row: number + stars */
.ute-google-badge__score {
    display: flex;
    align-items: center;
    gap: 5px;
}

.ute-google-badge__number {
    font-size: 16px;
    font-weight: 700;
    color: #202124;
    line-height: 1;
}

/* Stars */
.ute-google-badge__stars {
    display: flex;
    align-items: center;
    gap: 1px;
}

.ute-star {
    font-size: 16px;
    line-height: 1;
}

.ute-star--full {
    color: #FBBC05;
}

.ute-star--empty {
    color: #e0e0e0;
}

/* Partial star using a clip-path trick */
.ute-star--partial {
    position: relative;
    color: #e0e0e0;
}

.ute-star--partial::after {
    content: '★';
    position: absolute;
    inset: 0;
    color: #FBBC05;
    overflow: hidden;
    width: var(--fill, 50%);
    display: block;
}
