.product__content {
    overflow-x: hidden;
  }

.prod__cont {
    width: 100%;
    height: 110vh;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    margin-top: 20vh;
    gap: 5vw;
  }

  .gallery {
    display: none;
  }

  .img__container {
    position: absolute;
    left: -1vw;
    display: flex;
    flex-direction: column;
    height: 70vh;
    margin-left: 5vw;
    z-index: 1;
  }
  
  .img__container img {
    width: 5vw;
    object-fit: contain;
    cursor: pointer;
    border: 1px solid var(--dark);
  }

  .product__img {
    position: absolute;
    left: 10vw;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 35vw;
    height: 77vh;
    background-color: var(--light);
    margin-left: -10w;
  }
  
  .product__img img {
    width: 100%;
    object-fit: contain;
  }

  .content_block_product {
    position: absolute;
    left: 50vw;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
  }
  
  .product__descr_g {
    color: var(--light);
    width: 30vw;
}

.product__descr_g .descr {
  padding: 20px;
}

.image__gallery_block {
  width: 100%;
  height: 80vh;
  display: none;
  justify-content: flex-start;
  margin-top: -8vh;
  /* border-bottom: 1px solid var(--gray); */
  /* overflow-x: scroll; */
  overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  white-space: nowrap;
  gap: 10px;
  /* z-index: -1; */
  overflow-x: auto;
  -webkit-overflow-scrolling: touch
}

.image__gallery_block img {
  display: inline-block;
  width: calc(var(--index) * 40);
  /* height: auto; */
  /* height: calc(var(--index) * 8); */
  margin-top: 10vh;
  /* margin-left: 2vw; */
  object-fit: contain;
  border-radius: 5%;
}


.full__descr {
  /* display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5vh; */
  /* width: calc(var(--index) * 30); */
  color: var(--light);
  font-size: var(--content_fs);
  font-family: var(--Montserrat);
  /* text-align: center; */
  padding-left: 10vw;
  padding-right: 10vw;
  margin-top: 10vh;
}

.full__descr h2 {
  text-align: center;
}

.full__descr p {
  margin-top: 10vh;
}

@media screen and (max-width: 1070px) {

  .prod__cont {
    height: 140vh;
  }

  .product__img {
    height: 70vh;
    width: 65vw;
    left: 20vw;
    top: 10vh;
  }

  .img__container {
    position: relative;
    top: -10vh;
    left: -38vw;
  }

  .img__container img {
    width: 7vw;
  }

  .content_block_product {
    left: calc(var(--index) * 12);
    top: 100vh;
    width: calc(var(--index) * 35);
    text-align: center;
  }

  .product__descr_g {
    width: 45vw;
    text-align: center;
  }

}

@media screen and (max-width: 886px) {
  .content_block_product {
    left: calc(var(--index) * 8);
    text-align: center;
    width: calc(var(--index) * 25);
  }

  .product__descr_g {
    width: 55vw;
  }
}

@media screen and (max-width: 585px) {


  .product__descr_g {
    width: 65vw;
  }

}   

@media screen and (max-width: 485px) {

  .image__gallery_block {
    display: flex;
  }

  .img__container, .product__img {
    display: none;
  }

  .content_block_product {
    width: calc(var(--index) * 35);
  }

  .title__product {
    margin-left: 5vw;
  }

  .stroke {
    font-size: 25px;
  }

  .descr {
    font-size: 12px;
  }

}

@media screen and (max-width: 325px) {

  .content_block_product {
    left: calc(var(--index) * 6);
    text-align: center;
    width: calc(var(--index) * 35);
  }

  .full__descr p {
    font-size: 15px;
  }

}

@media screen and (max-width: 285px) {

  .product__descr_g .descr {
    width: calc(var(--index) * 35);
  }

}