﻿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: -5px;
    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;
}
/* Sağdan kayan modal için ayarlar */
.modal-right .modal-dialog {
    position: fixed;
    margin: 0;
    height: 100%;
    right: 0;
    top: 0;
    transform: translateX(100%); /* Başlangıçta ekran dışında */
    transition: transform 0.4s ease-in-out; /* Yumuşak geçiş */
    width: 80%;
    max-width: 80%;
}

.modal-right.show .modal-dialog {
    transform: translateX(0); /* Açıldığında ekran içine kayar */
}

.modal-right .modal-content {
    height: 100%;
    border: none;
    border-radius: 0;
}
/* 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 */
}
