/* =====================================
   GLOBAL HEADER THEME
===================================== */

:root {
    --mba-gold: #eea618;
    --mba-gold-light: #fad74b;
    --mba-gold-gradient: linear-gradient(110deg, #fad74b, #eea618) !important;
    --mba-dark: #302300;
    --mba-text: #333333;
    --mba-light-bg: #fffaf0;
}

.mba-main-header,
.mba-header-top {
    font-family: inherit;
}


/* =====================================
   TOP OFFER BAR
===================================== */

.mba-header-top {
    background: var(--mba-dark);
    color: #fff;
    padding: 9px 0;
}

.mba-topbar-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.mba-topbar-offer {
    flex: 1;
    min-width: 0;
}

.mba-offer-marquee {
    display: flex;
    align-items: center;
    gap: 10px;
    overflow: hidden;
    color: #fff;
    font-size: 12px;
    font-weight: 600;
}

.mba-offer-marquee > i {
    color: var(--mba-gold-light);
    flex-shrink: 0;
}

.mba-marquee-text {
    overflow: hidden;
    white-space: nowrap;
}

.mba-marquee-text span {
    display: inline-block;
    animation: mbaOfferScroll 22s linear infinite;
}

@keyframes mbaOfferScroll {
    0% {
        transform: translateX(100%);
    }
    100% {
        transform: translateX(-100%);
    }
}

.mba-topbar-links {
    display: flex;
    align-items: center;
    gap: 22px;
    flex-shrink: 0;
}

.mba-topbar-links a {
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    text-decoration: none;
    text-transform: uppercase;
    transition: color .3s ease;
}

.mba-topbar-links a i {
    color: var(--mba-gold-light);
    margin-right: 5px;
}

.mba-topbar-links a:hover {
    color: var(--mba-gold-light);
}


/* =====================================
   MAIN HEADER
===================================== */

.mba-main-header {
    background: #fff;
    border-bottom: 1px solid #f0e5cc;
    box-shadow: 0 4px 18px rgba(0,0,0,0.045);
    position: relative;
    z-index: 3;
}

.mba-header-inner {
    min-height: 90px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 22px;
}

.mba-desktop-logo {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.mba-desktop-logo img {
    max-width: 175px;
    max-height: 68px;
    object-fit: contain;
}


/* =====================================
   DESKTOP NAVIGATION
===================================== */

.mba-desktop-nav {
    flex: 1;
    display: flex;
    justify-content: center;
}

.mba-desktop-nav .navbar-list {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.mba-desktop-nav .navbar-item {
    margin: 0;
    padding: 0;
}

.mba-desktop-nav .navbar-link {
    display: inline-flex;
    align-items: center;
    padding: 12px 13px;
    border-radius: 8px;
    color: #333;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
    text-transform: capitalize;
    transition: all .3s ease;
}

.mba-desktop-nav .navbar-link:hover {
    background: #fff3ce;
    color: #a36c00;
}


/* =====================================
   SEARCH FORM
===================================== */

.mba-header-search {
    width: 220px;
    min-width: 170px;
    height: 43px;
    display: flex;
    align-items: center;
    border: 1px solid #eadbb9;
    border-radius: 30px;
    overflow: hidden;
    background: #fffaf0;
}

.mba-header-search input {
    width: 100%;
    height: 100%;
    min-width: 0;
    border: 0;
    outline: none;
    background: transparent;
    padding: 0 14px;
    color: #333;
    font-size: 12px;
}

.mba-header-search button {
    height: 43px;
    width: 45px;
    flex-shrink: 0;
    border: 0;
    background: var(--mba-gold-gradient);
    color: #503700;
    font-size: 15px;
    cursor: pointer;
}


/* =====================================
   HEADER WIDGETS
===================================== */

.mba-header-widgets {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 13px;
    flex-shrink: 0;
}

.mba-profile-link,
.mba-login-btn {
    min-height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 8px 13px;
    border-radius: 8px;
    background: #fff5d9;
    color: #745000 !important;
    border: 1px solid #f0dca8;
    font-size: 12px;
    font-weight: 700;
    text-decoration: none;
    transition: all .3s ease;
}

.mba-profile-link i,
.mba-login-btn i {
    font-size: 17px;
}

.mba-profile-link:hover,
.mba-login-btn:hover {
    background: var(--mba-gold-gradient);
    color: #503700 !important;
}

.mba-profile-link::after {
    margin-left: 2px;
}

.mba-profile-menu {
    min-width: 220px;
    padding: 7px;
    border: 1px solid #f0e5cc;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.12);
}

.mba-profile-email {
    padding: 12px;
    border-bottom: 1px solid #eee5d4;
    overflow-wrap: anywhere;
}

.mba-profile-email small {
    display: block;
    color: #888;
    font-size: 11px;
}

.mba-profile-email strong {
    color: #333;
    font-size: 12px;
}

.mba-profile-menu .dropdown-item {
    padding: 10px;
    border-radius: 7px;
    color: #444;
    font-size: 12px;
    font-weight: 600;
}

.mba-profile-menu .dropdown-item i {
    width: 20px;
    color: #c58a0b;
}

.mba-profile-menu .dropdown-item:hover {
    background: #fff4d5;
}

.mba-profile-menu .mba-logout,
.mba-profile-menu .mba-logout i {
    color: #d34b42;
}


/* LOCATION */

.mba-header-widgets .location-box,
.mba-mobile-header-left .location-box {
    display: flex;
    align-items: center;
    gap: 7px;
    padding: 10px 12px;
    border: 1px solid #eadbb9;
    border-radius: 8px;
    background: #fffaf0;
    color: #755100;
    font-size: 11px;
    font-weight: 700;
    cursor: pointer;
    white-space: nowrap;
    transition: all .3s ease;
}

.mba-header-widgets .location-box:hover,
.mba-mobile-header-left .location-box:hover {
    border-color: #eea618;
    background: #fff3ce;
}

.mba-header-widgets .location-box > i:first-child,
.mba-mobile-header-left .location-box > i:first-child {
    color: #c58a0b;
}


/* CART */

.mba-cart-btn {
    width: 43px;
    height: 43px;
    min-width: 43px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    border-radius: 10px;
    background: var(--mba-gold-gradient);
    color: #503700 !important;
    font-size: 18px;
    text-decoration: none;
    transition: all .3s ease;
}

.mba-cart-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(238,166,24,0.25);
}

.mba-cart-btn sup {
    position: absolute;
    top: -12px;
    right: 0px;
    min-width: 15px;
    height: 25px;
    padding: 2px 4px;
    border-radius: 50%;
    background: #302300;
    color: #fff;
    font-size: 10px;
    font-weight: 800;
    text-align: center;
}


/* =====================================
   MOBILE HEADER
===================================== */

.mba-mobile-header-left {
    display: none;
}

.mba-mobile-logo img {
    max-width: 125px;
    max-height: 48px;
    object-fit: contain;
}

.mba-menu-toggle,
.mba-search-toggle {
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 0;
    border-radius: 9px;
    background: #fff3ce;
    color: #795400;
    font-size: 17px;
}

.mba-mobile-search-box {
    display: none;
    padding: 0 0 12px;
}

.mba-mobile-search-box form {
    height: 42px;
    display: flex;
    border: 1px solid #eadbb9;
    border-radius: 30px;
    overflow: hidden;
    background: #fffaf0;
}

.mba-mobile-search-box input {
    flex: 1;
    min-width: 0;
    border: 0;
    outline: none;
    background: transparent;
    padding: 0 15px;
    font-size: 12px;
}

.mba-mobile-search-box button {
    width: 45px;
    border: 0;
    background: var(--mba-gold-gradient);
    color: #503700;
}


/* =====================================
   CATEGORY SIDEBAR
===================================== */

.mba-category-sidebar {
    background: #fff;
    box-shadow: 5px 0 25px rgba(0,0,0,0.12);
}

.mba-category-sidebar .category-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 19px;
    background: var(--mba-gold-gradient);
}

.mba-category-sidebar .category-title {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0;
    color: #503700;
    font-size: 16px;
    font-weight: 800;
}

.mba-category-sidebar .category-close {
    width: 32px;
    height: 32px;
    border: 0;
    border-radius: 50%;
    background: rgba(255,255,255,0.65);
    color: #503700;
}

.mba-category-sidebar .category-list {
    padding: 12px;
}

.mba-category-sidebar .category-item {
    border-bottom: 1px solid #f1eadb;
}

.mba-category-sidebar .category-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 13px 10px;
    color: #333;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
    transition: all .3s ease;
}

.mba-category-sidebar .category-link:hover {
    color: #a36c00;
    background: #fff7e4;
    border-radius: 7px;
}

.mba-category-sidebar .dropdown-list {
    padding: 0 0 8px 15px;
}

.mba-category-sidebar .dropdown-list a {
    display: block;
    padding: 8px;
    color: #777;
    font-size: 12px;
    text-decoration: none;
}

.mba-category-sidebar .dropdown-list a:hover {
    color: #bd8100;
}


/* =====================================
   MOBILE NAV SIDEBAR
===================================== */

.mba-nav-sidebar {
    background: #fff;
    box-shadow: 5px 0 25px rgba(0,0,0,0.13);
}

.mba-nav-sidebar .nav-header {
    min-height: 75px;
    padding: 13px 18px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: var(--mba-gold-gradient);
}

.mba-nav-sidebar .nav-header img {
    max-width: 140px;
    max-height: 50px;
    object-fit: contain;
}

.mba-nav-sidebar .nav-close {
    width: 35px;
    height: 35px;
    border: 0;
    border-radius: 50%;
    background: rgba(255,255,255,0.7);
    color: #503700;
}

.mba-nav-sidebar .nav-profile {
    text-align: center;
    padding: 25px 15px;
    background: #fffaf0;
    border-bottom: 1px solid #f0e5cc;
}

.mba-nav-sidebar .nav-user {
    display: inline-flex;
    width: 55px;
    height: 55px;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--mba-gold-gradient);
    color: #503700;
    font-size: 28px;
}

.mba-nav-sidebar .nav-name {
    margin: 10px 0 0;
    font-size: 15px;
    font-weight: 800;
}

.mba-nav-sidebar .nav-name a {
    color: #333;
    text-decoration: none;
}

.mba-sidebar-account {
    display: inline-block;
    margin-top: 10px;
    color: #a36c00;
    font-size: 12px;
    font-weight: 700;
    text-decoration: none;
}

.mba-nav-sidebar .nav-list {
    padding: 12px 15px;
}

.mba-nav-sidebar .nav-list li {
    border-bottom: 1px solid #f1eadb;
}

.mba-nav-sidebar .nav-list .nav-link {
    display: flex;
    align-items: center;
    gap: 11px;
    padding: 13px 9px;
    color: #444;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
    transition: all .3s ease;
}

.mba-nav-sidebar .nav-list .nav-link i {
    width: 19px;
    color: #c58a0b;
}

.mba-nav-sidebar .nav-list .nav-link:hover {
    padding-left: 14px;
    color: #a36c00;
    background: #fff7e4;
    border-radius: 7px;
}

.mba-nav-sidebar .nav-info-group {
    padding: 15px;
    background: #fffaf0;
}

.mba-nav-sidebar .nav-info {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 0;
}

.mba-nav-sidebar .nav-info > i {
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    border-radius: 10px;
    background: var(--mba-gold-gradient);
    color: #503700;
    font-size: 16px;
}

.mba-nav-sidebar .nav-info p {
    margin: 0;
    min-width: 0;
}

.mba-nav-sidebar .nav-info small {
    display: block;
    color: #999;
    font-size: 10px;
    text-transform: uppercase;
}

.mba-nav-sidebar .nav-info span {
    display: block;
    color: #333;
    font-size: 12px;
    font-weight: 700;
    overflow-wrap: anywhere;
}


/* =====================================
   MOBILE BOTTOM MENU
===================================== */

.mba-mobile-menu {
    display: none;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 999;
    height: 65px;
    padding: 5px 4px;
    align-items: center;
    justify-content: space-around;
    background: #fff;
    border-top: 1px solid #eee2c8;
    box-shadow: 0 -4px 18px rgba(0,0,0,0.08);
}

.mba-mobile-menu a {
    flex: 1;
    min-width: 0;
    height: 100%;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    color: #777;
    font-size: 10px;
    font-weight: 700;
    text-decoration: none;
}

.mba-mobile-menu a i {
    color: #9b6c08;
    font-size: 18px;
}

.mba-mobile-menu a:hover {
    color: #a36c00;
}

.mba-mobile-menu a sup {
    position: absolute;
    top: 2px;
    left: calc(50% + 7px);
    min-width: 16px;
    height: 16px;
    padding: 1px 4px;
    border-radius: 50%;
    background: #302300;
    color: #fff;
    font-size: 9px;
    text-align: center;
}




/* =====================================
   DESKTOP RESPONSIVE
===================================== */

@media (max-width: 1199px) and (min-width: 992px) {

    .mba-header-inner {
        gap: 12px;
    }

    .mba-desktop-logo img {
        max-width: 140px;
    }

    .mba-desktop-nav .navbar-link {
        padding: 10px 8px;
        font-size: 12px;
    }

    .mba-header-search {
        width: 175px;
    }

    .mba-header-widgets {
        gap: 8px;
    }

    .mba-header-widgets .location-box {
        padding: 9px 8px;
        font-size: 10px;
    }

}


/* =====================================
   MOBILE RESPONSIVE
===================================== */

@media (max-width: 991px) {

    .mba-header-top {
        padding: 7px 0;
    }

    .mba-topbar-inner {
        justify-content: center;
    }

    .mba-topbar-links {
        display: none;
    }

    .mba-main-header .container-fluid {
        padding-left: 12px;
        padding-right: 12px;
    }

    .mba-header-inner {
        min-height: 68px;
        display: flex;
        justify-content: space-between;
        gap: 8px;
    }

    .mba-mobile-header-left {
        display: flex;
        align-items: center;
        gap: 9px;
        flex: 1;
        min-width: 0;
    }

    .mba-desktop-logo,
    .mba-desktop-nav,
    .mba-header-search {
        display: none !important;
    }

    .mba-mobile-logo {
        display: flex;
        align-items: center;
        flex-shrink: 0;
    }

    .mba-mobile-logo img {
        max-width: 105px;
        max-height: 43px;
    }

    .mba-mobile-header-left .location-box {
        max-width: 115px;
        padding: 8px;
        gap: 5px;
        font-size: 10px;
        overflow: hidden;
    }

    .mba-mobile-header-left .location-box span {
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .mba-menu-toggle,
    .mba-search-toggle {
        width: 34px;
        height: 34px;
        flex-shrink: 0;
        font-size: 15px;
    }

    .mba-header-widgets {
        gap: 7px;
    }

    .mba-header-widgets .location-box {
        display: none !important;
    }

    .mba-login-btn,
    .mba-profile-link {
        width: 36px;
        height: 36px;
        min-height: 36px;
        padding: 0;
        border-radius: 9px;
        font-size: 15px;
    }

    .mba-login-btn span,
    .mba-profile-link span,
    .mba-profile-link::after {
        display: none;
    }

    .mba-profile-link i,
    .mba-login-btn i {
        font-size: 16px;
    }

    .mba-cart-btn {
        width: 36px;
        height: 36px;
        min-width: 36px;
        font-size: 15px;
        border-radius: 9px;
    }

    .mba-mobile-search-box.active {
        display: block;
    }

    .mba-mobile-menu {
        display: flex;
    }

    body {
        padding-bottom: 70px;
    }

}


/* =====================================
   SMALL MOBILE
===================================== */

@media (max-width: 480px) {
    
    .mba-mobile-menu a sup {
        position: absolute;
    top: 0px;
    left: calc(50% + 18px);
    min-width: 20px;
    height: 24px;
    padding: 0px 0px;
    border-radius: 50%;
    background: #302300;
    color: #fff;
    font-size: 9px;
    text-align: center;
}

    .mba-header-inner {
        min-height: 62px;
    }

    .mba-mobile-header-left {
        gap: 6px;
    }

    .mba-mobile-logo img {
        max-width: 88px;
        max-height: 38px;
    }

    .mba-mobile-header-left .location-box {
        max-width: 95px;
        font-size: 9px;
        padding: 7px 6px;
    }

    .mba-menu-toggle,
    .mba-search-toggle {
        width: 31px;
        height: 31px;
        font-size: 14px;
    }

    .mba-header-widgets {
        gap: 5px;
    }

    .mba-login-btn,
    .mba-profile-link,
    .mba-cart-btn {
        width: 33px;
        height: 33px;
        min-width: 33px;
        min-height: 33px;
    }

    .mba-cart-btn sup {
               min-width: 14px;
        height: 25px;
        font-size: 8px;
        top: -10px;
        right: -5px
    }

    .mba-mobile-menu {
        height: 60px;
    }

    .mba-mobile-menu a {
        font-size: 9px;
    }

    .mba-mobile-menu a i {
        font-size: 22px;
    }

    body {
        padding-bottom: 65px;
    }

}


/* =====================================
   REDUCED MOTION
===================================== */

@media (prefers-reduced-motion: reduce) {

    .mba-marquee-text span {
        animation: none;
    }

    .mba-main-header *,
    .mba-mobile-menu *,
    .mba-nav-sidebar * {
        transition: none !important;
    }

}