body {
  --parts-ink: #132b3b;
  --parts-muted: #4d6170;
  --parts-line: #d8e2e9;
  --parts-surface: #f2f7fa;
  --parts-blue: #006b9d;
  --parts-control: #e4f1f7;
}

/* Keep the native catalog controls in the page. */
body .filter-panel__filter {
  display: none !important;
}
body .filter-compact-block,
body .filter-compact-block .bx_filter.compact {
  display: block !important;
  position: static;
  width: 100%;
  max-height: none;
  margin: 0 0 12px;
  padding: 0;
  background: transparent;
  border: 0;
}
body .filter-compact-block .bx_filter.compact {
  margin: 0;
  border: 1px solid var(--parts-line);
  border-radius: 12px;
  background: var(--parts-surface);
  box-shadow: none;
}
body .filter-compact-block .bx_filter.compact .bx_filter_parameters_box.title {
  display: none !important;
}
body .filter-compact-block .bx_filter.compact .bx_filter_section {
  padding: 12px 14px;
}
body .filter-compact-block .bx_filter.compact .bx_filter_parameters {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px 14px;
}
body .filter-compact-block .bx_filter.compact .bx_filter_parameters_box {
  float: none;
  width: auto;
  margin: 0;
  padding: 0;
  min-width: 0;
}
body .filter-compact-block .dm-parts-extra {
  grid-column: 1 / -1;
}
body .filter-compact-block .dm-parts-extra > summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 44px;
  padding: 8px 12px;
  border-radius: 8px;
  background: var(--parts-control);
  color: var(--parts-blue);
  cursor: pointer;
  font-size: 13px;
  font-weight: 650;
  list-style: none;
  line-height: 1.4;
}
body .filter-compact-block .dm-parts-extra > summary::-webkit-details-marker {
  display: none;
}
body .filter-compact-block .dm-parts-extra > summary::after {
  content: "";
  flex: 0 0 7px;
  height: 7px;
  border: solid currentColor;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
  margin: -3px 2px 0 0;
}
body .filter-compact-block .dm-parts-extra[open] > summary::after {
  transform: rotate(225deg);
  margin-top: 3px;
}
body .filter-compact-block .dm-parts-extra > summary:hover {
  background: #d7ebf5;
}
body .filter-compact-block .dm-parts-extra[open] > .bx_filter_parameters_box {
  margin-top: 12px;
}
body .filter-compact-block .bx_filter.compact .prop_type_N .bx_ui_slider_track,
body .filter-compact-block .bx_filter.compact .bx_filter_button_box.hidden,
body .filter-compact-block .bx_filter.compact [data-prop_code="diesel_system"] {
  display: none !important;
}
body .filter-compact-block .bx_filter.compact .bx_filter_parameters_box_title {
  padding: 0 0 4px;
  border: 0;
  background: none;
  box-shadow: none;
  color: var(--parts-ink);
  font-size: 12px;
  font-weight: 650;
  line-height: 1.5;
  cursor: default;
  pointer-events: none;
}
body .filter-compact-block .bx_filter.compact .bx_filter_parameters_box_title .text {
  padding: 0;
  border: 0;
  background: none;
}
body .filter-compact-block .bx_filter.compact .bx_filter_parameters_box_title .delete_filter {
  pointer-events: auto;
}
body .filter-compact-block .bx_filter.compact .bx_filter_parameters_box_title > .svg,
body .filter-compact-block .bx_filter.compact .bx_filter_parameters_box_title:after {
  display: none;
}
body .filter-compact-block .bx_filter.compact .bx_filter_block {
  display: block !important;
  position: static;
  width: auto;
  min-width: 0;
  max-height: none;
  padding: 0;
  border: 0;
  box-shadow: none;
  background: none;
  opacity: 1;
  visibility: visible;
}
body .filter-compact-block .bx_filter.compact .bx_filter_block input[type="text"] {
  min-height: 44px;
  font-size: 16px;
  border: 0;
  border-radius: inherit;
  box-shadow: none;
  background: #fff;
  color: var(--parts-ink);
  font-variant-numeric: tabular-nums;
}
body .filter-compact-block .bx_filter.compact input::placeholder {
  color: var(--parts-muted);
  opacity: 1;
}
body .filter-compact-block .bx_filter.compact .wrapp_change_inputs {
  display: flex;
  gap: 6px;
  width: 100%;
  max-width: none;
  margin-bottom: 0;
}
body .filter-compact-block [data-dm-diameter-native],
body .filter-compact-block .dm-parts-diameter-clear[hidden] {
  display: none !important;
}
body .filter-compact-block .dm-parts-diameters {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: minmax(72px, 26%) minmax(0, 1fr);
  gap: 8px;
  align-items: center;
}
body .filter-compact-block [data-dm-hide-diameters] .dm-parts-controls,
body .filter-compact-block [data-dm-hide-diameters] :is([data-prop_code="inner_diameter"], [data-prop_code="outer_diameter"]) {
  display: none !important;
}
body .filter-compact-block .dm-parts-diameter-readouts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px;
}
body .filter-compact-block .dm-parts-diameter-readouts > div {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 38px;
}
body .filter-compact-block .dm-parts-diameter-label {
  display: flex;
  align-items: center;
  gap: 5px;
  white-space: nowrap;
  color: var(--parts-ink);
  font-size: 12px;
  font-weight: 650;
  line-height: 1.4;
}
body .filter-compact-block .dm-parts-diameter-label::before {
  content: "";
  flex: 0 0 9px;
  height: 9px;
  border: 2px solid var(--parts-blue);
  border-radius: 50%;
  background: var(--parts-blue);
}
body .filter-compact-block .dm-parts-diameter-readouts > div:nth-child(2) .dm-parts-diameter-label::before {
  background: #fff;
}
body .filter-compact-block .dm-parts-diameter-value {
  color: var(--parts-muted);
  font-size: 14px;
  line-height: 1.4;
  font-variant-numeric: tabular-nums;
}
body .filter-compact-block .dm-parts-diameter-readouts > div:has(.dm-parts-diameter-clear:not([hidden])) .dm-parts-diameter-value {
  padding-inline-end: 24px;
}
body .filter-compact-block .dm-parts-diameter-clear {
  position: absolute;
  inset: auto 0 0 auto;
  width: 24px;
  min-height: 32px;
  padding: 0;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: var(--parts-blue);
  cursor: pointer;
  font-size: 20px;
}
body .filter-compact-block .dm-parts-diameter-clear:hover {
  background: var(--parts-control);
}
body .filter-compact-block .dm-parts-shape {
  width: 18px;
  height: 18px;
  margin-right: 7px;
  vertical-align: middle;
}
body .filter-compact-block .dm-washer-preview svg {
  display: block;
  width: 100%;
  height: 70px;
  margin: 0 auto;
}
body .filter-compact-block .dm-parts-track {
  position: relative;
  height: 44px;
  margin-inline: 22px;
  touch-action: pan-y;
  user-select: none;
}
body .filter-compact-block .dm-parts-track::before,
body .filter-compact-block .dm-parts-track::after {
  content: "";
  position: absolute;
  inset: 20px 0 auto;
  height: 4px;
  border-radius: 2px;
  background: var(--parts-line);
}
body .filter-compact-block .dm-parts-track::after {
  inset-inline: min(var(--parts-inner), var(--parts-outer))
    calc(100% - max(var(--parts-inner), var(--parts-outer)));
  background: var(--parts-blue);
}
body .filter-compact-block .dm-parts-track [role="slider"] {
  position: absolute;
  z-index: 1;
  left: var(--parts-inner);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  transform: translateX(-50%);
  cursor: ew-resize;
}
body .filter-compact-block .dm-parts-track [role="slider"]:last-child {
  left: var(--parts-outer);
}
body .filter-compact-block .dm-parts-track [role="slider"]::before {
  content: "";
  position: absolute;
  inset: 12px;
  border: 3px solid var(--parts-blue);
  border-radius: 50%;
  background: var(--parts-blue);
}
body .filter-compact-block .dm-parts-track [role="slider"]:last-child::before {
  background: #fff;
}
body .filter-compact-block .dm-parts-track-overlap [role="slider"]:first-child::before {
  transform: translateY(-5px);
}
body .filter-compact-block .dm-parts-track-overlap [role="slider"]:last-child::before {
  transform: translateY(5px);
}
body .filter-compact-block .dm-parts-track [role="slider"]:focus-visible {
  z-index: 2;
  outline: 2px solid var(--parts-blue);
}
body .filter-compact-block .dm-parts-ticks {
  display: flex;
  justify-content: space-between;
  margin: -6px 10px 0;
  color: var(--parts-muted);
  font-size: 12px;
  line-height: 16px;
  font-variant-numeric: tabular-nums;
}
body .filter-compact-block .bx_filter.compact .wrapp_change_inputs > :not(.bx_filter_parameters_box_container_block) {
  display: none;
}
body .filter-compact-block .bx_filter.compact .bx_filter_parameters_box_container_block {
  flex: 1;
  min-width: 0;
}
body .filter-compact-block .bx_filter.compact .bx_filter_input_container {
  border: 1px solid var(--parts-line);
  border-radius: 6px;
}
body .filter-compact-block .bx_filter.compact .bx_filter_button_box .bx_filter_search_button {
  min-height: 44px;
  color: #fff;
  background: #0076ad;
  border-color: #0076ad;
}
body .filter-compact-block .bx_filter.compact .bx_filter_param_label {
  min-height: 44px;
  padding-top: 10px;
  padding-bottom: 10px;
}
body .filter-compact-block .bx_filter.compact .bx_filter_parameters_box_container {
  padding: 0;
  margin: 0;
}
body .filter-compact-block .bx_filter.compact .bx_filter_parameters_box_container.scrollblock {
  max-height: 220px;
  overflow-y: auto;
}
body .filter-compact-block input:focus-visible,
body .filter-compact-block input:focus-visible + label,
body .dm-parts-extra > summary:focus-visible,
body .dm-parts-diameter-clear:focus-visible,
body .section-compact-list__link:focus-visible,
body #right_block_ajax .item-title a:focus-visible {
  outline: 2px solid var(--parts-blue);
  outline-offset: 2px;
}
@media (max-width: 767px) {
  body .dm-custom-shims .order-block,
  body .dm-custom-shims .order-block tbody,
  body .dm-custom-shims .order-block tr,
  body .dm-custom-shims .order-block td {
    display: block;
    width: 100%;
  }
  body .dm-custom-shims .order-block {
    padding: 20px;
  }
  body .dm-custom-shims .order-block td {
    float: none;
    padding: 0;
    text-align: left;
  }
  body .dm-custom-shims .order-block .text {
    text-align: left;
    padding: 0;
    font-size: 14px;
    line-height: 1.65;
  }
  body .dm-custom-shims .order-block .btns-col {
    margin-top: 18px;
  }
  body .dm-custom-shims .order-block button {
    width: 100%;
    min-height: 44px;
    margin: 0;
    white-space: normal;
  }
}

body .filter-compact-block .bx_filter.compact .prop_type_N .wrapp_slider,
body .top-content-block .group_description_block[hidden] {
  display: none !important;
}

body:has(#right_block_ajax) .page-top {
  padding-top: 24px;
  padding-bottom: 0;
}
body:has(#right_block_ajax) .page-top .topic {
  margin-bottom: 4px;
  padding-top: 0;
}
body:has(#right_block_ajax) #pagetitle {
  color: var(--parts-ink);
  font-size: clamp(22px, 2.45vw, 34px);
  font-weight: 700;
  line-height: 1.18;
  letter-spacing: -0.025em;
}
body:has(#right_block_ajax) .breadcrumbs__item-name {
  color: var(--parts-muted);
}
body:has(#right_block_ajax) .breadcrumbs__item:last-child,
body:has(#right_block_ajax) .breadcrumbs__separator:has(+ .breadcrumbs__item:last-child) {
  display: none;
}
body .top-content-block .section-block {
  margin: 0 0 14px;
  padding: 0;
}
body .top-content-block .section-compact-list > .row {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 6px;
  padding: 5px;
  border: 1px solid var(--parts-line);
  border-radius: 12px;
  background: var(--parts-surface);
}
body .top-content-block .section-compact-list > .row::before,
body .top-content-block .section-compact-list > .row::after {
  display: none;
}
body .top-content-block .section-compact-list > .row > div {
  width: auto;
  min-width: 0;
  padding: 0;
}
body .top-content-block .section-compact-list__item {
  min-height: 48px;
  height: 100%;
  padding: 0 10px;
  border: 1px solid var(--parts-line);
  border-radius: 8px;
  box-shadow: none;
  background: #fff;
}
body .top-content-block .section-compact-list__item:hover,
body .top-content-block .section-compact-list__item:focus-within {
  border-color: var(--parts-blue);
  background: var(--parts-surface);
}
body .top-content-block .section-compact-list__info {
  flex: 1;
  min-width: 0;
  padding: 0;
}
body .top-content-block .section-compact-list__link {
  display: flex;
  align-items: center;
  min-height: 44px;
  color: var(--parts-ink);
  font-size: 13px;
  font-weight: 650;
  line-height: 1.25;
}
body .top-content-block .section-compact-list__image {
  flex: 0 0 32px;
  width: 32px;
  margin-right: 10px;
}
body .top-content-block .section-compact-list .element-count2 {
  display: none;
}
body #right_block_ajax .filter-panel {
  margin-bottom: 8px;
}
body #right_block_ajax .main_item_wrapper {
  border-color: var(--parts-line);
  box-shadow: none;
}
body #right_block_ajax .main_item_wrapper .item-title a {
  color: var(--parts-ink);
  font-weight: 600;
  line-height: 1.4;
}
body #right_block_ajax .main_item_wrapper .item-title a:hover {
  color: var(--parts-blue);
}
body #right_block_ajax .main_item_wrapper .price_value_block {
  color: var(--parts-ink);
  font-variant-numeric: tabular-nums;
}
body #right_block_ajax .table-view__item .item-foto__picture img {
  object-fit: contain;
}

@media (min-width: 768px) {
  body .filter-compact-block .bx_filter.compact .bx_filter_parameters {
    grid-template-columns: repeat(2, minmax(0, 1fr)) auto;
    align-items: end;
  }
  body .filter-compact-block .dm-parts-diameters {
    grid-column: 1 / 3;
    grid-template-columns: 112px minmax(0, 1fr);
    gap: 16px;
  }
  body .filter-compact-block .dm-parts-diameters ~ .dm-parts-extra:not([open]) {
    align-self: center;
    margin-top: 0;
  }
  body .filter-compact-block .dm-parts-extra:not([open]) {
    grid-column: 3;
    grid-row: 1;
    align-self: start;
    margin-top: 24px;
  }
  body .filter-compact-block .dm-parts-extra[open] {
    grid-column: 1 / -1;
  }
}
@media (min-width: 1024px) {
  body #right_block_ajax .table-view__item .item-foto,
  body #right_block_ajax .table-view__item .item-foto__picture {
    width: 106px;
  }
  body #right_block_ajax .table-view__item .item-foto__picture {
    height: 100px;
  }
  body #right_block_ajax .table-view__item .item-foto__picture img {
    width: 100%;
    height: 100%;
    max-height: 100px;
  }
}

@media (max-width: 767px) {
  body:has(#right_block_ajax) .page-top {
    padding-top: 10px;
    padding-bottom: 0;
  }
  body:has(#right_block_ajax) .page-top .element-count-wrapper,
  body .top-content-block .section-compact-list__image,
  body #right_block_ajax .filter-panel {
    display: none;
  }
  body:has(#right_block_ajax) .breadcrumbs {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  body .top-content-block .section-compact-list > .row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  body .top-content-block .section-compact-list__item {
    min-height: 44px;
    padding: 0;
  }
  body .top-content-block .section-compact-list__link {
    padding: 4px 8px;
  }
  body .top-content-block .section-block {
    margin-bottom: 6px;
  }
  body .filter-compact-block {
    margin-bottom: 8px;
  }
  body .filter-compact-block .bx_filter.compact .bx_filter_section {
    padding: 8px 10px;
  }
  body .filter-compact-block .bx_filter.compact .bx_filter_parameters {
    gap: 4px 10px;
  }
  body #right_block_ajax .table-view.js_append {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    margin: 0;
  }
  body #right_block_ajax .table-view.js_append::before,
  body #right_block_ajax .table-view.js_append::after {
    display: none;
  }
  body #right_block_ajax .table-view.js_append > .main_item_wrapper {
    width: auto;
    min-width: 0;
    margin: 0;
    border-radius: 12px;
  }
  body #right_block_ajax .main_item_wrapper .item-stock {
    white-space: normal;
  }
}

body .filter-compact-block [data-dm-round-native] {
  display: none !important;
}
body .filter-compact-block .dm-round-choice {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  padding: 4px 0;
  border: 0;
  background: none;
  color: inherit;
  text-align: left;
}
body .filter-compact-block .dm-round-choice::before {
  content: '';
  display: grid;
  place-items: center;
  width: 18px;
  height: 18px;
  border: 1px solid currentColor;
  border-radius: 3px;
}
body .filter-compact-block .dm-round-choice[aria-checked="true"]::before {
  content: '✓';
}
body .filter-compact-block .dm-round-choice[aria-checked="mixed"]::before {
  content: '−';
}
