/* Custom Header Changes */
/* Custom row layout in the header WPB row: flex-auto + flex-1 + flex-auto */
#header .custom-header-top,
#header .custom-header-main,
#header.sticky-header .header-main.sticky {
    z-index: 9999;
}

#header .custom-header-main .porto-wrap-container.container {
    padding: 16px 30px;
    background: #FCFCFC;
    border: none;
    border-bottom-left-radius: 12px;
    border-bottom-right-radius: 12px;
    box-shadow: 0px 8px 9px 0px #83838345, 0px 3px 0px 0px #1384FF, 0px 4px 1px 0px #FFFFFF26 inset;
}

#header.sticky-header .custom-header-main.sticky {
    background-color: transparent !important;
    box-shadow: none !important;
}

#header .header-main .container,
#header.sticky-header .header-main .container {
    min-height: 62px !important;
}

#header .logo img {
    width: 100%;
}

#header .custom-header-main .header-menu-container>.wpb_wrapper {
    justify-content: flex-end;
    gap: 0 15px;
    gap: 0 5px;
}

#header .custom-header-main .header-menu-container>.wpb_wrapper::after {
    content: '';
    display: none !important;
}

#header .header-menu {
    margin: 0 !important;
}

#header .header-menu li a {
    font-family: 'Geologica', arial, sans-serif !important;
}

#header .header-menu li:first-child a {
    padding-left: 0 !important;
}

#header .header-menu li.active a {
    color: #000 !important;
}

#header .header-menu li.active:hover a {
    color: #0076f6 !important;
}

#header .header-menu li.mobile-only-header-menu-item {
    display: none !important;
}

.albatrossarmenia-dynamic-header-account-buttons {
    display: flex;
    flex-direction: row;
    justify-content: flex-end;
    align-items: center;
    gap: 0 30px;
    margin-right: 0 !important;
}

.albatrossarmenia-dynamic-header-account-buttons.dynamic-header-account-btns-logged-in-state {
    margin-left: 32px;
    margin-right: 10px !important;
}

.albatrossarmenia-dynamic-header-account-buttons a {
    position: relative;
    padding: 0 !important;
    font-size: 16px !important;
    font-family: 'Geologica', arial, sans-serif !important;
    font-weight: 400 !important;
    color: #0076F6 !important;
    background-color: transparent !important;
    line-height: 22px !important;
    border: none !important;
    box-shadow: none !important;
    opacity: 1;
    outline: none !important;
}

.albatrossarmenia-dynamic-header-account-buttons .header-dashboard-btn:before {
    content: '';
    position: absolute;
    top: 2px;
    left: -30px;
    width: 20px;
    height: 20px;
    background: url('../images/header-dashboard-icon.svg') no-repeat center;
    background-size: contain;
}

body #header .user-icon-black,
body #header .user-icon-white {
    display: none !important;
}

body.logged-in #header .user-icon-black {
    display: none !important;
}

body.logged-in #header .user-icon-white {
    display: inline-block !important;
}

body.logged-in #header.sticky-header .user-icon-black {
    display: inline-block !important;
}

body.logged-in #header.sticky-header .user-icon-white {
    display: none !important;
}

#header .mobile-toggle i {
    font-size: 20px !important;
}

/* Custom Logout Menu Item Styles */
.custom-header-logout-icon {
    position: relative;
    display: inline-block;
}

.custom-header-logout-icon .log-out-menu-item-icon-blue {
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.custom-header-logout-icon .custom-dropdown {
    display: none;
    position: absolute;
    top: 60px;
    left: -22px;
    transform: translateX(-50%);
    min-width: 160px;
    padding: 0;
    background: #FCFCFC;
    border-radius: 12px;
    box-shadow: 0px 8px 8.9px 0px #83838345, 0px 3px 0px 0px #1384FF, 0px 4px 1px 0px #FFFFFF26 inset;
    z-index: 999;
}

.custom-header-logout-icon .custom-dropdown a {
    text-align: center;
    display: block;
    padding: 30px;
    font-size: 16px;
    font-family: 'Geologica', arial, sans-serif;
    font-weight: 200;
    color: #0076F6;
    line-height: 20px;
    text-decoration: none;
    cursor: pointer;
}

/* Custo WPML Language Switcher Styles */
.custom-lang-switcher {
    position: relative;
    display: inline-block;
}

.current-lang {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    font-size: 16px;
    font-family: 'Geologica', arial, sans-serif;
    font-weight: 700;
    color: #0076F6;
    line-height: 20px;
    background: transparent;
    text-transform: uppercase;
    transition: background 0.3s;
    cursor: pointer;
}

.custom-customer-header .current-lang {
    color: #fff;
    line-height: 16px;
}

.lang-dropdown {
    text-align: center;
    display: none;
    position: absolute;
    top: 60px;
    left: 20px;
    transform: translateX(-50%);
    min-width: 100px;
    padding: 0;
    background: #FCFCFC;
    border-radius: 12px;
    box-shadow: 0px 8px 8.9px 0px #83838345, 0px 3px 0px 0px #1384FF, 0px 4px 1px 0px #FFFFFF26 inset;
    z-index: 999;
}

.lang-option {
    display: block;
    padding: 15px;
    font-size: 16px;
    font-family: 'Geologica', arial, sans-serif;
    font-weight: 400;
    color: #0076F6;
    line-height: 20px;
    text-decoration: none;
    text-transform: uppercase;
}

/* Mega Menu Styles */
.mega-menu-wrapper {
    position: relative;
    display: inline-block;
}

.mega-menu-toggle {
    position: relative;
    display: inline-block;
    padding: 0 15px;
    font-size: 16px;
    font-family: 'Geologica', arial, sans-serif !important;
    font-weight: 200;
    color: #000;
    line-height: 20px;
    text-decoration: none;
    cursor: pointer;
}

.is-mega-menu .mega-menu-toggle::before {
    content: '';
    position: absolute;
    top: 5px;
    right: 0;
    width: 10px;
    height: 12px;
    background: url('../images/header-menu-item-chevron-icon.svg') no-repeat center;
    background-size: contain;
}

.mega-menu-dropdown {
    display: none;
    position: absolute;
    top: 60px;
    left: 0;
    min-width: 550px;
    width: auto;
    padding: 30px;
    background: #FCFCFC;
    border-radius: 12px;
    box-shadow: 0px 8px 8.9px 0px rgba(131, 131, 131, 0.271), 0px 3px 0px 0px #1384FF, 0px 4px 1px 0px rgba(255, 255, 255, 0.149) inset;
    z-index: 9999;
}

@media screen and (min-width: 992px) {
    .mega-menu-wrapper.active .mega-menu-dropdown {
        display: block;
    }
}

.mega-menu-columns {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-start;
    gap: 0 64px;
}

.mega-menu-column {
    flex: 1 0 auto;
}

.mega-menu-column h4 {
    margin-bottom: 20px;
    font-size: 18px;
    font-family: 'Geologica', arial, sans-serif !important;
    font-weight: 400;
    color: #0076F6;
    line-height: 22px;
}

.mega-menu-column ul {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    gap: 10px 0;
    padding: 0;
    margin: 0;
    list-style: none;
}

.mega-menu-column li {
    padding: 0;
}

.mega-menu-column li a {
    font-size: 16px;
    font-family: 'Geologica', arial, sans-serif !important;
    font-weight: 200;
    color: #000;
    line-height: 20px;
    text-decoration: none;
}

.mega-menu-bottom-text {
    padding: 20px 25px;
    margin-top: 30px;
    font-size: 28px;
    font-family: 'Geologica', arial, sans-serif !important;
    font-weight: 600;
    color: #fff;
    line-height: 30px;
    background: linear-gradient(90deg, #0076F6 0%, #319DF2 100%);
    border-radius: 12px;
    box-shadow: 0px 17px 28.8px 0px rgba(6, 80, 165, 0.302), 0px 4px 0px 0px #6FB4FF, 0px 2px 2px 0px rgba(255, 255, 255, 0.278) inset;
    backdrop-filter: blur(5px)
}

/* Mobile Responsive */
@media screen and (max-width: 991px) {
    .mega-menu-dropdown {
        display: none;
        position: static;
        width: 100%;
        padding: 10px;
        box-shadow: none;
        border: none;
    }

    .mega-menu-wrapper.active .mega-menu-dropdown {
        display: block;
        min-width: 100%;
        max-width: 100%;
        background: transparent;
        padding: 10px 15px;
    }

    .mega-menu-wrapper {
        width: 100%;
    }

    .mega-menu-wrapper .mega-menu-toggle {
        width: 100%;
        font-size: 12px;
        font-weight: 700;
        color: #333;
        line-height: 16px;
        text-transform: uppercase;
    }

    .mega-menu-wrapper .mega-menu-toggle::before {
        right: 10px;
    }

    .mega-menu-columns {
        flex-direction: column;
        gap: 20px 0;
    }

    #header .custom-header-main #nav-panel .is-mega-menu .mega-menu-column {
        width: 100%;
        margin-bottom: 10px;
    }

    #header .custom-header-main #nav-panel .is-mega-menu .mega-menu-column ul li {
        border-bottom: none !important;
    }

    #header .custom-header-main #nav-panel .is-mega-menu .mega-menu-column ul li a {
        padding: 6px 0 !important;
    }

    .mega-menu-bottom-text {
        margin: 20px 0;
        font-size: 18px;
        line-height: 26px;
    }

    .custom-header-logout-icon .custom-dropdown {
        left: initial;
        right: 0;
        transform: initial;
    }
}




@media screen and (max-width: 991px) {
    #header .custom-header-main .porto-wrap-container.container {
        padding: 12px 25px;
    }

    #header .custom-header-main .porto-wrap-container.container .col-md-4 {
        flex: 1 0 50%;
    }

    #header .custom-header-main .porto-wrap-container.container .col-md-8 {
        flex: 1 0 45%;
    }

    #header .custom-header-main .porto-wrap-container.container a.mobile-toggle {
        padding: 0;
        margin: 0;
    }

    #header .custom-header-main .porto-wrap-container.container a.mobile-toggle i {
        width: 32px;
        height: 32px;
    }

    #header .custom-header-main .porto-wrap-container.container a.mobile-toggle i:before {
        content: '';
        width: 32px;
        height: 32px;
        display: block;
        background: url('/wp-content/uploads/2025/01/mobile-menu-icon.svg') no-repeat center;
        background-size: contain;
    }

    #header .custom-header-main #nav-panel {
        position: absolute;
        max-width: 100%;
        width: 100%;
        top: 78px;
        padding: 0;
    }

    #header .custom-header-main #nav-panel>.container {
        padding: 0 !important;
    }

    #header .custom-header-main #nav-panel .mobile-nav-wrap {
        border-radius: 12px;
    }

    #header .custom-header-main #nav-panel li a {
        padding: 6px 15px !important;
    }

    #header .custom-header-main #nav-panel li.mobile-only-logged-in-header-menu-item.dashboard-btn a {
        padding-left: 40px !important;
    }

    #header .custom-header-main #nav-panel li.mobile-only-header-menu-item {
        display: initial !important;
    }

    body.logged-in #header .custom-header-main #nav-panel li.mobile-only-logged-out-header-menu-item,
    body:not(.logged-in) #header .custom-header-main #nav-panel li.mobile-only-logged-in-header-menu-item {
        display: none !important;
    }

    body.logged-in #header .custom-header-main #nav-panel li.mobile-only-logged-in-header-menu-item,
    body:not(.logged-in) #header .custom-header-main #nav-panel li.mobile-only-logged-out-header-menu-item {
        display: initial !important;
    }

    #header .custom-header-main #nav-panel li.mobile-only-logged-in-header-menu-item.dashboard-btn a:before {
        content: '';
        position: absolute;
        top: 8px;
        left: 16px;
        width: 20px;
        height: 20px;
        background: url('/wp-content/uploads/2025/01/header-dashboard-icon.svg') no-repeat center;
        background-size: contain;
    }

    .albatrossarmenia-dynamic-header-account-buttons {
        display: none;
    }
}

@media screen and (max-width: 480px) {
    #header.sticky-header .custom-header-main.sticky #nav-panel {
        max-width: 100%;
        width: 90%;
    }
}

@media screen and (min-width: 481px) and (max-width: 580px) {
    #header.sticky-header .custom-header-main.sticky #nav-panel {
        max-width: 100%;
        width: 92%;
    }
}

@media screen and (min-width: 581px) and (max-width: 780px) {
    #header.sticky-header .custom-header-main.sticky #nav-panel {
        max-width: 100%;
        width: 94%;
    }
}

@media screen and (min-width: 781px) and (max-width: 991px) {
    #header.sticky-header .custom-header-main.sticky #nav-panel {
        max-width: 100%;
        width: 96%;
    }
}

@media screen and (max-width: 1200px) {
    #header {
        padding: 0 20px;
    }

    #header.sticky-header .custom-header-main.sticky {
        padding: 0 20px !important;
    }
}

@media screen and (min-width: 992px) and (max-width: 1169px) {
    #header .main-menu>li.menu-item>a {
        padding: 46px 6px 46px 6px;
    }
}

@media screen and (min-width: 992px) {
    .header-cta-column .wpb_wrapper>a:not(.mobile-toggle) {
        display: none !important;
    }

    .header-cta-column .header-cta-btn {
        margin-right: 0 !important;
    }

    body.logged-in .header-cta-column .wpb_wrapper>a:not(.mobile-toggle) {
        display: block !important;
    }

    body.logged-in .header-cta-column .header-cta-btn {
        margin-right: 14px !important;
    }
}

/* Custom Customer Header Changes */
.custom-customer-header {
    display: none;
}

body.logged-in.woocommerce-page:not(.woocommerce-checkout) #header {
    display: none !important;
}

body.logged-in.woocommerce-page.single-product.no-product-timeline-view #header {
    display: block !important;
}

body.logged-in.woocommerce-page:not(.woocommerce-checkout) {
    padding-top: 70px;
}

body.logged-in.woocommerce-page.single-product.no-product-timeline-view {
    padding-top: 0;
}

body.logged-in.woocommerce-page:not(.woocommerce-checkout) .custom-customer-header {
    display: block;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 14px 20px;
    background: linear-gradient(90deg, #0076F6 0%, #319DF2 100%);
    border-bottom: 1px solid #0176F6;
    z-index: 9999;
}

body.logged-in.woocommerce-page.single-product.no-product-timeline-view .custom-customer-header {
    display: none;
}

body.woocommerce-page .custom-customer-header.sticky-my-account-menu {
    transition: all .3s ease-in;
}

body.woocommerce-page .custom-customer-header .custom-customer-header-inner {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    padding-left: 0 !important;
    padding-right: 0 !important;
}

.custom-customer-header .customer-header-left {
    flex: 1 0 50%;
}

/*
.custom-customer-header .customer-header-center {
    text-align: center;
	flex: 1 0 33%;
}

.custom-customer-header .customer-header-center .coupon-expiration-countdown-container {
	padding: 0;
	margin: 0;
	text-align: center;
	font-size: 18px;
	color: #111;
	min-width: 300px;
}

.custom-customer-header .customer-header-center .coupon-expiration-countdown-container .time-remaining {
	display: inline-block;
	font-size: 18px;
	font-weight: bold;
	margin: 0 0 5px 0;
}

.custom-customer-header .customer-header-center .coupon-expiration-countdown-container .countdown-clock {
	display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
	padding: 4px 15px;
	border: 1px solid #777;
	border-radius: 10px;
}

.custom-customer-header .customer-header-center .coupon-expiration-countdown-container .countdown-clock p {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin: 0;
}

.custom-customer-header .customer-header-center .coupon-expiration-countdown-container .countdown-clock p .countdown-number-text {
    font-size: 35px;
    font-weight: bold;
    color: red;
    line-height: 40px;
}

.custom-customer-header .customer-header-center .coupon-expiration-countdown-container .countdown-clock p .countdown-text {
    font-size: 15px;
    font-weight: bold;
    color: #111;
    line-height: 20px;
}
*/

.custom-customer-header .customer-header-right {
    text-align: right;
    flex: 1 0 50%;
}

.custom-customer-header .customer-header-right .header-icons-container {
    display: flex;
    flex-direction: row;
    justify-content: flex-end;
    align-items: center;
    gap: 0 24px;
    padding: 0;
    margin: 0;
    list-style: none;
}

.customer-header-right .custom-my-account-sliding-menu-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 999;
}

.customer-header-right .custom-my-account-sliding-menu {
    position: fixed;
    top: 0;
    right: -400px;
    width: 400px;
    height: 100vh;
    background-color: #fff;
    z-index: 1000;
    transition: right 0.3s ease;
    overflow-y: auto;
}

.customer-header-right .custom-my-account-sliding-menu .close-btn {
    position: absolute;
    top: 20px;
    left: 20px;
    background-color: #3098e9;
    color: white;
    border: none;
    padding: 10px;
    font-size: 18px;
    cursor: pointer;
}

.customer-header-right .custom-my-account-sliding-menu ul {
    list-style-type: none;
    padding: 20px 0 0 0;
    margin-top: 60px;
}

.customer-header-right .custom-my-account-sliding-menu ul li {
    text-align: left;
    padding: 0 15px;
}

.customer-header-right .custom-my-account-sliding-menu ul li a {
    padding: 15px;
    color: #111;
    text-decoration: none;
    display: block;
}

.customer-header-right .custom-my-account-sliding-menu ul li a:hover {
    color: #fff;
    background-color: #3098e9;
}

.customer-header-right .open-btn {
    background-color: #3098e9;
    color: #fff;
    padding: 10px 20px;
    border: none;
    cursor: pointer;
    display: inline-block !important;
}

.custom-customer-header .customer-header-right i {
    display: none !important;
}

/* Show the open button on desktop */
/*
@media (min-width: 768px) {
    .customer-header-right .open-btn {
        display: inline-block;
    }
}
*/

@media screen and (min-width: 1420px) {
    .custom-customer-header .container {
        max-width: 1440px;
        padding-left: 0 !important;
        padding-right: 0 !important;
    }
}

@media screen and (max-width: 767px) {
    body.logged-in.woocommerce-page:not(.woocommerce-checkout) {
        padding-top: 70px;
    }

    body.woocommerce-page .custom-customer-header .custom-customer-header-inner {
        flex-wrap: wrap;
    }

    /*
	.custom-customer-header .customer-header-left {
		flex: 1 0 50%;
		gap: 5px 0;
        order: 2;
	}
	
	.custom-customer-header .customer-header-left .customer-welcome-text h2 {
		font-size: 16px;
		line-height: 26px;
	}


	.custom-customer-header .customer-header-center {
		order: 1;
		flex: 1 0 100%;
	}
    */

    .custom-customer-header .customer-header-center .coupon-expiration-countdown-container .time-remaining {
        display: none;
    }

    .custom-customer-header .customer-header-center .coupon-expiration-countdown-container {
        margin-top: 10px;
    }

    /*
	.custom-customer-header .customer-header-right {
		flex: 1 0 50%;
        order: 3;
	}
    */

    .custom-customer-header .customer-header-right .open-btn {
        display: none !important;
    }

    .custom-customer-header .customer-header-right i {
        display: block !important;
    }

    .customer-header-right .custom-my-account-sliding-menu {
        width: 75%;
    }
}

.user-avatar-image {
    width: 30px;
    height: 30px;
    border-radius: 50%;
}

.user-initials-avatar {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background-color: #0176F6;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
    font-weight: 600;
    text-transform: uppercase;
}