.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(--primary-color);
        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;
    box-shadow: 0 0 4px rgba(0, 0, 0, 0.05);
    z-index: 100;
}

.header-container {
    max-width: 1500px;
    margin: 0 auto;
    padding: 15px 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

/* Search Bar */
.search-container {
    flex: 1;
    max-width: 700px;
    display: flex;
    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-top-left-radius: 5px;
    border-bottom-left-radius: 5px;
    border: 2px solid #e0e0e0;
    border-right: none;
    font-size: .7rem;
    outline: none;
}

.search-btn {
    padding: 12px 30px;
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: 0 5px 5px 0;
    font-size: .7rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s;
}

.search-btn:hover {
    background: #0052cc;
}

/* 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(--primary-color);
}

.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: 18px;
    width: 18px;
    background: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: .6rem;
    font-weight: bold;
}

/* Navigation */
.nav-container {
    max-width: 1500px;
    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;
    flex: 1;
    gap: 30px;
    list-style: none;
    align-items: center;
    justify-content: right;
}

.nav-links a {
    text-decoration: none;
    color: #333;
    font-size: .7rem;
    font-weight: 600;
    transition: color 0.3s;
    /* padding: 15px 0; */
    display: inline-block;
}

.nav-links a:hover {
    color: var(--primary-color);
}

.nav-links .flash-sale {
    color: var(--primary-color);
}

.lower-navigation {
    display: flex;
    align-content: center;
    width: fit-content;
    height: fit-content;
    gap: 20px;
    margin: auto;
}

.wishlist-badge {
    position: relative;
    cursor: pointer;
    height: fit-content;
    margin: auto;
}

.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(--primary-color);
    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;
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: #333;
}

.mobile-menu {
    display: none;
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background: white;
    box-shadow: 2px 0 10px rgba(0, 0, 0, 0.1);
    transition: right 0.3s;
    z-index: 2000;
    overflow-y: auto;
}

.mobile-menu.active {
    right: 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: var(--text-color);
    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: 15px;
    transition: background 0.3s;
}

.mobile-menu-links a: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: 12px 15px;
        gap: 10px;
    }

    .search-container {
        display: none;
    }

    .header-action {
        font-size: 11px;
    }

    .header-action:first-child {
        display: none;
    }

    .header-action i {
        font-size: 20px;
    }

    .action-value,
    .action-text {
        display: none;
    }

    .mobile-menu-toggle {
        display: block;
    }

    .nav-links,
    .lower-navigation,
    .menu-toggle {
        display: none;
    }

    .mobile-menu {
        display: block;
    }

    /* Mobile Search Bar */
    .mobile-search {
        display: block;
        padding: 10px 15px;
        background: white;
        border-top: 1px solid #e0e0e0;
    }

    .mobile-search-input {
        width: 100%;
        padding: 10px 15px;
        border: 2px solid #e0e0e0;
        border-radius: 5px;
        font-size: 14px;
        outline: none;
    }
}

.mobile-search {
    display: none;
}

@media (max-width: 480px) {
    .header-actions {
        gap: 20px;
    }

    .promo-text {
        font-size: 11px;
    }
}

/* Base breadcrumb styles */
.breadcrumb {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    list-style: none;
    padding: 12px 16px;
    background-color: #fff;
    border-radius: 6px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);

    i {
        font-size: 1rem;
        color: var(--text-color);
    }

    span {
        font-size: .75rem;
    }
}

.breadcrumb-item {
    display: flex;
    align-items: center;
}

.breadcrumb-item+.breadcrumb-item::before {
    content: "/";
    color: #95a5a6;
    padding: 0 10px;
}

.breadcrumb-link {
    color: var(--text-color);
    text-decoration: none;
    transition: color 0.3s;
    font-size: .75rem;
    display: flex;
    align-items: center;
    gap: 2px;

}

.breadcrumb-link:hover {
    color: var(--primary-color);
    text-decoration: underline;
}

.breadcrumb-link.active {
    color: var(--primary-color);
}