/* Premium vitrin modülleri (premium.js). Renkler temanın değişkenlerinden gelir; her tema kendi kimliğinde görünür. */
.pm-h { margin-bottom: 16px; } .pm-h .ly-h { margin: 6px 0 4px; } .pm-h p { margin: 0; font-size: 14px; }
.pm-k { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--acc); }

/* hızlı yükleme sihirbazı */
.pm-w { padding: clamp(16px, 2.4vw, 26px); border-radius: calc(var(--r) + 4px); background: var(--surface); border: 1px solid var(--line); }
.pm-steps { list-style: none; display: flex; gap: 8px; margin: 0 0 16px; padding: 0; counter-reset: s; overflow-x: auto; scrollbar-width: none; }
.pm-steps li { counter-increment: s; display: flex; align-items: center; gap: 8px; flex: 1; min-width: max-content; padding: 10px 12px; border-radius: var(--r); background: var(--surface2); color: var(--muted); font-size: 13.5px; font-weight: 600; transition: background .25s, color .25s; }
.pm-steps li::before { content: counter(s); width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; font-size: 12px; background: var(--line); color: var(--text); transition: background .25s, color .25s; }
.pm-steps li.on { color: var(--text); background: color-mix(in srgb, var(--acc) 14%, var(--surface2)); } .pm-steps li.on::before { background: var(--acc); color: var(--on-acc); }
.pm-steps li.done::before { content: '✓'; background: color-mix(in srgb, var(--acc) 30%, var(--line)); }
.pm-wb { animation: pmIn .35s cubic-bezier(.2,.7,.2,1); }
@keyframes pmIn { from { opacity: 0; translate: 0 8px; } }
.pm-games { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; }
.pm-games button { position: relative; display: flex; flex-direction: column; align-items: flex-start; gap: 3px; padding: 14px; min-height: 110px; justify-content: flex-end; border-radius: var(--r); border: 1px solid var(--line); background: var(--surface2); color: var(--text); cursor: pointer; overflow: hidden; text-align: left; font: inherit; transition: border-color .2s, transform .2s; isolation: isolate; }
.pm-games button:hover { border-color: var(--c); transform: translateY(-2px); }
.pm-games img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform .5s; } .pm-games button:hover img { transform: scale(1.06); }
.pm-games button[data-img]::after { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(to top, rgba(0,0,0,.8), rgba(0,0,0,.05) 70%); }
.pm-games button[data-img] { color: #fff; } .pm-games button[data-img] small { color: rgba(255,255,255,.75); } .pm-games button[data-img] .dot { display: none; }
.pm-games .dot { width: 34px; height: 34px; font-size: 14px; margin-bottom: auto; } .pm-games b { font-size: 14.5px; } .pm-games small { color: var(--muted); font-size: 12px; }
.pm-bar { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; } .pm-bar b { font-size: 15px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pm-back { display: inline-flex; align-items: center; gap: 4px; border: 1px solid var(--line); background: transparent; color: var(--text); border-radius: var(--r); padding: 6px 10px; font: 600 13px var(--font); cursor: pointer; flex: none; }
.pm-packs { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; }
.pm-packs button { display: flex; flex-direction: column; gap: 4px; padding: 14px; border-radius: var(--r); border: 1px solid var(--line); background: var(--surface2); color: var(--text); cursor: pointer; font: inherit; text-align: left; transition: border-color .2s, transform .2s; }
.pm-packs button:hover { border-color: var(--acc); transform: translateY(-2px); }
.pm-amt { font: 800 24px/1 var(--hfont); letter-spacing: -.02em; } .pm-amt small { font: 600 12px var(--font); color: var(--muted); margin-left: 4px; }
.pm-packs em { font-style: normal; font-weight: 700; color: var(--acc); } .pm-packs i { font-style: normal; font-size: 11.5px; color: var(--muted); }
.pm-fin { display: grid; grid-template-columns: minmax(0, 260px) minmax(0, 1fr); gap: 22px; align-items: center; }
.pm-art .gc { width: 100%; }
.pm-form { display: grid; gap: 12px; } .pm-tot { display: flex; justify-content: space-between; align-items: baseline; padding-top: 10px; border-top: 1px solid var(--line); } .pm-tot b { font-size: 24px; }
.pm-btns { display: flex; gap: 8px; flex-wrap: wrap; } .pm-btns .btn { flex: 1 1 150px; justify-content: center; }

/* paket hesaplayıcı */
.pm-c { padding: clamp(16px, 2.4vw, 26px); border-radius: calc(var(--r) + 4px); background: var(--surface); border: 1px solid var(--line); }
.pm-cin { display: flex; gap: 8px; flex-wrap: wrap; } .pm-cin select { flex: 0 1 220px; } .pm-cin .btn { flex: none; }
.pm-cq { position: relative; flex: 1 1 180px; display: flex; } .pm-cq input { width: 100%; padding-right: 90px; } .pm-cq span { position: absolute; right: 12px; top: 50%; translate: 0 -50%; color: var(--muted); font-size: 13px; font-weight: 600; pointer-events: none; }
.pm-cr:empty { display: none; } .pm-cr { margin-top: 14px; }
.pm-res { display: grid; gap: 14px; animation: pmIn .35s cubic-bezier(.2,.7,.2,1); }
.pm-res ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.pm-res li { display: grid; grid-template-columns: 44px 64px minmax(0, 1fr) auto; align-items: center; gap: 12px; padding: 8px 10px; border-radius: var(--r); background: var(--surface2); }
.pm-x { font: 800 18px var(--hfont); color: var(--acc); } .pm-res .gc.xs { width: 64px; padding: 6%; } .pm-res .gc.xs > *:not(.gc-amt) { visibility: hidden; } .pm-res .gc.xs .gc-amt small { display: none; }
.pm-res li b { font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .pm-res li em { font-style: normal; font-weight: 700; }
.pm-sum { display: flex; gap: 10px; flex-wrap: wrap; } .pm-sum > div { flex: 1 1 140px; padding: 12px 14px; border-radius: var(--r); border: 1px solid var(--line); }
.pm-sum small { display: block; color: var(--muted); font-size: 12px; } .pm-sum b { font-size: 20px; } .pm-save { border-color: color-mix(in srgb, var(--ok, #22c55e) 50%, var(--line)) !important; } .pm-save b { color: var(--ok, #22c55e); font-size: 16px; }
.pm-res > .btn { justify-self: start; }

/* yüzen hızlı işlem çubuğu (masaüstü) */
.pm-dock { position: fixed; right: 14px; top: 50%; translate: 0 -50%; z-index: 60; display: flex; flex-direction: column; gap: 4px; padding: 6px; border-radius: 16px; background: color-mix(in srgb, var(--surface) 88%, transparent); border: 1px solid var(--line); backdrop-filter: blur(10px); box-shadow: 0 16px 40px -20px rgba(0,0,0,.5); }
.pm-dock a, .pm-dock button { position: relative; width: 42px; height: 42px; border-radius: 11px; display: grid; place-items: center; color: var(--text); background: none; border: 0; cursor: pointer; transition: background .15s, color .15s; }
.pm-dock a:hover, .pm-dock button:hover { background: color-mix(in srgb, var(--acc) 16%, transparent); color: var(--acc); }
.pm-dock em { position: absolute; top: 3px; right: 3px; min-width: 16px; height: 16px; padding: 0 4px; border-radius: 8px; background: var(--acc); color: var(--on-acc); font: 700 10px/16px var(--font); font-style: normal; }
.pm-dock [data-tip]::after { content: attr(data-tip); position: absolute; right: calc(100% + 10px); top: 50%; translate: 4px -50%; white-space: nowrap; padding: 6px 10px; border-radius: 8px; background: var(--text); color: var(--bg); font: 600 12.5px var(--font); opacity: 0; pointer-events: none; transition: opacity .15s, translate .15s; }
.pm-dock [data-tip]:hover::after { opacity: 1; translate: 0 -50%; }
.pm-dock .pm-top { opacity: 0; pointer-events: none; transition: opacity .2s; } .pm-dock.scr .pm-top { opacity: 1; pointer-events: auto; }
@media (max-width: 1360px) { .pm-dock { display: none; } }

/* ürün sayfasında sabit satın alma çubuğu */
.pm-sb { position: fixed; left: 0; right: 0; bottom: 0; z-index: 55; background: color-mix(in srgb, var(--surface) 94%, transparent); backdrop-filter: blur(12px); border-top: 1px solid var(--line); box-shadow: 0 -12px 30px -20px rgba(0,0,0,.5); transform: translateY(105%); transition: transform .3s cubic-bezier(.2,.7,.2,1); }
.pm-sb.on { transform: none; }
.pm-sb .wrap { display: flex; align-items: center; gap: 10px; padding-block: 10px; }
.pm-sbt { flex: 1; min-width: 0; display: flex; flex-direction: column; } .pm-sbt b { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 14.5px; } .pm-sbt span { font-weight: 800; color: var(--acc); }
@media (max-width: 860px) { .pm-sb { bottom: 62px; } .pm-sb .btn.ghost { display: none; } }

@media (max-width: 700px) {
  .pm-fin { grid-template-columns: 1fr; } .pm-art { max-width: 220px; }
  .pm-games, .pm-packs { grid-template-columns: repeat(2, minmax(0, 1fr)); } .pm-steps li { flex: none; }
  .pm-res li { grid-template-columns: 36px minmax(0, 1fr) auto; } .pm-res .gc.xs { display: none; }
  .pm-cin select, .pm-cin .btn { flex: 1 1 100%; }
}
@media (prefers-reduced-motion: reduce) { .pm-wb, .pm-res { animation: none; } .pm-sb { transition: none; } }
