/* v20 · ürün sayfası ortak parçaları (bütün ürün türleri ve temalar; _urun_ortak.html bas() yükler).
   1) Tek tip "Bilgileriniz" bileşeni (sablonlar/_bilgi_formu.html): başlık, ızgara, etiket, alan, dosya düğmesi, medya
      kutusu, yardım yazısı. Şablon/sektör, yapay zekâ ve tasarım desteği bilgileri aynı görünür.
   2) Biçimli kısa tanım (.yd-kisa-tanim; yd/zengin_metin.py izin listesi).
   3) Kapalı tasarım seçeneğinin etiketi (.yd-yol-etiket) ve görsel sütunundaki paylaşım satırı (.le-urun-paylas).
   Odak görünümü statik/odak.css'te (site geneli tek kural). */

/* ---------- 1. Bilgileriniz ---------- */
.yd-bf-ust { display: flex; flex-direction: column; gap: 4px; }
.yd-bf-baslik { margin: 0; font-family: 'Bricolage Grotesque', system-ui, sans-serif; font-weight: 700; font-size: 22px; line-height: 1.2; color: #0C1538; }
.yd-tema .yd-bf-baslik { font-size: 19px; }
.yd-bf-aciklama { margin: 0; font-size: 14px; line-height: 1.45; color: #4B5275; }
.yd-bf-izgara { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(220px, 100%), 1fr)); gap: 14px 16px; }
.yd-bf-alan { display: flex; flex-direction: column; gap: 6px; min-width: 0; font-size: 14px; font-weight: 600; color: #0C1538; }
.yd-bf-genis { grid-column: 1 / -1; }
.yd-bf-etiket { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; }
.yd-bf-zorunlu { padding: 1px 8px; border-radius: 999px; background: #E9E5FF; color: #33288F;
  font-family: 'JetBrains Mono', ui-monospace, monospace; font-size: 11px; font-weight: 600; line-height: 1.6; }
.yd-bf-girdi { box-sizing: border-box; width: 100%; min-height: 52px; margin: 0; padding: 0 14px; border: 1px solid #B9BCD0;
  border-radius: 12px; background: #FFFFFF; color: #0C1538; font: inherit; font-size: 16px; font-weight: 500; }
textarea.yd-bf-girdi, .yd-bf-cok { min-height: 96px; padding: 12px 14px; line-height: 1.45; resize: vertical; }
.yd-bf-girdi::placeholder { color: #7D829D; font-weight: 400; opacity: 1; }
@media (hover: hover) { .yd-bf-girdi:hover:not(:focus) { border-color: #8A8FA8; } }
.yd-bf-ipucu { font-size: 13px; font-weight: 500; line-height: 1.4; color: #4B5275; }
.yd-bf-dosya { box-sizing: border-box; display: flex; align-items: center; min-height: 52px; padding: 0 16px; border: 1px solid #B9BCD0;
  border-radius: 12px; background: #FFFFFF; color: #0C1538; font: inherit; font-size: 14px; font-weight: 700; text-align: left; cursor: pointer; }
.yd-bf-dosya[aria-pressed="true"] { border-color: #5B4BE8; background: #F5F3FF; }
.yd-bf-medya { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; padding: 14px; border: 1.5px dashed #5B4BE8;
  border-radius: 12px; background: #FFFFFF; }
.yd-bf-medya-ikon { flex: 0 0 48px; height: 48px; display: flex; align-items: center; justify-content: center; border-radius: 10px;
  background: #F5F3FF; color: #4636C4; }
.yd-bf-medya-yazi { flex: 1 1 180px; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.yd-bf-medya-baslik { font-size: 15px; font-weight: 700; color: #0C1538; }
.yd-bf-medya-not { font-size: 13.5px; line-height: 1.4; color: #4B5275; }
.yd-bf-medya-dugme { min-height: 44px; padding: 0 16px; border: 1.5px solid #0C1538; border-radius: 10px; background: #FFFFFF;
  color: #0C1538; font: inherit; font-size: 14px; font-weight: 700; cursor: pointer; }
.yd-bf-medya-dugme[aria-pressed="true"] { background: #F5F3FF; }
.yd-bf-yardim { margin: 0; font-size: 13.5px; line-height: 1.45; color: #4B5275; }
.yd-bf-yardim:empty { display: none; }
/* v21: tek "Bilgileriniz" bölümü (bütün türler ve temalar): beyaz kart; içindeki parçalar seçilen tasarım yoluna göre */
.yd-bf-bolum { display: flex; flex-direction: column; gap: 16px; padding: 24px; border: 1px solid #E4E3EE; border-radius: 16px;
  background: #FFFFFF; color: #0C1538; }
.yd-bf-bolum [hidden] { display: none !important; }
.yd-bf-parca { display: flex; flex-direction: column; gap: 14px; }
.yd-bf-aciklama:empty { display: none; }
/* medya kutusu: seçilen dosyaların adları (urun.js), düğmesiz bilgi kartı */
.yd-bf-medya-secilen { font-size: 13px; font-weight: 600; color: #33288F; overflow-wrap: anywhere; }
.yd-bf-medya-secilen:empty { display: none; }
.yd-bf-medya-bilgi { border-color: #CFC8FF; background: #FAF9FF; }
.yd-bf-medya:has([aria-pressed="true"]) { background: #F5F3FF; }
.yd-bf-medya-dugme { transition: background-color .15s; }
@media (hover: hover) { .yd-bf-medya-dugme:hover { background: #F5F3FF; } }
.yd-bf-medya-baslik { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; }
/* yapay zekâ: sipariş sonrası adımlar */
.yd-bf-adimlar { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 8px; font-size: 13.5px; color: #4B5275; }
.yd-bf-adimlar li { display: flex; align-items: flex-start; gap: 10px; }
.yd-bf-adimlar li > span { flex: 0 0 22px; height: 22px; border-radius: 50%; background: #E9E5FF; color: #33288F; display: inline-flex;
  align-items: center; justify-content: center; font-family: 'JetBrains Mono', ui-monospace, monospace; font-size: 11.5px; font-weight: 700; }
@media (max-width: 760px) {
  .yd-bf-baslik { font-size: 19px; }
  .yd-bf-izgara { gap: 12px; }
  .yd-bf-medya { padding: 12px; }
  .yd-bf-bolum { padding: 16px; gap: 14px; }
}

/* ---------- 2. biçimli kısa tanım ---------- */
.yd-kisa-tanim > :first-child { margin-top: 0; }
.yd-kisa-tanim > :last-child { margin-bottom: 0; }
.yd-kisa-tanim p { margin: 0 0 .5em; }
.yd-kisa-tanim ul, .yd-kisa-tanim ol { margin: 0 0 .5em; padding-left: 1.3em; }
.yd-kisa-tanim li + li { margin-top: .2em; }
.yd-kisa-tanim strong { color: #0C1538; font-weight: 700; }
.yd-kisa-tanim a { color: #4636C4; text-decoration: underline; text-underline-offset: 2px; }

/* ---------- 3. kapalı tasarım seçeneği etiketi, paylaşım satırı ---------- */
.yd-yol-etiket { align-self: flex-start; margin-top: 4px; padding: 2px 8px; border-radius: 999px; background: #EEEDF4; color: #4B5275;
  font-family: 'JetBrains Mono', ui-monospace, monospace; font-size: 11px; font-weight: 600; white-space: nowrap; }
.le-urun-paylas { padding-top: 4px; }
.le-urun-paylas .le-paylas-ad { margin-right: 4px; }

/* ürün başlığı: panelden ayarlanan yazı (yd/urun_sayfa.baslik_yazi) bu sınıflara uygulanır; varsayılanda temanın kendi değeri */
.yd-urun-baslik, .yd-urun-baslik-m { font-kerning: normal; }

/* ---------- v23: dosya kutusu (statik/urun_dosya.js) — kutu tıklanır ve dosya bırakılır; seçilen dosyaların listesi ---------- */
.yd-bf-medya { flex-direction: column; align-items: stretch; flex-wrap: nowrap; }
.yd-bf-medya-ust { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.yd-bf-medya-etkin { cursor: pointer; transition: background-color .12s, border-color .12s; }
@media (hover: hover) { .yd-bf-medya-etkin:hover { background: #F5F3FF; } }
.yd-bf-medya-ustunde { background: #EEEAFF; border-style: solid; box-shadow: 0 0 0 4px rgba(91, 75, 232, .14); }
.yd-bf-medya-birak { display: none; font-size: 12.5px; color: #6B7090; }
.yd-bf-medya-etkin .yd-bf-medya-birak { display: block; }
@media (hover: none) { .yd-bf-medya-etkin .yd-bf-medya-birak { display: none; } }   /* dokunmatikte sürükleme yok */
.yd-bf-medya-dolu { border-style: solid; border-color: #CFC8FF; background: #FBFAFF; }
.yd-bf-dosyalar { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; cursor: default; }
.yd-bf-dosyalar[hidden] { display: none; }
.yd-bf-dosya-satir { display: flex; align-items: center; gap: 10px; padding: 8px 8px 8px 10px; border: 1px solid #E4E3EE; border-radius: 10px;
  background: #FFFFFF; min-width: 0; }
.yd-bf-dosya-rozet { flex: 0 0 38px; height: 26px; display: inline-flex; align-items: center; justify-content: center; border-radius: 6px;
  background: #F3F1FE; color: #4636C4; font: 700 10.5px/1 var(--yd-mono, ui-monospace, monospace); letter-spacing: .02em; }
.yd-bf-dosya-bilgi { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.yd-bf-dosya-ad { font-size: 13.5px; font-weight: 600; color: #0C1538; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.yd-bf-dosya-alt { display: flex; flex-wrap: wrap; gap: 2px 10px; font-size: 12px; color: #4B5275; font-variant-numeric: tabular-nums; }
.yd-bf-dosya-hal { font-weight: 600; }
.yd-bf-hal-hazir { color: #4B5275; }
.yd-bf-hal-gonderiliyor { color: #4636C4; }
.yd-bf-hal-gonderildi { color: #0B7A3E; }
.yd-bf-hal-hata { color: #B42318; }
.yd-bf-dosya-iz { display: block; height: 4px; border-radius: 4px; background: #ECEAF6; overflow: hidden; }
.yd-bf-dosya-iz > span { display: block; height: 100%; background: #5B4BE8; transition: width .2s; }
.yd-bf-dosya-kaldir { flex: 0 0 44px; width: 44px; height: 44px; display: inline-flex; align-items: center; justify-content: center;
  border: 0; border-radius: 10px; background: transparent; color: #4B5275; cursor: pointer; }
@media (hover: hover) { .yd-bf-dosya-kaldir:hover { background: #F3F1FE; color: #0C1538; } }
.yd-bf-dosya-kaldir:disabled { opacity: .4; cursor: default; }
.yd-bf-dosya-durum { margin: 0; font-size: 12.5px; color: #4B5275; }
.yd-bf-dosya-durum:empty { display: none; }
.yd-bf-dosya-hatali { color: #B42318; font-weight: 600; }
@media (prefers-reduced-motion: reduce) { .yd-bf-medya-etkin, .yd-bf-dosya-iz > span { transition: none; } }
