.productInfoBox {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  min-height: 100vh;
  background: var(--color-grey-800);
  z-index: 1000;
  padding: calc(2vw + 9.6px) 0;
  overflow: auto;
  box-sizing: border-box;
}
.specialProductInfoBox {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  min-height: 100vh;
  background-color: var(--blackText-100);
  z-index: 1000;
  padding: calc(2vw + 9.6px) 0;
  overflow: auto;
  box-sizing: border-box;
}

.productInfoBody {
  max-width: 752px;
  display: flex;
  flex-direction: column;
  gap: calc(0.9vw + 13px);
  margin: 0 auto;
}

#backFromProductPage img {
  transform: rotate(180deg);
  height: 14px;
}
.backBtnForStudio {
  background-color: var(--secondary-hover) !important;
}
.backBtnForStudio:hover {
  background: var(--text-prizrak) !important;
}
.productInfoHeader {
  display: flex;
  flex-direction: column;
  gap: calc(0.9vw + 13px);
  width: 100%;
}
.productInfoHeaderSlider {
  width: 100%;
}
.productInfoHeaderTitle {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.productInfoHeaderTitle h3 {
  font-family: Montserrat;
  font-size: 32px;
  font-weight: 600;
  line-height: 125%;
  overflow: hidden; /* Скрываем часть текста, которая не помещается */
  display: -webkit-box; /* Используем флекс-контейнер */
  -webkit-box-orient: vertical; /* Вертикальная ориентация контейнера */
  text-overflow: ellipsis; /* Добавляем многоточие */
  word-wrap: break-word; /* Разрываем слова при необходимости */
  word-break: break-all; /* Принудительный разрыв слов, если они не помещаются */
}
.productInfoHeaderTitle p {
  font-size: calc(0.23vw + 13.3px);
  font-weight: 400;
  line-height: 143%;
  color: var(--grayColor);
}

/* slider */

#slider-wrapper {
  max-width: 100%;
  width: 100%;
  height: auto;
}
#image-slider {
  width: auto;
  height: auto;
  position: relative;
  overflow: hidden;
  margin: auto;
  display: block;
  margin-bottom: 8px;
}
#image-slider ul {
  width: 100%;
  height: calc(24.3vw + 108px);
  max-height: 400px;
  position: relative;
  padding: 0;
  margin: 0;
  list-style: none;
}
#image-slider ul li {
  transition: left 0.6s ease-in-out;
  background-color: var(--color-grey-775);
  display: inline-block;
  display: flex;
  position: absolute;
  top: 0;
  left: 752px;
  width: 100%;
  height: 100%;
}
#image-slider ul li img {
  height: 100%;
  width: auto;
  margin: 0 auto;
  border-radius: 4px;
}
#image-slider ul li.active-img {
  left: 0;
}
.next-img {
  z-index: 9999;
}
#thumbnail {
  cursor: default;
  margin-top: 3px;
  height: auto;
  display: table;
  width: 100%;
}
#thumbnail ul {
  width: 100%;
  height: 100%;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
#thumbnail li {
  list-style: none;
  float: left;
  cursor: pointer;
}
#thumbnail li img {
  padding: 0;
  float: left;
  width: auto;
  height: 64px;
  width: 88px !important;
  object-fit: cover;
  object-position: center;
  border-radius: 4px;

  border: 2px solid var(--color-grey-775);
  transition: border 0.5s;
}
#thumbnail .active img {
  border: 2px solid var(--primary) !important;
}
/* slider */

/* content */
.productInfoContent {
  display: flex;
  flex-direction: column;
  gap: calc(2.7vw + 7.3px);
}
.productInfoContent h4 {
  font-size: calc(0.45vw + 14.6px);
  font-weight: 600;
  line-height: 150%;
  margin-bottom: 12px;
}
.productInfoContent .textFileName {
  font-size: 16px;
  font-weight: 400;
  line-height: 150%;
  overflow: hidden; /* Скрываем часть текста, которая не помещается */
  -webkit-box-orient: vertical; /* Вертикальная ориентация контейнера */
  text-overflow: ellipsis; /* Добавляем многоточие */
  word-wrap: break-word; /* Разрываем слова при необходимости */
  word-break: break-all; /* Принудительный разрыв слов, если они не помещаются */
}

.productFilesTitle {
  display: flex;
  align-items: center;
  gap: 4px;
}
.productFilesTitle svg {
  margin-bottom: 12px;
}
.productFilesBox .textFileContainer {
  width: min-content;
  box-sizing: border-box;
  /* word-break: break-allsd; */
}
.productAdress {
  margin-bottom: 100px;
}

/* content */

@media (max-width: 640px) {
  #backFromProductPage p {
    display: none;
  }
  #backFromProductPage p {
    padding: 6.4px;
  }
  #thumbnail {
    display: none;
  }
}
@media (max-width: 960px) {
  .productInfoBody {
    width: 100%;
  }
  .productInfoHeaderTitle {
    padding: 0 calc(2vw + 9.6px);
  }
  #backFromProductPage {
    margin-left: calc(2vw + 9.6px);
  }
  .productInfoContent {
    padding: 0 calc(2vw + 9.6px);
  }
}
