
.cars-card {
    width: 360px;
    position: relative;
    background: white;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    /*font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;*/
    margin: 10px auto;
}

.cars-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
}

.cars-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: linear-gradient(45deg, #18181B, #27272A);
    color: white;
    padding: 6px 12px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    border-radius: 12px;
    z-index: 10;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.cars-tilt-effect {
    overflow: hidden;
    transform-style: preserve-3d;
    perspective: 1000px;
}

.cars-image {
    height: 240px;
    overflow: hidden;
    position: relative;
}

.cars-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s cubic-bezier(0.19, 1, 0.22, 1);
}

.cars-card:hover .cars-image img {
    transform: scale(1.05);
}

.cars-info {
    padding: 25px;
    position: relative;
}

.cars-category {
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: capitalize;
    color: #71717A;
    margin-bottom: 8px;
}

.cars-title {
    font-size: 20px;
    font-weight: 700;
    color: #18181B;
    margin: 0 0 12px 0;
    letter-spacing: -0.5px;
    line-height: 1.2;
}

.cars-description p {
    font-size: 13px;
    color: #52525B;
    line-height: 1.5;
    margin-bottom: 15px;
}

.cars-div-feature {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 20px;
}

.cars-feature {
    font-size: 12px;
    background-color: #F4F4F5;
    color: #71717A;
    padding: 4px 10px;
    border-radius: 12px;
    font-weight: 500;
}

.cars-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}


.cars-button {
    width: 100%;                 /* Full width */
    /*background: linear-gradient(45deg, #18181B, #27272A);*/
    background: linear-gradient(45deg, #800080, #800080);
    color: white;
    border: none;
    border-radius: 12px;
    padding: 12px 18px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;

    display: flex;
    justify-content: center;     /* Center text + icon horizontally */
    align-items: center;         /* Center vertically */
    gap: 8px;

    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    position: relative;
    overflow: hidden;
}

.cars-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transition: all 0.6s ease;
}

.cars-button:hover {
    background: linear-gradient(45deg, #800080, #800080);
    /*background: linear-gradient(45deg, #27272A, #3F3F46);*/
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

.cars-button:hover::before {
    left: 100%;
}

.cars-button-icon {
    transition: transform 0.3s ease;
}

.cars-button:hover .cars-button-icon {
    transform: rotate(-10deg) scale(1.1);
}

.cars-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid #F4F4F5;
    padding-top: 15px;
}


.cars-stock {
    font-size: 14px;
    font-weight: 600;
    color: #42DB87 !important;
}

@media (max-width: 400px) {
    .cars-card {
        width: 90%;
    }

    .cars-title {
        font-size: 18px;
    }

    .cars-image {
        height: 200px;
    }

    .cars-bottom {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }

    .cars-button {
        width: 100%;
        justify-content: center;
    }
}

