/* ==========================================================
   BaeCars Design System — BaeCars Premium
   Mapped from turo.com audit (March 2026)
   Adapted for Indian market with BaeCars branding
   ========================================================== */

/* === CSS Custom Properties (Design Tokens) === */
:root {
    /* Brand */
    --bc-primary: #ed3539;
    --bc-primary-hover: #d42f33;
    --bc-primary-light: rgba(237, 53, 57, 0.06);
    --bc-primary-tint: #FFF5F5;

    /* Neutrals (design system) */
    --bc-black: #231F20;
    --bc-heading: #231F20;
    --bc-body: #414143;
    --bc-caption: #808080;
    --bc-border: rgba(181, 180, 186, 0.25);
    --bc-input-border: #D4D4D4;
    --bc-divider: #E5E5E5;
    --bc-disabled: #D4D4D4;

    /* Backgrounds */
    --bc-white: #FFFFFF;
    --bc-off-white: #F4F4F4;
    --bc-warm: #FAF9F5;
    --bc-overlay: rgba(0, 0, 0, 0.45);

    /* Semantic */
    --bc-success: #37CD8F;
    --bc-info: #E8F4FD;
    --bc-warning: #F59E0B;
    --bc-danger: #DC2626;

    /* Typography */
    --bc-font: 'DM Sans', Avenir, 'Helvetica Neue', Helvetica, sans-serif;
    --bc-font-size: 16px;
    --bc-line-height: 1.5;

    /* Spacing (8px base) */
    --bc-space-xs: 4px;
    --bc-space-sm: 8px;
    --bc-space-md: 16px;
    --bc-space-lg: 24px;
    --bc-space-xl: 32px;
    --bc-space-2xl: 48px;
    --bc-space-3xl: 64px;
    --bc-space-4xl: 96px;

    /* Border Radius */
    --bc-radius-sm: 8px;
    --bc-radius-md: 12px;
    --bc-radius-lg: 16px;
    --bc-radius-pill: 50px;
    --bc-radius-circle: 50%;

    /* Shadows */
    --bc-shadow-sm: 0 1px 4px rgba(0, 0, 0, 0.06);
    --bc-shadow-md: 0 4px 16px rgba(0, 0, 0, 0.12);
    --bc-shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.15);
    --bc-shadow-xl: 0 16px 48px rgba(0, 0, 0, 0.12);

    /* Navbar */
    --bc-nav-height: 64px;
}

/* === Reset & Base === */
*, *::before, *::after {
    box-sizing: border-box;
    scroll-behavior: smooth;
}

body {
    font-family: var(--bc-font) !important;
    font-size: var(--bc-font-size);
    line-height: var(--bc-line-height);
    color: var(--bc-body) !important;
    background: var(--bc-white);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* === Typography === */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--bc-font) !important;
    color: var(--bc-heading) !important;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: var(--bc-space-md);
}

h1, .bc-h1 { font-size: 48px; font-weight: 900; }
h2, .bc-h2 { font-size: 36px; font-weight: 900; }
h3, .bc-h3 { font-size: 24px; font-weight: 700; }
h4, .bc-h4 { font-size: 20px; font-weight: 700; }
h5, .bc-h5 { font-size: 18px; font-weight: 700; }
h6, .bc-h6 { font-size: 16px; font-weight: 700; }

.bc-hero-title { font-size: 60px; font-weight: 900; line-height: 1.1; letter-spacing: -1px; }
.bc-section-title { font-size: 36px; font-weight: 900; }
.bc-card-title { font-size: 18px; font-weight: 700; color: var(--bc-heading); }
.bc-body { font-size: 16px; color: var(--bc-body); }
.bc-secondary { font-size: 14px; color: var(--bc-body); }
.bc-caption { font-size: 12px; color: var(--bc-caption); }
.bc-label { font-size: 12px; font-weight: 500; text-transform: uppercase; letter-spacing: 0.5px; color: var(--bc-heading); }
.bc-price { font-size: 24px; font-weight: 900; color: var(--bc-heading); }
.bc-price-lg { font-size: 32px; font-weight: 900; color: var(--bc-heading); }
.bc-stat-number { font-size: 48px; font-weight: 900; color: var(--bc-primary); }

p, span, li, td, th, label, a {
    font-family: var(--bc-font) !important;
}

a {
    color: var(--bc-heading);
    text-decoration: none;
    transition: color 0.2s ease;
}
a:hover {
    color: var(--bc-primary) !important;
    text-decoration: none;
}
.bc-link { color: var(--bc-primary); font-weight: 500; }
.bc-link:hover { text-decoration: underline; }

/* === Buttons === */
.bc-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--bc-space-sm);
    padding: 12px 24px;
    font-family: var(--bc-font) !important;
    font-size: 16px;
    font-weight: 700;
    line-height: 1;
    border: none;
    border-radius: var(--bc-radius-sm);
    cursor: pointer;
    transition: all 0.2s ease;
    text-decoration: none;
    white-space: nowrap;
}

.bc-btn-primary, .theme-btn {
    background: var(--bc-primary) !important;
    color: var(--bc-white) !important;
    border: none !important;
    border-radius: var(--bc-radius-sm) !important;
    font-family: var(--bc-font) !important;
    font-weight: 700 !important;
    font-size: 16px;
    padding: 12px 24px;
    box-shadow: none !important;
    text-transform: none !important;
    letter-spacing: 0 !important;
    transition: background 0.2s ease !important;
}
.bc-btn-primary:hover, .theme-btn:hover {
    background: var(--bc-primary-hover) !important;
    color: var(--bc-white) !important;
    transform: none !important;
    box-shadow: none !important;
    border: none !important;
}

.bc-btn-outline {
    background: transparent;
    color: var(--bc-heading);
    border: 1px solid var(--bc-heading);
    border-radius: var(--bc-radius-sm);
}
.bc-btn-outline:hover {
    background: var(--bc-off-white);
    color: var(--bc-heading);
}

.bc-btn-pill {
    border-radius: var(--bc-radius-pill);
}

.bc-btn-text {
    background: none;
    border: none;
    color: var(--bc-primary);
    font-weight: 500;
    padding: 0;
}
.bc-btn-text:hover {
    text-decoration: underline;
}

.bc-btn-sm { padding: 8px 16px; font-size: 14px; }
.bc-btn-lg { padding: 16px 32px; font-size: 18px; }
.bc-btn-block { width: 100%; }
.bc-btn:disabled { background: var(--bc-disabled); color: var(--bc-caption); cursor: not-allowed; }

/* === Form Elements === */
.bc-input, .form-control {
    width: 100%;
    padding: 10px 12px;
    font-family: var(--bc-font) !important;
    font-size: 16px;
    color: var(--bc-heading) !important;
    background: var(--bc-white);
    border: 1px solid var(--bc-input-border) !important;
    border-radius: var(--bc-radius-sm) !important;
    transition: border-color 0.2s ease;
    outline: none;
}
.bc-input:focus, .form-control:focus {
    border-color: var(--bc-primary) !important;
    box-shadow: none !important;
}
.bc-input::placeholder { color: var(--bc-caption); }

.bc-label, .label-text {
    display: block;
    font-family: var(--bc-font) !important;
    font-size: 12px !important;
    font-weight: 500 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    color: var(--bc-heading) !important;
    margin-bottom: var(--bc-space-xs);
}

.bc-select, .select-contain select, .select-contain-select {
    font-family: var(--bc-font) !important;
    border-radius: var(--bc-radius-sm) !important;
    border: 1px solid var(--bc-input-border);
    padding: 10px 12px;
    background: var(--bc-white);
    color: var(--bc-heading);
}

.bc-checkbox {
    width: 20px;
    height: 20px;
    border-radius: 4px;
    accent-color: var(--bc-primary);
}

.form-group .form-icon { color: var(--bc-caption) !important; }

/* === Cards === */
.bc-card, .card-item {
    background: var(--bc-white);
    border: none !important;
    border-radius: var(--bc-radius-md) !important;
    box-shadow: var(--bc-shadow-sm) !important;
    overflow: hidden;
    transition: box-shadow 0.3s ease;
}
.bc-card:hover, .card-item:hover {
    box-shadow: var(--bc-shadow-md) !important;
    transform: none !important;
}

.bc-card-img {
    width: 100%;
    aspect-ratio: 16/9;
    object-fit: cover;
}

.bc-card-body { padding: var(--bc-space-md); }

.bc-card-footer {
    padding: var(--bc-space-md);
    border-top: 1px solid var(--bc-divider);
    background: var(--bc-white) !important;
}

/* Car listing card */
.bc-car-card { position: relative; }
.bc-car-card .bc-favorite {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 36px;
    height: 36px;
    background: rgba(255,255,255,0.9);
    border: none;
    border-radius: var(--bc-radius-circle);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 2;
    transition: all 0.2s ease;
    font-size: 18px;
    color: var(--bc-heading);
}
.bc-car-card .bc-favorite:hover,
.bc-car-card .bc-favorite.active {
    color: var(--bc-primary);
}
.bc-car-card .bc-favorite.active i::before { content: "\f004"; font-weight: 900; }

.bc-car-meta {
    display: flex;
    align-items: center;
    gap: var(--bc-space-sm);
    font-size: 14px;
    color: var(--bc-body);
}

.bc-rating {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 14px;
    font-weight: 700;
    color: var(--bc-heading);
}
.bc-rating .bc-star { color: var(--bc-primary); }
.bc-rating .bc-trips { font-weight: 400; color: var(--bc-caption); }

.bc-host-avatar {
    width: 32px;
    height: 32px;
    border-radius: var(--bc-radius-circle);
    object-fit: cover;
    border: 2px solid var(--bc-white);
}

.bc-price-tag {
    font-size: 18px;
    font-weight: 900;
    color: var(--bc-heading);
}
.bc-price-tag .bc-per-day {
    font-size: 14px;
    font-weight: 400;
    color: var(--bc-caption);
}

.bc-save-badge {
    display: inline-block;
    background: var(--bc-success);
    color: var(--bc-white);
    font-size: 12px;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 20px;
}

/* === Badges === */
.bc-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 4px 12px;
    font-size: 12px;
    font-weight: 600;
    border-radius: 20px;
    font-family: var(--bc-font);
}
.bc-badge-primary { background: var(--bc-primary-tint); color: var(--bc-primary); }
.bc-badge-success { background: #E8F5E9; color: #16A34A; }
.bc-badge-warning { background: #FFF8E1; color: #F59E0B; }
.bc-badge-danger { background: #FFEBEE; color: #DC2626; }
.bc-badge-info { background: var(--bc-info); color: #0891B2; }
.bc-badge-neutral { background: var(--bc-off-white); color: var(--bc-body); }

/* Host trust tier badges */
.bc-badge-silver { background: #F3F4F6; color: #6B7280; border: 1px solid #E5E7EB; }
.bc-badge-gold { background: #FFF8E1; color: #B8860B; border: 1px solid #F5DEC0; }
.bc-badge-platinum { background: #1a1a2e; color: #e0e0e0; }
.bc-badge-tier { font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.5px; padding: 3px 10px; border-radius: 12px; }
.bc-badge-tier i { font-size: 9px; margin-right: 3px; }

.badge {
    font-family: var(--bc-font) !important;
    border-radius: 20px !important;
    font-weight: 600 !important;
    padding: 4px 12px !important;
}

/* All-Star Host badge */
.bc-allstar {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    color: var(--bc-primary);
    font-size: 14px;
    font-weight: 700;
}
.bc-allstar i { font-size: 16px; }

/* === Navigation === */
.bc-nav {
    position: sticky;
    top: 0;
    z-index: 1000;
    height: var(--bc-nav-height);
    background: var(--bc-white);
    border-bottom: 1px solid var(--bc-border);
    display: flex;
    align-items: center;
    padding: 0 var(--bc-space-md);
}

/* Override Trizen header */
.header-top-bar { display: none !important; }

/* Sticky header — hides on scroll down, shows on scroll up */
.header-area {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    z-index: 1000 !important;
    background: var(--bc-white) !important;
    transform: none !important; /* never hide */
    transition: box-shadow 0.2s ease !important;
}
/* Disabled — header always stays visible */
.header-area.header-hidden {
    transform: none !important; /* override old behavior */
}
.header-menu-wrapper {
    position: relative !important;
    background: var(--bc-white) !important;
    box-shadow: none !important;
    border-bottom: 1px solid var(--bc-border) !important;
    max-height: 64px !important;
    overflow: visible !important;
    padding: 0 24px !important;
}
/* Homepage overlay nav — transparent over hero image */
.bc-hero-overlay {
    background: transparent !important;
}
.bc-hero-overlay .header-menu-wrapper {
    background: transparent !important;
    border-bottom: none !important;
}
.bc-hero-overlay .header-menu-wrapper a,
.bc-hero-overlay .header-menu-wrapper button,
.bc-hero-overlay .header-menu-wrapper i {
    color: #fff !important;
}
.bc-hero-overlay .header-menu-wrapper .bc-btn-outline {
    border-color: rgba(255,255,255,0.5) !important;
    color: #fff !important;
}
.bc-hero-overlay .header-menu-wrapper img {
    filter: brightness(0) invert(1);
}
/* Revert to solid when scrolled */
.bc-hero-overlay.bc-scrolled {
    background: var(--bc-white) !important;
}
.bc-hero-overlay.bc-scrolled .header-menu-wrapper {
    background: var(--bc-white) !important;
    border-bottom: 1px solid var(--bc-border) !important;
}
.bc-hero-overlay.bc-scrolled .header-menu-wrapper a,
.bc-hero-overlay.bc-scrolled .header-menu-wrapper button,
.bc-hero-overlay.bc-scrolled .header-menu-wrapper i {
    color: var(--bc-heading) !important;
}
.bc-hero-overlay.bc-scrolled .header-menu-wrapper .bc-btn-outline {
    border-color: var(--bc-heading) !important;
    color: var(--bc-heading) !important;
}
.bc-hero-overlay.bc-scrolled .header-menu-wrapper img {
    filter: none;
}
/* Shadow when scrolled */
.header-area.bc-scrolled {
    box-shadow: 0 1px 3px rgba(0,0,0,0.08) !important;
}
.header-area.bc-scrolled .header-menu-wrapper {
    border-bottom: none !important;
}
.menu-wrapper {
    padding: 0 !important;
    min-height: var(--bc-nav-height);
    display: flex;
    align-items: center;
}
.header-logo img { max-height: 36px; }

.main-menu-content ul li a {
    font-family: var(--bc-font) !important;
    font-weight: 500 !important;
    font-size: 15px !important;
    color: var(--bc-body) !important;
    padding: 8px 16px !important;
    border-radius: 0 !important;
    background: none !important;
}
.main-menu-content ul li a:hover {
    color: var(--bc-heading) !important;
    background: none !important;
}

/* Login/Profile buttons in nav */
.theme-btn.theme-btn-small {
    background: var(--bc-white) !important;
    color: var(--bc-heading) !important;
    border: 1px solid var(--bc-heading) !important;
    border-radius: var(--bc-radius-sm) !important;
    padding: 8px 20px !important;
    font-size: 14px !important;
    font-weight: 700 !important;
}
.theme-btn.theme-btn-small:hover {
    background: var(--bc-off-white) !important;
    color: var(--bc-heading) !important;
    transform: none !important;
    box-shadow: none !important;
}

/* List Your Car — text link style */
.theme-btn.theme-btn-small-22 {
    background: none !important;
    border: none !important;
    box-shadow: none !important;
    color: var(--bc-heading) !important;
    font-weight: 700 !important;
    font-size: 15px !important;
    padding: 8px 16px !important;
    border-radius: 0 !important;
}
.theme-btn.theme-btn-small-22:hover {
    color: var(--bc-primary) !important;
    background: none !important;
    transform: none !important;
}

/* Hamburger drawer */
.bc-drawer-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.5);
    z-index: 9998;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}
.bc-drawer-overlay.active { opacity: 1; visibility: visible; }

.bc-drawer {
    position: fixed;
    top: 0;
    right: -320px;
    width: 320px;
    height: 100vh;
    background: var(--bc-white);
    z-index: 9999;
    transition: right 0.3s ease;
    overflow-y: auto;
    padding: var(--bc-space-lg);
}
.bc-drawer.active { right: 0; }

.bc-drawer-close {
    position: absolute;
    top: 16px;
    right: 16px;
    background: none;
    border: none;
    font-size: 24px;
    color: var(--bc-heading);
    cursor: pointer;
}

.bc-drawer-menu { list-style: none; padding: 0; margin: var(--bc-space-xl) 0 0; }
.bc-drawer-menu li { border-bottom: 1px solid var(--bc-divider); }
.bc-drawer-menu li a {
    display: flex;
    align-items: center;
    gap: var(--bc-space-md);
    padding: 14px 0;
    font-size: 16px;
    font-weight: 500;
    color: var(--bc-heading) !important;
}
.bc-drawer-menu li a:hover { color: var(--bc-primary) !important; }
.bc-drawer-menu li a i { width: 24px; font-size: 20px; color: var(--bc-body); }

/* === Sections === */
.bc-section {
    padding: var(--bc-space-3xl) 0;
}
.bc-section-sm { padding: var(--bc-space-2xl) 0; }
.bc-section-lg { padding: var(--bc-space-4xl) 0; }
.bc-section-alt { background: var(--bc-off-white); }
.bc-section-warm { background: var(--bc-warm); }

.section-padding, .section--padding { padding: var(--bc-space-3xl) 0 !important; }
.padding-top-100px { padding-top: var(--bc-space-3xl) !important; }
.padding-bottom-100px { padding-bottom: var(--bc-space-3xl) !important; }

/* Section headings */
.bc-section-header {
    margin-bottom: var(--bc-space-xl);
}
.bc-section-header h2 { margin-bottom: var(--bc-space-sm); }
.bc-section-header p { color: var(--bc-body); font-size: 16px; }

.section-heading .sec__title {
    font-family: var(--bc-font) !important;
    color: var(--bc-heading) !important;
    font-weight: 900 !important;
}
.section-heading .sec__desc {
    font-family: var(--bc-font) !important;
    color: var(--bc-body) !important;
}
.sec__title::after, .section__title::after { display: none !important; }

/* === Hero === */
.bc-hero {
    position: relative;
    min-height: 500px;
    display: flex;
    align-items: center;
    background-size: cover;
    background-position: center;
}
.bc-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--bc-overlay);
    z-index: 0;
}
.bc-hero > * { position: relative; z-index: 1; }

.bc-hero-title { color: var(--bc-white) !important; }
.bc-hero-subtitle { color: rgba(255,255,255,0.85); font-size: 18px; }

/* Search widget */
.bc-search-widget {
    background: var(--bc-white);
    border-radius: var(--bc-radius-md);
    padding: var(--bc-space-lg);
    box-shadow: var(--bc-shadow-lg);
    border: 1px solid var(--bc-divider);
}

/* Horizontal search bar  */
.bc-search-bar {
    display: flex;
    align-items: center;
    background: var(--bc-white);
    border: 1px solid var(--bc-divider);
    border-radius: var(--bc-radius-md);
    overflow: hidden;
    height: 56px;
}
.bc-search-bar .bc-search-field {
    flex: 1;
    padding: 8px 16px;
    border: none;
    border-right: 1px solid var(--bc-divider);
    font-size: 14px;
    height: 100%;
}
.bc-search-bar .bc-search-field:last-of-type { border-right: none; }
.bc-search-bar .bc-search-field label {
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--bc-caption);
    display: block;
    margin-bottom: 2px;
}
.bc-search-bar .bc-search-field input,
.bc-search-bar .bc-search-field select {
    border: none;
    font-size: 14px;
    color: var(--bc-heading);
    background: transparent;
    width: 100%;
    padding: 0;
    outline: none;
}
.bc-search-bar .bc-btn-primary {
    height: 100%;
    border-radius: 0;
    padding: 0 24px;
    min-width: 56px;
}

/* === Filter Pills === */
.bc-filter-bar {
    display: flex;
    gap: var(--bc-space-sm);
    flex-wrap: wrap;
    padding: var(--bc-space-md) 0;
    border-bottom: 1px solid var(--bc-divider);
}

.bc-filter-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    height: 36px;
    background: var(--bc-white);
    border: 1px solid var(--bc-input-border);
    border-radius: var(--bc-radius-pill);
    font-size: 14px;
    font-weight: 500;
    color: var(--bc-heading);
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
}
.bc-filter-pill:hover { background: var(--bc-off-white); border-color: var(--bc-heading); }
.bc-filter-pill.active { background: var(--bc-heading); color: var(--bc-white); border-color: var(--bc-heading); }
.bc-filter-pill i { font-size: 12px; }

/* === Carousel === */
.bc-carousel-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--bc-space-lg);
}
.bc-carousel-arrows {
    display: flex;
    gap: var(--bc-space-sm);
}
.bc-carousel-arrow {
    width: 40px;
    height: 40px;
    background: var(--bc-white);
    border: 1px solid var(--bc-divider);
    border-radius: var(--bc-radius-circle);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
    font-size: 16px;
    color: var(--bc-heading);
}
.bc-carousel-arrow:hover { box-shadow: var(--bc-shadow-sm); }

/* === Modals  === */
.modal-content {
    border-radius: var(--bc-radius-lg) !important;
    border: none !important;
    box-shadow: var(--bc-shadow-xl) !important;
    overflow: hidden;
}
.modal-header {
    background: var(--bc-white) !important;
    border-bottom: 1px solid var(--bc-divider) !important;
    padding: 20px 24px !important;
}
.modal-header .modal-title,
.modal-header .title {
    font-family: var(--bc-font) !important;
    color: var(--bc-heading) !important;
    font-weight: 700 !important;
    font-size: 20px;
}
.modal-header .close {
    color: var(--bc-body) !important;
    opacity: 1 !important;
    text-shadow: none !important;
}
.modal-body { padding: 24px !important; }

/* === Form Boxes (Trizen override) === */
.form-box {
    background: var(--bc-white) !important;
    border-radius: var(--bc-radius-md) !important;
    box-shadow: none !important;
    border: 1px solid var(--bc-divider) !important;
}
.form-title-wrap {
    border-bottom: 1px solid var(--bc-divider) !important;
    padding: 20px 24px;
}
.form-title-wrap .title {
    font-family: var(--bc-font) !important;
    color: var(--bc-heading) !important;
    font-weight: 700 !important;
}

/* === Breadcrumbs === */
.breadcrumb-area {
    background: var(--bc-heading) !important;
    padding: var(--bc-space-3xl) 0 var(--bc-space-2xl) !important;
}
.breadcrumb-area .sec__title {
    color: var(--bc-white) !important;
    text-shadow: none !important;
}
.bread-svg polygon { fill: var(--bc-white) !important; }

/* === Footer === */
.bc-footer {
    background: var(--bc-off-white);
    padding: var(--bc-space-3xl) 0 var(--bc-space-lg);
}

.footer-area, footer {
    background: var(--bc-off-white) !important;
}
.footer-item .title {
    font-family: var(--bc-font) !important;
    color: var(--bc-heading) !important;
    font-weight: 700 !important;
    font-size: 14px !important;
    text-transform: none !important;
    margin-bottom: var(--bc-space-md);
}
.footer-item .title::after, .footer-item .title::before { display: none !important; }
.footer-item .list-items li { padding: 4px 0; }
.footer-item .list-items li a {
    color: var(--bc-body) !important;
    font-size: 14px;
}
.footer-item .list-items li a:hover { color: var(--bc-primary) !important; }
.footer-area .foot__logo img,
.footer-area .header-logo img { filter: none !important; max-height: 36px; }
.footer-area .section-block, .footer-area hr { border-color: var(--bc-divider) !important; }
.copy-right .copy__desc { color: var(--bc-caption) !important; font-size: 13px; }

/* Social icons */
.bc-social {
    display: flex;
    gap: var(--bc-space-md);
}
.bc-social a {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--bc-radius-circle);
    background: var(--bc-white);
    color: var(--bc-body) !important;
    border: 1px solid var(--bc-divider);
    font-size: 18px;
    transition: all 0.2s ease;
}
.bc-social a:hover {
    background: var(--bc-primary);
    color: var(--bc-white) !important;
    border-color: var(--bc-primary);
}

#back-to-top {
    background: var(--bc-heading) !important;
    border-radius: var(--bc-radius-sm) !important;
}
#back-to-top:hover { background: var(--bc-primary) !important; }
#back-to-top i { color: var(--bc-white) !important; }

/* === Dashboard / Sidebar === */
.bc-sidebar {
    background: var(--bc-white);
    border-radius: var(--bc-radius-md);
    border: 1px solid var(--bc-divider);
    padding: var(--bc-space-md);
}

.sidebar-nav-body {
    background: var(--bc-white) !important;
    border-radius: var(--bc-radius-md) !important;
    border: 1px solid var(--bc-divider) !important;
    padding: var(--bc-space-md) !important;
}
.sidebar-menu.list-items li a {
    font-family: var(--bc-font) !important;
    display: block;
    padding: 12px 16px;
    border-radius: var(--bc-radius-sm);
    color: var(--bc-body) !important;
    font-size: 14px;
}
.sidebar-menu.list-items li a:hover {
    background: var(--bc-off-white) !important;
    color: var(--bc-heading) !important;
}
.sidebar-menu.list-items li.page-active a {
    color: var(--bc-primary) !important;
    background: var(--bc-primary-tint) !important;
    font-weight: 600 !important;
}

/* === Tables === */
.table {
    font-family: var(--bc-font) !important;
}
.table td, .table th {
    border-color: var(--bc-divider) !important;
    padding: 12px !important;
    vertical-align: middle;
    font-size: 14px;
}
.table thead th {
    font-weight: 700;
    color: var(--bc-heading);
    border-bottom: 2px solid var(--bc-divider) !important;
}

/* === Alerts === */
.alert {
    font-family: var(--bc-font) !important;
    border-radius: var(--bc-radius-sm) !important;
    border: none !important;
    font-size: 14px;
}
.alert-success { background: #E8F5E9; color: #2e7d32; }
.alert-danger { background: #FFEBEE; color: #c62828; }

/* === Pagination === */
.pagination .page-link {
    border-radius: var(--bc-radius-sm) !important;
    margin: 0 4px !important;
    border: 1px solid var(--bc-divider) !important;
    color: var(--bc-body) !important;
    font-family: var(--bc-font) !important;
}
.pagination .page-item.active .page-link {
    background: var(--bc-primary) !important;
    border-color: var(--bc-primary) !important;
    color: var(--bc-white) !important;
}

/* === Accordion / FAQ === */
.accordion .card {
    border-radius: var(--bc-radius-md) !important;
    border: 1px solid var(--bc-divider) !important;
    box-shadow: none !important;
    margin-bottom: var(--bc-space-sm);
}
.accordion .card-header {
    background: var(--bc-white) !important;
    border-bottom: 1px solid var(--bc-divider) !important;
}
.accordion .btn-link {
    font-family: var(--bc-font) !important;
    color: var(--bc-heading) !important;
    text-decoration: none !important;
    font-weight: 600;
}
.accordion .card-body {
    font-family: var(--bc-font) !important;
    color: var(--bc-body) !important;
    line-height: 1.7;
}

/* === Icon Elements === */
.icon-element {
    background: var(--bc-primary-light) !important;
    color: var(--bc-primary) !important;
    border: none !important;
    border-radius: var(--bc-radius-sm) !important;
}

/* === Sticky Booking Widget === */
.bc-booking-widget {
    position: sticky;
    top: calc(var(--bc-nav-height) + 24px);
    background: var(--bc-white);
    border: 1px solid var(--bc-divider);
    border-radius: var(--bc-radius-md);
    padding: var(--bc-space-lg);
}

/* === Toggle Switch (keep functional) === */
.switch { position: relative; display: inline-block; width: 40px; height: 20px; }
.switch input { opacity: 0; width: 0; height: 0; }
.slider { position: absolute; cursor: pointer; top: 0; left: 0; right: 0; bottom: 0; background-color: var(--bc-divider); transition: .3s; }
.slider:before { position: absolute; content: ""; height: 18px; width: 18px; left: 2px; bottom: 1px; background-color: white; transition: .3s; }
input:checked + .slider { background-color: var(--bc-primary); }
input:focus + .slider { box-shadow: none; }
input:checked + .slider:before { transform: translateX(19px); }
.slider.round { border-radius: 18px; }
.slider.round:before { border-radius: 50%; }

/* === Feature Pills === */
.bc-feature-pills {
    display: flex;
    flex-wrap: wrap;
    gap: var(--bc-space-sm);
}
.bc-feature-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    background: var(--bc-off-white);
    border-radius: var(--bc-radius-pill);
    font-size: 14px;
    color: var(--bc-body);
}
.bc-feature-pill i { color: var(--bc-primary); font-size: 14px; }

/* === Progress Bars (Review ratings) === */
.bc-progress {
    height: 4px;
    background: var(--bc-divider);
    border-radius: 4px;
    overflow: hidden;
}
.bc-progress-bar {
    height: 100%;
    background: var(--bc-primary);
    border-radius: 4px;
}

/* === Trip Status Timeline === */
.bc-timeline {
    display: flex;
    justify-content: space-between;
    position: relative;
    padding: var(--bc-space-lg) 0;
}
.bc-timeline::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--bc-divider);
}
.bc-timeline-step {
    position: relative;
    text-align: center;
    z-index: 1;
}
.bc-timeline-dot {
    width: 24px;
    height: 24px;
    border-radius: var(--bc-radius-circle);
    background: var(--bc-divider);
    margin: 0 auto var(--bc-space-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    color: var(--bc-white);
}
.bc-timeline-step.active .bc-timeline-dot { background: var(--bc-primary); }
.bc-timeline-step.completed .bc-timeline-dot { background: var(--bc-success); }
.bc-timeline-label { font-size: 12px; color: var(--bc-caption); }

/* === Empty State === */
.bc-empty {
    text-align: center;
    padding: var(--bc-space-4xl) var(--bc-space-lg);
}
.bc-empty img, .bc-empty svg { max-width: 200px; margin-bottom: var(--bc-space-lg); opacity: 0.6; }
.bc-empty h3 { margin-bottom: var(--bc-space-sm); }
.bc-empty p { color: var(--bc-caption); margin-bottom: var(--bc-space-lg); }

/* === Notification Bell === */
.bc-notification-bell {
    position: relative;
    cursor: pointer;
    font-size: 20px;
    color: var(--bc-body);
    padding: 8px;
}
.bc-notification-count {
    position: absolute;
    top: 2px;
    right: 2px;
    width: 18px;
    height: 18px;
    background: var(--bc-primary);
    color: var(--bc-white);
    font-size: 10px;
    font-weight: 700;
    border-radius: var(--bc-radius-circle);
    display: flex;
    align-items: center;
    justify-content: center;
}

/* === WhatsApp Float Button === */
.bc-whatsapp-float {
    position: fixed;
    bottom: 24px;
    right: 24px;
    width: 56px;
    height: 56px;
    background: #25D366;
    border-radius: var(--bc-radius-circle);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--bc-white);
    font-size: 28px;
    box-shadow: var(--bc-shadow-md);
    z-index: 999;
    transition: transform 0.2s ease;
}
.bc-whatsapp-float:hover {
    transform: scale(1.1);
    color: var(--bc-white) !important;
}

/* === Preloader === */
.preloader .spinner .path { stroke: var(--bc-primary); }

/* === Utilities === */
.bc-text-primary { color: var(--bc-primary) !important; }
.bc-text-heading { color: var(--bc-heading) !important; }
.bc-text-body { color: var(--bc-body) !important; }
.bc-text-caption { color: var(--bc-caption) !important; }
.bc-text-white { color: var(--bc-white) !important; }
.bc-bg-primary { background: var(--bc-primary) !important; }
.bc-bg-alt { background: var(--bc-off-white) !important; }
.bc-bg-warm { background: var(--bc-warm) !important; }
.bc-bg-white { background: var(--bc-white) !important; }

.bc-gap-sm { gap: var(--bc-space-sm); }
.bc-gap-md { gap: var(--bc-space-md); }
.bc-gap-lg { gap: var(--bc-space-lg); }

.bc-rounded-sm { border-radius: var(--bc-radius-sm); }
.bc-rounded-md { border-radius: var(--bc-radius-md); }
.bc-rounded-lg { border-radius: var(--bc-radius-lg); }

/* === Global Transitions (smooth feel on all interactive elements) === */
a, .bc-btn, .bc-card, .bc-filter-pill, .btn, .card-item, input, select, textarea {
    transition: all 0.2s ease;
}

/* === Trizen Old Components — Full Override === */
.section-heading { text-align: center; margin-bottom: 32px; }
.section-heading .sec__title, .section-heading h2 {
    font-family: var(--bc-font) !important;
    font-size: 28px !important; font-weight: 900 !important;
    color: var(--bc-heading) !important; letter-spacing: -0.02em;
}
.section-heading .sec__desc, .section-heading p {
    font-size: 15px !important; color: var(--bc-caption) !important;
    max-width: 560px; margin: 8px auto 0;
}
.hero-wrapper, .hero-wrapper-2, .hero-wrapper-3 {
    background-size: cover !important; background-position: center !important;
}
.section-block { border-bottom: 1px solid var(--bc-divider); margin: 16px 0; }

/* === Sidebar (My Bookings, Profile pages) === */
.sidebar-nav-body { background: var(--bc-white); border-radius: var(--bc-radius-md); box-shadow: var(--bc-shadow-sm); overflow: hidden; }
.sidebar-menu { list-style: none; padding: 0; margin: 0; }
.sidebar-menu li { border-bottom: 1px solid var(--bc-divider); }
.sidebar-menu li:last-child { border-bottom: none; }
.sidebar-menu li a {
    display: flex; align-items: center; gap: 10px;
    padding: 12px 16px; font-size: 14px; font-weight: 500;
    color: var(--bc-body); text-decoration: none;
    transition: background 0.15s, color 0.15s;
}
.sidebar-menu li a:hover { background: var(--bc-off-white); color: var(--bc-heading); }
.sidebar-menu li.active a, .sidebar-menu li a.active {
    color: var(--bc-primary); font-weight: 600;
    border-left: 3px solid var(--bc-primary); background: var(--bc-primary-light);
}
.sidebar-menu li a i { width: 18px; text-align: center; color: var(--bc-caption); font-size: 15px; }

/* === Scroll Header: 3-State Nav === */

/* State managed in main header section above */

/* Inline search pill — lives INSIDE the nav center, replaces nav links on scroll */
.bc-scroll-search {
    display: none; /* hidden initially, JS shows it */
    position: fixed;
    top: 64px; left: 0; right: 0;
    z-index: 999;
}
.bc-scroll-search.visible { display: none; } /* we don't use separate row anymore */

/* search pill inside nav */
.bc-nav-pill {
    display: none; /* hidden by default */
    align-items: center;
    border: 1.5px solid #E7E7E8;
    border-radius: 12px;
    background: var(--bc-white);
    height: 52px;
    overflow: hidden;
    cursor: pointer;
    transition: box-shadow 0.2s;
}
.bc-nav-pill:hover { box-shadow: 0 2px 8px rgba(0,0,0,0.06); }

/* Show pill and hide nav links when scrolled */
.header-area.bc-scrolled .bc-nav-pill { display: inline-flex; }
.header-area.bc-scrolled #navLinks { display: none !important; }
/* Always show pill on inner pages (search results, car detail) */
.header-area.bc-pill-always .bc-nav-pill { display: inline-flex; }

.bc-nav-pill-field {
    display: flex; flex-direction: column; justify-content: center;
    padding: 6px 20px; border-right: 1.5px solid #E7E7E8;
    transition: background 0.15s; cursor: pointer;
}
.bc-nav-pill-field:hover { background: #F8F8F8; }
.bc-nav-pill-field:last-of-type { border-right: none; }
.bc-nav-pill-label {
    font-size: 10px; font-weight: 600;
    letter-spacing: 0.3px; line-height: 1; margin: 0 0 2px;
}
.bc-nav-pill-value {
    font-size: 14px; font-weight: 500; color: var(--bc-heading);
    white-space: nowrap; line-height: 1.3;
}
.bc-nav-pill-btn {
    width: 40px; height: 40px; min-width: 40px; border-radius: 50%;
    background: #593CFB; border: none; cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    margin: 6px; flex-shrink: 0; transition: background 0.15s;
}
.bc-nav-pill-btn:hover { background: #4930d9; }
.bc-nav-pill-btn i { color: #fff; font-size: 14px; }

/* Category tabs — NOT sticky, just a normal section */
.bc-browse-section {
    position: relative;
    z-index: 1;
    background: var(--bc-white);
    border-bottom: 1px solid var(--bc-divider);
}

/* Shadow handled in main header block above */

/* Car card image ratio enforcement */
.bc-car-card .bc-card-img,
.card-item .card-image img {
    aspect-ratio: 3 / 2;
    object-fit: cover;
    width: 100%;
    border-radius: var(--bc-radius-md) var(--bc-radius-md) 0 0;
}
/* Card fade transition on filter */
.trending-card { transition: opacity 0.25s ease, box-shadow 0.2s ease; }

/* Skeleton loading shimmer */
@keyframes bcShimmer {
    0% { background-position: -400px 0; }
    100% { background-position: 400px 0; }
}
.bc-skeleton {
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 800px 100%;
    animation: bcShimmer 1.5s infinite;
    border-radius: 8px;
}
.bc-skeleton-card {
    flex: 0 0 280px;
    border-radius: 12px;
    overflow: hidden;
    background: #fff;
}
.bc-skeleton-card .bc-skeleton-img { width: 100%; height: 180px; }
.bc-skeleton-card .bc-skeleton-text { height: 14px; margin: 12px 14px 8px; width: 60%; }
.bc-skeleton-card .bc-skeleton-text-sm { height: 10px; margin: 0 14px 14px; width: 40%; }

/* Mobile: hide scroll search, use simpler sticky */
@media (max-width: 991px) {
    .bc-scroll-search { display: none !important; }
    .bc-browse-section { top: 64px !important; }
}

/* === Host Dashboard Pages === */
.host-stat-card {
    background: var(--bc-white); border-radius: var(--bc-radius-md);
    box-shadow: var(--bc-shadow-sm); padding: 20px;
    border-left: 4px solid var(--bc-primary);
}
.host-stat-card h3 { font-size: 28px; font-weight: 900; color: var(--bc-heading); margin: 0; }
.host-stat-card p { font-size: 12px; font-weight: 600; color: var(--bc-caption); text-transform: uppercase; letter-spacing: 1px; margin: 0 0 4px; }

/* === Host Redesign — Foundation Classes === */

/* Host page warm background */
.bc-host-page { background: #FAF9F5; min-height: 100vh; }

/* Host sidebar */
.bc-host-sidebar {
    background: var(--bc-white); border-radius: var(--bc-radius-lg);
    box-shadow: var(--bc-shadow-sm); padding: 24px 0; position: sticky; top: 88px;
}
.bc-host-sidebar-header {
    padding: 0 24px 20px; border-bottom: 1px solid var(--bc-divider);
    margin-bottom: 8px;
}
.bc-host-sidebar-header h4 { font-size: 16px; font-weight: 800; color: var(--bc-heading); margin: 0; }
.bc-host-sidebar-header p { font-size: 13px; color: var(--bc-caption); margin: 4px 0 0; }
.bc-host-sidebar a {
    display: flex; align-items: center; gap: 12px;
    padding: 12px 24px; font-size: 14px; font-weight: 500;
    color: var(--bc-body); text-decoration: none; transition: all 0.15s;
}
.bc-host-sidebar a:hover { background: #FAF9F5; color: var(--bc-heading); }
.bc-host-sidebar a.active {
    color: var(--bc-primary); font-weight: 700;
    border-right: 3px solid var(--bc-primary); background: rgba(237, 53, 57, 0.04);
}
.bc-host-sidebar a i { width: 20px; text-align: center; font-size: 16px; }

/* Host mobile nav (pill bar) */
.bc-host-mobile-nav {
    display: none; overflow-x: auto; -webkit-overflow-scrolling: touch;
    gap: 8px; padding: 12px 0; margin-bottom: 24px;
    scrollbar-width: none;
}
.bc-host-mobile-nav::-webkit-scrollbar { display: none; }
.bc-host-mobile-nav a {
    display: flex; align-items: center; gap: 6px;
    padding: 8px 16px; border-radius: 24px; white-space: nowrap;
    font-size: 13px; font-weight: 600; color: var(--bc-body);
    background: var(--bc-white); border: 1px solid var(--bc-divider);
    text-decoration: none; transition: all 0.15s;
}
.bc-host-mobile-nav a.active {
    background: var(--bc-heading); color: var(--bc-white); border-color: var(--bc-heading);
}
.bc-host-mobile-nav a i { font-size: 14px; }

/* Host stat chips (inline row, no cards) */
.bc-host-stats-row {
    display: flex; gap: 32px; padding: 24px 0;
    border-bottom: 1px solid var(--bc-divider);
}
.bc-host-stat { text-align: left; }
.bc-host-stat-value {
    font-size: 32px; font-weight: 800; color: var(--bc-heading);
    line-height: 1.1; letter-spacing: -0.02em;
}
.bc-host-stat-label {
    font-size: 11px; font-weight: 700; color: var(--bc-caption);
    text-transform: uppercase; letter-spacing: 1.5px; margin-top: 4px;
}

/* Host action bar (pending items) */
.bc-host-action-bar {
    background: #FFF8F0; border: 1px solid #F5DEC0;
    border-radius: var(--bc-radius-md); padding: 16px 24px;
    display: flex; align-items: center; justify-content: space-between;
    margin: 24px 0;
}
.bc-host-action-bar.green { background: #F0FFF4; border-color: #C6F6D5; }
.bc-host-action-bar p { margin: 0; font-size: 14px; font-weight: 600; color: var(--bc-heading); }

/* Host booking list row */
.bc-host-booking-row {
    display: flex; align-items: center; gap: 16px;
    padding: 16px 0; border-bottom: 1px solid var(--bc-divider);
}
.bc-host-booking-row:last-child { border-bottom: none; }
.bc-host-booking-row .bc-booking-info { flex: 1; min-width: 0; }
.bc-host-booking-row .bc-booking-info h5 {
    font-size: 15px; font-weight: 600; color: var(--bc-heading); margin: 0;
}
.bc-host-booking-row .bc-booking-info p {
    font-size: 13px; color: var(--bc-caption); margin: 2px 0 0;
}
.bc-host-booking-row .bc-booking-amount {
    font-size: 16px; font-weight: 800; color: var(--bc-heading); white-space: nowrap;
}

/* Host landing page */
.bc-host-hero {
    background: #FAF9F5; padding: 80px 0;
}
.bc-host-hero-title {
    font-size: 48px; font-weight: 900; color: var(--bc-heading);
    letter-spacing: -0.04em; line-height: 1.1;
}
.bc-host-earnings-xl {
    font-size: 64px; font-weight: 900; color: var(--bc-heading);
    letter-spacing: -0.03em; line-height: 1;
}
.bc-host-subtitle {
    font-size: 18px; font-weight: 400; color: var(--bc-body);
    line-height: 1.6; max-width: 500px;
}
.bc-host-trust-line {
    font-size: 14px; color: var(--bc-caption); margin-top: 16px;
}

/* Host step cards */
.bc-host-step {
    text-align: center; padding: 32px 24px;
}
.bc-host-step-number {
    width: 48px; height: 48px; border-radius: 50%;
    background: var(--bc-heading); color: var(--bc-white);
    font-size: 18px; font-weight: 800;
    display: inline-flex; align-items: center; justify-content: center;
    margin-bottom: 16px;
}
.bc-host-step h4 { font-size: 18px; font-weight: 700; color: var(--bc-heading); margin: 0 0 8px; }
.bc-host-step p { font-size: 14px; color: var(--bc-body); line-height: 1.5; margin: 0; }

/* Host trust badges */
.bc-host-trust-badge {
    display: flex; align-items: flex-start; gap: 16px; padding: 24px 0;
}
.bc-host-trust-badge i {
    font-size: 24px; color: var(--bc-heading); width: 32px; flex-shrink: 0; margin-top: 2px;
}
.bc-host-trust-badge h5 { font-size: 16px; font-weight: 700; color: var(--bc-heading); margin: 0 0 4px; }
.bc-host-trust-badge p { font-size: 14px; color: var(--bc-body); margin: 0; line-height: 1.4; }

/* Host testimonial */
.bc-host-testimonial {
    background: var(--bc-white); border-radius: var(--bc-radius-lg);
    border: 1px solid var(--bc-divider); padding: 32px;
}
.bc-host-testimonial blockquote {
    font-size: 16px; font-weight: 400; color: var(--bc-heading);
    line-height: 1.6; font-style: italic; margin: 0 0 16px; border: none; padding: 0;
}
.bc-host-testimonial cite {
    font-size: 14px; font-weight: 600; color: var(--bc-body); font-style: normal;
}

/* Earnings page hero number */
.bc-earnings-hero {
    font-size: 48px; font-weight: 900; color: var(--bc-heading);
    letter-spacing: -0.03em; text-align: center; line-height: 1;
}
.bc-earnings-sub {
    font-size: 14px; color: var(--bc-caption); text-align: center; margin-top: 8px;
}

/* Status pill overrides for host booking rows */
.bc-host-booking-row .bc-badge { font-size: 11px; flex-shrink: 0; }

/* === Tables (Profile, Booking Details) === */
.bc-table, .table {
    width: 100%; border-collapse: collapse;
    font-size: 14px; color: var(--bc-body);
}
.bc-table th, .table th {
    font-size: 11px; font-weight: 700; text-transform: uppercase;
    letter-spacing: 0.8px; color: var(--bc-caption);
    padding: 10px 16px; border-bottom: 2px solid var(--bc-divider);
    background: var(--bc-off-white);
}
.bc-table td, .table td {
    padding: 12px 16px; border-bottom: 1px solid var(--bc-divider);
    vertical-align: middle;
}
.bc-table tr:last-child td { border-bottom: none; }
.bc-table tr:hover { background: rgba(237, 53, 57, 0.02); }

/* === Image lazy load + responsive === */
img[loading="lazy"] { background: var(--bc-off-white); }
img { max-width: 100%; height: auto; }

/* === Scrollbar (thin, subtle — for all horizontal scroll areas) === */
.bc-scroll-x {
    overflow-x: auto; -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}
.bc-scroll-x::-webkit-scrollbar { display: none; }

/* === Empty State (used across multiple pages) === */
.bc-empty-state {
    text-align: center; padding: 48px 24px;
    color: var(--bc-caption);
}
.bc-empty-state i { font-size: 48px; color: var(--bc-divider); display: block; margin-bottom: 16px; }
.bc-empty-state h4 { font-size: 18px; font-weight: 700; color: var(--bc-heading); margin: 0 0 8px; }
.bc-empty-state p { font-size: 14px; color: var(--bc-caption); margin: 0; }

/* === Responsive === */

/* Tablet (768-991px) */
@media (max-width: 991px) {
    .bc-hero-title, h1, .bc-h1 { font-size: 36px; }
    .bc-section-title, h2, .bc-h2 { font-size: 28px; }
    .bc-section { padding: var(--bc-space-2xl) 0; }
    .bc-search-bar { flex-direction: column; height: auto; }
    .bc-search-bar .bc-search-field { border-right: none; border-bottom: 1px solid var(--bc-divider); }
    .menu-wrapper { min-height: 56px; }

    /* Sidebar hides on tablet/mobile */
    .sidebar-nav-body { display: none; }
    .col-lg-3.sidebar-col, .col-lg-3:has(.sidebar-nav-body) { display: none; }
    .col-lg-9:has(~ .col-lg-3), .col-lg-9 { flex: 0 0 100%; max-width: 100%; }

    /* Host sidebar hides, mobile nav shows */
    .bc-host-sidebar { display: none; }
    .bc-host-mobile-nav { display: flex; }
    .bc-host-hero { padding: 48px 0; }
    .bc-host-hero-title { font-size: 36px; }
    .bc-host-earnings-xl { font-size: 40px; }
    .bc-host-stats-row { gap: 16px; flex-wrap: wrap; }
    .bc-host-stat-value { font-size: 24px; }
    .bc-host-action-bar { flex-direction: column; gap: 12px; text-align: center; }
    .bc-host-booking-row { flex-wrap: wrap; }
    .bc-earnings-hero { font-size: 36px; }

    /* Tables scroll horizontally */
    .table-responsive-auto { overflow-x: auto; -webkit-overflow-scrolling: touch; }

    /* Cards: 2-column */
    .bc-car-card { min-width: 0; }
}

/* Mobile (575px and below) */
@media (max-width: 575px) {
    .bc-hero-title { font-size: 28px; }
    h2, .bc-h2 { font-size: 24px; }
    .bc-section { padding: var(--bc-space-xl) 0; }
    .bc-stat-number { font-size: 32px; }
    .bc-price-lg { font-size: 24px; }
    .bc-filter-bar { overflow-x: auto; flex-wrap: nowrap; -webkit-overflow-scrolling: touch; }

    /* Full-width cards on mobile */
    .bc-card { border-radius: var(--bc-radius-sm); }
    .bc-card-body { padding: 12px 14px; }

    /* Buttons: full-width on mobile */
    .bc-btn-block-mobile { width: 100%; display: block; }

    /* Typography scale down */
    .bc-hero-title { letter-spacing: -0.02em; }
    .section-heading h2, .section-heading .sec__title { font-size: 22px !important; }
    .bc-caption, .bc-label { font-size: 11px; }

    /* Footer: stack columns */
    footer .row > [class*="col-"] { margin-bottom: 24px; }

    /* Search hero: compact */
    .bc-hero { min-height: 320px; }
}

/* ==========================================================
   JS COMPONENT CSS (extracted from style.css for components
   that rely on specific classes for JS functionality)
   ========================================================== */

/* === Preloader === */
.preloader {
    position: fixed;
    inset: 0;
    background: var(--bc-white);
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.3s ease;
}
.preloader .loader { text-align: center; }
.preloader .spinner { animation: rotate 2s linear infinite; width: 50px; height: 50px; }
.preloader .spinner .path {
    stroke: var(--bc-primary);
    stroke-linecap: round;
    animation: dash 1.5s ease-in-out infinite;
}
@keyframes rotate { 100% { transform: rotate(360deg); } }
@keyframes dash {
    0% { stroke-dasharray: 1, 150; stroke-dashoffset: 0; }
    50% { stroke-dasharray: 90, 150; stroke-dashoffset: -35; }
    100% { stroke-dasharray: 90, 150; stroke-dashoffset: -124; }
}

/* === Date Picker (jQuery UI) overrides === */
/* daterangepicker override */
.daterangepicker {
    font-family: var(--bc-font) !important;
    border-radius: 16px !important;
    border: 1px solid var(--bc-divider) !important;
    box-shadow: 0 8px 24px rgba(0,0,0,0.12), 0 0 2px rgba(0,0,0,0.04) !important;
    padding: 20px !important;
    background: var(--bc-white) !important;
    z-index: 9999 !important;
}
.daterangepicker::before, .daterangepicker::after { display: none !important; } /* remove arrow */
.daterangepicker .calendar-table {
    background: transparent !important;
    border: none !important;
}
.daterangepicker .calendar-table thead tr:first-child th {
    font-size: 15px !important; font-weight: 800 !important;
    color: var(--bc-heading) !important; padding: 8px 0 16px !important;
}
.daterangepicker .calendar-table thead tr:nth-child(2) th {
    font-size: 11px !important; font-weight: 600 !important;
    color: var(--bc-caption) !important; text-transform: uppercase !important;
    letter-spacing: 0.5px !important; padding: 8px 0 !important;
}
.daterangepicker td {
    width: 36px !important; height: 36px !important;
    line-height: 36px !important; font-size: 14px !important;
    font-weight: 500 !important; border-radius: 50% !important;
    color: var(--bc-body) !important; text-align: center !important;
}
.daterangepicker td:hover { background: var(--bc-off-white) !important; border-radius: 50% !important; }
.daterangepicker td.active, .daterangepicker td.active:hover {
    background: var(--bc-heading) !important;
    color: var(--bc-white) !important;
    border-radius: 50% !important;
    font-weight: 700 !important;
}
.daterangepicker td.today { border: 2px solid var(--bc-primary) !important; }
.daterangepicker td.off { color: var(--bc-divider) !important; }
.daterangepicker td.disabled { color: var(--bc-divider) !important; text-decoration: none !important; }
/* Nav arrows */
.daterangepicker th.prev, .daterangepicker th.next {
    width: 32px !important; height: 32px !important;
    border-radius: 50% !important; cursor: pointer !important;
    transition: background 0.15s !important;
}
.daterangepicker th.prev:hover, .daterangepicker th.next:hover {
    background: var(--bc-off-white) !important;
}
/* Hide range inputs, apply/cancel buttons (we use singleDatePicker mode) */
.daterangepicker .drp-buttons, .daterangepicker .ranges { display: none !important; }

/* Also keep old jQuery UI datepicker styles for other pages */
.ui-datepicker {
    font-family: var(--bc-font) !important;
    border-radius: 12px !important;
    border: 1px solid var(--bc-divider) !important;
    box-shadow: var(--bc-shadow-lg) !important;
    padding: 12px !important;
    background: var(--bc-white) !important;
    z-index: 9999 !important;
}
.ui-datepicker-header { background: var(--bc-white) !important; border: none !important; font-weight: 700; color: var(--bc-heading); padding: 8px 4px !important; }
.ui-datepicker th { color: var(--bc-caption); font-weight: 600; font-size: 12px; }
.ui-datepicker td a, .ui-datepicker td span { text-align: center !important; border-radius: 50% !important; color: var(--bc-body) !important; padding: 6px !important; }
.ui-datepicker td a:hover { background: var(--bc-off-white) !important; }
.ui-datepicker td a.ui-state-active, .ui-datepicker .ui-state-highlight { background: var(--bc-heading) !important; color: var(--bc-white) !important; }
.ui-datepicker .ui-datepicker-prev, .ui-datepicker .ui-datepicker-next { cursor: pointer; top: 8px !important; }

/* === Owl Carousel (used by some pages) === */
.owl-dots { text-align: center; margin-top: 16px; }
.owl-dot { display: inline-block; margin: 0 4px; }
.owl-dot span {
    width: 10px; height: 10px; border-radius: 50%;
    background: var(--bc-divider); display: block;
    transition: all 0.3s ease;
}
.owl-dot.active span { background: var(--bc-primary); width: 24px; border-radius: 5px; }
.owl-nav { display: none; }

/* === Fancybox overrides === */
.fancybox-thumbs { background: var(--bc-heading) !important; }

/* === Swiper overrides === */
.swiper-button-next, .swiper-button-prev {
    color: var(--bc-white) !important;
    background: rgba(0,0,0,0.3);
    width: 32px !important;
    height: 32px !important;
    border-radius: 50%;
}
.swiper-button-next::after, .swiper-button-prev::after { font-size: 14px !important; }
.swiper-button-next:hover, .swiper-button-prev:hover { background: rgba(0,0,0,0.6); }

/* === Bootstrap Select overrides === */
.bootstrap-select .dropdown-toggle {
    border-radius: var(--bc-radius-sm) !important;
    border: 1px solid var(--bc-input-border) !important;
    background: var(--bc-white) !important;
    font-family: var(--bc-font) !important;
}

/* === Trizen utility classes still used in templates === */
.section-bg { background: var(--bc-off-white); }
.padding-top-50px { padding-top: 40px; }
.padding-top-60px { padding-top: 48px; }
.padding-top-90px { padding-top: 64px; }
.padding-top-100px { padding-top: 64px; }
.padding-bottom-30px { padding-bottom: 24px; }
.padding-bottom-50px { padding-bottom: 40px; }
.padding-bottom-60px { padding-bottom: 48px; }
.padding-bottom-90px { padding-bottom: 64px; }
.padding-bottom-100px { padding-bottom: 64px; }
.padding-right-100px { padding-right: 24px; }
.padding-left-100px { padding-left: 24px; }
.font-size-14 { font-size: 14px; }
.font-size-15 { font-size: 15px; }
.font-size-16 { font-size: 16px; }
.font-size-18 { font-size: 18px; }
.font-size-30 { font-size: 28px; }
.text-color-2 { color: var(--bc-primary); }
.text-color-6 { color: var(--bc-danger, #DC2626); }
.color-text { color: var(--bc-primary); }
.responsive-column { margin-bottom: 24px; }
.bg-fixed { background-attachment: fixed; }
.stroke-shape { position: relative; }
.section-block { border-bottom: 1px solid var(--bc-divider); margin: 16px 0; }
.line-height-26 { line-height: 26px; }

/* Trizen form/input classes */
.input-box { margin-bottom: 12px; }
.contact-form-action .form-group { position: relative; }
.contact-form-action .form-icon {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--bc-caption);
    font-size: 16px;
    z-index: 1;
}
.contact-form-action .form-control { padding-left: 36px; }
.message-control { min-height: 120px; resize: vertical; }
.select-contain { position: relative; }
.select-contain-shadow { box-shadow: none; }

/* Trizen list-items used in sidebar/footer */
.list-items { list-style: none; padding: 0; margin: 0; }
.list-items li { padding: 4px 0; }

/* Modal popup wrapper */
.modal-popup .modal { z-index: 9999; }
.modal-backdrop { z-index: 9998; }

/* Back to top */
#back-to-top {
    position: fixed;
    bottom: 80px;
    right: 24px;
    width: 40px;
    height: 40px;
    background: var(--bc-heading);
    border-radius: var(--bc-radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 998;
    cursor: pointer;
    transition: all 0.3s ease;
    opacity: 0;
    visibility: hidden;
}
#back-to-top.active { opacity: 1; visibility: visible; }
#back-to-top:hover { background: var(--bc-primary); }
#back-to-top i { color: var(--bc-white); font-size: 16px; }

/* Hero SVG wave divider */
.hero-svg {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 80px;
    fill: var(--bc-white);
    z-index: 2;
}

/* City card in modal */
.city-card {
    border-radius: var(--bc-radius-md);
    padding: 16px;
    border: 1px solid var(--bc-divider);
    background: var(--bc-white);
    cursor: pointer;
    text-align: center;
    transition: border-color 0.2s ease;
}
.city-card:hover { border-color: var(--bc-heading); }
.city_active { border: 2px solid var(--bc-primary) !important; }

/* WOW animation placeholder */
.wow { visibility: visible !important; }

/* Quantity buttons (Extra KMs) */
.qtyDec, .qtyInc {
    width: 32px; height: 32px;
    border-radius: 50%;
    background: var(--bc-off-white);
    border: 1px solid var(--bc-divider);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
    font-size: 12px;
    color: var(--bc-body);
}
.qtyDec:hover, .qtyInc:hover {
    background: var(--bc-primary);
    color: var(--bc-white);
    border-color: var(--bc-primary);
}

/* Full-width slider (checkout gallery) */
.full-width-slider .card-item { border-radius: 0 !important; box-shadow: none !important; }

/* Tab buttons for bookings */
.yellow, .btn-yellow.yellow { background: var(--bc-warning, #F59E0B) !important; color: #fff !important; border-color: var(--bc-warning, #F59E0B) !important; }
.green, .btn-green.green { background: #16A34A !important; color: #fff !important; border-color: #16A34A !important; }
.red, .btn-red.red { background: var(--bc-primary) !important; color: #fff !important; border-color: var(--bc-primary) !important; }

/* Bounce animation for duration tag */
.bounce { animation: bounce-fade 0.3s ease; }
@keyframes bounce-fade {
    0% { opacity: 0; transform: translateY(8px); }
    100% { opacity: 1; transform: translateY(0); }
}

/* Lazy loading */
img { content-visibility: auto; }

/* Car card image + Swiper fix */
.bc-card-img {
    background: var(--bc-off-white);
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
}
.bc-car-card .car-img-swiper {
    width: 100%;
    height: 200px;
    overflow: hidden;
}
.bc-car-card .car-img-swiper .swiper-slide {
    width: 100%;
    height: 200px;
}
.bc-car-card .car-img-swiper .swiper-slide img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}
/* Trending carousel must show items */
#trendingCarousel {
    overflow: visible;
    padding-bottom: 8px;
}
#trendingCarousel .swiper-slide {
    height: auto;
}
.bc-car-card {
    height: 100%;
    display: flex;
    flex-direction: column;
}
.bc-car-card .bc-card-body {
    flex: 1;
}
img.bc-card-img[src=""], img.bc-card-img:not([src]) {
    visibility: hidden;
}

/* jQuery UI datepicker: ensure functional classes exist */
.date-picker-single { cursor: pointer; background: var(--bc-white) !important; }
.ui-widget { font-family: var(--bc-font) !important; }
.ui-widget-overlay { background: rgba(0,0,0,0.5); }

/* === Toast Notifications === */
.bc-toast-container {
    position: fixed;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 99999;
    display: flex;
    flex-direction: column;
    gap: 8px;
    pointer-events: none;
}
.bc-toast {
    background: var(--bc-black, #231F20);
    color: #fff;
    padding: 12px 24px;
    border-radius: var(--bc-radius-sm);
    font-family: var(--bc-font);
    font-size: 14px;
    font-weight: 500;
    box-shadow: var(--bc-shadow-md);
    pointer-events: auto;
    animation: toastIn 0.3s ease, toastOut 0.3s ease 2.7s forwards;
    display: flex;
    align-items: center;
    gap: 8px;
}
.bc-toast.success { background: #16A34A; }
.bc-toast.error { background: #DC2626; }
@keyframes toastIn { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: translateY(0); } }
@keyframes toastOut { from { opacity: 1; } to { opacity: 0; transform: translateY(16px); } }
