/* ==========================================================================
   VINFAST DONG NAI - OPTIMIZED MOBILE STYLESHEET (vinfast-mobile.css)
   Inspired by & Matching vinfastdongnai.net Mobile UI/UX
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. GLOBAL MOBILE RESET & VIEWPORT SAFETY
   -------------------------------------------------------------------------- */
@media (max-width: 991.98px) {
    html {
        overflow-x: hidden !important;
    }

    body {
        overflow-x: hidden !important;
        width: 100% !important;
        position: relative !important;
        padding-bottom: calc(62px + env(safe-area-inset-bottom, 0px)) !important;
        -webkit-tap-highlight-color: transparent;
        -webkit-overflow-scrolling: touch;
    }

    .wrapper, .wrap-home, .wrap-main, .container {
        padding-left: 12px !important;
        padding-right: 12px !important;
        width: 100% !important;
        max-width: 100% !important;
    }

    .row {
        margin-left: -6px !important;
        margin-right: -6px !important;
    }

    .row > [class*="col-"] {
        padding-left: 6px !important;
        padding-right: 6px !important;
    }

    /* Hide desktop-only floating trade-in button on mobile */
    .trade-in-floating-badge {
        display: none !important;
    }
}

/* --------------------------------------------------------------------------
   2. MOBILE TOP BAR & HEADER
   -------------------------------------------------------------------------- */
@media (max-width: 991.98px) {
    /* Mobile Top Bar (Clean, dark banner like vinfastdongnai.net) */
    .vf-mob-topbar {
        background: #1e293b;
        color: #f8fafc;
        font-size: 11px;
        font-weight: 700;
        letter-spacing: 0.5px;
        text-transform: uppercase;
        padding: 5px 10px;
        text-align: center;
        border-bottom: 1px solid rgba(255, 255, 255, 0.08);
        position: relative;
        z-index: 10001;
    }

    .vf-mob-topbar i {
        color: #ef4444;
        margin-right: 5px;
    }

    /* Site Header on Mobile */
    .site-header {
        position: sticky;
        top: 0;
        z-index: 10000;
        background: #ffffff;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.07);
    }

    .header-main {
        height: 60px !important;
        padding: 0;
        display: flex;
        align-items: center;
        justify-content: space-between;
    }

    /* Logo */
    .logo {
        height: 100%;
        display: flex;
        align-items: center;
    }

    .logo a {
        display: flex;
        align-items: center;
        height: 100%;
    }

    .logo img {
        height: 38px !important;
        width: auto !important;
        max-width: 165px !important;
        object-fit: contain;
    }

    /* Mobile Header Action Buttons (Right) */
    .vf-mobile-header-actions {
        display: flex !important;
        align-items: center !important;
        gap: 8px !important;
    }

    /* Call button pill on mobile header */
    .vf-mob-phone-pill {
        display: inline-flex !important;
        align-items: center !important;
        gap: 5px !important;
        background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%) !important;
        color: #ffffff !important;
        font-size: 11.5px !important;
        font-weight: 800 !important;
        padding: 6px 12px !important;
        border-radius: 50px !important;
        text-decoration: none !important;
        box-shadow: 0 2px 8px rgba(220, 38, 38, 0.35) !important;
        letter-spacing: 0.3px;
        white-space: nowrap;
    }

    .vf-mob-phone-pill i {
        font-size: 12px;
        animation: vfPhoneRing 1.5s infinite ease-in-out;
    }

    @keyframes vfPhoneRing {
        0%, 100% { transform: rotate(0); }
        15% { transform: rotate(15deg); }
        30% { transform: rotate(-15deg); }
        45% { transform: rotate(10deg); }
        60% { transform: rotate(-10deg); }
        75% { transform: rotate(0); }
    }

    .vf-mob-zalo-pill {
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        width: 32px !important;
        height: 32px !important;
        border-radius: 50% !important;
        background: #0068ff !important;
        color: #ffffff !important;
        font-size: 10px !important;
        font-weight: 800 !important;
        text-decoration: none !important;
        box-shadow: 0 2px 6px rgba(0, 104, 255, 0.3) !important;
    }

    /* Hamburger Menu Button */
    .vf-mob-hamburger-btn {
        width: 36px !important;
        height: 36px !important;
        border-radius: 8px !important;
        background: #0f172a !important;
        color: #ffffff !important;
        border: none !important;
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        font-size: 17px !important;
        cursor: pointer;
        transition: background 0.2s ease;
        box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15) !important;
    }

    .vf-mob-hamburger-btn:active {
        background: var(--clr-primary) !important;
        transform: scale(0.95);
    }
}

/* --------------------------------------------------------------------------
   3. MOBILE OFFCANVAS DRAWER (SLIDE-OVER MENU)
   -------------------------------------------------------------------------- */
@media (max-width: 991.98px) {
    .vf-mobile-drawer-overlay {
        position: fixed !important;
        top: 0 !important;
        left: 0 !important;
        right: 0 !important;
        bottom: 0 !important;
        width: 100% !important;
        height: 100% !important;
        background: rgba(15, 23, 42, 0.65) !important;
        z-index: 99998 !important;
        opacity: 0 !important;
        visibility: hidden !important;
        pointer-events: none !important;
        transition: opacity 0.3s ease, visibility 0.3s ease !important;
    }

    .vf-mobile-drawer-overlay.active {
        opacity: 1 !important;
        visibility: visible !important;
        pointer-events: auto !important;
    }

    .vf-mobile-drawer {
        position: fixed;
        top: 0;
        left: 0;
        width: 86vw;
        max-width: 330px;
        height: 100vh;
        height: 100dvh;
        background: #ffffff;
        z-index: 99999;
        transform: translateX(-100%);
        transition: transform 0.32s cubic-bezier(0.4, 0, 0.2, 1);
        display: flex;
        flex-direction: column;
        box-shadow: 4px 0 25px rgba(0, 0, 0, 0.25);
        overflow: hidden;
    }

    .vf-mobile-drawer.active {
        transform: translateX(0);
    }

    .vf-drawer-header {
        padding: 14px 16px;
        display: flex;
        align-items: center;
        justify-content: space-between;
        background: #ffffff;
        border-bottom: 1px solid #f1f5f9;
    }

    .vf-drawer-logo {
        height: 36px;
        width: auto;
        object-fit: contain;
    }

    .vf-drawer-close {
        width: 34px;
        height: 34px;
        border-radius: 50%;
        background: #f1f5f9;
        border: none;
        color: #334155;
        font-size: 17px;
        display: flex;
        align-items: center;
        justify-content: center;
        cursor: pointer;
    }

    /* Hotline Bar in Drawer */
    .vf-drawer-hotline {
        display: flex;
        align-items: center;
        gap: 12px;
        padding: 12px 16px;
        background: linear-gradient(135deg, #ef4444 0%, #b91c1c 100%);
        color: #ffffff !important;
        text-decoration: none !important;
    }

    .vf-dh-icon {
        width: 36px;
        height: 36px;
        border-radius: 50%;
        background: rgba(255, 255, 255, 0.2);
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 15px;
    }

    .vf-dh-info small {
        display: block;
        font-size: 10px;
        font-weight: 700;
        opacity: 0.85;
        letter-spacing: 0.5px;
    }

    .vf-dh-info strong {
        display: block;
        font-size: 14px;
        font-weight: 800;
    }

    /* Drawer Scrollable Body */
    .vf-drawer-body {
        flex: 1;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
        padding: 10px 0 20px;
    }

    .vf-drawer-nav {
        list-style: none;
        padding: 0;
        margin: 0;
    }

    .vf-drawer-nav > li {
        border-bottom: 1px solid #f8fafc;
    }

    .vf-drawer-nav > li > a,
    .vf-drawer-link-wrap > a {
        display: flex;
        align-items: center;
        gap: 12px;
        padding: 13px 18px;
        font-size: 14px;
        font-weight: 600;
        color: #1e293b;
        text-decoration: none;
        transition: background 0.2s;
    }

    .vf-drawer-nav > li > a i,
    .vf-drawer-link-wrap > a i {
        width: 20px;
        text-align: center;
        color: #dc2626;
        font-size: 15px;
    }

    .vf-drawer-nav > li.active > a {
        background: #fef2f2;
        color: #dc2626;
        font-weight: 700;
    }

    .vf-drawer-link-wrap {
        display: flex;
        align-items: center;
        justify-content: space-between;
    }

    .vf-drawer-link-wrap > a {
        flex: 1;
    }

    .vf-sub-toggle {
        width: 44px;
        height: 44px;
        background: transparent;
        border: none;
        color: #64748b;
        font-size: 13px;
        cursor: pointer;
        display: flex;
        align-items: center;
        justify-content: center;
        transition: transform 0.25s ease;
    }

    .vf-drawer-nav > li.has-sub.open .vf-sub-toggle {
        transform: rotate(180deg);
        color: #dc2626;
    }

    .vf-drawer-submenu {
        list-style: none;
        padding: 4px 0 8px 30px;
        margin: 0;
        background: #f8fafc;
        display: none;
    }

    .vf-drawer-nav > li.has-sub.open .vf-drawer-submenu {
        display: block;
    }

    .vf-drawer-submenu li a {
        display: flex;
        align-items: center;
        gap: 8px;
        padding: 9px 14px;
        font-size: 13px;
        font-weight: 500;
        color: #334155;
        text-decoration: none;
    }

    .vf-sm-dot {
        width: 6px;
        height: 6px;
        border-radius: 50%;
        background: #dc2626;
        display: inline-block;
    }

    .vf-drawer-footer {
        padding: 16px 18px;
        margin-top: 10px;
        border-top: 1px solid #f1f5f9;
    }

    .btn-drawer-cta {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 8px;
        width: 100%;
        padding: 12px;
        background: #dc2626;
        color: #ffffff !important;
        font-size: 13px;
        font-weight: 800;
        text-transform: uppercase;
        border-radius: 8px;
        text-decoration: none !important;
        box-shadow: 0 4px 12px rgba(220, 38, 38, 0.3);
    }

    .vf-drawer-address {
        font-size: 11.5px;
        color: #64748b;
        margin-top: 12px;
        line-height: 1.45;
        text-align: center;
    }
}

/* --------------------------------------------------------------------------
   4. HERO BANNER SLIDER ON MOBILE (Matching vinfastdongnai.net)
   -------------------------------------------------------------------------- */
@media (max-width: 991.98px) {
    .hero-slider-section {
        position: relative !important;
        background: #ffffff !important;
        overflow: hidden !important;
        width: 100% !important;
        padding: 0 !important;
        margin: 0 !important;
    }

    .hero-swiper {
        width: 100% !important;
        height: auto !important;
        aspect-ratio: 16 / 9 !important;
        max-height: 280px !important;
        background: #ffffff !important;
    }

    @media (max-width: 575.98px) {
        .hero-swiper {
            aspect-ratio: 16 / 9 !important;
            max-height: 240px !important;
        }
    }

    .hero-swiper .swiper-slide {
        width: 100% !important;
        height: 100% !important;
        display: block !important;
        background: #ffffff !important;
    }

    .hero-swiper .slider-link,
    .hero-swiper .swiper-slide a {
        display: block !important;
        width: 100% !important;
        height: 100% !important;
        position: relative !important;
        overflow: hidden !important;
    }

    .hero-swiper .slider-img {
        width: 100% !important;
        height: 100% !important;
        object-fit: cover !important;
        object-position: center center !important;
        background: transparent !important;
        display: block !important;
    }

    /* Hide desktop swiper arrows on mobile for clean touch swipe */
    .hero-swiper .swiper-button-next,
    .hero-swiper .swiper-button-prev {
        display: none !important;
    }

    .hero-swiper .swiper-pagination {
        bottom: 8px !important;
        z-index: 10 !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
    }

    .hero-swiper .swiper-pagination-bullet {
        width: 8px !important;
        height: 8px !important;
        border-radius: 50% !important;
        background: #ffffff !important;
        opacity: 0.7 !important;
        box-shadow: 0 1px 4px rgba(0, 0, 0, 0.5) !important;
        transition: all 0.3s ease !important;
        margin: 0 4px !important;
    }

    .hero-swiper .swiper-pagination-bullet-active {
        width: 22px !important;
        border-radius: 11px !important;
        background: #ffffff !important;
        opacity: 1 !important;
        box-shadow: 0 2px 6px rgba(0, 0, 0, 0.6) !important;
    }

    /* Completely hide the 4 dark feature icons bar on mobile like vinfastdongnai.net */
    .feature-icons-bar {
        display: none !important;
    }
}

/* --------------------------------------------------------------------------
   5. VALUE PROPOSITION SECTION (Trách Nhiệm - Uy Tín - Chuẩn 3S)
   -------------------------------------------------------------------------- */
@media (max-width: 991.98px) {
    .vf-trust-section {
        background: #18181b;
        color: #ffffff;
        padding: 30px 0 24px;
        text-align: center;
    }

    .vf-trust-title {
        font-size: 18px;
        font-weight: 900;
        text-transform: uppercase;
        color: #ffffff;
        letter-spacing: 0.5px;
        margin-bottom: 6px;
    }

    .vf-trust-divider {
        width: 60px;
        height: 3px;
        background: #ef4444;
        margin: 0 auto 20px;
        border-radius: 2px;
    }

    .vf-trust-grid {
        display: grid;
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .vf-trust-card {
        background: #27272a;
        padding: 18px 16px;
        border-radius: 10px;
        border: 1px solid rgba(255, 255, 255, 0.06);
        text-align: center;
    }

    .vf-trust-card .vf-tc-icon {
        width: 48px;
        height: 48px;
        border-radius: 50%;
        background: rgba(239, 68, 68, 0.15);
        color: #ef4444;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 22px;
        margin: 0 auto 10px;
    }

    .vf-trust-card h4 {
        font-size: 14.5px;
        font-weight: 800;
        color: #ffffff;
        margin-bottom: 6px;
        text-transform: uppercase;
    }

    .vf-trust-card p {
        font-size: 12px;
        color: #cbd5e1;
        line-height: 1.5;
        margin: 0;
    }
}

/* --------------------------------------------------------------------------
   6. SECTIONS HEADINGS & FILTER TABS ON MOBILE
   -------------------------------------------------------------------------- */
@media (max-width: 991.98px) {
    .vf-section {
        padding: 32px 0 !important;
    }

    .vf-section-header {
        margin-bottom: 18px !important;
        text-align: center !important;
    }

    .vf-section-subtitle {
        font-size: 10.5px !important;
        padding: 3px 10px !important;
        margin-bottom: 6px !important;
        font-weight: 800 !important;
        background: #fee2e2 !important;
        color: #dc2626 !important;
    }

    .vf-section-title {
        font-size: 19px !important;
        font-weight: 900 !important;
        line-height: 1.3 !important;
        margin-bottom: 6px !important;
        color: #0f172a !important;
    }

    .vf-section-desc {
        font-size: 12px !important;
        line-height: 1.45 !important;
        color: #64748b !important;
        display: none !important; /* Keep mobile punchy and clean */
    }

    /* Horizontally Swipeable Filter Tabs (Like Shopee/Tiki/Flatsome) */
    .vf-car-tabs {
        display: flex !important;
        flex-wrap: nowrap !important;
        overflow-x: auto !important;
        -webkit-overflow-scrolling: touch !important;
        gap: 8px !important;
        padding: 2px 2px 10px 2px !important;
        margin-bottom: 16px !important;
        justify-content: flex-start !important;
        scrollbar-width: none !important;
    }

    .vf-car-tabs::-webkit-scrollbar {
        display: none !important;
    }

    .vf-tab-btn {
        flex: 0 0 auto !important;
        white-space: nowrap !important;
        font-size: 12px !important;
        font-weight: 700 !important;
        padding: 7px 15px !important;
        border-radius: 50px !important;
        border: 1px solid #e2e8f0 !important;
        background: #ffffff !important;
        color: #475569 !important;
        box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05) !important;
    }

    .vf-tab-btn.active {
        background: #dc2626 !important;
        color: #ffffff !important;
        border-color: #dc2626 !important;
        box-shadow: 0 3px 10px rgba(220, 38, 38, 0.35) !important;
    }
}

/* --------------------------------------------------------------------------
   7. CAR FLEET 2-COLUMN GRID (Matching vinfastdongnai.net small-columns-2)
   -------------------------------------------------------------------------- */
@media (max-width: 991.98px) {
    .vf-car-grid {
        display: grid !important;
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 10px !important;
        margin-bottom: 16px !important;
    }

    @media (max-width: 350px) {
        .vf-car-grid {
            gap: 6px !important;
        }
    }

    /* Car Card Container */
    .vf-car-card {
        background: #ffffff !important;
        border-radius: 10px !important;
        border: 1px solid #e2e8f0 !important;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05) !important;
        padding: 10px 8px 12px !important;
        display: flex !important;
        flex-direction: column !important;
        position: relative !important;
        overflow: hidden !important;
        transition: transform 0.2s ease, box-shadow 0.2s ease !important;
    }

    .vf-car-card:active {
        transform: scale(0.98);
    }

    /* Badge on top corner */
    .vf-car-badge {
        position: absolute !important;
        top: 8px !important;
        left: 8px !important;
        right: auto !important;
        background: rgba(220, 38, 38, 0.08) !important;
        color: #dc2626 !important;
        font-weight: 800 !important;
        font-size: 9.5px !important;
        padding: 2px 6px !important;
        border-radius: 4px !important;
        letter-spacing: 0.3px;
        z-index: 2;
    }

    .vf-car-badge i {
        font-size: 8px;
    }

    /* Car Image Stage (Ratio optimized for phones) */
    .vf-car-thumb {
        height: 105px !important;
        min-height: 105px !important;
        margin: 14px 0 6px !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        padding: 4px;
        background: radial-gradient(circle, #f8fafc 40%, transparent 80%);
    }

    .vf-car-thumb img {
        max-height: 100% !important;
        max-width: 100% !important;
        object-fit: contain !important;
        filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.1));
    }

    /* Color Swatches on mobile */
    .vf-color-swatches {
        gap: 5px !important;
        margin-bottom: 8px !important;
        min-height: 18px !important;
    }

    .vf-swatch {
        width: 13px !important;
        height: 13px !important;
        border-width: 1.5px !important;
    }

    .vf-swatch.active {
        box-shadow: 0 0 0 1.5px #dc2626 !important;
    }

    /* Car Title */
    .vf-car-title {
        font-size: 13.5px !important;
        font-weight: 800 !important;
        line-height: 1.25 !important;
        margin-bottom: 6px !important;
        text-align: center !important;
        min-height: 34px !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
    }

    .vf-car-title a {
        color: #0f172a !important;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }

    /* Hide 4 bulky specs pills on mobile in 2-column mode to keep card clean */
    .vf-specs-pills {
        display: none !important;
    }

    /* Pricing Row */
    .vf-car-pricing {
        border-top: 1px dashed #f1f5f9 !important;
        padding-top: 6px !important;
        margin-bottom: 8px !important;
        text-align: center !important;
    }

    .vf-price-row {
        flex-direction: column !important;
        align-items: center !important;
        justify-content: center !important;
        gap: 1px !important;
    }

    .vf-price-label {
        font-size: 10px !important;
        color: #64748b !important;
    }

    .vf-price-val {
        font-size: 13.5px !important;
        font-weight: 900 !important;
        color: #dc2626 !important;
        line-height: 1.2 !important;
    }

    /* Actions on Mobile Card (Clean 2-button layout) */
    .vf-car-actions {
        display: flex !important;
        gap: 5px !important;
        margin-top: auto !important;
        width: 100% !important;
    }

    .vf-btn-view {
        flex: 1 !important;
        font-size: 11px !important;
        font-weight: 700 !important;
        padding: 7px 4px !important;
        border-radius: 6px !important;
        background: #f1f5f9 !important;
        color: #1e293b !important;
        border: 1px solid #cbd5e1 !important;
        gap: 3px !important;
    }

    .vf-btn-view i {
        font-size: 10px;
    }

    .vf-btn-calc {
        flex: 1 !important;
        font-size: 11px !important;
        font-weight: 800 !important;
        padding: 7px 4px !important;
        border-radius: 6px !important;
        background: #dc2626 !important;
        color: #ffffff !important;
        border: none !important;
        gap: 3px !important;
        box-shadow: 0 2px 6px rgba(220, 38, 38, 0.3) !important;
    }

    .vf-btn-calc i {
        font-size: 10px;
        color: #ffffff !important;
    }

    /* Hide individual zalo/phone icon buttons inside mobile cards because we have bottom bar & detail page */
    .vf-car-actions .vf-btn-icon {
        display: none !important;
    }
}

/* --------------------------------------------------------------------------
   8. BIG 3 ACTION CTA BUTTONS (Matching vinfastdongnai.net UX)
   -------------------------------------------------------------------------- */
.vf-mobile-cta-section {
    padding: 16px 0 24px;
}

@media (max-width: 991.98px) {
    .vf-cta-grid {
        display: grid;
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .vf-cta-btn {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 14px 18px;
        background: linear-gradient(135deg, #b91c1c 0%, #dc2626 100%);
        color: #ffffff !important;
        border-radius: 8px;
        font-size: 13.5px;
        font-weight: 800;
        text-transform: uppercase;
        letter-spacing: 0.5px;
        text-decoration: none !important;
        box-shadow: 0 4px 14px rgba(220, 38, 38, 0.35);
        transition: transform 0.2s ease;
    }

    .vf-cta-btn:active {
        transform: scale(0.98);
    }

    .vf-cta-btn.cta-blue {
        background: linear-gradient(135deg, #1e3a8a 0%, #2563eb 100%);
        box-shadow: 0 4px 14px rgba(37, 99, 235, 0.35);
    }

    .vf-cta-btn.cta-dark {
        background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
        box-shadow: 0 4px 14px rgba(15, 23, 42, 0.35);
    }

    .vf-cta-left {
        display: flex;
        align-items: center;
        gap: 12px;
    }

    .vf-cta-left i {
        font-size: 18px;
        width: 22px;
        text-align: center;
    }

    .vf-cta-arrow i {
        font-size: 14px;
        opacity: 0.8;
    }
}

/* --------------------------------------------------------------------------
   9. SALES CONSULTANT CARD ON MOBILE
   -------------------------------------------------------------------------- */
@media (max-width: 991.98px) {
    .vf-consultant-card {
        padding: 18px 16px !important;
        border-radius: 12px !important;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.06) !important;
    }

    .vf-consultant-header {
        gap: 12px !important;
        margin-bottom: 12px !important;
        padding-bottom: 12px !important;
    }

    .vf-consultant-avatar {
        width: 64px !important;
        height: 64px !important;
        border-width: 2px !important;
    }

    .vf-consultant-role {
        font-size: 10px !important;
    }

    .vf-consultant-name {
        font-size: 16px !important;
        margin: 2px 0 !important;
    }

    .vf-consultant-stars {
        font-size: 11px !important;
    }

    .vf-consultant-tags {
        display: grid !important;
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 6px !important;
        margin-bottom: 14px !important;
    }

    .vf-consultant-tag {
        background: #f8fafc;
        border: 1px solid #e2e8f0;
        border-radius: 6px;
        padding: 6px 8px;
        font-size: 11.5px;
        font-weight: 600;
        color: #334155;
        display: flex;
        align-items: center;
        gap: 5px;
    }

    .vf-consultant-tag i {
        color: #059669;
        font-size: 11px;
    }

    .vf-consultant-ctas {
        display: grid !important;
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 8px !important;
    }

    .vf-btn-consult-call,
    .vf-btn-consult-zalo {
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        gap: 6px !important;
        padding: 10px 8px !important;
        border-radius: 8px !important;
        font-size: 12.5px !important;
        font-weight: 800 !important;
        text-decoration: none !important;
        text-transform: uppercase !important;
    }

    .vf-btn-consult-call {
        background: #dc2626 !important;
        color: #ffffff !important;
        box-shadow: 0 3px 10px rgba(220, 38, 38, 0.35) !important;
    }

    .vf-btn-consult-zalo {
        background: #0068ff !important;
        color: #ffffff !important;
        box-shadow: 0 3px 10px rgba(0, 104, 255, 0.35) !important;
    }
}

/* --------------------------------------------------------------------------
   10. NEWS / PROMOTIONS GRID ON MOBILE
   -------------------------------------------------------------------------- */
@media (max-width: 991.98px) {
    .vf-news-grid {
        display: grid !important;
        grid-template-columns: 1fr !important;
        gap: 12px !important;
    }

    .vf-news-card {
        border-radius: 10px !important;
        overflow: hidden !important;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05) !important;
        display: flex !important;
        flex-direction: row !important; /* Clean horizontal card style like vinfastdongnai.net */
        align-items: center !important;
    }

    .vf-news-thumb {
        width: 115px !important;
        min-width: 115px !important;
        height: 85px !important;
        flex-shrink: 0 !important;
    }

    .vf-news-thumb img {
        width: 100% !important;
        height: 100% !important;
        object-fit: cover !important;
    }

    .vf-news-body {
        padding: 8px 12px !important;
        flex: 1 !important;
    }

    .vf-news-date {
        font-size: 10.5px !important;
        color: #94a3b8 !important;
        margin-bottom: 3px !important;
    }

    .vf-news-title {
        font-size: 13px !important;
        font-weight: 700 !important;
        line-height: 1.35 !important;
        margin-bottom: 0 !important;
    }

    .vf-news-title a {
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }

    .vf-news-desc {
        display: none !important;
    }
}

/* --------------------------------------------------------------------------
   11. REASONS ROW ON MOBILE
   -------------------------------------------------------------------------- */
@media (max-width: 991.98px) {
    .vf-reasons-row {
        display: grid !important;
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 10px !important;
        margin: 0 !important;
    }

    .vf-reasons-row > [class*="col-"] {
        padding: 0 !important;
        margin-bottom: 0 !important;
        max-width: 100% !important;
        flex: none !important;
    }

    .vf-reason-box {
        padding: 14px 10px !important;
        border-radius: 8px !important;
        text-align: center !important;
        box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05) !important;
    }

    .vf-reason-icon {
        width: 42px !important;
        height: 42px !important;
        font-size: 17px !important;
        margin: 0 auto 8px !important;
    }

    .vf-reason-title {
        font-size: 12.5px !important;
        font-weight: 800 !important;
        margin-bottom: 4px !important;
    }

    .vf-reason-desc {
        font-size: 11px !important;
        line-height: 1.35 !important;
    }
}

/* --------------------------------------------------------------------------
   12. FOOTER ON MOBILE
   -------------------------------------------------------------------------- */
@media (max-width: 991.98px) {
    .vf-footer {
        padding: 30px 0 15px !important;
        font-size: 12.5px !important;
    }

    .vf-footer-title {
        font-size: 13.5px !important;
        margin-bottom: 12px !important;
    }

    .vf-footer-col {
        margin-bottom: 16px !important;
    }

    .vf-footer-links li {
        margin-bottom: 7px !important;
    }

    .vf-footer-links a {
        font-size: 12px !important;
    }

    .vf-footer-bottom {
        margin-top: 20px !important;
        padding-top: 14px !important;
        font-size: 11.5px !important;
        text-align: center !important;
    }

    .vf-footer-bottom .d-flex {
        flex-direction: column !important;
        gap: 6px !important;
    }
}

/* --------------------------------------------------------------------------
   13. BOTTOM STICKY NAVIGATION BAR
   -------------------------------------------------------------------------- */
.vf-bottom-sticky {
    position: fixed !important;
    bottom: 0 !important;
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    height: calc(56px + env(safe-area-inset-bottom, 0px)) !important;
    padding-bottom: env(safe-area-inset-bottom, 0px) !important;
    background: #ffffff !important;
    border-top: 1px solid #e2e8f0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-around !important;
    z-index: 99990 !important;
    box-shadow: 0 -4px 16px rgba(0, 0, 0, 0.08) !important;
}

@media (min-width: 992px) {
    .vf-bottom-sticky {
        display: none !important;
    }
}

.vf-sticky-item {
    flex: 1 !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 3px !important;
    height: 56px !important;
    color: #475569 !important;
    text-decoration: none !important;
    font-size: 10.5px !important;
    font-weight: 700 !important;
    letter-spacing: 0.2px;
}

.vf-sticky-item i {
    font-size: 18px !important;
}

.vf-sticky-item.item-call i {
    color: #dc2626 !important;
}

.vf-sticky-item.item-livechat i {
    color: #0068ff !important;
}

.vf-sticky-item.item-quote i {
    color: #f59e0b !important;
}

.vf-sticky-item.item-testdrive i {
    color: #059669 !important;
}

.vf-sticky-item:active {
    background: #f8fafc !important;
}

/* --------------------------------------------------------------------------
   14. PRODUCT DETAIL PAGE MOBILE OPTIMIZATION
   -------------------------------------------------------------------------- */
@media (max-width: 991.98px) {
    .vf-detail-wrapper {
        padding: 16px 0 24px !important;
    }

    .vf-detail-wrapper .card-body {
        padding: 14px !important;
    }

    .vf-stage-container {
        padding: 16px 10px !important;
    }

    .vf-stage-container > div:first-child {
        height: 200px !important;
        margin-bottom: 14px !important;
    }

    .vf-detail-wrapper h1 {
        font-size: 22px !important;
        margin-bottom: 6px !important;
    }
}

/* --------------------------------------------------------------------------
   15. DETAIL TABS & CONTENT ON MOBILE
   -------------------------------------------------------------------------- */
@media (max-width: 991.98px) {
    #vfDetailTab {
        display: flex !important;
        flex-wrap: nowrap !important;
        overflow-x: auto !important;
        -webkit-overflow-scrolling: touch !important;
        padding: 0 8px !important;
        gap: 6px !important;
        scrollbar-width: none !important;
        border-bottom: 2px solid #e2e8f0 !important;
    }

    #vfDetailTab::-webkit-scrollbar {
        display: none !important;
    }

    #vfDetailTab .nav-item {
        flex: 0 0 auto !important;
    }

    #vfDetailTab .nav-link {
        white-space: nowrap !important;
        padding: 10px 14px !important;
        font-size: 12.5px !important;
        font-weight: 700 !important;
        border: none !important;
    }

    #vfDetailTab .nav-link.active {
        border-bottom: 3px solid #dc2626 !important;
        color: #dc2626 !important;
    }

    .tab-content {
        padding-top: 14px !important;
    }

    .tab-content img,
    .content-main img {
        max-width: 100% !important;
        height: auto !important;
        border-radius: 8px !important;
    }

    .tab-content table,
    .table-responsive table {
        font-size: 12.5px !important;
    }

    /* Modal Rolling Cost */
    #rollingModal .modal-dialog {
        margin: 12px auto !important;
        max-width: calc(100vw - 20px) !important;
    }

    #rollingModal .modal-content {
        border-radius: 12px !important;
    }

    #rollingModal .modal-body {
        padding: 16px 14px !important;
    }
}

