.luxury-header {
    background: var(--black);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    position: relative;
    z-index: 999;
}

.luxury-header::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -1px;
    width: 100%;
    height: 8px;
    background: linear-gradient(180deg,
            rgba(254, 161, 22, 0.04) 0%,
            rgba(254, 161, 22, 0) 100%);
}

.header-wrapper {
    min-height: 72px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.header-nav ul {
    display: flex;
    align-items: center;
    gap: 40px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.header-nav a {
    color: var(--white);
    font-size: 13px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
}

.header-nav a:hover {
    color: var(--primary);
}

.header-nav a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -8px;
    width: 0;
    height: 1px;
    background: var(--primary);
    transition: all 0.3s ease;
}

.header-nav a:hover::after {
    width: 100%;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 24px;
}

.header-search-btn {
    border: none;
    background: transparent;
    color: var(--white);
    font-size: 16px;
    padding: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    cursor: pointer;
}

.header-search-btn:hover {
    color: var(--primary);
    transform: scale(1.1);
}

.header-login-btn {
    color: var(--white);
    font-size: 13px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s ease;
}

.header-login-btn:hover {
    color: var(--primary);
}

.header-profile {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    overflow: hidden;
    display: block;
    border: 1px solid rgba(255, 255, 255, 0.12);
    transition: all 0.3s ease;
}

.header-profile img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.header-profile:hover {
    transform: translateY(-2px);
    border-color: var(--primary);
}

/* Logo Styling */
.header-logo {
    display: flex;
    align-items: center;
}

.logo-brand {
    font-size: 20px;
    font-weight: 800;
    letter-spacing: -0.5px;
    text-decoration: none;
    transition: transform 0.3s ease;
}

.logo-brand:hover {
    transform: scale(1.03);
}

.brand-text {
    color: var(--white);
}

.text-primary-color {
    color: var(--primary);
}

/* Search Overlay Styling */
.header-search-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(10, 10, 10, 0.96);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    display: flex;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: opacity 0.35s ease, transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.35s;
    z-index: 1000;
}

.luxury-header.search-active .header-search-overlay {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.search-overlay-content {
    display: flex;
    align-items: center;
    width: 100%;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 50px;
    padding: 10px 24px;
    gap: 16px;
    transition: all 0.3s ease;
}

.search-overlay-content:focus-within {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(254, 161, 22, 0.4);
    box-shadow: 0 0 25px rgba(254, 161, 22, 0.15);
}

.search-input-icon {
    color: var(--primary);
    font-size: 18px;
}

.header-search-input {
    flex: 1;
    background: transparent;
    border: none;
    outline: none;
    color: var(--white);
    font-size: 16px;
    font-weight: 400;
    font-family: inherit;
    padding: 6px 0;
}

.header-search-input::placeholder {
    color: var(--text-gray-light);
}

.header-search-close {
    background: transparent;
    border: none;
    color: var(--white-75);
    font-size: 18px;
    cursor: pointer;
    padding: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.header-search-close:hover {
    color: var(--primary);
    transform: rotate(90deg);
}

@media (max-width: 991px) {
    .header-wrapper {
        min-height: 64px;
        padding: 0 10px;
    }

    .header-actions {
        gap: 16px;
    }

    .header-profile {
        width: 30px;
        height: 30px;
    }
}

/* Logged In Hamburger Button */
.logged-in-hamburger {
    background: transparent;
    border: none;
    color: var(--white);
    padding: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    cursor: pointer;
}

.logged-in-hamburger:hover {
    color: var(--primary);
}

.logged-in-hamburger:focus {
    outline: none;
    box-shadow: none;
}

/* Offcanvas Sidebar for Logged-In User */
.logged-in-mobile-menu {
    width: 300px !important;
    background: rgba(10, 10, 10, 0.98) !important;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-right: 1px solid rgba(255, 255, 255, 0.08) !important;
}

.logged-in-mobile-menu .offcanvas-header {
    border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
}

.logged-in-mobile-menu .user-profile-summary {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 12px;
}

.logged-in-mobile-menu .profile-name {
    font-size: 15px;
    font-weight: 600;
}

.logged-in-mobile-menu .profile-tier {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 500;
    color: var(--primary) !important;
}

.logged-in-mobile-menu .mobile-nav-link {
    font-size: 14px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.75) !important;
    transition: all 0.2s ease;
}

.logged-in-mobile-menu .mobile-nav-link:hover {
    color: var(--primary) !important;
    padding-left: 4px;
}

.logged-in-mobile-menu .btn-logout-mobile {
    border: 1px solid rgba(220, 53, 69, 0.35);
    background: rgba(220, 53, 69, 0.08);
    color: #ff4d4d !important;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.logged-in-mobile-menu .btn-logout-mobile:hover {
    background: #dc3545;
    color: var(--white) !important;
    border-color: #dc3545;
    box-shadow: 0 4px 12px rgba(220, 53, 69, 0.2);
}