/* ===========================================================================
   Problem Child Studios — theme.css
   Colors are emitted as CSS custom properties via wp_add_inline_style
   (functions.php). Font stacks intentionally mirror the source design
   exactly, including its fallback behavior (Section 2.2 / typography parity):
   headings use Halant (font-display); body text uses Fira Sans (font-body),
   matching the Lovable tailwind.config.ts font stacks.
   =========================================================================== */

:root {
	--font-display: 'Halant', serif;
	--font-body: 'Fira Sans', sans-serif;

	--radius: 0.25rem;
	--btn-radius: 0.25rem;
	--btn-height: 3.25rem;
	--btn-padding: 1.25rem 2.5rem;
	--btn-font-size: 11px;
	--btn-font-weight: 500;
	--btn-letter-spacing: 0.28em;
	--btn-text-transform: uppercase;
	--btn-icon-padding: 0;

	--card-radius: 0.5rem;
	--section-padding: 2rem;
	--header-height: 80px;
	--checkout-gap: 2rem;

	--shadow-soft: 0 4px 20px -4px rgba(0, 0, 0, 0.6);
	--shadow-elevated: 0 8px 40px -8px rgba(0, 0, 0, 0.8);
	--transition-smooth: cubic-bezier(0.4, 0, 0.2, 1);
}

/* -------------------------------------------------------------------------
   RESET / BASE
   ------------------------------------------------------------------------- */
* {
	border-color: var(--color-border);
	box-sizing: border-box;
}

html, body {
	max-width: 100%;
	overflow-x: clip;
}

body {
	margin: 0;
	background-color: var(--color-background);
	color: var(--color-foreground);
	font-family: var(--font-body);
	line-height: 1.5;
	-webkit-font-smoothing: antialiased;
	background-image:
		radial-gradient(60% 55% at 12% 8%, color-mix(in srgb, var(--color-primary) 7%, transparent) 0%, transparent 70%),
		radial-gradient(55% 50% at 88% 30%, rgba(255,255,255,0.05) 0%, transparent 72%),
		radial-gradient(80% 60% at 50% 108%, color-mix(in srgb, var(--color-surface-deep) 90%, transparent) 0%, transparent 70%);
	background-attachment: fixed;
	background-repeat: no-repeat;
}

body::after {
	content: '';
	position: fixed;
	inset: 0;
	z-index: 60;
	pointer-events: none;
	opacity: 0.55;
	mix-blend-mode: soft-light;
	background-image:
		radial-gradient(50% 40% at 15% 12%, color-mix(in srgb, var(--color-primary) 10%, transparent) 0%, transparent 70%),
		radial-gradient(45% 40% at 85% 70%, rgba(255,255,255,0.08) 0%, transparent 72%),
		url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='260' height='260' viewBox='0 0 260 260'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='260' height='260' filter='url(%23n)' opacity='0.55'/%3E%3C/svg%3E");
	background-size: cover, cover, 260px 260px;
}

h1, h2, h3, h4, h5, h6 {
	font-weight: inherit;
	font-size: inherit;
	font-family: var(--font-display);
	letter-spacing: 0.01em;
	text-transform: none;
	margin: 0;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button { font-family: inherit; cursor: pointer; background: none; border: none; }
input, textarea, select { font-family: inherit; }
ul, ol { margin: 0; padding: 0; list-style: none; }
p { margin: 0; }

/* Typography color parity with Lovable source */
.woocommerce,
.woocommerce-page {
	color: var(--color-foreground);
	font-family: var(--font-body);
}
.woocommerce a:not(.button):not(.theme-btn-primary):not(.theme-btn-outline):not(.add_to_cart_button):not(.single_add_to_cart_button),
.woocommerce-page a:not(.button):not(.theme-btn-primary):not(.theme-btn-outline):not(.add_to_cart_button):not(.single_add_to_cart_button) {
	color: inherit;
}
.woocommerce .price,
.woocommerce .amount,
.woocommerce ul.products li.product .price {
	color: var(--color-foreground) !important;
}
.theme-product-info__category,
.theme-product-info__category a,
.theme-breadcrumb,
.theme-breadcrumb a,
.woocommerce .posted_in,
.woocommerce .posted_in a {
	color: var(--color-muted-foreground);
}
.theme-breadcrumb a:hover,
.theme-product-info__category a:hover,
.woocommerce .posted_in a:hover {
	color: var(--color-foreground);
}
.theme-breadcrumb__current {
	color: var(--color-foreground);
}
body.woocommerce-checkout,
body.woocommerce-checkout .wc-block-components-form,
body.woocommerce-checkout .wc-block-components-form *:not(.button):not(a) {
	font-family: var(--font-body);
}
body.woocommerce-checkout h2,
body.woocommerce-checkout h3,
body.woocommerce-checkout .wc-block-components-title {
	font-family: var(--font-display) !important;
	font-weight: 400 !important;
	color: var(--color-foreground) !important;
	text-transform: none !important;
}
body.woocommerce-checkout .wc-block-components-form .wc-block-components-text-input,
body.woocommerce-checkout .wc-block-components-form .wc-block-components-select,
body.woocommerce-checkout .wc-block-components-form .wc-blocks-components-select {
	color: var(--color-foreground);
}

/* Cover / full-bleed images excluded from a global constrain rule */
img:not(.cover-img) {
	max-width: 100%;
	height: auto;
}
.cover-img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.container-wide {
	width: 100%;
	max-width: 80rem;
	margin: 0 auto;
	padding: 0 1.5rem;
}
@media (min-width: 1024px) {
	.container-wide { padding: 0 2rem; }
}

.link-underline {
	position: relative;
	display: inline-block;
}
.link-underline::after {
	content: '';
	position: absolute;
	bottom: 0;
	left: 0;
	width: 100%;
	height: 1px;
	background: currentColor;
	transform: scaleX(0);
	transform-origin: left;
	transition: transform 0.3s var(--transition-smooth);
}
.link-underline:hover::after { transform: scaleX(1); }

.theme-eyebrow {
	display: block;
	font-size: 12px;
	letter-spacing: 0.32em;
	text-transform: uppercase;
	color: var(--color-primary);
	font-family: var(--font-body);
	margin-bottom: 0.75rem;
}
.theme-eyebrow--md { margin-bottom: 1rem; }
.theme-eyebrow--lg { margin-bottom: 1.25rem; }

.theme-divider {
	height: 1px;
	width: 100%;
	background: color-mix(in srgb, var(--color-primary) 15%, transparent);
}

/* -------------------------------------------------------------------------
   BUTTONS
   ------------------------------------------------------------------------- */
.theme-btn-primary {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.5rem;
	background: var(--color-primary);
	color: var(--color-button-text);
	padding: var(--btn-padding);
	font-size: var(--btn-font-size);
	letter-spacing: var(--btn-letter-spacing);
	text-transform: var(--btn-text-transform);
	font-family: var(--font-display);
	transition: opacity 0.2s ease;
	border-radius: 0;
}
.theme-btn-primary:hover { opacity: 0.9; }

.theme-btn-outline {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.5rem;
	background: transparent;
	color: var(--color-foreground);
	border: 1px solid color-mix(in srgb, var(--color-foreground) 30%, transparent);
	padding: var(--btn-padding);
	font-size: var(--btn-font-size);
	letter-spacing: var(--btn-letter-spacing);
	text-transform: var(--btn-text-transform);
	font-family: var(--font-display);
	transition: color 0.2s ease, border-color 0.2s ease;
}
.theme-btn-outline:hover { border-color: var(--color-primary); color: var(--color-primary); }

/* -------------------------------------------------------------------------
   ANIMATIONS / REVEAL SYSTEM (Section 2.1)
   ------------------------------------------------------------------------- */
@keyframes theme-fade-in { from { opacity: 0; } to { opacity: 1; } }
@keyframes theme-slide-up { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }
@keyframes theme-scale-in { from { opacity: 0; transform: scale(0.92); } to { opacity: 1; transform: scale(1); } }

.animate-fade-in { animation: theme-fade-in 0.6s var(--transition-smooth) forwards; }
.animate-slide-up { animation: theme-slide-up 0.6s var(--transition-smooth) forwards; }

.reveal-item {
	opacity: 0;
	transform: translateY(32px);
	transition: opacity 0.7s var(--transition-smooth), transform 0.7s var(--transition-smooth);
	transition-delay: var(--reveal-delay, 0s);
}
.reveal-item.reveal-fade { transform: none; }
.reveal-item.is-visible { opacity: 1; transform: translateY(0); }

/* Customizer preview fallback — never leave content invisible in the editor */
body.is-customizer .reveal-item {
	opacity: 1 !important;
	transform: none !important;
}

@media (prefers-reduced-motion: reduce) {
	.reveal-item { transition: none; opacity: 1; transform: none; }
	.animate-fade-in, .animate-slide-up { animation: none; opacity: 1; }
}

/* -------------------------------------------------------------------------
   ANNOUNCEMENT BAR
   ------------------------------------------------------------------------- */
.theme-announcement-bar {
	position: relative;
	background: var(--color-primary);
	color: var(--color-button-text);
}
.theme-announcement-bar__inner { padding: 0.5rem 0; text-align: center; }
.theme-announcement-bar__text {
	font-size: 13px;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	font-family: var(--font-body);
	margin: 0;
}
.theme-announcement-bar__dismiss {
	position: absolute;
	right: 0.75rem;
	top: 50%;
	transform: translateY(-50%);
	padding: 0.25rem;
	opacity: 0.7;
	color: inherit;
}
.theme-announcement-bar__dismiss:hover { opacity: 1; }
body.theme-announcement-hidden .theme-announcement-bar { display: none; }

/* -------------------------------------------------------------------------
   HEADER
   ------------------------------------------------------------------------- */
.site-header {
	position: sticky;
	top: 0;
	left: 0;
	right: 0;
	z-index: 50;
	transition: background-color 0.3s ease, border-color 0.3s ease;
	background: var(--color-background);
	border-bottom: 1px solid transparent;
}
.site-header.is-solid,
.site-header.is-scrolled,
.site-header.is-menu-open {
	background: color-mix(in srgb, var(--color-background) 95%, transparent);
	border-bottom-color: var(--color-border);
	backdrop-filter: blur(6px);
}
.site-header__nav {
	display: flex;
	align-items: center;
	justify-content: space-between;
	height: 5rem;
	position: relative;
}
.site-header__brand { display: flex; align-items: center; }
.site-logo {
	height: var(--logo-height, 64px);
	display: flex;
	align-items: center;
	flex-shrink: 0;
}
@media (min-width: 768px) {
	.site-logo { height: calc(var(--logo-height, 64px) * 1.25); }
}
.site-logo-img {
	height: 100% !important;
	width: auto;
	max-height: 100%;
	object-fit: contain;
	display: block;
}
.site-logo-text { font-family: var(--font-display); font-size: 1.5rem; text-transform: uppercase; letter-spacing: 0.05em; }

.site-header__center {
	display: none;
}
@media (min-width: 1024px) {
	.site-header__center {
		display: flex;
		align-items: center;
		gap: 2rem;
		position: absolute;
		left: 50%;
		transform: translateX(-50%);
	}
}
.theme-nav-list { display: flex; align-items: center; gap: 2rem; }
.theme-nav-link {
	font-size: 12px;
	font-family: var(--font-display);
	font-weight: 500;
	letter-spacing: 0.2em;
	text-transform: uppercase;
	transition: color 0.3s ease;
}
.theme-nav-link:hover { color: var(--color-foreground); }

.site-header__actions { display: flex; align-items: center; gap: 0.25rem; }
@media (min-width: 768px) { .site-header__actions { gap: 0.5rem; } }
.site-header__icon-btn {
	position: relative;
	padding: 0.5rem;
	color: var(--color-foreground);
	transition: opacity 0.2s ease;
	display: inline-flex;
	align-items: center;
	justify-content: center;
}
.site-header__icon-btn:hover { opacity: 0.6; }
.theme-shop-anchor { display: none; }
@media (min-width: 768px) { .theme-shop-anchor { display: inline-flex; } }
.theme-cart-count {
	position: absolute;
	top: -2px;
	right: -2px;
	width: 1.25rem;
	height: 1.25rem;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 12px;
	font-weight: 500;
	background: var(--color-primary);
	color: var(--color-button-text);
	border-radius: 999px;
}
.theme-cart-count:empty { display: none; }

.site-header__menu-toggle { display: inline-flex; }
@media (min-width: 1024px) { .site-header__menu-toggle { display: none; } }

.site-header__mobile-menu {
	display: none;
	border-top: 1px solid var(--color-border);
	padding: 1rem 0;
	opacity: 0;
}
.site-header__mobile-menu.is-open {
	display: block;
	animation: theme-fade-in 0.6s var(--transition-smooth) forwards;
}
@media (min-width: 1024px) { .site-header__mobile-menu { display: none !important; } }
.theme-nav-list-mobile { display: flex; flex-direction: column; gap: 1rem; }
.theme-nav-link-mobile {
	text-align: left;
	font-size: 0.875rem;
	font-family: var(--font-display);
	letter-spacing: 0.18em;
	text-transform: uppercase;
	padding: 0.5rem 0;
}
.theme-nav-link-mobile:hover { color: var(--color-muted-foreground); }

/* -------------------------------------------------------------------------
   HERO
   ------------------------------------------------------------------------- */
.theme-hero { background: var(--color-background); position: relative; }
.theme-hero__media {
	position: relative;
	width: 100%;
	min-height: 100vh;
	overflow: hidden;
}
.theme-hero__image {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: 25% center;
	filter: contrast(1.02) saturate(1.05);
}
.theme-hero__inner > .theme-hero__eyebrow { --reveal-delay: 0.2s; }
.theme-hero__inner > .theme-hero__title { --reveal-delay: 0.35s; }
.theme-hero__inner > .theme-hero__subtitle { --reveal-delay: 0.55s; }
.theme-hero__inner > .theme-hero__actions { --reveal-delay: 0.75s; }
.theme-hero__gradient-1 {
	position: absolute; inset: 0;
	background: radial-gradient(70% 60% at 20% 20%, color-mix(in srgb, var(--color-primary) 20%, transparent), transparent 70%);
	mix-blend-mode: soft-light;
}
.theme-hero__gradient-2 {
	position: absolute; inset: 0;
	background: radial-gradient(80% 100% at 50% 50%, color-mix(in srgb, var(--color-background) 78%, transparent), color-mix(in srgb, var(--color-background) 45%, transparent) 55%, transparent 80%);
}
.theme-hero__gradient-3 {
	position: absolute; inset-inline: 0; bottom: 0; height: 10rem;
	background: linear-gradient(to top, var(--color-background), transparent);
}
.theme-hero__content {
	position: relative;
	z-index: 2;
	min-height: 100vh;
	display: flex;
	align-items: center;
	justify-content: center;
	padding-block: 7rem;
}
.theme-hero__inner { max-width: 56rem; text-align: center; margin: 0 auto; }
.theme-hero__eyebrow {
	display: block; font-size: 12px; letter-spacing: 0.36em; text-transform: uppercase;
	color: var(--color-primary); font-family: var(--font-body); margin-bottom: 1.25rem;
}
.theme-hero__title {
	font-size: 3rem;
	line-height: 1.02;
	font-weight: 400;
	color: var(--color-foreground);
	margin-bottom: 1.5rem;
}
@media (min-width: 768px) { .theme-hero__title { font-size: 3.75rem; } }
@media (min-width: 1280px) { .theme-hero__title { font-size: 4.5rem; } }
.theme-hero__subtitle {
	color: color-mix(in srgb, var(--color-foreground) 75%, transparent);
	font-size: 1rem; line-height: 1.6; margin: 0 auto 2.5rem; max-width: 28rem; font-family: var(--font-body);
}
@media (min-width: 768px) { .theme-hero__subtitle { font-size: 1.125rem; } }
.theme-hero__actions { display: flex; flex-direction: column; gap: 1rem; justify-content: center; }
@media (min-width: 640px) { .theme-hero__actions { flex-direction: row; } }

/* -------------------------------------------------------------------------
   SECTIONS — generic
   ------------------------------------------------------------------------- */
.theme-section { background: var(--color-background); }
.theme-section--deep { background: var(--color-surface-deep); color: var(--color-surface-deep-foreground); }
.theme-section--butter { background: var(--color-butter); }

/* Vertical padding tiers (Lovable py-* parity) */
.theme-section__inner--lg { padding-block: 5rem; }
@media (min-width: 768px) { .theme-section__inner--lg { padding-block: 7rem; } }
.theme-section__inner--md { padding-block: 4rem; }
@media (min-width: 768px) { .theme-section__inner--md { padding-block: 6rem; } }
.theme-section__inner--sm { padding-block: 4rem; }
@media (min-width: 768px) { .theme-section__inner--sm { padding-block: 5rem; } }

/* Full-bleed horizontal inset (About, pillars head, etc.) */
.theme-section__inset--lg {
	padding-block: 5rem;
	padding-inline: 1.5rem;
}
@media (min-width: 768px) {
	.theme-section__inset--lg {
		padding-block: 7rem;
		padding-inline: 3.5rem;
	}
}
@media (min-width: 1024px) {
	.theme-section__inset--lg { padding-inline: 5rem; }
}

.theme-section__head { max-width: 56rem; margin: 0 auto 3rem; text-align: center; }
.theme-section__head--lg { margin-bottom: 3rem; }
.theme-section__head--featured { margin-bottom: 3.5rem; }
.theme-section__head--sm { margin-bottom: 2.5rem; }
.theme-section__head--center { text-align: center; }
.theme-section__head p { color: color-mix(in srgb, currentColor 75%, transparent); font-family: var(--font-body); line-height: 1.7; }
.theme-section__footer-link { text-align: center; margin-top: 3.5rem; font-size: 12px; letter-spacing: 0.22em; text-transform: uppercase; font-family: var(--font-body); }

.section-heading {
	font-family: var(--font-display);
	font-weight: 400;
}
#chapters, #about, #founder, #services, #bigger, #gallery, #shop, #faq, #contact { scroll-margin-top: 6rem; }
@media (min-width: 1024px) {
	#chapters, #about, #founder, #services, #bigger, #gallery, #shop, #faq, #contact { scroll-margin-top: 7rem; }
}
.chapters-heading { font-size: 2.25rem; line-height: 1.05; margin-bottom: 1.5rem; }
@media (min-width: 768px) { .chapters-heading { font-size: 3rem; } }
@media (min-width: 1024px) { .chapters-heading { font-size: 3.75rem; } }
.offerings-heading { font-size: 1.875rem; }
@media (min-width: 768px) { .offerings-heading { font-size: 2.25rem; } }
.featured-heading, .shop-heading { font-size: 1.875rem; line-height: 1.25; }
@media (min-width: 768px) { .featured-heading, .shop-heading { font-size: 3rem; } }
.about-heading { font-size: 1.875rem; line-height: 1.25; margin-bottom: 2rem; font-weight: 600; }
@media (min-width: 768px) { .about-heading { font-size: 2.25rem; } }
.founder-heading { font-size: 2.25rem; line-height: 1.25; margin-bottom: 1.75rem; }
@media (min-width: 768px) { .founder-heading { font-size: 3rem; } }
@media (min-width: 1024px) { .founder-heading { font-size: 3.75rem; } }
.pillars-heading { font-size: 2.5rem; line-height: 1.05; }
@media (min-width: 768px) { .pillars-heading { font-size: 3.75rem; } }
@media (min-width: 1024px) { .pillars-heading { font-size: 4.5rem; } }
.pillar-heading { font-size: 2.25rem; line-height: 1.05; margin-bottom: 1.5rem; }
@media (min-width: 768px) { .pillar-heading { font-size: 3rem; } }
@media (min-width: 1024px) { .pillar-heading { font-size: 3.75rem; } }
.vision-heading { font-size: 2.5rem; line-height: 1.05; margin-bottom: 1.75rem; }
@media (min-width: 768px) { .vision-heading { font-size: 3rem; } }
@media (min-width: 1024px) { .vision-heading { font-size: 3.75rem; } }
.vision-heading .theme-split-section__accent { display: block; color: var(--color-primary); }
.gallery-heading { font-size: 1.875rem; line-height: 1.05; }
@media (min-width: 768px) { .gallery-heading { font-size: 3rem; } }
@media (min-width: 1024px) { .gallery-heading { font-size: 3.75rem; } }
.faq-heading { font-size: 1.875rem; }
@media (min-width: 768px) { .faq-heading { font-size: 3rem; } }
.cta-band__title { font-size: 1.5rem; line-height: 1.25; margin-bottom: 1.5rem; font-weight: 400; font-family: var(--font-display); }
@media (min-width: 768px) { .cta-band__title { font-size: 2.25rem; } }
@media (min-width: 1024px) { .cta-band__title { font-size: 3rem; } }

/* -------------------------------------------------------------------------
   CHAPTERS
   ------------------------------------------------------------------------- */
.theme-chapters-grid { display: grid; grid-template-columns: 1fr; gap: 1.25rem; }
@media (min-width: 640px) { .theme-chapters-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .theme-chapters-grid { grid-template-columns: repeat(4, 1fr); gap: 1.5rem; } }
.theme-chapter-card__image-wrap {
	position: relative; aspect-ratio: 4/5; overflow: hidden;
	background: color-mix(in srgb, var(--color-surface-deep-foreground) 5%, transparent);
}
.theme-chapter-card__image { transition: transform 0.7s var(--transition-smooth); }
.theme-chapter-card:hover .theme-chapter-card__image { transform: scale(1.05); }
.theme-chapter-card__image.is-muted { opacity: 0.45; filter: grayscale(1); }
.theme-chapter-card__image-wrap::after {
	content: ''; position: absolute; inset: 0;
	background: linear-gradient(to top, var(--color-surface-deep), color-mix(in srgb, var(--color-surface-deep) 30%, transparent), transparent);
}
.theme-chapter-card__number { position: absolute; top: 1rem; left: 1rem; font-family: var(--font-display); font-size: 0.875rem; letter-spacing: 0.3em; color: var(--color-primary); z-index: 2; }
.theme-chapter-card__badge {
	position: absolute; top: 1rem; right: 1rem; z-index: 2;
	border: 1px solid color-mix(in srgb, var(--color-primary) 50%, transparent); color: var(--color-primary);
	font-size: 10px; letter-spacing: 0.24em; text-transform: uppercase; font-family: var(--font-body); padding: 0.25rem 0.5rem;
}
.theme-chapter-card__title-wrap { position: absolute; inset-inline: 0; bottom: 0; padding: 1.25rem; z-index: 2; }
.theme-chapter-card__title-wrap h3 { font-size: 1.5rem; line-height: 1.2; color: var(--color-surface-deep-foreground); }
.theme-chapter-card__blurb { padding-top: 1rem; font-size: 0.875rem; line-height: 1.7; color: color-mix(in srgb, var(--color-surface-deep-foreground) 70%, transparent); font-family: var(--font-body); }
.theme-chapter-card__link {
	margin-top: 1rem; display: inline-flex; align-items: center; gap: 0.4rem; font-size: 11px; letter-spacing: 0.24em;
	text-transform: uppercase; font-family: var(--font-body); color: var(--color-primary);
}
.theme-chapter-card__link--muted { color: color-mix(in srgb, var(--color-surface-deep-foreground) 55%, transparent); }
.theme-chapter-card__link--muted:hover { color: var(--color-primary); }

.theme-chapters-cta {
	margin-top: 4rem; border-top: 1px solid color-mix(in srgb, var(--color-surface-deep-foreground) 15%, transparent);
	padding-top: 3.5rem; text-align: center;
}
.theme-chapters-cta__pill {
	display: inline-flex; align-items: center; gap: 0.5rem; padding: 0.5rem 1rem;
	border: 1px solid color-mix(in srgb, var(--color-primary) 40%, transparent); color: var(--color-primary);
	font-size: 11px; letter-spacing: 0.28em; text-transform: uppercase; font-family: var(--font-body); margin-bottom: 1.75rem;
}
.theme-chapters-cta__pill span { height: 1px; width: 1rem; background: var(--color-primary); }
.theme-chapters-cta p { max-width: 36rem; margin: 0 auto 2.25rem; color: color-mix(in srgb, var(--color-surface-deep-foreground) 70%, transparent); font-family: var(--font-body); line-height: 1.7; }

/* -------------------------------------------------------------------------
   CATEGORY TILES
   ------------------------------------------------------------------------- */
.theme-tiles-grid { display: grid; grid-template-columns: 1fr; gap: 1rem; }
@media (min-width: 768px) { .theme-tiles-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.5rem; } }
.theme-tile { position: relative; aspect-ratio: 3/4; overflow: hidden; display: block; width: 100%; padding: 0; text-align: left; }
.theme-tile__image { transition: transform 0.7s var(--transition-smooth); }
.theme-tile:hover .theme-tile__image { transform: scale(1.05); }
.theme-tile__gradient { position: absolute; inset: 0; background: linear-gradient(to top, var(--color-background), color-mix(in srgb, var(--color-background) 40%, transparent), transparent); }
.theme-tile__content { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: flex-end; padding: 1.5rem; color: var(--color-foreground); }
.theme-tile__tagline { display: inline-flex; align-items: center; gap: 0.5rem; font-size: 11px; letter-spacing: 0.3em; text-transform: uppercase; font-family: var(--font-body); color: var(--color-primary); margin-bottom: 0.5rem; }
.theme-tile__tagline span { height: 1px; width: 1.5rem; background: currentColor; }
.theme-tile__content h3 { font-size: 1.5rem; margin-bottom: 0.5rem; }
@media (min-width: 768px) { .theme-tile__content h3 { font-size: 1.875rem; } }
.theme-tile__cta { display: inline-flex; align-items: center; gap: 0.4rem; font-size: 12px; letter-spacing: 0.22em; text-transform: uppercase; font-family: var(--font-body); }

/* -------------------------------------------------------------------------
   PRODUCT GRID / CARD (Pattern A overlay — Section 31.3)
   ------------------------------------------------------------------------- */
.theme-product-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 1.5rem;
	align-items: stretch;
}
@media (min-width: 768px) { .theme-product-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2rem; } }
@media (min-width: 1024px) { .theme-product-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.theme-featured-products__grid { grid-template-columns: repeat(1, minmax(0, 1fr)); gap: 2rem; }
@media (min-width: 768px) { .theme-featured-products__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2rem; } }
@media (min-width: 1024px) { .theme-featured-products__grid { gap: 3rem; } }

.theme-product-card-wrap { height: 100%; display: flex; }
.theme-product-card { position: relative; display: flex; flex-direction: column; width: 100%; transition: transform 0.3s var(--transition-smooth); }
.theme-product-card:hover { transform: translateY(-4px); }
.theme-product-card > .theme-card-link { position: absolute; inset: 0; z-index: 2; pointer-events: auto; }
.theme-product-card *:not(.theme-card-link) { pointer-events: none; }
.theme-product-card .add_to_cart_button,
.theme-product-card .theme-product-card__quick-add--link { pointer-events: auto; }

.theme-product-card__image-wrapper {
	position: relative;
	aspect-ratio: 3/4;
	background: var(--color-secondary);
	overflow: hidden;
	margin-bottom: 1.25rem;
}
.theme-product-card__image-wrapper img,
.theme-product-card__image {
	width: 100%;
	height: 100% !important;
	object-fit: cover;
}
.theme-product-card__image { transition: transform 0.7s var(--transition-smooth); }
.theme-product-card:hover .theme-product-card__image { transform: scale(1.04); }

.theme-product-card__badge {
	position: absolute; top: 0.75rem; left: 0.75rem; z-index: 3;
	padding: 0.35rem 0.75rem; font-size: 12px; font-weight: 500; text-transform: uppercase; letter-spacing: 0.18em;
	background: var(--color-foreground); color: var(--color-background); border-radius: 999px;
}
.theme-product-card__quick-add {
	position: absolute; bottom: 0.75rem; right: 0.75rem; z-index: 3;
	width: 2.5rem; height: 2.5rem; display: inline-flex; align-items: center; justify-content: center;
	border-radius: 50%; background: var(--color-background); color: var(--color-foreground);
	box-shadow: var(--shadow-soft); opacity: 0; transition: opacity 0.3s ease, transform 0.2s ease;
	min-height: unset !important; padding: 0 !important;
}
@media (hover: hover) {
	.theme-product-card:hover .theme-product-card__quick-add { opacity: 1; }
}
@media (max-width: 767px) {
	.theme-product-card__quick-add { opacity: 1; }
}
.theme-product-card__quick-add:hover { transform: scale(1.08); }

.theme-product-card__info { flex: 1; text-align: center; padding-top: 1rem; display: flex; flex-direction: column; gap: 0.5rem; }
.theme-product-card__title {
	font-size: 0.875rem; font-weight: 500; text-transform: uppercase; letter-spacing: 0.15em;
	color: var(--color-foreground); font-family: var(--font-body); margin-bottom: 0.5rem;
	overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
@media (min-width: 768px) { .theme-product-card__title { font-size: 1rem; } }
.theme-product-card:hover .theme-product-card__title { color: var(--color-primary); }
.theme-product-card__price { font-size: 1rem; color: var(--color-foreground); font-family: var(--font-body); }
@media (min-width: 768px) { .theme-product-card__price { font-size: 1.125rem; } }
.theme-product-card__price del { opacity: 0.5; text-decoration: line-through; margin-right: 0.4em; }
.theme-product-card__price ins { text-decoration: none; }

.theme-shop-grid-item[hidden] { display: none; }

/* -------------------------------------------------------------------------
   ADD TO CART BUTTON OVERRIDES (Section 11.4.1 — mandatory)
   ------------------------------------------------------------------------- */
.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: none !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;
}
/* Card compact circular button — overrides the global rules above */
.theme-product-card .add_to_cart_button.ajax_add_to_cart {
	min-height: unset !important;
	padding: 0 !important;
	border-radius: 50% !important;
	width: 2.5rem;
	height: 2.5rem;
}
.single-product .single_add_to_cart_button.loading::after,
.ajax_add_to_cart.loading::after { display: none !important; }
.ajax_add_to_cart.theme-btn-loading { opacity: 0.6 !important; pointer-events: none !important; cursor: wait !important; }

/* Hide "View cart" injected by WooCommerce after AJAX add-to-cart */
.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; }

/* -------------------------------------------------------------------------
   ABOUT / SPLIT SECTIONS
   ------------------------------------------------------------------------- */
.theme-about__inner { max-width: 42rem; margin: 0 auto; text-align: center; }
.theme-about__inner p { color: color-mix(in srgb, var(--color-foreground) 80%, transparent); font-family: var(--font-body); line-height: 1.625; margin-bottom: 1.25rem; }
.theme-about__quote {
	font-family: var(--font-display);
	font-size: 1.125rem;
	color: var(--color-primary);
	letter-spacing: 0.16em;
	margin: 0 0 2.5rem;
}
@media (min-width: 768px) { .theme-about__quote { font-size: 1.25rem; } }
.theme-about__link {
	font-size: 12px;
	letter-spacing: 0.28em;
	text-transform: uppercase;
	font-family: var(--font-display);
	font-weight: 500;
	color: var(--color-foreground);
}

.theme-split-section { display: grid; grid-template-columns: 1fr; align-items: stretch; }
@media (min-width: 1024px) { .theme-split-section { grid-template-columns: repeat(2, 1fr); } }
.theme-split-section__media { position: relative; min-height: 24rem; }
@media (min-width: 768px) { .theme-split-section__media { min-height: 32rem; } }
@media (min-width: 1024px) { .theme-split-section__media { min-height: 40rem; } }
.theme-split-section--reverse .theme-split-section__media { order: 2; }
.theme-split-section__content { display: flex; align-items: center; background: var(--color-background); padding: 4rem 1.5rem; }
.theme-split-section--reverse .theme-split-section__content { order: 1; }
@media (min-width: 768px) { .theme-split-section__content { padding: 6rem 3.5rem; } }
@media (min-width: 1024px) { .theme-split-section__content { padding: 6rem 5rem; } }
@media (min-width: 1280px) { .theme-split-section__content { padding: 6rem; } }
.theme-split-section__content-inner { max-width: 36rem; }
.theme-split-section__content-inner p { color: color-mix(in srgb, var(--color-foreground) 78%, transparent); font-family: var(--font-body); line-height: 1.7; margin-bottom: 1.25rem; }
.theme-split-section__quote { font-family: var(--font-body); font-style: italic; font-size: 1.25rem; color: color-mix(in srgb, var(--color-foreground) 85%, transparent); line-height: 1.4; margin-bottom: 2rem; }
@media (min-width: 768px) { .theme-split-section__quote { font-size: 1.5rem; } }
.theme-split-section__italic { font-style: italic; }

/* -------------------------------------------------------------------------
   PILLARS ("What we stand for")
   ------------------------------------------------------------------------- */
.theme-pillars__head { padding: 5rem 1.5rem; text-align: center; }
@media (min-width: 768px) { .theme-pillars__head { padding: 7rem 3.5rem; } }
.theme-pillar-row { display: grid; grid-template-columns: 1fr; align-items: stretch; }
@media (min-width: 1024px) { .theme-pillar-row { grid-template-columns: repeat(2, 1fr); } }
.theme-pillar-row.is-reversed .theme-pillar-row__media { order: 2; }
.theme-pillar-row.is-reversed .theme-pillar-row__content { order: 1; }
.theme-pillar-row__media { position: relative; min-height: 22.5rem; }
@media (min-width: 768px) { .theme-pillar-row__media { min-height: 31rem; } }
@media (min-width: 1024px) { .theme-pillar-row__media { min-height: 35rem; } }
.theme-pillar-row__numeral {
	position: absolute; top: 1.25rem; left: 1.25rem; font-family: var(--font-display); font-size: 0.875rem;
	letter-spacing: 0.3em; padding: 0.25rem 0.5rem; background: color-mix(in srgb, var(--color-background) 85%, transparent);
	backdrop-filter: blur(4px); color: var(--color-primary); z-index: 2;
}
.theme-pillar-row__content { display: flex; align-items: center; background: var(--color-butter); padding: 4rem 1.5rem; }
@media (min-width: 768px) { .theme-pillar-row__content { padding: 6rem 3.5rem; } }
@media (min-width: 1024px) { .theme-pillar-row__content { padding: 6rem 5rem; } }
@media (min-width: 1280px) { .theme-pillar-row__content { padding: 6rem; } }
.theme-pillar-row__content-inner { max-width: 36rem; }
.theme-pillar-row__kicker { display: flex; align-items: center; gap: 0.75rem; margin-bottom: 1.25rem; }
.theme-pillar-row__icon { display: flex; align-items: center; justify-content: center; width: 2.5rem; height: 2.5rem; border-radius: 50%; border: 1px solid color-mix(in srgb, var(--color-primary) 40%, transparent); color: var(--color-primary); }
.theme-pillar-row__kicker span:last-child { font-size: 11px; letter-spacing: 0.3em; text-transform: uppercase; color: var(--color-primary); font-family: var(--font-body); }
.theme-pillar-row__content h3 { margin-bottom: 1.5rem; }
.theme-pillar-row__content p { font-size: 1rem; color: var(--color-muted-foreground); font-family: var(--font-body); line-height: 1.7; }
@media (min-width: 768px) { .theme-pillar-row__content p { font-size: 1.125rem; } }

/* -------------------------------------------------------------------------
   GALLERY CAROUSEL (auto-scroll marquee, Section 8)
   ------------------------------------------------------------------------- */
.theme-gallery__head { margin-bottom: 2.5rem; }
@media (min-width: 768px) { .theme-gallery__head { margin-bottom: 3.5rem; } }
.theme-gallery__track-wrap { margin: 0; }
.theme-gallery__track {
	display: flex; gap: 1rem; overflow-x: auto; padding: 0 1.5rem 0.5rem;
	scrollbar-width: none;
}
@media (min-width: 768px) { .theme-gallery__track { gap: 1.5rem; padding: 0 3rem 0.5rem; } }
@media (min-width: 1024px) { .theme-gallery__track { padding: 0 4rem 0.5rem; } }
.theme-gallery__track::-webkit-scrollbar { display: none; }
.theme-gallery__item {
	flex-shrink: 0; width: 78%; position: relative;
}
@media (min-width: 640px) { .theme-gallery__item { width: 55%; } }
@media (min-width: 768px) { .theme-gallery__item { width: 40%; } }
@media (min-width: 1024px) { .theme-gallery__item { width: 30%; } }
@media (min-width: 1280px) { .theme-gallery__item { width: 26%; } }
.theme-gallery__item a { position: relative; display: block; overflow: hidden; aspect-ratio: 4/5; }
.theme-gallery__item img { transition: transform 0.9s var(--transition-smooth); object-position: top; }
.theme-gallery__item a:hover img { transform: scale(1.04); }
.theme-gallery__controls { display: flex; align-items: center; gap: 1rem; margin-top: 2.5rem; margin-bottom: 0; }
.theme-gallery__arrow-btn {
	width: 3rem; height: 3rem; display: inline-flex; align-items: center; justify-content: center;
	border: 1px solid color-mix(in srgb, var(--color-foreground) 20%, transparent); color: color-mix(in srgb, var(--color-foreground) 70%, transparent);
	transition: color 0.2s ease, border-color 0.2s ease;
}
.theme-gallery__arrow-btn:hover { color: var(--color-primary); border-color: var(--color-primary); }

/* -------------------------------------------------------------------------
   SHOP SECTION — search / filters / price range
   ------------------------------------------------------------------------- */
.theme-shop__head { text-align: center; margin-bottom: 3rem; }
.shop-heading { margin-bottom: 2.5rem; }
.theme-shop__search { position: relative; max-width: 28rem; margin: 0 auto 2rem; display: flex; align-items: center; }
.theme-shop__search svg { position: absolute; left: 0; color: var(--color-muted-foreground); }
.theme-shop__search input {
	width: 100%; padding: 0.5rem 0 0.5rem 1.75rem; background: transparent; border: none; border-bottom: 1px solid var(--color-border);
	font-family: var(--font-body); font-size: 1rem; color: var(--color-foreground); transition: border-color 0.3s ease;
}
.theme-shop__search input:focus { outline: none; border-color: var(--color-foreground); }
.theme-shop__search input::placeholder { color: var(--color-muted-foreground); }

.theme-shop__categories { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.5rem; margin-bottom: 1rem; }
.theme-category-pill {
	padding: 0.5rem 1.25rem; font-size: 12px; letter-spacing: 0.2em; text-transform: uppercase; font-family: var(--font-body);
	border: 1px solid var(--color-border); border-radius: 999px; background: transparent; color: var(--color-foreground);
	transition: all 0.3s ease;
}
.theme-category-pill:hover { border-color: var(--color-primary); color: var(--color-primary); }
.theme-category-pill.is-active { background: var(--color-primary); color: var(--color-button-text); border-color: var(--color-primary); }
.theme-category-pill:active { transform: scale(0.96); }

.theme-shop__price-filter { display: flex; flex-direction: column; align-items: center; gap: 0.75rem; }
.theme-shop__price-toggle {
	display: flex; align-items: center; gap: 0.5rem; padding: 0.5rem 1rem; font-size: 12px; letter-spacing: 0.2em;
	text-transform: uppercase; color: var(--color-muted-foreground); font-family: var(--font-body); transition: color 0.3s ease;
}
.theme-shop__price-toggle:hover { color: var(--color-foreground); }
.theme-shop__price-toggle svg { transition: transform 0.3s ease; }
.theme-shop__price-filter.is-open .theme-shop__price-toggle svg { transform: rotate(180deg); }
.theme-shop__price-toggle-value { opacity: 0.7; text-transform: none; letter-spacing: normal; }
.theme-shop__price-filter.is-open .theme-shop__price-toggle-value { display: none; }
.theme-shop__price-panel { width: 100%; max-width: 24rem; overflow: hidden; height: 0; opacity: 0; transition: height 0.3s var(--transition-smooth), opacity 0.3s var(--transition-smooth); }
.theme-shop__price-filter.is-open .theme-shop__price-panel { height: auto; opacity: 1; }
.theme-shop__price-labels { display: flex; justify-content: space-between; font-size: 0.875rem; color: var(--color-muted-foreground); font-family: var(--font-body); margin-top: 0.5rem; }

/* Dual-handle overlapping range (Section 31.4) */
.price-range-wrapper { position: relative; height: 1.5rem; margin: 0.5rem 0; }
.range-track-bg, .range-track-fill { position: absolute; height: 4px; top: 50%; transform: translateY(-50%); pointer-events: none; border-radius: 999px; }
.range-track-bg { left: 0; right: 0; background: var(--color-border); }
.range-track-fill { background: var(--color-primary); }
.range-input { position: absolute; left: 0; top: 0; width: 100%; height: 100%; margin: 0; -webkit-appearance: none; appearance: none; background: transparent; pointer-events: none; }
.range-input::-webkit-slider-thumb { -webkit-appearance: none; pointer-events: auto; width: 18px; height: 18px; border-radius: 50%; background: var(--color-background); border: 2px solid var(--color-primary); cursor: pointer; margin-top: 0; }
.range-input::-moz-range-thumb { pointer-events: auto; width: 18px; height: 18px; border-radius: 50%; background: var(--color-background); border: 2px solid var(--color-primary); cursor: pointer; }
.range-input::-webkit-slider-runnable-track { background: transparent; }
.range-input--max { z-index: 3; }
.range-input--min { z-index: 4; }

.theme-shop__show-more { text-align: center; margin-top: 3rem; font-size: 12px; letter-spacing: 0.22em; text-transform: uppercase; font-family: var(--font-body); }
.theme-shop__show-more[hidden] { display: none; }
.theme-shop__show-more .link-underline,
#theme-show-more-btn {
	color: var(--color-foreground);
	background: transparent;
	border: none;
	cursor: pointer;
}
.theme-shop__empty { text-align: center; padding: 5rem 0; color: var(--color-muted-foreground); font-family: var(--font-body); }

/* -------------------------------------------------------------------------
   FAQ ACCORDION
   ------------------------------------------------------------------------- */
.theme-faq-list { max-width: 48rem; margin: 0 auto; border-top: 1px solid var(--color-border); border-bottom: 1px solid var(--color-border); }
.theme-faq-item { border-bottom: 1px solid var(--color-border); }
.theme-faq-item:last-child { border-bottom: none; }
.theme-faq-item__trigger { width: 100%; display: flex; align-items: flex-start; justify-content: space-between; gap: 1.5rem; padding: 1.5rem 0; text-align: left; }
.theme-faq-item__trigger span:first-child { font-family: var(--font-display); font-size: 1.125rem; line-height: 1.4; color: var(--color-foreground); }
@media (min-width: 768px) { .theme-faq-item__trigger span:first-child { font-size: 1.25rem; } }
.theme-faq-item__icon { flex-shrink: 0; margin-top: 0.25rem; color: var(--color-primary); position: relative; width: 16px; height: 16px; }
.theme-faq-item__icon-plus, .theme-faq-item__icon-minus { position: absolute; inset: 0; transition: opacity 0.15s ease; }
.theme-faq-item__icon-minus { opacity: 0; }
.theme-faq-item.is-open .theme-faq-item__icon-plus { opacity: 0; }
.theme-faq-item.is-open .theme-faq-item__icon-minus { opacity: 1; }
.theme-faq-item__panel { height: 0; opacity: 0; overflow: hidden; transition: height 0.3s var(--transition-smooth), opacity 0.3s var(--transition-smooth); }
.theme-faq-item.is-open .theme-faq-item__panel { height: auto; opacity: 1; }
.theme-faq-item__panel p { padding-bottom: 1.5rem; padding-right: 2.5rem; color: var(--color-muted-foreground); font-family: var(--font-body); line-height: 1.7; }

/* -------------------------------------------------------------------------
   FINAL CTA BAND
   ------------------------------------------------------------------------- */
.theme-cta-band { position: relative; background: var(--color-butter); overflow: hidden; }
.theme-cta-band__bg { opacity: 0.4; }
.theme-cta-band__inner { position: relative; padding: 6rem 0; }
@media (min-width: 768px) { .theme-cta-band__inner { padding: 8rem 0; } }
.theme-cta-band__card {
	max-width: 42rem; margin: 0 auto; text-align: center;
	background: color-mix(in srgb, var(--color-background) 95%, transparent);
	backdrop-filter: blur(4px);
	box-shadow: var(--shadow-elevated);
	border: 1px solid var(--color-border);
	padding: 3rem 2rem;
}
@media (min-width: 768px) { .theme-cta-band__card { padding: 4rem 3.5rem; } }
.theme-cta-band__card .theme-eyebrow { font-weight: 600; }
.theme-cta-band__actions { display: flex; flex-direction: column; gap: 1.25rem; align-items: center; justify-content: center; }
@media (min-width: 640px) { .theme-cta-band__actions { flex-direction: row; } }

/* -------------------------------------------------------------------------
   FOOTER
   ------------------------------------------------------------------------- */
.site-footer { border-top: 1px solid var(--color-border); background: var(--color-butter); }
.site-footer__inner { padding-block: 2rem; }
@media (min-width: 1024px) { .site-footer__inner { padding-block: 2.5rem; } }
.site-footer__brand .site-logo { height: 6rem; }
@media (min-width: 768px) { .site-footer__brand .site-logo { height: 6rem; } }
.site-footer__top { display: flex; flex-direction: column; gap: 2rem; }
@media (min-width: 768px) { .site-footer__top { flex-direction: row; align-items: center; justify-content: space-between; } }
.site-footer__brand { display: flex; flex-direction: column; align-items: center; gap: 0.75rem; }
.site-footer__logo { height: 100% !important; width: auto; object-fit: contain; }
.site-footer__tagline { font-size: 10px; letter-spacing: 0.32em; text-transform: uppercase; color: var(--color-muted-foreground); font-family: var(--font-body); }
.site-footer__nav-list { display: flex; flex-wrap: wrap; align-items: center; gap: 1.25rem; justify-content: center; }
.site-footer__nav-link { font-size: 12px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--color-muted-foreground); font-family: var(--font-body); transition: color 0.2s ease; }
.site-footer__nav-link:hover { color: var(--color-foreground); }
.site-footer__contact { display: flex; flex-direction: column; align-items: center; gap: 0.75rem; }
.site-footer__contact-link { display: flex; align-items: center; gap: 0.5rem; font-size: 0.875rem; color: var(--color-muted-foreground); font-family: var(--font-body); transition: color 0.2s ease; word-break: break-all; }
.site-footer__contact-link:hover { color: var(--color-foreground); }
.site-footer__contact-row { display: flex; align-items: center; gap: 1.25rem; }
.site-footer__bottom { margin-top: 2.5rem; padding-top: 1.5rem; border-top: 1px solid var(--color-border); display: flex; flex-direction: column; align-items: center; gap: 0.75rem; text-align: center; }
@media (min-width: 640px) { .site-footer__bottom { flex-direction: row; justify-content: space-between; } }
.site-footer__credo, .site-footer__copyright, .site-footer__built-by { font-size: 12px; color: var(--color-muted-foreground); font-family: var(--font-body); letter-spacing: 0.02em; margin: 0; }
.site-footer__credo { font-family: var(--font-display); letter-spacing: 0.18em; }
.site-footer__built-by a { text-decoration: underline; }
.site-footer__built-by a:hover { color: var(--color-foreground); }

/* -------------------------------------------------------------------------
   CART DRAWER + OVERLAY
   ------------------------------------------------------------------------- */
#theme-cart-overlay {
	position: fixed; inset: 0; z-index: 60; background: color-mix(in srgb, var(--color-foreground) 20%, transparent);
	opacity: 0; pointer-events: none; transition: opacity 0.3s ease;
}
body.cart-open #theme-cart-overlay { opacity: 1; pointer-events: auto; }

#theme-cart-drawer {
	position: fixed; right: 0; top: 0; height: 100%; width: 100%; max-width: 28rem; z-index: 61;
	background: var(--color-background); box-shadow: var(--shadow-elevated); display: flex; flex-direction: column;
	opacity: 0; transform: translateY(20px); pointer-events: none;
	transition: opacity 0.6s var(--transition-smooth), transform 0.6s var(--transition-smooth);
}
body.cart-open #theme-cart-drawer { opacity: 1; transform: translateY(0); pointer-events: auto; }
#theme-cart-drawer.is-updating,
body.cart-updating #theme-cart-drawer.is-updating {
	opacity: 0.72;
	pointer-events: auto;
}
#theme-cart-drawer.is-updating::after {
	content: '';
	position: absolute;
	inset: 0;
	z-index: 20;
	background: color-mix(in srgb, var(--color-background) 35%, transparent);
	cursor: wait;
	pointer-events: auto;
}
#theme-cart-drawer.is-updating > * {
	pointer-events: none;
}
body.cart-updating #theme-cart-overlay {
	pointer-events: auto;
}
.theme-cart-drawer__header { display: flex; align-items: center; justify-content: space-between; padding: 1.5rem; border-bottom: 1px solid var(--color-border); }
.theme-cart-drawer__title { font-family: var(--font-display); font-size: 1.125rem; font-weight: 700; }
.theme-cart-drawer__close { padding: 0.25rem; opacity: 0.7; transition: opacity 0.2s ease; }
.theme-cart-drawer__close:hover { opacity: 1; }
.theme-cart-drawer__empty { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 1.5rem; text-align: center; }
.theme-cart-drawer__empty-icon { color: var(--color-muted-foreground); margin-bottom: 1rem; }
.theme-cart-drawer__empty p { color: var(--color-muted-foreground); margin-bottom: 1.5rem; font-family: var(--font-body); }
.theme-cart-drawer__items { flex: 1; overflow: auto; padding: 1.5rem; display: flex; flex-direction: column; gap: 1.5rem; }
.theme-cart-item { display: flex; gap: 1rem; }
.theme-cart-item__image { width: 5rem; height: 6rem; flex-shrink: 0; background: var(--color-secondary); overflow: hidden; }
.theme-cart-item__image img { width: 100%; height: 100%; object-fit: cover; }
.theme-cart-item__details { flex: 1; min-width: 0; }
.theme-cart-item__name { font-size: 0.875rem; font-weight: 500; display: block; font-family: var(--font-body); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.theme-cart-item__price { font-size: 0.875rem; color: var(--color-muted-foreground); margin-top: 0.125rem; font-family: var(--font-body); }
.theme-cart-item__meta { font-size: 0.75rem; color: var(--color-muted-foreground); display: flex; gap: 0.75rem; margin-top: 0.25rem; }
.theme-cart-item__controls { display: flex; align-items: center; gap: 0.75rem; margin-top: 0.75rem; }
.theme-cart-item__qty-btn { padding: 0.25rem; border-radius: 0.25rem; transition: background 0.2s ease; }
.theme-cart-item__qty-btn:hover { background: var(--color-secondary); }
.theme-cart-item__qty { font-size: 0.875rem; width: 1.5rem; text-align: center; font-family: var(--font-body); }
.theme-cart-item__remove { margin-left: auto; font-size: 0.875rem; color: var(--color-muted-foreground); font-family: var(--font-body); transition: color 0.2s ease; }
.theme-cart-item__remove:hover { color: var(--color-foreground); }
.theme-cart-drawer__footer { padding: 1.5rem; border-top: 1px solid var(--color-border); display: flex; flex-direction: column; gap: 1rem; }
.theme-cart-drawer__subtotal { display: flex; justify-content: space-between; font-size: 0.875rem; font-family: var(--font-body); }
.theme-cart-drawer__subtotal span:first-child { color: var(--color-muted-foreground); }
.theme-cart-drawer__subtotal span:last-child { font-weight: 500; }
.theme-cart-drawer__shipping-note { font-size: 0.875rem; color: var(--color-muted-foreground); font-family: var(--font-body); }
.theme-cart-drawer__checkout-btn { width: 100%; }
.theme-cart-drawer__empty-btn { width: 100%; font-size: 0.875rem; padding: 0.6rem 1rem; letter-spacing: 0.05em; text-transform: none; }
.theme-cart-drawer__continue-btn {
	font-size: 0.875rem;
	padding: 0.5rem 1rem;
	letter-spacing: 0.02em;
	text-transform: none;
	border-radius: 0.375rem;
	min-height: 2.75rem;
}

/* -------------------------------------------------------------------------
   CONTACT MODAL
   ------------------------------------------------------------------------- */
#theme-contact-overlay {
	position: fixed; inset: 0; z-index: 70; background: rgba(0,0,0,0.8); opacity: 0; pointer-events: none; transition: opacity 0.25s ease;
}
body.contact-open #theme-contact-overlay { opacity: 1; pointer-events: auto; }
#theme-contact-modal {
	position: fixed; left: 50%; top: 50%; z-index: 71; width: 100%; max-width: 32rem; max-height: 90vh; overflow-y: auto;
	background: var(--color-background); border: 1px solid var(--color-border); box-shadow: var(--shadow-elevated);
	padding: 1.5rem; transform: translate(-50%, -48%) scale(0.96); opacity: 0; pointer-events: none;
	transition: opacity 0.2s ease, transform 0.2s ease;
}
body.contact-open #theme-contact-modal { opacity: 1; pointer-events: auto; transform: translate(-50%, -50%) scale(1); }
.theme-contact-modal__close { position: absolute; right: 1rem; top: 1rem; opacity: 0.7; transition: opacity 0.2s ease; }
.theme-contact-modal__close:hover { opacity: 1; }
.theme-contact-modal__title { font-family: var(--font-display); font-size: 1.5rem; margin-bottom: 0.5rem; color: var(--color-foreground); }
.theme-contact-modal__description { font-size: 0.875rem; color: var(--color-muted-foreground); font-family: var(--font-body); margin-bottom: 1.25rem; }
.theme-contact-modal__info { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem; font-size: 0.875rem; color: var(--color-muted-foreground); font-family: var(--font-body); margin-bottom: 1.25rem; }
.theme-contact-modal__info a { display: flex; align-items: center; gap: 0.5rem; word-break: break-all; transition: color 0.2s ease; }
.theme-contact-modal__info a:hover { color: var(--color-foreground); }
.theme-contact-modal__row { display: grid; grid-template-columns: 1fr; gap: 1rem; }
@media (min-width: 640px) { .theme-contact-modal__row { grid-template-columns: repeat(2, 1fr); } }
.theme-contact-modal__field { margin-bottom: 1rem; }
.theme-contact-modal__field label { display: block; font-size: 0.875rem; font-weight: 500; margin-bottom: 0.375rem; font-family: var(--font-body); color: var(--color-foreground); }
.theme-contact-modal__field input, .theme-contact-modal__field textarea {
	width: 100%; padding: 0.625rem 0.75rem; background: var(--color-background); border: 1px solid var(--color-border);
	font-size: 1rem; font-family: var(--font-body); color: var(--color-foreground); border-radius: 0.375rem; transition: box-shadow 0.3s ease;
}
.theme-contact-modal__field textarea { resize: none; }
.theme-contact-modal__field input:focus, .theme-contact-modal__field textarea:focus {
	outline: none; box-shadow: 0 0 0 2px color-mix(in srgb, var(--color-primary) 50%, transparent);
}
.theme-contact-modal__actions { display: flex; justify-content: flex-end; }
.theme-contact-modal__actions .theme-btn-primary {
	text-transform: none;
	letter-spacing: 0.02em;
	padding: 0.6rem 1.5rem;
	font-size: 0.875rem;
	border-radius: 0.375rem;
	background: var(--color-primary) !important;
	color: var(--color-button-text) !important;
}
.theme-contact-modal__success { text-align: center; padding: 2rem 0; }
.theme-contact-modal__success-icon { width: 3.5rem; height: 3.5rem; background: var(--color-primary); color: var(--color-button-text); display: flex; align-items: center; justify-content: center; margin: 0 auto 1rem; border-radius: 50%; }
.theme-contact-modal__success h3 { font-family: var(--font-display); font-size: 1.25rem; margin-bottom: 0.5rem; }
.theme-contact-modal__success p { color: var(--color-muted-foreground); font-family: var(--font-body); font-size: 0.875rem; }

/* -------------------------------------------------------------------------
   SINGLE PRODUCT
   ------------------------------------------------------------------------- */
.theme-single-product { padding-top: 6rem; padding-bottom: 6rem; background: var(--color-background); }
@media (min-width: 1024px) { .theme-single-product { padding-top: 7rem; } }
.theme-breadcrumb { padding: 1.5rem 0; font-size: 13px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--color-muted-foreground); font-family: var(--font-body); }
.theme-breadcrumb a, .theme-breadcrumb .posted_in a { transition: color 0.2s ease; }
.theme-breadcrumb a:hover, .theme-breadcrumb .posted_in a:hover { color: var(--color-foreground); }
.theme-breadcrumb__sep { margin: 0 0.5rem; opacity: 0.5; }
.theme-breadcrumb__current { color: var(--color-foreground); }

.theme-product-layout { display: grid; grid-template-columns: 1fr; gap: 2.5rem; padding: 1rem 0 6rem; min-width: 0; }
@media (min-width: 1024px) { .theme-product-layout { grid-template-columns: 7fr 5fr; gap: 4rem; align-items: start; } }
.theme-product-gallery { min-width: 0; max-width: 100%; }
.theme-product-gallery__mobile { display: flex; flex-direction: column; gap: 1rem; }
@media (min-width: 1024px) { .theme-product-gallery__mobile { display: none; } }
.theme-product-gallery__desktop { display: none; flex-direction: column; gap: 1rem; }
@media (min-width: 1024px) { .theme-product-gallery__desktop { display: flex; } }
.theme-product-gallery__main { position: relative; aspect-ratio: 1/1; background: var(--color-secondary); overflow: hidden; }
.theme-product-gallery__stack-item { position: relative; aspect-ratio: 1/1; background: var(--color-secondary); overflow: hidden; }
.theme-product-gallery__main img,
.theme-product-gallery__stack-item img {
	width: 100%;
	height: 100% !important;
	object-fit: cover;
}
.theme-product-thumbnails { display: flex; gap: 0.75rem; max-width: 100%; overflow-x: auto; padding-bottom: 0.25rem; }
.theme-product-gallery__mobile .theme-product-thumbnails { flex-wrap: nowrap; }
.theme-product-thumbnail { position: relative; width: 5rem; height: 5rem; flex-shrink: 0; overflow: hidden; background: var(--color-secondary); opacity: 0.6; transition: opacity 0.2s ease; }
.theme-product-thumbnail img { width: 100%; height: 100%; object-fit: cover; }
.theme-product-thumbnail.is-active,
.theme-product-thumbnail:hover { opacity: 1; }
.theme-product-thumbnail.is-active::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--color-foreground); }

.theme-product-info { min-width: 0; max-width: 100%; }
@media (min-width: 1024px) {
	.theme-product-info { position: sticky; top: 7rem; align-self: start; padding-left: 1rem; }
}
.theme-product-info__category { font-size: 13px; letter-spacing: 0.25em; text-transform: uppercase; color: var(--color-muted-foreground); font-family: var(--font-body); }
.theme-product-info__category a { color: inherit; }
.theme-product-info__chapter { display: block; margin-top: 0.5rem; font-size: 12px; letter-spacing: 0.28em; text-transform: uppercase; color: var(--color-primary); font-family: var(--font-body); }
.product-title {
	font-family: var(--font-display);
	font-weight: 400;
	text-transform: none;
	font-size: 1.875rem;
	line-height: 1.1;
	margin: 0.75rem 0 1.25rem;
	letter-spacing: 0.01em;
	color: var(--color-foreground);
}
@media (min-width: 768px) { .product-title { font-size: 2.25rem; } }
@media (min-width: 1024px) { .product-title { font-size: 2.75rem; } }
.theme-product-info__price,
.theme-product-info__price .amount,
.theme-product-info__price ins,
.theme-product-info__price del,
.woocommerce div.product .price,
.woocommerce div.product .price .amount {
	font-size: 1.25rem;
	margin-bottom: 1.5rem;
	font-family: var(--font-body);
	color: var(--color-foreground) !important;
}
.theme-product-info__price del { opacity: 0.5; }
.theme-product-info__price ins { text-decoration: none; }
.theme-product-info__stock.is-out { color: var(--color-muted-foreground); font-family: var(--font-body); margin-bottom: 1rem; }
.theme-product-info__desc { color: var(--color-muted-foreground); line-height: 1.7; margin-bottom: 2rem; font-size: 1rem; font-family: var(--font-body); overflow-wrap: break-word; word-break: break-word; }

.theme-option-group { margin-bottom: 1.5rem; }
.theme-option-group__label { font-size: 13px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--color-muted-foreground); font-family: var(--font-body); margin-bottom: 0.75rem; }
.theme-option-group__pills { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.theme-option-pill {
	padding: 0.5rem 1rem;
	font-size: 0.75rem;
	letter-spacing: 0.15em;
	text-transform: uppercase;
	font-family: var(--font-body);
	color: var(--color-foreground);
	border: 1px solid var(--color-border);
	border-radius: 999px;
	transition: all 0.2s ease;
}
.theme-option-pill:hover { border-color: color-mix(in srgb, var(--color-foreground) 60%, transparent); }
.theme-option-pill.is-active { background: var(--color-foreground); color: var(--color-background); border-color: var(--color-foreground); }
.theme-option-pill--color.is-active { background: color-mix(in srgb, var(--color-foreground) 5%, transparent); color: var(--color-foreground); border-color: var(--color-foreground); }
.theme-option-pill__swatch { display: inline-block; width: 0.75rem; height: 0.75rem; border-radius: 50%; border: 1px solid var(--color-border); margin-right: 0.4rem; vertical-align: middle; }

.theme-quantity-wrapper { display: inline-flex; align-items: center; border: 1px solid var(--color-border); color: var(--color-foreground); }
.theme-qty-minus, .theme-qty-plus { padding: 0.5rem 0.75rem; transition: background 0.2s ease; color: var(--color-foreground); }
.theme-qty-minus:hover, .theme-qty-plus:hover { background: var(--color-secondary); }
.theme-qty-input { width: 3rem; text-align: center; border: none; background: transparent; font-family: var(--font-body); font-size: 0.875rem; color: var(--color-foreground); -moz-appearance: textfield; }
.theme-qty-input::-webkit-outer-spin-button, .theme-qty-input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }

.theme-quantity-field { margin-bottom: 1rem; }
.theme-add-to-cart-area .theme-quantity-field { margin-bottom: 0; }

.theme-add-to-cart-area { display: flex; flex-direction: column; gap: 1rem; margin-bottom: 0.5rem; }
.theme-simple-cart-form.theme-add-to-cart-area,
.theme-variable-cart-form .theme-add-to-cart-area { margin-top: 0; }
.theme-add-to-cart-area .single_add_to_cart_button {
	flex: 1 1 auto;
	width: 100%;
	border-radius: 999px !important;
	background-color: var(--color-foreground) !important;
	color: var(--color-background) !important;
	min-height: unset !important;
	padding: 1rem !important;
	font-size: 0.75rem !important;
	letter-spacing: 0.25em !important;
	text-transform: uppercase !important;
	font-weight: 500 !important;
}
.theme-add-to-cart-area .single_add_to_cart_button:hover {
	opacity: 0.9 !important;
	background-color: color-mix(in srgb, var(--color-foreground) 90%, transparent) !important;
	color: var(--color-background) !important;
}
.btn-hero-primary, .btn-hero-outline { text-transform: none; }

.theme-accordion { margin-top: 2.5rem; border-top: 1px solid var(--color-border); }
.theme-accordion__item { border-bottom: 1px solid var(--color-border); }
.theme-accordion__trigger { width: 100%; display: flex; align-items: center; justify-content: space-between; padding: 1.25rem 0; text-align: left; }
.theme-accordion__trigger span { font-size: 13px; letter-spacing: 0.25em; text-transform: uppercase; font-family: var(--font-body); color: var(--color-foreground); }
.theme-accordion__trigger svg { transition: transform 0.2s ease; color: var(--color-foreground); }
.theme-accordion__item.is-open .theme-accordion__trigger svg { transform: rotate(180deg); }
.theme-accordion__panel { height: 0; overflow: hidden; }
.theme-accordion__item.is-open .theme-accordion__panel { height: auto; padding-bottom: 1.5rem; }
.theme-accordion__panel p, .theme-accordion__panel li { font-size: 15px; color: var(--color-muted-foreground); line-height: 1.7; font-family: var(--font-body); }
.theme-product-features__desc { margin-bottom: 1rem; white-space: pre-line; }
.theme-product-details { display: flex; flex-direction: column; gap: 0.5rem; margin: 0; padding: 0; list-style: none; }
.theme-product-details li {
	display: flex;
	align-items: flex-start;
	gap: 0.75rem;
	font-size: 15px;
	color: var(--color-muted-foreground);
	line-height: 1.7;
	font-family: var(--font-body);
}
.theme-product-details li::before {
	content: '';
	width: 0.25rem;
	height: 0.25rem;
	margin-top: 0.55rem;
	flex-shrink: 0;
	border-radius: 50%;
	background: var(--color-foreground);
}
.theme-details-heading { font-family: var(--font-body); font-weight: 600; font-size: 0.875rem; text-transform: uppercase; letter-spacing: 0.1em; margin: 1rem 0 0.5rem; }
.theme-size-table-wrap { overflow-x: auto; }
.theme-size-table { width: 100%; font-size: 14px; font-family: var(--font-body); border-collapse: collapse; }
.theme-size-table th { text-align: left; padding: 0.75rem; font-weight: 400; font-size: 12px; letter-spacing: 0.15em; text-transform: uppercase; color: var(--color-muted-foreground); background: color-mix(in srgb, var(--color-secondary) 60%, transparent); }
.theme-size-table td { padding: 0.75rem; border-top: 1px solid var(--color-border); color: var(--color-muted-foreground); }
.theme-size-table td:first-child { color: var(--color-foreground); }

.theme-related-products { padding: 5rem 0; border-top: 1px solid var(--color-border); }
.theme-related-products__head { text-align: center; margin-bottom: 3rem; }
.theme-related-products__kicker { font-family: var(--font-display); font-style: italic; font-size: 1rem; color: var(--color-muted-foreground); margin-bottom: 0.25rem; }
.theme-related-products__title { font-size: 1.875rem; text-transform: lowercase; }
@media (min-width: 768px) { .theme-related-products__title { font-size: 2.25rem; } }
.theme-related-products__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 1024px) { .theme-related-products__grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

/* variations table */
.theme-variations-table { width: 100%; margin-bottom: 0; border: none; }
.theme-variations-table .label { display: none !important; }
.theme-variations-table td.value { padding: 0; border: none; }
.single-product .variations.shop_attributes tbody,
.single-product .variations tbody tr,
.single-product .variations tbody td { display: block; width: 100%; }
.single-product .variations tbody td.label { padding-bottom: 0.25rem; }
.single-product .variations tbody td.value { padding-top: 0; }
.theme-attr-select-hidden { position: absolute !important; width: 1px !important; height: 1px !important; padding: 0 !important; margin: -1px !important; overflow: hidden !important; clip: rect(0, 0, 0, 0) !important; white-space: nowrap !important; border: 0 !important; }

/* -------------------------------------------------------------------------
   404
   ------------------------------------------------------------------------- */
.theme-404 {
	min-height: 100vh;
	display: flex;
	align-items: center;
	justify-content: center;
	background: var(--color-muted);
}
.theme-404__inner { text-align: center; padding: 2rem 1.5rem; }
.theme-404__title { font-size: 2.25rem; font-weight: 700; margin-bottom: 1rem; }
.theme-404__text { font-size: 1.25rem; color: var(--color-muted-foreground); font-family: var(--font-body); margin-bottom: 1rem; }
.theme-404__link { color: var(--color-primary); text-decoration: underline; font-family: var(--font-body); transition: color 0.2s ease; }
.theme-404__link:hover { color: color-mix(in srgb, var(--color-primary) 90%, transparent); }

/* -------------------------------------------------------------------------
   INFO PAGE
   ------------------------------------------------------------------------- */
.theme-info-page { padding-top: 6rem; }
@media (min-width: 1024px) { .theme-info-page { padding-top: 7rem; } }
.theme-info-page__inner { padding-bottom: 6rem; }
.theme-info-page__header { padding: 2.5rem 0 3.5rem; max-width: 48rem; }
.theme-info-page__header h1 { font-size: 2.25rem; line-height: 1.05; margin-bottom: 1.25rem; }
@media (min-width: 768px) { .theme-info-page__header h1 { font-size: 3rem; } }
.theme-info-page__header p { color: var(--color-muted-foreground); font-family: var(--font-body); line-height: 1.7; }
.theme-info-page__toc { display: flex; flex-wrap: wrap; gap: 0.75rem; border-top: 1px solid var(--color-border); border-bottom: 1px solid var(--color-border); padding: 1.25rem 0; margin-bottom: 3.5rem; }
.theme-info-page__toc a { font-size: 12px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--color-muted-foreground); font-family: var(--font-body); border: 1px solid var(--color-border); padding: 0.5rem 1rem; transition: color 0.2s ease; }
.theme-info-page__toc a:hover { color: var(--color-foreground); }
.theme-info-page__grid { display: grid; grid-template-columns: 1fr; gap: 3rem; }
@media (min-width: 1024px) { .theme-info-page__grid { grid-template-columns: 2fr 1fr; } }
.theme-info-page__content { display: flex; flex-direction: column; gap: 4rem; min-width: 0; }
.theme-info-section h2 { font-size: 1.5rem; margin-bottom: 1.25rem; }
@media (min-width: 768px) { .theme-info-section h2 { font-size: 1.875rem; } }
.theme-info-section p { color: var(--color-muted-foreground); font-family: var(--font-body); line-height: 1.7; margin-bottom: 1.5rem; overflow-wrap: break-word; }
.theme-info-section ul { display: flex; flex-direction: column; gap: 0.75rem; color: var(--color-muted-foreground); font-family: var(--font-body); line-height: 1.7; }
.theme-info-section ul li::before { content: '— '; }
.theme-info-page__contact-links { display: flex; flex-direction: column; gap: 1rem; margin-bottom: 2rem; }
.theme-info-page__contact-links a { display: flex; align-items: center; gap: 0.75rem; color: var(--color-muted-foreground); font-family: var(--font-body); transition: color 0.2s ease; word-break: break-all; }
.theme-info-page__contact-links a:hover { color: var(--color-foreground); }
.theme-info-page__aside-box { border: 1px solid var(--color-border); padding: 1.75rem; }
@media (min-width: 1024px) {
	.theme-info-page__aside-box { position: sticky; top: 7rem; align-self: start; }
}
.theme-info-page__size-table-wrap { overflow-x: auto; border: 1px solid var(--color-border); }
.theme-size-guide-note { font-size: 14px; color: var(--color-muted-foreground); margin-top: 1rem; font-family: var(--font-body); }
.theme-size-guide-note a { text-decoration: underline; transition: color 0.2s ease; }
.theme-size-guide-note a:hover { color: var(--color-foreground); }
.theme-info-page__aside-box p { color: var(--color-muted-foreground); font-family: var(--font-body); line-height: 1.7; margin-bottom: 1.5rem; }

/* -------------------------------------------------------------------------
   WOOCOMMERCE NOTICES — scoped visibility (Section 14.1)
   ------------------------------------------------------------------------- */
.single-product .woocommerce-message,
.single-product .woocommerce-info { display: none; }
#theme-cart-drawer .woocommerce-message { display: none; }
.woocommerce-message, .woocommerce-info, .woocommerce-error {
	font-family: var(--font-body);
	border-top-color: var(--color-primary);
	background: var(--color-secondary);
	color: var(--color-foreground);
	border-radius: var(--radius);
}

/* -------------------------------------------------------------------------
   CHECKOUT (WooCommerce Blocks) — Section 13
   ------------------------------------------------------------------------- */
body.woocommerce-checkout .site-main,
body.woocommerce-checkout .theme-page-main,
body.woocommerce-cart .site-main,
body.woocommerce-cart .theme-page-main,
body.woocommerce-account .site-main,
body.woocommerce-account .theme-page-main {
	padding-top: 6rem;
	padding-bottom: 6rem;
}
@media (min-width: 1024px) {
	body.woocommerce-checkout .site-main,
	body.woocommerce-checkout .theme-page-main,
	body.woocommerce-cart .site-main,
	body.woocommerce-cart .theme-page-main,
	body.woocommerce-account .site-main,
	body.woocommerce-account .theme-page-main {
		padding-top: 7rem;
	}
}
body.woocommerce-checkout .entry-content,
body.woocommerce-cart .entry-content,
body.woocommerce-account .entry-content {
	max-width: none;
	padding-block: 2.5rem;
}
body.woocommerce-checkout .entry-title,
body.woocommerce-checkout .page-title,
body.woocommerce-checkout .wp-block-post-title,
body.woocommerce-checkout .woocommerce > h1,
body.woocommerce-checkout .wp-block-group > h1 {
	font-family: var(--font-display) !important;
	font-weight: 700 !important;
	font-size: 1.875rem !important;
	line-height: 1.1 !important;
	text-transform: none !important;
	color: var(--color-foreground) !important;
	margin: 0 0 2.5rem !important;
	padding-top: 1rem !important;
	letter-spacing: 0.01em !important;
}
@media (min-width: 768px) {
	body.woocommerce-checkout .entry-title,
	body.woocommerce-checkout .page-title,
	body.woocommerce-checkout .wp-block-post-title,
	body.woocommerce-checkout .woocommerce > h1,
	body.woocommerce-checkout .wp-block-group > h1 {
		font-size: 2.25rem !important;
	}
}

/* Flatten nested checkout grids into one 2-column layout */
body.woocommerce-checkout .entry-content > .woocommerce,
body.woocommerce-checkout .entry-content > .wp-block-post-content {
	width: 100%;
	max-width: none;
}
body.woocommerce-checkout .wc-block-components-sidebar-layout,
body.woocommerce-checkout .wc-block-components-sidebar-layout.wc-block-checkout {
	display: contents !important;
}
body.woocommerce-checkout .wc-block-checkout {
	display: grid !important;
	grid-template-columns: 1fr !important;
	gap: var(--checkout-gap) !important;
	align-items: start;
	width: 100% !important;
	max-width: none !important;
}
@media (min-width: 768px) {
	body.woocommerce-checkout .wc-block-checkout {
		grid-template-columns: 1fr 1fr !important;
	}
}
body.woocommerce-checkout .wc-block-checkout__main,
body.woocommerce-checkout .wc-block-checkout__sidebar {
	min-width: 0;
	width: 100% !important;
	max-width: none !important;
	display: block !important;
}
body.woocommerce-checkout .wc-block-checkout__main .wc-block-components-main,
body.woocommerce-checkout .wc-block-checkout__sidebar .wc-block-components-sidebar {
	display: block !important;
	width: 100% !important;
	max-width: none !important;
}

body.woocommerce-checkout .wc-block-components-text-input input,
body.woocommerce-checkout .wc-block-components-textarea textarea,
body.woocommerce-checkout .wc-block-components-combobox input,
body.woocommerce-checkout .wc-block-components-select select,
body.woocommerce-checkout .wc-blocks-components-select .wc-blocks-components-select__select {
	width: 100% !important;
	max-width: none !important;
	font-family: var(--font-body) !important;
	font-size: 1rem !important;
	border: 1px solid var(--color-border) !important;
	border-radius: var(--radius) !important;
	background: var(--color-background) !important;
	color: var(--color-foreground) !important;
	box-shadow: none !important;
}
body.woocommerce-checkout .wc-blocks-components-select,
body.woocommerce-checkout .wc-blocks-components-select .wc-blocks-components-select__container {
	width: 100% !important;
	max-width: none !important;
	background: transparent !important;
}
body.woocommerce-checkout .wc-block-components-text-input input::placeholder,
body.woocommerce-checkout .wc-block-components-textarea textarea::placeholder {
	color: var(--color-muted-foreground) !important;
	opacity: 1 !important;
}
body.woocommerce-checkout .wc-block-components-text-input input:focus,
body.woocommerce-checkout .wc-block-components-textarea textarea:focus,
body.woocommerce-checkout .wc-block-components-combobox input:focus,
body.woocommerce-checkout .wc-block-components-select select:focus,
body.woocommerce-checkout .wc-blocks-components-select .wc-blocks-components-select__select:focus {
	outline: none !important;
	box-shadow: 0 0 0 1px var(--color-primary) !important;
	border-color: var(--color-border) !important;
}
body.woocommerce-checkout .wc-block-components-text-input label,
body.woocommerce-checkout .wc-block-components-select label,
body.woocommerce-checkout .wc-blocks-components-select label {
	font-family: var(--font-body) !important;
	color: var(--color-foreground) !important;
}
body.woocommerce-checkout .wc-block-components-checkout-place-order-button {
	background: var(--color-primary) !important;
	color: var(--color-button-text) !important;
	border-radius: var(--btn-radius);
	font-family: var(--font-body);
	text-transform: none;
}
body.woocommerce-checkout .wc-block-checkout__sidebar {
	background-color: color-mix(in srgb, var(--color-secondary) 60%, transparent);
	border-radius: var(--card-radius);
	padding: var(--section-padding);
}

/* -------------------------------------------------------------------------
   THANK YOU PAGE — Section 22.8
   ------------------------------------------------------------------------- */
body.theme-thankyou-page { overflow-x: hidden; }
body.theme-thankyou-page .woocommerce-order,
body.theme-thankyou-page .woocommerce-order-overview,
body.theme-thankyou-page .woocommerce-customer-details,
body.theme-thankyou-page .woocommerce-order-details {
	font-family: var(--font-body);
}
body.theme-thankyou-page .woocommerce-order h2 {
	font-family: var(--font-display);
	font-size: 1.5rem;
	padding: 0 0 1rem 0;
}
body.theme-thankyou-page .woocommerce-order-overview {
	display: flex;
	flex-wrap: wrap;
	gap: 1rem;
	list-style: none;
	padding: 0;
	margin: 1.5rem 0;
}
body.theme-thankyou-page .woocommerce-order-details table {
	width: 100%;
	table-layout: fixed;
	border-collapse: collapse;
}
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-order-details table td,
body.theme-thankyou-page .woocommerce-order-details table th {
	padding: 0.6rem;
	border-bottom: 1px solid var(--color-border);
}
@media (min-width: 768px) {
	body.theme-thankyou-page .woocommerce-customer-details {
		display: grid;
		grid-template-columns: 1fr 1fr;
		gap: 2rem;
		align-items: start;
	}
}
body.theme-thankyou-page .woocommerce-customer-details address { min-width: 0; overflow-wrap: break-word; }

/* -------------------------------------------------------------------------
   MEDIA CONTROL (Customizer admin) — Section 22.3.8
   ------------------------------------------------------------------------- */
.theme-media-control { display: flex; flex-direction: column; gap: 0.5rem; }
.theme-media-url-input { width: 100%; min-width: 0; box-sizing: border-box; }
.theme-media-preview { max-width: 100%; height: auto; display: block; }
