.cp-main {
  padding-bottom: 80px;
}

.cp-grid {
  width: 100%;
  max-width: 1280px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  margin: 0 auto 48px;
}

.cp-card {
  --cp-card-body-height: 186px;
  display: flex;
  flex-direction: column;
  background: #ffffff;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: var(--cc-shadow, 0 4px 10px rgba(0, 0, 0, 0.10));
}

.cp-card__img-frame {
  padding: 10px;
  background: #ffffff;
  flex-shrink: 0;
}

.cp-card__img-inner {
  position: relative;
  width: 100%;
  aspect-ratio: 380 / 362;
  border-radius: 16px;
  overflow: hidden;
  background: #ffffff;
}

.cp-card__img-link {
  display: block;
  position: absolute;
  inset: 0;
}

.cp-card__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: opacity 180ms linear;
}

.cp-card__img--hidden {
  opacity: 0;
}

.cp-card__no-image {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--cc-muted, #9ca3af);
  font-size: 14px;
}

.cp-card__body {
  display: flex;
  flex-direction: column;
  gap: 28px;
  padding: 24px;
  height: var(--cp-card-body-height);
  flex: 0 0 var(--cp-card-body-height);
  min-width: 0;
  box-sizing: border-box;
}

.cp-card__title {
  margin: 0;
  display: -webkit-box;
  min-height: calc(2 * 1.3em);
  max-width: 100%;
  min-width: 0;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  font-family: 'Raleway', sans-serif;
  font-weight: 700;
  font-size: 22px;
  line-height: 130%;
  color: var(--cc-text, #42464c);
}

.cp-card__actions {
  width: calc(100% + 28px);
  margin: 0 -14px;
  display: flex;
  align-items: center;
}

.cp-card__btn-detail {
  width: 100%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  height: 53px;
  padding: 0 16px;
  border: 1.5px solid var(--cc-accent, #fe7250);
  border-radius: 16px;
  background: var(--cc-accent, #fe7250);
  color: #ffffff;
  font-family: 'Raleway', sans-serif;
  font-weight: 600;
  font-size: 18px;
  line-height: 1;
  text-decoration: none;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.2s ease, color 0.2s ease;
}

.cp-card__btn-detail:hover,
.cp-card__btn-detail:focus-visible {
  background: transparent;
  color: var(--cc-accent, #fe7250);
  outline: none;
}

.cp-card__btn-detail--disabled {
  opacity: 0.4;
  pointer-events: none;
  cursor: default;
}

.cp-empty {
  padding: 48px 24px;
  border: 1px dashed var(--cc-muted, #9ca3af);
  border-radius: 16px;
  text-align: center;
  color: var(--cc-muted, #9ca3af);
  font-size: 16px;
}

.cp-paging {
  display: flex;
  justify-content: center;
  margin-top: 40px;
}

.cp-paging__inner {
  display: flex;
  align-items: center;
  gap: 10px;
}

.cp-paging__pages {
  display: flex;
  align-items: center;
  gap: 10px;
}

.cp-paging__pages--mobile {
  display: none;
}

.cp-paging__arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  padding: 4px;
  flex-shrink: 0;
  text-decoration: none;
  cursor: pointer;
  box-sizing: content-box;
}

.cp-paging__arrow--disabled {
  cursor: default;
  pointer-events: none;
}

.cp-paging__arrow svg path {
  transition: stroke 0.15s ease, stroke-width 0.15s ease;
}

.cp-paging__arrow--active svg path {
  stroke: #42424c;
}

.cp-paging__arrow--disabled svg path {
  stroke: #d1d5db;
}

.cp-paging__arrow--active:hover svg path,
.cp-paging__arrow--active:focus-visible svg path {
  stroke-width: 2.5;
  outline: none;
}

.cp-paging__num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  padding: 0 3px;
  font-family: 'Raleway', sans-serif;
  font-size: 14px;
  font-weight: 600;
  color: #42424c;
  text-decoration: none;
  transition: text-shadow 0.15s ease;
}

.cp-paging__num--active {
  background-color: var(--cc-accent, #fe7250);
  color: #ffffff;
  border-radius: 16px;
  width: 40px;
  min-width: 40px;
  padding: 0;
  cursor: default;
  pointer-events: none;
}

.cp-paging__num:not(.cp-paging__num--active):hover,
.cp-paging__num:not(.cp-paging__num--active):focus-visible {
  text-shadow: 0 0 0.5px #42424c, 0 0 0.5px #42424c;
  outline: none;
}

.cp-paging__ellipsis {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 40px;
  padding: 0 3px;
  font-family: 'Raleway', sans-serif;
  font-size: 14px;
  font-weight: 600;
  color: #42424c;
  cursor: default;
  user-select: none;
}

.cp-filters {
  padding-bottom: 32px;
}

.cp-filters__bar {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
}

.cp-filters__control {
  width: 220px;
  display: flex;
  align-items: center;
  gap: 0;
  flex-shrink: 0;
}

.cp-filters__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 220px;
  height: 53px;
  padding: 0;
  border-radius: 16px;
  font-family: 'Raleway', sans-serif;
  font-weight: 600;
  font-size: 18px;
  line-height: 1;
  white-space: nowrap;
  cursor: pointer;
  flex-shrink: 0;
  transition:
    background 0.2s ease,
    color 0.2s ease,
    opacity 0.2s ease,
    border-color 0.2s ease,
    width 0.2s ease;
}

.cp-filters__control > .cp-filters__btn {
  width: 100%;
  min-width: 0;
  flex: 1 1 auto;
}

.cp-filters__btn-label {
  display: block;
  max-width: 100%;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.cp-filters__control--active:hover,
.cp-filters__control--active:focus-within {
  gap: 8px;
}

.cp-filters__control--active:hover > .cp-filters__btn,
.cp-filters__control--active:focus-within > .cp-filters__btn {
  width: calc(100% - 61px);
}

.cp-filters__control--active:hover > .cp-filters__btn--active,
.cp-filters__control--active:focus-within > .cp-filters__btn--active {
  background: #ffffff;
  color: var(--cc-accent, #fe7250);
}

.cp-filters__clear {
  flex: 0 0 0;
  width: 0;
  height: 53px;
  padding: 0;
  overflow: hidden;
  border: 0 solid var(--cc-accent, #fe7250);
  border-radius: 16px;
  background: #ffffff;
  color: var(--cc-accent, #fe7250);
  opacity: 0;
  pointer-events: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  -webkit-appearance: none;
  appearance: none;
  transition:
    flex-basis 0.2s ease,
    width 0.2s ease,
    border-width 0.2s ease,
    opacity 0.16s ease,
    background 0.2s ease,
    color 0.2s ease;
}

.cp-filters__control--active:hover .cp-filters__clear,
.cp-filters__control--active:focus-within .cp-filters__clear {
  flex-basis: 53px;
  width: 53px;
  border-width: 1.5px;
  background: var(--cc-accent, #fe7250);
  color: #ffffff;
  opacity: 1;
  pointer-events: auto;
}

.cp-filters__control--active .cp-filters__clear:hover,
.cp-filters__control--active .cp-filters__clear:focus-visible {
  background: #ffffff;
  color: var(--cc-accent, #fe7250);
  outline: none;
}

.cp-filters__clear svg {
  display: block;
  width: 53px;
  height: 53px;
  flex-shrink: 0;
}

.cp-filters__btn--filled {
  background: var(--cc-accent, #fe7250);
  color: #ffffff;
  border: 1.5px solid var(--cc-accent, #fe7250);
  transition: background 0.2s ease, color 0.2s ease;
}

.cp-filters__btn--filled:hover,
.cp-filters__btn--filled:focus-visible {
  background: transparent;
  color: var(--cc-accent, #fe7250);
  outline: none;
}

.cp-filters__btn--outlined {
  background: #ffffff;
  color: var(--cc-accent, #fe7250);
  border: 1.5px solid var(--cc-accent, #fe7250);
  transition: background 0.2s ease, color 0.2s ease;
}

.cp-filters__btn--outlined:hover,
.cp-filters__btn--outlined:focus-visible {
  background: var(--cc-accent, #fe7250);
  color: #ffffff;
  outline: none;
}

.cp-filters__btn--active {
  background: var(--cc-accent, #fe7250);
  color: #ffffff;
  border-color: var(--cc-accent, #fe7250);
}

.cp-filters__btn--active:hover,
.cp-filters__btn--active:focus-visible {
  background: transparent;
  color: var(--cc-accent, #fe7250);
  outline: none;
}

.cp-filters__item {
  position: relative;
}

.cp-filter-popup {
  display: none;
}

.cp-filter-popup:not([hidden]) {
  position: absolute;
  top: calc(100% + 12px);
  left: 0;
  z-index: 200;
  width: 453px;
  background: #ffffff;
  border-radius: 24px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12), 0 2px 8px rgba(0, 0, 0, 0.06);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.cp-filter-popup__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  max-height: 340px;
  overflow-y: auto;
}

.cp-filter-popup__item {
  display: flex;
}

.cp-filter-popup__row {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 10px 12px;
  border-radius: 12px;
  cursor: pointer;
  transition: background 0.15s ease;
  font-family: 'Raleway', sans-serif;
  font-size: 16px;
  font-weight: 400;
  color: var(--cc-text, #42424c);
  user-select: none;
}

.cp-filter-popup__row:hover {
  background: #f3f4f6;
}

.cp-filter-popup__check-wrap {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.cp-filter-popup__check {
  appearance: none;
  -webkit-appearance: none;
  width: 20px;
  height: 20px;
  border: 1.5px solid #d1d5db;
  border-radius: 5px;
  background: #ffffff;
  cursor: pointer;
  position: absolute;
  inset: 0;
  margin: 0;
  transition: background 0.15s ease, border-color 0.15s ease;
}

.cp-filter-popup__row:hover .cp-filter-popup__check:not(:checked) {
  background: var(--cc-accent, #fe7250);
  border-color: var(--cc-accent, #fe7250);
}

.cp-filter-popup__row:hover .cp-filter-popup__check:not(:checked)::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #ffffff;
}

.cp-filter-popup__check:checked {
  background: var(--cc-accent, #fe7250);
  border-color: var(--cc-accent, #fe7250);
}

.cp-filter-popup__check:checked::after {
  content: '';
  position: absolute;
  top: 3px;
  left: 6px;
  width: 5px;
  height: 9px;
  border: 2px solid #ffffff;
  border-top: none;
  border-left: none;
  transform: rotate(45deg);
}

.cp-filter-popup__footer {
  padding-top: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.cp-filter-popup__apply,
.cp-filter-popup__reset {
  width: 100%;
}

@media (max-width: 1100px) {
  .cp-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }
}

@media (max-width: 767px) {
  .cp-main {
    padding-bottom: 40px;
  }

  .cp-paging__pages--desktop {
    display: none;
  }

  .cp-paging__pages--mobile {
    display: flex;
  }

  .cp-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 20px;
    row-gap: 12px;
    margin-bottom: 0;
  }

  .cp-card {
    min-width: 0;
    border-radius: 16px;
  }

  .cp-card__img-frame {
    box-sizing: border-box;
    width: 100%;
    height: auto;
    aspect-ratio: 1 / 1;
    padding: 0;
  }

  .cp-card__img-inner {
    width: 100%;
    height: 100%;
    aspect-ratio: 1 / 1;
    border-radius: 16px;
  }

  .cp-card__img {
    object-fit: contain;
  }

  .cp-card__body {
    height: 150px;
    flex: 0 0 150px;
    padding: 16px;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 12px;
  }

  .cp-card__title {
    flex: 0 0 auto;
    height: calc(4 * 1.2em);
    min-height: 0;
    font-size: 14px;
    font-weight: 600;
    line-height: 120%;
    color: #42424c;
    text-align: center;
    -webkit-line-clamp: 4;
    line-clamp: 4;
  }

  .cp-card__actions {
    flex: 0 0 auto;
    width: 100%;
    margin: auto 0 0;
  }

  .cp-card__btn-detail {
    width: 100%;
    height: 38px;
    padding: 0 12px;
    border-radius: 12px;
    background: var(--cc-accent, #fe7250);
    color: #ffffff;
    font-size: 16px;
    line-height: 1;
    transition: none;
  }

  .cp-card__btn-detail:hover,
  .cp-card__btn-detail:focus-visible,
  .cp-card__btn-detail:active {
    background: var(--cc-accent, #fe7250);
    color: #ffffff;
    border-color: var(--cc-accent, #fe7250);
    outline: none;
  }

  .cp-filters {
    padding-top: 0;
    padding-bottom: 40px;
  }

  .cp-filters__bar {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
    width: 100%;
  }

  .cp-filters__control--all {
    order: 3;
  }

  .cp-filters__item--categories {
    order: 1;
  }

  .cp-filters__item--types {
    order: 2;
  }

  .cp-filters__btn {
    width: 100%;
    height: 38px;
    padding: 0 16px;
    box-sizing: border-box;
    border-radius: 16px;
    background: #ffffff;
    color: var(--cc-accent, #fe7250);
    font-size: 16px;
    line-height: 1;
  }

  .cp-filters__control {
    width: 100%;
  }

  .cp-filters__btn--filled,
  .cp-filters__btn--outlined,
  .cp-filters__btn--active,
  .cp-filters__btn--filled:hover,
  .cp-filters__btn--filled:focus-visible,
  .cp-filters__btn--outlined:hover,
  .cp-filters__btn--outlined:focus-visible,
  .cp-filters__btn--active:hover,
  .cp-filters__btn--active:focus-visible,
  .cp-filters__control--active:hover > .cp-filters__btn--active,
  .cp-filters__control--active:focus-within > .cp-filters__btn--active {
    background: #ffffff;
    color: var(--cc-accent, #fe7250);
    border-color: var(--cc-accent, #fe7250);
  }

  .cp-filters__control--active:hover,
  .cp-filters__control--active:focus-within {
    gap: 0;
  }

  .cp-filters__btn--mobile-filled,
  .cp-filters__btn--mobile-filled:hover,
  .cp-filters__btn--mobile-filled:focus-visible,
  .cp-filters__btn--mobile-filled:active,
  .cp-filters__control--active:hover > .cp-filters__btn--mobile-filled,
  .cp-filters__control--active:focus-within > .cp-filters__btn--mobile-filled {
    background: var(--cc-accent, #fe7250);
    color: #ffffff;
    border-color: var(--cc-accent, #fe7250);
  }

  .cp-filters__clear {
    display: none;
  }

  .cp-filters__clear svg {
    width: 38px;
    height: 38px;
  }

  .cp-filters__control--active:hover > .cp-filters__btn,
  .cp-filters__control--active:focus-within > .cp-filters__btn {
    width: 100%;
  }

  .cp-filters__control--active:hover .cp-filters__clear,
  .cp-filters__control--active:focus-within .cp-filters__clear {
    flex-basis: 0;
    width: 0;
  }
}

/* ── All-filters Drawer ─────────────────────────────────────────── */

.cp-filter-drawer {
  position: fixed;
  inset: 0;
  z-index: 600;
  display: flex;
  align-items: stretch;
}

.cp-filter-drawer[hidden] {
  display: none;
}

.cp-filter-drawer__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  opacity: 0;
  transition: opacity 0.3s ease;
  cursor: pointer;
}

.cp-filter-drawer--open .cp-filter-drawer__backdrop {
  opacity: 1;
}

.cp-filter-drawer__panel {
  position: relative;
  z-index: 1;
  width: 493px;
  max-width: 100%;
  height: 100%;
  background: var(--cc-bg, #f9f9fa);
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 12px 0;
  overflow: hidden;
  transform: translateX(-100%);
  transition: transform 0.3s ease;
}

.cp-filter-drawer--open .cp-filter-drawer__panel {
  transform: translateX(0);
}

.cp-filter-drawer__header {
  flex-shrink: 0;
  width: 453px;
  max-width: 100%;
  box-sizing: border-box;
  margin: 0 auto;
  background: var(--cc-card-bg, #ffffff);
  border-radius: 24px;
  box-shadow: var(--cc-shadow, 0 4px 10px rgba(0, 0, 0, 0.10));
  padding: 20px 24px;
}

.cp-filter-drawer__header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.cp-filter-drawer__title {
  margin: 0;
  font-family: 'Raleway', sans-serif;
  font-weight: 600;
  font-size: 36px;
  line-height: 110%;
  color: var(--cc-text, #42464c);
}

/* Close button */
.cp-filter-drawer__close {
  flex-shrink: 0;
  width: 37px;
  height: 37px;
  margin-right: -9px;
  padding: 0;
  border: none;
  background: transparent;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  -webkit-appearance: none;
  appearance: none;
  transition: background 0.15s ease;
}

.cp-filter-drawer__close:hover,
.cp-filter-drawer__close:focus-visible {
  background: rgba(0, 0, 0, 0.06);
  outline: none;
}

.cp-filter-drawer__close svg {
  display: block;
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

/* Body – container for filter cards */
.cp-filter-drawer__body {
  flex: 1 1 auto;
  min-height: 0;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* Generic filter card (plashka) inside the drawer */
.cp-filter-drawer__card {
  width: 453px;
  max-width: 100%;
  box-sizing: border-box;
  margin: 0 auto;
  background: var(--cc-card-bg, #ffffff);
  border-radius: 24px;
  box-shadow: var(--cc-shadow, 0 4px 10px rgba(0, 0, 0, 0.10));
  padding: 20px 24px;
}

.cp-filter-drawer__card-title {
  margin: 0;
  font-family: 'Raleway', sans-serif;
  font-weight: 700;
  font-size: 28px;
  line-height: 130%;
  color: var(--cc-text, #42464c);
}

.cp-filter-drawer__toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: 100%;
  min-height: 37px;
  padding: 0;
  border: none;
  background: transparent;
  color: inherit;
  font: inherit;
  text-align: left;
  cursor: pointer;
  -webkit-appearance: none;
  appearance: none;
}

.cp-filter-drawer__toggle:focus-visible {
  outline: 2px solid var(--cc-accent, #fe7250);
  outline-offset: 4px;
  border-radius: 8px;
}

.cp-filter-drawer__toggle-icon {
  flex-shrink: 0;
  color: var(--cc-text, #42464c);
  transition: transform 0.2s ease;
}

.cp-filter-drawer__toggle-icon path {
  stroke-width: 1.2;
}

.cp-filter-drawer__toggle[aria-expanded="true"] .cp-filter-drawer__toggle-icon {
  transform: rotate(180deg);
}

.cp-filter-drawer__content {
  margin-top: 16px;
}

.cp-filter-drawer__content[hidden] {
  display: none;
}

/* List resets max-height so height is fully dynamic */
.cp-filter-drawer__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
}

/* Override row typography for drawer (18px Regular instead of 16px) */
.cp-filter-drawer__row {
  font-size: 18px;
  font-weight: 400;
}

/* ── Size range filters (Длина / Ширина / Высота) ───────────────── */

.cp-filter-drawer__sizes {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.cp-filter-drawer__size-filter {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.cp-filter-drawer__size-filter + .cp-filter-drawer__size-filter {
  padding-top: 24px;
  border-top: 1px solid #e5e7eb;
}

.cp-filter-drawer__size-title {
  margin: 0;
  font-family: 'Raleway', sans-serif;
  font-weight: 600;
  font-size: 20px;
  line-height: 130%;
  color: var(--cc-text, #42464c);
}

.cp-filter-drawer__range {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.cp-filter-drawer__range-inputs {
  display: flex;
  gap: 24px;
}

.cp-filter-drawer__range-input {
  flex: 1;
  min-width: 0;
  height: 48px;
  padding: 0 16px;
  border: 1.5px solid #d1d5db;
  border-radius: 12px;
  font-family: 'Raleway', sans-serif;
  font-size: 18px;
  font-weight: 400;
  color: var(--cc-text, #42464c);
  background: #ffffff;
  outline: none;
  -moz-appearance: textfield;
  transition: border-color 0.15s ease;
}

.cp-filter-drawer__range-input::-webkit-outer-spin-button,
.cp-filter-drawer__range-input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.cp-filter-drawer__range-input:focus {
  border-color: var(--cc-accent, #fe7250);
}

/* Dual-range slider */
.cp-filter-drawer__range-slider {
  position: relative;
  height: 16px;
}

/* Gray track background */
.cp-filter-drawer__range-track {
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  height: 4px;
  transform: translateY(-50%);
  border-radius: 4px;
  background: #e5e7eb;
  pointer-events: none;
}

/* Orange fill between the two thumbs */
.cp-filter-drawer__range-fill {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 4px;
  background: var(--cc-accent, #fe7250);
  pointer-events: none;
}

/* The two range inputs stacked on top of each other */
.cp-filter-drawer__range-thumb {
  position: absolute;
  top: 50%;
  left: 0;
  width: 100%;
  height: 4px;
  transform: translateY(-50%);
  -webkit-appearance: none;
  appearance: none;
  background: transparent;
  border: none;
  outline: none;
  pointer-events: none;
  margin: 0;
}

.cp-filter-drawer__range-thumb[data-thumb="min"] { z-index: 3; }
.cp-filter-drawer__range-thumb[data-thumb="max"] { z-index: 4; }

.cp-filter-drawer__range-thumb::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 16px;
  height: 16px;
  border-radius: 4px;
  background: var(--cc-accent, #fe7250);
  cursor: pointer;
  pointer-events: all;
}

.cp-filter-drawer__range-thumb::-moz-range-thumb {
  width: 16px;
  height: 16px;
  border-radius: 4px;
  background: var(--cc-accent, #fe7250);
  cursor: pointer;
  pointer-events: all;
  border: none;
}

.cp-filter-drawer__footer {
  flex-shrink: 0;
  width: 453px;
  max-width: 100%;
  box-sizing: border-box;
  margin: 0 auto;
  background: var(--cc-card-bg, #ffffff);
  border-radius: 24px;
  box-shadow: var(--cc-shadow, 0 4px 10px rgba(0, 0, 0, 0.10));
  padding: 20px 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.cp-filter-drawer__apply-btn,
.cp-filter-drawer__reset-btn {
  width: 100%;
  height: 53px;
  padding: 0 16px;
  border: 1.5px solid var(--cc-accent, #fe7250);
  border-radius: 16px;
  font-family: 'Raleway', sans-serif;
  font-weight: 600;
  font-size: 18px;
  line-height: 1;
  cursor: pointer;
  -webkit-appearance: none;
  appearance: none;
  transition: background 0.2s ease, color 0.2s ease;
}

.cp-filter-drawer__apply-btn {
  background: var(--cc-accent, #fe7250);
  color: #ffffff;
}

.cp-filter-drawer__apply-btn:hover,
.cp-filter-drawer__apply-btn:focus-visible {
  background: transparent;
  color: var(--cc-accent, #fe7250);
  outline: none;
}

.cp-filter-drawer__reset-btn {
  background: transparent;
  color: var(--cc-accent, #fe7250);
}

.cp-filter-drawer__reset-btn[hidden] {
  display: none;
}

.cp-filter-drawer__reset-btn:hover,
.cp-filter-drawer__reset-btn:focus-visible {
  background: var(--cc-accent, #fe7250);
  color: #ffffff;
  outline: none;
}

/* Body scroll lock */
body.cp-drawer-open {
  overflow: hidden;
}

@media (max-width: 500px) {
  .cp-filter-drawer__panel {
    width: 100%;
    padding: 12px;
  }
}

@media (max-width: 767px) {
  .cp-filter-drawer__panel {
    width: 100%;
    max-width: none;
    padding: 16px;
    gap: 12px;
    background: var(--cc-bg, #f9f9fa);
  }

  .cp-filter-drawer__header,
  .cp-filter-drawer__card,
  .cp-filter-drawer__footer {
    width: 100%;
    max-width: none;
    margin: 0;
    padding: 16px;
    border-radius: 16px;
  }

  .cp-filter-drawer__header-inner {
    min-height: 32px;
  }

  .cp-filter-drawer__title {
    font-size: 28px;
    font-weight: 700;
    line-height: 110%;
  }

  .cp-filter-drawer__close {
    width: 32px;
    height: 32px;
    margin-right: -4px;
    border-radius: 8px;
  }

  .cp-filter-drawer__close:hover,
  .cp-filter-drawer__close:focus-visible,
  .cp-filter-drawer__close:active {
    background: transparent;
  }

  .cp-filter-drawer__close svg {
    width: 18px;
    height: 18px;
  }

  .cp-filter-drawer__body {
    gap: 12px;
  }

  .cp-filter-drawer__card-title {
    font-size: 22px;
    line-height: 130%;
  }

  .cp-filter-drawer__toggle {
    min-height: 29px;
    gap: 8px;
  }

  .cp-filter-drawer__toggle-icon {
    width: 18px;
    height: 18px;
  }

  .cp-filter-drawer__content {
    margin-top: 8px;
  }

  .cp-filter-drawer__row {
    align-items: flex-start;
    gap: 8px;
    min-width: 0;
    padding: 4px 0;
    border-radius: 0;
    font-size: 14px;
    line-height: 140%;
  }

  .cp-filter-drawer__row:hover {
    background: transparent;
  }

  .cp-filter-drawer__row .cp-filter-popup__check-wrap {
    margin-top: 1px;
  }

  .cp-filter-drawer__row .cp-filter-popup__name {
    min-width: 0;
    white-space: normal;
    overflow-wrap: anywhere;
  }

  .cp-filter-drawer__row:hover .cp-filter-popup__check:not(:checked) {
    background: #ffffff;
    border-color: #d1d5db;
  }

  .cp-filter-drawer__row:hover .cp-filter-popup__check:not(:checked)::after {
    content: none;
  }

  .cp-filter-drawer__sizes {
    gap: 12px;
  }

  .cp-filter-drawer__size-filter {
    gap: 12px;
  }

  .cp-filter-drawer__size-filter + .cp-filter-drawer__size-filter {
    padding-top: 12px;
  }

  .cp-filter-drawer__size-title {
    font-size: 22px;
    font-weight: 700;
    line-height: 130%;
  }

  .cp-filter-drawer__range {
    gap: 12px;
  }

  .cp-filter-drawer__range-inputs {
    gap: 12px;
  }

  .cp-filter-drawer__range-input {
    height: 38px;
    padding: 0 12px;
    border-radius: 8px;
    font-size: 14px;
    line-height: 140%;
  }

  .cp-filter-drawer__footer {
    gap: 12px;
  }

  .cp-filter-drawer__apply-btn,
  .cp-filter-drawer__reset-btn {
    height: 38px;
    padding: 0 16px;
    border-radius: 16px;
    font-size: 16px;
  }

  .cp-filters__item {
    position: relative;
    width: 100%;
  }

  .cp-filter-popup:not([hidden]) {
    position: absolute;
    top: calc(100% + 4px);
    left: 0;
    right: 0;
    z-index: 700;
    display: flex;
    flex-direction: column;
    width: 100%;
    max-height: calc(100vh - 24px);
    max-height: calc(100dvh - 24px);
    padding: 16px;
    box-sizing: border-box;
    overflow: hidden;
    border-radius: 24px;
    transform: none;
  }

  .cp-filter-popup:not([hidden]) .cp-filter-popup__list {
    flex: 1 1 auto;
    min-height: 0;
    max-height: calc(100vh - 118px);
    max-height: calc(100dvh - 118px);
    overflow-y: auto;
    overscroll-behavior: contain;
  }

  .cp-filter-popup:not([hidden]) .cp-filter-popup__item {
    min-width: 0;
  }

  .cp-filter-popup:not([hidden]) .cp-filter-popup__row {
    align-items: flex-start;
    gap: 8px;
    min-width: 0;
    padding: 4px 0;
    border-radius: 0;
    font-size: 14px;
    line-height: 140%;
  }

  .cp-filter-popup:not([hidden]) .cp-filter-popup__row:hover {
    background: transparent;
  }

  .cp-filter-popup:not([hidden]) .cp-filter-popup__check-wrap {
    margin-top: 1px;
  }

  .cp-filter-popup:not([hidden]) .cp-filter-popup__name {
    min-width: 0;
    white-space: normal;
    overflow-wrap: anywhere;
  }

  .cp-filter-popup:not([hidden]) .cp-filter-popup__row:hover .cp-filter-popup__check:not(:checked) {
    background: #ffffff;
    border-color: #d1d5db;
  }

  .cp-filter-popup:not([hidden]) .cp-filter-popup__row:hover .cp-filter-popup__check:not(:checked)::after {
    content: none;
  }

  .cp-filter-popup:not([hidden]) > .cp-filter-popup__footer {
    flex: 0 0 auto;
    flex-direction: row;
    gap: 8px;
    padding-top: 16px;
  }

  .cp-filter-popup:not([hidden]) .cp-filter-popup__apply,
  .cp-filter-popup:not([hidden]) .cp-filter-popup__reset {
    flex: 1 1 0;
    min-width: 0;
    width: auto;
    height: 38px;
    padding: 0 12px;
    border-radius: 16px;
    font-size: 16px;
    line-height: 1;
    white-space: nowrap;
  }

  .cp-filter-popup:not([hidden]) .cp-filter-popup__reset {
    order: 1;
  }

  .cp-filter-popup:not([hidden]) .cp-filter-popup__apply {
    order: 2;
    background: var(--cc-accent, #fe7250);
    color: #ffffff;
    border-color: var(--cc-accent, #fe7250);
  }

  .cp-filter-popup:not([hidden]) .cp-filter-popup__reset[hidden] {
    display: none;
  }

  .cp-filter-popup:not([hidden]) .cp-filter-popup__reset {
    background: transparent;
    color: var(--cc-accent, #fe7250);
    border-color: var(--cc-accent, #fe7250);
  }

  .cp-card__btn-detail,
  .cp-paging__arrow,
  .cp-paging__arrow svg path,
  .cp-paging__num,
  .cp-filters__btn,
  .cp-filters__clear,
  .cp-filter-popup__row,
  .cp-filter-popup__check,
  .cp-filter-popup__apply,
  .cp-filter-popup__reset,
  .cp-filter-drawer__close,
  .cp-filter-drawer__toggle,
  .cp-filter-drawer__toggle-icon,
  .cp-filter-drawer__apply-btn,
  .cp-filter-drawer__reset-btn {
    -webkit-tap-highlight-color: transparent;
    animation: none;
    transition: none;
  }

  .cp-filter-drawer__apply-btn:hover,
  .cp-filter-drawer__apply-btn:focus-visible,
  .cp-filter-drawer__apply-btn:active {
    background: var(--cc-accent, #fe7250);
    color: #ffffff;
  }

  .cp-filter-drawer__reset-btn:hover,
  .cp-filter-drawer__reset-btn:focus-visible,
  .cp-filter-drawer__reset-btn:active {
    background: transparent;
    color: var(--cc-accent, #fe7250);
  }
}
