/* ==========================================================================
   GBME MOTORS - HYPER-LUXURY AUTOMOTIVE DESIGN SYSTEM
   Powered by UI/UX Pro Max & Frontend Design Intelligence
   ========================================================================== */

:root {
    /* Color Palette: Deep OLED Carbon, Rosso Corsa, Liquid Gold, Cyber Cyan */
    --bg-oled: #05070d;
    --bg-surface: #0a0e17;
    --bg-card: rgba(13, 19, 32, 0.75);
    --bg-card-hover: rgba(22, 32, 54, 0.85);
    --bg-glass: rgba(15, 23, 42, 0.6);
    
    --accent: #e50914;
    --accent-glow: rgba(229, 9, 20, 0.4);
    --accent-hover: #ff1e27;
    
    --gold: #d4af37;
    --gold-light: #f6e08c;
    --gold-glow: rgba(212, 175, 55, 0.35);
    
    --cyan: #06b6d4;
    --emerald: #10b981;
    
    --text-primary: #f8fafc;
    --text-secondary: #94a3b8;
    --text-muted: #64748b;
    
    --border-glass: rgba(255, 255, 255, 0.08);
    --border-hover: rgba(255, 255, 255, 0.2);
    --border-accent: rgba(229, 9, 20, 0.5);
    
    --font-main: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-heading: 'Plus Jakarta Sans', sans-serif;
    
    --radius-sm: 10px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-xl: 32px;
}

/* Global Reset & Base */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    color-scheme: dark;
}

body {
    background-color: var(--bg-oled);
    color: var(--text-primary);
    font-family: var(--font-main);
    line-height: 1.6;
    overflow-x: hidden;
    background-image: 
        radial-gradient(circle at 15% 15%, rgba(229, 9, 20, 0.1) 0%, transparent 45%),
        radial-gradient(circle at 85% 35%, rgba(212, 175, 55, 0.07) 0%, transparent 45%),
        radial-gradient(circle at 50% 80%, rgba(6, 182, 212, 0.06) 0%, transparent 50%);
    background-attachment: fixed;
}

/* Selection & Scrollbar */
::selection {
    background: var(--accent);
    color: #fff;
}
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}
::-webkit-scrollbar-track {
    background: var(--bg-oled);
}
::-webkit-scrollbar-thumb {
    background: #1e293b;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: var(--accent);
}

/* Fluid Container */
.container {
    width: 100%;
    max-width: 100%;
    margin: 0;
    padding: 0 clamp(20px, 4vw, 64px);
    box-sizing: border-box;
}

/* Typography & Headings */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: var(--text-primary);
    letter-spacing: -0.03em;
    font-weight: 800;
}

.gradient-text {
    background: linear-gradient(135deg, #ffffff 0%, var(--gold-light) 50%, var(--accent) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.gradient-text-red {
    background: linear-gradient(135deg, #ff4b55 0%, var(--accent) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Badges */
.badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    border-radius: 30px;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.badge-featured {
    background: rgba(245, 158, 11, 0.15);
    color: var(--gold-light);
    border: 1px solid rgba(245, 158, 11, 0.4);
    box-shadow: 0 0 15px rgba(245, 158, 11, 0.2);
}

.badge-available {
    background: rgba(16, 185, 129, 0.15);
    color: #34d399;
    border: 1px solid rgba(16, 185, 129, 0.4);
}

.badge-reserved {
    background: rgba(239, 68, 68, 0.15);
    color: #f87171;
    border: 1px solid rgba(239, 68, 68, 0.4);
}

.badge-sold {
    background: rgba(100, 116, 139, 0.2);
    color: #94a3b8;
    border: 1px solid rgba(100, 116, 139, 0.4);
}

.badge-video {
    background: rgba(229, 9, 20, 0.85);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 0 15px var(--accent-glow);
}

/* Glassmorphism Panels */
.glass-panel {
    background: var(--bg-card);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-xl);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.glass-panel:hover {
    border-color: var(--border-hover);
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.8), 0 0 30px rgba(229, 9, 20, 0.15);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 12px 24px;
    border-radius: var(--radius-md);
    font-size: 0.95rem;
    font-weight: 700;
    cursor: pointer;
    text-decoration: none;
    border: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    font-family: var(--font-heading);
}

.btn-primary {
    background: linear-gradient(135deg, var(--accent) 0%, #b30710 100%);
    color: #fff;
    box-shadow: 0 4px 20px var(--accent-glow);
}
.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(229, 9, 20, 0.6);
    background: linear-gradient(135deg, var(--accent-hover) 0%, var(--accent) 100%);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.05);
    color: #fff;
    border: 1px solid var(--border-glass);
    backdrop-filter: blur(10px);
}
.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: var(--border-hover);
    transform: translateY(-2px);
}

.btn-compare-active {
    background: linear-gradient(135deg, var(--accent) 0%, #b30710 100%) !important;
    color: #fff !important;
    border-color: #ff4b55 !important;
    box-shadow: 0 0 16px var(--accent-glow), 0 0 25px rgba(229, 9, 20, 0.5) !important;
    transform: scale(1.05);
}

.btn-whatsapp {
    background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
    color: #fff;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.35);
}
.btn-whatsapp:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(37, 211, 102, 0.55);
}

.btn-gold {
    background: linear-gradient(135deg, var(--gold) 0%, #a3801a 100%);
    color: #000;
    box-shadow: 0 4px 20px var(--gold-glow);
}
.btn-gold:hover {
    transform: translateY(-2px);
    background: linear-gradient(135deg, var(--gold-light) 0%, var(--gold) 100%);
    box-shadow: 0 8px 30px rgba(212, 175, 55, 0.5);
}

.btn-sm {
    padding: 8px 16px;
    font-size: 0.85rem;
    border-radius: var(--radius-sm);
}

.btn-lg {
    padding: 16px 32px;
    font-size: 1.1rem;
    border-radius: var(--radius-lg);
}

/* ==========================================================================
   HEADER / NAVBAR
   ========================================================================== */
.site-header {
    position: sticky;
    top: 0;
    left: 0;
    right: 0;
    height: 84px;
    z-index: 1000;
    background: rgba(5, 7, 13, 0.82);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-glass);
    display: flex;
    align-items: center;
}

.navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}

.logo-brand {
    display: flex;
    align-items: center;
    gap: 14px;
    text-decoration: none;
    color: #fff;
    font-family: var(--font-heading);
    font-size: 1.35rem;
    font-weight: 800;
}

.logo-brand .brand-logo-img {
    height: 52px;
    width: auto;
    object-fit: contain;
    filter: drop-shadow(0 0 15px rgba(229, 9, 20, 0.4));
    transition: transform 0.3s ease;
}

.logo-brand:hover .brand-logo-img {
    transform: scale(1.06);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 600;
    transition: all 0.25s ease;
    position: relative;
}

.nav-links a:hover, .nav-links a.active {
    color: #fff;
}

.nav-links a.active::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--accent);
    box-shadow: 0 0 10px var(--accent-glow);
    border-radius: 2px;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

/* ==========================================================================
   STORIES / REELS HIGHLIGHTS BAR
   ========================================================================== */
.stories-container {
    display: flex;
    gap: 24px;
    overflow-x: auto;
    padding: 10px 4px 20px;
    margin-bottom: 20px;
    scrollbar-width: none;
}
.stories-container::-webkit-scrollbar { display: none; }

.story-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    flex-shrink: 0;
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.story-item:hover {
    transform: translateY(-5px) scale(1.05);
}

.story-ring {
    width: 78px;
    height: 78px;
    border-radius: 50%;
    padding: 3px;
    background: linear-gradient(135deg, var(--accent) 0%, var(--gold) 50%, var(--cyan) 100%);
    box-shadow: 0 0 20px rgba(229, 9, 20, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    animation: rotateGlow 8s linear infinite;
}

@keyframes rotateGlow {
    0% { filter: hue-rotate(0deg); }
    100% { filter: hue-rotate(360deg); }
}

.story-avatar {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--bg-oled);
}

.story-title {
    font-size: 0.8rem;
    font-weight: 700;
    color: #fff;
    max-width: 85px;
    text-align: center;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Stories Modal Player */
.story-modal {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(25px);
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.story-card-wrapper {
    position: relative;
    width: 100%;
    max-width: 420px;
    height: 85vh;
    max-height: 740px;
    background: #000;
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.9), 0 0 30px var(--accent-glow);
    border: 1px solid var(--border-hover);
    display: flex;
    flex-direction: column;
}

.story-progress-bar {
    position: absolute;
    top: 14px;
    left: 14px;
    right: 14px;
    height: 3px;
    background: rgba(255, 255, 255, 0.25);
    border-radius: 3px;
    z-index: 20;
    overflow: hidden;
}

.story-progress-fill {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, var(--gold) 0%, #fff 100%);
    transition: width 0.1s linear;
}

.story-header {
    position: absolute;
    top: 28px;
    left: 18px;
    right: 18px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 20;
}

.story-media-view {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ==========================================================================
   HERO SHOWROOM SECTION
   ========================================================================== */
.hero-section {
    position: relative;
    padding: 20px 0 60px;
    width: 100%;
}

.hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
    gap: clamp(30px, 5vw, 70px);
    align-items: center;
    width: 100%;
}

.hero-content h1 {
    font-size: clamp(2.6rem, 4.2vw, 4.4rem);
    line-height: 1.08;
    margin-bottom: 22px;
    font-weight: 800;
}

.hero-content p {
    font-size: clamp(1.05rem, 1.3vw, 1.25rem);
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 34px;
    max-width: 100%;
}

.hero-card-preview {
    position: relative;
    border-radius: var(--radius-xl);
    overflow: hidden;
    background: var(--bg-card);
    border: 1px solid var(--border-hover);
    box-shadow: 0 35px 70px -15px rgba(0, 0, 0, 0.95), 0 0 35px rgba(229, 9, 20, 0.2);
    width: 100%;
    aspect-ratio: 16/10;
    min-height: 340px;
}

.hero-card-preview img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.hero-card-preview:hover img {
    transform: scale(1.05);
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 36px;
    padding-top: 28px;
    border-top: 1px solid var(--border-glass);
}

.stat-item .stat-num {
    font-size: clamp(1.5rem, 2.2vw, 2.2rem);
    font-weight: 800;
    font-family: var(--font-heading);
    color: #fff;
}

.stat-item .stat-label {
    font-size: 0.82rem;
    color: var(--text-muted);
    margin-top: 4px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* ==========================================================================
   FULL-WIDTH FLUID FILTER BAR
   ========================================================================== */
.filter-bar {
    background: rgba(13, 19, 32, 0.85);
    backdrop-filter: blur(20px);
    border: 1px solid var(--border-hover);
    border-radius: var(--radius-xl);
    padding: clamp(20px, 2.5vw, 32px);
    margin: -35px auto 50px;
    position: relative;
    z-index: 100;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.7), 0 0 25px rgba(229, 9, 20, 0.1);
    width: 100%;
    box-sizing: border-box;
}

.filter-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr 1fr 1fr auto;
    gap: 14px;
    align-items: flex-end;
    width: 100%;
}

@media (max-width: 1400px) {
    .filter-grid {
        grid-template-columns: 1.5fr 1fr 1fr 1fr 1fr auto;
    }
}

@media (max-width: 1100px) {
    .filter-grid {
        grid-template-columns: 1fr 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .filter-grid {
        grid-template-columns: 1fr;
    }
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.form-group label {
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--gold-light);
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.form-control {
    width: 100%;
    height: 48px;
    background: rgba(0, 0, 0, 0.45);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-sm);
    color: #fff;
    padding: 0 16px;
    font-size: 0.95rem;
    font-family: inherit;
    outline: none;
    transition: all 0.25s ease;
}

.form-control:focus {
    border-color: var(--accent);
    box-shadow: 0 0 15px var(--accent-glow);
    background: rgba(0, 0, 0, 0.7);
}

/* Body Type Visual Chips */
.body-types-bar {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    padding: 10px 0 24px;
    margin-bottom: 20px;
    scrollbar-width: none;
}
.body-types-bar::-webkit-scrollbar { display: none; }

.body-chip {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 20px;
    background: var(--bg-card);
    border: 1px solid var(--border-glass);
    border-radius: 30px;
    color: var(--text-secondary);
    font-size: 0.92rem;
    font-weight: 700;
    cursor: pointer;
    white-space: nowrap;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.body-chip:hover, .body-chip.active {
    background: linear-gradient(135deg, rgba(229, 9, 20, 0.25) 0%, rgba(212, 175, 55, 0.15) 100%);
    border-color: var(--accent);
    color: #fff;
    box-shadow: 0 4px 20px rgba(229, 9, 20, 0.3);
    transform: translateY(-2px);
}

/* ==========================================================================
   INVENTORY CARDS & 3D TILT
   ========================================================================== */
.cars-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
    gap: 32px;
    margin-bottom: 60px;
    width: 100%;
}

.car-card {
    background: var(--bg-card);
    backdrop-filter: blur(20px);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-xl);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6);
    position: relative;
}

.car-card:hover {
    border-color: var(--border-hover);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.8), 0 0 25px var(--accent-glow);
    transform: translateY(-6px);
}

.car-media-wrap {
    position: relative;
    height: 250px;
    overflow: hidden;
    background: #000;
}

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

.car-card:hover .car-media-wrap img {
    transform: scale(1.07);
}

.car-card-top-bar {
    position: absolute;
    top: 12px;
    left: 12px;
    right: 12px;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 8px;
    z-index: 15;
    pointer-events: none;
}

.car-badges-left {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
    align-items: center;
    pointer-events: auto;
    max-width: calc(100% - 85px);
}

.car-badges-right {
    display: flex;
    gap: 6px;
    align-items: center;
    flex-shrink: 0;
    pointer-events: auto;
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 5px 10px;
    border-radius: 20px;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    white-space: nowrap;
}

.car-price-tag {
    position: absolute;
    bottom: 14px;
    right: 14px;
    background: rgba(5, 7, 13, 0.88);
    backdrop-filter: blur(12px);
    border: 1px solid var(--border-glass);
    color: var(--gold-light);
    padding: 8px 16px;
    border-radius: var(--radius-md);
    font-size: 1.3rem;
    font-weight: 800;
    font-family: var(--font-heading);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.6);
}

.car-info {
    padding: 24px;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.car-brand-model {
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.car-title {
    font-size: 1.3rem;
    margin: 4px 0 16px;
    line-height: 1.3;
}

.car-title a {
    color: #fff;
    text-decoration: none;
    transition: color 0.25s;
}

.car-title a:hover {
    color: var(--gold-light);
}

.car-specs-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    margin-bottom: 20px;
    padding: 12px 0;
    border-top: 1px solid var(--border-glass);
    border-bottom: 1px solid var(--border-glass);
}

.spec-chip {
    display: flex;
    flex-direction: column;
    background: rgba(0, 0, 0, 0.25);
    padding: 8px 10px;
    border-radius: var(--radius-sm);
    text-align: center;
}

.spec-chip-label {
    font-size: 0.7rem;
    color: var(--text-muted);
    text-transform: uppercase;
}

.spec-chip-value {
    font-size: 0.88rem;
    font-weight: 700;
    color: #fff;
    margin-top: 2px;
}

.car-card-actions {
    display: flex;
    gap: 8px;
    align-items: center;
}

/* ==========================================================================
   BENTO BOX SERVICES & WHY CHOOSE US
   ========================================================================== */
.bento-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 24px;
    margin: 40px 0 80px;
    width: 100%;
}

.bento-card {
    background: var(--bg-card);
    backdrop-filter: blur(20px);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-xl);
    padding: clamp(28px, 3.5vw, 40px);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.bento-card:hover {
    border-color: var(--border-hover);
    transform: translateY(-4px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.7);
}

.bento-icon {
    width: 60px;
    height: 60px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    margin-bottom: 20px;
}

/* ==========================================================================
   MOBILE-FIRST BOTTOM BAR (< 768px)
   ========================================================================== */
.mobile-bottom-bar {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(5, 7, 13, 0.95);
    backdrop-filter: blur(25px);
    border-top: 1px solid var(--border-glass);
    padding: 10px 16px 14px;
    z-index: 1500;
    box-shadow: 0 -10px 30px rgba(0, 0, 0, 0.8);
}

.mobile-bottom-bar-inner {
    display: flex;
    gap: 10px;
    align-items: center;
    justify-content: space-between;
}

.mobile-bottom-bar .btn {
    flex: 1;
    height: 48px;
    font-size: 0.92rem;
    font-weight: 800;
    border-radius: var(--radius-md);
}

.floating-whatsapp {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    box-shadow: 0 10px 25px rgba(37, 211, 102, 0.4);
    z-index: 990;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.floating-whatsapp:hover {
    transform: scale(1.1) rotate(8deg);
    box-shadow: 0 15px 35px rgba(37, 211, 102, 0.6);
}

/* ==========================================================================
   AMAZON-STYLE VEHICLE MEDIA GALLERY
   ========================================================================== */
.amazon-gallery-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: var(--bg-card);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-xl);
    padding: clamp(20px, 3vw, 32px);
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.7);
    position: relative;
    overflow: hidden;
}

.amazon-main-stage {
    width: 100%;
    height: clamp(340px, 50vh, 520px);
    display: flex;
    align-items: center;
    justify-content: center;
    background: radial-gradient(circle at center, rgba(30, 41, 59, 0.4) 0%, rgba(5, 7, 13, 0.95) 100%);
    border-radius: var(--radius-lg);
    position: relative;
    cursor: zoom-in;
    overflow: hidden;
    border: 1px solid var(--border-glass);
}

.amazon-main-stage img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.amazon-main-stage:hover img {
    transform: scale(1.03);
}

.amazon-view-full-hint {
    color: var(--text-secondary);
    font-size: 0.82rem;
    display: flex;
    align-items: center;
    gap: 6px;
    margin: 12px 0 16px;
    cursor: pointer;
    transition: color 0.2s;
}

.amazon-view-full-hint:hover {
    color: var(--gold-light);
    text-decoration: underline;
}

/* Amazon Bottom Thumbnails / Dots Bar */
.amazon-bottom-thumbs {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    padding: 8px 4px 12px;
    max-width: 100%;
    scrollbar-width: none;
    justify-content: center;
    flex-wrap: wrap;
}
.amazon-bottom-thumbs::-webkit-scrollbar { display: none; }

.amazon-thumb-pill {
    width: 58px;
    height: 58px;
    border-radius: 12px;
    border: 2px solid var(--border-glass);
    overflow: hidden;
    cursor: pointer;
    background: #000;
    transition: all 0.25s ease;
    flex-shrink: 0;
    position: relative;
}

.amazon-thumb-pill:hover {
    border-color: rgba(255, 255, 255, 0.4);
    transform: translateY(-2px);
}

.amazon-thumb-pill.active {
    border-color: var(--accent);
    box-shadow: 0 0 15px var(--accent-glow);
    transform: translateY(-3px) scale(1.06);
}

.amazon-thumb-pill img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Fullscreen Amazon Lightbox Modal */
.amazon-lightbox-modal {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(25px);
    z-index: 9999;
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    padding: 24px;
}

.lightbox-header {
    width: 100%;
    max-width: 1200px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #fff;
}

.lightbox-main-view {
    position: relative;
    max-width: 1100px;
    max-height: 72vh;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lightbox-main-view img, .lightbox-main-view video {
    max-width: 100%;
    max-height: 72vh;
    object-fit: contain;
    border-radius: var(--radius-md);
    box-shadow: 0 30px 80px rgba(0,0,0,0.9);
}

.lightbox-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(15, 23, 42, 0.85);
    border: 1px solid var(--border-hover);
    color: #fff;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    cursor: pointer;
    transition: all 0.25s ease;
    z-index: 50;
}

.lightbox-arrow:hover {
    background: var(--accent);
    box-shadow: 0 0 20px var(--accent-glow);
}

.lightbox-arrow.prev { left: -70px; }
.lightbox-arrow.next { right: -70px; }

@media (max-width: 900px) {
    .lightbox-arrow.prev { left: 10px; }
    .lightbox-arrow.next { right: 10px; }
}

/* ==========================================================================
   CYAN-GLOW ROUND MULTILINGUAL LANGUAGE WIDGET (EXACT UI SPEC)
   ========================================================================== */
.lang-selector-container {
    position: fixed;
    bottom: 30px;
    left: 30px;
    z-index: 99999;
    font-family: var(--font-heading);
    pointer-events: auto;
}

.lang-round-btn {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: #000;
    cursor: pointer;
    box-shadow: 0 0 0 3px #00f0ff, 0 0 16px rgba(0, 240, 255, 0.65), 0 10px 25px rgba(0, 0, 0, 0.8);
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #000;
    padding: 0;
    overflow: hidden;
}

.lang-round-btn:hover {
    transform: scale(1.12);
    box-shadow: 0 0 0 4px #00f0ff, 0 0 25px rgba(0, 240, 255, 0.9), 0 12px 30px rgba(0, 0, 0, 0.9);
}

.lang-svg-wrapper {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    overflow: hidden;
}

.svg-flag {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    display: block;
}

.lang-opt-svg-wrap {
    width: 26px;
    height: 26px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.4);
}

.lang-dropdown-menu {
    position: absolute;
    bottom: calc(100% + 14px);
    left: 0;
    width: 220px;
    max-height: 380px;
    overflow-y: auto;
    background: #0a0d14;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 18px;
    padding: 10px 8px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.95);
    display: none;
    flex-direction: column;
    gap: 4px;
    z-index: 100000;
    animation: fadeInSlideUp 0.25s ease;
}

/* Custom Cyan Scrollbar */
.lang-dropdown-menu::-webkit-scrollbar {
    width: 5px;
}
.lang-dropdown-menu::-webkit-scrollbar-track {
    background: transparent;
}
.lang-dropdown-menu::-webkit-scrollbar-thumb {
    background: #00f0ff;
    border-radius: 10px;
    box-shadow: 0 0 8px #00f0ff;
}

.lang-dropdown-menu.show {
    display: flex;
}

@keyframes fadeInSlideUp {
    from { opacity: 0; transform: translateY(10px) scale(0.96); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}

.lang-option {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 14px;
    border-radius: 10px;
    color: #e2e8f0;
    cursor: pointer;
    transition: all 0.2s ease;
}

.lang-option:hover {
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
}

.lang-opt-flag {
    font-size: 1.35rem;
    line-height: 1;
}

.lang-opt-name {
    font-weight: 600;
    font-size: 0.95rem;
}

.lang-active-radio {
    margin-left: auto;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: #00f0ff;
    box-shadow: 0 0 10px #00f0ff;
    border: 2px solid #fff;
}

/* ==========================================================================
   FLOATING COMPARE DOCK & FULLSCREEN MODAL
   ========================================================================== */
.compare-dock {
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%) translateY(120px);
    background: rgba(10, 14, 23, 0.95);
    backdrop-filter: blur(25px);
    border: 1px solid var(--accent);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.85), 0 0 20px rgba(229, 9, 20, 0.25);
    border-radius: 40px;
    padding: 10px 22px;
    display: flex;
    align-items: center;
    gap: 16px;
    z-index: 9990;
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    pointer-events: none;
    opacity: 0;
}

.compare-dock.visible {
    transform: translateX(-50%) translateY(0);
    pointer-events: auto;
    opacity: 1;
}

.compare-slots {
    display: flex;
    gap: 8px;
    align-items: center;
}

.compare-slot {
    position: relative;
    width: 52px;
    height: 36px;
    border-radius: 6px;
    overflow: hidden;
    border: 1px solid var(--border-hover);
    flex-shrink: 0;
    background: #000;
}

.compare-slot img {
    width: 52px;
    height: 36px;
    object-fit: cover;
    display: block;
}

.compare-slot .remove-btn {
    position: absolute;
    top: 2px;
    right: 2px;
    background: rgba(0, 0, 0, 0.85);
    color: #fff;
    border: none;
    border-radius: 50%;
    width: 14px;
    height: 14px;
    font-size: 8px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    transition: background 0.2s;
}

.compare-slot .remove-btn:hover {
    background: var(--accent);
}

.compare-modal {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.92);
    backdrop-filter: blur(25px);
    z-index: 99999;
    display: none;
    overflow-y: auto;
    padding: clamp(20px, 4vw, 50px) 20px;
}

.compare-table {
    width: 100%;
    max-width: 1100px;
    margin: 0 auto;
    border-collapse: separate;
    border-spacing: 0;
    background: var(--bg-card);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-xl);
    overflow: hidden;
}

.compare-table th, .compare-table td {
    padding: 16px 20px;
    border-bottom: 1px solid var(--border-glass);
    border-right: 1px solid var(--border-glass);
    font-size: 0.95rem;
}

.compare-table th:last-child, .compare-table td:last-child {
    border-right: none;
}

.compare-table tr:last-child td {
    border-bottom: none;
}

.compare-table thead th {
    background: rgba(15, 23, 42, 0.85);
    vertical-align: top;
}

/* ==========================================================================
   MOBILE-FIRST APP-LIKE RESPONSIVE SUITE (< 768px & < 480px)
   ========================================================================== */
html, body {
    touch-action: manipulation;
    -webkit-text-size-adjust: 100%;
    overflow-x: hidden !important;
    max-width: 100vw !important;
}

@media (max-width: 768px) {
    .container {
        padding-left: 14px !important;
        padding-right: 14px !important;
        width: 100% !important;
        max-width: 100vw !important;
        box-sizing: border-box !important;
    }
    
    /* Header & Navigation */
    .site-header {
        padding: 8px 0 !important;
    }
    .navbar {
        padding: 0 4px !important;
        display: flex !important;
        justify-content: space-between !important;
        align-items: center !important;
    }
    .brand-logo-img {
        height: 38px !important;
    }
    #nav-brand-name {
        font-size: 1.05rem !important;
    }
    .nav-links { display: none !important; }
    
    .nav-actions {
        display: flex !important;
        align-items: center !important;
        gap: 6px !important;
    }
    .nav-actions .btn {
        padding: 6px 10px !important;
        font-size: 0.78rem !important;
        white-space: nowrap !important;
    }
    
    /* Hero Section - Centered */
    .hero-section {
        padding: 20px 0 10px !important;
    }
    .hero-grid {
        grid-template-columns: 1fr !important;
        gap: 20px !important;
        text-align: center !important;
    }
    .hero-content {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        text-align: center !important;
    }
    .hero-content div[style*="display: flex"] {
        justify-content: center !important;
        margin-left: auto !important;
        margin-right: auto !important;
    }
    .hero-content h1 {
        font-size: 1.65rem !important;
        line-height: 1.25 !important;
        text-align: center !important;
        margin: 0 auto 10px !important;
    }
    .hero-content p {
        font-size: 0.88rem !important;
        line-height: 1.4 !important;
        text-align: center !important;
        margin: 0 auto 16px !important;
        max-width: 90% !important;
    }
    .hero-content div[style*="gap: 16px"] {
        display: flex !important;
        flex-direction: column !important;
        width: 100% !important;
        max-width: 320px !important;
        margin: 0 auto !important;
        gap: 10px !important;
    }
    .hero-content div[style*="gap: 16px"] .btn {
        width: 100% !important;
        justify-content: center !important;
    }
    .hero-card-preview {
        min-height: 190px !important;
        max-width: 340px !important;
        margin: 0 auto !important;
        aspect-ratio: 16/9 !important;
    }
    .hero-stats {
        margin: 18px auto 0 !important;
        padding-top: 14px !important;
        gap: 10px !important;
        width: 100% !important;
        max-width: 340px !important;
        text-align: center !important;
    }
    .stat-item .stat-num {
        font-size: 1.35rem !important;
    }
    .stat-item .stat-label {
        font-size: 0.7rem !important;
    }
    
    /* Section Headings - Centered */
    .section-header {
        margin-bottom: 20px !important;
        text-align: center !important;
    }
    .section-header h2 {
        font-size: 1.55rem !important;
        line-height: 1.25 !important;
        text-align: center !important;
        word-break: break-word !important;
    }
    .section-header p {
        font-size: 0.86rem !important;
        text-align: center !important;
    }
    
    /* Filter Bar */
    .filter-bar {
        margin: 10px auto 25px !important;
        padding: 16px !important;
        border-radius: var(--radius-lg) !important;
    }
    .filter-grid {
        grid-template-columns: 1fr !important;
        gap: 12px !important;
    }
    
    /* Body Types Horizontal Touch Carousel */
    .body-types-bar {
        display: flex !important;
        gap: 8px !important;
        overflow-x: auto !important;
        padding: 6px 4px 14px !important;
        margin-bottom: 16px !important;
        -webkit-overflow-scrolling: touch !important;
        scroll-snap-type: x mandatory !important;
        justify-content: flex-start !important;
    }
    .body-chip {
        scroll-snap-align: start !important;
        padding: 8px 14px !important;
        font-size: 0.82rem !important;
        flex-shrink: 0 !important;
    }
    
    /* Car Cards Inventory */
    .cars-grid {
        grid-template-columns: 1fr !important;
        gap: 22px !important;
        margin-bottom: 40px !important;
    }
    .car-card {
        border-radius: var(--radius-lg) !important;
    }
    .car-media-wrap {
        height: 215px !important;
    }
    .car-card-top-bar {
        top: 8px !important;
        left: 8px !important;
        right: 8px !important;
        gap: 4px !important;
    }
    .car-badges-left {
        gap: 4px !important;
        max-width: calc(100% - 75px) !important;
    }
    .badge {
        font-size: 0.65rem !important;
        padding: 4px 7px !important;
        border-radius: 4px !important;
    }
    .car-price-tag {
        bottom: 8px !important;
        right: 8px !important;
        padding: 6px 12px !important;
        font-size: 1.1rem !important;
        border-radius: var(--radius-sm) !important;
    }
    .car-info {
        padding: 16px !important;
    }
    .car-brand-model {
        font-size: 0.76rem !important;
    }
    .car-title {
        font-size: 1.15rem !important;
        margin: 4px 0 10px !important;
    }
    .car-specs-row {
        padding: 8px 0 !important;
        margin-bottom: 14px !important;
        gap: 6px !important;
    }
    .spec-chip {
        padding: 6px 4px !important;
    }
    .spec-chip-label {
        font-size: 0.62rem !important;
    }
    .spec-chip-value {
        font-size: 0.8rem !important;
    }
    
    /* Floating tools & Bottom Bar - Clean Mobile Screen */
    .mobile-bottom-bar { display: block !important; }
    body { padding-bottom: 80px !important; }
    .floating-whatsapp { display: none !important; }
    .gbme-ai-launcher { display: none !important; }
    .lang-selector-container { display: none !important; }
    .compare-dock { bottom: 84px !important; padding: 8px 14px !important; gap: 8px !important; }
    
    /* AI Widget on Mobile */
    .gbme-ai-modal {
        position: fixed !important;
        inset: auto 8px 75px 8px !important;
        width: auto !important;
        max-width: none !important;
        height: 78vh !important;
        max-height: 580px !important;
        border-radius: var(--radius-lg) !important;
        z-index: 100000 !important;
    }
}

/* ========================================== */
/* 📄 LUXURY EXECUTIVE VEHICLE BROCHURE (PDF PRINT) */
/* ========================================== */
.printable-brochure-container {
    display: none !important;
}

@media print {
    @page {
        size: A4 portrait;
        margin: 8mm 10mm;
    }
    
    html, body {
        background: #ffffff !important;
        color: #0f172a !important;
        font-size: 9pt !important;
        line-height: 1.35 !important;
        padding: 0 !important;
        margin: 0 !important;
        width: 100% !important;
        -webkit-print-color-adjust: exact !important;
        print-color-adjust: exact !important;
    }

    /* Hide all webpage content except the printable brochure */
    body > *:not(#printable-brochure) {
        display: none !important;
        visibility: hidden !important;
        height: 0 !important;
        overflow: hidden !important;
    }

    /* Display ONLY the dedicated luxury PDF brochure */
    #printable-brochure,
    .printable-brochure-container {
        display: block !important;
        visibility: visible !important;
        position: relative !important;
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 auto !important;
        padding: 0 !important;
        background: #ffffff !important;
        color: #0f172a !important;
        font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif !important;
    }

    .print-header {
        display: flex !important;
        justify-content: space-between !important;
        align-items: center !important;
        padding-bottom: 8px !important;
    }
    .print-brand-left {
        display: flex !important;
        align-items: center !important;
        gap: 12px !important;
    }
    .print-logo {
        height: 48px !important;
        width: auto !important;
        object-fit: contain !important;
    }
    .print-brand-title {
        font-size: 15pt !important;
        font-weight: 900 !important;
        color: #0f172a !important;
        letter-spacing: 0.05em !important;
        line-height: 1.1 !important;
    }
    .print-brand-subtitle {
        font-size: 7pt !important;
        font-weight: 800 !important;
        color: #e50914 !important;
        letter-spacing: 0.1em !important;
    }
    .print-brand-legal {
        font-size: 6.5pt !important;
        color: #64748b !important;
    }
    .print-brand-right {
        text-align: right !important;
    }
    .print-doc-badge {
        display: inline-block !important;
        background: #0f172a !important;
        color: #ffffff !important;
        font-size: 7.5pt !important;
        font-weight: 800 !important;
        padding: 3px 8px !important;
        border-radius: 4px !important;
        letter-spacing: 0.05em !important;
        margin-bottom: 3px !important;
    }
    .print-doc-meta {
        font-size: 7pt !important;
        color: #334155 !important;
        line-height: 1.25 !important;
    }

    .print-divider {
        height: 2.5px !important;
        background: #e50914 !important;
        margin: 6px 0 10px !important;
        border-radius: 2px !important;
    }

    /* Hero Banner */
    .print-hero-banner {
        display: flex !important;
        justify-content: space-between !important;
        align-items: center !important;
        background: #f8fafc !important;
        border: 1px solid #cbd5e1 !important;
        border-radius: 6px !important;
        padding: 8px 12px !important;
        margin-bottom: 10px !important;
    }
    .print-car-condition {
        font-size: 7pt !important;
        font-weight: 800 !important;
        color: #e50914 !important;
        letter-spacing: 0.08em !important;
    }
    .print-car-title {
        font-size: 13.5pt !important;
        font-weight: 900 !important;
        color: #0f172a !important;
        margin: 2px 0 !important;
        line-height: 1.15 !important;
    }
    .print-car-subtitle {
        font-size: 8pt !important;
        color: #475569 !important;
        font-weight: 600 !important;
    }
    .print-hero-price-box {
        text-align: right !important;
        background: #ffffff !important;
        border: 1.5px solid #e50914 !important;
        border-radius: 6px !important;
        padding: 5px 12px !important;
        min-width: 130px !important;
    }
    .print-price-label {
        font-size: 6pt !important;
        font-weight: 800 !important;
        color: #64748b !important;
        letter-spacing: 0.05em !important;
    }
    .print-price-value {
        font-size: 15pt !important;
        font-weight: 900 !important;
        color: #e50914 !important;
        line-height: 1.1 !important;
    }
    .print-price-sub {
        font-size: 6pt !important;
        color: #475569 !important;
    }

    /* Main Grid */
    .print-main-grid {
        display: grid !important;
        grid-template-columns: 45% 53% !important;
        gap: 12px !important;
        margin-bottom: 10px !important;
    }
    .print-photo-frame {
        width: 100% !important;
        height: 170px !important;
        border-radius: 6px !important;
        overflow: hidden !important;
        border: 1px solid #cbd5e1 !important;
        margin-bottom: 8px !important;
        background: #f1f5f9 !important;
    }
    .print-photo-frame img {
        width: 100% !important;
        height: 100% !important;
        object-fit: cover !important;
    }
    .print-trust-box {
        background: #f8fafc !important;
        border: 1px solid #cbd5e1 !important;
        border-radius: 6px !important;
        padding: 6px 10px !important;
        display: flex !important;
        flex-direction: column !important;
        gap: 5px !important;
    }
    .print-trust-item {
        display: flex !important;
        align-items: flex-start !important;
        gap: 6px !important;
        font-size: 7pt !important;
        color: #1e293b !important;
        line-height: 1.2 !important;
    }
    .print-trust-item strong {
        display: block !important;
        font-size: 7.5pt !important;
        color: #0f172a !important;
    }
    .print-trust-item p {
        margin: 0 !important;
        font-size: 6.5pt !important;
        color: #64748b !important;
    }
    .print-trust-icon {
        font-size: 10pt !important;
        line-height: 1 !important;
    }

    /* Specs Table */
    .print-section-title {
        font-size: 8pt !important;
        font-weight: 900 !important;
        color: #0f172a !important;
        letter-spacing: 0.05em !important;
        margin-bottom: 4px !important;
        padding-bottom: 2px !important;
        border-bottom: 1.5px solid #e2e8f0 !important;
    }
    .print-specs-table {
        width: 100% !important;
        border-collapse: collapse !important;
        font-size: 7.5pt !important;
    }
    .print-specs-table tr {
        border-bottom: 1px solid #f1f5f9 !important;
    }
    .print-specs-table th {
        text-align: left !important;
        padding: 2.5px 5px !important;
        color: #64748b !important;
        font-weight: 600 !important;
        width: 44% !important;
        background: #f8fafc !important;
    }
    .print-specs-table td {
        text-align: right !important;
        padding: 2.5px 5px !important;
        color: #0f172a !important;
        font-weight: 700 !important;
    }

    /* Features Grid */
    .print-features-section {
        margin-bottom: 8px !important;
    }
    .print-features-grid {
        display: grid !important;
        grid-template-columns: repeat(3, 1fr) !important;
        gap: 3px 8px !important;
        font-size: 7pt !important;
        color: #1e293b !important;
    }
    .print-feat-item {
        display: flex !important;
        align-items: center !important;
        gap: 4px !important;
    }
    .print-check {
        color: #16a34a !important;
        font-weight: 900 !important;
    }

    /* Description */
    .print-desc-section {
        margin-bottom: 6px !important;
    }
    .print-desc-text {
        font-size: 7pt !important;
        color: #334155 !important;
        line-height: 1.35 !important;
        white-space: pre-line !important;
    }

    /* Maintenance Box */
    .print-maintenance-box {
        background: #f8fafc !important;
        border-left: 3px solid #16a34a !important;
        padding: 5px 8px !important;
        font-size: 7pt !important;
        color: #1e293b !important;
        margin-bottom: 10px !important;
        border-radius: 0 4px 4px 0 !important;
    }

    /* Footer */
    .print-footer {
        display: flex !important;
        justify-content: space-between !important;
        align-items: flex-end !important;
        border-top: 1.5px solid #cbd5e1 !important;
        padding-top: 6px !important;
        font-size: 6.5pt !important;
        color: #475569 !important;
        line-height: 1.3 !important;
    }
    .print-footer-right {
        text-align: right !important;
    }
}

/* ==========================================================================
   🤖 GBME MOTORS - AI VIRTUAL ASSISTANT WIDGET (LUXURY GLASSMORPHIC UI)
   ========================================================================== */

/* Floating Launcher Button */
.gbme-ai-launcher {
    position: fixed;
    bottom: 95px;
    right: 24px;
    z-index: 9990;
    display: flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(135deg, #00f0ff 0%, #0284c7 50%, #1e1b4b 100%);
    border: 1px solid rgba(0, 240, 255, 0.6);
    color: #fff;
    padding: 10px 16px;
    border-radius: 50px;
    cursor: pointer;
    box-shadow: 0 8px 25px rgba(0, 240, 255, 0.35), 0 0 15px rgba(0, 240, 255, 0.2);
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    font-family: inherit;
    outline: none;
}

.gbme-ai-launcher:hover {
    transform: translateY(-3px) scale(1.04);
    box-shadow: 0 12px 30px rgba(0, 240, 255, 0.5), 0 0 25px rgba(0, 240, 255, 0.4);
    border-color: #00f0ff;
}

.gbme-ai-launcher.ai-active {
    background: linear-gradient(135deg, #0ea5e9 0%, #0369a1 100%);
    border-color: #38bdf8;
}

.ai-launcher-icon {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    color: #fff;
}

.ai-launcher-label {
    font-size: 0.88rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    white-space: nowrap;
}

.ai-pulse-ring {
    position: absolute;
    inset: -4px;
    border-radius: 50px;
    border: 2px solid rgba(0, 240, 255, 0.4);
    animation: aiPulse 2.5s infinite;
    pointer-events: none;
}

@keyframes aiPulse {
    0% { transform: scale(1); opacity: 0.8; }
    50% { transform: scale(1.06); opacity: 0; }
    100% { transform: scale(1); opacity: 0; }
}

/* Modal Chat Window */
.gbme-ai-modal {
    position: fixed;
    bottom: 100px;
    right: 24px;
    width: 390px;
    max-width: calc(100vw - 32px);
    height: 540px;
    max-height: calc(100vh - 125px);
    background: rgba(10, 15, 29, 0.96);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(0, 240, 255, 0.35);
    border-radius: 20px;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.85), 0 0 30px rgba(0, 240, 255, 0.15);
    z-index: 10000;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    animation: aiSlideUp 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes aiSlideUp {
    from { opacity: 0; transform: translateY(20px) scale(0.96); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}

/* Header */
.ai-modal-header {
    background: linear-gradient(135deg, rgba(0, 240, 255, 0.15) 0%, rgba(15, 23, 42, 0.8) 100%);
    border-bottom: 1px solid rgba(0, 240, 255, 0.2);
    padding: 14px 18px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

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

.ai-avatar {
    position: relative;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: linear-gradient(135deg, #00f0ff, #0284c7);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.15rem;
    color: #fff;
    box-shadow: 0 0 10px rgba(0, 240, 255, 0.5);
}

.ai-status-dot {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 10px;
    height: 10px;
    background: #10b981;
    border: 2px solid #0f172a;
    border-radius: 50%;
}

.ai-title {
    font-weight: 800;
    font-size: 0.95rem;
    color: #fff;
    letter-spacing: -0.01em;
}

.ai-subtitle {
    font-size: 0.72rem;
    color: #94a3b8;
}

.ai-btn-close {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: #cbd5e1;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
}

.ai-btn-close:hover {
    background: rgba(239, 68, 68, 0.3);
    color: #f87171;
    border-color: #ef4444;
}

/* Messages Stream */
.ai-messages-wrap {
    flex: 1;
    overflow-y: auto;
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 14px;
    scroll-behavior: smooth;
}

.ai-messages-wrap::-webkit-scrollbar {
    width: 5px;
}
.ai-messages-wrap::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.15);
    border-radius: 10px;
}

/* Message Bubbles */
.ai-msg {
    display: flex;
    flex-direction: column;
    max-width: 88%;
}

.ai-msg-bot {
    align-self: flex-start;
}

.ai-msg-user {
    align-self: flex-end;
}

.ai-msg-bubble {
    padding: 12px 16px;
    border-radius: 16px;
    font-size: 0.88rem;
    line-height: 1.55;
    word-break: break-word;
}

.ai-msg-bot .ai-msg-bubble {
    background: rgba(30, 41, 59, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-left: 3px solid #00f0ff;
    color: #e2e8f0;
    border-top-left-radius: 4px;
}

.ai-msg-user .ai-msg-bubble {
    background: linear-gradient(135deg, #0284c7, #0369a1);
    color: #ffffff;
    border-top-right-radius: 4px;
    box-shadow: 0 4px 12px rgba(2, 132, 199, 0.3);
}

.ai-link {
    color: #00f0ff !important;
    text-decoration: underline;
    font-weight: 700;
}

/* Chips / Quick Suggestions */
.ai-chips-wrap {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 4px;
    padding-left: 4px;
}

.ai-chip {
    background: rgba(0, 240, 255, 0.08);
    border: 1px solid rgba(0, 240, 255, 0.3);
    color: #00f0ff;
    font-size: 0.75rem;
    font-weight: 600;
    padding: 6px 11px;
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.2s ease;
    text-align: left;
}

.ai-chip:hover {
    background: rgba(0, 240, 255, 0.2);
    border-color: #00f0ff;
    transform: translateY(-1px);
    color: #fff;
}

/* Escalation Bar */
.ai-escalation-bar {
    background: rgba(15, 23, 42, 0.9);
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    padding: 8px 16px;
    font-size: 0.75rem;
    color: #94a3b8;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.ai-wa-btn {
    background: rgba(37, 211, 102, 0.15);
    border: 1px solid #25d366;
    color: #25d366;
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 700;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    transition: all 0.2s ease;
}

.ai-wa-btn:hover {
    background: #25d366;
    color: #fff;
}

/* Input Form */
.ai-input-form {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 14px;
    background: rgba(15, 23, 42, 0.95);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.ai-input-field {
    flex: 1;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 12px;
    padding: 10px 14px;
    font-size: 0.85rem;
    color: #fff;
    outline: none;
    transition: border-color 0.2s ease;
}

.ai-input-field:focus {
    border-color: #00f0ff;
    background: rgba(255, 255, 255, 0.09);
}

.ai-send-btn {
    background: linear-gradient(135deg, #00f0ff, #0284c7);
    border: none;
    color: #fff;
    width: 38px;
    height: 38px;
    border-radius: 10px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.95rem;
    transition: transform 0.2s ease, opacity 0.2s ease;
}

.ai-send-btn:hover {
    transform: scale(1.05);
}

.ai-send-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* Typing Indicator */
.ai-typing-bubble {
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 10px 16px;
}

.ai-dot {
    width: 6px;
    height: 6px;
    background: #00f0ff;
    border-radius: 50%;
    animation: aiBounce 1.4s infinite ease-in-out both;
}

.ai-dot:nth-child(1) { animation-delay: -0.32s; }
.ai-dot:nth-child(2) { animation-delay: -0.16s; }

@keyframes aiBounce {
    0%, 80%, 100% { transform: scale(0); opacity: 0.4; }
    40% { transform: scale(1); opacity: 1; }
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .gbme-ai-launcher {
        bottom: 80px;
        right: 16px;
        padding: 8px 12px;
    }
    .ai-launcher-label {
        display: none;
    }
    .gbme-ai-modal {
        bottom: 75px;
        right: 12px;
        left: 12px;
        width: auto;
        height: 480px;
    }
}

/* ==========================================================================
   ADMIN CUSTOM TABLES (Sharp row dividers and clear separation)
   ========================================================================== */
.table-custom {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    text-align: left;
}

.table-custom thead th {
    background: rgba(15, 23, 42, 0.95);
    color: var(--text-muted);
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 16px 18px;
    border-bottom: 2px solid rgba(255, 255, 255, 0.18);
    position: sticky;
    top: 0;
    z-index: 10;
}

.table-custom tbody tr {
    border-bottom: 1px solid rgba(255, 255, 255, 0.15) !important;
    transition: background 0.2s ease, transform 0.1s ease;
    background: rgba(15, 23, 42, 0.3);
}

.table-custom tbody tr:hover {
    background: rgba(255, 255, 255, 0.05) !important;
}

.table-custom tbody td {
    padding: 18px 18px !important;
    vertical-align: middle;
    border-bottom: 1px solid rgba(255, 255, 255, 0.15) !important;
}

.table-custom tbody tr:last-child td {
    border-bottom: none !important;
}

/* ==========================================================================
   HORIZONTAL AUTOSCOUT24 LUXURY SPECS CARDS (Car Detail Page)
   ========================================================================== */
.detail-specs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
    gap: 14px;
    width: 100%;
}

.detail-spec-card {
    background: rgba(15, 23, 42, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-md);
    padding: 12px 16px;
    min-height: 68px;
    display: flex;
    align-items: center;
    gap: 14px;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    box-sizing: border-box;
}

.detail-spec-card-full {
    grid-column: 1 / -1 !important;
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.06), rgba(15, 23, 42, 0.85)) !important;
    border: 1px solid rgba(245, 158, 11, 0.3) !important;
    padding: 14px 18px !important;
    min-height: auto !important;
}

.detail-spec-card:hover {
    border-color: rgba(229, 9, 20, 0.4);
    background: rgba(20, 30, 52, 0.85);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.5), 0 0 15px rgba(229, 9, 20, 0.15);
}

.detail-spec-icon-box {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.02));
    border: 1px solid rgba(255, 255, 255, 0.12);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    flex-shrink: 0;
    box-shadow: 0 2px 8px rgba(0,0,0,0.4);
}

.detail-spec-info {
    display: flex;
    flex-direction: column;
    gap: 3px;
    min-width: 0;
}

.detail-spec-label {
    font-size: 0.78rem;
    color: var(--text-muted);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    display: flex;
    align-items: center;
    gap: 6px;
}

.detail-spec-val {
    font-size: 1.02rem;
    font-weight: 800;
    color: #ffffff;
    letter-spacing: -0.01em;
    line-height: 1.35;
    word-break: normal;
}

@media (max-width: 768px) {
    .detail-specs-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
    .detail-spec-card {
        padding: 12px 14px;
        gap: 10px;
    }
    .detail-spec-icon-box {
        width: 38px;
        height: 38px;
        font-size: 1.15rem;
    }
    .detail-spec-val {
        font-size: 0.92rem;
    }
}

@media (max-width: 480px) {
    .detail-specs-grid {
        grid-template-columns: 1fr;
    }
}

/* ==========================================================================
   PRINT STYLES - 100% IDENTICAL TO WEB VIEW
   ========================================================================== */
@media print {
    * {
        -webkit-print-color-adjust: exact !important;
        print-color-adjust: exact !important;
        color-adjust: exact !important;
    }

    body {
        background: #05070d !important;
        color: #ffffff !important;
    }

    /* Hide non-printable floating tools & forms */
    .floating-whatsapp,
    .mobile-bottom-bar,
    .lang-selector-container,
    .gbme-ai-launcher,
    .gbme-ai-modal,
    #inquiry-form-box,
    #similar-section,
    #amazon-lightbox-modal,
    .btn-whatsapp,
    button[onclick*="openDepositModal"],
    button[onclick*="printVehicleBrochure"],
    .amazon-view-full-hint {
        display: none !important;
    }
}





