/* LGW Review Badges */

.lgw-review-badges {
    --lgw-card-width: 230px;
    display: flex;
    align-items: stretch;
    gap: 12px;
    flex-wrap: wrap;
    width: 100%;
    margin: 0;
    padding: 0;
}

.lgw-review-badges.lgw-align-left { justify-content: flex-start; }
.lgw-review-badges.lgw-align-center { justify-content: center; }
.lgw-review-badges.lgw-align-right { justify-content: flex-end; }

.lgw-review-card {
    width: var(--lgw-card-width);
    min-height: 90px;
    box-sizing: border-box;
    position: relative;
    overflow: hidden;
    background: #fff;
    border: 1px solid rgba(20, 25, 35, 0.10);
    border-radius: 12px;
    padding: 12px 14px;
    text-decoration: none !important;
    box-shadow:
        0 2px 5px rgba(0, 0, 0, 0.025),
        0 8px 25px rgba(0, 0, 0, 0.045);
    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease,
        border-color 0.2s ease;
}

.lgw-review-card,
.lgw-review-card:hover,
.lgw-review-card:focus,
.lgw-review-card:visited {
    text-decoration: none !important;
}

.lgw-review-card:hover {
    transform: translateY(-2px);
    border-color: rgba(20, 25, 35, 0.18);
    box-shadow:
        0 4px 10px rgba(0, 0, 0, 0.035),
        0 12px 32px rgba(0, 0, 0, 0.08);
}

.lgw-review-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 9px;
}

.lgw-platform-name {
    display: flex;
    align-items: center;
    gap: 7px;
    color: #17191c;
    font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
    font-size: 13px;
    font-weight: 650;
    line-height: 1.2;
}

.lgw-arrow {
    width: 16px;
    height: 16px;
    flex: 0 0 16px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #94a3b8;
    transition: color 0.2s ease, transform 0.2s ease;
}

.lgw-arrow svg {
    display: block;
    width: 14px;
    height: 14px;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
    fill: none;
}

.lgw-review-card:hover .lgw-arrow {
    color: #111827;
    transform: translate(1.5px, -1.5px);
}

.lgw-trustpilot-logo {
    width: 20px;
    height: 20px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 20px;
    background: #00b67a;
    color: #fff;
    font-family: Arial, sans-serif;
    font-size: 13px;
    font-weight: 700;
    line-height: 1;
    border-radius: 4px;
}

.lgw-google-logo {
    width: 20px;
    height: 20px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 20px;
    font-family: Arial, sans-serif;
    font-size: 18px;
    font-weight: 700;
    line-height: 1;
}

.lgw-google-g {
    background:
        conic-gradient(
            from -45deg,
            #4285F4 0deg 90deg,
            #34A853 90deg 180deg,
            #FBBC05 180deg 270deg,
            #EA4335 270deg 360deg
        );
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
}

.lgw-rating-row {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 1px;
}

.lgw-rating-number,
.lgw-google-fallback-title {
    color: #17191c;
    font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
    font-size: 17px;
    font-weight: 700;
    line-height: 1;
}

.lgw-stars {
    --rating: 0;
    --percent: calc(var(--rating) / 5 * 100%);
    display: inline-block;
    position: relative;
    font-family: Arial, sans-serif;
    font-size: 15px;
    line-height: 1;
    letter-spacing: 1px;
}

.lgw-stars::before {
    content: "★★★★★";
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
}

.lgw-trustpilot-stars::before {
    background: linear-gradient(90deg, #00b67a var(--percent), #dfe1e5 var(--percent));
    -webkit-background-clip: text;
    background-clip: text;
}

.lgw-google-stars::before {
    background: linear-gradient(90deg, #fbbc04 var(--percent), #dfe1e5 var(--percent));
    -webkit-background-clip: text;
    background-clip: text;
}

.lgw-review-count {
    margin-top: 5px;
    color: #6e737b;
    font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
    font-size: 11.5px;
    font-weight: 450;
    line-height: 1.25;
}

.lgw-google-fallback-title { margin-top: 1px; }

@media (max-width: 520px) {
    .lgw-review-badges { gap: 9px; }

    .lgw-review-card {
        width: calc(50% - 5px);
        min-width: 145px;
        padding: 11px;
        border-radius: 10px;
    }

    .lgw-platform-name {
        font-size: 11.5px;
        gap: 5px;
    }

    .lgw-rating-number,
    .lgw-google-fallback-title { font-size: 15px; }

    .lgw-stars {
        font-size: 13px;
        letter-spacing: 0.5px;
    }

    .lgw-review-count { font-size: 10.5px; }

    .lgw-arrow {
        width: 14px;
        height: 14px;
        flex-basis: 14px;
    }

    .lgw-arrow svg {
        width: 13px;
        height: 13px;
    }
}

@media (max-width: 350px) {
    .lgw-review-card { width: 100%; }
}
