/* Sipariş akışı (Sepet → Hesap → Ödeme → Sonuç) — tek ve bağımsız tasarım dosyası.
   Yalnız .cv2-ref kapsamında çalışır; renkler tema değişkenlerinden gelir. */
.cv2-ref{
  --of-primary:var(--cv2-primary,#6b8e23);
  --of-rgb:var(--cv2-primary-rgb,107,142,35);
  --of-card:var(--cv2-surface-card,#fff);
  --of-page:var(--cv2-surface-page,#f4f5f7);
  --of-soft:rgba(var(--of-rgb),.08);
  --of-text:var(--cv2-heading,#14161a);
  --of-body:var(--cv2-text,#2b2f36);
  --of-muted:var(--cv2-text-muted,#6b7280);
  --of-line:var(--cv2-border,rgba(20,22,26,.09));
  --of-r:22px;
  color:var(--of-body);
  font-size:14px;
  line-height:1.55}
.cv2-ref *,.cv2-ref *::before,.cv2-ref *::after{box-sizing:border-box}
.cv2-ref .order-workspace{width:min(calc(100% - 2 * var(--CoreV2-container-padding,24px)),var(--cv2-container,1290px));max-width:var(--cv2-container,1290px);margin:0 auto;padding:28px 0 72px}

/* ── Adım çubuğu ───────────────────────── */
.cv2-ref .progress-row{margin:0 0 30px;padding:8px;border:0;border-radius:999px;background:var(--of-card)}
.cv2-ref .order-progress{display:flex;align-items:center;gap:6px}
.cv2-ref .progress-item{display:flex;align-items:center;flex:1 1 0;min-width:0;gap:6px}
.cv2-ref .progress-item:last-child{flex:0 0 auto}
.cv2-ref .progress-control{display:inline-flex;align-items:center;gap:10px;height:44px;padding:0 16px 0 6px;border-radius:999px;background:transparent;color:var(--of-muted);font-size:13px;font-weight:500;white-space:nowrap}
.cv2-ref .step-symbol{display:grid;place-items:center;flex:0 0 34px;width:32px;height:32px;border-radius:50%;border:0;background:var(--of-page);font-size:12px;font-weight:700;color:var(--of-muted)}
.cv2-ref .step-line{flex:1 1 auto;height:2px;min-width:12px;border-radius:2px;background:var(--of-line)}
.cv2-ref .progress-item.complete .step-symbol{border-color:transparent;background:var(--of-soft);color:var(--of-primary)}
.cv2-ref .progress-item.complete .step-line{background:rgba(var(--of-rgb),.45)}
.cv2-ref .progress-item.current .progress-control{background:var(--of-text);color:var(--of-card);font-weight:600}
.cv2-ref .progress-item.current .step-symbol{border-color:transparent;background:var(--of-primary);color:#fff}

/* ── İki sütun ─────────────────────────── */
.cv2-ref .order-columns{display:grid;grid-template-columns:minmax(0,1fr) 380px;gap:28px;align-items:start}
.cv2-ref .order-content{min-width:0}
.cv2-ref .coresepeteim-right{min-width:0}
.cv2-ref .back-control{display:inline-flex;align-items:center;gap:8px;height:36px;padding:0 14px 0 10px;margin:0 0 14px;border:1px solid var(--of-line);border-radius:999px;background:var(--of-card);color:var(--of-muted);font-size:13px;font-weight:500;text-decoration:none}
.cv2-ref .back-control:hover{color:var(--of-text)}
.cv2-ref .section-heading{margin:0 0 22px}
.cv2-ref .section-heading h1{margin:0 0 6px;font-size:32px;line-height:1.15;font-weight:700;letter-spacing:0;color:var(--of-text)}
.cv2-ref .section-heading p{margin:0;color:var(--of-muted);font-size:14px}
.cv2-ref .basket-count{font-weight:700;color:var(--of-primary)}

/* ── Kart temeli (delme köşe) ──────────── */
.cv2-ref .basket-item,.cv2-ref .payment-section,.cv2-ref .form-section,.cv2-ref .empty-order,.cv2-ref .summary-ticket,.cv2-ref .result-page{
  position:relative;border:1px solid var(--of-line);border-radius:var(--of-r);background:var(--of-card)
}

/* ── Sepet ürünleri ────────────────────── */
.cv2-ref .basket-list{display:grid;gap:16px}
.cv2-ref .basket-item{padding:22px 24px;border:0;}
.cv2-ref .basket-item-header{display:flex;align-items:flex-start;gap:16px}
.cv2-ref .basket-product-icon{display:grid;place-items:center;flex:0 0 56px;width:56px;height:56px;border-radius:16px;background:var(--of-soft);color:var(--of-primary);font-size:26px}
.cv2-ref .coresepeteim-item-info{flex:1 1 auto;min-width:0}
.cv2-ref .eyebrow{display:inline-block;margin:0 0 4px;padding:3px 10px;border-radius:999px;background:var(--of-soft);color:var(--of-primary);font-size:11px;font-weight:700;letter-spacing:.04em;text-transform:uppercase}
.cv2-ref .coresepeteim-item-name{margin:0;font-size:19px;font-weight:700;color:var(--of-text);line-height:1.3}
.cv2-ref .coresepeteim-item-info p{margin:4px 0 0;color:var(--of-muted);font-size:13px;overflow-wrap:anywhere}
.cv2-ref .coresepeteim-item-remove{display:grid;place-items:center;flex:0 0 40px;width:40px;height:40px;padding:0;border:1px solid var(--of-line);border-radius:12px;background:var(--of-card);color:var(--of-muted);font-size:17px;cursor:pointer;transition:.2s}
.cv2-ref .coresepeteim-item-remove:hover{background:rgba(220,38,38,.08);color:#dc2626}
.cv2-ref .row-label{display:inline-flex;align-items:center;gap:6px;margin:0 0 12px;padding:4px 10px;border-radius:999px;background:var(--of-soft);color:var(--of-primary);font-size:12px;font-weight:600}
.cv2-ref .basket-details{display:flex;flex-wrap:wrap;gap:8px;margin:16px 0 0}
.cv2-ref .coresepeteim-item-addon{padding:6px 12px;border-radius:10px;background:var(--of-page);font-size:12px;color:var(--of-body)}
.cv2-ref .basket-edit-links{display:flex;flex-wrap:wrap;gap:8px;margin:14px 0 0}
.cv2-ref .basket-edit-links a{display:inline-flex;align-items:center;gap:6px;height:34px;padding:0 12px;border-radius:10px;background:var(--of-soft);color:var(--of-primary);font-size:12px;font-weight:600;text-decoration:none}
.cv2-ref .privacy-row{display:flex;align-items:center;gap:8px;margin:14px 0 0;font-size:13px}
.cv2-ref .basket-item-footer{display:flex;align-items:flex-end;justify-content:space-between;gap:16px;margin:20px 0 0;padding:18px 0 0;border-top:1px dashed var(--of-line)}
.cv2-ref .coresepeteim-period-wrapper{display:grid;gap:6px;margin:0;min-width:180px}
.cv2-ref .coresepeteim-period-wrapper>span,.cv2-ref .coresepeteim-price-wrapper small{font-size:11px;font-weight:600;letter-spacing:.05em;text-transform:uppercase;color:var(--of-muted)}
.cv2-ref .coresepeteim-period-text{font-size:15px;color:var(--of-text)}
.cv2-ref .coresepeteim-price-wrapper{display:grid;justify-items:end;gap:2px}
.cv2-ref .coresepeteim-price{font-size:26px;font-weight:800;letter-spacing:0;color:var(--of-text);line-height:1.1}

/* Özel seçim kutusu (cv2-order-select.js) */
.cv2-ref .cv2-os-native{position:absolute;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip:rect(0 0 0 0);border:0;opacity:0;pointer-events:none}
.cv2-ref .cv2-os-trigger{display:inline-flex;align-items:center;gap:10px;width:100%;height:44px;padding:0 14px;border:1px solid var(--of-line);border-radius:12px;background:var(--of-card);color:var(--of-text);font:inherit;font-weight:600;cursor:pointer;text-align:left}
.cv2-ref .is-open>.cv2-os-trigger{border-color:var(--of-primary);}
.cv2-ref .cv2-os-icon{display:inline-flex;color:var(--of-primary)}
.cv2-ref .cv2-os-text{flex:1 1 auto;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.cv2-ref .cv2-os-chev{display:inline-flex;color:var(--of-muted);transition:transform .2s}
.cv2-ref .is-open .cv2-os-chev{transform:rotate(180deg)}
.cv2-ref .cv2-os-panel{position:absolute;z-index:40;min-width:220px;margin-top:6px;padding:6px;border:1px solid var(--of-line);border-radius:14px;background:var(--of-card);}
.cv2-ref .cv2-os-list{display:grid;gap:2px;margin:0;padding:0;list-style:none;max-height:280px;overflow:auto}
.cv2-ref .cv2-os-option{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:10px 12px;border-radius:10px;cursor:pointer;font-weight:500}
.cv2-ref .cv2-os-option:hover{background:var(--of-page)}
.cv2-ref .cv2-os-option.is-selected{background:var(--of-soft);color:var(--of-primary);font-weight:700}
.cv2-ref .cv2-os-check{color:var(--of-primary)}
.cv2-ref .cv2-os-grip{display:none}

/* Boş sepet */
.cv2-ref .empty-order{display:grid;justify-items:center;gap:10px;padding:56px 24px;text-align:center;border-style:dashed}
.cv2-ref .empty-icon-wrap{display:grid;place-items:center;width:84px;height:84px;margin:0 0 6px;border-radius:26px;background:var(--of-soft);color:var(--of-primary);font-size:38px}
.cv2-ref .empty-order h1{margin:0;font-size:22px;font-weight:700;color:var(--of-text)}
.cv2-ref .empty-order p{margin:0 0 8px;color:var(--of-muted)}
.cv2-ref .empty-order .order-cta{width:auto;padding:0 26px}
.cv2-ref .coresepeteim-loading{min-height:120px;border-radius:var(--of-r);background:linear-gradient(90deg,var(--of-page),var(--of-card),var(--of-page));background-size:200% 100%;animation:of-shimmer 1.2s linear infinite}
@keyframes of-shimmer{to{background-position:-200% 0}}

/* Sipariş özeti: cv2-summary-ticket.css owns this component. */

/* ── Hesap adımı ───────────────────────── */
.cv2-ref .order-content>.summary-heading{display:none}
.cv2-ref .payment-section{padding:26px}
.cv2-ref .payment-section .payment-section-body{padding:0;border:0;background:none}
.cv2-ref .payment-section h2{margin:0 0 18px;font-size:15px;font-weight:500;color:var(--of-muted)}
.cv2-ref .auth-segment{display:grid;grid-template-columns:1fr 1fr;gap:6px;margin:0 0 22px;padding:6px;border-radius:16px;background:var(--of-page)}
.cv2-ref .auth-segment>input{position:absolute;opacity:0;pointer-events:none}
.cv2-ref .cv2-auth-tab{display:flex;align-items:center;justify-content:center;gap:10px;height:48px;margin:0;border-radius:12px;color:var(--of-muted);font-weight:600;cursor:pointer;transition:.2s}
.cv2-ref .auth-segment>input:checked+.cv2-auth-tab{background:var(--of-card);color:var(--of-text);}
.cv2-ref .auth-segment>input:checked+.cv2-auth-tab .cv2-auth-icon{color:var(--of-primary)}
.cv2-ref .cv2-auth-icon{display:inline-grid;place-items:center;color:var(--of-muted)}
.cv2-ref .cv2-auth-icon svg{width:18px;height:18px}
.cv2-ref .form-section{margin:0 0 16px;padding:22px;border-radius:18px;background:var(--of-card)}
.cv2-ref .form-section-title{display:flex;align-items:center;gap:12px;margin:0 0 18px}
.cv2-ref .form-section-title .cv2-auth-icon{width:38px;height:38px;border-radius:12px;background:var(--of-soft);color:var(--of-primary)}
.cv2-ref .form-section-title h2{margin:0;font-size:17px;font-weight:700;color:var(--of-text)}
.cv2-ref .account-kind-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px}
.cv2-ref .kind-tile{position:relative;display:flex;align-items:center;gap:14px;margin:0;padding:16px;border:1.5px solid var(--of-line);border-radius:16px;cursor:pointer;transition:.2s}
.cv2-ref .kind-tile>input{position:absolute;opacity:0;pointer-events:none}
.cv2-ref .kind-tile .kind-icon{flex:0 0 42px;width:42px;height:42px;border-radius:12px;background:var(--of-page)}
.cv2-ref .kind-tile>div{display:grid;flex:1 1 auto}
.cv2-ref .kind-tile strong{font-size:14px;color:var(--of-text)}
.cv2-ref .kind-tile small{font-size:12px;color:var(--of-muted)}
.cv2-ref .radio-dot{flex:0 0 20px;width:20px;height:20px;border:2px solid var(--of-line);border-radius:50%;transition:.2s}
.cv2-ref .kind-tile:has(input:checked){border-color:var(--of-primary);background:var(--of-soft)}
.cv2-ref .kind-tile:has(input:checked) .kind-icon{background:var(--of-primary);color:#fff}
.cv2-ref .kind-tile:has(input:checked) .radio-dot{border:6px solid var(--of-primary)}
.cv2-ref .form-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px}
.cv2-ref .form-field{position:relative;display:grid;gap:7px;min-width:0;align-content:start}
.cv2-ref .form-field.span-two{grid-column:1/-1;gap:10px}
.cv2-ref .form-field>span:first-child,.cv2-ref .field-label{font-size:12px;font-weight:600;color:var(--of-text)}
.cv2-ref .cv2-auth-field-icon{position:absolute;left:14px;bottom:13px;pointer-events:none}
.cv2-ref .cv2-auth-field>input,.cv2-ref .cv2-auth-field .field>input{padding-left:44px}
.cv2-ref .cv2-auth-field .field+.field{margin-top:8px}
.cv2-ref input[type=text],.cv2-ref input[type=email],.cv2-ref input[type=password],.cv2-ref input[type=tel],.cv2-ref input[type=number],.cv2-ref select,.cv2-ref textarea,.cv2-ref .coresepeteim-form-control{
  width:100%;height:46px;padding:0 14px;border:1px solid var(--of-line);border-radius:12px;background:var(--of-card);color:var(--of-text);font:inherit;font-size:14px;outline:0;transition:border-color .2s,box-shadow .2s
}
.cv2-ref textarea{height:auto;min-height:96px;padding:12px 14px}
.cv2-ref input::placeholder{color:var(--of-muted);opacity:.75}
.cv2-ref input:focus,.cv2-ref select:focus,.cv2-ref textarea:focus{outline:0}
.cv2-ref .iti{display:block;width:100%}
.cv2-ref .iti input#gsm{padding-left:96px}
.cv2-ref .iti__selected-flag{border-radius:12px 0 0 12px;background:var(--of-page)}
.cv2-ref .checkbox-label,.cv2-ref .consent-row{display:flex;align-items:flex-start;gap:10px;margin:0;font-size:13px;color:var(--of-body);cursor:pointer}
.cv2-ref .checkbox-label input,.cv2-ref input.checkbox-custom[type=checkbox]{flex:0 0 18px;width:18px;height:18px;margin:1px 0 0;accent-color:var(--of-primary)}
.cv2-ref .checktext a{color:var(--of-primary);font-weight:600}
.cv2-ref .consent-section{background:var(--of-page);border-style:dashed}
.cv2-ref .sifreunuttulink{font-size:13px;font-weight:600;color:var(--of-primary);text-decoration:none}
.cv2-ref #SubmitStepAccount>div>.order-cta.mio-ajax-submit{margin-top:6px}
.cv2-ref #FormOutput{margin-top:12px;font-size:13px}
.cv2-ref .error{color:#dc2626}

/* ── Ödeme adımı ───────────────────────── */
.cv2-ref .payment-section+.payment-section{margin-top:16px}
.cv2-ref .payment-section-toggle h2{margin:0 0 18px;font-size:17px;font-weight:700;color:var(--of-text)}
.cv2-ref .cv2-order-payment .field{min-width:0}
.cv2-ref .cv2-address-grid .form-field{display:grid;gap:7px}
.cv2-ref .payment-method-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(220px,1fr));gap:12px}
.cv2-ref .payment-method-grid>input{position:absolute;opacity:0;pointer-events:none}
.cv2-ref .payment-method-grid>label.consent-row{display:grid;gap:4px;padding:16px 16px 16px 48px;position:relative;border:1.5px solid var(--of-line);border-radius:16px;background:var(--of-card)}
.cv2-ref .payment-method-grid>label.consent-row::before{content:"";position:absolute;left:16px;top:18px;width:20px;height:20px;border:2px solid var(--of-line);border-radius:50%}
.cv2-ref .payment-method-grid>input:checked+label.consent-row{border-color:var(--of-primary);background:var(--of-soft)}
.cv2-ref .payment-method-grid>input:checked+label.consent-row::before{border:6px solid var(--of-primary)}
.cv2-ref .payment-method-grid strong{font-size:14px;color:var(--of-text)}
.cv2-ref .radio-custom[type=radio]{accent-color:var(--of-primary)}
.cv2-ref .yuzde15{min-width:0}

/* ── Sonuç sayfaları ───────────────────── */
.cv2-ref .result-page{max-width:640px;margin:20px auto;padding:48px 32px;text-align:center}
.cv2-ref .result-icon{display:grid;place-items:center;width:92px;height:92px;margin:0 auto 18px;border-radius:30px;background:var(--of-soft);color:var(--of-primary);font-size:44px}
.cv2-payment-failed .result-icon,.cv2-ref.cv2-payment-failed .result-icon{background:rgba(220,38,38,.1);color:#dc2626}
.cv2-ref .result-eyebrow{display:inline-block;margin:0 0 8px;font-size:12px;font-weight:700;letter-spacing:.08em;text-transform:uppercase;color:var(--of-primary)}
.cv2-ref .result-page h1{margin:0 0 10px;font-size:28px;font-weight:700;color:var(--of-text)}
.cv2-ref .result-page p{color:var(--of-muted)}
.cv2-ref .result-actions{display:flex;flex-wrap:wrap;justify-content:center;gap:10px;margin-top:22px}
.cv2-ref .result-actions .order-cta{width:auto}
.cv2-ref .result-actions .back-link{display:inline-flex;align-items:center;height:54px;padding:0 20px;border:1px solid var(--of-line);border-radius:16px;color:var(--of-text);font-weight:600;text-decoration:none}

/* ── Tablet ────────────────────────────── */
@media (max-width:1100px){
  .cv2-ref .order-columns{grid-template-columns:minmax(0,1fr) 330px;gap:20px}
  .cv2-ref .step-title{display:none}
  .cv2-ref .progress-item.current .step-title{display:inline}
}

/* ── Mobil: tek sütun, alt sabit toplam çubuğu ── */
@media (max-width:860px){
  .cv2-ref .order-workspace{padding:16px 0 120px}
  .cv2-ref .order-columns{grid-template-columns:minmax(0,1fr)}
  .cv2-ref .progress-row{margin:0 0 20px;padding:10px;overflow-x:auto;scrollbar-width:none}
  .cv2-ref .progress-control{padding:4px}
  .cv2-ref .progress-item.current{flex:0 0 auto}
  .cv2-ref .progress-item.current .progress-control{padding:4px 12px 4px 4px;white-space:nowrap}
  .cv2-ref .step-symbol{flex-basis:30px;width:30px;height:30px;font-size:11px}
  .cv2-ref .section-heading h1{font-size:26px}
  .cv2-ref .basket-item{padding:18px}
  .cv2-ref .basket-product-icon{flex-basis:46px;width:46px;height:46px;font-size:22px;border-radius:14px}
  .cv2-ref .coresepeteim-item-name{font-size:17px}
  .cv2-ref .coresepeteim-price{font-size:22px}
  .cv2-ref .summary-ticket{position:static}
  .cv2-ref .summary-ticket .ticket-total{position:relative}
  .cv2-ref .payment-section,.cv2-ref .form-section{padding:18px}
  .cv2-ref .form-grid,.cv2-ref .account-kind-grid{grid-template-columns:minmax(0,1fr)}
  .cv2-ref .cv2-auth-tab{height:44px;font-size:13px}
  .cv2-ref input[type=text],.cv2-ref input[type=email],.cv2-ref input[type=password],.cv2-ref input[type=tel],.cv2-ref select{height:50px;font-size:16px}
  .cv2-ref .result-page{padding:36px 20px}
}
@media (max-width:480px){
  .cv2-ref #total-amount-payable{font-size:24px}
}
