@media (min-width: 768px) {
  .catalog .col-12:has(> div > .product-cats),
  .catalog .col-12:has(> .product-tags) {
    display: none !important;
  }

  .catalog-filter {
    gap: 24px;
  }

  .catalog-filter__tab {
    justify-content: center;
    font-size: 1.25rem;
    padding: 1rem;
  }

  .catalog-filter__badge {
    top: 6px;
    right: 8px;
  }

  .catalog-filter__pane:not(.body-selector) .catalog-filter__buttons {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: repeat(4, auto);
    grid-auto-flow: column;
    gap: .5rem;
  }

  .catalog-filter__btn {
    min-height: 3.25rem;
  }

  .catalog-filter__btn:not(.active):hover {
    border-color: var(--wp--preset--color--blue);
  }

  .catalog-filter__footer {
    font-size: 1.125rem;
  }
}

.catalog-filter .ms-body {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 150px minmax(0, 1fr);
  column-gap: clamp(48px, 9vw, 140px);
  align-items: center;
  padding: 8px 0 4px;
}
.ms-body__col { position: relative; z-index: 1; display: grid; gap: 10px; align-content: center; }
.ms-body__fig { position: relative; z-index: 1; display: flex; justify-content: center; }
.ms-body__img { width: 150px; height: auto; display: block; }
.ms-body__lines { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 0; overflow: visible; }
.ms-ln { fill: none; stroke: #486CF0; stroke-opacity: .28; stroke-width: 1.5; }
.ms-ln.hv { stroke-opacity: .7; }
.ms-ln.on { stroke-opacity: 1; stroke-width: 2; }
.ms-dot { fill: #fff; stroke: #486CF0; stroke-opacity: .55; stroke-width: 2; }
.ms-dot.hv { fill: #DCE4FD; stroke-opacity: 1; }
.ms-dot.on { fill: #486CF0; stroke: #fff; stroke-width: 2.5; stroke-opacity: 1; }
.ms-zone {
  position: relative; display: flex; align-items: center; gap: 12px; min-height: 56px; padding: 10px 16px;
  background: #fff; border: 1.5px solid transparent; border-radius: 16px; cursor: pointer;
  font-weight: 800; font-size: 15px; letter-spacing: .02em; text-transform: uppercase; color: var(--wp--preset--color--dark, #1B1F2E);
  transition: border-color .15s, background-color .15s, color .15s;
}
.ms-zone:hover { border-color: #C9D4FB; }
.ms-zone:focus-within { outline: 2px solid #486CF0; outline-offset: 2px; }
.ms-zone.active { background: #486CF0; border-color: #486CF0; color: #fff; }
.ms-zone .catalog-filter__checkbox { position: absolute; opacity: 0; pointer-events: none; }
.ms-zone__icon { width: 28px; height: 28px; flex: none; display: grid; place-items: center; }
.ms-zone__icon svg { width: 100%; height: 100%; }
.ms-zone.active .ms-zone__icon { filter: brightness(0) invert(1); }
.ms-zone__text { flex: 1; min-width: 0; }
.ms-zone__n { flex: none; font-size: 12px; font-weight: 700; letter-spacing: 0; color: #5D6479; background: #F1F4FD; border-radius: 999px; padding: 3px 9px; }
.ms-zone.active .ms-zone__n { background: rgba(255, 255, 255, .22); color: #fff; }
.ms-body__col--l .ms-zone { flex-direction: row-reverse; text-align: right; }
.catalog-filter__btn .ms-zone__n { margin-left: auto; }
.catalog-filter__btn.active .ms-zone__n { background: rgba(255, 255, 255, .22); color: #fff; }
@media (max-width: 767px) {
  .catalog-filter .ms-body { grid-template-columns: 1fr 1fr; gap: 8px; padding: 0; }
  .ms-body__fig, .ms-body__lines { display: none; }
  .ms-body__col { display: contents; }
  .ms-body__col--l .ms-zone { flex-direction: row; text-align: left; }
  .ms-zone { min-height: 48px; padding: 8px 12px; font-size: 13px; gap: 8px; }
  .ms-zone__icon { width: 22px; height: 22px; }
}
@media (prefers-reduced-motion: reduce) { .ms-zone { transition: none; } }
