/* Dogtra Turkiye - hesap / odeme / panel sayfalari */
* { box-sizing: border-box; }
body { margin: 0; background: #f4f4f2; color: #111; font: 15px/1.5 Montserrat, "Segoe UI", Arial, sans-serif; }
a { color: #111; }
h1 { font-size: 26px; margin: 0 0 14px; }
h2 { font-size: 18px; margin: 22px 0 10px; }
h2 small { font-weight: 400; color: #777; font-size: 13px; }
.tp-wrap { max-width: 1100px; margin: 0 auto; padding: 0 16px; }
.tp-main { padding-top: 28px; padding-bottom: 48px; min-height: 70vh; }
.tp-head { background: #000; color: #fff; }
.tp-head .tp-wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 64px; flex-wrap: wrap; }
.tp-logo { color: #fff; text-decoration: none; font-weight: 800; font-style: italic; font-size: 26px; letter-spacing: -.02em; }
.tp-logo span { margin-left: 8px; font-style: normal; font-size: 12px; font-weight: 700; color: #ffe500; text-transform: uppercase; letter-spacing: .08em; }
.tp-nav { display: flex; gap: 18px; flex-wrap: wrap; }
.tp-nav a { color: #fff; text-decoration: none; font-weight: 600; font-size: 14px; }
.tp-nav a:hover { color: #ffe500; }
.tp-foot { background: #111; color: #aaa; font-size: 13px; padding: 18px 0; }

.tp-card { background: #fff; border-radius: 14px; padding: 24px; margin-bottom: 18px; box-shadow: 0 1px 3px rgba(0,0,0,.06); }
.tp-narrow { max-width: 460px; margin-left: auto; margin-right: auto; }
.tp-muted { color: #777; font-size: 13px; }
.tp-grid { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 18px; align-items: start; }
@media (max-width: 860px) { .tp-grid { grid-template-columns: 1fr; } }
.tp-scroll { overflow-x: auto; }

.tp-form { display: grid; gap: 14px; }
.tp-form label { display: grid; gap: 6px; font-weight: 600; font-size: 14px; }
.tp-form label small { font-weight: 400; color: #777; }
.tp-form input:not([type=checkbox]):not([type=radio]), .tp-form textarea, .tp-form select, .tp-search input {
  width: 100%; padding: 11px 12px; border: 1px solid #ccc; border-radius: 9px; font: inherit; font-weight: 400; background: #fff;
}
.tp-form input:focus, .tp-form textarea:focus, .tp-form select:focus { outline: 2px solid #ffe500; border-color: #111; }
.tp-form--grid { grid-template-columns: 1fr 1fr; }
@media (max-width: 640px) { .tp-form--grid { grid-template-columns: 1fr; } }
.tp-two { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.tp-check, .tp-radio { display: flex !important; gap: 10px; align-items: flex-start; font-weight: 400 !important; }
.tp-check input, .tp-radio input { margin-top: 4px; width: 18px; height: 18px; flex: none; }

.tp-btn { display: inline-block; padding: 12px 22px; border: 0; border-radius: 10px; background: #ffe500; color: #111; font: inherit; font-weight: 800; text-decoration: none; cursor: pointer; text-align: center; }
.tp-btn:hover { filter: brightness(1.05); }
.tp-btn--big { padding: 16px; font-size: 16px; text-transform: uppercase; letter-spacing: .03em; width: 100%; }
.tp-btn--ghost { background: #eee; }
.tp-actions { display: grid; grid-template-columns: auto 1fr; gap: 10px; }
@media (max-width: 520px) { .tp-actions { grid-template-columns: 1fr; } }
.tp-link { margin-left: 12px; }
.tp-alt { margin-top: 16px; }

.tp-alert { padding: 12px 14px; border-radius: 9px; margin-bottom: 14px; }
.tp-alert--err { background: #fde8e8; color: #9b1c1c; }
.tp-alert--ok { background: #e6f6ea; color: #1d6b34; }

.tp-table { width: 100%; border-collapse: collapse; }
.tp-table th, .tp-table td { padding: 10px 8px; border-bottom: 1px solid #eee; text-align: left; vertical-align: top; }
.tp-table thead th { font-size: 12px; text-transform: uppercase; letter-spacing: .04em; color: #777; }
.tp-table .r { text-align: right; white-space: nowrap; }
.tp-table tfoot th { border-bottom: 0; }
.tp-price { width: 110px !important; padding: 7px 9px !important; border: 1px solid #ccc; border-radius: 7px; font: inherit; }

.tp-badge { display: inline-block; padding: 3px 9px; border-radius: 999px; font-size: 12px; font-weight: 700; background: #eee; white-space: nowrap; }
.tp-badge--odeme_bekleniyor { background: #fff4c2; color: #7a5c00; }
.tp-badge--odendi { background: #dbeafe; color: #1e40af; }
.tp-badge--kargolandi { background: #ede9fe; color: #5b21b6; }
.tp-badge--tamamlandi { background: #dcfce7; color: #166534; }
.tp-badge--iptal { background: #fee2e2; color: #991b1b; }
.tp-badge--kart_bekleniyor { background: #f1f1ef; color: #666; }

.tp-lines { list-style: none; margin: 0; padding: 0; }
.tp-lines li { display: flex; justify-content: space-between; gap: 10px; padding: 10px 0; border-bottom: 1px solid #eee; font-size: 14px; }
.tp-lines small { color: #777; }
.tp-total { display: flex; justify-content: space-between; margin-top: 12px; font-size: 16px; }
.tp-total strong { font-size: 20px; }
.tp-total--try strong { color: #111; background: #ffe500; padding: 0 6px; border-radius: 6px; }

.tp-pay { background: #111; color: #fff; border-radius: 12px; padding: 18px; margin: 14px 0; text-align: center; }
.tp-pay .tp-muted { color: #bbb; }
.tp-pay__try { font-size: 32px; font-weight: 800; color: #ffe500; }
.tp-banks { display: grid; gap: 10px; margin: 14px 0; }
.tp-bank { border: 2px solid #111; border-radius: 12px; padding: 14px 16px; }
.tp-bank__name { font-weight: 800; }
.tp-bank__holder { font-size: 14px; }
.tp-bank__iban { margin-top: 4px; font-size: 14px; }
.tp-bank__iban span { font-family: Consolas, monospace; font-size: 16px; font-weight: 700; user-select: all; word-break: break-all; }

.tp-done { max-width: 640px; margin: 0 auto; text-align: center; }
.tp-done .tp-banks { text-align: left; }
.tp-done__icon { width: 64px; height: 64px; margin: 0 auto 10px; border-radius: 50%; background: #ffe500; font-size: 34px; line-height: 64px; font-weight: 800; }
.tp-orderno { display: inline-block; font-size: 28px; font-weight: 800; letter-spacing: .04em; padding: 6px 16px; border: 2px dashed #111; border-radius: 10px; margin-bottom: 8px; }

.tp-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 12px; }
.tp-tabs a, .tp-pager a { padding: 7px 12px; border-radius: 999px; background: #fff; text-decoration: none; font-size: 13px; font-weight: 600; }
.tp-tabs a.is-on, .tp-pager a.is-on { background: #111; color: #ffe500; }
.tp-search { display: flex; gap: 8px; margin-bottom: 14px; max-width: 520px; }
.tp-legal h2 { margin-top: 30px; }
.tp-legal p { font-size: 14px; }

/* Fatura alt formu, banka secimi */
.tp-subform { display: grid; gap: 14px; padding: 14px; border-radius: 10px; background: #f6f6f4; }
.tp-subform[hidden] { display: none; }
.tp-bank--pick { display: flex !important; gap: 14px; align-items: flex-start; cursor: pointer; border-color: #ddd; font-weight: 400 !important; }
.tp-bank--pick > span { display: grid; gap: 2px; }
.tp-bank--pick input { width: 20px; height: 20px; margin-top: 2px; flex: none; accent-color: #111; }
.tp-bank--pick:has(input:checked) { border-color: #111; background: #fffbd6; box-shadow: 0 0 0 2px #ffe500 inset; }
.tp-bank--chosen { background: #fffbd6; }
.tp-recap { font-size: 14px; color: #444; display: grid; gap: 4px; padding: 12px 14px; background: #f6f6f4; border-radius: 10px; margin-bottom: 14px; }

/* Kucuk urun gorselleri */
.tp-thumb { width: 56px; height: 56px; flex: none; object-fit: contain; background: #f4f4f2; border-radius: 8px; display: inline-block; }
.tp-thumb--empty { background: #eee; }
.tp-lines li { align-items: center; }
.tp-lines .tp-thumb { width: 48px; height: 48px; }
.tp-lines__name { flex: 1; min-width: 0; }
.tp-itemcell { display: flex; gap: 12px; align-items: center; }

/* Sepet sayfasi */
.tp-qty { display: inline-flex; align-items: center; border: 1px solid #ccc; border-radius: 9px; overflow: hidden; }
.tp-qty button { width: 34px; height: 36px; border: 0; background: #fff; font-size: 18px; cursor: pointer; }
.tp-qty button:hover { background: #ffe500; }
.tp-qty span { min-width: 30px; text-align: center; font-weight: 700; }
.tp-carttable td { vertical-align: middle; }
.tp-cartname { font-weight: 700; text-decoration: none; }
.tp-strong { font-weight: 800; }
.tp-linkbtn { border: 0; background: none; color: #999; text-decoration: underline; cursor: pointer; font: inherit; font-size: 13px; }
.tp-cartfoot { max-width: 380px; margin-left: auto; margin-top: 16px; }
.tp-center { text-align: center; }
@media (max-width: 640px) {
  .tp-carttable thead { display: none; }
  .tp-carttable tr { display: grid; grid-template-columns: 1fr auto auto; gap: 8px 12px; align-items: center; padding: 12px 0; border-bottom: 1px solid #eee; }
  .tp-carttable td { border: 0; padding: 0; }
  .tp-carttable td:first-child { grid-column: 1 / -1; }
  .tp-cartfoot { max-width: none; }
}
/* Fatura kutucugu + Ayarlar sekmeleri */
.tp-check--box { padding: 12px 14px; border: 1px solid #ddd; border-radius: 10px; background: #fafaf8; }
.tp-subform h2 { margin: 0; }
.tp-settabs { margin: 4px 0 16px; padding-bottom: 12px; border-bottom: 1px solid #e5e5e0; }
.tp-settabs a { padding: 9px 16px; font-size: 14px; }
.tp-setcard { max-width: 640px; gap: 16px; }
.tp-setcard h2 { margin: 0; }
.tp-setcard .tp-muted { margin: -6px 0 4px; }
.tp-short { max-width: 180px; }
.tp-mono { font-family: Consolas, Menlo, monospace; font-size: 13px; }
@media (max-width: 560px) { .tp-settabs a { flex: 1 1 45%; text-align: center; } }
/* Odeme 2. adim: teslimat / fatura ozet kutulari */
.tp-recap--two { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; padding: 0; background: none; }
.tp-recapbox { padding: 12px 14px; background: #f6f6f4; border-radius: 10px; line-height: 1.55; overflow-wrap: anywhere; }
.tp-recapbox h3 { margin: 0 0 6px; font-size: 12px; text-transform: uppercase; letter-spacing: .04em; color: #777; }
.tp-recapbox strong { color: #111; }
@media (max-width: 560px) { .tp-recap--two { grid-template-columns: 1fr; } }
/* Panel: uyeler */
.tp-kv { width: 100%; border-collapse: collapse; font-size: 14px; margin-bottom: 8px; }
.tp-kv th { text-align: left; width: 140px; color: #777; font-weight: 600; padding: 6px 10px 6px 0; vertical-align: top; }
.tp-kv td { padding: 6px 0; overflow-wrap: anywhere; }
.tp-kv tr + tr th, .tp-kv tr + tr td { border-top: 1px solid #eee; }
.tp-btn--danger { background: #b91c1c !important; color: #fff !important; }
.tp-list { margin: 0; padding-left: 18px; line-height: 1.8; font-size: 14px; }
.tp-row-blocked td { background: #fff5f5; }
aside.tp-card form { margin-bottom: 10px; }
aside.tp-card form .tp-btn { width: 100%; }
/* Panel giris kodu */
.tp-otp { font-size: 26px !important; letter-spacing: 8px; text-align: center; font-family: Consolas, Menlo, monospace; }
.tp-otp-links { display: flex; justify-content: space-between; margin-top: 14px; }
/* Panel siparis listesi: ozet kartlari, filtre, sayfalama */
.tp-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.tp-range { background: #111; color: #ffe500; padding: 5px 12px; border-radius: 999px; font-size: 13px; font-weight: 700; }
.tp-stats { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; margin: 14px 0 16px; }
.tp-stat { background: #fff; border-radius: 14px; padding: 16px 18px; box-shadow: 0 1px 3px rgba(0,0,0,.06); border-top: 4px solid #e5e5e5; min-width: 0; }
.tp-stat--main { background: #111; color: #fff; border-top-color: #ffe500; }
.tp-stat--main .tp-stat__l, .tp-stat--main .tp-stat__s { color: #bbb; }
.tp-stat--main .tp-stat__v { color: #ffe500; }
.tp-stat--ok { border-top-color: #22a04b; }
.tp-stat--wait { border-top-color: #f0b400; }
.tp-stat--bad { border-top-color: #d33; }
.tp-stat__l { font-size: 12px; text-transform: uppercase; letter-spacing: .04em; color: #777; font-weight: 700; }
.tp-stat__l small { text-transform: none; font-weight: 400; letter-spacing: 0; }
.tp-stat__v { font-size: 22px; font-weight: 800; margin: 6px 0 2px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tp-stat__v small { font-size: 13px; font-weight: 600; color: #777; }
.tp-stat__s { font-size: 12px; color: #777; }
.tp-filter { padding: 16px 18px; }
.tp-presets { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 12px; }
.tp-presets a { padding: 6px 12px; border-radius: 999px; background: #f2f2ef; text-decoration: none; font-size: 13px; font-weight: 600; color: #333; }
.tp-presets a:hover { background: #e8e8e4; }
.tp-presets a.is-on { background: #ffe500; color: #111; }
.tp-filter__row { display: flex; flex-wrap: wrap; gap: 10px; align-items: flex-end; }
.tp-filter__row label { display: flex; flex-direction: column; gap: 4px; font-size: 12px; font-weight: 700; color: #555; }
.tp-filter__row input, .tp-filter__row select { padding: 9px 10px; border: 1px solid #ddd; border-radius: 8px; font: inherit; font-size: 14px; background: #fff; }
.tp-filter__q { flex: 1 1 220px; }
.tp-filter__btns { display: flex; gap: 8px; }
.tp-filter__btns .tp-btn { padding: 10px 18px; }
.tp-table tbody tr:hover { background: #fafaf7; }
.tp-table tr.is-cancel td { opacity: .55; }
.tp-table tfoot th { padding-top: 14px; font-size: 15px; border-top: 2px solid #111; }
.tp-pagebar { display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; margin-top: 14px; }
.tp-pager { display: flex; flex-wrap: wrap; gap: 4px; align-items: center; }
.tp-pager a { background: #f2f2ef; min-width: 34px; text-align: center; }
.tp-pager span { padding: 0 4px; color: #999; }
.tp-empty { text-align: center; color: #777; padding: 24px 0; margin: 0; }
@media (max-width: 1100px) { .tp-stats { grid-template-columns: repeat(3, minmax(0, 1fr)); } .tp-stat--main { grid-column: span 3; } }
@media (max-width: 640px) {
  .tp-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); } .tp-stat--main { grid-column: span 2; }
  .tp-filter__row label { flex: 1 1 45%; } .tp-filter__q { flex-basis: 100%; } .tp-filter__btns { flex-basis: 100%; } .tp-filter__btns .tp-btn { flex: 1; }
}
.tp-head { background: #111; border-radius: 14px; padding: 14px 20px; align-items: center; }
.tp-head h1 { margin: 0; color: #fff; }
@media (max-width: 640px) { .tp-stat { padding: 14px; } .tp-stat__v { font-size: 17px; white-space: normal; overflow: visible; } .tp-head h1 { font-size: 22px; } }

/* Teslimat suresi kutusu (sepet sayfasi + odeme ozeti) */
.tp-ship,.tr-ship{display:flex;align-items:center;gap:10px;margin:12px 0;padding:9px 12px;background:#fffbe0;border:1px solid #f3e27a;border-radius:8px;color:#222;font-size:14px;line-height:1.3}.tp-ship .ic,.tr-ship .ic{flex:0 0 28px;width:28px;height:28px;border-radius:50%;background:#ffe500;color:#111;display:flex;align-items:center;justify-content:center;font-style:normal}.tp-ship .ic svg,.tr-ship .ic svg{display:block}.tp-ship b,.tr-ship b{font-weight:700;color:#111}

/* Odeme yontemi secimi */
.tp-pm { display: grid; gap: 10px; }
.tp-pm__opt { align-items: center; padding: 12px 14px; border: 1px solid #ddd; border-radius: 10px; background: #fff; cursor: pointer; }
.tp-pm__opt:has(input:checked) { border-color: #111; box-shadow: inset 0 0 0 1px #111; }
.tp-pm__opt input { margin-top: 0; }
.tp-pm__txt { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.tp-pm__txt small { color: #777; }
.tp-pm__logos { display: inline-flex; gap: 6px; margin-left: auto; }
.tp-pm__logos i { display: inline-flex; align-items: center; justify-content: center; width: 54px; height: 34px; border: 1px solid #e3e3e3; border-radius: 6px; background: #fff; }
.tp-cardnote { margin: 0; padding: 10px 12px; border: 1px solid #f3e27a; border-radius: 8px; background: #fffbe0; font-size: 13.5px; }
.tp-form input:not([type=checkbox]):not([type=radio]):disabled { background: #efefec; color: #777; cursor: not-allowed; }
.tp-cardsafe, .tp-legalnote { margin: 0; }
.tp-form button:disabled { opacity: .45; cursor: not-allowed; }
@media (max-width: 480px) {
  .tp-pm__logos i { width: 46px; }
  .tp-pm__logos svg { max-width: 38px; }
}

/* Havale/EFT %5 indirim (KDV haric tutar uzerinden) */
.tp-disc-badge { display: inline-block; margin-left: 6px; padding: 1px 7px; border-radius: 999px; background: #ffe500; color: #111; font-size: 12px; font-weight: 700; vertical-align: 1px; }
.tp-brk { margin-top: 12px; border-top: 1px solid #eee; padding-top: 8px; font-size: 14px; }
.tp-brk div { display: flex; justify-content: space-between; gap: 10px; padding: 3px 0; }
.tp-brk .tp-brk__disc { color: #0a7a2f; font-weight: 700; }
.tp-brk .tp-brk__old { color: #888; text-decoration: line-through; }
.tp-pay__old { color: #bbb; text-decoration: line-through; font-size: 15px; }
.tp-pay__disc { display: inline-block; margin-top: 6px; padding: 2px 10px; border-radius: 999px; background: #ffe500; color: #111; font-size: 13px; font-weight: 700; }
@media (max-width: 480px) {
  .tp-pm__opt { flex-wrap: wrap; }
  .tp-pm__logos { margin-left: 28px; }
  .tp-pm__logos i { width: 44px; height: 30px; }
  .tp-pm__logos svg { max-width: 36px; }
}
.tp-total--disc { margin-top: 4px; font-size: 15px; color: #0a7a2f; } .tp-total--disc strong { font-size: 18px; color: #0a7a2f; }

/* Bayi basvurusu */
.tp-mid { max-width: 760px; margin-left: auto; margin-right: auto; }
.tp-acclinks { display: flex; flex-wrap: wrap; gap: 8px; }
.tp-fs { border: 1px solid #ddd; border-radius: 10px; padding: 10px 14px 12px; margin: 0; display: grid; gap: 8px; }
.tp-fs legend { font-weight: 600; font-size: 14px; padding: 0 6px; }
.tp-reply { background: #fffbe0; border-left: 4px solid #ffe500; border-radius: 8px; padding: 12px 16px; margin: 14px 0; }
.tp-reply p { margin: 6px 0 0; }
.tp-navcount { display: inline-block; min-width: 18px; padding: 0 6px; border-radius: 999px; background: #ffe500; color: #111; font-size: 12px; text-align: center; }
.tp-badge--d-alindi { background: #fff4c2; color: #7a5c00; }
.tp-badge--d-degerlendirmede { background: #dbeafe; color: #1e40af; }
.tp-badge--d-onaylandi { background: #dcfce7; color: #166534; }
.tp-badge--d-reddedildi { background: #fee2e2; color: #991b1b; }
.tp-steps { list-style: none; display: flex; gap: 0; padding: 0; margin: 18px 0; counter-reset: s; }
.tp-steps li { flex: 1; position: relative; text-align: center; font-size: 13px; font-weight: 600; color: #999; padding-top: 4px; }
.tp-steps li span { display: flex; align-items: center; justify-content: center; width: 32px; height: 32px; margin: 0 auto 6px; border-radius: 50%; background: #eee; color: #999; font-weight: 800; position: relative; z-index: 1; }
.tp-steps li + li::before { content: ""; position: absolute; top: 20px; right: 50%; width: 100%; height: 3px; background: #eee; }
.tp-steps li.is-done, .tp-steps li.is-now { color: #111; }
.tp-steps li.is-done span { background: #111; color: #ffe500; }
.tp-steps li.is-now span { background: #ffe500; color: #111; box-shadow: 0 0 0 4px #fff4c2; }
.tp-steps li.is-done + li::before, .tp-steps li.is-done + li.is-now::before { background: #111; }
.tp-steps li.is-ok span { background: #22a04b; color: #fff; box-shadow: 0 0 0 4px #dcfce7; }
.tp-steps li.is-bad span { background: #d33; color: #fff; box-shadow: 0 0 0 4px #fee2e2; }
@media (max-width: 560px) { .tp-two { grid-template-columns: 1fr; } .tp-steps li { font-size: 11px; } }
.tp-nav a.tp-nav-dealer { color: #ffe500; }
.tp-nav a.tp-nav-dealer:hover { color: #fff; }

/* Google ile giris */
.tp-google { display: flex; align-items: center; justify-content: center; gap: 10px; width: 100%; padding: 11px 16px; border: 1px solid #dadce0; border-radius: 10px; background: #fff; color: #1f1f1f; font-weight: 600; font-size: 15px; text-decoration: none; }
.tp-google:hover { background: #f8f9fa; border-color: #c6c9cc; }
.tp-google svg { flex: none; }
.tp-or { display: flex; align-items: center; gap: 12px; margin: 16px 0; color: #999; font-size: 13px; }
.tp-or::before, .tp-or::after { content: ""; flex: 1; height: 1px; background: #e3e3e0; }
