/* Skipped (covered by shared chunk CSS): ../../sub-components/SectionHeader/styles.css */
/* Skipped (covered by shared chunk CSS): ../../sub-components/Button/styles.css */
/* Skipped (covered by shared chunk CSS): ../../sub-components/Icon/styles.css */
/* Skipped (covered by shared chunk CSS): ../../sub-components/Media/styles.css */
/* Skipped (covered by shared chunk CSS): ../../sub-components/ScrollIndicator/styles.css */
/* Skipped (covered by shared chunk CSS): ../../sub-components/Drawer/styles.css */
/* Skipped (covered by shared chunk CSS): ../../sub-components/ProductCardMinimal/styles.css */
/* Skipped (covered by shared chunk CSS): ../../sub-components/Price/styles.css */
/* Skipped (covered by shared chunk CSS): ../../sub-components/Badge/styles.css */

/* ---------- Feed slider (spec H6) ---------- */

.cc_ha5dwmyj_nqFqgNE0Bf .shoppable-feed__slider {
  /* Whole cards visible + peek: 1.15 (<720) / 2.3 (>=720) / columns + 0.3 (>=1024, 3.3 by default;
     about 393px cards and a ~0.3 card peek at 1440, spec 4.13). */
  --feed-visible: 1.15;
  --feed-gap: var(--grid-col-gap);
  /* Track inset: the page gutter, or the centered page-width margin above 1600px + gutters.
     `100%` (not 100vw) so it ignores classic scrollbars; it resolves where used (track padding,
     scroll-padding, arrow offsets), and each of those boxes is the full section width. */
  --feed-inset: max(var(--gutter), calc((100% - var(--max-page-width)) / 2));
  position: relative;
  min-width: 0;
}

@media (min-width: 720px) {
  .cc_ha5dwmyj_nqFqgNE0Bf .shoppable-feed__slider {
    --feed-visible: 2.3;
  }
}

@media (min-width: 1024px) {
  .cc_ha5dwmyj_nqFqgNE0Bf .shoppable-feed__slider {
    --feed-visible: calc(var(--feed-cols, 3) + 0.3);
  }
}

.cc_ha5dwmyj_nqFqgNE0Bf .shoppable-feed__host {
  min-width: 0;
}

/* The IkasComponentRenderer wrapper is the scroll track; each ShoppableLook root is one card. */
.cc_ha5dwmyj_nqFqgNE0Bf .shoppable-feed__track {
  display: flex;
  gap: var(--feed-gap);
  margin: 0;
  padding: 0 var(--feed-inset);
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: var(--feed-inset);
  overscroll-behavior-x: contain;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.cc_ha5dwmyj_nqFqgNE0Bf .shoppable-feed__track::-webkit-scrollbar {
  display: none;
}

/*
 * The renderer emits box-less per-child containers (and may add a scoping wrapper) between the
 * track and each look, so styling "track > *" does nothing. Flatten every wrapper level that holds
 * a look, whatever the depth, so the look roots become the real flex items, and size/snap the
 * look roots themselves. The track itself is not a descendant of itself, so it keeps its flex box.
 */
.cc_ha5dwmyj_nqFqgNE0Bf .shoppable-feed__track :where(div):has(.shoppable-look):not(.shoppable-look) {
  display: contents;
}

.cc_ha5dwmyj_nqFqgNE0Bf .shoppable-feed__track .shoppable-look {
  flex: 0 0 calc((100% - (var(--feed-visible) - 1) * var(--feed-gap)) / var(--feed-visible));
  width: auto;
  min-width: 0;
  scroll-snap-align: start;
}

/* 44px overlaid arrows, desktop only, shown while the slider is hovered. */
.cc_ha5dwmyj_nqFqgNE0Bf .shoppable-feed .shoppable-feed__arrow {
  position: absolute;
  top: 50%;
  z-index: 3;
  display: none;
  opacity: 0;
  transform: translateY(-50%);
  transition:
    opacity var(--dur-240) var(--ease-out-quart),
    background-color var(--dur-160) var(--ease-out-quart);
}

.cc_ha5dwmyj_nqFqgNE0Bf .shoppable-feed__arrow--prev {
  left: calc(var(--feed-inset) + 16px);
}

.cc_ha5dwmyj_nqFqgNE0Bf .shoppable-feed__arrow--next {
  right: calc(var(--feed-inset) + 16px);
}

@media (min-width: 1024px) {
  .cc_ha5dwmyj_nqFqgNE0Bf .shoppable-feed .shoppable-feed__arrow {
    display: inline-flex;
  }

  .cc_ha5dwmyj_nqFqgNE0Bf .shoppable-feed .shoppable-feed__arrow:focus-visible {
    opacity: 1;
  }
}

/* Arrows reveal on hover with a mouse; touch screens this wide (iPad) can't hover, so they stay shown. */
@media (min-width: 1024px) and (hover: hover) and (pointer: fine) {
  .cc_ha5dwmyj_nqFqgNE0Bf .shoppable-feed__slider:hover .shoppable-feed__arrow:not(:disabled) {
    opacity: 1;
  }
}

@media (min-width: 1024px) and (hover: none) {
  .cc_ha5dwmyj_nqFqgNE0Bf .shoppable-feed .shoppable-feed__arrow:not(:disabled) {
    opacity: 1;
  }
}

.cc_ha5dwmyj_nqFqgNE0Bf .shoppable-feed .shoppable-feed__arrow:disabled {
  opacity: 0;
  pointer-events: none;
}

.cc_ha5dwmyj_nqFqgNE0Bf .shoppable-feed__indicator {
  margin-top: 24px;
}

.cc_ha5dwmyj_nqFqgNE0Bf .shoppable-feed__indicator-wrap.is-hidden {
  visibility: hidden;
}

/* ---------- Shop the look drawer (spec 2.6) ---------- */

/* Same shell as the cart drawer: compact header strip, soft close, padded body, bordered lines. */
.cc_ha5dwmyj_nqFqgNE0Bf .shoppable-feed__drawer .drawer-header {
  padding-top: 10px;
  padding-bottom: 10px;
}

.cc_ha5dwmyj_nqFqgNE0Bf .shoppable-feed__look {
  display: flex;
  flex-direction: column;
  padding-top: 4px;
}

.cc_ha5dwmyj_nqFqgNE0Bf .shoppable-feed__look-media {
  position: relative;
}

.cc_ha5dwmyj_nqFqgNE0Bf .shoppable-feed__look-media .media {
  border-radius: var(--radius-card);
}

/* "Scroll for more" pill: dark@80%, white text, straddling the bottom edge of the image. */
.cc_ha5dwmyj_nqFqgNE0Bf .shoppable-feed__hint {
  position: absolute;
  left: 50%;
  bottom: 0;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  padding: 12px 20px;
  border: 0;
  border-radius: var(--radius-pill);
  background-color: color-mix(in srgb, var(--c-ink) 80%, transparent);
  color: var(--c-white);
  white-space: nowrap;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translate(-50%, 50%);
  transition:
    opacity var(--dur-200) var(--ease-in-quad),
    visibility 0s linear var(--dur-200),
    background-color var(--dur-160) var(--ease-out-quart);
}

.cc_ha5dwmyj_nqFqgNE0Bf .shoppable-feed__hint.is-visible {
  opacity: 1;
  visibility: visible;
  transition:
    opacity var(--dur-320) var(--ease-out-quart),
    visibility 0s,
    background-color var(--dur-160) var(--ease-out-quart);
}

@media (hover: hover) {
  .cc_ha5dwmyj_nqFqgNE0Bf .shoppable-feed__hint:hover {
    background-color: var(--c-ink);
  }
}

.cc_ha5dwmyj_nqFqgNE0Bf .shoppable-feed__hint:focus-visible {
  outline: 2px solid var(--c-text);
  outline-offset: 2px;
}

/* Top space clears the half of the hint pill that hangs below the image. */
.cc_ha5dwmyj_nqFqgNE0Bf .shoppable-feed__products {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin: 0;
  padding: 36px 0 0;
  list-style: none;
}

.cc_ha5dwmyj_nqFqgNE0Bf .shoppable-feed__product {
  min-width: 0;
}

@media (prefers-reduced-motion: reduce) {
  .cc_ha5dwmyj_nqFqgNE0Bf .shoppable-feed .shoppable-feed__arrow, .cc_ha5dwmyj_nqFqgNE0Bf .shoppable-feed__hint, .cc_ha5dwmyj_nqFqgNE0Bf .shoppable-feed__hint.is-visible {
    transition: opacity 150ms linear;
  }
}
