/* "Hesap Al" penceresi (v280) — görsel 01. POS yüzeyi koyu; açık POS temasında da okunur.
   Tüm kurallar .checkout-v280 altına kapsamlı; eski .checkout-* kuralları ezilir. */
.checkout-v280 {
  --ck-bg: #0f1a22;
  --ck-panel: #132130;
  --ck-row: #172737;
  --ck-line: #22384a;
  --ck-fg: #e9f1f6;
  --ck-muted: #8ea4b4;
  --ck-accent: #19d3e0;
  --ck-accent-fg: #06252b;
  --ck-accent-soft: #10343c;
  --ck-danger: #ef4444;
  --ck-radius: 14px;
  width: min(1060px, 94vw) !important; max-width: 1060px !important; max-height: min(92vh, 860px) !important;
  display: flex !important; flex-direction: column; gap: 0;
  padding: 0 !important; border-radius: 22px !important; overflow: hidden !important;
  background: var(--ck-bg) !important; color: var(--ck-fg) !important;
  border: 1px solid rgba(25, 211, 224, .25) !important; box-shadow: 0 30px 80px rgba(0, 0, 0, .6) !important;
  font-family: Manrope, "Segoe UI", system-ui, -apple-system, sans-serif;
}
html[data-valenzo-theme="light"] .checkout-v280 {
  --ck-bg: #f4f7f9; --ck-panel: #ffffff; --ck-row: #f0f4f7; --ck-line: #d9e2ea; --ck-fg: #0f172a; --ck-muted: #5b6b7a;
  --ck-accent: #0ea5b7; --ck-accent-fg: #ffffff; --ck-accent-soft: #dff6f8;
  border-color: #cfe9ec !important;
}
.ck280-overlay { background: rgba(2, 8, 14, .72) !important; backdrop-filter: blur(6px); }
.checkout-v280 *, .checkout-v280 *::before, .checkout-v280 *::after { box-sizing: border-box; }
.checkout-v280 button { font: inherit; color: inherit; cursor: pointer; }
.checkout-v280 button:disabled { opacity: .45; cursor: not-allowed; }
.checkout-v280 :focus-visible { outline: 2px solid var(--ck-accent); outline-offset: 2px; }
.checkout-v280 .ck280-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.checkout-v280 .ck280-num { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }

/* başlık */
.checkout-v280 .ck280-head { display: flex !important; align-items: center !important; justify-content: space-between; gap: 12px; padding: 14px 20px 10px !important; background: transparent !important; border: 0 !important; flex-wrap: nowrap; }
.checkout-v280 .ck280-title { display: flex; align-items: center; gap: 14px; min-width: 0; }
.checkout-v280 .ck280-title-ico { width: 46px; height: 46px; border-radius: 50%; border: 2px solid var(--ck-accent); display: grid; place-items: center; color: var(--ck-accent); flex: none; }
.checkout-v280 .ck280-title h2 { margin: 0 !important; font-size: 22px !important; font-weight: 800 !important; letter-spacing: -.01em; color: var(--ck-fg) !important; white-space: nowrap; }
.checkout-v280 .ck280-title p { margin: 1px 0 0 !important; font-size: 14px; color: var(--ck-muted) !important; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.checkout-v280 .ck280-title p i { font-style: normal; opacity: .6; margin: 0 4px; }
.checkout-v280 .ck280-actions { display: flex !important; align-items: center; gap: 8px; flex-wrap: nowrap; justify-content: flex-end; flex: none; }
.checkout-v280 .ck280-btn { display: inline-flex; align-items: center; gap: 8px; height: 44px; padding: 0 16px; border-radius: 12px; border: 1px solid var(--ck-line) !important; background: var(--ck-panel) !important; color: var(--ck-fg) !important; font-size: 14.5px; font-weight: 600; box-shadow: none !important; }
.checkout-v280 .ck280-btn:hover { border-color: var(--ck-accent) !important; }
.checkout-v280 .ck280-btn.icon { width: 44px; padding: 0; justify-content: center; }
.checkout-v280 .ck280-btn.primary { background: var(--ck-accent) !important; color: var(--ck-accent-fg) !important; border-color: var(--ck-accent) !important; }
.checkout-v280 .checkout-cancel.ck280-btn { background: transparent !important; border-color: transparent !important; width: 44px; font-size: 0; }
.checkout-v280 .ck280-menu { position: relative; }
.checkout-v280 .ck280-popover { display: none; position: absolute; right: 0; top: calc(100% + 6px); z-index: 5; min-width: 230px; padding: 6px; border-radius: 12px; background: var(--ck-panel); border: 1px solid var(--ck-line); box-shadow: 0 16px 40px rgba(0, 0, 0, .45); }
.checkout-v280 .ck280-menu.open .ck280-popover { display: block; }
.checkout-v280 .ck280-popover button { display: flex; align-items: center; gap: 10px; width: 100%; padding: 10px 12px; border: 0; border-radius: 8px; background: transparent; text-align: left; font-size: 14px; }
.checkout-v280 .ck280-popover button:hover { background: var(--ck-row); }
.checkout-v280 .ck280-progress { height: 3px; margin: 0 22px; background: var(--ck-line); border-radius: 2px; overflow: hidden; }
.checkout-v280 .ck280-progress span { display: block; height: 100%; background: var(--ck-accent); }

/* ızgara */
.checkout-v280 .ck280-grid { display: grid !important; grid-template-columns: minmax(0, 1fr) minmax(0, 1.18fr) !important; gap: 16px; padding: 14px 22px 8px; flex: 1 1 auto; min-height: 0; overflow: auto; grid-template-rows: none !important; grid-auto-rows: max-content !important; align-content: start; align-items: start; }
.checkout-v280 .ck280-summary, .checkout-v280 .ck280-payments { display: flex !important; flex-direction: column; gap: 12px; min-width: 0; height: auto !important; max-height: none !important; overflow: visible !important; padding: 0; margin: 0; background: transparent; border: 0; }
.checkout-v280 .ck280-summary { background: var(--ck-panel) !important; border: 1px solid var(--ck-line) !important; border-radius: var(--ck-radius); padding: 14px !important; }

/* ürün listesi (E2E: .checkout-cart-preview / .checkout-cart-head / .checkout-cart-row) */
.checkout-v280 .ck280-table { flex: 0 0 auto; max-height: 330px; overflow-y: auto; overflow-x: hidden; border-radius: 10px; display: flex !important; flex-direction: column; gap: 4px; padding: 0 !important; background: transparent !important; border: 0 !important; }
.checkout-v280 [hidden] { display: none !important; }
.checkout-v280 .checkout-cancel::before, .checkout-v280 .checkout-cancel::after { content: none !important; }
.checkout-v280 .ck280-head-row, .checkout-v280 .ck280-row { display: grid !important; grid-template-columns: minmax(0, 1fr) 56px 104px 32px !important; gap: 8px; align-items: center; min-width: 0; }
.checkout-v280 .ck280-head-row { position: sticky; top: 0; z-index: 1; padding: 4px 10px 8px; background: var(--ck-panel); color: var(--ck-muted); font-size: 14px; font-weight: 600; }
.checkout-v280 .ck280-head-row span:nth-child(2), .checkout-v280 .ck280-head-row span:nth-child(4) { text-align: right; }
.checkout-v280 .ck280-unit { display: none !important; }
.checkout-v280 .ck280-row { padding: 7px 10px; border-radius: 8px; background: var(--ck-row) !important; border: 0 !important; font-size: 15px; }
.checkout-v280 .ck280-prod { min-width: 0; }
.checkout-v280 .ck280-prod b { display: block; font-weight: 500; white-space: normal; overflow-wrap: anywhere; text-overflow: clip; overflow: hidden; }
.checkout-v280 .ck280-prod small { display: block; color: var(--ck-muted); font-size: 12px; }
.checkout-v280 .ck280-qty { display: flex !important; justify-content: flex-end; min-width: 0; }
.checkout-v280 .ck280-qty b { font-weight: 500; font-variant-numeric: tabular-nums; }
.checkout-v280 .ck280-amount { font-weight: 600; text-align: right; white-space: nowrap; font-variant-numeric: tabular-nums; min-width: 0; overflow: hidden; }

/* toplamlar */

/* indirim / kişi */
.checkout-v280 .ck280-chip { height: 42px; padding: 0 11px; border-radius: 10px; border: 1px solid var(--ck-line); background: var(--ck-row); font-size: 15px; font-weight: 600; white-space: nowrap; }
.checkout-v280 .ck280-chip.on { background: var(--ck-accent); border-color: var(--ck-accent); color: var(--ck-accent-fg); }
.checkout-v280 .ck280-chip.danger { color: #fb7185; }
.checkout-v280 .ck280-stepper { display: inline-flex; align-items: center; gap: 6px; }
.checkout-v280 .ck280-stepper button { width: 44px; height: 42px; border-radius: 10px; border: 1px solid var(--ck-line); background: var(--ck-row); display: grid; place-items: center; }
.checkout-v280 .ck280-stepper b { min-width: 52px; height: 42px; display: grid; place-items: center; border: 1px solid var(--ck-line); border-radius: 10px; background: var(--ck-bg); font-size: 18px; font-weight: 700; }
.checkout-v280 .ck280-german { display: flex; flex-direction: column; gap: 10px; }
.checkout-v280 .ck280-german .bg-ink, .checkout-v280 .ck280-german .bg-panel { background: var(--ck-row) !important; }
.checkout-v280 .ops123-coupon-checkout { margin-top: 4px; }

/* ödeme sütunu */
.checkout-v280 .ck280-section { background: var(--ck-panel); border: 1px solid var(--ck-line); border-radius: var(--ck-radius); padding: 14px; }
.checkout-v280 .ck280-section h3 { display: flex; align-items: center; gap: 8px; margin: 0 0 12px; font-size: 18px; font-weight: 700; }
.checkout-v280 .ck280-section h3 small { font-size: 13px; font-weight: 500; color: var(--ck-muted); }
.checkout-v280 .ck280-methods { display: grid !important; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 10px; }
.checkout-v280 .ck280-method { display: flex !important; flex-direction: column; align-items: center; justify-content: center; gap: 8px; min-height: 84px; padding: 10px 6px; border-radius: 12px !important; border: 1px solid var(--ck-line) !important; background: var(--ck-row) !important; color: var(--ck-fg) !important; font-size: 13.5px; box-shadow: none !important; }
.checkout-v280 .ck280-method b { font-weight: 600; white-space: normal; text-align: center; font-size: 12.5px; line-height: 1.15; max-width: 100%; overflow-wrap: anywhere; }
.checkout-v280 .ck280-method-ico { width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; background: var(--ck280-color, var(--ck-accent)); color: #fff; }
.checkout-v280 .ck280-method-ico svg[aria-label] { border-radius: 8px; }
.checkout-v280 .ck280-method.selected { border-color: var(--ck-accent) !important; background: var(--ck-accent-soft) !important; box-shadow: 0 0 0 2px var(--ck-accent) inset !important; }
.checkout-v280 .ck280-emoji { font-size: 20px; line-height: 1; }
.checkout-v280 .ck280-amount { display: flex; align-items: center; height: 60px; padding: 0 16px; border-radius: 12px; border: 1px solid var(--ck-line); background: var(--ck-bg); }
.checkout-v280 .ck280-amount input { flex: 1; min-width: 0; border: 0 !important; background: transparent !important; color: var(--ck-fg) !important; font-size: 32px !important; font-weight: 700; font-variant-numeric: tabular-nums; outline: none; text-align: left !important; height: auto !important; padding: 0 !important; box-shadow: none !important; }
.checkout-v280 .ck280-amount input::-webkit-outer-spin-button, .checkout-v280 .ck280-amount input::-webkit-inner-spin-button { -webkit-appearance: none; }
.checkout-v280 .ck280-amount span { font-size: 24px; font-weight: 700; color: var(--ck-fg); }
.checkout-v280 .ck280-quick { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 8px; margin-top: 12px; }
.checkout-v280 .ck280-quick .ck280-chip { padding: 0 6px; text-align: center; font-size: 14px; overflow: hidden; text-overflow: ellipsis; }
.checkout-v280 .ck280-change { display: flex; justify-content: space-between; align-items: center; padding: 12px 16px; border-radius: 12px; background: var(--ck-accent-soft); border: 1px solid rgba(25, 211, 224, .4); font-size: 20px; font-weight: 700; }
.checkout-v280 .ck280-change span { display: inline-flex; align-items: center; gap: 10px; }
.checkout-v280 .ck280-change b { font-size: 28px; font-weight: 800; color: var(--ck-accent); font-variant-numeric: tabular-nums; }
.checkout-v280 .ck280-notebox .checkout-note-v265 { display: block; margin: 0; }
.checkout-v280 .ck280-notebox .checkout-note-v265 input { width: 100%; min-height: 64px; padding: 12px 14px; border-radius: 12px; border: 1px solid var(--ck-line) !important; background: var(--ck-bg) !important; color: var(--ck-fg) !important; font-size: 15px; outline: none; }
.checkout-v280 .ck280-counter { display: block; text-align: right; color: var(--ck-muted); font-size: 12px; margin-top: 6px; }
.checkout-v280 .ck280-selected { margin: 0; padding: 0 4px; color: var(--ck-muted); font-size: 13px; }
.checkout-v280 .checkout-no-method { margin: 0; color: var(--ck-muted); }

/* alt şerit */
.checkout-v280 .ck280-foot { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.18fr); gap: 16px; padding: 10px 22px 20px; }
.checkout-v280 .ck280-foot-btn { display: flex; align-items: center; justify-content: center; gap: 10px; height: 60px; border-radius: 14px; font-size: 20px; font-weight: 700; border: 1px solid var(--ck-line); }
.checkout-v280 .ck280-foot-btn.cancel { background: var(--ck-panel); color: var(--ck-fg); }
.checkout-v280 .ck280-foot-btn.complete { background: var(--ck-accent) !important; border-color: var(--ck-accent) !important; color: var(--ck-accent-fg) !important; box-shadow: 0 12px 30px rgba(25, 211, 224, .3); }
.checkout-v280 .ck280-foot-btn.complete b { font-weight: 800; }

/* adisyon önizleme */
.checkout-v280 .ck280-preview-overlay { position: absolute; inset: 0; z-index: 10; display: grid; place-items: center; background: rgba(2, 8, 14, .6); backdrop-filter: blur(3px); padding: 16px; }
.checkout-v280 .ck280-preview { width: min(420px, 100%); max-height: 90%; overflow: auto; background: var(--ck-panel); border: 1px solid var(--ck-line); border-radius: 16px; padding: 16px; }
.checkout-v280 .ck280-preview header { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; }
.checkout-v280 .ck280-preview header b { font-size: 17px; }
.checkout-v280 .ck280-preview header small { color: var(--ck-muted); flex: 1; }
.checkout-v280 .ck280-preview header button { border: 0; background: transparent; }
.checkout-v280 .ck280-preview table { width: 100%; border-collapse: collapse; font-size: 14px; }
.checkout-v280 .ck280-preview td { padding: 6px 4px; border-bottom: 1px dashed var(--ck-line); }
.checkout-v280 .ck280-preview-tot { margin-top: 10px; display: flex; flex-direction: column; gap: 4px; font-size: 14px; }
.checkout-v280 .ck280-preview-tot > div { display: flex; justify-content: space-between; }
.checkout-v280 .ck280-preview-tot > div.g { font-size: 17px; font-weight: 800; color: var(--ck-accent); border-top: 1px solid var(--ck-line); padding-top: 6px; }
.checkout-v280 .ck280-preview footer { display: flex; justify-content: flex-end; gap: 8px; margin-top: 14px; }

/* duyarlı */
/* Orta ekranlar (tablet yatay / küçük dizüstü): başlık eylemleri yalnız simge, daha sıkı boşluklar */
@media (max-width: 1180px) {
  .checkout-v280 .ck280-actions .ck280-btn:not(.icon):not(.checkout-cancel) { font-size: 0; width: 44px; padding: 0; justify-content: center; }
  .checkout-v280 .ck280-actions .ck280-btn:not(.icon) svg { margin: 0; }
  .checkout-v280 .ck280-grid { gap: 12px; padding: 10px 16px 6px; }
  .checkout-v280 .ck280-summary { padding: 12px !important; }
}
@media (max-width: 1000px) {
  .checkout-v280 { max-height: 96vh !important; }
  .checkout-v280 .ck280-grid, .checkout-v280 .ck280-foot { grid-template-columns: 1fr !important; }
  .checkout-v280 .ck280-methods { grid-template-columns: repeat(4, minmax(0, 1fr)) !important; }
}
@media (max-height: 760px) and (min-width: 641px) {
  .checkout-v280 { max-height: 97vh !important; border-radius: 16px !important; }
  .checkout-v280 .ck280-head { padding: 10px 16px 6px !important; }
  .checkout-v280 .ck280-title-ico { width: 40px; height: 40px; }
  .checkout-v280 .ck280-title h2 { font-size: 19px !important; }
  .checkout-v280 .ck280-title p { font-size: 13px; }
  .checkout-v280 .ck280-table { max-height: 200px; }
  .checkout-v280 .ck280-foot-btn { height: 48px; font-size: 15px; }
}
@media (max-width: 640px) {
  .checkout-v280 { max-height: 100dvh !important; border-radius: 0 !important; }
  .checkout-v280 .ck280-head { padding: 12px 14px 8px !important; }
  .checkout-v280 .ck280-title-ico { width: 44px; height: 44px; }
  .checkout-v280 .ck280-title h2 { font-size: 22px !important; }
  .checkout-v280 .ck280-actions .ck280-btn:not(.icon) { font-size: 0; width: 44px; padding: 0; justify-content: center; }
  .checkout-v280 .ck280-actions .ck280-btn:not(.icon) svg { margin: 0; }
  .checkout-v280 .ck280-grid { padding: 10px 14px 6px; }
  .checkout-v280 .ck280-methods { grid-template-columns: repeat(3, minmax(0, 1fr)) !important; }
  .checkout-v280 .ck280-table { max-height: 240px; }
  .checkout-v280 .ck280-head-row, .checkout-v280 .ck280-row { grid-template-columns: minmax(0, 1fr) 40px 88px 28px !important; gap: 6px; }
  .checkout-v280 .ck280-foot { padding: 8px 14px 14px; }
  .checkout-v280 .ck280-foot-btn { height: 54px; font-size: 17px; }
  .checkout-v280 .ck280-change { font-size: 17px; }
  .checkout-v280 .ck280-change b { font-size: 22px; }
  .checkout-v280 .ck280-quick { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .checkout-v280 .ck280-title p { font-size: 14px; }
}
@media (prefers-reduced-motion: reduce) { .checkout-v280 * { transition: none !important; } }

/* ===== v309 — Hesap Al yeni düzen (görsel 47): geniş pencere, üstte indirim/kişi/böl şeridi, solda salt okunur adisyon +
   altta sabit Ödenecek Tutar, sağda ödeme; altta "… ₺ Tahsil Et". Kaydırma yalnız ürün listesinde. ===== */
.checkout-v280 .ck280-tools { display: flex; flex-wrap: wrap; align-items: stretch; gap: 10px; padding: 10px 22px 0; }
.checkout-v280 .ck280-tool-ico { flex: none; display: grid; place-items: center; width: 36px; height: 36px; border-radius: 10px; background: var(--ck-accent-soft); color: var(--ck-accent); }
.checkout-v280 .ck280-head-row, .checkout-v280 .ck280-row { grid-template-columns: minmax(0, 1fr) 64px 120px !important; }
.checkout-v280 .ck280-head-row span:nth-child(2), .checkout-v280 .ck280-qty { text-align: center; justify-content: center !important; }
.checkout-v280 .ck280-head-row { text-transform: uppercase; letter-spacing: .05em; font-size: 12px; font-weight: 700; padding: 2px 12px 10px; border-bottom: 1px solid var(--ck-line); }
.checkout-v280 .ck280-row { padding: 12px; border-radius: 0; background: transparent !important; border-bottom: 1px solid var(--ck-line) !important; font-size: 15.5px; }
.checkout-v280 .ck280-row .ck280-amount { display: block; height: auto; padding: 0; border: 0; background: transparent; font-weight: 700; }
.checkout-v280 .ck280-prod b { font-weight: 650; }
.checkout-v280 .ck280-qty b { display: inline-grid; place-items: center; min-width: 38px; height: 30px; padding: 0 8px; border: 1px solid var(--ck-line); border-radius: 8px; background: var(--ck-row); font-weight: 700; }
.checkout-v280 .ck280-bottom { display: flex; flex-direction: column; gap: 10px; flex: none; }
.checkout-v280 .ck280-change { border-color: color-mix(in srgb, var(--ck-accent) 40%, transparent); }
.checkout-v280 .ck280-method.selected { background: var(--ck-accent) !important; color: var(--ck-accent-fg) !important; box-shadow: 0 10px 22px color-mix(in srgb, var(--ck-accent) 30%, transparent) !important; }
.checkout-v280 .ck280-method.selected .ck280-method-ico { background: rgba(255, 255, 255, .18); }
.checkout-v280 .ck280-method b { font-size: 14px; }
.checkout-v280 .ck280-selected { display: none; }
.checkout-v280 .ck280-foot-btn.complete { box-shadow: 0 12px 30px color-mix(in srgb, var(--ck-accent) 32%, transparent); }
.checkout-v280 .ck280-foot-btn.complete > span { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: rgba(255, 255, 255, .92); color: var(--p-0d9488, #0D9488); }
.checkout-v280 .ck280-foot-btn.complete b i { font-style: normal; font-variant-numeric: tabular-nums; }
.checkout-v280 .ck280-foot-btn.complete:disabled { box-shadow: none; }
@media (min-width: 1001px) {
  html .checkout-modal.checkout-v280, html[data-valenzo-scale="on"] .checkout-modal.checkout-v280 { width: min(1280px, calc(var(--vz-vw, 100vw) * .96)) !important; max-width: 1280px !important; height: min(840px, calc(var(--vz-vh, 100vh) * .94)) !important; max-height: none !important; }
  .checkout-v280 .ck280-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr) !important; grid-template-rows: minmax(0, 1fr) !important; grid-auto-rows: max-content !important; align-items: stretch; align-content: stretch; overflow: hidden; padding: 12px 22px 8px; }
  .checkout-v280 .ck280-summary { height: 100% !important; min-height: 0; overflow: hidden !important; }
  .checkout-v280 .ck280-table { flex: 1 1 auto; max-height: none; min-height: 0; }
  .checkout-v280 .ck280-payments { height: 100% !important; min-height: 0; overflow-y: auto !important; background: var(--ck-panel) !important; border: 1px solid var(--ck-line) !important; border-radius: var(--ck-radius); padding: 14px !important; gap: 10px; scrollbar-width: thin; }
  .checkout-v280 .ck280-payments .ck280-section { padding: 0; border: 0; background: transparent; }
  .checkout-v280 .ck280-payments .ck280-amountbox { padding: 12px; border: 1px solid color-mix(in srgb, var(--ck-accent) 30%, var(--ck-line)); border-radius: 14px; background: color-mix(in srgb, var(--ck-accent-soft) 45%, var(--ck-panel)); }
  .checkout-v280 .ck280-payments .ck280-amount { background: var(--ck-panel); }
  .checkout-v280 .ck280-methods { grid-template-columns: repeat(4, minmax(0, 1fr)) !important; }
  .checkout-v280 .ck280-method { min-height: 92px; }
  .checkout-v280 .ck280-notebox .checkout-note-v265 input { min-height: 52px; }
  .checkout-v280 .ck280-foot { grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); padding: 6px 22px 18px; }
  .checkout-v280 .ck280-foot-btn { height: 64px; }
}
@media (min-width: 1001px) and (max-height: 800px) {
  .checkout-v280 .ck280-tools { padding-top: 6px; }
  .checkout-v280 .ck280-grid { padding: 8px 22px 6px; }
  .checkout-v280 .ck280-method { min-height: 76px; gap: 5px; padding: 6px; }
  .checkout-v280 .ck280-section h3 { margin-bottom: 8px; font-size: 16px; }
  .checkout-v280 .ck280-payments .ck280-amountbox { padding: 10px; }
  .checkout-v280 .ck280-amount { height: 52px; }
  .checkout-v280 .ck280-quick { margin-top: 8px; }
  .checkout-v280 .ck280-change { padding: 9px 16px; }
  .checkout-v280 .ck280-notebox .checkout-note-v265 input { min-height: 44px; }
  .checkout-v280 .ck280-counter { display: none; }
  .checkout-v280 .ck280-row { padding: 9px 12px; }
  .checkout-v280 .ck280-foot { padding: 4px 22px 12px; }
  .checkout-v280 .ck280-foot-btn { height: 54px; font-size: 18px; }
}
@media (max-width: 1000px) {
  .checkout-v280 .ck280-tools { padding: 8px 16px 0; }
}
@media (max-width: 640px) {
  .checkout-v280 .ck280-head-row, .checkout-v280 .ck280-row { grid-template-columns: minmax(0, 1fr) 48px 96px !important; }
  .checkout-v280 .ck280-tool-ico { display: none; }
}

/* v309-fix: eski .checkout-* kuralları (hücre kenarlıkları, görünür taşma) ezilir; kupon paneli tek satır; not kutusu tek çerçeve */
html .checkout-modal.checkout-v280 .ck280-table { overflow-x: hidden !important; overflow-y: auto !important; scrollbar-width: thin; gap: 0 !important; }
html .checkout-modal.checkout-v280 .ck280-row > * { border: 0 !important; padding: 0 !important; margin: 0 !important; min-height: 0 !important; height: auto !important; background: transparent !important; }
html .checkout-modal.checkout-v280 .ck280-row .ck280-qty b { height: 30px !important; padding: 0 8px !important; border: 1px solid var(--ck-line) !important; background: var(--ck-row) !important; }
html .checkout-modal.checkout-v280 .ck280-row { min-height: 0 !important; height: auto !important; }
.checkout-v280 .ops123-coupon-checkout { display: grid !important; grid-template-columns: minmax(0, auto) minmax(0, 1fr); align-items: center; gap: 12px !important; margin: 0 !important; padding: 8px 10px !important; border: 1px solid var(--ck-line) !important; border-radius: 12px !important; background: var(--ck-row) !important; box-shadow: none !important; }
.checkout-v280 .ops123-coupon-checkout .checkout-panel-title { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin: 0 !important; padding: 0 !important; border: 0 !important; min-width: 0; }
.checkout-v280 .ops123-coupon-checkout .checkout-panel-title b { display: block; font-size: 13.5px; font-weight: 700; color: var(--ck-fg); white-space: nowrap; }
.checkout-v280 .ops123-coupon-checkout .checkout-panel-title small { display: block; font-size: 11px; color: var(--ck-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.checkout-v280 .ops123-coupon-checkout .ops123-coupon-entry { display: flex; gap: 8px; min-width: 0; margin: 0 !important; }
.checkout-v280 .ops123-coupon-checkout .ops123-coupon-entry input { flex: 1 1 auto; min-width: 0; height: 44px !important; min-height: 44px !important; margin: 0 !important; border: 1px solid var(--ck-line) !important; border-radius: 10px !important; background: var(--ck-panel) !important; color: var(--ck-fg) !important; }
.checkout-v280 .ops123-coupon-checkout .ops123-coupon-entry button { flex: none; height: 44px !important; min-height: 44px !important; border-radius: 10px !important; background: var(--ck-accent) !important; border-color: var(--ck-accent) !important; color: var(--ck-accent-fg) !important; }
.checkout-v280 .ck280-notebox .checkout-note-v265 { padding: 0 !important; border: 0 !important; background: transparent !important; box-shadow: none !important; }
.checkout-v280 .ck280-amount input { background: transparent !important; box-shadow: none !important; }
@media (min-width: 1001px) and (max-height: 800px) {
  .checkout-v280 .ck280-notebox h3 { margin-bottom: 6px; font-size: 14px; }
  .checkout-v280 .ck280-bottom { gap: 8px; }
}

/* v309-ince ayar: seçili yöntem dolu turkuaz, koyu temada şeffaf giriş/tablo zemini, alt tuş yüksekliği */
html body #modal .checkout-modal.checkout-v280 .ck280-method.selected { background: var(--ck-accent) !important; border-color: var(--ck-accent) !important; color: var(--ck-accent-fg) !important; opacity: 1 !important; }
html body #modal .checkout-modal.checkout-v280 .ck280-method.selected b { color: var(--ck-accent-fg) !important; opacity: 1 !important; }
html body #modal .checkout-modal.checkout-v280 .ck280-method.selected .ck280-method-ico { background: rgba(255, 255, 255, .22) !important; color: var(--ck-accent-fg) !important; opacity: 1 !important; }
html body #modal .checkout-modal.checkout-v280 .ck280-method.selected::after { content: "✓"; position: absolute; top: 6px; right: 8px; display: grid; place-items: center; width: 20px; height: 20px; border-radius: 50%; background: rgba(255, 255, 255, .92); color: var(--p-0d9488, #0D9488); font-size: 12px; font-weight: 900; }
html body #modal .checkout-modal.checkout-v280 .ck280-method { position: relative; }
html body #modal .checkout-modal.checkout-v280 .ck280-table, html body #modal .checkout-modal.checkout-v280 .ck280-table .ck280-row { background: transparent !important; }
html body #modal .checkout-modal.checkout-v280 .ck280-head-row { background: var(--ck-panel) !important; border-radius: 0 !important; }
html body #modal .checkout-modal.checkout-v280 #payAmount { background: transparent !important; background-color: transparent !important; box-shadow: none !important; border: 0 !important; border-radius: 0 !important; }
html body #modal .checkout-modal.checkout-v280 .ck280-notebox .checkout-note-v265 input { border: 1px solid var(--ck-line) !important; border-radius: 12px !important; background: var(--ck-bg) !important; color: var(--ck-fg) !important; box-shadow: none !important; }
html body #modal .checkout-modal.checkout-v280 .ck280-foot-btn { min-height: 0 !important; }
@media (min-width: 1001px) and (max-height: 800px) {
  html body #modal .checkout-modal.checkout-v280 .ck280-foot-btn { height: 54px !important; }
  html body #modal .checkout-modal.checkout-v280 .ck280-payments { gap: 8px; padding: 12px !important; }
  html body #modal .checkout-modal.checkout-v280 .ck280-method { min-height: 68px !important; }
}

/* v550 kısmi ödeme: Kısmi Öde düğmesi, Masa Açık Kalsın, adisyon panelinde kısmi ödeme şeridi (table-ops-v304) */
.checkout-v280 .ck550-partial-row { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 12px; margin-top: 10px; }
.checkout-v280 .ck550-partial { display: inline-flex; align-items: center; gap: 6px; cursor: pointer; }
.checkout-v280 .ck550-partial.on { background: var(--ck-accent) !important; border-color: var(--ck-accent) !important; color: var(--ck-accent-fg) !important; }
.checkout-v280 .ck550-partial-row small { font-size: 13px; opacity: .75; }
.checkout-v280 .ck280-foot:has(.ck550-leave) { grid-template-columns: minmax(0, .8fr) minmax(0, 1fr) minmax(0, 1.18fr); }
.checkout-v280 .ck550-leave { background: var(--ck-panel); color: var(--ck-fg); }
.checkout-v280 .ck550-leave span { display: flex; flex-direction: column; align-items: flex-start; line-height: 1.15; }
.checkout-v280 .ck550-leave b { font-size: 17px; font-weight: 800; }
.checkout-v280 .ck550-leave small { font-size: 12.5px; font-weight: 600; opacity: .75; }
.tops550-partial { margin: 6px 0 2px; padding: 8px 12px; border-radius: 10px; border: 1px solid rgba(245, 182, 66, .55); background: rgba(245, 182, 66, .14); font-size: 13.5px; font-weight: 800; }
/* v568: kısmi ödeme sonrası kalana indirim — İndirim kutusu aynı yer ve ölçüde; açılan liste tutarları gösterir */
html body #modal .checkout-modal.checkout-v280 .ck568-after select { width: 112px; min-width: 112px; text-overflow: ellipsis; }
.checkout-v280 .ck568-box { width: min(380px, 100%); }
.checkout-v280 .ck568-box header b { flex: 0 0 auto; }
.checkout-v280 .ck568-amount:focus-within { border-color: var(--ck-accent); }
html body #modal .checkout-v280 .ck568-amount input:focus-visible { outline: none !important; }
.checkout-v280 .ck568-note { margin: 10px 2px 0; font-size: 13px; line-height: 1.45; color: var(--ck-muted); }
.checkout-v280 .ck568-box footer .ck280-btn { flex: 1 1 0; justify-content: center; }
