#header {
    position: sticky !important;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    height: 80px;
    background: rgba(0,0,0,0.4) !important;
    backdrop-filter: blur(12px);
    transition: all 0.5s ease;
}
body.home-page #header{position: fixed !important;}
#header.scrolled {
    height: 70px;
    background: rgba(0,0,0,0.8);
    backdrop-filter: blur(20px) saturate(180%);
    border-bottom: 1px solid rgba(255,255,255,0.1);
}
#header.scrolled .header-top-line { display: block; }

.header-top-line {
    display: none;
    position: absolute;
    top: 0; left: 10%; right: 10%;
    height: 1px;
    background: linear-gradient(to right, transparent, rgba(255,69,0,0.4), transparent);
    filter: blur(1px);
}
.header-bottom-line {
    position: absolute;
    bottom: 0; left: 0; right: 0;
    height: 1px;
    background: linear-gradient(to right, transparent, rgba(255,255,255,0.1), transparent);
}
.header-inner {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 24px;
    max-width: 1440px;
    margin: 0 auto;
    position: relative;
}

/* Logo */
.logo-link { display: flex; align-items: center; z-index: 10; transition: transform 0.3s; }
.logo-link:hover { transform: scale(1.1); }
.logo-link img { width: 24px; height: auto; }

/* Desktop Nav */
.desktop-nav {display: none;}
@media (min-width: 1024px) { .desktop-nav { display: flex; } }

.nav-dock {
    display: flex;
    align-items: center;
    gap: 2px;
    padding: 6px 4px;
    border-radius: 999px;
    border: 1px solid transparent;
    transition: all 0.5s;
}
#header.scrolled .nav-dock {
    background: rgba(255,255,255,0.05);
    border-color: rgba(255,255,255,0.1);
    backdrop-filter: blur(12px);
    box-shadow: 0 0 20px rgba(0,0,0,0.4);
}

.nav-item { position: relative; }
.menu-link {
    display: flex; align-items: center; gap: 6px;
    padding: 8px 12px;
    border-radius: 999px;
    font-size: 12px; font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.7);
    transition: all 0.3s;
    white-space: nowrap;
    text-decoration: none;
}
.menu-link:hover,
.menu-link.active       { color: #fff; background: rgba(255,255,255,0.1); text-decoration: none;}
/* .menu-link.active       { color: #FF4500; } */
.menu-link svg          { width: 14px; height: auto; flex-shrink: 0; }
/* .menu-link.active svg   { color: #FF4500; } */
.nav-chevron           { width: 12px; height: 12px; transition: transform 0.3s; }
.menu-link.active .nav-chevron { transform: rotate(180deg); color: #FF4500; }
.menu-link.has-child:hover{color: #FF4500;}

.nav-item:hover > .menu-link .chevron{transform: rotate(180deg);}
.nav-item > .menu-link .chevron{display: none;}
.nav-item > .menu-link.has-child .chevron{display: block; width: 12px; height: auto;}

.nav-item:hover .mega-dropdown{display: block;}

.nav-indicator {
    position: absolute;
    bottom: -4px; left: 50%; transform: translateX(-50%);
    width: 16px; height: 2px;
    background: #FF4500;
    box-shadow: 0 0 10px #FF4500;
    border-radius: 999px;
    display: none;
}
.nav-item:hover .nav-indicator { display: block; }

/* Mega Dropdown */
.mega-dropdown {
    position: absolute;
    top: 100%; left: 50%; transform: translateX(-50%);
    padding-top: 16px;
    display: none;
    z-index: 200;
}

.mega-inner {
    min-width: 280px;
    border-radius: 24px;
    overflow: hidden;
    background: linear-gradient(135deg, rgba(10,10,15,0.98) 0%, rgba(5,5,10,0.99) 100%);
    backdrop-filter: blur(50px) saturate(200%);
    border: 1px solid rgba(255,255,255,0.1);
    box-shadow: 0 30px 80px rgba(0,0,0,0.8),
                0 0 1px rgba(255,255,255,0.2),
                inset 0 1px 0 rgba(255,255,255,0.05);
    animation: dropIn 0.35s cubic-bezier(0.16,1,0.3,1);
}
@keyframes dropIn {
    from { opacity: 0; transform: translateY(-12px) scale(0.95); }
    to   { opacity: 1; transform: translateY(0)     scale(1);    }
}

.mega-top-line {
    height: 2px;
    background: linear-gradient(to right, transparent, rgba(255,69,0,0.5), transparent);
}
.mega-body   { padding: 24px; }
.mega-items  { list-style: none; display: flex; flex-direction: column; gap: 2px; margin: 0; padding: 0;}
.mega-item a {
    display: flex; align-items: center; justify-content: space-between;
    padding: 8px 12px;
    border-radius: 12px;
    font-size: 13px; font-weight: 600;
    color: rgba(255,255,255,0.6);
    border: 1px solid transparent;
    transition: all 0.3s;
}
.mega-item a:hover {
    color: #fff;
    background: rgba(255,255,255,0.05);
    border-color: rgba(255,255,255,0.05);
}
.mega-item a svg {
    opacity: 0; transition: all 0.3s;
    transform: translateX(-8px) rotate(-90deg);
    color: #FF4500; width: 14px; height: 14px;
}
.mega-item a:hover svg { opacity: 1; transform: translateX(0) rotate(-90deg);}

.mega-footer {
    border-top: 1px solid rgba(255,255,255,0.08);
    padding: 16px 32px;
    background: rgba(0,0,0,0.4);
    display: flex; align-items: center; justify-content: space-between;
}
.mega-footer a {
    font-size: 11px; font-weight: 900;
    text-transform: uppercase; letter-spacing: 0.15em;
    color: rgba(255,255,255,0.4);
    display: flex; align-items: center; gap: 8px;
    transition: all 0.3s;
}
.mega-footer a:hover         { color: #FF4500; }
.mega-footer a svg           { width: 12px; height: 12px; transition: transform 0.3s; }
.mega-footer a:hover svg     { transform: translateX(4px); }

/* Right Utilities */
.nav-right { display: flex; align-items: center; gap: 16px; z-index: 10; }

.search-pill{position: relative;}
.search-pill #search-icon {
    display: flex; align-items: center;
    border-radius: 999px;
    border: 1px solid rgba(255,255,255,0.1);
    background: rgba(255,255,255,0.05);
    width: 40px; height: 40px;
    justify-content: center;
    transition: all 0.3s;
    cursor: pointer;
    position: relative;
    color: white;
}
.search-pill #search-icon:hover { background: rgba(255,255,255,0.1); border-color: rgba(255,255,255,0.2); color: #FF4500;}
.search-pill .input-holder{
    display: flex;
    align-items: center;
    gap: 12px;
    border: solid 1px rgba(255, 69, 0, 0.50);
    border-radius: 50px;
    padding: 8px 12px;
    width: 0;
    position: absolute; top: 0; right: 0;
    opacity: 0;
    transition: all 0.4s ease;
}
.search-pill .form-control {
    background: transparent; outline: none;
    font-size: 11px; font-weight: 900;
    color: #fff; letter-spacing: 0.15em;
    text-transform: uppercase; width: 100%;
    padding: 0; border: 0; border-radius: 0;
    height: 20px; box-shadow: none !important;
}
.search-pill .form-control::-moz-placeholder {color: rgba(255,255,255,0.20) !important; opacity: 1 !important;}
.search-pill .form-control::-webkit-input-placeholder {color: rgba(255,255,255,0.20) !important; opacity: 1 !important;}

.search-pill .btn-search{background: transparent; padding: 0; border: 0; outline: none; color: #ff4500;}
.search-pill .btn-search svg{width: 16px; height: auto;}
.search-pill .search-cross{cursor: pointer; color: white;}
.search-pill .search-cross:hover{color: #FF4500;}

.search-active .search-pill .input-holder{width: 280px; opacity: 1;}
.search-active .search-pill #search-icon{opacity: 0; pointer-events: none;}
.search-active .desktop-nav{opacity: 0; pointer-events: none;}

.search-active .search-pill .form-control:focus{background: transparent; border: 0; box-shadow: none !important; color: white;}

@media (max-width: 767px) {
    .search-active .search-pill .input-holder{width: 250px;}
}

.support-login-pill {
    display: none;
    align-items: center;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 999px;
    padding: 4px;
}
#header .language-select ~ .select2 .select2-selection--single{background: rgba(255, 255, 255, 0.05) !important; font-size: 11px !important; border-color: rgba(255, 255, 255, 0.1) !important;}
#header .language-select ~ .select2 .select2-selection--single:hover{border-color: rgba(255, 69, 0, 0.4) !important;}

@media (min-width: 768px) { .support-login-pill { display: flex; } }
.support-login-pill a {
    padding: 6px 16px;
    border-radius: 999px;
    font-size: 11px; font-weight: 900;
    text-transform: uppercase; letter-spacing: 0.15em;
    color: rgba(255,255,255,0.6);
    transition: all 0.3s;
    text-decoration: none !important;
}
.support-login-pill a:hover              { color: #fff; background: rgba(255,255,255,0.05); }
.support-login-pill a:last-child:hover   { color: #FF4500; }
.support-login-divider { width: 1px; height: 12px; background: rgba(255,255,255,0.1); }

.cart-btn {
    position: relative;
    width: 40px; height: 40px;
    display: flex; align-items: center; justify-content: center;
    background: rgba(255,69,0,0.1);
    border: 1px solid rgba(255,69,0,0.2);
    border-radius: 999px;
    transition: all 0.3s;
}
.cart-btn:hover     { background: #FF4500; border-color: #FF4500; }
.cart-btn svg       { color: #FF4500; transition: color 0.3s; width: 18px; height: 18px; }
.cart-btn:hover svg { color: #fff; }
.cart-badge {
    position: absolute; top: -4px; right: -4px;
    background: #fff; color: #FF4500;
    font-size: 9px; font-weight: 900;
    width: 16px; height: 16px;
    border-radius: 999px;
    display: flex; align-items: center; justify-content: center;
    box-shadow: 0 2px 8px rgba(0,0,0,0.4);
}

.lang-pill {
    display: none;
    align-items: center; gap: 8px;
    padding: 6px 12px;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 999px;
    cursor: pointer; transition: all 0.3s;
}
@media (min-width: 1280px) { .lang-pill { display: flex; } }
.lang-pill:hover     { border-color: rgba(255,69,0,0.4); }
.lang-pill svg       { width: 14px; height: 14px; color: rgba(255,255,255,0.4); transition: color 0.3s; }
.lang-pill:hover svg { color: #FF4500; }
.lang-pill span      { font-size: 10px; font-weight: 900; letter-spacing: -0.05em; text-transform: uppercase; }

.mobile-menu-btn {
    display: flex; align-items: center; justify-content: center;
    width: 40px; height: 40px;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 999px; color: #fff;
}
.mobile-menu-btn svg { width: 20px; height: 20px; }
@media (min-width: 1024px) { .mobile-menu-btn { display: none; } }

/* Mobile Menu */
#mobile-menu {
    display: none;
    position: absolute;
    top: 100%; left: 0; right: 0;
    background: rgba(0,0,0,0.95);
    backdrop-filter: blur(24px);
    border-bottom: 1px solid rgba(255,255,255,0.1);
    padding: 32px 24px;
    max-height: calc(100vh - 80px);
    overflow-y: auto;
    animation: slideDown 0.4s cubic-bezier(0.16,1,0.3,1);
}
#mobile-toggle #close-icon{display: none;}

.mobile-menu-opened #mobile-menu { display: block; }
.mobile-menu-opened #mobile-toggle #menu-icon{display: none;}
.mobile-menu-opened #mobile-toggle #close-icon{display: block;}


@media (min-width: 1024px) { #mobile-menu { display: none !important; } }

@keyframes slideDown {
    from { opacity: 0; transform: translateY(-16px); }
    to   { opacity: 1; transform: translateY(0); }
}

.mobile-nav-items { display: flex; flex-direction: column; gap: 24px; }
.mobile-nav-item  { border-bottom: 1px solid rgba(255,255,255,0.05); padding-bottom: 8px; }

.mobile-nav-toggle,
.mobile-nav-link-simple {
    display: flex; align-items: center; justify-content: space-between;
    width: 100%;
    font-size: 16px; font-weight: 900;
    letter-spacing: 0.15em; text-transform: uppercase;
    color: #fff; padding: 12px 0;
    transition: color 0.3s;
    background: transparent;
    border: 0;
    outline: none;
}
a.mobile-nav-toggle {
    text-decoration: none;
    cursor: pointer;
}
.mobile-nav-toggle .left       { display: flex; align-items: center; gap: 12px; }
/* Only the leading nav icon — do not target .mobile-chevron (higher specificity was shrinking it). */
.mobile-nav-toggle .left > svg.mobile-nav-leading-icon,
.mobile-nav-link-simple .left > svg.mobile-nav-leading-icon {
    width: 16px;
    height: 16px;
    min-width: 16px;
    flex-shrink: 0;
    color: rgba(255,255,255,0.4);
}
.mobile-chevron                { width: 20px; height: 20px; color: rgba(255,255,255,0.2); transition: transform 0.3s; flex-shrink: 0; }
.mobile-nav-item.expanded .mobile-chevron { transform: rotate(180deg); color: #FF4500; }

.mobile-sub-items {
    display: none;
    padding: 16px 0 16px 16px;
    flex-direction: column; gap: 4px;
    animation: slideDown 0.3s ease;
}
.mobile-nav-item.expanded .mobile-sub-items { display: flex; }
.mobile-sub-items a {
    display: block;
    padding: 10px 16px;
    font-size: 14px; font-weight: 700;
    color: rgba(255,255,255,0.6);
    border: 1px solid transparent;
    border-radius: 12px;
    transition: all 0.3s;
}
.mobile-sub-items a:hover {
    color: #fff;
    background: rgba(255,255,255,0.05);
    border-color: rgba(255,255,255,0.05);
}

.mobile-bottom-links {
    display: grid; grid-template-columns: 1fr 1fr;
    gap: 16px; margin-top: 24px; padding-top: 24px;
}
.mobile-bottom-link {
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    padding: 16px; border-radius: 16px;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    color: rgba(255,255,255,0.8);
    gap: 8px; transition: all 0.3s;
}
.mobile-bottom-link:hover { background: rgba(255,255,255,0.1); }
.mobile-bottom-link svg   { width: 20px; height: 20px; color: #FF4500; }
.mobile-bottom-link span  { font-size: 10px; font-weight: 900; text-transform: uppercase; letter-spacing: 0.15em; }


@keyframes slideUp {
    from { opacity: 0; transform: translateY(16px); }
    to   { opacity: 1; transform: translateY(0); }
}
#chat-notification { position: relative; animation: slideUp 0.5s cubic-bezier(0.16,1,0.3,1); }

.chat-notif-inner {
    width: 320px; padding: 20px;
    border-radius: 24px;
    background: rgba(10,10,10,0.8);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255,255,255,0.1);
    box-shadow: 0 20px 40px rgba(0,0,0,0.5);
}
.chat-notif-close { position: absolute; top: 12px; right: 12px; color: rgba(255,255,255,0.4); transition: color 0.3s; }
.chat-notif-close:hover { color: #fff; }
.chat-notif-close svg { width: 16px; height: 16px; }

.chat-notif-body   { display: flex; align-items: center; gap: 12px; }
.chat-notif-avatar {
    flex-shrink: 0; width: 40px; height: 40px;
    border-radius: 999px;
    background: linear-gradient(135deg, #FF4500, #FF8C00);
    display: flex; align-items: center; justify-content: center;
    font-size: 20px;
}
.chat-notif-text p:first-child { font-size: 14px; font-weight: 600; line-height: 1.3; margin-bottom: 4px; }
.chat-notif-text p:last-child  { font-size: 12px; color: rgba(255,255,255,0.6); line-height: 1.5; }

.chat-notif-sheen {
    position: absolute; inset: 0; pointer-events: none;
    border-radius: 24px;
    background: linear-gradient(135deg, rgba(255,255,255,0.1), transparent);
    opacity: 0.3;
}
.chat-notif-arrow {
    position: absolute; bottom: -8px; right: 32px;
    width: 16px; height: 16px;
    background: rgba(10,10,10,0.8);
    backdrop-filter: blur(20px);
    border-right: 1px solid rgba(255,255,255,0.1);
    border-bottom: 1px solid rgba(255,255,255,0.1);
    transform: rotate(45deg);
}

#chat-toggle {
    position: relative;
    width: 64px; height: 64px;
    border-radius: 999px;
    background: #FF4500; color: #fff;
    display: flex; align-items: center; justify-content: center;
    box-shadow: 0 8px 24px rgba(0,0,0,0.4);
    transition: all 0.5s cubic-bezier(0.16,1,0.3,1);
}
#chat-toggle:hover      { transform: translateY(-4px); }
#chat-toggle.open       { background: #fff; color: #000; transform: rotate(90deg); }
#chat-toggle svg        { width: 28px; height: 28px; }

.chat-badge { position: absolute; top: -4px; right: -4px; }
.chat-badge-ping {
    position: absolute; inset: 0;
    border-radius: 999px;
    background: rgba(255,255,255,0.4);
    animation: ping 1.5s infinite;
}
@keyframes ping {
0%   { transform: scale(1); opacity: 0.8; }
100% { transform: scale(2); opacity: 0;   }
}
.chat-badge-dot {
    position: relative;
    width: 20px; height: 20px;
    border-radius: 999px;
    background: #fff; color: #FF4500;
    font-size: 10px; font-weight: 900;
    display: flex; align-items: center; justify-content: center;
}
.chat-highlight {
    position: absolute; inset: 0; border-radius: 999px;
    background: linear-gradient(135deg, rgba(255,255,255,0.2), transparent);
    opacity: 0; transition: opacity 0.3s;
}
#chat-toggle:hover .chat-highlight { opacity: 1; }

#chat-window {
    position: fixed; bottom: 112px; right: 32px;
    width: 380px; height: 560px;
    border-radius: 24px;
    border: 1px solid rgba(255,255,255,0.2);
    overflow: hidden;
    display: flex; flex-direction: column;
    background: rgba(10,10,10,0.9);
    backdrop-filter: blur(20px) saturate(180%);
    transition: all 0.5s cubic-bezier(0.16,1,0.3,1);
    transform-origin: bottom right;
    opacity: 0; transform: scale(0.9) translateY(40px); pointer-events: none;
}
#chat-window.open { opacity: 1; transform: scale(1) translateY(0); pointer-events: auto; }

.chat-header { background: #FF4500; padding: 24px; position: relative; overflow: hidden; }
.chat-header-glow {
    position: absolute; top: 0; right: 0;
    width: 128px; height: 128px;
    background: rgba(255,255,255,0.1);
    border-radius: 999px;
    transform: translate(50%,-50%);
    filter: blur(24px);
}
.chat-header h3 { font-size: 18px; font-weight: 700; color: #fff; margin-bottom: 4px; }
.chat-header p  { font-size: 14px; color: rgba(255,255,255,0.8); }

.chat-messages {
    flex: 1; padding: 24px;
    overflow-y: auto;
    background: rgba(0,0,0,0.4);
    display: flex; flex-direction: column; gap: 16px;
}
.chat-msg { display: flex; gap: 8px; }
.chat-msg-avatar {
    flex-shrink: 0; width: 32px; height: 32px;
    border-radius: 999px;
    background: rgba(255,69,0,0.2);
    border: 1px solid rgba(255,69,0,0.4);
    display: flex; align-items: center; justify-content: center;
    font-size: 12px; font-weight: 700;
}
.chat-msg-bubble {
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.1);
    padding: 12px; border-radius: 18px; border-top-left-radius: 4px;
    max-width: 80%;
}
.chat-msg-bubble p { font-size: 14px; color: #fff; }

.chat-input-area {
    padding: 16px;
    background: rgba(255,255,255,0.05);
    border-top: 1px solid rgba(255,255,255,0.1);
    backdrop-filter: blur(12px);
}
.chat-input-wrap { position: relative; }
.chat-input-wrap input {
    width: 100%;
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 999px;
    padding: 12px 20px; padding-right: 48px;
    color: #fff; font-size: 14px; font-family: 'Inter', sans-serif;
    outline: none; transition: border-color 0.3s;
}
.chat-input-wrap input:focus       { border-color: #FF4500; }
.chat-input-wrap input::placeholder { color: rgba(255,255,255,0.4); }

.chat-send {
position: absolute; right: 8px; top: 8px;
width: 32px; height: 32px;
border-radius: 999px; background: #FF4500; color: #fff;
display: flex; align-items: center; justify-content: center;
transition: transform 0.3s;
}
.chat-send:hover  { transform: scale(1.1); }
.chat-send:active { transform: scale(0.95); }
.chat-send svg    { width: 16px; height: 16px; }

#header .lang{padding: 0 !important;}
#header .language-select ~ .select2 .select2-selection--single {
    height: 2.6rem;
    font-size: 1.4rem;
    border: 1px solid #eef4f9;
    border-radius: 99px;
    background: rgba(255, 255, 255, 0.2);
    color: #fff;
    font-weight: 500;
    outline: 0;
    box-shadow: none !important;
}
#header .language-select ~ .select2 .select2-selection--single .select2-selection__rendered::before{background: url("https://www.feniex.com/images/ico-globe-language.svg") no-repeat !important;}
#header .language-select ~ .select2 .select2-selection--single .select2-selection__arrow{background: url("https://www.feniex.com/images/ico-arrow-down.svg") no-repeat 50% 50% !important;}