/* ================================================================
   order-confirmation.css — TilbeHome Pro
   ================================================================
   Siparis onay + siparis takip sayfasi stilleri.
   payment.css'ten ayristirildi — Asama 1.2
   ================================================================ */

/* ═══════════════════════════════════════════════════════════════
   SİPARİŞ TAKİP — Trendyol Tarzı Minimal Tasarım
   Mobile-first, kurumsal, temiz
   ═══════════════════════════════════════════════════════════════ */

/* ── Base Layout ── */
.th-order-track {
  /* max-width: 960px; */
  margin: 0 auto var(--th-space-12);
  padding: 0 var(--th-space-4);
  color: var(--th-color-text);
}

/* ── Minimal Header ── */
.th-order-track__header {
  padding: var(--th-space-6) 0 var(--th-space-4);
}
.th-order-track__title {
  font-size: var(--th-text-xl);
  font-weight: var(--th-font-bold);
  margin: 0 0 var(--th-space-1);
  letter-spacing: -0.01em;
}
.th-order-track__desc {
  font-size: var(--th-text-base);
  color: var(--th-color-text-muted);
  margin: 0;
  line-height: 1.5;
}

/* ── Grid ── */
.th-order-track__grid {
  display: grid;
  /* grid-template-columns: 1fr 320px; */
  gap: var(--th-space-5);
  align-items: start;
}
.th-order-track__main,
.th-order-track__aside { min-width: 0; }

/* ── Kart ── */
.th-order-card {
  background: var(--th-color-bg);
  border: 1px solid var(--th-color-border);
  border-radius: var(--th-radius-2xl);
  padding: var(--th-space-6);
}
.th-order-card--soft {
  background: var(--th-color-bg-soft, var(--th-neutral-50));
}
.th-order-card + .th-order-card {
  margin-top: var(--th-space-3);
}
.th-order-card__head h2 {
  font-size: var(--th-text-lg);
  font-weight: var(--th-font-bold);
  margin: 0 0 var(--th-space-4);
  color: var(--th-color-text);
}
.th-order-card h3 {
  font-size: var(--th-text-base-plus);
  font-weight: var(--th-font-bold);
  margin: 0 0 var(--th-space-3);
  color: var(--th-color-text);
}
.th-order-card > p {
  margin: 0 0 var(--th-space-3);
  color: var(--th-color-text-muted);
  font-size: var(--th-text-sm);
  line-height: 1.6;
}

/* ── Form ── */
.th-order-form { margin-top: 0; }
.th-order-form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--th-space-3);
}
.th-order-form__field label {
  display: block;
  font-weight: var(--th-font-semibold);
  font-size: var(--th-text-sm);
  color: var(--th-color-text-secondary);
  margin-bottom: var(--th-space-1-5);
}
.th-order-form .form-control {
  height: 48px;
  border-radius: var(--th-radius-lg);
  border: 1px solid var(--th-color-border);
  background: var(--th-color-bg);
  padding: 0 var(--th-space-3-5);
  font-size: var(--th-text-base);
  transition: border-color .2s;
  width: 100%;
  box-sizing: border-box;
}
.th-order-form .form-control:focus {
  border-color: var(--th-color-primary);
  box-shadow: none;
  outline: none;
}
.th-order-form__autofill {
  display: inline-flex;
  align-items: center;
  gap: var(--th-space-1);
  margin-top: var(--th-space-1);
  font-size: var(--th-text-xs-plus);
  color: var(--th-color-success);
  font-weight: var(--th-font-medium);
}
.th-order-form__help {
  margin: var(--th-space-3) 0 var(--th-space-4);
  padding: var(--th-space-2-5) var(--th-space-3-5);
  border-radius: var(--th-radius-lg);
  background: var(--th-color-bg-soft, var(--th-neutral-50));
  color: var(--th-color-text-muted);
  font-size: var(--th-text-xs-plus);
  line-height: 1.6;
}
.th-order-form__help i { display: none; }
.th-order-form__help a {
  color: var(--th-color-primary);
  font-weight: var(--th-font-semibold);
  text-decoration: none;
}
.th-order-form__submit {
  width: 100%;
  height: 48px;
  border-radius: var(--th-radius-lg) !important;
  font-weight: var(--th-font-bold);
  font-size: var(--th-text-base-plus);
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  cursor: pointer;
}

/* ── Response wrapper ── */
.th-order-result:empty { display: none; }

/* ── Login hint ── */
.th-order-login-hint {
  display: flex;
  align-items: flex-start;
  gap: 0;
  flex-direction: column;
}
.th-order-login-hint > i { display: none; }
.th-order-login-hint strong {
  font-size: var(--th-text-base);
  margin-bottom: var(--th-space-1);
  display: block;
}
.th-order-login-hint p { margin: 0; font-size: var(--th-text-sm); }
.th-order-login-hint a {
  color: var(--th-color-primary);
  font-weight: var(--th-font-semibold);
  text-decoration: underline;
}

/* ── Son Siparişler ── */
.th-order-recent__list {
  display: flex;
  flex-direction: column;
  gap: var(--th-space-2);
  margin-top: var(--th-space-3);
}
.th-order-recent__item {
  display: block;
  width: 100%;
  padding: var(--th-space-3) var(--th-space-3-5);
  background: var(--th-color-bg);
  border: 1px solid var(--th-color-border);
  border-radius: var(--th-radius-lg);
  cursor: pointer;
  text-align: left;
  transition: border-color .15s;
  font-family: inherit;
}
.th-order-recent__item:hover {
  border-color: var(--th-color-primary);
}
.th-order-recent__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: var(--th-space-1);
}
.th-order-recent__no { font-weight: var(--th-font-semibold); font-size: var(--th-text-base); }
.th-order-recent__status {
  font-size: var(--th-text-xs);
  font-weight: var(--th-font-semibold);
  padding: var(--th-space-0-5) var(--th-space-2);
  border-radius: var(--th-radius-md);
  background: var(--th-color-bg-soft);
  color: var(--th-color-text-muted);
}
.th-order-recent__bottom {
  display: flex;
  justify-content: space-between;
  font-size: var(--th-text-xs-plus);
  color: var(--th-color-text-muted);
}
.th-order-recent__bottom strong { color: var(--th-color-text); font-weight: var(--th-font-bold); }
.th-order-recent__all {
  display: inline-block;
  margin-top: var(--th-space-2-5);
  font-size: var(--th-text-sm);
  font-weight: var(--th-font-semibold);
  color: var(--th-color-primary);
  text-decoration: none;
}

/* ── Sidebar ── */
.th-order-support {
  display: flex;
  flex-direction: column;
  gap: var(--th-space-1-5);
}
.th-order-support__item {
  display: flex;
  align-items: center;
  gap: var(--th-space-2-5);
  padding: var(--th-space-3) var(--th-space-3-5);
  background: var(--th-color-bg);
  border: 1px solid var(--th-color-border);
  border-radius: var(--th-radius-lg);
  text-decoration: none;
  color: var(--th-color-text);
  transition: border-color .15s;
}
.th-order-support__item:hover {
  border-color: var(--th-color-primary);
  text-decoration: none;
  color: var(--th-color-text);
}
.th-order-support__item > i {
  font-size: var(--th-text-md);
  color: var(--th-color-text-muted);
  width: 20px;
  text-align: center;
  flex-shrink: 0;
}
.th-order-support__item--wa > i { color: var(--th-whatsapp-bg); }
.th-order-support__item strong { font-size: var(--th-text-sm); font-weight: var(--th-font-semibold); display: block; }
.th-order-support__item span { font-size: var(--th-text-xs-plus); color: var(--th-color-text-muted); }
.th-order-track__cta-btn {
  display: inline-flex;
  align-items: center;
  gap: var(--th-space-1-5);
  margin-top: var(--th-space-2-5);
  padding: var(--th-space-2-5) var(--th-space-4);
  border-radius: var(--th-radius-lg);
  background: var(--th-color-primary);
  color: var(--th-neutral-0);
  font-weight: var(--th-font-semibold);
  font-size: var(--th-text-sm);
  text-decoration: none;
}
.th-order-track__cta-btn:hover { opacity: .9; text-decoration: none; color: var(--th-neutral-0); }
.th-order-info-list {
  margin: var(--th-space-2) 0 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--th-space-1-5);
}
.th-order-info-list li {
  font-size: var(--th-text-sm);
  color: var(--th-color-text-muted);
  padding-left: var(--th-space-3);
  position: relative;
}
.th-order-info-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 7px;
  width: 4px;
  height: 4px;
  border-radius: var(--th-radius-circle);
  background: var(--th-color-text-muted);
}
.th-order-info-list li i { display: none; }

/* Güven kartı — kaldırıldı, CSS de temizlendi */
.th-order-card--trust { display: none; }
.th-order-trust__icon { display: none; }

/* Sticky bar */
.th-order-track__sticky-bar { display: none; }

/* ════════════════════════════════════════════════════════════
   PLATFORM RESPONSE OVERRIDE — Trendyol minimal
   ════════════════════════════════════════════════════════════ */

.th-order-result .user-account-styles { font-family: inherit; }
.th-order-result .user-account-order-detail {
  border: none;
  border-radius: 0;
  background: transparent;
  font-size: var(--th-text-base);
}

/* Sipariş Header — dikey liste, temiz */
.th-order-result .user-account-order-detail .order-header {
  background: var(--th-color-bg);
  border: 1px solid var(--th-color-border);
  border-radius: var(--th-radius-xl);
  border-top: none;
  padding: var(--th-space-4) 18px;
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  margin-bottom: var(--th-space-3);
}
.th-order-result .order-header .icon-wrapper { display: none; }
.th-order-result .order-header .groups {
  display: flex;
  flex: 1;
  width: 100%;
}
.th-order-result .order-header .group-1,
.th-order-result .order-header .group-2 {
  display: flex;
  align-items: center;
  flex: 1;
  gap: var(--th-space-5);
}
.th-order-result .order-header .group-2 { justify-content: flex-end; }
.th-order-result .order-header .item {
  display: flex;
  flex-direction: column;
  gap: var(--th-space-0-5);
  margin: 0;
}
.th-order-result .order-header .item .name {
  font-size: var(--th-text-xs);
  font-weight: var(--th-font-medium);
  color: var(--th-color-text-muted);
  text-transform: uppercase;
  letter-spacing: .3px;
}
.th-order-result .order-header .item .value {
  font-size: var(--th-text-base);
  font-weight: var(--th-font-semibold);
  color: var(--th-color-text);
}
.th-order-result .order-header .item .value.value-code {
  font-size: var(--th-text-base-plus);
  font-weight: var(--th-font-bold);
}
.th-order-result .order-header .item .value.value-total {
  color: var(--th-color-success);
  font-weight: var(--th-font-bold);
}

/* Durum badge */
.th-order-result .order-status { justify-content: flex-start; }
.th-order-result .order-status .order-status-value {
  font-size: var(--th-text-xs-plus);
  font-weight: var(--th-font-semibold);
  padding: var(--th-space-1) var(--th-space-2-5);
  border-radius: var(--th-radius-md);
}
.th-order-result .order-status.order-status-primary .order-status-value {
  background: var(--th-blue-50);
  color: var(--th-blue-600);
}
.th-order-result .order-status.order-status-success .order-status-value {
  background: var(--th-emerald-50);
  color: var(--th-color-success);
}
.th-order-result .order-status.order-status-danger .order-status-value {
  background: var(--th-red-50);
  color: var(--th-red-600);
}

/* Info mesaj */
.th-order-result .order-info {
  background: transparent;
  border: none;
  border-top: none;
  padding: 0;
  margin-bottom: var(--th-space-3);
}
.th-order-result .order-info .description-1 {
  padding: var(--th-space-3) var(--th-space-3-5);
  border-radius: var(--th-radius-lg);
  background: var(--th-neutral-0)beb;
  border: 1px solid var(--th-amber-200);
  color: var(--th-amber-800);
  font-size: var(--th-text-sm);
  line-height: 1.5;
}
.th-order-result .order-info .buttons { margin-top: var(--th-space-2); }
.th-order-result .order-info .buttons a,
.th-order-result .order-info .buttons button {
  display: inline-flex;
  align-items: center;
  height: 36px;
  padding: 0 var(--th-space-3-5);
  border-radius: var(--th-radius-lg);
  border: 1px solid var(--th-color-border);
  background: var(--th-color-bg);
  color: var(--th-color-text);
  font-size: var(--th-text-sm);
  font-weight: var(--th-font-semibold);
  text-decoration: none;
  margin-right: var(--th-space-1-5);
  margin-bottom: var(--th-space-1-5);
  cursor: pointer;
}
.th-order-result .order-info .buttons a:hover {
  border-color: var(--th-color-primary);
  color: var(--th-color-primary);
}

/* Kargo bilgileri — platform tracking bölümü */
.th-order-result .user-account-order-detail .order-tracking {
  border: 1px solid var(--th-color-border);
  border-radius: var(--th-radius-xl);
  border-top: none;
  padding: var(--th-space-4) 18px;
  margin-bottom: var(--th-space-3);
  background: var(--th-color-bg);
}

/* Ürün listesi */
.th-order-result .order-products-list { border: none; padding: 0; }
.th-order-result .order-products-list .product {
  display: flex;
  gap: var(--th-space-3-5);
  align-items: center;
  padding: var(--th-space-3-5) var(--th-space-4);
  border: 1px solid var(--th-color-border);
  border-radius: var(--th-radius-xl);
  background: var(--th-color-bg);
  margin-bottom: var(--th-space-2);
  border-top: none;
}
.th-order-result .order-products-list .product .group-1 {
  display: contents;
}
.th-order-result .order-products-list .product .group-1 .image {
  width: 72px;
  height: 72px;
  border-radius: var(--th-radius-lg);
  overflow: hidden;
  background: var(--th-ink-50);
  flex-shrink: 0;
  border: 1px solid var(--th-color-border);
}
.th-order-result .order-products-list .product .group-1 .image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.th-order-result .order-products-list .product .group-1 .info {
  flex: 1;
  min-width: 0;
}
.th-order-result .order-products-list .product .group-1 .info .title {
  font-size: var(--th-text-sm);
  font-weight: var(--th-font-semibold);
  color: var(--th-color-text);
  text-decoration: none;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  line-height: 1.4;
  margin-bottom: var(--th-space-1-5);
}
.th-order-result .order-products-list .product .group-1 .info .title:hover {
  color: var(--th-color-primary);
}
.th-order-result .order-products-list .product .group-1 .info .up {
  font-size: var(--th-text-xs-plus);
  color: var(--th-color-text-muted);
}
.th-order-result .order-products-list .product .group-1 .info .total {
  font-size: var(--th-text-base-plus);
  font-weight: var(--th-font-bold);
  color: var(--th-color-text);
  margin-top: var(--th-space-1);
}

/* Ürün actions */
.th-order-result .order-products-list .product .actions {
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: var(--th-space-1-5);
}
.th-order-result .order-products-list .product .actions .up,
.th-order-result .order-products-list .product .actions .total { display: none; }
.th-order-result .order-products-list .product .actions .buttons a {
  display: inline-flex;
  align-items: center;
  height: 32px;
  padding: 0 var(--th-space-3);
  border-radius: var(--th-radius-lg);
  border: 1px solid var(--th-color-border);
  background: var(--th-color-bg);
  color: var(--th-color-text);
  font-size: var(--th-text-xs-plus);
  font-weight: var(--th-font-semibold);
  text-decoration: none;
  white-space: nowrap;
}
.th-order-result .order-products-list .product .actions .buttons a:hover {
  border-color: var(--th-color-primary);
  color: var(--th-color-primary);
}

/* Sipariş özeti */
.th-order-result .order-summary-list {
  background: var(--th-color-bg);
  border: 1px solid var(--th-color-border);
  border-radius: var(--th-radius-xl);
  border-top: none;
  padding: 0;
  overflow: hidden;
  margin-bottom: var(--th-space-3);
}
.th-order-result .order-summary-list .item {
  display: flex;
  justify-content: space-between;
  padding: var(--th-space-2-5) var(--th-space-4);
  font-size: var(--th-text-sm);
  color: var(--th-color-text-muted);
  border-top: 1px solid var(--th-color-border-light, var(--th-neutral-100));
}
.th-order-result .order-summary-list .item:first-child { border-top: none; }
.th-order-result .order-summary-list .item .name { font-weight: var(--th-font-medium); }
.th-order-result .order-summary-list .item .value { font-weight: var(--th-font-semibold); color: var(--th-color-text); }
.th-order-result .order-summary-list .item.item-total {
  background: var(--th-color-bg-soft, var(--th-neutral-50));
  padding: var(--th-space-3) var(--th-space-4);
}
.th-order-result .order-summary-list .item.item-total .name {
  font-weight: var(--th-font-bold);
  color: var(--th-color-text);
}
.th-order-result .order-summary-list .item.item-total .value {
  font-weight: var(--th-font-bold);
  color: var(--th-color-success);
  font-size: var(--th-text-base-plus);
}

/* Adresler */
.th-order-result .order-addresses {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--th-space-2-5);
  padding: 0;
  border: none;
  border-top: none;
  margin-bottom: var(--th-space-3);
}
.th-order-result .order-addresses .item {
  padding: var(--th-space-3-5) var(--th-space-4);
  background: var(--th-color-bg);
  border: 1px solid var(--th-color-border);
  border-radius: var(--th-radius-xl);
}
.th-order-result .order-addresses .item .title {
  font-size: var(--th-text-xs);
  font-weight: var(--th-font-semibold);
  text-transform: uppercase;
  letter-spacing: .3px;
  color: var(--th-color-text-muted);
  margin-bottom: var(--th-space-2);
  padding-bottom: var(--th-space-2);
  border-bottom: 1px solid var(--th-color-border-light, var(--th-neutral-100));
}
.th-order-result .order-addresses .item .values {
  display: flex;
  flex-direction: column;
  gap: var(--th-space-0-5);
}
.th-order-result .order-addresses .item .values span {
  font-size: var(--th-text-sm);
  color: var(--th-color-text-muted);
  line-height: 1.4;
}
.th-order-result .order-addresses .item .values span.name {
  font-weight: var(--th-font-semibold);
  color: var(--th-color-text);
}

/* Alt link */
.th-order-result .order-bottom {
  padding: 0;
  border: none;
  text-align: center;
  margin-top: var(--th-space-1);
}
.th-order-result .order-bottom .link-sale-rule {
  font-size: var(--th-text-xs-plus);
  color: var(--th-color-text-muted);
  text-decoration: underline;
}


/* ═══ RESPONSIVE ═══ */

@media (max-width: 768px) {
  .th-order-track__grid { grid-template-columns: 1fr; }
  .th-order-track__aside { order: 2; }
  .th-order-card { padding: var(--th-space-4); border-radius: var(--th-radius-xl); }
  .th-order-card__head h2 { font-size: var(--th-text-md); }
  .th-order-form__row { grid-template-columns: 1fr; gap: var(--th-space-2-5); }

  /* Response — mobil */
  .th-order-result .order-header {
    padding: var(--th-space-3-5);
    border-radius: var(--th-radius-lg);
  }
  .th-order-result .order-header .groups {
    flex-direction: column;
    gap: 0;
  }
  .th-order-result .order-header .group-1,
  .th-order-result .order-header .group-2 {
    width: 100%;
    gap: 0;
    flex-wrap: wrap;
  }
  .th-order-result .order-header .item {
    width: 50%;
    padding: var(--th-space-2) 0;
    box-sizing: border-box;
  }
  .th-order-result .order-header .group-2 { justify-content: flex-start; }

  .th-order-result .order-products-list .product {
    padding: var(--th-space-3);
    border-radius: var(--th-radius-lg);
  }
  .th-order-result .order-products-list .product .group-1 .image {
    width: 64px;
    height: 64px;
    border-radius: var(--th-radius-lg);
  }
  .th-order-result .order-products-list .product .actions {
    position: static;
    flex-direction: row;
    align-items: center;
  }

  .th-order-result .order-addresses { grid-template-columns: 1fr; }
  .th-order-result .order-summary-list { border-radius: var(--th-radius-lg); }
  .th-order-result .order-addresses .item { border-radius: var(--th-radius-lg); }

  .th-order-track { margin-bottom: var(--th-space-20); }

  /* ── Mobil response patch ── */

  /* Header: icon-wrapper kesin gizle */
  .th-order-result .order-header .icon-wrapper {
    display: none !important;
  }

  /* Header: dikey akış, her item tam satır */
  .th-order-result .user-account-order-detail .order-header {
    padding: 0;
    border-radius: var(--th-radius-lg);
    overflow: hidden;
  }
  .th-order-result .order-header .groups {
    flex-direction: column;
    gap: 0;
    width: 100%;
  }
  .th-order-result .order-header .group-1,
  .th-order-result .order-header .group-2 {
    display: flex;
    flex-direction: column;
    gap: 0;
    width: 100%;
  }
  .th-order-result .order-header .item {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: var(--th-space-3) var(--th-space-4);
    border-bottom: 1px solid var(--th-color-border-light, var(--th-neutral-100));
    box-sizing: border-box;
  }
  .th-order-result .order-header .item:last-child {
    border-bottom: none;
  }
  .th-order-result .order-header .item .name {
    font-size: var(--th-text-sm);
    text-transform: none;
    letter-spacing: 0;
    font-weight: var(--th-font-medium);
    color: var(--th-color-text-muted);
  }
  .th-order-result .order-header .item .value {
    font-size: var(--th-text-base);
    font-weight: var(--th-font-bold);
    text-align: right;
  }
  .th-order-result .order-header .item .value.value-code {
    font-size: var(--th-text-base);
  }
  .th-order-result .order-header .item .value.value-total {
    font-size: var(--th-text-base-plus);
  }

  /* Kargo bölümü: DHL logo küçült */
  .th-order-result .order-tracking img,
  .th-order-result .user-account-order-detail img[src*="kargo"],
  .th-order-result .user-account-order-detail img[alt*="DHL"],
  .th-order-result .user-account-order-detail img[alt*="kargo"],
  .th-order-result .user-account-order-detail img[alt*="Kargo"] {
    max-height: 28px;
    width: auto;
    object-fit: contain;
  }

  /* Kargo tracking bölümü düzenleme */
  .th-order-result .user-account-order-detail .order-tracking {
    border: 1px solid var(--th-color-border);
    border-radius: var(--th-radius-lg);
    padding: var(--th-space-3-5);
    margin-bottom: var(--th-space-2-5);
  }

  /* Ürün kartı: daha kompakt */
  .th-order-result .order-products-list .product {
    padding: var(--th-space-2-5) var(--th-space-3);
    gap: var(--th-space-2-5);
    border-radius: var(--th-radius-lg);
    margin-bottom: var(--th-space-1-5);
  }
  .th-order-result .order-products-list .product .group-1 .image {
    width: 56px;
    height: 56px;
    border-radius: var(--th-radius-lg);
  }
  .th-order-result .order-products-list .product .group-1 .info .title {
    font-size: var(--th-text-xs-plus);
    -webkit-line-clamp: 2;
    margin-bottom: var(--th-space-1);
  }
  .th-order-result .order-products-list .product .group-1 .info .total {
    font-size: var(--th-text-base);
  }

  /* Butonlar (Destek, Fatura, İade) — kompakt */
  .th-order-result .order-info .buttons a,
  .th-order-result .order-info .buttons button {
    width: 100%;
    justify-content: center;
    height: 40px;
    border-radius: var(--th-radius-lg);
    margin-right: 0;
    margin-bottom: var(--th-space-1-5);
    font-size: var(--th-text-sm);
  }

  /* Sipariş özeti kompakt */
  .th-order-result .order-summary-list .item { padding: var(--th-space-2) var(--th-space-3-5); font-size: var(--th-text-sm); }
  .th-order-result .order-summary-list .item.item-total { padding: var(--th-space-2-5) var(--th-space-3-5); }

  /* Adres kartları kompakt */
  .th-order-result .order-addresses .item { padding: var(--th-space-3) var(--th-space-3-5); }
  .th-order-result .order-addresses .item .title { font-size: var(--th-text-xs); margin-bottom: var(--th-space-1-5); padding-bottom: var(--th-space-1-5); }
  .th-order-result .order-addresses .item .values span { font-size: var(--th-text-xs-plus); }
}

/* ═══ SİPARİŞ TAKİP SONU ═══ */



/* ═══════════════════════════════════════════════════════════════
   SİPARİŞ ONAY SAYFASI (Order Confirmation)
   ═══════════════════════════════════════════════════════════════ */

/* Eski görünümü gizle */
.payment-success-alert { display: none !important; }

/* ── Ana Container ── */
.th-order-done {
  text-align: center;
  max-width: 600px;
  margin: var(--th-space-10) auto;
  padding: var(--th-space-6);
  overflow: hidden;
}

/* ── Animated Check ── */
.th-order-done__check {
  color: var(--th-color-success);
  margin-bottom: var(--th-space-5);
}
.th-order-done__check svg {
  display: inline-block;
}
.th-order-done__circle {
  stroke-dasharray: 166;
  stroke-dashoffset: 166;
  animation: th-draw 0.6s cubic-bezier(0.65, 0, 0.45, 1) forwards;
}
.th-order-done__tick {
  stroke-dasharray: 48;
  stroke-dashoffset: 48;
  animation: th-draw 0.3s cubic-bezier(0.65, 0, 0.45, 1) 0.5s forwards;
}
@keyframes th-draw {
  100% { stroke-dashoffset: 0; }
}

/* ── Başlık ── */
.th-order-done__title {
  font-size: var(--th-text-xl);
  font-weight: var(--th-font-bold);
  color: var(--th-color-text);
  margin: 0 0 var(--th-space-4);
}

/* ── Sipariş Numarası ── */
.th-order-done__number {
  display: inline-block;
  padding: var(--th-space-3) var(--th-space-5);
  background: var(--th-color-bg-page);
  border: 1px solid var(--th-color-success);
  border-radius: var(--th-radius-lg);
  font-size: var(--th-text-base);
  color: var(--th-color-text);
  margin-bottom: var(--th-space-5);
}
.th-order-done__number strong {
  font-weight: var(--th-font-bold);
  color: var(--th-color-success);
  letter-spacing: 0.5px;
}
.th-order-done__copy {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border: none;
  background: transparent;
  color: #999;
  font-size: 14px;
  cursor: pointer;
  border-radius: 6px;
  transition: color 0.15s, background 0.15s;
  margin-left: 6px;
  vertical-align: middle;
  padding: 0;
}
.th-order-done__copy:hover {
  background: #f0f0f0;
  color: #333;
}

/* ── Platform İçerik (havale bilgileri vb.) ── */
.th-order-done__info {
  text-align: left;
  margin: var(--th-space-5) 0;
  padding: var(--th-space-5);
  background: var(--th-color-bg);
  border: 1px solid var(--th-color-border);
  border-radius: var(--th-radius-lg);
  overflow: hidden;
}
.th-order-done__info:empty {
  display: none;
}
.th-order-done__info h4 {
  font-size: var(--th-text-base) !important;
  font-weight: var(--th-font-semibold) !important;
  color: var(--th-color-text) !important;
  margin-bottom: var(--th-space-3) !important;
  line-height: 1.5;
}
.th-order-done__info h4 strong {
  font-weight: var(--th-font-semibold);
}
.th-order-done__info h4 span {
  font-size: var(--th-text-sm) !important;
}
.th-order-done__info table {
  width: 100%;
  border-collapse: collapse;
  font-size: var(--th-text-sm);
  margin: var(--th-space-3) 0;
}
.th-order-done__info table th,
.th-order-done__info table td {
  padding: var(--th-space-2) var(--th-space-3);
  border: 1px solid var(--th-color-border);
  text-align: left;
  font-size: var(--th-text-sm);
}
.th-order-done__info table th {
  background: var(--th-color-bg-page);
  font-weight: var(--th-font-semibold);
}
.th-order-done__info a {
  color: var(--th-color-accent);
  font-weight: var(--th-font-semibold);
  text-decoration: underline;
}
.th-order-done__info img {
  max-width: 200px;
  height: auto;
  margin: var(--th-space-4) auto;
  display: block;
}

/* ── CTA Butonları ── */
.th-order-done__actions {
  display: flex;
  flex-direction: column;
  gap: var(--th-space-3);
  margin-top: var(--th-space-5);
}
.th-order-done__btn {
  display: flex;
  align-items: center;
  justify-content: center;
  height: var(--th-space-12);
  border-radius: var(--th-radius-lg);
  font-size: var(--th-text-base);
  font-weight: var(--th-font-semibold);
  text-decoration: none;
  cursor: pointer;
  transition: all var(--th-transition-fast);
}
.th-order-done__btn--primary {
  background: var(--th-color-accent);
  color: var(--th-color-accent-on);
  border: none;
}
.th-order-done__btn--primary:hover {
  background: var(--th-color-accent-hover);
  color: var(--th-color-accent-on);
}
.th-order-done__btn--outline {
  background: transparent;
  color: var(--th-color-text-muted);
  border: 1px solid var(--th-color-border);
}
.th-order-done__btn--outline:hover {
  border-color: var(--th-color-text);
  color: var(--th-color-text);
}

/* ═══ Order Confirmation RESPONSİVE ═══ */
@media (max-width: 576px) {
  .th-order-done {
    padding: var(--th-space-4);
    margin: var(--th-space-5) auto;
  }
  .th-order-done__info {
    padding: var(--th-space-3);
  }
  .th-order-done__info table {
    font-size: var(--th-text-xs);
    display: block;
    overflow-x: auto;
  }
  .th-order-done__info img {
    max-width: 150px;
  }
}



