﻿body {
    padding-top: 85px;
}

.logo-img {
    height: 60px;
    width: auto;
    max-height: 100%;
    display: block;
}
/* Başlangıçta sadece desktop logosu gözükür */
.desktop-logo {
    display: inline-block;
}

.mobile-logo {
    display: none;
}

/* Ekran daraldığında sadece mobile logosu göster */
@media (max-width: 768px) {
    .desktop-logo {
        display: none;
    }

    .mobile-logo {
        display: inline-block;
    }
}

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1050; /* Diğer her şeyin üstünde olsun */
}

.nav-icons {
    display: flex;
    align-items: center;
    gap: 15px;
}

.nav-icon-item {
    position: relative;
    text-align: center;
    font-size: 12px;
}

    .nav-icon-item i {
        font-size: 24px;
        display: block;
        color: var(--bs-primary);
    }

    .nav-icon-item span {
        display: block;
        font-size: 10px;
        font-weight: 700;
        margin-top: 0px;
        color: var(--bs-primary);
    }

.cart-count {
    position: absolute;
    top: -3px;
    right: 0px;
    background-color: var(--bs-success);
    color: black;
    font-size: 10px;
    width: 18px;
    height: 18px;
    line-height: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-weight: 700;
}

.msg-count {
    position: absolute;
    top: -3px;
    left: 12px;
    background-color: var(--bs-success);
    color: black;
    font-size: 10px;
    width: 18px;
    height: 18px;
    line-height: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-weight: 700;
}

/* topbar */
.topbar {
    padding: 5px 0 5px 0;
}

/* toggle */
.navbar-toggler:focus {
    outline: none;
    box-shadow: none;
}
/*cursor*/
.mouse-pointer {
    cursor: pointer;
}
/*nav yüzde*/
.nav-badge-percent {
    position: absolute;
    top: -2px;
    right: -14px;
    background-color: var(--bs-danger); /* İstersen özel renk verebilirsin */
    color: #fff;
    font-size: 1rem;
    font-weight: 700;
    width: 22px;
    height: 22px;
    line-height: 24px;
    text-align: center;
    border-radius: 50%;
    pointer-events: none; /* Tıklanmaz */
}

/* aside menu */
.modal .modal-dialog-aside {
    width: 450px;
    max-width: 80%;
    height: 100%;
    margin: 0;
    -webkit-transform: translate(0);
    transform: translate(0);
    -webkit-transition: -webkit-transform .2s;
    transition: -webkit-transform .2s;
    transition: transform .2s;
    transition: transform .2s,-webkit-transform .2s;
    z-index: 999 !important;
}

    .modal .modal-dialog-aside .modal-content {
        height: inherit;
        border: 0;
        border-radius: 0
    }

        .modal .modal-dialog-aside .modal-content .modal-body {
            overflow-y: auto
        }

.modal.fixed-left .modal-dialog-aside {
    margin-right: auto;
    -webkit-transform: translateX(-100%);
    transform: translateX(-100%)
}

.modal.fixed-right .modal-dialog-aside {
    margin-left: auto;
    -webkit-transform: translateX(100%);
    transform: translateX(100%)
}

.modal.show .modal-dialog-aside {
    -webkit-transform: translateX(0);
    transform: translateX(0)
}

/* aside bottom */
.modal-p-bottom .modal-dialog {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    max-width: 100% !important;
    margin: 0;
    transform: translateY(100%) !important;
}

    .modal-p-bottom .modal-dialog .modal-content {
        border: none;
        border-radius: 0 0 0 0;
    }

.modal-p-bottom.show {
    overflow: hidden;
}

    .modal-p-bottom.show .modal-dialog {
        transform: translateY(0%) !important;
        min-height: 50px;
    }

.bg-light-beige {
    background-color: #ede6e0 !important;
}
.bg-very-light-beige {
    background-color: #f6f3f0 !important;
}

.bg-primary2 {
    background-color: #02bfff !important;
}

.bg-primary2-light {
    background-color: #a1ddff !important;
}

.bg-gradient-primary {
    background: linear-gradient(to bottom, #002bb8, #0059ff);
}

/* Select2 kutusundan border ve shadow kaldırma */
.select2-container--bootstrap-5 .select2-selection {
    border: 1px solid #ede6e0 !important;
    box-shadow: none !important;
}

/* Odaklandığında da mavi glow olmasın */
.select2-container--bootstrap-5.select2-container--focus .select2-selection {
    box-shadow: none !important;
}

/* İsteğe bağlı: arka planı da saydam yapabiliriz */
.select2-container--bootstrap-5 .select2-selection--single {
    background-color: #fff;
}
/* Açılan liste kutusundaki kenarlıkları kaldır */
.select2-container--bootstrap-5 .select2-dropdown {
    border: 1px solid #ede6e0 !important;
    box-shadow: none !important;
}
/* Select2 içindeki arama kutusunun mavi gölgesini kaldır */
.select2-container--bootstrap-5 .select2-search--dropdown .select2-search__field:focus {
    box-shadow: none !important;
    outline: none !important;
}
