/* Al Rawnaq design — shop / search filter sidebar (Figma "Shop body" > Filters) */
@media (min-width: 992px) {
  .pf-sidebar { gap: 16px; }
  .pf-sidebar .pf-panel { background: transparent; border: 0; border-radius: 0; padding: 0; max-height: none; overflow: visible; gap: 16px; }
  .pf-sidebar .pf-panel__body { overflow: visible; }
}

/* heading: "Filters" 16/24 semibold, with the sliders icon (added in figma-extras) */
.pf-sidebar .cx-filters__head { margin: 0 0 16px; padding: 0; display: flex; align-items: center; justify-content: space-between; }
.pf-sidebar .cx-filters__title { display: inline-flex; align-items: center; gap: 8px; padding: 0; margin: 0; font-size: 16px; line-height: 24px; font-weight: 600; text-transform: none; letter-spacing: 0; color: var(--navy); }
.cx-filters__clear { font-size: 14px; line-height: 22px; color: var(--waterloo); text-decoration: none; font-weight: 400; }
.cx-filters__clear:hover { color: var(--navy); text-decoration: underline; }

/* each facet = offwhite rounded card */
.cx-filters__group { background: var(--offwhite); border: 0; border-radius: 20px; padding: 18px 20px; margin: 0 0 16px; }
.cx-filters__group > summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; font-size: 14px; line-height: 22px; font-weight: 500; color: var(--navy); padding: 0; text-transform: none; letter-spacing: 0; }
.cx-filters__group > summary::-webkit-details-marker { display: none; }
.cx-filters__chevron { color: var(--waterloo); }
.cx-filters__values { list-style: none; margin: 14px 0 0; padding: 0; display: flex; flex-direction: column; gap: 12px; max-height: 260px; overflow-y: auto; }
.cx-filters__value { display: flex; align-items: center; gap: 10px; cursor: pointer; font-size: 14px; line-height: 20px; color: var(--navy); }
.cx-filters__value-label { flex: 1 1 auto; min-width: 0; font-size: 14px; line-height: 20px; font-weight: 400; color: var(--navy); }
.cx-filters__value-count { margin-inline-start: auto; font-size: 13px; font-weight: 400; color: var(--waterloo); background: transparent; padding: 0; }

/* navy rounded checkboxes */
.cx-filters input[type="checkbox"], .cx-filters input[type="radio"] {
  appearance: none; -webkit-appearance: none; flex: 0 0 18px; width: 18px; height: 18px; margin: 0;
  border: 1.5px solid var(--line); border-radius: 5px; background: #fff; display: grid; place-content: center; cursor: pointer;
}
.cx-filters input[type="radio"] { border-radius: 999px; }
.cx-filters input[type="checkbox"]:checked, .cx-filters input[type="radio"]:checked { background: var(--navy); border-color: var(--navy); }
.cx-filters input[type="checkbox"]:checked::after { content: ""; width: 9px; height: 5px; border-left: 2px solid #fff; border-bottom: 2px solid #fff; transform: translateY(-1px) rotate(-45deg); }
.cx-filters input[type="radio"]:checked::after { content: ""; width: 6px; height: 6px; border-radius: 999px; background: #fff; }

/* price: yellow track + BHD boxes */
.cx-filters__price { display: flex; align-items: center; gap: 8px; margin-top: 14px; position: relative; }
.cx-filters__price::before { content: ""; position: absolute; inset-inline: 0; top: -10px; height: 4px; border-radius: 4px; background: linear-gradient(90deg, var(--yellow) 0 70%, var(--line) 70% 100%); }
.cx-filters__price input[type="number"] { flex: 1 1 0; min-width: 0; height: 40px; border: 1px solid var(--line); border-radius: 12px; background: #fff; text-align: center; font: 400 14px/22px var(--font-body); color: var(--navy); padding: 0 8px; }
.cx-filters__price-sep { display: none; }

/* apply button + active chips */
.cx-filters__submit { width: 100%; border: 0; border-radius: 999px; background: var(--navy); color: #fff; padding: 14px 24px; font: 600 14px/20px var(--font-body); cursor: pointer; }
.cx-filters__chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }
.cx-filters__chip { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 999px; background: var(--yellowtint); color: var(--navy); font-size: 14px; line-height: 20px; text-decoration: none; border: 0; }

.pf-sidebar .cx-filters__group { padding: 18px 20px !important; }
.pf-sidebar .cx-filters__price { margin-top: 20px; }
.pf-sidebar .cx-filters__price::before { top: -12px; }
