/* ==========================================================================
   Waliya House Publishing — theme stylesheet
   ========================================================================== */

/* ---- Design tokens (source HSL tokens converted to hex, see inc/defaults.php) ---- */
:root {
	--color-background: #f6f3ee;
	--color-foreground: #251e18;
	--color-primary: #28211a;
	--color-primary-foreground: #f8f5f1;
	--color-accent: #9b753b;
	--color-accent-foreground: #f8f5f1;
	--color-ivory: #f6f3ee;
	--color-linen: #ece6df;
	--color-bone: #e2dcd4;
	--color-destructive: #9e442e;
	--logo-height: 40px;

	--radius: 0.5rem;
	--muted-foreground: hsl(25 12% 38%);
	--shadow-soft: 0 4px 22px -10px hsl(25 30% 12% / 0.16);
	--shadow-elevated: 0 22px 55px -20px hsl(25 30% 12% / 0.32);

	--font-body: 'Switzer', system-ui, -apple-system, sans-serif;
	--font-display: 'Newsreader', 'Instrument Serif', Georgia, serif;

	--btn-radius: 9999px;
	--btn-height: 3rem;
	--btn-padding: 0 1.75rem;
	--btn-font-size: 14px;
	--btn-font-weight: 500;
	--btn-letter-spacing: normal;
	--btn-text-transform: none;
	--btn-icon-padding: 0;
	--header-height: 7rem;

	--fg-04: color-mix(in srgb, var(--color-foreground) 4%, transparent);
	--fg-05: color-mix(in srgb, var(--color-foreground) 5%, 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-35: color-mix(in srgb, var(--color-foreground) 35%, transparent);
	--fg-40: color-mix(in srgb, var(--color-foreground) 40%, transparent);
	--fg-45: color-mix(in srgb, var(--color-foreground) 45%, 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);
	--primary-10: color-mix(in srgb, var(--color-primary) 10%, transparent);
	--primary-40: color-mix(in srgb, var(--color-primary) 40%, transparent);
	--primary-60: color-mix(in srgb, var(--color-primary) 60%, transparent);
	--primary-90: color-mix(in srgb, var(--color-primary) 90%, transparent);
	--accent-55: color-mix(in srgb, var(--color-accent) 55%, transparent);
	--accent-90: color-mix(in srgb, var(--color-accent) 90%, transparent);
	--ivory-85: color-mix(in srgb, var(--color-ivory) 85%, transparent);
	--ivory-90: color-mix(in srgb, var(--color-ivory) 90%, transparent);
	--ivory-95: color-mix(in srgb, var(--color-ivory) 95%, transparent);
	--ivory-70: color-mix(in srgb, var(--color-ivory) 70%, transparent);
	--linen-40: color-mix(in srgb, var(--color-linen) 40%, transparent);
	--bg-60: color-mix(in srgb, var(--color-background) 60%, transparent);
	--bg-85: color-mix(in srgb, var(--color-background) 85%, transparent);
	--bg-95: color-mix(in srgb, var(--color-background) 95%, transparent);
	--pf-50: color-mix(in srgb, var(--color-primary-foreground) 50%, transparent);
	--pf-80: color-mix(in srgb, var(--color-primary-foreground) 80%, transparent);
	--pf-95: color-mix(in srgb, var(--color-primary-foreground) 95%, transparent);
}

/* ---- Reset (Tailwind preflight parity) ---- */
*, *::before, *::after {
	box-sizing: border-box;
	border-width: 0;
	border-style: solid;
	border-color: var(--fg-15);
}
html {
	line-height: 1.5;
	-webkit-text-size-adjust: 100%;
	scroll-behavior: smooth;
	overflow-x: clip;
	max-width: 100%;
}
body {
	margin: 0;
	max-width: 100%;
	overflow-x: clip;
	background-color: var(--color-background);
	color: var(--color-foreground);
	font-family: var(--font-body);
	font-feature-settings: 'ss01', 'cv11';
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}
h1, h2, h3, h4, h5, h6 {
	margin: 0;
	font-size: inherit;
	font-weight: inherit;
	font-family: var(--font-display);
	letter-spacing: -0.014em;
	font-weight: 400;
}
p, figure, blockquote, dl, dd { margin: 0; }
ul, ol { list-style: none; margin: 0; padding: 0; }
a { color: inherit; text-decoration: inherit; cursor: pointer; }
button, input, select, textarea {
	font-family: inherit;
	font-size: 100%;
	font-weight: inherit;
	line-height: inherit;
	color: inherit;
	margin: 0;
	padding: 0;
	background: transparent;
	border-radius: 0;
}
button { cursor: pointer; -webkit-appearance: button; appearance: button; background-image: none; text-transform: none; }
button:disabled { cursor: default; }
table { border-collapse: collapse; border-color: inherit; text-indent: 0; }
img, svg, video, canvas { display: block; vertical-align: middle; }
img:not(.cover-img):not(.hero-bg-img):not(.product-card-img):not(.cart-item__img):not(.product-main-img):not(.product-thumb-img):not(.founder__img):not(.service-card__img):not(.theme-checkout-item__img),
video:not(.hero__video):not(.cta__video) {
	max-width: 100%;
	height: auto;
}
[hidden] { display: none !important; }
section[id] { scroll-margin-top: 80px; }
.font-display { font-family: var(--font-display); }
.cover-img, .hero-bg-img, .hero__bg-img, .product-card-img, .cart-item__img, .product-main-img, .product-thumb-img, .founder__img, .service-card__img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	max-width: none;
	object-fit: cover;
}
.cart-item__img { position: static; }
svg.icon-xs { width: 0.75rem; height: 0.75rem; flex-shrink: 0; }
svg.icon-sm { width: 0.875rem; height: 0.875rem; flex-shrink: 0; }
svg.icon-md { width: 1rem; height: 1rem; flex-shrink: 0; }
svg.icon-lg { width: 1.25rem; height: 1.25rem; flex-shrink: 0; }

.container-wide {
	width: 100%;
	max-width: 80rem;
	margin-left: auto;
	margin-right: auto;
	padding-left: 1.25rem;
	padding-right: 1.25rem;
}
@media (min-width: 640px) { .container-wide { padding-left: 1.5rem; padding-right: 1.5rem; } }
@media (min-width: 1024px) { .container-wide { padding-left: 2.5rem; padding-right: 2.5rem; } }

.scrim-radial {
	background-image: radial-gradient(at center, hsl(30 20% 8% / 0.35) 0%, hsl(30 20% 8% / 0.6) 70%, hsl(30 20% 8% / 0.82) 100%);
}

/* ---- Animations ---- */
@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 marquee {
	0% { transform: translateX(0); }
	100% { transform: translateX(-33.3333%); }
}

[data-reveal] {
	opacity: 0;
	transform: translateY(24px);
	transition: opacity 900ms cubic-bezier(0.22, 1, 0.36, 1), transform 900ms cubic-bezier(0.22, 1, 0.36, 1);
	will-change: opacity, transform;
}
[data-reveal].is-revealed { opacity: 1; transform: translateY(0); }
body.is-customizer [data-reveal],
body.is-customizer .reveal-item { opacity: 1; transform: none; }

.brass-mark {
	background-image: linear-gradient(to top, var(--accent-55) 0%, var(--accent-55) 62%, transparent 62%, transparent 100%);
	background-repeat: no-repeat;
	background-size: 100% 88%;
	background-position: 0 100%;
	padding: 0 0.12em;
	border-radius: 2px;
	box-decoration-break: clone;
	-webkit-box-decoration-break: clone;
	font-style: italic;
}

/* ---- Buttons ---- */
.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.5rem;
	white-space: nowrap;
	height: 2.75rem;
	padding: 0.625rem 1.5rem;
	border-radius: 9999px;
	border: 1px solid transparent;
	font-size: 14px;
	font-weight: 500;
	line-height: 1.5;
	text-decoration: none;
	cursor: pointer;
	transition: color 150ms cubic-bezier(0.4, 0, 0.2, 1), background-color 150ms cubic-bezier(0.4, 0, 0.2, 1), border-color 150ms cubic-bezier(0.4, 0, 0.2, 1);
}
.btn svg { width: 1rem; height: 1rem; flex-shrink: 0; pointer-events: none; }
.btn:disabled, .btn.disabled { pointer-events: none; opacity: 0.6; }
.btn--sm { height: 2.25rem; padding: 0 1rem; }
.btn--lg { height: 3rem; padding: 0 1.75rem; }
.btn--block { width: 100%; }
.btn--default { background-color: var(--color-primary); color: var(--color-primary-foreground); border-color: var(--color-primary); }
.btn--default:hover { background-color: var(--primary-90); }
.btn--outline { background-color: transparent; color: var(--color-foreground); border-color: var(--fg-25); }
.btn--outline:hover { border-color: var(--color-foreground); background-color: var(--fg-04); }
.btn--glass { background-color: rgb(255 255 255 / 0.1); color: #fff; border-color: rgb(255 255 255 / 0.4); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); }
.btn--glass:hover { background-color: rgb(255 255 255 / 0.2); }
.btn--brass { background-color: var(--color-accent); color: var(--color-accent-foreground); border-color: var(--color-accent); }
.btn--brass:hover { background-color: var(--accent-90); }
.btn--ghost { border-color: transparent; }
.btn--ghost:hover { background-color: var(--fg-05); }

/* ==========================================================================
   Header
   ========================================================================== */
.site-header { position: fixed; top: 0; left: 0; right: 0; z-index: 50; }
.announce {
	background-color: var(--color-foreground);
	color: var(--color-background);
	font-size: 11px;
	font-weight: 500;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	padding: 0.5rem 1rem;
	text-align: center;
}
@media (min-width: 640px) { .announce { font-size: 12px; } }
.announce__text { opacity: 0.9; }
.announce__badge { color: var(--color-accent); padding: 0 0.375rem; margin-left: 0.5rem; }

.site-header__bar {
	background-color: transparent;
	border-bottom: 1px solid transparent;
	transition: background-color 500ms cubic-bezier(0.4, 0, 0.2, 1), border-color 500ms cubic-bezier(0.4, 0, 0.2, 1);
}
.site-header.is-solid .site-header__bar {
	background-color: var(--ivory-85);
	-webkit-backdrop-filter: blur(24px);
	backdrop-filter: blur(24px);
	border-bottom-color: var(--fg-10);
}
.site-header__inner { display: flex; align-items: center; justify-content: space-between; height: 4rem; }
@media (min-width: 1024px) {
	.site-header__inner { height: 5rem; display: grid; grid-template-columns: 1fr auto 1fr; }
}

.menu-toggle, .cart-button {
	position: relative;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 2.5rem;
	height: 2.5rem;
	border-radius: 9999px;
	color: #fff;
	transition: color 150ms cubic-bezier(0.4, 0, 0.2, 1), background-color 150ms cubic-bezier(0.4, 0, 0.2, 1);
}
.menu-toggle:hover, .cart-button:hover { background-color: rgb(255 255 255 / 0.1); }
.site-header.is-solid .menu-toggle, .site-header.is-solid .cart-button { color: var(--color-foreground); }
.site-header.is-solid .menu-toggle:hover, .site-header.is-solid .cart-button:hover { background-color: var(--fg-06); }
.menu-toggle { order: 1; }
.menu-toggle svg, .cart-button__icon { width: 1.25rem; height: 1.25rem; }
.menu-toggle__close { display: none; }
.site-header.is-open .menu-toggle__open { display: none; }
.site-header.is-open .menu-toggle__close { display: block; }
@media (min-width: 1024px) { .menu-toggle { display: none; } }

.site-brand { display: flex; align-items: center; gap: 0.625rem; flex-shrink: 0; order: 2; }
@media (min-width: 1024px) { .site-brand { order: 1; justify-self: start; } }
.site-logo-img { height: var(--logo-height) !important; width: auto !important; display: block; transition: all 150ms cubic-bezier(0.4, 0, 0.2, 1); }
.site-header .site-brand__logo { filter: none; }
.site-header.is-solid .site-brand__logo, .site-brand__logo--footer { filter: brightness(0); }
@media (max-width: 767px) {
	.site-header .site-brand__logo { height: calc(var(--logo-height) * 0.9) !important; }
}
.site-brand__name {
	font-size: 13px;
	line-height: 1.25;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: #fff;
	transition: color 150ms cubic-bezier(0.4, 0, 0.2, 1);
}
@media (min-width: 768px) { .site-brand__name { font-size: 14px; } }
.site-header.is-solid .site-brand__name { color: var(--color-foreground); }
.site-brand--footer { display: inline-flex; }
.site-brand--footer .site-brand__name { font-size: 13px; color: var(--color-foreground); }

.site-nav { display: none; }
@media (min-width: 1024px) { .site-nav { display: flex; align-items: center; justify-self: center; order: 2; } }
.site-nav__list { display: flex; align-items: center; gap: 1.75rem; }
.site-nav__link {
	position: relative;
	display: inline-block;
	font-size: 14px;
	font-weight: 500;
	color: rgb(255 255 255 / 0.85);
	transition: color 300ms cubic-bezier(0.4, 0, 0.2, 1);
}
.site-nav__link:hover, .site-nav__link.is-active { color: #fff; }
.site-nav__link::after {
	content: '';
	pointer-events: none;
	position: absolute;
	left: 0;
	right: 0;
	bottom: -0.375rem;
	height: 2px;
	border-radius: 9999px;
	background-color: #fff;
	opacity: 0;
	transform: scaleX(0);
	transition: all 300ms cubic-bezier(0.4, 0, 0.2, 1);
}
.site-nav__link.is-active::after { opacity: 1; transform: scaleX(1); }
.site-header.is-solid .site-nav__link { color: var(--fg-75); }
.site-header.is-solid .site-nav__link:hover, .site-header.is-solid .site-nav__link.is-active { color: var(--color-primary); }
.site-header.is-solid .site-nav__link::after { background-color: var(--color-primary); }

.header-actions { display: flex; align-items: center; gap: 0.5rem; order: 3; }
@media (min-width: 1024px) { .header-actions { justify-self: end; } }
.theme-cart-count {
	position: absolute;
	top: -0.125rem;
	right: -0.125rem;
	display: flex;
	align-items: center;
	justify-content: center;
	min-width: 18px;
	height: 18px;
	padding: 0 0.25rem;
	border-radius: 9999px;
	background-color: var(--color-primary);
	color: var(--color-primary-foreground);
	font-size: 12px;
	font-weight: 500;
}
.theme-cart-count:empty { display: none; }

.mobile-menu { display: none; }
.site-header.is-open .mobile-menu {
	display: block;
	border-top: 1px solid var(--fg-10);
	background-color: var(--ivory-95);
	-webkit-backdrop-filter: blur(24px);
	backdrop-filter: blur(24px);
	animation: fade-in 0.7s ease-out both;
}
@media (min-width: 1024px) { .site-header.is-open .mobile-menu { display: none; } }
.mobile-menu__inner { padding-top: 1rem; padding-bottom: 1rem; display: flex; flex-direction: column; }
.mobile-nav__list { display: flex; flex-direction: column; width: 100%; }
.mobile-nav__link {
	display: block;
	text-align: left;
	font-size: 14px;
	font-weight: 500;
	padding: 0.75rem 0;
	border-bottom: 1px solid var(--fg-10);
	color: var(--fg-80);
	transition: color 150ms cubic-bezier(0.4, 0, 0.2, 1);
}
.mobile-nav__list li:last-child .mobile-nav__link { border-bottom: 0; }
.mobile-nav__link:hover { color: var(--color-primary); }

/* ==========================================================================
   Layout primitives
   ========================================================================== */
.section { padding-top: 6rem; padding-bottom: 6rem; }
@media (min-width: 768px) { .section { padding-top: 8rem; padding-bottom: 8rem; } }
.section--linen { background-color: var(--color-linen); }
.section--ivory { background-color: var(--color-ivory); }
.contact-section { padding-top: 6rem; padding-bottom: 3rem; }
@media (min-width: 768px) { .contact-section { padding-top: 8rem; padding-bottom: 4rem; } }
.faq-section { border-top: 1px solid var(--fg-10); }

.eyebrow {
	font-size: 12px;
	letter-spacing: 0.32em;
	text-transform: uppercase;
	color: var(--color-primary);
	margin-bottom: 1rem;
	font-weight: 500;
}
.eyebrow--lg { margin-bottom: 1.25rem; }
.eyebrow--sm { margin-bottom: 0.75rem; }

.section-heading { color: var(--color-foreground); line-height: 1.05; font-size: 2.25rem; }
@media (min-width: 768px) { .section-heading { font-size: 3rem; } }
@media (min-width: 1024px) {
	.section-heading--about { font-size: 3.4rem; }
	.section-heading--shop { font-size: 3.2rem; }
	.section-heading--faq { font-size: 3rem; }
}

.pull-quote {
	margin-top: 2rem;
	font-style: italic;
	font-size: 1.25rem;
	line-height: 1.375;
	color: var(--fg-75);
	border-left: 2px solid var(--color-accent);
	padding-left: 1.25rem;
}
@media (min-width: 768px) { .pull-quote { font-size: 1.5rem; line-height: 1.375; } }
.pull-quote--founder { margin-top: 2rem; }

.prose-copy { max-width: 65ch; font-size: 15px; line-height: 1.5; color: var(--fg-80); }
.prose-copy > * + * { margin-top: 1.25rem; }
@media (min-width: 768px) { .prose-copy { font-size: 1rem; line-height: 1.5; } }
.prose-copy--founder { margin-top: 2.5rem; }
.text-primary-medium { color: var(--color-primary); font-weight: 500; }

.hide-mobile { display: none; }
@media (min-width: 640px) { .hide-mobile { display: block; } }

.site-main--page { padding-top: 6rem; background-color: var(--color-ivory); min-height: 60vh; }
@media (min-width: 1024px) { .site-main--page { padding-top: 7rem; } }
.page-wrap { padding-top: 2.5rem; padding-bottom: 2.5rem; }
.page-title { font-size: 2.25rem; margin-bottom: 2.5rem; color: var(--color-foreground); }
@media (min-width: 768px) { .page-title { font-size: 3rem; } }

/* ==========================================================================
   Hero & CTA
   ========================================================================== */
.hero { position: relative; min-height: 100vh; width: 100%; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.hero__video, .cta__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero__scrim { position: absolute; inset: 0; pointer-events: none; }
.hero__tint { position: absolute; inset: 0; pointer-events: none; background-color: color-mix(in srgb, var(--color-foreground) 25%, transparent); }
.hero__inner { position: relative; z-index: 10; text-align: center; color: #fff; padding-top: 10rem; padding-bottom: 6rem; }
@media (min-width: 1024px) { .hero__inner { padding-top: 13rem; padding-bottom: 8rem; } }
.hero__badge-wrap { display: flex; justify-content: center; margin-bottom: 1.75rem; }
.hero__badge {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	padding: 0.375rem 1rem;
	border-radius: 9999px;
	background-color: rgb(255 255 255 / 0.1);
	border: 1px solid rgb(255 255 255 / 0.3);
	-webkit-backdrop-filter: blur(12px);
	backdrop-filter: blur(12px);
	font-size: 12px;
	letter-spacing: 0.22em;
	text-transform: uppercase;
	color: #fff;
	font-weight: 500;
}
.hero__title {
	color: #fff;
	line-height: 1.02;
	letter-spacing: -0.025em;
	margin: 0 auto;
	max-width: 64rem;
	filter: drop-shadow(0 2px 30px rgba(0, 0, 0, 0.55));
	font-size: clamp(2rem, 5.4vw, 4.4rem);
}
.hero__sub { margin: 1.75rem auto 0; max-width: 42rem; font-size: 14px; color: rgb(255 255 255 / 0.85); line-height: 1.625; }
@media (min-width: 640px) { .hero__sub { font-size: 15px; } }
.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; } }

.cta-section { position: relative; overflow: hidden; }
.cta__tint { position: absolute; inset: 0; pointer-events: none; background-color: color-mix(in srgb, var(--color-foreground) 45%, transparent); }
.cta__inner { position: relative; z-index: 10; padding-top: 7rem; padding-bottom: 7rem; text-align: center; color: #fff; }
@media (min-width: 768px) { .cta__inner { padding-top: 10rem; padding-bottom: 10rem; } }
.cta__eyebrow { display: inline-flex; align-items: center; justify-content: center; gap: 0.75rem; font-size: 12px; letter-spacing: 0.38em; text-transform: uppercase; color: rgb(255 255 255 / 0.85); margin-bottom: 1.5rem; font-weight: 500; }
.cta__rule { height: 1px; width: 2rem; background-color: rgb(255 255 255 / 0.6); }
.cta__title { color: #fff; line-height: 1.05; letter-spacing: -0.025em; margin: 0 auto; max-width: 56rem; filter: drop-shadow(0 2px 30px rgba(0, 0, 0, 0.55)); font-size: clamp(2rem, 5.4vw, 4rem); }
.cta__desc { margin: 1.75rem auto 0; max-width: 36rem; font-size: 15px; color: rgb(255 255 255 / 0.85); line-height: 1.625; }
.cta__action { margin-top: 2.5rem; }

/* ==========================================================================
   About / Founder
   ========================================================================== */
.about__grid, .founder__grid { display: grid; grid-template-columns: 1fr; gap: 3rem; }
@media (min-width: 1024px) {
	.about__grid, .founder__grid { grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 4rem; }
	.about__head { grid-column: span 5 / span 5; }
	.about__body { grid-column: span 7 / span 7; padding-left: 1.5rem; }
}
.pillars { margin-top: 3rem; display: grid; grid-template-columns: 1fr; gap: 1rem; }
@media (min-width: 640px) { .pillars { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.pillar { border-radius: 1rem; border: 1px solid var(--fg-10); background-color: var(--color-ivory); padding: 1.5rem; }
.pillar__icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 2.5rem;
	height: 2.5rem;
	border-radius: 9999px;
	background-color: var(--primary-10);
	color: var(--color-primary);
	margin-bottom: 1rem;
	transition: all 300ms cubic-bezier(0.4, 0, 0.2, 1);
}
.pillar:hover .pillar__icon { transform: rotate(20deg); border: 1px solid var(--primary-40); }
.pillar__title { font-size: 1.125rem; line-height: 1.75rem; color: var(--color-foreground); margin-bottom: 0.5rem; }
.pillar__body { font-size: 13px; line-height: 1.625; color: var(--fg-65); }

.founder__grid { align-items: stretch; }
.founder__media-col { position: relative; display: flex; }
@media (min-width: 1024px) {
	.founder__media-col { grid-column: span 5 / span 5; }
	.founder__body { grid-column: span 7 / span 7; padding-left: 1.5rem; }
}
.founder__media { position: relative; width: 100%; min-height: 520px; aspect-ratio: 4 / 5; overflow: hidden; border-radius: 1rem; background-color: var(--color-bone); box-shadow: var(--shadow-elevated); }
@media (min-width: 1024px) { .founder__media { min-height: 0; height: 100%; aspect-ratio: 4 / 5; } }
.founder__img { object-position: center top; }
.founder__tag {
	position: absolute; top: 1rem; left: 1rem;
	display: inline-flex; align-items: center; gap: 0.5rem;
	padding: 0.25rem 0.75rem; border-radius: 9999px;
	background-color: var(--color-primary); color: var(--color-primary-foreground);
	font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; font-weight: 500;
}
.founder__dot { width: 6px; height: 6px; border-radius: 9999px; background-color: var(--color-accent); }
.founder__caption {
	position: absolute; bottom: 1rem; right: 1rem;
	display: inline-flex; align-items: center; gap: 0.5rem;
	padding: 0.375rem 0.75rem; border-radius: 9999px;
	background-color: var(--ivory-90); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px);
	color: var(--color-foreground); font-size: 11px; font-weight: 500;
	box-shadow: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
}
.stats { margin-top: 2.5rem; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.5rem; border-top: 1px solid var(--fg-15); padding-top: 2rem; }
.stats__value { font-size: 1.5rem; line-height: 2rem; color: var(--color-primary); }
@media (min-width: 768px) { .stats__value { font-size: 1.875rem; line-height: 2.25rem; } }
.stats__label { margin-top: 0.25rem; font-size: 12px; text-transform: uppercase; letter-spacing: 0.18em; color: var(--fg-60); }

/* ==========================================================================
   Bookstore & product cards
   ========================================================================== */
.shop__head { display: flex; flex-direction: column; gap: 1.5rem; margin-bottom: 2.5rem; }
@media (min-width: 1024px) { .shop__head { flex-direction: row; align-items: flex-end; justify-content: space-between; } }
.shop__intro { max-width: 42rem; }
.shop__desc { margin-top: 1.25rem; font-size: 14px; color: var(--fg-65); line-height: 1.625; max-width: 36rem; }
@media (min-width: 768px) { .shop__desc { font-size: 15px; } }
.shop__search { position: relative; width: 100%; }
@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-40); }
.shop__search-input {
	width: 100%; height: 2.75rem; padding-left: 2.75rem; padding-right: 1rem;
	border-radius: 9999px; background-color: var(--color-linen); border: 1px solid var(--fg-10);
	font-size: 14px; transition: border-color 150ms cubic-bezier(0.4, 0, 0.2, 1);
	-webkit-appearance: none; appearance: none;
}
.shop__search-input::placeholder { color: var(--fg-45); }
.shop__search-input:focus { outline: none; border-color: var(--primary-60); }
.shop__filters { display: flex; flex-wrap: wrap; gap: 0.625rem; margin-bottom: 2.5rem; }
.pill {
	padding: 0 1.25rem; height: 2.5rem; border-radius: 9999px; font-size: 14px; font-weight: 500;
	border: 1px solid var(--fg-15); background-color: transparent; color: var(--fg-75);
	transition: color 150ms cubic-bezier(0.4, 0, 0.2, 1), background-color 150ms cubic-bezier(0.4, 0, 0.2, 1), border-color 150ms cubic-bezier(0.4, 0, 0.2, 1);
}
.pill:hover { border-color: var(--color-primary); color: var(--color-primary); }
.pill.is-active { background-color: var(--color-primary); color: var(--color-primary-foreground); border-color: var(--color-primary); }
.shop__empty { text-align: center; padding: 5rem 0; color: var(--fg-55); }
.shop__more { margin-top: 3rem; display: flex; justify-content: center; }
.shop-archive-title { margin-bottom: 2.5rem; }

.product-grid { display: grid; grid-template-columns: 1fr; column-gap: 1.5rem; row-gap: 2.5rem; align-items: stretch; }
@media (min-width: 640px) { .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .product-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.product-grid--related { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 1024px) { .product-grid--related { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.theme-product-card.is-hidden, .theme-product-card.is-collapsed { display: none; }

.theme-product-card { display: flex; flex-direction: column; height: 100%; }
.product-card__media { position: relative; aspect-ratio: 1 / 1; background-color: var(--color-linen); border-radius: 0.75rem; overflow: hidden; margin-bottom: 1rem; }
.product-card__overlay-link { position: absolute; inset: 0; z-index: 0; display: block; }
.product-card-img { will-change: transform; transition: transform 1400ms cubic-bezier(0.22, 0.61, 0.36, 1); pointer-events: none; }
.theme-product-card:hover .product-card-img { transform: scale(1.04); }
.product-card__scrim {
	position: absolute; inset: 0; pointer-events: none; opacity: 0;
	background-image: linear-gradient(to top, var(--fg-35), transparent, transparent);
	transition: opacity 500ms cubic-bezier(0.4, 0, 0.2, 1);
}
.theme-product-card:hover .product-card__scrim { opacity: 1; }
.product-card__badge {
	position: absolute; top: 0.75rem; left: 0.75rem; z-index: 10;
	background-color: var(--color-foreground); color: var(--color-background);
	font-size: 11px; font-weight: 500; padding: 0.25rem 0.625rem; border-radius: 9999px;
}
.product-card__arrow {
	position: absolute; top: 50%; transform: translateY(-50%); z-index: 20;
	width: 2rem; height: 2rem; border-radius: 9999px;
	background-color: var(--bg-85); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
	display: inline-flex; align-items: center; justify-content: center; color: var(--color-foreground);
	opacity: 0; box-shadow: 0 1px 2px 0 rgb(0 0 0 / 0.05);
	transition: all 300ms cubic-bezier(0.4, 0, 0.2, 1);
}
.product-card__arrow svg { width: 1rem; height: 1rem; }
.product-card__arrow--prev { left: 0.5rem; }
.product-card__arrow--next { right: 0.5rem; }
.theme-product-card:hover .product-card__arrow { opacity: 1; }
.product-card__arrow:hover { background-color: var(--color-primary); color: var(--color-primary-foreground); }
.product-card__dots { position: absolute; top: 0.75rem; right: 0.75rem; z-index: 10; display: flex; gap: 0.25rem; pointer-events: none; }
.product-card__dots span { height: 0.25rem; width: 0.25rem; border-radius: 9999px; background-color: var(--bg-60); transition: all 150ms cubic-bezier(0.4, 0, 0.2, 1); }
.product-card__dots span.is-active { width: 1rem; background-color: var(--color-background); }
.product-card__actions {
	position: absolute; left: 0.75rem; right: 0.75rem; bottom: 0.75rem; z-index: 20;
	display: flex; align-items: center; gap: 0.5rem; opacity: 0; pointer-events: auto;
	transition: opacity 500ms ease-out;
}
.theme-product-card:hover .product-card__actions { opacity: 1; }
.product-card__add, .product-card__quick {
	display: inline-flex; align-items: center; justify-content: center;
	border-radius: 9999px; background-color: var(--bg-95);
	-webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
	color: var(--color-foreground); box-shadow: 0 1px 2px 0 rgb(0 0 0 / 0.05);
	transition: color 300ms cubic-bezier(0.4, 0, 0.2, 1), background-color 300ms cubic-bezier(0.4, 0, 0.2, 1);
}
.product-card__quick { width: 2.5rem; height: 2.5rem; flex-shrink: 0; }
.product-card__quick svg { width: 1rem; height: 1rem; }
.product-card__quick:hover { background-color: var(--color-primary); color: var(--color-primary-foreground); }
.product-card__info { display: block; padding: 0 0.125rem; flex: 1; }
.product-card__cat { font-size: 11px; text-transform: uppercase; letter-spacing: 0.16em; color: var(--primary-90); margin-bottom: 0.375rem; font-weight: 500; }
.product-card__title { font-size: 1.15rem; line-height: 1.375; color: var(--color-foreground); transition: color 300ms cubic-bezier(0.4, 0, 0.2, 1); }
@media (min-width: 768px) { .product-card__title { font-size: 1.3rem; } }
@media (min-width: 1024px) { .product-card__title { font-size: 1.4rem; } }
.theme-product-card:hover .product-card__title { color: var(--color-primary); }
.product-card__price { margin-top: 0.375rem; font-size: 14px; font-weight: 500; color: var(--fg-85); }

/* ==========================================================================
   Marquee / Services / FAQ / Testimonials
   ========================================================================== */
.marquee { background-color: var(--color-primary); padding: 1.25rem 0; overflow: hidden; }
.marquee__track { display: flex; white-space: nowrap; animation: marquee 22s linear infinite; }
.marquee__item { display: flex; align-items: center; flex-shrink: 0; color: var(--pf-95); font-size: 1.125rem; line-height: 1.75rem; letter-spacing: 0.025em; }
@media (min-width: 768px) { .marquee__item { font-size: 1.25rem; } }
.marquee__text { margin: 0 1.5rem; }
@media (min-width: 768px) { .marquee__text { margin: 0 2rem; } }
.marquee__star { color: var(--pf-50); font-size: 14px; }

.services__head { max-width: 48rem; margin-bottom: 3.5rem; }
.services__grid { display: grid; grid-template-columns: 1fr; gap: 1.25rem; }
@media (min-width: 768px) { .services__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.5rem; } }
.service-card { background-color: var(--color-ivory); border: 1px solid var(--fg-10); border-radius: 1rem; overflow: hidden; display: flex; flex-direction: column; transition: border-color 150ms cubic-bezier(0.4, 0, 0.2, 1); }
.service-card:hover { border-color: var(--primary-40); }
.service-card__media { position: relative; aspect-ratio: 4 / 3; overflow: hidden; }
.service-card__img { transition: transform 700ms cubic-bezier(0.4, 0, 0.2, 1); }
.service-card:hover .service-card__img { transform: scale(1.05); }
.service-card__body { padding: 2rem; }
.service-card__icon { display: inline-flex; align-items: center; justify-content: center; width: 3rem; height: 3rem; border-radius: 9999px; background-color: var(--color-primary); color: var(--color-primary-foreground); margin-bottom: 1.5rem; }
.service-card__title { font-size: 1.5rem; line-height: 2rem; color: var(--color-foreground); margin-bottom: 0.75rem; }
.service-card__text { font-size: 14px; line-height: 1.625; color: var(--fg-70); }

.faq__stack > * + * { margin-top: 5rem; }
@media (min-width: 768px) { .faq__stack > * + * { margin-top: 6rem; } }
.faq__grid { display: grid; grid-template-columns: 1fr; gap: 3rem; }
@media (min-width: 1024px) {
	.faq__grid { grid-template-columns: repeat(12, minmax(0, 1fr)); }
	.faq__side { grid-column: span 4 / span 4; }
	.faq__list { grid-column: span 8 / span 8; }
}
.faq__desc { margin-top: 1.5rem; font-size: 14px; color: var(--fg-65); line-height: 1.625; max-width: 24rem; }
@media (min-width: 768px) { .faq__desc { font-size: 15px; } }
.faq__card-wrap { margin-top: 2.5rem; display: none; }
@media (min-width: 1024px) { .faq__card-wrap { display: block; } }
.faq__card { position: relative; overflow: hidden; border-radius: 1rem; border: 1px solid var(--fg-10); background-color: var(--color-ivory); padding: 1.75rem; }
.faq__card-icon { display: inline-flex; align-items: center; justify-content: center; width: 2.75rem; height: 2.75rem; border-radius: 9999px; background-color: var(--color-primary); color: var(--color-primary-foreground); margin-bottom: 1.25rem; }
.faq__card-title { font-size: 1.5rem; line-height: 1.375; color: var(--color-foreground); margin-bottom: 0.5rem; }
.faq__card-text { font-size: 14px; color: var(--fg-65); line-height: 1.625; margin-bottom: 1.5rem; }
.faq-item { border-bottom: 1px solid var(--fg-15); }
.faq-item__button { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; padding: 1.25rem 0; text-align: left; }
.faq-item__q { font-size: 1.125rem; line-height: 1.375; color: var(--color-foreground); }
@media (min-width: 768px) { .faq-item__q { font-size: 1.25rem; } }
.faq-item__icon { flex-shrink: 0; color: var(--color-primary); }
.faq-item__icon svg { width: 1.25rem; height: 1.25rem; }
.faq-item__minus, .faq-item.is-open .faq-item__plus { display: none; }
.faq-item.is-open .faq-item__minus { display: block; }
.faq-item__panel { display: grid; grid-template-rows: 0fr; transition: all 300ms ease-out; }
.faq-item.is-open .faq-item__panel { grid-template-rows: 1fr; }
.faq-item__panel-inner { overflow: hidden; }
.faq-item__a { padding-bottom: 1.5rem; padding-right: 2rem; font-size: 14px; color: var(--fg-70); line-height: 1.625; max-width: 42rem; }
@media (min-width: 768px) { .faq-item__a { font-size: 15px; } }

.testimonials__head { display: flex; align-items: flex-end; justify-content: space-between; margin-bottom: 2rem; gap: 1.5rem; }
.testimonials__heading { font-size: 1.875rem; line-height: 1.25; color: var(--color-foreground); }
@media (min-width: 768px) { .testimonials__heading { font-size: 2.25rem; } }
.testimonials__nav { display: none; align-items: center; gap: 0.5rem; }
@media (min-width: 768px) { .testimonials__nav { display: flex; } }
.round-btn { width: 2.5rem; height: 2.5rem; border-radius: 9999px; border: 1px solid var(--fg-20); display: inline-flex; align-items: center; justify-content: center; transition: color 150ms cubic-bezier(0.4, 0, 0.2, 1), border-color 150ms cubic-bezier(0.4, 0, 0.2, 1); }
.round-btn:hover { border-color: var(--color-primary); color: var(--color-primary); }
.embla { overflow: hidden; margin-left: -0.75rem; margin-right: -0.75rem; }
.embla__container { display: flex; }
.embla__slide { flex: 0 0 100%; min-width: 0; padding: 0 0.75rem; }
@media (min-width: 768px) { .embla__slide { flex-basis: 50%; } }
@media (min-width: 1024px) { .embla__slide { flex-basis: 25%; } }
.testimonial { height: 100%; background-color: var(--color-ivory); border: 1px solid var(--fg-10); border-radius: 1rem; padding: 1.5rem; display: flex; flex-direction: column; }
.testimonial__stars { display: flex; gap: 0.125rem; margin-bottom: 1rem; color: var(--color-primary); }
.testimonial__stars svg { width: 0.875rem; height: 0.875rem; }
.testimonial__text { font-size: 14px; line-height: 1.625; color: var(--fg-80); flex: 1; }
.testimonial__meta { margin-top: 1.25rem; padding-top: 1.25rem; border-top: 1px solid var(--fg-10); }
.testimonial__name { font-size: 14px; font-weight: 500; color: var(--color-foreground); }
.testimonial__city { font-size: 12px; color: var(--fg-55); }
.embla__dots { display: flex; justify-content: center; gap: 0.5rem; margin-top: 2rem; }
.embla__dot { height: 0.375rem; width: 0.375rem; border-radius: 9999px; background-color: var(--fg-25); transition: all 150ms cubic-bezier(0.4, 0, 0.2, 1); }
.embla__dot:hover { background-color: var(--fg-40); }
.embla__dot.is-active { width: 2rem; background-color: var(--color-primary); }

/* ==========================================================================
   Contact
   ========================================================================== */
.contact__grid { display: grid; grid-template-columns: 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__desc { 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 > * + * { margin-top: 1.25rem; }
.contact__link { display: inline-flex; align-items: center; gap: 1rem; color: var(--color-foreground); transition: color 150ms cubic-bezier(0.4, 0, 0.2, 1); }
.contact__link:hover { color: var(--color-primary); }
.contact__icon { width: 2.75rem; height: 2.75rem; border-radius: 9999px; background-color: var(--color-ivory); border: 1px solid var(--fg-15); display: inline-flex; align-items: center; justify-content: center; transition: border-color 150ms cubic-bezier(0.4, 0, 0.2, 1); }
.contact__icon svg { width: 1rem; height: 1rem; }
.contact__link:hover .contact__icon { border-color: var(--color-primary); }
.contact__text { display: flex; flex-direction: column; text-align: left; }
.contact__label { font-size: 12px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--fg-55); }
.contact__value { font-size: 15px; font-weight: 500; }
.contact__value--wrap { word-break: break-all; }
.contact__note-wrap { margin-top: auto; padding-top: 2.5rem; }
.contact__note { position: relative; border-radius: 1rem; border: 1px solid var(--fg-10); background-color: var(--ivory-70); padding: 1.5rem; }
@media (min-width: 768px) { .contact__note { padding: 1.75rem; } }
.contact__note-badge { position: absolute; top: -0.75rem; left: 1.5rem; display: inline-flex; align-items: center; gap: 0.375rem; padding: 0.25rem 0.75rem; border-radius: 9999px; background-color: var(--color-primary); color: var(--color-primary-foreground); font-size: 11px; letter-spacing: 0.22em; text-transform: uppercase; font-weight: 500; }
.contact__note-quote { font-style: italic; color: var(--fg-85); font-size: 1.125rem; line-height: 1.375; border-left: 2px solid var(--color-accent); padding-left: 1.25rem; }
@media (min-width: 768px) { .contact__note-quote { font-size: 1.25rem; } }
.contact__note-text { margin-top: 0.75rem; padding-left: 1.25rem; font-size: 13px; color: var(--fg-60); letter-spacing: 0.025em; }

.contact-form { background-color: var(--color-ivory); border: 1px solid var(--fg-10); border-radius: 1rem; padding: 1.5rem; box-shadow: var(--shadow-soft); height: 100%; display: flex; flex-direction: column; gap: 1rem; }
@media (min-width: 768px) { .contact-form { padding: 2rem; } }
.contact-form__fields { flex: 1; }
.contact-form__fields > * + * { margin-top: 1rem; }
.contact-form__row { display: grid; grid-template-columns: 1fr; gap: 1rem; }
@media (min-width: 640px) { .contact-form__row { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.contact-form__footer { padding-top: 0.5rem; }
.contact-form__footer > * + * { margin-top: 0.75rem; }
.contact-form__hint { font-size: 12px; color: var(--fg-55); text-align: center; }
.field-label { display: block; font-size: 12px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--fg-55); margin-bottom: 0.5rem; }
.field {
	width: 100%; height: 3rem; padding: 0 1rem; background-color: var(--color-ivory);
	border: 1px solid var(--fg-15); border-radius: calc(var(--radius) - 2px);
	font-size: 14px; color: var(--color-foreground); font-family: var(--font-body);
	transition: border-color 150ms cubic-bezier(0.4, 0, 0.2, 1); -webkit-appearance: none; appearance: none;
}
.field::placeholder { color: var(--fg-45); }
.field:focus { outline: none; border-color: var(--color-primary); }
.field--select { padding-right: 2.5rem; }
.field--textarea { height: auto; padding-top: 0.75rem; padding-bottom: 0.75rem; resize: none; }
.field-select { position: relative; }
.field-select__icon { pointer-events: none; position: absolute; right: 1rem; top: 50%; transform: translateY(-50%); width: 1rem; height: 1rem; color: var(--fg-55); }
[data-contact-label] { display: inline-flex; align-items: center; gap: 0.5rem; }

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer { background-color: var(--color-linen); border-top: 1px solid var(--fg-10); }
.site-footer__inner { padding-top: 3.5rem; padding-bottom: 3.5rem; }
@media (min-width: 1024px) { .site-footer__inner { padding-top: 5rem; padding-bottom: 5rem; } }
.site-footer__grid { display: grid; grid-template-columns: 1fr; gap: 2.5rem; }
@media (min-width: 640px) { .site-footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .site-footer__grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 3rem; } }
.site-footer__desc { margin-top: 1rem; font-size: 14px; color: var(--fg-65); line-height: 1.625; max-width: 20rem; }
.site-footer__title { font-size: 1.125rem; line-height: 1.75rem; color: var(--color-foreground); margin-bottom: 1rem; }
.footer-nav__list > * + * { margin-top: 0.625rem; }
.footer-link { font-size: 14px; color: var(--fg-65); text-align: left; transition: color 150ms cubic-bezier(0.4, 0, 0.2, 1); }
.footer-link:hover { color: var(--color-primary); }
.footer-contact { font-size: 14px; }
.footer-contact > * + * { margin-top: 0.75rem; }
.footer-contact__link { display: inline-flex; align-items: center; gap: 0.5rem; color: var(--fg-75); transition: color 150ms cubic-bezier(0.4, 0, 0.2, 1); }
.footer-contact__link:hover { color: var(--color-primary); }
.footer-contact__link--wrap { align-items: flex-start; word-break: break-all; }
.footer-contact__link--wrap svg { margin-top: 0.125rem; }
.site-footer__bottom { margin-top: 3.5rem; padding-top: 2rem; border-top: 1px solid var(--fg-10); text-align: center; font-size: 12px; color: var(--fg-55); }

/* ==========================================================================
   Welcome banner
   ========================================================================== */
.promo {
	position: fixed; bottom: 1.5rem; left: 1rem; right: 1rem; z-index: 50;
	background-color: var(--color-foreground); color: var(--color-background);
	border-radius: 1rem; box-shadow: var(--shadow-elevated); padding: 1rem 1.25rem;
	display: flex; align-items: flex-start; gap: 0.75rem; animation: fade-in 0.7s ease-out both;
}
@media (min-width: 640px) { .promo { left: auto; right: 1.5rem; max-width: 26rem; } }
.promo__text { font-size: 13px; line-height: 1.625; flex: 1; width: 100%; }
@media (min-width: 640px) { .promo__text { font-size: 15px; } }
.promo__highlight { font-weight: 600; color: var(--color-accent); }
.promo__close { flex-shrink: 0; margin-top: 0.125rem; padding: 0.375rem; border-radius: 9999px; transition: background-color 150ms cubic-bezier(0.4, 0, 0.2, 1); }
.promo__close:hover { background-color: rgb(255 255 255 / 0.1); }

/* ==========================================================================
   Cart drawer
   ========================================================================== */
#theme-cart-overlay { display: none; position: fixed; inset: 0; background-color: var(--fg-30); z-index: 50; }
#theme-cart-drawer {
	display: none; position: fixed; right: 0; top: 0; height: 100%; width: 100%; max-width: 28rem;
	background-color: var(--color-ivory); z-index: 50; box-shadow: var(--shadow-elevated); flex-direction: column;
}
body.cart-open #theme-cart-overlay { display: block; }
body.cart-open #theme-cart-drawer { display: flex; }
body.cart-opening #theme-cart-overlay { animation: fade-in 0.7s ease-out both; }
body.cart-opening #theme-cart-drawer { animation: slide-in-bottom 0.7s ease-out both; }
#theme-cart-drawer.is-updating { opacity: 0.6; pointer-events: none; }
.cart-drawer__panel { display: flex; flex-direction: column; height: 100%; min-height: 0; }
.cart-drawer__head { display: flex; align-items: center; justify-content: space-between; padding: 1.5rem; border-bottom: 1px solid var(--fg-10); }
.cart-drawer__title { font-size: 1.5rem; line-height: 2rem; color: var(--color-foreground); }
.cart-drawer__close { padding: 0.375rem; border-radius: 9999px; transition: background-color 150ms cubic-bezier(0.4, 0, 0.2, 1); }
.cart-drawer__close:hover { background-color: var(--fg-06); }
.cart-drawer__empty { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 1.5rem; text-align: center; }
.cart-drawer__empty-icon { width: 3rem; height: 3rem; color: var(--fg-30); margin-bottom: 1rem; }
.cart-drawer__empty-text { color: var(--fg-65); margin-bottom: 1.5rem; font-size: 14px; }
.cart-drawer__items { flex: 1; overflow: auto; padding: 1.5rem; }
.cart-drawer__items > * + * { margin-top: 1.25rem; }
.cart-item { display: flex; gap: 1rem; }
.cart-item__thumb { display: block; width: 5rem; height: 6rem; background-color: var(--color-bone); border-radius: calc(var(--radius) - 2px); overflow: hidden; flex-shrink: 0; }
.cart-item__img { width: 100%; height: 100%; object-fit: cover; }
.cart-item__info { flex: 1; min-width: 0; }
.cart-item__name { display: block; font-size: 14px; font-weight: 500; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; transition: color 150ms cubic-bezier(0.4, 0, 0.2, 1); }
.cart-item__name:hover { color: var(--color-primary); }
.cart-item__format { font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--fg-55); margin-top: 0.125rem; }
.cart-item__price { font-size: 13px; color: var(--fg-60); margin-top: 0.125rem; }
.cart-item__controls { display: flex; align-items: center; gap: 0.75rem; margin-top: 0.75rem; }
.cart-item__qty-btn { padding: 0.25rem; border-radius: 0.25rem; transition: background-color 150ms cubic-bezier(0.4, 0, 0.2, 1); }
.cart-item__qty-btn:hover { background-color: var(--color-bone); }
.cart-item__qty { font-size: 13px; width: 1.5rem; text-align: center; }
.cart-item__remove { margin-left: auto; font-size: 13px; color: var(--fg-55); transition: color 150ms cubic-bezier(0.4, 0, 0.2, 1); }
.cart-item__remove:hover { color: var(--color-destructive); }
.cart-drawer__footer { padding: 1.5rem; border-top: 1px solid var(--fg-10); background-color: var(--linen-40); }
.cart-drawer__footer > * + * { margin-top: 1rem; }
.cart-drawer__subtotal { display: flex; justify-content: space-between; font-size: 14px; }
.cart-drawer__subtotal-label { color: var(--fg-65); }
.cart-drawer__subtotal-value { font-weight: 500; }
.cart-drawer__note { font-size: 13px; color: var(--fg-55); }
.cart-drawer__empty-btn { color: var(--fg-60); }
.cart-drawer__empty-btn svg { margin-right: 0.5rem; }

/* ==========================================================================
   Product page
   ========================================================================== */
.site-main--product { padding-top: 6rem; background-color: var(--color-ivory); }
@media (min-width: 1024px) { .site-main--product { padding-top: 7rem; } }
.crumbs { padding: 1.5rem 0; font-size: 12px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--fg-55); }
.crumbs a { transition: color 150ms cubic-bezier(0.4, 0, 0.2, 1); }
.crumbs a:hover { color: var(--color-primary); }
.crumbs__sep { margin: 0 0.5rem; opacity: 0.5; }
.crumbs__current { color: var(--color-foreground); }

.theme-product-layout { display: grid; grid-template-columns: 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%; }
.theme-product-main { position: relative; aspect-ratio: 1 / 1; width: 100%; background-color: 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%; }
.theme-product-thumb { position: relative; aspect-ratio: 1 / 1; background-color: var(--color-linen); border-radius: calc(var(--radius) - 2px); overflow: hidden; border: 2px solid transparent; transition: border-color 150ms cubic-bezier(0.4, 0, 0.2, 1); }
.theme-product-thumb:hover { border-color: var(--fg-20); }
.theme-product-thumb.is-active { border-color: var(--color-primary); }
.product-eyebrow { font-size: 11px; letter-spacing: 0.28em; text-transform: uppercase; color: var(--color-primary); margin-bottom: 0.75rem; font-weight: 500; }
.product-title { 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-85); margin-bottom: 1.75rem; }
.product-desc { font-size: 15px; line-height: 1.625; color: var(--fg-75); margin-bottom: 2rem; white-space: pre-line; }
.field-eyebrow { font-size: 12px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--fg-55); margin-bottom: 0.625rem; display: block; }
.field-eyebrow--lg { margin-bottom: 1rem; }

.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 { width: 100%; margin: 0; border: 0; }
.single-product .variations tbody td.label { padding: 0; }
.single-product .variations tbody td.value { padding: 0; }
.single-product .variations label { font-family: var(--font-body); font-style: normal; font-weight: 400; }
.theme-attr-select-hidden { display: none !important; }
.single-product .reset_variations { display: none !important; }
.single-product .single_variation { display: none !important; }
.format-grid { display: grid; grid-template-columns: 1fr; gap: 0.625rem; margin-bottom: 1.5rem; }
@media (min-width: 640px) { .format-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.format-pill {
	text-align: left; border-radius: 0.5rem; border: 1px solid var(--fg-15); padding: 0.75rem 1rem;
	background-color: var(--color-linen); color: var(--color-foreground);
	transition: color 150ms cubic-bezier(0.4, 0, 0.2, 1), background-color 150ms cubic-bezier(0.4, 0, 0.2, 1), border-color 150ms cubic-bezier(0.4, 0, 0.2, 1);
}
.format-pill:hover { border-color: var(--primary-60); }
.format-pill.is-active { background-color: var(--color-primary); color: var(--color-primary-foreground); border-color: var(--color-primary); }
.format-pill__label { display: block; font-size: 14px; font-weight: 500; }
.format-pill__price { display: block; font-size: 12px; margin-top: 0.125rem; color: var(--fg-60); }
.format-pill.is-active .format-pill__price { color: var(--pf-80); }

.theme-add-to-cart-area, .single-product .theme-add-to-cart-area { display: flex; align-items: stretch; flex-wrap: wrap; gap: 0.75rem; }
.single-product .woocommerce-variation-add-to-cart { display: block; }
.theme-qty-block { flex: 0 0 100%; margin-bottom: 0.75rem; }
.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; transition: color 150ms cubic-bezier(0.4, 0, 0.2, 1); }
.theme-qty-minus svg, .theme-qty-plus svg { width: 0.875rem; height: 0.875rem; }
.theme-qty-minus:hover, .theme-qty-plus:hover { color: var(--color-primary); }
.theme-qty-input {
	width: 44px; height: 2.5625rem; padding: 0; border: 0; text-align: center; font-size: 14px; font-weight: 500;
	background: transparent; -moz-appearance: textfield; appearance: textfield;
}
.theme-qty-input::-webkit-outer-spin-button, .theme-qty-input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.theme-qty-input:focus { outline: none; }
.theme-add-to-cart-area .single_add_to_cart_button,
.theme-add-to-cart-area .theme-buy-now,
.theme-add-to-cart-area .btn { flex: 1 1 100%; width: 100%; }
@media (min-width: 640px) {
	.theme-add-to-cart-area .single_add_to_cart_button,
	.theme-add-to-cart-area .theme-buy-now,
	.theme-add-to-cart-area .btn { flex: 1 1 0; width: auto; min-width: 160px; }
}
.single-product .single_add_to_cart_button { text-transform: none; }
.theme-buy-now.disabled { opacity: 0.4; pointer-events: none; }

.product-details { margin-top: 2rem; padding-top: 2rem; border-top: 1px solid var(--fg-10); }
.woocommerce-product-details__short-description ul > * + * { margin-top: 0.625rem; }
.woocommerce-product-details__short-description li { font-size: 14px; color: var(--fg-75); display: flex; align-items: flex-start; }
.woocommerce-product-details__short-description li::before { content: ''; width: 4px; height: 4px; background-color: var(--color-primary); border-radius: 9999px; margin-top: 0.625rem; margin-right: 0.75rem; flex-shrink: 0; }
.single-product .woocommerce-product-details__short-description,
.single-product .woocommerce-variation-description,
.single-product .posted_in { overflow-wrap: break-word; word-break: break-word; }
.product-trust { 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-trust__item { text-align: center; }
.product-trust__icon { width: 1.25rem; height: 1.25rem; margin: 0 auto 0.5rem; color: var(--color-primary); }
.product-trust__label { font-size: 11px; 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-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__all { display: none; align-items: center; gap: 0.375rem; font-size: 14px; font-weight: 500; color: var(--fg-70); transition: color 150ms cubic-bezier(0.4, 0, 0.2, 1); }
.related__all:hover { color: var(--color-primary); }
@media (min-width: 640px) { .related__all { display: inline-flex; } }

/* ---- 404 ---- */
.not-found { display: flex; min-height: 100vh; align-items: center; justify-content: center; background-color: var(--color-linen); }
.not-found__inner { text-align: center; padding: 0 1.25rem; }
.not-found__code { margin-bottom: 1rem; font-size: 2.25rem; line-height: 2.5rem; font-weight: 700; letter-spacing: normal; }
.not-found__text { margin-bottom: 1rem; font-size: 1.25rem; line-height: 1.75rem; color: var(--muted-foreground); }
.not-found__link { color: var(--color-primary); text-decoration: underline; }
.not-found__link:hover { color: var(--primary-90); }

/* ==========================================================================
   WooCommerce 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-primary-foreground) !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-primary-foreground) !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;
}
/* Card compact button — overrides the global .add_to_cart_button rules */
.theme-product-card .add_to_cart_button.ajax_add_to_cart {
	flex: 1 !important;
	min-height: 0 !important;
	height: 2.5rem !important;
	padding: var(--btn-icon-padding) !important;
	gap: 0.5rem !important;
	background-color: var(--bg-95) !important;
	color: var(--color-foreground) !important;
	font-size: 14px !important;
	font-weight: 500 !important;
	letter-spacing: 0.025em !important;
	pointer-events: auto !important;
	position: relative;
	z-index: 3;
	transition: color 300ms cubic-bezier(0.4, 0, 0.2, 1), background-color 300ms cubic-bezier(0.4, 0, 0.2, 1) !important;
}
.theme-product-card .add_to_cart_button.ajax_add_to_cart:hover {
	opacity: 1 !important;
	background-color: var(--color-primary) !important;
	color: var(--color-primary-foreground) !important;
}
.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,
.ajax_add_to_cart.added::after { display: none !important; }
.woocommerce-page a.added_to_cart.wc-forward,
.single-product a.added_to_cart.wc-forward,
body a.added_to_cart.wc-forward { display: none !important; }

/* Notices */
.woocommerce-message, .woocommerce-error, .woocommerce-info {
	background-color: var(--color-linen); border: 1px solid var(--fg-10); border-radius: var(--radius);
	padding: 0.875rem 1.25rem; margin: 0 0 1.5rem; font-size: 14px; color: var(--color-foreground); list-style: none;
}
.woocommerce-error { border-color: var(--color-destructive); }
.single-product .woocommerce-message, .single-product .woocommerce-info { display: none; }
#theme-cart-drawer .woocommerce-message { display: none; }

/* Page content (cart / checkout / account) share the site container */
.entry-content { max-width: 100%; }
.entry-content > .woocommerce, .entry-content .wp-block-woocommerce-cart, .entry-content .wp-block-woocommerce-checkout { max-width: 100%; }
body.woocommerce-cart .page-title, body.woocommerce-account .page-title, body.woocommerce-checkout .page-title { margin-bottom: 2.5rem; }
body.woocommerce-checkout .site-main, body.woocommerce-cart .site-main { padding-bottom: 4rem; }

/* Classic checkout (7/5 column layout) */
.site-main--checkout { padding-top: 6rem; padding-bottom: 4rem; background-color: var(--color-ivory); min-height: 100vh; }
@media (min-width: 1024px) { .site-main--checkout { padding-top: 7rem; } }
.theme-checkout-page { padding-top: 2.5rem; padding-bottom: 2.5rem; }
.theme-checkout-back {
	display: inline-flex; align-items: center; gap: 0.5rem; margin-bottom: 1.5rem;
	font-size: 14px; color: var(--fg-65); text-decoration: none; transition: color 150ms cubic-bezier(0.4, 0, 0.2, 1);
}
.theme-checkout-back:hover { color: var(--color-primary); }
.theme-checkout-back__icon { width: 1rem; height: 1rem; }
.theme-checkout-title { font-size: 2.25rem; margin-bottom: 2.5rem; color: var(--color-foreground); }
@media (min-width: 768px) { .theme-checkout-title { font-size: 3rem; } }
.theme-checkout-empty { max-width: 36rem; margin: 0 auto; padding: 5rem 0; text-align: center; }
.theme-checkout-empty__icon { width: 3.5rem; height: 3.5rem; margin: 0 auto 1.5rem; color: var(--fg-30); }
.theme-checkout-empty__title { font-size: 1.875rem; margin-bottom: 1rem; }
.theme-checkout-empty__text { font-size: 15px; color: var(--fg-65); margin-bottom: 2rem; }

.theme-checkout-grid { display: grid; grid-template-columns: 1fr; gap: 2.5rem; align-items: start; }
.theme-checkout-main { order: 2; }
.theme-checkout-sidebar { order: 1; }
@media (min-width: 1024px) {
	.theme-checkout-grid { grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 3.5rem; }
	.theme-checkout-main { grid-column: span 7 / span 7; order: 1; }
	.theme-checkout-sidebar { grid-column: span 5 / span 5; order: 2; }
}
.theme-checkout-sections { display: flex; flex-direction: column; gap: 2.5rem; }
.theme-checkout-section__title { font-size: 1.5rem; margin-bottom: 1.25rem; color: var(--color-foreground); }
.theme-checkout-fields { display: grid; grid-template-columns: 1fr; gap: 0.75rem; }
@media (min-width: 640px) {
	.theme-checkout-fields--contact { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.theme-checkout-fields--contact .form-row-wide { grid-column: 1 / -1; }
	.theme-checkout-fields--address { grid-template-columns: repeat(6, minmax(0, 1fr)); }
	.theme-checkout-fields--address .form-row-wide { grid-column: span 6 / span 6; }
	.theme-checkout-fields--address .form-row-first { grid-column: span 2 / span 2; }
	.theme-checkout-fields--address .form-row-middle { grid-column: span 2 / span 2; }
	.theme-checkout-fields--address .form-row-last { grid-column: span 2 / span 2; }
}
.theme-checkout-fields .form-row { margin: 0; padding: 0; width: 100%; float: none; }
.theme-checkout-fields label { display: none; }
.theme-checkout-fields input.input-text,
.theme-checkout-fields select,
.theme-checkout-fields textarea {
	width: 100%; height: 3rem; padding: 0 1rem; background-color: var(--color-ivory);
	border: 1px solid var(--fg-15); border-radius: calc(var(--radius) - 2px);
	font-family: var(--font-body); font-size: 14px; color: var(--color-foreground);
	transition: border-color 150ms cubic-bezier(0.4, 0, 0.2, 1);
}
.theme-checkout-fields textarea { height: auto; min-height: 6rem; padding: 0.75rem 1rem; resize: none; }
.theme-checkout-fields input.input-text::placeholder,
.theme-checkout-fields textarea::placeholder { color: var(--fg-45); }
.theme-checkout-fields input.input-text:focus,
.theme-checkout-fields select:focus,
.theme-checkout-fields textarea:focus { outline: none; border-color: var(--color-primary); box-shadow: none; }
.theme-checkout-fields .select2-container { width: 100% !important; }
.theme-checkout-fields .select2-container .select2-selection--single { height: 3rem; border: 1px solid var(--fg-15); border-radius: calc(var(--radius) - 2px); background-color: var(--color-ivory); }
.theme-checkout-fields .select2-container .select2-selection__rendered { line-height: 3rem; padding-left: 1rem; font-size: 14px; color: var(--color-foreground); }
.theme-checkout-fields .select2-container .select2-selection__arrow { height: 3rem; }

.theme-checkout-coupon-wrap { margin-bottom: 2.5rem; }
.theme-checkout-coupon-wrap .woocommerce-info,
.theme-checkout-coupon-wrap .woocommerce-message,
.theme-checkout-coupon-wrap .woocommerce-error { margin: 0 0 0.75rem; }
.theme-checkout-coupon-wrap .showcoupon { color: var(--color-primary); text-decoration: none; font-weight: 500; }
.theme-checkout-coupon-wrap .showcoupon:hover { text-decoration: underline; }
.theme-checkout-coupon-wrap form.checkout_coupon {
	display: none; flex-wrap: wrap; gap: 0.75rem; align-items: center; margin: 0; padding: 0; border: none;
}
.theme-checkout-coupon-wrap form.checkout_coupon.is-visible { display: flex; }
.theme-checkout-coupon-wrap form.checkout_coupon .form-row { margin: 0; padding: 0; float: none; width: auto; flex: 1 1 12rem; }
.theme-checkout-coupon-wrap form.checkout_coupon .form-row-last { flex: 0 0 auto; }
.theme-checkout-coupon-wrap form.checkout_coupon label { display: none; }
.theme-checkout-coupon-wrap form.checkout_coupon input.input-text {
	width: 100%; height: 3rem; padding: 0 1rem; border: 1px solid var(--fg-15);
	border-radius: calc(var(--radius) - 2px); background-color: var(--color-ivory); font-size: 14px;
}
.theme-checkout-coupon-wrap form.checkout_coupon button {
	height: 3rem; padding: 0 1.25rem; border-radius: 9999px; background-color: var(--color-primary);
	color: var(--color-primary-foreground); border: 1px solid var(--color-primary); font-size: 14px; font-weight: 500;
}
.theme-checkout-coupon-wrap form.checkout_coupon .clear { display: none; }

.theme-checkout-summary {
	background-color: var(--color-linen); border: 1px solid var(--fg-10); border-radius: 1rem; padding: 1.5rem;
}
@media (min-width: 1024px) {
	.theme-checkout-summary { position: sticky; top: 7rem; padding: 1.75rem; }
}
.theme-checkout-summary__title { font-size: 1.5rem; margin-bottom: 1.5rem; color: var(--color-foreground); }
#order_review.is-updating { opacity: 0.55; pointer-events: none; transition: opacity 200ms ease; }

.theme-checkout-items { list-style: none; margin: 0 0 1.5rem; padding: 0; display: flex; flex-direction: column; gap: 1.25rem; }
.theme-checkout-item { display: flex; gap: 1rem; align-items: flex-start; }
.theme-checkout-item__thumb {
	position: relative; display: block; flex-shrink: 0;
	width: 5rem; height: 6rem; border-radius: calc(var(--radius) - 2px);
	overflow: hidden; background-color: var(--color-ivory);
}
.theme-checkout-item__img {
	display: block; width: 100%; height: 100%; max-width: none;
	object-fit: cover; object-position: center;
}
.theme-checkout-item__body { flex: 1; min-width: 0; position: relative; z-index: 1; }
.theme-checkout-item__name {
	display: block; font-size: 14px; font-weight: 500; color: var(--color-foreground);
	text-decoration: none; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.theme-checkout-item__name:hover { color: var(--color-primary); }
.theme-checkout-item__format { margin-top: 0.125rem; font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--fg-55); }
.theme-checkout-item__unit { margin-top: 0.125rem; font-size: 13px; color: var(--fg-60); }
.theme-checkout-item__controls { display: flex; align-items: center; gap: 0.5rem; margin-top: 0.5rem; position: relative; z-index: 2; }
.theme-checkout-item__qty-btn,
.theme-checkout-item__remove {
	display: inline-flex; align-items: center; justify-content: center; padding: 0.25rem;
	border: none; background: transparent; color: var(--color-foreground); cursor: pointer;
	border-radius: calc(var(--radius) - 4px); transition: background-color 150ms ease, color 150ms ease;
}
.theme-checkout-item__qty-btn:hover { background-color: var(--color-ivory); }
.theme-checkout-item__remove { margin-left: auto; color: var(--fg-50); }
.theme-checkout-item__remove:hover { color: var(--color-destructive); }
.theme-checkout-item__qty { font-size: 13px; width: 1.5rem; text-align: center; }
.theme-checkout-item__total { flex-shrink: 0; font-size: 14px; font-weight: 500; color: var(--color-foreground); }

.theme-checkout-totals { width: 100%; border-collapse: collapse; font-size: 14px; }
.theme-checkout-totals th,
.theme-checkout-totals td { padding: 0.375rem 0; border: none; background: transparent; }
.theme-checkout-totals th { font-weight: 400; color: var(--fg-65); text-align: left; }
.theme-checkout-totals td { text-align: right; color: var(--color-foreground); }
.theme-checkout-totals tr.order-total th,
.theme-checkout-totals tr.order-total td { padding-top: 0.75rem; border-top: 1px solid var(--fg-10); font-size: 1rem; font-weight: 500; color: var(--color-foreground); }

.theme-checkout-payment-wrap { margin-top: 2.5rem; }
.theme-checkout-payment-wrap #payment {
	background: transparent; border-radius: 0; border: none; padding: 0;
}
.theme-checkout-payment-wrap #payment .payment_methods {
	list-style: none; margin: 0 0 1.5rem; padding: 0; border: none;
}
.theme-checkout-payment-wrap #payment .payment_methods li {
	padding: 1rem; margin-bottom: 0.75rem; border: 1px solid var(--fg-10); border-radius: var(--radius); background-color: var(--color-linen);
}
.theme-checkout-payment-wrap #payment .payment_box {
	margin-top: 0.75rem; padding: 0.75rem 0 0; background: transparent; font-size: 13px; color: var(--fg-65);
}
.theme-checkout-payment-wrap #payment .place-order { margin: 0; padding: 0; }
.theme-checkout-payment-wrap #place_order {
	width: 100%; height: 3rem; border-radius: 9999px; background-color: var(--color-primary);
	color: var(--color-primary-foreground); border: 1px solid var(--color-primary);
	font-family: var(--font-body); font-size: 14px; font-weight: 500; cursor: pointer;
	transition: background-color 150ms ease;
}
.theme-checkout-payment-wrap #place_order:hover { background-color: var(--primary-90); }
.theme-checkout-payment-wrap .woocommerce-terms-and-conditions-wrapper { margin-bottom: 1rem; font-size: 13px; color: var(--fg-55); }
.theme-checkout-form .woocommerce-error,
.theme-checkout-form .woocommerce-message,
.theme-checkout-form .woocommerce-info { margin-bottom: 1.5rem; }
.theme-checkout-form #order_review_heading { display: none; }

/* Checkout block fallback (if block content is still cached) */
body.woocommerce-checkout .wc-block-checkout { display: block; font-family: var(--font-body); color: var(--color-foreground); }
@media (min-width: 1024px) {
	body.woocommerce-checkout .wc-block-components-sidebar-layout.wc-block-checkout.is-large {
		display: grid; grid-template-columns: 7fr 5fr; gap: 3.5rem; align-items: start;
	}
}
body.woocommerce-checkout .wc-block-checkout__sidebar {
	background-color: var(--color-linen); border: 1px solid var(--fg-10); border-radius: 1rem; padding: 1.75rem;
}

/* Cart block / classic cart tables */
body.woocommerce-cart .wp-block-woocommerce-cart { font-family: var(--font-body); color: var(--color-foreground); }
body.woocommerce-cart .wc-block-cart__submit-button { background-color: var(--color-primary); color: var(--color-primary-foreground); border-radius: 9999px; }

/* Thank-you page */
body.theme-thankyou-page { overflow-x: hidden; }
body.theme-thankyou-page .woocommerce-order { color: var(--color-foreground); }
body.theme-thankyou-page .woocommerce-order-overview { display: flex; flex-wrap: wrap; gap: 1.5rem; margin: 0 0 2rem; padding: 1.25rem; background-color: var(--color-linen); border: 1px solid var(--fg-10); border-radius: 1rem; }
body.theme-thankyou-page .woocommerce-order-overview li { font-size: 12px; text-transform: uppercase; letter-spacing: 0.14em; color: var(--fg-60); list-style: none; }
body.theme-thankyou-page .woocommerce-order-overview li strong { display: block; font-size: 15px; letter-spacing: normal; text-transform: none; color: var(--color-foreground); margin-top: 0.25rem; }
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; padding: 0 0 1rem 0; color: var(--color-foreground); }
body.theme-thankyou-page .woocommerce-order-details table,
body.theme-thankyou-page .woocommerce-table { width: 100%; table-layout: fixed; border: 1px solid var(--fg-10); border-radius: var(--radius); }
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; font-size: 14px; }
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; font-size: 14px; line-height: 1.625; }
