/* MyTicaret checkout — tema vendor CSS’siz sade kabuk */

:root {
  --chk-font-stack: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
  --chk-bg: #fff;
  --chk-surface: #fff;
  --chk-summary-bg: #f6f6f7;
  --chk-border: rgba(15, 23, 42, 0.08);
  --chk-text: #0f172a;
  /* Başlıklar dışı bilgilendirme metinleri */
  --chk-muted: #707070;
  --chk-accent: #005bd1;
  --chk-radius: 14px;
  --chk-shadow: 0 14px 34px rgba(15, 23, 42, 0.06);
  /* Seçilebilir kartlar — ödeme / kargo (seçim renkleri) */
  --chk-opt-card-border: #dedede;
  --chk-opt-card-bg: #fff;
  --chk-opt-card-border-selected: #005bd1;
  --chk-opt-card-bg-selected: #f5f6ff;
  --chk-opt-active: #005bd1;
  --chk-opt-active-soft: rgba(0, 91, 209, 0.12);
  --chk-opt-radius: 12px;
  --chk-opt-dock: #fafafa;
  --chk-opt-dock-border: #ececec;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

body.checkout-body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--chk-font-stack);
  font-size: 15px;
  line-height: 1.45;
  color: var(--chk-text);
  background: var(--chk-bg);
  overflow-x: hidden;
}

.checkout-body input,
.checkout-body select,
.checkout-body textarea,
.checkout-body button {
  font-family: var(--chk-font-stack);
}

.checkout-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 20px;
  background: var(--chk-surface);
  border-bottom: 1px solid var(--chk-border);
  position: sticky;
  top: 0;
  z-index: 20;
}

.checkout-topbar__brand {
  font-weight: 800;
  font-size: 17px;
  letter-spacing: -0.02em;
  color: var(--chk-text);
  text-decoration: none;
}

.checkout-topbar__brand:hover {
  color: var(--chk-accent);
}

.checkout-topbar__links {
  display: flex;
  align-items: center;
  gap: 12px;
}

.checkout-topbar__links a {
  font-size: 14px;
  font-weight: 600;
  color: var(--chk-muted);
  text-decoration: none;
}

.checkout-topbar__links a:hover {
  color: var(--chk-accent);
}

.checkout-topbar__coupon {
  font: inherit;
  font-size: 14px;
  font-weight: 600;
  color: var(--chk-muted);
  background: transparent;
  border: none;
  padding: 0;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.checkout-topbar__coupon:hover {
  color: var(--chk-accent);
}

.checkout-main {
  display: block;
  background: #fff;
}

.checkout-shell {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 20px 16px 48px;
}

.checkout-page-title {
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.03em;
  margin: 0 0 20px;
  color: var(--chk-text);
  line-height: 1.25;
}

.checkout-grid {
  display: grid;
  /* Kabuk içinde tam iki eşit yarı; taşmayı minmax(0,…) keser */
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0;
  align-items: stretch;
  width: 100%;
}

.checkout-left {
  min-width: 0;
  padding: 0 24px 0 0;
  background: #fff;
}

.checkout-right {
  min-width: 0;
  /* Sol ile aynı: ortadan simetrik boşluk (gri yalnızca bu hücrede; ekran sağına taşmaz) */
  padding: 20px 24px 48px 24px;
  background: #f5f5f5;
}

.checkout-right > * {
  position: relative;
  z-index: 1;
}

.checkout-summary-panel {
  position: sticky;
  top: 72px;
  padding-top: 6px;
  padding-bottom: 22px;
}

/* Sipariş özeti — <details>/<summary>; mobilde üst satır, masaüstünde summary gizli */
.checkout-summary-disclosure {
  border: none;
  padding: 0;
  margin: 0;
}

.checkout-summary-toggle {
  display: none;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  margin: 0;
  padding: 14px 14px 14px 16px;
  border: 1px solid var(--chk-border);
  border-radius: var(--chk-radius);
  background: var(--chk-surface);
  font: inherit;
  color: var(--chk-text);
  cursor: pointer;
  text-align: left;
  gap: 12px;
  list-style: none;
  transition: background 0.15s ease, border-color 0.15s ease;
}

.checkout-summary-toggle::-webkit-details-marker {
  display: none;
}

.checkout-summary-toggle:hover {
  background: #fafafa;
}

.checkout-summary-toggle__label {
  font-size: 17px;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.checkout-summary-toggle__right {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
  font-weight: 700;
  font-size: 15px;
}

.checkout-summary-toggle__chevron {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
}

.checkout-summary-toggle__chevron::after {
  content: '';
  display: block;
  width: 0.45em;
  height: 0.45em;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg);
  margin-top: -0.15em;
  transition: transform 0.2s ease;
  opacity: 0.75;
}

details.checkout-summary-disclosure[open] > .checkout-summary-toggle .checkout-summary-toggle__chevron::after {
  transform: rotate(-135deg);
  margin-top: 0.1em;
}

.checkout-card--summary {
  position: sticky;
  top: 72px;
  background: transparent;
  border: none;
  box-shadow: none;
}

.checkout-card--summary .checkout-card-inner {
  padding-top: 22px;
  padding-bottom: 22px;
}

.checkout-card {
  background: var(--chk-surface);
  border: 1px solid var(--chk-border);
  border-radius: var(--chk-radius);
  box-shadow: var(--chk-shadow);
}

/* Sol sütun form alanı: düz beyaz yüzey, çerçeve/gölge yok */
.checkout-left > .checkout-card {
  background: #fff;
  border: none;
  box-shadow: none;
  border-radius: 0;
}

.checkout-card-inner {
  padding: 20px 22px;
}

.checkout-section + .checkout-section {
  margin-top: 22px;
  padding-top: 22px;
  border-top: 1px solid var(--chk-border);
}

.checkout-section__head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  width: 100%;
  margin-bottom: 12px;
}

.checkout-section__title {
  font-size: 17px;
  font-weight: 700;
  margin: 0 0 12px;
  letter-spacing: -0.02em;
  color: var(--chk-text);
}

.checkout-section__head .checkout-section__title {
  margin-bottom: 0;
}

.checkout-section__subtitle {
  font-size: 16px;
  font-weight: 700;
  margin: 0 0 10px;
  letter-spacing: -0.015em;
  color: var(--chk-text);
}

.checkout-payment-trust {
  margin: -4px 0 20px;
  padding: 10px 12px 10px 14px;
  font-size: 13px;
  line-height: 1.45;
  color: var(--chk-muted);
  background: linear-gradient(135deg, rgba(241, 245, 249, 0.9) 0%, rgba(248, 250, 252, 0.95) 100%);
  border: 1px solid var(--chk-opt-dock-border);
  border-radius: var(--chk-radius);
}

.checkout-section__actions {
  justify-self: end;
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
}

.checkout-section__actions a {
  color: #2563eb;
  text-decoration: none;
}

.checkout-section__actions a:hover {
  text-decoration: underline;
}

.checkout-section__sep {
  margin: 0 8px;
  color: var(--chk-muted);
  font-weight: 400;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.checkout-field {
  margin-bottom: 16px;
}

/* Otomatik doldurma: WebKit autofill anında kısa animasyon → JS animationstart ile e-posta kontrolü */
@keyframes checkout-email-autofill-detect {
  from {
    opacity: 1;
  }
  to {
    opacity: 1;
  }
}

#checkout-email:-webkit-autofill {
  animation-name: checkout-email-autofill-detect;
  animation-duration: 0.001s;
}

/* Kayıtlı e-posta — isteğe bağlı giriş (şifre forma gönderilmez) */
.checkout-email-login {
  margin-bottom: 16px;
  padding: 12px 14px;
  border-radius: 10px;
  border: 1px solid var(--chk-border);
  background: rgba(0, 0, 0, 0.02);
}

.checkout-email-login__hint {
  font-size: 13px;
  line-height: 1.45;
  color: var(--chk-muted);
  margin: 0 0 10px;
}

.checkout-email-login__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-top: 4px;
}

.checkout-email-login__btn {
  padding: 8px 16px;
  border-radius: 10px;
  border: 1px solid var(--chk-border);
  background: var(--chk-text);
  color: #fff;
  font: inherit;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
}

.checkout-email-login__btn:hover {
  opacity: 0.92;
}

.checkout-email-login__btn:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}

.checkout-email-login__forgot {
  font-size: 13px;
  color: var(--chk-text);
  text-decoration: underline;
}

.checkout-login-msg {
  margin: 10px 0 0;
  font-size: 13px;
  color: #b91c1c;
}

.checkout-login-msg[hidden] {
  display: none !important;
}

.checkout-field label,
.checkout-field-group > label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 6px;
  color: var(--chk-text);
}

.checkout-field label span,
.checkout-field-group > label span {
  color: #dc2626;
}

.checkout-field input[type="text"],
.checkout-field input[type="email"],
.checkout-field input[type="password"],
.checkout-field input[type="tel"],
.checkout-field select {
  width: 100%;
  max-width: 100%;
  padding: 10px 12px;
  border: 1px solid var(--chk-border);
  border-radius: 10px;
  font: inherit;
  background: #fff;
  color: var(--chk-text);
}

.checkout-field input::placeholder,
.checkout-field textarea::placeholder {
  color: var(--chk-muted);
  opacity: 1;
}

.checkout-field input:focus::placeholder,
.checkout-field textarea:focus::placeholder {
  color: #b5b5b5;
}

.checkout-field input:focus,
.checkout-field select:focus {
  outline: none;
  border-color: rgba(15, 23, 42, 0.35);
  box-shadow: 0 0 0 3px rgba(15, 23, 42, 0.06);
}

.checkout-guest-note {
  font-size: 15px;
  line-height: 1.5;
  margin: 0 0 16px;
  padding: 12px 14px;
  color: var(--chk-muted);
  background: rgba(59, 130, 246, 0.06);
  border-radius: 10px;
  border: 1px solid rgba(59, 130, 246, 0.12);
}

.checkout-guest-note a {
  color: #2563eb;
  font-weight: 700;
}

/* Ödeme / kargo — gruplar + tam kart radyo (şeffaf input üstte) */
.checkout-pick {
  margin-bottom: 22px;
}

/* Alt grup başlığı — uppercase/mikro etiket yok; bölüm h2 ile aynı aileden tipografi */
.checkout-pick__heading {
  margin: 0 0 10px;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.35;
  text-transform: none;
  color: var(--chk-text);
}

.checkout-pick .checkout-radio-stack {
  /*padding: 8px;
  background: var(--chk-opt-dock);
  border: 1px solid var(--chk-opt-dock-border);
  border-radius: var(--chk-opt-radius);*/
  box-shadow: none;
}

#kargo_metodlari,
.checkout-radio-stack {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.checkout-radio-stack--cards {
  gap: 8px;
}

.checkout-option {
  position: relative;
  display: block;
  margin: 0;
  padding: 0;
  cursor: pointer;
  font-weight: 500;
  line-height: 1.35;
  -webkit-tap-highlight-color: transparent;
}

.checkout-option__input {
  position: absolute;
  inset: 0;
  z-index: 2;
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
  opacity: 0;
  cursor: pointer;
  -webkit-appearance: none;
  appearance: none;
}

.checkout-option__face {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  min-height: 56px;
  padding: 16px 16px 16px 14px;
  border: 1px solid var(--chk-opt-card-border);
  border-radius: var(--chk-opt-radius);
  background: var(--chk-opt-card-bg);
  pointer-events: none;
  box-shadow: none;
  transition:
    border-color 0.15s ease,
    background 0.15s ease;
}

/* Görsel radyo halkası */
.checkout-option__face::before {
  content: "";
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  margin-right: 2px;
  border-radius: 50%;
  border: 2px solid #c5c5c5;
  background: #fff;
  box-sizing: border-box;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.checkout-option__input:checked + .checkout-option__face::before {
  border-color: var(--chk-opt-active);
  box-shadow: inset 0 0 0 5px var(--chk-opt-active);
}

.checkout-option:hover .checkout-option__input:not(:checked) + .checkout-option__face {
  border-color: #cfcfcf;
  background: #fff;
}

.checkout-option__input:checked + .checkout-option__face {
  border: 1px solid var(--chk-opt-card-border-selected);
  background: var(--chk-opt-card-bg-selected);
}

.checkout-option__input:focus {
  outline: none;
}

.checkout-option__input:focus-visible + .checkout-option__face {
  box-shadow: 0 0 0 2px rgba(0, 91, 209, 0.35);
}

.checkout-option__input:focus-visible:checked + .checkout-option__face {
  box-shadow: 0 0 0 2px rgba(0, 91, 209, 0.45);
}

.checkout-option__title {
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: #0f172a;
  flex: 1;
  min-width: 0;
}

.checkout-option__input:checked + .checkout-option__face .checkout-option__title {
  color: #0a1628;
}

.checkout-option__price {
  flex-shrink: 0;
  font-size: 14px;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.02em;
  color: #0f172a;
  padding: 7px 11px;
  border-radius: 8px;
  background: #f0f0f0;
}

.checkout-option__input:checked + .checkout-option__face .checkout-option__price:not(.checkout-option__price--free) {
  background: rgba(0, 91, 209, 0.1);
  color: #004a9e;
}

.checkout-option__price--free {
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.14em;
  color: var(--chk-opt-active);
  background: rgba(0, 91, 209, 0.08);
}

.checkout-option__input:checked + .checkout-option__face .checkout-option__price--free {
  color: #005bd1;
}

.checkout-option__face--payment .checkout-option__title {
  font-size: 15px;
  font-weight: 600;
}

/* Eski düzen yedek (başka temalar) */
.checkout-radio-row {
  display: flex;
  align-items: flex-start;
  padding: 10px 12px;
  border: 1px solid var(--chk-border);
  border-radius: 10px;
  background: #fafbfc;
}

.checkout-divider {
  border: none;
  border-top: 1px solid var(--chk-border);
  margin: 20px 0;
}

.odeme_detay {
  margin-top: 12px;
  padding: 14px 16px;
  font-size: 14px;
  color: var(--chk-muted);
  line-height: 1.55;
  background: #f9fafb;
  border: 1px solid var(--chk-opt-card-border);
  border-radius: var(--chk-opt-radius);
}

.odeme_detay:empty {
  display: none;
  margin: 0;
  padding: 0;
  border: none;
}

/* KVKK / IYS */
.checkout-legal {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin-bottom: 14px;
  font-size: 13px;
  line-height: 1.45;
  color: var(--chk-muted);
}

.checkout-legal input {
  margin-top: 3px;
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  accent-color: var(--chk-accent);
}

.checkout-legal--required input:invalid {
  outline: 1px solid #dc2626;
}

.checkout-consent {
  margin-top: 16px;
}

.checkout-consent .checkout-section__title {
  font-size: 16px;
  margin: 0 0 12px;
}

/* Sol sütun alt: yasal bağlantılar (footer ile aynı Sayfa ID’leri) */
.checkout-footer-legal {
  margin-top: 20px;
  padding-top: 18px;
  border-top: 1px solid var(--chk-border);
}

.checkout-footer-legal__list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 10px 14px;
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 12px;
  line-height: 1.4;
}

.checkout-footer-legal__list li {
  margin: 0;
}

.checkout-footer-legal__list a {
  color: var(--chk-muted);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.checkout-footer-legal__list a:hover {
  color: var(--chk-accent);
}

/* Sipariş özeti */
.checkout-order-summary-title {
  font-size: 17px;
  font-weight: 800;
  margin: 0 0 14px;
  letter-spacing: -0.02em;
  color: var(--chk-text);
}

.checkout-order-lines {
  margin: 0;
  padding: 0;
  list-style: none;
}

.checkout-order-head {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--chk-muted);
  padding-bottom: 8px;
  border-bottom: 1px solid var(--chk-border);
  margin-bottom: 8px;
}

.checkout-order-line {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 16px 0;
  border-bottom: 1px solid rgba(15, 23, 42, 0.08);
  font-size: 14px;
  color: var(--chk-text);
}

.checkout-order-line:last-child {
  border-bottom: none;
}

.checkout-order-line__media {
  flex-shrink: 0;
  text-decoration: none;
  color: inherit;
}

.checkout-order-line__img-wrap {
  position: relative;
  display: block;
  width: 64px;
  height: 64px;
  border-radius: 8px;
  border: 1px solid rgba(15, 23, 42, 0.1);
  background: #fff;
  overflow: hidden;
}

.checkout-order-line__img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.checkout-order-line__qty-badge {
  position: absolute;
  top: -6px;
  right: -6px;
  min-width: 22px;
  height: 22px;
  padding: 0 6px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: #0f172a;
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  line-height: 1;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}

.checkout-order-line__body {
  flex: 1;
  min-width: 0;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
}

.checkout-order-line__text {
  flex: 1;
  min-width: 0;
}

.checkout-order-line__title {
  font-size: 14px;
  font-weight: 500;
  line-height: 1.35;
  color: var(--chk-text);
}

.checkout-order-line__title h6 {
  margin: 6px 0 0;
  font-size: 12px;
  font-weight: 400;
  line-height: 1.4;
  color: var(--chk-muted);
}

.checkout-order-line .myt-line-opts {
  margin-top: 6px;
  font-size: 12px;
  font-weight: 400;
  line-height: 1.45;
  color: var(--chk-muted);
}

.checkout-order-line__meta {
  margin-top: 6px;
  font-size: 12px;
  line-height: 1.35;
  color: var(--chk-muted);
}

.checkout-order-line__kampanya {
  margin-top: 4px;
  font-size: 11px;
  font-weight: 600;
  line-height: 1.3;
  color: #15803d;
}

.checkout-order-line__unit {
  font-size: 12px;
  color: var(--chk-muted);
  white-space: nowrap;
}

.checkout-order-line__price-old {
  text-decoration: line-through;
  text-decoration-color: rgba(15, 23, 42, 0.28);
  color: var(--chk-muted);
  margin-right: 4px;
}

.checkout-order-totals__row--discount .checkout-order-totals__val {
  color: #15803d;
  font-weight: 600;
}

.checkout-order-line__prices {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.12rem;
  flex-shrink: 0;
  text-align: right;
}

.checkout-order-line__prices .myt-cart-page__price-was {
  color: #6b8f72;
  font-size: 12px;
  text-decoration: line-through;
  text-decoration-color: rgba(22, 101, 52, 0.35);
}

.checkout-order-line__prices:has(.myt-cart-page__price-was) .checkout-line-total {
  color: #15803d;
  font-weight: 700;
}

.checkout-order-line .checkout-line-total {
  flex-shrink: 0;
  font-weight: 600;
  font-size: 14px;
  margin: 0;
  text-align: right;
  white-space: nowrap;
}

.checkout-order-totals {
  margin: 20px 0 0;
  padding: 18px 0 0;
  padding-left: 0;
  border-top: 1px solid rgba(15, 23, 42, 0.1);
  list-style: none;
}

.checkout-order-totals--single {
  padding-top: 14px;
  margin-top: 14px;
  border-top: 1px solid rgba(15, 23, 42, 0.1);
}

.checkout-order-totals__row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 6px 0;
  font-size: 14px;
  color: var(--chk-muted);
}

.checkout-order-totals__row--muted {
  font-size: 13px;
}

.checkout-order-totals__row--hidden {
  display: none !important;
}

.checkout-order-totals__kargo-label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.checkout-info-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  margin: 0;
  padding: 0;
  border: 1px solid rgba(15, 23, 42, 0.2);
  border-radius: 50%;
  background: #fff;
  color: var(--chk-muted);
  font-size: 11px;
  font-weight: 700;
  line-height: 1;
  cursor: help;
}

.checkout-order-totals__grand {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 16px;
  margin-top: 10px;
  padding-top: 14px;
  border-top: 1px solid rgba(15, 23, 42, 0.12);
}

.checkout-order-totals__grand--inline {
  margin-top: 0;
  padding-top: 0;
  border-top: none;
  align-items: center;
}

.checkout-order-totals__grand-title {
  font-size: 18px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--chk-text);
}

.checkout-order-totals__tax {
  margin-top: 4px;
  font-size: 12px;
  line-height: 1.35;
  color: var(--chk-muted);
}

.checkout-order-totals__tax-prefix {
  margin-right: 0.35em;
  font-weight: 600;
  color: var(--chk-muted);
}

.checkout-order-totals__tax-suffix {
  color: var(--chk-muted);
}

.checkout-order-totals__grand-right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 2px;
  text-align: right;
}

.checkout-order-currency {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--chk-muted);
  text-transform: uppercase;
}

.checkout-order-totals__grand .kargoGenelToplam,
.checkout-order-totals__grand-right .checkout-total-value {
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--chk-text);
  line-height: 1.1;
}

.checkout-order-totals li.checkout-order-total-final {
  font-size: 16px;
  font-weight: 800;
  color: var(--chk-text);
  padding-top: 10px;
  margin-top: 4px;
  border-top: 1px solid var(--chk-border);
}

.checkout-submit {
  margin-top: 22px;
}

/* Odeme.php başarı ekranı: ek HTML olmadan “Siparişi tamamla” ile aynı genişlik */
.checkout-success .checkout-btn {
  width: 100%;
  margin-top: 22px;
  box-sizing: border-box;
  justify-content: center;
}

.checkout-submit button[type="submit"] {
  width: 100%;
  padding: 14px 20px;
  border: none;
  border-radius: 12px;
  background: var(--chk-accent);
  color: #fff;
  font-weight: 800;
  font-size: 15px;
  cursor: pointer;
  transition: background 0.15s ease, transform 0.1s ease;
}

.checkout-submit button[type="submit"]:hover {
  background: #0047a8;
}

.checkout-submit button[type="submit"]:active {
  transform: scale(0.99);
}

/* Odeme.php çıktıları */
.checkout-title {
  font-size: 26px;
  line-height: 1.2;
  margin: 0 0 8px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--chk-text);
}

.checkout-success .checkout-title {
  font-size: 22px;
  margin-bottom: 6px;
}

.checkout-success .checkout-subtitle {
  margin-bottom: 14px;
}

.checkout-title--payment {
  font-size: 24px;
  margin-bottom: 4px;
}

.checkout-subtitle {
  color: var(--chk-muted);
  margin: 0 0 18px;
  font-size: 15px;
}

.checkout-items {
  margin: 10px 0 0;
  padding: 0;
  list-style: none;
}

.checkout-item {
  padding: 12px 0;
  border-bottom: 1px solid var(--chk-border);
}

.checkout-item:last-child {
  border-bottom: none;
}

.checkout-item-name {
  font-weight: 700;
  font-size: 14px;
  margin: 0 0 4px;
  color: var(--chk-text);
}

.checkout-item-meta {
  color: var(--chk-muted);
  font-size: 12px;
  line-height: 1.35;
}

.checkout-qty {
  color: var(--chk-muted);
  font-size: 12px;
  margin-top: 4px;
}

.checkout-line-total {
  font-weight: 800;
  font-size: 14px;
  margin-top: 6px;
}

.checkout-total-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid var(--chk-border);
}

.checkout-total-label {
  color: var(--chk-muted);
  font-size: 13px;
  font-weight: 700;
}

.checkout-total-value {
  font-size: 16px;
  font-weight: 900;
  color: var(--chk-text);
}

.checkout-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 20px;
  border-radius: 12px;
  background: var(--chk-accent);
  color: #fff;
  text-decoration: none;
  font-weight: 800;
  font-size: 15px;
  margin-top: 8px;
}

.checkout-btn:hover {
  background: #0047a8;
  color: #fff;
}

.checkout-btn-secondary {
  background: #fff;
  border: 1px solid var(--chk-border);
  color: var(--chk-text);
}

.checkout-success {
  text-align: center;
  padding: 18px 10px 10px;
}

.checkout-success-icon {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  margin: 0 auto 10px;
  background: rgba(25, 195, 125, 0.1);
  color: #19c37d;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  font-weight: 900;
}

.paytr-iframe-wrap iframe {
  width: 100% !important;
  min-height: 560px;
}

#satinal_adres[style*="display:none"],
#satinal_adres[style*="display: none"] {
  display: none !important;
}

@media (max-width: 900px) {
  .checkout-shell {
    padding: 16px 16px 24px;
  }

  .checkout-page-title {
    font-size: 19px;
    margin-bottom: 16px;
  }

  .checkout-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 16px;
  }

  .checkout-left {
    padding: 0 16px;
  }

  .checkout-right {
    width: 100%;
    position: static;
    order: -1;
    padding: 16px 16px 24px;
    border-left: none;
    align-self: stretch;
  }

  .checkout-card--summary,
  .checkout-summary-panel {
    background: transparent;
    border: none;
    box-shadow: none;
  }

  /* Sticky, genişleyen içeriği kesmesin */
  .checkout-summary-disclosure.checkout-summary-panel,
  .checkout-summary-panel.checkout-summary-disclosure {
    position: relative;
    top: auto;
    overflow: visible;
  }

  .checkout-summary-toggle {
    display: flex;
    border-color: var(--chk-border);
    background: var(--chk-surface);
    box-shadow: 0 1px 0 rgba(15, 23, 42, 0.06);
  }

  .checkout-summary-disclosure[open] > .checkout-summary-body {
    margin-top: 12px;
  }

  .checkout-summary-body .checkout-order-summary-title {
    display: none;
  }

  .checkout-topbar {
    padding: 12px 14px;
  }

  .checkout-pick .checkout-radio-stack {
    padding: 6px;
    border-radius: 12px;
  }

  .checkout-option__face {
    min-height: 52px;
    padding: 14px 12px 14px 10px;
  }
}

@media (min-width: 901px) {
  .checkout-left > .checkout-card {
    min-height: 100%;
  }

  .checkout-summary-disclosure > summary.checkout-summary-toggle {
    display: none !important;
  }

  /* Kapalı <details> içeriği bazı motorlarda gizlenir; masaüstünde her durumda göster */
  .checkout-summary-disclosure > .checkout-summary-body {
    display: block !important;
    margin-top: 0 !important;
    visibility: visible !important;
  }

  .checkout-summary-disclosure:not([open]) > .checkout-summary-body {
    display: block !important;
  }
}
