/* Product listing page styles */
.product-layout {
    display: grid;
    grid-template-columns: 260px 1fr;
    gap: 1.5rem;
    align-items: start;
}
.filter-sidebar {
    background: #111;
    border: 1px solid #222;
    border-radius: 16px;
    padding: 1.25rem;
    position: sticky;
    top: 100px;
}
.filter-sidebar h5 {
    color: var(--text-primary);
    font-size: 0.95rem;
    margin-bottom: 0.85rem;
}
.filter-group {
    margin-bottom: 1.25rem;
}
.filter-check {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    margin-bottom: 0.65rem;
    color: var(--text-secondary);
}
.filter-check input {
    accent-color: var(--primary);
}
.brand-toggle-btn {
    border-radius: 10px;
}
.brand-checkbox-section {
    background: #111;
    border: 1px solid #2b2b2b;
    border-radius: 10px;
    padding: 0.6rem 0.75rem;
    max-height: 260px;
    overflow-y: auto;
}
.brand-checkbox-section.is-hidden {
    display: none;
}
.brand-checkbox-section .filter-check {
    margin-bottom: 0.5rem;
}
.product-topbar {
    display: flex;
    gap: 1rem;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.25rem;
    flex-wrap: wrap;
}
.search-input-wide {
    flex: 1;
    min-width: 220px;
    background: #111;
    border: 1px solid #222;
    border-radius: 12px;
    color: var(--text-primary);
    padding: 0.85rem 1rem;
}
.search-input-wide:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(255, 115, 21, 0.1);
}
.result-count {
    color: var(--text-muted);
    font-size: 0.85rem;
}
.stock-note {
    color: var(--text-muted);
    font-size: 0.8rem;
}
.product-item .product-card {
    min-height: 100%;
}
.product-card .card-body {
    padding-bottom: 1rem;
}
@media (max-width: 991.98px) {
    .product-layout {
        grid-template-columns: 1fr;
    }
    .filter-sidebar {
        position: static;
    }
}

/* Cover image on product cards */
.product-cover-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: inherit;
}

/* Clear filters button (sidebar) */
.filter-clear-btn {
    border-radius: 8px;
    font-size: 0.8rem;
}

/* Empty state when no products match */
.product-empty-state {
    background: rgba(255, 255, 255, 0.03);
    border-radius: 16px;
    border: 1px dashed rgba(255, 255, 255, 0.08);
}

.product-empty-state__icon {
    font-size: 2rem;
    opacity: 0.4;
    margin-bottom: 0.75rem;
    display: block;
}

.product-empty-state__link {
    display: block;
    margin-top: 0.5rem;
    font-size: 0.85rem;
}

.pagination .page-link {
    background: #111;
    border-color: #2b2b2b;
    color: var(--text-secondary);
}

.pagination .page-item.active .page-link {
    background: var(--primary);
    border-color: var(--primary);
    color: #fff;
}

.pagination .page-item.disabled .page-link {
    background: #0d0d0d;
    color: #666;
}
