:root {
    --dark-bg: #050816;
    --dark-bg-2: #071225;
    --dark-card: #0b1733;
    --gold: #ffb81c;
    --orange: #f97316;
    --green: #22c55e;
    --beige: #fff8e7;
    --silver: #f4f6f8;
    --text: #f8fafc;
    --dark-text: #111827;
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

a {
    color: inherit;
    text-decoration: none;
}

.front-body {
    background:
        radial-gradient(circle at top left, rgba(255, 184, 28, .13), transparent 28%),
        radial-gradient(circle at top right, rgba(249, 115, 22, .12), transparent 32%),
        linear-gradient(135deg, #050816 0%, #071225 48%, #0b1733 100%);
    color: var(--text);
    min-height: 100vh;
}

.front-container {
    width: min(1240px, calc(100% - 32px));
    margin: 0 auto;
}

.front-header {
    position: sticky;
    top: 0;
    z-index: 80;
    background: rgba(5, 8, 22, .82);
    backdrop-filter: blur(18px);
    border-bottom: 1px solid rgba(255, 184, 28, .14);
}

.front-nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 0;
}

.front-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 900;
    color: #fff;
}

.front-logo-mark {
    width: 38px;
    height: 38px;
    border-radius: 14px;
    background: linear-gradient(135deg, var(--gold), var(--orange));
    box-shadow: 0 10px 26px rgba(249, 115, 22, .28);
}

.front-menu {
    display: flex;
    align-items: center;
    gap: 18px;
    color: #dbeafe;
    font-size: 14px;
    font-weight: 700;
}

.front-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border-radius: 999px;
    padding: 12px 18px;
    border: 0;
    cursor: pointer;
    font-weight: 900;
}

.front-btn-primary {
    background: linear-gradient(135deg, var(--gold), var(--orange));
    color: #071225;
    box-shadow: 0 14px 30px rgba(249, 115, 22, .28);
}

.front-btn-dark {
    background: rgba(255, 255, 255, .08);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, .12);
}

.hero {
    padding: 70px 0 40px;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.05fr .95fr;
    gap: 32px;
    align-items: center;
}

.hero-title {
    font-size: clamp(36px, 5vw, 72px);
    line-height: .95;
    margin: 0 0 18px;
    letter-spacing: -2px;
}

.hero-title span {
    color: var(--gold);
}

.hero-text {
    color: #cbd5e1;
    font-size: 18px;
    line-height: 1.7;
    margin-bottom: 28px;
}

.hero-card {
    border-radius: 30px;
    padding: 18px;
    background: linear-gradient(180deg, rgba(255,255,255,.10), rgba(255,255,255,.04));
    border: 1px solid rgba(255, 184, 28, .16);
    box-shadow: 0 30px 80px rgba(0,0,0,.36);
}

.hero-card img {
    width: 100%;
    aspect-ratio: 16/9;
    object-fit: cover;
    border-radius: 22px;
    display: block;
}

.section-title {
    font-size: 30px;
    margin: 34px 0 18px;
}

.vehicle-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}

.vehicle-card {
    overflow: hidden;
    border-radius: 24px;
    background: linear-gradient(180deg, rgba(15, 23, 42, .94), rgba(7, 18, 37, .94));
    border: 1px solid rgba(255, 184, 28, .13);
    box-shadow: 0 18px 50px rgba(0,0,0,.26);
}

.vehicle-card img {
    width: 100%;
    aspect-ratio: 16/9;
    object-fit: cover;
    display: block;
    background: #111827;
}

.vehicle-card-body {
    padding: 18px;
}

.vehicle-title {
    font-size: 18px;
    margin: 0 0 8px;
    color: #fff;
}

.vehicle-meta {
    color: #94a3b8;
    font-size: 13px;
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.vehicle-price {
    color: var(--gold);
    font-size: 22px;
    font-weight: 900;
    margin-top: 12px;
}

.filter-box {
    border-radius: 22px;
    padding: 18px;
    background: rgba(15, 23, 42, .86);
    border: 1px solid rgba(255, 184, 28, .13);
    margin: 24px 0;
}

.filter-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 12px;
}

.filter-grid input,
.filter-grid select,
.contact-form input,
.contact-form textarea {
    width: 100%;
    border-radius: 14px;
    border: 1px solid rgba(148, 163, 184, .25);
    background: rgba(8, 13, 30, .92);
    color: #fff;
    padding: 12px 14px;
    outline: none;
}

.detail-hero {
    padding: 30px 0;
}

.detail-grid {
    display: grid;
    grid-template-columns: 1.2fr .8fr;
    gap: 24px;
}

.detail-media {
    border-radius: 28px;
    overflow: hidden;
    background: #111827;
    border: 1px solid rgba(255, 184, 28, .13);
}

.detail-media img {
    width: 100%;
    aspect-ratio: 16/9;
    object-fit: cover;
    display: block;
}

.detail-side {
    border-radius: 28px;
    padding: 24px;
    background: rgba(15, 23, 42, .88);
    border: 1px solid rgba(255, 184, 28, .13);
}

.spec-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

.spec {
    border-radius: 16px;
    padding: 14px;
    background: rgba(255,255,255,.06);
}

.spec small {
    color: #94a3b8;
}

.spec strong {
    display: block;
    margin-top: 5px;
}

.gallery-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
    margin-top: 18px;
}

.gallery-row img {
    width: 100%;
    aspect-ratio: 16/9;
    object-fit: cover;
    border-radius: 16px;
    background: #111827;
}

.contact-form {
    display: grid;
    gap: 12px;
}

.mobile-open {
    display: none;
}

.front-footer {
    margin-top: 60px;
    padding: 34px 0;
    border-top: 1px solid rgba(255, 184, 28, .12);
    color: #94a3b8;
}

/* MOBİL TIKTOK BENZERİ AKIŞ */
.mobile-flow-body {
    margin: 0;
    background: #000;
    color: #fff;
    overflow: hidden;
}

.mobile-flow {
    width: 100vw;
    height: 100dvh;
    overflow-y: scroll;
    scroll-snap-type: y mandatory;
}

.mobile-vehicle-screen {
    width: 100vw;
    height: 100dvh;
    position: relative;
    scroll-snap-align: start;
    overflow: hidden;
    background: #000;
}

.mobile-photo-strip {
    height: 100dvh;
    display: flex;
    overflow-x: scroll;
    scroll-snap-type: x mandatory;
}

.mobile-photo {
    flex: 0 0 100vw;
    height: 100dvh;
    scroll-snap-align: start;
}

.mobile-photo img {
    width: 100%;
    height: 100dvh;
    object-fit: cover;
    display: block;
    background: #000;
}

.mobile-top {
    position: absolute;
    top: 14px;
    left: 14px;
    right: 14px;
    z-index: 30;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.mobile-model {
    background: rgba(0,0,0,.58);
    backdrop-filter: blur(12px);
    border-radius: 999px;
    padding: 10px 14px;
    font-weight: 900;
}

.mobile-features-btn {
    border: 0;
    background: rgba(0,0,0,.58);
    color: white;
    backdrop-filter: blur(12px);
    border-radius: 999px;
    padding: 10px 14px;
    font-weight: 900;
}

.mobile-bottom {
    position: absolute;
    left: 14px;
    right: 14px;
    bottom: 22px;
    z-index: 30;
    display: flex;
    justify-content: space-between;
    align-items: end;
}

.mobile-actions {
    display: flex;
    gap: 10px;
}

.mobile-call,
.mobile-whatsapp {
    border-radius: 999px;
    padding: 12px 16px;
    font-weight: 900;
    color: #fff;
}

.mobile-call {
    background: linear-gradient(135deg, #2563eb, #1d4ed8);
}

.mobile-whatsapp {
    background: linear-gradient(135deg, #22c55e, #16a34a);
}

.mobile-price {
    color: var(--gold);
    font-weight: 900;
    font-size: 22px;
    text-shadow: 0 2px 12px rgba(0,0,0,.8);
}

.mobile-info-panel {
    display: none;
    position: absolute;
    inset: auto 14px 92px 14px;
    z-index: 35;
    border-radius: 22px;
    padding: 16px;
    background: rgba(0,0,0,.72);
    backdrop-filter: blur(18px);
}

.mobile-info-panel.active {
    display: block;
}

.mobile-bottom-nav {
    position: fixed;
    left: 14px;
    right: 14px;
    bottom: 12px;
    z-index: 90;
    display: flex;
    justify-content: space-around;
    border-radius: 999px;
    padding: 10px;
    background: rgba(5, 8, 22, .86);
    backdrop-filter: blur(18px);
    border: 1px solid rgba(255, 184, 28, .16);
}

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

    .filter-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .detail-grid,
    .hero-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    .front-menu {
        display: none;
    }

    .mobile-open {
        display: inline-flex;
    }

    .vehicle-grid {
        grid-template-columns: 1fr;
    }

    .filter-grid {
        grid-template-columns: 1fr;
    }

    .gallery-row {
        grid-template-columns: repeat(2, 1fr);
    }

    .hero {
        padding-top: 34px;
    }
}

/* ==========================================================
   PREMIUM FRONTEND FAZ 2
   Splash / Drawer / PWA Bottom / Video / 360
   ========================================================== */

.front-theme-toggle {
    position: fixed;
    right: 18px;
    bottom: 18px;
    z-index: 120;
    border: none;
    border-radius: 999px;
    padding: 11px 16px;
    font-size: 13px;
    font-weight: 900;
    cursor: pointer;
    background: linear-gradient(135deg, var(--gold), var(--orange));
    color: #071225;
    box-shadow: 0 14px 34px rgba(0,0,0,.28);
}

body.front-light {
    background:
        radial-gradient(circle at top left, rgba(255,184,28,.22), transparent 30%),
        radial-gradient(circle at top right, rgba(148,163,184,.22), transparent 34%),
        linear-gradient(135deg, #fff9ee 0%, #f6ead3 42%, #e9e7df 74%, #f4f6f8 100%);
    color: #111827;
}

body.front-light .front-header {
    background: rgba(255,250,240,.86);
    border-bottom-color: rgba(120,72,20,.12);
}

body.front-light .front-menu {
    color: #111827;
}

body.front-light .vehicle-card,
body.front-light .detail-side,
body.front-light .filter-box {
    background: linear-gradient(180deg, rgba(255,252,245,.96), rgba(244,246,248,.94));
    border-color: rgba(120,72,20,.16);
    color: #111827;
}

body.front-light .vehicle-title,
body.front-light .front-logo,
body.front-light .detail-side h1,
body.front-light .detail-side h2 {
    color: #111827;
}

body.front-light .vehicle-meta,
body.front-light .detail-side p {
    color: #475569;
}

body.front-light .filter-grid input,
body.front-light .filter-grid select,
body.front-light .contact-form input,
body.front-light .contact-form textarea {
    background: #fffaf0;
    color: #111827;
    border-color: rgba(120,72,20,.20);
}

.splash-overlay {
    position: fixed;
    inset: 0;
    z-index: 999999;
    display: none;
    align-items: center;
    justify-content: center;
    background: rgba(3, 7, 18, .88);
    backdrop-filter: blur(22px);
    padding: 20px;
}

.splash-overlay.active {
    display: flex;
}

.splash-card {
    width: min(520px, 100%);
    overflow: hidden;
    border-radius: 30px;
    background: linear-gradient(180deg, rgba(15,23,42,.96), rgba(7,18,37,.96));
    border: 1px solid rgba(255,184,28,.18);
    box-shadow: 0 30px 90px rgba(0,0,0,.48);
}

.splash-card img {
    width: 100%;
    max-height: 70dvh;
    object-fit: cover;
    display: block;
    background: #111827;
}

.splash-content {
    padding: 22px;
}

.splash-content h2 {
    margin: 0 0 8px;
    color: #fff;
    font-size: 26px;
}

.splash-content p {
    margin: 0 0 18px;
    color: #cbd5e1;
    line-height: 1.6;
}

.splash-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.splash-close {
    background: rgba(255,255,255,.08);
    color: #fff;
    border: 1px solid rgba(255,255,255,.14);
}

.mobile-filter-button {
    display: none;
}

.mobile-filter-drawer {
    display: none;
}

.video-box,
.viewer-360-box {
    margin-top: 24px;
    overflow: hidden;
    border-radius: 26px;
    background: rgba(15,23,42,.88);
    border: 1px solid rgba(255,184,28,.13);
}

.video-box iframe,
.video-box video {
    width: 100%;
    aspect-ratio: 16/9;
    display: block;
    border: 0;
    background: #000;
}

.viewer-360-box {
    padding: 18px;
}

.viewer-360-strip {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    padding-bottom: 6px;
}

.viewer-360-strip img {
    width: 180px;
    height: 110px;
    object-fit: cover;
    border-radius: 16px;
    background: #111827;
}

.mobile-pwa-hint {
    position: fixed;
    left: 14px;
    right: 14px;
    top: 14px;
    z-index: 120;
    display: none;
    border-radius: 20px;
    padding: 12px 14px;
    background: rgba(5,8,22,.82);
    border: 1px solid rgba(255,184,28,.18);
    backdrop-filter: blur(18px);
    color: #fff;
    font-size: 13px;
}

.mobile-pwa-hint.active {
    display: block;
}

.mobile-photo-strip::-webkit-scrollbar,
.mobile-flow::-webkit-scrollbar {
    display: none;
}

.mobile-photo-strip,
.mobile-flow {
    scrollbar-width: none;
}

.mobile-side-dots {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 34;
    display: flex;
    flex-direction: column;
    gap: 7px;
}

.mobile-side-dot {
    width: 7px;
    height: 7px;
    border-radius: 999px;
    background: rgba(255,255,255,.45);
}

.mobile-side-dot.active {
    background: var(--gold);
}

@media (max-width: 760px) {
    .mobile-filter-button {
        display: inline-flex;
    }

    .desktop-filter-box {
        display: none;
    }

    .mobile-filter-drawer {
        position: fixed;
        inset: 0;
        z-index: 200;
        background: rgba(0,0,0,.65);
        backdrop-filter: blur(10px);
        padding: 16px;
    }

    .mobile-filter-drawer.active {
        display: block;
    }

    .mobile-filter-panel {
        position: absolute;
        left: 12px;
        right: 12px;
        bottom: 12px;
        border-radius: 26px;
        padding: 18px;
        background: linear-gradient(180deg, rgba(15,23,42,.98), rgba(7,18,37,.98));
        border: 1px solid rgba(255,184,28,.18);
        box-shadow: 0 30px 90px rgba(0,0,0,.48);
    }

    .mobile-filter-panel .filter-grid {
        grid-template-columns: 1fr;
    }

    .front-theme-toggle {
        bottom: 82px;
        right: 14px;
        padding: 10px 13px;
    }
}

/* ==========================================================
   FRONTEND FAZ 3
   Mobil araç navigasyon / paylaşım / premium detay
   ========================================================== */

.detail-action-bar {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 18px;
    padding-top: 18px;
    border-top: 1px solid rgba(255,184,28,.12);
}

.share-button {
    border: 1px solid rgba(255,255,255,.14);
    background: rgba(255,255,255,.07);
    color: #fff;
    border-radius: 999px;
    padding: 12px 16px;
    font-weight: 900;
    cursor: pointer;
}

body.front-light .share-button {
    color: #111827;
    border-color: rgba(120,72,20,.16);
    background: rgba(255,255,255,.55);
}

.mobile-vehicle-nav {
    position: absolute;
    left: 14px;
    right: 14px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 36;
    pointer-events: none;
    display: flex;
    justify-content: space-between;
}

.mobile-nav-btn {
    pointer-events: auto;
    width: 42px;
    height: 42px;
    border-radius: 999px;
    border: 1px solid rgba(255,255,255,.20);
    background: rgba(0,0,0,.45);
    backdrop-filter: blur(14px);
    color: #fff;
    font-size: 22px;
    font-weight: 900;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.mobile-info-panel {
    border: 1px solid rgba(255,184,28,.18);
    box-shadow: 0 22px 70px rgba(0,0,0,.45);
}

.mobile-info-header {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    align-items: start;
    margin-bottom: 12px;
}

.mobile-info-title {
    font-size: 18px;
    font-weight: 900;
}

.mobile-info-close {
    border: 0;
    background: rgba(255,255,255,.10);
    color: #fff;
    border-radius: 999px;
    padding: 7px 10px;
    font-weight: 900;
}

.mobile-info-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 9px;
}

.mobile-info-item {
    border-radius: 14px;
    padding: 10px;
    background: rgba(255,255,255,.08);
}

.mobile-info-item small {
    display: block;
    color: #cbd5e1;
    font-size: 11px;
    margin-bottom: 4px;
}

.mobile-info-item strong {
    font-size: 13px;
}

.mobile-swipe-hint {
    position: absolute;
    left: 50%;
    bottom: 112px;
    transform: translateX(-50%);
    z-index: 33;
    border-radius: 999px;
    padding: 8px 12px;
    background: rgba(0,0,0,.55);
    backdrop-filter: blur(14px);
    color: #fff;
    font-size: 12px;
    font-weight: 800;
    opacity: .85;
}

.premium-badge {
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    padding: 7px 10px;
    background: rgba(255,184,28,.14);
    color: var(--gold);
    border: 1px solid rgba(255,184,28,.18);
    font-size: 12px;
    font-weight: 900;
}

@media (max-width: 640px) {
    .detail-action-bar {
        position: sticky;
        bottom: 8px;
        z-index: 60;
        background: rgba(5,8,22,.82);
        backdrop-filter: blur(18px);
        border: 1px solid rgba(255,184,28,.14);
        border-radius: 20px;
        padding: 10px;
    }

    body.front-light .detail-action-bar {
        background: rgba(255,250,240,.86);
    }
}

/* ==========================================================
   FRONTEND FAZ 4 - PREMIUM UI / LIGHTBOX / APP BAR
   ========================================================== */

.hero-premium-strip {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
    margin-top: 28px;
}

.hero-premium-stat {
    border-radius: 20px;
    padding: 16px;
    background: rgba(255,255,255,.07);
    border: 1px solid rgba(255,184,28,.14);
}

.hero-premium-stat strong {
    display: block;
    font-size: 24px;
    color: var(--gold);
}

.hero-premium-stat span {
    color: #cbd5e1;
    font-size: 13px;
    font-weight: 700;
}

.vehicle-card {
    position: relative;
    transform: translateY(0);
    transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}

.vehicle-card:hover {
    transform: translateY(-6px);
    border-color: rgba(255,184,28,.34);
    box-shadow: 0 26px 70px rgba(0,0,0,.36);
}

.vehicle-image-wrap {
    position: relative;
    overflow: hidden;
}

.vehicle-image-wrap img {
    transition: transform .28s ease, filter .28s ease;
}

.vehicle-card:hover .vehicle-image-wrap img {
    transform: scale(1.045);
    filter: brightness(.92);
}

.vehicle-card-badge {
    position: absolute;
    left: 12px;
    top: 12px;
    z-index: 5;
    border-radius: 999px;
    padding: 7px 10px;
    background: linear-gradient(135deg, var(--gold), var(--orange));
    color: #071225;
    font-size: 12px;
    font-weight: 900;
    box-shadow: 0 10px 24px rgba(249,115,22,.24);
}

.vehicle-card-status {
    position: absolute;
    right: 12px;
    top: 12px;
    z-index: 5;
    border-radius: 999px;
    padding: 7px 10px;
    background: rgba(0,0,0,.60);
    color: #fff;
    font-size: 12px;
    font-weight: 900;
    backdrop-filter: blur(12px);
}

.vehicle-card-actions {
    display: flex;
    gap: 9px;
    margin-top: 14px;
}

.vehicle-mini-btn {
    flex: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 13px;
    padding: 10px 12px;
    font-size: 13px;
    font-weight: 900;
    border: 1px solid rgba(255,255,255,.12);
    background: rgba(255,255,255,.07);
    color: #fff;
}

.vehicle-mini-btn.gold {
    background: linear-gradient(135deg, var(--gold), var(--orange));
    color: #071225;
    border: 0;
}

body.front-light .hero-premium-stat {
    background: rgba(255,255,255,.55);
    border-color: rgba(120,72,20,.14);
}

body.front-light .hero-premium-stat span {
    color: #475569;
}

body.front-light .vehicle-mini-btn {
    color: #111827;
    background: rgba(255,255,255,.55);
    border-color: rgba(120,72,20,.14);
}

.lightbox-overlay {
    position: fixed;
    inset: 0;
    z-index: 999998;
    display: none;
    align-items: center;
    justify-content: center;
    background: rgba(0,0,0,.92);
    padding: 18px;
}

.lightbox-overlay.active {
    display: flex;
}

.lightbox-inner {
    width: min(1200px, 100%);
    position: relative;
}

.lightbox-img {
    width: 100%;
    max-height: 86dvh;
    object-fit: contain;
    display: block;
    border-radius: 18px;
    background: #000;
}

.lightbox-close,
.lightbox-prev,
.lightbox-next {
    position: absolute;
    z-index: 10;
    border: 0;
    cursor: pointer;
    color: #fff;
    background: rgba(0,0,0,.62);
    backdrop-filter: blur(14px);
    font-weight: 900;
}

.lightbox-close {
    right: 10px;
    top: 10px;
    border-radius: 999px;
    padding: 10px 14px;
}

.lightbox-prev,
.lightbox-next {
    top: 50%;
    transform: translateY(-50%);
    width: 48px;
    height: 48px;
    border-radius: 999px;
    font-size: 24px;
}

.lightbox-prev {
    left: 10px;
}

.lightbox-next {
    right: 10px;
}

.front-alert-success {
    border-radius: 16px;
    padding: 14px 16px;
    background: rgba(34,197,94,.14);
    border: 1px solid rgba(34,197,94,.24);
    color: #86efac;
    font-weight: 900;
}

.mobile-bottom-nav a {
    font-size: 12px;
    font-weight: 900;
    color: #fff;
    opacity: .85;
}

.mobile-bottom-nav a:hover {
    color: var(--gold);
    opacity: 1;
}

@media (max-width: 768px) {
    .hero-premium-strip {
        grid-template-columns: repeat(2, 1fr);
    }

    .hero-premium-stat strong {
        font-size: 20px;
    }
}

/* ==========================================================
   FAZ 5 - PWA ICON / 360 VIEWER / MOBILE SWIPE PREMIUM
   ========================================================== */

.viewer-360-interactive {
    margin-top: 24px;
    border-radius: 28px;
    padding: 18px;
    background: linear-gradient(180deg, rgba(15,23,42,.92), rgba(7,18,37,.92));
    border: 1px solid rgba(255,184,28,.14);
    box-shadow: 0 22px 70px rgba(0,0,0,.28);
}

.viewer-360-main {
    position: relative;
    overflow: hidden;
    border-radius: 22px;
    background: #000;
    cursor: grab;
    user-select: none;
}

.viewer-360-main:active {
    cursor: grabbing;
}

.viewer-360-main img {
    width: 100%;
    aspect-ratio: 16/9;
    object-fit: contain;
    display: block;
    background: #000;
}

.viewer-360-badge {
    position: absolute;
    left: 14px;
    top: 14px;
    border-radius: 999px;
    padding: 8px 12px;
    background: rgba(0,0,0,.60);
    color: #fff;
    backdrop-filter: blur(12px);
    font-size: 12px;
    font-weight: 900;
}

.viewer-360-controls {
    margin-top: 14px;
    display: flex;
    gap: 12px;
    align-items: center;
}

.viewer-360-controls input[type="range"] {
    width: 100%;
    accent-color: #ffb81c;
}

.viewer-360-help {
    color: #94a3b8;
    font-size: 13px;
    margin-top: 8px;
}

.mobile-install-card {
    position: fixed;
    left: 14px;
    right: 14px;
    bottom: 82px;
    z-index: 140;
    display: none;
    border-radius: 22px;
    padding: 14px;
    background: rgba(5, 8, 22, .88);
    color: #fff;
    border: 1px solid rgba(255,184,28,.18);
    backdrop-filter: blur(18px);
    box-shadow: 0 22px 70px rgba(0,0,0,.38);
}

.mobile-install-card.active {
    display: block;
}

.mobile-install-card strong {
    color: #ffb81c;
}

.mobile-install-actions {
    display: flex;
    gap: 8px;
    margin-top: 10px;
}

.mobile-install-actions button,
.mobile-install-actions a {
    border: 0;
    border-radius: 999px;
    padding: 9px 12px;
    font-weight: 900;
    cursor: pointer;
}

.mobile-install-primary {
    background: linear-gradient(135deg, var(--gold), var(--orange));
    color: #071225;
}

.mobile-install-secondary {
    background: rgba(255,255,255,.10);
    color: #fff;
}

.mobile-photo-strip {
    scroll-behavior: smooth;
}

.mobile-photo::after {
    content: '';
    position: absolute;
}

@media (max-width: 640px) {
    .viewer-360-main img {
        aspect-ratio: 9/16;
        object-fit: cover;
    }
}

/* ==========================================================
   FAZ 7 - Performance / Touch
   ========================================================== */

.vehicle-card,
.front-btn,
.mobile-call,
.mobile-whatsapp,
.mobile-features-btn,
.mobile-nav-btn {
    -webkit-tap-highlight-color: transparent;
}

.vehicle-card img,
.gallery-row img,
.detail-media img {
    content-visibility: auto;
}

.mobile-photo-strip {
    overscroll-behavior-x: contain;
}

.mobile-flow {
    overscroll-behavior-y: contain;
}

.mobile-side-dot {
    transition: transform .18s ease, background .18s ease, opacity .18s ease;
}

.mobile-side-dot.active {
    transform: scale(1.35);
    opacity: 1;
}
