﻿/* === RESET & BASE === */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    font-family: 'Segoe UI', -apple-system, BlinkMacSystemFont, sans-serif;
    background: #f5f5f5;
    color: #222;
    line-height: 1.6;
}

/* === HEADER === */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: #000;
    transition: box-shadow 0.3s;
}
.header.scrolled { box-shadow: 0 2px 20px rgba(0,0,0,0.3); }
.header-inner {
    max-width: 1400px;
    margin: 0 auto;
    padding: 12px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.header-logo { height: 45px; }
.header-logo-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
}
.header-brand {
    color: #fff;
    text-decoration: none;
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: 5px;
    text-transform: uppercase;
    transition: opacity 0.3s;
}
.header-brand:hover { opacity: 0.7; }
.header-nav { display: flex; gap: 32px; align-items: center; }
.header-nav a {
    color: #ccc;
    text-decoration: none;
    font-size: 0.95rem;
    letter-spacing: 0.5px;
    transition: color 0.3s;
}
.header-nav a:hover { color: #fff; }
.header-phone {
    color: #fff;
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
    border: 1px solid #444;
    padding: 8px 20px;
    border-radius: 6px;
    transition: all 0.3s;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: none;
    cursor: pointer;
    font-family: inherit;
}
.header-phone:hover, .header-phone.active { background: #fff; color: #000; }
.header-phone:hover svg, .header-phone.active svg { stroke: #000; }

/* === PHONE DROPDOWN === */
.phone-wrap { position: relative; }
.phone-dropdown {
    display: none;
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    background: #111;
    border: 1px solid #333;
    border-radius: 10px;
    min-width: 190px;
    overflow: hidden;
    z-index: 200;
    box-shadow: 0 8px 24px rgba(0,0,0,0.45);
    animation: dropIn 0.18s ease;
}
.phone-dropdown.open { display: block; }
@keyframes dropIn {
    from { opacity: 0; transform: translateY(-6px); }
    to   { opacity: 1; transform: translateY(0); }
}
.phone-option {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 13px 18px;
    color: #fff;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: background 0.2s;
    border-bottom: 1px solid #222;
}
.phone-option:last-child { border-bottom: none; }
.phone-option:hover { background: #1d1d1d; color: #fff; }
.phone-option-wa { color: #25D366; }
.phone-option-wa:hover { color: #25D366; }

/* === HERO === */
.hero {
    margin-top: 65px;
    background: #0a0a0ad4;
    color: #fff;
    padding: 70px 24px 60px;
    text-align: center;
    position: relative;
    overflow: hidden;
    min-height: 400px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}
/* Background image with dark overlay */
.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url('../images/hero-bg.jpg') center center / cover no-repeat;
    opacity: 0.5;
    z-index: 0;
}
.hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0,0,0,0.6) 0%, rgba(0,0,0,0.3) 50%, rgba(0,0,0,0.7) 100%);
    z-index: 0;
}
/* Subtle grid lines on dark */
.hero-grid {
    position: absolute;
    inset: 0;
    z-index: 1;
    background-image:
        linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
    background-size: 60px 60px;
    animation: gridMove 20s linear infinite;
}
@keyframes gridMove {
    0%   { background-position: 0 0; }
    100% { background-position: 60px 60px; }
}
.hero-glow {
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    width: 600px; height: 600px;
    background: radial-gradient(ellipse, rgba(200,160,80,0.08) 0%, rgba(80,120,200,0.04) 40%, transparent 70%);
    pointer-events: none;
}
.hero-content {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
}
/* Logo BAM animation */
.hero-logo-wrap {
    position: relative;
    width: 150px;
    height: 150px;
    margin-bottom: 40px;
    opacity: 0;
    animation: logoBam 0.65s cubic-bezier(0.36, 0.07, 0.19, 0.97) 0.15s forwards;
}
.hero-logo-wrap img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    position: relative;
    z-index: 2;
}
@keyframes logoBam {
    0%   { opacity: 0; transform: scale(0.1) rotate(-10deg); filter: blur(8px); }
    55%  { opacity: 1; transform: scale(1.3) rotate(3deg); filter: blur(0); }
    72%  { transform: scale(0.88) rotate(-1deg); }
    88%  { transform: scale(1.08) rotate(1deg); }
    100% { opacity: 1; transform: scale(1) rotate(0); }
}
.hero-logo-ring {
    position: absolute;
    inset: -10px;
    border-radius: 50%;
    border: 1px solid rgba(255,255,255,0.15);
    animation: rotateSlow 12s linear infinite;
}
.hero-logo-ring::before {
    content: '';
    position: absolute;
    top: -3px; left: 50%;
    transform: translateX(-50%);
    width: 6px; height: 6px;
    background: #fff;
    border-radius: 50%;
    display: none; /* hidden, enable when needed */
}
.hero-logo-ring2 {
    position: absolute;
    inset: -22px;
    border-radius: 50%;
    border: 1px dashed rgba(255,255,255,0.08);
    animation: rotateSlow 20s linear infinite reverse;
}
@keyframes rotateSlow {
    from { transform: rotate(0deg); }
    to   { transform: rotate(360deg); }
}
.hero-tagline {
    font-size: 0.8rem;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: rgba(255,255,255,0.6);
    margin-bottom: 12px;
    opacity: 0;
    animation: fadeUp 0.8s ease 0.35s forwards;
}
.hero-title {
    font-size: 3rem;
    font-weight: 700;
    letter-spacing: 6px;
    margin-bottom: 8px;
    opacity: 0;
    animation: fadeUp 0.8s ease 0.5s forwards;
}
.hero-sub {
    font-size: 1rem;
    color: rgba(255,255,255,0.55);
    max-width: 500px;
    margin: 0 auto 36px;
    opacity: 0;
    animation: fadeUp 0.8s ease 0.5s forwards;
}
.hero-stats {
    display: flex;
    justify-content: center;
    gap: 0;
    opacity: 0;
    animation: fadeUp 0.8s ease 0.65s forwards;
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 12px;
    overflow: hidden;
    background: rgba(255,255,255,0.04);
    backdrop-filter: blur(8px);
}
.hero-stat {
    padding: 18px 40px;
    border-right: 1px solid rgba(255,255,255,0.12);
    text-decoration: none;
    color: inherit;
    cursor: pointer;
    transition: background 0.2s;
    display: block;
}
.hero-stat:hover { background: rgba(255,255,255,0.07); }
.hero-stat:last-child { border-right: none; }
.hero-stat h3 { font-size: 1.8rem; font-weight: 700; }
.hero-stat span { font-size: 0.75rem; color: rgba(255,255,255,0.45); text-transform: uppercase; letter-spacing: 1px; }

@keyframes fadeUp {
    to { opacity: 1; transform: translateY(0); }
}

/* === MAIN LAYOUT === */
.main {
    max-width: 1400px;
    margin: 0 auto;
    padding: 40px 24px;
    display: grid;
    grid-template-columns: 1fr;
    gap: 32px;
    background: #f5f5f5;
}

/* === SIDEBAR FILTERS === */
.sidebar {
    position: sticky;
    top: 104px;
    height: fit-content;
}
.filter-box {
    background: #fff;
    border-radius: 12px;
    padding: 24px;
    box-shadow: 0 1px 8px rgba(0,0,0,0.06);
}
.filter-box h3 {
    font-size: 1.2rem;
    margin-bottom: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.filter-box h3 a {
    font-size: 0.8rem;
    color: #888;
    text-decoration: none;
    cursor: pointer;
}
.filter-box h3 a:hover { color: #000; }
.filter-group { margin-bottom: 20px; }
.filter-group label {
    display: block;
    font-size: 0.85rem;
    color: #666;
    margin-bottom: 6px;
    font-weight: 500;
}
.filter-group select, .filter-group input {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 0.9rem;
    background: #fafafa;
    transition: border-color 0.3s;
    appearance: auto;
}
.filter-group select:focus, .filter-group input:focus {
    border-color: #000;
    outline: none;
}
.filter-row { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.filter-btn {
    width: 100%;
    padding: 12px;
    background: #000;
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 0.95rem;
    cursor: pointer;
    transition: background 0.3s;
    margin-top: 8px;
}
.filter-btn:hover { background: #333; }

/* === CATALOG GRID === */
.catalog-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
}
.catalog-header h2 { font-size: 1.1rem; color: #666; font-weight: 400; }
.catalog-header select {
    padding: 8px 12px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 0.9rem;
    background: #fff;
}
.catalog-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}
@media (max-width: 1200px) {
    .catalog-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 800px) {
    .catalog-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 500px) {
    .catalog-grid { grid-template-columns: 1fr; }
}

/* === CAR CARD === */
.car-card {
    display: flex;
    flex-direction: column;
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 1px 8px rgba(0,0,0,0.06);
    transition: transform 0.3s, box-shadow 0.3s;
    opacity: 0;
    transform: translateY(20px);
}
.car-card.visible {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.5s ease, transform 0.5s ease, box-shadow 0.3s;
}
.car-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.12);
}
.car-image {
    position: relative;
    height: 225px;
    background: linear-gradient(135deg, #e8e8e8, #d0d0d0);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}
.car-image-placeholder {
    font-size: 3rem;
    color: #bbb;
}
.car-image img {
    width: 100%;
    object-fit: cover;
}
.car-image-count {
    position: absolute;
    bottom: 10px;
    left: 10px;
    background: rgba(0,0,0,0.7);
    color: #fff;
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 0.75rem;
}
.car-image-badges {
    position: absolute;
    bottom: 10px;
    left: 10px;
    display: flex;
    align-items: center;
    gap: 6px;
}
.car-image-badges .car-image-count {
    position: static;
}
.car-image-views {
    display: flex; align-items: center; gap: 4px;
    background: rgba(0,0,0,0.7);
    color: #fff;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 0.75rem;
}
.car-favorite {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 36px;
    height: 36px;
    background: rgba(255,255,255,0.9);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    transition: all 0.3s;
}
.car-favorite:hover { background: #000; color: #fff; }
.car-favorite.active { background: #000; color: #e74c3c; }
.car-body { padding: 16px 20px 20px; display: flex; flex-direction: column; flex: 1;}
.car-title {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 6px;
    line-height: 1.3;
}
.car-specs {
    font-size: 0.82rem;
    color: #888;
    margin-bottom: 12px;
}
.car-specs span::after { content: ' • '; }
.car-specs span:last-child::after { content: ''; }
.car-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 14px;
}
.car-badge {
    padding: 3px 10px;
    border-radius: 4px;
    font-size: 0.72rem;
    font-weight: 500;
    border: 1px solid #ddd;
    color: #555;
    background: #fafafa;
}
.car-badge.green { border-color: #4caf50; color: #4caf50; background: #f0faf0; }
.car-price-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-top: auto;
}
.car-price-label { font-size: 0.75rem; color: #999; }
.car-price-was {
    font-size: 0.9rem;
    font-weight: 600;
    color: red;
    text-decoration: line-through;
}
.car-price {
    font-size: 1.35rem;
    font-weight: 700;
    color: #000;
}
.car-view-btn {
    padding: 8px 16px;
    border: 1px solid #000;
    background: transparent;
    color: #000;
    border-radius: 6px;
    font-size: 0.8rem;
    cursor: pointer;
    transition: all 0.3s;
}
.car-view-btn:hover { background: #000; color: #fff; }

/* === ABOUT SECTION === */
.about-section {
    background: #000;
    color: #fff;
    padding: 80px 24px;
}
.about-inner {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}
.about-label {
    font-size: 0.75rem;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: rgba(255,255,255,0.35);
    margin-bottom: 16px;
}
.about-inner h2 {
    font-size: 2.2rem;
    font-weight: 300;
    letter-spacing: 1px;
    margin-bottom: 24px;
    line-height: 1.3;
}
.about-inner p {
    color: rgba(255,255,255,0.6);
    font-size: 1rem;
    line-height: 1.8;
    margin-bottom: 16px;
}
.about-perks {
    margin-top: 32px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}
.about-perk {
    display: flex;
    gap:5px;
}
.about-perk-icon svg {
    width: 22px;
    height: 22px;
    stroke: rgba(255,255,255,0.85);
    flex-shrink: 0;
    display: flex;
    align-items: flex-start;
    gap: 12px;
}
.about-perk-icon {
    font-size: 1.4rem;
    line-height: 1;
    flex-shrink: 0;
    margin-top: 2px;
}
.about-perk-text strong {
    display: block;
    font-size: 0.9rem;
    margin-bottom: 2px;
}
.about-perk-text span {
    font-size: 0.8rem;
    color: rgba(255,255,255,0.4);
}
.about-stats-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2px;
}
.about-stat-block {
    background: #111;
    padding: 30px;
    text-align: center;
}
.about-stat-block:first-child { border-radius: 12px 0 0 0; }
.about-stat-block:nth-child(2) { border-radius: 0 12px 0 0; }
.about-stat-block:nth-child(3) { border-radius: 0 0 0 12px; }
.about-stat-block:last-child { border-radius: 0 0 12px 0; }
.about-stat-block h3 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 6px;
}
.about-stat-block span {
    font-size: 0.78rem;
    color: rgba(255,255,255,0.4);
    text-transform: uppercase;
    letter-spacing: 1px;
}
@media (max-width: 900px) {
    .about-inner { grid-template-columns: 1fr; gap: 40px; }
}

/* === MAP SECTION === */
.map-section {
    background: #0a0a0a;
    padding: 80px 24px;
}
.map-inner {
    max-width: 1100px;
    margin: 0 auto;
}
.map-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 32px;
    flex-wrap: wrap;
    gap: 20px;
}
.map-header-text .map-label {
    font-size: 0.75rem;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: #666;
    margin-bottom: 10px;
}
.map-header-text h2 {
    font-size: 2rem;
    font-weight: 300;
    color: #fff;
}
.navigate-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: #fff;
    color: #000;
    padding: 14px 30px;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    border-radius: 8px;
    transition: all 0.3s;
    white-space: nowrap;
}
.navigate-btn:hover {
    background: #e0e0e0;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255,255,255,0.15);
}
.navigate-btn svg { flex-shrink: 0; }
.map-frame {
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid #1a1a1a;
}
.map-frame iframe { display: block; }
.map-contacts {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2px;
    margin-top: 2px;
}
.map-contact-item {
    background: #111;
    padding: 24px;
    display: flex;
    align-items: center;
    gap: 14px;
}
.map-contact-item:first-child { border-radius: 0 0 0 12px; }
.map-contact-item:last-child { border-radius: 0 0 12px 0; }
.map-contact-icon {
    font-size: 1.4rem;
    flex-shrink: 0;
}
.map-contact-item p { font-size: 0.8rem; color: #666; margin-bottom: 2px; }
.map-contact-item a, .map-contact-item span {
    color: #fff;
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
}
.map-contact-item a:hover { text-decoration: underline; }
@media (max-width: 700px) {
    .map-contacts { grid-template-columns: 1fr; }
    .map-contact-item:first-child { border-radius: 0; }
    .map-contact-item:last-child { border-radius: 0 0 12px 12px; }
    
}

/* === REVIEWS SECTION === */
.reviews-section {
    max-width: 1400px;
    margin: 0 auto;
    background: #f5f5f5;
    padding: 80px 24px 0;
    margin-bottom: 40px;
    color: #222;
    text-align: center;
    overflow: clip;
    display: flex;
    flex-direction: column;
}
.reviews-inner {
    position: relative;
    max-width: 100%;
}
.ti-verified-by{display:none !important;}
.es-background-container {
    overflow-y: clip;
}
.reviews-label {
    font-size: 0.75rem;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: rgba(0,0,0,0.4);
    margin-bottom: 12px;
}
.reviews-inner h2 {
    font-size: 2rem;
    font-weight: 300;
    margin-bottom: 16px;
}
.gr-summary {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-bottom: 36px;
}
.gr-summary-stars { display: flex; gap: 3px; }
.gr-summary-stars .gr-star { width: 20px; height: 20px; }
.gr-summary-score {
    font-size: 1.1rem;
    font-weight: 700;
    color: #222;
    line-height: 1;
}
.gr-summary-count {
    font-size: 0.85rem;
    color: #888;
}
.reviews-widget-wrap {
    padding: 0 20px;
    overflow: clip;
    margin-bottom: 0;
}
.reviews-section-btn {
    max-width: 1400px;
    margin: 0 auto;
    padding-bottom: 80px;
}
.reviews-inner-btn {
    display: flex;
    justify-content: center;
}
.review-btn {
    display: inline-block;
    padding: 14px 36px;
    border: 1px solid #222;
    color: #222;
    text-decoration: none;
    font-size: 0.9rem;
    letter-spacing: 1px;
    border-radius: 8px;
    transition: all 0.3s;
}
.review-btn:hover { background: #000; color: #fff; border-color: #000; }

/* === LOGIN PAGE === */
.login-page {
    min-height: calc(100vh - 65px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 24px;
    background: #f5f6f8;
}
.login-box {
    background: #fff;
    border-radius: 12px;
    padding: 40px 36px;
    width: 100%;
    max-width: 400px;
    box-shadow: 0 4px 24px rgba(0,0,0,0.09);
    text-align: center;
}
.login-logo { height: 60px; object-fit: contain; margin-bottom: 24px; }
.login-title { font-size: 1.3rem; font-weight: 700; margin-bottom: 24px; color: #111; }
.login-error { background: #fff0f0; border: 1px solid #fcc; color: #c00; border-radius: 8px; padding: 10px 14px; font-size: 0.85rem; margin-bottom: 18px; }
.login-field { text-align: left; margin-bottom: 16px; }
.login-field label { display: block; font-size: 0.82rem; font-weight: 600; color: #333; margin-bottom: 6px; }
.login-field input {
    width: 100%; padding: 10px 12px;
    border: 1.5px solid #ddd; border-radius: 8px;
    font-size: 0.95rem; font-family: inherit;
    transition: border-color 0.2s; box-sizing: border-box;
}
.login-field input:focus { outline: none; border-color: #000; }
.login-remember { display: flex; align-items: center; gap: 8px; font-size: 0.82rem; color: #555; cursor: pointer; margin-bottom: 20px; }
.login-submit {
    width: 100%; padding: 12px;
    background: #000; color: #fff;
    border: none; border-radius: 8px;
    font-size: 0.95rem; font-weight: 600;
    cursor: pointer; transition: background 0.2s; font-family: inherit;
}
.login-submit:hover { background: #222; }

/* === VIEW COUNTER === */
.vd-title-actions {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}
.vd-views {
    display: flex; align-items: center; gap: 5px;
    font-size: 0.78rem; color: #999;
    white-space: nowrap;
}
.vd-views svg { color: #bbb; }

/* === FOOTER === */
.footer {
    background: #000;
    color: #fff;
    padding: 60px 24px 30px;
}
.footer-inner {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 40px;
}
.footer-col h4 {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #888;
    margin-bottom: 16px;
}
.footer-col p, .footer-col a {
    color: #ccc;
    font-size: 0.85rem;
    text-decoration: none;
    line-height: 2;
    display: block;
}
.footer-col a:hover { color: #fff; }
.footer-logo { height: 36px; margin-bottom: 16px; }
.footer-bottom {
    max-width: 1400px;
    margin: 40px auto 0;
    padding-top: 24px;
    border-top: 1px solid #222;
    text-align: center;
    color: #666;
    font-size: 0.85rem;
}

/* === MOBILE === */
@media (max-width: 900px) {
    .main { grid-template-columns: 1fr; }
    .hero{margin-top:60px;}
    .hero-title { font-size: 2rem; }
    .hero-stats { flex-direction: row; border: 1px solid rgba(255,255,255,0.1); }
    .hero-stat { border: none; padding: 14px; border-right: 1px solid rgba(255,255,255,0.1); }
    .hero-stat h3 { font-size: 1.3rem; font-weight: 700; }
    .hero-stat:last-child { border-bottom: none; }
    .header-nav { display: none; }
    .header-nav.show {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: #000;
        padding: 16px 24px;
        gap: 20px;
        border-top: 1px solid #222;
        z-index: 999;
    }
    .footer-inner { grid-template-columns: 1fr 1fr; }
    .header-logo{height:35px;}
}
@media (max-width: 600px) {
    .footer-inner { grid-template-columns: 1fr; }
}

@media (max-width: 600px) {
    .footer-inner { grid-template-columns: 1fr; }
}

/* === HAMBURGER (mobile) === */
.hamburger { display: none; background: none; border: none; color: #fff; font-size: 1.5rem; cursor: pointer; }
.header-admin-logout {
    background: none; border: 1px solid rgba(255,255,255,0.2); border-radius: 6px;
    color: rgba(255,255,255,0.6); padding: 6px 8px; cursor: pointer; line-height: 0;
    transition: all 0.2s;
}
.header-admin-logout:hover { border-color: rgba(255,255,255,0.6); color: #fff; }

/* ============================================================
   CATALOG CARD — link wrapper fix
   ============================================================ */
.car-card-link {
    display: flex;
    flex-direction: column;
    text-decoration: none;
    color: inherit;
}
.car-card-link .car-card {
    flex: 1;
}
.car-card-link:hover .car-view-btn {
    background: #000;
    color: #fff;
}
.catalog-empty {
    grid-column: 1 / -1;
    padding: 60px 0;
    text-align: center;
    color: #999;
    font-size: 1rem;
}

/* ============================================================
   VEHICLE DETAIL PAGE
   ============================================================ */

/* Page wrapper */
.vd-page {
    background: #f5f5f5;
    min-height: 100vh;
    padding-top: 70px; /* header height */
}

/* Breadcrumb */
.vd-breadcrumb {
    background: #fff;
    border-bottom: 1px solid #eee;
}
.vd-breadcrumb-inner {
    max-width: 1400px;
    margin: 0 auto;
    padding: 12px 24px;
    font-size: 0.82rem;
    color: #999;
    display: flex;
    gap: 6px;
    align-items: center;
    flex-wrap: wrap;
}
.vd-breadcrumb-inner a { color: #666; text-decoration: none; }
.vd-breadcrumb-inner a:hover { color: #000; }
.vd-breadcrumb-inner span:last-child { color: #333; font-weight: 500; }

/* Main two-column container */
.vd-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 32px 24px 48px;
    display: grid;
    grid-template-columns: 1fr 400px;
    gap: 32px;
    align-items: start;
}

.vd-cta-container {
    display: none;
    position: relative;
    background: #fff;
    border: 1px solid #e8e8e8;
    border-radius: 12px;
    padding: 20px 24px 16px;
}
.vd-cta-container .vd-cta {
    margin-bottom: 0;
}

/* ── Gallery ── */
.vd-gallery {
    min-width: 0;
    width: 100%;
    overflow: hidden;
}

/* ── Main left column ── */
.vd-main {
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 28px;
}

.vd-swiper-main {
    border-radius: 12px;
    overflow: hidden;
    background: #e8e8e8;
    position: relative;
    width: 100%;
    height: 460px; /* explicit height — swiper-bundle sets height:100% which breaks aspect-ratio */
}
@media (max-width: 1000px) { .vd-swiper-main { height: 320px; } }
@media (max-width: 640px)  { .vd-swiper-main { height: 240px; } }
.vd-swiper-main .swiper-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.vd-swiper-main .swiper-slide video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.vd-swiper-main .swiper-slide a { display: block; height: 100%; position: relative; }
.vd-slide-video a::after { content: ''; }
.vd-play-badge {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: rgba(0,0,0,0.55);
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
    transition: background 0.2s;
}
.vd-slide-video a:hover .vd-play-badge { background: rgba(0,0,0,0.75); }
.vd-thumb-play {
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%,-50%);
    width: 28px; height: 28px;
    border-radius: 50%;
    background: rgba(0,0,0,0.55);
    display: flex; align-items: center; justify-content: center;
    pointer-events: none;
}
.vd-no-image {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    color: #bbb;
    font-size: 3rem;
}
.vd-no-image p { font-size: 0.9rem; margin-top: 8px; }
.swiper-photo-count {
    position: absolute;
    bottom: 14px;
    left: 14px;
    background: rgba(0,0,0,0.6);
    color: #fff;
    font-size: 0.8rem;
    padding: 5px 12px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    gap: 6px;
    z-index: 10;
    pointer-events: none;
}
.vd-swiper-main .swiper-button-next,
.vd-swiper-main .swiper-button-prev {
    color: #fff;
    background: rgba(0,0,0,0.4);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    --swiper-navigation-size: 18px;
}
.vd-swiper-main .swiper-button-next:hover,
.vd-swiper-main .swiper-button-prev:hover { background: rgba(0,0,0,0.75); }

/* Thumbnails strip */
.vd-thumbs {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
    margin-top: 8px;
}
.vd-thumb {
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    border: 2px solid transparent;
    aspect-ratio: 4/3;
    transition: border-color 0.2s;
    position: relative;
    display: block;
    text-decoration: none;
}
.vd-thumb img {
    width: 100%;
    object-fit: cover;
    transition: opacity 0.2s;
}
.vd-thumb:hover img, .vd-thumb.active img { opacity: 0.85; }
.vd-thumb.active { border-color: #000; }
.vd-thumb-more { cursor: pointer; }
.vd-thumb-more-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.55);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #fff;
}
.vd-thumb-more-overlay span { font-size: 1.5rem; font-weight: 700; line-height: 1; }
.vd-thumb-more-overlay small { font-size: 0.65rem; letter-spacing: 0.5px; opacity: 0.8; margin-top: 2px; }

/* ── Panel (right column) ── */
.vd-panel {
    background: #fff;
    border-radius: 14px;
    padding: 28px;
    box-shadow: 0 2px 16px rgba(0,0,0,0.07);
    position: sticky;
    top: 90px;
    align-self: start;
}
.vd-title-row {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 14px;
}
.vd-title {
    font-size: 1.3rem;
    font-weight: 700;
    line-height: 1.35;
    margin-bottom: 0;
    color: #111;
    flex: 1;
}
/* Share button & popup */
.vd-share-wrap { position: relative; }
.vd-share-btn {
    display: flex; align-items: center; justify-content: center;
    width: 36px; height: 36px;
    border-radius: 50%;
    border: 1px solid #ddd;
    background: #fff;
    cursor: pointer;
    color: #555;
    transition: all 0.2s;
}
.vd-share-btn:hover { border-color: #999; color: #111; }
.vd-share-popup {
    display: none;
    position: absolute;
    top: 44px;
    right: 0;
    min-width: 190px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
    padding: 8px 0;
    z-index: 100;
}
.vd-share-popup.open { display: block; }
.vd-share-item {
    display: flex; align-items: center; gap: 10px;
    width: 100%; padding: 10px 16px;
    background: none; border: none;
    font-size: 0.9rem; color: #333;
    cursor: pointer; text-decoration: none;
    transition: background 0.15s;
}
.vd-share-item:hover { background: #f5f5f5; }
.vd-share-item svg { flex-shrink: 0; }
.vd-price-row {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
}
.vd-price {
    font-size: 2rem;
    font-weight: 700;
    color: #000;
}
.vd-price-was {
    font-size: 1.2rem;
    font-weight: 500;
    color: #999;
    text-decoration: line-through;
}
.vd-tag {
    font-size: 0.72rem;
    padding: 4px 10px;
    background: #f0faf0;
    border: 1px solid #4caf50;
    color: #4caf50;
    border-radius: 4px;
    font-weight: 500;
}

/* Quick Specs Grid */
.vd-specs-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
    background: #eee;
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 18px;
}
.vd-spec-item {
    background: #fff;
    padding: 12px 14px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 3px;
}
.vd-spec-item svg { color: #999; margin-bottom: 2px; }
.vd-spec-item span { font-size: 0.9rem; font-weight: 600; color: #111; }
.vd-spec-item label { font-size: 0.7rem; color: #999; text-transform: uppercase; letter-spacing: 0.5px; }

/* Badges */
.vd-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    margin-bottom: 22px;
}
.vd-badge {
    padding: 4px 12px;
    border-radius: 5px;
    font-size: 0.73rem;
    font-weight: 500;
    border: 1px solid #ddd;
    color: #555;
    background: #fafafa;
}
.vd-badge.green { border-color: #4caf50; color: #4caf50; background: #f0faf0; }

/* CTA Buttons */
.vd-cta { display: flex; flex-direction: column; gap: 10px; margin-bottom: 22px; }
.vd-btn-primary {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 14px;
    background: #000;
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s;
    font-family: inherit;
}
.vd-btn-primary:hover { background: #222; }
.vd-btn-secondary {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 13px;
    background: transparent;
    color: #000;
    border: 1.5px solid #000;
    border-radius: 8px;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    font-family: inherit;
}
.vd-btn-secondary:hover, .vd-btn-secondary.revealed { background: #000; color: #fff; }
.vd-btn-secondary.revealed { cursor: default; }
.vd-btn-secondary a { color: inherit !important; }

/* Phone dropdown */
.vd-phone-wrap { position: relative; width: 100%; }
.vd-phone-popup {
    display: none;
    position: absolute;
    bottom: calc(100% + 8px);
    left: 0; right: 0;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 24px rgba(0,0,0,0.15);
    padding: 6px 0;
    z-index: 100;
}
.vd-phone-popup.open { display: block; }
.vd-phone-option {
    display: flex; align-items: center; gap: 10px;
    padding: 12px 16px;
    font-size: 0.9rem; color: #333;
    text-decoration: none;
    transition: background 0.15s;
    cursor: pointer;
}
.vd-phone-option:hover { background: #f5f5f5; }
.vd-phone-option svg { flex-shrink: 0; }

/* Seller block */
.vd-seller {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    background: #f8f8f8;
    border-radius: 8px;
    border: 1px solid #eee;
    text-decoration: none;
    color: inherit;
    cursor: pointer;
    transition: background 0.15s;
}
.vd-seller:hover { background: #f0f0f0; }
.vd-seller-icon img { height: 26px; width: auto; object-fit: contain; }
.vd-seller-info { flex: 1; }
.vd-seller-info strong { display: block; font-size: 0.9rem; font-weight: 700; }
.vd-seller-info span { font-size: 0.68rem; color: #888; }
.vd-seller-map {
    font-size: 0.78rem;
    color: #555;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 4px;
    white-space: nowrap;
}
.vd-seller-map:hover { color: #000; }

/* ── Accordion Sections ── */
.vd-accordions {
    display: flex;
    flex-direction: column;
    gap: 0;
}
.vd-accordion {
    background: #fff;
    border: 1px solid #e8e8e8;
    border-radius: 0;
    overflow: hidden;
}
.vd-accordion:first-child { border-radius: 12px 12px 0 0; }
.vd-accordion:last-child  { border-radius: 0 0 12px 12px; }
.vd-accordion:only-child  { border-radius: 12px; }
.vd-accordion + .vd-accordion { border-top: none; }

.vd-accordion-toggle {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 18px 24px;
    background: none;
    border: none;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 600;
    text-align: left;
    font-family: inherit;
    color: #111;
    transition: background 0.2s;
}
.vd-accordion-toggle:hover { background: #fafafa; }
.vd-accordion-toggle em { font-weight: 400; color: #999; font-style: normal; font-size: 0.9em; }
.acc-icon { transition: transform 0.3s; flex-shrink: 0; stroke: #999; }
.vd-accordion-toggle.open .acc-icon { transform: rotate(180deg); }

.vd-accordion-body {
    overflow: hidden;
    max-height: 0;
    transition: max-height 0.35s ease;
    border-top: 1px solid #f0f0f0;
}
.vd-accordion-body.collapsed { display: none; }
.vd-accordion-body p {
    padding: 20px 24px;
    font-size: 0.95rem;
    line-height: 1.75;
    color: #444;
}

/* Description standalone section */
.vd-desc-section {
    cursor: pointer;
}
@media (min-width: 768px) {
    .vd-desc-section { cursor: auto; }
}
.vd-desc-heading {
    font-size: 1.15rem;
    font-weight: 700;
    color: #111;
    margin: 0 0 12px;
    padding: 0;
}
.vd-desc-wrap {
    position: relative;
    overflow: hidden;
    max-height: 185px;
    transition: max-height 0.4s ease;
    background: #fff;
    border: 1px solid #e8e8e8;
    border-radius: 12px;
}
.vd-desc-wrap.expanded { max-height: none; overflow: visible; }
.vd-desc-text {
    padding: 20px 24px 16px;
    font-size: 0.95rem;
    line-height: 1.75;
    color: #444;
}
.vd-desc-fade {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 80px;
    background: linear-gradient(to bottom, transparent, #fff);
    pointer-events: none;
    border-radius: 0 0 12px 12px;
}
.vd-desc-wrap.expanded .vd-desc-fade { display: none; }
.vd-desc-more {
    display: inline-block;
    margin-top: 10px;
    padding: 0;
    background: none;
    border: none;
    color: #111;
    font-size: 0.9rem;
    font-weight: 700;
    cursor: pointer;
    letter-spacing: 0.01em;
}
.vd-desc-more:hover { text-decoration: underline; }

/* ── Greenlight History Check ── */
.vd-greenlight {
}
.vd-greenlight-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 24px;
    background: #f0faf3;
    border: 1px solid #c3e6cb;
    border-bottom: none;
    border-radius: 12px 12px 0 0;
}
.vd-greenlight-info {
    display: flex;
    align-items: center;
    gap: 12px;
}
.vd-greenlight-badge {
    display: inline-block;
    padding: 4px 12px;
    background: #1C9B40;
    color: #fff;
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}
.vd-greenlight-title {
    font-size: 1.05rem;
    font-weight: 700;
    color: #111;
    margin: 0;
}
.vd-greenlight-sub {
    font-size: 0.82rem;
    color: #666;
    margin: 2px 0 0;
}
.vd-greenlight-icon { flex-shrink: 0; }
.vd-greenlight-list {
    list-style: none;
    margin: 0;
    padding: 16px 24px;
    background: #f0faf3;
    border: 1px solid #c3e6cb;
    border-top: 1px solid #e0f0e4;
    border-radius: 0 0 12px 12px;
}
.vd-greenlight-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 0;
    font-size: 0.92rem;
    color: #222;
    border-bottom: 1px solid #e0f0e4;
}
.vd-greenlight-list li:last-child { border-bottom: none; }
.vd-greenlight-list li svg { flex-shrink: 0; }

/* Spec grid — 3 columns inside accordions */
.vd-spec-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
    background: #fff;
    border-top: 1px solid #ebebeb;
}
@media (max-width: 800px) { .vd-spec-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .vd-spec-grid { grid-template-columns: 1fr 1fr; } }
.vd-spec-cell {
    display: flex;
    flex-direction: column;
    gap: 3px;
    padding: 12px 25px;
    background: #fff;
    border-bottom: 1px solid #ebebeb;
    border-right: 1px solid #ebebeb;
}
.vd-spec-cell:nth-child(3n) { border-right: none; }
@media (max-width: 800px) {
    .vd-spec-cell:nth-child(3n) { border-right: 1px solid #ebebeb; }
    .vd-spec-cell:nth-child(2n) { border-right: none; }
}
.vd-sc-label {
    font-size: 0.72rem;
    color: #aaa;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}
.vd-sc-value {
    font-size: 0.92rem;
    color: #111;
    font-weight: 600;
}

/* Features list */
.vd-features-list {
    list-style: none;
    padding: 12px 24px 20px;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 8px 16px;
}
.vd-features-list li {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.88rem;
    color: #333;
}
.vd-features-list li svg { stroke: #4caf50; flex-shrink: 0; }

/* ============================================================
   ENQUIRY MODAL
   ============================================================ */
.enq-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.55);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s;
}
.enq-overlay.open { opacity: 1; pointer-events: all; }
.enq-modal {
    background: #fff;
    border-radius: 14px;
    width: 100%;
    max-width: 550px;
    padding: 28px 32px 32px;
    position: relative;
    transform: translateY(20px);
    transition: transform 0.25s;
    max-height: 90vh;
    overflow-y: auto;
}
.enq-overlay.open .enq-modal { transform: translateY(0); }
.enq-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 4px;
}
.enq-header h2 { font-size: 1.3rem; font-weight: 700; }
.enq-close {
    background: none;
    border: none;
    font-size: 1.6rem;
    cursor: pointer;
    color: #999;
    line-height: 1;
    padding: 0 4px;
    transition: color 0.2s;
}
.enq-close:hover { color: #000; }
.enq-sub { font-size: 0.82rem; color: #888; margin-bottom: 22px; }
.enq-field { margin-bottom: 16px; }
.enq-field label {
    display: block;
    font-size: 0.82rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 6px;
}
.enq-optional { font-weight: 400; color: #aaa; }
.enq-field input, .enq-field textarea {
    width: 100%;
    padding: 11px 14px;
    border: 1.5px solid #ddd;
    border-radius: 8px;
    font-size: 0.9rem;
    font-family: inherit;
    transition: border-color 0.25s;
    background: #fafafa;
    resize: vertical;
}
.enq-field input:focus, .enq-field textarea:focus {
    outline: none;
    border-color: #000;
    background: #fff;
}
.enq-interests-label { font-size: 0.85rem; font-weight: 600; color: #333; margin-bottom: 10px; display: block; }
.enq-interests { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.enq-check {
    display: flex !important; align-items: center; gap: 8px; cursor: pointer;
    font-size: 0.82rem; color: #444; padding: 8px 10px; line-height: 1.3;
    border: 1px solid #eee; border-radius: 8px; transition: all 0.15s;
}
.enq-check input[type="checkbox"] {
    width: 16px; height: 16px; border: 1px solid #eee; accent-color: #000; cursor: pointer; flex-shrink: 0;
}
.enq-check input[type="checkbox"]:checked { background: #000; border-color: #000;}
.enq-check input[type="checkbox"]:checked + span { color: #000; font-weight: 500; }
.enq-check:hover input[type="checkbox"] { border-color: #ccc; background: #fafafa; }
#enquiryForm .enq-check input[type="checkbox"] { display: none; }
.enq-check .checkmark {
    display: inline-block;
    width: 17px;
    height: 17px;
    border: 1px solid #ccc;
    border-radius: 2px;
    background-color: #fafafa;
    vertical-align: middle;
    position: relative;
    transition: all 0.15s;
    flex-shrink: 0;
}
.enq-check:hover .checkmark { border-color: #000; background: #fafafa; }
.enq-check input[type="checkbox"]:checked + .checkmark {
    background-color: #000;
    border-color: #000;
}
.enq-check input[type="checkbox"]:checked + .checkmark::after {
    content: '';
    position: absolute;
    left: 5px;
    top: 1px;
    width: 5px;
    height: 10px;
    border: solid #fff;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}
@media (max-width: 1199px) {
    .enq-check .checkmark {
        border-color: #ccc;
    }
}
.enq-privacy {
    font-size: 0.77rem;
    color: #999;
    margin-bottom: 18px;
    line-height: 1.5;
}
.enq-actions { display: flex; gap: 12px; }
.enq-cancel {
    flex: 1;
    padding: 12px;
    background: none;
    border: 1.5px solid #ddd;
    border-radius: 8px;
    font-size: 0.9rem;
    cursor: pointer;
    font-family: inherit;
    transition: all 0.2s;
}
.enq-cancel:hover { border-color: #000; }
.enq-send {
    flex: 2;
    padding: 12px;
    background: #000;
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    font-family: inherit;
    transition: background 0.2s;
}
.enq-send:hover { background: #222; }
.enq-send:disabled { opacity: 0.6; cursor: default; }

/* Success state */
.enq-success {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 20px 0 10px;
    gap: 12px;
}
.enq-success h3 { font-size: 1.2rem; font-weight: 700; }
.enq-success p  { font-size: 0.9rem; color: #666; }

/* Mobile detail page */
@media (max-width: 700px) {
    .vd-specs-grid { grid-template-columns: repeat(2, 1fr); }
    .vd-spec-row { grid-template-columns: 130px 1fr; }
    .vd-breadcrumb-inner { font-size: 0.76rem; }
    .vd-page{padding-top: 65px;}
}
@media (max-width: 500px) {
    .vd-thumbs { grid-template-columns: repeat(4, 1fr); }
    .vd-panel { padding: 20px; }
    .enq-modal { padding: 22px 20px; }
}

/* ── Related Vehicles ── */
.vd-related {
    background: #f7f7f7;
    padding: 56px 0;
    margin-top: 48px;
}
.vd-related-inner {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 24px;
}
.vd-related-title {
    font-size: 1.6rem;
    font-weight: 700;
    color: #1a1a2e;
    margin-bottom: 28px;
}

/* ── GLightbox thumbnail strip ── */
/* Lightbox thumbnail bar (arrows + scrollable strip) */
.gl-thumbs-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: 72px;
    display: flex;
    align-items: center;
    background: rgba(0, 0, 0, 0.85);
    z-index: 9999;
    pointer-events: all;
}
.gl-thumbs-arrow {
    flex-shrink: 0;
    width: 36px;
    height: 72px;
    background: none;
    border: none;
    cursor: pointer;
    color: rgba(255,255,255,0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.15s, background 0.15s;
    z-index: 1;
}
.gl-thumbs-arrow:hover { color: #fff; background: rgba(255,255,255,0.08); }
.gl-thumbs {
    flex: 1;
    height: 100%;
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 8px 4px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    touch-action: pan-x;
    scrollbar-width: none;
    pointer-events: all;
}
.gl-thumbs::-webkit-scrollbar { display: none; }
.gl-thumb-item {
    height: 52px;
    width: auto;
    aspect-ratio: 4/3;
    object-fit: cover;
    border-radius: 4px;
    cursor: pointer;
    border: 2px solid transparent;
    transition: border-color 0.15s, opacity 0.15s;
    flex-shrink: 0;
    opacity: 0.55;
}
.gl-thumb-item:hover { opacity: 0.85; }
.gl-thumb-item.active { border-color: #e74c3c; opacity: 1; }
.gl-thumb-video {
    display: flex;
    align-items: center;
    justify-content: center;
    background: #333;
    height: 52px;
    width: auto;
    aspect-ratio: 4/3;
    border-radius: 4px;
    cursor: pointer;
    border: 2px solid transparent;
    flex-shrink: 0;
    opacity: 0.55;
    transition: border-color 0.15s, opacity 0.15s;
}
.gl-thumb-video:hover { opacity: 0.85; }
.gl-thumb-video.active { border-color: #e74c3c; opacity: 1; }
/* Push lightbox content up so thumbs bar doesn't overlap the image */
.glightbox-open .gslider { padding-bottom: 80px; }

@media (max-width: 900px) { 
    .hamburger { display: block; }
    .vd-container { 
        grid-template-columns: 1fr; 
        grid-template-areas:
        "vd-panel"
        "vd-main";
    }
    .vd-panel { position: static !important;  grid-area: vd-panel; }
    .vd-main { grid-area: vd-main; }
    .vd-related { margin-top: 0; padding-top: 0;}
    .vd-cta-container {
        display: block;
    }
}

/* ══════════════════════════════════════════
   HOME — Filter Bar
   ══════════════════════════════════════════ */
.home-filter-bar {
    margin-bottom: 28px;
}
.home-filter-fields {
    display: flex;
    gap: 12px;
    align-items: flex-end;
    flex-wrap: wrap;
}
.home-filter-price-row {
    display: flex;
    flex: 2;
    gap: 12px;
    align-items: flex-end;
}
.home-filter-price-row .home-filter-field {
    flex: 1;
    min-width: 0;
}
.home-filter-price-row .home-filter-field input {
    width: 100%;
    box-sizing: border-box;
}
.home-filter-field {
    display: flex;
    flex-direction: column;
    gap: 4px;
    flex: 1;
    min-width: 140px;
}
.home-filter-field label {
    font-size: 0.72rem;
    font-weight: 600;
    color: #888;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}
.home-filter-field input,
.home-filter-field select {
    padding: 10px 12px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 0.88rem;
    background: #fff;
    transition: border-color 0.15s;
    appearance: auto;
}
.home-filter-field input:focus,
.home-filter-field select:focus {
    border-color: #222;
    outline: none;
}
.home-filter-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 10px 24px;
    background: #111;
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 0.88rem;
    font-weight: 600;
    cursor: pointer;
    white-space: nowrap;
    transition: background 0.15s;
}
.home-filter-btn:hover { background: #333; }

/* ── View All Button ── */
.catalog-view-all {
    text-align: center;
    padding: 32px 0 8px;
}
.catalog-view-all-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 14px 36px;
    background: #111;
    color: #fff;
    border-radius: 8px;
    font-size: 0.95rem;
    font-weight: 600;
    text-decoration: none;
    transition: background 0.15s;
}
.catalog-view-all-btn:hover { background: #333; }

/* ══════════════════════════════════════════
   CARS PAGE — Layout
   ══════════════════════════════════════════ */
.cars-page {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 32px;
    max-width: 1320px;
    margin: 0 auto;
    padding: 24px 24px 60px;
}

/* ── Sidebar ── */
.cars-sidebar {
    position: sticky;
    top: 80px;
    align-self: start;
}
.cars-filter-form {
    background: #000;
    color: #fff;
    border-radius: 12px;
    padding: 24px;
}
.cars-filter-title {
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 20px;
}
.cars-filter-group {
    margin-bottom: 18px;
}
.cars-filter-group > label {
    display: block;
    font-size: 0.72rem;
    font-weight: 600;
    color: #aaa;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    margin-bottom: 8px;
}
.cars-filter-price-row {
    display: flex;
    align-items: center;
    gap: 8px;
}
.cars-filter-dash { color: #666; }
.cars-filter-price-row input,
.cars-filter-group select {
    width: 100%;
    padding: 9px 10px;
    border: 1px solid #444;
    border-radius: 6px;
    background: #2a2a2a;
    color: #fff;
    font-size: 0.85rem;
}
.cars-filter-price-row input:focus,
.cars-filter-group select:focus {
    border-color: #888;
    outline: none;
}
.cars-filter-group select {
    appearance: none;
    -webkit-appearance: none;
    padding-right: 32px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23aaa' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 10px center;
}
.cars-filter-btn {
    width: 100%;
    padding: 11px;
    background: #fff;
    color: #111;
    border: none;
    border-radius: 8px;
    font-size: 0.88rem;
    font-weight: 700;
    cursor: pointer;
    margin-top: 6px;
    transition: background 0.15s;
}
.cars-filter-btn:hover { background: #e8e8e8; }
.cars-filter-reset {
    display: block;
    text-align: center;
    margin-top: 12px;
    font-size: 0.78rem;
    color: #aaa;
    text-decoration: underline;
}
.cars-filter-reset:hover { color: #fff; }

/* ── Content ── */
.cars-content {
    min-width: 0;
}
.cars-toolbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    flex-wrap: wrap;
    gap: 12px;
}
.cars-count {
    font-size: 0.95rem;
    font-weight: 600;
    color: #333;
}
.cars-sort {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.85rem;
    color: #666;
}
.cars-sort select {
    padding: 6px 10px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 0.84rem;
    background: #fff;
    cursor: pointer;
}

/* ── Grid ── */
.cars-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

/* ── Pagination ── */
.cars-pagination {
    margin-top: 32px;
    display: flex;
    justify-content: center;
}
.cars-pagination nav {
    display: flex;
    gap: 4px;
    align-items: center;
}
.cars-pagination nav > div:first-child {
    display: none;
}
.cars-pagination nav > div:last-child {
    display: flex;
    gap: 4px;
}
.cars-pagination a,
.cars-pagination span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 36px;
    height: 36px;
    padding: 0 8px;
    border-radius: 6px;
    font-size: 0.85rem;
    text-decoration: none;
    color: #333;
    background: #f5f5f5;
    transition: all 0.15s;
}
.cars-pagination a:hover { background: #e0e0e0; }
.cars-pagination span[aria-current="page"] {
    background: #111;
    color: #fff;
    font-weight: 700;
}
.cars-pagination span[aria-disabled="true"] {
    color: #ccc;
    background: #fafafa;
}

/* ── Cars Page Responsive ── */
@media (max-width: 1024px) {
    .cars-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (max-width: 768px) {
    .cars-page {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 0 16px 40px;
    }
    .cars-sidebar {
        position: relative;
        top: auto;
    }
    .cars-filter-form {
        border-radius: 10px;
    }
    .cars-filter-price-row {
        flex-direction: row;
    }
    .cars-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 14px;
    }
}
@media (max-width: 480px) {
    .cars-grid {
        grid-template-columns: 1fr;
    }
    .home-filter-fields {
        flex-direction: column;
    }
    .home-filter-price-row {
        flex: none;
        width: 100%;
    }
    .home-filter-field {
        min-width: 100%;
    }
    .home-filter-btn {
        width: 60%;
        align-self: center;
        margin: 0 auto;
        justify-content: center;
    }
}

/* === GOOGLE REVIEWS CARDS === */
.reviews-widget-wrap { position: relative; overflow: hidden; padding: 0; }
.gr-carousel-track {
    display: flex;
    gap: 20px;
    transition: transform 0.4s ease;
    will-change: transform;
    align-items: stretch;
}
.gr-card {
    flex: 0 0 320px;
    background: #fff;
    border-radius: 14px;
    padding: 24px;
    text-align: left;
    box-shadow: 0 2px 12px rgba(0,0,0,0.07);
    display: flex;
    flex-direction: column;
    gap: 12px;
    box-sizing: border-box;
    max-height:250px;
}
.gr-card-top {
    display: flex;
    align-items: center;
    gap: 12px;
}
.gr-avatar-wrap { flex-shrink: 0; }
.gr-avatar,
.gr-avatar-fallback {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    object-fit: cover;
}
.gr-avatar-fallback {
    background: #4285f4;
    color: #fff;
    font-weight: 700;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    justify-content: center;
}
.gr-author-info { flex: 1; min-width: 0; }
.gr-author-name {
    font-weight: 600;
    font-size: 0.9rem;
    color: #111;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.gr-meta {
    font-size: 0.75rem;
    color: #888;
    display: flex;
    align-items: center;
    gap: 4px;
    margin-top: 2px;
}
.gr-guide { color: #4285f4; font-size: 0.72rem; }
.gr-dot { color: #ccc; }
.gr-google-logo { flex-shrink: 0; margin-left: auto; opacity: 0.8; }
.gr-stars { display: flex; gap: 2px; }
.gr-star { width: 16px; height: 16px; }
.gr-star--filled { fill: #fbbc04; }
.gr-star--empty  { fill: #ddd; }
.gr-snippet {
    font-size: 0.85rem;
    line-height: 1.55;
    color: #333;
    display: -webkit-box;
    -webkit-line-clamp: 5;
    -webkit-box-orient: vertical;
    overflow: hidden;
    flex: 1;
    margin: 0;
}
.gr-response {
    background: #f7f8fa;
    border-radius: 8px;
    padding: 10px 14px;
    margin-top: 4px;
}
.gr-response-label {
    font-size: 0.72rem;
    font-weight: 600;
    color: #555;
    margin-bottom: 4px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.gr-response-text {
    font-size: 0.8rem;
    color: #555;
    line-height: 1.45;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin: 0;
}
.gr-nav {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 24px;
    margin-bottom: 8px;
}
.gr-nav-btn {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1.5px solid #ccc;
    background: #fff;
    font-size: 1.2rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
    color: #333;
}
.gr-nav-btn:hover { background: #111; color: #fff; border-color: #111; }
.gr-nav-btn:disabled { opacity: 0.3; cursor: default; }
.gr-empty { color: #999; font-size: 0.9rem; padding: 40px 0; }