/* ProductSlider — product carousel (KEREM product row). */

/* Guarantee the card image→body gap + merchant accent reach the cards in this
   section (scoped here so it applies even if global.css isn't picked up). */
.cc_oe6aXTYiT2_DThqjTr7uh .product-slider .vsp-card__body { padding-top: 16px; }
.cc_oe6aXTYiT2_DThqjTr7uh .product-slider .vsp-card__badge { background: var(--ps-accent, var(--accent)); }
.cc_oe6aXTYiT2_DThqjTr7uh .product-slider .vsp-card__quick { background: var(--ink); }
.cc_oe6aXTYiT2_DThqjTr7uh .product-slider .vsp-card__quick:hover { background: var(--ps-accent, var(--accent)); }
.cc_oe6aXTYiT2_DThqjTr7uh .product-slider .vsp-card__wish:hover, .cc_oe6aXTYiT2_DThqjTr7uh .product-slider .vsp-card__wish.is-active { color: var(--ps-accent, var(--accent)); }
.cc_oe6aXTYiT2_DThqjTr7uh .product-slider .vsp-card__price-now--sale { color: var(--ps-accent, var(--accent)); }

.cc_oe6aXTYiT2_DThqjTr7uh .product-slider {
  --ps-gap: clamp(10px, 1.4vw, 24px);
  width: 100%;
  padding-top: var(--ps-mt, clamp(64px, 9vw, 150px));
  padding-bottom: var(--ps-mb, clamp(64px, 9vw, 150px));
}

/* --- Header: eyebrow + title (left), "view all" link (right) --- */
.cc_oe6aXTYiT2_DThqjTr7uh .product-slider__head {
  max-width: var(--maxw);
  margin: 0 auto clamp(28px, 3.4vw, 52px);
  padding-inline: var(--gutter);
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 20px;
}
/* vertical stack so the title sits under the eyebrow, never beside it */
.cc_oe6aXTYiT2_DThqjTr7uh .product-slider__head-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.cc_oe6aXTYiT2_DThqjTr7uh .product-slider__eyebrow {
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.cc_oe6aXTYiT2_DThqjTr7uh .product-slider__eyebrow::before {
  content: "";
  width: 24px;
  height: 1px;
  background: var(--ps-accent, var(--accent));
}
.cc_oe6aXTYiT2_DThqjTr7uh .product-slider__title {
  margin: 18px 0 0;
  font-size: clamp(30px, 4vw, var(--ts-max, 60px));
  color: var(--ink);
  max-width: 16ch;
}

/* --- Viewport + scroll track --- */
.cc_oe6aXTYiT2_DThqjTr7uh .product-slider__viewport {
  position: relative;
  max-width: var(--maxw);
  margin: 0 auto;
  padding-inline: var(--gutter);
}
.cc_oe6aXTYiT2_DThqjTr7uh .product-slider__track {
  display: flex;
  gap: var(--ps-gap);
  overflow-x: auto;
  /* overflow-x:auto forces overflow-y to compute to auto, which clips the
     bottom swatch row + its active ring. Bottom padding gives it room. */
  padding-bottom: 14px;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.cc_oe6aXTYiT2_DThqjTr7uh .product-slider__track::-webkit-scrollbar {
  display: none;
}
.cc_oe6aXTYiT2_DThqjTr7uh .product-slider__track.is-noswipe {
  overflow-x: hidden;
  scroll-snap-type: none;
  touch-action: pan-y;
}

/* Cell width = column count (mobile uses --ps-cols-m, desktop --ps-cols). */
.cc_oe6aXTYiT2_DThqjTr7uh .product-slider__cell {
  flex: 0 0 calc((100% - (var(--ps-cols-m) - 1) * var(--ps-gap)) / var(--ps-cols-m));
  min-width: 0;
  scroll-snap-align: start;
}
@media (min-width: 861px) {
  .cc_oe6aXTYiT2_DThqjTr7uh .product-slider__cell {
    flex-basis: calc((100% - (var(--ps-cols) - 1) * var(--ps-gap)) / var(--ps-cols));
  }
}

/* --- Arrows --- */
.cc_oe6aXTYiT2_DThqjTr7uh .product-slider__arrow {
  position: absolute;
  /* center on the image area (cards have a tall image + a text body below) */
  top: 38%;
  transform: translateY(-50%);
  z-index: 4;
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line-2);
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(4px);
  color: var(--ink);
  font-family: var(--mono);
  font-size: 16px;
  cursor: pointer;
  transition: background 0.3s var(--ease), color 0.3s var(--ease), border-color 0.3s var(--ease);
}
.cc_oe6aXTYiT2_DThqjTr7uh .product-slider__arrow:hover {
  background: var(--ps-accent, var(--accent));
  border-color: var(--ps-accent, var(--accent));
  color: var(--on-accent);
}
.cc_oe6aXTYiT2_DThqjTr7uh .product-slider__arrow--prev {
  left: calc(var(--gutter) - 24px);
}
.cc_oe6aXTYiT2_DThqjTr7uh .product-slider__arrow--next {
  right: calc(var(--gutter) - 24px);
}

/* --- Dots (line/bar indicators — KEREM uses sharp corners, never circles) --- */
.cc_oe6aXTYiT2_DThqjTr7uh .product-slider__dots {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  margin-top: clamp(20px, 2.8vw, 40px);
}
.cc_oe6aXTYiT2_DThqjTr7uh .product-slider__dot {
  /* keep a ~44px tall touch target while the visible bar stays thin */
  width: 28px;
  height: 16px;
  padding: 7px 0;
  border: none;
  border-radius: 0;
  background: transparent;
  cursor: pointer;
  -webkit-appearance: none;
  appearance: none;
  transition: width 0.4s var(--ease);
}
/* the visible hairline bar */
.cc_oe6aXTYiT2_DThqjTr7uh .product-slider__dot::after {
  content: "";
  display: block;
  width: 100%;
  height: 2px;
  background: var(--line-2);
  transition: background 0.35s var(--ease);
}
.cc_oe6aXTYiT2_DThqjTr7uh .product-slider__dot:hover::after {
  background: var(--ink-3, var(--ink));
}
.cc_oe6aXTYiT2_DThqjTr7uh .product-slider__dot.is-active {
  width: 48px;
}
.cc_oe6aXTYiT2_DThqjTr7uh .product-slider__dot.is-active::after {
  background: var(--ps-accent, var(--accent));
}

/* --- Empty state --- */
.cc_oe6aXTYiT2_DThqjTr7uh .product-slider__empty {
  max-width: var(--maxw);
  margin: 0 auto;
  padding-inline: var(--gutter);
  font-family: var(--mono);
  font-size: 13px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-3);
}

@media (max-width: 860px) {
  .cc_oe6aXTYiT2_DThqjTr7uh .product-slider {
    padding-top: var(--ps-mt, clamp(48px, 13vw, 80px));
    padding-bottom: var(--ps-mb, clamp(48px, 13vw, 80px));
  }
  .cc_oe6aXTYiT2_DThqjTr7uh .product-slider__arrow {
    display: none;
  }
}

/* Scroll reveal: header fades up first, then product cells stagger in */
.cc_oe6aXTYiT2_DThqjTr7uh .product-slider[data-revealed] .product-slider__head {
  animation: cc_oe6aXTYiT2_reveal-up 0.65s var(--ease) 0.1s both;
}
.cc_oe6aXTYiT2_DThqjTr7uh .product-slider[data-revealed] .product-slider__cell {
  animation: cc_oe6aXTYiT2_reveal-up 0.7s var(--ease) both;
}
.cc_oe6aXTYiT2_DThqjTr7uh .product-slider[data-revealed] .product-slider__cell:nth-child(2) { animation-delay: 0.08s; }
.cc_oe6aXTYiT2_DThqjTr7uh .product-slider[data-revealed] .product-slider__cell:nth-child(3) { animation-delay: 0.16s; }
.cc_oe6aXTYiT2_DThqjTr7uh .product-slider[data-revealed] .product-slider__cell:nth-child(4) { animation-delay: 0.24s; }
.cc_oe6aXTYiT2_DThqjTr7uh .product-slider[data-revealed] .product-slider__cell:nth-child(5) { animation-delay: 0.32s; }
