.cc_m7uskf44_iCccHZWKlN .nx-vids {
  padding-block: 32px 40px;
  overflow: hidden;
  background: var(--nx-vids-bg, var(--nx-bg));
  color: var(--nx-ink);
}

.cc_m7uskf44_iCccHZWKlN .nx-vids .nx-head {
  margin-bottom: 20px;
}

.cc_m7uskf44_iCccHZWKlN .nx-vids__controls {
  display: flex;
  align-items: center;
  gap: 12px;
}

.cc_m7uskf44_iCccHZWKlN .nx-vids__note {
  margin-right: 4px;
  color: var(--nx-muted);
  font-size: 13px;
}

.cc_m7uskf44_iCccHZWKlN .nx-vids__arrow {
  display: none;
  place-items: center;
  width: 48px;
  height: 48px;
  margin: 0;
  padding: 0;
  border: 1px solid var(--nx-edge, var(--nx-muted));
  border-radius: 50%;
  background: none;
  color: var(--nx-ink);
  cursor: pointer;
  transition: transform var(--nx-dur-fast) var(--nx-ease);
}

.cc_m7uskf44_iCccHZWKlN .nx-vids__arrow:disabled {
  color: var(--nx-muted);
  opacity: 0.6;
  cursor: default;
}

.cc_m7uskf44_iCccHZWKlN .nx-vids__arrow:not(:disabled):active {
  transform: scale(0.92);
}

/* ---------- Rail ---------- */

.cc_m7uskf44_iCccHZWKlN .nx-vids__rail {
  --nx-sl-gap: 12px;
  --nx-sl-pv: var(--nx-sl-pv-m, 1.25);
  /* Card width tracks the merchant's visible-count; fractional peeks the next. */
  --nx-vids-cw: calc((100% - (var(--nx-sl-pv) - 1) * var(--nx-sl-gap)) / var(--nx-sl-pv));
  display: flex;
  align-items: flex-start;
  gap: var(--nx-sl-gap);
  margin: 0;
  /* Side padding lets the first and last card reach the centre. */
  padding: 8px calc(50% - var(--nx-vids-cw) / 2);
  overflow-x: auto;
  /* A horizontal scroller is never a vertical one: without this the
     browser makes the other axis scrollable too. */
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  list-style: none;
  -webkit-overflow-scrolling: touch;
}

.cc_m7uskf44_iCccHZWKlN .nx-vids__rail::-webkit-scrollbar {
  display: none;
}

/* The cards are child components placed through IkasComponentRenderer, which
 * adds a display:contents wrapper; on the published site each card also gets
 * its own scope wrapper, which then is the real flex item. Wrappers must not
 * shrink, and the card carries its own width so it holds at either depth. */
.cc_m7uskf44_iCccHZWKlN .nx-vids__rail > *, .cc_m7uskf44_iCccHZWKlN .nx-vids__rail > * > * {
  flex: 0 0 auto;
}

.cc_m7uskf44_iCccHZWKlN .nx-vids__cell {
  flex: 0 0 var(--nx-vids-cw, 260px);
  width: var(--nx-vids-cw, 260px);
  display: flex;
  flex-direction: column;
  gap: 10px;
  scroll-snap-align: center;
  opacity: 0.6;
  transform: scale(0.92);
  transition:
    transform 500ms var(--nx-ease),
    opacity 500ms var(--nx-ease);
}

/* The centred card grows into focus. */
.cc_m7uskf44_iCccHZWKlN .nx-vids__cell.is-active {
  opacity: 1;
  transform: none;
}

.cc_m7uskf44_iCccHZWKlN .nx-vids__frame {
  position: relative;
  aspect-ratio: var(--nx-ar, 9 / 16);
  overflow: hidden;
  border-radius: var(--nx-radius-md);
  background: var(--nx-raised);
}

.cc_m7uskf44_iCccHZWKlN .nx-vids__video {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: var(--nx-fit, cover);
}

/* A still stands in for footage: it drifts closer while its card is the active one. */
.cc_m7uskf44_iCccHZWKlN .nx-vids__still {
  transform: scale(1);
  transition: transform 1200ms var(--nx-ease);
}

.cc_m7uskf44_iCccHZWKlN .nx-vids__cell[data-playing="true"] .nx-vids__still {
  animation: cc_m7uskf44_iCccHZWKlN_nx-vids-drift 9s var(--nx-ease-in-out) infinite alternate;
}

@keyframes cc_m7uskf44_iCccHZWKlN_nx-vids-drift {
  from {
    transform: scale(1);
  }
  to {
    transform: scale(1.12) translate3d(0, -2%, 0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .cc_m7uskf44_iCccHZWKlN .nx-vids__cell[data-playing="true"] .nx-vids__still {
    animation: none;
  }
}

/* Keeps the caption and creator readable over any footage. */
.cc_m7uskf44_iCccHZWKlN .nx-vids__frame::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    var(--nx-media-scrim) 0%,
    transparent 22%,
    transparent 62%,
    var(--nx-media-scrim) 100%
  );
  pointer-events: none;
}

/* The cover button belongs to cards that are not highlighted; the sound
   button to the one that is. The section sets is-active on the card. */
.cc_m7uskf44_iCccHZWKlN .nx-vids__cell.is-active .nx-vids__select, .cc_m7uskf44_iCccHZWKlN .nx-vids__cell:not(.is-active) .nx-vids__mute {
  display: none;
}

.cc_m7uskf44_iCccHZWKlN .nx-vids__select {
  position: absolute;
  inset: 0;
  z-index: 1;
  margin: 0;
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
}

.cc_m7uskf44_iCccHZWKlN .nx-vids__top {
  position: absolute;
  top: 14px;
  left: 14px;
  right: 14px;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  color: var(--nx-on-media);
  pointer-events: none;
}

.cc_m7uskf44_iCccHZWKlN .nx-vids__creator {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}

.cc_m7uskf44_iCccHZWKlN .nx-vids__avatar {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 26px;
  height: 26px;
  border: 1px solid var(--nx-on-media-accent);
  border-radius: 50%;
  font-size: 12px;
  font-weight: 700;
}

.cc_m7uskf44_iCccHZWKlN .nx-vids__creator-text {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.cc_m7uskf44_iCccHZWKlN .nx-vids__handle {
  overflow: hidden;
  font-size: 12px;
  font-weight: 700;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.cc_m7uskf44_iCccHZWKlN .nx-vids__profile {
  font-size: 12px;
  opacity: 0.85;
}

.cc_m7uskf44_iCccHZWKlN .nx-vids__mute {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  margin: -3px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: var(--nx-media-scrim);
  color: var(--nx-on-media);
  cursor: pointer;
  pointer-events: auto;
}

.cc_m7uskf44_iCccHZWKlN .nx-vids__caption {
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 14px;
  z-index: 2;
  margin: 0;
  color: var(--nx-on-media);
  font-size: 16px;
  pointer-events: none;
}

/* ---------- Product bar ---------- */

.cc_m7uskf44_iCccHZWKlN .nx-vids__product {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px;
  border: 1px solid var(--nx-line);
  border-radius: var(--nx-radius-md);
  background: var(--nx-surface);
}

.cc_m7uskf44_iCccHZWKlN .nx-vids__thumb {
  flex-shrink: 0;
  width: 48px;
  height: 60px;
  overflow: hidden;
  border-radius: 5px;
  background: var(--nx-raised);
}

.cc_m7uskf44_iCccHZWKlN .nx-vids__thumb img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: var(--nx-fit, cover);
}

.cc_m7uskf44_iCccHZWKlN .nx-vids__product-text {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 0;
}

.cc_m7uskf44_iCccHZWKlN .nx-vids__product-name {
  overflow: hidden;
  color: var(--nx-ink);
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.cc_m7uskf44_iCccHZWKlN .nx-vids__add {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: var(--nx-accent);
  color: var(--nx-on-accent);
  cursor: pointer;
  transition: transform var(--nx-dur-fast) var(--nx-ease);
}

.cc_m7uskf44_iCccHZWKlN .nx-vids__add:active {
  transform: scale(0.9);
}

.cc_m7uskf44_iCccHZWKlN .nx-vids__add:disabled {
  opacity: 0.6;
  cursor: progress;
}

.cc_m7uskf44_iCccHZWKlN .nx-vids__arrow:focus-visible, .cc_m7uskf44_iCccHZWKlN .nx-vids__select:focus-visible, .cc_m7uskf44_iCccHZWKlN .nx-vids__mute:focus-visible, .cc_m7uskf44_iCccHZWKlN .nx-vids__product-name:focus-visible, .cc_m7uskf44_iCccHZWKlN .nx-vids__add:focus-visible {
  outline: 2px solid var(--nx-accent);
  outline-offset: 2px;
}

.cc_m7uskf44_iCccHZWKlN .nx-vids__select:focus-visible {
  outline-offset: -3px;
  border-radius: var(--nx-radius-md);
}

/* ---------- Dots (phones) ---------- */

.cc_m7uskf44_iCccHZWKlN .nx-vids__dots {
  display: flex;
  justify-content: center;
  gap: 6px;
  padding-top: 16px;
}

.cc_m7uskf44_iCccHZWKlN .nx-vids__dot {
  width: 6px;
  height: 4px;
  border-radius: 4px;
  background: color-mix(in srgb, var(--nx-ink) 27%, transparent);
  transform-origin: left;
  transition: transform var(--nx-dur-mid) var(--nx-ease);
}

.cc_m7uskf44_iCccHZWKlN .nx-vids__dot.is-active {
  margin-right: 14px;
  background: var(--nx-accent);
  transform: scaleX(3.3);
}

/* Wide screens: the rail runs edge to edge and stays full; the highlight
   moves between cards instead of every card having to reach the centre. */
@media (min-width: 768px) {
  .cc_m7uskf44_iCccHZWKlN .nx-vids__rail {
    --nx-sl-gap: 20px;
    --nx-sl-pv: var(--nx-sl-pv-d, 4);
    padding-inline: var(--nx-gutter);
    scroll-snap-type: none;
  }
}

/* Slider toggled OFF: a static wrapped grid instead of the focus rail. */
@media (max-width: 767px) {
  .cc_m7uskf44_iCccHZWKlN .nx-vids__rail[data-m-slider="false"] {
    flex-wrap: wrap;
    justify-content: center;
    overflow: visible;
    scroll-snap-type: none;
    padding-inline: var(--nx-gutter);
  }

  .cc_m7uskf44_iCccHZWKlN .nx-vids__rail[data-m-slider="false"] .nx-vids__cell {
    opacity: 1;
    transform: none;
  }
}

@media (min-width: 768px) {
  .cc_m7uskf44_iCccHZWKlN .nx-vids__rail[data-d-slider="false"] {
    flex-wrap: wrap;
    justify-content: center;
    overflow: visible;
    scroll-snap-type: none;
  }

  .cc_m7uskf44_iCccHZWKlN .nx-vids__rail[data-d-slider="false"] .nx-vids__cell {
    opacity: 1;
    transform: none;
  }
}

@media (min-width: 1024px) {
  .cc_m7uskf44_iCccHZWKlN .nx-vids {
    padding-block: 0 120px;
  }

  .cc_m7uskf44_iCccHZWKlN .nx-vids .nx-head {
    margin-bottom: 32px;
  }

  .cc_m7uskf44_iCccHZWKlN .nx-vids__arrow {
    display: grid;
  }

  .cc_m7uskf44_iCccHZWKlN .nx-vids__rail {
    gap: 20px;
    padding-inline: max(var(--nx-gutter), calc((100% - var(--nx-container)) / 2));
  }

  .cc_m7uskf44_iCccHZWKlN .nx-vids__cell {
    flex-basis: 320px;
    width: 320px;
    transform: scale(0.84);
  }

  .cc_m7uskf44_iCccHZWKlN .nx-vids__dots {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .cc_m7uskf44_iCccHZWKlN .nx-vids__cell {
    transition: none;
  }
}

/* Price, copied from the Price part: in the editor a card is rendered without
   its own scope, so only this stylesheet reaches it. */
.cc_m7uskf44_iCccHZWKlN .nx-vids .nx-price {
  display: inline-flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 4px 8px;
  font-variant-numeric: tabular-nums;
}

.cc_m7uskf44_iCccHZWKlN .nx-vids .nx-price__final {
  color: var(--nx-ink);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.2;
}

.cc_m7uskf44_iCccHZWKlN .nx-vids .nx-price__was {
  color: var(--nx-muted);
  font-size: 12px;
  font-weight: 400;
}
