﻿:root {
    --hopv-accent: #2F6F62; /* diepgroen, past bij natuur/hond-thema */
    --hopv-accent-light: #E7F0EC;
    --hopv-sand: #FAF7F2;
    --hopv-text: #232B26;
    --hopv-text-muted: #6B7570;
    --hopv-star: #F0AD1F;
    --hopv-border: #E4E0D8;
    --hopv-radius: 14px;
}

.hopv-reviews-section {
    font-family: inherit; /* erft het lettertype van de host-site */
    background: var(--hopv-sand);
    padding: 32px 0;
    position: relative;
}

.hopv-reviews-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 10px;
    max-width: 1100px;
    margin: 0 auto 18px;
    padding: 0 56px;
}

    .hopv-reviews-heading h2 {
        font-size: 1.4rem;
        margin: 0;
        color: var(--hopv-text);
    }

.hopv-google-badge {
    display: flex;
    align-items: center;
    gap: 8px;
}

.hopv-google-icon {
    width: 22px;
    height: 22px;
    flex-shrink: 0;
}

.hopv-google-wordmark {
    font-family: Arial, Helvetica, sans-serif;
    font-size: 1.05rem;
    font-weight: 600;
    letter-spacing: -0.3px;
}

    .hopv-google-wordmark span:nth-child(1) {
        color: #4285F4;
    }

    .hopv-google-wordmark span:nth-child(2) {
        color: #EA4335;
    }

    .hopv-google-wordmark span:nth-child(3) {
        color: #FBBC05;
    }

    .hopv-google-wordmark span:nth-child(4) {
        color: #4285F4;
    }

    .hopv-google-wordmark span:nth-child(5) {
        color: #34A853;
    }

    .hopv-google-wordmark span:nth-child(6) {
        color: #EA4335;
    }

.hopv-reviews-heading .hopv-overall {
    font-size: 0.9rem;
    color: var(--hopv-text-muted);
    display: flex;
    align-items: center;
    gap: 6px;
}

.hopv-overall .hopv-overall-stars {
    color: var(--hopv-star);
    font-size: 0.9rem;
    letter-spacing: 1px;
}

.hopv-card-google-icon {
    width: 18px;
    height: 18px;
    margin-left: auto;
    flex-shrink: 0;
}

.hopv-carousel-wrapper {
    position: relative;
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 56px;
}

.hopv-carousel-track {
    display: flex;
    gap: 16px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    padding: 4px 2px 12px;
    -webkit-overflow-scrolling: touch;
    /* scrollbar verbergen, arrows doen het werk */
    scrollbar-width: none;
}

    .hopv-carousel-track::-webkit-scrollbar {
        display: none;
    }

.hopv-review-card {
    flex: 0 0 calc(33.333% - 11px);
    scroll-snap-align: start;
    background: #fff;
    border: 1px solid var(--hopv-border);
    border-radius: var(--hopv-radius);
    padding: 18px 20px;
    display: flex;
    flex-direction: column;
    min-height: 190px;
    box-sizing: border-box;
}

.hopv-review-head {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 8px;
}

.hopv-review-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
    background: var(--hopv-accent-light);
}

.hopv-review-author {
    font-weight: 600;
    font-size: 0.92rem;
    color: var(--hopv-text);
    line-height: 1.2;
}

.hopv-review-time {
    font-size: 0.78rem;
    color: var(--hopv-text-muted);
}

.hopv-review-stars {
    color: var(--hopv-star);
    font-size: 0.85rem;
    letter-spacing: 1px;
    margin-bottom: 6px;
}

.hopv-review-text {
    font-size: 0.88rem;
    line-height: 1.45;
    color: var(--hopv-text);
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 5;
    -webkit-box-orient: vertical;
}

    .hopv-review-text.hopv-expanded {
        -webkit-line-clamp: unset;
    }

.hopv-review-more {
    margin-top: 6px;
    font-size: 0.8rem;
    color: var(--hopv-accent);
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
    align-self: flex-start;
    text-decoration: underline;
}

.hopv-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid var(--hopv-border);
    background: #fff;
    color: var(--hopv-accent);
    font-size: 1.1rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 6px rgba(0,0,0,0.08);
    z-index: 2;
    transition: background 0.15s ease;
}

    .hopv-arrow:hover {
        background: var(--hopv-accent-light);
    }

    .hopv-arrow:focus-visible {
        outline: 2px solid var(--hopv-accent);
        outline-offset: 2px;
    }

    .hopv-arrow[disabled] {
        opacity: 0.35;
        cursor: default;
        pointer-events: none;
    }

.hopv-arrow-prev {
    left: 4px;
}

.hopv-arrow-next {
    right: 4px;
}

/* Tablet: 2 kaarten zichtbaar */
@media (max-width: 860px) {
    .hopv-review-card {
        flex: 0 0 calc(50% - 8px);
    }
}

/* Mobiel: 1 kaart + klein stukje volgende zichtbaar (peek), arrows kleiner en dichter op de rand */
@media (max-width: 560px) {
    .hopv-reviews-heading,
    .hopv-carousel-wrapper {
        padding: 0 40px;
    }

    .hopv-review-card {
        flex: 0 0 100%;
        min-height: 170px;
    }

    .hopv-arrow {
        width: 34px;
        height: 34px;
        font-size: 1rem;
    }

    .hopv-arrow-prev {
        left: -2px;
    }

    .hopv-arrow-next {
        right: -2px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .hopv-carousel-track {
        scroll-behavior: auto;
    }
}
