.navbar-container {
    background-color: #ffffff;
    color: #000000;
    padding: 1.5rem 5%;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.navbar-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
}

.navbar-logo-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
}

.navbar-logo img {
    height: 90px;
    margin-bottom: -5px;
    max-width: 100%;
    object-fit: contain;
}

.logo-subtitle {
    color: #d4af37;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 4px;
    text-transform: uppercase;
    margin-top: -10px;
}

.navbar-links {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-menu {
    gap: 0.8rem !important;
}

.nav-item {
    position: relative;
    display: flex;
    align-items: center;
}

.nav-link {
    color: #000000 !important;
    text-decoration: none !important;
    font-size: 11.5px;
    font-weight: 500;
    letter-spacing: 0px;
    white-space: nowrap;
    transition: color 0.3s ease;
    display: flex;
    align-items: center;
    padding: 0 !important;
}

.nav-link:hover,
.nav-link.active {
    color: #751234 !important;
}

.navbar-icons {
    display: flex;
    align-items: center;
    gap: 24px;
}

.icon-link,
.icon-button {
    color: #000000;
    text-decoration: none;
    background: none;
    border: none;
    padding: 0;
    margin: 0;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.3s ease;
    height: 24px;
    width: 24px;
    font-size: 1.4rem;
}

.icon-link i,
.icon-button i {
    line-height: 1;
    display: block;
}

.icon-link:hover,
.icon-button:hover {
    color: #751234;
}

.cart-icon {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cart-badge {
    position: absolute;
    top: -6px;
    right: -10px;
    font-size: 10px;
    font-weight: 700;
    background-color: #751234;
    color: #ffffff;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    border: none;
}

/* Mobile Toggle */
.mobile-toggle {
    display: none;
    color: white;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
}

/* Navigation Hover and Dropdowns */
.nav-item:hover .dropdown,
.nav-item:hover .mega-menu {
    display: block;
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown,
.mega-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    transform: translateY(10px);
    background: #000000;
    list-style: none;
    border-top: 2px solid #d4af37;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4);
    z-index: 1001;
    transition: all 0.3s ease;
    opacity: 0;
    visibility: hidden;
}

.dropdown {
    min-width: 200px;
    padding: 1rem 0;
}

.mega-menu {
    min-width: 500px;
    padding: 2.5rem;
    max-height: calc(100vh - 120px);
    overflow-y: auto;
    overflow-x: hidden;
}

.mega-menu-content {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px 40px;
    justify-content: center;
}

/* Links inside regular dropdown */
.dropdown-link {
    color: #ffffff;
    text-decoration: none;
    display: block;
    padding: 0.8rem 2rem;
    font-size: 13px;
    font-weight: 400;
    letter-spacing: 1px;
    text-transform: uppercase;
    transition: all 0.3s ease;
}

.dropdown-link:hover {
    color: #d4af37;
    background: #111;
}

/* Links inside mega menu */
.mega-menu-link {
    color: #ffffff;
    text-decoration: none;
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    transition: all 0.3s ease;
    border-bottom: 1px solid transparent;
    padding: 5px 0;
}

.mega-menu-link:hover {
    color: #d4af37;
    border-bottom-color: #d4af37;
    padding-left: 5px;
}

/* Search Overlay Styling */
.search-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.95);
    z-index: 2000;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s ease;
}

.search-overlay.active {
    opacity: 1;
    visibility: visible;
}

.search-container {
    width: 90%;
    max-width: 800px;
    position: relative;
    transform: translateY(20px);
    transition: transform 0.4s ease;
}

.search-overlay.active .search-container {
    transform: translateY(0);
}

.search-form {
    display: flex;
    border-bottom: 2px solid #fff;
    padding-bottom: 10px;
}

.search-form input {
    flex: 1;
    background: none;
    border: none;
    color: #fff;
    font-size: 2rem;
    font-family: inherit;
    outline: none;
    padding: 10px 0;
}

.search-form input::placeholder {
    color: #444;
}

.search-submit {
    background: none;
    border: none;
    color: #fff;
    font-size: 2rem;
    cursor: pointer;
}

.search-close {
    position: absolute;
    top: -60px;
    right: 0;
    background: none;
    border: none;
    color: #fff;
    font-size: 2.5rem;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.search-close:hover {
    transform: rotate(90deg);
}


/* Responsive Design */
@media (max-width: 992px) {
    .navbar-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        box-sizing: border-box;
        background-color: #000000;
        flex-direction: column;
        padding: 1rem 1.5rem 2rem;
        gap: 0;
        box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
        max-height: 80vh;
        overflow-y: auto;
        overflow-x: hidden;
    }

    .navbar-links.active {
        display: flex;
    }

    .nav-item {
        width: 100%;
        text-align: left;
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
        box-sizing: border-box;
    }

    .nav-link {
        justify-content: space-between;
        font-size: 15px;
        padding: 16px 5px !important;
        min-height: 44px;
        width: 100%;
        box-sizing: border-box;
    }

    .mobile-toggle {
        display: flex;
        align-items: center;
    }

    /* On mobile, make dropdowns visible when clicked */
    .dropdown,
    .mega-menu {
        position: static;
        display: none;
        background: transparent;
        box-shadow: none;
        max-height: none;
        padding: 0.5rem 0 1rem 1rem;
        transform: none;
        opacity: 1;
        visibility: visible;
        min-width: 0;
        width: 100%;
        border-top: none;
        border-left: 2px solid rgba(212, 175, 55, 0.5);
        margin: 0 0 0.5rem 5px;
        box-sizing: border-box;
    }

    .dropdown.active,
    .mega-menu.active {
        display: block;
    }

    .mega-menu-content {
        display: grid;
        grid-template-columns: 1fr;
        gap: 20px 0;
        padding: 0;
        justify-content: flex-start;
    }

    .mega-menu-link {
        font-size: 13px;
        display: block;
        padding: 8px 0;
        text-align: left;
    }

    .dropdown-link {
        padding: 10px 0;
        font-size: 13px;
    }
}

@media (max-width: 576px) {
    .navbar-logo img {
        height: 70px;
    }

    .navbar-container {
        padding: 2rem 1rem;
    }

    .navbar-icons {
        gap: 1rem;
    }
}

@media (max-width: 400px) {
    .navbar-icons {
        gap: 0.8rem;
    }

    .icon-link,
    .icon-button {
        font-size: 1.2rem;
    }

    .navbar-logo img {
        height: 60px;
    }
}

@media (max-width: 768px) {
    .search-form input {
        font-size: 1.2rem;
    }

    .search-submit,
    .search-close {
        font-size: 1.5rem;
    }
}

/* ========================================= */
/*           PROMO BANNER MARQUEE            */
/* ========================================= */

.promo-banner-marquee {
    background-color: #751234;
    color: #ffffff;
    padding: 4px 0;
    overflow: hidden;
    white-space: nowrap;
    width: 100%;
    display: flex;
}

.marquee-content {
    display: flex;
    white-space: nowrap;
    animation: marquee-scroll 30s linear infinite;
    width: max-content;
}

.marquee-content span {
    font-weight: 700;
    font-size: 0.9rem;
    padding-right: 50px;
}

@keyframes marquee-scroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

@media (max-width: 768px) {
    .marquee-content span {
        font-size: 0.8rem;
        padding-right: 30px;
    }
}