.ap-consumables-root .ap-consumables-old-sidebar {
  display: none !important;
}

.ap-consumables-root #column-left,
.ap-consumables-root .filter-aside.ap-light-filter,
.ap-consumables-root .filter-aside__offcanvas,
.ap-consumables-root .ocfilter-mobile,
.ap-consumables-root .ocfilter-mobile-handle {
  display: none !important;
}

.ap-consumables-root #column-left + [class*="col-"],
.ap-consumables-root .ap-consumables-main-wide {
  width: 100% !important;
  flex: 0 0 100% !important;
  max-width: 100% !important;
}

.ap-consumables-hide-standard .products-categories,
.ap-consumables-hide-standard .catalog__content {
  display: none !important;
}

.ap-consumables-category-page:not(.ap-consumables-root) .products-categories {
  display: none !important;
}

.ap-consumables-category-page:not(.ap-consumables-root) #column-left,
.ap-consumables-category-page:not(.ap-consumables-root) .filter-aside.ap-light-filter {
  display: block !important;
}

.ap-consumables-category-page:not(.ap-consumables-root) .filter-aside.ap-light-filter,
.ap-consumables-category-page:not(.ap-consumables-root) #column-left .panel,
.ap-consumables-category-page:not(.ap-consumables-root) #column-left .list-group {
  border-radius: 8px !important;
  border: 1px solid #edf0f3 !important;
  background: #fff !important;
  box-shadow: 0 10px 28px rgba(22, 28, 36, .05) !important;
  overflow: hidden;
}

.ap-consumables-category-page:not(.ap-consumables-root) .filter-aside__title,
.ap-consumables-category-page:not(.ap-consumables-root) #column-left .panel-heading {
  color: #20242a !important;
  font-size: 20px !important;
  font-weight: 800 !important;
}

.ap-consumables-category-page:not(.ap-consumables-root) .filter-aside a,
.ap-consumables-category-page:not(.ap-consumables-root) #column-left a {
  text-decoration: none;
}

.ap-consumables-facets {
  max-width: 1440px;
  margin: 0 auto 24px;
  padding: 0 16px;
}

.ap-consumables-facets * {
  box-sizing: border-box;
}

.ap-consumables-facets__panel,
.ap-consumables-results {
  border-radius: 8px;
  background: #fff;
  border: 1px solid #edf0f3;
  box-shadow: 0 10px 28px rgba(22, 28, 36, .05);
}

.ap-consumables-facets__panel {
  padding: 18px;
  margin-bottom: 16px;
}

.ap-consumables-facets__head,
.ap-consumables-nav__head,
.ap-consumables-results__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 14px;
}

.ap-consumables-facets__head strong,
.ap-consumables-nav__head h2,
.ap-consumables-results__head h2 {
  margin: 0;
  color: #20242a;
  font-size: 22px;
  line-height: 1.2;
  font-weight: 700;
}

.ap-consumables-facets__head span {
  display: block;
  margin-top: 3px;
  color: #717985;
  font-size: 14px;
}

.ap-consumables-facets__toggle {
  display: none;
  min-height: 40px;
  padding: 0 16px;
  border: 0;
  border-radius: 8px;
  background: #15965f;
  color: #fff;
  font-weight: 700;
}

.ap-consumables-filter {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.ap-consumables-filter__group {
  min-width: 0;
}

.ap-consumables-filter__label {
  display: block;
  margin-bottom: 8px;
  color: #20242a;
  font-weight: 700;
  font-size: 14px;
}

.ap-consumables-filter__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.ap-consumables-filter__chips a {
  min-height: 32px;
  display: inline-flex;
  align-items: center;
  padding: 0 11px;
  border-radius: 7px;
  border: 1px solid #e4e8ed;
  background: #f7f8fa;
  color: #343a42;
  font-size: 13px;
  text-decoration: none;
}

.ap-consumables-filter__chips a:hover,
.ap-consumables-filter__chips a.is-active {
  border-color: #15965f;
  background: #eef9f3;
  color: #15965f;
  text-decoration: none;
}

.ap-consumables-filter__price {
  display: grid;
  grid-template-columns: 1fr 1fr auto;
  gap: 7px;
  margin-bottom: 8px;
}

.ap-consumables-filter__price input {
  min-width: 0;
  height: 36px;
  border: 1px solid #e1e5ea;
  border-radius: 7px;
  padding: 0 10px;
}

.ap-consumables-filter__price button {
  height: 36px;
  border: 0;
  border-radius: 7px;
  padding: 0 12px;
  background: #e00000;
  color: #fff;
  font-weight: 700;
}

.ap-consumables-filter__brands {
  grid-column: auto;
}

.ap-consumables-shop {
  display: block;
  margin-top: 20px;
}

.catalog__content > .ap-consumables-shop--products-only {
  width: 100%;
  margin: 0 0 22px;
}

.ap-consumables-shop--products-only:not(.is-ready) {
  display: none;
}

.catalog__content > .ap-consumables-shop--products-only .ap-consumables-results {
  width: 100%;
}

.ap-consumables-shop__filters {
  position: sticky;
  top: 88px;
  padding: 18px;
  border-radius: 8px;
  background: #fff;
  border: 1px solid #edf0f3;
  box-shadow: 0 10px 28px rgba(22, 28, 36, .05);
}

.ap-consumables-shop__filter-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
}

.ap-consumables-shop__filter-head strong {
  color: #20242a;
  font-size: 20px;
  line-height: 1.2;
}

.ap-consumables-shop__filter-head a {
  color: #e00000;
  font-weight: 700;
  text-decoration: none;
}

.ap-consumables-results {
  padding: 18px;
  margin-bottom: 16px;
}

.ap-consumables-results__head a {
  color: #15965f;
  font-weight: 700;
  text-decoration: none;
}

.ap-consumables-results__head span {
  color: #8b93a0;
  font-weight: 700;
}

.ap-consumables-nav {
  margin: 0 0 18px;
}

.ap-consumables-nav .ap-home-catalog--inside-category {
  margin-top: 0;
  margin-bottom: 8px;
  padding-left: 0;
  padding-right: 0;
}

.ap-consumables-nav__tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.ap-consumables-nav__tab {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  border-radius: 8px;
  background: #fff;
  border: 1px solid #e7ebf0;
  color: #20242a;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  box-shadow: 0 8px 20px rgba(22, 28, 36, .04);
}

.ap-consumables-nav__tab:hover,
.ap-consumables-nav__tab:focus {
  border-color: #e00000;
  color: #e00000;
  text-decoration: none;
}

.ap-consumables-results__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.ap-consumables-results__grid--prostore {
  display: block;
}

.ap-consumables-results__grid--prostore .products {
  width: 100%;
}

.ap-consumables-product {
  min-width: 0;
  border: 1px solid #eef1f4;
  border-radius: 8px;
  padding: 12px;
  background: #fff;
  transition: box-shadow .18s ease, transform .18s ease, border-color .18s ease;
}

.ap-consumables-product:hover {
  transform: translateY(-2px);
  border-color: #e5e9ee;
  box-shadow: 0 12px 24px rgba(22, 28, 36, .08);
}

.ap-consumables-product__image {
  display: block;
  aspect-ratio: 1 / 1;
  margin-bottom: 10px;
  border-radius: 8px;
  background: #f6f7f9;
  overflow: hidden;
}

.ap-consumables-product__image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.ap-consumables-product__name {
  display: block;
  min-height: 42px;
  color: #20242a;
  font-weight: 700;
  line-height: 1.35;
  text-decoration: none;
}

.ap-consumables-product__brand {
  display: block;
  margin-top: 4px;
  color: #78818d;
  font-size: 13px;
}

.ap-consumables-product__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-top: 10px;
}

.ap-consumables-product__bottom strong {
  color: #20242a;
  font-size: 18px;
}

.ap-consumables-product__bottom span {
  color: #15965f;
  font-size: 13px;
  font-weight: 700;
}

.ap-consumables-load-more {
  width: min(420px, 100%);
  min-height: 62px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin: 24px auto 2px;
  border: 0;
  border-radius: 8px;
  background: #e00000;
  color: #fff;
  font-size: 18px;
  font-weight: 800;
  box-shadow: 0 14px 28px rgba(224, 0, 0, .2);
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}

.ap-consumables-load-more b {
  width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: #fff;
  color: #e00000;
  font-size: 24px;
  line-height: 1;
}

.ap-consumables-load-more:hover,
.ap-consumables-load-more:focus {
  background: #c90000;
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 18px 34px rgba(224, 0, 0, .26);
}

.ap-consumables-load-more.is-loading {
  opacity: .78;
  cursor: wait;
}

.ap-consumables-empty {
  padding: 18px;
  border-radius: 8px;
  background: #f7f8fa;
  color: #69717d;
}

@media (max-width: 1199px) {
  .ap-consumables-results__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

}

@media (max-width: 640px) {
  .ap-consumables-root #column-left,
  .ap-consumables-nav-section #column-left,
  .ap-consumables-root .filter-aside,
  .ap-consumables-nav-section .filter-aside,
  .ap-consumables-root .filter-aside__offcanvas,
  .ap-consumables-nav-section .filter-aside__offcanvas,
  .ap-consumables-root .filter-aside__toggle,
  .ap-consumables-nav-section .filter-aside__toggle,
  .ap-consumables-root .ocfilter-mobile,
  .ap-consumables-nav-section .ocfilter-mobile,
  .ap-consumables-root .ocfilter-mobile-handle,
  .ap-consumables-nav-section .ocfilter-mobile-handle {
    display: none !important;
  }

  .ap-consumables-root #column-left + [class*="col-"],
  .ap-consumables-nav-section #column-left + [class*="col-"] {
    width: 100% !important;
    max-width: 100% !important;
    flex: 0 0 100% !important;
  }

  .ap-consumables-facets {
    padding: 0 14px;
  }

  .ap-consumables-facets__panel,
  .ap-consumables-results {
    padding: 14px;
  }

  .ap-consumables-facets__toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .ap-consumables-shop {
    display: block;
    margin-top: 14px;
  }

  .ap-consumables-category-page:not(.ap-consumables-root) #column-left {
    margin-bottom: 14px;
  }

  .ap-consumables-filter {
    gap: 13px;
  }

  .ap-consumables-filter__price {
    grid-template-columns: 1fr 1fr;
  }

  .ap-consumables-filter__price button {
    grid-column: 1 / -1;
  }

  .ap-consumables-results__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .ap-consumables-nav__tabs {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }

  .ap-consumables-nav__tab {
    min-height: 50px;
    padding: 8px 10px;
    border-color: #e0e5eb;
    background: #fff;
    font-size: 14px;
    white-space: normal;
    box-shadow: 0 8px 18px rgba(22, 28, 36, .05);
  }

  .ap-consumables-facets__head,
  .ap-consumables-nav__head,
  .ap-consumables-results__head {
    align-items: flex-start;
  }

  .ap-consumables-product {
    padding: 10px;
  }

  .ap-consumables-product__name {
    min-height: 54px;
    font-size: 14px;
  }

  .ap-consumables-product__bottom {
    display: block;
  }

  .ap-consumables-product__bottom strong {
    display: block;
    font-size: 16px;
  }
}
