/* ==========================================================================
   Multi-Vendor Bike Marketplace - Customer Web Design System
   Modern, High-Performance, Vibrant Aesthetics with Rich Micro-Interactions
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&family=Outfit:wght@400;500;600;700;800&display=swap');

:root {
    --font-main: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
    --font-heading: 'Outfit', system-ui, -apple-system, sans-serif;

    /* Palette: Premium Dark Navy & Vibrant Performance Colors */
    --primary: #2563eb;
    --primary-hover: #1d4ed8;
    --primary-light: #eff6ff;
    --accent: #f97316;
    --accent-hover: #ea580c;
    --accent-light: #fff7ed;
    --success: #10b981;
    --success-light: #ecfdf5;
    --warning: #f59e0b;
    --danger: #ef4444;
    --dark: #0f172a;
    --dark-muted: #334155;
    --text-primary: #0f172a;
    --text-secondary: #475569;
    --text-muted: #94a3b8;
    --bg-page: #f8fafc;
    --bg-card: #ffffff;
    --bg-elevated: #ffffff;
    --border: #e2e8f0;
    --border-hover: #cbd5e1;
    
    /* Shadows */
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
    --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
    --shadow-card-hover: 0 12px 28px -4px rgba(37, 99, 235, 0.12), 0 6px 12px -3px rgba(0, 0, 0, 0.06);

    /* Radii */
    --radius-sm: 6px;
    --radius-md: 10px;
    --radius-lg: 16px;
    --radius-full: 9999px;

    /* Transitions */
    --transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: var(--font-main);
    background-color: var(--bg-page);
    color: var(--text-primary);
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

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

a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition);
}

button {
    font-family: var(--font-main);
    cursor: pointer;
    border: none;
    background: none;
    transition: var(--transition);
}

input, select, textarea {
    font-family: var(--font-main);
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ==========================================================================
   NAVIGATION BAR (Glassmorphism & Fixed Header)
   ========================================================================== */
.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
    transition: var(--transition);
}

.nav-wrap {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
    gap: 20px;
}

.logo-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 22px;
    font-weight: 800;
    font-family: var(--font-heading);
    color: var(--dark);
}

.logo-icon {
    width: 38px;
    height: 38px;
    background: linear-gradient(135deg, var(--primary), #3b82f6);
    color: #fff;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 18px;
    box-shadow: 0 4px 10px rgba(37, 99, 235, 0.3);
}

.logo-highlight {
    color: var(--primary);
}

.header-search {
    flex: 1;
    max-width: 480px;
    position: relative;
    display: none;
}

@media (min-width: 768px) {
    .header-search {
        display: block;
    }
}

.header-search input {
    width: 100%;
    height: 44px;
    padding: 0 16px 0 44px;
    border-radius: var(--radius-full);
    border: 1px solid var(--border);
    background: #f1f5f9;
    font-size: 14px;
    outline: none;
    transition: var(--transition);
}

.header-search input:focus {
    background: #fff;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15);
}

.search-icon-abs {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted);
    font-size: 16px;
}

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

.nav-link {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-secondary);
    padding: 8px 12px;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    gap: 6px;
}

.nav-link:hover, .nav-link.active {
    color: var(--primary);
    background: var(--primary-light);
}

.badge-count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 18px;
    height: 18px;
    padding: 0 5px;
    background: var(--accent);
    color: white;
    font-size: 11px;
    font-weight: 700;
    border-radius: var(--radius-full);
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-weight: 600;
    font-size: 14px;
    padding: 10px 18px;
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: var(--transition);
    white-space: nowrap;
}

.btn-primary {
    background: var(--primary);
    color: white;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.25);
}
.btn-primary:hover {
    background: var(--primary-hover);
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(37, 99, 235, 0.35);
}

.btn-accent {
    background: var(--accent);
    color: white;
    box-shadow: 0 4px 12px rgba(249, 115, 22, 0.25);
}
.btn-accent:hover {
    background: var(--accent-hover);
    transform: translateY(-1px);
}

.btn-outline {
    border: 1px solid var(--border);
    background: white;
    color: var(--dark);
}
.btn-outline:hover {
    border-color: var(--primary);
    color: var(--primary);
    background: var(--primary-light);
}

.btn-sm {
    padding: 6px 12px;
    font-size: 13px;
    border-radius: var(--radius-sm);
}

.btn-lg {
    padding: 14px 26px;
    font-size: 16px;
    border-radius: var(--radius-lg);
}

.btn-icon-round {
    width: 38px;
    height: 38px;
    border-radius: var(--radius-full);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #f1f5f9;
    color: var(--text-secondary);
    border: 1px solid var(--border);
}
.btn-icon-round:hover {
    background: var(--primary-light);
    color: var(--primary);
    border-color: var(--primary);
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */
.hero-section {
    background: linear-gradient(135deg, #0b1329 0%, #172554 50%, #1e1b4b 100%);
    color: white;
    padding: 64px 0 80px;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(37,99,235,0.25) 0%, rgba(0,0,0,0) 70%);
    top: -100px;
    right: -100px;
    border-radius: 50%;
    pointer-events: none;
}

.hero-content {
    max-width: 760px;
    margin: 0 auto;
    text-align: center;
    position: relative;
    z-index: 1;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 16px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--radius-full);
    font-size: 13px;
    font-weight: 600;
    color: #93c5fd;
    margin-bottom: 20px;
    backdrop-filter: blur(8px);
}

.hero-title {
    font-size: clamp(32px, 5vw, 54px);
    line-height: 1.15;
    font-weight: 800;
    color: white;
    margin-bottom: 16px;
}

.hero-title span {
    background: linear-gradient(90deg, #60a5fa, #f97316);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-subtitle {
    font-size: clamp(15px, 2vw, 18px);
    color: #cbd5e1;
    margin-bottom: 32px;
    font-weight: 400;
}

/* Quick Search Box in Hero */
.hero-search-card {
    background: white;
    border-radius: var(--radius-lg);
    padding: 12px;
    box-shadow: var(--shadow-xl);
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
}

.search-input-group {
    flex: 2;
    min-width: 220px;
    position: relative;
}

.search-input-group input {
    width: 100%;
    height: 48px;
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 0 16px 0 42px;
    font-size: 15px;
    color: var(--dark);
    outline: none;
}
.search-input-group input:focus {
    border-color: var(--primary);
}

.search-select-group {
    flex: 1;
    min-width: 160px;
}

.search-select-group select {
    width: 100%;
    height: 48px;
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 0 14px;
    font-size: 14px;
    color: var(--dark);
    outline: none;
    background-color: white;
}

/* ==========================================================================
   POPULAR BRANDS ROW
   ========================================================================== */
.section {
    padding: 56px 0;
}

.section-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    margin-bottom: 28px;
    gap: 16px;
}

.section-title {
    font-size: 26px;
    color: var(--dark);
    line-height: 1.2;
}

.section-subtitle {
    font-size: 14px;
    color: var(--text-secondary);
    margin-top: 4px;
}

.brands-scroller {
    display: flex;
    gap: 16px;
    overflow-x: auto;
    padding-bottom: 12px;
    scrollbar-width: thin;
}

.brand-chip {
    flex: 0 0 auto;
    background: white;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 14px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    min-width: 120px;
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.brand-chip:hover, .brand-chip.active {
    border-color: var(--primary);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.brand-chip-name {
    font-weight: 700;
    font-size: 14px;
    color: var(--dark);
}

.brand-chip-count {
    font-size: 12px;
    color: var(--text-muted);
}

/* ==========================================================================
   BIKE CARD GRID
   ========================================================================== */
.bike-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 24px;
}

.bike-card {
    background: white;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    position: relative;
}

.bike-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-card-hover);
    border-color: var(--border-hover);
}

.bike-card-image-wrap {
    height: 190px;
    background: #f1f5f9;
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

.bike-card-image-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.bike-card:hover .bike-card-image-wrap img {
    transform: scale(1.05);
}

.badge-tag {
    position: absolute;
    top: 12px;
    left: 12px;
    padding: 4px 10px;
    border-radius: var(--radius-sm);
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    z-index: 2;
}

.badge-tag-available {
    background: #dcfce7;
    color: #166534;
    border: 1px solid #bbf7d0;
}

.badge-tag-out_of_stock {
    background: #fee2e2;
    color: #991b1b;
    border: 1px solid #fecaca;
}

.badge-tag-offer {
    position: absolute;
    bottom: 12px;
    left: 12px;
    background: var(--accent);
    color: white;
    padding: 3px 8px;
    font-size: 11px;
    font-weight: 700;
    border-radius: 4px;
    z-index: 2;
}

.card-top-actions {
    position: absolute;
    top: 12px;
    right: 12px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    z-index: 2;
}

.action-circle-btn {
    width: 32px;
    height: 32px;
    border-radius: var(--radius-full);
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(4px);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--dark-muted);
    box-shadow: 0 2px 6px rgba(0,0,0,0.15);
    transition: var(--transition);
}

.action-circle-btn:hover {
    background: white;
    color: var(--primary);
    transform: scale(1.1);
}

.action-circle-btn.active-wish {
    background: #fee2e2;
    color: #ef4444;
}

.bike-card-body {
    padding: 16px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.bike-brand-tag {
    font-size: 12px;
    font-weight: 700;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 4px;
}

.bike-title {
    font-size: 17px;
    font-weight: 700;
    color: var(--dark);
    line-height: 1.3;
    margin-bottom: 8px;
    cursor: pointer;
}
.bike-title:hover {
    color: var(--primary);
}

.bike-specs-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 12px;
}

.spec-pill {
    background: #f1f5f9;
    padding: 3px 8px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 600;
    color: var(--text-secondary);
}

.bike-showroom-meta {
    font-size: 12px;
    color: var(--text-muted);
    margin-bottom: 14px;
    display: flex;
    align-items: center;
    gap: 4px;
}

.bike-card-footer {
    margin-top: auto;
    padding-top: 12px;
    border-top: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.bike-price-block {
    display: flex;
    flex-direction: column;
}

.price-main {
    font-size: 18px;
    font-weight: 800;
    color: var(--dark);
    font-family: var(--font-heading);
}

.price-strike {
    font-size: 12px;
    color: var(--text-muted);
    text-decoration: line-through;
}

/* ==========================================================================
   SHOWROOM CARDS
   ========================================================================== */
.showroom-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 20px;
}

.showroom-card {
    background: white;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
    padding: 20px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.showroom-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary);
}

.showroom-header-wrap {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 14px;
}

.showroom-avatar {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-md);
    background: var(--primary-light);
    color: var(--primary);
    font-size: 20px;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
}

.showroom-title {
    font-size: 16px;
    font-weight: 700;
    color: var(--dark);
}

.showroom-city {
    font-size: 12px;
    color: var(--text-muted);
}

.showroom-details-row {
    font-size: 13px;
    color: var(--text-secondary);
    margin-bottom: 6px;
    display: flex;
    align-items: center;
    gap: 8px;
}

/* ==========================================================================
   MODALS, DRAWERS & DETAIL VIEWS
   ========================================================================== */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.6);
    backdrop-filter: blur(4px);
    z-index: 200;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease;
}

.modal-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

.modal-box {
    background: white;
    border-radius: var(--radius-lg);
    width: 100%;
    max-width: 720px;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: var(--shadow-xl);
    position: relative;
    padding: 24px;
}

.modal-box-lg {
    max-width: 960px;
}

.modal-close-btn {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 32px;
    height: 32px;
    border-radius: var(--radius-full);
    background: #f1f5f9;
    color: var(--dark);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    cursor: pointer;
}

/* Comparison Table */
.comparison-table-wrap {
    overflow-x: auto;
    margin-top: 16px;
}

.comparison-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 13px;
}

.comparison-table th, .comparison-table td {
    padding: 12px 14px;
    border-bottom: 1px solid var(--border);
    text-align: left;
}

.comparison-table th {
    background: #f8fafc;
    font-weight: 700;
    color: var(--dark);
    width: 220px;
}

.comparison-bike-card-head {
    text-align: center;
    padding: 12px;
    background: #f8fafc;
}

.comparison-bike-card-head img {
    width: 100%;
    height: 100px;
    object-fit: cover;
    border-radius: var(--radius-sm);
    margin-bottom: 8px;
}

/* Forms */
.form-group {
    margin-bottom: 16px;
}

.form-label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 6px;
}

.form-control {
    width: 100%;
    height: 44px;
    padding: 0 14px;
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    font-size: 14px;
    color: var(--dark);
    outline: none;
    transition: var(--transition);
}

.form-control:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.12);
}

textarea.form-control {
    height: 100px;
    padding: 10px 14px;
    resize: vertical;
}

/* Toast notifications */
.toast-container {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 300;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.toast {
    background: var(--dark);
    color: white;
    padding: 12px 18px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    font-size: 14px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 260px;
    animation: toastIn 0.3s ease;
}

.toast.success {
    background: #065f46;
    border-left: 4px solid var(--success);
}

.toast.error {
    background: #7f1d1d;
    border-left: 4px solid var(--danger);
}

@keyframes toastIn {
    from {
        opacity: 0;
        transform: translateY(16px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Filter Bar */
.filter-bar {
    background: white;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
    padding: 16px;
    margin-bottom: 24px;
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: center;
}

.filter-bar select, .filter-bar input {
    height: 40px;
    padding: 0 12px;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border);
    font-size: 13px;
    outline: none;
    background: white;
}

/* Footer */
.site-footer {
    background: var(--dark);
    color: #94a3b8;
    padding: 48px 0 24px;
    margin-top: 64px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 32px;
    margin-bottom: 40px;
}

.footer-col h4 {
    color: white;
    font-size: 16px;
    margin-bottom: 16px;
}

.footer-col ul {
    list-style: none;
}

.footer-col li {
    margin-bottom: 8px;
    font-size: 14px;
}

.footer-col a:hover {
    color: white;
}

.footer-bottom {
    padding-top: 24px;
    border-top: 1px solid #1e293b;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    font-size: 13px;
    gap: 12px;
}

/* ==========================================================================
   STEP 5: LOCATION, GOOGLE MAPS & ADVANCED DISCOVERY STYLES
   ========================================================================== */

/* Navbar Location Pill */
.nav-location-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #f1f5f9;
    border: 1px solid var(--border);
    padding: 6px 14px;
    border-radius: var(--radius-full);
    font-size: 13px;
    font-weight: 600;
    color: var(--dark);
    cursor: pointer;
    transition: var(--transition);
}

.nav-location-pill:hover {
    background: var(--primary-light);
    border-color: #93c5fd;
    color: var(--primary);
}

.nav-location-pill i.fa-map-marker {
    color: var(--primary);
    font-size: 14px;
}

/* Distance Badges */
.distance-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    background: #eff6ff;
    color: #1d4ed8;
    border: 1px solid #bfdbfe;
    padding: 3px 8px;
    border-radius: var(--radius-full);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: -0.01em;
}

.distance-badge i {
    font-size: 11px;
    color: var(--primary);
}

/* Showroom Controls Bar */
.showroom-controls-bar {
    background: white;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 14px 18px;
    margin-bottom: 24px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
}

.radius-filter-wrap {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.radius-filter-label {
    font-size: 13px;
    font-weight: 700;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: 4px;
}

.radius-chips-group {
    display: flex;
    gap: 6px;
    align-items: center;
}

.radius-chip {
    padding: 5px 12px;
    border-radius: var(--radius-full);
    font-size: 12px;
    font-weight: 600;
    border: 1px solid var(--border);
    background: #f8fafc;
    color: var(--text-secondary);
    cursor: pointer;
    transition: var(--transition);
}

.radius-chip:hover {
    background: #e2e8f0;
    color: var(--dark);
}

.radius-chip.active {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
    box-shadow: 0 2px 6px rgba(37, 99, 235, 0.3);
}

/* Segmented View Switcher (Cards vs Map) */
.view-mode-switcher {
    display: inline-flex;
    background: #f1f5f9;
    padding: 3px;
    border-radius: var(--radius-md);
    border: 1px solid var(--border);
}

.view-mode-btn {
    padding: 6px 14px;
    border-radius: var(--radius-sm);
    font-size: 13px;
    font-weight: 600;
    color: var(--text-secondary);
    background: transparent;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: var(--transition);
}

.view-mode-btn.active {
    background: white;
    color: var(--dark);
    box-shadow: var(--shadow-sm);
}

/* Showrooms Map View */
.showrooms-map-container {
    position: relative;
    width: 100%;
    height: 520px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--border);
    box-shadow: var(--shadow-md);
    background: #0f172a;
    margin-bottom: 30px;
}

.showrooms-map-canvas {
    width: 100%;
    height: 100%;
}

/* Map Showroom Preview Overlay Card */
.map-preview-card {
    position: absolute;
    bottom: 20px;
    left: 20px;
    width: calc(100% - 40px);
    max-width: 380px;
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(12px);
    border-radius: var(--radius-md);
    border: 1px solid rgba(255, 255, 255, 0.6);
    box-shadow: 0 16px 36px -4px rgba(0, 0, 0, 0.25);
    padding: 16px;
    z-index: 10;
    transition: var(--transition);
    animation: toastIn 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.map-preview-card .close-btn {
    position: absolute;
    top: 10px;
    right: 12px;
    font-size: 18px;
    color: var(--text-muted);
    cursor: pointer;
}

.map-preview-card .close-btn:hover {
    color: var(--dark);
}

.map-preview-title {
    font-size: 16px;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 4px;
}

.map-preview-meta {
    font-size: 13px;
    color: var(--text-secondary);
    margin-bottom: 8px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
}

.map-preview-actions {
    display: flex;
    gap: 8px;
    margin-top: 12px;
}

/* Get Directions Button */
.btn-directions {
    background: #059669;
    color: white;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    border-radius: var(--radius-sm);
    font-size: 13px;
    transition: var(--transition);
}

.btn-directions:hover {
    background: #047857;
    color: white;
    box-shadow: 0 4px 10px rgba(5, 150, 105, 0.3);
}

/* Location Selection Modal Styling */
.location-alert {
    padding: 12px 14px;
    border-radius: var(--radius-md);
    font-size: 13px;
    line-height: 1.5;
    margin-bottom: 16px;
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.location-alert.alert-warning {
    background: #fffbeb;
    border: 1px solid #fef3c7;
    color: #92400e;
}

.location-alert.alert-info {
    background: #eff6ff;
    border: 1px solid #dbeafe;
    color: #1e40af;
}

.popular-cities-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(110px, 1fr));
    gap: 8px;
    margin-bottom: 18px;
}

.city-quick-chip {
    padding: 8px 12px;
    background: #f8fafc;
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    font-size: 13px;
    font-weight: 600;
    color: var(--dark);
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
}

.city-quick-chip:hover, .city-quick-chip.active {
    background: var(--primary-light);
    border-color: #93c5fd;
    color: var(--primary);
    transform: translateY(-1px);
}

/* Fallback Radar Map SVG Elements */
.radar-grid-line {
    stroke: rgba(255, 255, 255, 0.08);
    stroke-width: 1;
}

.radar-sweep {
    transform-origin: center;
    animation: radarSweep 4s linear infinite;
}

@keyframes radarSweep {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.radar-user-pulse {
    animation: userPulse 2s ease-out infinite;
}

@keyframes userPulse {
    0% { r: 8px; opacity: 0.9; }
    50% { r: 24px; opacity: 0.3; }
    100% { r: 36px; opacity: 0; }
}

.radar-marker-pin {
    cursor: pointer;
    transition: transform 0.2s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.radar-marker-pin:hover {
    transform: scale(1.25);
}

