/*
Theme Name: Love the Cosmos
Theme URI: https://lovethecosmos.com
Author: Koning Base LLC
Description: A dusk-sky storefront theme for Love the Cosmos. WooCommerce ready, with company details, homepage sections and FAQs editable in Appearance → Customize.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: cosmos
Tags: e-commerce, one-column, custom-menu, custom-logo, featured-images, theme-options, translation-ready
*/

/* ---------- Tokens ---------- */
:root {
	--night: #0a0c18;
	--night-2: #11142a;
	--night-3: #1a1e3a;
	--ink: #ece8f4;
	--muted: #a19db8;
	--moon: #f2e4c6;
	--glow: #f4c47a;
	--glow-soft: rgba(244, 196, 122, 0.16);
	--line: rgba(236, 232, 244, 0.09);
	--paper: #f5f0e7;
	--paper-ink: #1b1a2b;
	--paper-muted: #5f5b70;
	--radius: 18px;
	--radius-sm: 10px;
	--wrap: 1200px;
	--font-display: "Fraunces", Georgia, "Times New Roman", serif;
	--font-body: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
	--ease: cubic-bezier(.2, .7, .2, 1);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; overflow-x: clip; }
body { overflow-x: clip; }
body {
	margin: 0;
	background: var(--night);
	color: var(--ink);
	font-family: var(--font-body);
	font-size: 17px;
	line-height: 1.65;
	-webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--glow); text-decoration: none; transition: color .2s var(--ease); }
a:hover { color: var(--moon); }
h1, h2, h3, h4 {
	font-family: var(--font-display);
	font-weight: 400;
	line-height: 1.1;
	letter-spacing: -0.01em;
	margin: 0 0 .5em;
	color: var(--moon);
}
h1 { font-size: clamp(2.6rem, 6vw, 5rem); }
h2 { font-size: clamp(2rem, 4vw, 3.2rem); }
h3 { font-size: clamp(1.35rem, 2vw, 1.7rem); }
p { margin: 0 0 1.1em; }
em, .italic { font-style: italic; }
:focus-visible { outline: 2px solid var(--glow); outline-offset: 3px; border-radius: 4px; }

.screen-reader-text {
	position: absolute !important; width: 1px; height: 1px; overflow: hidden;
	clip: rect(1px, 1px, 1px, 1px); white-space: nowrap;
}
.skip-link:focus {
	clip: auto; width: auto; height: auto; z-index: 1000;
	top: 12px; left: 12px; padding: 10px 16px; background: var(--moon); color: var(--night);
}

.wrap { width: min(var(--wrap), 100% - 48px); margin-inline: auto; }
.eyebrow {
	display: inline-flex; align-items: center; gap: .6em;
	font-size: .78rem; font-weight: 700; letter-spacing: .22em; text-transform: uppercase;
	color: var(--glow); margin-bottom: 1.2rem;
}
.eyebrow::before { content: ""; width: 26px; height: 1px; background: currentColor; }
.lede { font-size: 1.12rem; color: var(--muted); max-width: 58ch; }

/* ---------- Buttons ---------- */
.btn, .button, button.button, input[type="submit"], .wp-block-button__link,
.woocommerce a.button, .woocommerce button.button, .woocommerce input.button {
	display: inline-flex; align-items: center; justify-content: center; gap: .5em;
	padding: .95em 1.7em;
	border-radius: 999px;
	border: 1px solid transparent;
	background: var(--moon);
	color: var(--night);
	font: 700 .86rem/1 var(--font-body);
	letter-spacing: .08em; text-transform: uppercase;
	cursor: pointer;
	transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s var(--ease), color .25s;
}
.btn:hover, .button:hover, input[type="submit"]:hover,
.woocommerce a.button:hover, .woocommerce button.button:hover {
	background: var(--glow); color: var(--night);
	transform: translateY(-2px);
	box-shadow: 0 10px 30px -8px rgba(244, 196, 122, .55);
}
.btn--ghost { background: transparent; color: var(--moon); border-color: rgba(242, 228, 198, .4); }
.btn--ghost:hover { background: rgba(242, 228, 198, .08); color: var(--moon); box-shadow: none; }
.btn--dark { background: var(--paper-ink); color: var(--paper); }
.btn--dark:hover { background: var(--night-3); color: var(--moon); }

/* ---------- Announcement bar ---------- */
.announce {
	background: linear-gradient(90deg, #1c1736, #2a1f3d 50%, #1c1736);
	color: var(--moon);
	text-align: center;
	font-size: .82rem; letter-spacing: .04em;
	padding: .6em 1em;
}
.announce strong { color: var(--glow); font-weight: 700; }
.announce code {
	font-family: inherit; font-weight: 800; letter-spacing: .12em;
	padding: .15em .55em; border: 1px dashed rgba(244,196,122,.6); border-radius: 6px; color: var(--glow);
}

/* ---------- Header ---------- */
.site-header {
	position: sticky; top: 0; z-index: 50;
	background: rgba(10, 12, 24, .72);
	backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
	border-bottom: 1px solid var(--line);
}
.admin-bar .site-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .site-header { top: 46px; } }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 76px; }
.brand { display: flex; align-items: center; gap: 12px; color: var(--moon); }
.brand:hover { color: var(--moon); }
.brand__mark {
	width: 30px; height: 30px; border-radius: 50%;
	background: radial-gradient(circle at 35% 35%, #fff8e6, var(--moon) 45%, #c9b48d 100%);
	box-shadow: 0 0 22px 2px rgba(244, 196, 122, .45);
	position: relative; overflow: hidden; flex: none;
}
.brand__name { font-family: var(--font-display); font-size: 1.4rem; letter-spacing: .1em; text-transform: uppercase; white-space: nowrap; }
@media (max-width: 420px) { .brand__name { font-size: 1.1rem; letter-spacing: .06em; } }
.custom-logo { max-height: 46px; width: auto; }

.primary-nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 34px; }
.primary-nav a {
	color: var(--ink); font-size: .84rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
	position: relative; padding: 6px 0;
}
.primary-nav a::after {
	content: ""; position: absolute; left: 0; right: 100%; bottom: 0; height: 1px; background: var(--glow);
	transition: right .3s var(--ease);
}
.primary-nav a:hover, .primary-nav .current-menu-item > a { color: var(--moon); }
.primary-nav a:hover::after, .primary-nav .current-menu-item > a::after { right: 0; }
.primary-nav .sub-menu { display: none; }

.header-actions { display: flex; align-items: center; gap: 10px; }
.icon-btn {
	position: relative; display: inline-grid; place-items: center;
	width: 44px; height: 44px; border-radius: 50%;
	border: 1px solid var(--line); background: transparent; color: var(--ink); cursor: pointer;
	transition: border-color .2s, background .2s;
}
.icon-btn:hover { border-color: rgba(244,196,122,.5); background: rgba(255,255,255,.03); color: var(--moon); }
.icon-btn svg { width: 19px; height: 19px; }
.cart-count {
	position: absolute; top: -3px; right: -3px; min-width: 19px; height: 19px; padding: 0 5px;
	border-radius: 999px; background: var(--glow); color: var(--night);
	font-size: .68rem; font-weight: 800; display: grid; place-items: center;
}
.nav-toggle { display: none; }

@media (max-width: 900px) {
	.nav-toggle { display: inline-grid; }
	.primary-nav {
		position: fixed; inset: 0 0 0 auto; width: min(340px, 86vw);
		background: var(--night-2); border-left: 1px solid var(--line);
		padding: 110px 34px 40px; opacity: 0; visibility: hidden; transform: translateY(-10px);
		transition: opacity .3s var(--ease), transform .4s var(--ease), visibility 0s linear .4s; z-index: 60;
	}
	body.nav-open .primary-nav { opacity: 1; visibility: visible; transition: opacity .3s var(--ease), transform .4s var(--ease); }
	.primary-nav ul { flex-direction: column; gap: 22px; }
	.primary-nav a { font-size: 1rem; }
	body.nav-open .primary-nav { transform: none; }
	body.nav-open::after {
		content: ""; position: fixed; inset: 0; background: rgba(0,0,0,.5); z-index: 55;
	}
	.nav-toggle { position: relative; z-index: 70; }
}

/* ---------- Starfield ---------- */
.starfield { position: absolute; inset: 0; overflow: hidden; pointer-events: none; }
.starfield span {
	position: absolute; border-radius: 50%; background: #fff;
	animation: twinkle var(--d, 4s) ease-in-out infinite; animation-delay: var(--delay, 0s);
}
@keyframes twinkle { 0%, 100% { opacity: var(--o, .7); } 50% { opacity: .12; } }
@media (prefers-reduced-motion: reduce) {
	.starfield span, .moon-orb, .reveal { animation: none !important; transition: none !important; }
	.reveal { opacity: 1 !important; transform: none !important; }
}

/* ---------- Hero ---------- */
.hero {
	position: relative; overflow: hidden;
	min-height: min(92vh, 860px);
	display: grid; align-items: center;
	background:
		radial-gradient(1200px 600px at 78% 40%, rgba(84, 70, 160, .28), transparent 60%),
		radial-gradient(900px 500px at 10% 100%, rgba(40, 90, 150, .22), transparent 60%),
		linear-gradient(180deg, #070912 0%, var(--night) 100%);
	padding: 80px 0 100px;
}
.hero.has-image { background-size: cover; background-position: center; }
.hero.has-image::before {
	content: ""; position: absolute; inset: 0;
	background: linear-gradient(90deg, rgba(10,12,24,.92) 0%, rgba(10,12,24,.55) 55%, rgba(10,12,24,.25) 100%);
}
.hero .wrap { position: relative; z-index: 2; display: grid; grid-template-columns: 1.05fr .95fr; gap: 40px; align-items: center; }
.hero h1 { margin-bottom: .35em; }
.hero h1 em { color: var(--glow); }
.hero .lede { font-size: 1.2rem; margin-bottom: 2.2rem; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 14px; }
.hero__visual { position: relative; aspect-ratio: 1; display: grid; place-items: center; }
.hero__visual::before {
	content: ""; position: absolute; inset: -20%; border-radius: 50%; pointer-events: none;
	background: radial-gradient(circle, rgba(140, 110, 220, .16) 0%, rgba(140, 110, 220, .06) 40%, transparent 68%);
}

.moon-orb {
	width: 78%; aspect-ratio: 1; border-radius: 50%; position: relative;
	background:
		radial-gradient(circle at 30% 28%, rgba(255,255,255,.55), transparent 22%),
		radial-gradient(circle at 62% 58%, rgba(150,130,100,.35) 0 7%, transparent 8%),
		radial-gradient(circle at 38% 66%, rgba(150,130,100,.28) 0 5%, transparent 6%),
		radial-gradient(circle at 70% 30%, rgba(150,130,100,.25) 0 4%, transparent 5%),
		radial-gradient(circle at 48% 40%, rgba(150,130,100,.22) 0 9%, transparent 10%),
		radial-gradient(circle at 25% 48%, rgba(150,130,100,.2) 0 3%, transparent 4%),
		radial-gradient(circle at 40% 38%, #fff6df 0%, #f1dfb8 40%, #d6bd8e 75%, #a88f66 100%);
	box-shadow:
		0 0 60px 10px rgba(244, 196, 122, .35),
		0 0 140px 30px rgba(244, 196, 122, .16),
		inset -30px -40px 80px rgba(80, 55, 30, .45);
	animation: float 9s ease-in-out infinite;
}
.hero__visual img.moon-orb { object-fit: cover; background: none; }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-14px); } }
.orbit {
	position: absolute; inset: 2%; border-radius: 50%; border: 1px solid rgba(242,228,198,.12);
	transform: rotateX(70deg) rotateZ(-18deg);
}
.orbit::after {
	content: ""; position: absolute; top: 50%; left: -5px; width: 10px; height: 10px; border-radius: 50%;
	background: var(--glow); box-shadow: 0 0 14px 3px rgba(244,196,122,.7);
}

@media (max-width: 900px) {
	.hero { min-height: auto; padding: 60px 0 70px; }
	.hero .wrap { grid-template-columns: 1fr; text-align: center; }
	.hero .lede { margin-inline: auto; }
	.hero .eyebrow { justify-content: center; }
	.hero__ctas { justify-content: center; }
	.hero__visual { width: 100%; max-width: 300px; margin: 0 auto; order: -1; }
}

/* ---------- Perks strip ---------- */
.perks { border-block: 1px solid var(--line); background: var(--night-2); }
.perks .wrap { display: grid; grid-template-columns: repeat(4, 1fr); }
.perk { display: flex; gap: 14px; align-items: center; padding: 26px 20px; border-left: 1px solid var(--line); }
.perk:first-child { border-left: 0; }
.perk svg { width: 28px; height: 28px; color: var(--glow); flex: none; }
.perk strong { display: block; color: var(--moon); font-size: .95rem; }
.perk span { font-size: .84rem; color: var(--muted); }
@media (max-width: 900px) {
	.perks .wrap { grid-template-columns: 1fr 1fr; }
	.perk:nth-child(3) { border-left: 0; }
	.perk:nth-child(n+3) { border-top: 1px solid var(--line); }
}
@media (max-width: 520px) {
	.perks .wrap { grid-template-columns: 1fr; }
	.perk { border-left: 0; border-top: 1px solid var(--line); }
	.perk:first-child { border-top: 0; }
}

/* ---------- Sections ---------- */
.section { padding: clamp(72px, 10vw, 130px) 0; position: relative; }
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 30px; margin-bottom: 54px; flex-wrap: wrap; }
.section-head h2 { margin: 0; max-width: 16ch; }
.section-head .lede { margin: 0; }
.section-head--center { flex-direction: column; align-items: center; text-align: center; }
.section-head--center h2 { max-width: 20ch; }

/* ---------- Product grid (front page + shop) ---------- */
.product-grid,
.woocommerce ul.products {
	display: grid !important; grid-template-columns: repeat(3, 1fr); gap: 28px;
	list-style: none; margin: 0; padding: 0;
}
.woocommerce ul.products::before, .woocommerce ul.products::after { display: none !important; }
.woocommerce ul.products li.product, .product-card {
	width: auto !important; margin: 0 !important; float: none !important;
	background: linear-gradient(180deg, var(--night-2), #0d1022);
	border: 1px solid var(--line); border-radius: var(--radius);
	padding: 14px 14px 22px; position: relative; overflow: hidden;
	transition: transform .35s var(--ease), border-color .35s, box-shadow .35s;
	display: flex; flex-direction: column;
}
.woocommerce ul.products li.product:hover, .product-card:hover {
	transform: translateY(-6px);
	border-color: rgba(244,196,122,.35);
	box-shadow: 0 30px 60px -30px rgba(244,196,122,.35);
}
.woocommerce ul.products li.product a img, .product-card__media {
	border-radius: 12px; margin: 0 0 18px !important; aspect-ratio: 1; object-fit: cover; width: 100%;
	background: radial-gradient(circle at 50% 45%, #1f2347, #0c0f20);
}
.product-card__media { display: grid; place-items: center; overflow: hidden; }
.product-card__media .planet { width: 55%; }
.product-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.product-card:hover .product-card__media img { transform: scale(1.04); }
.woocommerce ul.products li.product .woocommerce-loop-product__title, .product-card h3 {
	font-family: var(--font-display); font-size: 1.3rem !important; color: var(--moon);
	padding: 0 6px !important; margin: 0 0 6px;
}
.woocommerce ul.products li.product .price, .product-card .price {
	color: var(--glow) !important; font-weight: 700; font-size: 1rem !important; padding: 0 6px; margin-bottom: 16px !important;
	display: block;
}
.woocommerce ul.products li.product .button, .product-card .btn {
	margin: auto 6px 0 !important; align-self: flex-start;
	background: transparent; color: var(--moon); border: 1px solid rgba(242,228,198,.3);
	padding: .8em 1.3em;
}
.woocommerce ul.products li.product .button:hover, .product-card .btn:hover {
	background: var(--moon); color: var(--night);
}
.woocommerce ul.products li.product .added_to_cart { padding: 8px 6px 0; font-size: .85rem; }
.woocommerce span.onsale {
	background: var(--glow); color: var(--night); min-height: 0; min-width: 0; line-height: 1;
	padding: .55em .9em; border-radius: 999px; top: 24px; left: 24px; right: auto; margin: 0; font-weight: 800;
	font-size: .72rem; letter-spacing: .1em; text-transform: uppercase;
}
@media (max-width: 980px) { .product-grid, .woocommerce ul.products { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .product-grid, .woocommerce ul.products { grid-template-columns: 1fr; } }
.center-cta { text-align: center; margin-top: 54px; }

/* CSS planets (placeholders when no product image) */
.planet { aspect-ratio: 1; border-radius: 50%; position: relative; }
.planet--moon {
	background: radial-gradient(circle at 60% 60%, rgba(150,130,100,.35) 0 8%, transparent 9%),
		radial-gradient(circle at 35% 62%, rgba(150,130,100,.3) 0 6%, transparent 7%),
		radial-gradient(circle at 40% 38%, #fff6df, #e8d3a8 55%, #a88f66);
	box-shadow: 0 0 50px 8px rgba(244,196,122,.35);
}
.planet--jupiter {
	background: linear-gradient(175deg, #e9c79c 0 14%, #b77d52 14% 22%, #f0dcc0 22% 34%, #c48c60 34% 44%, #ead1ae 44% 58%, #a96b45 58% 66%, #e6c9a3 66% 80%, #bd8a63 80%);
	box-shadow: 0 0 50px 8px rgba(233,160,100,.3), inset -18px -18px 40px rgba(40,20,10,.5);
}
.planet--saturn {
	background: radial-gradient(circle at 38% 36%, #fbe9c4, #dcb97f 60%, #9b7a48);
	box-shadow: 0 0 50px 8px rgba(244,196,122,.28), inset -14px -14px 30px rgba(40,25,10,.45);
}
.planet--saturn::after {
	content: ""; position: absolute; inset: 38% -38%; border-radius: 50%;
	border: 6px solid rgba(232, 205, 160, .75); border-top-color: transparent; transform: rotate(-16deg);
}
.planet--stars {
	background: radial-gradient(circle at 50% 50%, #2b2f6b, #121533 70%);
	box-shadow: 0 0 50px 8px rgba(120,110,230,.35);
}
.planet--stars::before {
	content: ""; position: absolute; inset: 0; border-radius: 50%;
	background-image: radial-gradient(#fff 1px, transparent 1.5px), radial-gradient(#f4c47a 1px, transparent 1.5px);
	background-size: 22px 22px, 31px 31px; background-position: 0 0, 11px 7px; opacity: .8;
}

/* ---------- Spotlight (alternating feature rows) ---------- */
.spotlight { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 90px); align-items: center; }
.spotlight + .spotlight { margin-top: clamp(80px, 10vw, 140px); }
.spotlight--flip .spotlight__media { order: 2; }
.spotlight__media {
	position: relative; border-radius: 28px; overflow: hidden; aspect-ratio: 4/5;
	background: radial-gradient(circle at 50% 42%, #262a57, #0d1022 70%);
	border: 1px solid var(--line);
	display: grid; place-items: center;
}
.spotlight__media img { width: 100%; height: 100%; object-fit: cover; }
.spotlight__media .planet { width: 52%; }
.spotlight__media .starfield span { opacity: .6; }
.spotlight__price {
	position: absolute; left: 20px; bottom: 20px;
	background: rgba(10,12,24,.75); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
	border: 1px solid var(--line); border-radius: 999px; padding: .55em 1.1em;
	color: var(--moon); font-weight: 700; font-size: .95rem;
}
.spotlight__body h2 { margin-bottom: .45em; }
.spotlight__body .product-name { font-family: var(--font-display); font-style: italic; color: var(--glow); font-size: 1.2rem; margin-bottom: 1rem; display: block; }
.feature-list { list-style: none; margin: 1.6rem 0 2.2rem; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 12px 24px; }
.feature-list li { display: flex; gap: 10px; align-items: flex-start; font-size: .95rem; color: var(--ink); }
.feature-list li::before {
	content: ""; flex: none; width: 8px; height: 8px; margin-top: .6em; border-radius: 50%;
	background: var(--glow); box-shadow: 0 0 10px 2px rgba(244,196,122,.6);
}
@media (max-width: 900px) {
	.spotlight { grid-template-columns: 1fr; }
	.spotlight--flip .spotlight__media { order: 0; }
	.spotlight__media { aspect-ratio: 4/3; }
	.feature-list { grid-template-columns: 1fr; }
}

/* ---------- Gift band (light section) ---------- */
.gift {
	background: var(--paper); color: var(--paper-ink);
	border-radius: 32px; margin: 0 auto; overflow: hidden; position: relative;
}
.gift .gift__inner { display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; padding: clamp(40px, 6vw, 80px); align-items: center; }
.gift h2 { color: var(--paper-ink); }
.gift h2 em { color: #a8742c; }
.gift .eyebrow { color: #a8742c; }
.gift p { color: var(--paper-muted); }
.gift__occasions { display: flex; flex-wrap: wrap; gap: 10px; margin: 1.5rem 0 2rem; padding: 0; list-style: none; }
.gift__occasions li {
	padding: .5em 1em; border-radius: 999px; border: 1px solid rgba(27,26,43,.15);
	font-size: .85rem; font-weight: 600; color: var(--paper-ink); background: rgba(255,255,255,.55);
}
.gift__art { position: relative; aspect-ratio: 1; display: grid; place-items: center; }
.gift__art .planet { width: 62%; }
.gift__art .ring {
	position: absolute; inset: 6%; border-radius: 50%; border: 1px dashed rgba(168,116,44,.35);
}
.gift__art .ring:nth-child(2) { inset: 18%; border-style: solid; border-color: rgba(168,116,44,.2); }
@media (max-width: 900px) { .gift .gift__inner { grid-template-columns: 1fr; } .gift__art { width: 100%; max-width: 300px; margin: 0 auto; } }

/* ---------- FAQ ---------- */
.faq { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(40px, 6vw, 90px); }
.faq__list { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
	list-style: none; cursor: pointer; padding: 26px 50px 26px 0; position: relative;
	font-family: var(--font-display); font-size: 1.35rem; color: var(--moon);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
	content: ""; position: absolute; right: 8px; top: 50%; width: 14px; height: 14px; margin-top: -7px;
	background:
		linear-gradient(var(--glow), var(--glow)) center / 14px 1.5px no-repeat,
		linear-gradient(var(--glow), var(--glow)) center / 1.5px 14px no-repeat;
	transition: transform .3s var(--ease);
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details > div { padding: 0 40px 26px 0; color: var(--muted); }
.faq__contact {
	margin-top: 2rem; padding: 26px; border-radius: var(--radius); border: 1px solid var(--line); background: var(--night-2);
}
.faq__contact strong { display: block; color: var(--moon); margin-bottom: .3em; }
@media (max-width: 900px) { .faq { grid-template-columns: 1fr; } }

/* ---------- Closing CTA ---------- */
.closing {
	text-align: center; position: relative; overflow: hidden;
	background: radial-gradient(700px 360px at 50% 100%, rgba(244,196,122,.16), transparent 70%);
}
.closing h2 { max-width: 18ch; margin-inline: auto; }
.closing .lede { margin: 0 auto 2.2rem; }

/* ---------- Footer ---------- */
.site-footer { background: #070913; border-top: 1px solid var(--line); padding: 80px 0 30px; font-size: .93rem; color: var(--muted); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.1fr; gap: 40px; }
.footer-grid h4 {
	font-family: var(--font-body); font-size: .76rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase;
	color: var(--moon); margin-bottom: 1.2em;
}
.footer-grid ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.footer-grid a { color: var(--muted); }
.footer-grid a:hover { color: var(--moon); }
.footer-brand p { max-width: 32ch; margin-top: 1rem; }
.footer-contact li { display: flex; gap: 10px; }
.footer-contact svg { width: 16px; height: 16px; margin-top: .3em; color: var(--glow); flex: none; }
.socials { display: flex; gap: 10px; margin-top: 1.2rem; }
.socials .icon-btn { width: 40px; height: 40px; }
.socials svg { width: 17px; height: 17px; }
.footer-bottom {
	margin-top: 60px; padding-top: 24px; border-top: 1px solid var(--line);
	display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; font-size: .82rem;
}
.payment-note { letter-spacing: .08em; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }

/* ---------- Generic pages / blog ---------- */
.page-hero {
	padding: 90px 0 60px; text-align: center; position: relative; overflow: hidden;
	background: radial-gradient(800px 300px at 50% 0%, rgba(84,70,160,.25), transparent 70%);
	border-bottom: 1px solid var(--line);
}
.page-hero h1 { font-size: clamp(2.2rem, 5vw, 3.8rem); margin: 0; }
.page-hero p { color: var(--muted); margin: 1rem auto 0; max-width: 60ch; }
.content-area { padding: 70px 0 110px; }
.entry-content { max-width: 760px; margin: 0 auto; }
.entry-content h2 { font-size: 2rem; margin-top: 1.6em; }
.entry-content h3 { margin-top: 1.4em; }
.entry-content ul, .entry-content ol { padding-left: 1.3em; }
.entry-content li { margin-bottom: .4em; }
.entry-content blockquote {
	margin: 2em 0; padding: 1em 1.5em; border-left: 2px solid var(--glow);
	font-family: var(--font-display); font-size: 1.4rem; color: var(--moon);
}
.entry-content table { width: 100%; border-collapse: collapse; margin: 1.5em 0; }
.entry-content th, .entry-content td { border: 1px solid var(--line); padding: .7em 1em; text-align: left; }
.entry-content img { border-radius: var(--radius-sm); }
.alignwide { width: min(1100px, 100vw - 48px); margin-left: 50%; transform: translateX(-50%); max-width: none; }
.alignfull { width: 100vw; margin-left: 50%; transform: translateX(-50%); max-width: none; }

.post-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.post-card { background: var(--night-2); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.post-card img { aspect-ratio: 16/10; object-fit: cover; width: 100%; }
.post-card__body { padding: 22px 24px 26px; }
.post-card h2 { font-size: 1.4rem; }
.post-card time { font-size: .8rem; color: var(--muted); letter-spacing: .1em; text-transform: uppercase; }
@media (max-width: 900px) { .post-list { grid-template-columns: 1fr; } }
.pagination, .woocommerce nav.woocommerce-pagination { margin-top: 50px; text-align: center; }
.pagination .page-numbers, .woocommerce nav.woocommerce-pagination ul li a, .woocommerce nav.woocommerce-pagination ul li span {
	display: inline-grid; place-items: center; min-width: 42px; height: 42px; margin: 0 3px; padding: 0 10px;
	border-radius: 999px; border: 1px solid var(--line) !important; color: var(--ink); background: transparent;
}
.woocommerce nav.woocommerce-pagination ul { border: 0 !important; }
.woocommerce nav.woocommerce-pagination ul li { border: 0 !important; }
.pagination .current, .woocommerce nav.woocommerce-pagination ul li span.current { background: var(--moon); color: var(--night); }

/* ---------- Forms ---------- */
input[type="text"], input[type="email"], input[type="tel"], input[type="search"], input[type="number"],
input[type="password"], input[type="url"], textarea, select,
.woocommerce form .form-row .input-text, .woocommerce form .form-row select, .select2-container .select2-selection {
	width: 100%; padding: .85em 1.1em; border-radius: var(--radius-sm);
	border: 1px solid rgba(236,232,244,.16); background: rgba(255,255,255,.03); color: var(--ink);
	font: inherit; font-size: .98rem;
}
.select2-container .select2-selection { height: auto !important; }
.select2-container--default .select2-selection--single .select2-selection__rendered { color: var(--ink); line-height: 1.5; padding: 0; }
.select2-dropdown { background: var(--night-2); color: var(--ink); border-color: var(--line); }
input:focus, textarea:focus, select:focus { outline: none; border-color: var(--glow); box-shadow: 0 0 0 3px var(--glow-soft); }
label { font-size: .9rem; font-weight: 600; color: var(--moon); }
.search-form { display: flex; gap: 10px; max-width: 480px; margin: 0 auto; }

/* ---------- WooCommerce: general ---------- */
.woocommerce-page .content-area .wrap { max-width: var(--wrap); }
.woocommerce .woocommerce-breadcrumb { color: var(--muted); font-size: .85rem; margin-bottom: 30px; }
.woocommerce .woocommerce-breadcrumb a { color: var(--muted); }
.woocommerce .woocommerce-result-count { color: var(--muted); font-size: .9rem; }
.woocommerce .woocommerce-ordering select { width: auto; }
.woocommerce-message, .woocommerce-info, .woocommerce-error, .woocommerce-noreviews, p.no-comments {
	background: var(--night-2) !important; color: var(--ink) !important;
	border: 1px solid var(--line) !important; border-top: 2px solid var(--glow) !important; border-radius: var(--radius-sm);
}
.woocommerce-message::before, .woocommerce-info::before { color: var(--glow) !important; }
.woocommerce-error { border-top-color: #e57373 !important; }

/* Single product */
.woocommerce div.product { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(30px, 5vw, 70px); }
.woocommerce div.product div.images, .woocommerce div.product div.summary { width: 100% !important; float: none !important; margin: 0 !important; }
.woocommerce div.product div.images img { border-radius: var(--radius); background: var(--night-2); }
.woocommerce div.product div.images .flex-control-thumbs li img { border-radius: 8px; margin-top: 10px; opacity: .6; }
.woocommerce div.product div.images .flex-control-thumbs li img.flex-active { opacity: 1; }
.woocommerce div.product .product_title { font-size: clamp(2rem, 4vw, 3rem); }
.woocommerce div.product p.price, .woocommerce div.product span.price { color: var(--glow) !important; font-size: 1.6rem !important; font-weight: 700; }
.woocommerce div.product .woocommerce-product-details__short-description { color: var(--muted); }
.woocommerce div.product form.cart { display: flex; gap: 12px; align-items: stretch; flex-wrap: wrap; margin: 2rem 0 !important; }
.woocommerce div.product form.cart div.quantity { margin: 0 !important; }
.woocommerce .quantity .qty { width: 80px; height: 100%; text-align: center; border-radius: 999px; }
.woocommerce div.product form.cart .button { flex: 1; min-width: 200px; padding-block: 1.1em; }
.woocommerce div.product .product_meta { font-size: .85rem; color: var(--muted); border-top: 1px solid var(--line); padding-top: 18px; }
.woocommerce div.product .woocommerce-tabs { grid-column: 1 / -1; }
.woocommerce div.product .woocommerce-tabs ul.tabs { padding: 0 !important; margin: 0 0 30px !important; border-bottom: 1px solid var(--line); }
.woocommerce div.product .woocommerce-tabs ul.tabs::before { display: none; }
.woocommerce div.product .woocommerce-tabs ul.tabs li {
	background: transparent !important; border: 0 !important; border-radius: 0 !important; margin: 0 24px 0 0 !important; padding: 0 !important;
}
.woocommerce div.product .woocommerce-tabs ul.tabs li::before, .woocommerce div.product .woocommerce-tabs ul.tabs li::after { display: none; }
.woocommerce div.product .woocommerce-tabs ul.tabs li a { color: var(--muted) !important; padding: 14px 0 !important; font-weight: 600; }
.woocommerce div.product .woocommerce-tabs ul.tabs li.active a { color: var(--moon) !important; box-shadow: inset 0 -2px 0 var(--glow); }
.woocommerce div.product .woocommerce-tabs .panel { max-width: 760px; }
.woocommerce div.product .related, .woocommerce div.product .upsells { grid-column: 1 / -1; margin-top: 60px; }
.woocommerce div.product .related > h2, .woocommerce div.product .upsells > h2 { font-size: 2.2rem; margin-bottom: 30px; }
@media (max-width: 900px) { .woocommerce div.product { grid-template-columns: 1fr; } }

/* Cart & checkout */
.woocommerce table.shop_table { border: 1px solid var(--line) !important; border-radius: var(--radius) !important; overflow: hidden; border-collapse: separate !important; }
.woocommerce table.shop_table th, .woocommerce table.shop_table td { border-color: var(--line) !important; padding: 16px 18px !important; }
.woocommerce table.shop_table th { color: var(--moon); font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; }
.woocommerce table.shop_table img { width: 70px !important; border-radius: 8px; }
.woocommerce a.remove { color: var(--muted) !important; }
.woocommerce a.remove:hover { background: var(--glow) !important; color: var(--night) !important; }
.woocommerce .cart-collaterals .cart_totals, .woocommerce-checkout #order_review, .woocommerce-checkout-review-order {
	background: var(--night-2); border-radius: var(--radius); padding: 10px;
}
.woocommerce-checkout #payment { background: var(--night-2) !important; border-radius: var(--radius) !important; }
.woocommerce-checkout #payment div.payment_box { background: var(--night-3) !important; color: var(--ink) !important; }
.woocommerce-checkout #payment div.payment_box::before { border-bottom-color: var(--night-3) !important; }
.woocommerce-checkout #payment ul.payment_methods { border-color: var(--line) !important; }
.woocommerce .coupon .input-text { width: 180px !important; }
.woocommerce #respond input#submit.alt, .woocommerce a.button.alt, .woocommerce button.button.alt, .woocommerce input.button.alt {
	background: var(--glow) !important; color: var(--night) !important;
}
.woocommerce-account .woocommerce-MyAccount-navigation ul { list-style: none; padding: 0; }
.woocommerce-account .woocommerce-MyAccount-navigation li a { display: block; padding: 10px 0; border-bottom: 1px solid var(--line); color: var(--ink); }
.woocommerce-account .woocommerce-MyAccount-navigation li.is-active a { color: var(--glow); }
.woocommerce .star-rating span::before, .woocommerce p.stars a { color: var(--glow); }
.woocommerce form.checkout_coupon, .woocommerce form.login, .woocommerce form.register { border-color: var(--line) !important; border-radius: var(--radius) !important; }

/* Block-based cart/checkout */
.wc-block-components-button:not(.is-link) { background: var(--moon) !important; color: var(--night) !important; border-radius: 999px !important; }
.wc-block-components-totals-wrapper, .wc-block-components-panel, .wc-block-cart-items, .wc-block-components-sidebar { border-color: var(--line) !important; }
.wc-block-components-text-input input, .wc-block-components-combobox input { background: rgba(255,255,255,.03) !important; color: var(--ink) !important; }
.wc-block-components-text-input label, .wc-block-components-combobox label { color: var(--muted) !important; }

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

/* ---------- Store / policy pages ---------- */
.policy-updated { font-size: .82rem; letter-spacing: .14em; text-transform: uppercase; color: var(--glow); margin-bottom: 2.2em; }
.entry-content .lead-in { font-family: var(--font-display); font-size: 1.45rem; line-height: 1.45; color: var(--moon); margin-bottom: 1.4em; }
.page-template-default .entry-content h2 { font-size: 1.6rem; margin-top: 2.2em; padding-top: 1.2em; border-top: 1px solid var(--line); }
.page-template-default .entry-content h2:first-of-type { border-top: 0; padding-top: 0; }
.entry-content p, .entry-content li { color: #cfcbe0; }
.entry-content strong { color: var(--moon); }
.contact-card {
	list-style: none !important; padding: 26px 28px !important; margin: 1.5em 0 2em;
	border: 1px solid var(--line); border-radius: var(--radius); background: var(--night-2); display: grid; gap: 14px;
}
.contact-card li { display: flex; gap: 14px; margin: 0 !important; align-items: flex-start; }
.contact-card svg { width: 20px; height: 20px; color: var(--glow); flex: none; margin-top: .2em; }
.woocommerce form.track_order { max-width: 520px; }
.tax-note { font-size: .85rem; color: var(--muted); margin: -.4em 0 1.2em; }


/* ==========================================================================
   LOVE THE COSMOS skin: light "dusk sky" look layered over the base theme.
   ========================================================================== */
:root {
	--night: #fbf6f1;
	--night-2: #ffffff;
	--night-3: #f3ebee;
	--ink: #3a2c4a;
	--muted: #7a6c86;
	--moon: #2b1d3f;
	--glow: #d9667a;
	--glow-soft: rgba(217, 102, 122, .16);
	--line: rgba(43, 29, 63, .1);
	--paper: #2b1d3f;
	--paper-ink: #fbf6f1;
	--paper-muted: #cdbfd9;
	--dusk: linear-gradient(180deg, #24183a 0%, #4a2f63 34%, #9a5a84 66%, #e7a08f 100%);
	--radius: 22px;
	--font-display: "DM Serif Display", Georgia, serif;
	--font-body: "DM Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
}
h1, h2, h3, h4 { letter-spacing: -0.015em; }
.btn:hover, .button:hover, input[type="submit"]:hover, .woocommerce a.button:hover, .woocommerce button.button:hover { color: #fff; box-shadow: 0 10px 30px -10px rgba(217,102,122,.6); }

/* Announcement + header */
.announce { background: var(--moon); color: #f3e9f3; }
.announce strong, .announce code { color: #f6b9c2; border-color: rgba(246,185,194,.6); }
.site-header { background: rgba(251, 246, 241, .86); }
.brand { color: var(--moon); }
.brand:hover { color: var(--glow); }
.brand__mark { background: transparent; box-shadow: inset -9px 3px 0 0 var(--glow), 0 0 18px -2px rgba(217,102,122,.45); transform: rotate(-20deg); }
.brand__name { font-size: 1.45rem; letter-spacing: .02em; text-transform: none; }
.primary-nav a { color: var(--ink); letter-spacing: .06em; }
.primary-nav a:hover, .primary-nav .current-menu-item > a { color: var(--glow); }

/* Hero: centered dusk sky */
.hero { background: var(--dusk); min-height: min(88vh, 820px); text-align: center; color: #f6eef6; }
.hero .wrap { grid-template-columns: 1fr; justify-items: center; gap: 10px; }
.hero__visual { width: 100%; max-width: 250px; order: -1; }
.hero .moon-orb { width: 100%; }
.hero h1 { color: #fff; max-width: 16ch; margin-inline: auto; }
.hero h1 em { color: #ffd2c4; }
.hero .lede { color: #f1e3ee; margin-inline: auto; }
.hero .eyebrow { color: #ffd2c4; justify-content: center; }
.hero .hero__ctas { justify-content: center; }
.btn--ghost { color: var(--moon); border-color: rgba(43,29,63,.3); }
.btn--ghost:hover { background: rgba(43,29,63,.06); color: var(--moon); }
.hero .btn { background: #fff; color: var(--moon); }
.hero .btn:hover { background: #ffd2c4; color: var(--moon); }
.hero .btn--ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.55); }
.hero::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 70px; background: linear-gradient(180deg, transparent, var(--night)); }

/* Perks */
.perks { background: var(--night); border: 0; }
.perks .wrap { background: #fff; border-radius: var(--radius); box-shadow: 0 20px 50px -30px rgba(43,29,63,.35); margin-top: -40px; position: relative; z-index: 3; }
.perk svg { color: var(--glow); }

/* Section heads centered */
.section-head { flex-direction: column; align-items: center; text-align: center; gap: 14px; }
.section-head h2 { max-width: 20ch; }
.section-head .lede { text-align: center; }
.eyebrow { color: var(--glow); }

/* Product cards */
.woocommerce ul.products li.product, .product-card { background: #fff; border: 0; padding: 0 0 22px; box-shadow: 0 18px 44px -28px rgba(43,29,63,.4); }
.woocommerce ul.products li.product:hover, .product-card:hover { box-shadow: 0 26px 60px -28px rgba(217,102,122,.55); }
.woocommerce ul.products li.product a img, .product-card__media { border-radius: var(--radius) var(--radius) 0 0; background: #f3ebee; aspect-ratio: 4 / 5; }
.woocommerce ul.products li.product .woocommerce-loop-product__title, .product-card h3 { color: var(--moon); padding: 0 20px !important; }
.woocommerce ul.products li.product .price, .product-card .price { color: var(--glow) !important; padding: 0 20px; }
.woocommerce ul.products li.product .button, .product-card .btn { margin: auto 20px 0 !important; color: var(--moon); border-color: rgba(43,29,63,.25); }
.woocommerce ul.products li.product .button:hover, .product-card .btn:hover { background: var(--moon); color: #fff; }

/* Spotlights */
.spotlight__media { border: 0; border-radius: 200px 200px 28px 28px; background: var(--dusk); box-shadow: 0 30px 70px -40px rgba(43,29,63,.6); }
.spotlight__price { background: rgba(255,255,255,.92); color: var(--moon); border: 0; }
.spotlight__body .product-name { color: var(--glow); }

/* Gift band (inverse) */
.gift .eyebrow, .gift h2 em { color: #f6b9c2; }
.gift__occasions li { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.2); color: #f3e9f3; }
.gift__art .ring { border-color: rgba(246,185,194,.35); }

/* FAQ */
.faq__contact { background: #fff; border: 0; box-shadow: 0 18px 44px -30px rgba(43,29,63,.4); }

/* Closing band + page heroes use the dusk sky */
.closing { background: var(--dusk); color: #f6eef6; }
.closing h2 { color: #fff; }
.closing h2 em { color: #ffd2c4; }
.closing .lede { color: #f1e3ee; }
.closing .btn { background: #fff; color: var(--moon); }
.closing .eyebrow { color: #ffd2c4; }
.page-hero { background: var(--dusk); border: 0; }
.page-hero h1 { color: #fff; }
.page-hero p { color: #f1e3ee; }

/* Footer */
.site-footer { background: var(--moon); color: #cdbfd9; border: 0; }
.site-footer .brand, .footer-grid h4 { color: #fff; }
.footer-grid a { color: #cdbfd9; }
.footer-grid a:hover { color: #fff; }
.footer-contact svg { color: #f6b9c2; }
.footer-bottom { border-color: rgba(255,255,255,.12); }
.site-footer .icon-btn { color: #fff; border-color: rgba(255,255,255,.2); }

/* Content pages */
.entry-content p, .entry-content li { color: var(--ink); }
.entry-content .lead-in { color: var(--moon); }
.policy-updated { color: var(--glow); }
.contact-card { background: #fff; border: 0; box-shadow: 0 18px 44px -30px rgba(43,29,63,.4); }
.contact-card svg { color: var(--glow); }

/* Forms */
input[type="text"], input[type="email"], input[type="tel"], input[type="search"], input[type="number"],
input[type="password"], input[type="url"], textarea, select,
.woocommerce form .form-row .input-text, .woocommerce form .form-row select, .select2-container .select2-selection { background: #fff; border-color: rgba(43,29,63,.18); }
.woocommerce-checkout #payment div.payment_box { color: var(--ink) !important; }

@media (max-width: 900px) {
	.hero__visual { max-width: 190px; }
	.perks .wrap { margin-top: -24px; }
	.spotlight__media { border-radius: 160px 160px 24px 24px; }
}
