/* Frontend styles for WooCommerce Product Categorizer */
.wcpc-products-grid {
    max-width: 1200px;
    margin: 0 auto;
}

.wcpc-product-item {
    background: #ffffff;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.wcpc-product-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 15px rgba(0,0,0,0.15);
}

.wcpc-product-image {
    padding: 20px;
    text-align: center;
    background: #f8f9fa;
    min-height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.wcpc-product-image img {
    max-height: 200px;
    width: auto;
    object-fit: contain;
}

.wcpc-product-info {
    padding: 20px;
}

.wcpc-product-info h3 {
    margin: 0 0 10px 0;
    font-size: 18px;
    color: #1d2327;
}

.wcpc-product-price {
    font-size: 20px;
    font-weight: bold;
    color: #2271b1;
    margin: 15px 0;
}

.wcpc-product-info .button {
    width: 100%;
    padding: 12px;
    background: #2271b1;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
    transition: background 0.3s ease;
    text-align: center;
}

.wcpc-product-info .button:hover {
    background: #135e96;
}

.wcpc-no-products {
    text-align: center;
    padding: 40px 20px;
    background: #f8f9fa;
    border-radius: 8px;
    color: #666;
}

@media (max-width: 768px) {
    .wcpc-products-grid {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
        gap: 20px;
        padding: 15px;
    }
}

@media (max-width: 480px) {
    .wcpc-products-grid {
        grid-template-columns: 1fr;
        gap: 15px;
        padding: 10px;
    }
}

