.offers-section {
  padding-block: clamp(1.75rem, 3vw, 2.5rem);
  overflow: hidden;
  background: #fff;
}

.offers-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.offers-heading h2 {
  margin: 0;
  color: #173747;
  font-size: clamp(1.8rem, 3.6vw, 2.45rem);
  font-weight: 750;
  letter-spacing: -0.035em;
  line-height: 1.2;
}

.offers-heading-underline {
  width: min(17rem, 58vw);
  height: 0.75rem;
  margin-top: 0.45rem;
  border-top: 2px solid #389c70;
  border-radius: 50%;
  transform: rotate(-1.6deg);
}

.offers-see-all {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 0.5rem;
  margin-top: 0.4rem;
  color: #31966c;
  font-size: 0.95rem;
  font-weight: 650;
  text-decoration: none;
}

.offers-see-all:hover {
  color: #1d7050;
}

.offers-see-all svg {
  width: 1.3rem;
  height: 1.3rem;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.offers-carousel {
  position: relative;
}

.offers-track {
  display: grid;
  grid-auto-columns: calc((100% - 2rem) / 3);
  grid-auto-flow: column;
  gap: 1rem;
  overflow-x: auto;
  padding: 0.15rem 0.2rem 0.75rem;
  scroll-behavior: smooth;
  scroll-padding-inline: 0.2rem;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}

.offers-track::-webkit-scrollbar {
  display: none;
}

.offer-card {
  position: relative;
  isolation: isolate;
  min-width: 0;
  min-height: clamp(14rem, 19vw, 17rem);
  overflow: hidden;
  background: #263a36;
  color: #fff;
  scroll-snap-align: start;
}

.offer-image,
.offer-shade {
  position: absolute;
  z-index: -1;
  inset: 0;
  width: 100%;
  height: 100%;
}

.offer-image {
  object-fit: cover;
  transition: transform 450ms cubic-bezier(0.2, 0.65, 0.3, 1);
}

.offer-card:hover .offer-image,
.offer-card:focus-within .offer-image {
  transform: scale(1.035);
}

.offer-shade {
  background: linear-gradient(90deg, rgb(13 23 22 / 78%), rgb(13 23 22 / 55%) 70%, rgb(13 23 22 / 32%));
}

.offer-artwork-label {
  position: absolute;
  top: 0.85rem;
  right: 0.75rem;
  z-index: 1;
  padding: 0.2rem 0.5rem;
  border: 1px solid rgb(255 255 255 / 55%);
  border-radius: 99px;
  background: rgb(255 255 255 / 92%);
  color: #40564c;
  font-size: 0.55rem;
  font-weight: 700;
  line-height: 1.25;
}

.offer-copy {
  position: relative;
  z-index: 1;
  display: grid;
  align-content: start;
  justify-items: start;
  min-height: inherit;
  padding: 1.15rem 1.1rem 1.15rem;
  padding-right: clamp(5.5rem, 8vw, 7rem);
}

.offer-tag {
  display: inline-flex;
  align-items: center;
  min-height: 1.7rem;
  padding: 0.24rem 0.7rem;
  border-radius: 0 0.45rem 0.45rem 0;
  background: #ffc629;
  color: #173747;
  font-size: 0.66rem;
  font-weight: 750;
  line-height: 1.2;
  text-transform: uppercase;
}

.offer-copy h3 {
  margin: 1.45rem 0 0.4rem;
  color: #fff;
  font-size: clamp(1.04rem, 1.55vw, 1.3rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.3;
  text-wrap: balance;
}

.offer-copy p {
  max-width: 24rem;
  margin: 0;
  color: rgb(255 255 255 / 95%);
  font-size: 0.79rem;
  line-height: 1.4;
}

.offer-highlight {
  align-self: end;
  margin-top: auto;
  padding-top: 1rem;
  color: #fff;
  font-size: 0.84rem;
  font-weight: 700;
}

.offer-feature {
  position: absolute;
  right: 0;
  bottom: 0;
  display: flex;
  width: clamp(7.5rem, 10.5vw, 9.5rem);
  min-height: 5.2rem;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 1.15rem 0.55rem 0.45rem 1rem;
  clip-path: polygon(16% 0, 100% 0, 100% 100%, 38% 100%, 0 34%);
  background: #ffc629;
  color: #173747;
  text-align: center;
  pointer-events: none;
}

.offer-feature strong {
  font-size: clamp(1.4rem, 2.3vw, 2rem);
  font-weight: 800;
  letter-spacing: -0.045em;
  line-height: 1;
}

.offer-feature span {
  font-size: 0.64rem;
  font-weight: 700;
  line-height: 1.15;
}

.offer-card-link {
  position: absolute;
  z-index: 2;
  inset: 0;
}

.offer-card:focus-within {
  outline: 3px solid rgb(49 150 108 / 58%);
  outline-offset: 3px;
}

.offers-control {
  position: absolute;
  z-index: 3;
  top: 50%;
  display: grid;
  width: 2.6rem;
  height: 2.6rem;
  place-items: center;
  padding: 0;
  transform: translateY(-50%);
  border: 0;
  border-radius: 50%;
  background: #359d70;
  color: #fff;
  cursor: pointer;
  box-shadow: 0 0.3rem 0.9rem rgb(17 53 37 / 18%);
  transition: background-color 160ms ease, transform 160ms ease;
}

.offers-control:hover {
  transform: translateY(-50%) scale(1.06);
  background: #247b57;
}

.offers-control--previous {
  left: -1.2rem;
}

.offers-control--next {
  right: -1.2rem;
}

.offers-control svg {
  width: 1.25rem;
  height: 1.25rem;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.offers-control:focus-visible,
.offers-see-all:focus-visible,
.offer-card-link:focus-visible {
  outline: 3px solid rgb(49 150 108 / 55%);
  outline-offset: 3px;
}

.offers-note {
  margin: 0.45rem 0 0;
  color: #777e79;
  font-size: 0.72rem;
  text-align: right;
}

@media (max-width: 900px) {
  .offers-track {
    grid-auto-columns: calc((100% - 1rem) / 2);
  }
}

@media (max-width: 600px) {
  .offers-section {
    padding-block: 1.25rem 1.5rem;
  }

  .offers-heading {
    gap: 0.75rem;
    margin-bottom: 1.15rem;
  }

  .offers-heading h2 {
    font-size: clamp(1.55rem, 6vw, 1.9rem);
  }

  .offers-see-all {
    gap: 0.2rem;
    margin-top: 0.2rem;
    font-size: 0.73rem;
    white-space: nowrap;
  }

  .offers-see-all svg {
    width: 1rem;
    height: 1rem;
  }

  .offers-track {
    grid-auto-columns: 90%;
    gap: 0.8rem;
    margin-inline: -0.2rem;
    padding-inline: 0.2rem;
  }

  .offer-card {
    min-height: 15.5rem;
  }

  .offer-copy {
    padding: 1rem 0.9rem 0.9rem;
    padding-right: 6rem;
  }

  .offer-copy h3 {
    margin-top: 1.3rem;
    font-size: 1.1rem;
  }

  .offer-copy p {
    font-size: 0.75rem;
  }

  .offer-highlight {
    font-size: 0.78rem;
  }

  .offer-feature {
    width: 7.3rem;
    min-height: 4.7rem;
  }

  .offers-control {
    width: 2.3rem;
    height: 2.3rem;
  }

  .offers-control--previous {
    left: -0.3rem;
  }

  .offers-control--next {
    right: -0.3rem;
  }

  .offers-note {
    font-size: 0.66rem;
    text-align: left;
  }
}

@media (prefers-reduced-motion: reduce) {
  .offer-image,
  .offers-control {
    transition: none;
  }

  .offers-track {
    scroll-behavior: auto;
  }
}
