* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Roboto', sans-serif;
}

/* Header Styles */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 50px;
    background: white;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    height: 80px;
}

header:hover {
    background: rgba(225, 225, 225, 1);
}

.logo img {
    height: 70px;
    width: auto;
}

.menu {
    display: flex;
    list-style: none;
    gap: 30px;
}

#menu {
    display: flex;
    list-style: none;
    gap: 30px;
}

.menu > li {
    position: relative;
    padding: 10px 10px 0 50px;
}

#menu > li {
    position: relative;
    padding: 10px 10px 0 50px;
}

.menu > li > a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    text-transform: uppercase;
    font-size: 20px;
    font-weight: bold;
}

#menu > li > a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    text-transform: uppercase;
    font-size: 20px;
    font-weight: bold;
}

.sub-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: white;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    padding: 15px 0;
    width: 300px;
    display: none;
    border-radius: 4px;
}

.menu > li:hover .sub-menu {
    display: block;
}

#menu > li:hover .sub-menu {
    display: block;
}

.sub-menu li {
    padding: 8px 20px;
    list-style: none;
    font-size: 17px;
    color: #333;
    cursor: pointer;
    transition: background-color 0.3s;
}

.sub-menu li:hover {
    background-color: #f5f5f5;
    color: #1a73e8;
}

.others {
    display: flex;
    align-items: center;
}

.others li {
    list-style: none;
}

.others input {
    padding: 8px 12px;
    border: 1px solid #ddd;
    border-radius: 20px;
    width: 200px;
    font-size: 14px;
}

.others i {
    margin-left: -30px;
    color: #666;
    cursor: pointer;
}

/* Banner Styles */
#Banner {
    margin-top: 80px;
    position: relative;
    height: calc(100vh - 180px);
    overflow: hidden;
}

.banner-container {
    position: relative;
    height: 100%;
    display: flex;
    transition: transform 0.5s;
}

.banner-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    flex-shrink: 0;
}

.dot-container {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: background-color 0.3s;
}

.dot.active {
    background: white;
}

/* Mobile Menu Button */
.mobile-menu-btn {
    display: none;
    cursor: pointer;
    padding: 10px;
}

.mobile-menu-btn span {
    display: block;
    width: 25px;
    height: 3px;
    background: #333;
    margin: 5px 0;
    transition: 0.3s;
}

/*---------------------------------------Product-------------------------------------*/
#IndexProduct {
    text-align: center;
}
#IndexProduct p {
    line-height: 20px;
    letter-spacing: 1px;
    font-size: 25px;
    color: #000;
    font-weight: bold;
    padding: 10px;
}
.index-product-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    padding: 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.index-product-item {
    text-align: center;
    background: white;
    border-radius: 8px;
    padding-bottom: 10px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.index-product-item a,h3 {
    text-decoration: none;
}

.index-product-item:hover {
    transform: translateY(-5px);
}

.index-product-item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 8px 8px 0 0;
}

.index-product-name {
    margin: 10px 0 5px 0;
    font-size: 1.1rem;
    font-weight: bold;
    color: #333;
}
.index-product-price {
    margin: 10px 0 5px 0;
    font-size: 1.1rem;
    font-weight: bold;
    color: #00b0ff;
}
/* Responsive cho màn hình nhỏ */
@media screen and (max-width: 480px) {
    .prodcut-container {
        grid-template-columns: 1fr;
    }

    .index-product-item img {
        height: auto;
    }
}
/*-------------------------------------------Footer---------------------------------------*/
.footer {
    background-color: #1a1a1a;
    color: #ffffff;
    padding: 50px 0 20px;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    padding: 0 20px;
}

.footer-column h3 {
    color: #fff;
    font-size: 1.2rem;
    font-weight: bold;
    margin-bottom: 20px;
    position: relative;
}

.footer-column h3::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -8px;
    width: 40px;
    height: 2px;
    background-color: #00b0ff;
}

.footer-column ul {
    list-style: none;
    padding: 0;
}

.footer-column ul li {
    margin-bottom: 12px;
}

.footer-column ul li a {
    color: #cccccc;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-column ul li a:hover {
    color: #00b0ff;
}

.social-links {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 20px;
}

.social-icon {
    color: #ffffff;
    text-decoration: none;
    padding: 8px 16px;
    background-color: #333;
    border-radius: 4px;
    transition: background-color 0.3s ease;
}

.social-icon:hover {
    background-color: #00b0ff;
}

.newsletter h4 {
    margin-bottom: 15px;
    font-size: 1.1rem;
}

.subscribe-form {
    display: flex;
    gap: 10px;
}

.subscribe-form input {
    flex: 1;
    padding: 8px 12px;
    border: none;
    border-radius: 4px;
    background-color: #333;
    color: #fff;
}

.subscribe-form button {
    padding: 8px 16px;
    background-color: #00b0ff;
    border: none;
    border-radius: 4px;
    color: #fff;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.subscribe-form button:hover {
    background-color: #0091ea;
}

.footer-bottom {
    text-align: center;
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid #333;
}
/*-------------------------------------------Product---------------------------------------*/
#Product {
    padding-top: 90px; /* Tạo khoảng cách bằng hoặc lớn hơn chiều cao của header */
}
.product-page {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between; /* Căn đều các sản phẩm */
    gap: 20px;
}
.product-item {
    width: calc(33% - 20px); /* Chiếm 1/3 chiều rộng trừ khoảng cách */
    text-align: center;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); /* Tạo bóng */
    padding: 10px;
    border-radius: 8px;
}
.product-item img {
    width: 100%;
    height: auto;
    border-radius: 8px;
}
.product-page.active {
    display: flex; /* Hiển thị trang được chọn */
    flex-wrap: wrap;
    gap: 20px; /* Khoảng cách giữa các sản phẩm */
}
.pagination {
    text-align: center;
    margin-top: 20px;
}
.page-btn {
    padding: 10px 15px;
    margin: 5px;
    background-color: #333;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}
.page-btn:hover {
    background-color: #00b0ff;
}
.page-btn.active {
    background-color: #00b0ff; /* Màu nền cho nút đang hoạt động */
    color: white;
    font-weight: bold;
}
/* Đảm bảo khoảng cách hợp lý giữa các hàng */

@media (max-width: 480px) {
    .product-item {
        width: 100%; /* 1 sản phẩm mỗi hàng trên màn hình rất nhỏ */
    }
}

.breadcrumb {
    font-size: 16px;
    margin-bottom: 20px;
    color: #333;
}
.breadcrumb a {
    text-decoration: none; /* Bỏ gạch chân liên kết */
    color: #333; /* Màu xanh cho liên kết */
    font-weight: bold;
    transition: color 0.3s;
}
.breadcrumb a:hover {
    color: #00b0ff; /* Đổi màu khi hover */
}
.breadcrumb {
    display: flex;
    align-items: center;
    gap: 5px; /* Khoảng cách giữa các phần tử */
}
/*-------------------------------------------Cartegory---------------------------------------*/
.cartegory {
    padding-top: 70px;
    overflow: hidden; /* Đảm bảo không có overflow làm ẩn phần tử */
}

.cartegory-container {
     max-width: 1000px;
    margin: 0 auto;
    padding: 0 15px;
    width: 100%;
}

.cartegory-top {
    position: relative; /* Đảm bảo phần này được giữ đúng vị trí */
    z-index: 1; /* Đưa nó lên trên nếu bị che khuất */
}

nav.breadcrumb {
    display: block;
    padding: 10px 0;
    font-size: 16px;
}

nav.breadcrumb a {
    text-decoration: none;
    color: #333;
}

nav.breadcrumb p {
    display: inline;
    margin-left: 5px;
    color: #333;
}
.cartegory-body {
    display: flex;
    justify-content: space-between;
    margin-top: 20px;
}

.body-left {
    width: 60%;
    margin-bottom: 20px;
}

.body-right {
    width: 40%;
    padding: 20px;
    background-color: #f9f9f9;
    border-radius: 8px;
    text-align: left;
}

.body-left-img-main {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.main-image-container {
    position: relative;
    display: flex;
    align-items: center;
}

.main-image img {
    width: 100%;
    max-height: 500px;
    object-fit: cover;
}

.thumbnail-images {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 10px;
}

.thumbnail {
    width: 100px;
    height: 60px;
    object-fit: cover;
    margin: 0 10px;
    cursor: pointer;
    transition: transform 0.3s ease;
    opacity: 0.7;
}

.thumbnail:hover {
    transform: scale(1.1);
    opacity: 1;
}

.thumbnail.active {
    border: 2px solid #a5a5a2;
    opacity: 1;
}

.arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    font-size: 24px;
    color: rgba(0, 0, 0, 0.6);
    cursor: pointer;
    z-index: 10;
    background-color: rgba(255, 255, 255, 0.7);
    padding: 10px;
    border-radius: 50%;
}

.arrow.left {
    left: 10px;
}

.arrow.right {
    right: 10px;
}

.arrow:hover {
    color: rgba(0, 0, 0, 1);
}
.body-right {
    padding: 30px; /* Tăng khoảng cách xung quanh */
    background-color: #f9f9f9; /* Màu nền nhẹ */
    border-radius: 8px; /* Bo góc */
    text-align: left; /* Canh giữa nội dung */
}

.car-name {
    font-size: 32px; /* Tăng kích thước chữ */
    font-weight: bold;
    margin-bottom: 15px; /* Thêm khoảng cách bên dưới */
}

.car-price {
    font-size: 28px; /* Tăng kích thước chữ */
    color: #00b0ff; /* Màu nổi bật */
    margin-bottom: 25px; /* Thêm khoảng cách bên dưới */
}

.car-actions {
    display: flex;
    justify-content: center;
    gap: 20px; /* Tăng khoảng cách giữa các nút */
}

button.quote-button, button.test-drive-button {
    padding: 10px 22px; /* Tăng kích thước nút */
    font-size: 15px; /* Tăng kích thước chữ trên nút */
    color: #fff;
    border: none;
    border-radius: 8px; /* Bo góc nút nhiều hơn */
    cursor: pointer;
    transition: background-color 0.3s, transform 0.2s; /* Hiệu ứng hover */
}

button.quote-button {
    background-color: #007bff; /* Màu xanh */
}

button.test-drive-button {
    background-color: #3333FF; /* Màu xanh lá */
}

button:hover {
    background-color: #00b0ff;
    transform: scale(1.05);
}
.cartegory-bot{
    margin-top: 20px;
}

.specifications {
    margin-top: 20px;
    margin-bottom: 10px;
}

.specifications table {
    width: 100%;
    border-collapse: collapse;
}

.specifications th, .specifications td {
    padding: 10px;
    border: 1px solid #ddd;
    text-align: left;
}

.specifications th {
    background-color: #f2f2f2;
}
.image-cartegory {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    padding: 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.image-cartegory img {
    max-width: 50%;
    height: auto;
    object-fit: cover;
}

.image-cartegory p {
    margin: 10px 0;
    font-size: 16px;
    line-height: 1.5;
    color: #333; /* Màu chữ */
}

/*-------------------------------------------------Contact----------------------------------------------------*/
.contact {
    margin-top: 10px;
}
.contact p {
    margin-left: 150px;
    margin-bottom: 30px;
    font-size: 35px;
    font-weight: bold;
}
.contact li {
    margin-left: 150px;
    font-size: 20px;
    margin-bottom: 20px;
}
.contact-left {
    width: 50%;
}

.contact-right {
    width: 50%;
}

.Banner-content {
    color: white;
    padding: 30px;
    background-color: rgba(0, 0, 0, 0.5);
    border-radius: 8px;
    margin-left: 0; /* Đảm bảo không có margin trái */
}

.Banner h1 {
    font-size: 36px;
    margin-bottom: 20px;
    text-align: left; 
}

.Banner p {
    font-size: 20px;
    line-height: 1.5;
    text-align: left;
}

.contact-right > .call-button {
    background-color: #00b0ff;
    color: white;
    padding: 12px 24px;
    border-radius: 25px;
    font-size: 16px;
    font-weight: bold;
    border: none;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.call-button:hover {
    background-color: #00b0ff;
    transform: scale(1.05);
}

.call-button:active {
    transform: scale(0.95);
}

/* Hiệu ứng rung cho icon */
@keyframes shake {
    0% { transform: rotate(0deg); }
    25% { transform: rotate(10deg); }
    50% { transform: rotate(0deg); }
    75% { transform: rotate(-10deg); }
    100% { transform: rotate(0deg); }
}

.phone-icon {
    display: inline-block;
}

.call-button:hover .phone-icon {
    animation: shake 0.5s infinite;
}
/* ----------------------------Popup-------------------------------*/
/* POPUP CONTAINER */
#popupContainer {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.55);
    z-index: 999;
    overflow-y: auto;
}

/* OVERLAY */
.popup-overlay {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    width: 100%;
    padding: 15px;
    box-sizing: border-box;
}

/* POPUP */
.popup {
    background: #fff;
    padding: 0;
    border-radius: 3px;
    width: 100%;
    max-width: 460px;
    position: relative;
    margin: auto;
    box-shadow: 0 5px 30px rgba(0, 0, 0, 0.25);
    z-index: 1000;
    overflow: hidden;
    box-sizing: border-box;
    animation: popupShow 0.3s ease;
}

/* HEADER BANNER */
.popup-header {
    width: 100%;
    height: 95px;
    position: relative;
    background-image: url('../images/banner-contact.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

/* LOGO */
.vw-logo {
    position: absolute;
    left: 27px;
    top: 50%;
    transform: translateY(-50%);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: white;
    padding: 5px;
    object-fit: contain;
    box-sizing: border-box;
}

/* CLOSE BUTTON */
.close-popup {
    position: absolute;
    right: 12px;
    top: 9px;
    width: 32px;
    height: 32px;
    padding: 0;
    background: transparent;
    border: none;
    font-size: 30px;
    font-weight: 300;
    line-height: 28px;
    cursor: pointer;
    color: #fff;
    z-index: 5;
}

.close-popup:hover {
    opacity: 0.7;
}

/* POPUP CONTENT */
.popup-content {
    padding: 30px 27px 32px;
    background: #fff;
    text-align: center;
}

/* TITLE */
.popup h2 {
    margin: 0 0 15px;
    color: #111;
    text-align: center;
    font-size: 21px;
    font-weight: 600;
    line-height: 1.3;
}

/* DESCRIPTION */
.popup p {
    text-align: center;
    color: #172d55;
    font-size: 16px;
    margin: 0 0 30px;
}

/* INPUT AND SELECT */
.popup input,
.popup select {
    display: block;
    width: 100%;
    height: 49px;
    padding: 0 20px;
    margin: 0 0 16px;
    border: 1px solid #d8dee8;
    border-radius: 30px;
    box-sizing: border-box;
    background-color: #f5f5f6;
    color: #172d55;
    font-size: 14px;
    outline: none;
    font-family: Arial, sans-serif;
}

.popup input::placeholder {
    color: #7c8492;
    opacity: 1;
}

.popup input:focus,
.popup select:focus {
    border-color: #18396f;
    background: #fff;
}

/* SELECT ARROW */
.popup select {
    appearance: none;
    -webkit-appearance: none;
    cursor: pointer;
    padding-right: 45px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23111111' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 19px center;
}

/* SUBMIT BUTTON */
.popup button[type="submit"] {
    display: block;
    width: 170px;
    height: 50px;
    padding: 0;
    margin: 24px auto 0;
    border: none;
    border-radius: 30px;
    background: #142f65;
    color: #fff;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    text-transform: uppercase;
}

.popup button[type="submit"]:hover {
    background: #0b204b;
}

/* ANIMATION */
@keyframes popupShow {
    from {
        opacity: 0;
        transform: translateY(15px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* MOBILE */
@media (max-width: 480px) {
    #popupContainer {
        overflow-y: auto;
    }

    .popup-overlay {
        padding: 0;
    }

    .popup {
        width: 100%;
        max-width: 460px;
        border-radius: 0;
    }

    .popup-header {
        height: 95px;
    }

    .popup-content {
        padding: 30px 27px 32px;
    }

    .popup h2 {
        font-size: 20px;
    }
}

/* Notification CSS */
.notification {
    padding: 15px;
    border-radius: 5px;
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 9999; /* Đảm bảo trên pop-up */
    display: none;
    color: white;
    font-size: 16px;
}

.notification.success {
    background-color: #4CAF50;
}

.notification.error {
    background-color: #f44336;
}
/*---------------Zalo---------------*/
.fixed-button {
    position: fixed;
    left: 20px;
    z-index: 9999;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.fixed-button:hover {
    transform: scale(1.1);
}

.zalo-button {
    bottom: 20px;
    animation: float 2s ease-in-out infinite;
}

.phone-button {
    bottom: 100px;
    animation: float 2s ease-in-out infinite 0.5s;
}


@keyframes float {
    0% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-10px);
    }
    100% {
        transform: translateY(0px);
    }
}

.fixed-button img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

/* Thêm tooltip */
.fixed-button::after {
    content: attr(data-tooltip);
    position: absolute;
    right: 80px;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 5px 10px;
    border-radius: 5px;
    font-size: 14px;
    white-space: nowrap;
    opacity: 0;
    transition: opacity 0.3s;
}

.fixed-button:hover::after {
    opacity: 1;
}

.tskt {
    width: 90%;
}
/*--------------------------------- News -----------------------------*/
.news-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px 0;
    padding-top: 150px;
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

.news-card {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.news-card:hover {
    transform: translateY(-5px);
}

.news-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.news-content {
    padding: 20px;
}

.news-content a,h2 {
    text-decoration: none;
}

.news-title {
    font-size: 1.2em;
    color: #333;
    margin-bottom: 10px;
    text-decoration: none;
}

.news-description {
    color: #666;
    font-size: 0.9em;
    line-height: 1.5;
}

/* Tin tức và sự kiện */
.news-section {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.section-title {
    text-align: center;
    font-size: 2rem;
    color: #333;
}

.news-section p {
    margin-bottom: 30px;
}


.news-container-index {
    display: flex;
    gap: 15px;
    height: 500px; /* Chiều cao cố định cho container */
}

.video-container {
    flex: 2;
    height: 100%;
}

.video-wrapper {
    position: relative;
    height: 100%;
    overflow: hidden;
}

.video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

.news-list {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 15px;
    height: 100%;
}

.news-item {
    flex: 1;
    display: flex;
    gap: 15px;
    padding: 10px;
    background: #f5f5f5;
    border-radius: 8px;
    overflow: hidden;
}

.news-item-image {
    width: 120px;
    height: 100%;
    flex-shrink: 0;
}

.news-item-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 4px;
}

.news-item-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    text-decoration: none;
}

.news-item a,h3 {
    margin: 0 0 8px 0;
    font-size: 1.1rem;
    color: #333;
    text-decoration: none;
}

.news-item a,h3:hover {
    color: #00b0ff;
}

.news-item p {
    margin: 0;
    color: #666;
    font-size: 0.9rem;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.price-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    font-family: Arial, sans-serif;
}

.price-title {
    margin-top: 80px;
    text-align: center;
    margin-bottom: 30px;
}

.price-title h2 {
    color: #14428c;
    font-size: 28px;
    font-weight: bold;
}

.price-card {
    display: flex;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 0 20px rgba(0,0,0,0.1);
    overflow: hidden;
    margin: 20px 0;
}

.car-image {
    width: 50%;
    position: relative;
    overflow: hidden;
}

.car-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.price-details {
    width: 50%;
    padding: 30px;
}

.car-name {
    font-size: 24px;
    font-weight: bold;
    color: #333;
    margin-bottom: 20px;
}

.color-price-list {
    margin-bottom: 30px;
}

.color-price-item {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    border-bottom: 1px solid #eee;
}

.color-name {
    color: #666;
}

.price {
    font-weight: bold;
    color: #14428c;
}

.button-group {
    display: flex;
    gap: 15px;
    padding: 10px;
}

.btn {
    padding: 12px 25px;
    border-radius: 5px;
    font-weight: bold;
    text-decoration: none;
    text-align: center;
    flex: 1;
}

.btn-quote {
    background: #14428c;
    color: white;
}

.btn-call {
    background: #e0e0e0;
    color: #333;
}

/* Responsive */
@media (max-width: 768px) {
    header {
        padding: 10px 20px;
        height: 60px;
    }

    .logo img {
        height: 50px;
        width: auto;
        margin-left: 75px;
    }

    .mobile-menu-btn {
        display: block;
    }

    .menu {
        position: fixed;
        top: 60px;
        left: -100%;
        width: 70%;
        height: calc(100vh - 60px);
        background: white;
        flex-direction: column;
        gap: 0;
        transition: 0.3s;
        overflow-y: auto;
    }

    #menu {
        position: fixed;
        top: 60px;
        left: -100%;
        width: 70%;
        height: calc(100vh - 60px);
        background: white;
        flex-direction: column;
        gap: 0;
        transition: 0.3s;
        overflow-y: auto;
    }

    .menu.active {
        left: 0;
    }

    #menu.active {
        left: 0;
    }

    .menu > li {
        padding: 15px 20px;
        border-bottom: 1px solid #eee;
    }

    #menu > li {
        padding: 15px 20px;
        border-bottom: 1px solid #eee;
    }

    .menu > li > a {
        font-size: 16px;
    }

    #menu > li > a {
        font-size: 16px;
    }

    .sub-menu {
        position: static;
        width: 100%;
        box-shadow: none;
        padding: 10px 0;
        margin-top: 10px;
    }

    .sub-menu li {
        padding: 10px;
    }

    .others input {
        width: 150px;
    }

    #Banner {
        margin-top: 60px;
        height: 300px;
    }

    .banner-container img {
        height: 300px;
    }

    .index-product-container {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
        padding: 15px;
    }

    .index-product-item {
        width: 100%;
    }

    .index-product-item img {
        width: 100%;
        height: auto;
    }

    .index-product-name {
        font-size: 14px;
        text-decoration: none;
    }

    .index-product-price {
        font-size: 14px;
    }

    .product-container {
        grid-template-columns: repeat(2, 1fr);
    }
    /*---------- Footer----------*/
    .contact {
        background-color: #f9f9f9; /* Màu nền nhẹ để làm nổi bật phần liên hệ */
        border-radius: 2px;
    }
    .contact-left {
        width: 50%;
    }
    .contact-right {
        width: 50%;
    }
    .contact-left p {
        font-size: 20px;
        width: 100%;
    }

    .contact-left li {
        width: 100%;
        font-size: medium;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .footer-column {
        text-align: center;
    }

    .footer-column h3::after {
        left: 50%;
        transform: translateX(-50%);
    }

    .social-links {
        justify-content: center;
    }

    .subscribe-form {
        flex-direction: column;
    }

    .subscribe-form button {
        width: 100%;
    }

    .product-item {
        width: calc(50% - 20px); /* 2 sản phẩm mỗi hàng trên màn hình nhỏ */
    }
    /*---------- Cartegory ----------*/
    .cartegory-container {
        padding: 10px;
    }

    .cartegory-top {
        text-align: center;
    }

    .breadcrumb {
        font-size: 0.9rem;
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 5px;
    }

    .breadcrumb a, .breadcrumb p {
        color: #333;
        text-decoration: none;
    }

    .breadcrumb a:hover {
        color: #00b0ff;
    }

    .cartegory-body {
        display: flex;
        flex-direction: column;
        gap: 20px;
    }

    .body-left {
        width: 100%;
    }

    .main-image-container {
        position: relative;
        width: 100%;
        height: 230px; /* Đặt chiều cao phù hợp cho hình ảnh chính */
    }

    .main-image img {
        width: 100%;
        height: auto;
        object-fit: contain; /* Đảm bảo ảnh không bị cắt */
        border-radius: 8px; /* Vòng bo luôn hiển thị */
        transition: transform 0.3s ease, opacity 0.3s ease;
        z-index: 99;
    }

    .thumbnail-images {   
        flex-shrink: 0;
        display: flex;
        justify-content: center;
        gap: 8px;
        z-index: 100;
    }

    .thumbnail {
        flex-shrink: 0;
        width: 80px;
        height: 60px;
        object-fit: cover;
        border-radius: 4px;
        cursor: pointer;
        transition: transform 0.3s;
        z-index: 100;
    }

    .body-right {
        width: 100%;
        text-align: left;
    }

    .car-name {
        font-size: 1.5rem;
        margin-bottom: 10px;
    }

    .car-price {
        font-size: 1.2rem;
        color: #00b0ff;
        margin-bottom: 10px;
    }

    .car-actions {
        display: flex;
        flex-direction: column;
        gap: 10px;
    }

    .quote-button, .test-drive-button {
        padding: 10px 20px;
        font-size: 1rem;
        border: none;
        border-radius: 4px;
        cursor: pointer;
        transition: background-color 0.3s;
    }

    .quote-button {
        background-color: #00b0ff;
        color: #fff;
    }

    .quote-button:hover {
        background-color: #007acc;
    }

    .test-drive-button {
        background-color: #ff5733;
        color: #fff;
    }

    .test-drive-button:hover {
        background-color: #e03d1a;
    }

    .cartegory-bot {
        font-size: 0.9rem;
    }

    .specifications table {
        width: 100%;
        border-collapse: collapse;
        margin-top: 10px;
        font-size: 0.9rem;
    }

    .specifications th, .specifications td {
        border: 1px solid #ddd;
        padding: 8px;
        text-align: left;
    }

    .specifications th {
        background-color: #f5f5f5;
        font-weight: bold;
    }

    .image-cartegory {
        display: flex;
        flex-direction: row; /* Đặt ảnh theo hàng ngang */
        justify-content: space-between; /* Tạo khoảng cách đều giữa các ảnh */
        gap: 10px; /* Khoảng cách giữa hai ảnh */
    }
    
    .image-cartegory img {
        width: 49%; /* Mỗi ảnh chiếm khoảng 48% chiều rộng, để tạo khoảng trống giữa */
        border-radius: 2px;
        object-fit: cover; /* Đảm bảo ảnh hiển thị đầy đủ trong khung */
    }

    .img-car {
        width: 100%;
    }

    .tskt {
        width: 100%;
    }

    /*---------- News ----------*/
    .container {
        padding: 10px;
    }
    
    .news-grid {
        grid-template-columns: 1fr;
    }

    .news-section {
        padding: 10px;
    }

    .section-title {
        font-size: 1.5rem;
        text-align: center;
    }

    .news-container-index {
        flex-direction: column;
        height: auto; /* Xóa chiều cao cố định */
    }

    .video-container {
        flex: none;
        height: 250px; /* Chiều cao phù hợp cho video trên mobile */
    }

    .news-list {
        flex: none;
        gap: 10px;
        height: auto; /* Cho phép danh sách tin tức mở rộng */
    }

    .news-item {
        flex-direction: column;
        gap: 10px;
        height: auto; /* Cho phép các mục tin tức tự điều chỉnh */
        padding: 10px;
    }

    .news-item-image {
        width: 100%;
        height: 150px; /* Chiều cao hợp lý cho hình ảnh trên mobile */
    }

    .news-item-content {
        flex: none;
        padding-top: 5px;
    }

    .news-item a,h3 {
        font-size: 1rem;
    }

    .news-item p {
        font-size: 0.8rem;
    }

    .price-card {
        flex-direction: column;
    }
    
    .car-image,
    .price-details {
        width: 100%;
    }
    
    .car-image {
        height: 300px;
    }
    
    .footer-content {
        flex-direction: column;
        text-align: left;
    }
        
    .footer-content p {
        text-align: left;
    }
}

.contact-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: white;
    padding: 10px 0;
    box-shadow: 0 -2px 10px rgba(0,0,0,0.1);
    z-index: 9999;
    display: none; /* Ẩn mặc định trên desktop */
}

.contact-container {
    display: flex;
    justify-content: space-around;
    align-items: center;
    max-width: 600px;
    margin: 0 auto;
    position: relative;
}

.contact-button {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    color: #333;
    font-size: 12px;
    transition: transform 0.3s ease;
}

.contact-button img {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    margin-bottom: 5px;
}

/* Nút gọi điện đặc biệt ở giữa */
.phone-new {
    bottom: 100px;
    animation: float 2s ease-in-out infinite 0.5s;
}


/* Hiệu ứng hover */
.contact-button:hover {
    transform: translateY(-5px);
}

.phone-new:hover {
    transform: translateY(-30px);
}

/* Tooltip */
.contact-button::before {
    content: attr(data-tooltip);
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 5px 10px;
    border-radius: 5px;
    font-size: 12px;
    white-space: nowrap;
    opacity: 0;
    transition: opacity 0.3s;
    pointer-events: none;
    margin-bottom: 10px;
}

.contact-button:hover::before {
    opacity: 1;
}

/* Hiển thị trên mobile */
@media (max-width: 768px) {
    .contact-bar {
        display: block;
    }
    
    body {
        padding-bottom: 70px;
    }

    .phone-button {
        display: none;
    }

    .zalo-button {
        display: none;
    }

    img {
        max-width: 100%;
        height: auto;
        display: block;
    }
}

.fb-page {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
}

#BannerFooter {
    background: #000080; /* Màu nền tối */
    color: #fff; /* Chữ trắng */
    text-align: left;
    padding: 20px 10px;
    font-size: 16px;
    position: relative;
    bottom: 0;
    width: 100%;
}

#BannerFooter .footer-content {
    max-width: 1200px;
    margin: auto;
}