:root {
	--ess-ink: #e5e7eb;
	--ess-muted: #9ca3af;
	--ess-line: #1f2937;
	--ess-bg: #020617;
	--ess-surface: #050814;
	--ess-card: #0b1220;
	--ess-accent: #ec4899;
	--ess-accent-hover: #db2777;
	--ess-green: #667a2a;
	--ess-shadow: 0 18px 50px rgba(0, 0, 0, 0.45);
	--ess-page-max-width: 1720px;
	--ess-page-gutter: 16px;
	--ess-page-width: min(var(--ess-page-max-width), calc(100% - (var(--ess-page-gutter) * 2)));
}

html,
body {
	overflow-x: hidden;
}

body {
	padding-top: 126px;
	background: var(--ess-bg) !important;
	color: var(--ess-ink) !important;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

html,
body,
#page,
.site,
.site-main,
.page-content,
.entry-content,
.wp-site-blocks {
	background: var(--ess-bg) !important;
}

body,
.site-main,
.page-content,
.entry-content {
	color: var(--ess-ink) !important;
}

.site-main {
	width: var(--ess-page-width) !important;
	max-width: none !important;
	margin-inline: auto !important;
}

#site-footer,
.site-footer {
	display: none;
}

.site-header,
.hello-biz-header,
header.site-header,
.elementor-location-header {
	position: fixed;
	top: 24px;
	left: 50%;
	transform: translateX(-50%);
	z-index: 999;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 18px;
	width: var(--ess-page-width);
	min-height: 70px;
	margin: 14px auto 0;
	padding: 10px 18px;
	border: 1px solid rgba(255, 255, 255, 0.14);
	border-radius: 18px;
	background: rgba(11, 18, 32, 0.92);
	box-shadow: 0 12px 38px rgba(0, 0, 0, 0.34);
	backdrop-filter: blur(18px);
	-webkit-backdrop-filter: blur(18px);
}

.site-header .site-branding,
.hello-biz-header .site-branding,
header.site-header .site-branding {
	flex: 0 0 auto;
	line-height: 0;
}

.site-header .custom-logo-link,
header.site-header .custom-logo-link {
	display: inline-flex;
	align-items: center;
}

.site-header .custom-logo,
header.site-header .custom-logo,
.hello-biz-header .custom-logo {
	display: block;
	width: auto;
	max-width: 84px;
	height: 50px;
	object-fit: contain;
}

.site-header .site-navigation,
header.site-header .site-navigation {
	flex: 1 1 auto;
}

.site-header .menu,
header.site-header .menu {
	display: flex;
	align-items: center;
	justify-content: flex-end;
	gap: 6px;
	width: 100%;
	margin: 0;
	padding: 0;
	list-style: none;
}

.site-header .menu a,
header.site-header .menu a {
	display: inline-flex;
	align-items: center;
	min-height: 42px;
	padding: 0 14px;
	border-radius: 12px;
	color: var(--ess-ink);
	font-weight: 800;
	text-decoration: none;
}

.site-header .current-menu-item > a,
header.site-header .current-menu-item > a {
	background: #ffffff;
	color: #111111;
}

.site-header .menu a.ess-header-basket,
header.site-header .menu a.ess-header-basket {
	position: relative;
	justify-content: center;
	width: 46px;
	min-width: 46px;
	padding: 0;
}

.site-header .menu li:has(> a.ess-header-basket),
header.site-header .menu li:has(> a.ess-header-basket) {
	order: 99;
	margin-left: auto;
}

.ess-header-basket__content {
	position: relative;
	display: inline-flex;
	align-items: center;
	justify-content: center;
}

.ess-header-basket__icon {
	width: 25px;
	height: 25px;
	stroke: currentColor;
	stroke-width: 1.8;
	stroke-linecap: round;
	stroke-linejoin: round;
}

.ess-header-basket__count {
	position: absolute;
	top: -10px;
	right: -12px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 19px;
	height: 19px;
	padding: 0 5px;
	border: 2px solid #0b1220;
	border-radius: 999px;
	background: #ec3e91;
	color: #ffffff;
	font-size: 0.65rem;
	font-weight: 900;
	line-height: 1;
	box-sizing: border-box;
}

.current-menu-item .ess-header-basket__count {
	border-color: #ffffff;
}

.ess-header-basket.is-bumping {
	animation: ess-basket-bump 520ms cubic-bezier(.2,.8,.2,1);
}

.ess-header-basket.is-bumping .ess-header-basket__count {
	animation: ess-basket-count-pop 520ms cubic-bezier(.2,.8,.2,1);
}

.ess-basket-flyer {
	position: fixed;
	z-index: 10000;
	display: block;
	width: 78px;
	height: 78px;
	margin: 0;
	border: 2px solid rgba(236, 62, 145, 0.9);
	border-radius: 20px;
	background: #07101f;
	box-shadow: 0 14px 38px rgba(0, 0, 0, 0.38), 0 0 24px rgba(236, 62, 145, 0.28);
	object-fit: contain;
	pointer-events: none;
}

@keyframes ess-basket-bump {
	0%, 100% { transform: scale(1); }
	45% { transform: scale(1.16) rotate(-5deg); }
	70% { transform: scale(.96) rotate(2deg); }
}

@keyframes ess-basket-count-pop {
	0%, 100% { transform: scale(1); }
	50% { transform: scale(1.28); }
}

@media (max-width: 640px) {
	.site-header,
	.hello-biz-header,
	header.site-header,
	.elementor-location-header {
		position: fixed;
		top: 8px;
		left: 50%;
		right: auto;
		transform: translateX(-50%);
		width: var(--ess-page-width);
		height: 58px;
		min-height: 58px;
		max-height: 58px;
		margin: 0 auto;
		padding: 6px 8px;
		border-radius: 14px;
		align-items: center;
		justify-content: flex-start;
		flex-direction: row;
		flex-wrap: nowrap;
		gap: 6px;
		overflow: hidden;
	}

	body {
		padding-top: 76px;
	}

	.site-header .site-title,
	.site-header .site-title a,
	.site-header .site-branding a,
	header.site-header .site-title,
	header.site-header .site-title a,
	header.site-header .site-branding a,
	.hello-biz-header .site-title,
	.hello-biz-header .site-title a,
	.hello-biz-header .site-branding a {
		font-size: 0.82rem !important;
		line-height: 1;
		letter-spacing: 0.03em;
		white-space: nowrap;
	}

	.site-header .custom-logo,
	header.site-header .custom-logo,
	.hello-biz-header .custom-logo {
		max-width: 34px;
		height: 34px;
	}

	.site-header .site-branding,
	.hello-biz-header .site-branding,
	header.site-header .site-branding {
		display: flex;
		align-items: center;
		width: 36px;
		flex: 0 0 36px;
		margin: 0;
	}

	.site-header .site-navigation,
	header.site-header .site-navigation {
		flex: 1 1 auto;
		min-width: 0;
		max-width: calc(100% - 42px);
		overflow-x: auto;
		overflow-y: hidden;
		scrollbar-width: none;
	}

	.site-header .site-navigation::-webkit-scrollbar,
	header.site-header .site-navigation::-webkit-scrollbar {
		display: none;
	}

	.site-header .menu,
	header.site-header .menu {
		flex-wrap: nowrap;
		justify-content: flex-start;
		gap: 4px;
		width: max-content;
	}

	.site-header .menu a,
	header.site-header .menu a {
		min-height: 34px;
		padding: 0 10px;
		font-size: 0.78rem;
		white-space: nowrap;
	}
}

@media (max-width: 390px) {
	.site-header .custom-logo,
	header.site-header .custom-logo,
	.hello-biz-header .custom-logo {
		max-width: 30px;
		height: 30px;
	}

	.site-header .site-branding,
	.hello-biz-header .site-branding,
	header.site-header .site-branding {
		width: 32px;
		flex-basis: 32px;
	}

	.site-header .menu a,
	header.site-header .menu a {
		min-height: 32px;
		padding: 0 8px;
		font-size: 0.74rem;
	}
}
