/* ============================================================
   ARCHIGOS - Products Page Styles
   ============================================================ */
/* Fix alignment - products section matches other pages */
.products-section .filter-sidebar {
    margin-top: 0;
}

@media (min-width: 992px) {
    .products-section > .container > .row {
        margin-left: -12px;
        margin-right: -12px;
    }
}

.products-section { padding: 40px 0 80px; }

/* Filter Sidebar */
.filter-sidebar {
    background: white;
    border-radius: 14px;
    border: 1px solid #eef1f5;
    padding: 25px;
    position: sticky;
    top: 100px;
}
.filter-sidebar h4 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 8px;
}
.filter-sidebar h4 i { color: var(--accent); }
.filter-group {
    margin-bottom: 22px;
    padding-bottom: 22px;
    border-bottom: 1px solid #eef1f5;
}
.filter-group:last-child { border-bottom: none; margin-bottom: 0; padding-bottom: 0; }
.filter-group label {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 8px;
    display: block;
}
.filter-search { position: relative; }
.filter-search input {
    width: 100%;
    padding: 10px 14px 10px 38px;
    border: 1.5px solid #dce1e6;
    border-radius: 8px;
    font-size: 0.9rem;
    transition: border-color 0.3s;
    outline: none;
}
.filter-search input:focus { border-color: var(--accent); }
.filter-search i {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--gray);
    font-size: 0.85rem;
}
.filter-select {
    width: 100%;
    padding: 10px 14px;
    border: 1.5px solid #dce1e6;
    border-radius: 8px;
    font-size: 0.9rem;
    color: #333;
    background: white;
    cursor: pointer;
    outline: none;
    transition: border-color 0.3s;
}
.filter-select:focus { border-color: var(--accent); }

/* Pet Type Buttons */
.pet-type-btns { display: flex; gap: 8px; }
.pet-type-btn {
    flex: 1;
    padding: 10px;
    border: 1.5px solid #dce1e6;
    border-radius: 8px;
    background: white;
    text-align: center;
    cursor: pointer;
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--gray);
    transition: all 0.3s;
}
.pet-type-btn:hover { border-color: var(--accent); color: var(--accent); }
.pet-type-btn.active {
    background: var(--accent);
    border-color: var(--accent);
    color: white;
}
.pet-type-btn i { display: block; font-size: 1.2rem; margin-bottom: 4px; }

/* Clear Filters */
.btn-clear-filters {
    width: 100%;
    padding: 10px;
    background: var(--light);
    border: 1.5px solid #dce1e6;
    border-radius: 8px;
    color: var(--gray);
    font-weight: 600;
    font-size: 0.85rem;
    cursor: pointer;
    transition: all 0.3s;
}
.btn-clear-filters:hover {
    background: #fee2e2;
    border-color: #fca5a5;
    color: #dc2626;
}

/* Mobile Filter Toggle */
.filter-toggle-mobile {
    display: none;
    width: 100%;
    padding: 12px;
    background: var(--primary);
    color: white;
    border: none;
    border-radius: 10px;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    margin-bottom: 20px;
}
@media (max-width: 991px) {
    .filter-toggle-mobile { display: block; }
    .filter-sidebar { display: none; position: static; }
    .filter-sidebar.show { display: block; margin-bottom: 20px; }
}

/* Products Top Bar */
.products-topbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
    flex-wrap: wrap;
    gap: 10px;
}
.products-count { font-size: 0.92rem; color: var(--gray); }
.products-count strong { color: var(--primary); }
.products-sort select {
    padding: 8px 14px;
    border: 1.5px solid #dce1e6;
    border-radius: 8px;
    font-size: 0.85rem;
    color: #333;
    background: white;
    cursor: pointer;
    outline: none;
}
.products-sort select:focus { border-color: var(--accent); }

/* Products Grid */
.products-grid { min-height: 400px; }
.no-products {
    text-align: center;
    padding: 60px 20px;
    color: var(--gray);
}
.no-products i {
    font-size: 3rem;
    color: #dce1e6;
    margin-bottom: 15px;
}
.no-products h5 { color: var(--primary); font-weight: 700; }

/* Product Card Link */
.product-card-link {
    text-decoration: none;
    color: inherit;
    display: block;
    height: 100%;
}
.product-card-link:hover { color: inherit; }

/* Pagination */
.pagination-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 5px;
    margin-top: 40px;
    flex-wrap: wrap;
}
.page-btn {
    min-width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1.5px solid #dce1e6;
    border-radius: 8px;
    background: white;
    color: var(--primary);
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s;
    text-decoration: none;
    padding: 0 12px;
}
.page-btn:hover { border-color: var(--accent); color: var(--accent); }
.page-btn.active {
    background: var(--accent);
    border-color: var(--accent);
    color: white;
}
.page-btn.disabled {
    opacity: 0.4;
    cursor: default;
    pointer-events: none;
}
