/* Pinguru telefon görünümü (m-ortak) — yalnız PINGURU_MOBILE_MEDIA (max-width: 759.98px) altında yüklenir; masaüstünü etkilemez.
   Ortak bileşenler (22 Kas 2026 mobil sadeleştirme, G1): üst başlık, alt sekme çubuğu, Canlı Destek balonu, çerez kutusu,
   footer, yan menü. Liste/kart/vitrin kuralları m-vitrin.css'te. */

/* ── OB-1 Üst başlık: aşağı kaydırınca arama satırı başlık satırının altına kayar (mobile-nav.js .is-compact),
   yukarı kaydırınca geri gelir. Yalnız görsel kaydırma (transform): sayfa düzeni zıplamaz. ── */
.site-header { transition: transform .25s var(--ease-out, ease); }
.site-header__inner { position: relative; z-index: 2; transition: transform .25s var(--ease-out, ease); }
.m-search { position: relative; z-index: 1; transition: opacity .2s, visibility .2s; }
.site-header.is-compact { transform: translateY(-54px); }
.site-header.is-compact .site-header__inner { transform: translateY(54px); }
.site-header.is-compact .m-search { visibility: hidden; opacity: 0; }
.site-header__logo { padding-block: 6px; }
@media (prefers-reduced-motion: reduce) { .site-header, .site-header__inner, .m-search { transition: none; } }

/* ── OB-2 Alt sekme çubuğu: Bonus Kasa dairesi küçük (58 → 48 px), çubuğun yalnız ~12 px üstüne taşar ── */
.mtab__orb { top: -12px; width: 48px; height: 48px; margin-left: -24px; box-shadow: 0 0 0 4px rgba(251, 191, 36, .75), 0 10px 20px -8px rgb(124 58 237 / .95); }
.mtab__chest { width: 32px; }
.mtab__label { font-size: 11px; }

/* ── OB-3 Canlı Destek: yalnız 48 px yuvarlak simge (resim ve yazı gizli), sağ altta; çevrim içiyse köşede yeşil nokta ── */
.pchat { right: 12px; bottom: calc(var(--tabbar-h) + 12px); }
.pchat__fab {
  display: grid; width: 48px; height: 48px; aspect-ratio: auto; place-items: center; border-radius: 50%;
  background: radial-gradient(circle at 50% 35%, #8b5cf6, #5b21b6); box-shadow: 0 0 0 1px rgb(196 181 253 / .45), 0 10px 22px -8px rgb(124 58 237 / .95); filter: none;
}
.pchat__fab:hover { transform: none; filter: none; }
.pchat__fab-img, .pchat__fab-text, .pchat__fab > svg { display: none; }
.pchat__fab::after {
  content: ""; width: 22px; height: 22px; background: #fff;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 11h3a2 2 0 0 1 2 2v3a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-5Zm0 0a9 9 0 1 1 18 0m0 0v5a2 2 0 0 1-2 2h-1a2 2 0 0 1-2-2v-3a2 2 0 0 1 2-2h3Z'/%3E%3Cpath d='M21 16v2a4 4 0 0 1-4 4h-5'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 11h3a2 2 0 0 1 2 2v3a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-5Zm0 0a9 9 0 1 1 18 0m0 0v5a2 2 0 0 1-2 2h-1a2 2 0 0 1-2-2v-3a2 2 0 0 1 2-2h3Z'/%3E%3Cpath d='M21 16v2a4 4 0 0 1-4 4h-5'/%3E%3C/svg%3E") center / contain no-repeat;
}
.pchat__fab:has(.pchat__fab-status.is-online)::before {
  content: ""; position: absolute; right: 1px; bottom: 1px; width: 11px; height: 11px; border-radius: 50%;
  border: 2px solid #1e1440; background: var(--success-icon);
}
.pchat__dot { left: auto; right: -1px; top: -1px; width: 12px; height: 12px; background: var(--danger, #f87171); }
.pchat--mini .pchat__fab { width: 48px; }
/* Çerez kutusu açıkken balon gizli (ikisi aynı köşede). */
body:has(.consent:not([hidden])) .pchat { display: none; }

/* ── Çerez kutusu: kısa bant (penguen ve üst etiket yok, 2 eşit düğme); tercihler açılınca ekran boyunu aşmaz,
   iç kaydırma (aşağı çekme sayfayı yenilemez), düğme satırı altta sabit, üç seçenek eşit ── */
.consent {
  left: 8px; right: 8px; bottom: calc(var(--tabbar-h) + 8px); width: auto; display: flex;
  max-height: calc(100dvh - var(--tabbar-h) - 24px); border-radius: 18px;
}
.consent__in {
  display: flex; width: 100%; min-height: 0; flex-direction: column; overflow-y: auto; overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch; border-radius: 17px; padding: 14px 14px 10px;
}
.consent__img, .consent__kicker { display: none; }
.consent__title { margin-top: 0; max-width: none; font-size: 15.5px; line-height: 1.3; }
.consent__text { margin-top: 4px; max-width: none; font-size: 12.5px; line-height: 1.42; }
.consent__actions { order: 3; margin-top: 8px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.consent__btn, .consent__btn--primary {
  height: 42px; min-width: 0; padding-inline: 8px; border-radius: 12px; border: 1px solid rgb(167 139 250 / .6);
  background: rgb(124 58 237 / .28); box-shadow: none; font-size: 13.5px; font-weight: 700; color: #fff; white-space: nowrap;
}
.consent__btn .icon { display: none; }
/* "Tercihleri ayarla" metnin hemen altında, düğmelerin üstünde (bant kısalır). */
.consent__more { order: 2; align-self: flex-start; min-height: 34px; margin-top: 0; padding-inline: 0; }
/* Tercihler açıkken: başlık yerine "Çerez tercihleri" etiketi, paragraf gizli; "Sadece zorunlu" görünür kalır
   (global.js gizler; burada yalnız telefonda geri açılır), "Seçimleri kaydet" üstte tam genişlik. */
.consent__in:has(.consent__prefs:not([hidden])) .consent__kicker { display: flex; }
.consent__in:has(.consent__prefs:not([hidden])) :is(.consent__title, .consent__text) { display: none; }
.consent [data-consent-min][hidden] { display: flex !important; }
.consent [data-consent-save] { grid-column: 1 / -1; order: -1; }
.consent__prefs { order: 1; margin-top: 10px; gap: 6px; }
.consent__row { min-height: 50px; gap: 10px; padding: 6px 12px; border-radius: 12px; }
.consent__ico { display: none; }
.consent__label strong { font-size: 14px; line-height: 1.3; }
.consent__label span { font-size: 12px; line-height: 1.3; }
.consent__in:has(.consent__prefs:not([hidden])) .consent__actions {
  position: sticky; bottom: -10px; z-index: 1; margin: 0 -14px -10px; padding: 10px 14px 12px;
  background: linear-gradient(180deg, rgb(13 19 40 / .92), #0b1124 30%);
}

/* ── OB-4 Footer: tek ekran hedefi. Marka satırı (logo + sosyal), ince cashback şeridi, açılır link grupları
   (mobile-nav.js .site-footer--acc; JS yoksa açık kalır), yasal bağlantılar 2 sütun düz metin, güven 2×2,
   ödeme logoları tek satır, ince ETBİS şeridi, © en altta. ── */
.site-footer { margin-top: 40px; }
.site-footer__decor, .site-footer__text { display: none; }
.site-footer__grid { grid-template-columns: minmax(0, 1fr); gap: 0; padding-block: 20px 8px; }
.site-footer__brand { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.site-footer__logo-row { display: flex; align-items: center; gap: 2px; }
.site-footer__logo { padding-block: 4px; }
.site-footer__logo-row .secret-crown { --crown: 40px; }
.site-footer__logo img { height: 32px; }
.socials { margin: 0; gap: 6px; }
.socials a { width: 40px; height: 40px; border-radius: 10px; }
.socials .icon { width: 17px; height: 17px; }
.cb-card-wrap { order: 3; width: 100%; max-width: none; margin-top: 0; }
.cb-card { min-height: 0; gap: 10px; padding: 9px 10px 9px 12px; border-radius: 14px; }
.cb-card__crown { width: 32px; }
.cb-card__crown .icon { width: 20px; height: 20px; }
.cb-card__kicker { display: none; }
.cb-card__title { font-size: 15px; }
.cb-card__text { margin-top: 1px; font-size: 12px; line-height: 1.35; } /* 22 Kas 2026: kesilmesin, gerekirse iki satır */
.cb-card__go { width: 30px; height: 30px; }
.cb-card-wrap > img { display: none; }

.footer-col { border-top: 1px solid rgb(167 139 250 / .14); }
.footer-col:last-child { border-bottom: 1px solid rgb(167 139 250 / .14); }
.footer-col--footer_3 { grid-column: auto; }
.footer-col__title { min-height: 46px; font-size: 13.5px; }
.footer-col__title .icon { width: 18px; height: 18px; }
.footer-col ul { margin: 0 0 8px; }
.footer-col a { min-height: 40px; padding-block: 0; font-size: 13.5px; }
.footer-col--footer_3 ul { column-gap: 16px; }
.site-footer--acc .footer-col__btn {
  display: flex; width: 100%; min-height: 46px; align-items: center; gap: 10px; padding: 0; border: 0; background: none;
  font: inherit; letter-spacing: inherit; text-transform: inherit; color: inherit; text-align: left; cursor: pointer;
}
.site-footer--acc .footer-col__btn::after {
  content: ""; width: 8px; height: 8px; margin: -4px 4px 0 auto; border-right: 2px solid var(--mute); border-bottom: 2px solid var(--mute);
  transform: rotate(45deg); transition: transform .2s;
}
.site-footer--acc .footer-col__btn[aria-expanded="true"]::after { margin-top: 4px; transform: rotate(-135deg); }
.site-footer--acc .footer-col__title { min-height: 0; }
.site-footer--acc .footer-col:not(.is-open) ul { display: none; }

.site-footer__bottom { flex-direction: column; flex-wrap: nowrap; align-items: stretch; gap: 14px; padding-block: 16px 18px; }
.site-footer__legal { display: contents; }
.site-footer__legal > p { order: 9; text-align: center; font-size: 12px; color: var(--dim, var(--mute)); }
.legal-pills { order: 1; margin: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 12px; }
.legal-pills a {
  display: flex; height: auto; min-height: 36px; gap: 0; padding: 0; border: 0; border-radius: 0; background: none;
  font-size: 13px; font-weight: 500; color: var(--soft);
}
.legal-pills a img, .legal-pills__img { display: none; }
.trust-row { order: 2; margin: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px 12px; }
.trust-row li { min-width: 0; gap: 6px; font-size: 12px; }
.trust-row__img { width: 24px; height: 24px; flex-shrink: 0; }
.site-footer__legal .pay-logos { order: 3; margin: 0; display: grid; grid-template-columns: 1fr 1fr 1fr 1.7fr; gap: 6px; }
.pay-logos li { height: 40px; min-width: 0; gap: 6px; padding-inline: 6px; }
.pay-logos__visa { font-size: 16px; }
.pay-logos__troy { font-size: 15px; }
.pay-logos .icon--mc { height: 22px; }
.pay-logos img { width: 22px; height: 22px; }
.pay-logos__label { font-size: 12px; line-height: 1.15; }

/* ETBİS: büyük maskot + karekod görseli yerine ince şerit (kalkan simgesi + kısa metin = karekod penceresi; ok = sorgu sayfası). */
.etbis { order: 4; gap: 10px; padding-top: 14px; }
.etbis__art, .etbis__text { display: none; }
.etbis__m {
  display: flex; min-width: 0; flex: 1; min-height: 44px; align-items: center; gap: 10px; padding: 0; border: 0; background: none;
  text-align: left; color: var(--ink); cursor: zoom-in;
}
.etbis__m-ico { display: grid; width: 36px; height: 36px; flex-shrink: 0; place-items: center; border-radius: 10px; background: rgb(124 58 237 / .18); box-shadow: inset 0 0 0 1px rgb(167 139 250 / .4); color: var(--lilac); }
.etbis__m-ico .icon { width: 18px; height: 18px; }
.etbis__m-text { display: flex; min-width: 0; flex-direction: column; }
.etbis__m-text strong { font-size: 13.5px; font-weight: 700; }
.etbis__m-text span { font-size: 12px; color: var(--mute); }
.etbis__body { margin-left: auto; flex-shrink: 0; }
.etbis__go { width: 40px; height: 40px; }
.etbis__go .icon { width: 18px; height: 18px; }

/* ── Yan menü: sıkı satırlar, kompakt profil kartı ── */
.m-drawer__sec { margin-top: 14px; }
.m-row { min-height: 44px; padding-block: 4px; }
.m-row__ico { width: 32px; height: 32px; }
.m-prof { margin-top: 12px; padding: 12px; }
.m-prof__face.avatar { width: 40px; height: 40px; }
.m-prof__name { font-size: 15px; }
.m-prof__bals { margin-top: 10px; }
.m-prof__bal { padding: 7px 10px; }
.m-prof__bal strong { font-size: 14px; }
.m-prof__topup { margin-top: 8px; height: 40px; }

/* ── SSS listeleri telefonda kapalı gelir (mobile-nav.js); global.js'in en uzun cevap için ayırdığı boşluk kapalı listede
   boş alan bırakmasın: açılan soru aşağısını iter (telefonda doğal davranış). ── */
.seo-faq[data-acc-reserve] { min-height: 0 !important; }

/* ── Giriş / kayıt / şifremi unuttum (Hesabım, oturum kapalı; G4 isteği): arama satırı yok, Canlı Destek balonu yok,
   mini footer (yalnız yasal bağlantılar, ETBİS şeridi, ©). ── */
body.woocommerce-account:not(.logged-in) .m-search,
body.woocommerce-account:not(.logged-in) .pchat { display: none; }
body.woocommerce-account:not(.logged-in) .site-footer { margin-top: 24px; }
body.woocommerce-account:not(.logged-in) :is(.site-footer__grid, .site-footer__glow + .neon-line, .trust-row, .site-footer__legal .pay-logos) { display: none; }
/* Canlı Destek balonu sayfa sonunda ETBİS okunun üstüne binmesin. */
body:has(.pchat) .site-footer__bottom { padding-bottom: 72px; }

/* Fable son tur (22 Kas): P1 giriş/kayıtta arama satırı yok → küçülen başlık kaymasın (zemin kaybolmasın). */
body.woocommerce-account:not(.logged-in) .site-header.is-compact,
body.woocommerce-account:not(.logged-in) .site-header.is-compact .site-header__inner { transform: none; }
/* P2-5: oturum açık Hesabım sekmelerinde de ince footer (yasal bağlantılar, ETBİS şeridi, ©). */
body.woocommerce-account.logged-in .site-footer { margin-top: 24px; }
body.woocommerce-account.logged-in :is(.site-footer__grid, .site-footer__glow + .neon-line, .trust-row, .site-footer__legal .pay-logos) { display: none; }

/* iPhone yazı alanında 16 px altını görünce sayfayı yakınlaştırır (22 Kas 2026). */
.m-search .search-glass__input { font-size: 16px; }
