/* ========================================
   PRODUCTS PAGE STYLES
   Styles specific to products.html
   ======================================== */

/* Products Section */
.products-section {
    padding: 20px 0 60px 0;
    background: #f5f5fa;
}

.products-controls {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    flex-wrap: wrap;
    gap: 12px;
    background: white;
    padding: 16px;
    border-radius: 4px;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.products-search {
    flex: 1;
    max-width: 400px;
    position: relative;
}

.products-search input {
    width: 100%;
    padding: 12px 45px 12px 16px;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    font-size: 14px;
}

.products-search button {
    position: absolute;
    right: 5px;
    top: 50%;
    transform: translateY(-50%);
    background: #0077BE;
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 6px;
    cursor: pointer;
}

.products-filters {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.filter-select {
    padding: 12px 16px;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    font-size: 14px;
    background: white;
    cursor: pointer;
}

.view-toggle {
    display: flex;
    gap: 8px;
}

.view-btn {
    width: 40px;
    height: 40px;
    border: 2px solid #e5e7eb;
    background: white;
    border-radius: 8px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
}

.view-btn.active,
.view-btn:hover {
    background: #0077BE;
    color: white;
    border-color: #0077BE;
}

/* Products Grid */
.products-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

/* Responsive Products Page */
@media (max-width: 1400px) {
    .products-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (max-width: 1200px) {
    .products-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 992px) {
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .products-grid {
        grid-template-columns: repeat(1, 1fr);
    }
}
        gap: 24px;
    }
    
    .product-image {
        height: 260px;
    }
}

@media (max-width: 900px) {
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    
    .product-image {
        height: 240px;
    }
}

@media (max-width: 768px) {
    .products-controls {
        flex-direction: column;
        align-items: stretch;
    }
    
    .products-search {
        max-width: 100%;
    }
    
    .products-filters {
        flex-direction: column;
    }
    
    .filter-select {
        width: 100%;
    }
    
    .products-grid {
        gap: 16px;
    }
    
    .product-card {
        border-radius: 14px;
    }
    
    .product-image {
        height: 220px;
    }
    
    .product-info {
        padding: 16px;
    }
    
    .product-title {
        font-size: 15px;
        min-height: auto;
    }
    
    .current-price {
        font-size: 20px;
    }
}

@media (max-width: 480px) {
    .products-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    
    .product-image {
        height: 280px;
    }
    
    .product-card {
        border-radius: 12px;
    }
    
    .product-actions {
        grid-template-columns: 1fr;
    }
}
