/**
 * Products Component CSS
 * Simple styling for product cards based on Figma design
 */

.products-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.product-card {
    background: #2A2627;
    border: 1px solid #454033;
    border-radius: 8px;
    overflow: hidden;
    width: 100%;
    position: relative;
    text-decoration: none;
    display: block;
}

.product-card__image {
    width: 100%;
    aspect-ratio: 1/1;
    overflow: hidden;
}

.product-card__image img {
    width: 100%;
    height: 100% !important;
    object-fit: cover;
}

.product-card__content {
    padding: 20px 12px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #2A2627;
}

.product-card__name {
    color: var(--color-text);
    font-family: var(--font-text);
    font-size: 14px;
    font-weight: 600;
    line-height: 1.2;
}

.product-card__price {
    color: var(--color-primary);
    font-family: var(--font-text);
    font-size: 16px;
    font-weight: 700;
    margin: 0;
}

/* Tablet - 3 columns */
@media (max-width: 1024px) {
    .products-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Mobile - 2 columns */
@media (max-width: 768px) {
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }
    
    .product-card {
        width: 100%;
    }
}