/* Header — Clean Modern Glass UI */

.gczbd-header {
    background: rgba(10, 14, 24, 0.78) !important;
    backdrop-filter: blur(20px) saturate(180%) !important;
    -webkit-backdrop-filter: blur(20px) saturate(180%) !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.05) !important;
    position: sticky;
    top: 0;
    z-index: 9999 !important;
    width: 100%;
    transition: all 0.3s ease;
}

[data-theme="light"] .gczbd-header {
    background: rgba(255, 255, 255, 0.85) !important;
    backdrop-filter: blur(20px) saturate(180%) !important;
    -webkit-backdrop-filter: blur(20px) saturate(180%) !important;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08) !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05) !important;
}

.gczbd-header .header-bubbles-bg {
    display: none !important;
}

.gczbd-header-inner {
    max-width: 1360px;
    margin: 0 auto;
    padding: 12px 24px 10px;
}

/* Top Row: Logo (Left) — Search (Center) — Icons (Right) */
.gczbd-header-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    width: 100%;
    position: relative;
}

.gczbd-header .logo {
    flex: 0 0 160px;
    max-width: 180px;
    display: flex;
    align-items: center;
}

.gczbd-header .logo img {
    width: auto;
    height: 38px;
    max-width: 150px;
    object-fit: contain;
}

/* Center Search Bar */
.gczbd-header .header-search-wrap {
    flex: 0 1 540px;
    max-width: 560px;
    width: 100%;
    margin: 0 auto;
    position: relative;
}

.gczbd-header .capsule-search {
    width: 100%;
    height: 44px;
    border-radius: 999px !important;
    padding: 0 48px 0 22px !important;
    background: rgba(255, 255, 255, 0.06) !important;
    backdrop-filter: blur(14px) !important;
    -webkit-backdrop-filter: blur(14px) !important;
    border: 1px solid rgba(255, 255, 255, 0.12) !important;
    color: #ffffff !important;
    font-size: 0.9rem !important;
    font-family: 'Inter', sans-serif !important;
    outline: none !important;
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.25) !important;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.gczbd-header .capsule-search::placeholder {
    color: rgba(255, 255, 255, 0.5) !important;
}

.gczbd-header .capsule-search:focus {
    background: rgba(255, 255, 255, 0.1) !important;
    border-color: #15b48b !important;
    box-shadow: 0 0 0 3px rgba(21, 180, 139, 0.22), inset 0 2px 4px rgba(0, 0, 0, 0.2) !important;
}

.gczbd-header .header-search-wrap .search-btn2 {
    position: absolute;
    right: 18px;
    top: 50%;
    transform: translateY(-50%);
    color: rgba(255, 255, 255, 0.55);
    font-size: 0.95rem;
    pointer-events: none;
    transition: color 0.2s ease;
}

.gczbd-header .header-search-wrap:focus-within .search-btn2 {
    color: #15b48b;
}

.gczbd-header .header-search-wrap .search-result {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    right: 0;
    z-index: 1050;
    max-height: 360px;
    overflow-y: auto;
    display: none;
    padding: 8px;
    background: rgba(15, 20, 32, 0.94) !important;
    backdrop-filter: blur(20px) saturate(180%) !important;
    -webkit-backdrop-filter: blur(20px) saturate(180%) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    border-radius: 14px !important;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.6) !important;
}

.gczbd-header .header-search-wrap .search-result:not(:empty) {
    display: block;
}

/* Right Nav Group */
.gczbd-header .custom-nav {
    flex: 0 0 160px;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 12px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.gczbd-header .custom-nav {
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
    margin: 0 0 0 auto !important;
    padding: 0 !important;
    list-style: none !important;
    flex-shrink: 0;
}

.gczbd-header .gczbd-icon-btn {
    width: 40px;
    height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: #ffffff;
    cursor: pointer;
    transition: all 0.2s ease;
    padding: 0;
    text-decoration: none;
    position: relative;
}

.gczbd-header .gczbd-icon-btn--theme {
    border-color: #15b48b;
    color: #15b48b;
}

.gczbd-header .gczbd-icon-btn:hover {
    border-color: #15b48b;
    color: #15b48b;
}

.gczbd-header .gczbd-signin-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    height: 40px;
    padding: 0 18px;
    border-radius: 8px;
    background: #15b48b !important;
    border: none;
    color: #ffffff !important;
    font-size: 0.88rem;
    font-weight: 600;
    font-family: 'Inter', sans-serif !important;
    text-decoration: none !important;
    white-space: nowrap;
    transition: background 0.2s ease;
}

.gczbd-header .gczbd-signin-btn:hover {
    background: #12a07a !important;
    color: #ffffff !important;
}

.gczbd-header .shopping-cart button.dropdown-toggle {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    background: transparent !important;
    border: 1px solid rgba(255, 255, 255, 0.15) !important;
    color: #ffffff !important;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: 0;
}

.gczbd-header .shopping-cart button .count,
.gczbd-header .header-cart-notification {
    position: absolute;
    top: -4px;
    right: -4px;
    background: #15b48b !important;
    color: #fff !important;
    border-radius: 50%;
    width: 18px;
    height: 18px;
    font-size: 10px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: none !important;
}

.gczbd-header .profile-box .profile {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    overflow: hidden;
    border: 2px solid #15b48b;
    cursor: pointer;
}

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

/* Bottom nav row */
.gczbd-header-bottom {
    display: flex;
    align-items: center;
    position: relative;
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    min-height: 42px;
    width: 100%;
}

.gczbd-header .request-product-wrap {
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    z-index: 10;
}

.gczbd-header .request-product-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px;
    background: rgba(21, 180, 139, 0.08);
    border: 1px solid rgba(21, 180, 139, 0.3);
    border-radius: 999px;
    color: #ffffff !important;
    text-decoration: none !important;
    font-size: 0.76rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    font-family: 'Inter', sans-serif !important;
    white-space: nowrap;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.gczbd-header .request-product-link:hover {
    background: rgba(21, 180, 139, 0.2);
    border-color: #15b48b;
    color: #15b48b !important;
    box-shadow: 0 4px 14px rgba(21, 180, 139, 0.3);
    transform: translateY(-1px);
}

.gczbd-header .request-product-link i {
    color: #15b48b;
    font-size: 0.95rem;
}

/* Center Menu in Middle */
.gczbd-header .main-menu {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    margin: 0 auto;
    padding: 0 170px;
    overflow-x: auto;
    scrollbar-width: none;
}

.gczbd-header .main-menu::-webkit-scrollbar {
    display: none;
}

.gczbd-header .main-menu nav {
    margin: 0 auto;
    display: flex;
    justify-content: center;
}

.gczbd-header .main-menu nav ul {
    display: flex !important;
    align-items: center;
    justify-content: center !important;
    gap: 6px !important;
    list-style: none;
    margin: 0 auto;
    padding: 0;
    flex-wrap: nowrap;
}

.gczbd-header .main-menu nav ul > li > a,
.gczbd-header .main-menu .nav-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 7px 14px !important;
    color: rgba(255, 255, 255, 0.85) !important;
    font-family: 'Inter', sans-serif !important;
    font-size: 0.78rem !important;
    font-weight: 600 !important;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    text-decoration: none !important;
    border-radius: 999px !important;
    background: transparent !important;
    border: 1px solid transparent !important;
    box-shadow: none !important;
    white-space: nowrap;
    transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.gczbd-header .main-menu nav ul > li:hover > a,
.gczbd-header .main-menu nav ul > li > a:hover,
.gczbd-header .main-menu .nav-link:hover {
    color: #ffffff !important;
    background: rgba(255, 255, 255, 0.08) !important;
    border-color: rgba(255, 255, 255, 0.12) !important;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.25) !important;
}

.gczbd-header .main-menu .nav-link.active,
.gczbd-header .main-menu nav ul > li.active > a {
    color: #ffffff !important;
    background: rgba(255, 255, 255, 0.14) !important;
    border-color: rgba(255, 255, 255, 0.18) !important;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.15) !important;
}

@media (max-width: 1280px) {
    .gczbd-header .main-menu {
        padding: 0 120px;
    }
}

@media (max-width: 1100px) {
    .gczbd-header .request-product-wrap {
        position: static;
        transform: none;
    }
    .gczbd-header .main-menu {
        padding: 0;
        justify-content: flex-start;
    }
}

/* Glass Dropdowns */
.gczbd-header .search-result:not(:empty),
.gczbd-header .cart-dropdown,
.gczbd-header .user-dropdown {
    background: rgba(15, 20, 32, 0.94) !important;
    backdrop-filter: blur(20px) saturate(180%) !important;
    -webkit-backdrop-filter: blur(20px) saturate(180%) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    border-radius: 14px !important;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.6) !important;
}

/* Completely Disable Hover Mega-Menu Popup & Chevrons */
.gczbd-header .mega-menu,
.gczbd-header .gczbd-mega-menu,
.gczbd-header .headerIconCheev {
    display: none !important;
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
}

/* Dropdowns */
.gczbd-header .search-result:not(:empty),
.gczbd-header .cart-dropdown,
.gczbd-header .user-dropdown {
    background: #1c1d22 !important;
    background-color: #1c1d22 !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    border-radius: 10px !important;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.5) !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
}

.gczbd-header .search-item:hover {
    background: rgba(21, 180, 139, 0.1) !important;
}

.gczbd-header .user-dropdown li a i {
    color: #15b48b !important;
}

.gczbd-header .user-dropdown li a:hover {
    background: rgba(21, 180, 139, 0.1) !important;
}

.gczbd-header .mega-menu {
    background: #1c1d22 !important;
    background-color: #1c1d22 !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    border-radius: 12px !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
}

@media (max-width: 991px) {
    .gczbd-header-inner {
        padding: 10px 14px;
    }

    .gczbd-header-top {
        gap: 12px;
    }

    .gczbd-header .logo img {
        height: 32px;
        max-width: 110px;
    }

    .gczbd-header-bottom {
        display: none !important;
    }
}

/* Light theme */
html[data-theme="light"] .gczbd-header {
    background: #ffffff !important;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08) !important;
}

html[data-theme="light"] .gczbd-header-bottom {
    border-top-color: rgba(0, 0, 0, 0.08);
}

html[data-theme="light"] .gczbd-header .capsule-search {
    background: #f3f5f6 !important;
    border-color: rgba(0, 0, 0, 0.1) !important;
    color: #1f2937 !important;
}

html[data-theme="light"] .gczbd-header .capsule-search::placeholder {
    color: rgba(0, 0, 0, 0.45) !important;
}

html[data-theme="light"] .gczbd-header .header-search-wrap .search-btn2 {
    color: rgba(0, 0, 0, 0.45);
}

html[data-theme="light"] .gczbd-header .gczbd-icon-btn {
    border-color: rgba(0, 0, 0, 0.15);
    color: #1f2937;
}

html[data-theme="light"] .gczbd-header .gczbd-icon-btn--theme {
    border-color: #15b48b;
    color: #15b48b;
}

html[data-theme="light"] .gczbd-header .request-product-link,
html[data-theme="light"] .gczbd-header .main-menu nav ul > li > a,
html[data-theme="light"] .gczbd-header .main-menu .nav-link {
    color: #1f2937 !important;
}

html[data-theme="light"] .gczbd-header .request-product-wrap {
    border-right-color: rgba(0, 0, 0, 0.1) !important;
}

html[data-theme="light"] .gczbd-header .review-label-wrap {
    color: #1f2937 !important;
}

html[data-theme="light"] .gczbd-header .review-badge-card {
    background: #ffffff !important;
    border: 1px solid rgba(0, 0, 0, 0.12) !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.07);
}

html[data-theme="light"] .gczbd-header .review-badge-card:hover {
    box-shadow: 0 5px 14px rgba(0, 0, 0, 0.15);
}

html[data-theme="light"] .gczbd-header .shopping-cart button.dropdown-toggle {
    border-color: rgba(0, 0, 0, 0.15) !important;
    color: #1f2937 !important;
}

html[data-theme="light"] .gczbd-header .shopping-cart button.dropdown-toggle i {
    color: #1f2937 !important;
}

html[data-theme="light"] .gczbd-header .shopping-cart button.dropdown-toggle:hover i {
    color: #15b48b !important;
}

html[data-theme="light"] .gczbd-header .search-result:not(:empty),
html[data-theme="light"] .gczbd-header .cart-dropdown,
html[data-theme="light"] .gczbd-header .user-dropdown,
html[data-theme="light"] .gczbd-header .mega-menu {
    background: #ffffff !important;
    border-color: rgba(0, 0, 0, 0.1) !important;
    color: #1f2937 !important;
}

html[data-theme="light"] .gczbd-header .search-item .title {
    color: #1f2937 !important;
}

.gczbd-product-hero__icon {
    position: relative !important;
}

.gczbd-hero-image-flag {
    position: absolute !important;
    bottom: -4px !important;
    right: -4px !important;
    width: 24px !important;
    height: 17px !important;
    border-radius: 3px !important;
    overflow: hidden !important;
    border: 2px solid #ffffff !important;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.4) !important;
    background: #1e1e1e !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    z-index: 5 !important;
}

.gczbd-hero-image-flag img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
}

.gczbd-header .main-menu nav ul > li.with-mega-menu {
    position: relative !important;
}

.gczbd-header .main-menu nav ul > li.with-mega-menu .gczbd-mega-menu {
    position: absolute !important;
    top: 110% !important;
    left: 50% !important;
    transform: translateX(-50%) scale(0.95) !important;
    opacity: 0 !important;
    visibility: hidden !important;
    transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.25s ease, visibility 0.25s ease !important;
    z-index: 1050 !important;
    pointer-events: none !important;
    scale: none !important;
}

.gczbd-header .main-menu nav ul > li.with-mega-menu:hover .gczbd-mega-menu {
    opacity: 1 !important;
    visibility: visible !important;
    top: 100% !important;
    transform: translateX(-50%) scale(1) !important;
    pointer-events: auto !important;
    scale: none !important;
}

@media (min-width: 992px) {
    .gczbd-header .main-menu {
        overflow: visible !important;
    }
}

@media (max-width: 1280px) {
    .gczbd-header .review-label-wrap span {
        display: none !important;
    }
    .gczbd-header .header-search-wrap {
        max-width: 340px !important;
    }
}

@media (max-width: 1100px) {
    .gczbd-header .review-label-wrap {
        display: none !important;
    }
    .gczbd-header .review-badge-card {
        padding: 2px 8px !important;
        height: 32px !important;
    }
    .gczbd-header .review-badge-img {
        max-width: 80px !important;
        height: 18px !important;
    }
}
