/* =====================================================================
   Forever in Bloom — theme.css
   All visual styling lives here (Section 10). No CSS in WooCommerce
   template files except the mandatory overrides noted per-section.
   ===================================================================== */

/* ---------------------------------------------------------------------
 * 0. Design tokens (fallback :root — live values are re-emitted inline
 *    by wp_add_inline_style from Customizer settings, Section 6.1/22.9)
 * ------------------------------------------------------------------- */
:root {
	--color-background: #f8f6f1;
	--color-foreground: #1d2326;
	--color-primary: #147c85;
	--color-primary-foreground: #faf8f4;
	--color-secondary: #efeae1;
	--color-muted: #ece7df;
	--color-muted-foreground: #596369;
	--color-accent: #15545b;
	--color-accent-foreground: #faf8f4;
	--color-border: #e0dad1;
	--color-brand-start: #2bacb6;
	--color-brand-mid: #147c85;
	--color-brand-end: #104f56;
	--color-button-text: var(--color-primary-foreground);
	--color-destructive: #ca2b2b;

	--font-display: 'Fraunces', 'Georgia', serif;
	--font-body: 'Karla', 'Helvetica Neue', sans-serif;
	--font-script: 'Dancing Script', 'Segoe Script', cursive;
	--font-condensed: 'Karla', 'Helvetica Neue', sans-serif;

	--leading-snug: 1.375;
	--leading-relaxed: 1.625;

	--radius: 0.5rem;
	--card-radius: 0.5rem;
	--section-padding: 2rem;
	--header-height: 88px;
	--announcement-height: 36px;
	--logo-height: 58px;
	--checkout-gap: 1.5rem;
	--checkout-max-width: 80rem;
	--checkout-sidebar-min: 360px;
	--checkout-sidebar-max: 400px;

	--btn-radius: 6px;
	--btn-height: 3.5rem;
	--btn-padding: 0 2.25rem;
	--btn-font-size: 0.75rem;
	--btn-font-size-sm: 0.875rem;
	--btn-font-size-compact: 0.75rem;
	--btn-font-weight: 700;
	--btn-letter-spacing: 0.18em;
	--btn-letter-spacing-tight: 0.16em;
	--btn-letter-spacing-wide: 0.2em;
	--btn-letter-spacing-cart: 0.28em;
	--btn-text-transform: uppercase;
	--btn-icon-padding: 0.6rem;

	--shadow-soft: 0 8px 28px -12px rgba(29, 35, 38, 0.2);
	--shadow-elevated: 0 18px 48px -16px rgba(29, 35, 38, 0.28);
	--gradient-brand: linear-gradient(135deg, var(--color-brand-start) 0%, var(--color-brand-mid) 55%, var(--color-brand-end) 100%);
	--transition-smooth: cubic-bezier(0.25, 0.4, 0.25, 1);

	/* WordPress admin bar offset (logged-in users / customizer preview) */
	--wp-admin-bar-height: 0px;
}

body.admin-bar {
	--wp-admin-bar-height: 32px;
}
@media screen and (max-width: 782px) {
	body.admin-bar {
		--wp-admin-bar-height: 46px;
	}
}

/* ---------------------------------------------------------------------
 * 1. Reset / base
 * ------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html, body { overflow-x: clip; max-width: 100%; }
html { background-color: var(--color-background); scroll-behavior: smooth; }
body {
	margin: 0;
	color: var(--color-foreground);
	background-color: var(--color-background);
	font-family: var(--font-body);
	font-weight: 400;
	font-size: 1rem;
	line-height: 1.5;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}
img { max-width: 100%; height: auto; display: block; }
img:not(.cover-img):not(.hero-carousel__slide):not(.theme-product-card__image):not(.category-tile__image):not(.promo-banner__image):not(.twoup-banner__image):not(.brand-story__image):not(.contact-band__bg):not(.about-section__image):not(.theme-product-main-image) {
	max-width: 100%;
	height: auto;
}
.cover-img, .hero-carousel__slide, .theme-product-card__image, .category-tile__image,
.promo-banner__image, .twoup-banner__image, .brand-story__image, .contact-band__bg,
.about-section__image {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
}
a { color: inherit; text-decoration: none; cursor: pointer; }
button { font-family: inherit; cursor: pointer; background: none; border: none; }
button:disabled, [disabled] { cursor: not-allowed; }
label[for], summary, [role="button"], .theme-anchor-link, .theme-nav-link, .theme-nav-dropdown-link,
.theme-icon-btn, .theme-dropdown__trigger, .theme-dropdown__option, .category-tile, .theme-cat-filter-btn,
.caption-strip__cta, .faq-item__question, .theme-announcement__close, .theme-hamburger,
.mobile-menu__action, .theme-cart-drawer__close, .theme-product-card, .promo-banner {
	cursor: pointer;
}
ul { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4, h5, h6 {
	font-family: var(--font-display);
	font-weight: 600;
	line-height: 1.15;
	letter-spacing: -0.015em;
	text-wrap: balance;
	margin: 0;
}
p, li { text-wrap: pretty; }
p { margin: 0; }
input, textarea, select { font-family: var(--font-body); font-size: 0.875rem; }

.container-wide { width: 100%; max-width: 80rem; margin: 0 auto; padding-inline: 1.5rem; }
.container-editorial { width: 100%; max-width: 64rem; margin: 0 auto; padding-inline: 1.5rem; }
@media (min-width: 1024px) {
	.container-wide, .container-editorial { padding-inline: 2.5rem; }
}

.label-eyebrow {
	font-family: var(--font-body);
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.28em;
	text-transform: uppercase;
	color: var(--color-primary);
}
.heading-script {
	font-family: var(--font-script);
	font-weight: 600;
	letter-spacing: 0.005em;
	font-optical-sizing: auto;
	font-style: normal;
	text-transform: none;
	font-size: 1.18em;
	line-height: 0.9;
}
.hero-carousel__title .heading-script,
.category-tiles__heading .heading-script,
.promo-banner__heading .heading-script,
.featured-section .heading-script,
.custom-order__heading .heading-script,
.brand-story__heading .heading-script {
	font-weight: 400;
}
.section-heading {
	font-family: var(--font-display);
	font-weight: 600;
}
.bg-brand { background: var(--gradient-brand); }
.scroll-mt-24 { scroll-margin-top: 6rem; }
.scroll-mt-28 { scroll-margin-top: 7rem; }

/* ---------------------------------------------------------------------
 * 2. Buttons
 * ------------------------------------------------------------------- */
.btn-cta, .btn-cta-outline, .theme-btn-primary, .theme-btn-outline {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.5rem;
	height: var(--btn-height);
	padding: var(--btn-padding);
	border-radius: var(--btn-radius);
	font-family: var(--font-body);
	font-size: var(--btn-font-size);
	font-weight: var(--btn-font-weight);
	letter-spacing: var(--btn-letter-spacing);
	text-transform: var(--btn-text-transform);
	transition: all 0.3s var(--transition-smooth);
	white-space: nowrap;
}
.btn-cta, .theme-btn-primary {
	background: var(--gradient-brand);
	color: var(--color-primary-foreground);
	border: 1px solid transparent;
}
.btn-cta:hover, .theme-btn-primary:hover {
	filter: brightness(1.1);
	box-shadow: 0 10px 24px -12px color-mix(in srgb, var(--color-primary) 60%, transparent);
}
.btn-cta-outline, .theme-btn-outline {
	background-color: transparent;
	color: var(--color-foreground);
	border: 1px solid color-mix(in srgb, var(--color-foreground) 30%, transparent);
}
.btn-cta-outline { color: var(--color-background); border-color: color-mix(in srgb, var(--color-background) 70%, transparent); }
.btn-cta-outline:hover { background-color: var(--color-background); color: var(--color-foreground); }
.theme-btn-outline:hover { background-color: var(--color-primary); color: var(--color-primary-foreground); border-color: var(--color-primary); }

.hero-carousel__ctas .btn-cta,
.hero-carousel__ctas .btn-cta-outline,
.promo-banner__cta.btn-cta,
.shop-empty-state .btn-cta,
.twoup-banner__cta.btn-cta,
.faq-section__sidebar-inner .btn-cta {
	font-size: var(--btn-font-size-compact);
	letter-spacing: var(--btn-letter-spacing);
	text-transform: uppercase;
	font-weight: 700;
}
.faq-section__sidebar-inner .btn-cta {
	letter-spacing: var(--btn-letter-spacing-tight);
}
.custom-order-form__submit {
	font-size: var(--btn-font-size-compact);
	letter-spacing: var(--btn-letter-spacing-wide);
	text-transform: uppercase;
	font-weight: 700;
}
.contact-band__cta {
	font-size: var(--btn-font-size-sm);
	letter-spacing: 0.14em;
}
.contact-band__cta.btn-cta-outline {
	font-size: var(--btn-font-size-sm);
}

.theme-icon-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	padding: 0.5rem;
	border-radius: 999px;
	color: inherit;
	position: relative;
	transition: opacity 0.3s ease;
}
.theme-icon-btn:hover { opacity: 0.7; }

/* ---------------------------------------------------------------------
 * 3. Animations
 * ------------------------------------------------------------------- */
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes slideUp { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: translateY(0); } }
@keyframes marquee-scroll { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }
.animate-fade-in { animation: fadeIn 0.8s var(--transition-smooth) forwards; }
.animate-slide-up { animation: slideUp 0.8s var(--transition-smooth) forwards; }

.reveal-item {
	opacity: 0;
	transform: translateY(28px);
	transition: opacity 0.7s var(--transition-smooth), transform 0.7s var(--transition-smooth);
}
.reveal-item.is-visible { opacity: 1; transform: translateY(0); }
body.is-customizer .reveal-item,
body.is-customizer .reveal-item.is-visible {
	opacity: 1 !important;
	transform: none !important;
	transition: none !important;
}
@media (prefers-reduced-motion: reduce) {
	.reveal-item { opacity: 1; transform: none; transition: none; }
	.hero-carousel__slide, .marquee-band__track { transition: none !important; animation: none !important; }
}

.site-scroll-progress {
	position: fixed;
	top: var(--wp-admin-bar-height, 0px); left: 0; right: 0;
	height: 2px;
	background: var(--color-primary);
	transform: scaleX(0);
	transform-origin: 0% 50%;
	z-index: 70;
	pointer-events: none;
	transition: background-color 0.3s ease;
}
body.theme-modal-open .site-scroll-progress,
body.cart-open .site-scroll-progress { background: var(--color-primary-foreground); }

/* ---------------------------------------------------------------------
 * 4. Announcement bar + Header
 * ------------------------------------------------------------------- */
.theme-announcement {
	position: fixed;
	top: var(--wp-admin-bar-height, 0px); left: 0; right: 0;
	z-index: 60;
	background: var(--color-foreground);
	color: var(--color-background);
}
.theme-announcement__inner {
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 32px;
	padding-block: 6px;
	position: relative;
}
.theme-announcement__text {
	font-size: 10px;
	letter-spacing: 0.36em;
	text-transform: uppercase;
	font-weight: 600;
	text-align: center;
}
.theme-announcement__close {
	position: absolute;
	right: 8px;
	color: inherit;
	padding: 4px;
	opacity: 0.85;
}
.theme-announcement__close:hover { opacity: 0.6; }

.site-header {
	position: fixed;
	left: 0; right: 0;
	top: calc(var(--wp-admin-bar-height, 0px) + var(--announcement-height, 0px));
	z-index: 50;
}
.site-header__shell {
	position: relative;
	width: 100%;
	background-color: transparent;
	border-bottom: 1px solid transparent;
	color: var(--color-background);
	transition: background-color 0.5s var(--transition-smooth), border-color 0.5s var(--transition-smooth), box-shadow 0.5s var(--transition-smooth), color 0.5s var(--transition-smooth);
}
.site-header.is-solid .site-header__shell,
.site-header.is-shadow .site-header__shell,
body.home .site-header:not(.is-solid):not(.is-shadow).is-nav-open .site-header__shell,
body.home .site-header:not(.is-solid):not(.is-shadow) .site-header__shell:has(.site-nav__links :hover) {
	background-color: color-mix(in srgb, var(--color-background) 95%, transparent);
	backdrop-filter: blur(12px);
	border-color: var(--color-border);
	color: var(--color-foreground);
}
.site-header.is-shadow .site-header__shell { box-shadow: var(--shadow-soft); }
.site-header__bg {
	position: absolute;
	left: 0; right: 0; top: 0;
	height: 180%;
	background: linear-gradient(to bottom, rgba(0,0,0,0.45), rgba(0,0,0,0.2) 50%, transparent);
	pointer-events: none;
	opacity: 1;
	transition: opacity 0.5s var(--transition-smooth);
}
.site-header.is-solid .site-header__bg,
body.home .site-header:not(.is-solid):not(.is-shadow).is-nav-open .site-header__bg,
body.home .site-header:not(.is-solid):not(.is-shadow) .site-header__shell:has(.site-nav__links :hover) .site-header__bg {
	opacity: 0;
}
/* Mobile: solid header on home (Lovable transparent hero header is desktop-only). */
@media (max-width: 767px) {
	body.home .site-header:not(.is-shadow) .site-header__shell {
		background-color: color-mix(in srgb, var(--color-background) 95%, transparent);
		backdrop-filter: blur(12px);
		border-color: var(--color-border);
		color: var(--color-foreground);
	}
	body.home .site-header .site-header__bg {
		opacity: 0;
	}
}

.site-nav {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: space-between;
	height: 80px;
	transition: height 0.5s var(--transition-smooth);
}
@media (min-width: 1024px) { .site-nav { height: 96px; } }
.site-header.is-shadow .site-nav { height: 72px; }

.site-nav__mobile-toggle { display: flex; align-items: center; flex: 1; }
@media (min-width: 768px) { .site-nav__mobile-toggle { display: none; } }
.theme-hamburger { padding: 0.5rem; display: flex; flex-direction: column; align-items: flex-start; justify-content: center; gap: 5px; }
.theme-hamburger__bar { display: block; height: 2.5px; border-radius: 1px; background: currentColor; transition: all 0.3s ease-out; transform-origin: center; width: 20px; }
.theme-hamburger__bar--mid { width: 28px; }
.theme-hamburger__bar--bottom { width: 14px; }
.theme-hamburger:not(.is-active):hover .theme-hamburger__bar--bottom { width: 24px; }
.theme-hamburger.is-active .theme-hamburger__bar--top { width: 28px; transform: translateY(7.5px) rotate(45deg); }
.theme-hamburger.is-active .theme-hamburger__bar--mid { opacity: 0; transform: scaleX(0); }
.theme-hamburger.is-active .theme-hamburger__bar--bottom { width: 28px; transform: translateY(-7.5px) rotate(-45deg); }

.site-nav__logo { display: flex; align-items: center; position: absolute; left: 50%; transform: translateX(-50%); z-index: 1; }
@media (min-width: 768px) { .site-nav__logo { position: static; flex: 1; justify-content: flex-start; transform: none; z-index: auto; } }
@media (max-width: 767px) {
	.site-nav__logo .site-logo-badge {
		padding: 0;
		background: transparent;
		box-shadow: none;
		transform: none;
		backdrop-filter: none;
		border-radius: 0;
	}
	.site-nav__logo .site-logo-img {
		height: 48px !important;
	}
	.site-header.is-shadow .site-nav__logo .site-logo-img {
		height: 40px !important;
	}
}
.site-logo-badge {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	transition: transform 0.5s var(--transition-smooth), background-color 0.5s var(--transition-smooth), box-shadow 0.5s var(--transition-smooth), padding 0.5s var(--transition-smooth);
}
@media (min-width: 768px) {
	body.home .site-header:not(.is-solid):not(.is-shadow):not(.is-nav-open) .site-header__shell:not(:has(.site-nav__links :hover)) .site-logo-badge {
		border-radius: 0.5rem;
		background: color-mix(in srgb, var(--color-background) 95%, transparent);
		box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1), 0 0 0 1px rgba(255, 255, 255, 0.4);
		backdrop-filter: blur(4px);
		padding: 0.5rem 1rem;
		transform: translateY(0.25rem);
	}
	body.home .site-header:not(.is-solid):not(.is-shadow):not(.is-nav-open) .site-header__shell:not(:has(.site-nav__links :hover)) .site-logo-badge .site-logo-img {
		height: 46px !important;
	}
}
@media (min-width: 1024px) {
	body.home .site-header:not(.is-solid):not(.is-shadow):not(.is-nav-open) .site-header__shell:not(:has(.site-nav__links :hover)) .site-logo-badge {
		transform: translateY(0.5rem);
	}
	body.home .site-header:not(.is-solid):not(.is-shadow):not(.is-nav-open) .site-header__shell:not(:has(.site-nav__links :hover)) .site-logo-badge .site-logo-img {
		height: 54px !important;
	}
}
body.home .site-header:not(.is-solid):not(.is-shadow) .site-header__shell:has(.site-nav__links :hover) .site-logo-badge,
body.home .site-header:not(.is-solid):not(.is-shadow).is-nav-open .site-logo-badge {
	padding: 0;
	background: transparent;
	box-shadow: none;
	transform: none;
	backdrop-filter: none;
	border-radius: 0;
}
body.home .site-header:not(.is-solid):not(.is-shadow) .site-header__shell:has(.site-nav__links :hover) .site-logo-badge .site-logo-img,
body.home .site-header:not(.is-solid):not(.is-shadow).is-nav-open .site-logo-badge .site-logo-img {
	height: 48px !important;
}
@media (min-width: 1024px) {
	body.home .site-header:not(.is-solid):not(.is-shadow) .site-header__shell:has(.site-nav__links :hover) .site-logo-badge .site-logo-img,
	body.home .site-header:not(.is-solid):not(.is-shadow).is-nav-open .site-logo-badge .site-logo-img {
		height: var(--logo-height) !important;
	}
}
.site-logo-img { height: var(--logo-height) !important; width: auto !important; display: block; transition: height 0.5s var(--transition-smooth); }
.site-header.is-shadow .site-logo-img { height: calc(var(--logo-height) * 0.75) !important; }
.site-header.is-solid .site-logo-badge .site-logo-img,
.site-header.is-shadow .site-logo-badge .site-logo-img {
	height: 48px !important;
}
@media (min-width: 1024px) {
	.site-header.is-solid:not(.is-shadow) .site-logo-badge .site-logo-img {
		height: var(--logo-height) !important;
	}
}
.site-logo-text { font-family: var(--font-display); font-weight: 600; font-size: 1.5rem; display: block; }

.site-nav__links { display: none; align-items: center; gap: 1.25rem; justify-content: center; }
@media (min-width: 768px) { .site-nav__links { display: flex; } }
@media (min-width: 1024px) { .site-nav__links { gap: 2.25rem; } }
.theme-nav-list { display: flex; align-items: center; gap: inherit; }
.theme-nav-item { position: relative; }
.theme-nav-link {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	font-size: 13px;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	font-weight: 700;
	color: inherit;
	transition: color 0.3s ease;
}
.site-header.is-solid .theme-nav-link:hover,
.site-header.is-shadow .theme-nav-link:hover,
body.home .site-header.is-nav-open:not(.is-solid):not(.is-shadow) .theme-nav-link:hover,
body.home .site-header:not(.is-solid):not(.is-shadow) .site-header__shell:has(.site-nav__links :hover) .theme-nav-link:hover,
body.home .site-header.is-nav-open:not(.is-solid):not(.is-shadow) .theme-nav-item.is-open > .theme-nav-link {
	color: var(--color-primary);
}
.theme-nav-caret { transition: transform 0.2s ease; }
.theme-nav-item.is-open .theme-nav-caret { transform: rotate(180deg); }
.theme-nav-dropdown {
	position: absolute;
	left: 50%;
	transform: translateX(-50%);
	top: 100%;
	margin-top: 0.75rem;
	width: 224px;
	padding: 0.5rem 0;
	background: color-mix(in srgb, var(--color-background) 95%, transparent);
	backdrop-filter: blur(12px);
	border: 1px solid var(--color-border);
	border-radius: 12px;
	box-shadow: var(--shadow-elevated);
	opacity: 0;
	visibility: hidden;
	transform: translateX(-50%) translateY(6px);
	transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
	z-index: 20;
}
.theme-nav-item.is-open .theme-nav-dropdown { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0); }
.theme-nav-dropdown-link { display: block; width: 100%; text-align: left; padding: 10px 20px; font-size: 0.875rem; color: color-mix(in srgb, var(--color-foreground) 80%, transparent); transition: color 0.2s ease, background-color 0.2s ease; }
.theme-nav-dropdown-link:hover { color: var(--color-primary); background: color-mix(in srgb, var(--color-primary) 5%, transparent); }

.site-nav__actions { display: flex; align-items: center; justify-content: flex-end; flex: 1; gap: 2px; }
.theme-cart-btn { position: relative; }
.theme-cart-count {
	position: absolute;
	top: -2px; right: -2px;
	width: 20px; height: 20px;
	display: flex; align-items: center; justify-content: center;
	font-size: 10px; font-weight: 600;
	background: var(--color-accent);
	color: var(--color-accent-foreground);
	border-radius: 999px;
}
.theme-cart-count:empty { display: none; }

.mobile-menu {
	display: none;
	position: absolute;
	top: 100%; left: 0; right: 0;
	background: color-mix(in srgb, var(--color-background) 95%, transparent);
	backdrop-filter: blur(12px);
	border-bottom: 1px solid var(--color-border);
	box-shadow: var(--shadow-elevated);
	animation: fadeIn 0.35s var(--transition-smooth) forwards;
}
.mobile-menu.is-open { display: block; }
.mobile-menu__nav { padding-block: 1rem; }
.mobile-menu__footer {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 8px;
	padding: 0.75rem 4px;
	border-top: 1px solid color-mix(in srgb, var(--color-border) 60%, transparent);
}
.mobile-nav-list { display: flex; flex-direction: column; }
.mobile-nav-item { border-bottom: 1px solid color-mix(in srgb, var(--color-border) 40%, transparent); }
.mobile-nav-item:last-child { border-bottom: 0; }
.mobile-nav__toggle,
.mobile-nav__link,
.mobile-nav-list > li > a {
	display: flex;
	align-items: center;
	justify-content: space-between;
	width: 100%;
	padding: 12px 4px;
	text-align: left;
	font-family: var(--font-display);
	font-size: 1.125rem;
	line-height: 1.25;
	color: var(--color-foreground);
	background: transparent;
	border: 0;
}
.mobile-nav__caret {
	flex-shrink: 0;
	transition: transform 0.3s ease;
}
.mobile-nav-item.is-open .mobile-nav__caret,
.mobile-nav-list > li.is-open > a .theme-nav-caret {
	transform: rotate(180deg);
}
.mobile-nav__panel,
.mobile-nav-list .theme-nav-dropdown,
.mobile-nav-list .sub-menu {
	display: none;
	padding: 0 4px 8px;
}
.mobile-nav-item.is-open .mobile-nav__panel,
.mobile-nav-list > li.is-open > .theme-nav-dropdown,
.mobile-nav-list > li.is-open > .sub-menu {
	display: block;
	animation: fadeIn 0.25s var(--transition-smooth) forwards;
}
.mobile-nav__submenu { display: flex; flex-direction: column; }
.mobile-nav__sublink,
.mobile-nav-list .theme-nav-dropdown-link,
.mobile-nav-list .sub-menu a {
	display: block;
	width: 100%;
	padding: 8px 4px;
	text-align: left;
	font-family: var(--font-body);
	font-size: 0.875rem;
	line-height: var(--leading-snug);
	color: var(--color-muted-foreground);
	background: transparent;
	border: 0;
	transition: color 0.2s ease;
}
.mobile-nav__sublink:hover,
.mobile-nav-list .theme-nav-dropdown-link:hover,
.mobile-nav-list .sub-menu a:hover {
	color: var(--color-primary);
}
.mobile-menu__action {
	display: flex; align-items: center; justify-content: center; gap: 8px;
	padding: 12px; border: 1px solid var(--color-border);
	font-family: var(--font-body);
	font-size: 12px; letter-spacing: 0.24em; text-transform: uppercase; font-weight: 400;
	transition: background-color 0.2s ease, color 0.2s ease, opacity 0.2s ease;
}
.mobile-menu__action:hover { background: var(--color-primary); color: var(--color-primary-foreground); }
.mobile-menu__action--cart { grid-column: 1 / -1; background: var(--gradient-brand); color: var(--color-primary-foreground); border: none; }
.mobile-menu__action--cart:hover { opacity: 0.9; background: var(--gradient-brand); color: var(--color-primary-foreground); }

/* ---------------------------------------------------------------------
 * 5. Hero carousel
 * ------------------------------------------------------------------- */
.hero-carousel { position: relative; width: 100%; height: 100svh; overflow: hidden; }
.hero-carousel__slides { position: absolute; inset: 0; }
.hero-carousel__slide {
	position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
	opacity: 0; transform: scale(1.04);
	transition: opacity 1.4s var(--transition-smooth), transform 1.4s var(--transition-smooth);
}
.hero-carousel__slide.is-active { opacity: 1; transform: scale(1); z-index: 1; }
.hero-carousel__gradient {
	position: absolute; inset: 0;
	background: linear-gradient(to top, color-mix(in srgb, var(--color-foreground) 70%, transparent), color-mix(in srgb, var(--color-foreground) 20%, transparent) 55%, color-mix(in srgb, var(--color-foreground) 25%, transparent));
	z-index: 2;
}
.hero-carousel__content { position: absolute; inset-inline: 0; bottom: 0; z-index: 3; padding-bottom: 3.5rem; }
@media (min-width: 768px) { .hero-carousel__content { padding-bottom: 4rem; } }
.hero-carousel__content-inner { display: flex; flex-direction: column; gap: 1.25rem; }
@media (min-width: 768px) { .hero-carousel__content-inner { flex-direction: row; align-items: flex-end; justify-content: space-between; gap: 1.5rem; } }
.hero-carousel__title {
	font-family: var(--font-display); font-weight: 600; color: var(--color-background);
	font-size: 1.875rem; line-height: 1.02; letter-spacing: -0.02em; max-width: 48rem;
}
@media (min-width: 640px) { .hero-carousel__title { font-size: 2.25rem; } }
@media (min-width: 768px) { .hero-carousel__title { font-size: 3rem; } }
@media (min-width: 1024px) { .hero-carousel__title { font-size: 3.75rem; } }
@media (min-width: 1280px) { .hero-carousel__title { font-size: 4.5rem; } }
.hero-carousel__ctas { display: flex; flex-direction: column; gap: 0.75rem; flex-shrink: 0; align-self: flex-start; }
@media (min-width: 640px) { .hero-carousel__ctas { flex-direction: row; } }
@media (min-width: 768px) { .hero-carousel__ctas { align-self: auto; } }
.hero-carousel__dots { position: absolute; bottom: 2rem; left: 50%; transform: translateX(-50%); z-index: 4; display: flex; gap: 8px; }
.hero-carousel__dot { height: 8px; width: 8px; border-radius: 999px; background: color-mix(in srgb, var(--color-background) 50%, transparent); transition: all 0.5s ease; }
.hero-carousel__dot.is-active { width: 40px; background: var(--color-background); }

/* ---------------------------------------------------------------------
 * 6. Caption strip
 * ------------------------------------------------------------------- */
.caption-strip { border-bottom: 1px solid var(--color-border); background: color-mix(in srgb, var(--color-secondary) 70%, transparent); }
.caption-strip__inner { padding-block: 2rem; display: flex; flex-direction: column; gap: 1rem; }
@media (min-width: 768px) { .caption-strip__inner { flex-direction: row; align-items: center; justify-content: space-between; } }
.caption-strip__inner .label-eyebrow { flex-shrink: 0; }
.caption-strip__heading {
	font-family: var(--font-display);
	font-size: 1.25rem;
	line-height: var(--leading-snug);
	color: var(--color-foreground);
	font-weight: 600;
	text-wrap: wrap;
}
@media (min-width: 768px) {
	.caption-strip__heading {
		font-size: 1.5rem;
		flex: 1;
		min-width: 0;
	}
}
.caption-strip__cta { flex-shrink: 0; display: inline-flex; align-items: center; gap: 0.5rem; font-size: 0.75rem; letter-spacing: 0.18em; text-transform: uppercase; font-weight: 700; color: var(--color-primary); transition: color 0.2s ease; }
.caption-strip__cta:hover { color: var(--color-accent); }
.caption-strip__cta svg { transition: transform 0.2s ease; }
.caption-strip__cta:hover svg { transform: translateX(4px); }

/* ---------------------------------------------------------------------
 * 7. Category tiles
 * ------------------------------------------------------------------- */
.category-tiles-section { padding: 4rem 0 3rem; }
@media (min-width: 1024px) { .category-tiles-section { padding: 5rem 0 4rem; } }
.category-tiles__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 1rem; margin-bottom: 2rem; }
.category-tiles__heading { font-family: var(--font-display); font-weight: 600; font-size: 1.5rem; letter-spacing: -0.02em; }
@media (min-width: 768px) { .category-tiles__heading { font-size: 1.875rem; } }
.category-tiles__clear { font-size: 0.75rem; letter-spacing: 0.18em; text-transform: uppercase; font-weight: 700; color: var(--color-primary); }
.category-tiles__clear:hover { opacity: 0.7; }
.category-tiles__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.75rem; }
@media (min-width: 768px) { .category-tiles__grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; } }
.category-tile { position: relative; aspect-ratio: 3 / 4; overflow: hidden; border-radius: 8px; background: var(--color-secondary); display: block; width: 100%; text-align: left; }
.category-tile.is-active { outline: 2px solid var(--color-primary); outline-offset: 2px; }
.category-tile__image { transition: transform 1.2s ease-out; }
.category-tile:hover .category-tile__image { transform: scale(1.05); }
.category-tile__gradient { position: absolute; inset: 0; background: linear-gradient(to top, color-mix(in srgb, var(--color-foreground) 65%, transparent), color-mix(in srgb, var(--color-foreground) 10%, transparent) 60%, color-mix(in srgb, var(--color-foreground) 10%, transparent)); pointer-events: none; }
.category-tile__label { position: absolute; bottom: 1rem; left: 1rem; font-family: var(--font-display); font-weight: 600; color: var(--color-background); font-size: 1rem; letter-spacing: 0.025em; }
@media (min-width: 768px) { .category-tile__label { font-size: 1.125rem; } }
.category-tile__arrow { position: absolute; bottom: 1rem; right: 1rem; width: 32px; height: 32px; border-radius: 999px; background: var(--color-background); color: var(--color-primary); display: flex; align-items: center; justify-content: center; transition: transform 0.3s ease; }
.category-tile:hover .category-tile__arrow { transform: translateX(4px); }

/* ---------------------------------------------------------------------
 * 8. Promo banner
 * ------------------------------------------------------------------- */
.promo-banner-section { padding-bottom: 1rem; }
.promo-banner { position: relative; display: block; width: 100%; height: 55vh; overflow: hidden; border-radius: 8px; text-align: left; }
@media (min-width: 768px) { .promo-banner { height: 65vh; } }
.promo-banner__image { transition: transform 1.2s ease-out; }
.promo-banner:hover .promo-banner__image { transform: scale(1.04); }
.promo-banner__gradient { position: absolute; inset: 0; background: linear-gradient(to top, color-mix(in srgb, var(--color-foreground) 65%, transparent), color-mix(in srgb, var(--color-foreground) 15%, transparent) 55%, color-mix(in srgb, var(--color-foreground) 10%, transparent)); }
.promo-banner__content { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: flex-end; padding: 1.5rem; }
@media (min-width: 640px) { .promo-banner__content { padding: 2rem; } }
@media (min-width: 768px) { .promo-banner__content { padding: 3.5rem; } }
.promo-banner__heading { font-family: var(--font-display); font-weight: 600; color: var(--color-background); font-size: 1.5rem; line-height: 1.05; letter-spacing: -0.02em; max-width: 36rem; }
@media (min-width: 640px) { .promo-banner__heading { font-size: 1.875rem; } }
@media (min-width: 768px) { .promo-banner__heading { font-size: 3rem; } }
@media (min-width: 1024px) { .promo-banner__heading { font-size: 3.75rem; } }
.promo-banner__cta { margin-top: 1rem; align-self: flex-start; display: inline-flex; }
@media (min-width: 768px) { .promo-banner__cta { margin-top: 0; position: absolute; bottom: 2rem; right: 2rem; height: 3rem; } }
@media (min-width: 1024px) { .promo-banner__cta { bottom: 3.5rem; right: 3.5rem; } }
.promo-banner:hover .promo-banner__cta { transform: translateX(4px); }

/* ---------------------------------------------------------------------
 * 9. Product grid + cards (shared everywhere — Section 31.13)
 * ------------------------------------------------------------------- */
.featured-section { padding: 4rem 0; }
@media (min-width: 1024px) { .featured-section { padding: 5rem 0; } }
.featured-section__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 1rem; margin-bottom: 2.5rem; }
.featured-section .section-heading { font-family: var(--font-display); font-weight: 600; font-size: 1.5rem; letter-spacing: -0.02em; }
@media (min-width: 768px) { .featured-section .section-heading { font-size: 1.875rem; } }

.theme-product-grid {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: 1.5rem;
	align-items: stretch;
}
@media (min-width: 640px) {
	.theme-product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 1024px) {
	.theme-product-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2rem; }
}
.theme-featured-products .theme-product-grid,
.theme-product-grid--3up {
	grid-template-columns: minmax(0, 1fr);
}
@media (min-width: 640px) {
	.theme-featured-products .theme-product-grid,
	.theme-product-grid--3up { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 1024px) {
	.theme-featured-products .theme-product-grid,
	.theme-product-grid--3up { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2rem; }
}

.theme-product-card-wrap { display: flex; height: 100%; }
.theme-product-card {
	position: relative;
	display: flex;
	flex-direction: column;
	height: 100%;
	width: 100%;
}
.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__image-wrapper {
	position: relative;
	aspect-ratio: 1 / 1;
	overflow: hidden;
	background: var(--color-muted);
	border-radius: 4px;
}
.theme-product-card__image { transition: transform 0.7s ease; }
.theme-product-card:hover .theme-product-card__image { transform: scale(1.03); }
.theme-product-card__badge {
	position: absolute; top: 0.75rem; left: 0.75rem;
	padding: 4px 10px; font-size: 10px; letter-spacing: 0.28em; text-transform: uppercase; font-weight: 600;
	background: var(--color-foreground); color: var(--color-background); z-index: 3;
}
.theme-product-card__info { flex: 1; padding-top: 1rem; padding-bottom: 0.25rem; display: flex; flex-direction: column; gap: 0.5rem; min-width: 0; }
.theme-product-card__title {
	font-family: var(--font-condensed);
	font-weight: 600;
	font-size: 0.9375rem;
	text-transform: uppercase;
	letter-spacing: 0.025em;
	color: var(--color-foreground);
	transition: color 0.2s ease;
	overflow: hidden; text-overflow: ellipsis; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
}
.theme-product-card:hover .theme-product-card__title { color: var(--color-primary); }
.theme-product-card__price { font-family: var(--font-condensed); font-weight: 600; font-size: 0.875rem; color: var(--color-foreground); }
.theme-product-card__price .woocommerce-Price-amount { font-weight: 600; }

/* ---------------------------------------------------------------------
 * 10. Shop section
 * ------------------------------------------------------------------- */
.shop-section { background: color-mix(in srgb, var(--color-secondary) 60%, transparent); border-radius: 8px; margin: 0 0.75rem; }
@media (min-width: 768px) { .shop-section { margin: 0 1.5rem; } }
.shop-section__intro { text-align: center; padding-top: 4rem; padding-bottom: 1rem; }
@media (min-width: 1024px) { .shop-section__intro { padding-top: 6rem; } }
.shop-heading { font-family: var(--font-display); font-weight: 600; font-size: 2.25rem; line-height: 1.05; margin-top: 0.75rem; }
@media (min-width: 768px) { .shop-heading { font-size: 3rem; } }
@media (min-width: 1024px) { .shop-heading { font-size: 3.75rem; } }
.shop-section__subtext { margin-top: 1rem; font-size: 0.9375rem; color: var(--color-muted-foreground); max-width: 36rem; margin-inline: auto; line-height: var(--leading-relaxed); }
.shop-section__body { padding-bottom: 5rem; }
@media (min-width: 1024px) { .shop-section__body { padding-bottom: 7rem; } }

.shop-filters { display: flex; flex-direction: column; gap: 0.75rem; margin-bottom: 2.5rem; justify-content: center; }
@media (min-width: 640px) { .shop-filters { flex-direction: row; gap: 1rem; } }
.theme-dropdown { position: relative; flex: 1; max-width: 20rem; }
.theme-dropdown__trigger {
	width: 100%; display: flex; align-items: center; justify-content: space-between;
	padding: 0.75rem 1rem; border-radius: 6px; border: 1px solid var(--color-border); background: var(--color-background);
	transition: border-color 0.2s ease;
}
.theme-dropdown__trigger:hover { border-color: var(--color-primary); }
.theme-dropdown__trigger-text { display: flex; flex-direction: column; align-items: flex-start; }
.theme-dropdown__label { font-size: 0.75rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--color-muted-foreground); }
.theme-dropdown__value { font-size: 0.875rem; font-weight: 600; color: var(--color-foreground); margin-top: 2px; }
.theme-dropdown__trigger svg { transition: transform 0.2s ease; }
.theme-dropdown.is-open .theme-dropdown__trigger svg { transform: rotate(180deg); }
.theme-dropdown__menu {
	position: absolute; left: 0; right: 0; top: 100%; margin-top: 4px; z-index: 30;
	background: var(--color-background); border: 1px solid var(--color-border); border-radius: 6px; box-shadow: var(--shadow-elevated);
	max-height: 20rem; overflow-y: auto; display: none;
}
.theme-dropdown.is-open .theme-dropdown__menu { display: block; }
.theme-dropdown__option { width: 100%; display: flex; align-items: center; justify-content: space-between; padding: 10px 16px; text-align: left; font-size: 0.875rem; color: var(--color-foreground); }
.theme-dropdown__option:hover { background: color-mix(in srgb, var(--color-secondary) 60%, transparent); }
.theme-dropdown__option.is-active { color: var(--color-primary); font-weight: 600; }
.shop-filters__clear-all { font-size: 0.75rem; letter-spacing: 0.16em; text-transform: uppercase; font-weight: 700; color: var(--color-primary); align-self: center; }
.shop-filters__clear-all:hover { opacity: 0.7; }

.shop-empty-state { padding: 5rem 0; text-align: center; border: 1px dashed var(--color-border); border-radius: 8px; background: var(--color-background); }
.shop-empty-state__title { font-family: var(--font-display); font-size: 1.5rem; margin-bottom: 0.5rem; }
.shop-empty-state__text { font-size: 0.875rem; color: var(--color-muted-foreground); margin-bottom: 1.5rem; line-height: var(--leading-relaxed); }

/* ---------------------------------------------------------------------
 * 11. Two-up banners
 * ------------------------------------------------------------------- */
.twoup-section { padding: 4rem 0; }
@media (min-width: 1024px) { .twoup-section { padding: 5rem 0; } }
.twoup-section__grid { display: grid; grid-template-columns: 1fr; gap: 1rem; }
@media (min-width: 768px) { .twoup-section__grid { grid-template-columns: 1fr 1fr; gap: 1.5rem; } }
.twoup-banner { position: relative; aspect-ratio: 4 / 5; overflow: hidden; border-radius: 8px; }
@media (min-width: 768px) { .twoup-banner { aspect-ratio: 5 / 6; } }
.twoup-banner__image { transition: transform 1.2s ease-out; }
.twoup-banner:hover .twoup-banner__image { transform: scale(1.04); }
.twoup-banner__gradient { position: absolute; inset: 0; background: linear-gradient(to top, color-mix(in srgb, var(--color-foreground) 70%, transparent), color-mix(in srgb, var(--color-foreground) 15%, transparent) 55%, color-mix(in srgb, var(--color-foreground) 10%, transparent)); }
.twoup-banner__content { position: absolute; inset-inline: 0; bottom: 0; padding: 2rem 2.5rem; }
.twoup-banner__eyebrow { display: inline-block; font-size: 11px; letter-spacing: 0.24em; text-transform: uppercase; font-weight: 700; color: var(--color-accent-foreground); background: var(--color-accent); padding: 6px 12px; border-radius: 999px; margin-bottom: 0.75rem; }
.twoup-banner__title { font-family: var(--font-display); font-weight: 600; color: var(--color-background); font-size: 1.5rem; line-height: 1.05; margin-bottom: 1.5rem; }
@media (min-width: 768px) { .twoup-banner__title { font-size: 1.875rem; } }
@media (min-width: 1024px) { .twoup-banner__title { font-size: 2.25rem; } }
.twoup-banner__cta { font-size: 11px; }

/* ---------------------------------------------------------------------
 * 12. Marquees
 * ------------------------------------------------------------------- */
.marquee-band { position: relative; overflow: hidden; border-top: 1px solid color-mix(in srgb, var(--color-foreground) 10%, transparent); border-bottom: 1px solid color-mix(in srgb, var(--color-foreground) 10%, transparent); padding: 1rem 0; }
.marquee-band--brand { padding: 1.25rem 0; }
.marquee-band--accent { background: var(--color-accent); }
.marquee-band--brand { background: var(--gradient-brand); }
.marquee-band__track { display: flex; white-space: nowrap; width: max-content; animation: marquee-scroll 34s linear infinite; }
.marquee-band__group { display: flex; flex-shrink: 0; align-items: center; gap: 1.5rem; padding-right: 1.5rem; }
.marquee-band__group--lg { gap: 2rem; padding-right: 2rem; }
.marquee-band__item { display: flex; align-items: center; gap: 1.5rem; }
.marquee-band__group--lg .marquee-band__item { gap: 2rem; }
.marquee-band__text { font-family: var(--font-display); color: var(--color-background); font-size: 1.5rem; text-transform: uppercase; letter-spacing: 0.02em; }
@media (min-width: 768px) { .marquee-band__text { font-size: 2.25rem; } }
.marquee-band__text--lg { font-size: 1.875rem; }
@media (min-width: 768px) { .marquee-band__text--lg { font-size: 3rem; } }
.marquee-band__dot { color: color-mix(in srgb, var(--color-background) 80%, transparent); font-size: 1.5rem; }
@media (min-width: 768px) { .marquee-band__dot { font-size: 2.25rem; } }
.marquee-band__dot--lg { font-size: 1.875rem; }
@media (min-width: 768px) { .marquee-band__dot--lg { font-size: 3rem; } }

/* ---------------------------------------------------------------------
 * 13. Custom order section
 * ------------------------------------------------------------------- */
.custom-order-section { padding: 5rem 0; background: color-mix(in srgb, var(--color-secondary) 50%, transparent); border-top: 1px solid var(--color-border); border-bottom: 1px solid var(--color-border); }
@media (min-width: 1024px) { .custom-order-section { padding: 7rem 0; } }
.custom-order__grid { display: grid; grid-template-columns: 1fr; gap: 2.5rem; align-items: start; }
@media (min-width: 1024px) { .custom-order__grid { grid-template-columns: 5fr 7fr; gap: 4rem; } }
.custom-order__intro { position: relative; }
@media (min-width: 1024px) { .custom-order__intro { position: sticky; top: 8rem; } }
.custom-order__heading { font-size: 2.25rem; line-height: 1.05; margin: 0.5rem 0 1.5rem; }
@media (min-width: 768px) { .custom-order__heading { font-size: 3rem; } }
.custom-order__copy { display: flex; flex-direction: column; gap: 1rem; font-size: 0.9375rem; line-height: var(--leading-relaxed); color: var(--color-muted-foreground); margin-bottom: 2rem; }
.custom-order__image-wrap { position: relative; aspect-ratio: 4 / 5; overflow: hidden; border-radius: 8px; }
.custom-order-card { background: var(--color-background); border: 1px solid var(--color-border); border-radius: 8px; box-shadow: var(--shadow-soft); padding: 1.5rem; }
@media (min-width: 768px) { .custom-order-card { padding: 2.5rem; } }
.custom-order-form { display: flex; flex-direction: column; gap: 1.5rem; }
.custom-order-form__footer { display: flex; flex-direction: column; gap: 1rem; justify-content: space-between; padding-top: 0.5rem; }
@media (min-width: 640px) { .custom-order-form__footer { flex-direction: row; align-items: center; } }
.custom-order-form__note { font-size: 0.75rem; color: var(--color-muted-foreground); max-width: 22rem; line-height: var(--leading-relaxed); }
.custom-order-form__submit { flex-shrink: 0; }
.custom-order-card__success { text-align: center; padding: 3rem 0; }
.custom-order-card__success-icon { width: 56px; height: 56px; border-radius: 999px; background: var(--gradient-brand); color: var(--color-primary-foreground); display: inline-flex; align-items: center; justify-content: center; margin-bottom: 1.25rem; }
.custom-order-card__success h3 { font-size: 1.5rem; margin-bottom: 0.75rem; }
.custom-order-card__success p { font-size: 0.9375rem; color: var(--color-muted-foreground); max-width: 28rem; margin: 0 auto; line-height: var(--leading-relaxed); }

.theme-form-row { display: grid; grid-template-columns: 1fr; gap: 1rem; }
.theme-form-row--split { grid-template-columns: 1fr; }
@media (min-width: 640px) { .theme-form-row--split { grid-template-columns: 1fr 1fr; align-items: start; } }
.theme-form-row--triple { grid-template-columns: 1fr; }
@media (min-width: 640px) { .theme-form-row--triple { grid-template-columns: 1fr 1fr 1fr; align-items: start; } }
.theme-form-field { display: flex; flex-direction: column; min-width: 0; }
@media (min-width: 640px) {
	.theme-form-row--split .theme-form-field > .label-eyebrow,
	.theme-form-row--triple .theme-form-field > .label-eyebrow {
		min-height: 2.75em;
		line-height: 1.35;
	}
}
.field-input {
	width: 100%; padding: 0.75rem 1rem; background: var(--color-background);
	border: 1px solid var(--color-border); border-radius: 6px; font-size: 0.875rem; color: var(--color-foreground);
	transition: border-color 0.2s ease, box-shadow 0.2s ease;
	box-sizing: border-box;
}
input.field-input,
select.field-input,
textarea.field-input { font-family: var(--font-body); }
input.field-input,
select.field-input {
	min-height: 2.75rem;
	line-height: 1.25;
}
textarea.field-input {
	min-height: auto;
	resize: vertical;
}
.field-input::placeholder { color: var(--color-muted-foreground); }
.field-input:focus { outline: none; border-color: var(--color-primary); box-shadow: 0 0 0 1px var(--color-primary); }
.theme-form-field .label-eyebrow { margin-bottom: 0.4rem; display: block; }

/* ---------------------------------------------------------------------
 * 14. About / Meet the maker
 * ------------------------------------------------------------------- */
.about-section__grid { display: grid; grid-template-columns: 1fr; min-height: 70vh; }
@media (min-width: 1024px) { .about-section__grid { grid-template-columns: 1fr 1fr; } }
.about-section__media { position: relative; min-height: 50vh; overflow: hidden; order: 2; }
@media (min-width: 1024px) { .about-section__media { min-height: 100%; order: 1; } }
.about-section__copy { display: flex; flex-direction: column; justify-content: center; padding: 5rem 2rem; order: 1; }
@media (min-width: 768px) { .about-section__copy { padding: 5rem 3.5rem; } }
@media (min-width: 1024px) { .about-section__copy { padding: 5rem 5rem; order: 2; } }
.about-section__heading { font-size: 2.25rem; line-height: 1.05; margin: 1.5rem 0 2rem; }
@media (min-width: 768px) { .about-section__heading { font-size: 3rem; } }
.about-section__paragraphs { display: flex; flex-direction: column; gap: 1rem; color: var(--color-muted-foreground); font-size: 0.9375rem; line-height: var(--leading-relaxed); margin-bottom: 2.5rem; }
.about-section__quote { font-family: var(--font-display); font-size: 1.25rem; line-height: var(--leading-snug); border-top: 1px solid var(--color-border); padding-top: 2rem; }
@media (min-width: 768px) { .about-section__quote { font-size: 1.5rem; } }

/* ---------------------------------------------------------------------
 * 15. Brand story
 * ------------------------------------------------------------------- */
.brand-story-section { padding-top: 5rem; }
@media (min-width: 1024px) { .brand-story-section { padding-top: 7rem; } }
.brand-story__media { position: relative; width: 100%; height: 60vh; overflow: hidden; }
@media (min-width: 768px) { .brand-story__media { height: 70vh; } }
.brand-story__gradient { position: absolute; inset: 0; background: linear-gradient(to right, var(--color-accent), color-mix(in srgb, var(--color-accent) 90%, transparent), color-mix(in srgb, var(--color-accent) 35%, transparent)); }
.brand-story__content { position: absolute; inset: 0; display: flex; align-items: center; }
.brand-story__copy { max-width: 36rem; }
.brand-story__heading { font-family: var(--font-display); font-weight: 600; color: var(--color-background); font-size: 2.25rem; line-height: 1.02; letter-spacing: -0.02em; margin-bottom: 1.5rem; }
@media (min-width: 768px) { .brand-story__heading { font-size: 3.75rem; } }
.brand-story__text { color: color-mix(in srgb, var(--color-background) 95%, transparent); font-size: 0.875rem; line-height: var(--leading-relaxed); }
@media (min-width: 768px) { .brand-story__text { font-size: 0.9375rem; } }

/* ---------------------------------------------------------------------
 * 16. FAQ + Contact band
 * ------------------------------------------------------------------- */
.faq-section { padding: 5rem 0; }
@media (min-width: 1024px) { .faq-section { padding: 7rem 0; } }
.faq-section__heading { font-weight: 600; letter-spacing: -0.02em; font-size: 3rem; margin-bottom: 4rem; border-bottom: 1px solid var(--color-border); padding-bottom: 1rem; }
@media (min-width: 768px) { .faq-section__heading { font-size: 3.75rem; } }
@media (min-width: 1024px) { .faq-section__heading { font-size: 4.5rem; } }
.faq-section__grid { display: grid; grid-template-columns: 1fr; gap: 3rem; }
@media (min-width: 1024px) { .faq-section__grid { grid-template-columns: 4fr 8fr; gap: 5rem; } }
.faq-section__sidebar-inner { display: flex; flex-direction: column; gap: 1.5rem; }
@media (min-width: 1024px) { .faq-section__sidebar-inner { position: sticky; top: 8rem; } }
.faq-section__sidebar-inner p { font-family: var(--font-body); font-size: 1rem; line-height: var(--leading-relaxed); }
@media (min-width: 768px) { .faq-section__sidebar-inner p { font-size: 1.125rem; } }
.faq-section__sidebar-inner a.btn-cta { align-self: flex-start; height: 3rem; padding: 0 2rem; font-size: 0.75rem; }
.faq-section__list { border-top: 1px solid var(--color-border); }
.faq-item { border-bottom: 1px solid var(--color-border); }
.faq-item__question { width: 100%; display: flex; align-items: flex-start; justify-content: space-between; gap: 1.5rem; padding: 1.25rem 0; text-align: left; }
.faq-item__q-text { font-family: var(--font-body); font-weight: 600; font-size: 0.9375rem; line-height: var(--leading-snug); color: var(--color-foreground); transition: color 0.2s ease; padding-right: 1rem; }
@media (min-width: 768px) { .faq-item__q-text { font-size: 1rem; } }
.faq-item__question:hover .faq-item__q-text { color: var(--color-primary); }
.faq-item__icon { flex-shrink: 0; margin-top: 2px; color: var(--color-primary); position: relative; width: 20px; height: 20px; }
.faq-item__icon-plus, .faq-item__icon-minus { position: absolute; top: 0; left: 0; transition: opacity 0.2s ease; }
.faq-item__icon-minus { opacity: 0; }
.faq-item__question[aria-expanded="true"] .faq-item__icon-plus { opacity: 0; }
.faq-item__question[aria-expanded="true"] .faq-item__icon-minus { opacity: 1; }
.faq-item__answer p { padding-bottom: 1.5rem; padding-right: 3rem; color: var(--color-muted-foreground); font-family: var(--font-body); font-size: 0.9375rem; line-height: var(--leading-relaxed); }

.contact-band { position: relative; margin-top: 6rem; margin-bottom: -5rem; overflow: hidden; scroll-margin-top: 7rem; }
@media (min-width: 1024px) { .contact-band { margin-bottom: -7rem; } }
.contact-band__bg { opacity: 1; }
.contact-band__overlay { position: absolute; inset: 0; background: var(--gradient-brand); opacity: 0.9; }
.contact-band__inner { position: relative; text-align: center; padding-block: 6rem 8rem; }
@media (min-width: 768px) { .contact-band__inner { padding-block: 8rem; } }
.contact-band__eyebrow { display: block; margin-bottom: 1.25rem; color: color-mix(in srgb, var(--color-background) 90%, transparent); }
.contact-band__heading { color: var(--color-background); font-size: 2.25rem; line-height: 1.05; margin-bottom: 2rem; }
@media (min-width: 768px) { .contact-band__heading { font-size: 3rem; } }
@media (min-width: 1024px) { .contact-band__heading { font-size: 3.75rem; } }
.contact-band__text { max-width: 32rem; margin: 0 auto 2.5rem; color: color-mix(in srgb, var(--color-background) 90%, transparent); font-size: 0.9375rem; line-height: var(--leading-relaxed); }
.contact-band__ctas { display: flex; flex-direction: column; gap: 0.75rem; justify-content: center; }
@media (min-width: 640px) { .contact-band__ctas { flex-direction: row; } }
.contact-band__cta { height: auto; padding: 1rem 2rem; border-radius: 6px; text-transform: uppercase; font-weight: 700; }
.contact-band__cta--solid { background: var(--color-background); color: var(--color-foreground); }
.contact-band__cta--solid:hover { opacity: 0.9; }

/* ---------------------------------------------------------------------
 * 17. Footer
 * ------------------------------------------------------------------- */
.site-footer { background: var(--color-foreground); color: var(--color-background); }
.site-footer__newsletter { border-bottom: 1px solid color-mix(in srgb, var(--color-background) 15%, transparent); }
.site-footer__newsletter-inner { padding-block: 3.5rem; display: grid; grid-template-columns: 1fr; gap: 2.5rem; align-items: center; }
@media (min-width: 1024px) { .site-footer__newsletter-inner { grid-template-columns: 1fr 1fr; } }
.site-footer__newsletter-eyebrow { color: color-mix(in srgb, var(--color-background) 60%, transparent); margin-bottom: 0.75rem; }
.site-footer__newsletter-heading { font-size: 1.875rem; line-height: 1.1; }
@media (min-width: 768px) { .site-footer__newsletter-heading { font-size: 2.25rem; } }
.site-footer__newsletter-form { display: flex; width: 100%; }
.site-footer__newsletter-input {
	flex: 1; min-width: 0; background: transparent; border: none; border-bottom: 1px solid color-mix(in srgb, var(--color-background) 40%, transparent);
	padding: 0.75rem 0.25rem; font-size: 0.875rem; color: var(--color-background);
}
.site-footer__newsletter-input::placeholder { color: color-mix(in srgb, var(--color-background) 50%, transparent); }
.site-footer__newsletter-input:focus { outline: none; border-color: var(--color-background); }
.site-footer__newsletter-btn {
	margin-left: 0.75rem; display: inline-flex; align-items: center; gap: 0.5rem;
	padding: 0 1.5rem; height: 3rem; background: var(--color-background); color: var(--color-foreground);
	font-size: 11px; letter-spacing: 0.3em; text-transform: uppercase; font-weight: 600; border-radius: 6px; white-space: nowrap;
	transition: background-color 0.2s ease, color 0.2s ease;
}
.site-footer__newsletter-btn:hover { background: var(--color-primary); color: var(--color-primary-foreground); }
.site-footer__main { padding-top: 4rem; padding-bottom: 1.5rem; }
@media (min-width: 1024px) { .site-footer__main { padding-top: 5rem; padding-bottom: 2rem; } }
.site-footer__grid { display: grid; grid-template-columns: 1fr; gap: 2.5rem; }
@media (min-width: 768px) { .site-footer__grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) {
	.site-footer__grid {
		grid-template-columns: repeat(12, minmax(0, 1fr));
		column-gap: 2rem;
		row-gap: 2.5rem;
	}
}
.site-footer__brand { grid-column: 1 / -1; min-width: 0; }
@media (min-width: 1024px) { .site-footer__brand { grid-column: span 3; } }
.site-footer__logo-link { display: flex; flex-direction: column; align-items: flex-start; }
.site-footer__logo-wrap { background: var(--color-background); border-radius: 6px; padding: 0.75rem 1rem; display: inline-flex; }
.site-footer__logo-wrap .site-logo-img { height: 3.5rem !important; }
.site-footer__logo-wrap .site-logo-text { color: var(--color-foreground); }
.site-footer__tagline { font-size: 10px; letter-spacing: 0.24em; text-transform: uppercase; font-weight: 600; color: color-mix(in srgb, var(--color-background) 60%, transparent); margin-top: 0.75rem; }
.site-footer__description { margin-top: 1.5rem; font-size: 0.875rem; color: color-mix(in srgb, var(--color-background) 70%, transparent); max-width: 24rem; line-height: var(--leading-relaxed); }
.site-footer__col { grid-column: span 1; min-width: 0; }
@media (min-width: 1024px) { .site-footer__col { grid-column: span 2; } }
@media (min-width: 1024px) { .site-footer__col--contact { grid-column: span 3; } }
.site-footer__col-title { font-size: 11px; letter-spacing: 0.3em; text-transform: uppercase; font-weight: 600; color: color-mix(in srgb, var(--color-background) 60%, transparent); margin-bottom: 1.25rem; }
.site-footer__links { display: flex; flex-direction: column; gap: 0.75rem; }
.site-footer__links a, .site-footer__link-btn { font-size: 0.875rem; color: color-mix(in srgb, var(--color-background) 80%, transparent); transition: color 0.2s ease; text-align: left; }
.site-footer__links a:hover, .site-footer__link-btn:hover { color: var(--color-background); }
.site-footer__contact-list li { display: flex; align-items: flex-start; gap: 0.5rem; min-width: 0; }
.site-footer__contact-list svg { margin-top: 2px; flex-shrink: 0; }
.site-footer__contact-list a,
.site-footer__contact-list span { min-width: 0; font-size: 0.8125rem; line-height: 1.45; }
.site-footer__contact-list a { white-space: nowrap; }
.site-footer__bottom { margin-top: 2.5rem; padding-top: 1.5rem; border-top: 1px solid color-mix(in srgb, var(--color-background) 15%, transparent); display: flex; flex-direction: column; align-items: center; justify-content: space-between; gap: 1rem; }
@media (min-width: 640px) { .site-footer__bottom { flex-direction: row; } }
.site-footer__copyright, .site-footer__credit { font-size: 10px; letter-spacing: 0.3em; text-transform: uppercase; font-weight: 600; color: color-mix(in srgb, var(--color-background) 55%, transparent); text-align: center; }
@media (min-width: 640px) { .site-footer__credit { text-align: right; } }
.site-footer__credit a { text-decoration: underline; text-decoration-color: currentColor; text-underline-offset: 4px; }
.site-footer__credit a:hover { color: var(--color-background); }

/* ---------------------------------------------------------------------
 * 18. Generic pages / 404
 * ------------------------------------------------------------------- */
.generic-page, .notfound-page, .archive-product-page { padding-top: 7rem; min-height: 60vh; }
@media (min-width: 1024px) { .generic-page, .notfound-page, .archive-product-page { padding-top: 8rem; } }
.generic-page__inner, .notfound-page__inner, .archive-product-page__inner { padding-block: 2.5rem 5rem; }
.page-title { font-size: 2.25rem; margin-bottom: 1.5rem; }
.notfound-page__inner { text-align: center; max-width: 32rem; }
.notfound-page__code { font-size: 4.5rem; font-weight: 700; margin-bottom: 1rem; }
.notfound-page__title { font-size: 1.5rem; margin-bottom: 0.75rem; }
.notfound-page__text { color: var(--color-muted-foreground); margin-bottom: 2rem; }

/* ---------------------------------------------------------------------
 * 19. Contact modal / dialogs
 * ------------------------------------------------------------------- */
.theme-modal, .theme-search-dialog {
	position: fixed; inset: 0; z-index: 80;
	display: flex; align-items: center; justify-content: center;
	visibility: hidden; opacity: 0;
	transition: opacity 0.25s ease, visibility 0.25s ease;
}
.theme-modal.is-open, .theme-search-dialog.is-open { visibility: visible; opacity: 1; }
.theme-modal__backdrop, .theme-search-dialog__backdrop {
	position: absolute; inset: 0; background: color-mix(in srgb, var(--color-foreground) 40%, transparent);
	border: none; padding: 0; cursor: pointer;
}
.theme-search-dialog__backdrop { background: color-mix(in srgb, var(--color-foreground) 40%, transparent); backdrop-filter: blur(2px); }
.theme-modal__panel {
	position: relative; width: 100%; max-width: 34rem; max-height: 90vh; overflow-y: auto;
	background: var(--color-background); border: 1px solid var(--color-border); border-radius: 10px;
	box-shadow: var(--shadow-elevated); margin: 1rem; padding: 1.75rem;
	transform: translateY(12px) scale(0.98); transition: transform 0.25s ease;
}
.theme-modal.is-open .theme-modal__panel { transform: translateY(0) scale(1); }
@media (min-width: 640px) { .theme-modal__panel { padding: 2rem; } }
.theme-modal__close { position: absolute; top: 1rem; right: 1rem; padding: 6px; opacity: 0.7; z-index: 2; }
.theme-modal__close:hover { opacity: 1; }
.theme-modal__title { font-size: 1.5rem; line-height: 1.3; margin: 0.25rem 0 0.75rem; }
.theme-modal__desc { font-size: 0.9375rem; line-height: var(--leading-relaxed); color: var(--color-muted-foreground); }
.theme-modal__contact-info { display: flex; flex-direction: column; gap: 0.5rem; font-size: 14px; color: var(--color-muted-foreground); border-top: 1px solid var(--color-border); padding-top: 1rem; margin-top: 1rem; }
.theme-modal__contact-row { display: flex; align-items: center; gap: 0.5rem; }
.theme-modal__contact-row a { transition: color 0.2s ease; }
.theme-modal__contact-row a:hover { color: var(--color-foreground); }
.theme-modal__form { margin-top: 1.5rem; display: flex; flex-direction: column; gap: 1rem; }
.theme-modal__form-actions { display: flex; justify-content: flex-end; }
.theme-modal__success { text-align: center; padding: 2rem 0; }
.theme-modal__success-icon { width: 56px; height: 56px; border-radius: 999px; background: var(--gradient-brand); color: var(--color-primary-foreground); display: inline-flex; align-items: center; justify-content: center; margin-bottom: 1rem; }
.theme-modal__success h3 { font-size: 1.25rem; margin-bottom: 0.5rem; }
.theme-modal__success p { font-size: 14px; color: var(--color-muted-foreground); }
body.theme-modal-open { overflow: hidden; }

/* Search dialog */
.theme-search-dialog__panel {
	position: relative; width: 100%; max-height: 92vh; overflow-y: auto;
	background: var(--color-background); border-bottom: 1px solid var(--color-border); box-shadow: var(--shadow-elevated);
	transform: translateY(-16px); transition: transform 0.25s ease;
}
.theme-search-dialog.is-open .theme-search-dialog__panel { transform: translateY(0); }
.theme-search-dialog__close { position: absolute; top: 1.25rem; right: 1.25rem; padding: 8px; opacity: 0.7; z-index: 2; }
@media (min-width: 1024px) { .theme-search-dialog__close { top: 1.75rem; right: 2rem; } }
.theme-search-dialog__close:hover { opacity: 1; }
.theme-search-dialog__inner { padding-block: 2.5rem; }
@media (min-width: 1024px) { .theme-search-dialog__inner { padding-block: 3.5rem; } }
.theme-search-dialog__grid { display: grid; grid-template-columns: 1fr; gap: 2.5rem; }
@media (min-width: 1024px) { .theme-search-dialog__grid { grid-template-columns: 260px 1fr; gap: 4rem; } }
.theme-search-dialog__categories h3 { font-size: 1.5rem; margin-bottom: 1.5rem; }
.theme-search-dialog__categories ul { display: flex; flex-direction: column; gap: 0.9rem; }
.theme-search-category-link { font-size: 12px; letter-spacing: 0.22em; text-transform: uppercase; color: color-mix(in srgb, var(--color-foreground) 85%, transparent); transition: color 0.2s ease; text-align: left; }
.theme-search-category-link:hover { color: var(--color-primary); }
.theme-search-dialog__field { display: flex; align-items: center; gap: 0.75rem; border-bottom: 1px solid color-mix(in srgb, var(--color-foreground) 30%, transparent); padding-bottom: 0.75rem; }
.theme-search-dialog__input { flex: 1; background: transparent; border: none; outline: none; font-family: var(--font-display); font-size: 1.5rem; color: var(--color-foreground); }
.theme-search-dialog__input::placeholder { color: color-mix(in srgb, var(--color-foreground) 40%, transparent); }
.theme-search-dialog__results { margin-top: 2.5rem; }
.theme-search-dialog__results-heading { font-size: 1.5rem; margin-bottom: 1.5rem; }
.theme-search-dialog__no-results { font-size: 14px; color: color-mix(in srgb, var(--color-foreground) 60%, transparent); }
.theme-search-dialog__results-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
@media (min-width: 768px) { .theme-search-dialog__results-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1024px) { .theme-search-dialog__results-grid { grid-template-columns: repeat(4, 1fr); gap: 2rem; } }
.theme-search-result { display: block; }
.theme-search-result__image { display: block; aspect-ratio: 1 / 1; overflow: hidden; background: var(--color-secondary); }
.theme-search-result__image img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.7s ease; }
.theme-search-result:hover .theme-search-result__image img { transform: scale(1.05); }
.theme-search-result__name { display: block; margin-top: 0.75rem; font-size: 12px; letter-spacing: 0.24em; text-transform: uppercase; line-height: 1.4; overflow: hidden; text-overflow: ellipsis; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.theme-search-result__price { display: block; margin-top: 0.25rem; font-size: 12px; color: color-mix(in srgb, var(--color-foreground) 70%, transparent); }

/* =====================================================================
 * 20. SINGLE PRODUCT PAGE — parity with src/pages/ProductDetail.tsx
 * ===================================================================== */
body.theme-no-hero .site-main.single-product-main,
body.theme-single-product .site-main.single-product-main,
.single-product-main.single-product-page {
	padding-top: 7rem !important;
	padding-bottom: 5rem;
}
@media (min-width: 1024px) {
	body.theme-no-hero .site-main.single-product-main,
	body.theme-single-product .site-main.single-product-main,
	.single-product-main.single-product-page { padding-top: 8rem !important; }
}
.single-product-main .theme-product-layout,
.single-product .theme-product-layout,
.theme-product-layout {
	display: grid; grid-template-columns: minmax(0, 1fr); gap: 2rem; align-items: start; min-width: 0;
}
@media (min-width: 1024px) { .single-product-main .theme-product-layout, .theme-product-layout { grid-template-columns: minmax(0, 1fr) 440px; gap: 3rem; } }
@media (min-width: 1280px) { .single-product-main .theme-product-layout, .theme-product-layout { grid-template-columns: minmax(0, 1fr) 500px; } }

.single-product-main .theme-product-gallery,
.single-product-main .theme-product-info,
.single-product .theme-product-gallery,
.single-product .theme-product-info { min-width: 0; max-width: 100%; }
.theme-product-gallery { position: relative; display: flex; flex-direction: column; background: var(--color-background); }
@media (min-width: 1024px) { .theme-product-gallery { position: sticky; top: 8rem; align-self: start; } }
.theme-product-main-image-wrap {
	width: 100%;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 1rem 1rem 0;
}
@media (min-width: 768px) { .theme-product-main-image-wrap { padding: 2rem 2rem 0; } }
.theme-product-main-image {
	width: 100%;
	height: auto;
	max-height: 88vh;
	object-fit: contain;
	object-position: center;
	display: block;
}
.single-product-main .theme-product-thumbnails,
.single-product .theme-product-thumbnails {
	display: flex;
	flex-direction: row;
	flex-wrap: nowrap;
	gap: 0.5rem;
	padding: 0.75rem 1rem 1rem;
	overflow-x: auto;
	max-width: 100%;
}
@media (min-width: 768px) {
	.single-product-main .theme-product-thumbnails,
	.single-product .theme-product-thumbnails {
		gap: 0.75rem;
		padding: 0.75rem 2rem 1rem;
	}
}

.theme-product-thumb { width: 4rem; height: 4rem; overflow: hidden; border: 1px solid transparent; opacity: 0.6; transition: opacity 0.2s ease, border-color 0.2s ease; flex-shrink: 0; background: transparent; padding: 0; }
@media (min-width: 1024px) { .theme-product-thumb { width: 4rem; height: 4rem; } }
.theme-product-thumb.is-active { border-color: var(--color-foreground); opacity: 1; }
.theme-product-thumb:hover { opacity: 1; }
.theme-product-thumb img { width: 100%; height: 100%; object-fit: cover; position: static !important; }

.theme-product-info { padding: 2.5rem 0; }
@media (min-width: 1024px) { .theme-product-info { padding: 4rem 0; } }
.theme-product-breadcrumb { font-family: var(--font-body); font-size: 0.75rem; letter-spacing: 0.28em; text-transform: uppercase; color: var(--color-muted-foreground); margin-bottom: 1.5rem; }
.theme-product-breadcrumb a { transition: color 0.2s ease; }
.theme-product-breadcrumb a:hover { color: var(--color-foreground); }
.theme-product-breadcrumb span { margin: 0 0.5rem; }
.theme-product-title.product-title { font-family: var(--font-display); line-height: 0.92; letter-spacing: -0.02em; margin: 0 0 1.5rem; }
.theme-product-title__line { display: block; }
.theme-product-title__line--prefix { font-weight: 500; font-size: 1.875rem; text-transform: none; }
@media (min-width: 768px) { .theme-product-title__line--prefix { font-size: 2.25rem; } }
.theme-product-title__line--name { font-weight: 800; font-size: 3rem; text-transform: uppercase; }
@media (min-width: 768px) { .theme-product-title__line--name { font-size: 3.75rem; } }
.theme-product-sku { font-family: var(--font-body); font-size: 0.75rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--color-muted-foreground); }
.theme-product-divider { height: 1px; background: var(--color-border); margin: 1.75rem 0; }
.theme-product-price-row { display: flex; align-items: baseline; justify-content: flex-end; }
.theme-product-price.price { font-family: var(--font-display); font-size: 1.5rem; font-weight: 800; color: var(--color-foreground); margin: 0; }
.theme-product-shipping-note { margin-top: 0.5rem; font-family: var(--font-body); font-size: 0.8125rem; color: var(--color-muted-foreground); }
.theme-product-stock { margin-top: 0.75rem; font-size: 12px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; }
.theme-product-stock--out { color: var(--color-destructive); }

.theme-product-attribute { margin-top: 1.75rem; }
.theme-product-attribute__label { font-family: var(--font-body); font-size: 0.75rem; letter-spacing: 0.28em; text-transform: uppercase; color: var(--color-muted-foreground); margin: 0 0 0.75rem; display: block; }
.theme-product-size-chips { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.theme-size-chip { min-width: 3.5rem; padding: 0.625rem 1rem; font-family: var(--font-body); font-size: 0.75rem; letter-spacing: 0.05em; border: 1px solid var(--color-border); background: transparent; color: var(--color-foreground); transition: border-color 0.2s ease, background-color 0.2s ease, color 0.2s ease; }
.theme-size-chip:hover { border-color: var(--color-foreground); }
.theme-size-chip.is-selected { background: var(--color-foreground); color: var(--color-background); border-color: var(--color-foreground); }
.theme-attr-select-hidden { display: none !important; }
.theme-product-attribute__select select { width: 100%; padding: 0.75rem 1rem; border: 1px solid var(--color-border); border-radius: 6px; background: var(--color-background); font-family: var(--font-body); font-size: 0.875rem; }

.theme-variable-product-form .theme-product-atc-btn,
.theme-variable-product-form .single_add_to_cart_button.theme-product-atc-btn { margin-top: 2rem; }

.theme-add-to-cart-area-wrap { margin-top: 2rem; }
.single-product-main .theme-product-atc-btn,
.single-product-main .single_add_to_cart_button.theme-product-atc-btn {
	width: 100%; min-height: 3.5rem; background: var(--gradient-brand) !important; color: var(--color-primary-foreground) !important;
	border: none !important; border-radius: var(--btn-radius) !important; font-family: var(--font-body) !important;
	font-size: var(--btn-font-size-compact) !important; font-weight: 700 !important; letter-spacing: var(--btn-letter-spacing-cart) !important;
	text-transform: uppercase !important; display: inline-flex !important; align-items: center !important; justify-content: center !important;
}
.single-product-main .theme-product-atc-btn:hover:not(:disabled),
.single-product-main .single_add_to_cart_button.theme-product-atc-btn:hover:not(:disabled) { opacity: 0.9 !important; background: var(--gradient-brand) !important; }
.theme-qty-hidden { display: none !important; }

.theme-product-features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; text-align: center; margin-top: 2.5rem; }
.theme-product-feature { display: flex; flex-direction: column; align-items: center; }
.theme-product-feature__icon { width: 3rem; height: 3rem; border-radius: 999px; background: var(--gradient-brand); color: var(--color-background); display: flex; align-items: center; justify-content: center; margin-bottom: 0.75rem; box-shadow: var(--shadow-soft); }
.theme-product-feature__title { font-family: var(--font-body); font-size: 0.75rem; font-weight: 600; line-height: var(--leading-snug); color: var(--color-foreground); }
.theme-product-feature__sub { font-family: var(--font-body); font-size: 0.6875rem; line-height: var(--leading-snug); color: var(--color-muted-foreground); margin-top: 0.25rem; }

.theme-product-details { margin-top: 3rem; }
.theme-product-details__heading { font-family: var(--font-body); font-size: 0.75rem; letter-spacing: 0.28em; text-transform: uppercase; color: var(--color-foreground); margin-bottom: 1.25rem; }
.theme-product-details__description { font-family: var(--font-display); font-size: 19px; line-height: 1.55; color: color-mix(in srgb, var(--color-foreground) 90%, transparent); white-space: pre-line; }
.theme-product-details__description p { margin-bottom: 1rem; }
.theme-product-details__list { list-style: disc; padding-left: 1.25rem; margin: 1.5rem 0 0; }
.theme-product-details__list li { margin-bottom: 0.625rem; font-family: var(--font-body); font-size: 0.875rem; line-height: var(--leading-relaxed); color: color-mix(in srgb, var(--color-foreground) 80%, transparent); }
.theme-product-details__list li::marker { color: var(--color-primary); }

.related-products-section { padding: 6rem 0; border-top: 1px solid var(--color-border); margin-top: 3rem; }
.related-products-section__head { display: flex; align-items: flex-end; justify-content: space-between; margin-bottom: 3rem; }
.related-products-section__heading { font-family: var(--font-display); font-size: 1.875rem; line-height: 1.25; margin: 0; }
.related-products-section__heading em { font-style: italic; font-weight: inherit; }
@media (min-width: 768px) { .related-products-section__heading { font-size: 2.25rem; } }

.theme-related-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 3rem 2rem; }
@media (min-width: 640px) { .theme-related-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .theme-related-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.theme-related-card__link { display: block; color: inherit; text-decoration: none; }
.theme-related-card__image-wrap { position: relative; aspect-ratio: 1 / 1; background: var(--color-muted); overflow: hidden; }
.theme-related-card__image { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 0.7s ease; }
.theme-related-card__link:hover .theme-related-card__image { transform: scale(1.03); }
.theme-related-card__badge { position: absolute; top: 0.75rem; left: 0.75rem; padding: 0.25rem 0.625rem; font-family: var(--font-condensed); font-size: 10px; font-weight: 600; letter-spacing: 0.28em; text-transform: uppercase; background: var(--color-foreground); color: var(--color-background); }
.theme-related-card__info { padding-top: 1rem; padding-bottom: 0.25rem; }
.theme-related-card__title { font-family: var(--font-condensed); font-weight: 600; font-size: 0.9375rem; text-transform: uppercase; letter-spacing: 0.04em; color: var(--color-foreground); margin: 0; transition: color 0.2s ease; }
.theme-related-card__link:hover .theme-related-card__title { color: var(--color-primary); }
.theme-related-card__price { margin: 0.5rem 0 0; font-family: var(--font-condensed); font-weight: 600; font-size: 0.875rem; color: var(--color-foreground); font-variant-numeric: tabular-nums; }

.single-product-main .woocommerce-product-gallery,
.single-product-main .product_meta,
.single-product-main .woocommerce-tabs,
.single-product-main .woocommerce-breadcrumb,
.single-product-main .woocommerce-variation-price,
.single-product-main .woocommerce-variation-availability,
.single-product-main .reset_variations,
.single-product-main a.added_to_cart.wc-forward,
.single-product-main .woocommerce-message,
.single-product-main .woocommerce-info { display: none !important; }
.single-product-main .theme-variable-product-form { margin-top: 0; }

/* Quantity UI kept for cart drawer / other contexts */
.theme-quantity-wrapper { display: flex; align-items: center; border: 1px solid var(--color-border); border-radius: var(--btn-radius); overflow: hidden; }
.theme-qty-minus, .theme-qty-plus { padding: 0 1rem; height: var(--btn-height); display: flex; align-items: center; justify-content: center; font-size: 1rem; transition: background-color 0.2s ease; }
.theme-qty-minus:hover, .theme-qty-plus:hover { background: var(--color-secondary); }
.theme-qty-input {
	width: 3.25rem; text-align: center; border: none; border-left: 1px solid var(--color-border); border-right: 1px solid var(--color-border);
	height: var(--btn-height); background: transparent; font-size: 15px; 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-qty-input:focus { outline: none; }

/* =====================================================================
 * 21. WOOCOMMERCE STYLE OVERRIDES (Section 14 / 11.4.1 / 11.4.2)
 * ===================================================================== */
.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-compact) !important;
	font-weight: var(--btn-font-weight) !important;
	letter-spacing: var(--btn-letter-spacing-cart) !important;
	text-transform: uppercase !important;
	cursor: pointer !important;
	transition: opacity 0.2s ease !important;
}
.single_add_to_cart_button.button:hover,
.add_to_cart_button.button:hover {
	opacity: 0.85 !important;
	background-color: var(--color-primary) !important;
	color: var(--color-button-text) !important;
}
.single_add_to_cart_button.button:disabled,
.single_add_to_cart_button.button.disabled,
.add_to_cart_button.button:disabled,
.add_to_cart_button.button.disabled {
	cursor: not-allowed !important;
	opacity: 0.4 !important;
	pointer-events: none !important;
}
.single_add_to_cart_button.button:disabled:hover,
.single_add_to_cart_button.button.disabled:hover,
.add_to_cart_button.button:disabled:hover,
.add_to_cart_button.button.disabled:hover {
	opacity: 0.4 !important;
	background-color: var(--color-primary) !important;
}
.single-product .single_add_to_cart_button.loading::after,
.ajax_add_to_cart.loading::after { display: none !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; }

/* Scoped notice visibility (Section 14.1) */
.single-product .woocommerce-message,
.single-product .woocommerce-info { display: none; }
#theme-cart-drawer .woocommerce-message { display: none; }
.woocommerce-message, .woocommerce-error, .woocommerce-info {
	font-family: var(--font-body);
	font-size: 14px;
	border-radius: 6px;
	border-top-color: var(--color-primary);
	padding: 1rem 1.5rem 1rem 3.5rem;
	background: var(--color-secondary);
	color: var(--color-foreground);
	list-style: none;
	margin: 0 0 1.5rem;
}
.woocommerce-error { border-top-color: var(--color-destructive); }
.woocommerce-breadcrumb { font-size: 12px; color: var(--color-muted-foreground); margin-bottom: 1rem; }

/* =====================================================================
 * 22. SIDE CART DRAWER
 * ===================================================================== */
#theme-cart-overlay {
	position: fixed; inset: 0; z-index: 55; background: color-mix(in srgb, var(--color-foreground) 30%, transparent);
	opacity: 0; visibility: hidden; transition: opacity 0.3s ease, visibility 0.3s ease;
}
body.cart-open #theme-cart-overlay { opacity: 1; visibility: visible; }
#theme-cart-drawer {
	position: fixed; right: 0; top: 0; height: 100%; max-height: 100vh; width: 100%; max-width: 32rem;
	background: var(--color-background); z-index: 56; box-shadow: var(--shadow-elevated);
	display: flex; flex-direction: column; overflow-y: auto;
	transform: translateX(100%); transition: transform 0.4s var(--transition-smooth);
}
body.cart-open #theme-cart-drawer { transform: translateX(0); }
#theme-cart-drawer.is-updating { opacity: 0.6; pointer-events: none; }
.theme-cart-drawer__header { display: flex; align-items: center; justify-content: space-between; padding: 2rem 2rem 1.25rem; border-bottom: 1px solid var(--color-border); }
.theme-cart-drawer__title { font-family: var(--font-display); font-style: italic; font-size: 1.5rem; }
.theme-cart-drawer__close { padding: 4px; opacity: 0.7; }
.theme-cart-drawer__close:hover { opacity: 1; }
.theme-cart-drawer__empty { display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 2rem; text-align: center; min-height: 300px; }
.theme-cart-drawer__empty svg { color: var(--color-muted-foreground); margin-bottom: 1.25rem; }
.theme-cart-drawer__empty p { color: var(--color-muted-foreground); margin-bottom: 1.5rem; }
.theme-cart-drawer__items { padding: 1.5rem 2rem; display: flex; flex-direction: column; gap: 2rem; flex: 1; }
.theme-cart-item { display: flex; gap: 1.25rem; }
.theme-cart-item__image { width: 6rem; height: 8rem; background: var(--color-secondary); overflow: hidden; flex-shrink: 0; display: block; }
.theme-cart-item__image img { width: 100%; height: 100%; object-fit: cover; }
.theme-cart-item__body { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.theme-cart-item__name { font-size: 0.75rem; letter-spacing: 0.22em; text-transform: uppercase; color: var(--color-foreground); transition: opacity 0.2s ease; overflow: hidden; text-overflow: ellipsis; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.theme-cart-item__name:hover { opacity: 0.7; }
.theme-cart-item__variation { font-size: 0.75rem; color: var(--color-muted-foreground); margin-top: 0.4rem; font-style: italic; }
.theme-cart-item__price { font-size: 0.875rem; margin-top: 0.4rem; }
.theme-cart-item__footer { display: flex; align-items: center; justify-content: space-between; margin-top: auto; padding-top: 1rem; }
.theme-cart-item__qty { display: flex; align-items: center; border: 1px solid var(--color-border); }
.theme-cart-item__qty-btn { padding: 6px 10px; transition: background-color 0.2s ease; }
.theme-cart-item__qty-btn:hover { background: var(--color-secondary); }
.theme-cart-item__qty-value { padding: 0 12px; font-size: 14px; min-width: 28px; text-align: center; }
.theme-cart-item__remove { font-size: 12px; color: var(--color-muted-foreground); text-decoration: underline; text-underline-offset: 4px; transition: color 0.2s ease; }
.theme-cart-item__remove:hover { color: var(--color-foreground); }
.theme-cart-drawer__pair { padding-top: 1rem; border-top: 1px solid var(--color-border); }
.theme-cart-drawer__pair-heading { font-family: var(--font-display); font-style: italic; font-size: 1.125rem; margin-bottom: 1rem; }
.theme-cart-drawer__pair-list { display: flex; gap: 0.75rem; overflow-x: auto; padding-bottom: 0.5rem; }
.theme-cart-drawer__pair-item { flex-shrink: 0; width: 8rem; text-align: left; }
.theme-cart-drawer__pair-image { display: block; aspect-ratio: 3 / 4; background: var(--color-secondary); overflow: hidden; margin-bottom: 0.5rem; }
.theme-cart-drawer__pair-image img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.7s ease; }
.theme-cart-drawer__pair-item:hover .theme-cart-drawer__pair-image img { transform: scale(1.05); }
.theme-cart-drawer__pair-name { font-size: 12px; letter-spacing: 0.2em; text-transform: uppercase; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; display: block; }
.theme-cart-drawer__pair-price { font-size: 12px; color: var(--color-muted-foreground); margin-top: 0.15rem; display: block; }
.theme-cart-drawer__footer { padding: 1.5rem 2rem; border-top: 1px solid var(--color-border); display: flex; flex-direction: column; gap: 1rem; }
.theme-cart-drawer__subtotal { display: flex; align-items: baseline; justify-content: space-between; font-family: var(--font-display); font-size: 1.25rem; }
.theme-cart-drawer__note { font-size: 12px; color: var(--color-muted-foreground); }
.theme-cart-drawer__checkout { width: 100%; }

/* =====================================================================
 * 23. CHECKOUT BLOCK — Cart/Checkout block layout (Section 13)
 * ===================================================================== */

/* Unconstrain parent wrappers so the checkout block controls width */
body.woocommerce-checkout:not(.theme-thankyou-page) .site-main,
body.woocommerce-checkout:not(.theme-thankyou-page) .generic-page,
body.woocommerce-checkout:not(.theme-thankyou-page) .generic-page__inner,
body.woocommerce-checkout:not(.theme-thankyou-page) .container-wide,
body.woocommerce-checkout:not(.theme-thankyou-page) .entry-content,
body.woocommerce-checkout:not(.theme-thankyou-page) article,
body.woocommerce-checkout:not(.theme-thankyou-page) #page-content,
.entry-content .wp-block-woocommerce-checkout,
.entry-content .wc-block-checkout {
	box-sizing: border-box;
}

body.woocommerce-checkout:not(.theme-thankyou-page) .site-main,
body.woocommerce-checkout:not(.theme-thankyou-page) .generic-page {
	padding-top: var(--header-height, 88px);
	padding-bottom: 4rem;
}

body.woocommerce-checkout:not(.theme-thankyou-page) .generic-page__inner,
body.woocommerce-checkout:not(.theme-thankyou-page) .container-wide,
body.woocommerce-checkout:not(.theme-thankyou-page) .entry-content,
body.woocommerce-checkout:not(.theme-thankyou-page) article,
body.woocommerce-checkout:not(.theme-thankyou-page) #page-content {
	max-width: none;
	width: 100%;
}

/* Checkout root: centered max-width container */
body.woocommerce-checkout:not(.theme-thankyou-page) .entry-content .wp-block-woocommerce-checkout,
body.woocommerce-checkout:not(.theme-thankyou-page) .entry-content > .wc-block-checkout,
.entry-content .wp-block-woocommerce-checkout,
.entry-content > .wc-block-checkout {
	max-width: var(--checkout-max-width);
	margin-left: auto;
	margin-right: auto;
	width: 100%;
	box-sizing: border-box;
}

/* Notices — full content width, aligned with checkout */
body.woocommerce-checkout:not(.theme-thankyou-page) .wc-block-components-notices,
.entry-content .wc-block-checkout .wc-block-components-notices,
.entry-content .wp-block-woocommerce-checkout .wc-block-components-notices {
	max-width: var(--checkout-max-width);
	margin-left: auto;
	margin-right: auto;
	width: 100%;
	box-sizing: border-box;
}

/* Two-column layout on the real sidebar-layout wrapper */
body.woocommerce-checkout:not(.theme-thankyou-page) .entry-content .wc-block-components-sidebar-layout,
body.woocommerce-checkout:not(.theme-thankyou-page) .entry-content .wc-block-checkout-sidebar-layout,
.entry-content .wc-block-checkout .wc-block-components-sidebar-layout,
.entry-content .wc-block-checkout .wc-block-checkout-sidebar-layout,
.entry-content .wp-block-woocommerce-checkout .wc-block-components-sidebar-layout {
	display: grid !important;
	grid-template-columns: 1fr;
	gap: var(--checkout-gap);
	align-items: start;
	width: 100%;
	min-width: 0;
	max-width: 100%;
	margin-left: auto;
	margin-right: auto;
	box-sizing: border-box;
	flex-wrap: unset !important;
}

@media (min-width: 768px) {
	body.woocommerce-checkout:not(.theme-thankyou-page) .entry-content .wc-block-components-sidebar-layout,
	body.woocommerce-checkout:not(.theme-thankyou-page) .entry-content .wc-block-checkout-sidebar-layout,
	.entry-content .wc-block-checkout .wc-block-components-sidebar-layout,
	.entry-content .wc-block-checkout .wc-block-checkout-sidebar-layout,
	.entry-content .wp-block-woocommerce-checkout .wc-block-components-sidebar-layout {
		grid-template-columns: 1fr minmax(var(--checkout-sidebar-min), var(--checkout-sidebar-max));
	}
}

/* Notices inside the layout span full width */
body.woocommerce-checkout:not(.theme-thankyou-page) .wc-block-components-sidebar-layout > .wc-block-components-notices,
body.woocommerce-checkout:not(.theme-thankyou-page) .wc-block-checkout-sidebar-layout > .wc-block-components-notices,
.entry-content .wc-block-checkout .wc-block-components-sidebar-layout > .wc-block-components-notices {
	grid-column: 1 / -1;
	order: 1;
}

body.woocommerce-checkout:not(.theme-thankyou-page) .wc-block-components-notice-banner,
.entry-content .wc-block-checkout .wc-block-components-notice-banner {
	grid-column: 1 / -1;
}

/* Form column */
body.woocommerce-checkout:not(.theme-thankyou-page) .wc-block-components-main,
body.woocommerce-checkout:not(.theme-thankyou-page) .wc-block-checkout__main,
body.woocommerce-checkout:not(.theme-thankyou-page) .wp-block-woocommerce-checkout-fields-block,
.entry-content .wc-block-checkout .wc-block-components-main,
.entry-content .wc-block-checkout .wc-block-checkout__main {
	order: 2;
	flex: none !important;
	width: 100% !important;
	min-width: 0;
	max-width: 100%;
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}

/* Summary / totals column */
body.woocommerce-checkout:not(.theme-thankyou-page) .wc-block-components-sidebar,
body.woocommerce-checkout:not(.theme-thankyou-page) .wc-block-checkout__sidebar,
body.woocommerce-checkout:not(.theme-thankyou-page) .wp-block-woocommerce-checkout-totals-block,
.entry-content .wc-block-checkout .wc-block-components-sidebar,
.entry-content .wc-block-checkout .wc-block-checkout__sidebar {
	order: 3;
	flex: none !important;
	width: 100% !important;
	min-width: 0;
	max-width: 100%;
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}

@media (min-width: 768px) {
	body.woocommerce-checkout:not(.theme-thankyou-page) .wc-block-components-sidebar,
	body.woocommerce-checkout:not(.theme-thankyou-page) .wc-block-checkout__sidebar,
	body.woocommerce-checkout:not(.theme-thankyou-page) .wp-block-woocommerce-checkout-totals-block,
	.entry-content .wc-block-checkout .wc-block-components-sidebar,
	.entry-content .wc-block-checkout .wc-block-checkout__sidebar {
		min-width: var(--checkout-sidebar-min);
	}
}

body.woocommerce-checkout:not(.theme-thankyou-page) .wp-block-woocommerce-checkout-order-summary-block,
.entry-content .wc-block-checkout .wp-block-woocommerce-checkout-order-summary-block,
.entry-content .wp-block-woocommerce-checkout .wp-block-woocommerce-checkout-order-summary-block {
	width: 100%;
	min-width: 0;
	max-width: 100%;
	box-sizing: border-box;
	background-color: var(--color-secondary);
	border-radius: var(--card-radius);
	padding: var(--section-padding);
}

body.woocommerce-checkout:not(.theme-thankyou-page) .wc-block-checkout__sidebar,
body.woocommerce-checkout:not(.theme-thankyou-page) .wc-block-components-sidebar,
body.woocommerce-checkout:not(.theme-thankyou-page) .wp-block-woocommerce-checkout-totals-block,
.entry-content .wc-block-checkout .wc-block-checkout__sidebar,
.entry-content .wc-block-checkout .wc-block-components-sidebar,
.entry-content .wp-block-woocommerce-checkout .wc-block-checkout__sidebar,
.entry-content .wp-block-woocommerce-checkout .wc-block-components-sidebar,
.entry-content .wp-block-woocommerce-checkout .wp-block-woocommerce-checkout-totals-block {
	background: transparent;
	border-radius: 0;
	padding: 0;
}

body.woocommerce-checkout:not(.theme-thankyou-page) .wc-block-components-text-input input,
body.woocommerce-checkout:not(.theme-thankyou-page) .wc-block-components-select select,
body.woocommerce-checkout:not(.theme-thankyou-page) .wc-block-components-textarea textarea,
.entry-content .wc-block-checkout .wc-block-components-text-input input,
.entry-content .wc-block-checkout .wc-block-components-select select,
.entry-content .wc-block-checkout .wc-block-components-textarea textarea {
	width: 100% !important;
	max-width: none !important;
	font-family: var(--font-body);
	font-size: 14px;
	color: var(--color-foreground);
	border: 1px solid var(--color-border);
	border-radius: 6px;
	background-color: var(--color-background);
	box-sizing: border-box;
}
body.woocommerce-checkout:not(.theme-thankyou-page) .wc-block-components-text-input input:focus,
body.woocommerce-checkout:not(.theme-thankyou-page) .wc-block-components-select select:focus,
.entry-content .wc-block-checkout .wc-block-components-text-input input:focus,
.entry-content .wc-block-checkout .wc-block-components-select select:focus {
	outline: none;
	border-color: var(--color-primary);
	box-shadow: 0 0 0 1px var(--color-primary);
}
body.woocommerce-checkout:not(.theme-thankyou-page) .wc-block-components-text-input input::placeholder,
.entry-content .wc-block-checkout .wc-block-components-text-input input::placeholder {
	color: var(--color-muted-foreground);
}
body.woocommerce-checkout:not(.theme-thankyou-page) h2,
body.woocommerce-checkout:not(.theme-thankyou-page) .wc-block-components-title,
.entry-content .wc-block-checkout h2,
.entry-content .wc-block-checkout .wc-block-components-title {
	font-family: var(--font-display);
	font-weight: 600;
}
body.woocommerce-checkout:not(.theme-thankyou-page) .wc-block-components-checkout-place-order-button,
.entry-content .wc-block-checkout .wc-block-components-checkout-place-order-button {
	background: var(--gradient-brand) !important;
	color: var(--color-primary-foreground) !important;
	border-radius: var(--btn-radius) !important;
	text-transform: uppercase !important;
	font-family: var(--font-body) !important;
	font-size: var(--btn-font-size-compact) !important;
	font-weight: 700 !important;
	letter-spacing: var(--btn-letter-spacing-cart) !important;
}
body.woocommerce-checkout:not(.theme-thankyou-page) .wc-block-components-checkout-place-order-button:hover,
.entry-content .wc-block-checkout .wc-block-components-checkout-place-order-button:hover {
	opacity: 0.9 !important;
}
body.woocommerce-checkout:not(.theme-thankyou-page) .wc-block-components-notice-banner,
.entry-content .wc-block-checkout .wc-block-components-notice-banner {
	border-radius: 6px;
	font-family: var(--font-body);
}
body.woocommerce-checkout:not(.theme-thankyou-page) .wc-block-cart-items,
.entry-content .wc-block-checkout .wc-block-cart-items {
	font-family: var(--font-body);
}

/* Classic shortcode selectors kept in sync (Section 13.4) */
.woocommerce-checkout .form-row .input-text,
.woocommerce-checkout .form-row select {
	font-family: var(--font-body);
	border: 1px solid var(--color-border);
	border-radius: 6px;
	background-color: var(--color-background);
}

/* =====================================================================
 * 24. CART / ACCOUNT PAGE WIDTH PARITY (Section 13.7)
 * ===================================================================== */
body.woocommerce-cart .generic-page,
body.woocommerce-account .generic-page { padding-top: var(--header-height, 88px); }
body.woocommerce-cart .entry-content,
body.woocommerce-account .entry-content { max-width: 100%; }

/* =====================================================================
 * 25. THANK-YOU PAGE (Section 22.8)
 * ===================================================================== */
body.theme-thankyou-page { overflow-x: hidden; }
body.theme-thankyou-page .site-main,
body.theme-thankyou-page .generic-page { padding-top: var(--header-height, 88px); padding-bottom: 4rem; }
body.theme-thankyou-page .woocommerce-order h2,
body.theme-thankyou-page .woocommerce-order-details__title {
	font-family: var(--font-display);
	font-size: 1.75rem;
	padding: 0 0 1rem 0;
}
body.theme-thankyou-page .woocommerce-order-overview {
	display: flex; flex-wrap: wrap; gap: 1.5rem; list-style: none; padding: 0; margin: 0 0 2rem;
	border: 1px solid var(--color-border); border-radius: 8px; padding: 1.5rem;
}
body.theme-thankyou-page .woocommerce-order-overview li { font-size: 14px; }
body.theme-thankyou-page .woocommerce-order-overview li strong { display: block; font-family: var(--font-display); font-size: 1rem; margin-top: 0.25rem; }
body.theme-thankyou-page .woocommerce-order-details table {
	width: 100%;
	table-layout: fixed;
	border-collapse: collapse;
	margin-bottom: 2rem;
}
body.theme-thankyou-page .woocommerce-order-details table th,
body.theme-thankyou-page .woocommerce-order-details table td {
	padding: 0.75rem;
	border-bottom: 1px solid var(--color-border);
	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;
}
body.theme-thankyou-page .woocommerce-customer-details address {
	max-width: 480px;
	overflow-wrap: break-word;
	font-style: normal;
	line-height: 1.6;
}
