.cc_8nqxgjaf_ayOYrc649R .product-slider {
  --ps-text: var(--ll-color-heading);

  box-sizing: border-box;
  width: 100%;
  background: var(--ll-color-bg-page);
}

/* Side image sits flush to the section edge. The card track lines up with the page container on its far side. */
.cc_8nqxgjaf_ayOYrc649R .ps-split {
  display: flex;
  align-items: stretch;
  width: 100%;
}

.cc_8nqxgjaf_ayOYrc649R .ps-split-body {
  flex: 1 1 auto;
  min-width: 0;
}

/* Far side: inset = space between the section edge and the page container (same math as InnerContainer).
   Image side: a fixed gap so the cards never touch the photo. */
.cc_8nqxgjaf_ayOYrc649R .ps-split--left .ps-split-body {
  padding-left: var(--ll-space-lg);
  padding-right: max(var(--ll-page-padding, 16px), calc((100% - var(--ps-w)) / 2 + var(--ll-page-padding, 16px)));
}

.cc_8nqxgjaf_ayOYrc649R .ps-split--right .ps-split-body {
  padding-left: max(var(--ll-page-padding, 16px), calc((100% - var(--ps-w)) / 2 + var(--ll-page-padding, 16px)));
  padding-right: var(--ll-space-lg);
}

.cc_8nqxgjaf_ayOYrc649R .ps-side {
  position: relative;
  flex: 0 0 40%;
  margin: 0;
  overflow: hidden;
  background: var(--ll-color-bg-page);
}

.cc_8nqxgjaf_ayOYrc649R .ps-side-link {
  display: block;
  position: absolute;
  inset: 0;
}

.cc_8nqxgjaf_ayOYrc649R .ps-side-img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cc_8nqxgjaf_ayOYrc649R .ps-side-link:focus-visible {
  outline: 2px solid var(--ll-color-accent);
  outline-offset: -2px;
}

@media (max-width: 768px) {
  .cc_8nqxgjaf_ayOYrc649R .ps-split {
    flex-direction: column;
  }

  /* Stacked: the track uses the same side gutter as the header. */
  .cc_8nqxgjaf_ayOYrc649R .ps-split .ps-split-body {
    padding-inline: var(--ll-page-padding, 16px);
  }

  .cc_8nqxgjaf_ayOYrc649R .ps-side {
    flex: none;
    width: 100%;
    aspect-ratio: 4 / 5;
  }
}

.cc_8nqxgjaf_ayOYrc649R .ps-header {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: var(--ll-space-md);
  margin-bottom: var(--ll-space-xl);
}

.cc_8nqxgjaf_ayOYrc649R .ps-titles {
  display: flex;
  flex-direction: column;
  gap: var(--ll-space-sm);
  min-width: 0;
}

.cc_8nqxgjaf_ayOYrc649R .ps-heading {
  margin: 0;
  color: var(--ps-text);
}

.cc_8nqxgjaf_ayOYrc649R .ps-subheading {
  margin: 0;
  color: var(--ll-color-text-secondary);
}

/* Faint resting underline; on hover a solid line draws over it from the left. */
.cc_8nqxgjaf_ayOYrc649R .ps-view-all {
  position: relative;
  padding-bottom: 4px;
  border-bottom: var(--ll-border-width) solid color-mix(in srgb, currentColor 40%, transparent);
  color: var(--ps-text);
  text-decoration: none;
  white-space: nowrap;
}

.cc_8nqxgjaf_ayOYrc649R .ps-view-all::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: calc(var(--ll-border-width) * -1);
  left: 0;
  height: var(--ll-border-width);
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 500ms cubic-bezier(0.65, 0, 0.35, 1);
}

.cc_8nqxgjaf_ayOYrc649R .ps-view-all:hover::after, .cc_8nqxgjaf_ayOYrc649R .ps-view-all:focus-visible::after {
  transform: scaleX(1);
}

.cc_8nqxgjaf_ayOYrc649R .ps-view-all:focus-visible {
  outline: 2px solid var(--ll-color-accent);
  outline-offset: 4px;
}

.cc_8nqxgjaf_ayOYrc649R .ps-viewport {
  position: relative;
}

.cc_8nqxgjaf_ayOYrc649R .ps-track {
  display: flex;
  align-items: stretch;
  gap: var(--ps-gap);
  margin: 0;
  padding: 0;
  overflow-x: auto;
  /* overflow-x: auto alone makes y auto too: a few px of hover overflow would let the track swallow vertical wheel scrolling. */
  overflow-y: hidden;
  overscroll-behavior-x: contain;
  list-style: none;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}

.cc_8nqxgjaf_ayOYrc649R .ps-track::-webkit-scrollbar {
  display: none;
}

/* Flex column so the card fills the stretched slide and its add button lands on the same line in every card. */
.cc_8nqxgjaf_ayOYrc649R .ps-slide {
  display: flex;
  flex-direction: column;
  flex: 0 0 calc((100% - (var(--ps-cols) - 1) * var(--ps-gap)) / var(--ps-cols));
  min-width: 0;
  scroll-snap-align: start;
}

@media (max-width: 1024px) {
  .cc_8nqxgjaf_ayOYrc649R .ps-slide {
    flex-basis: calc((100% - (var(--ps-cols-tablet) - 1) * var(--ps-gap)) / var(--ps-cols-tablet));
  }
}

/* Mobile: exactly "Mobil Sütun Sayısı" cards fit the row; swiping brings in the rest. */
@media (max-width: 768px) {
  .cc_8nqxgjaf_ayOYrc649R .ps-slide {
    flex-basis: calc((100% - (var(--ps-cols-mobile) - 1) * var(--ps-gap)) / var(--ps-cols-mobile));
  }
}

.cc_8nqxgjaf_ayOYrc649R .ps-actions {
  display: flex;
  align-items: center;
  gap: var(--ll-space-lg);
}

.cc_8nqxgjaf_ayOYrc649R .ps-footer {
  display: flex;
  justify-content: center;
  margin-top: var(--ll-space-lg);
}

.cc_8nqxgjaf_ayOYrc649R .ps-nav {
  display: none;
  align-items: center;
  gap: var(--ll-space-sm);
}

/* Soft track with an accent thumb that glides with a gentle ease. */
.cc_8nqxgjaf_ayOYrc649R .ps-progress {
  position: relative;
  width: 64px;
  height: 2px;
  background: color-mix(in srgb, var(--ps-text) 12%, transparent);
}

.cc_8nqxgjaf_ayOYrc649R .ps-progress-thumb {
  position: absolute;
  top: 0;
  left: 0;
  width: var(--ps-thumb-size, 100%);
  height: 100%;
  min-width: 16px;
  background: var(--ll-color-accent);
  box-shadow: 0 0 6px color-mix(in srgb, var(--ll-color-accent) 55%, transparent);
  transform: translateX(var(--ps-thumb-shift, 0%));
  will-change: transform;
  /* Short ease so the thumb trails the scroll smoothly instead of snapping per event. */
  transition: transform 0.18s cubic-bezier(0.25, 1, 0.5, 1), width 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}

.cc_8nqxgjaf_ayOYrc649R .ps-arrow {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: var(--ps-text);
  cursor: pointer;
  transition: color var(--ll-transition-base), opacity var(--ll-transition-base);
}

/* Diamond behind the caret, echoing the swatch stones on the cards. */
.cc_8nqxgjaf_ayOYrc649R .ps-arrow::before {
  content: "";
  position: absolute;
  width: 26px;
  height: 26px;
  border: var(--ll-border-width) solid currentColor;
  transform: rotate(45deg) scale(0.6);
  opacity: 0;
  transition: transform var(--ll-transition-base), opacity var(--ll-transition-base);
}

.cc_8nqxgjaf_ayOYrc649R .ps-arrow svg {
  position: relative;
}

.cc_8nqxgjaf_ayOYrc649R .ps-arrow:hover:not(:disabled)::before {
  transform: rotate(45deg) scale(1);
  opacity: 1;
}

.cc_8nqxgjaf_ayOYrc649R .ps-arrow:hover:not(:disabled) {
  color: var(--ll-color-accent-text);
}

.cc_8nqxgjaf_ayOYrc649R .ps-arrow:focus-visible {
  outline: 2px solid var(--ll-color-accent);
  outline-offset: 2px;
}

.cc_8nqxgjaf_ayOYrc649R .ps-arrow:disabled {
  opacity: 0.25;
  cursor: default;
}

/* Arrows are for mouse users; touch screens swipe. */
@media (hover: hover) and (pointer: fine) {
  .cc_8nqxgjaf_ayOYrc649R .ps-nav {
    display: inline-flex;
  }
}

/* Grid layout: cards stack in rows of the column count; no track scrolling. */
.cc_8nqxgjaf_ayOYrc649R .ps-track--grid {
  display: grid;
  grid-template-columns: repeat(var(--ps-cols), minmax(0, 1fr));
  gap: var(--ps-gap);
  overflow: visible;
  scroll-snap-type: none;
}

.cc_8nqxgjaf_ayOYrc649R .ps-track--grid .ps-slide {
  flex: none;
  width: auto;
  scroll-snap-align: none;
}

@media (max-width: 1024px) {
  .cc_8nqxgjaf_ayOYrc649R .ps-track--grid {
    grid-template-columns: repeat(var(--ps-cols-tablet), minmax(0, 1fr));
  }
}

@media (max-width: 768px) {
  .cc_8nqxgjaf_ayOYrc649R .ps-track--grid {
    grid-template-columns: repeat(var(--ps-cols-mobile), minmax(0, 1fr));
  }
}

/* Grid + side image: the image stays pinned while the card rows scroll past it. */
.cc_8nqxgjaf_ayOYrc649R .ps-split--grid .ps-side {
  position: sticky;
  top: 24px;
  align-self: flex-start;
  height: calc(100vh - 48px);
}

@media (max-width: 768px) {
  .cc_8nqxgjaf_ayOYrc649R .ps-split--grid .ps-side {
    position: relative;
    top: auto;
    align-self: auto;
    height: auto;
  }
}

@media (prefers-reduced-motion: reduce) {
  .cc_8nqxgjaf_ayOYrc649R .ps-arrow, .cc_8nqxgjaf_ayOYrc649R .ps-arrow::before, .cc_8nqxgjaf_ayOYrc649R .ps-progress-thumb, .cc_8nqxgjaf_ayOYrc649R .ps-view-all::after {
    transition: none;
  }
}

/* Mobile: one big card with the next one peeking, tighter header, progress bar only. */
@media (max-width: 768px) {
  .cc_8nqxgjaf_ayOYrc649R .ps-header {
    flex-direction: column;
    align-items: flex-start;
    gap: var(--ll-space-sm);
    margin-bottom: var(--ll-space-lg);
  }

  .cc_8nqxgjaf_ayOYrc649R .ps-titles {
    gap: var(--ll-space-xs);
  }

  .cc_8nqxgjaf_ayOYrc649R .ps-heading {
    font-size: 28px;
    line-height: 1.15;
  }

  .cc_8nqxgjaf_ayOYrc649R .ps-subheading {
    font-size: 15px;
    line-height: 1.4;
  }

  /* Progress bar under the cards, full width and flush with the content edges. Arrows are dropped; touch users swipe. */
  .cc_8nqxgjaf_ayOYrc649R .ps-actions {
    width: 100%;
    flex-direction: column;
    align-items: flex-start;
    gap: var(--ll-space-md);
  }

  .cc_8nqxgjaf_ayOYrc649R .ps-nav {
    display: flex;
    flex: 1 1 auto;
    min-width: 0;
  }

  .cc_8nqxgjaf_ayOYrc649R .ps-arrow {
    display: none;
  }

  .cc_8nqxgjaf_ayOYrc649R .ps-progress {
    flex: 1 1 auto;
    width: auto;
  }

  /* Cards bleed off the right edge so the row reads as swipeable. */
  .cc_8nqxgjaf_ayOYrc649R .ps-track:not(.ps-track--grid) {
    margin-right: calc(var(--ll-page-padding, 16px) * -1);
    padding-right: var(--ll-page-padding, 16px);
    scroll-padding-left: 0;
  }
}

/* Mobile: the grid layout turns into the same swipeable row, and a stacked side image gets breathing room. */
@media (max-width: 768px) {
  .cc_8nqxgjaf_ayOYrc649R .ps-split {
    gap: var(--ll-space-lg);
  }

  .cc_8nqxgjaf_ayOYrc649R .ps-track--grid {
    display: flex;
    margin-right: calc(var(--ll-page-padding, 16px) * -1);
    padding-right: var(--ll-page-padding, 16px);
    overflow-x: auto;
    overflow-y: hidden;
    overscroll-behavior-x: contain;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
  }

  .cc_8nqxgjaf_ayOYrc649R .ps-track--grid::-webkit-scrollbar {
    display: none;
  }

  .cc_8nqxgjaf_ayOYrc649R .ps-track--grid .ps-slide {
    flex-basis: calc((100% - (var(--ps-cols-mobile) - 1) * var(--ps-gap)) / var(--ps-cols-mobile));
    scroll-snap-align: start;
  }
}
