.cards-container {
    display: grid;
    width: 100%;
    gap: 1rem;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    padding: 1rem;
}

.card {
    background-color: #fff;
    box-shadow: 0 2px 4px -1px rgba(224, 227, 235, 0.07), 0 4px 6px -1px rgba(102, 102, 102, 0.12);
    border-radius: 8px;
    cursor: pointer;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.card--image {
    width: 100%;
    height: 11rem;
    object-fit: cover;
}

.card--price {
    display: block;
    background-color: rgb(249, 249, 249);
    color: rgb(98,102,135);
    padding: 0.375rem;
    font-size: 14px;
    line-height: 1.5rem;
    font-weight: 400;
}

.card--price span {
    font-weight: 600;
    font-size: 18px;
}

.card--name {
    display: block;
    color: rgb(60,63,82);
    font-weight: 600;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: 16px;
    margin: 0.5rem 0;
}

@media (min-width: 1024px) {
    .cards-container {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .cards-container {
        grid-template-columns: 1fr;
    }
}
