/* ==================================================== */
/* HUISDIERPOLIS VERGELIJKER - MOBILE STYLING            */
/* AVG-Proof | Geen externe fonts | Geen tracking        */
/* ==================================================== */

/* ============ CONTAINER ============ */

.hp-mobile-vergelijker {
    width: 100%;
    max-width: 480px;
    margin: 1.5rem auto;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    box-sizing: border-box;
}

.hp-mobile-vergelijker * {
    box-sizing: border-box;
}

/* ============ TITEL ============ */

.hp-tabel-titel {
    font-size: 22px;
    font-weight: 700;
    color: #2C2C2A;
    margin: 0 0 4px;
    text-align: center;
    line-height: 1.3;
}

.hp-tabel-subtitel {
    font-size: 13px;
    color: #5F5E5A;
    margin: 0 0 1.25rem;
    text-align: center;
}

/* ============ DIER SELECTOR TABS ============ */

.hp-dier-tabs {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 6px;
    margin-bottom: 1.25rem;
    background: #FFFFFF;
    padding: 6px;
    border-radius: 16px;
    border: 1px solid #E5E3DC;
}

.hp-dier-tab {
    padding: 14px 8px;
    border-radius: 12px;
    text-align: center;
    cursor: pointer;
    border: none;
    background: transparent;
    font-family: inherit;
    transition: all 0.2s ease;
    -webkit-tap-highlight-color: transparent;
}

.hp-dier-tab:active {
    transform: scale(0.96);
}

.hp-dier-tab.hp-active {
    background: #E6F1FB;
    box-shadow: 0 2px 8px rgba(55, 138, 221, 0.15);
}

.hp-dier-tab-icon {
    font-size: 32px;
    display: block;
    margin-bottom: 4px;
    line-height: 1;
}

.hp-dier-tab-label {
    font-size: 13px;
    font-weight: 600;
    color: #5F5E5A;
}

.hp-dier-tab.hp-active .hp-dier-tab-label {
    color: #185FA5;
    font-weight: 700;
}

.hp-dier-subtitel {
    font-size: 13px;
    color: #5F5E5A;
    margin: 0 0 1.25rem;
    text-align: center;
}

/* ============ VERZEKERAAR CARD ============ */

.hp-verzekeraar-card {
    background: #FFFFFF;
    border: 1px solid #E5E3DC;
    border-radius: 16px;
    padding: 1.25rem;
    margin-bottom: 1rem;
    position: relative;
    overflow: hidden;
}

.hp-verzekeraar-card.hp-highlight {
    border: 2px solid #378ADD;
    background: linear-gradient(135deg, #FFFFFF 0%, #F4F9FE 100%);
}

/* ============ BADGES ============ */

.hp-card-badge {
    display: inline-block;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
    margin-bottom: 12px;
    letter-spacing: 0.3px;
}

.hp-badge-promotie {
    background: #FFE5E5;
    color: #C92A2A;
}

.hp-badge-goedkoopst {
    background: #EAF3DE;
    color: #3B6D11;
}

.hp-badge-aanbevolen {
    background: #E6F1FB;
    color: #185FA5;
}

.hp-badge-spacer {
    height: 30px;
    margin-bottom: 12px;
}

/* ============ CARD HEADER ============ */

.hp-card-header {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 16px;
}

.hp-logo-placeholder {
    width: 60px;
    height: 60px;
    min-width: 60px;
    border-radius: 12px;
    background: #F1EFE8;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border: 1px solid #E5E3DC;
}

.hp-logo-placeholder img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 6px;
}

.hp-logo-placeholder .hp-logo-text {
    font-size: 11px;
    color: #888780;
    text-align: center;
    font-weight: 500;
    padding: 4px;
    line-height: 1.2;
}

.hp-verzekeraar-info {
    flex: 1;
    min-width: 0;
}

.hp-verzekeraar-naam {
    font-size: 18px;
    font-weight: 700;
    color: #2C2C2A;
    margin: 0 0 2px;
    line-height: 1.2;
}

.hp-verzekeraar-rating {
    font-size: 12px;
    color: #5F5E5A;
    display: flex;
    align-items: center;
    gap: 4px;
}

.hp-rating-stars {
    color: #FFC107;
    font-size: 13px;
}

/* ============ PRIJS SECTIE ============ */

.hp-prijs-sectie {
    background: #F9FAFB;
    border-radius: 10px;
    padding: 12px 14px;
    margin-bottom: 14px;
    display: flex;
    align-items: baseline;
    justify-content: space-between;
}

.hp-prijs-bedrag {
    font-size: 28px;
    font-weight: 700;
    line-height: 1;
}

.hp-prijs-blauw { color: #378ADD; }
.hp-prijs-groen { color: #639922; }
.hp-prijs-zwart { color: #2C2C2A; }

.hp-prijs-periode {
    font-size: 13px;
    color: #5F5E5A;
    font-weight: 500;
}

.hp-korting-info {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 4px;
    font-size: 12px;
}

.hp-was-prijs {
    text-decoration: line-through;
    color: #888780;
}

.hp-korting-tekst {
    background: #FFE5E5;
    color: #C92A2A;
    padding: 2px 8px;
    border-radius: 6px;
    font-weight: 600;
    font-size: 11px;
}

/* ============ FEATURES GRID ============ */

.hp-features-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-bottom: 14px;
}

.hp-feature-item {
    background: #FAFAF7;
    padding: 10px 12px;
    border-radius: 8px;
    border: 1px solid #F1EFE8;
}

.hp-feature-label {
    font-size: 11px;
    color: #888780;
    font-weight: 500;
    margin-bottom: 2px;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.hp-feature-waarde {
    font-size: 14px;
    color: #2C2C2A;
    font-weight: 600;
}

.hp-feature-waarde.hp-groen { color: #639922; }
.hp-feature-waarde.hp-oranje { color: #BA7517; }
.hp-feature-waarde.hp-standaard { color: #2C2C2A; }

/* ============ CTA BUTTON ============ */

.hp-cta-button {
    display: block;
    width: 100%;
    padding: 14px 20px;
    background: #378ADD;
    color: #FFFFFF !important;
    text-decoration: none;
    border-radius: 10px;
    font-weight: 700;
    font-size: 15px;
    text-align: center;
    border: none;
    letter-spacing: 0.2px;
    -webkit-tap-highlight-color: transparent;
    transition: all 0.2s ease;
}

.hp-cta-button:hover {
    background: #2e6eb3;
    color: #FFFFFF !important;
    text-decoration: none;
}

.hp-cta-button:active {
    background: #2e6eb3;
    transform: scale(0.98);
}

.hp-cta-button.hp-cta-secundair {
    background: #FFFFFF;
    color: #378ADD !important;
    border: 2px solid #378ADD;
}

.hp-cta-button.hp-cta-secundair:hover {
    background: #E6F1FB;
    color: #378ADD !important;
}

.hp-cta-button.hp-cta-secundair:active {
    background: #E6F1FB;
}

/* ============ DISCLAIMERS ============ */

.hp-promotie-disclaimer {
    background: #FFF5F5;
    border-left: 3px solid #C92A2A;
    padding: 10px 12px;
    margin: 0 0 14px;
    border-radius: 6px;
    font-size: 11px;
    color: #5F5E5A;
    line-height: 1.5;
}

.hp-promotie-disclaimer strong {
    color: #C92A2A;
}

.hp-disclaimer {
    background: #FFF9E6;
    border-left: 3px solid #EF9F27;
    padding: 12px 14px;
    margin: 1rem 0;
    border-radius: 8px;
    font-size: 12px;
    color: #5F5E5A;
    line-height: 1.5;
}

.hp-disclaimer strong {
    color: #BA7517;
}

/* ============ TAB CONTENT VISIBILITY ============ */

.hp-dier-content {
    display: none;
}

.hp-dier-content.hp-actief {
    display: block;
}

/* ============ DESKTOP HIDE ============ */

@media (min-width: 769px) {
    .hp-mobile-vergelijker {
        display: none !important;
    }
}
