/* Header — giftcardszonebd.com style */

.gczbd-header {
    background: #000000 !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06) !important;
    box-shadow: none !important;
    backdrop-filter: none !important;
    position: sticky;
    top: 0;
    z-index: 9999 !important;
    width: 100%;
}

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

.gczbd-header-inner {
    max-width: 1320px;
    margin: 0 auto;
    padding: 14px 20px 10px;
}

.gczbd-header-top {
    display: flex;
    align-items: center;
    gap: 24px;
    width: 100%;
}

.gczbd-header .logo {
    flex-shrink: 0;
    display: flex;
    align-items: center;
}

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

.gczbd-header .header-search-wrap {
    flex: 1;
    max-width: 720px;
    margin: 0 auto;
    position: relative;
}

.gczbd-header .capsule-search {
    width: 100%;
    height: 44px;
    border-radius: 999px !important;
    padding: 0 48px 0 20px !important;
    background: #1a1a1a !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    color: #ffffff !important;
    font-size: 0.9rem !important;
    font-family: 'Inter', sans-serif !important;
    outline: none !important;
    transition: border-color 0.2s ease, box-shadow 0.2s ease !important;
}

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

.gczbd-header .capsule-search:focus {
    border-color: #15b48b !important;
    box-shadow: 0 0 0 3px rgba(21, 180, 139, 0.15) !important;
}

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

.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;
}

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

.gczbd-header .custom-nav {
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
    margin: 0 !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;
    justify-content: center;
    position: relative;
    gap: 20px;
    margin-top: 12px;
    padding-top: 10px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    min-height: 42px;
}

.gczbd-header .request-product-wrap {
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
}

.gczbd-header .request-product-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #ffffff !important;
    text-decoration: none !important;
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    font-family: 'Inter', sans-serif !important;
    white-space: nowrap;
    flex-shrink: 0;
}

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

.gczbd-header .main-menu {
    display: flex;
    justify-content: center;
    overflow-x: auto;
    scrollbar-width: none;
}

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

.gczbd-header .main-menu nav ul {
    display: flex !important;
    align-items: center;
    gap: 6px !important;
    list-style: none;
    margin: 0;
    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: 5px;
    padding: 6px 12px !important;
    color: #ffffff !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: 6px;
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    white-space: nowrap;
    transition: color 0.2s ease, background 0.2s ease;
}

.gczbd-header .main-menu nav ul > li > a {
    transition: all 0.25s ease !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,
.gczbd-header .main-menu .nav-link.active {
    color: #ffffff !important;
    background: rgba(255, 255, 255, 0.08) !important;
    border-radius: 99px !important;
    padding: 6px 16px !important;
}

.gczbd-header .headerIconCheev {
    font-size: 0.65rem !important;
    opacity: 0.7;
    transition: all 0.25s ease !important;
}

.gczbd-header .main-menu nav ul > li:hover > a .headerIconCheev,
.gczbd-header .main-menu nav ul > li > a:hover .headerIconCheev,
.gczbd-header .main-menu .nav-link:hover .headerIconCheev,
.gczbd-header .main-menu .nav-link.active .headerIconCheev {
    background: #15b48b !important;
    color: #ffffff !important;
    border-radius: 50% !important;
    width: 18px !important;
    height: 18px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    margin-left: 6px !important;
    font-size: 0.55rem !important;
    opacity: 1 !important;
    vertical-align: middle !important;
    transform: rotate(0deg) !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 .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;
    }
}
