.site {
	min-height: 100vh;
	display: flex;
	flex-direction: column;
}

.site-main {
	flex: 1 1 auto;
	width: 100%;
}

.site-header {
	position: sticky;
	top: 0;
	z-index: 80;
	background: var(--neon-paper);
}

.site-bar {
	background: var(--neon-paper);
	transition: box-shadow 0.2s ease;
}

.site-bar.is-stuck {
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.site-bar__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	min-height: 90px;
}

.site-logo {
	display: flex;
	align-items: center;
	flex: 0 0 auto;
	padding: 12px 0;
}

.site-logo img {
	display: block;
	width: auto;
	height: 60px;
	max-height: 60px;
}

.site-bar.is-stuck .site-logo img {
	height: 40px;
	max-height: 40px;
}

.nav-toggle {
	display: none;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	padding: 0;
	border: 0;
	background: transparent;
	color: var(--neon-green);
	cursor: pointer;
}

.nav-toggle svg {
	width: 26px;
	height: 26px;
}

.site-nav {
	margin-left: auto;
}

.site-nav > ul {
	display: flex;
	align-items: center;
	margin: 0;
	padding: 0;
	list-style: none;
}

.site-nav > ul > li {
	position: relative;
}

.site-nav > ul > li > a {
	display: block;
	padding: 0 18px;
	color: #313133;
	font-family: var(--font-body);
	font-size: 18px;
	font-weight: 600;
	line-height: 90px;
	white-space: nowrap;
}

.site-nav > ul > li > a:hover,
.site-nav > ul > li.is-current > a,
.site-nav > ul > li.is-open > a,
.site-nav > ul > li:hover > a {
	color: var(--neon-green);
}

.site-nav .sub-toggle {
	display: none;
}

.site-nav .sub-menu {
	position: absolute;
	top: 100%;
	left: 0;
	z-index: 90;
	display: none;
	min-width: 220px;
	margin: 0;
	padding: 8px 0;
	list-style: none;
	background: #f2f2f2;
	box-shadow: 0 8px 18px rgba(0, 0, 0, 0.08);
}

.site-nav > ul > li:hover > .sub-menu,
.site-nav > ul > li:focus-within > .sub-menu,
.site-nav > ul > li.is-open > .sub-menu {
	display: block;
}

.site-nav .sub-menu a {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 10px 20px;
	color: #5f5f5f;
	font-size: 15px;
	font-weight: 500;
}

.site-nav .sub-menu a i {
	color: var(--neon-green);
	font-size: 14px;
}

.site-nav .sub-menu a:hover {
	background: rgba(0, 0, 0, 0.05);
	color: #2e2e2e;
}

.site-overlay {
	position: fixed;
	inset: 0;
	z-index: 90;
	display: none;
	background: rgba(0, 0, 0, 0.35);
}

body.nav-open {
	overflow: hidden;
}

body.nav-open .site-header {
	z-index: 110;
}

body.nav-open .site-overlay {
	display: block;
}

.site-footer {
	background: var(--neon-line);
	color: var(--neon-soft);
}

.site-footer__grid {
	display: grid;
	grid-template-columns: minmax(0, 1.4fr) minmax(0, 0.8fr) minmax(0, 0.8fr);
	gap: 40px;
	padding-top: 70px;
	padding-bottom: 40px;
}

.site-footer__brand img {
	display: block;
	width: 147px;
	height: auto;
	margin-bottom: 16px;
}

.site-footer p,
.site-footer a {
	color: var(--neon-soft);
}

.site-footer a:hover {
	color: #596981;
}

.site-footer h2 {
	margin: 0 0 12px;
	color: var(--neon-ink);
	font-size: 18px;
}

.site-footer__links {
	display: flex;
	flex-direction: column;
	gap: 8px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.site-footer__copy {
	border-top: 1px solid #eaeaea;
}

.site-footer__copy-inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	min-height: 72px;
	padding-top: 18px;
	padding-bottom: 18px;
}

.site-footer__copy p {
	margin: 0;
}

.site-social {
	display: flex;
	align-items: center;
	gap: 10px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.site-social a {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 36px;
	height: 36px;
	color: var(--neon-soft);
}

.site-social a:hover {
	color: var(--neon-green);
}

.site-social svg {
	width: 18px;
	height: 18px;
}

.back-to-top {
	position: fixed;
	right: 24px;
	bottom: 24px;
	z-index: 70;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 46px;
	height: 46px;
	border: 0;
	border-radius: 6px;
	background: var(--neon-green);
	color: #fff;
	opacity: 0;
	pointer-events: none;
	cursor: pointer;
	transition: opacity 0.2s ease, transform 0.2s ease;
}

.back-to-top.is-visible {
	opacity: 1;
	pointer-events: auto;
}

.back-to-top:hover {
	transform: translateY(-2px);
	color: #fff;
}

.back-to-top svg {
	width: 18px;
	height: 18px;
}

.lightbox {
	position: fixed;
	inset: 0;
	z-index: 120;
	display: none;
	align-items: center;
	justify-content: center;
	padding: 24px;
	background: rgba(8, 20, 14, 0.82);
}

.lightbox.is-open {
	display: flex;
}

.lightbox img {
	max-width: min(960px, 100%);
	max-height: 88vh;
	border-radius: 8px;
	background: #fff;
}

.lightbox__close {
	position: absolute;
	top: 16px;
	right: 16px;
	width: 44px;
	height: 44px;
	border: 0;
	background: transparent;
	color: #fff;
	cursor: pointer;
}

@media (max-width: 1239px) {
	.nav-toggle {
		display: flex;
		margin-left: auto;
	}

	.site-nav {
		position: fixed;
		top: 0;
		right: 0;
		z-index: 120;
		width: min(300px, 86vw);
		height: 100%;
		margin: 0;
		padding: 72px 0 32px;
		overflow: auto;
		background: #fff;
		transform: translateX(100%);
		transition: transform 0.25s ease;
		pointer-events: auto;
	}

	body.nav-open .site-nav {
		transform: translateX(0);
		box-shadow: -8px 0 24px rgba(0, 0, 0, 0.08);
	}

	.site-nav > ul {
		flex-direction: column;
		align-items: stretch;
	}

	.site-nav > ul > li:hover > .sub-menu,
	.site-nav > ul > li:focus-within > .sub-menu {
		display: none;
	}

	.site-nav > ul > li > a {
		padding: 0 24px;
		font-size: 16px;
		line-height: 48px;
	}

	.site-nav .has-children {
		position: relative;
	}

	.site-nav .sub-toggle {
		position: absolute;
		top: 0;
		right: 8px;
		z-index: 2;
		display: flex;
		align-items: center;
		justify-content: center;
		width: 48px;
		height: 48px;
		padding: 0;
		border: 0;
		background: transparent;
		color: #444;
		font-size: 26px;
		line-height: 1;
		cursor: pointer;
	}

	.site-nav .sub-menu {
		position: static;
		display: none;
		min-width: 0;
		padding: 0 0 8px;
		background: transparent;
		box-shadow: none;
	}

	.site-nav > ul > li.is-open > .sub-menu {
		display: block;
	}

	.site-nav .sub-menu a {
		padding: 8px 24px 8px 36px;
	}

	.nav-close {
		position: absolute;
		top: 14px;
		right: 14px;
		display: flex;
		align-items: center;
		justify-content: center;
		width: 40px;
		height: 40px;
		padding: 0;
		border: 0;
		background: transparent;
		color: #313133;
		cursor: pointer;
	}
}

.neon-crumb {
	margin: 0 0 14px;
	font-size: 13px;
	font-weight: 600;
	letter-spacing: 0.04em;
	text-transform: uppercase;
}

.neon-heading-with-icon {
	display: flex;
	align-items: center;
	gap: 12px;
}

.neon-heading-with-icon i {
	display: flex;
	align-items: center;
	justify-content: center;
	flex: 0 0 44px;
	width: 44px;
	height: 44px;
	border-radius: 10px;
	background: #e8f6ee;
	color: var(--neon-green);
	font-size: 18px;
}

.neon-crumb ol {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	margin: 0;
	padding: 0;
	list-style: none;
}

.neon-crumb li:not(:first-child)::before {
	content: "/";
	margin: 0 8px;
	opacity: 0.7;
}

.neon-cat-hero .neon-crumb {
	opacity: 0.85;
}

.neon-cat-hero .neon-crumb a,
.neon-cat-hero .neon-crumb span {
	color: #fff;
}

.neon-cat-hero .neon-crumb a:hover {
	color: #fff;
	text-decoration: underline;
}

@media (min-width: 1240px) {
	.nav-close {
		display: none;
	}
}

@media (max-width: 959px) {
	.site-footer__grid {
		grid-template-columns: 1fr;
		gap: 28px;
		padding-top: 48px;
	}

	.site-footer__copy-inner {
		flex-wrap: wrap;
	}
}

@media (max-width: 959px) {
	.neon-product-grid.neon-card-rail,
	.neon-post-grid.neon-card-rail {
		display: flex;
		align-items: stretch;
		gap: 14px;
		margin-right: -20px;
		margin-left: -20px;
		padding: 8px 20px 24px;
		overflow-x: auto;
		overflow-y: hidden;
		scroll-snap-type: x mandatory;
		scroll-padding-inline: 20px;
		-webkit-overflow-scrolling: touch;
		overscroll-behavior-x: contain;
		scrollbar-width: none;
	}

	.neon-product-grid.neon-card-rail::-webkit-scrollbar,
	.neon-post-grid.neon-card-rail::-webkit-scrollbar {
		display: none;
	}

	.neon-product-grid.neon-card-rail > *,
	.neon-post-grid.neon-card-rail > * {
		flex: 0 0 78%;
		width: 78%;
		max-width: none;
		scroll-snap-align: start;
	}

	.neon-product-grid.neon-card-rail .neon-product-card:hover,
	.neon-post-grid.neon-card-rail .neon-post-card:hover {
		transform: none;
	}
}

@media (max-width: 767px) {
	.site-bar__inner {
		min-height: 70px;
	}

	.site-logo img,
	.site-bar.is-stuck .site-logo img {
		height: 42px;
		max-height: 42px;
	}

	.site-nav > ul > li > a {
		line-height: 44px;
	}
}
