/* Adress Kayısı: ödeme ve sipariş sonucu sayfaları. Yalnızca mevcut tasarım değişkenleri kullanılır. */

.co-hero { padding-bottom: clamp(28px, 4vw, 48px); }

.co { display: grid; gap: clamp(32px, 4vw, 56px); align-items: start; }
@media (min-width: 980px) { .co { grid-template-columns: minmax(0, 1fr) minmax(320px, 400px); } }

.co__step { display: grid; gap: 20px; }
.co__step + .co__step { padding-top: 32px; border-top: 1px solid var(--line); }
.co__title { display: flex; align-items: center; gap: 12px; font-size: var(--t-l); font-weight: 600; padding: 0; margin-bottom: 4px; }
.co__title span { display: inline-grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--ink); color: var(--paper); font-size: 13px; font-weight: 600; }
.co__addr { min-height: 96px; }

.co__check { display: flex; gap: 12px; align-items: flex-start; font-size: var(--t-s); line-height: 1.5; cursor: pointer; }
.co__check input { width: 20px; height: 20px; margin-top: 1px; flex: none; accent-color: var(--ink); }

.co__methods { display: grid; gap: 12px; }
.co__method { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 4px 14px; align-items: start; padding: 18px 20px; border-radius: var(--r); background: var(--white); box-shadow: inset 0 0 0 1px var(--line-2); cursor: pointer; }
.co__method:has(input:checked) { box-shadow: inset 0 0 0 2px var(--ink); }
.co__method input { grid-row: span 2; width: 20px; height: 20px; margin-top: 2px; accent-color: var(--ink); }
.co__method b { font-size: var(--t-m); font-weight: 600; }
.co__method small { color: var(--ink-3); font-size: var(--t-xs); line-height: 1.5; }

.co__legal { display: grid; gap: 12px; padding-top: 28px; border-top: 1px solid var(--line); }
.co__alert { border-left: 3px solid var(--warn); }
.co__alert p { color: var(--ink); }
.co__alert--ok { border-left-color: var(--ok); }
.co__form .is-invalid { box-shadow: inset 0 0 0 2px var(--warn); }
.co__form .field-error { color: var(--warn); font-size: var(--t-xs); }

.co__pay { display: grid; gap: 16px; }
.co__frame { border-radius: var(--r); background: #fff; box-shadow: inset 0 0 0 1px var(--line-2); overflow: hidden; }
.co__frame iframe { display: block; width: 100%; min-height: 640px; border: 0; }
.co__back { justify-self: start; background: none; border: 0; padding: 0; cursor: pointer; }

.co__summary { padding: clamp(20px, 2.6vw, 32px); border-radius: var(--r); background: var(--white); box-shadow: inset 0 0 0 1px var(--line-2); display: grid; gap: 20px; }
@media (min-width: 980px) { .co__summary { position: sticky; top: calc(var(--head-h) + 24px); } }
.co__lines { display: grid; gap: 14px; }
.co__line { display: grid; grid-template-columns: 56px minmax(0, 1fr) auto; gap: 14px; align-items: center; font-size: var(--t-s); }
.co__line .plinth { width: 56px; height: 56px; }
.co__line b { display: block; font-weight: 600; }
.co__line span { color: var(--ink-3); font-size: var(--t-xs); }
.co__line .lp { font-weight: 600; font-variant-numeric: tabular-nums; white-space: nowrap; }
.co__sums { display: grid; gap: 10px; padding-top: 16px; border-top: 1px solid var(--line); }
.co__note { line-height: 1.6; }

/* Sipariş sonucu */
.order-result { display: grid; gap: 28px; max-width: 760px; }
.order-result__badge { display: inline-flex; align-items: center; gap: 10px; font-weight: 600; color: var(--ok); }
.order-result__badge svg { width: 24px; height: 24px; }
.order-result__badge--wait { color: var(--ink-2); }
.order-result__badge--bad { color: var(--warn); }
.order-result .account-card dd { font-size: var(--t-m); }
