/* ============================================================
   sepet.css — Checkout / Sepet Sayfası Stilleri
   Bootstrap 5.3 üzerine inşa edilmiştir.
   ============================================================ */

/* ── v-cloak ──────────────────────────────────────────────── */
[v-cloak] { display: none !important; }

/* ── PRELOADER ────────────────────────────────────────────── */
.sepet-preloader {
    position: fixed;
    inset: 0;
    background: rgba(255,255,255,.75);
    z-index: 2147483647;
    backdrop-filter: blur(2px);
}

/* ── CHECKOUT HEADER ──────────────────────────────────────── */
.checkout-header {
    background: #fff;
    border-bottom: 1px solid #e8e8e8;
    padding: 35px 0;
}

.checkout-header-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 28px;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

.checkout-header .logo-wrap {
    margin-left: 0;
}

.checkout-header .logo-wrap img {
    max-height: 33px;
    width: auto;
}
.checkout-header .logo-wrap svg {
    height: 33px;
    width: auto;
}
.checkout-header .logo-wrap a {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: #222;
    font-weight: 700;
    font-size: 1.1rem;
    letter-spacing: -.3px;
}

.checkout-badges {
    display: flex;
    align-items: center;
    gap: 18px;
    margin-left: auto;
}

.checkout-user-info {
    display: flex;
    align-items: center;
    gap: 7px;
    font-size: .82rem;
    font-weight: 600;
    color: #333;
    margin-right: 4px;
}
.checkout-user-icon {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: #f5f5f5;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: .9rem;
    color: #555;
}
.checkout-user-info a {
    color: #c0392b;
    text-decoration: none;
    font-weight: 600;
    font-size: .82rem;
}

.checkout-badge {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: .78rem;
    font-weight: 600;
    color: #555;
}

.checkout-badge.green {
    color: #1a8a4a;
}

.checkout-badge .badge-icon {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: flex !important;
    align-items: center;
    justify-content: center;
    font-size: .88rem;
    flex-shrink: 0;
    line-height: 1;
}

.checkout-badge.green .badge-icon {
    background: #e8f5ee;
    color: #1a8a4a;
}

.checkout-badge.ssl .badge-icon {
    background: #eef3fb;
    color: #2255bb;
}

.checkout-badge.ssl {
    color: #2255bb;
}

.checkout-header-divider {
    width: 1px;
    height: 36px;
    background: #e0e0e0;
    flex-shrink: 0;
}

.checkout-mobile-badges {
    display: none;
}

.checkout-divider {
    margin: 0;
    border-color: #e8e8e8;
}

/* ── CHECKOUT STEPS ──────────────────────────────────────── */
.checkout-steps {
    background: #fff;
    border-bottom: 1px solid #e8e8e8;
    padding: 18px 0;
}
.checkout-steps-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 28px;
    display: flex;
    align-items: center;
}

.step-item {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}

.step-circle {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    font-weight: 700;
    flex-shrink: 0;
    transition: background .2s, color .2s;
}

.step-text {
    display: flex;
    flex-direction: column;
    gap: 2px;
}
.step-title {
    font-size: .82rem;
    font-weight: 700;
    line-height: 1.2;
}
.step-desc {
    font-size: .72rem;
    line-height: 1.3;
}

/* Connector */
.step-connector {
    flex: 1;
    height: 2px;
    background: #e0e0e0;
    margin: 0 10px;
    border-radius: 2px;
    transition: background .2s;
}
.step-connector.done {
    background: #1a8a4a;
}

/* States */
.step-item.active .step-circle {
    background: #c0392b;
    color: #fff;
    box-shadow: 0 2px 8px rgba(192,57,43,.30);
}
.step-item.active .step-title {
    color: #c0392b;
}
.step-item.active .step-desc {
    color: #555;
}

.step-item.completed {
    cursor: pointer;
}
.step-item.completed:hover .step-title {
    text-decoration: underline;
}
.step-item.completed .step-circle {
    background: #1a8a4a;
    color: #fff;
}
.step-item.completed .step-title {
    color: #1a8a4a;
}
.step-item.completed .step-desc {
    color: #888;
}

/* Alışveriş sonu — akış tamamlandı (21.09.2026).
   'completed'den AYRI bir sınıf: o sınıf geri DÖNÜLEBİLEN adımları anlatıyor
   (imleç el, başlık altı çizili, tıklayınca o adıma gider). Son adımın geri
   dönüşü yok; rengi aynı, tıklama davranışı yok. */
.step-item.tamam .step-circle {
    background: #1a8a4a;
    color: #fff;
    box-shadow: 0 2px 8px rgba(26,138,74,.30);
}
.step-item.tamam .step-title {
    color: #1a8a4a;
}
.step-item.tamam .step-desc {
    color: #555;
}

.step-item.pending .step-circle {
    background: #f0f0f0;
    color: #bbb;
}
.step-item.pending .step-title {
    color: #bbb;
}
.step-item.pending .step-desc {
    color: #ccc;
}

/* ── SAYFA GENEL ──────────────────────────────────────────── */
body.sepet-page {
    background: #f5f6f8;
    font-family: 'Inter', 'Segoe UI', sans-serif;
    padding-bottom: 80px;
}

.sepet-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 28px 16px 60px;
}

.sepet-baslik {
    font-size: 1.25rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 0;
}

.sepet-baslik-divider {
    margin: 12px 0 20px;
    border-color: #e0e0e0;
}

/* ── BOŞ SEPET ────────────────────────────────────────────── */
.bos-sepet {
    background: #fff;
    border-radius: 12px;
    padding: 60px 24px;
    text-align: center;
    box-shadow: 0 1px 4px rgba(0,0,0,.06);
}
.bos-sepet-icon {
    font-size: 4rem;
    color: #ccc;
    margin-bottom: 20px;
    display: flex;
    justify-content: center;
}
.bos-sepet h3 {
    font-size: 1.2rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 8px;
}
.bos-sepet p {
    color: #888;
    margin-bottom: 24px;
}

/* ── SOL KOLON: SEPET ÜRÜN LİSTESİ ──────────────────────── */
.sepet-liste-wrap {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 1px 4px rgba(0,0,0,.06);
    overflow: hidden;
}

.sepet-item {
    padding: 20px 20px 16px;
    border-bottom: 1px solid #f0f0f0;
    position: relative;
    transition: background .15s;
}
.sepet-item:last-child {
    border-bottom: none;
}
.sepet-item:hover {
    background: #fafafa;
}

.sepet-item-ust {
    display: flex;
    align-items: flex-start;
    gap: 14px;
}

/* Checkbox */
.sepet-item-check {
    margin-top: 4px;
    flex-shrink: 0;
    width: 18px;
    height: 18px;
    cursor: pointer;
    accent-color: #e53935;
}

/* Resim */
.sepet-item-resim {
    flex-shrink: 0;
    width: 88px;
    height: 88px;
    border: 1px solid #e8e8e8;
    border-radius: 8px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
}
.sepet-item-resim img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 4px;
}

/* Orta bilgi */
.sepet-item-bilgi {
    flex: 1;
    min-width: 0;
}
.sepet-item-ad a {
    font-size: .95rem;
    font-weight: 600;
    color: #1a1a1a;
    text-decoration: none;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    line-height: 1.4;
}
.sepet-item-ad a:hover {
    color: #e53935;
}

/* Fiyat alanı */
.sepet-item-fiyat-wrap {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    margin-top: 8px;
}
.fiyat-piyasa {
    font-size: .82rem;
    color: #aaa;
    text-decoration: line-through;
}
.indirim-oran {
    background: #fff3e0;
    color: #e65100;
    font-size: .72rem;
    font-weight: 700;
    padding: 2px 6px;
    border-radius: 4px;
    white-space: nowrap;
}
.fiyat-guncel {
    font-size: 1rem;
    font-weight: 700;
    color: #1a1a1a;
}

/* Miktar kontrolü */
.quantity-control {
    display: inline-flex;
    align-items: center;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    overflow: hidden;
    margin-top: 10px;
    background: #fff;
}
.quantity-control button {
    width: 34px;
    height: 34px;
    border: none;
    background: #f5f5f5;
    color: #333;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background .12s;
    flex-shrink: 0;
}
.quantity-control button:hover:not(:disabled) {
    background: #ececec;
}
.quantity-control button:disabled {
    opacity: .4;
    cursor: not-allowed;
}
.quantity-control .qty-val {
    min-width: 38px;
    text-align: center;
    font-size: .92rem;
    font-weight: 600;
    color: #222;
    padding: 0 4px;
    line-height: 34px;
    user-select: none;
}

/* Sağ sütun: fiyat + sil */
.sepet-item-sag {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 6px;
    flex-shrink: 0;
    min-width: 90px;
}
.sepet-item-toplam {
    font-size: 1.05rem;
    font-weight: 700;
    color: #1a1a1a;
    white-space: nowrap;
}
.btn-sil {
    background: none;
    border: none;
    color: #bbb;
    font-size: 1rem;
    cursor: pointer;
    padding: 4px;
    border-radius: 6px;
    transition: color .12s, background .12s;
    line-height: 1;
}
.btn-sil:hover {
    color: #e53935;
    background: #fff0f0;
}

/* Kargo ve tarih bilgisi satırı */
.sepet-item-alt {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 10px;
    flex-wrap: wrap;
    gap: 6px;
}
.kargo-tarih {
    font-size: .75rem;
    color: #888;
    display: flex;
    align-items: center;
    gap: 4px;
}
.kargo-tarih i {
    color: #aaa;
}
.kargo-info {
    font-size: .75rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 4px;
}
.kargo-info.ucretsiz {
    color: #1a8a4a;
}
.kargo-info.ucretli {
    color: #555;
}
.kargo-info .kargo-ucret-label {
    display: block;
    font-size: .68rem;
    font-weight: 500;
    opacity: .65;
    line-height: 1.2;
}

/* ── FOOTER BUTONLAR (sol kolon alt) ──────────────────────── */
.sepet-footer-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 20px;
}
.btn-devam {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #fff;
    border: 1px solid #ddd;
    color: #444;
    font-size: .85rem;
    font-weight: 600;
    padding: 9px 18px;
    border-radius: 8px;
    text-decoration: none;
    transition: border-color .12s, color .12s;
    cursor: pointer;
}
.btn-devam:hover {
    border-color: #aaa;
    color: #111;
}
.btn-bosalt, .btn-secilenleri-sil {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #fff;
    border: 1px solid #ffc8c8;
    color: #c62828;
    font-size: .85rem;
    font-weight: 600;
    padding: 9px 18px;
    border-radius: 8px;
    cursor: pointer;
    transition: background .12s, border-color .12s;
}
.btn-bosalt:hover, .btn-secilenleri-sil:hover {
    background: #fff5f5;
    border-color: #e53935;
}

/* ── SAĞ KOLON: ÖZET ──────────────────────────────────────── */
.sepet-ozet {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 1px 4px rgba(0,0,0,.06);
    padding: 22px 20px 20px;
    position: sticky;
    top: 20px;
}

.sepet-ozet-baslik {
    font-size: 1rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 14px;
}

/* Genel kuponlar */
.genel-kuponlar-wrap {
    margin-bottom: 16px;
}
.genel-kuponlar-label {
    font-size: .75rem;
    font-weight: 600;
    color: #888;
    text-transform: uppercase;
    letter-spacing: .5px;
    margin-bottom: 8px;
}
.genel-kuponlar-list {
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.kupon-badge {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #f0faf4;
    border: 1px dashed #6fcf97;
    border-radius: 8px;
    padding: 8px 12px;
    cursor: pointer;
    transition: background .12s, border-color .12s;
}
.kupon-badge:hover {
    background: #e4f7ed;
    border-color: #27ae60;
}
.kupon-badge-left {
    display: flex;
    flex-direction: column;
    gap: 2px;
}
.kupon-badge-kod {
    font-size: .82rem;
    font-weight: 700;
    color: #1a7a40;
    letter-spacing: .5px;
}
.kupon-badge-aciklama {
    font-size: .73rem;
    color: #555;
}
.kupon-badge-arrow {
    font-size: .75rem;
    color: #27ae60;
    font-weight: 700;
    white-space: nowrap;
}

/* Kupon input */
.kupon-input-wrap {
    display: flex;
    gap: 8px;
    margin-bottom: 16px;
}
.kupon-input-wrap input {
    flex: 1;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 9px 12px;
    font-size: .85rem;
    outline: none;
    text-transform: uppercase;
    letter-spacing: .5px;
    transition: border-color .15s;
}
.kupon-input-wrap input:focus {
    border-color: #1a8a4a;
}
.btn-kupon {
    background: linear-gradient(135deg, rgb(41, 147, 82) 0%, rgb(86, 203, 125) 100%);
    box-shadow: rgba(192, 57, 43, 0.2) 0px 4px 16px;
    color: #fff;
    border: none;
    border-radius: 8px;
    padding: 9px 14px;
    font-size: .82rem;
    font-weight: 700;
    cursor: pointer;
    white-space: nowrap;
    transition: background .12s;
}
.btn-kupon:hover {
    background: #156638;
}
.btn-kupon:disabled {
    background: #aaa;
    cursor: not-allowed;
}

/* Uygulanmış kupon */
.kupon-applied {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #f0faf4;
    border: 1px solid #6fcf97;
    border-radius: 8px;
    padding: 8px 12px;
    margin-bottom: 16px;
    font-size: .82rem;
}
.kupon-applied-text {
    color: #1a7a40;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 5px;
}
.btn-kupon-kaldir {
    background: none;
    border: none;
    color: #e53935;
    font-size: .78rem;
    cursor: pointer;
    padding: 2px 4px;
    font-weight: 600;
    transition: opacity .12s;
}
.btn-kupon-kaldir:hover { opacity: .7; }

/* Özet satırları */
.ozet-divider {
    border-color: #f0f0f0;
    margin: 12px 0;
}
.ozet-satir {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: .875rem;
    color: #555;
    margin-bottom: 8px;
}
.ozet-satir:last-of-type {
    margin-bottom: 0;
}
.ozet-satir .ozet-label {
    color: #666;
}
.ozet-satir .ozet-deger {
    font-weight: 600;
    color: #222;
}
.ozet-satir.indirim .ozet-deger {
    color: #e53935;
}
.ozet-satir.kargo-ucr .ozet-deger {
    color: #1a8a4a;
}

/* Ödenecek tutar */
.odenecek-wrap {
    background: #f5f6f8;
    border-radius: 10px;
    padding: 14px 16px;
    margin: 14px 0 16px;
}
.odenecek-label {
    font-size: .8rem;
    font-weight: 600;
    color: #888;
    margin-bottom: 4px;
}
.odenecek-tutar {
    font-size: 1.65rem;
    font-weight: 800;
    color: #1a1a1a;
    line-height: 1.1;
}
.odenecek-kdv {
    font-size: .70rem;
    color: #999;
    text-align: left;
    text-transform: uppercase;
    margin-top: 3px;
}
.odenecek-tutar span.birim {
    font-size: 1rem;
    font-weight: 600;
    color: #555;
    margin-left: 4px;
}

/* Tamamla butonu */
.btn-checkout {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    background: linear-gradient(135deg, rgb(192, 57, 43) 0%, rgb(231, 76, 60) 100%);
    color: #fff;
    border: none;
    border-radius: 10px;
    padding: 14px 20px;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    transition: background .15s, transform .1s;
    text-decoration: none;
    box-shadow: rgba(192, 57, 43, 0.2) 0px 4px 16px;
}
.btn-checkout:hover {
    background: #c62828;
    color: #fff;
}
.btn-checkout:active {
    transform: scale(.98);
}
.btn-checkout:disabled {
    background: #ccc;
    cursor: not-allowed;
}

/* ── CHECKOUT FOOTER ──────────────────────────────────────── */
.checkout-footer {
    border-top: 1px solid #e8e8e8;
    background: #fff;
    padding: 16px 24px;
    margin-top: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}
.checkout-footer-item {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: .75rem;
    color: #888;
}
.checkout-footer-item i {
    color: #1a8a4a;
}

/* ── TOAST BİLDİRİM ───────────────────────────────────────── */
.sepet-toast-wrap {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 8px;
    pointer-events: none;
}
.sepet-toast {
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 18px rgba(0,0,0,.14);
    padding: 12px 18px;
    font-size: .85rem;
    font-weight: 600;
    min-width: 240px;
    max-width: 320px;
    display: flex;
    align-items: center;
    gap: 10px;
    animation: toastIn .2s ease;
    pointer-events: auto;
    border-left: 4px solid #ccc;
}
.sepet-toast.success { border-left-color: #1a8a4a; color: #1a7a40; }
.sepet-toast.error   { border-left-color: #e53935; color: #c62828; }
.sepet-toast.warning { border-left-color: #f59e0b; color: #92400e; }
.sepet-toast.info    { border-left-color: #2255bb; color: #1a3d8a; }
.sepet-toast-fade    { animation: toastOut .25s ease forwards; }

@keyframes toastIn  { from { opacity: 0; transform: translateX(30px); } to { opacity: 1; transform: none; } }
@keyframes toastOut { from { opacity: 1; } to { opacity: 0; transform: translateX(20px); } }

/* ── LOADING SPINNER ──────────────────────────────────────── */
.sepet-loading {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 60px 0;
}
.sepet-spinner {
    width: 36px;
    height: 36px;
    border: 3px solid #eee;
    border-top-color: #e53935;
    border-radius: 50%;
    animation: spin .7s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ── RESPONSIVE ───────────────────────────────────────────── */
@media (max-width: 991px) {
    .sepet-ozet {
        position: static;
        margin-top: 20px;
    }
    .checkout-header {
        padding: 12px 0;
    }
    .checkout-header-inner {
        padding: 0 16px;
    }
    .checkout-badges {
        gap: 8px;
    }
    .checkout-badge span.badge-text {
        display: none;
    }
    .checkout-mobile-badges .checkout-badge span.badge-text {
        display: inline;
    }
    .sepet-item-resim {
        width: 72px;
        height: 72px;
    }
}
@media (max-width: 575px) {
    /* ── Steps: kompakt ── */
    .checkout-steps-inner {
        padding: 0 10px;
        gap: 0;
    }
    .step-item {
        gap: 6px;
    }
    .step-circle {
        width: 30px;
        height: 30px;
        font-size: .85rem;
    }
    .step-desc {
        display: none;
    }
    .step-item .step-title {
        display: none;
    }
    /* Telefonda yalnız içinde bulunulan adımın başlığı yazılıyor. Finish'te
       4. adım artık 'active' değil 'tamam'; bu sınıf eklenmezse "Alışveriş
       Sonu" yazısı mobilde tamamen kaybolurdu. */
    .step-item.active .step-title,
    .step-item.tamam .step-title {
        display: block;
        font-size: .72rem;
    }
    .step-connector {
        margin: 0 4px;
    }
    /* ── Header: logo ortada, küçük ── */
    .checkout-header-inner {
        padding: 0 12px;
        justify-content: center;
    }
    .checkout-badges {
        display: none;
    }
    .checkout-header .logo-wrap img {
        max-height: 22px;
    }
    .checkout-header .logo-wrap svg {
        height: 22px;
    }
    .checkout-header .logo-wrap a {
        font-size: .85rem;
    }
    /* ── Mobil badge bar ── */
    .checkout-mobile-badges {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 12px;
        flex-wrap: wrap;
        padding: 8px 12px;
        background: #fff;
        border-bottom: 1px solid #e8e8e8;
    }
    .sepet-item-sag {
        min-width: 70px;
    }
    .sepet-item-toplam {
        font-size: .95rem;
    }
    .odenecek-tutar {
        font-size: 1.4rem;
    }
    .sepet-footer-actions {
        flex-direction: column;
        align-items: stretch;
    }
    .btn-devam, .btn-bosalt, .btn-secilenleri-sil {
        justify-content: center;
    }
}

/* ── Mobil Sticky Checkout Bar ───────────────────────────── */
.msc-bar {
    display: none; /* masaüstünde gizli */
}

@media (max-width: 991px) {
    .msc-bar {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 12px;
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        z-index: 300;
        background: #fff;
        border-top: 1px solid #e8e8e8;
        padding: 12px 16px;
        box-shadow: 0 -4px 16px rgba(0,0,0,.08);
    }
    .msc-tutar-wrap {
        display: flex;
        flex-direction: column;
        gap: 1px;
        flex: 1;
    }
    .msc-label {
        font-size: .72rem;
        font-weight: 600;
        color: #999;
        text-transform: uppercase;
        letter-spacing: .04em;
    }
    .msc-tutar {
        font-size: 1.35rem;
        font-weight: 800;
        color: #1a1a1a;
        line-height: 1.1;
    }
    .msc-birim {
        font-size: .9rem;
        font-weight: 600;
        color: #555;
    }
    .msc-kdv {
        font-size: .65rem;
        color: #bbb;
        text-transform: uppercase;
    }
    .msc-btn {
        flex-shrink: 0;
        padding: 12px 20px;
        background: #c0392b;
        color: #fff;
        border: none;
        border-radius: 10px;
        font-size: .9rem;
        font-weight: 700;
        cursor: pointer;
        font-family: inherit;
        white-space: nowrap;
        transition: background .2s;
    }
    .msc-btn:hover:not(:disabled) { background: #a93226; }
    .msc-btn:disabled { opacity: .55; cursor: not-allowed; }

    /* İçeriğin sticky bar arkasında kalmaması için */
    #sepet-app { padding-bottom: 80px; }
}

/* ── POPUP OVERLay & BOX (style.css bağımlılığı olmadan) ──── */
.popup-overlay {
    position: fixed;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.40);
    z-index: 99999;
}

.popup-box {
    width: 92%;
    max-width: 420px;
    background: #fff;
    border-radius: 14px;
    padding: 28px 28px 22px;
    box-shadow: 0 18px 40px rgba(18, 23, 28, 0.14);
    text-align: center;
    position: relative;
    transform-origin: center center;
    animation: popupBounceIn 0.35s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.popup-title {
    font-size: 22px;
    margin: 6px 0 8px;
    font-weight: 700;
    color: #1a1a1a;
}

.popup-message {
    font-size: 15px;
    color: #6b7280;
    margin: 0 0 16px;
    line-height: 1.5;
}

.popup-actions {
    margin-top: 8px;
}

/* Popup tip renkleri */
.popup-box.success { border-top: 4px solid #21a047; }
.popup-box.warning { border-top: 4px solid #d97706; }
.popup-box.error   { border-top: 4px solid #dc2626; }
.popup-box.info    { border-top: 4px solid #2f6df6; }

/* Popup buton (btn-border) */
.btn.btn-border {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background-color: transparent;
    border-radius: 8px;
    padding: 10px 28px;
    border: 1px solid #111;
    color: #111;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: background .15s, color .15s;
    width: 100%;
    margin-top: 8px;
}
.btn.btn-border:hover {
    background-color: #111;
    color: #fff;
}

@keyframes popupBounceIn {
    0%   { opacity: 0; transform: scale(0.6); }
    60%  { opacity: 1; transform: scale(1.04); }
    80%  { transform: scale(0.97); }
    100% { transform: scale(1); }
}

/* ═══════════════════════════════════════════════════════════
   STEP 2 — SİPARİŞ BİLGİLERİ
   ═══════════════════════════════════════════════════════════ */

/* Tam ekran yükleniyor */
.s2-fullloader {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 300px;
}

/* ── Guest seçim ekranı ─────────────────────────────────── */
.s2-guest-choice {
    background: #fff;
    border-radius: 12px;
    border: 1px solid #e5e7eb;
    padding: 28px 24px;
    margin-bottom: 16px;
}
.s2-guest-title {
    font-size: 15px;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 16px;
}
.s2-guest-btns {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}
.s2-guest-btn {
    flex: 1;
    min-width: 200px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    padding: 20px 16px;
    border: 2px solid #e5e7eb;
    border-radius: 12px;
    background: #fff;
    cursor: pointer;
    transition: border-color .18s, background .18s;
    text-align: center;
}
.s2-guest-btn i { font-size: 22px; color: #6b7280; }
.s2-guest-btn span { font-size: 14px; font-weight: 700; color: #1a1a1a; }
.s2-guest-btn small { font-size: 12px; color: #9ca3af; }
.s2-guest-btn:hover, .s2-guest-btn.primary {
    border-color: #c0392b;
    background: #fff5f5;
}
.s2-guest-btn.primary i { color: #c0392b; }
.s2-guest-btn.primary span { color: #c0392b; }

/* ── Collapse kart ──────────────────────────────────────── */
.s2-collapse {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    margin-bottom: 14px;
    overflow: hidden;
    transition: border-color .2s;
}
.s2-collapse.open   { border-color: #c0392b; }
.s2-collapse.done   { border-color: #21a047; }
.s2-collapse.disabled { opacity: .55; pointer-events: none; }

.s2-collapse-header {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px 20px;
    cursor: pointer;
    user-select: none;
}
.s2-collapse-num {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #f3f4f6;
    border: 2px solid #d1d5db;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 700;
    color: #6b7280;
    flex-shrink: 0;
    transition: all .2s;
}
.s2-collapse.open .s2-collapse-num {
    background: #c0392b;
    border-color: #c0392b;
    color: #fff;
}
.s2-collapse-num.done {
    background: #21a047;
    border-color: #21a047;
    color: #fff;
}
.s2-collapse-label {
    font-size: 15px;
    font-weight: 700;
    color: #1a1a1a;
    flex: 1;
}
.s2-collapse-summary {
    font-size: 13px;
    color: #6b7280;
}
.s2-collapse-body {
    padding: 0 20px 20px;
    border-top: 1px solid #f3f4f6;
}

/* ── Adres kartları ─────────────────────────────────────── */
.s2-addr-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 12px;
    margin-bottom: 16px;
    padding-top: 16px;
}
.s2-addr-card {
    border: 2px solid #e5e7eb;
    border-radius: 10px;
    padding: 14px;
    cursor: pointer;
    transition: border-color .18s, background .18s;
}
.s2-addr-card:hover   { border-color: #c0392b; background: #fff5f5; }
.s2-addr-card.selected { border-color: #c0392b; background: #fff0ef; }
.s2-addr-card.add-new {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border-style: dashed;
    color: #9ca3af;
    font-size: 13px;
    min-height: 90px;
}
.s2-addr-card.add-new:hover { color: #c0392b; border-color: #c0392b; }
.s2-addr-card.add-new i { font-size: 20px; }
.s2-addr-card-top { display: flex; align-items: center; gap: 6px; margin-bottom: 6px; }
.s2-addr-baslik { font-weight: 700; font-size: 13px; color: #1a1a1a; }
.s2-addr-badge {
    font-size: 10px;
    padding: 2px 7px;
    border-radius: 20px;
    background: #e8f5e9;
    color: #21a047;
    font-weight: 600;
}
.s2-addr-badge.kurumsal { background: #e8eaf6; color: #3949ab; }
.s2-addr-badge.bireysel { background: #e0f2f1; color: #00796b; }
.s2-addr-name   { font-size: 13px; font-weight: 600; color: #374151; margin-bottom: 3px; }
.s2-addr-detail { font-size: 12px; color: #6b7280; line-height: 1.5; }
.s2-addr-tel    { font-size: 12px; color: #9ca3af; margin-top: 4px; }

/* ── Form ───────────────────────────────────────────────── */
.s2-form-back {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: #c0392b;
    cursor: pointer;
    padding: 10px 0 6px;
}
.s2-form-back:hover { text-decoration: underline; }
.s2-form-grid { display: flex; flex-direction: column; gap: 14px; padding-top: 14px; }
.s2-form-row  { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.s2-form-group { display: flex; flex-direction: column; gap: 5px; }
.s2-form-group label { font-size: 13px; font-weight: 600; color: #374151; }
.s2-form-group label .req { color: #c0392b; }
.s2-input {
    width: 100%;
    padding: 10px 12px;
    border: 1.5px solid #d1d5db;
    border-radius: 8px;
    font-size: 14px;
    color: #1a1a1a;
    background: #fff;
    outline: none;
    transition: border-color .18s;
    box-sizing: border-box;
}
.s2-input:focus   { border-color: #c0392b; }
.s2-input.error   { border-color: #dc2626; background: #fff5f5; }
.s2-input:disabled { background: #f9fafb; color: #9ca3af; }
.s2-textarea { resize: vertical; min-height: 80px; }
.s2-err { font-size: 12px; color: #dc2626; }
.s2-char-count { font-size: 12px; color: #9ca3af; text-align: right; margin-top: 4px; }

/* ── Fatura Seçim Radyo Grubu (misafir) ─────────────────── */
.s2-fatura-secim-grup {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: 16px;
}
.s2-fatura-secim-radio {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
    border: 2px solid #e5e7eb;
    border-radius: 10px;
    cursor: pointer;
    font-size: .88rem;
    font-weight: 500;
    color: #374151;
    transition: all .18s;
    user-select: none;
}
.s2-fatura-secim-radio i { font-size: .95rem; color: #9ca3af; }
.s2-fatura-secim-radio.active {
    border-color: #16a34a;
    background: #f0fdf4;
    color: #166534;
}
.s2-fatura-secim-radio.active i { color: #16a34a; }

/* ── Vergi No Info ───────────────────────────────────────── */
.s2-vergi-info {
    font-size: .78rem;
    color: #92400e;
    background: #fffbeb;
    border: 1px solid #fcd34d;
    border-radius: 6px;
    padding: 6px 10px;
    margin: 0 0 6px;
    display: flex;
    align-items: flex-start;
    gap: 6px;
    line-height: 1.5;
}
.s2-vergi-info i { margin-top: 2px; flex-shrink: 0; color: #d97706; }

/* ── Fatura Başlık Info Text ─────────────────────────────── */
.s2-fatura-ayni-info {
    font-size: .78rem;
    font-weight: 500;
    color: #16a34a;
    margin-left: 8px;
    white-space: nowrap;
}
.s2-fatura-ayni-info i { margin-right: 3px; }

/* ── Fatura tipi radio ───────────────────────────────────── */
.s2-fatura-type-row {
    display: flex;
    gap: 10px;
    margin: 14px 0 4px;
}
.s2-type-btn {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 11px 14px;
    border: 2px solid #e5e7eb;
    border-radius: 10px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
    color: #6b7280;
    transition: all .18s;
}
.s2-type-btn input[type=radio] { display: none; }
.s2-type-btn.active { border-color: #c0392b; color: #c0392b; background: #fff5f5; }

/* ── Tamam butonu ────────────────────────────────────────── */
.s2-tamam-row { margin-top: 18px; }
.s2-btn-tamam {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 11px 28px;
    background: #c0392b;
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    transition: background .18s;
    margin-top:15px;
}
.s2-btn-tamam:hover { background: #a93226; }

/* ── Genel bölüm başlığı ─────────────────────────────────── */
.s2-section {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 18px 20px;
    margin-bottom: 14px;
}
.s2-section-title {
    font-size: 15px;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 10px;
}
.s2-section-title small { font-size: 12px; font-weight: 400; color: #9ca3af; }
.s2-num {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: #c0392b;
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

/* ── Bölge seçimi (sehir/koy) ────────────────────────────── */
.s2-bolge-row {
    display: flex;
    gap: 10px;
    margin-bottom: 10px;
    flex-wrap: wrap;
}
.s2-bolge-btn {
    flex: 1;
    min-width: 180px;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
    border: 2px solid #e5e7eb;
    border-radius: 10px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
    color: #6b7280;
    transition: all .18s;
}
.s2-bolge-btn input[type=radio] { display: none; }
.s2-bolge-btn i { font-size: 16px; }
.s2-bolge-btn.active { border-color: #c0392b; color: #c0392b; background: #fff5f5; }
.s2-bolge-hint { font-size: 12px; color: #9ca3af; margin-bottom: 14px; }

/* ── Kargo listesi ───────────────────────────────────────── */
.s2-kargo-list { display: flex; flex-direction: column; gap: 8px; }
.s2-kargo-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 12px 14px;
    border: 2px solid #e5e7eb;
    border-radius: 10px;
    cursor: pointer;
    transition: border-color .18s, background .18s;
}
.s2-kargo-item input[type=radio] { width: 18px; height: 18px; accent-color: #c0392b; flex-shrink: 0; }
.s2-kargo-item.selected { border-color: #c0392b; background: #fff5f5; }
.s2-kargo-logo {
    width: 56px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.s2-kargo-logo img { max-width: 56px; max-height: 40px; object-fit: contain; }
.s2-kargo-logo-placeholder {
    width: 40px;
    height: 40px;
    background: #f3f4f6;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #9ca3af;
    font-size: 18px;
}
.s2-kargo-adi   { font-size: 14px; font-weight: 700; color: #1a1a1a; }
.s2-kargo-unvan { font-size: 12px; color: #6b7280; margin-top: 2px; }
.s2-kargo-empty { font-size: 13px; color: #9ca3af; padding: 12px 0; display: flex; align-items: center; gap: 8px; }

/* ── Özet ürün satırları ─────────────────────────────────── */
.s2-ozet-item {
    display: flex;
    justify-content: space-between;
    /* flex-start → center: 38px görsel eklendikten sonra ad ve fiyat
       görselin üst kenarına yapışık kalıyordu. */
    align-items: center;
    gap: 8px;
    padding: 8px 0;
    border-bottom: 1px solid #f3f4f6;
}

/* Ürün görseli — sabit 38px kare kutu.
   width/height ÖZNİTELİKLERİ de HTML'de veriliyor (38x38): tarayıcı görsel
   inmeden yeri ayırıyor, liste yüklenirken zıplamıyor (CLS). */
.s2-ozet-item-gorsel {
    flex: 0 0 38px;
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #f3f4f6;
    border-radius: 6px;
    background: #fff;
    overflow: hidden;
}
.s2-ozet-item-gorsel img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
}

/* Görsel + ad tek bağlantı: tıklama alanı büyük olsun, kullanıcı ikisinden
   birine de basabilsin. min-width:0 — uzun ürün adı flex kabını şişirip
   fiyatı dışarı itmesin. */
.s2-ozet-item-link {
    display: flex;
    align-items: center;
    gap: 8px;
    flex: 1;
    min-width: 0;
    text-decoration: none;
    color: inherit;
}
.s2-ozet-item-link:hover .s2-ozet-item-ad { color: #c0392b; }

/* Ad + tutar dikey sütun. Tutar eskiden adet rozetinin SAĞINDAYDI; dar kenar
   çubuğunda üç öğe yan yana sığmayınca taşıp görünmez oluyordu. Artık adın
   altında, rozet tek başına sağda. */
.s2-ozet-item-metin {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
    flex: 1;
}
.s2-ozet-item-link:hover .s2-ozet-item-gorsel { border-color: #e5c3bd; }

/* 2 satırdan sonra kes: dar kenar çubuğunda uzun ad satırı şişirmesin */
.s2-ozet-item-ad {
    font-size: 13px;
    color: #374151;
    min-width: 0;
    line-height: 1.35;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: color .12s ease;
}

/* ADET ROZETİ — belirgin kenarlıklı daire.
   border-radius:999px + min-width: tek haneli adette tam daire, iki+ haneli
   adette (x10, x100) kenarlarından genişleyip hap biçimini alıyor; rakam
   asla kırpılmıyor. */
.s2-ozet-item-adet {
    flex: 0 0 auto;
    min-width: 30px;
    height: 30px;
    padding: 0 6px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1.5px solid #c0392b;
    border-radius: 999px;
    background: #fff;
    color: #c0392b;
    font-size: 11.5px;
    font-weight: 700;
    line-height: 1;
    white-space: nowrap;
    font-variant-numeric: tabular-nums;
}

.s2-ozet-item-fiyat {
    font-size: 13px;
    font-weight: 700;
    color: #1a1a1a;
    white-space: nowrap;
}

/* ── Sözleşme onay ───────────────────────────────────────── */
.s2-sozlesme-wrap {
    padding: 12px 0;
    margin-bottom: 12px;
}
.s2-sozlesme-label {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    cursor: pointer;
    font-size: 13px;
    color: #374151;
    line-height: 1.5;
}
.s2-sozlesme-check {
    width: 18px;
    height: 18px;
    accent-color: #c0392b;
    flex-shrink: 0;
    margin-top: 1px;
}
.s2-sozlesme-label a { color: #c0392b; text-decoration: underline; }

/* ── Güven satırı ────────────────────────────────────────── */
.s2-guven-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-top: 12px;
    font-size: 12px;
    color: #9ca3af;
}
.s2-guven-row i { color: #21a047; }

/* ── Sepet İçerik Özeti (s2-guven-row altı) ─────────────── */
.s2-icerik-ozet {
    margin-top: 16px;
    border-top: 1px solid #f3f4f6;
    padding-top: 10px;
    position: relative;
}
.s2-icerik-ozet-baslik {
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .6px;
    color: #9ca3af;
    margin-bottom: 6px;
}
.s2-icerik-ozet-liste {
    /* 144 → 190: satır yüksekliği 38px görselle ~32px'ten ~51px'e çıktı.
       Eski değerde ekranda yalnızca 2.8 satır kalıyordu (önceden 4.5);
       Tutar adın altına alınınca satır ~51px'ten ~62px'e çıktı; 230px ile
       yine ~3.7 satır görünüyor, kenar çubuğu da aşırı uzamıyor.
       Kaydırma ve alttaki solma efekti aynen çalışmaya devam ediyor. */
    max-height: 230px;
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: #e5e7eb transparent;
    position: relative;
}
.s2-icerik-ozet-liste::-webkit-scrollbar { width: 4px; }
.s2-icerik-ozet-liste::-webkit-scrollbar-track { background: transparent; }
.s2-icerik-ozet-liste::-webkit-scrollbar-thumb { background: #e5e7eb; border-radius: 2px; }
.s2-icerik-fade {
    height: 32px;
    margin-top: -32px;
    position: relative;
    pointer-events: none;
    background: linear-gradient(270deg, #fff 0%, rgba(255,255,255,0) 100%);
}

/* ── Hesabıma Kaydet checkbox ────────────────────────────── */
.s2-hesabim-kaydet-row {
    margin: 10px 0 4px;
}
.s2-hesabim-kaydet-label {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    font-size: 12px;
    font-weight: 600;
    color: #374151;
    cursor: pointer;
}
.s2-hesabim-kaydet-label i { color: #c0392b; font-size: 12px; }
.s2-hesabim-kaydet-check {
    width: 15px;
    height: 15px;
    accent-color: #c0392b;
    cursor: pointer;
}

/* ── Section disabled durumu ─────────────────────────────── */
.s2-section-disabled {
    opacity: 0.42;
    pointer-events: none;
    user-select: none;
}
.s2-section-disabled .s2-section-title { color: #9ca3af; }
.s2-section-disabled .s2-num { background: #d1d5db !important; color: #9ca3af !important; }

/* ── Kart Düzenle butonu ─────────────────────────────────── */
.s2-card-edit-btn {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    margin-top: 8px;
    padding: 3px 10px;
    font-size: 11px;
    font-weight: 600;
    color: #6b7280;
    background: #f3f4f6;
    border: 1px solid #e5e7eb;
    border-radius: 5px;
    cursor: pointer;
    transition: background .15s, color .15s;
}
.s2-card-edit-btn:hover { background: #e5e7eb; color: #374151; }
.s2-card-edit-btn i { font-size: 10px; }

/* ── Geri butonu (col-lg-8 başı) ────────────────────────── */
.s2-back-btn-wrap {
    margin-bottom: 14px;
}
.s2-back-btn {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    font-size: 13px;
    font-weight: 600;
    color: #6b7280;
    text-decoration: none;
    padding: 5px 0;
    transition: color .15s;
}
.s2-back-btn:hover { color: #c0392b; text-decoration: none; }
.s2-back-btn i { font-size: 12px; }

/* ── Sözleşme Modal ──────────────────────────────────────── */
.s2-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,.55);
    z-index: 99990;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
}
.s2-modal-box {
    background: #fff;
    border-radius: 14px;
    width: 100%;
    max-width: 780px;
    max-height: 88vh;
    display: flex;
    flex-direction: column;
    box-shadow: 0 24px 60px rgba(0,0,0,.2);
    animation: popupBounceIn .3s cubic-bezier(.175,.885,.32,1.275);
}
.s2-modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    border-bottom: 1px solid #e5e7eb;
    flex-shrink: 0;
}
.s2-modal-tabs { display: flex; gap: 4px; }
.s2-modal-tab {
    padding: 8px 16px;
    border: none;
    background: transparent;
    font-size: 13px;
    font-weight: 600;
    color: #6b7280;
    cursor: pointer;
    border-bottom: 2px solid transparent;
    transition: all .18s;
}
.s2-modal-tab.active { color: #c0392b; border-bottom-color: #c0392b; }
.s2-modal-close {
    width: 32px;
    height: 32px;
    border: none;
    background: #f3f4f6;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #6b7280;
    font-size: 14px;
}
.s2-modal-close:hover { background: #e5e7eb; }
.s2-modal-body {
    flex: 1;
    overflow-y: auto;
    padding: 24px;
    font-size: 13px;
    line-height: 1.7;
    color: #374151;
}
.s2-modal-loading {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 200px;
    color: #9ca3af;
}
.s2-modal-footer {
    padding: 14px 20px;
    border-top: 1px solid #e5e7eb;
    display: flex;
    justify-content: flex-end;
    flex-shrink: 0;
}
.s2-modal-kapat {
    padding: 9px 28px;
    background: #c0392b;
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
}
.s2-modal-kapat:hover { background: #a93226; }

/* ── Giriş / Şifre Sıfırlama Modal ──────────────────────── */
.s2-auth-modal { max-width: 440px; }

.s2-modal-baslik {
    font-size: 15px;
    font-weight: 700;
    color: #1a1a1a;
}

.s2-auth-desc {
    font-size: 13px;
    color: #888;
    margin-bottom: 18px;
    line-height: 1.55;
}

.s2-auth-alert {
    padding: 10px 13px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 14px;
    display: flex;
    align-items: center;
    gap: 8px;
}
.s2-auth-alert-err { background: #fce4ec; color: #c62828; }

.s2-form-label {
    display: block;
    font-size: 11px;
    font-weight: 700;
    color: #1a1a1a;
    letter-spacing: .04em;
    text-transform: uppercase;
    margin-bottom: 6px;
}

.s2-pass-eye {
    position: absolute;
    right: 11px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    cursor: pointer;
    color: #bbb;
    font-size: 13px;
    padding: 0;
    transition: color .2s;
}
.s2-pass-eye:hover { color: #c0392b; }


/* ── Google ile devam et ───────────────────────────────────────────────────
   Butonu Google marka kurallarına göre nötr bırakıyoruz (beyaz zemin, gri
   çerçeve): birincil eylem şifreli giriş olarak kalsın, ikisi yarışmasın. */
.s2-btn-google {
  display:flex; align-items:center; justify-content:center; gap:10px;
  width:100%; margin-top:12px; padding:12px 13px;
  background:#fff; border:1.5px solid #dadce0; border-radius:10px;
  color:#3c4043; font-size:14px; font-weight:600; font-family:inherit;
  text-decoration:none; cursor:pointer;
  transition:background .18s, border-color .18s, box-shadow .18s;
}
.s2-btn-google:hover {
  background:#f7f8f8; border-color:#c9ccd1; color:#3c4043;
  text-decoration:none; box-shadow:0 1px 3px rgba(60,64,67,.14);
}
.s2-btn-google:active { background:#f1f3f4; }
.s2-btn-google:focus-visible { outline:2px solid #4285F4; outline-offset:2px; }
.s2-btn-google svg { flex-shrink:0; }

.s2-google-not { margin:9px 0 0; font-size:11px; line-height:1.6; color:#80868b; text-align:center; }
.s2-google-not a { color:#5f6368; text-decoration:underline; }
.s2-google-not a:hover { color:#3c4043; }

/* VEYA ayırıcısı */
.s2-auth-ayirici { display:flex; align-items:center; gap:12px; margin:18px 0 4px;
  color:#9aa0a6; font-size:11.5px; font-weight:600; letter-spacing:.08em; }
.s2-auth-ayirici::before, .s2-auth-ayirici::after {
  content:""; flex:1; height:1px; background:#e5e7eb;
}

.s2-auth-alt {
    text-align: center;
    margin-top: 12px;
}
.s2-auth-link {
    background: none;
    border: none;
    color: #c0392b;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    padding: 0;
    font-family: inherit;
    text-decoration: underline;
    text-underline-offset: 2px;
}
.s2-auth-link:hover { color: #922b21; }

/* Şifremi unuttum adım göstergesi */
.s2-suf-steps {
    display: flex;
    align-items: center;
    gap: 0;
    margin-bottom: 22px;
}
.s2-suf-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    flex: 1;
    position: relative;
}
.s2-suf-step:not(:last-child)::after {
    content: '';
    position: absolute;
    top: 13px;
    left: calc(50% + 14px);
    right: calc(-50% + 14px);
    height: 2px;
    background: #eee;
    z-index: 0;
    transition: background .4s;
}
.s2-suf-step.done:not(:last-child)::after { background: #27ae60; }
.s2-suf-dot {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: #eee;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: 700;
    color: #bbb;
    position: relative;
    z-index: 1;
    transition: all .3s;
}
.s2-suf-step.active .s2-suf-dot { background: #c0392b; color: #fff; box-shadow: 0 0 0 4px rgba(192,57,43,.15); }
.s2-suf-step.done .s2-suf-dot { background: #27ae60; color: #fff; }
.s2-suf-lbl {
    font-size: 10px;
    font-weight: 600;
    color: #bbb;
    text-transform: uppercase;
    letter-spacing: .05em;
    transition: color .3s;
}
.s2-suf-step.active .s2-suf-lbl { color: #c0392b; }
.s2-suf-step.done .s2-suf-lbl { color: #27ae60; }

/* OTP kutuları */
.s2-suf-otp-wrap {
    display: flex;
    gap: 8px;
    justify-content: center;
    margin-bottom: 4px;
}
.s2-suf-otp-inp {
    width: 42px;
    height: 50px;
    border: 1.5px solid #e8e8e8;
    border-radius: 10px;
    font-size: 20px;
    font-weight: 700;
    color: #1a1a1a;
    text-align: center;
    background: #fafafa;
    outline: none;
    font-family: inherit;
    transition: all .2s;
    -moz-appearance: textfield;
}
.s2-suf-otp-inp::-webkit-outer-spin-button,
.s2-suf-otp-inp::-webkit-inner-spin-button { -webkit-appearance: none; appearance: none; margin: 0; }
.s2-suf-otp-inp:focus { border-color: #e74c3c; background: #fff; box-shadow: 0 0 0 3px rgba(231,76,60,.1); }
.s2-suf-otp-inp.ok { border-color: #27ae60; }

.s2-suf-resend {
    text-align: center;
    font-size: 12px;
    color: #aaa;
    margin-top: 10px;
}
.s2-suf-resend button {
    background: none;
    border: none;
    color: #c0392b;
    font-weight: 700;
    font-size: 12px;
    cursor: pointer;
    padding: 0;
    font-family: inherit;
}
.s2-suf-resend button:disabled { color: #ccc; cursor: default; }
.s2-suf-timer { color: #c0392b; font-weight: 700; }

/* Geri butonu */
.s2-suf-back {
    display: flex;
    align-items: center;
    gap: 5px;
    background: none;
    border: none;
    color: #aaa;
    font-size: 12.5px;
    font-weight: 600;
    cursor: pointer;
    padding: 0;
    font-family: inherit;
    margin-bottom: 16px;
    transition: color .15s;
}
.s2-suf-back:hover { color: #c0392b; }

/* Yöntem seçim */
.s2-suf-yontem-btns { display: flex; flex-direction: column; gap: 10px; margin-bottom: 16px; }
.s2-suf-yontem-btn {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 16px;
    border: 2px solid #eee;
    border-radius: 12px;
    background: #fff;
    cursor: pointer;
    font-family: inherit;
    text-align: left;
    transition: all .2s;
    width: 100%;
}
.s2-suf-yontem-btn:hover { border-color: #c0392b; background: #fff5f5; }
.s2-suf-yontem-title { font-size: 14px; font-weight: 700; color: #1a1a1a; }
.s2-suf-yontem-sub { font-size: 12px; color: #999; }

/* Başarı ekranı */
.s2-suf-success-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, #27ae60, #2ecc71);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 14px;
    font-size: 26px;
    color: #fff;
    animation: sufPop .4s cubic-bezier(.175,.885,.32,1.275) both;
}
@keyframes sufPop { from { transform: scale(0); opacity: 0; } to { transform: scale(1); opacity: 1; } }
.s2-suf-success-title { font-size: 18px; font-weight: 800; color: #1a1a1a; margin-bottom: 6px; }
.s2-suf-success-desc { font-size: 13px; color: #999; line-height: 1.6; margin-bottom: 20px; }

/* Kayıtlı e-posta hata bloğu */
.s2-err-link-btn {
    background: none;
    border: none;
    color: #c0392b;
    font-size: inherit;
    font-family: inherit;
    cursor: pointer;
    padding: 0;
    text-decoration: underline;
    text-underline-offset: 2px;
}
.s2-err-link-btn:hover { color: #922b21; }

/* ── Kayıtlı e-posta hata bloğu ──────────────────────────── */
.s2-err-kayitli {
    margin-top: 4px;
    font-size: 13px;
    color: #c0392b;
    line-height: 1.5;
}
.s2-err-links {
    margin-top: 3px;
    color: #555;
    font-size: 12.5px;
}
.s2-err-links a {
    color: #c0392b;
    text-decoration: underline;
}
.s2-err-links a:hover { color: #922b21; }

/* ── Input vurgulama (misafir fatura ön-doldurma) ────────── */
@keyframes s2HighlightPulse {
    0%   { box-shadow: 0 0 0 0 rgba(230, 82, 0, 0.55); border-color: #e65200; }
    50%  { box-shadow: 0 0 0 6px rgba(230, 82, 0, 0); border-color: #e65200; }
    100% { box-shadow: 0 0 0 0 rgba(230, 82, 0, 0); border-color: #e65200; }
}
.s2-input-highlight {
    border-color: #e65200 !important;
    animation: s2HighlightPulse 1.4s ease 0.2s 2;
}

/* ── Responsive ──────────────────────────────────────────── */
@media (max-width: 576px) {
    .s2-form-row { grid-template-columns: 1fr; }
    .s2-addr-grid { grid-template-columns: 1fr; }
    .s2-bolge-row { flex-direction: column; }
    .s2-fatura-type-row { flex-direction: column; }
    .s2-guest-btns { flex-direction: column; }
    .s2-modal-box { max-height: 95vh; border-radius: 10px; }
}


/* ════════════════════════════════════════════════════════════
   STEP 3 — ÖDEME SEÇİMİ
   ════════════════════════════════════════════════════════════ */

.s3-section-title {
    font-size: 1.05rem;
    font-weight: 700;
    color: #1e2a3a;
    margin-bottom: 14px;
}

/* ── Ödeme Kartları ─────────────────────────────────────── */
.s3-payment-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 20px;
}

.s3-payment-card {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 16px;
    border: 2px solid #e4e9f0;
    border-radius: 12px;
    cursor: pointer;
    background: #fff;
    transition: border-color .18s, box-shadow .18s;
    user-select: none;
}

.s3-payment-card:hover {
    border-color: #b3bfff;
    box-shadow: 0 2px 10px rgba(67,97,238,.08);
}

.s3-payment-card.selected {
    border-color: #4361ee;
    background: #f5f7ff;
    box-shadow: 0 2px 12px rgba(67,97,238,.12);
}

.s3-payment-radio { flex-shrink: 0; }

.s3-radio-dot {
    display: inline-block;
    width: 18px;
    height: 18px;
    border: 2px solid #d1d5db;
    border-radius: 50%;
    position: relative;
    transition: border-color .18s;
}

.s3-radio-dot.active {
    border-color: #4361ee;
}

.s3-radio-dot.active::after {
    content: '';
    position: absolute;
    inset: 3px;
    background: #4361ee;
    border-radius: 50%;
}

.s3-payment-logo {
    width: 52px;
    height: 36px;
    border: 1px solid #e4e9f0;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fafafa;
    flex-shrink: 0;
    overflow: hidden;
}

.s3-payment-logo img {
    max-width: 48px;
    max-height: 32px;
    object-fit: contain;
}

.s3-payment-logo i {
    font-size: 18px;
    color: #9ca3af;
}

.s3-payment-info { flex: 1; min-width: 0; }

.s3-payment-adi {
    font-weight: 600;
    font-size: .95rem;
    color: #1e2a3a;
}

.s3-payment-aciklama {
    font-size: .8rem;
    color: #6b7280;
    margin-top: 2px;
}

.s3-payment-fee {
    font-size: .78rem;
    font-weight: 600;
    margin-top: 4px;
    display: flex;
    align-items: center;
    gap: 5px;
}

.s3-payment-fee.warn { color: #d97706; }
.s3-payment-fee.ok   { color: #16a34a; }
.s3-fee-tl { font-weight: 700; margin-left: 2px; }

.s3-payment-check {
    color: #4361ee;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.s3-empty-box {
    text-align: center;
    padding: 40px 20px;
    color: #9ca3af;
    font-size: .9rem;
}

.s3-empty-box i { font-size: 2rem; margin-bottom: 10px; display: block; opacity: .3; }

/* ── Sözleşme Onay Kutuları (Step 2 sağ kolon) ────────── */
.s2-sozlesme-onay-wrap {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    padding: 14px 16px;
    margin-bottom: 16px;
}

.s2-sozlesme-onay-label {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: .83rem;
    color: #374151;
    cursor: pointer;
    line-height: 1.5;
}

.s2-sozlesme-onay-label.s2-sozlesme-onay-err { color: #dc2626; }

.s2-sozlesme-check {
    margin-top: 2px;
    flex-shrink: 0;
    width: 15px;
    height: 15px;
    accent-color: #e63946;
    cursor: pointer;
}

.s2-sozlesme-link {
    color: #2563eb;
    text-decoration: underline;
    font-weight: 600;
}
.s2-sozlesme-link:hover { color: #1d4ed8; }

/* ── Sipariş Özeti Collapse (Step 3) ────────────────────── */
.s3-ozet-collapse {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 1px 4px rgba(0,0,0,.06);
}

.s3-ozet-collapse-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 18px;
    cursor: pointer;
    user-select: none;
    gap: 10px;
    transition: background .15s;
}

.s3-ozet-collapse-header:hover {
    background: #f8fafc;
}

.s3-ozet-collapse-title {
    font-size: .95rem;
    font-weight: 700;
    color: #1e2a3a;
    white-space: nowrap;
}

.s3-ozet-collapse-right {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
    flex: 1;
    justify-content: flex-end;
}

.s3-ozet-toplam-inline {
    font-size: .85rem;
    color: #475569;
    white-space: nowrap;
}

.s3-ozet-toplam-inline strong {
    color: #1e2a3a;
    font-size: .95rem;
}

.s3-guven-inline {
    margin: 0;
    font-size: .75rem;
    gap: 8px;
}

.s3-ozet-chevron {
    color: #94a3b8;
    font-size: .8rem;
    flex-shrink: 0;
    transition: transform .2s;
}

.s3-ozet-collapse-body {
    padding: 0 18px 14px;
    border-top: 1px solid #f1f5f9;
}

/* ── Ödeme Modül Alanı (Step 3) ─────────────────────────── */
.s3-modul-alani {
    min-height: 60px;
   /* position: sticky;*/
    top: 90px;
}

.s3-modul-placeholder {
    background: #f8fafc;
    border: 2px dashed #e2e8f0;
    border-radius: 12px;
    padding: 24px 20px;
    text-align: center;
    color: #94a3b8;
    font-size: .9rem;
}

.s3-modul-loading {
    padding: 20px;
    color: #64748b;
    font-size: .9rem;
}

/* ── Havale Modül Kartları (havaleGetHtml çıktısı) ────────── */
.s3-havale-modul {
    background: #f0f7ff;
    border: 1px solid #bfdbfe;
    border-radius: 12px;
    padding: 20px;
}

.s3-havale-bankalar {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 16px;
}

.s3-havale-banka-kart {
    background: #fff;
    border: 1px solid #dbeafe;
    border-radius: 10px;
    padding: 14px 16px;
}

.s3-havale-banka-adi {
    font-weight: 700;
    font-size: .95rem;
    color: #1e3a5f;
    margin-bottom: 4px;
}

.s3-havale-sube, .s3-havale-hesap-ad {
    font-size: .82rem;
    color: #64748b;
    margin-bottom: 6px;
}

.s3-havale-iban-row {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.s3-havale-iban-val {
    font-family: monospace;
    font-size: .88rem;
    color: #1e3a5f;
    font-weight: 600;
    letter-spacing: .04em;
}

.s3-havale-copy-btn {
    background: #eff6ff;
    border: 1px solid #bfdbfe;
    color: #2563eb;
    border-radius: 6px;
    padding: 4px 10px;
    font-size: .78rem;
    font-weight: 600;
    cursor: pointer;
    transition: background .15s;
}
.s3-havale-copy-btn:hover { background: #dbeafe; }

.s3-havale-aciklama-row {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    background: #fefce8;
    border: 1px solid #fde68a;
    border-radius: 8px;
    padding: 10px 14px;
    margin-top: 4px;
}

.s3-havale-aciklama-label {
    font-size: .82rem;
    font-weight: 700;
    color: #92400e;
    white-space: nowrap;
}

.s3-havale-aciklama-val {
    font-size: .85rem;
    color: #78350f;
    font-weight: 600;
}

.s3-havale-tamam-btn {
    margin-top: 18px;
    width: 100%;
}

/* ── Havale Paneli (eski — geriye uyumluluk) ────────────── */
.s3-havale-panel {
    background: #f0f7ff;
    border: 1px solid #bfdbfe;
    border-radius: 12px;
    padding: 18px 20px;
    margin-bottom: 20px;
}

.s3-havale-title {
    font-weight: 700;
    font-size: .95rem;
    color: #1e3a5f;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.s3-havale-desc {
    font-size: .83rem;
    color: #374151;
    margin-bottom: 14px;
    line-height: 1.6;
}

/* ── Havale 3. adım: IBAN gizli sürüm ─────────────────────
   IBAN ve açıklama kodu artık 4. adımda (sipariş kesinleşince)
   gösteriliyor; burada yalnızca tutar, banka adları ve uyarı var.
   Gerekçe: payment_modul_HAVALE.php içindeki nota bakınız. */
.s3-havale-tutar-kutu {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
    background: #fff;
    border: 1px solid #dbeafe;
    border-radius: 10px;
    padding: 12px 16px;
    margin-bottom: 14px;
}

.s3-havale-tutar-label {
    font-size: .8125rem;
    color: #64748b;
    font-weight: 600;
}

.s3-havale-tutar-val {
    font-size: 1.25rem;
    font-weight: 800;
    color: #1e3a5f;
    letter-spacing: -.01em;
}

.s3-havale-banka-adlar {
    margin-bottom: 14px;
}

.s3-havale-banka-adlar-baslik {
    font-size: .78rem;
    font-weight: 700;
    color: #475569;
    text-transform: uppercase;
    letter-spacing: .04em;
    margin-bottom: 7px;
}

.s3-havale-banka-liste {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
}

.s3-havale-banka-liste li {
    display: flex;
    align-items: center;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 7px 12px;
    font-size: .82rem;
    color: #334155;
    font-weight: 600;
}

.s3-havale-banka-liste li i { color: #64748b; }

.s3-havale-uyari,
.s3-havale-bilgi {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    border-radius: 10px;
    padding: 12px 14px;
    font-size: .82rem;
    line-height: 1.55;
    margin-bottom: 10px;
}

.s3-havale-uyari {
    background: #fffbeb;
    border: 1px solid #fde68a;
    color: #92400e;
}

.s3-havale-uyari i { color: #d97706; margin-top: 2px; font-size: .95rem; }

.s3-havale-bilgi {
    background: #f0fdf4;
    border: 1px solid #bbf7d0;
    color: #166534;
}

.s3-havale-bilgi i { color: #16a34a; margin-top: 2px; font-size: .95rem; }

@media (max-width: 575px) {
    .s3-havale-tutar-kutu { flex-direction: column; gap: 2px; align-items: flex-start; }
    .s3-havale-banka-liste li { font-size: .78rem; padding: 6px 10px; }
}

.s3-banka-listesi {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.s3-banka-kart {
    background: #fff;
    border: 1px solid #dbeafe;
    border-radius: 10px;
    padding: 14px 16px;
}

.s3-banka-adi {
    font-weight: 700;
    font-size: .92rem;
    color: #1e2a3a;
    margin-bottom: 8px;
}

.s3-banka-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: .83rem;
    color: #374151;
    padding: 3px 0;
    border-bottom: 1px solid #f1f5f9;
    gap: 8px;
}

.s3-banka-row:last-child { border-bottom: none; }

.s3-banka-label {
    color: #6b7280;
    font-weight: 500;
    flex-shrink: 0;
    min-width: 80px;
}

.s3-iban {
    font-family: monospace;
    font-size: .82rem;
    display: flex;
    align-items: center;
    gap: 6px;
    word-break: break-all;
}

.s3-copy-btn {
    background: none;
    border: 1px solid #d1d5db;
    border-radius: 5px;
    padding: 2px 6px;
    cursor: pointer;
    color: #6b7280;
    font-size: .75rem;
    flex-shrink: 0;
    transition: background .15s, color .15s;
}

.s3-copy-btn:hover { background: #eef1ff; color: #4361ee; border-color: #4361ee; }

/* ── Sözleşme Checkboxları ──────────────────────────────── */
.s3-sozlesme-wrap {
    background: #f9fafb;
    border: 1px solid #e4e9f0;
    border-radius: 10px;
    padding: 16px 18px;
    margin-top: 4px;
}

.s3-check-label {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: .85rem;
    color: #374151;
    cursor: pointer;
    line-height: 1.5;
}

.s3-check-label.error { color: #dc2626; }

.s3-checkbox {
    margin-top: 2px;
    width: 16px;
    height: 16px;
    flex-shrink: 0;
    cursor: pointer;
    accent-color: #4361ee;
}

.s3-sozlesme-link {
    color: #4361ee;
    font-weight: 600;
    text-decoration: underline;
}

/* ── Sözleşme Modal ─────────────────────────────────────── */
.s3-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,.45);
    z-index: 9999;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding: 40px 16px;
    overflow-y: auto;
}

.s3-modal-box {
    background: #fff;
    border-radius: 14px;
    width: 100%;
    max-width: 760px;
    max-height: 82vh;
    display: flex;
    flex-direction: column;
    box-shadow: 0 20px 60px rgba(0,0,0,.2);
}

.s3-modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 22px;
    border-bottom: 1px solid #e4e9f0;
    font-weight: 700;
    font-size: .95rem;
    flex-shrink: 0;
}

.s3-modal-close {
    background: none;
    border: none;
    cursor: pointer;
    font-size: 1.1rem;
    color: #9ca3af;
    padding: 4px 8px;
    border-radius: 6px;
    transition: background .15s;
}

.s3-modal-close:hover { background: #f3f4f6; color: #374151; }

.s3-modal-body {
    padding: 20px 22px;
    overflow-y: auto;
    font-size: .85rem;
    line-height: 1.7;
    color: #374151;
}


/* ════════════════════════════════════════════════════════════
   STEP 4 — FİNİSH (ALIŞVERIŞ SONU)
   ════════════════════════════════════════════════════════════ */

.s4-wrap {
    max-width: 640px;
    margin: 0 auto;
    padding: 48px 20px 60px;
    text-align: center;
}

.s4-success-icon {
    font-size: 4rem;
    color: #16a34a;
    margin-bottom: 16px;
}

.s4-title {
    font-size: 1.6rem;
    font-weight: 800;
    color: #1e2a3a;
    margin-bottom: 8px;
}

.s4-sub {
    color: #6b7280;
    font-size: .95rem;
    margin-bottom: 20px;
}

.s4-order-no {
    display: inline-block;
    background: #f0f7ff;
    border: 1px solid #bfdbfe;
    border-radius: 8px;
    padding: 8px 20px;
    font-size: .9rem;
    color: #1e3a5f;
    margin-bottom: 6px;
}

.s4-total {
    font-size: 1rem;
    color: #374151;
    margin-bottom: 28px;
}

/* ── Havale Kutusu ──────────────────────────────────────── */
.s4-havale-box {
    background: #f0f7ff;
    border: 1px solid #bfdbfe;
    border-radius: 14px;
    padding: 20px 24px;
    margin-bottom: 28px;
    text-align: left;
}

.s4-havale-title {
    font-weight: 700;
    font-size: 1rem;
    color: #1e3a5f;
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
}

.s4-havale-desc {
    font-size: .83rem;
    color: #374151;
    line-height: 1.6;
    margin-bottom: 16px;
}

/* 4. adım: açıklama kodu vurgusu. Bu ekran artık ödeme bilgisinin TEK
   kaynağı olduğu için sipariş no uyarısı burada belirgin duruyor. */
.s4-havale-not {
    display: flex;
    align-items: flex-start;
    gap: 9px;
    background: #fffbeb;
    border: 1px solid #fde68a;
    border-radius: 9px;
    padding: 11px 13px;
    font-size: .8rem;
    line-height: 1.55;
    color: #92400e;
    margin-bottom: 16px;
}

.s4-havale-not i { color: #d97706; margin-top: 2px; }

.s4-banka-kart {
    background: #fff;
    border: 1px solid #dbeafe;
    border-radius: 10px;
    padding: 14px 16px;
    margin-bottom: 10px;
}

.s4-banka-adi {
    font-weight: 700;
    font-size: .9rem;
    color: #1e2a3a;
    margin-bottom: 8px;
}

.s4-banka-row {
    display: flex;
    justify-content: space-between;
    font-size: .82rem;
    color: #374151;
    padding: 3px 0;
    border-bottom: 1px solid #f1f5f9;
    gap: 8px;
}

.s4-banka-row:last-child { border-bottom: none; }
.s4-banka-row span:first-child { color: #6b7280; font-weight: 500; flex-shrink: 0; min-width: 80px; }

.s4-iban {
    font-family: monospace;
    font-size: .8rem;
    word-break: break-all;
}

.s4-iban-wrap {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
}

.s4-aciklama-row .s4-aciklama-val {
    font-size: .82rem;
    color: #1e2a3a;
    font-weight: 600;
}

.s4-copy-btn {
    background: none;
    border: 1px solid #cbd5e1;
    border-radius: 5px;
    padding: 2px 7px;
    cursor: pointer;
    color: #6b7280;
    font-size: .75rem;
    line-height: 1.4;
    transition: background .15s, color .15s;
    flex-shrink: 0;
}
.s4-copy-btn:hover { background: #f1f5f9; color: #2563eb; border-color: #93c5fd; }
.s4-copy-btn i.fa-check { color: #16a34a; }

/* ── Kum saati (Havale) ─────────────────────────────────── */
.s4-hourglass-icon {
    color: #d97706 !important;
    animation: s4-pulse 1.6s ease-in-out infinite;
}
@keyframes s4-pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50%       { opacity: .75; transform: scale(.95); }
}

.s4-havale-bekle {
    color: #92400e !important;
    background: #fef3c7;
    border: 1px solid #fcd34d;
    border-radius: 8px;
    padding: 8px 16px;
    display: inline-block;
    font-weight: 600;
}

/* ── Misafir bilgi satırı ───────────────────────────────── */
.s4-misafir-info {
    font-size: .88rem;
    color: #374151;
    background: #f0f7ff;
    border: 1px solid #bfdbfe;
    border-radius: 8px;
    padding: 8px 16px;
    margin-bottom: 4px;
    display: inline-block;
}

/* ── Butonlar ───────────────────────────────────────────── */
.s4-actions {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
}

.s4-btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #e53935;
    color: #fff;
    font-weight: 700;
    font-size: .9rem;
    padding: 12px 24px;
    border-radius: 10px;
    text-decoration: none;
    transition: background .18s;
}

.s4-btn-primary:hover { background: #c62828; color: #fff; }

.s4-btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #fff;
    color: #374151;
    font-weight: 600;
    font-size: .9rem;
    padding: 12px 24px;
    border-radius: 10px;
    border: 1.5px solid #e4e9f0;
    text-decoration: none;
    transition: background .18s, border-color .18s;
}

.s4-btn-secondary:hover { background: #f9fafb; border-color: #d1d5db; color: #1e2a3a; }

/* ── KuveytTürk Kart Formu ──────────────────────────────── */
.kt-kart-form-wrap {
    padding: 8px 0 4px;
}
.kt-kart-form-title {
    font-size: 1.05rem;
    font-weight: 700;
    color: #1e2a3a;
    margin-bottom: 8px;
}
.kt-kart-form-desc {
    font-size: .875rem;
    color: #475569;
    margin-bottom: 18px;
}
.kt-input-group {
    margin-bottom: 14px;
}
.kt-label {
    display: block;
    font-size: .8rem;
    font-weight: 600;
    color: #64748b;
    margin-bottom: 5px;
    text-transform: uppercase;
    letter-spacing: .03em;
}
.kt-cvv-hint {
    font-weight: 400;
    text-transform: none;
    letter-spacing: 0;
    color: #94a3b8;
}
.kt-input {
    width: 100%;
    padding: 11px 14px;
    border: 1.5px solid #e2e8f0;
    border-radius: 8px;
    font-size: .95rem;
    color: #1e2a3a;
    background: #f8fafc;
    outline: none;
    transition: border-color .18s, box-shadow .18s;
    box-sizing: border-box;
}
.kt-input:focus {
    border-color: #2563eb;
    background: #fff;
    box-shadow: 0 0 0 3px rgba(37,99,235,.1);
}
.kt-card-number-wrap {
    position: relative;
}
.kt-card-icon-detect {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: #94a3b8;
    font-size: 1.1rem;
    pointer-events: none;
}
.kt-card-number-input {
    padding-right: 42px;
    letter-spacing: .08em;
}
.kt-row {
    display: flex;
    gap: 12px;
}
.kt-col {
    flex: 1;
    min-width: 0;
}
.kt-secure-note {
    font-size: .78rem;
    color: #64748b;
    margin: 14px 0 16px;
    display: flex;
    align-items: center;
    gap: 4px;
}
.kt-secure-note i { color: #16a34a; }

/* Hata mesajı (step3 global .kt-hata-bant) */
.kt-hata-bant {
    background: #fef2f2;
    border: 1px solid #fecaca;
    border-radius: 8px;
    padding: 10px 14px;
    color: #dc2626;
    font-size: .875rem;
    margin-bottom: 14px;
    display: flex;
    align-items: center;
    gap: 8px;
}

/* ── Stoku tükenen sepet kalemi ──────────────────────────
   Ödeme denemesinde stok yetmediği anlaşılan ürün. Toplama
   katılmaz, seçilemez; sepete bir sonraki dönüşte listeden
   tamamen çıkar. */
.sepet-item-tukendi {
    border-color: #fecaca;
    background: #fffbfb;
}

.sepet-tukendi-bant {
    background: #fef2f2;
    border: 1px solid #fecaca;
    border-radius: 6px;
    padding: 7px 11px;
    color: #b91c1c;
    font-size: .8125rem;
    line-height: 1.45;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 7px;
}

.sepet-tukendi-rozet {
    display: inline-block;
    margin-left: 8px;
    padding: 2px 8px;
    border-radius: 4px;
    background: #dc2626;
    color: #fff;
    font-size: .6875rem;
    font-weight: 700;
    letter-spacing: .03em;
    vertical-align: middle;
}

/* ── Responsive ─────────────────────────────────────────── */
@media (max-width: 575px) {
    .s3-payment-card { padding: 12px; gap: 10px; }
    .s3-payment-logo { width: 40px; height: 30px; }
    .s3-banka-row { flex-direction: column; align-items: flex-start; gap: 2px; }
    .s3-banka-label { min-width: unset; }
    .s4-wrap { padding: 32px 12px 48px; }
    .s4-title { font-size: 1.3rem; }
    .s4-banka-row { flex-direction: column; align-items: flex-start; }
    .s4-actions { flex-direction: column; }
    .s4-btn-primary, .s4-btn-secondary { width: 100%; justify-content: center; }
    .kt-row { flex-direction: column; gap: 0; }
}

/* ── Ödeme destek bandı (2026-09-11) ──────────────────────────────────────
   "Ödeme Yöntemi Seçin" başlığının üstünde. HTML sepet.php içinde
   $_odemeDestekBandi olarak üretiliyor. Stil BURADA çünkü bant #satinal-app
   Vue kökünün içinde ve Vue 2 in-DOM şablonundaki <style> etiketini siliyor.
   Sarı zemin uyarı değil DESTEK tonu: müşteriyi korkutmadan, sorun olursa
   kime ulaşacağını ödemeden ÖNCE gösterir. */
.odeme-destek-bant {
    margin-top: 18px;
    padding: 12px 14px;
    background: #fffbeb;
    border: 1px solid #fcd34d;
    border-radius: 10px;
    color: #78350f;
}
.odb-baslik {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    font-size: .875rem;
    font-weight: 600;
    line-height: 1.45;
}
.odb-baslik i {
    color: #d97706;
    font-size: 1rem;
    margin-top: 1px;
    flex-shrink: 0;
}
.odb-liste {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
    gap: 8px;
    margin-top: 10px;
}
.odb-oge {
    display: flex;
    align-items: center;
    gap: 10px;
    min-height: 44px;              /* dokunmatik hedef alt sınırı */
    padding: 7px 12px;
    background: #fff;
    border: 1px solid #fde68a;
    border-radius: 8px;
    color: #1e2a3a;
    text-decoration: none;
    transition: border-color .15s, box-shadow .15s;
}
.odb-oge:hover {
    border-color: #f59e0b;
    box-shadow: 0 1px 4px rgba(217, 119, 6, .15);
    color: #1e2a3a;
    text-decoration: none;
}
.odb-oge:focus-visible {
    outline: 2px solid #d97706;
    outline-offset: 2px;
}
.odb-oge i {
    width: 18px;
    text-align: center;
    font-size: 1.05rem;
    color: #b45309;
    flex-shrink: 0;
}
/* Marka ikonu farklı yazı ailesinde; tema bir yerde i{font-family} ezerse
   WhatsApp ikonu boş kare olmasın diye aile açıkça veriliyor. */
.odb-wa i {
    font-family: "Font Awesome 6 Brands";
    font-weight: 400;
    color: #16a34a;
}
.odb-acil i { color: #dc2626; }
.odb-metin {
    display: flex;
    flex-direction: column;
    line-height: 1.25;
    min-width: 0;
}
.odb-etiket {
    font-size: .72rem;
    color: #92400e;
    letter-spacing: .01em;
}
.odb-no {
    font-size: .92rem;
    font-weight: 700;
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
}
@media (max-width: 575px) {
    .odb-liste { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
    .odb-oge { transition: none; }
}

/* ═══════════════════════════════════════════════════════════════════════
   PAYNET POPUP BUTONU  (16.09.2026)
   ───────────────────────────────────────────────────────────────────────
   Bu butonu BİZ basmıyoruz: paynet.min.js çalışınca forma kendisi ekliyor
       <button type="button" class="paynetj-button"><span>ETİKET</span></button>
   Paynet kendi stilini getirmediği için buton çıplak görünüyordu (ince
   çerçeveli, sıradan). Stil JS ile DEĞİL, CSS ile veriliyor: buton DOM'a
   girdiği anda kural uygulanır, "önce çirkin görünüp sonra düzelme" ve
   zamanlama yarışı olmaz.

   Görünüm, sitedeki diğer ödeme butonuyla (.kf-submit-btn, kart_formu.css)
   BİREBİR aynı tutuldu — müşteri hangi yöntemi seçerse seçsin aynı butonu
   görsün.
   ═══════════════════════════════════════════════════════════════════════ */

.paynetj-button {
    width: 100%;
    padding: 14px;
    background: linear-gradient(135deg, #dc2626 0%, #b91c1c 100%);
    color: #fff;
    border: none;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 700;
    line-height: 1.2;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: opacity .2s, transform .1s;
    box-shadow: 0 4px 14px rgba(220, 38, 38, .35);
    letter-spacing: .02em;
    font-family: inherit;
    -webkit-appearance: none;
    appearance: none;
}

/* Kilit simgesi. Paynet butonun içine yalnızca <span>ETİKET</span> koyuyor;
   simgeyi biz ekliyoruz. Font Awesome 6.5.2 sayfada zaten yüklü. */
.paynetj-button::before {
    content: "\f023";                      /* fa-lock */
    font-family: "Font Awesome 6 Free", "Font Awesome 5 Free";
    font-weight: 900;
    font-size: .95em;
    line-height: 1;
}

.paynetj-button > span {
    display: inline-block;
}

.paynetj-button:hover  { opacity: .92; }
.paynetj-button:active { transform: scale(.98); }

.paynetj-button:focus-visible {
    outline: 3px solid rgba(220, 38, 38, .45);
    outline-offset: 2px;
}

/* ⚠ EMNİYET SUBABI: JS tarafında çift buton temizliği yapılıyor
   (app_sepet_step3.js). Yine de herhangi bir sebeple ikinci bir buton
   oluşursa müşteri üst üste iki buton görmesin — ilki yeterli. */
.paynetj-button ~ .paynetj-button {
    display: none;
}

/* ═══════════════════════════════════════════════════════════════════════
   PAYNET POPUP — BUTON GELENE KADAR BEKLEME GÖSTERGESİ   (16.09.2026)
   ───────────────────────────────────────────────────────────────────────
   paynet.min.js dış sunucudan (pj.paynet.com.tr) indiriliyor ve butonu
   ANCAK indikten sonra basıyor. O aralıkta form boş görünüyordu.

   Yüksekliği .paynetj-button ile AYNI (48px): buton gelince yer tutucu
   kaybolur ama sayfa zıplamaz.
   ═══════════════════════════════════════════════════════════════════════ */

.pn-bekle {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    min-height: 48px;
    padding: 12px 14px;
    box-sizing: border-box;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    background: #f8fafc;
    color: #475569;
    font-size: .9rem;
    font-weight: 600;
    line-height: 1.35;
    text-align: center;
}

.pn-bekle-spin {
    flex-shrink: 0;
    width: 18px;
    height: 18px;
    border: 2px solid #cbd5e1;
    border-top-color: #dc2626;
    border-radius: 50%;
    animation: pn-bekle-don .7s linear infinite;
}

@keyframes pn-bekle-don {
    to { transform: rotate(360deg); }
}

/* Hareket hassasiyeti olan kullanıcı dönen halkadan rahatsız olmasın;
   tamamen durdurmuyoruz, "çalışıyor" bilgisi kaybolmasın diye yavaşlatıyoruz. */
@media (prefers-reduced-motion: reduce) {
    .pn-bekle-spin { animation-duration: 2.4s; }
}

/* Betik hiç gelmediyse: aynı kutu kırmızıya döner, spinner gizlenir. */
.pn-bekle-hata {
    border-color: #fecaca;
    background: #fef2f2;
    color: #b91c1c;
}

/* Ödeme penceresi tamamlanmadan kapandığında gösterilen açıklama.
   parametre3=0 iken Paynet hata ekranını KENDİ penceresinde göstermiyor;
   müşteri sebepsiz kalmasın diye açıklamayı biz veriyoruz. */
.pn-uyari {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    margin-bottom: 14px;
    padding: 10px 14px;
    border: 1px solid #fecaca;
    border-radius: 8px;
    background: #fef2f2;
    color: #b91c1c;
    font-size: .82rem;
    line-height: 1.45;
}

.pn-uyari i { flex-shrink: 0; margin-top: 2px; }

/* ── VADE FARKSIZ TAKSİT BANDI ───────────────────────────────────────────
   checkout-steps barının altında, sepet başlığının üstünde. Eşik ve taksit
   sayısı Taksit Seçenekleri ayarlarından türetilir (sabit yazılmaz). */
.taksit-bant {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin: 0 0 12px;
    padding: 11px 14px;
    border: 1px solid #fcd34d;
    border-left: 4px solid #f59e0b;
    border-radius: 9px;
    background: #fffbeb;
    color: #78350f;
    font-size: .86rem;
    line-height: 1.5;
}
.taksit-bant i {
    flex-shrink: 0;
    margin-top: 2px;
    font-size: .95rem;
    color: #d97706;
}
.taksit-bant b { font-weight: 700; }
.taksit-bant-alt {
    display: block;
    margin-top: 3px;
    font-size: .78rem;
    opacity: .8;
}
/* Eşik aşıldığında aynı bant yeşile döner: müşteri "kazandım" bilgisini de
   görsün, sarı uyarı olarak kalmasın. */
.taksit-bant-uygun {
    border-color: #a7f3d0;
    border-left-color: #10b981;
    background: #ecfdf5;
    color: #065f46;
}
.taksit-bant-uygun i { color: #059669; }
