/*
 * Column counts, gap, content width and image ratio are set as CSS variables on the section (see index.tsx).
 * Breakpoints: tablet = 1024px 1024px, mobile = 768px 768px.
 *
 * The track is full-bleed. The product after the last visible one peeks in from the viewport edge,
 * and the first product lines up with the inner container.
 */
.cc_tdlWY71OQD_TR9nmmnf2T .product-slider {
  --ps-cols: var(--ps-cols-desktop, 4);
  --ps-inline: min(var(--ps-width, 1440px), 100vw - 2 * var(--ta-page-padding));
  box-sizing: border-box;
  width: 100%;
  overflow-x: clip;
}

/* Header: optional drawing or image on the left, then the title, with the actions pushed to the right. */
.cc_tdlWY71OQD_TR9nmmnf2T .product-slider-header {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--ta-space-md) var(--ta-space-lg);
  margin-bottom: var(--ta-space-lg);
}

.cc_tdlWY71OQD_TR9nmmnf2T .product-slider-heading {
  display: flex;
  align-items: center;
  gap: var(--ta-space-md);
  min-width: 0;
}

.cc_tdlWY71OQD_TR9nmmnf2T .product-slider-rule {
  flex: 1 1 0;
  min-width: 24px;
  height: 1px;
  border-radius: 999px;
  /* Soft grey hairline that fades out toward the arrows. */
  background: linear-gradient(90deg, var(--ta-color-border-default) 0%, var(--ta-color-border-default) 55%, transparent 100%);
}

.cc_tdlWY71OQD_TR9nmmnf2T .product-slider-heading-text {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
}

.cc_tdlWY71OQD_TR9nmmnf2T .product-slider-subtitle {
  margin: 0;
  color: color-mix(in srgb, currentColor 62%, transparent);
}

.cc_tdlWY71OQD_TR9nmmnf2T .product-slider-heading-image {
  flex: none;
  width: auto;
  height: var(--ps-heading-icon, 64px);
  max-width: calc(var(--ps-heading-icon, 64px) * 2);
  object-fit: contain;
}

.cc_tdlWY71OQD_TR9nmmnf2T .product-slider-title {
  margin: 0;
  color: inherit;
}

.cc_tdlWY71OQD_TR9nmmnf2T .product-slider-actions {
  display: flex;
  align-items: center;
  gap: var(--ta-space-md);
  margin-left: auto;
  flex: none;
}

/* Quiet text link: no box, so it doesn't compete with the round arrows next to it. */
.cc_tdlWY71OQD_TR9nmmnf2T .product-slider-more {
  display: inline-flex;
  align-items: center;
  color: inherit;
  text-decoration: none;
  white-space: nowrap;
}

.cc_tdlWY71OQD_TR9nmmnf2T .product-slider-more-label {
  padding-bottom: 2px;
  background: linear-gradient(currentColor, currentColor) 0 100% / 100% 1px no-repeat;
  transition: background-size 0.4s ease;
}

.cc_tdlWY71OQD_TR9nmmnf2T .product-slider-more:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 4px;
}

@media (hover: hover) and (min-width: 1025px) {
  .cc_tdlWY71OQD_TR9nmmnf2T .product-slider-more:hover .product-slider-more-label {
    background-size: 0 1px;
    background-position: 100% 100%;
  }
}

/* Layout comes from SliderArrows itself; a display here would beat its mobile display:none depending on bundle order. */
.cc_tdlWY71OQD_TR9nmmnf2T .product-slider-arrows {
  align-items: center;
}

.cc_tdlWY71OQD_TR9nmmnf2T .product-slider-track {
  width: 100vw;
  margin-left: calc(50% - 50vw);
  padding-inline: max(var(--ta-page-padding), calc((100vw - var(--ps-width)) / 2));
  /* Room for the card plate's hover lift and shadow, which the scrolling track would otherwise clip. */
  padding-block: 8px 44px;
  margin-block: -8px -44px;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: max(var(--ta-page-padding), calc((100vw - var(--ps-width)) / 2));
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}

.cc_tdlWY71OQD_TR9nmmnf2T .product-slider-track::-webkit-scrollbar {
  display: none;
}

.cc_tdlWY71OQD_TR9nmmnf2T .product-slider-track:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 4px;
}

.cc_tdlWY71OQD_TR9nmmnf2T .product-slider-list {
  display: flex;
  /* max-content: the list box spans all cards, so the track's end padding counts in the scroll width. */
  width: max-content;
  gap: var(--ps-gap, 16px);
  margin: 0;
  padding: 0;
  list-style: none;
}

.cc_tdlWY71OQD_TR9nmmnf2T .product-slider-item {
  flex: 0 0 calc((var(--ps-inline) - var(--ps-gap, 16px) * (var(--ps-cols) - 1)) / var(--ps-cols));
  min-width: 0;
  scroll-snap-align: start;
}

.cc_tdlWY71OQD_TR9nmmnf2T .product-slider-empty {
  margin: 0;
  color: inherit;
}

/* Progress: a tiny moon travels along a faint hairline; its phase follows the scroll.
   --ps-phase (0 to 1) is written on every scroll frame in index.tsx, so there are no transitions here:
   the moon stays locked to the finger instead of chasing it. */
.cc_tdlWY71OQD_TR9nmmnf2T .product-slider-progress {
  position: relative;
  height: 14px;
  margin-top: var(--ta-space-xl);
}

.cc_tdlWY71OQD_TR9nmmnf2T .product-slider-progress::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  height: 1px;
  background-color: color-mix(in srgb, currentColor 16%, transparent);
}

.cc_tdlWY71OQD_TR9nmmnf2T .product-slider-moon {
  position: absolute;
  top: 0;
  left: calc((100% - 14px) * var(--ps-phase, 0));
  display: block;
  will-change: left;
}

.cc_tdlWY71OQD_TR9nmmnf2T .product-slider-moon-disc {
  fill: color-mix(in srgb, currentColor 14%, transparent);
}

@media (max-width: 1024px) {
  .cc_tdlWY71OQD_TR9nmmnf2T .product-slider {
    --ps-cols: var(--ps-cols-tablet, 3);
  }
}

@media (max-width: 768px) {
  .cc_tdlWY71OQD_TR9nmmnf2T .product-slider {
    --ps-cols: var(--ps-cols-mobile, 2);
  }

  /*
   * Icon on the left, then title, subtitle and "Tümünü gör" stacked in one text column, so the link lines up with the title.
   * display: contents lifts the heading wrappers' children into the header grid.
   */
  .cc_tdlWY71OQD_TR9nmmnf2T .product-slider-header {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    column-gap: 0;
    row-gap: 0;
    align-items: start;
  }

  .cc_tdlWY71OQD_TR9nmmnf2T .product-slider-heading, .cc_tdlWY71OQD_TR9nmmnf2T .product-slider-heading-text {
    display: contents;
  }

  .cc_tdlWY71OQD_TR9nmmnf2T .product-slider-heading-image {
    grid-column: 1;
    grid-row: 1 / span 3;
    align-self: center;
    margin-right: var(--ta-space-md);
  }

  .cc_tdlWY71OQD_TR9nmmnf2T .product-slider-title, .cc_tdlWY71OQD_TR9nmmnf2T .product-slider-subtitle, .cc_tdlWY71OQD_TR9nmmnf2T .product-slider-actions {
    grid-column: 2;
  }

  .cc_tdlWY71OQD_TR9nmmnf2T .product-slider-subtitle {
    margin-top: 6px;
  }

  .cc_tdlWY71OQD_TR9nmmnf2T .product-slider-actions {
    margin: var(--ta-space-sm) 0 0;
  }
}

/*
 * Feature mode (showFeature): left column is a sticky image panel, right column is a 2-column product grid.
 * --ps-sticky-top is the gap above the panel while the page scrolls; added on top of the live header height (--ta-header-offset).
 */
.cc_tdlWY71OQD_TR9nmmnf2T .product-slider-split {
  --ps-sticky-top: calc(var(--ta-header-offset, 0px) + 24px);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: start;
  gap: var(--ps-gap, 16px);
}

.cc_tdlWY71OQD_TR9nmmnf2T .product-slider-split--solo {
  grid-template-columns: minmax(0, 1fr);
}

.cc_tdlWY71OQD_TR9nmmnf2T .product-slider-feature {
  position: sticky;
  top: var(--ps-sticky-top);
  align-self: start;
}

.cc_tdlWY71OQD_TR9nmmnf2T .product-slider-feature-sticky {
  position: relative;
  height: min(calc(100vh - var(--ps-sticky-top) - 24px), 760px);
  min-height: 480px;
  overflow: hidden;
  border-radius: var(--ta-radius-md, 0);
  background-color: var(--ta-color-bg-soft);
}

.cc_tdlWY71OQD_TR9nmmnf2T .product-slider-feature-image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cc_tdlWY71OQD_TR9nmmnf2T .product-slider-feature-sticky::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, color-mix(in srgb, var(--ta-color-bg-dark) 55%, transparent), transparent 60%);
  pointer-events: none;
}

.cc_tdlWY71OQD_TR9nmmnf2T .product-slider-feature-content {
  position: absolute;
  inset: auto 0 var(--ta-space-xl) 0;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--ta-space-sm);
  padding-inline: var(--ta-space-md);
  text-align: center;
  color: var(--ta-color-text-inverse);
}

.cc_tdlWY71OQD_TR9nmmnf2T .product-slider-feature-eyebrow, .cc_tdlWY71OQD_TR9nmmnf2T .product-slider-feature-title {
  margin: 0;
  color: inherit;
}

.cc_tdlWY71OQD_TR9nmmnf2T .product-slider-feature-button {
  margin-top: var(--ta-space-sm);
  color: var(--ta-color-text-strong);
  text-decoration: none;
}

.cc_tdlWY71OQD_TR9nmmnf2T .product-slider-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--ps-gap, 16px);
  margin: 0;
  padding: 0;
  list-style: none;
}

.cc_tdlWY71OQD_TR9nmmnf2T .product-slider-split--solo .product-slider-grid {
  grid-template-columns: repeat(var(--ps-cols-desktop, 4), minmax(0, 1fr));
}

.cc_tdlWY71OQD_TR9nmmnf2T .product-slider-grid .product-slider-item {
  flex: none;
  width: auto;
}

@media (max-width: 1024px) {
  .cc_tdlWY71OQD_TR9nmmnf2T .product-slider-split--solo .product-slider-grid {
    grid-template-columns: repeat(var(--ps-cols-tablet, 3), minmax(0, 1fr));
  }
}

@media (max-width: 768px) {
  .cc_tdlWY71OQD_TR9nmmnf2T .product-slider-split, .cc_tdlWY71OQD_TR9nmmnf2T .product-slider-split--solo {
    grid-template-columns: minmax(0, 1fr);
  }

  .cc_tdlWY71OQD_TR9nmmnf2T .product-slider-feature {
    position: static;
  }

  .cc_tdlWY71OQD_TR9nmmnf2T .product-slider-feature-sticky {
    height: 420px;
    min-height: 0;
  }

  .cc_tdlWY71OQD_TR9nmmnf2T .product-slider-split--solo .product-slider-grid {
    grid-template-columns: repeat(var(--ps-cols-mobile, 2), minmax(0, 1fr));
  }

  /* Mobile slider: the grid becomes a snap strip; the next card peeks by a quarter so it reads as scrollable. */
  .cc_tdlWY71OQD_TR9nmmnf2T .product-slider-split--m-slider .product-slider-grid {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
    /* Room for the card plate's hover lift, which the scrolling strip would otherwise clip. */
    padding-block: 8px 12px;
    margin-block: -8px -12px;
  }

  .cc_tdlWY71OQD_TR9nmmnf2T .product-slider-split--m-slider .product-slider-grid::-webkit-scrollbar {
    display: none;
  }

  .cc_tdlWY71OQD_TR9nmmnf2T .product-slider-split--m-slider .product-slider-grid .product-slider-item {
    flex: 0 0 calc((100% - var(--ps-gap, 16px) * var(--ps-cols-mobile, 2)) / (var(--ps-cols-mobile, 2) + 0.25));
    scroll-snap-align: start;
  }
}

/* Tipografi: boyut ve kalınlık Tipografi props'larından gelir (section kökü --ta-* değişkenlerini verir). */
.cc_tdlWY71OQD_TR9nmmnf2T .product-slider-title {
  font-size: var(--ta-title-font-size);
  font-weight: var(--ta-title-font-weight);
}

@media (max-width: 768px) {
  .cc_tdlWY71OQD_TR9nmmnf2T .product-slider-rule {
    display: none;
  }

  .cc_tdlWY71OQD_TR9nmmnf2T .product-slider-heading-image {
    height: min(var(--ps-heading-icon, 64px), 44px);
  }

  .cc_tdlWY71OQD_TR9nmmnf2T .product-slider-title {
    font-size: min(var(--ta-title-font-size), 24px);
  }
}

.cc_tdlWY71OQD_TR9nmmnf2T .product-slider-feature-title {
  font-size: var(--ta-title-font-size);
  font-weight: var(--ta-title-font-weight);
}

/* Label-style scrollbar: the name tag rides 36px above the rail, so the rail sits lower to keep the tag clear of the cards. */
.cc_tdlWY71OQD_TR9nmmnf2T .product-slider .track-scrollbar.is-label {
  margin-top: 84px;
}

/* Tinted card background: each card in turn gets a pastel from the theme palette (warm earth, blue-grey, green). */
.cc_tdlWY71OQD_TR9nmmnf2T .product-slider-item:nth-child(3n + 1) .product-card[data-plate="tint"] {
  --pc-plate: color-mix(in srgb, var(--ta-color-accent-warm) 14%, var(--ta-color-bg-surface));
}

.cc_tdlWY71OQD_TR9nmmnf2T .product-slider-item:nth-child(3n + 2) .product-card[data-plate="tint"] {
  --pc-plate: color-mix(in srgb, var(--ta-color-bg-tint) 28%, var(--ta-color-bg-surface));
}

.cc_tdlWY71OQD_TR9nmmnf2T .product-slider-item:nth-child(3n) .product-card[data-plate="tint"] {
  --pc-plate: color-mix(in srgb, var(--ta-color-badge-member) 14%, var(--ta-color-bg-surface));
}
