/* Car profile — offer badge navigation. Extracted from Views/Web/Car/Profile.php. */
.hero-badge {
    background-color: #0066ff;
    color: #fff;
    font-size: 0.6em;
    vertical-align: middle;
}

.offers-badges {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.badge-link {
    display: inline-block;
    padding: 0.5rem 1.5rem;
    background: #f8f9fa;
    color: #333;
    text-decoration: none;
    border-radius: 10px;
    transition: background 0.3s ease, color 0.3s ease;
    border: 1px solid #0066ff;
}

.badge-link:hover {
    background: #e9ecef;
    color: #333;
}

.badge-link.active {
    background: #0066ff;
    color: #fff;
}

.badge-link.active:hover {
    background: #0066ff;
}

.badge-label {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    line-height: 1.2;
}

.badge-label strong {
    font-size: 1.1rem;
    font-weight: 700;
    display: block;
    margin-bottom: 0.15rem;
}

.badge-label small {
    font-size: 0.7rem;
    font-weight: 400;
    line-height: 1.3;
    display: block;
}

.badge-link:not(.active) .badge-label small {
    color: #5c636a;
}

.badge-link.active .badge-label small {
    opacity: 0.8;
}

/* Responsive badges - tablet */
@media (max-width: 991px) {
    .offers-badges {
        flex-wrap: wrap;
    }

    .badge-link {
        flex: 1 1 calc(50% - 0.5rem);
        min-width: calc(50% - 0.5rem);
        text-align: center;
    }

    .badge-link:last-child {
        flex: 1 1 calc(50% - 0.5rem);
    }

    .badge-label {
        align-items: center;
    }
}

/* Responsive badges - mobile */
@media (max-width: 576px) {
    .badge-link {
        padding: 0.5rem 1rem;
    }

    .badge-label small {
        display: none;
    }

    .badge-label strong {
        margin-bottom: 0;
    }
}

.car-about-common-issues {
    margin-top: 2rem;
}

.car-about-common-issues > h3 {
    color: #000;
    font-family: Inter;
    font-size: 16px;
    font-style: normal;
    font-weight: 600;
    line-height: 140%;
    margin-bottom: 0.75rem;
}

.car-about-common-issue {
    padding: 1rem 0;
    border-top: 1px solid #ddd;
}

.car-about-common-issue:last-of-type {
    padding-bottom: 0;
}

.car-about-common-issue h4 {
    color: #000;
    font-family: Inter;
    font-size: 16px;
    font-style: normal;
    font-weight: 600;
    line-height: 140%;
    margin-bottom: 0.5rem;
}

.car-about-common-issue-answer,
.car-about-common-issue-answer p {
    color: #000;
    font-family: Inter;
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: 140%;
}

.car-about-common-issue-answer p:last-child {
    margin-bottom: 0;
}

.car-about-common-issue-price {
    color: #000;
    font-family: Inter;
    font-size: 14px;
    font-style: normal;
    font-weight: 600;
    line-height: 140%;
    margin: 0.75rem 0 0;
}

.car-about-common-issue .btn-cta {
    margin-top: 0.75rem;
    padding: 8px 20px;
    font-size: 14px;
}

@media (min-width: 768px) {
    .car-about-common-issues {
        margin-top: 2.5rem;
    }

    .car-about-common-issues > h3 {
        font-size: 18px;
    }
}
