/**
 * Sepet sayfası — yalnizca body.zwb-cart-page
 */

body.zwb-cart-page {
    background: #f0f4f9 !important;
}

/* Eski sepet banner / ust bloklari gizle */
body.zwb-cart-page .hdgsr,
body.zwb-cart-page .hdgzl,
body.zwb-cart-page .alisdv,
body.zwb-cart-page .syfbsks1,
body.zwb-cart-page .affiliate-banner22 {
    display: none !important;
}

body.zwb-cart-page .footer-modern,
body.zwb-cart-page .zwb-top-campaign + .zwb-info-bar + .zwb-header ~ .footer-modern {
    margin-top: 0;
}

body.zwb-cart-page #wrapper.zwb-cart-wrapper {
    max-width: 1180px;
    margin: 0 auto;
    padding: 32px 15px 80px;
    box-sizing: border-box;
}

/* Baslik */
body.zwb-cart-page .zwb-cart-hero {
    margin-bottom: 28px;
}

body.zwb-cart-page .zwb-cart-hero h1 {
    margin: 0 0 8px;
    font-size: 32px;
    font-weight: 800;
    color: #0f2f5f;
    line-height: 1.2;
}

body.zwb-cart-page .zwb-cart-hero p {
    margin: 0;
    font-size: 15px;
    color: #64748b;
    line-height: 1.5;
}

/* Grid */
body.zwb-cart-page .sepet.zwb-cart-grid {
    display: grid !important;
    grid-template-columns: minmax(0, 2fr) 360px;
    gap: 24px;
    align-items: start;
    width: 100% !important;
    float: none !important;
    position: static !important;
    top: auto !important;
}

body.zwb-cart-page .sepetleft {
    background: #fff !important;
    border: 1px solid #e6edf5;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 8px 28px rgba(15, 47, 95, 0.06);
}

/* Tablo basligi */
body.zwb-cart-page .sepetleft > .sepetbaslik {
    background: #0f2f5f !important;
    color: #fff !important;
    border-radius: 0 !important;
    margin: 0 !important;
    line-height: 1.4 !important;
    padding: 0 !important;
}

body.zwb-cart-page .sepetleft > .sepetbaslik > div {
    display: grid !important;
    grid-template-columns: 1fr auto auto;
    gap: 12px;
    align-items: center;
    padding: 14px 18px !important;
}

body.zwb-cart-page .sepetleft .uhinfo,
body.zwb-cart-page .sepetleft .uhperiyod,
body.zwb-cart-page .sepetleft .uhtutar {
    color: #fff !important;
    font-weight: 700 !important;
    font-size: 13px !important;
    opacity: 1 !important;
    float: none !important;
    width: auto !important;
}

body.zwb-cart-page .sepetleft,
body.zwb-cart-page .sepetleft * {
    color: #334155;
}

body.zwb-cart-page .sepetleft strong,
body.zwb-cart-page .sepetleft h4,
body.zwb-cart-page .sepetleft h5 {
    color: #0f2f5f !important;
}

/* Bos sepet */
body.zwb-cart-page #empty_list.zwb-cart-empty {
    display: none;
    text-align: center;
    padding: 48px 28px 56px;
    margin: 0;
    background: transparent;
}

body.zwb-cart-page #empty_list.zwb-cart-empty .fa {
    display: block;
    width: 72px;
    height: 72px;
    line-height: 72px;
    margin: 0 auto 20px;
    border-radius: 50%;
    background: #eef4ff;
    color: #0f2f5f;
    font-size: 30px;
}

body.zwb-cart-page #empty_list.zwb-cart-empty h4 {
    margin: 0 0 10px;
    font-size: 22px;
    font-weight: 800;
    color: #0f2f5f !important;
}

body.zwb-cart-page #empty_list.zwb-cart-empty p {
    margin: 0 auto 24px;
    max-width: 420px;
    font-size: 15px;
    color: #64748b !important;
    line-height: 1.55;
}

body.zwb-cart-page .zwb-cart-empty__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
}

body.zwb-cart-page .zwb-cart-btn-primary,
body.zwb-cart-page .zwb-cart-btn-outline {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 22px;
    border-radius: 999px;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none !important;
    transition: 0.2s ease;
}

body.zwb-cart-page .zwb-cart-btn-primary {
    background: #16a34a;
    color: #fff !important;
}

body.zwb-cart-page .zwb-cart-btn-primary:hover {
    background: #15803d;
}

body.zwb-cart-page .zwb-cart-btn-outline {
    background: #fff;
    color: #0f2f5f !important;
    border: 1px solid #cbd5e1;
}

body.zwb-cart-page .zwb-cart-btn-outline:hover {
    border-color: #0f2f5f;
}

/* Urun listesi / loader */
body.zwb-cart-page #item_list {
    padding: 8px 0 16px;
}

body.zwb-cart-page #basket_loader {
    margin: 40px auto !important;
}

body.zwb-cart-page .paymentlogos {
    padding: 20px 18px 8px;
    border-top: 1px solid #eef2f7;
    margin-top: 8px;
}

body.zwb-cart-page .paymentlogos span {
    color: #64748b !important;
    font-size: 12px;
}

/* Siparis ozeti */
body.zwb-cart-page .sepetright {
    position: sticky !important;
    top: 24px !important;
    width: 100% !important;
    float: none !important;
    margin: 0 !important;
}

body.zwb-cart-page .sepetrightshadow {
    background: #0f2f5f !important;
    border-radius: 18px !important;
    padding: 24px !important;
    box-shadow: 0 16px 40px rgba(15, 47, 95, 0.22) !important;
    border: none !important;
    position: sticky !important;
    top: 24px !important;
}

body.zwb-cart-page .sepetright .sepetbaslik,
body.zwb-cart-page .sepetrightshadow > .sepetbaslik {
    background: transparent !important;
    color: #fff !important;
    border-radius: 0 !important;
    padding: 0 0 16px !important;
    margin-bottom: 8px !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12) !important;
    font-size: 18px !important;
    font-weight: 800 !important;
}

body.zwb-cart-page .sepetright .sepetbaslik svg {
    color: #fff;
    width: 22px;
    height: 22px;
    vertical-align: middle;
    margin-right: 8px;
}

body.zwb-cart-page .sepetrightcon,
body.zwb-cart-page .sepetright .sepetrightcon {
    background: transparent !important;
    padding: 0 !important;
    border: none !important;
    box-shadow: none !important;
}

body.zwb-cart-page .sepetsipinfo td,
body.zwb-cart-page .sepetsipinfo td strong {
    color: #374151 !important;
}

body.zwb-cart-page .sepetsipinfo h5,
body.zwb-cart-page #total-amount,
body.zwb-cart-page #tax-amount,
body.zwb-cart-page #total-amount-payable {
    color: #111827 !important;
}

body.zwb-cart-page .totalamountinfo strong,
body.zwb-cart-page .z2-summary-total strong {
    color: var(--z2-navy, #123968) !important;
}

body.zwb-cart-page .totalamountinfo h5,
body.zwb-cart-page .z2-summary-total h5 {
    font-size: 18px !important;
    font-weight: 800 !important;
    color: var(--z2-navy, #123968) !important;
}

body.zwb-cart-page #coupon_code {
    background: rgba(255, 255, 255, 0.1) !important;
    border-color: rgba(255, 255, 255, 0.2) !important;
    color: #fff !important;
}

body.zwb-cart-page .sepetright .gonderbtn,
body.zwb-cart-page #continue_go {
    width: 100% !important;
    margin-top: 20px !important;
    padding: 16px 20px !important;
    border-radius: 12px !important;
    background: #16a34a !important;
    color: #fff !important;
    font-weight: 800 !important;
    font-size: 16px !important;
    box-shadow: 0 8px 24px rgba(22, 163, 74, 0.35) !important;
    border: none !important;
}

body.zwb-cart-page .sepetright .gonderbtn:hover,
body.zwb-cart-page #continue_go:hover {
    background: #15803d !important;
}

/* Footer bosluk */
body.zwb-cart-page .footer-modern {
    margin-top: 80px !important;
}

body.zwb-cart-page .footer-hero-section {
    margin-top: 0;
}

/* Sepet ogesi satirlari */
body.zwb-cart-page .sepetlist {
    border-bottom: 1px solid #eef2f7;
}

body.zwb-cart-page .sepetlistcon {
    padding: 16px 18px;
}

/* Devam / bos sepet — sepetim.css :has() cakismasini kaldir */
body.zwb-cart-page #continue_go,
body.zwb-cart-page #continue_block {
    display: none !important;
}

body.zwb-cart-page #continue_go.zwb-cart-cta-on {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 10px !important;
    width: 100% !important;
    margin-top: 16px !important;
}

body.zwb-cart-page #continue_block.zwb-cart-cta-on {
    display: block !important;
    margin-top: 16px !important;
    padding: 14px 16px !important;
    background: #f8fafc !important;
    border: 1px solid #dbe4f0 !important;
    border-radius: 12px !important;
    text-align: center !important;
}

body.zwb-cart-page #continue_block.zwb-cart-cta-on p {
    margin: 0 !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    color: #64748b !important;
    line-height: 1.5 !important;
}

body.zwb-cart-page .sepetright:has(#continue_go) #continue_block {
    display: none !important;
}

body.zwb-cart-page .sepetright:has(#continue_go.zwb-cart-cta-on) #continue_block.zwb-cart-cta-off {
    display: none !important;
}

@media (max-width: 991px) {
    body.zwb-cart-page .sepet.zwb-cart-grid {
        grid-template-columns: 1fr;
    }

    body.zwb-cart-page .sepetright {
        position: static !important;
    }

    body.zwb-cart-page .sepetrightshadow {
        position: static !important;
    }
}

@media (max-width: 640px) {
    body.zwb-cart-page #wrapper.zwb-cart-wrapper {
        padding: 20px 12px 50px;
    }

    body.zwb-cart-page .zwb-cart-hero h1 {
        font-size: 26px;
    }

    body.zwb-cart-page .sepetleft > .sepetbaslik > div {
        grid-template-columns: 1fr;
        gap: 4px;
    }
}
