/* === Search & Filter === */
.search-bar, .filters-container { background: #f9fbfd; padding: 20px 0; border-bottom: 1px solid #eef2f8; }
.search-wrapper { display: flex; justify-content: center; gap: 12px; max-width: 560px; margin: 0 auto; }
.search-input-wrapper { position: relative; flex: 1; display: flex; align-items: center; }
.search-input-wrapper input { width: 100%; padding: 12px 40px 12px 20px; border: 1px solid #cfdfed; border-radius: 40px; font-size: 14px; outline: none; }
.search-clear-btn { position: absolute; right: 12px; top: 50%; transform: translateY(-50%); background: #e2e8f0; border: none; width: 22px; height: 22px; border-radius: 50%; display: flex; align-items: center; justify-content: center; cursor: pointer; color: #64748b; font-size: 10px; padding: 0; }
.search-wrapper button { background: #1a5f9e; border: none; border-radius: 40px; padding: 0 28px; color: white; font-weight: 600; cursor: pointer; font-size: 14px; white-space: nowrap; }
.filter-row { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; margin-bottom: 16px; }
.filter-row:last-child { margin-bottom: 0; }
.filter-label { font-weight: 700; min-width: 100px; font-size: 0.95rem; }
.filter-buttons { display: flex; flex-wrap: wrap; gap: 10px; flex: 1; }
.filter-btn { display: inline-flex; align-items: center; gap: 6px; background: #eef2f8; border: none; padding: 6px 18px; border-radius: 40px; font-size: 13px; font-weight: 500; text-decoration: none; color: #1e2a3e; }
.filter-btn.active { background: #1a5f9e; color: white; }

/* === Products page === */
.products-section { padding: 20px 0 16px; }
.product-meta { font-size: 0.85rem; color: #5b7a9a; margin-top: 4px; }

/* Products page grid uses tighter gap */
.product-grid { gap: 20px; margin-top: 16px; }

/* === Pagination === */
.pagination-wrapper { margin-top: 24px; display: flex; flex-direction: column; align-items: center; text-align: center; }
.pagination-info { background: #f8fafc; padding: 8px 20px; border-radius: 40px; color: #1e2a3e; font-size: 0.9rem; font-weight: 500; margin-bottom: 16px; display: inline-flex; align-items: center; gap: 8px; }
.pagination { display: flex; justify-content: center; align-items: center; gap: 8px; flex-wrap: wrap; }
.page-btn { background: white; border: 1px solid #e2e8f0; padding: 8px 16px; border-radius: 40px; font-weight: 500; font-size: 14px; text-decoration: none; color: #1e2a3e; }
.page-btn.active { background: #1a5f9e; color: white; border-color: #1a5f9e; }

/* === Responsive - products-specific === */
@media (max-width: 768px) {
    .filter-row { flex-direction: column; align-items: flex-start; gap: 10px; }
    .filter-buttons { width: 100%; }
    .search-wrapper { margin: 0 16px; }
}
@media (max-width: 480px) {
    .product-info h3 { font-size: 0.85rem; }
}
