.product {
  padding-bottom: 30px;
}

.product__intro {
  display: flex;
  column-gap: 30px;
}

.product__image {
  max-width: 335px;
  width: 37%;
  height: fit-content;
  flex-shrink: 0;
  position: relative;
  /* box-shadow: 0 90px 50px -95px var(--color-black); */
}

.product__image img {
  width: 100%;
  height: 100%;
}

.product__image-controls {
  position: absolute;
  top: calc(50% - 20px);
  left: 0;
  width: 100%;
  display: flex;
  justify-content: space-between;
  z-index: 1;
}

.product__image-arrow {
  width: 20px;
  height: 40px;
  background-color: var(--color-black);
  background-image: url(/images/video-arrow.svg);
  background-position: center;
  background-repeat: no-repeat;
  background-size: 10px;
}

.product__image-arrow._right {
  rotate: 180deg;
}

.product__text-container {
  display: flex;
  flex-direction: column;
}

.product__title {
  font-size: 39px;
  line-height: 46px;
  margin-bottom: 10px;
}

.product__text {
  margin-top: 5px;
}

.product__text:is(._recipe, ._char) {
  margin-top: 25px;
}

.product__table {
  margin-top: 10px;
  width: 100%;
  border-collapse: collapse;
}

.product__table th {
  font-weight: 500;
  text-align: left;
}

.product__table td {
  padding: 10px;
  text-align: right;
}

.product__table tr:not(:last-child) {
  border-bottom: 1px solid var(--color-black);
}

.product__links {
  margin-top: 30px;
  display: flex;
  column-gap: 8px;
  color: #fff;
}

.product__link {
  padding: 8px 22px;
  border-radius: 14px;
  font-weight: 700;
}

.product__link._wildberries {
  background-color: var(--color-wildberries);
}

.product__link._ozon {
  background-color: var(--color-ozon);
}

.product__link._yandex {
  background-color: var(--color-yandex);
}

@media (max-width: 1130px) {
  .product__title {
    font-size: 23px;
    line-height: 27px;
  }
}

@media (max-width: 950px) {

  .product__intro,
  .product__text-container {
    display: block;
  }

  .product__image {
    float: left;
    margin: 0 30px 15px 0;
  }
}

@media (max-width: 720px) {
  .product {
    padding-bottom: 40px;
  }

  .product__text-container {
    display: flex;
  }

  .product__intro {
    display: flex;
    flex-direction: column;
  }

  .product__image {
    float: none;
    margin: 0 0 25px 0;
    max-width: 430px;
    width: 100%;
  }

  .product__title {
    margin-bottom: 20px;
  }

  .product__table th {
    font-size: 14px;
  }

  .product__table td {
    font-size: 14px;
    padding: 10px 0;
  }

  .product__table._big tr {
    display: flex;
    flex-wrap: wrap;
  }

  .product__table._big tr:not(:last-child) {
    margin-bottom: 20px;
  }

  .product__table._big th {
    width: 100%;
  }

  .product__table._big td {
    width: 25%;
    text-align: left;
  }
}