/* =============================================================================
   Alex Wright's Storytime: theme styles by The Free Website Guys.

   DESIGN TOKENS: every colour, font, size, spacing, radius and shadow lives in
   this block. Colours are overridden at runtime from the Customizer
   (an inline :root block is printed after this file).
   Breakpoints (mobile first): sm 640 | md 768 tablet | lg 1024 desktop | xl 1280
   ============================================================================= */
:root {
	/* Colours (Customizer-editable; defaults converted from the source HSL tokens) */
	--color-background: #fbf8f4;
	--color-foreground: #1c3e4f;
	--color-primary: #204f65;
	--color-primary-foreground: #fcfbf7;
	--color-accent: #e46b58;
	--color-accent-foreground: #fcfbf7;
	--color-highlight: #f3bb49;
	--color-highlight-foreground: #1c3e4f;
	--color-secondary: #f2ede4;
	--color-muted-foreground: #586b74;
	--color-border: #e4ded3;

	/* Colours (derived, not editable) */
	--color-muted: hsl(40 26% 89%);
	--color-destructive: hsl(0 65% 48%);
	--color-overlay: rgb(0 0 0 / 0.8);

	/* Fonts */
	--font-display: 'Fraunces', 'Georgia', serif;
	--font-body: 'Nunito Sans', 'Helvetica Neue', sans-serif;

	/* Named font sizes */
	--text-badge: 10px;
	--text-eyebrow: 11px;
	--text-small: 13px;
	--text-detail: 14px;
	--text-body: 15px;
	--text-quote: 17px;
	--text-lead: 19px;
	--text-hero: 42px;
	--text-hero-lg: 76px;

	/* Letter spacing */
	--tracking-eyebrow: 0.3em;
	--tracking-nav: 0.18em;
	--tracking-button: 0.2em;
	--tracking-button-wide: 0.28em;

	/* Shape and depth */
	--radius: 0.5rem;
	--shadow-soft: 0 6px 24px -8px color-mix(in srgb, var(--color-foreground) 10%, transparent);
	--shadow-elevated: 0 14px 40px -12px color-mix(in srgb, var(--color-foreground) 18%, transparent);
	--shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
	--drop-shadow-md: drop-shadow(0 4px 3px rgb(0 0 0 / 0.07)) drop-shadow(0 2px 2px rgb(0 0 0 / 0.06));

	/* Motion */
	--transition-smooth: cubic-bezier(0.25, 0.4, 0.25, 1);
	--ease-default: cubic-bezier(0.4, 0, 0.2, 1);

	/* Layout */
	--header-height: 6rem;
	--header-offset: 7rem;
	--checkout-max-width: 1280px;
	--checkout-gap: 2rem;
}

@media (min-width: 1024px) {
	:root {
		--header-height: 7rem;
	}
}

/* ---------- Reset (matches the design's base layer) ---------- */
*,
*::before,
*::after {
	box-sizing: border-box;
	border-width: 0;
	border-style: solid;
	border-color: var(--color-border);
}

html {
	line-height: 1.5;
	-webkit-text-size-adjust: 100%;
	-moz-tab-size: 4;
	tab-size: 4;
	overflow-x: clip;
}

body {
	margin: 0;
	overflow-x: clip;
	background-color: var(--color-background);
	color: var(--color-foreground);
	font-family: var(--font-body);
	font-size: 1rem;
	line-height: 1.5;
	font-weight: 400;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
	margin: 0;
	font-size: inherit;
	font-weight: inherit;
}

h1, h2, h3, h4, h5, h6 {
	font-family: var(--font-display);
	font-weight: 500;
	letter-spacing: -0.005em;
}

p, blockquote, figure, dl, dd, ul, ol, pre { margin: 0; }
ul, ol { list-style: none; padding: 0; }
a { color: inherit; text-decoration: inherit; }
button, input, select, textarea {
	font-family: inherit;
	font-size: 100%;
	font-weight: inherit;
	line-height: inherit;
	color: inherit;
	margin: 0;
	padding: 0;
}
button, select { text-transform: none; }
button { background-color: transparent; background-image: none; cursor: pointer; -webkit-appearance: button; appearance: button; }
button:disabled { cursor: default; }
a[href],
summary,
label[for],
select,
.site-brand,
.sheet__brand,
.faq-question,
.shop-filter__toggle,
.shop-filter__option,
.slider-arrow,
.slider-dot,
.mobile-link,
.nav-link,
.header-cart-btn,
.theme-product-card a,
.cart-item__name,
.cart-item__remove,
.theme-pair-item,
.theme-thumb,
.product-back,
.notfound-link,
.contact-email-btn,
.contact-email-link,
.contact-phone-link,
.hero-cta-primary,
.hero-cta-secondary,
.dialog__close,
.sheet__close,
.menu-toggle,
.footer-builtby-link,
[role="button"]:not([aria-disabled="true"]) {
	cursor: pointer;
}
input, textarea, select { border-radius: 0; }
textarea { resize: vertical; }
img, svg, video, canvas, audio, iframe, embed, object { display: block; vertical-align: middle; }
table { border-collapse: collapse; border-color: inherit; text-indent: 0; }
[hidden] { display: none !important; }
::placeholder { color: var(--color-muted-foreground); opacity: 1; }

img:not(.hero-bg-img):not(.contact-bg-img):not(.product-card-img):not(.product-main-img):not(.theme-thumb__img):not(.cart-item__img):not(.theme-pair-item__photo):not(.site-logo-img) {
	max-width: 100%;
	height: auto;
}

.hero-bg-img,
.contact-bg-img,
.product-card-img,
.theme-thumb__img,
.cart-item__img,
.theme-pair-item__photo {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
}

.icon { flex-shrink: 0; }

.screen-reader-text {
	position: absolute;
	width: 1px;
	height: 1px;
	margin: -1px;
	padding: 0;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

/* ---------- Reusable patterns ---------- */
.container-wide {
	width: 100%;
	max-width: 80rem;
	margin-left: auto;
	margin-right: auto;
	padding-left: 1.5rem;
	padding-right: 1.5rem;
}

.container-editorial {
	width: 100%;
	max-width: 64rem;
	margin-left: auto;
	margin-right: auto;
	padding-left: 1.5rem;
	padding-right: 1.5rem;
}

@media (min-width: 1024px) {
	.container-wide,
	.container-editorial {
		padding-left: 2.5rem;
		padding-right: 2.5rem;
	}
}

.label-eyebrow {
	font-family: var(--font-body);
	font-size: var(--text-eyebrow);
	font-weight: 600;
	letter-spacing: var(--tracking-eyebrow);
	text-transform: uppercase;
	color: var(--color-muted-foreground);
}

.section-title {
	font-family: var(--font-display);
	font-size: 1.875rem;
	line-height: 1.1;
}

.section-intro {
	font-family: var(--font-body);
	font-size: var(--text-body);
	line-height: 1.625;
	color: var(--color-muted-foreground);
}

.nav-link {
	font-family: var(--font-body);
	font-size: var(--text-small);
	font-weight: 600;
	letter-spacing: var(--tracking-nav);
	text-transform: uppercase;
	transition: color 0.3s var(--ease-default);
}

.list-bullets,
.woocommerce-product-details__short-description ul {
	list-style: disc;
	padding-left: 1.25rem;
}
.list-bullets li::marker,
.woocommerce-product-details__short-description li::marker { color: var(--color-primary); }

@media (min-width: 768px) {
	.section-title { font-size: 2.25rem; line-height: 2.5rem; }
}
@media (min-width: 1024px) {
	.section-title { font-size: 3rem; line-height: 1; }
}

.section {
	padding-top: 5rem;
	padding-bottom: 5rem;
	scroll-margin-top: var(--header-offset);
}
@media (min-width: 1024px) {
	.section { padding-top: 7rem; padding-bottom: 7rem; }
}

.section .label-eyebrow { display: block; margin-bottom: 0.75rem; }

.section-head { max-width: 42rem; margin-bottom: 2.5rem; }
@media (min-width: 1024px) { .section-head { margin-bottom: 3.5rem; } }

.form-control {
	width: 100%;
	border-radius: var(--radius);
	border: 1px solid var(--color-border);
	background-color: var(--color-background);
	padding: 0.75rem 1rem;
	font-family: var(--font-body);
	font-size: 0.875rem;
	line-height: 1.25rem;
	transition: color 0.15s var(--ease-default), border-color 0.15s var(--ease-default);
}
.form-control:focus { border-color: var(--color-primary); outline: none; }
.form-control--square { border-radius: 0; padding: 0.625rem 0.75rem; }
.form-control--noresize { resize: none; }

.btn-square,
.btn-primary-square,
.btn-outline-square {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.5rem;
	white-space: nowrap;
	border-radius: 0;
	font-family: var(--font-body);
	font-size: 0.75rem;
	line-height: 1rem;
	font-weight: 500;
	text-transform: uppercase;
	transition: all 0.3s var(--ease-default);
	cursor: pointer;
}
.btn-square:active,
.btn-primary-square:active,
.btn-outline-square:active { transform: scale(0.98); }
.btn-square,
.btn-primary-square {
	background-color: var(--color-primary);
	color: var(--color-primary-foreground);
	border: 1px solid var(--color-primary);
}
.btn-square:hover,
.btn-primary-square:hover {
	background-color: var(--color-background);
	color: var(--color-primary);
	box-shadow: 0 0 0 1px color-mix(in srgb, var(--color-primary) 35%, transparent);
}
.btn-square { height: 2.75rem; padding: 0.5rem 1.5rem; letter-spacing: 0.24em; }
.btn-square:disabled { pointer-events: none; opacity: 0.5; }
.btn-square .icon { width: 1rem; height: 1rem; }
.btn-primary-square { width: 100%; height: 3rem; letter-spacing: var(--tracking-button-wide); }
.btn-outline-square {
	height: 2.5rem;
	padding: 0.5rem 1rem;
	letter-spacing: 0.24em;
	border: 1px solid color-mix(in srgb, var(--color-primary) 40%, transparent);
	background-color: transparent;
	color: var(--color-foreground);
}
.btn-outline-square:hover { background-color: var(--color-primary); color: var(--color-primary-foreground); }

/* ---------- Header ---------- */
.scroll-progress {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	z-index: 70;
	height: 2px;
	pointer-events: none;
	background-color: var(--color-primary-foreground);
	transform-origin: 0 50%;
	transform: scaleX(0);
}

.site-header {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	z-index: 50;
	width: 100%;
	border-bottom: 1px solid transparent;
	background-color: transparent;
	color: var(--color-primary-foreground);
	box-shadow: none;
	transition: background-color 0.3s var(--ease-default), border-color 0.3s var(--ease-default), box-shadow 0.3s var(--ease-default), color 0.3s var(--ease-default);
}
.site-header.is-solid {
	border-color: var(--color-border);
	background-color: color-mix(in srgb, var(--color-background) 95%, transparent);
	color: var(--color-foreground);
	box-shadow: var(--shadow-soft);
	-webkit-backdrop-filter: blur(12px);
	backdrop-filter: blur(12px);
}
body.admin-bar {
	--admin-bar-offset: var(--wp-admin--admin-bar--height, 32px);
}
@media (max-width: 782px) {
	body.admin-bar {
		--admin-bar-offset: var(--wp-admin--admin-bar--height, 46px);
	}
}
body.admin-bar .scroll-progress,
body.admin-bar .site-header {
	top: var(--admin-bar-offset);
}
body.admin-bar .sheet {
	top: var(--admin-bar-offset);
	height: calc(100% - var(--admin-bar-offset));
}
body.admin-bar #theme-cart-drawer {
	top: var(--admin-bar-offset);
	height: calc(100% - var(--admin-bar-offset));
}

.site-nav {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: space-between;
	height: var(--header-height);
}

.site-nav__toggle { display: flex; align-items: center; flex: 1 1 0%; }

.menu-toggle {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	justify-content: center;
	gap: 5px;
	padding: 0.5rem;
}
.menu-line {
	display: block;
	height: 2.5px;
	border-radius: 1px;
	background-color: currentColor;
	transition: all 0.3s ease-out;
	transform-origin: center;
}
.menu-line--1 { width: 1.25rem; }
.menu-line--2 { width: 1.75rem; opacity: 1; }
.menu-line--3 { width: 0.875rem; }
.menu-toggle:hover .menu-line--3 { width: 1.5rem; }
.menu-toggle[aria-expanded="true"] .menu-line--1 { width: 1.75rem; transform: translateY(7.5px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] .menu-line--2 { opacity: 0; transform: scaleX(0); }
.menu-toggle[aria-expanded="true"] .menu-line--3 { width: 1.75rem; transform: translateY(-7.5px) rotate(-45deg); }

.site-brand {
	position: absolute;
	left: 50%;
	display: flex;
	align-items: center;
	transform: translateX(-50%);
}
.site-logo-img--header,
.site-logo-img--mobile { object-fit: contain; margin-right: 0.5rem; }
.site-logo-img--header { width: var(--logo-size-header, 2.75rem); height: var(--logo-size-header, 2.75rem); }
.site-logo-img--mobile { width: var(--logo-size-mobile, 2.5rem); height: var(--logo-size-mobile, 2.5rem); }
.site-logo-img--footer { width: auto; height: var(--logo-size-footer, 3rem); }
.site-brand-text--header {
	display: none;
	font-family: var(--font-display);
	font-size: 1.25rem;
	line-height: 1;
	white-space: nowrap;
	color: var(--color-primary-foreground);
	filter: var(--drop-shadow-md);
	transition: color 0.15s var(--ease-default);
}
.site-header.is-solid .site-brand-text--header { color: var(--color-foreground); filter: none; }
.brand-highlight { color: var(--color-highlight); }

.site-nav__links { display: none; }

.site-nav__actions {
	display: flex;
	align-items: center;
	justify-content: flex-end;
	gap: 0.25rem;
	flex: 1 1 0%;
}

.header-cart-btn {
	position: relative;
	padding: 0.5rem;
	transition: all 0.3s var(--ease-default);
}
.header-cart-btn:hover { opacity: 0.7; }
.icon-cart { width: 1.5rem; height: 1.5rem; }
.theme-cart-count {
	position: absolute;
	top: -0.25rem;
	right: -0.25rem;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 1.25rem;
	height: 1.25rem;
	border-radius: 9999px;
	background-color: var(--color-accent);
	color: var(--color-accent-foreground);
	font-family: var(--font-body);
	font-size: var(--text-badge);
	font-weight: 600;
}
.theme-cart-count:empty { display: none; }

.nav-list { margin: 0; padding: 0; list-style: none; }
.nav-list--desktop { display: flex; align-items: center; gap: 1.25rem; }
.desktop-link { cursor: pointer; color: color-mix(in srgb, var(--color-primary-foreground) 90%, transparent); }
.desktop-link:hover { color: var(--color-highlight); }
.site-header.is-solid .desktop-link { color: var(--color-foreground); }
.site-header.is-solid .desktop-link:hover { color: var(--color-primary); }

@media (min-width: 640px) {
	.site-logo-img--header { width: var(--logo-size-header, 3rem); height: var(--logo-size-header, 3rem); }
	.site-brand-text--header { display: inline; font-size: 1.5rem; }
}
@media (min-width: 1280px) {
	.site-nav__toggle { display: none; }
	.site-brand { position: static; left: auto; flex: none; justify-content: flex-start; transform: none; }
	.site-nav__links { display: flex; align-items: center; justify-content: center; gap: 1.25rem; flex: 1 1 0%; }
	.site-nav__actions { flex: none; }
}

/* ---------- Mobile menu sheet ---------- */
.sheet-overlay,
.dialog-overlay {
	position: fixed;
	inset: 0;
	z-index: 50;
	background-color: var(--color-overlay);
	opacity: 0;
	visibility: hidden;
	pointer-events: none;
	transition: opacity 0.15s ease-out, visibility 0s linear 0.15s;
}
body.menu-open .sheet-overlay,
body.dialog-open .dialog-overlay {
	opacity: 1;
	visibility: visible;
	pointer-events: auto;
	transition: opacity 0.15s ease-out, visibility 0s;
}
body.menu-open,
body.dialog-open { overflow: hidden; }

.sheet {
	position: fixed;
	top: 0;
	bottom: 0;
	left: 0;
	z-index: 50;
	display: flex;
	flex-direction: column;
	width: 88vw;
	max-width: 24rem;
	height: 100%;
	background-color: var(--color-background);
	border-right: 1px solid var(--color-border);
	box-shadow: var(--shadow-lg);
	transform: translateX(-100%);
	visibility: hidden;
	transition: transform 0.3s ease-in-out, visibility 0s linear 0.3s;
}
body.menu-open .sheet {
	transform: translateX(0);
	visibility: visible;
	transition: transform 0.5s ease-in-out, visibility 0s;
}
@media (min-width: 1280px) {
	.sheet, .sheet-overlay { display: none; }
}
.sheet__header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	flex-shrink: 0;
	height: 6rem;
	padding: 0 1.25rem;
	border-bottom: 1px solid color-mix(in srgb, var(--color-border) 60%, transparent);
}
.sheet__brand { display: flex; align-items: center; }
.site-brand-text--mobile {
	font-family: var(--font-display);
	font-size: 1.25rem;
	line-height: 1.75rem;
	color: var(--color-foreground);
}
.sheet__close { padding: 0.25rem; transition: opacity 0.15s var(--ease-default); }
.sheet__close:hover { opacity: 0.6; }
.icon-sheet-close { width: 1.25rem; height: 1.25rem; }
.sheet__nav { flex: 1 1 0%; overflow-y: auto; overscroll-behavior: contain; padding: 0.75rem 0.5rem; }
.nav-list--mobile { display: flex; flex-direction: column; }
.mobile-item { border-bottom: 1px solid color-mix(in srgb, var(--color-border) 40%, transparent); }
.mobile-link {
	display: block;
	width: 100%;
	padding: 1rem 0.75rem;
	text-align: left;
	font-family: var(--font-display);
	font-size: 1.125rem;
	line-height: 1.75rem;
	color: var(--color-foreground);
}

/* ---------- Hero ---------- */
.hero {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	min-height: 100vh;
	min-height: 100dvh;
	overflow: hidden;
	background-color: var(--color-primary);
	padding: 7rem 1.5rem 3rem;
	color: var(--color-primary-foreground);
}
.hero-bg-img { animation: heroZoom 20s ease-in-out infinite; }
.hero-overlay { position: absolute; inset: 0; }
.hero-overlay--flat { background-color: color-mix(in srgb, var(--color-primary) 55%, transparent); }
.hero-overlay--gradient {
	background-image: linear-gradient(to bottom, color-mix(in srgb, var(--color-primary) 50%, transparent), color-mix(in srgb, var(--color-primary) 20%, transparent), color-mix(in srgb, var(--color-primary) 60%, transparent));
}
.hero-content {
	position: relative;
	z-index: 10;
	display: flex;
	flex-direction: column;
	align-items: center;
	width: 100%;
	max-width: 56rem;
	margin-left: auto;
	margin-right: auto;
	text-align: center;
}
.hero-title {
	max-width: 56rem;
	font-family: var(--font-display);
	font-size: var(--text-hero);
	line-height: 1.05;
	letter-spacing: 0;
	color: var(--color-primary-foreground);
}
.hero-subtitle {
	max-width: 42rem;
	margin-top: 1.5rem;
	font-family: var(--font-body);
	font-size: 1rem;
	line-height: 1.625;
	color: color-mix(in srgb, var(--color-primary-foreground) 90%, transparent);
}
.hero-actions {
	display: flex;
	flex-direction: column;
	justify-content: center;
	gap: 0.75rem;
	width: 100%;
	max-width: 24rem;
	margin-top: 2.25rem;
}
.hero-cta-primary,
.hero-cta-secondary,
.contact-email-btn,
.contact-message-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	height: 3rem;
	border-radius: 9999px;
	padding: 0 2rem;
	font-family: var(--font-body);
	font-size: 0.75rem;
	line-height: 1rem;
	letter-spacing: var(--tracking-button);
	text-transform: uppercase;
}
.hero-cta-primary {
	width: 100%;
	gap: 0.5rem;
	background-color: var(--color-highlight);
	color: var(--color-highlight-foreground);
	box-shadow: var(--shadow-elevated);
	transition: transform 0.3s var(--ease-default);
}
.hero-cta-primary:hover { transform: translateY(-0.125rem); }
.icon-cta-arrow { width: 1rem; height: 1rem; transition: transform 0.15s var(--ease-default); }
.hero-cta-primary:hover .icon-cta-arrow { transform: translateX(0.25rem); }
.hero-cta-secondary {
	width: 100%;
	border: 1px solid color-mix(in srgb, var(--color-primary-foreground) 60%, transparent);
	background-color: color-mix(in srgb, var(--color-primary) 20%, transparent);
	color: var(--color-primary-foreground);
	-webkit-backdrop-filter: blur(4px);
	backdrop-filter: blur(4px);
	transition: color 0.3s var(--ease-default), background-color 0.3s var(--ease-default);
}
.hero-cta-secondary:hover { background-color: var(--color-primary-foreground); color: var(--color-primary); }

.hero-anim { animation: heroRise 0.8s var(--transition-smooth) both; }
.hero-anim--title { --hero-rise: 24px; }
.hero-anim--text { --hero-rise: 20px; animation-delay: 0.12s; }
.hero-anim--actions { --hero-rise: 18px; animation-duration: 0.75s; animation-delay: 0.24s; }

@media (min-width: 640px) {
	.hero { padding-top: 8rem; padding-bottom: 4rem; }
	.hero-title { font-size: 3.75rem; line-height: 1; }
	.hero-actions { max-width: none; flex-direction: row; }
	.hero-cta-primary, .hero-cta-secondary { width: auto; }
}
@media (min-width: 768px) {
	.hero-title { font-size: 4.5rem; }
	.hero-subtitle { font-size: 1.125rem; line-height: 1.75rem; }
}
@media (min-width: 1024px) {
	.hero-title { font-size: var(--text-hero-lg); }
}

/* ---------- Sections ---------- */
.section--shop { background-color: var(--color-background); }
.section--about,
.section--offerings { background-color: color-mix(in srgb, var(--color-secondary) 40%, transparent); }
.section--author,
.section--faq { background-color: var(--color-background); }
.section--reviews { position: relative; overflow: hidden; background-color: var(--color-background); }
.section--contact {
	position: relative;
	overflow: hidden;
	padding-top: 6rem;
	padding-bottom: 6rem;
	background-color: var(--color-primary);
	color: var(--color-primary-foreground);
}
@media (min-width: 1024px) {
	.section--contact { padding-top: 8rem; padding-bottom: 8rem; }
}

/* Shop head and filter */
.shop-head {
	display: flex;
	flex-direction: column;
	gap: 1.5rem;
	margin-bottom: 2.5rem;
}
.shop-head__text { max-width: 42rem; }
.shop-filter { position: relative; width: 100%; }
.shop-filter__toggle {
	display: flex;
	align-items: center;
	justify-content: space-between;
	width: 100%;
	border: 1px solid var(--color-border);
	border-radius: var(--radius);
	background-color: var(--color-background);
	padding: 0.75rem 1rem;
	text-align: left;
	transition: color 0.15s var(--ease-default), border-color 0.15s var(--ease-default);
}
.shop-filter__toggle:hover { border-color: var(--color-primary); }
.shop-filter__labels { display: flex; flex-direction: column; align-items: flex-start; }
.shop-filter__eyebrow {
	font-size: 0.75rem;
	line-height: 1rem;
	letter-spacing: var(--tracking-button);
	text-transform: uppercase;
	color: var(--color-muted-foreground);
}
.shop-filter__value {
	margin-top: 0.125rem;
	font-size: 0.875rem;
	line-height: 1.25rem;
	color: var(--color-foreground);
}
.icon-filter-chevron { width: 1rem; height: 1rem; transition: transform 0.15s var(--ease-default); }
.shop-filter.is-open .icon-filter-chevron { transform: rotate(180deg); }
.shop-filter__list {
	position: absolute;
	top: 100%;
	left: 0;
	right: 0;
	z-index: 30;
	margin-top: 0.25rem;
	overflow: hidden;
	border: 1px solid var(--color-border);
	border-radius: var(--radius);
	background-color: var(--color-background);
	box-shadow: var(--shadow-lg);
	animation: fadeIn 0.8s var(--transition-smooth) forwards;
}
.shop-filter__option {
	display: flex;
	align-items: center;
	justify-content: space-between;
	width: 100%;
	padding: 0.625rem 1rem;
	text-align: left;
	font-family: var(--font-body);
	font-size: 0.875rem;
	line-height: 1.25rem;
	color: var(--color-foreground);
}
.shop-filter__option:hover { background-color: color-mix(in srgb, var(--color-secondary) 60%, transparent); }
.shop-filter__option.is-active { color: var(--color-accent); }
.icon-filter-check { display: none; width: 1rem; height: 1rem; }
.shop-filter__option.is-active .icon-filter-check { display: block; }

@media (min-width: 768px) {
	.shop-head { flex-direction: row; align-items: flex-end; justify-content: space-between; }
	.shop-filter { width: 16rem; }
}
@media (min-width: 1024px) {
	.shop-head { margin-bottom: 3.5rem; }
}

.shop-empty { text-align: center; color: var(--color-muted-foreground); font-family: var(--font-body); }

/* Product grid and card */
.theme-product-grid {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	align-items: stretch;
	gap: 1.5rem;
}
.theme-product-grid--related { column-gap: 2rem; row-gap: 3rem; }
@media (min-width: 640px) {
	.theme-product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 1024px) {
	.theme-product-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2rem; }
	.theme-product-grid--related { row-gap: 3rem; }
}
.product-grid-item { height: 100%; }
.product-grid-item.is-filtered-out { display: none; }
.theme-product-card-wrap { height: 100%; }
.theme-product-card { display: flex; flex-direction: column; height: 100%; }
.theme-product-card__image-wrapper {
	position: relative;
	aspect-ratio: 4 / 5;
	overflow: hidden;
	background-color: var(--color-muted);
}
.product-card-img { transition: transform 0.7s var(--ease-default); }
.theme-product-card:hover .product-card-img { transform: scale(1.03); }
.product-card-img.is-soldout { opacity: 0.6; }
.product-soldout-badge {
	position: absolute;
	top: 0.75rem;
	left: 0.75rem;
	padding: 0.25rem 0.625rem;
	background-color: var(--color-foreground);
	color: var(--color-background);
	font-family: var(--font-body);
	font-size: var(--text-badge);
	font-weight: 600;
	letter-spacing: 0.28em;
	text-transform: uppercase;
}
.theme-product-card__info { flex: 1; padding-top: 1rem; padding-bottom: 0.25rem; }
.product-card-title {
	font-family: var(--font-body);
	font-size: var(--text-body);
	font-weight: 600;
	letter-spacing: 0.025em;
	text-transform: uppercase;
	color: var(--color-foreground);
	transition: color 0.15s var(--ease-default);
}
.theme-product-card:hover .product-card-title { color: var(--color-primary); }
.product-card-price {
	display: flex;
	flex-wrap: wrap;
	gap: 0.25rem;
	margin-top: 0.5rem;
	font-family: var(--font-body);
	font-size: 0.875rem;
	line-height: 1.25rem;
	font-weight: 600;
	color: var(--color-foreground);
	font-variant-numeric: tabular-nums;
}
.product-card-price ins,
.product-price ins { order: -1; text-decoration: none; color: var(--color-accent); }
.product-card-price del,
.product-price del { font-weight: 400; color: var(--color-muted-foreground); text-decoration: line-through; }

/* About / Author */
.split {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	align-items: center;
	gap: 3rem;
}
@media (min-width: 1024px) {
	.split { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 4rem; }
}
.prose {
	margin-top: 1.5rem;
	font-family: var(--font-body);
	font-size: var(--text-body);
	line-height: 1.625;
	color: var(--color-muted-foreground);
}
.prose > * + * { margin-top: 1.25rem; }
.prose .prose__closing {
	font-family: var(--font-display);
	font-size: 1.125rem;
	line-height: 1.75rem;
	font-style: italic;
	color: var(--color-foreground);
}
@media (min-width: 768px) {
	.prose { font-size: 1rem; line-height: 1.5rem; }
}
.split__media { display: flex; align-items: center; justify-content: center; }
.about-img {
	width: 100%;
	max-width: 28rem;
	border: 1px solid var(--color-border);
	border-radius: 1rem;
	background-color: var(--color-background);
	object-fit: cover;
}
.author-media { order: 2; width: 100%; max-width: 28rem; margin-left: auto; margin-right: auto; }
.author-copy { order: 1; }
.author-img {
	width: 100%;
	border: 1px solid var(--color-border);
	border-radius: 1rem;
	object-fit: cover;
}
@media (min-width: 1024px) {
	.author-media { order: 1; max-width: none; }
	.author-copy { order: 2; }
}

/* Offerings */
.offerings-grid {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: 1.25rem;
}
@media (min-width: 768px) {
	.offerings-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (min-width: 1024px) {
	.offerings-grid { gap: 1.5rem; }
}
.offering-card {
	display: flex;
	flex-direction: column;
	height: 100%;
	border: 1px solid var(--color-border);
	border-radius: 0.75rem;
	background-color: var(--color-background);
	padding: 1.5rem;
}
@media (min-width: 1024px) { .offering-card { padding: 2rem; } }
.offering-card__icon {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 3rem;
	height: 3rem;
	border-radius: 9999px;
	background-color: color-mix(in srgb, var(--color-highlight) 20%, transparent);
	color: var(--color-highlight-foreground);
}
.icon-offering { width: 1.25rem; height: 1.25rem; }
.offering-title {
	margin-top: 1.25rem;
	font-family: var(--font-display);
	font-size: 1.25rem;
	line-height: 1.375;
	color: var(--color-foreground);
}
.offering-body {
	margin-top: 0.75rem;
	font-family: var(--font-body);
	font-size: 0.875rem;
	line-height: 1.625;
	color: var(--color-muted-foreground);
}
@media (min-width: 768px) {
	.offering-title { font-size: 1.5rem; line-height: 2rem; }
}

/* FAQ */
.faq-container { max-width: 48rem; }
.faq-list {
	margin-top: 2.5rem;
	border-top: 1px solid var(--color-border);
	border-bottom: 1px solid var(--color-border);
}
.faq-item + .faq-item { border-top: 1px solid var(--color-border); }
.faq-trigger {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	width: 100%;
	padding: 1.25rem 0;
	text-align: left;
	font-family: var(--font-display);
	font-size: 1.125rem;
	line-height: 1.75rem;
	color: var(--color-foreground);
}
.icon-faq-chevron { width: 1.25rem; height: 1.25rem; transition: transform 0.15s var(--ease-default); }
.faq-item.is-open .icon-faq-chevron { transform: rotate(180deg); }
.faq-answer {
	padding-bottom: 1.25rem;
	font-family: var(--font-body);
	font-size: var(--text-body);
	line-height: 1.625;
	color: var(--color-muted-foreground);
}
@media (min-width: 768px) { .faq-trigger { font-size: 1.25rem; } }

/* Reviews */
.icon-deco-star {
	position: absolute;
	pointer-events: none;
	color: color-mix(in srgb, var(--color-highlight) 10%, transparent);
}
.icon-deco-star--a { left: 6%; top: 4rem; width: 2.5rem; height: 2.5rem; }
.icon-deco-star--b { right: 8%; top: 8rem; width: 1.5rem; height: 1.5rem; }
.icon-deco-star--c { left: 12%; bottom: 5rem; width: 1.75rem; height: 1.75rem; }
.icon-deco-star--d { right: 5%; bottom: 8rem; width: 3rem; height: 3rem; }
.reviews-container { position: relative; }
.section-head--intro .section-intro { margin-top: 1rem; }

.reviews-grid { display: none; }
@media (min-width: 1024px) {
	.reviews-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.5rem; }
	.reviews-slider { display: none; }
}
.reviews-grid__item { height: 100%; }

.review-card {
	display: flex;
	flex-direction: column;
	height: 100%;
	border: 1px solid var(--color-border);
	border-radius: 0.75rem;
	background-color: color-mix(in srgb, var(--color-secondary) 40%, transparent);
	padding: 1.75rem;
}
@media (min-width: 1024px) { .review-card { padding: 2rem; } }
.review-card__top { display: flex; align-items: center; justify-content: space-between; }
.review-card__quote {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 2.25rem;
	height: 2.25rem;
	border: 1px solid var(--color-border);
	border-radius: 9999px;
	background-color: var(--color-background);
	color: var(--color-primary);
}
.icon-review-quote { width: 1rem; height: 1rem; }
.review-card__stars { display: flex; align-items: center; gap: 0.125rem; }
.icon-star {
	width: 0.875rem;
	height: 0.875rem;
	fill: color-mix(in srgb, var(--color-highlight) 70%, transparent);
	color: color-mix(in srgb, var(--color-highlight) 70%, transparent);
}
.review-card__text {
	flex: 1 1 0%;
	margin-top: 1.25rem;
	font-family: var(--font-display);
	font-size: var(--text-quote);
	font-style: italic;
	line-height: 1.625;
	color: color-mix(in srgb, var(--color-foreground) 90%, transparent);
}
.review-card__footer {
	margin-top: 1.5rem;
	padding-top: 1.25rem;
	border-top: 1px solid var(--color-border);
}
.review-label {
	font-family: var(--font-body);
	font-size: 0.75rem;
	line-height: 1rem;
	font-weight: 600;
	letter-spacing: var(--tracking-button);
	text-transform: uppercase;
	color: var(--color-foreground);
}
.review-product {
	margin-top: 0.375rem;
	font-family: var(--font-body);
	font-size: 0.75rem;
	line-height: 1.625;
	color: var(--color-muted-foreground);
}

.reviews-slider__viewport { position: relative; margin: 0 -1.5rem; overflow: hidden; padding: 0 1.5rem; }
.reviews-slider__clip { overflow: hidden; --review-slide-pct: 100%; }
.reviews-slider__track { display: flex; transition: transform 0.5s var(--transition-smooth); }
.reviews-slider__slide { flex-shrink: 0; width: 100%; padding: 0 0.5rem; }
@media (min-width: 768px) {
	.reviews-slider__viewport { margin: 0; padding: 0; }
	.reviews-slider__clip { --review-slide-pct: 50%; }
	.reviews-slider__slide { width: 50%; }
}
.reviews-slider__controls { display: flex; align-items: center; justify-content: center; gap: 1rem; margin-top: 2rem; }
.slider-arrow {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 2.5rem;
	height: 2.5rem;
	border: 1px solid var(--color-border);
	border-radius: 9999px;
	background-color: var(--color-background);
	color: var(--color-foreground);
	transition: color 0.15s var(--ease-default), background-color 0.15s var(--ease-default);
}
.slider-arrow:hover { background-color: var(--color-secondary); }
.icon-slider-arrow { width: 1.25rem; height: 1.25rem; }
.slider-dots { display: flex; align-items: center; gap: 0.5rem; }
.slider-dot {
	width: 0.5rem;
	height: 0.5rem;
	border-radius: 9999px;
	background-color: var(--color-border);
	transition: all 0.3s var(--ease-default);
}
.slider-dot:hover { background-color: color-mix(in srgb, var(--color-primary) 40%, transparent); }
.slider-dot.is-active { width: 1.5rem; background-color: var(--color-primary); }

.comment-box {
	max-width: 56rem;
	margin: 3.5rem auto 0;
	border: 1px solid var(--color-border);
	border-radius: 1rem;
	background-color: color-mix(in srgb, var(--color-secondary) 40%, transparent);
	padding: 1.5rem;
}
@media (min-width: 640px) { .comment-box { padding: 2rem; } }
.comment-form-title { font-family: var(--font-display); font-size: 1.5rem; line-height: 2rem; color: var(--color-foreground); }
.comment-form-intro {
	margin-top: 0.5rem;
	font-family: var(--font-body);
	font-size: 0.875rem;
	line-height: 1.625;
	color: var(--color-muted-foreground);
}
.comment-form { margin-top: 1.5rem; }
.comment-form > * + * { margin-top: 1rem; }
.comment-error { font-family: var(--font-body); font-size: 0.875rem; line-height: 1.25rem; color: var(--color-destructive); }
.comment-submit {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	height: 3rem;
	border-radius: 9999px;
	background-color: var(--color-primary);
	padding: 0 2rem;
	font-family: var(--font-body);
	font-size: 0.75rem;
	line-height: 1rem;
	letter-spacing: var(--tracking-button);
	text-transform: uppercase;
	color: var(--color-primary-foreground);
	transition: opacity 0.15s var(--ease-default);
}
.comment-submit:hover { opacity: 0.9; }
.comment-success {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	margin-top: 1.5rem;
	font-family: var(--font-body);
	font-size: 0.875rem;
	line-height: 1.25rem;
	color: var(--color-foreground);
}
.icon-comment-check { width: 1rem; height: 1rem; color: var(--color-highlight); }

/* Contact */
.contact-bg-img { z-index: 0; }
.contact-overlay { position: absolute; inset: 0; background-color: color-mix(in srgb, var(--color-primary) 60%, transparent); }
.contact-container { position: relative; z-index: 10; }
.contact-inner { max-width: 48rem; margin-left: auto; margin-right: auto; text-align: center; }
.section--contact .contact-eyebrow { margin-bottom: 1rem; color: color-mix(in srgb, var(--color-primary-foreground) 70%, transparent); }
.contact-intro {
	margin-top: 1.25rem;
	font-family: var(--font-body);
	font-size: var(--text-body);
	line-height: 1.625;
	color: color-mix(in srgb, var(--color-primary-foreground) 80%, transparent);
}
.contact-actions { display: flex; flex-direction: column; justify-content: center; gap: 0.75rem; margin-top: 2.5rem; }
.contact-email-btn {
	gap: 0.5rem;
	background-color: var(--color-accent);
	color: var(--color-accent-foreground);
	transition: opacity 0.15s var(--ease-default);
}
.contact-email-btn:hover { opacity: 0.9; }
.icon-contact-btn { width: 1rem; height: 1rem; }
.contact-message-btn {
	border: 1px solid color-mix(in srgb, var(--color-primary-foreground) 40%, transparent);
	color: var(--color-primary-foreground);
	transition: color 0.15s var(--ease-default), background-color 0.15s var(--ease-default);
}
.contact-message-btn:hover { background-color: var(--color-primary-foreground); color: var(--color-primary); }
.contact-details {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 1rem;
	margin-top: 2.5rem;
	font-family: var(--font-body);
	font-size: 0.875rem;
	line-height: 1.25rem;
	color: color-mix(in srgb, var(--color-primary-foreground) 85%, transparent);
}
.contact-details a { display: flex; align-items: center; gap: 0.5rem; }
.contact-details a:hover { color: var(--color-primary-foreground); }
.contact-details__email { word-break: break-all; }
.icon-contact-detail { width: 1rem; height: 1rem; }
@media (min-width: 640px) {
	.contact-actions { flex-direction: row; }
	.contact-details { flex-direction: row; gap: 2rem; }
}

/* ---------- Footer ---------- */
.site-footer { background-color: var(--color-foreground); color: var(--color-background); }
.site-footer__inner { padding-top: 4rem; padding-bottom: 4rem; }
@media (min-width: 1024px) { .site-footer__inner { padding-top: 5rem; padding-bottom: 5rem; } }
.footer-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 2.5rem; }
@media (min-width: 640px) { .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 768px) { .footer-grid { gap: 2rem; } }
@media (min-width: 1024px) { .footer-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.footer-brand > * + * { margin-top: 0.75rem; }
.footer-brand__link { display: flex; flex-direction: column; align-items: flex-start; }
.footer-brand-text { font-family: var(--font-display); font-size: 1.5rem; line-height: 2rem; color: var(--color-background); }
.footer-tagline {
	font-family: var(--font-body);
	font-size: 0.875rem;
	line-height: 1.625;
	color: color-mix(in srgb, var(--color-background) 70%, transparent);
}
.footer-heading {
	margin-bottom: 1.25rem;
	font-family: var(--font-body);
	font-size: 0.75rem;
	line-height: 1rem;
	font-weight: 600;
	letter-spacing: var(--tracking-eyebrow);
	text-transform: uppercase;
	color: color-mix(in srgb, var(--color-background) 60%, transparent);
}
.nav-list--footer { display: flex; flex-direction: column; gap: 0.75rem; }
.footer-link {
	font-family: var(--font-body);
	font-size: 0.875rem;
	line-height: 1.25rem;
	color: color-mix(in srgb, var(--color-background) 80%, transparent);
	transition: color 0.15s var(--ease-default);
}
.footer-link:hover { color: var(--color-background); }
.footer-contact-list { display: flex; flex-direction: column; gap: 0.75rem; margin-bottom: 1.25rem; }
.footer-contact-list li {
	font-family: var(--font-body);
	font-size: 0.875rem;
	line-height: 1.25rem;
}
.footer-contact-item {
	display: flex;
	align-items: flex-start;
	gap: 0.5rem;
	color: color-mix(in srgb, var(--color-background) 80%, transparent);
	transition: color 0.15s var(--ease-default);
}
.footer-contact-item:hover { color: var(--color-background); }
.footer-contact-list .contact-email-link { word-break: break-all; }
.icon-footer { width: 1rem; height: 1rem; margin-top: 0.125rem; }
.footer-bottom {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	margin-top: 3rem;
	padding-top: 1.5rem;
	border-top: 1px solid color-mix(in srgb, var(--color-background) 15%, transparent);
}
.footer-legal {
	font-family: var(--font-body);
	font-size: var(--text-eyebrow);
	font-weight: 600;
	letter-spacing: var(--tracking-eyebrow);
	text-transform: uppercase;
	color: color-mix(in srgb, var(--color-background) 55%, transparent);
}
.footer-legal a { text-decoration: none; transition: color 0.15s var(--ease-default); }
.footer-legal a:hover { color: var(--color-background); }
@media (min-width: 640px) { .footer-bottom { flex-direction: row; } }

/* ---------- Contact dialog ---------- */
.dialog {
	position: fixed;
	top: 50%;
	left: 50%;
	z-index: 50;
	display: grid;
	gap: 1rem;
	width: 100%;
	max-width: 32rem;
	max-height: 90vh;
	overflow-y: auto;
	border: 1px solid var(--color-border);
	border-radius: 0;
	background-color: var(--color-background);
	padding: 1.5rem;
	box-shadow: var(--shadow-lg);
	opacity: 0;
	visibility: hidden;
	pointer-events: none;
	transform: translate(-50%, -48%) scale(0.95);
	transition: opacity 0.2s ease-out, transform 0.2s ease-out, visibility 0s linear 0.2s;
}
body.dialog-open .dialog {
	opacity: 1;
	visibility: visible;
	pointer-events: auto;
	transform: translate(-50%, -50%) scale(1);
	transition: opacity 0.2s ease-out, transform 0.2s ease-out, visibility 0s;
}
.dialog__close { position: absolute; top: 1rem; right: 1rem; opacity: 0.7; transition: opacity 0.15s var(--ease-default); }
.dialog__close:hover { opacity: 1; }
.icon-dialog-close { width: 1rem; height: 1rem; }
.dialog__header { display: flex; flex-direction: column; gap: 0.375rem; text-align: center; }
.dialog .label-eyebrow { display: block; }
.dialog__header .label-eyebrow { margin-bottom: 0.5rem; }
.dialog__title {
	font-family: var(--font-display);
	font-size: 1.5rem;
	line-height: 1.25;
	font-weight: 600;
	letter-spacing: -0.025em;
}
.dialog__description {
	font-family: var(--font-body);
	font-size: var(--text-body);
	line-height: 1.625;
	color: var(--color-muted-foreground);
}
.dialog__contact {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	margin-top: 0.5rem;
	padding-top: 1rem;
	border-top: 1px solid var(--color-border);
	font-family: var(--font-body);
	font-size: 0.875rem;
	line-height: 1.25rem;
	color: var(--color-muted-foreground);
}
.dialog__contact a:hover { color: var(--color-foreground); }
.icon-dialog-mail { width: 1rem; height: 1rem; }
.dialog__form > * + * { margin-top: 1rem; }
.dialog__row { display: grid; grid-template-columns: minmax(0, 1fr); gap: 1rem; }
.dialog__row .label-eyebrow,
.dialog__form > div > .label-eyebrow { margin-bottom: 0.375rem; }
.dialog__actions { display: flex; justify-content: flex-end; }
.dialog__success { padding: 2rem 0; text-align: center; animation: dialogPop 0.4s ease-out both; }
.dialog__success-badge {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 3.5rem;
	height: 3.5rem;
	margin: 0 auto 1rem;
	border-radius: 9999px;
	background-color: var(--color-primary);
	animation: badgePop 0.5s cubic-bezier(0.34, 1.56, 0.64, 1) 0.15s both;
}
.icon-dialog-check { width: 1.75rem; height: 1.75rem; color: var(--color-primary-foreground); }
.modal-success-title { margin-bottom: 0.5rem; font-family: var(--font-display); font-size: 1.25rem; line-height: 1.75rem; }
.modal-success-text { font-family: var(--font-body); font-size: 0.875rem; line-height: 1.25rem; color: var(--color-muted-foreground); }
@media (min-width: 640px) {
	.dialog__header { text-align: left; }
	.dialog__row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* ---------- Cart drawer ---------- */
#theme-cart-overlay {
	position: fixed;
	inset: 0;
	z-index: 50;
	display: block;
	opacity: 0;
	visibility: hidden;
	pointer-events: none;
	background-color: color-mix(in srgb, var(--color-foreground) 30%, transparent);
	transition: opacity 0.3s var(--ease-default), visibility 0s linear 0.3s;
}
#theme-cart-drawer {
	position: fixed;
	top: 0;
	right: 0;
	z-index: 50;
	display: flex;
	flex-direction: column;
	width: 100%;
	max-width: 32rem;
	height: 100%;
	background-color: var(--color-background);
	box-shadow: var(--shadow-elevated);
	transform: translateX(100%);
	visibility: hidden;
	pointer-events: none;
	transition: transform 0.45s var(--transition-smooth), visibility 0s linear 0.45s;
}
body.cart-open #theme-cart-overlay {
	opacity: 1;
	visibility: visible;
	pointer-events: auto;
	transition: opacity 0.3s var(--ease-default), visibility 0s;
}
body.cart-open #theme-cart-drawer {
	transform: translateX(0);
	visibility: visible;
	pointer-events: auto;
	transition: transform 0.45s var(--transition-smooth), visibility 0s;
}
#theme-cart-drawer.is-updating { opacity: 0.85; pointer-events: none; }

.cart-drawer__header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 2rem 2rem 1.25rem;
	border-bottom: 1px solid var(--color-border);
}
.cart-title { font-family: var(--font-display); font-size: 1.5rem; line-height: 2rem; font-style: italic; }
.cart-drawer__close { padding: 0.25rem; transition: opacity 0.15s var(--ease-default); }
.cart-drawer__close:hover { opacity: 0.6; }
.icon-cart-close { width: 1.25rem; height: 1.25rem; }
.cart-drawer__empty {
	display: flex;
	flex: 1 1 0%;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	padding: 2rem;
	text-align: center;
}
.icon-cart-empty { width: 3rem; height: 3rem; margin-bottom: 1.25rem; color: var(--color-muted-foreground); }
.cart-empty-text { margin-bottom: 1.5rem; font-family: var(--font-body); color: var(--color-muted-foreground); }
.cart-drawer__body { flex: 1 1 0%; overflow: auto; padding: 1.5rem 2rem; }
.cart-drawer__body > * + * { margin-top: 2rem; }
.cart-item { display: flex; gap: 1.25rem; }
.cart-item__thumb { position: relative; display: block; flex-shrink: 0; width: 6rem; height: 8rem; overflow: hidden; background-color: var(--color-secondary); }
.cart-item__info { display: flex; flex: 1 1 0%; flex-direction: column; min-width: 0; }
.cart-item__name {
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
	font-family: var(--font-body);
	font-size: 0.75rem;
	line-height: 1rem;
	letter-spacing: 0.22em;
	text-transform: uppercase;
	color: var(--color-foreground);
	transition: opacity 0.15s var(--ease-default);
}
.cart-item__name:hover { opacity: 0.7; }
.cart-item__meta.meta {
	margin-top: 0.375rem;
	padding: 0;
	list-style: none;
	font-family: var(--font-body);
	font-size: 0.75rem;
	line-height: 1rem;
	color: var(--color-muted-foreground);
}
.cart-item__meta .meta__item + .meta__item { margin-top: 0.125rem; }
.cart-item__meta .meta__label { font-style: normal; }
.cart-item__meta .meta__value { font-style: italic; }
.cart-item__price { margin-top: 0.375rem; font-family: var(--font-body); font-size: 0.875rem; line-height: 1.25rem; }
.cart-item__controls { display: flex; align-items: center; justify-content: space-between; margin-top: auto; padding-top: 1rem; }
.cart-qty { display: flex; align-items: center; border: 1px solid var(--color-border); }
.cart-qty__btn { padding: 0.375rem 0.625rem; transition: background-color 0.15s var(--ease-default); }
.cart-qty__btn:hover { background-color: var(--color-secondary); }
.icon-qty { width: 0.75rem; height: 0.75rem; }
.cart-qty__value { min-width: 28px; padding: 0 0.75rem; text-align: center; font-family: var(--font-body); font-size: 0.875rem; line-height: 1.25rem; }
.cart-item__remove {
	font-family: var(--font-body);
	font-size: 0.75rem;
	line-height: 1rem;
	color: var(--color-muted-foreground);
	text-decoration: underline;
	text-underline-offset: 4px;
	transition: color 0.15s var(--ease-default);
}
.cart-item__remove:hover { color: var(--color-foreground); }
.cart-pair { padding-top: 1rem; border-top: 1px solid var(--color-border); }
.cart-pair-title { margin-bottom: 1rem; font-family: var(--font-display); font-size: 1.125rem; line-height: 1.75rem; }
.cart-pair__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.75rem; }
.theme-pair-item { display: block; flex-shrink: 0; width: 8rem; text-align: left; }
.theme-pair-item__img { position: relative; display: block; aspect-ratio: 3 / 4; margin-bottom: 0.5rem; overflow: hidden; background-color: var(--color-secondary); }
.theme-pair-item__photo { transition: transform 0.7s var(--ease-default); }
.theme-pair-item:hover .theme-pair-item__photo { transform: scale(1.05); }
.theme-pair-item__name {
	display: -webkit-box;
	-webkit-line-clamp: 1;
	-webkit-box-orient: vertical;
	overflow: hidden;
	font-family: var(--font-body);
	font-size: 0.75rem;
	line-height: 1rem;
	letter-spacing: var(--tracking-button);
	text-transform: uppercase;
}
.theme-pair-item__price { display: block; margin-top: 0.125rem; font-family: var(--font-body); font-size: 0.75rem; line-height: 1rem; color: var(--color-muted-foreground); }
.theme-pair-item.theme-btn-loading { opacity: 0.6; pointer-events: none; cursor: wait; }
.cart-drawer__footer { padding: 1.5rem 2rem; border-top: 1px solid var(--color-border); }
.cart-drawer__footer > * + * { margin-top: 1rem; }
.cart-subtotal { display: flex; align-items: baseline; justify-content: space-between; font-family: var(--font-display); font-size: 1.25rem; line-height: 1.75rem; }
.cart-taxes-note { font-family: var(--font-body); font-size: 0.75rem; line-height: 1rem; color: var(--color-muted-foreground); }
.cart-checkout-label { height: 3rem; }

/* ---------- Single product ---------- */
.site-main--product { padding-top: 6rem; background-color: var(--color-background); }
.theme-product-layout {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	align-items: start;
	min-width: 0;
}
.theme-product-gallery,
.theme-product-info { min-width: 0; max-width: 100%; }
.theme-product-gallery { position: relative; background-color: var(--color-background); }
.theme-product-gallery__row { display: flex; }
.theme-product-thumbnails--rail {
	display: none;
	flex-direction: column;
	gap: 0.75rem;
	padding: 1rem;
	background-color: color-mix(in srgb, var(--color-background) 40%, transparent);
}
.theme-thumb {
	position: relative;
	width: 3.5rem;
	height: 3.5rem;
	overflow: hidden;
	border: 1px solid transparent;
	opacity: 0.6;
	transition: all 0.15s var(--ease-default);
}
.theme-thumb:hover { opacity: 1; }
.theme-thumb.is-active { border-color: var(--color-foreground); opacity: 1; }
.theme-product-thumbnails--strip { display: flex; flex-wrap: nowrap; gap: 0.5rem; max-width: 100%; padding: 1rem; overflow-x: auto; }
.theme-product-thumbnails--strip .theme-thumb { flex-shrink: 0; width: 4rem; height: 4rem; }
.theme-product-thumbnails--strip .theme-thumb:hover { opacity: 0.6; }
.theme-product-thumbnails--strip .theme-thumb.is-active:hover { opacity: 1; }
.theme-product-main { display: flex; flex: 1 1 0%; align-items: flex-start; justify-content: center; min-width: 0; padding: 1rem; }
.product-main-img {
	width: 100%;
	height: auto;
	max-height: 70svh;
	object-fit: contain;
	object-position: top;
}
.theme-product-info { padding: 2.5rem 1.5rem; }

.product-back {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.5rem;
	margin-bottom: 1.75rem;
	padding: 0.25rem 0;
	font-family: var(--font-body);
	font-size: 0.75rem;
	line-height: 1rem;
	font-weight: 500;
	letter-spacing: var(--tracking-button);
	text-transform: uppercase;
	white-space: nowrap;
	color: var(--color-muted-foreground);
	transition: color 0.3s var(--ease-default);
}
.product-back:hover { color: var(--color-foreground); }
.icon-back { width: 1rem; height: 1rem; margin-right: 0.5rem; }
.product-crumbs {
	margin-bottom: 1.5rem;
	font-family: var(--font-body);
	font-size: 0.75rem;
	line-height: 1rem;
	letter-spacing: var(--tracking-button-wide);
	text-transform: uppercase;
	color: var(--color-muted-foreground);
}
.product-crumbs a { transition: color 0.15s var(--ease-default); }
.product-crumbs a:hover { color: var(--color-foreground); }
.product-crumbs__sep { margin: 0 0.5rem; }
.product-title {
	font-family: var(--font-body);
	font-size: var(--text-body);
	line-height: 1.5;
	letter-spacing: 0.22em;
	text-transform: uppercase;
	color: var(--color-foreground);
}
.product-divider { height: 1px; margin: 1.75rem 0; background-color: var(--color-border); }
.product-price { font-family: var(--font-body); font-size: 1.125rem; line-height: 1.75rem; color: var(--color-foreground); }
.product-price .price { font-size: inherit; }
.product-note {
	margin-top: 1.75rem;
	padding: 1rem 1.25rem;
	background-color: color-mix(in srgb, var(--color-secondary) 70%, transparent);
	font-family: var(--font-body);
	font-size: var(--text-small);
	line-height: 1.625;
	color: color-mix(in srgb, var(--color-foreground) 85%, transparent);
}
.product-cta { margin-top: 2rem; }
.single-product .variations,
.single-product .variations tbody,
.single-product .variations tr,
.single-product .variations td { display: block; width: 100%; }
.single-product .variations { margin-bottom: 2rem; }
.single-product .variations td.label { padding-bottom: 0.75rem; }
.single-product .variations td.value { padding-top: 0; }
.single-product .variations label {
	font-family: var(--font-body);
	font-style: normal;
	font-size: 0.75rem;
	line-height: 1rem;
	letter-spacing: var(--tracking-button-wide);
	text-transform: uppercase;
	color: var(--color-muted-foreground);
}
.theme-attr-select-hidden { display: none !important; }
.theme-attr-pills { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.theme-attr-pill {
	min-width: 56px;
	padding: 0.625rem 1rem;
	border: 1px solid var(--color-border);
	font-family: var(--font-body);
	font-size: 0.75rem;
	line-height: 1rem;
	letter-spacing: 0.05em;
	transition: all 0.15s var(--ease-default);
}
.theme-attr-pill:hover { border-color: var(--color-foreground); }
.theme-attr-pill.is-selected { border-color: var(--color-foreground); background-color: var(--color-foreground); color: var(--color-background); }
.theme-attr-pill:disabled { opacity: 0.4; cursor: not-allowed; }

.single-product .theme-add-to-cart-area { display: flex; align-items: stretch; flex-wrap: wrap; gap: 0.75rem; }
.single_add_to_cart_button.button {
	display: inline-flex;
	flex: 1 1 100%;
	align-items: center;
	justify-content: center;
	gap: 0.5rem;
	width: 100%;
	min-width: 160px;
	height: 3.5rem;
	border: 1px solid var(--color-foreground);
	border-radius: 0;
	background-color: var(--color-foreground);
	color: var(--color-background);
	font-family: var(--font-body);
	font-size: 0.75rem;
	line-height: 1rem;
	font-weight: 500;
	letter-spacing: var(--tracking-button-wide);
	text-transform: none;
	white-space: nowrap;
	cursor: pointer;
	transition: all 0.3s var(--ease-default);
}
.single-product .single_add_to_cart_button.button { text-transform: uppercase; }
.single_add_to_cart_button.button:hover { background-color: var(--color-primary); color: var(--color-primary-foreground); }
.single_add_to_cart_button.button:active { transform: scale(0.98); }
.single_add_to_cart_button.button:disabled,
.single_add_to_cart_button.button.disabled,
.single_add_to_cart_button.button.is-added {
	cursor: not-allowed;
	opacity: 0.5;
	pointer-events: none;
}
.single_add_to_cart_button.button:disabled:hover,
.single_add_to_cart_button.button.disabled:hover { background-color: var(--color-foreground); color: var(--color-background); }
.single_add_to_cart_button .icon-check { width: 1rem; height: 1rem; }
.single_add_to_cart_button.is-added .product-add-label { display: inline-flex; align-items: center; gap: 0.5rem; }
.single-product .single_add_to_cart_button.loading::after,
.ajax_add_to_cart.loading::after { display: none !important; }
.ajax_add_to_cart.theme-btn-loading { opacity: 0.6; pointer-events: none; cursor: wait; }
a.added_to_cart.wc-forward,
.woocommerce-page a.added_to_cart.wc-forward,
.single-product a.added_to_cart.wc-forward { display: none !important; }
.single-product .woocommerce-message,
.single-product .woocommerce-info,
#theme-cart-drawer .woocommerce-message { display: none; }

.single-product .woocommerce-product-details__short-description,
.single-product .woocommerce-variation-description,
.single-product .posted_in { overflow-wrap: break-word; word-break: break-word; }
.single-product .woocommerce-variation { margin-bottom: 1rem; font-family: var(--font-body); font-size: 0.875rem; }

.product-details { margin-top: 3rem; }
.product-details-heading {
	margin-bottom: 1.25rem;
	font-family: var(--font-body);
	font-size: 0.75rem;
	line-height: 1rem;
	letter-spacing: var(--tracking-button-wide);
	text-transform: uppercase;
	color: var(--color-foreground);
}
.product-description {
	font-family: var(--font-display);
	font-size: var(--text-lead);
	line-height: 1.55;
	color: color-mix(in srgb, var(--color-foreground) 90%, transparent);
	white-space: pre-line;
}
.woocommerce-product-details__short-description {
	margin-top: 1.5rem;
	font-family: var(--font-body);
	font-size: var(--text-detail);
	color: color-mix(in srgb, var(--color-foreground) 80%, transparent);
}
.woocommerce-product-details__short-description li { line-height: 1.625; }
.woocommerce-product-details__short-description li + li { margin-top: 0.625rem; }

.related-products-section {
	margin-top: 3rem;
	padding-top: 6rem;
	padding-bottom: 6rem;
	border-top: 1px solid var(--color-border);
}
.related-head { display: flex; align-items: flex-end; justify-content: space-between; margin-bottom: 3rem; }
.related-title { font-family: var(--font-display); font-size: 1.875rem; line-height: 1.25; }
.related-title-em { font-style: italic; }
@media (min-width: 768px) {
	.site-main--product .theme-product-main { padding: 1.5rem; }
	.theme-product-thumbnails--rail { display: flex; padding: 1rem; }
	.theme-product-thumbnails--strip { display: none; }
	.theme-product-info { padding-left: 2.5rem; padding-right: 2.5rem; }
	.related-title { font-size: 2.25rem; line-height: 2.5rem; }
}
@media (min-width: 1024px) {
	.site-main--product { padding-top: 7rem; }
	.theme-product-layout { grid-template-columns: minmax(0, 1fr) 440px; }
	.theme-product-gallery { position: sticky; top: 7rem; align-self: start; }
	.theme-product-thumbnails--rail { padding: 1.5rem; }
	.theme-thumb { width: 4rem; height: 4rem; }
	.theme-product-main { height: calc(100svh - 7rem); padding: 2rem; }
	.product-main-img { height: 100%; max-height: none; }
	.theme-product-info { padding: 4rem 3rem; }
}
@media (min-width: 1280px) {
	.theme-product-layout { grid-template-columns: minmax(0, 1fr) 500px; }
}

/* ---------- Archive ---------- */
.site-main--archive { padding-top: var(--header-height); }

/* ---------- 404 ---------- */
.notfound {
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 100vh;
	background-color: var(--color-muted);
}
.notfound-inner { text-align: center; }
.notfound-code { margin-bottom: 1rem; font-family: var(--font-display); font-size: 2.25rem; line-height: 2.5rem; font-weight: 700; }
.notfound-text { margin-bottom: 1rem; font-size: 1.25rem; line-height: 1.75rem; color: var(--color-muted-foreground); }
.notfound-link { color: var(--color-primary); text-decoration: underline; }
.notfound-link:hover { color: color-mix(in srgb, var(--color-primary) 90%, transparent); }

/* ---------- Generic pages, cart and checkout ---------- */
.site-main--page { min-height: 100vh; padding-top: 10rem; padding-bottom: 4rem; }
.page-wrap { padding-top: 2.5rem; padding-bottom: 2.5rem; }
.page-title {
	margin-bottom: 2.5rem;
	font-family: var(--font-display);
	font-size: 1.875rem;
	line-height: 2.25rem;
	font-weight: 700;
}
@media (min-width: 768px) { .page-title { font-size: 2.25rem; line-height: 2.5rem; } }
@media (min-width: 1024px) { .site-main--page { padding-top: 11rem; } }
.entry-content { max-width: 100%; font-family: var(--font-body); }

/* ---------- Checkout (WC Blocks) ---------- */
body.woocommerce-checkout .theme-checkout-main,
body.woocommerce-checkout .site-main.site-main--page.theme-checkout-main {
	padding-top: 0;
	padding-bottom: 0;
}
body.woocommerce-checkout .site-footer {
	position: relative;
	z-index: 2;
}
.theme-checkout-shell {
	width: 100%;
	max-width: var(--checkout-max-width);
	margin-inline: auto;
	padding-top: calc(var(--header-height) + 0.5rem);
	padding-bottom: 4rem;
	padding-inline: 1.5rem;
	box-sizing: border-box;
}
@media (min-width: 1024px) {
	.theme-checkout-shell { padding-inline: 2.5rem; }
}
.theme-checkout-header {
	width: 100%;
	max-width: none;
	margin-inline: 0;
	margin-bottom: 0;
	padding-inline: 0;
	box-sizing: border-box;
}
.checkout-continue-link {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	margin-bottom: 1rem;
	font-family: var(--font-body);
	font-size: 0.875rem;
	line-height: 1.25rem;
	color: var(--color-muted-foreground);
	transition: color 0.15s var(--ease-default);
}
.checkout-continue-link:hover { color: var(--color-foreground); }
.icon-checkout-back { width: 1rem; height: 1rem; flex-shrink: 0; }
.theme-checkout-title {
	margin: 0;
	font-family: var(--font-display);
	font-size: 1.875rem;
	line-height: 2.25rem;
	font-weight: 700;
	color: var(--color-foreground);
}
@media (min-width: 768px) {
	.theme-checkout-title { font-size: 2.25rem; line-height: 2.5rem; }
}
.theme-checkout-intro {
	margin: 0.75rem 0 0;
	font-family: var(--font-body);
	font-size: var(--text-body);
	line-height: 1.6;
	color: var(--color-muted-foreground);
}
body.woocommerce-checkout .theme-checkout-main .entry-content,
.entry-content:has(.wc-block-checkout) {
	margin-top: 20px;
	padding-top: 0;
	max-width: none;
	width: 100%;
}
body.woocommerce-checkout .theme-checkout-main .entry-content > .wc-block-checkout,
body.woocommerce-checkout .theme-checkout-main .entry-content > .wp-block-woocommerce-checkout,
.entry-content > .wc-block-checkout:first-child,
.entry-content > .wp-block-woocommerce-checkout:first-child {
	margin-top: 0;
}
body.woocommerce-checkout .wc-block-checkout,
body.woocommerce-checkout .wp-block-woocommerce-checkout,
.entry-content .wc-block-checkout,
.entry-content .wp-block-woocommerce-checkout {
	max-width: none;
	width: 100%;
	min-width: 0;
	margin-inline: 0;
	margin-top: 0;
	padding-top: 0;
	padding-inline: 0;
	box-sizing: border-box;
}
body.woocommerce-checkout .wc-block-checkout.alignwide,
.entry-content .wc-block-checkout.alignwide {
	margin-top: 0;
	margin-inline: 0;
	max-width: none;
	width: 100%;
}
body.woocommerce-checkout .wc-block-checkout__main,
body.woocommerce-checkout .wc-block-components-main,
.entry-content .wc-block-checkout__main,
.entry-content .wc-block-components-main {
	margin-top: 0;
	margin-inline: 0;
	padding-top: 0;
	padding-inline: 0;
}
body.woocommerce-checkout .wc-block-checkout__form,
body.woocommerce-checkout .wc-block-components-form,
body.woocommerce-checkout .wp-block-woocommerce-checkout-fields-block,
.entry-content .wc-block-checkout__form,
.entry-content .wc-block-components-form,
.entry-content .wp-block-woocommerce-checkout-fields-block {
	margin-inline: 0 !important;
	padding-inline: 0 !important;
}
body.woocommerce-checkout .wc-block-checkout .wc-block-components-sidebar-layout,
body.woocommerce-checkout .wc-block-checkout .wc-block-checkout-sidebar-layout,
.entry-content .wc-block-checkout .wc-block-components-sidebar-layout,
.entry-content .wc-block-checkout .wc-block-checkout-sidebar-layout {
	margin-top: 0;
	padding-top: 0;
}
body.woocommerce-checkout .wc-block-checkout > .wc-block-components-notices:empty,
.entry-content .wc-block-checkout > .wc-block-components-notices:empty {
	display: none;
	margin: 0;
	padding: 0;
}
body.woocommerce-checkout .wc-block-components-notices,
.entry-content .wc-block-components-notices {
	max-width: none;
	width: 100%;
	margin-inline: 0;
	margin-top: 0;
	padding-top: 0;
	padding-inline: 0;
	margin-bottom: var(--checkout-gap);
	box-sizing: border-box;
}
@media (min-width: 768px) {
	body.woocommerce-checkout .wc-block-checkout .wc-block-components-sidebar-layout,
	body.woocommerce-checkout .wc-block-checkout .wc-block-checkout-sidebar-layout,
	.entry-content .wc-block-checkout .wc-block-components-sidebar-layout,
	.entry-content .wc-block-checkout .wc-block-checkout-sidebar-layout {
		display: grid !important;
		grid-template-columns: 1fr minmax(360px, 400px);
		gap: var(--checkout-gap);
		align-items: start;
		flex-direction: unset;
		flex-wrap: nowrap;
		margin: 0;
	}
	body.woocommerce-checkout .wc-block-checkout .wc-block-components-sidebar-layout .wc-block-checkout__main,
	body.woocommerce-checkout .wc-block-checkout .wc-block-components-sidebar-layout .wc-block-components-main,
	body.woocommerce-checkout .wc-block-checkout .wc-block-components-sidebar-layout .wc-block-checkout__sidebar,
	body.woocommerce-checkout .wc-block-checkout .wc-block-components-sidebar-layout .wc-block-components-sidebar,
	.entry-content .wc-block-checkout .wc-block-components-sidebar-layout .wc-block-checkout__main,
	.entry-content .wc-block-checkout .wc-block-components-sidebar-layout .wc-block-components-main,
	.entry-content .wc-block-checkout .wc-block-components-sidebar-layout .wc-block-checkout__sidebar,
	.entry-content .wc-block-checkout .wc-block-components-sidebar-layout .wc-block-components-sidebar {
		width: auto !important;
		max-width: 100%;
		min-width: 0;
		margin: 0 !important;
		padding: 0 !important;
		box-sizing: border-box;
	}
	body.woocommerce-checkout .wc-block-checkout:has(> .wc-block-checkout__main):has(> .wc-block-checkout__sidebar),
	.entry-content .wc-block-checkout:has(> .wc-block-checkout__main):has(> .wc-block-checkout__sidebar) {
		display: grid;
		grid-template-columns: 1fr minmax(360px, 400px);
		gap: var(--checkout-gap);
		align-items: start;
	}
	body.woocommerce-checkout .wc-block-checkout > .wc-block-components-notices,
	.entry-content .wc-block-checkout > .wc-block-components-notices {
		grid-column: 1 / -1;
	}
	body.woocommerce-checkout .wc-block-components-notice-banner,
	.entry-content .wc-block-components-notice-banner {
		grid-column: 1 / -1;
	}
}
body.woocommerce-checkout .wc-block-checkout__sidebar,
body.woocommerce-checkout .wc-block-components-sidebar,
body.woocommerce-checkout .wp-block-woocommerce-checkout-totals-block,
.entry-content .wc-block-checkout__sidebar,
.entry-content .wc-block-components-sidebar,
.entry-content .wp-block-woocommerce-checkout-totals-block {
	background: none;
	border-radius: 0;
	padding: 0;
}
body.woocommerce-checkout .wp-block-woocommerce-checkout-order-summary-block,
.entry-content .wp-block-woocommerce-checkout-order-summary-block {
	width: 100%;
	background-color: var(--color-secondary);
	border-radius: var(--radius);
	padding: 1.5rem;
	box-sizing: border-box;
}
body.woocommerce-checkout .wc-block-checkout-empty,
.entry-content .wc-block-checkout-empty {
	margin-inline: auto;
	max-width: 36rem;
	width: 100%;
	text-align: center;
	display: flex;
	flex-direction: column;
	align-items: center;
}
body.woocommerce-checkout .wc-block-checkout,
body.woocommerce-cart .wp-block-woocommerce-cart,
.entry-content .wc-block-checkout {
	font-family: var(--font-body);
	color: var(--color-foreground);
}
body.woocommerce-checkout .wc-block-components-title,
body.woocommerce-checkout .wc-block-components-checkout-step__title,
body.woocommerce-checkout .wc-block-components-order-summary__button-text,
.entry-content .wc-block-components-title,
.entry-content .wc-block-components-checkout-step__title,
.entry-content .wc-block-components-order-summary__button-text {
	font-family: var(--font-display);
	color: var(--color-foreground);
}
body.woocommerce-checkout .wc-block-components-text-input input,
body.woocommerce-checkout .wc-block-components-select select,
body.woocommerce-checkout .wc-block-components-textarea textarea,
body.woocommerce-checkout .wc-blocks-components-select .wc-blocks-components-select__select,
.entry-content .wc-block-components-text-input input,
.entry-content .wc-block-components-select select,
.entry-content .wc-block-components-textarea textarea,
.entry-content .wc-blocks-components-select .wc-blocks-components-select__select {
	width: 100% !important;
	max-width: none !important;
	border: 1px solid var(--color-border);
	border-radius: 0;
	background-color: var(--color-background);
	color: var(--color-foreground);
	font-family: var(--font-body);
	font-size: 0.875rem;
}
body.woocommerce-checkout .wc-block-components-text-input input { padding: revert; }
body.woocommerce-checkout .wc-block-components-text-input input:focus,
body.woocommerce-checkout .wc-block-components-select select:focus,
body.woocommerce-checkout .wc-block-components-textarea textarea:focus {
	border-color: var(--color-primary);
	outline: none;
	box-shadow: none;
}
body.woocommerce-checkout .wc-block-components-text-input label,
body.woocommerce-checkout .wc-block-components-select label { color: var(--color-muted-foreground); font-family: var(--font-body); }
body.woocommerce-checkout .wc-block-components-checkout-place-order-button,
body.woocommerce-cart .wc-block-cart__submit-button {
	height: 3rem;
	border: 1px solid var(--color-primary);
	border-radius: 0;
	background-color: var(--color-primary);
	color: var(--color-primary-foreground);
	font-family: var(--font-body);
	font-size: 0.75rem;
	font-weight: 500;
	letter-spacing: var(--tracking-button-wide);
	text-transform: uppercase;
	transition: all 0.3s var(--ease-default);
}
body.woocommerce-checkout .wc-block-components-checkout-place-order-button:hover,
body.woocommerce-cart .wc-block-cart__submit-button:hover {
	background-color: var(--color-background);
	color: var(--color-primary);
}
body.woocommerce-checkout .wc-block-components-notice-banner,
.woocommerce-error,
.woocommerce-message,
.woocommerce-info {
	border: 1px solid var(--color-border);
	border-radius: var(--radius);
	background-color: var(--color-secondary);
	color: var(--color-foreground);
	font-family: var(--font-body);
	font-size: 0.875rem;
	padding: 0.75rem 1rem;
	margin-bottom: 1rem;
	list-style: none;
}
.woocommerce-error { border-color: var(--color-destructive); }
body.woocommerce-checkout .wc-block-cart-items,
body.woocommerce-checkout .wc-block-components-order-summary,
.entry-content .wc-block-cart-items,
.entry-content .wc-block-components-order-summary { color: var(--color-foreground); }

/* Thank-you page */
body.theme-thankyou-page { overflow-x: clip; }
body.theme-thankyou-page .woocommerce-order { font-family: var(--font-body); color: var(--color-foreground); }
body.theme-thankyou-page .woocommerce-order-overview {
	display: flex;
	flex-wrap: wrap;
	gap: 1rem 2rem;
	margin: 0 0 2rem;
	padding: 1.25rem;
	border: 1px solid var(--color-border);
	background-color: var(--color-secondary);
	list-style: none;
}
body.theme-thankyou-page .woocommerce-order-overview li { font-size: 0.875rem; color: var(--color-muted-foreground); }
body.theme-thankyou-page .woocommerce-order-overview li strong { display: block; color: var(--color-foreground); }
body.theme-thankyou-page .woocommerce-order h2,
body.theme-thankyou-page .woocommerce-order-details__title {
	padding: 0 0 1rem;
	font-family: var(--font-display);
	font-size: 1.5rem;
}
body.theme-thankyou-page .woocommerce-order-details table {
	width: 100%;
	table-layout: fixed;
	border: 1px solid var(--color-border);
}
body.theme-thankyou-page .woocommerce-order-details th,
body.theme-thankyou-page .woocommerce-order-details td { padding: 0.75rem 1rem; border-bottom: 1px solid var(--color-border); text-align: left; }
body.theme-thankyou-page .woocommerce-order-details tfoot th { text-align: left; }
body.theme-thankyou-page .woocommerce-order-details tfoot td { text-align: right; }
body.theme-thankyou-page .woocommerce-customer-details { display: flex; flex-direction: column; gap: 1.5rem; margin-top: 2rem; }
body.theme-thankyou-page .woocommerce-customer-details address { max-width: 480px; overflow-wrap: break-word; font-style: normal; }

/* ---------- Motion ---------- */
.reveal-item {
	opacity: 0;
	transform: translateY(28px);
	transition: opacity 0.7s var(--transition-smooth), transform 0.7s var(--transition-smooth);
}
.reveal-item.is-visible { opacity: 1; transform: none; }
body.is-customizer .reveal-item,
body.is-customizer .reveal-item.is-visible { opacity: 1; transform: none; transition: none; }

@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes slideUp { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: translateY(0); } }
@keyframes heroZoom { 0% { transform: scale(1); } 50% { transform: scale(1.08); } 100% { transform: scale(1); } }
@keyframes heroRise { from { opacity: 0; transform: translateY(var(--hero-rise, 24px)); } to { opacity: 1; transform: translateY(0); } }
@keyframes dialogPop { from { opacity: 0; transform: scale(0.95); } to { opacity: 1; transform: scale(1); } }
@keyframes badgePop { from { transform: scale(0); } to { transform: scale(1); } }

/* Smooth-scroll engine support */
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }
