/*
Theme Name: AutoDeal Child
Theme URI: https://motors77.com/
Description: Child theme for AutoDeal.
Author: YourName
Author URI: https://motors77.com/
Template: autodeal
Version: 1.0.0
*/
.tfcl-listing-grid.model-grid-fix {
    display: flex;
    flex-wrap: wrap;
    gap: 40px 32px;
    justify-content: center;
    padding: 32px 0;
}
.tfcl-listing-card.model-card-polished {
    width: 370px;
    min-height: 480px;
    background: #fff;
    border-radius: 18px;
    box-shadow: 0 1px 8px rgba(40,49,72,0.07);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 0;
    transition: box-shadow .2s;
}
.tfcl-listing-card.model-card-polished:hover {
    box-shadow: 0 4px 24px rgba(40,49,72,0.18);
}
.model-card-image-link {
    display: block;
    width: 100%;
    height: 160px;
    background: #fafafa;
    text-align: center;
    padding-top: 12px;
}
.model-card-img {
    max-width: 100%;
    max-height: 140px;
    object-fit: contain;
    border-radius: 12px 12px 0 0;
}
.model-card-body {
    width: 100%;
    padding: 20px 22px 10px 22px;
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.model-card-title {
    font-size: 1.35rem;
    font-weight: 600;
    margin: 0 0 12px 0;
    text-align: center;
}
.model-card-features {
    list-style: none;
    padding: 0;
    margin: 0 0 14px 0;
    font-size: 1rem;
    width: 100%;
}
.model-card-footer {
    text-align: center;
    margin-top: 8px;
    margin-bottom: 10px;
}
.variant-count {
    color: #888;
    font-size: 0.96rem;
    margin-bottom: 4px;
    display: block;
}
.model-card-btn {
    display: inline-block;
    background: #fff;
    border: 2px solid #ff6f3c;
    color: #ff6f3c;
    padding: 9px 26px;
    border-radius: 11px;
    font-weight: 600;
    font-size: 1.04rem;
    margin-top: 6px;
    transition: all .2s;
    text-decoration: none;
}
.model-card-btn:hover {
    background: #ff6f3c;
    color: #fff;
}
@media (max-width: 900px) {
    .tfcl-listing-card.model-card-polished { width: 95vw; }
}
