/*
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  ***************/


}

@font-face {
    font-family: 'SVN-Poppins';
    font-style: normal;
    font-weight: 800;
    font-display: swap;
    src: url(fonts/SVN-Poppins.ttf) format('woff2');
  }
  @font-face {
    font-family: 'SVN-Poppins';
    font-style: normal;
    font-weight: 100;
    font-display: swap;
    src: url(fonts/SVN-PoppinsMedium.ttf) format('woff');
  }
  @font-face {
    font-family: 'SVN-Poppins';
    font-style: normal;
    font-weight: 300;
    font-display: swap;
    src: url(fonts/SVN-PoppinsLight.ttf) format('woff');
  }
  @font-face {
    font-family: 'SVN-Poppins';
    font-style: normal;
    font-weight: 800;
    font-display: swap;
    src: url(fonts/SVN-PoppinsSemiBold.ttf) format('woff2');
  }
  @font-face {
    font-family: 'SVN-Poppins';
    font-style: normal;
    font-weight: 300;
    font-display: swap;
    src: url(fonts/SVN-Poppins.ttf) format('woff');
  }
  @font-face {
    font-family: 'SVN-Poppins';
    font-style: normal;
    font-weight: 600;
    font-display: swap;
    src: url(fonts/SVN-PoppinsBold.ttf) format('woff');
  }
  @font-face {
    font-family: 'SVN-Poppins';
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: url(fonts/SVN-PoppinsBold.ttf) format('woff');
  }
  @font-face {
    font-family: 'SVN-Poppins';
    font-style: normal;
    font-weight: 800;
    font-display: swap;
    src: url(fonts/SVN-PoppinsBold.ttf) format('woff');
  }
  @font-face {
    font-family: 'SVN-Poppins';
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: url(fonts/SVN-PoppinsSemiBold.ttf) format('woff2');
  }
  
  
  body, #masthead ul li a, h1, h2, h3, h4, h5, h6, .heading-font, .off-canvas-center .nav-sidebar.nav-vertical > li > a, li.tab.has-icon a {font-family: 'SVN-Poppins' !important;}
  h1, h2, h3, h5, h6, .heading-font {
      font-weight: 800 !important;
  }


.thong-so {
    display: flex;
    justify-content: flex-start; /* Đổi thành flex-start để nếu hiển thị 1-2 item nhìn vẫn thuận mắt */
    gap: 15px; /* Tạo khoảng cách đều giữa các item */
    align-items: center;
    margin: 12px 0;
	border-top: 1px solid #f7f7f7;
    border-bottom: 1px solid #f7f7f7;
    padding: 10px 0;
}

.ts-item {
    flex: 1;
    text-align: left;
    font-size: 12px;
    max-width: 33.33%; /* Đảm bảo chia đều tối đa 3 cột */
}

/* Định dạng màu sắc và kích thước cho Icon SVG */
.ts-ic {
    color: #446084; /* THAY ĐỔI MÀU ICON TẠI ĐÂY (Màu xanh mặc định Flatsome) */
    display: flex;
    justify-content: start;
    margin-bottom: 4px;
}

.ts-ic svg {
    display: block;
    transition: transform 0.2s ease;
}

.product-small:hover .ts-ic svg {
    transform: scale(1.1);
}

.ts-nd {
    font-weight: bold;
    color: #222;
    line-height: 1.2;
    margin-bottom: 2px;
}

.ts-text {
    font-size: 10px;
    color: #888;
    white-space: nowrap;
}


.product-small.box {
    background: #fff;
    border: 1px solid #e8edf5;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 12px 35px rgba(15, 35, 75, 0.06);
    transition: all .25s ease;
    height: 100%;
}

.product-small.box:hover {
	transform: translateY(-4px);
    box-shadow: 0 18px 45px rgba(15, 35, 75, 0.12);
}

.product-small.box .box-text {
    padding: 20px;
}

.product-small.box .product-title a {
    font-weight: 900;
    font-size: 20px;
	margin: 10px 0;
}


.p-action-buttons {
    display: flex;
    gap: 12px; /* Khoảng cách giữa 2 nút */
    margin-top: 10px;
}

.btn-action {
    flex: 1;
    display: inline-block;
    text-align: center;
    padding: 10px 5px;
    font-size: 14px;
    font-weight: normal;
    border-radius: 4px; /* Bo góc mượt giống hình mẫu */
    text-decoration: none !important;
    transition: all 0.3s ease;
    white-space: nowrap;
}

/* Nút Xem chi tiết (Nền trắng viền xám) */
.btn-action.btn-outline {
    background-color: #ffffff;
    color: #0f172a;
    border: 1px solid #cbd5e1;
}

.btn-action.btn-outline:hover {
    background-color: #f8fafc;
    border-color: #94a3b8;
}

/* Nút Đăng ký lái thử (Nền xanh chữ trắng) */
.btn-action.btn-solid {
    background-color: #004ddc; /* Tone xanh dương đậm chuẩn như ảnh */
    color: #ffffff !important;
    border: 1px solid #004ddc;
}

.btn-action.btn-solid:hover {
    background-color: #003bb1;
    border-color: #003bb1;
}


.ss-cta {
	background: linear-gradient(180deg,#f3f8ff 0%,#ffffff 100%) !important;
}

.r-cta {
	padding: 20px 10px;
    background: #fff ;
    border-radius: 10px;
    box-shadow: 0 18px 50px rgba(15, 23, 42, .10) !important;
}

.img-bd .img-inner {
	position: relative;
	border-radius: 10px;
}

.img-bd .img-inner img {
	border-radius: 10px;
	transition: all .45s ease !important;
	overflow: hidden;
}

.img-bd .img-inner:hover img {
	 transform: scale(1.05) !important;
    filter: brightness(1.06) contrast(1.05);
}

.img-bd .img-inner:hover:after {
	left: 130%;
}

.img-bd .img-inner:after {
	content: "";
    position: absolute;
    top: 0;
    left: -80%;
    width: 45%;
    height: 100%;
    background: linear-gradient(120deg, transparent, rgba(255, 255, 255, .45), transparent);
    transform: skewX(-22deg);
    transition: all .7s ease;
    pointer-events: none;
}

.vin-consultant-info {
    padding: 15px;
    background: linear-gradient(135deg, #ffffff 0%, #eef6ff 100%);
    border-top: 1px solid rgba(0, 87, 217, .12);
    text-align: left;
}

.vin-consultant-info p {
    margin: 0 0 10px;
    color: #526172;
    font-size: 14px;
    line-height: 1.5;
}

a.btn-dk {
    padding: 10px 15px !important;
    background: #004ddc;
    letter-spacing: 0 !important;
    display: flex !important;
    align-items: center !important;
    gap: 5px;
    color: #fff !important;
    text-transform: capitalize !important;
    font-weight: normal !important;
    border-radius: 6px;
}

.vin-ss-tt h2 span {
	color: var(--fs-color-primary);
}

.vf-bn-t {
    line-height: 1 !important;
    font-weight: 900 !important;
    color: #fff !important;
    text-transform: uppercase;
    margin: 0 0 12px !important;
    text-shadow: 0 3px 8px rgba(0, 0, 0, .65), 0 10px 28px rgba(0, 0, 0, .45);
    font-size: 36px;
}

.vf-bn-b {
    margin-bottom: 10px;
}

.v-title {
    font-weight: 900;
    margin-bottom: 10px;
    font-size: 20px;
}

.box-blog-post .image-cover {
    position: relative;
}


.box-blog-post {
    box-shadow: 0px 0px 40px 0px rgba(36, 42, 86, 0.15);
    background: #fff;
}

.box-blog-post .image-cover:before {
    top: 0;
    bottom: 0;
    left: 50%;
    right: 51%;
    background: rgba(255,255,255,0.3);
}


.box-blog-post .image-cover:after {
    top: 50%;
    bottom: 50%;
    left: 0;
    right: 0;
    background: rgba(255,255,255,0.6);
}


.box-blog-post .image-cover::before, .box-blog-post .image-cover:after {
    content: "";
    position: absolute;
    opacity: 1;
    pointer-events: none;
}

.box-blog-post:hover .image-cover:before {
    z-index: 999;
    left: 0;
    right: 0;
    opacity: 0;
    -webkit-transition: all 900ms linear;
    -moz-transition: all 900ms linear;
    -o-transition: all 900ms linear;
    -ms-transition: all 900ms linear;
    transition: all 900ms linear;
}
.box-blog-post:hover .image-cover:after {
    z-index: 999;
    top: 0;
    bottom: 0;
    opacity: 0;
    -webkit-transition: all 900ms linear;
    -moz-transition: all 900ms linear;
    -o-transition: all 900ms linear;
    -ms-transition: all 900ms linear;
    transition: all 900ms linear;
}

.box-blog-post .is-divider {
    display: none;
}

.box-blog-post .post-title a {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
    min-height: 38px;
	font-size: 16px;
}

.box.box-vertical.box-text-bottom.box-blog-post.has-hover .post-title a {
    font-size: 14px;
    -webkit-line-clamp: 2;
}


.widget .is-divider {
    display: none
}

.widget {
    background: #fff;
    box-shadow: 0 3px 5px rgba(0,0,0,.3);
    padding: 10px
}

.widget .post_comments {
    display: none
}

.widget a {
    color: #222;
}

span.widget-title {
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0;
    font-size: 16px;
    display: block;
    color: #fff;
    text-align: center;
    background: var(--fs-color-primary);
    line-height: 1;
    padding: 10px 0;
    margin-bottom: 12px
}


h2.widget-title {
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0;
    font-size: 16px;
    display: block;
    color: #fff;
    text-align: center;
    background: var(--fs-color-primary);
    line-height: 1;
    padding: 10px 0;
    margin-bottom: 12px
}

.recent-blog-posts a {
    display: block;
    line-height: 1.2;
    margin-bottom: 6px;
    color: #111;
	display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
    min-height: 40px;
}

td:first-child, th:first-child {
    padding-left: 0.5em;
}

.vf-s-tt {
    font-size: 20px;
    font-weight: 900;
    text-transform: uppercase;
}

span.count-up.active {}

.cs-number-content {
    font-size: 30px;
    font-weight: 900;
}