#header,
.breadcrumb__wrapper,
.breadcrumb {
  background: transparent !important;
}

.header .header-bottom {
  background: #fff !important;
}

.page-title-section {
  color: var(--title-color);
  font-weight: 300;
  font-size: 52px;
}

.category__description {
  color: var(--paragraph-color);
  font-size: 14px;
}

.category__header-right {
  align-content: center;
}

.category__header-left_content {
  max-width: 500px
}

.subcategory {
  margin-top: 50px;
}

.subcategory__title {
  background: #FFF6EA;
  padding: 4px 8px;
  font-weight: 500;
  font-size: 12px;
  color: var(--paragraph-color);
  width: max-content;
}

.subcategory__link {
  border: none;
  padding: 0;
  background: transparent;
}

.subcategory__name {
  color: var(--title-color);
  font-weight: 500;
  font-size: 18px;
  opacity: 0.5;
}

.subcategory__name.active {
  opacity: 1;
}

.subcategory__link:hover .subcategory__name {
  color: var(--main-color);
}

.products__count,
.products__sort,
.products__sort-dropdown-button {
  color: #000000;
  font-weight: 500;
  font-size: 18px;
}

.products__sort {
  justify-content: flex-end;
}

.products__sort-dropdown {
  flex-grow: unset;
}

.products__sort-dropdown-button {
  border: none;
  padding: 0;
  width: auto;
}

.pagination__container {
  justify-content: center;
}

.category__footer {
  background-color: var(--light-grey);
  border-radius: 8px;
  padding: 48px 16px;
  margin-bottom: 96px;
}

.category__additional-description {
  font-size: 14px;
  color: var(--text-grey-color);
}

.category__additional-description h2 {
  font-size: 18px;
  color: var(--title-color);
  margin-bottom: 24px;
}

.pagination .page-link {
  font-weight: 500;
  font-size: 12px;
  color: var(--title-color);
  width: 40px;
  height: 40px;
  justify-content: center;
}

.active > .page-link,
.page-link.active {
  background: #F2F2F2;
  border: 1px solid #E7E7E7;
  border-radius: 4px;
}

.pagination .page-link.disabled {
  opacity: 0.5;
}

.left-block__title {
  color: #000000;
  font-size: 16px;
  display: flex;
  align-items: center;
  gap: 5px;
  border-block-end: 1px solid var(--bs-border-color);
  padding-bottom: 20px;
  margin-bottom: 0px;
}

.search-filters__active-count {
  width: 20px;
  height: 16px;
  background: #E7E7E7;
  font-size: 10px;
  color: #222222;
  padding: 0;
  text-align: center;
  align-content: center;
}

.search-filters .accordion-button {
  padding-block: 18px;
}

.layout-left-column .products,
.layout-right-column .products {
  gap: 48px 12px;
}

.search-filters .accordion-collapse >.accordion-body {
  display: flex;
  flex-direction: column;
}

.search-filters .accordion-collapse >.accordion-body >li {
  order: 2;
}

.search-filters .accordion-collapse >.accordion-body >li.filter-active {
  order: 1;
}

@media (min-width: 768px) {
  .breadcrumb__wrapper {
    margin-bottom: 96px;
  }

  #js-product-list-header {
    margin-bottom: 96px;
  }

  #left-column {
    margin-top: 52px;
  }

  .category__additional-description {
    max-width: 685px;
    margin: auto;
  }

  #search-filters {
    max-width: 200px;
  }
}

@media (min-width: 1200px) {
  .layout-left-column .products,
  .layout-right-column .products {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .product-miniature__top {
    min-height: unset;
    aspect-ratio: 1 / 1.25;
    align-content: center;
  }

  .products .product-miniature__image-link {
    min-height: unset;
  }
}

@media (min-width: 1400px) {
  .layout-left-column .products,
  .layout-right-column .products {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }
}

@media (max-width: 767px) {
  .category__header-left {
    order: 1;
  }

  .page-title-section {
    margin-top: 24px;
    font-size: 36px;
  }

  #search_filters_wrapper {
    margin-top: 32px;
    padding-top: 48px;
  }

  .products__sort-dropdown {
    display: none;
  }

  .left-block__title {
    margin-bottom: 0px;
  }

  .subcategory__header {
    padding-inline: .75rem;
  }

  .search-filters {
    gap: 0;
  }

  .search-filters__toggle-icon {
    margin-left: auto;
  }
}
