/*
Theme Name: Flatsome Child
Description: This is a child theme for Flatsome Theme
Author: UX Themes
Template: flatsome
Version: 3.0
*/

/*************** ADD CUSTOM CSS HERE.   ***************/


@media only screen and (max-width: 48em) {
/*************** ADD MOBILE ONLY CSS HERE  ***************/
.khuyen-mai-icon {
    right: 10px !important;
}
.khuyen-mai-content {
    width: 50px !important;
}
.icon-wheel {
    width: 50px !important;
}
.icon-wheel img {
    width: 100% !important;
}
#contact-us {
    width: 45px !important;
}
#contact-us ul li a {
    width: 45px !important;
    height: 45px !important;
}
#contact-us ul li a img{
    width: 40px !important;
    height: 40px !important;
}
}

.model-table span.price-model {
    color:red;
    font-weight: 600;
}
.model-table a {
    color:#666;
    background: linear-gradient(90deg, red, orange, yellow, green, blue, purple);
    background-clip: text;
    -webkit-background-clip: text;
}
.model-table a:hover {
        color: transparent;
        
        transition: 500ms ease;
}
.action-popup .icon-box-text h5 {
    color: #3d3d3d;
}
.action-popup {
   
    padding: 10px;
    border-radius: 15px;
    color: #3d3d3d;
background-image: linear-gradient(to top, lightgrey 0%, lightgrey 1%, #e0e0e0 26%, #efefef 48%, #d9d9d9 75%, #bcbcbc 100%);
}
.action-popup:hover {
    background-image: linear-gradient(to top, #3d3d3d 0%, #3d3d3d 1%, #3d3d3d 100%);
    color: #FFF;
   
}
.action-popup:hover .icon-box-text h5 {
    color: #FFF;
}
.box-news-home .box-text .post-title a, .vertical-post .box-text .post-title a{
    overflow: hidden;
   text-overflow: ellipsis;
   display: -webkit-box;
   -webkit-line-clamp: 2; /* number of lines to show */
   -webkit-box-orient: vertical;
}
.vertical-post .box-text{
    padding-top: 0px;
    padding-bottom: 0px;
}
.footer-contact .ux-menu-title {
    color:#FFF;
}
.footer-contact  .ux-menu-link a, .ux-menu-link:hover .ux-menu-link__link {
    color:#FFF;
    font-size: 12px;
}
.social-media-footer h3 {
    font-size: .8em;
    font-weight: bolder;
    margin-top: 5px;
    min-height: 3.125em;
    padding-bottom: .3em;
    padding-top: .3em;
    text-transform: uppercase;
    color:#FFF;
}
.call-now-button , .chat-zalo-button, .chat-facebook-button{
    
    padding: 5px;
    text-align: center;
    text-transform: uppercase;
    transition: 0.5s;
    background-size: 200% auto;
    color: white;            
    /* box-shadow: 0 0 20px #eee; */
    font-size: 18px;
}

         
         
.call-now-button {
    background-image: linear-gradient(to right, #e53935 0%, #e35d5b  51%, #e53935  100%);
    
}
.chat-facebook-button {
    background-image: linear-gradient(to right, #0575E6 0%, #021B79  51%, #0575E6  100%);
}

.chat-zalo-button {
    background-image: linear-gradient(to right, #00d2ff 0%, #3a7bd5  51%, #00d2ff  100%);
}
 
.call-now-button:hover , .chat-zalo-button:hover, .chat-facebook-button:hover {
    background-position: right center; /* change the direction of the change here */
    color: #fff;
    text-decoration: none;
  }

/* CONTENT SINGLE */
.section.top-content {
   
}
.section.menu-content {
    padding-top: 0px;
    padding-bottom: 0px;
    border-bottom:1px solid #f1f1f1;
   position: relative;
   background-color: #FFF;
}
.menu-content-link a{
    display: inline-block;
    padding: 10px;
    display: inline-block;
    color: #333;
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
}
.menu-content-link a:hover {
    background-color: #333;
    color:#FFF
}
.scroll {
    white-space: nowrap; /* [1] */
    overflow-x: auto; /* [2] */
    -webkit-overflow-scrolling: touch; /* [3] */
    -ms-overflow-style: -ms-autohiding-scrollbar; /* [4] */
  }
  .scroll::-webkit-scrollbar {
    display: none;
  }
  .vertical-align-middle , .title-car{
    display: inline-block;
    vertical-align: middle;
  }
  .title-car {
    font-size: 18px;
    font-weight: bold;
  }
.section.before-menu-content{
    padding-top: 0px;
    padding-bottom: 0px;
    background-color: #3d3d3d;
}
.section.before-menu-content h3 {
    margin-bottom: 0px !important;
}
.section.before-menu-content h3 a {
    padding: 10px 20px;
    color:#FFF;
    display: block;
}
.section.before-menu-content h3 a.loan-caculator {
background-color:  #f1f1f1;
color: #3d3d3d;
}
.section.before-menu-content h3 a img{
    width: 32px;
    height: auto;
    padding-right: 5px;
}
.section.before-menu-content h3 a span {
    font-size: 16px;
    
}

.price-car {
    border:1px dashed red;
    border-radius: 15px;
    display: flex;
    justify-content: center;
    align-items: center;
}
.price-car .root-price, .price-car .promotion-price {
    padding: 10px;
} 
.price-car .root-price span , .price-car .promotion-price span {
    font-size: 16px;
    font-weight: bold;
    font-style: italic;
    color: #3d3d3d;
}
.price-car .root-price  span.amount , .price-car .promotion-price span.amount {
    font-weight: 700 !important;
    text-shadow: 1px 1px 0 #fff, -1px -1px 0 #fff, 1px -1px 0 #fff, -1px 1px 0 #fff, 3px 3px 5px gray;
    white-space: nowrap;
    color: red;
    font-style: italic;
    font-size: 24px;
}
.delete-price span {
    color:#333 !important;
    font-size: 16px !important;
    text-decoration: line-through;
    text-shadow : none !important;
}
.note-car {
    padding: 10px 0px;
}
.note-car p {
    font-size: 12px;
    font-style: italic;
    color: red;
}

         
.note-car .action-button a {
    padding: 15px 0px;
    text-align: center;
    text-transform: uppercase;
    transition: 0.5s;
    background-size: 200% auto;
    color: white; 
    border-radius: 10px;
    display: block;
    font-weight:bold;
    font-size:0.8rem;
  }

  .note-car .action-button a:hover {
    background-position: right center; /* change the direction of the change here */
    color: #fff;
    text-decoration: none;
  }
.wapper-promotion {
    border:1px dashed #3d3d3d;
    
    padding: 5px;
    /* box-shadow: 0 3px 6px -4px rgba(0, 0, 0, .16), 0 3px 6px rgba(0, 0, 0, .23); */
   
}
.wapper-promotion .content-promotion-wapper {
    background-image: linear-gradient(to top, #e6e9f0 0%, #eef1f5 100%);
}
.wapper-promotion h2, .wapper-promotion h3{
    font-size: 24px;
    margin-bottom: 0px;
}
.wapper-promotion h3 {
    font-size: 20px;
    font-weight: 600;
    text-shadow: 1px 1px 0 #fff, -1px -1px 0 #fff, 1px -1px 0 #fff, -1px 1px 0 #fff, 3px 3px 5px gray;
    color:#3d3d3d;
}
.wapper-promotion h2 {
    color:#3d3d3d;
    text-shadow: 1px 1px 0 #fff, -1px -1px 0 #fff, 1px -1px 0 #fff, -1px 1px 0 #fff, 3px 3px 5px gray;
}
.wapper-promotion .content-promotion-wapper  .promotion-content {
    padding: 10px;

}
.wapper-promotion .content-promotion-wapper .promotion-content p{
    margin-bottom: 0px;
    color:#000;

    
}
.wapper-promotion  .action-button-promotion {
    padding: 0px;
    
}

.price-car-item
    {
 background-color: #f2f7f6;
            
 }
 .price-car-item .item-price {
    padding: 10px !important;
    font-size: 16px;
 }
 .price-car-item .root-price {
   text-decoration: line-through;
 }
 .price-car-item .promotion-price{
     background-color: #3d3d3d;
     color:#FFF;
 }
 
 .price-car-item .promotion-price h6{
        font-weight: 700;
        font-size: 16px;
        color: #fff;
       opacity: 1 !important;

}
.price-car-item a {
    width: 100%;
}
.repaid-money {
    padding: 10px;
}
.repaid-money span {
    color:red;
    border-bottom: 1px dashed red;
}
.repaid-money span special {
    font-weight: bold;
    font-size: 16px;
}
.button-readmore {
background-image: linear-gradient(to right, #000428 0%, #004e92 51%, #000428 100%);
        text-align: center;
        text-transform: uppercase;
        transition: 0.5s;
        background-size: 200% auto;
        color: white;
        /* box-shadow: 0 0 20px #eee; */
        font-size: 18px;
    
        font-weight: bold;
        border-radius: 5px;
        display: block !important;
            padding: 5px 15px;
}
.button-readmore:hover {
    background-position: right center;
    
}
.title-block h2{
    font-size: 24px;
    padding-left: 0px;
}
.title-block h2 specical{
    color:#3d3d3d;
    margin-right: 0px;
}
.model-table.product_page table td{
    border:1px solid #ececec;
    padding: 10px;
}
.full-price-car {
    border:1px dashed #3d3d3d;
    padding: 10px;
    border-radius: 15px;
}
.full-price-car h3{
    color: #3d3d3d;
        text-shadow: 1px 1px 0 #fff, -1px -1px 0 #fff, 1px -1px 0 #fff, -1px 1px 0 #fff, 3px 3px 5px gray;margin-bottom: 20px;
}
.table-result span, .table-result-lan-banh span{
    display: flex;
    justify-content: space-between;
    border-bottom: 1px solid #ececec;
    padding: 5px 0px;
}
.table-result span strong, .table-result-lan-banh span strong{
    color:red;
}
.table-result-lan-banh span.tong-gia-lan-banh , .table-result-lan-banh span.tong-gia-lan-banh strong {
    
    font-size: 18px;
    font-weight: bold;
    background-color: #3d3d3d;
    padding: 5px;
    color: #FFF;
    align-items: center;
}
p.so-tien-chu {
    font-style: italic;
    color: red;
}
  /*EXTRA CLASS*/
 .hidden-items {
    display: none;
    
 }
 .gradiant-blue {
    background-image: linear-gradient(to right, #005C97 0%, #363795  51%, #005C97  100%);
 }

          
 .gradiant-d-blue{
    background-image: linear-gradient(to right, #000428 0%, #004e92  51%, #000428  100%);
  }
  
.custom-button {
    padding: 5px 15px 5px 5px;
    text-align: center;
    
    transition: 0.5s;
    background-size: 200% auto;
    color: white;            
    /* box-shadow: 0 0 20px #eee; */
    font-size: 14px;
    display: inline-block;
    border-radius: 40px;
    
    font-weight: bold;
}
.custom-button img {
    width: 48px;
    height: auto;
}
.custom-button-medium {
    text-align: center;
    text-transform: uppercase;
    transition: 0.5s;
    background-size: 200% auto;
    color: white;
    /* box-shadow: 0 0 20px #eee; */
    font-size: 18px;
   
    font-weight: bold;
    border-radius: 10px;
}
.custom-button-medium:hover {
        background-image: linear-gradient(to right, #2c3e50 0%, #3498db 51%, #2c3e50 100%);
        background-position: right center;
        color: #fff;
        text-decoration: none;
}

.btn-gradiant-ogr{
    background-image: linear-gradient(to right, #FF4E50 0%, #F9D423  51%, #FF4E50  100%);
}
.btn-gradiant-blue-2{
    background-image: linear-gradient(to right, #1FA2FF 0%, #12D8FA  51%, #1FA2FF  100%);
}
.btn-blue {
    background-color: #3d3d3d;;
}
.custom-button:hover {
            background-position: right center; /* change the direction of the change here */
            color: #fff;
            text-decoration: none;

}
@media (max-width: 575.98px) {
    table#bang-tinh {
            display: block !important;
            overflow-x: scroll;
            white-space: nowrap;
        }
}
@media (max-width: 767.98px) {
    table#bang-tinh {
            display: block !important;
            overflow-x: scroll;
            white-space: nowrap;
        }
}
@media (max-width: 991.98px) {
    table#bang-tinh {
            display: block !important;
            overflow-x: scroll;
            white-space: nowrap;
        }
}

table .thead-dark th {
    color: #fff;
    background-color: #3d3d3d;
    border-color: #32383e;
    padding: 10px;
    font-size: 12px;
}
.table-text-center th,.table-text-center td {
    text-align: center;
}
.footer-table-result {
    background-color: #3d3d3d;
    
}
.footer-table-result td {
color: #FFF;
font-weight: bold;
}
.field-radius {
    border-radius: 10px;
}
.field-height-45{
    height: 45px;
}
.field-color-blue {
    color: #3d3d3d;
}
.field-no-box-shadow, .field-no-box-shadow:focus{
    box-shadow: none;
}


/*MENU FOOTER*/
html {

    
    --bgColorMenu: #3d3d3d;
    --duration: .7s;

}
.action-footer-menu {
        position: fixed;
            bottom: 0;
            left: 0;
            background-color: #3d3d3d;
            z-index: 999999;
            width: 100%;
            padding-bottom: 10px;
}
.action-footer-menu .menu img {
    width: 40px;
    height: auto;
}
.menu {

    
    display: flex;
    /* Works well with 100% width  */
    width: 32.05em;
    font-size: 1.5em;
    padding: 0 2.85em;
    position: relative;
    align-items: center;
    justify-content: center;
    background-color: var(--bgColorMenu);
    margin: auto;
    

}

.menu__item {

    all: unset;
    flex-grow: 1;
    z-index: 100;
    display: flex;
    cursor: pointer;
    position: relative;
    border-radius: 50%;
    align-items: center;
    will-change: transform;
    justify-content: center;
    padding: 0.55em 0 0.85em;
    transition: transform var(--timeOut, var(--duration));

}

.menu__item::before {

    content: "";
    z-index: -1;
    width: 4.2em;
    height: 4.2em;
    border-radius: 50%;
    position: absolute;
    transform: scale(0);
    transition: background-color var(--duration), transform var(--duration);

}


.menu__item.active {

    transform: translate3d(0, -.8em, 0);

}

.menu__item.active::before {

    transform: scale(1);
    background-color: var(--bgColorItem);

}

.icon {

    width: 2.6em;
    height: 2.6em;
    stroke: white;
    fill: transparent;
    stroke-width: 1pt;
    stroke-miterlimit: 10;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-dasharray: 400;

}

.menu__item.active .icon {

    animation: strok 1.5s reverse;

}

@keyframes strok {

    100% {

        stroke-dashoffset: 400;

    }

}

.menu__border {

    left: 0;
    bottom: 99%;
    width: 10.9em;
    height: 2.4em;
    position: absolute;
    clip-path: url(#menu);
    will-change: transform;
    background-color: var(--bgColorMenu);
    transition: transform var(--timeOut, var(--duration));

}

.svg-container {

    width: 0;
    height: 0;
}


@media screen and (max-width: 50em) {
    .menu {
        font-size: .8em;
    }
}

/*CONTACT US DESKTOP*/
#contact-us {
    width: 60px;

    position: fixed;
    bottom: 50px;
    left: 20px;
    text-align: center;
    padding-top: 10px;
    z-index: 9;
}

#contact-us ul {
    list-style: none;
}

#contact-us ul li {
    display: block;
    margin-bottom: 10px;
}

#contact-us ul li a {
    display: flex;
    width: 60px;
    height: 60px;
    justify-content: center;
    align-items: center;
    border-radius: 100%;
    border: solid 2px rgb(51, 170, 254);
    animation: play 2s ease infinite;
    -webkit-backface-visibility: hidden;
    -moz-backface-visibility: hidden;
    -ms-backface-visibility: hidden;
    backface-visibility: hidden;


}

#contact-us ul li a img {
    width: 50px;
    height: 50px;
}

@keyframes play {

    0% {
        transform: scale(1);
    }

    15% {
        box-shadow: 0 0 0 5px rgba(51, 170, 254, 0.4);
    }

    25% {
        box-shadow: 0 0 0 10px rgba(51, 170, 254, 0.4), 0 0 0 20px rgba(51, 170, 254, 0.2);
    }

    25% {
        box-shadow: 0 0 0 15px rgba(51, 170, 254, 0.4), 0 0 0 30px rgba(51, 170, 254, 0.2);
    }

}

.khuyen-mai-icon {
    position: fixed;
    top: 120px;
    right: 30px;
    z-index: 99;
}
.khuyen-mai-content {
    width: 100px;
    height: auto;
}

.shakeX-infinite {
    animation: shakeX 0.8s ease-in-out infinite;
}
@keyframes shakeX {
    0%, 100% { transform: translate3d(0, 0, 0); }
    10%, 30%, 50%, 70%, 90% { transform: translate3d(-5px, 0, 0); }
    20%, 40%, 60%, 80% { transform: translate3d(5px, 0, 0); }
}
#khuyen_mai img{
    margin-bottom: 0px !important;
}

.mfp-close {
    mix-blend-mode: unset;
    opacity: 1;
    background-color: red;
    border-radius: 50%;
    color: #FFF !important;
    height: 30px;
    width: 30px;
    line-height: 30px;
}
.mfp-ready .mfp-close {
    opacity: 1;
}
body.mfp-no-scroll {
    position: fixed;
    overflow: hidden;
    width: 100%;
}

/* Nut "Goi tu van chi tiet" + ket qua so bo tra gop */
.goi-tu-van-chi-tiet {
    display: inline-block;
    padding: 12px 30px;
    font-size: 16px;
}
.goi-tu-van-chi-tiet .fa {
    margin-right: 6px;
}
.ket-qua-so-bo {
    margin-top: 10px;
}

/* Bang lan banh: nhan manh dong Gia ban */
.table-result-lan-banh span.gia-ban,
.table-result-lan-banh span.gia-ban strong {
    font-weight: bold;
    background-color: #fff3cd;
}
.table-result-lan-banh span.giam-gia strong {
    color: #e60000;
}

/* ====== Card xe kiểu mockup: bo góc + shadow (car_posts) ====== */
.box-blog-post:has(.vf-card-info){
  background:#fff; border:1px solid #e6e9f0; border-radius:18px; overflow:hidden;
  box-shadow:0 6px 22px rgba(16,33,64,.06); padding:16px 16px 18px;
  transition:transform .28s ease, box-shadow .28s ease, border-color .28s ease; height:100%;
}
.box-blog-post:has(.vf-card-info):hover{ transform:translateY(-5px); box-shadow:0 16px 38px rgba(16,33,64,.14); border-color:#d3d9e6; }
/* tiêu đề model: nghiêng, đậm, navy, canh trái */
.box-blog-post:has(.vf-card-info) .section-title-main a{ font-style:italic; font-weight:800; color:#3d3d3d !important; letter-spacing:.4px; }
/* để size chọn trong UX Builder (is-large/small...) có tác dụng: không hardcode font-size, chỉ kế thừa */
.box-blog-post:has(.vf-card-info) .section-title-main{ font-size:inherit; }
.box-blog-post:has(.vf-card-info) .section-title-main a{ font-size:inherit; }
.box-blog-post:has(.vf-card-info) .section-title{ justify-content:flex-start; text-align:left; border:0; }
.box-blog-post:has(.vf-card-info) .section-title b{ display:none; }
.box-blog-post:has(.vf-card-info) .section-title-container{ margin-bottom:2px; }
/* ảnh xe canh giữa */
.box-blog-post:has(.vf-card-info) .box-image{ text-align:center; }
.box-blog-post:has(.vf-card-info) .box-image img{ max-height:180px; width:auto; margin:0 auto; object-fit:contain; }
/* khối info 2 cột: Giá từ | Trả trước từ */
.vf-card-info{ display:flex; align-items:stretch; gap:6px; margin-top:12px; padding-top:14px; border-top:1px solid #eef1f6; }
.vf-info-col{ flex:1; display:flex; align-items:center; gap:6px; min-width:0; }
.vf-info-col + .vf-info-col{ border-left:1px solid #eef1f6; padding-left:10px; }
.vf-ic{ color:#3d3d3d; flex:0 0 auto; display:inline-flex; }
.vf-ic svg{ width:17px; height:17px; }
.vf-info-txt{ min-width:0; }
.vf-label{ display:block; font-size:12px; color:#7a8699; margin-bottom:2px; line-height:1.1; }
.vf-value{ display:block; font-size:14px; font-weight:800; color:#3d3d3d; line-height:1.15; white-space:nowrap; }
.vf-value small{ font-size:10px; font-weight:600; color:#7a8699; margin-left:2px; }
/* nút Xem chi tiết dạng pill outline */
a.vf-btn{ display:flex; align-items:center; justify-content:center; gap:8px; margin-top:16px;
  padding:12px 18px; border:1.5px solid #3d3d3d; border-radius:40px;
  color:#3d3d3d; font-weight:600; font-size:14px; line-height:1; text-decoration:none;
  transition:background .2s ease, color .2s ease; }
a.vf-btn:hover{ background:#3d3d3d; color:#fff; }
.vf-arrow{ transition:transform .2s ease; }
a.vf-btn:hover .vf-arrow{ transform:translateX(4px); }
@media (max-width:549px){ .box-blog-post:has(.vf-card-info){ margin-bottom:12px; } }

/* Fix card xe: bỏ padding thừa của .box-text (đang padding 2 lần) + thêm khoảng cách trên nút */
.box-blog-post:has(.vf-card-info) .box-text{ padding:6px 0 0 !important; }
.box-blog-post:has(.vf-card-info) a.vf-btn{ margin-top:20px !important; }
