﻿:root {
    --dp-font: Inter, Segoe UI, Arial, sans-serif;
    --dp-text: #172033;
    --dp-text-soft: #5c667a;
    --dp-text-white: #ffffff;
    --dp-line: #dfe6f0;
    --dp-line-soft: rgba(255,255,255,.55);
    --dp-panel: rgba(255,255,255,.82);
    --dp-panel-strong: rgba(255,255,255,.90);
    --dp-panel-soft: rgba(255,255,255,.74);
    --dp-primary: #62b7f5;
    --dp-primary-dark: #3297e8;
    --dp-primary-soft: #d6f0ff;
    --dp-primary-soft-2: #a8dcff;
    --dp-success-soft: #e9f6ec;
    --dp-success-border: #cfe7d6;
    --dp-success-text: #216b3e;
    --dp-shadow-xl: 0 30px 80px rgba(18,33,58,.18);
    --dp-shadow-lg: 0 20px 48px rgba(18,33,58,.16);
    --dp-shadow-md: 0 14px 28px rgba(18,33,58,.10);
    --dp-shadow-sm: 0 8px 18px rgba(18,33,58,.08);
    --dp-radius-xl: 32px;
    --dp-radius-lg: 28px;
    --dp-radius-md: 20px;
    --dp-radius-sm: 14px;
    --dp-radius-pill: 999px;
    --dealer-nav-bg: linear-gradient(180deg, rgba(86,159,227,.95) 0%, rgba(69,145,217,.95) 100%);
    --dealer-nav-text: #ffffff;
    --dealer-nav-hover-bg: rgba(255,255,255,.14);
    --dealer-nav-hover: #ffffff;
    --dealer-accent: #62b7f5;
    --dealer-card-bg: rgba(248,251,255,.97);
    --dealer-card-text: #172033;
    --dealer-card-border: rgba(160,185,220,.24);
    --dealer-btn-bg: linear-gradient(180deg, #69b9ff 0%, #3b9df2 100%);
    --dealer-btn-text: #ffffff;
    --dealer-btn-border: #3297e8;
    --dealer-page-overlay: rgba(16,24,39,.45);
}

* {
    box-sizing: border-box;
}

html, body {
    margin: 0;
    padding: 0;
}

body {
    font-family: var(--dp-font);
    color: var(--dp-text);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.guided-page a,
.guided-page a:hover,
.guided-page a:focus,
.guided-page a:active {
    text-decoration: none !important;
}

img {
    max-width: 100%;
    display: block;
}

.guided-page {
    min-height: 100vh;
    position: relative;
    overflow-x: hidden;
    background: #eef3f8;
}

/* ===== SFONDO GLOBALE ===== */

.bg {
    position: fixed;
    inset: 0;
    background: url('/Img/Dealer1.png') center center / cover no-repeat;
    z-index: 0;
}

    .bg::after {
        content: "";
        position: absolute;
        inset: 0;
        background: linear-gradient(var(--dealer-page-overlay), var(--dealer-page-overlay)), linear-gradient(rgba(255,255,255,.18), rgba(255,255,255,.10));
        backdrop-filter: blur(6px);
        -webkit-backdrop-filter: blur(6px);
    }

.bg-overlay {
    position: fixed;
    inset: 0;
    background: radial-gradient(circle at center, rgba(255,255,255,.04) 0%, rgba(255,255,255,0) 55%), linear-gradient(180deg, rgba(255,255,255,.05), rgba(255,255,255,.02));
    z-index: 1;
    pointer-events: none;
}

.particles {
    position: fixed;
    inset: 0;
    z-index: 2;
    pointer-events: none;
}

.particle {
    position: absolute;
    border-radius: 50%;
    background: rgba(255,255,255,.28);
    animation: floatParticle linear infinite;
}

@keyframes floatParticle {
    0% {
        transform: translateY(0) scale(1);
        opacity: .14;
    }

    50% {
        opacity: .34;
    }

    100% {
        transform: translateY(-28px) scale(1.12);
        opacity: .02;
    }
}

/* ===== BOTTONI ===== */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 48px;
    padding: 12px 20px;
    border-radius: 18px;
    font-size: 15px;
    font-weight: 800;
    line-height: 1;
    border: 1px solid transparent;
    transition: .22s ease;
    cursor: pointer;
    text-decoration: none !important;
    white-space: nowrap;
}

    .btn:hover {
        transform: translateY(-1px);
        text-decoration: none !important;
    }

    .btn.primary {
        background: var(--dealer-btn-bg);
        color: var(--dealer-btn-text);
        border-color: var(--dealer-btn-border);
        box-shadow: 0 10px 24px rgba(38,135,214,.22);
    }

        .btn.primary:hover {
            box-shadow: 0 14px 28px rgba(38,135,214,.26);
            color: var(--dealer-btn-text);
        }

    .btn.secondary {
        background: rgba(255,255,255,.94);
        color: var(--dp-text);
        border-color: rgba(205,218,233,.95);
        box-shadow: 0 8px 18px rgba(18,33,58,.08);
    }

        .btn.secondary:hover {
            background: #fff;
            color: var(--dp-text);
        }

/* ===== HEADER / MENU ===== */

.top {
    position: relative;
    z-index: 40;
    padding: 0;
}

.top-inner {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 18px 28px;
    background: var(--dealer-nav-bg);
    border-bottom: 1px solid rgba(255,255,255,.16);
    box-shadow: 0 8px 24px rgba(18,33,58,.10);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.brand {
    font-size: 24px;
    font-weight: 800;
    letter-spacing: .2px;
    line-height: 1;
    flex: 0 0 auto;
}

    .brand a,
    .brand a:hover,
    .brand a:focus,
    .brand a:active,
    .brand a:visited {
        color: var(--dealer-nav-text) !important;
        -webkit-text-fill-color: var(--dealer-nav-text);
        background: none !important;
        text-decoration: none !important;
    }

.menu-wrapper {
    display: flex;
    align-items: center;
    gap: 18px;
    position: relative;
}

.menu-toggle {
    display: none;
    cursor: pointer;
    font-size: 28px;
    line-height: 1;
    color: var(--dealer-nav-text);
    user-select: none;
}

.menu {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

    .menu a,
    .menu a:hover,
    .menu a:focus,
    .menu a:active,
    .menu a:visited,
    .menu .dropdown > span,
    .menu .dropdown > span:hover,
    .menu .dropdown > span:focus {
        color: var(--dealer-nav-text) !important;
        font-weight: 700;
        font-size: 15px;
        padding: 10px 16px;
        border-radius: 14px;
        transition: .22s ease;
        cursor: pointer;
        display: inline-flex;
        align-items: center;
        white-space: nowrap;
        text-decoration: none !important;
        box-shadow: none !important;
        background-image: none !important;
    }

        .menu a:hover,
        .menu .dropdown > span:hover,
        .menu a.active-link {
            background: var(--dealer-nav-hover-bg);
            color: var(--dealer-nav-hover) !important;
        }

.dropdown {
    position: relative;
}

.dropdown-content {
    display: none;
    position: absolute;
    top: 48px;
    left: 0;
    min-width: 220px;
    background: rgba(255,255,255,.98);
    border: 1px solid rgba(219,228,239,.95);
    border-radius: 20px;
    box-shadow: 0 16px 40px rgba(18,33,58,.14);
    overflow: hidden;
    z-index: 200;
}

.dropdown.open .dropdown-content {
    display: block;
}

.dropdown-content a,
.dropdown-content a:hover,
.dropdown-content a:focus,
.dropdown-content a:active,
.dropdown-content a:visited {
    display: block;
    padding: 16px 20px;
    color: var(--dp-text) !important;
    font-size: 15px;
    font-weight: 700;
    border-bottom: 1px solid #edf2f7;
    border-radius: 0;
    text-decoration: none !important;
    background: transparent;
}

    .dropdown-content a:last-child {
        border-bottom: none;
    }

    .dropdown-content a:hover {
        background: #f4f9ff;
        color: var(--dealer-accent) !important;
    }

/* ===== HOME / DEFAULT ===== */

.hero-shell {
    position: relative;
    z-index: 10;
    min-height: calc(100vh - 94px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 32px 24px 30px;
}

.launcher-card {
    width: 100%;
    max-width: 920px;
    background: var(--dp-panel);
    border: 1px solid var(--dp-line-soft);
    border-radius: var(--dp-radius-xl);
    padding: 38px;
    box-shadow: var(--dp-shadow-xl);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    color: var(--dp-text);
}

.launcher-card-chat {
    max-width: 980px;
}

.hero-title {
    font-size: clamp(36px,5vw,60px);
    line-height: 1.03;
    margin: 0 0 14px;
    font-weight: 800;
    color: var(--dp-text);
    letter-spacing: -.03em;
}

.hero-subtitle {
    font-size: 18px;
    line-height: 1.65;
    max-width: 760px;
    color: var(--dp-text-soft);
    margin: 0 0 24px;
}

.search-box {
    display: flex;
    align-items: center;
    gap: 12px;
    background: #fff;
    border: 1px solid var(--dp-line);
    border-radius: 26px;
    padding: 10px 10px 10px 18px;
    box-shadow: var(--dp-shadow-sm);
}

.search-box-main {
    margin-bottom: 8px;
}

.search-input {
    flex: 1;
    border: 0;
    outline: none;
    font-size: 18px;
    color: var(--dp-text);
    background: transparent;
    padding: 12px 6px;
    font-family: var(--dp-font);
    min-width: 0;
}

    .search-input::placeholder {
        color: #7d8798;
    }

.search-button {
    border: 0;
    background: var(--dealer-btn-bg);
    color: var(--dealer-btn-text);
    padding: 16px 26px;
    border-radius: 18px;
    font-size: 16px;
    font-weight: 800;
    cursor: pointer;
    transition: .22s ease;
    font-family: var(--dp-font);
    box-shadow: 0 10px 24px rgba(38,135,214,.22);
}

    .search-button:hover {
        transform: translateY(-1px);
        box-shadow: 0 14px 28px rgba(38,135,214,.26);
    }

.quick-list {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 18px;
}

.quick-chip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 14px;
    border-radius: var(--dp-radius-pill);
    background: rgba(255,255,255,.72);
    border: 1px solid rgba(219,228,239,.95);
    color: var(--dp-text);
    font-size: 14px;
    font-weight: 600;
    transition: .2s ease;
    box-shadow: 0 4px 10px rgba(18,33,58,.04);
}

    .quick-chip:hover {
        background: #fff;
        transform: translateY(-1px);
    }

.message-box {
    margin-top: 18px;
    padding: 14px 16px;
    border-radius: 16px;
    font-size: 15px;
    line-height: 1.5;
}

.message-error {
    background: rgba(127,29,29,.12);
    border: 1px solid rgba(185,28,28,.24);
    color: #7f1d1d;
}

/* ===== DIALOGO GUIDATO ===== */

.guided-dialog {
    margin-top: 22px;
}

.guided-dialog-chat {
    margin-top: 24px;
}

.guided-dialog-box {
    background: rgba(17,27,43,.56);
    border: 1px solid rgba(255,255,255,.10);
    border-radius: 20px;
    padding: 18px;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    color: #fff;
}

.guided-dialog-chat .guided-dialog-box {
    display: flex;
    flex-direction: column;
    background: linear-gradient(180deg, rgba(146,154,166,.94) 0%, rgba(156,164,176,.92) 100%);
    border: 1px solid rgba(255,255,255,.22);
    border-radius: 28px;
    padding: 28px;
    box-shadow: 0 18px 40px rgba(10,18,32,.14);
    color: #fff;
    max-height: 78vh;
    min-height: 520px;
}

.guided-dialog-label {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    opacity: .76;
    margin-bottom: 8px;
}

.guided-dialog-chat .guided-dialog-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: rgba(255,255,255,.94);
    opacity: 1;
}

    .guided-dialog-chat .guided-dialog-label::before {
        content: "";
        width: 10px;
        height: 10px;
        border-radius: 50%;
        background: #7fd0ff;
        box-shadow: 0 0 0 6px rgba(127,208,255,.14);
        flex: 0 0 auto;
    }

.guided-dialog-top {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-bottom: 10px;
}

.guided-dialog-chat .guided-dialog-top {
    margin-bottom: 14px;
}

.guided-dialog-mini {
    font-size: .92rem;
    opacity: .82;
}

.guided-dialog-scroll {
    flex: 1 1 auto;
    min-height: 180px;
    max-height: 46vh;
    overflow-y: auto;
    overflow-x: hidden;
    padding-right: 8px;
    margin-bottom: 14px;
    scroll-behavior: smooth;
}

    .guided-dialog-scroll::-webkit-scrollbar {
        width: 10px;
    }

    .guided-dialog-scroll::-webkit-scrollbar-track {
        background: rgba(255,255,255,.08);
        border-radius: 999px;
    }

    .guided-dialog-scroll::-webkit-scrollbar-thumb {
        background: rgba(255,255,255,.24);
        border-radius: 999px;
    }

        .guided-dialog-scroll::-webkit-scrollbar-thumb:hover {
            background: rgba(255,255,255,.34);
        }

.guided-dialog-question {
    margin-bottom: 0;
}

.guided-step-box,
.guided-step-box-chat {
    margin-top: 26px;
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: nowrap;
    background: rgba(255,255,255,.97);
    border: 1px solid rgba(219,228,239,.95);
    border-radius: 24px;
    padding: 8px 8px 8px 16px;
    box-shadow: 0 10px 22px rgba(8,15,26,.10);
    flex: 0 0 auto;
}

.guided-step-box {
    margin-top: 0;
}

.guided-step-box-chat .search-input {
    flex: 1;
    min-width: 0;
    border: 0;
    outline: none;
    background: transparent;
    font-size: 16px;
    padding: 12px 6px;
}

.guided-step-box-chat .search-button {
    flex: 0 0 auto;
    min-width: 160px;
}

.guided-dialog-help {
    margin-top: 8px;
    margin-bottom: 0;
    font-size: 14px;
    color: rgba(255,255,255,.95);
    flex: 0 0 auto;
}

    .guided-dialog-help span,
    .ai-suggestion {
        display: inline-flex;
        align-items: center;
        margin: 6px 8px 0 0;
        padding: 8px 14px;
        border-radius: 999px;
        background: rgba(255,255,255,.12);
        border: 1px solid rgba(255,255,255,.18);
        color: #fff;
        font-size: 13px;
        font-weight: 700;
        cursor: pointer;
        transition: .20s ease;
    }

        .guided-dialog-help span:hover,
        .ai-suggestion:hover {
            background: rgba(255,255,255,.20);
            transform: translateY(-1px);
        }

.ai-rich-output {
    display: block;
}

.ai-q-title {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: #fff;
}

.ai-q-text {
    font-size: 1rem;
    line-height: 1.55;
    font-weight: 400;
    opacity: .95;
    margin-bottom: 14px;
    color: #fff;
}

.ai-q-question {
    font-size: 1.02rem;
    font-weight: 700;
    line-height: 1.5;
    color: #fff;
}

.ai-intro-box {
    padding: 24px;
}

.ai-intro-text {
    margin-top: 8px;
    line-height: 1.6;
}

.ai-hints-list {
    margin-top: 14px;
}

.ai-chat-history {
    display: flex;
    flex-direction: column;
    gap: 18px;
    width: 100%;
}

.ai-row {
    display: flex;
    width: 100%;
}

.ai-row-user {
    justify-content: flex-end;
}

.ai-row-assistant {
    justify-content: flex-start;
}

.ai-bubble-user,
.ai-bubble-assistant {
    max-width: 76%;
    padding: 16px 18px;
    border-radius: 20px;
    font-size: 15px;
    line-height: 1.65;
    word-break: break-word;
    white-space: pre-wrap;
    box-shadow: 0 10px 24px rgba(8,15,26,.10);
}

.ai-bubble-assistant {
    background: linear-gradient(180deg, #bfe3ff 0%, #9fd2ff 100%);
    color: #18324a;
    border: 1px solid rgba(82,148,206,.38);
    border-radius: 20px 20px 20px 8px;
}

.ai-bubble-user {
    background: linear-gradient(180deg, #89c9a0 0%, #6eb88a 100%);
    color: #10281a;
    border: 1px solid rgba(56,110,75,.38);
    border-radius: 20px 20px 8px 20px;
}

.ai-result-box {
    margin-top: 18px;
    padding: 16px 18px;
    border-radius: 18px;
    background: rgba(78,87,102,.66);
    border: 1px solid rgba(255,255,255,.12);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex: 0 0 auto;
}

.ai-result-text {
    flex: 1 1 auto;
    color: #fff;
    font-size: 15px;
    line-height: 1.5;
}

    .ai-result-text strong {
        color: #fff;
        font-weight: 800;
    }

.ai-result-actions {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
}

/* ===== PAGINE RISULTATI ===== */

.guided-results-container {
    position: relative;
    z-index: 20;
    max-width: 1280px;
    margin: 0 auto;
    padding: 16px 16px 50px;
}

.hero.hero-results {
    margin: 0 0 24px 0;
    padding: 0;
}

.results-hero-card {
    width: 100%;
    max-width: none;
    margin: 0;
    padding: 30px 32px;
    border-radius: 28px;
    background: var(--dp-panel);
    border: 1px solid var(--dp-line-soft);
    box-shadow: var(--dp-shadow-xl);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    color: var(--dp-text);
}

.hero-kicker {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 14px;
    border-radius: 999px;
    background: #eef4fb;
    border: 1px solid #dbe6f2;
    color: #42506a;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
    margin-bottom: 18px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 14px;
    border-radius: 999px;
    background: rgba(255,255,255,.12);
    border: 1px solid rgba(255,255,255,.18);
    color: #fff;
    font-size: .85rem;
    font-weight: 600;
    margin-bottom: 14px;
}

.results-hero-card h1 {
    margin: 0 0 12px;
    font-size: clamp(34px,4vw,56px);
    line-height: 1.02;
    font-weight: 800;
    letter-spacing: -.03em;
    color: var(--dp-text);
}

    .results-hero-card h1 span {
        color: var(--dealer-accent);
    }

.results-hero-card h3 {
    margin: 0 0 10px;
    font-size: clamp(18px,2vw,24px);
    line-height: 1.38;
    font-weight: 700;
    color: #22314a;
}

.results-hero-card .lead {
    margin: 0;
    font-size: 17px;
    line-height: 1.7;
    color: var(--dp-text-soft);
}

.results-premium {
    display: flex;
    flex-direction: column;
    gap: 28px;
}

.top-choice-wrap {
    margin-bottom: 8px;
}

.vehicle-card-featured {
    position: relative;
    border-radius: 32px;
    background: rgba(244,248,255,.94);
    box-shadow: 0 20px 50px rgba(12,23,48,.14);
    padding: 28px;
    overflow: hidden;
    border: 1px solid rgba(140,170,210,.18);
}

.featured-badge {
    position: absolute;
    top: 18px;
    right: 18px;
    background: linear-gradient(135deg, #1da1ff, #7bc7ff);
    color: #0d2340;
    font-weight: 800;
    font-size: 13px;
    border-radius: 999px;
    padding: 10px 16px;
    box-shadow: 0 8px 24px rgba(0,122,255,.18);
    z-index: 2;
}

.vehicle-featured-grid {
    display: grid;
    grid-template-columns: 420px 1fr;
    gap: 28px;
    align-items: stretch;
}

.vehicle-featured-media {
    position: relative;
    min-height: 320px;
    border-radius: 24px;
    overflow: hidden;
    background: #dfeaf6;
    height: 100%;
}

    .vehicle-featured-media img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        display: block;
    }

.vehicle-media-clickable {
    cursor: pointer;
}

.featured-photo-badge {
    right: 18px;
    bottom: 18px;
}

.vehicle-featured-body {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 14px;
}

.featured-topline {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
}

.featured-stock-badge {
    background: #bfe4ff;
    color: #15304f;
    font-weight: 800;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: .08em;
    border-radius: 999px;
    padding: 10px 15px;
}

.featured-pill {
    background: #edf3fa;
    color: #44556f;
    border-radius: 999px;
    padding: 9px 14px;
    font-weight: 700;
    font-size: 14px;
    border: 1px solid #d9e5f2;
}

.featured-pill-highlight,
.score-pill {
    background: var(--dp-success-soft);
    color: var(--dp-success-text);
    border: 1px solid var(--dp-success-border);
}

.vehicle-featured-title {
    font-size: 46px;
    line-height: 1.02;
    font-weight: 900;
    letter-spacing: -.04em;
    color: #16233d;
    margin: 0;
}

.vehicle-featured-price-row {
    display: flex;
    flex-wrap: wrap;
    align-items: end;
    gap: 18px;
}

.vehicle-featured-price {
    font-size: 44px;
    font-weight: 900;
    line-height: 1;
    color: #14233c;
}

.vehicle-featured-monthly {
    font-size: 20px;
    font-weight: 700;
    color: #5f708a;
    padding-bottom: 4px;
}

.vehicle-featured-desc {
    font-size: 20px;
    line-height: 1.45;
    color: #5b6981;
}

.vehicle-featured-why-title {
    font-size: 14px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: .08em;
    color: #6a7a93;
    margin-top: 8px;
}

.vehicle-featured-ai-comment {
    font-size: 24px;
    line-height: 1.35;
    font-weight: 800;
    color: #1c2b44;
}

.vehicle-featured-meta {
    font-size: 18px;
    color: #5e6f87;
}

.vehicle-featured-actions {
    display: flex;
    gap: 12px;
    flex-wrap: nowrap;
    margin-top: 10px;
}

    .vehicle-featured-actions .btn {
        flex: 1 1 0;
    }

.results-section-card {
    margin-bottom: 22px;
    padding: 26px 28px;
    border-radius: 26px;
    background: var(--dealer-card-bg);
    box-shadow: 0 18px 42px rgba(12,23,48,.16);
    border: 1px solid var(--dealer-card-border);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

    .results-section-card .hero-kicker {
        margin-bottom: 14px;
    }

    .results-section-card h3 {
        margin: 6px 0 8px 0;
        font-size: 30px;
        line-height: 1.08;
        font-weight: 900;
        color: #16233d;
    }

    .results-section-card p {
        margin: 0;
        font-size: 18px;
        line-height: 1.45;
        color: #66758d;
    }

.results-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0,1fr));
    gap: 26px;
}

.vehicle-card {
    border-radius: 28px;
    overflow: hidden;
    background: rgba(245,248,253,.94);
    box-shadow: 0 16px 40px rgba(18,30,54,.12);
    border: 1px solid rgba(140,170,210,.15);
    transition: transform .18s ease, box-shadow .18s ease;
    display: flex;
    flex-direction: column;
}

    .vehicle-card:hover {
        transform: translateY(-4px);
        box-shadow: 0 20px 50px rgba(18,30,54,.16);
    }

.results-grid .vehicle-media {
    position: relative;
    height: 280px;
    background: #dfeaf6;
    overflow: hidden;
}

    .results-grid .vehicle-media img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        display: block;
    }

.results-grid .vehicle-body {
    padding: 18px 20px 20px 20px;
    display: flex;
    flex-direction: column;
    gap: 7px;
    color: var(--dp-text);
}

    .results-grid .vehicle-body h3 {
        margin: 6px 0 4px 0;
        font-size: 22px;
        line-height: 1.08;
        font-weight: 900;
        letter-spacing: -.03em;
        color: #17243d;
    }

.results-grid .vehicle-price {
    font-size: 26px;
    line-height: 1;
    font-weight: 900;
    color: #16243d;
}

.results-grid .vehicle-monthly {
    margin-top: 0;
    font-size: 14px;
    font-weight: 700;
    color: #677893;
}

.results-grid .vehicle-desc {
    margin-top: 10px;
    font-size: 15px;
    line-height: 1.4;
    color: #66758d;
    min-height: 0;
}

.results-grid .vehicle-ai-comment {
    margin-top: 10px;
    font-size: 16px;
    line-height: 1.5;
    font-weight: 800;
    color: #22324d;
}

.results-grid .vehicle-meta {
    margin-top: 10px;
    font-size: 15px;
    color: #6a7a92;
}

.results-grid .vehicle-actions {
    display: flex;
    gap: 12px;
    flex-wrap: nowrap;
    margin-top: 12px;
}

    .results-grid .vehicle-actions .btn {
        flex: 1 1 0;
    }

.ai-badge {
    position: absolute;
    top: 16px;
    left: 16px;
    z-index: 2;
    padding: 10px 14px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: .08em;
    color: #0c3150;
    background: linear-gradient(180deg, var(--dp-primary-soft) 0%, var(--dp-primary-soft-2) 100%);
    box-shadow: 0 10px 20px rgba(18,33,58,.16);
}

.badges {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 38px;
    padding: 8px 14px;
    border-radius: 999px;
    background: #eef4fb;
    color: #46556e;
    border: 1px solid #d9e5f2;
    font-size: 14px;
    font-weight: 800;
}

.vehicle-highlights {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 14px;
    margin-bottom: 14px;
}

.highlight-chip {
    display: inline-flex;
    align-items: center;
    min-height: 40px;
    padding: 9px 15px;
    border-radius: 999px;
    background: #eef6ff;
    color: #184066;
    border: 1px solid #d4e5f7;
    font-size: 14px;
    font-weight: 800;
    line-height: 1;
}

.vehicle-featured-body .vehicle-highlights {
    margin-top: 8px;
    margin-bottom: 10px;
}

.vehicle-featured-body .highlight-chip {
    min-height: 44px;
    padding: 10px 16px;
    font-size: 15px;
}

.delivery-badge {
    position: absolute;
    left: 16px;
    bottom: 16px;
    z-index: 2;
    padding: 9px 14px;
    border-radius: 999px;
    background: rgba(25,104,57,.88);
    color: #fff;
    font-size: 13px;
    font-weight: 900;
    letter-spacing: .01em;
    box-shadow: 0 10px 20px rgba(18,33,58,.18);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
}

.glass-cta {
    margin-top: 30px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 28px 30px;
    border-radius: 28px;
    background: var(--dp-panel);
    border: 1px solid var(--dp-line-soft);
    box-shadow: var(--dp-shadow-lg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    color: var(--dp-text);
}

    .glass-cta h3 {
        margin: 0 0 8px;
        font-size: 30px;
        font-weight: 800;
        line-height: 1.15;
        color: var(--dp-text);
    }

    .glass-cta p {
        margin: 0;
        color: var(--dp-text-soft);
        line-height: 1.65;
    }

.cta-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    justify-content: flex-end;
}

/* ===== MODALE FOTO ===== */

.photo-modal {
    position: fixed;
    inset: 0;
    background: rgba(8,15,26,.72);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 3000;
    padding: 24px;
}

    .photo-modal.open {
        display: flex;
    }

.photo-modal-dialog {
    position: relative;
    width: min(1100px, 96vw);
    max-height: 90vh;
    background: rgba(255,255,255,.96);
    border-radius: 24px;
    padding: 20px;
    box-shadow: 0 20px 50px rgba(0,0,0,.28);
    overflow: hidden;
}

.photo-modal-title {
    font-size: 24px;
    font-weight: 800;
    color: #172033;
    margin-bottom: 14px;
    padding-right: 52px;
}

.photo-close {
    position: absolute;
    top: 12px;
    right: 14px;
    width: 40px;
    height: 40px;
    border: 0;
    border-radius: 50%;
    background: #eef4fb;
    color: #172033;
    font-size: 28px;
    cursor: pointer;
    z-index: 5;
}

.photo-main-wrap {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f1f5fa;
    border-radius: 18px;
    min-height: 520px;
    overflow: hidden;
}

.photo-main-img {
    max-width: 100%;
    max-height: 68vh;
    object-fit: contain;
}

.photo-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 48px;
    height: 48px;
    border: 0;
    border-radius: 50%;
    background: rgba(255,255,255,.92);
    box-shadow: 0 8px 18px rgba(0,0,0,.14);
    font-size: 32px;
    line-height: 1;
    cursor: pointer;
}

    .photo-nav.prev {
        left: 14px;
    }

    .photo-nav.next {
        right: 14px;
    }

.photo-thumbs {
    display: flex;
    gap: 10px;
    margin-top: 14px;
    overflow-x: auto;
    padding-bottom: 4px;
}

.photo-thumb {
    width: 92px;
    height: 68px;
    object-fit: cover;
    border-radius: 12px;
    border: 2px solid transparent;
    cursor: pointer;
    flex: 0 0 auto;
}

    .photo-thumb.active {
        border-color: var(--dealer-accent);
    }

.photo-count-badge {
    position: absolute;
    right: 16px;
    bottom: 16px;
    z-index: 2;
    padding: 9px 13px;
    border-radius: 999px;
    background: rgba(23,32,51,.82);
    color: #fff;
    font-size: 13px;
    font-weight: 900;
    letter-spacing: .02em;
    box-shadow: 0 10px 20px rgba(18,33,58,.18);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
}

/* ===== DRAWER CONFRONTO ===== */

.compare-drawer {
    position: fixed;
    top: 0;
    right: -380px;
    width: 360px;
    height: 100vh;
    z-index: 4000;
    transition: right .25s ease;
}

    .compare-drawer.open {
        right: 0;
    }

.compare-drawer-inner {
    height: 100%;
    background: rgba(248,251,255,.98);
    border-left: 1px solid rgba(160,185,220,.25);
    box-shadow: -12px 0 30px rgba(12,23,48,.16);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    padding: 24px 20px;
    display: flex;
    flex-direction: column;
    gap: 18px;
    overflow-y: auto;
}

.compare-drawer-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

    .compare-drawer-head h3 {
        margin: 0;
        font-size: 26px;
        font-weight: 900;
        color: #16233d;
    }

.compare-close {
    width: 40px;
    height: 40px;
    border: 0;
    border-radius: 50%;
    background: #eef4fb;
    color: #16233d;
    font-size: 28px;
    cursor: pointer;
}

.compare-drawer-text {
    margin: 0;
    font-size: 16px;
    line-height: 1.5;
    color: #66758d;
}

.compare-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.compare-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding: 16px 18px;
    border-radius: 18px;
    background: #f2f7fc;
    border: 1px solid #dbe6f2;
}

.compare-item-title {
    font-size: 15px;
    font-weight: 800;
    color: #1d2d46;
    line-height: 1.3;
    flex: 1 1 auto;
    min-width: 0;
}

.compare-remove-btn {
    width: 40px;
    height: 40px;
    border: 0;
    border-radius: 50%;
    background: #eaf1f8;
    color: #51627d;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: .18s ease;
    flex: 0 0 auto;
    padding: 0;
    font-size: 18px;
    line-height: 1;
}

    .compare-remove-btn:hover {
        background: #ffe7e7;
        color: #d93838;
        transform: translateY(-1px);
    }

.compare-go-btn {
    margin-top: auto;
}

.compare-btn.is-selected {
    background: #dff3e6 !important;
    color: #1d6b3b !important;
    border: 1px solid #bfe1ca !important;
}

/* ===== DETTAGLIO AUTO ===== */

.detail-shell {
    max-width: 1280px;
    margin: 0 auto;
    padding: 18px 16px 60px;
    position: relative;
    z-index: 20;
}

.detail-nav {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 14px;
}

.detail-grid {
    display: grid;
    grid-template-columns: 1.15fr .75fr;
    gap: 22px;
    align-items: stretch;
}

.detail-card {
    background: rgba(246,249,253,.96);
    border: 1px solid rgba(150,175,210,.22);
    border-radius: 28px;
    box-shadow: 0 18px 42px rgba(12,23,48,.16);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.detail-info-card {
    padding: 22px;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.detail-media-card {
    padding: 16px;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.detail-main-image-wrap {
    position: relative;
    border-radius: 22px;
    overflow: hidden;
    background: #dfeaf6;
    flex: 1 1 auto;
    min-height: 0;
}

.detail-main-image {
    width: 100%;
    height: 100%;
    min-height: 420px;
    object-fit: contain;
    display: block;
    padding: 18px;
}

.detail-thumbs {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 14px;
    flex: 0 0 auto;
}

.detail-thumb {
    width: 68px;
    height: 52px;
    border-radius: 14px;
    overflow: hidden;
    border: 2px solid transparent;
    cursor: pointer;
    background: #edf4fb;
    flex: 0 0 auto;
}

    .detail-thumb img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    .detail-thumb.active {
        border-color: var(--dealer-accent);
        box-shadow: 0 6px 16px rgba(50,151,232,.18);
    }

.detail-kicker {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--dealer-accent);
    margin-bottom: 12px;
}

.detail-title {
    font-size: 2rem;
    line-height: 1.08;
    color: #14233d;
    margin: 0 0 8px;
    font-weight: 900;
    letter-spacing: -.03em;
}

.detail-subtitle {
    color: #66758d;
    font-size: 1rem;
    margin-bottom: 16px;
    line-height: 1.45;
}

.detail-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 16px;
}

.detail-badge,
.detail-pill {
    display: inline-flex;
    align-items: center;
    padding: 8px 12px;
    border-radius: 999px;
    font-size: .88rem;
    font-weight: 800;
}

.detail-badge {
    background: var(--dealer-btn-bg);
    color: var(--dealer-btn-text);
}

.detail-pill {
    background: #eef4fb;
    color: #46556e;
    border: 1px solid #d9e5f2;
}

.detail-price-row {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 16px;
    padding: 20px 0;
    border-top: 1px solid rgba(180,196,216,.42);
    border-bottom: 1px solid rgba(180,196,216,.42);
    margin: 20px 0 18px 0;
}

.detail-price {
    font-size: 2.35rem;
    font-weight: 900;
    color: #10213b;
    line-height: 1;
    letter-spacing: -.02em;
}

.detail-monthly {
    font-size: 1rem;
    color: #1e86da;
    font-weight: 900;
    text-align: right;
    padding-bottom: 4px;
}

.detail-meta-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0,1fr));
    gap: 12px;
    margin-top: 18px;
}

.detail-meta-item,
.spec-item {
    padding: 14px 16px;
    border-radius: 18px;
    background: rgba(214,223,235,.92);
    border: 1px solid rgba(150,168,194,.58);
    box-shadow: inset 0 1px 0 rgba(255,255,255,.34);
}

.detail-meta-label,
.spec-label {
    font-size: .8rem;
    color: #62728d;
    margin-bottom: 7px;
    font-weight: 700;
}

.detail-meta-value,
.spec-value {
    font-size: 1.08rem;
    color: #12233d;
    font-weight: 900;
    line-height: 1.35;
    letter-spacing: -.01em;
}

.detail-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 20px;
}

    .detail-actions .btn {
        flex: 1 1 0;
    }

.detail-section {
    margin-top: 26px;
}

.detail-section-card {
    padding: 22px;
}

.detail-section-title {
    font-size: 1.32rem;
    color: #14233d;
    margin: 0 0 18px;
    font-weight: 900;
    letter-spacing: -.02em;
}

.spec-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0,1fr));
    gap: 12px;
}

.equip-group {
    margin-bottom: 18px;
}

    .equip-group:last-child {
        margin-bottom: 0;
    }

.equip-group-title {
    font-size: 1.05rem;
    font-weight: 900;
    color: var(--dealer-accent);
    margin-bottom: 12px;
    letter-spacing: -.01em;
}

.equip-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.equip-chip {
    display: inline-flex;
    align-items: center;
    padding: 11px 14px;
    border-radius: 999px;
    background: linear-gradient(180deg, #f3f8fd 0%, #e7f1fb 100%);
    border: 1px solid #c6d9ee;
    color: #163a5d;
    font-size: .94rem;
    font-weight: 800;
    line-height: 1.2;
    box-shadow: 0 4px 10px rgba(29,77,131,.06);
}

.notes-box {
    color: #4f617c;
    line-height: 1.7;
}

    .notes-box p:last-child {
        margin-bottom: 0;
    }

.empty-state {
    padding: 26px;
    text-align: center;
    color: var(--dp-text);
}

/* ===== SERVICE / CONTATTI ===== */

.service-grid {
    display: grid;
    grid-template-columns: repeat(2,minmax(0,1fr));
    gap: 24px;
}

.service-card .vehicle-body {
    min-height: 100%;
}

.service-form-wrap {
    padding: 24px;
}

.service-form-header p {
    margin-top: 8px;
    opacity: .9;
}

.service-form-grid {
    display: grid;
    grid-template-columns: repeat(2,minmax(0,1fr));
    gap: 18px;
    margin-top: 20px;
}

.form-field {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

    .form-field label {
        font-weight: 600;
    }

.form-field-full {
    grid-column: 1 / -1;
}

.service-input {
    width: 100%;
    border-radius: 14px;
    padding: 14px 16px;
    border: 1px solid rgba(180,196,216,.55);
    background: rgba(255,255,255,.92);
    color: var(--dp-text);
}

    .service-input::placeholder {
        color: #7b8798;
    }

.service-textarea {
    resize: vertical;
    min-height: 120px;
}

/* ===== ACCESSIBILITÀ / FOCUS ===== */

.btn:focus-visible,
.search-button:focus-visible,
.menu a:focus-visible,
.menu .dropdown > span:focus-visible,
.photo-close:focus-visible,
.photo-nav:focus-visible,
.compare-remove-btn:focus-visible,
.compare-close:focus-visible {
    outline: 3px solid rgba(98,183,245,.45);
    outline-offset: 2px;
}

/* ===== RESPONSIVE ===== */

@media (max-width: 1180px) {
    .vehicle-featured-grid {
        grid-template-columns: 1fr;
    }

    .results-grid {
        grid-template-columns: repeat(2, minmax(0,1fr));
    }

    .vehicle-featured-title {
        font-size: 38px;
    }

    .vehicle-featured-price {
        font-size: 38px;
    }

    .vehicle-featured-ai-comment {
        font-size: 22px;
    }

    .detail-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 900px) {
    .glass-cta {
        flex-direction: column;
        align-items: flex-start;
    }

    .cta-actions {
        justify-content: flex-start;
    }

    .service-grid,
    .service-form-grid {
        grid-template-columns: 1fr;
    }

    .spec-grid {
        grid-template-columns: repeat(2,minmax(0,1fr));
    }
}

@media (max-width: 760px) {
    .guided-results-container {
        padding: 12px 14px 40px;
    }

    .results-hero-card {
        padding: 24px 18px;
        border-radius: 24px;
    }

    .results-grid {
        grid-template-columns: 1fr;
    }

    .vehicle-card-featured {
        padding: 18px;
        border-radius: 24px;
    }

    .vehicle-featured-media {
        min-height: 240px;
    }

    .vehicle-featured-title {
        font-size: 30px;
    }

    .vehicle-featured-price {
        font-size: 32px;
    }

    .vehicle-featured-monthly {
        font-size: 18px;
    }

    .vehicle-featured-desc {
        font-size: 17px;
    }

    .vehicle-featured-ai-comment {
        font-size: 20px;
    }

    .results-grid .vehicle-media {
        height: 280px;
    }

    .results-section-card {
        padding: 20px 18px;
        border-radius: 22px;
    }

        .results-section-card h3 {
            font-size: 26px;
        }

    .vehicle-featured-actions,
    .results-grid .vehicle-actions,
    .detail-actions {
        flex-wrap: wrap;
    }

    .detail-main-image {
        height: 300px;
        min-height: 0;
    }

    .detail-title {
        font-size: 1.65rem;
    }

    .detail-price {
        font-size: 1.9rem;
    }

    .detail-meta-grid,
    .spec-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 700px) {
    .guided-dialog-chat .guided-dialog-box {
        padding: 18px;
        border-radius: 22px;
        min-height: 0;
        max-height: 82vh;
    }

    .guided-dialog-scroll {
        max-height: 40vh;
    }

    .ai-bubble-user,
    .ai-bubble-assistant {
        max-width: 100%;
    }

    .guided-step-box-chat {
        flex-direction: column;
        align-items: stretch;
        padding: 10px;
    }

        .guided-step-box-chat .search-button {
            width: 100%;
        }

    .ai-result-box {
        flex-direction: column;
        align-items: stretch;
    }

    .ai-result-actions {
        width: 100%;
    }

    .photo-modal {
        padding: 12px;
    }

    .photo-modal-dialog {
        width: 100%;
        padding: 14px;
        border-radius: 18px;
    }

    .photo-modal-title {
        font-size: 20px;
    }

    .photo-main-wrap {
        min-height: 320px;
    }

    .photo-nav {
        width: 40px;
        height: 40px;
        font-size: 28px;
    }

    .photo-thumb {
        width: 78px;
        height: 58px;
    }
}

/* ===== MENU MOBILE ===== */

@media (max-width: 980px) {
    .top-inner {
        padding: 14px 16px;
    }

    .menu-toggle {
        display: block;
    }

    .menu {
        display: none;
        position: absolute;
        top: calc(100% + 10px);
        right: 0;
        min-width: 240px;
        background: rgba(255,255,255,.98);
        border: 1px solid rgba(219,228,239,.95);
        border-radius: 20px;
        box-shadow: 0 16px 40px rgba(18,33,58,.14);
        padding: 10px;
        flex-direction: column;
        align-items: stretch;
        gap: 6px;
        z-index: 300;
    }

        .menu.open {
            display: flex;
        }

        .menu a,
        .menu a:hover,
        .menu a:focus,
        .menu a:active,
        .menu a:visited,
        .menu .dropdown > span,
        .menu .dropdown > span:hover,
        .menu .dropdown > span:focus {
            color: var(--dp-text) !important;
            background: transparent !important;
            padding: 12px 14px;
            border-radius: 14px;
        }

            .menu a:hover,
            .menu .dropdown > span:hover,
            .menu a.active-link {
                background: #f4f9ff !important;
                color: var(--dealer-accent) !important;
            }

    .dropdown-content {
        position: static;
        display: none;
        top: auto;
        left: auto;
        min-width: 100%;
        border-radius: 16px;
        box-shadow: none;
        margin-top: 6px;
        border: 1px solid #edf2f7;
    }

    .dropdown.open .dropdown-content {
        display: block;
    }
}

/* ===== PAGINA CONFRONTO ===== */

.compare-shell {
    max-width: 1500px;
    padding-top: 8px;
}

    .compare-shell .detail-nav {
        margin-bottom: 18px;
    }

.compare-top-card {
    background: rgba(245,248,252,.96);
    border: 1px solid rgba(203,213,225,.95);
    border-radius: 30px;
    box-shadow: 0 18px 45px rgba(15,23,42,.16);
    padding: 28px 32px;
    margin-bottom: 26px;
}

.compare-top-inner {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 20px;
    flex-wrap: wrap;
}

.compare-kicker {
    display: inline-flex;
    align-items: center;
    padding: 8px 14px;
    border-radius: 999px;
    background: #e8f2ff;
    color: var(--dealer-accent);
    font-size: .82rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .06em;
    margin-bottom: 14px;
}

.compare-page-title {
    margin: 0 0 8px;
    color: #1b2b52;
    font-size: clamp(2.1rem, 3vw, 3rem);
    line-height: 1.05;
    font-weight: 900;
}

.compare-page-subtitle {
    color: #64748b;
    font-size: 1.05rem;
    max-width: 760px;
}

.compare-toolbar {
    display: flex;
    align-items: center;
}

.compare-switch {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    user-select: none;
}

    .compare-switch input {
        display: none;
    }

.compare-switch-slider {
    width: 56px;
    height: 32px;
    background: #dbe4f0;
    border-radius: 999px;
    position: relative;
    transition: .2s ease;
    flex: 0 0 auto;
}

    .compare-switch-slider::after {
        content: "";
        position: absolute;
        top: 4px;
        left: 4px;
        width: 24px;
        height: 24px;
        background: #fff;
        border-radius: 50%;
        box-shadow: 0 2px 8px rgba(15,23,42,.18);
        transition: .2s ease;
    }

.compare-switch input:checked + .compare-switch-slider {
    background: linear-gradient(135deg, #63b3ff 0%, #2f9cf4 100%);
}

    .compare-switch input:checked + .compare-switch-slider::after {
        transform: translateX(24px);
    }

.compare-switch-text {
    color: #1e293b;
    font-weight: 700;
    font-size: .98rem;
}

.compare-board {
    display: grid;
    grid-template-columns: repeat(var(--compare-cols, 3), minmax(0,1fr));
    gap: 24px;
    align-items: start;
}

.compare-col {
    min-width: 0;
}

.compare-col-card {
    background: rgba(245,248,252,.96);
    border: 1px solid rgba(203,213,225,.95);
    border-radius: 28px;
    overflow: hidden;
    box-shadow: 0 18px 45px rgba(15,23,42,.14);
}

.compare-col-image-wrap {
    aspect-ratio: 16 / 9;
    background: #dfeaf6;
    overflow: hidden;
}

.compare-col-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.compare-col-head {
    padding: 18px 20px 16px;
    background: rgba(255,255,255,.72);
    border-bottom: 1px solid rgba(203,213,225,.82);
}

.compare-col-title {
    margin: 0;
    color: #1b2b52;
    font-size: 1.12rem;
    line-height: 1.15;
    font-weight: 900;
}

.compare-col-subtitle {
    color: #64748b;
    font-size: .95rem;
    margin-top: 6px;
    min-height: 36px;
}

.compare-spec-row {
    padding: 15px 20px;
    border-bottom: 1px solid rgba(226,232,240,.98);
    min-height: 78px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 6px;
    background: rgba(255,255,255,.72);
}

    .compare-spec-row:last-child {
        border-bottom: 0;
    }

    .compare-spec-row:nth-child(even) {
        background: rgba(236,244,252,.88);
    }

    .compare-spec-row.is-different {
        background: linear-gradient(90deg, rgba(223,240,255,.98), rgba(235,246,255,.95));
        border-left: 4px solid #47a6ff;
    }

.compare-spec-label {
    color: #64748b;
    font-size: .8rem;
    text-transform: uppercase;
    letter-spacing: .06em;
    font-weight: 800;
}

.compare-spec-value {
    color: #1b2b52;
    font-size: 1rem;
    font-weight: 800;
    line-height: 1.35;
}

.compare-spec-row.is-hidden-by-filter {
    display: none !important;
}

@media (max-width: 991.98px) {
    .compare-top-card {
        padding: 24px 22px;
    }

    .compare-board {
        grid-template-columns: 1fr;
    }

    .compare-page-title {
        font-size: 2rem;
    }
}

.ai-session-expired {
    padding: 22px 24px;
    border: 1px solid rgba(255,140,0,.22);
    background: rgba(255,248,240,.96);
    border-radius: 24px;
}

.ai-session-expired-title {
    font-size: 28px;
    font-weight: 800;
    color: #1b2742;
    line-height: 1.2;
    margin-bottom: 10px;
}

.ai-session-expired-text {
    font-size: 18px;
    line-height: 1.6;
    color: #5f6d85;
}

.ai-session-expired-actions {
    margin-top: 18px;
}

.ai-primary-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 220px;
    height: 56px;
    padding: 0 24px;
    border: none;
    border-radius: 18px;
    background: var(--dealer-btn-bg);
    color: var(--dealer-btn-text);
    font-size: 20px;
    font-weight: 800;
    cursor: pointer;
    box-shadow: 0 10px 24px rgba(59,157,242,.28);
}

    .ai-primary-btn:hover {
        transform: translateY(-1px);
        filter: brightness(1.02);
    }
