.main-slider {
  position: relative;
}

.ms-slide {
  display: flex;
  justify-content: space-between;
  padding: 0 7.8%;
  box-sizing: border-box;
  background: #eef1f5;
}

.main-slider {
  background: #eef1f5;
}

.mss-text {
  margin: 60px 0 95px;
  height: 465px;
}

.mss-text > .wrapper {
  position: relative;
  top: 50%;
  transform: translateY(-50%);
}

.mss-text h1 {
  margin-bottom: 18px;
  font-weight: 700;
  font-size: 72px;
  color: #161925;
}

.ms-descr {
  margin-bottom: 45px;
}

.ms-descr p {
  font-size: 24px;
  color: #46484a;
}

.ms-descr p:not(:last-child) {
  margin-bottom: 1em;
}

.mss-image {
  position: relative;
  max-width: 67.2%;
  margin: 60px 0 95px;
  height: 465px;
  text-align: center;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}

.mss-image-item {
  max-width: 400px;
  max-height: 400px;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translateY(-50%) translateX(-50%);
}

.ms-L,
.ms-R {
  display: block;
  width: 44px;
  height: 44px;
  position: absolute;
  z-index: 1;
  top: 50%;
  margin-top: -22px;
  border: 1px solid #161925;
  border-radius: 50%;
  background: url("/images/icons/main-slider-arrow.png") 45% 50% no-repeat;
  cursor: pointer;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0);
  transition: box-shadow 0.2s;
}

.ms-L:hover,
.ms-R:hover {
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
}

div.ms-L:active,
div.ms-R:active {
  box-shadow: 0 0 25px rgba(0, 0, 0, 0.7);
}

.ms-L {
  left: 3.5%;
}

.ms-R {
  right: 3.5%;
  transform: scale(-1, 1);
}

.ms-pagination {
  position: absolute;
  z-index: 1;
  bottom: 55px !important;
  text-align: center;
}

.ms-pagination .swiper-pagination-bullet {
  height: 18px;
  width: 18px;
  background: #dee4eb;
  opacity: 1;
}

.ms-pagination .swiper-pagination-bullet-active {
  box-shadow: inset 0 3px 4px -3px rgba(0, 0, 0, 0.6);
}

.product-gallery {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
}

.pg-carousel-cont {
  margin-top: -14px;
  padding-left: 20px;
  width: 190px;
  padding: 4px 0 14px;
  height: 460px;
  overflow-y: hidden;
}

.pg-carousel-cont .swiper-slide {
  padding: 10px;
  box-sizing: border-box;
}

.pg-carousel.swiper-container {
  height: 450px;
  overflow: visible;
}

.pg-carousel-cont .swiper-scrollbar {
  top: 3% !important;
  right: auto !important;
  left: 0;
}

.pgc-item {
  margin-left: 20px;
  height: 134px;
  background-color: #fff;
  background-size: 70%;
  background-position: 50% 50%;
  background-repeat: no-repeat;
  box-shadow: 0 0 10px rgba(62,101,209,.11);
  cursor: grab;
  border-radius: 15px;
  transition: box-shadow .5s;
}

.pgc-item:hover {
  box-shadow: 0 0 10px rgba(62,101,209,1);
}

.product-carousel-block {
  position: relative;
  max-width: 1740px;
  margin: 0 auto;
  padding: 0 70px;
  box-sizing: border-box;
}

.product-carousel-wrapper {
  position: relative;
  max-width: 1340px;
  margin: 0 auto;
}

.product-carousel {
  overflow: hidden;
}

.product-carousel-item {
  display: block;
  padding: 25px 30px;
  background: #fff;
  border-radius: 15px;
  margin: 15px;
  box-shadow: 0 0 12px rgba(62, 101, 209, 0.11);
  transition: box-shadow 0.5s;
}

.product-carousel-item:hover {
  box-shadow: 0 0 12px rgba(62, 101, 209, 0.71);
}

.pci-image {
  margin-bottom: 35px;
  height: 275px;
  background-size: contain;
  background-position: 50% 50%;
  background-repeat: no-repeat;
}

.product-carousel-item h6 {
  line-height: 1.55;
  margin-bottom: 8px;
  font-weight: 700;
  font-size: 24px;
  color: #000022;
}

.product-carousel-item p {
  line-height: 1.55;
  font-size: 16px;
  color: #000022;
}

.product-carousel-arrows div {
  display: block;
  width: 44px;
  height: 44px;
  position: absolute;
  z-index: 1;
  top: 50%;
  margin-top: -22px;
  border: 1px solid #161925;
  border-radius: 50%;
  background: url("/images/icons/main-slider-arrow.png") 45% 50% no-repeat;
  cursor: pointer;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0);
  transition: box-shadow 0.2s;
}

.p-carousel-prev {
  left: 0;
}

.p-carousel-next {
  right: 0;
  transform: scale(-1, 1);
}

.product-carousel-arrows div:hover {
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
}

.product-carousel-arrows div:active {
  box-shadow: 0 0 25px rgba(0, 0, 0, 0.7);
}

.facility-carousel-block {
  position: relative;
  max-width: 1715px;
  margin: 0 auto;
  padding: 0 70px;
  box-sizing: border-box;
}

.facility-carousel-wrapper {
  max-width: 1575px;
  margin: 0 auto;
  overflow: hidden;
}

.facility-carousel-item {
  display: block;
  text-align: center;
  transform: scale(0.8);
  transition: transform 0.5s;
}

.swiper-slide-next .facility-carousel-item {
  transform: scale(1);
}

.fci-image {
  margin-bottom: 15px;
  background-size: cover;
  background-position: 50% 50%;
  background-repeat: no-repeat;
  border-radius: 15px;
}

.facility-carousel-item p {
  opacity: 0;
  line-height: 1.4;
  font-size: 14px;
  color: #000022;
  transition: opacity 0.5s;
}

.swiper-slide-next .facility-carousel-item p {
  opacity: 1;
}

.facility-carousel-arrows div {
  display: block;
  width: 44px;
  height: 44px;
  position: absolute;
  z-index: 1;
  top: 35%;
  margin-top: -22px;
  border: 1px solid #161925;
  border-radius: 50%;
  background: url("/images/icons/main-slider-arrow.png") 45% 50% no-repeat;
  cursor: pointer;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0);
  transition: box-shadow 0.2s;
}

.f-carousel-prev {
  left: 0;
}

.f-carousel-next {
  right: 0;
  transform: scale(-1, 1);
}

.facility-carousel-arrows div:hover {
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
}

.facility-carousel-arrows div:active {
  box-shadow: 0 0 25px rgba(0, 0, 0, 0.7);
}

@media (max-width: 1720px) {
  .mss-text h1 {
    font-size: 42px;
  }

  .ms-descr p {
    font-size: 20px;
  }
}

@media (max-width: 1345px) {
  .ms-L {
    left: 10px;
  }

  .ms-R {
    right: 10px;
  }
}

@media (max-width: 1300px) {
  .pg-carousel-cont {
    width: 130px;
  }

  .pg-viewport {
    width: calc(100% - 155px);
  }
}

@media (max-width: 1180px) {
  .product-gallery {
    flex-direction: column;
  }

  .pg-carousel-cont {
    width: 100%;
    height: 150px;
    overflow: hidden;
    order: 2;
  }

  .pg-viewport {
    width: 100%;
    order: 1;
  }
}

@media (max-width: 1180px) {
  .pg-carousel-cont .swiper-scrollbar {
    top: auto !important;
    bottom: 0;
    right: auto !important;
    left: 0;
  }

  .pg-carousel.swiper-container {
    height: auto;
  }

  .pgc-item {
    margin-left: 0;
    margin-bottom: 20px;
  }

  .pg-carousel-cont {
    overflow: visible;
  }

  .pg-carousel {
    overflow: hidden !important;
  }
}

@media (max-width: 1170px) {
  .mss-text h1 {
    font-size: 32px;
  }

  .ms-descr p {
    font-size: 18px;
  }
}

@media (max-width: 1020px) {
  .facility-carousel-item {
    transform: scale(1);
    margin: 10px;
  }

  .facility-carousel-item p {
    opacity: 1;
  }
}

@media (max-width: 880px) {
  .ms-slide {
    flex-direction: column;
    padding: 0 70px;
  }

  .mss-text {
    margin-bottom: 30px;
    height: auto;
    text-align: center;
  }

  .mss-text > .wrapper {
    top: 0;
    transform: translateY(0);
  }

  .mss-image {
    max-width: none;
    text-align: center;
    margin: 0 0 95px;
    height: auto;
  }

  .mss-image-item {
    max-width: 300px;
    max-height: 300px;
  }
}

@media (max-width: 570px) {
  .ms-slide {
    padding: 0 10px;
  }

  .ms-L,
  .ms-R {
    display: none;
  }

  .product-carousel-arrows {
    display: none;
  }

  .product-carousel-block {
    padding: 0;
  }

  .pci-image {
    height: 185px;
  }

  .facility-carousel-arrows {
    display: none;
  }

  .facility-carousel-block {
    padding: 0;
  }

  .pgv-image {
    height: 200px;
  }
}
@media (max-width: 470px) {
  .mss-image-item {
    max-width: 200px;
    max-height: 200px;
  }
}

