/* ─────────────────────────────────────────────────────────────
   Pinguru — ürün sayfası (v2): kapak + bilgiler + sekmeler, yapışkan satın alma paneli,
   değerlendirmeler, benzer ürünler bandı. Zemin ürün rengine tonlanır (--h, --tint, --crystal-*).
   ───────────────────────────────────────────────────────────── */

.pdp-page { position: relative; isolation: isolate; padding-bottom: 80px; }
/* Renkli zemin footer'ın üst çizgisine kadar uzanır: footer boşluğu kapsayıcının iç boşluğu olur. */
.single-product .site-footer { margin-top: 0; }
/* SEO kutusu yarı saydam (ürün rengine tonlanan zemin arkadan görünür); çerçeve aynı renklerle yalnızca kenar halkası. */
.pdp-page .seo-block__frame { position: relative; background: none; }
.pdp-page .seo-block__frame::before {
  content: ""; position: absolute; inset: 0; padding: 1px; border-radius: inherit; pointer-events: none;
  background: linear-gradient(160deg, rgb(167 139 250 / .35), rgb(30 42 71 / .8) 45%, rgb(30 42 71 / .45));
  -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);
}
.pdp-page .seo-block__in { position: relative; background: linear-gradient(180deg, rgb(14 23 48 / .88), rgb(11 17 36 / .9)); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); }
/* Ürün rengi (pg_hue, --h) tanımlıysa SEO kutusunun çerçevesi ve ışığı o tona boyanır (KOD_AKTARIM 78). */
.pdp-page.has-hue .seo-block__frame::before { background: linear-gradient(160deg, hsl(var(--h) 85% 68% / .45), rgb(30 42 71 / .8) 45%, hsl(var(--h) 80% 52% / .3)); }
.pdp-page.has-hue .seo-block__in { background: radial-gradient(50rem 20rem at 0% 0%, hsl(var(--h) 80% 52% / .14), transparent 70%), linear-gradient(180deg, rgb(14 23 48 / .88), rgb(11 17 36 / .9)); }
.pdp-page__bg { pointer-events: none; position: absolute; inset: 0; z-index: -2; clip-path: inset(0); }
.pdp-page__tint { position: fixed; inset: 0; background: var(--tint, transparent); transition: background .6s; }
.pdp-page__crystal { position: fixed; inset: 0; -webkit-mask-image: linear-gradient(to bottom, transparent, #000 16%); mask-image: linear-gradient(to bottom, transparent, #000 16%); }
.pdp-page__crystal-img { width: 100%; height: 100%; object-fit: cover; object-position: bottom; filter: var(--crystal-filter, none); transition: filter .6s; }
.pdp-page__glow { pointer-events: none; position: absolute; inset: 0; background: var(--crystal-glow, transparent); mix-blend-mode: screen; }
.pdp-page__shade { position: absolute; inset: 0; background: radial-gradient(ellipse 62% 58% at 50% 42%, hsl(var(--h) 40% 5% / .8), hsl(var(--h) 40% 5% / .42) 72%, hsl(var(--h) 40% 5% / .18)); }
/* Ortam ışığı: ürün görseli sayfanın üstünde bulanık, aşağı doğru zemine erir */
.pdp-page__ambient { pointer-events: none; position: absolute; inset: 0 0 auto; z-index: -1; height: 620px; overflow: hidden; -webkit-mask-image: linear-gradient(to bottom, #000 30%, transparent); mask-image: linear-gradient(to bottom, #000 30%, transparent); }
.pdp-page__ambient img { position: absolute; left: -10%; top: -30%; width: 120%; height: 140%; max-width: none; object-fit: cover; filter: blur(90px) saturate(1.5); opacity: .32; }
.pdp-page__ambient::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to bottom, rgb(7 12 26 / .2), var(--night) 95%); }

.pdp-wrap { max-width: 82.5rem; margin-inline: auto; padding: 16px 24px 48px; }
.pdp-wrap .crumbs { font-size: 13px; }
.pdp2 { margin-top: 16px; display: flex; flex-wrap: wrap; align-items: flex-start; gap: 32px; }
.pdp2__main { flex: 999 1 420px; min-width: 0; display: flex; flex-direction: column; gap: 28px; }

/* Kapaklar 16:10 (1280×800); 20:11 kutuda yalnız üstten ve alttan %6'şar kesilir, orta (logo) tam kalır. */
.pdp2__cover {
  position: relative; aspect-ratio: 20 / 11; overflow: hidden; border-radius: 16px; border: 1px solid rgb(255 255 255 / .08); box-shadow: 0 40px 80px -40px rgb(0 0 0 / .9);
}
.pdp2__cover > img, .pdp2__cover > .cover { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.pdp2__type {
  position: absolute; top: 14px; left: 14px; border-radius: 10px; display: inline-flex; align-items: center; gap: 6px; padding: 6px 10px;
  border: 1px solid rgb(255 255 255 / .12); background: rgb(7 12 26 / .6); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  font-size: 12px; font-weight: 600; color: var(--brand-light);
}
.pdp2__type.is-topup { color: var(--azure-light); }
.pdp2__type .icon { width: 13px; height: 13px; }
.pdp2__pub { font-size: 12px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--mute); }
.pdp2__title { margin-top: 6px; font-size: clamp(30px, 3vw, 40px); line-height: 1.05; font-weight: 800; letter-spacing: -.02em; }
.pdp2__title-acc { color: #a78bfa; text-shadow: 0 0 28px rgb(124 58 237 / .35); }
.pdp-page.has-hue .pdp2__title-acc { color: hsl(var(--h) 90% 70%); text-shadow: 0 0 28px hsl(var(--h) 90% 55% / .35); }
.pdp2__rating { margin-top: 10px; display: inline-flex; flex-wrap: wrap; align-items: center; gap: 6px; font-size: 14px; color: var(--mute); }
.pdp2__rating:hover { color: var(--ink); }
.pdp2__rating strong { font-weight: 600; color: var(--ink); }
.pdp2__summary { margin-top: 14px; max-width: 40rem; font-size: 16px; line-height: 1.6; color: var(--soft); text-wrap: pretty; }
.pdp2__facts { margin-top: 20px; display: grid; grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); border-block: 1px solid rgb(255 255 255 / .07); }
.pdp2__facts > div { min-width: 0; padding: 14px 16px 14px 0; }
.pdp2__facts dt { display: flex; align-items: center; gap: 6px; font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--mute); }
.pdp2__facts dt .icon { width: 13px; height: 13px; color: var(--brand-light); }
.pdp2__facts dd { margin-top: 4px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 14px; font-weight: 600; color: var(--ink); }

/* Sekmeler (KOD_AKTARIM 80): tek kart, SEO kutusuyla aynı stil (1px gradyan halka, 22px köşe, yarı saydam zemin + bulanıklık).
   Çerçeve ve köşe ışığı ürün rengine (--h) tonlanır; seçili sekme, numaralar ve butonlar mor kalır. Bu alanda kesik köşe yok. */
.ptabs {
  position: relative; scroll-margin-top: 24px; border-radius: 22px;
  background: radial-gradient(50rem 20rem at 0% 0%, rgb(124 58 237 / .1), transparent 70%), linear-gradient(180deg, rgb(14 23 48 / .88), rgb(11 17 36 / .9));
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
}
.admin-bar .ptabs { scroll-margin-top: 56px; }
.ptabs::before {
  content: ""; position: absolute; inset: 0; padding: 1px; border-radius: inherit; pointer-events: none;
  background: linear-gradient(160deg, rgb(167 139 250 / .35), rgb(30 42 71 / .8) 45%, rgb(30 42 71 / .45));
  -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);
}
.has-hue .ptabs { background: radial-gradient(50rem 20rem at 0% 0%, hsl(var(--h) 80% 52% / .14), transparent 70%), linear-gradient(180deg, rgb(14 23 48 / .88), rgb(11 17 36 / .9)); }
.has-hue .ptabs::before { background: linear-gradient(160deg, hsl(var(--h) 85% 68% / .45), rgb(30 42 71 / .8) 45%, hsl(var(--h) 80% 52% / .3)); }
.ptabs__list {
  display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; padding: 10px 10px 0; border-bottom: 1px solid rgb(255 255 255 / .07);
}
.ptabs__list::-webkit-scrollbar { display: none; }
.ptabs__list [role="tab"] {
  position: relative; display: inline-flex; flex-shrink: 0; align-items: center; gap: 10px; height: 48px; padding-inline: 12px 14px; border-radius: 12px 12px 0 0;
  white-space: nowrap; font-size: 14px; font-weight: 600; color: var(--mute); transition: color .2s, background-color .2s;
}
.ptabs__list [role="tab"]:hover { color: var(--ink); }
.ptabs__list [aria-selected="true"] { background: rgb(124 58 237 / .12); color: var(--ink); }
.ptabs__list [aria-selected="true"]::after {
  content: ""; position: absolute; left: 10px; right: 10px; bottom: -1px; height: 2px; border-radius: 2px;
  background: linear-gradient(90deg, #8b5cf6, #c4b5fd); box-shadow: 0 0 12px rgb(139 92 246 / .9);
}
.ptabs__ico { display: grid; place-items: center; width: 26px; height: 26px; flex-shrink: 0; border-radius: 8px; background: rgb(255 255 255 / .06); color: var(--mute); transition: background .2s, color .2s, box-shadow .2s; }
.ptabs__ico .icon { width: 14px; height: 14px; }
.ptabs__list [aria-selected="true"] .ptabs__ico { background: linear-gradient(135deg, #8b5cf6, #6d28d9); color: #fff; box-shadow: 0 0 16px -2px rgb(139 92 246 / .85); }
.ptabs__count { padding: 2px 7px; border-radius: 999px; font-size: 11px; font-weight: 700; line-height: 1.35; color: #fbbf24; background: rgb(245 158 11 / .14); border: 1px solid rgb(245 158 11 / .3); }
.ptabs__panel { padding: 22px 24px 24px; }
@media (width < 40rem) { .ptabs__panel { padding: 18px 16px 20px; } }
.ptabs__panel:focus-visible { outline: 2px solid var(--brand-light); outline-offset: -4px; border-radius: 0 0 22px 22px; }
.no-js .ptabs__panel[hidden] { display: block !important; }

/* Açıklama + kısayol kartları */
.ptabs__desc { display: flex; flex-wrap: wrap; align-items: flex-start; gap: 20px 32px; }
.ptabs__text { flex: 1 1 360px; min-width: 0; max-width: 45rem; font-size: 16px; line-height: 1.75; color: var(--soft); text-wrap: pretty; }
.ptabs__text p + p { margin-top: .75rem; }
.ptabs__text a { color: var(--brand-light); text-decoration: underline; }
.ptabs__shortcuts { display: flex; flex: 0 1 240px; flex-direction: column; gap: 10px; margin-left: auto; }
@media (width < 40rem) { .ptabs__shortcuts { flex-basis: 100%; } }
.ptabs__sc {
  display: flex; align-items: center; gap: 12px; min-height: 54px; padding: 10px 14px 10px 12px; border-radius: 14px;
  border: 1px solid rgb(255 255 255 / .08); background: rgb(7 12 26 / .45); font-size: 14px; font-weight: 600; color: var(--ink);
  transition: border-color .2s, background-color .2s;
}
.ptabs__sc:hover { border-color: rgb(167 139 250 / .5); background: rgb(124 58 237 / .1); color: var(--ink); }
.ptabs__sc-ico { display: grid; place-items: center; width: 30px; height: 30px; flex-shrink: 0; border-radius: 9px; background: rgb(124 58 237 / .18); color: var(--brand-light); }
.ptabs__sc-ico .icon { width: 16px; height: 16px; }
.ptabs__sc-label { min-width: 0; flex: 1; }
.ptabs__sc-arrow { width: 16px; height: 16px; flex-shrink: 0; color: var(--brand-light); transition: transform .2s; }
.ptabs__sc:hover .ptabs__sc-arrow { transform: translateX(2px); }

/* Nasıl kullanılır? adım kartları */
.psteps { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 12px; }
.psteps li {
  position: relative; min-width: 0; padding: 16px; border-radius: 16px; border: 1px solid rgb(255 255 255 / .07);
  background: radial-gradient(120% 90% at 0% 0%, rgb(124 58 237 / .16), transparent 60%), rgb(7 12 26 / .45);
}
.psteps__top { display: flex; align-items: flex-start; justify-content: space-between; gap: 8px; }
.psteps__n {
  display: grid; place-items: center; width: 30px; height: 30px; flex-shrink: 0; border-radius: 999px; font-size: 13px; font-weight: 800; color: #fff;
  background: linear-gradient(135deg, #8b5cf6, #6d28d9); box-shadow: 0 0 16px -3px rgb(139 92 246 / .85);
}
.psteps__img { width: 44px; height: 44px; flex-shrink: 0; object-fit: contain; }
.psteps__title { margin-top: 12px; font-size: 15px; font-weight: 700; line-height: 1.35; color: var(--ink); }
.psteps__text { margin-top: 4px; font-size: 13px; line-height: 1.55; color: var(--mute); }
/* Hem kodlu hem ID'li ürün: iki adım listesi; seçici satın alma panelindeki paket türünü izler (product.js). */
.psteps-switch { display: inline-flex; flex-wrap: wrap; gap: 4px; margin-bottom: 16px; padding: 4px; border-radius: 12px; background: rgb(7 12 26 / .55); box-shadow: inset 0 0 0 1px rgb(255 255 255 / .07); }
.psteps-switch button { display: inline-flex; align-items: center; gap: 8px; min-height: 36px; padding-inline: 12px 14px; border: 0; border-radius: 9px; font-size: 13px; font-weight: 700; color: var(--mute); transition: color .2s, background-color .2s, box-shadow .2s; }
.psteps-switch button:hover { color: var(--ink); }
.psteps-switch button:focus-visible { outline: 2px solid var(--brand-light); outline-offset: 2px; }
.psteps-switch [aria-pressed="true"] { background: linear-gradient(160deg, rgb(139 92 246 / .42), rgb(109 40 217 / .2)); box-shadow: inset 0 0 0 1px rgb(196 181 253 / .6); color: var(--ink); }
.psteps-switch .icon { width: 15px; height: 15px; flex-shrink: 0; color: var(--brand-light); }
@media (width < 30rem) {
  .psteps-switch { display: grid; grid-template-columns: 1fr 1fr; }
  .psteps-switch button { justify-content: center; padding-inline: 8px; }
}
@media (width < 23rem) { .psteps-switch .icon { display: none; } }
.psteps-cap { display: none; }
/* Betik yoksa iki liste başlıklarıyla alt alta görünür. */
.no-js .psteps-switch { display: none; }
.no-js .psteps-set[hidden] { display: block !important; }
.no-js .psteps-cap { display: block; margin-bottom: 10px; font-size: 14px; font-weight: 700; color: var(--ink); }
.no-js .psteps-set + .psteps-set { margin-top: 20px; }

/* Değerlendirmeler */
.prev__layout { display: flex; flex-wrap: wrap; gap: 24px; }
.prev__summary {
  position: relative; flex: 0 0 220px; align-self: flex-start; padding: 18px; border-radius: 18px; border: 1px solid rgb(245 158 11 / .32);
  background: radial-gradient(90% 60% at 100% 0%, rgb(245 158 11 / .16), transparent 65%), rgb(7 12 26 / .5);
}
@media (width < 40rem) { .prev__summary { flex-basis: 100%; } }
.prev__avg { display: flex; align-items: baseline; gap: 8px; }
.prev__avg strong { font-size: 48px; line-height: 1; font-weight: 800; letter-spacing: -.02em; }
.prev__avg span { font-size: 14px; color: var(--mute); }
.prev__summary > .stars { margin-top: 8px; }
.prev__total { margin-top: 6px; font-size: 13px; color: var(--mute); }
.prev__dist { margin-top: 14px; display: flex; flex-direction: column; gap: 4px; }
.prev__dist button { display: flex; width: calc(100% + 12px); align-items: center; gap: 8px; margin-inline: -6px; padding: 3px 6px; border-radius: 8px; font-size: 12px; color: var(--mute); transition: background-color .2s, color .2s; }
.prev__dist button:hover, .prev__dist button.is-on { background: rgb(245 158 11 / .12); color: var(--ink); }
.prev__dist button > span:first-child { width: 10px; }
.prev__dist button > span:last-child { width: 32px; text-align: right; font-variant-numeric: tabular-nums; }
.prev__bar { height: 6px; flex: 1; overflow: hidden; border-radius: 999px; background: rgb(255 255 255 / .07); }
.prev__bar span { display: block; height: 100%; border-radius: 999px; background: linear-gradient(90deg, #f59e0b, #fbbf24); }
.prev__main { flex: 1 1 320px; min-width: 0; display: flex; flex-direction: column; gap: 12px; }
.prev__tools { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px; }
.prev__filters { display: flex; flex-wrap: wrap; gap: 6px; }
.prev__filters button { height: 32px; padding-inline: 13px; border-radius: 999px; border: 1px solid rgb(255 255 255 / .08); background: rgb(7 12 26 / .35); font-size: 12px; font-weight: 600; color: var(--mute); transition: border-color .2s, color .2s, background-color .2s; }
.prev__filters button:hover { border-color: rgb(167 139 250 / .5); color: var(--ink); }
.prev__filters button[aria-pressed="true"] { border-color: rgb(167 139 250 / .6); background: rgb(124 58 237 / .2); color: var(--ink); }
.prev__sort { height: 34px; border-radius: 10px; border: 1px solid rgb(255 255 255 / .08); background: rgb(7 12 26 / .6); padding-inline: 10px; font-size: 12px; font-weight: 600; color: var(--ink); }
.prev__list { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 10px; transition: opacity .2s; }
.prev.is-loading .prev__list { opacity: .55; }
.prev__item { min-width: 0; padding: 14px 16px 16px; border-radius: 16px; border: 1px solid rgb(255 255 255 / .07); background: rgb(7 12 26 / .45); }
.prev__head { display: flex; align-items: center; gap: 10px; }
.prev__avatar {
  display: grid; place-items: center; width: 32px; height: 32px; flex-shrink: 0; border-radius: 999px; font-size: 12px; font-weight: 700;
  color: var(--hue, var(--brand-light)); background: color-mix(in oklab, var(--hue, var(--brand-light)) 20%, #0b1124); box-shadow: inset 0 0 0 1px color-mix(in oklab, var(--hue, var(--brand-light)) 35%, transparent);
}
.prev__who { min-width: 0; flex: 1; }
.prev__author { display: flex; align-items: center; gap: 5px; min-width: 0; font-size: 14px; font-weight: 600; line-height: 1.3; color: var(--ink); }
.prev__author > span:first-child { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.prev__verified { display: inline-flex; flex-shrink: 0; color: var(--success); }
.prev__verified .icon { width: 14px; height: 14px; }
.prev__date { display: block; margin-top: 1px; font-size: 12px; color: var(--dim); }
.prev__head .stars { flex-shrink: 0; margin-left: auto; }
.prev__text { margin-top: 10px; font-size: 13px; line-height: 1.6; color: var(--soft); overflow-wrap: anywhere; }
.prev__empty { padding: 20px; border-radius: 16px; border: 1px dashed rgb(255 255 255 / .1); text-align: center; font-size: 13px; color: var(--mute); }
.prev__more-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; }
.prev__shown { font-size: 12px; color: var(--dim); font-variant-numeric: tabular-nums; }
.prev__more { display: inline-flex; align-items: center; gap: 6px; height: 38px; padding-inline: 16px; border-radius: 12px; border: 1px solid rgb(167 139 250 / .35); background: rgb(124 58 237 / .1); font-size: 13px; font-weight: 600; color: var(--lilac); transition: border-color .2s, background-color .2s, color .2s; }
.prev__more:hover { border-color: var(--brand-light); background: rgb(124 58 237 / .2); color: var(--ink); }
.prev__more:disabled { opacity: .6; cursor: progress; }
.prev__more .icon { width: 15px; height: 15px; }
.prev__pager { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.prev__page {
  display: grid; place-items: center; min-width: 36px; height: 36px; padding-inline: 8px; border-radius: 10px; border: 1px solid rgb(255 255 255 / .08);
  background: rgb(7 12 26 / .45); font-size: 13px; font-weight: 700; color: var(--soft); font-variant-numeric: tabular-nums; transition: border-color .2s, color .2s, background-color .2s;
}
.prev__page:hover:not(:disabled) { border-color: rgb(167 139 250 / .5); color: var(--ink); }
.prev__page[aria-current="page"] { border-color: transparent; background: linear-gradient(135deg, #8b5cf6, #6d28d9); color: #fff; box-shadow: 0 6px 18px -6px rgb(139 92 246 / .9); }
.prev__page:disabled { opacity: .35; cursor: default; }
.prev__page--arrow { font-size: 18px; line-height: 1; }
.prev__gap { padding-inline: 2px; color: var(--dim); }
.prev__none { font-size: 14px; color: var(--mute); }
.prev__form { margin-top: 16px; }
.prev__write { display: inline-flex; align-items: center; gap: 8px; height: 40px; padding-inline: 16px; border: 1px solid rgb(167 139 250 / .35); border-radius: 10px; cursor: pointer; list-style: none; font-size: 14px; font-weight: 600; color: var(--lilac); }
.prev__write::-webkit-details-marker { display: none; }
.prev__write .icon { width: 16px; height: 16px; }
.prev__form[open] .prev__write { margin-bottom: 12px; }
.prev__form .comment-form { display: grid; gap: 12px; max-width: 36rem; }
.prev__note { margin-top: 12px; font-size: 13px; color: var(--mute); }

/* Satın alma paneli: kendi içinde kaymaz (yükseklik sınırı yok). */
/* Panel sayfayla birlikte kayar, ekrana yapışıp takip etmez (kullanıcı kararı 2026-10-18). */
.pdp2__aside { flex: 1 1 340px; min-width: 0; max-width: 400px; align-self: flex-start; filter: drop-shadow(0 24px 40px rgb(124 58 237 / .28)); }
@media (width < 51.25rem) { .pdp2__aside { max-width: none; } }
/* filter, sabit konumlu alt çubuğun kapsayıcısı olmasın diye mobilde kapalı */
@media (width < 56.25rem) { .pdp2__aside { filter: none; } }
/* Panel ve içindeki her şey yuvarlak köşeli (kullanıcı kararı 2026-10-17; kesik köşe yok). */
.buy__frame { border-radius: 22px; }
.buy__in { border-radius: 21px; }
.buy__frame { padding: 1px; background: linear-gradient(180deg, rgb(167 139 250 / .55), rgb(167 139 250 / .08) 45%, rgb(167 139 250 / .18)); }
.buy__in { display: flex; flex-direction: column; gap: 14px; padding: 18px 20px 20px; background: linear-gradient(180deg, #121b36, #0c1328); }
/* Ürün rengi tanımlıysa yalnızca çerçeve, gölge ışığı ve iç zemin ışıkları o tona döner; butonlar ve seçimler mor kalır (KOD_AKTARIM 78).
   Kesik köşeli kutu box-shadow'u kırptığı için gölge, kırpılmayan bir alt katmanda çizilir. */
.has-hue .pdp2__aside { filter: none; }
.has-hue .buy { position: relative; }
.has-hue .buy::before { content: ""; position: absolute; inset: 0; z-index: -1; border-radius: 22px; pointer-events: none; box-shadow: 0 30px 70px -24px rgb(0 0 0 / .95), 0 0 50px -18px hsl(var(--h) 80% 52% / .8); }
.has-hue .buy__frame { background: linear-gradient(160deg, hsl(var(--h) 85% 68% / .8), rgb(30 42 71 / .95) 38%, hsl(var(--h) 80% 52% / .5)); }
.has-hue .buy__in { background: radial-gradient(90% 40% at 0% 0%, hsl(var(--h) 80% 52% / .22), transparent 70%), radial-gradient(80% 30% at 100% 100%, hsl(var(--h) 80% 52% / .1), transparent 70%), linear-gradient(180deg, #141d3c, #0b1124 55%); }
.buy__step { display: flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--soft); }
.buy__step--row { justify-content: space-between; }
.buy__step-label { display: inline-flex; align-items: center; gap: 8px; }
.buy__num {
  display: grid; place-items: center; width: 22px; height: 22px; flex-shrink: 0; border-radius: 999px; font-size: 12px; font-weight: 800; letter-spacing: 0; color: #fff;
  background: linear-gradient(135deg, #8b5cf6, #6d28d9); box-shadow: 0 0 12px -3px rgb(139 92 246 / .9);
}
.buy__count { font-weight: 500; letter-spacing: 0; text-transform: none; }
.buy__id-wrap { position: relative; display: block; margin-top: 8px; }
.buy__id-icon { position: absolute; top: 50%; left: 14px; width: 17px; height: 17px; transform: translateY(-50%); color: var(--brand-light); pointer-events: none; }
.buy__id { height: 48px; width: 100%; border-radius: 12px; border: 1px solid var(--line); background: rgb(7 12 26 / .6); padding: 0 14px 0 42px; font-size: 15px; color: var(--ink); transition: border-color .2s, box-shadow .2s; }
.buy__id:focus { box-shadow: 0 0 0 3px rgb(124 58 237 / .22); }
.buy__id:focus { border-color: var(--brand); outline: none; }
.buy__id[aria-invalid="true"] { border-color: var(--danger); }
select.buy__id { appearance: none; -webkit-appearance: none; cursor: pointer; padding-right: 40px; }
select.buy__id option { background: #0b1222; color: var(--ink); }
/* Oyuncu ID + sunucu numarası ayrı kutular ve oyuncu adı satırı (22 Kas 2026). */
.buy__id-row.has-zone { display: grid; grid-template-columns: minmax(0, 1fr) 7.5rem; gap: 8px; margin-top: 8px; }
.buy__id-row.has-zone .buy__id-wrap { margin-top: 0; }
.buy__zone { padding-left: 14px; text-align: center; }
.buy__ign { display: flex; align-items: center; gap: 6px; margin-top: 8px; font-size: 13px; line-height: 1.45; color: var(--mute); }
.buy__ign .icon { width: 16px; height: 16px; flex-shrink: 0; }
.buy__ign strong { color: var(--ink); font-weight: 700; overflow-wrap: anywhere; }
.buy__ign.is-found { color: #6ee7b7; }
.buy__ign.is-notfound { color: #fbbf24; }
.buy__gs-chev { position: absolute; top: 50%; right: 14px; width: 16px; height: 16px; transform: translateY(-50%); color: var(--dim); pointer-events: none; }
.buy__error { margin-top: 6px; font-size: 13px; color: var(--danger); }
.buy__hint { margin-top: 8px; display: flex; gap: 6px; font-size: 12px; line-height: 1.45; color: var(--mute); }
.buy__hint .icon { margin-top: 1px; width: 13px; height: 13px; flex-shrink: 0; color: var(--brand-light); }
.buy__servers { margin-top: 8px; display: grid; grid-template-columns: repeat(auto-fill, minmax(88px, 1fr)); gap: 8px; } /* auto-fill: tek görünen düğme satırı kaplamaz (20 Kas 2026) */
.buy-srv, .buy-pack { border-radius: 12px; border: 1px solid rgb(255 255 255 / .08); background: rgb(255 255 255 / .025); transition: border-color .15s, background .15s; }
.buy-srv:hover, .buy-pack:hover { border-color: rgb(167 139 250 / .6); }
.buy-srv[aria-checked="true"], .buy-pack:has(input:checked) { border-color: rgb(167 139 250 / .9); background: linear-gradient(180deg, rgb(124 58 237 / .32), rgb(124 58 237 / .1)); box-shadow: 0 10px 26px -12px rgb(124 58 237 / .9); }
.buy-srv { display: flex; border-radius: 10px; flex-direction: column; align-items: flex-start; gap: 1px; padding: 9px 12px; color: inherit; }
.buy-srv strong { font-size: 15px; font-weight: 800; letter-spacing: .04em; color: var(--soft); }
.buy-srv[aria-checked="true"] strong { color: var(--ink); }
/* Uzun metinler kısalmaz, alt satıra geçer (ör. "1090 Genesis Kristali"). Sunucu adı ("Kuzey Amerika") tek satırda
   kalır: sunucu kartında yan boşluk daraltılır, yine sığmazsa yazı biraz küçülür (2 Kas). */
.buy-srv span { max-width: 100%; font-size: 11px; line-height: 1.3; overflow-wrap: anywhere; color: var(--mute); }
.buy__servers .buy-srv:not(.buy-type) { padding-inline: 8px; }
.buy__servers .buy-srv:not(.buy-type) span { overflow-wrap: normal; white-space: nowrap; font-size: min(11px, 3.4cqi); }
/* Sunucu düğmesinde yalnız ad (20 Kas 2026); uzun ad kesilmez, gerekirse iki satır. */
.buy__servers .buy-srv:not(.buy-type) { justify-content: center; min-height: 44px; }
.buy__servers .buy-srv:not(.buy-type) strong { max-width: 100%; line-height: 1.2; overflow-wrap: normal; letter-spacing: 0; font-size: 14px; }
.buy__servers { container-type: inline-size; }
.buy__packs { margin-top: 8px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.buy-pack { position: relative; display: flex; flex-direction: column; align-items: flex-start; gap: 2px; padding: 10px 12px; cursor: pointer; }
.buy-pack:has(input:focus-visible) { outline: 2px solid var(--brand-light); outline-offset: 2px; }
.buy-pack.is-disabled { cursor: not-allowed; opacity: .45; }
.buy-pack.is-disabled:hover { border-color: rgb(255 255 255 / .08); }
.buy-pack__check {
  position: absolute; right: -6px; bottom: -6px; display: none; place-items: center; width: 22px; height: 22px; border-radius: 999px; color: #fff;
  background: linear-gradient(135deg, #8b5cf6, #6d28d9); box-shadow: 0 0 0 2px #0f1730, 0 0 12px -2px rgb(139 92 246 / .9);
}
.buy-pack__check .icon { width: 13px; height: 13px; stroke-width: 3; }
.buy-pack:has(input:checked) .buy-pack__check { display: grid; }
/* Paket penceresinde ana paketin yanında seçilen ek paketler. */
.buy-pack.is-extra { border-color: rgb(167 139 250 / .7); background: linear-gradient(180deg, rgb(124 58 237 / .22), rgb(124 58 237 / .06)); }
.buy-pack.is-extra .buy-pack__check { display: grid; }
.buy__extras { margin-top: 12px; }
.buy__extras[hidden] { display: none; }
.buy__extras-head { display: flex; align-items: center; gap: 6px; margin: 0 0 8px; font-size: 12px; font-weight: 700; color: var(--soft); }
.buy__extras-head .icon { width: 15px; height: 15px; color: var(--lilac); }
.buy__extras-list { display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0; list-style: none; }
.buy__extra { display: inline-flex; align-items: center; gap: 8px; min-width: 0; max-width: 100%; padding: 5px 5px 5px 11px; border-radius: 11px; background: rgb(124 58 237 / .16); box-shadow: inset 0 0 0 1px rgb(167 139 250 / .35); font-size: 13px; }
.buy__extra-name { min-width: 0; overflow: hidden; font-weight: 700; white-space: nowrap; text-overflow: ellipsis; color: var(--ink); }
.buy__extra-price { flex-shrink: 0; font-weight: 700; color: var(--soft); }
.buy__extra-x { display: grid; flex-shrink: 0; place-items: center; width: 24px; height: 24px; border-radius: 8px; background: rgb(255 255 255 / .06); color: var(--soft); }
.buy__extra-x:hover { background: rgb(248 113 113 / .18); color: var(--danger); }
.buy__extra-x:focus-visible { outline: 2px solid var(--brand-light); outline-offset: 2px; }
.buy__extra-x .icon { width: 14px; height: 14px; }
.buy-pack__top { display: flex; width: 100%; align-items: flex-start; justify-content: space-between; gap: 6px; }
.buy-pack__name { min-width: 0; font-size: 12px; line-height: 1.3; font-weight: 600; overflow-wrap: anywhere; color: var(--soft); }
/* Paket adı en fazla 2 satır: uzun ad kartı uzatmaz (15 Kas 2026). Not rozeti (Tükendi, Az kaldı, indirim) fiyat satırında. */
.buy-pack__title { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; line-clamp: 2; overflow: hidden; }
.buy-pack__foot { display: flex; width: 100%; align-items: center; justify-content: space-between; gap: 6px; }
.buy-pack:has(input:checked) .buy-pack__foot { padding-right: 10px; }
.buy-pack__note { flex-shrink: 0; padding: 1px 6px; border-radius: 6px; font-size: 11px; font-weight: 700; line-height: 1.45; color: var(--mute); }
.buy-pack__note:empty { display: none; }
.buy-pack__flag { display: block; margin-top: 2px; color: #fde047; font-size: 10.5px; font-weight: 700; }
.buy-pack__split, .pkm-pack__split { display: block; margin-top: 2px; color: var(--soft); font-size: 11px; font-weight: 600; white-space: nowrap; }
.buy-pack__note.is-gold { background: rgb(245 158 11 / .16); color: var(--gold); }
.buy-pack__note.is-out { background: rgb(248 113 113 / .14); color: var(--danger); }
.buy-pack__note.is-bonus { background: rgb(124 58 237 / .2); color: var(--brand-light); }
.buy-pack__price { font-size: 16px; font-weight: 700; letter-spacing: -.01em; color: var(--ink); font-variant-numeric: tabular-nums; }
.buy__line { height: 1px; background: rgb(255 255 255 / .07); }
.buy__line:has(+ .buy__total), .buy__line:has(+ input[type="hidden"] + .buy__total) { display: none; }
.buy__qty-row { display: flex; align-items: center; justify-content: space-between; font-size: 14px; color: var(--soft); }
.buy-qty { display: inline-flex; align-items: center; height: 36px; overflow: hidden; border-radius: 10px; border: 1px solid rgb(255 255 255 / .08); background: rgb(7 12 26 / .6); }
.buy-qty button { display: grid; place-items: center; width: 36px; height: 100%; color: var(--ink); transition: color .2s; }
.buy-qty button:hover:not(:disabled) { color: var(--brand-light); }
.buy-qty button:disabled { opacity: .4; }
.buy-qty .icon { width: 15px; height: 15px; }
.buy-qty input { width: 28px; border: 0; background: transparent; text-align: center; font-size: 14px; font-weight: 600; color: var(--ink); -moz-appearance: textfield; appearance: textfield; }
.buy-qty input::-webkit-inner-spin-button, .buy-qty input::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }
/* Toplam kutusu: tutar + altında ayrılmış cashback satırı. */
.buy__total { overflow: hidden; border-radius: 14px; border: 1px solid rgb(255 255 255 / .08); background: rgb(7 12 26 / .45); }
.buy__total-row { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; padding: 14px 16px; }
.buy__total-left { min-width: 0; flex: 1; }
.buy__label { font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--mute); }
.buy__sel { margin-top: 2px; font-size: 13px; line-height: 1.35; overflow-wrap: anywhere; color: var(--soft); }
.buy__total-right { text-align: right; }
.buy__saving { display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-end; gap: 4px 8px; font-size: 12px; }
.buy__saving s { color: var(--dim); }
.buy__saving span { padding: 2px 7px; border-radius: 6px; white-space: nowrap; background: rgb(245 158 11 / .14); font-weight: 600; color: var(--gold); }
.buy__amount { margin-top: 2px; font-size: 30px; line-height: 1; font-weight: 800; letter-spacing: -.02em; color: var(--ink); font-variant-numeric: tabular-nums; }
.buy__cashback { display: flex; align-items: center; gap: 8px; padding: 10px 16px; border-top: 1px solid rgb(59 130 246 / .18); background: rgb(59 130 246 / .07); font-size: 12px; color: var(--azure-light); }
.buy__cashback .icon { width: 14px; height: 14px; flex-shrink: 0; }
.buy__cashback a { font-weight: 600; color: var(--azure-light); }
.buy__cashback a:hover { text-decoration: underline; }
/* Butonlar normal akışta (ayrı yapışkan blok değil). */
.buy__actions { display: flex; flex-direction: column; gap: 8px; }
.buy__legal { margin-top: 12px; display: flex; align-items: flex-start; gap: 8px; font-size: 12px; line-height: 1.5; color: var(--mute); }
.buy__legal .icon { width: 14px; height: 14px; flex-shrink: 0; margin-top: 2px; color: var(--brand-light); }
.buy__now, .buy__add, .fav--buy { border-radius: 14px; }
.buy__now { display: flex; width: 100%; height: 52px; align-items: center; justify-content: center; gap: 8px; background: linear-gradient(135deg, #8b5cf6, #6d28d9); box-shadow: 0 10px 28px rgb(124 58 237 / .45), inset 0 1px 0 rgb(255 255 255 / .14); font-size: 15px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: #fff; transition: background-color .2s; }
.buy__now:hover:not(:disabled) { filter: brightness(1.08); }
.buy__now .icon { width: 18px; height: 18px; }
.buy__row { display: flex; gap: 8px; }
.buy__add { flex: 1; display: flex; height: 46px; align-items: center; justify-content: center; gap: 8px; background: rgb(255 255 255 / .04); box-shadow: inset 0 0 0 1px rgb(255 255 255 / .12); font-size: 13px; font-weight: 600; letter-spacing: .05em; text-transform: uppercase; color: var(--ink); transition: color .2s, box-shadow .2s; }
.buy__add:hover:not(:disabled) { color: var(--lilac); box-shadow: inset 0 0 0 1px var(--brand); }
.buy__add .icon { width: 16px; height: 16px; }
.buy__now:disabled, .buy__add:disabled { cursor: not-allowed; opacity: .5; }
.buy__now.is-loading, .buy__add.is-loading { pointer-events: none; opacity: .75; }
.fav--buy { width: 46px; height: 46px; background: rgb(255 255 255 / .04); box-shadow: inset 0 0 0 1px rgb(255 255 255 / .12); }
.fav--buy:hover { box-shadow: inset 0 0 0 1px var(--brand); }

/* Mobil satın alma çubuğu (900 px altında) */
.buy-bar { display: none; }
@media (width < 56.25rem) {
  body.single-product { --tabbar-h: 70px; }
  .buy-bar {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 70; display: flex; align-items: center; gap: 12px;
    padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); border-top: 1px solid rgb(167 139 250 / .35);
    background: rgb(11 17 36 / .96); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); box-shadow: 0 -16px 40px -16px rgb(0 0 0 / .9);
  }
}
.buy-bar__info { min-width: 0; flex: 1; }
.buy-bar__sel { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; font-size: 11px; line-height: 1.35; color: var(--mute); }
.buy-bar__total { font-size: 20px; line-height: 1.1; font-weight: 800; font-variant-numeric: tabular-nums; }
.buy-bar__buy { height: 48px; padding-inline: 20px; border-radius: 12px; background: var(--brand-grad); box-shadow: 0 10px 24px -10px rgb(124 58 237 / .9); font-size: 14px; font-weight: 800; letter-spacing: .03em; text-transform: uppercase; color: #fff; }
.buy-bar__buy:disabled { opacity: .5; cursor: not-allowed; }

/* Benzer ürünler: tam genişlik akan bant; arkasında zemin yok (ürün rengine tonlanan sayfa arka planı görünür),
   her kartın kendi koyu cam arkalığı var. */
.rel { margin-top: 56px; }
/* Ürün alanının (48px alt boşluk) hemen altında: aradaki toplam boşluk 56px. */
.pdp-page .seo-block { padding-top: 8px; }
.rel__head { max-width: 82.5rem; margin: 0 auto 20px; padding-inline: 24px; display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 8px 16px; }
.rel__all { display: inline-flex; align-items: center; gap: 4px; font-size: 14px; font-weight: 600; color: #a78bfa; transition: color .2s; }
.rel__all:hover { color: var(--lilac); }
.rel__all .icon { width: 15px; height: 15px; }
.rel__kicker { margin-bottom: 8px; display: flex; align-items: center; gap: 8px; font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: var(--brand-light); }
.rel__kicker::before { content: ""; width: 6px; height: 6px; background: currentColor; }
.rel__title { font-size: 28px; font-weight: 800; letter-spacing: -.01em; text-transform: uppercase; }
/* Alt boşluk 30 px: hover parıltısı kenar maskesinde kesik koyu şerit bırakmaz (KOD_AKTARIM 91). */
.rel__band { overflow: hidden; padding-block: 8px 30px; -webkit-mask-image: linear-gradient(to right, transparent, #000 4%, #000 96%, transparent); mask-image: linear-gradient(to right, transparent, #000 4%, #000 96%, transparent); }
.rel__track { display: flex; width: max-content; }
.rel__list { display: flex; }
/* Kartlar içerikten bağımsız eşit boyda: satır kart boyunu en uzun karta göre esnetir, kart da satırı doldurur. */
.rel__list li { display: flex; margin-right: 16px; }
.rel__card {
  display: flex; width: 248px; flex-direction: column; color: var(--ink);
  background: rgb(7 12 26 / .66); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  box-shadow: inset 0 0 0 1px rgb(255 255 255 / .07);
  overflow: hidden; border-radius: 16px;
  transition: transform .25s, box-shadow .25s;
}
.rel__card:hover { transform: translateY(-4px); box-shadow: inset 0 0 0 1px rgb(167 139 250 / .65), 0 14px 28px -16px rgb(124 58 237 / .75); color: var(--ink); }
.rel__media { position: relative; display: block; aspect-ratio: 16 / 10; overflow: hidden; }
.rel__cover { position: absolute; inset: 0; }
.rel__tags { position: absolute; top: 8px; left: 8px; z-index: 1; display: flex; gap: 6px; }
.rel__info { display: flex; min-width: 0; flex: 1; flex-direction: column; gap: 2px; padding: 12px 14px 14px; }
.rel__pub { font-size: 11px; font-weight: 600; letter-spacing: .05em; text-transform: uppercase; color: var(--mute); }
.rel__pub:empty::before { content: "\00a0"; } /* Yayıncı boşken satır yerini korur; ad ve fiyat diğer kartlarla hizalı kalır. */
.rel__name { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 16px; line-height: 1.25; font-weight: 600; }
/* Fiyat satırı boşken (tükenen, fiyatı gizli ürün) de yerini korur: teslim satırı diğer kartlarla aynı hizada kalır. */
.rel__row { min-height: 23px; margin-top: 6px; display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.rel__price { display: flex; align-items: baseline; gap: 6px; }
.rel__price span { font-size: 11px; color: var(--mute); }
.rel__price strong { font-size: 15px; font-weight: 700; }
.rel__price--off strong { font-weight: 600; color: var(--mute); }
.rel__rating { display: flex; align-items: center; gap: 4px; font-size: 12px; color: var(--mute); }
.rel__rating .icon { width: 13px; height: 13px; color: var(--gold); stroke-width: 0; }
/* Teslim satırı kartın dibinde, tek satır; uzun metin üç noktayla kısalır. */
.rel__delivery { margin-top: auto; padding-top: 4px; min-width: 0; white-space: nowrap; display: flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 500; color: var(--brand-light); }
.rel__delivery .icon { width: 13px; height: 13px; flex-shrink: 0; }
.rel__delivery-text { min-width: 0; overflow: hidden; text-overflow: ellipsis; }

/* Seçili sunucuda / sekmede olmayan paket; seçilen paketin türüne göre gizlenen alanlar */
.buy-pack[hidden], .buy-srv[hidden], .buy__block[hidden], .buy__qty-row[hidden], .buy__legal[hidden], .buy__more[hidden] { display: none; }
.buy__line:has(+ .buy__qty-row[hidden]) { display: none; }

/* Ürün türü adımı (ID ile yükleme · E-pin · İlk yükleme · Paketler ya da üründe elle tanımlı türler): 3 sütun kart
   (4 türde 2×2); üstte ikon + seçili sunucudaki paket sayısı, altında tür adı. */
.buy__types { margin-top: 8px; display: grid; grid-template-columns: repeat(var(--type-cols, 3), minmax(0, 1fr)); gap: 6px; }
.buy-srv.buy-type { position: relative; min-height: 64px; gap: 6px; padding: 9px 10px; border: 0; border-radius: 12px; background: rgb(7 12 26 / .6); box-shadow: inset 0 0 0 1px rgb(255 255 255 / .07); transition: background .15s, box-shadow .15s; }
.buy-srv.buy-type:hover { box-shadow: inset 0 0 0 1px rgb(167 139 250 / .6); }
.buy-srv.buy-type[aria-checked="true"] { background: linear-gradient(160deg, rgb(139 92 246 / .42), rgb(109 40 217 / .2) 60%, rgb(14 22 49 / .9)); box-shadow: inset 0 0 0 1px rgb(196 181 253 / .85), 0 10px 24px -12px rgb(124 58 237 / .9); }
.buy-srv.buy-type:focus-visible { outline: 2px solid var(--brand-light); outline-offset: 2px; }
.buy-srv .buy-type__top { display: flex; width: 100%; align-items: center; justify-content: space-between; gap: 4px; }
.buy-type__icon { width: 17px; height: 17px; flex-shrink: 0; color: var(--brand-light); }
.buy-type[aria-checked="true"] .buy-type__icon { color: var(--brand-pale); }
.buy-srv .buy-type__count { padding: 1px 7px; border-radius: 999px; background: rgb(124 58 237 / .18); font-size: 10px; font-weight: 800; line-height: 1.5; color: var(--lilac); }
.buy-type[aria-checked="true"] .buy-type__count { background: rgb(255 255 255 / .18); color: #fff; }
.buy-srv .buy-type__label { font-size: 13px; font-weight: 700; line-height: 1.15; overflow-wrap: normal; color: var(--soft); }
.buy-type[aria-checked="true"] .buy-type__label { color: var(--ink); }
.buy__hint[hidden], .buy__popular[hidden], .buy__all[hidden] { display: none; }

/* Popüler paketler (seçili türde çok paket varsa) + "Tüm N paketi görüntüle" */
.buy__popular { margin-top: 10px; display: flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 700; color: var(--ink); }
.buy__popular .icon { width: 15px; height: 15px; color: var(--gold); }
.buy__all {
  margin-top: 10px; display: flex; width: 100%; min-height: 46px; align-items: center; justify-content: center; gap: 10px; padding: 8px 14px; border-radius: 12px;
  background: linear-gradient(180deg, rgb(124 58 237 / .22), rgb(124 58 237 / .08)); box-shadow: inset 0 0 0 1px rgb(167 139 250 / .75), 0 0 18px -6px rgb(124 58 237 / .8);
  font-size: 14px; font-weight: 700; color: var(--ink); transition: background .2s, box-shadow .2s;
}
.buy__all:hover { background: linear-gradient(180deg, rgb(124 58 237 / .38), rgb(124 58 237 / .14)); box-shadow: inset 0 0 0 1px var(--lilac), 0 0 24px -4px rgb(124 58 237 / .9); color: var(--ink); }
.buy__all .icon { width: 17px; height: 17px; flex-shrink: 0; color: var(--lilac); }

/* Paket penceresi (<dialog>): tür sekmeleri, arama, sayfalı ızgara 4×2; 640 px altında alttan panel, 2×3 */
html.is-pkm-open { overflow: hidden; }
.pkm { width: min(860px, calc(100% - 48px)); max-width: none; max-height: min(720px, calc(100dvh - 48px)); margin: auto; padding: 0; border: 0; border-radius: 22px; background: transparent; color: var(--ink); overflow: visible; }
.pkm[open] { display: flex; }
.pkm::backdrop { background: rgb(3 6 16 / .72); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.pkm button { border: 0; }
.pkm__frame { flex: 1; min-width: 0; display: flex; padding: 1px; border-radius: inherit; background: linear-gradient(140deg, #a78bfa, #6d28d9 40%, #1e2a47 70%, #8b5cf6); box-shadow: 0 30px 80px -20px rgb(124 58 237 / .75); }
.pkm__in { flex: 1; min-width: 0; display: flex; flex-direction: column; border-radius: 21px; background: radial-gradient(80% 50% at 50% 0%, rgb(124 58 237 / .16), transparent 70%), var(--deep); overflow: hidden; }
.pkm__head { display: flex; align-items: center; gap: 12px; padding: 18px 20px 12px; }
.pkm__icon { display: grid; flex-shrink: 0; color: var(--brand-light); }
.pkm__icon .icon { width: 22px; height: 22px; }
.pkm__title { flex: 1; min-width: 0; margin: 0; font-size: clamp(17px, 2.4vw, 20px); font-weight: 800; line-height: 1.25; color: var(--ink); }
.pkm__total { color: var(--brand-light); }
.pkm .pkm__x { display: grid; place-items: center; width: 40px; height: 40px; flex-shrink: 0; border-radius: 12px; border: 1px solid rgb(255 255 255 / .12); background: rgb(7 12 26 / .6); color: var(--ink); transition: border-color .2s, background .2s; }
.pkm .pkm__x:hover { border-color: var(--brand-light); background: rgb(124 58 237 / .2); }
.pkm__x .icon { width: 18px; height: 18px; }
.pkm__tabs { display: flex; gap: 6px; padding: 0 20px 12px; overflow-x: auto; scrollbar-width: none; }
.pkm__tab { flex: 1 0 auto; display: flex; align-items: center; justify-content: center; gap: 8px; height: 44px; padding: 0 14px; border-radius: 12px; background: rgb(7 12 26 / .7); box-shadow: inset 0 0 0 1px rgb(255 255 255 / .1); font-size: 13px; font-weight: 700; white-space: nowrap; color: var(--soft); transition: background .2s, box-shadow .2s; }
.pkm__tab:hover { box-shadow: inset 0 0 0 1px var(--brand-light); }
.pkm__tab .icon { width: 16px; height: 16px; flex-shrink: 0; color: var(--brand-light); }
.pkm__tab-count { padding: 1px 7px; border-radius: 999px; background: rgb(124 58 237 / .18); font-size: 10px; font-weight: 800; color: var(--lilac); }
.pkm__tab[aria-selected="true"] { background: linear-gradient(135deg, #8b5cf6, #6d28d9); box-shadow: 0 8px 20px -8px rgb(124 58 237 / .9), inset 0 1px 0 rgb(255 255 255 / .2); color: #fff; }
.pkm__tab[aria-selected="true"] .icon { color: #fff; }
.pkm__tab[aria-selected="true"] .pkm__tab-count { background: rgb(255 255 255 / .2); color: #fff; }
.pkm__tab[hidden], .pkm__empty[hidden], .pkm__tpl { display: none; }
.pkm__search { position: relative; margin: 0 20px 14px; }
.pkm__search > .icon { position: absolute; top: 50%; left: 13px; width: 16px; height: 16px; transform: translateY(-50%); color: var(--mute); pointer-events: none; }
.pkm__q { width: 100%; height: 42px; padding: 0 12px 0 38px; border-radius: 12px; border: 1px solid var(--line); background: rgb(7 12 26 / .7); font-size: 14px; color: var(--ink); }
.pkm__q:focus { border-color: var(--brand-icon); box-shadow: 0 0 0 3px rgb(124 58 237 / .25); outline: none; }
.pkm__q::placeholder { color: var(--dim); }
.pkm__body { flex: 1; min-height: 0; overflow-y: auto; display: flex; align-items: center; align-items: safe center; gap: 12px; padding: 4px 16px 18px; }
.pkm .pkm__nav { display: grid; place-items: center; width: 42px; height: 42px; flex-shrink: 0; border-radius: 50%; border: 1px solid rgb(167 139 250 / .45); background: rgb(124 58 237 / .14); color: var(--ink); transition: opacity .2s, background .2s, border-color .2s; }
.pkm .pkm__nav:hover:not(:disabled) { border-color: var(--lilac); background: rgb(124 58 237 / .32); }
.pkm__nav:disabled { opacity: .3; cursor: default; }
.pkm__nav .icon { width: 20px; height: 20px; }
.pkm__view { flex: 1; min-width: 0; margin: -8px -6px; padding: 8px 6px; overflow: hidden; touch-action: pan-y; }
.pkm__track { display: flex; transition: transform .5s cubic-bezier(.22, .8, .24, 1); }
.pkm__track.is-instant, .pkm__track.is-instant .pkm__page { transition: none; }
.pkm__page { flex: 0 0 100%; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); align-content: start; gap: 12px; padding: 0 6px; opacity: .25; transition: opacity .45s; }
.pkm__page.is-on { opacity: 1; }
.pkm__empty { padding: 40px 16px; border-radius: 14px; border: 1px dashed rgb(255 255 255 / .12); text-align: center; font-size: 13px; color: var(--mute); }
.pkm-pack { position: relative; display: flex; flex-direction: column; align-items: center; gap: 6px; min-width: 0; padding: 14px 10px; border-radius: 16px; background: rgb(7 12 26 / .6); box-shadow: inset 0 0 0 1px rgb(255 255 255 / .07); text-align: center; color: inherit; transition: background .15s, box-shadow .15s, transform .2s; }
.pkm-pack:hover:not(:disabled) { transform: translateY(-2px); box-shadow: inset 0 0 0 1px rgb(167 139 250 / .75), 0 12px 26px -14px rgb(124 58 237 / .9); }
.pkm-pack[aria-checked="true"] { background: linear-gradient(160deg, rgb(139 92 246 / .42), rgb(109 40 217 / .2) 60%, rgb(14 22 49 / .9)); box-shadow: inset 0 0 0 1px rgb(196 181 253 / .9), 0 12px 28px -14px rgb(124 58 237 / .95); }
.pkm-pack:disabled { opacity: .45; }
.pkm-pack:focus-visible { outline: 2px solid var(--brand-light); outline-offset: 2px; }
.pkm-pack__art { display: grid; place-items: center; width: 100%; height: 96px; background: radial-gradient(50% 55% at 50% 55%, rgb(124 58 237 / .28), transparent 72%); }
/* Dik (225×300) paket görseli kutudan taşıp paket adını örtmesin: yükseklik kutuya sabit. */
.pkm-pack__art img { width: auto; height: 96px; max-width: 96px; object-fit: contain; filter: drop-shadow(0 6px 14px rgb(124 58 237 / .6)); }
/* Paket adı iki satıra kadar tam görünür; kartlar aynı hizada kalsın diye hep iki satırlık yer ayrılır. */
.pkm-pack__name { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; line-clamp: 2; max-width: 100%; min-height: 2.6em; overflow: hidden; font-size: 13px; font-weight: 700; line-height: 1.3; overflow-wrap: anywhere; text-wrap: balance; color: var(--soft); }
.pkm-pack[aria-checked="true"] .pkm-pack__name { color: var(--brand-pale); }
.pkm-pack__price { margin-top: auto; font-size: 19px; font-weight: 800; line-height: 1; white-space: nowrap; font-variant-numeric: tabular-nums; color: var(--ink); }
.pkm-pack__note { position: absolute; top: 8px; left: 8px; padding: 2px 7px; border-radius: 999px; background: rgb(245 158 11 / .18); font-size: 10px; font-weight: 800; color: var(--gold); }
.pkm-pack__note.is-out { background: rgb(248 113 113 / .16); color: var(--danger); }
.pkm-pack__check { position: absolute; top: 8px; right: 8px; display: none; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: linear-gradient(135deg, #a78bfa, #7c3aed); box-shadow: 0 0 0 3px var(--deep), 0 4px 10px rgb(124 58 237 / .7); color: #fff; }
.pkm-pack[aria-checked="true"] .pkm-pack__check { display: grid; }
.pkm-pack__check .icon { width: 14px; height: 14px; stroke-width: 3; }
.pkm__foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 16px; padding: 14px 20px calc(14px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); background: rgb(7 12 26 / .55); }
.pkm__info { display: flex; min-width: 0; align-items: center; gap: 8px; font-size: 13px; color: var(--mute); }
.pkm__info .icon { width: 15px; height: 15px; flex-shrink: 0; color: var(--brand-light); }
.pkm__ok { display: inline-flex; height: 46px; align-items: center; justify-content: center; gap: 8px; padding: 0 22px; border-radius: 12px; background: linear-gradient(90deg, #8b5cf6, #6d28d9); box-shadow: 0 10px 26px -10px rgb(124 58 237 / .95), inset 0 1px 0 rgb(255 255 255 / .2); font-size: 14px; font-weight: 800; color: #fff; }
.pkm .pkm__ok:hover:not(:disabled) { background: linear-gradient(90deg, #a78bfa, #7c3aed); }
.pkm__ok:disabled { opacity: .5; }
.pkm__ok .icon { width: 17px; height: 17px; }
@media (width < 40rem) {
  .pkm { width: 100%; max-height: 88dvh; margin: auto 0 0; border-radius: 22px 22px 0 0; }
  .pkm__in { border-radius: 21px 21px 0 0; }
  .pkm__body { gap: 6px; padding-inline: 10px; }
  .pkm .pkm__nav { width: 34px; height: 34px; }
  .pkm__page { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pkm-pack { gap: 4px; padding: 10px 8px; }
  .pkm-pack__art { height: 64px; }
  .pkm-pack__price { font-size: 17px; }
  /* Dar kartta uzun ad üç satıra kadar tam görünür (dokunmatikte üzerine gelme yok). */
  .pkm-pack__name { -webkit-line-clamp: 3; line-clamp: 3; }
  .pkm-pack__art img { height: 64px; max-width: 64px; }
  .pkm__ok { flex: 1 1 100%; }
  /* Telefonda tek dikey liste (22 Kas 2026): oklar yok, 3 sütun küçük kart; yalnız gövde dikey kayar. */
  .pkm__body { align-items: flex-start; padding: 2px 12px 14px; }
  .pkm .pkm__nav { display: none; }
  .pkm__view { margin: 0; padding: 2px; overflow: visible; }
  .pkm__track { transform: none !important; }
  .pkm__page { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; padding: 0; opacity: 1; }
  .pkm-pack { gap: 3px; padding: 8px 4px 10px; border-radius: 14px; }
  .pkm-pack__art, .pkm-pack__art img { height: 46px; }
  .pkm-pack__art img { max-width: 46px; }
  .pkm-pack__name { min-height: 2.5em; font-size: 12px; -webkit-line-clamp: 2; line-clamp: 2; }
  .pkm-pack__price { font-size: 14.5px; }
  .pkm-pack__note { top: 5px; left: 5px; padding: 1px 5px; font-size: 9.5px; }
  .pkm-pack__check { top: 5px; right: 5px; width: 20px; height: 20px; }
  .pkm__head { padding: 14px 14px 10px; }
  .pkm__tabs { padding: 0 14px 10px; }
  .pkm__search { margin: 0 14px 10px; }
  .pkm__foot { padding: 10px 14px calc(10px + env(safe-area-inset-bottom)); }
  .pkm__info { font-size: 12px; }
  .pkm__q { font-size: 16px; } /* iPhone odakta yakınlaştırmasın */
}
@media (prefers-reduced-motion: reduce) { .pkm__track, .pkm__page, .pkm-pack { transition: none; } }

/* Paket alanı üst sınırı: Özelleştirici'deki satır sayısını aşınca alan kendi içinde kayar (sayfa aşağı uzamaz) */
.buy__packs.is-scroll {
  margin: 8px -8px 0 -2px; padding: 2px 8px 8px 2px; overflow-y: auto; overscroll-behavior: contain;
  scrollbar-width: thin; scrollbar-color: rgb(167 139 250 / .55) transparent;
  -webkit-mask-image: linear-gradient(180deg, #000 calc(100% - 26px), rgb(0 0 0 / .25)); mask-image: linear-gradient(180deg, #000 calc(100% - 26px), rgb(0 0 0 / .25));
}
.buy__packs.is-scroll.is-end { -webkit-mask-image: none; mask-image: none; }
.no-js .buy__packs.is-capped { max-height: calc(var(--pack-rows, 6) * 4.6rem); overflow-y: auto; }
.buy__more { margin-top: 6px; display: flex; align-items: center; justify-content: center; gap: 4px; font-size: 12px; font-weight: 600; color: var(--brand-light); }
.buy__more .icon { width: 14px; height: 14px; }
