section.product-info {
  padding-top: 120px;
  display: flex;
  flex-direction: column;
}

.product-wrapper {
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;

  display: flex;
  flex-direction: row;
  justify-content: center;
}

.product-image--slider {
  max-width: 540px;
  margin: 0 20px;
}

.product-image--current {
  width: 540px;
  height: 740px;
  object-fit: cover;
  border-radius: 10px;
}

.product__info {
  width: 100%;
  margin: 0 20px;
}

h1.product__info-title {
  color: var(--text);
  font-weight: 300;
  font-family: Lato;
  font-size: 22px;
  line-height: 1.35;
  margin-bottom: 18px;
}

.product__info-price {
  font-size: 24px;
  color: var(--text);
  font-weight: 400;
  line-height: 1.35;
  font-family: 'Open Sans', Arial, sans-serif;
}

.product__info-color {
  margin: 11px 0;
}

.product__info-color--radio {
  display: flex;
  flex-direction: row;
  gap: 7px;
}

.real-color-radio {
  display: none;
}

.custom-color-radio {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  display: block;
  position: relative;
  margin-left: 5px;
}

.custom-color-radio::before {
  content: '';
  width: calc(100% + 8px);
  height: calc(100% + 8px);
  border: 1px solid rgba(0, 0, 0, 0.5);
  border-radius: 50%;
  display: block;
  position: absolute;
  top: 0;
  bottom: 0;
  left: -4px;
  right: 0;
  margin: auto;
  opacity: 0;
}

.real-color-radio:checked ~ .custom-color-radio::before {
  opacity: 1;
}

.product__info-color--radio label {
  display: flex;
  flex-direction: row;
  align-items: center;
  font-weight: 500;
  line-height: 1;
  font-size: 13px;

  position: relative;
}

.color-radio--name {
  display: none;
  position: absolute;
  bottom: 36px;
  transform: translateX(calc(-50% + 18px));
  padding: 4px 10px;
  position: absolute;
  background-color: #000;
  color: #fff;
  border-radius: 4px;

  font-size: 16px;
  font-family: 'Open Sans', Arial, sans-serif;
  font-weight: 300;
  line-height: 1.35;
}

.color-radio--name::after {
  position: absolute;
  content: '';
  display: block;
  bottom: -4px;
  left: calc(50% - 5px);
  width: 0;
  height: 0;
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
  border-top: 5px solid #000;
}

.product__info-color--radio label:hover .color-radio--name {
  display: block;
}

.product__info-subtitle {
  padding-bottom: 8px;
  color: var(--text);
  font-size: 16px;
  line-height: 1.55;
  font-family: 'Open Sans', Arial, sans-serif;
  font-weight: 300;
}

form.product__info-size {
  margin-bottom: 26px;
}

.product__info-size--radio {
  display: flex;
  flex-direction: row;
  gap: 7px;
}

.real-size-radio {
  display: none;
}

.product__info-size--radio label {
  padding: 7px;
  height: 36px;
  border-radius: 5px;
  border: 1px solid var(--text);
}

.custom-size-radio {
  font-size: 16px;
  font-family: 'Open Sans', Arial, sans-serif;
  font-weight: 300;
}

.product__info-size--radio label:hover {
  border: 1px solid rgba(0, 0, 0, 0.5);
}

.real-size-radio--active {
  background-color: #bfbaac;
  border: 1px solid rgba(0, 0, 0, 0.5);
}

.real-size-radio--disabled {
  pointer-events: none;
  opacity: 0.4;
}

.product__info-btns {
  display: flex;
  flex-direction: row;
  gap: 25px;
}

button.product__info-btn--add-to-cart {
  color: var(--text);
  border: 1px solid var(--text);
  border-radius: 10px;
  font-family: Lato;
  font-weight: 300;
  height: 45px;
  padding: 0 30px;
  font-size: 14px;

  -webkit-transition: background-color 0.2s ease-in-out, color 0.2s ease-in-out;
  transition: background-color 0.2s ease-in-out, color 0.2s ease-in-out;
}

button.product__info-btn--add-to-cart:hover {
  background-color: #453529 !important;
  color: #d9d5ca !important;
}

button.product__info-btn--add-to-wishlist svg {
  -webkit-transition: transform 0.2s ease-in-out, color 0.2s ease-in-out;
  transition: transform 0.2s ease-in-out, color 0.2s ease-in-out;
  cursor: pointer;
}

button.product__info-btn--add-to-wishlist:hover svg {
  -webkit-transform: scale(1.1);
  transform: scale(1.1);
}

button.product__info-btn--add-to-wishlist:hover svg path,
button.product__info-btn--add-to-wishlist.in_wishlist svg path {
  fill: var(--text) !important;
  stroke: var(--text);
}

.product-add--notice {
  max-width: 300px;
  width: 100%;
  color: #fff;
  background-color: var(--black);
  position: fixed;
  padding: 20px 30px;
  font-size: 16px;

  border-radius: 10px;

  bottom: 50px;
  right: 30px;
  z-index: 5;
  opacity: 0;
  right: -350px;

  transition: right 0.5s ease, opacity 0.5s ease;
  /* animation: showNotice 0.6s ease-in-out; */
}

.product-add--notice.show {
  right: 30px; /* Положение, когда виден на экране */
  opacity: 1;
}

.product-add--notice.hide {
  right: -350px; /* Положение за экраном */
  opacity: 0;
}

.product__info-description {
  margin-top: 30px;
  margin-bottom: 10px;
  color: #453529;
  font-weight: 300;
  font-family: Lato;
  font-size: 18px;
  line-height: 1.55;
}

/* Slider */

.product-image--slider {
  max-width: 560px;
  margin: 0 20px;
  position: relative;
}

.product-image--slider .slider-main {
  width: 540px;
  position: relative;
}

.product-image--slider .slider-thumbnails {
  display: flex;
  gap: 5px;
  margin-top: 10px;
}

.product-image--slider .thumbnail {
  width: 60px;
  height: 60px;
  object-fit: cover;
  cursor: pointer;
  border-radius: 5px;
  opacity: 0.6;
  transition: opacity 0.3s ease;
}

.product-image--slider .thumbnail:hover,
.product-image--slider .thumbnail.active {
  opacity: 1;
}

.product-image--slider .prev,
.product-image--slider .next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  color: #ffffff;
  border: none;
  padding: 10px;
  cursor: pointer;
  font-size: 24px;
  border-radius: 5px;
  user-select: none;
}

.product-image--slider .prev {
  left: 10px;
}

.product-image--slider .next {
  right: 10px;
}


/* Стили для модального окна */
.fullscreen-modal {
  display: none; 
  position: fixed; 
  z-index: 1000; 
  padding-top: 60px; 
  left: 0;
  top: 0;
  width: 100%; 
  height: 100%; 
  overflow: auto; 
  background-color: rgba(0, 0, 0, 0.9); 
}

.fullscreen-modal-content {
  margin: auto;
  display: block;
  width: 80%;
  max-width: 700px;
  margin-bottom: 60px;
}

.fullscreen-modal-content {
  -webkit-animation-name: zoom;
  -webkit-animation-duration: 0.6s;
  animation-name: zoom;
  animation-duration: 0.6s;
}

@-webkit-keyframes zoom {
  from {-webkit-transform: scale(0)}
  to {-webkit-transform: scale(1)}
}

@keyframes zoom {
  from {transform: scale(0)}
  to {transform: scale(1)}
}

.fullscreen-modal-close {
  position: absolute;
  top: 15px;
  right: 35px;
  color: #f1f1f1;
  font-size: 40px;
  font-weight: bold;
  transition: 0.3s;
  cursor: pointer;
}

.fullscreen-modal-close:hover,
.fullscreen-modal-close:focus {
  color: #bbb;
  text-decoration: none;
  cursor: pointer;
}

.table-sizes--link {
  color: rgb(108, 91, 78);
  border-bottom: 1px solid rgb(108, 91, 78);
  box-shadow: none;
  text-decoration: none;
  font-size: 14px;
}


/* Products Recommended Slider */

.recommended-products--wrapper {
  display: flex;
  flex-direction: column;

  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
}

.product-reviews--title {
  margin: 70px 0 40px;
  color: var(--text);
  font-size: 20px;
  font-weight: 300;
  font-family: Lato;
}

.product-reviews--title,
.recommended-products--list {
  margin-left: 20px;
}


.recommended-products--list {
  display: flex;
  flex-direction: row;
  overflow: hidden;
}

.product {
  width: 282px;
  height: 580px;

  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: space-between;
}

.product a {
  padding-bottom: 14px;
  position: relative;
}

.product img.product-cover {
  object-fit: cover;
  height: 350px;
  width: 100%;
  border-radius: 10px;
  opacity: 1;

  transition: opacity 0.2s linear;
}

.product img.product-cover:hover {
  opacity: 0.8;
}

.product-title {
  padding-top: 20px;
  font-size: 20px;
  color: var(--text);
  font-weight: 300;
  font-family: 'Lato';
}

.product-price {
  margin-top: 12px;
  font-size: 20px;
  color: var(--text);
  font-weight: 400;
  font-family: 'Open Sans', Arial, sans-serif;
}

a.product-check--btn {
  margin-bottom: 8px;
  padding: 13px 30px;
  color: var(--text);
  border: 1px solid var(--text);
  border-radius: 10px;
  -moz-border-radius: 10px;
  -webkit-border-radius: 10px;
  font-family: Lato;
  font-weight: 300;
  height: 45px;
  font-size: 14px;
  transition-property: background-color, color;
  transition-duration: 0.2s;
  transition-timing-function: ease-in-out;
}

a.product-check--btn:hover {
  color: #d9d5ca !important;
  background-color: var(--text) !important;
}

.add-favorite--btn {
  position: absolute;
  right: 10px;
  top: 10px;

  width: 45px;
  height: 45px;

  color: #453529;
  z-index: 4;
  border-color: transparent;
  border-width: unset;
  background: var(--main-bg);
  border-radius: 100%;
}

.add-favorite--btn svg {
  position: relative;
  top: 2px;
}

.add-favorite--btn svg {
  -webkit-transition: transform 0.2s ease-in-out, color 0.2s ease-in-out;
  transition: transform 0.2s ease-in-out, color 0.2s ease-in-out;
  cursor: pointer;
}

.add-favorite--btn:hover svg {
  -webkit-transform: scale(1.1);
  transform: scale(1.1);
}

.add-favorite--btn:hover svg path,
.add-favorite--btn.in_wishlist svg path {
  fill: var(--text) !important;
  stroke: var(--text);
}



.recommended-products--list {
  display: flex;
  flex-direction: row;
  overflow: hidden;
  margin-bottom: 300px;
  width: 100%;
}

.recommended-products--list .slick-slide {
  width: 282px;
  /* height: 550px; */
  padding: 0 10px;
}

.recommended-products--list .slick-slide img {
  height: 350px;
  width: 100%;
}

.recommended-products--list .slick-slide .product {
  display: flex !important;
  
}

.recommended-products--list .slick-slide .product a.product-info-link {
  width: 100%;
}

.slider-wrapper {
  position: relative;
}

.slider-prev-button,
.slider-next-button {
  width: 17px;
  cursor: pointer;
  position: absolute;
  top: 160px;
}

.slider-prev-button {
  left: 0px;
  transform: rotate(180deg);
}

.slider-next-button {
  right: -40px;
}

.slick-slider {
  margin-bottom: 50px;
}

@media (max-width: 1400px) {
  .recommended-products--wrapper {
    max-width: 1000px;
  }
}

@media (max-width: 1222px) {
  .product img.product-cover {
      height: 350px !important;
  }
}

@media (max-width: 1150px) {
  .recommended-products--wrapper {
    max-width: 600px;
  }
}

@media (max-width: 760px) {
  .recommended-products--wrapper {
    max-width: 500px;
  }

  .product img.product-cover {
    height: 300px !important;
  }

  .product {
    height: 500px;
  }

  .product-reviews--title {
    margin-left: 0;
  }

  .recommended-products--list {
    margin-left: 0;
  }

  .slider-prev-button,
  .slider-next-button {
    top: 160px;
  }

  .slider-prev-button {
    left: -20px;
  }
  
  .slider-next-button {
    right: -20px;
  }
}

@media (max-width: 617px) {
  .product img.product-cover {
      width: 100% !important;
      height: 500px !important;
  }

  .product {
    max-width: 400px !important;
    margin: 0 auto !important;
  }
  
  .slider-prev-button,
  .slider-next-button {
    display: none;
  }
}

@media (max-width: 500px) {
  .product img.product-cover {
      height: 400px !important;
  }

  .product {
    max-width: 300px !important;
  }
}