/* ===== Product Slider (karaca.com "Günün Fırsat Ürünleri" referanslı) ===== */
.cc_P9TFLHKOgp_D1r2unQK1R .ps {
  position: relative;
  width: 100%;
  padding: 12px 0;
  font-family: var(--mu-font);
  color: var(--mu-black, #0d0d0d);
}

.cc_P9TFLHKOgp_D1r2unQK1R .ps-inner {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: var(--mu-container, 1440px);
  margin: 0 auto;
}

.cc_P9TFLHKOgp_D1r2unQK1R .ps--promo .ps-inner {
  padding: 12px 0;
  background: var(--mu-gray-50, #f8f8f8);
}

/* ---------- Promo: mobile title bar / desktop image panel ---------- */
.cc_P9TFLHKOgp_D1r2unQK1R .ps-promo {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 28px;
  padding: 0 12px;
}

.cc_P9TFLHKOgp_D1r2unQK1R .ps-title, .cc_P9TFLHKOgp_D1r2unQK1R .ps-heading {
  margin: 0;
  color: var(--mu-black, #0d0d0d);
  font-size: 16px;
  font-weight: 600;
  line-height: 24px;
}

.cc_P9TFLHKOgp_D1r2unQK1R .ps-heading {
  padding: 0 12px;
}

.cc_P9TFLHKOgp_D1r2unQK1R .ps-viewall {
  display: inline-flex;
  flex-shrink: 0;
  align-items: center;
  gap: 2px;
  color: var(--mu-ink, #383838);
  font-size: 14px;
  font-weight: 600;
  line-height: 17px;
  text-decoration: none;
}

.cc_P9TFLHKOgp_D1r2unQK1R .ps-viewall:hover {
  text-decoration: underline;
}

.cc_P9TFLHKOgp_D1r2unQK1R .ps-promo-media {
  display: none;
}

/* ---------- Rail ---------- */
.cc_P9TFLHKOgp_D1r2unQK1R .ps-rail {
  position: relative;
  min-width: 0;
}

.cc_P9TFLHKOgp_D1r2unQK1R .ps-track {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  padding: 0 12px;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-padding: 0 12px;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
  user-select: none;
}

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

.cc_P9TFLHKOgp_D1r2unQK1R .ps-track:focus-visible {
  outline: 2px solid var(--mu-ink, #383838);
  outline-offset: 2px;
}

.cc_P9TFLHKOgp_D1r2unQK1R .ps-track.is-dragging {
  cursor: grabbing;
}

.cc_P9TFLHKOgp_D1r2unQK1R .ps-track.is-dragging * {
  pointer-events: none;
}

.cc_P9TFLHKOgp_D1r2unQK1R .ps-slide {
  flex: 0 0 180px;
  min-width: 0;
}

.cc_P9TFLHKOgp_D1r2unQK1R .ps-arrows {
  display: none;
}

/* ---------- Desktop ---------- */
@media (min-width: 1024px) {
  .cc_P9TFLHKOgp_D1r2unQK1R .ps {
    padding: 24px 12px;
  }

  .cc_P9TFLHKOgp_D1r2unQK1R .ps-inner, .cc_P9TFLHKOgp_D1r2unQK1R .ps--promo .ps-inner {
    gap: 20px;
    padding: 0;
    background: transparent;
  }

  .cc_P9TFLHKOgp_D1r2unQK1R .ps--promo .ps-inner {
    display: grid;
    grid-template-columns: 330px minmax(0, 1fr);
    align-items: stretch;
  }

  .cc_P9TFLHKOgp_D1r2unQK1R .ps-promo {
    display: block;
    width: 330px;
    padding: 0;
  }

  /* Desktop shows the promo artwork; the text title stays for screen readers. */
  .cc_P9TFLHKOgp_D1r2unQK1R .ps--promo .ps-title {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
  }

  .cc_P9TFLHKOgp_D1r2unQK1R .ps-viewall {
    display: none;
  }

  .cc_P9TFLHKOgp_D1r2unQK1R .ps-promo-media {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    min-height: 411px;
    overflow: hidden;
    border-radius: 12px;
    background: #666666;
  }

  .cc_P9TFLHKOgp_D1r2unQK1R .ps-promo-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  .cc_P9TFLHKOgp_D1r2unQK1R .ps-promo-fallback {
    padding: 32px 24px;
    color: var(--mu-white, #ffffff);
    font-size: 30px;
    font-weight: 600;
    line-height: 36px;
    text-align: center;
  }

  .cc_P9TFLHKOgp_D1r2unQK1R .ps-heading {
    padding: 0;
    font-size: 20px;
    line-height: 28px;
  }

  .cc_P9TFLHKOgp_D1r2unQK1R .ps-track {
    gap: 20px;
    padding: 0;
    scroll-padding: 0;
    cursor: grab;
  }

  .cc_P9TFLHKOgp_D1r2unQK1R .ps-slide {
    flex-basis: 290px;
  }

  /* Next to the promo, 3.5 cards always fit: the 4th peeks in at any width (karaca) */
  .cc_P9TFLHKOgp_D1r2unQK1R .ps--promo .ps-slide {
    flex-basis: calc((100% - 3 * 20px) / 3.5);
  }

  .cc_P9TFLHKOgp_D1r2unQK1R .ps-arrows {
    position: absolute;
    inset: 50% 0 auto;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 32px;
    transform: translateY(-50%);
    opacity: 0;
    pointer-events: none;
    transition: opacity 200ms ease;
  }

  .cc_P9TFLHKOgp_D1r2unQK1R .ps-rail:hover .ps-arrows, .cc_P9TFLHKOgp_D1r2unQK1R .ps-rail:focus-within .ps-arrows {
    opacity: 1;
  }

  .cc_P9TFLHKOgp_D1r2unQK1R .ps-arrow {
    display: inline-flex;
    flex-shrink: 0;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    padding: 0;
    border: 0;
    border-radius: 9999px;
    background: rgba(13, 13, 13, 0.3);
    color: var(--mu-white, #ffffff);
    cursor: pointer;
    pointer-events: auto;
    transition: background-color 0.15s cubic-bezier(0.4, 0, 0.2, 1);
  }

  .cc_P9TFLHKOgp_D1r2unQK1R .ps-arrow:hover {
    background: rgba(13, 13, 13, 0.5);
  }

  .cc_P9TFLHKOgp_D1r2unQK1R .ps-arrow:disabled {
    cursor: not-allowed;
    opacity: 0.5;
  }

  .cc_P9TFLHKOgp_D1r2unQK1R .ps-arrow:disabled:hover {
    background: rgba(13, 13, 13, 0.3);
  }

  .cc_P9TFLHKOgp_D1r2unQK1R .ps-arrow:focus-visible {
    outline: 2px solid var(--mu-white, #ffffff);
    outline-offset: 2px;
    box-shadow: 0 0 0 4px var(--mu-black, #0d0d0d);
  }
}

@media (prefers-reduced-motion: reduce) {
  .cc_P9TFLHKOgp_D1r2unQK1R .ps-arrows, .cc_P9TFLHKOgp_D1r2unQK1R .ps-arrow {
    transition: none;
  }
}
