/* ===========================================================
   AR Reklam Bayi Paneli · 2026 revizyon katmanı
   app.css'in üzerine yüklenir; mevcut kuralları bozmadan genişletir.
   =========================================================== */

/* ---------- Onay kutusu / radyo düğmesi normalizasyonu ----------
   app.css içindeki ".field input{width:100%;padding:12px 13px;border:1px solid}"
   kuralı, .field içinde yer alan onay kutularına da uyguladığı için kutular
   şişip satırın hizasını kaydırıyordu. Aşağıdaki kural bunu sıfırlar. */
input[type=checkbox],
input[type=radio],
.field input[type=checkbox],
.field input[type=radio],
.tier-row input[type=checkbox],
.check-line input[type=checkbox],
.consents input[type=checkbox],
.opt-req input[type=checkbox],
.pay-opt input[type=radio]{
  width:19px;height:19px;min-width:19px;max-width:19px;flex:0 0 19px;
  margin:0;padding:0;border:0;border-radius:0;background:none;box-shadow:none;
  accent-color:#171718;-webkit-appearance:auto;appearance:auto;
  vertical-align:middle;cursor:pointer
}

/* Onay satırı: kutu solda sabit, metin yanında akar */
.check-line,
.field .check-line,
.consents .check-line{display:flex;align-items:flex-start;gap:10px;text-align:left;
  font-weight:500;letter-spacing:0;line-height:1.55;color:#5f5f66}
.check-line>input[type=checkbox]{margin-top:2px}
.check-line>span{flex:1 1 auto;min-width:0}
.opt-req{display:inline-flex;align-items:center;gap:7px;white-space:nowrap}
.opt-req>input[type=checkbox]{margin-top:0}

/* ---------- Yönetici · üretim detayı satırı ----------
   Izgara yerine esnek dizilim: hiçbir genişlikte üst üste binmez. */
.tier-row.opt{display:flex;flex-wrap:wrap;align-items:center;gap:8px}
.tier-row.opt>input{flex:1 1 190px;min-width:0;width:auto}
.tier-row.opt>select{flex:1 1 150px;min-width:0;width:auto}
.tier-row.opt>.opt-req{flex:0 0 auto;margin-left:auto}
.tier-row.opt>button{flex:0 0 44px;width:44px;height:44px;margin:0}
.tier-row.opt>textarea{flex:1 1 100%;width:100%;order:9}

/* ---------- Kenar çubuğu destek bağlantısı ---------- */
.support{text-decoration:none;width:100%}
.support:hover{background:#f5f5f2}

/* ---------- Ürün kartı QR rozeti ---------- */
.qr-pill{display:inline-flex;align-items:center;gap:6px;background:#f4f4f0;border-radius:8px;padding:5px 9px;font-size:11.5px;font-weight:700;color:#5f5f66;margin:0 0 12px;width:max-content}
.qr-pill svg{width:14px;height:14px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}

/* ---------- Sabit fiyat bilgi kutusu ---------- */
.flat-note{display:flex;gap:12px;align-items:flex-start;background:#faf9f6;border:1px solid #efeee9;border-radius:16px;padding:14px 16px;margin:6px 0 18px}
.flat-note svg{width:20px;height:20px;fill:none;stroke:var(--orange);stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round;flex:none;margin-top:2px}
.flat-note b{display:block;font-size:14px;margin-bottom:3px}
.flat-note small{font-size:12.5px;color:#84848a;line-height:1.6}

/* ---------- QR yönlendirme blokları ---------- */
.qr-config .qr-row{display:flex;gap:12px;align-items:flex-start;border-top:1px solid #f2f2ef;padding-top:14px;margin-top:14px}
.qr-config .qr-row:first-of-type{border-top:0;padding-top:0;margin-top:0}
.qr-config .qr-row>em{width:30px;height:30px;border-radius:10px;background:#171718;color:#fff;display:grid;place-items:center;font-style:normal;font-size:13px;font-weight:800;flex:none;margin-top:22px}
.qr-config .qr-row .opt-grid{flex:1;min-width:0}

/* ---------- Ödeme yöntemi seçimi ---------- */
.pay-pick{display:grid;gap:8px;margin-bottom:14px}
.pay-pick>b{font-size:12px;letter-spacing:.6px;color:#6d6d73;font-weight:700}
.pay-pick.tight{margin-bottom:0}
.pay-opt{display:flex;align-items:flex-start;gap:10px;border:1px solid var(--line);background:#fafafa;border-radius:13px;padding:11px 13px;cursor:pointer;transition:.15s}
.pay-opt input{width:19px;height:19px;flex:none;margin-top:2px;accent-color:#171718}
.pay-opt span{display:flex;flex-direction:column;gap:3px;min-width:0}
.pay-opt b{font-size:13.5px}
.pay-opt small{font-size:11.5px;color:#84848a;line-height:1.5}
.pay-opt:has(input:checked){border-color:#171718;background:#fff;box-shadow:0 0 0 2px #17171814}
.contract-line{margin-bottom:14px;font-size:12.5px}
.contract-line a,.check-line a{color:#171718;font-weight:700;text-decoration:underline}
.consents{display:grid;gap:10px;background:#faf9f6;border:1px solid #efeee9;border-radius:14px;padding:14px}
.consents .check-line{font-size:12.5px}
.pay-select{border:1px solid var(--line);border-radius:9px;padding:6px 8px;font-size:12.5px;background:#fff;outline:0;max-width:130px}

/* ---------- Ödeme durumu rozetleri ---------- */
.status.odendi{background:#e9f8f1;color:#379b6e}
.status.bekliyor{background:#fff0e5;color:#dd7639}
.status.kismi{background:#edf2ff;color:#587bd0}

/* ---------- Fatura yükleme düğmesi ---------- */
.inv-upload{margin-top:6px;border:1px solid var(--line);background:#fff;border-radius:9px;padding:7px 10px;font-size:12px;font-weight:600;display:inline-flex;align-items:center;gap:6px;color:var(--ink);white-space:nowrap}
.inv-upload svg{width:14px;height:14px;fill:none;stroke:currentColor;stroke-width:1.9;stroke-linecap:round;stroke-linejoin:round}
.inv-upload:hover{background:#f5f5f2}

/* ---------- Cari & fatura ekranı ---------- */
.acc-stats{margin-bottom:18px}
.bank-card{display:flex;gap:16px;align-items:center;flex-wrap:wrap;background:#171718;color:#fff;border-radius:22px;padding:20px 22px;margin-bottom:8px}
.bank-card>div:first-child{width:48px;height:48px;border-radius:15px;background:#2a2a2c;display:grid;place-items:center;flex:none}
.bank-card svg{width:22px;height:22px;fill:none;stroke:#fff;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.bank-card>div:nth-child(2){display:flex;flex-direction:column;gap:3px;min-width:220px}
.bank-card b{font-size:15px}
.bank-card small{font-size:12.5px;color:#a5a5a9}
.bank-card span{font-size:15px;font-weight:700;letter-spacing:.6px;font-variant-numeric:tabular-nums}
.bank-card p{margin:0 0 0 auto;font-size:12.5px;color:#a5a5a9;max-width:280px}

/* ---------- Yönetici: çoklu görsel yöneticisi ---------- */
.img-manager{display:grid;gap:10px}
.img-list{display:grid;grid-template-columns:repeat(auto-fill,minmax(96px,1fr));gap:10px}
.img-item{position:relative;aspect-ratio:1/1;border:1px solid var(--line);border-radius:14px;background:#fff;overflow:hidden;padding:8px}
.img-item.main{border-color:#171718;box-shadow:0 0 0 2px #17171818}
.img-item img{width:100%;height:100%;object-fit:contain}
.img-item em{position:absolute;left:6px;bottom:6px;background:#171718;color:#fff;border-radius:7px;padding:3px 7px;font-size:10px;font-style:normal;font-weight:700}
.img-item .mk{position:absolute;left:6px;bottom:6px;border:0;background:#ffffffe6;border-radius:7px;padding:4px 8px;font-size:10.5px;font-weight:700;color:#171718;box-shadow:0 2px 8px #0000001a}
.img-item .rm{position:absolute;right:5px;top:5px;width:26px;height:26px;border:0;border-radius:9px;background:#ffffffe6;color:#c55;display:grid;place-items:center;box-shadow:0 2px 8px #0000001a}
.img-item .rm svg{width:13px;height:13px;stroke-width:2.4}
.img-empty{grid-column:1/-1;border:1px dashed #d6d6d1;border-radius:14px;padding:18px;text-align:center;color:#8b8b91;font-size:12.5px}
.img-tools{display:flex;gap:8px;flex-wrap:wrap;align-items:center}
.img-tools input#imgUrl{flex:1;min-width:180px;border:1px solid var(--line);background:#fafafa;border-radius:11px;padding:10px 12px;outline:0;font-size:14px}
.img-tools label.btn{cursor:pointer}
.opt-tools{display:flex;gap:8px;flex-wrap:wrap;margin-top:8px}
.btn.danger{color:#c0392b;border-color:#f0d3cf}
.btn.danger:hover{background:#fdeceb}

/* ---------- Yasal metinler ---------- */
.site-foot{border-top:1px solid var(--line);background:#fff;padding:18px max(20px,env(safe-area-inset-left)) calc(20px + env(safe-area-inset-bottom));display:flex;gap:12px;align-items:center;justify-content:space-between;flex-wrap:wrap}
.site-foot small{font-size:12px;color:#8b8b91}
.foot-legal{display:flex;gap:6px 14px;flex-wrap:wrap}
.foot-legal a{font-size:12px;color:#5f5f66;text-decoration:none;font-weight:600}
.foot-legal a:hover{color:#171718;text-decoration:underline}
.legal-page{max-width:900px;margin:auto;padding:26px max(16px,env(safe-area-inset-left)) calc(60px + env(safe-area-inset-bottom))}
.legal-head{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:22px;flex-wrap:wrap}
.legal-back{display:inline-flex;align-items:center;gap:8px;font-size:13.5px;font-weight:700;color:#5f5f66;text-decoration:none}
.legal-back svg{width:17px;height:17px;fill:none;stroke:currentColor;stroke-width:1.9;stroke-linecap:round;stroke-linejoin:round}
.legal-logo{width:132px;color:var(--ink)}
.legal-doc{background:#fff;border:1px solid var(--line);border-radius:24px;padding:clamp(20px,4vw,36px)}
.legal-doc h1{font-size:clamp(22px,3vw,30px);letter-spacing:-.8px;margin:10px 0 8px;line-height:1.2}
.legal-doc h2{font-size:20px;margin:0 0 14px;letter-spacing:-.4px}
.legal-doc h3{font-size:15.5px;margin:24px 0 8px;letter-spacing:-.2px}
.legal-doc p,.legal-doc li{font-size:14.5px;line-height:1.85;color:#4a4a51;margin:0 0 10px}
.legal-doc ul{margin:0 0 14px;padding-left:20px}
.legal-doc .legal-lead{color:#77777d;font-size:14px;margin-bottom:18px}
.legal-doc .legal-upd{margin-top:26px;padding-top:14px;border-top:1px solid #f0f0ed;font-size:12.5px;color:#8b8b91}
.legal-card{background:#faf9f6;border:1px solid #efeee9;border-radius:16px;padding:16px 18px;display:grid;gap:4px;margin:6px 0 18px}
.legal-card b{font-size:11.5px;letter-spacing:1px;color:#84848a}
.legal-card span{font-size:13.5px;color:#4a4a51}
.legal-list{display:grid;gap:10px;margin-top:18px}
.legal-list a{display:flex;align-items:center;gap:12px;border:1px solid var(--line);border-radius:16px;padding:15px 17px;text-decoration:none;color:var(--ink);transition:.18s}
.legal-list a:hover{border-color:#c9c9c4;transform:translateY(-1px)}
.legal-list b{font-size:14.5px;display:block}
.legal-list small{font-size:12.5px;color:#84848a;display:block;margin-top:3px;flex:1}
.legal-list svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.9;stroke-linecap:round;stroke-linejoin:round;flex:none;margin-left:auto}
.legal-more{margin-top:20px}
.legal-more b{font-size:12px;letter-spacing:.8px;color:#84848a;display:block;margin-bottom:10px}
.legal-more div{display:flex;flex-wrap:wrap;gap:8px}
.legal-more a{font-size:12.5px;border:1px solid var(--line);background:#fff;border-radius:10px;padding:8px 12px;text-decoration:none;color:#5f5f66;font-weight:600}
.legal-scroll{max-height:min(58vh,520px);overflow:auto;margin-top:8px;padding-right:6px}
.legal-scroll h3{font-size:14.5px;margin:18px 0 6px}
.legal-scroll p,.legal-scroll li{font-size:13.5px;line-height:1.8;color:#4a4a51}

/* ---------- WhatsApp balonu ---------- */
.wa-fab{position:fixed;z-index:85;right:22px;bottom:calc(22px + env(safe-area-inset-bottom));width:58px;height:58px;display:grid;place-items:center;background:#25d366;color:#fff;border-radius:18px;text-decoration:none;box-shadow:none;transition:.2s}
.wa-fab svg{width:30px;height:30px;fill:currentColor;flex:none}
.wa-fab span{display:none}
.wa-fab:hover{transform:translateY(-2px);background:#1fbe5a;box-shadow:none}
body.layers-open .wa-fab{opacity:0;visibility:hidden;pointer-events:none}
.toast{right:auto;left:25px}

/* ---------- Sepet alt bölümü (ödeme + sözleşme) ---------- */
.cart-foot{max-height:60vh;overflow:auto}
.cart-foot>div:last-of-type{margin-top:4px}

/* ---------- Mobil uyum ---------- */
@media(max-width:900px){
.bank-card p{margin-left:0}
}
@media(max-width:760px){
.wa-fab{right:16px;bottom:calc(16px + env(safe-area-inset-bottom));width:54px;height:54px;border-radius:16px}
.wa-fab svg{width:28px;height:28px}
.toast{left:15px;right:15px;bottom:calc(84px + env(safe-area-inset-bottom))}
.tier-row.opt>input,.tier-row.opt>select{flex:1 1 100%}
.tier-row.opt>.opt-req{margin-left:0;flex:1 1 auto}
.tier-row.opt>button{margin-left:auto}
.qr-config .qr-row{flex-direction:column;gap:6px}
.qr-config .qr-row>em{margin-top:0}
.site-foot{flex-direction:column;align-items:flex-start;gap:10px;padding-bottom:calc(84px + env(safe-area-inset-bottom))}
.foot-legal{gap:6px 12px}
.img-list{grid-template-columns:repeat(3,minmax(0,1fr))}
.img-tools{width:100%}
.img-tools input#imgUrl{width:100%;flex:1 1 100%}
.modal-actions{flex-wrap:wrap}
.modal-actions .btn{flex:1 1 45%;justify-content:center}
.legal-scroll{max-height:52vh}
.data-table .pay-select{max-width:120px}
}
@media(max-width:540px){
.img-list{grid-template-columns:repeat(2,minmax(0,1fr))}
.bank-card{padding:18px}
.bank-card>div:nth-child(2){min-width:0}
.modal-actions .btn{flex:1 1 100%}
.legal-doc{padding:20px 16px}
.legal-list a{flex-wrap:wrap}
.pay-opt{padding:10px 12px}
.acc-stats{grid-template-columns:1fr}
}

/* ---------- Yazdırma ---------- */
@media print{
.wa-fab,.site-foot{display:none!important}
}

/* ===========================================================
   2026 · Sayfa yapıları, bildirimler, profil ve kurumsal alt bilgi
   =========================================================== */

/* ---------- Ortak form alanı (editör ve profil) ---------- */
.editor-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
.ef{display:flex;flex-direction:column;gap:7px;min-width:0}
.ef.full{grid-column:1/-1}
.ef>label{font-size:12px;letter-spacing:.5px;text-transform:uppercase;color:#6d6d73;font-weight:700}
.ef>label small{text-transform:none;letter-spacing:0;font-weight:600;color:#9a9aa0}
.ef input,.ef select,.ef textarea{width:100%;border:1px solid var(--line);background:#fafafa;border-radius:12px;padding:12px 13px;outline:0;font-size:15px;color:var(--ink)}
.ef input:focus,.ef select:focus,.ef textarea:focus{border-color:#a9a9a4;background:#fff}
.ef textarea{resize:vertical;min-height:96px;font-size:14px;line-height:1.6}
.ef small{font-size:11.5px;color:#8b8b91;line-height:1.5}

/* ---------- Ürün düzenleme sayfası ---------- */
.editor-shell{max-width:1080px;margin:0 auto;padding:26px max(18px,env(safe-area-inset-left)) 40px}
.editor-bar{position:sticky;top:0;z-index:30;display:flex;align-items:center;gap:16px;flex-wrap:wrap;
  background:#f6f6f3f2;backdrop-filter:blur(10px);border-bottom:1px solid var(--line);
  margin:-26px calc(-1 * max(18px,env(safe-area-inset-left))) 24px;padding:16px max(18px,env(safe-area-inset-left))}
.editor-back{display:inline-flex;align-items:center;gap:7px;font-size:13.5px;font-weight:700;color:#5f5f66;text-decoration:none;
  border:1px solid var(--line);background:#fff;border-radius:11px;padding:9px 13px;white-space:nowrap}
.editor-back:hover{background:#f5f5f2}
.editor-back svg{width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.editor-heads{flex:1 1 220px;min-width:0}
.editor-heads h1{font-size:22px;margin:2px 0 0;letter-spacing:-.5px}
.editor-bar-actions{display:flex;gap:8px;flex-wrap:wrap}
.editor-body{display:flex;flex-direction:column;gap:16px}
.editor-card{background:#fff;border:1px solid var(--line);border-radius:22px;padding:22px 24px}
.editor-card-head{margin-bottom:16px}
.editor-card-head h2{font-size:16px;margin:0 0 4px;letter-spacing:-.2px}
.editor-card-head p{margin:0;font-size:12.5px;color:#84848a;line-height:1.55}
.editor-hint{display:block;margin-top:10px;font-size:11.5px;color:#8b8b91;line-height:1.55}
.editor-foot{display:flex;gap:10px;flex-wrap:wrap;justify-content:flex-end;padding:6px 0 0}
.editor-foot .btn.danger{margin-right:auto}
.switch-line{display:flex;align-items:center;gap:11px;font-size:14px;color:#43434a;font-weight:600}

/* Üretim detayı satırları */
.opt-editor{display:flex;flex-direction:column;gap:12px}
.opt-row{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:12px;align-items:end;
  border:1px solid var(--line);background:#fafaf8;border-radius:16px;padding:14px}
.opt-main{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;min-width:0}
.opt-side{display:flex;align-items:center;gap:10px;padding-bottom:2px}
.opt-row .opt-req{display:inline-flex;align-items:center;gap:7px;font-size:12.5px;font-weight:700;color:#5f5f66;white-space:nowrap}
.opt-del{width:42px;height:42px;flex:none;border:1px solid var(--line);background:#fff;border-radius:12px;color:#c55;display:grid;place-items:center;cursor:pointer}
.opt-del:hover{background:#fdeceb;border-color:#f2cfcb}
.opt-del svg{width:15px;height:15px;fill:none;stroke:currentColor;stroke-width:2.2;stroke-linecap:round}
.opt-choices{grid-column:1/-1}
.opt-tools{display:flex;gap:8px;flex-wrap:wrap;margin-top:12px}

/* ---------- Bayilik başvurusu sayfası ---------- */
.apply-screen{max-width:940px;margin:0 auto;padding:24px max(18px,env(safe-area-inset-left)) 48px}
.apply-top{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:26px}
.apply-back{display:inline-flex;align-items:center;gap:7px;font-size:13.5px;font-weight:700;color:#5f5f66;text-decoration:none;border:1px solid var(--line);background:#fff;border-radius:11px;padding:9px 13px}
.apply-back:hover{background:#f5f5f2}
.apply-back svg{width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.apply-logo{width:132px}
.apply-hero{margin-bottom:22px}
.apply-hero h1{font-size:30px;letter-spacing:-1px;margin:6px 0 10px}
.apply-hero p{margin:0;color:#6b6b72;font-size:14.5px;line-height:1.65;max-width:640px}
.apply-steps{display:flex;gap:10px;flex-wrap:wrap;margin-top:20px}
.apply-steps div{display:flex;align-items:center;gap:9px;background:#fff;border:1px solid var(--line);border-radius:14px;padding:10px 14px;font-size:12.5px;font-weight:600;color:#5f5f66}
.apply-steps b{width:24px;height:24px;border-radius:8px;background:#171718;color:#fff;display:grid;place-items:center;font-size:12px}
.apply-card{background:#fff;border:1px solid var(--line);border-radius:24px;padding:26px 26px 22px}
.apply-actions{display:flex;align-items:center;gap:14px;flex-wrap:wrap;margin-top:22px;padding-top:20px;border-top:1px solid #f1f1ed}
.apply-actions small{font-size:12.5px;color:#84848a}
.apply-actions small.ok{color:#379b6e;font-weight:700}
.apply-benefits{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin-top:20px}
.apply-benefits div{background:#fff;border:1px solid var(--line);border-radius:18px;padding:18px;display:flex;flex-direction:column;gap:6px}
.apply-benefits svg{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round;color:#171718}
.apply-benefits b{font-size:13.5px}
.apply-benefits span{font-size:12px;color:#84848a;line-height:1.55}

/* Giriş ekranı · başvuru yönlendirme kutusu */
.login-apply{margin-top:22px;background:#faf9f6;border:1px solid #efeee9;border-radius:18px;padding:18px;display:flex;flex-direction:column;gap:8px}
.login-apply b{font-size:14px}
.login-apply span{font-size:12.5px;color:#7a7a80;line-height:1.6}
.login-apply .btn{align-self:flex-start;margin-top:4px}

/* ---------- Bildirim merkezi ---------- */
.notif-wrap{position:relative}
.notif-panel{position:absolute;right:0;top:calc(100% + 10px);width:min(380px,calc(100vw - 32px));z-index:70;
  background:#fff;border:1px solid var(--line);border-radius:20px;box-shadow:0 22px 60px #00000018;overflow:hidden}
.notif-head{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:14px 16px;border-bottom:1px solid #f2f2ee}
.notif-head b{font-size:14px}
.notif-head>div{display:flex;align-items:center;gap:6px}
.notif-close{width:30px;height:30px;border:0;background:#f5f5f2;border-radius:10px;display:grid;place-items:center;cursor:pointer;color:#6d6d73}
.notif-close svg{width:14px;height:14px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round}
.notif-list{max-height:min(56vh,420px);overflow:auto}
.notif-item{padding:14px 16px;border-bottom:1px solid #f6f6f3;position:relative}
.notif-item:last-child{border-bottom:0}
.notif-item b{display:block;font-size:13.5px;margin-bottom:4px;padding-right:14px}
.notif-item p{margin:0 0 6px;font-size:12.5px;color:#6b6b72;line-height:1.6}
.notif-item small{font-size:11px;color:#9a9aa0}
.notif-item.unseen{background:#faf9f4}
.notif-item.unseen::after{content:"";position:absolute;right:16px;top:17px;width:8px;height:8px;border-radius:50%;background:#e2703a}
.notif-item.k-success{box-shadow:inset 3px 0 0 #3d9970}
.notif-item.k-warning{box-shadow:inset 3px 0 0 #dd7639}
.notif-empty{display:flex;flex-direction:column;align-items:center;gap:8px;padding:34px 16px;color:#9a9aa0;font-size:12.5px}
.notif-empty svg{width:26px;height:26px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}
.notif-foot{padding:10px 16px;border-top:1px solid #f2f2ee;text-align:right}

/* ---------- Kenar çubuğu · çıkış ve profil ---------- */
.side-logout{display:flex;align-items:center;gap:10px;width:100%;margin:8px 0 14px;
  border:1px solid var(--line);background:#fff;border-radius:14px;padding:12px 14px;
  font-size:13.5px;font-weight:700;color:#b0473c;cursor:pointer;transition:.16s}
.side-logout:hover{background:#fdeceb;border-color:#f2cfcb}
.side-logout svg{width:18px;height:18px;flex:none;fill:none;stroke:currentColor;stroke-width:1.9;stroke-linecap:round;stroke-linejoin:round}
.side-foot .dealer{width:100%;text-align:left;border:1px solid var(--line);background:#fafaf8;border-radius:16px;padding:11px 12px;cursor:pointer;display:flex;align-items:center;gap:11px;transition:.16s}
.side-foot .dealer:hover{background:#f2f2ee}
.side-foot .dealer>div:nth-child(2){flex:1;min-width:0}
.side-foot .dealer b{display:block;font-size:13px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.side-foot .dealer small{font-size:11.5px;color:#8b8b91}
.side-foot .avatar{width:38px;height:38px;border-radius:12px;flex:none;overflow:hidden;display:grid;place-items:center;background:#efeee9;font-size:13px;font-weight:800;color:#5f5f66}
.side-foot .avatar img{width:100%;height:100%;object-fit:cover;display:block}
.dealer-go{color:#9a9aa0;display:grid;place-items:center}
.dealer-go svg{width:15px;height:15px;fill:none;stroke:currentColor;stroke-width:1.9;stroke-linecap:round;stroke-linejoin:round}

/* ---------- Profil sayfası ---------- */
.profile-grid{display:grid;gap:16px}
.profile-card{display:flex;align-items:center;gap:20px;flex-wrap:wrap}
.profile-avatar{display:flex;align-items:center;gap:16px;flex-wrap:wrap}
.pa-frame{width:86px;height:86px;border-radius:26px;overflow:hidden;flex:none;display:grid;place-items:center;
  background:#efeee9;color:#5f5f66;font-size:26px;font-weight:800;border:1px solid var(--line)}
.pa-frame img{width:100%;height:100%;object-fit:cover;display:block}
.pa-tools{display:flex;flex-direction:column;gap:8px;align-items:flex-start}
.pa-tools>*{margin:0}
.pa-tools small{font-size:11.5px;color:#8b8b91}
.profile-meta{margin-left:auto;text-align:right}
.profile-meta b{display:block;font-size:16px}
.profile-meta span{display:block;font-size:13px;color:#6b6b72;margin:3px 0}
.profile-meta small{font-size:11.5px;color:#9a9aa0}
.profile-actions{display:flex;gap:10px;flex-wrap:wrap;margin-top:18px;padding-top:16px;border-top:1px solid #f2f2ee}

/* ---------- Kurumsal alt bilgi ---------- */
.site-foot{display:block;border-top:1px solid var(--line);background:#fff;padding:0}
.foot-main{display:grid;grid-template-columns:1.6fr 1fr 1fr 1fr 1.3fr;gap:28px;
  max-width:1240px;margin:0 auto;padding:38px max(20px,env(safe-area-inset-left)) 30px}
.foot-col h4{font-size:12px;letter-spacing:1.4px;text-transform:uppercase;color:#8d8d93;margin:0 0 14px;font-weight:700}
.foot-col ul{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:9px}
.foot-col a{color:#43434a;text-decoration:none;font-size:13px;line-height:1.5}
.foot-col a:hover{color:#171718;text-decoration:underline}
.foot-brand p{margin:14px 0 16px;font-size:12.5px;color:#7a7a80;line-height:1.7;max-width:330px}
.foot-logo{width:150px}
.foot-wa{display:inline-flex;align-items:center;gap:9px;background:#25d366;color:#fff;border-radius:12px;
  padding:10px 14px;font-size:12.5px;font-weight:700;text-decoration:none}
.foot-wa:hover{background:#1fbe5a;color:#fff;text-decoration:none}
.foot-wa svg{width:18px;height:18px;fill:currentColor}
.foot-contact li{display:flex;gap:9px;align-items:flex-start;font-size:12.5px;color:#5f5f66;line-height:1.55}
.foot-contact .fi{flex:none;color:#9a9aa0;display:grid;place-items:center;margin-top:1px}
.foot-contact .fi svg{width:15px;height:15px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
.foot-badges{display:flex;flex-wrap:wrap;gap:7px;margin-top:16px}
.foot-badges span{display:inline-flex;align-items:center;gap:6px;background:#f6f6f3;border-radius:9px;padding:6px 9px;font-size:11px;font-weight:700;color:#5f5f66}
.foot-badges svg{width:13px;height:13px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.foot-bottom{border-top:1px solid #f1f1ed;display:flex;align-items:center;justify-content:space-between;gap:14px;flex-wrap:wrap;
  max-width:1240px;margin:0 auto;padding:16px max(20px,env(safe-area-inset-left)) calc(20px + env(safe-area-inset-bottom))}
.foot-bottom small{font-size:11.5px;color:#9a9aa0}
.foot-mini{display:flex;gap:14px;flex-wrap:wrap}
.foot-mini a{font-size:11.5px;color:#7a7a80;text-decoration:none}
.foot-mini a:hover{color:#171718;text-decoration:underline}

/* ---------- Duyarlı davranış ---------- */
@media(max-width:1080px){
.foot-main{grid-template-columns:repeat(3,minmax(0,1fr));gap:24px}
.foot-brand{grid-column:1/-1}
.foot-brand p{max-width:none}
}
@media(max-width:900px){
.editor-shell{padding:20px 16px 36px}
.editor-bar{margin:-20px -16px 20px;padding:14px 16px}
.editor-card{padding:20px 18px;border-radius:20px}
.apply-benefits{grid-template-columns:1fr}
}
@media(max-width:760px){
.editor-grid{grid-template-columns:1fr}
.opt-row{grid-template-columns:1fr;align-items:stretch}
.opt-main{grid-template-columns:1fr}
.opt-side{justify-content:space-between;padding:2px 0 0}
.editor-heads h1{font-size:19px}
.editor-bar-actions{width:100%}
.editor-bar-actions .btn{flex:1;justify-content:center}
.editor-foot{flex-direction:column-reverse}
.editor-foot .btn{width:100%;justify-content:center;margin:0}
.profile-card{flex-direction:column;align-items:flex-start}
.profile-meta{margin-left:0;text-align:left}
.profile-actions .btn{width:100%;justify-content:center}
.notif-panel{position:fixed;left:12px;right:12px;top:auto;bottom:calc(12px + env(safe-area-inset-bottom));width:auto;max-height:72vh}
.notif-list{max-height:52vh}
.foot-main{grid-template-columns:repeat(2,minmax(0,1fr));gap:22px;padding:28px 18px 22px}
.foot-bottom{padding:14px 18px calc(90px + env(safe-area-inset-bottom));justify-content:flex-start}
.apply-screen{padding:18px 14px 40px}
.apply-card{padding:20px 16px 18px;border-radius:20px}
.apply-hero h1{font-size:24px}
.apply-steps div{flex:1 1 100%}
}
@media(max-width:540px){
.foot-main{grid-template-columns:1fr}
.foot-mini{gap:10px}
.pa-frame{width:74px;height:74px;border-radius:22px;font-size:22px}
.pa-tools{width:100%}
.pa-tools .btn{width:100%;justify-content:center}
}

/* ===========================================================
   Son katman · onay kutusu sağlamlaştırma ve küçük düzeltmeler
   (dosyanın sonunda olduğu için tüm kuralları güvenle geçersiz kılar)
   =========================================================== */
.ef input[type=checkbox],.ef input[type=radio],
.field input[type=checkbox],.field input[type=radio],
.opt-row input[type=checkbox],.opt-req input[type=checkbox],
.check-line input[type=checkbox],.consents input[type=checkbox],
.switch-line input[type=checkbox],.pay-opt input[type=radio],
.data-table input[type=checkbox]{
  width:19px;height:19px;min-width:19px;max-width:19px;flex:0 0 19px;
  margin:0;padding:0;border:0;border-radius:0;background:none;box-shadow:none;
  accent-color:#171718;-webkit-appearance:auto;appearance:auto;vertical-align:middle;cursor:pointer
}
.switch-line input[type=checkbox]{width:20px;height:20px;min-width:20px;max-width:20px;flex:0 0 20px}

/* Bildirim rozeti gizlenebilsin */
.icon-btn i[hidden],[hidden]{display:none!important}

/* Bildirim zili mobilde de görünür kalsın */
@media(max-width:900px){
.icon-btn{display:grid}
.top-actions{gap:8px}
}
@media(max-width:420px){
.topbar .btn.open-order .label,.topbar .btn#cartBtn .label{display:none}
}
