@import "../libs/select2.min.css";

.catalog-page {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  gap: 32px;
  margin-bottom: 95px;
}

.catalog-page__filter {
  -ms-flex-negative: 0;
  flex-shrink: 0;
  width: 100%;
  max-width: 312px;
}

@media (max-width: 992px) {
  .catalog-page__filter {
    display: block;
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    z-index: 15;
    max-width: 100%;
    background: rgba(35, 82, 144, 0.54);
    opacity: 0;
    pointer-events: none;
    -webkit-transition: all 0.4s ease-in-out;
    transition: all 0.4s ease-in-out;
  }
}

@media (max-width: 767px) {
  .catalog-page__filter {
    padding-left: 38px;
  }
}

.catalog-page__filter-title {
  display: none;
}

@media (max-width: 992px) {
  .catalog-page__filter-title {
    display: block;
  }
}

@media (max-width: 992px) {
  .catalog-page__filter .inner {
    padding: 32px 0 32px 25px;
    width: 70%;
    margin-left: auto;
    background: #f4f4f4;
    height: 100%;
  }

  .catalog-page__filter .inner .filter-content {
    overflow: auto;
    height: calc(100% - 90px);
    padding-right: 25px;
  }

  .catalog-page__content {
    width: 100%;
  }
}

@media (max-width: 767px) {
  .catalog-page__filter .inner {
    width: 100%;
  }

  .catalog-page__filter .inner .filter-content {
    height: inherit;
  }
}

.catalog-page__filter .close {
  display: none;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  width: 45px;
  height: 45px;
  border-radius: 9px;
  background: #ffffff;
  position: absolute;
  top: 35px;
  right: 25px;
  cursor: pointer;
}

@media (max-width: 992px) {
  .catalog-page__filter .close {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
  }
}

@media (max-width: 767px) {
  .catalog-page__filter .close {
    top: 30px;
  }
}

.catalog-page__filter.open {
  opacity: 1;
  pointer-events: auto;
}

.catalog-page__title {
  margin-bottom: 10px;
}

.control-block {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
}

.toggle-filter {
  display: none;
  gap: 12px;
  padding: 11px;
  height: 38px;
  border-radius: 9px;
  background: #f4f4f4;
  font-size: 14px;
  color: #000;
  cursor: pointer;
}

@media (max-width: 992px) {
  .toggle-filter {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
  }
}

.sort-block {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  gap: 10px;
  margin-bottom: 22px;
}

.sort-block__label {
  font-size: 16px;
  color: #000000;
}

@media (max-width: 992px) {
  .sort-block__label {
    font-size: 14px;
  }
}

.catalog-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  row-gap: 20px;
  margin-bottom: 55px;
}

@media (max-width: 1200px) {
  .catalog-list {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 767px) {
  .catalog-list {
    gap: 10px;
  }
}

.show-more {
  width: 100%;
  max-width: 190px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  height: 48px;
  border: 1px solid #235290;
  border-radius: 5px;
  font-size: 15px;
  font-weight: 700;
  text-transform: uppercase;
  color: #000000;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  -webkit-transition: all 0.4s ease-in-out;
  transition: all 0.4s ease-in-out;
}

.show-more:hover {
  background: #235290;
  color: #fff;
}

.show-more__block {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
}

.category-banner {
  margin-bottom: 60px;
  font-size: 0;
}

@media (max-width: 992px) {
  .category-banner {
    margin-right: -18px;
    margin-left: -18px;
    margin-bottom: 20px;
  }
}

.category-banner img {
  max-width: 100%;
  height: auto;
}

@media (max-width: 767px) {
  .category-banner img {
    height: 115px;
    width: auto;
    max-width: unset;
  }
}

.subcategory-list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 27px;
  margin-bottom: 25px;
}

@media (max-width: 767px) {
  .subcategory-list {
    grid-template-columns: repeat(2, 1fr);
    gap: 19px;
    row-gap: 14px;
    margin-bottom: 20px;
  }
}

.subcategory-list .item {
  border-radius: 18px;
  background: #f4f4f4;
  font-size: 16px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  color: #000000;
  font-size: 16px;
  height: 51px;
  position: relative;
}

@media (max-width: 767px) {
  .subcategory-list .item {
    height: 48px;
  }
}

.subcategory-list .item.active:after {
  content: "";
  display: block;
  width: 70%;
  height: 5px;
  background: #235290;
  position: absolute;
  bottom: 0;
  left: 50%;
  -webkit-transform: translateX(-50%);
  -ms-transform: translateX(-50%);
  transform: translateX(-50%);
}

.select2-container {
  min-width: 200px;
}

.select2-container--default .select2-selection--single {
  min-width: 200px;
  background: #f4f4f4;
  border-color: #f4f4f4;
  height: 48px;
  border-radius: 18px;
}

@media (max-width: 992px) {
  .select2-container--default .select2-selection--single {
    height: 38px;
    border-radius: 9px;
  }
}

.select2-container--default .select2-selection--single .select2-selection__rendered {
  height: 100%;
  padding: 9px 0 9px 18px;
  font-size: 16px;
  color: #000;
  font-family: var(--font);
}

@media (max-width: 992px) {
  .select2-container--default .select2-selection--single .select2-selection__rendered {
    padding: 4px 0 4px 13px;
    font-size: 14px;
  }
}

.select2-container--default .select2-selection--single .select2-selection__arrow {
  width: 13px;
  height: 7px;
  top: 50%;
  right: 15px;
  -webkit-transform: translateY(-50%);
  -ms-transform: translateY(-50%);
  transform: translateY(-50%);
}

.select2-container--default .select2-selection--single .select2-selection__arrow b {
  border: 0;
  background-image: url(../image/icon__sort.svg);
  background-repeat: no-repeat;
  width: 13px;
  height: 7px;
  left: auto;
  margin-top: 0;
  margin-left: 0;
  top: 0;
}

.select2-dropdown {
  background: #f4f4f4;
  border: 0;
}

.select2-results__option {
  padding-left: 18px;
}

.one-news__text {
  font-size: 16px;
  margin-top: 100px;
}

.one-news__text h1 {
  font-size: 32px;
  color: #235290;
  line-height: normal;
  margin-bottom: 15px;
}

.one-news__text h2 {
  font-size: 28px;
  line-height: normal;
  color: #235290;
  margin-bottom: 15px;
}

.one-news__text h3,
.one-news__text h4,
.one-news__text h5,
.one-news__text h6 {
  font-size: 23px;
  color: #235290;
}

.show-more-text {
  font-size: 18px;
  font-weight: 700;
  color: #235290;
  background: transparent;
  border: 0;
  padding: 0;
  display: flex;
  align-items: center;
  gap: 8px;
}
.show-more-text:after {
  content: '';
  display: block;
  width: 24px;
  height: 24px;
  background: url(../image/icon__show-more.svg) no-repeat;
  transition: all .4s ease;
}
.show-more-text:hover {
  background: transparent;
}

.is-expanded .show-more-text:after {
  transform: rotate(180deg);
}