/* ==========================================================================
   Top Shelf 3D Printing — theme stylesheet
   ========================================================================== */

:root {
	--color-background: #f7f7f8;
	--color-foreground: #1a1d23;
	--color-primary: #c11f1f;
	--color-primary-foreground: #fafafa;
	--color-secondary: #e3e5e8;
	--color-secondary-foreground: #282c33;
	--color-muted: #dee0e3;
	--color-muted-foreground: #545963;
	--color-border: #cdd0d5;
	--color-rosa: #b81e1e;
	--color-marigold: #dd8a0e;
	--color-teal: #53616e;
	--color-butter: #e9eaec;
	--color-surface-deep: #13151b;
	--color-surface-deep-foreground: #eeeff2;
	--color-button-text: var(--color-primary-foreground);

	--font-display: 'Space Grotesk', sans-serif;
	--font-body: 'Work Sans', sans-serif;

	--radius: 0.375rem;
	--card-radius: 0.5rem;
	--shadow-soft: 0 4px 20px -4px rgba(20, 22, 26, 0.10);
	--shadow-elevated: 0 8px 40px -8px rgba(20, 22, 26, 0.22);
	--transition-smooth: cubic-bezier(0.25, 0.4, 0.25, 1);

	--logo-height: 40px;
	--header-height: 80px;

	--btn-radius: 999px;
	--btn-height: 3.25rem;
	--btn-padding: 1rem 2.5rem;
	--btn-font-size: 0.6875rem;
	--btn-font-weight: 500;
	--btn-letter-spacing: 0.25em;
	--btn-text-transform: uppercase;
	--btn-icon-padding: 0.5rem;

	--checkout-gap: 2.5rem;
}

/* ---------------- Base reset ---------------- */
*, *::before, *::after { box-sizing: border-box; }

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

body {
	background: var(--color-background);
	color: var(--color-foreground);
	font-family: var(--font-body);
	-webkit-font-smoothing: antialiased;
	margin: 0;
	overflow-x: clip;
}

h1, h2, h3, h4, h5, h6, .font-display {
	font-family: var(--font-display);
	letter-spacing: -0.015em;
	margin: 0;
}

p { margin: 0; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
img { display: block; max-width: 100%; }

/* Cover / full-bleed images excluded from generic responsive sizing */
img:not(.cover-img):not(.theme-product-main-img):not(.theme-collection-tile-img):not(.theme-hero-img):not(.theme-product-card__image):not(.site-logo-img):not(.footer-logo-img):not(.theme-gallery-img):not(.theme-cart-item-image img) {
	height: auto;
}
.cover-img,
.theme-product-main-img,
.theme-collection-tile-img,
.theme-hero-img,
.theme-product-card__image,
.theme-cart-item-image img,
.theme-product-stack-image-wrap img,
.theme-gallery-img {
	height: 100%;
}
.cover-img,
.theme-product-main-img,
.theme-collection-tile-img,
.theme-hero-img {
	position: absolute;
	inset: 0;
	width: 100%;
	object-fit: cover;
}
.theme-product-card__image,
.theme-cart-item-image img,
.theme-product-stack-image-wrap img {
	width: 100%;
	object-fit: cover;
}
.theme-object-top { object-position: top; }

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

.scroll-mt-24 { scroll-margin-top: 6rem; }

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

.theme-uppercase-link {
	font-size: 12px;
	letter-spacing: 0.22em;
	text-transform: uppercase;
	font-family: var(--font-body);
}

.theme-italic { font-style: italic; }
.theme-heading-italic { display: block; font-style: italic; }

.theme-accent-rosa { color: var(--color-rosa); }
.theme-accent-marigold { color: var(--color-marigold); }
.theme-accent-teal { color: var(--color-teal); }
.theme-accent-border-rosa { border-color: color-mix(in srgb, var(--color-rosa) 40%, transparent); }
.theme-accent-border-marigold { border-color: color-mix(in srgb, var(--color-marigold) 50%, transparent); }
.theme-accent-border-teal { border-color: color-mix(in srgb, var(--color-teal) 40%, transparent); }

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

.theme-section { background: var(--color-background); }
.theme-section-head { text-align: center; margin-bottom: 2.5rem; }

.theme-collection-section > .container-wide,
.theme-featured-section > .container-wide {
	padding-top: 4rem;
	padding-bottom: 4rem;
}
@media (min-width: 768px) {
	.theme-collection-section > .container-wide,
	.theme-featured-section > .container-wide {
		padding-top: 5rem;
		padding-bottom: 5rem;
	}
}
.theme-shop-section > .container-wide {
	padding-top: 4rem;
	padding-bottom: 4rem;
}
@media (min-width: 768px) {
	.theme-shop-section > .container-wide { padding-top: 6rem; padding-bottom: 6rem; }
}
.theme-gallery-section {
	padding-top: 5rem;
	padding-bottom: 5rem;
}
@media (min-width: 768px) {
	.theme-gallery-section { padding-top: 7rem; padding-bottom: 7rem; }
}
.theme-gallery-section .theme-gallery-controls.container-wide {
	padding-top: 0;
	padding-bottom: 0;
}

/* Per-element heading scales (Section 2.2.5) */
.theme-collection-section .section-heading,
.theme-featured-section .section-heading { font-size: 1.875rem; font-weight: 400; }
@media (min-width: 768px) {
	.theme-collection-section .section-heading { font-size: 2.25rem; }
	.theme-featured-section .section-heading { font-size: 3rem; }
}

.about-section.section-heading { font-size: 1.875rem; font-weight: 600; line-height: 1.2; margin-bottom: 2rem; }
@media (min-width: 768px) { .about-section.section-heading { font-size: 2.25rem; } }

.offerings-section.section-heading { font-size: 2.25rem; line-height: 1.05; letter-spacing: -0.02em; }
@media (min-width: 768px) { .offerings-section.section-heading { font-size: 3.75rem; } }
@media (min-width: 1024px) { .offerings-section.section-heading { font-size: 4.5rem; } }

.shop-heading.section-heading { font-size: 1.875rem; margin-bottom: 2.5rem; }
@media (min-width: 768px) { .shop-heading.section-heading { font-size: 3rem; } }

.contact-title.section-heading { font-size: 1.875rem; line-height: 1.2; margin-bottom: 1.5rem; }
@media (min-width: 768px) { .contact-title.section-heading { font-size: 3rem; } }
@media (min-width: 1024px) { .contact-title.section-heading { font-size: 3.75rem; } }

.theme-custom-orders-section .section-heading,
.theme-sensory-section .section-heading { font-size: 2.25rem; line-height: 1.05; letter-spacing: -0.02em; }
@media (min-width: 768px) { .theme-custom-orders-section .section-heading, .theme-sensory-section .section-heading { font-size: 3rem; } }
@media (min-width: 1024px) { .theme-custom-orders-section .section-heading, .theme-sensory-section .section-heading { font-size: 3.75rem; } }

.theme-gallery-head .section-heading { font-size: 1.875rem; line-height: 1.05; }
@media (min-width: 768px) { .theme-gallery-head .section-heading { font-size: 3rem; } }
@media (min-width: 1024px) { .theme-gallery-head .section-heading { font-size: 3.75rem; } }

/* ==========================================================================
   Animations & scroll reveal (Section 2.1)
   ========================================================================== */
@keyframes themeFadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes themeSlideUp { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }

.reveal-item {
	opacity: 0;
	transform: translateY(24px);
	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 { opacity: 1 !important; transform: none !important; }

@media (prefers-reduced-motion: reduce) {
	.reveal-item { transition: none; opacity: 1; transform: none; }
	* { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; }
}

.tile-hover-104, .tile-hover-105, .tile-hover-103 {
	transition: transform 0.7s var(--transition-smooth);
}
.tile-hover-103 { transition-duration: 0.9s; }
.tile-hover-104 { transition-duration: 0.9s; }
*:hover > .tile-hover-105 { transform: scale(1.05); }
*:hover > .tile-hover-104 { transform: scale(1.04); }
*:hover > .tile-hover-103 { transform: scale(1.03); }

/* ==========================================================================
   Announcement bar
   ========================================================================== */
.theme-announcement-bar {
	position: relative;
	background: var(--color-foreground);
	color: var(--color-background);
}
.theme-announcement-inner { padding: 0.5rem 1.5rem; text-align: center; }
.theme-announcement-text { font-size: 13px; letter-spacing: 0.18em; text-transform: uppercase; }
.theme-announcement-close {
	position: absolute; right: 0.75rem; top: 50%;
	transform: translateY(-50%);
	background: none; border: none; color: inherit;
	padding: 0.25rem; opacity: 0.7;
	transition: opacity 0.2s ease;
}
.theme-announcement-close:hover { opacity: 1; }

/* ==========================================================================
   Header
   ========================================================================== */
.site-header {
	position: -webkit-sticky;
	position: sticky;
	top: 0;
	left: 0;
	right: 0;
	width: 100%;
	z-index: 50;
	background: var(--color-background);
	border-bottom: 1px solid transparent;
	transition: background-color 0.3s ease, border-color 0.3s ease, backdrop-filter 0.3s ease;
}
.theme-announcement-bar { z-index: 51; }
.site-header.is-solid {
	background: color-mix(in srgb, var(--color-background) 95%, transparent);
	backdrop-filter: blur(4px);
	border-bottom-color: var(--color-border);
}
.site-nav {
	display: flex;
	align-items: center;
	justify-content: space-between;
	height: 5rem;
	position: relative;
}
.site-logo-link { display: flex; align-items: center; }
.site-logo-box {
	display: flex;
	align-items: center;
	height: var(--logo-height, 40px);
}
.site-logo-box--footer { height: 3rem; }
@media (max-width: 767px) {
	.site-logo-box { height: calc(var(--logo-height, 40px) * 0.8); }
}
.site-logo-img {
	height: 100% !important;
	width: auto !important;
	max-width: 100%;
	display: block;
	object-fit: contain;
}
.site-logo-text { font-family: var(--font-display); font-size: 1.25rem; font-weight: 600; display: block; }

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

.site-nav-actions { display: flex; align-items: center; gap: 0.5rem; }
@media (min-width: 768px) { .site-nav-actions { gap: 0.75rem; } }

.theme-icon-btn {
	position: relative;
	background: none; border: none; color: inherit;
	padding: 0.5rem;
	display: inline-flex; align-items: center; justify-content: center;
	transition: opacity 0.2s ease;
}
.theme-icon-btn:hover { opacity: 0.6; }
.theme-search-btn { display: none; }
@media (min-width: 768px) { .theme-search-btn { display: inline-flex; } }

.theme-cart-count {
	position: absolute; top: -2px; right: -2px;
	width: 1.25rem; height: 1.25rem;
	display: flex; align-items: center; justify-content: center;
	font-size: 12px; font-weight: 500;
	background: var(--color-primary); color: var(--color-primary-foreground);
	border-radius: 999px;
}
.theme-cart-count:empty { display: none; }

.theme-mobile-toggle { display: inline-flex; }
@media (min-width: 1024px) { .theme-mobile-toggle { display: none; } }
.theme-mobile-toggle .icon-close { display: none; }
.theme-mobile-toggle .icon-menu { display: inline-flex; }
body.mobile-menu-open .theme-mobile-toggle .icon-menu { display: none; }
body.mobile-menu-open .theme-mobile-toggle .icon-close { display: inline-flex; }

.site-mobile-menu { display: none; border-top: 1px solid var(--color-border); padding: 1rem 0; }
.site-mobile-menu.is-open { display: block; animation: themeFadeIn 0.4s var(--transition-smooth); }
.theme-mobile-nav-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 1rem; }
.theme-mobile-nav-list a {
	display: block; padding: 0.5rem 0;
	font-family: var(--font-display); font-size: 14px; letter-spacing: 0.18em; text-transform: uppercase;
	text-align: left; transition: color 0.2s ease;
}
.theme-mobile-nav-list a:hover { color: var(--color-muted-foreground); }
@media (min-width: 1024px) { .site-mobile-menu { display: none !important; } }

/* ==========================================================================
   Hero
   ========================================================================== */
.theme-hero { background: var(--color-background); }
.theme-hero-media {
	position: relative;
	width: 100%;
	height: 78vh;
	min-height: 560px;
	overflow: hidden;
	animation: themeFadeIn 1.1s var(--transition-smooth);
}
@media (min-width: 768px) { .theme-hero-media { height: 88vh; min-height: 680px; } }
.theme-hero-overlay {
	position: absolute; inset: 0;
	background: linear-gradient(to top,
		color-mix(in srgb, var(--color-foreground) 60%, transparent),
		color-mix(in srgb, var(--color-foreground) 35%, transparent) 55%,
		color-mix(in srgb, var(--color-foreground) 20%, transparent));
}
.theme-hero-content {
	position: relative;
	height: 100%;
	display: flex;
	align-items: center;
	justify-content: center;
}
.theme-hero-inner { max-width: 36rem; text-align: center; }
.theme-hero-title {
	font-family: var(--font-display);
	font-weight: 400;
	font-size: 3rem;
	line-height: 1.05;
	color: var(--color-background);
	margin: 0 auto 1.5rem;
	max-width: 32rem;
}
@media (min-width: 768px) { .theme-hero-title { font-size: 3.75rem; } }
@media (min-width: 1280px) { .theme-hero-title { font-size: 4.5rem; } }
.theme-hero-subtitle {
	color: color-mix(in srgb, var(--color-background) 90%, transparent);
	font-size: 1rem; line-height: 1.6;
	margin: 0 auto 2.5rem; max-width: 28rem;
}
@media (min-width: 768px) { .theme-hero-subtitle { font-size: 1.125rem; } }

.theme-anim-hero-title { animation: themeSlideUp 0.9s var(--transition-smooth) 0.35s both; }
.theme-anim-hero-subtitle { animation: themeSlideUp 0.7s var(--transition-smooth) 0.55s both; }
.theme-anim-hero-cta { animation: themeSlideUp 0.65s var(--transition-smooth) 0.75s both; }

.theme-btn-hero {
	display: inline-flex; align-items: center; justify-content: center;
	background: var(--color-background); color: var(--color-foreground);
	padding: 1.25rem 3rem;
	font-family: var(--font-display); font-size: 11px; font-weight: 500;
	letter-spacing: 0.28em; text-transform: uppercase;
	transition: background-color 0.2s ease;
}
.theme-btn-hero:hover { background: color-mix(in srgb, var(--color-background) 90%, transparent); }

.theme-btn-hero-dark {
	display: inline-flex; align-items: center; justify-content: center;
	background: var(--color-foreground); color: var(--color-background);
	padding: 1rem 2.25rem;
	font-family: var(--font-display); font-size: 11px;
	letter-spacing: 0.28em; text-transform: uppercase;
	transition: background-color 0.2s ease;
}
.theme-btn-hero-dark:hover { background: color-mix(in srgb, var(--color-foreground) 90%, transparent); }

/* ==========================================================================
   Collection tiles
   ========================================================================== */
.theme-collection-grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 1rem;
}
@media (min-width: 768px) {
	.theme-collection-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.5rem; }
}
.theme-collection-tile {
	position: relative;
	display: block;
	width: 100%;
	aspect-ratio: 3 / 4;
	overflow: hidden;
	border: none;
	padding: 0;
	background: none;
	text-align: left;
}
.theme-collection-tile-overlay {
	position: absolute; inset: 0;
	background: linear-gradient(to top,
		color-mix(in srgb, var(--color-foreground) 85%, transparent),
		color-mix(in srgb, var(--color-foreground) 40%, transparent) 60%,
		color-mix(in srgb, var(--color-foreground) 10%, transparent));
	transition: background 0.5s ease;
}
.theme-collection-tile-body {
	position: absolute; inset: 0;
	display: flex; flex-direction: column; justify-content: flex-end;
	padding: 1.5rem;
	color: var(--color-background);
	text-shadow: 0 1px 8px rgba(0,0,0,0.45);
}
@media (min-width: 768px) { .theme-collection-tile-body { padding: 1.75rem; } }
.theme-collection-tile-tagline {
	display: inline-flex; align-items: center; gap: 0.5rem;
	font-size: 11px; letter-spacing: 0.3em; text-transform: uppercase;
	margin-bottom: 0.5rem;
	filter: brightness(1.5);
}
.theme-tagline-dash { display: inline-block; height: 1px; width: 1.5rem; background: currentColor; }
.theme-collection-tile-label {
	display: block;
	font-family: var(--font-display); font-weight: 400;
	font-size: 1.5rem; margin-bottom: 0.5rem; color: var(--color-background);
}
@media (min-width: 768px) { .theme-collection-tile-label { font-size: 1.875rem; } }
.theme-collection-tile-cta {
	display: inline-flex; align-items: center; gap: 0.375rem;
	font-size: 12px; letter-spacing: 0.22em; text-transform: uppercase;
	color: var(--color-background);
}

/* ==========================================================================
   Product cards (Section 31.3 Pattern A + 31.9)
   ========================================================================== */
.theme-product-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 1.5rem;
	align-items: stretch;
}
@media (min-width: 768px) { .theme-product-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .theme-product-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 2rem; } }

.theme-product-grid--featured { grid-template-columns: repeat(1, minmax(0, 1fr)); gap: 2rem; }
@media (min-width: 768px) { .theme-product-grid--featured { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 3rem; } }

.theme-product-card-wrap { display: flex; flex-direction: column; height: 100%; }
.theme-product-card { position: relative; display: flex; flex-direction: column; height: 100%; }
.theme-product-card__image-wrapper .theme-card-link {
	position: absolute;
	inset: 0;
	z-index: 1;
}
.theme-product-card__info-link {
	display: block;
	color: inherit;
	text-decoration: none;
}
.theme-product-card__info-link:hover .theme-product-card__title { color: var(--color-primary); }

.theme-product-card:hover .theme-product-card__image-wrapper {
	transform: translateY(-4px);
}
.theme-product-card__image-wrapper {
	transition: transform 0.3s cubic-bezier(0.25, 0.4, 0.25, 1);
	position: relative;
	aspect-ratio: 3 / 4;
	overflow: hidden;
	background: var(--color-secondary);
	margin-bottom: 1.25rem;
}
.theme-product-card__image { width: 100%; height: 100%; object-fit: cover; display: block; }
.theme-product-card__image.is-dimmed { opacity: 0.6; }
.theme-product-card:hover .theme-product-card__image { transform: scale(1.04); }

.theme-product-card__overlay {
	position: absolute; inset: 0;
	display: flex; align-items: center; justify-content: center;
	background: color-mix(in srgb, var(--color-background) 30%, transparent);
	backdrop-filter: blur(2px);
	z-index: 3;
}
.theme-product-card__overlay-btn {
	padding: 0.5rem 1rem;
	font-size: 12px; font-weight: 500; letter-spacing: 0.18em; text-transform: uppercase;
	border-radius: 999px;
	border: none;
}
.theme-product-card__overlay-btn--inquire {
	background: var(--color-primary); color: var(--color-primary-foreground);
	transition: opacity 0.2s ease;
}
.theme-product-card__overlay-btn--inquire:hover { opacity: 0.9; }
.theme-product-card__overlay-btn--soldout { background: var(--color-foreground); color: var(--color-background); }

.theme-product-card__quick-add {
	position: absolute; bottom: 0.75rem; right: 0.75rem;
	z-index: 5;
	width: 2.5rem; height: 2.5rem;
	display: flex; align-items: center; justify-content: center;
	border-radius: 999px;
	background: var(--color-background); color: var(--color-foreground);
	box-shadow: var(--shadow-soft);
	opacity: 0;
	transition: opacity 0.3s ease, transform 0.2s ease;
}
@media (max-width: 767px) { .theme-product-card__quick-add { opacity: 1; } }
.theme-product-card:hover .theme-product-card__quick-add { opacity: 1; }
.theme-product-card__quick-add:hover { transform: scale(1.08); }

.theme-product-card__info { flex: 1; text-align: center; margin-top: 1rem; }
.theme-product-card__title {
	font-size: 14px; font-family: var(--font-body); font-weight: 500;
	text-transform: uppercase; letter-spacing: 0.15em; line-height: 1.4;
	margin-bottom: 0.5rem;
}
@media (min-width: 768px) { .theme-product-card__title { font-size: 16px; } }
.theme-product-card:hover .theme-product-card__title { color: var(--color-primary); }
.theme-product-card__price { font-size: 16px; }
@media (min-width: 768px) { .theme-product-card__price { font-size: 18px; } }

.theme-section-footer-link { text-align: center; margin-top: 3.5rem; }

/* ==========================================================================
   About / Owner (split sections)
   ========================================================================== */
.theme-about-inner {
	max-width: 42rem; margin: 0 auto; text-align: center;
	padding: 5rem 1.5rem;
}
@media (min-width: 768px) { .theme-about-inner { padding: 7rem 3.5rem; } }
.theme-about-paragraph { color: color-mix(in srgb, var(--color-foreground) 80%, transparent); line-height: 1.7; margin-bottom: 1.25rem; }

.theme-split-grid { display: grid; grid-template-columns: 1fr; align-items: stretch; }
@media (min-width: 1024px) { .theme-split-grid { grid-template-columns: 1fr 1fr; } }
.theme-split-grid--reverse .theme-split-media { order: 2; }
.theme-split-grid--reverse .theme-split-copy { order: 1; }
@media (max-width: 1023px) { .theme-split-grid--reverse .theme-split-media, .theme-split-grid--reverse .theme-split-copy { order: initial; } }

.theme-split-media { position: relative; min-height: 380px; }
@media (min-width: 768px) { .theme-split-media { min-height: 520px; } }
@media (min-width: 1024px) { .theme-split-media { min-height: 620px; } }

.theme-split-copy { display: flex; align-items: center; background: var(--color-background); padding: 4rem 1.5rem; }
@media (min-width: 768px) { .theme-split-copy { padding: 6rem 3.5rem; } }
@media (min-width: 1280px) { .theme-split-copy { padding: 6rem 6rem; } }
.theme-split-copy-inner { max-width: 36rem; }

.theme-owner-name { font-size: 2.25rem; font-weight: 400; line-height: 1.15; margin-bottom: 1.75rem; }
@media (min-width: 768px) { .theme-owner-name { font-size: 3rem; } }
@media (min-width: 1024px) { .theme-owner-name { font-size: 3.75rem; } }
.theme-owner-quote { font-family: var(--font-display); font-style: italic; font-size: 1.25rem; line-height: 1.35; color: color-mix(in srgb, var(--color-foreground) 85%, transparent); margin-bottom: 2rem; }
@media (min-width: 768px) { .theme-owner-quote { font-size: 1.5rem; } }
.theme-owner-paragraph { color: color-mix(in srgb, var(--color-foreground) 75%, transparent); line-height: 1.7; margin-bottom: 1.25rem; }

/* ==========================================================================
   Services
   ========================================================================== */
.theme-services-section { background: var(--color-butter); }
.theme-services-head { text-align: center; padding: 5rem 1.5rem; }
@media (min-width: 768px) { .theme-services-head { padding: 7rem 3.5rem; } }
.theme-service-row { display: grid; grid-template-columns: 1fr; align-items: stretch; }
@media (min-width: 1024px) { .theme-service-row { grid-template-columns: 1fr 1fr; } }
.theme-service-row.is-reversed .theme-service-media { order: 2; }
.theme-service-row.is-reversed .theme-service-copy { order: 1; }
@media (max-width: 1023px) { .theme-service-row.is-reversed .theme-service-media, .theme-service-row.is-reversed .theme-service-copy { order: initial; } }
.theme-service-media { position: relative; min-height: 360px; overflow: hidden; }
@media (min-width: 768px) { .theme-service-media { min-height: 500px; } }
@media (min-width: 1024px) { .theme-service-media { min-height: 560px; } }
.theme-service-numeral {
	position: absolute; top: 1.25rem; left: 1.25rem;
	font-family: var(--font-display); font-size: 14px; letter-spacing: 0.3em;
	padding: 0.25rem 0.5rem;
	background: color-mix(in srgb, var(--color-background) 85%, transparent);
	backdrop-filter: blur(4px);
}
.theme-service-copy { display: flex; align-items: center; background: var(--color-butter); padding: 4rem 1.5rem; }
@media (min-width: 768px) { .theme-service-copy { padding: 6rem 3.5rem; } }
@media (min-width: 1280px) { .theme-service-copy { padding: 6rem 6rem; } }
.theme-service-copy-inner { max-width: 36rem; }
.theme-service-kicker-row { display: flex; align-items: center; gap: 0.75rem; margin-bottom: 1.25rem; }
.theme-service-icon-circle {
	display: flex; align-items: center; justify-content: center;
	width: 2.5rem; height: 2.5rem; border-radius: 999px; border: 1px solid;
}
.theme-service-kicker { font-size: 11px; letter-spacing: 0.3em; text-transform: uppercase; }
.theme-service-title { font-size: 2.25rem; line-height: 1.05; letter-spacing: -0.02em; margin-bottom: 1.5rem; }
@media (min-width: 768px) { .theme-service-title { font-size: 3rem; } }
@media (min-width: 1024px) { .theme-service-title { font-size: 3.75rem; } }
.theme-service-desc { font-size: 1rem; color: var(--color-muted-foreground); line-height: 1.7; }
@media (min-width: 768px) { .theme-service-desc { font-size: 1.125rem; } }

/* ==========================================================================
   Custom orders (dark band)
   ========================================================================== */
.theme-custom-orders-section {
	background: var(--color-surface-deep);
	color: var(--color-surface-deep-foreground);
	overflow: hidden;
}
.theme-custom-orders-section { padding: 5rem 0; }
@media (min-width: 768px) { .theme-custom-orders-section { padding: 7rem 0; } }
.theme-custom-orders-head { text-align: center; max-width: 42rem; margin: 0 auto 3rem; }
.theme-custom-orders-paragraph { color: color-mix(in srgb, var(--color-surface-deep-foreground) 75%, transparent); line-height: 1.7; }
.theme-custom-orders-grid {
	display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem;
}
@media (min-width: 768px) { .theme-custom-orders-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.5rem; } }
@media (min-width: 1024px) { .theme-custom-orders-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.theme-custom-order-tile { background: none; border: none; padding: 0; text-align: left; color: inherit; }
.theme-custom-order-media { position: relative; display: block; aspect-ratio: 1 / 1; overflow: hidden; background: color-mix(in srgb, var(--color-surface-deep-foreground) 5%, transparent); }
.theme-custom-order-label { display: block; font-family: var(--font-display); font-size: 14px; line-height: 1.3; margin: 0.75rem 0 0.25rem; color: var(--color-surface-deep-foreground); }
@media (min-width: 768px) { .theme-custom-order-label { font-size: 16px; } }
.theme-custom-order-note { display: block; font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; }
.theme-custom-orders-cta { text-align: center; margin-top: 3rem; }
.theme-btn-outline-marigold {
	display: inline-flex; align-items: center; justify-content: center;
	padding: 0.875rem 2.5rem;
	border: 1px solid color-mix(in srgb, var(--color-marigold) 60%, transparent);
	color: var(--color-marigold);
	font-size: 12px; letter-spacing: 0.24em; text-transform: uppercase;
	border-radius: var(--radius);
	transition: background-color 0.3s ease, color 0.3s ease;
}
.theme-btn-outline-marigold:hover { background: var(--color-marigold); color: var(--color-surface-deep); }

/* ==========================================================================
   Sensory band
   ========================================================================== */
.theme-sensory-media { min-height: 420px; }
@media (min-width: 768px) { .theme-sensory-media { min-height: 560px; } }
@media (min-width: 1024px) { .theme-sensory-media { min-height: 640px; } }
.theme-sensory-overlap-img {
	position: absolute;
	bottom: 1.5rem;
	left: 1.5rem;
	width: 8rem;
	aspect-ratio: 3 / 4;
	height: auto;
	max-width: none;
	object-fit: cover;
	box-shadow: var(--shadow-elevated);
	border: 4px solid var(--color-background);
	z-index: 2;
}
.theme-sensory-media > .cover-img:first-child {
	z-index: 1;
}
@media (min-width: 768px) { .theme-sensory-overlap-img { width: 11rem; } }
@media (min-width: 1024px) { .theme-sensory-overlap-img { width: 13rem; } }
.theme-sensory-paragraph { color: color-mix(in srgb, var(--color-foreground) 80%, transparent); line-height: 1.7; margin-bottom: 1.5rem; }
.theme-btn-rosa {
	display: inline-flex; align-items: center; justify-content: center;
	background: var(--color-rosa); color: var(--color-background);
	padding: 1rem 2.25rem;
	font-family: var(--font-display); font-size: 11px; letter-spacing: 0.28em; text-transform: uppercase;
	transition: background-color 0.2s ease;
}
.theme-btn-rosa:hover { background: color-mix(in srgb, var(--color-rosa) 90%, transparent); }

/* ==========================================================================
   Gallery
   ========================================================================== */
.theme-gallery-head {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 1.5rem;
	margin-bottom: 2.5rem;
}
@media (min-width: 768px) { .theme-gallery-head { margin-bottom: 3.5rem; } }
.theme-gallery-head-text { min-width: 0; }
.theme-gallery-title.section-heading {
	font-family: var(--font-display);
	font-weight: 400;
	font-size: 1.875rem;
	line-height: 1.05;
	letter-spacing: -0.02em;
}
@media (min-width: 768px) { .theme-gallery-title.section-heading { font-size: 3rem; } }
@media (min-width: 1024px) { .theme-gallery-title.section-heading { font-size: 3.75rem; } }
.theme-gallery-track-wrap { overflow: hidden; }
.theme-gallery-track {
	display: flex; gap: 1rem;
	overflow-x: auto;
	padding: 0 1.5rem 0.5rem;
	scrollbar-width: none;
}
@media (min-width: 768px) { .theme-gallery-track { gap: 1.5rem; padding: 0 3rem 0.5rem; } }
@media (min-width: 1024px) { .theme-gallery-track { padding: 0 4rem 0.5rem; } }
.theme-gallery-track::-webkit-scrollbar { display: none; }
.theme-gallery-item { flex-shrink: 0; width: 78%; }
@media (min-width: 640px) { .theme-gallery-item { width: 55%; } }
@media (min-width: 768px) { .theme-gallery-item { width: 40%; } }
@media (min-width: 1024px) { .theme-gallery-item { width: 30%; } }
@media (min-width: 1280px) { .theme-gallery-item { width: 26%; } }
.theme-gallery-link { position: relative; display: block; aspect-ratio: 4 / 5; overflow: hidden; }
.theme-gallery-link img.theme-gallery-img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: top;
	transition: transform 0.9s var(--transition-smooth);
	will-change: transform;
}
.theme-gallery-link:hover img.theme-gallery-img { transform: scale(1.04); }
.theme-gallery-controls { display: flex; align-items: center; gap: 1rem; margin-top: 2.5rem; }
.theme-gallery-arrow {
	width: 3rem; height: 3rem;
	display: flex; align-items: center; justify-content: center;
	border: 1px solid color-mix(in srgb, var(--color-foreground) 20%, transparent);
	color: color-mix(in srgb, var(--color-foreground) 70%, transparent);
	background: none;
	transition: color 0.2s ease, border-color 0.2s ease;
}
.theme-gallery-arrow:hover { color: var(--color-primary); border-color: var(--color-primary); }

/* ==========================================================================
   Shop section
   ========================================================================== */
.theme-shop-head { text-align: center; margin-bottom: 3rem; }
.theme-shop-search { position: relative; max-width: 28rem; margin: 0 auto 2rem; }
.theme-shop-search-icon { position: absolute; left: 0; top: 50%; transform: translateY(-50%); color: var(--color-muted-foreground); }
.theme-shop-search-input {
	width: 100%;
	padding: 0.5rem 0 0.5rem 1.75rem;
	background: transparent;
	border: none; border-bottom: 1px solid var(--color-border);
	font-family: var(--font-body); font-size: 1rem;
	transition: border-color 0.2s ease;
}
.theme-shop-search-input:focus { outline: none; border-bottom-color: var(--color-foreground); }
.theme-shop-search-input::placeholder { color: var(--color-muted-foreground); }

.theme-shop-categories { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.5rem; margin-bottom: 1rem; }
.theme-cat-filter {
	padding: 0.5rem 1.25rem;
	font-size: 12px; letter-spacing: 0.2em; text-transform: uppercase;
	border-radius: 999px; border: 1px solid var(--color-border);
	background: transparent; color: var(--color-foreground);
	transition: all 0.3s ease;
}
.theme-cat-filter:hover { border-color: var(--color-rosa); color: var(--color-rosa); }
.theme-cat-filter.is-active { background: var(--color-rosa); color: var(--color-background); border-color: var(--color-rosa); }

.theme-shop-price-filter { display: flex; flex-direction: column; align-items: center; gap: 0.75rem; }
.theme-price-filter-toggle {
	display: flex; align-items: center; gap: 0.5rem;
	padding: 0.5rem 1rem;
	font-size: 12px; letter-spacing: 0.2em; text-transform: uppercase;
	color: var(--color-muted-foreground);
	background: none; border: none;
	transition: color 0.3s ease;
}
.theme-price-filter-toggle:hover { color: var(--color-foreground); }
#theme-price-filter-chevron { transition: transform 0.3s ease; }
.theme-price-filter-panel {
	width: 100%; max-width: 24rem;
	max-height: 0; overflow: hidden; opacity: 0;
	transition: max-height 0.3s var(--transition-smooth), opacity 0.3s var(--transition-smooth);
}
.theme-price-filter-panel.is-open { max-height: 10rem; opacity: 1; padding: 0.5rem 0; }
.theme-price-labels { display: flex; justify-content: space-between; font-size: 14px; color: var(--color-muted-foreground); margin-top: 0.75rem; }

/* Dual-handle price range (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: 1.25rem; height: 1.25rem;
	border-radius: 999px;
	border: 2px solid var(--color-primary);
	background: var(--color-background);
	cursor: pointer;
	margin-top: 0;
}
.range-input::-moz-range-thumb {
	pointer-events: auto;
	width: 1.25rem; height: 1.25rem;
	border-radius: 999px;
	border: 2px solid var(--color-primary);
	background: var(--color-background);
	cursor: pointer;
}
.range-input::-webkit-slider-runnable-track { background: transparent; }
.range-input--max { z-index: 3; }
.range-input--min { z-index: 4; }

.theme-shop-showmore-wrap { text-align: center; margin-top: 3rem; }
.theme-shop-empty { text-align: center; padding: 5rem 0; color: var(--color-muted-foreground); }

/* ==========================================================================
   Final CTA / contact
   ========================================================================== */
.theme-contact-section { position: relative; background: var(--color-butter); overflow: hidden; }
.theme-contact-bg { opacity: 1; }
.theme-contact-wrap { position: relative; }
.theme-contact-card {
	max-width: 42rem; margin: 0 auto; text-align: center;
	background: color-mix(in srgb, var(--color-background) 95%, transparent);
	backdrop-filter: blur(6px);
	box-shadow: var(--shadow-elevated);
	padding: 3rem 2rem;
	border: 1px solid color-mix(in srgb, var(--color-border) 60%, transparent);
}
@media (min-width: 768px) { .theme-contact-card { padding: 4rem 3.5rem; } }
.theme-contact-eyebrow { font-weight: 600; }
.theme-contact-paragraph { color: color-mix(in srgb, var(--color-foreground) 80%, transparent); line-height: 1.7; margin-bottom: 2.5rem; max-width: 28rem; margin-left: auto; margin-right: auto; }
.theme-contact-actions { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1.25rem; }
@media (min-width: 640px) { .theme-contact-actions { flex-direction: row; } }

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer { border-top: 1px solid var(--color-border); background: var(--color-butter); }
.theme-footer-inner {
	padding-top: 3rem;
	padding-bottom: 2rem;
}
@media (min-width: 1024px) {
	.theme-footer-inner { padding-top: 3.5rem; padding-bottom: 2.5rem; }
}
.theme-contact-wrap {
	padding-top: 6rem;
	padding-bottom: 6rem;
}
@media (min-width: 768px) {
	.theme-contact-wrap { padding-top: 8rem; padding-bottom: 8rem; }
}
.theme-footer-top { display: flex; flex-direction: column; gap: 2rem; }
@media (min-width: 768px) { .theme-footer-top { flex-direction: row; align-items: center; justify-content: space-between; } }
.footer-logo-img { height: 100% !important; }
.theme-footer-nav-list { display: flex; flex-wrap: wrap; align-items: center; gap: 1.25rem; list-style: none; margin: 0; padding: 0; }
@media (min-width: 768px) { .theme-footer-nav-list { gap: 1.75rem; } }
.theme-footer-nav-list a { font-size: 12px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--color-muted-foreground); transition: color 0.2s ease; }
.theme-footer-nav-list a:hover { color: var(--color-foreground); }
.theme-footer-contact { display: flex; flex-direction: column; align-items: flex-end; gap: 0.75rem; }
.theme-footer-contact-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-end; gap: 1.25rem; }
.theme-footer-link { display: flex; align-items: center; gap: 0.5rem; font-size: 14px; color: var(--color-muted-foreground); transition: color 0.2s ease; }
.theme-footer-link:hover { color: var(--color-foreground); }
.theme-footer-bottom { margin-top: 2.5rem; padding-top: 1.5rem; border-top: 1px solid var(--color-border); display: flex; flex-direction: column; align-items: center; justify-content: space-between; gap: 0.75rem; }
@media (min-width: 640px) { .theme-footer-bottom { flex-direction: row; } }
.theme-footer-tagline { font-size: 12px; color: var(--color-muted-foreground); font-style: italic; font-family: var(--font-display); letter-spacing: 0.02em; }
.theme-footer-copyright { font-size: 12px; color: var(--color-muted-foreground); }
.theme-footer-copyright a { text-decoration: underline; transition: color 0.2s ease; }
.theme-footer-copyright a:hover { color: var(--color-foreground); }

/* ==========================================================================
   Buttons (generic)
   ========================================================================== */
.theme-btn-primary {
	display: inline-flex; align-items: center; justify-content: center;
	background: var(--color-primary); color: var(--color-button-text);
	border: none; border-radius: var(--btn-radius);
	min-height: var(--btn-height); padding: var(--btn-padding);
	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);
	cursor: pointer; transition: opacity 0.2s ease;
}
.theme-btn-primary:hover { opacity: 0.9; }
.theme-btn-primary.disabled, .theme-btn-primary:disabled { opacity: 0.4; cursor: not-allowed; pointer-events: none; }
.theme-btn-outline {
	display: inline-flex; align-items: center; justify-content: center;
	background: transparent; color: var(--color-foreground);
	border: 1px solid var(--color-border); border-radius: var(--btn-radius);
	padding: 0.75rem 1.5rem;
	font-size: 13px; font-weight: 500;
	transition: background-color 0.2s ease;
}
.theme-btn-outline:hover { background: var(--color-secondary); }
.theme-full-width { width: 100%; }

/* ==========================================================================
   Single product page
   ========================================================================== */
.theme-single-product-main { padding-top: 6rem; }
@media (min-width: 1024px) { .theme-single-product-main { padding-top: 7rem; } }
.theme-breadcrumb { padding: 1.5rem 0; font-size: 13px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--color-muted-foreground); }
.theme-breadcrumb a { transition: color 0.2s ease; }
.theme-breadcrumb a:hover { color: var(--color-foreground); }
.theme-breadcrumb-sep { margin: 0 0.5rem; opacity: 0.5; }
.theme-breadcrumb-current { color: var(--color-foreground); }

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

.theme-product-info { position: sticky; top: 7rem; }
@media (min-width: 1024px) { .theme-product-info { padding-left: 1rem; } }
.theme-product-category { font-size: 13px; letter-spacing: 0.25em; text-transform: uppercase; color: var(--color-muted-foreground); }
.theme-product-title.product-title {
	font-family: var(--font-display); font-weight: 400;
	font-size: 1.875rem; line-height: 1.1; margin: 0.75rem 0 1.25rem;
	overflow-wrap: break-word; word-break: break-word;
}
@media (min-width: 768px) { .theme-product-title.product-title { font-size: 2.25rem; } }
@media (min-width: 1024px) { .theme-product-title.product-title { font-size: 2.75rem; } }
.theme-product-price { font-size: 1.25rem; margin-bottom: 1.5rem; }
.theme-product-price ins { text-decoration: none; }
.theme-product-teaser { color: var(--color-muted-foreground); line-height: 1.7; margin-bottom: 2rem; font-size: 1rem; overflow-wrap: break-word; word-break: break-word; }
.theme-product-stock { font-size: 13px; letter-spacing: 0.15em; text-transform: uppercase; margin-bottom: 1.5rem; }
.theme-product-stock.is-out-of-stock { color: var(--color-primary); }

.theme-add-to-cart-area { display: flex; flex-direction: column; align-items: stretch; gap: 1rem; margin-bottom: 1rem; }
.theme-quantity-field { margin-bottom: 0.25rem; }
.theme-variation-label {
	font-size: 13px;
	letter-spacing: 0.2em;
	text-transform: uppercase;
	color: var(--color-muted-foreground);
	font-family: var(--font-body);
	font-weight: 400;
	margin: 0 0 0.75rem;
}
.theme-variation-group { margin-bottom: 1.5rem; }
.theme-variation-pills { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.theme-variation-pill {
	padding: 0.5rem 1rem;
	font-size: 12px;
	letter-spacing: 0.15em;
	text-transform: uppercase;
	font-family: var(--font-body);
	border: 1px solid var(--color-border);
	border-radius: 999px;
	background: transparent;
	color: var(--color-foreground);
	transition: border-color 0.2s ease, background-color 0.2s ease, color 0.2s ease;
}
.theme-variation-pill:hover { border-color: color-mix(in srgb, var(--color-foreground) 60%, transparent); }
.theme-variation-pill.is-selected {
	background: var(--color-foreground);
	color: var(--color-background);
	border-color: var(--color-foreground);
}
.theme-variation-select-hidden {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}
.theme-variation-select-hidden select { pointer-events: none; }
.theme-variable-cart-form .single_variation_wrap {
	display: block !important;
}
.theme-variable-cart-form .woocommerce-variation.single_variation {
	display: none !important;
}
.theme-quantity-wrapper { display: inline-flex; align-items: center; border: 1px solid var(--color-border); }
.theme-qty-minus, .theme-qty-plus { padding: 0.75rem; background: none; border: none; color: inherit; 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; background: none;
	font-family: var(--font-body); font-size: 14px;
	-moz-appearance: textfield;
}
.theme-qty-input::-webkit-outer-spin-button, .theme-qty-input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.theme-btn-atc-product {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	background: var(--color-foreground);
	color: var(--color-background);
	padding: 1rem 1.5rem;
	border: none;
	border-radius: 999px;
	font-family: var(--font-body);
	font-size: 12px;
	font-weight: 500;
	letter-spacing: 0.25em;
	text-transform: uppercase;
	transition: background-color 0.2s ease, opacity 0.2s ease;
	text-decoration: none;
	cursor: pointer;
}
.theme-btn-atc-product:hover { background: color-mix(in srgb, var(--color-foreground) 90%, transparent); }
.theme-btn-atc-product.disabled,
.theme-btn-atc-product:disabled { opacity: 0.6; cursor: not-allowed; pointer-events: none; }
.single-product .theme-add-to-cart-area .single_add_to_cart_button.theme-btn-atc-product { flex: none; min-width: 0; }

.theme-accordions { margin-top: 2.5rem; border-top: 1px solid var(--color-border); }
.theme-accordion { border-bottom: 1px solid var(--color-border); }
.theme-accordion-toggle { width: 100%; display: flex; align-items: center; justify-content: space-between; padding: 1.25rem 0; background: none; border: none; text-align: left; }
.theme-accordion-toggle span { font-size: 13px; letter-spacing: 0.25em; text-transform: uppercase; }
.theme-accordion-chevron { transition: transform 0.3s ease; flex-shrink: 0; }
.theme-accordion.is-open .theme-accordion-chevron { transform: rotate(180deg); }
.theme-accordion-panel { max-height: 0; overflow: hidden; }
.theme-accordion.is-open .theme-accordion-panel { max-height: 4000px; }
.theme-accordion-body { padding-bottom: 1.5rem; }
.theme-accordion-body p, .theme-product-description { font-size: 15px; color: var(--color-muted-foreground); line-height: 1.7; margin-bottom: 1rem; }
.theme-accordion-body ul { list-style: none; margin: 0; padding: 0; }
.theme-accordion-body li { font-size: 15px; color: var(--color-muted-foreground); display: flex; align-items: flex-start; margin-bottom: 0.5rem; }
.theme-accordion-body li::before { content: ''; width: 4px; height: 4px; background: var(--color-foreground); border-radius: 999px; margin: 0.55rem 0.75rem 0 0; flex-shrink: 0; }

.theme-related-products { padding: 5rem 0; border-top: 1px solid var(--color-border); }
.theme-related-head { text-align: center; margin-bottom: 3rem; }
.theme-related-eyebrow { font-family: var(--font-display); font-style: italic; font-size: 1rem; color: var(--color-muted-foreground); margin-bottom: 0.5rem; }
.theme-related-heading { font-size: 1.875rem; font-weight: 400; }
@media (min-width: 768px) { .theme-related-heading { font-size: 2.25rem; } }
.theme-product-grid--related { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 1024px) { .theme-product-grid--related { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

/* ==========================================================================
   Archive / shop page
   ========================================================================== */
.theme-archive-shop-inner { padding: 6rem 0 5rem; }
.theme-archive-head { text-align: center; margin-bottom: 3rem; }
.theme-archive-pagination { text-align: center; margin-top: 3rem; }
.theme-archive-empty { text-align: center; padding: 5rem 0; color: var(--color-muted-foreground); }

/* ==========================================================================
   WooCommerce overrides (Section 14, 11.4.1, 11.4.2)
   ========================================================================== */
.single-product .theme-btn-atc-product.button,
.single-product a.theme-btn-atc-product {
	background-color: var(--color-foreground) !important;
	color: var(--color-background) !important;
	border-radius: 999px !important;
	min-height: auto !important;
	padding: 1rem 1.5rem !important;
	letter-spacing: 0.25em !important;
}
.single_add_to_cart_button.button:not(.theme-btn-atc-product),
.add_to_cart_button.button:not(.theme-btn-atc-product),
a.single_add_to_cart_button:not(.theme-btn-atc-product),
a.add_to_cart_button:not(.theme-btn-atc-product) {
	background-color: var(--color-primary) !important;
	color: var(--color-button-text) !important;
	border: none !important;
	border-radius: var(--btn-radius) !important;
	min-height: var(--btn-height) !important;
	padding: var(--btn-padding) !important;
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;
	font-family: var(--font-body) !important;
	font-size: var(--btn-font-size) !important;
	font-weight: var(--btn-font-weight) !important;
	letter-spacing: var(--btn-letter-spacing) !important;
	text-transform: var(--btn-text-transform) !important;
	cursor: pointer !important;
	transition: opacity 0.2s ease !important;
}
.single-product .theme-btn-atc-product.button:hover,
.single-product a.theme-btn-atc-product:hover {
	opacity: 1 !important;
	background-color: color-mix(in srgb, var(--color-foreground) 90%, transparent) !important;
	color: var(--color-background) !important;
}
.single_add_to_cart_button.button:not(.theme-btn-atc-product):hover,
.add_to_cart_button.button:not(.theme-btn-atc-product):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; }
.ajax_add_to_cart.theme-btn-loading { opacity: 0.6 !important; pointer-events: none !important; cursor: wait !important; }

/* Card compact quick-add button overrides global rules */
.theme-product-card .add_to_cart_button.ajax_add_to_cart.theme-product-card__quick-add {
	min-height: unset !important;
	height: 2.5rem !important;
	width: 2.5rem !important;
	padding: var(--btn-icon-padding) !important;
	border-radius: 50% !important;
	background: var(--color-background) !important;
	color: var(--color-foreground) !important;
}
.theme-product-card .add_to_cart_button.ajax_add_to_cart.theme-product-card__quick-add:hover {
	background: var(--color-background) !important;
	color: var(--color-foreground) !important;
	opacity: 1 !important;
}

.woocommerce-page a.added_to_cart.wc-forward,
.single-product a.added_to_cart.wc-forward,
body a.added_to_cart.wc-forward { display: none !important; }

.single-product .woocommerce-message,
.single-product .woocommerce-info { display: none; }
#theme-cart-drawer .woocommerce-message { display: none; }
.woocommerce-error { background: color-mix(in srgb, var(--color-primary) 10%, var(--color-background)); border: 1px solid var(--color-primary); color: var(--color-foreground); padding: 1rem 1.5rem; border-radius: var(--radius); list-style: none; font-size: 14px; }

/* Variations table layout (forward-compat, Section 11.5.1) */
.single-product .variations.shop_attributes tbody,
.single-product .variations tbody tr,
.single-product .variations tbody td { display: block; width: 100%; }
.single-product .variations tbody td.label { padding-bottom: 0.25rem; }
.single-product .variations tbody td.value { padding-top: 0; }

/* ==========================================================================
   Side cart drawer (Section 12)
   ========================================================================== */
#theme-cart-overlay {
	position: fixed; inset: 0;
	background: color-mix(in srgb, var(--color-foreground) 20%, transparent);
	z-index: 60;
	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; bottom: 0;
	width: 100%; max-width: 28rem;
	background: var(--color-background);
	z-index: 61;
	box-shadow: var(--shadow-elevated);
	display: flex; flex-direction: column;
	opacity: 0;
	transform: translateY(20px);
	pointer-events: none;
}
body:not(.cart-open) #theme-cart-drawer {
	animation: none;
	opacity: 0;
	transform: translateY(20px);
	pointer-events: none;
}
body.cart-open #theme-cart-overlay {
	animation: themeFadeIn 0.6s var(--transition-smooth) forwards;
}
body.cart-open #theme-cart-drawer {
	animation: themeSlideUp 0.6s var(--transition-smooth) forwards;
	pointer-events: auto;
}
body.cart-open.cart-stable #theme-cart-drawer {
	animation: none !important;
	opacity: 1 !important;
	transform: translateY(0) !important;
}
body.cart-is-updating #theme-cart-overlay,
body.cart-is-updating #theme-cart-drawer {
	pointer-events: none !important;
}
#theme-cart-drawer.is-updating,
body.cart-is-updating #theme-cart-drawer {
	opacity: 0.55 !important;
}

.theme-cart-drawer-header { display: flex; align-items: center; justify-content: space-between; padding: 1.5rem; border-bottom: 1px solid var(--color-border); }
.theme-cart-drawer-title { font-size: 1.125rem; font-weight: 700; }
.theme-cart-drawer-empty { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 1.5rem; text-align: center; color: var(--color-muted-foreground); gap: 1rem; }
.theme-cart-drawer-items { flex: 1; overflow: auto; padding: 1.5rem; display: flex; flex-direction: column; gap: 1.5rem; }
.theme-cart-drawer-item { display: flex; gap: 1rem; }
.theme-cart-item-image { width: 5rem; height: 6rem; background: var(--color-secondary); overflow: hidden; flex-shrink: 0; }
.theme-cart-item-image img {
	width: 100% !important;
	height: 100% !important;
	max-height: none !important;
	object-fit: cover;
}
.theme-cart-item-details { flex: 1; min-width: 0; }
.theme-cart-item-name { font-size: 14px; font-weight: 500; display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.theme-cart-product-link { cursor: pointer; }
.theme-cart-product-link:hover .theme-cart-item-name { text-decoration: underline; }
.theme-cart-item-price { font-size: 14px; color: var(--color-muted-foreground); margin-top: 0.125rem; }
.theme-cart-item-controls { display: flex; align-items: center; gap: 0.75rem; margin-top: 0.75rem; }
.theme-icon-btn-sm { padding: 0.25rem; background: var(--color-secondary); border: none; border-radius: 4px; display: inline-flex; }
.theme-cart-item-qty { font-size: 14px; width: 1.5rem; text-align: center; }
.theme-cart-item-remove { margin-left: auto; font-size: 14px; color: var(--color-muted-foreground); background: none; border: none; }
.theme-cart-item-remove:hover { color: var(--color-foreground); }
.theme-cart-drawer-footer { padding: 1.5rem; border-top: 1px solid var(--color-border); display: flex; flex-direction: column; gap: 1rem; }
.theme-cart-subtotal-row { display: flex; justify-content: space-between; font-size: 14px; }
.theme-cart-shipping-note { font-size: 14px; color: var(--color-muted-foreground); }

/* ==========================================================================
   Checkout (WooCommerce Blocks) — Section 13
   ========================================================================== */
body.woocommerce-checkout .site-main { padding-top: var(--header-height, 80px); padding-bottom: 4rem; }
body.woocommerce-checkout .entry-content { max-width: 100%; }
body.woocommerce-checkout .theme-page-container { max-width: 80rem; margin: 0 auto; padding: 0 1.5rem; }

body.woocommerce-checkout .wc-block-checkout {
	display: block !important;
}
body.woocommerce-checkout .wc-block-components-sidebar-layout.wc-block-checkout,
body.woocommerce-checkout .wc-block-components-sidebar-layout.wc-block-checkout.is-large {
	display: grid !important;
	grid-template-columns: minmax(0, 1fr) !important;
	gap: 3rem !important;
	align-items: start !important;
	width: 100% !important;
}
@media (min-width: 1024px) {
	body.woocommerce-checkout .wc-block-components-sidebar-layout.wc-block-checkout,
	body.woocommerce-checkout .wc-block-components-sidebar-layout.wc-block-checkout.is-large {
		grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) !important;
		gap: 4rem !important;
	}
}
body.woocommerce-checkout .wc-block-checkout__main,
body.woocommerce-checkout .wc-block-checkout__sidebar {
	min-width: 0 !important;
	width: 100% !important;
	max-width: none !important;
	display: block !important;
}
body.woocommerce-checkout .wc-block-components-text-input input,
body.woocommerce-checkout .wc-block-components-text-input input[type="text"],
body.woocommerce-checkout .wc-block-components-text-input input[type="email"],
body.woocommerce-checkout .wc-block-components-text-input input[type="tel"],
body.woocommerce-checkout .wc-block-components-textarea textarea,
body.woocommerce-checkout select,
body.woocommerce-checkout .wc-block-components-select select,
body.woocommerce-checkout .wc-block-components-address-form select,
body.woocommerce-checkout .wc-block-components-country-input select,
body.woocommerce-checkout .wc-block-components-state-input select,
body.woocommerce-checkout .wc-block-components-select-control__select,
body.woocommerce-checkout .wc-block-components-combobox .wc-block-components-combobox-control input {
	width: 100% !important;
	max-width: none !important;
	font-family: var(--font-body) !important;
	font-size: 1rem !important;
	line-height: 1.5 !important;
	color: var(--color-foreground) !important;
	background: var(--color-background) !important;
	background-color: var(--color-background) !important;
	border: 1px solid var(--color-border) !important;
	border-radius: var(--radius) !important;
	box-shadow: none !important;
	appearance: auto !important;
	-webkit-appearance: menulist !important;
}
body.woocommerce-checkout .wc-block-components-text-input input::placeholder,
body.woocommerce-checkout .wc-block-components-textarea textarea::placeholder {
	color: var(--color-muted-foreground) !important;
	opacity: 1 !important;
}
body.woocommerce-checkout .wc-block-components-text-input input:focus,
body.woocommerce-checkout .wc-block-components-textarea textarea:focus,
body.woocommerce-checkout select:focus,
body.woocommerce-checkout .wc-block-components-select select:focus,
body.woocommerce-checkout .wc-block-components-address-form select:focus,
body.woocommerce-checkout .wc-block-components-combobox .wc-block-components-combobox-control input:focus {
	border-color: var(--color-primary) !important;
	outline: none !important;
	box-shadow: 0 0 0 1px var(--color-primary) !important;
}
body.woocommerce-checkout .wc-block-components-select .components-custom-select-control__button,
body.woocommerce-checkout .wc-block-components-combobox .wc-block-components-combobox-control__button,
body.woocommerce-checkout .wc-block-components-select .wc-block-components-select__select,
body.woocommerce-checkout .components-custom-select-control__button,
body.woocommerce-checkout .components-select-control__input,
body.woocommerce-checkout .wc-block-components-select-control__label + select {
	font-family: var(--font-body) !important;
	font-size: 1rem !important;
	line-height: 1.5 !important;
	color: var(--color-foreground) !important;
	background: var(--color-background) !important;
	background-color: var(--color-background) !important;
	border: 1px solid var(--color-border) !important;
	border-radius: var(--radius) !important;
	box-shadow: none !important;
	min-height: auto !important;
}
body.woocommerce-checkout .components-custom-select-control__button:focus,
body.woocommerce-checkout .wc-block-components-select .components-custom-select-control__button:focus {
	border-color: var(--color-primary) !important;
	outline: none !important;
	box-shadow: 0 0 0 1px var(--color-primary) !important;
}
body.woocommerce-checkout .wc-block-checkout__sidebar {
	background-color: var(--color-secondary);
	border-radius: var(--card-radius);
	padding: 2rem;
}
body.woocommerce-checkout .wc-block-components-checkout-place-order-button {
	background-color: var(--color-primary) !important;
	color: var(--color-primary-foreground) !important;
	border-radius: var(--btn-radius) !important;
	font-family: var(--font-body) !important;
	letter-spacing: var(--btn-letter-spacing) !important;
	text-transform: var(--btn-text-transform) !important;
}
body.woocommerce-checkout .wc-block-components-notice-banner { grid-column: 1 / -1; border-radius: var(--radius); }

body.woocommerce-cart .site-main,
body.woocommerce-account .site-main { padding-top: var(--header-height, 80px); padding-bottom: 4rem; }

/* ==========================================================================
   Thank-you page — Section 22.8
   ========================================================================== */
body.theme-thankyou-page { overflow-x: hidden; }
body.theme-thankyou-page .site-main { padding-top: var(--header-height, 80px); padding-bottom: 4rem; }
body.theme-thankyou-page .woocommerce-order h2,
body.theme-thankyou-page .woocommerce-order-details__title { padding: 0 0 1rem 0; font-size: 1.5rem; }
body.theme-thankyou-page .woocommerce-order-details table { width: 100%; table-layout: fixed; 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; margin-top: 2rem; }
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; }
}

/* ==========================================================================
   404
   ========================================================================== */
.theme-404 {
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 100vh;
	background: var(--color-muted);
}
.theme-404-inner { text-align: center; padding: 1.5rem; }
.theme-404-title {
	font-size: 2.25rem;
	font-weight: 700;
	margin: 0 0 1rem;
}
.theme-404-message {
	font-size: 1.25rem;
	color: var(--color-muted-foreground);
	margin: 0 0 1rem;
}
.theme-404-link {
	color: var(--color-primary);
	text-decoration: underline;
	transition: color 0.2s ease;
}
.theme-404-link:hover { color: color-mix(in srgb, var(--color-primary) 90%, transparent); }

/* ==========================================================================
   Page (generic content)
   ========================================================================== */
.theme-page-container { padding: 6rem 1.5rem 4rem; }
.page-title { font-size: 2rem; margin-bottom: 1.5rem; }
