
/* Büyütme katmanı (Lightbox): tam ekran krem zemin, üstte sayaç + büyüt + kapat. Ürün galerisi ve yorum fotoğrafları ortak kullanır. */
.cc_w78ihcdu_tkFeT2aezr .m-lbox__panel, .cc_w78ihcdu_DTX6A47mFg .m-lbox__panel {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  background: var(--m-bg);
  color: var(--m-text);
}

.cc_w78ihcdu_tkFeT2aezr .m-lbox__bar, .cc_w78ihcdu_DTX6A47mFg .m-lbox__bar {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: calc(8px + env(safe-area-inset-top, 0px)) 12px 8px 20px;
}

.cc_w78ihcdu_tkFeT2aezr .m-lbox__count, .cc_w78ihcdu_DTX6A47mFg .m-lbox__count {
  flex: 1;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: var(--m-tracking-caps);
  color: var(--m-text-muted);
  font-variant-numeric: tabular-nums;
}

.cc_w78ihcdu_tkFeT2aezr .m-lbox__btn, .cc_w78ihcdu_DTX6A47mFg .m-lbox__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  border-radius: var(--m-radius-sm);
  background: transparent;
  color: var(--m-text);
  font-size: 20px;
  cursor: pointer;
  transition: background-color var(--m-dur-fast) var(--m-ease);
}

.cc_w78ihcdu_tkFeT2aezr .m-lbox__btn:hover, .cc_w78ihcdu_DTX6A47mFg .m-lbox__btn:hover {
  background: var(--m-surface);
}

.cc_w78ihcdu_tkFeT2aezr .m-lbox__btn:focus-visible, .cc_w78ihcdu_DTX6A47mFg .m-lbox__btn:focus-visible, .cc_w78ihcdu_tkFeT2aezr .m-lbox__nav:focus-visible, .cc_w78ihcdu_DTX6A47mFg .m-lbox__nav:focus-visible {
  outline: none;
  box-shadow: var(--m-ring);
}

.cc_w78ihcdu_tkFeT2aezr .m-lbox__track, .cc_w78ihcdu_DTX6A47mFg .m-lbox__track {
  display: flex;
  flex: 1;
  min-height: 0;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  overscroll-behavior: contain;
  /* Dikey jest katmana kalır (aşağı kaydırıp kapatma), yatay jest görsel değiştirir */
  touch-action: pan-x;
}

.cc_w78ihcdu_tkFeT2aezr .m-lbox__track::-webkit-scrollbar, .cc_w78ihcdu_DTX6A47mFg .m-lbox__track::-webkit-scrollbar {
  display: none;
}

.cc_w78ihcdu_tkFeT2aezr .m-lbox__track--zoomed, .cc_w78ihcdu_DTX6A47mFg .m-lbox__track--zoomed {
  overflow: hidden;
  touch-action: auto;
}

.cc_w78ihcdu_tkFeT2aezr .m-lbox__slide, .cc_w78ihcdu_DTX6A47mFg .m-lbox__slide {
  display: flex;
  flex: 0 0 100%;
  width: 100%;
  height: 100%;
  padding-bottom: env(safe-area-inset-bottom, 0px);
  box-sizing: border-box;
  scroll-snap-align: start;
  scroll-snap-stop: always;
  cursor: zoom-in;
}

.cc_w78ihcdu_tkFeT2aezr .m-lbox__img, .cc_w78ihcdu_DTX6A47mFg .m-lbox__img {
  display: block;
  width: 100%;
  height: 100%;
  margin: auto;
  object-fit: contain;
  user-select: none;
  -webkit-user-drag: none;
}

/* Yakınlaşmış slayt: kendi içinde iki yönde kayar; görsel ortalanır (margin:auto taşmada kırpmaz) */
.cc_w78ihcdu_tkFeT2aezr .m-lbox__slide--zoomed, .cc_w78ihcdu_DTX6A47mFg .m-lbox__slide--zoomed {
  overflow: auto;
  overscroll-behavior: contain;
  touch-action: pan-x pan-y;
  scrollbar-width: none;
  cursor: zoom-out;
}

.cc_w78ihcdu_tkFeT2aezr .m-lbox__slide--zoomed::-webkit-scrollbar, .cc_w78ihcdu_DTX6A47mFg .m-lbox__slide--zoomed::-webkit-scrollbar {
  display: none;
}

.cc_w78ihcdu_tkFeT2aezr .m-lbox__slide--zoomed .m-lbox__img, .cc_w78ihcdu_DTX6A47mFg .m-lbox__slide--zoomed .m-lbox__img {
  flex: none;
  height: auto;
  max-width: none;
  object-fit: fill;
}

/* Oklar: yalnız fareli cihazlarda */
.cc_w78ihcdu_tkFeT2aezr .m-lbox__nav, .cc_w78ihcdu_DTX6A47mFg .m-lbox__nav {
  position: absolute;
  top: 50%;
  z-index: 2;
  display: none;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  padding: 0;
  border: 1px solid var(--m-border);
  border-radius: var(--m-radius-full);
  background: color-mix(in srgb, var(--m-bg) 92%, transparent);
  color: var(--m-text);
  font-size: 20px;
  cursor: pointer;
  transform: translateY(-50%);
  transition: background-color var(--m-dur-fast) var(--m-ease), color var(--m-dur-fast) var(--m-ease), opacity var(--m-dur-fast) var(--m-ease);
}

.cc_w78ihcdu_tkFeT2aezr .m-lbox__nav:hover:not(:disabled), .cc_w78ihcdu_DTX6A47mFg .m-lbox__nav:hover:not(:disabled) {
  background: var(--m-btn-bg);
  border-color: var(--m-btn-bg);
  color: var(--m-btn-text);
}

.cc_w78ihcdu_tkFeT2aezr .m-lbox__nav:disabled, .cc_w78ihcdu_DTX6A47mFg .m-lbox__nav:disabled {
  opacity: 0.3;
  cursor: default;
}

.cc_w78ihcdu_tkFeT2aezr .m-lbox__nav--prev, .cc_w78ihcdu_DTX6A47mFg .m-lbox__nav--prev {
  left: 20px;
}

.cc_w78ihcdu_tkFeT2aezr .m-lbox__nav--next, .cc_w78ihcdu_DTX6A47mFg .m-lbox__nav--next {
  right: 20px;
}

@media (hover: hover) and (pointer: fine) {
  .cc_w78ihcdu_tkFeT2aezr .m-lbox__nav, .cc_w78ihcdu_DTX6A47mFg .m-lbox__nav {
    display: inline-flex;
  }
}

@media (prefers-reduced-motion: reduce) {
  .cc_w78ihcdu_tkFeT2aezr .m-lbox__btn, .cc_w78ihcdu_DTX6A47mFg .m-lbox__btn, .cc_w78ihcdu_tkFeT2aezr .m-lbox__nav, .cc_w78ihcdu_DTX6A47mFg .m-lbox__nav {
    transition: none;
  }
}
