/* =============================================================
   The Ambrosia Market — Mythic Editorial Design System
   ============================================================= */

:root {
	--parchment: #faf6ec;
	--parchment-deep: #f3ecd9;
	--baby-yellow: #f5e663;
	--gold: #e8c547;
	--lavender: #d8cce8;
	--lavender-soft: #ece5f3;
	--amethyst: #6b4e8e;
	--amethyst-deep: #4b2e83;
	--ink: #2c2624;
	--ink-soft: #5a504c;
	--white: #ffffff;

	--font-display: 'Fraunces', Georgia, 'Times New Roman', serif;
	--font-body: 'DM Sans', system-ui, -apple-system, sans-serif;

	--ease-soft: cubic-bezier(0.22, 1, 0.36, 1);
	--ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

*, *::before, *::after {
	box-sizing: border-box;
	margin: 0;
	padding: 0;
}

html, body {
	background: var(--parchment);
	color: var(--ink);
	font-family: var(--font-body);
	font-size: 16px;
	line-height: 1.7;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	text-rendering: optimizeLegibility;
}

body {
	min-height: 100vh;
	overflow-x: hidden;
}

#root {
	min-height: 100vh;
	display: flex;
	flex-direction: column;
}

a {
	color: var(--amethyst);
	text-decoration: none;
	transition: opacity 180ms var(--ease-soft);
}

a:hover {
	opacity: 0.75;
}

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

button {
	font-family: inherit;
	cursor: pointer;
	border: none;
	background: none;
	color: inherit;
}

h1, h2, h3, h4, h5, h6 {
	font-family: var(--font-display);
	font-weight: 300;
	color: var(--ink);
	letter-spacing: -0.02em;
	line-height: 1.05;
}

/* =============================================================
   Layout primitives
   ============================================================= */

.page {
	flex: 1;
	display: flex;
	flex-direction: column;
}

.container {
	width: 100%;
	max-width: 1240px;
	margin: 0 auto;
	padding: 0 32px;
}

.container-narrow {
	width: 100%;
	max-width: 720px;
	margin: 0 auto;
	padding: 0 32px;
}

@media (max-width: 640px) {
	.container, .container-narrow {
		padding: 0 20px;
	}
}

/* =============================================================
   Header
   ============================================================= */

.site-header {
	padding: 28px 0;
	background: var(--parchment);
	position: relative;
	z-index: 10;
}

.site-header__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
}

.site-header__wordmark {
	font-family: var(--font-display);
	font-style: italic;
	font-weight: 400;
	font-size: 22px;
	color: var(--amethyst);
	letter-spacing: -0.01em;
	white-space: nowrap;
}

.site-header__nav {
	display: flex;
	gap: 32px;
	align-items: center;
}

.site-header__nav a {
	font-family: var(--font-body);
	font-size: 13px;
	font-weight: 500;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--ink);
	position: relative;
	padding-bottom: 4px;
}

.site-header__nav a::after {
	content: '';
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	height: 1px;
	background: var(--amethyst);
	transform: scaleX(0);
	transform-origin: left;
	transition: transform 250ms var(--ease-out);
}

.site-header__nav a:hover {
	opacity: 1;
}

.site-header__nav a:hover::after,
.site-header__nav a.active::after {
	transform: scaleX(1);
}

@media (max-width: 480px) {
	.site-header__nav {
		gap: 20px;
	}
	.site-header__wordmark {
		font-size: 18px;
	}
}

/* =============================================================
   Hero
   ============================================================= */

.hero {
	position: relative;
	min-height: calc(100vh - 92px);
	display: flex;
	align-items: center;
	justify-content: center;
	text-align: center;
	padding: 80px 32px;
	overflow: hidden;
}

.hero__wreath {
	position: absolute;
	left: 50%;
	top: 50%;
	transform: translate(-50%, -50%);
	width: 480px;
	max-width: 90vw;
	opacity: 0.08;
	pointer-events: none;
	color: var(--amethyst);
}

.hero__content {
	position: relative;
	z-index: 1;
	max-width: 960px;
}

.hero__eyebrow {
	font-family: var(--font-body);
	font-size: 11px;
	font-weight: 500;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	color: var(--amethyst);
	margin-bottom: 28px;
	opacity: 0;
	animation: fadeIn 600ms 100ms var(--ease-out) forwards;
}

.hero__title {
	font-family: var(--font-display);
	font-weight: 300;
	font-size: clamp(48px, 9vw, 96px);
	letter-spacing: -0.03em;
	line-height: 1;
	color: var(--amethyst-deep);
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 0.22em;
}

.hero__title span {
	display: inline-block;
	opacity: 0;
	transform: translateY(20px);
	animation: wordIn 800ms var(--ease-out) forwards;
}

.hero__title span:nth-child(1) { animation-delay: 200ms; }
.hero__title span:nth-child(2) { animation-delay: 400ms; }
.hero__title span:nth-child(3) { animation-delay: 600ms; }

.hero__subtitle {
	margin-top: 28px;
	font-family: var(--font-display);
	font-style: italic;
	font-weight: 400;
	font-size: clamp(18px, 2.2vw, 24px);
	color: var(--lavender);
	opacity: 0;
	transform: translateY(20px);
	animation: wordIn 800ms 1000ms var(--ease-out) forwards;
	letter-spacing: 0;
}

.hero__tagline {
	margin-top: 18px;
	font-family: var(--font-body);
	font-size: 15px;
	color: var(--ink-soft);
	max-width: 540px;
	margin-left: auto;
	margin-right: auto;
	opacity: 0;
	animation: fadeIn 800ms 1300ms var(--ease-out) forwards;
}

.hero__cta {
	margin-top: 48px;
	display: inline-flex;
	align-items: center;
	gap: 10px;
	font-family: var(--font-body);
	font-size: 13px;
	font-weight: 600;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: var(--amethyst);
	padding-bottom: 4px;
	border-bottom: 1px solid transparent;
	transition: border-color 240ms var(--ease-out), gap 240ms var(--ease-out);
	opacity: 0;
	animation: fadeIn 800ms 1500ms var(--ease-out) forwards;
}

.hero__cta:hover {
	border-bottom-color: var(--amethyst);
	gap: 14px;
	opacity: 1;
}

@keyframes wordIn {
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

@keyframes fadeIn {
	to {
		opacity: 1;
	}
}

/* =============================================================
   Sustainability strip
   ============================================================= */

.sustain {
	position: relative;
	padding: 88px 32px;
	background: linear-gradient(
		to bottom,
		var(--parchment),
		rgba(245, 230, 99, 0.35),
		var(--parchment)
	);
}

.sustain__inner {
	max-width: 1100px;
	margin: 0 auto;
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 56px;
	text-align: center;
}

.sustain__col {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 20px;
	opacity: 0;
	transform: translateY(16px);
	transition: opacity 700ms var(--ease-out), transform 700ms var(--ease-out);
}

.sustain__col.is-visible {
	opacity: 1;
	transform: translateY(0);
}

.sustain__col:nth-child(1).is-visible { transition-delay: 0ms; }
.sustain__col:nth-child(2).is-visible { transition-delay: 150ms; }
.sustain__col:nth-child(3).is-visible { transition-delay: 300ms; }

.sustain__icon {
	color: var(--amethyst);
	width: 36px;
	height: 36px;
}

.sustain__title {
	font-family: var(--font-display);
	font-style: italic;
	font-weight: 400;
	font-size: 22px;
	letter-spacing: -0.01em;
	color: var(--amethyst-deep);
	margin: 0;
}

.sustain__stat {
	font-family: var(--font-body);
	font-style: normal;
	font-weight: 400;
	font-size: 15px;
	line-height: 1.65;
	color: var(--ink-soft);
	max-width: 320px;
}

@media (max-width: 800px) {
	.sustain {
		padding: 56px 24px;
	}
	.sustain__inner {
		grid-template-columns: 1fr;
		gap: 40px;
	}
}

/* =============================================================
   Why Mythology — founder voice
   ============================================================= */

.why-myth {
	padding: 140px 32px;
}

.why-myth__inner {
	max-width: 620px;
	margin: 0 auto;
	text-align: left;
}

.why-myth__head {
	font-family: var(--font-display);
	font-style: normal;
	font-weight: 400;
	font-size: clamp(32px, 4.4vw, 42px);
	letter-spacing: -0.02em;
	line-height: 1.1;
	color: var(--amethyst-deep);
	margin-bottom: 36px;
	opacity: 0;
	transform: translateY(14px);
	transition: opacity 700ms var(--ease-out), transform 700ms var(--ease-out);
}

.why-myth__body {
	font-family: var(--font-body);
	font-size: 17px;
	line-height: 1.7;
	color: var(--ink-soft);
	margin-bottom: 22px;
	opacity: 0;
	transform: translateY(14px);
	transition: opacity 700ms var(--ease-out), transform 700ms var(--ease-out);
}

.why-myth__head.is-visible,
.why-myth__body.is-visible {
	opacity: 1;
	transform: translateY(0);
}

.why-myth__body:nth-of-type(1).is-visible { transition-delay: 120ms; }
.why-myth__body:nth-of-type(2).is-visible { transition-delay: 240ms; }
.why-myth__body:nth-of-type(3).is-visible { transition-delay: 360ms; }

.why-myth__rule {
	width: 80px;
	height: 1px;
	background: var(--amethyst);
	border: none;
	margin: 40px 0 18px;
	opacity: 0;
	transition: opacity 700ms var(--ease-out) 480ms;
}

.why-myth__rule.is-visible { opacity: 0.55; }

.why-myth__sign {
	font-family: var(--font-display);
	font-style: italic;
	font-weight: 400;
	font-size: 16px;
	color: #a896c4; /* baby lavender */
	opacity: 0;
	transform: translateY(8px);
	transition: opacity 700ms var(--ease-out) 540ms, transform 700ms var(--ease-out) 540ms;
}

.why-myth__sign.is-visible {
	opacity: 1;
	transform: translateY(0);
}

@media (max-width: 700px) {
	.why-myth {
		padding: 80px 24px;
	}
	.why-myth__head {
		margin-bottom: 28px;
	}
}

/* =============================================================
   Lifestyle image moment
   ============================================================= */

.lifestyle {
	padding: 0 4vw 60px;
}

.lifestyle__frame {
	position: relative;
	width: 100%;
	max-width: 92vw;
	margin: 0 auto;
	aspect-ratio: 3 / 2;
	overflow: hidden;
	border-radius: 2px;
	background: var(--parchment-deep);
	opacity: 0;
	transform: scale(1.02);
	transition: opacity 800ms var(--ease-out), transform 800ms var(--ease-out);
}

.lifestyle__frame.is-visible {
	opacity: 1;
	transform: scale(1);
}

.lifestyle__frame img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.lifestyle__caption {
	position: absolute;
	left: 32px;
	bottom: 32px;
	font-family: var(--font-display);
	font-style: italic;
	font-weight: 300;
	font-size: 18px;
	letter-spacing: 0.02em;
	color: #f7f3ec;
	text-shadow: 0 1px 18px rgba(28, 16, 50, 0.5), 0 0 2px rgba(28, 16, 50, 0.45);
	max-width: 70%;
	margin: 0;
}

@media (max-width: 700px) {
	.lifestyle {
		padding: 0 0 40px;
	}
	.lifestyle__frame {
		max-width: 100vw;
		border-radius: 0;
	}
	.lifestyle__caption {
		left: 20px;
		bottom: 20px;
		font-size: 15px;
	}
}

/* =============================================================
   Newsletter — first dispatch
   ============================================================= */

.newsletter {
	padding: 120px 32px;
	background: linear-gradient(
		to bottom,
		var(--parchment),
		rgba(245, 230, 99, 0.28),
		var(--parchment)
	);
}

.newsletter__inner {
	max-width: 560px;
	margin: 0 auto;
	text-align: center;
}

.newsletter__eyebrow {
	font-family: var(--font-display);
	font-weight: 500;
	font-size: 11px;
	font-variant: small-caps;
	letter-spacing: 0.2em;
	color: var(--amethyst-deep);
	margin-bottom: 22px;
}

.newsletter__head {
	font-family: var(--font-display);
	font-weight: 400;
	font-style: normal;
	font-size: clamp(28px, 4vw, 36px);
	letter-spacing: -0.02em;
	color: var(--amethyst-deep);
	line-height: 1.15;
	margin-bottom: 18px;
}

.newsletter__sub {
	font-family: var(--font-body);
	font-size: 16px;
	line-height: 1.65;
	color: var(--ink-soft);
	max-width: 480px;
	margin: 0 auto 36px;
}

.newsletter__form {
	display: flex;
	gap: 16px;
	align-items: stretch;
	max-width: 480px;
	margin: 0 auto;
}

.newsletter__input {
	flex: 1 1 auto;
	background: transparent;
	border: none;
	border-bottom: 1px solid var(--amethyst);
	padding: 14px 4px;
	font-family: var(--font-display);
	font-style: italic;
	font-weight: 400;
	font-size: 18px;
	color: var(--ink);
	outline: none;
	transition: border-color 220ms var(--ease-out);
}

.newsletter__input::placeholder {
	font-family: var(--font-display);
	font-style: italic;
	color: rgba(75, 46, 131, 0.45);
}

.newsletter__input:focus {
	border-bottom-color: var(--amethyst-deep);
}

.newsletter__input[aria-invalid='true'] {
	border-bottom-color: #b13a2a;
}

.newsletter__btn {
	position: relative;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 200px;
	height: 52px;
	padding: 0 28px;
	background: var(--amethyst);
	color: var(--parchment);
	font-family: var(--font-body);
	font-weight: 600;
	font-size: 13px;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	border-radius: 999px;
	cursor: pointer;
	transition: background 220ms var(--ease-soft), min-width 380ms var(--ease-soft);
	white-space: nowrap;
}

.newsletter__btn:hover {
	background: var(--amethyst-deep);
}

.newsletter__btn:disabled {
	cursor: default;
}

.newsletter__btn.is-loading {
	min-width: 52px;
	padding: 0;
	background: var(--amethyst-deep);
}

.newsletter__spinner {
	width: 18px;
	height: 18px;
	border: 2px solid rgba(255, 255, 255, 0.35);
	border-top-color: var(--parchment);
	border-radius: 50%;
	animation: spin 700ms linear infinite;
}

.newsletter__success {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 14px;
	animation: fadeUp 480ms var(--ease-out) both;
}

.newsletter__success-pill {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	min-width: 240px;
	height: 52px;
	padding: 0 28px;
	background: var(--amethyst);
	color: var(--parchment);
	font-family: var(--font-body);
	font-weight: 600;
	font-size: 13px;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	border-radius: 999px;
}

.newsletter__success-note {
	font-family: var(--font-display);
	font-style: italic;
	font-size: 16px;
	color: #a896c4;
}

.newsletter__error {
	margin-top: 16px;
	font-family: var(--font-body);
	font-size: 14px;
	color: #b13a2a;
}

@keyframes fadeUp {
	from {
		opacity: 0;
		transform: translateY(8px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

@media (max-width: 600px) {
	.newsletter {
		padding: 80px 20px;
	}
	.newsletter__form {
		flex-direction: column;
		gap: 22px;
	}
	.newsletter__btn,
	.newsletter__success-pill {
		min-width: 0;
		width: 100%;
	}
}

/* =============================================================
   Section heads
   ============================================================= */

.section {
	padding: 96px 0;
}

.section--tight {
	padding: 64px 0 96px;
}

.section__eyebrow {
	font-family: var(--font-body);
	font-size: 11px;
	font-weight: 500;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	color: var(--amethyst);
	margin-bottom: 18px;
}

.section__title {
	font-family: var(--font-display);
	font-style: italic;
	font-weight: 300;
	font-size: clamp(40px, 6vw, 64px);
	letter-spacing: -0.02em;
	color: var(--ink);
	margin-bottom: 16px;
}

.section__lede {
	font-family: var(--font-body);
	font-size: 17px;
	color: var(--ink-soft);
	max-width: 560px;
	line-height: 1.6;
}

.section__head {
	margin-bottom: 64px;
}

@media (max-width: 640px) {
	.section { padding: 64px 0; }
	.section__head { margin-bottom: 40px; }
}

/* =============================================================
   Product grid
   ============================================================= */

.product-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 48px 40px;
}

@media (max-width: 1000px) {
	.product-grid {
		grid-template-columns: repeat(2, 1fr);
		gap: 40px 28px;
	}
}

@media (max-width: 560px) {
	.product-grid {
		grid-template-columns: 1fr;
		gap: 40px;
	}
}

.product-card {
	display: flex;
	flex-direction: column;
	gap: 18px;
	background: transparent;
	border: none;
	box-shadow: none;
	text-align: left;
	color: inherit;
}

.product-card__media {
	position: relative;
	aspect-ratio: 4 / 5;
	overflow: hidden;
	background: var(--parchment-deep);
	border-radius: 2px;
}

.product-card__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 600ms var(--ease-out);
}

.product-card:hover .product-card__media img {
	transform: scale(1.04);
}

.product-card__media--empty {
	display: flex;
	align-items: center;
	justify-content: center;
	color: var(--amethyst);
	opacity: 0.5;
}

.product-card__name {
	font-family: var(--font-display);
	font-style: italic;
	font-weight: 400;
	font-size: 22px;
	color: var(--ink);
	line-height: 1.2;
	letter-spacing: -0.01em;
	position: relative;
	display: inline-block;
	padding-bottom: 4px;
}

.product-card__name::after {
	content: '';
	position: absolute;
	left: 0;
	bottom: 0;
	width: 100%;
	height: 1px;
	background: var(--amethyst);
	transform: scaleX(0);
	transform-origin: left;
	transition: transform 250ms var(--ease-out);
}

.product-card:hover .product-card__name::after {
	transform: scaleX(1);
}

.product-card__price {
	font-family: var(--font-body);
	font-size: 16px;
	color: var(--amethyst);
	font-weight: 500;
}

/* =============================================================
   Skeleton states
   ============================================================= */

.skeleton-card {
	display: flex;
	flex-direction: column;
	gap: 14px;
}

.skeleton {
	background: linear-gradient(
		90deg,
		var(--parchment-deep) 0%,
		var(--lavender-soft) 50%,
		var(--parchment-deep) 100%
	);
	background-size: 200% 100%;
	animation: shimmer 1.6s infinite linear;
	border-radius: 2px;
}

.skeleton--media {
	aspect-ratio: 4 / 5;
}

.skeleton--line {
	height: 16px;
	border-radius: 2px;
}

.skeleton--short { width: 60%; }
.skeleton--mid { width: 40%; }

@keyframes shimmer {
	0% { background-position: 200% 0; }
	100% { background-position: -200% 0; }
}

.catalog-message {
	font-family: var(--font-display);
	font-style: italic;
	font-size: 22px;
	color: var(--ink-soft);
	text-align: center;
	padding: 64px 24px;
}

/* =============================================================
   MorphButton — Buy CTA
   ============================================================= */

.morph-button {
	position: relative;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 200px;
	height: 52px;
	padding: 0 32px;
	background: var(--amethyst);
	color: var(--white);
	font-family: var(--font-display);
	font-style: italic;
	font-weight: 400;
	font-size: 16px;
	letter-spacing: 0.01em;
	border-radius: 999px;
	overflow: hidden;
	transition:
		min-width 380ms var(--ease-soft),
		width 380ms var(--ease-soft),
		padding 380ms var(--ease-soft),
		background 220ms var(--ease-soft);
	white-space: nowrap;
	cursor: pointer;
}

.morph-button:hover {
	background: var(--amethyst-deep);
}

.morph-button:disabled {
	background: var(--lavender);
	color: var(--white);
	cursor: not-allowed;
}

.morph-button__label {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	transition: opacity 220ms var(--ease-soft);
}

.morph-button--loading,
.morph-button--success {
	min-width: 52px;
	width: 52px;
	padding: 0;
}

.morph-button--success {
	background: var(--amethyst-deep);
}

.morph-button--error {
	animation: shake 420ms var(--ease-out);
	background: var(--ink);
}

.morph-button__spinner {
	width: 18px;
	height: 18px;
	border: 2px solid rgba(255, 255, 255, 0.35);
	border-top-color: var(--white);
	border-radius: 50%;
	animation: spin 700ms linear infinite;
}

.morph-button__check {
	width: 22px;
	height: 22px;
	color: var(--white);
	animation: pop 280ms var(--ease-out);
}

@keyframes spin {
	to { transform: rotate(360deg); }
}

@keyframes pop {
	0% { transform: scale(0.4); opacity: 0; }
	100% { transform: scale(1); opacity: 1; }
}

@keyframes shake {
	0%, 100% { transform: translateX(0); }
	20% { transform: translateX(-6px); }
	40% { transform: translateX(6px); }
	60% { transform: translateX(-4px); }
	80% { transform: translateX(4px); }
}

/* =============================================================
   Product detail
   ============================================================= */

.product-page {
	padding: 64px 0 120px;
}

.product-page__grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 80px;
	align-items: start;
}

@media (max-width: 900px) {
	.product-page__grid {
		grid-template-columns: 1fr;
		gap: 40px;
	}
	.product-page {
		padding: 32px 0 80px;
	}
}

.product-gallery__main {
	aspect-ratio: 4 / 5;
	overflow: hidden;
	background: var(--parchment-deep);
	border-radius: 2px;
}

.product-gallery__main img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.product-gallery__thumbs {
	display: flex;
	gap: 12px;
	margin-top: 16px;
	flex-wrap: wrap;
}

.product-gallery__thumb {
	width: 72px;
	height: 90px;
	overflow: hidden;
	border-radius: 2px;
	background: var(--parchment-deep);
	opacity: 0.55;
	transition: opacity 220ms var(--ease-out);
	cursor: pointer;
	border: none;
	padding: 0;
}

.product-gallery__thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.product-gallery__thumb.is-active,
.product-gallery__thumb:hover {
	opacity: 1;
}

.product-info__eyebrow {
	font-family: var(--font-body);
	font-size: 11px;
	font-weight: 500;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	color: var(--amethyst);
	margin-bottom: 18px;
}

.product-info__name {
	font-family: var(--font-display);
	font-style: italic;
	font-weight: 300;
	font-size: clamp(36px, 5vw, 48px);
	letter-spacing: -0.02em;
	color: var(--ink);
	line-height: 1.08;
}

.product-info__price {
	margin-top: 16px;
	font-family: var(--font-body);
	font-size: 24px;
	color: var(--amethyst);
	font-weight: 500;
}

.product-info__desc {
	margin-top: 28px;
	font-family: var(--font-body);
	font-size: 16px;
	color: var(--ink-soft);
	line-height: 1.75;
	max-width: 520px;
}

.product-info__variants {
	margin-top: 36px;
}

.product-info__variant-label {
	font-family: var(--font-body);
	font-size: 11px;
	font-weight: 500;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	color: var(--ink-soft);
	margin-bottom: 14px;
	display: block;
}

.variant-select {
	appearance: none;
	width: 100%;
	max-width: 360px;
	background: transparent;
	border: none;
	border-bottom: 1px solid var(--amethyst);
	padding: 10px 24px 10px 0;
	font-family: var(--font-display);
	font-style: italic;
	font-weight: 400;
	font-size: 18px;
	color: var(--ink);
	cursor: pointer;
	background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%236b4e8e' stroke-width='2'><polyline points='6 9 12 15 18 9'/></svg>");
	background-repeat: no-repeat;
	background-position: right 4px center;
}

.variant-select:focus {
	outline: none;
	border-bottom-color: var(--amethyst-deep);
}

.product-info__cta-row {
	margin-top: 40px;
	display: flex;
	flex-direction: column;
	gap: 16px;
	align-items: flex-start;
}

.product-info__note {
	font-family: var(--font-display);
	font-style: italic;
	font-size: 15px;
	color: var(--lavender);
	color: #a896c4;
}

/* =============================================================
   Product details — Expandable rows (size guide / shipping)
   ============================================================= */

.product-info__details {
	margin-top: 56px;
	max-width: 520px;
}

.expandable + .expandable {
	border-top: none;
}

.expandable {
	border-top: 1px solid rgba(75, 46, 131, 0.22);
}

.expandable:last-of-type {
	border-bottom: 1px solid rgba(75, 46, 131, 0.22);
}

.expandable__row {
	width: 100%;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	padding: 22px 0;
	background: none;
	border: none;
	cursor: pointer;
	text-align: left;
	color: inherit;
}

.expandable__label {
	font-family: var(--font-display);
	font-style: italic;
	font-weight: 400;
	font-size: 18px;
	color: var(--ink);
	letter-spacing: -0.01em;
}

.expandable__toggle {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 26px;
	height: 26px;
	color: var(--amethyst);
	transition: transform 300ms var(--ease-out);
}

.expandable.is-open .expandable__toggle {
	transform: rotate(45deg);
}

.expandable__panel {
	overflow: hidden;
	max-height: 0;
	transition: max-height 300ms var(--ease-out);
}

.expandable__panel-inner {
	padding: 4px 0 28px;
	font-family: var(--font-body);
	font-size: 15px;
	line-height: 1.7;
	color: var(--ink-soft);
}

.expandable__lede {
	margin-bottom: 18px;
}

.size-table {
	width: 100%;
	border-collapse: collapse;
	font-family: var(--font-body);
	font-size: 14px;
	color: var(--ink);
}

.size-table th,
.size-table td {
	padding: 10px 8px;
	text-align: left;
	border-bottom: 1px solid rgba(75, 46, 131, 0.14);
}

.size-table th {
	font-family: var(--font-body);
	font-weight: 500;
	font-size: 11px;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--amethyst);
}

.size-table tr:last-child td {
	border-bottom: none;
}

/* =============================================================
   About page
   ============================================================= */

.about {
	padding: 64px 0 120px;
}

.about__title {
	font-family: var(--font-display);
	font-style: italic;
	font-weight: 300;
	font-size: clamp(44px, 6vw, 64px);
	letter-spacing: -0.02em;
	color: var(--ink);
	margin-bottom: 12px;
	line-height: 1.05;
}

.about__sub {
	font-family: var(--font-display);
	font-style: italic;
	font-size: 20px;
	color: var(--amethyst);
	margin-bottom: 56px;
}

.about__body p {
	font-family: var(--font-body);
	font-size: 18px;
	line-height: 1.75;
	color: var(--ink);
	margin-bottom: 24px;
}

.about__body h2 {
	font-family: var(--font-display);
	font-style: italic;
	font-weight: 400;
	font-size: 28px;
	color: var(--ink);
	margin: 48px 0 18px;
	letter-spacing: -0.01em;
}

.about__body em {
	color: var(--amethyst);
	font-style: italic;
}

.about__divider {
	width: 60px;
	height: 1px;
	background: var(--amethyst);
	margin: 48px 0;
	border: none;
	opacity: 0.4;
}

/* =============================================================
   Status pages (success / cancel / 404)
   ============================================================= */

.status-page {
	flex: 1;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	text-align: center;
	padding: 120px 32px;
	min-height: 60vh;
}

.status-page__wreath {
	color: var(--amethyst);
	opacity: 0.7;
	margin-bottom: 32px;
}

.status-page__eyebrow {
	font-family: var(--font-body);
	font-size: 11px;
	font-weight: 500;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	color: var(--amethyst);
	margin-bottom: 18px;
}

.status-page__title {
	font-family: var(--font-display);
	font-style: italic;
	font-weight: 300;
	font-size: clamp(40px, 6vw, 56px);
	letter-spacing: -0.02em;
	color: var(--ink);
	margin-bottom: 18px;
	max-width: 640px;
}

.status-page__body {
	font-family: var(--font-body);
	font-size: 17px;
	color: var(--ink-soft);
	max-width: 480px;
	margin: 0 auto 40px;
	line-height: 1.6;
}

.status-page__links {
	display: inline-flex;
	gap: 32px;
}

.status-page__links a {
	font-family: var(--font-body);
	font-size: 13px;
	font-weight: 600;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: var(--amethyst);
	border-bottom: 1px solid transparent;
	padding-bottom: 4px;
	transition: border-color 240ms var(--ease-out);
}

.status-page__links a:hover {
	border-bottom-color: var(--amethyst);
	opacity: 1;
}

/* =============================================================
   Footer
   ============================================================= */

.site-footer {
	padding: 80px 32px 56px;
	text-align: center;
	background: var(--parchment);
	border-top: 1px solid rgba(107, 78, 142, 0.12);
}

.site-footer__wreath {
	color: var(--amethyst);
	margin: 0 auto 18px;
}

.site-footer__wordmark {
	font-family: var(--font-display);
	font-weight: 500;
	font-size: 14px;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	color: var(--ink);
	margin-bottom: 14px;
}

.site-footer__note {
	font-family: var(--font-body);
	font-size: 12px;
	color: var(--amethyst);
	max-width: 460px;
	margin: 0 auto 24px;
	line-height: 1.6;
}

.site-footer__links {
	display: inline-flex;
	gap: 28px;
}

.site-footer__links a {
	font-family: var(--font-body);
	font-size: 12px;
	font-weight: 500;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--ink-soft);
}

.site-footer__links a:hover {
	color: var(--amethyst);
	opacity: 1;
}

/* =============================================================
   Misc utilities
   ============================================================= */

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

@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after {
		animation-duration: 0.01ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: 0.01ms !important;
	}
}
