/* ===== Rail shell ===== */
.cc_5c3k0asr_oMOKZjh1uV .rail {
  width: 100%;
}
.cc_5c3k0asr_oMOKZjh1uV .rail__inner {
  max-width: calc(var(--alina-content-max, 1440px) - 160px);
  margin: 0 auto;
  padding: 40px 20px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
@media (min-width: 768px) {
  .cc_5c3k0asr_oMOKZjh1uV .rail__inner {
    padding: 56px 32px;
  }
}

/* ===== Header row ===== */
.cc_5c3k0asr_oMOKZjh1uV .rail__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.cc_5c3k0asr_oMOKZjh1uV .rail__heading {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}
.cc_5c3k0asr_oMOKZjh1uV .rail__title {
  margin: 0;
  color: var(--042ULgokKi);
  font-size: var(--ts-m-WO3mnBE4Dq, 32px);
}
@media (min-width: 768px) {
  .cc_5c3k0asr_oMOKZjh1uV .rail__title {
    font-size: var(--ts-t-WO3mnBE4Dq, 32px);
  }
}
@media (min-width: 1024px) {
  .cc_5c3k0asr_oMOKZjh1uV .rail__title {
    font-size: var(--ts-WO3mnBE4Dq, 32px);
  }
}
.cc_5c3k0asr_oMOKZjh1uV .rail__subtitle {
  margin: 0;
  color: var(--kubySwWo6D);
}
.cc_5c3k0asr_oMOKZjh1uV .rail__view-all {
  color: var(--gK5UAqGu10);
  text-decoration: none;
  margin-top: 2px;
}
.cc_5c3k0asr_oMOKZjh1uV .rail__view-all:hover {
  text-decoration: underline;
}

/* ===== Slider buttons ===== */
.cc_5c3k0asr_oMOKZjh1uV .rail__viewport {
  position: relative;
  min-width: 0;
}
.cc_5c3k0asr_oMOKZjh1uV .rail__nav {
  display: flex;
  gap: 10px;
  flex: none;
}
/* One quiet arrow chrome for every variant — hairline circle, muted icon,
 * dark invert on hover. Variants only move it, never restyle it. */
.cc_5c3k0asr_oMOKZjh1uV .rail__arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 999px;
  border: 1px solid var(--0Fjj5Uc12Y);
  background: var(--w6I1Srb2I9);
  color: var(--kubySwWo6D);
  cursor: pointer;
  transition: background-color 160ms ease, border-color 160ms ease, color 160ms ease;
}
.cc_5c3k0asr_oMOKZjh1uV .rail__arrow svg {
  width: 18px;
  height: 18px;
}
.cc_5c3k0asr_oMOKZjh1uV .rail__arrow--prev svg {
  transform: rotate(180deg);
}
.cc_5c3k0asr_oMOKZjh1uV .rail__arrow:hover {
  background: var(--042ULgokKi);
  border-color: var(--042ULgokKi);
  color: var(--w6I1Srb2I9);
}
.cc_5c3k0asr_oMOKZjh1uV .rail__arrow:focus-visible {
  outline: 2px solid var(--gK5UAqGu10);
  outline-offset: 2px;
}
.cc_5c3k0asr_oMOKZjh1uV .rail__arrow:disabled {
  opacity: 0.25;
  cursor: not-allowed;
}
.cc_5c3k0asr_oMOKZjh1uV .rail__arrow:disabled:hover {
  background: var(--w6I1Srb2I9);
  border-color: var(--0Fjj5Uc12Y);
  color: var(--kubySwWo6D);
}

/* ===== Track =====
 * Grid of --cols columns that fill the row exactly. When the product count is
 * <= --cols they fill without overflow (no scroll); extra products overflow and
 * the row scroll-snaps. --cols is set per breakpoint + per variant below. */
.cc_5c3k0asr_oMOKZjh1uV .rail__track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: calc(
    (100% - (var(--cols) - 1) * var(--gap)) / var(--cols)
  );
  gap: var(--gap);
  --cols: 1.35;
  --gap: 14px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-padding-left: 1px;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding-bottom: 4px;
}
.cc_5c3k0asr_oMOKZjh1uV .rail__track::-webkit-scrollbar {
  display: none;
}
.cc_5c3k0asr_oMOKZjh1uV .rail__slide {
  min-width: 0;
  scroll-snap-align: start;
}
@media (min-width: 560px) {
  .cc_5c3k0asr_oMOKZjh1uV .rail__track {
    --cols: 2.2;
  }
}
@media (min-width: 768px) {
  .cc_5c3k0asr_oMOKZjh1uV .rail__track {
    --cols: 3.2;
    --gap: 20px;
  }
}
@media (min-width: 1024px) {
  .cc_5c3k0asr_oMOKZjh1uV .rail--classic .rail__track {
    --cols: 4;
  }
  .cc_5c3k0asr_oMOKZjh1uV .rail--centered .rail__track {
    --cols: 3;
  }
  .cc_5c3k0asr_oMOKZjh1uV .rail--editorial .rail__track {
    --cols: 5;
    --gap: 16px;
  }
}

/* ===== Variant: centered — heading centered, arrows overlaid on the track
 * edges, vertically centered (EcoFlow-style). Arrows fade out entirely at each
 * end instead of showing a disabled state. ===== */
.cc_5c3k0asr_oMOKZjh1uV .rail--centered .rail__top {
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.cc_5c3k0asr_oMOKZjh1uV .rail--centered .rail__heading {
  align-items: center;
}
.cc_5c3k0asr_oMOKZjh1uV .rail--centered .rail__nav {
  display: contents;
}
.cc_5c3k0asr_oMOKZjh1uV .rail--centered .rail__arrow {
  position: absolute;
  top: 50%;
  translate: 0 -50%;
  z-index: 2;
  box-shadow: 0 4px 14px -6px color-mix(in srgb, var(--042ULgokKi) 22%, transparent);
  transition: background-color 160ms ease, border-color 160ms ease,
    color 160ms ease, opacity 160ms ease;
}
.cc_5c3k0asr_oMOKZjh1uV .rail--centered .rail__arrow--prev {
  left: -6px;
}
.cc_5c3k0asr_oMOKZjh1uV .rail--centered .rail__arrow--next {
  right: -6px;
}
.cc_5c3k0asr_oMOKZjh1uV .rail--centered .rail__arrow:disabled {
  opacity: 0;
  pointer-events: none;
}

/* ===== Variant: editorial — magazine list: borderless cards, hairline
 * dividers between slides, small index numbers, slow media zoom on hover.
 * Header row stays classic (heading left, arrows top-right). ===== */
.cc_5c3k0asr_oMOKZjh1uV .rail--editorial .rail__track {
  --gap: 0px;
}
.cc_5c3k0asr_oMOKZjh1uV .rail--editorial .rail__slide {
  padding: 0 20px;
  border-left: 1px solid var(--0Fjj5Uc12Y);
}
.cc_5c3k0asr_oMOKZjh1uV .rail--editorial .rail__slide:first-child {
  border-left: none;
  padding-left: 0;
}
.cc_5c3k0asr_oMOKZjh1uV .rail--editorial .rail__slide:last-child {
  padding-right: 0;
}
.cc_5c3k0asr_oMOKZjh1uV .rail--editorial .rail-card__index {
  display: block;
}
.cc_5c3k0asr_oMOKZjh1uV .rail--editorial .rail-card__media {
  transition: opacity 300ms ease, transform 700ms cubic-bezier(0.2, 0.6, 0.2, 1);
}
.cc_5c3k0asr_oMOKZjh1uV .rail--editorial .rail-card:hover .rail-card__media {
  transform: scale(1.04);
}

/* ===== Product card ===== */
.cc_5c3k0asr_oMOKZjh1uV .rail-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  background: var(--w6I1Srb2I9);
  border-radius: calc(var(--alina-card-radius, 12px) + 4px);
  overflow: hidden;
  /* whisper-light ring, no resting drop shadow */
  box-shadow: 0 0 0 1px color-mix(in srgb, var(--0Fjj5Uc12Y) 55%, transparent);
  transition: box-shadow 200ms ease;
}
.cc_5c3k0asr_oMOKZjh1uV .rail-card:hover {
  box-shadow: 0 0 0 1px var(--0Fjj5Uc12Y),
    0 12px 28px -22px color-mix(in srgb, var(--042ULgokKi) 14%, transparent);
}
.cc_5c3k0asr_oMOKZjh1uV .rail-card__media-link {
  display: block;
  text-decoration: none;
}
.cc_5c3k0asr_oMOKZjh1uV .rail-card__media-wrap {
  position: relative;
  aspect-ratio: 1 / 1;
  background: var(--hqVzrlxrJl); /* Yüzey/Yumuşak — same media surface as the other product cards */
  overflow: hidden;
}
.cc_5c3k0asr_oMOKZjh1uV .rail-card__media {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: opacity 300ms ease;
}
/* Video (esp. portrait) must fill the square frame, not letterbox inside it. */
.cc_5c3k0asr_oMOKZjh1uV video.rail-card__media {
  object-fit: cover;
  object-position: center;
  padding: 0;
}
/* Hover layer is fully hidden (not just transparent) at rest and paints its
 * own surface, so a differently-fitted media (e.g. cover video over a contain
 * image) can never bleed or leave a visible strip. */
.cc_5c3k0asr_oMOKZjh1uV .rail-card__media--hover {
  opacity: 0;
  visibility: hidden;
  background: var(--hqVzrlxrJl);
  transition: opacity 300ms ease, visibility 0s linear 300ms;
}
.cc_5c3k0asr_oMOKZjh1uV .rail-card:hover .rail-card__media--hover, .cc_5c3k0asr_oMOKZjh1uV .rail-card:focus-within .rail-card__media--hover {
  opacity: 1;
  visibility: visible;
  transition: opacity 300ms ease;
}
.cc_5c3k0asr_oMOKZjh1uV .rail-card__media--empty {
  background: var(--hqVzrlxrJl);
  padding: 0;
}
.cc_5c3k0asr_oMOKZjh1uV .rail-card__overlay {
  position: absolute;
  inset: 0;
  background: color-mix(in srgb, var(--w6I1Srb2I9) 55%, transparent);
}
.cc_5c3k0asr_oMOKZjh1uV .rail-card__badge {
  position: absolute;
  top: 10px;
  left: 10px;
  padding: 3px 8px;
  border-radius: 100px;
  background: var(--ve34CtRWga, var(--dwU1XscTgg));
  color: var(--w1Y30M0Kgr, var(--w6I1Srb2I9));
  font-weight: 600;
}
.cc_5c3k0asr_oMOKZjh1uV .rail-card__body {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 14px 16px 16px;
  flex: 1;
}
.cc_5c3k0asr_oMOKZjh1uV .rail--editorial .rail-card {
  background: transparent;
  border-radius: var(--alina-card-radius, 12px);
  box-shadow: none;
}
.cc_5c3k0asr_oMOKZjh1uV .rail--editorial .rail-card:hover {
  box-shadow: none;
  transform: none;
}
.cc_5c3k0asr_oMOKZjh1uV .rail--editorial .rail-card__media-wrap {
  border-radius: var(--alina-card-radius, 12px);
}
.cc_5c3k0asr_oMOKZjh1uV .rail--editorial .rail-card__body {
  padding: 12px 4px 4px;
}
.cc_5c3k0asr_oMOKZjh1uV .rail--centered .rail-card__body {
  align-items: center;
  text-align: center;
}
.cc_5c3k0asr_oMOKZjh1uV .rail-card__index {
  display: none;
  color: var(--pyfcKc2Lm6);
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.08em;
}
.cc_5c3k0asr_oMOKZjh1uV .rail-card__name-link {
  text-decoration: none;
}
.cc_5c3k0asr_oMOKZjh1uV .rail-card__name {
  margin: 0;
  color: var(--042ULgokKi);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 2.9em;
}
.cc_5c3k0asr_oMOKZjh1uV .rail-card__name-link:hover .rail-card__name {
  color: var(--gK5UAqGu10);
}
.cc_5c3k0asr_oMOKZjh1uV .rail-card__price {
  display: flex;
  align-items: baseline;
  gap: 8px;
  flex-wrap: wrap;
}
.cc_5c3k0asr_oMOKZjh1uV .rail-card__price-current {
  color: var(--042ULgokKi);
}
.cc_5c3k0asr_oMOKZjh1uV .rail-card__price-old {
  color: var(--kObXNvvaqD);
  text-decoration: line-through;
}
.cc_5c3k0asr_oMOKZjh1uV .rail-card__cta {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  border: none;
  border-radius: 100px;
  background: var(--r3FmRgkcJa, var(--gK5UAqGu10));
  color: var(--jnbJz0SvYc, var(--w6I1Srb2I9));
  letter-spacing: 0.03em;
  cursor: pointer;
  transition: background-color 160ms ease;
}
.cc_5c3k0asr_oMOKZjh1uV .rail-card__cta:hover:not(:disabled) {
  background: var(--mQlRx3C7Gl, var(--dlLfQc9Oy2));
}
.cc_5c3k0asr_oMOKZjh1uV .rail-card__cta--added {
  background: var(--r3FmRgkcJa, var(--gbQdXetXJq));
}
.cc_5c3k0asr_oMOKZjh1uV .rail-card__cta--added:hover {
  background: var(--gbQdXetXJq);
}
.cc_5c3k0asr_oMOKZjh1uV .rail-card__cta--disabled {
  background: var(--r3FmRgkcJa, var(--pyfcKc2Lm6));
  color: var(--jnbJz0SvYc, var(--w6I1Srb2I9));
  cursor: not-allowed;
}
.cc_5c3k0asr_oMOKZjh1uV .rail-card__cta:focus-visible {
  outline: 2px solid var(--gK5UAqGu10);
  outline-offset: 2px;
}

/* ===== Mobile / tablet ===== */
@media (max-width: 767px) {
  .cc_5c3k0asr_oMOKZjh1uV .rail__inner {
    padding: 32px 16px;
    gap: 16px;
  }
  .cc_5c3k0asr_oMOKZjh1uV .rail__arrow {
    width: 36px;
    height: 36px;
  }
  .cc_5c3k0asr_oMOKZjh1uV .rail__arrow svg {
    width: 16px;
    height: 16px;
  }
  .cc_5c3k0asr_oMOKZjh1uV .rail--centered .rail__arrow--prev {
    left: 2px;
  }
  .cc_5c3k0asr_oMOKZjh1uV .rail--centered .rail__arrow--next {
    right: 2px;
  }
  .cc_5c3k0asr_oMOKZjh1uV .rail-card__body {
    padding: 12px 12px 14px;
    gap: 6px;
  }
  .cc_5c3k0asr_oMOKZjh1uV .rail--editorial .rail-card__body {
    padding: 10px 2px 2px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .cc_5c3k0asr_oMOKZjh1uV .rail__track {
    scroll-behavior: auto;
  }
  .cc_5c3k0asr_oMOKZjh1uV .rail-card, .cc_5c3k0asr_oMOKZjh1uV .rail-card:hover, .cc_5c3k0asr_oMOKZjh1uV .rail-card__media, .cc_5c3k0asr_oMOKZjh1uV .rail--editorial .rail-card__media, .cc_5c3k0asr_oMOKZjh1uV .rail-card__cta, .cc_5c3k0asr_oMOKZjh1uV .rail__arrow {
    transition: none;
    transform: none;
  }
  .cc_5c3k0asr_oMOKZjh1uV .rail--editorial .rail-card:hover .rail-card__media {
    transform: none;
  }
}
