/* Ortak bileşenler: tasarim.css'teki atomik sınıfların yapamadığı şeyler (ekran genişliğine göre düzen, menü,
   odak halkası, erişilebilirlik). Sayfaya özel kurallar her ekranın kendi CSS dosyasında. */

/* ---------- erişilebilirlik ---------- */
.yd-gizli { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.yd-atla { position: absolute; left: 8px; top: -60px; z-index: 100; padding: 10px 16px; border-radius: 10px;
  background: #0C1538; color: #FFFFFF; font-weight: 700; }
.yd-atla:focus { top: 8px; color: #FFFFFF; }
:focus-visible { outline: 2px solid #5B4BE8; outline-offset: 2px; }
input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 2px solid #5B4BE8; outline-offset: 1px; }
[hidden] { display: none !important; }
img { max-width: 100%; }
button { font: inherit; }
.yd-baglanti-dugme { font: inherit; background: none; border: 0; padding: 0; cursor: pointer; text-align: left; }
.yd-baglanti-dugme:hover { color: #4636C4; }

/* ---------- masaüstü / mobil başlık ---------- */
@media (max-width: 760px) {
  .yd-masa { display: none !important; }
  /* tasarımın mobil ekranları 16 px kenar boşluğu kullanır */
  .mxw-1280px { padding-left: 16px; padding-right: 16px; }
}
@media (min-width: 761px) {
  .yd-mobil { display: none !important; }
}
.yd-kat-nav a[aria-current="page"] { box-shadow: inset 0 -2px 0 #5B4BE8; }

/* ---------- mobil menü ---------- */
.yd-menu { position: fixed; inset: 0; z-index: 60; overflow-y: auto; background: #FAFAFC; overscroll-behavior: contain; }
.yd-menu-ic { min-height: 100%; }
body.yd-kilit { overflow: hidden; }

/* ---------- dokunma hedefi: tasarımdaki 44 px kuralı yazı bağlantılarında da ---------- */
@media (pointer: coarse) {
  .yd-baglanti-dugme { min-height: 44px; }
}

/* ---------- sayılar sabit genişlikte (fiyat sütunları kaymasın) ---------- */
.ff-mono { font-variant-numeric: tabular-nums; }

/* ---------- baskı ---------- */
@media print {
  .yd-masa, .yd-mobil, footer, .yd-menu { display: none !important; }
}
