/* Sepet, ödeme adımları ve sipariş sayfaları (Sprint C2). Renkler site.css değişkenlerinden; koyu tema otomatik. */

.co-page { padding-bottom: 48px; }
.co-narrow { max-width: 880px; }
.co-flash { margin: 0 0 14px; }
.co-flash p, .co-note span { margin: 0; }
.co-verify { display: grid; gap: 10px; }
.co-verify form { margin: 0; }
.co-verify .btn { height: 38px; padding: 0 14px; font-size: 13.5px; }
.co-mono { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; letter-spacing: .02em; }
.co-hint { display: block; margin: 6px 0 0; color: var(--muted); font-size: 12.5px; }

/* Adımlar */
.co-steps { display: flex; gap: 6px; margin: 4px 0 20px; padding: 0; list-style: none; counter-reset: none; }
.co-steps li { display: flex; flex: 1; align-items: center; gap: 8px; min-width: 0; color: var(--soft); font-size: 13px; font-weight: 600; }
.co-steps li::after { content: ""; flex: 1; height: 2px; margin-left: 4px; border-radius: 2px; background: var(--line); }
.co-steps li:last-child { flex: none; }
.co-steps li:last-child::after { display: none; }
.co-steps a { display: inline-flex; align-items: center; gap: 8px; color: inherit; text-decoration: none; }
.co-steps a:hover span:last-child { text-decoration: underline; }
.co-step-dot { display: inline-grid; flex: none; place-items: center; width: 26px; height: 26px; border: 2px solid var(--line-2); border-radius: 50%; background: var(--surface); font-size: 12px; }
.co-steps .is-done { color: var(--heading); }
.co-steps .is-done .co-step-dot { border-color: var(--success); background: var(--success); color: #fff; }
.co-steps .is-done::after { background: var(--success); }
.co-steps .is-now { color: var(--heading); }
.co-steps .is-now .co-step-dot { border-color: var(--navy); background: var(--navy); color: #fff; }

/* Yerleşim */
.co-grid { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 24px; align-items: start; }
.co-main { display: grid; gap: 16px; min-width: 0; }
.co-side { position: sticky; top: 92px; display: grid; gap: 12px; }
.co-card { padding: 20px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--surface); }
.co-card-title { display: flex; align-items: center; gap: 10px; margin: 0 0 14px; color: var(--heading); font-size: 16px; font-weight: 700; }
.co-card-title small { color: var(--muted); font-size: 12.5px; font-weight: 500; }
.co-card-title .ico { color: var(--cyan-d); }
.co-card-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.co-num { display: inline-grid; flex: none; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: var(--navy-l); color: var(--heading); font-size: 12px; font-weight: 700; }
.co-sub { margin: 16px 0 10px; color: var(--heading); font-size: 14px; }
.co-actions { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; margin: 4px 0 0; }

/* Özet */
.co-sum { padding: 18px 20px; }
.co-mini { display: grid; gap: 10px; margin: 0 0 14px; padding: 0 0 14px; border-bottom: 1px solid var(--line-soft); list-style: none; }
.co-mini li { display: grid; grid-template-columns: 44px minmax(0, 1fr) auto; align-items: center; gap: 10px; }
.co-mini-img { position: relative; display: grid; place-items: center; width: 44px; height: 44px; border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--img-well); color: var(--soft); }
.co-mini-img img { width: 100%; height: 100%; border-radius: inherit; object-fit: contain; }
.co-mini-img b { position: absolute; top: -7px; right: -7px; min-width: 18px; height: 18px; padding: 0 4px; border-radius: 999px; background: var(--navy); color: #fff; font-size: 11px; line-height: 18px; text-align: center; }
.co-mini-name { overflow: hidden; color: var(--text); font-size: 13px; line-height: 1.35; }
.co-mini-name small { display: block; color: var(--muted); font-size: 11.5px; }
.co-mini-price { color: var(--heading); font-size: 13px; font-weight: 600; white-space: nowrap; }
.co-totals { display: grid; gap: 8px; margin: 0; }
.co-totals div { display: flex; justify-content: space-between; gap: 12px; font-size: 14px; }
.co-totals dt { color: var(--muted); }
.co-totals dd { margin: 0; color: var(--text); font-weight: 600; font-variant-numeric: tabular-nums; }
.co-totals .is-discount dd, .co-free { color: var(--success); font-weight: 700; }
.co-totals .co-grand { margin-top: 4px; padding-top: 12px; border-top: 1px solid var(--line); }
.co-totals .co-grand dt { color: var(--heading); font-weight: 700; }
.co-totals .co-grand dt small { color: var(--muted); font-size: 11.5px; font-weight: 500; }
.co-totals .co-grand dd { color: var(--heading); font-size: 20px; font-weight: 800; }
.co-freebar { display: flex; align-items: center; gap: 8px; margin: 14px 0 0; padding: 9px 12px; border-radius: var(--radius-sm); background: var(--cyan-l); color: var(--cyan-ink); font-size: 13px; }
.co-freebar.is-ok { background: var(--success-soft); color: var(--success); }
.co-cta { gap: 6px; }
.co-paylist { display: flex; flex-wrap: wrap; gap: 6px 14px; margin: 0; padding: 0 4px; color: var(--muted); font-size: 12.5px; list-style: none; }
.co-paylist li { display: inline-flex; align-items: center; gap: 5px; }
.co-paylist .ico { color: var(--success); }
.co-secure { display: flex; align-items: flex-start; gap: 8px; margin: 0; padding: 0 4px; color: var(--muted); font-size: 12.5px; line-height: 1.45; }
.co-secure .ico { flex: none; margin-top: 1px; color: var(--success); }
.co-continue { padding: 0 4px; color: var(--heading); font-size: 13px; font-weight: 600; text-decoration: none; }
.co-continue:hover { text-decoration: underline; }
.co-note { margin: 0; }

/* Ödeme yöntemi kapalıyken sepetin başındaki iletişim kartı */
.co-offline { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 14px 18px; margin-bottom: 16px; border-color: var(--buy-line); background: var(--buy-soft); }
.co-offline-ico { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--surface); color: var(--buy-ink); }
.co-offline-txt h2 { margin: 0 0 4px; color: var(--heading); font-size: 17px; }
.co-offline-txt p { margin: 0; color: var(--text); font-size: 14px; line-height: 1.5; }
.co-offline-act { display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-end; gap: 8px 10px; }
.co-offline-act .btn { gap: 6px; }
.co-offline-alt { font-size: 13px; }
.co-offline-steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; margin: 0 0 20px; padding: 0; list-style: none; counter-reset: none; }
.co-offline-steps li { display: grid; gap: 6px; padding: 10px 8px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); color: var(--muted); font-size: 12px; line-height: 1.35; text-align: center; }
.co-offline-steps li span { display: grid; place-items: center; width: 22px; height: 22px; margin: 0 auto; border-radius: 50%; background: var(--surface-2); color: var(--heading); font-size: 11px; font-weight: 700; }
.co-offline-steps li.is-done { border-color: var(--success-line); color: var(--text); }
.co-offline-steps li.is-done span { background: var(--success); color: #fff; }
.co-offline-steps li.is-current { border-color: var(--buy-line); background: var(--buy-soft); color: var(--heading); font-weight: 600; }
.co-offline-steps li.is-current span { background: var(--buy); color: #fff; }
@media (max-width: 760px) {
    .co-offline-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .co-offline { grid-template-columns: auto minmax(0, 1fr); }
    .co-offline-act { grid-column: 1 / -1; justify-content: stretch; }
    .co-offline-act .btn { flex: 1 1 100%; justify-content: center; }
}

/* Sepet satırları */
.ct-lines { display: grid; margin: 0; padding: 0; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--surface); list-style: none; }
.ct-line { display: grid; grid-template-columns: 88px minmax(0, 1fr) auto auto auto; align-items: center; gap: 16px; padding: 16px 18px; }
.ct-line + .ct-line { border-top: 1px solid var(--line-soft); }
.ct-line.has-problem { background: var(--surface-2); }
.ct-line.has-problem .ct-img, .ct-line.has-problem .ct-name { opacity: .6; }
.ct-img { display: grid; place-items: center; width: 88px; height: 88px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--img-well); color: var(--soft); }
.ct-img img { width: 100%; height: 100%; border-radius: inherit; object-fit: contain; }
.ct-img .ico { width: 32px; height: 32px; }
.ct-info { display: flex; flex-direction: column; align-items: flex-start; gap: 3px; min-width: 0; }
.ct-brand { color: var(--cyan-d); font-size: 11.5px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; }
.ct-name { color: var(--heading); font-size: 14.5px; font-weight: 600; line-height: 1.35; text-decoration: none; }
.ct-name:hover { text-decoration: underline; }
.ct-sku { color: var(--muted); font-size: 12.5px; }
.ct-info .chip { margin-top: 4px; }
.ct-camp { display: inline-flex; align-items: center; gap: 4px; color: var(--success); font-size: 12px; font-weight: 600; }
.ct-qty form { display: flex; align-items: center; gap: 8px; }
.ct-select { width: 76px; height: 40px; }
.ct-upd { height: 40px; padding: 0 12px; }
.ct-price { display: grid; justify-items: end; min-width: 96px; text-align: right; }
.ct-price b { color: var(--heading); font-size: 16px; font-variant-numeric: tabular-nums; }
.ct-price small { color: var(--muted); font-size: 12px; }
.ct-price s { color: var(--soft); }
.ct-remove button { display: inline-flex; align-items: center; gap: 4px; padding: 8px; border: 0; border-radius: var(--radius-sm); background: none; color: var(--muted); font-size: 12.5px; cursor: pointer; }
.ct-remove button:hover { background: var(--danger-soft); color: var(--danger); }
.ct-remove button span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.ct-coupon { padding: 16px 18px; }
.ct-coupon-form label { display: flex; align-items: center; gap: 6px; margin-bottom: 8px; color: var(--heading); font-size: 13.5px; font-weight: 600; }
.ct-coupon-row { display: flex; gap: 8px; max-width: 440px; min-width: 0; }
.ct-coupon-row .input { min-width: 0; flex: 1 1 auto; }
.ct-coupon-row .input { text-transform: uppercase; }
.ct-coupon-row .input::placeholder { text-transform: none; }
.ct-coupon-on { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; font-size: 13.5px; }
.ct-coupon-on > span { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.ct-coupon-on .ico { color: var(--success); }
.ct-coupon-err { color: var(--danger); font-style: normal; }
.ct-coupon-on button { padding: 0; border: 0; background: none; cursor: pointer; }
.co-confirm { display: grid; justify-items: start; gap: 10px; margin: 24px 0; padding: 28px; }
.co-confirm h1 { margin: 0; color: var(--heading); font-size: 22px; }
.co-confirm p { margin: 0; }
.co-confirm form { display: flex; flex-wrap: wrap; gap: 10px; }

/* Form alanları */
.co-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 16px; }
.co-fields-1 { grid-template-columns: minmax(0, 1fr); }
.co-field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.co-field > label { color: var(--heading); font-size: 13px; font-weight: 600; }
.co-field > label small { color: var(--muted); font-weight: 500; }
.co-wide { grid-column: 1 / -1; }
.co-field textarea.input { height: auto; min-height: 72px; padding: 10px 14px; line-height: 1.45; resize: vertical; }
.co-field .input[aria-invalid="true"], .co-field .select[aria-invalid="true"] { border-color: var(--danger); }
.co-err { display: block; color: var(--danger); font-size: 12.5px; font-weight: 600; }
.co-card > .co-err { margin: -6px 0 10px; }
.co-who, .co-guest { display: flex; align-items: center; gap: 8px; margin: 0 0 12px; color: var(--text); font-size: 13.5px; }
.co-who { margin: 0; }
.co-who .ico { color: var(--cyan-d); }
.co-guest { display: block; color: var(--muted); }
.co-book { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin: 0 0 8px; }
.co-opt { position: relative; display: flex; align-items: flex-start; gap: 10px; padding: 12px 14px; border: 1.5px solid var(--line-2); border-radius: var(--radius); background: var(--surface); cursor: pointer; transition: border-color .15s, background .15s; }
.co-opt:hover { border-color: var(--line-strong); }
.co-opt:has(input:checked), .co-opt.is-on { border-color: var(--navy); background: var(--navy-l); }
.co-opt input { flex: none; width: 18px; height: 18px; margin: 2px 0 0; accent-color: var(--accent-ctl); }
.co-opt-body { display: grid; gap: 2px; min-width: 0; }
.co-opt-body b { color: var(--heading); font-size: 14px; }
.co-opt-body small { color: var(--muted); font-size: 12.5px; line-height: 1.4; }
.co-newaddr { margin-top: 12px; }
.co-book + .co-hint + .co-newaddr, .co-book + .co-newaddr { margin-top: 16px; }
.co-check { display: flex; align-items: flex-start; gap: 10px; margin: 14px 0 0; color: var(--text); font-size: 13.5px; cursor: pointer; }
.co-check input { flex: none; width: 18px; height: 18px; margin: 1px 0 0; accent-color: var(--accent-ctl); }
.co-check-sm { margin: 4px 0 0; font-size: 12.5px; }
.co-check-sm input { width: 16px; height: 16px; }
.co-check-lg { padding: 14px; border: 1.5px solid var(--line-2); border-radius: var(--radius); background: var(--surface-2); font-size: 14px; }
.co-check-lg:has(input:checked) { border-color: var(--success); background: var(--success-soft); }
.co-wallet { margin: 0 0 14px; padding: 12px 14px; border: 1.5px solid var(--line-2); border-radius: var(--radius); background: var(--surface-2); }
.co-wallet .co-check { margin: 0; }
.co-wallet .co-check small { display: inline; color: var(--muted); font-weight: 500; }
.co-seg { display: inline-flex; margin: 0 0 14px; padding: 3px; border-radius: var(--radius); background: var(--chip-bg); }
.co-seg label { position: relative; cursor: pointer; }
.co-seg input { position: absolute; opacity: 0; pointer-events: none; }
.co-seg span { display: block; padding: 8px 18px; border-radius: calc(var(--radius) - 3px); color: var(--muted); font-size: 13.5px; font-weight: 600; }
.co-seg input:checked + span { background: var(--surface); box-shadow: 0 1px 3px rgba(16, 24, 40, .12); color: var(--heading); }
.co-seg input:focus-visible + span { box-shadow: var(--focus); }
.co-billaddr { margin-top: 4px; }
.js [data-hidden] { display: none; }

/* Ödeme adımı */
.co-kv { display: grid; gap: 10px; margin: 0; }
.co-kv div { display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: 12px; font-size: 13.5px; }
.co-kv dt { color: var(--muted); }
.co-kv dd { margin: 0; color: var(--text); line-height: 1.5; overflow-wrap: anywhere; }
.co-methods { display: grid; gap: 10px; }
.co-pay-cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
@media (max-width: 640px) { .co-pay-cards { grid-template-columns: 1fr; } }
.co-pay-card { position: relative; display: grid; grid-template-columns: auto 1fr; gap: 12px; align-items: start; padding: 16px; border: 2px solid var(--line-2); border-radius: var(--radius-lg); background: var(--surface); cursor: pointer; transition: border-color .18s, box-shadow .18s, background .18s; }
.co-pay-card input { position: absolute; opacity: 0; pointer-events: none; }
.co-pay-card.is-on, .co-pay-card:has(input:checked) { border-color: #0f766e; background: color-mix(in srgb, #0f766e 8%, var(--surface)); box-shadow: 0 0 0 1px color-mix(in srgb, #0f766e 35%, transparent); }
.co-pay-card--cod { grid-column: 1 / -1; }
.co-pay-card-ico { display: grid; place-items: center; width: 44px; height: 44px; border-radius: var(--radius-sm); background: var(--surface-2); color: #0f766e; }
.co-pay-card-ico .ico { width: 22px; height: 22px; }
.co-pay-card-body { display: grid; gap: 4px; min-width: 0; }
.co-pay-card-body b { color: var(--heading); font-size: 15px; }
.co-pay-card-body small { color: var(--muted); font-size: 12.5px; line-height: 1.45; }
.co-amt-readonly input { font-size: 18px; font-weight: 700; color: var(--heading); background: var(--surface-2); }
.co-notify-success { display: flex; align-items: flex-start; gap: 18px; margin: 0 0 20px; padding: 22px 24px; border: 1px solid color-mix(in srgb, #0f766e 45%, var(--line)); border-radius: var(--radius-lg); background: color-mix(in srgb, #0f766e 10%, var(--surface)); }
.co-notify-success h1 { margin: 0 0 6px; color: var(--heading); font-size: 20px; }
.co-notify-success p { margin: 0; color: var(--text); font-size: 14px; line-height: 1.5; }
.co-notify-check { flex: none; width: 52px; height: 52px; border-radius: 50%; background: #0f766e; position: relative; animation: co-pop .45s cubic-bezier(.2, .9, .2, 1); }
.co-notify-check::after { content: ""; position: absolute; inset: 14px 16px 16px 14px; border: solid #fff; border-width: 0 0 3px 3px; transform: rotate(-45deg); animation: co-draw .35s .12s ease-out both; }
@keyframes co-pop { from { transform: scale(.6); opacity: 0; } to { transform: scale(1); opacity: 1; } }
@keyframes co-draw { from { clip-path: inset(0 100% 100% 0); } to { clip-path: inset(0 0 0 0); } }
.co-method { align-items: center; padding: 14px 16px; }
.co-method-ico { display: grid; flex: none; place-items: center; width: 40px; height: 40px; border-radius: var(--radius-sm); background: var(--surface-2); color: var(--heading); }
.co-method-ico .ico { width: 22px; height: 22px; }
.co-method .co-opt-body b { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.co-fee { color: var(--muted); font-size: 12.5px; font-weight: 600; }
.co-doc { margin: 0 0 10px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface-2); }
.co-doc summary { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 12px 14px; color: var(--heading); font-size: 14px; font-weight: 600; cursor: pointer; list-style: none; }
.co-doc summary::-webkit-details-marker { display: none; }
.co-doc summary::after { content: ""; width: 8px; height: 8px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg); transition: transform .15s; }
.co-doc[open] summary::after { transform: rotate(-135deg); }
.co-doc-body { max-height: 280px; overflow: auto; padding: 4px 16px 16px; border-top: 1px solid var(--line); background: var(--surface); color: var(--text); font-size: 13px; line-height: 1.6; overscroll-behavior: contain; }
.co-doc-body:focus-visible { outline: 2px solid var(--cyan); outline-offset: -2px; }
.co-doc-body.is-full { max-height: none; padding: 0; border: 0; background: none; font-size: 14px; }
.co-doc-body h1, .co-doc-body h2, .co-doc-body h3 { margin: 18px 0 8px; color: var(--heading); font-size: 15px; }
.co-doc-body table { width: 100%; margin: 10px 0; border-collapse: collapse; font-size: 12.5px; }
.co-doc-body th, .co-doc-body td { padding: 6px 8px; border: 1px solid var(--line); text-align: left; vertical-align: top; }
.co-doc-body th { background: var(--surface-2); color: var(--heading); }
.co-doc-body .ph-missing { padding: 0 4px; border-radius: 4px; background: var(--warning-soft); color: var(--warning); }
.co-agree .co-actions { margin-top: 14px; }

/* Sipariş sayfası */
.co-thanks { display: flex; align-items: flex-start; gap: 16px; margin: 0 0 18px; padding: 20px 22px; border: 1px solid var(--success); border-radius: var(--radius-lg); background: var(--success-soft); }
.co-thanks-ico { display: grid; flex: none; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--success); color: #fff; }
.co-thanks-ico .ico { width: 24px; height: 24px; stroke-width: 2.4; }
.co-thanks h1 { margin: 0 0 4px; color: var(--heading); font-size: 21px; }
.co-thanks p { margin: 0; color: var(--text); font-size: 13.5px; }
.co-ohead { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin: 0 0 14px; }
.co-ohead > div { display: grid; gap: 2px; }
.co-olabel { color: var(--muted); font-size: 12px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; }
.co-ocode { color: var(--heading); font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 22px; letter-spacing: .03em; }
.co-odate { color: var(--muted); font-size: 13px; }
.co-pill { display: inline-flex; align-items: center; height: 30px; padding: 0 14px; border-radius: 999px; background: var(--navy-l); color: var(--heading); font-size: 13px; font-weight: 700; white-space: nowrap; }
.co-pill.is-success { background: var(--success-soft); color: var(--success); }
.co-pill.is-warning { background: var(--warning-soft); color: var(--warning); }
.co-pill.is-danger { background: var(--danger-soft); color: var(--danger); }
.co-pill.is-muted { background: var(--chip-bg); color: var(--muted); }
.co-await p { display: flex; align-items: center; gap: 10px; }
.co-spin { width: 16px; height: 16px; flex: none; border: 2px solid var(--line-2); border-top-color: var(--cyan-d); border-radius: 50%; animation: co-spin .8s linear infinite; }
@keyframes co-spin { to { transform: rotate(360deg); } }
.co-paynow { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; margin: 0 0 14px; border-color: var(--warning); background: var(--warning-soft); }
.co-paynow b { color: var(--heading); font-size: 15px; }
.co-paynow p { margin: 2px 0 0; color: var(--text); font-size: 13px; }
.co-bank { margin: 0 0 14px; border: 1.5px solid var(--cyan-line); background: var(--cyan-l); }
.co-bank > p { margin: 0 0 14px; font-size: 13.5px; line-height: 1.55; }
.co-bank-ref { margin: 0 0 12px; font-size: 13.5px; display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.co-bank-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.co-bank-item { display: flex; gap: 12px; align-items: flex-start; padding: 12px 14px; border-radius: var(--radius); background: var(--surface); }
.co-bank-logo { width: 48px; height: 48px; object-fit: contain; flex-shrink: 0; border-radius: 8px; background: #fff; }
.co-kv-bank { flex: 1; min-width: 0; margin: 0; padding: 0; }
.co-kv-bank dd { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.co-iban, .co-kv-bank code { color: var(--heading); font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 14px; font-weight: 700; letter-spacing: .03em; }
.co-copy { height: 30px; padding: 0 10px; font-size: 12px; }
.co-track { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); margin: 0 0 14px; padding: 18px 12px 14px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--surface); list-style: none; }
.co-track li { position: relative; display: grid; justify-items: center; gap: 6px; color: var(--soft); font-size: 12px; font-weight: 600; text-align: center; }
.co-track li::before { content: ""; position: absolute; top: 11px; right: 50%; left: -50%; height: 2px; background: var(--line); }
.co-track li:first-child::before { display: none; }
.co-track-dot { position: relative; z-index: 1; display: grid; place-items: center; width: 24px; height: 24px; border: 2px solid var(--line-2); border-radius: 50%; background: var(--surface); }
.co-track .is-done, .co-track .is-now { color: var(--heading); }
.co-track .is-done::before, .co-track .is-now::before { background: var(--success); }
.co-track .is-done .co-track-dot { border-color: var(--success); background: var(--success); color: #fff; }
.co-track .is-now .co-track-dot { border-color: var(--navy); background: var(--navy); color: #fff; box-shadow: 0 0 0 4px var(--navy-l); }
.co-cargo { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; margin: 0 0 14px; }
.co-cargo > .ico { width: 28px; height: 28px; color: var(--cyan-d); }
.co-cargo > div { display: grid; flex: 1; gap: 2px; font-size: 13.5px; }
.co-cargo b { color: var(--heading); }
.co-oitems { display: grid; margin: 0 0 14px; padding: 0; list-style: none; }
.co-oitems li { display: grid; grid-template-columns: minmax(0, 1fr) auto 110px; align-items: center; gap: 14px; padding: 10px 0; border-bottom: 1px solid var(--line-soft); font-size: 13.5px; }
.co-oi-name a { color: var(--heading); font-weight: 600; text-decoration: none; }
.co-oi-name a:hover { text-decoration: underline; }
.co-oi-name small { display: block; color: var(--muted); font-size: 12px; }
.co-oi-qty { color: var(--muted); white-space: nowrap; }
.co-oi-total { color: var(--heading); text-align: right; font-variant-numeric: tabular-nums; }
.co-main > .co-card, .co-page > .co-card, .co-inaccount > .co-card { margin-bottom: 0; }
.co-page > .co-card + .co-card, .co-page > .co-two + .co-card, .co-page > .co-card + .co-two, .co-inaccount > .co-card + .co-card, .co-inaccount > .co-two + .co-card, .co-inaccount > .co-card + .co-two { margin-top: 14px; }
.co-two { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.co-addr { margin: 0 0 10px; color: var(--text); font-size: 13.5px; line-height: 1.6; }
.co-docs, .co-history { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; font-size: 13.5px; }
.co-docs li { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.co-docs .ico { color: var(--cyan-d); }
.co-docs small { color: var(--muted); font-size: 12px; }
.co-history li { display: flex; gap: 14px; }
.co-history time { min-width: 116px; color: var(--muted); font-variant-numeric: tabular-nums; }
.co-help { display: flex; align-items: center; gap: 8px; margin: 18px 0 0; color: var(--muted); font-size: 13px; }

/* Kartla ödeme */
.co-payhead { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 12px; margin: 0 0 14px; }
.co-payhead h1 { margin: 0; color: var(--heading); font-size: 22px; }
.co-payhead p { margin: 4px 0 0; color: var(--muted); font-size: 13.5px; }
.co-frame { padding: 8px; overflow: hidden; }
.co-frame iframe { display: block; width: 100%; min-height: 560px; border: 0; }
.co-payerr { display: grid; gap: 6px; border-color: var(--danger); background: var(--danger-soft); }
.co-payerr b { color: var(--danger); font-size: 15px; }
.co-payerr p { margin: 0 0 6px; }
.co-payhead + .co-flash + .co-frame, .co-frame + .co-secure { margin-top: 12px; }

/* Belge, takip, hesap */
.co-docpage header { margin-bottom: 16px; padding-bottom: 12px; border-bottom: 1px solid var(--line); }
.co-docpage h1 { margin: 0 0 6px; color: var(--heading); font-size: 22px; }
.co-trackbox { display: grid; place-items: center; padding: 8px 0 24px; }
.co-trackbox .co-card { width: 100%; max-width: 480px; padding: 28px; }
.co-trackbox h1 { display: flex; align-items: center; gap: 10px; margin: 0 0 6px; color: var(--heading); font-size: 22px; }
.co-trackbox h1 .ico { width: 26px; height: 26px; color: var(--cyan-d); }
.co-trackbox p { margin: 0 0 16px; color: var(--muted); font-size: 13.5px; }
.co-trackbox form { margin-bottom: 14px; }
.co-trackbox .co-hint { margin: 0; }
.co-olist { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; }
.co-olist a { display: grid; grid-template-columns: minmax(0, 1fr) auto auto auto; align-items: center; gap: 14px; padding: 14px 16px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); color: var(--text); text-decoration: none; transition: border-color .15s; }
.co-olist a:hover { border-color: var(--line-strong); }
.co-olist-main { display: grid; gap: 2px; min-width: 0; }
.co-olist-main b { color: var(--heading); font-size: 14.5px; }
.co-olist-main small { color: var(--muted); font-size: 12.5px; }
.co-olist-total { color: var(--heading); font-variant-numeric: tabular-nums; }
.co-olist .ico { color: var(--soft); }
.co-inaccount .co-ohead { margin-top: 4px; }

[data-theme="dark"] .co-steps .is-now .co-step-dot, [data-theme="dark"] .co-track .is-now .co-track-dot, [data-theme="dark"] .co-mini-img b { border-color: var(--cyan); background: var(--cyan); color: var(--on-accent); }
[data-theme="dark"] .co-opt:has(input:checked), [data-theme="dark"] .co-opt.is-on { border-color: var(--cyan); }
[data-theme="dark"] .co-track .is-now .co-track-dot { box-shadow: 0 0 0 4px rgba(22, 184, 224, .18); }
[data-theme="dark"] .co-seg input:checked + span { background: var(--surface-2); }

@media (max-width: 1080px) {
    .co-grid { grid-template-columns: minmax(0, 1fr) 320px; gap: 18px; }
    .ct-line { grid-template-columns: 72px minmax(0, 1fr) auto auto; }
    .ct-img { width: 72px; height: 72px; }
    .ct-price { grid-column: 2 / 4; grid-row: 2; justify-items: start; text-align: left; }
    .ct-qty { grid-column: 3; grid-row: 1; }
}
@media (max-width: 860px) {
    .co-grid { grid-template-columns: minmax(0, 1fr); }
    .co-side { position: static; }
    .co-steps li span:last-child { font-size: 12px; }
}
@media (max-width: 640px) {
    .co-card { padding: 16px; }
    .co-steps { margin-bottom: 14px; }
    .co-steps li { gap: 6px; }
    .co-steps li > span:last-child, .co-steps li a > span:last-child { display: none; }
    .co-steps .is-now > span:last-child { display: inline; }
    .co-fields, .co-book, .co-two { grid-template-columns: minmax(0, 1fr); }
    .ct-line { grid-template-columns: 64px minmax(0, 1fr) auto; gap: 10px 12px; padding: 14px; }
    .ct-img { width: 64px; height: 64px; grid-row: 1 / 3; }
    .ct-info { grid-column: 2 / 4; }
    .ct-qty { grid-column: 2; grid-row: 2; }
    .ct-price { grid-column: 3; grid-row: 2; justify-items: end; min-width: 0; text-align: right; }
    .ct-remove { position: absolute; top: 8px; right: 8px; }
    .ct-line { position: relative; padding-right: 40px; }
    .ct-coupon-row { max-width: none; }
    .ct-coupon-row .btn,
    .ct-coupon-row button { flex: none; }
    .co-actions { flex-direction: column-reverse; align-items: stretch; }
    .co-actions .btn { width: 100%; }
    .co-kv div { grid-template-columns: minmax(0, 1fr); gap: 2px; }
    .co-track { padding: 14px 4px 12px; }
    .co-track li { font-size: 10.5px; }
    .co-oitems li { grid-template-columns: minmax(0, 1fr) auto; gap: 4px 12px; }
    .co-oi-qty { grid-column: 1; grid-row: 2; font-size: 12.5px; }
    .co-oi-total { grid-row: 1 / 3; grid-column: 2; }
    .co-ocode { font-size: 19px; }
    .co-thanks { padding: 16px; }
    .co-thanks h1 { font-size: 18px; }
    .co-olist a { grid-template-columns: minmax(0, 1fr) auto; gap: 8px 12px; }
    .co-olist a > .ico { display: none; }
    .co-olist-total { grid-column: 2; grid-row: 2; text-align: right; }
    .co-olist .co-pill { grid-column: 2; grid-row: 1; height: 26px; padding: 0 10px; font-size: 12px; }
    .co-paynow .btn { width: 100%; }
    .co-frame { padding: 0; }
    .co-history li { flex-direction: column; gap: 0; }
}
@media print {
    .co-doc-body { max-height: none; overflow: visible; }
}
.co-pay-badge { font-size: 12px; font-weight: 600; padding: 1px 7px; border-radius: 999px; background: var(--surface-2); color: var(--heading); }
.co-pay-badge.is-save { background: color-mix(in srgb, var(--success) 14%, transparent); color: var(--success); }
.co-freeprog { display: block; width: 100%; height: 6px; margin: 6px 0 0; border: 0; border-radius: 999px; overflow: hidden; background: var(--surface-2); appearance: none; }
.co-freeprog::-webkit-progress-bar { background: var(--surface-2); border-radius: 999px; }
.co-freeprog::-webkit-progress-value { background: var(--success); border-radius: 999px; }
.co-freeprog::-moz-progress-bar { background: var(--success); border-radius: 999px; }

/* Sipariş ayrıntısı (Hesabım + misafir takip): teslimden sonra «Mağazadan not» (panel «Müşteriye not»). */
.co-omsg-text { margin: 0; color: var(--heading); line-height: 1.6; overflow-wrap: anywhere; user-select: text; }
