/* --- TAAZA KITCHEN: MAIN RESPONSIVE HEADER STYLES --- */

/* ===============
   1. DESKTOP HEADER 
   (Visible on desktop/tablet, hidden on mobile)
   =============== */

.tk-desktop-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 30px;
    width: 100%;
    background-color: #fff;
    border-bottom: 1px solid #eee;
}

.tk-header-left {
    display: flex;
    align-items: center;
    gap: 20px; /* Space between logo and branch selector */
}

.tk-header-logo img {
    height: 60px; /* Adjust as needed */
    width: auto;
}

.tk-header-right {
    display: flex;
    align-items: center;
    gap: 20px; /* Space between sign-in, menu, etc. */
}

/* Main WordPress Nav Menu Styling */
.tk-main-nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 25px;
}
.tk-main-nav ul li a {
    font-family: 'Noto Sans', sans-serif;
    font-weight: 700;
    font-size: 16px;
    color: var(--tk-dark-brown);
    text-decoration: none;
    text-transform: uppercase;
    transition: color 0.3s ease;
}
.tk-main-nav ul li a:hover {
    color: var(--tk-golden);
}

/* ===============
   2. MOBILE STICKY BOTTOM BAR
   (Visible on mobile, hidden on desktop)
   =============== */

.tk-mobile-nav {
    display: none; /* Hide on Desktop by default */
}

/* --- THE RESPONSIVE SWITCH --- */

@media (max-width: 767px) {
    
    /* 1. Hide the entire Desktop Header */
    .tk-desktop-header {
        display: none;
    }

    /* 2. Show the Mobile Bottom Bar */
    .tk-mobile-nav {
        display: flex; /* Arrange links side-by-side */
        position: fixed;
        bottom: 0;
        left: 0;
        width: 100%;
        height: 60px;
        background-color: #ffffff;
        box-shadow: 0 -2px 10px rgba(0,0,0,0.1);
        z-index: 999;
    }

    .tk-mobile-nav-item {
        display: flex;
        flex-direction: column; /* Icon on top, text on bottom */
        align-items: center;
        justify-content: center;
        flex-grow: 1; /* All buttons share space */
        text-decoration: none;
        color: #777; /* Default icon/text color */
        font-family: 'Noto Sans', sans-serif;
        font-size: 11px;
        font-weight: 600;
        text-transform: uppercase;
    }
    
    .tk-mobile-nav-item .nav-icon {
        font-size: 20px;
        margin-bottom: 3px;
    }

    .tk-mobile-nav-item.cart-nav-item {
        position: relative; /* Needed for the badge */
    }

    /* AJAX Cart Count Badge */
    .tk-mobile-nav-item .cart-count-badge {
        position: absolute;
        top: 4px;
        right: calc(50% - 25px); /* Position near the cart icon */
        background-color: #e53935;
        color: white;
        font-size: 10px;
        font-weight: bold;
        width: 18px;
        height: 18px;
        display: flex;
        align-items: center;
        justify-content: center;
        border-radius: 50%;
        border: 1px solid white;
    }
    
    /* Make the active page link golden */
    .tk-mobile-nav-item.current-menu-item,
    .tk-mobile-nav-item:hover {
        color: var(--tk-golden);
    }
    
    /* * 3. ADD PADDING FOR BOTH BARS
     * We keep your existing padding-bottom for the sticky nav
     * and ADD padding-top for our new sticky top bar.
     */
    body {
        padding-top: 60px !important;    /* NEW: Pushes content down from top bar */
        padding-bottom: 60px !important; /* EXISTING: Lifts content up from bottom bar */
    }

}
/* *** CRITICAL FIX: Removed the duplicate @media block that was here. *** */

/* --- NEW: Desktop Slide Menu Trigger Button --- */
.tk-desktop-menu-trigger-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background-color: var(--tk-light-grey);
    color: var(--tk-dark-brown);
    padding: 10px 20px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 1px solid #eee;
}
.tk-desktop-menu-trigger-btn:hover {
    background-color: var(--tk-dark-brown);
    color: var(--tk-cream);
    text-decoration: none;
}
/* --- NEW: Desktop Slide Menu Trigger Button --- */