/* =====================================================
   polish.css - Son dokunuşlar (EN SON yüklenir)
   1) Onay balonu ve "Lütfen bekleyiniz..." (feedback.js)
   2) Menü reklamı: Fırsat — mağaza aç (hareketli, geçişli)
   3) Hesabım: VIP ilan karşılama reklamı + kibrisilan.org kartı
   4) İlan detayı: sakin, güven veren renkler + paylaş kartı
   5) Sana Özel: küçük, düzenli kartlar
   ===================================================== */

/* ---------- 1) Onay balonu ---------- */
.kb-toast {
    position: fixed; left: 50%; bottom: calc(96px + var(--sab, 0px)); z-index: 100002;
    display: inline-flex; align-items: center; gap: 10px; max-width: calc(100vw - 32px); width: max-content;
    padding: 12px 18px 12px 14px; border-radius: 16px; background: #1C2230; color: #fff;
    font-size: 14px; font-weight: 700; line-height: 1.35; box-shadow: 0 12px 32px rgba(17, 20, 28, 0.28);
    opacity: 0; pointer-events: none; transform: translate(-50%, 18px) scale(0.96);
    transition: opacity .22s ease, transform .32s cubic-bezier(.2, .9, .3, 1.25);
}
.kb-toast.show { opacity: 1; transform: translate(-50%, 0) scale(1); }
.kb-toast i { font-size: 18px; flex-shrink: 0; }
.kb-toast.is-ok i { color: #3DDC97; }
.kb-toast.is-info i { color: #7CC4FF; }
.kb-toast.is-warn i { color: #FFC24D; }
.kb-toast.show i { animation: kbPop .45s .05s cubic-bezier(.2, .9, .3, 1.4) both; }
@keyframes kbPop { from { transform: scale(.3) rotate(-25deg); opacity: 0; } to { transform: none; opacity: 1; } }
body.dark-mode .kb-toast, body.dark-mode .kb-toast span { background: #F4F5F8; color: #1C2230 !important; }
body.dark-mode .kb-toast span { background: none; }

/* ---------- 1b) Lütfen bekleyiniz ---------- */
.kb-wait {
    position: fixed; inset: 0; z-index: 100001; display: flex; align-items: center; justify-content: center;
    background: rgba(250, 250, 252, 0.55); backdrop-filter: blur(3px); -webkit-backdrop-filter: blur(3px);
    opacity: 0; visibility: hidden; transition: opacity .2s ease, visibility .2s;
}
.kb-wait.show { opacity: 1; visibility: visible; }
body.dark-mode .kb-wait { background: rgba(14, 16, 22, 0.55); }
.kb-wait-card {
    display: flex; flex-direction: column; align-items: center; gap: 12px; padding: 22px 28px 20px;
    background: var(--surface, #fff); border-radius: 24px; box-shadow: 0 18px 50px rgba(17, 20, 28, 0.18);
    transform: scale(.92); transition: transform .3s cubic-bezier(.2, .9, .3, 1.3);
}
.kb-wait.show .kb-wait-card { transform: scale(1); }
.kb-wait-logo { width: 54px; height: 54px; border-radius: 16px; animation: kbBob 1.6s ease-in-out infinite; }
@keyframes kbBob { 0%, 100% { transform: translateY(0) rotate(0); } 50% { transform: translateY(-6px) rotate(-4deg); } }
.kb-wait-dots { display: inline-flex; gap: 6px; }
.kb-wait-dots i { width: 9px; height: 9px; border-radius: 50%; background: #FF7A1A; animation: kbDot 1.1s infinite ease-in-out; }
.kb-wait-dots i:nth-child(2) { background: #FF9F43; animation-delay: .15s; }
.kb-wait-dots i:nth-child(3) { background: #FFC27A; animation-delay: .3s; }
@keyframes kbDot { 0%, 70%, 100% { transform: translateY(0) scale(.85); opacity: .55; } 35% { transform: translateY(-7px) scale(1); opacity: 1; } }
.kb-wait-text { font-size: 14.5px; font-weight: 700; color: var(--ink, #1C2230); letter-spacing: -0.01em; }
.kb-ellipsis i { font-style: normal; display: inline-block; animation: kbDot 1.1s infinite ease-in-out; }
.kb-ellipsis i:nth-child(2) { animation-delay: .15s; }
.kb-ellipsis i:nth-child(3) { animation-delay: .3s; }
body.dark-mode .kb-wait-text { color: var(--ink) !important; }
/* Pencere içindeki yükleniyor alanı */
.kb-wait-inline { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; padding: 48px 16px; }
/* Her yerdeki eski "dönen çark + Yükleniyor..." biraz daha canlı */
.up-loading { display: flex; align-items: center; justify-content: center; gap: 10px; padding: 48px 16px; font-weight: 700; color: var(--ink-2); }
.up-loading .fa-spinner { color: #FF7A1A; }
@media (prefers-reduced-motion: reduce) {
    .kb-wait-logo, .kb-wait-dots i, .kb-ellipsis i, .kb-toast.show i { animation: none !important; }
}

/* ---------- 2) Menü reklamı (Fırsat) ---------- */
.msp2 {
    position: relative; overflow: hidden; flex-shrink: 0; width: 100%; border: none; cursor: pointer; text-align: left; font: inherit;
    display: flex; flex-direction: column; gap: 12px; padding: 14px 14px 14px; border-radius: 22px; color: #fff;
    background: linear-gradient(120deg, #FF6A00, #FF2E63, #8B3DFF, #FF6A00);
    background-size: 300% 300%; animation: mspFlow 9s ease-in-out infinite;
    box-shadow: 0 10px 26px rgba(255, 70, 60, 0.28);
    -webkit-tap-highlight-color: transparent; transition: transform .15s ease;
}
.msp2:active { transform: scale(.985); }
@keyframes mspFlow { 0%, 100% { background-position: 0% 50%; } 50% { background-position: 100% 50%; } }
.msp2-glow {
    position: absolute; top: -40%; left: -60%; width: 50%; height: 180%; pointer-events: none;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.28), transparent); transform: rotate(18deg);
    animation: mspShine 3.6s ease-in-out infinite;
}
@keyframes mspShine { 0%, 55% { left: -60%; } 100% { left: 130%; } }
.msp2-badge {
    align-self: flex-start; display: inline-flex; align-items: center; gap: 6px; position: relative;
    padding: 5px 11px; border-radius: 999px; background: #FFE14D; color: #3A2400;
    font-size: 12px; font-weight: 800; letter-spacing: .02em; box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    animation: mspPulse 2s ease-in-out infinite;
}
@keyframes mspPulse { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.07); } }
.msp2-row { display: flex; align-items: center; gap: 12px; position: relative; min-height: 52px; }
.msp2-icon {
    width: 48px; height: 48px; border-radius: 15px; flex-shrink: 0; display: inline-flex; align-items: center; justify-content: center;
    background: rgba(255, 255, 255, 0.22); font-size: 21px; color: #fff; animation: kbBob 2.4s ease-in-out infinite;
}
.msp2-rotator { position: relative; flex: 1; min-width: 0; height: 52px; }
.msp2-rotator > span {
    position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: center; gap: 2px;
    opacity: 0; transform: translateY(14px); filter: blur(3px);
    transition: opacity .45s ease, transform .55s cubic-bezier(.2, .9, .3, 1.2), filter .45s ease;
}
.msp2-rotator > span.is-on { opacity: 1; transform: none; filter: none; }
.msp2-rotator > span.is-off { opacity: 0; transform: translateY(-14px); filter: blur(3px); }
.msp2-rotator b { font-size: 18px; font-weight: 800; letter-spacing: -0.02em; line-height: 1.2; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.msp2-rotator small { font-size: 13px; font-weight: 600; opacity: .95; line-height: 1.3; }
.msp2-cta {
    position: relative; align-self: stretch; display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    padding: 11px 14px; border-radius: 14px; background: #fff; color: #E5304F; font-size: 14.5px; font-weight: 800;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15);
}
.msp2-cta i { animation: mspNudge 1.4s ease-in-out infinite; }
@keyframes mspNudge { 0%, 100% { transform: translateX(0); } 50% { transform: translateX(4px); } }
.msp2.has-store { background: linear-gradient(120deg, #FF7A1A, #FF9F43, #FF7A1A); background-size: 300% 300%; }
.msp2.has-store .msp2-badge { background: rgba(255, 255, 255, 0.25); color: #fff; animation: none; }
.msp2.has-store .msp2-cta { color: #E05A00; }
body.dark-mode .msp2, body.dark-mode .msp2 b, body.dark-mode .msp2 small, body.dark-mode .msp2-icon, body.dark-mode .msp2-icon i { color: #fff !important; }
body.dark-mode .msp2-badge, body.dark-mode .msp2-badge * { color: #3A2400 !important; }
body.dark-mode .msp2.has-store .msp2-badge, body.dark-mode .msp2.has-store .msp2-badge * { color: #fff !important; }
body.dark-mode .msp2-cta, body.dark-mode .msp2-cta * { color: #E5304F !important; }
body.dark-mode .msp2.has-store .msp2-cta, body.dark-mode .msp2.has-store .msp2-cta * { color: #E05A00 !important; }
@media (prefers-reduced-motion: reduce) {
    .msp2, .msp2-glow, .msp2-badge, .msp2-icon, .msp2-cta i { animation: none !important; }
}

/* ---------- 3) Hesabım: VIP karşılama reklamı ---------- */
.acc-vip-hero {
    position: relative; overflow: hidden; width: 100%; border: none; cursor: pointer; font: inherit; text-align: left;
    display: flex; align-items: center; gap: 12px; padding: 14px; border-radius: 20px; color: #fff;
    background: linear-gradient(120deg, #1C2230 0%, #3A2A12 45%, #1C2230 100%); background-size: 250% 250%;
    animation: mspFlow 8s ease-in-out infinite; box-shadow: 0 10px 26px rgba(28, 34, 48, 0.25);
    -webkit-tap-highlight-color: transparent; transition: transform .15s ease;
}
.acc-vip-hero:active { transform: scale(.985); }
.avh-shine {
    position: absolute; top: -40%; left: -60%; width: 40%; height: 180%; pointer-events: none; transform: rotate(18deg);
    background: linear-gradient(90deg, transparent, rgba(255, 214, 102, 0.28), transparent); animation: mspShine 3.2s ease-in-out infinite;
}
.avh-crown {
    width: 46px; height: 46px; border-radius: 14px; flex-shrink: 0; display: inline-flex; align-items: center; justify-content: center;
    background: linear-gradient(135deg, #FFE08A, #FFB800); color: #5A3B00; font-size: 20px;
    box-shadow: 0 6px 16px rgba(255, 184, 0, 0.35); animation: kbBob 2.2s ease-in-out infinite;
}
.avh-text { position: relative; flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.avh-rotator { position: relative; height: 24px; display: block; }
.avh-rotator > b {
    position: absolute; inset: 0; font-size: 18px; font-weight: 800; letter-spacing: -0.02em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
    background: linear-gradient(90deg, #FFE08A, #FFB800 60%, #FFE08A); -webkit-background-clip: text; background-clip: text; color: transparent;
    opacity: 0; transform: translateY(12px); transition: opacity .45s ease, transform .55s cubic-bezier(.2, .9, .3, 1.2);
}
.avh-rotator > b.is-on { opacity: 1; transform: none; }
.avh-rotator > b.is-off { opacity: 0; transform: translateY(-12px); }
.avh-text small { font-size: 12.5px; font-weight: 600; color: rgba(255, 255, 255, 0.82); }
.avh-cta {
    position: relative; flex-shrink: 0; display: inline-flex; align-items: center; gap: 6px; padding: 9px 13px; border-radius: 12px;
    background: #FFB800; color: #3A2400; font-size: 13.5px; font-weight: 800;
}
.avh-cta i { animation: mspNudge 1.4s ease-in-out infinite; }
body.dark-mode .acc-vip-hero { background: linear-gradient(120deg, #262C3A 0%, #4A3612 45%, #262C3A 100%); background-size: 250% 250%; }
body.dark-mode .avh-rotator > b { color: transparent !important; }
body.dark-mode .avh-text small { color: rgba(255, 255, 255, 0.82) !important; }
body.dark-mode .avh-cta, body.dark-mode .avh-cta *, body.dark-mode .avh-crown i { color: #3A2400 !important; }

/* Hesabım: kibrisilan.org kartı */
.acc-site-ad {
    width: 100%; border: none; cursor: pointer; font: inherit; text-align: left; position: relative; overflow: hidden;
    display: flex; align-items: center; gap: 12px; padding: 14px; border-radius: 18px;
    background: linear-gradient(135deg, #EAF4FF 0%, #FFF1E6 100%); border: 1px solid #DCE9FA;
    -webkit-tap-highlight-color: transparent;
}
.asa-globe {
    width: 42px; height: 42px; border-radius: 13px; flex-shrink: 0; display: inline-flex; align-items: center; justify-content: center;
    background: #fff; color: #2E7BEA; font-size: 19px; box-shadow: 0 4px 12px rgba(46, 123, 234, 0.15);
}
.asa-globe i { animation: asaSpin 6s linear infinite; }
@keyframes asaSpin { to { transform: rotate(360deg); } }
.asa-text { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.asa-domain { font-size: 18px; font-weight: 800; letter-spacing: -0.02em; }
.asa-k { color: #1C2230; }
.asa-i { color: #FF7A1A; }
.asa-org { color: #2E7BEA; }
.asa-text small { font-size: 12.5px; color: #5B6473; font-weight: 600; }
.asa-go { color: #2E7BEA; font-size: 14px; }
body.dark-mode .acc-site-ad { background: linear-gradient(135deg, #172235 0%, #2A1E14 100%); border-color: #2A3446; }
body.dark-mode .asa-globe { background: #1F2A3D; }
body.dark-mode .asa-k { color: #fff !important; }
body.dark-mode .asa-i { color: #FF9A4D !important; }
body.dark-mode .asa-org, body.dark-mode .asa-go, body.dark-mode .asa-globe i { color: #7CB3FF !important; }
body.dark-mode .asa-text small { color: var(--muted) !important; }
@media (prefers-reduced-motion: reduce) {
    .acc-vip-hero, .avh-shine, .avh-crown, .avh-cta i, .asa-globe i { animation: none !important; }
}

/* Mağaza penceresi başlığındaki paylaş düğmeleri */
#myStoreProfileModal .fullscreen-detail-header { gap: 4px; }
#myStoreProfileModal .fullscreen-detail-header > div:first-child { flex: 1; }
.store-share-btn i { color: #25D366; }

/* ---------- 4) İlan detayı: sakin palet ----------
   Tek vurgu rengi (turuncu) yalnızca "Mesaj" düğmesinde ve satıcı simgesinde;
   fiyat koyu ve büyük; bilgi kutuları nötr gri. WhatsApp yalnızca kendi yeşil simgesiyle. */
.fullscreen-detail-modal.ld {
    --c-orange-bg: #F3F4F7; --c-orange-ink: #3B4351;
    --c-coral: #5B6473; --c-coral-bg: #F3F4F7;
    --c-amber: #5B6473; --c-amber-bg: #F3F4F7;
    --c-green: #5B6473; --c-green-bg: #F3F4F7;
}
body.dark-mode .fullscreen-detail-modal.ld {
    --c-orange-bg: #222835; --c-orange-ink: #D5DAE3;
    --c-coral: #AEB6C4; --c-coral-bg: #222835;
    --c-amber: #AEB6C4; --c-amber-bg: #222835;
    --c-green: #AEB6C4; --c-green-bg: #222835;
}
.ld .ld-crumb, .ld .ld-crumb:nth-child(2) { background: var(--fill); color: var(--ink-2); font-weight: 700; }
.ld .ld-title { font-size: 21px; }
.ld .ld-ticket { border: 1px solid var(--line); border-radius: 18px; background: var(--surface); }
.ld .ld-ticket-main { background: var(--surface); padding: 14px 18px 12px; }
.ld .ld-ticket-label { color: var(--muted); letter-spacing: .1em; }
.ld #modalPrice, .ld .ld-price { color: var(--ink) !important; font-size: 30px; }
.ld .ld-ticket-side { background: var(--fill); border-top: 1px solid var(--line); }
.ld .ld-ticket-side::before, .ld .ld-ticket-side::after { display: none; }
.ld .ld-meta i, .ld .ld-meta:first-child i, .ld .ld-meta:nth-child(2) i { color: var(--muted); }
.ld #modalViews { background: var(--fill); color: var(--ink-2); }
.ld .ld-fact { background: var(--surface); border: 1px solid var(--line); }
.ld .ld-fact-icon, .ld .ld-fact:nth-child(n) .ld-fact-icon { background: var(--fill); color: var(--ink-2); }
.ld .ld-card-title i, .ld #modalAttributesBox .ld-card-title i { color: var(--muted); }
.ld .ld-more { color: #E05A00; }
.ld .ld-seller-kicker { color: var(--muted); }
.ld .ld-rate-btn { background: var(--fill); color: var(--ink-2); }
.ld .ld-rate-btn i { color: #FFB020; }
.ld .ld-safety { background: var(--fill); }
.ld .ld-safety > i { color: #12A866; }
.ld .ld-shipping .shipping-cta-icon { background: #1C2230 !important; }
/* Alt çubuk: Ara ve WhatsApp sade çerçeveli, Mesaj tek dolu (turuncu) düğme */
.ld .btn-call-modern { background: var(--surface) !important; color: var(--ink) !important; border: 1.5px solid var(--line) !important; }
.ld .btn-whatsapp-modern { background: var(--surface) !important; color: var(--ink) !important; border: 1.5px solid var(--line) !important; }
.ld .btn-whatsapp-modern i { color: #25D366 !important; font-size: 19px; }
.ld .btn-message-modern { background: #FF7A1A !important; color: #fff !important; }
body.dark-mode .ld .ld-crumb, body.dark-mode .ld .ld-crumb:nth-child(2) { color: var(--ink-2) !important; }
body.dark-mode .ld #modalPrice, body.dark-mode .ld .ld-price * { color: var(--ink) !important; }
body.dark-mode .ld .ld-ticket-label { color: var(--muted) !important; }
body.dark-mode .ld .ld-ticket-main { background: var(--surface); }
body.dark-mode .ld .ld-fact-icon, body.dark-mode .ld .ld-fact:nth-child(n) .ld-fact-icon { color: var(--ink-2) !important; }
body.dark-mode .ld #modalViews, body.dark-mode .ld #modalViews span { color: var(--ink-2) !important; }
body.dark-mode .ld .ld-seller-kicker { color: var(--muted) !important; }
body.dark-mode .ld .btn-call-modern, body.dark-mode .ld .btn-call-modern span,
body.dark-mode .ld .btn-whatsapp-modern, body.dark-mode .ld .btn-whatsapp-modern span { background: var(--surface) !important; color: var(--ink) !important; }
body.dark-mode .ld .btn-call-modern span, body.dark-mode .ld .btn-whatsapp-modern span { background: none !important; }
body.dark-mode .ld .btn-whatsapp-modern i { color: #25D366 !important; }
body.dark-mode .ld .ld-shipping .shipping-cta-icon { background: #3A4152 !important; }

/* Paylaş kartı */
.ld-share {
    display: flex; align-items: center; gap: 10px; padding: 12px 12px 12px 16px; border-radius: 18px;
    background: var(--surface); border: 1px solid var(--line);
}
.ld-share-text { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 1px; }
.ld-share-text b { font-size: 14px; font-weight: 800; color: var(--ink); }
.ld-share-text small { font-size: 12px; color: var(--muted); font-weight: 600; }
.ld-share-wa {
    display: inline-flex; align-items: center; gap: 7px; padding: 10px 14px; border-radius: 12px; border: none; cursor: pointer;
    background: #25D366; color: #fff; font-family: inherit; font-size: 13.5px; font-weight: 800; flex-shrink: 0;
}
.ld-share-wa i { font-size: 17px; }
.ld-share-more {
    width: 42px; height: 42px; border-radius: 12px; border: none; cursor: pointer; flex-shrink: 0;
    background: var(--fill); color: var(--ink-2); font-size: 16px; display: inline-flex; align-items: center; justify-content: center;
}
body.dark-mode .ld-share-wa, body.dark-mode .ld-share-wa span, body.dark-mode .ld-share-wa i { color: #fff !important; }
body.dark-mode .ld-share-text small { color: var(--muted) !important; }

/* ---------- 5) Sana Özel: küçük ve düzenli ---------- */
.foryou-strip { margin: 2px 0 4px; }
.foryou-head { margin-bottom: 6px; }
.foryou-row { gap: 8px; padding: 2px 2px 10px; }
.foryou-row .foryou-card { flex: 0 0 116px; width: 116px; }
.foryou-row .foryou-card { border-radius: 14px; box-shadow: 0 1px 2px rgba(21, 26, 35, .05), 0 4px 12px rgba(21, 26, 35, .06); overflow: hidden; display: flex; flex-direction: column; text-align: left; }
.foryou-row .foryou-card.is-vip { box-shadow: 0 0 0 1.5px var(--gold), 0 4px 12px rgba(21, 26, 35, .06); }
.foryou-row .foryou-img-wrap { aspect-ratio: auto; height: 86px; flex-shrink: 0; }
.foryou-row .foryou-vip-label, .foryou-row .foryou-ad-label { top: 6px; left: 6px; font-size: 9px; padding: 2px 6px; }
.foryou-row .foryou-price { font-size: 13px; margin: 7px 8px 1px; }
.foryou-row .foryou-title { font-size: 11.5px; line-height: 1.3; margin: 0 8px 8px; min-height: 0; white-space: nowrap; display: block; -webkit-line-clamp: unset; line-clamp: unset; overflow: hidden; text-overflow: ellipsis; }
.foryou-row .foryou-city { display: none; }
@media (min-width: 768px) { .foryou-row .foryou-card { flex-basis: 140px; width: 140px; } .foryou-row .foryou-img-wrap { height: 100px; } }

/* ---------- İlanlarım: sekmeler ekrana sığan 4'lü bölmeli düğme (yana kayan, yarısı kesik çipler yerine) ---------- */
#accountModal .myads-filters {
    display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 4px; overflow: visible;
    margin: 0; padding: 4px; background: var(--surface); border-radius: 16px; box-shadow: var(--shadow-sm);
}
#accountModal .myads-chip {
    flex-direction: column; justify-content: center; gap: 3px; min-width: 0; padding: 8px 4px; border-radius: 12px;
    background: transparent; box-shadow: none; font-size: 12.5px; font-weight: 700; color: var(--muted);
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
#accountModal .myads-chip-count { height: 18px; min-width: 22px; font-size: 11px; }
#accountModal .myads-chip.active { background: var(--brand-grad); color: #fff; box-shadow: var(--shadow-brand); }
#accountModal .fullscreen-full-body > * { flex-shrink: 0; }
/* Kart: başlık 2 satırı geçmesin, fiyat/etiketler hizalı */
.myad-title { display: -webkit-box; -webkit-line-clamp: 2; line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.myad-main { align-items: flex-start; }
.myad-meta { row-gap: 4px; }
.myad-expired-note { flex: 1 1 100%; order: -1; }

/* ---------- İlanlarım: tek düğme "VIP ilan yap · öne çıkar" (alt satırda, tam genişlik) ---------- */
.myad-actions { flex-wrap: wrap; row-gap: 8px; }
.myad-btn-vip {
    order: 10; flex: 1 0 100%; justify-content: center; min-height: 42px; font-size: 13.5px; font-weight: 800;
    background: linear-gradient(135deg, #FFE08A, #FFB800); color: #3A2400; box-shadow: 0 4px 12px rgba(255, 184, 0, 0.28);
    position: relative; overflow: hidden;
}
.myad-btn-vip::after {
    content: ""; position: absolute; top: -50%; left: -40%; width: 30%; height: 200%; transform: rotate(20deg);
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .55), transparent); animation: mspShine 3.4s ease-in-out infinite;
}
body.dark-mode .myad-btn-vip, body.dark-mode .myad-btn-vip * { color: #3A2400 !important; }

/* ---------- Dönen logo (tüm yükleniyor alanları) ---------- */
.kb-logo-spin { position: relative; width: 72px; height: 72px; display: inline-flex; align-items: center; justify-content: center; }
.kb-logo-spin img { width: 52px; height: 52px; border-radius: 15px; box-shadow: 0 6px 18px rgba(28, 34, 48, 0.14); animation: kbLogoSpin 1.8s cubic-bezier(.65, 0, .35, 1) infinite; }
.kb-logo-ring { position: absolute; inset: 0; border-radius: 50%; border: 3px solid rgba(255, 122, 26, 0.15); border-top-color: #FF7A1A; border-right-color: #FFB27A; animation: asaSpin 1s linear infinite; }
@keyframes kbLogoSpin { 0% { transform: rotate(0) scale(1); } 50% { transform: rotate(180deg) scale(.9); } 100% { transform: rotate(360deg) scale(1); } }
.kb-wait-inline { min-height: 180px; }
.kb-wait-sub { font-size: 12.5px; color: var(--muted); font-weight: 600; margin-top: -4px; }
#chatThreadsListPane > .kb-wait-inline { flex: 1; min-height: 50vh; }
#chatMessagesBox > .kb-wait-inline { min-height: 50vh; }
@media (prefers-reduced-motion: reduce) { .kb-logo-spin img, .kb-logo-ring { animation-duration: 3s; } }

/* kibrisilan.org kartı: dünya yerine dönen Kıbrıs İlan logosu */
.asa-logo { width: 44px; height: 44px; flex-shrink: 0; border-radius: 13px; display: inline-flex; box-shadow: 0 4px 12px rgba(28, 34, 48, 0.12); }
.asa-logo img { width: 100%; height: 100%; border-radius: 13px; animation: asaLogoTurn 4s ease-in-out infinite; }
@keyframes asaLogoTurn { 0%, 60% { transform: rotate(0); } 80%, 100% { transform: rotate(360deg); } }

/* ---------- Menü: Onaylı Mağazalar girişi ---------- */
.menu-stores-entry {
    position: relative; overflow: hidden; isolation: isolate;
    width: 100%; cursor: pointer; font: inherit; text-align: left; flex-shrink: 0;
    display: flex; align-items: center; gap: 12px; padding: 14px 14px 14px 14px; border-radius: var(--r-lg);
    background: linear-gradient(120deg, #E8F4FF 0%, #F5FAFF 48%, var(--surface) 100%);
    border: 1px solid rgba(29, 155, 240, .14); box-shadow: var(--shadow-md);
    -webkit-tap-highlight-color: transparent; transition: transform .15s ease;
}
.menu-stores-entry:active { transform: scale(.985); }
/* sağ üstte yumuşak mavi ışık halkası */
.menu-stores-entry::before {
    content: ""; position: absolute; z-index: -1; right: -34px; top: -46px; width: 130px; height: 130px; border-radius: 50%;
    background: radial-gradient(circle, rgba(29, 155, 240, .14) 0%, rgba(29, 155, 240, 0) 70%); pointer-events: none;
}
.mse-ic {
    width: 46px; height: 46px; border-radius: 15px; flex-shrink: 0; display: inline-flex; align-items: center; justify-content: center;
    background: linear-gradient(145deg, #62C3FF 0%, #1D9BF0 55%, #1880DA 100%);
    box-shadow: 0 6px 14px rgba(29, 155, 240, .30), inset 0 1px 0 rgba(255, 255, 255, .35);
}
.mse-ic svg { width: 26px; height: 26px; filter: drop-shadow(0 1px 1px rgba(10, 60, 120, .18)); }
.mse-text { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.mse-text b { font-size: 15px; font-weight: 800; color: var(--ink); letter-spacing: -0.01em; }
.mse-text small { font-size: 12px; color: var(--muted); font-weight: 600; line-height: 1.35; }
/* minik kürsü: 2 - 1 - 3 */
.mse-podium { display: inline-flex; align-items: flex-end; gap: 3px; height: 30px; flex-shrink: 0; }
.mse-podium i {
    width: 13px; border-radius: 5px 5px 3px 3px; font-style: normal; font-size: 9px; font-weight: 800; line-height: 1;
    color: #fff; display: flex; justify-content: center; padding-top: 3px; box-sizing: border-box;
}
.mse-podium i:nth-child(1) { height: 21px; background: linear-gradient(180deg, #CDD5DF, #A3ADBA); }
.mse-podium i:nth-child(2) { height: 30px; background: linear-gradient(180deg, #FFD54F, #F5B301); }
.mse-podium i:nth-child(3) { height: 16px; background: linear-gradient(180deg, #E4A577, #CD7F45); }
.mse-chev { font-size: 12px; color: #8EC3EE; margin-left: 2px; flex-shrink: 0; }
.menu-site-ad { margin-top: 6px; }
body.dark-mode .menu-stores-entry {
    background: linear-gradient(120deg, #0F2740 0%, #13243A 50%, var(--surface) 100%); border-color: rgba(29, 155, 240, .22);
}
body.dark-mode .mse-podium i { color: #fff !important; }
body.dark-mode .mse-text small { color: var(--muted) !important; }
body.dark-mode .mse-chev { color: #4F86B6 !important; }

/* ---------- Onaylı Mağazalar penceresi ---------- */
.sd-body { background: var(--canvas); display: flex; flex-direction: column; gap: 12px; padding: 14px 14px 28px; }
.sd-hero {
    position: relative; overflow: hidden; text-align: center; padding: 20px 16px 16px; border-radius: 22px; color: #fff; flex-shrink: 0;
    background: linear-gradient(135deg, #1D9BF0 0%, #3A6FF7 55%, #6B4CF6 100%); box-shadow: 0 10px 26px rgba(29, 120, 240, .28);
}
.sd-hero::after { content: ""; position: absolute; right: -40px; top: -50px; width: 150px; height: 150px; border-radius: 50%; background: rgba(255,255,255,.12); }
.sd-hero-badge { width: 52px; height: 52px; margin: 0 auto 8px; border-radius: 50%; background: #fff; color: #1D9BF0; font-size: 26px;
    display: flex; align-items: center; justify-content: center; box-shadow: 0 6px 16px rgba(0,0,0,.15); animation: kbBob 2.4s ease-in-out infinite; }
.sd-hero-title { font-size: 21px; font-weight: 800; letter-spacing: -0.02em; }
.sd-hero-sub { font-size: 12.5px; font-weight: 600; opacity: .95; margin-top: 4px; line-height: 1.45; }
.sd-count { display: inline-block; margin-top: 10px; padding: 4px 12px; border-radius: 999px; background: rgba(255,255,255,.2); font-size: 12px; font-weight: 800; }
.sd-search { display: flex; align-items: center; gap: 10px; padding: 0 14px; min-height: 48px; border-radius: 14px; background: var(--surface); box-shadow: var(--shadow-md); flex-shrink: 0; }
.sd-search i { color: var(--muted); }
.sd-search input { flex: 1; border: none; outline: none; background: none; font: inherit; font-size: 14.5px; color: var(--ink); min-width: 0; }
.sd-list { display: flex; flex-direction: column; gap: 10px; }
.sd-card {
    width: 100%; border: none; cursor: pointer; font: inherit; text-align: left; display: flex; align-items: center; gap: 12px; flex-shrink: 0;
    padding: 12px 12px 12px 10px; border-radius: 18px; background: var(--surface); box-shadow: var(--shadow-md);
    transition: transform .12s ease; -webkit-tap-highlight-color: transparent;
}
.sd-card:active { transform: scale(.985); }
.sd-rank { width: 34px; flex-shrink: 0; display: flex; flex-direction: column; align-items: center; gap: 1px; }
.sd-rank b { font-size: 17px; font-weight: 800; color: var(--muted); }
.sd-rank i { font-size: 18px; }
.sd-card.is-top1 { box-shadow: 0 0 0 1.5px #F5B301, var(--shadow-md); }
.sd-card.is-top1 .sd-rank i, .sd-card.is-top1 .sd-rank b { color: #E0A100; }
.sd-card.is-top2 .sd-rank i, .sd-card.is-top2 .sd-rank b { color: #8C97A6; }
.sd-card.is-top3 .sd-rank i, .sd-card.is-top3 .sd-rank b { color: #C0713A; }
.sd-logo { width: 52px; height: 52px; border-radius: 15px; object-fit: cover; flex-shrink: 0; display: inline-flex; align-items: center; justify-content: center;
    color: #fff; font-weight: 800; font-size: 17px; background: var(--fill); }
.sd-info { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.sd-name { display: flex; align-items: center; gap: 6px; min-width: 0; }
.sd-name-t { font-size: 15px; font-weight: 800; color: var(--ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sd-tick { color: #1D9BF0; font-size: 15px; flex-shrink: 0; filter: drop-shadow(0 1px 2px rgba(29,155,240,.35)); }
.sd-sub { font-size: 12px; color: var(--muted); font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sd-rating { font-size: 12.5px; color: var(--ink-2); font-weight: 600; }
.sd-rating i { color: #FFB020; }
.sd-rating b { color: var(--ink); }
.sd-rating em { font-style: normal; color: var(--muted); }
.sd-rating.is-new i { color: #12A866; }
.sd-arrow { color: var(--muted); font-size: 12px; }
.sd-empty { display: flex; flex-direction: column; align-items: center; gap: 10px; padding: 36px 16px; color: var(--muted); font-weight: 700; text-align: center; }
.sd-empty i { font-size: 34px; opacity: .6; }
.sd-fill { display: flex; flex-direction: column; gap: 10px; }
.sd-fill:empty { display: none; }
.sd-body > .acc-site-ad, .sd-list > button, .sd-fill > button { flex-shrink: 0; }
/* "Sen de bu listede ol" reklamı */
.sd-join {
    position: relative; overflow: hidden; width: 100%; border: none; cursor: pointer; font: inherit; text-align: left; color: #fff;
    display: flex; align-items: center; gap: 12px; padding: 14px; border-radius: 20px;
    background: linear-gradient(120deg, #FF6A00, #FF2E63, #8B3DFF, #FF6A00); background-size: 300% 300%; animation: mspFlow 9s ease-in-out infinite;
    box-shadow: 0 10px 24px rgba(255, 70, 60, .25);
}
.sd-join-shine { position: absolute; top: -40%; left: -60%; width: 40%; height: 180%; transform: rotate(18deg); pointer-events: none;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,.28), transparent); animation: mspShine 3.6s ease-in-out infinite; }
.sd-join-ic { width: 46px; height: 46px; border-radius: 14px; flex-shrink: 0; display: inline-flex; align-items: center; justify-content: center;
    background: rgba(255,255,255,.22); font-size: 20px; animation: kbBob 2.4s ease-in-out infinite; }
.sd-join-text { position: relative; flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.sd-rot > b { background: none; -webkit-background-clip: border-box; background-clip: border-box; color: #fff; }
.sd-join-text small { font-size: 12.5px; font-weight: 600; opacity: .95; }
.sd-join-cta { position: relative; flex-shrink: 0; padding: 9px 13px; border-radius: 12px; background: #fff; color: #E5304F; font-size: 13.5px; font-weight: 800; display: inline-flex; gap: 6px; align-items: center; }
body.dark-mode .sd-hero, body.dark-mode .sd-hero *, body.dark-mode .sd-join, body.dark-mode .sd-join-text *, body.dark-mode .sd-join-ic i { color: #fff !important; }
body.dark-mode .sd-hero-badge, body.dark-mode .sd-hero-badge i { color: #1D9BF0 !important; }
body.dark-mode .sd-join-cta, body.dark-mode .sd-join-cta * { color: #E5304F !important; }
body.dark-mode .sd-tick { color: #4FB3FF !important; }
body.dark-mode .sd-sub, body.dark-mode .sd-rating em { color: var(--muted) !important; }
body.dark-mode .sd-rating i { color: #FFB020 !important; }
body.dark-mode .sd-card.is-top1 .sd-rank i, body.dark-mode .sd-card.is-top1 .sd-rank b { color: #F5B301 !important; }
@media (prefers-reduced-motion: reduce) { .sd-join, .sd-join-shine, .sd-join-ic, .sd-hero-badge, .asa-logo img { animation: none !important; } }

/* ---------- İlan akışındaki tanıtım kartları (promo.js): sabit, tatlı pastel renkler ---------- */
.promo-nudge { padding: 14px 36px 14px 14px; gap: 12px; border: none; border-radius: 20px; animation: none; box-shadow: 0 4px 14px rgba(28, 34, 48, 0.06); }
.promo-nudge::before { display: none; }
.promo-nudge.ad { background: linear-gradient(135deg, #FFF7DD 0%, #FFE9C2 100%); }
.promo-nudge.store { background: linear-gradient(135deg, #FFE9DF 0%, #FFDDEB 100%); }
.promo-nudge .pn-ic { width: 46px; height: 46px; border-radius: 14px; font-size: 20px; color: #fff; }
.promo-nudge.ad .pn-ic { background: linear-gradient(135deg, #FFD36B, #FFB020); color: #5A3B00; box-shadow: 0 4px 12px rgba(255, 176, 32, .3); }
.promo-nudge.store .pn-ic { background: linear-gradient(135deg, #FF9A6B, #FF6B8B); color: #fff; box-shadow: 0 4px 12px rgba(255, 107, 139, .28); }
.promo-nudge .pn-txt b { font-size: 15px; color: #2A2F3A; white-space: normal; line-height: 1.3; }
.promo-nudge .pn-txt span { font-size: 12.5px; color: #6B6F7A; font-weight: 600; white-space: normal; margin-top: 2px; }
.promo-nudge .pn-cta { padding: 9px 14px; font-size: 13px; border-radius: 12px; }
.promo-nudge.ad .pn-cta { background: #FFB020; color: #3A2400; }
.promo-nudge.store .pn-cta { background: linear-gradient(135deg, #FF8A5C, #FF5C8A); color: #fff; }
.promo-nudge .pn-x { color: #A8A2A0; }
body.dark-mode .promo-nudge.ad { background: linear-gradient(135deg, #3A3220 0%, #3B2C18 100%); }
body.dark-mode .promo-nudge.store { background: linear-gradient(135deg, #3A2A26 0%, #3A2432 100%); }
body.dark-mode .promo-nudge .pn-txt b { color: #fff !important; }
body.dark-mode .promo-nudge .pn-txt span { color: #D3D6DD !important; }
body.dark-mode .promo-nudge.ad .pn-ic i, body.dark-mode .promo-nudge.ad .pn-cta { color: #3A2400 !important; }
body.dark-mode .promo-nudge.store .pn-ic i, body.dark-mode .promo-nudge.store .pn-cta { color: #fff !important; }

/* ---------- Paylaşım menüsü (detail.js → openShareSheet) ---------- */
.share-sheet { position: fixed; inset: 0; z-index: 99990; display: flex !important; align-items: flex-end; justify-content: center;
    background: rgba(17, 20, 28, 0); visibility: hidden; transition: background .2s ease, visibility .2s; padding: 0 !important; }
.share-sheet.active { background: rgba(17, 20, 28, .45); visibility: visible; }
.ss-box { width: 100%; max-width: 520px; background: var(--surface, #fff); border-radius: 24px 24px 0 0;
    padding: 8px 14px calc(14px + var(--sab, 0px)); display: flex; flex-direction: column; gap: 6px;
    transform: translateY(100%); transition: transform .28s cubic-bezier(.2, .9, .3, 1); }
.share-sheet.active .ss-box { transform: none; }
.ss-grab { width: 40px; height: 5px; border-radius: 99px; background: var(--line, #E5E7EB); margin: 4px auto 8px; }
.ss-head { display: flex; align-items: center; gap: 12px; padding: 0 4px 8px; }
.ss-head img { width: 42px; height: 42px; border-radius: 12px; box-shadow: 0 4px 12px rgba(28, 34, 48, .12); }
.ss-head div { display: flex; flex-direction: column; min-width: 0; }
.ss-head b { font-size: 17px; font-weight: 800; color: var(--ink); }
.ss-head small { font-size: 12.5px; color: var(--muted); font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ss-item { display: flex; align-items: center; gap: 12px; width: 100%; padding: 10px 8px; border: none; background: none; border-radius: 14px;
    cursor: pointer; font: inherit; text-align: left; -webkit-tap-highlight-color: transparent; }
.ss-item:active { background: var(--fill); }
.ss-ic { width: 44px; height: 44px; border-radius: 14px; flex-shrink: 0; display: inline-flex; align-items: center; justify-content: center; font-size: 20px; color: #fff; }
.ss-ic.is-wa { background: #25D366; }
.ss-ic.is-story { background: radial-gradient(circle at 30% 107%, #FDF497 0%, #FD5949 45%, #D6249F 60%, #285AEB 90%); }
.ss-ic.is-fb { background: #1877F2; }
.ss-ic.is-dm { background: linear-gradient(135deg, #FFA149, #FF6E1B); }
.ss-ic.is-copy { background: var(--fill); color: var(--ink-2); }
.ss-txt { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 1px; }
.ss-txt b { font-size: 15px; font-weight: 800; color: var(--ink); }
.ss-txt small { font-size: 12.5px; color: var(--muted); font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ss-cancel { margin-top: 4px; min-height: 48px; border: none; border-radius: 14px; background: var(--fill); color: var(--ink); font: inherit; font-weight: 800; font-size: 15px; cursor: pointer; }
body.dark-mode .ss-ic i { color: #fff !important; }
body.dark-mode .ss-ic.is-copy i { color: var(--ink-2) !important; }
body.dark-mode .ss-txt small, body.dark-mode .ss-head small { color: var(--muted) !important; }

/* ---------- Onaylı Mağazalar: sade başlık + kategori çipleri ---------- */
.sd-head { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 16px; background: var(--surface); box-shadow: var(--shadow-md); flex-shrink: 0; }
.sd-head-ic { width: 38px; height: 38px; border-radius: 12px; flex-shrink: 0; display: inline-flex; align-items: center; justify-content: center; background: #E8F4FE; color: #1D9BF0; font-size: 18px; }
.sd-head-txt { display: flex; flex-direction: column; gap: 1px; min-width: 0; }
.sd-head-txt b { font-size: 15px; font-weight: 800; color: var(--ink); }
.sd-head-txt small { font-size: 12px; color: var(--muted); font-weight: 600; }
.sd-head-txt small i { color: #1D9BF0; }
.sd-cats-bar { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; padding: 2px 2px 4px; margin: 0 -14px; padding-left: 14px; padding-right: 14px; flex-shrink: 0; }
.sd-cats-bar::-webkit-scrollbar { display: none; }
.sd-fchip { flex-shrink: 0; display: inline-flex; align-items: center; gap: 6px; min-height: 36px; padding: 0 13px; border-radius: 999px; cursor: pointer;
    border: 1.5px solid var(--line); background: var(--surface); color: var(--ink-2); font: inherit; font-size: 13px; font-weight: 700; white-space: nowrap; }
.sd-fchip i { color: var(--chip-fg, var(--muted)); font-size: 12px; }
.sd-fchip.is-on { background: var(--chip-bg, #FFF1E6); border-color: var(--chip-fg, #FF7A1A); color: var(--chip-fg, #E05A00); }
.sd-fchip:first-child.is-on { background: #1C2230; border-color: #1C2230; color: #fff; }
.sd-fchip:first-child.is-on i { color: #fff; }
.sd-sub { display: flex; align-items: center; gap: 10px; white-space: nowrap; overflow: hidden; }
.sd-city { font-size: 12px; color: var(--muted); font-weight: 600; overflow: hidden; text-overflow: ellipsis; }
.sd-city i { font-size: 10.5px; }
.sd-cats { display: flex; gap: 5px; flex-wrap: wrap; margin-top: 2px; }
.sd-cat { display: inline-flex; align-items: center; gap: 4px; padding: 3px 8px; border-radius: 8px; font-size: 11px; font-weight: 700; max-width: 100%; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sd-cat i { font-size: 10px; }
.sd-cat.is-more { background: var(--fill); color: var(--muted); }
body.dark-mode .sd-head-ic, body.dark-mode .sd-head-ic i { background: #16263D; color: #4FB3FF !important; }
body.dark-mode .sd-fchip:first-child.is-on, body.dark-mode .sd-fchip:first-child.is-on * { background: #F4F5F8; color: #1C2230 !important; }
body.dark-mode .sd-cat { filter: brightness(.9) saturate(1.1); }
body.dark-mode .sd-cat, body.dark-mode .sd-cat * { color: #1C2230 !important; }
body.dark-mode .sd-city { color: var(--muted) !important; }

/* Hesap ve Gizlilik: oturumu kapat */
.ap-signout { margin-top: 16px; }

/* ---------- Ana sayfa reklamları: Hesabım VIP ve Menü mağaza reklamıyla aynı görünüm (sabit) ---------- */
.promo-nudge { padding: 14px 40px 14px 14px; gap: 12px; border-radius: 20px; border: none; overflow: hidden; }
.promo-nudge.ad { background: linear-gradient(120deg, #1C2230 0%, #3A2A12 45%, #1C2230 100%); box-shadow: 0 10px 26px rgba(28, 34, 48, 0.25); }
.promo-nudge.store { background: linear-gradient(120deg, #FF6A00 0%, #FF2E63 55%, #8B3DFF 100%); box-shadow: 0 10px 26px rgba(255, 70, 60, 0.25); }
.promo-nudge .pn-ic { width: 46px; height: 46px; border-radius: 14px; font-size: 20px; }
.promo-nudge.ad .pn-ic { background: linear-gradient(135deg, #FFE08A, #FFB800); color: #5A3B00; box-shadow: 0 6px 16px rgba(255, 184, 0, 0.35); }
.promo-nudge.store .pn-ic { background: rgba(255, 255, 255, 0.22); color: #fff; box-shadow: none; }
.promo-nudge .pn-txt b { font-size: 16px; line-height: 1.25; }
.promo-nudge.ad .pn-txt b { background: linear-gradient(90deg, #FFE08A, #FFB800 60%, #FFE08A); -webkit-background-clip: text; background-clip: text; color: transparent; }
.promo-nudge.store .pn-txt b { color: #fff; }
.promo-nudge .pn-txt span { font-size: 12.5px; color: rgba(255, 255, 255, 0.85); }
.promo-nudge .pn-cta { padding: 9px 13px; border-radius: 12px; font-size: 13.5px; font-weight: 800; }
.promo-nudge.ad .pn-cta { background: #FFB800; color: #3A2400; }
.promo-nudge.store .pn-cta { background: #fff; color: #E5304F; }
.promo-nudge .pn-x { color: rgba(255, 255, 255, 0.6); }
body.dark-mode .promo-nudge.ad { background: linear-gradient(120deg, #262C3A 0%, #4A3612 45%, #262C3A 100%); }
body.dark-mode .promo-nudge.store { background: linear-gradient(120deg, #FF6A00 0%, #FF2E63 55%, #8B3DFF 100%); }
body.dark-mode .promo-nudge.ad .pn-txt b { color: transparent !important; }
body.dark-mode .promo-nudge.store .pn-txt b, body.dark-mode .promo-nudge .pn-txt span, body.dark-mode .promo-nudge.store .pn-ic i { color: #fff !important; }
body.dark-mode .promo-nudge.ad .pn-cta, body.dark-mode .promo-nudge.ad .pn-ic i { color: #3A2400 !important; }
body.dark-mode .promo-nudge.store .pn-cta { color: #E5304F !important; }

/* Ana sayfanın altındaki iki reklam (eski "Bulut İlan Ağı" kutuları yerine) */
#mainPromoGrid.home-ads { display: grid; grid-template-columns: 1fr; gap: 12px; margin: 4px 0 22px; }
#mainPromoGrid.home-ads .promo-nudge { padding-right: 14px; grid-column: auto; }
@media (min-width: 768px) { #mainPromoGrid.home-ads { grid-template-columns: 1fr 1fr; } }

/* Onaylı Mağazalar başlığındaki mavi tik rozeti (başlıktaki simgeleri gizleyen tema kuralından etkilenmez) */
.title-tick { display: inline-flex; width: 20px; height: 20px; flex-shrink: 0; margin-left: -2px; filter: drop-shadow(0 1px 2px rgba(29, 155, 240, .35)); }
.title-tick svg { width: 100%; height: 100%; display: block; }

/* =====================================================
   Uygulama pencereleri (dialog.js): alert / confirm / prompt yerine
   ===================================================== */
.kd-overlay {
    position: fixed; inset: 0; z-index: 100002; display: flex; align-items: center; justify-content: center;
    padding: 24px max(20px, var(--sar, 0px)) calc(24px + var(--sab, 0px)) max(20px, var(--sal, 0px));
    background: rgba(15, 23, 42, 0); transition: background .2s ease;
    -webkit-tap-highlight-color: transparent;
}
.kd-overlay.show { background: rgba(15, 23, 42, .48); -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px); }
.kd-overlay.hide { background: rgba(15, 23, 42, 0); pointer-events: none; }
.kd-card {
    width: 100%; max-width: 340px; background: var(--surface); border-radius: 26px; padding: 26px 20px 18px;
    text-align: center; box-shadow: 0 24px 60px rgba(15, 23, 42, .26);
    opacity: 0; transform: translateY(18px) scale(.94);
    transition: transform .28s cubic-bezier(.2, .9, .3, 1.2), opacity .2s ease;
}
.kd-overlay.show .kd-card { opacity: 1; transform: none; }
.kd-overlay.hide .kd-card { opacity: 0; transform: scale(.96); transition-duration: .16s; }
.kd-icon {
    width: 62px; height: 62px; margin: 0 auto 14px; border-radius: 21px; display: flex; align-items: center; justify-content: center;
    font-size: 27px; background: var(--brand-50); color: var(--brand-600);
}
.kd-info .kd-icon     { background: #EAF3FF; color: #2E90FA; }
.kd-success .kd-icon  { background: #E7F8EF; color: #12B76A; }
.kd-warning .kd-icon  { background: #FFF5DC; color: #F2A007; }
.kd-error .kd-icon, .kd-danger .kd-icon { background: var(--danger-50); color: var(--danger); }
.kd-question .kd-icon { background: var(--brand-50); color: var(--brand-600); }
.kd-overlay.show .kd-icon i { animation: kdIconIn .45s cubic-bezier(.2, .9, .3, 1.4) .05s both; }
@keyframes kdIconIn { 0% { transform: scale(.4) rotate(-12deg); opacity: 0; } 100% { transform: none; opacity: 1; } }
.kd-title { margin: 0 0 6px; font-size: 18px; font-weight: 800; color: var(--ink); letter-spacing: -0.01em; line-height: 1.3; }
.kd-msg {
    margin: 0; font-size: 14.5px; line-height: 1.55; color: var(--ink-2); font-weight: 500;
    white-space: pre-line; overflow-wrap: anywhere; max-height: 46vh; overflow-y: auto;
}
.kd-input {
    display: block; width: 100%; box-sizing: border-box; margin-top: 14px; padding: 13px 14px; border-radius: 14px;
    border: 1.5px solid var(--line); background: var(--fill); color: var(--ink);
    font: inherit; font-size: 15px; outline: none; transition: border-color .15s, box-shadow .15s, background .15s;
}
.kd-input:focus { border-color: var(--brand-500); background: var(--surface); box-shadow: 0 0 0 4px rgba(255, 122, 26, .14); }
textarea.kd-input { min-height: 92px; resize: none; }
.kd-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 22px; }
.kd-actions.kd-single { grid-template-columns: 1fr; }
.kd-btn {
    height: 50px; border: none; border-radius: 16px; cursor: pointer; font: inherit; font-size: 15.5px; font-weight: 800;
    -webkit-tap-highlight-color: transparent; transition: transform .12s ease, filter .15s ease;
}
.kd-btn:active { transform: scale(.96); }
.kd-btn-cancel { background: var(--fill); color: var(--ink-2); }
.kd-btn-ok { background: var(--brand-grad); color: #fff; box-shadow: var(--shadow-brand); }
.kd-danger .kd-btn-ok { background: linear-gradient(135deg, #FF6B6B 0%, #F04452 100%); box-shadow: 0 8px 22px rgba(240, 68, 82, .30); }
.kd-btn:focus-visible { outline: 3px solid rgba(255, 122, 26, .45); outline-offset: 2px; }
body.dark-mode .kd-card { background: var(--surface); box-shadow: 0 24px 60px rgba(0, 0, 0, .55); }
body.dark-mode .kd-title { color: var(--ink) !important; }
body.dark-mode .kd-msg { color: var(--ink-2) !important; }
body.dark-mode .kd-btn-cancel { background: var(--fill) !important; color: var(--ink) !important; }
body.dark-mode .kd-btn-ok { color: #fff !important; }
body.dark-mode .kd-info .kd-icon     { background: rgba(46, 144, 250, .16); }
body.dark-mode .kd-success .kd-icon  { background: rgba(18, 183, 106, .16); }
body.dark-mode .kd-warning .kd-icon  { background: rgba(242, 160, 7, .16); }
body.dark-mode .kd-error .kd-icon, body.dark-mode .kd-danger .kd-icon { background: rgba(240, 68, 82, .16); }
body.dark-mode .kd-question .kd-icon { background: rgba(255, 122, 26, .16); }
body.dark-mode .kd-info .kd-icon i     { color: #5AA9FF !important; }
body.dark-mode .kd-success .kd-icon i  { color: #32D08A !important; }
body.dark-mode .kd-warning .kd-icon i  { color: #FFC24A !important; }
body.dark-mode .kd-error .kd-icon i, body.dark-mode .kd-danger .kd-icon i { color: #FF6B76 !important; }
body.dark-mode .kd-question .kd-icon i { color: #FF9A4D !important; }

/* ---------- "Çok yakında" rozeti (henüz açılmayan özellikler: Kargo) ---------- */
.soon-badge {
    display: inline-flex; align-items: center; gap: 5px; flex-shrink: 0; white-space: nowrap;
    padding: 5px 10px; border-radius: 999px; font-size: 11.5px; font-weight: 800; letter-spacing: .01em;
    background: linear-gradient(135deg, #FFF3E6, #FFE7D1); color: var(--brand-700); border: 1px solid #FFD9B8;
}
.soon-badge i { font-size: 10px; animation: soonTurn 2.4s ease-in-out infinite; }
@keyframes soonTurn { 0%, 70% { transform: rotate(0); } 85%, 100% { transform: rotate(180deg); } }
.shipping-cta.is-soon, .account-menu-item.is-soon { cursor: default; }
.shipping-cta.is-soon .shipping-cta-icon { opacity: .55; box-shadow: none; }
.shipping-cta.is-soon .shipping-cta-title, .account-menu-item.is-soon > div span { opacity: .7; }
.account-menu-item.is-soon .left-icon { opacity: .6; }
.shipping-cta.is-soon:active, .account-menu-item.is-soon:active { transform: none !important; }
body.dark-mode .soon-badge { background: rgba(255, 122, 26, .14); border-color: rgba(255, 122, 26, .3); }
body.dark-mode .soon-badge, body.dark-mode .soon-badge i { color: #FFA45C !important; }
