/**
 * Hitta din bilhandlare – Directory Page Styles
 * Extends kiaev5-theme.css
 */

/* ══════════════════════════════════════════════
   HERO
   ══════════════════════════════════════════════ */
.bh-hero {
    position: relative;
    min-height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding-top: var(--nav-height);
    padding-bottom: 40px;
}
.bh-hero__bg {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at 30% 50%, rgba(5, 196, 107, 0.08) 0%, transparent 60%),
        radial-gradient(ellipse at 70% 50%, rgba(30, 144, 255, 0.06) 0%, transparent 60%),
        linear-gradient(180deg, var(--color-bg) 0%, var(--color-bg-alt) 100%);
    z-index: 0;
}
.bh-hero__bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.015'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.bh-hero__content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 60px 24px 20px;
    max-width: 800px;
}
.bh-hero__label {
    display: inline-block;
    padding: 6px 20px;
    background: rgba(5, 196, 107, 0.1);
    border: 1px solid rgba(5, 196, 107, 0.2);
    border-radius: 100px;
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--color-accent);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 24px;
}
.bh-hero__title {
    font-size: clamp(2.5rem, 6vw, 4rem);
    font-weight: 900;
    letter-spacing: -0.03em;
    line-height: 1.1;
    margin-bottom: 20px;
    color: var(--color-white);
}
.bh-hero__title .accent {
    background: linear-gradient(135deg, var(--color-accent), #1e90ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.bh-hero__subtitle {
    font-size: 1.1rem;
    color: var(--color-text-muted);
    max-width: 620px;
    margin: 0 auto 40px;
    line-height: 1.7;
}

/* ══════════════════════════════════════════════
   BREADCRUMBS
   ══════════════════════════════════════════════ */
.bh-breadcrumbs {
    position: relative;
    z-index: 3;
    padding: 14px 0;
    border-bottom: 1px solid var(--color-border);
    background: rgba(10, 10, 10, 0.6);
    backdrop-filter: blur(8px);
    margin-top: var(--nav-height);
}
.bh-breadcrumbs .container {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.82rem;
}
.bh-breadcrumbs a {
    color: var(--color-text-muted);
    transition: var(--transition);
}
.bh-breadcrumbs a:hover {
    color: var(--color-accent);
}
.bh-breadcrumbs span {
    color: var(--color-text-dim);
}
.bh-breadcrumbs strong {
    color: var(--color-white);
    font-weight: 500;
}

/* ══════════════════════════════════════════════
   DIRECTORY STATS
   ══════════════════════════════════════════════ */
.bh-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin-top: 0;
}
.bh-stat {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    padding: 20px 16px;
    text-align: center;
    transition: var(--transition);
}
.bh-stat:hover {
    border-color: rgba(5, 196, 107, 0.3);
    background: rgba(5, 196, 107, 0.05);
}
.bh-stat__number {
    font-size: 1.8rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--color-accent), #1e90ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: block;
    line-height: 1.2;
}
.bh-stat__label {
    font-size: 0.72rem;
    color: var(--color-text-muted);
    margin-top: 4px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

/* ══════════════════════════════════════════════
   STICKY CITY NAVIGATION
   ══════════════════════════════════════════════ */
.bh-city-nav {
    position: sticky;
    top: var(--nav-height);
    z-index: 100;
    background: rgba(10, 10, 10, 0.92);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--color-border);
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}
.bh-city-nav::-webkit-scrollbar { display: none; }
.bh-city-nav__inner {
    display: flex;
    gap: 4px;
    padding: 10px 24px;
    max-width: var(--container-max);
    margin: 0 auto;
    min-width: max-content;
}
.bh-city-nav a {
    color: var(--color-text-muted);
    font-size: 0.82rem;
    font-weight: 500;
    padding: 8px 16px;
    border-radius: 100px;
    white-space: nowrap;
    transition: var(--transition);
    text-decoration: none;
}
.bh-city-nav a:hover {
    color: var(--color-white);
    background: rgba(255, 255, 255, 0.05);
}
.bh-city-nav a.active {
    color: var(--color-white);
    background: var(--color-accent);
}

/* ══════════════════════════════════════════════
   CITY SECTIONS
   ══════════════════════════════════════════════ */
.city-section {
    padding: 64px 0 48px;
    border-top: 1px solid var(--color-border);
}
.city-section:first-of-type {
    border-top: none;
}
.city-header {
    margin-bottom: 8px;
}
.city-header h2 {
    font-size: clamp(1.6rem, 3vw, 2.2rem);
    font-weight: 800;
    color: var(--color-white);
    letter-spacing: -0.02em;
}
.city-header h2 .city-name {
    background: linear-gradient(135deg, var(--color-accent), #1e90ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.city-intro {
    color: var(--color-text-muted);
    font-size: 0.95rem;
    max-width: 700px;
    line-height: 1.7;
    margin-bottom: 28px;
}

/* ══════════════════════════════════════════════
   DEALER CARDS GRID
   ══════════════════════════════════════════════ */
.dealers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
    gap: 24px;
}

.dealer-card {
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: var(--transition);
    position: relative;
}
.dealer-card:hover {
    transform: translateY(-4px);
    border-color: rgba(5, 196, 107, 0.3);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
}
.dealer-card.official-kia {
    border-color: rgba(5, 196, 107, 0.2);
}
.dealer-card.official-kia::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--color-accent), #1e90ff);
    z-index: 1;
}

/* ── Dealer Card Image ── */
.dealer-card-img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
}
.dealer-card-img-placeholder {
    width: 100%;
    height: 200px;
    background: linear-gradient(135deg, #0d2137 0%, #162d44 60%, rgba(5, 196, 107, 0.08) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}
.dealer-card-img-placeholder::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 60'%3E%3Cpath d='M25 45 L30 30 L40 25 L55 25 L65 30 L75 30 L80 35 L80 45 Z' fill='rgba(5,196,107,0.08)' stroke='rgba(5,196,107,0.15)' stroke-width='0.5'/%3E%3Ccircle cx='72' cy='44' r='5' fill='none' stroke='rgba(5,196,107,0.12)' stroke-width='0.5'/%3E%3Ccircle cx='35' cy='44' r='5' fill='none' stroke='rgba(5,196,107,0.12)' stroke-width='0.5'/%3E%3C/svg%3E") no-repeat center center;
    background-size: 60%;
    opacity: 0.8;
}
.dealer-card-img-placeholder svg {
    position: relative;
    z-index: 1;
    width: 48px;
    height: 48px;
    color: rgba(5, 196, 107, 0.3);
}

/* ── Dealer Card Body ── */
.dealer-card-body {
    padding: 24px;
}

/* Badges */
.dealer-card-badges {
    display: flex;
    gap: 8px;
    margin-bottom: 12px;
    flex-wrap: wrap;
}
.badge {
    font-size: 0.68rem;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 100px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}
.badge-kia {
    background: linear-gradient(135deg, var(--color-accent), #1e90ff);
    color: var(--color-white);
}
.badge-category {
    background: rgba(59, 130, 246, 0.1);
    color: #60a5fa;
    border: 1px solid rgba(59, 130, 246, 0.15);
}

/* Dealer Name */
.dealer-card-body h3 {
    font-size: 1.15rem;
    color: var(--color-white);
    margin-bottom: 8px;
    line-height: 1.3;
    font-weight: 700;
}
.dealer-card-body h3 a {
    color: var(--color-white);
    text-decoration: none;
    transition: var(--transition);
}
.dealer-card-body h3 a:hover {
    color: var(--color-accent);
}

/* ══════════════════════════════════════════════
   RATING
   ══════════════════════════════════════════════ */
.dealer-rating {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 14px;
}
.rating-stars {
    display: flex;
    gap: 2px;
}
.star {
    color: #fbbf24;
    font-size: 0.9rem;
}
.star.empty {
    color: rgba(255, 255, 255, 0.12);
}
.star.half {
    color: rgba(255, 255, 255, 0.12);
}
.rating-number {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--color-white);
}
.rating-count {
    font-size: 0.82rem;
    color: var(--color-text-muted);
}

/* ══════════════════════════════════════════════
   DEALER DETAILS
   ══════════════════════════════════════════════ */
.dealer-details {
    list-style: none;
    padding: 0;
    margin: 0 0 16px;
}
.dealer-details li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 5px 0;
    font-size: 0.88rem;
    color: var(--color-text-muted);
    line-height: 1.5;
}
.dealer-details .detail-icon {
    flex-shrink: 0;
    width: 18px;
    text-align: center;
    color: var(--color-accent);
    font-size: 0.85rem;
    margin-top: 2px;
}
.dealer-details a {
    color: var(--color-accent);
    font-weight: 500;
    text-decoration: none;
    transition: var(--transition);
}
.dealer-details a:hover {
    text-decoration: underline;
}

/* ══════════════════════════════════════════════
   REVIEWS
   ══════════════════════════════════════════════ */
.dealer-reviews {
    border-top: 1px solid var(--color-border);
    padding-top: 16px;
    margin-top: 4px;
}
.dealer-reviews h4 {
    font-size: 0.75rem;
    color: var(--color-text-dim);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 12px;
    font-weight: 600;
}
.review-item {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.04);
    border-radius: var(--radius-sm);
    padding: 14px;
    margin-bottom: 10px;
}
.review-item:last-child {
    margin-bottom: 0;
}
.review-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 8px;
}
.review-author {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--color-white);
}
.review-stars {
    display: flex;
    gap: 1px;
}
.review-stars .star {
    font-size: 0.7rem;
}
.review-text {
    font-size: 0.82rem;
    color: var(--color-text-muted);
    line-height: 1.6;
    font-style: italic;
}
.review-date {
    font-size: 0.72rem;
    color: var(--color-text-dim);
    margin-top: 6px;
    display: block;
}

/* ══════════════════════════════════════════════
   DEALER CTA BUTTONS
   ══════════════════════════════════════════════ */
.dealer-card-cta {
    display: flex;
    gap: 10px;
    margin-top: 16px;
}
.dealer-card-cta .btn {
    flex: 1;
    text-align: center;
    font-size: 0.82rem;
    padding: 10px 16px;
}

/* ══════════════════════════════════════════════
   FAQ SECTION (matching theme's BEM pattern)
   ══════════════════════════════════════════════ */
.bh-faq .faq-question {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    background: none;
    border: none;
    color: var(--color-white);
    font-size: 0.98rem;
    font-weight: 600;
    padding: 20px 24px;
    cursor: pointer;
    text-align: left;
    font-family: inherit;
    gap: 16px;
    line-height: 1.4;
}
.bh-faq .faq-icon {
    flex-shrink: 0;
    font-size: 1.3rem;
    color: var(--color-accent);
    transition: transform 0.3s ease;
    font-weight: 300;
}
.bh-faq .faq-item.open .faq-icon {
    transform: rotate(45deg);
}
.bh-faq .faq-answer {
    display: none;
    padding: 0 24px 20px;
}
.bh-faq .faq-item.open .faq-answer {
    display: block;
}
.bh-faq .faq-answer-inner {
    font-size: 0.92rem;
    color: var(--color-text-muted);
    line-height: 1.7;
}
.bh-faq .faq-answer-inner a {
    color: var(--color-accent);
    font-weight: 500;
}

/* ══════════════════════════════════════════════
   CTA SECTION
   ══════════════════════════════════════════════ */
.bh-cta {
    padding: 80px 0;
    background:
        radial-gradient(ellipse at center, rgba(5, 196, 107, 0.08) 0%, transparent 70%),
        var(--color-bg-alt);
}
.bh-cta__box {
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-xl);
    padding: 60px 40px;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.bh-cta__box::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--color-accent), #1e90ff, var(--color-accent));
}
.bh-cta__box h2 {
    font-size: clamp(1.6rem, 3vw, 2.2rem);
    font-weight: 800;
    color: var(--color-white);
    margin-bottom: 12px;
}
.bh-cta__box p {
    color: var(--color-text-muted);
    font-size: 1rem;
    max-width: 560px;
    margin: 0 auto 28px;
    line-height: 1.7;
}
.bh-cta__buttons {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 28px;
}
.bh-cta__trust {
    display: flex;
    gap: 32px;
    justify-content: center;
    flex-wrap: wrap;
}
.bh-cta__trust span {
    font-size: 0.85rem;
    color: var(--color-text-muted);
}
.bh-cta__trust strong {
    color: var(--color-accent);
}

/* ══════════════════════════════════════════════
   INTERNAL LINKS GRID
   ══════════════════════════════════════════════ */
.bh-links-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}
.bh-link-card {
    display: block;
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    padding: 24px;
    text-decoration: none;
    transition: var(--transition);
}
.bh-link-card:hover {
    border-color: rgba(5, 196, 107, 0.3);
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
}
.bh-link-card__title {
    font-size: 1rem;
    font-weight: 700;
    color: var(--color-white);
    margin-bottom: 6px;
}
.bh-link-card:hover .bh-link-card__title {
    color: var(--color-accent);
}
.bh-link-card__desc {
    font-size: 0.82rem;
    color: var(--color-text-muted);
    line-height: 1.5;
}

/* ══════════════════════════════════════════════
   RESPONSIVE
   ══════════════════════════════════════════════ */
@media (max-width: 1024px) {
    .dealers-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .bh-stats {
        grid-template-columns: repeat(2, 1fr);
    }
    .bh-links-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .bh-hero {
        min-height: auto;
        padding-bottom: 30px;
    }
    .bh-hero__content {
        padding: 40px 16px 20px;
    }
    .bh-hero__title {
        font-size: 2.2rem;
    }
    .dealers-grid {
        grid-template-columns: 1fr;
    }
    .bh-stats {
        grid-template-columns: repeat(2, 1fr);
    }
    .dealer-card-cta {
        flex-direction: column;
    }
    .bh-cta__box {
        padding: 40px 24px;
    }
    .bh-cta__buttons {
        flex-direction: column;
        align-items: center;
    }
    .city-section {
        padding: 48px 0 36px;
    }
    .bh-links-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .bh-stats {
        grid-template-columns: 1fr 1fr;
        gap: 10px;
    }
    .bh-stat {
        padding: 16px 12px;
    }
    .bh-stat__number {
        font-size: 1.5rem;
    }
    .bh-hero__title {
        font-size: 1.8rem;
    }
}

/* ══════════════════════════════════════════════
   BH DEALER CARDS (BEM – listing + related)
   ══════════════════════════════════════════════ */
.bh-dealers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 24px;
}
.bh-dealer-card {
    display: block;
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: var(--transition);
    text-decoration: none;
    color: inherit;
}
.bh-dealer-card:hover {
    transform: translateY(-4px);
    border-color: rgba(5, 196, 107, 0.3);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
}
.bh-dealer-card__img {
    position: relative;
    width: 100%;
    height: 200px;
    overflow: hidden;
    background: linear-gradient(135deg, #0d2137 0%, #162d44 100%);
}
.bh-dealer-card__img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}
.bh-dealer-card:hover .bh-dealer-card__img img {
    transform: scale(1.05);
}
.bh-dealer-card__img--placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(5, 196, 107, 0.3);
}
.bh-dealer-card__badge {
    position: absolute;
    top: 12px;
    left: 12px;
    font-size: 0.68rem;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    background: linear-gradient(135deg, var(--color-accent), #1e90ff);
    color: #fff;
    z-index: 1;
}
.bh-dealer-card__body {
    padding: 20px;
}
.bh-dealer-card__rating {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 8px;
    font-size: 0.88rem;
}
.bh-dealer-card__stars {
    color: #fbbf24;
    letter-spacing: 1px;
}
.bh-dealer-card__rating strong {
    color: var(--color-white);
    font-weight: 700;
}
.bh-dealer-card__reviews {
    color: var(--color-text-muted);
    font-size: 0.82rem;
}
.bh-dealer-card__name {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--color-white);
    margin-bottom: 4px;
    line-height: 1.3;
}
.bh-dealer-card__category {
    font-size: 0.8rem;
    color: var(--color-accent);
    margin-bottom: 6px;
    font-weight: 500;
}
.bh-dealer-card__address {
    font-size: 0.82rem;
    color: var(--color-text-muted);
    line-height: 1.4;
    margin-bottom: 4px;
}
.bh-dealer-card__website {
    font-size: 0.78rem;
    color: var(--color-accent);
    opacity: 0.8;
    margin-bottom: 8px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.bh-dealer-card__cta {
    display: inline-block;
    margin-top: 10px;
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--color-accent);
    transition: var(--transition);
}
.bh-dealer-card:hover .bh-dealer-card__cta {
    letter-spacing: 0.03em;
}

/* City section BEM */
.bh-city-section {
    padding: 64px 24px 48px;
    max-width: var(--container-max, 1200px);
    margin: 0 auto;
    border-top: 1px solid var(--color-border);
}
.bh-city-section:first-of-type { border-top: none; }
.bh-city-section__header { margin-bottom: 20px; }
.bh-city-section__title {
    font-size: clamp(1.4rem, 3vw, 2rem);
    font-weight: 800;
    color: var(--color-white);
}
.bh-city-section__count {
    font-size: 0.82rem;
    font-weight: 700;
    background: rgba(5, 196, 107, 0.15);
    color: var(--color-accent);
    padding: 2px 10px;
    border-radius: 20px;
    margin-left: 10px;
    vertical-align: middle;
}

/* Filter bar BEM */
.bh-filter-bar {
    max-width: var(--container-max, 1200px);
    margin: 0 auto;
    padding: 20px 24px;
}
.bh-filter-bar__inner {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}
.bh-filter-bar__label {
    font-size: 0.85rem;
    color: var(--color-text-muted);
    font-weight: 500;
}
.bh-filter-bar__buttons {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
}
.bh-filter-btn {
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
    color: var(--color-text-muted);
    padding: 6px 16px;
    border-radius: 100px;
    font-size: 0.82rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    font-family: inherit;
}
.bh-filter-btn:hover {
    color: var(--color-white);
    border-color: rgba(5, 196, 107, 0.3);
}
.bh-filter-btn.active {
    background: var(--color-accent);
    color: #fff;
    border-color: var(--color-accent);
}
.bh-filter-bar__count {
    font-size: 0.82rem;
    color: var(--color-text-muted);
    margin-left: auto;
}

/* City nav BEM additions */
.bh-city-nav__link {
    color: var(--color-text-muted);
    font-size: 0.82rem;
    font-weight: 500;
    padding: 8px 16px;
    border-radius: 100px;
    white-space: nowrap;
    transition: var(--transition);
    text-decoration: none;
}
.bh-city-nav__link:hover {
    color: var(--color-white);
    background: rgba(255, 255, 255, 0.05);
}
.bh-city-nav__link.active {
    color: #fff;
    background: var(--color-accent);
}
.bh-city-nav__count {
    font-size: 0.68rem;
    font-weight: 700;
    background: rgba(5, 196, 107, 0.15);
    color: var(--color-accent);
    padding: 1px 7px;
    border-radius: 10px;
    margin-left: 4px;
}

/* Hero BEM stats */
.bh-stats__item {
    text-align: center;
}
.bh-stats__num {
    display: block;
    font-size: 1.8rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--color-accent), #1e90ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.bh-stats__label {
    font-size: 0.72rem;
    color: var(--color-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.08em;
}
.bh-stats {
    display: flex;
    gap: 40px;
    justify-content: center;
    margin-top: 30px;
}

/* FAQ BEM additions */
.faq-item { background: var(--color-bg-card); border: 1px solid var(--color-border); border-radius: var(--radius-md); margin-bottom: 8px; }
.faq-item__question { display: flex; align-items: center; justify-content: space-between; width: 100%; background: none; border: none; color: var(--color-white); font-size: 0.95rem; font-weight: 600; padding: 18px 24px; cursor: pointer; text-align: left; font-family: inherit; line-height: 1.4; }
.faq-item__question::after { content: '+'; font-size: 1.3rem; color: var(--color-accent); transition: transform 0.3s ease; flex-shrink: 0; }
.faq-item--open .faq-item__question::after { transform: rotate(45deg); }
.faq-item__answer { display: none; padding: 0 24px 18px; }
.faq-item--open .faq-item__answer { display: block; }
.faq-item__answer p { font-size: 0.9rem; color: var(--color-text-muted); line-height: 1.7; }

@media (max-width: 768px) {
    .bh-dealers-grid { grid-template-columns: 1fr; }
    .bh-stats { gap: 20px; }
}
@media (max-width: 1024px) {
    .bh-dealers-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ══════════════════════════════════════════════
   SINGLE DEALER PAGE
   ══════════════════════════════════════════════ */

/* Breadcrumbs */
.bh-breadcrumb { padding: calc(var(--nav-height) + 20px) 24px 16px; max-width: 1200px; margin: 0 auto; }
.bh-breadcrumb__inner { display: flex; align-items: center; gap: 8px; font-size: 0.82rem; color: var(--color-text-muted); flex-wrap: wrap; }
.bh-breadcrumb__inner a { color: var(--color-accent); text-decoration: none; }
.bh-breadcrumb__inner a:hover { text-decoration: underline; }
.bh-breadcrumb__inner strong { color: var(--color-text); }

/* Hero */
.sd-hero { max-width: 1200px; margin: 0 auto; padding: 24px; }
.sd-hero__inner { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; }
.sd-hero__gallery { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; border-radius: 16px; overflow: hidden; }
.sd-hero__img--main { grid-column: 1 / -1; }
.sd-hero__img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.sd-hero__img--main img { height: 280px; }
.sd-hero__img:not(.sd-hero__img--main) img { height: 160px; }
.sd-hero__img--placeholder { background: var(--color-bg-alt); display: flex; align-items: center; justify-content: center; min-height: 280px; color: var(--color-text-muted); }
.sd-hero__badges { display: flex; gap: 8px; margin-bottom: 16px; flex-wrap: wrap; }
.sd-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 0.72rem;
    font-weight: 700;
    padding: 5px 12px;
    border-radius: 20px;
    letter-spacing: 0.3px;
    white-space: nowrap;
    transition: var(--transition);
}
.sd-badge svg { flex-shrink: 0; }
.sd-badge--verified {
    background: rgba(5, 196, 107, 0.12);
    color: var(--color-accent);
    border: 1px solid rgba(5, 196, 107, 0.25);
}
.sd-badge--kia {
    background: linear-gradient(135deg, rgba(5,196,107,0.15), rgba(0,184,148,0.15));
    color: #00e676;
    border: 1px solid rgba(0, 230, 118, 0.25);
}
.sd-badge--cat {
    background: rgba(30,144,255,0.1);
    color: #60a5fa;
    border: 1px solid rgba(30,144,255,0.2);
}
.sd-badge--top {
    background: linear-gradient(135deg, rgba(251,191,36,0.15), rgba(245,158,11,0.15));
    color: #fbbf24;
    border: 1px solid rgba(251,191,36,0.3);
}
.sd-badge--recommended {
    background: rgba(139,92,246,0.1);
    color: #a78bfa;
    border: 1px solid rgba(139,92,246,0.2);
}
.sd-badge--popular {
    background: rgba(236,72,153,0.1);
    color: #f472b6;
    border: 1px solid rgba(236,72,153,0.2);
}
.sd-badge--city {
    background: rgba(255,255,255,0.05);
    color: var(--color-text-muted);
    border: 1px solid var(--color-border);
}
.sd-hero__website {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.88rem;
    color: var(--color-text-muted);
    margin-bottom: 20px;
}
.sd-hero__website svg { color: var(--color-accent); flex-shrink: 0; }
.sd-hero__website a { color: var(--color-accent); text-decoration: none; font-weight: 500; }
.sd-hero__website a:hover { text-decoration: underline; }
.sd-hero__name { font-size: clamp(1.5rem, 3vw, 2.2rem); font-weight: 800; color: var(--color-text); line-height: 1.2; margin-bottom: 12px; }
.sd-hero__rating { display: flex; align-items: center; gap: 8px; margin-bottom: 12px; font-size: 0.95rem; }
.sd-hero__rating strong { color: var(--color-text); }
.sd-hero__rating span { color: var(--color-text-muted); }
.bh-star--full { color: #fbbf24; }
.bh-star--half { color: #fbbf24; opacity: 0.5; }
.bh-star--empty { color: rgba(255,255,255,0.15); }
.sd-hero__address { color: var(--color-text-muted); font-size: 0.92rem; margin-bottom: 20px; line-height: 1.5; }
.sd-hero__actions { display: flex; gap: 10px; flex-wrap: wrap; }

/* Content: Details + Reviews */
.sd-content { max-width: 1200px; margin: 40px auto; padding: 0 24px; }
.sd-content__inner { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.sd-details h2, .sd-reviews h2 { font-size: 1.4rem; font-weight: 700; color: var(--color-text); margin-bottom: 16px; }
.sd-details p { color: var(--color-text-muted); font-size: 0.92rem; line-height: 1.7; margin-bottom: 24px; }
.sd-info-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.sd-info-item { display: flex; gap: 12px; padding: 16px; background: var(--color-bg-alt); border: 1px solid var(--color-border); border-radius: 12px; }
.sd-info-icon { font-size: 1.2rem; flex-shrink: 0; margin-top: 2px; }
.sd-info-item strong { display: block; font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.5px; color: var(--color-text-muted); margin-bottom: 4px; }
.sd-info-item p { color: var(--color-text); font-size: 0.88rem; margin: 0; line-height: 1.4; }
.sd-info-item a { color: var(--color-accent); text-decoration: none; }
.sd-info-item a:hover { text-decoration: underline; }

/* Reviews */
.sd-reviews__summary { margin-bottom: 24px; }
.sd-reviews__big-rating { display: flex; align-items: center; gap: 12px; padding: 20px; background: var(--color-bg-alt); border: 1px solid var(--color-border); border-radius: 12px; }
.sd-reviews__number { font-size: 2.5rem; font-weight: 800; color: var(--color-text); }
.sd-reviews__stars-large { font-size: 1.2rem; }
.sd-reviews__count { color: var(--color-text-muted); font-size: 0.85rem; }
.sd-reviews__list { display: flex; flex-direction: column; gap: 12px; }
.sd-review { padding: 18px; background: var(--color-bg-alt); border: 1px solid var(--color-border); border-radius: 12px; }
.sd-review__header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 8px; }
.sd-review__author { font-weight: 600; color: var(--color-text); font-size: 0.88rem; }
.sd-review__stars { font-size: 0.8rem; }
.sd-review__text { color: var(--color-text-muted); font-size: 0.88rem; line-height: 1.6; font-style: italic; margin-bottom: 6px; }
.sd-review__date { font-size: 0.72rem; color: rgba(138,155,176,0.6); }

/* ── Embeddable Badge Section (mulletuomo-style) ── */
.sd-embed-badge {
    max-width: 1200px;
    margin: 60px auto;
    padding: 0 24px;
}
.sd-embed-badge__inner {
    margin-top: 0;
}
.sd-embed-badge__head { margin-bottom: 20px; }
.sd-embed-badge__head h2 {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--color-white);
    margin-bottom: 8px;
    letter-spacing: 0.5px;
}
.sd-embed-badge__head p {
    font-size: 0.85rem;
    color: var(--color-text-muted);
    line-height: 1.5;
    margin-bottom: 16px;
}

/* Tabs – matches mulletuomo .badge-variant-tabs / .badge-tab */
.sd-badge-tabs {
    display: flex;
    gap: 0;
    margin-bottom: 16px;
    border: 1px solid var(--color-border);
    border-radius: 8px;
    overflow: hidden;
}
.sd-badge-tab {
    flex: 1;
    padding: 8px 12px;
    background: rgba(255,255,255,0.03);
    border: none;
    color: var(--color-text-muted);
    font-family: inherit;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    cursor: pointer;
    transition: all 0.2s ease;
}
.sd-badge-tab:not(:last-child) {
    border-right: 1px solid var(--color-border);
}
.sd-badge-tab:hover {
    background: rgba(255,255,255,0.06);
    color: var(--color-white);
}
.sd-badge-tab.active {
    background: var(--color-accent);
    color: #fff;
}

/* Variants */
.sd-badge-variant { display: none; }
.sd-badge-variant.active { display: block; }

/* Badge preview – matches mulletuomo .badge-preview */
.sd-badge-preview {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 24px 12px;
    background: rgba(255,255,255,0.03);
    border: 1px solid var(--color-border);
    border-radius: 8px;
    margin-bottom: 16px;
    min-height: 80px;
}

/* Badge widget (preview render) */
.sd-badge-widget {
    display: inline-block;
    text-decoration: none;
    font-family: system-ui, -apple-system, sans-serif;
    text-align: center;
}
.sd-badge-widget--standard { max-width: 450px; }
.sd-badge-widget--compact  { max-width: 240px; }
.sd-badge-widget--vertical { max-width: 450px; }

.sd-badge-widget svg {
    display: block;
    margin: 0 auto;
    border: 0;
}

.sd-badge-widget__text { padding: 0 8px; }
.sd-badge-widget--standard .sd-badge-widget__text { margin-top: 8px; }
.sd-badge-widget--compact  .sd-badge-widget__text { margin-top: 6px; }
.sd-badge-widget--vertical .sd-badge-widget__text { margin-top: 8px; }

.sd-badge-widget__name {
    font-size: 14px;
    font-weight: 700;
    color: #daa520;
    line-height: 1.3;
}
.sd-badge-widget--compact .sd-badge-widget__name { font-size: 11px; }

.sd-badge-widget__stars {
    font-size: 13px;
    color: #fbbf24;
    letter-spacing: 2px;
    margin-top: 4px;
    display: block;
}
.sd-badge-widget--compact .sd-badge-widget__stars {
    font-size: 10px;
    letter-spacing: 1px;
    margin-top: 3px;
}

.sd-badge-widget__meta {
    font-size: 11px;
    color: var(--color-text-muted);
    margin-top: 3px;
    display: block;
}
.sd-badge-widget__city {
    font-size: 11px;
    color: var(--color-text-dim, #6b7d92);
    font-style: italic;
    margin-top: 2px;
    display: block;
}
.sd-badge-widget__verified {
    font-size: 10px;
    color: #c8952a;
    margin-top: 4px;
    font-weight: 600;
    display: block;
}

/* Code area – matches mulletuomo .badge-code-label / .badge-code-area */
.sd-embed-badge__code-area label {
    display: block;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--color-text-muted);
    margin-bottom: 6px;
    font-weight: 600;
}
.sd-embed-badge__code-area textarea {
    width: 100%;
    background: rgba(0,0,0,0.4);
    border: 1px solid var(--color-border);
    border-radius: 6px;
    color: var(--color-text-muted);
    font-family: 'Courier New', monospace;
    font-size: 0.7rem;
    padding: 12px;
    resize: vertical;
    line-height: 1.5;
    margin-bottom: 12px;
    transition: border-color 0.2s ease;
}
.sd-embed-badge__code-area textarea:focus {
    outline: none;
    border-color: var(--color-accent);
}

/* Copy button – matches mulletuomo .badge-copy-btn */
.sd-badge-copy-btn {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 16px;
    background: var(--color-accent);
    border: none;
    border-radius: 8px;
    color: #fff;
    font-family: inherit;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: background 0.2s ease;
}
.sd-badge-copy-btn:hover {
    background: #04b360;
}
.sd-badge-copy-btn.copied {
    background: #1e90ff;
}

@media (max-width: 768px) {
    .sd-badge-preview { padding: 20px 8px; }
}

/* Related */
.sd-related { max-width: 1200px; margin: 60px auto; padding: 0 24px; }
.sd-related__inner h2 { font-size: 1.4rem; font-weight: 700; color: var(--color-text); margin-bottom: 24px; }
.sd-related__more { text-align: center; margin-top: 24px; }

/* Responsive */
@media (max-width: 900px) {
    .sd-hero__inner { grid-template-columns: 1fr; }
    .sd-content__inner { grid-template-columns: 1fr; }
    .sd-info-grid { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
    .sd-hero__gallery { grid-template-columns: 1fr; }
    .sd-hero__img:not(.sd-hero__img--main) { display: none; }
}
