/* KAANAY — /konfigurator (style.css teması üstüne) · 2026-10-02 · Faz D2
   Düzen: solda adım kartları, sağda yapışkan özet + malzeme listesi; ≤ 980 px tek sütun + alt özet şeridi. */
.kfg-hero{padding-bottom:40px}
.kfg-hero .kfg-lead{max-width:720px;margin:14px auto 0;color:var(--muted);font-size:1.02rem;line-height:1.55}
.kfg-sec{padding:44px 0 90px}
.kfg-pv{background:#FFF8E5;border:1px solid #F0DFA8;color:#6b5514;border-radius:var(--radius-sm);padding:10px 14px;margin-bottom:18px;font-size:.92rem}
.lang a{font-family:var(--head);font-weight:600;font-size:.9rem;letter-spacing:.4px;padding:9px 13px;min-height:40px;display:flex;align-items:center;color:var(--muted);text-decoration:none;transition:.2s}
.lang a:hover{color:var(--text)}
.lang a.active{background:var(--gold);color:#231A05}

.kfg{display:grid;grid-template-columns:minmax(0,1fr) minmax(340px,440px);gap:28px;align-items:start}
.kfg-steps{display:flex;flex-direction:column;gap:18px;min-width:0}
.kfg-card{background:var(--surface);border:1px solid var(--line-soft);border-radius:var(--radius);padding:22px 24px}
.kfg-card h2{font-size:1.12rem;display:flex;align-items:center;gap:10px;margin-bottom:16px}
.kfg-n{flex:none;width:28px;height:28px;border-radius:50%;background:var(--gold-soft);color:var(--accent);font-size:.86rem;font-weight:700;display:inline-flex;align-items:center;justify-content:center}
.kfg-f{display:flex;flex-direction:column;gap:7px;margin-bottom:16px}
.kfg-f:last-child{margin-bottom:0}
.kfg-f>span:first-child{font-size:.78rem;font-weight:700;text-transform:uppercase;letter-spacing:.06em;color:var(--muted)}
.kfg-f small,.kfg-note{font-size:.84rem;color:var(--muted);line-height:1.45}
.kfg-len{display:inline-flex;align-items:center;gap:8px;max-width:300px}
.kfg-len input{width:120px;font:600 1.25rem var(--head);text-align:center;padding:10px 12px;border:1px solid var(--line);border-radius:var(--radius-sm);background:var(--bg);color:var(--text);outline:0}
.kfg-len input:focus{border-color:var(--gold);box-shadow:0 0 0 3px var(--gold-soft)}
.kfg-len input.bad{border-color:#D70015;box-shadow:0 0 0 3px rgba(215,0,21,.1)}
.kfg-len i{font-style:normal;color:var(--muted);font-weight:600}
.kfg-len button,.kfg-stp button{width:42px;height:42px;border-radius:50%;border:1px solid var(--line);background:var(--bg);color:var(--text);font-size:1.3rem;line-height:1;cursor:pointer;transition:.15s;flex:none}
.kfg-len button:hover,.kfg-stp button:hover:not(:disabled){border-color:var(--accent);color:var(--accent)}
.kfg-stp button:disabled{opacity:.35;cursor:not-allowed}

.kfg-chips{display:flex;flex-wrap:wrap;gap:8px}
.kfg-chip{border:1px solid var(--line);background:var(--bg);color:var(--text);border-radius:var(--radius-pill);padding:9px 16px;font:600 .95rem var(--head);cursor:pointer;transition:.15s;min-height:42px}
.kfg-chip:hover{border-color:var(--accent)}
.kfg-chip.on{background:var(--gold);border-color:var(--gold);color:#231A05}

.kfg-row{display:flex;align-items:center;gap:14px;padding:12px 0;border-top:1px solid var(--line-soft)}
.kfg-row:first-of-type{border-top:0;padding-top:0}
.kfg-ico{flex:none;width:46px;height:46px;border-radius:14px;background:var(--gold-soft);color:var(--accent);display:flex;align-items:center;justify-content:center}
.kfg-ico svg{width:30px;height:30px}
.kfg-rowt{flex:1;min-width:0;display:flex;flex-direction:column;gap:2px}
.kfg-rowt b{font-weight:600}
.kfg-rowt small{font-size:.84rem;color:var(--muted);line-height:1.4}
.kfg-rowt .kfg-off{color:#8a5a00}
.kfg-row.off .kfg-ico,.kfg-row.off b{opacity:.45}
.kfg-stp{display:flex;align-items:center;gap:10px;flex:none}
.kfg-stp output{min-width:26px;text-align:center;font:700 1.2rem var(--head)}

.kfg-opts{display:grid;grid-template-columns:repeat(auto-fill,minmax(150px,1fr));gap:10px}
.kfg-opt{display:flex;flex-direction:column;align-items:center;gap:9px;text-align:center;border:1.5px solid var(--line-soft);background:var(--bg);color:var(--text);border-radius:var(--radius-sm);padding:12px 10px;cursor:pointer;transition:.15s;font:500 .93rem/1.3 var(--head);min-height:54px}
.kfg-opt.txt{justify-content:center}
.kfg-opt:hover{border-color:var(--accent)}
.kfg-opt.on{border-color:var(--gold);box-shadow:0 0 0 3px var(--gold-soft);font-weight:700}
.kfg-opt.off{opacity:.42;cursor:not-allowed}
.kfg-opt img{width:100%;aspect-ratio:4/3;object-fit:cover;border-radius:8px;background:var(--surface-2)}
.kfg-sw{width:46px;height:46px;border-radius:50%;border:1px solid rgba(0,0,0,.18);box-shadow:inset 0 0 0 3px rgba(255,255,255,.55)}
.kfg-why{margin-top:10px;font-size:.86rem;color:#8a5a00;background:#FFF8E5;border:1px solid #F0DFA8;border-radius:10px;padding:8px 12px}
.kfg-chk{display:flex;align-items:center;gap:10px;font-weight:600;cursor:pointer}
.kfg-chk input{width:20px;height:20px;accent-color:var(--gold)}
#kfgGateBox{margin-top:14px}
#kfgGateBox .kfg-row{border-top:0;padding-top:0}
#kfgGateBox .kfg-len input{width:100px}

.kfg-side{position:sticky;top:96px;background:var(--surface);border:1px solid var(--line-soft);border-radius:var(--radius);padding:22px;box-shadow:var(--shadow);max-height:calc(100vh - 116px);overflow:auto;transition:opacity .15s}
.kfg-side.busy{opacity:.55}
.kfg-st{font-size:1.08rem;margin-bottom:12px}
.kfg-kpis{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:14px}
.kfg-kpis span{background:var(--surface-2);border-radius:10px;padding:7px 11px;font-size:.88rem;color:var(--muted)}
.kfg-kpis b{color:var(--text);font-size:1.02rem}
.kfg-msg{border-radius:10px;padding:10px 13px;margin-bottom:10px;font-size:.92rem;line-height:1.45}
.kfg-msg.err{background:rgba(215,0,21,.07);border:1px solid #f1b3bb;color:#8a0010}
.kfg-msg.warn{background:#FFF8E5;border:1px solid #F0DFA8;color:#6b5514}
.kfg-lh{display:flex;align-items:baseline;justify-content:space-between;gap:10px;margin:6px 0 8px}
.kfg-lh h3{font-size:1rem}
.kfg-lh span{font-size:.84rem;color:var(--muted)}
.kfg-bom{list-style:none;margin:0 0 12px;padding:0}
.kfg-bom li{display:flex;align-items:center;gap:12px;padding:10px 0;border-top:1px solid var(--line-soft)}
.kfg-bom li:first-child{border-top:0}
.kfg-bom img,.kfg-noimg{flex:none;width:48px;height:48px;border-radius:10px;object-fit:contain;background:#fff;border:1px solid var(--line-soft)}
.kfg-noimg{background:var(--surface-2)}
.kfg-bt{flex:1;min-width:0;display:flex;flex-direction:column;gap:1px}
.kfg-bt b{font-size:.84rem;color:var(--accent);letter-spacing:.02em}
.kfg-bt span{font-size:.92rem;line-height:1.3}
.kfg-bt a{color:inherit;text-decoration:none;border-bottom:1px dotted var(--line)}
.kfg-bt a:hover{color:var(--accent)}
.kfg-bt small{font-size:.8rem;color:var(--muted)}
.kfg-bt .kfg-pack{color:var(--accent)}
.kfg-q{flex:none;text-align:right;display:flex;flex-direction:column}
.kfg-q b{font:700 1.2rem var(--head)}
.kfg-q small{font-size:.72rem;color:var(--muted);text-transform:uppercase;letter-spacing:.05em}
.kfg-wait{color:var(--muted)}
.kfg-box{background:var(--surface);border:1px dashed var(--line);border-radius:var(--radius);padding:32px 24px;text-align:center;color:var(--muted)}
.kfg-box p+p{margin-top:16px}
.kfg-bar{display:none}

@media(max-width:980px){
  .kfg{grid-template-columns:1fr}
  .kfg-side{position:static;max-height:none;box-shadow:none}
  .kfg-sec{padding-bottom:120px}
  .kfg-bar{position:fixed;left:0;right:0;bottom:0;z-index:60;display:flex;align-items:center;justify-content:space-between;gap:12px;background:var(--surface);border-top:1px solid var(--line);padding:10px 16px;box-shadow:0 -8px 24px rgba(0,0,0,.08);font-size:.9rem}
  .kfg-bar[hidden]{display:none}
  .kfg-bar .btn{padding:9px 16px;min-height:40px;font-size:.9rem;flex:none}
  .kfg-bar .err{color:#8a0010}
}
@media(max-width:600px){
  .kfg-card{padding:18px 16px}
  .kfg-opts{grid-template-columns:repeat(2,minmax(0,1fr))}
  .kfg-row{gap:10px}
  .kfg-ico{width:40px;height:40px}
  .kfg-len button,.kfg-stp button{width:40px;height:40px}
  .lang a{padding:9px 7px;font-size:.8rem;letter-spacing:0}
  .logo .brand{font-size:1.3rem;letter-spacing:1.5px}
}
@media(prefers-reduced-motion:reduce){.kfg-side,.kfg-opt,.kfg-chip{transition:none}}

/* ---- Faz D3: canlı şema · eylemler · bildirim · yazdırma ---- */
.kfg-draw{margin-bottom:16px;padding-bottom:12px;border-bottom:1px solid var(--line-soft)}
.kfg-seg{display:inline-flex;background:var(--surface-2);border-radius:var(--radius-pill);padding:3px;gap:2px;margin-bottom:10px}
.kfg-seg button{border:0;background:transparent;border-radius:var(--radius-pill);padding:7px 14px;font:600 .84rem var(--head);color:var(--muted);cursor:pointer}
.kfg-seg button[aria-selected="true"]{background:var(--surface);color:var(--text);box-shadow:0 1px 4px rgba(0,0,0,.12)}
.kfg-draw figure{margin:0}
.kfg-draw figcaption{display:none}
.kfg-draw[data-view="plan"] .v-front,.kfg-draw[data-view="front"] .v-plan{display:none}
.kfg-draw svg{display:block;width:100%;height:auto;background:var(--surface-2);border-radius:12px}
.kfg-draw .kfg-note{margin-top:8px}
.kfg-lg{display:flex;flex-wrap:wrap;gap:6px 14px;font-size:.82rem;color:var(--muted);margin-top:8px}
.kfg-lg span{display:inline-flex;align-items:center;gap:6px}
.kfg-lg b{color:var(--text)}
.kfg-lg i{display:inline-block;width:9px;height:9px;background:#1D1D1F;flex:none}
.kfg-lg .m-dot{border-radius:50%;width:7px;height:7px}
.kfg-lg .m-ring{border-radius:50%;background:#fff;border:2px solid #1D1D1F}
.kfg-lg .m-sq{border-radius:2px}
.kfg-lg .m-dia{transform:rotate(45deg);width:8px;height:8px}
.kfg-acts{display:flex;flex-wrap:wrap;gap:8px;margin-top:8px}
.kfg-acts .btn{flex:1 1 auto;padding:10px 14px;min-height:42px;font-size:.9rem}
.kfg-toast{position:fixed;left:50%;bottom:26px;transform:translate(-50%,12px);background:#1D1D1F;color:#fff;padding:11px 18px;border-radius:12px;font-size:.92rem;opacity:0;pointer-events:none;transition:.25s;z-index:1300;max-width:90vw;text-align:center}
.kfg-toast.show{opacity:1;transform:translate(-50%,0)}
.kfg-toast.bad{background:#8a0010}
.kfg-print{display:none}
.kfg-ph{display:flex;align-items:center;gap:16px;border-bottom:2px solid #C9A24B;padding-bottom:8px;margin-bottom:10px}
.kfg-ph img{width:168px;height:65px;object-fit:contain;object-position:left center}
.kfg-ph div{display:flex;flex-direction:column;margin-left:auto;text-align:right}
.kfg-ph b{font-size:1.2rem}
.kfg-ph span{font-size:.85rem;color:#6E6E73}
.kfg-pt{font-size:.9rem;border-collapse:collapse;margin-bottom:12px}
.kfg-pt th{text-align:left;font-weight:500;color:#6E6E73;padding:2px 18px 2px 0}
.kfg-pt td{font-weight:600}
@media(max-width:980px){.kfg-toast{bottom:78px}}
/* ---- Faz D4: teklif talebi formu (#kfgQuote — kfg_quote.js) ---- */
#kfgQuote{margin-top:14px}
.kfg-qerr{padding-top:4px}
.kq-open{width:100%;min-height:48px;font-size:1rem}
.kq-form{border:1px solid var(--line-soft);border-radius:var(--radius-sm);padding:16px;background:var(--surface-2)}
.kq-form h3{font-size:1.02rem;margin-bottom:6px}
.kq-intro{font-size:.9rem;color:var(--muted);line-height:1.45;margin-bottom:12px}
.kq-pv{font-size:.82rem;background:#FFF8E5;border:1px solid #F0DFA8;color:#6b5514;border-radius:10px;padding:7px 10px;margin-bottom:10px}
.kq-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px 12px}
.kq-f{display:flex;flex-direction:column;gap:5px;min-width:0}
.kq-f.kq-w{grid-column:1 / -1}
.kq-f>span{font-size:.76rem;font-weight:700;text-transform:uppercase;letter-spacing:.05em;color:var(--muted)}
.kq-f>span i{font-style:normal;font-weight:500;text-transform:none;letter-spacing:0}
.kq-f input,.kq-f textarea{width:100%;font:500 .95rem var(--body,inherit);padding:10px 12px;border:1px solid var(--line);border-radius:var(--radius-sm);background:var(--surface);color:var(--text);outline:0}
.kq-f textarea{resize:vertical;min-height:76px;line-height:1.4}
.kq-f input:focus,.kq-f textarea:focus,.kq-cons input:focus-visible{border-color:var(--gold);box-shadow:0 0 0 3px var(--gold-soft)}
.kq-f input[aria-invalid="true"]{border-color:#D70015;box-shadow:0 0 0 3px rgba(215,0,21,.1)}
.kq-e{display:block;font-size:.8rem;color:#8a0010;min-height:0}
.kq-e:empty{display:none}
.kq-hp{position:absolute !important;left:-10000px !important;top:auto;width:1px;height:1px;overflow:hidden}
.kq-cons{display:flex;align-items:flex-start;gap:10px;margin-top:12px;font-size:.88rem;line-height:1.45;cursor:pointer}
.kq-cons input{flex:none;width:20px;height:20px;margin-top:1px;accent-color:var(--gold)}
.kq-err{margin-top:10px}
.kq-acts{display:flex;gap:8px;margin-top:12px}
.kq-acts .btn{flex:1 1 auto;min-height:44px}
.kq-acts .kq-send{flex:2 1 auto}
.kq-acts .btn:disabled{opacity:.6;cursor:wait}
.kq-req{font-size:.78rem;color:var(--muted);margin-top:8px}
.kq-ok{border:1px solid rgba(31,157,85,.35);background:rgba(31,157,85,.07);border-radius:var(--radius-sm);padding:16px;display:flex;flex-direction:column;gap:6px}
.kq-ok b{font-size:1.05rem;color:#146c3b}
.kq-no{font:700 1.15rem var(--head);letter-spacing:.03em}
.kq-ok p{font-size:.9rem;line-height:1.45;color:var(--text)}
.kq-ok .btn{align-self:flex-start;margin-top:4px}
@media(max-width:600px){.kq-grid{grid-template-columns:1fr}.kq-acts{flex-direction:column-reverse}}
@media print{
  @page{margin:14mm}
  .header,.page-hero,.kfg-steps,.kfg-pv,.kfg-bar,.footer,.skip-link,.kfg-acts,#kfgQuote,.kfg-toast,.kfg-seg{display:none !important}
  body{background:#fff}
  .kfg-sec{padding:0}
  .container{max-width:none;padding:0}
  .kfg{display:block}
  .kfg-side{position:static;max-height:none;overflow:visible;border:0;box-shadow:none;padding:0;opacity:1}
  .kfg-print{display:block}
  .kfg-draw{display:grid;grid-template-columns:1fr 1fr;gap:12px;break-inside:avoid}
  .kfg-draw figcaption{display:block;font-size:.72rem;font-weight:700;text-transform:uppercase;letter-spacing:.06em;color:#6E6E73;margin-bottom:4px}
  .kfg-draw[data-view] .v-plan,.kfg-draw[data-view] .v-front{display:block}
  .kfg-draw .kfg-note{grid-column:1 / -1}
  .kfg-draw svg{background:#fff;border:1px solid #E8E8ED}
  .kfg-bom li{break-inside:avoid}
  .kfg-bom a{border-bottom:0}
}
