
:root,
.tema4-body.t4-tone-siyah{
    --t4-bg:#07090b;
    --t4-page-bg:#07090b;
    --t4-surface:#101318;
    --t4-surface-2:#171b21;
    --t4-surface-3:#202630;
    --t4-border:#343b46;
    --t4-border-strong:#566171;
    --t4-header-bg:#090b0d;
    --t4-overlay-bg:rgba(8,10,13,.96);
    --t4-text:#f7f7f5;
    --t4-muted:#adb4bd;
}
.tema4-body.t4-tone-gri{
    --t4-bg:#1e232a;
    --t4-page-bg:linear-gradient(180deg,#2a313a 0%,#1e232a 48%,#15191f 100%);
    --t4-surface:#262d35;
    --t4-surface-2:#303842;
    --t4-surface-3:#39434f;
    --t4-border:#4b5663;
    --t4-border-strong:#697686;
    --t4-header-bg:#20262d;
    --t4-overlay-bg:rgba(30,35,42,.96);
    --t4-text:#f7f7f5;
    --t4-muted:#c0c6ce;
}
.tema4-body.t4-tone-lacivert{
    --t4-bg:#0d1b2e;
    --t4-page-bg:linear-gradient(180deg,#16233b 0%,#0d1b2e 48%,#08111f 100%);
    --t4-surface:#14243b;
    --t4-surface-2:#1b2e49;
    --t4-surface-3:#243a59;
    --t4-border:#344b6b;
    --t4-border-strong:#526d92;
    --t4-header-bg:#0e1a2c;
    --t4-overlay-bg:rgba(13,27,46,.96);
    --t4-text:#f7f7f5;
    --t4-muted:#b7c1d0;
}
html{background:var(--t4-bg)!important}
.tema4-body{background:var(--t4-page-bg)!important;background-attachment:fixed!important}
.tema4-body,.tema4-body main{color:var(--t4-text)!important}

/* Tema 4 özel büyük slider alanı: ilk kurulumda görselsiz, düzen korunur */
.t4-hero-shell{
    width:100%!important;
    height:clamp(520px,42vw,760px)!important;
    background:var(--t4-bg)!important;
    border-top:1px solid var(--t4-border)!important;
    border-bottom:1px solid var(--t4-border)!important;
}

/* Slider altında sayfa kayarken üstte kalan ince araç alanı */
.t4-sticky-tools{
    position:sticky!important;
    top:0!important;
    z-index:500!important;
    width:100%!important;
    border-bottom:1px solid var(--t4-border)!important;
    background:var(--t4-overlay-bg)!important;
    backdrop-filter:blur(14px)!important;
}
.t4-sticky-tools-inner{
    display:grid!important;
    grid-template-columns:repeat(4,minmax(0,1fr))!important;
    width:min(1320px,calc(100% - 40px))!important;
    margin:0 auto!important;
}
.t4-tool-item{
    display:flex!important;
    align-items:center!important;
    justify-content:center!important;
    min-height:66px!important;
    border-right:1px solid var(--t4-border)!important;
    color:var(--t4-text)!important;
}
.t4-tool-item:last-child{border-right:0!important}
.t4-tool-item>a{
    display:flex!important;
    align-items:center!important;
    gap:8px!important;
    color:var(--t4-text)!important;
    font-size:13px!important;
    text-decoration:none!important;
}
.t4-tool-item .ka-lang-current,
.t4-tool-item .ka-currency-current{
    background:#f7f7f5!important;
    color:#101318!important;
}

/* Ana sayfa */
.t4-page{
    box-sizing:border-box!important;
    width:min(1580px,calc(100% - 44px))!important;
    margin:0 auto!important;
    padding:46px 0 76px!important;
    background:var(--t4-bg)!important;
}
.t4-section-head{margin:0 0 18px!important}
.t4-section-head h2{
    margin:0!important;
    color:var(--t4-text)!important;
    font-size:26px!important;
    line-height:32px!important;
}

.t4-best-sellers>.t4-section-head{
    margin:0 0 14px!important;
    padding:0!important;
    border:0!important;
    background:transparent!important;
    box-shadow:none!important;
}
.t4-products-section{margin:0 0 48px!important}

/* Yalnız dış ürün satırını 4 sütun yap; kartın iç divlerine dokunma */
.t4-products-section .t1-horizontal-products{
    display:grid!important;
    grid-template-columns:repeat(4,minmax(0,1fr))!important;
    gap:20px!important;
    width:100%!important;
    margin:0!important;
    padding:0!important;
}
.t4-products-section .t1-horizontal-products>.t1-product-card{
    width:100%!important;
    min-width:0!important;
    max-width:none!important;
    margin:0!important;
}

/* Ortak Tema 1 ürün kartı: yalnız koyu renk dönüşümü */
.tema4-body .t1-product-card{
    background:linear-gradient(145deg,var(--t4-surface-2),var(--t4-surface))!important;
    border-color:var(--t4-border)!important;
    color:var(--t4-text)!important;
    box-shadow:0 14px 30px rgba(0,0,0,.24)!important;
}
.tema4-body .t1-product-card .t1-product-body{background:transparent!important}
.tema4-body .t1-product-card h3,
.tema4-body .t1-product-card strong,
.tema4-body .t1-product-title,
.tema4-body .t1-product-title a,
.tema4-body .t1-product-price{color:var(--t4-text)!important}
.tema4-body .t1-product-card p,
.tema4-body .t1-product-card small,
.tema4-body .t1-product-brand{color:var(--t4-muted)!important}

/* Rozet, ikon ve kampanya renklerine dokunulmaz */

/* Çok Satanlar: ortak Tema 1 kartları, yalnız yatay slider düzeni */
.t4-best-sellers{
    margin:0 0 50px!important;
    padding:0!important;
    overflow:visible!important;
    border:0!important;
    border-radius:0!important;
    background:transparent!important;
    box-shadow:none!important;
}

.t4-best-slider{
    width:100%!important;
    margin:0!important;
    padding:16px 0 8px!important;
    overflow-x:auto!important;
    overflow-y:hidden!important;
    box-sizing:border-box!important;
    scrollbar-width:none!important;
    overscroll-behavior-inline:contain!important;
    -webkit-overflow-scrolling:touch!important;
}

.t4-best-slider::-webkit-scrollbar{
    display:none!important;
}

.t4-best-track{
    display:flex!important;
    flex-wrap:nowrap!important;
    align-items:flex-start!important;
    gap:14px!important;
    width:max-content!important;
    margin:0!important;
    padding:0!important;
}

.t4-best-track>.t1-product-card{
    flex:0 0 210px!important;
    width:210px!important;
    height:auto!important;
    margin:0!important;
    align-self:flex-start!important;
}

/* Çok Satanlar kargo alanı: mobil görünümdeki kamyon ikonu + sayaç */
.t4-best-sellers .t1-cargo-count-badge{
    position:relative!important;
    display:flex!important;
    align-items:center!important;
    justify-content:center!important;
    width:max-content!important;
    max-width:calc(100% - 16px)!important;
    min-width:118px!important;
    height:34px!important;
    min-height:34px!important;
    max-height:34px!important;
    margin:8px auto!important;
    padding:0!important;
    overflow:visible!important;
    white-space:nowrap!important;
    font-size:0!important;
    line-height:1!important;
}

.t4-best-sellers .t1-cargo-count-badge>.t1-cargo-desktop-text{
    display:none!important;
}

.t4-best-sellers .t4-cargo-trigger{
    display:inline-flex!important;
    align-items:center!important;
    justify-content:center!important;
    gap:6px!important;
    min-width:118px!important;
    height:34px!important;
    padding:0 12px!important;
    border:0!important;
    border-radius:999px!important;
    background:transparent!important;
    color:#111827!important;
    cursor:pointer!important;
}

.t4-best-sellers .t4-cargo-icon{
    font-size:15px!important;
    line-height:1!important;
}

.t4-best-sellers .t4-cargo-time{
    color:#111827!important;
    font-size:13px!important;
    line-height:18px!important;
    font-weight:900!important;
}

.t4-best-sellers .t4-cargo-popover{
    position:absolute!important;
    left:50%!important;
    bottom:calc(100% + 8px)!important;
    z-index:999!important;
    width:max-content!important;
    max-width:250px!important;
    padding:8px 10px!important;
    border-radius:9px!important;
    background:#111827!important;
    color:#fff!important;
    box-shadow:0 8px 24px rgba(0,0,0,.35)!important;
    font-size:11px!important;
    line-height:15px!important;
    font-weight:700!important;
    text-align:center!important;
    white-space:normal!important;
    opacity:0!important;
    visibility:hidden!important;
    pointer-events:none!important;
    transform:translate(-50%,5px)!important;
    transition:opacity .18s ease,transform .18s ease,visibility .18s ease!important;
}

.t4-best-sellers .t1-cargo-count-badge.is-t4-cargo-open .t4-cargo-popover{
    opacity:1!important;
    visibility:visible!important;
    transform:translate(-50%,0)!important;
}

/* Tema 4 özel banner alanı: ilk kurulumda boş */
.t4-banner-shell{min-height:0!important}

/* Ortak sayfalar: yerleşime dokunmadan koyu zemin/açık yazı */
.tema4-body .t1-category-page,
.tema4-body .t1-product-detail-page,
.tema4-body .t1-cart-page,
.tema4-body .ka-account-page,
.tema4-body .ka-user-page,
.tema4-body .t1-page,
.tema4-body .page-wrapper,
.tema4-body .content-wrapper{
    background:var(--t4-bg)!important;
    color:var(--t4-text)!important;
}
.tema4-body .card,
.tema4-body .panel,
.tema4-body .box,
.tema4-body .cart-summary,
.tema4-body .user-card,
.tema4-body table{
    background:var(--t4-surface)!important;
    border-color:var(--t4-border)!important;
    color:var(--t4-text)!important;
}
.tema4-body input,
.tema4-body select,
.tema4-body textarea{
    background:var(--t4-surface-2)!important;
    border-color:var(--t4-border)!important;
    color:var(--t4-text)!important;
}
@media(max-width:1050px){
    .t4-products-section .t1-horizontal-products{grid-template-columns:repeat(3,minmax(0,1fr))!important}
}
@media(max-width:760px){
    .t4-hero-shell{height:125vw!important;max-height:690px!important;min-height:460px!important}
    .t4-sticky-tools-inner{width:100%!important}
    .t4-tool-item{min-height:56px!important}
    .t4-tool-item>a{gap:3px!important;font-size:10px!important}
    .t4-page{width:calc(100% - 16px)!important;padding-top:26px!important}
    .t4-products-section .t1-horizontal-products{
        grid-template-columns:repeat(2,minmax(0,1fr))!important;
        gap:7px!important;
    }
    .t4-best-track{gap:8px!important}
    .t4-best-track>.t1-product-card{
        flex:0 0 155px!important;
        width:155px!important;
        height:auto!important;
        align-self:flex-start!important;
    }
}


/* =========================================================
   TEMA 4 — ORTAK SAYFALAR VE ORTAK PRODUCT-CARD RENK KATMANI
   Yerleşim, ölçü, sıralama ve çalışma motoruna dokunmaz.
   Yalnız Tema 4 aktifken koyu zemin / açık yazı uygular.
   ========================================================= */

.tema4-body{
    --theme-bg:var(--t4-bg)!important;
    --theme-card-bg:var(--t4-surface)!important;
    --theme-card-border:var(--t4-border)!important;
    --theme-title:var(--t4-text)!important;
    --theme-text:var(--t4-text)!important;
    --theme-footer:var(--t4-surface)!important;
}

/* Ortak ürün kartı: /themes/tema1/includes/product-card.php */
.tema4-body .t1-product-card{
    background:var(--t4-surface)!important;
    border-color:var(--t4-border)!important;
    color:var(--t4-text)!important;
}
.tema4-body .t1-product-card .t1-product-image{
    background:var(--t4-surface-2)!important;
}
.tema4-body .t1-product-card .t1-product-body,
.tema4-body .t1-product-card .t1-product-content,
.tema4-body .t1-product-card .t1-product-footer{
    background:transparent!important;
}
.tema4-body .t1-product-card .t1-product-title,
.tema4-body .t1-product-card .t1-product-title a,
.tema4-body .t1-product-card .t1-product-price,
.tema4-body .t1-product-card .t1-product-current-price,
.tema4-body .t1-product-card .t1-product-sale-price,
.tema4-body .t1-product-card h2,
.tema4-body .t1-product-card h3,
.tema4-body .t1-product-card strong{
    color:var(--t4-text)!important;
}
.tema4-body .t1-product-card .t1-product-brand,
.tema4-body .t1-product-card .t1-product-category,
.tema4-body .t1-product-card .t1-product-old-price,
.tema4-body .t1-product-card p,
.tema4-body .t1-product-card small{
    color:var(--t4-muted)!important;
}
.tema4-body .t1-product-card .t1-product-old-price{
    text-decoration-color:var(--t4-muted)!important;
}
.tema4-body .t1-product-card .t1-product-actions,
.tema4-body .t1-product-card .t1-product-buttons{
    border-color:var(--t4-border)!important;
}

/* Rozet, kampanya etiketi ve ikon renkleri bilinçli olarak değiştirilmez. */
.tema4-body .t1-product-badge,
.tema4-body .t1-product-top-badges,
.tema4-body .t1-cargo-count-badge,
.tema4-body .t1-product-card svg,
.tema4-body .t1-product-card i{
    filter:none!important;
}

/* Ortak kategori sayfası */
.tema4-body .t1-category-page,
.tema4-body .t1-category-main,
.tema4-body .t1-category-content,
.tema4-body .t1-category-products,
.tema4-body .t1-category-filter,
.tema4-body .t1-category-sidebar,
.tema4-body .t1-category-toolbar,
.tema4-body .t1-category-empty{
    background:var(--t4-bg)!important;
    color:var(--t4-text)!important;
}
.tema4-body .t1-category-filter,
.tema4-body .t1-category-sidebar,
.tema4-body .t1-category-toolbar,
.tema4-body .t1-category-pagination,
.tema4-body .t1-category-empty{
    border-color:var(--t4-border)!important;
}
.tema4-body .t1-category-filter label,
.tema4-body .t1-category-filter strong,
.tema4-body .t1-category-toolbar,
.tema4-body .t1-category-title,
.tema4-body .t1-category-page h1,
.tema4-body .t1-category-page h2,
.tema4-body .t1-category-page h3{
    color:var(--t4-text)!important;
}
.tema4-body .t1-category-pagination a,
.tema4-body .t1-category-pagination span{
    background:var(--t4-surface)!important;
    border-color:var(--t4-border)!important;
    color:var(--t4-text)!important;
}

/* Ortak ürün detay */
.tema4-body .t1-product-detail,
.tema4-body .t1-product-detail-page,
.tema4-body .t1-product-gallery,
.tema4-body .t1-product-info,
.tema4-body .t1-product-detail-tabs,
.tema4-body .t1-product-description,
.tema4-body .t1-product-accessories,
.tema4-body .t1-related-products{
    background:var(--t4-bg)!important;
    color:var(--t4-text)!important;
}
.tema4-body .t1-product-gallery,
.tema4-body .t1-product-info,
.tema4-body .t1-product-detail-tabs,
.tema4-body .t1-product-description{
    border-color:var(--t4-border)!important;
}
.tema4-body .t1-product-detail h1,
.tema4-body .t1-product-detail h2,
.tema4-body .t1-product-detail h3,
.tema4-body .t1-product-detail strong,
.tema4-body .t1-product-detail .price,
.tema4-body .t1-product-detail .t1-product-price{
    color:var(--t4-text)!important;
}
.tema4-body .t1-product-detail p,
.tema4-body .t1-product-detail small,
.tema4-body .t1-product-detail .muted{
    color:var(--t4-muted)!important;
}

/* Sepet / ödeme */
.tema4-body .t1-cart-page,
.tema4-body .t1-cart-main,
.tema4-body .t1-cart-list,
.tema4-body .t1-cart-item,
.tema4-body .t1-cart-summary,
.tema4-body .cart-page,
.tema4-body .cart-item,
.tema4-body .cart-summary,
.tema4-body .checkout-page,
.tema4-body .checkout-card{
    background:var(--t4-bg)!important;
    color:var(--t4-text)!important;
}
.tema4-body .t1-cart-item,
.tema4-body .t1-cart-summary,
.tema4-body .cart-item,
.tema4-body .cart-summary,
.tema4-body .checkout-card{
    background:var(--t4-surface)!important;
    border-color:var(--t4-border)!important;
}
.tema4-body .t1-cart-page h1,
.tema4-body .t1-cart-page h2,
.tema4-body .t1-cart-page h3,
.tema4-body .cart-page h1,
.tema4-body .cart-page h2,
.tema4-body .cart-page h3,
.tema4-body .checkout-page h1,
.tema4-body .checkout-page h2{
    color:var(--t4-text)!important;
}

/* User / hesap */
.tema4-body .ka-user-page,
.tema4-body .ka-account-page,
.tema4-body .ka-account-layout,
.tema4-body .ka-account-content,
.tema4-body .ka-account-sidebar,
.tema4-body .ka-account-card,
.tema4-body .ka-user-card,
.tema4-body .user-page,
.tema4-body .account-page{
    color:var(--t4-text)!important;
}
.tema4-body .ka-account-page,
.tema4-body .ka-account-layout,
.tema4-body .ka-account-content,
.tema4-body .user-page,
.tema4-body .account-page{
    background:var(--t4-bg)!important;
}
.tema4-body .ka-account-sidebar,
.tema4-body .ka-account-card,
.tema4-body .ka-user-card{
    background:var(--t4-surface)!important;
    border-color:var(--t4-border)!important;
}
.tema4-body .ka-account-page h1,
.tema4-body .ka-account-page h2,
.tema4-body .ka-account-page h3,
.tema4-body .ka-account-page strong,
.tema4-body .ka-account-sidebar a{
    color:var(--t4-text)!important;
}
.tema4-body .ka-account-page p,
.tema4-body .ka-account-page small{
    color:var(--t4-muted)!important;
}

/* Ortak form, tablo, modal ve popup renkleri */
.tema4-body input,
.tema4-body select,
.tema4-body textarea,
.tema4-body .form-control{
    background:var(--t4-surface-2)!important;
    border-color:var(--t4-border)!important;
    color:var(--t4-text)!important;
}
.tema4-body input::placeholder,
.tema4-body textarea::placeholder{
    color:var(--t4-muted)!important;
}
.tema4-body table,
.tema4-body thead,
.tema4-body tbody,
.tema4-body tr,
.tema4-body th,
.tema4-body td{
    border-color:var(--t4-border)!important;
}
.tema4-body table,
.tema4-body th,
.tema4-body td{
    background:var(--t4-surface)!important;
    color:var(--t4-text)!important;
}
.tema4-body .modal,
.tema4-body .modal-content,
.tema4-body .popup,
.tema4-body .popover,
.tema4-body .dropdown-menu{
    background:var(--t4-surface)!important;
    border-color:var(--t4-border)!important;
    color:var(--t4-text)!important;
}

@media(max-width:760px){

    .t4-best-track{
        gap:8px!important;
    }

    .t4-best-track>.t1-product-card{
        flex:0 0 155px!important;
        width:155px!important;
        height:auto!important;
        align-self:flex-start!important;
    }
}


/* =========================================================
   TEMA 4 — ÇOK SATANLAR KART HİZASI
   Kartlar aynı yükseklikte kalır, rozetler kesilmez ve
   alt butonlar tüm kartlarda aynı çizgide sabitlenir.
   ========================================================= */
.t4-best-slider{
    padding-top:22px!important;
}

.t4-best-track{
    align-items:stretch!important;
}

.t4-best-track>.t1-product-card{
    display:flex!important;
    flex-direction:column!important;
    height:472px!important;
    min-height:472px!important;
    max-height:472px!important;
    overflow:hidden!important;
    align-self:stretch!important;
}

.t4-best-sellers .t1-product-card .t1-product-image{
    position:relative!important;
    flex:0 0 230px!important;
    width:100%!important;
    height:230px!important;
    min-height:230px!important;
    max-height:230px!important;
    overflow:hidden!important;
}

.t4-best-sellers .t1-product-card .t1-product-image img{
    display:block!important;
    width:100%!important;
    height:100%!important;
    object-fit:cover!important;
}

.t4-best-sellers .t1-product-top-badges,
.t4-best-sellers .t1-product-badges{
    top:6px!important;
    left:8px!important;
    right:8px!important;
    z-index:8!important;
    max-width:calc(100% - 16px)!important;
    overflow:visible!important;
}

.t4-best-sellers .t1-product-card .t1-product-body,
.t4-best-sellers .t1-product-card .t1-product-content{
    display:flex!important;
    flex:1 1 auto!important;
    min-height:0!important;
    flex-direction:column!important;
}

.t4-best-sellers .t1-product-card .t1-product-title,
.t4-best-sellers .t1-product-card h3{
    display:-webkit-box!important;
    min-height:40px!important;
    max-height:40px!important;
    overflow:hidden!important;
    -webkit-box-orient:vertical!important;
    -webkit-line-clamp:2!important;
}

.t4-best-sellers .t1-product-card .t1-product-brand{
    min-height:18px!important;
    max-height:18px!important;
    overflow:hidden!important;
    white-space:nowrap!important;
    text-overflow:ellipsis!important;
}

.t4-best-sellers .t1-product-card .t1-product-actions,
.t4-best-sellers .t1-product-card .t1-product-buttons,
.t4-best-sellers .t1-product-card .t1-product-footer{
    margin-top:auto!important;
    flex:0 0 auto!important;
}

.t4-best-sellers .t1-cargo-count-badge{
    flex:0 0 34px!important;
    margin-top:8px!important;
    margin-bottom:8px!important;
}

@media(max-width:760px){
    .t4-best-slider{
        padding-top:18px!important;
    }

    .t4-best-track>.t1-product-card{
        height:390px!important;
        min-height:390px!important;
        max-height:390px!important;
    }

    .t4-best-sellers .t1-product-card .t1-product-image{
        flex-basis:170px!important;
        height:170px!important;
        min-height:170px!important;
        max-height:170px!important;
    }

    .t4-best-sellers .t1-product-top-badges,
    .t4-best-sellers .t1-product-badges{
        top:5px!important;
        left:5px!important;
        right:5px!important;
        max-width:calc(100% - 10px)!important;
    }
}

/* =========================================================
   TEMA 4 — STICKY ARAÇ ÇUBUĞU DAVRANIŞ BAĞLANTISI
   Tema 1'in çalışan user, bildirim, giriş ve mini sepet
   bileşenleri aynen kullanılır; yalnız Tema 4 konumu/stili uygulanır.
   ========================================================= */
.t4-sticky-tools,
.t4-sticky-tools-inner,
.t4-tool-item{
    overflow:visible!important;
}

.t4-tool-user,
.t4-tool-cart{
    position:relative!important;
}

.t4-tool-user .ka-user-menu,
.t4-tool-cart .ka-cart-menu{
    display:inline-flex!important;
    align-items:center!important;
    justify-content:center!important;
    position:relative!important;
    margin:0!important;
}

.t4-tool-user .ka-user-trigger,
.t4-tool-cart .ka-cart-trigger{
    min-height:40px!important;
    padding:0 10px!important;
    color:var(--t4-text)!important;
}

.t4-tool-user .ka-user-icon,
.t4-tool-cart .ka-cart-icon,
.t4-tool-cart .ka-cart-label{
    color:var(--t4-text)!important;
}

.t4-tool-user .ka-user-menu.is-login .ka-user-icon,
.t4-tool-cart .ka-cart-menu.has-items .ka-cart-icon,
.t4-tool-cart .ka-cart-menu.has-items .ka-cart-label,
.t4-tool-cart .ka-cart-menu.has-items .ka-cart-trigger{
    color:#00b85b!important;
    filter:none!important;
}

.t4-tool-user .ka-user-popover,
.t4-tool-cart .ka-cart-popover{
    top:calc(100% + 12px)!important;
    right:50%!important;
    left:auto!important;
    transform:translateX(50%)!important;
    z-index:2147483005!important;
}

.t4-tool-user .ka-user-popover{
    width:220px!important;
    max-width:min(220px,calc(100vw - 20px))!important;
}

.t4-tool-cart .ka-cart-popover{
    width:320px!important;
    max-width:min(320px,calc(100vw - 20px))!important;
}

.t4-tool-item .ka-lang-switcher,
.t4-tool-item .ka-currency-switcher{
    position:relative!important;
    overflow:visible!important;
    margin:0!important;
}

.t4-tool-item .ka-lang-menu,
.t4-tool-item .ka-currency-menu{
    top:calc(100% + 10px)!important;
    right:50%!important;
    left:auto!important;
    transform:translateX(50%)!important;
    z-index:2147483005!important;
}

@media(max-width:760px){
    .t4-tool-user .ka-user-trigger,
    .t4-tool-cart .ka-cart-trigger{
        min-height:34px!important;
        padding:0 4px!important;
    }

    .t4-tool-cart .ka-cart-label{
        display:none!important;
    }

    .t4-tool-user .ka-user-popover{
        position:fixed!important;
        top:72px!important;
        right:8px!important;
        left:8px!important;
        width:auto!important;
        max-width:none!important;
        transform:none!important;
    }

    .t4-tool-cart .ka-cart-popover{
        position:fixed!important;
        top:72px!important;
        right:8px!important;
        left:8px!important;
        width:auto!important;
        max-width:none!important;
        transform:none!important;
    }
}

/* =========================================================
   TEMA 4 — STICKY ARAÇ ÇUBUĞU PREMIUM ÇİZGİ DÜZENİ
   Dikey bölmeler kaldırılır; üst ve alt çizgiler ortada daha
   belirgin, uçlara doğru incelen/yok olan yapıya dönüştürülür.
   ========================================================= */
.t4-sticky-tools{
    position:sticky!important;
    border-top:0!important;
    border-bottom:0!important;
}

.t4-sticky-tools::before,
.t4-sticky-tools::after{
    content:""!important;
    position:absolute!important;
    left:2%!important;
    right:2%!important;
    height:2px!important;
    pointer-events:none!important;
    z-index:2!important;
    background:linear-gradient(
        90deg,
        rgba(255,255,255,0) 0%,
        rgba(255,255,255,.12) 7%,
        rgba(255,255,255,.5) 24%,
        rgba(255,255,255,.92) 50%,
        rgba(255,255,255,.5) 76%,
        rgba(255,255,255,.12) 93%,
        rgba(255,255,255,0) 100%
    )!important;
    box-shadow:0 0 8px rgba(255,255,255,.16)!important;
}

.t4-sticky-tools::before{
    display:none!important;
}

.t4-sticky-tools::after{
    bottom:0!important;
}

.t4-tool-item,
.t4-tool-item:last-child{
    border-left:0!important;
    border-right:0!important;
}

@media(max-width:760px){
    .t4-sticky-tools::before,
    .t4-sticky-tools::after{
        left:0!important;
        right:0!important;
        height:2px!important;
    }
}



/* ===== Tema 4 sticky araç çubuğu ilk yükleme hizası ===== */
/* Normal durumda hamburger gizlidir ve dört gerçek araç tek satırdadır. */
.tema4-body:not(.t4-desktop-menu-collapsed)
.t4-sticky-tools .t4-sticky-tools-inner{
    grid-template-columns:repeat(4,minmax(0,1fr))!important;
}

.tema4-body:not(.t4-desktop-menu-collapsed)
.t4-sticky-tools .t4-tool-menu{
    display:none!important;
}

/* Desktop menü hamburgere dönüştüğünde beş öğe yine aynı satırda kalır. */
@media(min-width:761px){
    .tema4-body.t4-desktop-menu-collapsed
    .t4-sticky-tools .t4-sticky-tools-inner{
        grid-template-columns:repeat(5,minmax(0,1fr))!important;
        grid-auto-flow:column!important;
        grid-auto-columns:minmax(0,1fr)!important;
        align-items:stretch!important;
    }

    .tema4-body.t4-desktop-menu-collapsed
    .t4-sticky-tools .t4-tool-menu{
        display:flex!important;
        grid-column:1!important;
        grid-row:1!important;
    }

    .tema4-body.t4-desktop-menu-collapsed
    .t4-sticky-tools .t4-tool-user{
        grid-column:2!important;
        grid-row:1!important;
    }

    .tema4-body.t4-desktop-menu-collapsed
    .t4-sticky-tools .t4-tool-item:nth-child(3){
        grid-column:3!important;
        grid-row:1!important;
    }

    .tema4-body.t4-desktop-menu-collapsed
    .t4-sticky-tools .t4-tool-item:nth-child(4){
        grid-column:4!important;
        grid-row:1!important;
    }

    .tema4-body.t4-desktop-menu-collapsed
    .t4-sticky-tools .t4-tool-cart{
        grid-column:5!important;
        grid-row:1!important;
    }
}

/* JS sınıfı eklenmeden önce hiçbir öğe ikinci satıra düşmesin. */
.t4-sticky-tools .t4-tool-item{
    min-width:0!important;
}

.t4-sticky-tools .t4-tool-cart{
    white-space:nowrap!important;
}


/* ===== Tema 4 ürün detay gerçek sınıf eşleştirmeleri ===== */
.tema4-body .t1-product-page,
.tema4-body .t1-pro-detail-shell,
.tema4-body .t1-pro-gallery,
.tema4-body .t1-pro-info,
.tema4-body .t1-pro-tabs,
.tema4-body .t1-pro-tab-content{
    background:var(--t4-bg)!important;
    color:var(--t4-text)!important;
}

.tema4-body .t1-pro-detail-shell,
.tema4-body .t1-pro-tabs{
    border-color:var(--t4-border)!important;
    box-shadow:none!important;
}

.tema4-body .t1-detail-breadcrumb,
.tema4-body .t1-detail-breadcrumb a,
.tema4-body .t1-detail-breadcrumb span{
    color:var(--t4-muted)!important;
}

.tema4-body .t1-pro-title-block h1,
.tema4-body .t1-pro-title-block p,
.tema4-body .t1-pro-brand,
.tema4-body .t1-pro-rating b,
.tema4-body .t1-pro-price-box strong,
.tema4-body .t1-pro-option-head strong,
.tema4-body .t1-pro-option-block > span,
.tema4-body .t1-pro-accessories > strong{
    color:var(--t4-text)!important;
}

.tema4-body .t1-pro-rating em,
.tema4-body .t1-pro-price-box small,
.tema4-body .t1-pro-option-head small{
    color:var(--t4-muted)!important;
}

.tema4-body .t1-pro-buybox{
    background:var(--t4-surface)!important;
    border-color:var(--t4-border)!important;
    color:var(--t4-text)!important;
    box-shadow:0 16px 36px rgba(0,0,0,.28)!important;
}

.tema4-body .t1-pro-service-card{
    background:var(--t4-surface-2)!important;
    border-color:var(--t4-border)!important;
    color:var(--t4-text)!important;
}

.tema4-body .t1-pro-service-card > div{
    background:transparent!important;
    border-color:var(--t4-border)!important;
    color:var(--t4-text)!important;
}

.tema4-body .t1-pro-service-card span,
.tema4-body .t1-pro-service-card strong{
    color:var(--t4-text)!important;
}

.tema4-body .t1-pro-qty,
.tema4-body .t1-pro-qty input,
.tema4-body .t1-pro-qty button,
.tema4-body .t1-pro-options button,
.tema4-body .t1-pro-side-action{
    background:var(--t4-surface-2)!important;
    border-color:var(--t4-border)!important;
    color:var(--t4-text)!important;
}

.tema4-body .t1-pro-options button.is-active,
.tema4-body .t1-pro-options button:hover{
    background:#fff!important;
    border-color:#fff!important;
    color:#0d1014!important;
}

.tema4-body .t1-pro-add-cart{
    background:#fff!important;
    border-color:#fff!important;
    color:#0d1014!important;
}

.tema4-body .t1-pro-buy-now{
    background:#1b2330!important;
    border-color:#2f3a4a!important;
    color:#fff!important;
}

.tema4-body .t1-pro-favorite-form button,
.tema4-body .t1-pro-side-action{
    background:var(--t4-surface-2)!important;
    border-color:var(--t4-border)!important;
    color:var(--t4-text)!important;
}

.tema4-body .t1-pro-accessories,
.tema4-body .t1-pro-accessories label,
.tema4-body .t1-pro-accessory-total{
    background:var(--t4-surface)!important;
    border-color:var(--t4-border)!important;
    color:var(--t4-text)!important;
}

.tema4-body .t1-pro-accessories label span,
.tema4-body .t1-pro-accessories label b,
.tema4-body .t1-pro-accessory-total b{
    color:var(--t4-text)!important;
}

.tema4-body .t1-pro-tab-head{
    background:var(--t4-surface)!important;
    border-color:var(--t4-border)!important;
}

.tema4-body .t1-pro-tab-head button{
    background:transparent!important;
    border-color:transparent!important;
    color:var(--t4-muted)!important;
}

.tema4-body .t1-pro-tab-head button.is-active,
.tema4-body .t1-pro-tab-head button:hover{
    color:#fff!important;
    border-bottom-color:#fff!important;
}

.tema4-body .t1-pro-tab-content,
.tema4-body .t1-pro-tab-content p,
.tema4-body .t1-pro-tab-content li,
.tema4-body .t1-pro-tab-content strong,
.tema4-body .t1-pro-tab-content h2,
.tema4-body .t1-pro-tab-content h3,
.tema4-body .t1-pro-tab-content h4{
    color:var(--t4-text)!important;
}

.tema4-body .t1-pro-installment-matrix{
    background:var(--t4-surface)!important;
    border-color:var(--t4-border)!important;
}

.tema4-body .t1-pro-installment-matrix-logos,
.tema4-body .t1-pro-installment-matrix-lines,
.tema4-body .t1-pro-installment-matrix-row,
.tema4-body .t1-pro-installment-matrix-logo,
.tema4-body .t1-pro-installment-matrix-cell{
    background:var(--t4-surface)!important;
    border-color:var(--t4-border)!important;
}

.tema4-body .t1-pro-installment-matrix-logo{
    background:#fff!important;
}

.tema4-body .t1-pro-installment-matrix-cell span,
.tema4-body .t1-pro-installment-matrix-cell b,
.tema4-body .t1-pro-installment-matrix-cell em{
    color:var(--t4-text)!important;
}

.tema4-body .t1-pro-installment-matrix-cell em{
    color:var(--t4-muted)!important;
}

.tema4-body .t1-review-card,
.tema4-body .t1-review-form,
.tema4-body .t1-question-card,
.tema4-body .t1-question-box,
.tema4-body .t1-answer-box,
.tema4-body .t1-question-empty,
.tema4-body .t1-pro-feature-grid > *{
    background:var(--t4-surface)!important;
    border-color:var(--t4-border)!important;
    color:var(--t4-text)!important;
}

.tema4-body .t1-review-form input,
.tema4-body .t1-review-form textarea,
.tema4-body .t1-question-form input,
.tema4-body .t1-question-form textarea{
    background:var(--t4-surface-2)!important;
    border-color:var(--t4-border)!important;
    color:var(--t4-text)!important;
}

.tema4-body .t1-review-card p,
.tema4-body .t1-question-box p,
.tema4-body .t1-answer-box p{
    color:var(--t4-muted)!important;
}

.tema4-body .t1-pro-thumb-row button{
    background:var(--t4-surface)!important;
    border-color:var(--t4-border)!important;
}

.tema4-body .t1-pro-thumb-row button.is-active{
    border-color:#fff!important;
}

.tema4-body .t1-pro-main-photo{
    background:var(--t4-surface-2)!important;
    border-color:var(--t4-border)!important;
}

/* Ürün görselinin kendisi ve banka logoları özgün renklerini korur. */
.tema4-body .t1-pro-main-photo img,
.tema4-body .t1-pro-thumb-row img,
.tema4-body .t1-pro-installment-matrix-logo img{
    filter:none!important;
}


/* ===== Tema 4 kategori filtre alanı gerçek sınıf düzeltmesi ===== */
.tema4-body .t1-category-filter{
    background:var(--t4-surface)!important;
    border:1px solid var(--t4-border)!important;
    color:var(--t4-text)!important;
    box-shadow:none!important;
}

.tema4-body .t1-category-filter-head{
    background:transparent!important;
    border-bottom:1px solid var(--t4-border)!important;
    color:var(--t4-text)!important;
}

.tema4-body .t1-category-filter-head strong{
    color:var(--t4-text)!important;
}

.tema4-body .t1-category-filter-head a{
    color:var(--t4-muted)!important;
}

.tema4-body .t1-category-filter-group{
    background:transparent!important;
    border-bottom:1px solid var(--t4-border)!important;
}

.tema4-body .t1-category-filter-group:last-child{
    border-bottom:0!important;
}

.tema4-body .t1-category-filter-title{
    color:var(--t4-text)!important;
}

.tema4-body .t1-category-filter-list{
    background:transparent!important;
}

.tema4-body .t1-category-filter-list a{
    background:var(--t4-surface-2)!important;
    border:1px solid var(--t4-border)!important;
    color:var(--t4-text)!important;
    box-shadow:none!important;
}

.tema4-body .t1-category-filter-list a span{
    color:inherit!important;
}

.tema4-body .t1-category-filter-list a:hover{
    background:var(--t4-surface-3)!important;
    border-color:var(--t4-border-strong)!important;
    color:#fff!important;
}

.tema4-body .t1-category-filter-list a.is-active{
    background:#fff!important;
    border-color:#fff!important;
    color:#0d1014!important;
}

.tema4-body .t1-category-mobile-filter-toggle{
    background:var(--t4-surface)!important;
    border-color:var(--t4-border)!important;
    color:var(--t4-text)!important;
}

.tema4-body .t1-category-filter-backdrop{
    background:rgba(0,0,0,.68)!important;
}


/* ===== Tema 4 user hesap sayfası gerçek sınıf eşleştirmeleri ===== */
.tema4-body .ka-user-page,
.tema4-body .ka-user-shell,
.tema4-body .ka-user-card,
.tema4-body .ka-orders-panel,
.tema4-body .ka-parapuan-panel,
.tema4-body .ka-favorites-panel,
.tema4-body .ka-address-panel,
.tema4-body .ka-message-panel,
.tema4-body .ka-account-info-panel{
    background:var(--t4-bg)!important;
    color:var(--t4-text)!important;
}

.tema4-body .ka-user-side,
.tema4-body .ka-user-card,
.tema4-body .ka-orders-panel,
.tema4-body .ka-parapuan-panel,
.tema4-body .ka-favorites-panel,
.tema4-body .ka-address-panel,
.tema4-body .ka-message-panel,
.tema4-body .ka-account-info-panel,
.tema4-body .ka-account-info-card,
.tema4-body .ka-user-stat,
.tema4-body .ka-order-card,
.tema4-body .ka-order-detail-box,
.tema4-body .ka-order-package-track-card,
.tema4-body .ka-order-item,
.tema4-body .ka-parapuan-summary-card,
.tema4-body .ka-favorite-item,
.tema4-body .ka-address-item,
.tema4-body .ka-message-ticket,
.tema4-body .ka-message-detail,
.tema4-body .ka-panel-message-ticket,
.tema4-body .ka-panel-message-detail,
.tema4-body .ka-thread-message,
.tema4-body .ka-account-modal-box,
.tema4-body .ka-cargo-modal-dialog{
    background:var(--t4-surface)!important;
    border-color:var(--t4-border)!important;
    color:var(--t4-text)!important;
    box-shadow:none!important;
}

.tema4-body .ka-user-head,
.tema4-body .ka-orders-top,
.tema4-body .ka-parapuan-top,
.tema4-body .ka-message-top,
.tema4-body .ka-account-info-top,
.tema4-body .ka-order-card-head,
.tema4-body .ka-message-ticket-head,
.tema4-body .ka-message-detail-head,
.tema4-body .ka-cargo-modal-head{
    background:transparent!important;
    border-color:var(--t4-border)!important;
    color:var(--t4-text)!important;
}

.tema4-body .ka-user-page h1,
.tema4-body .ka-user-page h2,
.tema4-body .ka-user-page h3,
.tema4-body .ka-user-page h4,
.tema4-body .ka-user-page strong,
.tema4-body .ka-user-page b,
.tema4-body .ka-user-page label{
    color:var(--t4-text)!important;
}

.tema4-body .ka-user-page p,
.tema4-body .ka-user-page small,
.tema4-body .ka-user-page .muted,
.tema4-body .ka-order-refund-text,
.tema4-body .ka-order-package-delivered-date,
.tema4-body .ka-order-package-product-name,
.tema4-body .ka-account-check-message{
    color:var(--t4-muted)!important;
}

/* Sol menü ve sekmeler */
.tema4-body .ka-user-side a,
.tema4-body .ka-orders-tab,
.tema4-body .ka-message-tab-btn{
    background:var(--t4-surface-2)!important;
    border-color:var(--t4-border)!important;
    color:var(--t4-text)!important;
}

.tema4-body .ka-user-side a:hover,
.tema4-body .ka-orders-tab:hover,
.tema4-body .ka-message-tab-btn:hover{
    background:var(--t4-surface-3)!important;
    color:#fff!important;
}

.tema4-body .ka-user-side a.is-active,
.tema4-body .ka-orders-tab.is-active,
.tema4-body .ka-message-tab-btn.is-active{
    background:#fff!important;
    border-color:#fff!important;
    color:#0d1014!important;
}

.tema4-body .ka-user-side-badge{
    background:#fff!important;
    color:#0d1014!important;
}

/* Form alanları */
.tema4-body .ka-user-page input,
.tema4-body .ka-user-page select,
.tema4-body .ka-user-page textarea{
    background:var(--t4-surface-2)!important;
    border-color:var(--t4-border)!important;
    color:var(--t4-text)!important;
}

.tema4-body .ka-user-page input::placeholder,
.tema4-body .ka-user-page textarea::placeholder{
    color:var(--t4-muted)!important;
}

.tema4-body .ka-user-page input:focus,
.tema4-body .ka-user-page select:focus,
.tema4-body .ka-user-page textarea:focus{
    border-color:#fff!important;
    box-shadow:0 0 0 2px rgba(255,255,255,.08)!important;
    outline:none!important;
}

/* İç panel ayraçları */
.tema4-body .ka-user-grid,
.tema4-body .ka-account-info-grid,
.tema4-body .ka-order-summary-grid,
.tema4-body .ka-order-detail-grid,
.tema4-body .ka-message-layout,
.tema4-body .ka-message-list,
.tema4-body .ka-message-thread,
.tema4-body .ka-address-list,
.tema4-body .ka-orders-list{
    border-color:var(--t4-border)!important;
}

.tema4-body .ka-order-accordion-body,
.tema4-body .ka-message-create-form,
.tema4-body .ka-message-reply-form,
.tema4-body .ka-account-info-card form{
    background:var(--t4-surface)!important;
    border-color:var(--t4-border)!important;
    color:var(--t4-text)!important;
}

/* Butonlar */
.tema4-body .ka-user-page button,
.tema4-body .ka-user-page .button,
.tema4-body .ka-message-new-btn,
.tema4-body .ka-panel-message-button,
.tema4-body .ka-favorite-cart-btn,
.tema4-body .ka-order-cargo-track-btn,
.tema4-body .ka-cargo-external-track{
    border-color:var(--t4-border)!important;
}

.tema4-body .ka-order-accordion-toggle,
.tema4-body .ka-message-new-btn,
.tema4-body .ka-panel-message-button,
.tema4-body .ka-favorite-cart-btn,
.tema4-body .ka-order-cargo-track-btn,
.tema4-body .ka-cargo-external-track{
    background:#fff!important;
    color:#0d1014!important;
}

.tema4-body .ka-address-item-actions button,
.tema4-body .ka-order-card-actions button,
.tema4-body .ka-message-form-actions button{
    background:var(--t4-surface-2)!important;
    color:var(--t4-text)!important;
    border-color:var(--t4-border)!important;
}

/* Bildirim ve boş durumlar */
.tema4-body .ka-alert,
.tema4-body .ka-orders-alert,
.tema4-body .ka-parapuan-alert,
.tema4-body .ka-favorites-alert,
.tema4-body .ka-address-alert,
.tema4-body .ka-message-alert,
.tema4-body .ka-account-alert,
.tema4-body .ka-user-empty{
    background:var(--t4-surface-2)!important;
    border-color:var(--t4-border)!important;
    color:var(--t4-text)!important;
}

/* Sipariş / kargo ayrıntıları */
.tema4-body .ka-order-package-track-main,
.tema4-body .ka-order-package-track-products,
.tema4-body .ka-cargo-package-view,
.tema4-body .ka-cargo-company-line,
.tema4-body .ka-cargo-steps,
.tema4-body .ka-cargo-movement-list,
.tema4-body .ka-cargo-movement-row{
    background:transparent!important;
    border-color:var(--t4-border)!important;
    color:var(--t4-text)!important;
}

.tema4-body .ka-cargo-step{
    background:var(--t4-surface-2)!important;
    border-color:var(--t4-border)!important;
    color:var(--t4-text)!important;
}

/* Modal arka planları */
.tema4-body .ka-account-modal-backdrop,
.tema4-body .ka-cargo-modal-backdrop{
    background:rgba(0,0,0,.72)!important;
}

.tema4-body .ka-account-modal-close,
.tema4-body .ka-cargo-modal-close{
    background:var(--t4-surface-2)!important;
    border-color:var(--t4-border)!important;
    color:var(--t4-text)!important;
}

/* Favori ürün görselleri ve panel mesaj görselleri özgün kalır */
.tema4-body .ka-favorite-item img,
.tema4-body .ka-panel-message-image,
.tema4-body .ka-cargo-generic-logo{
    filter:none!important;
}


/* ===== Tema 4 Favorilerim ve Para Puan sekmeleri kesin düzeltme ===== */

/* Para Puan */
.tema4-body .ka-parapuan-panel{
    background:var(--t4-bg)!important;
    color:var(--t4-text)!important;
}

.tema4-body .ka-parapuan-top,
.tema4-body .ka-parapuan-list-head{
    background:transparent!important;
    border-color:var(--t4-border)!important;
    color:var(--t4-text)!important;
}

.tema4-body .ka-parapuan-top strong,
.tema4-body .ka-parapuan-list-head strong,
.tema4-body .ka-parapuan-summary-card strong,
.tema4-body .ka-parapuan-item strong,
.tema4-body .ka-parapuan-item b{
    color:var(--t4-text)!important;
}

.tema4-body .ka-parapuan-top span,
.tema4-body .ka-parapuan-list-head span,
.tema4-body .ka-parapuan-summary-card span,
.tema4-body .ka-parapuan-item span,
.tema4-body .ka-parapuan-item small{
    color:var(--t4-muted)!important;
}

.tema4-body .ka-parapuan-summary{
    background:transparent!important;
}

.tema4-body .ka-parapuan-summary-card{
    background:var(--t4-surface)!important;
    border:1px solid var(--t4-border)!important;
    box-shadow:none!important;
}

.tema4-body .ka-parapuan-summary-card.is-available{
    background:linear-gradient(145deg,#17231d,#101813)!important;
    border-color:#315a43!important;
}

.tema4-body .ka-parapuan-summary-card.is-pending{
    background:linear-gradient(145deg,#242019,#17140f)!important;
    border-color:#5a4b31!important;
}

.tema4-body .ka-parapuan-expire-note{
    background:#2a2111!important;
    border-color:#6b572d!important;
    color:#f7f7f5!important;
}

.tema4-body .ka-parapuan-expire-note strong{
    color:#fff!important;
}

.tema4-body .ka-parapuan-expire-note span{
    color:#e7dcc2!important;
}

.tema4-body .ka-parapuan-list{
    background:transparent!important;
}

.tema4-body .ka-parapuan-item{
    background:var(--t4-surface)!important;
    border:1px solid var(--t4-border)!important;
    color:var(--t4-text)!important;
    box-shadow:none!important;
}

.tema4-body .ka-parapuan-item.is-ending{
    background:#241718!important;
    border-color:#6b3437!important;
}

.tema4-body .ka-parapuan-item-main,
.tema4-body .ka-parapuan-item-time{
    background:transparent!important;
    border-color:var(--t4-border)!important;
}

.tema4-body .ka-parapuan-alert{
    background:var(--t4-surface-2)!important;
    border-color:var(--t4-border)!important;
    color:var(--t4-text)!important;
}

/* Favorilerim */
.tema4-body .ka-favorites-panel{
    background:var(--t4-bg)!important;
    color:var(--t4-text)!important;
}

.tema4-body .ka-favorites-top{
    background:transparent!important;
    border-color:var(--t4-border)!important;
    color:var(--t4-text)!important;
}

.tema4-body .ka-favorites-top strong,
.tema4-body .ka-favorites-top b{
    color:var(--t4-text)!important;
}

.tema4-body .ka-favorites-mini-grid{
    background:transparent!important;
}

.tema4-body .ka-favorite-mini-card{
    background:var(--t4-surface)!important;
    border:1px solid var(--t4-border)!important;
    color:var(--t4-text)!important;
    box-shadow:none!important;
    overflow:hidden!important;
}

.tema4-body .ka-favorite-mini-image{
    background:var(--t4-surface-2)!important;
    border-color:var(--t4-border)!important;
}

.tema4-body .ka-favorite-mini-image img{
    filter:none!important;
}

.tema4-body .ka-favorite-mini-image > span{
    color:var(--t4-muted)!important;
}

.tema4-body .ka-favorite-mini-image > b{
    background:#b91c1c!important;
    color:#fff!important;
}

.tema4-body .ka-favorite-mini-body{
    background:transparent!important;
    border-color:var(--t4-border)!important;
}

.tema4-body .ka-favorite-mini-body a,
.tema4-body .ka-favorite-mini-body strong{
    color:var(--t4-text)!important;
}

.tema4-body .ka-favorite-mini-body small{
    color:var(--t4-muted)!important;
}

.tema4-body .ka-favorite-mini-actions{
    background:transparent!important;
    border-top:1px solid var(--t4-border)!important;
}

.tema4-body .ka-favorite-cart-btn{
    background:#fff!important;
    border-color:#fff!important;
    color:#0d1014!important;
}

.tema4-body .ka-favorite-cart-btn.is-disabled{
    background:#262b33!important;
    border-color:#343b46!important;
    color:#7f8791!important;
}

.tema4-body .ka-favorite-mini-actions button{
    background:var(--t4-surface-2)!important;
    border-color:var(--t4-border)!important;
    color:var(--t4-text)!important;
}

.tema4-body .ka-favorites-alert{
    background:var(--t4-surface-2)!important;
    border-color:var(--t4-border)!important;
    color:var(--t4-text)!important;
}


/* ===== Tema 4 sepet sayfası gerçek sınıf eşleştirmeleri ===== */
.tema4-body.ka-sepet-body,
.tema4-body .ka-sepet-page,
.tema4-body .ka-sepet-shell,
.tema4-body .ka-sepet-main,
.tema4-body .ka-sepet-aside{
    background:var(--t4-bg)!important;
    color:var(--t4-text)!important;
}

.tema4-body .ka-sepet-card,
.tema4-body .ka-sepet-summary,
.tema4-body .ka-sepet-free,
.tema4-body .ka-sepet-empty,
.tema4-body .ka-sepet-loading{
    background:var(--t4-surface)!important;
    border-color:var(--t4-border)!important;
    color:var(--t4-text)!important;
    box-shadow:none!important;
}

.tema4-body .ka-sepet-card h1,
.tema4-body .ka-sepet-card h2,
.tema4-body .ka-sepet-card h3,
.tema4-body .ka-sepet-card-head h2,
.tema4-body .ka-sepet-card strong,
.tema4-body .ka-sepet-summary h2{
    color:var(--t4-text)!important;
}

.tema4-body .ka-sepet-card p,
.tema4-body .ka-sepet-card-head p,
.tema4-body .ka-sepet-empty,
.tema4-body .ka-sepet-loading{
    color:var(--t4-muted)!important;
}

/* Ücretsiz kargo uyarısı */
.tema4-body .ka-sepet-free{
    background:#122019!important;
    border-color:#315a43!important;
}

.tema4-body .ka-sepet-free p{
    color:#d9f5e3!important;
}

.tema4-body .ka-sepet-free-bar{
    background:#26362d!important;
}

.tema4-body .ka-sepet-free-bar span{
    background:#5fd18a!important;
}

/* Sepet ürün satırları */
.tema4-body .ka-sepet-item{
    background:var(--t4-surface)!important;
    border-color:var(--t4-border)!important;
    color:var(--t4-text)!important;
}

.tema4-body .ka-sepet-item-img{
    background:var(--t4-surface-2)!important;
    color:var(--t4-muted)!important;
}

.tema4-body .ka-sepet-item-img img{
    filter:none!important;
}

.tema4-body .ka-sepet-item-title{
    color:var(--t4-text)!important;
}

.tema4-body .ka-sepet-item-meta,
.tema4-body .ka-sepet-item-price span{
    color:var(--t4-muted)!important;
}

.tema4-body .ka-sepet-item-price strong{
    color:var(--t4-text)!important;
}

.tema4-body .ka-sepet-item-warnings{
    color:#f5c76b!important;
}

.tema4-body .ka-sepet-qty button,
.tema4-body .ka-sepet-qty input{
    background:var(--t4-surface-2)!important;
    border-color:var(--t4-border)!important;
    color:var(--t4-text)!important;
}

.tema4-body .ka-sepet-remove{
    background:#32191c!important;
    color:#ffb4b9!important;
    border:1px solid #6b3437!important;
}

/* Kupon ve para puan alanları */
.tema4-body .ka-sepet-inline-form input,
.tema4-body .ka-sepet-point-input,
.tema4-body .ka-sepet-note{
    background:var(--t4-surface-2)!important;
    border-color:var(--t4-border)!important;
    color:var(--t4-text)!important;
}

.tema4-body .ka-sepet-inline-form input::placeholder,
.tema4-body .ka-sepet-point-input::placeholder,
.tema4-body .ka-sepet-note::placeholder{
    color:var(--t4-muted)!important;
}

.tema4-body .ka-sepet-inline-form button{
    background:#fff!important;
    color:#0d1014!important;
    border-color:#fff!important;
}

.tema4-body .ka-sepet-inline-form button.is-light{
    background:var(--t4-surface-2)!important;
    color:var(--t4-text)!important;
    border-color:var(--t4-border)!important;
}

.tema4-body .ka-sepet-point-info{
    color:var(--t4-muted)!important;
}

.tema4-body .ka-sepet-form-message.is-ok,
.tema4-body .ka-sepet-summary-message.is-ok{
    color:#8fe0ac!important;
}

.tema4-body .ka-sepet-form-message.is-error,
.tema4-body .ka-sepet-summary-message.is-error{
    color:#ff9da4!important;
}

/* Sipariş özeti */
.tema4-body .ka-sepet-summary-rows div{
    color:var(--t4-muted)!important;
}

.tema4-body .ka-sepet-summary-rows strong,
.tema4-body .ka-sepet-summary-total span,
.tema4-body .ka-sepet-summary-total strong{
    color:var(--t4-text)!important;
}

.tema4-body .ka-sepet-summary-total{
    border-color:var(--t4-border)!important;
}

.tema4-body .ka-sepet-summary-campaign-name{
    color:var(--t4-muted)!important;
}

.tema4-body .ka-sepet-earn{
    background:#122019!important;
    border-color:#315a43!important;
    color:#d9f5e3!important;
}

.tema4-body .ka-sepet-installment-limit{
    background:#151d2a!important;
    border-color:#30496a!important;
    color:#c9dcff!important;
}

.tema4-body .ka-sepet-btn{
    background:#fff!important;
    color:#0d1014!important;
    border-color:#fff!important;
}

.tema4-body .ka-sepet-btn-light{
    background:var(--t4-surface-2)!important;
    color:var(--t4-text)!important;
    border-color:var(--t4-border)!important;
}

/* Önerilen ürünler */
.tema4-body .ka-sepet-recommend-item{
    background:var(--t4-surface)!important;
    border-color:var(--t4-border)!important;
    color:var(--t4-text)!important;
}

.tema4-body .ka-sepet-recommend-img{
    background:var(--t4-surface-2)!important;
}

.tema4-body .ka-sepet-recommend-img img{
    filter:none!important;
}

.tema4-body .ka-sepet-recommend-img span{
    color:var(--t4-muted)!important;
}

.tema4-body .ka-sepet-recommend-title,
.tema4-body .ka-sepet-recommend-price{
    color:var(--t4-text)!important;
}

.tema4-body .ka-sepet-recommend-cart-btn{
    background:#fff!important;
    color:#0d1014!important;
}

/* Genel küçük butonlar */
.tema4-body .ka-sepet-small-btn{
    background:var(--t4-surface-2)!important;
    border-color:var(--t4-border)!important;
    color:var(--t4-text)!important;
}

.tema4-body .ka-sepet-small-btn:hover,
.tema4-body .ka-sepet-inline-form button.is-light:hover,
.tema4-body .ka-sepet-btn-light:hover{
    background:var(--t4-surface-3)!important;
    color:#fff!important;
}

/* Mobil görünümde renklerin geri beyaza dönmesini engelle */
@media(max-width:680px){
    .tema4-body .ka-sepet-card,
    .tema4-body .ka-sepet-item,
    .tema4-body .ka-sepet-summary,
    .tema4-body .ka-sepet-recommend-item{
        background:var(--t4-surface)!important;
        border-color:var(--t4-border)!important;
    }
}

/* ===== Tema 4 user ikon açılır menü renk düzeltmesi ===== */
.tema4-body .t4-tool-user .ka-user-popover{
    background:var(--t4-surface)!important;
    border-color:var(--t4-border)!important;
    color:var(--t4-text)!important;
    box-shadow:0 18px 42px rgba(0,0,0,.48)!important;
}

.tema4-body .t4-tool-user .ka-user-popover,
.tema4-body .t4-tool-user .ka-user-popover div,
.tema4-body .t4-tool-user .ka-user-popover span,
.tema4-body .t4-tool-user .ka-user-popover strong,
.tema4-body .t4-tool-user .ka-user-popover b,
.tema4-body .t4-tool-user .ka-user-popover p,
.tema4-body .t4-tool-user .ka-user-popover small,
.tema4-body .t4-tool-user .ka-user-popover a,
.tema4-body .t4-tool-user .ka-user-popover button{
    color:var(--t4-text)!important;
}

.tema4-body .t4-tool-user .ka-user-popover a,
.tema4-body .t4-tool-user .ka-user-popover button{
    background:transparent!important;
    border-color:var(--t4-border)!important;
}

.tema4-body .t4-tool-user .ka-user-popover a:hover,
.tema4-body .t4-tool-user .ka-user-popover button:hover{
    background:var(--t4-surface-2)!important;
    color:#fff!important;
}

.tema4-body .t4-tool-user .ka-user-popover hr{
    border-color:var(--t4-border)!important;
}


/* ===== Tema 4 admin panel koyu ton seçimi ===== */
.tema4-body,
.tema4-body main,
.tema4-body .t4-page,
.tema4-body .t1-category-page,
.tema4-body .t1-category-main,
.tema4-body .t1-category-content,
.tema4-body .t1-category-products,
.tema4-body .t1-product-page,
.tema4-body .t1-product-detail,
.tema4-body .t1-product-detail-page,
.tema4-body .t1-pro-detail-shell,
.tema4-body .t1-pro-gallery,
.tema4-body .t1-pro-info,
.tema4-body .t1-pro-tabs,
.tema4-body .t1-pro-tab-content,
.tema4-body .ka-user-page,
.tema4-body .ka-user-shell,
.tema4-body .ka-orders-panel,
.tema4-body .ka-parapuan-panel,
.tema4-body .ka-favorites-panel,
.tema4-body .ka-address-panel,
.tema4-body .ka-message-panel,
.tema4-body .ka-account-info-panel,
.tema4-body.ka-sepet-body,
.tema4-body .ka-sepet-page,
.tema4-body .ka-sepet-shell,
.tema4-body .ka-sepet-main,
.tema4-body .ka-sepet-aside,
.tema4-body .page-wrapper,
.tema4-body .content-wrapper{
    background:var(--t4-page-bg)!important;
    color:var(--t4-text)!important;
}
.tema4-body .t4-header,
.tema4-body .t4-nav-shell,
.tema4-body .t4-footer,
.tema4-body .t1-footer{
    background:var(--t4-header-bg)!important;
    color:var(--t4-text)!important;
}
.tema4-body .t4-sticky-tools{
    background:var(--t4-overlay-bg)!important;
}
.tema4-body .t4-menu .t1-submenu,
.tema4-body .t4-header .t1-mobile-menu-panel,
.tema4-body .t4-header .t1-mobile-menu-head,
.tema4-body .t4-header .t1-mobile-menu-body,
.tema4-body .ka-lang-menu,
.tema4-body .ka-currency-menu,
.tema4-body .ka-cart-popover,
.tema4-body .ka-user-popover,
.tema4-body .t4-search-dialog,
.tema4-body .t4-search-form .t1-search-results,
.tema4-body .t4-search-form [data-ka-search-results],
.tema4-body .t4-search-form .ka-search-results{
    background:var(--t4-surface)!important;
    border-color:var(--t4-border)!important;
    color:var(--t4-text)!important;
}
.tema4-body .t4-header .t1-mobile-menu-row,
.tema4-body .t4-header .t1-mobile-menu-toggle,
.tema4-body .t4-search-form{
    background:var(--t4-surface-2)!important;
    border-color:var(--t4-border)!important;
}
.tema4-body .ka-lang-menu a,
.tema4-body .ka-currency-menu a,
.tema4-body .ka-cart-popover a,
.tema4-body .ka-user-popover a{
    color:var(--t4-text)!important;
}
.tema4-body .ka-lang-menu a:hover,
.tema4-body .ka-lang-menu a.is-active,
.tema4-body .ka-currency-menu a:hover,
.tema4-body .ka-currency-menu a.is-active{
    background:var(--t4-surface-2)!important;
}


/* =========================================================
   TEMA 4 — ANA SAYFA SLIDER YERLEŞİMİ
   Desktop 1920×760 ve mobil 1080×1350 görselleri kendi
   alanına taşmadan, tek slayt halinde ve geçişli gösterir.
   ========================================================= */
.t4-hero-shell{
    position:relative!important;
    display:block!important;
    width:100%!important;
    height:auto!important;
    min-height:0!important;
    max-height:none!important;
    aspect-ratio:1920 / 760!important;
    overflow:hidden!important;
    isolation:isolate!important;
    background:var(--t4-bg)!important;
}

.t4-home-slider,
.t4-home-slider-device{
    position:absolute!important;
    inset:0!important;
    display:block!important;
    width:100%!important;
    height:100%!important;
    min-width:0!important;
    min-height:0!important;
    overflow:hidden!important;
}

.t4-home-slider-device[hidden]{
    display:none!important;
}

.t4-home-slide{
    position:absolute!important;
    inset:0!important;
    display:block!important;
    width:100%!important;
    height:100%!important;
    margin:0!important;
    padding:0!important;
    overflow:hidden!important;
    opacity:0!important;
    visibility:hidden!important;
    pointer-events:none!important;
    transform:scale(1.015)!important;
    transition:
        opacity .8s ease,
        visibility .8s ease,
        transform 1.15s ease!important;
    z-index:1!important;
}

.t4-home-slide.is-active{
    opacity:1!important;
    visibility:visible!important;
    pointer-events:auto!important;
    transform:scale(1)!important;
    z-index:2!important;
}

.t4-home-slide img{
    display:block!important;
    width:100%!important;
    height:100%!important;
    max-width:none!important;
    max-height:none!important;
    margin:0!important;
    padding:0!important;
    object-fit:cover!important;
    object-position:center center!important;
    border:0!important;
}

.t4-home-slider-dots{
    position:absolute!important;
    left:50%!important;
    bottom:18px!important;
    z-index:12!important;
    display:flex!important;
    align-items:center!important;
    justify-content:center!important;
    gap:8px!important;
    transform:translateX(-50%)!important;
}

.t4-home-slider-dots[hidden]{
    display:none!important;
}

.t4-home-slider-dot{
    display:block!important;
    width:9px!important;
    height:9px!important;
    min-width:9px!important;
    min-height:9px!important;
    padding:0!important;
    border:1px solid rgba(255,255,255,.8)!important;
    border-radius:999px!important;
    background:rgba(0,0,0,.35)!important;
    box-shadow:0 2px 8px rgba(0,0,0,.35)!important;
    cursor:pointer!important;
    transition:width .2s ease,background .2s ease!important;
}

.t4-home-slider-dot.is-active{
    width:26px!important;
    background:#fff!important;
}

@media(max-width:760px){
    .t4-hero-shell{
        height:auto!important;
        min-height:0!important;
        max-height:none!important;
        aspect-ratio:1080 / 1350!important;
    }

    .t4-home-slide img{
        object-fit:cover!important;
        object-position:center center!important;
    }

    .t4-home-slider-dots{
        bottom:12px!important;
    }
}


/* =========================================================
   TEMA 4 — ANA SAYFA BANNER
   Desktop 1580×420, mobil 1080×500.
   ========================================================= */
.t4-banner-shell{
    display:block!important;
    width:100%!important;
    min-height:0!important;
    margin:0!important;
    padding:0!important;
    overflow:hidden!important;
}

.t4-home-banner,
.t4-home-banner-link,
.t4-home-banner picture{
    display:block!important;
    width:100%!important;
    margin:0!important;
    padding:0!important;
}

.t4-home-banner{
    position:relative!important;
    aspect-ratio:1580 / 420!important;
    overflow:hidden!important;
    border:1px solid var(--t4-border)!important;
    border-radius:18px!important;
    background:var(--t4-surface)!important;
    box-shadow:0 18px 42px rgba(0,0,0,.24)!important;
}

.t4-home-banner-link{
    height:100%!important;
    color:inherit!important;
    text-decoration:none!important;
}

.t4-home-banner picture{
    height:100%!important;
}

.t4-home-banner img{
    display:block!important;
    width:100%!important;
    height:100%!important;
    max-width:none!important;
    max-height:none!important;
    margin:0!important;
    padding:0!important;
    object-fit:cover!important;
    object-position:center center!important;
    border:0!important;
}

@media(max-width:760px){
    .t4-home-banner{
        aspect-ratio:1080 / 500!important;
        border-radius:12px!important;
    }
}
