#site-header {
	position: sticky;
	top: calc(0px + var(--wp-admin--admin-bar--height, 0px));
	background-color: white;
	z-index: 899;
}

#site-header .header-inner {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 1rem 2rem;
	border-bottom: 1px solid #eee;
	z-index: 99;
	height: 64px;
}

body.home #site-header {
	position: fixed;
	top: calc(0px + var(--wp-admin--admin-bar--height, 0px));
	right: 0;
	width: 100%;
	background-color: transparent;
}

body.home #site-header .header-inner {
	border: none;
}

#site-header .menu-cart {
	color: black;
}

.header-logo svg {
	transition: transform 0.2s ease; 
}
.header-logo svg:hover {
	transform: rotate(-3deg); 
}

@media (min-width: 767px) {
	body.vans_custom_sticky #site-header {
		background-color: white !important;
	}

	body.home #site-header .header-icon svg {
		color: white;
	}

	body.vans_custom_sticky.home #site-header .header-icon svg {
		color: black;
	}

	body.home #site-header .header-logo {
		fill: white;
	}

	body.vans_custom_sticky.home #site-header .header-logo {
		fill: black;
	}

	body.home #site-header .menu-cart {
		color: rgb(255, 255, 255);
	}

	body.vans_custom_sticky #site-header .menu-cart {
		color: rgb(0, 0, 0);
	}
}

@media (max-width: 767px) {

	.home .header-icon svg {
		color: white;
	}

	.home .fkcart-shortcode-icon-wrap svg {
		color: white;
	}

	.home.vans_custom_sticky .fkcart-shortcode-icon-wrap svg {
		color: black;
	}

	.home.vans_custom_sticky .header-icon svg {
		color: black;
	}

	.home.vans_custom_sticky .header-inner {
		background-color: white;
	}

	.home #site-header .header-logo {
		fill: white;
	}

	.home.vans_custom_sticky #site-header .header-logo {
		fill: black;
	}

	#side-menu-container {
		/* z-index: 1900; */
	}

	/* #wrap #site-header{
	position: fixed;
	top: auto;
	bottom: 20px;
	right: 10%;
	width: 80%;
	background-color: white;
	z-index: 299 !important;
}

	body.home #site-header .header-inner *{
	color: #000;
	stroke: #000;
}

	.header-menu{
	width: calc(80vw / 4) !important;
}

	.header-logo{
	position: fixed;
	top: calc(10px + var(--wp-admin--admin-bar--height, 0px));
	right: 10px;
}

	.header-icons{
	flex: 1;
	justify-content: space-between;
} */
	#site-header {
		top: 0;
	}

	#site-header .header-inner {
		justify-content: start !important;
		column-gap: 30px;
	}

	#site-header .header-logo {
		order: 3;
		margin-right: auto;
	}
}

.site-branding img {
	max-height: 50px;
	width: auto;
}

.header-icons {
	display: flex;
	gap: 15px;
	flex-direction: row-reverse;
}

.header-icon svg {
	width: 24px;
	height: 24px;
	color: #333;
	transition: color 0.3s ease;
}

.header-icon:hover svg {
	color: #0073aa;
}


/* Pop-up Styles */
.popup-container {
	display: none;
	/* Hidden by default */
	position: fixed;
	z-index: 1000;
	left: 0;
	top: 0;
	width: 100%;
	height: 100%;
	overflow: auto;
	background-color: rgba(0, 0, 0, 0.5);
	align-items: center;
	justify-content: center;
}

.popup-container.active {
	display: flex;

}

.popup-content {
	background-color: #fff;
	margin: auto;
	padding: 40px;
	border: 1px solid #888;
	width: 80%;
	max-width: 500px;
	position: relative;
	box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
	animation: fadeIn 0.3s;
}

/* Animation for popup */
@keyframes fadeIn {
	from {
		transform: scale(0.9);
		opacity: 0;
	}

	to {
		transform: scale(1);
		opacity: 1;
	}
}

.close-btn {
	color: #aaa;
	position: absolute;
	top: 10px;
	right: 20px;
	font-size: 28px;
	font-weight: bold;
	cursor: pointer;
}

.close-btn:hover,
.close-btn:focus {
	color: black;
	text-decoration: none;
}

/* Style the search form inside the popup */
#search-popup .search-form {
	display: flex;
}

#search-popup .search-field {
	width: 100%;
	padding: 10px;
	border: 1px solid #ccc;
	border-right: none;
}

#search-popup .search-submit {
	padding: 10px 20px;
	border: 1px solid #0073aa;
	background: #0073aa;
	color: white;
	cursor: pointer;
}

/* Style the WooCommerce login form for better popup display */
#login-popup .woocommerce {
	max-width: 100%;
}

/* Side Menu Styles */
#side-menu--container{

}

.side-menu-wrap-overlay{
	display: none;
}
.side-menu-wrap-overlay.active {
	display: block;
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	z-index: 999;
}

#side-menu {
	position: fixed;
	top: calc(0px + var(--wp-admin--admin-bar--height, 0px));
	right: -100%;
	width: 100%;
	max-width: 440px;
	height: 100%;
	background-color: rgba(0, 0, 0, 0.7);
	backdrop-filter: blur(10px);
	-webkit-backdrop-filter: blur(10px);
	z-index: 2000;
	transition: right 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
	color: #fff;
	display: flex;
	/* 	justify-content: space-between; */
	flex-direction: column;
	overflow: auto;
}

#side-menu.active {
	right: 0;
}

#close-menu {
	position: sticky;
	/* position: absolute; */
	bottom: 60px;
	/* left: 36px; */
	left: auto;
	right: calc(100% - 70px);
	width: 45px;
	font-size: 38px;
	color: black;
	text-decoration: none;
	line-height: 1;
	background-color: #f3f3f3;
	padding: 3px 13px;
	border-radius: 2px;
}

#close-menu:hover {
	background-color: white;
}

@media (max-width: 767px) {
	#side-menu-container {
		max-width: 100%;
		/* z-index: 300; */
	}

	#close-menu {
		bottom: 68px;
	}
}

.menu-header {
	padding: 0;
	/* 	border-bottom: 1px solid rgba(255, 255, 255, 0.2); */
	min-height: 65px;
	display: flex;
	align-items: center;
	justify-content: flex-end;
	position: relative;
}

.menu-header a:hover {
	color: white;
}

.menu-tabs-container {
	display: flex;
	width: 100%;
	overflow-x: auto;
	padding: 16px 24px 0 24px;
}

.menu-tab {
	padding: 1px 15px;
	color: #f2f2f2;
	cursor: pointer;
	white-space: nowrap;
	transition: all 0.3s ease;
	font-size: 15px;
	border-radius: 2px;
	border: 1px solid transparent;
	transition: border-color 0.3s ease;
}

.menu-tab:hover {
	border-color: #f2f2f2;
}

.menu-tab.active {
	background-color: #f2f2f2;
	color: black;
}

.menu-back-button {
	color: white;
	padding: 0 20px;
	width: 100%;
}

.menu-back-button .parent-menu-title {
	font-size: 16px;
	line-height: 20px;
	font-weight: 600;
}

.menu-content-area {
	flex-shrink: 0;
	position: relative;
	height: 370px;
	overflow: hidden;
}

#side-menu-main_footer a {
	font-size: 13px !important;
}

/* Hide the entire main menu UL initially, we will show children as needed */
#side-menu-main {
	display: none;
}

#side-menu-container ul.sub-menu {
	list-style: none;
	padding: 0;
	margin: 0;
	width: 100%;
	height: 100%;
	/* overflow-y: auto; */
	position: absolute;
	top: 0;
	left: 0;
	background-color: transparent;
	transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);

	/* Default state: off-screen to the right */
	transform: translateX(100%);
}

/* State for the currently visible menu panel */
#side-menu-container ul.sub-menu.is-visible {
	transform: translateX(0);
}

/* This is the content for the selected tab OR an active submenu */
#side-menu-container ul.sub-menu.active-level {
	transform: translateX(0);
	visibility: visible;
}

/* This is for the parent menu that is sliding away */
#side-menu-container ul.sub-menu.parent-level {
	/* transform: translateX(-100%); */
	transform: translateX(0);
	visibility: hidden;
}

#side-menu-container .menu-item-link {
	display: flex;
	flex-direction: row-reverse;
	align-items: center;
	justify-content: space-between;
	padding: 7px 20px;
	color: #f2f2f2;
	text-decoration: none;
	font-size: 1.1em;
	font-weight: 400;
}


/* Text animation */
#side-menu-container .menu-item-link>span {
	position: relative;
	display: inline-block;
	transition: color 0.5s ease;
}

#side-menu-container .menu-item-link:hover span {
	transform: rotate(1.5deg);
	transition: color 0.9s ease;
}

#side-menu-main_footer .menu-item-link:hover span {
	transform: none;
}

#side-menu-main_footer {
	background: linear-gradient(to right, #ffffff 80%, rgb(255,255,255) 80%);
	background-size: 90% 1px;
	background-repeat: no-repeat;
	background-position: top center;
}

#side-menu-container .menu-item-link>span::after {
	content: '';
	position: absolute;
	bottom: 4px;
	right: 0;
	width: 0;
	height: 1px;
	background-color: #ffffff;
	transition: width 0.3s ease;
}

#side-menu-container .menu-item-link:hover>span::after {
	width: 100%;
}

/* Text animation end */

#side-menu-container .menu-item-arrow {
	flex-shrink: 0;
}

#side-menu-container .menu-item .menu-item-arrow {
	transform: rotate(0deg);
}

#side-menu-container li:not(.menu-item-has-children) .menu-item-arrow {
	opacity: 0;
}