/*
 * Hostum Eklentiler — form ve popup için sade varsayılan görünüm.
 * Bütün seçiciler :where() içinde (özgüllük 0): tema kendi stilini kolayca yazar.
 * Renkler tema değişkenleriyle değiştirilebilir: --hostum-acc, --hostum-ink, --hostum-bg, --hostum-radius
 */
:root{--hostum-acc:#2563eb;--hostum-ink:#1f2937;--hostum-bg:#ffffff;--hostum-line:rgba(127,127,127,.35);--hostum-radius:10px}
:where(.hostum-hp){position:absolute!important;left:-9999px!important;width:1px;height:1px;overflow:hidden}
:where(.hostum-form){display:grid;gap:14px;max-width:760px}
:where(.hostum-form) :where(h2,h3){margin:0 0 4px}
:where(.hostum-form label){display:grid;gap:6px;font-size:14px;font-weight:600}
:where(.hostum-form label small){font-weight:400;opacity:.7}
:where(.hostum-form) :where(input[type=text],input[type=email],input[type=tel],textarea){box-sizing:border-box;width:100%;border:1px solid var(--hostum-line);border-radius:var(--hostum-radius);background:transparent;color:inherit;font:inherit;font-weight:400;padding:11px 13px}
:where(.hostum-form) :where(input,textarea):focus{outline:2px solid var(--hostum-acc);outline-offset:1px}
:where(.hostum-form textarea){resize:vertical;min-height:110px}
:where(.hostum-row2){display:grid;grid-template-columns:1fr 1fr;gap:14px}
@media(max-width:640px){:where(.hostum-row2){grid-template-columns:1fr}}
:where(.hostum-form .hostum-check){display:flex;align-items:flex-start;gap:10px;font-weight:400;font-size:13.5px}
:where(.hostum-check input){margin-top:3px;accent-color:var(--hostum-acc)}
:where(.hostum-formfoot){display:flex;align-items:center;gap:16px;flex-wrap:wrap}
:where(.hostum-btn){display:inline-flex;align-items:center;gap:8px;border:0;border-radius:var(--hostum-radius);background:var(--hostum-acc);color:#fff;font:inherit;font-weight:600;padding:12px 24px;cursor:pointer}
:where(.hostum-btn:disabled){opacity:.6;cursor:wait}
:where(.hostum-form-status){margin:0;font-size:14px;font-weight:600}
:where(.hostum-form-status.is-ok){color:#15803d}
:where(.hostum-form-status.is-err){color:#c2271f}
:where(.hostum-form-off){margin:0}

:where(.hostum-popup){position:fixed;inset:0;z-index:99999;display:grid;place-items:center;padding:16px;background:rgba(15,23,36,.6);opacity:0;transition:opacity .35s}
:where(.hostum-popup.is-open){opacity:1}
:where(.hostum-popup-card){position:relative;width:min(460px,100%);max-height:calc(100vh - 32px);overflow:auto;background:var(--hostum-bg);color:var(--hostum-ink);border-radius:calc(var(--hostum-radius) + 6px);box-shadow:0 20px 60px rgba(0,0,0,.33);transform:translateY(12px) scale(.98);transition:transform .35s}
:where(.hostum-popup.is-open .hostum-popup-card){transform:none}
:where(.hostum-popup-img){display:block;width:100%;max-height:240px;object-fit:cover}
:where(.hostum-popup-body){padding:24px 48px 26px;text-align:center}
:where(.hostum-popup-body h2){margin:0 0 8px;font-size:24px;line-height:1.25;color:inherit}
:where(.hostum-popup-text>:last-child){margin-bottom:0}
:where(.hostum-popup-x){position:absolute;top:10px;right:10px;width:34px;height:34px;border:0;border-radius:50%;background:rgba(255,255,255,.9);color:var(--hostum-ink);font-size:22px;line-height:1;box-shadow:0 1px 6px rgba(0,0,0,.13);cursor:pointer}
[dir=rtl] :where(.hostum-popup-x){right:auto;left:10px}
:where(.hostum-popup-bar){height:4px;background:var(--hostum-acc);transform-origin:left;animation:hostum-bar linear forwards}
@keyframes hostum-bar{from{transform:scaleX(1)}to{transform:scaleX(0)}}
:where(.hostum-account) a+a{margin-inline-start:10px}
