.hg-google-reviews-widget {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: #ffffff;
    padding: 8px 16px;
    border-radius: 999px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    text-decoration: none;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
    transition: box-shadow 0.2s ease, transform 0.2s ease;
    border: 1px solid #e8e8e8;
}

.hg-google-reviews-widget:hover {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
    transform: translateY(-1px);
    text-decoration: none;
}

.hg-reviews-text {
    color: #1a1a1a;
    font-size: 16px;
    font-weight: 400;
}

.hg-reviews-stars {
    display: inline-flex;
    gap: 2px;
}

.hg-star {
    font-size: 18px;
    line-height: 1;
}

.hg-star-full {
    color: #fbbf24;
}

.hg-star-half {
    color: #fbbf24;
    position: relative;
}

.hg-star-empty {
    color: #d1d5db;
}

.hg-reviews-count {
    color: #1a1a1a;
    font-size: 16px;
    font-weight: 500;
}

.hg-google-logo {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
}

@media (max-width: 600px) {
    .hg-google-reviews-widget {
        gap: 6px;
        padding: 6px 12px;
        border-radius: 999px;
    }

    .hg-reviews-text {
        font-size: 12px;
    }

    .hg-star {
        font-size: 14px;
    }

    .hg-reviews-count {
        font-size: 12px;
    }

    .hg-google-logo {
        width: 20px;
        height: 20px;
    }
}

.hg-reviews-carousel-wrapper {
    display: flex;
    flex-direction: column;
    width: 100%;
    max-width: 100%;
    position: relative;
}

.hg-carousel-nav-row {
    display: flex;
    justify-content: flex-end;
    gap: 8px;
    margin-bottom: 80px;
}

.hg-reviews-carousel {
    flex: 1;
    overflow: visible;
    min-width: 0;
}

.hg-reviews-carousel-track {
    display: flex;
    gap: 24px;
    transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    user-select: none;
    -webkit-user-select: none;
    cursor: grab;
    will-change: transform;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
}

.hg-reviews-carousel-track:active {
    cursor: grabbing;
}

.hg-review-card {
    flex: 0 0 calc(50% - 12px);
    background: #ffffff;
    border-radius: 4px;
    padding: 24px;
    box-shadow: 0 0 15px rgba(9, 53, 86, 0.1);
    border: 1px solid #e8e8e8;
    position: relative;
    opacity: 0.3;
    transition: opacity 0.3s ease;
}

.hg-review-card.hg-review-active {
    opacity: 1;
}

.hg-review-header {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 12px;
}

.hg-review-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
}

.hg-review-avatar-placeholder {
    background: #1a365d;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    font-weight: 600;
}

.hg-review-meta {
    flex: 1;
    min-width: 0;
}

.hg-review-top-row {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 4px;
    position: relative;
}

.hg-review-rating {
    display: flex;
    align-items: center;
    gap: 4px;
}

.hg-carousel-star {
    font-size: 14px;
    line-height: 1;
}

.hg-carousel-star-full {
    color: #fbbf24;
}

.hg-carousel-star-empty {
    color: #d1d5db;
}

.hg-review-rating-num {
    font-size: 14px;
    font-weight: 600;
    color: #1a1a1a;
}

.hg-review-author {
    font-size: 14px;
    font-weight: 600;
    color: #1a1a1a;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.hg-carousel-google-logo {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    position: absolute;
    right: 0;
    top: 0;
}

.hg-review-text {
    font-size: 14px;
    line-height: 1.5;
    color: #374151;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.hg-review-text.hg-review-text-expanded {
    display: block;
    -webkit-line-clamp: unset;
}

.hg-review-more-btn {
    background: none !important;
    background-color: transparent !important;
    border: none !important;
    color: #374151 !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    cursor: pointer;
    padding: 0 !important;
    margin: 8px 0 0 0 !important;
    display: inline-block;
    box-shadow: none !important;
    text-decoration: none !important;
    line-height: 1.4;
}

.hg-review-more-btn:hover {
    color: #1a1a1a !important;
    background: none !important;
    text-decoration: none !important;
}

.hg-carousel-nav {
    width: 40px !important;
    height: 40px !important;
    border-radius: 50% !important;
    border: none !important;
    background: #ededede6 !important;
    color: #093556 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    cursor: pointer !important;
    transition: background-color 0.2s ease, color 0.2s ease !important;
    flex-shrink: 0 !important;
    padding: 0 !important;
    margin: 0 !important;
    box-shadow: none !important;
}

.hg-carousel-nav:hover {
    background: #ff7f11 !important;
    color: #ffffff !important;
}

.hg-carousel-nav svg {
    width: 12px !important;
    height: 12px !important;
    fill: currentColor !important;
}

@media (max-width: 768px) {
    .hg-review-card {
        flex: 0 0 260px;
        padding: 16px;
    }

    .hg-carousel-nav {
        width: 36px;
        height: 36px;
    }
}

@media (max-width: 480px) {
    .hg-reviews-carousel-wrapper {
        gap: 8px;
    }

    .hg-review-card {
        flex: 0 0 240px;
        padding: 14px;
    }

    .hg-carousel-nav {
        width: 32px;
        height: 32px;
        font-size: 12px;
    }

    .hg-review-avatar {
        width: 40px;
        height: 40px;
    }
}
