/* =========================================================================
   Jennifer Goodwin Fine Art — theme.css
   Implements the "Ethereal Dreamscape" design system exactly:
   sharp museum-frame corners everywhere except the floating header pill
   and small circular dot badges/icons.
   ========================================================================= */

:root {
	--color-background: #faf8f5;
	--color-foreground: #222022;
	--color-primary: #2d585c;
	--color-secondary: #e2e9e5;
	--color-muted: #eae6e1;
	--color-accent: #c1b2cd;
	--color-marigold: #ddb078;
	--color-indigo: #9b84ae;
	--color-butter: #f5f1eb;
	--color-surface-deep: #1e3b3e;
	--color-border: #dcd7d0;
	--color-destructive: #bd2828;
	--color-button-text: #faf8f5;
	--color-muted-foreground: #524f50;

	--font-display: 'Cormorant Garamond', serif;
	--font-body: 'Plus Jakarta Sans', system-ui, sans-serif;

	--shadow-soft: 0 2px 14px -6px rgba(34, 32, 34, 0.08);
	--shadow-elevated: 0 10px 40px -12px rgba(34, 32, 34, 0.16);
	--transition-smooth: cubic-bezier(0.4, 0, 0.2, 1);

	--logo-height: 44px;
	--logo-height-scrolled: 36px;
	--header-height: 90px;
	--header-height-scrolled: 80px;

	--btn-radius: 0;
	--btn-height: 52px;
	--btn-padding: 0.9rem 2.25rem;
	--btn-font-size: 11px;
	--btn-font-weight: 500;
	--btn-letter-spacing: 0.28em;
	--btn-text-transform: uppercase;
	--btn-icon-padding: 0;
}

/* -------------------------------------------------------------------------
   Reset / base
   ---------------------------------------------------------------------- */

*, *::before, *::after { box-sizing: border-box; }

html, body { max-width: 100%; overflow-x: clip; }

html { scroll-behavior: smooth; }

body {
	background-color: var(--color-background);
	color: var(--color-foreground);
	font-family: var(--font-body);
	font-weight: 400;
	margin: 0;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	overflow-x: clip;
}

img, video { max-width: 100%; display: block; }

img:not(.cover-img):not(.hero-bg-img):not(.product-card-img):not(.theme-gallery-img) {
	height: auto;
}
.cover-img, .hero-bg-img, .product-card-img, .theme-gallery-img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

h1, h2, h3, h4, h5, h6 {
	font-family: var(--font-display);
	font-weight: inherit;
	font-size: inherit;
	letter-spacing: -0.015em;
	margin: 0;
}

p { margin: 0; }
a { color: inherit; text-decoration: none; cursor: pointer; }
button { font-family: inherit; cursor: pointer; background: none; border: none; color: inherit; }
input, textarea, select { font-family: inherit; font-size: 1rem; }
ul { margin: 0; padding: 0; list-style: none; }

/* Clickable elements */
.site-logo-link,
.theme-tile,
.theme-cat-filter,
.theme-price-filter__toggle,
.theme-product-card,
.theme-product-card__media-link,
.theme-product-card__name-link,
.theme-prints-card,
.theme-cart-item__thumb,
.theme-cart-item__name,
.theme-cart-item__remove,
.theme-qty-btn,
.theme-announcement-close,
.site-nav__icon-btn,
.theme-mobile-toggle,
.theme-link-cta,
.link-underline,
.theme-featured__more .theme-btn,
.theme-shop__show-more .theme-btn,
.theme-file-remove {
	cursor: pointer;
}

/* -------------------------------------------------------------------------
   Layout utilities
   ---------------------------------------------------------------------- */

.container-wide {
	width: 100%;
	max-width: 80rem;
	margin: 0 auto;
	padding-inline: 1.5rem;
}
@media (min-width: 1024px) {
	.container-wide { padding-inline: 2rem; }
}

.link-underline { position: relative; display: inline-block; }
.link-underline::after {
	content: '';
	position: absolute;
	bottom: 0; left: 0;
	width: 100%; height: 1px;
	background: currentColor;
	transform: scaleX(0);
	transform-origin: left;
	transition: transform 0.3s var(--transition-smooth);
}
.link-underline:hover::after { transform: scaleX(1); }

.pill-frame { border-radius: 1rem !important; }
.dot-frame { border-radius: 9999px !important; }

/* -------------------------------------------------------------------------
   Motion: reveal / fade / slide keyframes (Section 2.1)
   ---------------------------------------------------------------------- */

@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes slideUp { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }
@keyframes sparkleTwinkle { 0%, 100% { opacity: 0.35; transform: scale(0.92); } 50% { opacity: 1; transform: scale(1.08); } }
@keyframes zoomIn { from { opacity: 0; transform: scale(0.9); } to { opacity: 1; transform: scale(1); } }
@keyframes springIn { 0% { transform: scale(0); } 60% { transform: scale(1.08); } 100% { transform: scale(1); } }

.animate-fade-in { animation: fadeIn 0.6s var(--transition-smooth) forwards; }
.animate-slide-up { animation: slideUp 0.6s var(--transition-smooth) forwards; }

@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; scroll-behavior: auto !important; }
}

/* Scroll reveal system: elements fade/slide up once visible. */
.reveal-item {
	opacity: 0;
	transform: translateY(28px);
	transition: opacity 0.7s var(--transition-smooth), transform 0.7s var(--transition-smooth);
}
.reveal-item.is-visible { opacity: 1; transform: translateY(0); }
.reveal-item.reveal-scale { transform: scale(0.94); }
.reveal-item.reveal-scale.is-visible { transform: scale(1); }

/* Customizer preview / no-JS fallback: never hide content (Section 2.1.5). */
body.is-customizer .reveal-item,
.no-js .reveal-item {
	opacity: 1 !important;
	transform: none !important;
}

/* -------------------------------------------------------------------------
   Decorative: sun rays + sparkles (hero + commissions band)
   ---------------------------------------------------------------------- */

.theme-sun-rays {
	position: absolute; inset: 0; pointer-events: none;
	background:
		radial-gradient(circle at 100% 0%, color-mix(in srgb, var(--color-marigold) 28%, transparent) 0%, transparent 45%),
		conic-gradient(from 270deg at 100% 0%, transparent 0deg, color-mix(in srgb, var(--color-marigold) 18%, transparent) 18deg, transparent 36deg, color-mix(in srgb, var(--color-marigold) 12%, transparent) 54deg, transparent 72deg, color-mix(in srgb, var(--color-marigold) 10%, transparent) 90deg, transparent 108deg, transparent 180deg);
	filter: blur(2px);
	mix-blend-mode: soft-light;
}

.theme-sparkles { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.theme-sparkles::before, .theme-sparkles::after {
	content: ''; position: absolute; width: 2px; height: 2px; border-radius: 9999px;
	background: color-mix(in srgb, var(--color-marigold) 85%, transparent);
	box-shadow:
		12vw 8vh 0 0 color-mix(in srgb, var(--color-marigold) 70%, transparent),
		18vw 22vh 0 0 color-mix(in srgb, var(--color-marigold) 55%, transparent),
		28vw 14vh 0 0 color-mix(in srgb, var(--color-marigold) 65%, transparent),
		38vw 30vh 0 0 color-mix(in srgb, var(--color-marigold) 50%, transparent),
		46vw 10vh 0 0 color-mix(in srgb, var(--color-marigold) 75%, transparent),
		54vw 26vh 0 0 color-mix(in srgb, var(--color-marigold) 60%, transparent),
		62vw 6vh 0 0 color-mix(in srgb, var(--color-marigold) 80%, transparent),
		70vw 18vh 0 0 color-mix(in srgb, var(--color-marigold) 55%, transparent),
		78vw 34vh 0 0 color-mix(in srgb, var(--color-marigold) 45%, transparent),
		86vw 12vh 0 0 color-mix(in srgb, var(--color-marigold) 70%, transparent);
	animation: sparkleTwinkle 4s ease-in-out infinite alternate;
}
.theme-sparkles::after {
	width: 1.5px; height: 1.5px;
	animation-delay: 2s;
	box-shadow:
		8vw 16vh 0 0 color-mix(in srgb, var(--color-marigold) 60%, transparent),
		16vw 34vh 0 0 color-mix(in srgb, var(--color-marigold) 45%, transparent),
		24vw 8vh 0 0 color-mix(in srgb, var(--color-marigold) 70%, transparent),
		32vw 26vh 0 0 color-mix(in srgb, var(--color-marigold) 55%, transparent),
		42vw 40vh 0 0 color-mix(in srgb, var(--color-marigold) 40%, transparent),
		52vw 18vh 0 0 color-mix(in srgb, var(--color-marigold) 65%, transparent);
}

.theme-golden-orbs { position: absolute; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; }
.theme-golden-orbs span { position: absolute; border-radius: 9999px; filter: blur(110px); }
.theme-golden-orbs span:nth-child(1) { top: -6rem; right: -6rem; width: 600px; height: 600px; background: color-mix(in srgb, var(--color-marigold) 10%, transparent); }
.theme-golden-orbs span:nth-child(2) { top: 33%; left: -5rem; width: 400px; height: 400px; background: color-mix(in srgb, var(--color-accent) 6%, transparent); filter: blur(90px); }
.theme-golden-orbs span:nth-child(3) { bottom: -6rem; right: 25%; width: 500px; height: 500px; background: color-mix(in srgb, var(--color-marigold) 8%, transparent); filter: blur(100px); }

/* -------------------------------------------------------------------------
   Buttons
   ---------------------------------------------------------------------- */

.theme-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.5rem;
	white-space: nowrap;
	font-family: var(--font-display);
	font-weight: var(--btn-font-weight);
	font-size: var(--btn-font-size);
	letter-spacing: var(--btn-letter-spacing);
	text-transform: var(--btn-text-transform);
	padding: var(--btn-padding);
	border: none;
	cursor: pointer;
	transition: all 0.3s ease, transform 0.2s ease;
}
.theme-btn:hover { transform: translateY(-2px); }
.theme-btn-primary { background: var(--color-primary); color: var(--color-button-text); box-shadow: var(--shadow-soft); }
.theme-btn-primary:hover { background: color-mix(in srgb, var(--color-primary) 90%, black); box-shadow: var(--shadow-elevated); }
.theme-btn-dark { background: var(--color-foreground); color: var(--color-background); box-shadow: var(--shadow-soft); }
.theme-btn-dark:hover { background: color-mix(in srgb, var(--color-foreground) 90%, white); box-shadow: var(--shadow-elevated); }
.theme-btn-outline { border: 1px solid var(--color-border); background: transparent; color: var(--color-foreground); text-transform: none; letter-spacing: normal; font-family: var(--font-body); font-size: 0.9rem; padding: 0.7rem 1.5rem; }
.theme-btn-outline:hover { background: var(--color-secondary); }
.theme-btn-block { width: 100%; }
.theme-btn-square { text-transform: none; letter-spacing: normal; font-family: var(--font-body); font-size: 0.95rem; }
.theme-btn:disabled { opacity: 0.6; cursor: not-allowed; }
.theme-btn-link { background: none; border: none; padding: 0; }
.theme-link-cta { font-size: 12px; letter-spacing: 0.22em; text-transform: uppercase; }
.theme-services__intro-wrap { position: relative; z-index: 1; }

/* -------------------------------------------------------------------------
   Announcement bar
   ---------------------------------------------------------------------- */

.theme-announcement-bar { position: relative; background: var(--color-foreground); color: var(--color-background); }
.theme-announcement-inner { padding-block: 0.5rem; text-align: center; }
.theme-announcement-text { font-size: 13px; letter-spacing: 0.18em; text-transform: uppercase; }
.theme-announcement-close {
	position: absolute; right: 0.75rem; top: 50%; transform: translateY(-50%);
	padding: 0.25rem; opacity: 0.7; color: inherit;
}
.theme-announcement-close:hover { opacity: 1; }

/* -------------------------------------------------------------------------
   Header
   ---------------------------------------------------------------------- */

.site-header {
	position: sticky;
	top: 1rem;
	z-index: 50;
	margin: 0 auto 1rem;
	width: calc(100% - 1.5rem);
	max-width: 80rem;
	background: color-mix(in srgb, var(--color-background) 60%, transparent);
	-webkit-backdrop-filter: blur(12px);
	backdrop-filter: blur(12px);
	border: 1px solid color-mix(in srgb, white 40%, transparent);
	box-shadow: var(--shadow-soft);
	transition: background 0.3s ease, box-shadow 0.3s ease;
}

/* When logged in, stick below the WP admin bar (not margin — sticky offset only). */
body.admin-bar .site-header {
	top: calc(32px + 1rem);
}
@media screen and (min-width: 783px) {
	body.admin-bar .site-header {
		top: calc(46px + 1rem);
	}
}
.site-header.is-scrolled,
.site-header.is-menu-open { background: color-mix(in srgb, var(--color-background) 70%, transparent); }
body.theme-no-hero .site-header,
body.is-customizer .site-header { background: color-mix(in srgb, var(--color-background) 70%, transparent); }

.site-header__inner { padding: 0 1.25rem; }
@media (min-width: 1024px) { .site-header__inner { padding: 0 2rem; } }

.site-nav {
	display: flex;
	align-items: center;
	justify-content: space-between;
	width: 100%;
	height: var(--header-height);
	transition: height 0.3s ease;
	position: relative;
}
.site-header.is-scrolled .site-nav { height: var(--header-height-scrolled); }

.site-logo-link,
.site-nav__actions { position: relative; z-index: 2; flex-shrink: 0; }
.site-logo-link { display: flex; align-items: center; line-height: 1; }
.site-logo-img { height: var(--logo-height) !important; width: auto !important; object-fit: contain; transition: height 0.3s ease; }
.site-header.is-scrolled .site-logo-img { height: var(--logo-height-scrolled) !important; }
.site-logo-text { font-family: var(--font-display); font-size: 1.5rem; font-weight: 600; }
.site-logo-img--footer { height: 3rem !important; }

.site-nav__links { display: none; }
@media (min-width: 1024px) {
	.site-nav__links {
		display: flex;
		align-items: center;
		position: absolute;
		left: 50%;
		top: 0;
		height: 100%;
		transform: translateX(-50%);
		z-index: 1;
	}
}
.theme-nav-list { display: flex; align-items: center; gap: 2rem; }
.theme-nav-item { list-style: none; }
.theme-nav-link {
	font-family: var(--font-display); font-size: 14px; font-weight: 500;
	letter-spacing: 0.2em; text-transform: uppercase; cursor: pointer; transition: color 0.3s ease;
	white-space: nowrap;
}

.site-nav__actions { display: flex; align-items: center; gap: 0.5rem; }
@media (min-width: 768px) { .site-nav__actions { gap: 0.75rem; } }
.site-nav__icon-btn { position: relative; display: inline-flex; align-items: center; justify-content: center; padding: 0.5rem; transition: opacity 0.2s ease; }
.site-nav__icon-btn:hover { opacity: 0.6; }
.theme-search-btn { display: none; }
@media (min-width: 768px) { .theme-search-btn { display: inline-flex; } }
.theme-mobile-toggle { display: inline-flex; }
@media (min-width: 1024px) { .theme-mobile-toggle { display: none; } }
.theme-mobile-toggle__icon { display: inline-flex; align-items: center; justify-content: center; }
.theme-mobile-toggle__icon--close { display: none; }
.site-header.is-menu-open .theme-mobile-toggle__icon--open { display: none; }
.site-header.is-menu-open .theme-mobile-toggle__icon--close { display: inline-flex; }

.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-button-text);
}
.theme-cart-count:empty { display: none; }

.site-mobile-menu { display: none; border-top: 1px solid var(--color-border); padding-block: 1rem; }
.site-mobile-menu.is-open { display: block; animation: fadeIn 0.4s var(--transition-smooth); }
.theme-mobile-nav-list { display: flex; flex-direction: column; gap: 1rem; }
.theme-mobile-nav-list .theme-nav-link { text-align: left; padding-block: 0.5rem; font-size: 14px; letter-spacing: 0.18em; }

/* -------------------------------------------------------------------------
   Footer — matches Lovable Footer.tsx
   ---------------------------------------------------------------------- */

.site-footer {
	border-top: 1px solid var(--color-border);
	background: var(--color-butter);
}

.site-footer__inner {
	padding-block: 2.5rem 1.5rem;
}
@media (min-width: 1024px) {
	.site-footer__inner { padding-block: 3rem 2rem; }
}

.site-footer__top {
	display: flex;
	flex-direction: column;
	gap: 2rem;
}
@media (min-width: 768px) {
	.site-footer__top {
		flex-direction: row;
		align-items: center;
		justify-content: space-between;
	}
}

.site-footer__nav-list {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.75rem;
	list-style: none;
	margin: 0;
	padding: 0;
}
@media (min-width: 768px) {
	.site-footer__nav-list { gap: 1rem; }
}
@media (min-width: 1024px) {
	.site-footer__nav-list { gap: 1.75rem; }
}

.site-footer__nav-item { list-style: none; }

.theme-footer-nav-link,
.site-footer__nav .theme-nav-link {
	font-family: var(--font-body);
	font-size: 11px;
	font-weight: 400;
	letter-spacing: 0.22em;
	text-transform: uppercase;
	color: var(--color-muted-foreground);
	text-decoration: none;
	cursor: pointer;
	transition: color 0.3s ease;
	white-space: nowrap;
}
@media (min-width: 1024px) {
	.theme-footer-nav-link,
	.site-footer__nav .theme-nav-link { font-size: 12px; }
}
.theme-footer-nav-link:hover,
.site-footer__nav .theme-nav-link:hover { color: var(--color-foreground); }
.site-footer__nav .link-underline::after { display: none; }

.site-footer__contact {
	display: flex;
	flex-direction: column;
	gap: 0.75rem;
}
@media (min-width: 1024px) {
	.site-footer__contact {
		flex-direction: row;
		align-items: center;
		gap: 1.25rem;
	}
}

.site-footer__contact-link {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	font-family: var(--font-body);
	font-size: 0.75rem;
	line-height: 1.4;
	color: var(--color-muted-foreground);
	text-decoration: none;
	transition: color 0.3s ease;
}
@media (min-width: 1024px) {
	.site-footer__contact-link { font-size: 0.875rem; }
}
.site-footer__contact-link:hover { color: var(--color-foreground); }
.site-footer__contact-static { cursor: default; }
.site-footer__contact-link svg { flex-shrink: 0; width: 14px; height: 14px; }

.site-footer__bottom {
	margin-top: 2rem;
	padding-top: 1rem;
	border-top: 1px solid var(--color-border);
	display: grid;
	grid-template-columns: 1fr;
	gap: 0.75rem;
	align-items: center;
}
@media (min-width: 640px) {
	.site-footer__bottom { grid-template-columns: repeat(3, 1fr); }
}

.site-footer__copy,
.site-footer__quote,
.site-footer__credit {
	margin: 0;
	font-family: var(--font-body);
	font-size: 12px;
	line-height: 1.5;
	color: var(--color-muted-foreground);
	letter-spacing: 0.025em;
	text-align: center;
}

.site-footer__quote { order: 1; }
.site-footer__copy { order: 2; }
.site-footer__credit { order: 3; }

@media (min-width: 640px) {
	.site-footer__copy { text-align: left; order: 1; }
	.site-footer__quote { text-align: center; order: 2; }
	.site-footer__credit { text-align: right; order: 3; }
}

.site-footer__quote {
	font-family: var(--font-display);
	font-style: italic;
}

.site-footer__credit a {
	color: inherit;
	text-decoration: underline;
	transition: color 0.3s ease;
}
.site-footer__credit a:hover { color: var(--color-foreground); }

/* -------------------------------------------------------------------------
   Hero
   ---------------------------------------------------------------------- */

.theme-hero { background: var(--color-background); }
.theme-hero__frame {
	position: relative; width: 100%; overflow: hidden;
	height: 78vh; min-height: 560px;
}
@media (min-width: 768px) { .theme-hero__frame { height: 88vh; min-height: 680px; } }
body.theme-no-hero .theme-hero__frame { display: none; }

.theme-hero__media { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.theme-hero__overlay { position: absolute; inset: 0; background: linear-gradient(to right, var(--color-muted-foreground), color-mix(in srgb, var(--color-foreground) 30%, transparent), transparent); }
.theme-hero__radial { position: absolute; inset: 0; pointer-events: none; background: radial-gradient(circle at 100% 0%, color-mix(in srgb, var(--color-marigold) 18%, transparent) 0%, transparent 35%); }

.theme-hero__content { position: relative; height: 100%; display: flex; align-items: center; }
.theme-hero__copy { max-width: 34rem; }
.theme-hero__kicker {
	display: block; font-size: 12px; letter-spacing: 0.32em; text-transform: uppercase;
	color: color-mix(in srgb, var(--color-background) 80%, transparent); margin-bottom: 1.25rem;
	opacity: 0; transform: translateY(12px); animation: heroFadeUp 0.7s var(--transition-smooth) 0.25s forwards;
}
.theme-hero__title {
	font-family: var(--font-display); font-weight: 400; font-size: 3rem; line-height: 1.05;
	color: var(--color-background); margin-bottom: 1.5rem; max-width: 32rem;
	opacity: 0; transform: translateY(22px); animation: heroFadeUp 0.9s var(--transition-smooth) 0.35s forwards;
}
@media (min-width: 768px) { .theme-hero__title { font-size: 3.75rem; } }
@media (min-width: 1280px) { .theme-hero__title { font-size: 4.5rem; } }
.theme-hero__subtitle {
	color: color-mix(in srgb, var(--color-background) 90%, transparent); font-size: 1rem; line-height: 1.6;
	margin-bottom: 2.5rem; max-width: 28rem;
	opacity: 0; transform: translateY(14px); animation: heroFadeUp 0.7s var(--transition-smooth) 0.55s forwards;
}
@media (min-width: 768px) { .theme-hero__subtitle { font-size: 1.125rem; } }
.theme-hero__cta-wrap { opacity: 0; transform: translateY(14px); animation: heroFadeUp 0.65s var(--transition-smooth) 0.75s forwards; }

@keyframes heroFadeUp { to { opacity: 1; transform: translateY(0); } }

/* -------------------------------------------------------------------------
   Generic section rhythm
   ---------------------------------------------------------------------- */

.theme-section { position: relative; }
.theme-scroll-offset { scroll-margin-top: 6rem; }
body.admin-bar .theme-scroll-offset { scroll-margin-top: calc(6rem + 32px); }
@media screen and (min-width: 783px) {
	body.admin-bar .theme-scroll-offset { scroll-margin-top: calc(6rem + 46px); }
}
.theme-section-pad { padding-block: 4rem 5rem; }
@media (min-width: 768px) { .theme-section-pad { padding-block: 5rem; } }
.theme-section-eyebrow { display: block; font-size: 12px; letter-spacing: 0.32em; text-transform: uppercase; margin-bottom: 0.75rem; font-weight: 400; }
.theme-section-heading { font-weight: 400; }
.theme-section-header { text-align: center; margin-bottom: 2.5rem; }

/* -------------------------------------------------------------------------
   Shop by collection tiles
   ---------------------------------------------------------------------- */

.theme-collections-heading .theme-section-eyebrow { color: var(--color-primary); }
.theme-collections-heading .theme-section-heading { font-size: 1.875rem; }
@media (min-width: 768px) { .theme-collections-heading .theme-section-heading { font-size: 2.25rem; } }

.theme-tile-grid { display: grid; grid-template-columns: 1fr; gap: 1rem; }
@media (min-width: 768px) { .theme-tile-grid { grid-template-columns: repeat(3, 1fr); gap: 1.5rem; } }

.theme-tile {
	position: relative; display: block; aspect-ratio: 3 / 4; overflow: hidden;
	background: var(--color-muted); border: 2px solid color-mix(in srgb, var(--color-foreground) 25%, transparent);
	box-shadow: var(--shadow-soft); transition: box-shadow 0.5s ease, transform 0.3s ease; text-align: left; width: 100%;
}
.theme-tile:hover { box-shadow: var(--shadow-elevated); transform: translateY(-6px); }
.theme-tile__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 0.7s var(--transition-smooth); }
.theme-tile:hover .theme-tile__img { transform: scale(1.05); }
.theme-tile__scrim { position: absolute; inset: 0; background: linear-gradient(to top, color-mix(in srgb, var(--color-foreground) 85%, transparent), color-mix(in srgb, var(--color-foreground) 40%, transparent), color-mix(in srgb, var(--color-foreground) 10%, transparent)); transition: background 0.5s ease; }
.theme-tile__body { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: flex-end; padding: 1.5rem; color: var(--color-background); text-shadow: 0 1px 8px rgba(0,0,0,0.45); }
.theme-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-tile__tagline::before { content: ''; height: 1px; width: 1.5rem; background: currentColor; }
.theme-tile__label { font-family: var(--font-display); font-size: 1.5rem; font-weight: 400; margin-bottom: 0.5rem; color: var(--color-background); }
@media (min-width: 768px) { .theme-tile__label { font-size: 1.875rem; } }
.theme-tile__cta { display: inline-flex; align-items: center; gap: 0.375rem; font-size: 12px; letter-spacing: 0.22em; text-transform: uppercase; }
.theme-tile__accent-1 { color: var(--color-background); }
.theme-tile__accent-2 { color: var(--color-primary); }
.theme-tile__accent-3 { color: var(--color-marigold); }

/* -------------------------------------------------------------------------
   About — layout synced with Lovable Index "About Jennifer" section
   ---------------------------------------------------------------------- */

.theme-about {
	overflow: hidden;
	background: var(--color-background);
}

.theme-about .theme-section-pad {
	padding-block: 6rem;
}
@media (min-width: 768px) {
	.theme-about .theme-section-pad {
		padding-block: 8rem;
	}
}

.theme-about__grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 2.5rem;
	align-items: center;
}
@media (min-width: 1024px) {
	.theme-about__grid {
		grid-template-columns: repeat(12, 1fr);
		gap: 4rem;
	}
}

.theme-about__media {
	position: relative;
	padding-top: 1rem;
	padding-left: 1rem;
}
@media (min-width: 768px) {
	.theme-about__media { padding-bottom: 2.5rem; }
}
@media (min-width: 1024px) {
	.theme-about__media { grid-column: span 5; }
}

.theme-about__portrait-frame {
	position: relative;
	width: 100%;
	aspect-ratio: 4/5;
	overflow: hidden;
	box-shadow: var(--shadow-elevated);
	border: 2px solid color-mix(in srgb, var(--color-foreground) 25%, transparent);
}

.theme-about__image-float {
	position: absolute;
	inset: -3%;
}
.theme-about__image-float--portrait { animation: aboutFloat1 6s ease-in-out infinite; }
.theme-about__image-float--studio { animation: aboutFloat2 7s ease-in-out infinite 0.4s; }
.theme-about__image-float .cover-img {
	inset: 0;
	width: 100%;
	height: 100%;
}

.theme-about__studio-frame {
	display: none;
	position: absolute;
	bottom: -2.5rem;
	right: -1.5rem;
	width: 50%;
	aspect-ratio: 4/5;
	overflow: hidden;
	box-shadow: var(--shadow-elevated);
	border: 4px solid var(--color-background);
}
@media (min-width: 768px) { .theme-about__studio-frame { display: block; } }
@media (min-width: 1024px) { .theme-about__studio-frame { right: -3rem; } }

@keyframes aboutFloat1 { 0%, 100% { transform: translateY(-8px); } 50% { transform: translateY(8px); } }
@keyframes aboutFloat2 { 0%, 100% { transform: translateY(7px); } 50% { transform: translateY(-7px); } }

.theme-about__est {
	display: none;
	position: absolute;
	top: 0;
	left: 0;
	font-family: var(--font-display);
	font-style: italic;
	color: var(--color-marigold);
	font-size: 13px;
	letter-spacing: 0.32em;
	text-transform: uppercase;
}
@media (min-width: 1024px) { .theme-about__est { display: block; } }

.theme-about__copy { margin-top: 4rem; }
@media (min-width: 768px) { .theme-about__copy { margin-top: 6rem; } }
@media (min-width: 1024px) {
	.theme-about__copy {
		grid-column: span 7;
		margin-top: 0;
		padding-left: 2.5rem;
	}
}

.theme-about__copy .theme-section-eyebrow {
	color: var(--color-marigold);
	font-weight: 600;
	margin-bottom: 1rem;
}

.theme-about__heading {
	font-weight: 400;
	font-size: 2.25rem;
	line-height: 1.05;
	letter-spacing: -0.025em;
	margin-bottom: 2rem;
}
@media (min-width: 768px) { .theme-about__heading { font-size: 3rem; } }
@media (min-width: 1024px) { .theme-about__heading { font-size: 3.75rem; } }
.theme-about__heading em { display: block; font-style: italic; color: var(--color-primary); }

.theme-about__quote {
	margin: 0 0 2rem;
	padding: 0 0 0 1.25rem;
	border: none;
	border-left: 2px solid var(--color-marigold);
	font-family: var(--font-display);
	font-style: italic;
	font-size: 1.25rem;
	line-height: 1.375;
	color: color-mix(in srgb, var(--color-foreground) 85%, transparent);
}
@media (min-width: 768px) { .theme-about__quote { font-size: 1.5rem; } }

.theme-about__paragraph {
	color: color-mix(in srgb, var(--color-foreground) 80%, transparent);
	line-height: 1.625;
	margin-bottom: 1.25rem;
}
.theme-about__paragraph:last-of-type { margin-bottom: 2.5rem; }

.theme-about__stats {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 1.5rem;
	padding-top: 2rem;
	border-top: 1px solid var(--color-border);
}
.theme-about__stat-value {
	font-family: var(--font-display);
	font-size: 1.875rem;
	color: var(--color-primary);
}
@media (min-width: 768px) { .theme-about__stat-value { font-size: 2.25rem; } }
.theme-about__stat-label {
	font-size: 11px;
	letter-spacing: 0.22em;
	text-transform: uppercase;
	color: color-mix(in srgb, var(--color-foreground) 40%, transparent);
	margin-top: 0.25rem;
}

/* -------------------------------------------------------------------------
   Services / What I Offer
   ---------------------------------------------------------------------- */

.theme-services { background: var(--color-butter); overflow: hidden; padding-bottom: 4rem; }
@media (min-width: 768px) { .theme-services { padding-bottom: 6rem; } }
.theme-services__intro { padding-block: 5rem 7rem; text-align: center; }
@media (min-width: 768px) { .theme-services__intro { padding-block: 7rem; } }
.theme-services__intro .theme-section-eyebrow { color: var(--color-marigold); }
.theme-services__intro h2 { font-size: 2.25rem; letter-spacing: -0.02em; line-height: 1.05; }
@media (min-width: 768px) { .theme-services__intro h2 { font-size: 3.75rem; } }
@media (min-width: 1024px) { .theme-services__intro h2 { font-size: 4.5rem; } }

.theme-service-row { display: grid; grid-template-columns: 1fr; align-items: center; }
@media (min-width: 1024px) { .theme-service-row { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) {
	.theme-service-row--reversed .theme-service-row__media { order: 2; }
	.theme-service-row--reversed .theme-service-row__body { order: 1; }
}
.theme-service-row__media { position: relative; padding: 1rem; }
@media (min-width: 768px) { .theme-service-row__media { padding: 1.5rem; } }
.theme-service-row__frame { position: relative; width: 100%; aspect-ratio: 4/3; overflow: hidden; box-shadow: var(--shadow-soft); border: 2px solid color-mix(in srgb, var(--color-foreground) 25%, transparent); }
.theme-service-row__frame .cover-img { transition: transform 0.9s var(--transition-smooth); }
.theme-service-row__frame:hover .cover-img { transform: scale(1.03); }
.theme-service-row__numeral { position: absolute; top: 1.25rem; left: 1.25rem; font-family: var(--font-display); font-size: 0.875rem; letter-spacing: 0.3em; padding: 0.25rem 0.5rem; background: color-mix(in srgb, var(--color-background) 85%, transparent); backdrop-filter: blur(4px); }
.theme-service-row__body { display: flex; align-items: center; padding: 4rem 1rem; }
@media (min-width: 768px) { .theme-service-row__body { padding: 6rem 1.5rem; } }
.theme-service-row__inner { max-width: 36rem; }
.theme-service-row__meta { display: flex; align-items: center; gap: 0.75rem; margin-bottom: 1.25rem; }
.theme-service-row__icon { display: flex; height: 2.5rem; width: 2.5rem; align-items: center; justify-content: center; border: 1px solid; }
.theme-service-row__kicker { font-size: 11px; letter-spacing: 0.3em; text-transform: uppercase; }
.theme-service-row__title { font-size: 2.25rem; line-height: 1.05; margin-bottom: 1.5rem; letter-spacing: -0.02em; }
@media (min-width: 768px) { .theme-service-row__title { font-size: 3rem; } }
@media (min-width: 1024px) { .theme-service-row__title { font-size: 3.75rem; } }
.theme-service-row__desc { font-size: 1rem; color: var(--color-muted-foreground); line-height: 1.7; }
@media (min-width: 768px) { .theme-service-row__desc { font-size: 1.125rem; } }

.theme-accent-rosa { color: var(--color-primary); border-color: color-mix(in srgb, var(--color-primary) 40%, transparent); }
.theme-accent-marigold { color: var(--color-marigold); border-color: color-mix(in srgb, var(--color-marigold) 50%, transparent); }
.theme-accent-teal { color: var(--color-primary); border-color: color-mix(in srgb, var(--color-primary) 40%, transparent); }
.theme-accent-lavender { color: var(--color-accent); border-color: color-mix(in srgb, var(--color-accent) 40%, transparent); }
.theme-accent-indigo { color: var(--color-indigo); border-color: color-mix(in srgb, var(--color-indigo) 60%, transparent); }

/* -------------------------------------------------------------------------
   Commissions
   ---------------------------------------------------------------------- */

.theme-commissions { position: relative; overflow: hidden; }
.theme-commissions__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.theme-commissions__wash-1 { position: absolute; inset: 0; pointer-events: none; background: linear-gradient(135deg, color-mix(in srgb, var(--color-butter) 55%, transparent) 0%, color-mix(in srgb, var(--color-butter) 38%, transparent) 50%, color-mix(in srgb, var(--color-butter) 48%, transparent) 100%); }
.theme-commissions__wash-2 { position: absolute; inset: 0; pointer-events: none; background: radial-gradient(circle at 100% 0%, color-mix(in srgb, var(--color-marigold) 8%, transparent) 0%, transparent 45%); }
.theme-commissions__inner { position: relative; padding-block: 5rem 7rem; }
@media (min-width: 768px) { .theme-commissions__inner { padding-block: 7rem; } }
.theme-commissions__header { max-width: 48rem; margin: 0 auto 3.5rem; text-align: center; }
@media (min-width: 768px) { .theme-commissions__header { margin-bottom: 5rem; } }
.theme-commissions__header .theme-section-eyebrow { display: inline-flex; align-items: center; gap: 0.5rem; color: var(--color-primary); padding: 0.25rem 0.75rem; border: 1px solid color-mix(in srgb, var(--color-primary) 40%, transparent); background: color-mix(in srgb, var(--color-background) 60%, transparent); backdrop-filter: blur(4px); margin-bottom: 1.25rem; }
.theme-commissions__header .theme-section-eyebrow::before { content: ''; height: 1px; width: 1rem; background: var(--color-primary); }
.theme-commissions__header h2 { font-size: 2.25rem; line-height: 1.05; letter-spacing: -0.02em; margin-bottom: 1.5rem; }
@media (min-width: 768px) { .theme-commissions__header h2 { font-size: 3rem; } }
@media (min-width: 1024px) { .theme-commissions__header h2 { font-size: 3.75rem; } }
.theme-commissions__header h2 em { display: block; font-style: italic; color: var(--color-primary); }
.theme-commissions__header p { color: var(--color-muted-foreground); line-height: 1.7; max-width: 36rem; margin: 0 auto; }

.theme-commission-steps { position: relative; max-width: 64rem; margin: 0 auto 3.5rem; }
.theme-commission-steps__line { display: none; position: absolute; top: 28px; left: 16%; right: 16%; height: 1px; background: linear-gradient(to right, color-mix(in srgb, var(--color-primary) 30%, transparent), color-mix(in srgb, var(--color-marigold) 40%, transparent), color-mix(in srgb, var(--color-primary) 30%, transparent)); }
@media (min-width: 768px) { .theme-commission-steps__line { display: block; } }
.theme-commission-steps__grid { display: grid; grid-template-columns: 1fr; gap: 2.5rem; }
@media (min-width: 768px) { .theme-commission-steps__grid { grid-template-columns: repeat(3, 1fr); gap: 1.5rem; } }
.theme-commission-step { position: relative; display: flex; flex-direction: column; align-items: center; text-align: center; }
.theme-commission-step__marker { position: relative; z-index: 10; display: flex; height: 3.5rem; width: 3.5rem; align-items: center; justify-content: center; border: 1px solid; background: color-mix(in srgb, var(--color-background) 85%, transparent); backdrop-filter: blur(4px); margin-bottom: 1.5rem; font-family: var(--font-display); font-size: 1.5rem; }
.theme-commission-step:nth-child(1) .theme-commission-step__marker { border-color: color-mix(in srgb, var(--color-primary) 60%, transparent); background-color: color-mix(in srgb, var(--color-primary) 15%, var(--color-background) 85%); color: var(--color-primary); }
.theme-commission-step:nth-child(2) .theme-commission-step__marker { border-color: color-mix(in srgb, var(--color-marigold) 70%, transparent); background-color: color-mix(in srgb, var(--color-marigold) 15%, var(--color-background) 85%); color: var(--color-marigold); }
.theme-commission-step:nth-child(3) .theme-commission-step__marker { border-color: color-mix(in srgb, var(--color-indigo) 60%, transparent); background-color: color-mix(in srgb, var(--color-indigo) 15%, var(--color-background) 85%); color: var(--color-indigo); }
.theme-commission-step__title { font-size: 1.5rem; line-height: 1.2; margin-bottom: 0.75rem; }
@media (min-width: 768px) { .theme-commission-step__title { font-size: 1.875rem; } }
.theme-commission-step__desc { color: var(--color-muted-foreground); line-height: 1.6; font-size: 0.875rem; max-width: 20rem; }
@media (min-width: 768px) { .theme-commission-step__desc { font-size: 1rem; } }
.theme-commissions__cta { text-align: center; }

/* -------------------------------------------------------------------------
   Product cards (shared across homepage / archive / related — Section 31.13)
   ---------------------------------------------------------------------- */

.theme-product-card-wrap { display: flex; flex-direction: column; height: 100%; }
.theme-product-card { position: relative; display: block; }
.theme-product-card__frame {
	position: relative; aspect-ratio: 3/4; background: var(--color-muted); overflow: hidden; margin-bottom: 1.25rem;
	border: 2px solid color-mix(in srgb, var(--color-foreground) 25%, transparent); box-shadow: var(--shadow-soft);
	transition: box-shadow 0.3s ease, transform 0.3s cubic-bezier(0.34,1.56,0.64,1);
}
.theme-product-card__media-link {
	display: block;
	position: absolute;
	inset: 0;
	z-index: 1;
}
.theme-product-card:hover .theme-product-card__frame { box-shadow: var(--shadow-elevated); transform: translateY(-6px); }
.theme-product-card__frame img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: brightness(1.06) contrast(1.03) saturate(1.04); transition: filter 0.3s ease, transform 0.7s var(--transition-smooth); }
.theme-product-card:hover .theme-product-card__frame img { filter: brightness(1.08) contrast(1.03) saturate(1.04); transform: scale(1.04); }
.theme-product-card__frame img.is-soldout { opacity: 0.6; }
.theme-product-card__badge { position: absolute; top: 0.75rem; left: 0.75rem; z-index: 2; padding: 0.25rem 0.75rem; font-size: 12px; font-weight: 500; letter-spacing: 0.18em; text-transform: uppercase; background: var(--color-foreground); color: var(--color-background); border-radius: 9999px; }
.theme-product-card__quick-add {
	position: absolute; bottom: 0.75rem; right: 0.75rem; width: 2.5rem; height: 2.5rem; z-index: 3;
	display: flex; align-items: center; justify-content: center; border-radius: 9999px;
	background: var(--color-background); color: var(--color-foreground); box-shadow: var(--shadow-soft);
	opacity: 1; transition: opacity 0.3s ease, transform 0.15s ease;
}
@media (min-width: 768px) {
	.theme-product-card__quick-add { opacity: 0; }
	.theme-product-card: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.loading::after { display: none !important; }

.theme-product-card__info { text-align: center; margin-top: 1rem; display: flex; flex-direction: column; gap: 0.5rem; flex: 1; min-width: 0; }
.theme-product-card__name { font-size: 0.875rem; font-weight: 500; text-transform: uppercase; letter-spacing: 0.15em; line-height: 1.4; margin: 0; }
@media (min-width: 768px) { .theme-product-card__name { font-size: 1rem; } }
.theme-product-card__name-link { color: var(--color-foreground); text-decoration: none; transition: color 0.3s ease; }
.theme-product-card:hover .theme-product-card__name-link { color: var(--color-primary); }
.theme-product-card__price { font-size: 1rem; color: var(--color-foreground); font-weight: 400; line-height: 1.3; }
.theme-product-card .screen-reader-text {
	position: absolute !important;
	width: 1px !important;
	height: 1px !important;
	padding: 0 !important;
	margin: -1px !important;
	overflow: hidden !important;
	clip: rect(0, 0, 0, 0) !important;
	white-space: nowrap !important;
	border: 0 !important;
}
.theme-product-card__price del { display: none; }
.theme-product-card__price ins { text-decoration: none; }
@media (min-width: 768px) { .theme-product-card__price { font-size: 1.125rem; } }

.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-product-grid { grid-template-columns: repeat(4, 1fr); } }

.theme-product-grid--3col { grid-template-columns: repeat(1, minmax(0,1fr)); gap: 2rem; }
@media (min-width: 768px) { .theme-product-grid--3col { grid-template-columns: repeat(3, minmax(0,1fr)); gap: 3rem; } }

.theme-product-grid--related { grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
@media (min-width: 1024px) { .theme-product-grid--related { grid-template-columns: repeat(4, 1fr); gap: 2rem; } }

/* -------------------------------------------------------------------------
   Featured pieces
   ---------------------------------------------------------------------- */

.theme-featured { background: var(--color-background); }
.theme-featured .theme-section-eyebrow { color: var(--color-marigold); text-align: center; }
.theme-featured .theme-section-header h2 { font-size: 1.875rem; }
@media (min-width: 768px) { .theme-featured .theme-section-header h2 { font-size: 3rem; } }
.theme-featured__more { text-align: center; margin-top: 3.5rem; }

/* -------------------------------------------------------------------------
   Prints dark band
   ---------------------------------------------------------------------- */

.theme-prints-band { background: var(--color-surface-deep); color: var(--color-butter); }
.theme-prints-band__header { text-align: center; max-width: 42rem; margin: 0 auto 3rem; }
.theme-prints-band__header .theme-section-eyebrow { color: var(--color-marigold); }
.theme-prints-band__header h2 { font-size: 2.25rem; line-height: 1.05; letter-spacing: -0.02em; margin-bottom: 1.5rem; }
@media (min-width: 768px) { .theme-prints-band__header h2 { font-size: 3rem; } }
@media (min-width: 1024px) { .theme-prints-band__header h2 { font-size: 3.75rem; } }
.theme-prints-band__header h2 em { display: block; font-style: italic; color: var(--color-marigold); }
.theme-prints-band__header p { color: color-mix(in srgb, var(--color-butter) 75%, transparent); line-height: 1.7; }

.theme-prints-grid { max-width: 56rem; margin: 0 auto; }
.theme-prints-card { display: block; text-align: left; width: 100%; }
.theme-prints-card__frame { position: relative; aspect-ratio: 1/1; overflow: hidden; background: color-mix(in srgb, var(--color-butter) 5%, transparent); border: 2px solid color-mix(in srgb, var(--color-butter) 40%, transparent); box-shadow: 0 1px 3px rgba(0,0,0,0.08); transition: box-shadow 0.3s ease; }
.theme-prints-card:hover .theme-prints-card__frame { box-shadow: var(--shadow-elevated); }
.theme-prints-card__frame img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: brightness(1.06) contrast(1.03) saturate(1.04); transition: filter 0.3s ease, transform 0.6s var(--transition-smooth); }
.theme-prints-card:hover .theme-prints-card__frame img { filter: brightness(1.08) contrast(1.03) saturate(1.04); transform: scale(1.05); }
.theme-prints-card__row { padding-top: 0.75rem; display: flex; align-items: baseline; justify-content: space-between; gap: 0.5rem; }
.theme-prints-card__name { font-size: 0.875rem; line-height: 1.3; color: var(--color-butter); min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
@media (min-width: 768px) { .theme-prints-card__name { font-size: 1rem; } }
.theme-prints-card__price { font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--color-marigold); flex-shrink: 0; }

.theme-prints-band__cta { margin-top: 3rem; display: flex; justify-content: center; }
.theme-prints-band__cta .theme-btn-outline { border-color: color-mix(in srgb, var(--color-marigold) 60%, transparent); color: var(--color-marigold); border-radius: 9999px; display: inline-flex; align-items: center; gap: 0.5rem; letter-spacing: 0.28em; text-transform: uppercase; font-size: 11px; }
.theme-prints-band__cta .theme-btn-outline::before { content: ''; height: 1px; width: 1rem; background: var(--color-marigold); }
.theme-prints-band__cta .theme-btn-outline:hover { background: color-mix(in srgb, var(--color-marigold) 10%, transparent); }

/* -------------------------------------------------------------------------
   Shop / Gallery section (with client-side filtering)
   ---------------------------------------------------------------------- */

.theme-shop { background: var(--color-background); }

.theme-shop .theme-section-pad {
	padding-block: 2.5rem;
}
@media (min-width: 768px) {
	.theme-shop .theme-section-pad {
		padding-block: 4rem;
	}
}

.theme-shop__header { text-align: center; margin-bottom: 3rem; }
.theme-shop__header .theme-section-eyebrow { color: var(--color-primary); }
.theme-shop__header h2 { font-size: 1.875rem; margin-bottom: 2.5rem; }
@media (min-width: 768px) { .theme-shop__header h2 { font-size: 3rem; } }

.theme-search-wrap { position: relative; max-width: 28rem; margin: 0 auto 2rem; }
.theme-search-icon { position: absolute; left: 0; top: 50%; transform: translateY(-50%); color: var(--color-muted-foreground); }
.theme-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; color: var(--color-foreground); transition: border-color 0.2s ease;
}
.theme-search-input::placeholder { color: var(--color-muted-foreground); }
.theme-search-input:focus { outline: none; border-color: var(--color-foreground); }

.theme-cat-filters { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.5rem; margin-bottom: 1rem; }
.theme-cat-filter {
	padding: 0.5rem 1.25rem; font-size: 12px; letter-spacing: 0.2em; text-transform: uppercase;
	border: 1px solid var(--color-border); border-radius: 9999px; background: transparent; color: var(--color-foreground);
	transition: all 0.3s ease;
}
.theme-cat-filter:hover { border-color: var(--color-primary); color: var(--color-primary); }
.theme-cat-filter.is-active { background: var(--color-primary); color: var(--color-button-text); border-color: var(--color-primary); }

.theme-price-filter { display: flex; flex-direction: column; align-items: center; gap: 0.75rem; }
.theme-price-filter__toggle { display: flex; align-items: center; gap: 0.5rem; padding: 0.5rem 1rem; font-size: 12px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--color-muted-foreground); transition: color 0.3s ease; }
.theme-price-filter__toggle:hover { color: var(--color-foreground); }
.theme-price-filter__toggle .theme-price-filter__current { opacity: 0.7; text-transform: none; letter-spacing: normal; }
.theme-price-filter__toggle svg { transition: transform 0.3s ease; }
.theme-price-filter__toggle.is-open svg { transform: rotate(180deg); }
.theme-price-filter__panel { width: 100%; max-width: 22rem; overflow: hidden; max-height: 0; opacity: 0; transition: max-height 0.3s var(--transition-smooth), opacity 0.3s var(--transition-smooth); }
.theme-price-filter__panel.is-open { max-height: 8rem; opacity: 1; }
.theme-price-filter__body { padding-block: 0.5rem; }
.theme-price-filter__labels { display: flex; justify-content: space-between; font-size: 0.875rem; color: var(--color-muted-foreground); margin-top: 0.75rem; }

/* Dual-handle range slider — overlapping full-width inputs (Section 31.4) */
.price-range-wrapper { position: relative; height: 1.5rem; margin-bottom: 0.25rem; }
.range-track-bg, .range-track-fill { position: absolute; height: 4px; top: 50%; transform: translateY(-50%); pointer-events: none; }
.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; }

.theme-shop__product { transition: opacity 0.2s ease; }
.theme-shop__product[hidden] { display: none !important; }
.theme-shop__show-more { text-align: center; margin-top: 3rem; }
.theme-shop__show-more:has([hidden]) { display: none; margin-top: 0; }
.theme-shop__empty { text-align: center; padding-block: 5rem; color: var(--color-muted-foreground); }
.theme-shop__empty[hidden] { display: none !important; }

/* -------------------------------------------------------------------------
   FAQ
   ---------------------------------------------------------------------- */

.theme-faq { position: relative; background: var(--color-butter); overflow: hidden; }
.theme-faq__inner { max-width: 48rem; margin: 0 auto; }
.theme-faq__header { text-align: center; margin-bottom: 3.5rem; }
@media (min-width: 768px) { .theme-faq__header { margin-bottom: 5rem; } }
.theme-faq__header .theme-section-eyebrow { display: inline-flex; align-items: center; gap: 0.5rem; color: var(--color-primary); padding: 0.25rem 0.75rem; border: 1px solid color-mix(in srgb, var(--color-primary) 40%, transparent); background: color-mix(in srgb, var(--color-background) 60%, transparent); backdrop-filter: blur(4px); margin-bottom: 1.25rem; }
.theme-faq__header .theme-section-eyebrow::before { content: ''; height: 1px; width: 1rem; background: var(--color-primary); }
.theme-faq__header h2 { font-size: 2.25rem; line-height: 1.05; letter-spacing: -0.02em; margin-bottom: 1.25rem; }
@media (min-width: 768px) { .theme-faq__header h2 { font-size: 3rem; } }
@media (min-width: 1024px) { .theme-faq__header h2 { font-size: 3.75rem; } }
.theme-faq__header p { color: var(--color-muted-foreground); line-height: 1.7; max-width: 36rem; margin: 0 auto; }

.theme-faq-list { display: flex; flex-direction: column; gap: 1rem; }
.theme-faq-item { border: 1px solid var(--color-border); background: color-mix(in srgb, var(--color-background) 80%, transparent); backdrop-filter: blur(4px); transition: background-color 0.3s ease; }
.theme-faq-item.is-open { background: var(--color-background); }
.theme-faq-item__question { display: flex; align-items: center; justify-content: space-between; width: 100%; padding: 1.25rem 1.5rem; cursor: pointer; text-align: left; }
.theme-faq-item__question-text { font-family: var(--font-display); font-size: 1.125rem; line-height: 1.4; padding-right: 1rem; }
@media (min-width: 768px) { .theme-faq-item__question-text { font-size: 1.25rem; } }
.theme-faq-item__icon { flex-shrink: 0; width: 2rem; height: 2rem; display: flex; align-items: center; justify-content: center; border: 1px solid var(--color-border); color: var(--color-muted-foreground); transition: transform 0.3s ease; }
.theme-faq-item.is-open .theme-faq-item__icon { transform: rotate(180deg); }
.theme-faq-item__answer { max-height: 0; overflow: hidden; transition: max-height 0.35s var(--transition-smooth); }
.theme-faq-item.is-open .theme-faq-item__answer { max-height: 40rem; }
.theme-faq-item__answer-inner { padding: 0 1.5rem 1.5rem; color: var(--color-muted-foreground); line-height: 1.7; }

/* -------------------------------------------------------------------------
   Final CTA / Contact section
   ---------------------------------------------------------------------- */

.theme-final-cta { position: relative; background: var(--color-butter); overflow: hidden; }
.theme-final-cta__bg { position: absolute; inset: 0; background-size: cover; background-position: center; }
@media (min-width: 640px) { .theme-final-cta__bg { background-attachment: fixed; } }
.theme-final-cta__inner { position: relative; padding-block: 6rem; }
@media (min-width: 768px) { .theme-final-cta__inner { padding-block: 8rem; } }
.theme-final-cta__panel {
	max-width: 56rem; margin: 0 auto; text-align: center;
	background: color-mix(in srgb, var(--color-background) 60%, transparent); backdrop-filter: blur(10px);
	border: 1px solid color-mix(in srgb, white 40%, transparent); 	box-shadow: 0 1px 3px rgba(0,0,0,0.06);
	padding: 2.5rem 2rem;
}
@media (min-width: 768px) { .theme-final-cta__panel { padding: 3rem 3.5rem; } }
.theme-final-cta__panel .theme-section-eyebrow { color: var(--color-primary); font-weight: 600; }
.theme-final-cta__panel h2 { font-size: 1.875rem; line-height: 1.2; margin-bottom: 1.5rem; }
@media (min-width: 768px) { .theme-final-cta__panel h2 { font-size: 3rem; } }
@media (min-width: 1024px) { .theme-final-cta__panel h2 { font-size: 3.75rem; } }
.theme-final-cta__panel p { color: color-mix(in srgb, var(--color-foreground) 80%, transparent); line-height: 1.7; margin-bottom: 2.5rem; max-width: 28rem; margin-left: auto; margin-right: auto; }
.theme-final-cta__actions { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1.25rem; }
@media (min-width: 640px) { .theme-final-cta__actions { flex-direction: row; } }

/* -------------------------------------------------------------------------
   Modals (Contact + Commission)
   ---------------------------------------------------------------------- */

.theme-modal-overlay { position: fixed; inset: 0; z-index: 90; background: rgba(0,0,0,0.55); opacity: 0; visibility: hidden; transition: opacity 0.3s ease; }
.theme-modal-overlay.is-open { opacity: 1; visibility: visible; }

.theme-modal {
	position: fixed; left: 50%; top: 50%; z-index: 91;
	width: calc(100% - 2rem); max-width: 32rem; max-height: 90vh; overflow-y: auto;
	background: var(--color-background); box-shadow: var(--shadow-elevated);
	padding: 1.75rem; border: 1px solid var(--color-border);
	transform: translate(-50%, -48%) scale(0.96); opacity: 0; visibility: hidden;
	transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s;
}
.theme-modal.theme-modal--wide { max-width: 40rem; }
.theme-modal.is-open { transform: translate(-50%, -50%) scale(1); opacity: 1; visibility: visible; }
.theme-modal__close { position: absolute; right: 1rem; top: 1rem; opacity: 0.7; transition: opacity 0.2s ease; }
.theme-modal__close:hover { opacity: 1; }
.theme-modal__title { font-family: var(--font-display); font-size: 1.5rem; margin-bottom: 0.5rem; padding-right: 2rem; }
.theme-modal__description { color: var(--color-muted-foreground); font-size: 0.9rem; line-height: 1.5; margin-bottom: 1rem; }
.theme-modal__contact-row { display: flex; flex-wrap: wrap; gap: 1rem; font-size: 0.875rem; color: var(--color-muted-foreground); margin-bottom: 1rem; }
.theme-modal__contact-row a { display: flex; align-items: center; gap: 0.5rem; transition: color 0.2s ease; }
.theme-modal__contact-row a:hover { color: var(--color-foreground); }

.theme-modal__form { display: flex; flex-direction: column; gap: 1rem; }
.theme-form-row--2col { display: grid; grid-template-columns: 1fr; gap: 1rem; }
@media (min-width: 480px) { .theme-form-row--2col { grid-template-columns: 1fr 1fr; } }
.theme-form-field label, .theme-form-label { display: block; font-size: 0.875rem; font-weight: 500; margin-bottom: 0.4rem; }
.theme-form-field input, .theme-form-field textarea {
	width: 100%; padding: 0.6rem 1rem; background: var(--color-background); border: 1px solid var(--color-border);
	font-size: 1rem; transition: box-shadow 0.3s ease; border-radius: 0;
}
.theme-form-field input:focus, .theme-form-field textarea:focus { outline: none; box-shadow: 0 0 0 2px color-mix(in srgb, var(--color-primary) 50%, transparent); }
.theme-form-field textarea { resize: none; }
.theme-form-error { color: var(--color-destructive); font-size: 0.75rem; margin-top: 0.35rem; display: flex; align-items: center; gap: 0.25rem; }
.theme-form-error:empty { display: none; }
.theme-form-actions { display: flex; justify-content: flex-end; padding-top: 0.25rem; }

.theme-modal__success { text-align: center; padding-block: 2rem; }
.theme-modal__success-icon { display: inline-flex; width: 3.5rem; height: 3.5rem; align-items: center; justify-content: center; background: var(--color-primary); color: var(--color-button-text); border-radius: 9999px; margin-bottom: 1rem; }
.theme-modal__success h3 { font-family: var(--font-display); font-size: 1.25rem; margin-bottom: 0.5rem; }
.theme-modal__success p { color: var(--color-muted-foreground); font-size: 0.875rem; }

.theme-size-options { display: grid; grid-template-columns: 1fr; gap: 0.75rem; }
@media (min-width: 480px) { .theme-size-options { grid-template-columns: 1fr 1fr; } }
.theme-size-option { text-align: left; padding: 0.75rem 1rem; border: 1px solid var(--color-border); background: var(--color-background); transition: all 0.3s ease; }
.theme-size-option:hover { border-color: color-mix(in srgb, var(--color-primary) 50%, transparent); }
.theme-size-option.is-selected { border-color: var(--color-primary); background: color-mix(in srgb, var(--color-primary) 10%, transparent); box-shadow: 0 0 0 1px color-mix(in srgb, var(--color-primary) 40%, transparent); }
.theme-size-option__label { display: block; font-size: 0.875rem; font-weight: 500; }
.theme-size-option__meta { display: block; font-size: 0.75rem; color: var(--color-muted-foreground); margin-top: 0.15rem; }

.theme-file-upload { border: 1px solid var(--color-border); background: var(--color-background); padding: 1rem; }
.theme-file-input { display: none; }
.theme-file-label { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 0.5rem; cursor: pointer; text-align: center; }
.theme-file-icon { width: 2.5rem; height: 2.5rem; display: flex; align-items: center; justify-content: center; border: 1px dashed var(--color-border); color: var(--color-muted-foreground); }
.theme-file-title { font-size: 0.875rem; font-weight: 500; }
.theme-file-hint { font-size: 0.75rem; color: var(--color-muted-foreground); }
.theme-file-preview img { width: 100%; height: 10rem; object-fit: contain; background: var(--color-muted); }
.theme-file-preview__row { display: flex; align-items: center; justify-content: space-between; margin-top: 0.75rem; gap: 0.5rem; }
.theme-file-preview__name { font-size: 0.875rem; color: var(--color-muted-foreground); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 70%; }
.theme-file-remove { display: inline-flex; align-items: center; gap: 0.25rem; font-size: 0.75rem; color: var(--color-destructive); }

/* -------------------------------------------------------------------------
   Side Cart drawer
   ---------------------------------------------------------------------- */

#theme-cart-overlay { position: fixed; inset: 0; z-index: 95; background: color-mix(in srgb, var(--color-foreground) 20%, transparent); opacity: 0; visibility: hidden; transition: opacity 0.3s ease; }
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; z-index: 96;
	background: var(--color-background); 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; opacity: 0.7; }
.theme-cart-drawer__close:hover { opacity: 1; }

.theme-cart-drawer__empty { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 1.5rem; text-align: center; gap: 1rem; }
.theme-cart-drawer__empty-icon { color: var(--color-muted-foreground); }
.theme-cart-drawer__empty p { color: var(--color-muted-foreground); }

.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__thumb { width: 5rem; height: 6rem; flex-shrink: 0; background: var(--color-secondary); overflow: hidden; }
.theme-cart-item__thumb 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; transition: opacity 0.2s ease; }
.theme-cart-item__name:hover { opacity: 0.7; }
.theme-cart-item__price { font-size: 0.875rem; color: var(--color-muted-foreground); margin-top: 0.15rem; }
.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-qty-btn { padding: 0.25rem; border-radius: 4px; transition: background 0.2s ease; }
.theme-qty-btn:hover { background: var(--color-secondary); }
.theme-cart-item__qty { font-size: 0.875rem; width: 1.5rem; text-align: center; }
.theme-cart-item__remove { margin-left: auto; font-size: 0.875rem; color: var(--color-muted-foreground); transition: color 0.2s ease; }
.theme-cart-item__remove:hover { color: var(--color-foreground); }

.theme-cart-drawer__footer { padding: 1.5rem; border-top: 1px solid var(--color-border); display: flex; flex-direction: column; gap: 1rem; }
.theme-cart-drawer__subtotal { display: flex; justify-content: space-between; font-size: 0.875rem; }
.theme-cart-drawer__subtotal-value { font-weight: 500; }
.theme-cart-drawer__shipping-note { font-size: 0.875rem; color: var(--color-muted-foreground); }

/* Hide WooCommerce's own "View cart" link after AJAX add (Section 11.4.2) */
.woocommerce-page a.added_to_cart.wc-forward,
.single-product a.added_to_cart.wc-forward,
body a.added_to_cart.wc-forward { display: none !important; }

/* -------------------------------------------------------------------------
   WooCommerce: notices (Section 14.1)
   ---------------------------------------------------------------------- */

.single-product .woocommerce-message,
.single-product .woocommerce-info { display: none; }
#theme-cart-drawer .woocommerce-message { display: none; }
.woocommerce-message, .woocommerce-info, .woocommerce-error {
	list-style: none; padding: 1rem 1.5rem; margin: 0 0 1.5rem; border-left: 3px solid var(--color-primary);
	background: var(--color-secondary); font-size: 0.9rem;
}
.woocommerce-error { border-left-color: var(--color-destructive); }

/* -------------------------------------------------------------------------
   WooCommerce: add to cart buttons (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;
}
.ajax_add_to_cart.theme-btn-loading { opacity: 0.6 !important; pointer-events: none !important; cursor: wait !important; }
.single-product .single_add_to_cart_button.loading::after,
.ajax_add_to_cart.loading::after { display: none !important; }

/* Card compact circular quick-add button overrides global button rules */
.theme-product-card .add_to_cart_button.ajax_add_to_cart,
.theme-product-card .theme-product-card__quick-add--pdp {
	min-height: unset !important;
	width: 2.5rem !important;
	height: 2.5rem !important;
	padding: 0 !important;
	border-radius: 9999px !important;
	font-size: 0 !important;
}
.theme-product-card .add_to_cart_button.ajax_add_to_cart svg,
.theme-product-card .theme-product-card__quick-add--pdp svg { display: block; }

/* -------------------------------------------------------------------------
   WooCommerce: single product page
   ---------------------------------------------------------------------- */

.single-product .site-main { padding-top: 2rem; }
.theme-single-product { padding-bottom: 6rem; }
.theme-breadcrumb { padding-block: 0.5rem 1rem; font-size: 13px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--color-muted-foreground); }
.theme-breadcrumb a { transition: color 0.2s ease; }
.theme-breadcrumb a:hover { color: var(--color-foreground); }
.theme-breadcrumb .sep { margin: 0 0.5rem; opacity: 0.5; }
.theme-breadcrumb .current { color: var(--color-foreground); }

.theme-product-layout { display: grid; grid-template-columns: 1fr; gap: 2.5rem; align-items: flex-start; min-width: 0; }
@media (min-width: 1024px) { .theme-product-layout { grid-template-columns: repeat(12, 1fr); gap: 4rem; } }
.theme-product-gallery { min-width: 0; max-width: 100%; }
@media (min-width: 1024px) { .theme-product-gallery { grid-column: span 7; } }
.theme-product-info { min-width: 0; max-width: 100%; }
@media (min-width: 1024px) { .theme-product-info { grid-column: span 5; padding-left: 1rem; position: sticky; top: 7rem; align-self: flex-start; } }

.theme-product-gallery__main { aspect-ratio: 1/1; background: var(--color-secondary); overflow: hidden; box-shadow: 0 1px 3px rgba(0,0,0,0.05); }
#product-main-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: brightness(1.06) contrast(1.03) saturate(1.04); transition: filter 0.3s ease, transform 0.3s ease; }
.theme-product-gallery__main:hover #product-main-img { filter: brightness(1.08) contrast(1.03) saturate(1.04); transform: scale(1.02); }
.theme-product-gallery__main-wrap { position: relative; aspect-ratio: 1/1; overflow: hidden; background: var(--color-secondary); }

.theme-product-thumbnails { display: flex; gap: 0.75rem; margin-top: 1rem; flex-wrap: wrap; max-width: 100%; overflow-x: auto; padding-bottom: 0.25rem; }
.theme-product-thumb { position: relative; width: 5rem; height: 5rem; flex-shrink: 0; overflow: hidden; background: var(--color-secondary); box-shadow: 0 1px 3px rgba(0,0,0,0.05); }
.theme-product-thumb img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: brightness(1.06) contrast(1.03) saturate(1.04); opacity: 0.6; transition: opacity 0.3s ease; }
.theme-product-thumb:hover img, .theme-product-thumb.is-active img { opacity: 1; }
.theme-product-thumb__bar { position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--color-foreground); opacity: 0; transition: opacity 0.2s ease; }
.theme-product-thumb.is-active .theme-product-thumb__bar { opacity: 1; }

.theme-product-gallery--stacked { display: none; }
@media (min-width: 1024px) { .theme-product-gallery--stacked { display: flex; flex-direction: column; gap: 1rem; } .theme-product-gallery--mobile { display: none; } }
.theme-product-gallery--stacked .theme-product-gallery__item { position: relative; aspect-ratio: 1/1; background: var(--color-secondary); overflow: hidden; box-shadow: 0 1px 3px rgba(0,0,0,0.05); }
.theme-product-gallery--stacked img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: brightness(1.06) contrast(1.03) saturate(1.04); }

.theme-product-category { font-size: 13px; letter-spacing: 0.25em; text-transform: uppercase; color: var(--color-muted-foreground); }
.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; }
@media (min-width: 768px) { .product-title { font-size: 2.25rem; } }
@media (min-width: 1024px) { .product-title { font-size: 2.75rem; } }
.theme-product-price { font-size: 1.25rem; margin-bottom: 1.5rem; }
.theme-product-price .woocommerce-Price-amount { font-family: var(--font-body); }
.theme-product-short-desc { color: var(--color-muted-foreground); line-height: 1.7; margin-bottom: 2rem; }

.theme-stock-status { display: inline-flex; align-items: center; gap: 0.4rem; font-size: 0.85rem; margin-bottom: 1.5rem; }
.theme-stock-status.out-of-stock { color: var(--color-destructive); }

.theme-quantity-wrapper { display: inline-flex; align-items: center; border: 1px solid var(--color-border); }
.theme-qty-minus, .theme-qty-plus { padding: 0.6rem 0.9rem; transition: background 0.2s ease; }
.theme-qty-minus:hover, .theme-qty-plus:hover { background: var(--color-secondary); }
.theme-qty-input {
	width: 3rem; text-align: center; border: none; border-left: 1px solid var(--color-border); border-right: 1px solid var(--color-border);
	background: transparent; padding: 0.6rem 0; -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 { display: flex; align-items: stretch; flex-wrap: wrap; gap: 0.75rem; margin-top: 0.5rem; margin-bottom: 1rem; }
.single-product .single_add_to_cart_button { flex: 1 1 auto; min-width: 160px; }

.theme-accordion { margin-top: 2.5rem; border-top: 1px solid var(--color-border); }
.theme-accordion__item { border-top: 1px solid var(--color-border); }
.theme-accordion__item:first-child { border-top: none; }
.theme-accordion__trigger { display: flex; align-items: center; justify-content: space-between; width: 100%; padding: 1.25rem 0; text-align: left; }
.theme-accordion__trigger-label { font-size: 13px; letter-spacing: 0.25em; text-transform: uppercase; }
.theme-accordion__trigger svg { transition: transform 0.3s ease; }
.theme-accordion__item.is-open .theme-accordion__trigger svg { transform: rotate(180deg); }
.theme-accordion__panel { max-height: 0; overflow: hidden; transition: max-height 0.35s var(--transition-smooth); }
.theme-accordion__item.is-open .theme-accordion__panel { max-height: 60rem; }
.theme-accordion__panel-inner { padding-bottom: 1.5rem; }
.theme-accordion__desc { font-size: 0.95rem; color: var(--color-muted-foreground); line-height: 1.7; margin-bottom: 1rem; white-space: pre-line; }
.theme-accordion__details { display: flex; flex-direction: column; gap: 0.5rem; }
.theme-accordion__details li { display: flex; align-items: flex-start; font-size: 0.95rem; color: var(--color-muted-foreground); }
.theme-accordion__details li::before { content: ''; width: 4px; height: 4px; background: var(--color-foreground); border-radius: 9999px; margin-top: 0.5rem; margin-right: 0.75rem; flex-shrink: 0; }
.theme-accordion__shipping p { font-size: 0.95rem; color: var(--color-muted-foreground); line-height: 1.7; margin-bottom: 0.75rem; }

.theme-related-products { padding-block: 5rem; border-top: 1px solid var(--color-border); }
.theme-related-products__header { text-align: center; margin-bottom: 3rem; }
.theme-related-products__header .eyebrow { font-family: var(--font-display); font-style: italic; font-size: 1rem; color: var(--color-muted-foreground); margin-bottom: 0.25rem; }
.theme-related-products__header h2 { font-size: 1.875rem; }
@media (min-width: 768px) { .theme-related-products__header h2 { font-size: 2.25rem; } }

.woocommerce-product-details__short-description,
.woocommerce-variation-description,
.posted_in { overflow-wrap: break-word; word-break: break-word; }

/* -------------------------------------------------------------------------
   WooCommerce: archive / shop grid
   ---------------------------------------------------------------------- */

.theme-archive { padding-block: 6rem; }
.theme-archive__header { text-align: center; margin-bottom: 3rem; }
.theme-archive__header h1 { font-size: 2.5rem; }
.theme-archive-empty { text-align: center; padding-block: 5rem; color: var(--color-muted-foreground); }

/* -------------------------------------------------------------------------
   404
   ---------------------------------------------------------------------- */

.theme-404 {
	min-height: 60vh;
	display: flex;
	align-items: center;
	justify-content: center;
	text-align: center;
	padding-block: 6rem;
	padding-inline: 1.5rem;
}
@media (min-width: 1024px) {
	.theme-404 { padding-inline: 2rem; }
}
.theme-404__title { font-size: 3.5rem; margin-bottom: 1rem; }
.theme-404__text { font-size: 1.15rem; color: var(--color-muted-foreground); margin-bottom: 1.5rem; }

/* -------------------------------------------------------------------------
   PDP — product options / swatches
   ---------------------------------------------------------------------- */

.theme-product-options { margin-top: 1.5rem; }
.theme-product-option { margin-bottom: 1.5rem; }
.theme-product-option__label {
	display: block;
	font-size: 13px;
	letter-spacing: 0.2em;
	text-transform: uppercase;
	color: var(--color-muted-foreground);
	margin-bottom: 0.75rem;
	font-family: var(--font-body);
	font-weight: 400;
}
.theme-swatches { display: flex; flex-wrap: wrap; gap: 0.75rem; }
.theme-swatch {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	padding: 0.5rem 1rem;
	font-size: 12px;
	letter-spacing: 0.15em;
	text-transform: uppercase;
	border: 1px solid var(--color-border);
	border-radius: 9999px;
	background: transparent;
	font-family: var(--font-body);
	transition: border-color 0.3s ease, background 0.3s ease, color 0.3s ease;
	cursor: pointer;
}
.theme-swatch--pill.is-selected {
	background: var(--color-foreground);
	color: var(--color-background);
	border-color: var(--color-foreground);
}
.theme-swatch--color.is-selected {
	border-color: var(--color-primary);
	background: color-mix(in srgb, var(--color-primary) 5%, transparent);
	color: var(--color-foreground);
}
.theme-swatch:hover:not(.is-selected) { border-color: var(--color-muted-foreground); }
.theme-swatch__dot {
	width: 12px;
	height: 12px;
	border-radius: 9999px;
	border: 1px solid var(--color-border);
	flex-shrink: 0;
}
.theme-variation-select-sr {
	position: absolute !important;
	width: 1px !important;
	height: 1px !important;
	padding: 0 !important;
	margin: -1px !important;
	overflow: hidden !important;
	clip: rect(0, 0, 0, 0) !important;
	white-space: nowrap !important;
	border: 0 !important;
}
.variations_form .theme-add-to-cart-area,
.theme-variable-product-form .theme-add-to-cart-area { margin-top: 0.5rem; }

.theme-cart-item__meta {
	list-style: none;
	margin: 0.35rem 0 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 0.25rem;
	font-size: 0.8125rem;
	color: var(--color-muted-foreground);
}
.theme-cart-item__meta-row { display: flex; flex-wrap: wrap; align-items: center; gap: 0.35rem; }
.theme-cart-item__meta-color { display: inline-flex; align-items: center; gap: 0.35rem; }
.theme-cart-item__meta-color .theme-swatch__dot { width: 10px; height: 10px; }

/* -------------------------------------------------------------------------
   Checkout Block (Section 13)
   ---------------------------------------------------------------------- */

:root {
	--checkout-max-width: 80rem;
	--checkout-gap: 1.5rem;
	--checkout-sidebar-min: 360px;
	--checkout-sidebar-max: 400px;
}

body.woocommerce-checkout .site-main--checkout {
	width: 100%;
	max-width: none;
	padding-top: 2rem;
	padding-bottom: 2.5rem;
}
.theme-checkout-shell {
	width: 100%;
	max-width: var(--checkout-max-width);
	margin-inline: auto;
	padding-inline: 1.5rem;
	padding-top: 0.5rem;
	box-sizing: border-box;
}
@media (min-width: 1024px) {
	.theme-checkout-shell { padding-inline: 2rem; }
}
body.woocommerce-checkout .site-main--checkout > .container-wide,
body.woocommerce-checkout .entry-content.theme-checkout-content {
	max-width: none;
	width: 100%;
	padding: 0;
	margin: 0;
}

.theme-checkout-header { margin-bottom: 2rem; }
.theme-checkout-header__back {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	font-size: 13px;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	margin-bottom: 1.5rem;
}
.theme-checkout-header__title {
	font-size: 2.25rem;
	margin: 0 0 1rem;
	font-family: var(--font-display);
	font-weight: 400;
}
.theme-checkout-header__intro {
	color: var(--color-muted-foreground);
	line-height: 1.7;
	max-width: 42rem;
	margin: 0 0 2rem;
}

body.woocommerce-checkout .page-title { display: none; }

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,
.entry-content .wc-block-checkout .wc-block-components-text-input input,
.entry-content .wc-block-checkout .wc-block-components-select select,
.entry-content .wc-block-checkout .wc-block-components-textarea textarea {
	border-color: var(--color-border);
	color: var(--color-foreground);
	font-family: var(--font-body);
}
body.woocommerce-checkout .wc-block-components-text-input input:focus,
body.woocommerce-checkout .wc-block-components-select select:focus,
.entry-content .wc-block-checkout .wc-block-components-text-input input:focus,
.entry-content .wc-block-checkout .wc-block-components-select select:focus {
	border-color: var(--color-primary);
	box-shadow: 0 0 0 1px var(--color-primary);
}
body.woocommerce-checkout .wc-block-components-checkout-place-order-button,
.entry-content .wc-block-checkout .wc-block-components-checkout-place-order-button {
	background-color: var(--color-primary) !important;
	border-radius: var(--btn-radius) !important;
	font-family: var(--font-body) !important;
}
body.woocommerce-checkout .wc-block-components-checkout-place-order-button:hover,
.entry-content .wc-block-checkout .wc-block-components-checkout-place-order-button:hover {
	opacity: 0.85;
}
body.woocommerce-checkout .wc-block-components-notice-banner,
.entry-content .wc-block-checkout .wc-block-components-notice-banner {
	border-radius: 0;
	font-family: var(--font-body);
}

body.woocommerce-checkout .wp-block-woocommerce-checkout,
body.woocommerce-checkout .wc-block-checkout,
.entry-content .wp-block-woocommerce-checkout,
.entry-content .wc-block-checkout {
	display: block;
	width: 100%;
	max-width: var(--checkout-max-width);
	margin-inline: auto;
	box-sizing: border-box;
}

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 {
	display: block;
	width: 100%;
}
@media (min-width: 768px) {
	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 {
		display: grid;
		grid-template-columns: 1fr minmax(var(--checkout-sidebar-min), var(--checkout-sidebar-max));
		gap: var(--checkout-gap);
		align-items: start;
	}
}

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;
}

body.woocommerce-checkout .wc-block-components-notices,
.entry-content .wc-block-components-notices {
	width: 100%;
	max-width: var(--checkout-max-width);
	margin-inline: auto;
	box-sizing: border-box;
	grid-column: 1 / -1;
	order: 1;
}
body.woocommerce-checkout .wc-block-components-notice-banner,
.entry-content .wc-block-components-notice-banner {
	grid-column: 1 / -1;
}

body.woocommerce-checkout .wc-block-checkout__main,
.entry-content .wc-block-checkout__main {
	order: 2;
}
body.woocommerce-checkout .wc-block-checkout__sidebar,
body.woocommerce-checkout .wc-block-components-sidebar,
.entry-content .wc-block-checkout__sidebar,
.entry-content .wc-block-components-sidebar {
	order: 3;
	background: transparent;
	border-radius: 0;
	padding: 0;
	min-width: var(--checkout-sidebar-min);
}

body.woocommerce-checkout .wp-block-woocommerce-checkout-order-summary-block,
.entry-content .wp-block-woocommerce-checkout-order-summary-block {
	width: 100%;
	background: var(--color-secondary);
	border-radius: 0;
	padding: 2rem;
	box-sizing: border-box;
}

body.woocommerce-checkout .wc-block-checkout-empty,
.entry-content .wc-block-checkout-empty {
	margin-inline: auto;
	max-width: 36rem;
	width: 100%;
	text-align: center;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 1rem;
}

body.woocommerce-checkout .wc-block-components-text-input input,
body.woocommerce-checkout .wc-block-components-select select,
.entry-content .wc-block-checkout .wc-block-components-text-input input,
.entry-content .wc-block-checkout .wc-block-components-select select {
	width: 100% !important;
	max-width: none !important;
}

body.woocommerce-cart .site-main,
body.woocommerce-account .site-main {
	padding-top: var(--header-height, 80px);
	padding-bottom: 4rem;
}
body.woocommerce-cart .page-title,
body.woocommerce-account .page-title {
	font-size: 2.25rem;
	margin: 2rem 0 2rem;
}

/* -------------------------------------------------------------------------
   Thank-you page
   ---------------------------------------------------------------------- */

body.theme-thankyou-page { overflow-x: hidden; }
body.theme-thankyou-page .woocommerce-order-details table { width: 100%; table-layout: fixed; }
body.theme-thankyou-page .woocommerce-order h2,
body.theme-thankyou-page .woocommerce-order-details__title {
	font-family: var(--font-display); font-size: 1.75rem; padding: 0 0 1rem 0;
}
body.theme-thankyou-page .woocommerce-order-overview { display: flex; flex-wrap: wrap; gap: 1.5rem; list-style: none; padding: 1.5rem; margin: 0 0 2rem; background: var(--color-secondary); }
body.theme-thankyou-page .woocommerce-order-overview li { font-size: 0.9rem; }
body.theme-thankyou-page .woocommerce-order-details tfoot th { text-align: left; }
body.theme-thankyou-page .woocommerce-order-details tfoot td { text-align: right; }
@media (min-width: 768px) {
	body.theme-thankyou-page .woocommerce-customer-details { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; align-items: start; }
}
body.theme-thankyou-page .woocommerce-customer-details address { min-width: 0; }

/* -------------------------------------------------------------------------
   Customizer control CSS is in customizer-controls.css
   ---------------------------------------------------------------------- */
