﻿/* ============================================================
   SITE LAYOUT — HEADER, NAVIGATION, DROPDOWN, FOOTER
   Token-driven version for BilMarknadsPlats.se
   ============================================================ */
/* ============================================================
   LAYOUT FOUNDATION — PAGE, CONTAINERS, SECTIONS
   ============================================================ */

body {
    overflow-x: hidden;
}


/* Huvudwrapper under headern */
.page-main {

    background: var(--bg-lighter);
}

/* Standard container */
.bm-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding-left: var(--space-5);
    padding-right: var(--space-5);
}

/* Standard sektioner */
.page-section {
    padding: var(--space-8) 0;
}

/* Sektion med ljus bakgrund */
.page-section--light {
    background: var(--bg-light);
}

/* Sektion med vit bakgrund */
.page-section--white {
    background: var(--bg-white);
}

/* Sektionstitlar */
.section-heading {
    margin-bottom: var(--space-5);
}

    .section-heading h2 {
        font-size: var(--font-xl);
        margin-bottom: var(--space-2);
        color: var(--text-dark);
    }

    .section-heading p {
        max-width: 640px;
        margin: 0 auto;
        font-size: var(--font-sm);
        color: var(--text-light);
    }

/* Footer-avstånd om något saknar sektion före */
.page-has-footer-spacing {
    margin-bottom: var(--space-9);
}

/* ============================================================
   PREMIUM HEADER — BLOCK STYLE
   ============================================================ */

.bm-header {
    position: sticky; /* FIX: header stannar vid scroll */
    top: 0;
    z-index: 9999;
    background: var(--bg-white);
    border-bottom: 1px solid var(--border-dark);
}

.bm-nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px; 
}

/* LOGO */
.bm-logo-wrapper {
    .bm-logo-img {
        height: 60px;
        width: 300px;
        display: block;
    }
}

.bm-logo {
    display: flex;
    align-items: center;
    gap: var(--space-3);
}

.bm-logo-icon {
    font-size: 2rem;
}

.bm-logo-text h4 {
    font-size: var(--font-lg);
    margin: 0;
    font-weight: 700;
}

.bm-logo-text p {
    margin: 0;
    font-size: var(--font-xs);
    color: var(--text-light);
}

/* MENU (desktop) */
.bm-menu {
    display: flex;
    align-items: center;
    gap: var(--space-6);
    position: relative; /* för dropdown-positionering */
}

    .bm-menu > li {
        position: relative;
        display: inline-block;
    }

        .bm-menu > li > a {
            padding: var(--space-2) var(--space-1);
            font-size: var(--font-sm);
            font-weight: 600;
            color: var(--text-dark);
            position: relative;
        }

            /* Hover underline (premium block style) */
            .bm-menu > li > a::after {
                content: "";
                position: absolute;
                left: 0;
                bottom: -6px;
                width: 0%;
                height: 3px;
                background: var(--primary);
                transition: width .25s ease;
            }

        .bm-menu > li:hover > a::after {
            width: 100%;
        }

/* SUBMENU */
.has-sub {
    position: relative;
    padding-bottom: var(--space-3); /* förhindrar flicker när man går nedåt */
}

.bm-submenu {
    position: absolute;
    top: 72px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--bg-white);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-xl);
    padding: var(--space-3) 0;
    min-width: 220px;
    display: none;
    animation: fadeIn .15s ease-out;
}

/* Visa på hover */
.has-sub:hover .bm-submenu {
    display: block;
}

/* Visa på klick (JS lägger .open) */
.has-sub.open .bm-submenu {
    display: block;
}

.bm-submenu li a {
    display: block;
    padding: var(--space-2) var(--space-4);
    font-size: var(--font-sm);
    color: var(--text-dark);
}

    .bm-submenu li a:hover {
        background: var(--primary-light);
    }

/* LOGIN */
.bm-login a {
    font-size: var(--font-sm);
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: var(--space-1);
}

/* ============================================================
   MOBILE MENU — PREMIUM SLIDE-IN 
   ============================================================ */

/* Hamburger base */
.bm-mobile-trigger {
    width: 32px;
    height: 24px;
    position: relative;
    cursor: pointer;
    display: none;
}

    .bm-mobile-trigger span,
    .bm-mobile-trigger span::before,
    .bm-mobile-trigger span::after {
        content: "";
        position: absolute;
        left: 0;
        width: 32px;
        height: 3px;
        background: var(--text-dark);
        transition: .35s ease;
        border-radius: 3px;
    }

    .bm-mobile-trigger span {
        top: 10px;
    }

        .bm-mobile-trigger span::before {
            top: -10px;
        }

        .bm-mobile-trigger span::after {
            top: 10px;
        }

    /* ACTIVE → X */
    .bm-mobile-trigger.active span {
        background: transparent;
    }

        .bm-mobile-trigger.active span::before {
            transform: translateY(10px) rotate(45deg);
        }

        .bm-mobile-trigger.active span::after {
            transform: translateY(-10px) rotate(-45deg);
        }


/* Show trigger on mobile */
@media (max-width: 1100px) {
    .bm-mobile-trigger {
        display: block;
    }

    .bm-menu,
    .bm-login {
        display: none;
    }
}

/* Overlay */
.bm-mobile-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.55);
    opacity: 0;
    visibility: hidden;
    transition: .25s ease;
    z-index: 9998 !important;
}

/* Slide-in menu container */
.bm-mobile-menu {
    position: fixed;
    top: 0;
    right: 0;
    width: 320px;
    height: 100vh;
    background: var(--bg-white);
    box-shadow: var(--shadow-xl);
    transform: translateX(100%);
    transition: transform .35s ease;
    z-index: 9999 !important;
    display: flex;
    flex-direction: column;
}

/* Inner content */
.bm-mobile-inner {
    padding: var(--space-5);
    overflow-y: auto;
    height: 100%;
}

/* Header inside mobile menu */
.bm-mobile-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--space-5);
    font-size: var(--font-lg);
    font-weight: 700;
}

.bm-mobile-close {
    font-size: 1.5rem;
    cursor: pointer;
}

/* Mobile nav */
.bm-mobile-nav li {
    margin-bottom: var(--space-3);
}

.bm-mobile-nav > li > a {
    font-size: var(--font-md);
    font-weight: 600;
    color: var(--text-dark);
    display: block;
    padding: var(--space-2) 0;
}

/* Submenu */
.bm-mobile-sub {
    display: none;
    padding-left: var(--space-4);
    margin-top: var(--space-2);
}

    .bm-mobile-sub li a {
        font-size: var(--font-sm);
        color: var(--text-medium);
        padding: var(--space-1) 0;
        display: block;
    }

/* ACTIVE STATES */
.bm-mobile-menu.active {
    transform: translateX(0);
}

.bm-mobile-overlay.active {
    opacity: 1;
    visibility: visible;
}

.bm-mobile-nav li.open > .bm-mobile-sub {
    display: block;
}

.bm-mobile-nav .has-sub > a {
    position: relative;
    padding-right: 28px;
}

    .bm-mobile-nav .has-sub > a::after {
        content: "›";
        position: absolute;
        right: 0;
        top: 50%;
        transform: translateY(-50%) rotate(0deg);
        transition: .25s ease;
        font-size: 20px;
        color: var(--text-dark);
    }

.bm-mobile-nav .has-sub.open > a::after {
    transform: translateY(-50%) rotate(90deg);
}

.bm-mobile-sub {
    display: none;
    padding-left: var(--space-4);
    margin-top: var(--space-2);
}

.bm-mobile-nav .has-sub.open > .bm-mobile-sub {
    display: block;
}

.bm-mobile-trigger {
    z-index: 9000;
}

.bm-mobile-menu.active {
    z-index: 9999;
}

.bm-mobile-trigger.active {
    pointer-events: none;
}

.bm-mobile-inner {
    padding: var(--space-6);
}

.bm-mobile-nav > li {
    border-bottom: 1px solid var(--border-light);
    padding-bottom: var(--space-3);
}

    .bm-mobile-nav > li:last-child {
        border-bottom: none;
    }

.bm-mobile-sub li {
    padding: var(--space-1) 0;
}

.bm-mobile-menu {
    box-shadow: -4px 0 20px rgba(0,0,0,0.15);
}



/* ============================================================
   HERO SECTION (TOKEN-DRIVEN)
   ============================================================ */

.hero-section {
    background: var(--primary-light);
    padding: var(--space-9) 0;
    text-align: center;
    border-bottom: 1px solid var(--border-light);
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
}

    .hero-content h2 {
        font-size: var(--font-xxl);
        font-weight: 700;
        line-height: var(--lh-tight);
        color: var(--text-dark);
        margin-bottom: var(--space-3);
    }

        .hero-content h2 em {
            color: var(--primary);
            font-style: normal;
        }

    .hero-content p {
        font-size: var(--font-md);
        color: var(--text-medium);
        line-height: var(--lh-loose);
    }

.hero-section {
    padding: var(--space-9) 0;
    background: #f5f7fa;
}

.hero-box-3col {
    background: #fff;
    border-radius: 16px;
    padding: var(--space-8);
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: var(--space-8);
    box-shadow: 0 8px 30px rgba(0,0,0,0.08);
    align-items: center;
}

/* Kolumn 1 – Bild */
.hero-image-wrapper {
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    animation: float 4s ease-in-out infinite;
}

.hero-image {
    width: 100%;
    max-width: 320px;
    height: auto;
}

/* Lätt animation */
@keyframes float {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-10px);
    }

    100% {
        transform: translateY(0px);
    }
}

/* Kolumn 2 – Text */
.hero-text-col h1 {
    font-size: var(--font-xxl);
    line-height: 1.2;
    margin-bottom: var(--space-3);
}

.hero-text-col p {
    font-size: var(--font-md);
    color: #555;
}

/* Kolumn 3 – Form */
.hero-form-col {
    background: #f9fafc;
    padding: var(--space-6);
    border-radius: 12px;
    border: 1px solid #e5e7eb;
}

.hero-form label {
    display: block;
    font-size: var(--font-sm);
    margin-bottom: 6px;
    color: #333;
}

.hero-form input {
    width: 100%;
    padding: 14px;
    margin-bottom: var(--space-4);
    border-radius: 8px;
    border: 1px solid #ccc;
    font-size: var(--font-md);
}

.hero-btn {
    width: 100%;
    padding: 16px;
    background: var(--primary);
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: var(--font-lg);
    cursor: pointer;
    transition: background .2s;
}

    .hero-btn:hover {
        background: var(--primary-dark);
    }

/* Mobil – ta bort bildkolumnen */
@media (max-width: 900px) {
    .hero-box-3col {
        grid-template-columns: 1fr;
    }

    .hero-image-col {
        display: none;
    }
}

.hero-form-col {
    background: var(--primary-dark); /* mörkare version av primärfärg */
    padding: var(--space-7);
    border-radius: 16px;
    box-shadow: 0 12px 40px rgba(0,0,0,0.25);
    color: #fff;
    border: 1px solid rgba(255,255,255,0.1);
}

    .hero-form-col label {
        color: #fff;
        font-weight: 600;
    }

    .hero-form-col input {
        width: 100%;
        padding: 16px;
        margin-bottom: var(--space-4);
        border-radius: 10px;
        border: none;
        font-size: var(--font-md);
        background: rgba(255,255,255,0.15);
        color: #fff;
    }

        .hero-form-col input::placeholder {
            color: rgba(255,255,255,0.7);
        }

.hero-btn {
    width: 100%;
    padding: 18px;
    background: #FDD835; /* BMP-gul */
    color: #333;
    border: none;
    border-radius: 10px;
    font-size: var(--font-lg);
    font-weight: 700;
    cursor: pointer;
    transition: transform .15s, box-shadow .15s;
}

    .hero-btn:hover {
        transform: translateY(-2px);
        box-shadow: 0 8px 20px rgba(0,0,0,0.25);
    }

.hero-btn {
    width: 100%;
    padding: 18px;
    background: #FDD835;
    color: #333;
    border: none;
    border-radius: 10px;
    font-size: var(--font-lg);
    font-weight: 700;
    cursor: pointer;
    transition: background .2s, box-shadow .2s;
}


.hero-form-col select {
    width: 100%;
    padding: 16px;
    margin-bottom: var(--space-4);
    border-radius: 10px;
    border: none;
    font-size: var(--font-md);
    background: rgba(255,255,255,0.15);
    color: #fff;
    cursor: pointer;
}

    .hero-form-col select option {
        color: #333;
    }

.hero-btn:hover {
    background: #ffe55c;
    box-shadow: 0 6px 18px rgba(0,0,0,0.25);
}

.hero-section {
    padding: var(--space-9) 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

    .hero-section::before {
        content: "";
        position: absolute;
        inset: 0;
        background: rgba(0,0,0,0.25); /* 25% mörk overlay */
        z-index: 1;
    }

.hero-section {
    position: relative;
}

.hero-box-3col {
    position: relative;
    z-index: 2; /* ovanpå overlay */
}

.hero-box-3col {
    background: #fff;
    border-radius: 16px;
    padding: var(--space-8);
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: var(--space-8);
    box-shadow: 0 20px 50px rgba(0,0,0,0.25); /* kraftigare skugga */
}

.hero-section::before {
    background: linear-gradient( to bottom, rgba(0,0,0,0.45), rgba(0,0,0,0.25) );
}

.hero-section {
    backdrop-filter: blur(2px);
}

@media (max-width: 768px) {
    .hero-box-3col {
        grid-template-columns: 1fr !important;
        padding: var(--space-5);
    }

    .hero-form-col,
    .hero-text-col {
        width: 100%;
    }

        .hero-form-col input,
        .hero-form-col select {
            width: 100%;
        }

    .hero-image-col {
        display: none !important;
    }
}

/* ============================================================
   SEARCH SECTION (TOKEN-DRIVEN)
   ============================================================ */

.search-section {
    background: var(--bg-white);
    padding: var(--space-8) 0;
    border-bottom: 1px solid var(--border-light);
}

.search-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: var(--space-4);
    align-items: end;
}

/* Responsivitet */
@media (max-width: 1100px) {
    .search-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .search-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 500px) {
    .search-grid {
        grid-template-columns: 1fr;
    }
}

/* Fields */
.search-field label {
    display: block;
    margin-bottom: var(--space-1);
    font-size: var(--font-sm);
    color: var(--text-dark);
}

.search-field select {
    width: 100%;
    padding: var(--space-2);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-sm);
    font-size: var(--font-sm);
    background: var(--bg-white);
    color: var(--text-dark);
}

/* Button */
.search-button button {
    width: 100%;
    padding: var(--space-3);
    font-size: var(--font-sm);
}



/* ============================================================
   PRICING SECTION (TOKEN-DRIVEN)
   ============================================================ */

.pricing-section {
    padding: var(--space-5) 0;
    background: var(--bg-light);
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-6);
    margin-top: var(--space-6);
}

/* Responsivitet */
@media (max-width: 992px) {
    .pricing-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .pricing-grid {
        grid-template-columns: 1fr;
    }
}

.pricing-item {
    background: var(--bg-white);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
    padding: var(--space-5);
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: box-shadow .25s ease, transform .25s ease;
}

    .pricing-item:hover {
        box-shadow: var(--shadow-md);
        transform: translateY(-4px);
    }

    .pricing-item img {
        width: 100%;
        border-radius: var(--radius-sm);
        margin-bottom: var(--space-4);
    }

    .pricing-item h4 {
        font-size: var(--font-lg);
        margin-bottom: var(--space-3);
        color: var(--text-dark);
    }

    .pricing-item ul {
        list-style: none;
        padding: 0;
        margin: 0 0 var(--space-4) 0;
    }

        .pricing-item ul li {
            padding: var(--space-1) 0;
            font-size: var(--font-sm);
            color: var(--text-medium);
        }

    .pricing-item .price {
        display: block;
        font-size: var(--font-xl);
        font-weight: 700;
        color: var(--primary);
        margin-bottom: var(--space-4);
    }

/* ============================================================
   CONTAINER FOR ALL VEHICLE CARDS
   ============================================================ */
/* === VEHICLE LIST GRID === */
.vehicle-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 28px;
    margin-top: 32px;
}
/* === STANDARD CARD === */
.vehicle-card--standard {
    display: flex;
    flex-direction: column;
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    box-shadow: 0 2px 10px rgba(0,0,0,0.06);
    transition: transform .2s ease, box-shadow .2s ease;
}

    .vehicle-card--standard:hover {
        transform: translateY(-4px);
        box-shadow: 0 6px 20px rgba(0,0,0,0.12);
    }

    .vehicle-card--standard .vehicle-card__image img {
        height: 260px !important;
        object-fit: cover;
        object-position: center;
    }


.vehicle-card__image {
    position: relative;
    height: auto !important;
}

    .vehicle-card__image::after {
        content: "";
        position: absolute;
        bottom: 0;
        left: 0;
        right: 0;
        height: 40px;
        background: linear-gradient(to top, rgba(0,0,0,0.15), transparent);
    }


.vehicle-card__seller {
    padding: 14px 16px 0 16px;
    font-size: .9rem;
    color: var(--text-muted);
}

.vehicle-card__seller-company {
    font-weight: 600;
    color: var(--primary);
}

.vehicle-card__seller-private {
    font-weight: 500;
    color: var(--text-dark);
}

.vehicle-card__location {
    margin-top: 4px;
    font-size: .85rem;
    color: var(--text-muted);
}

.vehicle-card__divider {
    border: none;
    border-top: 1px solid var(--border-light);
    margin: 12px 0;
}

.vehicle-card__title {
    padding: 0 16px;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 8px;
}

.vehicle-card__specs {
    padding: 0 16px;
}

.vehicle-card__spec-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.vehicle-card__spec-item {
    display: flex;
    justify-content: space-between;
    font-size: .9rem;
    margin-bottom: 6px;
}

.vehicle-card__spec-label {
    font-weight: 600;
    color: var(--text-dark);
}

.vehicle-card__spec-value {
    color: var(--text-muted);
}

.vehicle-card__price {
    padding: 12px 16px 16px 16px;
}

.vehicle-card__price-main {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--primary);
}

.vehicle-card__price-exvat {
    margin-top: 4px;
    font-size: .85rem;
    color: var(--info);
}

@media (max-width: 600px) {
    .vehicle-card__image img {
        height: 180px;
    }

    .vehicle-card__title {
        font-size: 1rem;
    }

    .vehicle-card__price-main {
        font-size: 1.2rem;
    }
}

/* === PREMIUM CARD WRAPPER === */
.premium-card {
    display: grid;
    grid-template-columns: 300px 1fr 260px;
    gap: 28px;
    padding: 24px;
    border-radius: 14px;
    text-decoration: none;
    color: inherit;
    border-left: 6px solid var(--primary);
    box-shadow: 0 6px 24px rgba(0,0,0,0.12);
    transition: transform .2s ease, box-shadow .2s ease;
    margin: 20px 0;
    background: linear-gradient( 180deg, var(--premium-bg) 0%, #ffffff 100% );
    border: 1px solid rgba(0,0,0,0.05);
    box-shadow: 0 8px 24px rgba(0,0,0,0.18);
}


    .premium-card:hover {
        transform: translateY(-4px);
        box-shadow: 0 10px 32px rgba(0,0,0,0.18);
    }

/* === IMAGE COLUMN === */
.premium-card__image img {
    width: 100%;
    height: 240px;
    object-fit: cover;
    object-position: center;
    border-radius: 10px;
    display: block;
}

/* === MAIN INFO COLUMN === */
.premium-card__main {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.premium-card__title {
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--text-dark);
    margin: 0;
}

.premium-card__seller-company {
    font-weight: 600;
    color: var(--primary);
}

.premium-card__seller-private {
    font-weight: 500;
    color: var(--text-dark);
}

.premium-card__location {
    font-size: .95rem;
    color: var(--text-muted);
}

.premium-card__price {
    margin-top: 8px;
}

.premium-card__price-main {
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--primary);
}

.premium-card__price-exvat {
    font-size: .9rem;
    color: var(--info);
    margin-top: 4px;
}

.premium-card__regnr {
    margin-top: 12px;
    font-size: .9rem;
    color: var(--text-muted);
}
/* === SPECS COLUMN === */
.premium-card__specs {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.premium-card__spec-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.premium-card__spec-item {
    display: flex;
    justify-content: space-between;
    margin-bottom: 8px;
    font-size: .95rem;
}

.premium-card__spec-label {
    font-weight: 600;
    color: var(--text-dark);
}

.premium-card__spec-value {
    color: var(--text-muted);
}
/* === RESPONSIVE === */
@media (max-width: 900px) {
    .premium-card {
        grid-template-columns: 1fr;
    }

    .premium-card__image img {
        height: 220px;
    }
}

@media (max-width: 600px) {
    .premium-card__title {
        font-size: 1.3rem;
    }

    .premium-card__price-main {
        font-size: 1.4rem;
    }
}

@media (max-width: 900px) {
    .premium-card__image img {
        height: 100%;
        object-position: center;
    }
}

@media (max-width: 600px) {
    .premium-card__image img {
        height: 100%;
    }
}
/* === PREMIUM ICONS === */
.premium-card__spec-item {
    display: grid;
    grid-template-columns: 24px 1fr auto;
    align-items: center;
    gap: 8px;
    margin-bottom: 10px;
}

.premium-card__spec-icon {
    font-size: 0.8rem;
    color: var(--primary) !important;
    display: flex;
    align-items: center;
    justify-content: center;
}

.premium-card__spec-label {
    font-weight: 600;
    color: var(--text-dark);
}

.premium-card__spec-value {
    color: var(--text-muted);
    text-align: right;
}
/* === BADGES CONTAINER === */
.premium-card__badges {
    position: absolute;
    top: 12px;
    left: 12px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    z-index: 5;
}

/* === BADGE BASE === */
.premium-card__badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 10px;
    font-size: .85rem;
    font-weight: 600;
    border-radius: 6px;
    color: #fff;
    backdrop-filter: blur(4px);
    box-shadow: 0 2px 8px rgba(0,0,0,0.25);
    border: 1px solid rgba(255,255,255,0.4);
}

/* === BADGE VARIANTS === */
.premium-card__badge--premium {
    background: linear-gradient(135deg, #ffb300, #ff8c00);
}

.premium-card__badge--partner {
    background: linear-gradient(135deg, #0066cc, #004c99);
}

.premium-card__badge--new {
    background: linear-gradient(135deg, #28a745, #1e7e34);
}

/* Icon styling */
.premium-card__badge i {
    font-size: 1rem;
}

.premium-card__image {
    position: relative;
    z-index: 1;
}

.premium-card__badges {
    position: absolute;
    top: 12px;
    left: 12px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    z-index: 10; /* högre än bilden */
}



/* ============================================================
   LATEST ADS SECTION 
   ============================================================ */
/* === HEADER WRAPPER === */
.latest-ads-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 32px;
    gap: 24px;
}

/* === LEFT SIDE === */
.latest-ads-heading {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.latest-ads-title,
.section-title {
    margin: 0;
}

.latest-ads-subtitle,
.section-description {
    margin: 0;
    color: var(--text-muted);
}

/* === RIGHT SIDE (BUTTON) === */
.latest-ads-actions {
    display: flex;
    align-items: center;
}

/* Knapp */
.latest-ads-button {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    background: var(--primary);
    color: #fff;
    border-radius: 6px;
    font-weight: 600;
    text-decoration: none;
    transition: background .2s ease;
}

    .latest-ads-button:hover {
        background: var(--primary-dark);
    }

/* Ikon */
.latest-ads-button__icon {
    display: inline-block;
    width: 16px;
    height: 16px;
    mask: url('/icons/arrow-right.svg') no-repeat center;
    mask-size: contain;
    background-color: #fff;
}

/* === RESPONSIVITET === */
@media (max-width: 700px) {
    .latest-ads-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .latest-ads-actions {
        width: 100%;
    }

    .latest-ads-button {
        width: 100%;
        justify-content: center;
    }
}

/* ============================================================
   DETAIL PAGE GRIDS (TOKEN-DRIVEN)
   ============================================================ */

.vd-grid-2 {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: var(--space-6);
}

@media (max-width: 992px) {
    .vd-grid-2 {
        grid-template-columns: 1fr;
    }
}

.vd-grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-6);
}

@media (max-width: 992px) {
    .vd-grid-3 {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .vd-grid-3 {
        grid-template-columns: 1fr;
    }
}
/* ============================================================
   FOOTER 
   ============================================================ */

footer {
    background: var(--primary);
    text-align: center;
    padding: var(--space-6) 0;
    margin-top: var(--space-9);
}

    footer p {
        color: #fff;
        font-size: var(--font-sm);
    }


.site-footer {
    background: var(--primary);
    color: #fff;
    padding: var(--space-5) 0 var(--space-6) 0;
    margin-top: var(--space-9);
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-8);
    margin-bottom: var(--space-6);
}

/* Responsivitet */
@media (max-width: 992px) {
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .footer-grid {
        grid-template-columns: 1fr;
    }
}

.footer-col h4 {
    font-size: var(--font-lg);
    margin-bottom: var(--space-3);
    color: #fff;
}

.footer-col p {
    font-size: var(--font-sm);
    color: #e6e6e6;
    line-height: var(--lh-loose);
}

.footer-col ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

    .footer-col ul li {
        margin-bottom: var(--space-2);
    }

        .footer-col ul li a {
            color: #fff;
            font-size: var(--font-sm);
            text-decoration: none;
            transition: opacity .2s;
        }

            .footer-col ul li a:hover {
                opacity: .7;
            }

/* Logo box */
.footer-logo-box {
    width: 70px;
    height: 55px;
    background: crimson;
    border-radius: var(--radius-sm);
    margin-bottom: var(--space-3);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: var(--font-xs);
    color: #fff;
}

/* Bottom */
.footer-bottom {
    text-align: center;
    border-top: 1px solid rgba(255,255,255,0.2);
    padding-top: var(--space-4);
}

    .footer-bottom p {
        font-size: var(--font-sm);
        color: #fff;
    }

    .footer-bottom a {
        color: #fff;
        font-weight: 600;
        text-decoration: none;
    }

.bm-logo {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.bm-logo-img {
    height: 240px; /* desktop */
    width: auto;
    display: block;
}

@media (max-width: 768px) {
    .bm-logo-img {
        height: 180px; /* mobil */
    }
}

.footer-logo {
    text-align: left;
}

.footer-logo-img {
    height: 80px; /* premium men inte för stort */
    width: auto;
    margin-bottom: var(--space-1);
    opacity: 0.95; /* mjukare mot mörk bakgrund */
}

.footer-logo h4 {
    font-size: var(--font-xl);
    margin-bottom: var(--space-2);
    color: #fff;
}

.footer-logo p {
    font-size: var(--font-sm);
    color: #e6e6e6;
    line-height: var(--lh-loose);
}

@media (max-width: 600px) {
    .footer-logo-img {
        height: 60px;
    }
}
.footer-col ul {
    text-align: left;
    padding-left: 0;
}

    .footer-col ul li {
        text-align: left;
        margin-left: 0;
        padding-left: 0;
    }

.footer-col h4 {
    text-align: left;
}

.footer-col ul li {
    position: relative;
    padding-left: 12px;
}

    .footer-col ul li::before {
        content: "";
        position: absolute;
        left: 0;
        top: 8px;
        width: 4px;
        height: 4px;
        background-color: var(--bm-accent, #bbb);
        border-radius: 50%;
    }
    .footer-col ul li a:hover {
        color: var(--bm-accent-hover, #e60023);
        padding-left: 2px;
        transition: all 0.15s ease;
    }



/* ------------------------------------------------------------
   Footer – Information Links Row
   ------------------------------------------------------------ */

.footer-info-links {
    text-align: center;
    padding: var(--space-3) 0;
    margin: var(--space-4) 0;
    border-top: 1px solid rgba(255,255,255,0.25);
    border-bottom: 1px solid rgba(255,255,255,0.25);
    font-size: var(--font-sm);
}

    .footer-info-links a {
        color: #fff;
        text-decoration: none;
        padding: 0 var(--space-2);
        opacity: 0.9;
        transition: opacity .2s;
    }

        .footer-info-links a:hover {
            opacity: 0.6;
        }

/* Mobil: bryt rader snyggt */
@media (max-width: 600px) {
    .footer-info-links {
        line-height: 1.8;
    }
}

.footer-info-text {
    color: #fff;
    font-size: var(--font-sm);
    opacity: 0.85;
    margin-top: var(--space-4);
    line-height: var(--lh-loose);
}

    .footer-info-text p {
        margin: 0;
        padding: 0;
    }


/* ============================================================
   UNDER PAGES MINI HERO AND CONTENT
   ============================================================ */

.underpages-contain {
    background: #f5f7fa;
}
/* Grid layout */
.underpages-content {
    padding: var(--space-10) 0;
    background: #f5f7fa;
}

.underpages-content-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: var(--space-8);
}

/* Right column (help box) */
.underpages-content-help-box {
    background: #fff;
    padding: var(--space-7);
    border-radius: 16px;
    box-shadow: 0 12px 40px rgba(0,0,0,0.1);
    background: #f5f7fa;
}

/* Mobile */
@media (max-width: 900px) {
    .underpages-content-grid {
        grid-template-columns: 1fr;
    }
}



/* ============================================================
   MINI HERO
   ============================================================ */

.underpages-hero {
    padding-top: var(--space-8);
    margin-bottom: var(--space-8);
}

.underpages-hero-box h1,
.underpages-hero-box p {
    position: relative;
    z-index: 2;
    color: #fff;
}

.underpages-hero {
    padding-top: var(--space-8);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    content: "";
    inset: 0;
    margin-bottom: var(--space-8);
}


.underpages-hero-box {
    position: relative;
    padding: var(--space-6);
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.25);
    text-align: center;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    overflow: hidden;
}

    .underpages-hero-box::before {
        content: "";
        position: absolute;
        inset: 0;
        background: rgba(0,0,0,0.35);
        z-index: 1;
    }

    /* Typografi + spacing */
    .underpages-hero-box h1 {
        font-size: var(--font-xxl);
        font-weight: 700;
        margin-bottom: var(--space-3); /* luft mellan h1 och p */
        line-height: 1.2;
    }

    .underpages-hero-box p {
        font-size: var(--font-md);
        opacity: 0.9; /* mjukare vit */
        max-width: 700px;
        margin: 0 auto;
        line-height: 1.6;
    }

/* Mobiljustering */
@media (max-width: 768px) {
    .underpages-hero-box {
        padding: var(--space-8) var(--space-4);
    }

        .underpages-hero-box h1 {
            font-size: var(--font-xl);
        }

        .underpages-hero-box p {
            font-size: var(--font-sm);
        }
}

.underpages-hero-box {
    position: relative;
    background-size: cover;
    background-position: center;
}

    .underpages-hero-box::before {
        content: "";
        position: absolute;
        inset: 0;
        background: linear-gradient(180deg, rgba(0,0,0,0.35), rgba(0,0,0,0.55));
    }

/* ---------------------------------------------------------
   PRICING SECTION — BMP PREMIUM TYPOGRAPHY & HEADER
   --------------------------------------------------------- */

.pricing-section .section-heading {
    margin-bottom: 40px;
    text-align: center;
}

    /* H1 — BMP primärfärg (samma som priset) */
    .pricing-section .section-heading h1 {
        color: var(--primary-dark);
        font-size: 2.4rem;
        font-weight: 700;
        margin-bottom: 10px;
        line-height: 1.2;
    }

    /* Divider under rubriken */
    .pricing-section .section-heading::after {
        content: "";
        display: block;
        width: 60px;
        height: 3px;
        background: var(--bm-primary, #2a4dd0);
        margin: 15px auto 0 auto;
        border-radius: 2px;
    }

    /* H4 — mer subtil, mörkare, premium */
    .pricing-section .section-heading h4 {
        color: #444;
        font-size: 1.25rem;
        font-weight: 400;
        margin-top: 15px;
        line-height: 1.5;
    }

/* Feature‑lista — vänsterjusterad, snygg spacing */
.pricing-section .pricing-features {
    text-align: left;
    padding-left: 0;
    list-style: none;
    margin-top: 20px;
}

    .pricing-section .pricing-features li {
        margin-bottom: 8px;
        display: flex;
        align-items: center;
        gap: 8px;
        font-size: 0.95rem;
        color: #333;
    }

    .pricing-section .pricing-features i {
        font-size: 1rem;
        color: var(--bm-primary, #2a4dd0);
    }

/* Pricing item spacing */
.pricing-section .pricing-item {
    padding: 25px;
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 4px 14px rgba(0,0,0,0.06);
    transition: transform .2s ease, box-shadow .2s ease;
}

    .pricing-section .pricing-item:hover {
        transform: translateY(-4px);
        box-shadow: 0 6px 20px rgba(0,0,0,0.10);
    }

/* Price styling */
.pricing-section .price {
    color: var(--primary-dark);
    font-size: 1.6rem;
    font-weight: 700;
    margin-top: 20px;
    display: block;
}

/* ---------------------------------------------------------
   PRODUCT DETAIL SECTION — BMP PREMIUM TYPOGRAPHY & HEADER
   --------------------------------------------------------- */

.product-detail-small .pricing-item {
    background: #fff;
    border-radius: 12px;
    padding: 24px;
    box-shadow: 0 4px 18px rgba(0,0,0,0.08);
    text-align: center;
}

.product-detail-small .pricing-image img {
    width: 100%;
    border-radius: 10px;
    margin-bottom: 16px;
}

.product-detail-small .pricing-title {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.product-detail-small .pricing-description {
    font-size: 0.95rem;
    color: #555;
    margin-bottom: 16px;
}

.product-detail-small .pricing-features {
    list-style: none;
    padding: 0;
    margin: 0 0 16px 0;
}

    .product-detail-small .pricing-features li {
        display: flex;
        align-items: center;
        gap: 8px;
        margin-bottom: 6px;
        font-size: 0.9rem;
    }

.product-detail-small .price {
    display: block;
    font-size: 1.6rem;
    font-weight: 700;
    color: #0a7cff;
    margin-top: 12px;
}
/* ---------------------------------------------------------
  MEDDELANDE SIDA
   --------------------------------------------------------- */
.status-box {
    display: flex;
    gap: 16px;
    padding: 24px;
    border-radius: 12px;
    margin-bottom: 24px;
    align-items: flex-start;
}

    .status-box i {
        font-size: 2rem;
        flex-shrink: 0;
    }

    .status-box h1 {
        margin: 0 0 8px 0;
        font-size: 1.6rem;
        font-weight: 700;
    }

    .status-box p {
        margin: 0 0 6px 0;
        font-size: 1rem;
        line-height: 1.5;
    }

/* Success */
.status-success {
    background: #e8f8ef;
    border-left: 6px solid #28a745;
    color: #155724;
}

    .status-success i {
        color: #28a745;
    }

/* Warning */
.status-warning {
    background: #fff8e6;
    border-left: 6px solid #ffb400;
    color: #7a5a00;
}

    .status-warning i {
        color: #ffb400;
    }

/* Error */
.status-error {
    background: #fdecea;
    border-left: 6px solid #dc3545;
    color: #721c24;
}

    .status-error i {
        color: #dc3545;
    }

/* Info (if needed) */
.status-info {
    background: #e8f1ff;
    border-left: 6px solid #0d6efd;
    color: #0d3c8c;
}

    .status-info i {
        color: #0d6efd;
    }

/* ============================================================
   VEHICLE FILTER SECTION 
   ============================================================ */

/* Grid layout för filter */
.vehicle-filter-blue .filter-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: var(--space-5);
}

/* Submit-knappen ska alignas snyggt med dropdowns */
.vehicle-filter-blue .submit-wrapper {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding-bottom: var(--space-5); /* MATCHA input spacing */
}

/* Mobilanpassning */
@media (max-width: 900px) {
    .vehicle-filter-blue .filter-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .vehicle-filter-blue .filter-grid {
        grid-template-columns: 1fr;
    }

    .vehicle-filter-blue .submit-wrapper {
        padding-bottom: 0; /* Mobil behöver inte extra spacing */
    }
}

.vehicle-results {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-6);
    margin-top: var(--space-6);
}

.vehicle-card {
    background: #fff;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(0,0,0,0.15);
    transition: transform .2s, box-shadow .2s;
}

    .vehicle-card:hover {
        transform: translateY(-4px);
        box-shadow: 0 12px 32px rgba(0,0,0,0.25);
    }

    .vehicle-card img {
        width: 100%;
        height: 180px;
        object-fit: cover;
    }

    .vehicle-card .info {
        padding: var(--space-4);
    }

    .vehicle-card h3 {
        margin-bottom: var(--space-3);
    }

.pagination {
    margin-top: var(--space-6);
    text-align: center;
}

.pagination-inner {
    display: inline-flex;
    gap: 8px;
}

.page-link {
    padding: 10px 16px;
    background: #eee;
    border-radius: 6px;
    text-decoration: none;
    color: #333;
    font-weight: 600;
}

    .page-link.active {
        background: var(--primary-dark);
        color: #fff;
    }


.section-title {
    color: var(--primary-dark);
    font-size: 2.4rem;
    font-weight: 700;
    margin-bottom: 10px;
    line-height: 1.2;
}

.section-description {
    color: #444;
    font-size: 1.25rem;
    font-weight: 400;
    margin-top: 15px;
    line-height: 1.5;
}

.pagination-inner {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 6px;
    margin-top: 20px;
}

.page-link {
    padding: 6px 12px;
    border-radius: 6px;
    background: #f5f5f5;
    color: #333;
    text-decoration: none;
    font-size: 14px;
}

    .page-link:hover {
        background: #e0e0e0;
    }

    .page-link.active {
        background: #005fcc;
        color: white;
        font-weight: bold;
    }

.page-ellipsis {
    padding: 6px 10px;
    color: #777;
}

.pagination-mobile {
    display: none;
}

.page-icon {
    padding: 8px;
    background: #f5f5f5;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    color: #333;
}

    .page-icon:hover {
        background: #e0e0e0;
    }

/* MOBILE */
@media (max-width: 768px) {

    .pagination-desktop {
        display: none;
    }

    .pagination-mobile {
        display: flex;
        gap: 10px;
    }

    .page-icon {
        width: 40px;
        height: 40px;
    }
}


/* ------------------------------------------------------------
   PAGECONTENT – Standard Pages
   ------------------------------------------------------------ */

/* Rubriker i sidokroppen */
.underpages-content-left h1,
.underpages-content-left h2,
.underpages-content-left h3,
.underpages-content-left h4,
.underpages-content-left h5,
.underpages-content-left h6 {
    color: var(--text-dark) !important;
}

/* Kortbeskrivning */
.pagecontent-shortdesc {
    font-size: var(--font-lg);
    line-height: var(--lh-normal);
    font-weight: 500;
    color: var(--text-dark);
    margin-bottom: var(--space-4);
}

/* Content image */
.pagecontent-image img {
    width: 100%;
    height: auto;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    margin-bottom: var(--space-5);
}

/* HTML content */
.pagecontent-body {
    font-size: var(--font-md);
    line-height: var(--lh-loose);
    color: var(--text-medium);
}

    /* Paragraph spacing */
    .pagecontent-body p {
        margin-bottom: var(--space-2);
    }

    /* Lists */
    .pagecontent-body ul {
        padding-left: var(--space-5);
        margin-bottom: var(--space-4);
        list-style: disc;
    }

    .pagecontent-body li {
        margin-bottom: var(--space-2);
        color: var(--text-dark);
        line-height: var(--lh-loose);
    }
    .pagecontent-body a {
        text-decoration:underline;
    }
/* ------------------------------------------------------------
   Submenu – Premium Boxed Layout
------------------------------------------------------------ */

        .submenu-wrapper {
            background: var(--primary-dark);
            border-radius: var(--radius-lg);
            padding: var(--space-4);
            box-shadow: var(--shadow-md);
        }
        /* Header-platta */
        .submenu-title {
            background: var(--brand-blue);
            color: white;
            padding: var(--space-3) var(--space-4);
            border-radius: var(--radius-md);
            font-size: var(--font-lg);
            font-weight: 600;
            margin-bottom: var(--space-4);
        }
        /* Länkar */
        .submenu-item {
            display: flex;
            gap: var(--space-2);
            padding: var(--space-5);
            margin-bottom: var(--space-2);
            background: white;
            border-radius: var(--radius-md);
            border: 1px solid var(--border-light);
            text-decoration: none;
            color: var(--text-dark);
            transition: 0.2s ease;
        }

            .submenu-item:hover {
                background: var(--primary-light);
                border-color: var(--brand-blue);
                box-shadow: var(--shadow-sm);
            }

            .submenu-item img {
                width: 70px;
                height: 70px;
                object-fit: cover;
                border-radius: var(--radius-sm);
            }

        .submenu-text h4 {
            margin: 0;
            font-size: var(--font-md);
            color: var(--text-dark);
        }

        .submenu-text p {
            margin: 0;
            font-size: var(--font-sm);
            color: var(--text-medium);
        }
/* ------------------------------------------------------------
   Mobile adjustments (max-width: 600px)
------------------------------------------------------------ */
@media (max-width: 600px) {

    .submenu-wrapper {
        padding: var(--space-3);
    }

    .submenu-title {
        font-size: var(--font-md);
        padding: var(--space-2) var(--space-3);
        margin-bottom: var(--space-3);
    }

    .submenu-item {
        padding: var(--space-3);
        gap: var(--space-2);
    }

        .submenu-item img {
            width: 50px;
            height: 50px;
        }

    .submenu-text h4 {
        font-size: var(--font-sm);
    }

    .submenu-text p {
        font-size: var(--font-xs);
    }
}
/* ------------------------------------------------------------
   Fix layout overflow on mobile
------------------------------------------------------------ */
@media (max-width: 900px) {

    .underpages-content-grid {
        display: block !important;
        width: 100%;
        max-width: 100%;
        overflow-x: hidden;
    }

    .underpages-content-left,
    .underpages-content-right {
        width: 100% !important;
        max-width: 100% !important;
        padding: 0;
        margin: 0 0 var(--space-4) 0;
        box-sizing: border-box;
    }

    .submenu-wrapper {
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }

    .submenu-item {
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }
}

/*---------------------------------------------------*/
/*   CORE PAGE
   ------------------------------------------------------------ */
        .core-hero {
            width: 100%;
            background-size: cover;
            background-position: center;
            background-repeat: no-repeat;
            padding: var(--space-6) 0 var(--space-6) 0;
            color: #fff;
            text-align: center;
            position: relative;
        }
            /* Mörk overlay för bättre läsbarhet */
            .core-hero::before {
                content: "";
                position: absolute;
                inset: 0;
                background: rgba(0,0,0,0.45);
            }

            .core-hero .bm-container {
                position: relative;
                z-index: 2;
            }

            .core-hero h1 {
                font-size: var(--font-xxl);
                margin-bottom: var(--space-2);
                color: #fff !important;
            }

            .core-hero p {
                font-size: var(--font-lg);
                opacity: 0.95;
                color: #fff !important;
            }
        /* ============================================================
   CORE CONTENT – PREMIUM GRID
   ============================================================ */

        .core-content {
            padding: var(--space-10) 0 var(--space-12) 0;
        }

            .core-content h1, h2, h3, h4, h5, h6 {
                color: var(--text-dark);
            }

            .core-content a {
                text-decoration: underline;
            }

        .core-intro {
            color: var(--text-dark);
            font-size: 1.25rem;
            font-weight: 400;
            margin-top: 15px;
            line-height: 1.5;
        }
        /* GRID */
        .core-grid {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
            gap: var(--space-6);
        }

            .core-grid a {
                text-decoration: none;
            }
        /* BOX */
        .core-box {
            background: #fff;
            border-radius: var(--radius-lg);
            overflow: hidden;
            text-decoration: none;
            color: var(--text);
            box-shadow: 0 4px 14px rgba(0,0,0,0.08);
            transition: transform .25s ease, box-shadow .25s ease;
            display: flex;
            flex-direction: column;
            transform: translateY(-6px);
            box-shadow: 0 10px 24px rgba(0,0,0,0.30);
        }

            .core-box:hover {
                transform: translateY(-6px);
                box-shadow: 0 10px 24px rgba(0,0,0,0.12);
            }
        /* IMAGE */
        .core-box-image {
            width: 100%;
            /*    height: 160px;*/
            background: #f3f3f3;
            overflow: hidden;
        }

            .core-box-image img {
                width: 100%;
                height: 100%;
                object-fit: cover;
                transition: transform .35s ease;
            }

        .core-box:hover .core-box-image img {
            transform: scale(1.05);
        }
        /* TEXT */
        .core-box h3 {
            font-size: var(--font-lg);
            margin: var(--space-4) var(--space-5) var(--space-2) var(--space-5);
            color: var(--primary-dark);
        }

        .core-box p {
            font-size: var(--font-sm);
            opacity: 0.85;
            margin: 0 var(--space-5) var(--space-5) var(--space-5);
            line-height: var(--lh-loose);
        }
        /* SHARE ICONS */
        .core-box-share {
            display: flex;
            justify-content: center;
            gap: var(--space-3);
            margin: var(--space-4) 0 var(--space-5) 0;
        }

            .core-box-share .share-icon {
                display: inline-flex;
                width: 28px;
                height: 28px;
                opacity: 0.85;
                transition: opacity .2s ease, transform .2s ease;
            }

                .core-box-share .share-icon img {
                    width: 100%;
                    height: 100%;
                    object-fit: contain;
                }

                .core-box-share .share-icon:hover {
                    opacity: 1;
                    transform: translateY(-2px);
                }
        /* ============================================================
   CORE INTRO PLATE
   ============================================================ */

        .core-intro-plate {
            display: flex;
            align-items: center;
            gap: var(--space-6);
            background: var(--primary-light);
            border: 1px solid var(--gray-200);
            border-radius: var(--radius-lg);
            padding: var(--space-4);
            margin-top: var(--space-8);
            margin-bottom: var(--space-8);
            box-shadow: 0 4px 14px rgba(0,0,0,0.30);
        }
        /* IMAGE */
        .core-intro-image {
            flex: 0 0 120px;
            border-radius: var(--radius-md);
            overflow: hidden;
            display: flex;
            align-items: center;
            justify-content: center;
        }

            .core-intro-image img {
                width: 100%;
                height: 100%;
                object-fit: contain;
                opacity: 0.9;
            }
        /* TEXT */
        .core-intro-text {
            flex: 1;
            font-size: var(--font-md);
            line-height: var(--lh-loose);
            color: var(--text);
            opacity: 0.95;
        }

            .core-intro-text a {
                text-decoration: underline !important;
            }
        /* RESPONSIVE */
        @media (max-width: 768px) {
            .core-intro-plate {
                flex-direction: column;
                text-align: center;
            }

            .core-intro-image {
                flex: 0 0 auto;
                width: 200px;
            }
        }

        .form-blue-title {
            color: var(--primary-light);
            font-size: var(--font-xl);
        }
        /* ============================================================
   SITE MAP
   ============================================================ */
        .sitemap-category h2 {
            padding-top: var(--space-4);
            font-size: var(--font-lg);
            font-weight: 600;
            position: relative;
            margin-bottom: var(--space-2);
        }

            .sitemap-category h2::after {
                content: "";
                display: block;
                width: 60px;
                height: 3px;
                background: var(--color-primary);
                margin-top: var(--space-1);
                border-radius: 2px;
            }

        .sitemap-category {
            margin-bottom: var(--space-6);
        }

            .sitemap-category h2 i {
                margin-right: var(--space-1);
            }
/* ============================================================
SITE FAQ
============================================================ */
        .faq-wrapper {
            max-width: 900px;
            margin: 0 auto;
            padding: 20px 10px;
        }

        .faq-category-title {
            font-size: 22px;
            font-weight: 600;
            margin: 40px 0 15px;
            display: flex;
            align-items: center;
            gap: 10px;
            color: #1a1a1a;
        }

        .faq-items {
            border-left: 2px solid #e5e5e5;
            padding-left: 15px;
        }

        .faq-item {
            margin-bottom: 15px;
        }

        .faq-question {
            width: 100%;
            background: #f7f7f7;
            border: none;
            padding: 12px 15px;
            border-radius: 6px;
            text-align: left;
            font-size: 16px;
            font-weight: 500;
            cursor: pointer;
            display: flex;
            align-items: center;
            gap: 10px;
            transition: background 0.2s;
        }

            .faq-question:hover {
                background: #efefef;
            }

        .faq-answer {
            display: none;
            padding: 10px 15px;
            margin-top: 5px;
            background: white;
            border-radius: 6px;
            border: 1px solid #e5e5e5;
        }

        .faq-answer-inner {
            display: flex;
            gap: 10px;
            align-items: flex-start;
        }

            .faq-answer-inner i {
                margin-top: 3px;
                color: #555;
            }

        .support-hero {
            background: var(--color-bg-light, #f7f9fb);
            padding: 50px 40px;
            border-radius: 12px;
            border: 1px solid var(--color-border, #e1e4e8);
            box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08);
            margin-bottom: 40px;
        }

        .support-hero-inner {
            display: flex;
            align-items: center;
            justify-content: space-between;
            gap: 40px;
        }

        .support-hero-text {
            max-width: 520px;
        }

            .support-hero-text h1 {
                font-size: 32px;
                font-weight: 700;
                margin-bottom: 15px;
                color: var(--color-text-dark, #1a1a1a);
            }

            .support-hero-text p {
                font-size: 18px;
                line-height: 1.55;
                margin-bottom: 25px;
                color: var(--color-text, #333);
            }

        .support-hero-image img {
            max-width: 420px;
            border-radius: 10px;
            box-shadow: 0 3px 12px rgba(0,0,0,0.12);
        }

        @media (max-width: 900px) {
            .support-hero-inner {
                flex-direction: column;
                text-align: center;
            }

            .support-hero-image img {
                max-width: 100%;
            }
        }

        .support-hero-cta {
            display: inline-block;
            padding: 12px 26px;
            background: var(--color-accent-yellow, #ffd84d); /* BMP gul */
            color: #000 !important;
            border-radius: 6px;
            font-weight: 600;
            text-decoration: none;
            box-shadow: 0 2px 6px rgba(0,0,0,0.15);
            transition: all .2s ease;
        }

            .support-hero-cta:hover {
                background: var(--color-accent-yellow-dark, #f5c932);
                box-shadow: 0 3px 10px rgba(0,0,0,0.22);
                transform: translateY(-1px);
            }

        .support-faq-columns {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 40px;
            margin-bottom: 20px;
        }

        @media (max-width: 900px) {
            .support-faq-columns {
                grid-template-columns: 1fr;
            }
        }
        /*.faq-item {
    margin-bottom: 20px;
}*/

        .faq-question {
            width: 100%;
            text-align: left;
            background: #f7f7f7;
            border: none;
            padding: 12px 15px;
            border-radius: 6px;
            text-align: left;
            font-size: 16px;
            font-weight: 600;
            cursor: pointer;
            display: flex;
            align-items: center;
            gap: 10px;
            transition: background 0.2s;
        }

        .faq-answer {
            display: none;
            color: #444;
            padding: 10px 15px;
            margin-top: 5px;
            background: white;
            border-radius: 6px;
            border: 1px solid #e5e5e5;
        }

            .faq-answer.open {
                display: block;
            }

        .quick-links {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
            gap: 20px;
            margin-top: 20px;
        }

        .quick-link {
            background: #fff;
            border: 1px solid #e5e5e5;
            padding: 18px 12px;
            border-radius: 8px;
            text-align: center;
            display: flex;
            flex-direction: column;
            gap: 8px;
            font-weight: 500;
            transition: all .2s;
        }

            .quick-link:hover {
                background: #f8f8f8;
                border-color: #ccc;
            }

            .quick-link i {
                font-size: 24px;
                color: #444;
            }

        .support-quicklinks .section-title {
            font-size: 28px;
            font-weight: 700;
            margin-bottom: 25px;
        }

        .support-quicklinks {
            padding-bottom: 60px;
        }

        .section .section-title {
            font-size: 28px;
            font-weight: 700;
            margin-bottom: 25px;
        }

        .section.section-light {
            padding-bottom: 60px;
        }
       
/* ============================================================
COMING-SOON
============================================================ */
.coming-soon-box {
    background: #ffffff;
    border: 1px solid #e5e5e5;
    border-radius: 12px;
    padding: 40px 30px;
    text-align: center;
    max-width: 600px;
    margin: 40px auto;
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
}

    .coming-soon-box i {
        font-size: 48px;
        color: #1a1a1a;
        margin-bottom: 20px;
    }

    .coming-soon-box h1 {
        font-size: 28px;
        font-weight: 700;
        margin-bottom: 10px;
    }

    .coming-soon-box p {
        font-size: 18px;
        color: #555;
        margin: 5px 0;
    }
/* ============================================================
   BREADCRUMBS — BilMarknadsPlats.se
   Premium, design-system aligned
============================================================ */

.breadcrumbs {
    position: relative;
    z-index: 5; /* Lyft över hero-overlay */
    font-size: var(--font-xs);
    margin-bottom: var(--space-3);
    color: var(--accent-yellow);
    display: flex;
    align-items: center;
    flex-wrap: wrap;
}

    .breadcrumbs a {
        color: var(--accent-yellow);
        font-weight: 500;
    }

        .breadcrumbs a:hover {
            color: var(--accent-orange);
            text-decoration: underline;
        }

    .breadcrumbs .sep {
        margin: 0 var(--space-1);
        color: var(--accent-yellow);
        opacity: 0.8;
    }

    .breadcrumbs .current {
        color: var(--bg-white);
        font-weight: 600;
    }
.core-intro-text h1, h2 {
    color: var(--text-dark) !important;
}
.section-title i {
    font-size: 2rem;
    color: var(--accent-yellow);
    margin-right: var(--space-2);
    vertical-align: middle;
}
.vd-legal-note {
    font-size: 12px;
    color: #666;
    margin-top: 16px;
    line-height: 1.5;
}

.footer-legal-note {
    font-size: 12px;
    color: #ccc;
    margin-top: 20px;
    text-align: center;
    line-height: 1.5;
}

.list-legal-note {
    font-size: 12px;
    color: #666;
    margin-top: 24px;
    text-align: left;
    line-height: 1.5;
}

.vd-side-info .reveal-contact-btn {
    background: #f2f2f2;
    color: #666;
    border: 1px solid #ddd;
    padding: 4px 10px;
    font-size: 13px;
    border-radius: 4px;
    cursor: pointer;
    transition: 0.2s ease;
}

    .vd-side-info .reveal-contact-btn i {
        color: #888;
    }

    .vd-side-info .reveal-contact-btn:hover {
        background: #e6e6e6;
        border-color: #ccc;
    }
/* ============================================================
   COOKÌE BANNER — BilMarknadsPlats.se
============================================================ */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: #1a1a1a;
    color: #fff;
    padding: 16px 20px;
    display: none;
    z-index: 9999;
    box-shadow: 0 -2px 8px rgba(0,0,0,0.2);
}

.cookie-banner-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

.cookie-banner p {
    margin: 0;
    font-size: 14px;
    line-height: 1.4;
}

.cookie-link {
    color: #9ecbff;
    margin-left: 8px;
    text-decoration: underline;
}

.cookie-accept-btn {
    background: #f2f2f2;
    color: #333;
    border: none;
    padding: 8px 16px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    transition: 0.2s ease;
}

    .cookie-accept-btn:hover {
        background: #e6e6e6;
    }
/* ============================================================
   BREADCRUMB-CONTAINER — BilMarknadsPlats.se
============================================================ */
.breadcrumb-container {
    margin: 0 0 1.5rem 0;
}

.breadcrumb {
    display: flex;
    flex-wrap: wrap;
    list-style: none;
    padding: 0;
    margin: 0;
    font-size: 0.95rem;
}

.breadcrumb-item {
    display: flex;
    align-items: center;
    color: #555;
}

    .breadcrumb-item + .breadcrumb-item::before {
        content: "›";
        margin: 0 0.5rem;
        color: #999;
        font-weight: 300;
    }

    .breadcrumb-item a {
        color: #444;
        text-decoration: none;
        display: flex;
        align-items: center;
        gap: 4px;
        transition: color 0.15s ease;
    }

        .breadcrumb-item a:hover {
            color: #000;
        }

.breadcrumb-icon {
    width: 14px;
    height: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0.7;
}

.breadcrumb-item,
.breadcrumb-item a {
    display: flex;
    align-items: center;
    gap: 4px;
}
.vehicle-meta {
    margin-top: 12px;
    margin-bottom: 12px;
    font-size: 0.40rem;
    color: var(--text-light);
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    align-items: center;
    line-height: 1.2;
    width: 100%; 
    padding-right: 10px; 
}



    .vehicle-meta a {
        color: var(--text-light);
        text-decoration: none;
        padding-bottom: 1px;
        border-bottom: 1px solid transparent;
        transition: color 0.15s ease, border-color 0.15s ease;
    }

        .vehicle-meta a:hover {
            color: var(--primary-dark);
            border-color: var(--primary-dark);
        }

    .vehicle-meta span {
        color: var(--text-light);
        opacity: 0.6;
        font-weight: 400;
    }
