.filter-sidebar { transition: transform 0.4s ease; }
@media (max-width: 992px) {
  .filter-sidebar {
    position: fixed;
    left: 0;
    top: 0;
    height: 100vh;
    width: 300px;
    z-index: 350;
    border-radius: 0;
    transform: translateX(-100%);
    overflow-y: auto;
  }
  .filter-sidebar.open { transform: translateX(0); }
}
.sort-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 0;
  border-bottom: 1px solid var(--border);
  margin-bottom: 1.5rem;
}
.sort-select {
  background: #ffffff;
  border: 1px solid rgba(0,0,0,0.09);
  color: #1e1a14;
  padding: 0.5rem 1rem;
  border-radius: var(--radius-sm);
  font-family: var(--font-sans);
  font-size: 0.8rem;
  cursor: pointer;
  outline: none;
}
.sort-select option { background: #f0ece4; }
.sort-select:focus { border-color: var(--gold); }

.products-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
@media (max-width: 1200px) { .products-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 576px) { .products-grid { grid-template-columns: 1fr; } }

/* Pagination */
.pagination { display: flex; gap: 0.5rem; justify-content: center; margin-top: 3rem; }
.page-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(0,0,0,0.09);
  background: none;
  color: #6a5a40;
  cursor: pointer;
  font-size: 0.85rem;
  transition: all var(--transition);
  font-family: var(--font-sans);
  display: flex;
  align-items: center;
  justify-content: center;
}
.page-btn:hover, .page-btn.active {
  border-color: var(--gold);
  color: var(--gold);
  background: var(--gold-muted);
}
.page-btn.active { background: var(--gold); color: var(--black); border-color: var(--gold); }

/* Active filters */
.active-filters { display: flex; gap: 0.5rem; flex-wrap: wrap; margin-bottom: 1rem; }
.filter-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.3rem 0.8rem;
  background: var(--gold-muted);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-pill);
  font-size: 0.72rem;
  color: var(--gold);
  cursor: pointer;
}
.filter-chip:hover { background: rgba(196,160,80,0.3); }


.collection-section{
  padding:3rem 0;
}

.collection-layout{
  display:grid;
  grid-template-columns:280px minmax(0,1fr);
  gap:2.5rem;
  align-items:start;
}

/* Sidebar */

.collection-sidebar-fixed{
  position:sticky;
  top:100px;
  height:calc(100vh - 80px);
  overflow:hidden;
}

.collection-sidebar-inner{
  height:100%;
  overflow-y:auto;
  overflow-x:hidden;
  padding-right:0px;
}

/* Scrollbar */

.collection-sidebar-inner::-webkit-scrollbar{
  width:0px;
}

.collection-sidebar-inner::-webkit-scrollbar-thumb{
  background:#c5a46d;
  border-radius:20px;
}

/* Products */

.collection-products-area{
  min-width:0;
}

.products-grid{
  display:grid;
  grid-template-columns:repeat(auto-fill,minmax(250px,1fr));
  gap:24px;
}

/* Animation */

.stagger-children > *{
  opacity:1;
  transform:translateY(0);
}

/* Mobile */

@media(max-width:991px){

  .collection-layout{
    grid-template-columns:1fr;
  }

  .collection-sidebar-fixed{
    position:relative;
    top:unset;
    height:auto;
  }

  .collection-sidebar-inner{
    height:auto;
    overflow:visible;
    padding-right:0;
  }

}