/* Ortak satış bileşenleri. Konseptler --lw-* değişkenlerini kendi renkleriyle ezer. */
:root {
  --lw-ink: #141414; --lw-paper: #fff; --lw-soft: #f1f1ee; --lw-line: rgba(0, 0, 0, .14);
  --lw-accent: #1A7A80; --lw-on-accent: #fff; --lw-wa: #25D366;
  --lw-font: system-ui, sans-serif; --lw-disp: var(--lw-font); --lw-disp-w: 500; --lw-r: 12px;
}

/* Form */
.lf { font-family: var(--lw-font); color: var(--lw-ink); }
.lf__top { display: flex; align-items: center; gap: 14px; margin-bottom: 22px; }
.lf__count { flex: none; font: 600 12.5px/1 var(--lw-font); letter-spacing: .02em; opacity: .6; }
.lf__bar { position: relative; flex: 1; height: 3px; border-radius: 3px; background: var(--lw-line); overflow: hidden; }
.lf__bar i { position: absolute; inset: 0 auto 0 0; width: 25%; background: var(--lw-accent); border-radius: 3px; transition: width .5s cubic-bezier(.2,.7,0,1); }
.lf__step { border: 0; margin: 0; padding: 0; min-width: 0; }
.lf__q { display: block; padding: 0; margin: 0 0 18px; font: var(--lw-disp-w) clamp(22px, 2.1vw, 28px)/1.15 var(--lw-disp); letter-spacing: -.01em; }
.lf__opts { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 10px; }
.lf__opt { display: flex; align-items: center; gap: 12px; min-height: 60px; padding: 14px 16px; border: 0; border-radius: var(--lw-r); background: var(--lw-soft); color: inherit; font: 500 15.5px/1.25 var(--lw-font); text-align: left; cursor: pointer; box-shadow: inset 0 0 0 1px transparent; transition: background .2s, box-shadow .2s, transform .2s; }
.lf__opt:hover { box-shadow: inset 0 0 0 1px var(--lw-ink); }
.lf__opt.is-on { background: var(--lw-accent); color: var(--lw-on-accent); }
.lf__opt:active { transform: scale(.98); }
.lf__opts--icons .lf__opt { flex-direction: column; align-items: flex-start; gap: 10px; }
.lf__back { margin-top: 16px; padding: 8px 0; border: 0; background: none; color: inherit; font: 500 14px var(--lw-font); opacity: .65; cursor: pointer; text-decoration: underline; text-underline-offset: 4px; }
.lf__back:hover { opacity: 1; }
.lf__f { display: block; margin-bottom: 12px; }
.lf__f span { display: block; margin-bottom: 6px; font: 600 13px var(--lw-font); opacity: .75; }
.lf__f input { width: 100%; height: 54px; padding: 0 16px; border: 0; border-radius: var(--lw-r); background: var(--lw-soft); color: inherit; font: 500 16px var(--lw-font); box-shadow: inset 0 0 0 1px transparent; transition: box-shadow .2s; }
.lf__f input:focus { outline: none; box-shadow: inset 0 0 0 1.5px var(--lw-accent); }
.lf__pref { display: flex; gap: 8px; margin: 4px 0 14px; }
.lf__pref label { flex: 1; position: relative; cursor: pointer; }
.lf__pref input { position: absolute; opacity: 0; }
.lf__pref span { display: block; padding: 12px; border-radius: var(--lw-r); text-align: center; font: 600 14px var(--lw-font); box-shadow: inset 0 0 0 1px var(--lw-line); transition: background .2s, color .2s; }
.lf__pref input:checked + span { background: var(--lw-ink); color: var(--lw-paper); box-shadow: none; }
.lf__pref input:focus-visible + span { outline: 2px solid var(--lw-accent); outline-offset: 2px; }
.lf__kvkk { display: flex; gap: 10px; align-items: flex-start; font: 400 13px/1.45 var(--lw-font); opacity: .85; cursor: pointer; }
.lf__kvkk input { flex: none; width: 18px; height: 18px; margin: 1px 0 0; accent-color: var(--lw-accent); }
.lf__more { border: 0; padding: 0; background: none; color: inherit; font: inherit; text-decoration: underline; cursor: pointer; }
.lf__kvkk-text { margin: 8px 0 0 28px; font: 400 12.5px/1.5 var(--lw-font); opacity: .7; }
.lf__err { min-height: 1.4em; margin: 10px 0 0; font: 600 13.5px var(--lw-font); color: #B3261E; }
.lf__row { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 6px; }
.lf__row .lf__back { margin: 0; }
.lf__send { height: 54px; padding: 0 26px; border: 0; border-radius: 999px; background: var(--lw-accent); color: var(--lw-on-accent); font: 700 15.5px var(--lw-font); cursor: pointer; transition: transform .2s, filter .2s; }
.lf__send:hover { filter: brightness(1.08); transform: translateY(-1px); }
.lf__done p { margin: 0 0 18px; font: 400 15.5px/1.55 var(--lw-font); }
.lf__done .lf__q { margin-bottom: 10px; }
.lf__tick { display: block; width: 46px; height: 46px; margin-bottom: 18px; border-radius: 50%; background: var(--lw-accent); position: relative; }
.lf__tick::after { content: ""; position: absolute; left: 16px; top: 12px; width: 10px; height: 18px; border: solid var(--lw-on-accent); border-width: 0 2.5px 2.5px 0; transform: rotate(45deg); }
.lf__wa { display: inline-flex; align-items: center; gap: 10px; height: 52px; padding: 0 22px; border-radius: 999px; background: var(--lw-wa); color: #fff; text-decoration: none; font: 700 15px var(--lw-font); }
.lf__wa svg { width: 20px; height: 20px; }

/* Başvuru penceresi */
html.lm-lock { overflow: hidden; }
.lm { position: fixed; inset: 0; z-index: 120; display: grid; place-items: center; padding: 20px; }
.lm[hidden] { display: none; }
.lm__scrim { position: absolute; inset: 0; background: rgba(10, 12, 12, .55); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); opacity: 0; transition: opacity .3s; }
.lm__card { position: relative; width: min(560px, 100%); max-height: calc(100svh - 40px); overflow: auto; padding: clamp(24px, 3.4vw, 40px); border-radius: calc(var(--lw-r) + 6px); background: var(--lw-paper); color: var(--lw-ink); box-shadow: 0 40px 100px -20px rgba(0, 0, 0, .45); transform: translateY(18px) scale(.98); opacity: 0; transition: transform .45s cubic-bezier(.2,.7,0,1), opacity .3s; }
.lm.is-open .lm__scrim { opacity: 1; }
.lm.is-open .lm__card { transform: none; opacity: 1; }
.lm__x { position: absolute; right: 14px; top: 14px; width: 40px; height: 40px; border: 0; border-radius: 50%; background: var(--lw-soft); color: inherit; display: grid; place-items: center; cursor: pointer; }
.lm__x svg { width: 18px; height: 18px; }
.lm__t { margin: 0 44px 10px 0; font: var(--lw-disp-w) clamp(26px, 3vw, 36px)/1.05 var(--lw-disp); letter-spacing: -.015em; }
.lm__s { margin: 0 0 24px; font: 400 15px/1.55 var(--lw-font); opacity: .75; }

/* WhatsApp balonu */
.lw { position: fixed; z-index: 110; right: max(18px, env(safe-area-inset-right)); bottom: max(18px, env(safe-area-inset-bottom)); display: flex; flex-direction: column; align-items: flex-end; gap: 12px; font-family: var(--lw-font); }
.lw__fab { position: relative; width: 60px; height: 60px; border: 0; border-radius: 50%; background: var(--lw-wa); color: #fff; display: grid; place-items: center; cursor: pointer; box-shadow: 0 14px 34px -8px rgba(18, 140, 70, .55); transition: transform .3s cubic-bezier(.2,.7,0,1); }
.lw__fab:hover { transform: scale(1.06); }
.lw__fab svg { width: 30px; height: 30px; }
.lw__badge { position: absolute; top: -2px; right: -2px; min-width: 22px; height: 22px; padding: 0 6px; border-radius: 11px; background: #E5372B; color: #fff; font: 700 12px/22px var(--lw-font); box-shadow: 0 0 0 3px var(--lw-paper); animation: lwPop .5s cubic-bezier(.2,1.6,.4,1); }
@keyframes lwPop { from { transform: scale(0); } }
.lw__toast { position: relative; max-width: min(320px, calc(100vw - 36px)); transform: translateY(10px); opacity: 0; transition: transform .45s cubic-bezier(.2,.7,0,1), opacity .3s; }
.lw__toast.is-in { transform: none; opacity: 1; }
.lw__toast-b { display: flex; gap: 12px; align-items: flex-start; width: 100%; padding: 14px 40px 14px 14px; border: 0; border-radius: 16px 16px 4px 16px; background: var(--lw-paper); color: var(--lw-ink); text-align: left; cursor: pointer; box-shadow: 0 18px 50px -12px rgba(0, 0, 0, .35); }
.lw__av { flex: none; width: 38px; height: 38px; color: var(--lw-accent); }
.lw__av svg { width: 100%; height: 100%; }
.lw__tx { display: block; font: 400 14px/1.4 var(--lw-font); }
.lw__tx b { display: block; margin-bottom: 3px; font-weight: 700; font-size: 13.5px; }
.lw__line { display: none; }
.lw__toast.is-typed .lw__line { display: block; }
.lw__toast.is-typed .lw__typing { display: none; }
.lw__typing { display: inline-flex; gap: 4px; padding: 6px 0; }
.lw__typing i { width: 6px; height: 6px; border-radius: 50%; background: currentColor; opacity: .35; animation: lwDot 1s infinite; }
.lw__typing i:nth-child(2) { animation-delay: .15s; } .lw__typing i:nth-child(3) { animation-delay: .3s; }
@keyframes lwDot { 50% { opacity: .9; transform: translateY(-2px); } }
.lw__toast-x { position: absolute; right: 8px; top: 8px; width: 28px; height: 28px; border: 0; border-radius: 50%; background: transparent; color: var(--lw-ink); opacity: .55; display: grid; place-items: center; cursor: pointer; }
.lw__toast-x svg { width: 15px; height: 15px; }
.lw__panel { width: min(360px, calc(100vw - 36px)); border-radius: 18px; overflow: hidden; background: var(--lw-paper); color: var(--lw-ink); box-shadow: 0 30px 80px -16px rgba(0, 0, 0, .45); transform-origin: bottom right; transform: translateY(10px) scale(.96); opacity: 0; transition: transform .4s cubic-bezier(.2,.7,0,1), opacity .25s; }
.lw__panel.is-open { transform: none; opacity: 1; }
.lw__head { display: flex; align-items: center; gap: 12px; padding: 14px 14px 14px 16px; background: var(--lw-ink); color: var(--lw-paper); }
.lw__head .lw__av { color: var(--lw-accent); background: var(--lw-paper); border-radius: 50%; }
.lw__head b { display: block; font: 700 15px var(--lw-font); }
.lw__head small { display: block; font: 400 12.5px var(--lw-font); opacity: .7; }
.lw__close { margin-left: auto; width: 34px; height: 34px; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .12); color: inherit; display: grid; place-items: center; cursor: pointer; }
.lw__close svg { width: 16px; height: 16px; }
.lw__chat { padding: 16px; background: var(--lw-soft); display: flex; flex-direction: column; gap: 8px; }
.lw__msg { align-self: flex-start; max-width: 88%; margin: 0; padding: 10px 13px; border-radius: 4px 14px 14px 14px; background: var(--lw-paper); font: 400 14px/1.45 var(--lw-font); box-shadow: 0 1px 1px rgba(0, 0, 0, .05); }
.lw__quick { display: flex; flex-wrap: wrap; gap: 6px; padding: 12px 16px 4px; }
.lw__quick a { padding: 8px 12px; border-radius: 999px; box-shadow: inset 0 0 0 1px var(--lw-line); color: inherit; text-decoration: none; font: 600 13px var(--lw-font); }
.lw__quick a:hover { box-shadow: inset 0 0 0 1px var(--lw-ink); }
.lw__compose { display: flex; align-items: flex-end; gap: 8px; margin: 12px 16px 0; padding: 6px 6px 6px 16px; border-radius: 24px; background: var(--lw-soft); box-shadow: inset 0 0 0 1px transparent; transition: box-shadow .2s; }
.lw__compose:focus-within { box-shadow: inset 0 0 0 1.5px var(--lw-wa); }
.lw__compose textarea { flex: 1; min-width: 0; height: 40px; max-height: 120px; padding: 10px 0; border: 0; background: none; color: inherit; font: 400 15px/1.35 var(--lw-font); resize: none; outline: none; }
.lw__compose button { flex: none; width: 40px; height: 40px; border: 0; border-radius: 50%; background: var(--lw-wa); color: #fff; display: grid; place-items: center; cursor: pointer; opacity: .55; transform: scale(.92); transition: opacity .2s, transform .25s cubic-bezier(.2,.7,0,1); }
.lw__compose.has-text button { opacity: 1; transform: none; }
.lw__compose button svg { width: 21px; height: 21px; }
.lw__hint { margin: 6px 16px 12px 32px; font: 400 12px/1.4 var(--lw-font); opacity: .55; }
.lw__call { display: block; width: calc(100% - 32px); margin: 0 16px 16px; height: 46px; border: 0; border-radius: 999px; background: var(--lw-accent); color: var(--lw-on-accent); font: 700 14.5px var(--lw-font); cursor: pointer; }

/* Mobil alt çubuk */
.lbar { display: none; }
@media (max-width: 720px) {
  .lbar { position: fixed; z-index: 105; left: 0; right: 0; bottom: 0; display: flex; gap: 8px; padding: 10px 12px calc(10px + env(safe-area-inset-bottom)); background: var(--lw-paper); box-shadow: 0 -1px 0 var(--lw-line), 0 -10px 30px -12px rgba(0, 0, 0, .2); font-family: var(--lw-font); }
  .lbar a, .lbar button { flex: 1; height: 48px; border: 0; border-radius: 999px; display: grid; place-items: center; font: 700 15px var(--lw-font); text-decoration: none; cursor: pointer; }
  .lbar a { color: var(--lw-ink); box-shadow: inset 0 0 0 1.5px var(--lw-ink); background: transparent; }
  .lbar button { background: var(--lw-accent); color: var(--lw-on-accent); }
  .lw { bottom: calc(80px + env(safe-area-inset-bottom)); right: 14px; }
  .lw__fab { width: 54px; height: 54px; }
  .lw__toast { max-width: 250px; }
  .lw__toast-b { gap: 10px; padding: 11px 32px 11px 11px; }
  .lw__toast .lw__av { width: 30px; height: 30px; }
  .lw__tx { font-size: 13px; }
  .lf__opts { grid-template-columns: 1fr 1fr; }
  .lm { align-items: end; padding: 0; }
  .lm__card { width: 100%; border-radius: 22px 22px 0 0; max-height: 92svh; padding-bottom: calc(24px + env(safe-area-inset-bottom)); }
}
@media (prefers-reduced-motion: reduce) {
  .lf *, .lm *, .lw * { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}

/* Mesaj formu */
.mf { font-family: var(--lw-font); color: var(--lw-ink); }
.mf form { display: grid; gap: 12px; }
.mf__topics { margin: 0 0 4px; padding: 0; border: 0; min-width: 0; }
.mf__topics legend { margin-bottom: 10px; padding: 0; font: 600 13.5px/1.3 var(--lw-font); opacity: .7; }
.mf__topics div { display: flex; flex-wrap: wrap; gap: 6px; }
.mf__topics label { position: relative; cursor: pointer; }
.mf__topics input { position: absolute; opacity: 0; }
.mf__topics span { display: block; padding: 9px 14px; border-radius: 999px; font: 600 13.5px/1 var(--lw-font); box-shadow: inset 0 0 0 1px var(--lw-line); transition: background .2s, color .2s, box-shadow .2s; }
.mf__topics label:hover span { box-shadow: inset 0 0 0 1px var(--lw-ink); }
.mf__topics input:checked + span { background: var(--lw-accent); color: var(--lw-on-accent); box-shadow: none; }
.mf__topics input:focus-visible + span { outline: 2px solid var(--lw-accent); outline-offset: 2px; }
.mf__row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 12px; }
.mf__f { position: relative; display: block; }
.mf__f input, .mf__f textarea { display: block; width: 100%; padding: 24px 16px 9px; border: 0; border-radius: var(--lw-r); background: var(--lw-soft); color: inherit; font: 500 16px/1.4 var(--lw-font); box-shadow: inset 0 0 0 1px transparent; transition: box-shadow .2s, background .2s; outline: none; }
.mf__f input { height: 58px; }
.mf__f textarea { min-height: 128px; padding-bottom: 28px; resize: vertical; }
.mf__f input:hover, .mf__f textarea:hover { box-shadow: inset 0 0 0 1px var(--lw-line); }
.mf__f input:focus, .mf__f textarea:focus { box-shadow: inset 0 0 0 1.5px var(--lw-accent); background: var(--lw-paper); }
.mf__f span { position: absolute; left: 16px; top: 19px; font: 500 15.5px/1 var(--lw-font); opacity: .6; pointer-events: none; transform-origin: left top; transition: transform .2s cubic-bezier(.2,.7,0,1), opacity .2s; }
.mf__f input:focus + span, .mf__f input:not(:placeholder-shown) + span,
.mf__f textarea:focus + span, .mf__f textarea:not(:placeholder-shown) + span { transform: translateY(-10px) scale(.76); opacity: .75; }
.mf__count { position: absolute; right: 14px; bottom: 10px; font: 500 11.5px/1 var(--lw-font); font-style: normal; opacity: .45; font-variant-numeric: tabular-nums; }
.mf__err { min-height: 0; margin: 0; font: 600 13.5px/1.4 var(--lw-font); color: #B3261E; }
.mf__err:empty { display: none; }
.mf__foot { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; margin-top: 4px; }
.mf__send { display: inline-flex; align-items: center; gap: 10px; height: 54px; padding: 0 24px; border: 0; border-radius: 999px; background: var(--lw-wa); color: #fff; font: 700 15.5px var(--lw-font); cursor: pointer; transition: transform .2s, filter .2s; }
.mf__send:hover { filter: brightness(1.06); transform: translateY(-1px); }
.mf__send svg { width: 20px; height: 20px; }
.mf.is-sent .mf__send { filter: saturate(.7); }
.mf__note { flex: 1 1 180px; margin: 0; font: 400 12.5px/1.45 var(--lw-font); opacity: .62; }
@media (max-width: 520px) { .mf__row { grid-template-columns: 1fr; } .mf__send { width: 100%; justify-content: center; } }

/* Saç kaybı seçenekleri: tek atlasla aynı açı, ölçü ve ışık. */
.lf__opts--icons .lf__opt { align-items: center; text-align: center; padding: 12px 10px; gap: 8px; }
.lf__pattern { position: relative; display: block; flex: none; width: min(100%, 144px); aspect-ratio: 1; overflow: hidden; border-radius: 8px; background: #F2F6F6; }
.lf__pattern img { position: absolute; display: block; width: 200%; height: 200%; max-width: none; left: calc(var(--col) * -100%); top: calc(var(--row) * -100%); user-select: none; -webkit-user-drag: none; }
.lf__opt.is-on .lf__pattern { box-shadow: 0 0 0 1px rgba(255,255,255,.65); }
.lf__diagram-note { margin: 14px 0 0; font: 400 12px/1.5 var(--lw-font); opacity: .7; }
@media (max-width: 400px) { .lf__pattern { width: min(100%, 118px); } }

/* Başvuru adımları ve pencereler */
.lm { z-index: 320; }
.lm__x { position: sticky; float: right; top: 0; right: auto; z-index: 2; margin: -10px -10px 0 8px; }
.lm__t { margin-right: 0; }
.lf__ready { display: grid; place-items: center; width: 46px; height: 46px; margin-bottom: 18px; border-radius: 50%; color: var(--lw-accent); background: var(--lw-soft); }
.lf__ready svg { width: 26px; height: 26px; }
.lf__send:disabled { cursor: wait; opacity: .65; transform: none; }
.lw__compose button:disabled { cursor: default; opacity: .4; }
.lf__f input[aria-invalid="true"] { box-shadow: inset 0 0 0 1.5px #B3261E; }
@media (prefers-reduced-motion: reduce) {
  .lm__card, .lm__scrim, .lw__panel { transition: none; }
}

/* Kısa ekranlarda ve ekran klavyesi açıldığında yardım paneli erişilebilir kalır. */
.lw__panel { max-height: calc(100dvh - 108px - env(safe-area-inset-bottom)); overflow-y: auto; overscroll-behavior: contain; }
@media (max-width: 720px) {
  .lw__panel { max-height: calc(100dvh - 160px - env(safe-area-inset-bottom)); }
}

/* Pencere, ekran klavyesi açıkken de görünen ekranın içinde kaydırılır. */
.lm { top: var(--visual-top, 0px); bottom: auto; height: var(--visual-height, 100dvh); }
.lm__card { max-height: calc(var(--visual-height, 100dvh) - 40px); overscroll-behavior: contain; scroll-padding-block: 64px 24px; }
.lf__opt, .lf__f, .lf__pref label, .lf__row > *, .mf__f,
.lw__head > *, .lw__tx { min-width: 0; }
.lf__q, .lf__opt, .lf__pref span, .lf__kvkk, .lf__done p,
.lw__msg, .lw__head b { overflow-wrap: anywhere; }
.lf__send, .lf__wa, .mf__send { max-width: 100%; min-height: 54px; height: auto; padding-block: 14px; line-height: 1.35; text-align: center; }
.lf__wa { justify-content: center; }
.lf__wa svg, .mf__send svg, .lw__close { flex: none; }
.lw__compose textarea { font-size: 16px; }
.lw__head { position: sticky; top: 0; z-index: 1; }
.lf__pref span { min-height: 44px; }
@media (max-width: 900px) {
  .lw:has(.lw__panel.is-open) { right: max(14px, env(safe-area-inset-right)); bottom: calc(var(--keyboard-inset, 0px) + max(12px, env(safe-area-inset-bottom))); }
  .lw__panel { width: min(360px, calc(100vw - 28px - env(safe-area-inset-left) - env(safe-area-inset-right))); max-height: calc(var(--visual-height, 100dvh) - 24px - env(safe-area-inset-bottom)); }
  .lw:has(.lw__panel.is-open) .lw__fab { display: none; }
  body:has(.lw__panel.is-open) .lbar { visibility: hidden; pointer-events: none; }
}
@media (max-width: 720px) {
  .lm { padding-top: 12px; }
  .lm__card { max-height: calc(var(--visual-height, 100dvh) - 12px); padding-inline: max(24px, env(safe-area-inset-left), env(safe-area-inset-right)); }
  .lf__opts { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .lbar { padding-left: max(12px, env(safe-area-inset-left)); padding-right: max(12px, env(safe-area-inset-right)); }
  .lbar a, .lbar button { min-width: 0; min-height: 48px; height: auto; padding: 10px; line-height: 1.3; text-align: center; overflow-wrap: anywhere; }
}
@media (max-width: 400px) {
  .lf__row { flex-wrap: wrap; }
  .lf__row .lf__send { flex: 1 1 100%; }
  .lf__pref { flex-wrap: wrap; }
  .lf__pref label { flex: 1 1 100%; }
}
@media (pointer: coarse) {
  .lm__x, .lw__close { width: 44px; height: 44px; }
  .lw__toast-x { width: 44px; height: 44px; top: 0; right: 0; }
  .lw__toast-b { padding-right: 48px; }
  .lw__quick a { display: inline-flex; align-items: center; min-height: 44px; }
  .lf__back { min-height: 44px; }
  .mf__topics span { min-height: 44px; display: flex; align-items: center; line-height: 1.35; }
}
