/* =============================================================================
   CAR CARDS — Used on homepage, archive, and any listing
   ============================================================================= */

.ac-car-card {
    background: #fff;
    overflow: hidden; display: flex; flex-direction: column;
    transition: box-shadow .22s, transform .22s;
    cursor: pointer;
}
.ac-car-card:hover { box-shadow: 0 8px 32px rgba(0,0,0,.13); }

/* --- Image area --- */
.ac-card-image {
    position: relative; overflow: hidden;
    aspect-ratio: 4/3; background: #111;
    flex-shrink: 0;
}
.ac-card-image img {
    width: 100%; height: 100%; object-fit: cover; display: block;
    transition: transform .4s ease;
}
.ac-car-card:hover .ac-card-image img { transform: scale(1.03); }

.ac-card-no-image {
    width: 100%; height: 100%; background: #1a1a2e;
    display: flex; align-items: center; justify-content: center;
    color: rgba(255,255,255,.2); font-size: .85rem;
}

/* AA badge top-left */
.ac-card-aa-img-badge {
    position: absolute; top: 0; left: 0; z-index: 3;
    background: #1a1a1a;
    display: flex; align-items: center; gap: 5px;
    padding: 6px 12px 6px 8px;
    font-size: .7rem; font-weight: 700; color: #fff;
}
.ac-card-aa-img-badge .aa-text { color: #f5c518; font-weight: 900; font-size: .82rem; }

/* Wishlist button */
.ac-wishlist-btn {
    position: absolute; top: 10px; right: 10px; z-index: 4;
    width: 32px; height: 32px; border-radius: 50%;
    background: rgba(255,255,255,.88);
    display: flex; align-items: center; justify-content: center;
    color: #888; cursor: pointer; border: none;
    transition: all .2s; flex-shrink: 0;
}
.ac-wishlist-btn:hover,
.ac-wishlist-btn.is-saved { color: #e05a5a; background: #fff; }
.ac-wishlist-btn.is-saved svg { fill: #e05a5a; }

/* Bottom info bar on image */
.ac-card-img-footer {
    position: absolute; bottom: 0; left: 0; right: 0; z-index: 3;
    display: flex; justify-content: space-between; align-items: center;
    background: rgba(0,0,0,.68); padding: 6px 10px;
    font-size: .68rem; color: #fff; font-weight: 700;
    letter-spacing: .05em; text-transform: uppercase;
}
.ac-card-img-left { display: flex; align-items: center; gap: 12px; }
.ac-card-img-item { display: flex; align-items: center; gap: 4px; }

/* Hover overlay — 3 action buttons */
.ac-card-hover-overlay {
    position: absolute; inset: 0; z-index: 6;
    background: rgba(0,0,0,.72);
    display: flex; flex-direction: column;
    align-items: center; justify-content: center;
    gap: 10px; padding: 20px;
    opacity: 0; pointer-events: none;
    transition: opacity .25s ease;
}
.ac-car-card:hover .ac-card-hover-overlay { opacity: 1; pointer-events: all; }
.ac-car-card:hover .ac-card-title a    { color: var(--ac-accent); }

.ac-hover-btn {
    display: block; width: 85%; text-align: center;
    padding: 11px 20px; border-radius: 100px;
    font-weight: 800; font-size: .75rem;
    letter-spacing: .1em; text-transform: uppercase;
    cursor: pointer; border: none; transition: filter .2s;
    text-decoration: none;
}
.ac-hover-btn:hover { filter: brightness(1.1); }
.ac-hover-btn--enquiry  { background: var(--ac-accent); color: #111; }
.ac-hover-btn--whatsapp { background: #25D366; color: #fff; }
.ac-hover-btn--details  { background: transparent; color: #fff; border: 2px solid #fff; }

/* --- Card body --- */
.ac-card-body {
    padding: 14px 16px 12px;
    flex: 1; display: flex; flex-direction: column;
    background: #fff;
}
.ac-card-title { font-size: .95rem; font-weight: 700; color: #111; margin-bottom: 3px; }
.ac-card-title a { color: #111; transition: color .2s; }
.ac-card-spec-line { font-size: .75rem; color: #999; margin-bottom: 12px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* Prices: OUR PRICE | MONTHLY | WEEKLY */
.ac-card-prices {
    display: grid; grid-template-columns: repeat(3,1fr);
    gap: 4px; margin-bottom: 10px;
    padding-bottom: 10px; border-bottom: 1px solid #f0f0f0;
}
.ac-price-label { display: block; font-size: .58rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: #aaa; margin-bottom: 2px; }
.ac-price-val   { font-size: .9rem; font-weight: 700; color: #111; }

/* Trust badges row */
.ac-card-trust-row { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin-top: auto; }
.ac-card-aa-badge-sm {
    font-size: .65rem; font-weight: 800;
    background: #1a1a1a; color: #f5c518;
    padding: 4px 8px; display: flex; align-items: center; gap: 3px;
}
.ac-card-history-badge {
    font-size: .62rem; font-weight: 700; color: #333;
    border: 1px solid #ddd; padding: 3px 8px;
    background: #fafafa; text-align: center; line-height: 1.3;
}
