/**
 * Header Styles
 * طراحی مینیمال و جذاب - بدون بکگراند
 */

/* Header Base */
.header {
	position: fixed !important;
	top: 1.5rem !important;
	left: 1.5rem !important;
	right: 1.5rem !important;
	width: calc(100% - 3rem) !important;
	z-index: 900 !important;
	padding: 0 !important;
	margin: 0 !important;
	background: rgba(0, 0, 0, 0.4) !important;
	backdrop-filter: blur(30px) saturate(180%) !important;
	-webkit-backdrop-filter: blur(30px) saturate(180%) !important;
	border-radius: 24px !important;
	border: 1px solid rgba(255, 255, 255, 0.1) !important;
	box-shadow: 
		0 8px 32px rgba(0, 0, 0, 0.3),
		inset 0 1px 0 rgba(255, 255, 255, 0.1),
		inset 0 -1px 0 rgba(0, 0, 0, 0.2) !important;
	transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
	display: block !important;
	visibility: visible !important;
	opacity: 1 !important;
	transform: translateY(0) !important;
	will-change: transform, opacity !important;
	backface-visibility: hidden !important;
	-webkit-backface-visibility: hidden !important;
}

/* Initial state for animation - فقط اگر JavaScript فعال باشد */
.header[data-header]:not(.header--animated) {
	opacity: 0 !important;
	transform: translateY(-30px) !important;
}

.header.scrolled {
	top: 1rem !important;
	left: 1rem !important;
	right: 1rem !important;
	width: calc(100% - 2rem) !important;
	background: rgba(0, 0, 0, 0.5) !important;
	border-color: rgba(255, 255, 255, 0.15) !important;
	box-shadow: 
		0 12px 40px rgba(0, 0, 0, 0.4),
		inset 0 1px 0 rgba(255, 255, 255, 0.15),
		inset 0 -1px 0 rgba(0, 0, 0, 0.3) !important;
}

/* Container */
.header__container {
	max-width: 1600px !important;
	margin: 0 auto !important;
	display: grid !important;
	grid-template-columns: 1fr auto 1fr !important;
	align-items: center !important;
	gap: 3rem !important;
	background: transparent !important;
	padding: 1.25rem 2.5rem !important;
	transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1) !important;
	width: 100% !important;
}

.header.scrolled .header__container {
	padding: 1rem 2rem !important;
}

/* Navigation - Right Side */
.header__nav {
	display: flex !important;
	justify-content: flex-start !important;
	align-items: center !important;
	position: relative !important;
}

.header__menu {
	display: flex !important;
	list-style: none !important;
	margin: 0 !important;
	padding: 0 !important;
	gap: 2.5rem !important;
	align-items: center !important;
}

.header__menu-item {
	position: relative !important;
	list-style: none !important;
	margin: 0 !important;
	padding: 0 !important;
}

.header__menu-link {
	font-family: 'Peyda', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif !important;
	font-size: 0.9375rem !important;
	font-weight: 500 !important;
	color: rgba(255, 255, 255, 0.9) !important;
	text-decoration: none !important;
	padding: 0.5rem 0 !important;
	display: block !important;
	transition: color 0.2s ease, transform 0.2s ease !important;
	position: relative !important;
	will-change: transform !important;
	backface-visibility: hidden !important;
	-webkit-backface-visibility: hidden !important;
}

.header__menu-link::after {
	content: '' !important;
	position: absolute !important;
	bottom: 0 !important;
	right: 0 !important;
	width: 0 !important;
	height: 2px !important;
	background: linear-gradient(90deg, transparent, rgba(255, 215, 0, 0.8), transparent) !important;
	border-radius: 2px !important;
	transition: width 0.4s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

.header__menu-link:hover {
	color: #ffffff !important;
	transform: translateY(-2px) !important;
}

.header__menu-link:hover::after {
	width: 100% !important;
}

/* Logo - Center */
.header__logo {
	display: flex !important;
	justify-content: center !important;
	align-items: center !important;
	flex-shrink: 0 !important;
}

.header__logo-link {
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;
	text-decoration: none !important;
	transition: transform 0.2s ease !important;
	will-change: transform !important;
	backface-visibility: hidden !important;
	-webkit-backface-visibility: hidden !important;
}

.header__logo-link:hover {
	transform: scale(1.05) !important;
}

.header__logo-image {
	height: 50px !important;
	width: auto !important;
	object-fit: contain !important;
	transition: all 0.3s ease !important;
	display: block !important;
}

.header__logo-text {
	font-family: 'Peyda', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif !important;
	font-size: 1.75rem !important;
	font-weight: 900 !important;
	color: #ffffff !important;
	background: linear-gradient(135deg, #ffffff 0%, rgba(255, 215, 0, 0.9) 100%) !important;
	-webkit-background-clip: text !important;
	-webkit-text-fill-color: transparent !important;
	background-clip: text !important;
	letter-spacing: -1px !important;
	transition: all 0.3s ease !important;
	display: block !important;
}

/* Actions - Left Side */
.header__actions {
	display: flex !important;
	justify-content: flex-end !important;
	align-items: center !important;
	gap: 1rem !important;
	flex-shrink: 0 !important;
}

.header__action-btn {
	position: relative !important;
	display: flex !important;
	align-items: center !important;
	justify-content: center !important;
	width: 48px !important;
	height: 48px !important;
	border: 1px solid rgba(255, 255, 255, 0.1) !important;
	border-radius: 12px !important;
	background: rgba(255, 255, 255, 0.03) !important;
	backdrop-filter: blur(10px) !important;
	-webkit-backdrop-filter: blur(10px) !important;
	color: rgba(255, 255, 255, 0.9) !important;
	text-decoration: none !important;
	transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease !important;
	cursor: pointer !important;
	will-change: transform !important;
	backface-visibility: hidden !important;
	-webkit-backface-visibility: hidden !important;
	overflow: visible !important;
	margin: 0 !important;
	padding: 0 !important;
}

/* اطمینان از نمایش آیکون‌ها */
.header__action-btn [data-lucide] {
	display: block !important;
	width: 22px !important;
	height: 22px !important;
}

.header__action-btn [data-lucide] svg {
	display: block !important;
	width: 100% !important;
	height: 100% !important;
}

.header__action-btn::before {
	content: '' !important;
	position: absolute !important;
	top: 50% !important;
	left: 50% !important;
	width: 0 !important;
	height: 0 !important;
	background: radial-gradient(circle, rgba(255, 215, 0, 0.3) 0%, transparent 70%) !important;
	border-radius: 50% !important;
	transform: translate(-50%, -50%) !important;
	transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1) !important;
	z-index: 0 !important;
}

.header__action-btn:hover::before {
	width: 100% !important;
	height: 100% !important;
}

.header__action-btn:hover {
	border-color: rgba(255, 215, 0, 0.4) !important;
	background: rgba(255, 215, 0, 0.08) !important;
	transform: scale(1.05) translateY(-1px) !important;
	box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25) !important;
}

.header__action-btn:active {
	transform: translateY(0) !important;
}

.header__action-icon {
	width: 22px !important;
	height: 22px !important;
	stroke: rgba(255, 255, 255, 0.9) !important;
	position: relative !important;
	z-index: 1 !important;
	transition: all 0.3s ease !important;
	display: flex !important;
	align-items: center !important;
	justify-content: center !important;
	min-width: 22px !important;
	min-height: 22px !important;
}

.header__action-icon svg {
	width: 22px !important;
	height: 22px !important;
	min-width: 22px !important;
	min-height: 22px !important;
	stroke: rgba(255, 255, 255, 0.9) !important;
	transition: all 0.3s ease !important;
	display: block !important;
	visibility: visible !important;
	opacity: 1 !important;
}

.header__action-btn:hover .header__action-icon,
.header__action-btn:hover .header__action-icon svg {
	stroke: #ffffff !important;
	transform: scale(1.1) !important;
}

/* Cart Count Badge */
.header__cart-count {
	position: absolute !important;
	top: -6px !important;
	right: -6px !important;
	min-width: 20px !important;
	height: 20px !important;
	padding: 0 6px !important;
	background: linear-gradient(135deg, rgba(255, 215, 0, 0.9), rgba(255, 215, 0, 0.7)) !important;
	color: #000000 !important;
	border-radius: 10px !important;
	display: flex !important;
	align-items: center !important;
	justify-content: center !important;
	font-family: 'Peyda', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif !important;
	font-size: 0.6875rem !important;
	font-weight: 700 !important;
	line-height: 1 !important;
	border: 2px solid #000000 !important;
	box-shadow: 0 2px 8px rgba(255, 215, 0, 0.4) !important;
	z-index: 2 !important;
	animation: cartPulse 0.6s ease !important;
}

@keyframes cartPulse {
	0%, 100% {
		transform: scale(1);
	}
	50% {
		transform: scale(1.2);
	}
}

/* Mobile Menu Toggle */
.header__mobile-toggle {
	display: none !important;
	align-items: center !important;
	justify-content: center !important;
	width: 48px !important;
	height: 48px !important;
	border: 1px solid rgba(255, 255, 255, 0.1) !important;
	border-radius: 12px !important;
	background: rgba(255, 255, 255, 0.03) !important;
	backdrop-filter: blur(10px) !important;
	-webkit-backdrop-filter: blur(10px) !important;
	color: rgba(255, 255, 255, 0.9) !important;
	cursor: pointer !important;
	transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
	margin: 0 !important;
	padding: 0 !important;
	position: relative !important;
	z-index: 10001 !important;
}

.header__mobile-toggle:hover {
	border-color: rgba(255, 215, 0, 0.4) !important;
	background: rgba(255, 215, 0, 0.08) !important;
}

.header__mobile-toggle-icon {
	width: 24px !important;
	height: 20px !important;
	display: flex !important;
	flex-direction: column !important;
	align-items: center !important;
	justify-content: space-between !important;
	position: relative !important;
}

.header__hamburger-line {
	width: 24px;
	height: 2px;
	background: rgba(255, 255, 255, 0.9);
	border-radius: 2px;
	transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
	transform-origin: center;
}

.header__mobile-toggle.active .header__hamburger-line:nth-child(1) {
	transform: translateY(9px) rotate(45deg);
}

.header__mobile-toggle.active .header__hamburger-line:nth-child(2) {
	opacity: 0;
	transform: scaleX(0);
}

.header__mobile-toggle.active .header__hamburger-line:nth-child(3) {
	transform: translateY(-9px) rotate(-45deg);
}

/* Mobile Menu Overlay */
.header__mobile-overlay {
	position: fixed !important;
	top: 0 !important;
	left: 0 !important;
	right: 0 !important;
	bottom: 0 !important;
	background: rgba(0, 0, 0, 0.8) !important;
	backdrop-filter: blur(8px) !important;
	-webkit-backdrop-filter: blur(8px) !important;
	opacity: 0 !important;
	visibility: hidden !important;
	transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
	z-index: 9998 !important;
}

.header__mobile-overlay.active {
	opacity: 1 !important;
	visibility: visible !important;
}

/* Mobile Menu Panel */
.header__mobile-menu {
	position: fixed !important;
	top: 0 !important;
	right: 0 !important;
	width: 340px !important;
	max-width: 85vw !important;
	height: 100vh !important;
	background: linear-gradient(135deg, rgba(0, 0, 0, 0.98) 0%, rgba(0, 0, 0, 0.95) 100%) !important;
	backdrop-filter: blur(30px) saturate(180%) !important;
	-webkit-backdrop-filter: blur(30px) saturate(180%) !important;
	border-left: 1px solid rgba(255, 255, 255, 0.1) !important;
	box-shadow: 
		-8px 0 32px rgba(0, 0, 0, 0.5),
		inset 1px 0 0 rgba(255, 255, 255, 0.05) !important;
	transform: translateX(100%) !important;
	opacity: 0 !important;
	visibility: hidden !important;
	transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1) !important;
	z-index: 9999 !important;
	overflow-y: auto !important;
	overflow-x: hidden !important;
	-webkit-overflow-scrolling: touch !important;
	box-sizing: border-box !important;
}

.header__mobile-menu.active {
	transform: translateX(0) !important;
	opacity: 1 !important;
	visibility: visible !important;
}

.header__mobile-menu-container {
	padding: 2rem 1.5rem !important;
	padding-top: 5.5rem !important;
	display: flex !important;
	flex-direction: column !important;
	gap: 2.5rem !important;
	min-height: 100% !important;
	position: relative !important;
	z-index: 1 !important;
	box-sizing: border-box !important;
}

/* Mobile Close Button */
.header__mobile-close {
	position: fixed !important;
	top: 1.5rem !important;
	z-index: 10000 !important;
	right: 1.5rem !important;
	left: auto !important;
	width: 44px !important;
	height: 44px !important;
	border-radius: 12px !important;
	background: rgba(255, 255, 255, 0.05) !important;
	border: 1px solid rgba(255, 255, 255, 0.1) !important;
	backdrop-filter: blur(10px) !important;
	-webkit-backdrop-filter: blur(10px) !important;
	color: rgba(255, 255, 255, 0.9) !important;
	cursor: pointer !important;
	display: flex !important;
	align-items: center !important;
	justify-content: center !important;
	transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
	z-index: 1002 !important;
}

.header__mobile-close:hover {
	background: rgba(255, 0, 0, 0.15);
	border-color: rgba(255, 0, 0, 0.3);
	transform: rotate(90deg);
}

.header__mobile-close-icon {
	width: 22px !important;
	height: 22px !important;
	min-width: 22px !important;
	min-height: 22px !important;
	display: block !important;
	stroke: currentColor !important;
	transition: transform 0.3s ease !important;
}

.header__mobile-close:hover .header__mobile-close-icon {
	transform: rotate(90deg) !important;
}

/* Mobile Logo - بعد از Mobile Actions */
.header__mobile-logo {
	display: flex;
	justify-content: center;
	align-items: center;
	padding: 1.5rem 0 1rem;
	border-bottom: 1px solid rgba(255, 255, 255, 0.08);
	order: 2; /* بعد از actions */
}

.header__mobile-logo-link {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	text-decoration: none;
	transition: transform 0.3s ease;
}

.header__mobile-logo-link:hover {
	transform: scale(1.05);
}

.header__mobile-logo-image {
	height: 50px;
	width: auto;
}

.header__mobile-logo-text {
	font-family: 'Peyda', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
	font-size: 1.75rem;
	font-weight: 800;
	color: #ffffff;
	letter-spacing: -0.02em;
	background: linear-gradient(135deg, #ffffff 0%, rgba(255, 215, 0, 0.9) 100%);
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	background-clip: text;
}

/* Mobile Navigation */
.header__mobile-nav {
	display: flex;
	flex-direction: column;
	gap: 1rem;
	order: 3; /* بعد از logo */
}

.header__mobile-nav-title {
	display: flex;
	align-items: center;
	gap: 0.625rem;
	font-family: 'Peyda', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
	font-size: 0.8125rem;
	font-weight: 700;
	letter-spacing: 2.5px;
	text-transform: uppercase;
	color: rgba(255, 255, 255, 0.6);
	margin-bottom: 0.875rem;
	padding: 0 0.25rem;
}

.header__mobile-nav-title-icon {
	width: 16px;
	height: 16px;
	color: rgba(255, 255, 255, 0.7);
}

.header__mobile-menu-list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 0.5rem;
}

.header__mobile-menu-item {
	list-style: none;
	margin: 0;
	padding: 0;
}

.header__mobile-menu-link {
	display: flex;
	align-items: center;
	gap: 1rem;
	padding: 1.125rem 1.25rem;
	border-radius: 14px;
	background: rgba(255, 255, 255, 0.03);
	border: 1px solid rgba(255, 255, 255, 0.08);
	color: rgba(255, 255, 255, 0.9);
	font-family: 'Peyda', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
	font-size: 1rem;
	font-weight: 500;
	text-decoration: none;
	transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
	position: relative;
	overflow: hidden;
}

.header__mobile-menu-link::before {
	content: '';
	position: absolute;
	top: 0;
	right: 0;
	width: 0;
	height: 100%;
	background: linear-gradient(90deg, transparent, rgba(255, 215, 0, 0.1));
	transition: width 0.3s cubic-bezier(0.4, 0, 0.2, 1);
	z-index: 0;
}

.header__mobile-menu-link:hover::before,
.header__mobile-menu-link:active::before {
	width: 100%;
}

.header__mobile-menu-link:hover,
.header__mobile-menu-link:active {
	background: rgba(255, 215, 0, 0.08);
	border-color: rgba(255, 215, 0, 0.3);
	color: #ffffff;
	transform: translateX(-3px);
	box-shadow: 
		0 4px 16px rgba(255, 215, 0, 0.15),
		inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.header__mobile-menu-icon {
	width: 22px;
	height: 22px;
	color: rgba(255, 215, 0, 0.8);
	flex-shrink: 0;
	position: relative;
	z-index: 1;
	transition: all 0.3s ease;
}

.header__mobile-menu-link:hover .header__mobile-menu-icon {
	color: rgba(255, 215, 0, 1);
	transform: scale(1.1) rotate(-5deg);
}

/* Mobile Actions - در بالای همه */
.header__mobile-actions {
	display: flex;
	flex-direction: column;
	gap: 1.25rem;
	padding: 1.5rem 0;
	padding-top: 0;
	border-bottom: 1px solid rgba(255, 255, 255, 0.08);
	position: relative;
	order: 1; /* اول از همه */
}

.header__mobile-actions-title {
	display: flex;
	align-items: center;
	gap: 0.625rem;
	font-family: 'Peyda', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
	font-size: 0.8125rem;
	font-weight: 700;
	letter-spacing: 2.5px;
	text-transform: uppercase;
	color: rgba(255, 215, 0, 0.85);
	margin-bottom: 0.25rem;
	padding: 0 0.25rem;
}

.header__mobile-actions-title-icon {
	width: 16px;
	height: 16px;
	color: rgba(255, 215, 0, 1);
	animation: headerActionsTitlePulse 2s ease-in-out infinite;
}

@keyframes headerActionsTitlePulse {
	0%, 100% {
		opacity: 1;
		transform: scale(1);
	}
	50% {
		opacity: 0.7;
		transform: scale(1.1);
	}
}

.header__mobile-actions-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 0.875rem;
}

.header__mobile-action-btn {
	position: relative;
	display: block;
	padding: 0;
	border-radius: 16px;
	background: linear-gradient(135deg, rgba(255, 255, 255, 0.06) 0%, rgba(255, 255, 255, 0.02) 100%);
	border: 1.5px solid rgba(255, 255, 255, 0.12);
	color: rgba(255, 255, 255, 0.95);
	font-family: 'Peyda', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
	text-decoration: none;
	cursor: pointer;
	transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
	overflow: hidden;
	backdrop-filter: blur(10px);
	-webkit-backdrop-filter: blur(10px);
}

.header__mobile-action-btn::before {
	content: '';
	position: absolute;
	top: 0;
	left: -100%;
	width: 100%;
	height: 100%;
	background: linear-gradient(90deg, transparent, rgba(255, 215, 0, 0.15), transparent);
	transition: left 0.6s ease;
}

.header__mobile-action-btn:hover::before {
	left: 100%;
}

.header__mobile-action-btn:hover,
.header__mobile-action-btn:active {
	background: linear-gradient(135deg, rgba(255, 215, 0, 0.15) 0%, rgba(255, 215, 0, 0.08) 100%);
	border-color: rgba(255, 215, 0, 0.4);
	transform: translateY(-3px) scale(1.02);
	box-shadow: 
		0 8px 24px rgba(255, 215, 0, 0.25),
		0 4px 12px rgba(0, 0, 0, 0.3),
		inset 0 1px 0 rgba(255, 255, 255, 0.15);
}

.header__mobile-action-btn-inner {
	position: relative;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 0.625rem;
	padding: 1.125rem 0.75rem;
	z-index: 1;
}

.header__mobile-action-icon {
	width: 28px;
	height: 28px;
	color: rgba(255, 215, 0, 0.95);
	transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
	filter: drop-shadow(0 2px 8px rgba(255, 215, 0, 0.3));
}

.header__mobile-action-btn:hover .header__mobile-action-icon {
	color: rgba(255, 215, 0, 1);
	transform: scale(1.15) rotate(-5deg);
	filter: drop-shadow(0 4px 12px rgba(255, 215, 0, 0.5));
}

.header__mobile-action-text {
	font-size: 0.8125rem;
	font-weight: 600;
	color: rgba(255, 255, 255, 0.85);
	transition: all 0.3s ease;
	text-align: center;
	line-height: 1.2;
}

.header__mobile-action-btn:hover .header__mobile-action-text {
	color: rgba(255, 255, 255, 1);
	transform: translateY(-1px);
}

/* Badge برای action buttons */
.header__mobile-action-badge {
	position: absolute;
	top: 0.625rem;
	left: 0.625rem;
	width: 20px;
	height: 20px;
	display: flex;
	align-items: center;
	justify-content: center;
	background: rgba(255, 215, 0, 0.15);
	border: 1px solid rgba(255, 215, 0, 0.3);
	border-radius: 50%;
	opacity: 0;
	transform: scale(0.5) rotate(-45deg);
	transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.header__mobile-action-btn:hover .header__mobile-action-badge {
	opacity: 1;
	transform: scale(1) rotate(0deg);
}

.header__mobile-action-badge-icon {
	width: 12px;
	height: 12px;
	color: rgba(255, 215, 0, 1);
}

/* Cart Count Badge */
.header__mobile-action-count {
	position: absolute;
	top: 0.5rem;
	right: 0.5rem;
	min-width: 20px;
	height: 20px;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 0 0.375rem;
	background: linear-gradient(135deg, rgba(255, 215, 0, 1) 0%, rgba(255, 200, 0, 1) 100%);
	color: #000;
	font-size: 0.6875rem;
	font-weight: 700;
	border-radius: 10px;
	box-shadow: 
		0 2px 8px rgba(255, 215, 0, 0.4),
		inset 0 1px 0 rgba(255, 255, 255, 0.3);
	animation: headerMobileCountPulse 2s ease-in-out infinite;
	z-index: 2;
}

@keyframes headerMobileCountPulse {
	0%, 100% {
		transform: scale(1);
	}
	50% {
		transform: scale(1.1);
	}
}

/* Variants برای هر دکمه */
.header__mobile-action-btn--search:hover {
	background: linear-gradient(135deg, rgba(59, 130, 246, 0.15) 0%, rgba(37, 99, 235, 0.08) 100%);
	border-color: rgba(59, 130, 246, 0.4);
	box-shadow: 
		0 8px 24px rgba(59, 130, 246, 0.25),
		0 4px 12px rgba(0, 0, 0, 0.3),
		inset 0 1px 0 rgba(255, 255, 255, 0.15);
}

.header__mobile-action-btn--account:hover {
	background: linear-gradient(135deg, rgba(168, 85, 247, 0.15) 0%, rgba(147, 51, 234, 0.08) 100%);
	border-color: rgba(168, 85, 247, 0.4);
	box-shadow: 
		0 8px 24px rgba(168, 85, 247, 0.25),
		0 4px 12px rgba(0, 0, 0, 0.3),
		inset 0 1px 0 rgba(255, 255, 255, 0.15);
}

.header__mobile-action-btn--cart:hover {
	background: linear-gradient(135deg, rgba(34, 197, 94, 0.15) 0%, rgba(22, 163, 74, 0.08) 100%);
	border-color: rgba(34, 197, 94, 0.4);
	box-shadow: 
		0 8px 24px rgba(34, 197, 94, 0.25),
		0 4px 12px rgba(0, 0, 0, 0.3),
		inset 0 1px 0 rgba(255, 255, 255, 0.15);
}

/* Search Overlay */
.header__search-overlay {
	position: fixed !important;
	top: 0 !important;
	left: 0 !important;
	right: 0 !important;
	bottom: 0 !important;
	width: 100vw !important;
	height: 100vh !important;
	min-width: 100vw !important;
	min-height: 100vh !important;
	background: rgba(0, 0, 0, 0.95) !important;
	backdrop-filter: blur(20px) !important;
	-webkit-backdrop-filter: blur(20px) !important;
	z-index: 99999 !important;
	display: flex !important;
	align-items: center !important;
	justify-content: center !important;
	opacity: 0 !important;
	visibility: hidden !important;
	pointer-events: none !important;
	transition: opacity 0.4s cubic-bezier(0.4, 0, 0.2, 1), visibility 0.4s cubic-bezier(0.4, 0, 0.2, 1) !important;
	padding: 2rem !important;
	box-sizing: border-box !important;
	margin: 0 !important;
}

.header__search-overlay.active {
	opacity: 1 !important;
	visibility: visible !important;
	pointer-events: auto !important;
}

.header__search-container {
	position: relative !important;
	width: 100% !important;
	max-width: 700px !important;
	padding: 0 !important;
	margin: 0 auto !important;
	display: flex !important;
	flex-direction: column !important;
	align-items: stretch !important;
	justify-content: flex-start !important;
	transform: translateY(0) !important;
}

.header__search-close {
	position: absolute !important;
	top: -70px !important;
	left: 50% !important;
	transform: translateX(-50%) !important;
	width: 48px !important;
	height: 48px !important;
	border: 1px solid rgba(255, 255, 255, 0.2) !important;
	border-radius: 12px !important;
	background: rgba(255, 255, 255, 0.05) !important;
	backdrop-filter: blur(10px) !important;
	-webkit-backdrop-filter: blur(10px) !important;
	color: rgba(255, 255, 255, 0.9) !important;
	cursor: pointer !important;
	display: flex !important;
	align-items: center !important;
	justify-content: center !important;
	transition: all 0.3s ease !important;
	z-index: 10 !important;
	margin: 0 !important;
	padding: 0 !important;
}

.header__search-close:hover {
	border-color: rgba(255, 215, 0, 0.4) !important;
	background: rgba(255, 215, 0, 0.1) !important;
	transform: translateX(-50%) rotate(90deg) !important;
}

.header__search-close-icon {
	width: 22px !important;
	height: 22px !important;
	stroke: rgba(255, 255, 255, 0.9) !important;
	display: block !important;
}

.header__search-form {
	position: relative !important;
	display: flex !important;
	align-items: center !important;
	width: 100% !important;
	margin-bottom: 2rem !important;
}

.header__search-input-wrapper {
	position: relative !important;
	width: 100% !important;
	display: flex !important;
	align-items: center !important;
}

.header__search-input {
	width: 100% !important;
	height: 70px !important;
	padding: 0 14rem 0 2rem !important;
	font-family: 'Peyda', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif !important;
	font-size: 1.25rem !important;
	font-weight: 400 !important;
	color: #ffffff !important;
	background: rgba(255, 255, 255, 0.05) !important;
	border: 2px solid rgba(255, 255, 255, 0.1) !important;
	border-radius: 20px !important;
	outline: none !important;
	transition: all 0.3s ease !important;
	margin: 0 !important;
	box-sizing: border-box !important;
}

.header__search-input::placeholder {
	color: rgba(255, 255, 255, 0.4) !important;
}

.header__search-input:focus {
	background: rgba(255, 255, 255, 0.08) !important;
	border-color: rgba(255, 215, 0, 0.5) !important;
	box-shadow: 0 0 0 4px rgba(255, 215, 0, 0.1) !important;
}

.header__search-voice {
	position: absolute !important;
	right: 8px !important;
	top: 50% !important;
	transform: translateY(-50%) !important;
	width: 54px !important;
	height: 54px !important;
	border: none !important;
	border-radius: 14px !important;
	background: rgba(255, 255, 255, 0.05) !important;
	border: 1px solid rgba(255, 255, 255, 0.1) !important;
	color: rgba(255, 255, 255, 0.9) !important;
	cursor: pointer !important;
	display: flex !important;
	align-items: center !important;
	justify-content: center !important;
	transition: all 0.3s ease !important;
	z-index: 2 !important;
	margin: 0 !important;
	padding: 0 !important;
}

.header__search-voice:hover {
	background: rgba(255, 255, 255, 0.1) !important;
	border-color: rgba(255, 215, 0, 0.4) !important;
	transform: translateY(-50%) scale(1.05) !important;
}

.header__search-voice.active {
	background: rgba(255, 0, 0, 0.2) !important;
	border-color: rgba(255, 0, 0, 0.5) !important;
	animation: voicePulse 1.5s ease-in-out infinite !important;
}

.header__search-voice-icon {
	width: 22px !important;
	height: 22px !important;
	stroke: rgba(255, 255, 255, 0.9) !important;
	position: relative !important;
	z-index: 2 !important;
	display: block !important;
}

.header__search-voice-pulse {
	position: absolute !important;
	top: 50% !important;
	left: 50% !important;
	transform: translate(-50%, -50%) !important;
	width: 54px !important;
	height: 54px !important;
	border-radius: 14px !important;
	background: rgba(255, 0, 0, 0.3) !important;
	opacity: 0 !important;
	pointer-events: none !important;
}

.header__search-voice.active .header__search-voice-pulse {
	animation: voicePulseRing 1.5s ease-in-out infinite !important;
}

@keyframes voicePulse {
	0%, 100% {
		transform: translateY(-50%) scale(1);
	}
	50% {
		transform: translateY(-50%) scale(1.1);
	}
}

@keyframes voicePulseRing {
	0% {
		transform: translate(-50%, -50%) scale(1);
		opacity: 0.8;
	}
	100% {
		transform: translate(-50%, -50%) scale(1.5);
		opacity: 0;
	}
}

.header__search-submit {
	position: absolute !important;
	left: 8px !important;
	top: 50% !important;
	transform: translateY(-50%) !important;
	width: 54px !important;
	height: 54px !important;
	border: none !important;
	border-radius: 14px !important;
	background: linear-gradient(135deg, rgba(255, 215, 0, 0.2), rgba(255, 215, 0, 0.1)) !important;
	border: 1px solid rgba(255, 215, 0, 0.3) !important;
	color: rgba(255, 255, 255, 0.9) !important;
	cursor: pointer !important;
	display: flex !important;
	align-items: center !important;
	justify-content: center !important;
	transition: all 0.3s ease !important;
	z-index: 2 !important;
	margin: 0 !important;
	padding: 0 !important;
}

.header__search-submit:hover {
	background: linear-gradient(135deg, rgba(255, 215, 0, 0.3), rgba(255, 215, 0, 0.2)) !important;
	border-color: rgba(255, 215, 0, 0.5) !important;
	transform: translateY(-50%) scale(1.05) !important;
}

.header__search-submit-icon {
	width: 22px !important;
	height: 22px !important;
	stroke: rgba(255, 255, 255, 0.9) !important;
	display: block !important;
}

.header__search-loading {
	position: absolute !important;
	right: 70px !important;
	top: 50% !important;
	transform: translateY(-50%) !important;
	width: 24px !important;
	height: 24px !important;
	display: none !important;
	align-items: center !important;
	justify-content: center !important;
	z-index: 3 !important;
}

.header__search-loading.active {
	display: flex !important;
}

.header__search-loading-icon {
	width: 24px !important;
	height: 24px !important;
	stroke: rgba(255, 215, 0, 0.9) !important;
	animation: spin 1s linear infinite !important;
	display: block !important;
}

@keyframes spin {
	from {
		transform: rotate(0deg);
	}
	to {
		transform: rotate(360deg);
	}
}

/* Search Results */
.header__search-results {
	width: 100% !important;
	max-height: 0 !important;
	overflow: hidden !important;
	opacity: 0 !important;
	transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1) !important;
	margin-top: 0 !important;
}

.header__search-results.active {
	max-height: 600px !important;
	opacity: 1 !important;
	margin-top: 2rem !important;
}

.header__search-results-content {
	background: rgba(255, 255, 255, 0.03) !important;
	backdrop-filter: blur(20px) !important;
	-webkit-backdrop-filter: blur(20px) !important;
	border: 1px solid rgba(255, 255, 255, 0.1) !important;
	border-radius: 20px !important;
	padding: 1.5rem !important;
	max-height: 500px !important;
	overflow-y: auto !important;
	overflow-x: hidden !important;
}

.header__search-results-content::-webkit-scrollbar {
	width: 8px !important;
}

.header__search-results-content::-webkit-scrollbar-track {
	background: rgba(255, 255, 255, 0.05) !important;
	border-radius: 10px !important;
}

.header__search-results-content::-webkit-scrollbar-thumb {
	background: rgba(255, 215, 0, 0.3) !important;
	border-radius: 10px !important;
}

.header__search-results-content::-webkit-scrollbar-thumb:hover {
	background: rgba(255, 215, 0, 0.5) !important;
}

.header__search-results-empty {
	text-align: center !important;
	padding: 3rem 1rem !important;
	color: rgba(255, 255, 255, 0.6) !important;
	font-size: 1.1rem !important;
}

.header__search-results-empty-icon {
	width: 64px !important;
	height: 64px !important;
	margin: 0 auto 1rem !important;
	opacity: 0.5 !important;
	display: block !important;
}

.header__search-results-list {
	display: grid !important;
	gap: 1rem !important;
}

.header__search-result-item {
	display: flex !important;
	align-items: center !important;
	gap: 1rem !important;
	padding: 1rem !important;
	background: rgba(255, 255, 255, 0.03) !important;
	border: 1px solid rgba(255, 255, 255, 0.05) !important;
	border-radius: 16px !important;
	cursor: pointer !important;
	transition: all 0.3s ease !important;
	text-decoration: none !important;
	color: inherit !important;
}

.header__search-result-item:hover {
	background: rgba(255, 255, 255, 0.08) !important;
	border-color: rgba(255, 215, 0, 0.3) !important;
	transform: translateX(-5px) !important;
}

.header__search-result-image {
	width: 80px !important;
	height: 80px !important;
	border-radius: 12px !important;
	object-fit: cover !important;
	flex-shrink: 0 !important;
	background: rgba(255, 255, 255, 0.05) !important;
	display: block !important;
}

.header__search-result-content {
	flex: 1 !important;
	min-width: 0 !important;
}

.header__search-result-title {
	font-size: 1.1rem !important;
	font-weight: 600 !important;
	color: rgba(255, 255, 255, 0.95) !important;
	margin-bottom: 0.5rem !important;
	display: -webkit-box !important;
	-webkit-line-clamp: 2 !important;
	-webkit-box-orient: vertical !important;
	overflow: hidden !important;
}

.header__search-result-price {
	font-size: 1rem !important;
	font-weight: 700 !important;
	color: rgba(255, 215, 0, 0.9) !important;
	display: flex !important;
	align-items: center !important;
	gap: 0.5rem !important;
}

.header__search-result-price del {
	font-size: 0.9rem !important;
	font-weight: 400 !important;
	color: rgba(255, 255, 255, 0.4) !important;
	text-decoration: line-through !important;
	margin-right: 0.5rem !important;
}

.header__search-results-footer {
	margin-top: 1.5rem !important;
	text-align: center !important;
}

.header__search-view-all {
	display: inline-flex !important;
	align-items: center !important;
	gap: 0.5rem !important;
	padding: 0.875rem 2rem !important;
	background: linear-gradient(135deg, rgba(255, 215, 0, 0.2), rgba(255, 215, 0, 0.1)) !important;
	border: 1px solid rgba(255, 215, 0, 0.3) !important;
	border-radius: 12px !important;
	color: rgba(255, 255, 255, 0.9) !important;
	font-size: 1rem !important;
	font-weight: 600 !important;
	cursor: pointer !important;
	transition: all 0.3s ease !important;
	text-decoration: none !important;
	margin: 0 !important;
}

.header__search-view-all:hover {
	background: linear-gradient(135deg, rgba(255, 215, 0, 0.3), rgba(255, 215, 0, 0.2)) !important;
	border-color: rgba(255, 215, 0, 0.5) !important;
	transform: translateY(-2px) !important;
	box-shadow: 0 4px 12px rgba(255, 215, 0, 0.2) !important;
}

.header__search-view-all-icon {
	width: 18px !important;
	height: 18px !important;
	stroke: rgba(255, 255, 255, 0.9) !important;
	display: block !important;
}

/* Responsive */
@media (max-width: 1024px) {
	.header {
		top: 1.25rem !important;
		left: 1.25rem !important;
		right: 1.25rem !important;
		width: calc(100% - 2.5rem) !important;
		border-radius: 20px !important;
	}

	.header.scrolled {
		top: 1rem !important;
		left: 1rem !important;
		right: 1rem !important;
		width: calc(100% - 2rem) !important;
	}

	.header__container {
		gap: 2rem !important;
		padding: 1rem 2rem !important;
	}

	.header.scrolled .header__container {
		padding: 0.875rem 1.5rem !important;
	}

	.header__menu {
		gap: 2rem !important;
	}
}

@media (max-width: 768px) {
	.header {
		top: 1rem !important;
		left: 1rem !important;
		right: 1rem !important;
		width: calc(100% - 2rem) !important;
		border-radius: 18px !important;
	}

	.header.scrolled {
		top: 0.75rem !important;
		left: 0.75rem !important;
		right: 0.75rem !important;
		width: calc(100% - 1.5rem) !important;
	}

	.header__container {
		grid-template-columns: auto 1fr auto !important;
		gap: 1rem !important;
		padding: 0.875rem 1.25rem !important;
		border-radius: 16px !important;
	}

	.header.scrolled .header__container {
		padding: 0.75rem 1rem !important;
	}

	/* Desktop Navigation - Hidden on mobile */
	.header__nav--desktop {
		display: none !important;
	}

	/* Desktop Action Buttons - Hidden on mobile */
	.header__action-btn--desktop {
		display: none !important;
	}

	/* Logo - Center */
	.header__logo {
		justify-content: center !important;
	}

	.header__logo-text {
		font-size: 1.5rem !important;
	}

	.header__logo-image {
		height: 40px !important;
	}

	/* Actions */
	.header__actions {
		gap: 0.75rem !important;
		justify-content: flex-end !important;
	}

	.header__action-btn {
		width: 44px !important;
		height: 44px !important;
	}

	.header__action-icon {
		width: 20px !important;
		height: 20px !important;
	}

	/* Mobile Toggle - Show */
	.header__mobile-toggle {
		display: flex !important;
	}

	.header__search-container {
		padding: 0 1.5rem !important;
	}

	.header__search-input {
		height: 60px !important;
		font-size: 1.125rem !important;
		padding: 0 12rem 0 1.75rem !important;
	}

	.header__search-voice {
		width: 48px !important;
		height: 48px !important;
		right: 8px !important;
	}

	.header__search-submit {
		width: 48px !important;
		height: 48px !important;
	}

	.header__search-loading {
		right: 64px !important;
	}

	.header__search-results-content {
		max-height: 400px !important;
		padding: 1rem !important;
	}

	.header__search-result-item {
		padding: 0.875rem !important;
		gap: 0.875rem !important;
	}

	.header__search-result-image {
		width: 70px !important;
		height: 70px !important;
	}

	.header__search-result-title {
		font-size: 1rem !important;
	}

	.header__search-result-price {
		font-size: 0.95rem !important;
	}
	
	/* Mobile Menu Adjustments */
	.header__mobile-menu {
		width: 320px;
	}
	
	.header__mobile-menu-container {
		padding: 1.75rem 1.25rem;
		padding-top: 4.5rem;
		gap: 2rem;
	}
	
	.header__mobile-close {
		top: 1.25rem !important;
		right: 1.25rem !important;
		left: auto !important;
		width: 40px !important;
		height: 40px !important;
	}
	
	.header__mobile-close-icon {
		width: 20px;
		height: 20px;
	}
	
	.header__mobile-logo {
		padding: 1.5rem 0 0.75rem;
	}
	
	.header__mobile-logo-image {
		height: 44px;
	}
	
	.header__mobile-logo-text {
		font-size: 1.625rem;
	}
	
	.header__mobile-menu-link {
		padding: 1rem 1.125rem;
		font-size: 0.9375rem;
	}
	
	.header__mobile-menu-icon {
		width: 20px;
		height: 20px;
	}
	
	.header__mobile-action-btn-inner {
		padding: 1rem 0.75rem;
	}
	
	.header__mobile-action-icon {
		width: 26px;
		height: 26px;
	}
	
	.header__mobile-action-text {
		font-size: 0.8125rem;
	}
}

@media (max-width: 480px) {
	.header {
		top: 0.75rem !important;
		left: 0.75rem !important;
		right: 0.75rem !important;
		width: calc(100% - 1.5rem) !important;
		border-radius: 16px !important;
	}

	.header.scrolled {
		top: 0.5rem !important;
		left: 0.5rem !important;
		right: 0.5rem !important;
		width: calc(100% - 1rem) !important;
	}

	.header__container {
		gap: 1rem !important;
		padding: 0.75rem 1.25rem !important;
		border-radius: 14px !important;
	}

	.header.scrolled .header__container {
		padding: 0.625rem 1rem !important;
	}

	.header__logo-text {
		font-size: 1.25rem !important;
	}

	.header__logo-image {
		height: 35px !important;
	}

	.header__action-btn {
		width: 40px !important;
		height: 40px !important;
	}

	.header__action-icon {
		width: 18px !important;
		height: 18px !important;
	}

	.header__mobile-toggle {
		width: 40px !important;
		height: 40px !important;
	}

	.header__mobile-toggle-icon {
		width: 20px !important;
		height: 16px !important;
	}
	
	.header__hamburger-line {
		width: 20px;
		height: 1.5px;
	}
	
	.header__mobile-toggle.active .header__hamburger-line:nth-child(1) {
		transform: translateY(7.5px) rotate(45deg);
	}
	
	.header__mobile-toggle.active .header__hamburger-line:nth-child(3) {
		transform: translateY(-7.5px) rotate(-45deg);
	}
	
	/* Mobile Menu Responsive */
	.header__mobile-menu {
		width: 280px;
		max-width: 80vw;
	}
	
	.header__mobile-menu-container {
		padding: 1.5rem 1rem;
		padding-top: 4.25rem;
		gap: 1.75rem;
	}
	
	.header__mobile-close {
		top: 1rem !important;
		right: 1rem !important;
		left: auto !important;
		width: 38px !important;
		height: 38px !important;
	}
	
	.header__mobile-close-icon {
		width: 18px;
		height: 18px;
	}
	
	.header__mobile-logo {
		padding: 1.25rem 0 0.625rem;
	}
	
	.header__mobile-logo-image {
		height: 36px;
	}
	
	.header__mobile-logo-text {
		font-size: 1.375rem;
	}
	
	.header__mobile-nav-title,
	.header__mobile-actions-title {
		font-size: 0.75rem;
	}
	
	.header__mobile-menu-link {
		padding: 0.875rem 1rem;
		font-size: 0.875rem;
		gap: 0.875rem;
	}
	
	.header__mobile-menu-icon {
		width: 18px;
		height: 18px;
	}
	
	.header__mobile-actions-grid {
		gap: 0.625rem;
		grid-template-columns: repeat(3, 1fr);
	}
	
	.header__mobile-action-btn-inner {
		padding: 0.875rem 0.625rem;
		gap: 0.5rem;
	}
	
	.header__mobile-action-icon {
		width: 24px;
		height: 24px;
	}
	
	.header__mobile-action-text {
		font-size: 0.75rem;
	}
	
	.header__mobile-action-count {
		min-width: 18px;
		height: 18px;
		font-size: 0.625rem;
		padding: 0 0.3rem;
	}

	.header__search-input {
		height: 56px !important;
		font-size: 1rem !important;
		padding: 0 10rem 0 1.5rem !important;
	}

	.header__search-voice {
		width: 44px !important;
		height: 44px !important;
		right: 6px !important;
	}

	.header__search-submit {
		width: 44px !important;
		height: 44px !important;
		left: 6px !important;
	}

	.header__search-loading {
		right: 58px !important;
		width: 20px !important;
		height: 20px !important;
	}

	.header__search-loading-icon {
		width: 20px !important;
		height: 20px !important;
	}

	.header__search-results-content {
		max-height: 350px !important;
		padding: 0.875rem !important;
	}

	.header__search-result-item {
		padding: 0.75rem !important;
		gap: 0.75rem !important;
	}

	.header__search-result-image {
		width: 60px !important;
		height: 60px !important;
	}

	.header__search-result-title {
		font-size: 0.95rem !important;
		margin-bottom: 0.375rem !important;
	}

	.header__search-result-price {
		font-size: 0.9rem !important;
	}

	.header__search-view-all {
		padding: 0.75rem 1.5rem !important;
		font-size: 0.95rem !important;
	}
}
