.main-block {
  position: relative;
}

.main-block .main-title {
  font-size: 56px;
}

.main-block .wrapper {
  display: flex;
  gap: 130px;
  padding-left: calc((100% - 1530px) / 2);
}

.main-content {
  max-width: 780px;
  width: 100%;
  flex-shrink: 0;
  padding: 66px 0 77px;
}

.main-title {
  margin-bottom: 30px;
}

.main-title span {
  display: block;
  color: var(--second);
  position: relative;
  border-right: 6px solid var(--second);
  border-left: 6px solid var(--second);
  font-size: inherit;
  font-weight: inherit;
  font-family: inherit;
  padding: 10px 3px;
}

.main-title span::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  width: 100%;
  height: 78%;
  transform: translateY(-50%);
  background: var(--second);
  opacity: 0.2;
  pointer-events: none;
}

.main-desc {
  margin-bottom: 40px;
}

.main-desc * {
  font-size: 20px;
  line-height: 130%;
  letter-spacing: 0%;
  color: var(--head-primary);
}

.main-desc strong {
  font-weight: 700;
}

.main-desc *:last-child {
  margin-bottom: 0;
}

.main-btn {
  box-shadow: 0px 6px 1px 0px #5caf79;
  padding: 33px 40px;
  border-radius: 20px / 100px;
}

.main-advants {
  margin-top: 80px;
  max-width: 620px;
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
}

.main-advantage {
  border-radius: 5px;
  display: flex;
  gap: 10px;
  align-items: center;
  padding: 10px;
  background: var(--background-secondary);
}

.main-advantage__icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

.main-advantage__icon img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.main-products {
  position: relative;
  width: 100%;
}

.main-products__swiper {
  max-width: 500px;
  width: 100%;
  position: relative;
  border-radius: 10px;
  overflow: hidden;
  background: var(--second);
}

.main-products__swiper .swiper-slide {
  height: auto;
  opacity: 0 !important;
}

.main-products__swiper .swiper-slide.swiper-slide-active {
  opacity: 1 !important;
}

.main-products__swiper-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
}

.main-products__swiper-background img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.main-products__block {
  /* max-width: 415px; */
  width: 50%;
  height: 626px;
  top: 0;
  right: 0;
  border-radius: 10px;
  overflow: hidden;
  position: absolute;
  flex-shrink: 0;
}

.main-products__photo {
  position: absolute;
  z-index: 10;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.main-products__photo img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.main-product {
  position: relative;
  z-index: 1;
  padding: 60px 30px;
}

.main-product__tags-wrapper {
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  width: 80%;
}

.main-product__tag {
  padding: 8px 10px;
  border-radius: 5px;
  width: fit-content;
  color: var(--head-secondary);
  background: var(--primary);
}

.main-product__image {
  width: 100%;
  height: 300px;
  margin-bottom: 38px;
}

.main-product__image img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
}

.main-product__title {
  color: var(--head-secondary);
  margin-bottom: 38px;
  width: 80%;
}

.main-product__bottom {
  width: 80%;
  display: flex;
  align-items: center;
  gap: 38px;
}

.main-product__price .price.price-sale {
  color: var(--head-secondary);
  margin-bottom: 15px;
}

.main-product__price .price.price-regular {
  color: var(--secondary-text);
}

.main-product__submit-wrapper {
  padding: 0 !important;
  border: none !important;
}

.main-product__submit-wrapper a {
  gap: 10px;
}

.main-product__submit-wrapper a {
  color: var(--background);
  justify-content: center;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 15px 40px;
  background: var(--primary);
  cursor: pointer;
  border-radius: 5px;
  transition: background 0.4s ease-out;
}

.main-product__submit-wrapper a:hover {
  background: var(--primary-hover);
}

.main-products__buttons {
  position: absolute;
  left: 78px;
  bottom: 60px;
  z-index: 10;
  margin-top: 0;
}

.main-background {
  position: absolute;
  bottom: 0;
  left: 0;
  display: block;
  z-index: -1;
  opacity: 0.3;
  filter: blur(5px);
}

.main-background img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}


@media (max-width: 1800px) {
  .main-block .wrapper {
    gap: 30px;
  }
}

@media (max-width: 1540px) {
  .main-block .wrapper {
    flex-direction: column;
    gap: 0px;
    padding: 0 15px;
  }

  .main-content {
    max-width: unset;
    padding: 40px 0;
  }

  .main-products__swiper {
    max-width: unset;
    width: 100%;
    position: relative;
    top: unset;
    left: unset;
  }

  .main-products__block {
    margin-top: 15px;
    position: relative;
    width: fit-content;
    top: unset;
    left: unset;
    height: fit-content;
  }

  .main-products__buttons {
    left: 0;
    position: relative;
    bottom: 0;
    height: fit-content;
  }

  .main-products__photo {
    display: none;
  }

  .main-product {
    padding: 30px 15px;
  }

  .main-product__image {
    max-height: unset;
    height: 250px;
  }

  .main-product__image img {
    height: 100%;
  }

  .main-title,
  .main-desc {
    margin-bottom: 20px;
  }

  .main-advants {
    margin-top: 30px;
  }

  .main-background {
    display: none;
  }
  .main-product__title {
    width: 100%;
  }
}

@media (max-width: 620px) {
  .main-content {
    padding: 20px 0 40px;
  }

  .main-btn {
    width: 100%;
  }

  .main-product__bottom {
    flex-direction: column;
    gap: 15px;
    width: 100%;
    align-items: flex-start;
  }

  .main-product__price .price.price-sale {
    margin-bottom: 5px;
  }

  .main-product__image {
    height: 150px;
  }

  .main-product__submit-wrapper {
    width: 100%;
  }

  .main-product__title {
    margin-bottom: 15px;
  }

  .main-product__tag {
    padding: 3px 7px;
  }

  .main-block .main-title {
    font-size: 35px;
  }
}