:root {
    --primary-blue: #4285F4;
    --primary-blue-light: #6ba3f7;
    --primary-blue-dark: #1a73e8;
    --accent: #4285F4;
    --accent-gold: #F4B400;
    --text-primary: #263238;
    --text-secondary: #546e7a;
    --text-muted: #90a4ae;
    --surface: #f5f7fa;
    --border-light: #e1e8ed;
    --accent-hover: #1a73e8;
    --main-color:#00285A;
}

/* Override để đảm bảo dropdown hoạt động */
.vertical-category-wrapper {
    position: relative !important;
    z-index: 1100 !important;
}

.vertical-category-dropdown {
    position: absolute !important;
    /* top: calc(100% + 8px) !important; */
    left: 0 !important;
    width: 100%;
    background: white !important;
    border-radius: 12px !important;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15) !important;
    z-index: 1200 !important;
    overflow: visible !important;

    /* Hidden by default */
    display: none;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
}

.vertical-category-dropdown.show {
    /* Show when has 'show' class */
    display: block !important;
    opacity: 1 !important;
    visibility: visible !important;
    transform: translateY(0) !important;
}

/* Ensure button styles */
.btn-category-menu {
    cursor: pointer !important;
}



.mega-header {
    background: white;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 900;
}

.header-top {
    background: var(--primary-blue-dark);
    color: white;
    padding: 0.5rem 0;
    font-size: 0.875rem;
}

.header-main {
    padding: 1rem 0;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-blue);
    text-decoration: none;
}

.logo img {
    width: 150px;
}

.header-search {
    max-width: 500px;
}

.search-wrapper {
    display: flex;
    border: 1px solid var(--border-light);
    border-radius: 8px;
    overflow: hidden;
}

.search-wrapper input {
    flex: 1;
    border: none;
    padding: 0.5rem 1rem;
}

.search-wrapper input:focus-visible{
    outline: none;
}

.search-wrapper button {
    color: var(--main-color);
    border: none;
    padding: 0 1.25rem;
    background-color: #fff;
}

.header-icons {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.header-icons a {
    background-color: var(--main-color);
    text-decoration: none;
    position: relative;
    color: #fff;
    padding: 0.25rem 0.5rem;
    border-radius: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.header-icons a .qty{
    width: 1.5rem;
    height: 1.5rem;
    border-radius: 50%;
    text-align: center;
    background-color: #fff;
    color: var(--main-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
}

.header-icons .badge {
    position: absolute;
    top: -8px;
    right: -8px;
    background: var(--accent-gold);
    color: white;
    font-size: 0.7rem;
    padding: 0.2rem 0.4rem;
    border-radius: 10px;
}

/* Navigation Bar */
.navigation-bar {
    background: var(--main-color);
    padding: 0;
}

.navbar-nav .nav-link {
    color: white !important;
    padding: 0.75rem 1.25rem !important;
    font-weight: 500;
    transition: all 0.3s ease;
}

.navbar-nav .nav-link:hover {
    background: rgba(255, 255, 255, 0.1);
}
.navbar-nav .nav-item:first-child{
    width: 23.55%;
}
.navbar-nav .nav-link#categoryMenuNoAction {
    color: #00285A !important;
    font-weight: 500;
    transition: all 0.3s ease;
    background: #fff;
    margin-top: 0.5rem;
    border-radius: 8px 8px 0 0;
}

/* Mobile specific */
@media (max-width: 991.98px) {
    .desktop-only {
        display: none !important;
    }

    .mobile-only {
        display: block !important;
    }
}

@media (min-width: 992px) {
    .mobile-only {
        display: none !important;
    }
}
