.home-promo-hero {
  width: 100%;
  overflow: hidden;
  color: #212529;
  background: linear-gradient(90deg, #f2f2f2 0%, #ffffff 68%, #f7f7f7 89%, #f2f2f2 100%);
}

.home-promo-hero__container {
  width: 100%;
  max-width: 1170px;
  margin: 0 auto;
  padding: 0 15px;
}

.home-promo-hero__viewport,
.home-promo-hero__slides {
  position: relative;
  height: 640px;
  min-height: 640px;
}

.home-promo-hero__slide {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
  align-items: stretch;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.24s ease, visibility 0.24s ease;
}

.home-promo-hero__slide.is-active {
  z-index: 2;
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.home-promo-hero__content {
  z-index: 2;
  min-width: 0;
  height: 100%;
  padding: clamp(34px, 5vw, 66px) clamp(22px, 4vw, 52px) 58px 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  overflow: hidden;
}

.home-promo-hero__chip {
  flex: 0 0 auto;
  margin-bottom: 22px;
  padding: 10px 16px;
  border: 2px solid var(--color-primary);
  border-radius: 15px;
  background: rgba(255, 255, 255, 0.68);
  font-size: 0.7rem;
  line-height: 1.2;
  font-weight: 600;
}

.home-promo-hero__title {
  width: 100%;
  max-width: 590px;
  height: clamp(101px, 13.776vw, 175px);
  flex: 0 0 clamp(101px, 13.776vw, 175px);
  margin: 0;
  display: block;
  overflow: hidden;
  color: #212529;
  font-size: clamp(30px, 4.1vw, 52px);
  line-height: 1.12;
  letter-spacing: -0.035em;
  font-weight: 700;
  overflow-wrap: break-word;
  text-wrap: balance;
}

.home-promo-hero__description {
  width: 100%;
  max-width: 550px;
  height: 4.65em;
  flex: 0 0 4.65em;
  margin: 18px 0 0;
  display: -webkit-box;
  overflow: hidden;
  color: #827f7e;
  font-size: clamp(14px, 1.5vw, 18px);
  line-height: 1.55;
  font-weight: 500;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.home-promo-hero__prices {
  min-height: 44px;
  flex: 0 0 44px;
  margin-top: 24px;
  display: flex;
  align-items: baseline;
  gap: 16px;
}

.home-promo-hero__prices.is-empty {
  visibility: hidden;
}

.home-promo-hero__price-new {
  color: #212529;
  font-size: clamp(24px, 3vw, 38px);
  line-height: 1;
  font-weight: 700;
}

.home-promo-hero__price-old {
  color: #827f7e;
  font-size: clamp(18px, 2vw, 26px);
  line-height: 1;
  font-weight: 500;
  text-decoration: line-through;
}

.home-promo-hero__actions {
  margin-top: auto;
  padding-top: 26px;
  display: flex;
  gap: 12px;
}

.home-promo-hero__button {
  min-width: 180px;
  min-height: 54px;
  padding: 0 26px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--color-primary);
  border-radius: 15px;
  font-size: 0.9rem;
  line-height: 1.2;
  font-weight: 600;
  text-align: center;
  cursor: pointer;
  transition: color 0.2s ease, background-color 0.2s ease;
}

.home-promo-hero__button--fill {
  color: #ffffff;
  background: var(--color-primary);
}

.home-promo-hero__button--fill:hover,
.home-promo-hero__button--fill:focus-visible {
  color: #ffffff;
  background: var(--color-primary-darker);
  border-color: var(--color-primary-darker);
}

.home-promo-hero__button--outline {
  color: #212529;
  background: rgba(255, 255, 255, 0.5);
}

.home-promo-hero__button--outline:hover,
.home-promo-hero__button--outline:focus-visible {
  color: #ffffff;
  background: var(--color-primary);
}

.home-promo-hero__visual {
  position: relative;
  z-index: 1;
  min-width: 0;
  height: 100%;
  padding: 76px 12px 76px 46px;
  display: flex;
  align-items: center;
  justify-content: center;
  isolation: isolate;
}

.home-promo-hero__visual::before {
  content: "";
  position: absolute;
  z-index: -1;
  width: min(92%, 500px);
  aspect-ratio: 1;
  left: 54%;
  top: 50%;
  border-radius: 50%;
  background: var(--color-primary-brighter);
  transform: translate(-50%, -50%);
  pointer-events: none;
}

.home-promo-hero__image-frame {
  width: min(100%, 430px);
  aspect-ratio: 4 / 3;
  position: relative;
  z-index: 2;
  overflow: hidden;
  border: 1px solid rgba(34, 55, 67, 0.08);
  border-radius: 18px;
  background: #eeeeec;
  box-shadow: 0 18px 46px rgba(34, 55, 67, 0.13);
}

.home-promo-hero__image-frame img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center;
}

.home-promo-hero__image-placeholder {
  width: 100%;
  height: 100%;
  display: grid;
  place-items: center;
  color: var(--color-primary-darker);
  background: var(--color-primary-brighter);
  font-size: 1rem;
}

.home-promo-hero__controls {
  position: absolute;
  z-index: 5;
  right: 15px;
  top: 28px;
  display: flex;
  gap: 10px;
}

.home-promo-hero__arrow {
  width: 48px;
  height: 48px;
  padding: 0;
  display: inline-grid;
  place-items: center;
  border: 0;
  border-radius: 50%;
  color: #212529;
  background: rgba(242, 242, 242, 0.94);
  font-size: 25px;
  line-height: 1;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

.home-promo-hero__arrow:hover,
.home-promo-hero__arrow:focus-visible {
  background: var(--color-primary-brighter);
}

.home-promo-hero__all {
  width: 118px;
  height: 118px;
  position: absolute;
  right: 22px;
  bottom: 38px;
  z-index: 5;
  padding: 20px;
  display: grid;
  place-items: center;
  border: 3px solid var(--color-primary);
  border-radius: 50%;
  color: #ffffff;
  background: color-mix(in srgb, var(--color-primary) 76%, transparent);
  font-size: 0.7rem;
  line-height: 1.25;
  font-weight: 600;
  text-align: center;
  transition: background-color 0.2s ease;
}

.home-promo-hero__all:hover,
.home-promo-hero__all:focus-visible {
  color: #ffffff;
  background: var(--color-primary);
}

.home-promo-hero__pagination {
  position: absolute;
  z-index: 5;
  left: 0;
  bottom: 22px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.home-promo-hero__dot {
  width: 10px;
  height: 10px;
  padding: 0;
  border: 1px solid var(--color-primary-darker);
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
}

.home-promo-hero__dot[aria-pressed="true"] {
  background: var(--color-primary);
}

.home-promo-hero__counter {
  margin-left: 8px;
  color: #827f7e;
  font-size: 0.6rem;
  line-height: 1;
  font-weight: 500;
  white-space: nowrap;
}

@media (max-width: 991.8px) {
  .home-promo-hero__viewport,
  .home-promo-hero__slides {
    height: 580px;
    min-height: 580px;
  }

  .home-promo-hero__slide {
    grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.9fr);
  }

  .home-promo-hero__visual {
    padding: 70px 8px 70px 30px;
  }

  .home-promo-hero__image-frame {
    width: min(100%, 350px);
  }

  .home-promo-hero__button {
    min-width: 150px;
  }
}

@media (max-width: 820px) {
  .home-promo-hero__content {
    padding-right: 20px;
  }

  .home-promo-hero__button {
    min-width: 0;
    padding-right: 20px;
    padding-left: 20px;
  }

  .home-promo-hero__all {
    width: 102px;
    height: 102px;
    right: 10px;
  }
}

@media (max-width: 767.8px) {
  .home-promo-hero {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .home-promo-hero__slide,
  .home-promo-hero__button,
  .home-promo-hero__arrow,
  .home-promo-hero__all {
    transition: none;
  }
}
