@charset "UTF-8";

/*Переменные*/

/*Миксины*/

/* Первый экран */

.first-screen {
  margin-top: -40px;
  display: -ms-grid;
  display: grid;
      grid-template-areas: "A B" "A C";
  -ms-grid-columns: calc(25% - 20px) 20px 75%;
  grid-template-columns: calc(25% - 20px) 75%;
  -ms-grid-rows: 1fr 20px auto;
  grid-template-rows: 1fr auto;
  grid-gap: 20px;
}

/* Меню каталога */

.catalog-page-menu-wrapper {
  -ms-grid-row: 1;
  -ms-grid-row-span: 3;
  -ms-grid-column: 1;
  grid-area: A;
}

.catalog-page-menu {
  width: 100%;
  padding: 11px;
  border-radius: 16px;
  /* border: 1px solid #CFD4EA; */
  box-shadow: inset 0 0 0 1px #CFD4EA;
  max-height: calc(100vh - 170px);
  overflow: hidden auto;
}
.catalog-page-menu .simplebar-vertical {
  right: 4px;
}

/* Слайдер */

.first-screen__slider {
  -ms-grid-row: 1;
  -ms-grid-column: 3;
  grid-area: B;
  overflow: hidden;
  border-radius: 16px;
  position: relative;
}

.first-screen__slide {
  background: -webkit-gradient(linear, left top, left bottom, from(#EBECEF), to(#E2E5EC));
  background: -o-linear-gradient(top, #EBECEF 0%, #E2E5EC 100%);
  background: linear-gradient(180deg, #EBECEF 0%, #E2E5EC 100%);
  border-radius: 16px;
  overflow: hidden;
  position: relative;
}

.first-screen__slide:hover .first-screen__slide-title {
  color: #4532AD;
}

.first-screen__slide-text {
  position: absolute;
  left: 40px;
  bottom: 48px;
  z-index: 1;
  max-width: calc(100% - 40px - 140px);
  color: #2C2C2C;
}

.first-screen__slide-title {
  -webkit-transition: 0.4s;
  -o-transition: 0.4s;
  transition: 0.4s;
}

.first-screen__slide-title::after {
  content: "";
  display: inline-block;
  width: 52px;
  height: 52px;
  background: url("../img/icons/arrow-lb.svg") center center/cover no-repeat;
}

.first-screen__slide-image {
  position: absolute;
  top: 0;
  right: 0;
  height: 100%;
  width: 644px;
}

.first-screen__slide-image--full {
  width: 100% !important;
}

.first-screen__navigation {
  position: absolute;
  right: 20px;
  bottom: 20px;
  z-index: 2;
  gap: 10px;
}

/* Баннеры */

.first-screen__banners {
  -ms-grid-row: 3;
  -ms-grid-column: 3;
  grid-area: C;
  -webkit-box-align: unset;
      -ms-flex-align: unset;
          align-items: unset;
}

.banner {
  border-radius: 16px;
  min-height: 200px;
  width: calc(33.33% + 36px);
  margin-left: -36px;
  text-decoration: none !important;
  background-size: cover;
  background-position: center right;
  padding: 20px 20px 20px 56px;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  z-index: 1;
  background-repeat: no-repeat;
}

.banner:nth-child(2) {
  z-index: 2;
}

.banner--important {
  width: 33.33%;
  margin-left: 0;
  background-size: cover;
  background-position: center;
  padding-left: 20px;
  z-index: 3;
}

.banner--important .banner__title {
  color: #fff !important;
}

.banner--important::after {
  display: none !important;
}

.banner:hover .banner__title {
  color: #4532AD;
}

.banner::after {
  content: "";
  display: block;
  width: 34px;
  height: 34px;
  background: url("../img/icons/arrow-lb.svg") center center/cover no-repeat;
}

.banner__title {
  font-weight: 700;
  margin-bottom: 32px;
  color: #2C2C2C;
  -webkit-transition: 0.4s;
  -o-transition: 0.4s;
  transition: 0.4s;
}

@media (max-width: 1260px) {
  .first-screen {
        grid-template-areas: "B" "C";
    -ms-grid-columns: 100%;
    grid-template-columns: 100%;
    -ms-grid-rows: auto 20px auto;
    grid-template-rows: auto auto;
  }

  .catalog-page-menu-wrapper {
    display: none;
  }

  .first-screen__slide {
    padding-bottom: 47.22%;
  }

  .first-screen__slide-image {
    width: 678px;
  }
  .first-screen__slider {
    -ms-grid-row: 1;
    -ms-grid-column: 1;
  }
  .first-screen__banners {
    -ms-grid-row: 3;
    -ms-grid-column: 1;
  }
}

@media (max-width: 1010px) {
  .first-screen__slide-text {
    left: 20px;
    bottom: 20px;
    max-width: calc(100% - 20px - 140px);
  }

  .first-screen__slide-title::after {
    width: 34px;
    height: 34px;
  }

  .first-screen__slide-image {
    width: calc(100% - 144px);
  }

  .banner {
    width: calc(50% + 36px);
  }

  .banner:nth-child(2) {
    margin-left: 0;
    width: 50%;
    padding-left: 20px;
  }

  .banner--important {
    width: 100%;
    margin-bottom: 20px;
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
        -ms-flex-direction: row;
            flex-direction: row;
    background: #242473 !important;
    min-height: unset !important;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    -ms-flex-wrap: nowrap;
        flex-wrap: nowrap;
  }

  .banner--important .banner__title {
    margin-bottom: 0;
  }

  .banner--important .banner__title br {
    display: none;
  }
}

@media (max-width: 680px) {
  .first-screen {
    margin-top: -20px;
    gap: 10px;
  }

  .first-screen__slider {
    border-radius: 12px;
  }

  .first-screen__slide {
    padding-bottom: 0;
    height: 250px;
    border-radius: 12px;
  }

  .first-screen__slide-text {
    max-width: 100%;
  }

  .first-screen__slide-title::after {
    width: 22px;
    height: 22px;
    background-image: url("../img/icons/arrow-lb-mob.svg");
  }

  .first-screen__slide-image {
    width: 100%;
    height: 177px;
  }

  .first-screen__navigation {
    display: none;
  }

  .banner {
    width: 100% !important;
    margin-left: 0;
    margin-bottom: 10px;
    min-height: 150px;
    padding: 10px !important;
    border-radius: 12px;
  }

  .banner--important {
    margin-bottom: 10px;
  }

  .banner--important .banner__title br {
    display: block;
  }

  .banner::after {
    width: 22px;
    height: 22px;
    background-image: url("../img/icons/arrow-lb-mob.svg");
  }

  .banner__title {
    margin-bottom: 12px;
  }
}