/* ═══ Yeni gelenler askısı — krom ray, tel askılar, sallanma ═══ */

.cc_teipep3a_KBYshAfd7b .rail {
  background: #ffffff;
  color: #111111;
  font-family: var(--ew-font-drip-body);
  overflow: hidden;
  overflow: clip;
}

.cc_teipep3a_KBYshAfd7b .rail__inner {
  max-width: 1400px;
  margin: 0 auto;
  padding: 2.5rem 0 2.75rem;
}

.cc_teipep3a_KBYshAfd7b .rail__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
  padding: 0 1.25rem;
  margin-bottom: 1.25rem;
}

.cc_teipep3a_KBYshAfd7b .rail__eyebrow {
  display: block;
  margin-bottom: 0.375rem;
  font-size: 0.625rem;
  letter-spacing: 0.24em;
  color: #8a8a8d;
}

.cc_teipep3a_KBYshAfd7b .rail__title {
  margin: 0;
  font-size: clamp(1.5rem, 6.5vw, 2.75rem);
  font-weight: 800;
  line-height: 0.95;
  letter-spacing: -0.02em;
  text-transform: uppercase;
}

.cc_teipep3a_KBYshAfd7b .rail__tools { display: flex; align-items: center; gap: 0.5rem; flex-shrink: 0; }

.cc_teipep3a_KBYshAfd7b .rail__arrow {
  display: none;
  width: 2.5rem;
  height: 2.5rem;
  border: 1px solid rgba(17, 17, 17, 0.2);
  border-radius: 999px;
  background: #ffffff;
  color: #111111;
  font: inherit;
  font-size: 1rem;
  cursor: pointer;
  transition: border-color 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.cc_teipep3a_KBYshAfd7b .rail__arrow:hover { background: #111111; border-color: #111111; color: #ffffff; }

.cc_teipep3a_KBYshAfd7b .rail__all {
  color: #111111;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-underline-offset: 0.25em;
}

/* ─── Ray ─── */
.cc_teipep3a_KBYshAfd7b .rail__stage { position: relative; }

.cc_teipep3a_KBYshAfd7b .rail__bar {
  position: absolute;
  top: 1.6rem;                            /* şeridin üst boşluğu kadar aşağıda: kancalar kırpılmaz */
  left: 0;
  right: 0;
  height: 0.3125rem;
  border-radius: 3px;
  background: linear-gradient(#f2f2f2 0%, #b9b9bd 35%, #6f6f75 70%, #3d3d42 100%);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.18);
  z-index: 0;
  pointer-events: none;
}

.cc_teipep3a_KBYshAfd7b .rail__track {
  --sw: 0deg;
  position: relative;                     /* z-index YOK: katman izole olmasın (karışım zemine ulaşsın);
                                             kancalar DOM sırası sayesinde rayın önünde */
  list-style: none;
  margin: 0;
  padding: 1.6rem 1.25rem 0.5rem;          /* üst boşluk: overflow-x kancanın üst yayını kesmesin */
  display: flex;
  gap: 0.25rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-padding-left: 1.25rem;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}

.cc_teipep3a_KBYshAfd7b .rail__track::-webkit-scrollbar { display: none; }

.cc_teipep3a_KBYshAfd7b .rail__item {
  flex: 0 0 46%;
  scroll-snap-align: start;
}

.cc_teipep3a_KBYshAfd7b .rail__piece {
  display: block;
  color: #111111;
  text-decoration: none;
  -webkit-tap-highlight-color: transparent;
  transform-origin: 50% 0.15rem;          /* kanca noktası */
  transform: rotate(calc(var(--sw, 0deg) * var(--k, 1)));
  will-change: transform;                 /* kesik görseller zeminsiz: karışım (multiply) gerekmez */
}

/* İniş: önce gizli, görününce askıya düşüp sönümlü sallanır */
.cc_teipep3a_KBYshAfd7b .rail:not(.is-in) .rail__piece { opacity: 0; }
.cc_teipep3a_KBYshAfd7b .rail.is-in .rail__piece {
  animation: cc_teipep3a_KBYshAfd7b_rail-drop 1.4s cubic-bezier(0.22, 1, 0.36, 1) both;
  animation-delay: calc(var(--i, 0) * 90ms);
}

@keyframes cc_teipep3a_KBYshAfd7b_rail-drop {
  0%   { opacity: 0; transform: translateY(-2.5rem) rotate(0deg); }
  22%  { opacity: 1; transform: translateY(0) rotate(7deg); }
  42%  { transform: rotate(-5deg); }
  60%  { transform: rotate(3deg); }
  76%  { transform: rotate(-1.5deg); }
  90%  { transform: rotate(0.6deg); }
  100% { opacity: 1; transform: rotate(0deg); }
}

/* ─── Tel askı (CSS çizimi): raya takılı kanca + kısa boyun teli.
   Omuz telleri gerçekte kıyafetin içinde kalır, o yüzden çizilmez. ─── */
.cc_teipep3a_KBYshAfd7b .rail__hanger {
  position: relative;
  z-index: 1;
  display: block;
  width: 1.25rem;
  height: 1.75rem;
  margin: 0 auto;
}

.cc_teipep3a_KBYshAfd7b .rail__hanger::before {                   /* kanca: rayın üstünden dolanan yay */
  content: "";
  position: absolute;
  top: -0.95rem;
  left: 50%;
  width: 1.05rem;
  height: 1.05rem;
  margin-left: -0.2rem;
  border: 2px solid #2b2b2f;
  border-bottom-color: transparent;
  border-left-color: transparent;
  border-radius: 50%;
  transform: rotate(-45deg);
}

.cc_teipep3a_KBYshAfd7b .rail__hanger::after {                    /* boyun teli */
  content: "";
  position: absolute;
  top: 0.35rem;
  left: 50%;
  width: 2px;
  height: 1.4rem;
  margin-left: -1px;
  background: linear-gradient(#2b2b2f, #55555b);
}

/* ─── Ürün: kesilmiş (zeminsiz, boşluğu kırpılmış) görsel; yakası tam tel ucunda ─── */
.cc_teipep3a_KBYshAfd7b .rail__garment {
  position: relative;
  display: block;
  margin-top: -0.3rem;                    /* tel ucu kıyafetin yakasına girer */
  aspect-ratio: 4 / 5;
  perspective: 900px;
}

.cc_teipep3a_KBYshAfd7b .rail__face {
  position: absolute;
  inset: 0;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  transition: transform 0.8s cubic-bezier(0.65, 0, 0.25, 1);
}

/* Asılma noktası (--nx) tam ortadaki tele denk gelecek şekilde kaydırılır */
.cc_teipep3a_KBYshAfd7b .rail__face img {
  position: absolute;
  top: 0;
  left: 50%;
  max-width: none;
  transform: translateX(calc(var(--nx, 0.5) * -100%));
  filter: drop-shadow(0 10px 14px rgba(0, 0, 0, 0.12));
}

/* Kesme beklenirken yer tutucu (en fazla 3 sn) */
.cc_teipep3a_KBYshAfd7b .rail__face.is-wait { background: none; }
.cc_teipep3a_KBYshAfd7b .rail__item:not(.is-ready) .rail__piece { visibility: hidden; }

/* Yedek: zemini düz olmayan fotoğraf → askıya klipsle tutturulmuş fotoğraf kartı */
.cc_teipep3a_KBYshAfd7b .rail__face.is-card { inset: 0.4rem 6% 0; border-radius: 4px; overflow: hidden; background: #f4f4f4; box-shadow: 0 10px 22px rgba(0, 0, 0, 0.12); }
.cc_teipep3a_KBYshAfd7b .rail__face.is-card img { position: static; width: 100%; height: 100%; object-fit: cover; transform: none; filter: none; }
.cc_teipep3a_KBYshAfd7b .rail__face.is-card::before {             /* klips */
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  z-index: 1;
  width: 1.5rem;
  height: 0.5rem;
  margin-left: -0.75rem;
  border-radius: 0 0 3px 3px;
  background: linear-gradient(#55555b, #2b2b2f);
}

.cc_teipep3a_KBYshAfd7b .rail__face--back { transform: rotateY(180deg); }

@media (hover: hover) {
  .cc_teipep3a_KBYshAfd7b .rail__piece.has-back:hover .rail__face--front { transform: rotateY(-180deg); }
  .cc_teipep3a_KBYshAfd7b .rail__piece.has-back:hover .rail__face--back { transform: rotateY(0deg); }
}

/* ─── RAF: yeni ayakkabılar (ve askıya uymayan yatay ürünler) ─── */
.cc_teipep3a_KBYshAfd7b .shelf { margin-top: 2.25rem; }

.cc_teipep3a_KBYshAfd7b .shelf__title {
  margin: 0 0 0.25rem;
  padding: 0 1.25rem;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.2em;
}

.cc_teipep3a_KBYshAfd7b .shelf__stage { position: relative; }

/* Raf tahtası: ürünlerin bastığı yüzey + ön kenar */
.cc_teipep3a_KBYshAfd7b .shelf__plank {
  position: absolute;
  left: 0;
  right: 0;
  top: calc(var(--shelf-h, 9.5rem) + 0.75rem);
  height: 0.875rem;
  background: linear-gradient(#f4f4f5 0%, #e3e3e6 45%, #c9c9ce 46%, #b5b5bb 100%);
  box-shadow: 0 10px 18px -8px rgba(0, 0, 0, 0.35);
  pointer-events: none;
}

.cc_teipep3a_KBYshAfd7b .shelf__track {
  list-style: none;
  margin: 0;
  padding: 0.75rem 1.25rem 0.5rem;
  display: flex;
  gap: 0.75rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-padding-left: 1.25rem;
  scrollbar-width: none;
}

.cc_teipep3a_KBYshAfd7b .shelf__track::-webkit-scrollbar { display: none; }

.cc_teipep3a_KBYshAfd7b .shelf__item { flex: 0 0 46%; scroll-snap-align: start; }
.cc_teipep3a_KBYshAfd7b .shelf__item:not(.is-ready) .shelf__piece { visibility: hidden; }

.cc_teipep3a_KBYshAfd7b .shelf__piece { display: block; color: #111111; text-decoration: none; -webkit-tap-highlight-color: transparent; }

.cc_teipep3a_KBYshAfd7b .shelf__spot { position: relative; display: block; height: var(--shelf-h, 9.5rem); }

/* Ayakkabı tabanı tam raf yüzeyine basar, ortalanır */
.cc_teipep3a_KBYshAfd7b .shelf__face { position: absolute; inset: 0; display: flex; align-items: flex-end; justify-content: center; }
.cc_teipep3a_KBYshAfd7b .shelf__face img { display: block; max-width: 100%; max-height: 95%; object-fit: contain; }
.cc_teipep3a_KBYshAfd7b .shelf__face.is-card { inset: 0.5rem 4% 0; border-radius: 4px; overflow: hidden; }
.cc_teipep3a_KBYshAfd7b .shelf__face.is-card img { width: 100%; height: 100%; max-height: none; object-fit: cover; }

.cc_teipep3a_KBYshAfd7b .shelf__spot::after {                      /* taban gölgesi */
  content: "";
  position: absolute;
  left: 14%;
  right: 14%;
  bottom: -0.3rem;
  height: 0.6rem;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(0, 0, 0, 0.28), rgba(0, 0, 0, 0));
}

.cc_teipep3a_KBYshAfd7b .shelf__piece .rail__meta { padding-top: 1.5rem; }

/* Rafa diziliş: sırayla kayarak gelir */
.cc_teipep3a_KBYshAfd7b .rail.is-in .shelf__item.is-ready .shelf__spot { animation: cc_teipep3a_KBYshAfd7b_shelf-in 0.9s cubic-bezier(0.22, 1, 0.36, 1) both; animation-delay: calc(0.3s + var(--i, 0) * 80ms); }
@keyframes cc_teipep3a_KBYshAfd7b_shelf-in { from { opacity: 0; transform: translateX(1.5rem); } to { opacity: 1; transform: none; } }

@media (hover: hover) {
  .cc_teipep3a_KBYshAfd7b .shelf__face img { transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1); transform-origin: 50% 100%; }
  .cc_teipep3a_KBYshAfd7b .shelf__piece:hover .shelf__face img { transform: translateY(-0.5rem) rotate(-4deg); }
}

@media (min-width: 768px) {
  .cc_teipep3a_KBYshAfd7b .shelf__item { flex-basis: 30%; }
  .cc_teipep3a_KBYshAfd7b .shelf__stage { --shelf-h: 11rem; }
}

@media (min-width: 1024px) {
  .cc_teipep3a_KBYshAfd7b .shelf { margin-top: 3.5rem; }
  .cc_teipep3a_KBYshAfd7b .shelf__title { padding: 0 2.5rem; }
  .cc_teipep3a_KBYshAfd7b .shelf__track { padding: 0.75rem 2.5rem 0.75rem; gap: 1.5rem; scroll-padding-left: 2.5rem; }
  .cc_teipep3a_KBYshAfd7b .shelf__item { flex-basis: calc((100% - 6rem) / 5); }
  .cc_teipep3a_KBYshAfd7b .shelf__stage { --shelf-h: 10rem; }
}

.cc_teipep3a_KBYshAfd7b .rail.is-om .shelf__plank { background: linear-gradient(var(--ew-om-stone-top) 0%, var(--ew-om-stone) 45%, var(--ew-om-stone-side) 46%, var(--ew-om-surface-2) 100%); }

.cc_teipep3a_KBYshAfd7b .rail__meta {
  display: flex;
  flex-direction: column;
  gap: 0.125rem;
  padding: 0.75rem 0.5rem 0;
  text-align: center;
}

.cc_teipep3a_KBYshAfd7b .rail__badge {
  align-self: center;
  padding: 0.125rem 0.4rem;
  border-radius: 999px;
  background: #111111;
  color: #ffffff;
  font-size: 0.5625rem;
  font-weight: 700;
  letter-spacing: 0.14em;
}

.cc_teipep3a_KBYshAfd7b .rail__name { font-size: 0.8125rem; font-weight: 600; line-height: 1.3; }
.cc_teipep3a_KBYshAfd7b .rail__price { font-size: 0.8125rem; color: #707072; }

/* ─── Tablet / masaüstü ─── */
@media (min-width: 768px) {
  .cc_teipep3a_KBYshAfd7b .rail__item { flex-basis: 30%; }
}

@media (min-width: 1024px) {
  .cc_teipep3a_KBYshAfd7b .rail__inner { padding: 4.5rem 0 4.75rem; }
  .cc_teipep3a_KBYshAfd7b .rail__head { padding: 0 2.5rem; margin-bottom: 2rem; }
  .cc_teipep3a_KBYshAfd7b .rail__arrow { display: inline-block; }
  .cc_teipep3a_KBYshAfd7b .rail__track { padding: 1.6rem 2.5rem 0.75rem; gap: 1rem; scroll-padding-left: 2.5rem; }
  .cc_teipep3a_KBYshAfd7b .rail__item { flex-basis: calc((100% - 4rem) / 5); }
}

@media (prefers-reduced-motion: reduce) {
  .cc_teipep3a_KBYshAfd7b .rail.is-in .rail__piece { animation: none; opacity: 1; }
  .cc_teipep3a_KBYshAfd7b .rail__piece { transform: none; }
  .cc_teipep3a_KBYshAfd7b .rail__face { transition: none; }
  .cc_teipep3a_KBYshAfd7b .rail.is-in .shelf__item.is-ready .shelf__spot { animation: none; }
}

/* Telefon dokunma alanı ≥ 44px */
.cc_teipep3a_KBYshAfd7b .rail__all { display: inline-flex; align-items: center; min-height: 2.75rem; }

/* OLD MONEY tonu */
.cc_teipep3a_KBYshAfd7b .rail.is-om { background: var(--ew-om-bg); color: var(--ew-om-text); }
.cc_teipep3a_KBYshAfd7b .rail.is-om .rail__title { font-family: var(--ew-font-om-display); color: var(--ew-om-text); font-weight: 400; text-transform: none; letter-spacing: -0.01em; line-height: 1; font-size: clamp(1.875rem, 8vw, 3.25rem); }
.cc_teipep3a_KBYshAfd7b .rail.is-om .rail__badge { background: transparent; color: var(--ew-om-accent); border: 0; font-weight: 500; letter-spacing: .2em; }
.cc_teipep3a_KBYshAfd7b .rail.is-om .rail__all { text-transform: none; letter-spacing: .02em; font-weight: 500; }

/* ─── Dokunmatik oklar: askının ve rafın iki yanında (telefonda da görünür) ─── */
.cc_teipep3a_KBYshAfd7b .rail__nav {
  position: absolute;
  top: 34%;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.875rem;
  height: 2.875rem;
  padding: 0;
  border: 1px solid rgba(17, 17, 17, 0.12);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.14);
  color: #111111;
  font: inherit;
  font-size: 1.125rem;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  transition: opacity 0.3s ease, transform 0.2s cubic-bezier(0.22, 1, 0.36, 1), background 0.2s ease, color 0.2s ease;
}

.cc_teipep3a_KBYshAfd7b .rail__nav--prev { left: 0.5rem; }
.cc_teipep3a_KBYshAfd7b .rail__nav--next { right: 0.5rem; }
.cc_teipep3a_KBYshAfd7b .rail__nav:active { transform: scale(0.9); }
.cc_teipep3a_KBYshAfd7b .rail__nav.is-off { opacity: 0; pointer-events: none; }

/* İlk görünüşte sağ ok iki kez "dürter": kaydırılabilir olduğu anlaşılsın */
.cc_teipep3a_KBYshAfd7b .rail.is-in .rail__nav--next:not(.rail__nav--shelf) span { display: inline-block; animation: cc_teipep3a_KBYshAfd7b_rail-nudge 1.1s ease-in-out 1.6s 2; }
@keyframes cc_teipep3a_KBYshAfd7b_rail-nudge { 0%, 100% { transform: none; } 50% { transform: translateX(0.3rem); } }

.cc_teipep3a_KBYshAfd7b .rail__nav--shelf { top: calc(var(--shelf-h, 9.5rem) / 2 - 0.5rem); }

@media (hover: hover) {
  .cc_teipep3a_KBYshAfd7b .rail__nav:hover { background: #111111; color: #ffffff; }
}

@media (min-width: 1024px) {
  .cc_teipep3a_KBYshAfd7b .rail__nav { width: 3.25rem; height: 3.25rem; top: 36%; }
  .cc_teipep3a_KBYshAfd7b .rail__nav--prev { left: 1rem; }
  .cc_teipep3a_KBYshAfd7b .rail__nav--next { right: 1rem; }
}

@media (prefers-reduced-motion: reduce) {
  .cc_teipep3a_KBYshAfd7b .rail.is-in .rail__nav--next span { animation: none; }
}

.cc_teipep3a_KBYshAfd7b .rail.is-om .rail__nav { border-radius: 2px; background: rgba(247, 245, 241, 0.94); }

/* ═══ Nizami yedek görünüm (kesme yapılamayan fotoğraf): kutu YOK ═══
 * Beyaz / açık gri katalog zemini "multiply" ile sayfa zeminine karışır (canvas gerekmez),
 * her ürün aynı yükseklikteki alana sığar ve üstten askı teline hizalanır → hepsi aynı nizamda. */
.cc_teipep3a_KBYshAfd7b .rail__face.is-card { inset: 0.55rem 3% 0; border-radius: 0; overflow: visible; background: none; box-shadow: none; }
.cc_teipep3a_KBYshAfd7b .rail__face.is-card img { width: 100%; height: 100%; object-fit: contain; object-position: 50% 0; mix-blend-mode: multiply; filter: brightness(1.07) contrast(1.08) saturate(1.04); }
.cc_teipep3a_KBYshAfd7b .rail__face.is-card::before { display: none; }
.cc_teipep3a_KBYshAfd7b .shelf__face.is-card { inset: 0.5rem 4% 0; border-radius: 0; overflow: visible; background: none; }
.cc_teipep3a_KBYshAfd7b .shelf__face.is-card img { width: 100%; height: 100%; max-height: 92%; object-fit: contain; object-position: 50% 100%; mix-blend-mode: multiply; filter: brightness(1.07) contrast(1.08); }

/* Dokununca/tıklayınca arka yüz (telefon dahil): ilk dokunuş döndürür, ikincisi ürüne gider */
.cc_teipep3a_KBYshAfd7b .rail__piece.has-back.is-flipped .rail__face--front { transform: rotateY(-180deg); }
.cc_teipep3a_KBYshAfd7b .rail__piece.has-back.is-flipped .rail__face--back { transform: rotateY(0deg); }
