.offers-carousel {
  --offers-gap: 1.2rem;
  position: relative;
  min-width: 0;
}

.offers-viewport {
  overflow: hidden;
  touch-action: pan-y;
}

.offers-track {
  display: flex;
  gap: var(--offers-gap);
  transition: transform .45s var(--ease);
  will-change: transform;
}

.offer-slide {
  flex: 0 0 calc((100% - 3 * var(--offers-gap)) / 4);
  min-width: 0;
}

.offer-slide .deal-body {
  display: flex;
  flex: 1;
  flex-direction: column;
}

.offer-slide .deal-cond {
  margin-top: auto;
}

.offers-carousel-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 1.4rem;
}

.offers-nav {
  position: absolute;
  top: calc(50% - 2rem);
  z-index: 3;
  display: grid;
  width: 46px;
  height: 46px;
  padding: 0;
  place-items: center;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  background: rgba(4, 31, 40, .92);
  color: var(--fg);
  box-shadow: 0 10px 30px rgba(0, 0, 0, .35);
  font-size: 1.55rem;
  line-height: 1;
  transform: translateY(-50%);
}

.offers-nav-prev {
  left: -64px;
}

.offers-nav-next {
  right: -64px;
}

.offers-nav:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.offers-carousel.has-single-page .offers-nav,
.offers-carousel.has-single-page .offers-carousel-controls {
  display: none;
}

.offers-carousel-dots {
  display: flex;
  align-items: center;
  gap: .45rem;
}

.offers-carousel-dots button {
  display: grid;
  width: 24px;
  height: 24px;
  padding: 0;
  place-items: center;
  border: 0;
  background: transparent;
}

.offers-carousel-dots button::before {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--line-strong);
  content: "";
  transition: width .25s var(--ease), background .25s var(--ease);
}

.offers-carousel-dots button.is-active::before {
  width: 22px;
  border-radius: var(--r-pill);
  background: var(--accent);
}

.gift-carousel .carousel-controls {
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr) 40px;
  gap: .55rem;
  width: 100%;
  margin-top: 1rem;
}

.gift-carousel .carousel-controls > button {
  width: 40px;
  height: 40px;
}

.gift-carousel .carousel-dots {
  min-width: 0;
  justify-content: center;
  gap: .15rem;
}

.gift-carousel .carousel-dots button {
  width: 18px;
  height: 32px;
}

.gift-carousel .carousel-dots button::before {
  width: 8px;
  height: 8px;
}

.gift-carousel .carousel-dots button.is-active::before {
  width: 18px;
}

@media (max-width: 1050px) {
  .offer-slide {
    flex-basis: calc((100% - var(--offers-gap)) / 2);
  }

  .offers-nav-prev {
    left: 10px;
  }

  .offers-nav-next {
    right: 10px;
  }
}

@media (max-width: 640px) {
  .offers-carousel {
    --offers-gap: .9rem;
  }

  .offer-slide {
    flex-basis: 100%;
  }

  .offers-nav {
    top: calc(50% - 1.8rem);
    width: 42px;
    height: 42px;
    background: rgba(4, 31, 40, .96);
  }
}

@media (prefers-reduced-motion: reduce) {
  .offers-track {
    transition: none;
  }
}
