/* Mobil hamburger menü stilleri */
.mb-hamburger-btn {
    display: none;
    position: fixed;
    top: 15px;
    left: 15px;
    z-index: 1000;
    background: none;
    border: none;
    font-size: 28px;
    color: #016ca2;
    cursor: pointer;
}

.mb-side-menu {
    position: fixed;
    flex-direction: column;
    top: 0;
    left: 0;
    width: 280px;
    height: 100%;
    background: #fff;
    z-index: 1999;
    transform: translateX(-100%);
    transition: transform 0.3s ease;
    visibility: hidden;
    box-shadow: 2px 0 10px rgba(0, 0, 0, 0.1);
}

.mb-side-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1998;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease;
}

.mb-side-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px;
    border-bottom: 1px solid #eee;
    background: #f8f9fa;
    border-radius: 5px 5px 0 0;
}

.mb-close-btn {
    border: none;
    background: none;
    font-size: 20px;
    color: #666;
    cursor: pointer;
    padding: 5px;
}

.mb-nav-list {
    list-style: none;
    padding: 0;
    margin: 0;
    overflow-y: auto;
    height: calc(100% - 60px);
    flex-direction: column;
}

.mb-nav-item {
    border-bottom: 1px solid #eee;
}

.mb-nav-item a {
    display: flex;
    align-items: center;
    padding: 15px;
    color: #333;
    text-decoration: none;
    font-size: 14px;
}

.mb-nav-item i {
    margin-right: 10px;
    width: 20px;
    text-align: center;
}

/* Açık durumlar */
.mb-side-menu--open {
    transform: translateX(0);
    visibility: visible;
}

.mb-side-overlay--visible {
    opacity: 1;
    visibility: visible;
}



/* Alt Navigasyon */
.mnav__bottom-navigation {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #ffffff;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
    display: flex;
    justify-content: space-around;
    padding: 10px 0;
    z-index: 1000;
}

.mnav__menu-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    color: #666;
    font-size: 12px;
    cursor: pointer;
}

.mnav__menu-icon {
    font-size: 20px;
    margin-bottom: 4px;
}

.mnav__menu-text {
    display: block;
    text-align: center;
}

.mnav__menu-item--active {
    color: #007bff;
}

/* Yan Menü */
.mnav__side-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 280px;
    height: 100%;
    background: #fff;
    z-index: 1999;
    transform: translateX(-100%);
    transition: transform 0.3s ease;
    visibility: hidden;
    display: flex !important;
    flex-direction: column !important;
}

.mnav__side-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1998;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease;
}

.mnav__side-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px;
    border-bottom: 1px solid #eee;
    width: 100%;
}

.mnav__close-btn {
    border: none;
    background: none;
    font-size: 20px;
    color: #666;
    cursor: pointer;
    padding: 5px;
}

.mnav__category-list {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
    overflow-y: auto;
    height: calc(100% - 60px);
    display: block !important;
    width: 100% !important;
}

.mnav__category-item {
    border-bottom: 1px solid #eee;
    width: 100% !important;
    display: block !important;
}

.mnav__category-item a {
    display: block !important;
    padding: 15px !important;
    color: #333;
    text-decoration: none;
    width: 100% !important;
    text-align: left !important;
}

.mnav__category-item--active {
    background: #f8f9fa;
}

.mnav__category-item--active a {
    color: #007bff;
}

/* Yan menü açık durumu */
.mnav__side-menu--open {
    transform: translateX(0);
    visibility: visible;
}

.mnav__side-overlay--visible {
    opacity: 1;
    visibility: visible;
}

/* Sağ Yan Sepet Menü Stilleri */
.cart-side-menu {
    position: fixed;
    top: 0;
    right: 0;
    width: 320px;
    height: 100%;
    background: #fff;
    z-index: 1999;
    transform: translateX(100%);
    transition: transform 0.3s ease;
    visibility: hidden;
    display: flex !important;
    flex-direction: column !important;
}

.cart-side-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1998;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease;
}

.cart-side-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px;
    border-bottom: 1px solid #eee;
    width: 100%;
}

.cart-close-btn {
    border: none;
    background: none;
    font-size: 20px;
    color: #666;
    cursor: pointer;
    padding: 5px;
}

.cart-items-wrapper {
    overflow-y: auto;
    flex: 1;
    padding: 15px;
    flex-direction: column;
}

.cart-total-price {
    padding: 15px;
    border-top: 1px solid #eee;
    background: #f8f9fa;
}

/* Yan menü açık durumu */
.cart-side-menu--open {
    transform: translateX(0);
    visibility: visible;
}

.cart-side-overlay--visible {
    opacity: 1;
    visibility: visible;
}

.hi-icon-number {
    position: absolute;
    top: 0;
    right: 0;
    background: #ff0000;
    color: white;
    border-radius: 50%;
    width: 18px;
    height: 18px;
    font-size: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
  
}

/* Sepet ikonu için pozisyon ayarı */
.mnav__menu-item {
    position: relative;
}



@media (min-width: 768px) {
    .mnav__bottom-navigation {
        display: none;
    }
}

@media (max-width: 768px) {
    .mb-hamburger-btn {
        display: block;
    }

    .stw-sidebar-profile {
        display: none;
    }
}
