/* ==========================================================================
   Gardner Custom Designs — theme.css
   ========================================================================== */

:root {
	--color-background: #f4ecdb;
	--color-foreground: #263b45;
	--color-primary: #cc9f55;
	--color-primary-foreground: #223138;
	--color-secondary: #f1e2c6;
	--color-muted: #efe3c9;
	--color-muted-foreground: #5c6b71;
	--color-accent: #ab4632;
	--color-accent-foreground: #f9f2e2;
	--color-border: #dccba3;
	--color-tan-soft: #ddc08f;
	--color-tan-deep: #a97c40;
	--color-button-text: var(--color-accent-foreground);

	--font-display: 'Trocchi', serif;
	--font-body: 'Work Sans', sans-serif;

	--radius: 0.5rem;
	--card-radius: 1rem;
	--section-padding: 2rem;
	--header-height: 80px;
	--logo-height: 90px;
	--checkout-gap: 2rem;

	--btn-radius: 0.5rem;
	--btn-height: 3rem;
	--btn-padding: 0 1.75rem;
	--btn-font-size: 0.75rem;
	--btn-font-weight: 500;
	--btn-letter-spacing: 0.2em;
	--btn-text-transform: uppercase;
	--btn-icon-padding: 0;

	--transition-smooth: cubic-bezier(0.4, 0, 0.2, 1);
	--shadow-soft: 0 4px 20px -4px rgba(38, 59, 69, 0.1);
	--shadow-elevated: 0 12px 40px -8px rgba(38, 59, 69, 0.2);
}

/* Descender-safe heading reset (Section 2.2 #4) */
h1, h2, h3, h4, h5, h6, .font-display {
	font-weight: inherit;
	font-size: inherit;
	font-family: var(--font-display);
	letter-spacing: -0.01em;
	line-height: 1.15;
}

* { box-sizing: border-box; }
html, body { max-width: 100%; overflow-x: clip; }
body {
	margin: 0;
	background: var(--color-background);
	color: var(--color-foreground);
	font-family: var(--font-body);
	-webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
img:not(.cover-img):not(.hero-bg-img):not(.product-card-img):not(.theme-product-card-img):not(.theme-product-gallery-img):not(.theme-product-gallery-thumb-img):not(.site-logo-img):not(.site-footer__logo):not(.theme-hero__img):not(.theme-pill__avatar img):not(.theme-category-tile img):not(.theme-search-dialog__item-image img):not(.theme-cart-drawer__item-image img) {
	height: auto;
}
.cover-img, .hero-bg-img, .product-card-img, .theme-product-card-img,
.theme-hero__img, .theme-pill__avatar img, .theme-category-tile img,
.theme-search-dialog__item-image img, .theme-cart-drawer__item-image img {
	width: 100%;
	height: 100%;
	max-width: none;
	object-fit: cover;
}
.cover-img, .hero-bg-img, .product-card-img, .theme-product-card-img {
	position: absolute;
	inset: 0;
}
a { color: inherit; text-decoration: none; cursor: pointer; }
button, [role="button"], label[for], select, summary,
.theme-pill, .theme-category-tile, .theme-search-dialog__item,
.theme-nav-list a, .theme-nav-list button, .theme-link-underline,
.theme-filter-toggle, .theme-product-card, .theme-faq-item__question,
.theme-btn-primary, .theme-btn-accent, .theme-btn-outline, .theme-btn-gold,
.theme-btn-cta-gold, .theme-btn-cta-outline-light, .theme-attr-pill,
.site-footer__links a, .site-footer__links button {
	cursor: pointer;
}
button { font-family: inherit; }
input, textarea, select { font-family: inherit; }

.container-wide {
	width: 100%;
	max-width: 1400px;
	margin: 0 auto;
	padding-left: max(1.5rem, env(safe-area-inset-left, 0px));
	padding-right: max(1.5rem, env(safe-area-inset-right, 0px));
}
@media (min-width: 1024px) {
	.container-wide {
		padding-left: max(2rem, env(safe-area-inset-left, 0px));
		padding-right: max(2rem, env(safe-area-inset-right, 0px));
	}
}
@media (max-width: 1023px) {
	.theme-pill-rail-section > .container-wide,
	.theme-trustbar__grid.container-wide,
	.site-footer__inner.container-wide {
		padding-left: max(1.75rem, env(safe-area-inset-left, 0px));
		padding-right: max(1.75rem, env(safe-area-inset-right, 0px));
	}
}

/* ==========================================================================
   Reveal / scroll animation (Section 2.1)
   ========================================================================== */
.reveal-item, .theme-product-card-wrap.reveal-item {
	opacity: 0;
	transform: translateY(24px);
	transition: opacity 0.7s var(--transition-smooth), transform 0.7s var(--transition-smooth);
}
.reveal-item.is-visible, .theme-product-card-wrap.reveal-item.is-visible {
	opacity: 1;
	transform: translateY(0);
}
body.is-customizer .reveal-item,
body.is-customizer .theme-product-card-wrap.reveal-item {
	opacity: 1 !important;
	transform: none !important;
}
@media (prefers-reduced-motion: reduce) {
	.reveal-item, .theme-product-card-wrap.reveal-item { transition: none !important; opacity: 1 !important; transform: none !important; }
}

@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@keyframes kenburns { from { transform: scale(1); } to { transform: scale(1.08); } }
.animate-ken-burns { animation: kenburns 8s ease-out forwards; }

/* ==========================================================================
   Announcement bar
   ========================================================================== */
.announcement-bar {
	position: relative;
	background: var(--color-foreground);
	color: var(--color-background);
	height: 2.25rem;
	display: flex;
	align-items: center;
	overflow: hidden;
}
.announcement-bar__track { overflow: hidden; white-space: nowrap; flex: 1; }
.announcement-bar__group {
	display: inline-flex;
	align-items: center;
	animation: marquee 40s linear infinite;
}
.announcement-bar__item {
	display: inline-flex;
	align-items: center;
	margin: 0 2rem;
	font-size: 11px;
	letter-spacing: 0.25em;
	text-transform: uppercase;
	color: var(--color-tan-soft);
}
.announcement-bar__dot { width: 4px; height: 4px; border-radius: 50%; background: var(--color-primary); margin-right: 0.75rem; }
.announcement-bar__dismiss {
	position: absolute; right: 0.75rem; top: 50%; transform: translateY(-50%);
	background: none; border: none; color: inherit; opacity: 0.7; padding: 0.25rem;
}
.announcement-bar__dismiss:hover { opacity: 1; }

/* ==========================================================================
   Header
   ========================================================================== */
.site-header {
	position: sticky; top: 0; left: 0; right: 0; z-index: 50;
	background: transparent;
	border-bottom: 1px solid transparent;
	transition: background-color 0.3s var(--transition-smooth), border-color 0.3s var(--transition-smooth);
}
.site-header.is-solid {
	background: color-mix(in srgb, var(--color-background) 95%, transparent);
	backdrop-filter: blur(8px);
	border-bottom-color: var(--color-border);
	box-shadow: var(--shadow-soft);
}
.site-header.is-menu-open {
	background: color-mix(in srgb, var(--color-background) 95%, transparent);
	backdrop-filter: blur(8px);
	border-bottom-color: var(--color-border);
	box-shadow: var(--shadow-soft);
}
.site-header__nav { display: flex; align-items: center; justify-content: space-between; height: 4.5rem; gap: 1rem; }
@media (min-width: 768px) { .site-header__nav { height: 5.5rem; } }
.site-header__brand { display: flex; align-items: center; gap: 0.5rem; flex-shrink: 0; position: relative; overflow: visible; }
.site-logo-img {
	width: auto !important;
	max-width: none;
	max-height: 104px;
	display: block;
	object-fit: contain;
	transition: height 0.3s var(--transition-smooth), transform 0.3s var(--transition-smooth), max-height 0.3s var(--transition-smooth);
	height: 84px;
	transform: translateY(28px);
}
@media (min-width: 768px) {
	.site-logo-img { height: 104px; transform: translateY(36px); }
}
.site-header.is-solid .site-logo-img,
body.theme-no-hero .site-logo-img {
	height: 40px;
	max-height: 40px;
	transform: translateY(0);
}
@media (min-width: 768px) {
	.site-header.is-solid .site-logo-img,
	body.theme-no-hero .site-logo-img { height: 48px; max-height: 48px; }
}
.site-logo-text { font-family: var(--font-display); font-size: 1.5rem; line-height: 1; display: block; }
.theme-nav-list { display: none; list-style: none; margin: 0; padding: 0; align-items: center; gap: 2.25rem; }
@media (min-width: 1024px) { .theme-nav-list:not(.theme-nav-list--mobile) { display: flex; } }
.theme-nav-list a, .theme-nav-list button {
	background: none; border: none; color: inherit;
	font-size: 11px; letter-spacing: 0.28em; text-transform: uppercase; font-family: var(--font-body);
	position: relative; padding: 0;
}
.theme-nav-list a::after,
.theme-nav-list button.theme-nav-contact::after {
	content: ''; position: absolute; bottom: -4px; left: 0; width: 100%; height: 1px; background: currentColor;
	transform: scaleX(0); transform-origin: left; transition: transform 0.3s var(--transition-smooth);
}
.theme-nav-list a:hover::after,
.theme-nav-list button.theme-nav-contact:hover::after { transform: scaleX(1); }
.site-header__actions { display: flex; align-items: center; gap: 0.25rem; flex-shrink: 0; }
.site-header__icon-btn {
	position: relative; background: none; border: none; color: inherit; padding: 0.5rem; display: inline-flex;
	opacity: 1; transition: opacity 0.2s;
}
.site-header__icon-btn:hover { opacity: 0.6; }
.site-header__menu-btn { display: inline-flex; }
.site-header__menu-btn .site-header__menu-icon--close { display: none; }
.site-header.is-menu-open .site-header__menu-btn .site-header__menu-icon--open { display: none; }
.site-header.is-menu-open .site-header__menu-btn .site-header__menu-icon--close { display: block; }
@media (min-width: 1024px) { .site-header__menu-btn { display: none; } }
.theme-cart-count {
	position: absolute; top: 0; right: 0; min-width: 18px; height: 18px; padding: 0 4px;
	display: flex; align-items: center; justify-content: center; font-size: 11px; font-weight: 500;
	background: var(--color-primary); color: var(--color-primary-foreground); border-radius: 999px;
}
.theme-cart-count:empty { display: none; }
.site-header__mobile-menu { display: none; border-top: 1px solid var(--color-border); padding: 1rem 0 1.5rem; }
.site-header__mobile-menu.is-open { display: block; animation: theme-fade-in 0.2s ease; }
.site-header__mobile-menu .theme-nav-list--mobile,
.site-header__mobile-menu.is-open .theme-nav-list {
	display: flex;
	flex-direction: column;
	align-items: stretch;
	align-content: stretch;
	gap: 0;
	width: 100%;
}
.site-header__mobile-menu .theme-nav-list--mobile > li,
.site-header__mobile-menu.is-open .theme-nav-list > li {
	display: block;
	width: 100%;
	margin: 0;
}
.site-header__mobile-menu .theme-nav-list--mobile a,
.site-header__mobile-menu .theme-nav-list--mobile button,
.site-header__mobile-menu.is-open .theme-nav-list a,
.site-header__mobile-menu.is-open .theme-nav-list button {
	display: block;
	width: 100%;
	text-align: left;
	padding: 0.875rem 0;
	font-size: 0.875rem;
	line-height: 1.5;
	letter-spacing: 0.16em;
	text-transform: uppercase;
}
.theme-nav-list--mobile a::after,
.theme-nav-list--mobile button::after,
.site-header__mobile-menu.is-open .theme-nav-list a::after,
.site-header__mobile-menu.is-open .theme-nav-list button::after { display: none; }
.theme-nav-list--mobile a:hover,
.theme-nav-list--mobile button:hover,
.site-header__mobile-menu.is-open .theme-nav-list a:hover,
.site-header__mobile-menu.is-open .theme-nav-list button:hover { color: var(--color-primary); }

/* ==========================================================================
   Search dialog
   ========================================================================== */
.theme-search-dialog { position: fixed; inset: 0; z-index: 80; display: none; }
.theme-search-dialog.is-open { display: block; animation: theme-fade-in 0.2s ease; }
.theme-search-dialog__overlay {
	position: absolute; inset: 0; border: none; padding: 0; margin: 0;
	background: color-mix(in srgb, var(--color-foreground) 40%, transparent); cursor: pointer;
}
.theme-search-dialog__panel {
	position: relative; background: var(--color-background); width: 100%;
	max-height: 92vh; overflow-y: auto; border-bottom: 1px solid var(--color-border);
	box-shadow: var(--shadow-elevated);
}
.theme-search-dialog__close {
	position: absolute; top: 1.25rem; right: 1.25rem; z-index: 2;
	background: none; border: none; color: inherit; opacity: 0.7; padding: 0.5rem;
}
@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-top: 2.5rem; padding-bottom: 2.5rem; }
@media (min-width: 1024px) { .theme-search-dialog__inner { padding-top: 3.5rem; padding-bottom: 3.5rem; } }
@media (max-width: 1023px) {
	.theme-search-dialog__inner { overflow-x: clip; }
	.theme-search-dialog__layout { gap: 1.5rem; }
	.theme-search-dialog__grid { gap: 1rem; }
}
.theme-search-dialog__layout {
	display: grid; grid-template-columns: 1fr; gap: 2.5rem;
}
@media (min-width: 1024px) {
	.theme-search-dialog__layout { grid-template-columns: 260px 1fr; gap: 4rem; }
}
.theme-search-dialog__sidebar-title {
	font-family: var(--font-display); font-size: 1.5rem; margin: 0 0 1.5rem;
}
.theme-search-dialog__categories { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 0.875rem; }
.theme-search-dialog__category-link {
	font-size: 12px; letter-spacing: 0.22em; text-transform: uppercase;
	color: color-mix(in srgb, var(--color-foreground) 85%, transparent);
}
.theme-search-dialog__category-link:hover { color: var(--color-primary); }
.theme-search-dialog__main { padding-right: 0; }
@media (min-width: 1024px) { .theme-search-dialog__main { padding-right: 4rem; } }
.theme-search-dialog__form {
	display: flex; align-items: center; gap: 0.75rem;
	border-bottom: 1px solid var(--color-border); padding-bottom: 0.75rem;
}
.theme-search-dialog__form input {
	flex: 1; border: none; background: transparent; font-family: var(--font-display);
	font-size: 1.5rem; outline: none; color: var(--color-foreground);
}
.theme-search-dialog__form input::placeholder { color: var(--color-muted-foreground); }
.theme-search-dialog__results { margin-top: 2.5rem; }
.theme-search-dialog__results-title {
	font-family: var(--font-display); font-size: 1.5rem; margin: 0 0 1.5rem;
}
.theme-search-dialog__empty { font-size: 0.875rem; color: var(--color-muted-foreground); }
.theme-search-dialog__grid {
	display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem;
}
@media (min-width: 768px) { .theme-search-dialog__grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1024px) { .theme-search-dialog__grid { grid-template-columns: repeat(4, 1fr); gap: 2rem; } }
.theme-search-dialog__item { display: block; text-align: left; color: inherit; }
.theme-search-dialog__item-image {
	display: block; aspect-ratio: 1; overflow: hidden; background: var(--color-secondary);
}
.theme-search-dialog__item-image img { transition: transform 0.7s ease; }
.theme-search-dialog__item:hover .theme-search-dialog__item-image img { transform: scale(1.05); }
.theme-search-dialog__item-name {
	display: block; margin-top: 0.75rem; font-size: 12px; letter-spacing: 0.24em;
	text-transform: uppercase; line-height: 1.35;
}
.theme-search-dialog__item-price {
	display: block; margin-top: 0.25rem; font-size: 12px; color: var(--color-muted-foreground);
}
@keyframes theme-fade-in { from { opacity: 0; } to { opacity: 1; } }

/* ==========================================================================
   Buttons
   ========================================================================== */
.theme-btn-primary, .theme-btn-accent, .theme-btn-outline, .theme-btn-outline-light {
	display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
	min-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);
	border: none; cursor: pointer; transition: opacity 0.2s ease, transform 0.18s var(--transition-smooth);
}
.theme-btn-primary { background: var(--color-accent); color: var(--color-accent-foreground); }
.theme-btn-accent { background: var(--color-accent); color: var(--color-accent-foreground); }
.theme-btn-outline { background: transparent; color: var(--color-foreground); border: 1px solid var(--color-foreground); }
.theme-btn-outline-light { background: transparent; color: #fff; border: 1px solid color-mix(in srgb, #fff 60%, transparent); }
.theme-btn-primary:hover, .theme-btn-accent:hover { opacity: 0.9; }
.theme-btn-outline:hover { background: var(--color-foreground); color: var(--color-background); }
.theme-btn-outline-light:hover { background: #fff; color: var(--color-foreground); }
.btn-hero-primary, .btn-hero-outline, .single-product .single_add_to_cart_button { text-transform: none; }
.theme-link-underline { position: relative; display: inline-flex; align-items: center; gap: 0.5rem; font-size: 11px; letter-spacing: 0.28em; text-transform: uppercase; color: var(--color-muted-foreground); background: none; border: none; }
.theme-link-underline:hover { color: var(--color-foreground); }

/* ==========================================================================
   Hero
   ========================================================================== */
.theme-hero { position: relative; height: 100svh; width: 100%; overflow: hidden; background: var(--color-background); }
html.admin-bar .theme-hero { height: calc(100svh - var(--wp-admin--admin-bar--height, 32px)); min-height: calc(100svh - var(--wp-admin--admin-bar--height, 32px)); }
@media screen and (max-width: 782px) {
	html.admin-bar .theme-hero { height: calc(100svh - var(--wp-admin--admin-bar--height, 46px)); min-height: calc(100svh - var(--wp-admin--admin-bar--height, 46px)); }
}
body.theme-no-hero .site-main { padding-top: var(--header-height); }
.theme-hero__slide { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; transition: opacity 0.9s ease-in-out; margin: 0; }
.theme-hero__slide.is-active { opacity: 1; }
.theme-hero__img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.theme-hero__wash {
	position: absolute; inset: 0;
	background: linear-gradient(to top, color-mix(in srgb, var(--color-background) 90%, transparent), color-mix(in srgb, var(--color-background) 55%, transparent) 55%, color-mix(in srgb, var(--color-background) 15%, transparent));
}
@media (min-width: 768px) {
	.theme-hero__wash { background: linear-gradient(to right, color-mix(in srgb, var(--color-background) 80%, transparent), color-mix(in srgb, var(--color-background) 45%, transparent) 55%, color-mix(in srgb, var(--color-background) 10%, transparent)); }
}
.theme-hero__content-wrap {
	position: relative; height: 100%; display: flex; align-items: flex-end;
	padding-top: 5rem; padding-bottom: 5.5rem;
}
@media (min-width: 768px) {
	.theme-hero__content-wrap { align-items: center; padding-top: 0; padding-bottom: 4rem; }
}
.theme-hero__content { max-width: 36rem; width: 100%; min-width: 0; padding-bottom: 0.5rem; }
.theme-hero__eyebrow { display: block; font-size: 11px; letter-spacing: 0.32em; text-transform: uppercase; color: var(--color-accent); margin-bottom: 1rem; }
.theme-hero__title { font-size: 42px; line-height: 1.02; margin: 0 0 1rem; color: var(--color-foreground); }
@media (min-width: 640px) { .theme-hero__title { font-size: 3.75rem; } }
@media (min-width: 1024px) { .theme-hero__title { font-size: 4.5rem; } }
@media (min-width: 1280px) { .theme-hero__title { font-size: 5.75rem; } }
.theme-hero__subtitle { font-size: 0.875rem; max-width: 28rem; line-height: 1.6; margin: 0 0 1.5rem; color: color-mix(in srgb, var(--color-foreground) 90%, transparent); }
@media (min-width: 768px) { .theme-hero__subtitle { font-size: 1.125rem; margin-bottom: 2.5rem; } }
.theme-hero__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem; margin-bottom: 1.5rem; }
@media (min-width: 768px) { .theme-hero__actions { margin-bottom: 3rem; } }
.theme-hero__cta-secondary { display: inline-flex; align-items: center; gap: 0.75rem; font-size: 0.875rem; text-transform: none; letter-spacing: normal; }
.theme-hero__cta-secondary-icon { width: 2.25rem; height: 2.25rem; border-radius: 50%; border: 1px solid var(--color-foreground); display: inline-flex; align-items: center; justify-content: center; }
.theme-hero__trust-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0.5rem; max-width: 32rem; }
@media (min-width: 640px) { .theme-hero__trust-grid { gap: 1rem; } }
.theme-hero__trust-item { display: flex; align-items: flex-start; gap: 0.5rem; }
.theme-hero__trust-title { font-size: 12px; font-weight: 600; line-height: 1.2; margin: 0; }
.theme-hero__trust-copy { font-size: 11px; opacity: 0.75; line-height: 1.2; margin: 0; display: none; }
@media (min-width: 640px) { .theme-hero__trust-copy { display: block; } }
.theme-hero__indicators { position: absolute; bottom: 1.5rem; left: 50%; transform: translateX(-50%); display: flex; gap: 0.5rem; z-index: 10; pointer-events: auto; }
@media (min-width: 768px) { .theme-hero__indicators { left: auto; right: 2rem; bottom: 2rem; transform: none; } }
.theme-hero__indicator { height: 6px; width: 16px; border-radius: 999px; background: color-mix(in srgb, var(--color-foreground) 30%, transparent); border: none; padding: 0; transition: all 0.3s; }
.theme-hero__indicator.is-active { width: 32px; background: var(--color-foreground); }

/* ==========================================================================
   Pill rail
   ========================================================================== */
.theme-pill-rail-section { position: relative; background: var(--color-background); padding-top: 2.5rem; overflow-x: clip; }
@media (min-width: 768px) { .theme-pill-rail-section { padding-top: 3.5rem; } }
.theme-pill-rail {
	background: color-mix(in srgb, var(--color-secondary) 70%, var(--color-background));
	border: 1px solid var(--color-border); border-radius: 1rem; box-shadow: var(--shadow-elevated);
	padding: 1.5rem 1.5rem; display: flex; gap: 1rem; overflow-x: auto; -ms-overflow-style: none; scrollbar-width: none;
	max-width: 100%;
}
.theme-pill-rail::-webkit-scrollbar { display: none; }
@media (min-width: 1024px) { .theme-pill-rail { justify-content: space-around; padding: 2rem 1.5rem; overflow: visible; } }
@media (min-width: 768px) and (max-width: 1023px) {
	.theme-pill-rail {
		flex-wrap: wrap;
		justify-content: center;
		overflow-x: visible;
		padding: 1.5rem 1rem;
		gap: 1.25rem 0.75rem;
	}
}
@media (max-width: 767px) {
	.theme-pill-rail {
		flex-wrap: wrap;
		justify-content: center;
		overflow-x: visible;
		padding: 1.25rem 1rem;
		gap: 1.25rem 0.75rem;
	}
	.theme-pill {
		flex: 0 0 calc(33.333% - 0.5rem);
		max-width: calc(33.333% - 0.5rem);
	}
}
.theme-pill { display: flex; flex-direction: column; align-items: center; gap: 0.5rem; flex-shrink: 0; background: none; border: none; color: inherit; }
.theme-pill__avatar { width: 64px; height: 64px; border-radius: 50%; overflow: hidden; background: var(--color-muted); border: 1px solid var(--color-border); position: relative; }
@media (min-width: 768px) { .theme-pill__avatar { width: 72px; height: 72px; } }
.theme-pill__avatar img { position: absolute; inset: 0; }
.theme-pill__label { font-size: 12px; line-height: 1.25; text-align: center; }
@media (min-width: 768px) { .theme-pill__label { white-space: nowrap; } }
@media (max-width: 767px) {
	.theme-pill__label {
		font-size: 11px;
		white-space: normal;
		max-width: 5.5rem;
	}
}

/* ==========================================================================
   Section heading utilities (Section 2.2 #5 — per-section scale)
   ========================================================================== */
.theme-eyebrow { display: block; font-size: 11px; letter-spacing: 0.32em; text-transform: uppercase; color: var(--color-accent); margin-bottom: 0.75rem; }
.theme-eyebrow--gold { color: var(--color-tan-deep); }
.theme-eyebrow--center { text-align: center; }
.theme-section-heading-row { display: flex; flex-direction: column; align-items: flex-start; justify-content: space-between; gap: 1rem; margin-bottom: 2rem; }
@media (min-width: 768px) { .theme-section-heading-row { flex-direction: row; align-items: flex-end; margin-bottom: 3rem; } }

.about-section.section-heading { font-size: 2.25rem; line-height: 1.05; }
@media (min-width: 768px) { .about-section.section-heading { font-size: 3rem; } }
@media (min-width: 1024px) { .about-section.section-heading { font-size: 3.75rem; } }
.offerings-section.section-heading { font-size: 1.875rem; line-height: 1.05; }
@media (min-width: 768px) { .offerings-section.section-heading { font-size: 3rem; } }
.shop-heading { font-size: 1.875rem; }
@media (min-width: 768px) { .shop-heading { font-size: 2.25rem; } }
.cta-band__title { font-size: 2.25rem; line-height: 1.05; max-width: 56rem; margin: 0 auto 1.5rem; }
@media (min-width: 768px) { .cta-band__title { font-size: 3.75rem; } }
@media (min-width: 1024px) { .cta-band__title { font-size: 4.5rem; } }

section, main { padding-top: 0; }
.theme-collections-section, .theme-bestsellers-section, .theme-newsletter-section, .theme-about-section, .theme-faq-section { padding: 4rem 0; }
@media (min-width: 768px) { .theme-collections-section, .theme-bestsellers-section, .theme-newsletter-section, .theme-about-section, .theme-faq-section { padding: 6rem 0; } }
.theme-promo-section { padding-bottom: 4rem; }
@media (min-width: 768px) { .theme-promo-section { padding-bottom: 6rem; } }
.theme-faq-section, .theme-shop-section { border-top: 1px solid var(--color-border); scroll-margin-top: 6rem; }
.theme-shop-section > .container-wide { padding-top: 4rem; }
@media (min-width: 768px) { .theme-shop-section > .container-wide { padding-top: 6rem; } }
.theme-about-section { background: color-mix(in srgb, var(--color-secondary) 60%, transparent); border-top: 1px solid var(--color-border); scroll-margin-top: 6rem; }

/* ==========================================================================
   Collections category tiles
   ========================================================================== */
.theme-category-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0.75rem; }
@media (min-width: 1024px) { .theme-category-grid { grid-template-columns: repeat(4, 1fr); gap: 1rem; } }
.theme-category-tile { position: relative; aspect-ratio: 3/4; overflow: hidden; border-radius: 0.75rem; text-align: left; border: none; padding: 0; background: none; }
.theme-category-tile img { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; object-fit: cover; transition: transform 0.7s ease-out; }
.theme-category-tile:hover img { transform: scale(1.05); }
.theme-category-tile__wash { 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) 10%, transparent) 60%, transparent); }
.theme-category-tile__info { position: absolute; left: 1rem; bottom: 1rem; color: #fff; }
.theme-category-tile__title { display: block; font-size: 1.125rem; margin-bottom: 0.25rem; }
@media (min-width: 768px) { .theme-category-tile__title { font-size: 1.25rem; } }
.theme-category-tile__cta { display: inline-flex; align-items: center; gap: 0.375rem; font-size: 12px; }

/* ==========================================================================
   Promo bento
   ========================================================================== */
.theme-promo-grid { display: grid; grid-template-columns: 1fr; gap: 0.75rem; }
@media (min-width: 768px) { .theme-promo-grid { grid-template-columns: 1fr 1fr; gap: 1rem; } }
.theme-promo-card { position: relative; overflow: hidden; border-radius: 0.75rem; background: var(--color-secondary); }
.theme-promo-card:nth-child(2) { background: var(--color-muted); }
.theme-promo-card__inner { display: grid; grid-template-columns: 1fr; align-items: center; min-height: 220px; }
@media (min-width: 768px) { .theme-promo-card__inner { grid-template-columns: 1fr 1fr; min-height: 280px; } }
.theme-promo-card__copy { padding: 1.5rem; }
@media (min-width: 768px) { .theme-promo-card__copy { padding: 2.5rem; } }
.theme-promo-card__tag { display: inline-block; font-size: 10px; letter-spacing: 0.28em; text-transform: uppercase; color: var(--color-muted-foreground); border: 1px solid var(--color-border); border-radius: 0.375rem; padding: 0.25rem 0.75rem; margin-bottom: 0.75rem; }
.theme-promo-card__title { font-size: 1.25rem; line-height: 1.2; margin: 0 0 1.25rem; }
@media (min-width: 768px) { .theme-promo-card__title { font-size: 1.875rem; } }
.theme-promo-card__image { position: relative; min-height: 220px; order: -1; }
@media (min-width: 768px) { .theme-promo-card__image { min-height: 280px; order: 1; } }

/* ==========================================================================
   Product cards + grid (Section 31.3, 31.9, 15.1)
   ========================================================================== */
.theme-product-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.75rem; align-items: stretch; width: 100%; min-width: 0; }
.theme-shop-section .theme-product-grid { margin-top: 2.5rem; }
@media (min-width: 768px) { .theme-product-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem; } }
@media (min-width: 1024px) { .theme-product-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.25rem; } }
.theme-product-grid--four { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.75rem; }
.theme-product-grid--four { margin-top: 0; }
@media (min-width: 768px) { .theme-product-grid--four { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; } }

.theme-product-card-wrap { display: flex; flex-direction: column; height: 100%; min-width: 0; }
.theme-product-card {
	position: relative; display: flex; flex-direction: column; height: 100%; min-width: 0;
	background: color-mix(in srgb, var(--color-background) 40%, #fff);
	border: 1px solid color-mix(in srgb, var(--color-border) 60%, transparent);
	border-radius: var(--radius);
	overflow: hidden; transition: transform 0.35s var(--transition-smooth), box-shadow 0.35s var(--transition-smooth);
}
.theme-product-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-elevated); }
.theme-product-card > .theme-card-link { position: absolute; inset: 0; z-index: 2; pointer-events: auto; }
.theme-product-card__image-wrapper,
.theme-product-card__body { pointer-events: none; }
.theme-product-card__add.add_to_cart_button.ajax_add_to_cart { pointer-events: auto; }
.theme-product-card__image-wrapper { position: relative; aspect-ratio: 4/5; overflow: hidden; background: var(--color-muted); flex-shrink: 0; }
.theme-product-card__image-wrapper .product-card-img,
.theme-product-card__image-wrapper img { transition: transform 0.8s cubic-bezier(0.25,0.4,0.25,1); }
.theme-product-card:hover .theme-product-card__image-wrapper img { transform: scale(1.05); }
.theme-product-card__image-wrapper > a { position: absolute; inset: 0; display: block; }
.theme-product-card__badge { position: absolute; top: 0.75rem; left: 0.75rem; padding: 0.25rem 0.75rem; font-size: 10px; text-transform: uppercase; letter-spacing: 0.24em; background: var(--color-foreground); color: var(--color-background); border-radius: 0.375rem; z-index: 3; }
.theme-product-card__body { padding: 1rem; display: flex; flex-direction: column; gap: 0.375rem; flex: 1; text-align: left; }
.theme-product-card__category { font-size: 10px; text-transform: uppercase; letter-spacing: 0.2em; color: var(--color-muted-foreground); }
.theme-product-card__title { font-family: var(--font-body); font-size: 0.875rem; font-weight: 500; margin: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0; color: var(--color-foreground); }
.theme-product-card__meta-row { margin-top: auto; padding-top: 0.375rem; }
.theme-product-card__actions { display: flex; align-items: center; justify-content: space-between; gap: 0.5rem; min-width: 0; }
.theme-product-card__actions-left { display: flex; align-items: center; gap: 0.5rem; min-width: 0; }
.theme-product-card__price { font-family: var(--font-body); font-size: 0.875rem; font-weight: 500; min-width: 0; overflow: hidden; text-overflow: ellipsis; color: var(--color-foreground); }
.theme-product-card__price del { opacity: 0.5; margin-right: 0.35em; }
.theme-product-card__add.add_to_cart_button.ajax_add_to_cart {
	position: relative; z-index: 3; pointer-events: auto;
	width: 1.75rem; height: 1.75rem; min-height: unset; padding: var(--btn-icon-padding) !important;
	display: inline-flex; align-items: center; justify-content: center; border-radius: 50%;
	background: var(--color-accent) !important; color: var(--color-accent-foreground) !important;
	flex-shrink: 0; transition: opacity 0.2s;
}
.theme-product-card__add.add_to_cart_button.ajax_add_to_cart:hover { opacity: 0.9; }
.theme-product-card__swatches { display: flex; align-items: center; gap: 0.25rem; flex-shrink: 0; pointer-events: none; }
.theme-product-card__swatch {
	width: 0.75rem; height: 0.75rem; border-radius: 50%;
	border: 1px solid color-mix(in srgb, var(--color-border) 60%, transparent);
	transition: transform 0.2s var(--transition-smooth), box-shadow 0.2s var(--transition-smooth);
}
.theme-product-card:hover .theme-product-card__swatch { transform: scale(1.05); }

/* ==========================================================================
   Best sellers / shop controls
   ========================================================================== */
.theme-shop-section__heading { position: relative; text-align: center; margin-bottom: 1.5rem; }
.theme-filter-toggle { position: absolute; right: 0; bottom: 0; display: inline-flex; align-items: center; gap: 0.5rem; font-size: 11px; letter-spacing: 0.28em; text-transform: uppercase; color: var(--color-muted-foreground); background: none; border: none; }
.theme-filter-toggle svg { transition: transform 0.3s; }
.theme-filter-toggle.is-open svg { transform: rotate(180deg); }
.theme-shop-controls { display: flex; flex-wrap: wrap; align-items: center; gap: 2rem 2rem; padding-bottom: 1.25rem; border-bottom: 1px solid var(--color-border); }
.theme-shop-select { display: flex; align-items: center; gap: 0.75rem; }
.theme-shop-select span { font-size: 10px; letter-spacing: 0.32em; text-transform: uppercase; color: var(--color-muted-foreground); }
.theme-shop-select select { appearance: none; background: transparent; border: none; border-bottom: 1px solid var(--color-border); border-radius: 0; padding: 0.25rem 1.25rem 0.25rem 0; font-size: 11px; letter-spacing: 0.28em; text-transform: uppercase; color: var(--color-foreground); }
.theme-shop-filter-panel { display: grid; grid-template-columns: 1fr; gap: 2rem; padding: 1.5rem 0; border-bottom: 1px solid var(--color-border); }
.theme-shop-filter-panel[hidden] { display: none !important; }
@media (min-width: 768px) { .theme-shop-filter-panel { grid-template-columns: 1fr 1fr; } }
.theme-shop-filter-panel__search { position: relative; display: flex; align-items: center; }
.theme-shop-filter-panel__search svg { position: absolute; left: 0; color: var(--color-muted-foreground); }
.theme-shop-filter-panel__search input { width: 100%; border: none; border-bottom: 1px solid var(--color-border); background: transparent; padding: 0.5rem 0 0.5rem 1.75rem; font-size: 0.875rem; }
.theme-shop-filter-panel__price-label { display: flex; justify-content: space-between; font-size: 11px; letter-spacing: 0.24em; text-transform: uppercase; color: var(--color-muted-foreground); margin-bottom: 0.75rem; }
.theme-shop-empty { text-align: center; padding: 4rem 0; color: var(--color-muted-foreground); }
.theme-shop-section .container-wide { padding-bottom: 4rem; }
@media (min-width: 768px) { .theme-shop-section .container-wide { padding-bottom: 6rem; } }
.theme-shop-loadmore { text-align: center; margin-top: 2.5rem; margin-bottom: 1rem; }

/* Dual-range price slider (Section 31.4) */
.price-range-wrapper { position: relative; height: 1.5rem; }
.range-track-bg, .range-track-fill { position: absolute; height: 4px; top: 50%; transform: translateY(-50%); pointer-events: none; border-radius: 999px; }
.range-track-bg { left: 0; right: 0; background: var(--color-border); }
.range-track-fill { background: var(--color-primary); }
.range-input { position: absolute; left: 0; top: 0; width: 100%; height: 100%; margin: 0; -webkit-appearance: none; appearance: none; background: transparent; pointer-events: none; }
.range-input::-webkit-slider-thumb { -webkit-appearance: none; pointer-events: auto; width: 16px; height: 16px; border-radius: 50%; background: var(--color-primary); border: 2px solid var(--color-background); box-shadow: var(--shadow-soft); cursor: pointer; }
.range-input::-moz-range-thumb { pointer-events: auto; width: 16px; height: 16px; border-radius: 50%; background: var(--color-primary); border: 2px solid var(--color-background); cursor: pointer; }
.range-input--max { z-index: 3; }
.range-input--min { z-index: 4; }

/* ==========================================================================
   Trust bar
   ========================================================================== */
.theme-trustbar { background: var(--color-secondary); margin-top: 2rem; overflow-x: clip; }
@media (min-width: 768px) { .theme-trustbar { margin-top: 3rem; } }
.theme-trustbar__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.5rem; padding: 1.5rem 0; }
@media (min-width: 768px) and (max-width: 1023px) {
	.theme-trustbar__grid {
		gap: 1.25rem;
		padding: 1.75rem 0;
	}
}
@media (min-width: 1024px) { .theme-trustbar__grid { grid-template-columns: repeat(4, 1fr); padding: 2rem 0; } }
@media (max-width: 639px) {
	.theme-trustbar__grid {
		grid-template-columns: 1fr;
		gap: 1.25rem;
		padding: 1.75rem 0;
	}
}
.theme-trustbar__item { display: flex; align-items: flex-start; gap: 0.75rem; min-width: 0; }
.theme-trustbar__item > div { min-width: 0; flex: 1; }
.theme-trustbar__title { font-size: 0.875rem; font-weight: 600; margin: 0; }
.theme-trustbar__copy { font-size: 12px; color: var(--color-muted-foreground); margin: 0; overflow-wrap: anywhere; }
.theme-trustbar__icon { width: 2.5rem; height: 2.5rem; border-radius: 50%; background: var(--color-background); display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; }

/* ==========================================================================
   Newsletter
   ========================================================================== */
.theme-newsletter-card { display: grid; grid-template-columns: 1fr; border-radius: 1rem; overflow: hidden; background: var(--color-muted); }
@media (min-width: 768px) { .theme-newsletter-card { grid-template-columns: 1fr 1fr; } }
.theme-newsletter-card__image { position: relative; min-height: 280px; }
@media (min-width: 768px) { .theme-newsletter-card__image { min-height: 420px; } }
.theme-newsletter-card__content { padding: 2rem; display: flex; flex-direction: column; justify-content: center; }
@media (min-width: 768px) { .theme-newsletter-card__content { padding: 3.5rem; } }
.theme-newsletter-card__eyebrow { display: inline-flex; align-items: center; gap: 0.5rem; font-size: 11px; letter-spacing: 0.28em; text-transform: uppercase; color: var(--color-muted-foreground); margin-bottom: 1rem; }
.theme-newsletter-card__title { font-size: 1.875rem; line-height: 1.05; margin: 0 0 1rem; }
@media (min-width: 768px) { .theme-newsletter-card__title { font-size: 2.5rem; } }
@media (min-width: 1024px) { .theme-newsletter-card__title { font-size: 3rem; } }
.theme-newsletter-card__copy { color: var(--color-muted-foreground); max-width: 28rem; margin-bottom: 2rem; }
.theme-newsletter-card__form, .site-footer__newsletter-form { position: relative; max-width: 28rem; display: flex; }
.theme-newsletter-card__form input, .site-footer__newsletter-form input {
	width: 100%; height: 3rem; border-radius: var(--radius); background: var(--color-background);
	border: 1px solid var(--color-border); padding: 0 8rem 0 1.25rem; font-size: 0.875rem;
}
.site-footer__newsletter-form input { padding: 0 3rem 0 1rem; background: var(--color-background); color: var(--color-foreground); }
.theme-newsletter-card__form button, .site-footer__newsletter-form button {
	position: absolute; right: 0.25rem; top: 50%; transform: translateY(-50%);
	height: 2.5rem; padding: 0 1.25rem; border-radius: var(--radius); border: none;
	background: var(--color-primary); color: var(--color-foreground); font-size: 12px; letter-spacing: 0.18em; text-transform: uppercase;
}
.site-footer__newsletter-form button { width: 2.25rem; padding: 0; display: inline-flex; align-items: center; justify-content: center; }

/* ==========================================================================
   About
   ========================================================================== */
.theme-about-grid { display: grid; grid-template-columns: 1fr; gap: 2.5rem; align-items: stretch; }
@media (min-width: 768px) { .theme-about-grid { grid-template-columns: 1fr 1fr; gap: 4rem; } }
.theme-about-grid__image { position: relative; overflow: hidden; border-radius: 1rem; min-height: 420px; }
@media (min-width: 768px) { .theme-about-grid__image { min-height: 520px; } }
.theme-about-grid__content { display: flex; flex-direction: column; justify-content: center; }
.theme-about-grid__body { color: var(--color-muted-foreground); line-height: 1.8; margin: 0 0 1.25rem; }
.theme-btn-gold {
	align-self: flex-start; display: inline-flex; align-items: center; gap: 0.5rem;
	height: 2.75rem; padding: 0 1.5rem; border-radius: var(--radius); border: none;
	background: var(--color-primary); color: var(--color-foreground);
	font-size: 12px; letter-spacing: 0.24em; text-transform: uppercase;
	transition: background-color 0.2s ease;
}
.theme-btn-gold:hover { background: var(--color-tan-deep); }

/* ==========================================================================
   FAQ
   ========================================================================== */
.theme-faq-wrap { max-width: 48rem; margin: 0 auto; }
.theme-faq-heading { text-align: center; font-size: 2.25rem; line-height: 1.05; margin-bottom: 3rem; }
@media (min-width: 768px) { .theme-faq-heading { font-size: 3rem; } }
.theme-faq-item { border-bottom: 1px solid var(--color-border); }
.theme-faq-item__question { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; padding: 1.25rem 0; background: none; border: none; text-align: left; font-size: 1.125rem; color: inherit; font-family: var(--font-display); }
@media (min-width: 768px) { .theme-faq-item__question span:first-child { font-size: 1.25rem; } }
.theme-faq-item__icon { flex-shrink: 0; display: inline-flex; align-items: center; justify-content: center; transition: transform 0.2s; }
.theme-faq-item.is-open .theme-faq-item__icon svg line:first-child { display: none; }
.theme-faq-item__answer { max-height: 0; overflow: hidden; transition: max-height 0.3s var(--transition-smooth); }
.theme-faq-item.is-open .theme-faq-item__answer { max-height: 500px; }
.theme-faq-item__answer p { color: var(--color-muted-foreground); line-height: 1.7; padding-bottom: 1.5rem; margin: 0; }

/* ==========================================================================
   Contact CTA band
   ========================================================================== */
.theme-contact-cta { position: relative; overflow: hidden; background: var(--color-foreground); min-height: 70vh; display: flex; align-items: center; justify-content: center; }
@media (min-width: 768px) { .theme-contact-cta { min-height: 75vh; } }
.theme-contact-cta__media { position: absolute; inset: 0; }
.theme-contact-cta__video { object-fit: cover; }
@media (prefers-reduced-motion: reduce) {
	.theme-contact-cta__video { display: none; }
}
.theme-contact-cta__scrim {
	position: absolute; inset: 0;
	background: linear-gradient(to top, color-mix(in srgb, var(--color-foreground) 80%, transparent), color-mix(in srgb, var(--color-foreground) 30%, transparent) 50%, color-mix(in srgb, var(--color-foreground) 60%, transparent));
}
.theme-contact-cta__scrim--base { background: color-mix(in srgb, var(--color-foreground) 55%, transparent); }
.theme-contact-cta__content { position: relative; z-index: 1; text-align: center; color: #fff; padding: 5rem 0; }
@media (min-width: 768px) { .theme-contact-cta__content { padding: 7rem 0; } }
.theme-contact-cta__eyebrow { display: block; font-size: 11px; letter-spacing: 0.32em; text-transform: uppercase; color: var(--color-primary); margin-bottom: 1.25rem; }
.theme-contact-cta__copy { max-width: 36rem; margin: 0 auto 2.5rem; font-size: 1rem; color: color-mix(in srgb, #fff 80%, transparent); }
@media (min-width: 768px) { .theme-contact-cta__copy { font-size: 1.125rem; } }
.theme-contact-cta__actions { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 0.75rem; }
@media (min-width: 640px) { .theme-contact-cta__actions { flex-direction: row; gap: 1rem; } }
.theme-btn-cta-gold {
	display: inline-flex; align-items: center; gap: 0.5rem; padding: 1rem 2rem;
	background: var(--color-primary); color: var(--color-foreground);
	font-size: 0.875rem; letter-spacing: 0.18em; text-transform: uppercase;
	border-radius: var(--radius); border: none; transition: background-color 0.2s ease;
}
.theme-btn-cta-gold:hover { background: var(--color-tan-deep); }
.theme-btn-cta-outline-light {
	display: inline-flex; align-items: center; gap: 0.5rem; padding: 1rem 2rem;
	border: 1px solid color-mix(in srgb, #fff 60%, transparent); color: #fff;
	background: transparent; font-size: 0.875rem; letter-spacing: 0.18em; text-transform: uppercase;
	border-radius: var(--radius); transition: background-color 0.2s ease, color 0.2s ease;
}
.theme-btn-cta-outline-light:hover { background: #fff; color: var(--color-foreground); }

/* ==========================================================================
   Cart drawer
   ========================================================================== */
#theme-cart-overlay { position: fixed; inset: 0; background: color-mix(in srgb, var(--color-foreground) 20%, transparent); z-index: 90; opacity: 0; pointer-events: none; transition: opacity 0.3s; }
body.cart-open #theme-cart-overlay { opacity: 1; pointer-events: auto; }
#theme-cart-drawer {
	position: fixed; right: 0; top: 0; height: 100%; width: 100%; max-width: 28rem; background: var(--color-background);
	z-index: 91; box-shadow: var(--shadow-elevated); display: flex; flex-direction: column;
	transform: translateX(100%); transition: transform 0.4s var(--transition-smooth);
}
html.admin-bar #theme-cart-drawer,
html.admin-bar #theme-cart-overlay {
	top: var(--wp-admin--admin-bar--height, 32px);
	height: calc(100vh - var(--wp-admin--admin-bar--height, 32px));
}
@media screen and (max-width: 782px) {
	html.admin-bar #theme-cart-drawer,
	html.admin-bar #theme-cart-overlay {
		top: var(--wp-admin--admin-bar--height, 46px);
		height: calc(100vh - var(--wp-admin--admin-bar--height, 46px));
	}
}
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: 1.5rem; border-bottom: 1px solid var(--color-border); }
.theme-cart-drawer__header h2 { font-size: 1.125rem; margin: 0; }
.theme-cart-drawer__close { background: none; border: none; color: inherit; padding: 0.25rem; }
.theme-cart-drawer__empty { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 1.5rem; text-align: center; gap: 1rem; color: var(--color-muted-foreground); }
.theme-cart-drawer__items { flex: 1; overflow-y: auto; padding: 1.5rem; display: flex; flex-direction: column; gap: 1.5rem; }
.theme-cart-drawer__item { display: flex; gap: 1rem; }
.theme-cart-drawer__item-image {
	position: relative;
	display: block;
	width: 5rem;
	height: 6rem;
	flex-shrink: 0;
	background: var(--color-secondary);
	overflow: hidden;
	border-radius: 0.375rem;
}
.theme-cart-drawer__item-image img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	max-width: none;
	object-fit: cover;
}
.theme-cart-drawer__item-info { flex: 1; min-width: 0; }
.theme-cart-drawer__item-name { font-size: 0.875rem; font-weight: 500; display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.theme-cart-drawer__item-price { font-size: 0.875rem; color: var(--color-muted-foreground); margin: 0.125rem 0 0; }
.theme-cart-drawer__item-variation { font-size: 11px; text-transform: uppercase; letter-spacing: 0.1em; color: var(--color-muted-foreground); margin: 0.25rem 0 0; }
.theme-cart-drawer__item-controls { display: flex; align-items: center; gap: 0.75rem; margin-top: 0.75rem; }
.theme-cart-drawer__item-controls button { background: none; border: none; padding: 0.25rem; color: inherit; }
.theme-qty-minus, .theme-qty-plus { width: 1.5rem; height: 1.5rem; display: inline-flex; align-items: center; justify-content: center; border-radius: 0.25rem; }
.theme-qty-minus:hover, .theme-qty-plus:hover, .theme-cart-drawer__item-controls button:hover { background: var(--color-secondary); }
.theme-cart-drawer__remove { margin-left: auto; font-size: 0.875rem; color: var(--color-muted-foreground); }
.theme-cart-drawer__footer { padding: 1.5rem; border-top: 1px solid var(--color-border); display: flex; flex-direction: column; gap: 1rem; }
.theme-cart-drawer__subtotal-row { display: flex; justify-content: space-between; font-size: 0.875rem; }
.theme-cart-drawer__shipping-note { font-size: 0.875rem; color: var(--color-muted-foreground); margin: 0; }
.theme-cart-drawer__checkout-btn, .theme-cart-drawer__empty-btn { width: 100%; }

/* ==========================================================================
   Quantity + variation controls
   ========================================================================== */
.theme-quantity-wrapper { display: inline-flex; align-items: center; border: 1px solid var(--color-border); border-radius: var(--radius); overflow: hidden; }
.theme-quantity-wrapper button { background: none; border: none; padding: 0.5rem 0.75rem; }
.theme-quantity-wrapper button:hover { background: var(--color-secondary); }
.theme-qty-input { width: 3rem; text-align: center; border: none; background: none; -moz-appearance: textfield; }
.theme-qty-input::-webkit-outer-spin-button, .theme-qty-input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.theme-attr-select-hidden { display: none !important; }
.theme-attr-pills { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 0.5rem; }
.theme-attr-pill { display: inline-flex; align-items: center; gap: 0.5rem; padding: 0.5rem 1rem; font-size: 12px; letter-spacing: 0.15em; text-transform: uppercase; border: 1px solid var(--color-border); border-radius: var(--radius); background: var(--color-background); transition: all 0.2s; }
.theme-attr-pill:hover { border-color: color-mix(in srgb, var(--color-foreground) 60%, transparent); }
.theme-attr-pill.is-selected { background: var(--color-foreground); color: var(--color-background); border-color: var(--color-foreground); }
.theme-attr-pill__swatch { width: 0.875rem; height: 0.875rem; border-radius: 50%; border: 1px solid color-mix(in srgb, var(--color-foreground) 25%, transparent); flex-shrink: 0; }
.theme-attr-pill.is-selected .theme-attr-pill__swatch { border-color: color-mix(in srgb, var(--color-background) 50%, transparent); }

/* ==========================================================================
   WooCommerce: add-to-cart button overrides (Section 11.4.1)
   ========================================================================== */
.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-accent) !important;
	color: var(--color-accent-foreground) !important;
	border: none !important;
	border-radius: var(--btn-radius) !important;
	min-height: var(--btn-height) !important;
	padding: var(--btn-padding) !important;
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;
	font-family: var(--font-body) !important;
	font-size: var(--btn-font-size) !important;
	font-weight: var(--btn-font-weight) !important;
	letter-spacing: var(--btn-letter-spacing) !important;
	text-transform: none !important;
	cursor: pointer !important;
	transition: opacity 0.2s ease !important;
}
.single_add_to_cart_button.button:hover,
.add_to_cart_button.button:hover {
	opacity: 0.85 !important;
	background-color: var(--color-accent) !important;
	color: var(--color-accent-foreground) !important;
}
.single_add_to_cart_button.button:disabled,
.single_add_to_cart_button.button.disabled,
.add_to_cart_button.button:disabled,
.add_to_cart_button.button.disabled {
	cursor: not-allowed !important;
	opacity: 0.4 !important;
	pointer-events: none !important;
}
.single_add_to_cart_button.button:disabled:hover,
.single_add_to_cart_button.button.disabled:hover,
.add_to_cart_button.button:disabled:hover,
.add_to_cart_button.button.disabled:hover {
	opacity: 0.4 !important;
	background-color: var(--color-accent) !important;
}
.ajax_add_to_cart.theme-btn-loading { opacity: 0.6 !important; pointer-events: none !important; cursor: wait !important; }
.single-product .single_add_to_cart_button.loading::after,
.ajax_add_to_cart.loading::after { display: none !important; }

/* Card compact button overrides global rules (Section 11.4.1) */
.theme-product-card .add_to_cart_button.ajax_add_to_cart {
	min-height: unset !important;
	padding: var(--btn-icon-padding) !important;
	border-radius: 50% !important;
	width: 1.75rem !important;
	height: 1.75rem !important;
}

/* Hide "View cart" injected after AJAX add (Section 11.4.2) */
.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,
#theme-cart-drawer .woocommerce-message { display: none; }
.woocommerce-message, .woocommerce-info, .woocommerce-error {
	font-family: var(--font-body); border-radius: var(--radius); border: 1px solid var(--color-border);
	padding: 1rem 1.5rem; background: var(--color-secondary); list-style: none; margin: 0 0 1.5rem;
}
.woocommerce-error { border-color: var(--color-accent); }

/* ==========================================================================
   Single product page (Section 11.13 — mirrors ProductDetail.tsx)
   ========================================================================== */
.single-product .site-main,
body.theme-no-hero .site-main.single-product {
	padding-top: 1.5rem;
	padding-bottom: 6rem;
	background: var(--color-background);
}
@media (min-width: 1024px) {
	.single-product .site-main,
	body.theme-no-hero .site-main.single-product { padding-top: 2rem; }
}

.theme-breadcrumb {
	font-family: var(--font-body);
	font-size: 13px;
	letter-spacing: 0.2em;
	text-transform: uppercase;
	color: var(--color-muted-foreground);
	padding: 1.5rem 0;
}
.theme-breadcrumb a { color: inherit; transition: color 0.2s; }
.theme-breadcrumb a:hover { color: var(--color-foreground); }
.theme-breadcrumb span { margin: 0 0.5rem; opacity: 0.5; }
.theme-breadcrumb .theme-breadcrumb__current { color: var(--color-foreground); opacity: 1; margin: 0; }

.theme-product-layout {
	display: grid;
	grid-template-columns: 1fr;
	gap: 2.5rem;
	padding: 1rem 0 6rem;
	min-width: 0;
	align-items: start;
}
@media (min-width: 1024px) {
	.theme-product-layout {
		grid-template-columns: repeat(12, minmax(0, 1fr));
		gap: 4rem;
	}
}

.theme-product-gallery-col { min-width: 0; }
@media (min-width: 1024px) { .theme-product-gallery-col { grid-column: span 7; } }

.theme-product-gallery__main {
	position: relative;
	width: 100%;
	aspect-ratio: 1 / 1;
	background: var(--color-secondary);
	overflow: hidden;
}
.theme-product-gallery-img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	max-width: none;
	object-fit: cover;
	display: block;
}
.theme-product-gallery__main img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	max-width: none;
	object-fit: cover;
	display: block;
}

.theme-product-thumbnails {
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem;
	margin-top: 1rem;
	overflow-x: auto;
	padding-bottom: 0.25rem;
}
.theme-product-thumb {
	position: relative;
	width: 5rem;
	height: 5rem;
	flex-shrink: 0;
	overflow: hidden;
	background: var(--color-secondary);
	border: none;
	padding: 0;
	cursor: pointer;
}
.theme-product-thumb img,
.theme-product-gallery-thumb-img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	max-width: none;
	object-fit: cover;
	transition: opacity 0.2s;
	opacity: 0.6;
}
.theme-product-thumb:hover img,
.theme-product-thumb.is-active img { opacity: 1; }
.theme-product-thumb::after {
	content: '';
	position: absolute;
	left: 0; right: 0; bottom: 0;
	height: 1px;
	background: var(--color-foreground);
	opacity: 0;
	transition: opacity 0.2s;
}
.theme-product-thumb.is-active::after { opacity: 1; }

.theme-product-info { min-width: 0; }
@media (min-width: 1024px) {
	.theme-product-info { grid-column: span 5; }
	.theme-product-info--sticky { position: sticky; top: 7rem; align-self: start; }
	.theme-product-info__inner { padding-left: 1rem; }
}

.theme-product-info__category {
	display: block;
	font-family: var(--font-body);
	font-size: 13px;
	letter-spacing: 0.25em;
	text-transform: uppercase;
	color: var(--color-muted-foreground);
}
.theme-product-title {
	font-family: var(--font-display);
	font-weight: 400;
	font-size: 1.875rem;
	line-height: 1.1;
	margin: 0.75rem 0 1.25rem;
}
@media (min-width: 768px) { .theme-product-title { font-size: 2.25rem; } }
@media (min-width: 1024px) { .theme-product-title { font-size: 2.75rem; } }

.theme-product-info__price {
	font-family: var(--font-display);
	font-size: 1.5rem;
	color: var(--color-foreground);
	margin-bottom: 1.5rem;
}
.theme-product-info__price .amount { font-family: inherit; }
.theme-product-info__excerpt {
	font-family: var(--font-body);
	font-size: 1rem;
	color: var(--color-muted-foreground);
	line-height: 1.625;
	margin: 0 0 2rem;
}

.theme-product-option { margin-bottom: 1.5rem; }
.single-product .theme-product-option--quantity { margin-bottom: 1rem; }
.single-product .theme-product-option--size .theme-product-option__header { margin-bottom: 0.75rem; }
.single-product .theme-product-option--color .theme-product-option__label { margin-bottom: 0.75rem; }
.single-product .theme-product-option--quantity .theme-product-option__label { margin-bottom: 0.75rem; }
.theme-product-option__header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-bottom: 0.75rem;
}
.theme-product-option__label {
	font-family: var(--font-body);
	font-size: 13px;
	letter-spacing: 0.2em;
	text-transform: uppercase;
	color: var(--color-muted-foreground);
	margin: 0 0 0.75rem;
	font-weight: 400;
}
.theme-product-option__header .theme-product-option__label { margin-bottom: 0; }

.theme-size-guide-trigger {
	display: inline-flex;
	align-items: center;
	gap: 0.375rem;
	font-family: var(--font-body);
	font-size: 11px;
	letter-spacing: 0.15em;
	text-transform: uppercase;
	color: var(--color-muted-foreground);
	background: none;
	border: none;
	padding: 0;
	cursor: pointer;
	text-decoration: underline;
	text-underline-offset: 4px;
	transition: color 0.2s;
}
.theme-size-guide-trigger:hover { color: var(--color-tan-deep); }

.theme-color-dropdown { position: relative; }
.theme-color-dropdown__toggle {
	width: 100%;
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 0.75rem 1rem;
	border: 1px solid var(--color-border);
	border-radius: var(--radius);
	background: var(--color-background);
	font-family: var(--font-body);
	font-size: 0.875rem;
	letter-spacing: 0.05em;
	cursor: pointer;
	transition: border-color 0.2s;
}
.theme-color-dropdown__toggle:hover { border-color: color-mix(in srgb, var(--color-foreground) 60%, transparent); }
.theme-color-dropdown__selected { display: flex; align-items: center; gap: 0.5rem; }
.theme-color-dropdown__swatch {
	width: 0.75rem;
	height: 0.75rem;
	border-radius: 50%;
	border: 1px solid var(--color-border);
	flex-shrink: 0;
}
.theme-color-dropdown__swatch--lg { width: 1rem; height: 1rem; }
.theme-color-dropdown__chevron { transition: transform 0.2s; flex-shrink: 0; }
.theme-color-dropdown.is-open .theme-color-dropdown__chevron { transform: rotate(180deg); }
.theme-color-dropdown__menu {
	position: absolute;
	z-index: 10;
	top: calc(100% + 0.25rem);
	left: 0;
	right: 0;
	background: var(--color-background);
	border: 1px solid var(--color-border);
	border-radius: var(--radius);
	box-shadow: var(--shadow-elevated);
	overflow: hidden;
}
.theme-color-dropdown__menu[hidden] { display: none; }
.theme-color-dropdown__option {
	width: 100%;
	display: flex;
	align-items: center;
	gap: 0.75rem;
	padding: 0.75rem 1rem;
	font-family: var(--font-body);
	font-size: 0.875rem;
	text-align: left;
	background: none;
	border: none;
	cursor: pointer;
	transition: background-color 0.2s;
}
.theme-color-dropdown__option:hover,
.theme-color-dropdown__option.is-selected { background: var(--color-secondary); }

.theme-product-purchase,
.theme-product-form--simple { display: flex; flex-direction: column; gap: 0; }

/* Single product: size / color / quantity (matches ProductDetail.tsx) */
.single-product .theme-variations-table select,
.single-product .theme-variations-table label,
.single-product .variations .reset_variations {
	position: absolute !important;
	width: 1px !important;
	height: 1px !important;
	padding: 0 !important;
	margin: -1px !important;
	overflow: hidden !important;
	clip: rect(0, 0, 0, 0) !important;
	white-space: nowrap !important;
	border: 0 !important;
}
.single-product .theme-attr-pills {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
	margin-top: 0;
}
.single-product .theme-attr-pill {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 0.5rem 1rem;
	font-family: var(--font-body);
	font-size: 0.75rem;
	font-weight: 400;
	letter-spacing: 0.15em;
	text-transform: uppercase;
	line-height: 1;
	border: 1px solid var(--color-border);
	border-radius: var(--radius);
	background: var(--color-background);
	color: var(--color-foreground);
	cursor: pointer;
	transition: border-color 0.2s, background-color 0.2s, color 0.2s;
}
.single-product .theme-attr-pill:hover {
	border-color: color-mix(in srgb, var(--color-foreground) 60%, transparent);
}
.single-product .theme-attr-pill.is-selected {
	background: var(--color-foreground);
	color: var(--color-background);
	border-color: var(--color-foreground);
}
.single-product .theme-color-dropdown__toggle {
	width: 100%;
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 0.75rem 1rem;
	border: 1px solid var(--color-border);
	border-radius: var(--radius);
	background: var(--color-background);
	font-family: var(--font-body);
	font-size: 0.875rem;
	letter-spacing: 0.025em;
	color: var(--color-foreground);
	cursor: pointer;
	transition: border-color 0.2s;
}
.single-product .theme-product-purchase .theme-quantity-wrapper,
.single-product .theme-product-form--simple .theme-quantity-wrapper,
.single-product .theme-product-option--quantity .theme-quantity-wrapper {
	display: inline-flex;
	align-items: stretch;
	border: 1px solid var(--color-border);
	border-radius: var(--radius);
	overflow: hidden;
	background: var(--color-background);
}
.single-product .theme-product-purchase .theme-quantity-wrapper .theme-qty-minus,
.single-product .theme-product-purchase .theme-quantity-wrapper .theme-qty-plus,
.single-product .theme-product-form--simple .theme-quantity-wrapper .theme-qty-minus,
.single-product .theme-product-form--simple .theme-quantity-wrapper .theme-qty-plus,
.single-product .theme-product-option--quantity .theme-quantity-wrapper .theme-qty-minus,
.single-product .theme-product-option--quantity .theme-quantity-wrapper .theme-qty-plus {
	width: auto;
	height: auto;
}
.single-product .theme-product-purchase .theme-quantity-wrapper button,
.single-product .theme-product-form--simple .theme-quantity-wrapper button,
.single-product .theme-product-option--quantity .theme-quantity-wrapper button {
	flex-shrink: 0;
	min-width: 2.375rem;
	min-height: 2.25rem;
	padding: 0.5rem 0.75rem;
	background: none;
	border: none;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	color: var(--color-foreground);
	font-family: var(--font-body);
	font-size: 1rem;
	line-height: 1;
	cursor: pointer;
	transition: background-color 0.2s;
}
.single-product .theme-product-purchase .theme-quantity-wrapper button span,
.single-product .theme-product-form--simple .theme-quantity-wrapper button span,
.single-product .theme-product-option--quantity .theme-quantity-wrapper button span {
	display: block;
	pointer-events: none;
}
.single-product .theme-qty-display {
	padding: 0.5rem 1rem;
	min-width: 2.75rem;
	min-height: 2.25rem;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	text-align: center;
	font-family: var(--font-body);
	font-size: 0.875rem;
	line-height: 1.25rem;
	color: var(--color-foreground);
}
.single-product .theme-product-purchase .theme-quantity-wrapper button:hover,
.single-product .theme-product-form--simple .theme-quantity-wrapper button:hover,
.single-product .theme-product-option--quantity .theme-quantity-wrapper button:hover {
	background: var(--color-secondary);
}
.theme-product-option--quantity { margin-bottom: 1rem; }

.theme-quantity-wrapper {
	display: inline-flex;
	align-items: center;
	border: 1px solid var(--color-border);
	border-radius: var(--radius);
	overflow: hidden;
}
.theme-quantity-wrapper button {
	background: none;
	border: none;
	padding: 0.5rem 0.75rem;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	transition: background-color 0.2s;
}
.theme-quantity-wrapper button:hover { background: var(--color-secondary); }
.theme-qty-display {
	padding: 0.5rem 1rem;
	min-width: 2.75rem;
	text-align: center;
	font-family: var(--font-body);
	font-size: 0.875rem;
}
.theme-qty-input--hidden {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	border: 0;
}

.theme-product-cta,
.single-product .theme-product-cta.single_add_to_cart_button {
	width: 100% !important;
	display: block !important;
	text-align: center;
	background: var(--color-accent) !important;
	color: var(--color-accent-foreground) !important;
	padding: 1rem 1.5rem !important;
	min-height: unset !important;
	border: none !important;
	border-radius: var(--radius) !important;
	font-family: var(--font-body) !important;
	font-size: 12px !important;
	font-weight: 500 !important;
	letter-spacing: 0.25em !important;
	text-transform: uppercase !important;
	cursor: pointer;
	transition: opacity 0.2s;
}
.theme-product-cta:hover:not(:disabled),
.single-product .theme-product-cta.single_add_to_cart_button:hover:not(:disabled) { opacity: 0.9 !important; }
.theme-product-cta:disabled,
.single-product .theme-product-cta.single_add_to_cart_button:disabled {
	opacity: 0.6 !important;
	cursor: not-allowed !important;
}

.theme-product-accordions { margin-top: 2.5rem; border-top: 1px solid var(--color-border); }
.theme-product-accordion { border-bottom: 1px solid var(--color-border); }
.theme-product-accordion__toggle {
	width: 100%;
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 1.25rem 0;
	background: none;
	border: none;
	text-align: left;
	font-family: var(--font-body);
	font-size: 13px;
	letter-spacing: 0.2em;
	text-transform: uppercase;
	color: var(--color-foreground);
	cursor: pointer;
}
.theme-product-accordion__chevron { transition: transform 0.2s; flex-shrink: 0; }
.theme-product-accordion.is-open .theme-product-accordion__chevron { transform: rotate(180deg); }
.theme-product-accordion__panel { padding-bottom: 1.5rem; font-family: var(--font-body); }
.theme-product-accordion__panel[hidden] { display: none; }
.theme-product-accordion__description {
	font-size: 15px;
	color: var(--color-muted-foreground);
	line-height: 1.625;
	margin: 0 0 1rem;
	white-space: pre-line;
}
.theme-product-accordion__list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 0.5rem;
}
.theme-product-accordion__list li {
	display: flex;
	align-items: flex-start;
	font-size: 15px;
	color: var(--color-muted-foreground);
	line-height: 1.5;
}
.theme-product-accordion__list li::before {
	content: '';
	width: 4px;
	height: 4px;
	border-radius: 50%;
	background: var(--color-foreground);
	margin: 0.5rem 0.75rem 0 0;
	flex-shrink: 0;
}
.theme-product-accordion__panel p {
	font-size: 15px;
	color: var(--color-muted-foreground);
	line-height: 1.625;
	margin: 0 0 0.75rem;
}

.single-product .variations.shop_attributes,
.single-product .theme-variations-table { width: 100%; margin: 0; border: none; }
.single-product .theme-variations-table tbody,
.single-product .theme-variations-table tr,
.single-product .theme-variations-table td { display: block; width: 100%; border: none; padding: 0; }
.single-product .theme-variation-row--hidden { display: none !important; }
.single-product .woocommerce-variation.single_variation { display: none !important; }
.single-product .woocommerce-variation-price,
.single-product .woocommerce-variation-availability { display: none !important; }

.related-products-section {
	margin-top: 0;
	padding: 5rem 0;
	border-top: 1px solid var(--color-border);
}
.theme-related-heading-wrap { text-align: center; margin-bottom: 3rem; }
.theme-related-heading-eyebrow {
	font-family: var(--font-display);
	font-style: italic;
	font-size: 1rem;
	color: var(--color-muted-foreground);
	margin: 0 0 0.5rem;
}
.theme-related-heading {
	font-family: var(--font-display);
	font-weight: 400;
	font-size: 1.875rem;
	margin: 0;
	line-height: 1.1;
}
@media (min-width: 768px) { .theme-related-heading { font-size: 2.25rem; } }

/* Size guide modal */
.theme-size-guide-modal {
	position: fixed;
	inset: 0;
	z-index: 96;
	display: none;
	align-items: center;
	justify-content: center;
	padding: 1rem;
}
.theme-size-guide-modal.is-open { display: flex; }
.theme-size-guide-modal__overlay {
	position: fixed;
	inset: 0;
	background: rgba(0, 0, 0, 0.8);
}
.theme-size-guide-modal__panel {
	position: relative;
	z-index: 1;
	width: 100%;
	max-width: 36rem;
	max-height: 90vh;
	overflow-y: auto;
	background: var(--color-background);
	border: 1px solid var(--color-border);
	border-radius: var(--radius);
	padding: 1.5rem;
	box-shadow: var(--shadow-elevated);
}
.theme-size-guide-modal__close {
	position: absolute;
	top: 1rem;
	right: 1rem;
	background: none;
	border: none;
	color: inherit;
	opacity: 0.7;
	padding: 0.25rem;
	cursor: pointer;
}
.theme-size-guide-modal__close:hover { opacity: 1; }
.theme-size-guide-modal__title {
	font-family: var(--font-display);
	font-size: 1.5rem;
	font-weight: 400;
	margin: 0 0 0.5rem;
	line-height: 1.2;
}
.theme-size-guide-modal__copy {
	font-family: var(--font-body);
	font-size: 0.875rem;
	color: var(--color-muted-foreground);
	margin: 0 0 1rem;
}
.theme-size-guide-units {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	margin: 1rem 0;
}
.theme-size-guide-units__label {
	font-size: 11px;
	letter-spacing: 0.15em;
	text-transform: uppercase;
	color: var(--color-muted-foreground);
}
.theme-size-guide-units__toggle {
	display: inline-flex;
	border: 1px solid var(--color-border);
	border-radius: var(--radius);
	overflow: hidden;
}
.theme-size-guide-units__toggle button {
	padding: 0.25rem 0.75rem;
	font-size: 11px;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	background: none;
	border: none;
	cursor: pointer;
	font-family: var(--font-body);
	transition: background-color 0.2s, color 0.2s;
}
.theme-size-guide-units__toggle button.is-active {
	background: var(--color-foreground);
	color: var(--color-background);
}
.theme-size-guide-units__toggle button:not(.is-active):hover { background: var(--color-secondary); }
.theme-size-guide-table-wrap {
	overflow: hidden;
	border-radius: var(--radius);
	border: 1px solid var(--color-border);
	margin-bottom: 1.5rem;
}
.theme-size-guide-table {
	width: 100%;
	font-family: var(--font-body);
	font-size: 0.875rem;
	text-align: left;
	border-collapse: collapse;
}
.theme-size-guide-table thead {
	background: var(--color-secondary);
	font-size: 11px;
	letter-spacing: 0.15em;
	text-transform: uppercase;
	color: var(--color-muted-foreground);
}
.theme-size-guide-table th,
.theme-size-guide-table td { padding: 0.75rem 1rem; }
.theme-size-guide-table tbody tr { border-top: 1px solid var(--color-border); }
.theme-size-guide-table tbody tr:hover { background: color-mix(in srgb, var(--color-secondary) 50%, transparent); }
.theme-size-guide-table td:first-child { font-weight: 500; }
.theme-size-guide-table .theme-size-guide-range { color: var(--color-muted-foreground); }
.theme-size-guide-notes p {
	font-family: var(--font-body);
	font-size: 15px;
	color: var(--color-muted-foreground);
	line-height: 1.625;
	margin: 0 0 0.75rem;
}
.theme-size-guide-notes strong { color: var(--color-foreground); font-weight: 500; }

/* Legacy aliases kept for other templates */
.theme-product-gallery, .theme-product-info { min-width: 0; max-width: 100%; }
.theme-product-info__category a { color: inherit; }
.theme-stock-indicator--out { color: var(--color-accent); font-size: 0.875rem; margin-bottom: 1rem; }
.theme-product-info__description { color: var(--color-muted-foreground); line-height: 1.7; margin-bottom: 2rem; overflow-wrap: break-word; word-break: break-word; }
.theme-add-to-cart-area { display: flex; align-items: stretch; flex-wrap: wrap; gap: 0.75rem; margin: 1.5rem 0; }
.theme-add-to-cart-area .single_add_to_cart_button { flex: 1 1 auto; min-width: 160px; }
.theme-product-details { margin-top: 2.5rem; border-top: 1px solid var(--color-border); padding-top: 1.5rem; }
.theme-product-details__title { font-family: var(--font-body); font-weight: 600; font-size: 13px; letter-spacing: 0.25em; text-transform: uppercase; margin-bottom: 0.75rem; }
.theme-product-details__body { color: var(--color-muted-foreground); line-height: 1.7; overflow-wrap: break-word; word-break: break-word; }
.theme-back-to-shop { margin-top: 2rem; }
.theme-back-to-shop a { font-size: 0.875rem; color: var(--color-muted-foreground); }
.theme-back-to-shop a:hover { color: var(--color-foreground); }
.single-product .variations tbody tr { margin-bottom: 0; }
.single-product .variations tbody td.label { display: none; }
.variations label { font-family: var(--font-body); font-weight: 600; font-style: normal; }

/* ==========================================================================
   Shop archive
   ========================================================================== */
.theme-shop-archive .site-main { padding-top: var(--header-height); padding-bottom: 4rem; }
.theme-shop-section__heading .theme-shop-section__title { text-align: center; font-size: 1.875rem; margin: 0.5rem 0 2rem; }

/* ==========================================================================
   404
   ========================================================================== */
.theme-404 .site-main { padding-top: var(--header-height); }
.theme-404__inner { text-align: center; padding: 6rem 0; }
.theme-404__title { font-size: 5rem; margin-bottom: 1rem; }
.theme-404__copy { color: var(--color-muted-foreground); margin-bottom: 2rem; }

/* ==========================================================================
   Generic pages (page.php) + checkout h1
   ========================================================================== */
.site-main .page-title { font-size: 2rem; margin: 2rem 0 1.5rem; }
body:not(.theme-no-hero) .site-main { padding-top: 0; }

/* ==========================================================================
   Contact modal
   ========================================================================== */
.theme-contact-modal { position: fixed; inset: 0; z-index: 95; display: none; align-items: center; justify-content: center; padding: 1rem; }
.theme-contact-modal.is-open { display: flex; }
.theme-contact-modal__overlay { position: fixed; inset: 0; background: rgba(0, 0, 0, 0.8); }
.theme-contact-modal__panel { position: relative; z-index: 1; width: 100%; max-width: 32rem; max-height: 90vh; overflow-y: auto; background: var(--color-background); border: 1px solid var(--color-border); border-radius: var(--radius); padding: 1.5rem; box-shadow: var(--shadow-elevated); display: grid; gap: 1rem; }
.theme-contact-modal__close { position: absolute; top: 1rem; right: 1rem; background: none; border: none; color: inherit; opacity: 0.7; padding: 0.25rem; border-radius: 0.125rem; transition: opacity 0.2s; }
.theme-contact-modal__close:hover { opacity: 1; }
.theme-contact-modal__title { font-family: var(--font-display); font-size: 1.5rem; line-height: 1.2; margin: 0; }
.theme-contact-modal__copy { color: var(--color-muted-foreground); margin: 0 0 1.25rem; }
.theme-contact-modal__meta { display: flex; flex-wrap: wrap; gap: 1rem; font-size: 0.875rem; color: var(--color-muted-foreground); margin-bottom: 1.5rem; }
.theme-contact-modal__meta a { display: inline-flex; align-items: center; gap: 0.5rem; }
.theme-contact-modal__meta a:hover { color: var(--color-foreground); }
.theme-contact-modal__row { display: grid; grid-template-columns: 1fr; gap: 1rem; }
@media (min-width: 640px) { .theme-contact-modal__row { grid-template-columns: 1fr 1fr; } }
.theme-form-field { display: flex; flex-direction: column; gap: 0.375rem; margin-bottom: 1rem; }
.theme-form-field label { font-size: 0.875rem; font-weight: 500; }
.theme-form-field input, .theme-form-field textarea {
	width: 100%; padding: 0.625rem 0.75rem; background: var(--color-background); border: 1px solid var(--color-border);
	border-radius: var(--radius); font-size: 1rem; resize: none;
}
.theme-contact-modal__form .theme-btn-primary { text-transform: none; letter-spacing: normal; font-size: 0.875rem; }
.theme-form-field input:focus, .theme-form-field textarea:focus { outline: none; box-shadow: 0 0 0 2px color-mix(in srgb, var(--color-primary) 50%, transparent); }
.theme-contact-modal__submit-row { display: flex; justify-content: flex-end; }
.theme-contact-modal__success { text-align: center; padding: 2rem 0; }
.theme-contact-modal__success-icon { width: 3.5rem; height: 3.5rem; border-radius: 50%; background: var(--color-primary); color: var(--color-primary-foreground); display: flex; align-items: center; justify-content: center; margin: 0 auto 1rem; }

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer { background: var(--color-foreground); color: color-mix(in srgb, var(--color-background) 85%, transparent); overflow-x: clip; }
.site-footer__inner { padding: 3.5rem 0 5rem; }
@media (min-width: 768px) { .site-footer__inner { padding: 5rem 0; } }
.site-footer__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2.5rem 2rem; }
@media (max-width: 639px) {
	.site-footer__grid {
		grid-template-columns: 1fr;
		gap: 2rem;
	}
	.site-footer__brand-col,
	.site-footer__col--newsletter {
		grid-column: span 1;
	}
	.site-footer__blurb {
		max-width: none;
	}
	.site-footer__newsletter-form {
		max-width: none;
	}
}
@media (min-width: 768px) { .site-footer__grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1024px) { .site-footer__grid { grid-template-columns: repeat(5, 1fr); gap: 2rem; } }
.site-footer__brand-col { grid-column: span 2; }
@media (min-width: 1024px) { .site-footer__brand-col { grid-column: span 1; } }
.site-footer__logo { height: 4rem; max-height: 4rem; width: auto; max-width: none; margin-bottom: 1.25rem; object-fit: contain; }
.site-footer__blurb { font-size: 0.875rem; line-height: 1.6; max-width: 20rem; margin-bottom: 1.5rem; }
.site-footer__socials { display: flex; gap: 0.75rem; }
.site-footer__social-btn { width: 2.25rem; height: 2.25rem; border-radius: var(--radius); border: 1px solid color-mix(in srgb, var(--color-background) 25%, transparent); display: inline-flex; align-items: center; justify-content: center; transition: all 0.2s; }
.site-footer__social-btn:hover { background: var(--color-background); color: var(--color-foreground); }
.site-footer__heading { font-size: 11px; letter-spacing: 0.28em; text-transform: uppercase; color: var(--color-background); margin: 0 0 1.25rem; }
.site-footer__links { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 0.75rem; }
.site-footer__links a, .site-footer__links button { background: none; border: none; color: inherit; text-align: left; font-size: 0.875rem; opacity: 0.8; }
.site-footer__links a:hover, .site-footer__links button:hover { opacity: 1; }
.site-footer__col--newsletter { grid-column: span 2; }
@media (min-width: 768px) { .site-footer__col--newsletter { grid-column: span 3; } }
@media (min-width: 1024px) { .site-footer__col--newsletter { grid-column: span 1; } }
.site-footer__newsletter-copy { font-size: 0.875rem; margin-bottom: 1rem; }
.site-footer__bottom { margin-top: 3.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; gap: 0.75rem; text-align: center; }
@media (min-width: 640px) { .site-footer__bottom { flex-direction: row; justify-content: space-between; } }
.site-footer__bottom p, .site-footer__bottom a { font-size: 12px; opacity: 0.7; letter-spacing: 0.02em; margin: 0; }
.site-footer__bottom a:hover { opacity: 1; }

/* ==========================================================================
   WooCommerce Checkout Block (Section 13)
   ========================================================================== */
body.woocommerce-checkout .site-main { padding-top: var(--header-height); padding-bottom: 4rem; }
body.woocommerce-checkout .wc-block-checkout { display: block; }
@media (min-width: 768px) {
	body.woocommerce-checkout .wc-block-components-sidebar-layout.wc-block-checkout.is-large {
		display: grid;
		grid-template-columns: 1fr 1fr;
		gap: var(--checkout-gap);
		align-items: start;
	}
}
body.woocommerce-checkout .wc-block-checkout__main,
body.woocommerce-checkout .wc-block-checkout__sidebar {
	min-width: 0;
	width: 100%;
	max-width: none;
}
body.woocommerce-checkout .wc-block-components-text-input input,
body.woocommerce-checkout .wc-block-components-select select {
	width: 100% !important;
	max-width: none !important;
	font-family: var(--font-body);
	border: 1px solid var(--color-border);
	border-radius: var(--radius);
	background: var(--color-background);
	color: var(--color-foreground);
}
body.woocommerce-checkout .wc-block-components-text-input input:focus,
body.woocommerce-checkout .wc-block-components-select select:focus,
body.woocommerce-checkout .wc-block-components-text-input input:focus-visible { outline: none; box-shadow: 0 0 0 2px color-mix(in srgb, var(--color-primary) 50%, transparent); }
body.woocommerce-checkout .wc-block-components-text-input input { padding: revert; }
body.woocommerce-checkout .wc-block-components-sidebar {
	background-color: var(--color-secondary);
	border-radius: var(--card-radius);
	padding: var(--section-padding);
}
body.woocommerce-checkout .wc-block-checkout__sidebar {
	background-color: var(--color-secondary);
	border-radius: var(--card-radius);
	padding: var(--section-padding);
}
body.woocommerce-checkout .wc-block-components-checkout-place-order-button {
	background: var(--color-accent) !important;
	color: var(--color-accent-foreground) !important;
	border-radius: var(--btn-radius) !important;
	text-transform: none;
	font-family: var(--font-body);
}
body.woocommerce-checkout .wc-block-components-checkout-place-order-button:hover { opacity: 0.9; }
body.woocommerce-checkout .wc-block-components-notice-banner {
	border-radius: var(--radius);
	font-family: var(--font-body);
}

/* ==========================================================================
   Thank you page (Section 22.8)
   ========================================================================== */
body.theme-thankyou-page { overflow-x: hidden; }
body.theme-thankyou-page .site-main { padding-top: var(--header-height); padding-bottom: 4rem; }
body.theme-thankyou-page .woocommerce-order h2,
body.theme-thankyou-page .woocommerce-order-details__title { font-size: 1.5rem; padding: 0 0 1rem; }
body.theme-thankyou-page .woocommerce-order-overview {
	list-style: none; display: flex; flex-wrap: wrap; gap: 1.5rem; padding: 0; margin: 1.5rem 0 2.5rem;
	border: 1px solid var(--color-border); border-radius: var(--card-radius); background: var(--color-secondary);
}
body.theme-thankyou-page .woocommerce-order-overview li { padding: 1.25rem 1.5rem; flex: 1; min-width: 140px; }
body.theme-thankyou-page .woocommerce-order-details table { width: 100%; table-layout: fixed; margin-bottom: 2rem; border-collapse: collapse; }
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); }
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; }
@media (min-width: 768px) {
	body.theme-thankyou-page .woocommerce-customer-details { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; align-items: start; }
	body.theme-thankyou-page .woocommerce-customer-details address { min-width: 0; }
}

/* ==========================================================================
   Other WooCommerce pages width parity (Section 13.7)
   ========================================================================== */
body.woocommerce-cart .site-main,
body.woocommerce-account .site-main { padding-top: var(--header-height); padding-bottom: 4rem; }
