body.category {
  background-color: #fff;
}
.category-page {
  padding-top: var(--space-16);
  padding-bottom: var(--space-32);
}
.category-page .products-list__item .product-card__photo-link {
  display: flex;
  align-items: center;
  justify-content: center;
  background: #ffffff;
}
.category-page .products-list__item .product-card__photo-link .product-card__photo {
  top: auto;
  bottom: auto;
  left: auto;
  right: auto;
}
.category-page__breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-4);
  margin: 0 0 var(--space-12);
  font-size: 12px;
  line-height: 15px;
  color: #A4A4A4;
}
.category-page__breadcrumbs a {
  color: #171717;
  text-decoration: none;
}
.category-page__breadcrumbs a:hover {
  color: var(--color-text);
}
.category-page__title {
  margin: 0 0 var(--space-12);
  font-weight: var(--weight-600);
  font-size: 24px;
  line-height: 26px;
  color: var(--color-text);
}
.category-page__subcategories {
  display: none;
}
.category-page__description {
  display: block;
  max-width: 920px;
  margin: var(--space-32) auto 0;
  padding-top: var(--space-24);
  border-top: 1px solid var(--color-border);
  color: #5f5f5f;
  font-size: 14px;
  line-height: 1.7;
}
.category-page__description > :first-child {
  margin-top: 0;
}
.category-page__description > :last-child {
  margin-bottom: 0;
}
.category-page__description p {
  margin: 0 0 var(--space-12);
}
.category-page__description h2,
.category-page__description h3,
.category-page__description h4 {
  margin: var(--space-24) 0 var(--space-8);
  color: var(--color-text);
  font-weight: var(--weight-600);
  line-height: 1.3;
}
.category-page__description h2 {
  font-size: 20px;
}
.category-page__description h3 {
  font-size: 17px;
}
.category-page__description h4 {
  font-size: 15px;
}
.category-page__description a {
  color: var(--color-text);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.category-page__description ul,
.category-page__description ol {
  margin: 0 0 var(--space-12);
  padding-left: 24px;
}
.category-page__description img {
  max-width: 100%;
  height: auto;
}
.seo-text {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: var(--space-32);
  padding: 20px;
  border-radius: 20px;
  background: #F3F4F7;
  color: #171717;
  font-family: var(--font-sans);
}
.seo-text__title {
  margin: 0;
  font-weight: var(--weight-600);
  font-size: 22px;
  line-height: 1.2;
  color: #171717;
}
.seo-text__content {
  font-size: 14px;
  line-height: 1.5;
}
.seo-text__content > :first-child {
  margin-top: 0;
}
.seo-text__content > :last-child {
  margin-bottom: 0;
}
.seo-text__content p {
  margin: 0 0 16px;
}
.seo-text__content h2,
.seo-text__content h3,
.seo-text__content h4 {
  margin: 0 0 12px;
  font-weight: var(--weight-600);
  line-height: 1.3;
  break-after: avoid;
}
.seo-text__content h2 {
  font-size: 20px;
}
.seo-text__content h3 {
  font-size: 18px;
}
.seo-text__content h4 {
  font-size: 16px;
}
.seo-text__content a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.seo-text__content ul,
.seo-text__content ol {
  margin: 0 0 16px;
  padding-left: 24px;
}
.seo-text__content img {
  max-width: 100%;
  height: auto;
}
@media (min-width: 768px) {
  .seo-text {
    gap: 20px;
    padding: 32px;
  }
  .seo-text__title {
    font-size: 32px;
  }
  .seo-text__content {
    font-size: 16px;
  }
  .seo-text__content p {
    margin-bottom: 20px;
  }
}
@media (min-width: 1180px) {
  .seo-text__content {
    column-count: 2;
    column-gap: 20px;
  }
  .seo-text__content p,
  .seo-text__content li {
    break-inside: avoid;
  }
}
.category-page__heading--brand {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: var(--space-12);
}
.category-page__heading--brand .category-page__title {
  margin-bottom: 0;
}
.category-page__brand-logo {
  display: inline-flex;
  align-items: center;
}
.category-page__brand-logo img.brand-mark__img {
  width: auto;
  max-width: 160px;
  max-height: 24px;
}
@media (min-width: 1220px) {
  .category-page__heading--brand {
    gap: 25px;
  }
  .category-page__brand-logo img.brand-mark__img {
    max-width: 200px;
    max-height: 30px;
  }
}
.category-page__toolbar {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-8);
  margin-bottom: var(--space-12);
}
.category-page__sort {
  margin: 0;
  min-width: 0;
}
.category-page__toolbar-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-8);
  width: 100%;
  padding: 0 var(--space-12);
  border: 0;
  cursor: pointer;
  white-space: nowrap;
}
.category-page__toolbar-btn .icon {
  flex-shrink: 0;
  width: 16px;
  height: 16px;
}
.sorting-dropdown {
  position: relative;
  width: 100%;
}
.sorting-dropdown__menu {
  display: none;
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  left: 0;
  z-index: 40;
  margin: 0;
  padding: 8px 0;
  list-style: none;
  background: #fff;
  border-radius: var(--radius-10, 10px);
  box-shadow: 0 10px 60px rgba(0, 0, 0, 0.1);
  overflow: hidden;
}
.sorting-dropdown.is-open .sorting-dropdown__menu:not([hidden]) {
  display: block;
}
.sorting-dropdown__item {
  margin: 0;
}
.sorting-dropdown__item a {
  display: block;
  padding: 10px 16px;
  font-size: 14px;
  line-height: 17px;
  color: var(--color-text);
  text-decoration: none;
}
.sorting-dropdown__item a:hover {
  color: var(--color-btn-main--default, var(--color-text));
}
.sorting-dropdown__item.is-selected a {
  color: #EF773D;
}
/* Desktop-sm+: панель «Сортировка» + кнопки; dropdown скрыт в media-query ниже */
.sorting-bar {
  display: none;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px 16px;
}
.sorting-bar__title {
  font-weight: var(--weight-600);
  font-size: 14px;
  line-height: 17px;
  color: var(--color-text);
}
.sorting-bar__list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.sorting-bar__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 37px;
  padding: 0 16px;
  border-radius: var(--radius-20);
  background: #F3F4F7;
  font-weight: var(--weight-700);
  font-size: 14px;
  line-height: 17px;
  color: var(--color-text);
  text-decoration: none;
  white-space: nowrap;
  transition: background-color 0.15s ease, color 0.15s ease;
}
.sorting-bar__btn:hover {
  background: #e8e9ed;
}
.sorting-bar .sorting-dropdown__item.is-selected .sorting-bar__btn {
  background: #171717;
  color: #fff;
}
.sorting-bar .sorting-dropdown__item.is-selected .sorting-bar__btn:hover {
  background: #171717;
  color: #fff;
}
.category-page__active-filters {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-8);
  margin-bottom: var(--space-16);
}
.category-page__active-filters-list {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-8);
  margin: 0;
  padding: 0;
  list-style: none;
}
.category-page__active-filter {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 33px;
  padding: 0 12px;
  border-radius: var(--radius-20);
  background: var(--color-surface);
  box-shadow: var(--shadow-xs);
  font-size: 12px;
  line-height: 15px;
  color: var(--color-text);
  text-decoration: none;
  cursor: pointer;
}
.category-page__active-filter:hover {
  opacity: 0.7;
}
.category-page__active-filter-remove {
  font-size: 16px;
  line-height: 1;
  display: flex;
}
.category-page__active-filters-reset {
  flex-shrink: 0;
  padding: 0;
  border: 0;
  background: none;
  font-size: 12px;
  line-height: 15px;
  color: var(--color-text);
  text-decoration: underline;
  text-underline-offset: 2px;
  cursor: pointer;
}
.category-page__active-filters-reset:hover {
  opacity: 0.75;
}
.category-page__layout {
  display: block;
}
.category-page__filters {
  display: none;
}
.category-page__main {
  min-width: 0;
}
.category-page__products {
  min-width: 0;
}
.category-page__filters-inner {
  display: flex;
  flex-direction: column;
  gap: var(--space-16);
}
.category-page__filters .js-filters-reset-btn:not(.filters-mobile-reset),
.category-page__filters .filters-reset-btn-desktop,
.category-page__filters input[type="reset"].js-filters-reset-btn {
  display: none !important;
}
.category-page__filters-backdrop {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 100;
  background: rgba(0, 0, 0, 0.45);
}
.category-page__filters-backdrop:not([hidden]) {
  display: block;
}
.category-page__filters .filters-form-wrapper {
  display: flex;
  flex-direction: column;
  height: 100%;
  min-height: 0;
}
.category-page__filters .filters-mobile-header,
.category-page__filters .filters-mobile-footer {
  display: flex;
  flex-shrink: 0;
  background: #fff;
}
.category-page__filters .filters-mobile-header {
  align-items: center;
  justify-content: space-between;
  min-height: 56px;
  padding: 16px 20px;
  border-bottom: 1px solid rgba(23, 23, 23, 0.08);
}
.category-page__filters .filters-mobile-header__title {
  margin: 0;
  font-weight: var(--weight-600);
  font-size: 18px;
  line-height: 22px;
  color: var(--color-text);
}
.category-page__filters .filters-mobile-close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}
.category-page__filters .filters-mobile-reset {
  flex-shrink: 0;
  margin-left: auto;
  padding: 0;
  border: 0;
  background: none;
  font-weight: 700;
  font-size: 16px;
  line-height: 20px;
  color: #A3A3A3;
  cursor: pointer;
}
.category-page__filters .filters-mobile-reset:hover {
  opacity: 0.75;
}
.category-page__filters .filters-mobile-body {
  flex: 1 1 auto;
  overflow-y: auto;
  padding: 16px 20px 24px;
  -webkit-overflow-scrolling: touch;
}
.category-page__filters .filters-mobile-footer {
  gap: 16px;
  padding: 16px 20px calc(16px + env(safe-area-inset-bottom, 0));
  border-top: 1px solid rgba(23, 23, 23, 0.08);
  box-shadow: 0 -8px 24px rgba(0, 0, 0, 0.06);
}
.category-page__filters .filters-mobile-footer .btn {
  width: 100%;
}
/* Mobile + tablet: drawer через .filters.is-shown (как Shop-Script) */
@media (max-width: 1179px) {
  .category-page__filters {
    display: none;
    margin: 0;
    padding: 0;
    border-radius: 0;
    box-shadow: none;
    background: #fff;
  }
  .category-page__filters.is-shown {
    display: flex;
    flex-direction: column;
    position: fixed;
    inset: 0;
    z-index: 1101;
    width: 100%;
    max-width: 100%;
    /* Чекбоксы → чипсы-кнопки (mobile + tablet) */
  }
  .category-page__filters.is-shown .filters-mobile-body {
    padding: 0;
  }
  .category-page__filters.is-shown .filters-form-wrapper {
    background-color: #F6F7FA;
  }
  .category-page__filters.is-shown .filters-mobile-header__title {
    order: 1;
    flex: 1;
    min-width: 0;
  }
  .category-page__filters.is-shown .filters-mobile-close {
    order: 0;
  }
  .category-page__filters.is-shown .filters-mobile-reset:not([hidden]) {
    display: inline-block;
    order: 2;
    margin-right: 11px;
    letter-spacing: 1px;
    font-weight: 700;
    font-size: 16px;
    line-height: 20px;
    color: #A3A3A3;
  }
  .category-page__filters.is-shown .filters-mobile-header {
    justify-content: flex-start;
    background-color: #fff;
    border: none;
    padding: 12px 8px;
    gap: 9px;
    letter-spacing: 1px;
    border-radius: 0px 0px 20px 20px;
    margin-bottom: 10px;
  }
  .category-page__filters.is-shown .category-filter {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    padding: 16px;
    gap: 12px;
    background: #FFFFFF;
    border-radius: 20px;
  }
  .category-page__filters.is-shown .category-filter__title {
    font-weight: 600;
    font-size: 18px;
    line-height: 22px;
  }
  .category-page__filters.is-shown .category-filter.is-filter-has-extra .category-filter__head {
    cursor: pointer;
  }
  .category-page__filters.is-shown .category-filter__more--tail {
    display: none;
  }
  .category-page__filters.is-shown .category-filter__brands {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
  }
  .category-page__filters.is-shown .category-page__filters-inner {
    gap: 8px;
  }
  .category-page__filters.is-shown .category-filter__options {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 8px;
    max-width: 100%;
    min-width: 0;
  }
  .category-page__filters.is-shown .category-filter__option {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    max-width: 100%;
    background: #fff;
    font-weight: 700;
    font-size: 14px;
    line-height: 17px;
    color: #171717;
    padding: 8px 12px;
    min-height: 33px;
    cursor: pointer;
    height: auto;
    border: 2px solid rgba(23, 23, 23, 0.1);
    border-radius: 8px;
  }
  .category-page__filters.is-shown .category-filter__option:has(.category-filter__checkbox:checked) {
    border-color: #171717;
  }
  .category-page__filters.is-shown .category-filter__range-label {
    display: none;
  }
  .category-page__filters.is-shown .category-filter__range-input {
    border: none;
    outline: none;
    box-shadow: none;
    padding: 12px 16px;
    height: 44px;
    background: #F6F7FA;
    border-radius: 8px;
    font-weight: 400;
    font-size: 16px;
    line-height: 20px;
    color: #919191;
  }
  .category-page__filters.is-shown .category-filter__body {
    gap: 12px;
  }
  .category-page__filters.is-shown .category-page__filters.is-shown .category-filter__options {
    gap: 4px;
  }
  .category-page__filters.is-shown .category-filter__checkbox,
  .category-page__filters.is-shown .category-filter__option > input[type="checkbox"].category-filter__checkbox {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
    appearance: none;
    -webkit-appearance: none;
  }
  .category-page__filters.is-shown .category-filter__option-text {
    min-width: 0;
    white-space: normal;
    overflow-wrap: anywhere;
    word-break: break-word;
    text-align: center;
  }
  .category-page__filters.is-shown .category-filter__count {
    display: none;
  }
  .category-page__filters.is-shown .category-filter__swatches {
    display: grid;
    grid-template-columns: repeat(4, 36px);
    gap: 12px;
  }
  .category-page__filters.is-shown .category-filter__swatches .category-filter__swatch {
    width: 36px;
    height: 36px;
    border: 6px solid #ffffff;
    outline: 2px solid #EBEBEB;
    outline-offset: -2px;
    border-radius: 8px;
  }
  .category-page__filters.is-shown .category-filter__swatches .category-filter__swatch:not([style*="background-color"]) {
    background-color: #D9D9D9;
  }
  .category-page__filters.is-shown .category-filter__swatches .category-filter__swatch.is-selected {
    outline-color: #171717;
  }
  .category-page__filters.is-shown .category-filter__brand.is-selected {
    border-color: #171717;
  }
  .category-page__filters .filters-mobile-footer {
    display: none;
  }
  .sorting-dropdown.is-open .sorting-dropdown__menu:not([hidden]) {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    width: 100%;
    top: auto;
    z-index: 1100;
    background: rgba(255, 255, 255, 0.99);
    box-shadow: -4px 0px 34px rgba(0, 0, 0, 0.08);
    border-radius: 20px 20px 0px 0px;
    transition: transform 0.25s ease;
    will-change: transform;
  }
  .sorting-dropdown.is-open .sorting-dropdown__menu:not([hidden]).is-dragging {
    transition: none;
  }
  .sorting-dropdown__item > * {
    display: block;
    width: 100%;
  }
  .sorting-dropdown__item:first-child {
    touch-action: none;
    cursor: grab;
  }
  .sorting-dropdown__item:first-child:active {
    cursor: grabbing;
  }
  .sorting-dropdown__mobile-title {
    position: relative;
    padding: 16px;
    font-weight: 600;
    font-size: 20px;
    line-height: 24px;
    color: #171717;
    user-select: none;
  }
  .sorting-dropdown__mobile-title::before {
    content: "";
    display: block;
    position: absolute;
    width: 44px;
    height: 4px;
    left: calc(50% - 44px / 2);
    top: 8px;
    background: rgba(54, 54, 54, 0.3);
    border-radius: 2px;
  }
  .sorting-dropdown__item a {
    text-align: center;
    padding: 16px;
    font-weight: 700;
    font-size: 16px;
    line-height: 20px;
    border-top: 1px solid rgba(23, 23, 23, 0.1);
  }
}
/* ——— Блок фильтра (сайдбар 210px) ——— */
.category-filter {
  padding-bottom: var(--space-12);
  border-bottom: 1px solid rgba(23, 23, 23, 0.08);
}
.category-filter:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}
.category-filter__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-8);
  margin: 0 0 var(--space-8);
}
.category-filter.is-filter-collapsed .category-filter__body {
  display: none;
}
.category-filter__title {
  margin: 0;
  font-weight: var(--weight-600);
  font-size: 14px;
  line-height: 17px;
  color: var(--color-text);
}
svg.icon.category-filter__chevron--desktop {
  display: none;
}
svg.icon.category-filter__chevron--mobile {
  width: 12px;
  height: 12px;
  flex-shrink: 0;
  transform: rotate(90deg);
  opacity: 0.6;
}
.category-filter.is-filter-collapsed svg.icon.category-filter__chevron--mobile {
  transform: rotate(0deg);
}
.category-filter__body {
  display: flex;
  flex-direction: column;
  gap: var(--space-8);
}
.category-filter__more {
  align-self: flex-start;
  font-size: 12px;
  line-height: 15px;
  color: var(--color-text);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.category-filter__more:hover {
  opacity: 0.75;
}
.category-filter__more.is-filter-more-hidden {
  display: none !important;
}
.category-filter[data-filter-expandable]:not(.is-expanded) .category-filter__item--extra {
  display: none;
}
.category-filter__list-placeholder {
  display: none;
}
/* Mobile sub-popup для секции фильтра */
.filters-mobile-sub {
  position: fixed;
  inset: 0;
  z-index: 1102;
  display: flex;
  flex-direction: column;
  background: #fff;
}
.filters-mobile-sub[hidden] {
  display: none !important;
}
.filters-mobile-sub__head {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 9px;
  flex-shrink: 0;
  padding: 17px 15px;
  background: #fff;
  margin-bottom: 8px;
}
.filters-mobile-sub__back {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 30px;
  height: 30px;
  padding: 0;
  border: 0;
  border-radius: 8px;
  background: #F3F4F7;
  cursor: pointer;
}
.filters-mobile-sub__back .icon {
  width: 15px;
  height: 15px;
  transform: rotate(180deg);
  fill: none;
}
.filters-mobile-sub__title {
  flex: 1;
  min-width: 0;
  text-align: left;
  letter-spacing: 1px;
  font-weight: 600;
  font-size: 20px;
  line-height: 24px;
  white-space: nowrap;
  overflow: hidden;
}
.filters-mobile-sub__title.is-text-faded {
  -webkit-mask-image: linear-gradient(to right, #000 70%, transparent 100%);
  mask-image: linear-gradient(to right, #000 70%, transparent 100%);
}
.filters-mobile-sub__reset {
  flex-shrink: 0;
  margin-right: 3px;
  padding: 0;
  border: 0;
  background: transparent;
  font-weight: 700;
  font-size: 16px;
  line-height: 20px;
  color: #A3A3A3;
  cursor: pointer;
}
.filters-mobile-sub__reset:hover {
  opacity: 0.75;
}
.filters-mobile-sub__body {
  flex: 1 1 auto;
  overflow-y: auto;
  padding: 0 16px 16px;
  -webkit-overflow-scrolling: touch;
}
.filters-form-wrapper.is-filter-sub-open .filters-mobile-header,
.filters-form-wrapper.is-filter-sub-open .filters-mobile-body,
.filters-form-wrapper.is-filter-sub-open .filters-mobile-footer {
  visibility: hidden;
  pointer-events: none;
}
.category-page__filters.is-shown .filters-mobile-sub .category-filter__list.is-filter-sub-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.category-page__filters.is-shown .filters-mobile-sub .category-filter__list.is-filter-sub-list .category-filter__item--extra {
  display: inline-flex;
}
.category-page__filters.is-shown .filters-mobile-sub .category-filter__option {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  max-width: 100%;
  background: #fff;
  font-weight: 700;
  font-size: 14px;
  line-height: 17px;
  color: #171717;
  padding: 8px 12px;
  min-height: 33px;
  height: auto;
  border: 2px solid rgba(23, 23, 23, 0.1);
  border-radius: 8px;
  cursor: pointer;
}
.category-page__filters.is-shown .filters-mobile-sub .category-filter__option:has(.category-filter__checkbox:checked) {
  border-color: #171717;
}
.category-page__filters.is-shown .filters-mobile-sub .category-filter__checkbox,
.category-page__filters.is-shown .filters-mobile-sub .category-filter__option > input[type="checkbox"].category-filter__checkbox {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
  appearance: none;
  -webkit-appearance: none;
}
.category-page__filters.is-shown .filters-mobile-sub .category-filter__option-text {
  min-width: 0;
  white-space: normal;
  overflow-wrap: anywhere;
  word-break: break-word;
  text-align: center;
}
.category-page__filters.is-shown .filters-mobile-sub .category-filter__count {
  display: none;
}
.category-page__filters.is-shown .filters-mobile-sub .category-filter__list.is-filter-sub-list.category-filter__brands {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.category-page__filters.is-shown .filters-mobile-sub .category-filter__brand {
  min-height: 33px;
  height: auto;
  padding: 8px 10px;
  font-weight: 700;
  font-size: 14px;
  line-height: 17px;
  color: #171717;
  text-decoration: none;
  cursor: pointer;
}
.category-page__filters.is-shown .filters-mobile-sub .category-filter__brand.is-selected {
  border-color: #171717;
}
.category-page__filters.is-shown .filters-mobile-sub .category-filter__list.is-filter-sub-list.category-filter__swatches,
.category-page__filters.is-shown .filters-mobile-sub .category-filter__swatches.is-filter-sub-list {
  display: grid;
  grid-template-columns: repeat(4, 36px);
  gap: 12px;
}
.category-page__filters.is-shown .filters-mobile-sub .category-filter__swatches.is-filter-sub-list .category-filter__item--extra,
.category-page__filters.is-shown .filters-mobile-sub .category-filter__list.is-filter-sub-list.category-filter__swatches .category-filter__item--extra {
  display: inline-flex;
}
.category-page__filters.is-shown .filters-mobile-sub .category-filter__swatches.is-filter-sub-list .category-filter__swatch,
.category-page__filters.is-shown .filters-mobile-sub .category-filter__list.is-filter-sub-list.category-filter__swatches .category-filter__swatch {
  width: 36px;
  height: 36px;
  border: 6px solid #fff;
  outline: 2px solid rgba(23, 23, 23, 0.1);
  outline-offset: -2px;
  border-radius: 8px;
}
.category-page__filters.is-shown .filters-mobile-sub .category-filter__swatches.is-filter-sub-list .category-filter__swatch:hover,
.category-page__filters.is-shown .filters-mobile-sub .category-filter__list.is-filter-sub-list.category-filter__swatches .category-filter__swatch:hover {
  outline-color: #17171766;
}
.category-page__filters.is-shown .filters-mobile-sub .category-filter__swatches.is-filter-sub-list .category-filter__swatch.is-selected,
.category-page__filters.is-shown .filters-mobile-sub .category-filter__list.is-filter-sub-list.category-filter__swatches .category-filter__swatch.is-selected {
  outline-color: #171717;
}
/* Бренды — сетка 2 колонки, логотипы из index.html */
.category-filter__brands {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--space-4);
}
.category-filter__brand {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  min-height: 40px;
  padding: 4px 6px;
  border: 2px solid rgba(23, 23, 23, 0.1);
  border-radius: var(--radius-8);
  text-decoration: none;
  overflow: hidden;
  cursor: pointer;
}
.category-filter__brand:hover {
  border-color: rgba(23, 23, 23, 0.35);
}
.category-filter__brand.is-disabled,
.category-filter__swatch.is-disabled,
.category-filter__option.is-disabled {
  opacity: 0.35;
  cursor: not-allowed;
}
.category-filter__brand.is-disabled:hover,
.category-filter__swatch.is-disabled:hover {
  border-color: rgba(23, 23, 23, 0.1);
}
.category-filter__brand.is-selected {
  border-color: #171717;
}
.category-filter__brand svg,
.category-filter__brand img.brand-mark__img {
  display: block;
  max-width: 100%;
  height: auto;
  max-height: 22px;
}
.category-filter__brand .brand-mark__text {
  display: block;
  max-width: 100%;
  font-size: 11px;
  line-height: 1.2;
  text-align: center;
  color: var(--color-text);
  overflow: hidden;
  text-overflow: ellipsis;
}
.category-filter__brand input[type="checkbox"].category-filter__checkbox {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
  appearance: none;
  -webkit-appearance: none;
  background: transparent;
  background-image: none;
}
.category-filter__options {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.category-filter__option {
  display: flex;
  align-items: flex-start;
  gap: var(--space-8);
  cursor: pointer;
  font-size: 12px;
  line-height: 15px;
  color: var(--color-text);
}
.category-filter__option.is-disabled {
  color: rgba(23, 23, 23, 0.4);
}
.category-filter__option.is-disabled .category-filter__checkbox {
  cursor: not-allowed;
}
.category-filter__checkbox[type="radio"] {
  flex-shrink: 0;
  width: 16px;
  height: 16px;
  margin: 0;
  accent-color: var(--color-text);
  border-radius: 2px;
}
.category-filter__option-text {
  flex: 1;
  min-width: 0;
}
.category-filter__count {
  color: var(--color-text-gray-2, rgba(23, 23, 23, 0.45));
}
.category-filter__range {
  display: flex;
  flex-direction: column;
  gap: var(--space-8);
  width: 100%;
}
.category-filter__range-fields {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-4);
  width: 100%;
}
.category-filter__range-field {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}
.category-filter__range-label {
  font-size: 12px;
  line-height: 15px;
  color: var(--color-text-gray-2, rgba(23, 23, 23, 0.45));
}
.category-filter__range-input,
.category-filter__range-field input.min,
.category-filter__range-field input.max {
  width: 100%;
  min-width: 0;
  box-sizing: border-box;
  min-height: 32px;
  padding: 6px 8px;
  font-size: 12px;
  line-height: 15px;
  border: 1px solid var(--color-border, #bfbfbf);
  border-radius: var(--radius-8, 8px);
  background: var(--color-bg, #fff);
  color: var(--color-text);
}
.category-filter__range-input::placeholder,
.category-filter__range-field input.min::placeholder,
.category-filter__range-field input.max::placeholder {
  color: var(--color-text-gray, #919191);
}
/* Цена по макету Figma: поля столбцом, без ползунка + чекбоксы диапазонов */
.category-filter__price {
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: 100%;
}
.category-filter__price-fields {
  display: flex;
  flex-direction: column;
  gap: 4px;
  width: 100%;
}
.category-filter__price-field {
  display: block;
  width: 100%;
  min-width: 0;
}
.category-filter__price-input {
  width: 100%;
  box-sizing: border-box;
  min-height: 44px;
  padding: 12px 16px;
  font-size: 14px;
  line-height: 1.2;
  border: 1px solid var(--color-border, #bfbfbf);
  border-radius: var(--radius-8, 8px);
  background: var(--color-bg, #fff);
  color: var(--color-text, #171717);
}
.category-filter__price-input::placeholder {
  color: var(--color-text-gray, #919191);
}
.category-filter__price-buckets {
  margin-top: 0;
}
.category-filter__price-buckets .category-filter__option {
  padding-top: 4px;
  padding-bottom: 4px;
}
/* jQuery UI range slider в фильтрах (остальные range-фильтры) */
.category-page__filters .category-filter__range .filter-slider {
  display: block;
  width: auto;
  margin: 2px 8px 0;
  box-sizing: border-box;
  touch-action: none;
}
.category-page__filters .ui-slider-horizontal {
  height: 4px;
  border: none;
  border-radius: 999px;
  background: rgba(23, 23, 23, 0.12);
}
.category-page__filters .ui-slider-horizontal .ui-slider-range {
  background: #171717;
  border-radius: 999px;
}
.category-page__filters .ui-slider-horizontal .ui-slider-handle {
  top: 50%;
  width: 16px;
  height: 16px;
  margin-top: -8px;
  margin-left: -8px;
  border: 2px solid #171717;
  border-radius: 50%;
  background: #fff;
  cursor: pointer;
  outline: none;
}
.category-page__filters .ui-slider-horizontal .ui-slider-handle:focus-visible {
  box-shadow: 0 0 0 2px rgba(23, 23, 23, 0.25);
}
.category-page__filters .ui-widget-content .ui-state-default {
  border: 2px solid #171717;
  background: #fff;
}
/* Цвет корпуса — Figma 5249:25712: 4 колонки × 36px, gap 12 */
.category-filter__swatches {
  display: grid;
  grid-template-columns: repeat(4, 36px);
  gap: 12px;
  padding: 10px 0;
  justify-content: start;
}
.category-filter__swatch {
  position: relative;
  box-sizing: border-box;
  display: block;
  width: 36px;
  height: 36px;
  padding: 0;
  border: 6px solid #ffffff;
  outline: 2px solid #EBEBEB;
  outline-offset: -2px;
  border-radius: 8px;
  background: #d9d9d9;
  cursor: pointer;
}
.category-filter__swatch input[type="checkbox"].category-filter__checkbox {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
  appearance: none;
  -webkit-appearance: none;
  background: transparent;
  background-image: none;
}
.category-filter__swatch:hover {
  outline-color: #17171766;
}
.category-filter__swatch:focus-visible {
  outline-color: var(--color-text);
}
.category-filter__swatch.is-selected {
  outline-color: #171717;
}
.category-products {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--space-8);
}
.category-products--loading {
  pointer-events: none;
}
.category-skeleton-card {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.category-skeleton-card__image,
.category-skeleton-card__line,
.category-skeleton-card__pill {
  border-radius: var(--radius-20, 20px);
  background: linear-gradient(90deg, #eceef3 25%, #f6f7fa 50%, #eceef3 75%);
  background-size: 200% 100%;
  animation: category-skeleton-shimmer 1.4s ease-in-out infinite;
}
.category-skeleton-card__image {
  width: 100%;
  aspect-ratio: 1;
  border-radius: var(--radius-20, 20px);
}
.category-skeleton-card__line {
  height: 14px;
  border-radius: 8px;
}
.category-skeleton-card__line--title {
  width: 85%;
}
.category-skeleton-card__line--text {
  width: 60%;
}
.category-skeleton-card__footer {
  display: flex;
  margin-top: 4px;
}
.category-skeleton-card__pill {
  width: 72px;
  height: 28px;
  border-radius: 999px;
}
@keyframes category-skeleton-shimmer {
  0% {
    background-position: 200% 0;
  }
  100% {
    background-position: -200% 0;
  }
}
.category-page__load-more {
  display: flex;
  justify-content: center;
  margin-top: var(--space-24);
}
.category-page__load-more[hidden] {
  display: none !important;
}
.category-page__load-more-btn {
  min-width: 200px;
}
.category-page__active-filter {
  background-color: #fff;
  box-shadow: none;
  padding: 0 13px;
  height: 33px;
  border: 2px solid #171717;
  border-radius: 8px;
  font-weight: 600;
  font-size: 14px;
  line-height: 33px;
  color: #171717;
  gap: 12px;
}
.category-page__active-filter-remove .icon {
  opacity: 0.4;
  width: 10px;
  height: 11px;
}
.category-page__active-filters-reset {
  font-weight: 700;
  font-size: 16px;
  line-height: 20px;
  color: #A3A3A3;
  text-decoration: none;
  margin-top: 8px;
}
h2.category-products__collection-title {
  font-weight: 600;
  font-size: 24px;
  line-height: 29px;
}
h2.category-products__collection-title span {
  color: #EF773D;
}
@media (max-width: 767px) {
  .category-page {
    padding-top: 71px;
    padding-bottom: var(--space-16);
  }
  .category-page__breadcrumbs {
    display: none;
  }
  .category-page__title {
    font-weight: 600;
    font-size: 24px;
    line-height: 29px;
    display: inline-block;
    margin-bottom: 0;
    padding-left: 8px;
  }
  .category-page__brand--mobile {
    display: inline-block;
    width: 116px;
    height: 24px;
    top: 5px;
    position: relative;
    margin-left: 7px;
    padding-right: 8px;
  }
  .category-page__brand--mobile img.brand-mark__img {
    max-width: 116px;
    max-height: 24px;
  }
  .category-page__toolbar {
    padding: 0 8px;
    margin-top: 26px;
    margin-bottom: 0;
  }
  .category-page__toolbar .category-page__toolbar-btn {
    height: 41px;
    line-height: 41px;
    box-shadow: none;
    background-color: #F3F4F7;
    gap: 2px;
  }
  .category-page__toolbar .category-page__toolbar-btn .icon {
    margin-left: 3px;
  }
  .category-page__active-filters {
    padding: 0 8px;
    margin-top: 8px;
  }
  .category-filter__head {
    width: 100%;
    margin-bottom: 0;
  }
  .category-filter.is-filter-has-extra .category-filter__head {
    cursor: pointer;
  }
  .category-filter__more--tail {
    display: none;
  }
  .category-products {
    gap: 24px 8px;
  }
  .category-page__layout {
    margin-top: 0;
  }
  .category-page__layout .products-list__item {
    width: 100%;
  }
  .category-page__layout .products-list__item .product-card__photo-link {
    height: auto;
  }
  /* Было: margin-top у .category-page__layout; тулбар теперь внутри — отступ перенесён на листинг */
  .category-page__products {
    margin-top: 23px;
  }
  .category-page__load-more {
    margin-top: 40px;
  }
  .category-page__load-more-btn {
    width: 100%;
    max-width: 100%;
    font-size: 16px;
  }
  footer.container {
    margin-top: 8px;
  }
  footer.container .btn--contact {
    font-size: 16px;
  }
}
@media (min-width: 768px) and (max-width: 1179px) {
  .category-page {
    padding-top: 90px;
  }
  .category-page__breadcrumbs {
    gap: 9px;
    margin-bottom: 13px;
  }
  .category-page__title {
    display: inline-block;
    margin-bottom: 17px;
  }
  .category-page__brand {
    display: inline-block;
    top: -2px;
    position: relative;
    width: 128px;
    left: 6px;
  }
  .category-page__brand svg,
  .category-page__brand img.brand-mark__img {
    width: auto;
    max-width: 128px;
    max-height: 24px;
  }
  .category-page__toolbar {
    margin-bottom: 8px;
  }
  .category-page__toolbar .category-page__toolbar-btn {
    height: 41px;
    line-height: 41px;
  }
  .category-page__active-filters {
    margin-bottom: 43px;
  }
  .category-page__active-filter {
    gap: 12px;
  }
  .category-page__active-filters-reset {
    margin-top: 0;
  }
  .category-products {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 48px 8px;
  }
  .category-products .products-list__item {
    width: 100%;
  }
  .category-products .products-list__item .product-card__photo-link {
    height: 256px;
  }
  .product-card__photo-link {
    height: 256px;
  }
  .category-page__load-more {
    margin-top: 48px;
  }
  .category-page__load-more .category-page__load-more-btn {
    font-size: 16px;
    min-width: 185px;
    height: 44px;
    line-height: 44px;
  }
  footer.container {
    margin-top: 13px;
  }
}
@media (min-width: 1180px) {
  footer.container {
    margin-top: 32px;
  }
  main.category-page {
    padding-top: 191px;
    padding-left: 8px;
    padding-right: 8px;
  }
  body.category header.header .container {
    max-width: 1220px;
  }
  .category-page__breadcrumbs {
    gap: 8px;
    margin-bottom: 22px;
  }
  .category-page__title {
    display: inline-block;
    font-weight: 600;
    font-size: 32px;
    line-height: 39px;
    margin-bottom: 4px;
  }
  .category-page__brand {
    display: inline-block;
    top: 0px;
    position: relative;
    width: 136px;
    left: 21px;
  }
  .category-page__brand svg,
  .category-page__brand img.brand-mark__img {
    width: auto;
    max-width: 136px;
    max-height: 28px;
  }
  .category-page .container.container--first {
    background: #fff;
    border-radius: 20px;
  }
  .category-page__layout {
    display: grid;
    grid-template-columns: 280px minmax(0, 1fr);
    gap: 20px;
    align-items: start;
  }
  .category-page__main {
    min-width: 0;
    margin-top: 16px;
  }
  .category-page__products {
    margin-top: 0;
  }
  .category-page__filters {
    display: block;
    align-self: start;
    position: sticky;
    top: var(--space-16);
    padding: 16px;
    border-radius: 20px;
    background: #F3F4F7;
    border: none;
  }
  .category-page__filters .filters-mobile-header {
    display: none;
  }
  .category-page__filters .filters-mobile-body {
    padding: 0;
    overflow: visible;
  }
  .category-page__filters .filters-mobile-footer {
    flex-direction: column;
    gap: 12px;
    margin-top: 16px;
    padding: 0;
    border-top: 0;
    box-shadow: none;
  }
  .category-page__filters .filters-mobile-footer .filters-mobile-done {
    display: none;
  }
  .category-page__filters-backdrop {
    display: none !important;
  }
  /* На desktop-sm фильтры в сайдбаре, кнопку прячем */
  #filters-toggle-link {
    display: none;
  }
  .category-page__toolbar {
    display: block;
    margin-bottom: 16px;
  }
  .category-page__sort {
    width: 100%;
  }
  .sorting-dropdown {
    display: none;
  }
  .sorting-bar {
    display: flex;
    margin-top: 9px;
    gap: 19px;
  }
  .sorting-bar .sorting-bar__title {
    font-weight: 400;
    font-size: 14px;
    line-height: 17px;
  }
  .sorting-bar .sorting-bar__btn {
    padding: 0 20px;
    height: 41px;
    border-radius: 8px;
    font-weight: 700;
    font-size: 14px;
    line-height: 41px;
  }
  .sorting-bar .sorting-bar__btn:hover {
    background: #e8e9ed;
    color: #171717;
  }
  .category-products {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 8px 20px;
  }
  .category-products .products-list__item {
    width: 100%;
  }
  .category-products .products-list__item .product-card__photo-link {
    height: 282px;
  }
  .category-page__load-more {
    margin-top: 7px;
  }
  .category-page__load-more .category-page__load-more-btn {
    min-width: auto;
    height: 44px;
    line-height: 44px;
    font-size: 16px;
    padding: 0 19px;
  }
  /* Figma 2957:36399 «фильтр»: bg #F3F4F7, pad 16, gap секций 20, radius 20 */
  .category-filter {
    border: none;
    padding-bottom: 0;
  }
  .category-page__filters-inner {
    gap: 20px;
  }
  .category-filter__options {
    gap: 0;
  }
  .category-filter__option {
    align-items: center;
    box-sizing: border-box;
    min-height: 28px;
    padding: 4px 0;
    gap: 8px;
    font-weight: 400;
    font-size: 14px;
    line-height: 17px;
    color: #171717;
    cursor: pointer;
  }
  .category-filter__option:hover .category-filter__checkbox:not(:checked) {
    background-color: #E3E3E3;
  }
  .category-filter__count {
    margin-left: auto;
    font-weight: 400;
    font-size: 14px;
    line-height: 17px;
    color: #919191;
  }
  .category-filter__head {
    justify-content: flex-start;
    gap: 8px;
    margin-bottom: 12px;
    cursor: pointer;
    user-select: none;
  }
  .category-filter__title {
    font-weight: 600;
    font-size: 16px;
    line-height: 20px;
    color: #171717;
  }
  svg.icon.category-filter__chevron--mobile {
    display: none;
  }
  svg.icon.category-filter__chevron--desktop {
    display: inline-block;
    fill: none;
    width: 10px;
    height: 6px;
    flex-shrink: 0;
    transform: rotate(0deg);
    opacity: 0.55;
    color: #adadad;
  }
  .category-filter.is-filter-collapsed svg.icon.category-filter__chevron--desktop {
    transform: rotate(-90deg);
  }
  .category-filter__brands {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
  }
  .category-filter__brand {
    height: 44px;
    padding: 12px 8px;
    border-color: rgba(23, 23, 23, 0.1);
    border-radius: 8px;
    background: transparent;
  }
  .category-filter__brand svg,
  .category-filter__brand img.brand-mark__img {
    width: auto;
    height: 20px;
    max-height: 20px;
    max-width: 102px;
  }
  .category-filter__more {
    font-weight: 700;
    font-size: 14px;
    line-height: 17px;
    color: #171717;
    text-decoration: underline;
    text-underline-offset: 2px;
  }
  /* Figma «Показать ещё»: высота 24px, текст с pad-top ≈3px после списка */
  .category-filter__more--tail {
    display: inline-flex;
    align-items: flex-start;
    box-sizing: border-box;
    min-height: 24px;
    padding-top: 3px;
  }
  .category-filter__body {
    gap: 0;
  }
  .category-filter__range {
    display: flex;
    flex-direction: column;
    gap: 4px;
    margin-bottom: 0;
  }
  .category-filter__range .category-filter__range-fields {
    display: flex;
    flex-direction: column;
    gap: 4px;
    width: 100%;
  }
  .category-filter__range .category-filter__range-label {
    display: none;
  }
  .category-filter__range .filter-slider {
    display: block;
    margin: 8px 8px 0;
  }
  .category-filter__swatches {
    display: grid;
    grid-template-columns: repeat(4, 36px);
    gap: 12px;
    padding: 10px 0;
    justify-content: start;
  }
  .category-filter__swatches .category-filter__swatch {
    width: 36px;
    height: 36px;
    background-color: #D9D9D9;
    border: 6px solid #ffffff;
    outline: 2px solid #EBEBEB;
    outline-offset: -2px;
    border-radius: 8px;
  }
  .category-filter__swatches .category-filter__swatch:hover {
    outline-color: #17171766;
  }
  .category-filter__swatches .category-filter__swatch.is-selected {
    outline-color: #171717;
  }
  .category-filter__brand.is-selected {
    border-color: #171717;
  }
  .category-page__filters {
    height: fit-content;
    position: relative;
  }
  .category-filter__range .category-filter__range-input,
  .category-filter__range .category-filter__range-field input.min,
  .category-filter__range .category-filter__range-field input.max {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    background: transparent;
    border: 1px solid #bfbfbf;
    border-radius: 8px;
    font-weight: 400;
    font-size: 14px;
    line-height: 17px;
    color: #919191;
    height: 41px;
    padding: 12px 16px;
  }
}
@media (min-width: 1360px) {
  body.category header.header .container {
    max-width: 1360px;
  }
  body.category .header__top {
    padding: 17px 32px;
  }
  body.category footer.container {
    margin-top: 30px;
  }
  main.category-page {
    padding-top: 202px;
  }
  .category-page__breadcrumbs {
    margin-bottom: 12px;
  }
  .category-page__layout {
    grid-template-columns: 210px minmax(0, 1fr);
    margin-top: 10px;
  }
  .category-page__title {
    margin-bottom: -2px;
  }
  .sorting-bar {
    margin-top: 9px;
  }
  .category-page__brand {
    width: 181px;
    top: 0;
    left: 18px;
  }
  .category-page__brand svg,
  .category-page__brand img.brand-mark__img {
    width: auto;
    max-width: 181px;
    max-height: 32px;
  }
  .category-page__active-filters-reset {
    margin-top: 3px;
  }
  .category-products {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }
  .category-products .product-card__dots {
    bottom: 6px;
  }
  .category-products .actual-price__price {
    font-weight: 600;
    font-size: 16px;
    line-height: 20px;
  }
  .category-products .old-price__price {
    font-weight: 600;
    font-size: 13px;
    line-height: 16px;
  }
  .category-products .old-price__discount {
    font-weight: 600;
    font-size: 13px;
    line-height: 16px;
  }
  .category-page__active-filters {
    margin-bottom: 23px;
  }
  .product-card__btn-add {
    top: 53px;
  }
  .category-products .products-list__item .product-card__photo-link {
    height: 289px;
  }
  .category-filter__brand {
    height: 44px;
  }
  .category-page__filters {
    padding: 16px;
  }
  .category-page__load-more .category-page__load-more-btn {
    min-width: 290px;
  }
}
