/* ─── MAIN LAYOUT ────────────────────────────────────── */
.main-layout {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 28px;
  padding: 40px 24px 60px;
  align-items: start;
  width: 100%;
  box-sizing: border-box;
}
/* ─── SIDEBAR ────────────────────────────────────────── */
.sidebar {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  position: sticky;
  top: 84px;
}
.sidebar-mobile-header {
  display: none;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border);
}

.sidebar-close {
  background: transparent;
  border: none;
  font-size: 1.2rem;
  cursor: pointer;
  color: var(--dark);
  padding: 4px 8px;
  font-weight: 600;
}

.sidebar-close:hover {
  color: var(--gold);
}

.sidebar-title {
  font-family: var(--font-disp);
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--border);
}

.filter-section { margin-bottom: 24px; }

.filter-section h4 {
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  color: var(--soft);
  margin-bottom: 12px;
}

.filter-option {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 7px 0;
  cursor: pointer;
}

.filter-option input[type="checkbox"] {
  width: 16px;
  height: 16px;
  accent-color: var(--gold);
  cursor: pointer;
  flex-shrink: 0;
}

.filter-option span {
  font-size: 0.9rem;
  color: var(--dark);
  cursor: pointer;
  flex: 1;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.filter-option span .count {
  color: var(--mid);
  font-size: 0.78rem;
  background: rgba(184, 150, 46, 0.12);
  padding: 3px 8px;
  border-radius: 999px;
  min-width: 24px;
  text-align: center;
  font-weight: 600;
}

.filter-option:hover span { color: var(--gold); }

.price-range { margin-top: 4px; }

.price-inputs {
  display: flex;
  gap: 8px;
  margin-bottom: 12px;
}

.price-inputs input {
  flex: 1;
  padding: 8px 10px;
  border: 1px solid var(--border);
  border-radius: 6px;
  font-size: 0.75rem;
  font-family: inherit;
  color: var(--dark);
  outline: none;
  min-width: 0;
  width: 100%;
}

.price-inputs input:focus { border-color: var(--gold); }

.price-slider {
  -webkit-appearance: none;
  width: 100%;
  height: 4px;
  background: linear-gradient(to right, var(--gold) 0%, var(--gold) 60%, var(--border) 60%);
  border-radius: 4px;
  outline: none;
}

.price-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 18px;
  height: 18px;
  background: var(--gold);
  border-radius: 50%;
  cursor: pointer;
  border: 2px solid var(--white);
  box-shadow: 0 1px 6px rgba(0, 0, 0, 0.2);
}

.clear-filters {
  width: 100%;
  padding: 9px;
  background: transparent;
  border: 1px solid var(--border);
  border-radius: 7px;
  font-size: 0.84rem;
  color: var(--mid);
  font-weight: 500;
  transition: all 0.15s;
  margin-top: 8px;
}

.clear-filters:hover {
  border-color: var(--black);
  color: var(--black);
}

.divider { height: 1px; background: var(--border); margin: 16px 0; }

.main-layout {
  padding: 0 24px 64px;
}
.sidebar {
  border-color: rgba(232, 224, 204, 0.7);
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.05);
}

.sidebar-title {
  color: var(--black);
}

.filter-option {
  gap: 12px;
}

.filter-option span {
  display: inline-flex;
  justify-content: space-between;
  width: 100%;
  color: var(--dark);
}

.price-slider {
  background: linear-gradient(90deg, var(--gold) 0%, var(--gold) 45%, #e8e8e8 45%, #e8e8e8 100%);
}
