:root {
	--lune-black: #050506;
	--lune-ink: #111116;
	--lune-muted: #646672;
	--lune-line: #e5e7ec;
	--lune-soft: #f5f6f8;
	--lune-white: #ffffff;
	--lune-blue: #2563eb;
	--lune-purple: #6d5dfc;
	--lune-radius: 8px;
	--lune-shadow: 0 18px 50px rgba(17, 17, 22, 0.08);
	--lune-container: min(1180px, calc(100vw - 40px));
}

* {
	box-sizing: border-box;
}

body {
	margin: 0;
	background: var(--lune-white);
	color: var(--lune-ink);
	font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
	font-size: 16px;
	line-height: 1.55;
	letter-spacing: 0;
	text-rendering: optimizeLegibility;
	-webkit-font-smoothing: antialiased;
}

a {
	color: inherit;
	text-decoration: none;
}

img {
	display: block;
	max-width: 100%;
	height: auto;
}

.screen-reader-text {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

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

.lune-header {
	position: sticky;
	top: 0;
	z-index: 50;
	background: rgba(255, 255, 255, 0.9);
	backdrop-filter: blur(18px);
	border-bottom: 1px solid rgba(229, 231, 236, 0.9);
}

.lune-header__inner {
	width: var(--lune-container);
	min-height: 72px;
	margin: 0 auto;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
}

.lune-brand {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	font-weight: 750;
	letter-spacing: 0;
}

.lune-brand__mark {
	display: inline-grid;
	place-items: center;
	width: 34px;
	height: 34px;
	border-radius: 50%;
	background: var(--lune-black);
	color: var(--lune-white);
	font-weight: 800;
}

.lune-brand__text {
	font-size: 0.98rem;
}

.lune-nav {
	display: flex;
	align-items: center;
	gap: 4px;
}

.lune-nav a {
	border-radius: 999px;
	color: #22242d;
	font-size: 0.95rem;
	font-weight: 560;
	padding: 9px 14px;
	transition: background 160ms ease, color 160ms ease;
}

.lune-nav a:hover,
.lune-nav a:focus-visible {
	background: var(--lune-soft);
	color: var(--lune-black);
	outline: none;
}

.lune-cart-count {
	display: inline-grid;
	place-items: center;
	min-width: 20px;
	height: 20px;
	margin-left: 5px;
	border-radius: 999px;
	background: var(--lune-black);
	color: var(--lune-white);
	font-size: 0.72rem;
}

.lune-nav-toggle {
	display: none;
	width: 42px;
	height: 42px;
	border: 1px solid var(--lune-line);
	border-radius: 999px;
	background: var(--lune-white);
	cursor: pointer;
}

.lune-nav-toggle span[aria-hidden="true"] {
	display: block;
	width: 16px;
	height: 2px;
	margin: 4px auto;
	background: var(--lune-black);
	border-radius: 999px;
}

.lune-main {
	flex: 1;
}

.lune-hero {
	min-height: 72vh;
	display: grid;
	align-items: end;
	background:
		linear-gradient(90deg, rgba(5, 5, 6, 0.78), rgba(5, 5, 6, 0.35), rgba(5, 5, 6, 0.1)),
		url("../images/lune-hero.png") center / cover no-repeat;
	color: var(--lune-white);
}

.lune-hero__content {
	width: var(--lune-container);
	margin: 0 auto;
	padding: 120px 0 78px;
	max-width: 680px;
	justify-self: center;
	transform: none;
}

.lune-eyebrow {
	margin: 0 0 14px;
	color: inherit;
	font-size: 0.78rem;
	font-weight: 760;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.lune-hero h1,
.lune-section-head h2,
.lune-entry h1 {
	margin: 0;
	letter-spacing: 0;
	line-height: 1.02;
}

.lune-hero h1 {
	font-size: clamp(3.6rem, 9vw, 7.2rem);
	font-weight: 790;
}

.lune-hero p:not(.lune-eyebrow) {
	max-width: 580px;
	margin: 18px 0 28px;
	color: rgba(255, 255, 255, 0.86);
	font-size: 1.18rem;
}

.lune-button,
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button,
.woocommerce #respond input#submit,
.woocommerce #payment #place_order {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 44px;
	border: 0;
	border-radius: 999px;
	background: var(--lune-black);
	color: var(--lune-white);
	font-weight: 700;
	padding: 12px 20px;
	cursor: pointer;
	transition: transform 160ms ease, background 160ms ease;
}

.lune-button:hover,
.lune-button:focus-visible,
.woocommerce a.button:hover,
.woocommerce button.button:hover,
.woocommerce input.button:hover,
.woocommerce #respond input#submit:hover,
.woocommerce #payment #place_order:hover {
	background: #25253d;
	color: var(--lune-white);
	transform: translateY(-1px);
	outline: none;
}

.lune-button--small {
	min-height: 38px;
	padding: 9px 15px;
	font-size: 0.92rem;
}

.lune-product-band {
	width: var(--lune-container);
	margin: 0 auto;
	padding: 72px 0 88px;
}

.lune-section-head {
	max-width: 680px;
	margin-bottom: 28px;
}

.lune-section-head .lune-eyebrow {
	color: var(--lune-purple);
}

.lune-section-head h2 {
	font-size: clamp(2rem, 5vw, 4rem);
}

.lune-product-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 18px;
}

.lune-product-card {
	overflow: hidden;
	border: 1px solid var(--lune-line);
	border-radius: var(--lune-radius);
	background: var(--lune-white);
	box-shadow: var(--lune-shadow);
}

.lune-product-card img {
	width: 100%;
	aspect-ratio: 4 / 3;
	object-fit: cover;
	background: #f0f1f4;
}

.lune-product-card__body {
	padding: 22px;
}

.lune-card__status {
	margin: 0 0 10px;
	color: var(--lune-purple);
	font-size: 0.78rem;
	font-weight: 760;
	text-transform: uppercase;
	letter-spacing: 0.08em;
}

.lune-product-card h3 {
	margin: 0 0 8px;
	font-size: 1.45rem;
	line-height: 1.18;
}

.lune-product-card p:not(.lune-card__status) {
	min-height: 76px;
	margin: 0 0 18px;
	color: var(--lune-muted);
}

.lune-product-card--muted {
	box-shadow: none;
}

.lune-product-card--muted img {
	filter: grayscale(1);
	opacity: 0.45;
}

.lune-content,
.lune-shop {
	width: var(--lune-container);
	margin: 0 auto;
	padding: 56px 0 84px;
}

.lune-entry {
	max-width: 860px;
	margin: 0 auto 34px;
}

.lune-entry__header {
	margin-bottom: 24px;
}

.lune-entry__content a {
	color: var(--lune-blue);
	text-decoration: underline;
	text-underline-offset: 3px;
}

.lune-footer {
	border-top: 1px solid var(--lune-line);
	background: #fafafa;
}

.lune-footer__inner {
	width: var(--lune-container);
	margin: 0 auto;
	padding: 34px 0;
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 28px;
}

.lune-footer__brand {
	display: inline-block;
	margin-bottom: 8px;
	font-weight: 800;
}

.lune-footer p {
	margin: 0;
	color: var(--lune-muted);
}

.lune-footer__links {
	display: flex;
	flex-wrap: wrap;
	gap: 12px 18px;
	justify-content: flex-end;
}

.lune-footer__links a {
	color: var(--lune-muted);
	font-weight: 600;
}

.lune-footer__links a:hover {
	color: var(--lune-black);
}

.woocommerce .woocommerce-breadcrumb {
	color: var(--lune-muted);
	font-size: 0.9rem;
}

.woocommerce div.product {
	display: grid;
	grid-template-columns: minmax(0, 1.02fr) minmax(360px, 0.98fr);
	gap: 42px;
	align-items: start;
}

.woocommerce div.product div.images,
.woocommerce div.product div.summary {
	float: none;
	width: auto;
}

.woocommerce div.product div.images img {
	border-radius: var(--lune-radius);
	background: var(--lune-soft);
}

.woocommerce div.product .product_title {
	font-size: clamp(2.2rem, 5vw, 4.5rem);
	line-height: 1.02;
	letter-spacing: 0;
}

.woocommerce div.product p.price,
.woocommerce div.product span.price {
	color: var(--lune-black);
	font-size: 1.3rem;
	font-weight: 760;
}

.woocommerce table.shop_table {
	border: 1px solid var(--lune-line);
	border-radius: var(--lune-radius);
	overflow: hidden;
}

.woocommerce table.shop_table th,
.woocommerce table.shop_table td {
	padding: 16px;
}

.woocommerce form .form-row input.input-text,
.woocommerce form .form-row textarea,
.woocommerce form .form-row select,
.select2-container--default .select2-selection--single {
	min-height: 46px;
	border: 1px solid #d8dae2;
	border-radius: var(--lune-radius);
	background: var(--lune-white);
	color: var(--lune-ink);
	padding: 10px 12px;
}

.woocommerce-message,
.woocommerce-info,
.woocommerce-error {
	border-top-color: var(--lune-purple);
	background: var(--lune-white);
	color: var(--lune-ink);
	box-shadow: 0 12px 32px rgba(17, 17, 22, 0.06);
}

.woocommerce-message::before,
.woocommerce-info::before,
.woocommerce-error::before {
	color: var(--lune-purple);
}

.woocommerce-checkout #payment {
	border-radius: var(--lune-radius);
	background: var(--lune-soft);
}

.woocommerce-checkout #payment div.payment_box {
	background: var(--lune-white);
	border: 1px solid var(--lune-line);
	border-radius: var(--lune-radius);
}

.woocommerce-checkout #payment div.payment_box::before {
	border-bottom-color: var(--lune-white);
}

@media (max-width: 900px) {
	.lune-header__inner {
		min-height: 66px;
	}

	.lune-nav-toggle {
		display: inline-block;
	}

	.lune-nav {
		position: absolute;
		left: 20px;
		right: 20px;
		top: 72px;
		display: none;
		flex-direction: column;
		align-items: stretch;
		gap: 2px;
		padding: 10px;
		border: 1px solid var(--lune-line);
		border-radius: var(--lune-radius);
		background: var(--lune-white);
		box-shadow: var(--lune-shadow);
	}

	.lune-nav.is-open {
		display: flex;
	}

	.lune-nav a {
		border-radius: var(--lune-radius);
		padding: 12px 14px;
	}

	.lune-hero__content {
		padding: 96px 0 56px;
		transform: none;
	}

	.lune-product-grid,
	.woocommerce div.product {
		grid-template-columns: 1fr;
	}

	.lune-product-card p:not(.lune-card__status) {
		min-height: auto;
	}

	.lune-footer__inner {
		flex-direction: column;
	}

	.lune-footer__links {
		justify-content: flex-start;
	}
}

@media (max-width: 560px) {
	:root {
		--lune-container: min(100vw - 28px, 1180px);
	}

	.lune-hero {
		min-height: 68vh;
		background-position: 62% center;
	}

	.lune-hero p:not(.lune-eyebrow) {
		font-size: 1rem;
	}

	.lune-product-band,
	.lune-content,
	.lune-shop {
		padding-top: 42px;
		padding-bottom: 56px;
	}

	.woocommerce table.shop_table_responsive tr td::before {
		color: var(--lune-muted);
	}
}
