﻿
.card {
    background-color: #ffffff;
    border: 1px solid #e0e0e0;
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    height: 100%;
    overflow: hidden;
    position: relative;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    transition: box-shadow 0.3s ease, transform 0.3s ease;
}
    .card:hover {
        box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
        transform: translateY(-5px);
    }

.image_container {
    position: relative;
    height: 253px;
}

.card-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.badge {
    background-color: rgba(0, 0, 0, 0.5);
    border-radius: 5px;
    color: white;
    font-size: 12px;
    font-weight: 500;
    padding: 6px 12px;
    position: absolute;
    z-index: 10;
}

    .badge:hover {
        background-color: rgba(0, 0, 0, 0.8);
        cursor: pointer;
    }

.badge-top-left {
    left: 12px;
    top: 12px;
}

.badge-top-right {
    top: 12px;
    padding: 6px;
    border-radius: 40px;
}

.photo-count {
    bottom: 12px;
    left: 12px;
}

.video-badge {
    bottom: 12px;
    right: 12px;
    /*display: none;*/
}

.card-body {
    padding: 16px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

    .card-body > a {
        text-decoration: none;
        color: inherit;
        display: flex;
        flex-direction: column;
        flex-grow: 1;
    }

.vehicle-title { 
    font-size: 16px;
    font-weight: 700;
    color: #000000;
    min-height: 48px;
    line-height: 1.5;
}
.vehicle-subtitle { 
    font-weight: 500; 
}


.spec-container {
    display: flex;
    gap: 8px;
    margin-top: 12px;
    padding-bottom: 20px;
    border-bottom: 1px solid #000;
    margin-bottom: 16px;
}

.spec-box {
    background-color: #f2f2f2;
    border-radius: 3px;
    color: #333;
    flex-grow: 1;
    font-size: 12px;
    font-weight: 700;
    padding: 3px;
    text-align: center;
}

.price-container {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-top: auto; 
}

.price-main {
    color: #000000;
}

.price-was-container {
    /* padding-top: 16px;*/
 } 

.price-was {
    color: #6c757d;
    font-size: 16px;
    font-weight: 500;
    text-decoration: line-through;
    line-height: 1.1;
}

.price {
    color: #6fb203; 
    font-size: 30px;
    font-weight: 800;
    line-height: 1;
}

.price-incl-vat {
    color: #000;
    font-size: 10px; 
}

.price-financed {
    text-align: right;
}

.financed-amount {
    line-height: 1.1;
    color: #5A5A5A;
    font-size: 22px;
    font-weight: 800;
}

.financed-label {
    color: #000;
    font-size: 10px;
    font-weight: 400;
}

.card-footer {
    background-color: #ffffff;
    border-top: 0px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 16px;
}

.location {
    color: #000;
    font-size: 12px; 
    cursor:pointer;
}

    .location i {
        margin-right: 6px;
    }

.status-badge {
    display: flex;
    align-items: center;
    cursor: pointer;
}

.status-badge-img {
    height: 24px;
}

.status-badge-info {
    font-size:10px;
    margin-left: 8px;
    color: #000;
}

/* -- Swiper Slider Styles -- */
    .image_container .swiper {
    height: 100%;
    width: 100%;
}

.image_container .swiper-pagination {
    z-index: 10;
    bottom: 10px;
}

.swiper-pagination-bullet {
    background-color: rgba(255, 255, 255, 0.7);
    width: 8px;
    height: 8px;
}

.swiper-pagination-bullet-active {
    background-color: #ffffff;
}

.image_container .swiper-button-next,
.image_container .swiper-button-prev {
    background-color: rgba(0, 0, 0, 0.4);
    width: 36px;
    height: 36px;
    border-radius: 50%;
    transition: background-color 0.2s ease-in-out;
    z-index: 10;
    cursor: pointer;
}

    .image_container .swiper-button-next:hover,
    .image_container .swiper-button-prev:hover {
        background-color: rgba(0, 0, 0, 0.7);
    }

    .image_container .swiper-button-next:after,
    .image_container .swiper-button-prev:after {
        font-size: 16px;
        font-weight: 800;
        color: white;
    }