/* ============================================================================
   Müşteri Sipariş Paneli — Tabler tarzı görünüm (preview.tabler.io referansı)
   Yalnız Hesabım / Teklif / Sepet / Ödeme sayfalarında yüklenir (app.css'ten SONRA).
   - Nav başlığı + sekmeler: YENİ .thpn-* namespace (çakışmasız, buradan stillenir).
   - İçerik (pano/teklif listesi/detay/teslim/destek): mevcut .th-* / WC markup'ı
     body.woocommerce-account altında Tabler'e override edilir.
   Marka: navy #05164d birincil, sarı #ffad1d mikro-vurgu; Tabler nötrleri + yumuşak gölge.
   ============================================================================ */

.thpn {
  --tb-navy: #05164d;
  --tb-navy-2: #132b66;
  --tb-accent: #ffad1d;
  --tb-ink: #1a2540;
  --tb-muted: #667382;
  --tb-line: #e6e8ec;
  --tb-hair: #f0f2f5;
  --tb-tint: #f7f9fc;
  --tb-card-sh: 0 1px 2px rgba(15, 23, 42, .05);
  --tb-card-sh-h: 0 6px 18px rgba(15, 23, 42, .10);
  --tb-radius: 10px;
  margin: 4px 0 6px;
}

/* ── Başlık kartı ────────────────────────────────────────────────── */
.thpn-hdr {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px 20px;
  background: #fff;
  border: 1px solid var(--tb-line);
  border-radius: var(--tb-radius);
  box-shadow: var(--tb-card-sh);
  padding: 15px 20px;
}
.thpn-id { display: flex; align-items: center; gap: 14px; min-width: 0; }
.thpn-avatar {
  flex-shrink: 0;
  width: 46px; height: 46px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, #0a2a72 0%, var(--tb-navy) 100%);
  color: #fff; font-size: 19px; font-weight: 700; line-height: 1;
  box-shadow: 0 0 0 3px rgba(255, 173, 29, .20);
}
.thpn-idtxt { display: flex; flex-direction: column; min-width: 0; }
.thpn-pretitle {
  text-transform: uppercase;
  letter-spacing: .09em;
  font-size: 11px; font-weight: 700;
  color: var(--tb-muted);
  line-height: 1.3;
}
.thpn-name { font-size: 16px; color: var(--tb-ink); line-height: 1.35; }
.thpn-name strong { color: var(--tb-navy); font-weight: 700; }

.thpn-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.thpn-act {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 7px 12px;
  border: 1px solid var(--tb-line);
  border-radius: 7px;
  background: #fff;
  color: #46536b;
  font-size: 13px; font-weight: 600;
  text-decoration: none;
  transition: background .14s ease, border-color .14s ease, color .14s ease;
  white-space: nowrap;
}
.thpn-act .material-icons { font-size: 17px; color: #8a94a6; transition: color .14s ease; }
.thpn-act:hover { background: var(--tb-tint); border-color: #cfd6e2; color: var(--tb-navy); }
.thpn-act:hover .material-icons { color: var(--tb-navy); }
.thpn-out:hover { color: #c0341d; border-color: #eab7ae; background: #fdf3f1; }
.thpn-out:hover .material-icons { color: #c0341d; }
.thpn-badge {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 18px; height: 18px; padding: 0 5px; margin-left: 1px;
  background: #05164d; /* sabit: .thpn kapsayıcısı DIŞINDA da (üst şerit/mobil menü) çalışır */
  color: #fff;
  border-radius: 999px; font-size: 11px; font-weight: 700; line-height: 1;
}
/* Şerit içi kompakt hap (üst utility bar — 40px yüksekliğe sığar).
   .thpn kapsayıcısı dışında da çalışır: renkler sabit değerlerle. */
.thpn-act.thpn-act--sm {
  padding: 3px 9px; font-size: 12px; gap: 5px;
  border: 1px solid #e6e8ec; border-radius: 7px; background: #fff; color: #46536b;
}
.thpn-act.thpn-act--sm .material-icons { font-size: 14px; }
.thpn-act.thpn-act--sm .thpn-badge { min-width: 16px; height: 16px; font-size: 10px; background: #05164d; }
.thpn-act.thpn-act--sm:hover { background: #f7f9fc; border-color: #cfd6e2; color: #05164d; }

/* ── Sekme çubuğu (Tabler alt-çizgi sekmeleri) ───────────────────── */
.thpn-tabs {
  display: flex; gap: 2px;
  border-bottom: 1px solid var(--tb-line);
  margin: 16px 0 24px;
  overflow-x: auto;
  scrollbar-width: none; -ms-overflow-style: none;
}
.thpn-tabs::-webkit-scrollbar { height: 0; width: 0; display: none; }
.thpn-tab {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 11px 14px;
  margin-bottom: -1px;
  border-bottom: 2px solid transparent;
  color: #55627a; font-size: 14px; font-weight: 600;
  text-decoration: none; white-space: nowrap;
  transition: color .14s ease, border-color .14s ease;
}
.thpn-tab .material-icons { font-size: 18px; color: #9aa3b5; transition: color .14s ease; }
.thpn-tab:hover { color: var(--tb-navy); }
.thpn-tab:hover .material-icons { color: var(--tb-navy); }
.thpn-tab.is-active { color: var(--tb-navy); font-weight: 700; border-bottom-color: var(--tb-navy); }
.thpn-tab.is-active .material-icons { color: var(--tb-navy); }
.thpn-tab--cta .material-icons { color: var(--tb-accent); }
.thpn-tab--cta:hover .material-icons,
.thpn-tab--cta.is-active .material-icons { color: var(--tb-accent); }

@media (max-width: 640px) {
  .thpn-hdr { padding: 14px 16px; }
  .thpn-actions { width: 100%; }
  .thpn-act { flex: 1 1 auto; justify-content: center; }
  .thpn-tab span:not(.material-icons) { font-size: 13px; }
}

/* ════════════════════════════════════════════════════════════════════
   HESAP İÇERİĞİ — mevcut markup'ı Tabler kartlarına dönüştür
   (app.css'in navy üst-şerit/köşesiz/gölgesiz stilini geçersiz kıl)
   ════════════════════════════════════════════════════════════════════ */
body.woocommerce-account {
  --tb-navy: #05164d;
  --tb-ink: #1a2540;
  --tb-muted: #667382;
  --tb-line: #e6e8ec;
  --tb-hair: #f0f2f5;
  --tb-tint: #f7f9fc;
}

/* Sayfa başlığı h1 + sarı çubuk: Tabler'de daha yumuşak */
body.woocommerce-account .woocommerce-MyAccount-content h1,
body.woocommerce-account section > div > h1 { color: var(--tb-ink) !important; }

/* KPI kutuları */
body.woocommerce-account .th-stat-grid { gap: 16px !important; }
body.woocommerce-account .th-stat {
  position: relative;
  border: 1px solid var(--tb-line) !important;
  border-top: 1px solid var(--tb-line) !important;
  border-radius: 10px !important;
  background: #fff !important;
  padding: 16px 18px !important;
  box-shadow: 0 1px 2px rgba(15, 23, 42, .05) !important;
  transition: box-shadow .15s ease, transform .15s ease;
}
body.woocommerce-account .th-stat:hover {
  box-shadow: 0 6px 18px rgba(15, 23, 42, .10) !important;
  transform: translateY(-1px) !important;
}
body.woocommerce-account .th-stat .ic {
  position: absolute; top: 14px; right: 14px;
  width: 38px; height: 38px; border-radius: 9px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(5, 22, 77, .07); color: var(--tb-navy) !important;
  font-size: 20px !important;
}
body.woocommerce-account .th-stat .num {
  font-size: 27px !important; font-weight: 800 !important;
  color: var(--tb-ink) !important; margin-top: 2px;
}
body.woocommerce-account .th-stat .lbl {
  text-transform: uppercase; letter-spacing: .05em;
  font-size: 11.5px !important; font-weight: 700; color: var(--tb-muted) !important;
}

/* Hızlı işlem kartları */
body.woocommerce-account .th-acc-card {
  border: 1px solid var(--tb-line) !important;
  border-top: 1px solid var(--tb-line) !important;
  border-radius: 10px !important;
  box-shadow: 0 1px 2px rgba(15, 23, 42, .05);
  transition: box-shadow .15s ease, transform .15s ease;
}
body.woocommerce-account .th-acc-card:hover {
  box-shadow: 0 6px 18px rgba(15, 23, 42, .10) !important; transform: translateY(-1px);
}
body.woocommerce-account .th-acc-card .material-icons {
  width: 40px; height: 40px; border-radius: 9px; font-size: 22px !important;
  display: flex; align-items: center; justify-content: center;
  background: rgba(5, 22, 77, .07);
}

/* Pano bölümü = Tabler kart (h3 = kart başlığı; liste = çerçevesiz gövde → iç-içe kart yok) */
body.woocommerce-account .th-dash-section {
  margin: 0 0 18px !important;
  border: 1px solid var(--tb-line) !important;
  border-radius: 10px !important;
  background: #fff !important;
  padding: 0 !important;
  overflow: hidden;
  box-shadow: 0 1px 2px rgba(15, 23, 42, .05) !important;
}
body.woocommerce-account .th-dash-section > h3 {
  border: 0 !important; border-bottom: 1px solid var(--tb-line) !important;
  margin: 0 !important; padding: 13px 16px !important;
  display: block !important; background: #fff !important;
  color: var(--tb-ink) !important; font-size: 14px !important; font-weight: 700 !important;
}
body.woocommerce-account .th-orders-list {
  border: 0 !important; background: transparent !important; border-radius: 0 !important;
}
body.woocommerce-account .th-order-row {
  border-bottom: 1px solid var(--tb-hair) !important;
  padding: 12px 16px !important;
  transition: background .12s ease;
}
body.woocommerce-account .th-order-row:first-child { padding-top: 12px !important; }
body.woocommerce-account .th-order-row:last-child { border-bottom: 0 !important; }
body.woocommerce-account .th-order-row:hover { background: var(--tb-tint); }

/* Rozetler — Tabler ölçüsü (renk PHP'de inline; şekil/boyut burada) */
body.woocommerce-account .th-badge {
  border-radius: 6px !important;
  padding: 3px 9px !important;
  font-size: 11px !important;
  font-weight: 600 !important;
  letter-spacing: .01em;
}
body.woocommerce-account .th-row-link { color: var(--tb-navy) !important; }

/* WooCommerce sipariş/teklif tabloları → Tabler tablo */
body.woocommerce-account .woocommerce-orders-table,
body.woocommerce-account table.shop_table {
  border: 1px solid var(--tb-line) !important;
  border-radius: 10px !important;
  border-collapse: separate !important;
  border-spacing: 0 !important;
  overflow: hidden;
  background: #fff !important;
  box-shadow: 0 1px 2px rgba(15, 23, 42, .05) !important;
}
body.woocommerce-account .woocommerce-orders-table thead th,
body.woocommerce-account table.shop_table thead th {
  background: var(--tb-tint) !important;
  text-transform: uppercase; letter-spacing: .04em;
  font-size: 11px !important; font-weight: 700 !important; color: var(--tb-muted) !important;
  padding: 11px 14px !important;
  border: 0 !important; border-bottom: 1px solid var(--tb-line) !important;
}
body.woocommerce-account .woocommerce-orders-table td,
body.woocommerce-account table.shop_table td {
  padding: 13px 14px !important;
  border: 0 !important; border-bottom: 1px solid var(--tb-hair) !important;
  font-size: 14px; color: #3a465c; vertical-align: middle;
}
body.woocommerce-account .woocommerce-orders-table tbody tr:last-child td,
body.woocommerce-account table.shop_table tbody tr:last-child td { border-bottom: 0 !important; }
body.woocommerce-account .woocommerce-orders-table tbody tr:hover td { background: var(--tb-tint) !important; }
/* Teklif/sipariş DETAY 2-sütun tablo: sol satır-başlıkları yumuşak */
body.woocommerce-account table.shop_table tbody th {
  background: #fafbfc !important;
  color: #55627a !important; font-weight: 600 !important;
  padding: 13px 14px !important;
  border: 0 !important; border-bottom: 1px solid var(--tb-hair) !important;
}

/* "Görüntüle" vb. WC butonları → Tabler outline */
body.woocommerce-account .woocommerce-orders-table .button,
body.woocommerce-account td .woocommerce-button.button {
  background: #fff !important; color: var(--tb-navy) !important;
  border: 1px solid #cfd6e2 !important; border-radius: 7px !important;
  padding: 7px 14px !important; font-size: 13px !important; font-weight: 600 !important;
  box-shadow: none !important; transition: background .14s ease, border-color .14s ease;
}
body.woocommerce-account .woocommerce-orders-table .button:hover,
body.woocommerce-account td .woocommerce-button.button:hover {
  background: var(--tb-navy) !important; color: #fff !important; border-color: var(--tb-navy) !important;
}

/* Belge kutusu → Tabler kart (inline navy üst-şerit ez) */
body.woocommerce-account .th-files-box {
  border: 1px solid var(--tb-line) !important;
  border-top: 1px solid var(--tb-line) !important;
  border-radius: 10px !important;
  box-shadow: 0 1px 2px rgba(15, 23, 42, .05) !important;
  padding: 16px 18px !important;
}

/* Boş durum — pano kartının İÇİNDE (çerçevesiz; sadece ikon rozeti) */
body.woocommerce-account .th-empty {
  border: 0 !important; background: transparent !important; padding: 26px 16px !important;
}
body.woocommerce-account .th-empty .material-icons {
  width: 48px; height: 48px; border-radius: 12px; font-size: 26px !important;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--tb-tint); border: 1px solid var(--tb-line); color: #9aa3b5;
}
body.woocommerce-account .th-empty-btn { border-radius: 7px !important; }

/* Adres & Hesap kartları → Tabler yuvarlak (navy üst-şerit yerine ince kenar) */
body.woocommerce-account .woocommerce-Addresses .woocommerce-Address,
body.woocommerce-account .th-acc-summary,
body.woocommerce-account .woocommerce-account .woocommerce-address-fields__field-wrapper,
body.woocommerce-account .th-acc-fields-card {
  border: 1px solid var(--tb-line) !important;
  border-top: 1px solid var(--tb-line) !important;
  border-radius: 10px !important;
  box-shadow: 0 1px 2px rgba(15, 23, 42, .05) !important;
}
body.woocommerce-account .woocommerce-Address .woocommerce-Address-title,
body.woocommerce-account .th-acc-summary .th-bs-head {
  border-radius: 10px 10px 0 0;
}

/* Sipariş-alındı / detay notu kartı */
body.woocommerce-account .th-order-note {
  border: 1px solid var(--tb-line) !important;
  border-top: 1px solid var(--tb-line) !important;
  border-left: 3px solid var(--tb-navy) !important;
  border-radius: 10px !important;
}

/* ── Sipariş kalemi meta listesi (thankyou/detay/e-posta önizleme): satırlar YAPIŞMASIN.
   Tema reset'i dl/dt/dd akışını bozuyordu ("Документы: 1Всего страниц: 1,59…" vakası). ── */
.woocommerce ul.wc-item-meta { list-style: none; margin: 8px 0 0 !important; padding: 0 !important; }
.woocommerce ul.wc-item-meta li {
  display: flex; flex-wrap: wrap; gap: 4px;
  margin: 0 0 4px !important; padding: 0;
  font-size: 12.5px; line-height: 1.55; color: #55627a;
}
.woocommerce ul.wc-item-meta li strong.wc-item-meta-label {
  flex-shrink: 0; font-weight: 600; color: #1a2540;
}
.woocommerce ul.wc-item-meta li p { display: inline; margin: 0; }

/* ══════════ GİRİŞ / KAYIT — yaratıcı kart düzeni (dropzone ile aynı dil) ══════════ */
body.woocommerce-account #customer_login { gap: 26px; }
body.woocommerce-account #customer_login .col-1,
body.woocommerce-account #customer_login .col-2 {
  position: relative;
  background: #fff !important;
  border: 1px solid #e6e8ec !important;
  border-top: 1px solid #e6e8ec !important;
  border-radius: 14px !important;
  box-shadow: 0 1px 2px rgba(15, 23, 42, .05), 0 12px 32px rgba(5, 22, 77, .06) !important;
  padding: 26px 28px !important;
  overflow: visible !important;
  transition: box-shadow .2s ease, transform .2s ease;
}
body.woocommerce-account #customer_login .col-1:hover,
body.woocommerce-account #customer_login .col-2:hover {
  box-shadow: 0 2px 4px rgba(15, 23, 42, .06), 0 18px 44px rgba(5, 22, 77, .10) !important;
  transform: translateY(-2px);
}
/* kart tepesinde ince marka degradesi */
body.woocommerce-account #customer_login .col-1::before,
body.woocommerce-account #customer_login .col-2::before {
  content: "" !important; display: block !important;
  position: absolute; top: 0; left: 18px; right: 18px; height: 3px;
  border-radius: 0 0 3px 3px;
  background: linear-gradient(90deg, #05164d 0%, #132b66 60%, #ffad1d 100%);
}
/* KAYIT kartı öne çıkan: altın mühür (dropzone'daki ✓ ile aynı motif) */
body.woocommerce-account #customer_login .col-2::after {
  content: "✓" !important; display: flex !important;
  position: absolute; top: -12px; right: 18px;
  width: 30px; height: 30px; border-radius: 50%;
  background: #ffad1d; color: #05164d; font-size: 15px; font-weight: 900;
  align-items: center; justify-content: center;
  box-shadow: 0 3px 8px rgba(0, 0, 0, .18); transform: rotate(12deg);
}

/* Başlıklar: ikon rozeti + altın alt vurgu */
body.woocommerce-account #customer_login h2 {
  display: flex !important; align-items: center; gap: 10px;
  margin: 0 0 6px !important; padding: 0 0 12px !important;
  background: transparent !important; border: 0 !important;
  font-size: 19px !important; font-weight: 800 !important; color: #05164d !important;
  border-bottom: 1px dashed #e6e8ec !important;
}
body.woocommerce-account #customer_login h2::before {
  font-family: 'Material Icons'; font-weight: 400; font-size: 18px; line-height: 1;
  width: 34px; height: 34px; border-radius: 10px; flex-shrink: 0;
  display: inline-flex; align-items: center; justify-content: center;
  background: rgba(5, 22, 77, .07); color: #05164d;
}
body.woocommerce-account #customer_login .col-1 h2::before { content: "login"; }
body.woocommerce-account #customer_login .col-2 h2::before { content: "person_add"; color: #b97d00; background: rgba(255, 173, 29, .16); }

/* Üyelik avantajları: yumuşak nane rozetli satırlar */
body.woocommerce-account .th-reg-perks { margin: 14px 0 4px !important; padding: 0 !important; list-style: none; }
body.woocommerce-account .th-reg-perks li {
  display: flex; align-items: flex-start; gap: 10px;
  padding: 7px 0; font-size: 13.5px; line-height: 1.5; color: #3a465c;
}
body.woocommerce-account .th-reg-perks li + li { border-top: 1px dashed #f0f2f5; }
body.woocommerce-account .th-reg-perks .material-icons {
  font-size: 15px !important; flex-shrink: 0; margin-top: 1px;
  width: 22px; height: 22px; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  background: #e8f6ef; color: #16794c !important;
}
body.woocommerce-account .th-reg-perks strong { color: #05164d; }

/* Alanlar + odak: Tabler girişleriyle aynı dil */
body.woocommerce-account #customer_login .form-row input.input-text {
  border: 1px solid #cfd6e2 !important; border-radius: 10px !important;
  padding: 12px 13px !important; box-shadow: none !important;
  transition: border-color .15s ease, box-shadow .15s ease;
}
body.woocommerce-account #customer_login .form-row input.input-text:focus {
  border-color: #05164d !important;
  box-shadow: 0 0 0 1px #05164d, 0 0 0 4px rgba(255, 173, 29, .18) !important;
}
body.woocommerce-account #customer_login input[type="checkbox"] { accent-color: #05164d; }

/* Butonlar: kayan ok mikro-etkileşimi */
body.woocommerce-account #customer_login button[type="submit"] {
  position: relative; width: 100% !important;
  border-radius: 10px !important; padding: 13px 18px !important;
  font-weight: 800 !important; letter-spacing: .01em;
  overflow: hidden; transition: background .15s ease, transform .12s ease;
}
body.woocommerce-account #customer_login button[type="submit"]::after {
  content: "→"; position: absolute; right: 16px; top: 50%;
  transform: translate(8px, -50%); opacity: 0;
  transition: transform .18s ease, opacity .18s ease;
}
body.woocommerce-account #customer_login button[type="submit"]:hover { transform: translateY(-1px); }
body.woocommerce-account #customer_login button[type="submit"]:hover::after { transform: translate(0, -50%); opacity: 1; }

/* Parola linki + güven satırı */
body.woocommerce-account #customer_login .lost_password a {
  color: #05164d; font-weight: 600;
  text-decoration: underline; text-decoration-color: #ffad1d; text-underline-offset: 3px;
}
body.woocommerce-account .th-login-trust {
  display: flex; align-items: flex-start; gap: 7px;
  margin: 16px 0 0 !important; padding: 10px 12px !important;
  background: #f7f9fc; border: 1px solid #eef1f5; border-radius: 10px;
  font-size: 11.5px !important; line-height: 1.55; color: #7c8797 !important;
}
body.woocommerce-account .th-login-trust .material-icons { font-size: 14px !important; color: #b97d00 !important; margin-top: 1px; }

@media (prefers-reduced-motion: reduce) {
  body.woocommerce-account #customer_login .col-1, body.woocommerce-account #customer_login .col-2,
  body.woocommerce-account #customer_login button[type="submit"],
  body.woocommerce-account #customer_login button[type="submit"]::after { transition: none; }
}

/* ══════════ Hesaplayıcı DROPZONE — katmanlı belge illüstrasyonu ══════════ */
.th-dz {
  border: 2px dashed #c2c8d0; border-radius: 18px; background: #f9fafb;
  padding: 34px 24px 22px;
  transition: border-color .2s ease, background .2s ease, box-shadow .2s ease;
}
.th-dz:hover { border-color: #05164d; background: #f0f4ff; box-shadow: 0 8px 30px rgba(5, 22, 77, .07); }

/* — illüstrasyon: 3 katmanlı belge + yükleme rozeti + altın mühür — */
.th-dz-art { position: relative; width: 118px; height: 92px; margin: 0 auto 18px; }
.th-dz-doc {
  position: absolute; left: 50%; top: 6px; width: 62px; height: 78px;
  background: #fff; border: 2px solid #dbe1ea; border-radius: 7px;
  transform: translateX(-50%);
  transition: transform .25s ease, border-color .25s ease;
}
.th-dz-doc--l { transform: translateX(-50%) rotate(-9deg) translateX(-18px); background: #f3f6fb; }
.th-dz-doc--r { transform: translateX(-50%) rotate(9deg) translateX(18px); background: #f3f6fb; }
.th-dz-doc--m { border-color: #05164d; z-index: 2; padding: 12px 9px 0; }
.th-dz-doc--m i { display: block; height: 4px; border-radius: 2px; background: #dbe1ea; margin-bottom: 6px; }
.th-dz-doc--m i:nth-child(1) { width: 70%; background: #b9c3d6; }
.th-dz-doc--m i:nth-child(3) { width: 55%; }
.th-dz:hover .th-dz-doc--l { transform: translateX(-50%) rotate(-14deg) translateX(-26px); border-color: #c4cede; }
.th-dz:hover .th-dz-doc--r { transform: translateX(-50%) rotate(14deg) translateX(26px); border-color: #c4cede; }
.th-dz-badge {
  position: absolute; z-index: 3; left: 50%; bottom: -12px; transform: translateX(-50%);
  width: 34px; height: 34px; border-radius: 50%;
  background: #05164d; color: #fff; display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 12px rgba(5, 22, 77, .35);
}
.th-dz-badge svg { width: 18px; height: 18px; }
.th-dz:hover .th-dz-badge { animation: th-dz-bounce .9s ease infinite; }
@keyframes th-dz-bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  45%      { transform: translateX(-50%) translateY(-7px); }
}
.th-dz-seal {
  position: absolute; z-index: 3; right: 8px; top: -6px;
  width: 24px; height: 24px; border-radius: 50%;
  background: #ffad1d; color: #05164d; font-size: 13px; font-weight: 900;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 2px 6px rgba(0, 0, 0, .18); transform: rotate(12deg);
}

.th-dz-title { font-size: 17.5px; font-weight: 700; color: #020e33; margin: 14px 0 0; }
.th-dz-title .th-link { text-decoration: underline; text-underline-offset: 3px; }

/* gereksinim çipleri */
.th-dz-chips { display: flex; justify-content: center; gap: 8px; flex-wrap: wrap; margin-top: 12px; }
.th-dz-chip {
  display: inline-flex; align-items: center;
  padding: 3px 11px; border-radius: 999px;
  background: #fff; border: 1px solid #e3e6ea;
  font-size: 12px; font-weight: 600; color: #55627a; letter-spacing: .01em;
}

/* 3 mini adım şeridi */
.th-dz-steps {
  display: flex; justify-content: center; align-items: center; gap: 10px; flex-wrap: wrap;
  margin-top: 16px; padding-top: 14px; border-top: 1px dashed #dbe1ea;
  font-size: 12.5px; color: #55627a;
}
.th-dz-steps > span:not(.th-dz-arrow) { display: inline-flex; align-items: center; gap: 6px; }
.th-dz-steps em {
  font-style: normal; width: 18px; height: 18px; border-radius: 50%; flex-shrink: 0;
  background: #eef2f9; color: #05164d; font-size: 11px; font-weight: 800;
  display: inline-flex; align-items: center; justify-content: center;
}
.th-dz-arrow { color: #c2c8d0; font-weight: 700; }

.th-dz-secure {
  display: flex; justify-content: center; align-items: center; gap: 6px;
  margin: 12px 0 0; font-size: 11.5px; color: #9aa3b5;
}
.th-dz-secure svg { width: 13px; height: 13px; color: #05164d; flex-shrink: 0; }

@media (prefers-reduced-motion: reduce) {
  .th-dz:hover .th-dz-badge { animation: none; }
  .th-dz-doc, .th-dz { transition: none; }
}
@media (max-width: 560px) {
  .th-dz-steps { gap: 6px; font-size: 11.5px; }
  .th-dz-arrow { display: none; }
  .th-dz-steps > span:not(.th-dz-arrow) { flex-basis: 100%; justify-content: center; }
}

/* ══════════ BLOK Sepet + Ödeme (wc-blocks) — Tabler cilası ══════════ */
/* Kalem detay listesi (checkout özeti "Детали заказа" yapışık satır vakası) */
.wc-block-components-product-details { margin: 6px 0 0 !important; padding: 0 !important; list-style: none !important; }
.wc-block-components-product-details li,
.wc-block-components-product-details__item {
  display: flex !important; flex-wrap: wrap; gap: 4px;
  margin: 0 0 3px !important; font-size: 12.5px; line-height: 1.55; color: #55627a;
}
.wc-block-components-product-details__name { font-weight: 600; color: #1a2540; }
.wc-block-components-product-details__value { margin: 0; }

/* Özet kaleminde ÇİFT fiyat: sağda satır toplamı zaten var — ad altındaki birim
   fiyat tekrarını gizle (adet 1 iken birebir aynı rakam görünüyordu). */
.wc-block-components-order-summary-item__description > .wc-block-components-product-price,
.wc-block-components-order-summary-item .wc-block-components-order-summary-item__individual-prices {
  display: none !important;
}

/* Özet / kenar kartları */
.wc-block-components-sidebar .wc-block-components-panel,
.wc-block-cart .wc-block-components-sidebar .wp-block-woocommerce-cart-order-summary-block,
.wc-block-checkout__sidebar .wp-block-woocommerce-checkout-order-summary-block {
  background: #fff; border: 1px solid #e6e8ec; border-radius: 10px;
  box-shadow: 0 1px 2px rgba(15, 23, 42, .05); padding: 6px 16px 10px;
}
.wc-block-components-totals-footer-item .wc-block-components-totals-item__value,
.wc-block-components-totals-footer-item .wc-block-components-totals-item__label { color: #05164d; }

/* Sepet kalem tablosu */
.wc-block-cart-items { border: 1px solid #e6e8ec !important; border-radius: 10px; overflow: hidden; background: #fff; }
.wc-block-cart-items th {
  background: #f7f9fc !important; text-transform: uppercase; letter-spacing: .04em;
  font-size: 11px !important; font-weight: 700 !important; color: #667382 !important;
  padding: 11px 14px !important; border-bottom: 1px solid #e6e8ec !important;
}
.wc-block-cart-items td { border-top: 1px solid #f0f2f5 !important; padding: 14px !important; }

/* Blok form alanları + butonlar */
.wc-block-components-text-input input,
.wc-block-components-combobox .components-combobox-control__suggestions-container input,
.wc-block-components-textarea {
  border: 1px solid #cfd6e2 !important; border-radius: 8px !important;
}
.wc-block-components-text-input input:focus,
.wc-block-components-textarea:focus { border-color: #05164d !important; box-shadow: 0 0 0 1px #05164d !important; }
.wc-block-components-button:not(.is-link) {
  background: #05164d !important; color: #fff !important; border-radius: 8px !important;
  font-weight: 700 !important; box-shadow: none !important;
}
.wc-block-components-button:not(.is-link):hover { background: #132b66 !important; }
.wc-block-components-checkout-step__heading .wc-block-components-title { color: #1a2540; }
.wc-block-components-radio-control__option { border-color: #e6e8ec !important; }
