.elements3_wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  padding: 45px 10px;
  margin-bottom: 65px;
}

.elements3_wrapper .elem_2_wrap {
  max-width: 440px;
  width: 100%;
  height: auto;
  background-color: white;
  border-radius: 10px;
  padding: 20px 25px;

  display: flex;
  flex-direction: column;
  align-items: center;
}

.elements3_wrapper .elem_2_img {
  width: 100%;
  z-index: 1;
  height: 40%;
  text-align: center;
  position: relative;
  width: 350px;
  height: 250px;
}

.elements3_wrapper .elem_2_img img {
  height: 100%;
  object-fit: contain;
}

.title_catalog .elem_2_content {
  z-index: 1;
  padding: 17px 0 0 6%;
  height: 60%;
}
.title_catalog .elem_2_title {
  font-family: Roboto, sans-serif;
  font-size: 25px;
  font-weight: 600;
  line-height: 28px;
  text-align: left;
  text-transform: lowercase;
  padding: 0 0 15px 0;
}
.title_catalog .elem_2_title::first-letter {
  text-transform: uppercase;
}
.title_catalog .subtitle {
  font-family: Roboto, sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 18.75px;
  text-align: left;
  margin-top: 15px;
  margin-bottom: 20px;
}
.title_catalog .elem_2_description {
  overflow: hidden;
  font-family: Roboto, sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 18.75px;
  text-align: left;
}

.elem_2_description_extra {
  font-family: Roboto, sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 100%;
  color: #26a4ff;
  margin: 5px 0 15px 0;
}

@media (max-width: 450px) {
  .g-recaptcha > div {
    overflow: hidden;
    max-width: 100%;
  }
}
@media (max-width: 767px) {
  .title_catalog .elem_2_img {
    width: 80%;
    margin: 0 auto;
    height: 35%;
    width: 270px;
    height: 170px;
  }
  .title_catalog .elem_2_content {
    width: 100%;
    padding: 20px;
    font-size: 13px;
    font-weight: 400;
    line-height: 15.23px;
  }
  .title_catalog .elem_2_title {
    text-align: center;
    margin-top: 10px;
    font-size: 23px;
    font-weight: 500;
    line-height: 29.3px;
  }
  .title_catalog .subtitle {
    text-align: center;
  }
}

.scroll_wrap {
  position: absolute;
  right: -67px;
  top: 76%;
}
@media (max-width: 1250px) {
  .scroll_wrap {
    right: 10px;
    top: 76%;
  }
  .elements3_wrapper {
    justify-content: center;
  }
}
@media (max-width: 768px) {
  .scroll_wrap {
    right: -7px;
    top: 68%;
  }
}
.scroll {
  width: 60px;
  height: 60px;
  border: 2px solid #337ab7;
  border-radius: 50%;
  position: relative;
  animation: down 1.5s infinite;
  margin: 20px auto 35px auto;
  box-sizing: border-box;
}
.scroll::before {
  content: "";
  position: absolute;
  top: 15px;
  left: 18px;
  width: 18px;
  height: 18px;
  border-left: 2px solid #337ab7;
  border-bottom: 2px solid #337ab7;
  transform: rotate(-45deg);
}
@keyframes down {
  0% {
    transform: translate(0);
  }
  20% {
    transform: translateY(15px);
  }
  40% {
    transform: translate(0);
  }
}

/* АЛЬТЕРНАТИВНЫЙ ВИД "ПОДРОБНЕЕ"*/
.alternative.wrap {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
}
.alternative .product-descr.one {
  width: 100%;
  text-align: center;
}
.alternative .product-descr.one h4 {
  margin-bottom: 18px;
}
.alternative .more_img_alternate {
  display: flex;
  flex-wrap: wrap;
  margin-right: -5px;
  margin-left: -5px;
}
.alternative .more_img_alternate_elem {
  width: 25%;
  padding: 10px;
}
@media screen and (max-width: 768px) {
  .alternative .more_img_alternate_elem {
    width: 33.33333%;
    padding: 5px;
  }
  .alternative .more_img_alternate_title {
    font-size: 12px;
  }
}
@media screen and (min-width: 769px) {
  .product-img .big-slide {
    display: none;
  }
}
.alternative .more_img_alternate_img {
  width: 100%;
}
.alternative .more_img_alternate_title {
  text-transform: uppercase;
  color: #ffffff;
  text-align: center;
  margin-top: 12px;
}
.popup-bg .alternative .product-img {
  width: 65%;
  margin-right: 0;
  margin-top: 20px;
  margin-bottom: 1vh;
}
.img-wrap .min_big_img {
  transition: 0.8s;
}
.img-wrap .min_big_img:hover {
  transform: scale(1.1);
  transition: 0.8s;
}
.descr img {
  max-width: 100%;
  height: auto;
}
.product-img .slick-track {
  margin-left: unset;
}

.popup-bg .catalog_popup {
  overflow-y: hidden !important;
}

.second_row_picture .more_img_alternate_img {
  max-width: 242px;
  max-height: 165px;
}

.more_img_alternate_description {
  color: white;
}

.second_row_picture .more_img_alternate_description {
  font-size: 12px;
  line-height: 14px;
}

/* TABS NEW */

.tab-wrap {
  display: flex !important;
  justify-content: center !important;
}

.tab-wrap .tab {
  font-family: "DaysOne", sans-serif !important;
  font-size: 22px !important;
  font-weight: 400 !important;
  line-height: 28px !important;
  color: #acacac !important;
  background: #003e6c !important;
  padding: 20px 24px !important;
  transition: 0.2s !important;
  border-top-right-radius: 5px !important;
  border-top-left-radius: 5px !important;
  max-width: 280px;
  margin: 0 !important;
}

.tab-wrap .tab-active {
  background: #00243f !important;
  position: relative !important;
  z-index: 12 !important;
  text-decoration-line: underline !important;
  color: #ffc357 !important;
}

.tab-wrap .tab:hover {
  color: #f8ca75 !important;
  background: #01508b !important;
}

.tabs-hidden {
  display: none !important;
}

.separate_squares {
  display: none;
}

.button-wrapper {
  margin-top: 15px;
  margin-bottom: 75px;
}

.arrow-img {
  width: 20px !important;
  margin-left: 10px !important;
}

.button_more {
  width: 174px;
  height: 52px;
  padding: 15px 20px 15px 20px;
  gap: 10px;
  border-radius: 5px 5px 5px 5px;
  border: 1px 0px 0px 0px;
  opacity: 0px;
  text-decoration: none !important;
  cursor: pointer;
  border: 1px solid #000000;
  color: #000000;
}

.subtitle_text {
  margin-bottom: 20px;
}

@media (min-width: 768px) and (max-width: 1250px) {
  .elements3_wrapper .elem_2_wrap {
    max-width: 365px;
  }
  .title_catalog .elem_2_content {
    height: 65%;
  }
}

@media (min-width: 1251px) and (max-width: 1440px) {
  .title_catalog .elem_2_content {
    height: 62%;
  }

  .title_catalog .elem_2_title {
    font-size: 27px;
    line-height: 31.67px;
  }

  .elements3_wrapper .elem_2_wrap {
    max-width: 363px;
  }
}

@media (orientation: landscape) and (min-width: 768px) and (max-width: 1250px) {
  .elements3_wrapper .elem_2_wrap {
    max-width: 320px;
  }

  .title_catalog .elem_2_content {
    height: 71%;
  }

  .title_catalog .elem_2_title {
    font-size: 26px;
    line-height: 29.67px;
  }
}

/* // Кастом HOVER слайдер  */
.catalog_item .image_wrapper_block {
  min-width: 60px;
  margin: 0 auto;
  padding: 0;
  text-align: center;
  zoom: 1;
  display: block;
  left: 0;
  margin: 0 auto 20px;
  position: relative;
  width: 100%;
}

.image_wrapper_block,
.image_wrapper_block > a {
  min-width: 60px;
  margin: 0 auto;
  padding: 0;
  text-align: center;
  zoom: 1;
  display: block;
  left: 0;
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 100%;
  background-position: 50% 50%;
  background-repeat: no-repeat;
}

.flexbox {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
}

.section-gallery-wrapper {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  flex-direction: row;
  z-index: 2;
}

.section-gallery-wrapper__item {
  flex-grow: 1;
  -webkit-box-flex: 1;
  -ms-flex-positive: 1;
  background-color: #fff;
  background-color: white;
  background: transparent;
  margin-bottom: -4px;

  border-bottom: 2px solid #d9d9d9;
  border-bottom-left-radius: 1%;
  border-bottom-right-radius: 1%;
  margin: 0px 1px -5px 0;
}

.section-gallery-wrapper__item._active {
  border-bottom: 2px solid #26a4ff;
}

.section-gallery-wrapper__item-nav {
  display: block;
  position: relative;
  margin: 0 2px 0 0;
  height: 100%;
}

.img-responsive {
  display: block;
  max-width: 100%;
  height: auto;
}

.section-gallery-wrapper__item img {
  opacity: 0;
  transition: opacity 0.2s ease-in-out;
  left: 1px;
  right: 1px;
}

.image_wrapper_block img {
  position: absolute;
  margin: auto;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  border: 0;
  vertical-align: middle;
  max-width: 100%;
  max-height: 100%;
  pointer-events: none;
}

.section-gallery-wrapper__item._active img {
  opacity: 1;
}

.catalog_block .catalog_item img,
.product_slider .catalog_item img {
  max-width: 100%;
  max-height: 100%;
}

.catalog_block .catalog_item img,
.product-container .detail-gallery-big__picture {
  width: 100% !important;
}

.swipe_buttons {
  display: none;
}

@media (max-width: 576px) {
  .swipe_buttons {
    display: flex;
    height: 0;
    justify-content: space-between;
    position: absolute;
    transition: all 0.3s;
    padding: 0 20px;
    z-index: 800;
    top: 50%;
    left: 0;
    width: 100%;
  }

  .swipe_button {
    cursor: pointer;
    transition: all 0.3s;
    font-size: 14px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
    width: 50px;
    height: 50px;
    background: #fff;
    transform: translate(0, -25px);
  }

  .swipe_button::before {
    content: "";
    width: 50px;
    height: 50px;
    background: url("https://vesta.su/local/templates/Vesta/assets/arrow.svg")
      no-repeat center center;
  }

  .swipe_button--prev::before {
    transform: rotate(180deg);
  }
  .swipe_button-disabled {
    opacity: 0;
    visibility: hidden;
    z-index: -1;
    cursor: default;
  }
}

.sectione_name-title {
  color: #ffffff;
  font-size: 40px;
}

.title_catalog {
  padding: 0;
}

.title_catalog .separate_squares {
  z-index: 1 !important;
}

.title_catalog .separate_squares.three {
  top: 40% !important;
}

.title_catalog .separate_squares.four {
  top: 50% !important;
}

.title_catalog .separate_squares.six {
  height: 285px;
  width: 285px;
  bottom: -142px;
  right: -150px;
}
