/* v31.4 (P) · Yıldız Pusula sihirbazı (sablonlar/pusula.html). Sepet/ödeme akışının görünümü (adım göstergesi, koyu
   özet kutusu, birincil düğme; odeme_akis.css'ten kopya, yd-pu-oa-*) + bu ekranın kartları. Renkler sitenin paleti: lacivert #0C1538, mor
   #5B4BE8 / #4636C4, açık mor #F5F3FF / #E9E5FF, logo sarısı #FFD000. Hareket yalnız transform/opacity; hareketi azaltmış
   ziyaretçide yok. 320–1440 px'te yatay kaydırma yok. */


/* ---------- sepet/ödeme akışının (v30.9, statik/odeme_akis.css) bu ekranda kullanılan kuralları ----------
   odeme_akis.css yalnız sepet/teslimat/ödeme/sipariş ekranlarında yüklenir (tests/test_v309); aynı görünüm için kurallar
   buraya yd-pu-oa-* adıyla kopyalandı. odeme_akis.css değişirse burası da güncellenmeli. */
.yd-pu-oa-rakam { font-family: 'Plus Jakarta Sans', system-ui, sans-serif; font-variant-numeric: tabular-nums lining-nums; font-feature-settings: "tnum" 1, "lnum" 1; }
.yd-pu-oa-ikincil { font-family: 'Plus Jakarta Sans', system-ui, sans-serif; font-size: 13.5px; line-height: 1.45; color: #4B5275; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.yd-pu-oa-fiyat { font-family: 'Plus Jakarta Sans', system-ui, sans-serif; font-size: 20px; font-weight: 700; letter-spacing: -.01em; white-space: nowrap; font-variant-numeric: tabular-nums; color: #0C1538; }
.yd-pu-oa-kdv { font-size: 12.5px; font-weight: 500; color: #4B5275; }
.yd-pu-oa-adimlar { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-family: 'Plus Jakarta Sans', system-ui, sans-serif; font-size: 14px; font-weight: 600; color: #4B5275; }
.yd-pu-oa-adimlar li { display: flex; align-items: center; gap: 10px; }
.yd-pu-oa-adimlar a { display: flex; align-items: center; gap: 10px; min-height: 44px; color: #0C1538; text-decoration: none; border-radius: 10px; }
.yd-pu-oa-adimlar a:hover .yd-pu-oa-adim-ad { text-decoration: underline; text-underline-offset: 3px; }
.yd-pu-oa-adim-no { display: inline-flex; align-items: center; justify-content: center; width: 28px; height: 28px; box-sizing: border-box; border-radius: 50%; border: 1.5px solid #B9BCD0; background: #FFFFFF; color: #4B5275; font-size: 13px; font-weight: 700; font-variant-numeric: tabular-nums; }
.yd-pu-oa-adim-bitti .yd-pu-oa-adim-no { border-color: #5B4BE8; background: #F5F3FF; color: #4636C4; }
.yd-pu-oa-adim-sonra { color: #4B5275; }
.yd-pu-oa-adim-simdi { color: #0C1538; }
.yd-pu-oa-adim-simdi .yd-pu-oa-adim-no { border-color: #5B4BE8; background: #5B4BE8; color: #FFFFFF; box-shadow: 0 0 0 4px #E9E5FF; }
.yd-pu-oa-adim-cizgi { width: 40px; height: 2px; border-radius: 2px; background: #E4E3EE; }
.yd-pu-oa-adim-cizgi-dolu { background: #5B4BE8; }
.yd-pu-oa-ozet-kutu { overflow: hidden; border-radius: 20px; box-shadow: 0 24px 48px -28px rgba(12, 21, 56, .55); }
.yd-pu-oa-ozet-kutu { position: relative; }
@media (min-width: 1000px) {
  .yd-pu-oa-ozet-kutu.yd-stick { position: sticky; top: 24px; }
}
.yd-pu-oa-ozet-kutu::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 4px; background: linear-gradient(90deg, #FFD000 0 33%, #5B4BE8 33% 100%); }
.yd-pu-oa-ozet { display: flex; flex-direction: column; font-family: 'Plus Jakarta Sans', system-ui, sans-serif; font-size: 15px; font-variant-numeric: tabular-nums; }
.yd-pu-oa-ozet-satir { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 11px 0; border-top: 1px solid #2B3566; }
.yd-pu-oa-ozet-satir > span:first-child { color: #C9CDE6; font-weight: 500; }
.yd-pu-oa-ozet-satir > span:last-child { font-weight: 600; text-align: right; white-space: nowrap; }
.yd-pu-oa-ozet-satir [data-kg-ozet] { white-space: normal; }
.yd-pu-oa-ozet-toplam { display: flex; justify-content: space-between; align-items: baseline; flex-wrap: wrap; gap: 4px 16px; margin-top: 4px; padding-top: 16px; border-top: 1.5px solid rgba(255, 255, 255, .9); }
.yd-pu-oa-ozet-toplam > span:first-child { font-weight: 700; font-size: 16px; }
.yd-pu-oa-toplam-tutar { font-family: 'Bricolage Grotesque', system-ui, sans-serif; font-weight: 700; font-size: 36px; line-height: 1.05; letter-spacing: -.02em; font-variant-numeric: tabular-nums; white-space: nowrap; }
.yd-pu-oa-ozet-alt { display: block; font-size: 12.5px; font-weight: 500; color: #C9CDE6; white-space: normal; }
.yd-pu-oa-birincil { display: flex; align-items: center; justify-content: center; gap: 10px; min-height: 56px; padding: 0 20px; box-sizing: border-box; border: 0; border-radius: 14px; background: #5B4BE8; color: #FFFFFF; font-family: inherit; font-weight: 700; font-size: 17px; text-decoration: none; cursor: pointer; box-shadow: 0 10px 24px -12px rgba(91, 75, 232, .8); transition: background-color .15s ease, transform .15s ease; font-variant-numeric: tabular-nums; }
.yd-pu-oa-birincil:hover { background: #4636C4; }
.yd-pu-oa-birincil:active { transform: translateY(1px); }
.yd-pu-oa-birincil svg { flex: 0 0 auto; }
.yd-pu-oa-ikincil-dugme { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 18px; box-sizing: border-box; border: 1.5px solid #0C1538; border-radius: 12px; background: #FFFFFF; color: #0C1538; font-family: inherit; font-weight: 700; text-decoration: none; cursor: pointer; }
.yd-pu-oa-ikincil-dugme:hover { background: #F5F3FF; }
.yd-pu-ana :is(a, button, input, select, textarea, summary):focus-visible { outline: 3px solid #5B4BE8; outline-offset: 2px; }
.yd-pu-oa-ozet-kutu :is(a, button, input, summary):focus-visible { outline: 3px solid #FFD000; outline-offset: 2px; }
.yd-pu-ana input[type=text], .yd-pu-ana input[type=tel], .yd-pu-ana input[type=email], .yd-pu-ana input[type=number], .yd-pu-ana select, .yd-pu-ana textarea { transition: border-color .15s ease, box-shadow .15s ease; }
.yd-pu-oa-uyari { display: flex; align-items: flex-start; gap: 10px; }
.yd-pu-oa-uyari svg { flex: 0 0 auto; margin-top: 2px; }
@media (min-width: 761px) and (max-width: 1099px) {
  .yd-pu-oa-ozet-kutu { max-width: none; flex-basis: 100%; }
  .yd-pu-oa-ozet-kutu.yd-stick { position: relative; top: auto; }
}
@media (max-width: 760px) {
  .yd-pu-oa-birincil { min-height: 54px; font-size: 16.5px; }
  .yd-pu-oa-toplam-tutar { font-size: 30px; }
}
@media (prefers-reduced-motion: reduce) {
  .yd-pu-oa-birincil { transition: none; }
}

/* ---------- bu ekranın kuralları (yukarıdakilerden sonra; aynı özgüllükte bunlar geçer) ----------
   v31.12: koyu başlık paneli + pusula motifi, iş türü kartlarında üstüne gelme/odak etkileri, seçim geri bildirimi,
   kademe ilerleme çubuğu, "Başka ürün ekle". Hareket eden her şey yalnız transform/opacity ile (renk/kenar değişimleri
   geçişsiz ya da ayrı bir katmanın opaklığıyla); yerleşim kaymaz. Üstüne gelme etkileri yalnız fareli cihazda
   (@media (hover: hover)); aynı etki klavye odağında (:focus-visible) da var; bilgi hiçbir yerde hover'a bağlı değil. */
.yd-pu { padding: 32px 24px 72px; gap: 28px; color: #0C1538; }
.yd-pu a { color: inherit; }

@keyframes yd-pu-gir { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
@keyframes yd-pu-don { to { transform: rotate(360deg); } }
@keyframes yd-pu-salin { 0% { transform: rotate(-9deg); } 45% { transform: rotate(12deg); } 75% { transform: rotate(-3deg); } 100% { transform: rotate(7deg); } }
@keyframes yd-pu-titre { from { transform: rotate(-2.5deg); } to { transform: rotate(2.5deg); } }
@keyframes yd-pu-nefes { from { opacity: .55; transform: scale(.94); } to { opacity: 1; transform: scale(1.06); } }
@keyframes yd-pu-isilti { 0%, 100% { opacity: .15; transform: scale(.6); } 50% { opacity: 1; transform: scale(1.1); } }
@keyframes yd-pu-kipir { 0% { transform: rotate(0); } 30% { transform: rotate(-12deg) scale(1.08); } 60% { transform: rotate(9deg) scale(1.08); } 100% { transform: rotate(0); } }
@keyframes yd-pu-parla { 0% { transform: scale(1); } 40% { transform: scale(1.08); } 100% { transform: scale(1); } }
@keyframes yd-pu-tik { 0% { transform: scale(.3); } 60% { transform: scale(1.25); } 100% { transform: scale(1); } }
@keyframes yd-pu-nabiz { 0% { opacity: .75; transform: scale(1); } 100% { opacity: 0; transform: scale(1.022, 1.07); } }
@keyframes yd-pu-fiyat-yeni { from { opacity: .15; transform: translateY(7px); } to { opacity: 1; transform: none; } }
@keyframes yd-pu-git { to { opacity: 0; transform: scale(.97); } }

/* ---------- başlık (koyu panel) ---------- */
.yd-pu-bas { position: relative; isolation: isolate; overflow: hidden; display: grid; grid-template-columns: minmax(0, 1fr) auto;
  align-items: center; gap: 24px 48px; padding: 44px 48px; border-radius: 28px; background: #0C1538; color: #FFFFFF; }
.yd-pu-bas::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 4px; background: linear-gradient(90deg, #FFD000 0 33%, #5B4BE8 33% 100%); }
.yd-pu-bas::after { content: ""; position: absolute; z-index: -1; right: -150px; top: -170px; width: 560px; height: 560px; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(91, 75, 232, .6), rgba(91, 75, 232, 0)); animation: yd-pu-nefes 6s ease-in-out infinite alternate; }
.yd-pu-bas-yazi { min-width: 0; max-width: 760px; display: flex; flex-direction: column; align-items: flex-start; gap: 14px; }
.yd-pu-goz { display: inline-flex; align-items: center; gap: 8px; padding: 6px 13px 6px 10px; border-radius: 999px;
  background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .18); color: #FFD000;
  font-family: 'Plus Jakarta Sans', system-ui, sans-serif; font-size: 12.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.yd-pu-h1 { font-size: clamp(30px, 4.6vw, 54px); overflow-wrap: anywhere; }
.yd-pu-bas-dar { padding: 34px 44px; }
.yd-pu-bas-dar .yd-pu-h1 { font-size: clamp(28px, 3.6vw, 42px); }
.yd-pu-aciklama { font-size: 17px; line-height: 1.5; color: #C9CDE6; }
.yd-pu-aciklama-acik { color: #4B5275; }
.yd-pu-rozetler { list-style: none; margin: 2px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.yd-pu-rozet { display: inline-flex; align-items: baseline; gap: 7px; padding: 7px 14px; border-radius: 999px; border: 1px solid rgba(255, 208, 0, .6);
  background: rgba(255, 208, 0, .08); animation: yd-pu-gir .5s cubic-bezier(.2, .7, .2, 1) both; }
.yd-pu-rozet:nth-child(2) { animation-delay: .08s; } .yd-pu-rozet:nth-child(3) { animation-delay: .16s; }
.yd-pu-rozet:nth-child(n+4) { animation-delay: .24s; }
.yd-pu-rozet-oran { font-size: 19px; line-height: 1; color: #FFD000; }
.yd-pu-rozet-ad { font-size: 12.5px; font-weight: 600; color: #E4E6F5; }
.yd-pu-indirim-not { display: flex; align-items: flex-start; gap: 10px; padding: 12px 14px; border-radius: 14px;
  background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .14); color: #E4E6F5; font-size: 14px; line-height: 1.5; font-weight: 500; }
.yd-pu-yuzde { flex: 0 0 auto; display: inline-flex; align-items: center; justify-content: center; width: 26px; height: 26px;
  border-radius: 8px; background: #FFD000; color: #0C1538; font-weight: 800; font-size: 14px; }

/* pusula motifi (süs): halka döner, iğne salınır; JS varsa iğne imleci / odaklanan kartı gösterir (--pu-aci) */
.yd-pu-motif { display: block; flex: 0 0 auto; width: 200px; height: 200px; animation: yd-pu-gir .6s cubic-bezier(.2, .7, .2, 1) both; }
.yd-pu-bas-dar .yd-pu-motif { width: 136px; height: 136px; }
.yd-pu-motif-svg { display: block; width: 100%; height: 100%; overflow: visible; }
.yd-pu-motif-halka, .yd-pu-motif-yon, .yd-pu-motif-igne { transform-box: view-box; transform-origin: 50% 50%; }
.yd-pu-motif-halka { animation: yd-pu-don 70s linear infinite; }
.yd-pu-motif-yon { transform: rotate(var(--pu-aci, 32deg)); transition: transform .7s cubic-bezier(.3, 1.45, .45, 1); }
.yd-pu-motif-igne { animation: yd-pu-salin 6s ease-in-out infinite alternate; }
.yd-pu-motif-izliyor .yd-pu-motif-yon { transition-duration: .28s; transition-timing-function: cubic-bezier(.2, .8, .2, 1); }
.yd-pu-motif-izliyor .yd-pu-motif-igne { animation: yd-pu-titre .9s ease-in-out infinite alternate; }
.yd-pu-motif-yildiz, .yd-pu-motif-isilti { transform-box: fill-box; transform-origin: 50% 50%; }
.yd-pu-motif-yildiz { animation: yd-pu-parla 3.2s ease-in-out infinite; }
.yd-pu-motif-isilti { animation: yd-pu-isilti 3.4s ease-in-out infinite; }
.yd-pu-motif-isilti-2 { animation-delay: 1.1s; } .yd-pu-motif-isilti-3 { animation-delay: 2.1s; }

.yd-pu-adimlar { margin-top: -4px; }
.yd-pu-dipnot { font-size: 14.5px; color: #4B5275; }
.yd-pu-dipnot a, .yd-pu-bilgi a { color: #4636C4; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.yd-pu-bilgi { display: flex; flex-direction: column; gap: 16px; padding: 20px; border-radius: 18px; background: #FFFFFF;
  border: 1px solid #E4E3EE; font-size: 16px; line-height: 1.5; }
.yd-pu-onizleme { padding: 12px 16px; border-radius: 12px; background: #FFF4CC; color: #5C4300; font-weight: 600; font-size: 14.5px; }
.yd-pu-dugme { width: 100%; }
.yd-pu-dugme[disabled] { background: #8A8FB0; box-shadow: none; cursor: not-allowed; }

/* ---------- 1. adım: iş türleri ---------- */
.yd-pu-turler { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 270px), 1fr));
  gap: 16px; }
.yd-pu-tur-kap { position: relative; animation: yd-pu-gir .5s cubic-bezier(.2, .7, .2, 1) both; }
/* gölge ayrı katmanda: üstüne gelince yalnız opaklığı değişir */
.yd-pu-tur-kap::after { content: ""; position: absolute; z-index: 0; inset: 10px 12px -4px; border-radius: 20px;
  box-shadow: 0 20px 34px -12px rgba(70, 54, 196, .55); opacity: 0; transition: opacity .25s ease; pointer-events: none; }
.yd-pu-tur { position: relative; z-index: 1; overflow: hidden; display: flex; align-items: center; gap: 14px; min-height: 96px; height: 100%;
  padding: 16px 16px 16px 14px; box-sizing: border-box; border-radius: 18px; background: #FFFFFF; box-shadow: inset 0 0 0 1px #E4E3EE;
  text-decoration: none; transition: transform .28s cubic-bezier(.2, .8, .2, 1); -webkit-tap-highlight-color: transparent; }
/* renkli kenar (mor → sarı): maskeli katman, opaklıkla belirir */
.yd-pu-tur::before { content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 2px;
  background: linear-gradient(120deg, #5B4BE8, #8F82FF 45%, #FFD000);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0); opacity: 0; transition: opacity .2s ease; pointer-events: none; }
/* ışık süpürmesi */
.yd-pu-tur::after { content: ""; position: absolute; top: 0; bottom: 0; left: 0; width: 45%; opacity: 0; pointer-events: none;
  background: linear-gradient(100deg, rgba(255, 255, 255, 0), rgba(91, 75, 232, .13) 42%, rgba(255, 208, 0, .2) 58%, rgba(255, 255, 255, 0));
  transform: translateX(-130%) skewX(-18deg); }
.yd-pu-tur-simge { position: relative; flex: 0 0 auto; display: inline-flex; align-items: center; justify-content: center; width: 56px; height: 56px;
  border-radius: 16px; background: #F5F3FF; color: #4636C4; transition: transform .32s cubic-bezier(.3, 1.5, .5, 1); }
.yd-pu-tur-simge::before { content: ""; position: absolute; inset: 0; border-radius: inherit; background: #FFD000; opacity: 0; transition: opacity .2s ease; }
.yd-pu-tur-simge svg { position: relative; }
.yd-pu-tur-yazi { position: relative; flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.yd-pu-tur-ad { font-size: 18px; line-height: 1.2; overflow-wrap: anywhere; }
.yd-pu-tur-alt { font-size: 13.5px; line-height: 1.4; color: #4B5275; overflow-wrap: anywhere; }
.yd-pu-tur-ok { position: relative; flex: 0 0 auto; color: #4636C4; opacity: .5; transition: opacity .2s ease, transform .28s cubic-bezier(.2, .8, .2, 1); }
.yd-pu-tur:focus-visible { outline: 3px solid #5B4BE8; outline-offset: 3px; transform: translateY(-4px); }
.yd-pu-tur:focus-visible::before, .yd-pu-tur-kap:focus-within::after { opacity: 1; }
.yd-pu-tur:focus-visible::after { opacity: 1; transform: translateX(330%) skewX(-18deg); transition: transform .75s ease; }
.yd-pu-tur:focus-visible .yd-pu-tur-simge { transform: rotate(-8deg) scale(1.1); }
.yd-pu-tur:focus-visible .yd-pu-tur-simge::before { opacity: 1; }
.yd-pu-tur:focus-visible .yd-pu-tur-simge svg { animation: yd-pu-kipir .6s ease; }
.yd-pu-tur:focus-visible .yd-pu-tur-ok { opacity: 1; transform: translateX(5px); }
@media (hover: hover) {
  .yd-pu-tur:hover { transform: translateY(-4px); }
  .yd-pu-tur:hover::before, .yd-pu-tur-kap:hover::after { opacity: 1; }
  .yd-pu-tur:hover::after { opacity: 1; transform: translateX(330%) skewX(-18deg); transition: transform .75s ease; }
  .yd-pu-tur:hover .yd-pu-tur-simge { transform: rotate(-8deg) scale(1.1); }
  .yd-pu-tur:hover .yd-pu-tur-simge::before { opacity: 1; }
  .yd-pu-tur:hover .yd-pu-tur-simge svg { animation: yd-pu-kipir .6s ease; }
  .yd-pu-tur:hover .yd-pu-tur-ok { opacity: 1; transform: translateX(5px); }
  .yd-pu-kalem:hover .yd-pu-gorsel { transform: scale(1.08); }
  .yd-pu-ek-ekle:hover { background: #5B4BE8; color: #FFFFFF; }
}
.yd-pu-tur:active { transform: scale(.985); }
.yd-pu-tur-kap:nth-child(2) { animation-delay: .04s; } .yd-pu-tur-kap:nth-child(3) { animation-delay: .08s; }
.yd-pu-tur-kap:nth-child(4) { animation-delay: .12s; } .yd-pu-tur-kap:nth-child(5) { animation-delay: .16s; }
.yd-pu-tur-kap:nth-child(6) { animation-delay: .2s; } .yd-pu-tur-kap:nth-child(7) { animation-delay: .24s; }
.yd-pu-tur-kap:nth-child(8) { animation-delay: .28s; } .yd-pu-tur-kap:nth-child(9) { animation-delay: .32s; }
.yd-pu-tur-kap:nth-child(10) { animation-delay: .36s; } .yd-pu-tur-kap:nth-child(11) { animation-delay: .4s; }
.yd-pu-tur-kap:nth-child(12) { animation-delay: .44s; } .yd-pu-tur-kap:nth-child(n+13) { animation-delay: .48s; }

/* ---------- 2. adım: paket ---------- */
.yd-pu-geri { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; color: #4636C4; text-decoration: none; }
.yd-pu-geri:hover { text-decoration: underline; text-underline-offset: 3px; }
.yd-pu-govde { display: flex; flex-wrap: wrap; align-items: flex-start; gap: 28px 40px; }
.yd-pu-liste-kap { flex: 999 1 560px; min-width: 0; display: flex; flex-direction: column; gap: 14px; }
.yd-pu-liste { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 14px; }
.yd-pu-liste:empty { display: none; }
.yd-pu-kalem { position: relative; display: flex; flex-direction: column; gap: 14px; padding: 16px 18px; border: 1px solid #E4E3EE; border-radius: 18px;
  background: #FFFFFF; animation: yd-pu-gir .45s cubic-bezier(.2, .7, .2, 1) both; }
.yd-pu-liste > .yd-pu-kalem:nth-child(2) { animation-delay: .05s; } .yd-pu-liste > .yd-pu-kalem:nth-child(3) { animation-delay: .1s; }
.yd-pu-liste > .yd-pu-kalem:nth-child(4) { animation-delay: .15s; } .yd-pu-liste > .yd-pu-kalem:nth-child(n+5) { animation-delay: .2s; }
/* seçili kartın sol şeridi (yukarıdan aşağı açılır) ve seçim anındaki halka */
.yd-pu-kalem::before { content: ""; position: absolute; left: -1px; top: 16px; bottom: 16px; width: 4px; border-radius: 0 4px 4px 0;
  background: linear-gradient(180deg, #FFD000 0 26%, #5B4BE8 26% 100%); transform: scaleY(0); transform-origin: 50% 0;
  transition: transform .32s cubic-bezier(.2, .8, .2, 1); }
.yd-pu-kalem-secili::before { transform: scaleY(1); }
.yd-pu-kalem::after { content: ""; position: absolute; inset: -1px; border-radius: inherit; border: 2px solid #5B4BE8; opacity: 0; pointer-events: none; }
.yd-pu-kalem-nabiz::after { animation: yd-pu-nabiz .6s ease-out; }
.yd-pu-kalem-gidiyor { animation: yd-pu-git .22s ease forwards; }
.yd-pu-kalem-secili { border-color: #CFC8FF; box-shadow: 0 1px 2px rgba(12, 21, 56, .04); }
.yd-pu-kalem:not(.yd-pu-kalem-secili) { background: #FAFAFD; }
.yd-pu-kalem:not(.yd-pu-kalem-secili) .yd-pu-gorsel, .yd-pu-kalem:not(.yd-pu-kalem-secili) .yd-pu-fiyat { opacity: .55; }
.yd-pu-kalem-hatali { border-color: #F3B8B2; }
.yd-pu-kalem-ek { border-style: dashed; }
.yd-pu-kalem-ust { display: grid; grid-template-columns: auto auto minmax(0, 1fr) auto; align-items: center; gap: 12px 14px; }
.yd-pu-sec { position: relative; display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px;
  cursor: pointer; }
.yd-pu-sec input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.yd-pu-sec-kutu { display: inline-flex; align-items: center; justify-content: center; width: 28px; height: 28px; box-sizing: border-box;
  border: 2px solid #8A8FB0; border-radius: 8px; background: #FFFFFF; color: transparent; transition: transform .15s ease; }
.yd-pu-sec input:checked + .yd-pu-sec-kutu { border-color: #5B4BE8; background: #5B4BE8; color: #FFFFFF; }
.yd-pu-sec input:checked + .yd-pu-sec-kutu svg { animation: yd-pu-tik .38s cubic-bezier(.3, 1.4, .5, 1); }
.yd-pu-sec input:focus-visible + .yd-pu-sec-kutu { outline: 3px solid #5B4BE8; outline-offset: 2px; }
.yd-pu-sec:active .yd-pu-sec-kutu { transform: scale(.88); }
.yd-pu-gorsel-kap { display: block; flex: 0 0 auto; width: 72px; height: 72px; border-radius: 12px; overflow: hidden; background: #F5F3FF; }
.yd-pu-gorsel { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .35s cubic-bezier(.2, .8, .2, 1), opacity .15s ease; }
.yd-pu-gorsel-bos { display: flex; align-items: center; justify-content: center; color: #4636C4; border: 1px dashed #CFC8FF; border-radius: 12px;
  box-sizing: border-box; }
.yd-pu-kalem-ad { min-width: 0; display: flex; flex-direction: column; gap: 4px; }
.yd-pu-urun-ad { font-size: 16.5px; line-height: 1.3; text-decoration: none; overflow-wrap: anywhere; }
.yd-pu-urun-ad:hover { text-decoration: underline; text-underline-offset: 3px; }
.yd-pu-kalem-alt { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; }
.yd-pu-durum { font-size: 12.5px; font-weight: 600; color: #4636C4; }
.yd-pu-kalem:not(.yd-pu-kalem-secili) .yd-pu-durum { color: #4B5275; }
.yd-pu-ek-rozet { padding: 2px 8px; border-radius: 999px; background: #FFF4CC; color: #5C4300; font-size: 12px; font-weight: 700; }
.yd-pu-ek-kaldir { min-height: 32px; padding: 0 2px; border: 0; background: none; color: #4636C4; font-family: inherit; font-size: 12.5px; font-weight: 700;
  text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.yd-pu-fiyat { display: flex; flex-direction: column; align-items: flex-end; gap: 2px; text-align: right; transition: opacity .15s ease; }
.yd-pu-fiyat .yd-oa-kdv { white-space: normal; }
.yd-pu-guncelleniyor .yd-pu-fiyat { opacity: .45; }
.yd-pu-fiyat-yeni .yd-pu-oa-fiyat { animation: yd-pu-fiyat-yeni .4s cubic-bezier(.2, .7, .2, 1); }
.yd-pu-secenekler { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 190px), 1fr)); gap: 12px 14px;
  padding-top: 14px; border-top: 1px solid #EEEDF5; }
.yd-pu-alan { display: flex; flex-direction: column; gap: 6px; min-width: 0; margin: 0; padding: 0; border: 0; font-size: 13.5px;
  font-weight: 600; color: #0C1538; }
.yd-pu-alan legend { padding: 0; margin-bottom: 6px; font-size: 13.5px; font-weight: 600; }
.yd-pu-alan-ad { overflow-wrap: anywhere; }
.yd-pu-girdi { width: 100%; min-height: 48px; box-sizing: border-box; padding: 0 12px; border: 1px solid #B9BCD0; border-radius: 10px;
  background: #FFFFFF; color: #0C1538; font-family: inherit; font-size: 15px; font-weight: 500; }
.yd-pu-girdi:hover { border-color: #8A8FB0; }
.yd-pu-girdi:focus { border-color: #5B4BE8; box-shadow: 0 0 0 4px rgba(91, 75, 232, .18); outline: none; }
select.yd-pu-girdi { text-overflow: ellipsis; }
.yd-pu-olcu-alan { flex: 1 1 0; min-width: 0; }
.yd-pu-coklu, .yd-pu-yollar { grid-column: 1 / -1; }
.yd-pu-coklu { flex-direction: row; flex-wrap: wrap; gap: 8px; }
.yd-pu-coklu legend { width: 100%; }
.yd-pu-cip { position: relative; display: inline-flex; }
.yd-pu-cip input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.yd-pu-cip span { display: inline-flex; align-items: center; min-height: 40px; padding: 0 14px; border: 1px solid #B9BCD0; border-radius: 999px;
  background: #FFFFFF; font-weight: 500; }
.yd-pu-cip input:checked + span { border-color: #5B4BE8; background: #F5F3FF; color: #33288F; font-weight: 700; }
.yd-pu-cip input:focus-visible + span { outline: 3px solid #5B4BE8; outline-offset: 2px; }
.yd-pu-yollar { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr)); gap: 8px 12px; }
.yd-pu-yollar legend { grid-column: 1 / -1; }
.yd-pu-yol { display: flex; align-items: flex-start; gap: 10px; padding: 12px 14px; border: 1px solid #E4E3EE; border-radius: 12px;
  background: #FFFFFF; font-weight: 500; cursor: pointer; }
.yd-pu-yol:has(input:checked) { border-color: #5B4BE8; background: #F5F3FF; }
.yd-pu-yol input { width: 18px; height: 18px; margin: 2px 0 0; accent-color: #5B4BE8; flex: 0 0 auto; }
.yd-pu-yol > span { display: flex; flex-direction: column; gap: 2px; }
.yd-pu-yol-not { font-size: 12.5px; line-height: 1.4; font-weight: 500; color: #4B5275; }
.yd-pu-hata { font-size: 14px; font-weight: 600; color: #B42318; }

/* ---------- "Başka ürün ekle" (v31.12) ---------- */
.yd-pu-ek { display: flex; flex-direction: column; gap: 14px; padding: 20px; border: 1.5px dashed #B9B0FF; border-radius: 18px; background: #FBFAFF;
  animation: yd-pu-gir .45s cubic-bezier(.2, .7, .2, 1) both; }
.yd-pu-ek[hidden] { display: none; }
.yd-pu-ek-bas { display: flex; align-items: flex-start; gap: 14px; }
.yd-pu-ek-arti { flex: 0 0 auto; display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 13px;
  background: #5B4BE8; color: #FFFFFF; }
.yd-pu-ek-yazi { min-width: 0; display: flex; flex-direction: column; gap: 4px; }
.yd-pu-ek-baslik { font-size: 20px; line-height: 1.2; }
.yd-pu-ek-aciklama { font-size: 14.5px; line-height: 1.45; color: #4B5275; }
.yd-pu-ek-arama { position: relative; }
.yd-pu-ek-buyutec { position: absolute; left: 14px; top: 50%; margin-top: -10px; color: #4636C4; pointer-events: none; }
.yd-pu-ek-girdi { min-height: 52px; padding-left: 44px; font-size: 16px; }
.yd-pu-ek-durum { font-size: 14px; line-height: 1.45; font-weight: 600; color: #4B5275; }
.yd-pu-ek-durum:empty, .yd-pu-ek-sonuclar:empty { display: none; }
.yd-pu-ek-sonuclar { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.yd-pu-ek-sonuc { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 8px 12px; padding: 10px 12px;
  border: 1px solid #E4E3EE; border-radius: 14px; background: #FFFFFF; animation: yd-pu-gir .3s cubic-bezier(.2, .7, .2, 1) both; }
.yd-pu-ek-sonuc:nth-child(2) { animation-delay: .03s; } .yd-pu-ek-sonuc:nth-child(3) { animation-delay: .06s; }
.yd-pu-ek-sonuc:nth-child(4) { animation-delay: .09s; } .yd-pu-ek-sonuc:nth-child(n+5) { animation-delay: .12s; }
.yd-pu-ek-sonuc-pasif { background: #FAFAFD; }
.yd-pu-ek-sonuc-gorsel { display: flex; align-items: center; justify-content: center; width: 48px; height: 48px; border-radius: 10px; object-fit: cover;
  background: #F5F3FF; color: #4636C4; }
.yd-pu-ek-sonuc-yazi { min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.yd-pu-ek-sonuc-ad { font-size: 15px; line-height: 1.3; font-weight: 700; overflow-wrap: anywhere; }
.yd-pu-ek-sonuc-alt { font-size: 13px; line-height: 1.4; color: #4B5275; font-variant-numeric: tabular-nums; }
.yd-pu-ek-ekle { display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-height: 44px; padding: 0 16px; box-sizing: border-box;
  border: 1.5px solid #5B4BE8; border-radius: 12px; background: #FFFFFF; color: #4636C4; font-family: inherit; font-size: 14.5px; font-weight: 700;
  text-decoration: none; cursor: pointer; transition: transform .15s ease; }
.yd-pu-ek-ekle:active { transform: scale(.95); }
.yd-pu-ek-ekle[disabled] { border-color: #B9BCD0; background: #F3F3F8; color: #4B5275; cursor: default; }
.yd-pu-ek-bag { border-color: #B9BCD0; color: #0C1538; font-weight: 600; }

/* ---------- özet (koyu kutu) ---------- */
.yd-pu-ozet { flex: 1 1 340px; min-width: 0; max-width: 460px; padding: 28px; box-sizing: border-box; display: flex;
  flex-direction: column; gap: 16px; }
.yd-pu-sayac { font-size: 15px; color: #C9CDE6; font-weight: 600; font-variant-numeric: tabular-nums; }
/* kademe ilerleme çubuğu: dilim = bir ürün; dolan dilimin içi soldan sağa açılır; kademe eşiği sarı */
.yd-pu-ilerleme { display: flex; gap: 4px; height: 10px; }
.yd-pu-dilim { position: relative; flex: 1 1 0; min-width: 0; overflow: hidden; border-radius: 999px; background: rgba(255, 255, 255, .14); }
.yd-pu-dilim::after { content: ""; position: absolute; inset: 0; border-radius: inherit; background: #8F82FF; transform: scaleX(0); transform-origin: 0 50%;
  transition: transform .38s cubic-bezier(.2, .8, .2, 1); }
.yd-pu-dilim-esik { box-shadow: 0 0 0 1.5px rgba(255, 208, 0, .6); }
.yd-pu-dilim-esik::after { background: #FFD000; }
.yd-pu-dilim-dolu::after { transform: scaleX(1); }
.yd-pu-ilerleme-acik { position: absolute; left: 16px; right: 16px; top: -3px; height: 5px; }
.yd-pu-ilerleme-acik .yd-pu-dilim { background: #E4E3EE; }
.yd-pu-ilerleme-acik .yd-pu-dilim::after { background: #5B4BE8; }
.yd-pu-ilerleme-acik .yd-pu-dilim-esik { box-shadow: none; }
.yd-pu-ilerleme-acik .yd-pu-dilim-esik::after { background: #FFD000; }
.yd-pu-kademeler { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(72px, 1fr)); gap: 8px; }
.yd-pu-kademe { display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 10px 6px; border-radius: 12px;
  border: 1px dashed #4B5275; color: #C9CDE6; }
.yd-pu-kademe-oran { font-family: 'Bricolage Grotesque', system-ui, sans-serif; font-size: 22px; font-weight: 700; line-height: 1.1; }
.yd-pu-kademe-ad { font-size: 12px; font-weight: 600; }
.yd-pu-kademe-ulasti { border-style: solid; border-color: #FFD000; background: #FFD000; color: #0C1538; }
.yd-pu-kademe-yeni { animation: yd-pu-parla .6s ease; }
.yd-pu-sonraki { font-size: 14px; line-height: 1.45; color: #E4E6F5; }
.yd-pu-toplam-yeni { animation: yd-pu-parla .45s ease; transform-origin: 100% 50%; }
.yd-pu-ozet-not { font-size: 12.5px; line-height: 1.5; color: #C9CDE6; }
.yd-pu-durum-yazi { font-size: 14px; font-weight: 600; color: #FFD000; }
.yd-pu-durum-yazi:empty { display: none; }
.yd-pu-dugme svg { transition: transform .2s ease; }
.yd-pu-dugme:not([disabled]):hover svg, .yd-pu-dugme:not([disabled]):focus-visible svg { transform: translateX(4px); }

/* telefonda alttaki kısa şerit (özete götürür) */
.yd-pu-alt { position: sticky; bottom: 0; z-index: 5; margin: 0 -16px; padding: 12px 16px 12px; display: none; align-items: center;
  justify-content: space-between; gap: 12px; background: #FFFFFF; border-top: 1.5px solid #0C1538;
  box-shadow: 0 -12px 24px -18px rgba(12, 21, 56, .45); }
.yd-pu-alt-ad { font-size: 13px; font-weight: 600; color: #4B5275; }
.yd-pu-alt-dugme { min-height: 48px; font-size: 15px; padding: 0 16px; }

@media (max-width: 900px) {
  .yd-pu-bas { gap: 20px 28px; padding: 36px 32px; }
  .yd-pu-motif { width: 150px; height: 150px; }
  .yd-pu-bas-dar .yd-pu-motif { width: 110px; height: 110px; }
}
@media (max-width: 760px) {
  .yd-pu { padding: 16px 16px 0; gap: 22px; }
  .yd-pu-bas, .yd-pu-bas-dar { grid-template-columns: minmax(0, 1fr); padding: 26px 20px 24px; border-radius: 22px; }
  .yd-pu-bas .yd-pu-motif { position: absolute; right: 14px; top: 16px; width: 68px; height: 68px; }
  .yd-pu-goz { margin-bottom: 14px; max-width: calc(100% - 84px); box-sizing: border-box; }
  .yd-pu-aciklama { font-size: 16px; }
  .yd-pu-bas-dar .yd-pu-rozetler { display: none; }   /* 2. adımda aynı kademeler özet kutusunda; ürünler yukarıda kalsın */
  .yd-pu-adimlar .yd-oa-adim-cizgi { width: 20px; }
  .yd-pu-adimlar { font-size: 13px; gap: 6px; }
  .yd-pu-ozet { max-width: none; flex-basis: 100%; padding: 22px 18px; }
  .yd-pu-alt { display: flex; }
  .yd-pu-kalem { padding: 14px; }
  .yd-pu-ek { padding: 16px 14px; }
}
@media (max-width: 560px) {
  .yd-pu-kalem-ust { grid-template-columns: auto auto minmax(0, 1fr); }
  .yd-pu-fiyat { grid-column: 1 / -1; flex-direction: row; flex-wrap: wrap; align-items: baseline; justify-content: flex-start;
    gap: 4px 10px; text-align: left; padding-left: 58px; }
  .yd-pu-gorsel-kap { width: 56px; height: 56px; }
  .yd-pu-tur { min-height: 84px; }
  .yd-pu-ek-sonuc { padding: 10px; gap: 8px 10px; }
  .yd-pu-ek-ekle { padding: 0 12px; }
}
@media (max-width: 360px) {
  .yd-pu-gorsel-kap { display: none; }
  .yd-pu-kalem-ust { grid-template-columns: auto minmax(0, 1fr); }
  .yd-pu-fiyat { padding-left: 0; }
  .yd-pu-kademe-oran { font-size: 19px; }
  .yd-pu-ek-sonuc { grid-template-columns: minmax(0, 1fr) auto; }
  .yd-pu-ek-sonuc-gorsel { display: none; }
}
/* hareketi azaltmış ziyaretçi: giriş, salınım, süpürme, nabız yok; durumlar (seçili, dolu dilim, kenar) anında görünür */
@media (prefers-reduced-motion: reduce) {
  .yd-pu-bas::after, .yd-pu-rozet, .yd-pu-motif, .yd-pu-motif-halka, .yd-pu-motif-igne, .yd-pu-motif-yildiz, .yd-pu-motif-isilti,
  .yd-pu-tur-kap, .yd-pu-kalem, .yd-pu-kalem-nabiz::after, .yd-pu-kalem-gidiyor, .yd-pu-kademe-yeni, .yd-pu-toplam-yeni,
  .yd-pu-fiyat-yeni .yd-pu-oa-fiyat, .yd-pu-sec input:checked + .yd-pu-sec-kutu svg, .yd-pu-ek, .yd-pu-ek-sonuc,
  .yd-pu-tur:hover .yd-pu-tur-simge svg, .yd-pu-tur:focus-visible .yd-pu-tur-simge svg { animation: none; }
  .yd-pu-motif-yon, .yd-pu-tur, .yd-pu-tur::before, .yd-pu-tur-kap::after, .yd-pu-tur-simge, .yd-pu-tur-simge::before, .yd-pu-tur-ok,
  .yd-pu-kalem::before, .yd-pu-sec-kutu, .yd-pu-gorsel, .yd-pu-fiyat, .yd-pu-dilim::after, .yd-pu-ek-ekle, .yd-pu-dugme svg { transition: none; }
  .yd-pu-tur:hover, .yd-pu-tur:focus-visible, .yd-pu-tur:active, .yd-pu-tur:hover .yd-pu-tur-simge, .yd-pu-tur:focus-visible .yd-pu-tur-simge,
  .yd-pu-tur:hover .yd-pu-tur-ok, .yd-pu-tur:focus-visible .yd-pu-tur-ok, .yd-pu-kalem:hover .yd-pu-gorsel,
  .yd-pu-dugme:not([disabled]):hover svg, .yd-pu-dugme:not([disabled]):focus-visible svg, .yd-pu-ek-ekle:active { transform: none; }
  .yd-pu-tur:hover::after, .yd-pu-tur:focus-visible::after { opacity: 0; transition: none; }
  .yd-pu-motif-yon { transform: rotate(32deg); }
}

.yd-pu-bildirim { padding: 14px 16px; border-radius: 12px; font-size: 15px; font-weight: 600; background: #FEF3F2; color: #7A271A;
  border: 1px solid #F3B8B2; }
