/**
 * Products Page Grid Styles
 */

.products-grid-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 80px 2rem;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 2rem;
}

.product-card {
    background: #ffffff;
    padding: 2.5rem 2rem;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
    border-color: #ff6b35;
}

.product-icon {
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: linear-gradient(135deg, #fff5f2 0%, #ffe8e0 100%);
    color: #ff6b35;
    margin-bottom: 1.5rem;
    transition: all 0.3s ease;
}

.product-card:hover .product-icon {
    background: linear-gradient(135deg, #ff6b35 0%, #ff8c42 100%);
    color: #ffffff;
    transform: scale(1.1);
}

.product-icon svg {
    width: 48px;
    height: 48px;
}

.product-card h3 {
    font-size: 1.375rem;
    font-weight: 700;
    color: #1a1a1a;
    margin: 0 0 0.75rem 0;
    transition: color 0.3s ease;
}

.product-card:hover h3 {
    color: #ff6b35;
}

.product-card p {
    font-size: 0.9375rem;
    color: #6b7280;
    line-height: 1.6;
    margin: 0 0 1.5rem 0;
    flex-grow: 1;
}

.view-catalog {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9375rem;
    font-weight: 600;
    color: #ff6b35;
    transition: all 0.3s ease;
}

.product-card:hover .view-catalog {
    gap: 0.75rem;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .products-grid {
        grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
        gap: 1.5rem;
    }
}

@media (max-width: 768px) {
    .products-grid-container {
        padding: 60px 1.5rem;
    }
    
    .products-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
        gap: 1.5rem;
    }
    
    .product-card {
        padding: 2rem 1.5rem;
    }
    
    .product-icon {
        width: 70px;
        height: 70px;
    }
    
    .product-icon svg {
        width: 40px;
        height: 40px;
    }
}

@media (max-width: 480px) {
    .products-grid-container {
        padding: 40px 1rem;
    }
    
    .products-grid {
        grid-template-columns: 1fr;
        gap: 1.25rem;
    }
    
    .product-card {
        padding: 1.75rem 1.25rem;
    }
    
    .product-card h3 {
        font-size: 1.25rem;
    }
}
