/* ============================================================
   PRODUCTS.CSS - Products Page Styles
   ============================================================
   Page-specific styles for products.html
   
   Main stylesheet: style.css
   Contains styles for product listings, product cards,
   product selector dropdown, and product detail display.
   ============================================================ */

/* Product selector dropdown */
.product-selector {
    background: white;
    padding: 20px;
    border-radius: 8px;
    border: 1px solid #e0e0e0;
    margin-bottom: 30px;
}

.product-selector label {
    display: block;
    font-weight: 700;
    color: #333;
    margin-bottom: 10px;
    font-size: 16px;
}

.product-selector select {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 16px;
    color: #28a745;
    font-weight: 600;
}

.product-selector select:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(40, 167, 69, 0.1);
}

/* Product boxes/cards */
.product-box {
    background: white;
    border: 1px solid #f0f0f0;
    border-radius: 8px;
    padding: 25px;
    text-align: center;
    transition: all 0.3s ease;
    height: 100%;
}

.product-box:hover {
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    border-color: var(--primary);
}

.product-box-icon {
    font-size: 56px;
    color: var(--primary);
    margin-bottom: 15px;
}

.product-box h4 {
    color: #333;
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 12px;
}

.product-box p {
    font-size: 15px;
    color: #666;
    line-height: 1.6;
    margin-bottom: 15px;
}

.product-box .site-btn {
    padding: 10px 25px;
    font-size: 14px;
}

/* Product grid layout */
.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    margin-top: 30px;
}

@media (max-width: 768px) {
    .product-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: 15px;
    }
}
