/* Countryside Elderberry theme styles. Colour tokens are re-emitted from the Customizer via inline CSS. */

:root {
	--color-background: #f9f6f0;
	--color-foreground: #2e1c36;
	--color-card: #fcfaf8;
	--color-primary: #492259;
	--color-accent: #e49825;
	--color-secondary: #f1ece4;
	--color-border: #d9d2c9;
	--color-muted: #eae5dc;
	--color-muted-foreground: #66556d;
	--color-bone: #e6e0d6;
	--color-destructive: #b82e2e;
	--color-accent-foreground: #341f3d;
	--dark-background: #27142e;
	--dark-accent: #eaab3e;
	--dark-card: #341f3d;
	--dark-secondary: #3e2a47;
	--dark-muted: #4d3b54;
	--dark-muted-foreground: #d8cfc0;
	--dark-border: #584360;
	--color-primary-foreground: var(--color-background);
	--color-ivory: var(--color-background);
	--color-linen: var(--color-secondary);
	--cream: var(--color-background);
	--radius: 0.5rem;
	--logo-height: 64%;
	--header-height: 6rem;
	--font-display: 'Bodoni Moda', 'Times New Roman', serif;
	--font-body: 'Inter', system-ui, -apple-system, sans-serif;
	--ease: cubic-bezier(0.22, 1, 0.36, 1);
	--btn-radius: 9999px;
	--btn-height: 3rem;
	--btn-padding: 0 1.75rem;
	--btn-font-size: 15px;
	--btn-font-weight: 500;
	--btn-letter-spacing: normal;
	--btn-text-transform: none;
	--color-button-text: var(--color-primary-foreground);
}

:root,
.theme-dark,
.theme-light {
	--shadow-soft: 0 6px 24px -12px color-mix(in srgb, var(--color-foreground) 18%, transparent);
	--shadow-elevated: 0 24px 60px -24px color-mix(in srgb, var(--color-foreground) 28%, transparent);
	--fg-06: color-mix(in srgb, var(--color-foreground) 6%, transparent);
	--fg-10: color-mix(in srgb, var(--color-foreground) 10%, transparent);
	--fg-15: color-mix(in srgb, var(--color-foreground) 15%, transparent);
	--fg-20: color-mix(in srgb, var(--color-foreground) 20%, transparent);
	--fg-25: color-mix(in srgb, var(--color-foreground) 25%, transparent);
	--fg-30: color-mix(in srgb, var(--color-foreground) 30%, transparent);
	--fg-45: color-mix(in srgb, var(--color-foreground) 45%, transparent);
	--fg-50: color-mix(in srgb, var(--color-foreground) 50%, transparent);
	--fg-55: color-mix(in srgb, var(--color-foreground) 55%, transparent);
	--fg-60: color-mix(in srgb, var(--color-foreground) 60%, transparent);
	--fg-65: color-mix(in srgb, var(--color-foreground) 65%, transparent);
	--fg-70: color-mix(in srgb, var(--color-foreground) 70%, transparent);
	--fg-75: color-mix(in srgb, var(--color-foreground) 75%, transparent);
	--fg-80: color-mix(in srgb, var(--color-foreground) 80%, transparent);
	--fg-85: color-mix(in srgb, var(--color-foreground) 85%, transparent);
	--fg-90: color-mix(in srgb, var(--color-foreground) 90%, transparent);
	--pr-10: color-mix(in srgb, var(--color-primary) 10%, transparent);
	--pr-25: color-mix(in srgb, var(--color-primary) 25%, transparent);
	--pr-40: color-mix(in srgb, var(--color-primary) 40%, transparent);
	--pr-80: color-mix(in srgb, var(--color-primary) 80%, transparent);
	--pr-90: color-mix(in srgb, var(--color-primary) 90%, transparent);
	--ac-90: color-mix(in srgb, var(--color-accent) 90%, transparent);
}

.theme-dark {
	--color-background: var(--dark-background);
	--color-foreground: var(--cream);
	--color-card: var(--dark-card);
	--color-secondary: var(--dark-secondary);
	--color-muted: var(--dark-muted);
	--color-muted-foreground: var(--dark-muted-foreground);
	--color-accent: var(--dark-accent);
	--color-accent-foreground: var(--dark-background);
	--color-primary: var(--dark-accent);
	--color-primary-foreground: var(--dark-background);
	--color-border: var(--dark-border);
	background-color: var(--color-background);
	color: var(--color-foreground);
}

.theme-light {
	background-color: var(--color-background);
	color: var(--color-foreground);
}

/* ---------- Reset (Tailwind preflight parity) ---------- */
*,
*::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%;
	scroll-behavior: smooth;
}

html,
body {
	max-width: 100%;
	overflow-x: clip;
}

body {
	margin: 0;
	font-family: var(--font-body);
	background-color: var(--color-background);
	color: var(--color-foreground);
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

h1,
h2,
h3,
h4,
h5,
h6 {
	font-family: var(--font-display);
	letter-spacing: -0.008em;
	font-weight: 400;
	font-size: inherit;
	margin: 0;
}

p,
ul,
ol,
li,
figure,
blockquote,
dl,
dd {
	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 {
	background-color: transparent;
	background-image: none;
	cursor: pointer;
	text-transform: none;
	-webkit-appearance: button;
}

a[href],
[role="button"],
input[type="submit"],
input[type="button"],
input[type="reset"],
summary,
.benefit-card,
.contact-row,
.filter-pill,
.icon-btn,
.select__button,
.footer-top,
.footer-contact-link,
.theme-card-media-link,
.product-back,
.related-viewall,
.product-thumb,
.drawer-qty-btn,
.label[for] {
	cursor: pointer;
}

button:disabled,
.is-disabled,
[disabled] {
	cursor: not-allowed;
}

img,
svg,
video {
	display: block;
	vertical-align: middle;
}

img:not(.cover-img):not(.hero-bg-img):not(.product-card-img):not(.product-main-img):not(.product-thumb-img):not(.drawer-thumb-img):not(.site-logo-img):not(.footer-logo-img),
video:not(.cover-img) {
	max-width: 100%;
	height: auto;
}

.cover-img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
}

.cover-img.is-abs {
	position: absolute;
	inset: 0;
}

table {
	border-collapse: collapse;
	border-color: inherit;
}

a,
button,
[role="button"] {
	transition: color 300ms var(--ease), background-color 300ms var(--ease), border-color 300ms var(--ease), transform 350ms var(--ease), opacity 300ms ease;
}

a svg,
button svg,
[role="button"] svg {
	transition: transform 400ms var(--ease), color 300ms ease, opacity 300ms ease;
	will-change: transform;
}

a:hover svg,
button:hover svg,
[role="button"]:hover svg {
	transform: translateY(-1px) scale(1.06);
}

a:active svg,
button:active svg {
	transform: scale(0.96);
}

img {
	transition: transform 700ms var(--ease), filter 700ms ease;
}

@media (prefers-reduced-motion: reduce) {
	a,
	button,
	[role="button"],
	a svg,
	button svg,
	img {
		transition: none !important;
		transform: none !important;
	}
}

section[id] {
	scroll-margin-top: 88px;
}

::selection {
	background: color-mix(in srgb, var(--color-accent) 70%, transparent);
	color: var(--color-accent-foreground);
}

.screen-reader-text {
	position: absolute;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
}

.container-wide {
	width: 100%;
	max-width: 80rem;
	margin-left: auto;
	margin-right: auto;
	padding-left: 1.5rem;
	padding-right: 1.5rem;
}

.italic {
	font-style: italic;
}

.truncate {
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.nowrap {
	white-space: nowrap;
}

.break-all {
	word-break: break-all;
}

.icon-3 { width: 0.75rem; height: 0.75rem; flex-shrink: 0; }
.icon-3-5 { width: 0.875rem; height: 0.875rem; flex-shrink: 0; }
.icon-4 { width: 1rem; height: 1rem; flex-shrink: 0; }
.icon-5 { width: 1.25rem; height: 1.25rem; flex-shrink: 0; }

/* ---------- Motion ---------- */
@keyframes fade-in {
	from { opacity: 0; }
	to { opacity: 1; }
}

@keyframes slide-in-bottom {
	from { opacity: 0; transform: translateY(20px); }
	to { opacity: 1; transform: translateY(0); }
}

@keyframes slide-in-right {
	from { transform: translateX(100%); }
	to { transform: translateX(0); }
}

@keyframes shimmer {
	0% { background-position: -200% 0; }
	100% { background-position: 200% 0; }
}

@keyframes marquee-scroll {
	from { transform: translate3d(0, 0, 0); }
	to { transform: translate3d(-50%, 0, 0); }
}

.anim-fade-in { animation: fade-in 0.7s ease-out both; }

[data-aos] {
	opacity: 0;
	transform: translateY(24px);
	transition: opacity 900ms var(--ease), transform 900ms var(--ease);
	will-change: opacity, transform;
}

[data-aos].is-revealed {
	opacity: 1;
	transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
	[data-aos] { opacity: 1 !important; transform: none !important; transition: none !important; }
}

@media (scripting: none) {
	[data-aos] { opacity: 1; transform: none; }
	.img-fade-in { opacity: 1; }
}

body.is-customizer [data-aos] {
	opacity: 1;
	transform: none;
}

body.is-customizer .img-fade-in {
	opacity: 1;
}

.skeleton-shimmer {
	background: linear-gradient(90deg, var(--color-muted) 0%, var(--color-linen) 50%, var(--color-muted) 100%);
	background-size: 200% 100%;
	animation: shimmer 1.6s linear infinite;
	position: absolute;
	inset: 0;
}

.img-fade-in { opacity: 0; transition: opacity 700ms var(--ease); }
.img-fade-in.is-loaded { opacity: 1; }

/* ---------- Buttons ---------- */
.btn,
a.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.5rem;
	white-space: nowrap;
	border-radius: 9999px;
	font-size: 15px;
	font-weight: 500;
	line-height: 1.5;
	border: 1px solid var(--color-primary);
	background-color: var(--color-primary);
	color: var(--color-primary-foreground);
	height: 2.75rem;
	padding: 0.625rem 1.5rem;
	text-transform: none;
	text-decoration: none;
	cursor: pointer;
	transition: transform 150ms ease-out, box-shadow 150ms ease-out, background-color 150ms ease-out, border-color 150ms ease-out, color 150ms ease-out;
}

.btn:hover {
	background-color: var(--pr-90);
	transform: scale(1.02);
	box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1);
}

.btn:active { transform: scale(0.97); }

.btn:focus-visible {
	outline: 2px solid transparent;
	box-shadow: 0 0 0 2px var(--color-background), 0 0 0 4px var(--color-primary);
}

.btn:disabled,
.btn.is-disabled {
	pointer-events: none;
	opacity: 0.6;
}

.btn svg { width: 1rem; height: 1rem; flex-shrink: 0; pointer-events: none; }
.btn-lg { height: 3rem; padding: 0 1.75rem; }
.btn-sm { height: 2.25rem; padding: 0 1rem; }
.btn-block { width: 100%; }

.btn-outline {
	background-color: transparent;
	color: var(--color-foreground);
	border-color: var(--fg-25);
}

.btn-outline:hover {
	background-color: transparent;
	border-color: var(--color-primary);
	color: var(--color-primary);
}

.btn-ghost {
	background-color: transparent;
	color: inherit;
	border-color: transparent;
}

.btn-ghost:hover {
	background-color: var(--fg-06);
	color: var(--color-primary);
}

.btn-hero-primary {
	background-color: var(--color-accent);
	border-color: var(--color-accent);
	color: var(--color-accent-foreground);
	box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1);
	transition: all 300ms ease-out;
}

.btn-hero-primary:hover {
	background-color: var(--ac-90);
	transform: scale(1.03);
	box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1);
}

.btn-hero-primary:active { transform: scale(0.98); }

.btn-hero-outline {
	background-color: transparent;
	border-color: rgba(255, 255, 255, 0.7);
	color: #fff;
	transition: all 300ms ease-out;
}

.btn-hero-outline:hover {
	background-color: #fff;
	color: var(--color-primary);
	border-color: rgba(255, 255, 255, 0.7);
	transform: scale(1.03);
}

.btn-hero-outline:active { transform: scale(0.98); }

/* ---------- Scroll progress ---------- */
.scroll-progress {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	z-index: 60;
	height: 2px;
	background: transparent;
	pointer-events: none;
}

.scroll-progress__bar {
	height: 100%;
	background: var(--color-foreground);
	transform-origin: left;
	transform: scaleX(0);
	transition: transform 150ms ease-out;
}

/* ---------- Header ---------- */
.site-header {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	z-index: 50;
	width: 100%;
	background-color: transparent;
	border-bottom: 1px solid transparent;
	transition: background-color 300ms ease-out, border-color 300ms ease-out, box-shadow 300ms ease-out;
}

.site-header.is-solid {
	background-color: var(--color-background);
	border-bottom-color: var(--color-border);
}

body.admin-bar .site-header,
body.admin-bar .scroll-progress,
html.has-admin-bar .site-header,
html.has-admin-bar .scroll-progress {
	top: var(--admin-bar-offset, var(--wp-admin--admin-bar--height, 32px));
}

@media (max-width: 782px) {
	body.admin-bar .site-header,
	body.admin-bar .scroll-progress,
	html.has-admin-bar .site-header,
	html.has-admin-bar .scroll-progress {
		top: var(--admin-bar-offset, var(--wp-admin--admin-bar--height, 46px));
	}
}

.header-inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	height: 5rem;
	gap: 1rem;
}

.header-brand {
	display: flex;
	align-items: center;
	height: 100%;
	flex-shrink: 0;
}

.site-logo-img {
	height: var(--logo-height) !important;
	width: auto !important;
	object-fit: contain;
	display: block;
	user-select: none;
	filter: brightness(0) invert(1);
	transition: transform 300ms ease-out, filter 300ms ease-out;
}

.site-header.is-solid .site-logo-img { filter: none; }
.header-brand:hover .site-logo-img { transform: scale(1.04); }

.site-logo-text {
	display: block;
	line-height: var(--logo-height);
	font-family: var(--font-display);
	font-size: 1.5rem;
	color: #fff;
	transition: color 300ms ease-out;
}

.site-header.is-solid .site-logo-text { color: var(--color-foreground); }

.header-nav {
	display: none;
	align-items: center;
	flex: 1 1 0%;
	justify-content: center;
	min-width: 0;
}

.header-nav .theme-nav-list {
	display: flex;
	align-items: center;
	gap: 0.25rem;
}

.header-nav .nav-link,
.header-nav a {
	position: relative;
	display: inline-block;
	padding: 0.5rem 0.75rem;
	font-size: 14px;
	font-weight: 500;
	letter-spacing: 0.025em;
	border-radius: 0.25rem;
	white-space: nowrap;
	color: rgba(255, 255, 255, 0.85);
	transition: all 300ms ease-out;
}

.header-nav a:hover {
	color: #fff;
	transform: translateY(-2px);
}

.header-nav a.is-active { color: #fff; }

.site-header.is-solid .header-nav a { color: var(--fg-70); }
.site-header.is-solid .header-nav a:hover { color: var(--color-primary); }
.site-header.is-solid .header-nav a.is-active { color: var(--color-primary); }

.nav-underline {
	pointer-events: none;
	position: absolute;
	left: 0.75rem;
	right: 0.75rem;
	bottom: -2px;
	height: 2px;
	background: #fff;
	opacity: 0;
	transform: scaleX(0);
	transform-origin: left;
	transition: all 300ms ease-out;
}

.site-header.is-solid .nav-underline { background: var(--color-accent); }
.header-nav a.is-active .nav-underline { opacity: 1; transform: scaleX(1); }

.header-actions {
	display: flex;
	align-items: center;
	gap: 0.25rem;
	flex-shrink: 0;
}

.icon-btn {
	position: relative;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 2.5rem;
	height: 2.5rem;
	border-radius: calc(var(--radius) - 2px);
	color: #fff;
	transition: all 300ms ease-out;
}

.icon-btn:hover { transform: scale(1.1); background-color: rgba(255, 255, 255, 0.1); }
.icon-btn:active { transform: scale(0.95); }
.site-header.is-solid .icon-btn { color: var(--color-foreground); }
.site-header.is-solid .icon-btn:hover { background-color: var(--color-secondary); }

.theme-cart-count {
	position: absolute;
	top: -2px;
	right: -2px;
	font-size: 11px;
	font-weight: 500;
	min-width: 18px;
	height: 18px;
	padding: 0 0.25rem;
	border-radius: 9999px;
	display: flex;
	align-items: center;
	justify-content: center;
	background-color: var(--color-accent);
	color: var(--color-accent-foreground);
	box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
}

.theme-cart-count:empty { display: none; }

.menu-toggle .menu-icon--close { display: none; }
.menu-toggle[aria-expanded="true"] .menu-icon--open { display: none; }
.menu-toggle[aria-expanded="true"] .menu-icon--close { display: block; }

.mobile-menu {
	display: none;
	border-top: 1px solid var(--color-border);
	background-color: var(--color-background);
}

.site-header.menu-open .mobile-menu {
	display: block;
	animation: fade-in 0.7s ease-out both;
}

.mobile-menu__inner {
	padding: 0.5rem 1rem;
	display: flex;
	flex-direction: column;
}

.mobile-nav-list { display: flex; flex-direction: column; }

.mobile-nav-list a {
	display: block;
	text-align: left;
	font-size: 15px;
	font-weight: 500;
	padding: 0.75rem 0;
	border-bottom: 1px solid var(--color-border);
	color: var(--fg-85);
	transition: all 300ms ease-out;
}

.mobile-nav-list li:last-child a { border-bottom: 0; }
.mobile-nav-list a:hover { color: var(--color-primary); transform: translateX(0.25rem); }

@media (min-width: 640px) {
	.mobile-menu__inner { padding-left: 1.5rem; padding-right: 1.5rem; }
}

@media (min-width: 1024px) {
	.container-wide { padding-left: 4rem; padding-right: 4rem; }
	.header-inner { height: 6.5rem; }
	.header-nav { display: flex; }
	.menu-toggle { display: none; }
	.mobile-menu,
	.site-header.menu-open .mobile-menu { display: none; }
}

/* ---------- Main wrappers ---------- */
.site-main { display: block; }

.site-main--inner {
	padding-top: 6rem;
	padding-bottom: 4rem;
}

@media (min-width: 1024px) {
	.site-main--inner { padding-top: 7rem; }
}

.site-main--home { padding-top: 0; padding-bottom: 0; }

.page-title {
	font-family: var(--font-display);
	font-size: 2.25rem;
	line-height: 2.5rem;
	margin-bottom: 2.5rem;
	color: var(--color-foreground);
}

@media (min-width: 768px) {
	.page-title { font-size: 3rem; line-height: 1; }
}

.page-container { padding-top: 2.5rem; padding-bottom: 2.5rem; }

/* ---------- Hero ---------- */
.hero {
	position: relative;
	min-height: 100vh;
	width: 100%;
	display: flex;
	align-items: center;
	justify-content: center;
	overflow: hidden;
}

.hero__video { display: none; }

@media (min-width: 1024px) {
	.hero__poster { display: none; }
	.hero__video { display: block; }
}

.hero__overlay {
	position: absolute;
	inset: 0;
	pointer-events: none;
	background: linear-gradient(180deg, rgba(30, 10, 38, 0.55) 0%, rgba(30, 10, 38, 0.45) 55%, rgba(30, 10, 38, 0.65) 100%);
}

.hero__content {
	position: relative;
	z-index: 10;
	text-align: center;
	padding-top: 8rem;
	padding-bottom: 6rem;
}

@media (min-width: 1024px) {
	.hero__content { padding-top: 10rem; padding-bottom: 8rem; }
}

.hero__badge-row {
	display: flex;
	justify-content: center;
	margin-bottom: 2rem;
}

.hero__badge {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	padding: 0.375rem 1rem;
	border-radius: 9999px;
	background: rgba(255, 255, 255, 0.1);
	border: 1px solid rgba(255, 255, 255, 0.25);
	font-size: 13px;
	letter-spacing: 0.32em;
	text-transform: uppercase;
	color: rgba(255, 255, 255, 0.9);
	font-weight: 500;
}

.hero__title {
	font-family: var(--font-display);
	color: #fff;
	line-height: 1.02;
	letter-spacing: -0.015em;
	margin-left: auto;
	margin-right: auto;
	max-width: 64rem;
	filter: drop-shadow(0 2px 20px rgba(0, 0, 0, 0.45));
	font-size: clamp(2.4rem, 7.2vw, 5.8rem);
}

.hero__title-accent {
	font-style: italic;
	color: var(--color-accent);
}

.hero__text {
	margin: 2rem auto 0;
	max-width: 42rem;
	font-size: 16px;
	color: rgba(255, 255, 255, 0.9);
	line-height: 1.625;
}

@media (min-width: 640px) {
	.hero__text { font-size: 18px; }
}

.hero__actions {
	margin-top: 2.5rem;
	display: flex;
	flex-direction: column;
	gap: 0.75rem;
	justify-content: center;
}

@media (min-width: 640px) {
	.hero__actions { flex-direction: row; gap: 1rem; }
}

/* ---------- Shared section typography ---------- */
.section {
	padding-top: 6rem;
	padding-bottom: 6rem;
}

@media (min-width: 768px) {
	.section { padding-top: 8rem; padding-bottom: 8rem; }
}

.eyebrow {
	font-size: 13px;
	letter-spacing: 0.4em;
	text-transform: uppercase;
	color: var(--fg-60);
	margin-bottom: 1rem;
	font-weight: 500;
}

.eyebrow--lg { margin-bottom: 1.5rem; }

.section-head {
	max-width: 48rem;
	margin-bottom: 3.5rem;
}

.section-head--shop { max-width: none; margin-bottom: 2.5rem; }
.shop-head__inner { max-width: 42rem; }

.section-heading {
	font-family: var(--font-display);
	font-size: 2.25rem;
	line-height: 1.05;
	color: var(--color-foreground);
}

@media (min-width: 768px) {
	.section-heading { font-size: 3rem; }
}

@media (min-width: 1024px) {
	.section-heading { font-size: 3.4rem; }
	.about-section .section-heading { font-size: 3.6rem; }
}

.section-intro {
	margin-top: 1.25rem;
	font-size: 15px;
	color: var(--fg-70);
	line-height: 1.625;
}

.section-intro--shop { max-width: 36rem; }

.card-heading {
	font-family: var(--font-display);
	font-size: 1.5rem;
	line-height: 2rem;
	color: var(--color-foreground);
	margin-bottom: 0.75rem;
}

.card-grid {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: 1.5rem;
}

@media (min-width: 768px) {
	.card-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

/* ---------- About ---------- */
.about__head {
	max-width: 48rem;
	margin: 0 auto;
	text-align: center;
}

.about__intro {
	margin-top: 1.5rem;
	font-size: 16px;
	color: var(--fg-70);
	line-height: 1.625;
}

@media (min-width: 768px) {
	.about__intro { font-size: 17px; }
}

.about__grid {
	margin-top: 4rem;
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: 3rem;
	align-items: center;
}

@media (min-width: 768px) {
	.about__grid { margin-top: 5rem; }
}

@media (min-width: 1024px) {
	.about__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 5rem; }
}

.about__image {
	border-radius: 1rem;
	overflow: hidden;
	border: 1px solid var(--color-border);
	background-color: var(--color-secondary);
	aspect-ratio: 4 / 5;
	box-shadow: var(--shadow-elevated);
}

.about__subtitle {
	font-family: var(--font-display);
	font-style: italic;
	font-size: 1.875rem;
	line-height: 1.15;
	color: var(--color-foreground);
	margin-bottom: 2rem;
}

@media (min-width: 768px) {
	.about__subtitle { font-size: 2.25rem; }
}

.about__copy {
	font-size: 15px;
	line-height: 1.75;
	color: var(--fg-75);
}

.about__copy > * + * { margin-top: 1.5rem; }

@media (min-width: 768px) {
	.about__copy { font-size: 16px; }
}

.about__copy .about__closing {
	font-family: var(--font-display);
	font-style: italic;
	color: var(--fg-90);
	font-size: 1.125rem;
	line-height: 1.75rem;
}

@media (min-width: 768px) {
	.about__copy .about__closing { font-size: 1.25rem; line-height: 1.75rem; }
}

.about__stats {
	margin-top: 4rem;
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: 2rem;
	border-top: 1px solid var(--color-border);
	padding-top: 2.5rem;
}

@media (min-width: 640px) {
	.about__stats { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (min-width: 768px) {
	.about__stats { margin-top: 5rem; }
}

.about__stat { text-align: center; }

@media (min-width: 640px) {
	.about__stat { text-align: left; }
}

.about__stat-value {
	font-family: var(--font-display);
	font-style: italic;
	font-size: 1.875rem;
	line-height: 2.25rem;
	color: var(--color-foreground);
}

@media (min-width: 768px) {
	.about__stat-value { font-size: 2.25rem; line-height: 2.5rem; }
}

.about__stat-label {
	margin-top: 0.25rem;
	font-size: 13px;
	text-transform: uppercase;
	letter-spacing: 0.22em;
	color: var(--fg-55);
}

.about__stat-rule {
	margin: 0.75rem auto 0;
	display: block;
	height: 1px;
	width: 1.5rem;
	background: var(--color-accent);
}

@media (min-width: 640px) {
	.about__stat-rule { margin-left: 0; margin-right: 0; }
}

/* ---------- Marquee ---------- */
.marquee {
	position: relative;
	overflow: hidden;
	padding-top: 2.25rem;
	padding-bottom: 2.25rem;
}

@media (min-width: 768px) {
	.marquee { padding-top: 3.15rem; padding-bottom: 3.15rem; }
}

.marquee__fade {
	pointer-events: none;
	position: absolute;
	top: 0;
	bottom: 0;
	width: 6rem;
	z-index: 10;
}

.marquee__fade--left { left: 0; background: linear-gradient(to right, var(--color-background), transparent); }
.marquee__fade--right { right: 0; background: linear-gradient(to left, var(--color-background), transparent); }

@media (min-width: 768px) {
	.marquee__fade { width: 10rem; }
}

.marquee-track {
	display: flex;
	align-items: center;
	gap: 3rem;
	white-space: nowrap;
	will-change: transform;
	width: max-content;
	animation: marquee-scroll 45s linear infinite;
}

@media (min-width: 768px) {
	.marquee-track { gap: 5rem; }
}

@media (prefers-reduced-motion: reduce) {
	.marquee-track { animation: none; }
}

.marquee__item {
	display: flex;
	align-items: center;
	gap: 3rem;
	flex-shrink: 0;
}

@media (min-width: 768px) {
	.marquee__item { gap: 5rem; }
}

.marquee__text {
	font-family: var(--font-display);
	font-style: italic;
	line-height: 1;
	color: var(--color-foreground);
	font-size: clamp(1.44rem, 3.84vw, 3.2rem);
}

.marquee__dot {
	display: inline-block;
	border-radius: 9999px;
	background: var(--color-accent);
	flex-shrink: 0;
	width: clamp(6px, 0.6vw, 10px);
	height: clamp(6px, 0.6vw, 10px);
}

/* ---------- Benefits ---------- */
.benefit-card {
	display: flex;
	height: 100%;
	flex-direction: column;
	align-items: stretch;
	text-align: left;
	border-radius: 1rem;
	border: 1px solid var(--color-border);
	background: var(--color-card);
	overflow: hidden;
	transition: all 500ms ease-out;
}

.benefit-card:hover {
	transform: translateY(-0.25rem);
	box-shadow: var(--shadow-elevated);
	border-color: var(--pr-40);
}

.benefit-card:focus-visible {
	outline: none;
	box-shadow: 0 0 0 2px var(--pr-40);
}

[data-aos].benefit-card,
[data-aos].recipe-card {
	transition: opacity 900ms var(--ease), transform 900ms var(--ease), box-shadow 500ms ease-out, border-color 500ms ease-out;
}

[data-aos].benefit-card.is-revealed:hover,
[data-aos].recipe-card.is-revealed:hover { transform: translateY(-0.25rem); }

.benefit-card__media {
	position: relative;
	aspect-ratio: 16 / 10;
	width: 100%;
	flex-shrink: 0;
	overflow: hidden;
	background: var(--color-secondary);
}

.benefit-card__img {
	object-position: center;
	will-change: transform;
	transition: transform 1200ms cubic-bezier(0.22, 0.61, 0.36, 1);
}

.benefit-card:hover .benefit-card__img { transform: scale(1.06); }

.benefit-card__body {
	display: flex;
	flex: 1 1 0%;
	flex-direction: column;
	padding: 1.75rem;
}

.benefit-card__title { transition: color 300ms; }
.benefit-card:hover .benefit-card__title { color: var(--color-primary); }

.benefit-card__text {
	font-size: 15px;
	color: var(--fg-70);
	line-height: 1.625;
}

.benefit-card__cta {
	margin-top: 1.25rem;
	display: inline-flex;
	align-items: center;
	gap: 0.25rem;
	font-size: 13px;
	font-weight: 500;
	letter-spacing: 0.2em;
	text-transform: uppercase;
	color: var(--color-primary);
	transition: all 300ms;
}

.benefit-card:hover .benefit-card__cta { gap: 0.5rem; }
.benefit-card__arrow { display: inline-block; transition: transform 300ms; }
.benefit-card:hover .benefit-card__arrow { transform: translateX(0.25rem); }

.benefits__note {
	margin-top: 2.5rem;
	font-size: 13px;
	color: var(--fg-55);
	max-width: 48rem;
	line-height: 1.625;
}

/* ---------- Shop ---------- */
.shop-note {
	margin-top: 0.75rem;
	font-size: 12px;
	text-transform: uppercase;
	letter-spacing: 0.24em;
	color: var(--fg-45);
}

.shop-controls {
	display: flex;
	flex-direction: column;
	gap: 1rem;
	margin-bottom: 3rem;
}

@media (min-width: 640px) {
	.shop-controls { flex-direction: row; align-items: center; justify-content: space-between; }
}

.shop-filters {
	display: flex;
	flex-wrap: wrap;
	gap: 0.625rem;
}

.filter-pill {
	padding: 0 1.25rem;
	height: 2.75rem;
	border-radius: 9999px;
	font-size: 14px;
	font-weight: 500;
	border: 1px solid var(--pr-25);
	background: transparent;
	color: var(--fg-70);
	transition: all 300ms ease-out;
}

.filter-pill:hover {
	transform: translateY(-2px);
	box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
	border-color: var(--color-primary);
	color: var(--color-primary);
}

.filter-pill.is-active {
	background: var(--color-primary);
	color: var(--color-primary-foreground);
	border-color: var(--color-primary);
	transform: scale(1.02);
}

.filter-pill.is-active:hover { transform: translateY(-2px) scale(1.02); color: var(--color-primary-foreground); }

.shop-search {
	position: relative;
	width: 100%;
	flex-shrink: 0;
}

@media (min-width: 640px) {
	.shop-search { width: 18rem; }
}

@media (min-width: 1024px) {
	.shop-search { width: 20rem; }
}

.shop-search__icon {
	position: absolute;
	left: 1rem;
	top: 50%;
	transform: translateY(-50%);
	width: 1rem;
	height: 1rem;
	color: var(--fg-50);
	pointer-events: none;
}

.shop-search:hover .shop-search__icon { transform: translateY(-50%); }

.shop-search__input {
	width: 100%;
	height: 2.75rem;
	padding-left: 2.75rem;
	padding-right: 1rem;
	border-radius: 9999px;
	background: var(--color-secondary);
	border: 1px solid var(--color-border);
	font-size: 14px;
	color: var(--color-foreground);
	outline: none;
	transition: border-color 300ms;
}

.shop-search__input::placeholder { color: var(--fg-45); }
.shop-search__input:focus { border-color: var(--color-primary); }

.shop-empty {
	text-align: center;
	padding: 5rem 0;
	color: var(--fg-55);
}

.shop-empty[hidden] { display: none; }

.theme-product-grid {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	column-gap: 1.5rem;
	row-gap: 3rem;
	align-items: stretch;
}

@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)); }
}

.theme-product-card-wrap[hidden] { display: none; }

.shop-more {
	margin-top: 3.5rem;
	display: flex;
	justify-content: center;
}

.shop-more[hidden] { display: none; }

/* Product card */
.theme-product-card-wrap { min-width: 0; }

.theme-product-card {
	position: relative;
	display: flex;
	flex-direction: column;
	height: 100%;
}

.theme-card-media-link {
	position: absolute;
	inset: 0;
	z-index: 1;
	display: block;
}

.theme-product-card__image-wrapper {
	position: relative;
	aspect-ratio: 1 / 1;
	background: var(--color-linen);
	border-radius: 0.75rem;
	overflow: hidden;
	margin-bottom: 1.25rem;
	border: 1px solid var(--pr-10);
	transition: border-color 300ms;
}

.theme-product-card:hover .theme-product-card__image-wrapper { border-color: var(--pr-40); }

.product-card-img {
	position: absolute;
	inset: 0;
	will-change: transform;
	transition: opacity 700ms var(--ease), transform 1400ms cubic-bezier(0.22, 0.61, 0.36, 1);
}

.theme-product-card:hover .product-card-img { transform: scale(1.04); }

.theme-product-card__scrim {
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	height: 50%;
	background: linear-gradient(to top, rgba(0, 0, 0, 0.55), transparent);
	opacity: 0;
	transition: opacity 500ms;
	pointer-events: none;
	z-index: 2;
}

.theme-product-card:hover .theme-product-card__scrim { opacity: 1; }

.theme-product-card__badge {
	position: absolute;
	top: 0.75rem;
	left: 0.75rem;
	background: var(--color-primary);
	color: var(--color-primary-foreground);
	font-size: 15px;
	font-weight: 500;
	padding: 0.25rem 0.625rem;
	border-radius: 9999px;
	z-index: 3;
}

.theme-product-card__actions {
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	padding: 1rem;
	display: flex;
	align-items: center;
	gap: 0.75rem;
	opacity: 0;
	transform: translateY(0.75rem);
	transition: all 500ms ease-out;
	z-index: 3;
	pointer-events: none;
}

.theme-product-card__actions > * {
	pointer-events: auto;
}

@media (min-width: 640px) {
	.theme-product-card__actions { padding: 1.25rem; }
}

.theme-product-card:hover .theme-product-card__actions,
.theme-product-card:focus-within .theme-product-card__actions {
	opacity: 1;
	transform: translateY(0);
}

.theme-product-card__info {
	flex: 1;
	padding: 0 0.125rem;
}

.theme-product-card__cat {
	font-size: 15px;
	text-transform: uppercase;
	letter-spacing: 0.24em;
	color: var(--pr-80);
	margin-bottom: 0.375rem;
}

.theme-product-card__title {
	font-family: var(--font-display);
	font-style: italic;
	font-size: 1.2rem;
	line-height: 1.375;
	color: var(--color-foreground);
}

.theme-product-card__title a {
	color: inherit;
	text-decoration: none;
	transition: color 300ms;
}

@media (min-width: 768px) {
	.theme-product-card__title { font-size: 1.35rem; }
}

@media (min-width: 1024px) {
	.theme-product-card__title { font-size: 1.5rem; }
}

.theme-product-card:hover .theme-product-card__title a { color: var(--color-primary); }

.theme-product-card__price {
	margin-top: 0.375rem;
	font-size: 15px;
	font-weight: 500;
	color: var(--color-primary);
}

.theme-card-quick {
	width: 2.75rem;
	height: 2.75rem;
	flex-shrink: 0;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border-radius: 9999px;
	background: var(--color-background);
	color: var(--color-foreground);
	border: 1px solid var(--pr-25);
	box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1);
}

@media (min-width: 640px) {
	.theme-card-quick { width: 3rem; height: 3rem; }
}

/* ---------- Recipes ---------- */
.recipes-section { background-color: color-mix(in srgb, var(--color-secondary) 40%, transparent); }
.section-head--recipes { max-width: 48rem; }

.recipe-card {
	border-radius: 1rem;
	border: 1px solid var(--color-border);
	background: var(--color-card);
	overflow: hidden;
	display: flex;
	flex-direction: column;
	transition: all 500ms ease-out;
}

.recipe-card:hover {
	transform: translateY(-0.25rem);
	box-shadow: var(--shadow-elevated);
}

.recipe-card__media {
	aspect-ratio: 16 / 10;
	width: 100%;
	overflow: hidden;
	background: var(--color-secondary);
}

.recipe-card__body {
	padding: 1.75rem;
	flex: 1 1 0%;
	display: flex;
	flex-direction: column;
}

.recipe-card__time {
	font-size: 12px;
	letter-spacing: 0.24em;
	text-transform: uppercase;
	color: var(--fg-55);
	margin-bottom: 0.5rem;
}

.recipe-card__intro {
	font-size: 15px;
	color: var(--fg-70);
	line-height: 1.625;
	margin-bottom: 1.25rem;
}

.recipe-card__steps {
	margin-top: auto;
	font-size: 14px;
	color: var(--fg-75);
	line-height: 1.625;
}

.recipe-card__steps > li + li { margin-top: 0.75rem; }

.recipe-card__steps li {
	display: flex;
	gap: 0.75rem;
}

.recipe-card__num {
	flex-shrink: 0;
	width: 1.5rem;
	height: 1.5rem;
	border-radius: 9999px;
	background: var(--pr-10);
	color: var(--color-primary);
	font-size: 12px;
	font-weight: 500;
	display: inline-flex;
	align-items: center;
	justify-content: center;
}

/* ---------- CTA band ---------- */
.cta-band {
	position: relative;
	overflow: hidden;
	background: var(--color-foreground);
	color: var(--color-background);
}

.cta-band__video { pointer-events: none; }

.cta-band__overlay {
	position: absolute;
	inset: 0;
	background: rgba(0, 0, 0, 0.6);
	pointer-events: none;
}

.cta-band__content {
	position: relative;
	z-index: 10;
	padding-top: 6rem;
	padding-bottom: 6rem;
	text-align: center;
	text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
}

@media (min-width: 768px) {
	.cta-band__content { padding-top: 9rem; padding-bottom: 9rem; }
}

.cta-band__eyebrow {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.75rem;
	font-size: 13px;
	letter-spacing: 0.4em;
	text-transform: uppercase;
	color: color-mix(in srgb, var(--color-background) 85%, transparent);
	margin-bottom: 1.5rem;
	font-weight: 500;
}

.cta-band__rule {
	height: 1px;
	width: 2rem;
	background: color-mix(in srgb, var(--color-background) 50%, transparent);
}

.cta-band__title {
	font-family: var(--font-display);
	font-style: italic;
	color: var(--color-background);
	line-height: 1.05;
	letter-spacing: -0.025em;
	margin-left: auto;
	margin-right: auto;
	max-width: 56rem;
	font-size: clamp(2rem, 5.6vw, 4.2rem);
}

.cta-band__text {
	margin: 1.75rem auto 0;
	max-width: 36rem;
	font-size: 15px;
	color: color-mix(in srgb, var(--color-background) 85%, transparent);
	line-height: 1.625;
}

.cta-band__action {
	margin-top: 2.5rem;
	text-shadow: none;
}

/* ---------- Contact ---------- */
.contact-section {
	padding-top: 6rem;
	padding-bottom: 4rem;
}

@media (min-width: 768px) {
	.contact-section { padding-top: 8rem; padding-bottom: 5rem; }
}

.contact__grid {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: 3rem;
	align-items: stretch;
}

@media (min-width: 1024px) {
	.contact__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 5rem; }
}

.contact__info {
	display: flex;
	flex-direction: column;
	height: 100%;
}

.contact__intro {
	margin-top: 1.5rem;
	font-size: 15px;
	color: var(--fg-70);
	line-height: 1.625;
	max-width: 28rem;
}

.contact__list { margin-top: 2.5rem; }
.contact__list > li + li { margin-top: 1.25rem; }

.contact-row {
	display: inline-flex;
	align-items: center;
	gap: 1rem;
	color: var(--color-foreground);
	transition: color 300ms;
}

.contact-row:hover { color: var(--color-primary); }

.contact-row__icon {
	width: 2.75rem;
	height: 2.75rem;
	border-radius: 9999px;
	background: var(--color-secondary);
	border: 1px solid var(--color-border);
	display: inline-flex;
	align-items: center;
	justify-content: center;
	transition: border-color 300ms;
}

.contact-row:hover .contact-row__icon { border-color: var(--color-primary); }

.contact-row__text {
	display: flex;
	flex-direction: column;
	text-align: left;
}

.contact-row__label {
	font-size: 12px;
	letter-spacing: 0.24em;
	text-transform: uppercase;
	color: var(--fg-55);
}

.contact-row__value {
	font-size: 15px;
	font-weight: 500;
}

.contact-form {
	background: var(--color-secondary);
	border: 1px solid var(--color-border);
	border-radius: 1rem;
	padding: 1.5rem;
	box-shadow: var(--shadow-soft);
	height: 100%;
	display: flex;
	flex-direction: column;
}

@media (min-width: 768px) {
	.contact-form { padding: 2rem; }
}

.contact-form__fields { flex: 1 1 0%; }
.contact-form__fields > * + * { margin-top: 1rem; }

.contact-form__row {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: 1rem;
}

@media (min-width: 640px) {
	.contact-form__row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

.contact-form__footer { margin-top: 1rem; padding-top: 0.5rem; }
.contact-form__footer > * + * { margin-top: 0.75rem; }

.contact-form__note {
	font-size: 13px;
	color: var(--fg-55);
	text-align: center;
}

.field-label {
	display: block;
	font-size: 12px;
	letter-spacing: 0.24em;
	text-transform: uppercase;
	color: var(--fg-55);
	margin-bottom: 0.5rem;
}

.field-input {
	width: 100%;
	height: 3rem;
	padding: 0 1rem;
	background: var(--color-background);
	border: 1px solid var(--color-border);
	border-radius: calc(var(--radius) - 2px);
	font-size: 14px;
	color: var(--color-foreground);
	outline: none;
	transition: border-color 300ms;
}

.field-input::placeholder { color: var(--fg-45); }
.field-input:focus { border-color: var(--color-primary); }

.field-textarea {
	height: auto;
	padding-top: 0.75rem;
	padding-bottom: 0.75rem;
	resize: none;
	display: block;
}

.select { position: relative; }

.select__button {
	display: flex;
	align-items: center;
	justify-content: space-between;
	text-align: left;
	color: var(--color-foreground);
}

.select__button.is-placeholder { color: var(--fg-45); }

.select__chevron {
	width: 1rem;
	height: 1rem;
	color: var(--fg-55);
	transition: transform 200ms;
}

.select__button[aria-expanded="true"] .select__chevron { transform: rotate(180deg); }

.select__list {
	position: absolute;
	z-index: 50;
	width: 100%;
	margin-top: 0.375rem;
	background: var(--color-background);
	border: 1px solid var(--color-border);
	border-radius: calc(var(--radius) - 2px);
	box-shadow: var(--shadow-soft);
	max-height: 15rem;
	overflow: auto;
	padding: 0.375rem 0;
}

.select__list[hidden] { display: none; }

.select__option {
	padding: 0.625rem 1rem;
	font-size: 14px;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: space-between;
	color: var(--color-foreground);
	transition: background-color 150ms, color 150ms;
}

.select__option:hover,
.select__option.is-highlighted { background: var(--color-secondary); }

.select__option.is-selected {
	background: var(--color-primary);
	color: var(--color-primary-foreground);
	font-weight: 500;
}

.select__check { width: 1rem; height: 1rem; display: none; }
.select__option.is-selected .select__check { display: block; }

/* ---------- Footer ---------- */
.site-footer {
	border-top: 1px solid var(--color-border);
}

.footer-inner { padding-top: 3.5rem; padding-bottom: 3.5rem; }

@media (min-width: 1024px) {
	.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: 1024px) {
	.footer-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 3rem; }
}

.footer-logo-link {
	display: inline-flex;
	align-items: center;
	height: 3rem;
}

@media (min-width: 1024px) {
	.footer-logo-link { height: 3.7rem; }
}

.footer-logo-img {
	height: 100%;
	width: auto;
	object-fit: contain;
	filter: brightness(0) invert(1);
	transition: transform 300ms ease-out;
}

.footer-logo-link:hover .footer-logo-img { transform: scale(1.04); }
.footer-logo-link .site-logo-text { color: var(--color-foreground); line-height: 1.2; }

.footer-text {
	margin-top: 1rem;
	font-size: 14px;
	color: var(--fg-70);
	line-height: 1.625;
	max-width: 20rem;
}

.footer-title {
	font-family: var(--font-display);
	font-size: 1.125rem;
	line-height: 1.75rem;
	color: var(--color-foreground);
	margin-bottom: 1rem;
}

.footer-list > li + li { margin-top: 0.625rem; }

.footer-list a {
	display: inline-block;
	font-size: 14px;
	color: var(--fg-70);
	text-align: left;
	transition: all 300ms ease-out;
}

.footer-list a:hover { color: var(--color-primary); transform: translateX(0.25rem); }

.footer-contact { font-size: 14px; }
.footer-contact > li + li { margin-top: 0.75rem; }

.footer-contact-link {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	color: var(--fg-75);
	transition: all 300ms ease-out;
}

.footer-contact-link--top { align-items: flex-start; }
.footer-contact-link:hover { color: var(--color-primary); }
.footer-contact-link .icon-top { margin-top: 0.125rem; }

.footer-bottom {
	margin-top: 3.5rem;
	padding-top: 1.5rem;
	border-top: 1px solid var(--color-border);
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	align-items: center;
	gap: 0.75rem;
}

@media (min-width: 640px) {
	.footer-bottom { flex-direction: row; }
}

.footer-copy {
	font-size: 13px;
	color: var(--fg-60);
}

.footer-top {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	font-size: 13px;
	color: var(--fg-70);
	transition: all 300ms ease-out;
}

.footer-top:hover { color: var(--color-primary); }

.footer-top__circle {
	width: 2rem;
	height: 2rem;
	border-radius: 9999px;
	border: 1px solid var(--color-border);
	display: inline-flex;
	align-items: center;
	justify-content: center;
	transition: all 300ms ease-out;
}

.footer-top:hover .footer-top__circle {
	border-color: var(--color-primary);
	transform: translateY(-2px);
}

/* ---------- Cart drawer ---------- */
#theme-cart-overlay {
	display: none;
	position: fixed;
	inset: 0;
	background: var(--fg-30);
	z-index: 50;
}

body.cart-open #theme-cart-overlay { display: block; }
body.cart-opening #theme-cart-overlay { animation: fade-in 0.7s ease-out both; }

#theme-cart-drawer {
	display: none;
	position: fixed;
	right: 0;
	top: 0;
	height: 100%;
	width: 100%;
	max-width: 28rem;
	background: var(--color-ivory);
	z-index: 51;
	box-shadow: var(--shadow-elevated);
	flex-direction: column;
	color: var(--color-foreground);
	transform: translateX(0);
}

body.admin-bar #theme-cart-drawer,
body.admin-bar #theme-cart-overlay {
	top: var(--admin-bar-offset, var(--wp-admin--admin-bar--height, 32px));
	height: calc(100% - var(--admin-bar-offset, var(--wp-admin--admin-bar--height, 32px)));
}

@media (max-width: 782px) {
	body.admin-bar #theme-cart-drawer,
	body.admin-bar #theme-cart-overlay {
		top: var(--admin-bar-offset, var(--wp-admin--admin-bar--height, 46px));
		height: calc(100% - var(--admin-bar-offset, var(--wp-admin--admin-bar--height, 46px)));
	}
}

body.cart-open #theme-cart-drawer { display: flex; }
body.cart-opening #theme-cart-drawer { animation: slide-in-right 0.4s var(--ease) forwards; }

#theme-cart-drawer.is-updating { opacity: 0.6; pointer-events: none; }

.drawer-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 1.5rem;
	border-bottom: 1px solid var(--fg-10);
}

.drawer-title {
	font-family: var(--font-display);
	font-size: 1.5rem;
	line-height: 2rem;
	color: var(--color-foreground);
}

.drawer-close {
	padding: 0.375rem;
	border-radius: 9999px;
	display: inline-flex;
}

.drawer-close:hover { background: var(--fg-06); }

.drawer-empty {
	flex: 1 1 0%;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	padding: 1.5rem;
	text-align: center;
}

.drawer-empty__icon {
	width: 3rem;
	height: 3rem;
	color: var(--fg-30);
	margin-bottom: 1rem;
}

.drawer-empty__text {
	color: var(--fg-65);
	margin-bottom: 1.5rem;
	font-size: 15px;
}

.drawer-items {
	flex: 1 1 0%;
	overflow: auto;
	padding: 1.5rem;
}

.drawer-items > * + * { margin-top: 1.25rem; }

.drawer-item { display: flex; gap: 1rem; }

.drawer-item__thumb {
	width: 5rem;
	height: 6rem;
	background: var(--color-bone);
	border-radius: calc(var(--radius) - 2px);
	overflow: hidden;
	flex-shrink: 0;
	display: block;
}

.drawer-item__body { flex: 1 1 0%; min-width: 0; }

.drawer-item__name {
	font-size: 15px;
	font-weight: 500;
	display: block;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.drawer-item__name:hover { color: var(--color-primary); }

.drawer-item__meta {
	font-size: 13px;
	color: var(--fg-55);
	list-style: none;
	margin: 0.125rem 0 0;
	padding: 0;
}

.drawer-item__meta > li + li {
	margin-top: 0.125rem;
}

.drawer-item__price {
	font-size: 15px;
	color: var(--fg-80);
	margin-top: 0.125rem;
}

.drawer-item__each {
	margin-left: 0.5rem;
	font-size: 13px;
	color: var(--fg-55);
}

.drawer-item__controls {
	display: flex;
	align-items: center;
	gap: 0.75rem;
	margin-top: 0.75rem;
}

.drawer-qty-btn {
	padding: 0.25rem;
	border-radius: 0.25rem;
	display: inline-flex;
}

.drawer-qty-btn:hover { background: var(--color-bone); }

.drawer-item__qty {
	font-size: 15px;
	width: 1.5rem;
	text-align: center;
}

.drawer-item__remove {
	margin-left: auto;
	font-size: 15px;
	color: var(--fg-55);
}

.drawer-item__remove:hover { color: var(--color-destructive); }

.drawer-footer {
	padding: 1.5rem;
	border-top: 1px solid var(--fg-10);
	background: color-mix(in srgb, var(--color-linen) 40%, transparent);
}

.drawer-footer > * + * { margin-top: 1rem; }

.drawer-subtotal {
	display: flex;
	justify-content: space-between;
	font-size: 15px;
}

.drawer-subtotal__label { color: var(--fg-65); }
.drawer-subtotal__value { font-weight: 500; }

.drawer-note {
	font-size: 15px;
	color: var(--fg-55);
}

.drawer-empty-btn { color: var(--fg-60); }
.drawer-empty-btn svg { margin-right: 0.25rem; }

.ajax_add_to_cart.theme-btn-loading {
	opacity: 0.6 !important;
	pointer-events: none !important;
	cursor: wait !important;
}

.single-product .single_add_to_cart_button.loading::after,
.ajax_add_to_cart.loading::after { display: none !important; }

body 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 ---------- */
.product-page { background: var(--color-ivory); }

.product-breadcrumb {
	padding: 1.5rem 0;
	font-size: 15px;
	letter-spacing: 0.2em;
	text-transform: uppercase;
	color: var(--fg-55);
}

.product-breadcrumb a:hover { color: var(--color-primary); }
.product-breadcrumb__sep { margin: 0 0.5rem; opacity: 0.5; }
.product-breadcrumb__current { color: var(--color-foreground); }

.theme-product-layout {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: 2.5rem;
	padding-bottom: 5rem;
	align-items: start;
	min-width: 0;
}

@media (min-width: 1024px) {
	.theme-product-layout { grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 4rem; }
	.theme-product-gallery { grid-column: span 7 / span 7; position: sticky; top: 7rem; align-self: start; }
	.theme-product-info { grid-column: span 5 / span 5; }
}

.single-product .theme-product-gallery,
.single-product .theme-product-info {
	min-width: 0;
	max-width: 100%;
}

.product-main-media {
	position: relative;
	aspect-ratio: 1 / 1;
	width: 100%;
	background: var(--color-linen);
	border-radius: 0.75rem;
	overflow: hidden;
	margin-bottom: 1rem;
}

.theme-product-thumbnails {
	display: grid;
	grid-template-columns: repeat(5, minmax(0, 1fr));
	gap: 0.625rem;
	max-width: 100%;
}

.product-thumb {
	aspect-ratio: 1 / 1;
	background: var(--color-linen);
	border-radius: calc(var(--radius) - 2px);
	overflow: hidden;
	border: 2px solid transparent;
	transition: border-color 300ms;
	padding: 0;
}

.product-thumb:hover { border-color: var(--fg-20); }
.product-thumb.is-active { border-color: var(--color-primary); }

.product-back {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	font-size: 15px;
	color: var(--fg-60);
	margin-bottom: 1.25rem;
}

.product-back:hover { color: var(--color-primary); }

.product-cat {
	font-size: 15px;
	letter-spacing: 0.28em;
	text-transform: uppercase;
	color: var(--color-primary);
	margin-bottom: 0.75rem;
	font-weight: 500;
}

.product-title {
	font-family: var(--font-display);
	font-weight: 400;
	font-size: 1.875rem;
	line-height: 1.05;
	color: var(--color-foreground);
	margin-bottom: 1rem;
}

@media (min-width: 768px) {
	.product-title { font-size: 2.25rem; }
}

@media (min-width: 1024px) {
	.product-title { font-size: 2.6rem; }
}

.product-price {
	font-size: 20px;
	font-weight: 500;
	color: var(--fg-90);
	margin-bottom: 1.75rem;
}

.product-price del { opacity: 0.55; }
.product-price ins { text-decoration: none; }

.product-price__each {
	margin-left: 0.5rem;
	font-size: 14px;
	font-weight: 400;
	color: var(--fg-55);
}

.product-price__each[hidden] { display: none; }

.product-description {
	font-size: 15px;
	line-height: 1.625;
	color: var(--fg-75);
	margin-bottom: 2rem;
	white-space: pre-line;
}

.product-description p { margin: 0; }

.product-label {
	font-size: 15px;
	letter-spacing: 0.2em;
	text-transform: uppercase;
	color: var(--fg-55);
	margin-bottom: 0.625rem;
}

.theme-add-to-cart-area {
	display: flex;
	flex-direction: column;
	align-items: stretch;
	flex-wrap: nowrap;
	gap: 0;
}

.product-qty-block { margin-bottom: 1.5rem; }

.theme-quantity-wrapper {
	display: inline-flex;
	align-items: center;
	border: 1px solid var(--fg-20);
	border-radius: 9999px;
}

.theme-qty-minus,
.theme-qty-plus {
	padding: 0.625rem 1rem;
	display: inline-flex;
}

.theme-qty-minus:hover,
.theme-qty-plus:hover { color: var(--color-primary); }

.theme-qty-input {
	padding: 0.625rem 0;
	min-width: 44px;
	width: 44px;
	text-align: center;
	font-size: 15px;
	font-weight: 500;
	border: 0;
	background: transparent;
	-moz-appearance: textfield;
	appearance: textfield;
	outline: none;
}

.theme-qty-input::-webkit-outer-spin-button,
.theme-qty-input::-webkit-inner-spin-button {
	-webkit-appearance: none;
	margin: 0;
}

.product-actions {
	display: flex;
	flex-direction: column;
	gap: 0.75rem;
}

@media (min-width: 640px) {
	.product-actions { flex-direction: row; }
	.product-actions > * { flex: 1 1 0%; }
}

.product-actions > * { width: 100%; }

@media (min-width: 640px) {
	.product-actions > * { width: auto; }
}

.product-details {
	margin-top: 2rem;
	padding-top: 2rem;
	border-top: 1px solid var(--fg-10);
}

.product-details .product-label { margin-bottom: 1rem; }

.woocommerce-product-details__short-description ul > li + li { margin-top: 0.625rem; }

.woocommerce-product-details__short-description li {
	font-size: 15px;
	color: var(--fg-75);
	display: flex;
	align-items: flex-start;
}

.woocommerce-product-details__short-description li::before {
	content: "";
	flex-shrink: 0;
	width: 0.25rem;
	height: 0.25rem;
	background: var(--color-primary);
	border-radius: 9999px;
	margin-top: 0.625rem;
	margin-right: 0.75rem;
}

.woocommerce-product-details__short-description p { font-size: 15px; color: var(--fg-75); }

.product-badges {
	margin-top: 2rem;
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 0.75rem;
	padding-top: 1.5rem;
	border-top: 1px solid var(--fg-10);
}

.product-badge { text-align: center; }

.product-badge__icon {
	width: 1.25rem;
	height: 1.25rem;
	margin: 0 auto 0.5rem;
	color: var(--color-primary);
}

.product-badge p {
	font-size: 15px;
	letter-spacing: 0.15em;
	text-transform: uppercase;
	color: var(--fg-60);
}

.related-products-section {
	padding: 5rem 0;
	border-top: 1px solid var(--fg-10);
}

.related-head {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	margin-bottom: 2.5rem;
}

.related-title {
	font-family: var(--font-display);
	font-size: 1.875rem;
	line-height: 2.25rem;
	color: var(--color-foreground);
}

@media (min-width: 768px) {
	.related-title { font-size: 2.25rem; line-height: 2.5rem; }
}

.related-viewall {
	display: none;
	align-items: center;
	gap: 0.375rem;
	font-size: 15px;
	font-weight: 500;
	color: var(--fg-70);
}

.related-viewall:hover { color: var(--color-primary); }

@media (min-width: 640px) {
	.related-viewall { display: inline-flex; }
}

.related-grid {
	grid-template-columns: repeat(2, minmax(0, 1fr));
	row-gap: 2.5rem;
}

@media (min-width: 1024px) {
	.related-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

/* Variable products */
.theme-attr-select-hidden { display: none !important; }

.single-product .variations.shop_attributes tbody,
.single-product .variations tbody,
.single-product .variations tbody tr,
.single-product .variations tbody td {
	display: block;
	width: 100%;
}

.single-product .variations { margin-bottom: 1.5rem; }
.single-product .variations tbody td.label { padding: 0 0 0.25rem; }
.single-product .variations tbody td.value { padding-top: 0; }

.single-product .variations label {
	font-family: var(--font-body);
	font-weight: 600;
	font-style: normal;
	font-size: 15px;
	letter-spacing: 0.2em;
	text-transform: uppercase;
	color: var(--fg-55);
}

.theme-attr-pills {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
	margin-top: 0.5rem;
}

.theme-attr-pill {
	padding: 0 1.25rem;
	height: 2.5rem;
	border-radius: 9999px;
	font-size: 14px;
	font-weight: 500;
	border: 1px solid var(--pr-25);
	color: var(--fg-70);
}

.theme-attr-pill:hover { border-color: var(--color-primary); color: var(--color-primary); }

.theme-attr-pill.is-selected {
	background: var(--color-primary);
	border-color: var(--color-primary);
	color: var(--color-primary-foreground);
}

.single-product .reset_variations { display: none !important; }

.single-product .woocommerce-variation-price,
.single-product .woocommerce-variation-description { margin-bottom: 1rem; font-size: 15px; }

.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-message,
.single-product .woocommerce-info { display: none; }

#theme-cart-drawer .woocommerce-message { display: none; }

/* ---------- WooCommerce button overrides ---------- */
.single_add_to_cart_button.button,
.add_to_cart_button.button,
a.single_add_to_cart_button,
a.add_to_cart_button {
	background-color: var(--color-primary) !important;
	color: var(--color-button-text) !important;
	border: none !important;
	border-radius: var(--btn-radius) !important;
	min-height: var(--btn-height) !important;
	padding: var(--btn-padding) !important;
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;
	font-family: var(--font-body) !important;
	font-size: var(--btn-font-size) !important;
	font-weight: var(--btn-font-weight) !important;
	letter-spacing: var(--btn-letter-spacing) !important;
	text-transform: var(--btn-text-transform) !important;
	cursor: pointer !important;
	transition: opacity 0.2s ease !important;
}

.single_add_to_cart_button.button:hover,
.add_to_cart_button.button:hover {
	opacity: 0.85 !important;
	background-color: var(--color-primary) !important;
	color: var(--color-button-text) !important;
}

.single_add_to_cart_button.button:disabled,
.single_add_to_cart_button.button.disabled,
.add_to_cart_button.button:disabled,
.add_to_cart_button.button.disabled {
	cursor: not-allowed !important;
	opacity: 0.4 !important;
	pointer-events: none !important;
}

.single_add_to_cart_button.button:disabled:hover,
.single_add_to_cart_button.button.disabled:hover,
.add_to_cart_button.button:disabled:hover,
.add_to_cart_button.button.disabled:hover {
	opacity: 0.4 !important;
	background-color: var(--color-primary) !important;
}

.single-product .single_add_to_cart_button {
	flex: 1 1 auto;
	min-width: 160px;
	text-transform: none !important;
}

.single-product .product-actions .single_add_to_cart_button { min-height: 3rem !important; }

/* Card compact button: placed after the global rules on purpose */
.theme-product-card .add_to_cart_button.theme-card-add,
.theme-product-card button.theme-card-add,
.theme-product-card a.theme-card-add {
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;
	flex: 1 1 0% !important;
	min-width: 0 !important;
	gap: 0.625rem;
	min-height: unset !important;
	height: 2.75rem;
	padding: 0 1.25rem !important;
	border: none !important;
	border-radius: 9999px !important;
	background-color: var(--color-primary) !important;
	color: var(--color-primary-foreground) !important;
	font-size: 15px !important;
	font-weight: 500 !important;
	letter-spacing: 0.025em !important;
	text-decoration: none !important;
	box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1);
	transition: all 300ms !important;
}

.theme-product-card a.theme-card-add .truncate {
	min-width: 0;
}

@media (min-width: 640px) {
	.theme-product-card .add_to_cart_button.theme-card-add,
	.theme-product-card button.theme-card-add,
	.theme-product-card a.theme-card-add { height: 3rem; }
}

.theme-product-card .add_to_cart_button.theme-card-add:hover,
.theme-product-card button.theme-card-add:hover,
.theme-product-card a.theme-card-add:hover { background-color: var(--pr-90) !important; }

.theme-product-card button.theme-card-add:active,
.theme-product-card a.theme-card-add:active { transform: scale(0.97); }

/* ---------- 404 ---------- */
.notfound {
	display: flex;
	min-height: 100vh;
	align-items: center;
	justify-content: center;
	background: var(--color-muted);
	padding: 0;
}

.notfound__inner { text-align: center; }

.notfound__code {
	margin-bottom: 1rem;
	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: var(--pr-90); }

/* ---------- WooCommerce notices & generic pages ---------- */
.woocommerce-message,
.woocommerce-info,
.woocommerce-error {
	list-style: none;
	margin: 0 0 1.5rem;
	padding: 1rem 1.25rem;
	border: 1px solid var(--color-border);
	border-radius: var(--radius);
	background: var(--color-secondary);
	color: var(--color-foreground);
	font-size: 15px;
}

.woocommerce-error { border-color: var(--color-destructive); }

.entry-content { font-size: 15px; line-height: 1.625; color: var(--fg-75); }
.entry-content p + p { margin-top: 1rem; }

body.woocommerce-cart .page-container,
body.woocommerce-account .page-container,
body.theme-thankyou-page .page-container {
	max-width: 80rem;
}

body.woocommerce-cart .entry-content,
body.woocommerce-account .entry-content { max-width: 100%; }

/* ---------- Checkout (WC Blocks) ---------- */
:root {
	--checkout-max-width: 1280px;
	--checkout-gap: 2rem;
}

body.woocommerce-checkout .site-main.site-main--inner.theme-checkout-main {
	padding-top: 5rem;
	padding-bottom: 4rem;
}

body.admin-bar.woocommerce-checkout .site-main.site-main--inner.theme-checkout-main {
	padding-top: calc(5rem + var(--admin-bar-offset, var(--wp-admin--admin-bar--height, 32px)));
}

@media (min-width: 1024px) {
	body.woocommerce-checkout .site-main.site-main--inner.theme-checkout-main {
		padding-top: 6.5rem;
	}

	body.admin-bar.woocommerce-checkout .site-main.site-main--inner.theme-checkout-main {
		padding-top: calc(6.5rem + var(--admin-bar-offset, var(--wp-admin--admin-bar--height, 32px)));
	}
}

@media (max-width: 782px) {
	body.admin-bar.woocommerce-checkout .site-main.site-main--inner.theme-checkout-main {
		padding-top: calc(5rem + var(--admin-bar-offset, var(--wp-admin--admin-bar--height, 46px)));
	}
}

.theme-checkout-shell {
	max-width: var(--checkout-max-width);
	width: 100%;
	margin-inline: auto;
	padding-top: 30px;
	padding-bottom: 4rem;
	box-sizing: border-box;
}

.theme-checkout-header {
	width: 100%;
	margin-inline: 0;
	margin-bottom: 0;
	padding-inline: 1rem;
	box-sizing: border-box;
}

@media (min-width: 640px) {
	.theme-checkout-header { padding-inline: 1.5rem; }
}

@media (min-width: 1024px) {
	.theme-checkout-header { padding-inline: 4rem; }
}

.checkout-continue-link {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	margin-bottom: 1rem;
	font-size: 15px;
	color: var(--fg-65);
	text-decoration: none;
	transition: color 300ms ease-out;
}

.checkout-continue-link:hover { color: var(--color-primary); }

.theme-checkout-title {
	font-family: var(--font-display);
	font-size: 2.25rem;
	line-height: 1.1;
	margin: 0 0 20px;
	color: var(--color-foreground);
}

@media (min-width: 768px) {
	.theme-checkout-title { font-size: 3rem; }
}

.theme-checkout-intro {
	margin: 0.75rem 0 0;
	font-size: 15px;
	color: var(--fg-65);
}

body.woocommerce-checkout .theme-checkout-main .entry-content,
.entry-content:has(.wc-block-checkout) {
	max-width: 100%;
	width: 100%;
}

body.woocommerce-checkout .theme-checkout-main .entry-content,
.entry-content:has(.wc-block-checkout) {
	margin-top: 0;
	padding-top: 0;
}

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: 100%;
	width: 100%;
	min-width: 0;
	margin-inline: 0;
	margin-top: 0;
	padding-top: 0;
	padding-inline: 0;
	box-sizing: border-box;
	font-family: var(--font-body);
	color: var(--color-foreground);
}

body.woocommerce-checkout .wc-block-checkout.alignwide,
.entry-content .wc-block-checkout.alignwide {
	margin-top: 0;
	margin-inline: 0;
	max-width: 100%;
}

/* Match header inset on checkout grid; cancel WC Blocks inner column padding */
body.woocommerce-checkout .wc-block-checkout > .wc-block-components-notices,
body.woocommerce-checkout .wc-block-checkout > .wc-block-components-notice-banner,
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-notices,
.entry-content .wc-block-checkout > .wc-block-components-notice-banner,
.entry-content .wc-block-checkout .wc-block-components-sidebar-layout,
.entry-content .wc-block-checkout .wc-block-checkout-sidebar-layout {
	padding-inline: 1rem;
	box-sizing: border-box;
}

@media (min-width: 640px) {
	body.woocommerce-checkout .wc-block-checkout > .wc-block-components-notices,
	body.woocommerce-checkout .wc-block-checkout > .wc-block-components-notice-banner,
	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-notices,
	.entry-content .wc-block-checkout > .wc-block-components-notice-banner,
	.entry-content .wc-block-checkout .wc-block-components-sidebar-layout,
	.entry-content .wc-block-checkout .wc-block-checkout-sidebar-layout {
		padding-inline: 1.5rem;
	}
}

@media (min-width: 1024px) {
	body.woocommerce-checkout .wc-block-checkout > .wc-block-components-notices,
	body.woocommerce-checkout .wc-block-checkout > .wc-block-components-notice-banner,
	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-notices,
	.entry-content .wc-block-checkout > .wc-block-components-notice-banner,
	.entry-content .wc-block-checkout .wc-block-components-sidebar-layout,
	.entry-content .wc-block-checkout .wc-block-checkout-sidebar-layout {
		padding-inline: 4rem;
	}
}

body.woocommerce-checkout .wc-block-checkout .wc-block-checkout__main,
body.woocommerce-checkout .wc-block-checkout .wc-block-components-main,
body.woocommerce-checkout .wc-block-checkout .wp-block-woocommerce-checkout-fields-block,
body.woocommerce-checkout .wc-block-checkout .wc-block-checkout__form,
body.woocommerce-checkout .wc-block-checkout .wc-block-components-form,
body.woocommerce-checkout .wc-block-checkout .wc-block-checkout__contact-fields,
body.woocommerce-checkout .wc-block-checkout .wc-block-components-checkout-step,
body.woocommerce-checkout .wc-block-checkout.is-large .wc-block-checkout__main,
body.woocommerce-checkout .wc-block-checkout.is-large .wc-block-components-main,
body.woocommerce-checkout .wc-block-checkout.is-medium .wc-block-checkout__main,
body.woocommerce-checkout .wc-block-checkout.is-medium .wc-block-components-main,
.entry-content .wc-block-checkout .wc-block-checkout__main,
.entry-content .wc-block-checkout .wc-block-components-main,
.entry-content .wc-block-checkout .wp-block-woocommerce-checkout-fields-block,
.entry-content .wc-block-checkout .wc-block-checkout__form,
.entry-content .wc-block-checkout .wc-block-components-form,
.entry-content .wc-block-checkout .wc-block-checkout__contact-fields,
.entry-content .wc-block-checkout .wc-block-components-checkout-step,
.entry-content .wc-block-checkout.is-large .wc-block-checkout__main,
.entry-content .wc-block-checkout.is-large .wc-block-components-main,
.entry-content .wc-block-checkout.is-medium .wc-block-checkout__main,
.entry-content .wc-block-checkout.is-medium .wc-block-components-main {
	padding-inline: 0 !important;
	margin-inline: 0 !important;
}

@container (min-width: 700px) {
	body.woocommerce-checkout .wc-block-checkout .wc-block-checkout__main,
	body.woocommerce-checkout .wc-block-checkout .wc-block-components-main,
	.entry-content .wc-block-checkout .wc-block-checkout__main,
	.entry-content .wc-block-checkout .wc-block-components-main {
		padding-inline: 0 !important;
	}
}

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;
	padding-top: 0;
}

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-components-notices,
.entry-content .wc-block-components-notices {
	max-width: var(--checkout-max-width);
	width: 100%;
	margin-inline: auto;
	margin-top: 0;
	padding-top: 0;
	margin-bottom: var(--checkout-gap);
	box-sizing: border-box;
}

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;
}

@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 .wc-block-components-sidebar-layout > .wc-block-components-notices,
	body.woocommerce-checkout .wc-block-checkout .wc-block-components-sidebar-layout > .wc-block-components-notice-banner,
	.entry-content .wc-block-checkout .wc-block-components-sidebar-layout > .wc-block-components-notices,
	.entry-content .wc-block-checkout .wc-block-components-sidebar-layout > .wc-block-components-notice-banner {
		grid-column: 1 / -1;
	}

	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-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: transparent;
	border: 0;
	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-linen);
	border: 1px solid var(--fg-10);
	border-radius: 1rem;
	padding: 1.75rem;
	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-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);
	font-weight: 400;
	font-size: 1.5rem;
	color: var(--color-foreground);
}

body.woocommerce-checkout .wc-block-components-text-input input,
body.woocommerce-checkout .wc-block-components-textarea textarea,
.entry-content .wc-block-components-text-input input,
.entry-content .wc-block-components-textarea textarea {
	width: 100% !important;
	max-width: none !important;
	font-family: var(--font-body);
	font-size: 15px;
	color: var(--color-foreground);
	background-color: var(--color-ivory);
	border: 1px solid var(--fg-15);
	border-radius: calc(var(--radius) - 2px);
	padding: revert;
}

body.woocommerce-checkout .wc-block-components-text-input input:focus,
body.woocommerce-checkout .wc-block-components-textarea textarea:focus,
.entry-content .wc-block-components-text-input input:focus,
.entry-content .wc-block-components-textarea textarea:focus {
	border-color: var(--color-primary);
	outline: none;
	box-shadow: none;
}

/* WC Blocks select (floating label) — preserve top padding so selected text aligns under label */
body.woocommerce-checkout .wc-blocks-components-select,
.entry-content .wc-blocks-components-select {
	width: 100%;
	max-width: none;
}

body.woocommerce-checkout .wc-blocks-components-select .wc-blocks-components-select__container,
.entry-content .wc-blocks-components-select .wc-blocks-components-select__container {
	background-color: var(--color-ivory);
	border-radius: calc(var(--radius) - 2px);
	line-height: 0;
}

body.woocommerce-checkout .wc-blocks-components-select .wc-blocks-components-select__select,
.entry-content .wc-blocks-components-select .wc-blocks-components-select__select {
	width: 100% !important;
	max-width: none !important;
	height: 3rem;
	min-height: 3rem;
	padding: 1rem 2.25rem 0 0.875rem;
	line-height: 1.25;
	font-family: var(--font-body);
	font-size: 15px;
	color: var(--color-foreground);
	background: transparent;
	border: 1px solid var(--fg-15);
	border-radius: calc(var(--radius) - 2px);
	appearance: none;
	box-sizing: border-box;
}

body.woocommerce-checkout .wc-blocks-components-select .wc-blocks-components-select__select:focus,
.entry-content .wc-blocks-components-select .wc-blocks-components-select__select:focus {
	border-color: var(--color-primary);
	border-width: 1.5px;
	padding: 1rem 2.2rem 0 0.85rem;
	outline: none;
	box-shadow: none;
}

body.woocommerce-checkout .wc-blocks-components-select .wc-blocks-components-select__label,
.entry-content .wc-blocks-components-select .wc-blocks-components-select__label {
	position: absolute;
	top: 0.375rem;
	left: 0.875rem;
	z-index: 1;
	margin: 0;
	font-family: var(--font-body);
	font-size: 13px;
	line-height: 1.4;
	color: var(--fg-55);
	max-width: calc(100% - 2.5rem);
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

body.woocommerce-checkout .wc-blocks-components-select .wc-blocks-components-select__expand,
.entry-content .wc-blocks-components-select .wc-blocks-components-select__expand {
	position: absolute;
	top: 50%;
	right: 0.75rem;
	transform: translateY(-50%);
	pointer-events: none;
	fill: var(--color-foreground);
}

/* Legacy select wrappers (non-blocks component) */
body.woocommerce-checkout .wc-block-components-select select:not(.wc-blocks-components-select__select),
body.woocommerce-checkout .wc-block-components-country-input select:not(.wc-blocks-components-select__select),
body.woocommerce-checkout .wc-block-components-state-input select:not(.wc-blocks-components-select__select),
.entry-content .wc-block-components-select select:not(.wc-blocks-components-select__select),
.entry-content .wc-block-components-country-input select:not(.wc-blocks-components-select__select),
.entry-content .wc-block-components-state-input select:not(.wc-blocks-components-select__select) {
	width: 100% !important;
	max-width: none !important;
	height: 3rem;
	padding: 0 2.25rem 0 0.875rem;
	line-height: 1.25;
	font-family: var(--font-body);
	font-size: 15px;
	color: var(--color-foreground);
	background-color: var(--color-ivory);
	border: 1px solid var(--fg-15);
	border-radius: calc(var(--radius) - 2px);
	appearance: none;
	box-sizing: border-box;
}

body.woocommerce-checkout .wc-block-components-select select:not(.wc-blocks-components-select__select):focus,
body.woocommerce-checkout .wc-block-components-country-input select:not(.wc-blocks-components-select__select):focus,
body.woocommerce-checkout .wc-block-components-state-input select:not(.wc-blocks-components-select__select):focus,
.entry-content .wc-block-components-select select:not(.wc-blocks-components-select__select):focus,
.entry-content .wc-block-components-country-input select:not(.wc-blocks-components-select__select):focus,
.entry-content .wc-block-components-state-input select:not(.wc-blocks-components-select__select):focus {
	border-color: var(--color-primary);
	outline: none;
	box-shadow: none;
}

body.woocommerce-checkout .wc-block-components-text-input input::placeholder,
.entry-content .wc-block-components-text-input input::placeholder { color: var(--fg-45); }

body.woocommerce-checkout .wc-block-components-text-input label,
body.woocommerce-checkout .wc-block-components-select label,
.entry-content .wc-block-components-text-input label,
.entry-content .wc-block-components-select label {
	color: var(--fg-55);
	font-family: var(--font-body);
}

body.woocommerce-checkout .wc-block-components-checkout-place-order-button,
body.woocommerce-checkout .wc-block-components-button:not(.is-link),
.entry-content .wc-block-components-checkout-place-order-button,
.entry-content .wc-block-components-button:not(.is-link) {
	background-color: var(--color-primary);
	color: var(--color-primary-foreground);
	border: 1px solid var(--color-primary);
	border-radius: 9999px;
	font-family: var(--font-body);
	font-size: 15px;
	font-weight: 500;
	min-height: 3rem;
	text-transform: none;
	letter-spacing: normal;
}

body.woocommerce-checkout .wc-block-components-checkout-place-order-button:hover,
body.woocommerce-checkout .wc-block-components-button:not(.is-link):hover,
.entry-content .wc-block-components-checkout-place-order-button:hover,
.entry-content .wc-block-components-button:not(.is-link):hover {
	background-color: var(--pr-90);
	color: var(--color-primary-foreground);
}

body.woocommerce-checkout .wc-block-components-notice-banner,
.entry-content .wc-block-components-notice-banner {
	border-radius: var(--radius);
	border: 1px solid var(--color-border);
	background: var(--color-secondary);
	color: var(--color-foreground);
	font-family: var(--font-body);
}

body.woocommerce-checkout .wc-block-components-notice-banner.is-error,
.entry-content .wc-block-components-notice-banner.is-error { border-color: var(--color-destructive); }

body.woocommerce-checkout .wc-block-cart-items,
body.woocommerce-checkout .wc-block-components-order-summary,
body.woocommerce-checkout .wc-block-components-totals-wrapper,
.entry-content .wc-block-cart-items,
.entry-content .wc-block-components-order-summary,
.entry-content .wc-block-components-totals-wrapper {
	font-family: var(--font-body);
	color: var(--color-foreground);
	border-color: var(--fg-10);
}

body.woocommerce-checkout .wc-block-components-product-name,
.entry-content .wc-block-components-product-name { color: var(--color-foreground); font-weight: 500; }

/* Classic fields (fallback selectors) */
.woocommerce-checkout .form-row .input-text,
.woocommerce-checkout .form-row select {
	width: 100%;
	font-size: 15px;
	background: var(--color-ivory);
	border: 1px solid var(--fg-15);
	border-radius: calc(var(--radius) - 2px);
}

/* ---------- Cart page (block) ---------- */
body.woocommerce-cart .wc-block-cart,
body.woocommerce-cart .wp-block-woocommerce-cart {
	font-family: var(--font-body);
	color: var(--color-foreground);
}

body.woocommerce-cart .wc-block-cart__main,
body.woocommerce-cart .wc-block-cart__sidebar { min-width: 0; max-width: none; }

body.woocommerce-cart .wc-block-components-button:not(.is-link) {
	background-color: var(--color-primary);
	color: var(--color-primary-foreground);
	border-radius: 9999px;
	font-weight: 500;
	min-height: 3rem;
}

/* ---------- Order received ---------- */
body.theme-thankyou-page { overflow-x: clip; }

body.theme-thankyou-page .woocommerce-order {
	font-size: 15px;
	color: var(--fg-75);
}

body.theme-thankyou-page .woocommerce-order-overview {
	display: flex;
	flex-wrap: wrap;
	gap: 1.5rem;
	margin: 0 0 2rem;
	padding: 1.5rem;
	background: var(--color-linen);
	border: 1px solid var(--fg-10);
	border-radius: 1rem;
}

body.theme-thankyou-page .woocommerce-order-overview li {
	font-size: 13px;
	text-transform: uppercase;
	letter-spacing: 0.18em;
	color: var(--fg-55);
}

body.theme-thankyou-page .woocommerce-order-overview li strong {
	display: block;
	margin-top: 0.25rem;
	font-size: 15px;
	letter-spacing: 0;
	text-transform: none;
	color: var(--color-foreground);
}

body.theme-thankyou-page .woocommerce-order h2,
body.theme-thankyou-page .woocommerce-order-details__title,
body.theme-thankyou-page h2 {
	font-family: var(--font-display);
	font-size: 1.5rem;
	line-height: 2rem;
	color: var(--color-foreground);
	padding: 0 0 1rem 0;
}

body.theme-thankyou-page .woocommerce-order-details table {
	width: 100%;
	table-layout: fixed;
	border: 1px solid var(--fg-10);
}

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(--fg-10);
	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;
}
