/* File: theme-folder\assets\vehicle-listings\show-listings.css
 *
 * Purpose:
 * - Styling for the listing cards/grid area on the filter results page (and any “listings” widget output).
 * - This is a cleaned + theme-safe version of what was previously embedded inline.
 */

/* Results wrapper */
.abja-listings-results {
    width: 100%;
}

/* Optional grid fallback if theme loop template is NOT used */
.abja-listings-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 15px;
    margin-top: 20px;
}

/* Fallback card */
.abja-listing-item {
    border: 1px solid #eee;
    border-radius: 4px;
    overflow: hidden;
    background: #fff;
    transition: box-shadow 0.15s ease;
}

.abja-listing-item:hover {
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.abja-listing-thumb img {
    display: block;
    width: 100%;
    height: auto;
}

.abja-listing-info {
    padding: 10px;
}

.abja-listing-title {
    font-size: 15px;
    margin: 0 0 4px;
}

.abja-listing-meta {
    font-size: 13px;
    color: #555;
}

.abja-listing-year {
    font-weight: 600;
}

.abja-listing-price {
    font-weight: 600;
    margin-left: 5px;
    color: #0073aa;
}

/* Small screen tweaks */
@media (max-width: 767px) {
    .abja-listings-grid {
        grid-template-columns: repeat(auto-fill, minmax(170px, 1fr));
    }
}
