/* Container grid */
.autoplius-cars {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

/* Individual card */
.autoplius-car {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
    display: flex;
    flex-direction: column;
}

/* Image styling */
.autoplius-car img {
    width: 100%;
    display: block;
    transition: opacity .3s ease;
}
.autoplius-car img:hover {
    opacity: .9;
}

/* Title link */
.autoplius-car h3 {
    font-family: 'Arial Black', sans-serif;
    font-size: 1.2rem;
    text-align: center;
    text-transform: uppercase;
    margin: .75rem 1rem 0.25rem;
}
.autoplius-car a {
    color: inherit;
    text-decoration: none;
}

/* Price */
.autoplius-car .autoplius-price {
    font-family: 'Arial Black', sans-serif;
    color: #c00;
    text-align: center;
    font-size: 1.4rem;
    margin: .25rem 1rem 1rem;
}

/* Parameter list */
.autoplius-parameters {
    list-style: none;
    padding: 0 1rem 1rem;
    margin: 0;
    flex-grow: 1;
}
.autoplius-parameters li {
    font-size: .9rem;
    margin: .25rem 0;
}

/* Details toggle panel */
.autoplius-details {
    border-top: 1px solid #eee;
    background: #fafafa;
    overflow: hidden;
    max-height: 0;
    transition: max-height .4s ease;
}

/* When open */
.autoplius-car.open .autoplius-details {
    max-height: 500px; /* enough to reveal content */
}

/* Toggle button */
.autoplius-toggle {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: .75rem 1rem;
    background: #f7f7f7;
    cursor: pointer;
    font-size: .9rem;
    text-transform: uppercase;
    border-top: 1px solid #eee;
}
.autoplius-toggle .icon {
    font-size: 1.2rem;
    transition: transform .3s ease;
}
.autoplius-car.open .autoplius-toggle .icon {
    transform: rotate(45deg);
}
