/* Masaüstü header */
.fixed-top.headtoppart {
    position: fixed;
    top: -165px!important;
    transform: translateY(165px);
    transition: transform .5s;
    -webkit-transition: transform .5s;
    -moz-transition: transform .5s;
    -ms-transition: transform .5s;
    -o-transition: transform .5s;
    -webkit-transform: translateY(165px);
    -moz-transform: translateY(165px);
    -ms-transform: translateY(165px);
    -o-transform: translateY(165px);
}

.headtoppart {
    position: relative;
    z-index: 3000;
}

.headertopcenter {
    background-color: #1F1F1F;
    color: #fff;
    padding: 10px 0px;
    line-height: 0;
}

.headertopcenter a {
    color: #fff;
    text-decoration: none;
    font-size: 14px;
    margin: 0 10px;
}

/* Mobil header (max-width: 768px ve altı) */
@media screen and (max-width: 768px) {
    /* Mobil wrapper */
    .mobilheader {
        background-color: transparent;
        position: relative;
        z-index: 1000;
        width: 100% !important;
        box-sizing: border-box !important;
        overflow: hidden;
    }

    /* Mobil top alanı (yukarı kayan) */
    .mobil_top {
        width: 100% !important;
        box-sizing: border-box !important;
        overflow: hidden;
        line-height: normal;
    }

    /* Mobil bottom alanı (sabitlenen) */
    .mobil_header_bottom {
        width: 100% !important;
        box-sizing: border-box !important;
        z-index: 3000 !important;
        box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
        line-height: normal;
    }

    /* Mobil bottom fixed olduğunda */
    .mobil_header_bottom.fixed-top {
        position: fixed !important;
        top: 0 !important;
        left: 0 !important;
        right: 0 !important;
        width: 100% !important;
        max-width: 100% !important;
        z-index: 3000 !important;
        transform: none !important;
        transition: top 0.2s ease-out !important;
        box-sizing: border-box !important;
        box-shadow: 0 3px 10px rgba(0, 0, 0, 0.12);
    }

    /* Mobil içindeki logonun sabit kalması */
    .mobil_header_bottom img {
        max-height: 50px !important;
        width: auto !important;
        height: auto !important;
    }

    /* Mobil butonların sabit kalması */
    .mobil_header_bottom button {
        box-sizing: border-box !important;
        color: #1f2937 !important;
        fill: #1f2937 !important;
        display: inline-block !important;
        position: relative !important;
        z-index: 10 !important;
    }

    /* Mobil buton içindeki SVG ve text görünürlüğü */
    .mobil_header_bottom button svg {
        color: #1f2937 !important;
        fill: #1f2937 !important;
        display: block !important;
        opacity: 1 !important;
        visibility: visible !important;
    }

    .mobil_header_bottom button small {
        color: #1f2937 !important;
        opacity: 1 !important;
        visibility: visible !important;
    }

    /* Mobilde sepet ve menü butonlarının kesin görünmesi için */
    .mobil_header_bottom .sepetbtn,
    .mobil_header_bottom .cartBtn,
    .mobil_header_bottom .menubtn {
        display: inline-block !important;
        opacity: 1 !important;
        visibility: visible !important;
        pointer-events: auto !important;
        background: transparent !important;
        color: #1f2937 !important;
        border: none !important;
        padding: 8px !important;
    }

    /* Buton içindeki tüm öğeler görünsün */
    .mobil_header_bottom .sepetbtn *,
    .mobil_header_bottom .cartBtn *,
    .mobil_header_bottom .menubtn * {
        display: block !important;
        opacity: 1 !important;
        visibility: visible !important;
    }
}

.headtoppart {
    z-index: inherit;
}