@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&family=Playfair+Display:ital,wght@1,600&display=swap');

/* ─── DESIGN TOKENS ──────────────────────────────────────────────────────── */
:root {
    --bg-primary: #FFFFFF;
    --bg-secondary: #F4F6F9;
    --bg-dark: #111827;

    --text-primary: #0D1117;
    --text-light: #374151;
    --text-secondary: #6B7280;

    --accent: #1d4ed8;
    --accent-hover: #1e40af;
    --accent-green: #16A34A;
    --accent-glow: rgba(29, 78, 216, 0.15);

    --border: rgba(17, 24, 39, 0.09);
    --border-light: rgba(17, 24, 39, 0.05);
    
    --radius: 12px;
    --radius-sm: 8px;
    --radius-lg: 20px;
    --radius-full: 9999px;

    --shadow-sm: 0 4px 12px rgba(0,0,0,0.05);
    --shadow: 0 10px 24px rgba(0,0,0,0.08);
    --shadow-lg: 0 20px 40px rgba(0,0,0,0.12);
    --shadow-xl: 0 30px 60px rgba(0,0,0,0.15);

    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Outfit', sans-serif;
    --transition: all 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
}

/* ─── RESET ──────────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg-secondary); }
::-webkit-scrollbar-thumb { background: #D1D5DB; border-radius: 10px; }
::-webkit-scrollbar-thumb:hover { background: var(--accent); }

body {
    background-color: #F8FAFC;
    background-image: 
        radial-gradient(circle at 10% 20%, rgba(99, 102, 241, 0.05), transparent 40%),
        radial-gradient(circle at 90% 80%, rgba(45, 212, 191, 0.05), transparent 45%),
        radial-gradient(circle at 50% 50%, rgba(244, 63, 94, 0.02), transparent 35%);
    background-attachment: fixed;
    color: var(--text-primary);
    font-family: var(--font-body);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    position: relative;
    min-height: 100vh;
    overflow-x: hidden;
}

/* ─── LIQUID GLASS AMBIENT BACKDROP SPHERES ─── */
body::before,
body::after {
    content: '';
    position: fixed;
    width: 65vw;
    height: 65vw;
    min-width: 500px;
    min-height: 500px;
    border-radius: 50%;
    filter: blur(130px);
    z-index: -2;
    opacity: 0.32;
    pointer-events: none;
}

body::before {
    background: radial-gradient(circle, rgba(99, 102, 241, 0.4) 0%, rgba(168, 85, 247, 0.08) 50%, rgba(255, 255, 255, 0) 70%);
    top: -15%;
    left: -10%;
    animation: float-aurora-1 22s infinite alternate ease-in-out;
}

body::after {
    background: radial-gradient(circle, rgba(45, 212, 191, 0.35) 0%, rgba(59, 130, 246, 0.12) 50%, rgba(255, 255, 255, 0) 70%);
    bottom: -15%;
    right: -10%;
    animation: float-aurora-2 26s infinite alternate ease-in-out;
}

@keyframes float-aurora-1 {
    0% { transform: translate(0, 0) scale(1) rotate(0deg); }
    50% { transform: translate(8%, 12%) scale(1.15) rotate(120deg); }
    100% { transform: translate(-5%, 6%) scale(0.9) rotate(240deg); }
}

@keyframes float-aurora-2 {
    0% { transform: translate(0, 0) scale(1) rotate(0deg); }
    50% { transform: translate(-8%, -12%) scale(0.85) rotate(-120deg); }
    100% { transform: translate(5%, -4%) scale(1.1) rotate(-240deg); }
}

h1,h2,h3,h4,h5,h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    letter-spacing: -0.02em;
    color: var(--text-primary);
}

a { color: inherit; text-decoration: none; transition: var(--transition); display: inline-block; }
.container { max-width: 1400px; margin: 0 auto; padding: 0 5%; }

/* ─── GLASSMORPHISM UTILITIES ────────────────────────────────────────────── */
.glass-panel {
    background: rgba(255, 255, 255, 0.42) !important;
    backdrop-filter: blur(30px) saturate(210%) !important;
    -webkit-backdrop-filter: blur(30px) saturate(210%) !important;
    border: 1px solid rgba(255, 255, 255, 0.55) !important;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.04), inset 0 1.5px 0 rgba(255, 255, 255, 0.75), inset 0 -1px 0 rgba(255, 255, 255, 0.2) !important;
    border-radius: var(--radius-lg);
    position: relative;
    overflow: hidden;
    transition: var(--transition);
}
.glass-panel:hover {
    background: rgba(255, 255, 255, 0.52) !important;
    border: 1px solid rgba(255, 255, 255, 0.7) !important;
    box-shadow: 0 35px 70px rgba(29, 78, 216, 0.06), inset 0 2px 0 rgba(255, 255, 255, 0.85), inset 0 -1px 0 rgba(255, 255, 255, 0.2) !important;
    transform: translateY(-4px);
}

/* ─── HEADER ─────────────────────────────────────────────────────────────── */
.main-header {
    background: rgba(255, 255, 255, 0.55);
    backdrop-filter: blur(30px) saturate(200%);
    -webkit-backdrop-filter: blur(30px) saturate(200%);
    border: 1px solid rgba(255, 255, 255, 0.6);
    position: fixed;
    width: calc(100% - 40px);
    max-width: 1400px;
    top: 15px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1000;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.03), inset 0 1px 0 rgba(255, 255, 255, 0.7);
    border-radius: 20px;
    transition: var(--transition);
}

main { padding-top: 115px; }

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.logo-text {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--text-primary);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    display: flex;
    align-items: center;
    gap: 8px;
}
.logo-text span { color: var(--accent); }

.main-nav { display: flex; gap: 2rem; align-items: center; }
.main-nav a {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    font-weight: 600;
    color: var(--text-secondary);
    padding: 6px 0;
    position: relative;
    transition: var(--transition);
}
.main-nav a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent);
    transition: width 0.3s ease;
}
.main-nav a:hover::after,
.main-nav a.active::after { width: 100%; }
.main-nav a:hover, .main-nav a.active { color: var(--accent); }

.main-nav a.nav-classic-link {
    background: rgba(18, 128, 223, 0.08);
    color: var(--accent);
    padding: 7px 14px;
    border-radius: var(--radius-sm);
    font-size: 0.72rem;
    font-weight: 800;
    border: 1px solid rgba(18, 128, 223, 0.2);
    letter-spacing: 0.04em;
}
.main-nav a.nav-classic-link::after { display: none; }
.main-nav a.nav-classic-link:hover { background: var(--accent); color: white; }

.menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-around;
    width: 30px;
    height: 20px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 10001;
}
.menu-toggle span {
    width: 30px; height: 2px;
    background: var(--text-primary);
    border-radius: 10px;
    transition: all 0.3s linear;
    transform-origin: 1px;
}

/* ─── BUTTONS ────────────────────────────────────────────────────────────── */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 13px 28px;
    border: none;
    color: white;
    background: var(--accent);
    cursor: pointer;
    font-family: var(--font-body);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-size: 0.82rem;
    font-weight: 700;
    transition: var(--transition);
    border-radius: var(--radius);
    white-space: nowrap;
}
.btn:hover { background: var(--accent-hover); transform: translateY(-2px); box-shadow: var(--shadow-lg); }

.btn-hero { background: var(--accent); font-size: 0.9rem; padding: 15px 32px; }
.btn-outline { background: transparent; border: 2px solid var(--accent); color: var(--accent); }
.btn-outline:hover { background: var(--accent); color: white; }
.btn-outline-white { background: transparent; border: 2px solid rgba(255,255,255,0.7); color: white; }
.btn-outline-white:hover { background: rgba(255, 255, 255, 0.7); backdrop-filter: blur(16px); border: 1px solid rgba(255, 255, 255, 0.8); color: var(--text-primary); }
.btn-dark { background: var(--text-primary); }
.btn-dark:hover { background: #374151; }
.btn-green { background: var(--accent-green); }
.btn-green:hover { background: #15803d; }

/* ─── HERO ───────────────────────────────────────────────────────────────── */
.hero {
    min-height: 75vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 4rem 5%;
    color: #111827;
    position: relative;
    overflow: hidden;
    background: #ffffff;
}

.hero::before {
    content: '';
    position: absolute;
    inset: -20px;
    background: radial-gradient(circle at 80% 20%, rgba(37, 99, 235, 0.4) 0%, transparent 40%),
                radial-gradient(circle at 20% 80%, rgba(29, 78, 216, 0.3) 0%, transparent 40%),
                radial-gradient(circle at 50% 50%, rgba(96, 165, 250, 0.2) 0%, transparent 50%);
    filter: blur(40px);
    z-index: 0;
}

.hero-bg-overlay, .hero-bg-effect {
    display: none;
}

.hero-content { max-width: 860px; position: relative; z-index: 1; }

.hero-eyebrow {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.25em;
    color: rgba(255,255,255,0.6);
    margin-bottom: 1.5rem;
    display: inline-block;
    padding: 6px 16px;
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: var(--radius-full);
    background: rgba(255,255,255,0.05);
}

.hero h1 {
    font-size: clamp(3rem, 7vw, 5.5rem);
    line-height: 1.05;
    margin-bottom: 1.5rem;
    color: white;
    font-weight: 800;
}
.hero-accent { color: var(--accent); }

.hero p {
    font-size: 1.2rem;
    margin-bottom: 2.5rem;
    color: rgba(255,255,255,0.75);
    max-width: 580px;
    margin-inline: auto;
    line-height: 1.7;
    margin-bottom: 2.5rem;
}

.hero-ctas { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; margin-bottom: 4rem; }

.hero-stats {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    padding: 1.5rem 2rem;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: var(--radius-lg);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    flex-wrap: wrap;
    gap: 0;
}
.hero-stat { text-align: center; padding: 0 2.5rem; }
.hero-stat-num {
    font-size: 2.2rem;
    font-weight: 800;
    color: white;
    display: block;
    line-height: 1.1;
}
.hero-stat span:last-child {
    font-size: 0.75rem;
    color: rgba(255,255,255,0.55);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-weight: 500;
}
.hero-stat-divider {
    width: 1px;
    height: 40px;
    background: rgba(255,255,255,0.15);
}

/* ─── TRUST BAR ──────────────────────────────────────────────────────────── */
.trust-bar {
    background: var(--bg-dark);
    padding: 1.2rem 0;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}
.trust-bar-inner {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 3rem;
    flex-wrap: wrap;
}
.trust-item {
    display: flex;
    align-items: center;
    gap: 8px;
    color: rgba(255,255,255,0.7);
    font-size: 0.82rem;
    font-weight: 500;
    white-space: nowrap;
}
.trust-item span { color: rgba(255,255,255,0.85); }

/* ─── SECTION HEADERS ────────────────────────────────────────────────────── */
.section { padding: 5rem 0; }

.section-header { text-align: center; margin-bottom: 3rem; }
.section-eyebrow {
    font-size: 0.72rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--accent);
    margin-bottom: 1rem;
    display: block;
}
.section-title {
    font-size: clamp(2.2rem, 4vw, 3.5rem);
    margin-bottom: 1.25rem;
    color: var(--text-primary);
}
.section-sub {
    color: var(--text-secondary);
    font-size: 1.05rem;
    max-width: 560px;
    margin: 0 auto;
    line-height: 1.7;
}

/* ─── INVENTORY GRID ─────────────────────────────────────────────────────── */
.inventory-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5rem;
}

.past-lots-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 1.25rem;
}

.car-card {
    background: rgba(255, 255, 255, 0.32);
    backdrop-filter: blur(25px) saturate(200%);
    -webkit-backdrop-filter: blur(25px) saturate(200%);
    border: 1px solid rgba(255, 255, 255, 0.7);
    overflow: hidden;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex;
    flex-direction: column;
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(31, 38, 135, 0.04), inset 0 1.5px 0 rgba(255, 255, 255, 0.75), inset 0 -1px 0 rgba(255, 255, 255, 0.2);
}
.car-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 40px rgba(29, 78, 216, 0.1), inset 0 1.5px 0 rgba(255, 255, 255, 0.85);
    border-color: rgba(29, 78, 216, 0.4);
    background: rgba(255, 255, 255, 0.45);
}

.car-card-bid-panel {
    background: rgba(255, 255, 255, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.6);
    border-radius: 10px;
    padding: 8px 12px;
    margin-bottom: 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.glass-status-badge {
    background: rgba(255, 255, 255, 0.65);
    border: 1px solid rgba(255, 255, 255, 0.8);
    font-size: 0.65rem;
    font-weight: 800;
    padding: 4px 10px;
    border-radius: 30px;
    letter-spacing: 0.05em;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.past-lot-card {
    background: rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(25px) saturate(200%);
    -webkit-backdrop-filter: blur(25px) saturate(200%);
    border: 1px solid rgba(255, 255, 255, 0.7);
    border-radius: 16px;
    padding: 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    position: relative;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(31, 38, 135, 0.04), inset 0 1.5px 0 rgba(255,255,255,0.75), inset 0 -1px 0 rgba(255,255,255,0.2);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    cursor: pointer;
}
.past-lot-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(29, 78, 216, 0.08), inset 0 1.5px 0 rgba(255,255,255,0.85);
    border-color: rgba(29, 78, 216, 0.35);
    background: rgba(255, 255, 255, 0.38);
}
.past-lot-card::before {
    content: '';
    position: absolute;
    top: -20px;
    right: -20px;
    width: 70px;
    height: 70px;
    background: radial-gradient(circle, rgba(29, 78, 216, 0.18) 0%, rgba(29, 78, 216, 0) 70%);
    pointer-events: none;
    border-radius: 50%;
}
.past-lot-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, rgba(29, 78, 216, 0) 0%, rgba(29, 78, 216, 0.6) 50%, rgba(29, 78, 216, 0) 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
}
.past-lot-card:hover::after {
    opacity: 1;
}

/* ─── LIVE BIDDING FEED & LEADERBOARD ────────────────────────────────────── */
.glass-feed-panel {
    background: rgba(255, 255, 255, 0.32);
    backdrop-filter: blur(25px) saturate(200%);
    -webkit-backdrop-filter: blur(25px) saturate(200%);
    border: 1px solid rgba(255, 255, 255, 0.7);
    border-radius: 20px;
    padding: 1.75rem;
    box-shadow: 0 10px 30px rgba(0, 30, 255, 0.02), inset 0 1.5px 0 rgba(255, 255, 255, 0.75), inset 0 -1px 0 rgba(255, 255, 255, 0.2);
    color: var(--text-primary);
}

.glass-feed-item {
    background: rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.45);
    border-radius: 12px;
    padding: 10px 14px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    font-size: 0.88rem;
    margin-bottom: 8px;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
.glass-feed-item:hover {
    background: rgba(255, 255, 255, 0.45);
    border-color: rgba(29, 78, 216, 0.25);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(29, 78, 216, 0.04);
}

.glass-feed-avatar {
    background: rgba(29, 78, 216, 0.08);
    color: var(--accent);
    font-weight: 800;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.78rem;
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.5);
    flex-shrink: 0;
}

.glass-feed-text {
    color: var(--text-light);
    font-size: 0.88rem;
}
.glass-feed-text strong {
    color: var(--text-primary);
}
.glass-feed-text span {
    color: var(--accent);
    font-weight: 700;
}

.glass-feed-amount {
    color: var(--accent-green);
    font-size: 1rem;
    font-weight: 850;
    font-family: 'Outfit';
}

.glass-feed-time {
    font-size: 0.72rem;
    color: var(--text-secondary);
}

.leaderboard-rank-circle {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.95rem;
    font-weight: 900;
    flex-shrink: 0;
}

.leaderboard-card {
    background: rgba(255, 255, 255, 0.22);
    border: 1px solid rgba(255, 255, 255, 0.5);
    padding: 1.25rem;
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 12px;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.01);
}
.leaderboard-card:hover {
    background: rgba(255, 255, 255, 0.45);
    border-color: rgba(29, 78, 216, 0.25);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(29, 78, 216, 0.05);
}

.leaderboard-rank-gold {
    color: #b45309;
    background: linear-gradient(135deg, #fef08a 0%, #fde047 100%);
    border: 1px solid rgba(253, 224, 71, 0.5);
    box-shadow: 0 0 10px rgba(253, 224, 71, 0.4);
}
.leaderboard-rank-silver {
    color: #374151;
    background: linear-gradient(135deg, #f3f4f6 0%, #e5e7eb 100%);
    border: 1px solid rgba(229, 231, 235, 0.5);
    box-shadow: 0 0 10px rgba(229, 231, 235, 0.4);
}
.leaderboard-rank-bronze {
    color: #7c2d12;
    background: linear-gradient(135deg, #ffedd5 0%, #fed7aa 100%);
    border: 1px solid rgba(254, 215, 170, 0.5);
    box-shadow: 0 0 10px rgba(254, 215, 170, 0.4);
}
.leaderboard-rank-other {
    color: var(--text-secondary);
    background: rgba(255, 255, 255, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.6);
}

.glass-vip-club-panel {
    background: rgba(255, 255, 255, 0.35);
    backdrop-filter: blur(25px) saturate(200%);
    -webkit-backdrop-filter: blur(25px) saturate(200%);
    border: 1px solid rgba(255, 255, 255, 0.75);
    border-radius: 20px;
    padding: 2.5rem;
    margin-top: 4rem;
    color: var(--text-primary);
    position: relative;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0, 30, 255, 0.02), inset 0 1.5px 0 rgba(255,255,255,0.7), inset 0 -1px 0 rgba(255,255,255,0.2);
}
.glass-vip-club-panel::before {
    content: '';
    position: absolute;
    top: -50px;
    right: -50px;
    width: 200px;
    height: 200px;
    background: rgba(29, 78, 216, 0.06);
    filter: blur(50px);
    border-radius: 50%;
    pointer-events: none;
}
.glass-vip-club-panel h3, .glass-vip-club-panel h4 {
    color: var(--text-primary);
}
.glass-vip-club-panel p {
    color: var(--text-secondary);
}

@keyframes slideIn {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}




.car-card-img-wrapper {
    height: 250px;
    overflow: hidden;
    position: relative;
    background: var(--bg-secondary);
    transition: box-shadow 0.4s ease;
}
.car-card:hover .car-card-img-wrapper {
    box-shadow: inset 0 0 30px rgba(0, 102, 255, 0.15); /* inner blue glow */
}
.car-card-img-wrapper::after {
    content: '';
    position: absolute;
    inset: 0;
    box-shadow: 0 0 25px rgba(0, 102, 255, 0.4);
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
}
.car-card:hover .car-card-img-wrapper::after {
    opacity: 1; /* outer blue glow */
}

.car-card-img-wrapper img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}
.car-card:hover .car-card-img-wrapper img { transform: scale(1.07); }

.car-card-badge {
    position: absolute;
    top: 14px;
    left: 14px;
    background: var(--accent);
    color: white;
    font-size: 0.62rem;
    padding: 4px 11px;
    border-radius: var(--radius-full);
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.car-card-overlay {
    position: absolute;
    inset: 0;
    background: rgba(18, 128, 223, 0.85);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 700;
    font-size: 0.95rem;
    opacity: 0;
    transition: var(--transition);
}
.car-card:hover .car-card-overlay { opacity: 1; }

.car-card-content { padding: 1.5rem; display: flex; flex-direction: column; flex: 1; }
.car-card-make { font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--text-secondary); font-weight: 700; margin-bottom: 0.4rem; }
.car-card h3 { font-size: 1.2rem; margin-bottom: 0.5rem; font-weight: 700; }
.car-card .price { color: var(--accent); font-size: 1.5rem; font-weight: 800; margin-bottom: 0.75rem; }
.car-card .metrics {
    font-size: 0.82rem;
    color: var(--text-secondary);
    border-top: 1px solid var(--border);
    padding-top: 0.75rem;
    margin-top: auto;
    padding-bottom: 0.5rem;
}

.car-card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 0.5rem;
    font-size: 0.8rem;
}
.car-card-detail { color: var(--text-secondary); }
.car-card-cta { color: var(--accent); font-weight: 700; font-size: 0.82rem; }

/* ─── FILTER BAR ─────────────────────────────────────────────────────────── */
.filter-bar {
    display: flex;
    gap: 2rem;
    align-items: flex-end;
    margin-bottom: 3rem;
    padding: 1.75rem 2rem;
    background: var(--bg-secondary);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
    flex-wrap: wrap;
}
.filter-group { display: flex; flex-direction: column; gap: 0.4rem; }
.filter-label { font-size: 0.72rem; color: var(--text-secondary); text-transform: uppercase; font-weight: 700; letter-spacing: 0.08em; }
.filter-select {
    padding: 10px 14px;
    background: rgba(255, 255, 255, 0.7); backdrop-filter: blur(16px); border: 1px solid rgba(255, 255, 255, 0.8);
    border: 1px solid var(--border);
    outline: none;
    border-radius: var(--radius);
    font-family: var(--font-body);
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-primary);
    min-width: 180px;
    cursor: pointer;
    transition: var(--transition);
}
.filter-select:focus { border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-glow); }

/* ─── CAR DETAILS ────────────────────────────────────────────────────────── */
.car-details-wrapper { display: flex; flex-wrap: wrap; min-height: calc(100vh - 80px); }
.car-details-extra {
    width: 52%;
    padding: 0 2.5rem 2.5rem;
    background: var(--bg-secondary);
    order: 3;
}

.car-details-visual {
    width: 52%;
    position: sticky;
    top: 80px;
    height: calc(100vh - 80px);
    padding: 2.5rem;
    background: var(--bg-secondary);
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    overflow-y: auto;
    scrollbar-width: none; /* Firefox */
}
.car-details-visual::-webkit-scrollbar {
    display: none; /* Safari & Chrome */
}

.main-image-container {
    flex: none;
    height: 480px;
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: rgba(255, 255, 255, 0.7); backdrop-filter: blur(16px); border: 1px solid rgba(255, 255, 255, 0.8);
    box-shadow: var(--shadow);
}
.main-image-slider {
    display: flex;
    width: 100%;
    height: 100%;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}
.main-image-slider::-webkit-scrollbar {
    display: none;
}
.main-image-slide {
    flex: 0 0 100%;
    width: 100%;
    height: 100%;
    scroll-snap-align: start;
    position: relative;
}
.main-image-container .main-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.photo-nav {
    position: absolute;
    bottom: 16px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    gap: 1rem;
    background: rgba(0,0,0,0.55);
    border-radius: var(--radius-full);
    padding: 6px 16px;
    backdrop-filter: blur(8px);
}
.photo-nav-btn {
    background: none;
    border: none;
    color: white;
    font-size: 1rem;
    cursor: pointer;
    padding: 2px 6px;
    transition: var(--transition);
    opacity: 0.8;
}
.photo-nav-btn:hover { opacity: 1; transform: scale(1.1); }
.photo-counter { color: white; font-size: 0.8rem; font-weight: 600; min-width: 50px; text-align: center; }

.photo-gallery-grid {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    padding-bottom: 4px;
    scrollbar-width: thin;
}
.gallery-thumb {
    width: 96px;
    height: 72px;
    flex-shrink: 0;
    object-fit: cover;
    cursor: pointer;
    border-radius: var(--radius-md);
    border: 2px solid transparent;
    transition: all 0.25s ease;
    opacity: 0.7;
}
.gallery-thumb:hover { opacity: 1; border-color: var(--accent); }
.gallery-thumb.active { opacity: 1; border-color: var(--accent); box-shadow: 0 0 0 2px var(--accent-glow); transform: scale(1.03); }

.car-details-info {
    width: 48%;
    padding: 2.5rem 2.5rem;
    background: rgba(255, 255, 255, 0.7); backdrop-filter: blur(16px); border: 1px solid rgba(255, 255, 255, 0.8);
    overflow-y: auto;
    height: calc(100vh - 80px);
    order: 2;
}

.details-breadcrumb {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2.5rem;
}
.breadcrumb-link {
    font-size: 0.78rem;
    text-transform: uppercase;
    color: var(--text-secondary);
    font-weight: 700;
    letter-spacing: 0.06em;
}
.breadcrumb-link:hover { color: var(--accent); }

.badge-tag {
    background: var(--accent);
    color: white;
    padding: 4px 12px;
    border-radius: var(--radius-full);
    font-size: 0.65rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.car-header { margin-bottom: 2.5rem; }
.car-header h2 { font-size: clamp(2rem, 3vw, 2.8rem); line-height: 1.1; margin-bottom: 1rem; }

.details-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}
.details-meta span {
    font-size: 0.82rem;
    color: var(--text-secondary);
    background: var(--bg-secondary);
    padding: 5px 12px;
    border-radius: var(--radius-full);
    font-weight: 500;
}

.details-price {
    font-size: 2.6rem;
    color: var(--accent);
    font-weight: 800;
    letter-spacing: -0.02em;
}

.details-ctas {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
}

.details-section {
    margin-top: 3rem;
    padding-top: 2.5rem;
    border-top: 1px solid var(--border);
}
.details-section-title {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--text-secondary);
    font-weight: 800;
    margin-bottom: 1.5rem;
}
.details-description {
    color: var(--text-light);
    font-size: 0.9rem;
    line-height: 1.85;
    background: var(--bg-secondary);
    padding: 1.5rem;
    border-radius: var(--radius);
}

.specs-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }
.spec-category { }
.spec-cat-title {
    font-size: 0.72rem;
    text-transform: uppercase;
    color: var(--accent);
    font-weight: 800;
    letter-spacing: 0.1em;
    margin-bottom: 0.75rem;
}
.spec-list { list-style: none; }
.spec-list li {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    margin-bottom: 0.5rem;
    font-size: 0.85rem;
    color: var(--text-light);
}
.spec-check { color: var(--accent); font-size: 0.8rem; flex-shrink: 0; margin-top: 1px; }

/* ─── SERVICES ───────────────────────────────────────────────────────────── */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2.5rem;
    margin-top: 3.5rem;
}

.service-card {
    background: #FFFFFF;
    padding: 3rem 2.5rem;
    border-radius: 16px;
    border: 1px solid #F1F5F9;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.service-card:hover {
    transform: translateY(-10px);
    border-color: rgba(29, 78, 216, 0.2);
    box-shadow: 0 20px 40px rgba(29, 78, 216, 0.08);
}

.service-icon-svg {
    width: 56px;
    height: 56px;
    background: rgba(29, 78, 216, 0.05);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 2rem;
    transition: all 0.5s ease;
}

.service-card:hover .service-icon-svg {
    background: #1d4ed8;
    transform: rotateY(180deg);
}

.service-card:hover .service-icon-svg svg {
    stroke: #FFFFFF;
}

.service-icon-svg svg {
    width: 28px;
    height: 28px;
    transition: all 0.5s ease;
}

.service-card h3 {
    font-size: 1.4rem;
    font-weight: 800;
    color: #111827;
    margin-bottom: 1.25rem;
    letter-spacing: -0.02em;
}

.service-card p {
    color: #4B5563;
    line-height: 1.7;
    font-size: 0.98rem;
    margin: 0;
}

/* Q&A Accordion */
.qa-item {
    border: 1px solid var(--border);
    border-radius: var(--radius);
    margin-bottom: 0.75rem;
    cursor: pointer;
    overflow: hidden;
    transition: var(--transition);
}
.qa-item:hover { border-color: var(--accent); }
.qa-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 1.25rem;
    font-weight: 700;
    font-size: 0.85rem;
}
.qa-toggle {
    font-size: 1.4rem;
    color: var(--accent);
    transition: var(--transition);
    line-height: 1;
    font-weight: 300;
}
.qa-item.open .qa-toggle { transform: rotate(45deg); }
.qa-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.3s ease;
    color: var(--text-secondary);
    font-size: 0.85rem;
    line-height: 1.6;
    padding: 0 1.25rem;
}
.qa-item.open .qa-answer { max-height: 200px; padding: 0 1.5rem 1.25rem; }

.financing-teaser {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    margin-top: 2.5rem;
    padding: 1.5rem;
    background: var(--bg-secondary);
    border-radius: var(--radius);
    border: 1px dashed var(--border);
    flex-wrap: wrap;
}

/* ─── SERVICES ───────────────────────────────────────────────────────────── */
.services-section { background: var(--bg-secondary); }
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 2rem;
}
.service-card {
    background: rgba(255, 255, 255, 0.7); backdrop-filter: blur(16px); border: 1px solid rgba(255, 255, 255, 0.8);
    padding: 2.5rem;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
    transition: var(--transition);
}
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: rgba(18,128,223,0.2); }
.service-icon { font-size: 2.2rem; margin-bottom: 1.25rem; }
.service-card h3 { font-size: 1.2rem; margin-bottom: 0.75rem; }
.service-card p { color: var(--text-secondary); font-size: 0.95rem; line-height: 1.7; }

/* ─── PHILOSOPHY BANNER ──────────────────────────────────────────────────── */
.philosophy-banner {
    background: var(--bg-dark);
    padding: 9rem 0;
}
.philosophy-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6rem;
    align-items: center;
}
.philosophy-image-wrap { position: relative; }
.philosophy-img {
    width: 100%;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-xl);
    display: block;
}
.philosophy-badge {
    position: absolute;
    bottom: -20px;
    left: -20px;
    background: var(--bg-dark);
    border: 2px solid var(--accent);
    border-radius: var(--radius-lg);
    padding: 1.25rem 1.75rem;
    text-align: center;
    box-shadow: var(--shadow-lg);
}

/* ─── BRANDS ─────────────────────────────────────────────────────────────── */
.brands-strip {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
}
.brand-pill {
    padding: 10px 22px;
    border: 1px solid var(--border);
    border-radius: var(--radius-full);
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--text-secondary);
    transition: var(--transition);
    cursor: default;
}
.brand-pill:hover { border-color: var(--accent); color: var(--accent); background: var(--accent-glow); }

/* ─── FINANCING PAGE ─────────────────────────────────────────────────────── */
.financing-layout {
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: 3rem;
    align-items: start;
}

.calc-card {
    background: rgba(255, 255, 255, 0.7); backdrop-filter: blur(16px); border: 1px solid rgba(255, 255, 255, 0.8);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 3rem;
    box-shadow: var(--shadow);
}

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; margin-bottom: 1.5rem; }
.form-group { display: flex; flex-direction: column; gap: 0.5rem; }
.form-label { font-size: 0.78rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; color: var(--text-secondary); }
.form-input {
    width: 100%;
    padding: 12px 16px;
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    color: var(--text-primary);
    font-family: var(--font-body);
    font-size: 0.95rem;
    border-radius: var(--radius);
    outline: none;
    transition: var(--transition);
}
.form-input:focus { border-color: var(--accent); background: rgba(255, 255, 255, 0.7); backdrop-filter: blur(16px); border: 1px solid rgba(255, 255, 255, 0.8); box-shadow: 0 0 0 3px var(--accent-glow); }

.loan-results {
    margin-top: 2.5rem;
    background: linear-gradient(135deg, var(--accent), var(--accent-hover));
    border-radius: var(--radius-lg);
    padding: 2.5rem;
    color: white;
}
.loan-result-main { text-align: center; margin-bottom: 2rem; padding-bottom: 2rem; border-bottom: 1px solid rgba(255,255,255,0.2); }
.loan-result-label { font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.12em; opacity: 0.8; margin-bottom: 0.5rem; }
.loan-result-amount { font-size: 3rem; font-weight: 800; letter-spacing: -0.02em; }
.loan-result-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.loan-result-item { text-align: center; background: rgba(255,255,255,0.12); padding: 1rem; border-radius: var(--radius); }
.loan-result-item-label { font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.08em; opacity: 0.75; margin-bottom: 0.35rem; }
.loan-result-item-value { font-size: 1.3rem; font-weight: 800; }

.financing-info { display: flex; flex-direction: column; gap: 1.5rem; }
.financing-info-card {
    background: var(--bg-secondary);
    padding: 1.75rem;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
    transition: var(--transition);
}
.financing-info-card:hover { border-color: rgba(18,128,223,0.2); transform: translateX(4px); }
.financing-info-card h3 { font-size: 1rem; margin-bottom: 0.5rem; }
.financing-info-card p { font-size: 0.88rem; color: var(--text-secondary); line-height: 1.6; }

/* ─── SHIPPING PAGE ──────────────────────────────────────────────────────── */
.shipping-steps {
    display: grid;
    grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr;
    align-items: start;
    gap: 0;
    margin-bottom: 6rem;
}
.step-item { text-align: center; padding: 0 1rem; }
.step-number {
    width: 60px;
    height: 60px;
    background: var(--accent);
    color: white;
    font-size: 1.3rem;
    font-weight: 800;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    box-shadow: 0 8px 24px rgba(18,128,223,0.3);
}
.step-content h3 { font-size: 1.05rem; margin-bottom: 0.6rem; }
.step-content p { font-size: 0.85rem; color: var(--text-secondary); line-height: 1.65; }
.step-connector {
    width: 60px;
    height: 2px;
    background: linear-gradient(90deg, var(--accent), #93C5FD);
    margin-top: 30px;
    flex-shrink: 0;
}

.shipping-coverage {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-bottom: 4rem;
}
.coverage-card {
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 2.5rem;
    text-align: center;
    transition: var(--transition);
}
.coverage-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: rgba(18,128,223,0.2); }
.coverage-icon { font-size: 2.5rem; margin-bottom: 1.25rem; display: block; }
.coverage-card h3 { margin-bottom: 0.75rem; }
.coverage-card p { font-size: 0.9rem; color: var(--text-secondary); line-height: 1.65; margin-bottom: 1.25rem; }
.coverage-tag {
    display: inline-block;
    background: var(--accent-glow);
    color: var(--accent);
    padding: 4px 14px;
    border-radius: var(--radius-full);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* ─── LEGACY PAGE ────────────────────────────────────────────────────────── */
.legacy-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6rem;
    align-items: start;
    margin-bottom: 5rem;
}
.legacy-text p { color: var(--text-secondary); font-size: 1.05rem; line-height: 1.85; margin-bottom: 1.5rem; }
.legacy-text strong { color: var(--text-primary); }
.legacy-quote {
    border-left: 4px solid var(--accent);
    padding: 1.25rem 1.75rem;
    background: var(--bg-secondary);
    border-radius: 0 var(--radius) var(--radius) 0;
    font-style: italic;
    color: var(--text-light);
    margin: 2rem 0;
    font-size: 1.05rem;
    line-height: 1.7;
}
.legacy-values { display: flex; flex-direction: column; gap: 0.75rem; }
.legacy-value {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.95rem;
    color: var(--text-light);
}
.legacy-value span { color: var(--accent); font-weight: 700; }
.legacy-images { position: relative; }
.legacy-img { width: 100%; border-radius: var(--radius-lg); display: block; box-shadow: var(--shadow-lg); }
.legacy-img-top { margin-bottom: 1.5rem; }
.legacy-img-bottom { width: 75%; margin-left: auto; }

.classic-vehicle-cta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
    padding: 2.5rem 3rem;
    background: var(--bg-secondary);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
    flex-wrap: wrap;
}
.classic-vehicle-cta h3 { margin-bottom: 0.4rem; }
.classic-vehicle-cta p { color: var(--text-secondary); font-size: 0.9rem; }

/* ─── FOOTER ──────────────────────────────────────────────────────────────── */
.main-footer {
    background: #0D1117;
    color: white;
    padding: 6rem 0 3rem;
}
.footer-container { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 4rem; }
.footer-container h3, .footer-container h4 { color: white; margin-bottom: 1.5rem; font-weight: 700; }
.footer-links a {
    display: block;
    margin-bottom: 1rem;
    color: #9CA3AF;
    font-size: 0.9rem;
    transition: var(--transition);
}
.footer-links a:hover { color: var(--accent); transform: translateX(4px); }

/* ─── FLOATING ACTIONS ─────────────────────────────────────────────────────── */
.floating-actions {
    position: fixed;
    bottom: 5vh;
    right: 25px;
    display: flex;
    gap: 12px;
    z-index: 9999;
    align-items: flex-end;
}

@media (max-width: 600px) {
    .floating-actions {
        flex-direction: column;
        bottom: 9vh;
        right: 20px;
        gap: 8px;
    }
}

#modal-reviews-list {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.2rem;
}

@media (min-width: 1024px) {
    #modal-reviews-list {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1440px) {
    #modal-reviews-list {
        grid-template-columns: repeat(3, 1fr);
    }
}

.float-btn {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: var(--shadow-lg);
    transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
    cursor: pointer;
    color: white;
    text-decoration: none;
    padding: 0;
}

.float-btn:hover { 
    transform: translateY(-8px) scale(1.05); 
    box-shadow: var(--shadow-xl);
    border-color: rgba(255, 255, 255, 0.5);
}

.float-btn--call { 
    background: linear-gradient(135deg, #16A34A, #15803D);
    width: 70px;
    height: 70px;
    box-shadow: 0 15px 35px rgba(22, 163, 74, 0.4);
}

.float-btn--faq { 
    background: #1d4ed8;
    color: white;
    width: 54px; 
    height: 54px;
    margin-bottom: 28px; 
    border: none;
    box-shadow: 0 8px 25px rgba(29, 78, 216, 0.2);
}

.float-icon { width: 26px; height: 26px; fill: currentColor; }

/* ─── FAQ MODAL (COMPACT GLASS) ───────────────────────────────────────────── */
.faq-body {
    padding: 1.5rem 2rem;
    overflow-y: auto;
    flex: 1;
}

.faq-item {
    margin-bottom: 1.25rem;
    border-bottom: 1px solid rgba(0,0,0,0.05);
    padding-bottom: 1.25rem;
}

.faq-q {
    font-size: 1.1rem;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 0.5rem;
    display: flex;
    gap: 10px;
}
.faq-q::before { content: "•"; color: var(--accent); }

.faq-a {
    font-size: 0.95rem;
    color: #334155;
    line-height: 1.6;
    padding-left: 20px;
}




/* ─── FAQ MODAL (DOCUMENTATION STYLE) ─────────────────────────────────────── */
.faq-modal-content {
    background: rgba(255, 255, 255, 0.7); backdrop-filter: blur(16px); border: 1px solid rgba(255, 255, 255, 0.8);
    max-width: 800px;
    width: 95%;
    max-height: 85vh;
    border-radius: 20px;
    padding: 0;
    position: relative;
    box-shadow: 0 30px 60px rgba(0,0,0,0.4);
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.faq-header {
    background: #F8FAFC;
    padding: 2.5rem;
    border-bottom: 1px solid #E2E8F0;
}

.faq-body {
    padding: 2.5rem;
    overflow-y: auto;
    flex: 1;
}

.faq-item {
    margin-bottom: 2.5rem;
    border-bottom: 1px solid #F1F5F9;
    padding-bottom: 2.5rem;
}

.faq-item:last-child { border-bottom: none; }

.faq-q {
    font-size: 1.25rem;
    font-weight: 800;
    color: #1E293B;
    margin-bottom: 1rem;
    display: flex;
    gap: 12px;
}
.faq-q::before { content: "Q:"; color: var(--accent); }

.faq-a {
    font-size: 1rem;
    color: #475569;
    line-height: 1.7;
    padding-left: 36px;
}
.faq-a p { margin-bottom: 0.75rem; }


/* ─── ANIMATIONS ──────────────────────────────────────────────────────────── */
.fade-up {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.9s cubic-bezier(0.16, 1, 0.3, 1), transform 0.9s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: opacity, transform;
}
.fade-up.visible { opacity: 1; transform: translateY(0); }

@media (prefers-reduced-motion: reduce) { .fade-up { opacity: 1; transform: none; } }

/* ─── SHOWROOM SLIDESHOW ─────────────────────────────────────────────────── */
@keyframes slideFade {
    0%, 25% { opacity: 1; transform: scale(1); }
    33%, 92% { opacity: 0; transform: scale(1.05); }
    100% { opacity: 1; transform: scale(1); }
}

.showroom-slideshow {
    position: relative;
    height: clamp(350px, 50vw, 600px);
    width: 100%;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0,0,0,0.4);
    background: #000;
}

.showroom-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    animation: slideFade 15s infinite;
}

.showroom-slide:nth-child(1) { animation-delay: 0s; }
.showroom-slide:nth-child(2) { animation-delay: 5s; }
.showroom-slide:nth-child(3) { animation-delay: 10s; }

.showroom-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* ─── MOBILE MENU ──────────────────────────────────────────────────────────── */
@media (max-width: 900px) {
    .main-nav { display: none; }
    .menu-toggle { display: flex; }
}

body.mobile-active .menu-toggle span:nth-child(1) { transform: rotate(45deg); }
body.mobile-active .menu-toggle span:nth-child(2) { opacity: 0; transform: translateX(20px); }
body.mobile-active .menu-toggle span:nth-child(3) { transform: rotate(-45deg); }

body.mobile-active .main-nav {
    display: flex !important;
    flex-direction: column;
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100vh;
    background: var(--bg-primary);
    z-index: 10000;
    padding: 8rem 2rem;
    gap: 2.5rem;
    align-items: center;
    justify-content: center;
    animation: menuFadeIn 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}
body.mobile-active .main-nav a {
    font-size: 2rem;
    font-weight: 800;
    color: var(--text-primary);
    text-transform: uppercase;
    letter-spacing: 2px;
}

@keyframes menuFadeIn {
    from { opacity: 0; transform: translateY(-20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ─── RESPONSIVE ──────────────────────────────────────────────────────────── */
@media (max-width: 1200px) {
    .financing-layout { grid-template-columns: 1fr; }
    .financing-info { display: grid; grid-template-columns: 1fr 1fr; }
    .shipping-steps { grid-template-columns: 1fr 1fr; }
    .step-connector { display: none; }
    .philosophy-inner { grid-template-columns: 1fr; gap: 3rem; }
    .legacy-layout { grid-template-columns: 1fr; }
    .legacy-images { display: none; }
}

@media (max-width: 1100px) {
    .car-details-wrapper { flex-direction: column; flex-wrap: wrap; }
    .car-details-visual { width: 100%; height: auto; position: static; order: 1; }
    .car-details-info { width: 100%; padding: 3rem 5%; order: 2; height: auto; overflow-y: visible; }
    .car-details-extra { width: 100%; order: 3; padding: 0 5% 2rem; }
    .specs-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
    .hero { min-height: 80vh; background-attachment: scroll; }
    .hero-stats { gap: 0; flex-wrap: wrap; }
    .hero-stat { padding: 0.75rem 1.5rem; }
    .hero-stat-divider { display: none; }
    .trust-bar-inner { gap: 1.5rem; }
    .section { padding: 6rem 0; }
    .section-title { font-size: 2.2rem; }
    .shipping-coverage { grid-template-columns: 1fr; }
    .footer-container { grid-template-columns: 1fr 1fr; gap: 2.5rem; }
    .financing-info { grid-template-columns: 1fr; }
    .floating-call { bottom: 20px; right: 20px; padding: 12px 20px; font-size: 0.85rem; }
}

@media (max-width: 580px) {
    .hero h1 { font-size: 2.8rem; }
    .footer-container { grid-template-columns: 1fr; }
    .form-row { grid-template-columns: 1fr; }
    .car-details-info { padding: 2rem 4%; }
    .details-ctas { flex-direction: column; }
    .details-secondary-ctas { grid-template-columns: 1fr !important; }
    .specs-grid { grid-template-columns: 1fr; }
}

/* Cleanup */
.mobile-sticky-cta, .floating-cta { display: none !important; }

/* ─── ACTION STRIP (under photo) ───────────────────────────────────────── */
.action-buttons-strip {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    background: transparent;
    margin-top: 1rem;
    padding: 4px;
}
.strip-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 16px;
    flex: 1;
    background: rgba(255, 255, 255, 0.8);
    border: 1px solid rgba(17, 24, 39, 0.08);
    border-radius: 12px;
    cursor: pointer;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    font-family: var(--font-body);
}
.strip-btn:hover {
    background: #ffffff;
    border-color: var(--accent);
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}
.strip-icon {
    font-size: 1.15rem;
    line-height: 1;
    transition: var(--transition);
}
.strip-label {
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-light);
    transition: var(--transition);
}
.strip-btn:hover .strip-label {
    color: var(--accent);
}
@media (max-width: 580px) {
    .strip-label {
        display: none;
    }
    .strip-btn {
        padding: 10px;
    }
}

/* ─── VIN BLOCK ───────────────────────────────────────────────────────────── */
.vin-tags-row {
    display: flex;
    align-items: flex-start;
    gap: 0.55rem;
    flex-wrap: wrap;
    margin-bottom: 1.25rem;
}
.vin-block {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    padding: 0.55rem 1.1rem;
    background: var(--accent);
    border-radius: 8px;
    flex-shrink: 1;
    min-width: 0;
    box-shadow: 0 2px 10px rgba(37,99,235,0.28);
}
.vin-label {
    font-size: 0.6rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    color: rgba(255,255,255,0.55);
    white-space: nowrap;
    flex-shrink: 0;
}
.vin-number {
    font-size: 0.82rem;
    font-weight: 800;
    font-family: 'Courier New', monospace;
    color: white;
    letter-spacing: 0.06em;
    word-break: break-all;
}
.meta-tag {
    display: inline-flex;
    align-items: center;
    gap: 0;
    padding: 0.55rem 1rem;
    border-radius: 8px;
    font-size: 0.8rem;
    font-weight: 800;
    white-space: nowrap;
    flex-shrink: 0;
    line-height: 1;
}
.meta-tag-key {
    font-size: 0.57rem;
    font-weight: 900;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    opacity: 0.55;
    padding-right: 7px;
    margin-right: 7px;
    border-right: 1.5px solid currentColor;
}
.meta-tag--red {
    background: #FEE2E2;
    color: #991B1B;
    border: 1.5px solid #FECACA;
    box-shadow: 0 2px 6px rgba(153,27,27,0.1);
}
.meta-tag--green {
    background: #DCFCE7;
    color: #166534;
    border: 1.5px solid #BBF7D0;
    box-shadow: 0 2px 6px rgba(22,101,52,0.1);
}

/* ─── DEAL INFO BLOCK ────────────────────────────────────────────────────── */
.deal-info-block {
    border: 1px solid var(--border);
    border-left: 4px solid #16A34A;
    border-radius: var(--radius);
    padding: 0.7rem 1.1rem;
    margin-bottom: 1.25rem;
    background: rgba(255, 255, 255, 0.7); backdrop-filter: blur(16px); border: 1px solid rgba(255, 255, 255, 0.8);
    box-shadow: var(--shadow-sm);
}
.deal-label-row {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 0.6rem;
    flex-wrap: wrap;
}
.deal-label {
    font-size: 1rem;
    font-weight: 800;
    letter-spacing: -0.01em;
}
.deal-savings {
    font-size: 0.82rem;
    color: #16A34A;
    font-weight: 600;
    background: rgba(22, 163, 74, 0.08);
    padding: 2px 10px;
    border-radius: var(--radius-full);
}
.deal-finance-row {
    display: flex;
    align-items: baseline;
    gap: 0.5rem;
}
.deal-finance-label {
    font-size: 0.78rem;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    font-weight: 600;
}
.deal-finance-amount {
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--text-primary);
    letter-spacing: -0.02em;
}
.deal-finance-mo {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-secondary);
}

/* ─── ACTION BUTTONS ─────────────────────────────────────────────────────── */
.action-buttons {
    display: flex;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}
.action-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    padding: 0.75rem 1.1rem;
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    cursor: pointer;
    transition: var(--transition);
    font-family: var(--font-body);
    min-width: 72px;
    flex: 1;
}
/* Google Reviews Grid */
.google-reviews-container {
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.google-reviews-grid {
    transition: all 0.3s ease;
}

.g-review-item {
    border-right: 1px solid #e2e8f0;
    border-bottom: 1px solid #e2e8f0;
    transition: background 0.2s ease;
}

.g-review-item:hover {
    background: #fafafa !important;
}

.g-review-item:nth-child(3n) {
    border-right: none;
}

@media (max-width: 992px) {
    .google-reviews-grid {
        grid-template-columns: repeat(2, 1fr) !important;
    }
    .g-review-item:nth-child(3n) {
        border-right: 1px solid #e2e8f0;
    }
    .g-review-item:nth-child(2n) {
        border-right: none;
    }
}

/* Experience Slideshow */
.showroom-slideshow::-webkit-scrollbar {
    display: none;
}
.showroom-slideshow {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

@media (max-width: 640px) {
    .showroom-slideshow-container {
        border-radius: 12px !important;
    }
    .showroom-slide {
        aspect-ratio: 4/3 !important;
    }
    .showroom-slideshow-container button {
        width: 36px !important;
        height: 36px !important;
    }
}

/* Reviews Section Glassmorphism */
.google-reviews-grid {
    background: transparent !important;
    gap: 1.5rem !important;
    padding: 1.5rem 0;
}

.g-review-item {
    background: rgba(255, 255, 255, 0.7) !important;
    backdrop-filter: blur(12px) saturate(180%);
    -webkit-backdrop-filter: blur(12px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.4) !important;
    border-radius: 16px !important;
    box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.07);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.g-review-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 40px 0 rgba(31, 38, 135, 0.12);
}

@media (max-width: 992px) {
    .google-reviews-grid {
        grid-template-columns: 1fr 1fr !important;
    }
}

@media (max-width: 640px) {
    .google-reviews-grid {
        grid-template-columns: 1fr !important;
    }
}

/* Bulletproof Full-Screen Reviews Overlay */
#reviews-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: #fbfcfd;
    z-index: 2000000;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}

#reviews-modal .modal-content {
    position: relative;
    width: 100%;
    min-height: 100%;
    display: flex;
    flex-direction: column;
}

#reviews-modal .modal-header {
    position: sticky;
    top: 0;
    background: rgba(255, 255, 255, 0.7); backdrop-filter: blur(16px); border: 1px solid rgba(255, 255, 255, 0.8);
    padding: 1.5rem 2rem;
    border-bottom: 1px solid #f1f5f9;
    display: flex;
    align-items: center;
    justify-content: space-between;
    z-index: 10;
}

#reviews-modal .modal-body {
    padding: 2rem;
    max-width: 800px;
    margin: 0 auto;
    width: 100%;
}

#reviews-modal .close-btn-large {
    background: #111;
    color: white;
    border: none;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.2s;
}

#reviews-modal .close-btn-large:active {
    transform: scale(0.9);
}
    border-color: var(--accent);
    background: var(--accent-glow);
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}
.action-btn--active {
    border-color: #DC2626;
    background: rgba(220, 38, 38, 0.06);
}
.action-btn-icon {
    font-size: 1.3rem;
    line-height: 1;
    display: block;
}
.action-btn-label {
    font-size: 0.68rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--text-secondary);
    white-space: nowrap;
}
.action-btn:hover .action-btn-label { color: var(--accent); }
.action-btn--active .action-btn-label { color: #DC2626; }

/* ─── COMPACT REVIEWS ────────────────────────────────────────────────────── */
.compact-review-item {
    background: #fff;
    padding: 1.2rem;
    border: 1px solid #f1f1f1;
    transition: all 0.3s ease;
}
.compact-review-item:hover {
    border-color: #ddd;
    background: #fafafa;
}
.review-stars-small {
    color: #FBBF24;
    font-size: 0.8rem;
    margin-bottom: 0.5rem;
}
.review-text-small {
    font-size: 0.85rem;
    color: #444;
    line-height: 1.5;
    margin-bottom: 0.8rem;
    font-style: italic;
}
.review-author-small {
    font-size: 0.75rem;
    font-weight: 700;
    color: #888;
    text-transform: uppercase;
}

/* ─── RESPONSIVE REVIEWS ─────────────────────────────────────────────────── */
@media (max-width: 1024px) {
    .reviews-grid { grid-template-columns: 1fr 1fr; }
    .compact-reviews-grid { grid-template-columns: repeat(2, 1fr) !important; }
}
@media (max-width: 640px) {
    .reviews-grid { grid-template-columns: 1fr; }
    .compact-reviews-grid { grid-template-columns: 1fr !important; }
}

/* ─── CARD DEAL & VIN (in inventory grid) ───────────────────────────────── */
.card-deal-row {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.35rem;
    flex-wrap: wrap;
}
.card-deal-label {
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.02em;
}
.card-deal-savings {
    font-size: 0.7rem;
    color: #16A34A;
    background: rgba(22,163,74,0.1);
    padding: 2px 8px;
    border-radius: var(--radius-full);
    font-weight: 600;
    white-space: nowrap;
}
.card-finance-row {
    font-size: 0.82rem;
    color: var(--text-secondary);
    margin-bottom: 0.75rem;
}
.card-finance-row strong { color: var(--text-primary); }
.card-vin {
    font-size: 0.68rem;
    color: var(--text-secondary);
    font-family: 'Courier New', monospace;
    padding-top: 0.5rem;
    border-top: 1px solid var(--border);
    margin-top: 0.5rem;
    letter-spacing: 0.04em;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* ─── PRINT STYLES ───────────────────────────────────────────────────────── */
@media print {
    .main-header, .floating-call, .action-buttons, .details-ctas, .financing-teaser,
    .photo-gallery-grid, .photo-nav, .main-footer, #close-form-container { display: none !important; }
    .car-details-wrapper { flex-direction: column; }
    .car-details-visual { width: 100%; position: static; height: auto; }
    .car-details-info { width: 100%; padding: 2rem; }
    .main-image { max-height: 50vh; object-fit: contain; }
    body { font-size: 12pt; }
    h2 { font-size: 18pt; }
    .vin-block, .deal-info-block { break-inside: avoid; }
    a[href]::after { content: none; }
}

/* ─── REVIEWS ────────────────────────────────────────────────────────────── */
.reviews-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}
.review-card {
    background: rgba(255, 255, 255, 0.7); backdrop-filter: blur(16px); border: 1px solid rgba(255, 255, 255, 0.8);
    padding: 2rem;
    border-radius: var(--radius);
    border: 1px solid var(--border);
    transition: var(--transition);
}
.review-card:hover { border-color: var(--accent); transform: translateY(-5px); box-shadow: var(--shadow); }
.review-stars { color: #FBBF24; margin-bottom: 1rem; font-size: 1.2rem; }
.review-text { font-style: italic; color: var(--text-primary); margin-bottom: 1.5rem; line-height: 1.6; }
.review-author { font-weight: 700; font-size: 0.9rem; color: var(--text-secondary); }

.google-review { background: #F9FAFB; }
.google-badge {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.75rem;
    font-weight: 700;
    color: #4B5563;
    margin-bottom: 0.75rem;
}

/* ─── TRUST BADGES ───────────────────────────────────────────────────────── */
.trust-badge {
    display: inline-flex;
    align-items: center;
    padding: 4px 12px;
    border-radius: var(--radius-full);
    font-size: 0.72rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}
.trust-badge.verified { background: #DBEAFE; color: #1E40AF; }
.trust-badge.warranty { background: #D1FAE5; color: #065F46; }

/* ─── RESPONSIVE REVIEWS ─────────────────────────────────────────────────── */
@media (max-width: 900px) {
    .reviews-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
    .reviews-grid { grid-template-columns: 1fr; }
    .meta-tag-key { display: none; }
}

/* Mobile Tweak for CTAs */
@media (max-width: 580px) {
    .details-ctas { gap: 10px; }
    .site-finance-btn { order: 2; width: 100%; }
}
/* ─── RIBBONS ────────────────────────────────────────────────────────────── */
.main-image-container { position: relative; overflow: hidden; }
.ribbon-wrapper {
    position: absolute;
    top: 20px;
    right: -35px;
    transform: rotate(45deg);
    z-index: 10;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 150px;
}
.ribbon {
    width: 100%;
    text-align: center;
    color: white;
    font-weight: 800;
    font-size: 0.65rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    padding: 6px 0;
    box-shadow: 0 4px 12px rgba(0,0,0,0.25);
    border: 1px solid rgba(255,255,255,0.1);
}
.ribbon--new {
    background: linear-gradient(135deg, #2563EB, #1D4ED8);
    margin-bottom: 2px;
}
.ribbon--hot {
    background: linear-gradient(135deg, #DC2626, #B91C1C);
    font-size: 0.55rem;
    padding: 4px 0;
}
.ribbon-wrapper--card {
    top: 15px;
    right: -40px;
    width: 130px;
}

/* ─── PRICE STYLING ───────────────────────────────────────────────────────── */
.price-container {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    margin-top: 0.75rem;
}
.price-old {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #9CA3AF;
    font-size: 1rem;
    font-weight: 500;
    letter-spacing: 0.02em;
}
.price-old::before {
    content: "MSRP:";
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    opacity: 0.8;
}
.price-old span {
    text-decoration: line-through;
    text-decoration-thickness: 1.5px;
    color: #6B7280;
}

.car-card-price-row {
    display: flex;
    flex-direction: column;
    gap: 2px;
    margin-bottom: 1rem;
}
.car-card-price-old {
    font-size: 0.82rem;
    color: #9CA3AF;
    display: flex;
    gap: 5px;
    align-items: center;
}
.car-card-price-old::before {
    content: "MSRP:";
    font-size: 0.6rem;
    font-weight: 800;
    text-transform: uppercase;
}
.car-card-price-old span {
    text-decoration: line-through;
    text-decoration-thickness: 1px;
}
.car-card-price {
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--accent);
    letter-spacing: -0.01em;
}

.lot-badge-main {
    background: #1E293B;
    color: white;
    padding: 6px 16px;
    border-radius: var(--radius-full);
    font-size: 0.85rem;
    font-weight: 800;
    letter-spacing: 0.05em;
    box-shadow: var(--shadow);
}
@media (max-width: 600px) {
    .lot-badge-main { width: 100%; text-align: center; }
}


/* ─── STATS COUNTER SECTION ─────────────────────────────────── */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    text-align: center;
}
.stat-counter {
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 2.5rem 1.5rem;
    position: relative;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.stat-counter::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--accent), #60a5fa);
}
.stat-counter:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(37,99,235,0.15);
}
.stat-number {
    font-size: clamp(2.2rem, 4vw, 3.2rem);
    font-weight: 900;
    color: var(--accent);
    letter-spacing: -0.02em;
    line-height: 1;
    margin-bottom: 0.5rem;
    font-variant-numeric: tabular-nums;
    transition: all 0.1s;
}
.stat-label {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.25rem;
}
.stat-sub {
    font-size: 0.8rem;
    color: var(--text-secondary);
}
@media (max-width: 768px) {
    .stats-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
    .stats-grid { grid-template-columns: 1fr; }
}

/* ─── PARTNER LOGOS ─────────────────────────────────────────── */
.dealer-license-badge {
    margin-bottom: 3rem;
}
.dealer-license-inner {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    background: linear-gradient(135deg, #EFF6FF, #DBEAFE);
    border: 1.5px solid rgba(37,99,235,0.2);
    border-radius: 16px;
    padding: 1.5rem 2rem;
    flex-wrap: wrap;
    position: relative;
    overflow: hidden;
}
.dealer-license-inner::before {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(180deg, #2563EB, #1E40AF);
    border-radius: 4px 0 0 4px;
}
.dealer-seal-icon { flex-shrink: 0; }
.dealer-license-text { flex: 1; min-width: 200px; }
.dealer-license-title {
    font-weight: 800;
    color: #1E40AF;
    font-size: 1.05rem;
    margin-bottom: 0.25rem;
}
.dealer-license-sub {
    color: #3B82F6;
    font-size: 0.83rem;
}
.dealer-verified-seal { flex-shrink: 0; text-align: center; }

.partners-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 1rem;
}
.partner-logo-card {
    text-align: center;
    transition: transform 0.22s ease, box-shadow 0.22s ease;
}
.partner-logo-card:hover {
    transform: translateY(-4px);
}
.partner-logo-card:hover .partner-logo-img-v2 {
    box-shadow: 0 8px 28px rgba(37,99,235,0.13);
    border-color: rgba(37,99,235,0.25);
}
.partner-logo-img-v2 {
    background: #ffffff;
    border: 1.5px solid rgba(37,99,235,0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 14px 10px;
    min-height: 72px;
    margin-bottom: 0.6rem;
    transition: box-shadow 0.22s, border-color 0.22s;
    box-shadow: 0 2px 8px rgba(37,99,235,0.06);
}
.partner-logo-name {
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.2rem;
}
.partner-logo-tag {
    font-size: 0.72rem;
    color: var(--text-secondary);
}
@media (max-width: 900px) {
    .partners-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 480px) {
    .partners-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ─── ABOUT PAGE GRID ───────────────────────────────────────── */
@media (max-width: 900px) {
    .about-grid { grid-template-columns: 1fr !important; gap: 2rem !important; }
}

/* ─── GUARANTEE TABS ────────────────────────────────────────── */
.guarantee-tabs-section {
    margin: 3.5rem 0;
    background: transparent;
    border: none;
    border-radius: 0;
    overflow: visible;
}

.guarantee-tabs-section > .details-section-title {
    padding: 0;
    margin-bottom: 1.5rem;
    font-size: 0.8rem;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-weight: 800;
}

.guarantee-tabs {
    display: flex;
    gap: 12px;
    border-bottom: none;
    padding: 0;
    overflow-x: auto;
    margin-bottom: 2rem;
    scrollbar-width: none;
}
.guarantee-tabs::-webkit-scrollbar { display: none; }

.gtab {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 24px;
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--text-primary);
    cursor: pointer;
    border: 1px solid var(--border);
    border-radius: var(--radius-full);
    background: rgba(255, 255, 255, 0.7); backdrop-filter: blur(16px); border: 1px solid rgba(255, 255, 255, 0.8);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    white-space: nowrap;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    user-select: none;
}

.gtab:hover {
    border-color: var(--accent);
    color: var(--accent);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(18, 128, 223, 0.1);
}

.gtab.active {
    background: var(--accent);
    color: white;
    border-color: var(--accent);
    box-shadow: 0 8px 20px rgba(18, 128, 223, 0.2);
}

.gtab-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

.gtab-icon svg {
    width: 18px;
    height: 18px;
}

.gtab-content {
    padding: 2.5rem;
    background: var(--bg-secondary);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
    position: relative;
}

.gtab-panel-inner {
    display: flex;
    gap: 2.5rem;
    align-items: flex-start;
}

.gtab-panel-icon {
    width: 72px;
    height: 72px;
    min-width: 72px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.7); backdrop-filter: blur(16px); border: 1px solid rgba(255, 255, 255, 0.8);
    border-radius: 20px;
    color: var(--accent);
    box-shadow: var(--shadow-sm);
    font-size: 0; /* Hide emoji if it leaks */
}

.gtab-panel-icon svg {
    width: 36px;
    height: 36px;
    stroke: currentColor;
}

.gtab-panel-title {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 0.75rem;
    letter-spacing: -0.01em;
}

.gtab-panel-text {
    color: var(--text-secondary);
    font-size: 1rem;
    line-height: 1.8;
    margin-bottom: 1.25rem;
}

.gtab-panel-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
}

@media (max-width: 600px) {
    .gtab-panel-list { grid-template-columns: 1fr; }
    .gtab-panel-inner { flex-direction: column; gap: 1.5rem; }
    .gtab-content { padding: 1.5rem; }
}

.gtab-panel-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.9rem;
    color: var(--text-light);
    font-weight: 500;
}
.gtab-panel-list li {
    font-size: 0.85rem;
    color: var(--text-secondary);
    padding-left: 0.25rem;
}
.gtab-panel-list li::first-letter {
    color: #16a34a;
}
@media (max-width: 600px) {
    .gtab-panel-inner { flex-direction: column; gap: 0.75rem; }
    .gtab-panel-icon { font-size: 1.8rem; min-width: auto; }
    .gtab { padding: 0.75rem 0.9rem; font-size: 0.8rem; }
}


/* ─── REAL PARTNER LOGOS ──────────────────────────────────────── */
.partner-real-logo {
    max-width: 110px;
    max-height: 44px;
    width: auto;
    height: auto;
    object-fit: contain;
    filter: grayscale(30%) opacity(0.85);
    transition: filter 0.2s ease;
}
.partner-logo-card:hover .partner-real-logo {
    filter: grayscale(0%) opacity(1);
}

/* ─── SPACING FIX: reduce gap between stats + partners + arrivals ─ */
#stats-section {
    padding-top: 2rem !important;
    padding-bottom: 1.5rem !important;
}
#stats-section + .section,
.stats-grid + .section {
    padding-top: 1rem;
}

/* ─── CERTIFICATION BADGES ROW ──────────────────────────────── */
.cert-badges-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
}
.cert-badge-card {
    background: rgba(255, 255, 255, 0.7); backdrop-filter: blur(16px); border: 1px solid rgba(255, 255, 255, 0.8);
    border-radius: 14px;
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    position: relative;
    overflow: hidden;
}
.cert-badge-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    border-radius: 14px 14px 0 0;
}
.cert-badge-blue { border: 1.5px solid rgba(37,99,235,0.2); box-shadow: 0 2px 12px rgba(37,99,235,0.07); }
.cert-badge-blue::before { background: linear-gradient(90deg, #2563EB, #60A5FA); }
.cert-badge-dark { border: 1.5px solid rgba(30,41,59,0.2); box-shadow: 0 2px 12px rgba(30,41,59,0.07); }
.cert-badge-dark::before { background: linear-gradient(90deg, #1E293B, #475569); }
.cert-badge-bmw { border: 1.5px solid rgba(28,105,212,0.25); box-shadow: 0 2px 12px rgba(28,105,212,0.09); }
.cert-badge-bmw::before { background: linear-gradient(90deg, #1C1C1C, #1C69D4); }
.cert-badge-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}
.cert-badge-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 0.5rem;
}
.cert-seal-mini { flex-shrink: 0; }
.cert-badge-verified {
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    background: #EFF6FF;
    color: #2563EB;
    padding: 4px 10px;
    border-radius: 20px;
}
.cert-badge-title {
    font-size: 0.95rem;
    font-weight: 800;
    color: var(--text-primary);
    line-height: 1.3;
}
.cert-badge-sub {
    font-size: 0.78rem;
    color: var(--text-secondary);
    line-height: 1.5;
}
@media (max-width: 768px) {
    .cert-badges-row { grid-template-columns: 1fr; }
}

/* ─── COMPACT HORIZONTAL CERT BADGES ───────────────────────── */
@keyframes badgeSlideIn {
    from { opacity: 0; transform: translateY(20px); }
    to   { opacity: 1; transform: translateY(0); }
}

.cert-badges-row {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.cert-badge-h {
    position: relative;
    display: flex;
    align-items: center;
    gap: 1rem;
    background: rgba(255, 255, 255, 0.7); backdrop-filter: blur(16px); border: 1px solid rgba(255, 255, 255, 0.8);
    border-radius: 12px;
    padding: 1rem 1.25rem;
    border: 1px solid rgba(0,0,0,0.07);
    overflow: hidden;
    transition: transform 0.22s ease, box-shadow 0.22s ease;
    animation: badgeSlideIn 0.5s ease both;
}
.cert-badge-h:hover {
    transform: translateX(4px);
    box-shadow: 0 6px 24px rgba(0,0,0,0.09);
}

/* Left gradient strip */
.cert-badge-h-gradient {
    position: absolute;
    left: 0; top: 0; bottom: 0;
    width: 4px;
    border-radius: 12px 0 0 12px;
}
.cert-grad-blue  { background: linear-gradient(180deg, #2563EB, #60A5FA); }
.cert-grad-dark  { background: linear-gradient(180deg, #0F172A, #475569); }
.cert-grad-bmw   { background: linear-gradient(180deg, #1C1C1C, #1C69D4); }

/* Subtle right-side glow */
.cert-badge-h::after {
    content: '';
    position: absolute;
    right: 0; top: 0; bottom: 0;
    width: 120px;
    pointer-events: none;
    border-radius: 0 12px 12px 0;
}
.cert-badge-blue.cert-badge-h::after,
.cert-grad-blue ~ .cert-badge-h-icon ~ *::after  { background: linear-gradient(270deg, rgba(37,99,235,0.04), transparent); }

.cert-badge-h-icon {
    flex-shrink: 0;
    margin-left: 6px;
    display: flex;
    align-items: center;
}
.cert-badge-h-text { flex: 1; min-width: 0; }
.cert-badge-h-title {
    font-size: 0.9rem;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 0.15rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.cert-badge-h-sub {
    font-size: 0.75rem;
    color: var(--text-secondary);
    line-height: 1.4;
}

.cert-badge-h-pill {
    flex-shrink: 0;
    font-size: 0.65rem;
    font-weight: 800;
    letter-spacing: 0.07em;
    padding: 4px 10px;
    border-radius: 20px;
    white-space: nowrap;
}
.cert-pill-blue { background: #EFF6FF; color: #2563EB; }
.cert-pill-dark { background: #0F172A; color: #60A5FA; }
.cert-pill-bmw  { background: #1C69D4; color: white; }

@media (max-width: 600px) {
    .cert-badge-h { flex-wrap: wrap; }
    .cert-badge-h-title { white-space: normal; }
}

/* Remove old vertical card styles that conflict */
.cert-badge-card { display: none; }

/* ─── VIN FULL-WIDTH BLOCK ───────────────────────────────────── */
.vin-block--full {
    background: #334155;
    flex: 1 1 100%;
    min-width: 100%;
}
.vin-number--vin {
    font-size: 0.72rem;
    letter-spacing: 0.08em;
    font-weight: 700;
    font-family: 'Courier New', monospace;
    opacity: 0.95;
}

/* ─── COMPACT DEAL BLOCK ─────────────────────────────────────── */
.deal-info-block--compact {
    padding: 0.65rem 1rem !important;
}
.deal-info-block--compact .deal-label-row {
    margin-bottom: 0.2rem;
}
.deal-info-block--compact .deal-finance-row {
    font-size: 0.9rem;
}
@media (max-width: 900px) { .admin-grid-desktop { grid-template-columns: 1fr !important; } }

/* ─── SLOT MACHINE MINI-GAME ─────────────────────────────────────── */
@keyframes slotSpin {
    0% { transform: translateY(0); filter: blur(0px); }
    10% { filter: blur(4px); }
    50% { transform: translateY(-80%); filter: blur(4px); }
    90% { filter: blur(2px); }
    100% { transform: translateY(-100%); filter: blur(0px); }
}

.slot-reel {
    display: inline-block;
    vertical-align: top;
    height: 100px;
    overflow: hidden;
    position: relative;
    background: linear-gradient(to bottom, #111 0%, #333 15%, #eee 50%, #333 85%, #111 100%);
    border-radius: 12px;
    margin: 0 10px;
    box-shadow: inset 0 25px 25px -15px rgba(0,0,0,0.9), inset 0 -25px 25px -15px rgba(0,0,0,0.9), 0 5px 15px rgba(0,0,0,0.8);
    width: 90px;
    border: 4px solid #b8860b;
}

.slot-reel::after {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(to bottom, rgba(0,0,0,0.6) 0%, rgba(0,0,0,0) 25%, rgba(0,0,0,0) 75%, rgba(0,0,0,0.6) 100%);
    pointer-events: none;
    border-radius: 8px;
}

.slot-reel-inner {
    font-size: 60px;
    line-height: 100px;
    text-align: center;
    text-shadow: 2px 2px 5px rgba(0,0,0,0.3);
    transition: transform 3s cubic-bezier(0.1, 0.7, 0.1, 1);
}

.slot-spinning .slot-reel-inner {
    animation: slotSpin 0.15s linear infinite;
}

.slot-win {
    animation: winPulse 0.5s ease-in-out infinite alternate;
    box-shadow: 0 0 40px #f59e0b, inset 0 0 30px #f59e0b !important;
    border-color: #ffd700 !important;
}

@keyframes winPulse {
    0% { transform: scale(1); filter: brightness(1); }
    100% { transform: scale(1.08); filter: brightness(1.3); }
}

/* ─── RECOMMENDATIONS GRID ────────────────────────────────────────────────── */
.recommendations-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 2rem;
}

.recommendations-grid .car-card {
    aspect-ratio: 1 / 1; /* Make square */
    padding: 0 !important;
    border-radius: 12px !important;
    overflow: hidden;
    position: relative;
    display: flex;
    flex-direction: column;
    border: 1px solid var(--border) !important;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.recommendations-grid .car-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.recommendations-grid .car-card-img-wrapper {
    position: absolute;
    inset: 0;
    margin: 0 !important;
    height: 100% !important;
}

.recommendations-grid .car-card img {
    height: 100% !important;
    width: 100% !important;
    object-fit: cover !important;
    transition: transform 0.5s ease;
}

.recommendations-grid .car-card:hover img {
    transform: scale(1.08);
}

.recommendations-grid .car-card-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.95) 0%, rgba(0,0,0,0.4) 50%, rgba(0,0,0,0) 100%);
    padding: 30px 12px 12px !important;
    z-index: 2;
    border: none !important;
}

.recommendations-grid .car-card h3 {
    color: white !important;
    font-size: 0.9rem !important;
    margin: 0 !important;
    font-weight: 700 !important;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.recommendations-grid .car-card-price {
    color: #60A5FA !important;
    font-size: 1.1rem !important;
    font-weight: 800 !important;
    margin-top: 4px;
}

.recommendations-grid .car-card-badge {
    font-size: 0.7rem !important;
    padding: 4px 8px !important;
    top: 10px !important;
    left: 10px !important;
    z-index: 3;
}

/* Force hide all extra details for square look on all devices */
.recommendations-grid .car-card-make,
.recommendations-grid .metrics,
.recommendations-grid .car-card-footer,
.recommendations-grid .card-deal-row, 
.recommendations-grid .card-finance-row,
.recommendations-grid .card-vin,
.recommendations-grid .car-card-overlay,
.recommendations-grid .car-card-price-old {
    display: none !important;
}

@media (max-width: 900px) {
    .recommendations-grid {
        gap: 12px;
    }
}

@media (max-width: 600px) {
    .recommendations-grid {
        gap: 6px;
        margin-inline: -5px;
        grid-template-columns: repeat(3, 1fr) !important;
    }
    
    .recommendations-grid .car-card-content {
        padding: 12px 6px 6px !important;
    }
    
    .recommendations-grid .car-card h3 {
        font-size: 0.65rem !important;
    }
    
    .recommendations-grid .car-card-price {
        font-size: 0.75rem !important;
    }
    
    .recommendations-grid .car-card-badge {
        font-size: 0.45rem !important;
        padding: 1px 4px !important;
        top: 6px !important;
        left: 6px !important;
    }
}

/* ─── QA SECTION COLLAPSIBLE ─────────────────────────────────────────────── */
.qa-section-collapsible {
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 0 !important;
    overflow: hidden;
    margin-bottom: 1.5rem;
}

.qa-section-toggle {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.5rem 2rem;
    background: var(--bg-secondary);
    border: none;
    cursor: pointer;
    transition: background 0.2s;
}

.qa-section-toggle:hover {
    background: #f1f5f9;
}

.qa-section-toggle h3 {
    margin: 0;
    font-size: 0.9rem;
    color: var(--text-primary);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-weight: 800;
}

.section-toggle-icon {
    font-size: 1.2rem;
    color: var(--text-secondary);
    transition: transform 0.3s ease;
}

.qa-section-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), padding 0.3s ease;
    background: rgba(255, 255, 255, 0.7); backdrop-filter: blur(16px); border: 1px solid rgba(255, 255, 255, 0.8);
}

.qa-section-collapsible.active .qa-section-content {
    max-height: 1000px;
    padding: 1rem 2rem 2rem;
}

.qa-section-collapsible.active .section-toggle-icon {
    transform: rotate(45deg);
}

.qa-item {
    border-bottom: 1px solid #f1f5f9;
    padding: 1rem 0;
}

.qa-item:last-child {
    border-bottom: none;
}

.qa-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-weight: 700;
    font-size: 0.95rem;
    color: var(--text-primary);
}

.qa-toggle::before {
    content: '＋';
    font-size: 0.8rem;
    color: var(--text-secondary);
    transition: transform 0.2s;
}

.qa-item.open .qa-toggle::before {
    content: '−';
}

.qa-answer {
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.6;
}

.qa-item.open .qa-answer {
    max-height: 200px;
    padding-top: 0.75rem;
}

/* ─── AUTO AUCTION PREMIUM STYLES ────────────────────────────────────────── */
.status-live-dot {
    width: 9px;
    height: 9px;
    background-color: #22C55E;
    border-radius: 50%;
    display: inline-block;
    position: relative;
    box-shadow: 0 0 8px #22C55E;
    animation: pulseGreen 1.8s infinite;
}

@keyframes pulseGreen {
    0% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.7);
    }
    70% {
        transform: scale(1);
        box-shadow: 0 0 0 6px rgba(34, 197, 94, 0);
    }
    100% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(34, 197, 94, 0);
    }
}

.status-upcoming-dot {
    width: 9px;
    height: 9px;
    background-color: #F59E0B;
    border-radius: 50%;
    display: inline-block;
    box-shadow: 0 0 6px rgba(245, 158, 11, 0.5);
}

.status-closed-dot {
    width: 9px;
    height: 9px;
    background-color: #EF4444;
    border-radius: 50%;
    display: inline-block;
}

.card-countdown {
    font-family: 'Outfit', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    font-variant-numeric: tabular-nums;
    font-weight: 700;
    font-size: 0.85rem;
    color: #EF4444;
    background: rgba(239, 68, 68, 0.06);
    padding: 4px 10px;
    border-radius: 6px;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    border: 1px solid rgba(239, 68, 68, 0.12);
    width: fit-content;
}

.card-countdown.near-end {
    color: white;
    background: #EF4444;
    animation: flashRed 1s infinite alternate;
}

@keyframes flashRed {
    0% { background-color: #EF4444; }
    100% { background-color: #B91C1C; }
}

.glassmorphic-auction-panel {
    background: rgba(255, 255, 255, 0.42) !important;
    backdrop-filter: blur(30px) saturate(210%) !important;
    -webkit-backdrop-filter: blur(30px) saturate(210%) !important;
    border: 1px solid rgba(255, 255, 255, 0.6) !important;
    border-radius: 18px;
    padding: 2.25rem;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.04), inset 0 1.5px 0 rgba(255, 255, 255, 0.75), inset 0 -1px 0 rgba(255, 255, 255, 0.2) !important;
    margin: 1.5rem 0;
    transition: var(--transition);
}
.glassmorphic-auction-panel:hover {
    background: rgba(255, 255, 255, 0.52) !important;
    border-color: rgba(255, 255, 255, 0.7) !important;
    box-shadow: 0 35px 70px rgba(29, 78, 216, 0.06), inset 0 2px 0 rgba(255, 255, 255, 0.85), inset 0 -1px 0 rgba(255, 255, 255, 0.2) !important;
    transform: translateY(-4px);
}

.auction-panel-eyebrow {
    font-size: 0.68rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--accent);
    font-weight: 800;
    margin-bottom: 0.5rem;
}

.bid-increment-row {
    display: flex;
    gap: 8px;
    margin-bottom: 12px;
    flex-wrap: wrap;
}

.bid-chip {
    background: rgba(29, 78, 216, 0.05);
    border: 1px solid rgba(29, 78, 216, 0.12);
    color: var(--accent);
    border-radius: 8px;
    padding: 8px 14px;
    font-size: 0.8rem;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition);
    user-select: none;
}

.bid-chip:hover {
    background: var(--accent);
    color: white;
    transform: translateY(-1.5px);
}

.bid-input-container {
    position: relative;
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
}

.bid-input-prefix {
    position: absolute;
    left: 16px;
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-primary);
}

.bid-form-input {
    width: 100%;
    padding: 16px 16px 16px 36px;
    border: 1.5px solid var(--border);
    border-radius: 12px;
    font-size: 1.25rem;
    font-weight: 700;
    font-family: var(--font-body);
    outline: none;
    transition: var(--transition);
    background: rgba(255, 255, 255, 0.7); backdrop-filter: blur(16px); border: 1px solid rgba(255, 255, 255, 0.8);
}

.bid-form-input:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 4px var(--accent-glow);
}

.premium-fee-details {
    font-size: 0.8rem;
    color: var(--text-secondary);
    background: var(--bg-secondary);
    padding: 12px 16px;
    border-radius: 8px;
    border: 1px solid var(--border);
    margin-bottom: 1.5rem;
}

.premium-fee-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 6px;
}

.premium-fee-row:last-child {
    margin-bottom: 0;
    padding-top: 6px;
    border-top: 1px dashed rgba(17, 24, 39, 0.08);
    font-weight: 700;
    color: var(--text-primary);
}

.bid-ledger-container {
    max-height: 240px;
    overflow-y: auto;
    border: 1px solid var(--border);
    border-radius: 12px;
    background: var(--bg-secondary);
    padding: 4px;
}

.bid-ledger-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 14px;
    border-bottom: 1px solid rgba(17, 24, 39, 0.04);
    transition: var(--transition);
    border-radius: 8px;
}

.bid-ledger-row:hover {
    background: rgba(255,255,255,0.7);
}

.bid-ledger-row.is-highest {
    background: linear-gradient(135deg, rgba(34, 197, 94, 0.08) 0%, rgba(34, 197, 94, 0.02) 100%);
    border: 1px solid rgba(34, 197, 94, 0.15);
    font-weight: 700;
}

.bidder-info {
    display: flex;
    align-items: center;
    gap: 12px;
}

.bidder-avatar {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: linear-gradient(135deg, #3B82F6, #1D4ED8);
    color: white;
    font-size: 0.72rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
}

.bid-ledger-row.is-highest .bidder-avatar {
    background: linear-gradient(135deg, #22C55E, #15803D);
}

.bidder-name {
    font-size: 0.85rem;
    color: var(--text-primary);
}

.bid-value-column {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 2px;
}

.bid-value {
    font-size: 0.92rem;
    font-weight: 800;
    color: var(--text-primary);
}

.bid-time {
    font-size: 0.7rem;
    color: var(--text-secondary);
}

/* Dashboard Cabinet Styles */
.wallet-status-box {
    background: linear-gradient(135deg, #0F172A 0%, #1E293B 100%);
    color: white;
    padding: 2.25rem;
    border-radius: 18px;
    margin-bottom: 2.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 2rem;
    box-shadow: var(--shadow-lg);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.wallet-metric {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.wallet-metric-label {
    font-size: 0.75rem;
    color: #94A3B8;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-weight: 700;
}

.wallet-metric-val {
    font-size: 2rem;
    font-weight: 800;
    color: #38BDF8;
    line-height: 1;
}

.verification-status-panel {
    display: flex;
    align-items: center;
    gap: 12px;
    background: rgba(255, 255, 255, 0.05);
    padding: 10px 16px;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.verification-badge-platinum {
    background: linear-gradient(135deg, #FFD700 0%, #FFA500 100%);
    color: #111827;
    padding: 4px 10px;
    border-radius: 6px;
    font-weight: 800;
    font-size: 0.7rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.dashboard-auction-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.dashboard-auction-card {
    background: rgba(255, 255, 255, 0.7); backdrop-filter: blur(16px); border: 1px solid rgba(255, 255, 255, 0.8);
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 1.25rem;
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
    gap: 12px;
    transition: var(--transition);
}

.dashboard-auction-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow);
}

.dashboard-auction-card img {
    width: 100%;
    height: 140px;
    object-fit: cover;
    border-radius: 8px;
}

.dashboard-auction-info {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.dashboard-auction-info h4 {
    font-size: 1rem;
    font-weight: 700;
    margin: 0;
}

.dashboard-bid-status {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.85rem;
    margin-top: 4px;
    padding-top: 8px;
    border-top: 1px solid rgba(17, 24, 39, 0.05);
}

.bid-status-indicator {
    padding: 3px 8px;
    border-radius: 4px;
    font-size: 0.72rem;
    font-weight: 700;
}

.bid-status-winning {
    background: rgba(34, 197, 94, 0.1);
    color: #16A34A;
}

.bid-status-outbid {
    background: rgba(239, 68, 68, 0.1);
    color: #DC2626;
}

/* Discussion and Comments Styles */
.auction-comments-section {
    margin-top: 3rem;
    padding-top: 2.5rem;
    border-top: 1px solid var(--border);
}

.comment-list {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    margin-top: 1.5rem;
}

.comment-item {
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 1.25rem;
}

.comment-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.5rem;
}

.commenter-meta {
    display: flex;
    align-items: center;
    gap: 10px;
}

.commenter-badge {
    background: var(--accent);
    color: white;
    font-size: 0.62rem;
    padding: 2px 6px;
    border-radius: 4px;
    font-weight: 700;
}

.commenter-badge.seller {
    background: #2563eb;
}

.comment-body {
    font-size: 0.88rem;
    color: var(--text-light);
    line-height: 1.5;
}

/* ─── PHOTO GALLERY FIX ─────────────────────────────────────────────────── */
.main-image-container {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius-lg);
    background: #f1f5f9;
    height: 480px;
    flex: none;
}
@media (max-width: 1024px) {
    .main-image-container {
        height: auto;
        aspect-ratio: 4 / 3;
    }
}
.main-image-container .main-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: var(--radius-lg);
    transition: opacity 0.3s ease;
}

/* Lightbox Fullscreen Modal */
.lightbox-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(10, 10, 12, 0.92);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    z-index: 99999;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: opacity 0.3s ease;
}
.lightbox-close-btn {
    position: absolute;
    top: 24px;
    right: 24px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: #f3f4f6;
    font-size: 2.2rem;
    font-weight: 200;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    line-height: 1;
    z-index: 100000;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.lightbox-close-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: scale(1.1) rotate(90deg);
    color: #ffffff;
}
.lightbox-content-wrapper {
    position: relative;
    max-width: 90%;
    max-height: 85%;
    display: flex;
    justify-content: center;
    align-items: center;
}
.lightbox-image {
    max-width: 100%;
    max-height: 80vh;
    object-fit: contain;
    border-radius: 12px;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}
.lightbox-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: #f3f4f6;
    font-size: 1.8rem;
    width: 54px;
    height: 54px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 100000;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}
.lightbox-btn:hover {
    background: var(--accent);
    border-color: var(--accent);
    color: #ffffff;
    box-shadow: 0 0 15px var(--accent-glow);
}
.lightbox-btn:active {
    transform: translateY(-50%) scale(0.95);
}
.lightbox-prev-btn {
    left: 30px;
}
.lightbox-next-btn {
    right: 30px;
}
.lightbox-counter {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    color: rgba(255, 255, 255, 0.7);
    font-size: 1rem;
    font-weight: 600;
    background: rgba(255, 255, 255, 0.08);
    padding: 6px 16px;
    border-radius: 30px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    font-family: 'Outfit', sans-serif;
    letter-spacing: 1px;
}

@media (max-width: 768px) {
    .lightbox-btn {
        width: 44px;
        height: 44px;
        font-size: 1.3rem;
    }
    .lightbox-prev-btn {
        left: 15px;
    }
    .lightbox-next-btn {
        right: 15px;
    }
    .lightbox-close-btn {
        top: 15px;
        right: 15px;
        width: 40px;
        height: 40px;
        font-size: 1.8rem;
    }
}

/* ─── BID STATS BAR ─────────────────────────────────────────────────────── */
.bid-stats-bar {
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    border-radius: 14px;
    padding: 1.25rem 1.5rem;
    margin-top: 1rem;
    color: white;
    gap: 0;
}
.bid-stat-item { flex: 1; }
.bid-stat-item--right { text-align: right; }
.bid-stat-label {
    font-size: 0.65rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-weight: 700;
    color: rgba(255,255,255,0.55);
    margin-bottom: 4px;
}
.bid-stat-value {
    font-size: 1.9rem;
    font-weight: 900;
    font-family: 'Outfit', sans-serif;
    color: white;
    letter-spacing: -0.03em;
    line-height: 1;
}
.bid-stat-divider {
    width: 1px;
    height: 40px;
    background: rgba(255,255,255,0.15);
    margin: 0 1.5rem;
}

/* ─── AUCTION CONSOLE ───────────────────────────────────────────────────── */
.auction-console {
    border-radius: 16px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    border: 1px solid rgba(29,78,216,0.12);
    background: linear-gradient(160deg, rgba(239,246,255,0.9) 0%, rgba(219,234,254,0.6) 100%);
    backdrop-filter: blur(8px);
}
.auction-console-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.25rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(29,78,216,0.1);
}
.console-eyebrow {
    font-size: 0.65rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    font-weight: 800;
    color: var(--accent);
    margin-bottom: 2px;
}
.console-timer-label {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--text-secondary);
}
.console-timer {
    font-size: 1.4rem !important;
    font-weight: 900 !important;
    font-family: 'Outfit', monospace !important;
    color: var(--text-primary) !important;
    background: rgba(255, 255, 255, 0.7); backdrop-filter: blur(16px); border: 1px solid rgba(255, 255, 255, 0.8);
    padding: 8px 14px;
    border-radius: 10px;
    border: 1px solid var(--border);
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
    letter-spacing: -0.02em;
}
.console-timer.near-end {
    color: #dc2626 !important;
    border-color: rgba(220,38,38,0.3);
    background: rgba(254,242,242,1);
    animation: urgency-pulse 1s ease-in-out infinite;
}

/* ─── SNIPER ALERT ──────────────────────────────────────────────────────── */
.sniper-alert {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    background: rgba(29,78,216,0.06);
    border: 1px solid rgba(29,78,216,0.12);
    border-radius: 10px;
    padding: 10px 12px;
    margin-bottom: 1.25rem;
    font-size: 0.75rem;
    color: #1e40af;
    line-height: 1.4;
}
.sniper-icon { font-size: 1rem; flex-shrink: 0; margin-top: 1px; }

/* ─── QUICK BID CHIPS ───────────────────────────────────────────────────── */
.quick-bid-section { margin-bottom: 1.25rem; }
.quick-bid-label {
    font-size: 0.68rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-weight: 800;
    color: var(--text-secondary);
    margin-bottom: 8px;
}
.quick-bid-chips {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
}
.quick-chip {
    flex: 1 1 calc(20% - 10px);
    min-width: 76px;
    height: 48px;
    padding: 6px 10px;
    border-radius: var(--radius-sm);
    border: 1px solid rgba(17, 24, 39, 0.12);
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    font-family: 'Outfit', sans-serif;
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    color: var(--text-primary);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.02);
}
.quick-chip .qc-pct {
    font-size: 0.68rem;
    font-weight: 600;
    text-transform: uppercase;
    color: var(--text-secondary);
    letter-spacing: 0.03em;
    margin-bottom: 2px;
    transition: color 0.2s ease;
}
.quick-chip .qc-val {
    font-size: 0.9rem;
    font-weight: 700;
    transition: color 0.2s ease;
}
.quick-chip:hover, .quick-chip:focus {
    border-color: #0f172a;
    color: white;
    background: #0f172a;
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(15, 23, 42, 0.15);
}
.quick-chip:hover .qc-pct, .quick-chip:focus .qc-pct {
    color: rgba(255, 255, 255, 0.7);
}
.quick-chip--max {
    border-color: rgba(239, 68, 68, 0.3);
    color: #dc2626;
}
.quick-chip--max .qc-pct {
    color: #dc2626;
}
.quick-chip--max:hover, .quick-chip--max:focus {
    border-color: #991b1b;
    background: #991b1b;
    color: white;
    box-shadow: 0 6px 15px rgba(153, 27, 27, 0.15);
}
.quick-chip--max:hover .qc-pct {
    color: rgba(255, 255, 255, 0.8);
}
.quick-chip:active {
    transform: translateY(0);
    box-shadow: none;
}

/* ─── MANUAL BID FORM ───────────────────────────────────────────────────── */
.manual-bid-form { margin-top: 0; }
.manual-bid-label {
    font-size: 0.68rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-weight: 800;
    color: var(--text-secondary);
    margin-bottom: 6px;
}
.bid-input-row {
    display: flex;
    border: 2px solid var(--border);
    border-radius: 10px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.7); backdrop-filter: blur(16px); border: 1px solid rgba(255, 255, 255, 0.8);
    height: 52px;
    transition: border-color 0.2s;
    margin-bottom: 6px;
}
.bid-input-row:focus-within {
    border-color: var(--accent);
    box-shadow: 0 0 0 3px var(--accent-glow);
}
.bid-currency {
    display: flex;
    align-items: center;
    background: #f8fafc;
    padding: 0 14px;
    font-size: 1rem;
    font-weight: 800;
    color: var(--text-secondary);
    border-right: 1px solid var(--border);
    flex-shrink: 0;
}
.bid-input-field {
    flex: 1;
    border: none;
    outline: none;
    padding: 0 14px;
    font-family: 'Outfit', sans-serif;
    font-size: 1.05rem;
    font-weight: 800;
    color: var(--text-primary);
    background: transparent;
}
.bid-input-field::-webkit-inner-spin-button,
.bid-input-field::-webkit-outer-spin-button { opacity: 0.5; }
.bid-min-note {
    font-size: 0.7rem;
    color: var(--text-secondary);
    margin-bottom: 1rem;
}
.bid-min-note strong { color: var(--text-primary); }

/* ─── FEE CALCULATOR ────────────────────────────────────────────────────── */
.fee-calculator {
    background: rgba(255, 255, 255, 0.7); backdrop-filter: blur(16px); border: 1px solid rgba(255, 255, 255, 0.8);
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 12px 14px;
    margin-bottom: 1.25rem;
}
.fee-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.78rem;
    padding: 4px 0;
    color: var(--text-secondary);
}
.fee-row span:last-child { font-weight: 700; color: var(--text-primary); }
.fee-row--total {
    border-top: 1px solid var(--border);
    margin-top: 4px;
    padding-top: 8px;
    font-weight: 800;
    font-size: 0.85rem;
}
.fee-row--total span { font-weight: 800; color: var(--text-primary); }

/* ─── PREMIUM CONSOLE BUTTONS ────────────────────────────────────────────── */
.console-btn {
    width: 100%;
    height: 52px;
    border-radius: var(--radius);
    font-family: 'Outfit', sans-serif;
    font-size: 0.95rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    box-sizing: border-box;
    border: none;
    text-decoration: none;
    position: relative;
    overflow: hidden;
}
.console-btn::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.25) 0%, rgba(255, 255, 255, 0) 50%, rgba(0, 0, 0, 0.12) 100%);
    pointer-events: none;
    transition: var(--transition);
}
.console-btn:hover::before {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.35) 0%, rgba(255, 255, 255, 0) 40%, rgba(0, 0, 0, 0.08) 100%);
}

/* 1. BID (Submit Bid) Button - Vibrant Blue */
.console-btn-bid {
    background: #2563eb; /* Vibrant Blue */
    color: white;
    box-shadow: 0 4px 14px rgba(37, 99, 235, 0.25), inset 0 1px 0 rgba(255, 255, 255, 0.35);
}
.console-btn-bid:hover {
    background: #1d4ed8;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(37, 99, 235, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.45);
}
.console-btn-bid:active {
    transform: translateY(0);
    box-shadow: 0 2px 8px rgba(37, 99, 235, 0.2);
}

/* 2. BUY NOW (Bypass) Button - Solid Amber/Gold */
.console-btn-buy {
    background: #eab308; /* Vibrant Yellow/Amber */
    color: #0f172a; /* Dark text for contrast */
    font-weight: 800;
    box-shadow: 0 4px 14px rgba(234, 179, 8, 0.25), inset 0 1px 0 rgba(255, 255, 255, 0.45);
}
.console-btn-buy:hover {
    background: #ca8a04;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(234, 179, 8, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.55);
}
.console-btn-buy:active {
    transform: translateY(0);
}

/* 3. CALL NOW Button - Bold Solid Black */
.console-btn-call {
    background: #111827;
    color: white;
    border: none;
    box-shadow: 0 4px 14px rgba(17, 24, 39, 0.15), inset 0 1px 0 rgba(255, 255, 255, 0.2);
}
.console-btn-call:hover {
    background: #000;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(17, 24, 39, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.3);
}
.console-btn-call:active {
    transform: translateY(0);
}

/* 4. CONSULT A SPECIALIST Button - Bright Emerald Green */
.console-btn-consult {
    background: #10b981; /* Bright Green */
    color: white;
    box-shadow: 0 4px 14px rgba(16, 185, 129, 0.25), inset 0 1px 0 rgba(255, 255, 255, 0.35);
}
.console-btn-consult:hover {
    background: #059669;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(16, 185, 129, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.45);
}
.console-btn-consult:active {
    transform: translateY(0);
}

/* ─── BID LEDGER CARD ───────────────────────────────────────────────────── */
.bid-ledger-card {
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(24px) saturate(180%);
    -webkit-backdrop-filter: blur(24px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.8);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
    margin-top: 1.25rem;
}
.bid-ledger-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(15, 23, 42, 0.02);
    padding: 14px 20px;
    border-bottom: 1px solid var(--border-light);
}
.bid-ledger-title {
    font-size: 0.78rem;
    font-weight: 750;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--text-primary);
}
.bid-ledger-count {
    font-size: 0.68rem;
    background: rgba(15, 23, 42, 0.06);
    padding: 3px 9px;
    border-radius: 9999px;
    font-weight: 700;
    color: var(--text-secondary);
}
.bid-ledger-body {
    max-height: 280px;
    overflow-y: auto;
    position: relative;
    padding: 8px 0;
}
.bid-ledger-row {
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 20px 12px 42px; /* Extra left padding for timeline */
    transition: all 0.25s ease;
}
.bid-ledger-row:hover {
    background: rgba(15, 23, 42, 0.02);
    transform: translateX(2px);
}

/* Timeline Components */
.bid-timeline-line {
    position: absolute;
    left: 23px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: rgba(17, 24, 39, 0.06);
    z-index: 1;
}
.bid-ledger-row:first-child .bid-timeline-line {
    top: 50%;
}
.bid-ledger-row:last-child .bid-timeline-line {
    bottom: 50%;
}
.bid-timeline-dot {
    position: absolute;
    left: 20px;
    top: calc(50% - 4px);
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #94a3b8;
    border: 2px solid white;
    box-shadow: 0 0 0 1px rgba(17, 24, 39, 0.05);
    z-index: 2;
    transition: all 0.3s ease;
}

/* Top Bid Highlight Styling */
.bid-ledger-row--top {
    background: rgba(34, 197, 94, 0.04);
}
.bid-ledger-row--top:hover {
    background: rgba(34, 197, 94, 0.07);
}
.bid-ledger-row--top .bid-timeline-dot {
    background: #10b981;
    box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.2);
    width: 10px;
    height: 10px;
    left: 19px;
    animation: pulse-green 2s infinite;
}
@keyframes pulse-green {
    0% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.4); }
    70% { box-shadow: 0 0 0 6px rgba(16, 185, 129, 0); }
    100% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

.bid-ledger-bidder {
    display: flex;
    align-items: center;
    gap: 10px;
}
.bid-avatar {
    width: 28px;
    height: 28px;
    background: #64748b; /* Solid slate */
    color: white;
    font-size: 0.72rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    flex-shrink: 0;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.08);
}
.bid-ledger-row--top .bid-avatar {
    background: linear-gradient(135deg, #10b981, #059669); /* Beautiful green gradient for bid leader */
}
.bid-name {
    font-weight: 700;
    font-size: 0.85rem;
    color: var(--text-primary);
}
.bid-high-badge {
    background: rgba(16, 185, 129, 0.1);
    color: #047857;
    border: 1px solid rgba(16, 185, 129, 0.2);
    font-size: 0.58rem;
    font-weight: 800;
    padding: 1px 6px;
    border-radius: 4px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}
.bid-ledger-amount {
    text-align: right;
    z-index: 2;
}
.bid-amount-val {
    font-weight: 800;
    color: var(--text-primary);
    font-size: 0.95rem;
    font-variant-numeric: tabular-nums;
    display: block;
}
.bid-ledger-row--top .bid-amount-val {
    color: #047857;
    font-size: 1.05rem;
}
.bid-time {
    font-size: 0.65rem;
    color: var(--text-secondary);
    margin-top: 1px;
}
.bid-ledger-empty {
    text-align: center;
    padding: 2.5rem 1.5rem;
    color: var(--text-secondary);
    font-size: 0.85rem;
}

/* ─── TRUST BADGE ITEMS ─────────────────────────────────────────────────── */
.trust-badge-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    background: #ffffff;
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 12px;
    box-shadow: var(--shadow-sm);
}
.trust-badge-item > span { font-size: 1.4rem; flex-shrink: 0; }
.trust-badge-item h5 { margin: 0 0 2px 0; font-size: 0.78rem; font-weight: 800; }
.trust-badge-item p { margin: 0; font-size: 0.68rem; color: var(--text-secondary); line-height: 1.4; }

/* ─── GLASSMORPHIC AUCTION PANEL (Trendy 2026 Liquid Glass) ──────────────────────── */
.glassmorphic-auction-panel {
    background: rgba(255, 255, 255, 0.42) !important;
    backdrop-filter: blur(32px) saturate(210%) !important;
    -webkit-backdrop-filter: blur(32px) saturate(210%) !important;
    border: 1px solid rgba(255, 255, 255, 0.6) !important;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.04), inset 0 1.5px 0 rgba(255, 255, 255, 0.75), inset 0 -1px 0 rgba(255, 255, 255, 0.25) !important;
    border-radius: 20px;
    position: relative;
    overflow: hidden;
    transition: var(--transition);
}
.glassmorphic-auction-panel:hover {
    background: rgba(255, 255, 255, 0.52) !important;
    border-color: rgba(255, 255, 255, 0.7) !important;
    box-shadow: 0 40px 80px rgba(29, 78, 216, 0.08), inset 0 2px 0 rgba(255, 255, 255, 0.85), inset 0 -1px 0 rgba(255, 255, 255, 0.2) !important;
    transform: translateY(-4px);
}
.glassmorphic-auction-panel::before {
    content: '';
    position: absolute;
    top: -50%; left: -50%; width: 200%; height: 200%;
    background: linear-gradient(135deg, rgba(255,255,255,0.4) 0%, rgba(255,255,255,0) 100%);
    transform: rotate(30deg);
    pointer-events: none;
}

/* ─── PDI INSPECTION GAUGE, SWITCHES & CALCULATORS ──────────────────────── */
.pdi-gauge-wrapper svg {
    filter: drop-shadow(0 4px 12px rgba(37, 99, 235, 0.15));
}
.switch-toggle {
    position: relative;
    display: inline-block;
    width: 44px;
    height: 24px;
}
.switch-toggle input {
    opacity: 0;
    width: 0;
    height: 0;
}
.slider-round {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #cbd5e1;
    transition: .3s;
    border-radius: 34px;
}
.slider-round:before {
    position: absolute;
    content: "";
    height: 18px;
    width: 18px;
    left: 3px;
    bottom: 3px;
    background-color: white;
    transition: .3s;
    border-radius: 50%;
    box-shadow: 0 1px 3px rgba(0,0,0,0.15);
}
.switch-toggle input:checked + .slider-round {
    background-color: #1d4ed8;
}
.switch-toggle input:focus + .slider-round {
    box-shadow: 0 0 1px #1d4ed8;
}
.switch-toggle input:checked + .slider-round:before {
    transform: translateX(20px);
}

/* Range input customization */
input[type="range"] {
    -webkit-appearance: none;
    appearance: none;
    background: #e2e8f0;
    height: 6px;
    border-radius: 3px;
    outline: none;
}
input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: #1d4ed8;
    cursor: pointer;
    box-shadow: 0 2px 6px rgba(29, 78, 216, 0.3);
    transition: transform 0.1s;
}
input[type="range"]::-webkit-slider-thumb:hover {
    transform: scale(1.15);
}

/* Volumetric Glassmorphic KPI Panel styling */
.glassmorphic-kpi-panel {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.55) 0%, rgba(255, 255, 255, 0.32) 100%) !important;
    border: 1px solid rgba(255, 255, 255, 0.55) !important;
    backdrop-filter: blur(30px) saturate(210%);
    -webkit-backdrop-filter: blur(30px) saturate(210%);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.03), inset 0 1.5px 0 rgba(255, 255, 255, 0.75), inset 0 -1px 0 rgba(255, 255, 255, 0.2) !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.glassmorphic-kpi-panel:hover {
    transform: translateY(-4px);
    box-shadow: 0 30px 60px rgba(29, 78, 216, 0.08), inset 0 2px 0 rgba(255, 255, 255, 0.85) !important;
    border-color: rgba(29, 78, 216, 0.2) !important;
}

/* ─── INLINE GLASS OVERRIDES (2026 Liquid Glass System) ─── */
[style*="backdrop-filter"][style*="rgba(255"] {
    background: rgba(255, 255, 255, 0.42) !important;
    backdrop-filter: blur(30px) saturate(210%) !important;
    -webkit-backdrop-filter: blur(30px) saturate(210%) !important;
    border-color: rgba(255, 255, 255, 0.55) !important;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.04), inset 0 1.5px 0 rgba(255, 255, 255, 0.75), inset 0 -1px 0 rgba(255, 255, 255, 0.2) !important;
}

[style*="backdrop-filter"][style*="rgba(15"],
[style*="backdrop-filter"][style*="rgba(30"] {
    background: rgba(15, 23, 42, 0.72) !important;
    backdrop-filter: blur(30px) saturate(210%) !important;
    -webkit-backdrop-filter: blur(30px) saturate(210%) !important;
    border-color: rgba(255, 255, 255, 0.12) !important;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.2), inset 0 1.5px 0 rgba(255, 255, 255, 0.15), inset 0 -1px 0 rgba(0, 0, 0, 0.2) !important;
}


