/**
 * AstroNeev Header BEM Stylesheet
 *
 * @package AstroNeev
 * @version 2.0.0
 */

/* Color & Variable Tokens */
:root {
	--header-bg-black: #000000;
	--header-text-white: #FFFFFF;
	--header-gold-primary: #F6C453;
	--header-gold-hover: #FFD86E;
	--header-border-gold: rgba(246, 196, 83, 0.15);
	--header-glass-border: rgba(255, 255, 255, 0.12);
	--header-glass-bg: rgba(255, 255, 255, 0.05);
	--header-font-menu: 'Poppins', sans-serif;
	--header-transition: all 300ms ease;
}

/* Accessibility WCAG AA Skip Link */
.astroneev-header__skip-link {
	position: absolute;
	top: -100px;
	left: 20px;
	background: var(--header-gold-primary);
	color: #000000;
	padding: 12px 24px;
	z-index: 9999;
	font-weight: 700;
	border-radius: 8px;
	transition: top 200ms ease;
}

.astroneev-header__skip-link:focus {
	top: 15px;
}

.astroneev-header :focus-visible {
	outline: 2px solid var(--header-gold-primary);
	outline-offset: 4px;
}

/* Sticky Header Container Block */
.astroneev-header {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 92px;
	z-index: 1000;
	background: var(--header-bg-black) !important;
	border-bottom: 1px solid var(--header-border-gold);
	border-top: none !important;
	box-shadow: 0 8px 30px rgba(0, 0, 0, 0.45);
	display: flex;
	align-items: center;
	transition: var(--header-transition);
	box-sizing: border-box;
}

.astroneev-header::before,
.astroneev-header::after {
	content: none !important;
	display: none !important;
}

/* Sticky Header State */
.astroneev-header--scrolled {
	background: var(--header-bg-black) !important;
	border-bottom: 1px solid var(--header-border-gold);
	border-top: none !important;
	box-shadow: 0 8px 30px rgba(0, 0, 0, 0.45);
}

/* Grid Layout Container & Perfect Vertical Alignment */
.astroneev-header__container {
	width: 100%;
	max-width: 1440px;
	margin: 0 auto;
	padding: 0 32px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	height: 100%;
	box-sizing: border-box;
}

.astroneev-header__content-inner {
	width: 100%;
	max-width: 1280px;
	margin: 0 auto;
	display: flex;
	align-items: center;
	justify-content: space-between;
	height: 100%;
}

/* LEFT: Branding & Transparent Logo Element (Desktop Height: 60px) */
.astroneev-header__branding {
	display: flex;
	align-items: center;
	flex-shrink: 0;
	background: transparent !important;
	padding: 0;
	margin: 0;
	border: none;
}

.astroneev-header__logo-link {
	display: inline-flex;
	align-items: center;
	text-decoration: none;
	background: transparent !important;
	padding: 0;
	margin: 0;
	border: none;
}

.astroneev-header__logo,
.astroneev-header__branding img,
.astroneev-header__branding .custom-logo {
	height: 60px; /* Desktop Logo Height 60px */
	width: auto;
	object-fit: contain;
	aspect-ratio: auto;
	display: block;
	background: transparent !important;
	border: none !important;
	outline: none !important;
	filter: none !important;
	box-shadow: none !important;
}

/* CENTER: Navigation Menu (Gap: 36px) */
.astroneev-header__nav {
	display: flex;
	align-items: center;
}

.astroneev-header__menu {
	display: flex;
	align-items: center;
	gap: 36px;
	list-style: none;
	margin: 0;
	padding: 0;
}

.astroneev-header__item {
	position: relative;
	display: inline-flex;
	align-items: center;
}

/* Navigation Links (Poppins 600, 16px Font Size) */
.astroneev-header__link,
.astroneev-header__menu a {
	font-family: 'Poppins', sans-serif;
	font-size: 16px; /* 16px Desktop Navigation Font Size */
	font-weight: 600; /* 600 Font Weight */
	color: var(--header-text-white);
	text-decoration: none;
	padding: 6px 0;
	position: relative;
	display: inline-flex;
	align-items: center;
	gap: 6px;
	transition: color 250ms ease;
}

/* Underline Animation ONLY Below Active or Hovered Menu Item */
.astroneev-header__link::after,
.astroneev-header__menu a::after {
	content: '' !important;
	display: block !important;
	position: absolute;
	bottom: -8px;
	left: 0;
	width: 0;
	height: 2px;
	background-color: var(--header-gold-primary);
	transition: width 250ms ease;
	border-radius: 2px;
}

.astroneev-header__link:hover,
.astroneev-header__menu a:hover,
.astroneev-header__item--active > a,
.current-menu-item > a {
	color: var(--header-gold-primary);
}

.astroneev-header__link:hover::after,
.astroneev-header__menu a:hover::after,
.astroneev-header__item--active > a::after,
.current-menu-item > a::after {
	width: 100%;
}

/* RIGHT: Action Icons & Glassmorphism Button */
.astroneev-header__actions {
	display: flex;
	align-items: center;
	gap: 20px;
}

.astroneev-header__wc-icons {
	display: flex;
	align-items: center;
	gap: 16px;
}

.astroneev-header__icon-btn {
	background: none;
	border: none;
	color: var(--header-text-white);
	padding: 8px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	position: relative;
	transition: var(--header-transition);
	text-decoration: none;
	border-radius: 50%;
}

.astroneev-header__icon-btn:hover {
	color: var(--header-gold-primary);
	background: rgba(255, 255, 255, 0.06);
}

.astroneev-header__icon-btn svg {
	width: 22px;
	height: 22px;
	stroke: currentColor;
	fill: none;
	stroke-width: 2;
	stroke-linecap: round;
	stroke-linejoin: round;
}

/* Cart Counter Bubble */
.astroneev-header__cart-count {
	position: absolute;
	top: 2px;
	right: 2px;
	background: var(--header-gold-primary);
	color: #000000;
	font-family: 'Poppins', sans-serif;
	font-size: 11px;
	font-weight: 700;
	width: 18px;
	height: 18px;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
}

/* Glassmorphism Login Button Element */
.astroneev-header__btn-glass {
	height: 48px;
	padding: 0 28px;
	border-radius: 14px;
	border: 1px solid var(--header-glass-border);
	background: var(--header-glass-bg);
	backdrop-filter: blur(12px);
	-webkit-backdrop-filter: blur(12px);
	color: var(--header-text-white);
	font-family: 'Poppins', sans-serif;
	font-size: 15px;
	font-weight: 600;
	text-decoration: none;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	transition: var(--header-transition);
	cursor: pointer;
	white-space: nowrap;
}

.astroneev-header__btn-glass:hover {
	border-color: var(--header-gold-primary);
	color: var(--header-gold-primary);
	background: rgba(246, 196, 83, 0.12);
	transform: translateY(-2px);
}

/* Mobile Hamburger Toggle (< 1024px) */
.astroneev-header__hamburger {
	display: none;
	background: none;
	border: none;
	cursor: pointer;
	padding: 8px;
	flex-direction: column;
	gap: 6px;
	z-index: 1300;
}

.astroneev-header__hamburger-bar {
	width: 26px;
	height: 2px;
	background-color: var(--header-text-white);
	border-radius: 2px;
	transition: var(--header-transition);
}

.astroneev-header__hamburger--open .astroneev-header__hamburger-bar:nth-child(1) {
	transform: translateY(8px) rotate(45deg);
}

.astroneev-header__hamburger--open .astroneev-header__hamburger-bar:nth-child(2) {
	opacity: 0;
}

.astroneev-header__hamburger--open .astroneev-header__hamburger-bar:nth-child(3) {
	transform: translateY(-8px) rotate(-45deg);
}

/* Mobile Right Slide Panel (< 1024px) */
.astroneev-mobile-panel {
	position: fixed;
	top: 0;
	right: -100%;
	width: 340px;
	height: 100vh;
	background: var(--header-bg-black);
	z-index: 1200;
	transition: right 300ms ease;
	padding: 32px 24px;
	box-shadow: -10px 0 30px rgba(0, 0, 0, 0.8);
	overflow-y: auto;
	box-sizing: border-box;
}

.astroneev-mobile-panel--open {
	right: 0;
}

.astroneev-mobile-panel__header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-bottom: 32px;
	border-bottom: 1px solid var(--header-border-gold);
	padding-bottom: 16px;
}

.astroneev-mobile-panel__close {
	background: none;
	border: none;
	color: var(--header-text-white);
	font-size: 24px;
	cursor: pointer;
	padding: 4px;
}

.astroneev-mobile-panel__menu {
	list-style: none;
	padding: 0;
	margin: 0 0 32px 0;
}

.astroneev-mobile-panel__menu li {
	border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.astroneev-mobile-panel__menu a {
	display: block;
	padding: 14px 0;
	color: var(--header-text-white);
	text-decoration: none;
	font-family: 'Poppins', sans-serif;
	font-size: 15px; /* 15px Mobile Navigation Font Size */
	font-weight: 600;
}

.astroneev-mobile-panel__menu a:hover {
	color: var(--header-gold-primary);
}

/* Responsive Media Query Breakpoints */
@media (max-width: 1024px) {
	.astroneev-header {
		height: 80px;
	}

	.astroneev-header__logo,
	.astroneev-header__branding img,
	.astroneev-header__branding .custom-logo {
		height: 54px; /* Tablet Logo Height 54px */
	}

	.astroneev-header__nav {
		display: none;
	}

	.astroneev-header__hamburger {
		display: flex;
	}

	.astroneev-header__btn-glass {
		display: none;
	}
}

@media (max-width: 767px) {
	.astroneev-header {
		height: 72px;
	}

	.astroneev-header__container {
		padding: 0 20px;
	}

	.astroneev-header__logo,
	.astroneev-header__branding img,
	.astroneev-header__branding .custom-logo {
		height: 48px; /* Mobile Logo Height 48px */
	}
}
