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


/* ==========================
   VinFast Products
========================== */

.vinfast-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.vinfast-item {
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
    height: 100%;
    padding: 25px;
    background: linear-gradient(180deg, #fff 0%, #f8f9fb 100%);
    border: 1px solid #ececec;
    border-radius: 16px;
    transition: all .35s ease;
}

.vinfast-item::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: #0057ff;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .35s ease;
}

.vinfast-item:hover {
    transform: translateY(-8px);
    border-color: #0057ff;
    box-shadow: 0 18px 40px rgba(0, 0, 0, .12);
}

.vinfast-item:hover::before {
    transform: scaleX(1);
}

.vinfast-thumb {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 220px;
    margin-bottom: 20px;
    overflow: hidden;
}

.vinfast-thumb a {
    display: block;
    width: 100%;
}

.vinfast-image {
    width: 100%;
    height: auto;
    transition: transform .4s ease;
}

.vinfast-item:hover .vinfast-image {
    transform: scale(1.06);
}

.vinfast-title {
    margin: 0 0 15px;
    font-size: 28px;
    font-weight: 700;
    line-height: 1.3;
    text-transform: uppercase;
}

.vinfast-title a {
    color: #111;
    text-decoration: none;
    transition: color .3s;
}

.vinfast-title a:hover {
    color: #0057ff;
}

.vinfast-price {
    margin-bottom: 25px;
}

.price-label {
    display: block;
    margin-bottom: 5px;
    font-size: 13px;
    font-weight: 600;
    color: #777;
    letter-spacing: 1px;
}

.price-value {
    font-size: 28px;
    font-weight: 700;
    color: #0057ff;
}

.vinfast-buttons {
    display: flex;
    gap: 12px;
    margin-top: auto;
}

.vinfast-buttons a {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 46px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: all .3s ease;
}

.btn-blue {
    background: #0057ff;
    border: 2px solid #0057ff;
    color: #fff;
}

.btn-blue:hover {
    background: #0042d6;
    border-color: #0042d6;
    color: #fff;
}

.btn-white {
    background: #fff;
    border: 2px solid #0057ff;
    color: #0057ff;
}

.btn-white:hover {
    background: #0057ff;
    color: #fff;
}

.vinfast-item a {
    text-decoration: none;
}

.vinfast-item img {
    box-shadow: none;
}

@media (max-width: 991px) {
    .vinfast-list {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 767px) {
    .vinfast-list {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .vinfast-item {
        padding: 20px;
    }

    .vinfast-thumb {
        height: 180px;
    }

    .vinfast-title {
        font-size: 22px;
    }

    .price-value {
        font-size: 24px;
    }

    /* .vinfast-buttons {
        flex-direction: column;
    } */
}