/* ===================================================================
   EnigamiHouse — theme stylesheet
   Color tokens are emitted as CSS custom properties by inc/customizer.php
   (wp_add_inline_style) using the source's exact HSL->hex conversion.
   =================================================================== */

:root {
	/* Fallback defaults — mirrored from src/index.css HSL tokens, overridden
	   live by inline Customizer output (Section 6.1). */
	--color-background: #0d0d0d;
	--color-foreground: #f1ede4;
	--color-primary: #eec02b;
	--color-card: #141414;
	--color-border: #333028;
	--color-muted-foreground: #aca69a;
	--color-teal: #d2cbbc;
	--color-nopal: #e8e3d9;
	--color-lilac: #ac8853;
	--color-marigold: #f0ca4c;
	--color-rosa: #eabc3e;
	--color-butter: #1a1a1a;
	--logo-height: 3.5rem;
	--logo-height-mobile: 3rem;

	/* Derived tokens (computed, never exposed as Customizer controls). */
	--color-primary-foreground: #0f0f0f;
	--color-button-text: #0f0f0f;
	--color-surface: color-mix(in srgb, var(--color-card) 100%, transparent);
	--color-border-soft: color-mix(in srgb, var(--color-border) 60%, transparent);

	--font-display: 'Urbanist', system-ui, sans-serif;
	--font-body: 'Epilogue', system-ui, sans-serif;

	--radius: 0.5rem;
	--card-radius: 1rem;
	--header-height: 80px;

	--btn-radius: 9999px;
	--btn-height: 3rem;
	--btn-padding: 0.9rem 2rem;
	--btn-font-size: 12px;
	--btn-font-weight: 600;
	--btn-letter-spacing: 0.22em;
	--btn-text-transform: uppercase;
	--btn-icon-padding: 0.5rem;

	--transition-smooth: cubic-bezier(0.4, 0, 0.2, 1);
	--ease-smooth: cubic-bezier(0.25, 0.4, 0.25, 1);
}

/* ===================================================================
   Reset & base
   =================================================================== */
*, *::before, *::after { 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);
	font-weight: 300;
	-webkit-font-smoothing: antialiased;
	line-height: 1.5;
}
img { max-width: 100%; display: block; }
img:not(.cover-img):not(.product-card-img):not(.hero-section__img):not(.product-main-image):not(.site-logo-img):not(.site-footer__logo-img):not(.catstrip-tile__img):not(.portfolio-item__img) {
	height: auto;
}
.cover-img, .hero-section__img, .product-card-img, .product-main-image {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
}
a { color: inherit; text-decoration: none; }
a[href], button:not(:disabled), input[type="submit"], input[type="button"], input[type="reset"],
input[type="checkbox"], input[type="radio"], label[for], select, summary,
[role="button"], [data-contact-trigger], [data-cart-open], [data-cart-close],
[data-mobile-menu-toggle], [data-announcement-close], [data-lightbox-close],
[data-portfolio-filter], [data-faq-tab], [data-faq-toggle], [data-accordion-toggle],
.theme-nav-link, .theme-shop-cat-link, .theme-section-anchor, .theme-inline-link,
.theme-quick-add, .ajax_add_to_cart, .portfolio-item, .catstrip-tile,
.theme-thumb, .faq-tab-btn, .faq-item__question, .portfolio-filter-btn,
.service-card__cta, .about-section__link, .theme-accordion__trigger,
.theme-size-pill, .theme-cart-qty-btn, .theme-cart-remove, [data-cart-remove] {
	cursor: pointer;
}
button { font-family: inherit; cursor: pointer; background: none; border: none; color: inherit; }
input, textarea, select { font-family: inherit; }
ul { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4, h5, h6 {
	font-family: var(--font-display);
	font-weight: inherit;
	font-size: inherit;
	letter-spacing: -0.02em;
	margin: 0;
	line-height: 1.15;
}
p { margin: 0; }

.container-wide {
	width: 100%;
	max-width: 80rem;
	margin: 0 auto;
	padding-left: 1.5rem;
	padding-right: 1.5rem;
}
@media (min-width: 1024px) {
	.container-wide { padding-left: 2rem; padding-right: 2rem; }
}

.scroll-mt-24 { scroll-margin-top: 6rem; }

/* ===================================================================
   Reveal animations (Section 2.1)
   =================================================================== */
.reveal-item {
	opacity: 0;
	transform: translateY(24px);
	transition: opacity 0.7s var(--ease-smooth), transform 0.7s var(--ease-smooth);
}
.reveal-item.is-visible { opacity: 1; transform: translateY(0); }

.portfolio-stagger .portfolio-item {
	opacity: 0;
	transform: translateY(16px);
	transition: opacity 0.5s ease, transform 0.5s ease;
}
.portfolio-stagger.is-visible .portfolio-item,
.portfolio-stagger .portfolio-item.is-visible {
	opacity: 1;
	transform: translateY(0);
}

/* Customizer preview fallback (Section 2.1.5 — MANDATORY) */
body.is-customizer .reveal-item,
body.is-customizer .portfolio-stagger .portfolio-item {
	opacity: 1 !important;
	transform: none !important;
}

@media (prefers-reduced-motion: reduce) {
	.reveal-item, .portfolio-stagger .portfolio-item {
		transition: none !important;
		opacity: 1 !important;
		transform: none !important;
	}
}

@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes slideUp { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }
.animate-fade-in { animation: fadeIn 0.4s var(--transition-smooth) forwards; }
.animate-slide-up { animation: slideUp 0.4s var(--transition-smooth) forwards; }

/* ===================================================================
   Buttons
   =================================================================== */
.theme-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.5rem;
	border-radius: var(--btn-radius);
	padding: var(--btn-padding);
	font-size: var(--btn-font-size);
	font-family: var(--font-body);
	font-weight: var(--btn-font-weight);
	letter-spacing: var(--btn-letter-spacing);
	text-transform: var(--btn-text-transform);
	border: 1px solid transparent;
	transition: all 0.2s ease;
	cursor: pointer;
}
.theme-btn:hover { transform: scale(1.03); }
.theme-btn:active { transform: scale(0.97); }
.theme-btn-block { width: 100%; }

.theme-btn-primary {
	background: var(--color-primary);
	color: var(--color-button-text);
	border-color: var(--color-primary);
}
.theme-btn-primary:hover { opacity: 0.9; }

.theme-btn-outline {
	background: transparent;
	color: var(--color-foreground);
	border-color: color-mix(in srgb, var(--color-foreground) 40%, transparent);
}
.theme-btn-outline:hover { border-color: var(--color-foreground); background: var(--color-foreground); color: var(--color-background); }

.theme-btn-hero-primary {
	background: color-mix(in srgb, #fff 95%, transparent);
	color: var(--color-background);
	text-transform: none;
	font-weight: 600;
}
.theme-btn-hero-primary:hover { background: #fff; }
.theme-btn-hero-outline {
	background: transparent;
	color: #fff;
	border: 1px solid rgba(255,255,255,0.8);
	text-transform: none;
}
.theme-btn-hero-outline:hover { background: rgba(255,255,255,0.15); border-color: #fff; }

.theme-btn-outline-nopal { background: transparent; color: var(--color-nopal); border-color: var(--color-nopal); }
.theme-btn-outline-nopal:hover { background: var(--color-nopal); color: var(--color-background); transform: scale(1.03); }
.theme-btn-outline-nopal:active { transform: scale(0.97); }

.theme-inline-link {
	text-decoration: underline;
	text-underline-offset: 4px;
}
.theme-inline-link:hover { color: var(--color-foreground); }
.theme-btn-outline-teal { background: transparent; color: var(--color-teal); border-color: var(--color-teal); }
.theme-btn-outline-teal:hover { background: var(--color-teal); color: var(--color-background); }

.theme-btn-cta-solid { background: var(--color-background); color: var(--color-foreground); border: 1px solid var(--color-foreground); }
.theme-btn-cta-solid:hover { background: var(--color-foreground); color: var(--color-background); }
.theme-btn-cta-outline { background: transparent; color: var(--color-background); border: 1px solid color-mix(in srgb, var(--color-background) 70%, transparent); }
.theme-btn-cta-outline:hover { background: color-mix(in srgb, var(--color-background) 10%, transparent); border-color: var(--color-background); }

.theme-icon { display: inline-block; vertical-align: middle; }

/* ===================================================================
   Section headings — per-section scales (Section 2.2.5)
   =================================================================== */
.section-kicker {
	display: block;
	font-size: 12px;
	letter-spacing: 0.32em;
	text-transform: uppercase;
	font-family: var(--font-body);
	margin-bottom: 0.75rem;
	color: var(--color-nopal);
}
.section-body { color: color-mix(in srgb, var(--color-foreground) 75%, transparent); font-size: 1rem; line-height: 1.6; }
.section-intro { text-align: center; margin-bottom: 3rem; }

.catstrip-section__heading, .featured-section__heading { font-size: 1.875rem; }
@media (min-width: 768px) { .catstrip-section__heading, .featured-section__heading { font-size: 2.25rem; } }

.owner-section__heading { font-size: 2.25rem; }
@media (min-width: 768px) { .owner-section__heading { font-size: 3rem; } }
@media (min-width: 1024px) { .owner-section__heading { font-size: 3.75rem; } }

.services-section__heading, .cta-section__title { font-size: 2.25rem; }
@media (min-width: 768px) { .services-section__heading { font-size: 3rem; } }
@media (min-width: 1024px) { .services-section__heading { font-size: 3.75rem; } }

.portfolio-section__heading, .faq-section__heading { font-size: 1.875rem; }
@media (min-width: 768px) { .portfolio-section__heading, .faq-section__heading { font-size: 3rem; } }
@media (min-width: 1024px) { .portfolio-section__heading, .faq-section__heading { font-size: 3.75rem; } }

.shop-section__heading { font-size: 1.875rem; margin-bottom: 2.5rem; }
@media (min-width: 768px) { .shop-section__heading { font-size: 3rem; } }

.cta-section__title { }
@media (min-width: 768px) { .cta-section__title { font-size: 3rem; } }
@media (min-width: 1024px) { .cta-section__title { font-size: 3.75rem; } }

/* ===================================================================
   Announcement bar
   =================================================================== */
.theme-announcement-bar {
	position: relative;
	background: var(--color-nopal);
	color: var(--color-background);
}
.theme-announcement-bar__inner { padding: 0.5rem 0; text-align: center; }
.theme-announcement-bar__text { font-size: 13px; letter-spacing: 0.18em; text-transform: uppercase; font-family: var(--font-body); }
.theme-announcement-bar__close {
	position: absolute;
	right: 0.75rem;
	top: 50%;
	transform: translateY(-50%);
	padding: 0.25rem;
	opacity: 0.7;
}
.theme-announcement-bar__close:hover { opacity: 1; }

/* ===================================================================
   WordPress admin bar — keep sticky header below the toolbar
   =================================================================== */
.admin-bar .site-header,
body.admin-bar .site-header {
	top: 32px;
}
@media screen and (max-width: 782px) {
	.admin-bar .site-header,
	body.admin-bar .site-header {
		top: 46px;
	}
}

/* ===================================================================
   Header
   =================================================================== */
.site-header {
	position: sticky;
	top: 0;
	left: 0;
	right: 0;
	z-index: 50;
	border-top: 2px solid color-mix(in srgb, var(--color-lilac) 40%, transparent);
	border-bottom: 1px solid transparent;
	background: var(--color-background);
	transition: all 0.3s ease;
}
.site-header.is-solid {
	background: color-mix(in srgb, var(--color-background) 95%, transparent);
	backdrop-filter: blur(4px);
	-webkit-backdrop-filter: blur(4px);
	border-bottom-color: color-mix(in srgb, var(--color-border) 60%, transparent);
}
/* The header background is always opaque (Section 2 — exact match: source
   header is `sticky` with a constant bg-background, not a transparent
   overlay). is-solid only adds the blur + border shown once scrolled. */
.site-nav { position: relative; display: flex; align-items: center; justify-content: space-between; height: 5rem; }
@media (min-width: 768px) { .site-nav { height: 6rem; } }
@media (min-width: 1024px) {
	.site-nav {
		display: grid;
		grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
		align-items: center;
		gap: 1.5rem;
	}
}

.site-nav__left, .site-nav__right-links { display: none; align-items: center; gap: 2.5rem; min-width: 0; }
@media (min-width: 1024px) {
	.site-nav__left {
		display: flex;
		grid-column: 1;
		justify-content: flex-start;
	}
	.site-nav__right-links { display: flex; }
}

.theme-nav-link {
	font-size: 13px;
	font-family: var(--font-body);
	font-weight: 400;
	letter-spacing: normal;
	color: color-mix(in srgb, var(--color-foreground) 80%, transparent);
	transition: color 0.2s ease;
}
.theme-nav-link:hover { color: var(--color-foreground); }

.site-nav__toggle { display: flex; padding: 0.5rem; margin-left: -0.5rem; transition: opacity 0.2s ease; }
.site-nav__toggle:hover { opacity: 0.6; }
@media (min-width: 1024px) { .site-nav__toggle { display: none; } }
.site-nav__toggle .icon-close { display: none; }
.site-nav__toggle.is-open .icon-menu { display: none; }
.site-nav__toggle.is-open .icon-close { display: inline-block; }

.site-nav__brand {
	position: absolute;
	left: 50%;
	transform: translateX(-50%);
	display: flex;
	align-items: center;
	gap: 0.75rem;
	z-index: 1;
}
@media (min-width: 1024px) {
	.site-nav__brand {
		position: static;
		left: auto;
		transform: none;
		grid-column: 2;
		justify-self: center;
		z-index: auto;
	}
}
.site-logo-img {
	height: var(--logo-height-mobile);
	width: auto;
	max-width: none;
	object-fit: contain;
	border-radius: 9999px;
	display: block;
}
@media (min-width: 768px) {
	.site-logo-img { height: var(--logo-height); }
}
.site-brand-name, .site-logo-text {
	font-family: var(--font-display);
	font-size: 1rem;
	line-height: 1.25;
	letter-spacing: -0.025em;
	color: var(--color-foreground);
	display: none;
}
@media (min-width: 640px) { .site-brand-name, .site-logo-text { display: inline; } }
@media (min-width: 768px) { .site-brand-name, .site-logo-text { font-size: 1.125rem; } }

.site-nav__right {
	display: flex;
	align-items: center;
	justify-content: flex-end;
	gap: 1.5rem;
	min-width: 0;
}
@media (min-width: 768px) { .site-nav__right { gap: 2rem; } }
@media (min-width: 1024px) {
	.site-nav__right {
		grid-column: 3;
		justify-content: flex-end;
	}
}
.site-nav__cart-wrap { display: flex; align-items: center; gap: 0.5rem; }
@media (min-width: 768px) { .site-nav__cart-wrap { gap: 0.75rem; } }

.theme-cart-toggle {
	position: relative;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 2.25rem;
	height: 2.25rem;
	border-radius: 9999px;
	border: 1px solid color-mix(in srgb, var(--color-foreground) 30%, transparent);
	font-size: 13px;
	font-family: var(--font-body);
	transition: border-color 0.2s ease;
}
.theme-cart-toggle:hover { border-color: var(--color-foreground); }

.site-nav__mobile { display: none; border-top: 1px solid color-mix(in srgb, var(--color-border) 60%, transparent); padding: 1rem 0; }
.site-nav__mobile.is-open { display: block; }
.site-nav__mobile .theme-nav-list { display: flex; flex-direction: column; gap: 1rem; }
.site-nav__mobile .theme-nav-link { text-align: left; font-size: 0.875rem; padding: 0.5rem 0; }

/* ===================================================================
   Hero
   =================================================================== */
.hero-section { position: relative; background: var(--color-background); }
.hero-section__media {
	position: relative;
	width: 100%;
	height: 100svh;
	min-height: 100svh;
	overflow: hidden;
}
.hero-section__scrim { position: absolute; inset: 0; background: rgba(0,0,0,0.5); pointer-events: none; }
.hero-section__scrim-bottom {
	position: absolute; left: 0; right: 0; bottom: 0; height: 33%;
	background: linear-gradient(to top, rgba(0,0,0,0.55), transparent);
	pointer-events: none;
}
.hero-section__content {
	position: absolute;
	inset: 0;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	text-align: center;
	padding-top: 6rem;
	padding-bottom: 6rem;
}
.hero-section__kicker {
	display: block;
	font-size: 11px;
	letter-spacing: 0.36em;
	text-transform: uppercase;
	font-weight: 700;
	color: #fff;
	margin-bottom: 1.5rem;
	font-family: var(--font-body);
}
@media (min-width: 640px) { .hero-section__kicker { font-size: 12px; } }
.hero-section__title {
	color: #fff;
	font-weight: 300;
	line-height: 0.98;
	letter-spacing: -0.03em;
	text-transform: uppercase;
	font-size: clamp(2.5rem, 7.5vw, 6rem);
	max-width: 64rem;
}
.hero-section__actions {
	margin-top: 2.5rem;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 1rem;
}
@media (min-width: 640px) { .hero-section__actions { flex-direction: row; } }

/* ===================================================================
   Category strip
   =================================================================== */
.catstrip-section { padding: 4rem 0; }
@media (min-width: 768px) { .catstrip-section { padding: 5rem 0; } }
.catstrip-tiles {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 1rem;
	padding: 1.5rem 0.5rem 1rem;
}
@media (min-width: 640px) { .catstrip-tiles { gap: 1.5rem; } }
@media (min-width: 768px) { .catstrip-tiles { gap: 2.5rem; } }
.catstrip-tile {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 0.75rem;
	flex-shrink: 0;
	scroll-snap-align: start;
	padding: 0;
	background: none;
	border: none;
	color: inherit;
	text-align: center;
}
@media (min-width: 768px) { .catstrip-tile { gap: 1rem; } }
.catstrip-tile__circle {
	position: relative;
	width: 6rem;
	height: 6rem;
	border-radius: 9999px;
	overflow: hidden;
	display: block;
	transition: transform 0.3s ease;
	box-shadow: 0 0 0 1px color-mix(in srgb, var(--color-foreground) 10%, transparent);
}
@media (min-width: 640px) { .catstrip-tile__circle { width: 7rem; height: 7rem; } }
@media (min-width: 768px) { .catstrip-tile__circle { width: 10rem; height: 10rem; } }
.catstrip-tile:hover .catstrip-tile__circle { transform: scale(1.05); }
.catstrip-tile__circle img.catstrip-tile__img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	max-width: none;
	object-fit: cover;
	object-position: center;
}
.catstrip-tile__overlay {
	position: absolute;
	inset: 0;
	background: rgba(0, 0, 0, 0.35);
	transition: background 0.2s ease;
	pointer-events: none;
}
.catstrip-tile:hover .catstrip-tile__overlay { background: rgba(0, 0, 0, 0.25); }
.catstrip-tile__icon {
	position: absolute;
	inset: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	pointer-events: none;
	color: #fff;
}
.catstrip-tile__icon-svg {
	width: 2rem;
	height: 2rem;
	filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.45));
}
@media (min-width: 768px) {
	.catstrip-tile__icon-svg { width: 3rem; height: 3rem; }
}
.catstrip-tile__label {
	font-size: 11px;
	font-family: var(--font-body);
	letter-spacing: 0.18em;
	text-transform: uppercase;
	color: color-mix(in srgb, var(--color-foreground) 85%, transparent);
}
@media (min-width: 768px) { .catstrip-tile__label { font-size: 0.875rem; } }
.catstrip-tile:hover .catstrip-tile__label { color: var(--color-foreground); }

/* ===================================================================
   Featured section
   =================================================================== */
.featured-section { padding: 4rem 0; }
@media (min-width: 768px) { .featured-section { padding: 6rem 0; } }
.featured-section__cta {
	text-align: center;
	margin-top: 3.5rem;
}
.featured-section__cta .theme-btn {
	padding: 0.875rem 2rem;
	font-size: 12px;
	font-weight: 600;
	letter-spacing: 0.22em;
}

/* ===================================================================
   Product cards (Section 19.1 / 31.3 / 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)); gap: 2rem; } }
@media (min-width: 1024px) { .theme-product-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 2.5rem; } }

.featured-grid { grid-template-columns: repeat(1, minmax(0, 1fr)); }
@media (min-width: 768px) { .featured-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 3rem; } }

.related-products-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 1024px) { .related-products-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

.theme-product-card {
	position: relative;
	display: flex;
	flex-direction: column;
	height: 100%;
}
.theme-product-card > .theme-card-link { position: absolute; inset: 0; z-index: 2; pointer-events: auto; }
.theme-product-card *:not(.theme-card-link) { pointer-events: none; }
.theme-product-card .add_to_cart_button,
.theme-product-card .theme-quick-add { position: relative; z-index: 3; pointer-events: auto; }

.theme-product-card__image-wrapper {
	position: relative;
	aspect-ratio: 1 / 1;
	background: var(--color-card);
	border-radius: var(--card-radius);
	overflow: hidden;
	margin-bottom: 1.25rem;
}
.theme-product-card__image-wrapper img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 0.7s var(--ease-smooth); }
.theme-product-card:hover .theme-product-card__image-wrapper img { transform: scale(1.04); }

.theme-badge {
	position: absolute;
	top: 1rem;
	z-index: 3;
	padding: 0.25rem 0.75rem;
	border-radius: 0.375rem;
	font-size: 11px;
	font-family: var(--font-body);
	font-weight: 500;
	letter-spacing: 0.02em;
}
.theme-badge--soldout { right: 1rem; background: var(--color-foreground); color: var(--color-background); }

.theme-product-card .theme-quick-add {
	position: absolute;
	left: 1rem;
	right: 1rem;
	bottom: 1rem;
	z-index: 3;
	pointer-events: auto;
	padding: 0.75rem;
	border-radius: 9999px;
	background-color: var(--color-teal) !important;
	color: var(--color-background) !important;
	border: 1px solid var(--color-teal) !important;
	font-size: 11px;
	letter-spacing: 0.22em;
	text-transform: uppercase;
	font-weight: 600;
	font-family: var(--font-body);
	text-align: center;
	opacity: 0;
	transform: translateY(0.5rem);
	transition: all 0.3s ease;
	min-height: unset !important;
}
.theme-product-card:hover .theme-quick-add { opacity: 1; transform: translateY(0); }
.theme-product-card .theme-quick-add:hover {
	background-color: var(--color-background) !important;
	color: var(--color-teal) !important;
	transform: translateY(0) scale(1.03);
}
.theme-product-card .theme-quick-add:active { transform: translateY(0) scale(0.97); }

.theme-product-card__info { padding: 0 0.25rem; display: flex; flex-direction: column; gap: 0.375rem; flex: 1; min-width: 0; }
.theme-product-card__category { font-size: 12px; text-transform: uppercase; letter-spacing: 0.18em; color: var(--color-muted-foreground); font-family: var(--font-body); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.theme-product-card__title { font-size: 1rem; font-weight: 500; line-height: 1.35; color: var(--color-foreground); transition: color 0.3s ease; }
@media (min-width: 768px) { .theme-product-card__title { font-size: 1.125rem; } }
.theme-product-card:hover .theme-product-card__title { color: var(--color-primary); }
.theme-product-card__price { font-size: 1rem; color: color-mix(in srgb, var(--color-foreground) 85%, transparent); font-family: var(--font-body); }
.theme-product-card__price ins { text-decoration: none; }
.theme-product-card__price del { opacity: 0.5; margin-right: 0.35em; }

/* ===================================================================
   About / Studio
   =================================================================== */
.about-section { padding-top: 6rem; padding-bottom: 6rem; }
@media (min-width: 768px) { .about-section { padding-top: 8rem; padding-bottom: 8rem; } }
.about-section__media {
	position: relative;
	width: 100vw;
	margin-left: calc(50% - 50vw);
	margin-right: calc(50% - 50vw);
	height: 42vh;
	min-height: 280px;
	overflow: hidden;
	margin-bottom: 2.5rem;
}
@media (min-width: 768px) { .about-section__media { height: 55vh; } }
.about-section__body { max-width: 48rem; margin: 0 auto; text-align: center; padding: 0 1.5rem; }
@media (min-width: 768px) { .about-section__body { padding: 0 3.5rem; } }
@media (min-width: 1024px) { .about-section__body { padding: 0 5rem; } }
.about-section__quote { font-family: var(--font-display); font-size: 1.5rem; line-height: 1.25; margin-bottom: 2.5rem; }
@media (min-width: 768px) { .about-section__quote { font-size: 2.25rem; } }
@media (min-width: 1024px) { .about-section__quote { font-size: 2.5rem; } }
.about-section__quote em { font-style: italic; }
.about-section__text { color: color-mix(in srgb, var(--color-foreground) 75%, transparent); line-height: 1.7; font-size: 1rem; }
@media (min-width: 768px) { .about-section__text { font-size: 1.125rem; } }
.about-section__link { display: inline-block; margin-top: 2.5rem; font-size: 12px; letter-spacing: 0.28em; text-transform: uppercase; font-family: var(--font-display); font-weight: 500; position: relative; }
.about-section__link::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); }
.about-section__link:hover::after { transform: scaleX(1); }

/* ===================================================================
   Owner / Artist
   =================================================================== */
.owner-section { display: grid; grid-template-columns: 1fr; background: var(--color-nopal); color: var(--color-background); }
@media (min-width: 1024px) { .owner-section { grid-template-columns: 1fr 1fr; } }
.owner-section__media { position: relative; min-height: 320px; overflow: hidden; }
@media (min-width: 768px) { .owner-section__media { min-height: 460px; } }
@media (min-width: 1024px) { .owner-section__media { min-height: 560px; } }
.owner-section__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.owner-section__media-scrim { position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,0.4), transparent 60%); pointer-events: none; }
.owner-section__media-caption { position: absolute; left: 2rem; right: 2rem; bottom: 2rem; color: #fff; }
.owner-section__overlay-name { font-family: var(--font-display); font-size: 1.5rem; line-height: 1.2; text-shadow: 0 2px 8px rgba(0,0,0,0.4); }
@media (min-width: 768px) { .owner-section__overlay-name { font-size: 1.875rem; } }
.owner-section__overlay-role { margin-top: 0.25rem; font-size: 11px; letter-spacing: 0.25em; text-transform: uppercase; color: rgba(255,255,255,0.85); }
.owner-section__body { display: flex; align-items: center; background: var(--color-background); color: var(--color-foreground); padding: 4rem 1.5rem; }
@media (min-width: 768px) { .owner-section__body { padding: 6rem 3.5rem; } }
@media (min-width: 1280px) { .owner-section__body { padding: 6rem 6rem; } }
.owner-section__body-inner { max-width: 36rem; }
.owner-section__quote { font-family: var(--font-display); font-style: italic; font-size: 1.25rem; line-height: 1.35; margin: 1.75rem 0 2rem; color: color-mix(in srgb, var(--color-foreground) 85%, transparent); }
@media (min-width: 768px) { .owner-section__quote { font-size: 1.5rem; } }
.owner-section__text { color: color-mix(in srgb, var(--color-foreground) 75%, transparent); line-height: 1.7; margin-bottom: 1.25rem; }

/* ===================================================================
   Services / Practice
   =================================================================== */
.services-section { padding: 5rem 0; background: var(--color-butter); }
@media (min-width: 768px) { .services-section { padding: 7rem 0; } }
.services-section .section-intro { margin-bottom: 4rem; }
@media (min-width: 768px) { .services-section .section-intro { margin-bottom: 5rem; } }
.services-grid { display: grid; grid-template-columns: 1fr; gap: 1.5rem; max-width: 80rem; margin: 0 auto; }
@media (min-width: 640px) { .services-grid { grid-template-columns: repeat(2, minmax(0,1fr)); } }
@media (min-width: 1024px) { .services-grid { grid-template-columns: repeat(5, minmax(0,1fr)); gap: 2rem; } }
.service-card {
	display: flex;
	flex-direction: column;
	text-align: center;
	background: #fff;
	color: #111;
	border-radius: 1rem;
	padding: 2rem;
	border: 1px solid rgba(0,0,0,0.05);
	box-shadow: 0 1px 2px rgba(0,0,0,0.05);
	transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
	cursor: pointer;
}
.service-card:hover { transform: translateY(-10px) scale(1.04); box-shadow: 0 24px 48px -16px rgba(0,0,0,0.22); border-color: rgba(0,0,0,0.15); }
.service-card__icon { display: flex; align-items: center; justify-content: center; margin: 0 auto 1.5rem; color: #000; transition: transform 0.3s ease; }
.service-card__icon svg { width: 2.5rem; height: 2.5rem; }
.service-card:hover .service-card__icon { transform: scale(1.1) rotate(3deg); }
.service-card__title { font-size: 12px; letter-spacing: 0.28em; text-transform: uppercase; font-family: var(--font-body); font-weight: 600; color: #000; margin-bottom: 0.75rem; }
.service-card__description { font-size: 0.875rem; color: rgba(0,0,0,0.7); line-height: 1.6; margin-bottom: 1.5rem; }
.service-card__cta { margin-top: auto; display: inline-block; font-size: 11px; letter-spacing: 0.24em; text-transform: uppercase; font-family: var(--font-body); font-weight: 600; color: #000; transition: transform 0.3s ease; }
.service-card:hover .service-card__cta { transform: translateX(4px); }

/* ===================================================================
   Portfolio gallery
   =================================================================== */
.portfolio-section { padding: 5rem 0; }
@media (min-width: 768px) { .portfolio-section { padding: 7rem 0; } }
.portfolio-section__heading { margin-bottom: 1.25rem; }
.portfolio-filters { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.625rem; margin-bottom: 2.5rem; }
.portfolio-filter-btn {
	border-radius: 9999px;
	border: 1px solid var(--color-border);
	padding: 0.625rem 1.25rem;
	font-size: 12px;
	letter-spacing: 0.22em;
	text-transform: uppercase;
	font-family: var(--font-body);
	font-weight: 600;
	transition: all 0.2s ease;
	color: var(--color-foreground);
}
.portfolio-filter-btn:hover { transform: scale(1.03); border-color: var(--color-foreground); }
.portfolio-filter-btn:active { transform: scale(0.97); }
.portfolio-filter-btn.is-active { background: var(--color-foreground); color: var(--color-background); border-color: var(--color-foreground); }

.portfolio-grid { display: grid; grid-template-columns: repeat(1, minmax(0,1fr)); gap: 1rem; }
@media (min-width: 640px) { .portfolio-grid { grid-template-columns: repeat(2, minmax(0,1fr)); } }
@media (min-width: 768px) { .portfolio-grid { grid-template-columns: repeat(3, minmax(0,1fr)); gap: 1.5rem; } }
@media (min-width: 1024px) { .portfolio-grid { grid-template-columns: repeat(4, minmax(0,1fr)); } }
.portfolio-item {
	position: relative;
	display: block;
	width: 100%;
	aspect-ratio: 3 / 4;
	overflow: hidden;
	border-radius: 0.5rem;
	background: var(--color-card);
}
.portfolio-item img.portfolio-item__img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	max-width: none;
	object-fit: cover;
	object-position: center;
	transition: transform 0.7s ease;
}
.portfolio-item:hover img.portfolio-item__img { transform: scale(1.03); }
.portfolio-item__overlay { position: absolute; inset: 0; background: rgba(0,0,0,0); transition: background 0.5s ease; }
.portfolio-item:hover .portfolio-item__overlay { background: rgba(0,0,0,0.2); }
.portfolio-item__cat {
	position: absolute;
	bottom: 0.75rem; left: 0.75rem;
	font-size: 11px;
	letter-spacing: 0.22em;
	text-transform: uppercase;
	font-family: var(--font-body);
	color: #fff;
	background: rgba(0,0,0,0.7);
	padding: 0.25rem 0.625rem;
	border-radius: 9999px;
	opacity: 0;
	transition: opacity 0.2s ease;
}
.portfolio-item:hover .portfolio-item__cat { opacity: 1; }

#theme-lightbox { display: none; position: fixed; inset: 0; z-index: 100; align-items: center; justify-content: center; }
#theme-lightbox.is-open { display: flex; }
#theme-lightbox-overlay { position: absolute; inset: 0; background: rgba(0,0,0,0.85); }
.theme-lightbox__panel { position: relative; max-width: 72rem; width: 90vw; padding: 0.5rem; }
.theme-lightbox__panel img { width: 100%; height: auto; max-height: 85vh; object-fit: contain; border-radius: 0.25rem; margin: 0 auto; }

/* ===================================================================
   Shop section
   =================================================================== */
.shop-section { padding: 4rem 0; }
@media (min-width: 768px) { .shop-section { padding: 6rem 0; } }
.shop-search { position: relative; max-width: 28rem; margin: 0 auto 2rem; }
.shop-search svg { position: absolute; left: 0; top: 50%; transform: translateY(-50%); color: var(--color-muted-foreground); }
.shop-search input {
	width: 100%;
	background: transparent;
	border: none;
	border-bottom: 1px solid var(--color-border);
	padding: 0.5rem 0 0.5rem 1.75rem;
	color: var(--color-foreground);
	font-size: 0.95rem;
	outline: none;
	transition: border-color 0.2s ease;
}
.shop-search input:focus { border-color: var(--color-foreground); }
.shop-search input::placeholder { color: var(--color-muted-foreground); }

.shop-categories {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 0.5rem;
	margin-bottom: 1rem;
	padding-bottom: 0.25rem;
}
.shop-cat-btn {
	flex-shrink: 0;
	padding: 0.5rem 1.25rem;
	font-size: 12px;
	letter-spacing: 0.2em;
	text-transform: uppercase;
	font-family: var(--font-body);
	border-radius: 9999px;
	border: 1px solid var(--color-border);
	color: var(--color-foreground);
	transition: all 0.3s ease;
}
@media (max-width: 767px) {
	.shop-cat-btn {
		padding: 0.5rem 0.875rem;
		font-size: 11px;
		letter-spacing: 0.15em;
	}
}
.shop-cat-btn:hover { border-color: var(--color-lilac); color: var(--color-lilac); }
.shop-cat-btn.is-active { background: var(--color-teal); color: var(--color-background); border-color: var(--color-teal); }

.shop-price-filter-wrap { display: flex; flex-direction: column; align-items: center; gap: 0.75rem; }
.shop-price-toggle {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: 0.375rem;
	padding: 0.5rem 1rem;
	font-size: 12px;
	letter-spacing: 0.2em;
	text-transform: uppercase;
	font-family: var(--font-body);
	color: var(--color-muted-foreground);
	transition: color 0.3s ease;
}
.shop-price-toggle:hover { color: var(--color-foreground); }
.shop-price-toggle svg { transition: transform 0.3s ease; }
.shop-price-toggle.is-open svg { transform: rotate(180deg); }
.shop-price-summary { opacity: 0.7; text-transform: none; letter-spacing: normal; white-space: nowrap; }

.shop-price-panel { width: 100%; max-width: 24rem; overflow: hidden; max-height: 0; opacity: 0; transition: max-height 0.3s var(--ease-smooth), opacity 0.3s var(--ease-smooth); }
.shop-price-panel.is-open { max-height: 10rem; opacity: 1; }
.shop-price-panel { padding: 0.5rem 0; }

.price-range-wrapper { position: relative; height: 1.5rem; margin-bottom: 0.75rem; }
.range-track-bg, .range-track-fill { position: absolute; height: 4px; top: 50%; transform: translateY(-50%); pointer-events: none; border-radius: 9999px; }
.range-track-bg { left: 0; right: 0; background: var(--color-border); }
.range-track-fill { background: var(--color-primary); }
.range-input { position: absolute; left: 0; top: 0; width: 100%; height: 100%; margin: 0; -webkit-appearance: none; appearance: none; background: transparent; pointer-events: none; }
.range-input::-webkit-slider-thumb { -webkit-appearance: none; pointer-events: auto; width: 18px; height: 18px; border-radius: 9999px; background: var(--color-background); border: 2px solid var(--color-primary); cursor: pointer; margin-top: 0; }
.range-input::-moz-range-thumb { pointer-events: auto; width: 18px; height: 18px; border-radius: 9999px; background: var(--color-background); border: 2px solid var(--color-primary); cursor: pointer; }
.range-input::-webkit-slider-runnable-track { background: transparent; }
.range-input::-moz-range-track { background: transparent; }
.range-input--max { z-index: 3; }
.range-input--min { z-index: 4; }
.shop-price-labels { display: flex; justify-content: space-between; font-size: 0.875rem; color: var(--color-muted-foreground); }

.shop-product-grid { margin-top: 3rem; }
.shop-show-more-wrap { text-align: center; margin-top: 3rem; }
.shop-empty-state { text-align: center; padding: 5rem 0; color: var(--color-muted-foreground); }

/* ===================================================================
   FAQ
   =================================================================== */
.faq-section { padding: 5rem 0; }
@media (min-width: 768px) { .faq-section { padding: 7rem 0; } }
.faq-section__intro { max-width: 42rem; margin: 0 auto 2.5rem; }
@media (min-width: 768px) { .faq-section__intro { margin-bottom: 3.5rem; } }
.faq-tabs { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.5rem; margin-bottom: 2.5rem; }
.faq-tab-btn {
	border-radius: 9999px;
	border: 1px solid color-mix(in srgb, #fff 30%, transparent);
	padding: 0.5rem 1.25rem;
	font-size: 11px;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	font-family: var(--font-body);
	font-weight: 600;
	color: var(--color-foreground);
	transition: all 0.2s ease;
}
.faq-tab-btn:hover { background: color-mix(in srgb, #fff 10%, transparent); }
.faq-tab-btn:active { transform: scale(0.97); }
.faq-tab-btn.is-active { background: #fff; color: #000; border-color: color-mix(in srgb, #fff 30%, transparent); }
.faq-panels { border-top: 1px solid color-mix(in srgb, var(--color-foreground) 15%, transparent); }
.faq-panel { display: none; }
.faq-panel.is-active { display: block; }
.faq-item { border-bottom: 1px solid color-mix(in srgb, var(--color-foreground) 15%, transparent); }
.faq-item__question { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; padding: 1.25rem 0; text-align: center; }
@media (min-width: 768px) { .faq-item__question { padding: 1.5rem 0; } }
.faq-item__question span:first-child { font-family: var(--font-display); font-size: 1.125rem; line-height: 1.4; }
@media (min-width: 768px) { .faq-item__question span:first-child { font-size: 1.25rem; } }
.faq-item__icon {
	flex-shrink: 0;
	width: 2.25rem; height: 2.25rem;
	border-radius: 9999px;
	border: 1px solid color-mix(in srgb, #fff 30%, transparent);
	display: flex; align-items: center; justify-content: center;
	transition: all 0.2s ease;
}
.faq-item__icon svg { transition: transform 0.2s ease; }
.faq-item.is-open .faq-item__icon { background: #fff; color: #000; }
.faq-item.is-open .faq-item__icon svg { transform: rotate(180deg); }
.faq-item__answer { max-height: 0; overflow: hidden; transition: max-height 0.28s cubic-bezier(0.22,1,0.36,1); }
.faq-item.is-open .faq-item__answer { max-height: 30rem; }
.faq-item__answer p { color: color-mix(in srgb, var(--color-foreground) 75%, transparent); font-size: 1rem; line-height: 1.7; padding-bottom: 1.5rem; max-width: 48rem; margin: 0 auto; text-align: center; }
@media (min-width: 768px) { .faq-item__answer p { font-size: 17px; } }

/* ===================================================================
   Final CTA
   =================================================================== */
.cta-section { position: relative; overflow: hidden; }
.cta-section { display: grid; grid-template-columns: 1fr; min-height: 420px; }
@media (min-width: 1024px) { .cta-section { grid-template-columns: 1fr 1fr; } }
.cta-section__media { position: relative; overflow: hidden; min-height: 280px; }
@media (min-width: 1024px) { .cta-section__media { min-height: 480px; } }
.cta-section__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.cta-section__body { position: relative; background: #fff; color: #111; display: flex; align-items: center; justify-content: center; padding: 5rem 2rem; }
@media (min-width: 768px) { .cta-section__body { padding: 6rem 4rem; } }
.cta-section__body-inner { max-width: 28rem; text-align: center; }
.cta-section__kicker { display: block; font-size: 12px; letter-spacing: 0.32em; text-transform: uppercase; color: color-mix(in srgb, var(--color-background) 80%, transparent); font-weight: 600; margin-bottom: 1.25rem; }
.cta-section__title { color: var(--color-background); line-height: 1.2; margin-bottom: 1.5rem; }
.cta-section__text { color: color-mix(in srgb, var(--color-background) 90%, transparent); line-height: 1.7; margin-bottom: 2.5rem; }
.cta-section__actions { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1rem; }
@media (min-width: 640px) { .cta-section__actions { flex-direction: row; } }

/* ===================================================================
   Footer
   =================================================================== */
.site-footer { border-top: 1px solid var(--color-border); background: var(--color-butter); }
.site-footer__inner {
	padding-top: 4rem;
	padding-bottom: 4rem;
	padding-left: 1.5rem;
	padding-right: 1.5rem;
}
@media (min-width: 1024px) {
	.site-footer__inner {
		padding-top: 5rem;
		padding-bottom: 5rem;
		padding-left: 2rem;
		padding-right: 2rem;
	}
}
.site-footer__top { display: flex; flex-direction: column; gap: 1.5rem; margin-bottom: 3rem; padding-bottom: 2.5rem; border-bottom: 1px solid var(--color-border); }
@media (min-width: 640px) { .site-footer__top { flex-direction: row; align-items: center; justify-content: space-between; } }
.site-footer__brand { display: flex; align-items: center; gap: 1rem; flex-shrink: 0; }
.site-footer__logo-img {
	height: 5rem;
	width: auto;
	max-width: none;
	object-fit: contain;
	border-radius: 9999px;
}
.site-footer__brand-name { font-family: var(--font-display); font-size: 1.5rem; }
.site-footer__intro { max-width: 32rem; }
@media (min-width: 640px) { .site-footer__intro { text-align: right; } }
.site-footer__tagline { font-size: 0.875rem; color: color-mix(in srgb, var(--color-foreground) 70%, transparent); line-height: 1.7; }
.site-footer__contact-line { margin-top: 0.75rem; font-size: 0.875rem; color: color-mix(in srgb, var(--color-foreground) 70%, transparent); }
.site-footer__contact-line a:hover { color: var(--color-foreground); }
.site-footer__dot { margin: 0 0.5rem; color: color-mix(in srgb, var(--color-foreground) 40%, transparent); }
.site-footer__columns { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 2.5rem; }
@media (min-width: 768px) { .site-footer__columns { grid-template-columns: repeat(4, minmax(0,1fr)); gap: 3rem; } }
.site-footer__col--wide { grid-column: span 2 / span 2; }
@media (min-width: 768px) { .site-footer__col--wide { grid-column: span 1 / span 1; } }
.site-footer__col h3 { font-family: var(--font-display); font-size: 1.5rem; margin-bottom: 1.25rem; }
.site-footer__col ul { display: flex; flex-direction: column; gap: 0.75rem; }
.site-footer__col a, .site-footer__col button {
	font-size: 0.875rem;
	color: color-mix(in srgb, var(--color-foreground) 70%, transparent);
	text-align: left;
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	transition: color 0.2s ease;
}
.site-footer__col a:hover, .site-footer__col button:hover { color: var(--color-foreground); }
.site-footer__reach-body { font-size: 0.875rem; color: color-mix(in srgb, var(--color-foreground) 70%, transparent); line-height: 1.7; margin-bottom: 1.25rem; }
.site-footer__bottom { margin-top: 3.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; text-align: center; }
@media (min-width: 640px) { .site-footer__bottom { flex-direction: row; text-align: left; } }
.site-footer__quote { font-size: 12px; color: var(--color-nopal); letter-spacing: 0.02em; font-style: italic; font-family: var(--font-display); }
.site-footer__copyright { font-size: 12px; color: var(--color-muted-foreground); letter-spacing: 0.02em; }
.site-footer__copyright a { text-decoration: underline; transition: color 0.2s ease; }
.site-footer__copyright a:hover { color: var(--color-foreground); }

/* ===================================================================
   Contact modal (Section 9)
   =================================================================== */
#theme-contact-overlay, #theme-contact-modal { display: none; }
body.contact-open #theme-contact-overlay, body.contact-open #theme-contact-modal { display: block; }
#theme-contact-overlay { position: fixed; inset: 0; z-index: 90; background: rgba(0,0,0,0.6); animation: fadeIn 0.2s ease; }
#theme-contact-modal { position: fixed; inset: 0; z-index: 91; display: none; align-items: center; justify-content: center; padding: 1rem; }
body.contact-open #theme-contact-modal { display: flex; }
.theme-modal__panel {
	position: relative;
	background: var(--color-background);
	color: var(--color-foreground);
	border-radius: 1rem;
	max-width: 32rem;
	width: 100%;
	max-height: 90vh;
	overflow-y: auto;
	padding: 2rem;
	animation: slideUp 0.25s var(--transition-smooth);
	border: 1px solid var(--color-border);
}
.theme-modal__close { position: absolute; top: 1rem; right: 1rem; opacity: 0.7; }
.theme-modal__close:hover { opacity: 1; }
.theme-modal__title { font-family: var(--font-display); font-size: 1.5rem; margin-bottom: 0.5rem; }
.theme-modal__desc { color: var(--color-muted-foreground); font-size: 0.9rem; line-height: 1.6; margin-bottom: 1.25rem; }
.theme-modal__contact-row { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem; font-size: 0.875rem; color: var(--color-muted-foreground); margin-bottom: 1.5rem; }
.theme-modal__contact-row a { display: inline-flex; align-items: center; gap: 0.5rem; }
.theme-modal__contact-row a:hover { color: var(--color-foreground); }
.theme-form-row { margin-bottom: 1rem; }
.theme-form-row--2col { display: grid; grid-template-columns: 1fr; gap: 1rem; }
@media (min-width: 640px) { .theme-form-row--2col { grid-template-columns: 1fr 1fr; } }
.theme-form-row label { display: block; font-size: 0.875rem; font-weight: 500; margin-bottom: 0.375rem; }
.theme-form-row input, .theme-form-row textarea {
	width: 100%;
	padding: 0.625rem 0.75rem;
	background: var(--color-background);
	border: 1px solid var(--color-border);
	border-radius: 0.375rem;
	color: var(--color-foreground);
	font-size: 1rem;
	transition: box-shadow 0.2s ease;
}
.theme-form-row input:focus, .theme-form-row textarea:focus { outline: none; box-shadow: 0 0 0 2px color-mix(in srgb, var(--color-primary) 50%, transparent); }
.theme-form-row textarea { resize: none; }
.theme-form-actions { display: flex; justify-content: flex-end; }
.theme-form-error { color: #e05252; font-size: 0.875rem; margin-bottom: 1rem; }
.theme-modal__success-icon { width: 3.5rem; height: 3.5rem; background: var(--color-primary); color: var(--color-primary-foreground); border-radius: 9999px; display: flex; align-items: center; justify-content: center; margin: 0 auto 1rem; }
#theme-contact-success { text-align: center; padding: 2rem 0; }
#theme-contact-success h3 { font-family: var(--font-display); font-size: 1.25rem; margin-bottom: 0.5rem; }
#theme-contact-success p { color: var(--color-muted-foreground); font-size: 0.875rem; }

/* ===================================================================
   Side cart drawer (Section 12)
   =================================================================== */
#theme-cart-overlay { position: fixed; inset: 0; z-index: 95; background: color-mix(in srgb, var(--color-foreground) 20%, transparent); display: none; }
body.cart-open #theme-cart-overlay { display: block; animation: fadeIn 0.2s ease; }
#theme-cart-drawer {
	position: fixed;
	top: 0; right: -100%;
	width: 100%;
	max-width: 26rem;
	height: 100%;
	background: var(--color-background);
	color: var(--color-foreground);
	z-index: 96;
	display: flex;
	flex-direction: column;
	box-shadow: -10px 0 40px rgba(0,0,0,0.3);
	transition: right 0.35s var(--transition-smooth);
}
body.cart-open #theme-cart-drawer { right: 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-family: var(--font-display); font-size: 1.125rem; }
.theme-cart-drawer__close:hover { opacity: 0.6; }
.theme-cart-drawer__empty { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 1.5rem; text-align: center; gap: 1.5rem; }
.theme-cart-drawer__empty-icon { width: 3rem; height: 3rem; color: var(--color-muted-foreground); }
.theme-cart-drawer__empty p { 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-item { display: flex; gap: 1rem; }
.theme-cart-item__image { width: 5rem; height: 6rem; flex-shrink: 0; background: var(--color-card); overflow: hidden; border-radius: 0.5rem; position: relative; display: block; }
.theme-cart-item__image img { width: 100%; height: 100%; object-fit: cover; }
.theme-cart-item__body { flex: 1; min-width: 0; }
.theme-cart-item__name { font-size: 0.875rem; font-weight: 500; display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.theme-cart-item__name:hover { opacity: 0.7; }
.theme-cart-item__price { font-size: 0.875rem; color: var(--color-muted-foreground); margin-top: 0.125rem; }
.theme-cart-item__variation { font-size: 0.75rem; 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-cart-qty-btn { padding: 0.25rem; border-radius: 0.25rem; transition: background 0.2s ease; }
.theme-cart-qty-btn:hover { background: var(--color-card); }
.theme-cart-item__qty { font-size: 0.875rem; width: 1.5rem; text-align: center; }
.theme-cart-remove { margin-left: auto; font-size: 0.8rem; color: var(--color-muted-foreground); }
.theme-cart-remove:hover { color: var(--color-foreground); }
.theme-cart-item__linetotal { font-size: 0.875rem; font-weight: 500; white-space: nowrap; }
.theme-cart-drawer__footer { padding: 1.5rem; border-top: 1px solid var(--color-border); display: flex; flex-direction: column; gap: 1rem; }
.theme-cart-drawer__subtotal { display: flex; justify-content: space-between; font-size: 0.875rem; font-weight: 500; }
.theme-cart-drawer__note { font-size: 0.875rem; color: var(--color-muted-foreground); }

/* Hide WooCommerce's own "View cart" notice (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; }

/* WooCommerce notices — scoped visibility (Section 14.1) */
.single-product .woocommerce-message,
.single-product .woocommerce-info,
#theme-cart-drawer .woocommerce-message { display: none; }
.woocommerce-error { background: #fdecec; color: #7a1f1f; border-radius: 0.5rem; padding: 1rem 1.25rem; font-family: var(--font-body); }

/* ===================================================================
   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-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_add_to_cart_button.button:hover,
.add_to_cart_button.button:hover {
	opacity: 0.85 !important;
	background-color: var(--color-primary) !important;
	color: var(--color-button-text) !important;
}
.single_add_to_cart_button.button:disabled,
.single_add_to_cart_button.button.disabled,
.add_to_cart_button.button:disabled,
.add_to_cart_button.button.disabled {
	cursor: not-allowed !important;
	opacity: 0.4 !important;
	pointer-events: none !important;
}
.single_add_to_cart_button.button:disabled:hover,
.single_add_to_cart_button.button.disabled:hover,
.add_to_cart_button.button:disabled:hover,
.add_to_cart_button.button.disabled:hover {
	opacity: 0.4 !important;
	background-color: var(--color-primary) !important;
}
/* Card compact quick-add button — overrides global WooCommerce yellow button rules */
.theme-product-card .theme-quick-add {
	min-height: unset !important;
	padding: 0.75rem !important;
	background-color: var(--color-teal) !important;
	color: var(--color-background) !important;
	border: 1px solid var(--color-teal) !important;
}
.theme-product-card .theme-quick-add:hover {
	background-color: var(--color-background) !important;
	color: var(--color-teal) !important;
	opacity: 1 !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; }
.single-product-main [data-theme-size-add-to-cart].theme-btn-loading { opacity: 0.6; cursor: wait; }

/* ===================================================================
   Single product page
   =================================================================== */
.single-product-main { padding-top: 2.5rem; padding-bottom: 4rem; }
@media (min-width: 1024px) { .single-product-main { padding-top: 3rem; } }
.product-breadcrumb { padding: 1.5rem 0; font-size: 13px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--color-muted-foreground); font-family: var(--font-body); }
.product-breadcrumb a:hover { color: var(--color-foreground); }
.product-breadcrumb__sep { margin: 0 0.5rem; opacity: 0.5; }
.product-breadcrumb__current { color: var(--color-foreground); }

.theme-product-layout { display: grid; grid-template-columns: 1fr; gap: 2.5rem; padding-top: 1rem; padding-bottom: 2rem; 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-thumbnails--mobile-only { display: block; }
.theme-product-thumbnails--mobile-only .product-main-image { position: static; width: 100%; height: auto; aspect-ratio: 1/1; }
.theme-product-thumbnails--mobile-only { aspect-ratio: 1/1; position: relative; background: var(--color-card); overflow: hidden; }
@media (min-width: 1024px) { .theme-product-thumbnails--mobile-only { display: none; } }

.theme-product-thumbnails:not(.theme-product-thumbnails--mobile-only) { display: flex; gap: 0.75rem; margin-top: 1rem; overflow-x: auto; flex-wrap: wrap; max-width: 100%; padding-bottom: 0.25rem; }
@media (min-width: 1024px) { .theme-product-thumbnails:not(.theme-product-thumbnails--mobile-only) { display: none; } }
.theme-thumb { position: relative; width: 5rem; height: 5rem; flex-shrink: 0; overflow: hidden; background: var(--color-card); }
.theme-thumb img { width: 100%; height: 100%; object-fit: cover; opacity: 0.6; transition: opacity 0.2s ease; }
.theme-thumb:hover img, .theme-thumb.is-active img { opacity: 1; }
.theme-thumb::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--color-foreground); opacity: 0; transition: opacity 0.2s ease; }
.theme-thumb.is-active::after { opacity: 1; }

.theme-product-gallery__desktop-main { display: none; }
@media (min-width: 1024px) { .theme-product-gallery__desktop-main { display: flex; flex-direction: column; gap: 1rem; } }
.theme-product-gallery__desktop-item { aspect-ratio: 1/1; position: relative; background: var(--color-card); overflow: hidden; }
.theme-product-gallery__desktop-item img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }

.theme-product-info { padding-left: 0; }
@media (min-width: 1024px) { .theme-product-info { padding-left: 1rem; } }
.theme-product-info__category { font-size: 13px; letter-spacing: 0.25em; text-transform: uppercase; color: var(--color-muted-foreground); font-family: var(--font-body); }
.product-title {
	font-family: var(--font-body);
	font-weight: 600;
	font-size: 1.875rem;
	line-height: 1.1;
	margin-top: 0.75rem;
	margin-bottom: 1.25rem;
	overflow-wrap: break-word;
	word-break: break-word;
}
@media (min-width: 768px) { .product-title { font-size: 2.25rem; } }
@media (min-width: 1024px) { .product-title { font-size: 2.75rem; } }
.theme-product-info__price { font-size: 1.25rem; margin-bottom: 1.5rem; font-family: var(--font-body); }
.theme-product-info__price ins { text-decoration: none; }
.theme-product-info__summary {
	font-family: var(--font-body);
	font-size: 1rem;
	line-height: 1.625;
	color: var(--color-muted-foreground);
	margin-bottom: 2rem;
	overflow-wrap: break-word;
	word-break: break-word;
}
.theme-product-info__stock { font-size: 0.9rem; margin-bottom: 1.5rem; font-family: var(--font-body); }
.theme-product-info__stock--out { color: #c0392b; }

.theme-option-label, .theme-product-info .variations label { font-family: var(--font-body); font-weight: 600; font-style: normal; font-size: 13px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--color-muted-foreground); margin-bottom: 0.75rem; display: block; }
.theme-size-selector { margin-bottom: 1.5rem; }
.theme-size-pills { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.theme-size-pill { padding: 0.5rem 1rem; font-size: 0.75rem; letter-spacing: 0.15em; text-transform: uppercase; border: 1px solid var(--color-border); border-radius: 9999px; font-family: var(--font-body); transition: all 0.2s ease; }
.theme-size-pill:hover { border-color: color-mix(in srgb, var(--color-foreground) 60%, transparent); }
.theme-size-pill.is-active { background: var(--color-foreground); color: var(--color-background); border-color: var(--color-foreground); }

.theme-add-to-cart-area { display: flex; align-items: stretch; flex-wrap: wrap; gap: 0.75rem; margin-bottom: 1rem; }
.theme-quantity-wrapper { display: inline-flex; align-items: center; border: 1px solid var(--color-border); }
.theme-qty-minus, .theme-qty-plus { padding: 0.5rem 0.75rem; transition: background 0.2s ease; }
.theme-qty-minus:hover, .theme-qty-plus:hover { background: var(--color-card); }
.theme-qty-input { width: 3.5rem; text-align: center; background: transparent; border: none; color: var(--color-foreground); font-family: var(--font-body); font-size: 0.875rem; -moz-appearance: textfield; }
.theme-qty-input::-webkit-outer-spin-button, .theme-qty-input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.theme-add-to-cart-area .single_add_to_cart_button { flex: 1 1 auto; min-width: 160px; }
.single-product-main .theme-add-to-cart-area .single_add_to_cart_button {
	background-color: var(--color-foreground) !important;
	color: var(--color-background) !important;
	border: none !important;
	border-radius: 9999px !important;
	min-height: 3rem !important;
	padding: 1rem 2rem !important;
	font-size: 0.75rem !important;
	font-weight: 500 !important;
	letter-spacing: 0.25em !important;
	text-transform: uppercase !important;
	transition: background-color 0.2s ease, opacity 0.2s ease !important;
}
.single-product-main .theme-add-to-cart-area .single_add_to_cart_button:hover {
	background-color: color-mix(in srgb, var(--color-foreground) 90%, transparent) !important;
	color: var(--color-background) !important;
	opacity: 1 !important;
}
.single-product-main .theme-add-to-cart-area .single_add_to_cart_button:disabled,
.single-product-main .theme-add-to-cart-area .single_add_to_cart_button.disabled {
	opacity: 0.6 !important;
	cursor: not-allowed !important;
	pointer-events: none !important;
	background-color: var(--color-foreground) !important;
	color: var(--color-background) !important;
}

.theme-product-accordions { margin-top: 2.5rem; border-top: 1px solid var(--color-border); }
.theme-accordion { border-bottom: 1px solid var(--color-border); }
.theme-accordion__trigger { width: 100%; display: flex; align-items: center; justify-content: space-between; padding: 1.25rem 0; font-size: 13px; letter-spacing: 0.25em; text-transform: uppercase; font-family: var(--font-body); text-align: left; }
.theme-accordion__chevron { transition: transform 0.2s ease; }
.theme-accordion.is-open .theme-accordion__chevron { transform: rotate(180deg); }
.theme-accordion__panel { display: none; padding-bottom: 1.5rem; font-family: var(--font-body); }
.theme-accordion.is-open .theme-accordion__panel { display: block; }
.theme-accordion.is-open .theme-accordion__panel--stacked {
	display: flex;
	flex-direction: column;
	gap: 0.75rem;
}
.theme-accordion__panel--stacked p { margin: 0; }
.theme-product-description, .theme-product-details, .theme-accordion__panel p {
	font-size: 15px;
	color: var(--color-muted-foreground);
	line-height: 1.7;
	overflow-wrap: break-word;
	word-break: break-word;
}
.theme-product-details h4 { font-size: 13px; text-transform: uppercase; letter-spacing: 0.15em; color: var(--color-foreground); margin: 1rem 0 0.5rem; }
.theme-product-details ul { margin-top: 0.5rem; }
.theme-product-details li { position: relative; padding-left: 1.1rem; margin-bottom: 0.5rem; font-size: 15px; color: var(--color-muted-foreground); }
.theme-product-details li::before { content: ''; position: absolute; left: 0; top: 0.55em; width: 4px; height: 4px; border-radius: 9999px; background: var(--color-foreground); }
.posted_in { overflow-wrap: break-word; word-break: break-word; }

.related-products-section { padding: 5rem 0; border-top: 1px solid var(--color-border); margin-top: 2rem; }
.related-products-section__intro { text-align: center; margin-bottom: 3rem; }
.related-products-section__kicker { font-family: var(--font-display); font-style: italic; font-size: 1rem; color: var(--color-muted-foreground); margin-bottom: 0.5rem; }

/* Variations table layout (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; }
.theme-attr-select-hidden { display: none !important; }

/* ===================================================================
   Shop archive (category/tag pages)
   =================================================================== */
.shop-archive-main { padding: 3rem 0 5rem; }
.shop-archive-header { text-align: center; margin-bottom: 3rem; }
.shop-archive-header .page-title { font-size: 2.25rem; margin-bottom: 0.5rem; }
.shop-archive-pagination { text-align: center; margin-top: 3rem; }
.shop-archive-pagination .page-numbers { display: inline-flex; align-items: center; justify-content: center; width: 2.5rem; height: 2.5rem; margin: 0 0.25rem; border-radius: 9999px; border: 1px solid var(--color-border); }
.shop-archive-pagination .page-numbers.current { background: var(--color-foreground); color: var(--color-background); }
.shop-archive-empty { text-align: center; color: var(--color-muted-foreground); padding: 4rem 0; }

/* ===================================================================
   Generic pages / 404
   =================================================================== */
.generic-page { padding: 3rem 0 5rem; }
.page-title { font-size: 2.25rem; margin-bottom: 2rem; }
.theme-404 { display: flex; align-items: center; justify-content: center; min-height: 60vh; }
.theme-404__inner { text-align: center; }
.theme-404__title { font-size: 4rem; margin-bottom: 1rem; }
.theme-404__text { color: var(--color-muted-foreground); margin-bottom: 2rem; }

/* ===================================================================
   WooCommerce Checkout Block (Section 13)
   =================================================================== */
body.woocommerce-checkout .site-main { padding-top: 2rem; padding-bottom: 4rem; }
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: 0.375rem;
	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-checkout-place-order-button {
	background: var(--color-primary) !important;
	color: var(--color-button-text) !important;
	border-radius: var(--btn-radius) !important;
	font-family: var(--font-body) !important;
	text-transform: none !important;
}
body.woocommerce-checkout .wc-block-components-notice-banner {
	border-radius: 0.5rem;
	font-family: var(--font-body);
}
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, 2rem);
		align-items: start;
	}
}
body.woocommerce-checkout .wc-block-components-notice-banner { grid-column: 1 / -1; }
body.woocommerce-checkout .wc-block-checkout__sidebar {
	background-color: var(--color-surface, var(--color-card));
	border-radius: var(--card-radius);
	padding: 2rem;
}
body.woocommerce-checkout .wc-block-cart-items { font-family: var(--font-body); }
body.woocommerce-checkout .entry-content { max-width: 100%; }
body.woocommerce-checkout .wc-block-components-order-summary-item__quantity {
	background-color: var(--color-foreground) !important;
	border-color: var(--color-foreground) !important;
	color: var(--color-background) !important;
}
body.woocommerce-checkout .wc-block-components-order-summary-item__quantity span {
	color: var(--color-background) !important;
}

/* ===================================================================
   Cart / My Account pages — width parity (Section 13.7)
   =================================================================== */
body.woocommerce-cart .site-main,
body.woocommerce-account .site-main { padding-top: 2rem; padding-bottom: 4rem; }
body.woocommerce-cart .container-wide,
body.woocommerce-account .container-wide { max-width: 80rem; }

/* ===================================================================
   Thank-you page (Section 22.8)
   =================================================================== */
body.theme-thankyou-page { overflow-x: hidden; }
body.theme-thankyou-page .woocommerce-order,
body.theme-thankyou-page .woocommerce-order-overview,
body.theme-thankyou-page .woocommerce-customer-details,
body.theme-thankyou-page .woocommerce-order-details { font-family: var(--font-body); }
body.theme-thankyou-page .woocommerce-order h2,
body.theme-thankyou-page .woocommerce-order-details__title {
	font-family: var(--font-display);
	font-size: 1.5rem;
	padding: 0 0 1rem 0;
}
body.theme-thankyou-page .woocommerce-order-overview {
	display: flex;
	flex-wrap: wrap;
	gap: 1.5rem;
	list-style: none;
	padding: 0;
	margin: 1.5rem 0 2rem;
}
body.theme-thankyou-page .woocommerce-order-overview li {
	border-right: 1px solid var(--color-border);
	padding-right: 1.5rem;
}
body.theme-thankyou-page .woocommerce-order-details table {
	width: 100%;
	table-layout: fixed;
	border-collapse: collapse;
	margin-bottom: 2rem;
}
body.theme-thankyou-page .woocommerce-order-details table th,
body.theme-thankyou-page .woocommerce-order-details table td {
	padding: 0.75rem;
	border-bottom: 1px solid var(--color-border);
	text-align: left;
}
body.theme-thankyou-page .woocommerce-order-details tfoot th { text-align: left; }
body.theme-thankyou-page .woocommerce-order-details tfoot td { text-align: right; }
body.theme-thankyou-page .woocommerce-customer-details {
	display: flex;
	flex-direction: column;
	gap: 1.5rem;
}
body.theme-thankyou-page .woocommerce-customer-details address {
	max-width: 480px;
	overflow-wrap: break-word;
	font-style: normal;
	border: 1px solid var(--color-border);
	border-radius: 0.5rem;
	padding: 1.25rem;
}

/* ===================================================================
   Customizer media control (Section 22.3)
   =================================================================== */
.theme-media-control { display: flex; flex-direction: column; gap: 0.5rem; }

/* ===================================================================
   Site logos — override WooCommerce .woocommerce-page img { height: auto }
   =================================================================== */
.site-header .site-nav__brand .site-logo-img,
body.woocommerce-page .site-header .site-logo-img,
body.single-product .site-header .site-logo-img {
	height: var(--logo-height-mobile);
	width: auto;
	max-width: none;
	max-height: var(--logo-height-mobile);
	object-fit: contain;
	border-radius: 9999px;
	display: block;
}
@media (min-width: 768px) {
	.site-header .site-nav__brand .site-logo-img,
	body.woocommerce-page .site-header .site-logo-img,
	body.single-product .site-header .site-logo-img {
		height: var(--logo-height, 3.5rem);
		max-height: var(--logo-height, 3.5rem);
	}
}

.site-footer__brand .site-footer__logo-img,
body.woocommerce-page .site-footer .site-footer__logo-img,
body.single-product .site-footer .site-footer__logo-img {
	height: 5rem;
	width: auto;
	max-width: none;
	max-height: 5rem;
	object-fit: contain;
	border-radius: 9999px;
	display: block;
}
