.merchant-promotions {
  position: relative;
  color: #fff;
  background: #163d2a;
  overflow: hidden;
}

.merchant-promo-slide { position: absolute; inset: 0; }
.merchant-promo-slide img { width: 100%; height: 100%; object-fit: cover; object-position: center 35%; }
.merchant-promo-slide::after {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(0deg, #062b1e 0%, rgb(6 43 30 / 96%) 18%, rgb(6 43 30 / 75%) 39%, transparent 76%);
}

.merchant-promo-copy {
  position: absolute;
  z-index: 1;
  inset: auto clamp(24px, 5vw, 72px) 98px;
}

.merchant-promo-copy h2 {
  margin: 0 0 12px;
  max-width: 18ch;
  font-size: clamp(28px, 4vw, 58px);
  line-height: 1.06;
  letter-spacing: -.035em;
}

.merchant-promo-copy h2 span { display: block; color: #ff9a3d; }
.merchant-promo-copy h2::after {
  content: "";
  display: block;
  width: 74px;
  height: 9px;
  margin-top: 9px;
  border-top: 4px solid #ff9a3d;
  border-radius: 65% 45% 0 0;
}
.merchant-promo-copy p { margin: 0; max-width: 38ch; line-height: 1.45; font-size: clamp(16px, 1.6vw, 22px); font-weight: 500; }

.merchant-promo-controls:not([hidden]) {
  position: absolute;
  z-index: 2;
  inset: auto clamp(24px, 5vw, 72px) 25px;
  display: flex;
  align-items: center;
  gap: 4px;
}

.merchant-promo-controls button {
  min-width: 36px;
  min-height: 44px;
  border: 1px solid #cfe5db;
  border-radius: 24px;
  background: #103b2b;
  color: white;
  font: inherit;
  cursor: pointer;
}

.merchant-promo-controls .merchant-promo-dot { border: 0; background: transparent; min-width: 24px; }
.merchant-promo-dot span { display: block; width: 9px; height: 9px; margin: auto; border-radius: 50%; background: #fff; }
.merchant-promo-dot[aria-current="true"] span { background: #ff8b2b; }
.merchant-promo-controls [data-promo-pause] { margin-inline-start: 6px; padding-inline: 12px; }

@media (min-width: 768px) {
  .merchant-promotions::after {
    position: absolute;
    z-index: 1;
    inset: -25% 0 -25% auto;
    width: clamp(18px, 4vw, 68px);
    background: #fff;
    clip-path: ellipse(100% 55% at 100% 50%);
    content: "";
    pointer-events: none;
  }

  .merchant-promo-copy { inset-inline-end: clamp(46px, 8vw, 128px); }
}

@media (max-width: 767px) {
  .merchant-promotions { border-radius: 0 0 16px 16px; }
  .merchant-promo-slide { position: relative; }
  .merchant-promo-slide img { position: absolute; inset: 0; object-position: center 40%; }
  .merchant-promo-slide::after {
    background: linear-gradient(90deg, #062b1e 8%, rgb(6 43 30 / 94%) 48%, rgb(6 43 30 / 18%)),
      linear-gradient(0deg, #062b1e 0%, transparent 54%);
  }
  .merchant-promo-copy {
    position: relative;
    inset: auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 174px;
    padding: 14px 16px 56px;
  }
  .merchant-promo-copy h2 { max-width: 22ch; margin-bottom: 5px; font-size: clamp(18px, 5.4vw, 24px); }
  .merchant-promo-copy h2 span { display: inline; }
  .merchant-promo-copy h2::after { display: none; }
  .merchant-promo-copy p { max-width: 31ch; font-size: 13px; line-height: 1.35; }
  .merchant-promo-controls:not([hidden]) { inset: auto 12px 5px; gap: 0; }
  .merchant-promo-controls button { min-width: 44px; }
  .merchant-promo-controls .merchant-promo-dot { min-width: 24px; }
  .merchant-promo-controls [data-promo-pause] { display: none; }
}
