/* ═══════════════════════════════════════════════════════════════
   ImageWithText — Kavanoz Rafı editoryal foto + metin bloğu.
   Ana sayfada Hikâye teaser'ı (§5.1.8) ve Turşu Suyu spotlight'ı
   (§5.1.9) bu bölümün iki örneğidir. Zemin kâğıt ailesinde
   (dv --kagit-2), foto 12px radius, sınır yok — asimetri yerleşimden.
   ═══════════════════════════════════════════════════════════════ */

/* Alt-bileşen CSS'i dist'e YALNIZ buradaki @import'larla ulaşır (D-22). */
/* Imported from: ../../sub-components/ImageWithTextPanel/styles.css */
/* ImageWithTextPanel — metin sütunu (Kavanoz Rafı).
 * Dist'e YALNIZ ImageWithText/styles.css'teki @import ile ulaşır (D-22). */

.cc_aEBpe1wkQX_image_with_text .iwt-panel {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--space-sm);
}

.cc_aEBpe1wkQX_image_with_text .iwt-panel__ust-etiket {
  font-size: var(--text-label);
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--salamura);
}

.cc_aEBpe1wkQX_image_with_text .iwt-panel__baslik {
  margin: 0;
  font-family: var(--font-display);
  font-size: var(--text-h2);
  line-height: 1.15;
  font-weight: 600;
  color: var(--murekkep);
}

.cc_aEBpe1wkQX_image_with_text .iwt-panel__aciklama {
  margin: 0;
  font-size: var(--text-body);
  line-height: var(--lh-body);
  color: var(--murekkep-2);
  max-width: 38em;
}

.cc_aEBpe1wkQX_image_with_text .iwt-panel__eylemler {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-xs);
  margin-top: var(--space-xs);
}

.cc_aEBpe1wkQX_image_with_text .iwt-panel__cta {
  text-decoration: none;
}

/* End import: ../../sub-components/ImageWithTextPanel/styles.css */
/* Imported from: ../../sub-components/Button/styles.css */
/* Button — Kavanoz Rafı temel buton (brief §4.2, §4.5). */

.cc_aEBpe1wkQX_image_with_text .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  border: 0;
  border-radius: var(--r-kontrol);
  background: none;
  color: var(--murekkep);
  font-family: var(--font-body);
  font-weight: 600;
  line-height: 1.2;
  cursor: pointer;
  transition:
    background-color var(--sure-hizli) var(--gecis),
    border-color var(--sure-hizli) var(--gecis),
    color var(--sure-hizli) var(--gecis),
    transform var(--sure-hizli) var(--gecis);
}

.cc_aEBpe1wkQX_image_with_text .btn:active:not(:disabled) {
  transform: scale(0.97);
}

/* İçerik sarmalı: ikon + metin karışımı için hiza ve boşluk;
 * yükleme durumunda soluklaşan katman. */
.cc_aEBpe1wkQX_image_with_text .btn__icerik {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: opacity var(--sure-hizli) var(--gecis);
}

/* ─── Boyutlar ─── */

.cc_aEBpe1wkQX_image_with_text .btn--s {
  min-height: 2.5rem;
  padding: 0 1rem;
  font-size: var(--text-small);
}

.cc_aEBpe1wkQX_image_with_text .btn--m {
  min-height: 3rem;
  padding: 0 1.5rem;
  font-size: var(--text-body);
}

/* l = PDP sepete ekle */
.cc_aEBpe1wkQX_image_with_text .btn--l {
  min-height: 3.5rem;
  padding: 0 2rem;
  font-size: var(--text-body);
}

/* ─── Varyantlar ─── */

.cc_aEBpe1wkQX_image_with_text .btn--birincil {
  background: var(--salamura);
  color: var(--kagit);
}

.cc_aEBpe1wkQX_image_with_text .btn--birincil:hover:not(:disabled) {
  background: var(--salamura-koyu);
}

.cc_aEBpe1wkQX_image_with_text .btn--ikincil {
  background: transparent;
  border: 1px solid var(--cizgi-kontrol);
  color: var(--murekkep);
}

.cc_aEBpe1wkQX_image_with_text .btn--ikincil:hover:not(:disabled) {
  border-color: var(--murekkep);
  background: var(--kagit-2);
}

.cc_aEBpe1wkQX_image_with_text .btn--hayalet {
  background: transparent;
  border: 0;
  color: var(--salamura);
}

.cc_aEBpe1wkQX_image_with_text .btn--hayalet:hover:not(:disabled) {
  text-decoration: underline;
}

/* ─── Durumlar ─── */

.cc_aEBpe1wkQX_image_with_text .btn--tam {
  width: 100%;
}

.cc_aEBpe1wkQX_image_with_text .btn:disabled {
  background: var(--kagit-2);
  color: var(--murekkep-soluk);
  cursor: not-allowed;
}

.cc_aEBpe1wkQX_image_with_text .btn--ikincil:disabled {
  border-color: var(--cizgi);
}

.cc_aEBpe1wkQX_image_with_text .btn--yukleniyor {
  pointer-events: none;
}

.cc_aEBpe1wkQX_image_with_text .btn--yukleniyor .btn__icerik {
  opacity: 0.6;
}

.cc_aEBpe1wkQX_image_with_text .btn--yukleniyor::after {
  content: "";
  width: 1em;
  height: 1em;
  flex-shrink: 0;
  border: 2px solid currentColor;
  border-top-color: transparent;
  border-radius: var(--r-hap); /* 1em kutuda tam daire */
  animation: btn-doner 0.8s linear infinite;
}

@keyframes cc_aEBpe1wkQX_image_with_text_btn-doner {
  to {
    transform: rotate(360deg);
  }
}

/* Dokunmatikte 44px hedef (§2.8) — fare/iz sürücüde s boyu 40px kalır. */
@media (pointer: coarse) {
  .cc_aEBpe1wkQX_image_with_text .btn--s {
    min-height: 2.75rem;
  }
}

/* End import: ../../sub-components/Button/styles.css */

.cc_aEBpe1wkQX_image_with_text .image-with-text {
  width: 100%;
  color: var(--murekkep);
}

.cc_aEBpe1wkQX_image_with_text .image-with-text__yerlesim {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
  padding-top: var(--bolum-dikey);
  padding-bottom: var(--bolum-dikey);
}

/* ---- Foto ---- */

.cc_aEBpe1wkQX_image_with_text .image-with-text__medya {
  min-width: 0;
}

.cc_aEBpe1wkQX_image_with_text .image-with-text__foto {
  display: block;
  width: 100%;
  aspect-ratio: var(--iwt-oran, 3 / 2);
  object-fit: cover;
  border-radius: var(--r-kart);
}

/* §6.5 yer tutucu: düz kâğıt blok + ortalanmış küçük not. */
.cc_aEBpe1wkQX_image_with_text .image-with-text__foto--bos {
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--kagit);
  border: 1px solid var(--cizgi);
}

.cc_aEBpe1wkQX_image_with_text .image-with-text__bos-not {
  font-size: var(--text-label);
  color: var(--murekkep-soluk);
  letter-spacing: 0.06em;
  text-align: center;
  padding: var(--space-sm);
}

.cc_aEBpe1wkQX_image_with_text .image-with-text__panel {
  display: flex;
  align-items: center;
  min-width: 0;
}

/* ===== ≥768px: yan yana, bilinçli eşitsiz sütunlar (§4.6 asimetri) ===== */
@media (min-width: 768px) {
  .cc_aEBpe1wkQX_image_with_text .image-with-text__yerlesim {
    flex-direction: row;
    align-items: center;
    gap: var(--space-lg);
  }

  .cc_aEBpe1wkQX_image_with_text .image-with-text__medya {
    flex: 6 1 0;
  }

  .cc_aEBpe1wkQX_image_with_text .image-with-text__panel {
    flex: 5 1 0;
    /* Metin bloğu fotonun dikey merkezinden hafif aşağıda (editoryal). */
    align-self: flex-end;
    padding-bottom: var(--space-md);
  }

  .cc_aEBpe1wkQX_image_with_text .image-with-text--foto-sag .image-with-text__medya {
    order: 2;
  }

  .cc_aEBpe1wkQX_image_with_text .image-with-text--foto-sag .image-with-text__panel {
    order: 1;
  }
}

@media (min-width: 1024px) {
  .cc_aEBpe1wkQX_image_with_text .image-with-text__yerlesim {
    gap: var(--space-xl);
  }
}
