/* Ürün penceresi: sade ve kompakt */
.oxm-dialog { max-width: 480px; }
.modal-content.oxm { position: relative; padding: 0; border: 0; border-radius: 0; color: var(--fg); overflow: hidden;
  box-shadow: 0 0 0 2px #000, inset 0 0 0 2px rgba(255,255,255,.06), 0 30px 70px rgba(0,0,0,.65); }
.oxm::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 3px; background: var(--rk); }
.oxm__kapat { position: absolute; top: 12px; right: 12px; z-index: 2; width: 32px; height: 32px; display: grid; place-items: center; border: 0; color: var(--fg-mute); background: transparent; cursor: pointer; }
.oxm__kapat:hover { color: #fff; background: rgba(255,255,255,.08); }

.oxm__bas { display: flex; align-items: center; gap: 14px; padding: 22px 52px 0 22px; }
.oxm__slot { flex: 0 0 auto; width: 64px; height: 64px; display: grid; place-items: center; background: var(--mc-slot-bg); box-shadow: var(--mc-slot); }
.oxm__slot img { display: block; width: 44px; height: 44px; object-fit: contain; image-rendering: pixelated; }
.oxm__tur { display: block; font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--fg-mute); }
.oxm__ad { margin: 2px 0 0; font-family: var(--font-display); font-size: 26px; line-height: 1.1; color: var(--rk); text-shadow: 2px 2px 0 rgba(0,0,0,.5); }

.oxm__govde { padding: 14px 22px 18px; }
.oxm__ozet { margin: 0 0 12px; font-size: 14.5px; color: var(--fg-soft); }
.oxm__liste { list-style: none; margin: 0; padding: 0; display: grid; gap: 7px; }
.oxm__liste li { position: relative; padding-left: 18px; font-size: 14.5px; line-height: 1.35; color: var(--fg); }
.oxm__liste li::before { content: ""; position: absolute; left: 2px; top: .45em; width: 7px; height: 7px; background: var(--rk); }
.oxm__not { margin: 14px 0 0; font-size: 12.5px; line-height: 1.45; color: var(--fg-mute); }
.oxm__not a { color: var(--rk); font-weight: 700; text-decoration: none; margin-left: 4px; white-space: nowrap; }
.oxm__not a:hover { text-decoration: underline; }
.oxm__yazi { font-size: 14.5px; color: var(--fg-soft); }
.oxm__yazi p:last-child { margin-bottom: 0; }

.oxm__alt { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding: 14px 22px; background: rgba(0,0,0,.45); box-shadow: inset 0 1px 0 rgba(255,255,255,.06); }
.oxm__fiyat div { display: flex; flex-direction: column; line-height: 1.15; }
.oxm__fiyat b { font-family: var(--font-display); font-size: 22px; font-weight: 400; color: #ffd75e; text-shadow: 2px 2px 0 rgba(0,0,0,.5); }
.oxm__fiyat del { font-size: 12.5px; color: var(--fg-dim); }
.oxm__fiyat small { font-size: 12px; color: var(--fg-mute); margin-top: 2px; }
.oxm__fiyat small.is-az { color: #ff8a7a; }
.oxm__eylem, .oxm__form { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.oxm .oxes-btn.oxm__al { min-width: 150px; height: 44px; justify-content: center; font-size: 16px; color: #fff; text-decoration: none; text-shadow: 2px 2px 0 rgba(0,0,0,.4);
  background: url("../images/mc-btn-noise.png") 0 0 / 320px 24px repeat, #3f9a39; background-blend-mode: soft-light;
  box-shadow: 0 0 0 2px #000, inset 2px 2px 0 #84dc72, inset -2px -4px 0 #245a1f; }
.oxm .oxes-btn.oxm__al:hover { background-color: #4db146; box-shadow: 0 0 0 2px #fff, inset 2px 2px 0 #a0ee8e, inset -2px -4px 0 #2c6b26; }
.oxm .oxes-btn.oxm__al--kredi { background-color: #b8861c; box-shadow: 0 0 0 2px #000, inset 2px 2px 0 #f2c34f, inset -2px -4px 0 #6b4c0c; }
.oxm__adet { display: flex; align-items: stretch; height: 44px; background: var(--mc-slot-bg); box-shadow: var(--mc-slot); }
.oxm__adet button { width: 32px; border: 0; background: transparent; color: var(--fg-soft); font-size: 18px; cursor: pointer; }
.oxm__adet button:hover { color: #fff; background: rgba(255,255,255,.06); }
.oxm__adet input { width: 40px; border: 0; background: transparent; color: var(--fg); text-align: center; font-weight: 700; -moz-appearance: textfield; }
.oxm__adet input::-webkit-outer-spin-button, .oxm__adet input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.oxm__alan { display: flex; flex-direction: column; gap: 2px; font-size: 12px; color: var(--fg-mute); }
.oxm__alan input { width: 80px; padding: 8px; background: var(--mc-slot-bg); color: var(--fg); border: 0; box-shadow: var(--mc-slot); }
.oxm__uyari { color: var(--fg-mute); font-size: 13.5px; }
@media (max-width: 520px) {
  .oxm__ad { font-size: 22px; }
  .oxm__eylem, .oxm__form { width: 100%; } .oxm .oxes-btn.oxm__al { flex: 1; }
}
/* 3B mağazadan pencereye uçan eşya, pencerede dönmeye devam eder */
.m3d-ucan { position: fixed; z-index: 2000; pointer-events: none; image-rendering: pixelated; object-fit: contain; animation: oxm-don 1.6s linear infinite; filter: drop-shadow(0 8px 14px rgba(0,0,0,.5)); }
.oxm__slot { perspective: 200px; }
.oxm__slot img.is-don { animation: oxm-yerles .35s ease-out, oxm-suzul 2.8s ease-in-out .35s infinite; }
@keyframes oxm-yerles { from { transform: scale(1.25); } }
@keyframes oxm-suzul { 50% { transform: translateY(-2px); } }
@keyframes oxm-don { from { transform: rotateY(0deg); } to { transform: rotateY(360deg); } }
@media (prefers-reduced-motion: reduce) { .m3d-ucan, .oxm__slot img.is-don { animation: none; } }
.m3d-ucan.is-iniyor { animation: none; }

/* ── 3B mağaza: kategori sandığı penceresi (Minecraft büyük sandık ekranı) ── */
.m3d-sandik { position: fixed; inset: 0; z-index: 1040; display: grid; place-items: center; padding: 16px; background: rgba(0,0,0,0); transition: background .2s; }
.m3d-sandik.is-acik { background: rgba(0,0,0,.55); }
.m3d-sandik__kutu { position: relative; width: min(560px, 100%); transform: translateY(14px) scale(.96); opacity: 0; transition: transform .25s cubic-bezier(.2,.9,.3,1.15), opacity .2s; }
.m3d-sandik.is-acik .m3d-sandik__kutu { transform: none; opacity: 1; }
.m3d-sandik__sekmeler { display: flex; gap: 4px; padding-left: 8px; }
.m3d-sandik__sekme { position: relative; top: 4px; display: flex; align-items: center; gap: 6px; height: 44px; padding: 0 12px 4px; border: 0; cursor: pointer;
  font: 700 13px var(--font-body); color: #3f3f3f; background: #a9a9a9; box-shadow: inset 2px 2px 0 #d8d8d8, inset -2px 0 0 #5e5e5e, 0 0 0 2px #000; }
.m3d-sandik__sekme img { width: 24px; height: 24px; image-rendering: pixelated; }
.m3d-sandik__sekme:hover { background: #b9b9b9; }
.m3d-sandik__sekme.is-on { z-index: 2; top: 2px; height: 48px; background: #c6c6c6; color: #222; box-shadow: inset 2px 2px 0 #fff, inset -2px 0 0 #555, 0 -2px 0 2px #000; }
.m3d-sandik__govde { position: relative; z-index: 1; padding: 12px 14px 12px; background: #c6c6c6; box-shadow: 0 0 0 2px #000, inset 3px 3px 0 #fff, inset -3px -3px 0 #555, 0 30px 80px rgba(0,0,0,.6); }
.m3d-sandik__bas { display: flex; align-items: center; justify-content: space-between; margin: 0 2px 8px; }
.m3d-sandik__bas b { font: 400 18px var(--font-display); color: #3f3f3f; }
.m3d-sandik__kapat { width: 28px; height: 28px; border: 0; background: transparent; color: #3f3f3f; font-size: 16px; cursor: pointer; }
.m3d-sandik__kapat:hover { color: #000; }
.m3d-sandik__izgara { display: grid; grid-template-columns: repeat(9, 1fr); }
.m3d-sandik__slot { aspect-ratio: 1; display: grid; place-items: center; padding: 0; border: 0; background: #8b8b8b; box-shadow: inset 2px 2px 0 #373737, inset -2px -2px 0 #fff; }
.m3d-sandik__slot img { width: 72%; height: 72%; object-fit: contain; image-rendering: pixelated; }
.m3d-sandik__slot.is-dolu { cursor: pointer; animation: m3d-slot .3s both; }
.m3d-sandik__slot.is-dolu:hover, .m3d-sandik__slot.is-dolu:focus-visible { background: #c5c5c5; outline: none; }
.m3d-sandik__slot.is-dolu:hover img { transform: scale(1.12); }
@keyframes m3d-slot { from { opacity: 0; transform: scale(.6); } }
.m3d-sandik__alt { margin: 10px 2px 0; font-size: 12.5px; color: #555; }
/* Minecraft açıklama kutusu */
.m3d-sandik__ipucu { position: fixed; z-index: 1041; max-width: 300px; display: flex; flex-direction: column; gap: 2px; padding: 8px 10px; pointer-events: none;
  background: rgba(16,0,16,.94); border: 2px solid; border-image: linear-gradient(#5000ff, #28007f) 1; font-size: 13.5px; color: #aaa; text-shadow: 1px 1px 0 #3f3f3f; }
.m3d-sandik__ipucu b { font: 400 16px var(--font-display); margin-bottom: 3px; text-shadow: 2px 2px 0 #3f3f3f; }
.m3d-sandik__ipucu em { margin-top: 6px; font-style: normal; color: #ffd75e; font-weight: 700; }
.m3d-sandik__ipucu small { color: #7a7a7a; }
@media (max-width: 560px) { .m3d-sandik__sekme span { display: none; } }
@media (prefers-reduced-motion: reduce) { .m3d-sandik__kutu, .m3d-sandik__slot.is-dolu { transition: none; animation: none; } }

/* ── Satın alma sonrası pencere (components/siparis-tamam) ── */
.oxst-dialog { max-width: 440px; }
.oxst__bas { display: flex; flex-direction: column; align-items: center; gap: 12px; padding: 30px 52px 4px; text-align: center; }
.oxst__tik { width: 64px; height: 64px; display: grid; place-items: center; color: #fff; background: #3f9a39;
  box-shadow: 0 0 0 2px #000, inset 3px 3px 0 #84dc72, inset -3px -4px 0 #245a1f; animation: oxst-tik .45s cubic-bezier(.2,.9,.3,1.4) .1s both; }
.oxst .oxst__tik svg { width: 36px; height: 36px; display: block; filter: drop-shadow(2px 2px 0 rgba(0,0,0,.35)); }
.oxst__tik path { stroke-dasharray: 1; stroke-dashoffset: 1; animation: oxst-ciz .35s ease-out .45s forwards; }
@keyframes oxst-tik { from { transform: scale(.3) rotate(-12deg); opacity: 0; } }
@keyframes oxst-ciz { to { stroke-dashoffset: 0; } }
.oxst .oxm__ad { font-size: 28px; text-transform: uppercase; }
.oxst .oxm__govde { padding: 16px 22px 20px; }
.oxst__liste { list-style: none; margin: 0 0 14px; padding: 0; display: grid; gap: 8px; }
.oxst__liste li { display: flex; align-items: center; gap: 12px; padding: 8px 12px 8px 8px; background: rgba(0,0,0,.28); box-shadow: inset 3px 0 0 var(--rk); }
.oxst__slot { width: 44px; height: 44px; }
.oxst .oxst__slot img { width: 34px; height: 34px; }
.oxst__ad { flex: 1; min-width: 0; font-weight: 700; color: var(--rk); text-shadow: 1px 1px 0 rgba(0,0,0,.5); }
.oxst__ad small { margin-left: 4px; color: var(--fg-mute); font-weight: 700; text-shadow: none; }
.oxst__fiyat { font-weight: 700; color: var(--fg-soft); white-space: nowrap; }
.oxst__ozet { display: grid; gap: 6px; margin: 0; }
.oxst__ozet div { display: flex; justify-content: space-between; gap: 12px; font-size: 15px; }
.oxst__ozet dt { font-weight: 400; color: var(--fg-mute); }
.oxst__ozet dd { margin: 0; font-weight: 700; }
.oxst__bakiye { font-family: var(--font-display); font-weight: 400 !important; font-size: 19px; color: #ffd75e; text-shadow: 2px 2px 0 rgba(0,0,0,.5); }
.oxst__not { margin: 14px 0 0; font-size: 13.5px; line-height: 1.45; color: var(--fg-mute); text-align: center; }
.oxst__link { color: var(--fg-soft); font-weight: 700; text-decoration: none; }
.oxst__link:hover { color: #fff; text-decoration: underline; }
.kart-yeni .oxst__liste li { border-radius: 18px; box-shadow: none; background: rgba(255,255,255,.05); }
.kart-yeni .oxst__slot { border-radius: 14px; }
@media (prefers-reduced-motion: reduce) { .oxst__tik, .oxst__tik path { animation: none; stroke-dashoffset: 0; } }
