/* Lunaev Suite 3.4 — yalnızca işlevsel bileşenler (sohbet, WhatsApp, paylaşım, sosyal, pazaryeri, yasal liste,
   iletişim ve bülten formları, kargo takip kutusu, havale satırı, 10 gün en düşük fiyat notu, bildirim çubuğu; 3.4:
   ödeme adımında sözleşme penceresi, KVKK notu, Hesabım'da sözleşme nüshaları).
   Renk ve biçimler temanın --lunaev-* değişkenlerinden gelir; Lunaev teması kendi görünümünü üstüne yazar.
   Tema yokken inc/assets.php yedek değişkenleri (3.0 "Pazar" paleti: turuncu #f67704, koyu #121212) basar.
   3.5 erişilebilirlik (WCAG 2.2 AA): ana renk YALNIZCA dolgu olarak kullanılır, üstündeki yazı --lunaev-on-primary
   (kontrasta göre seçilir; turuncuda #121212, 6.7:1). Renkli metin okunur tonlardan gelir: --lunaev-link (ana renk,
   #b15603), --lunaev-accent-text (indirim kırmızısı, #de0f0f), --lunaev-muted-text (soluk metin, #6f6f6f),
   --lunaev-success-text (#1b7e50); hepsi beyaz ve #f3f3f3 zeminde ≥4.5:1. Form alanı kenarlığı --lunaev-field-border
   (#8a8a8a, ≥3:1), bülten satırının kenarı --lunaev-link-large (ana rengin ≥3:1 tonu, #dd6b04), odak halkası --lunaev-link,
   WhatsApp yeşili üstündeki yazı --lunaev-on-whatsapp (#121212). Tema bu adları basar; yoksa yanlarındaki yedek tonlar geçerli. */

.lunaev-icon { width: 1.1em; height: 1.1em; vertical-align: -0.15em; flex: 0 0 auto; }

/* Görsel olarak gizli, ekran okuyucuya açık. */
.lunaev-whatsapp__text,
.lunaev-chat .screen-reader-text,
.lunaev-contact .screen-reader-text,
.lunaev-newsletter .screen-reader-text { position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; border: 0; }
/* Bal kabı alanı: insanlara görünmez, botlar doldurur. */
.lunaev-hp { position: absolute !important; left: -10000px; top: auto; width: 1px; height: 1px; overflow: hidden; }

/* ---------- Paylaşım düğmeleri ---------- */
.lunaev-share { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 16px 0; font-size: 13px; color: inherit; }
.lunaev-share__label { display: inline-flex; align-items: center; gap: 4px; color: var(--lunaev-muted-text, #6f6f6f); font-weight: 600; font-size: 12px; }
.lunaev-share__btn { display: inline-flex; align-items: center; gap: 6px; min-height: 36px; padding: 7px 14px; border: 1px solid var(--lunaev-border, #e6e6e6); border-radius: var(--lunaev-radius-pill, 40px); background: var(--lunaev-bg, #fff); color: inherit; font: inherit; font-size: 12px; font-weight: 600; line-height: 1.3; text-decoration: none; cursor: pointer; transition: background .2s, color .2s, border-color .2s; }
.lunaev-share__btn:hover, .lunaev-share__btn:focus-visible { background: var(--lunaev-primary, #f67704); border-color: var(--lunaev-primary, #f67704); color: var(--lunaev-on-primary, #121212); text-decoration: none; }
.lunaev-share__btn.is-copied { background: var(--lunaev-success-text, #1b7e50); border-color: var(--lunaev-success-text, #1b7e50); color: #fff; }

/* ---------- Sosyal profil ikonları ([lunaev_sosyal]) ---------- */
.lunaev-social { list-style: none; margin: 12px 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.lunaev-social__link { display: inline-flex; align-items: center; justify-content: center; width: 32px; height: 32px; border-radius: 50%; background: var(--lunaev-primary, #f67704); color: var(--lunaev-on-primary, #121212); transition: background .2s, transform .2s; }
.lunaev-social__link .lunaev-icon { width: 15px; height: 15px; }
.lunaev-social__link:hover, .lunaev-social__link:focus-visible { background: var(--lunaev-primary-dark, #d36603); color: var(--lunaev-on-primary, #121212); transform: translateY(-1px); }

/* ---------- Sabit WhatsApp düğmesi ---------- */
.lunaev-whatsapp { position: fixed; right: 20px; bottom: 20px; z-index: 95; display: inline-flex; align-items: center; justify-content: center; width: 48px; height: 48px; border-radius: 50%; background: var(--lunaev-whatsapp, #25d366); color: var(--lunaev-on-whatsapp, #121212); text-decoration: none; box-shadow: var(--lunaev-shadow, 0 4px 18px rgba(0, 0, 0, .08)); transition: transform .2s, bottom .2s; }
.lunaev-whatsapp .lunaev-icon { width: 24px; height: 24px; }
.lunaev-whatsapp:hover, .lunaev-whatsapp:focus-visible { color: var(--lunaev-on-whatsapp, #121212); transform: translateY(-2px); text-decoration: none; }
/* 3.5: ikon yeşil dolguda koyu (#121212, 9.5:1); beyaz ikon 2.0:1 ile grafik nesne eşiğinin (3:1, WCAG 1.4.11) altındaydı. */
/* Tema yokken: sohbet aynı köşedeyse WhatsApp onun üstüne dizilir (yuvarlak: 20 + 60 + 12; hap: 20 + 48 + 16), sohbet açıkken gizlenir. */
body.lunaev-has-chat:not(.lunaev-chat-left) .lunaev-whatsapp { bottom: 84px; }
body.lunaev-chat-round:not(.lunaev-chat-left) .lunaev-whatsapp { right: 26px; bottom: 92px; }
body.lunaev-chat-open .lunaev-whatsapp { display: none; }
@media (max-width: 600px) {
	body.lunaev-has-chat:not(.lunaev-chat-left) .lunaev-whatsapp { right: 16px; bottom: 78px; }
	body.lunaev-chat-round:not(.lunaev-chat-left) .lunaev-whatsapp { right: 19px; bottom: 80px; }
}

/* ---------- Pazaryeri bağlantıları (ürün sayfası) ve mağazalar ([lunaev_pazaryerleri]) ---------- */
.lunaev-marketplaces { margin: 12px 0; font-size: 12px; color: var(--lunaev-muted-text, #6f6f6f); display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.lunaev-marketplaces__label { font-weight: 600; }
.lunaev-marketplaces__link, .lunaev-stores__link { display: inline-flex; align-items: center; padding: 5px 12px; border-radius: var(--lunaev-radius-pill, 40px); border: 1px solid var(--lunaev-border, #e6e6e6); color: var(--lunaev-text, #121212); text-decoration: none; transition: border-color .2s, color .2s; }
.lunaev-stores { list-style: none; margin: 16px 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.lunaev-stores__link { min-height: 40px; padding: 9px 18px; font-size: 13px; font-weight: 600; }
.lunaev-marketplaces__link:hover, .lunaev-marketplaces__link:focus-visible, .lunaev-stores__link:hover, .lunaev-stores__link:focus-visible { border-color: var(--lunaev-primary, #f67704); color: var(--lunaev-link, #b15603); text-decoration: none; }

/* ---------- Fatura bilgileri ---------- */
.lunaev-invoice address { font-style: normal; }
.lunaev-sozlesme { margin-top: 12px; }

/* ---------- Yasal bağlantılar (yedek yerleşim; tema footer'ında kendi boyutlarını verir) ---------- */
.lunaev-legal { font-size: 13px; line-height: 1.5; color: inherit; }
.lunaev-legal__title { font-size: 14px; font-weight: 700; margin: 0 0 12px; color: inherit; }
.lunaev-legal__list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 6px 20px; }
.lunaev-legal__list a { color: inherit; text-decoration: none; }
.lunaev-legal__list a:hover, .lunaev-legal__list a:focus-visible { color: var(--lunaev-link, #b15603); }
.lunaev-legal__cookies { cursor: pointer; }
.lunaev-legal-footer { max-width: var(--lunaev-container, 1200px); margin: 0 auto; padding: 24px 16px; border-top: 1px solid var(--lunaev-border, #e6e6e6); color: var(--lunaev-text, #121212); }
.lunaev-legal-footer .lunaev-social { margin-top: 16px; }

/* ---------- Ürün sayfası: havale satırı ve 10 gün en düşük fiyat notu ---------- */
.lunaev-bank-transfer { margin: 6px 0 0; font-size: 13px; color: var(--lunaev-text, #121212); }
.lunaev-bank-transfer__price { color: var(--lunaev-link, #b15603); font-weight: 700; }
.lunaev-bank-transfer__note { color: var(--lunaev-muted-text, #6f6f6f); font-size: 12px; }
.lunaev-lowest-price { margin: 6px 0 0; font-size: 12px; line-height: 1.5; color: var(--lunaev-muted-text, #6f6f6f); }
.lunaev-lowest-price__amount { color: var(--lunaev-text, #121212); font-weight: 600; }

/* ---------- Kargo takip kutusu (sipariş ayrıntısı, teşekkür, Siparişim Nerede?) ---------- */
.lunaev-tracking { margin: 24px 0; padding: 16px 20px; border: 1px solid var(--lunaev-border, #e6e6e6); border-radius: var(--lunaev-radius, 8px); background: var(--lunaev-bg, #fff); }
.lunaev-tracking__title { margin: 0 0 12px; font-size: 16px; font-weight: 700; }
.lunaev-tracking__text { margin: 0; color: var(--lunaev-muted-text, #6f6f6f); font-size: 14px; }
.lunaev-tracking__list { margin: 0; }
.lunaev-tracking__row { display: flex; justify-content: space-between; gap: 16px; padding: 8px 0; border-top: 1px solid var(--lunaev-border, #e6e6e6); font-size: 14px; }
.lunaev-tracking__row:first-child { border-top: 0; }
.lunaev-tracking__row dt { color: var(--lunaev-muted-text, #6f6f6f); }
.lunaev-tracking__row dd { margin: 0; text-align: right; overflow-wrap: anywhere; }
.lunaev-tracking__action { margin: 12px 0 0; }
.lunaev-tracking__link { display: inline-flex; align-items: center; min-height: 40px; padding: 8px 20px; border-radius: 6px; background: var(--lunaev-primary, #f67704); color: var(--lunaev-on-primary, #121212); font-weight: 700; text-decoration: none; }
.lunaev-tracking__link:hover, .lunaev-tracking__link:focus-visible { background: var(--lunaev-primary-dark, #d36603); color: var(--lunaev-on-primary, #121212); }

/* ---------- İletişim formu ([lunaev_iletisim_formu]) ---------- */
.lunaev-contact { scroll-margin-top: 90px; }
.lunaev-contact__status { margin: 0 0 16px; padding: 12px 16px; border-radius: var(--lunaev-radius, 8px); border-left: 4px solid var(--lunaev-border, #e6e6e6); background: var(--lunaev-surface, #f3f3f3); font-size: 14px; }
.lunaev-contact__status[hidden] { display: none; }
.lunaev-contact__status.is-ok { border-left-color: var(--lunaev-success, #1e8e5a); }
.lunaev-contact__status.is-error { border-left-color: var(--lunaev-danger, #c0392b); }
.lunaev-contact__grid { display: grid; grid-template-columns: 1fr; gap: 14px 16px; }
@media (min-width: 640px) { .lunaev-contact__grid { grid-template-columns: 1fr 1fr; } .lunaev-field--full { grid-column: 1 / -1; } }
.lunaev-field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.lunaev-field > label { font-size: 13px; font-weight: 600; color: var(--lunaev-text, #121212); }
.lunaev-field__optional { font-weight: 400; color: var(--lunaev-muted-text, #6f6f6f); }
.lunaev-req { color: var(--lunaev-danger, #c0392b); }
.lunaev-field input[type="text"], .lunaev-field input[type="email"], .lunaev-field input[type="tel"], .lunaev-field select, .lunaev-field textarea { box-sizing: border-box; width: 100%; min-height: 44px; padding: 10px 14px; border: 1px solid var(--lunaev-field-border, #8a8a8a); border-radius: 6px; background: var(--lunaev-bg, #fff); color: var(--lunaev-text, #121212); font: inherit; font-size: 14px; }
.lunaev-field textarea { min-height: 140px; resize: vertical; }
.lunaev-field input:focus, .lunaev-field select:focus, .lunaev-field textarea:focus { border-color: var(--lunaev-link, #b15603); outline: 2px solid var(--lunaev-link, #b15603); outline-offset: 0; }
.lunaev-field [aria-invalid="true"] { border-color: var(--lunaev-danger, #c0392b); }
.lunaev-field__error { margin: 0; font-size: 12px; color: var(--lunaev-danger, #c0392b); }
.lunaev-field__error[hidden] { display: none; }
.lunaev-field--check { margin-top: 14px; }
.lunaev-check { display: flex; align-items: flex-start; gap: 8px; font-size: 13px; line-height: 1.5; cursor: pointer; }
.lunaev-check input { margin: 3px 0 0; width: 16px; height: 16px; accent-color: var(--lunaev-link, #b15603); flex: 0 0 auto; }
.lunaev-check a, .lunaev-newsletter__consent a { color: var(--lunaev-link, #b15603); text-decoration: underline; text-underline-offset: 2px; }
.lunaev-contact__note { margin: 10px 0 14px; font-size: 12px; color: var(--lunaev-muted-text, #6f6f6f); }
.lunaev-contact__submit { display: inline-flex; align-items: center; justify-content: center; min-height: 46px; padding: 12px 32px; border: 0; border-radius: 6px; background: var(--lunaev-primary, #f67704); color: var(--lunaev-on-primary, #121212); font: inherit; font-size: 14px; font-weight: 700; cursor: pointer; transition: background .2s; }
.lunaev-contact__submit:hover, .lunaev-contact__submit:focus-visible { background: var(--lunaev-primary-dark, #d36603); color: var(--lunaev-on-primary, #121212); }
.lunaev-contact__form.is-busy .lunaev-contact__submit, .lunaev-newsletter.is-busy .lunaev-newsletter__button { opacity: .6; cursor: progress; }

/* ---------- Bülten formu ([lunaev_bulten] / footer bandı) ---------- */
.lunaev-newsletter { width: 100%; max-width: 420px; }
.lunaev-newsletter__row { display: flex; align-items: stretch; min-height: 44px; border: 1px solid var(--lunaev-link-large, #dd6b04); border-radius: 24px; background: var(--lunaev-bg, #fff); overflow: hidden; }
.lunaev-newsletter__input { flex: 1 1 auto; min-width: 0; padding: 0 18px; border: 0; background: transparent; color: var(--lunaev-text, #121212); font: inherit; font-size: 13px; }
.lunaev-newsletter__input:focus { outline: none; }
.lunaev-newsletter__row:focus-within { box-shadow: 0 0 0 2px var(--lunaev-link, #b15603); }
.lunaev-newsletter__button { flex: 0 0 auto; padding: 0 28px; border: 0; border-radius: 24px; background: var(--lunaev-primary, #f67704); color: var(--lunaev-on-primary, #121212); font: inherit; font-size: 14px; font-weight: 700; cursor: pointer; transition: background .2s; }
.lunaev-newsletter__button:hover, .lunaev-newsletter__button:focus-visible { background: var(--lunaev-primary-dark, #d36603); color: var(--lunaev-on-primary, #121212); }
.lunaev-newsletter__consent { display: flex; align-items: flex-start; gap: 6px; margin: 8px 0 0; font-size: 11px; line-height: 1.45; color: var(--lunaev-muted-text, #6f6f6f); cursor: pointer; }
.lunaev-newsletter__consent input { margin: 1px 0 0; width: 14px; height: 14px; accent-color: var(--lunaev-link, #b15603); flex: 0 0 auto; }
.lunaev-newsletter__status { margin: 6px 0 0; font-size: 12px; }
.lunaev-newsletter__status[hidden] { display: none; }
.lunaev-newsletter__status.is-ok { color: var(--lunaev-success-text, #1b7e50); }
.lunaev-newsletter__status.is-error { color: var(--lunaev-danger, #c0392b); }

/* ---------- Bildirim çubuğu (bülten onayı vb.) ---------- */
.lunaev-toast { position: fixed; top: 16px; left: 50%; z-index: 100000; display: flex; align-items: flex-start; gap: 12px; width: max-content; max-width: calc(100% - 32px); padding: 12px 14px 12px 16px; border-left: 4px solid var(--lunaev-success, #1e8e5a); border-radius: var(--lunaev-radius, 8px); background: var(--lunaev-secondary, #121212); color: #fff; box-shadow: 0 10px 30px rgba(0, 0, 0, .2); transform: translateX(-50%); font-size: 14px; line-height: 1.45; }
.lunaev-toast.is-error { border-left-color: var(--lunaev-danger, #c0392b); }
.lunaev-toast__text { margin: 0; }
.lunaev-toast__close { display: inline-flex; align-items: center; justify-content: center; flex: 0 0 auto; width: 28px; height: 28px; margin: -4px -4px 0 0; padding: 0; border: 0; border-radius: 50%; background: transparent; color: inherit; font-size: 20px; line-height: 1; cursor: pointer; }
.lunaev-toast__close .lunaev-icon { width: 16px; height: 16px; }
.lunaev-toast__close:hover, .lunaev-toast__close:focus-visible { background: rgba(255, 255, 255, .15); }

/* ---------- Yapay zekâ destekli sohbet (Wix tarzı) ----------
   Kök .lunaev-chat sabit konumludur (z-index 9000: çekmece/filtre katmanları ve çerez bannerlarının altında).
   Tema yalnızca kökün yerini (right/left/bottom) ve renk değişkenlerini değiştirir; panel ve balon köke göre konumlanır.
   .lunaev-chat--round: 60 px avatarlı düğme (mobil 54), açıkken masaüstünde aşağı ok; .lunaev-chat--pill: yazılı düğme.
   Gövde sınıfları (PHP + JS): lunaev-has-chat, lunaev-chat-left, lunaev-chat-round, lunaev-chat-open. */
.lunaev-chat { --lunaev-chat-gap: 20px; --lunaev-chat-size: 60px; position: fixed; right: var(--lunaev-chat-gap); bottom: calc(var(--lunaev-chat-gap) + env(safe-area-inset-bottom, 0px)); z-index: 9000; font: 14px/1.5 var(--lunaev-font, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif); color: var(--lunaev-text, #121212); }
.lunaev-chat--left { right: auto; left: var(--lunaev-chat-gap); }
.lunaev-chat__icon { width: 20px; height: 20px; flex: 0 0 auto; }
.lunaev-chat [hidden] { display: none !important; }

/* Avatar (düğme, başlık, mesaj satırı, balon): görsel ya da baş harf. */
.lunaev-chat__avatar { position: relative; display: inline-flex; align-items: center; justify-content: center; flex: 0 0 auto; width: 36px; height: 36px; border-radius: 50%; overflow: hidden; background: var(--lunaev-primary, #f67704); color: var(--lunaev-on-primary, #121212); font-weight: 700; font-size: 15px; line-height: 1; }
.lunaev-chat__avatar-img { display: block; width: 100%; height: 100%; object-fit: cover; }
.lunaev-chat__presence { position: absolute; right: 1px; bottom: 1px; width: 12px; height: 12px; border-radius: 50%; background: var(--lunaev-success, #1e8e5a); box-shadow: 0 0 0 2px #fff; pointer-events: none; }
.lunaev-chat__ai-badge { display: inline-flex; align-items: center; flex: 0 0 auto; height: 20px; padding: 0 8px; border-radius: 10px; background: rgba(255, 255, 255, .16); font-size: 11px; font-weight: 600; line-height: 1; white-space: nowrap; }

/* Açma düğmesi — hap (yazılı) */
.lunaev-chat__launcher { position: relative; display: inline-flex; align-items: center; gap: 10px; vertical-align: top; height: 48px; padding: 0 22px 0 18px; border: 0; border-radius: var(--lunaev-radius-pill, 40px); background: var(--lunaev-secondary, #121212); color: #fff; font: inherit; font-size: 14px; font-weight: 600; white-space: nowrap; cursor: pointer; box-shadow: 0 8px 24px rgba(0, 0, 0, .18); transition: transform .2s, box-shadow .2s, background .2s; }
.lunaev-chat__launcher:hover { transform: translateY(-2px); box-shadow: 0 12px 28px rgba(0, 0, 0, .24); }
.lunaev-chat__launcher .lunaev-chat__icon { width: 22px; height: 22px; }
.lunaev-chat--pill.is-open .lunaev-chat__launcher { display: none; }
.lunaev-chat__unread { position: absolute; top: -4px; right: -4px; min-width: 18px; height: 18px; padding: 0 5px; box-sizing: border-box; border-radius: 9px; background: var(--lunaev-danger, #c0392b); color: #fff; font-size: 11px; font-weight: 700; line-height: 18px; text-align: center; box-shadow: 0 0 0 2px #fff; pointer-events: none; }

/* Açma düğmesi — yuvarlak (avatar + çevrim içi noktası; açıkken aşağı ok) */
.lunaev-chat--round .lunaev-chat__launcher { justify-content: center; width: var(--lunaev-chat-size); height: var(--lunaev-chat-size); padding: 0; border-radius: 50%; background: var(--lunaev-primary, #f67704); color: var(--lunaev-on-primary, #121212); }
.lunaev-chat--round .lunaev-chat__launcher-avatar { width: 100%; height: 100%; border: 2px solid #fff; box-sizing: border-box; font-size: 22px; }
.lunaev-chat--round .lunaev-chat__launcher .lunaev-chat__presence { right: 2px; bottom: 2px; }
.lunaev-chat__launcher-close { display: none; align-items: center; justify-content: center; }
.lunaev-chat__launcher-close .lunaev-chat__icon { width: 26px; height: 26px; stroke-width: 2; }
.lunaev-chat--round.is-open .lunaev-chat__launcher { background: var(--lunaev-secondary, #121212); color: #fff; }
.lunaev-chat--round.is-open .lunaev-chat__launcher-avatar, .lunaev-chat--round.is-open .lunaev-chat__launcher .lunaev-chat__presence { display: none; }
.lunaev-chat--round.is-open .lunaev-chat__launcher-close { display: inline-flex; }

/* Karşılama balonu (düğmenin üstünde; canlı bölge değil) */
.lunaev-chat__teaser { position: absolute; right: 0; bottom: calc(100% + 12px); width: 288px; max-width: calc(100vw - 2 * var(--lunaev-chat-gap)); box-sizing: border-box; padding: 12px 40px 12px 14px; border: 1px solid var(--lunaev-border, #e6e6e6); border-radius: 16px 16px 4px 16px; background: var(--lunaev-bg, #fff); color: var(--lunaev-text, #121212); box-shadow: 0 12px 40px rgba(0, 0, 0, .18), 0 2px 6px rgba(0, 0, 0, .08); opacity: 0; transform: translateY(8px); transition: opacity .25s ease, transform .25s ease; }
.lunaev-chat__teaser.is-visible { opacity: 1; transform: none; }
.lunaev-chat--left .lunaev-chat__teaser { right: auto; left: 0; border-radius: 16px 16px 16px 4px; }
/* WhatsApp düğmesi sohbetin üstündeyse (temasız Suite yalnızca sağ köşede dizer) balon onun da üstüne çıkar: 48 px düğme +
   12 px ara + 12 px boşluk. :where() özgüllüğü artırmaz; Lunaev teması kendi kuralıyla (sol köşe dahil) bunu yeniden yazar. */
body.lunaev-has-whatsapp:where(:not(.lunaev-chat-left)) .lunaev-chat__teaser { bottom: calc(100% + 72px); }
.lunaev-chat__teaser-main { display: block; width: 100%; margin: 0; padding: 0; border: 0; background: none; color: inherit; font: inherit; text-align: left; cursor: pointer; }
.lunaev-chat__teaser-head { display: flex; align-items: center; gap: 8px; min-width: 0; }
.lunaev-chat__teaser-avatar { width: 28px; height: 28px; font-size: 12px; }
.lunaev-chat__teaser-name { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 13px; font-weight: 600; }
.lunaev-chat__teaser .lunaev-chat__ai-badge { background: var(--lunaev-surface, #f3f3f3); color: var(--lunaev-text, #121212); }
.lunaev-chat__teaser-text { display: block; margin-top: 8px; font-size: 15px; line-height: 1.45; }
.lunaev-chat__teaser-chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.lunaev-chat__teaser-close { position: absolute; top: 6px; right: 6px; display: inline-flex; align-items: center; justify-content: center; width: 28px; height: 28px; padding: 0; border: 0; border-radius: 50%; background: transparent; color: var(--lunaev-muted-text, #6f6f6f); cursor: pointer; }
.lunaev-chat__teaser-close .lunaev-chat__icon { width: 14px; height: 14px; stroke-width: 2; }
.lunaev-chat__teaser-close:hover { background: var(--lunaev-surface, #f3f3f3); color: var(--lunaev-text, #121212); }

/* Panel */
@keyframes lunaev-chat-in { from { opacity: 0; transform: translateY(12px) scale(.98); } to { opacity: 1; transform: none; } }
.lunaev-chat__panel { position: absolute; right: 0; bottom: 0; display: flex; flex-direction: column; width: 380px; max-width: calc(100vw - 2 * var(--lunaev-chat-gap)); height: min(620px, calc(100vh - 40px)); height: min(620px, calc(100dvh - 40px)); border: 1px solid var(--lunaev-border, #e6e6e6); border-radius: 16px; background: var(--lunaev-bg, #fff); box-shadow: 0 12px 40px rgba(0, 0, 0, .18), 0 2px 6px rgba(0, 0, 0, .08); overflow: hidden; transform-origin: bottom right; animation: lunaev-chat-in .2s cubic-bezier(.2, .8, .2, 1); }
.lunaev-chat--round .lunaev-chat__panel { bottom: calc(var(--lunaev-chat-size) + 16px); height: min(640px, calc(100vh - 120px)); height: min(640px, calc(100dvh - 120px)); }
.lunaev-chat--left .lunaev-chat__panel { right: auto; left: 0; transform-origin: bottom left; }
.lunaev-chat__panel:focus { outline: none; }

/* Başlık */
.lunaev-chat__head { display: flex; align-items: center; gap: 10px; min-height: 64px; box-sizing: border-box; padding: 10px 8px 10px 14px; background: var(--lunaev-secondary, #121212); color: #fff; }
.lunaev-chat__head-avatar { position: relative; display: inline-flex; flex: 0 0 auto; }
.lunaev-chat__head-avatar .lunaev-chat__avatar { width: 40px; height: 40px; }
.lunaev-chat__head-avatar .lunaev-chat__presence { right: -1px; bottom: -1px; width: 10px; height: 10px; box-shadow: 0 0 0 2px var(--lunaev-secondary, #121212); }
.lunaev-chat__who { display: flex; flex-direction: column; flex: 1 1 auto; min-width: 0; line-height: 1.3; }
.lunaev-chat__title-row { display: flex; align-items: center; gap: 6px; min-width: 0; }
.lunaev-chat__title { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 16px; font-weight: 700; }
.lunaev-chat__status { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 12px; opacity: .85; }
.lunaev-chat__head-btn { display: inline-flex; align-items: center; justify-content: center; flex: 0 0 auto; width: 40px; height: 40px; padding: 0; border: 0; border-radius: 50%; background: transparent; color: inherit; cursor: pointer; }
.lunaev-chat__head-btn:hover { background: rgba(255, 255, 255, .15); }
.lunaev-chat__head-clear .lunaev-chat__icon { width: 18px; height: 18px; }

/* Mesaj günlüğü (yalnızca ekleme; robot satırlarında çalışmanın ilk mesajında 28 px avatar) */
.lunaev-chat__log { position: relative; flex: 1 1 auto; display: flex; flex-direction: column; gap: 4px; padding: 16px 14px; overflow-y: auto; overscroll-behavior: contain; background: var(--lunaev-surface, #f3f3f3); }
.lunaev-chat__log > * { flex-shrink: 0; }
.lunaev-chat__row { display: flex; align-items: flex-start; gap: 8px; min-width: 0; }
.lunaev-chat__row.is-first:not(:first-child) { margin-top: 12px; }
.lunaev-chat__row--user { justify-content: flex-end; }
.lunaev-chat__row-side { flex: 0 0 28px; width: 28px; }
.lunaev-chat__row-avatar { width: 28px; height: 28px; font-size: 12px; }
.lunaev-chat__row-body { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; flex: 1 1 auto; min-width: 0; }
.lunaev-chat__msg { max-width: 86%; padding: 10px 14px; border-radius: 16px; overflow-wrap: anywhere; }
.lunaev-chat__row-body > .lunaev-chat__msg { max-width: 94%; }
.lunaev-chat__msg p { margin: 0; }
.lunaev-chat__msg p + p { margin-top: .6em; }
.lunaev-chat__msg--bot { border: 1px solid var(--lunaev-border, #e6e6e6); border-radius: 16px 16px 16px 4px; background: var(--lunaev-bg, #fff); }
.lunaev-chat__msg--user { align-self: flex-end; border-radius: 16px 16px 4px 16px; background: var(--lunaev-secondary, #121212); color: #fff; }
.lunaev-chat__msg--error { border: 1px solid var(--lunaev-danger, #c0392b); border-radius: 16px 16px 16px 4px; background: var(--lunaev-bg, #fff); color: var(--lunaev-danger, #c0392b); }
.lunaev-chat__msg a { color: var(--lunaev-link, #b15603); text-decoration: underline; text-underline-offset: 2px; }
.lunaev-chat__msg--user a { color: inherit; }
.lunaev-chat__ai-note { max-width: 94%; margin: 0; font-size: 12px; line-height: 1.45; color: #555; }
.lunaev-chat__typing { display: inline-flex; gap: 4px; padding: 12px 14px; border: 1px solid var(--lunaev-border, #e6e6e6); border-radius: 16px 16px 16px 4px; background: var(--lunaev-bg, #fff); }
.lunaev-chat__dot { width: 7px; height: 7px; border-radius: 50%; background: var(--lunaev-muted, #727272); animation: lunaev-blink 1.2s infinite ease-in-out; }
.lunaev-chat__dot:nth-child(2) { animation-delay: .2s; }
.lunaev-chat__dot:nth-child(3) { animation-delay: .4s; }
@keyframes lunaev-blink { 0%, 80%, 100% { opacity: .25; } 40% { opacity: 1; } }
.lunaev-chat__products { display: flex; gap: 8px; align-self: stretch; margin: 0; padding: 2px 0 6px; list-style: none; overflow-x: auto; scroll-snap-type: x mandatory; }
.lunaev-chat__product { flex: 0 0 148px; display: flex; flex-direction: column; border: 1px solid var(--lunaev-border, #e6e6e6); border-radius: var(--lunaev-radius, 8px); background: var(--lunaev-bg, #fff); overflow: hidden; scroll-snap-align: start; font-size: 12px; }
.lunaev-chat__product-media { display: block; aspect-ratio: 1 / 1; background: var(--lunaev-bg, #fff); }
.lunaev-chat__product-media:empty { background: var(--lunaev-surface, #f3f3f3); }
.lunaev-chat__product-img { display: block; width: 100%; height: 100%; object-fit: contain; }
.lunaev-chat__product-body { display: flex; flex-direction: column; gap: 3px; flex: 1 1 auto; padding: 8px; }
.lunaev-chat__product-brand { color: var(--lunaev-muted-text, #6f6f6f); font-size: 11px; }
.lunaev-chat__product-name { font-weight: 600; line-height: 1.35; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.lunaev-chat__product-price { color: var(--lunaev-link, #b15603); font-weight: 700; font-size: 13px; }
.lunaev-chat__product-price del { color: var(--lunaev-muted-text, #6f6f6f); font-weight: 400; font-size: 11px; }
.lunaev-chat__product-price ins { color: var(--lunaev-accent-text, #de0f0f); text-decoration: none; }
.lunaev-chat__product-stock.is-out { color: var(--lunaev-danger, #c0392b); font-size: 11px; }
.lunaev-chat__product-link { margin-top: auto; display: block; padding: 6px 8px; border-radius: 6px; background: var(--lunaev-primary, #f67704); color: var(--lunaev-on-primary, #121212); font-weight: 700; text-align: center; text-decoration: none; }
.lunaev-chat__product-link:hover, .lunaev-chat__product-link:focus-visible { background: var(--lunaev-primary-dark, #d36603); color: var(--lunaev-on-primary, #121212); }
.lunaev-chat__actions { display: flex; flex-wrap: wrap; gap: 6px; }
.lunaev-chat__action { display: inline-flex; align-items: center; min-height: 36px; box-sizing: border-box; padding: 6px 14px; border: 1px solid var(--lunaev-secondary, #121212); border-radius: var(--lunaev-radius-pill, 40px); background: var(--lunaev-bg, #fff); color: var(--lunaev-secondary, #121212); font-size: 12px; font-weight: 600; text-decoration: none; }
/* WhatsApp yeşili (#25d366) beyaz yazıyla 2.0:1 → koyu yazı (9.5:1); dolgu marka yeşilinde kalır. */
.lunaev-chat__action--whatsapp { border-color: var(--lunaev-whatsapp, #25d366); background: var(--lunaev-whatsapp, #25d366); color: var(--lunaev-on-whatsapp, #121212); }
.lunaev-chat__action--tracking { border-color: var(--lunaev-primary, #f67704); background: var(--lunaev-primary, #f67704); color: var(--lunaev-on-primary, #121212); }
.lunaev-chat__action:hover { text-decoration: none; filter: brightness(.95); }

/* Öneri çipleri (karşılamanın altında ve balonda; ilk mesajdan sonra gizlenir) */
.lunaev-chat__quick { display: flex; flex-wrap: wrap; align-self: stretch; gap: 8px; margin-top: 2px; }
.lunaev-chat__chip { min-height: 36px; box-sizing: border-box; padding: 7px 14px; border: 1px solid var(--lunaev-primary, #f67704); border-radius: var(--lunaev-radius-pill, 40px); background: var(--lunaev-bg, #fff); color: var(--lunaev-text, #121212); font: inherit; font-size: 13px; font-weight: 600; line-height: 1.3; text-align: left; cursor: pointer; transition: background .2s, border-color .2s; }
.lunaev-chat__chip:hover { background: var(--lunaev-primary-soft, #fff1e3); }
.lunaev-chat__teaser-chips .lunaev-chat__chip { min-height: 32px; padding: 5px 12px; font-size: 12px; }

/* Yazma alanı ve alt satır */
.lunaev-chat__form { display: flex; align-items: flex-end; gap: 8px; padding: 10px 12px; background: var(--lunaev-bg, #fff); border-top: 1px solid var(--lunaev-border, #e6e6e6); }
.lunaev-chat__input { box-sizing: border-box; flex: 1 1 auto; height: 42px; min-height: 42px; max-height: 120px; padding: 10px 14px; border: 1px solid var(--lunaev-field-border, #8a8a8a); border-radius: 21px; background: var(--lunaev-surface, #f3f3f3); color: inherit; font: inherit; font-size: 14px; line-height: 20px; resize: none; }
.lunaev-chat__input:focus { border-color: var(--lunaev-link, #b15603); outline: none; background: var(--lunaev-bg, #fff); }
.lunaev-chat__send { display: inline-flex; align-items: center; justify-content: center; flex: 0 0 auto; width: 42px; height: 42px; padding: 0; border: 0; border-radius: 50%; background: var(--lunaev-primary, #f67704); color: var(--lunaev-on-primary, #121212); cursor: pointer; }
.lunaev-chat__send:disabled { opacity: .5; cursor: progress; }
.lunaev-chat__send:not(:disabled):hover { background: var(--lunaev-primary-dark, #d36603); }
.lunaev-chat__foot { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 0 12px 10px; background: var(--lunaev-bg, #fff); }
.lunaev-chat__powered { margin: 0; font-size: 11px; line-height: 1.4; color: var(--lunaev-muted-text, #6f6f6f); }
.lunaev-chat__ticket { display: grid; gap: 8px; max-width: 94%; box-sizing: border-box; margin: 2px 0 0; padding: 12px; border: 1px solid var(--lunaev-border, #e5e5e5); border-radius: 12px; background: var(--lunaev-bg, #fff); }
.lunaev-chat__ticket-title { font-size: 14px; }
.lunaev-chat__ticket-field { display: grid; gap: 4px; margin: 0; font-size: 12px; }
.lunaev-chat__ticket-field label { font-weight: 600; color: var(--lunaev-text, #121212); }
.lunaev-chat__ticket-input { width: 100%; box-sizing: border-box; min-height: 40px; padding: 8px 10px; border: 1px solid var(--lunaev-field-border, #8a8a8a); border-radius: 8px; background: var(--lunaev-bg, #fff); color: var(--lunaev-text, #121212); font: inherit; font-size: 16px; }
textarea.lunaev-chat__ticket-input { resize: vertical; min-height: 64px; }
.lunaev-chat__ticket-trap { position: absolute !important; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.lunaev-chat__ticket-status { margin: 0; font-size: 12px; color: #b32d2e; }
.lunaev-chat__ticket-status:empty { display: none; }
.lunaev-chat__ticket-send { min-height: 40px; padding: 8px 16px; border: 0; border-radius: var(--lunaev-radius-pill, 40px); background: var(--lunaev-primary, #f67704); color: var(--lunaev-on-primary, #121212); font-weight: 700; cursor: pointer; }
.lunaev-chat__ticket-send:disabled { opacity: .6; cursor: progress; }
.lunaev-chat__ticket-note { margin: 0; font-size: 11px; line-height: 1.4; color: var(--lunaev-muted-text, #6f6f6f); }
.lunaev-chat__privacy { color: inherit; text-decoration: underline; }
.lunaev-chat__clear { display: inline-flex; align-items: center; gap: 4px; flex: 0 0 auto; min-height: 28px; padding: 4px 6px; border: 0; border-radius: 6px; background: transparent; color: var(--lunaev-muted-text, #6f6f6f); font: inherit; font-size: 11px; cursor: pointer; }
.lunaev-chat__clear .lunaev-chat__icon { width: 14px; height: 14px; }
.lunaev-chat__clear:hover { color: var(--lunaev-text, #121212); background: var(--lunaev-surface, #f3f3f3); }

/* Mobil: düğme 54 px, panel tam ekran (100dvh, güvenli alan), açıkken düğme ve balon gizli, sayfa kaymaz */
@media (max-width: 600px) {
	.lunaev-chat { --lunaev-chat-gap: 16px; --lunaev-chat-size: 54px; }
	.lunaev-chat__launcher { height: 46px; padding: 0 18px 0 14px; }
	.lunaev-chat--round .lunaev-chat__launcher { height: var(--lunaev-chat-size); padding: 0; }
	.lunaev-chat.is-open .lunaev-chat__launcher, .lunaev-chat.is-open .lunaev-chat__teaser { display: none; }
	/* Kompakt balon: 240 px, 14 px metin, tek çip, sıkı iç boşluk (390 px ekranda ~240×130 px); "Yapay zekâ" etiketi kalır. */
	.lunaev-chat__teaser { width: 240px; padding: 10px 36px 10px 12px; }
	.lunaev-chat__teaser-avatar { width: 24px; height: 24px; font-size: 11px; }
	.lunaev-chat__teaser .lunaev-chat__ai-badge { height: 18px; padding: 0 6px; font-size: 10px; }
	.lunaev-chat__teaser-text { margin-top: 6px; font-size: 14px; line-height: 1.4; }
	.lunaev-chat__teaser-chips { margin-top: 8px; }
	.lunaev-chat__teaser-chips .lunaev-chat__chip:nth-child(n+2) { display: none; }
	.lunaev-chat__teaser-chips .lunaev-chat__chip { max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
	.lunaev-chat__teaser-close { top: 4px; right: 4px; width: 32px; height: 32px; }
	.lunaev-chat__panel, .lunaev-chat--round .lunaev-chat__panel, .lunaev-chat--left .lunaev-chat__panel { position: fixed; top: 0; right: 0; bottom: 0; left: 0; width: auto; max-width: none; height: 100vh; height: 100dvh; max-height: none; border: 0; border-radius: 0; animation-name: lunaev-chat-up; }
	.lunaev-chat__head { padding-top: calc(10px + env(safe-area-inset-top, 0px)); padding-left: calc(14px + env(safe-area-inset-left, 0px)); padding-right: calc(8px + env(safe-area-inset-right, 0px)); }
	.lunaev-chat__foot { padding-bottom: calc(10px + env(safe-area-inset-bottom, 0px)); }
	.lunaev-chat__input { font-size: 16px; } /* iOS odakta yakınlaştırmasın */
	body.lunaev-chat-open { overflow: hidden; }
}
@keyframes lunaev-chat-up { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }

/* ---------- Sözleşme penceresi (ödeme: Ön Bilgilendirme Formu / Mesafeli Satış Sözleşmesi) ----------
   Yerel <dialog> üst katmanda açılır (görünüm için z-index gerekmez). Metin en az 16 px (Mesafeli Sözleşmeler Yönetmeliği
   md. 6: en az 12 punto). Telefonda tam ekran; başlık ve düğmeler sabit, metin kayar.
   3.5: z-index yalnızca erişilebilirlik denetleyicileri için: axe / WebYes üst katmanı bilmez, z-index'li başlık ve
   bildirimleri pencerenin üstünde sanıp başlığın kontrastını "elle incelenmeli" diye işaretliyordu. */
html.lunaev-doc-open { overflow: hidden; }
.lunaev-doc { z-index: 2147483000; width: min(760px, calc(100% - 32px)); max-width: none; max-height: min(88vh, 960px); margin: auto; padding: 0; border: 0; border-radius: var(--lunaev-radius, 8px); background: var(--lunaev-bg, #fff); color: var(--lunaev-text, #121212); box-shadow: 0 24px 64px rgba(0, 0, 0, .28); font: 16px/1.65 var(--lunaev-font, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif); overflow: hidden; }
.lunaev-doc::backdrop { background: rgba(18, 18, 18, .6); }
.lunaev-doc[open] { display: flex; }
.lunaev-doc__inner { display: flex; flex-direction: column; width: 100%; max-height: inherit; min-height: 0; }
.lunaev-doc__head { display: flex; align-items: center; gap: 12px; padding: 12px 8px 12px 20px; border-bottom: 1px solid var(--lunaev-border, #e6e6e6); }
.lunaev-doc__title { flex: 1 1 auto; margin: 0; color: var(--lunaev-secondary, #121212); font-size: 18px; font-weight: 700; line-height: 1.35; }
.lunaev-doc__title:focus { outline: none; }
.lunaev-doc__x { display: inline-flex; align-items: center; justify-content: center; flex: 0 0 auto; width: 44px; height: 44px; padding: 0; border: 0; border-radius: 50%; background: transparent; color: inherit; cursor: pointer; }
.lunaev-doc__x:hover { background: var(--lunaev-surface, #f3f3f3); }
.lunaev-doc__body { flex: 1 1 auto; min-height: 0; padding: 18px 20px 24px; overflow-y: auto; overscroll-behavior: contain; -webkit-overflow-scrolling: touch; overflow-wrap: anywhere; }
.lunaev-doc__body > :first-child, .lunaev-doc__body .lunaev-contract-doc > :first-child { margin-top: 0; }
.lunaev-doc__body p, .lunaev-doc__body ul, .lunaev-doc__body ol { margin: 0 0 .8em; }
.lunaev-doc__body ul, .lunaev-doc__body ol { padding-left: 1.3em; }
.lunaev-doc__body h2, .lunaev-doc__body h3, .lunaev-doc__body h4, .lunaev-doc__body h5, .lunaev-doc__body h6 { margin: 1.3em 0 .45em; color: var(--lunaev-secondary, #121212); font-size: 17px; line-height: 1.4; }
.lunaev-doc__body h4, .lunaev-doc__body h5, .lunaev-doc__body h6 { font-size: 16px; }
.lunaev-doc__body a { color: var(--lunaev-link, #b15603); text-decoration: underline; text-underline-offset: 2px; }
.lunaev-doc__body table { width: 100%; margin: 0 0 12px; border-collapse: collapse; font-size: 15px; }
.lunaev-doc__body th, .lunaev-doc__body td { padding: 6px 8px; border: 1px solid var(--lunaev-border, #e6e6e6); text-align: left; vertical-align: top; }
.lunaev-doc__body small { font-size: 14px; color: var(--lunaev-muted-text, #6f6f6f); }
.lunaev-doc__status { color: var(--lunaev-muted-text, #6f6f6f); }
.lunaev-contract-order { margin: 0 0 20px; padding: 14px 16px; border: 1px solid var(--lunaev-border, #e6e6e6); border-radius: var(--lunaev-radius, 8px); background: var(--lunaev-surface, #f3f3f3); }
.lunaev-contract-order table { background: var(--lunaev-bg, #fff); }
.lunaev-doc__foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-end; gap: 8px 10px; padding: 12px 16px; border-top: 1px solid var(--lunaev-border, #e6e6e6); background: var(--lunaev-surface, #f3f3f3); }
.lunaev-doc__page { margin-right: auto; color: var(--lunaev-link, #b15603); font-size: 15px; text-decoration: underline; }
.lunaev-doc__btn { display: inline-flex; align-items: center; justify-content: center; min-width: 110px; min-height: 44px; padding: 0 18px; border: 1px solid var(--lunaev-primary, #f67704); border-radius: var(--lunaev-radius, 8px); background: var(--lunaev-primary, #f67704); color: var(--lunaev-on-primary, #121212); font: inherit; font-weight: 600; cursor: pointer; }
.lunaev-doc__btn:hover { background: var(--lunaev-primary-dark, #d36603); border-color: var(--lunaev-primary-dark, #d36603); color: var(--lunaev-on-primary, #121212); }
.lunaev-doc__btn--ghost, .lunaev-doc__btn--ghost:hover { background: var(--lunaev-bg, #fff); color: var(--lunaev-text, #121212); border-color: var(--lunaev-border, #e6e6e6); }
.lunaev-doc__btn--ghost:hover { border-color: var(--lunaev-text, #121212); }
.lunaev-doc__x:focus-visible, .lunaev-doc__btn:focus-visible, .lunaev-doc__page:focus-visible, .lunaev-doc__body a:focus-visible, .lunaev-doc__title:focus-visible { outline: 2px solid var(--lunaev-link, #b15603); outline-offset: 2px; }
.lunaev-doc__body:focus-visible { outline: 2px solid var(--lunaev-link, #b15603); outline-offset: -2px; }
@media (prefers-reduced-motion: no-preference) {
	.lunaev-doc[open] { animation: lunaev-doc-in .18s ease-out; }
}
@keyframes lunaev-doc-in { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
@media (max-width: 600px) {
	.lunaev-doc { width: 100%; height: 100%; height: 100dvh; max-height: none; margin: 0; border-radius: 0; inset: 0; }
	.lunaev-doc__head { padding-top: calc(8px + env(safe-area-inset-top, 0px)); padding-left: calc(16px + env(safe-area-inset-left, 0px)); padding-right: calc(4px + env(safe-area-inset-right, 0px)); }
	.lunaev-doc__body { padding: 16px; }
	.lunaev-contract-order { padding: 12px; }
	.lunaev-doc__body table { font-size: 14px; }
	.lunaev-doc__foot { padding-bottom: calc(12px + env(safe-area-inset-bottom, 0px)); }
	.lunaev-doc__page { flex: 1 1 100%; margin: 0 0 2px; }
	.lunaev-doc__btn { flex: 1 1 0; min-width: 0; }
}

/* Blok ödeme: KVKK aydınlatma notu onay kutusunun altında, kutunun dışında (onay istemez). */
.lunaev-kvkk-note { margin: 8px 0 16px; color: var(--lunaev-muted-text, #6f6f6f); font-size: 14px; line-height: 1.5; }
.lunaev-kvkk-note a { color: var(--lunaev-link, #b15603); text-decoration: underline; text-underline-offset: 2px; }

/* Blok ödeme: "Ödeme yükümlülüğüyle siparişi onayla" dar ekranda (360 px) iki satıra inebilir, kesilmez. */
.wc-block-components-checkout-place-order-button .wc-block-components-button__text { white-space: normal; line-height: 1.3; text-align: center; }

/* Hesabım → sipariş ayrıntısı: sipariş anında kaydedilen sözleşmeler. */
.lunaev-contracts { margin: 24px 0; }
.lunaev-contracts__doc { margin: 0 0 8px; border: 1px solid var(--lunaev-border, #e6e6e6); border-radius: var(--lunaev-radius, 8px); background: var(--lunaev-bg, #fff); }
.lunaev-contracts__doc > summary { padding: 12px 16px; font-weight: 600; cursor: pointer; }
.lunaev-contracts__body { max-height: 70vh; padding: 4px 16px 16px; overflow: auto; font-size: 16px; line-height: 1.65; }
.lunaev-contracts__body:focus-visible { outline: 2px solid var(--lunaev-link, #b15603); outline-offset: -2px; }
.lunaev-contracts__body table { width: 100%; border-collapse: collapse; }

/* Telefonda blok sepetin sabit "Ödemeye geç" çubuğu (WooCommerce, ≤782 px) açıkken yüzen düğmeler çubuğun üstüne çıkar. */
@media (max-width: 782px) {
	body:has(.wc-block-cart__submit-container--sticky) .lunaev-chat { bottom: calc(100px + env(safe-area-inset-bottom, 0px)); }
	body:has(.wc-block-cart__submit-container--sticky) .lunaev-whatsapp { bottom: 100px; }
	body.lunaev-has-chat:has(.wc-block-cart__submit-container--sticky):not(.lunaev-chat-left) .lunaev-whatsapp { bottom: 164px; }
}

/* ---------- Odak ve hareket ---------- */
.lunaev-share__btn:focus-visible, .lunaev-social__link:focus-visible, .lunaev-whatsapp:focus-visible, .lunaev-marketplaces__link:focus-visible, .lunaev-stores__link:focus-visible,
.lunaev-legal__list a:focus-visible, .lunaev-tracking__link:focus-visible, .lunaev-contact__submit:focus-visible, .lunaev-newsletter__button:focus-visible, .lunaev-toast__close:focus-visible,
.lunaev-chat__launcher:focus-visible, .lunaev-chat__head-btn:focus-visible, .lunaev-chat__clear:focus-visible, .lunaev-chat__send:focus-visible, .lunaev-chat__chip:focus-visible,
.lunaev-chat__teaser-main:focus-visible, .lunaev-chat__teaser-close:focus-visible, .lunaev-chat__privacy:focus-visible,
.lunaev-chat__ticket-input:focus-visible, .lunaev-chat__ticket-send:focus-visible, .lunaev-chat__product-link:focus-visible, .lunaev-chat__action:focus-visible, .lunaev-chat__msg a:focus-visible, .lunaev-chat__log:focus-visible, .lunaev-chat__input:focus-visible,
.lunaev-contact__status:focus-visible { outline: 2px solid var(--lunaev-link, #b15603); outline-offset: 2px; }
.lunaev-chat__head .lunaev-chat__head-btn:focus-visible { outline-color: #fff; outline-offset: -2px; }
.lunaev-chat__teaser-main:focus-visible { outline-offset: 4px; border-radius: 8px; }
@media (prefers-reduced-motion: reduce) {
	[class^="lunaev-"], [class*=" lunaev-"], [class^="lunaev-"] *, [class*=" lunaev-"] * { transition: none !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; scroll-behavior: auto !important; }
	/* Sohbet: hareket yok, yalnızca kısa solma. */
	.lunaev-chat__teaser { transform: none !important; transition: opacity .1s linear !important; }
	.lunaev-chat__launcher:hover { transform: none; }
	.lunaev-chat__dot { animation: none !important; opacity: .6; }
}
@media print {
	.lunaev-chat, .lunaev-whatsapp, .lunaev-contact { display: none !important; }
	/* Sözleşme penceresinde "Yazdır": yalnızca belge basılır. */
	html.lunaev-doc-printing body > :not(.lunaev-doc) { display: none !important; }
	html.lunaev-doc-printing .lunaev-doc { position: static; display: block; width: auto; height: auto; max-height: none; margin: 0; border: 0; box-shadow: none; overflow: visible; }
	html.lunaev-doc-printing .lunaev-doc__inner { display: block; max-height: none; }
	html.lunaev-doc-printing .lunaev-doc::backdrop { display: none; }
	html.lunaev-doc-printing .lunaev-doc__x, html.lunaev-doc-printing .lunaev-doc__foot { display: none !important; }
	html.lunaev-doc-printing .lunaev-doc__body { overflow: visible; padding: 0; font-size: 12pt; }
	html.lunaev-doc-open { overflow: visible; }
}

/* 3.5: sözleşmelerde siparişte otomatik dolan alanlar (yayımlanan sayfada açıklama metni), ödeme adımı yardım satırı */
.lunaev-order-field em { color: var(--lunaev-muted-text, #6f6f6f); }
.lunaev-order-field--block { margin: 0 0 1em; padding: 10px 14px; border-left: 3px solid var(--lunaev-border, #e6e6e6); background: var(--lunaev-surface, #f3f3f3); }
.lunaev-order-field--block p { margin: 0; }
.lunaev-contract-table { width: 100%; margin: 0 0 12px; border-collapse: collapse; }
.lunaev-contract-table th, .lunaev-contract-table td { padding: 6px 8px; border: 1px solid var(--lunaev-border, #e6e6e6); text-align: left; vertical-align: top; }
.lunaev-contract-table--totals td { text-align: right; white-space: nowrap; }
/* 3.5 (WCAG 1.4.10): ürün tablosunun tutar başlıkları ("Satış bedeli (KDV dâhil, TL)") e-posta için satır içi nowrap taşır;
   sayfada ve pencerede kırılsın ki tablo telefonda (390 px'te 561 px idi) yana kaymasın. Tutar hücreleri tek satır kalır. */
.lunaev-contract-table--items th { white-space: normal !important; }
/* 3.5 (WCAG 1.4.10): yasal sayfalardaki tablolarda uzun sözcükler (çerez adları, sağlayıcı adları) hücrede kırılır; Çerez
   Politikası tablosu 390 px'te sayfayı 139 px, KVKK yurt dışı aktarım tablosu 42 px yana taşırıyordu (sınıf: inc/legal.php). */
.lunaev-legal-page table th, .lunaev-legal-page table td { overflow-wrap: anywhere; }
.lunaev-contract-consent { margin-top: 1.2em; }
.lunaev-field-help { margin: 4px 0 12px; font-size: 14px; line-height: 1.45; color: var(--lunaev-muted-text, #6f6f6f); }

/* 3.5: ürün sayfasında ücretsiz kargo durumu */
.lunaev-fsb--product { margin: 12px 0 0; padding: 10px 14px; font-size: .9375rem; }
.lunaev-fsb--product .lunaev-fsb__track[hidden] { display: none; }

/* 3.5: iade / cayma talep formu */
.lunaev-return { margin: 2em 0 0; padding: 18px 20px; border: 1px solid var(--lunaev-border, #e6e6e6); border-radius: var(--lunaev-radius, 8px); background: var(--lunaev-bg, #fff); }
.lunaev-return h2 { margin-top: 0; }
.lunaev-return__row { margin: 0 0 12px; }
.lunaev-return__row label { display: block; margin: 0 0 4px; font-weight: 600; }
.lunaev-return__row input[type="text"], .lunaev-return__row input[type="email"], .lunaev-return__row select, .lunaev-return__row textarea { width: 100%; max-width: 520px; min-height: 44px; padding: 8px 10px; font-size: 16px; }
.lunaev-return__items label { display: flex; gap: 8px; align-items: center; margin: 0 0 6px; font-weight: 400; }
.lunaev-return__items input[type="number"] { width: 72px; min-height: 40px; }
.lunaev-return__hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.lunaev-return__status { margin: 10px 0 0; font-weight: 600; }
.lunaev-return__status--error { color: var(--lunaev-danger, #c0392b); }
.lunaev-return__status--ok { color: var(--lunaev-success-text, #1b7e50); }
.lunaev-return__note { font-size: 14px; color: var(--lunaev-muted-text, #6f6f6f); }
.lunaev-return [hidden] { display: none !important; }

/* 3.5: AccessiYes simgesi sağ altta — sağdaki sohbet ve WhatsApp düğmeleri 64px yukarıda durur (tema kendi değişkeniyle ezer). */
body.lunaev-has-accessiyes .lunaev-chat:not(.lunaev-chat--left) { bottom: calc(84px + env(safe-area-inset-bottom, 0px)); }
body.lunaev-has-accessiyes:not(.lunaev-has-chat) .lunaev-whatsapp { bottom: 84px; }
body.lunaev-has-accessiyes.lunaev-has-chat:not(.lunaev-chat-left) .lunaev-whatsapp { bottom: 148px; }
