/* ==========================================================================
   Luna's Psychic Shop — design layer over Shoptimizer
   Editorial, warm and quiet: cream paper, plum ink, one red call to action.
   ========================================================================== */

:root {
	--luna-bg: #fbf5e9;
	--luna-paper: #fffcf6;
	--luna-sand: #f3e9d7;
	--luna-ink: #281f36;
	--luna-ink-soft: #5e5470;
	--luna-purple: #5b3c88;
	--luna-purple-tint: #efe8f6;
	--luna-cta: #b93844;
	--luna-cta-hover: #9e2c37;
	--luna-gold: #9a7535;
	--luna-night: #1e1729;
	--luna-line: rgba(40, 31, 54, 0.12);
	--luna-line-strong: rgba(40, 31, 54, 0.22);
	--luna-serif: "Iowan Old Style", "Palatino Linotype", Palatino, "Book Antiqua", Georgia, serif;
	--luna-sans: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
	--luna-radius: 12px;
	--luna-radius-lg: 20px;
	--luna-shadow: 0 1px 2px rgba(40, 31, 54, 0.06), 0 8px 24px -12px rgba(40, 31, 54, 0.18);
	--luna-shadow-lift: 0 2px 4px rgba(40, 31, 54, 0.06), 0 18px 40px -18px rgba(40, 31, 54, 0.32);
	--luna-wrap: 1200px;
	--luna-gutter: clamp(16px, 4vw, 32px);
	--luna-section: clamp(56px, 8vw, 104px);
}

/* ---------- Base ---------- */

body.luna {
	background: var(--luna-bg);
	color: var(--luna-ink);
	font-family: var(--luna-sans);
	font-size: 17px;
	line-height: 1.6;
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
}

body.luna,
body.luna p,
body.luna li,
body.luna input,
body.luna select,
body.luna textarea,
body.luna button {
	font-family: var(--luna-sans);
}

body.luna h1,
body.luna h2,
body.luna h3,
body.luna h4,
body.luna .product_title,
body.luna .woocommerce-loop-product__title,
body.luna .widget-title,
body.luna .elementor-heading-title {
	font-family: var(--luna-serif);
	color: var(--luna-ink);
	font-weight: 600;
	letter-spacing: -0.01em;
	text-wrap: balance;
}

body.luna p {
	font-size: 17px;
	text-wrap: pretty;
}

body.luna a {
	color: var(--luna-purple);
	text-underline-offset: 3px;
}

body.luna a:hover {
	color: var(--luna-cta);
}

body.luna :focus-visible {
	outline: 2px solid var(--luna-purple);
	outline-offset: 3px;
	border-radius: 4px;
}

body.luna ::selection {
	background: var(--luna-purple-tint);
	color: var(--luna-ink);
}

body.luna .col-full {
	max-width: var(--luna-wrap);
	padding-left: var(--luna-gutter);
	padding-right: var(--luna-gutter);
	box-sizing: border-box;
}

@media (max-width: 600px) {
	body.luna,
	body.luna p {
		font-size: 16px;
	}
}

/* ---------- Buttons ---------- */

body.luna .button,
body.luna button.button,
body.luna .single_add_to_cart_button,
body.luna .checkout-button,
body.luna #place_order,
body.luna .luna-btn .elementor-button,
body.luna a.luna-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	min-height: 52px;
	padding: 0 28px;
	border: 0;
	border-radius: 999px;
	background: var(--luna-cta);
	color: #fff;
	font-family: var(--luna-sans);
	font-size: 16px;
	font-weight: 600;
	letter-spacing: 0.01em;
	line-height: 1.2;
	text-decoration: none;
	box-shadow: 0 6px 16px -8px rgba(185, 56, 68, 0.7);
	transition: background-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

body.luna .button:hover,
body.luna .single_add_to_cart_button:hover,
body.luna .checkout-button:hover,
body.luna #place_order:hover,
body.luna .luna-btn .elementor-button:hover,
body.luna a.luna-button:hover {
	background: var(--luna-cta-hover);
	color: #fff;
	transform: translateY(-1px);
	box-shadow: 0 10px 22px -10px rgba(185, 56, 68, 0.8);
}

body.luna .luna-btn--ghost .elementor-button,
body.luna a.luna-button--ghost {
	background: transparent;
	color: var(--luna-ink);
	box-shadow: inset 0 0 0 1.5px var(--luna-line-strong);
}

body.luna .luna-btn--ghost .elementor-button:hover,
body.luna a.luna-button--ghost:hover {
	background: var(--luna-paper);
	color: var(--luna-ink);
	box-shadow: inset 0 0 0 1.5px var(--luna-ink);
}

body.luna .luna-btn .elementor-button {
	white-space: nowrap;
}

body.luna .luna-btn--light .elementor-button {
	background: transparent;
	color: #fbf5e9;
	box-shadow: inset 0 0 0 1.5px rgba(251, 245, 233, 0.45);
}

body.luna .luna-btn--light .elementor-button:hover {
	background: rgba(251, 245, 233, 0.08);
	color: #fff;
	box-shadow: inset 0 0 0 1.5px #fbf5e9;
}

/* ---------- App shell: announcement, header, search, menu sheet ---------- */

:root {
	--luna-header-h: 72px;
	--luna-tabbar-h: 64px;
	--luna-ease: cubic-bezier(0.2, 0.8, 0.2, 1);
}

body.luna-app {
	-webkit-tap-highlight-color: transparent;
}

body.luna-app a,
body.luna-app button {
	touch-action: manipulation;
}

.luna-announce {
	background: var(--luna-ink);
	text-align: center;
}

.luna-announce .widget {
	margin: 0;
	padding: 8px var(--luna-gutter);
}

.luna-announce p,
.luna-announce strong {
	margin: 0;
	color: #f3e7d3;
	font-size: 14px;
	font-weight: 500;
	letter-spacing: 0.02em;
	line-height: 1.4;
}

.luna-header {
	position: sticky;
	top: 0;
	z-index: 90;
	background: rgba(251, 245, 233, 0.86);
	-webkit-backdrop-filter: saturate(160%) blur(14px);
	backdrop-filter: saturate(160%) blur(14px);
	border-bottom: 1px solid transparent;
	transition: transform 0.28s var(--luna-ease), border-color 0.2s ease, box-shadow 0.2s ease;
}

body.admin-bar .luna-header {
	top: 32px;
}

.luna-header.is-scrolled {
	border-bottom-color: var(--luna-line);
	box-shadow: 0 8px 24px -20px rgba(40, 31, 54, 0.6);
}

.luna-header.is-hidden {
	transform: translateY(-100%);
}

.luna-header__bar {
	display: grid;
	grid-template-columns: auto 1fr auto;
	align-items: center;
	gap: 24px;
	max-width: var(--luna-wrap);
	height: var(--luna-header-h);
	margin: 0 auto;
	padding: 0 var(--luna-gutter);
	box-sizing: border-box;
}

.luna-header__menu {
	display: none !important;
}

.luna-header__logo {
	display: inline-flex;
	align-items: center;
}

.luna-header__logo img {
	display: block;
	width: auto;
	height: 50px;
}

.luna-header__nav {
	justify-self: center;
}

.luna-nav {
	display: flex;
	gap: 4px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.luna-nav li {
	margin: 0;
}

.luna-nav a {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	height: 40px;
	padding: 0 14px;
	border-radius: 999px;
	color: var(--luna-ink) !important;
	font-size: 15.5px;
	font-weight: 500;
	text-decoration: none;
	transition: background-color 0.2s ease;
}

.luna-nav a:hover,
.luna-nav .current-menu-item > a {
	background: rgba(40, 31, 54, 0.07);
}

.luna-nav .current-menu-item > a {
	font-weight: 600;
}

.luna-nav a[href^="https://thesoulmatesketcher.com"]::after,
.luna-drawer__menu a[href^="https://thesoulmatesketcher.com"]::after {
	content: "↗";
	color: var(--luna-ink-soft);
	font-size: 0.85em;
}

.luna-header__actions {
	display: flex;
	gap: 2px;
	justify-self: end;
}

.luna-icon-btn {
	position: relative;
	display: inline-grid;
	place-items: center;
	width: 44px;
	height: 44px;
	margin: 0;
	padding: 0;
	border: 0;
	border-radius: 999px;
	background: transparent !important;
	color: var(--luna-ink) !important;
	cursor: pointer;
	box-shadow: none !important;
	transition: background-color 0.2s ease, transform 0.12s ease;
}

.luna-icon-btn:hover {
	background: rgba(40, 31, 54, 0.07) !important;
}

.luna-icon-btn:active {
	transform: scale(0.92);
}

.luna-i {
	width: 22px;
	height: 22px;
	transition: transform 0.12s ease;
}

.luna-cart-count {
	position: absolute;
	top: 3px;
	right: 1px;
	min-width: 18px;
	height: 18px;
	padding: 0 5px;
	border-radius: 999px;
	background: var(--luna-cta);
	color: #fff;
	font: 700 11px/18px var(--luna-sans);
	text-align: center;
	box-sizing: border-box;
}

.luna-cart-count[hidden] {
	display: none;
}

/* Search panel under the header */
.luna-search {
	padding: 12px var(--luna-gutter) 18px;
	border-top: 1px solid var(--luna-line);
	background: var(--luna-bg);
}

.luna-search[hidden] {
	display: none;
}

.luna-search form {
	position: relative;
	max-width: 720px;
	margin: 0 auto;
}

.luna-search .search-field {
	width: 100%;
	height: 54px;
	padding: 0 110px 0 48px;
	border: 1.5px solid var(--luna-line-strong);
	border-radius: 999px;
	background: #fff;
	font-size: 17px;
	box-shadow: var(--luna-shadow);
}

.luna-search button[type="submit"] {
	position: absolute;
	top: 7px;
	right: 7px;
	height: 40px;
	padding: 0 18px;
	border: 0;
	border-radius: 999px;
	background: var(--luna-ink);
	color: #fff;
	font-weight: 600;
}

/* Menu sheet: slides up from the bottom on phones, in from the left on tablets. */
.luna-drawer {
	position: fixed;
	inset: 0;
	z-index: 1000;
}

.luna-drawer[hidden] {
	display: none;
}

.luna-drawer__scrim {
	position: absolute;
	inset: 0;
	background: rgba(30, 23, 41, 0.45);
	opacity: 0;
	transition: opacity 0.28s ease;
}

.luna-drawer__sheet {
	position: absolute;
	right: 0;
	bottom: 0;
	left: 0;
	max-height: 88vh;
	padding: 6px 20px calc(24px + env(safe-area-inset-bottom));
	overflow-y: auto;
	overscroll-behavior: contain;
	border-radius: 24px 24px 0 0;
	background: var(--luna-bg);
	box-shadow: 0 -20px 50px -20px rgba(0, 0, 0, 0.35);
	transform: translateY(100%);
	transition: transform 0.34s var(--luna-ease);
	box-sizing: border-box;
}

.luna-drawer.is-open .luna-drawer__scrim {
	opacity: 1;
}

.luna-drawer.is-open .luna-drawer__sheet {
	transform: none;
}

.luna-drawer__handle {
	width: 40px;
	height: 5px;
	margin: 6px auto 6px;
	border-radius: 99px;
	background: var(--luna-line-strong);
}

.luna-drawer__head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin: 0 -8px 4px 0;
}

.luna-drawer__title {
	font: 600 22px/1.2 var(--luna-serif);
	color: var(--luna-ink);
}

.luna-drawer__menu,
.luna-drawer__links {
	margin: 0 0 12px;
	padding: 0;
	list-style: none;
}

.luna-drawer__menu li,
.luna-drawer__links li {
	margin: 0;
}

.luna-drawer__menu a {
	display: flex;
	align-items: center;
	justify-content: space-between;
	min-height: 58px;
	border-bottom: 1px solid var(--luna-line);
	color: var(--luna-ink) !important;
	font: 600 21px/1.2 var(--luna-serif);
	text-decoration: none;
}

.luna-drawer__menu a:not([href^="https://thesoulmatesketcher.com"])::after {
	content: "›";
	color: var(--luna-ink-soft);
	font: 400 26px/1 var(--luna-sans);
}

.luna-drawer__links {
	margin-top: 8px;
	padding: 6px 0;
	border-radius: var(--luna-radius);
	background: var(--luna-paper);
	border: 1px solid var(--luna-line);
}

.luna-drawer__links a {
	display: flex;
	align-items: center;
	gap: 14px;
	min-height: 50px;
	padding: 0 14px;
	color: var(--luna-ink) !important;
	font-size: 16px;
	font-weight: 500;
	text-decoration: none;
}

.luna-drawer__links .luna-i {
	color: var(--luna-purple);
}

.luna-drawer__social {
	display: flex;
	gap: 18px;
	margin: 14px 2px 0;
	font-size: 14px;
}

.luna-drawer__social a {
	color: var(--luna-ink-soft) !important;
	text-decoration: none;
}

body.luna-drawer-open {
	overflow: hidden;
}

/* Tablet and phone header */
@media (max-width: 1024px) {
	:root {
		--luna-header-h: 60px;
	}

	.luna-header__bar {
		grid-template-columns: 1fr auto 1fr;
		gap: 8px;
	}

	.luna-header__menu {
		display: inline-grid !important;
		justify-self: start;
	}

	.luna-header__nav {
		display: none;
	}

	.luna-header__logo {
		justify-self: center;
	}

	.luna-header__logo img {
		height: 42px;
	}

	.luna-drawer__sheet {
		top: 0;
		right: auto;
		width: min(420px, 88vw);
		max-height: none;
		padding-top: calc(12px + env(safe-area-inset-top));
		border-radius: 0 24px 24px 0;
		transform: translateX(-100%);
	}

	.luna-drawer__handle {
		display: none;
	}
}

/* Phones: app layout with a bottom tab bar */
@media (max-width: 767px) {
	:root {
		--luna-header-h: 56px;
	}

	.luna-announce .widget {
		padding: 6px 12px;
	}

	.luna-announce p,
	.luna-announce strong {
		font-size: 13px;
	}

	.luna-header__logo img {
		height: 38px;
	}

	.luna-header__account,
	.luna-header__cart {
		display: none !important;
	}

	.luna-drawer__sheet {
		top: auto;
		right: 0;
		width: auto;
		max-height: 88vh;
		padding-top: 6px;
		border-radius: 24px 24px 0 0;
		transform: translateY(100%);
	}

	.luna-drawer__handle {
		display: block;
	}

	body.luna-app {
		padding-bottom: calc(var(--luna-tabbar-h) + env(safe-area-inset-bottom));
	}

	body.luna-app.single-product {
		padding-bottom: calc(78px + env(safe-area-inset-bottom));
	}

	body.luna-app .call-back-feature,
	body.luna-app .shoptimizer-floating-button {
		display: none !important;
	}
}

/* ---------- Bottom tab bar (phones) ---------- */

.luna-tabbar {
	display: none;
}

@media (max-width: 767px) {
	.luna-tabbar {
		position: fixed;
		right: 0;
		bottom: 0;
		left: 0;
		z-index: 95;
		display: grid;
		grid-template-columns: repeat(5, 1fr);
		height: calc(var(--luna-tabbar-h) + env(safe-area-inset-bottom));
		padding-bottom: env(safe-area-inset-bottom);
		border-top: 1px solid var(--luna-line);
		background: rgba(251, 245, 233, 0.92);
		-webkit-backdrop-filter: saturate(160%) blur(16px);
		backdrop-filter: saturate(160%) blur(16px);
		box-sizing: border-box;
	}

	.luna-tabbar__item {
		position: relative;
		display: flex;
		flex-direction: column;
		align-items: center;
		justify-content: center;
		gap: 3px;
		color: var(--luna-ink-soft) !important;
		font-size: 11.5px;
		font-weight: 600;
		letter-spacing: 0.01em;
		text-decoration: none;
	}

	.luna-tabbar__item .luna-i {
		width: 24px;
		height: 24px;
	}

	.luna-tabbar__item:active .luna-i {
		transform: scale(0.88);
	}

	.luna-tabbar__item.is-active {
		color: var(--luna-cta) !important;
	}

	.luna-tabbar__item.is-active::before {
		content: "";
		position: absolute;
		top: -1px;
		left: 32%;
		right: 32%;
		height: 3px;
		border-radius: 0 0 3px 3px;
		background: var(--luna-cta);
	}

	.luna-tabbar__badge {
		top: 7px;
		right: calc(50% - 22px);
	}
}

/* ---------- Buy bar on product pages (phones) ---------- */

.luna-buybar {
	display: none;
}

@media (max-width: 767px) {
	.luna-buybar {
		position: fixed;
		right: 0;
		bottom: 0;
		left: 0;
		z-index: 95;
		display: flex;
		align-items: center;
		gap: 14px;
		padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
		border-top: 1px solid var(--luna-line);
		background: rgba(255, 252, 246, 0.95);
		-webkit-backdrop-filter: blur(16px);
		backdrop-filter: blur(16px);
		box-shadow: 0 -12px 30px -20px rgba(40, 31, 54, 0.5);
		transform: translateY(110%);
		transition: transform 0.3s var(--luna-ease);
	}

	.luna-buybar.is-visible {
		transform: none;
	}

	.luna-buybar__info {
		display: flex;
		flex-direction: column;
		line-height: 1.25;
	}

	.luna-buybar__price,
	.luna-buybar__price .amount {
		color: var(--luna-ink);
		font: 700 18px/1.2 var(--luna-sans);
	}

	.luna-buybar__price del,
	.luna-buybar__price del .amount {
		color: var(--luna-ink-soft);
		font-size: 13px;
		font-weight: 400;
	}

	.luna-buybar__price ins {
		text-decoration: none;
	}

	.luna-buybar__note {
		color: var(--luna-ink-soft);
		font-size: 12.5px;
	}

	.luna-buybar__btn {
		min-height: 50px;
		margin-left: auto;
		padding: 0 28px;
		border: 0;
		border-radius: 999px;
		background: var(--luna-cta);
		color: #fff;
		font: 600 16px var(--luna-sans);
		box-shadow: 0 6px 16px -8px rgba(185, 56, 68, 0.7);
	}

	.luna-buybar__btn:active {
		transform: scale(0.97);
	}
}

/* ---------- Category chips ---------- */

body.luna .woocommerce-products-header {
	display: block;
}

.luna-chips {
	display: flex;
	gap: 8px;
	margin: 6px 0 16px;
	padding-bottom: 2px;
	overflow-x: auto;
	scrollbar-width: none;
}

.luna-chips::-webkit-scrollbar {
	display: none;
}

.luna-chip {
	display: inline-flex;
	flex: none;
	align-items: center;
	height: 40px;
	padding: 0 18px;
	border: 1.5px solid var(--luna-line-strong);
	border-radius: 999px;
	background: var(--luna-paper);
	color: var(--luna-ink) !important;
	font-size: 15px;
	font-weight: 600;
	text-decoration: none;
	transition: background-color 0.2s ease, color 0.2s ease;
}

.luna-chip.is-active {
	border-color: var(--luna-ink);
	background: var(--luna-ink);
	color: #fff !important;
}

/* ---------- App feel on phones: carousels, press states, smooth page changes ---------- */

@media (max-width: 767px) {
	/* Horizontal, swipeable rows (Elementor puts row children inside .e-con-inner). */
	body.luna .luna-best ul.products,
	body.luna .luna-cats__row > .e-con-inner {
		display: flex !important;
		flex-direction: row !important;
		flex-wrap: nowrap !important;
		gap: 12px !important;
		width: auto !important;
		max-width: none !important;
		margin: 0 calc(-1 * var(--luna-gutter)) !important;
		padding: 4px var(--luna-gutter) 14px !important;
		overflow-x: auto;
		scroll-snap-type: x mandatory;
		scroll-padding: 0 var(--luna-gutter);
		scrollbar-width: none;
		-webkit-overflow-scrolling: touch;
	}

	body.luna .luna-best ul.products::-webkit-scrollbar,
	body.luna .luna-cats__row > .e-con-inner::-webkit-scrollbar {
		display: none;
	}

	body.luna .luna-best ul.products li.product {
		flex: 0 0 64%;
		scroll-snap-align: start;
	}

	body.luna .luna-cats__row > .e-con-inner > .luna-cat-card {
		flex: 0 0 84% !important;
		width: auto !important;
		max-width: none !important;
		scroll-snap-align: start;
	}

	body.luna .luna-promises__row > .e-con-inner {
		display: grid !important;
		grid-template-columns: 1fr 1fr;
		gap: 10px !important;
	}

	body.luna .luna-promises__row > .e-con-inner > .luna-promise {
		width: auto !important;
		padding: 16px !important;
	}

	body.luna-app ul.products li.product:active,
	body.luna-app .luna-cat-card:active,
	body.luna-app .luna-chip:active {
		transform: scale(0.98);
	}
}

/* Tablets: side-by-side cards instead of one per row. */
@media (min-width: 768px) and (max-width: 1024px) {
	body.luna .luna-cats__row > .e-con-inner,
	body.luna .luna-how .e-con-inner:has(> .luna-step) {
		flex-direction: row !important;
		flex-wrap: nowrap !important;
		gap: 16px !important;
	}

	body.luna .luna-cats__row > .e-con-inner > .luna-cat-card,
	body.luna .luna-how .e-con-inner > .luna-step {
		flex: 1 1 0 !important;
		width: auto !important;
		min-width: 0;
	}

	body.luna .luna-promises__row > .e-con-inner {
		display: grid !important;
		grid-template-columns: 1fr 1fr;
		gap: 16px !important;
	}

	body.luna .luna-promises__row > .e-con-inner > .luna-promise {
		width: auto !important;
	}
}

@media (prefers-reduced-motion: no-preference) {
	@view-transition {
		navigation: auto;
	}

	.luna-header {
		view-transition-name: luna-header;
	}

	.luna-tabbar {
		view-transition-name: luna-tabbar;
	}
}

/* ---------- Breadcrumb and archive headers ---------- */

body.luna .shoptimizer-archive .archive-header {
	background: transparent;
	padding-top: 20px;
	padding-bottom: 0;
}

body.luna .woocommerce-breadcrumb,
body.luna .woocommerce-breadcrumb a {
	color: var(--luna-ink-soft);
	font-size: 14px;
}

body.luna .woocommerce-products-header,
body.luna .shoptimizer-category-banner {
	background: transparent;
}

body.luna .woocommerce-products-header__title,
body.luna.tax-product_cat h1.page-title {
	font-size: clamp(2.2rem, 4.5vw, 3.4rem);
	line-height: 1.08;
	margin: 8px 0 12px;
}

body.luna .luna-archive-intro,
body.luna .term-description p {
	max-width: 60ch;
	color: var(--luna-ink-soft);
	font-size: 18px;
	margin: 0 0 8px;
}

body.luna .woocommerce-result-count,
body.luna .woocommerce-ordering select {
	font-size: 14px;
	color: var(--luna-ink-soft);
}

body.luna .woocommerce-ordering select {
	border: 1px solid var(--luna-line-strong);
	border-radius: 999px;
	background-color: var(--luna-paper);
	height: 40px;
	padding: 0 36px 0 16px;
}

/* ---------- Product cards ---------- */

body.luna ul.products {
	display: grid !important;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 28px 24px;
	width: 100% !important;
	margin: 0 0 24px !important;
	padding: 0;
}

body.luna ul.products::before,
body.luna ul.products::after {
	display: none !important;
}

body.luna ul.products li.product {
	width: auto !important;
	margin: 0 !important;
	float: none !important;
	display: flex;
	flex-direction: column;
	background: var(--luna-paper);
	border: 1px solid var(--luna-line);
	border-radius: var(--luna-radius);
	box-shadow: var(--luna-shadow);
	overflow: hidden;
	padding: 0 !important;
	text-align: left;
	transition: transform 0.25s ease, box-shadow 0.25s ease;
}

body.luna ul.products li.product:hover {
	transform: translateY(-3px);
	box-shadow: var(--luna-shadow-lift);
}

body.luna ul.products li.product .woocommerce-image__wrapper {
	aspect-ratio: 1 / 1;
	overflow: hidden;
	margin: 0;
	background: var(--luna-sand);
}

body.luna ul.products li.product .woocommerce-image__wrapper img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	margin: 0;
	transition: transform 0.5s ease;
}

body.luna ul.products li.product:hover .woocommerce-image__wrapper img {
	transform: scale(1.03);
}

body.luna ul.products li.product .woocommerce-card__header {
	display: flex;
	flex-direction: column;
	flex: 1;
	gap: 6px;
	padding: 16px 18px 18px;
	text-align: left;
}

body.luna ul.products li.product p.product__categories,
body.luna ul.products li.product p.product__categories a {
	margin: 0;
	color: var(--luna-purple);
	font-family: var(--luna-sans);
	font-size: 13px !important;
	font-weight: 600;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	text-decoration: none;
}

body.luna ul.products li.product .woocommerce-loop-product__title,
body.luna ul.products li.product .woocommerce-loop-product__title a,
body.luna ul.products li.product .woocommerce-LoopProduct-link {
	margin: 0;
	color: var(--luna-ink);
	font-family: var(--luna-serif);
	font-size: 19px !important;
	font-weight: 600;
	line-height: 1.3;
	text-decoration: none;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

body.luna ul.products li.product .price {
	margin: 2px 0 0;
	color: var(--luna-ink);
	font-size: 17px !important;
	font-weight: 700;
}

body.luna ul.products li.product .price del {
	color: var(--luna-ink-soft);
	font-weight: 400;
	opacity: 1;
	margin-right: 6px;
}

body.luna ul.products li.product .price ins {
	color: var(--luna-cta);
	text-decoration: none;
}

body.luna ul.products li.product .button {
	margin-top: auto;
	width: 100%;
	min-height: 46px;
	position: static;
	opacity: 1;
	transform: none;
	visibility: visible;
	background: transparent;
	color: var(--luna-ink);
	box-shadow: inset 0 0 0 1.5px var(--luna-line-strong);
}

body.luna ul.products li.product .button:hover {
	background: var(--luna-ink);
	color: #fff;
	box-shadow: none;
	transform: none;
}

body.luna ul.products li.product .onsale,
body.luna .product .onsale {
	top: 12px;
	left: 12px;
	right: auto;
	min-height: 0;
	padding: 5px 10px;
	border-radius: 999px;
	background: var(--luna-purple);
	color: #fff;
	font-size: 13px;
	font-weight: 600;
	line-height: 1.2;
}

body.luna ul.products li.product .woocommerce-card__header > .button + .screen-reader-text + * {
	display: none;
}

@media (max-width: 1100px) {
	body.luna ul.products {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
}

@media (max-width: 767px) {
	body.luna ul.products {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 16px 12px;
	}

	body.luna ul.products li.product .woocommerce-card__header {
		padding: 12px 12px 14px;
	}

	body.luna ul.products li.product .woocommerce-loop-product__title,
	body.luna ul.products li.product .woocommerce-loop-product__title a,
	body.luna ul.products li.product .woocommerce-LoopProduct-link {
		font-size: 16px !important;
	}

	body.luna ul.products li.product p.product__categories,
	body.luna ul.products li.product p.product__categories a {
		font-size: 11.5px !important;
	}

	body.luna ul.products li.product .button {
		min-height: 42px;
		padding: 0 12px;
		font-size: 15px;
	}
}

/* Catalog pages without the sidebar */
body.luna.tax-product_cat .content-area,
body.luna.post-type-archive-product .content-area {
	width: 100%;
	float: none;
	margin: 0;
}

/* ---------- Section helpers ---------- */

.luna-section-title {
	font-size: clamp(1.8rem, 3.4vw, 2.6rem);
	line-height: 1.12;
	margin: 0 0 8px;
}

.luna-eyebrow,
body.luna .luna-eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	margin: 0 0 10px;
	color: var(--luna-purple);
	font-family: var(--luna-sans);
	font-size: 13px;
	font-weight: 600;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	text-decoration: none;
}

.luna-eyebrow::before {
	content: "";
	width: 22px;
	height: 1px;
	background: currentColor;
}

/* ---------- Product page ---------- */

body.luna.single-product .site-content {
	padding-top: 8px;
}

body.luna.single-product .product-details-wrapper {
	display: grid;
	grid-template-columns: minmax(0, 1.08fr) minmax(0, 1fr);
	gap: clamp(28px, 4vw, 64px);
	align-items: start;
	padding-bottom: 40px;
}

body.luna.single-product .product-details-wrapper::before,
body.luna.single-product .product-details-wrapper::after {
	display: none;
}

body.luna.single-product .product-details-wrapper > .images,
body.luna.single-product .product-details-wrapper > .summary {
	width: auto !important;
	float: none !important;
	margin: 0 !important;
}

body.luna.single-product .product-details-wrapper > .images {
	grid-column: 1;
	grid-row: 1;
	position: sticky;
	top: 24px;
}

body.luna.single-product .product-details-wrapper > .summary {
	grid-column: 2;
	grid-row: 1;
}

/* CommerceKit adds helpers (callback modal, gallery slot) inside the wrapper. */
body.luna.single-product .product-details-wrapper > :not(.images):not(.summary) {
	grid-column: 1 / -1;
}

body.luna.single-product #commercegurus-pdp-gallery .cg-main-swiper,
body.luna.single-product #commercegurus-pdp-gallery .cg-main-swiper img {
	border-radius: var(--luna-radius-lg);
}

body.luna.single-product #commercegurus-pdp-gallery .cg-thumb-swiper img {
	border-radius: 10px;
}

body.luna.single-product .cg-thumb-swiper .swiper-slide {
	opacity: 0.7;
}

body.luna.single-product .cg-thumb-swiper .swiper-slide-thumb-active {
	opacity: 1;
}

body.luna.single-product .summary .shoptimizer-product-prevnext {
	display: none;
}

body.luna.single-product .product_title {
	font-size: clamp(2rem, 3.4vw, 2.8rem);
	line-height: 1.1;
	margin: 0 0 10px;
}

body.luna.single-product .summary > p.price {
	color: var(--luna-ink);
	font-size: 26px;
	font-weight: 700;
	margin: 0 0 14px;
}

body.luna.single-product .summary > p.price del {
	color: var(--luna-ink-soft);
	font-size: 18px;
	font-weight: 400;
}

body.luna.single-product .summary > p.price ins {
	color: var(--luna-cta);
	text-decoration: none;
}

body.luna.single-product .woocommerce-product-details__short-description p {
	color: var(--luna-ink-soft);
	font-size: 18px;
	margin: 0 0 18px;
}

body.luna.single-product .luna-form-intro {
	margin: 22px 0 10px;
	color: var(--luna-ink-soft);
	font-size: 15px;
}

body.luna.single-product form.cart {
	margin: 0 0 22px;
	padding: 8px 20px 22px;
	border: 1px solid var(--luna-line);
	border-radius: var(--luna-radius-lg);
	background: var(--luna-paper);
	box-shadow: var(--luna-shadow);
}

/* The product form must be visible before any script runs. */
body.luna .tc-extra-product-options,
body.luna .tc-extra-product-options.tc-show {
	visibility: visible !important;
}

body.luna .tc-extra-product-options .tm-extra-product-options-field {
	margin: 0 0 14px !important;
	padding: 0 !important;
}

body.luna .tc-extra-product-options .tc-epo-label,
body.luna .tc-extra-product-options .tm-epo-element-label {
	display: flex !important;
	align-items: baseline;
	gap: 4px;
	margin: 10px 0 6px !important;
	color: var(--luna-ink);
	font-family: var(--luna-sans) !important;
	font-size: 16px !important;
	font-weight: 600 !important;
	line-height: 1.35;
}

body.luna .tc-extra-product-options .tc-epo-element-label-text {
	order: 1 !important;
}

body.luna .tc-extra-product-options .tm-epo-required {
	order: 2 !important;
	color: var(--luna-cta);
}

body.luna .tc-extra-product-options input.tm-epo-field,
body.luna .tc-extra-product-options select.tm-epo-field,
body.luna .tc-extra-product-options textarea.tm-epo-field,
body.luna .tc-extra-product-options .tmcp-field-wrap label.fullwidth .tm-epo-field {
	width: 100%;
	min-height: 50px;
	height: auto;
	padding: 12px 14px;
	border: 1.5px solid var(--luna-line-strong) !important;
	border-radius: 10px !important;
	background-color: #fff !important;
	color: var(--luna-ink);
	font-size: 16px !important;
	box-shadow: none;
	transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

body.luna .tc-extra-product-options textarea.tm-epo-field {
	min-height: 110px;
}

body.luna .tc-extra-product-options .tm-epo-field:focus {
	border-color: var(--luna-purple) !important;
	box-shadow: 0 0 0 4px var(--luna-purple-tint);
	outline: 0;
}

body.luna .tc-extra-product-options .tm-description,
body.luna .tc-extra-product-options .tc-cell.tm-description {
	color: var(--luna-ink-soft);
	font-size: 14px;
}

body.luna .tc-extra-product-options .tm-error,
body.luna .tc-extra-product-options label.error {
	color: var(--luna-cta);
	font-size: 14px;
	font-weight: 600;
}

body.luna .tc-epo-totals,
body.luna .tm-epo-totals {
	margin: 4px 0 14px;
	color: var(--luna-ink);
	font-size: 16px;
}

body.luna.single-product form.cart .quantity {
	display: none;
}

body.luna.single-product form.cart .single_add_to_cart_button {
	width: 100%;
	min-height: 56px;
	margin: 6px 0 0;
	font-size: 17px;
	float: none;
}

body.luna.single-product .wc-stripe-product-checkout-container {
	margin-top: 10px;
}

body.luna.single-product .product-widget {
	margin: 0;
	padding: 0;
	border: 0;
}

body.luna .luna-assurances {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	gap: 10px;
}

body.luna .luna-assurances li {
	position: relative;
	margin: 0;
	padding-left: 30px;
	color: var(--luna-ink-soft);
	font-size: 15px;
	line-height: 1.5;
}

body.luna .luna-assurances li strong {
	color: var(--luna-ink);
	font-weight: 600;
}

body.luna .luna-assurances li::before {
	content: "";
	position: absolute;
	left: 2px;
	top: 3px;
	width: 18px;
	height: 18px;
	border-radius: 50%;
	background: var(--luna-purple-tint) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5.5 10.5l3 3 6-7' fill='none' stroke='%235b3c88' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 14px no-repeat;
}

/* Steps under the product */
.luna-steps {
	clear: both;
	margin: 8px 0 48px;
	padding: clamp(28px, 4vw, 48px);
	border-radius: var(--luna-radius-lg);
	background: var(--luna-sand);
}

.luna-steps__list {
	list-style: none;
	margin: 20px 0 0;
	padding: 0;
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 24px;
}

.luna-steps__list li {
	margin: 0;
}

.luna-steps__list h3 {
	margin: 12px 0 6px;
	font-size: 21px;
}

.luna-steps__list p {
	margin: 0;
	color: var(--luna-ink-soft);
	font-size: 16px;
}

.luna-steps__n {
	display: inline-grid;
	place-items: center;
	width: 38px;
	height: 38px;
	border-radius: 50%;
	border: 1px solid var(--luna-gold);
	color: var(--luna-gold);
	font-family: var(--luna-serif);
	font-size: 18px;
	font-weight: 600;
}

/* Description */
body.luna.single-product .woocommerce-tabs {
	background: transparent !important;
	border: 0;
	padding: 0;
	margin: 0 0 40px;
}

body.luna.single-product .woocommerce-tabs ul.tabs {
	display: none;
}

body.luna.single-product .woocommerce-tabs .panel {
	max-width: 760px;
	margin: 0 auto;
	padding: 0;
	display: block !important;
}

body.luna.single-product .woocommerce-tabs .panel h2 {
	font-size: clamp(1.6rem, 3vw, 2.2rem);
	line-height: 1.15;
	margin: 1.6em 0 0.5em;
}

body.luna.single-product .woocommerce-tabs .panel h3 {
	font-size: 1.35rem;
	margin: 1.4em 0 0.4em;
}

body.luna.single-product .woocommerce-tabs .panel h4 {
	font-size: 1.15rem;
}

body.luna.single-product .woocommerce-tabs .panel p,
body.luna.single-product .woocommerce-tabs .panel li {
	font-size: 17px;
	line-height: 1.7;
	color: var(--luna-ink);
}

/* Reviews (shown only once a product has real ones) */
body.luna.single-product #reviews {
	max-width: 760px;
	margin: 40px auto 0;
	padding-top: 32px;
	border-top: 1px solid var(--luna-line);
}

body.luna.single-product #reviews .woocommerce-Reviews-title {
	font-size: clamp(1.6rem, 3vw, 2.2rem);
}

body.luna.single-product #reviews ol.commentlist li .comment_container {
	padding: 18px 20px;
	border: 1px solid var(--luna-line);
	border-radius: var(--luna-radius);
	background: var(--luna-paper);
}

body.luna .star-rating,
body.luna .star-rating span::before {
	color: var(--luna-gold);
}

body.luna.single-product .woocommerce-tabs .panel .luna-lead {
	max-width: none;
	margin-bottom: 8px;
	color: var(--luna-ink);
	font-size: 19px;
	line-height: 1.6;
}

body.luna.single-product .woocommerce-tabs .panel .luna-faq {
	margin: 8px 0 0;
}

body.luna .luna-note {
	margin-top: 28px;
	padding-top: 16px;
	border-top: 1px solid var(--luna-line);
	color: var(--luna-ink-soft) !important;
	font-size: 14px !important;
	line-height: 1.55;
}

body.luna.single-product .related-wrapper {
	background: transparent !important;
	border-top: 1px solid var(--luna-line);
	padding-top: 32px;
}

body.luna.single-product .related-wrapper .product_meta {
	display: none;
}

body.luna.single-product .related.products > h2,
body.luna .upsells.products > h2 {
	font-size: clamp(1.6rem, 3vw, 2.2rem);
	text-align: left;
	margin-bottom: 20px;
}

body.luna .commercekit-atc-sticky-tabs,
body.luna .commercekit-sticky-atc {
	background: var(--luna-bg) !important;
	border-color: var(--luna-line) !important;
}

/* Product page on phones: title and price before the gallery, then form. */
@media (max-width: 767px) {
	body.luna.single-product .product-details-wrapper {
		display: flex;
		flex-direction: column;
		gap: 0;
		padding-bottom: 24px;
	}

	body.luna.single-product .product-details-wrapper > .summary {
		display: contents;
	}

	body.luna.single-product .product-details-wrapper > .images {
		position: static;
		order: 3;
		margin: 4px calc(-1 * var(--luna-gutter)) 18px !important;
	}

	body.luna.single-product #commercegurus-pdp-gallery .cg-main-swiper,
	body.luna.single-product #commercegurus-pdp-gallery .cg-main-swiper img {
		border-radius: 0;
	}

	body.luna.single-product .summary > .luna-eyebrow { order: 1; margin-top: 8px; }
	body.luna.single-product .summary > .product_title { order: 1; font-size: 30px; }
	body.luna.single-product .summary > p.price { order: 2; font-size: 24px; margin-bottom: 10px; }
	body.luna.single-product .summary > * { order: 4; }

	body.luna.single-product form.cart {
		margin-left: calc(-1 * var(--luna-gutter) + 8px);
		margin-right: calc(-1 * var(--luna-gutter) + 8px);
		padding-left: 16px;
		padding-right: 16px;
	}

	.luna-steps__list {
		grid-template-columns: 1fr;
		gap: 18px;
	}

	.luna-steps__list li {
		display: grid;
		grid-template-columns: 38px 1fr;
		column-gap: 14px;
	}

	.luna-steps__list li h3 {
		margin: 6px 0 4px;
		font-size: 19px;
	}

	.luna-steps__list li p {
		grid-column: 2;
	}
}

/* ---------- Cart and checkout ---------- */

body.luna.woocommerce-cart .site-content,
body.luna.woocommerce-checkout .site-content {
	padding-top: 16px;
}

body.luna.woocommerce-cart h1.entry-title,
body.luna.woocommerce-checkout h1.entry-title {
	font-size: clamp(2rem, 4vw, 2.8rem);
}

body.luna .woocommerce-cart-form,
body.luna .cart-collaterals .cart_totals,
body.luna form.checkout .col2-set,
body.luna #order_review,
body.luna .wcf-embed-checkout-form .woocommerce-checkout,
body.luna .wcf-embed-checkout-form #order_review {
	background: var(--luna-paper);
	border: 1px solid var(--luna-line);
	border-radius: var(--luna-radius-lg);
	box-shadow: var(--luna-shadow);
}

body.luna .woocommerce-cart-form {
	padding: 8px 20px;
}

body.luna .cart-collaterals .cart_totals {
	padding: 20px 22px;
}

body.luna table.shop_table {
	border: 0;
	margin: 0;
}

body.luna table.shop_table th {
	color: var(--luna-ink-soft);
	font-size: 13px;
	font-weight: 600;
	letter-spacing: 0.1em;
	text-transform: uppercase;
}

body.luna table.shop_table td {
	border-color: var(--luna-line);
}

body.luna table.shop_table .product-name a {
	color: var(--luna-ink);
	font-family: var(--luna-serif);
	font-size: 18px;
	font-weight: 600;
	text-decoration: none;
}

body.luna table.shop_table .product-thumbnail img {
	border-radius: 10px;
}

/* Personalization typed on the product page, shown for review */
body.luna dl.variation,
body.luna dl.tc-epo-metadata {
	display: block;
	margin: 10px 0 6px;
	padding: 12px 14px;
	border-radius: 10px;
	background: var(--luna-purple-tint);
	font-size: 15px;
	line-height: 1.4;
}

body.luna dl.variation dt,
body.luna dl.variation dd {
	display: block !important;
	float: none;
	margin: 0;
	padding: 0;
}

body.luna dl.variation dt {
	color: var(--luna-ink-soft);
	font-size: 13px;
	font-weight: 500;
}

body.luna dl.variation dd + dt {
	margin-top: 8px;
}

body.luna dl.variation dd,
body.luna dl.variation dd p {
	margin: 0;
	color: var(--luna-ink);
	font-weight: 600;
	font-size: 15px;
	overflow-wrap: anywhere;
}

body.luna .wc-item-meta {
	color: var(--luna-ink-soft);
	font-size: 15px;
}

body.luna a.tm-cart-edit-options,
body.luna table.shop_table .product-name a.tm-cart-edit-options {
	display: inline-block;
	margin: 4px 0 0;
	color: var(--luna-purple);
	font-family: var(--luna-sans);
	font-size: 14px;
	font-style: normal;
	font-weight: 600;
}

body.luna.woocommerce-cart .product-name > a:first-child {
	display: block;
}

body.luna.woocommerce-cart .product-quantity,
body.luna.woocommerce-cart th.product-quantity,
body.luna.woocommerce-cart button[name="update_cart"] {
	display: none !important;
}

body.luna .coupon {
	display: flex;
	gap: 8px;
	width: 100%;
}

body.luna .coupon .input-text {
	flex: 1 1 auto;
	width: auto !important;
	min-width: 0;
	min-height: 46px;
	border: 1.5px solid var(--luna-line-strong);
	border-radius: 999px;
	background: #fff;
	padding: 0 16px;
	font-size: 16px;
}

body.luna .coupon .button {
	flex: none;
	min-height: 46px;
	width: auto !important;
	padding: 0 18px;
	background: var(--luna-ink) !important;
	color: #fff !important;
	box-shadow: none;
	font-size: 15px;
}

body.luna .cart-collaterals .checkout-button {
	width: 100%;
	min-height: 56px;
	font-size: 17px;
}

body.luna .luna-secure-note {
	margin: 12px 0 0;
	color: var(--luna-ink-soft);
	font-size: 14px;
	text-align: center;
}

body.luna form.checkout input.input-text,
body.luna form.checkout select,
body.luna form.checkout textarea,
body.luna .wcf-embed-checkout-form input.input-text,
body.luna .wcf-embed-checkout-form select,
body.luna .select2-container .select2-selection--single {
	min-height: 50px;
	border: 1.5px solid var(--luna-line-strong) !important;
	border-radius: 10px !important;
	background: #fff !important;
	font-size: 16px !important;
	box-shadow: none !important;
}

body.luna form.checkout input.input-text:focus,
body.luna .wcf-embed-checkout-form input.input-text:focus {
	border-color: var(--luna-purple) !important;
	box-shadow: 0 0 0 4px var(--luna-purple-tint) !important;
}

body.luna form.checkout label,
body.luna .wcf-embed-checkout-form label {
	color: var(--luna-ink);
	font-size: 15px;
	font-weight: 600;
}

body.luna form.checkout h3,
body.luna .wcf-embed-checkout-form h3,
body.luna #order_review_heading {
	font-family: var(--luna-serif);
	font-size: 24px;
}

body.luna .woocommerce-invalid input.input-text,
body.luna .woocommerce-invalid select {
	border-color: var(--luna-cta) !important;
}

body.luna .woocommerce-error,
body.luna .woocommerce-message,
body.luna .woocommerce-info {
	border-radius: var(--luna-radius);
	border: 1px solid var(--luna-line);
	background: var(--luna-paper);
	color: var(--luna-ink);
}

body.luna .woocommerce-error {
	border-left: 4px solid var(--luna-cta);
}

body.luna .woocommerce-message,
body.luna .woocommerce-info {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 10px 16px;
	padding: 16px 18px;
	border-left: 4px solid var(--luna-purple);
	box-shadow: var(--luna-shadow);
	font-size: 16px;
	line-height: 1.45;
}

body.luna .woocommerce-message::before,
body.luna .woocommerce-info::before {
	display: none;
}

body.luna .woocommerce-message .button,
body.luna .woocommerce-info .button {
	order: 2;
	float: none;
	min-height: 42px;
	margin: 0;
	padding: 0 18px;
	font-size: 15px;
	text-decoration: none;
	background: var(--luna-ink);
	box-shadow: none;
}

body.luna .woocommerce-message .button:first-of-type {
	background: transparent;
	color: var(--luna-ink);
	box-shadow: inset 0 0 0 1.5px var(--luna-line-strong);
}

body.luna .woocommerce-message .button svg {
	display: none;
}

body.luna #place_order {
	width: 100%;
	min-height: 58px;
	font-size: 18px;
}

/* ---------- Mini cart drawer ---------- */

body.luna .shoptimizer-mini-cart-wrap {
	background: var(--luna-bg);
}

body.luna .shoptimizer-mini-cart-wrap .cart-drawer-heading {
	font-family: var(--luna-serif);
	color: var(--luna-ink);
}

/* ---------- Trust band and footer ---------- */

body.luna .below-content {
	background: var(--luna-sand);
	border: 0;
	padding: 40px 0;
}

body.luna .below-content .col-full {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 24px;
}

/* Theme clearfix pseudo-elements would take grid cells. */
body.luna .below-content .col-full::before,
body.luna .below-content .col-full::after,
body.luna footer.site-footer .col-full::before,
body.luna footer.site-footer .col-full::after {
	display: none;
}

body.luna .below-content .widget {
	width: auto;
	margin: 0;
	padding: 0;
	float: none;
}

body.luna .below-content .widget-title {
	display: block;
	margin: 0 0 6px;
	font-size: 19px;
	color: var(--luna-ink);
}

body.luna .below-content p {
	margin: 0;
	color: var(--luna-ink-soft);
	font-size: 15px;
	line-height: 1.5;
}

body.luna .below-content svg {
	display: none;
}

body.luna footer.site-footer {
	background: var(--luna-night);
	color: #cfc5dc;
	padding: 56px 0 32px;
	text-align: left;
}

body.luna footer.site-footer .widget-title {
	color: #f3e7d3;
	font-size: 19px;
	margin-bottom: 14px;
}

body.luna footer.site-footer ul {
	list-style: none;
	margin: 0;
	padding: 0;
}

body.luna footer.site-footer li,
body.luna footer.site-footer p {
	margin: 0 0 8px;
	font-size: 15px;
	color: #cfc5dc;
}

body.luna footer.site-footer a {
	color: #fbf5e9;
	text-decoration: none;
	overflow-wrap: anywhere;
}

body.luna footer.site-footer a:hover {
	color: #fff;
	text-decoration: underline;
}

body.luna footer.copyright {
	background: var(--luna-night);
	border-top: 1px solid rgba(251, 245, 233, 0.1);
	color: #a99fb8;
}

body.luna footer.copyright em,
body.luna footer.copyright p,
body.luna footer.copyright .textwidget {
	color: #a99fb8;
	font-size: 13px !important;
	line-height: 1.6;
	text-align: left;
}

body.luna footer.copyright center {
	text-align: left;
}

@media (max-width: 767px) {
	body.luna .below-content .col-full {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 20px 16px;
	}

	body.luna .below-content .widget-title {
		font-size: 17px;
	}

	body.luna footer.site-footer .col-full {
		display: grid;
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 8px 16px;
	}

	body.luna footer.site-footer .widget {
		width: auto;
		margin-bottom: 20px;
	}
}

/* Floating help button */
body.luna .call-back-feature a.trigger,
body.luna .floating-button a {
	background: var(--luna-ink);
	color: #fff;
	border-radius: 999px;
	box-shadow: var(--luna-shadow-lift);
}

/* ---------- Home (Elementor page with luna-* classes) ---------- */

body.luna-home {
	overflow-x: clip;
}

/* Sections run edge to edge; each one centres its own content. */
body.luna-home #content > .shoptimizer-archive > .col-full,
body.luna-home #content > .col-full {
	max-width: none;
	padding-left: 0;
	padding-right: 0;
}

body.luna-home .shoptimizer-archive .archive-header {
	display: none;
}

body.luna .e-con.luna-wrap > .e-con-inner,
body.luna .luna-wrap.e-con-boxed > .e-con-inner {
	max-width: var(--luna-wrap);
	padding-left: var(--luna-gutter);
	padding-right: var(--luna-gutter);
}

.luna-section {
	padding-top: var(--luna-section) !important;
	padding-bottom: var(--luna-section) !important;
}

body.luna .luna-lead p,
body.luna .luna-lead {
	color: var(--luna-ink-soft);
	font-size: clamp(17px, 1.6vw, 20px);
	line-height: 1.6;
	margin: 0;
	max-width: 58ch;
}

body.luna .luna-h2 .elementor-heading-title {
	font-size: clamp(2rem, 4vw, 3rem);
	line-height: 1.1;
}

body.luna .luna-h3 .elementor-heading-title {
	font-size: 22px;
	line-height: 1.25;
}

body.luna .luna-eyebrow-w p {
	margin: 0;
}

body.luna .luna-eyebrow-w p,
body.luna .luna-eyebrow-w .luna-eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	color: var(--luna-purple);
	font-size: 13px;
	font-weight: 600;
	letter-spacing: 0.14em;
	text-transform: uppercase;
}

body.luna .luna-eyebrow-w p::before {
	content: "";
	width: 22px;
	height: 1px;
	background: currentColor;
}

body.luna .luna-center {
	text-align: center;
	align-items: center;
}

body.luna .luna-center .luna-eyebrow-w p {
	justify-content: center;
}

/* Hero */
.luna-hero {
	padding-top: clamp(32px, 6vw, 72px) !important;
	padding-bottom: clamp(48px, 7vw, 96px) !important;
	background:
		radial-gradient(1200px 500px at 85% 10%, rgba(91, 60, 136, 0.09), transparent 60%),
		radial-gradient(900px 400px at 0% 100%, rgba(185, 56, 68, 0.06), transparent 60%),
		var(--luna-bg);
}

.luna-hero .luna-hero__title .elementor-heading-title {
	font-size: clamp(2.6rem, 6vw, 4.6rem);
	line-height: 1.02;
	letter-spacing: -0.02em;
}

.luna-hero .luna-hero__title .elementor-heading-title em {
	font-style: italic;
	color: var(--luna-purple);
}

.luna-hero__actions {
	gap: 12px !important;
}

.luna-hero__trust ul {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-wrap: wrap;
	gap: 10px 22px;
}

.luna-hero__trust li {
	margin: 0;
	display: inline-flex;
	align-items: center;
	gap: 8px;
	color: var(--luna-ink);
	font-size: 15px;
	font-weight: 500;
}

.luna-hero__trust li::before {
	content: "✦";
	color: var(--luna-gold);
	font-size: 12px;
}

.luna-hero__media img {
	width: 100%;
	max-width: 520px;
	aspect-ratio: 4 / 5;
	object-fit: cover;
	object-position: 50% 20%;
	border-radius: 999px 999px 28px 28px;
	box-shadow: 0 30px 60px -30px rgba(40, 31, 54, 0.55);
	outline: 1px solid rgba(154, 117, 53, 0.45);
	outline-offset: 10px;
}

.luna-hero__media .elementor-widget-container,
.luna-hero__media {
	text-align: center;
}

@media (max-width: 767px) {
	/* Phones: headline and button first, portrait after. */
	.luna-hero__media img {
		max-width: 280px;
		outline-offset: 7px;
	}

	.luna-hero .luna-hero__title .elementor-heading-title {
		font-size: 40px;
	}

	.luna-hero__actions .elementor-widget-button {
		width: 100%;
	}

	.luna-hero__actions .elementor-button {
		width: 100%;
	}
}

/* Category cards */
.luna-cat-card {
	background: var(--luna-paper);
	border: 1px solid var(--luna-line);
	border-radius: var(--luna-radius-lg) !important;
	box-shadow: var(--luna-shadow);
	overflow: hidden;
	padding: 0 !important;
	gap: 0 !important;
	text-decoration: none !important;
	transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.luna-cat-card:hover {
	transform: translateY(-4px);
	box-shadow: var(--luna-shadow-lift);
}

.luna-cat-card .elementor-widget-image img {
	width: 100%;
	aspect-ratio: 16 / 10;
	object-fit: cover;
	display: block;
}

.luna-cat-card .luna-cat-card__body {
	padding: 20px 22px 24px !important;
	gap: 6px !important;
}

.luna-cat-card .luna-cat-card__body p {
	color: var(--luna-ink-soft);
	font-size: 16px;
	margin: 0;
}

.luna-cat-card .luna-more p {
	margin-top: 8px;
	color: var(--luna-cta);
	font-weight: 600;
	font-size: 15px;
}

/* Steps on the home */
.luna-step {
	gap: 8px !important;
}

.luna-step .luna-step__n p {
	display: inline-grid;
	place-items: center;
	width: 44px;
	height: 44px;
	margin: 0;
	border-radius: 50%;
	border: 1px solid var(--luna-gold);
	color: var(--luna-gold);
	font-family: var(--luna-serif);
	font-size: 20px;
	font-weight: 600;
}

.luna-step p {
	color: var(--luna-ink-soft);
	margin: 0;
}

.luna-band {
	background: var(--luna-sand);
}

.luna-dark {
	background: var(--luna-night);
}

.luna-dark .elementor-heading-title,
.luna-dark h2,
.luna-dark h3 {
	color: #fbf5e9 !important;
}

.luna-dark p,
.luna-dark li {
	color: #d9cfe6 !important;
}

.luna-dark .luna-eyebrow-w p {
	color: #cdb7f0 !important;
}

/* About Luna */
.luna-about__media img {
	width: 100%;
	aspect-ratio: 1 / 1;
	object-fit: cover;
	border-radius: var(--luna-radius-lg);
	box-shadow: 0 30px 60px -32px rgba(0, 0, 0, 0.7);
}

.luna-about__quote p {
	font-family: var(--luna-serif) !important;
	font-size: clamp(20px, 2.2vw, 26px) !important;
	line-height: 1.45;
	font-style: italic;
	color: #fbf5e9 !important;
}

.luna-sign p {
	font-family: var(--luna-serif) !important;
	font-size: 22px !important;
	color: #f3e7d3 !important;
	margin: 0;
}

/* Promise tiles */
.luna-promise {
	background: var(--luna-paper);
	border: 1px solid var(--luna-line);
	border-radius: var(--luna-radius);
	padding: 22px !important;
	gap: 6px !important;
}

.luna-promise p {
	color: var(--luna-ink-soft);
	font-size: 15.5px;
	margin: 0;
}

/* FAQ */
.luna-faq {
	max-width: 780px;
	margin: 0 auto;
	border-top: 1px solid var(--luna-line-strong);
}

.luna-faq details {
	border-bottom: 1px solid var(--luna-line-strong);
}

.luna-faq summary {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	padding: 20px 4px;
	cursor: pointer;
	list-style: none;
	font-family: var(--luna-serif);
	font-size: 20px;
	font-weight: 600;
	color: var(--luna-ink);
}

.luna-faq summary::-webkit-details-marker {
	display: none;
}

.luna-faq summary::after {
	content: "+";
	flex: none;
	display: grid;
	place-items: center;
	width: 32px;
	height: 32px;
	border-radius: 50%;
	border: 1px solid var(--luna-line-strong);
	font-family: var(--luna-sans);
	font-size: 20px;
	font-weight: 400;
	transition: transform 0.2s ease;
}

.luna-faq details[open] summary::after {
	transform: rotate(45deg);
}

.luna-faq details p {
	margin: 0 4px 22px;
	color: var(--luna-ink-soft);
	font-size: 17px;
	max-width: 66ch;
}

/* Customer Help: questions line up with their group headings */
.luna-help .luna-faq {
	max-width: 820px;
	margin: 0;
}

.luna-help .luna-help-group {
	margin-top: 20px;
}

/* Final call to action */
.luna-cta-box {
	border-radius: 28px !important;
	background:
		radial-gradient(700px 300px at 90% 0%, rgba(205, 183, 240, 0.18), transparent 70%),
		var(--luna-night);
	padding: clamp(36px, 6vw, 72px) !important;
}

/* Best sellers shortcode inside Elementor */
.luna-home .elementor-widget-shortcode .woocommerce {
	width: 100%;
}

/* ---------- Preview flag (only rendered during the private preview) ---------- */

.luna-preview-flag {
	position: fixed;
	left: 12px;
	bottom: calc(12px + env(safe-area-inset-bottom));
	z-index: 99999;
	padding: 6px 12px;
	border-radius: 999px;
	background: var(--luna-purple);
	color: #fff;
	font: 600 12px/1.2 var(--luna-sans);
	letter-spacing: 0.08em;
	text-transform: uppercase;
	pointer-events: none;
}

@media (prefers-reduced-motion: reduce) {
	body.luna *,
	body.luna *::before,
	body.luna *::after {
		transition: none !important;
		animation: none !important;
	}
}

/* Empty cart */
body.luna.woocommerce-cart .cart-empty,
body.luna.woocommerce-cart .wc-empty-cart-message .cart-empty {
	display: block;
	margin: 24px auto 12px;
	padding: 48px 20px 8px;
	border: 0;
	background: transparent;
	box-shadow: none;
	color: var(--luna-ink);
	font-family: var(--luna-serif);
	font-size: clamp(24px, 4vw, 32px);
	font-weight: 600;
	text-align: center;
}

body.luna.woocommerce-cart .cart-empty::before {
	display: none;
}

body.luna.woocommerce-cart .wc-empty-cart-message {
	min-height: 0;
	background: transparent;
	border: 0;
	box-shadow: none;
}

body.luna.woocommerce-cart .return-to-shop {
	margin: 0 0 56px;
	text-align: center;
}

/* Review form (opened from the review request email) */
body.luna #review_form_wrapper {
	margin-top: 20px;
	padding: 22px;
	border: 1px solid var(--luna-line);
	border-radius: var(--luna-radius-lg);
	background: var(--luna-paper);
	box-shadow: var(--luna-shadow);
}

body.luna #review_form .comment-reply-title {
	display: block;
	margin-bottom: 12px;
	font-family: var(--luna-serif);
	font-size: 22px;
	font-weight: 600;
}

body.luna #review_form input[type="text"],
body.luna #review_form input[type="email"],
body.luna #review_form textarea,
body.luna #review_form select {
	width: 100%;
	min-height: 48px;
	padding: 12px 14px;
	border: 1.5px solid var(--luna-line-strong);
	border-radius: 10px;
	background: #fff;
	font-size: 16px;
}

body.luna #review_form .stars a {
	color: var(--luna-gold);
}

body.luna #review_form .form-submit input[type="submit"] {
	min-height: 52px;
	padding: 0 28px;
	border: 0;
	border-radius: 999px;
	background: var(--luna-cta);
	color: #fff;
	font-weight: 600;
}

@media (max-width: 782px) {
	body.admin-bar .luna-header {
		top: 0;
	}
}

@media (max-width: 767px) {
	.luna-preview-flag {
		top: calc(8px + env(safe-area-inset-top));
		bottom: auto;
		left: auto;
		right: 8px;
	}
}

/* Phones: stretch the product column so the gallery is exactly screen wide.
   With align-items:start the gallery sized to its own slides and Swiper grew
   it to thousands of pixels after the first tap. */
@media (max-width: 767px) {
	body.luna.single-product .product-details-wrapper {
		align-items: stretch;
	}

	body.luna.single-product .product-details-wrapper > .images {
		width: auto !important;
		min-width: 0;
	}
}
