/**
 * VinFast Hải Phòng - Custom Override CSS
 * Match original design from Bootstrap 3 template
 *
 * @package VinFast2026
 */

/* ================================================================
   FOOTER CONTACT - Responsive Grid
   ================================================================ */
.footer-contact-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

@media (max-width: 768px) {
    .footer-contact-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

/* ================================================================
   1. GLOBAL & TYPOGRAPHY
   ================================================================ */

:root {
    --vf-red:      #d32f2f;
    --vf-red-dark: #b71c1c;
    --vf-red-light: #ffebee;
    --vf-orange:    #ff9800;
    --vf-black:     #1a1a1a;
    --vf-gray:      #555;
    --vf-light:     #f5f5f5;
    --vf-white:     #ffffff;
    --vf-navy:      #003469;
}
.col-lg-1, .col-lg-10, .col-lg-11, .col-lg-12, .col-lg-2, .col-lg-3, .col-lg-4, .col-lg-5, .col-lg-6, .col-lg-7, .col-lg-8, .col-lg-9, .col-md-1, .col-md-10, .col-md-11, .col-md-12, .col-md-2, .col-md-3, .col-md-4, .col-md-5, .col-md-6, .col-md-7, .col-md-8, .col-md-9, .col-sm-1, .col-sm-10, .col-sm-11, .col-sm-12, .col-sm-2, .col-sm-3, .col-sm-4, .col-sm-5, .col-sm-6, .col-sm-7, .col-sm-8, .col-sm-9, .col-xs-1, .col-xs-10, .col-xs-11, .col-xs-12, .col-xs-2, .col-xs-3, .col-xs-4, .col-xs-5, .col-xs-6, .col-xs-7, .col-xs-8, .col-xs-9 {
    max-width: 100%;
}
/* ================================================================
   CRITICAL OVERRIDES - Must load last, but these rules force priority
   ================================================================ */

/* Header bottom - override Flatsome defaults */
.header-bottom {
    background-color: #222 !important;
    border-top: none !important;
    box-shadow: 0 0 4px rgba(0,0,0,0.4) !important;
}

#wide-nav {
    background-color: #222 !important;
    box-shadow: 0 0 4px rgba(0,0,0,0.4) !important;
}

.wide-nav {
    background-color: #222 !important;
}

/* Force nav link color - nền xanh đậm khi hover như mẫu gốc */
.header-bottom .nav > li > a,
#wide-nav .nav > li > a,
.wide-nav .nav > li > a,
.header-nav-main.header-bottom-nav > li > a,
.header-nav-main.nav > li > a {
    color: #000 !important;
}

.header-bottom .nav > li:hover > a,
#wide-nav .nav > li:hover > a,
.wide-nav .nav > li:hover > a,
.header-bottom .nav > li > a:hover,
#wide-nav .nav > li > a:hover,
.wide-nav .nav > li > a:hover {
    color: #fff !important;
    background-color: #003469 !important;
}

.header-bottom .nav > li.active > a,
#wide-nav .nav > li.active > a,
.header-bottom .nav > li.current-menu-item > a,
#wide-nav .nav > li.current-menu-item > a {
    color: #fff !important;
    background-color: #003469 !important;
}

/* Dropdown background trắng, border xanh đậm */
.header-bottom .nav-dropdown,
#wide-nav .nav-dropdown,
.wide-nav .nav-dropdown,
.header-nav-main .nav-dropdown {
    background-color: #fff !important;
    border-top: 3px solid #003469 !important;
}

.header-bottom .nav-dropdown a,
#wide-nav .nav-dropdown a,
.wide-nav .nav-dropdown a {
    color: #000 !important;
}

.header-bottom .nav-dropdown a:hover,
#wide-nav .nav-dropdown a:hover,
.wide-nav .nav-dropdown a:hover {
    color: #fff !important;
    background-color: #003469 !important;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Open Sans', sans-serif;
    font-size: 14px;
    color: #333;
    line-height: 1.6;
}

h1, h2, h3, h4, h5, h6,
.heading-font {
    font-family: 'Roboto Condensed', sans-serif;
    font-weight: 700;
    color: var(--vf-black);
}

p {
    margin-bottom: 15px;
}

a {
    color: var(--vf-red);
    transition: color 0.3s ease;
}

a:hover {
    color: var(--vf-red-dark);
}

/* ================================================================
   2. HEADER - LOGO TOP BAR (match .logotop)
   ================================================================ */

/* Header logo */
.header-logo {
    height: 70px;
    width: auto;
}
#logo img {
    max-height: 70px;
    width: auto;
}

/* ===================== */
/* HOTLINE TEXT BOX - Phần quan trọng nhất */
/* ===================== */

/* Container chính của hotline_text */
.hotline_text {
    display: flex;
    flex-direction: row;
    align-items: center;
    flex-wrap: nowrap;
}

/* Support block - Tư vấn mua xe / Bảo hiểm */
.hotline_text .header-support {
    text-align: right;
    font-size: 11px;
    font-weight: 400;
    line-height: 16px;
    margin-left: 45px;
}

.hotline_text .header-support p {
    margin: 0 0 3px 0;
    line-height: 14px;
}

.hotline_text .header-support label {
    margin-right: 2px;
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.hotline_text .header-support a {
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    display: inline-block;
}

.hotline_text .header-support a:hover {
    color: #ffe7d6;
    text-decoration: none;
}

/* Hotline block chính - icon + text */
.hotline_text .header-hotline {
    margin-left: 52px;
    display: flex;
    align-items: center;
}

.hotline_text .header-hotline .fa-phone.fa-round {
    background: #d32f2f;
    color: #fff;
    padding: 6px;
    border-radius: 50%;
    font-size: 12px;
    margin-right: 8px;
    vertical-align: middle;
}

.hotline_text .header-hotline .heading-font {
    color: #fff;
    font-size: 12px;
    font-weight: 400;
    line-height: 18px;
    text-transform: uppercase;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.hotline_text .header-hotline a {
    display: block;
    color: #fff;
    font-weight: 700;
    font-size: 16px;
    line-height: 20px;
    text-decoration: none;
    text-transform: none;
}

.hotline_text .header-hotline a:hover {
    color: #ffe7d6;
}

/* Address block - Vinfast Hải Phòng */
.hotline_text .header-address {
    max-width: 217px;
    line-height: 18px;
    text-align: left;
    margin-left: 45px;
}

.hotline_text .header-address .fa-map-marker.fa-round {
    background: #d32f2f;
    color: #fff;
    padding: 6px;
    border-radius: 50%;
    font-size: 12px;
    margin-right: 8px;
    vertical-align: middle;
}

.hotline_text .header-address .heading-font {
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    line-height: 18px;
    text-transform: uppercase;
    display: inline-block;
}

/* ===================== */
/* FLATSOME HEADER OVERRIDE */
/* ===================== */

/* Header top bar - nền đen như mẫu */
.header-top {
    background: #000 !important;
    border-bottom: none !important;
    padding: 10px 0 !important;
}

/* Header inner row */
.header-inner {
    background: #000 !important;
}

/* Logo area */
#logo {
    padding: 5px 0;
}

/* Header nav li trong header right */
.header-nav-main > li > a {
    color: #fff !important;
    font-family: 'Roboto Condensed', sans-serif;
    font-weight: 600;
    font-size: 13px;
}

/* Html element trong header right */
.header-nav-main .html_topbar_left {
    padding: 0 !important;
    background: transparent !important;
}

/* Responsive - ẩn address trên tablet nhỏ */
@media (max-width: 1199px) {
    .hotline_text .header-support {
        margin-left: 30px;
    }
    .hotline_text .header-hotline {
        margin-left: 30px;
    }
    .hotline_text .header-address {
        margin-left: 30px;
        max-width: 180px;
    }
    .hotline_text .header-hotline a {
        font-size: 14px;
    }
}

@media (max-width: 991px) {
    .hotline_text .header-address {
        display: none !important;
    }
    .hotline_text .header-support {
        margin-left: 20px;
    }
    .hotline_text .header-hotline {
        margin-left: 20px;
    }
    .hotline_text .header-hotline a {
        font-size: 13px;
    }
    .hotline_text .header-support a {
        font-size: 12px;
    }
}

@media (max-width: 767px) {
    .hotline_text .header-support {
        margin-left: 10px;
    }
    .hotline_text .header-hotline {
        margin-left: 10px;
    }
    .hotline_text .header-support {
        display: none;
    }
    .hotline_text .header-hotline .heading-font::before {
        font-size: 9px;
    }
    .hotline_text .header-hotline a {
        font-size: 12px;
    }
    .hotline_text .header-hotline .fa-phone.fa-round {
        padding: 5px;
        font-size: 10px;
    }
}

/* Header logo responsive */
@media (max-width: 767px) {
    .header-logo {
        height: 50px !important;
        width: auto !important;
    }
    #logo img {
        max-height: 50px !important;
    }
}

@media (max-width: 450px) {
    .header-logo {
        height: 40px !important;
        width: auto !important;
    }
    #logo img {
        max-height: 40px !important;
    }
}

/* Search bar mobile */
.search-bar .input-group {
    margin-top: 10px;
}

.search-bar input {
    border-radius: 20px;
}

/* ================================================================
   3. NAVIGATION - WIDE NAV / HEADER BOTTOM (match .menubar gốc)
   ================================================================ */

/* Wide Nav / Header Bottom - Container chính */
#wide-nav,
.header-bottom,
.wide-nav {
    -webkit-transition: background-color 0.4s ease-in;
    -moz-transition: background-color 0.4s ease-in;
    -o-transition: background-color 0.4s ease-in;
    transition: background-color 0.4s ease-in;
    box-shadow: 0 0 4px rgba(0,0,0,0.4);
    position: relative;
    z-index: 100;
    background: rgba(234, 237, 240, 0.8) !important;
    box-shadow: 0 0 4px rgba(0, 0, 0, 0.4) !important;
}

/* Nav links - Link items trong wide nav */
#wide-nav .nav > li > a,
.header-bottom .nav > li > a,
.wide-nav .nav > li > a,
.header-nav-main .nav > li > a,
#wide-nav li a,
.header-bottom-nav li a {
    color: #000 !important;
    text-transform: uppercase;
    font-family: 'Roboto Condensed', sans-serif !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    padding: 14px 20px !important;
    -webkit-transition: all 0.2s linear !important;
    -moz-transition: all 0.2s linear !important;
    -ms-transition: all 0.2s linear !important;
    -o-transition: all 0.2s linear !important;
    transition: all 0.2s linear !important;
    background-color: transparent !important;
}

/* Hover state - Khi hover lên menu item */
#wide-nav .nav > li:hover > a,
.header-bottom .nav > li:hover > a,
.wide-nav .nav > li:hover > a,
.header-nav-main .nav > li:hover > a,
#wide-nav li:hover > a,
.header-bottom-nav li:hover > a,
#wide-nav .nav > li > a:hover,
.header-bottom .nav > li > a:hover,
.wide-nav .nav > li > a:hover,
.header-nav-main .nav > li > a:hover {
    color: #fff !important;
    background-color: #003469 !important;
}

/* Active state - Menu item đang active */
#wide-nav .nav > li.active > a,
.header-bottom .nav > li.active > a,
.wide-nav .nav > li.active > a,
.header-nav-main .nav > li.active > a,
#wide-nav .nav > li.current-menu-item > a,
.header-bottom .nav > li.current-menu-item > a,
.wide-nav .nav > li.current-menu-item > a,
.header-nav-main .nav > li.current-menu-item > a,
#wide-nav .nav > li.current-menu-ancestor > a,
.header-bottom .nav > li.current-menu-ancestor > a {
    color: #fff !important;
    background-color: #003469 !important;
}

/* Dropdown container */
#wide-nav .nav-dropdown,
.header-bottom .nav-dropdown,
.wide-nav .nav-dropdown,
.header-nav-main .nav-dropdown {
    background-color: #fff !important;
    border-radius: 0 !important;
    box-shadow: 0 8px 24px rgba(0,0,0,0.15) !important;
    border-top: 3px solid #003469 !important;
    padding: 0 !important;
    min-width: 240px !important;
    margin-top: 0 !important;
}
#wide-nav .nav-dropdown, .header-bottom .nav-dropdown, .wide-nav .nav-dropdown.sub-menu{
    left: 0;
}

#wide-nav .nav-dropdown, .header-bottom .nav-dropdown, .wide-nav .nav-dropdown.sub-menu a{
    margin:0;
}

/* Dropdown items */
#wide-nav .nav-dropdown li a,
.header-bottom .nav-dropdown li a,
.wide-nav .nav-dropdown li a,
.header-nav-main .nav-dropdown li a,
.nav-dropdown li a {
    color: #000 !important;
    text-transform: none !important;
    font-size: 13px !important;
    padding: 10px 20px !important;
    border-bottom: 1px solid #f0f0f0 !important;
    background-color: transparent !important;
    font-weight: 500 !important;
    -webkit-transition: all 0.2s linear !important;
    -moz-transition: all 0.2s linear !important;
    -ms-transition: all 0.2s linear !important;
    -o-transition: all 0.2s linear !important;
    transition: all 0.2s linear !important;
}

/* Dropdown hover */
#wide-nav .nav-dropdown li a:hover,
.header-bottom .nav-dropdown li a:hover,
.wide-nav .nav-dropdown li a:hover,
.header-nav-main .nav-dropdown li a:hover,
.nav-dropdown li a:hover {
    color: #fff !important;
    background-color: #003469 !important;
    padding-left: 28px !important;
}

/* Dropdown last child - no border */
#wide-nav .nav-dropdown li:last-child > a,
.header-bottom .nav-dropdown li:last-child > a,
.wide-nav .nav-dropdown li:last-child > a {
    border-bottom: none !important;
}

/* Search button / icon */
#wide-nav .header-search a,
.header-bottom .header-search a,
.header-nav-main .header-search a,
#wide-nav li.header-search a {
    width: 34px !important;
    height: 34px !important;
    border-radius: 50% !important;
    border: 2px solid rgba(255,255,255,0.6) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    color: #fff !important;
    transition: all 0.2s !important;
    margin: 10px 5px !important;
    padding: 0 !important;
}

#wide-nav .header-search a:hover,
.header-bottom .header-search a:hover,
.header-nav-main .header-search a:hover {
    border-color: #003469 !important;
    background-color: #003469 !important;
    color: #fff !important;
}

/* Search dropdown form */
#wide-nav .header-search .nav-dropdown,
.header-bottom .header-search .nav-dropdown,
.header-nav-main .header-search .nav-dropdown {
    min-width: 300px !important;
    padding: 15px !important;
}

#wide-nav .header-search .searchform input,
.header-bottom .header-search .searchform input,
.header-nav-main .header-search .searchform input {
    border: 1px solid #ddd !important;
    border-radius: 20px !important;
    padding: 8px 15px !important;
    width: 100% !important;
}

#wide-nav .header-search .searchform input:focus,
.header-bottom .header-search .searchform input:focus {
    border-color: #003469 !important;
    outline: none !important;
}

/* Responsive - Tablet */
@media (max-width: 991px) {
    #wide-nav,
    .header-bottom,
    .wide-nav {
        display: none !important;
    }
}

/* ================================================================
   4. HERO SLIDER SECTION (match #slide)
   ================================================================ */

.section-hero .carousel {
    margin-bottom: 0;
}

.section-hero .carousel-inner .item img {
    width: 100%;
    height: 450px;
    object-fit: cover;
}

.section-hero .carousel-control {
    background: rgba(0,0,0,0.4);
    width: 40px;
    height: 60px;
    top: 50%;
    transform: translateY(-50%);
    border-radius: 4px;
    opacity: 0.7;
}

.section-hero .carousel-control:hover {
    opacity: 1;
    background: rgba(211,47,47,0.8);
}

.section-hero .carousel-indicators li {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255,255,255,0.5);
    border: 2px solid var(--vf-white);
}

.section-hero .carousel-indicators .active {
    background: var(--vf-red);
    border-color: var(--vf-red);
}

/* ================================================================
   5. ABOUT SECTION (match #aboutus)
   ================================================================ */

.section-about .titleabout h2 {
    color: var(--vf-red);
    font-size: 28px;
    font-weight: 700;
    margin: 30px 0 20px;
    font-family: 'Roboto Condensed', sans-serif;
}

.section-about .titleabout .buttonabout ul {
    list-style: none;
    padding: 0;
    text-align: right;
    margin-top: 30px;
}

.section-about .titleabout .buttonabout li {
    display: inline-block;
    margin-left: 10px;
}

.section-about .titleabout .buttonabout li a {
    display: inline-block;
    padding: 8px 20px;
    background: var(--vf-red);
    color: var(--vf-white);
    border-radius: 20px;
    font-weight: 600;
    font-size: 13px;
    transition: background 0.3s;
}

.section-about .titleabout .buttonabout li a:hover {
    background: var(--vf-red-dark);
    color: var(--vf-white);
}

.section-about .img-about img {
    width: 100%;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

.section-about .description p {
    font-size: 15px;
    line-height: 1.8;
    color: #444;
}

.section-about .aboutmore {
    margin-top: 20px;
}

.section-about .aboutmore ul {
    list-style: none;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 12px;
}

.section-about .aboutmore li {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 15px;
    background: var(--vf-light);
    border-radius: 8px;
    transition: transform 0.3s, box-shadow 0.3s;
}

.section-about .aboutmore li:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.section-about .aboutmore li img {
    width: 40px;
    height: 40px;
    object-fit: contain;
    flex-shrink: 0;
}

.section-about .aboutmore .iconname {
    font-size: 13px;
    font-weight: 600;
    color: #333;
}

/* ================================================================
   6. PRODUCT SHOP SECTION (match #productshop)
   ================================================================ */

.section-products .blacksite {
    background: var(--vf-black);
    padding: 20px 0;
}

.section-products .blacksite h1 {
    color: var(--vf-white);
    font-size: 22px;
    margin: 0 0 15px;
    font-family: 'Roboto Condensed', sans-serif;
}

.section-products .blacksite .nav-tabs {
    border: none;
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
}

.section-products .blacksite .nav-tabs > li {
    float: none;
}

.section-products .blacksite .nav-tabs > li > a {
    color: #999;
    border: none;
    background: transparent;
    border-radius: 20px;
    padding: 8px 18px;
    font-size: 13px;
    font-weight: 600;
    font-family: 'Roboto Condensed', sans-serif;
    transition: all 0.3s;
}

.section-products .blacksite .nav-tabs > li.active > a,
.section-products .blacksite .nav-tabs > li > a:hover {
    color: var(--vf-white);
    background: var(--vf-red);
    border: none;
}

/* Product grid */
.section-products .product-list .row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

@media (max-width: 1024px) {
    .section-products .product-list .row {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .section-products .product-list .row {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .section-products .product-list .row {
        grid-template-columns: 1fr;
    }
}

/* Product infobox */
.infobox {
    background: var(--vf-white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    margin-bottom: 0;
    transition: transform 0.3s, box-shadow 0.3s;
}

.infobox:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.15);
}

.infobox .img-box {
    position: relative;
    overflow: hidden;
    background: #f0f0f0;
}

.infobox .img-box img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: transform 0.4s ease;
    display: block;
}

.infobox:hover .img-box img {
    transform: scale(1.05);
}

.infobox .price-box {
    background: var(--vf-red);
    color: var(--vf-white);
    padding: 6px 12px;
    font-size: 13px;
    font-weight: 600;
    text-align: center;
}

.infobox .price-box:empty {
    display: none;
}

.infobox .title-content {
    padding: 12px;
}

.infobox .title-box {
    display: block;
    font-weight: 700;
    color: #222;
    font-size: 14px;
    text-align: center;
    line-height: 1.4;
    margin-top: 5px;
    font-family: 'Roboto Condensed', sans-serif;
}

.infobox .title-box:hover {
    color: var(--vf-red);
    text-decoration: none;
}

/* View more button */
.section-products .view-more {
    text-align: center;
    margin-top: 30px;
}

.section-products .view-more a {
    display: inline-block;
    padding: 12px 30px;
    background: var(--vf-red);
    color: var(--vf-white);
    border-radius: 25px;
    font-weight: 600;
    font-family: 'Roboto Condensed', sans-serif;
    font-size: 14px;
    text-transform: uppercase;
    transition: background 0.3s;
}

.section-products .view-more a:hover {
    background: var(--vf-red-dark);
    color: var(--vf-white);
}

/* ================================================================
   7. INTRO SECTION (match #introshop)
   ================================================================ */

.section-intro {
    padding: 60px 0;
    background: var(--vf-white);
}

.section-intro h2 {
    color: var(--vf-red);
    text-align: center;
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 20px;
    font-family: 'Roboto Condensed', sans-serif;
}

.section-intro .line-break {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin-bottom: 30px;
}

.section-intro .line-break .first-long {
    width: 60px;
    height: 2px;
    background: #ccc;
}

.section-intro .line-break .first-short {
    width: 20px;
    height: 2px;
    background: var(--vf-red);
}

.section-intro .why_buy {
    max-width: 800px;
    margin: 0 auto 40px;
}

.section-intro .why_buy ul {
    list-style: none;
    padding: 0;
    counter-reset: why-list;
}

.section-intro .why_buy li {
    position: relative;
    padding-left: 35px;
    margin-bottom: 12px;
    font-size: 14px;
    color: #555;
    line-height: 1.7;
}

.section-intro .why_buy li::before {
    content: counter(why-list);
    counter-increment: why-list;
    position: absolute;
    left: 0;
    top: 2px;
    width: 24px;
    height: 24px;
    background: var(--vf-red);
    color: var(--vf-white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 700;
}

/* 3 intro boxes */
.section-intro .introbox {
    text-align: center;
    padding: 25px 15px;
    border-radius: 12px;
    transition: transform 0.3s;
    height: 100%;
}

.section-intro .introbox:hover {
    transform: translateY(-4px);
}

.section-intro .introbox .title-box {
    margin-bottom: 15px;
}

.section-intro .introbox .title-box img {
    width: 70px;
    height: 70px;
    object-fit: contain;
    margin: 0 auto;
    display: block;
}

.section-intro .introbox .intro-content .title {
    font-weight: 700;
    font-size: 16px;
    color: var(--vf-black);
    margin-bottom: 10px;
    font-family: 'Roboto Condensed', sans-serif;
}

.section-intro .introbox .intro-content .content {
    font-size: 13px;
    color: #666;
    line-height: 1.7;
}

/* ================================================================
   8. NEWS SECTION (match #newshome)
   ================================================================ */

.section-news {
    padding: 60px 0;
    background: var(--vf-light);
}

.section-news .title-info h2 {
    color: var(--vf-red);
    font-size: 28px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 10px;
    font-family: 'Roboto Condensed', sans-serif;
}

.section-news .title-info .description {
    text-align: center;
    color: #888;
    font-size: 14px;
    margin-bottom: 30px;
}

/* News items */
.section-news .col-news {
    margin-bottom: 25px;
}

.section-news .first-news {
    background: var(--vf-white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0,0,0,0.08);
    height: 100%;
    transition: transform 0.3s, box-shadow 0.3s;
}

.section-news .first-news:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.12);
}

.section-news .first-news .flash {
    display: block;
    overflow: hidden;
}

.section-news .first-news .flash img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    transition: transform 0.4s;
}

.section-news .first-news:hover .flash img {
    transform: scale(1.05);
}

.section-news .first-news .title-news {
    padding: 15px;
}

.section-news .first-news .title-news .title a {
    font-size: 15px;
    font-weight: 700;
    color: #222;
    line-height: 1.5;
    display: block;
    margin-bottom: 8px;
    font-family: 'Roboto Condensed', sans-serif;
}

.section-news .first-news .title-news .title a:hover {
    color: var(--vf-red);
    text-decoration: none;
}

.section-news .first-news .title-news .description {
    font-size: 13px;
    color: #666;
    line-height: 1.6;
}

/* ================================================================
   9. PARTNER / CUSTOMER SECTION (match #customer)
   ================================================================ */

.section-partner {
    padding: 40px 0;
    background: var(--vf-white);
}

.section-partner #customer-carousel {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    justify-content: center;
}

.section-partner .item {
    flex: 0 0 calc(20% - 15px);
    text-align: center;
}

.section-partner .item .img-box img {
    max-height: 80px;
    width: auto;
    opacity: 0.7;
    transition: opacity 0.3s;
    filter: grayscale(100%);
}

.section-partner .item .img-box img:hover {
    opacity: 1;
    filter: grayscale(0%);
}

/* ================================================================
   10. CONTACT / FOOTER SECTION (match #contactshop)
   ================================================================ */

.section-footer-contact {
    padding: 50px 0;
    background: var(--vf-light);
}

.section-footer-contact .title h3 {
    color: var(--vf-red);
    font-size: 20px;
    font-weight: 700;
    font-family: 'Roboto Condensed', sans-serif;
    margin-bottom: 15px;
}

.section-footer-contact .description {
    font-size: 14px;
    color: #555;
    line-height: 1.8;
}

/* Footer columns */
.section-footer-contact .col-links {
    margin-bottom: 20px;
}

.section-footer-contact .col-links .title h3 {
    color: var(--vf-red);
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 15px;
}

.section-footer-contact .col-links ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.section-footer-contact .col-links li {
    margin-bottom: 8px;
}

.section-footer-contact .col-links li a {
    color: #555;
    font-size: 13px;
    transition: color 0.3s;
}

.section-footer-contact .col-links li a:hover {
    color: var(--vf-red);
}

/* Social icons */
.section-footer-contact .footer-social ol {
    list-style: none;
    padding: 0;
    display: flex;
    gap: 10px;
    margin-top: 15px;
}

.section-footer-contact .footer-social li a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: var(--vf-red);
    color: var(--vf-white);
    border-radius: 50%;
    transition: background 0.3s;
}

.section-footer-contact .footer-social li a:hover {
    background: var(--vf-red-dark);
    color: var(--vf-white);
}

/* ================================================================
   11. BOTTOM HOTLINE BAR (match #bottomhotline) - Fixed
   ================================================================ */

.bottom-hotline-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--vf-red);
    z-index: 9999;
    box-shadow: 0 -2px 12px rgba(0,0,0,0.2);
}

.bottom-hotline-bar .buttonbottom {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    padding: 10px 15px;
}

.bottom-hotline-bar .buttonbottom a {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--vf-white);
    font-weight: 600;
    font-size: 14px;
    text-decoration: none;
    padding: 6px 15px;
    border-radius: 20px;
    background: rgba(255,255,255,0.15);
    transition: background 0.3s;
}

.bottom-hotline-bar .buttonbottom a:hover {
    background: rgba(255,255,255,0.3);
    color: var(--vf-white);
}

.bottom-hotline-bar .buttonbottom a.baogia {
    background: var(--vf-orange);
    font-weight: 700;
}

.bottom-hotline-bar .buttonbottom a.baogia:hover {
    background: #e68900;
}

/* ================================================================
   12. FOOTER COPYRIGHT
   ================================================================ */

.site-footer .footer-bottom {
    background: #222;
    padding: 15px 0;
}

.site-footer .footer-bottom p {
    margin: 0;
    font-size: 13px;
    color: #aaa;
}

.site-footer .footer-bottom a {
    color: #ccc;
}

.site-footer .footer-bottom a:hover {
    color: var(--vf-white);
}

/* ================================================================
   13. ZALO FLOATING BUTTON (match .zalo-now)
   ================================================================ */

.zalo-floating-btn {
    position: fixed;
    bottom: 80px;
    right: 20px;
    z-index: 9998;
}

.zalo-floating-btn .circle {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: #43A1F3;
    animation: pulse-ring 1.5s infinite;
    opacity: 0.3;
}

.zalo-floating-btn .circle-fill {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #43A1F3;
    position: absolute;
    top: 5px;
    left: 5px;
    opacity: 0.9;
}

.zalo-floating-btn .img-circle {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-size: 25px;
    background-repeat: no-repeat;
    background-position: center;
    position: absolute;
    top: 5px;
    left: 5px;
}

@keyframes pulse-ring {
    0%   { transform: scale(0.8); opacity: 0.3; }
    50%  { transform: scale(1.2); opacity: 0.1; }
    100% { transform: scale(0.8); opacity: 0.3; }
}

/* ================================================================
   14. SIDEBAR WIDGETS (match ._box)
   ================================================================ */

._box.widget_box,
.widget-box._box {
    background: var(--vf-white);
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    margin-bottom: 20px;
    overflow: hidden;
}

._box.widget_box h3.box-title,
._box.widget_box .box-title,
.widget-box._box h3.box-title,
.widget-box._box .box-title {
    background: var(--vf-red);
    color: var(--vf-white);
    padding: 10px 15px;
    font-size: 14px;
    font-weight: 700;
    font-family: 'Roboto Condensed', sans-serif;
    margin: 0;
    text-transform: uppercase;
}

._box.widget_box ul,
.widget-box._box ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

._box.widget_box li,
.widget-box._box li {
    border-bottom: 1px solid #f0f0f0;
}

._box.widget_box li:last-child,
.widget-box._box li:last-child {
    border-bottom: none !important;
}

._box.widget_box li a,
.widget-box._box li a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 15px;
    color: #333;
    font-size: 13px;
    text-decoration: none;
    transition: background 0.2s, color 0.2s;
}

._box.widget_box li a:hover,
.widget-box._box li a:hover {
    background: #f5f5f5;
    color: var(--vf-red);
}

._box.widget_box li a img.icon,
.widget-box._box li a img.icon {
    width: 30px;
    height: 30px;
    object-fit: contain;
    flex-shrink: 0;
}

._box.widget_box li span,
.widget-box._box li span {
    margin-left: auto !important;
    font-weight: 700 !important;
    color: var(--vf-red) !important;
    font-size: 15px;
    margin-left: 0 !important;
}

._box.widget_box li.hotline a,
._box.widget_box li.hotline a:hover,
.widget-box._box li.hotline a,
.widget-box._box li.hotline a:hover {
    background: var(--vf-red) !important;
    color: var(--vf-white) !important;
    font-weight: 700;
}

._box.widget_box li.hotline span,
.widget-box._box li.hotline span {
    color: var(--vf-white) !important;
}

/* Agent box */
._box.agent_box,
.widget-box.agent_box {
    overflow: hidden;
}

._box.agent_box .support_img,
.widget-box.agent_box .support_img {
    padding: 15px 15px 5px;
    text-align: center;
}

._box.agent_box .support_img img,
.widget-box.agent_box .support_img img {
    width: 100%;
    max-width: 200px;
    border-radius: 50%;
    margin: 0 auto;
    display: block;
}

._box.agent_box .menu_support ul,
.widget-box.agent_box .menu_support ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

._box.agent_box .menu_support li,
.widget-box.agent_box .menu_support li {
    border: none;
}

._box.agent_box .menu_support li a,
.widget-box.agent_box .menu_support li a {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 15px;
    color: #333;
    font-size: 13px;
    border-bottom: 1px solid #f0f0f0;
    transition: background 0.2s, color 0.2s;
}

._box.agent_box .menu_support li a:hover,
.widget-box.agent_box .menu_support li a:hover {
    background: var(--vf-red-light);
    color: var(--vf-red);
}

._box.agent_box .menu_support li a i,
.widget-box.agent_box .menu_support li a i {
    color: var(--vf-orange);
}

/* ================================================================
   15. PRODUCT DETAIL PAGE
   ================================================================ */

.product-detail .product_page h1 {
    color: var(--vf-red);
    font-size: 24px;
    font-weight: 700;
    font-family: 'Roboto Condensed', sans-serif;
    margin-bottom: 15px;
}

.product-detail .info_property {
    background: #f9f9f9;
    padding: 20px;
    border-radius: 8px;
    margin: 15px 0;
}

.product-detail .info_property p {
    margin: 0 0 10px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.product-detail .info_property label {
    color: #666;
    font-weight: 600;
    min-width: 100px;
}

.product-detail .info_property .price {
    color: var(--vf-red);
    font-size: 20px;
    font-weight: 700;
}

.product-detail .info_property a {
    color: var(--vf-red);
    font-weight: 600;
}

/* Support box */
.product-detail .support_box {
    background: #fff3e0;
    padding: 20px;
    border-left: 4px solid var(--vf-orange);
    border-radius: 4px;
    margin: 20px 0;
}

.product-detail .support_box h1 {
    color: var(--vf-red);
    font-size: 16px;
    margin-bottom: 15px;
}

.product-detail .support_box ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.product-detail .support_box li {
    padding: 5px 0;
    font-size: 14px;
    color: #555;
}

/* Related products */
.product-related {
    margin-top: 40px;
}

.product-related .other_product {
    font-size: 18px;
    font-weight: 700;
    color: var(--vf-red);
    font-family: 'Roboto Condensed', sans-serif;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--vf-red);
}

/* ================================================================
   16. NEWS / BLOG PAGES
   ================================================================ */

.news-list .news-item {
    display: flex;
    gap: 15px;
    margin-bottom: 25px;
    padding-bottom: 25px;
    border-bottom: 1px solid #eee;
}

.news-list .news-item:last-child {
    border-bottom: none;
}

.news-list .news-item .image-thumb {
    flex: 0 0 200px;
}

.news-list .news-item .image-thumb img {
    width: 100%;
    height: 130px;
    object-fit: cover;
    border-radius: 8px;
    transition: transform 0.3s;
}

.news-list .news-item:hover .image-thumb img {
    transform: scale(1.03);
}

.news-list .news-item h3 {
    font-size: 16px;
    font-weight: 700;
    margin: 0 0 8px;
    line-height: 1.4;
}

.news-list .news-item h3 a {
    color: #222;
    font-family: 'Roboto Condensed', sans-serif;
}

.news-list .news-item h3 a:hover {
    color: var(--vf-red);
}

.news-list .news-item .info_news {
    font-size: 12px;
    color: #999;
    margin-bottom: 8px;
    display: block;
}

.news-list .news-item .info_news a {
    color: var(--vf-red);
}

.news-list .news-item .news-description {
    font-size: 13px;
    color: #666;
    line-height: 1.6;
}

/* Breadcrumb */
.nav_bar {
    background: var(--vf-light);
    padding: 10px 0;
    margin-bottom: 25px;
    border-bottom: 1px solid #eee;
}

.nav_bar a {
    color: #666;
    font-size: 13px;
    transition: color 0.3s;
}

.nav_bar a:hover {
    color: var(--vf-red);
}

/* .nav_bar a:not(:last-child)::after {
    content: ' /';
    color: #ccc;
    margin: 0 8px;
} */

/* ================================================================
   17. CONTACT FORM
   ================================================================ */

.contact-form-vinfast ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.contact-form-vinfast li {
    margin-bottom: 15px;
}

.contact-form-vinfast input,
.contact-form-vinfast textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 14px;
    font-family: 'Open Sans', sans-serif;
    transition: border-color 0.3s;
}

.contact-form-vinfast input:focus,
.contact-form-vinfast textarea:focus {
    outline: none;
    border-color: var(--vf-red);
    box-shadow: 0 0 0 3px rgba(211,47,47,0.1);
}

.contact-form-vinfast textarea {
    resize: vertical;
    min-height: 120px;
}

.contact-form-vinfast .btn {
    padding: 12px 30px;
    border-radius: 25px;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s;
    border: none;
}

.contact-form-vinfast .btn-vinfast {
    background: var(--vf-red);
    color: var(--vf-white);
}

.contact-form-vinfast .btn-vinfast:hover {
    background: var(--vf-red-dark);
}

.contact-form-vinfast .btn-reset {
    background: #999;
    color: var(--vf-white);
    margin-left: 10px;
}

.contact-form-vinfast .btn-reset:hover {
    background: #777;
}

/* ================================================================
   18. PRICE REQUEST POPUP (#baogia)
   ================================================================ */

.requestprice {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: var(--vf-white);
    padding: 30px;
    border-radius: 12px;
    max-width: 500px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    z-index: 10000;
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
}

.requestprice.active {
    display: block;
}

.requestprice .header_requestprice .title,
.requestprice .header_requestdrive .title {
    font-size: 18px;
    font-weight: 700;
    color: var(--vf-red);
    margin-bottom: 10px;
    font-family: 'Roboto Condensed', sans-serif;
}

.requestprice .requestcontent {
    font-size: 13px;
    color: #555;
    margin-bottom: 15px;
    line-height: 1.6;
}

.requestprice .form-group {
    margin-bottom: 12px;
}

.requestprice label {
    display: block;
    font-weight: 600;
    color: #333;
    margin-bottom: 5px;
    font-size: 13px;
}

.requestprice .car_choose ul {
    list-style: none;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.requestprice .car_choose li {
    display: flex;
    align-items: center;
    gap: 6px;
    background: var(--vf-light);
    padding: 6px 12px;
    border-radius: 4px;
    font-size: 13px;
}

.requestprice .car_choose input[type="checkbox"] {
    width: auto;
}

.requestprice .form-submit {
    text-align: center;
    margin-top: 20px;
}

.requestprice .form-submit button {
    background: var(--vf-red);
    color: var(--vf-white);
    border: none;
    padding: 12px 40px;
    border-radius: 25px;
    font-weight: 700;
    font-size: 15px;
    cursor: pointer;
    transition: background 0.3s;
}

.requestprice .form-submit button:hover {
    background: var(--vf-red-dark);
}

/* ================================================================
   19. PAGE / SINGLE PRODUCT TEMPLATE
   ================================================================ */

.page-template-default .entry-header {
    display: none;
}

.single-product .product-gallery img {
    border-radius: 8px;
}

/* ================================================================
   20. FLATSOME OVERRIDES
   ================================================================ */

/* Fix Flatsome default button */
.button.primary {
    background: var(--vf-red) !important;
    border-radius: 20px !important;
}

.button.primary:hover {
    background: var(--vf-red-dark) !important;
}

/* Tab styling */
.ux-tabs .tab-title {
    font-family: 'Roboto Condensed', sans-serif;
    font-weight: 600;
}

/* WooCommerce override */
.woocommerce ul.products li.product .price {
    color: var(--vf-red);
    font-weight: 700;
}

/* ================================================================
   21. RESPONSIVE UTILITIES
   ================================================================ */

@media (max-width: 768px) {

    .header-top .col-xs-12 {
        margin-bottom: 10px;
    }

    .section-about .titleabout h2 {
        font-size: 22px;
        margin-top: 15px;
    }

    .section-products .blacksite h1 {
        font-size: 18px;
    }

    .section-intro h2,
    .section-news .title-info h2 {
        font-size: 22px;
    }

    .bottom-hotline-bar .buttonbottom {
        flex-direction: column;
        align-items: stretch;
    }

    .bottom-hotline-bar .buttonbottom a {
        text-align: center;
        justify-content: center;
    }

    .zalo-floating-btn {
        bottom: 120px;
        right: 10px;
    }
}

/* ================================================================
   22. ANIMATIONS (WOW.js equivalents in pure CSS)
   ================================================================ */

.fadeInDown {
    animation: fadeInDown 0.6s ease forwards;
}

.fadeInUp {
    animation: fadeInUp 0.6s ease forwards;
}

.bounceIn {
    animation: bounceIn 0.6s ease forwards;
}

@keyframes fadeInDown {
    from { opacity: 0; transform: translateY(-20px); }
    to   { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(20px); }
    to   { opacity: 1; transform: translateY(0); }
}

@keyframes bounceIn {
    from { opacity: 0; transform: scale(0.8); }
    to   { opacity: 1; transform: scale(1); }
}

/* ================================================================
   23. BACK TO TOP
   ================================================================ */

.back-to-top {
    position: fixed;
    bottom: 80px;
    right: 20px;
    width: 40px;
    height: 40px;
    background: rgba(0,0,0,0.5);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s;
    z-index: 9997;
    border: none;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background: var(--vf-red);
    color: #fff;
}





.product-small .box-text-products{
    display: flex;
    align-items: flex-start;
}
.product-small .box-text-products .price-wrapper{
    color: #fff;
    font-weight: 500;
    position: relative;
    float: right;
    padding: 6px 10px 4px 4px;
    margin-left: 18px;
    background-color: #003469;
    margin-right:0;
}
.product-small .box-text-products .title-wrapper{
    margin-left:0;
}
.product-small .box-text-products .price-wrapper *{
    color: #fff;
}
.product-small .box-text-products .price-wrapper:before{
    position: absolute;
    content: '';
    display: block;
    top: 0;
    left: -12px;
    height: 100%;
    width: 32px;
    background-color: #003469;
    -webkit-transform: skew(-14deg, 0deg);
    transform: skew(-14deg, 0deg);
    z-index: 2;
}

.product-small .box-text-products .price-wrapper .price{
z-index:6;
position: relative;
}

.section1 .button.primary{    background: transparent !important;}
.sttabs .section-title-normal,.sttabs .section-title-normal span{
    border-color: transparent !important;
    margin-bottom: 0;
    padding-bottom:0;
}
.stabs{margin-top:-40px;}
.stabs .nav-tabs>li>a{    color: #fff !important;
    background: #1a4878;
    border: transparent;
    border-radius: 0;}
.stabs .nav-tabs>li.active>a{color: #003469 !important;}
.stabs .nav-tabs+.tab-panels{border:0;padding:20px 0 0}
.stabs .tab-panels .entry-content{margin-bottom:0}
@media (max-width: 849px) {
    .header-main li.html.custom {
        display: block !important;
    }
    .bottom-hotline-bar .zl{display:none !important;}

}
@media (max-width: 767px) {
    .section1 .text-right{text-align:center !important;}
    .products.small-columns-2 .flickity-slider>.col, .products.small-columns-2>.col {
        flex-basis: 100% !important;
        max-width: 100% !important;
    }
}