/* =====================================================================
   Willow Waves Art — theme.css
   ===================================================================== */

:root {
	/* Color tokens are overridden at runtime via wp_add_inline_style (Customizer). */
	--background: #f7f4ed;
	--foreground: #1c2b30;
	--color-primary: #386e78;
	--color-primary-foreground: #f9f5e8;
	--color-secondary: #ebe4d4;
	--color-muted: #dcd3bb;
	--color-muted-foreground: #51595c;
	--color-border: #ddd2b8;
	--color-rosa: #c4475f;
	--color-marigold: #e8942e;
	--color-teal: #386e78;
	--color-butter: #ede8d8;

	--font-display: 'Berkshire Swash', cursive;
	--font-body: 'Nunito', sans-serif;
	--font-script: 'Allura', cursive;
	--font-display-fallback: 'Cormorant Garamond', serif;

	--shadow-soft: 0 4px 20px -4px rgba(28, 43, 48, 0.10);
	--shadow-elevated: 0 8px 40px -8px rgba(28, 43, 48, 0.22);
	--transition-smooth: cubic-bezier(0.4, 0, 0.2, 1);

	--header-height: 80px;

	--btn-radius: 999px;
	--btn-height: 52px;
	--btn-padding: 0 2rem;
	--btn-font-size: 11px;
	--btn-font-weight: 700;
	--btn-letter-spacing: 0.28em;
	--btn-text-transform: uppercase;
}

/* ---------------------------------------------------------------------
   Reset / base
   --------------------------------------------------------------------- */
* { box-sizing: border-box; }
html, body { max-width: 100%; }
body {
	margin: 0;
	background: var(--background);
	color: var(--foreground);
	font-family: var(--font-body);
	-webkit-font-smoothing: antialiased;
	line-height: 1.6;
}
img { max-width: 100%; height: auto; display: block; }
img:not(.cover-img):not(.product-card-img) {
	max-width: 100%;
	height: auto;
}
.cover-img, .product-card-img {
	position: absolute; inset: 0;
	width: 100%; height: 100%;
	object-fit: cover;
}
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; background: none; border: none; }
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.005em;
	margin: 0;
}
p { margin: 0; }
input, textarea, select { font-family: inherit; }
dl, dt, dd { margin: 0; padding: 0; }
[hidden] { display: none !important; }

.container-wide {
	width: 100%;
	max-width: 80rem;
	margin: 0 auto;
	padding: 0 1.5rem;
	min-width: 0;
}
@media (min-width: 1024px) { .container-wide { padding: 0 2rem; } }

/* Contain horizontal overflow without breaking sticky/fixed header */
.theme-front-page,
.site-main,
.theme-section,
.site-footer {
	max-width: 100%;
	overflow-x: clip;
}

.theme-italic-marigold, .theme-italic-rosa { display: block; font-style: italic; }
.theme-italic-marigold { color: var(--color-marigold); }
.theme-italic-rosa { color: var(--color-rosa); }

.theme-link-underline {
	position: relative;
	display: inline-block;
	font-size: 12px;
	letter-spacing: 0.22em;
	text-transform: uppercase;
	font-weight: 700;
	font-family: var(--font-body);
	color: inherit;
	background: none;
	border: none;
	padding: 0;
}
.theme-link-underline::after {
	content: '';
	position: absolute; bottom: -2px; left: 0;
	width: 100%; height: 1px;
	background: currentColor;
	transform: scaleX(0);
	transform-origin: left;
	transition: transform 0.3s var(--transition-smooth);
}
.theme-link-underline:hover::after { transform: scaleX(1); }

.theme-kicker {
	display: block;
	font-size: 12px;
	letter-spacing: 0.32em;
	text-transform: uppercase;
	font-family: var(--font-body);
	color: var(--color-teal);
	margin-bottom: 0.75rem;
}
.theme-kicker--light { color: #fff; }
.theme-kicker--marigold { color: var(--color-marigold); }
.theme-kicker--rosa { color: var(--color-rosa); }
.theme-kicker--semibold { font-weight: 600; }
.theme-commissions-section .theme-kicker { color: var(--color-rosa); }

/* Heading resets/base weight (Section 2.2) */
.section-heading { font-family: var(--font-display); font-weight: 400; line-height: 1.1; }

/* ---------------------------------------------------------------------
   Animation / reveal system (Section 2.1)
   --------------------------------------------------------------------- */
@media (prefers-reduced-motion: no-preference) {
	.reveal-item {
		opacity: 0;
		transform: translateY(28px);
		transition: opacity 0.7s var(--transition-smooth), transform 0.7s var(--transition-smooth);
	}
	.reveal-item.fade-in-item { transform: none; }
	.reveal-item.scale-in-item { transform: scale(0.94); }
	.reveal-item.is-visible {
		opacity: 1;
		transform: none;
	}
}
/* Fallback: no motion preference OR JS/IntersectionObserver unavailable */
.reveal-item { opacity: 1; transform: none; }
@media (prefers-reduced-motion: no-preference) {
	.js-reveal-ready .reveal-item { opacity: 0; }
	.js-reveal-ready .reveal-item.is-visible { opacity: 1; }
}
body.is-customizer .reveal-item,
body.is-customizer .reveal-item.is-visible {
	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.6s var(--transition-smooth) forwards; }
.animate-slide-up { animation: slideUp 0.6s var(--transition-smooth) forwards; }

/* ---------------------------------------------------------------------
   Announcement bar
   --------------------------------------------------------------------- */
.theme-announcement-bar {
	position: relative;
	background: var(--foreground);
	color: var(--background);
}
.theme-announcement-bar__inner { padding: 0.5rem 0; text-align: center; }
.theme-announcement-text { font-size: 13px; letter-spacing: 0.18em; text-transform: uppercase; margin: 0; }
.theme-announcement-close {
	position: absolute; right: 0.75rem; top: 50%; transform: translateY(-50%);
	padding: 0.25rem; opacity: 0.7; color: inherit;
}
.theme-announcement-close:hover { opacity: 1; }
.theme-announcement-close svg { width: 14px; height: 14px; }
.theme-announcement-bar.is-hidden { display: none; }

/* ---------------------------------------------------------------------
   Header
   --------------------------------------------------------------------- */
.site-header {
	position: sticky; top: 0; left: 0; right: 0; z-index: 50;
	background: var(--background);
	border-bottom: 1px solid transparent;
	transition: background-color 0.3s, border-color 0.3s;
}
@media (max-width: 1023px) {
	.site-header {
		position: fixed;
		top: 0;
		left: 0;
		right: 0;
		width: 100%;
	}
}
body.admin-bar .site-header { top: 32px; }
@media (max-width: 782px) {
	body.admin-bar .site-header { top: 46px; }
}
.site-header.is-solid,
.site-header.is-scrolled {
	background: rgba(247, 242, 229, 0.95);
	backdrop-filter: blur(6px);
	border-bottom-color: var(--color-border);
}
.site-header__nav {
	display: flex; align-items: center; justify-content: space-between;
	height: var(--header-height); position: relative;
}
@media (max-width: 1023px) {
	.site-header > .container-wide {
		height: var(--header-height);
	}
	.site-header__nav {
		height: 100%;
	}
	.site-header__logo-link {
		align-self: flex-end;
		margin-bottom: -1.5rem;
	}
	.site-header__actions {
		align-self: center;
	}
}
.site-header__logo-link {
	display: inline-flex;
	align-items: center;
	flex-shrink: 0;
	width: auto;
	max-width: none;
	gap: 0.5rem;
	background: var(--background);
	border: 1px solid var(--color-border);
	box-shadow: 0 6px 18px -8px rgba(28,43,48,0.35);
	padding: 0.5rem 0.75rem;
	margin-bottom: -1.5rem;
	position: relative; z-index: 10;
}
@media (min-width: 768px) {
	.site-header__logo-link { padding: 0.75rem 1rem; margin-bottom: -2.5rem; }
}
.site-logo-img {
	height: 3.5rem !important;
	width: auto !important;
	max-width: none !important;
	flex-shrink: 0;
	display: block;
	object-fit: contain;
}
@media (min-width: 768px) {
	.site-logo-img { height: 4.75rem !important; }
}
.site-logo-text { font-family: var(--font-display); font-size: 1.1rem; white-space: nowrap; }
.site-header__brand-text { font-family: var(--font-display); font-size: 1rem; white-space: nowrap; }
@media (max-width: 1023px) {
	.site-header__brand-text { display: none; }
}

.site-header__center-nav {
	display: none;
	position: absolute; left: 50%; transform: translateX(-50%);
	align-items: center; gap: 2rem;
}
@media (min-width: 1024px) { .site-header__center-nav { display: flex; } }
.theme-nav-list { display: flex; align-items: center; gap: 2rem; }
.theme-nav-link, .theme-nav-list a {
	font-size: 12px; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase;
	font-family: var(--font-display-fallback);
	position: relative; padding-bottom: 2px;
}
.site-header__center-nav .theme-nav-link::after,
.site-header__center-nav .theme-nav-list a::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);
}
.site-header__center-nav .theme-nav-link:hover::after,
.site-header__center-nav .theme-nav-list a:hover::after { transform: scaleX(1); }

.site-header__actions { display: flex; align-items: center; gap: 0.5rem; }
@media (min-width: 768px) { .site-header__actions { gap: 0.75rem; } }
.theme-header-icon-btn { position: relative; padding: 0.5rem; color: inherit; transition: opacity 0.2s; }
.theme-header-icon-btn:hover { opacity: 0.6; }
.theme-header-icon-btn svg { width: 20px; height: 20px; }
.theme-search-trigger { display: none; }
@media (min-width: 768px) { .theme-search-trigger { display: inline-flex; } }
.theme-mobile-menu-toggle { display: inline-flex; align-items: center; justify-content: center; }
@media (min-width: 1024px) { .theme-mobile-menu-toggle { display: none; } }

.theme-cart-count {
	position: absolute; top: -2px; right: -2px;
	width: 20px; height: 20px; 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: 50%;
}
.theme-cart-count:empty { display: none; }

/* Mobile nav panel — full viewport width */
.site-header__mobile-menu {
	display: none;
	width: 100%;
	border-top: 1px solid var(--color-border);
	background: linear-gradient(165deg, var(--background) 0%, var(--color-butter) 55%, rgba(235, 228, 212, 0.95) 100%);
}
.site-header__mobile-menu.is-open {
	display: block;
	animation: mobileMenuReveal 0.45s var(--transition-smooth) forwards;
}
@keyframes mobileMenuReveal {
	from { opacity: 0; transform: translateY(-10px); }
	to { opacity: 1; transform: translateY(0); }
}
@media (min-width: 1024px) { .site-header__mobile-menu { display: none !important; } }
.site-header__mobile-menu-inner {
	width: 100%;
	padding: 1.5rem 0 2rem;
}
.site-header__mobile-menu-kicker {
	margin: 0 0 1.25rem;
	padding: 0 1.5rem;
	font-family: var(--font-body);
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.32em;
	text-transform: uppercase;
	color: var(--color-teal);
}
.site-header__mobile-menu .theme-nav-list,
.site-header__mobile-menu .theme-nav-list--fallback {
	display: flex;
	flex-direction: column;
	align-items: stretch;
	gap: 0;
	margin: 0;
	padding: 0;
	counter-reset: mobile-nav-item;
}
.site-header__mobile-menu .theme-nav-list li {
	margin: 0;
	padding: 0;
	list-style: none;
	counter-increment: mobile-nav-item;
}
.site-header__mobile-menu .theme-nav-list--fallback > a {
	counter-increment: mobile-nav-item;
}
.site-header__mobile-menu .theme-nav-link,
.site-header__mobile-menu .theme-nav-list a {
	display: flex;
	align-items: center;
	gap: 1rem;
	width: 100%;
	padding: 1rem 1.5rem;
	background: rgba(247, 242, 229, 0.92);
	border: none;
	border-top: 1px solid var(--color-border);
	border-left: 3px solid transparent;
	border-radius: 0;
	box-shadow: none;
	font-family: var(--font-display);
	font-size: 1.375rem;
	font-weight: 400;
	letter-spacing: 0.01em;
	line-height: 1.2;
	text-transform: none;
	color: var(--foreground);
	transition: border-color 0.3s, background-color 0.3s, transform 0.25s var(--transition-smooth), box-shadow 0.3s;
}
.site-header__mobile-menu .theme-nav-list > li:last-child > a,
.site-header__mobile-menu .theme-nav-list--fallback > a:last-child {
	border-bottom: 1px solid var(--color-border);
}
.site-header__mobile-menu.is-open .theme-nav-list > li > a,
.site-header__mobile-menu.is-open .theme-nav-list--fallback > a {
	animation: mobileNavItemIn 0.45s var(--transition-smooth) backwards;
}
.site-header__mobile-menu.is-open .theme-nav-list > li:nth-child(1) > a,
.site-header__mobile-menu.is-open .theme-nav-list--fallback > a:nth-child(1) { animation-delay: 0.04s; }
.site-header__mobile-menu.is-open .theme-nav-list > li:nth-child(2) > a,
.site-header__mobile-menu.is-open .theme-nav-list--fallback > a:nth-child(2) { animation-delay: 0.09s; }
.site-header__mobile-menu.is-open .theme-nav-list > li:nth-child(3) > a,
.site-header__mobile-menu.is-open .theme-nav-list--fallback > a:nth-child(3) { animation-delay: 0.14s; }
.site-header__mobile-menu.is-open .theme-nav-list > li:nth-child(4) > a,
.site-header__mobile-menu.is-open .theme-nav-list--fallback > a:nth-child(4) { animation-delay: 0.19s; }
.site-header__mobile-menu.is-open .theme-nav-list > li:nth-child(5) > a,
.site-header__mobile-menu.is-open .theme-nav-list--fallback > a:nth-child(5) { animation-delay: 0.24s; }
.site-header__mobile-menu.is-open .theme-nav-list > li:nth-child(6) > a,
.site-header__mobile-menu.is-open .theme-nav-list--fallback > a:nth-child(6) { animation-delay: 0.29s; }
@keyframes mobileNavItemIn {
	from { opacity: 0; transform: translateX(-14px); }
	to { opacity: 1; transform: translateX(0); }
}
.site-header__mobile-menu .theme-nav-link::before,
.site-header__mobile-menu .theme-nav-list a::before {
	content: counter(mobile-nav-item, decimal-leading-zero);
	flex-shrink: 0;
	min-width: 1.75rem;
	font-family: var(--font-body);
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.18em;
	color: var(--color-rosa);
}
.site-header__mobile-menu .theme-nav-list > li:nth-child(3n+2) > a::before,
.site-header__mobile-menu .theme-nav-list--fallback > a:nth-child(3n+2)::before { color: var(--color-marigold); }
.site-header__mobile-menu .theme-nav-list > li:nth-child(3n) > a::before,
.site-header__mobile-menu .theme-nav-list--fallback > a:nth-child(3n)::before { color: var(--color-teal); }
.site-header__mobile-menu .theme-nav-link::after,
.site-header__mobile-menu .theme-nav-list a::after {
	content: '';
	display: block;
	flex-shrink: 0;
	width: 7px;
	height: 7px;
	margin-left: auto;
	border-right: 1.5px solid currentColor;
	border-bottom: 1.5px solid currentColor;
	transform: rotate(-45deg);
	opacity: 0.35;
	transition: opacity 0.25s, transform 0.25s var(--transition-smooth);
}
.site-header__mobile-menu .theme-nav-list > li:nth-child(3n+1) > a:hover,
.site-header__mobile-menu .theme-nav-list--fallback > a:nth-child(3n+1):hover {
	border-left-color: var(--color-rosa);
	background: #fff;
	transform: none;
}
.site-header__mobile-menu .theme-nav-list > li:nth-child(3n+2) > a:hover,
.site-header__mobile-menu .theme-nav-list--fallback > a:nth-child(3n+2):hover {
	border-left-color: var(--color-marigold);
	background: #fff;
	transform: none;
}
.site-header__mobile-menu .theme-nav-list > li:nth-child(3n) > a:hover,
.site-header__mobile-menu .theme-nav-list--fallback > a:nth-child(3n):hover {
	border-left-color: var(--color-teal);
	background: #fff;
	transform: none;
}
.site-header__mobile-menu .theme-nav-link:hover::after,
.site-header__mobile-menu .theme-nav-list a:hover::after {
	opacity: 0.85;
	transform: rotate(-45deg) translate(2px, -2px);
}
body.mobile-menu-open { overflow: hidden; }

@media (prefers-reduced-motion: reduce) {
	.site-header__mobile-menu.is-open,
	.site-header__mobile-menu.is-open .theme-nav-list > li > a,
	.site-header__mobile-menu.is-open .theme-nav-list--fallback > a {
		animation: none;
	}
}

.site-header.is-menu-open {
	background: rgba(247, 242, 229, 0.98);
	backdrop-filter: blur(8px);
	border-bottom-color: var(--color-border);
	z-index: 55;
}

.theme-nav-list--fallback { display: flex; }

/* ---------------------------------------------------------------------
   Buttons
   --------------------------------------------------------------------- */
.theme-btn-hero-primary,
.theme-btn-rosa,
.theme-btn-primary,
.theme-btn-outline {
	display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
	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: none;
	padding: 1.1rem 2.5rem;
	transition: opacity 0.2s, background-color 0.2s;
	border: none;
}
.theme-btn-hero-primary {
	background: var(--background); color: var(--foreground);
	font-family: var(--font-display-fallback);
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.28em;
	text-transform: uppercase;
	padding: 1.25rem 3rem;
}
.theme-btn-hero-primary:hover { background: color-mix(in srgb, var(--background) 90%, transparent); }
.theme-btn-rosa { background: var(--color-rosa); color: var(--background); }
.theme-btn-rosa:hover { opacity: 0.9; }
.theme-btn-primary { background: var(--foreground); color: var(--background); border-radius: 999px; }
.theme-btn-primary:hover { opacity: 0.9; }
.theme-btn-outline { background: transparent; border: 1px solid var(--color-border); color: var(--foreground); border-radius: 999px; padding: 0.75rem 1.5rem; }
.theme-btn-outline:hover { border-color: var(--foreground); }

/* ---------------------------------------------------------------------
   Hero
   --------------------------------------------------------------------- */
.theme-hero { position: relative; background: var(--background); }
.theme-hero__media { position: relative; width: 100%; height: 78vh; min-height: 560px; overflow: hidden; }
@media (min-width: 768px) { .theme-hero__media { height: 88vh; min-height: 680px; } }
.theme-hero__bg { position: absolute; inset: 0; width: 100%; height: 100%; }
.theme-hero__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.theme-hero__overlay {
	position: absolute; inset: 0;
	background: linear-gradient(to right, rgba(28,43,48,0.55), rgba(28,43,48,0.35), rgba(28,43,48,0.25));
}
.theme-hero__inner { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; }
.theme-hero__content { position: relative; max-width: 56rem; text-align: center; display: flex; flex-direction: column; align-items: center; padding: 3.5rem 1.5rem; }
.theme-hero__glow {
	position: absolute; inset: 0; z-index: -1; border-radius: 999px; transform: scaleY(0.75);
	background: radial-gradient(ellipse at center, rgba(20,18,16,0.72) 0%, rgba(20,18,16,0.45) 45%, rgba(20,18,16,0.12) 70%, transparent 85%);
	filter: blur(2px);
}
.theme-hero__title {
	font-family: var(--font-display);
	font-weight: 400;
	font-size: 3rem;
	line-height: 1.05;
	color: var(--background);
	margin-bottom: 1.5rem;
	white-space: nowrap;
	text-shadow: 0 0 35px rgba(255,255,255,0.85), 0 0 70px rgba(255,255,255,0.55), 0 0 120px rgba(255,255,255,0.35), 0 1px 4px rgba(0,0,0,0.2);
}
@media (min-width: 768px) { .theme-hero__title { font-size: 4.5rem; } }
@media (min-width: 1280px) { .theme-hero__title { font-size: 6rem; } }
.theme-hero__subtitle {
	color: rgba(247,242,229,0.95);
	font-size: 1rem; line-height: 1.7; margin-bottom: 2.5rem; max-width: 28rem; margin-left: auto; margin-right: auto;
	text-shadow: 0 0 25px rgba(255,255,255,0.8), 0 0 50px rgba(255,255,255,0.5), 0 1px 3px rgba(0,0,0,0.25);
}
@media (min-width: 768px) { .theme-hero__subtitle { font-size: 1.125rem; } }
.theme-hero__cta { display: flex; justify-content: center; }

/* ---------------------------------------------------------------------
   Sections generic
   --------------------------------------------------------------------- */
.theme-section--pad { padding-top: 4rem; padding-bottom: 4rem; }
@media (min-width: 768px) { .theme-section--pad { padding-top: 6rem; padding-bottom: 6rem; } }
.theme-section--pad-sm { padding-top: 4rem; padding-bottom: 4rem; }
@media (min-width: 768px) { .theme-section--pad-sm { padding-top: 5rem; padding-bottom: 5rem; } }
.theme-section--pad-lg { padding-top: 5rem; padding-bottom: 5rem; }
@media (min-width: 768px) { .theme-section--pad-lg { padding-top: 7rem; padding-bottom: 7rem; } }
.theme-section__heading-center { text-align: center; margin-bottom: 2.5rem; }
.theme-section__heading-center--wide { max-width: 42rem; margin-left: auto; margin-right: auto; }
.theme-section__cta-center { text-align: center; margin-top: 3.5rem; }
.scroll-mt-24 { scroll-margin-top: 6rem; }

/* Shop collection */
.theme-collection-section { background: #f9f7f1; }
.collection-heading { font-size: 1.875rem; }
@media (min-width: 768px) { .collection-heading { font-size: 2.25rem; } }
.featured-heading { font-size: 1.875rem; }
@media (min-width: 768px) { .featured-heading { font-size: 3rem; } }
.theme-collection-grid { display: grid; grid-template-columns: 1fr; gap: 1rem; }
@media (min-width: 768px) { .theme-collection-grid { grid-template-columns: repeat(3, 1fr); gap: 1.5rem; } }
.theme-collection-tile { position: relative; display: block; aspect-ratio: 3 / 4; overflow: hidden; }
.theme-collection-tile__overlay {
	position: absolute; inset: 0;
	background: linear-gradient(to top, rgba(28,43,48,0.85), rgba(28,43,48,0.4), rgba(28,43,48,0.1));
	transition: background 0.5s;
}
.theme-collection-tile:hover .cover-img { transform: scale(1.05); }
.theme-collection-tile .cover-img { transition: transform 0.7s var(--transition-smooth); }
.theme-collection-tile__content { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: flex-end; padding: 1.5rem; color: var(--background); text-shadow: 0 1px 8px rgba(0,0,0,0.45); }
.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-collection-tile__tagline--rosa { color: var(--color-rosa); }
.theme-collection-tile__tagline--teal { color: var(--color-teal); }
.theme-collection-tile__tagline--marigold { color: var(--color-marigold); }
.theme-collection-tile__rule { height: 1px; width: 1.5rem; background: currentColor; }
.theme-collection-tile__title { font-size: 1.5rem; font-weight: 400; margin-bottom: 0.5rem; }
@media (min-width: 768px) { .theme-collection-tile__title { font-size: 1.875rem; } }
.theme-collection-tile__cta { display: inline-flex; align-items: center; gap: 0.35rem; font-size: 12px; letter-spacing: 0.22em; text-transform: uppercase; font-weight: 700; }
.theme-collection-tile__cta svg { width: 12px; height: 12px; }

/* About */
.theme-about-section { position: relative; overflow: hidden; }
.theme-about-section__bg,
.theme-about-section__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.theme-about-section__scrim { position: absolute; inset: 0; background: rgba(26,18,9,0.7); }
.theme-about-section__inner { position: relative; padding: 5rem 1.5rem; }
@media (min-width: 768px) { .theme-about-section__inner { padding: 7rem 3.5rem; } }
@media (min-width: 1024px) { .theme-about-section__inner { padding: 7rem 5rem; } }
.theme-about-section__copy { max-width: 42rem; margin: 0 auto; text-align: center; color: #fff; text-shadow: 0 0 18px rgba(74,34,10,0.95), 0 2px 10px rgba(58,26,8,0.9); }
.about-heading { font-size: 1.875rem; font-weight: 600; line-height: 1.25; margin-bottom: 2rem; color: #fff; }
@media (min-width: 768px) { .about-heading { font-size: 2.25rem; } }
.theme-about-section__text { color: #fff; line-height: 1.7; margin-bottom: 1.25rem; }
.theme-about-section .theme-link-underline {
	font-family: var(--font-display-fallback);
	font-size: 12px;
	letter-spacing: 0.28em;
	color: #fff;
}

/* Product grids (shared) */
.theme-product-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem; align-items: stretch; }
@media (min-width: 768px) { .theme-product-grid { grid-template-columns: repeat(3, 1fr); gap: 2rem; } }
@media (min-width: 1024px) { .theme-shop-grid { grid-template-columns: repeat(4, 1fr); gap: 2rem; } }
.theme-featured-products { grid-template-columns: repeat(1, 1fr); gap: 2rem; }
@media (min-width: 768px) { .theme-featured-products { grid-template-columns: repeat(3, 1fr); gap: 3rem; } }
.theme-product-grid--related { grid-template-columns: repeat(2, 1fr); }
@media (min-width: 1024px) { .theme-product-grid--related { grid-template-columns: repeat(4, 1fr); } }

.theme-product-card-wrap {
	display: flex; flex-direction: column; height: 100%;
	transition: transform 0.3s cubic-bezier(0.25, 0.4, 0.25, 1);
}
.theme-product-card-wrap:hover { transform: translateY(-4px); }
.theme-product-grid--related .reveal-item,
.theme-product-grid--related .reveal-item.is-visible {
	opacity: 1 !important;
	transform: none !important;
}
.theme-product-card { position: relative; display: flex; flex-direction: column; height: 100%; }
.theme-product-card__image-wrapper {
	position: relative; overflow: hidden; aspect-ratio: 3 / 4;
	background: var(--color-secondary); margin-bottom: 1.25rem;
}
.theme-product-card__image-link {
	display: block;
	position: absolute;
	inset: 0;
	z-index: 1;
}
.theme-product-card__image-link .product-card-img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}
.theme-product-card-wrap:hover .product-card-img { transform: scale(1.04); }
.product-card-img { transition: transform 0.7s var(--transition-smooth); }
.theme-product-badge {
	position: absolute; top: 0.75rem; left: 0.75rem;
	padding: 0.25rem 0.75rem; font-size: 12px; font-weight: 500; text-transform: uppercase; letter-spacing: 0.18em;
	background: var(--foreground); color: var(--background); border-radius: 999px;
	z-index: 2;
}
.theme-product-card__quick-add {
	position: absolute; bottom: 0.75rem; right: 0.75rem; z-index: 3;
	width: 40px; height: 40px; min-height: unset !important; padding: 0 !important;
	display: flex; align-items: center; justify-content: center;
	border-radius: 50% !important;
	background-color: var(--background) !important; color: var(--foreground) !important;
	border: none !important;
	box-shadow: var(--shadow-soft);
	opacity: 1;
	cursor: pointer;
	pointer-events: auto;
	transition: opacity 0.3s, transform 0.2s;
	text-decoration: none;
}
@media (min-width: 768px) {
	.theme-product-card__quick-add { opacity: 0; }
	.theme-product-card-wrap:hover .theme-product-card__quick-add { opacity: 1; }
}
.theme-product-card__quick-add:hover { transform: scale(1.08); }
.theme-product-card__quick-add:active { transform: scale(0.92); }
.theme-product-card__quick-add svg { width: 16px; height: 16px; }
.theme-product-card__info-link {
	display: block;
	color: inherit;
	text-decoration: none;
}
.theme-product-card__info { text-align: center; margin-top: 0; }
.theme-product-card__title {
	font-family: var(--font-body); font-size: 0.875rem; font-weight: 500;
	text-transform: uppercase; letter-spacing: 0.15em; line-height: 1.4; color: var(--foreground);
	margin-bottom: 0.5rem;
	transition: color 0.3s var(--transition-smooth);
}
.theme-product-card:hover .theme-product-card__title,
.theme-product-card-wrap:hover .theme-product-card__title { color: var(--color-primary); }
@media (min-width: 768px) { .theme-product-card__title { font-size: 1rem; } }
.theme-product-card__price { font-size: 1rem; color: var(--foreground); font-weight: 400; }
@media (min-width: 768px) { .theme-product-card__price { font-size: 1.125rem; } }
.theme-product-card__price .woocommerce-Price-amount { font-family: var(--font-body); }

/* Artist section */
.theme-artist-section { background: #f9f7f1; overflow: hidden; }
.theme-artist-section__grid { display: grid; grid-template-columns: 1fr; min-height: 540px; align-items: stretch; }
@media (min-width: 1024px) { .theme-artist-section__grid { grid-template-columns: 2fr 3fr; min-height: 700px; } }
.theme-artist-section__photo { position: relative; height: 100%; min-height: 360px; overflow: hidden; }
@media (min-width: 768px) { .theme-artist-section__photo { min-height: 420px; } }
@media (min-width: 1024px) { .theme-artist-section__photo { min-height: 100%; } }
.theme-artist-section__photo .cover-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.theme-artist-section__copy { display: flex; flex-direction: column; justify-content: center; padding: 3.5rem 1.5rem; }
@media (min-width: 768px) { .theme-artist-section__copy { padding: 5rem 2.5rem; } }
@media (min-width: 1024px) { .theme-artist-section__copy { padding: 5rem 4rem; } }
.theme-artist-badge {
	display: inline-flex; align-self: flex-start; border: 1px solid rgba(28,43,48,0.2); border-radius: 999px;
	padding: 0.5rem 1.25rem; font-size: 12px; letter-spacing: 0.28em; text-transform: uppercase; color: var(--color-teal);
	margin-bottom: 2rem;
}
.artist-heading { font-size: 2.25rem; margin-bottom: 0.5rem; }
@media (min-width: 768px) { .artist-heading { font-size: 3rem; } }
@media (min-width: 1024px) { .artist-heading { font-size: 3.75rem; } }
.theme-artist-script { font-family: var(--font-script); font-size: 1.875rem; color: var(--color-rosa); line-height: 1.2; margin-bottom: 2rem; }
@media (min-width: 768px) { .theme-artist-script { font-size: 2.25rem; } }
.theme-artist-section__text { color: rgba(28,43,48,0.75); line-height: 1.7; margin-bottom: 1.25rem; max-width: 42rem; }
.theme-artist-section__divider { width: 100%; height: 1px; background: rgba(28,43,48,0.15); margin-bottom: 2rem; max-width: 42rem; }
.theme-artist-signature__name { font-family: var(--font-script); font-size: 1.875rem; margin-bottom: 0.25rem; }
.theme-artist-signature__title { font-size: 12px; letter-spacing: 0.28em; text-transform: uppercase; color: rgba(28,43,48,0.6); }

/* Services */
.theme-services-section { background: #fffdf0; }
.services-heading { font-size: 2.25rem; }
@media (min-width: 768px) { .services-heading { font-size: 3rem; } }
@media (min-width: 1024px) { .services-heading { font-size: 3.75rem; } }
.theme-services-carousel { position: relative; }
.theme-carousel-nav {
	display: none; position: absolute; top: 50%; transform: translateY(-50%); z-index: 20;
	height: 44px; width: 44px; align-items: center; justify-content: center; border-radius: 50%;
	background: var(--background); border: 1px solid var(--color-border); box-shadow: var(--shadow-soft);
	transition: background-color 0.2s, color 0.2s, border-color 0.2s;
}
@media (min-width: 768px) { .theme-carousel-nav { display: flex; } }
.theme-carousel-nav--prev { left: -0.75rem; }
.theme-carousel-nav--next { right: -0.75rem; }
@media (min-width: 1024px) { .theme-carousel-nav--prev { left: -1.5rem; } .theme-carousel-nav--next { right: -1.5rem; } }
.theme-carousel-nav:hover { background: var(--color-rosa); color: var(--background); border-color: var(--color-rosa); }
.theme-carousel-nav svg { width: 20px; height: 20px; }
.theme-carousel-nav--square { position: static; transform: none; border-radius: 0; }

.theme-services-track {
	display: flex; gap: 1.5rem; overflow-x: auto; overflow-y: hidden; scroll-behavior: smooth;
	scrollbar-width: none; padding: 0.5rem 0;
}
.theme-services-track::-webkit-scrollbar { display: none; }
@media (min-width: 768px) { .theme-services-track { gap: 2rem; } }
.theme-service-card {
	flex: none; width: 85vw; display: flex; flex-direction: column;
	background: var(--background); border: 1px solid var(--color-border); overflow: hidden;
	box-shadow: var(--shadow-soft); transition: box-shadow 0.5s, transform 0.4s ease;
	box-shadow: 0 0 0 2px transparent;
}
@media (min-width: 640px) { .theme-service-card { width: 360px; } }
@media (min-width: 1024px) { .theme-service-card { width: 380px; } }
.theme-service-card:hover { box-shadow: var(--shadow-elevated); transform: translateY(-10px); }
.theme-accent-rosa:hover { box-shadow: 0 0 0 2px rgba(195,60,86,0.3), var(--shadow-elevated); }
.theme-accent-marigold:hover { box-shadow: 0 0 0 2px rgba(217,138,37,0.3), var(--shadow-elevated); }
.theme-accent-teal:hover { box-shadow: 0 0 0 2px rgba(53,106,114,0.3), var(--shadow-elevated); }
.theme-service-card__image-wrap { position: relative; aspect-ratio: 4 / 3; overflow: hidden; }
.theme-service-card__image-wrap::after {
	content: '';
	position: absolute; inset: 0;
	background: linear-gradient(to top, rgba(0,0,0,0.5), rgba(0,0,0,0.1), transparent);
	opacity: 0;
	transition: opacity 0.5s;
	pointer-events: none;
}
.theme-service-card:hover .theme-service-card__image-wrap::after { opacity: 1; }
.theme-service-card:hover .theme-service-card__image-wrap .cover-img { transform: scale(1.1); }
.theme-service-card__image-wrap .cover-img { transition: transform 0.9s ease-out; }
.theme-service-card__numeral {
	position: absolute; top: 1rem; left: 1rem; font-family: var(--font-display); font-size: 12px; letter-spacing: 0.3em;
	padding: 0.25rem 0.5rem; background: rgba(247,242,229,0.9); backdrop-filter: blur(4px);
}
.theme-accent-rosa .theme-service-card__numeral, .theme-accent-rosa .theme-service-card__kicker { color: var(--color-rosa); }
.theme-accent-marigold .theme-service-card__numeral, .theme-accent-marigold .theme-service-card__kicker { color: var(--color-marigold); }
.theme-accent-teal .theme-service-card__numeral, .theme-accent-teal .theme-service-card__kicker { color: var(--color-teal); }
.theme-service-card__inquire {
	position: absolute; bottom: 1rem; right: 1rem; color: var(--background); font-size: 12px; letter-spacing: 0.28em; text-transform: uppercase;
	opacity: 0; transition: opacity 0.5s;
}
.theme-service-card:hover .theme-service-card__inquire { opacity: 1; }
.theme-service-card__body { display: flex; flex-direction: column; flex: 1; padding: 1.5rem; }
@media (min-width: 768px) { .theme-service-card__body { padding: 1.75rem; } }
.theme-service-card__icon-row { display: flex; align-items: center; gap: 0.75rem; margin-bottom: 1rem; }
.theme-service-card__icon {
	display: flex; height: 36px; width: 36px; align-items: center; justify-content: center;
	border-radius: 50%; border: 1px solid rgba(28,43,48,0.2);
	transition: transform 0.5s;
}
.theme-accent-rosa .theme-service-card__icon { border-color: rgba(195,60,86,0.4); color: var(--color-rosa); }
.theme-accent-marigold .theme-service-card__icon { border-color: rgba(217,138,37,0.5); color: var(--color-marigold); }
.theme-accent-teal .theme-service-card__icon { border-color: rgba(53,106,114,0.4); color: var(--color-teal); }
.theme-service-card:hover .theme-service-card__icon { transform: rotate(360deg) scale(1.1); }
.theme-service-card__icon svg { width: 16px; height: 16px; }
.theme-service-card__kicker { font-size: 11px; letter-spacing: 0.28em; text-transform: uppercase; }
.theme-service-card__title { font-size: 1.5rem; line-height: 1.25; margin-bottom: 0.75rem; letter-spacing: -0.01em; transition: color 0.3s; }
@media (min-width: 768px) { .theme-service-card__title { font-size: 1.875rem; } }
.theme-service-card:hover .theme-service-card__title { color: var(--color-rosa); }
.theme-service-card__description { font-size: 0.9rem; color: var(--color-muted-foreground); line-height: 1.7; }
@media (min-width: 768px) { .theme-service-card__description { font-size: 1rem; } }

/* Coming soon */
.theme-coming-soon-section { background: #f9f7f1; }
.coming-soon-heading { font-size: 2.25rem; margin-bottom: 1.5rem; }
@media (min-width: 768px) { .coming-soon-heading { font-size: 3rem; } }
@media (min-width: 1024px) { .coming-soon-heading { font-size: 3.75rem; } }
.theme-coming-soon-section__text { color: rgba(28,43,48,0.75); line-height: 1.7; max-width: 42rem; margin: 0 auto; }
.theme-coming-soon-tags { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 0.75rem; margin-top: 3rem; }
.theme-tag-pill {
	display: inline-flex; align-items: center; gap: 0.5rem; padding: 0.5rem 1rem;
	border: 1px solid var(--color-teal); color: var(--color-teal); font-size: 11px; letter-spacing: 0.28em; text-transform: uppercase;
}
.theme-tag-pill__rule { height: 1px; width: 1rem; background: var(--color-teal); }

/* Commissions */
.theme-commissions-section { background: #fffdf0; }
.theme-commissions-section__grid { display: grid; grid-template-columns: 1fr; align-items: stretch; }
@media (min-width: 1024px) { .theme-commissions-section__grid { grid-template-columns: 1fr 1fr; } }
.theme-commissions-section__media { position: relative; min-height: 420px; order: -1; background: #fffdf0; }
@media (min-width: 1024px) { .theme-commissions-section__media { order: 2; min-height: 640px; } }
.theme-commissions-video-wrap { position: absolute; inset: 0; background: #fffdf0; }
.theme-commissions-video {
	position: absolute; inset: 0; width: 100%; height: 100%;
	object-fit: contain; cursor: pointer;
}
.theme-commissions-section__copy { display: flex; align-items: center; background: #fffdf0; padding: 4rem 1.5rem; }
@media (min-width: 768px) { .theme-commissions-section__copy { padding: 6rem 3.5rem; } }
@media (min-width: 1024px) { .theme-commissions-section__copy { order: 1; padding: 6rem 5rem; } }
.theme-commissions-section__copy-inner { max-width: 36rem; }
.commissions-heading { font-size: 2.25rem; line-height: 1.05; margin-bottom: 1.75rem; }
@media (min-width: 768px) { .commissions-heading { font-size: 3rem; } }
@media (min-width: 1024px) { .commissions-heading { font-size: 3.75rem; } }
.theme-commissions-section__text { color: rgba(28,43,48,0.8); line-height: 1.7; margin-bottom: 1.5rem; }
.theme-commissions-section__text--italic { font-style: italic; color: rgba(28,43,48,0.7); margin-bottom: 2.5rem; }

/* Gallery */
.theme-gallery-section { background: #f9f7f1; }
.theme-gallery-section__pad { padding: 0; }
.theme-gallery-section__heading { margin-bottom: 2.5rem; }
.gallery-heading { font-size: 1.875rem; }
@media (min-width: 768px) { .gallery-heading { font-size: 3rem; } }
@media (min-width: 1024px) { .gallery-heading { font-size: 3.75rem; } }
.theme-gallery-track {
	display: flex;
	gap: 1rem;
	overflow-x: auto;
	overflow-y: hidden;
	padding: 0 1.5rem 0.5rem;
	scrollbar-width: none;
	overflow-anchor: none;
	overscroll-behavior-x: contain;
	-webkit-overflow-scrolling: touch;
}
.theme-gallery-track::-webkit-scrollbar { display: none; }
@media (min-width: 768px) { .theme-gallery-track { gap: 1.5rem; padding: 0 3rem 0.5rem; } }
.theme-gallery-item {
	flex: 0 0 78%;
	width: 78%;
	max-width: 78%;
	contain: layout style paint;
}
@media (min-width: 640px) { .theme-gallery-item { flex-basis: 55%; width: 55%; max-width: 55%; } }
@media (min-width: 768px) { .theme-gallery-item { flex-basis: 40%; width: 40%; max-width: 40%; } }
@media (min-width: 1024px) { .theme-gallery-item { flex-basis: 30%; width: 30%; max-width: 30%; } }
@media (min-width: 1280px) { .theme-gallery-item { flex-basis: 26%; width: 26%; max-width: 26%; } }
.theme-gallery-item__link { display: block; position: relative; overflow: hidden; aspect-ratio: 4 / 5; }
button.theme-gallery-item__link {
	width: 100%;
	padding: 0;
	border: none;
	cursor: pointer;
	background: none;
	text-align: left;
	font: inherit;
	color: inherit;
}
.theme-gallery-item__link .cover-img {
	object-position: top;
	transform: translateZ( 0 );
	backface-visibility: hidden;
	transition: transform 0.9s var(--transition-smooth);
}
.theme-gallery-track.is-user-scrolling .theme-gallery-item__link .cover-img {
	transition: none;
}
.theme-gallery-item__link:hover .cover-img { transform: scale( 1.04 ) translateZ( 0 ); }
.theme-gallery-section__nav { display: flex; gap: 1rem; margin-top: 2.5rem; }

/* Gallery lightbox */
#theme-gallery-lightbox-overlay {
	position: fixed; inset: 0; background: rgba(28,43,48,0.88); z-index: 75;
	opacity: 0; visibility: hidden; transition: opacity 0.25s;
}
body.gallery-lightbox-open #theme-gallery-lightbox-overlay { opacity: 1; visibility: visible; }
#theme-gallery-lightbox {
	position: fixed; inset: 0; z-index: 76; display: flex; align-items: center; justify-content: center;
	padding: 4rem 1.5rem 3rem; opacity: 0; visibility: hidden; transition: opacity 0.25s;
}
body.gallery-lightbox-open #theme-gallery-lightbox { opacity: 1; visibility: visible; }
#theme-gallery-lightbox[hidden] { display: none !important; }
body.gallery-lightbox-open #theme-gallery-lightbox[hidden] { display: flex !important; }
.theme-gallery-lightbox__figure {
	margin: 0; max-width: min(960px, 100%); width: 100%; text-align: center;
}
.theme-gallery-lightbox__img {
	display: block; max-width: 100%; max-height: calc(100vh - 8rem); width: auto; height: auto;
	margin: 0 auto; object-fit: contain;
}
.theme-gallery-lightbox__caption {
	margin-top: 1rem; font-size: 0.875rem; letter-spacing: 0.12em; text-transform: uppercase;
	color: rgba(255,253,240,0.85);
}
.theme-gallery-lightbox__close {
	position: fixed; top: 1rem; right: 1rem; z-index: 77; padding: 0.5rem;
	color: var(--background); background: rgba(28,43,48,0.35); border-radius: 999px;
}
.theme-gallery-lightbox__close svg { width: 20px; height: 20px; }
.theme-gallery-lightbox__nav {
	position: fixed; top: 50%; transform: translateY(-50%); z-index: 77;
	width: 48px; height: 48px; display: flex; align-items: center; justify-content: center;
	border: 1px solid rgba(255,253,240,0.35); color: var(--background); background: rgba(28,43,48,0.35);
	transition: border-color 0.2s, color 0.2s;
}
.theme-gallery-lightbox__nav:hover { border-color: var(--color-primary); color: var(--color-primary); }
.theme-gallery-lightbox__nav svg { width: 18px; height: 18px; }
.theme-gallery-lightbox__nav--prev { left: 1rem; }
.theme-gallery-lightbox__nav--next { right: 1rem; }
@media (min-width: 768px) {
	.theme-gallery-lightbox__nav--prev { left: 1.5rem; }
	.theme-gallery-lightbox__nav--next { right: 1.5rem; }
}

/* Shop section */
.theme-shop-section { background: #fffdf0; }
.theme-shop-section__heading { text-align: center; margin-bottom: 3rem; }
.shop-heading { font-size: 1.875rem; margin-bottom: 2.5rem; }
@media (min-width: 768px) { .shop-heading { font-size: 3rem; } }
.theme-shop-search { position: relative; max-width: 28rem; margin: 0 auto 2rem; }
.theme-shop-search svg { position: absolute; left: 0; top: 50%; transform: translateY(-50%); width: 16px; height: 16px; 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-size: 1rem; outline: none; transition: border-color 0.2s;
}
.theme-shop-search input:focus { border-color: var(--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; font-weight: 700;
	border-radius: 999px; border: 1px solid var(--color-border); background: transparent; color: var(--foreground);
	transition: all 0.3s;
}
.theme-cat-filter:hover { border-color: var(--color-rosa); color: var(--color-rosa); }
.theme-cat-filter.is-active { background: var(--color-rosa); color: var(--background); border-color: var(--color-rosa); }
.theme-shop-price-filter { display: flex; flex-direction: column; align-items: center; gap: 0.75rem; }
.theme-shop-price-toggle {
	display: flex; align-items: center; gap: 0.5rem; padding: 0.5rem 1rem; font-size: 12px; letter-spacing: 0.2em; text-transform: uppercase;
	font-weight: 700; color: var(--color-muted-foreground); transition: color 0.3s;
}
.theme-shop-price-toggle:hover { color: var(--foreground); }
.theme-shop-price-toggle svg { width: 14px; height: 14px; transition: transform 0.3s; }
.theme-shop-price-toggle.is-open svg { transform: rotate(180deg); }
.theme-shop-price-panel {
	width: 100%; max-width: 22rem; overflow: hidden; height: 0; opacity: 0;
	transition: height 0.3s var(--transition-smooth), opacity 0.3s var(--transition-smooth);
}
.theme-shop-price-panel.is-open { height: auto; opacity: 1; }
.theme-shop-price-labels { display: flex; justify-content: space-between; font-size: 0.875rem; color: var(--color-muted-foreground); margin-top: 0.5rem; }

/* Price range slider (Section 31.4) */
.price-range-wrapper { position: relative; height: 1.5rem; margin-top: 0.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: 18px; height: 18px; border-radius: 50%;
	background: var(--background); border: 2px solid var(--color-primary); cursor: pointer; margin-top: -1px;
}
.range-input::-moz-range-thumb {
	pointer-events: auto; width: 18px; height: 18px; border-radius: 50%;
	background: var(--background); border: 2px solid var(--color-primary); cursor: pointer;
}
.range-input::-moz-range-track { background: transparent; }
.range-input--max { z-index: 3; }
.range-input--min { z-index: 4; }

/* Shop grid + hidden items (Show More) */
.theme-shop-grid .theme-product-card-wrap.is-hidden-more { display: none; }
.theme-shop-grid .theme-product-card-wrap.is-filtered-out { display: none; }
.theme-shop-show-more { text-align: center; margin-top: 3rem; }
.theme-shop-show-more.is-hidden { display: none; }
.theme-shop-empty-state { text-align: center; padding: 5rem 0; color: var(--color-muted-foreground); }

/* FAQ */
.theme-faq-section { background: #f9f7f1; }
.faq-heading { font-size: 1.875rem; line-height: 1.3; }
@media (min-width: 768px) { .faq-heading { font-size: 3rem; } }
@media (min-width: 1024px) { .faq-heading { font-size: 3.75rem; } }
.theme-faq-list { max-width: 48rem; margin: 0 auto; border-top: 1px solid var(--color-border); border-bottom: 1px solid var(--color-border); }
.theme-faq-item { border-bottom: 1px solid var(--color-border); }
.theme-faq-item:last-child { border-bottom: none; }
.theme-faq-question { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; padding: 1.25rem 0; text-align: left; }
@media (min-width: 768px) { .theme-faq-question { padding: 1.5rem 0; } }
.theme-faq-question span:first-child { font-family: var(--font-display); font-size: 1.125rem; transition: color 0.3s; }
@media (min-width: 768px) { .theme-faq-question span:first-child { font-size: 1.25rem; } }
.theme-faq-question:hover span:first-child { color: var(--color-primary); }
.theme-faq-icon { flex-shrink: 0; height: 32px; width: 32px; display: flex; align-items: center; justify-content: center; border: 1px solid var(--color-border); border-radius: 50%; color: rgba(28,43,48,0.7); transition: color 0.3s, border-color 0.3s; }
.theme-faq-question:hover .theme-faq-icon { color: var(--color-primary); border-color: var(--color-primary); }
.theme-faq-icon svg { width: 14px; height: 14px; }
.theme-faq-icon-minus { display: none; }
.theme-faq-question[aria-expanded="true"] .theme-faq-icon-plus { display: none; }
.theme-faq-question[aria-expanded="true"] .theme-faq-icon-minus { display: block; }
.theme-faq-answer {
	display: grid;
	grid-template-rows: 0fr;
	overflow: hidden;
	opacity: 0;
	transition: grid-template-rows 0.3s var(--transition-smooth), opacity 0.3s var(--transition-smooth);
}
.theme-faq-answer.is-open {
	grid-template-rows: 1fr;
	opacity: 1;
}
.theme-faq-answer > p {
	min-height: 0;
	overflow: hidden;
	padding-bottom: 1.5rem;
	padding-right: 3.5rem;
	color: rgba(28,43,48,0.75);
	line-height: 1.7;
}
@media (prefers-reduced-motion: reduce) {
	.theme-faq-answer { transition: none; }
}

/* Final CTA */
.theme-cta-section { position: relative; background: var(--color-butter); overflow: hidden; }
.theme-cta-section__bg { position: absolute; inset: 0; }
.theme-cta-section__scrim { position: absolute; inset: 0; background: rgba(247,242,229,0.4); }
.theme-cta-section__inner { position: relative; padding: 6rem 0 8rem; }
.theme-cta-card {
	max-width: 42rem; margin: 0 auto; text-align: center; background: rgba(247,242,229,0.95); backdrop-filter: blur(4px);
	box-shadow: var(--shadow-elevated); padding: 3rem 2rem; border: 1px solid rgba(221,210,184,0.6);
}
@media (min-width: 768px) { .theme-cta-card { padding: 4rem 3.5rem; } }
.cta-band__title { font-size: 1.875rem; line-height: 1.3; margin: 1rem 0 1.5rem; }
@media (min-width: 768px) { .cta-band__title { font-size: 3rem; } }
@media (min-width: 1024px) { .cta-band__title { font-size: 3.75rem; } }
.theme-cta-card__text { color: rgba(28,43,48,0.8); line-height: 1.7; margin-bottom: 2.5rem; max-width: 28rem; margin-left: auto; margin-right: auto; }
.theme-cta-card__buttons { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1.25rem; }
@media (min-width: 640px) { .theme-cta-card__buttons { flex-direction: row; } }
.theme-cta-card .theme-btn-hero-primary { background: var(--foreground); color: var(--background); }

/* ---------------------------------------------------------------------
   Footer
   --------------------------------------------------------------------- */
.site-footer { border-top: 1px solid var(--color-border); background: var(--color-butter); }
.site-footer__main { padding-top: 3.5rem; padding-bottom: 3.5rem; }
@media (min-width: 1024px) { .site-footer__main { padding-top: 4rem; padding-bottom: 4rem; } }
.site-footer__grid { display: grid; grid-template-columns: 1fr; gap: 2.5rem; }
@media (min-width: 768px) {
	.site-footer__grid { grid-template-columns: repeat(2, 1fr); gap: 2rem; }
	.site-footer__col--explore,
	.site-footer__col--quick { padding-left: 1rem; }
}
@media (min-width: 1024px) { .site-footer__grid { grid-template-columns: repeat(4, 1fr); gap: 2rem; } }
.site-footer__brand-link { display: flex; align-items: center; gap: 0.75rem; margin-bottom: 1.25rem; }
.site-footer__logo { height: 56px; width: 56px; object-fit: contain; }
.site-footer__brand-name { display: block; font-family: var(--font-display); font-size: 1.125rem; font-weight: 600; letter-spacing: -0.01em; }
.site-footer__brand-waves { font-style: italic; font-weight: 300; color: var(--color-primary); }
.site-footer__brand-tagline { display: block; font-size: 10px; letter-spacing: 0.32em; text-transform: uppercase; color: var(--color-muted-foreground); margin-top: 0.25rem; }
.site-footer__description { font-size: 0.875rem; color: var(--color-muted-foreground); line-height: 1.7; max-width: 20rem; }
.site-footer__heading { font-family: var(--font-display); font-size: 0.875rem; letter-spacing: 0.28em; text-transform: uppercase; margin-bottom: 1.25rem; }
.site-footer__links { display: flex; flex-direction: column; gap: 0.75rem; }
.site-footer__links a, .theme-footer-contact-trigger { font-size: 0.875rem; color: var(--color-muted-foreground); transition: color 0.2s; }
.site-footer__links a:hover, .theme-footer-contact-trigger:hover { color: var(--foreground); }
.site-footer__contact-link { display: flex; align-items: center; gap: 0.5rem; font-size: 0.875rem; color: var(--color-muted-foreground); }
.site-footer__contact-link svg { width: 16px; height: 16px; flex-shrink: 0; }
.site-footer__social { display: flex; align-items: center; gap: 1rem; margin-top: 1.5rem; }
.site-footer__social-link { color: var(--color-muted-foreground); transition: color 0.2s; }
.site-footer__social-link:hover { color: var(--foreground); }
.site-footer__social-link svg { width: 20px; height: 20px; }
.site-footer__bottom { border-top: 1px solid var(--color-border); }
.site-footer__bottom-inner { padding-top: 1.25rem; padding-bottom: 1.25rem; display: flex; flex-direction: column; align-items: center; justify-content: space-between; gap: 0.75rem; }
@media (min-width: 640px) { .site-footer__bottom-inner { flex-direction: row; } }
.site-footer__copyright, .site-footer__credit { font-size: 12px; color: var(--color-muted-foreground); letter-spacing: 0.02em; margin: 0; }
.site-footer__credit a { text-decoration: underline; }
.site-footer__credit a:hover { color: var(--foreground); }

/* ---------------------------------------------------------------------
   Cart drawer + overlay
   --------------------------------------------------------------------- */
#theme-cart-overlay {
	position: fixed; inset: 0; background: rgba(28,43,48,0.2); z-index: 60; opacity: 0; visibility: hidden;
	transition: opacity 0.3s;
}
body.cart-open #theme-cart-overlay { opacity: 1; visibility: visible; }
#theme-cart-drawer {
	position: fixed; right: 0; top: 0; height: 100%; width: 100%; max-width: 28rem;
	background: var(--background); z-index: 61; box-shadow: var(--shadow-elevated);
	display: flex; flex-direction: column; transform: translateX(100%); transition: transform 0.35s var(--transition-smooth);
}
body.cart-open #theme-cart-drawer { transform: translateX(0); }
#theme-cart-drawer.is-updating { opacity: 0.6; pointer-events: none; }
.theme-cart-drawer__header { display: flex; align-items: center; justify-content: space-between; padding: 1.5rem; border-bottom: 1px solid var(--color-border); }
.theme-cart-drawer__title { font-family: var(--font-display); font-size: 1.125rem; font-weight: 700; }
.theme-cart-drawer__close { padding: 0.25rem; }
.theme-cart-drawer__close svg { width: 20px; height: 20px; }
.theme-cart-drawer__empty { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 1.5rem; text-align: center; }
.theme-cart-drawer__empty-icon svg { width: 48px; height: 48px; color: var(--color-muted-foreground); }
.theme-cart-drawer__empty p { color: var(--color-muted-foreground); margin: 1rem 0 1.5rem; }
.theme-cart-drawer__items { flex: 1; overflow: auto; padding: 1.5rem; display: flex; flex-direction: column; gap: 1.5rem; }
.theme-cart-item { display: flex; gap: 1rem; }
.theme-cart-item__image { width: 80px; height: 96px; background: var(--color-secondary); overflow: hidden; flex-shrink: 0; position: relative; }
.theme-cart-item__image img { position: absolute; inset: 0; 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; white-space: nowrap; text-overflow: ellipsis; }
.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.25rem; }
.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: 4px; transition: background 0.2s; }
.theme-cart-qty-btn:hover { background: var(--color-secondary); }
.theme-cart-qty-btn svg { width: 12px; height: 12px; }
.theme-cart-item__qty { font-size: 0.875rem; width: 24px; text-align: center; }
.theme-cart-item__remove { margin-left: auto; font-size: 0.875rem; color: var(--color-muted-foreground); }
.theme-cart-item__remove:hover { color: var(--foreground); }
.theme-cart-drawer__footer { padding: 1.5rem; border-top: 1px solid var(--color-border); display: flex; flex-direction: column; gap: 1rem; }
.theme-cart-drawer__subtotal { display: flex; justify-content: space-between; font-size: 0.875rem; }
.theme-cart-drawer__shipping-note { font-size: 0.875rem; color: var(--color-muted-foreground); }
.theme-cart-drawer__checkout { width: 100%; }
.theme-cart-drawer__empty-btn { width: 100%; }

/* ---------------------------------------------------------------------
   Contact modal
   --------------------------------------------------------------------- */
#theme-contact-modal-overlay {
	position: fixed; inset: 0; background: rgba(28,43,48,0.5); z-index: 70; opacity: 0; visibility: hidden; transition: opacity 0.25s;
}
body.contact-open #theme-contact-modal-overlay { opacity: 1; visibility: visible; }
#theme-contact-modal {
	position: fixed; top: 50%; left: 50%; transform: translate(-50%, -48%) scale(0.96); width: 92%; max-width: 32rem;
	max-height: 90vh; overflow-y: auto; background: var(--background); z-index: 71; border-radius: 12px;
	box-shadow: var(--shadow-elevated); opacity: 0; visibility: hidden; transition: opacity 0.25s, transform 0.25s;
}
body.contact-open #theme-contact-modal { opacity: 1; visibility: visible; transform: translate(-50%, -50%) scale(1); }
.theme-contact-modal__panel { padding: 2rem; position: relative; }
.theme-contact-modal__close { position: absolute; top: 1rem; right: 1rem; padding: 0.4rem; color: var(--color-muted-foreground); }
.theme-contact-modal__close svg { width: 18px; height: 18px; }
.theme-contact-modal__title { font-family: var(--font-display); font-size: 1.5rem; margin-bottom: 0.5rem; }
.theme-contact-modal__description { color: var(--color-muted-foreground); margin-bottom: 1.25rem; }
.theme-contact-modal__quicklinks { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem; font-size: 0.875rem; color: var(--color-muted-foreground); margin-bottom: 1.5rem; }
.theme-contact-modal__quicklinks a { display: flex; align-items: center; gap: 0.5rem; }
.theme-contact-modal__quicklinks a:hover { color: var(--foreground); }
.theme-contact-modal__quicklinks svg { width: 16px; height: 16px; }
.theme-contact-modal__row { display: grid; grid-template-columns: 1fr; gap: 1rem; }
@media (min-width: 480px) { .theme-contact-modal__row { grid-template-columns: 1fr 1fr; } }
.theme-form-field { margin-bottom: 1rem; }
.theme-form-field label { display: block; font-size: 0.875rem; font-weight: 500; margin-bottom: 0.375rem; }
.theme-form-field input, .theme-form-field textarea {
	width: 100%; padding: 0.65rem 0.75rem; background: var(--background); border: 1px solid var(--color-border);
	font-size: 1rem; border-radius: 6px; outline: none; transition: box-shadow 0.3s;
}
.theme-form-field input:focus, .theme-form-field textarea:focus { box-shadow: 0 0 0 2px rgba(56,110,120,0.3); }
.theme-form-field textarea { resize: none; }
.theme-contact-modal__submit-row { display: flex; justify-content: flex-end; }
.theme-contact-modal__submit-row button { display: inline-flex; align-items: center; gap: 0.5rem; }
.theme-contact-modal__submit-row svg { width: 16px; height: 16px; }
.theme-contact-modal__success { text-align: center; padding: 2rem 0; }
.theme-contact-modal__success-icon { display: flex; align-items: center; justify-content: center; width: 56px; height: 56px; background: var(--color-primary); border-radius: 50%; margin: 0 auto 1rem; color: var(--color-primary-foreground); }
.theme-contact-modal__success-icon svg { width: 28px; height: 28px; }
.theme-contact-modal__success h3 { font-family: var(--font-display); font-size: 1.25rem; margin-bottom: 0.5rem; }
.theme-contact-modal__success p { color: var(--color-muted-foreground); font-size: 0.875rem; }

/* ---------------------------------------------------------------------
   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(--foreground) !important;
	color: var(--background) !important;
	border: none !important;
	border-radius: var(--btn-radius) !important;
	min-height: var(--btn-height) !important;
	padding: 1rem 2rem !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: 0.25em !important;
	text-transform: uppercase !important;
	cursor: pointer !important;
	transition: opacity 0.2s ease !important;
	width: 100%;
}
.single_add_to_cart_button.button:hover,
.add_to_cart_button.button:hover {
	opacity: 0.9 !important;
	background-color: var(--foreground) !important;
	color: var(--background) !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(--foreground) !important;
}
.theme-product-card .add_to_cart_button.ajax_add_to_cart,
.theme-product-card .theme-product-card__quick-add {
	min-height: unset !important;
	padding: 0 !important;
	background-color: var(--background) !important;
	color: var(--foreground) !important;
	letter-spacing: 0 !important;
	text-transform: none !important;
	font-size: inherit !important;
}
.theme-product-card .theme-product-card__quick-add:hover {
	background-color: var(--background) !important;
	color: var(--foreground) !important;
	opacity: 1 !important;
}
.ajax_add_to_cart.theme-btn-loading { opacity: 0.6 !important; pointer-events: none !important; cursor: wait !important; }
.single-product .single_add_to_cart_button.loading::after,
.ajax_add_to_cart.loading::after { display: none !important; }

.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 { display: none; }
#theme-cart-drawer .woocommerce-message { display: none; }
.woocommerce-error {
	max-width: 60rem; margin: 1rem auto; padding: 1rem 1.5rem; border-radius: 8px;
	background: #fdecec; color: #7a1f1f; font-family: var(--font-body); list-style: none;
}
.woocommerce-message, .woocommerce-info {
	max-width: 60rem; margin: 1rem auto; padding: 1rem 1.5rem; border-radius: 8px;
	background: var(--color-secondary); color: var(--foreground); font-family: var(--font-body);
}

/* ---------------------------------------------------------------------
   Single product page
   --------------------------------------------------------------------- */
.theme-inner-page { padding-top: 6rem; }
@media (min-width: 1024px) { .theme-inner-page { 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:hover { color: var(--foreground); }
.theme-breadcrumb__sep { margin: 0 0.5rem; opacity: 0.5; }
.theme-breadcrumb__current { color: var(--foreground); }

.theme-product-layout {
	display: grid; grid-template-columns: minmax(0, 1fr); gap: 2.5rem;
	padding: 1rem 0 6rem; min-width: 0; align-items: start;
}
@media (min-width: 1024px) {
	.theme-product-layout {
		grid-template-columns: repeat(12, minmax(0, 1fr));
		gap: 4rem;
		padding-top: 0;
	}
}
.theme-product-gallery { min-width: 0; max-width: 100%; }
@media (min-width: 1024px) { .theme-product-gallery { grid-column: span 7 / span 7; } }
.theme-product-info { min-width: 0; max-width: 100%; }
@media (min-width: 1024px) {
	.theme-product-info {
		grid-column: span 5 / span 5;
		position: sticky; top: 7rem; align-self: start; padding-left: 1rem;
	}
}

.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-gallery__stack-item {
	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;
}
.theme-product-thumbnails--mobile {
	display: flex; gap: 0.75rem; margin-top: 1rem; overflow-x: auto; padding-bottom: 0.25rem;
}
.theme-product-thumb-frame {
	position: relative; width: 5rem; height: 5rem; flex-shrink: 0; overflow: hidden;
	background: var(--color-secondary); padding: 0; border: none;
}
.theme-product-thumb-frame::after {
	content: '';
	position: absolute; left: 0; right: 0; bottom: 0; height: 1px;
	background: var(--foreground); opacity: 0; transition: opacity 0.2s;
}
.theme-product-thumb-frame.is-active::after { opacity: 1; }
.theme-product-thumb-frame img { opacity: 0.6; transition: opacity 0.2s; }
.theme-product-thumb-frame.is-active img,
.theme-product-thumb-frame:hover img { opacity: 1; }

.theme-product-info__category { font-size: 13px; letter-spacing: 0.25em; text-transform: uppercase; color: var(--color-muted-foreground); }
.theme-product-info__title { font-family: var(--font-display); font-weight: 400; font-size: 1.875rem; line-height: 1.1; margin: 0.75rem 0 1.25rem; }
@media (min-width: 768px) { .theme-product-info__title { font-size: 2.5rem; } }
@media (min-width: 1024px) { .theme-product-info__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__stock--out { color: var(--color-rosa); font-weight: 600; margin-bottom: 1rem; }
.theme-product-info__teaser {
	color: var(--color-muted-foreground); line-height: 1.7; margin-bottom: 2rem; font-size: 1rem;
}
.theme-product-info__description,
.woocommerce-product-details__short-description {
	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-info__description p { margin-bottom: 0.75rem; }
.woocommerce-product-details__short-description ul { display: flex; flex-direction: column; gap: 0.5rem; }
.woocommerce-product-details__short-description li { display: flex; align-items: flex-start; font-size: 0.9375rem; color: var(--color-muted-foreground); }
.woocommerce-product-details__short-description li::before { content: ''; width: 4px; height: 4px; border-radius: 50%; background: var(--foreground); margin: 0.5rem 0.75rem 0 0; flex-shrink: 0; }

.theme-variation-group { margin-bottom: 1.5rem; }
.theme-variation-label {
	font-size: 13px; letter-spacing: 0.2em; text-transform: uppercase;
	color: var(--color-muted-foreground); margin-bottom: 0.75rem; font-family: var(--font-body);
}
.theme-variation-chips { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.theme-variation-chip {
	padding: 0.5rem 1rem; font-size: 12px; letter-spacing: 0.15em; text-transform: uppercase;
	border: 1px solid var(--color-border); border-radius: 999px; background: transparent;
	color: var(--foreground); font-family: var(--font-body); transition: all 0.2s;
}
.theme-variation-chip:hover { border-color: rgba(28,43,48,0.6); }
.theme-variation-chip.is-selected { background: var(--foreground); color: var(--background); border-color: var(--foreground); }
.theme-variation-chip--color { display: inline-flex; align-items: center; gap: 0.5rem; }
.theme-variation-chip__swatch {
	width: 12px; height: 12px; border-radius: 50%; border: 1px solid var(--color-border); flex-shrink: 0;
}
.variations_form table.variations,
.theme-variable-product-form table.variations { display: none; }

.single-product .theme-add-to-cart-area {
	display: flex; flex-direction: column; gap: 1rem; margin: 0 0 1rem;
}
.theme-quantity-wrapper { display: inline-flex; align-items: center; border: 1px solid var(--color-border); align-self: flex-start; }
.theme-qty-minus, .theme-qty-plus { padding: 0.75rem 1rem; transition: background 0.2s; }
.theme-qty-minus:hover, .theme-qty-plus:hover { background: var(--color-secondary); }
.theme-qty-minus svg, .theme-qty-plus svg { width: 14px; height: 14px; }
.theme-qty-input {
	width: 48px; text-align: center; border: none; background: transparent; 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; }
.single-product .single_add_to_cart_button { width: 100%; }

.theme-product-accordion { border-top: 1px solid var(--color-border); margin-top: 2.5rem; }
.theme-accordion-trigger { width: 100%; display: flex; align-items: center; justify-content: space-between; padding: 1.25rem 0; border-bottom: 1px solid var(--color-border); text-align: left; }
.theme-accordion-trigger span:first-child { font-size: 13px; letter-spacing: 0.25em; text-transform: uppercase; font-family: var(--font-body); }
.theme-accordion-trigger svg { width: 16px; height: 16px; transition: transform 0.2s; }
.theme-accordion-trigger.is-open svg { transform: rotate(180deg); }
.theme-accordion-panel { padding: 0 0 1.5rem; color: var(--color-muted-foreground); font-size: 15px; line-height: 1.7; }
.theme-accordion-panel p { margin-bottom: 1rem; }
.theme-accordion-panel ul { display: flex; flex-direction: column; gap: 0.5rem; margin-top: 1rem; }
.theme-accordion-panel li { display: flex; align-items: flex-start; }
.theme-accordion-panel li::before { content: ''; width: 4px; height: 4px; border-radius: 50%; background: var(--foreground); margin: 0.5rem 0.75rem 0 0; flex-shrink: 0; }
.theme-accordion-panel[hidden] { display: none; }

.theme-related-products { padding: 5rem 0; border-top: 1px solid var(--color-border); margin-top: 2rem; }
.theme-related-products__heading { text-align: center; margin-bottom: 3rem; }
.theme-related-products__eyebrow {
	font-family: var(--font-display); font-style: italic; font-size: 1rem;
	color: var(--color-muted-foreground); margin-bottom: 0.5rem;
}
.theme-related-products__heading h2 { font-family: var(--font-display); font-weight: 400; font-size: 1.875rem; }
@media (min-width: 768px) { .theme-related-products__heading h2 { font-size: 2.25rem; } }

/* ---------------------------------------------------------------------
   Shop archive
   --------------------------------------------------------------------- */
.theme-shop-archive__inner { padding: 4rem 0 6rem; }
.theme-shop-archive .page-title { font-family: var(--font-display); font-size: 2.25rem; margin-bottom: 2rem; }
.theme-shop-empty { text-align: center; padding: 4rem 0; color: var(--color-muted-foreground); }
.theme-pagination { margin-top: 3rem; text-align: center; }
.theme-pagination .page-numbers { display: inline-flex; gap: 0.5rem; padding: 0.5rem 0.85rem; border: 1px solid var(--color-border); }
.theme-pagination .page-numbers.current { background: var(--color-primary); color: var(--color-primary-foreground); }

/* ---------------------------------------------------------------------
   Generic inner pages / 404
   --------------------------------------------------------------------- */
.theme-page-container { padding: 5rem 0 6rem; }
.page-title { font-family: var(--font-display); font-weight: 400; font-size: 2.25rem; margin-bottom: 1.5rem; }
.theme-404 { display: flex; align-items: center; min-height: 60vh; }
.theme-404__inner { text-align: center; padding: 6rem 0; }
.theme-404__title { font-family: var(--font-display); font-size: 2.5rem; margin-bottom: 1rem; }
.theme-404__text { color: var(--color-muted-foreground); margin-bottom: 2rem; }

/* home: hero full-bleed under fixed header on mobile/tablet */
body:not(.theme-no-hero) .theme-front-page { padding-top: 0; }
@media (max-width: 1023px) {
	body.theme-no-hero .site-main,
	body.theme-no-hero .theme-inner-page,
	body.woocommerce-checkout .site-main,
	body.woocommerce-cart .site-main,
	body.woocommerce-account .site-main,
	body.theme-thankyou-page .site-main {
		padding-top: var(--header-height);
	}
	body.theme-no-hero .theme-inner-page {
		padding-top: 6rem;
	}
}
body.theme-no-hero .site-main:not(.theme-inner-page) { padding-top: var(--header-height); }
body.theme-no-hero .theme-inner-page { padding-top: 6rem; }
@media (min-width: 1024px) {
	body.theme-no-hero .theme-inner-page { padding-top: 7rem; }
}
body.theme-thankyou-page .site-main { padding-top: var(--header-height); }

/* =====================================================================
   WooCommerce Checkout Block overrides (Section 13)
   ===================================================================== */
body.woocommerce-checkout .site-main,
body.woocommerce-checkout .site-main.theme-inner-page,
body.woocommerce-checkout .theme-checkout-page {
	padding-top: var(--header-height);
	padding-bottom: 4rem;
}
body.woocommerce-checkout .theme-page-container.theme-checkout-page-container {
	padding-top: 1.25rem;
	padding-bottom: 4rem;
}
@media (max-width: 1023px) {
	body.woocommerce-checkout .site-main.theme-inner-page,
	body.woocommerce-checkout .theme-checkout-page {
		padding-top: var(--header-height);
	}
}

/* Release parent width constraints so the block can center at 1280px */
body.woocommerce-checkout .theme-checkout-page-container,
body.woocommerce-checkout .theme-page-container.theme-checkout-page-container,
body.woocommerce-checkout #page-content,
body.woocommerce-checkout .entry-content,
body.woocommerce-checkout .site-main,
body.woocommerce-checkout article,
.entry-content:has(.wp-block-woocommerce-checkout) {
	max-width: none;
	width: 100%;
	box-sizing: border-box;
}
body.woocommerce-checkout .theme-checkout-page-container {
	margin-left: auto;
	margin-right: auto;
	padding-left: 1.5rem;
	padding-right: 1.5rem;
}
@media (min-width: 1024px) {
	body.woocommerce-checkout .theme-checkout-page-container {
		padding-left: 2rem;
		padding-right: 2rem;
	}
}

/* Checkout block shell */
body.woocommerce-checkout .wp-block-woocommerce-checkout,
body.woocommerce-checkout .wc-block-checkout,
.entry-content .wp-block-woocommerce-checkout,
.entry-content .wc-block-checkout {
	max-width: 1280px;
	margin-left: auto;
	margin-right: auto;
	width: 100%;
	box-sizing: border-box;
}

/* Store notices — same width/alignment as checkout (wc-block-components-notices) */
body.woocommerce-checkout .wc-block-components-notices,
.entry-content .wc-block-components-notices {
	max-width: 1280px;
	margin-left: auto;
	margin-right: auto;
	width: 100%;
	box-sizing: border-box;
}

body.woocommerce-checkout .wc-block-checkout__main,
body.woocommerce-checkout .wc-block-checkout__sidebar,
body.woocommerce-checkout .wc-block-components-main,
body.woocommerce-checkout .wc-block-components-sidebar,
.entry-content .wc-block-checkout__main,
.entry-content .wc-block-checkout__sidebar,
.entry-content .wc-block-components-main,
.entry-content .wc-block-components-sidebar {
	min-width: 0;
	width: 100%;
	max-width: 100%;
	box-sizing: border-box;
}

body.woocommerce-checkout .wc-block-components-text-input input,
body.woocommerce-checkout .wc-block-components-select select,
body.woocommerce-checkout .wc-block-components-textarea textarea {
	width: 100% !important;
	max-width: none !important;
	font-family: var(--font-body);
	border: 1px solid var(--color-border);
	border-radius: 8px;
	background: var(--background);
	color: var(--foreground);
}
body.woocommerce-checkout .wc-block-components-text-input input:focus,
body.woocommerce-checkout .wc-block-components-select select:focus {
	outline: none;
	box-shadow: 0 0 0 2px rgba(56, 110, 120, 0.35);
}
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;
	text-transform: none !important;
	font-family: var(--font-body) !important;
	letter-spacing: var(--btn-letter-spacing) !important;
	font-weight: var(--btn-font-weight) !important;
	min-height: var(--btn-height) !important;
}
body.woocommerce-checkout .wc-block-components-notice-banner {
	border-radius: 8px;
	font-family: var(--font-body);
}
body.woocommerce-checkout .wc-block-checkout__sidebar,
body.woocommerce-checkout .wc-block-components-sidebar {
	background-color: var(--color-secondary);
	border-radius: 12px;
	padding: 2rem;
}
body.woocommerce-checkout .wp-block-woocommerce-checkout-order-summary-block,
.entry-content .wp-block-woocommerce-checkout-order-summary-block {
	width: 100%;
}
body.woocommerce-checkout .page-title {
	max-width: 1280px;
	margin: 0 auto 1rem;
	padding: 0;
}
@media (min-width: 1024px) {
	body.woocommerce-checkout .page-title {
		padding: 0;
	}
}

@media (min-width: 768px) {
	body.woocommerce-checkout .wc-block-components-sidebar-layout.wc-block-checkout,
	body.woocommerce-checkout .wc-block-checkout-sidebar-layout,
	.entry-content .wc-block-components-sidebar-layout.wc-block-checkout,
	.entry-content .wc-block-checkout-sidebar-layout {
		display: grid;
		grid-template-columns: 1fr minmax(360px, 400px);
		gap: 1.5rem;
		align-items: start;
	}

	body.woocommerce-checkout .wc-block-components-sidebar-layout > .wc-block-components-notices,
	body.woocommerce-checkout .wc-block-checkout-sidebar-layout > .wc-block-components-notices,
	body.woocommerce-checkout .wc-block-components-sidebar-layout.wc-block-checkout > .wc-block-components-notices,
	.entry-content .wc-block-components-sidebar-layout > .wc-block-components-notices,
	.entry-content .wc-block-checkout-sidebar-layout > .wc-block-components-notices {
		grid-column: 1 / -1;
		order: 1;
		max-width: none;
	}

	body.woocommerce-checkout .wc-block-components-main,
	body.woocommerce-checkout .wc-block-checkout__main,
	.entry-content .wc-block-components-main,
	.entry-content .wc-block-checkout__main {
		order: 2;
		grid-column: 1;
		width: 100% !important;
		padding-right: 0 !important;
	}

	body.woocommerce-checkout .wc-block-components-sidebar,
	body.woocommerce-checkout .wc-block-checkout__sidebar,
	.entry-content .wc-block-components-sidebar,
	.entry-content .wc-block-checkout__sidebar {
		order: 3;
		grid-column: 2;
		min-width: 360px;
		width: 100% !important;
		padding-left: 0 !important;
	}

	body.woocommerce-checkout .wc-block-components-sidebar-layout > *,
	body.woocommerce-checkout .wc-block-checkout-sidebar-layout > *,
	.entry-content .wc-block-components-sidebar-layout > *,
	.entry-content .wc-block-checkout-sidebar-layout > * {
		width: 100%;
		min-width: 0;
		max-width: 100%;
		box-sizing: border-box;
	}

	/* Notices rendered as a sibling above the sidebar layout */
	body.woocommerce-checkout .wp-block-woocommerce-checkout > .wc-block-components-notices,
	body.woocommerce-checkout .wc-block-checkout > .wc-block-components-notices,
	.entry-content .wp-block-woocommerce-checkout > .wc-block-components-notices,
	.entry-content .wc-block-checkout > .wc-block-components-notices {
		margin-bottom: 1.5rem;
	}
}

/* Cart / My Account width parity (Section 13.7) */
body.woocommerce-cart .site-main,
body.woocommerce-account .site-main { padding-top: var(--header-height); padding-bottom: 4rem; }
body.woocommerce-cart .page-title,
body.woocommerce-account .page-title { max-width: 80rem; margin: 2rem auto 1rem; padding: 0 1.5rem; }

/* ---------------------------------------------------------------------
   Thank you page (Section 22.8)
   --------------------------------------------------------------------- */
body.theme-thankyou-page { overflow-x: hidden; }
body.theme-thankyou-page .site-main { padding-bottom: 4rem; }
body.theme-thankyou-page .woocommerce-order { max-width: 60rem; margin: 0 auto; padding: 0 1.5rem; }
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; }
body.theme-thankyou-page .woocommerce-order-overview { display: flex; flex-wrap: wrap; gap: 1.5rem; list-style: none; padding: 1.5rem 0; border-bottom: 1px solid var(--color-border); margin-bottom: 1.5rem; }
body.theme-thankyou-page .woocommerce-order-overview li { font-size: 0.9rem; }
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 0.5rem; 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; margin-top: 2rem; }
@media (min-width: 768px) {
	body.theme-thankyou-page .woocommerce-customer-details { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; }
}
body.theme-thankyou-page .woocommerce-customer-details address { min-width: 0; overflow-wrap: break-word; }

/* ---------------------------------------------------------------------
   Legacy Cormorant-fallback italic accents where used
   --------------------------------------------------------------------- */
.font-script { font-family: var(--font-script); }

/* ---------------------------------------------------------------------
   Mobile layout guards (max-width: 767px) — desktop unchanged
   --------------------------------------------------------------------- */
@media (max-width: 767px) {
	.container-wide {
		min-width: 0;
	}

	/* Hero: nowrap + large type overflows narrow viewports */
	.theme-hero__content {
		width: 100%;
		padding-left: 1rem;
		padding-right: 1rem;
	}
	.theme-hero__title {
		white-space: normal;
		font-size: clamp(2rem, 10vw, 3rem);
		overflow-wrap: break-word;
	}

	/* Header: keep logo box proportions on narrow screens */
	.site-header__nav {
		gap: 0.75rem;
		min-width: 0;
	}
	.site-header__logo-link {
		flex-shrink: 0;
		max-width: none;
		min-width: auto;
	}
	.site-header__actions {
		flex-shrink: 0;
	}

	/* Announcement bar: room for close button */
	.theme-announcement-bar__inner {
		padding: 0.5rem 2.75rem;
	}
	.theme-announcement-text {
		font-size: 11px;
		letter-spacing: 0.12em;
		overflow-wrap: anywhere;
	}

	/* Horizontal carousels: contain scroll inside viewport */
	.theme-services-carousel,
	.theme-gallery-section {
		overflow: hidden;
		width: 100%;
		min-width: 0;
	}
	.theme-services-track,
	.theme-gallery-track {
		max-width: 100%;
		-webkit-overflow-scrolling: touch;
	}
	.theme-service-card {
		width: min(85vw, calc(100vw - 3rem));
	}
	.theme-gallery-item {
		width: min(78%, calc(100vw - 3rem));
		max-width: min(78%, calc(100vw - 3rem));
		flex: 0 0 min(78%, calc(100vw - 3rem));
	}

	/* Grids: prevent flex/grid children from forcing page width */
	.theme-product-grid,
	.theme-collection-grid,
	.theme-shop-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
	.theme-product-card-wrap,
	.theme-collection-tile,
	.theme-service-card,
	.theme-artist-section__grid,
	.theme-commissions-section__grid {
		min-width: 0;
	}

	/* Long headings / FAQ text */
	.section-heading,
	.shop-heading,
	.faq-heading,
	.theme-product-card__title {
		overflow-wrap: anywhere;
	}
	.theme-faq-question span:first-child {
		min-width: 0;
	}
	.theme-faq-answer > p {
		padding-right: 1rem;
	}

	.theme-shop-categories {
		max-width: 100%;
		padding: 0 0.25rem;
	}
	.theme-cat-filter {
		max-width: 100%;
		overflow-wrap: anywhere;
		text-align: center;
	}

	/* Reveal scale can peek past grid edges on very narrow screens */
	.reveal-item.scale-in-item {
		transform: none;
	}
}
