/* Ürün sayfaları (ekip B): tasarımda {{…}} ile değişen durumlar (seçili kutu, kapalı seçenek) ve mobil düzen.
   Renk ve ölçüler tuvaldeki değerlerdir: seçili 2px #5B4BE8 / #F5F3FF, seçili değil 1px #E4E3EE / #FFF,
   kapalı 1px dashed #B9BCD0 / #FAFAFC / yazı #8A8FA8. */

.yd-sec { border: 1px solid #E4E3EE; background: #FFFFFF; color: #0C1538; cursor: pointer; }
/* v18: seçili durum tek çizgi: 1 px kenar + 1 px iç gölge (görünen kalınlık tasarımdaki 2 px; kenar kalınlığı değişmez,
   seçince içerik kaymaz), açık mor zemin ve köşede onay rozeti (urun_secenek.css). v20: odak görünümü site geneli tek
   kuralda (statik/odak.css): yalnız klavyede, kenar mor + yumuşak hâle; dış çizgi yok (çift çizgi olmaz). */
.yd-sec.yd-on { border-color: #5B4BE8; box-shadow: inset 0 0 0 1px #5B4BE8; background: #F5F3FF; }
.yd-sec.yd-kapali { border: 1px dashed #B9BCD0; background: #FAFAFC; color: #8A8FA8; cursor: not-allowed; }
.yd-sec.yd-kapali.yd-yol { color: #4B5275; }
/* v21 (FM) fiyat matrisi: bu seçimle kombinasyonun fiyatı tanımlı değil (seçilebilir; fiyat yerine "teklif isteyin") */
.yd-matris-eksik:not(.yd-on) { border-style: dashed; opacity: .78; }
.yd-sec:focus:not(:focus-visible) { outline: none; }
.yd-kucuk { border: 1px dashed #CFC8FF; }
.yd-kucuk.yd-on { border: 1px solid #5B4BE8; box-shadow: inset 0 0 0 1px #5B4BE8; }
.yd-model { border: 1px solid #E4E3EE; }
.yd-model.yd-on { border-color: #5B4BE8; box-shadow: inset 0 0 0 1px #5B4BE8; }
.yd-capraz.yd-on { border-color: #5B4BE8; box-shadow: inset 0 0 0 1px #5B4BE8; background: #F5F3FF; }
.yd-capraz-d { background: #FFFFFF; color: #0C1538; }
.yd-capraz-d[aria-pressed="true"] { background: #0C1538; color: #FFFFFF; }
.yd-capraz.yd-on .yd-capraz-d { background: #0C1538; color: #FFFFFF; }
.yd-avantaj { background: #E3F5EA; }
.yd-avantaj:empty { display: none; }
.yd-nokta { flex: 0 0 20px; width: 20px; height: 20px; border-radius: 999px; box-sizing: border-box;
  border: 2px solid #B9BCD0; background: #FFFFFF; }
.yd-on .yd-nokta { border: 6px solid #5B4BE8; }
.yd-uyari:empty { display: none; }
.yd-eski { text-decoration: line-through; }

/* tuvalde olmayan küçük ölçüler */
.yd-tam-boy { height: 100%; }
.yd-urun-alt { padding: 40px 24px 72px; }
.yd-liste { padding: 0 0 0 20px; }

/* sayfadaki seçim girdileri görünmez (etiketler for= ile bağlı).
   v11: position: fixed — "absolute" iken girdi formun başında dururdu; etikete tıklanınca tarayıcı ona odaklanıp sayfayı
   oraya kaydırıyordu (seçenek seçince sayfa yukarı atlıyordu). Ekranın köşesine sabit, görünmez girdi odak alsa da
   sayfa kımıldamaz. urun.js etiket tıklamasını ayrıca kendisi karşılar (odak girdiye hiç gitmez). */
.yd-secim-girdi { position: fixed; top: 0; left: 0; margin: 0; opacity: 0; width: 1px; height: 1px; pointer-events: none; }

/* önizleme: tuvaldeki "cqw" ölçüleri (ct-inline-size kabında) */
.yd-pano { width: 30cqw; height: 15cqw; }
.yd-silu { height: 30cqw; }

/* açıklama içi bağlantı ve satır içi öğeler */
.yd-aciklama a { color: #4636C4; text-decoration: underline; }
.yd-aciklama p a, .yd-aciklama li a { overflow-wrap: anywhere; }
.yd-tablo { border-collapse: collapse; width: 100%; font-size: 14px; }
.yd-tablo td, .yd-tablo th { border-top: 1px solid #E4E3EE; padding: 8px 8px 8px 0; text-align: left; vertical-align: top; }
.yd-akordeon summary { list-style: none; }
.yd-akordeon summary::-webkit-details-marker { display: none; }
.yd-akordeon details[open] .yd-arti::before { content: "−"; }
.yd-akordeon .yd-arti::before { content: "+"; }

/* yelken yerleşim şeması: yazılar yazdıkça değişir */
.yd-yelken-ad { color: #7C83AB; }
.yd-yelken-ad.yd-dolu { color: #FFFFFF; }
.yd-soluk { color: #7C83AB; }
.yd-soluk.yd-dolu { color: #FFFFFF; }

/* dosya seçici: yerel düğme tuvaldeki düğmeye bağlı (seçim girdileri gibi sabit: odakta sayfa kaymaz) */
.yd-dosya-girdi { position: fixed; top: 0; left: 0; width: 1px; height: 1px; opacity: 0; pointer-events: none; }

/* durum mesajı */
.yd-durum { border-radius: 12px; padding: 12px 14px; font-size: 14px; }
.yd-durum.yd-hata { background: #FFF1F1; border: 1px solid #F3C4C4; color: #8A1C1C; }

/* ---------- masaüstü: önizleme sütunu kaydırmada sabit ---------- */
@media (min-width: 761px) {
  .yd-stick { position: sticky; top: calc(var(--yd-ust-yukseklik, 0px) + 16px); }   /* yapışık başlığın altında (menu.css) */
}

/* ================= v21: TEK İSKELET (sablonlar/urun_sayfa.html) — bütün türler ve temalar =================
   Geniş masaüstü (≥ 1200 px): galeri · sipariş akışı · fiyat kutusu (sağda, yapışık). 761–1199 px: galeri solda (yapışık),
   akış ve altında fiyat kutusu sağda. "Fiyat üstte" (Panel › Sayfa düzeni): iki sütun, fiyat üstteki yapışık şeritte,
   kutu akışın sonunda. Mobil (≤ 760 px): tek sütun; sıralama order ile (sütun kapları display: contents): galeri →
   başlık → 3B/çalışmalar → akış → fiyat/uyarılar → şablonlar · güvence · paylaş; fiyat alttaki sabit çubukta. */
.yd-us-sar { padding: 28px 24px 0; display: flex; flex-direction: column; gap: 24px; }
.yd-us-izgara { display: grid; grid-template-columns: minmax(0, 1fr); gap: 28px 32px; align-items: start; }
.yd-us-sol, .yd-us-orta, .yd-us-sag, .yd-us-akis, .yd-us-sol-alt { min-width: 0; display: flex; flex-direction: column; }
.yd-us-sol { gap: 14px; align-self: start; }
.yd-us-sol-alt { gap: 14px; }
.yd-us-orta { gap: 24px; }
.yd-us-akis { gap: 24px; }
.yd-us-sag { gap: 12px; }
.yd-us-bas { display: flex; flex-direction: column; gap: 10px; padding-bottom: 16px; border-bottom: 1px solid #E4E3EE; }
.yd-us-bas-eylem { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; }
.yd-us-bas-eylem:empty { display: none; }
@media (min-width: 761px) {
  .yd-us-izgara { grid-template-columns: minmax(260px, 380px) minmax(0, 1fr); grid-template-areas: "sol orta" "sol sag"; }
  .yd-us-sol { grid-area: sol; }
  .yd-us-orta { grid-area: orta; }
  .yd-us-sag { grid-area: sag; }
}
@media (min-width: 1200px) {
  .yd-us-sagda .yd-us-izgara { grid-template-columns: minmax(300px, 400px) minmax(0, 1fr) 312px; grid-template-areas: "sol orta sag"; }
  .yd-us-sagda .yd-us-sag { position: sticky; top: calc(var(--yd-ust-yukseklik, 0px) + 20px); }
  .yd-us-ust .yd-us-izgara { grid-template-columns: minmax(320px, 460px) minmax(0, 1fr); }
}
/* galeri: fotoğraflar ve (ölçülü üründe) canlı ölçü önizlemesi aynı sahnede, sekmeyle */
.yd-us-galeri { display: flex; flex-direction: column; gap: 12px; }
.yd-gal-panel { display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.yd-gal-panel[hidden] { display: none; }
.yd-gal-gorsel { aspect-ratio: 1 / 1; height: auto; border-radius: 16px; }
.yd-gal-bos { background: #F5F3FF; border: 1px dashed #CFC8FF; color: #33288F; }
.yd-gal-sekmeler { align-self: flex-start; max-width: 100%; display: inline-flex; gap: 4px; padding: 4px; border-radius: 12px; background: #EFEDF7; }
.yd-gal-sekme { display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 0 14px; border: 0; border-radius: 9px;
  background: transparent; color: #4B5275; font: inherit; font-size: 14px; font-weight: 700; white-space: nowrap; cursor: pointer;
  transition: background-color .15s, color .15s, box-shadow .15s; }
.yd-gal-sekme[aria-selected="true"] { background: #FFFFFF; color: #0C1538; box-shadow: 0 1px 3px rgba(12, 21, 56, .14); }
@media (hover: hover) { .yd-gal-sekme:hover:not([aria-selected="true"]) { color: #0C1538; background: rgba(255, 255, 255, .6); } }
.yd-gal-sekme-alan { padding: 1px 7px; border-radius: 6px; background: #E9E5FF; color: #33288F; font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 11.5px; font-weight: 600; }
.yd-gal-sekme svg { flex: 0 0 auto; }
@media (prefers-reduced-motion: reduce) { .yd-gal-sekme { transition: none; } }
@media (max-width: 420px) {
  /* v31.2: dar telefonda "Fotoğraflar / Ölçü önizleme 1,00 m²" sekmeleri sığmıyor, sayfayı yana kaydırıyordu (320 px'te
     379 px): sekmeler yalnız sığmadığında daralır, yazı gerekirse iki satıra iner; 360 px ve altında simgesiz. */
  .yd-gal-sekme { flex: 0 1 auto; min-width: 0; white-space: normal; text-align: center; line-height: 1.25; }
  .yd-gal-sekme-alan { white-space: nowrap; }
}
@media (max-width: 360px) { .yd-gal-sekme svg { display: none; } }
/* şablon / sektör modeli */
.yd-modeller { display: grid; grid-template-columns: repeat(auto-fill, minmax(84px, 1fr)); gap: 8px; }
.yd-satir.yd-satir-ust { grid-template-columns: minmax(0, 1fr); gap: 8px; }
.yd-satir-ust .yd-satir-etiket { min-height: 0; }
/* güvence listesi (sol sütun) */
.yd-guvence { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 8px; font-size: 14.5px; color: #0C1538; }
.yd-guvence li { display: flex; gap: 10px; }
.yd-guvence-tik { color: #0B5A36; font-weight: 700; }
.yd-guvence-koyu { color: #FFFFFF; }
.yd-guvence-koyu .yd-guvence-tik { color: #8EE0B4; }
/* v30.5: başlığın altındaki kampanya görseli (_urun_ortak.html kampanya_alani). Sütun genişliğini doldurur, yüksekliği
   görselin kendi oranı (img width/height: yer önceden ayrılır, kayma yok); çok uzun görsel oranı bozulmadan sığar. */
.yd-kampanya { display: block; min-width: 0; }
.yd-kampanya picture { display: block; }
.yd-kampanya-bag { display: block; border-radius: 12px; }
.yd-kampanya-bag:focus-visible { outline: 2px solid #0C1538; outline-offset: 3px; }
.yd-kampanya-gorsel { display: block; width: 100%; height: auto; max-height: 360px; object-fit: contain; border-radius: 12px; }
@media (max-width: 760px) {
  .yd-kampanya-gorsel { max-height: 320px; }
  /* telefonda başlık bloğu içeriği kadar dardır (ızgara align-items: start): kampanya varken tam genişlik — görsel yüklenmeden
     kutunun yeri doğru ayrılır (ölçüldü: görsel 2,5 sn gecikince 358 × 179 px önceden ayrılı) */
  .yd-us-bas:has(> .yd-kampanya) { align-self: stretch; }
}
/* v30.5: büyük fiyatın altındaki kap yalnız üstü çizili liste fiyatı ya da bayi rozeti varken görünür (urun.js fiyatAlt) */
[data-fiyat-alt][hidden] { display: none; }
/* "Fiyat üstte": şerit sayfa akışında, yapışık başlığın altında (yer kaplar: kayma yok) */
.yd-fiyat-serit.yd-serit-sabit { position: sticky; transform: none; visibility: visible; transition: none; }

/* ---------- mobil (tek sütun) ---------- */
@media (max-width: 760px) {
  /* v11: ürün sayfasında lacivert mobil üst şerit gizlenir; sitenin mobil başlığı (logo · ara · sepet · ☰, .yd-ust-m)
     .yd-mobil olmadığı için görünür kalır, altında ürünün "geri · ad" satırı (.yd-urun-ust) durur */
  body:has(.yd-urun-ust) > .yd-mobil:not(.yd-urun-ust) { display: none !important; }
  .yd-urun-cubuk { position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; }
  /* v31.2: alttaki yapışık çubuk dar ekranda 187 px'e kadar uzuyor (fiyat satırı iki satır + düğme + WhatsApp); 120 px'te
     alt bilginin son satırları çubuğun altında kalıyordu (320–414 px'te ölçüldü). */
  footer { padding-bottom: 200px; }
  .yd-us-sar { padding: 12px 16px 24px; gap: 16px; }
  .yd-us-sar > nav { display: none; }                       /* konum çizgisi: mobilde üst satırda geri bağlantısı var */
  /* v31.2: tek sütunda her blok sütunu doldurur. Masaüstü ızgarasının align-items: start'ı burada esnek kutunun çapraz
     eksenine geçiyor, bloklar içerikleri kadar daralıyordu; .yd-secenekler container-type: inline-size olduğundan genişliğe
     katkısı 0, akış adet alanının en geniş satırı kadar kalıyordu (sahibin ≈490 px ekranında kartlar sayfanın ≈%60'ı). */
  .yd-us-izgara { display: flex; flex-direction: column; gap: 16px; align-items: stretch; }
  .yd-us-sol, .yd-us-orta, .yd-us-sag { display: contents; }
  .yd-us-galeri { order: 1; }
  .yd-us-bas { order: 2; padding: 0; border: 0; gap: 4px; }
  .yd-us-eylem { order: 3; }
  .yd-us-akis { order: 4; gap: 16px; }
  .yd-us-sag > * { order: 5; }
  .yd-us-sol-alt { order: 6; }
  .yd-us-bas h1 { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .yd-us-bas .yd-us-kisa, .yd-us-bas .yd-us-alt { display: none; }
  .yd-ozet-kutu { display: none !important; }               /* fiyat alttaki çubukta */
  .yd-gal-kucukler { display: none; }                       /* mobilde parmakla kaydırma + noktalar */
  .yd-gal-gorsel { border-radius: 12px; }
  .yd-us-klasik .yd-secenekler, .yd-us-klasik .yd-adet-alan, .yd-us-klasik .yd-us-akis > .yd-satir {
    background: #FFFFFF; border: 1px solid #E4E3EE; border-radius: 16px; padding: 16px; }
}
@media (min-width: 761px) {
  .yd-urun-cubuk { display: none !important; }
}
.yd-us-mobil-uyari { display: flex; flex-direction: column; gap: 8px; }
.yd-us-mobil-uyari:not(:has(.yd-uyari:not(:empty))) { display: none; }
@media (min-width: 761px) { .yd-us-mobil-uyari { display: none; } }

/* ---------- v11: büyük fiyat — tutar biraz büyük, kuruş ve para birimi küçük (urun.js buyukFiyat) ---------- */
.yd-fiyat-gorunen { white-space: nowrap; font-variant-numeric: tabular-nums; }
.yd-kurus { font-size: .56em; vertical-align: .64em; line-height: 0; letter-spacing: 0; margin-left: .02em; }
.yd-fiyat-birim { font-size: .56em; letter-spacing: 0; margin-left: .12em; }
.yd-ozet-kutu [data-buyuk-fiyat] { font-size: 44px; }
.yd-ozet-olcu { line-height: 1.5; }
.bg-0c1538 .yd-ana-fiyat[data-buyuk-fiyat] { font-size: 40px; }          /* ölçü / yelken dökümünün toplamı */
.bg-0c1538 .fs-32px > .yd-ana-fiyat { font-size: 38px; }
.yd-urun-cubuk .yd-ana-fiyat.fs-28px { font-size: 32px; }
.yd-urun-cubuk .fs-24px > .yd-ana-fiyat { font-size: 28px; }
/* v29: döviz ürününde ana fiyat müşterinin ödeyeceği TL; döviz tutarı altında küçük, ikincil (_doviz_tl.html). Kur yazılmaz. */
.yd-doviz-ikincil { font-variant-numeric: tabular-nums; letter-spacing: 0; }
.yd-doviz-ikincil[hidden] { display: none; }
.yd-doviz-ikincil-kisa { margin-left: 4px; }

/* ---------- v11: sepete eklendikten sonra — "Sepete git" birincil (üstte / önde), "Bir tane daha ekle" ikincil ---------- */
.yd-ekle-ikili { display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.yd-ekle-ikili.yd-ekle-yan { flex-direction: row; flex-wrap: wrap; align-items: center; }
.yd-ekle-ikili > * { justify-content: center; text-align: center; }
.yd-sepete-git { box-shadow: 0 10px 24px -12px rgba(91, 75, 232, .7); }
.yd-sepete-git:hover { background: #4636C4; }
.yd-sepete-git:focus-visible { outline: 2px solid #0C1538; outline-offset: 2px; }
[data-ekle-dugme].yd-ekle-ikincil { background: #FFFFFF; color: #0C1538; border: 1.5px solid #0C1538; box-shadow: none; }
[data-ekle-dugme].yd-ekle-ikincil:hover { background: #F5F3FF; }
.bg-0c1538 [data-ekle-dugme].yd-ekle-ikincil { background: transparent; color: #FFFFFF; border-color: rgba(255, 255, 255, .75); }
.bg-0c1538 [data-ekle-dugme].yd-ekle-ikincil:hover { background: rgba(255, 255, 255, .1); }
.bg-0c1538 .yd-sepete-git:focus-visible { outline-color: #FFD000; }
/* mobil alt çubuk: iki düğme yan yana, "Sepete git" önde ve geniş */
.yd-urun-cubuk:has(.yd-ekle-ikili) { flex-wrap: wrap; }
.yd-urun-cubuk .yd-ekle-ikili { flex: 1 1 100%; flex-direction: row; gap: 8px; }
.yd-urun-cubuk .yd-ekle-ikili > .yd-sepete-git { flex: 1 1 auto; }
.yd-urun-cubuk .yd-ekle-ikili > [data-ekle-dugme] { flex: 0 1 auto; padding: 0 14px; font-size: 15px; }
.yd-eklendi-oneri { text-decoration: underline; text-underline-offset: 3px; }
/* "Sepete eklendi" kutusu kaydırılarak gösterilince yapışık başlığın altında kalmasın */
.yd-eklendi { scroll-margin: 96px 0 140px; }
/* canlı ölçü önizlemesi: ölçü değişince pano büyüyüp küçülür; tarayıcının kaydırma çapası onu seçerse sayfa
   (hazır ölçü düğmesine basınca) yukarı/aşağı kayıyordu. Önizleme çapa adayı değildir. */
.yd-olcu-onizleme, .yd-t-olcu, .yd-t-yelken { overflow-anchor: none; }

/* ---------- v12: fiyat gösterimi — bütün sayfada tek kural (KDV dahil / hariç) ----------
   Başlık fiyatları iki tutarı da taşır (sablonlar/_urun_ortak.html ana_fiyat, kdv_yazi, kdv_dokum); formun data-kdv'si
   hangisinin görüneceğini seçer. İlk değer site ayarı (yd/urun_sayfa.fiyat_ayari), müşteri tercihi urun.js'te. */
[data-kdv="dahil"] [data-kdv-goster="haric"], [data-kdv="haric"] [data-kdv-goster="dahil"] { display: none; }
/* v12.1: asıl gizleme HTML hidden niteliğidir (sunucu varsayılanı yazar, urun.js tercihe göre çevirir); CSS'siz de tek fiyat */
[data-kdv-goster][hidden] { display: none; }
.yd-kdv-yazi { white-space: nowrap; }

/* ---------- v12: büyük fiyatın altında fosfor (sarı işaretleyici) çizgisi ----------
   Panelden açılıp kapanır (formun data-fosfor'u; Ürün sayfası teması → Fiyat gösterimi). Çizgi yazının arkasında, yalnız
   rakamların alt yarısında: lacivert yazı sarının üstünde 12:1'in üstünde kontrastla okunur. Lacivert zeminde (koyu
   kutu ve çubuklar) beyaz yazının arkasına girmez, altına iner. Mutlak yerleşimli sözde öğe: yerleşim değişmez (CLS yok).
   Yükleniyorken ve tutar değişince kısa bir "sürme" ile çizilir (urun.js yd-fosfor-ciz sınıfı); azaltılmış harekette
   çizgi hareketsiz görünür. */
[data-fosfor="acik"] .yd-ana-fiyat .yd-fiyat-gorunen { position: relative; isolation: isolate; }
[data-fosfor="acik"] .yd-ana-fiyat .yd-fiyat-gorunen::before {
  content: ""; position: absolute; z-index: -1; pointer-events: none;
  left: -.12em; right: -.08em; top: .5em; bottom: .02em;
  background: linear-gradient(98deg, rgba(255, 208, 0, .34) 0%, rgba(255, 208, 0, .62) 7%, rgba(255, 214, 10, .55) 55%,
                              rgba(255, 208, 0, .6) 93%, rgba(255, 208, 0, .3) 100%);
  border-radius: .42em .2em .48em .26em / .5em .34em .44em .5em;
  transform: skewX(-10deg) rotate(-1.4deg); transform-origin: 0 50%;
}
[data-fosfor="acik"] .bg-0c1538 .yd-ana-fiyat .yd-fiyat-gorunen::before {
  top: auto; bottom: -.2em; height: .15em; left: 0; right: 0; background: #FFD000; opacity: .92;
}
[data-fosfor="acik"] .yd-fosfor-ciz .yd-fiyat-gorunen::before { animation: yd-fosfor-ciz .6s cubic-bezier(.3, .7, .25, 1) .15s both; }
@keyframes yd-fosfor-ciz { from { clip-path: inset(-20% 100% -20% 0); } to { clip-path: inset(-20% 0 -20% 0); } }
@media (prefers-reduced-motion: reduce) {
  [data-fosfor="acik"] .yd-fosfor-ciz .yd-fiyat-gorunen::before { animation: none; }
}

/* ---------- v12: masaüstü fiyat şeridi (fiyat kutusu görünmezken; sablonlar/_urun_ortak.html fiyat_seridi) ----------
   Yapışık başlığın hemen altında, sabit konumlu (yer kaplamaz, kayma yok). Kapalıyken başlığın arkasına çekilir ve
   görünmezdir (odak almaz). Katman: sayfa < mobil çubuk 30 < şerit 35 < başlık 40 (menu.css). */
.yd-fiyat-serit { position: fixed; left: 0; right: 0; top: var(--yd-ust-yukseklik, 0px); z-index: 35; background: #FFFFFF;
  color: #0C1538; border-bottom: 1px solid #E4E3EE; box-shadow: 0 12px 24px -16px rgba(12, 21, 56, .28);
  transform: translateY(-110%); visibility: hidden; transition: transform .2s ease-out, visibility 0s linear .2s; }
.yd-fiyat-serit.yd-acik { transform: none; visibility: visible; transition: transform .2s ease-out; }
.yd-fiyat-serit-ic { padding: 8px 24px; min-height: 60px; }
.yd-fiyat-serit-dugme { flex: 0 0 auto; }
.yd-fiyat-serit-ad { flex: 1 1 auto; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.yd-fiyat-serit .yd-ekle-ikili { flex-direction: row; align-items: center; }
.yd-fiyat-serit .yd-ekle-ikincil { display: none; }             /* eklendikten sonra yalnız "Sepete git" */
.yd-fiyat-serit .yd-sepete-git { min-height: 44px; }
/* odaklanan / kaydırılan form öğesi şeridin altında kalmasın. Yalnız formun içindekiler: kök öğeye scroll-padding vermek
   yapışık başlıktaki arama kutusunu "örtülü" sayıp yazarken sayfayı yukarı kaydırıyordu (v12 geliştirmesinde görüldü). */
.yd-serit-acik #ydUrun :where(*) { scroll-margin-top: calc(var(--yd-ust-yukseklik, 0px) + 76px); }
@media (max-width: 760px) { .yd-fiyat-serit { display: none !important; } }
@media (prefers-reduced-motion: reduce) { .yd-fiyat-serit, .yd-fiyat-serit.yd-acik { transition: none; } }

/* v13.1 "Bununla birlikte" "+ Ekle": kartın durum satırı (statik/urun.js caprazEkle); başarı yeşil, hata kırmızı */
.yd-capraz-durum { color: #0B5A36; font-weight: 600; }
.yd-capraz-durum.yd-capraz-hata { color: #B42318; }
.yd-capraz-durum a { color: #4636C4; font-weight: 700; text-decoration: underline; }
.yd-capraz-d[aria-busy="true"] { opacity: .7; cursor: progress; }

/* ---------- (v14) "Sepete eklendi" penceresi (sablonlar/_urun_ortak.html eklendi_penceresi, statik/urun.js) ----------
   Katman 80: sepet çekmecesiyle aynı katman (ikisi aynı anda açık olmaz); menü 78 < 80 < uçan nokta 90 < görüntüleyici 95
   (statik/menu.css katman sırası). Masaüstünde ortada 560 px, mobilde (≤ 760 px) alttan gelen sayfa. Yalnız
   transform/opacity canlanır; azaltılmış harekette canlanma yok. */
.yd-ep { position: fixed; inset: 0; z-index: 80; display: flex; align-items: center; justify-content: center; padding: 24px;
  box-sizing: border-box; font-family: 'Plus Jakarta Sans', system-ui, sans-serif; font-size: 15px; line-height: 1.45; color: #0C1538; }
.yd-ep[hidden] { display: none; }
.yd-ep-perde { position: absolute; inset: 0; background: rgba(12, 21, 56, .42); }
.yd-ep-panel { position: relative; width: min(560px, 100%); max-height: calc(100vh - 48px); max-height: calc(100dvh - 48px);
  display: flex; flex-direction: column; background: #FFFFFF; border-radius: 20px; outline: none;
  box-shadow: 0 32px 64px -24px rgba(12, 21, 56, .45); overflow: hidden; }
.yd-ep-ust { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 12px 14px 24px;
  border-bottom: 1px solid #E4E3EE; flex: 0 0 auto; }
.yd-ep-baslik { margin: 0; display: flex; align-items: center; gap: 10px; font-family: 'Bricolage Grotesque', system-ui, sans-serif;
  font-weight: 700; font-size: 22px; letter-spacing: -.01em; }
.yd-ep-baslik svg { flex: 0 0 auto; width: 30px; height: 30px; padding: 4px; box-sizing: border-box; border-radius: 50%;
  background: #DDF5E8; color: #0B5A36; }
.yd-ep-kapat { width: 44px; height: 44px; display: inline-flex; align-items: center; justify-content: center; border: 0;
  border-radius: 10px; background: transparent; color: #0C1538; cursor: pointer; }
.yd-ep-kapat:hover { background: #F5F3FF; }
.yd-ep-govde { flex: 1 1 auto; min-height: 0; overflow-y: auto; overscroll-behavior: contain; padding: 20px 24px;
  display: flex; flex-direction: column; gap: 20px; }
.yd-ep-urun { display: grid; grid-template-columns: 72px minmax(0, 1fr); gap: 14px; align-items: start; }
.yd-ep-gorsel { width: 72px; height: 72px; border-radius: 12px; border: 1px solid #E4E3EE; background: #FFFFFF; overflow: hidden;
  display: flex; align-items: center; justify-content: center; }
.yd-ep-gorsel img { width: 100%; height: 100%; object-fit: contain; display: block; }
.yd-ep-bilgi { min-width: 0; display: flex; flex-direction: column; gap: 4px; }
.yd-ep-ad { font-weight: 700; font-size: 16px; overflow-wrap: anywhere; }
.yd-ep-miktar { font-family: 'JetBrains Mono', ui-monospace, monospace; font-size: 13px; color: #4B5275; overflow-wrap: anywhere; }
.yd-ep-miktar:empty, .yd-ep-fiyat:has(> [data-ep-fiyat]:empty) { display: none; }
.yd-ep-fiyat > [data-ep-fiyat] { font-family: 'JetBrains Mono', ui-monospace, monospace; font-weight: 600; font-size: 15px; }
.yd-ep-kdv { font-size: 13px; color: #4B5275; }
.yd-ep-cip { align-self: flex-start; display: inline-flex; align-items: center; gap: 6px; min-height: 24px; padding: 0 9px; margin-top: 2px;
  border-radius: 999px; font-size: 12px; font-weight: 600; background: #F5F3FF; color: #4636C4; }
.yd-ep-cip::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.yd-ep-cip[data-durum="bekleniyor"], .yd-ep-cip[data-durum="uyari"] { background: #FFF0B3; color: #5C4300; }
.yd-ep-cip[data-durum="gecti"], .yd-ep-cip[data-durum="kaynak"] { background: #DDF5E8; color: #0B5A36; }
.yd-ep-cip[data-durum="hata"] { background: #FEF3F2; color: #7A271A; }
.yd-ep-dosya { align-self: flex-start; display: inline-flex; align-items: center; min-height: 44px; font-weight: 700; font-size: 14.5px;
  color: #4636C4; text-decoration: underline; text-underline-offset: 3px; }
.yd-ep-oneri { display: flex; flex-direction: column; gap: 10px; padding-top: 16px; border-top: 1px solid #E4E3EE; }
.yd-ep-oneri-baslik { margin: 0; font-family: 'Bricolage Grotesque', system-ui, sans-serif; font-weight: 700; font-size: 18px; }
.yd-ep-liste { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.yd-ep-kart { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border: 1px solid #E4E3EE; border-radius: 14px; background: #FFFFFF; }
.yd-ep-kart-gorsel { flex: 0 0 56px; width: 56px; height: 56px; border-radius: 10px; object-fit: cover; display: block; background: #F5F3FF; }
.yd-ep-kart-bos { border: 1px dashed #CFC8FF; box-sizing: border-box; }
.yd-ep-kart-bilgi { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.yd-ep-kart-ad { font-weight: 700; font-size: 14.5px; color: #0C1538; overflow-wrap: anywhere; }
.yd-ep-kart-fiyat { font-family: 'JetBrains Mono', ui-monospace, monospace; font-size: 13px; font-weight: 600; }
.yd-ep-alt { flex: 0 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; padding: 16px 24px 20px;
  border-top: 1px solid #E4E3EE; background: #FAFAFC; }
.yd-ep-birincil, .yd-ep-ikincil { display: flex; align-items: center; justify-content: center; min-height: 52px; padding: 0 16px;
  box-sizing: border-box; border-radius: 12px; font: inherit; font-weight: 700; font-size: 16px; text-align: center; cursor: pointer; text-decoration: none; }
.yd-ep-birincil { background: #5B4BE8; color: #FFFFFF; border: 0; box-shadow: 0 10px 24px -12px rgba(91, 75, 232, .7); }
.yd-ep-birincil:hover { background: #4636C4; }
.yd-ep-ikincil { background: #FFFFFF; color: #0C1538; border: 1.5px solid #0C1538; }
.yd-ep-ikincil:hover { background: #F5F3FF; }
:where(.yd-ep) :focus-visible { outline: 2px solid #5B4BE8; outline-offset: 2px; }
.yd-ep-birincil:focus-visible { outline-color: #0C1538; }
.yd-ep-panel:focus, .yd-ep-panel:focus-visible { outline: none; }
.yd-ep-govde[aria-busy="true"] .yd-ep-urun { opacity: .7; }
@media (max-width: 760px) {
  .yd-ep { align-items: flex-end; padding: 0; }
  .yd-ep-panel { width: 100%; max-height: 92vh; max-height: 92dvh; border-radius: 20px 20px 0 0; }
  .yd-ep-ust { padding: 10px 8px 10px 16px; }
  .yd-ep-baslik { font-size: 20px; }
  .yd-ep-govde { padding: 16px; gap: 16px; }
  .yd-ep-alt { grid-template-columns: 1fr; padding: 12px 16px max(16px, env(safe-area-inset-bottom, 0px)); }
  /* dar ekranda kartın düğmesi/bağlantısı bilginin altında (ad sıkışmasın) */
  .yd-ep-kart { display: grid; grid-template-columns: 56px minmax(0, 1fr); align-items: start; row-gap: 8px; }
  .yd-ep-kart > :last-child { grid-column: 2; justify-self: start; }
}
@media (prefers-reduced-motion: no-preference) {
  .yd-ep.yd-ep-acik .yd-ep-perde { animation: yd-ep-perde var(--h-orta, 200ms) var(--h-egri, ease) both; }
  .yd-ep.yd-ep-acik .yd-ep-panel { animation: yd-ep-gir 260ms var(--h-egri-vurgu, cubic-bezier(.05, .7, .1, 1)) both; }
}
@keyframes yd-ep-perde { from { opacity: 0; } to { opacity: 1; } }
@keyframes yd-ep-gir { from { opacity: 0; transform: translateY(16px) scale(.98); } to { opacity: 1; transform: none; } }
@media (max-width: 760px) and (prefers-reduced-motion: no-preference) {
  .yd-ep.yd-ep-acik .yd-ep-panel { animation-name: yd-ep-gir-m; }
}
@keyframes yd-ep-gir-m { from { transform: translateY(100%); } to { transform: none; } }

/* ---------- v23: fiyat kartının alt satırları (seçim özeti, tahmini kargo) ve üretim süresi kartı ----------
   Tek düzen: yumuşak zeminli simge dairesi + küçük başlık + değer; ince ayırıcı; sakin renkler. */
.yd-ozet-satir { display: flex; align-items: flex-start; gap: 12px; min-width: 0; }
.yd-ozet-secim { padding-top: 14px; border-top: 1px solid #ECEBF3; }
.yd-ozet-simge { flex: 0 0 34px; width: 34px; height: 34px; display: inline-flex; align-items: center; justify-content: center;
  border-radius: 10px; background: #F3F1FE; color: #4636C4; }
.yd-ozet-govde { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.yd-ozet-etiket { font-size: 11.5px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: #6B7090; }
.yd-ozet-deger { font-size: 13.5px; line-height: 1.45; color: #0C1538; overflow-wrap: anywhere; }
.yd-teslim { padding: 12px; border-radius: 12px; background: #F7F8FB; }
.yd-teslim .yd-ozet-simge { background: #FFFFFF; box-shadow: inset 0 0 0 1px #E4E3EE; }
.yd-teslim-tarih { font-size: 15px; font-weight: 700; color: #0C1538; }
.yd-teslim-not { font-size: 12.5px; color: #4B5275; }
.yd-sure-d { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 12px; width: 100%;
  box-sizing: border-box; text-align: left; }
@media (hover: hover) { .yd-sure-d:hover { border-color: #B9BCD0; } }
.yd-sure-sol { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; font-size: 14.5px; }
.yd-sure-ad { line-height: 1.3; }
.yd-sure-sag { display: inline-flex; align-items: center; gap: 8px; }
.yd-sure-hap { padding: 4px 10px; border-radius: 999px; background: #F3F1FE; color: #33288F; font-size: 13px; font-weight: 700;
  white-space: nowrap; font-variant-numeric: tabular-nums; }
.yd-sure-ok { color: #4B5275; transition: transform .15s; }
.yd-sure-ok-acik { transform: rotate(180deg); }
.yd-sure-ayrinti { color: #0C1538; }
@media (prefers-reduced-motion: reduce) { .yd-sure-ok { transition: none; } }

/* v25: Bilgileriniz Tasarım'dan önceyse kısa yönlendirme (_urun_tema.sira_ipucu) */
.yd-sira-ipucu { margin: 0; padding: 10px 12px; border-radius: 10px; background: #F3F1FE; color: #33288F; font-size: 13.5px; line-height: 1.45; }

/* v31.12 (U): güven kutusu (sablonlar/_guven_kutu.html; Panel › Mağaza görünümü › Güven kutusu). Fiyat kutusunun altında;
   ≥1800 px ekranda sayfanın sağ boşluğunda (sağ sütunun yanında) durur. */
.yd-gk { box-sizing: border-box; padding: 16px; border: 1px solid #E4E3EE; border-radius: 16px; background: #FFFFFF; display: flex;
  flex-direction: column; gap: 12px; font-size: 13px; line-height: 1.45; color: #0C1538; }
.yd-gk-baslik { margin: 0; display: flex; align-items: center; gap: 8px; font-family: 'Bricolage Grotesque', system-ui, sans-serif;
  font-size: 15px; font-weight: 700; }
.yd-gk-baslik-simge { display: inline-flex; align-items: center; justify-content: center; width: 28px; height: 28px; border-radius: 8px;
  background: #E3F5EA; color: #0B5A36; flex: 0 0 auto; }
.yd-gk-liste { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.yd-gk-satir { display: flex; align-items: flex-start; gap: 10px; }
.yd-gk-simge { display: inline-flex; flex: 0 0 auto; margin-top: 1px; color: #5B4BE8; }
.yd-gk-yazi { display: flex; flex-direction: column; gap: 1px; min-width: 0; }
.yd-gk-yazi > span { color: #4B5275; font-size: 12.5px; }
.yd-gk-odeme { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; padding-top: 12px; border-top: 1px dashed #E4E3EE;
  color: #4B5275; font-size: 12.5px; }
.yd-gk-kartlar { display: inline-flex; align-items: center; gap: 8px; }
.yd-gk-gorseller { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; padding-top: 12px; border-top: 1px dashed #E4E3EE; }
.yd-gk-gorseller a { display: inline-flex; }
.yd-gk-gorsel { max-width: 100%; height: auto; max-height: 72px; width: auto; object-fit: contain; border-radius: 6px; }
.yd-gk-etbis, .yd-gk-etbis a { display: flex; align-items: center; gap: 10px; color: #0C1538; font-weight: 600; font-size: 12.5px; }
.yd-gk-etbis img { width: 56px; height: 56px; object-fit: contain; }
@media (min-width: 1800px) {
  .yd-us-sagda .yd-us-sag > .yd-gk { position: absolute; left: calc(100% + 28px); top: 0; width: 216px; }
  .yd-us-sagda .yd-us-sag > .yd-gk .yd-gk-gorsel { max-height: none; }
}
@media print { .yd-gk { display: none; } }
