/* ─────────────────────────────────────────────────────────────
   İskandil Yayınları — Sipariş / Ödeme sayfası
   style.css'in üzerine biner; palet ve tipografi oradan gelir.
───────────────────────────────────────────────────────────── */

.page-siparis {
  background: var(--paper-2);
}

/* Navbar bu sayfada hep opak durur */
.page-siparis #navbar {
  background: rgba(248, 240, 221, 0.94);
  backdrop-filter: blur(14px) saturate(160%);
  -webkit-backdrop-filter: blur(14px) saturate(160%);
  border-bottom-color: var(--line);
}
.page-siparis #navbar .nav-inner { padding-block: 0.75rem; }
.page-siparis .brand-logo { height: 33px; }

.nav-secure {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--sea-700);
}

/* ══════════════════════════════════════════════
   SAYFA İSKELETİ
══════════════════════════════════════════════ */
.checkout {
  padding-top: clamp(6.5rem, 11vw, 8.5rem);
  padding-bottom: clamp(3.5rem, 8vw, 6rem);
}

.co-head { margin-bottom: clamp(1.8rem, 4vw, 2.8rem); }

.co-back {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 1rem;
  transition: color 0.25s var(--ease);
}
.co-back:hover { color: var(--red-deep); }
.co-back svg { transition: transform 0.25s var(--ease); }
.co-back:hover svg { transform: translateX(-3px); }

.co-title {
  font-family: var(--display);
  font-size: clamp(2.1rem, 5.5vw, 3.2rem);
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: -0.01em;
  margin-bottom: 0.5rem;
}
.co-subtitle {
  font-size: 0.98rem;
  color: var(--ink-soft);
  max-width: 52ch;
}

/* Kaynak sırası: kitap → özet → teslimat/ödeme.
   Mobilde bu sıra korunur (ödeme en altta kalır); masaüstünde özet
   sağ sütuna alınır, teslimat/ödeme kitabın altına iner. */
.co-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 358px;
  gap: clamp(1.5rem, 3vw, 2.4rem);
  align-items: start;
}
.co-grid > .co-book { grid-column: 1; grid-row: 1; }
.co-grid > .co-side { grid-column: 2; grid-row: 1 / span 2; }
.co-grid > .co-main { grid-column: 1; grid-row: 2; }

.co-main {
  display: flex;
  flex-direction: column;
  gap: clamp(1.2rem, 2.4vw, 1.7rem);
  min-width: 0;
}
.co-main > form {
  display: flex;
  flex-direction: column;
  gap: clamp(1.2rem, 2.4vw, 1.7rem);
}

/* ══════════════════════════════════════════════
   KART KUTULARI
══════════════════════════════════════════════ */
.co-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: clamp(1.4rem, 3.4vw, 2.2rem);
  box-shadow: 0 1px 2px rgba(28, 25, 20, 0.04);
}

.co-sec-title {
  display: flex;
  align-items: baseline;
  gap: 0.8rem;
  font-family: var(--serif);
  font-size: clamp(1.15rem, 2.4vw, 1.4rem);
  font-weight: 600;
  letter-spacing: -0.01em;
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--line);
}
.co-sec-num {
  font-family: var(--sans);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--paper);
  background: var(--red-deep);
  border-radius: 3px;
  padding: 0.25rem 0.5rem;
  flex-shrink: 0;
  transform: translateY(-2px);
}

/* ══════════════════════════════════════════════
   KİTAP KUTUSU
══════════════════════════════════════════════ */
.co-book {
  display: grid;
  grid-template-columns: 178px minmax(0, 1fr);
  gap: clamp(1.3rem, 3vw, 2.2rem);
  align-items: start;
}
.co-book-cover .cover { width: 100%; }

.co-kicker {
  font-size: 0.66rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--red-deep);
  margin-bottom: 0.55rem;
}
.co-book-title {
  font-family: var(--display);
  font-size: clamp(1.5rem, 3.4vw, 2.05rem);
  font-weight: 400;
  line-height: 1.12;
  letter-spacing: -0.01em;
  margin-bottom: 0.55rem;
}
.co-book-author {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--serif);
  font-size: 1rem;
  color: var(--ink-soft);
  margin-bottom: 1.1rem;
}
.co-book-author strong { font-weight: 640; color: var(--ink); }

.co-book-desc {
  font-size: 0.94rem;
  font-weight: 380;
  line-height: 1.8;
  color: var(--ink-soft);
  margin-bottom: 1rem;
}
.co-book-desc em { font-family: var(--serif); font-size: 1.04em; }
.co-book-desc p { margin-bottom: 0.8rem; }
.co-book-desc p:last-child { margin-bottom: 0; }

.co-book-awards {
  font-size: 0.8rem;
  font-style: italic;
  font-family: var(--serif);
  color: var(--muted);
  padding-left: 0.9rem;
  border-left: 2px solid var(--red);
  margin-bottom: 1.4rem;
}

.co-book-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 2rem;
  padding: 1rem 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  margin-bottom: 1.3rem;
}
.co-book-meta dt {
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.15rem;
}
.co-book-meta dd { font-size: 0.9rem; font-weight: 500; }

.co-book-price {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.5rem 1rem;
}
.co-price-val {
  font-family: var(--serif);
  font-size: clamp(1.5rem, 3vw, 1.9rem);
  font-weight: 700;
  color: var(--red-deep);
  letter-spacing: -0.02em;
}
.co-price-note {
  font-size: 0.78rem;
  color: var(--muted);
}

/* ══════════════════════════════════════════════
   FORM EKLERİ
══════════════════════════════════════════════ */
.co-mb0 { margin-bottom: 0; }
.co-opt { font-weight: 400; letter-spacing: 0.04em; text-transform: none; }
.co-adres { min-height: 92px; }

.form-input.has-error,
.form-textarea.has-error {
  border-color: var(--red);
  background: rgba(214, 55, 46, 0.04);
}

.form-err {
  display: none;
  font-size: 0.75rem;
  color: var(--red-deep);
  margin-top: 0.35rem;
}
.form-err.on { display: block; }

.co-row-3 { grid-template-columns: 1fr 1fr 1fr; }

/* ══════════════════════════════════════════════
   ÖDEME YÖNTEMİ
══════════════════════════════════════════════ */
.co-method {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 0.95rem 1.1rem;
  background: var(--paper-2);
  border: 1px solid var(--red);
  border-radius: 6px;
  margin-bottom: 1.5rem;
}
.co-method-radio {
  width: 17px; height: 17px;
  border-radius: 50%;
  border: 2px solid var(--red-deep);
  flex-shrink: 0;
  position: relative;
}
.co-method-radio::after {
  content: '';
  position: absolute;
  inset: 3px;
  border-radius: 50%;
  background: var(--red-deep);
}
.co-method-text { flex: 1; min-width: 0; }
.co-method-text strong {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
}
.co-method-text span {
  display: block;
  font-size: 0.75rem;
  color: var(--muted);
}

.co-brands {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  flex-shrink: 0;
}
.co-brand {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 24px;
  min-width: 38px;
  padding: 0 0.4rem;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 3px;
  font-size: 0.6rem;
  font-weight: 800;
  letter-spacing: 0.04em;
}
.co-brand-visa  { color: #1A1F71; font-style: italic; }
.co-brand-troy  { color: #00A0DF; text-transform: lowercase; letter-spacing: 0; }
.co-brand-mc    { gap: 0; }
.co-brand-mc i {
  width: 12px; height: 12px;
  border-radius: 50%;
  display: block;
}
.co-brand-mc i:first-child { background: #EB001B; }
.co-brand-mc i:last-child  { background: #F79E1B; margin-left: -5px; }

/* ── Kart alanları ── */
.co-input-wrap { position: relative; }
.co-input-wrap .form-input { padding-right: 5.5rem; }

.co-card-brand {
  position: absolute;
  top: 50%;
  right: 0.85rem;
  transform: translateY(-50%);
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  color: var(--muted);
  opacity: 0;
  transition: opacity 0.25s var(--ease);
  pointer-events: none;
}
.co-card-brand.on { opacity: 1; }
.co-card-brand.co-brand-visa       { color: #1A1F71; font-style: italic; }
.co-card-brand.co-brand-mastercard { color: #D8341C; }
.co-card-brand.co-brand-troy       { color: #00A0DF; }
.co-card-brand.co-brand-amex       { color: #016FD0; }

#card_number,
#expiry_month,
#expiry_year,
#cvv {
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.06em;
}

.co-secure-note {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  font-size: 0.78rem;
  line-height: 1.65;
  color: var(--muted);
  background: var(--paper-2);
  border-radius: 6px;
  padding: 0.85rem 1rem;
  margin-top: 0.4rem;
}
.co-secure-note svg { flex-shrink: 0; margin-top: 0.2rem; color: var(--sea-700); }
.co-secure-note strong { color: var(--ink-soft); }

/* ── Test kartları kutusu ── */
.co-testbox {
  margin-top: 1.2rem;
  padding: 1rem 1.1rem;
  border: 1px dashed var(--wood);
  border-radius: 6px;
  background: rgba(122, 74, 38, 0.05);
}
.co-testbox-head {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--wood);
  margin-bottom: 0.7rem;
}
.co-testbox-line {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-bottom: 0.7rem;
}
.co-testcard {
  font-family: var(--sans);
  font-size: 0.76rem;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.04em;
  color: var(--ink-soft);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 0.4rem 0.7rem;
  cursor: pointer;
  transition: border-color 0.2s var(--ease), color 0.2s var(--ease);
}
.co-testcard:hover { border-color: var(--wood); color: var(--wood); }
.co-testbox-foot {
  font-size: 0.72rem;
  line-height: 1.6;
  color: var(--muted);
}
.co-testbox-foot code {
  font-size: 0.95em;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 3px;
  padding: 0.05rem 0.3rem;
}

/* ══════════════════════════════════════════════
   ONAY + GÖNDER
══════════════════════════════════════════════ */
.co-confirm {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: clamp(1.3rem, 3vw, 1.8rem);
}

.co-check {
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
  cursor: pointer;
  user-select: none;
}
.co-check input {
  position: absolute;
  opacity: 0;
  width: 0; height: 0;
}
.co-check-box {
  width: 19px; height: 19px;
  flex-shrink: 0;
  margin-top: 0.15rem;
  border: 1.5px solid var(--muted);
  border-radius: 4px;
  background: var(--paper);
  position: relative;
  transition: background 0.2s var(--ease), border-color 0.2s var(--ease);
}
.co-check-box::after {
  content: '';
  position: absolute;
  left: 5.5px; top: 2px;
  width: 5px; height: 9px;
  border: solid var(--paper);
  border-width: 0 2px 2px 0;
  transform: rotate(45deg) scale(0);
  transition: transform 0.2s var(--ease);
}
.co-check input:checked + .co-check-box {
  background: var(--red-deep);
  border-color: var(--red-deep);
}
.co-check input:checked + .co-check-box::after { transform: rotate(45deg) scale(1); }
.co-check input:focus-visible + .co-check-box {
  outline: 2px solid var(--red);
  outline-offset: 2px;
}
.co-check-text {
  font-size: 0.85rem;
  line-height: 1.65;
  color: var(--ink-soft);
}
.co-check-text a {
  color: var(--red-deep);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.co-form-error {
  margin-top: 1rem;
  padding: 0.8rem 1rem;
  font-size: 0.84rem;
  color: var(--red-deeper);
  background: rgba(214, 55, 46, 0.08);
  border: 1px solid rgba(214, 55, 46, 0.3);
  border-radius: 5px;
}

.co-submit {
  width: 100%;
  justify-content: space-between;
  margin-top: 1.2rem;
  padding-block: 1.15rem;
  font-size: 0.85rem;
  position: relative;
}
.co-submit-amount {
  font-family: var(--serif);
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  text-transform: none;
}
.co-submit:disabled { opacity: 0.65; cursor: wait; }
.co-submit.is-loading .co-submit-label::after {
  content: '';
  display: inline-block;
  width: 12px; height: 12px;
  margin-left: 0.6rem;
  vertical-align: -1px;
  border: 2px solid rgba(248, 240, 221, 0.35);
  border-top-color: var(--paper);
  border-radius: 50%;
  animation: co-spin 0.7s linear infinite;
}

.co-submit-note {
  font-size: 0.74rem;
  color: var(--muted);
  text-align: center;
  margin-top: 0.85rem;
}

@keyframes co-spin { to { transform: rotate(360deg); } }

/* ══════════════════════════════════════════════
   SİPARİŞ ÖZETİ (sağ sütun)
══════════════════════════════════════════════ */
.co-side { position: sticky; top: 92px; }

.co-summary {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: clamp(1.3rem, 3vw, 1.7rem);
  box-shadow: 0 1px 2px rgba(28, 25, 20, 0.04);
}

.co-summary-title {
  font-family: var(--serif);
  font-size: 1.1rem;
  font-weight: 600;
  padding-bottom: 0.9rem;
  border-bottom: 1px solid var(--line);
  margin-bottom: 1.1rem;
}

.co-line-item {
  display: flex;
  gap: 0.9rem;
  align-items: flex-start;
  margin-bottom: 1.1rem;
}
.co-line-thumb {
  width: 52px;
  flex-shrink: 0;
  aspect-ratio: 1504 / 2257;
  border-radius: 3px;
  overflow: hidden;
  background: var(--paper-3);
  box-shadow: 0 2px 8px -3px rgba(28, 25, 20, 0.35);
}
.co-line-thumb img { width: 100%; height: 100%; object-fit: cover; }
.co-line-name {
  font-family: var(--serif);
  font-size: 0.94rem;
  font-weight: 600;
  line-height: 1.35;
  margin-bottom: 0.2rem;
}
.co-line-sub { font-size: 0.76rem; color: var(--muted); }

/* ── Adet ── */
.co-qty {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.85rem 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.co-qty-label {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--muted);
}
.co-stepper {
  display: flex;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 5px;
  overflow: hidden;
  background: var(--paper-2);
}
.co-step {
  width: 34px; height: 34px;
  font-size: 1.05rem;
  line-height: 1;
  color: var(--ink);
  background: transparent;
  border: none;
  cursor: pointer;
  transition: background 0.2s var(--ease), color 0.2s var(--ease);
}
.co-step:hover:not(:disabled) { background: var(--red-deep); color: var(--paper); }
.co-step:disabled { opacity: 0.3; cursor: not-allowed; }
.co-qty-input {
  width: 42px;
  height: 34px;
  text-align: center;
  font-family: var(--sans);
  font-size: 0.92rem;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  color: var(--ink);
  background: var(--paper);
  border: none;
  border-inline: 1px solid var(--line);
  outline: none;
}

/* ── Ücretsiz kargo çubuğu ── */
.co-shipbar { padding: 1rem 0 0.9rem; }
.co-shipbar-track {
  height: 5px;
  border-radius: 99px;
  background: var(--paper-3);
  overflow: hidden;
  margin-bottom: 0.55rem;
}
.co-shipbar-fill {
  display: block;
  height: 100%;
  width: 0;
  border-radius: 99px;
  background: linear-gradient(90deg, var(--sea-700), var(--red-deep));
  transition: width 0.45s var(--ease), background 0.45s var(--ease);
}
.co-shipbar.co-reached .co-shipbar-fill { background: #2E7D53; }
.co-shipbar-text {
  font-size: 0.76rem;
  color: var(--muted);
  line-height: 1.5;
}
.co-shipbar-text strong { color: var(--ink); font-weight: 600; }
.co-shipbar.co-reached .co-shipbar-text,
.co-shipbar.co-reached .co-shipbar-text strong { color: #2E7D53; }
.co-shipbar-hint { opacity: 0.75; }

/* ── Toplamlar ── */
.co-totals {
  border-top: 1px solid var(--line);
  padding-top: 0.9rem;
}
.co-total-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.65rem;
  font-size: 0.88rem;
  color: var(--ink-soft);
}
.co-total-row dt { display: flex; flex-direction: column; }
.co-total-mini {
  font-size: 0.7rem;
  color: var(--muted);
  margin-top: 0.1rem;
}
.co-total-row dd { font-variant-numeric: tabular-nums; }
.co-total-row dd.co-free {
  color: #2E7D53;
  font-weight: 700;
  text-transform: uppercase;
  font-size: 0.78rem;
  letter-spacing: 0.06em;
}

.co-total-grand {
  margin-top: 0.9rem;
  padding-top: 0.9rem;
  border-top: 1px solid var(--line);
  font-family: var(--serif);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 0;
}
.co-total-grand dd {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--red-deep);
  letter-spacing: -0.02em;
}

.co-summary-note {
  font-size: 0.72rem;
  color: var(--muted);
  text-align: right;
  margin-top: 0.4rem;
}

/* ── Güven satırları ── */
.co-trust {
  margin-top: 1.2rem;
  padding-top: 1.1rem;
  border-top: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}
.co-trust li {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.79rem;
  color: var(--ink-soft);
}
.co-trust svg { color: var(--sea-700); flex-shrink: 0; }

.co-paytr {
  margin-top: 1.1rem;
  padding-top: 0.9rem;
  border-top: 1px solid var(--line);
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  text-align: center;
}
.co-paytr strong { color: var(--ink-soft); letter-spacing: 0.06em; }

/* ══════════════════════════════════════════════
   İŞLEM EKRANI
══════════════════════════════════════════════ */
.co-overlay {
  position: fixed;
  inset: 0;
  z-index: 2500;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  background: rgba(12, 31, 41, 0.86);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}
.co-overlay[hidden] { display: none; }

.co-overlay-box {
  max-width: 380px;
  text-align: center;
  background: var(--paper);
  border-radius: 10px;
  padding: 2.2rem 1.8rem;
}
.co-spinner {
  display: block;
  width: 34px; height: 34px;
  margin: 0 auto 1.2rem;
  border: 3px solid var(--paper-3);
  border-top-color: var(--red-deep);
  border-radius: 50%;
  animation: co-spin 0.8s linear infinite;
}
.co-overlay-title {
  font-family: var(--serif);
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}
.co-overlay-text {
  font-size: 0.84rem;
  line-height: 1.6;
  color: var(--muted);
}

/* ══════════════════════════════════════════════
   SÖZLEŞME PENCERESİ
══════════════════════════════════════════════ */
.co-modal {
  position: fixed;
  inset: 0;
  z-index: 2400;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.2rem;
}
.co-modal[hidden] { display: none; }

.co-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(12, 31, 41, 0.7);
}
.co-modal-box {
  position: relative;
  width: min(660px, 100%);
  max-height: 84vh;
  display: flex;
  flex-direction: column;
  background: var(--paper);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 30px 70px -20px rgba(12, 31, 41, 0.5);
}
.co-modal-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.1rem 1.4rem;
  border-bottom: 1px solid var(--line);
  background: var(--paper-2);
}
.co-modal-head h3 {
  font-family: var(--serif);
  font-size: 1.05rem;
  font-weight: 600;
}
.co-modal-x {
  width: 32px; height: 32px;
  font-size: 1.4rem;
  line-height: 1;
  color: var(--muted);
  background: transparent;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  transition: background 0.2s var(--ease), color 0.2s var(--ease);
}
.co-modal-x:hover { background: var(--paper-3); color: var(--ink); }

.co-modal-body {
  padding: 1.4rem;
  overflow-y: auto;
  font-size: 0.87rem;
  line-height: 1.75;
  color: var(--ink-soft);
}
.co-modal-body h4 {
  font-family: var(--sans);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--red-deep);
  margin: 1.4rem 0 0.5rem;
}
.co-modal-body h4:first-child { margin-top: 0; }
.co-modal-body p { margin-bottom: 0.6rem; }
.co-modal-not {
  margin-top: 1.4rem;
  padding: 0.8rem 1rem;
  font-size: 0.78rem;
  background: rgba(122, 74, 38, 0.07);
  border-left: 3px solid var(--wood);
  border-radius: 0 5px 5px 0;
  color: var(--muted);
}

/* ══════════════════════════════════════════════
   FOOTER
══════════════════════════════════════════════ */
.co-footer { padding-top: 2.6rem; }

/* ══════════════════════════════════════════════
   DUYARLILIK
══════════════════════════════════════════════ */
@media (max-width: 1040px) {
  .co-grid { grid-template-columns: minmax(0, 1fr) 320px; }
}

@media (max-width: 900px) {
  .co-grid { grid-template-columns: 1fr; }
  /* Tek sütunda kaynak sırası geçerli: kitap → özet → teslimat → ödeme */
  .co-grid > .co-book,
  .co-grid > .co-side,
  .co-grid > .co-main { grid-column: auto; grid-row: auto; }
  .co-side { position: static; }
}

@media (max-width: 760px) {
  .page-siparis .nav-links { display: none; }
  .co-book { grid-template-columns: 132px minmax(0, 1fr); gap: 1.1rem; }
  .co-book-meta { gap: 0.5rem 1.2rem; }
}

@media (max-width: 560px) {
  .co-book { grid-template-columns: 1fr; }
  .co-book-cover { width: 148px; }
  .co-row-3 { grid-template-columns: 1fr 1fr; }
  .co-row-3 .form-group:last-child { grid-column: 1 / -1; }
  .co-submit {
    flex-direction: column;
    gap: 0.35rem;
    padding-block: 1rem;
  }
  .nav-secure span { display: none; }
  .co-method { flex-wrap: wrap; }
  .co-brands { width: 100%; justify-content: flex-start; }
}

@media (prefers-reduced-motion: reduce) {
  .co-spinner,
  .co-submit.is-loading .co-submit-label::after { animation: none; }
  .co-shipbar-fill { transition: none; }
}

/* ══════════════════════════════════════════════
   SONUÇ SAYFALARI (başarılı / başarısız)
══════════════════════════════════════════════ */
.co-result {
  max-width: 560px;
  margin-inline: auto;
  text-align: center;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: clamp(2rem, 5vw, 3.2rem) clamp(1.4rem, 4vw, 2.6rem);
  box-shadow: 0 1px 2px rgba(28, 25, 20, 0.04);
}

.co-result-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 64px; height: 64px;
  border-radius: 50%;
  margin-bottom: 1.4rem;
}
.co-result-ok   { background: rgba(46, 125, 83, 0.12); color: #2E7D53; }
.co-result-fail { background: rgba(214, 55, 46, 0.12); color: var(--red-deep); }

.co-result-title {
  font-family: var(--display);
  font-size: clamp(1.6rem, 4vw, 2.2rem);
  font-weight: 400;
  line-height: 1.15;
  margin-bottom: 0.8rem;
}
.co-result-text {
  font-size: 0.95rem;
  line-height: 1.75;
  color: var(--ink-soft);
  margin-bottom: 1.7rem;
}

.co-result-card {
  text-align: left;
  background: var(--paper-2);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 1.1rem 1.3rem;
  margin-bottom: 1.3rem;
}
.co-result-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.5rem 0;
  font-size: 0.86rem;
  border-bottom: 1px solid var(--line);
}
.co-result-row:last-child { border-bottom: none; }
.co-result-row span { color: var(--muted); flex-shrink: 0; }
.co-result-row strong { font-weight: 600; text-align: right; }
.co-result-total {
  font-family: var(--serif);
  font-size: 1rem;
}
.co-result-total strong { color: var(--red-deep); font-size: 1.15rem; }

.co-result-reason { text-align: left; }
.co-reason-label {
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.35rem;
}
.co-reason-text { font-size: 0.9rem; color: var(--ink-soft); }

.co-result-tips {
  text-align: left;
  margin-bottom: 1.6rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.co-result-tips li {
  position: relative;
  padding-left: 1.1rem;
  font-size: 0.85rem;
  line-height: 1.6;
  color: var(--ink-soft);
}
.co-result-tips li::before {
  content: '';
  position: absolute;
  left: 0; top: 0.6rem;
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--red);
}

.co-result-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.7rem;
  margin-bottom: 1.2rem;
}

.co-result-note {
  font-size: 0.8rem;
  line-height: 1.65;
  color: var(--muted);
  margin-bottom: 1rem;
}
.co-result-note:last-child { margin-bottom: 0; }
.co-result-note a {
  color: var(--red-deep);
  text-decoration: underline;
  text-underline-offset: 2px;
}
