/* Products Grid - Using existing feature-grid structure */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin: 2rem auto;
    padding: 0 1rem;
    max-width: 1400px; /* Prevent excessive stretching on wide screens */
}

/* Product Card - Using existing info-card structure */
.product-card {
    background: var(--white);
    border-radius: var(--card-radius);
    box-shadow: var(--card-shadow);
    overflow: hidden;
    transition: transform 0.2s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
    max-width: 400px; /* Prevent cards from getting too wide */
    margin: 0 auto; /* Center cards in grid */
    width: 100%;
}

.product-card:hover {
    transform: translateY(-5px);
}

.product-image {
    width: 100%;
    height: 200px;
    object-fit: contain;
    background: var(--bg-light);
    padding: 1rem;
}

.product-info {
    padding: var(--card-padding);
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.product-category {
    font-size: 0.875rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 0.75rem;
}

.product-title {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-color);
    line-height: 1.4;
    word-break: break-word; /* Prevent text overflow */
}

.product-description {
    font-size: 0.9375rem;
    color: var(--text-muted);
    margin-bottom: 1.5rem;
    line-height: 1.6;
    flex-grow: 1;
    word-break: break-word; /* Prevent text overflow */
}

.product-link {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    background: var(--primary-color);
    color: var(--white);
    text-decoration: none;
    border-radius: 6px;
    font-weight: 500;
    transition: all 0.2s ease;
    text-align: center;
    margin-top: auto;
    width: 100%; /* Full width button */
}

.product-link:hover {
    background: var(--primary-dark);
    transform: translateY(-1px);
}

.category-section {
    margin: 0 auto 3rem;
    padding: 0 1rem;
    max-width: 1400px;
}

.category-section h2 {
    margin-bottom: 1.5rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--text-color);
    font-size: 1.5rem;
}

.category-section h2 i {
    color: var(--primary-color);
}

.disclaimer {
    background: var(--bg-light);
    padding: var(--card-padding);
    border-radius: var(--card-radius);
    margin: 2rem auto;
    font-size: 0.9375rem;
    color: var(--text-muted);
    line-height: 1.6;
    max-width: 1400px;
    margin-left: 1rem;
    margin-right: 1rem;
}

/* Responsive adjustments */
@media (max-width: 1200px) {
    .products-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }
}

@media (max-width: 768px) {
    .products-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 1rem;
    }
    
    .product-card {
        max-width: 100%;
    }
    
    .product-title {
        font-size: 1.25rem;
    }
}

@media (max-width: 480px) {
    .products-grid {
        grid-template-columns: 1fr;
    }
    
    .category-section h2 {
        font-size: 1.25rem;
    }
}
