﻿: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,.88);
    --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-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;
}

* {
    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;
}

a {
    text-decoration: none;
}

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(rgba(16,24,39,.42), rgba(16,24,39,.48)), 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;
    }
}

/* ===== 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: linear-gradient(180deg, rgba(86,159,227,.95) 0%, rgba(69,145,217,.95) 100%);
    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 {
        color: #fff;
        -webkit-text-fill-color: #fff;
        background: none;
    }

.menu-wrapper {
    display: flex;
    align-items: center;
    gap: 18px;
    position: relative;
}

.menu-toggle {
    display: none;
    cursor: pointer;
    font-size: 28px;
    line-height: 1;
    color: #fff;
    user-select: none;
}

.menu {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

    .menu a,
    .menu .dropdown span {
        color: #fff;
        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;
    }

        .menu a:hover,
        .menu .dropdown span:hover,
        .menu a.active-link {
            background: rgba(255,255,255,.14);
            color: #fff;
        }

.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 {
    display: block;
    padding: 16px 20px;
    color: var(--dp-text);
    font-size: 15px;
    font-weight: 700;
    border-bottom: 1px solid #edf2f7;
    border-radius: 0;
}

    .dropdown-content a:last-child {
        border-bottom: none;
    }

    .dropdown-content a:hover {
        background: #f4f9ff;
        color: #0f66b3;
    }

/* ===== 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);
}

.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-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: linear-gradient(180deg, var(--dp-primary) 0%, var(--dp-primary-dark) 100%);
    color: #fff;
    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-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-label {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    opacity: .76;
    margin-bottom: 8px;
}

.guided-dialog-question {
    font-size: 18px;
    line-height: 1.5;
    font-weight: 600;
    margin-bottom: 14px;
}

.guided-step-box {
    margin-top: 0;
}

/* ===== PAGINE RISULTATI ===== */

.guided-results-container {
    position: relative;
    z-index: 20;
    max-width: 1280px;
    margin: 0 auto;
    padding: 78px 20px 50px;
}

.hero-results {
    margin-bottom: 24px;
}

.results-hero-card {
    width: 100%;
    max-width: none;
    margin: 0 0 24px 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;
}

.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: #3ea7f2;
    }

.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);
}

/* ===== GRID NUOVO STILE VERTICALE ===== */

.results {
    display: grid;
    grid-template-columns: repeat(3, minmax(0,1fr));
    gap: 22px;
    align-items: stretch;
}

.vehicle-card {
    display: flex;
    flex-direction: column;
    min-height: 100%;
    border-radius: 28px;
    overflow: hidden;
    background: var(--dp-panel-strong);
    border: 1px solid var(--dp-line-soft);
    box-shadow: var(--dp-shadow-lg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.vehicle-media {
    position: relative;
    height: 130px;
    background: linear-gradient(180deg,#eef3f8,#e3ebf5);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

    .vehicle-media img {
        width: 100%;
        height: 100%;
        object-fit: contain;
        padding: 12px;
    }

.vehicle-body {
    padding: 18px 18px 18px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    color: var(--dp-text);
}

.vehicle-card h3 {
    margin: 0;
    font-size: 26px;
    line-height: 1.10;
    font-weight: 800;
    color: var(--dp-text);
    letter-spacing: -.02em;
}

.vehicle-price {
    font-size: 30px;
    font-weight: 800;
    line-height: 1;
    color: var(--dp-text);
    letter-spacing: -.03em;
}

.vehicle-desc {
    font-size: 16px;
    line-height: 1.55;
    color: var(--dp-text-soft);
    min-height: 0;
    margin-bottom: 2px;
}

.vehicle-meta {
    font-size: 15px;
    line-height: 1.45;
    color: var(--dp-text-soft);
}

.vehicle-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 6px;
}

/* ===== COMPATIBILITÀ MARKUP VECCHIO ORIZZONTALE ===== */

.result-card {
    display: grid;
    grid-template-columns: 300px 1fr;
    border-radius: 28px;
    overflow: hidden;
    background: var(--dp-panel-strong);
    border: 1px solid var(--dp-line-soft);
    box-shadow: var(--dp-shadow-lg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    min-height: 290px;
}

    .result-card .car-visual {
        position: relative;
        min-height: 290px;
        background: #dfe8f2;
        border-right: 1px solid #dfe6f0;
        overflow: hidden;
    }

.car-visual-photo {
    background-size: cover !important;
    background-position: center center !important;
    background-repeat: no-repeat !important;
}

.result-card .content {
    padding: 26px 28px;
    color: var(--dp-text);
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.result-card h3 {
    margin: 0 0 8px;
    font-size: 30px;
    line-height: 1.12;
    font-weight: 800;
    letter-spacing: -.02em;
    color: var(--dp-text);
}

.desc {
    color: var(--dp-text-soft);
    font-size: 16px;
    line-height: 1.68;
    margin-bottom: 20px;
}

.specs {
    display: grid;
    grid-template-columns: repeat(4,minmax(0,1fr));
    gap: 12px;
    margin-bottom: 20px;
}

.spec {
    padding: 14px 15px;
    border-radius: 18px;
    background: rgba(255,255,255,.78);
    border: 1px solid #dfe6f0;
    box-shadow: 0 6px 14px rgba(18,33,58,.04);
}

    .spec strong {
        display: block;
        font-size: 11px;
        text-transform: uppercase;
        letter-spacing: .08em;
        color: #5faee8;
        margin-bottom: 7px;
        font-weight: 800;
    }

    .spec span {
        display: block;
        font-size: 15px;
        font-weight: 700;
        color: #1f2b3f;
        line-height: 1.4;
    }

.price-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 16px;
    margin-bottom: 20px;
    padding: 16px 0;
    border-top: 1px solid #e5edf5;
    border-bottom: 1px solid #e5edf5;
}

.price {
    font-size: 40px;
    font-weight: 800;
    line-height: 1;
    color: var(--dp-text);
    letter-spacing: -.03em;
}

.price-note {
    text-align: right;
    font-size: 14px;
    line-height: 1.5;
    color: #6a7588;
}

.score-box {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    padding: 16px 18px;
    border-radius: 20px;
    background: linear-gradient(135deg, rgba(255,255,255,.92), rgba(246,250,255,.88));
    border: 1px solid #dfe8f2;
    margin-bottom: 20px;
}

    .score-box .left {
        display: flex;
        flex-direction: column;
        gap: 4px;
    }

        .score-box .left strong {
            color: var(--dp-text);
            font-size: 15px;
            font-weight: 800;
        }

        .score-box .left span {
            color: var(--dp-text-soft);
            font-size: 14px;
            line-height: 1.5;
        }

/* ===== ELEMENTI COMUNI ===== */

.ai-badge {
    position: absolute;
    top: 16px;
    left: 16px;
    z-index: 2;
    padding: 8px 12px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 800;
    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 8px 18px rgba(18,33,58,.12);
}

.badges {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 6px;
}

.pill {
    display: inline-flex;
    align-items: center;
    padding: 8px 12px;
    border-radius: 999px;
    background: #f2f6fb;
    border: 1px solid #dce5ef;
    color: #3f4d63;
    font-size: 13px;
    font-weight: 700;
}

.score {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    font-weight: 800;
    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,.10);
    flex: 0 0 auto;
}

.btns {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 0 18px;
    border-radius: 14px;
    text-decoration: none;
    font-weight: 800;
    transition: .22s ease;
}

    .btn.primary {
        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,.10);
    }

        .btn.primary:hover {
            transform: translateY(-2px);
        }

    .btn.secondary {
        color: #2d3b51;
        background: #f4f7fb;
        border: 1px solid #dce6f0;
    }

        .btn.secondary:hover {
            transform: translateY(-2px);
            background: #ffffff;
        }

/* ===== CTA FINALE ===== */

.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;
}

/* ===== RESPONSIVE ===== */

@media (max-width:1100px) {
    .results {
        grid-template-columns: repeat(2,minmax(0,1fr));
    }
}

@media (max-width:900px) {
    .menu-toggle {
        display: block;
        color: #fff;
    }

    .top-inner {
        padding: 16px 18px;
    }

    .menu {
        display: none;
        position: absolute;
        top: 72px;
        right: 18px;
        min-width: 260px;
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
        background: rgba(255,255,255,.98);
        padding: 18px;
        border-radius: 20px;
        border: 1px solid rgba(219,228,239,.95);
        box-shadow: 0 16px 40px rgba(18,33,58,.14);
        flex-wrap: nowrap;
    }

        .menu.active {
            display: flex;
        }

        .menu a,
        .menu .dropdown span {
            width: 100%;
            padding: 10px 12px;
            color: var(--dp-text);
            border-radius: 12px;
        }

            .menu a:hover,
            .menu .dropdown span:hover,
            .menu a.active-link {
                background: #f4f9ff;
                color: #1167ff;
            }

    .dropdown {
        width: 100%;
    }

    .dropdown-content {
        position: static;
        margin-top: 8px;
        width: 100%;
        min-width: 100%;
        box-shadow: none;
    }

    .glass-cta {
        flex-direction: column;
        align-items: flex-start;
    }

    .cta-actions {
        justify-content: flex-start;
    }

    .result-card {
        grid-template-columns: 1fr;
    }

        .result-card .car-visual {
            min-height: 220px;
            border-right: none;
            border-bottom: 1px solid #dfe6f0;
        }
}

@media (max-width:700px) {
    .guided-results-container {
        padding: 100px 14px 40px;
    }

    .results-hero-card {
        padding: 24px 18px;
        border-radius: 24px;
    }

    .results {
        grid-template-columns: 1fr;
    }

    .vehicle-media {
        height: 220px;
    }

    .vehicle-card h3 {
        font-size: 26px;
    }

    .vehicle-price {
        font-size: 30px;
    }

    .result-card .content {
        padding: 20px 16px;
    }

    .result-card h3 {
        font-size: 28px;
    }

    .specs {
        grid-template-columns: 1fr;
    }

    .price-row {
        flex-direction: column;
        align-items: flex-start;
    }

    .price {
        font-size: 34px;
    }

    .price-note {
        text-align: left;
    }

    .score-box {
        flex-direction: column;
        align-items: flex-start;
    }

    .score {
        width: 62px;
        height: 62px;
        font-size: 18px;
    }

    .glass-cta {
        padding: 22px 18px;
        border-radius: 22px;
    }

        .glass-cta h3 {
            font-size: 26px;
        }

    .hero-shell {
        padding: 18px;
        min-height: calc(100vh - 84px);
    }

    .launcher-card {
        padding: 24px 20px;
        border-radius: 24px;
    }

    .hero-title {
        font-size: 34px;
    }

    .hero-subtitle {
        font-size: 16px;
    }

    .search-box {
        flex-direction: column;
        align-items: stretch;
        border-radius: 22px;
        padding: 12px;
    }

    .search-button {
        width: 100%;
    }

    .quick-list {
        gap: 10px;
    }

    .quick-chip {
        width: 100%;
        justify-content: flex-start;
    }
}
.vehicle-media-clickable {
    cursor: pointer;
}

.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: #62b7f5;
    }

@media (max-width:700px) {
    .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;
    }
}
.photo-count-badge {
    position: absolute;
    right: 14px;
    bottom: 14px;
    z-index: 2;
    padding: 7px 11px;
    border-radius: 999px;
    background: rgba(23,32,51,.78);
    color: #fff;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .02em;
    box-shadow: 0 8px 16px rgba(18,33,58,.16);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
}

.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
}

.guided-dialog-top {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-bottom: 10px
}

.guided-dialog-mini {
    font-size: .92rem;
    opacity: .82
}

.guided-dialog-help {
    margin-top: 12px;
    font-size: .92rem;
    opacity: .82
}

    .guided-dialog-help span {
        display: inline-block;
        margin: 4px 6px 0 0;
        padding: 4px 10px;
        border-radius: 999px;
        background: rgba(255,255,255,.10);
        border: 1px solid rgba(255,255,255,.14)
    }

.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
}

.score-pill {
    background: rgba(255,255,255,.12);
    border: 1px solid rgba(255,255,255,.18)
}

.vehicle-monthly {
    font-size: 1rem;
    font-weight: 600;
    opacity: .9;
    margin-top: 4px
}

.vehicle-ai-comment {
    margin-top: 12px;
    font-size: .98rem;
    font-weight: 600;
    line-height: 1.5
}