/* Category Page = START */
.category__description {
  margin-bottom: 20px;
}

.category__row {
  display: flex;
  column-gap: 15px; /* або gap: 15px; */
  align-items: start;
}

.mobile .category__row {
  display: block;
}

/* щоб грід-елементи нормально стискались */
.category__row > #content {
  min-width: 0;
  width: 100%;
}


/* Заголовок списку */
.subcategories__title {
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
  width: max-content;
  color: #1e1e1e;
  font-family: var(--main-font);
  font-weight: 600;
  font-size: 16px;
  line-height: 130%;
  cursor: pointer;
  user-select: none;
}

/* Іконка */
.subcategories__title svg {
  flex-shrink: 0;
  transition: transform 0.3s ease;
}

/* Поворот іконки, коли список відкритий */
.category__subcategories--checkbox.click .subcategories__title svg {
  transform: rotate(180deg);
}

/* Список */
.subcategories__list {
  list-style: none;
  padding-bottom: 5px;
  padding-left: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  overflow: hidden;
  margin-bottom: 20px;
}

/* Коли список закритий */
.subcategories__list:not(.in) {
  padding-bottom: 0;
}

.mobile .subcategories__list {
  flex-wrap: nowrap;
  gap: 5px;
  overflow-x: auto;
  overflow-y: hidden;
}

/* Item */
.subcategories__list > li {
  list-style-type: none;
  margin: 0;
  flex-shrink: 0;
}

/* Посилання всередині item */
.subcategories__list > li > a {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 7px 20px;
  border: 1px solid #000;
  border-radius: 20px;
  font-family: var(--font-family);
  font-weight: 400;
  font-size: 16px;
  line-height: 130%;
  color: #000;
  text-decoration: none;
  -webkit-transition: 0.2s ease 0s;
  -o-transition: 0.2s ease 0s;
  transition: 0.2s ease 0s;
}

.mobile .subcategories__list > li > a picture {
  flex-shrink: 0;
}

/* Зображення */
.subcategories__list img {
  width: 40px;
  height: 40px;
  border-radius: 2px;
  object-fit: cover;
  flex: 0 0 auto;
  display: block;
}

/* Текст */

/* легкий hover */
.subcategories__list > li > a:hover {
  border-color: #a51511;
  background-color: #a51511;
  color: #fff;
}
/* Список підкатегорій = END */

.left-top-action {
  padding-right: 20px;
}

.title-top-page {
  color: #0f0f0f;
  font-family: var(--main-font);
  font-size: 64px;
  line-height: 1;
  text-transform: uppercase;
}

.title-top-page span {
  font-weight: 700;
}

.note-top-page {
  color: #1e1e1e;
  font-family: var(--main-font);
  font-size: 12px;
  line-height: normal;
  margin-top: 8px;
}

.top-action-category {
  min-height: 48px;
  margin-top: 10px;
  margin-bottom: 30px;
  display: flex;
  /* flex-wrap: wrap; */
  justify-content: space-between;
  align-items: center;
  row-gap: 15px;
}

.mobile .top-action-category {
  margin-bottom: 15px;
}

.category__title {
  margin-top: 0;
  margin-bottom: 0;
  color: #1e1e1e;
  font-family: var(--main-font);
  font-weight: 600;
  font-size: 24px;
  line-height: 1.3;
}

.description-category {
  margin-top: 10px;
  color: #141414;
  font-family: var(--main-font);
  font-size: 14px;
  line-height: normal;
}


.category__filter-sort {
  display: flex;
  align-items: center;
}

.mobile  .category__filter-sort {
  width: 100%;
}


.category__filter-sort .ocf-btn-mobile-static.ocf-mobile {
  margin-bottom: 0;
  padding-bottom: 0;
  border: none;
  width: 50%;
}

.category__filter-sort .ocf-btn-mobile-static.ocf-mobile button {
  background-color: transparent;
  display: flex;
  align-items: center;
  gap: 20px;
  font-family: var(--font-family);
  font-weight: 600;
  font-size: 14px;
  line-height: 130%;
  color: #000;
  width: 100%;
  justify-content: center;
}

.category__filter-sort--buttons .category__filter-sort--sort .custom-select-container {
  background: #f6f6f6;
  border-radius: 5px;
  width: 305px;
  
}

.mobile .category__filter-sort--buttons .category__filter-sort--sort .custom-select-container {
  width: 100%;
} 


.category__filter-sort--buttons .category__filter-sort--sort .custom-select-container span {
  font-family: var(--font-family);
  font-weight: 600;
  font-size: 14px;
  line-height: 130%;
  color: #141414;
}

.custom-select-container.is-open .custom-select-panel {
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.08);
}

@media (max-width: 991.98px) {
  .top-page {
    height: 110px;
  }

  .title-top-page {
    font-size: 48px;
  }
}

@media (max-width: 649.98px) {
  .title-top-page {
    font-size: 38px;
  }


  .left-top-action {
    flex-direction: column;
  }
}

@media (max-width: 1700px) {
  .list-product {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 992px) {
  .category__filter-sort--sort .ocf-btn {
    display: none;
  }
}

@media (max-width: 990px) {
  .category__row {
    display: block;
  }

  .subcategories__list {
    flex-wrap: nowrap;
    gap: 5px;
    overflow-x: auto;
  }

  .subcategories__list > li > a picture {
    flex-shrink: 0;
  }

  .category__filter-sort--sort {
    width: 100%;
  }

  .category__filter-sort--sort .custom-select-container {
    width: 50%;
  }

  .category__filter-sort--sort .category__text-sort {
    display: none;
  }


  .product_slide--wrapper {
    margin-left: -5px;
    margin-right: -5px;
    flex-direction: column;
  }

  .list-product {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (max-width: 780px) {
  .category__filter-sort--sort {
    width: 100%;
  }

  .category__filter-sort--sort .custom-select-container {
    width: 50%;
  }

  .category__filter-sort--sort .category__text-sort {
    display: none;
  }

  .product_slide--wrapper {
    margin-left: -5px;
    margin-right: -5px;
    flex-direction: column;
  }

  .list-product {
    grid-template-columns: repeat(2, 1fr);
    grid-row-gap: 4px;
    grid-column-gap: 5px;
  }

  .product_slide--banner.banner__left {
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 10px;
  }

  .product_slide-heading {
    margin-bottom: 10px;
    justify-content: center;
  }

  h2.block__title {
    margin-right: 19px;
    padding-right: 0;
    font-weight: 700;
    border-right: 0;
  }

  .page-title-link {
    margin-right: auto;
    padding: 0 20px 0 0;
    min-width: auto;
    border: 0;
    text-decoration: underline;
  }

  .product_slide--buttons {
    margin-left: auto;
    margin-right: 0;
  }

  .product__item--buttons button svg {
    width: 16px;
  }

  .list-product-featured h2.block__title {
    font-weight: 500;
  }

  .list-product-featured h2.block__title span {
    font-weight: 700;
  }

  #column-left .ocf-filter-body {
    border-bottom: none;
    padding-bottom: 5px;
    margin-bottom: 5px;
    border-bottom: 1px solid #d4d4d4;
  }

  #column-left .ocf-filter-body .ocf-filter-header .ocf-filter-name {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-family: var(--main-font);
    font-weight: 400;
    font-size: 16px;
    line-height: 140%;
    color: #141414;
    text-transform: none;
  }

  #column-left .ocf-filter-body .ocf-filter-header .ocf-filter-name svg {
    display: none;
  }

  .mobile .ocf-filter {
    margin: 0;
    padding: 0 10px;
    border-bottom: 1px solid #d4d4d4;
  }

  #column-left .slider_input_wrap {
    margin-bottom: 10px;
  }

  #column-left .ocf-filter-list {
    padding-bottom: 55px;
  }

  #column-left .ocf-value-list {
    height: 100% !important;
  }

  #column-left .ocf-value-list .ocf-collapse-value {
    height: max-content;
  }

  #column-left .ocf-footer {
    position: absolute;
    padding: 10px 0;
    background-color: #fff;
  }

  #column-left .ocf-footer .ocf-between {
    padding: 0 20px;
    flex-direction: column;
    gap: 10px;
  }

  .ocf-body .ocf-btn-show-filters {
    margin: 20px auto 0;
  }

  #column-left .ocf-footer .ocf-between .ocf-btn-block {
    display: block;
  }
}
/* Category Page = END */



/* OCFilter = START */
#column-left {
  padding: 20px 20px 40px;
  background: transparent;
  border: 0;
  border-radius: 20px;
  width: 310px;
  flex-shrink: 0;
  background-color: #F6F6F6;
}

#column-left .ocf-content {
  margin: 0;
}

#column-left .ocf-header {
  font-family: var(--font-family);
  font-weight: 600;
  font-size: 24px;
  line-height: 130%;
  color: #1e1e1e;
  border-bottom: 1px solid #d4d4d4;
}

#column-left .ocf-filter-body {
  background-color: transparent;
  border: none;
  box-shadow: none;
  border-radius: 0;
  border-bottom: 1px solid #d4d4d4;
  padding-bottom: 15px;
}

.mobile #column-left .ocf-filter-body {
  border-bottom: none;
  padding-bottom: 0px;
  margin-bottom: 0px;
}

/* OCFilter clickable header fix = START */

#column-left .ocf-filter-body .ocf-filter-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  cursor: pointer;
}

#column-left .ocf-filter-body .ocf-filter-header .ocf-filter-name {
  flex: 1;
}

#column-left .ocf-filter-body .ocf-filter-header .ocf-filter-header-append {
  flex-shrink: 0;
}

#column-left .ocf-filter-body .ocf-filter-header,
#column-left .ocf-filter-body .ocf-filter-header * {
  pointer-events: auto;
}

/* OCFilter clickable header fix = END */

#column-left .ocf-filter-body .ocf-filter-header .ocf-filter-name {
  display: flex;
  align-items: center;
  font-family: var(--font-family);
  font-weight: 600;
  font-size: 16px;
  line-height: 125%;
  color: #1e1e1e;
  text-transform: none;
}

.mobile #column-left .ocf-filter-body .ocf-filter-header .ocf-filter-name {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-family: var(--font-family);
  font-weight: 400;
  font-size: 16px;
  line-height: 140%;
  color: #141414;
}

.mobile #column-left .ocf-filter-body .ocf-filter-header .ocf-filter-name svg {
  display: none;
}

#column-left .ocf-filter-body .ocf-filter-header .ocf-filter-name svg {
  transition: 0.2s ease-in-out;
  margin-left: 10px;
  flex-shrink: 0;
}

#column-left .ocf-filter-body .ocf-filter-header.collapsed .ocf-filter-name svg {
  transform: rotate(180deg);
}

#column-left .ocf-slider .ocf-filter-body .ocf-filter-header .ocf-filter-name {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-family: var(--font-family);
  font-weight: 400;
  font-size: 16px;
  line-height: 140%;
  color: #141414;
}

#column-left .ocf-filter-body .ocf-filter-header.collapsed {
  margin-bottom: 0;
}

#column-left .ocf-input-group input {
  background-color: transparent;
  border: none;
  text-align: center;
  font-family: var(--font-family);
  font-weight: 400;
  font-size: 16px;
  line-height: 130%;
  color: #141414;
}

#column-left .ocf-input-group .ocf-input-group-addon {
  font-family: var(--font-family);
  font-weight: 500;
  font-size: 18px;
  line-height: 140%;
  color: #141414;
  background-color: transparent;
}

#column-left .slider_input_wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
}

.mobile #column-left .slider_input_wrap {
  margin-bottom: 10px;
}

#column-left .slider_input_wrap .ocf-slider-input-group {
  margin-bottom: 0;
  height: 50px;
  background-color: #f4f4f4;
  border-radius: 5px;
  display: flex;
  align-items: center;
}

#column-left .slider_input_wrap .filter-ok {
  display: flex;
  align-items: center;
  justify-content: center;
  background: #3a3227;
  border-radius: 5px;
  width: 50px;
  height: 50px;
  flex-shrink: 0;
  font-family: var(--font-family);
  font-weight: 400;
  font-size: 16px;
  line-height: 100%;
  color: #fff;
}

#column-left .ocf-input-group .ocf-input-group-addon.prefix {
  font-family: var(--font-family);
  font-weight: 400;
  font-size: 16px;
  line-height: 130%;
  color: #141414;
}

#column-left .ocf-value-slider {
  margin-bottom: 10px;
}

#column-left .ocf-value-slider .ocf-noUi-handle {
  background-color: #3a3227;
  border: none;
  box-shadow: none;
}

#column-left .ocf-value-slider .ocf-noUi-connect:before {
  background-color: #3a3227;
}

#column-left .ocf-noUi-pips {
  display: none;
}

#column-left .ocf-popover {
  display: none !important;
}

#column-left .ocf-value-input {
  width: 20px;
  height: 20px;
}

#column-left .ocf-value-input::before {
  background-color: transparent;
  border: 1px solid #1e1e1e;
  border-radius: 5px;
  width: 20px;
  height: 20px;
}

#column-left .ocf-selected .ocf-value-input::before {
  background-color: #1e1e1e;
  border: 1px solid #1e1e1e;
}

#column-left .ocf-value-input::after {
  width: 20px;
  height: 20px;
}

#column-left .ocf-value-name {
  font-family: var(--font-family);
  font-weight: 500;
  font-size: 16px;
  line-height: 156%;
  color: #232323;
}

.mobile #column-left .ocf-filter-list {
  padding-bottom: 55px;
}

.mobile #column-left .ocf-value-list {
  height: 100% !important;
}

.mobile #column-left .ocf-open .ocf-value-list {
  transform: translateX(0%);
}

.mobile #column-left .ocf-value-list .ocf-collapse-value {
  height: max-content;
}


.mobile .content_wrapp #column-left .ocf-filter-body .ocf-filter-header.collapsed {
padding: 0 20px;
top: -16px;
z-index: 2;
}



#column-left .ocf-footer {
  box-shadow: none;
  background-color: transparent;
  position: relative;
  margin: 0;
}

.mobile #column-left .ocf-footer {
  position: absolute;
  padding: 10px 0;
  background-color: #fff;
}

#column-left .ocf-footer::after {
  display: none;
}

#column-left .ocf-footer .ocf-between {
  justify-content: center;
}

.mobile #column-left .ocf-footer .ocf-between {
  padding: 0 20px;
  flex-direction: column;
  gap: 10px;
}

#column-left .ocf-footer .ocf-between .ocf-btn-link {
  font-family: var(--font-family);
  font-weight: 400;
  font-size: 14px;
  line-height: 114%;
  letter-spacing: 0.01em;
  text-decoration: underline;
  text-decoration-skip-ink: none;
  text-align: center;
  color: #a51511;
  text-transform: lowercase;
}

.ocf-body .ocf-btn-show-filters {
  background: #A51511;
  width: 100%;
  height: 40px;
  border-radius: 40px;
}

.ocf-body .ocf-btn-show-filters:hover {
  background: #640f0c;
}

.mobile .ocf-body .ocf-btn-show-filters {
  margin: 20px auto 0;
}

.ocf-body .ocf-btn-show-filters span {
  font-family: var(--font-family);
  font-weight: 400;
  font-size: 12px;
  text-align: center;
  color: #fff;
  text-transform: uppercase;
}

#column-left .ocf-footer .ocf-between .ocf-btn-block {
  height: 40px;
background: #A51511;
  width: max-content;
  border-radius: 5px;
  font-family: var(--font-family);
  font-weight: 400;
  font-size: 16px;
  line-height: 130%;
  color: #fff;
  display: none;
}

.mobile #column-left .ocf-footer .ocf-between .ocf-btn-block {
  display: block;
}

#column-left .ocf-footer .ocf-between .ocf-btn-block.ocf-disabled {
  opacity: 1;
}

#column-left .ocf-theme-light .ocf-filter + .ocf-filter {
  border-top: 0;
}

@media (max-width: 991.98px) {
  #column-left .ocf-footer .ocf-between .ocf-btn-block {
    width: 100%;
  }

  .ocf-body .ocf-btn-show-filters {
    width: auto;
  }
}
/* OCFilter = END */




/* Dropdown sort = START */
.form-group-sort {
  display: flex;
  align-items: center;
}

.form-group-sort label {
  margin-right: 26px;
  margin-bottom: 0;
  color: #141414;
  font-family: var(--font-family);
  font-weight: 700;
  line-height: 1.3;
}

select#input-sort {
  margin: 0;
  padding: 14px 23px;
  height: auto;
  border: none;
  box-shadow: none;
  user-select: none;
  cursor: pointer;
}

select#input-sort:hover,
select#input-sort:focus {
  margin: 0;
  padding: 14px 23px;
  height: auto;
  border: none;
  box-shadow: none;
}

.sort-icon {
  display: none;
}

.sort-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  min-width: 170px;
  background: #fff;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.12);
  border-radius: 0;
  display: none;
  z-index: 1000;
}

.sort-dropdown__item {
  display: block;
  padding: 10px 12px;
  border-radius: 0;
  text-decoration: none;
  color: #111;
  font-size: 14px;
}

.sort-dropdown__item:hover {
  background: #f2f2f2;
}

.sort-dropdown__item.is-active {
  background: #111;
  color: #fff;
}

.category__filter-sort--buttons {
  justify-content: normal;
}

#content a.sort-dropdown__item {
  text-decoration: none;
}

/* wrapper for absolute dropdown */
.js-sort {
  position: relative;
}

.category__filter-sort--sort {
  display: flex;
  align-items: center;
}

.mobile .category__filter-sort--sort {
  width: 100%;
}

.category__filter-sort--sort .ocf-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 50%;
  background-color: transparent;
  font-family: var(--font-family);
  font-weight: 600;
  font-size: 14px;
  line-height: 130%;
  color: #000;
}

.mobile .category__filter-sort--sort .custom-select-container {
  width: 50%;
}

.mobile .category__filter-sort--sort .category__text-sort {
  display: none;
}

.category__filter-sort--sort svg {
  margin-right: 19px;
  flex-shrink: 0;
}

.category__text-sort {
  margin-right: 17px;
  color: #141414;
  font-family: var(--font-family);
  font-weight: 400;
  font-size: 14px;
  line-height: 1.3;
}
/* Dropdown sort = END */
