.cat-title {
  font-size: 28px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: -.3px;
  color: #111;
  margin: 18px var(--gutter) 12px;
}

.filterbar {
  position: sticky;
  top: var(--header-h);
  z-index: 60;
  background: var(--white);
  padding: 8px var(--gutter) 10px;
}

.filter-btn {
  width: 100%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  background: #b6b6b6;
  color: #fff;
  font-size: 16px;
  font-weight: 600;
  padding: 14px;
  border-radius: 999px;
}
.filter-btn .icon { width: 17px; height: 17px; }

.cat-controls {
  display: flex;
  gap: 12px;
  padding: 4px var(--gutter) 10px;
}
.cat-field { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 6px; }
.cat-field label { font-size: 14px; font-weight: 600; color: var(--ink); }
.cat-select {
  appearance: none;
  -webkit-appearance: none;
  width: 100%;
  border: none;
  border-radius: 8px;
  padding: 11px 36px 11px 14px;
  font-size: 14px;
  color: #333;
  background: #ededed url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%23666' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E") no-repeat right 12px center;
}

.product-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  padding: 8px var(--gutter) 18px;
}

.pagination {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 8px 12px;
  padding: 8px var(--gutter) 22px;
}
.pagination a {
  min-width: 30px;
  height: 30px;
  padding: 0 4px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  color: #333;
  border-radius: 50%;
}
.pagination a.active { background: #111; color: #fff; font-weight: 700; }

.filter-drawer {
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  z-index: 90;
  width: 86%;
  max-width: 340px;
  background: #fff;
  box-shadow: 6px 0 26px rgba(0, 0, 0, .28);
  padding: 16px 18px calc(20px + env(safe-area-inset-bottom));
  overflow-y: auto;
  transform: translateX(-100%);
  visibility: hidden;
  transition: transform .26s ease, visibility .26s ease;
}
.filter-drawer.open { transform: translateX(0); visibility: visible; }

.filter-close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 36px;
  height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #333;
}
.filter-close .icon { width: 20px; height: 20px; }

.filter-drawer .acc-toggle { font-size: 22px; font-weight: 800; padding: 12px 4px; text-transform: none; letter-spacing: 0; }
.filter-drawer .acc-toggle .chev { width: 20px; height: 20px; }

.filter-list { display: flex; flex-direction: column; padding: 6px 2px 4px; }
.filter-list label {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 10px 2px;
  font-size: 15px;
  color: #333;
  cursor: pointer;
}
.filter-list input[type="checkbox"] { width: 18px; height: 18px; flex: none; accent-color: var(--green); }
.fcount {
  background: #ececec;
  color: #888;
  font-size: 11px;
  font-weight: 600;
  border-radius: 10px;
  padding: 1px 8px;
}
