.top-bar-wrapper {
    position: sticky;
    top: 0;
    background-color: white;
    z-index: 100;
    box-shadow: 0 0 1px rgba(0, 0, 0, 0.1);
}

/* Top Promotional Bar */
.promo-bar {
    background: #333;
    color: white;
    padding: 8px 20px;
    font-size: .7rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    z-index: 1100;
}

.promo-text {
    flex: 1;
    min-width: 200px;
    font-size: .7rem;

    span {
        color: var(--mzansi-orange);
        font-weight: 600;
    }
}

.top-links {
    display: flex;
    gap: 20px;
    font-size: 13px;
}

.top-links a {
    color: white;
    text-decoration: none;
    transition: opacity 0.3s;
}

.top-links a:hover {
    opacity: 0.8;
}

.flash-sale {
    color: #ffd700;
    font-weight: 600;
}

.flash-sale i {
    margin-right: 5px;
}

/* Main Header */
.main-header {
    background: white;
    z-index: 100;
    border-bottom: 1px solid var(--surface-3);
}

.header-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 15px 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.header-container {
    position: relative;
}

/* Search Bar */
.search-container {
    flex: 1;
    max-width: 700px;
    display: flex;
    flex-direction: column;
    gap: 0;
}

.category-select {
    padding: 12px 15px;
    border: 1px solid #e0e0e0;
    border-right: none;
    background: white;
    font-size: 14px;
    cursor: pointer;
    min-width: 150px;
    outline: none;
}

.search-input {
    flex: 1;
    padding: 12px 15px;
    border: 2px solid #e0e0e0;
    border-radius: 4px;
    font-size: .7rem;
    outline: none;
}

/* Header Actions */
.header-actions {
    display: flex;
    align-items: center;
    gap: 25px;
    flex-shrink: 0;
}

.header-action {
    display: flex;
    flex-direction: row;
    align-items: center;
    text-decoration: none;
    color: #333;
    font-size: 13px;
    cursor: pointer;
    transition: color 0.3s;
    gap: 10px;

    div {
        display: flex;
        flex-direction: column;
    }
}

.header-action:hover {
    color: var(--mzansi-orange);
}

.header-action i {
    font-size: 24px;
}

.action-text {
    font-size: .6rem;
    color: #666;
}

.action-value {
    font-size: .6rem;
    font-weight: 600;
}

.action-value.total {
    font-weight: 700;
}

.top-cart-badge {
    position: relative;
}

.top-cart-badge .cartdot {
    position: absolute;
    top: -8px;
    right: -8px;
    height: 15px;
    width: 15px;
    background: var(--mzansi-orange);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: .6rem;
    font-weight: bold;
}

/* Navigation */
.nav-container {
    max-width: 1400px;
    width: 100%;
    margin: 0 auto;
    padding: 10px 0;
    display: flex;
    gap: 20px;
    z-index: 80;
}

/* Hidden state */
.nav-container.hidden {
    display: none;
}

.menu-toggle {
    display: flex;
    align-items: center;
    gap: 25px;
    padding: 15px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: .7rem;
    font-weight: 500;
    margin-right: auto;
}

.menu-toggle span {
    display: flex;
    align-items: center;
    gap: 5px;
}

.menu-toggle i {
    font-size: .9rem;
}

.menu-toggle::after {
    content: " ";
    height: 30px;
    width: 1px;
    background-color: rgb(182, 182, 182);
}

.nav-links {
    display: flex;
    gap: 15px;
    list-style: none;
    align-items: center;
    justify-content: left;
    overflow-x: auto;
    white-space: nowrap;
}

.nav-links li {
    display: inline-block;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-color);
    font-size: .765rem;
    font-weight: 400;
    transition: all 0.3s ease-in;
    border-radius: 25px;
    padding: 5px 10px;
    display: inline;
    border: 1px solid white;
}

.nav-links::-webkit-scrollbar {
    display: none;
}


.nav-links a:hover {
    border-color: var(--white);
    color: white;
    background-color: var(--mzansi-orange);
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.12);
}

.nav-links .flash-sale {
    color: var(--mzansi-orange);
}

.lower-navigation {
    display: flex;
    align-content: center;
    width: fit-content;
    height: fit-content;
    gap: 20px;
    margin: auto;
}

.wishlist {
    display: flex;
    gap: 8px;
    font-size: .7rem;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    margin: auto;
    margin-right: 0px;
}

.wishlist-badge {
    position: relative;
    height: fit-content;
    margin: auto;
    font-size: 1rem;
    background-color: #fbe0e0;
    border-radius: 50%;
    width: 25px;
    height: 25px;
    display: flex;
    align-items: center;
    justify-content: center;

    i {
        display: flex;
        color: #c94141;
    }
}

.todays-deal {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    font-size: .7rem;
    height: fit-content;
    margin: auto;
}

.hot-badge {
    background: #ff4444;
    color: white;
    padding: 2px 8px;
    border-radius: 3px;
    font-size: .56rem;
    font-weight: bold;
}

.wishlist-badge {
    position: relative;
    cursor: pointer;
}

.wishdot {
    position: absolute;
    top: -4px;
    right: -8px;
    background: var(--mzansi-orange);
    color: white;
    border-radius: 50%;
    width: 13px;
    height: 13px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: .5rem;
    font-weight: bold;
}

/* Mobile Menu */
.mobile-menu-toggle {
    display: none;
    align-items: center;
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: #333;
    gap: 10px;

    span {
        font-size: .8rem;
    }
}

.mobile-menu {
    display: none;
    position: fixed;
    top: 0;
    left: -100%;
    width: 280px;
    height: 100vh;
    background: white;
    box-shadow: 2px 0 10px rgba(0, 0, 0, 0.1);
    transition: left 0.3s;
    z-index: 2000;
    overflow-y: auto;
}

.mobile-menu.active {
    left: 0;
}

.mobile-menu-header {
    padding: 5px 20px;
    color: white;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.mobile-menu-close {
    background: none;
    border: none;
    color: black;
    font-size: 24px;
    cursor: pointer;
    margin: auto;
    margin-right: 0px;
}

.mobile-menu-links {
    list-style: none;
    padding: 0;
}

.mobile-menu-links li {
    border-bottom: 1px solid #f0f0f0;
}

.mobile-menu-links a {
    display: block;
    padding: 15px 20px;
    text-decoration: none;
    color: #333;
    font-size: .765rem;
    transition: background 0.3s;
}

.mobile-menu-links a:hover {
    background: #f8f8f8;
}
.mobile-menu-links span {
    display: block;
    padding: 15px 20px;
    text-decoration: none;
    color: #333;
    font-size: .765rem;
    transition: background 0.3s;
}

.mobile-menu-links span:hover {
    background: #f8f8f8;
}

.overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1999;
}

.overlay.active {
    display: block;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .header-actions {
        gap: 15px;
    }

    .nav-links {
        gap: 20px;
    }

    .category-select {
        min-width: 120px;
    }
}

@media (max-width: 768px) {
    .promo-bar {
        font-size: 12px;
        padding: 6px 15px;
    }

    .top-links {
        display: none;
    }

    .header-container {
        padding: 6px 8px;
        gap: 10px;
    }

    /*     .search-container {
        display: none;
    } */

    .header-action {
        font-size: 11px;
    }

    .header-action:first-child {
        display: none;
    }

    .header-action i {
        font-size: 20px;
    }

    .header-action {
        .cart-amnt-label {
            display: none;
        }
    }

    .mobile-menu-toggle {
        display: flex;
    }

    .nav-links,
    .lower-navigation,
    .menu-toggle {
        display: none;
    }

    .mobile-menu {
        display: block;
    }

    /* Mobile Search Bar */
    .search-input {
        flex: 1;
        padding: 10px 10px;
        border-width: 1px;
        font-size: .665rem;
    }
}

.mobile-search {
    display: none;
}

@media (max-width: 480px) {
    .header-action {
        .my-acc-lebel {
            display: none;
        }
    }

    .header-container {
        padding: 6px 8px;
        padding-right: 15px;
        gap: 6px;
    }

    .header-actions {
        gap: 00px;
    }

    .promo-text {
        font-size: 11px;
    }
}

/* ─── BREADCRUMB ─── */
.breadcrumb {
    padding: 8px 0px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 6px;
    color: var(--muted);
    overflow-x: auto;
    white-space: nowrap;
    max-width: 1400px;
    font-size: 0.7rem;
}

.breadcrumb a {
    color: var(--muted);
    font-weight: 500;
    text-decoration: none;
    font-size: 0.7rem;
    margin: 0px;
    padding: 0px;
}

.breadcrumb a:hover {
    color: var(--mzansi-orange);
}

.breadcrumb svg {
    width: 12px;
    height: 12px;
    flex-shrink: 0;
}

.breadcrumb .current {
    color: var(--mzansi-orange);
}

@media screen and (max-width:420px) {
    .breadcrumb {
        padding-left: 10px;
    }

    .breadcrumb a {
        font-size: .7rem;
    }


}

.lower-nav {
    position: fixed;
    top: var(--nav-top-h);
    left: 0;
    right: 0;
    z-index: 190;
    height: var(--nav-bot-h);
    max-width: 1400px;
    margin: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    background-color: white;
    /* Initial state — visible */
    transform: translateY(0);
    transition: transform 1.38s cubic-bezier(.22, 1, .36, 1),
        opacity 0.32s ease;
    opacity: 1;
}

.lower-nav.hidden {
    transform: translateY(-100%);
    opacity: 0;
    pointer-events: none;
}