/* cf-sheet css v14 — footer border + full viewport height */
:root {
  --cf-bg: #ffffff;
  --cf-bg-muted: #f5f7fa;
  --cf-overlay: rgba(0, 0, 0, 0.5);
  --cf-border: #a9bcdb;
  --cf-border-light: #e8eef7;
  --cf-accent: #5d80bc;
  --cf-primary: #5479b8;
  --cf-link: #006da0;
  --cf-accent-hover: #4a6a9e;
  --cf-page-bg: #f3f6fb;
  --cf-nav-active-bg: #eef3fa;
  --cf-nav-active-border: #5d80bc;
  --cf-text: #1a1a1a;
  --cf-text-muted: #6b7280;
  --cf-radius-modal: 18px;
  --cf-radius-card: 10px;
  --cf-radius-input: 10px;
  --cf-radius-chip: 8px;
  --cf-radius-btn: 10px;
  --cf-modal-width: 65vw;
  --cf-modal-drawer-width: 65vw;
  --cf-modal-drawer-min: 0;
  --cf-modal-drawer-max: 65vw;
  --cf-modal-max-height: 88vh;
  --cf-nav-width: 352px;
  --cf-nav-weight: 600;
  --cf-nav-item-padding-y: 12px;
  --cf-nav-item-padding-x: 16px;
  --cf-nav-inset-right: 12px;
  --cf-nav-item-gap: 20px;
  --cf-nav-block-bg: #ffffff;
  --cf-nav-divider: var(--cf-border-light);
  --cf-nav-item-divider: rgba(0, 0, 0, 0.06);
  --cf-chip-modal-bg: #eceff3;
  --cf-chip-modal-border: #d0d5df;
  --cf-header-padding: 24px 24px 0;
  --cf-drawer-inset-top: 60px;
  --cf-drawer-inset-x: 70px;
  --cf-panel-scroll-inset-left: 60px;
  --cf-panel-scroll-inset-right: 32px;
  --cf-scrollbar-size: 6px;
  --cf-scrollbar-thumb: rgba(93, 128, 188, 0.38);
  --cf-scrollbar-thumb-hover: rgba(93, 128, 188, 0.62);
  --cf-scrollbar-track: transparent;
  --cf-footer-padding: 16px 24px;
  --cf-chips-gap: 8px;
  --cf-title-size: 22px;
  --cf-title-weight: 700;
  --cf-nav-size: 15px;
  --cf-panel-title-size: 18px;
  --cf-body-size: 14px;
  --cf-value-card-row-height: 60px;
  --cf-value-grid-gap: 12px;
  --cf-value-scroll-visible-rows: 5;
  --cf-value-scroll-max-height: calc(
    var(--cf-value-scroll-visible-rows) * var(--cf-value-card-row-height) +
    (var(--cf-value-scroll-visible-rows) - 1) * var(--cf-value-grid-gap)
  );
  --cf-shadow-modal: 0 8px 32px rgba(0, 0, 0, 0.12);
  --cf-transition-fast: 150ms ease-out;
  --cf-transition-sheet: 300ms ease;
}

@media (min-width: 1921px) {
  :root {
    --cf-modal-width: 60vw;
    --cf-modal-drawer-width: 60vw;
    --cf-modal-drawer-max: 60vw;
    --cf-drawer-inset-x: 80px;
    --cf-drawer-inset-top: 64px;
  }
}

@media (max-width: 1680px) {
  :root {
    --cf-modal-width: 70vw;
    --cf-modal-drawer-width: 70vw;
    --cf-modal-drawer-max: 70vw;
    --cf-drawer-inset-x: 52px;
    --cf-drawer-inset-top: 52px;
  }
}

@media (max-width: 1440px) {
  :root {
    --cf-modal-width: 76vw;
    --cf-modal-drawer-width: 76vw;
    --cf-modal-drawer-max: 76vw;
    --cf-drawer-inset-x: 36px;
    --cf-drawer-inset-top: 44px;
  }
}

@media (max-width: 1280px) {
  :root {
    --cf-modal-width: 82vw;
    --cf-modal-drawer-width: 82vw;
    --cf-modal-drawer-max: 82vw;
    --cf-drawer-inset-x: 24px;
    --cf-drawer-inset-top: 36px;
    --cf-nav-width: 300px;
    --cf-panel-scroll-inset-left: 40px;
    --cf-panel-scroll-inset-right: 28px;
  }
}

@media (max-width: 1100px) {
  :root {
    --cf-modal-width: 90vw;
    --cf-modal-drawer-width: 90vw;
    --cf-modal-drawer-max: 90vw;
    --cf-drawer-inset-x: 12px;
    --cf-drawer-inset-top: 20px;
    --cf-nav-width: 260px;
    --cf-panel-scroll-inset-left: 28px;
    --cf-panel-scroll-inset-right: 24px;
  }
}

@media (max-width: 900px) {
  :root {
    --cf-drawer-inset-x: 0;
    --cf-drawer-inset-top: 0;
    --cf-nav-width: 100%;
    --cf-panel-scroll-inset-left: 20px;
    --cf-panel-scroll-inset-right: 24px;
    --cf-modal-drawer-max: 96vw;
    --cf-modal-width: 96vw;
  }
}

.bx-filter--vue:not(.bx-filter--vue-failed) .bx-filter-title,
.bx-filter--vue:not(.bx-filter--vue-failed) .bx-filter-parameters-box,
.bx-filter--vue:not(.bx-filter--vue-failed) .btnAllFilter,
.bx-filter--vue:not(.bx-filter--vue-failed) .allFilter,
.bx-filter--vue:not(.bx-filter--vue-failed) .bx-filter-mobile-overlay,
.bx-filter--vue:not(.bx-filter--vue-failed) .bx-filter-mobile-footer,
.bx-filter--vue:not(.bx-filter--vue-failed) .bx-filter-mobile-header,
.bx-filter--vue:not(.bx-filter--vue-failed) .bx-filter-mobile-panel {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

@media (max-width: 900px) {
  .bx-filter--vue .bx-filter-section,
  .bx-filter--vue > .bx-filter-mobile-overlay,
  .bx-filter--vue > .bx-filter-mobile-panel {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
  }
}

.catalog-filter-vue-root {
  color: #000;
}

.cf-shell {
  width: 100%;
}

/* Sidebar — Figma Frame 492 (8069:6640 / 8208:4302) */
:root {
  --cf-sidebar-width: 384px;
  --cf-sidebar-card-pad-y: 20px;
  --cf-sidebar-card-pad-x: 15px;
  --cf-sidebar-inner-width: 346px;
  --cf-numeric-block-max-width: 384px;
  --cf-input-bg: #e4e9f0;
  --cf-input-border: rgba(84, 121, 184, 0.2);
  --cf-checkbox-border: #5479b8;
  --cf-divider: rgba(0, 0, 0, 0.1);
}

/* Frame 619: 384 + 32 + 1358 = 1774 — layout в catalog-center-layout.css */

.catalog__filter--vue {
  padding: 0 !important;
  background: transparent !important;
  border-radius: 0 !important;
}

.bx-filter.bx-filter--vue {
  width: 100%;
  max-width: var(--cf-sidebar-width);
}

.bx-filter--vue:not(.bx-filter--vue-ready) .catalog-filter-vue-root {
  min-height: 620px;
}

@media (max-width: 900px) {
  .bx-filter--vue:not(.bx-filter--vue-ready) .catalog-filter-vue-root {
    min-height: 0;
  }
}

.catalog__filter-chips {
  overflow: visible;
  min-width: 0;
  width: 100%;
}

.catalog__filter-chips--loading {
  min-height: 76px;
}

.catalog-filter-vue-root .cf-sidebar,
.catalog-filter-vue-root .cf-sidebar * {
  box-sizing: border-box;
}

.cf-sidebar {
  display: flex;
  flex-direction: column;
  gap: 19px;
  width: 100%;
  max-width: var(--cf-sidebar-width);
}

.cf-sidebar__card {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 20px;
  background: var(--cf-bg);
  border: 1px solid #d0d5df;
  border-radius: 20px;
  padding: var(--cf-sidebar-card-pad-y) var(--cf-sidebar-card-pad-x);
  overflow: visible;
}

.cf-sidebar__card:has(.cf-modef--side) {
  overflow: visible;
}

.cf-sidebar__inner {
  display: flex;
  flex-direction: column;
  gap: 0;
  width: 100%;
  max-width: var(--cf-sidebar-inner-width);
  overflow: visible;
}

.cf-sidebar__divider {
  height: 1px;
  margin: 15px 0;
  border: none;
  background: var(--cf-divider);
}

/* Size block — Frame 433 */
.cf-size-block {
  display: flex;
  flex-direction: column;
  gap: 19px;
  width: 100%;
  max-width: var(--cf-numeric-block-max-width);
  margin-bottom: 15px;
}

.cf-size-block__title {
  margin: 0;
  font-size: 15px;
  font-weight: 600;
  line-height: 20px;
  color: #000;
}

.cf-size-block__columns {
  display: flex;
  align-items: stretch;
  gap: 5px;
  padding-left: 4px;
  width: 100%;
}

.cf-size-block__divider {
  flex: 0 0 1px;
  align-self: stretch;
  width: 1px;
  background: rgba(0, 0, 0, 0.05);
}

.cf-size-block__col {
  flex: 1 1 106px;
  max-width: 106px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 10px 8px;
  border-radius: 7px;
  background: #fff;
}

.cf-size-block__head {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  width: 100%;
}

.cf-size-block__icon {
  display: block;
  width: 20px;
  height: 20px;
  object-fit: contain;
}

.cf-size-block__label {
  display: block;
  width: 100%;
  padding: 0;
  font-size: 14px;
  font-weight: 400;
  line-height: 17px;
  color: rgba(0, 0, 0, 0.5);
  text-align: center;
  box-sizing: border-box;
}

.cf-size-block__input-box {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  width: 90px;
  height: 37px;
  padding: 10px;
  border: 1px solid var(--cf-input-border);
  border-radius: 5px;
  background: var(--cf-input-bg);
  box-sizing: border-box;
  cursor: text;
}

.cf-size-block__input-box--empty {
  justify-content: center;
}

.cf-size-block__input-box--empty:not(.cf-size-block__input-box--focused) .cf-size-block__input {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  min-width: 0;
  flex: none;
  padding: 0 10px;
  opacity: 0;
  cursor: text;
  z-index: 1;
}

.cf-size-block__input-box--empty.cf-size-block__input-box--focused {
  justify-content: flex-end;
}

.cf-size-block__input-box--empty.cf-size-block__input-box--focused .cf-size-block__input {
  position: static;
  opacity: 1;
  flex: 1 1 auto;
  width: 100%;
  min-width: 0;
  padding: 0;
}

.cf-size-block__input {
  flex: 1 1 auto;
  min-width: 0;
  width: 100%;
  padding: 0;
  border: none;
  background: transparent;
  font-size: 14px;
  font-weight: 500;
  line-height: 17px;
  text-align: left;
  font-family: inherit;
  color: #000;
}

.cf-size-block__input:focus {
  outline: none;
}

.cf-size-block__unit {
  flex-shrink: 0;
  font-size: 14px;
  font-weight: 500;
  line-height: 17px;
  color: rgba(0, 0, 0, 0.5);
}

.cf-size-block__tolerance {
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: 100%;
}

.cf-size-block__tolerance-labels {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 17px;
}

.cf-size-block__mode {
  font-size: 14px;
  font-weight: 600;
  line-height: 17px;
  color: #5479b8;
}

.cf-size-block__tolerance-text {
  font-size: 12px;
  font-weight: 600;
  line-height: 15px;
  color: #000;
}

.cf-size-block__slider-wrap {
  position: relative;
  width: 100%;
  max-width: var(--cf-numeric-block-max-width);
  padding: 4px 10px 0;
  box-sizing: border-box;
  overflow: visible;
}

.cf-size-block__slider-track {
  position: relative;
  width: 100%;
  height: 24px;
  overflow: visible;
}

.cf-size-block__slider-rail,
.cf-size-block__slider-fill {
  position: absolute;
  top: 50%;
  height: 4px;
  margin-top: -2px;
  border-radius: 30px;
  pointer-events: none;
}

.cf-size-block__slider-rail {
  left: 0;
  right: 0;
  background: #e4e9f0;
}

.cf-size-block__slider-fill {
  left: 0;
  min-width: 0;
  background: var(--cf-primary, #5479b8);
  transition: width 80ms ease-out;
}

.cf-size-block__slider,
#cf-ui-size-tolerance {
  position: absolute;
  inset: 0;
  z-index: 1;
  width: 100%;
  height: 24px;
  margin: 0;
  -webkit-appearance: none;
  appearance: none;
  background: transparent;
  cursor: pointer;
}

.cf-size-block__slider::-webkit-slider-runnable-track {
  height: 4px;
  background: transparent;
  border: none;
  border-radius: 30px;
}

.cf-size-block__slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 19px;
  height: 19px;
  margin-top: -7.5px;
  border: none;
  border-radius: 50%;
  background: var(--cf-primary, #5479b8);
  box-shadow: 0 3px 4px rgba(0, 0, 0, 0.25);
}

.cf-size-block__slider::-moz-range-track {
  height: 4px;
  background: transparent;
  border: none;
  border-radius: 30px;
}

.cf-size-block__slider::-moz-range-progress {
  height: 4px;
  background: transparent;
  border: none;
  border-radius: 30px;
}

.cf-size-block__slider::-moz-range-thumb {
  width: 19px;
  height: 19px;
  border: none;
  border-radius: 50%;
  background: var(--cf-primary, #5479b8);
  box-shadow: 0 3px 4px rgba(0, 0, 0, 0.25);
}

/* Accordion — Component 28 / Выбор количества */
.cf-sidebar-group {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 13px;
  width: 100%;
}

.cf-sidebar-group--modef-open {
  z-index: 2;
}

.cf-sidebar-group__head {
  display: flex;
  align-items: center;
  gap: 7px;
  width: 100%;
  min-height: 27px;
}

.cf-sidebar-group__head-toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  flex: 1 1 auto;
  min-width: 0;
  padding: 0;
  border: none;
  background: transparent;
  text-align: left;
  cursor: pointer;
  font-family: inherit;
}

.cf-sidebar-group__title {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-width: 0;
  font-size: 15px;
  font-weight: 600;
  line-height: 20px;
  color: #000;
}

.cf-sidebar-group__title-text {
  min-width: 0;
}

.cf-sidebar-group__hint {
  display: inline-flex;
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  color: var(--cf-border, #a9bcdb);
  cursor: help;
  line-height: 0;
  border: none;
  background: transparent;
}

.cf-sidebar-group__hint:hover,
.cf-sidebar-group__hint.cf-filter-hint--open {
  color: var(--cf-accent, #5d80bc);
}

.cf-sidebar .cf-hint-popover--plain {
  left: 0;
  transform: none;
}

.cf-filter-hint {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  vertical-align: middle;
  color: inherit;
  flex-shrink: 0;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

.cf-filter-hint .cf-filter-hint__svg,
.cf-filter-hint .cf-filter-hint__svg path {
  fill: currentColor;
}

.cf-hint-popover--plain {
  position: absolute;
  z-index: 120;
  left: 50%;
  transform: translateX(-50%);
  width: min(240px, 78vw);
  padding: 12px 15px;
  background: var(--cf-bg, #fff);
  border-radius: 10px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.14);
  font-size: 13px;
  line-height: 1.4;
  color: var(--cf-text, #1a1a1a);
  text-align: left;
  white-space: normal;
  pointer-events: auto;
}

.cf-hint-modal__overlay {
  position: fixed;
  inset: 0;
  z-index: 10100;
  background: var(--cf-overlay, rgba(0, 0, 0, 0.5));
  pointer-events: none;
}

.cf-hint-modal__overlay--touch {
  display: flex;
  align-items: center;
  justify-content: center;
  padding:
    max(5px, env(safe-area-inset-top, 0px))
    max(5px, env(safe-area-inset-right, 0px))
    max(5px, env(safe-area-inset-bottom, 0px))
    max(5px, env(safe-area-inset-left, 0px));
  box-sizing: border-box;
  pointer-events: auto;
}

.cf-hint-modal {
  position: fixed;
  z-index: 10101;
  width: max-content;
  max-width: calc(100vw - 32px);
  max-height: min(90vh, 640px);
  overflow: auto;
  padding: 15px;
  background: var(--cf-bg, #fff);
  border-radius: 10px;
  box-shadow: var(--cf-shadow-modal, 0 8px 32px rgba(0, 0, 0, 0.12));
  font-size: 13px;
  line-height: 1.4;
  color: var(--cf-text, #1a1a1a);
  text-align: left;
  pointer-events: auto;
  box-sizing: border-box;
}

.cf-hint-modal--photo {
  width: auto;
  min-width: 0;
  max-width: calc(100vw - 32px);
}

.cf-hint-modal--touch {
  position: relative;
  top: auto;
  left: auto;
  width: 100%;
  max-width: none;
  max-height: calc(100dvh - 10px - env(safe-area-inset-top, 0px) - env(safe-area-inset-bottom, 0px));
  overflow-x: hidden;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  flex-shrink: 1;
}

.cf-hint-modal--touch .cf-hint-modal__cards {
  flex-direction: column;
  flex-wrap: nowrap;
  align-items: center;
}

.cf-hint-modal--touch .cf-hint-modal__card {
  width: 100%;
  max-width: 100%;
}

.cf-hint-modal--touch .cf-hint-modal__card img {
  max-width: 100%;
  width: auto;
  height: auto;
}

.cf-hint-modal--touch .cf-hint-modal__intro {
  overflow-wrap: anywhere;
}

.cf-hint-modal--plain-text {
  font-size: 13px;
  line-height: 1.4;
}

.cf-hint-modal__intro :deep(p) {
  margin: 0 0 12px;
  font-size: 13px;
  line-height: 1.45;
}

.cf-hint-modal__intro :deep(p:last-child) {
  margin-bottom: 0;
}

.cf-hint-modal__intro :deep(strong),
.cf-hint-modal__intro :deep(b) {
  font-weight: 700;
}

.cf-hint-modal__cards {
  display: flex;
  flex-wrap: nowrap;
  align-items: flex-start;
  gap: 10px;
  margin: 12px 0;
}

.cf-hint-modal__card {
  flex: 0 0 auto;
}

.cf-hint-modal__card img {
  display: block;
  width: auto;
  height: auto;
  max-width: none;
  max-height: none;
}

.cf-hint-modal__caption {
  margin-top: 6px;
  font-size: 10px;
  font-weight: 600;
  line-height: 1.25;
  text-transform: uppercase;
  text-align: center;
  color: var(--cf-accent, #5d80bc);
}

.cf-hint-modal__footer :deep(p) {
  margin: 0;
  font-size: 13px;
  line-height: 1.45;
}

.cf-hint-modal-enter-active,
.cf-hint-modal-leave-active {
  transition: opacity 0.18s ease, transform 0.18s ease;
}

.cf-hint-modal-enter-from,
.cf-hint-modal-leave-to {
  opacity: 0;
}

.cf-hint-modal.cf-hint-modal-enter-from,
.cf-hint-modal.cf-hint-modal-leave-to {
  opacity: 0;
}

.cf-hint-modal--down.cf-hint-modal-enter-from,
.cf-hint-modal--down.cf-hint-modal-leave-to {
  transform: translateY(-6px);
}

.cf-hint-modal--up.cf-hint-modal-enter-from,
.cf-hint-modal--up.cf-hint-modal-leave-to {
  transform: translateY(6px);
}

.cf-hint-modal--touch.cf-hint-modal-enter-from,
.cf-hint-modal--touch.cf-hint-modal-leave-to {
  transform: scale(0.98);
}

.cf-hint-modal__overlay--touch.cf-hint-modal-enter-from,
.cf-hint-modal__overlay--touch.cf-hint-modal-leave-to {
  opacity: 0;
}

.cf-filter-hint--touch.cf-filter-hint--open .cf-hint-popover--plain {
  pointer-events: auto;
}

.cf-sidebar-group__chevron-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 33px;
  height: 27px;
  padding: 0;
  color: rgba(0, 0, 0, 0.35);
}

.cf-sidebar-group__chevron {
  display: block;
  transform: rotate(90deg);
  transition: transform var(--cf-transition-fast);
}

.cf-sidebar-group--open .cf-sidebar-group__chevron {
  transform: rotate(-90deg);
}

.cf-sidebar-group__body {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 13px;
  width: 100%;
  overflow: visible;
}

.cf-sidebar-size-anchor {
  position: relative;
  width: 100%;
  overflow: visible;
}

.cf-sidebar-size-block-wrap {
  position: relative;
  width: 100%;
  max-width: var(--cf-numeric-block-max-width);
  overflow: visible;
}

.cf-sidebar .cf-panel__section--sidebar {
  padding: 0;
  margin: 0;
}

.cf-sidebar .cf-panel__section--sidebar .cf-panel__section-head {
  margin-bottom: 0;
}

.cf-sidebar .cf-panel__section--sidebar .cf-panel__title {
  margin: 0;
  font-size: 15px;
  font-weight: 600;
  line-height: 20px;
  color: #000;
}

.cf-sidebar .cf-panel__section--sidebar .cf-size-block {
  margin-bottom: 0;
}

.cf-modal .cf-sidebar-size-anchor .cf-size-block {
  margin-bottom: 0;
}

/* Frame 493 — визуал Figma; --side = справа от блока (как modef) */
.cf-modef {
  width: 347px;
  max-width: 347px;
  pointer-events: auto;
  overflow: visible;
}

.cf-modef--side {
  position: fixed;
  z-index: 920;
  margin: 0;
  width: 347px;
  max-width: calc(100vw - 16px);
  overflow: visible;
}

body.cf-filter-modal-open .cf-modef--side {
  display: none;
}

.cf-modef--inline {
  position: relative;
  width: 100%;
  max-width: 347px;
}

.cf-modef__shell {
  display: flex;
  align-items: center;
  width: 100%;
  min-height: 64px;
  overflow: visible;
}

.cf-modef__tail {
  flex: 0 0 20px;
  width: 20px;
  height: 38px;
  display: block;
  flex-shrink: 0;
  margin-left: 10px;
  margin-right: -7px;
  background: #d82d28;
  clip-path: polygon(100% 0, 100% 100%, 0 50%);
}

.cf-modef__bar {
  flex: 1 1 auto;
  display: flex;
  align-items: center;
  gap: 5px;
  min-width: 0;
  min-height: 64px;
  margin-left: 0;
  padding: 7px 16px;
  background: #d82d28;
  border-radius: 56px;
}

.cf-modef__count {
  flex: 0 1 auto;
  min-width: 0;
  padding: 10px;
  font-size: 16px;
  font-weight: 600;
  line-height: 20px;
  color: #fff;
  white-space: nowrap;
}

.cf-modef__apply {
  flex: 0 0 auto;
  margin: 0;
  padding: 10px 36px;
  border: 2px solid #fff;
  border-radius: 25px;
  background: #5479b8;
  color: #fff;
  font-size: 16px;
  font-weight: 600;
  line-height: 20px;
  cursor: pointer;
  white-space: nowrap;
}

.cf-modef__apply:hover {
  background: #4a6a9e;
}

.cf-modef__apply:active {
  background: #3f5f94;
}

.cf-sidebar-group__search {
  display: flex;
  align-items: center;
  gap: 0;
  width: 100%;
  height: 40px;
  padding: 0 5px;
  border: 1px solid var(--cf-input-border);
  border-radius: 10px;
  background: var(--cf-input-bg);
}

.cf-sidebar-group__search-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 39px;
  height: 39px;
  padding: 10px;
  color: rgba(0, 0, 0, 0.4);
}

.cf-sidebar-group__search-input {
  flex: 1 1 auto;
  min-width: 0;
  height: 100%;
  padding: 0 5px 0 0;
  border: none;
  background: transparent;
  font-family: inherit;
  font-size: 14px;
  font-weight: 400;
  line-height: 20px;
  color: #000;
}

.cf-sidebar-group__search-input::placeholder {
  color: rgba(0, 0, 0, 0.4);
}

.cf-sidebar-group__search-input:focus {
  outline: none;
}

.cf-sidebar-group__list {
  list-style: none;
  margin: 0;
  padding: 0 0 8px;
  max-height: 397px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 10px;
  scroll-padding-bottom: 8px;
}

.cf-sidebar-group__row {
  min-height: 37px;
}

.cf-sidebar-group__row--disabled {
  opacity: 0.45;
  pointer-events: none;
}

.cf-sidebar-group__row-label {
  display: flex;
  align-items: center;
  gap: 15px;
  margin: 0;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

.cf-sidebar-group__checkbox {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  margin: 0;
  border: 1px solid var(--cf-checkbox-border);
  border-radius: 4px;
  background: #fff;
  appearance: none;
  -webkit-appearance: none;
  cursor: pointer;
  outline: none;
  box-shadow: none;
}

.cf-sidebar-group__checkbox:focus,
.cf-sidebar-group__checkbox:focus-visible,
.cf-sidebar-group__checkbox:active,
.cf-sidebar-group__checkbox:checked:focus,
.cf-sidebar-group__checkbox:checked:focus-visible,
.cf-sidebar-group__checkbox:checked:active {
  outline: none !important;
  box-shadow: none !important;
}

.cf-sidebar-group__checkbox::-moz-focus-inner {
  border: 0;
  padding: 0;
}

.cf-sidebar-group__checkbox:checked {
  border-color: #5479b8;
  background-color: #5479b8;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='10' viewBox='0 0 12 10' fill='none'%3E%3Cpath d='M1 5.2L4.2 8.4L11 1.6' stroke='white' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 12px 10px;
}

.cf-sidebar-group__checkbox:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.cf-sidebar-group__row-content {
  flex: 1 1 auto;
  display: flex;
  align-items: center;
  min-width: 0;
  min-height: 37px;
  padding: 10px 0;
}

.cf-sidebar-group__row-text {
  flex: 0 1 auto;
  min-width: 0;
  font-size: 14px;
  font-weight: 500;
  line-height: 17px;
  color: rgba(0, 0, 0, 0.9);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.cf-sidebar-group__row-dots {
  flex: 1 1 auto;
  min-width: 12px;
  height: 0;
  margin: 0 4px;
  align-self: center;
  border-bottom: 1px dotted rgba(0, 0, 0, 0.05);
}

.cf-sidebar-group__row-count {
  flex-shrink: 0;
  font-size: 13px;
  font-weight: 400;
  line-height: 16px;
  color: rgba(0, 0, 0, 0.7);
}

.cf-sidebar-group__range {
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 100%;
  max-width: var(--cf-numeric-block-max-width);
}

.cf-range-fields__inputs {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
  max-width: var(--cf-numeric-block-max-width);
}

.cf-range-fields__sep {
  flex-shrink: 0;
  font-size: 14px;
  line-height: 1;
  color: rgba(0, 0, 0, 0.35);
  user-select: none;
}

.cf-range-fields__input-wrap {
  flex: 1 1 0;
  min-width: 0;
  max-width: 150px;
}

.cf-range-fields__input-content {
  position: relative;
}

.cf-range-fields__input {
  width: 100%;
  height: 40px;
  padding: 10px 28px;
  border: 1px solid var(--cf-input-border);
  border-radius: var(--cf-radius-input, 10px);
  background: var(--cf-input-bg);
  box-sizing: border-box;
  font-family: inherit;
  font-size: 14px;
  line-height: 17px;
  color: #000;
  text-align: center;
}

.cf-range-fields__input::placeholder {
  color: rgba(0, 0, 0, 0.4);
}

.cf-range-fields__input:focus {
  outline: none;
  border-color: #5d80bc;
}

.cf-range-fields__input-label {
  display: none;
}

.cf-range-fields__input-clear {
  position: absolute;
  top: 50%;
  right: 6px;
  width: 24px;
  height: 24px;
  margin: 0;
  padding: 0;
  border: none;
  border-radius: 50%;
  background: transparent;
  transform: translateY(-50%);
  cursor: pointer;
  opacity: 0.45;
}

.cf-range-fields__input-clear::before,
.cf-range-fields__input-clear::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 12px;
  height: 1.5px;
  background: #000;
}

.cf-range-fields__input-clear::before {
  transform: translate(-50%, -50%) rotate(45deg);
}

.cf-range-fields__input-clear::after {
  transform: translate(-50%, -50%) rotate(-45deg);
}

.cf-range-fields__input-clear:hover {
  opacity: 0.8;
}

.cf-range-fields__slider {
  width: 100%;
  max-width: var(--cf-numeric-block-max-width);
  padding: 4px 10px 0;
  box-sizing: border-box;
  overflow: visible;
}

.cf-range-fields__track {
  position: relative;
  width: 100%;
  height: 24px;
  touch-action: none;
  cursor: pointer;
  overflow: visible;
}

.cf-range-fields__track-rail,
.cf-range-fields__track-selected {
  position: absolute;
  top: 50%;
  height: 4px;
  margin-top: -2px;
  border-radius: 30px;
  pointer-events: none;
}

.cf-range-fields__track-rail {
  left: 0;
  right: 0;
  background: #e4e9f0;
}

.cf-range-fields__track-selected {
  background: var(--cf-primary, #5479b8);
}

.cf-range-fields__handle {
  position: absolute;
  top: 50%;
  width: 19px;
  height: 19px;
  margin: 0;
  padding: 0;
  border: none;
  border-radius: 50%;
  background: var(--cf-primary, #5479b8);
  box-shadow: 0 3px 4px rgba(0, 0, 0, 0.25);
  transform: translate(-50%, -50%);
  cursor: grab;
  z-index: 2;
  touch-action: none;
}

.cf-range-fields__handle:active {
  cursor: grabbing;
}

.cf-range-fields__handle:focus-visible {
  outline: 2px solid var(--cf-primary, #5479b8);
  outline-offset: 2px;
}

.cf-range-fields__reset {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 4px;
  padding: 0;
  border: none;
  background: transparent;
  font-family: inherit;
  font-size: 13px;
  line-height: 16px;
  color: rgba(0, 0, 0, 0.7);
  cursor: pointer;
}

.cf-range-fields__reset:hover {
  color: var(--cf-primary, #5479b8);
}

.cf-range-fields__reset-icon {
  position: relative;
  width: 14px;
  height: 14px;
}

.cf-range-fields__reset-icon::before,
.cf-range-fields__reset-icon::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 12px;
  height: 1.5px;
  background: currentColor;
}

.cf-range-fields__reset-icon::before {
  transform: translate(-50%, -50%) rotate(45deg);
}

.cf-range-fields__reset-icon::after {
  transform: translate(-50%, -50%) rotate(-45deg);
}

.cf-sidebar-group__range-inputs {
  display: flex;
  gap: 16px;
  width: 100%;
}

.cf-sidebar-group__range-input {
  flex: 1 1 0;
  min-width: 0;
  height: 37px;
  padding: 10px;
  border: 1px solid var(--cf-input-border);
  border-radius: 5px;
  background: var(--cf-input-bg);
  font-family: inherit;
  font-size: 14px;
  line-height: 17px;
  color: #000;
}

.cf-sidebar-group__range-input:focus {
  outline: none;
  border-color: #5d80bc;
}

.cf-sidebar-group__range-input::placeholder {
  color: rgba(0, 0, 0, 0.5);
}

.cf-sidebar-group__range-slider {
  width: 100%;
  height: 19px;
  margin: 0;
  -webkit-appearance: none;
  appearance: none;
  background: transparent;
  pointer-events: none;
}

.cf-sidebar-group__range-slider::-webkit-slider-runnable-track {
  height: 6px;
  border-radius: 30px;
  background: var(--cf-input-bg);
}

.cf-sidebar-group__range-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 19px;
  height: 19px;
  margin-top: -6.5px;
  border: none;
  border-radius: 50%;
  background: #5479b8;
  box-shadow: 0 3px 4px rgba(0, 0, 0, 0.25);
}

.cf-sidebar__inner > .cf-sidebar__divider:last-child {
  display: none;
}

.cf-sidebar__all {
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  gap: 13px;
  align-self: flex-end;
  width: auto;
  max-width: 100%;
  margin: 0;
  padding: 10px;
  border: none;
  background: transparent;
  font-size: 14px;
  font-weight: 600;
  line-height: 17px;
  color: #006da0;
  cursor: pointer;
  font-family: inherit;
}

.cf-sidebar__all-text {
  display: block;
  white-space: nowrap;
}

.cf-sidebar__all:hover {
  color: #4a6a9e;
}

.cf-sidebar__all-chevron {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 21px;
  height: 25px;
  padding: 6px 2px;
  box-sizing: border-box;
  color: #006da0;
}

.cf-sidebar__all:hover .cf-sidebar__all-chevron {
  color: #4a6a9e;
}

/* Actions — Frame 480 */
.cf-sidebar__actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: 100%;
}

.cf-sidebar__apply {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 50px;
  min-height: 50px;
  padding: 0 24px;
  box-sizing: border-box;
  border: none;
  border-radius: 7px;
  background: #5479b8;
  color: #fff;
  font-size: 16px;
  font-weight: 600;
  line-height: 20px;
  font-family: inherit;
  cursor: pointer;
}

.cf-sidebar__apply:hover {
  background: #4a6a9e;
}

.cf-sidebar__clear {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 37px;
  padding: 10px;
  box-sizing: border-box;
  border: 1px solid #5479b8;
  border-radius: 5px;
  background: transparent;
  color: #5479b8;
  font-size: 14px;
  font-weight: 500;
  line-height: 17px;
  font-family: inherit;
  cursor: pointer;
}

.cf-sidebar__clear:hover {
  background: #eef3fa;
}

@media (max-width: 900px) {
  .cf-chips--page.cf-chips--skeleton .cf-chips__block {
    gap: 0;
  }

  .cf-chips--page.cf-chips--skeleton .cf-skeleton--chips-label {
    display: none;
  }

  .cf-chips--page.cf-chips--skeleton .cf-chips__row {
    flex-wrap: nowrap;
    gap: 0;
  }

  .cf-chips--page.cf-chips--skeleton .cf-chips__row .cf-skeleton--chips-reset {
    display: none;
  }

  .cf-chips--page.cf-chips--skeleton .cf-skeleton--chips-reset--mobile {
    display: block;
    align-self: flex-end;
    width: 88px;
    height: 15px;
    margin-top: 6px;
  }

  .cf-chips--page.cf-chips--skeleton .cf-chips__list {
    flex: 1 1 auto;
    flex-wrap: nowrap;
    gap: 8px;
    overflow-x: auto;
    scrollbar-width: none;
  }

  .cf-chips--page.cf-chips--skeleton .cf-chips__list::-webkit-scrollbar {
    display: none;
  }

  .cf-modef--side {
    display: none !important;
  }

  .cf-sidebar {
    display: none;
  }
}

@media (min-width: 901px) {
  .spoller-title.cf-spoller-hidden {
    display: none !important;
  }
}

.cf-modal__overlay {
  position: fixed;
  inset: 0;
  background: var(--cf-overlay);
  z-index: 10000;
}

.cf-modal {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 10001;
  width: min(369px, 92vw);
  height: 100vh;
  max-height: 100vh;
  background: var(--cf-bg);
  border-radius: 0;
  box-shadow: 4px 0 32px rgba(0, 0, 0, 0.15);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transform: translateX(0);
}

.cf-modal__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: var(--cf-header-padding);
  border-bottom: none;
  flex-shrink: 0;
}

.cf-modal__header:not(:has(+ .cf-modal__chips)) {
  padding-bottom: 20px;
  border-bottom: none;
}

.cf-modal__title {
  margin: 0;
  font-size: var(--cf-title-size);
  font-weight: var(--cf-title-weight);
  line-height: 28px;
  color: #000;
}

.cf-modal__close {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  padding: 0;
  margin: 0;
  border: none;
  background: transparent;
  cursor: pointer;
  color: #000;
}

.cf-modal__chips {
  flex-shrink: 0;
  width: 100%;
  box-sizing: border-box;
  overflow: visible;
  padding: 0 24px 16px;
}

.cf-chips--modal {
  padding: 0 24px 16px;
  margin-bottom: 0;
}

.cf-chips--modal .cf-chips__row {
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 24px;
}

.cf-chips--modal .cf-chips__list {
  flex: 1 1 auto;
  flex-wrap: wrap;
  gap: 12px;
  overflow: visible;
  max-width: none;
}

.cf-chips--modal .cf-chips__reset {
  margin-left: auto;
}

.cf-chips__remove {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 14px;
  height: 14px;
  padding: 0;
  border: none;
  background: transparent;
  cursor: pointer;
  color: rgba(84, 121, 184, 0.5);
  flex-shrink: 0;
}

.cf-chips__remove:hover {
  color: var(--cf-primary);
}

.cf-chips--page {
  padding: 5px 0;
  margin-bottom: 20px;
  width: 100%;
}

.cf-chips__block {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  width: 100%;
}

.cf-chips__row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 30px;
  width: 100%;
  min-width: 0;
}

.cf-chips__label {
  font-size: 13px;
  font-weight: 600;
  line-height: 16px;
  color: #000;
}

.cf-chips__list {
  display: flex;
  flex: 0 1 auto;
  flex-wrap: wrap;
  align-items: center;
  gap: 20px;
  max-width: 100%;
  min-width: 0;
  overflow: visible;
}

.cf-chips__chip--page {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  box-sizing: border-box;
  height: 40px;
  padding: 10px 15px;
  background: var(--cf-page-bg, #f3f6fb);
  border: 3px solid rgba(84, 121, 184, 0.5);
  border-radius: 20px;
  color: #000;
  white-space: nowrap;
  flex-shrink: 0;
}

.cf-chips__chip-text {
  display: inline-flex;
  align-items: center;
  gap: 0;
  font-size: 14px;
  line-height: 20px;
}

.cf-chips__chip-key {
  font-weight: 500;
}

.cf-chips__chip-sep {
  font-weight: 500;
  margin-right: 4px;
}

.cf-chips__chip-val {
  font-weight: 400;
}

.cf-chips__reset {
  flex: 0 0 auto;
  padding: 10px;
  border: none;
  background: transparent;
  font-size: 13px;
  font-weight: 500;
  line-height: 16px;
  color: rgba(0, 0, 0, 0.5);
  cursor: pointer;
  white-space: nowrap;
}

.cf-chips__reset:hover {
  color: var(--cf-text);
}

/* Mobile / sheet — горизонтальный скролл чипов, сброс отдельной строкой */
.cf-chips--picked .cf-chips__block {
  gap: 6px;
  width: 100%;
}

.cf-chips--picked .cf-chips__row {
  flex-wrap: nowrap;
  align-items: center;
  gap: 0;
  width: 100%;
  min-width: 0;
}

.cf-chips--picked .cf-chips__list {
  display: flex;
  flex: 1 1 auto;
  flex-wrap: nowrap;
  align-items: center;
  gap: 8px;
  min-width: 0;
  max-width: 100%;
  overflow-x: auto;
  overflow-y: hidden;
  overscroll-behavior-x: contain;
  -webkit-overflow-scrolling: touch;
  scroll-snap-type: x proximity;
  scrollbar-width: none;
  -ms-overflow-style: none;
  padding: 0;
}

.cf-chips--picked .cf-chips__list::-webkit-scrollbar {
  display: none;
}

.cf-chips--picked .cf-chips__chip--page {
  scroll-snap-align: start;
  flex: 0 0 auto;
  height: 36px;
  padding: 8px 12px;
  border-width: 2px;
  border-radius: 18px;
}

.cf-chips--picked .cf-chips__chip-text {
  font-size: 13px;
  line-height: 18px;
}

.cf-chips--picked .cf-chips__reset {
  flex: 0 0 auto;
  align-self: flex-end;
  padding: 0 2px;
  font-size: 12px;
  line-height: 15px;
}

.cf-chips--sheet {
  flex-shrink: 0;
  width: 100%;
  padding: 0 0 12px;
  margin: 0;
  box-sizing: border-box;
}

.catalog-sort {
  display: flex;
  align-items: center;
  gap: 40px;
  margin: 0;
}

.catalog__sort-bar {
  display: flex;
  align-items: center;
  width: 100%;
  margin: 0 0 16px;
}

.catalog__sort-bar .catalog-sort {
  width: 100%;
}

.catalog-sort__label {
  font-size: 14px;
  font-weight: 500;
  line-height: 17px;
  color: #000;
  white-space: nowrap;
}

.catalog-sort__options {
  display: flex;
  align-items: center;
  gap: 20px;
}

.catalog-sort__btn {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin: 0;
  padding: 0;
  border: 0;
  background: none;
  font-family: inherit;
  font-size: 14px;
  font-weight: 500;
  line-height: 17px;
  color: rgba(0, 0, 0, 0.5);
  cursor: pointer;
  white-space: nowrap;
}

.catalog-sort__btn.is-active {
  color: var(--cf-primary, #5479b8);
}

.catalog-sort__btn:focus-visible {
  outline: 2px solid var(--cf-primary, #5479b8);
  outline-offset: 2px;
}

.catalog-sort__icon {
  display: inline-flex;
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  color: currentColor;
}

.catalog-sort__icon svg path {
  fill: currentColor;
}

.catalog-sort__btn--price .catalog-sort__icon {
  transition: transform 0.2s ease;
}

.catalog-sort__btn--price.is-desc .catalog-sort__icon {
  transform: rotate(180deg);
}

@media (max-width: 900px) {
  .catalog__filter-chips {
    overflow: visible;
    margin: 0;
  }

  .catalog__filter-chips--loading {
    min-height: 44px;
  }

  .catalog__wrapper--vue-filter {
    gap: 0 !important;
  }

  .catalog__wrapper--vue-filter > .mob-block--toolbar {
    order: 1;
    display: block;
    width: 100%;
    margin: 0 0 8px;
    position: relative;
    min-height: 33px;
  }

  .catalog__wrapper--vue-filter > .catalog__body {
    order: 2;
  }

  .catalog__wrapper--vue-filter > .catalog__sidebar {
    order: 3;
    margin: 0;
    padding: 0;
    max-height: 0;
    overflow: hidden;
    visibility: hidden;
    pointer-events: none;
  }

  .catalog__wrapper--vue-filter .catalog__sort-bar {
    display: none;
  }

  .catalog__filter-chips .cf-chips--page {
    padding: 0;
    margin: 0 0 8px;
  }

  .catalog__wrapper--vue-filter .mob-block__live {
    display: flex;
    align-items: stretch;
    gap: 8px;
    width: 100%;
  }

  .catalog__wrapper--vue-filter .mob-block--toolbar > .spoller-title[data-spoller],
  .catalog__wrapper--vue-filter .mob-block__live > .spoller-title[data-spoller] {
    display: flex !important;
    position: static !important;
    top: auto !important;
    left: auto !important;
    flex: 1 1 53%;
    min-width: 0;
    width: auto !important;
    height: 33px;
    margin: 0 !important;
    padding: 10px 12px 10px 34px !important;
    align-items: center;
    justify-content: flex-start;
    box-sizing: border-box;
    border-radius: 8px !important;
    font-size: 11px !important;
    line-height: 1.2;
    background: rgba(0, 0, 0, 0.8) !important;
    border: 1px solid #aaadb4 !important;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1) !important;
    color: #fff !important;
  }

  .catalog__wrapper--vue-filter .mob-block__sort {
    flex: 1 1 43%;
    min-width: 0;
    display: flex;
    align-items: stretch;
    justify-content: flex-end;
  }

  .catalog__wrapper--vue-filter .mob-block__sort .catalog__sort {
    display: flex;
    flex-direction: row;
    justify-content: flex-end;
    width: 100%;
    margin: 0;
  }

  .catalog__wrapper--vue-filter .mob-block__sort .catalog__select {
    width: 100%;
    margin: 0;
    min-width: 0;
    height: 33px;
  }

  .catalog__wrapper--vue-filter .mob-block__sort .nice-select {
    width: 100%;
    height: 33px;
    line-height: 33px;
    font-size: 11px;
    border-radius: 8px;
  }

  .catalog__sort.catalog-sort {
    flex-direction: row;
    justify-content: flex-end;
  }

  .catalog__wrapper--vue-filter .mob-block__skeleton {
    display: none;
    align-items: stretch;
    gap: 8px;
    width: 100%;
    pointer-events: none;
  }

  .catalog__wrapper--vue-filter .mob-block__skeleton-btn,
  .catalog__wrapper--vue-filter .mob-block__skeleton-sort {
    height: 33px;
    border-radius: 8px;
    background: linear-gradient(90deg, #e5e7eb 25%, #f3f4f6 50%, #e5e7eb 75%);
    background-size: 200% 100%;
    animation: cf-shimmer 1.2s ease-in-out infinite;
  }

  .catalog__wrapper--vue-filter .mob-block__skeleton-btn {
    flex: 1 1 53%;
  }

  .catalog__wrapper--vue-filter .mob-block__skeleton-sort {
    flex: 1 1 43%;
  }

  .catalog__wrapper--vue-filter:has(.bx-filter--vue:not(.bx-filter--vue-ready)) .mob-block__skeleton {
    display: flex;
  }

  .catalog__wrapper--vue-filter:has(.bx-filter--vue:not(.bx-filter--vue-ready)) .mob-block__live {
    visibility: hidden;
    position: absolute;
    inset: 0;
    pointer-events: none;
  }
}

.cf-modal__body {
  display: flex;
  flex: 1;
  min-height: 0;
  overflow: hidden;
}

.cf-modal__nav {
  width: var(--cf-nav-width);
  flex-shrink: 0;
  background: var(--cf-nav-block-bg);
  border-right: 1px solid var(--cf-nav-divider);
  padding-right: var(--cf-nav-inset-right);
  overflow-y: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
  box-sizing: border-box;
}

.cf-modal__nav,
.cf-panel__scroll,
.cf-panel__section-body--scroll {
  scrollbar-width: thin;
  scrollbar-color: var(--cf-scrollbar-thumb) var(--cf-scrollbar-track);
}

.cf-modal__nav::-webkit-scrollbar,
.cf-panel__scroll::-webkit-scrollbar,
.cf-panel__section-body--scroll::-webkit-scrollbar {
  width: var(--cf-scrollbar-size);
  height: var(--cf-scrollbar-size);
}

.cf-modal__nav::-webkit-scrollbar-track,
.cf-panel__scroll::-webkit-scrollbar-track,
.cf-panel__section-body--scroll::-webkit-scrollbar-track {
  background: var(--cf-scrollbar-track);
}

.cf-modal__nav::-webkit-scrollbar-thumb,
.cf-panel__scroll::-webkit-scrollbar-thumb,
.cf-panel__section-body--scroll::-webkit-scrollbar-thumb {
  background-color: var(--cf-scrollbar-thumb);
  border: 2px solid transparent;
  border-radius: 100px;
  background-clip: padding-box;
}

.cf-modal__nav::-webkit-scrollbar-thumb:hover,
.cf-panel__scroll::-webkit-scrollbar-thumb:hover,
.cf-panel__section-body--scroll::-webkit-scrollbar-thumb:hover {
  background-color: var(--cf-scrollbar-thumb-hover);
}

.cf-nav__item-row {
  display: flex;
  align-items: center;
  gap: 4px;
  width: 100%;
}

.cf-nav__item-row:not(:last-child) {
  border-bottom: 1px solid var(--cf-nav-item-divider);
}

.cf-nav__item-row .cf-nav__item {
  flex: 1 1 auto;
  min-width: 0;
}

.cf-nav__item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  min-height: 0;
  padding: var(--cf-nav-item-padding-y) var(--cf-nav-item-padding-x);
  border: none;
  border-left: 4px solid transparent;
  background: transparent;
  text-align: left;
  font-size: var(--cf-nav-size);
  font-weight: var(--cf-nav-weight);
  line-height: 20px;
  color: var(--cf-text);
  cursor: pointer;
  font-family: inherit;
  box-sizing: border-box;
  transition: background var(--cf-transition-fast);
}

.cf-nav__item-row .cf-nav__item:not(:last-child) {
  border-bottom: none;
}

.cf-nav__item:not(:last-child) {
  border-bottom: 1px solid var(--cf-nav-item-divider);
}

.cf-nav__item:hover:not(.cf-nav__item--active) {
  background: var(--cf-bg-muted);
}

.cf-nav__item--active {
  background: var(--cf-nav-active-bg);
  border-left-color: var(--cf-primary);
  color: var(--cf-primary);
  font-weight: 700;
  border-radius: 4px 10px 10px 4px;
}

.cf-nav__item--active .cf-nav__chevron {
  color: var(--cf-primary);
}

.cf-nav__chevron {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  margin-left: 8px;
  color: rgba(0, 0, 0, 0.35);
  font-size: 12px;
}

.cf-modal__panel {
  flex: 1;
  display: flex;
  flex-direction: column;
  min-width: 0;
  min-height: 0;
  overflow: hidden;
}

.cf-panel__scroll {
  flex: 1;
  min-height: 0;
  min-width: 0;
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
  padding: 16px 0 48px;
  padding-left: 0;
  padding-right: 0;
}

.cf-panel__section {
  scroll-margin-top: 16px;
  padding: 20px 0 24px;
}

.cf-panel__section + .cf-panel__section {
  margin-top: 0;
  padding-top: 28px;
  border-top: 1px solid var(--cf-nav-item-divider);
}

.cf-panel__section-head {
  flex-shrink: 0;
  margin-bottom: 16px;
}

.cf-panel__section-head-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}

.cf-panel__section-head-row:last-child {
  margin-bottom: 0;
}

.cf-panel__section-head-row .cf-panel__title {
  margin: 0;
  flex: 1;
  min-width: 0;
}

.cf-panel__section-head-row .cf-range-fields__reset {
  margin-top: 0;
  flex-shrink: 0;
}

.cf-panel__section-head:has(.cf-panel__search-wrap) .cf-panel__section-head-row {
  margin-bottom: 12px;
}

.cf-panel__section-body {
  margin-bottom: 4px;
  min-width: 0;
  overflow-x: hidden;
  container-type: inline-size;
  container-name: cf-filter-panel;
}

.cf-panel__section-body--scroll {
  max-height: var(--cf-value-scroll-max-height);
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
  padding-right: 2px;
  padding-bottom: var(--cf-value-grid-gap);
  width: 100%;
  box-sizing: border-box;
}

.cf-modal .cf-panel__section-body .cf-sidebar-group__list {
  max-height: none;
  overflow: visible;
  gap: 0;
  padding: 0;
  margin: 0;
}

.cf-modal .cf-panel__section-body .cf-sidebar-group__row-content {
  padding: 8px 0;
  min-height: 32px;
}

.cf-panel__head {
  padding: 20px 24px 12px;
  flex-shrink: 0;
}

.cf-panel__title {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin: 0 0 12px;
  font-size: var(--cf-panel-title-size);
  font-weight: 600;
  color: var(--cf-text);
  transition: color var(--cf-transition-fast);
}

.cf-panel__title-text {
  min-width: 0;
}

.cf-panel__title--active {
  color: var(--cf-primary);
}

.cf-panel__search-wrap {
  display: flex;
  align-items: center;
  gap: 0;
  width: 100%;
  height: 40px;
  padding: 0 5px;
  border: 1px solid var(--cf-input-border);
  border-radius: 8px;
  background: var(--cf-input-bg);
  box-sizing: border-box;
}

.cf-panel__search-wrap:focus-within {
  border-color: var(--cf-accent);
}

.cf-panel__search-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 39px;
  height: 39px;
  padding: 10px;
  color: rgba(0, 0, 0, 0.4);
}

.cf-panel__search {
  flex: 1 1 auto;
  min-width: 0;
  height: 100%;
  padding: 0 5px 0 0;
  border: none;
  background: transparent;
  border-radius: 0;
  font-family: inherit;
  font-size: 16px;
  font-weight: 400;
  line-height: 20px;
  color: #000;
}

.cf-panel__search::placeholder {
  color: rgba(0, 0, 0, 0.4);
}

.cf-panel__search:focus {
  outline: none;
}

.cf-panel__content {
  flex: 1;
  overflow-y: auto;
  padding: 0 24px 20px;
}

.cf-state--empty {
  padding: 40px 20px;
  text-align: center;
  font-size: 14px;
  color: var(--cf-text-muted);
}

.cf-value-grid {
  display: grid;
  gap: 12px;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  box-sizing: border-box;
}

.cf-value-grid--cols-1 {
  grid-template-columns: minmax(0, 1fr);
}

.cf-value-grid--cols-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.cf-value-grid--cols-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.cf-value-grid--sidebar {
  grid-template-columns: minmax(0, 1fr);
  gap: 10px;
}

@container cf-filter-panel (max-width: 520px) {
  .cf-value-grid--cols-3,
  .cf-value-grid--cols-2 {
    grid-template-columns: minmax(0, 1fr);
  }
}

@container cf-filter-panel (min-width: 521px) and (max-width: 780px) {
  .cf-value-grid--cols-3 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.cf-sidebar-group__body .cf-value-grid {
  max-height: var(--cf-value-scroll-max-height);
  overflow-y: auto;
  padding-right: 2px;
  padding-bottom: var(--cf-value-grid-gap);
  grid-auto-rows: var(--cf-value-card-row-height);
}

.cf-sidebar-group__body .cf-value-item--card {
  min-height: var(--cf-value-card-row-height);
  height: 100%;
  box-sizing: border-box;
}

.cf-value-item--card {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 10px;
  min-width: 0;
  width: 100%;
  padding: 12px;
  border: 1px solid #d0d5df;
  border-radius: var(--cf-radius-card);
  background: var(--cf-bg);
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  transition: border-color var(--cf-transition-fast), background var(--cf-transition-fast);
  box-sizing: border-box;
}

.cf-value-item--card:hover {
  border-color: #b8bfcc;
}

.cf-value-item--card-checked {
  border: 2px solid #5479b8;
  background: #eef3fa;
  padding: 11px;
}

.cf-value-item__checkbox {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  margin: 0;
  border: 1px solid var(--cf-checkbox-border, #5479b8);
  border-radius: 4px;
  appearance: none;
  -webkit-appearance: none;
  cursor: pointer;
  outline: none;
  box-shadow: none;
}

.cf-value-item__checkbox:focus,
.cf-value-item__checkbox:focus-visible,
.cf-value-item__checkbox:active,
.cf-value-item__checkbox:checked:focus,
.cf-value-item__checkbox:checked:focus-visible,
.cf-value-item__checkbox:checked:active {
  outline: none !important;
  box-shadow: none !important;
}

.cf-value-item__checkbox::-moz-focus-inner {
  border: 0;
  padding: 0;
}

.cf-value-item--card:focus,
.cf-value-item--card:active,
.cf-value-item--card:focus-within {
  outline: none !important;
  box-shadow: none;
}

.cf-value-item__checkbox:checked {
  border-color: #5479b8;
  background-color: #5479b8;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='10' viewBox='0 0 12 10' fill='none'%3E%3Cpath d='M1 5.2L4.2 8.4L11 1.6' stroke='white' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 10px 8px;
}

.cf-value-item--card .cf-value-item__label {
  flex: 1;
  min-width: 0;
  font-size: 14px;
  font-weight: 500;
  color: var(--cf-text);
}

.cf-value-item--card .cf-value-item__count {
  flex-shrink: 0;
  margin-left: auto;
  font-size: 13px;
  font-weight: 600;
  color: #5479b8;
}

.cf-value-list {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.cf-value-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 10px;
  border-radius: var(--cf-radius-input);
  cursor: pointer;
}

.cf-value-item:hover {
  background: var(--cf-bg-muted);
}

.cf-value-item--disabled {
  opacity: 0.45;
  pointer-events: none;
}

.cf-value-item input {
  width: 16px;
  height: 16px;
  accent-color: var(--cf-primary);
  flex-shrink: 0;
}

.cf-value-item__label {
  flex: 1;
  font-size: var(--cf-body-size);
  color: var(--cf-text);
}

.cf-value-item__count {
  font-size: 13px;
  color: var(--cf-text-muted);
}

.cf-modal__footer {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 24px;
  padding: 16px 24px;
  border-top: none;
  background: var(--cf-bg);
  flex-shrink: 0;
}

.cf-footer__apply {
  flex: 0 0 auto;
  min-width: 316px;
  max-width: none;
  height: 50px;
  padding: 0 32px;
  border: none;
  border-radius: 7px;
  background: var(--cf-primary);
  color: #fff;
  font-size: 16px;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
}

.cf-footer__apply:hover {
  background: var(--cf-accent-hover);
}

.cf-footer__reset {
  padding: 0;
  border: none;
  background: transparent;
  font-size: 16px;
  font-weight: 600;
  color: var(--cf-primary);
  font-family: inherit;
  cursor: pointer;
}

.cf-footer__reset:hover {
  color: var(--cf-accent-hover);
}

/* Modal enter/leave — slide from left (drawer) */
.cf-drawer-enter-active,
.cf-drawer-leave-active {
  transition: opacity var(--cf-transition-sheet);
}

.cf-drawer-enter-active .cf-modal,
.cf-drawer-leave-active .cf-modal {
  transition: transform var(--cf-transition-sheet);
}

.cf-drawer-enter-from,
.cf-drawer-leave-to {
  opacity: 0;
}

.cf-drawer-enter-from .cf-modal,
.cf-drawer-leave-to .cf-modal {
  transform: translateX(-100%);
}

@media (min-width: 901px) {
  .cf-modal--drawer {
    top: 0;
    left: 0;
    transform: translateX(0);
    width: min(var(--cf-modal-drawer-max), 96vw);
    min-width: min(var(--cf-modal-drawer-min), 96vw);
    max-width: min(var(--cf-modal-drawer-max), 96vw);
    height: 100vh;
    max-height: 100vh;
    padding: var(--cf-drawer-inset-top) 0 0 var(--cf-drawer-inset-x);
    box-sizing: border-box;
    border-radius: 0 var(--cf-radius-modal) var(--cf-radius-modal) 0;
    box-shadow: 4px 0 32px rgba(0, 0, 0, 0.15);
  }

  .cf-modal--drawer .cf-modal__header {
    padding: 0 var(--cf-panel-scroll-inset-right) 0 0;
  }

  .cf-modal--drawer .cf-modal__header:not(:has(+ .cf-modal__chips)) {
    padding-bottom: 20px;
  }

  .cf-modal--drawer .cf-modal__chips {
    padding-left: 0;
    padding-right: var(--cf-panel-scroll-inset-right);
    padding-bottom: 12px;
  }

  .cf-modal--drawer .cf-modal__footer {
    padding-left: 0;
    padding-right: var(--cf-panel-scroll-inset-right);
  }

  .cf-modal--drawer .cf-panel__scroll {
    padding: 16px var(--cf-panel-scroll-inset-right) 32px var(--cf-panel-scroll-inset-left);
  }

  .cf-modal--drawer .cf-panel__section {
    padding-left: 0;
    padding-right: 0;
  }

  .cf-modal {
    display: flex;
    flex-direction: column;
  }

  .cf-modal .cf-modal__body {
    flex: 1;
    min-height: 0;
  }

  .cf-modal .cf-modal__nav {
    flex: 0 0 var(--cf-nav-width);
    width: var(--cf-nav-width);
    min-width: var(--cf-nav-width);
    max-width: var(--cf-nav-width);
    background: var(--cf-nav-block-bg);
    padding: 0 var(--cf-nav-inset-right) 0 0;
    border-right: 1px solid var(--cf-nav-divider);
  }

  .cf-modal .cf-modal__panel {
    flex: 1;
    min-width: 0;
    min-height: 0;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    background: var(--cf-bg);
    padding-left: 0;
    padding-right: 0;
    box-sizing: border-box;
  }

  .cf-modal .cf-panel__scroll {
    flex: 1;
    min-height: 0;
  }

  .cf-modal .cf-panel__title {
    margin: 0 0 14px;
    font-size: 18px;
    font-weight: 700;
    color: var(--cf-text);
  }

  .cf-modal .cf-panel__title--active {
    color: var(--cf-primary);
  }

  .cf-modal .cf-panel__section-body {
    container-type: inline-size;
  }

  .cf-modal .cf-panel__section-body .cf-value-grid {
    gap: var(--cf-value-grid-gap);
    grid-auto-rows: var(--cf-value-card-row-height);
  }

  .cf-modal .cf-panel__section-body--scroll .cf-value-grid {
    max-height: none;
    overflow: visible;
  }

  .cf-modal .cf-panel__section-body .cf-value-item--card {
    height: var(--cf-value-card-row-height);
    min-height: var(--cf-value-card-row-height);
    min-width: 0;
    max-width: 100%;
    padding: 12px 14px;
    gap: 10px;
    align-items: center;
    border-color: var(--cf-border-light);
    border-radius: 8px;
    box-sizing: border-box;
  }

  .cf-modal .cf-value-item--card:hover {
    border-color: var(--cf-border);
  }

  .cf-modal .cf-value-item--card-checked {
    border-color: var(--cf-accent);
    background: var(--cf-nav-active-bg);
  }

  .cf-modal .cf-panel__section-body .cf-value-item__checkbox {
    width: 18px;
    height: 18px;
    margin: 0;
    border-color: var(--cf-border);
  }

  .cf-modal .cf-panel__section-body .cf-value-item--card .cf-value-item__label {
    flex: 1;
    min-width: 0;
    text-align: left;
    line-height: 1.35;
    word-break: break-word;
    overflow-wrap: anywhere;
  }

  .cf-modal .cf-panel__section-body .cf-value-item--card .cf-value-item__count {
    flex-shrink: 0;
    margin: 0 0 0 auto;
    padding-left: 8px;
    text-align: right;
  }

  .cf-modal .cf-panel__section-body .cf-value-item__checkbox:checked {
    border-color: var(--cf-primary);
    background-color: var(--cf-primary);
  }

  .cf-nav__size {
    position: relative;
    padding: 4px 16px 12px;
    border-bottom: 1px solid var(--cf-nav-item-divider);
    margin-bottom: 0;
    background: transparent;
  }

  .cf-nav__size::after {
    display: none;
  }

  .cf-size-block--nav {
    gap: 8px;
    margin-bottom: 0;
    pointer-events: auto;
  }

  .cf-size-block--nav .cf-size-block__title {
    margin: 0 0 8px;
    font-size: 14px;
    font-weight: 700;
    line-height: 20px;
    color: var(--cf-text);
  }

  .cf-size-block--nav .cf-size-block__columns {
    flex-wrap: nowrap;
    justify-content: flex-start;
    align-items: flex-end;
    padding-left: 0;
    gap: 8px;
  }

  .cf-size-block--nav .cf-size-block__divider {
    display: none;
  }

  .cf-size-block--nav .cf-size-block__col {
    flex: 0 0 auto;
    max-width: none;
    padding: 0;
    gap: 4px;
    background: transparent;
    border-radius: 0;
  }

  .cf-size-block--nav .cf-size-block__head {
    flex-direction: row;
    align-items: center;
    gap: 0;
    justify-content: flex-start;
  }

  .cf-size-block--nav .cf-size-block__icon {
    display: none;
  }

  .cf-size-block--nav .cf-size-block__label {
    font-size: 13px;
    font-weight: 500;
    line-height: 15px;
    padding: 0;
    color: rgba(0, 0, 0, 0.55);
    text-align: left;
  }

  .cf-size-block--nav .cf-size-block__input-box {
    width: 56px;
    max-width: 56px;
    height: 32px;
    padding: 4px 8px;
    border: 1px solid var(--cf-border);
    border-radius: 6px;
    background: var(--cf-bg);
    gap: 4px;
  }

  .cf-size-block--nav .cf-size-block__input {
    font-size: 13px;
    font-weight: 500;
  }

  .cf-size-block--nav .cf-size-block__unit {
    font-size: 11px;
    font-weight: 400;
    color: rgba(0, 0, 0, 0.45);
  }

  .cf-size-block--nav .cf-size-block__tolerance {
    display: none;
  }

  .cf-nav__item-text {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    flex: 1;
    min-width: 0;
    overflow: hidden;
  }

  .cf-nav__item-label {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .cf-nav__hint {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 16px;
    height: 16px;
    border: none;
    border-radius: 0;
    color: var(--cf-border, #a9bcdb);
    cursor: help;
    line-height: 0;
    background: transparent;
  }

  .cf-nav__hint:hover,
  .cf-nav__hint.cf-filter-hint--open {
    color: var(--cf-accent, #5d80bc);
  }

  .cf-nav__chevron {
    display: flex;
    align-items: center;
    flex-shrink: 0;
    color: rgba(0, 0, 0, 0.35);
  }

  .cf-nav__chevron svg {
    display: block;
  }

  .cf-panel__section-head .cf-panel__search-wrap {
    margin-bottom: 0;
  }
}

@media (max-width: 900px) {
  .cf-modal {
    top: 0;
    left: 0;
    transform: none;
    width: 96vw;
    max-width: 100vw;
    max-height: 100vh;
    height: 100vh;
    border-radius: 0;
  }

  .cf-drawer-enter-from .cf-modal,
  .cf-drawer-leave-to .cf-modal {
    transform: translateX(-100%);
    opacity: 1;
  }

  .cf-modal__footer {
    flex-direction: column;
    gap: 12px;
  }

  .cf-footer__apply {
    flex: 1;
    width: 100%;
    min-width: 0;
    max-width: none;
  }

  .cf-footer__reset {
    font-size: 14px;
  }

  .cf-modal__body {
    flex-direction: column;
  }

  .cf-modal__nav {
    width: 100%;
    border-right: none;
    border-bottom: none;
    max-height: 40vh;
  }

  .cf-value-grid {
    grid-template-columns: 1fr;
  }
}

/* Scroll lock while mobile sheet is open (Apple-style fixed body) */
@media (max-width: 900px) {
  body.cf-filter-sheet-open {
    position: fixed;
    left: 0;
    right: 0;
    width: 100%;
    overflow: hidden;
  }
}

body.cf-filter-sheet-open .b24-widget-button-wrapper,
body.cf-filter-modal-open .b24-widget-button-wrapper {
  display: none !important;
  visibility: hidden !important;
  pointer-events: none !important;
}

/* Mobile sheet — slide from left */
.cf-sheet__overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--cf-overlay);
  z-index: 10000;
  overscroll-behavior: none;
  display: flex;
  align-items: flex-end;
  justify-content: flex-start;
}

.cf-sheet {
  position: relative;
  height: 95vh;
  height: 95svh;
  max-height: 95vh;
  max-height: 95svh;
  width: calc(100% - 10px);
  max-width: calc(100vw - 10px);
  z-index: 10001;
  background: var(--cf-bg);
  border-radius: 0 25px 0 0;
  padding: 25px 0 env(safe-area-inset-bottom, 0px) 10px;
  box-sizing: border-box;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transform: translateX(-100%);
  transition: transform var(--cf-transition-sheet);
  touch-action: pan-y;
}

.cf-sheet--open {
  transform: translateX(0);
}

.cf-sheet-enter-active,
.cf-sheet-leave-active {
  transition: opacity var(--cf-transition-sheet);
}

.cf-sheet-enter-active .cf-sheet,
.cf-sheet-leave-active .cf-sheet {
  transition: transform var(--cf-transition-sheet);
}

.cf-sheet-enter-from,
.cf-sheet-leave-to {
  opacity: 0;
}

.cf-sheet-enter-to,
.cf-sheet-leave-from {
  opacity: 1;
}

.cf-sheet-enter-from .cf-sheet,
.cf-sheet-leave-to .cf-sheet {
  transform: translateX(-100%);
}

.cf-sheet__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 10px 16px 0;
  flex: 0 0 auto;
}

.cf-sheet__title {
  margin: 0;
  font-size: 20px;
  font-weight: 600;
  line-height: 24px;
  color: #000;
}

.cf-sheet__close {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8px;
  border: none;
  background: transparent;
  cursor: pointer;
  color: var(--cf-text);
}

.cf-sheet__content {
  flex: 1 1 auto;
  min-height: 0;
  height: 0;
  min-width: 0;
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
  touch-action: pan-y;
  display: flex;
  flex-direction: column;
  gap: 0;
  padding: 0 10px 16px 0;
  scroll-padding-bottom: 16px;
}

.cf-sheet__divider {
  height: 1px;
  margin: 15px 0;
  border: none;
  background: rgba(0, 0, 0, 0.1);
  flex-shrink: 0;
}

.cf-sheet__footer {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  flex: 0 0 auto;
  margin-top: auto;
  width: 100%;
  padding: 12px 10px 14px 0;
  border-top: 1px solid var(--cf-border-light, #e8eef7);
  background: var(--cf-bg);
  position: relative;
  z-index: 3;
  box-sizing: border-box;
}

.cf-sheet__apply {
  display: flex;
  align-items: center;
  justify-content: center;
  width: calc(100% - 22px);
  max-width: 327px;
  height: 50px;
  min-height: 50px;
  padding: 10px 0;
  box-sizing: border-box;
  border: none;
  border-radius: 9999px;
  background: #5479b8;
  color: #fff;
  font-size: 16px;
  font-weight: 600;
  line-height: 20px;
  font-family: inherit;
  cursor: pointer;
}

.cf-sheet__apply:hover {
  background: var(--cf-accent-hover);
}

.cf-sheet__reset {
  display: flex;
  align-items: center;
  justify-content: center;
  width: calc(100% - 55px);
  max-width: 294px;
  min-height: 35px;
  padding: 10px;
  box-sizing: border-box;
  border: none;
  border-radius: 10px;
  background: #eeeff1;
  font-size: 14px;
  font-weight: 500;
  line-height: 15px;
  color: #000;
  font-family: inherit;
  cursor: pointer;
}

.cf-sheet__reset:hover {
  background: #e4e5e7;
}

/* Mobile sheet — Figma 8238:4899 / 8283:8009 */
.cf-sheet .cf-size-block {
  gap: 15px;
  margin-bottom: 0;
  width: 100%;
  max-width: 100%;
}

.cf-sheet .cf-size-block__slider-wrap {
  max-width: 100%;
}

.cf-sheet .cf-size-block__columns {
  padding-left: 0;
  min-width: 0;
}

.cf-sheet .cf-size-block__col {
  flex: 1 1 0;
  min-width: 0;
  max-width: none;
}

.cf-sheet .cf-size-block__input-box {
  width: 100%;
  max-width: none;
}

.cf-sheet .cf-modef--inline {
  width: 100%;
  max-width: 100%;
}

.cf-sheet .cf-sidebar-group,
.cf-sheet .cf-sidebar-group__body,
.cf-sheet .cf-sidebar-group__search,
.cf-sheet .cf-sidebar-group__list {
  min-width: 0;
  max-width: 100%;
}

.cf-sheet .cf-size-block__title {
  font-size: 16px;
  font-weight: 600;
  line-height: 20px;
  color: #000;
}

.cf-sheet .cf-sidebar-group__range,
.cf-sheet .cf-range-fields__inputs,
.cf-sheet .cf-range-fields__slider {
  max-width: 100%;
}

.cf-sheet .cf-range-fields__input-wrap {
  max-width: none;
}

.cf-sheet .cf-sidebar-group {
  gap: 15px;
  width: 100%;
  max-width: 100%;
}

.cf-sheet .cf-sidebar-group--sheet.cf-sidebar-group--open .cf-sidebar-group__body {
  display: flex;
  flex-direction: column;
  gap: 13px;
  max-height: 256px;
  overflow: hidden;
  min-height: 0;
  padding-bottom: 0;
}

.cf-sheet .cf-sidebar-group--sheet .cf-sidebar-group__search {
  flex-shrink: 0;
}

.cf-sheet .cf-sidebar-group--sheet .cf-sidebar-group__list {
  flex: 1 1 auto;
  min-height: 0;
  max-height: none;
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
  touch-action: pan-y;
  width: 100%;
  padding: 0 10px 12px 0;
  scroll-padding-bottom: 12px;
  box-sizing: border-box;
}

.cf-sheet .cf-sidebar-group--sheet .cf-sidebar-group__row-label {
  width: 100%;
}

.cf-sheet .cf-sidebar-group--sheet .cf-sidebar-group__row-content {
  min-width: 0;
  width: 100%;
}

.cf-sheet .cf-sidebar-group__title {
  font-size: 16px;
  font-weight: 600;
  line-height: 20px;
}

.cf-sheet .cf-sidebar-group__body {
  gap: 15px;
}

.cf-sheet .cf-sidebar-group__search-input {
  font-size: 14px;
}

/* Sidebar skeleton — Frame 492 layout */
@keyframes cf-shimmer {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

.cf-skeleton {
  border-radius: 6px;
  background: linear-gradient(90deg, #e5e7eb 25%, #f3f4f6 50%, #e5e7eb 75%);
  background-size: 200% 100%;
  animation: cf-shimmer 1.2s ease-in-out infinite;
}

.cf-sidebar--skeleton {
  pointer-events: none;
  user-select: none;
}

.cf-sidebar--skeleton .cf-sidebar__card {
  gap: 20px;
}

.cf-skeleton-block {
  display: flex;
  flex-direction: column;
  gap: 19px;
}

.cf-skeleton--title {
  width: 183px;
  height: 20px;
  border-radius: 4px;
}

.cf-skeleton-size {
  display: flex;
  gap: 5px;
  padding-left: 4px;
  width: 100%;
}

.cf-skeleton-size__col {
  flex: 1 1 106px;
  max-width: 106px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 10px 8px;
}

.cf-skeleton--icon {
  width: 20px;
  height: 20px;
  border-radius: 50%;
}

.cf-skeleton--label {
  width: 74px;
  height: 17px;
  border-radius: 4px;
}

.cf-skeleton--input {
  width: 90px;
  height: 37px;
  border-radius: 5px;
}

.cf-skeleton-tolerance {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.cf-skeleton--tolerance-labels {
  width: 100%;
  height: 17px;
  border-radius: 4px;
}

.cf-skeleton--slider {
  width: 100%;
  height: 19px;
  border-radius: 30px;
}

.cf-skeleton-accordion {
  width: 100%;
}

.cf-skeleton--accordion-head {
  width: 100%;
  height: 20px;
  border-radius: 4px;
}

.cf-skeleton--link {
  width: 169px;
  height: 17px;
  margin: 10px;
  margin-left: auto;
  border-radius: 4px;
}

.cf-skeleton--btn-primary {
  width: 100%;
  height: 50px;
  border-radius: 7px;
}

.cf-skeleton--btn-secondary {
  width: 100%;
  height: 37px;
  border-radius: 5px;
}

.cf-skeleton--chips-label {
  width: 120px;
  height: 16px;
  border-radius: 4px;
}

.cf-skeleton--chip {
  width: 140px;
  height: 40px;
  border-radius: 20px;
  flex-shrink: 0;
}

.cf-skeleton--chip-short {
  width: 100px;
}

.cf-skeleton--chips-reset {
  width: 80px;
  height: 16px;
  border-radius: 4px;
  flex-shrink: 0;
}

.cf-skeleton--chips-reset--mobile {
  display: none;
}

.cf-shell__sidebar--ready {
  animation: cf-sidebar-in 0.2s ease-out;
}

@keyframes cf-sidebar-in {
  from { opacity: 0; }
  to { opacity: 1; }
}

#js-catalog-result {
  position: relative;
  min-height: 120px;
}

#js-catalog-result.is-loading {
  pointer-events: none;
}

.cf-catalog--skeleton {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 0 0 75px;
}

.cf-catalog-skeleton-card {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 10px 32px 25px;
  background: #fff;
}

.cf-catalog-skeleton__image {
  width: 100%;
  height: 188px;
  border-radius: 6px;
}

.cf-catalog-skeleton__center {
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex: 1 1 auto;
  min-width: 0;
}

.cf-catalog-skeleton__title {
  width: 72%;
  height: 20px;
  border-radius: 4px;
}

.cf-catalog-skeleton__article {
  width: 120px;
  height: 16px;
  border-radius: 4px;
}

.cf-catalog-skeleton__line {
  width: 100%;
  height: 14px;
  border-radius: 4px;
}

.cf-catalog-skeleton__line--short {
  width: 55%;
}

.cf-catalog-skeleton__col {
  display: flex;
  flex-direction: column;
  gap: 14px;
  width: 100%;
}

.cf-catalog-skeleton__price {
  width: 140px;
  height: 28px;
  border-radius: 4px;
}

.cf-catalog-skeleton__btn {
  width: 100%;
  max-width: 181px;
  height: 44px;
  border-radius: 7px;
}

@media (min-width: 1231px) {
  .cf-catalog-skeleton-card {
    flex-direction: row;
    align-items: flex-start;
    justify-content: space-between;
    padding: 25px 65px 25px 32px;
  }

  .cf-catalog-skeleton__image {
    flex: 0 1 271px;
    width: 271px;
    height: 188px;
  }

  .cf-catalog-skeleton__center {
    margin-left: 40px;
  }

  .cf-catalog-skeleton__col {
    flex: 0 0 18%;
    min-width: 181px;
    margin-left: 30px;
    align-items: flex-start;
  }
}

@media (max-width: 1230px) {
  .cf-catalog-skeleton-card {
    max-width: 420px;
    margin: 0 auto 10px;
  }
}

/* Figma Frame 332 — заголовок каталога + счётчик */
.catalog__title-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  padding: 10px 0;
  min-width: 0;
}

.catalog__title-row .catalog__title {
  margin: 0;
}

.catalog__title-count {
  padding: 10px;
  font-family: Montserrat, "Open Sans", system-ui, sans-serif;
  font-size: 16px;
  font-weight: 500;
  line-height: normal;
  color: #717171;
  white-space: nowrap;
}

@media (max-width: 900px) {
  .catalog__title-row .catalog__title {
    margin: 0 0 20px;
  }
}
