* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Poppins", sans-serif;
}

.makeModel {
    font-size: 1.5rem;
    font-weight: 600;
    color: #333;
}

.price-tag {
    font-size: 1.5rem;
    font-weight: 600;
    color: #333;
}

.corner-badge-sold {
    padding: 6px 10px;
    font-size: 11px;
    font-weight: 600;
    color: #fff;
    border-radius: 9999px;
    background: linear-gradient(135deg, #dc3545, #ff4d4d);
    box-shadow: 0 6px 14px rgba(220, 53, 69, 0.35);
    text-transform: uppercase;
    letter-spacing: 1px;
    animation: badgePop 0.5s ease-out;
}

.corner-badge-available {
    padding: 6px 10px;
    font-size: 11px;
    font-weight: 600;
    color: #fff;
    border-radius: 9999px;
    background: linear-gradient(135deg, #198754, #28a745);
    box-shadow: 0 6px 14px rgba(25, 135, 84, 0.35);
    text-transform: uppercase;
    letter-spacing: 1px;
    animation: badgePop 0.5s ease-out;
}

.car-gallery img {
    width: 100%;
    height: 500px;
    object-fit: cover;
    border-radius: 8px;
    transition: transform 0.3s ease;
}

.car-gallery img:hover {
    transform: scale(1.00);
}

.car-thumbnails {
    gap: 10px;
}

.car-thumbnails img {
    width: 100px;
    height: 70px;
    object-fit: fill;
    cursor: pointer;
}

.features-list {
    columns: 1;
    -webkit-columns: 1;
    -moz-columns: 1;
}

.features-list li {
    margin-bottom: 0.5rem;
    list-style: none;
}

.dealer-info-card {
    background: #fff;
    border-radius: 16px;
    transition: 0.3s ease;
}

.no-bullets {
    list-style: none !important;
    padding-left: 0 !important;
    margin-bottom: 0 !important;
}

@media (min-width: 768px) and (max-width: 991px) {

    /* Adjust layout for tablet view */
    .car-gallery {
        width: 100%;
        margin-bottom: 2rem;
    }

    .car-gallery img {
        height: 100% !important;
    }

    /* Price and badges section */
    .col-md-4 {
        width: 100%;
    }

    /* Move dealer info below gallery */
    .dealer-info-card {
        max-width: 100%;
        margin: 2rem auto;
    }

    /* Center align dealer header */
    .dealer-info-card .d-flex.align-items-center.mb-4 {
        justify-content: center;
    }

    /* Adjust contact info layout */
    .dealer-info-card .list-unstyled li {
        justify-content: flex-start;
        padding: 0.75rem 1rem;
    }

    /* Make social icons larger and centered */
    .dealer-info-card .list-unstyled li:last-child {
        justify-content: center;
    }

    .dealer-info-card .list-unstyled li:last-child img {
        width: 30px;
        height: 30px;
    }
}

@media (max-width: 575px) {
    .car-gallery {
        width: 100%;
        margin-bottom: 2rem;
    }

    .car-gallery img {
        height: 100% !important;
    }

    /* View more Features button */
    .btn-warning {
        width: 100%;
        margin-top: 1.5rem !important;
        padding: 0.75rem;
    }
}