/**
 * Floating review badge — extracted from frontend.php in Phase 3 PR 13.
 *
 * Markup is rendered alongside the related wp_footer hook in
 * frontend.php; only the <style> block was extracted here.
 */

    .hales-review-badge {
        position: fixed;
        bottom: 100px;
        right: 20px;
        z-index: 9998;
        display: none;
    }
    .hales-review-badge[hidden] {
        display: none !important;
    }
    @media (min-width: 769px) {
        .hales-review-badge:not([hidden]) {
            display: block;
        }
    }
    .hales-review-badge-inner {
        position: relative;
        background: #fff;
        border-radius: 12px;
        padding: 15px 20px;
        box-shadow: 0 4px 20px rgba(0,0,0,0.15);
        text-align: center;
        cursor: pointer;
        transition: transform 0.2s ease, box-shadow 0.2s ease;
    }
    .hales-review-badge-inner:hover {
        transform: translateY(-3px);
        box-shadow: 0 8px 30px rgba(0,0,0,0.2);
    }
    .hales-review-badge-close {
        position: absolute;
        top: 2px;
        right: 6px;
        width: 22px;
        height: 22px;
        line-height: 20px;
        border: 0;
        background: transparent;
        color: #64748b;
        font-size: 20px;
        font-weight: 400;
        cursor: pointer;
        padding: 0;
        border-radius: 50%;
        transition: background 0.15s ease, color 0.15s ease;
    }
    .hales-review-badge-close:hover,
    .hales-review-badge-close:focus-visible {
        background: #f1f5f9;
        color: #1e3a5f;
        outline: none;
    }
    .hales-review-badge-stars {
        color: #fbbf24;
        font-size: 18px;
        letter-spacing: 2px;
        margin-bottom: 5px;
    }
    .hales-star-partial {
        background: linear-gradient(90deg, #fbbf24 70%, #d1d5db 70%);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        background-clip: text;
    }
    .hales-review-badge-rating {
        font-size: 24px;
        font-weight: 700;
        color: #1e3a5f;
        line-height: 1;
    }
    .hales-review-badge-count {
        font-size: 12px;
        color: #64748b;
        margin-top: 3px;
    }
    .hales-review-badge-source {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 5px;
        font-size: 11px;
        color: #94a3b8;
        margin-top: 8px;
        padding-top: 8px;
        border-top: 1px solid #e2e8f0;
    }
