/**
 * ZipWeb checkout layout v1.8.3 — sade, ferah, referans uyumlu
 * Tek palet + net tipografi:
 * - Fiyatlar siyah
 * - Yazılarda gölge yok
 * - Gradient yok, gölge yok
 * - Yeşil sadece CTA (Ödeme Yap)
 */

html.zwb-checkout-root,
body.zwb-checkout-page,
body.zwb-cart-page {
    --ck-navy: #123968;
    --ck-text: #334155;
    --ck-muted: #64748b;
    --ck-line: #e2e8f0;
    --ck-bg: #f5f7fa;
    --ck-white: #ffffff;
    --ck-green: #16a34a;
    --ck-black: #0f172a;
    --ck-radius: 10px;
    --ck-gap: 24px;
}

html.zwb-checkout-root,
body.zwb-checkout-page,
body.zwb-cart-page {
    background: var(--ck-bg) !important;
    color: var(--ck-text) !important;
}

/* Checkout genelinde yazı gölgesi KAPALI */
body.zwb-checkout-page,
body.zwb-checkout-page * {
    text-shadow: none !important;
}

/* sepetim.css içindeki neon fiyat / gradient yazı EZ */
body.zwb-checkout-page .sepetlist .uhtutar,
body.zwb-checkout-page .sepetlist .uhtutar *,
body.zwb-checkout-page .sepetlistcon .uhtutar,
body.zwb-checkout-page .sepetlistcon .uhtutar *,
body.zwb-checkout-page .sepetlist .uhtutar .amount_spot_view,
body.zwb-checkout-page .sepetlistcon .uhtutar .amount_spot_view,
body.zwb-checkout-page .sepetlist .uhtutar .amount_spot_view i,
body.zwb-checkout-page .sepetlistcon .uhtutar .amount_spot_view i {
    color: var(--ck-black) !important;
    text-shadow: none !important;
    background: none !important;
    -webkit-background-clip: initial !important;
    background-clip: initial !important;
    -webkit-text-fill-color: var(--ck-black) !important;
    filter: none !important;
    -webkit-filter: none !important;
}

/* Özet tutarlar da siyah */
body.zwb-checkout-page #total-amount,
body.zwb-checkout-page #tax-amount,
body.zwb-checkout-page #total-amount-payable,
body.zwb-checkout-page #total-amount-payable * {
    color: var(--ck-black) !important;
    text-shadow: none !important;
    -webkit-text-fill-color: var(--ck-black) !important;
}

/* Sepetteki silme ikonu: kutu/checkbox gibi görünmesin */
body.zwb-checkout-page .uhsil a {
    width: auto !important;
    height: auto !important;
    border: none !important;
    background: transparent !important;
    border-radius: 0 !important;
    padding: 6px 8px !important;
}

/* Gölge ve gradient sıfırla — tüm checkout katmanları */
body.zwb-checkout-page .zwb-checkout-card,
body.zwb-checkout-page .sepetleft,
body.zwb-checkout-page .sepetrightshadow,
body.zwb-checkout-page .zwb-checkout-summary,
body.zwb-checkout-page .zwb-cart-items .sepetlist,
body.zwb-checkout-page .sepetlist,
body.zwb-checkout-page .zwb-osd-domain-card,
body.zwb-checkout-page .gonderbtn,
body.zwb-checkout-page #continue_go,
body.zwb-checkout-page #pay_button {
    box-shadow: none !important;
    text-shadow: none !important;
}

/* Sayfa genişliği — sıkıştırma yok */
body.zwb-checkout-page #wrapper,
body.zwb-checkout-page #wrapper.zwb-cart-wrapper {
    max-width: 1140px !important;
    margin: 0 auto !important;
    padding: 48px 32px 96px !important;
    box-sizing: border-box !important;
}

body.zwb-checkout-page .zwb-checkout-hero {
    margin: 0 0 36px !important;
    padding: 0 !important;
}

body.zwb-checkout-page .zwb-checkout-hero h1 {
    margin: 0 0 10px !important;
    font-size: 28px !important;
    font-weight: 600 !important;
    color: var(--ck-navy) !important;
    letter-spacing: -0.01em !important;
}

body.zwb-checkout-page .zwb-checkout-hero p {
    display: block !important;
    margin: 0 !important;
    font-size: 15px !important;
    color: var(--ck-muted) !important;
    line-height: 1.6 !important;
}

/* Grid — sol geniş, sağ orantılı */
body.zwb-checkout-page .zwb-checkout-grid,
body.zwb-checkout-page .sepet.zwb-cart-grid {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) minmax(300px, 340px) !important;
    gap: 40px !important;
    align-items: start !important;
}

body.zwb-checkout-page .zwb-checkout-main {
    display: flex !important;
    flex-direction: column !important;
    gap: var(--ck-gap) !important;
    min-width: 0 !important;
}

/* Kart — sadece ince çizgi, gölge yok */
body.zwb-checkout-page .zwb-checkout-card {
    background: var(--ck-white) !important;
    border: 1px solid var(--ck-line) !important;
    border-radius: var(--ck-radius) !important;
    overflow: hidden !important;
}

body.zwb-checkout-page .zwb-checkout-card__head {
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
    padding: 18px 28px !important;
    background: var(--ck-white) !important;
    border-bottom: 1px solid var(--ck-line) !important;
    font-size: 15px !important;
    font-weight: 600 !important;
    color: var(--ck-navy) !important;
}

body.zwb-checkout-page .zwb-checkout-card__head svg,
body.zwb-checkout-page .zwb-checkout-card__head .fa {
    width: 18px !important;
    height: 18px !important;
    color: var(--ck-muted) !important;
}

body.zwb-checkout-page .zwb-checkout-card__body {
    padding: 28px !important;
}

/* Sepet ürünleri */
body.zwb-checkout-page .zwb-cart-items {
    display: flex !important;
    flex-direction: column !important;
    gap: var(--ck-gap) !important;
    padding: 0 !important;
    background: transparent !important;
    border: none !important;
}

body.zwb-checkout-page .zwb-cart-items .sepetlist {
    background: var(--ck-white) !important;
    border: 1px solid var(--ck-line) !important;
    border-radius: var(--ck-radius) !important;
    margin: 0 !important;
}

body.zwb-checkout-page .zwb-cart-items .sepetlistcon {
    display: flex !important;
    flex-wrap: wrap !important;
    align-items: center !important;
    gap: 24px !important;
    padding: 28px 32px !important;
}

body.zwb-checkout-page .zwb-cart-items .uhinfo {
    flex: 1 !important;
    min-width: 180px !important;
}

body.zwb-checkout-page .zwb-cart-items .uhinfo h5,
body.zwb-checkout-page .zwb-cart-items .uhinfo h5 strong {
    color: var(--ck-navy) !important;
    font-size: 16px !important;
    font-weight: 600 !important;
    margin: 0 0 4px !important;
}

body.zwb-checkout-page .zwb-cart-items .uhinfo h4 a,
body.zwb-checkout-page .zwb-cart-items .cart-additional-details a {
    color: var(--ck-muted) !important;
    font-size: 14px !important;
    font-weight: 400 !important;
    text-decoration: none !important;
}

body.zwb-checkout-page .zwb-cart-items .uhperiyod select {
    min-width: 130px !important;
    padding: 10px 14px !important;
    border: 1px solid var(--ck-line) !important;
    border-radius: 8px !important;
    font-size: 14px !important;
    color: var(--ck-text) !important;
    background: var(--ck-white) !important;
}

body.zwb-checkout-page .zwb-cart-items .uhtutar h4,
body.zwb-checkout-page .zwb-cart-items .uhtutar .amount_spot_view {
    color: var(--ck-black) !important;
    font-size: 18px !important;
    font-weight: 600 !important;
}

body.zwb-checkout-page .zwb-cart-items .uhtutar .amount_spot_view i {
    color: var(--ck-black) !important;
}

body.zwb-checkout-page .zwb-cart-items .uhsil a {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 36px !important;
    height: 36px !important;
    border-radius: 8px !important;
    background: transparent !important;
    border: 1px solid var(--ck-line) !important;
    color: var(--ck-muted) !important;
    text-decoration: none !important;
}

body.zwb-checkout-page .zwb-cart-items .uhsil a:hover {
    color: var(--ck-navy) !important;
    border-color: var(--ck-navy) !important;
}

/* Boş sepet */
body.zwb-checkout-page .zwb-checkout-card--empty {
    text-align: center !important;
    padding: 56px 40px !important;
}

body.zwb-checkout-page .zwb-checkout-card--empty .fa-shopping-cart {
    font-size: 40px !important;
    color: var(--ck-line) !important;
    margin-bottom: 16px !important;
}

/* Aksiyonlar */
body.zwb-checkout-page .zwb-checkout-card--actions .zwb-checkout-card__body {
    display: flex !important;
    flex-wrap: wrap !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 16px !important;
    padding: 20px 28px !important;
}

body.zwb-checkout-page .zwb-btn-ghost {
    display: inline-flex !important;
    align-items: center !important;
    gap: 8px !important;
    padding: 11px 20px !important;
    background: var(--ck-white) !important;
    border: 1px solid var(--ck-line) !important;
    border-radius: 8px !important;
    color: var(--ck-text) !important;
    font-size: 14px !important;
    font-weight: 500 !important;
    text-decoration: none !important;
}

body.zwb-checkout-page .zwb-btn-ghost .fa {
    color: var(--ck-muted) !important;
}

body.zwb-checkout-page .zwb-btn-ghost:hover {
    border-color: var(--ck-navy) !important;
    color: var(--ck-navy) !important;
}

/* Kupon */
body.zwb-checkout-page .zwb-checkout-card--promo.is-hidden {
    display: none !important;
}

body.zwb-checkout-page .zwb-promo-row {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 12px !important;
}

body.zwb-checkout-page .zwb-promo-row #coupon_code {
    flex: 1 !important;
    min-width: 220px !important;
    min-height: 46px !important;
    padding: 12px 16px !important;
    border: 1px solid var(--ck-line) !important;
    border-radius: 8px !important;
    font-size: 14px !important;
    color: var(--ck-text) !important;
    background: var(--ck-white) !important;
    margin: 0 !important;
    box-shadow: none !important;
}

body.zwb-checkout-page .zwb-promo-row #coupon_code:focus {
    border-color: var(--ck-navy) !important;
    outline: none !important;
    box-shadow: none !important;
}

body.zwb-checkout-page .zwb-promo-submit {
    min-height: 46px !important;
    padding: 0 28px !important;
    background: var(--ck-navy) !important;
    color: #fff !important;
    border: none !important;
    border-radius: 8px !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    cursor: pointer !important;
    box-shadow: none !important;
}

body.zwb-checkout-page .zwb-checkout-card--promo #coupon_result {
    margin-top: 12px !important;
    font-size: 13px !important;
    color: var(--ck-muted) !important;
}

body.zwb-checkout-page #use_coupon {
    display: none !important;
}

/* SSL / logolar */
body.zwb-checkout-page .zwb-checkout-card--trust.paymentlogos {
    padding: 24px 28px !important;
    text-align: center !important;
}

body.zwb-checkout-page .zwb-checkout-card--trust span {
    color: var(--ck-muted) !important;
    font-size: 12px !important;
    line-height: 1.5 !important;
}

/* Ödeme sayfası kartları */
body.zwb-checkout-page .zwb-checkout-card--invoice .sepetlistcon,
body.zwb-checkout-page .zwb-checkout-card--paymethod .sepetlistcon,
body.zwb-checkout-page .zwb-checkout-card--paymethod .odmbilic,
body.zwb-checkout-page .zwb-checkout-card--account .sepetlistcon,
body.zwb-checkout-page .zwb-checkout-card--account .orderuserlogin {
    padding: 28px 32px !important;
}

body.zwb-checkout-page .zwb-checkout-card--paymethod .mdnac {
    margin-bottom: 20px !important;
    padding: 16px 18px !important;
    background: var(--ck-bg) !important;
    border: 1px solid var(--ck-line) !important;
    border-radius: 8px !important;
    color: var(--ck-muted) !important;
    font-size: 14px !important;
    line-height: 1.6 !important;
}

/* Sağ özet */
body.zwb-checkout-page .zwb-checkout-aside {
    display: flex !important;
    flex-direction: column !important;
    gap: var(--ck-gap) !important;
    position: sticky !important;
    top: 100px !important;
}

body.zwb-checkout-page .zwb-checkout-summary,
body.zwb-checkout-page .sepetrightshadow {
    background: var(--ck-white) !important;
    border: 1px solid var(--ck-line) !important;
    border-radius: var(--ck-radius) !important;
    color: var(--ck-text) !important;
}

body.zwb-checkout-page .sepetright .sepetbaslik {
    background: var(--ck-navy) !important;
    color: #fff !important;
    padding: 18px 28px !important;
    border-bottom: none !important;
    font-size: 15px !important;
    font-weight: 600 !important;
}

body.zwb-checkout-page .sepetright .sepetbaslik svg {
    color: #fff !important;
}

body.zwb-checkout-page .sepetrightcon {
    padding: 28px !important;
    background: var(--ck-white) !important;
}

body.zwb-checkout-page .sepetsipinfo td,
body.zwb-checkout-page .sepetsipinfo td strong {
    color: var(--ck-muted) !important;
    font-size: 14px !important;
    padding: 12px 0 !important;
    border-bottom: 1px solid var(--ck-line) !important;
}

body.zwb-checkout-page .sepetsipinfo table td h5,
body.zwb-checkout-page #total-amount,
body.zwb-checkout-page #tax-amount,
body.zwb-checkout-page #pm_commission_amount {
    color: var(--ck-black) !important;
    font-size: 15px !important;
    font-weight: 600 !important;
}

body.zwb-checkout-page .totalamountinfo {
    margin-top: 20px !important;
    padding: 22px 24px !important;
    background: var(--ck-bg) !important;
    border: 1px solid var(--ck-line) !important;
    border-radius: 8px !important;
}

body.zwb-checkout-page .totalamountinfo strong {
    color: var(--ck-muted) !important;
    font-size: 12px !important;
    font-weight: 500 !important;
    text-transform: none !important;
    letter-spacing: 0 !important;
}

body.zwb-checkout-page .totalamountinfo h5,
body.zwb-checkout-page #total-amount-payable {
    color: var(--ck-black) !important;
    font-size: 26px !important;
    font-weight: 700 !important;
    margin: 6px 0 0 !important;
}

body.zwb-checkout-page #total-amount-payable .amount_spot_view,
body.zwb-checkout-page #total-amount-payable i {
    color: var(--ck-black) !important;
}

/* Tek vurgu rengi: ödeme butonu */
body.zwb-checkout-page .sepetright .gonderbtn,
body.zwb-checkout-page .sepetright #continue_go,
body.zwb-checkout-page .sepetright #pay_button {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
    width: calc(100% - 56px) !important;
    margin: 8px 28px 28px !important;
    min-height: 48px !important;
    padding: 0 20px !important;
    background: var(--ck-green) !important;
    color: #fff !important;
    border: none !important;
    border-radius: 8px !important;
    font-size: 15px !important;
    font-weight: 600 !important;
    box-shadow: none !important;
    text-decoration: none !important;
    transform: none !important;
}

body.zwb-checkout-page .sepetright .gonderbtn:hover,
body.zwb-checkout-page .sepetright #continue_go:hover,
body.zwb-checkout-page .sepetright #pay_button:hover {
    background: #15803d !important;
    transform: none !important;
    box-shadow: none !important;
}

body.zwb-checkout-page .sepetright #block_button,
body.zwb-checkout-page .sepetright .graybtn {
    background: var(--ck-line) !important;
    color: var(--ck-muted) !important;
    box-shadow: none !important;
}

/* Tek buton: sadece #continue_go var */
body.zwb-checkout-page #continue_go {
    display: none !important;
}

body.zwb-checkout-page.zwb-summary-ready #continue_go,
body.zwb-checkout-page.zwb-summary-blocked #continue_go {
    display: flex !important;
}

body.zwb-checkout-page #continue_go.is-disabled {
    opacity: 0.55 !important;
    cursor: not-allowed !important;
    pointer-events: none !important;
}

/* ödeme sayfası pay_button disabled */
body.zwb-checkout-page #pay_button.is-disabled {
    opacity: 0.55 !important;
    cursor: not-allowed !important;
    pointer-events: none !important;
}

/* Sağ özet kutusu — referans gibi koyu panel */
body.zwb-checkout-page .zwb-checkout-summary,
body.zwb-checkout-page .sepetrightshadow {
    background: #0f3a67 !important;
    border: none !important;
    border-radius: 12px !important;
    overflow: hidden !important;
}

body.zwb-checkout-page .sepetright .sepetbaslik {
    background: transparent !important;
    color: #fff !important;
    padding: 18px 20px !important;
    font-weight: 700 !important;
}

body.zwb-checkout-page .sepetrightcon {
    background: transparent !important;
    padding: 0 20px 18px !important;
}

body.zwb-checkout-page .sepetsipinfo td,
body.zwb-checkout-page .sepetsipinfo td strong {
    color: rgba(255,255,255,.78) !important;
    border-bottom: 1px solid rgba(255,255,255,.16) !important;
}

body.zwb-checkout-page .sepetsipinfo table td h5,
body.zwb-checkout-page #total-amount,
body.zwb-checkout-page #tax-amount,
body.zwb-checkout-page #pm_commission_amount {
    color: #fff !important;
}

body.zwb-checkout-page .totalamountinfo {
    margin-top: 14px !important;
    padding: 0 !important;
    background: transparent !important;
    border: none !important;
}

body.zwb-checkout-page #total-amount-payable {
    display: block !important;
    width: 100% !important;
}

body.zwb-checkout-page #total-amount-payable .amount_spot_view {
    display: block !important;
    padding: 18px 16px !important;
    background: rgba(255,255,255,.08) !important;
    border: 1px solid rgba(255,255,255,.14) !important;
    border-radius: 10px !important;
    text-align: center !important;
    color: #fff !important;
    -webkit-text-fill-color: #fff !important;
}

body.zwb-checkout-page #total-amount-payable .amount_spot_view i {
    color: #fff !important;
    -webkit-text-fill-color: #fff !important;
}

/* Ödeme butonu koyu kutu içinde açık ton */
body.zwb-checkout-page .sepetright #continue_go {
    width: calc(100% - 40px) !important;
    margin: 14px 20px 20px !important;
    background: #1aa84b !important;
    border-radius: 10px !important;
    box-shadow: none !important;
}

body.zwb-checkout-page .sepetright #continue_go:hover {
    background: #169242 !important;
}

/* Sözleşmeler */
body.zwb-checkout-page .zwb-checkout-card--terms {
    padding: 22px 28px !important;
}

body.zwb-checkout-page .zwb-checkout-card--terms .checkbox-custom-label {
    font-size: 13px !important;
    color: var(--ck-muted) !important;
    line-height: 1.6 !important;
}

body.zwb-checkout-page .zwb-checkout-card--terms .checkbox-custom-label a {
    color: var(--ck-navy) !important;
}

/* Eski katmanlardan gelen gürültüyü kapat */
body.zwb-checkout-page .sepetbaslik {
    background: var(--ck-white) !important;
    border-bottom: 1px solid var(--ck-line) !important;
}

body.zwb-checkout-page .sepetlist,
body.zwb-checkout-page .sepetlist:hover {
    box-shadow: none !important;
    transform: none !important;
}

body.zwb-checkout-page .orderuserlogin input:focus,
body.zwb-checkout-page .faturabilgisi input:focus {
    box-shadow: none !important;
    border-color: var(--ck-navy) !important;
    outline: none !important;
}

body.zwb-checkout-page #payment_methods .checkbox-custom:checked + .checkbox-custom-label {
    border-color: var(--ck-navy) !important;
    background: var(--ck-bg) !important;
    box-shadow: none !important;
}

@media (max-width: 991px) {
    body.zwb-checkout-page #wrapper.zwb-cart-wrapper {
        padding: 32px 20px 64px !important;
    }

    body.zwb-checkout-page .zwb-checkout-grid,
    body.zwb-checkout-page .sepet.zwb-cart-grid {
        grid-template-columns: 1fr !important;
        gap: 28px !important;
    }

    body.zwb-checkout-page .zwb-checkout-aside {
        position: static !important;
    }

    body.zwb-checkout-page .zwb-cart-items .sepetlistcon {
        padding: 24px 20px !important;
    }

    body.zwb-checkout-page .zwb-promo-row {
        flex-direction: column !important;
    }

    body.zwb-checkout-page .zwb-promo-submit {
        width: 100% !important;
    }
}
