/* Continuous ticker: the track holds two identical halves and slides left by exactly one half width,
   so the loop is seamless. Each half repeats the items enough times to cover the viewport. */
.cc_5eyhtjn9_J4StfNCdof .marquee {
  position: relative;
  width: 100%;
  overflow: hidden;
  box-sizing: border-box;
  --marquee-duration: 30s;
  --marquee-gap: 64px;
  --marquee-item-height: 380px;
  /* Cards read this one, so phones can shrink the strip without touching the merchant's value. */
  --marquee-card-height: var(--marquee-item-height);
}

@media (max-width: 767px) {
  .cc_5eyhtjn9_J4StfNCdof .marquee {
    --marquee-card-height: calc(var(--marquee-item-height) * 0.7);
  }

  .cc_5eyhtjn9_J4StfNCdof .marquee.has-fade .marquee-viewport {
    -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 4%, #000 96%, transparent 100%);
    mask-image: linear-gradient(90deg, transparent 0, #000 4%, #000 96%, transparent 100%);
  }
}

/* Edge fade is a mask on the viewport, so it works on any section background color. */
.cc_5eyhtjn9_J4StfNCdof .marquee-viewport {
  overflow: hidden;
}

.cc_5eyhtjn9_J4StfNCdof .marquee.has-fade .marquee-viewport {
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 8%, #000 92%, transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0, #000 8%, #000 92%, transparent 100%);
}

.cc_5eyhtjn9_J4StfNCdof .marquee-track {
  display: flex;
  will-change: transform;
  width: max-content;
  animation: cc_5eyhtjn9_J4StfNCdof_marquee-scroll var(--marquee-duration) linear infinite;
}

.cc_5eyhtjn9_J4StfNCdof .marquee-half {
  display: flex;
  flex: none;
}

/* Gap is on the set itself, so it applies whether ikas renders items directly or inside one wrapper. */
.cc_5eyhtjn9_J4StfNCdof .marquee-set {
  display: flex;
  align-items: flex-start;
  gap: var(--marquee-gap);
  flex: none;
  /* Trailing gap so repeats keep the same spacing across set boundaries. */
  padding-right: var(--marquee-gap);
}

/* If ikas wraps the items in one element, that wrapper needs the same flex row and gap. */
.cc_5eyhtjn9_J4StfNCdof .marquee-set > div {
  display: flex;
  align-items: center;
  gap: var(--marquee-gap);
}

.cc_5eyhtjn9_J4StfNCdof .marquee.is-reverse .marquee-track {
  animation-direction: reverse;
}

.cc_5eyhtjn9_J4StfNCdof .marquee.is-pausable:hover .marquee-track, .cc_5eyhtjn9_J4StfNCdof .marquee.is-pausable:focus-within .marquee-track {
  animation-play-state: paused;
}

/* Spotlight: while the strip is hovered, every item but the one under the cursor steps back. */
.cc_5eyhtjn9_J4StfNCdof .marquee .marquee-card {
  transition: opacity 0.4s ease;
}

.cc_5eyhtjn9_J4StfNCdof .marquee.is-pausable:hover .marquee-card {
  opacity: 0.35;
}

.cc_5eyhtjn9_J4StfNCdof .marquee.is-pausable:hover .marquee-card:hover, .cc_5eyhtjn9_J4StfNCdof .marquee.is-pausable:hover .marquee-card:focus-within {
  opacity: 1;
}

@keyframes cc_5eyhtjn9_J4StfNCdof_marquee-scroll {
  from { transform: translate3d(0, 0, 0); }
  to { transform: translate3d(-50%, 0, 0); }
}

/* Static fallback: no motion, the first set is shown and can be scrolled by hand. */
@media (prefers-reduced-motion: reduce) {
  .cc_5eyhtjn9_J4StfNCdof .marquee-track {
    animation: none;
  }

  .cc_5eyhtjn9_J4StfNCdof .marquee-viewport {
    overflow-x: auto;
    overflow-y: hidden;
  }

  .cc_5eyhtjn9_J4StfNCdof .marquee-half[aria-hidden="true"] {
    display: none;
  }
}
