/* =========================================================================
   2911 Studio Art — theme stylesheet
   Color tokens use Lovable HSL components: hsl(var(--token))
   Customizer overrides are injected via wp_add_inline_style (functions.php).
   ========================================================================= */

:root {
	/* Core palette — matches src/index.css */
	--background: 40 50% 98%;
	--foreground: 0 0% 8%;

	--card: 0 0% 100%;
	--card-foreground: 0 0% 8%;

	--popover: 0 0% 100%;
	--popover-foreground: 0 0% 8%;

	--primary: 18 92% 52%;
	--primary-foreground: 0 0% 100%;
	--primary-soft: 18 75% 58%;

	--secondary: 38 60% 95%;
	--secondary-foreground: 0 0% 8%;

	--muted: 38 30% 92%;
	--muted-foreground: 0 0% 32%;
	--text-subtle: 0 0% 42%;
	--eyebrow: 0 0% 38%;

	--accent: 322 80% 56%;
	--accent-foreground: 0 0% 100%;

	--destructive: 0 72% 48%;
	--destructive-foreground: 0 0% 100%;

	--border: 30 15% 85%;
	--input: 30 15% 85%;
	--ring: 18 92% 52%;

	/* Surface aliases */
	--ivory: 40 60% 98%;
	--linen: 38 55% 95%;
	--bone: 36 30% 92%;
	--sand: 30 22% 84%;

	/* Sunset spectrum */
	--sun-yellow: 46 96% 58%;
	--sun-orange: 20 95% 55%;
	--sun-pink: 335 88% 60%;
	--sun-purple: 275 68% 52%;
	--sun-blue: 220 78% 52%;

	/* Gradient text (Customizer) */
	--hero-gradient-start: 46 96% 58%;
	--hero-gradient-mid: 20 95% 55%;
	--hero-gradient-end: 335 88% 60%;

	/* Semantic helpers */
	--on-dark: 0 0% 100%;
	--surface-dark: 0 0% 4%;

	--gradient-sunset: linear-gradient(135deg,
		hsl(var(--sun-yellow)) 0%,
		hsl(var(--sun-orange)) 30%,
		hsl(var(--sun-pink)) 58%,
		hsl(var(--sun-purple)) 80%,
		hsl(var(--sun-blue)) 100%);
	--gradient-hero-title: linear-gradient(100deg,
		hsl(var(--hero-gradient-start)) 0%,
		hsl(var(--hero-gradient-mid)) 45%,
		hsl(var(--hero-gradient-end)) 100%);

	--font-display: 'Fraunces', 'Times New Roman', serif;
	--font-body: 'Inter', system-ui, -apple-system, sans-serif;

	--radius: 0.75rem;
	--shadow-soft: 0 10px 30px -12px hsl(20 40% 20% / 0.16);
	--shadow-elevated: 0 30px 70px -24px hsl(20 40% 20% / 0.28);

	--header-height: 80px;
	--logo-height: 64px;
	--logo-height-hero-sm: 96px;
	--logo-height-hero-md: 112px;
	--logo-height-hero-lg: 144px;

	--btn-radius: 999px;
	--btn-height: 46px;
	--btn-padding: 0 1.75rem;
	--btn-font-size: 14px;
	--btn-font-weight: 500;
	--btn-letter-spacing: 0;
	--btn-text-transform: none;
	--btn-icon-padding: 0;

	--card-radius: 1rem;
	--section-padding: 2rem;
	--checkout-gap: 2rem;
}

@media (min-width: 1024px) {
	:root { --header-height: 96px; }
}

/* ---------------------------------------------------------------------
 * Reset / base
 * ------------------------------------------------------------------- */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body { max-width: 100%; overflow-x: clip; }

#main-content {
	max-width: 100%;
	overflow-x: clip;
}

section {
	max-width: 100%;
	overflow-x: clip;
}

body {
	margin: 0;
	background-color: hsl(var(--background));
	color: hsl(var(--foreground));
	font-family: var(--font-body);
	-webkit-font-smoothing: antialiased;
}

.theme-light {
	background-color: hsl(var(--background));
	color: hsl(var(--foreground));
}

::selection {
	background: hsl(var(--primary) / 0.85);
	color: hsl(var(--primary-foreground));
}

h1, h2, h3, h4, h5, h6 {
	font-family: var(--font-display);
	letter-spacing: -0.015em;
	font-weight: 600;
	font-size: inherit;
	margin: 0;
}
.font-display { font-family: var(--font-display); }

a { color: inherit; text-decoration: none; }
a, button, [role="button"], summary, label,
.services-card, .portfolio-section__cta-link, .artist-section__linkedin,
.theme-product-card, .site-footer__totop, .site-header__brand,
.theme-nav-link, .site-footer__logo-link, .artist-section__gallery-btn,
.artist-section__dot, .theme-cart-drawer__qty-btn, .theme-cart-drawer__remove,
.theme-cart-drawer__close, .theme-cat-filter, input[type="submit"],
input[type="button"], input[type="reset"], .woocommerce .button,
.woocommerce button.button, .woocommerce a.button { cursor: pointer; }
a, button, [role="button"], input, select, textarea {
	transition: color 300ms cubic-bezier(0.2,0.8,0.2,1), background-color 300ms cubic-bezier(0.2,0.8,0.2,1), border-color 300ms cubic-bezier(0.2,0.8,0.2,1), transform 300ms cubic-bezier(0.2,0.8,0.2,1), box-shadow 300ms cubic-bezier(0.2,0.8,0.2,1), opacity 300ms cubic-bezier(0.2,0.8,0.2,1);
}

section[id] { scroll-margin-top: var(--header-height); }

.container-wide { width: 100%; max-width: 90rem; margin: 0 auto; padding-inline: 1.5rem; min-width: 0; }
@media (min-width: 1024px) { .container-wide { padding-inline: 4rem; } }

.italic { font-style: italic; }
.text-sunset {
	background: var(--gradient-sunset);
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
}
.text-sunset-warm {
	background: var(--gradient-hero-title);
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
	-webkit-text-stroke: 0;
}
.block { display: block; }

.screen-reader-text { position: absolute; left: -9999px; }
.skip-link:focus { left: 1rem; top: 1rem; position: fixed; z-index: 9999; background: hsl(var(--card)); padding: 0.5rem 1rem; }

/* ---------------------------------------------------------------------
 * Global image cover rules (Section 15) — exclusion list is exhaustive.
 * ------------------------------------------------------------------- */
img:not(.cover-img):not(.hero-bg-img):not(.product-card-img):not(.gallery-cover-img):not(.site-header__logo):not(.site-footer__logo) {
	max-width: 100%;
	height: auto;
	display: block;
}
.cover-img, .hero-bg-img, .product-card-img, .gallery-cover-img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
}

/* ---------------------------------------------------------------------
 * Reveal animations (Section 2.1)
 * ------------------------------------------------------------------- */
[data-reveal] {
	opacity: 0;
	transform: translateY(24px);
	transition: opacity 0.9s cubic-bezier(0.2,0.8,0.2,1), transform 0.9s cubic-bezier(0.2,0.8,0.2,1);
	will-change: opacity, transform;
}
[data-reveal].is-visible { opacity: 1; transform: translateY(0); }

body.is-customizer [data-reveal] { opacity: 1 !important; transform: none !important; }

@media (prefers-reduced-motion: reduce) {
	[data-reveal] { opacity: 1 !important; transform: none !important; transition: none !important; }
}

@keyframes fadeInUp { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }

/* ---------------------------------------------------------------------
 * Buttons
 * ------------------------------------------------------------------- */
.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.5rem;
	height: var(--btn-height);
	padding: var(--btn-padding);
	border-radius: var(--btn-radius);
	font-family: var(--font-body);
	font-size: var(--btn-font-size);
	font-weight: var(--btn-font-weight);
	letter-spacing: var(--btn-letter-spacing);
	text-transform: var(--btn-text-transform);
	border: 1px solid transparent;
	white-space: nowrap;
}
.btn-hero-primary {
	background: hsl(var(--primary));
	color: hsl(var(--primary-foreground));
	border-color: hsl(var(--primary));
	text-transform: none;
	height: 3rem;
	padding-inline: 1.75rem;
}
.btn-hero-primary:hover {
	background: color-mix(in srgb, hsl(var(--primary)) 90%, transparent);
	transform: scale(1.03);
}
.btn-hero-primary:active { transform: scale(0.98); }

/* Hero secondary — Lovable Button variant="secondary" on dark scrim */
.btn-hero-outline {
	background: color-mix(in srgb, hsl(var(--on-dark)) 10%, transparent);
	color: hsl(var(--on-dark));
	border-color: color-mix(in srgb, hsl(var(--on-dark)) 40%, transparent);
	backdrop-filter: blur(12px);
	-webkit-backdrop-filter: blur(12px);
	text-transform: none;
	height: 3rem;
	padding-inline: 1.75rem;
}
.btn-hero-outline:hover {
	background: color-mix(in srgb, hsl(var(--on-dark)) 20%, transparent);
	color: hsl(var(--on-dark));
	border-color: color-mix(in srgb, hsl(var(--on-dark)) 40%, transparent);
	transform: scale(1.03);
}
.btn-hero-outline:active { transform: scale(0.98); }

.btn-outline {
	background: transparent;
	color: hsl(var(--foreground));
	border-color: color-mix(in srgb, hsl(var(--foreground)) 25%, transparent);
	text-transform: none;
}
.btn-outline:hover { border-color: hsl(var(--primary)); color: hsl(var(--primary)); }
.btn.disabled, .btn:disabled { opacity: 0.5; pointer-events: none; cursor: not-allowed; }

/* ---------------------------------------------------------------------
 * Header
 * ------------------------------------------------------------------- */
.site-header {
	position: fixed;
	top: 0; left: 0; right: 0;
	z-index: 60;
	background: transparent;
	border-bottom: 1px solid transparent;
	transition: background-color 500ms ease, border-color 500ms ease;
}
body.admin-bar .site-header { top: 32px; }
@media screen and (max-width: 782px) {
	body.admin-bar .site-header { top: 46px; }
}
body.admin-bar.theme-no-hero #main-content,
body.admin-bar .site-main,
body.admin-bar .notfound-section,
body.admin-bar .page-shell {
	padding-top: calc(var(--header-height) + 32px);
}
@media screen and (max-width: 782px) {
	body.admin-bar.theme-no-hero #main-content,
	body.admin-bar .site-main,
	body.admin-bar .notfound-section,
	body.admin-bar .page-shell {
		padding-top: calc(var(--header-height) + 46px);
	}
}
body.admin-bar section[id] { scroll-margin-top: calc(var(--header-height) + 32px); }
@media screen and (max-width: 782px) {
	body.admin-bar section[id] { scroll-margin-top: calc(var(--header-height) + 46px); }
}
.site-header.is-solid {
	background: color-mix(in srgb, hsl(var(--ivory)) 90%, transparent);
	backdrop-filter: blur(20px);
	border-bottom-color: color-mix(in srgb, hsl(var(--foreground)) 10%, transparent);
	box-shadow: 0 1px 0 rgba(0,0,0,0.04);
}
.site-header__bar {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 0.75rem;
	width: 100%;
	height: 80px;
	padding-inline: 1rem;
	color: hsl(var(--on-dark));
}
.site-header.is-solid .site-header__bar { color: hsl(var(--foreground)); }
@media (min-width: 640px) { .site-header__bar { padding-inline: 1.5rem; } }
@media (min-width: 1024px) { .site-header__bar { height: 96px; padding-inline: 2.5rem; } }

.site-header__left {
	display: flex;
	align-items: center;
	gap: 0.75rem;
	min-width: 0;
	align-self: stretch;
}
@media (min-width: 1024px) { .site-header__left { padding-left: 4%; } }
@media (min-width: 1280px) { .site-header__left { padding-left: 6%; } }

.site-header__menu-toggle {
	display: inline-flex; align-items: center; justify-content: center;
	width: 40px; height: 40px; border-radius: 6px; background: transparent; border: none; color: inherit;
	transition: transform 300ms ease, background-color 300ms ease;
}
.site-header:not(.is-solid) .site-header__menu-toggle:hover { background: color-mix(in srgb, hsl(var(--on-dark)) 10%, transparent); }
.site-header.is-solid .site-header__menu-toggle:hover { background: color-mix(in srgb, hsl(var(--foreground)) 6%, transparent); }
.site-header__menu-toggle:hover { transform: scale(1.1); }
.site-header__menu-toggle:active { transform: scale(0.95); }
@media (min-width: 1024px) { .site-header__menu-toggle { display: none; } }

.site-header__brand { display: inline-flex; align-items: center; min-width: 0; }
.site-header:not(.is-solid) .site-header__brand { align-self: flex-start; }

/* Logo sizes mirror Lovable Header.tsx: hero h-24/28/36, solid h-12/14/16 */
.site-header__logo {
	width: auto !important;
	max-width: none;
	object-fit: contain;
	object-position: top center;
	transition: height 500ms ease, transform 500ms ease, filter 500ms ease;
}
.site-header.is-solid .site-header__logo {
	height: 48px;
	filter: none;
}
@media (min-width: 640px) {
	.site-header.is-solid .site-header__logo { height: 56px; }
}
@media (min-width: 1024px) {
	.site-header.is-solid .site-header__logo { height: var(--logo-height, 64px); }
}
.site-header:not(.is-solid) .site-header__logo {
	height: var(--logo-height-hero-sm);
	filter: drop-shadow(0 2px 10px rgba(0, 0, 0, 0.35));
}
@media (min-width: 640px) {
	.site-header:not(.is-solid) .site-header__logo { height: var(--logo-height-hero-md); }
}
@media (min-width: 1024px) {
	.site-header:not(.is-solid) .site-header__logo { height: var(--logo-height-hero-lg); }
}
@media (max-width: 1023px) {
	.site-header:not(.is-solid) .site-header__logo { max-width: min(58vw, 11rem); }
}
.site-header__brand:hover .site-header__logo { transform: scale(1.05) rotate(3deg); }
.site-logo-text { font-family: var(--font-display); font-size: 1.5rem; line-height: 1; }
.site-header.is-solid .site-logo-text { line-height: var(--logo-height, 64px); }

.site-header__nav {
	display: none;
	align-items: center;
	justify-content: center;
	gap: 0.125rem;
	flex-shrink: 1;
	min-width: 0;
	margin: 0 auto;
}
@media (min-width: 1024px) { .site-header__nav { display: flex; } }
.theme-nav-list, .theme-nav-list--fallback { display: flex; align-items: center; gap: 0.125rem; margin: 0; padding: 0; list-style: none; }
.theme-nav-list li { list-style: none; }
.theme-nav-list a, .theme-nav-list .theme-nav-link {
	position: relative;
	display: inline-block;
	padding: 0.5rem 0.625rem;
	font-size: 12px;
	font-weight: 600;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	white-space: nowrap;
	color: inherit;
	opacity: 0.75;
	border-radius: 4px;
	transition: opacity 300ms ease, transform 300ms ease;
}
@media (min-width: 1280px) {
	.theme-nav-list a, .theme-nav-list .theme-nav-link { padding-inline: 0.875rem; font-size: 13px; }
}
.theme-nav-list a::after, .theme-nav-list .theme-nav-link::after {
	content: '';
	position: absolute;
	left: 0.625rem;
	right: 0.625rem;
	bottom: -2px;
	height: 2px;
	transform: scaleX(0);
	transform-origin: left;
	transition: transform 500ms cubic-bezier(0.2, 0.8, 0.2, 1);
	background: hsl(var(--on-dark));
}
@media (min-width: 1280px) {
	.theme-nav-list a::after, .theme-nav-list .theme-nav-link::after { left: 0.875rem; right: 0.875rem; }
}
.site-header.is-solid .theme-nav-list a::after,
.site-header.is-solid .theme-nav-list .theme-nav-link::after {
	background: var(--gradient-sunset);
}
.theme-nav-list a:hover, .theme-nav-list .theme-nav-link:hover,
.theme-nav-list a.is-active, .theme-nav-list .theme-nav-link.is-active {
	opacity: 1;
	transform: translateY(-2px);
}
.theme-nav-list a:hover::after, .theme-nav-list .theme-nav-link:hover::after,
.theme-nav-list a.is-active::after, .theme-nav-list .theme-nav-link.is-active::after {
	transform: scaleX(1);
}
.site-header.is-solid .theme-nav-list a,
.site-header.is-solid .theme-nav-list .theme-nav-link { opacity: 0.65; }
.site-header.is-solid .theme-nav-list a:hover,
.site-header.is-solid .theme-nav-list .theme-nav-link:hover,
.site-header.is-solid .theme-nav-list a.is-active,
.site-header.is-solid .theme-nav-list .theme-nav-link.is-active { opacity: 1; }

.site-header__right { display: flex; align-items: center; }
@media (min-width: 1024px) { .site-header__right { padding-right: 4%; } }
@media (min-width: 1280px) { .site-header__right { padding-right: 6%; } }
.site-header__cart-btn {
	position: relative;
	display: inline-flex; align-items: center; justify-content: center;
	width: 40px; height: 40px; border-radius: 6px; background: transparent; border: none; color: inherit;
	transition: transform 300ms ease, background-color 300ms ease;
}
.site-header:not(.is-solid) .site-header__cart-btn:hover { background: color-mix(in srgb, hsl(var(--on-dark)) 10%, transparent); }
.site-header.is-solid .site-header__cart-btn:hover { background: color-mix(in srgb, hsl(var(--foreground)) 6%, transparent); }
.site-header__cart-btn:hover { transform: scale(1.1) rotate(-6deg); }
.site-header__cart-btn:active { transform: scale(0.95); }
.theme-cart-count {
	position: absolute; top: -2px; right: -2px;
	min-width: 18px; height: 18px; padding: 0 4px;
	border-radius: 999px;
	background: hsl(var(--primary));
	color: hsl(var(--primary-foreground));
	font-size: 11px; font-weight: 600;
	display: flex; align-items: center; justify-content: center;
}
.site-header:not(.is-solid) .theme-cart-count {
	background: hsl(var(--on-dark));
	color: hsl(var(--foreground));
}
.theme-cart-count:empty { display: none; }

/* Mobile menu — matches Lovable Sheet (Header.tsx + sheet.tsx) */
.theme-mobile-menu {
	position: fixed;
	inset: 0;
	z-index: 90;
	visibility: hidden;
	pointer-events: none;
}
.theme-mobile-menu.is-open {
	visibility: visible;
	pointer-events: auto;
}
.theme-mobile-menu__backdrop {
	position: absolute;
	inset: 0;
	border: none;
	padding: 0;
	margin: 0;
	background: color-mix(in srgb, hsl(var(--foreground)) 40%, transparent);
	opacity: 0;
	transition: opacity 300ms ease;
	cursor: default;
}
.theme-mobile-menu.is-open .theme-mobile-menu__backdrop { opacity: 1; }
.theme-mobile-menu__panel {
	position: fixed;
	top: 0;
	right: 0;
	bottom: 0;
	width: 100%;
	max-width: 24rem;
	background: hsl(var(--background));
	box-shadow: var(--shadow-elevated);
	transform: translateX(100%);
	transition: transform 300ms cubic-bezier(0.2, 0.8, 0.2, 1);
	display: flex;
	flex-direction: column;
}
.theme-mobile-menu.is-open .theme-mobile-menu__panel { transform: translateX(0); }
.theme-mobile-menu__close {
	position: absolute;
	top: 1.25rem;
	right: 1.25rem;
	z-index: 2;
	width: 36px;
	height: 36px;
	border: none;
	background: transparent;
	border-radius: 999px;
	padding: 0;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	color: hsl(var(--foreground));
	opacity: 0.7;
	transition: opacity 300ms ease, background-color 300ms ease;
}
.theme-mobile-menu__close:hover {
	opacity: 1;
	background: color-mix(in srgb, hsl(var(--foreground)) 6%, transparent);
}
.theme-mobile-menu__content {
	flex: 1;
	overflow-y: auto;
	overscroll-behavior: contain;
	padding: 4rem 1.5rem 1.5rem;
}
.theme-mobile-menu__nav { display: block; }
.theme-mobile-nav-list,
.theme-mobile-nav-list--fallback,
.theme-mobile-menu__nav .theme-nav-list {
	display: flex;
	flex-direction: column;
	list-style: none;
	margin: 0;
	padding: 0;
}
.theme-mobile-nav-list li,
.theme-mobile-menu__nav .theme-nav-list li { list-style: none; }
.theme-mobile-nav-list a,
.theme-mobile-nav-list .theme-nav-link,
.theme-mobile-menu__nav .theme-nav-list a,
.theme-mobile-menu__nav .theme-nav-link {
	position: static;
	display: block;
	width: 100%;
	padding: 1rem 0;
	border-bottom: 1px solid hsl(var(--border));
	font-size: 15px;
	font-weight: 500;
	letter-spacing: normal;
	text-transform: none;
	white-space: normal;
	color: hsl(var(--foreground));
	opacity: 1;
	transform: none;
	border-radius: 0;
	transition: color 300ms ease, transform 300ms ease;
}
.theme-mobile-nav-list a::after,
.theme-mobile-nav-list .theme-nav-link::after,
.theme-mobile-menu__nav .theme-nav-list a::after,
.theme-mobile-menu__nav .theme-nav-link::after {
	display: none;
}
.theme-mobile-nav-list a:hover,
.theme-mobile-nav-list .theme-nav-link:hover,
.theme-mobile-menu__nav .theme-nav-list a:hover,
.theme-mobile-menu__nav .theme-nav-link:hover {
	color: hsl(var(--primary));
	transform: translateX(4px);
	opacity: 1;
}
body.mobile-menu-open { overflow: hidden; }

/* ---------------------------------------------------------------------
 * Home hero fills viewport under fixed header (Section 22.7)
 * ------------------------------------------------------------------- */
body.theme-no-hero #main-content { padding-top: var(--header-height); }

.hero-section {
	position: relative;
	min-height: 100vh;
	width: 100%;
	display: flex;
	align-items: center;
	justify-content: center;
	overflow: hidden;
	background: hsl(var(--surface-dark));
}
.hero-section__scrim {
	position: absolute; inset: 0;
	background: radial-gradient(at center, hsl(0 0% 4% / 0.35) 0%, hsl(0 0% 4% / 0.6) 70%, hsl(0 0% 4% / 0.75) 100%);
	pointer-events: none;
}
.hero-section__inner { position: relative; z-index: 1; width: 100%; min-width: 0; text-align: center; color: hsl(var(--on-dark)); padding-block: 10rem 6rem; }
.hero-section__title {
	font-family: var(--font-display);
	font-weight: 700;
	line-height: 0.95;
	letter-spacing: -0.02em;
	max-width: 64rem;
	margin: 0 auto;
	font-size: clamp(2.25rem, 8vw, 6.75rem);
	filter: drop-shadow(0 2px 20px rgba(0,0,0,0.55));
	overflow-wrap: anywhere;
}
.hero-section__title-italic { font-style: italic; -webkit-text-stroke: 0; }
.hero-section__subtitle {
	margin: 2rem auto 0;
	max-width: 42rem;
	font-size: 16px;
	color: rgba(255,255,255,0.85);
	line-height: 1.7;
}
@media (min-width: 640px) { .hero-section__subtitle { font-size: 18px; } }
.hero-section__actions { margin-top: 2.5rem; display: flex; flex-direction: column; align-items: stretch; gap: 0.75rem; justify-content: center; width: 100%; max-width: 20rem; margin-inline: auto; }
@media (min-width: 640px) { .hero-section__actions { flex-direction: row; align-items: center; max-width: none; gap: 1rem; } }
.hero-section__actions .btn { width: 100%; }
@media (min-width: 640px) { .hero-section__actions .btn { width: auto; } }

/* ---------------------------------------------------------------------
 * Section heading scales — per-section (Section 2.2.5)
 * ------------------------------------------------------------------- */
.section-eyebrow {
	font-size: 14px;
	letter-spacing: 0.32em;
	text-transform: uppercase;
	color: hsl(var(--eyebrow));
	font-weight: 500;
	margin-bottom: 1rem;
	max-width: 100%;
	overflow-wrap: anywhere;
}
@media (max-width: 639px) {
	.section-eyebrow { letter-spacing: 0.2em; }
}
.about-section .section-heading, .shop-heading, .portfolio-section__heading {
	font-family: var(--font-display);
	font-weight: 700;
	line-height: 1.05;
	font-size: 2.25rem;
}
@media (min-width: 768px) { .about-section .section-heading, .shop-heading, .portfolio-section__heading { font-size: 3rem; } }
@media (min-width: 1024px) { .about-section .section-heading, .shop-heading, .portfolio-section__heading { font-size: 3.4rem; } }

.services-section__heading, .faq-section__heading {
	font-family: var(--font-display);
	font-weight: 700;
	line-height: 1.1;
	font-size: 2.25rem;
}
@media (min-width: 768px) { .services-section__heading, .faq-section__heading { font-size: 3rem; } }
@media (min-width: 1024px) { .faq-section__heading { font-size: 3.75rem; } }

.contact-section__title { font-family: var(--font-display); font-weight: 700; line-height: 1.08; font-size: 2.25rem; color: hsl(var(--on-dark)); text-shadow: 0 2px 12px rgba(0,0,0,0.5); }
@media (min-width: 768px) { .contact-section__title { font-size: 3rem; } }
@media (min-width: 1024px) { .contact-section__title { font-size: 3.6rem; } }
.contact-section__form-heading { font-family: var(--font-display); font-weight: 700; line-height: 1.05; font-size: 1.875rem; }
@media (min-width: 768px) { .contact-section__form-heading { font-size: 2.25rem; } }

/* ---------------------------------------------------------------------
 * About section
 * ------------------------------------------------------------------- */
.about-section { padding: 6rem 0; background-color: color-mix(in srgb, hsl(var(--secondary)) 100%, transparent); }
@media (min-width: 768px) { .about-section { padding: 8rem 0; } }
.about-section__grid { display: grid; grid-template-columns: 1fr; gap: 3rem; align-items: stretch; }
@media (min-width: 1024px) { .about-section__grid { grid-template-columns: repeat(12, 1fr); gap: 5rem; } }
.about-section__col { display: flex; flex-direction: column; justify-content: space-between; height: 100%; }
@media (min-width: 1024px) { .about-section__grid > .about-section__col { grid-column: span 6; } }
@media (min-width: 1024px) { .about-section__grid > .about-section__col:last-child { padding-left: 2.5rem; } }
.about-section__stats {
	display: grid;
	grid-template-columns: 1fr;
	gap: 1rem;
	border-top: 1px solid hsl(var(--border));
	padding-top: 2rem;
	overflow: hidden;
}
@media (min-width: 640px) {
	.about-section__stats { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
.about-section__stat {
	padding: 1rem;
	border-radius: 0.5rem;
	transition: background-color 500ms ease, transform 500ms ease;
}
@media (min-width: 640px) {
	.about-section__stat { margin: -0.5rem; }
}
.about-section__stat:hover {
	background: color-mix(in srgb, hsl(var(--foreground)) 3%, transparent);
	transform: translateY(-4px);
}
.about-section__stat-value {
	margin: 0;
	font-family: var(--font-display);
	font-style: italic;
	font-size: 1.875rem;
	line-height: 2.25rem;
	transition: color 500ms ease, transform 500ms ease;
}
@media (min-width: 768px) {
	.about-section__stat-value { font-size: 2.25rem; line-height: 2.5rem; }
}
.about-section__stat:hover .about-section__stat-value {
	color: hsl(var(--primary));
	transform: translateY(-2px);
}
.about-section__stat-label {
	margin: 0;
	margin-top: 0.5rem;
	font-size: 13px;
	line-height: 1.4;
	letter-spacing: 0.24em;
	text-transform: uppercase;
	color: hsl(var(--text-subtle));
}
.about-section__stat-bar {
	display: block;
	margin-top: 0.75rem;
	height: 1px;
	width: 1.5rem;
	background: color-mix(in srgb, hsl(var(--foreground)) 20%, transparent);
	transition: width 500ms ease, background 500ms ease;
}
.about-section__stat:hover .about-section__stat-bar { width: 4rem; background: hsl(var(--primary)); }
.about-section__subheading { font-family: var(--font-display); font-style: italic; font-size: 1.75rem; line-height: 1.15; }
@media (min-width: 768px) { .about-section__subheading { font-size: 2.25rem; } }
.about-section__copy { margin-top: 1.5rem; display: flex; flex-direction: column; gap: 1.5rem; font-size: 15px; line-height: 1.75; color: hsl(var(--muted-foreground)); }
.about-section__quote { font-family: var(--font-display); font-style: italic; font-size: 1.125rem; color: hsl(var(--card-foreground)); }

/* ---------------------------------------------------------------------
 * Shop section
 * ------------------------------------------------------------------- */
.shop-section { padding: 6rem 0; }
@media (min-width: 768px) { .shop-section { padding: 8rem 0; } }
.shop-section__head { display: flex; flex-direction: column; gap: 1.5rem; margin-bottom: 3rem; }
@media (min-width: 1024px) { .shop-section__head { flex-direction: row; align-items: flex-end; justify-content: space-between; } }
.shop-section__intro { max-width: 42rem; min-width: 0; }
.shop-section__desc { margin-top: 1.25rem; color: hsl(var(--muted-foreground)); max-width: 36rem; }
.shop-section__search { position: relative; width: 100%; }
@media (min-width: 1024px) { .shop-section__search { width: 20rem; } }
.shop-section__search-icon { position: absolute; left: 1rem; top: 50%; transform: translateY(-50%); opacity: 0.5; }
.shop-section__search input {
	width: 100%; height: 44px; padding: 0 1rem 0 2.75rem;
	border-radius: 999px; background: hsl(var(--secondary)); border: 1px solid hsl(var(--border));
	font-size: 15px; color: hsl(var(--foreground));
}
.shop-section__search input:focus { outline: none; border-color: hsl(var(--primary)); }

.shop-section__filters { display: flex; flex-wrap: wrap; gap: 0.625rem; margin-bottom: 3rem; }
.theme-cat-filter {
	height: 40px; padding: 0 1.25rem; border-radius: 999px; font-size: 14px; font-weight: 500;
	border: 1px solid color-mix(in srgb, hsl(var(--primary)) 25%, transparent);
	background: transparent; color: hsl(var(--muted-foreground));
}
.theme-cat-filter:hover { border-color: hsl(var(--primary)); color: hsl(var(--primary)); }
.theme-cat-filter.is-active {
	background: hsl(var(--primary)); color: hsl(var(--primary-foreground)); border-color: hsl(var(--primary));
	box-shadow: 0 8px 20px -8px color-mix(in srgb, hsl(var(--primary)) 60%, transparent);
}

.shop-section__empty { text-align: center; padding-block: 5rem; }
.shop-section__empty-title { color: hsl(var(--text-subtle)); margin-bottom: 0.5rem; }
.shop-section__empty-subtitle { color: hsl(var(--text-subtle)); font-size: 14px; }
.shop-section__more { margin-top: 3.5rem; display: flex; justify-content: center; }

.theme-product-grid {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: 1.5rem;
	align-items: stretch;
}
@media (min-width: 640px) { .theme-product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .theme-product-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 1280px) { .theme-product-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

.theme-product-card-wrap { display: flex; flex-direction: column; height: 100%; }
.theme-product-card { position: relative; display: flex; flex-direction: column; height: 100%; }

.theme-product-card__image-wrapper {
	position: relative;
	aspect-ratio: 1 / 1;
	overflow: hidden;
	border-radius: 0.75rem;
	background: hsl(var(--linen));
	border: 1px solid color-mix(in srgb, hsl(var(--primary)) 10%, transparent);
	margin-bottom: 1rem;
	transition: border-color 500ms ease, box-shadow 500ms ease, transform 500ms ease;
}
.theme-product-card:hover .theme-product-card__image-wrapper {
	border-color: color-mix(in srgb, hsl(var(--primary)) 40%, transparent);
	box-shadow: var(--shadow-elevated);
	transform: translateY(-4px);
}
.theme-product-card:hover .theme-product-card__image { transform: scale(1.03); }
.theme-product-card__image { transition: transform 700ms cubic-bezier(0.2,0.8,0.2,1); }
.theme-product-card__image-link {
	position: absolute; inset: 0; z-index: 1;
}

.theme-product-card__badge {
	position: absolute; top: 0.75rem; left: 0.75rem; z-index: 3;
	background: hsl(var(--primary)); color: hsl(var(--primary-foreground));
	font-size: 13px; font-weight: 500; padding: 0.25rem 0.75rem; border-radius: 999px;
}
.theme-product-card__hover-actions {
	position: absolute; left: 0.75rem; right: 0.75rem; bottom: 0.75rem; z-index: 3;
	display: flex; align-items: center; gap: 0.5rem;
	opacity: 0; transition: opacity 500ms ease;
}
.theme-product-card:hover .theme-product-card__hover-actions { opacity: 1; }
.theme-product-card .add_to_cart_button.ajax_add_to_cart.theme-product-card__add-btn {
	flex: 1 1 auto; min-height: unset; height: 40px; padding: 0 1rem;
	border-radius: 999px; display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
	background: hsl(var(--primary)) !important; color: hsl(var(--primary-foreground)) !important;
	font-size: 13px; font-weight: 500; letter-spacing: 0.02em;
	border: none !important; box-shadow: none;
}
.theme-product-card__quickview {
	position: relative; z-index: 3;
	width: 40px; height: 40px; border-radius: 999px; flex-shrink: 0;
	display: inline-flex; align-items: center; justify-content: center;
	background: color-mix(in srgb, hsl(var(--background)) 90%, transparent);
	color: hsl(var(--foreground)); border: 1px solid color-mix(in srgb, hsl(var(--primary)) 25%, transparent);
	text-decoration: none;
}
.theme-product-card .add_to_cart_button.theme-product-card__add-btn {
	position: relative; z-index: 3;
}

.theme-product-card__info { flex: 1; padding: 0 0.125rem; }
.theme-product-card__cat { font-size: 13px; text-transform: uppercase; letter-spacing: 0.2em; color: hsl(var(--primary-soft)); margin-bottom: 0.375rem; }
.theme-product-card__title { font-family: var(--font-body); font-size: 1.05rem; line-height: 1.4; color: hsl(var(--foreground)); min-width: 0; }
.theme-product-card__title-link { color: inherit; text-decoration: none; }
.theme-product-card__title-link:hover { color: hsl(var(--primary)); }
.theme-product-card:hover .theme-product-card__title-link { color: hsl(var(--primary)); }
.theme-product-card__price { margin-top: 0.375rem; font-size: 14px; font-weight: 500; color: hsl(var(--card-foreground)); }
.theme-product-card__price del { opacity: 0.5; margin-right: 0.35em; }
.theme-product-card__price ins { text-decoration: none; }

/* ---------------------------------------------------------------------
 * Artist section
 * ------------------------------------------------------------------- */
.artist-section { padding: 6rem 0; background: color-mix(in srgb, hsl(var(--secondary)) 40%, transparent); }
@media (min-width: 768px) { .artist-section { padding: 8rem 0; } }
.artist-section__card {
	border-radius: 1.5rem; border: 1px solid hsl(var(--border)); background: hsl(var(--card)); box-shadow: var(--shadow-soft);
	padding: 1.5rem; display: grid; gap: 2.5rem; grid-template-columns: minmax(0, 1fr); align-items: center;
	min-width: 0;
}
@media (min-width: 768px) { .artist-section__card { padding: 2.5rem; } }
@media (min-width: 1024px) { .artist-section__card { padding: 3.5rem; grid-template-columns: repeat(12, 1fr); gap: 3.5rem; } }
@media (min-width: 1024px) { .artist-section__copy { grid-column: span 6; } .artist-section__gallery { grid-column: span 6; } }
.artist-section__heading { font-family: var(--font-display); font-weight: 700; font-size: 2.25rem; line-height: 1.05; margin-bottom: 2rem; overflow-wrap: anywhere; }
@media (min-width: 768px) { .artist-section__heading { font-size: 3rem; } }
@media (min-width: 1024px) { .artist-section__heading { font-size: 3.4rem; } }
.artist-section__paragraphs { display: flex; flex-direction: column; gap: 1.25rem; font-size: 15px; line-height: 1.75; color: hsl(var(--muted-foreground)); }
.artist-section__linkedin { margin-top: 2.5rem; display: inline-flex; align-items: center; gap: 0.75rem; font-size: 14px; letter-spacing: 0.24em; text-transform: uppercase; font-weight: 500; color: hsl(var(--muted-foreground)); max-width: 100%; flex-wrap: wrap; }
.artist-section__linkedin:hover { color: hsl(var(--primary)); transform: translateX(2px); }
.artist-section__gallery-frame { position: relative; overflow: hidden; border-radius: 1rem; background: hsl(var(--linen)); border: 1px solid hsl(var(--border)); aspect-ratio: 3/4; }
.artist-section__gallery-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: scale(1.05); transition: opacity 700ms ease, transform 700ms ease; }
.artist-section__gallery-img.is-active { opacity: 1; transform: scale(1); }
.artist-section__gallery-controls { position: absolute; inset-inline: 0; bottom: 0; display: flex; align-items: center; justify-content: space-between; padding: 4rem 1rem 1rem; background: linear-gradient(to top, rgba(0,0,0,0.6), transparent); }
.artist-section__gallery-btn { width: 40px; height: 40px; border-radius: 999px; background: rgba(255,255,255,0.95); border: none; display: inline-flex; align-items: center; justify-content: center; }
.artist-section__gallery-btn:hover { background: hsl(var(--card)); transform: scale(1.1); }
.artist-section__gallery-count { font-size: 12px; letter-spacing: 0.3em; text-transform: uppercase; color: hsl(var(--on-dark)); }
.artist-section__dots { margin-top: 1rem; display: flex; justify-content: center; gap: 0.5rem; }
.artist-section__dot { height: 6px; width: 16px; border-radius: 999px; background: color-mix(in srgb, hsl(var(--foreground)) 20%, transparent); border: none; }
.artist-section__dot.is-active { width: 32px; background: hsl(var(--primary)); }

/* ---------------------------------------------------------------------
 * Portfolio section
 * ------------------------------------------------------------------- */
.portfolio-section { padding: 6rem 0; background: color-mix(in srgb, hsl(var(--secondary)) 30%, transparent); }
@media (min-width: 768px) { .portfolio-section { padding: 8rem 0; } }
.portfolio-section__intro { max-width: 42rem; margin: 0 auto 4rem; text-align: center; }
.portfolio-section__group { margin-bottom: 5rem; }
.portfolio-section__group-head { display: flex; align-items: center; gap: 1rem; margin-bottom: 2rem; min-width: 0; }
.portfolio-section__group-icon { display: inline-flex; width: 44px; height: 44px; border-radius: 0.75rem; background: var(--gradient-sunset); color: hsl(var(--on-dark)); align-items: center; justify-content: center; box-shadow: 0 8px 20px -8px color-mix(in srgb, hsl(var(--sun-pink)) 60%, transparent); flex-shrink: 0; }
.portfolio-section__group-title { font-family: var(--font-display); font-style: italic; font-weight: 600; font-size: 1.5rem; min-width: 0; overflow-wrap: anywhere; }
@media (min-width: 768px) { .portfolio-section__group-title { font-size: 1.875rem; } }
.portfolio-section__cards { display: grid; grid-template-columns: 1fr; gap: 1.5rem; }
@media (min-width: 768px) { .portfolio-section__cards--2col { grid-template-columns: repeat(2, minmax(0,1fr)); } .portfolio-section__cards--3col { grid-template-columns: repeat(3, minmax(0,1fr)); } }
.portfolio-card { position: relative; isolation: isolate; border-radius: 1rem; border: 1px solid hsl(var(--border)); background: hsl(var(--card)); overflow: hidden; display: flex; flex-direction: column; transition: transform 500ms ease, box-shadow 500ms ease, border-color 500ms ease; }
.portfolio-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-elevated); border-color: color-mix(in srgb, hsl(var(--primary)) 40%, transparent); }
.portfolio-card__image-wrap { position: relative; aspect-ratio: 5/3; overflow: hidden; background: hsl(var(--linen)); }
.portfolio-card__image { transition: transform 900ms cubic-bezier(0.2,0.8,0.2,1); }
.portfolio-card:hover .portfolio-card__image { transform: scale(1.06); }
.portfolio-card__body { padding: 2rem; }
.portfolio-card--noimg .portfolio-card__body { padding: 2rem; }
.portfolio-card__icon-badge { display: inline-flex; width: 48px; height: 48px; border-radius: 0.75rem; background: color-mix(in srgb, hsl(var(--primary)) 10%, transparent); color: hsl(var(--primary)); align-items: center; justify-content: center; margin-bottom: 1.25rem; transition: background-color 500ms ease, transform 500ms ease; }
.portfolio-card:hover .portfolio-card__icon-badge { background: hsl(var(--primary)); color: hsl(var(--primary-foreground)); transform: rotate(6deg) scale(1.1); }
.portfolio-card__title { font-family: var(--font-display); font-weight: 600; font-size: 1.25rem; margin-bottom: 0.5rem; }
.portfolio-card__desc { font-size: 15px; line-height: 1.6; color: hsl(var(--muted-foreground)); }
.portfolio-section__cta { margin-top: 3.5rem; display: flex; justify-content: center; }
.portfolio-section__cta-link { display: inline-flex; align-items: center; gap: 0.75rem; font-size: 14px; letter-spacing: 0.24em; text-transform: uppercase; font-weight: 600; color: hsl(var(--primary)); }
.portfolio-section__cta-link:hover { color: hsl(var(--accent)); transform: translateX(2px); }

/* ---------------------------------------------------------------------
 * Services section
 * ------------------------------------------------------------------- */
.services-section { padding: 6rem 0; }
@media (min-width: 768px) { .services-section { padding: 8rem 0; } }
.services-section__intro { max-width: 42rem; margin: 0 auto 3.5rem; text-align: center; }
.services-section__grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(0,1fr)); gap: 1.5rem; grid-template-columns: 1fr; }
@media (min-width: 768px) { .services-section__grid { grid-template-columns: repeat(3, minmax(0,1fr)); } }
.services-card { position: relative; text-align: left; border-radius: 1rem; border: 1px solid hsl(var(--border)); background: hsl(var(--secondary)); overflow: hidden; display: flex; flex-direction: column; padding: 0; transition: transform 500ms ease, box-shadow 500ms ease, border-color 500ms ease; }
.services-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-elevated); border-color: color-mix(in srgb, hsl(var(--primary)) 40%, transparent); }
.services-card__image-wrap { position: relative; aspect-ratio: 5/3; overflow: hidden; }
.services-card__image { transition: transform 900ms cubic-bezier(0.2,0.8,0.2,1); }
.services-card:hover .services-card__image { transform: scale(1.06); }
.services-card__body { position: relative; z-index: 1; padding: 2rem; }
.services-card__icon-badge { display: inline-flex; width: 56px; height: 56px; border-radius: 1rem; background: var(--gradient-sunset); color: hsl(var(--on-dark)); align-items: center; justify-content: center; margin-bottom: 1.5rem; box-shadow: 0 8px 20px -8px color-mix(in srgb, hsl(var(--sun-orange)) 70%, transparent); transition: transform 500ms ease; }
.services-card:hover .services-card__icon-badge { transform: rotate(6deg) scale(1.1); }
.services-card__title { font-family: var(--font-display); font-style: italic; font-weight: 600; font-size: 1.5rem; margin-bottom: 0.75rem; white-space: pre-line; }
.services-card:hover .services-card__title { color: hsl(var(--primary)); }
.services-card__desc { font-size: 15px; line-height: 1.6; color: hsl(var(--muted-foreground)); }
.services-card__link { margin-top: 1.5rem; display: inline-flex; align-items: center; gap: 0.5rem; font-size: 13px; letter-spacing: 0.24em; text-transform: uppercase; font-weight: 600; color: hsl(var(--primary)); max-width: 100%; flex-wrap: wrap; }

/* ---------------------------------------------------------------------
 * FAQ section
 * ------------------------------------------------------------------- */
.faq-section-wrap { padding: 6rem 0; background: color-mix(in srgb, hsl(var(--secondary)) 100%, transparent); }
@media (min-width: 768px) { .faq-section-wrap { padding: 8rem 0; } }
.faq-section { max-width: 48rem; margin: 0 auto; }
.faq-section__eyebrow { font-size: 13px; letter-spacing: 0.32em; text-transform: uppercase; color: hsl(var(--primary)); font-weight: 600; text-align: center; margin-bottom: 1.25rem; }
.faq-section__heading { text-align: center; margin-bottom: 1rem; }
.faq-section__desc { text-align: center; color: hsl(var(--muted-foreground)); margin: 0 auto 3rem; max-width: 36rem; }
.faq-section__list { display: flex; flex-direction: column; gap: 0.75rem; }
.faq-item { border-radius: 1rem; border: 1px solid color-mix(in srgb, hsl(var(--border)) 60%, transparent); background: color-mix(in srgb, hsl(var(--secondary)) 40%, transparent); transition: all 500ms ease; }
.faq-item:hover { background: color-mix(in srgb, hsl(var(--secondary)) 80%, transparent); border-color: hsl(var(--border)); transform: translateY(-2px); }
.faq-item.is-open { border-color: color-mix(in srgb, hsl(var(--primary)) 40%, transparent); background: hsl(var(--card)); box-shadow: var(--shadow-soft); transform: translateY(-2px); }
.faq-item__question { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1.25rem 1.5rem; background: none; border: none; text-align: left; font-family: var(--font-display); font-weight: 600; font-size: 1rem; min-width: 0; overflow-wrap: anywhere; }
@media (min-width: 768px) { .faq-item__question { padding: 1.25rem 2rem; font-size: 1.125rem; } }
.faq-item.is-open .faq-item__question, .faq-item__question:hover { color: hsl(var(--primary)); }
.faq-item__chevron { flex-shrink: 0; transition: transform 500ms ease, color 500ms ease; }
.faq-item.is-open .faq-item__chevron { transform: rotate(180deg); color: hsl(var(--primary)); }
.faq-item__answer { max-height: 0; overflow: hidden; transition: max-height 500ms ease; padding: 0 1.5rem; }
@media (min-width: 768px) { .faq-item__answer { padding: 0 2rem; } }
.faq-item.is-open .faq-item__answer { max-height: 32rem; padding-bottom: 1.5rem; }
.faq-item__answer p { font-size: 15px; line-height: 1.7; color: hsl(var(--muted-foreground)); max-width: 48rem; margin: 0; }

/* ---------------------------------------------------------------------
 * Contact section
 * ------------------------------------------------------------------- */
.contact-section { position: relative; }
.contact-section__band { position: relative; overflow: hidden; min-height: 70vh; display: flex; align-items: center; }
@media (min-width: 768px) { .contact-section__band { min-height: 80vh; } }
.contact-section__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.contact-section__scrim { position: absolute; inset: 0; background: radial-gradient(at center, hsl(0 0% 4% / 0.35) 0%, hsl(0 0% 4% / 0.6) 70%, hsl(0 0% 4% / 0.75) 100%); }
.contact-section__band-inner { position: relative; z-index: 1; text-align: center; padding-block: 6rem; }
@media (min-width: 768px) { .contact-section__band-inner { padding-block: 10rem; } }
.contact-section__eyebrow { color: rgba(255,255,255,0.75); text-align: center; }
.contact-section__desc { margin: 1.5rem auto 0; max-width: 36rem; color: rgba(255,255,255,0.85); }
.contact-section__body { padding-block: 4rem; }
@media (min-width: 768px) { .contact-section__body { padding-block: 6rem; } }
.contact-section__grid { display: grid; grid-template-columns: 1fr; gap: 3rem; align-items: stretch; }
@media (min-width: 1024px) { .contact-section__grid { grid-template-columns: 1fr 1fr; gap: 5rem; } }
.contact-section__info { display: flex; flex-direction: column; height: 100%; }
.contact-section__form-desc { margin: 1.5rem 0 2.5rem; max-width: 28rem; color: hsl(var(--muted-foreground)); font-size: 15px; line-height: 1.6; }
.contact-section__list { display: flex; flex-direction: column; gap: 1.25rem; list-style: none; margin: 0; padding: 0; }
.contact-section__contact-link { display: inline-flex; align-items: center; gap: 1rem; color: hsl(var(--foreground)); max-width: 100%; min-width: 0; }
.contact-section__contact-link:hover { color: hsl(var(--primary)); transform: translateX(2px); }
.contact-section__icon { width: 44px; height: 44px; border-radius: 999px; background: hsl(var(--secondary)); border: 1px solid hsl(var(--border)); display: inline-flex; align-items: center; justify-content: center; transition: all 300ms ease; }
.contact-section__contact-link:hover .contact-section__icon { border-color: hsl(var(--primary)); background: hsl(var(--primary)); color: hsl(var(--primary-foreground)); transform: rotate(6deg) scale(1.1); }
.contact-section__contact-text { display: flex; flex-direction: column; text-align: left; min-width: 0; }
.contact-section__contact-text em { font-style: normal; font-size: 13px; letter-spacing: 0.24em; text-transform: uppercase; color: hsl(var(--text-subtle)); }
.contact-section__contact-text strong { font-weight: 500; font-size: 15px; overflow-wrap: anywhere; word-break: break-word; }

.contact-section__form { background: hsl(var(--secondary)); border: 1px solid hsl(var(--border)); border-radius: 1rem; padding: 1.5rem; display: flex; flex-direction: column; gap: 1rem; height: 100%; }
@media (min-width: 768px) { .contact-section__form { padding: 2rem; } }
.contact-section__form:hover { box-shadow: var(--shadow-soft); }
.contact-section__form-fields { flex: 1; display: flex; flex-direction: column; gap: 1rem; }
.contact-section__form-row { display: grid; grid-template-columns: 1fr; gap: 1rem; }
@media (min-width: 640px) { .contact-section__form-row { grid-template-columns: 1fr 1fr; } }
.contact-section__field label { display: block; font-size: 14px; letter-spacing: 0.2em; text-transform: uppercase; color: hsl(var(--text-subtle)); margin-bottom: 0.5rem; }
.contact-section__field input, .contact-section__field select, .contact-section__field textarea {
	width: 100%; height: 48px; padding: 0 1rem; background: hsl(var(--background)); border: 1px solid hsl(var(--border)); border-radius: 0.5rem;
	font-size: 15px; color: hsl(var(--foreground));
}
.contact-section__field textarea { height: auto; padding: 0.75rem 1rem; resize: none; font-family: inherit; }
.contact-section__field input:focus, .contact-section__field select:focus, .contact-section__field textarea:focus { outline: none; border-color: hsl(var(--primary)); }
.contact-section__field input::placeholder, .contact-section__field textarea::placeholder { color: hsl(var(--text-subtle)); }
.contact-section__form-footer { display: flex; flex-direction: column; gap: 0.75rem; padding-top: 0.5rem; }
.contact-section__submit { width: 100%; }
.contact-section__note { text-align: center; font-size: 13px; color: hsl(var(--text-subtle)); margin: 0; }

/* ---------------------------------------------------------------------
 * Footer
 * ------------------------------------------------------------------- */
.site-footer { border-top: 1px solid hsl(var(--border)); }
.site-footer__grid { display: grid; grid-template-columns: 1fr; gap: 2.5rem; padding-block: 3.5rem; }
@media (min-width: 640px) { .site-footer__grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .site-footer__grid { grid-template-columns: repeat(4, 1fr); gap: 3rem; padding-block: 5rem; } }
.site-footer__logo-link {
	display: inline-flex;
	align-items: center;
	max-width: 100%;
}
/* Higher specificity than WooCommerce `.woocommerce img { height: auto }` on cart/checkout/PDP */
.site-footer__logo-link img.site-footer__logo {
	height: 6rem;
	max-height: 6rem;
	width: auto !important;
	max-width: min(100%, 11rem);
	object-fit: contain;
	display: block;
	transition: transform 500ms ease;
}
@media (min-width: 768px) {
	.site-footer__logo-link img.site-footer__logo {
		height: 7rem;
		max-height: 7rem;
		max-width: min(100%, 12rem);
	}
}
.site-footer__logo-link:hover img.site-footer__logo { transform: scale(1.05) rotate(3deg); }
.site-footer__tagline { margin-top: 1rem; font-size: 13px; color: hsl(var(--muted-foreground)); line-height: 1.6; max-width: 20rem; }
.site-footer__heading { font-family: var(--font-display); font-style: italic; font-weight: 600; font-size: 1.125rem; margin-bottom: 1rem; }
.site-footer__list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 0.625rem; }
.site-footer__list a { font-size: 13px; color: hsl(var(--muted-foreground)); }
.site-footer__list a:hover { color: hsl(var(--primary)); transform: translateX(2px); display: inline-block; }
.site-footer__contact-list { gap: 0.75rem; }
.site-footer__contact-link {
	display: inline-flex; align-items: center; gap: 0.5rem;
	color: hsl(var(--muted-foreground));
	transition: color 300ms ease, transform 300ms ease;
}
.site-footer__contact-link:hover { color: hsl(var(--primary)); transform: translateX(4px); }
.site-footer__contact-icon {
	flex-shrink: 0; display: inline-flex; align-items: center; justify-content: center;
	transition: transform 300ms ease;
}
.site-footer__contact-link:hover .site-footer__contact-icon--mail { transform: rotate(-12deg) scale(1.1); }
.site-footer__contact-link:hover .site-footer__contact-icon--instagram { transform: scale(1.1) rotate(-6deg); }
.site-footer__contact-link:hover .site-footer__contact-icon--store { transform: scale(1.1) rotate(6deg); }
.site-footer__contact-link:hover .site-footer__contact-icon--facebook { transform: scale(1.1) rotate(-6deg); }
.site-footer__note { margin-top: 1.25rem; font-size: 13px; color: hsl(var(--eyebrow)); line-height: 1.6; }
.site-footer__bottom { display: grid; grid-template-columns: 1fr; gap: 1rem; align-items: center; padding-block: 1.5rem 2.5rem; border-top: 1px solid hsl(var(--border)); margin-top: 0; }
@media (min-width: 640px) { .site-footer__bottom { grid-template-columns: 1fr 1fr; } }
.site-footer__copy { font-size: 13px; color: hsl(var(--eyebrow)); text-align: center; margin: 0; }
@media (min-width: 640px) { .site-footer__copy { text-align: left; } }
.site-footer__totop { display: inline-flex; align-items: center; gap: 0.5rem; font-size: 13px; color: hsl(var(--muted-foreground)); background: none; border: none; justify-self: center; }
@media (min-width: 640px) { .site-footer__totop { justify-self: end; } }
.site-footer__totop-icon { width: 36px; height: 36px; border-radius: 999px; border: 1px solid hsl(var(--border)); display: inline-flex; align-items: center; justify-content: center; transition: all 300ms ease; }
.site-footer__totop:hover .site-footer__totop-icon { border-color: hsl(var(--primary)); background: hsl(var(--primary)); color: hsl(var(--primary-foreground)); transform: translateY(-2px) rotate(360deg); }

/* =========================================================================
 * WooCommerce overrides (Section 14)
 * ========================================================================= */
.woocommerce-breadcrumb { display: none; }
.single-product .woocommerce-message, .single-product .woocommerce-info { display: none; }
#theme-cart-drawer .woocommerce-message { display: none; }
.woocommerce-message, .woocommerce-error, .woocommerce-info {
	border-radius: 0.5rem; border: 1px solid hsl(var(--border)); padding: 1rem 1.5rem; font-size: 14px; background: hsl(var(--secondary)); color: hsl(var(--foreground));
}
.woocommerce-error { border-color: color-mix(in srgb, red 30%, hsl(var(--border))); }

.woocommerce-page a.added_to_cart.wc-forward,
.single-product a.added_to_cart.wc-forward,
body a.added_to_cart.wc-forward { display: none !important; }

.single_add_to_cart_button.button,
.add_to_cart_button.button,
a.single_add_to_cart_button,
a.add_to_cart_button {
	background-color: hsl(var(--primary)) !important;
	color: hsl(var(--primary-foreground)) !important;
	border: none !important;
	border-radius: var(--btn-radius) !important;
	min-height: var(--btn-height) !important;
	padding: var(--btn-padding) !important;
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;
	font-family: var(--font-body) !important;
	font-size: var(--btn-font-size) !important;
	font-weight: var(--btn-font-weight) !important;
	letter-spacing: var(--btn-letter-spacing) !important;
	text-transform: 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: hsl(var(--primary)) !important;
	color: hsl(var(--primary-foreground)) !important;
}
.single_add_to_cart_button.button:disabled,
.single_add_to_cart_button.button.disabled,
.add_to_cart_button.button:disabled,
.add_to_cart_button.button.disabled {
	cursor: not-allowed !important;
	opacity: 0.4 !important;
	pointer-events: none !important;
}
.single_add_to_cart_button.button:disabled:hover,
.single_add_to_cart_button.button.disabled:hover,
.add_to_cart_button.button:disabled:hover,
.add_to_cart_button.button.disabled:hover {
	opacity: 0.4 !important;
	background-color: hsl(var(--primary)) !important;
}
.single-product .single_add_to_cart_button.loading::after,
.ajax_add_to_cart.loading::after { display: none !important; }

/* Card compact button override — placed after global rules (Section 11.4.1) */
.theme-product-card .add_to_cart_button.ajax_add_to_cart.theme-product-card__add-btn {
	min-height: unset !important;
	height: 40px !important;
	padding: 0 1rem !important;
	border-radius: 999px !important;
}

/* ---------------------------------------------------------------------
 * Single product page (Section 11.13)
 * ------------------------------------------------------------------- */
.single-product-shell { padding-block: 0 4rem; }
.single-product__breadcrumb { padding-block: 1.5rem 0.25rem; font-size: 13px; letter-spacing: 0.1em; text-transform: uppercase; color: hsl(var(--text-subtle)); }
.single-product__breadcrumb a:hover { color: hsl(var(--primary)); }
.single-product__breadcrumb span[aria-hidden] { margin: 0 0.5rem; opacity: 0.5; }
.single-product__back { display: inline-flex; align-items: center; gap: 0.5rem; margin: 0.5rem 0 1rem; font-size: 14px; color: hsl(var(--muted-foreground)); }
.single-product__back:hover { color: hsl(var(--primary)); }

.single-product .theme-product-layout {
	display: grid; grid-template-columns: 1fr; gap: 2.5rem; align-items: start; min-width: 0;
}
@media (min-width: 1024px) { .single-product .theme-product-layout { grid-template-columns: 7fr 5fr; gap: 4rem; } }
.single-product .theme-product-gallery, .single-product .theme-product-info { min-width: 0; max-width: 100%; }
.theme-product-gallery__main { position: relative; aspect-ratio: 1/1; width: 100%; background: hsl(var(--linen)); border-radius: 0.75rem; overflow: hidden; margin-bottom: 1rem; }
.theme-product-gallery__main img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.single-product .theme-product-thumbnails { display: flex; flex-wrap: wrap; gap: 0.625rem; max-width: 100%; }
.theme-product-thumb { width: calc(20% - 0.5rem); aspect-ratio: 1/1; border-radius: 0.5rem; overflow: hidden; border: 2px solid transparent; background: hsl(var(--linen)); padding: 0; }
.theme-product-thumb img { width: 100%; height: 100%; object-fit: cover; }
.theme-product-thumb.is-active { border-color: hsl(var(--primary)); }
.theme-product-thumb:hover { border-color: color-mix(in srgb, hsl(var(--foreground)) 20%, transparent); }

.single-product__cat { font-size: 14px; letter-spacing: 0.24em; text-transform: uppercase; color: hsl(var(--primary)); font-weight: 500; margin-bottom: 0.75rem; }
.single-product__cat a { color: inherit; }
.single-product__title.product-title { font-family: var(--font-body); font-weight: 600; font-size: 1.875rem; line-height: 1.05; margin-bottom: 1rem; }
@media (min-width: 768px) { .single-product__title.product-title { font-size: 2.25rem; } }
@media (min-width: 1024px) { .single-product__title.product-title { font-size: 2.6rem; } }
.single-product__price { font-size: 20px; font-weight: 500; margin-bottom: 1.75rem; }
.single-product__stock.is-oos { color: hsl(var(--primary)); font-weight: 500; margin-bottom: 1.5rem; }
.single-product__description { font-size: 15px; line-height: 1.7; color: hsl(var(--muted-foreground)); margin-bottom: 2rem; overflow-wrap: break-word; word-break: break-word; }

.theme-quantity-wrapper { display: inline-flex; align-items: center; border: 1px solid color-mix(in srgb, hsl(var(--foreground)) 20%, transparent); border-radius: 999px; }
.theme-qty-minus, .theme-qty-plus { border: none; background: none; padding: 0.625rem 1rem; display: inline-flex; align-items: center; }
.theme-qty-minus:hover, .theme-qty-plus:hover { color: hsl(var(--primary)); }
.theme-qty-input { width: 44px; text-align: center; border: none; background: none; font-size: 15px; font-weight: 500; padding: 0.625rem 0; -moz-appearance: textfield; }
.theme-qty-input::-webkit-outer-spin-button, .theme-qty-input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }

.single-product .theme-add-to-cart-area { display: flex; align-items: stretch; flex-wrap: wrap; gap: 0.75rem; margin-bottom: 2rem; }
.single-product .single_add_to_cart_button, .theme-buy-now-btn { flex: 1 1 auto; min-width: 160px; }

.single-product__details { margin-top: 2rem; padding-top: 2rem; border-top: 1px solid color-mix(in srgb, hsl(var(--foreground)) 10%, transparent); }
.single-product__details-label { font-size: 14px; letter-spacing: 0.18em; text-transform: uppercase; color: hsl(var(--text-subtle)); margin-bottom: 1rem; }
.single-product .woocommerce-product-details__short-description,
.single-product .woocommerce-variation-description,
.single-product .posted_in { overflow-wrap: break-word; word-break: break-word; font-size: 15px; line-height: 1.7; color: hsl(var(--muted-foreground)); }
.single-product .woocommerce-product-details__short-description ul { padding-left: 1.25rem; }
.single-product .woocommerce-product-details__short-description li { margin-bottom: 0.5rem; }

.related-products-section { margin-top: 5rem; padding-top: 3rem; border-top: 1px solid color-mix(in srgb, hsl(var(--foreground)) 10%, transparent); }
.related-products-section__head { display: flex; align-items: flex-end; justify-content: space-between; margin-bottom: 2.5rem; }
.related-products-section__title { font-family: var(--font-display); font-weight: inherit; font-size: 1.875rem; }
@media (min-width: 768px) { .related-products-section__title { font-size: 2.25rem; } }
.related-products-section__viewall { display: none; align-items: center; gap: 0.375rem; font-size: 14px; font-weight: 500; color: hsl(var(--muted-foreground)); }
@media (min-width: 640px) { .related-products-section__viewall { display: inline-flex; } }
.related-products-section__viewall:hover { color: hsl(var(--primary)); }

/* Variable product attribute table layout */
.single-product .variations_form { margin-bottom: 2rem; }
.single-product .variations { width: 100%; margin: 0 0 1.5rem; border: none; }
.single-product .variations.shop_attributes tbody,
.single-product .variations tbody tr,
.single-product .variations tbody td { display: block; width: 100%; }
.single-product .variations tbody tr { margin-bottom: 1.5rem; }
.single-product .variations tbody tr:last-child { margin-bottom: 0; }
.single-product .variations tbody td.label {
	padding: 0 0 0.625rem;
	font-size: 14px;
	font-weight: 500;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	color: hsl(var(--text-subtle));
}
.single-product .variations tbody td.label label { margin: 0; }
.single-product .variations tbody td.value { padding: 0; min-width: 0; }
.single-product .variations .reset_variations {
	display: inline-block;
	margin-top: 0.75rem;
	font-size: 13px;
	color: hsl(var(--text-subtle));
	text-decoration: underline;
	text-underline-offset: 3px;
}
.single-product .variations .reset_variations:hover { color: hsl(var(--primary)); }
.theme-attr-select-hidden { display: none !important; }

/* Variation swatches — theme buttons + common WooCommerce swatch plugins (visual only) */
.single-product .theme-attr-swatches,
.single-product .variable-items-wrapper,
.single-product .woo-variation-items-wrapper,
.single-product .cfvsw-swatches-container,
.single-product .tawcvs-swatches {
	display: flex;
	flex-wrap: wrap;
	gap: 0.625rem;
	margin: 0;
	padding: 0;
	list-style: none;
}

.single-product .theme-attr-swatch,
.single-product .variable-items-wrapper .variable-item,
.single-product .woo-variation-items-wrapper .variable-item,
.single-product .cfvsw-swatches-option,
.single-product .tawcvs-swatches .swatch {
	position: relative;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 2.75rem;
	height: 2.5rem;
	padding: 0 1.125rem;
	margin: 0;
	border-radius: 999px;
	border: 1px solid color-mix(in srgb, hsl(var(--primary)) 25%, transparent);
	background: transparent;
	color: hsl(var(--muted-foreground));
	font-family: var(--font-body);
	font-size: 14px;
	font-weight: 500;
	line-height: 1.2;
	text-align: center;
	white-space: nowrap;
	cursor: pointer;
	transition:
		color 300ms ease,
		background-color 300ms ease,
		border-color 300ms ease,
		box-shadow 300ms ease,
		transform 300ms ease;
}

.single-product .theme-attr-swatch:hover,
.single-product .variable-items-wrapper .variable-item:not(.disabled):hover,
.single-product .woo-variation-items-wrapper .variable-item:not(.disabled):hover,
.single-product .cfvsw-swatches-option:not(.cfvsw-swatches-disabled):hover,
.single-product .tawcvs-swatches .swatch:not(.disabled):hover {
	border-color: hsl(var(--primary));
	color: hsl(var(--primary));
	transform: translateY(-1px);
}

.single-product .theme-attr-swatch.is-selected,
.single-product .theme-attr-swatch.is-active,
.single-product .variable-items-wrapper .variable-item.selected,
.single-product .variable-items-wrapper .variable-item.selected span,
.single-product .woo-variation-items-wrapper .variable-item.selected,
.single-product .cfvsw-swatches-option.cfvsw-selected,
.single-product .tawcvs-swatches .swatch.selected {
	background: hsl(var(--primary));
	border-color: hsl(var(--primary));
	color: hsl(var(--primary-foreground));
	box-shadow: 0 8px 20px -8px color-mix(in srgb, hsl(var(--primary)) 60%, transparent);
}

.single-product .theme-attr-swatch.is-disabled,
.single-product .theme-attr-swatch:disabled,
.single-product .variable-items-wrapper .variable-item.disabled,
.single-product .woo-variation-items-wrapper .variable-item.disabled,
.single-product .cfvsw-swatches-option.cfvsw-swatches-disabled,
.single-product .tawcvs-swatches .swatch.disabled {
	opacity: 0.38;
	cursor: not-allowed;
	pointer-events: none;
	transform: none;
	box-shadow: none;
}

/* Color / image swatch chips */
.single-product .theme-attr-swatch--color,
.single-product .variable-items-wrapper .color-variable-item,
.single-product .variable-items-wrapper .image-variable-item,
.single-product .woo-variation-items-wrapper .color-variable-item,
.single-product .woo-variation-items-wrapper .image-variable-item,
.single-product .cfvsw-swatches-option.cfvsw-swatches-option-color,
.single-product .tawcvs-swatches .swatch.swatch-color {
	width: 2.5rem;
	min-width: 2.5rem;
	height: 2.5rem;
	padding: 0;
	border-radius: 999px;
	overflow: hidden;
}

.single-product .theme-attr-swatch--color::before {
	content: '';
	display: block;
	width: 100%;
	height: 100%;
	border-radius: inherit;
	background: var(--swatch-color, currentColor);
}

.single-product .variable-items-wrapper .color-variable-item .variable-item-span-color,
.single-product .woo-variation-items-wrapper .color-variable-item .variable-item-span-color {
	display: block;
	width: 100%;
	height: 100%;
	border-radius: inherit;
}

.single-product .theme-attr-swatch--color.is-selected,
.single-product .theme-attr-swatch--color.is-active,
.single-product .variable-items-wrapper .color-variable-item.selected,
.single-product .woo-variation-items-wrapper .color-variable-item.selected,
.single-product .cfvsw-swatches-option.cfvsw-selected.cfvsw-swatches-option-color,
.single-product .tawcvs-swatches .swatch.swatch-color.selected {
	background: transparent;
	color: inherit;
	box-shadow:
		0 0 0 2px hsl(var(--background)),
		0 0 0 4px hsl(var(--primary));
}

.single-product .variable-items-wrapper .variable-item img,
.single-product .woo-variation-items-wrapper .variable-item img,
.single-product .cfvsw-swatches-option img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	border-radius: inherit;
}

.single-product .variable-items-wrapper .variable-item .variable-item-span,
.single-product .woo-variation-items-wrapper .variable-item .variable-item-span {
	padding: 0;
	border: none;
	background: transparent;
	box-shadow: none;
}

/* Native select fallback (when swatch UI is not present) */
.single-product .variations select {
	width: 100%;
	max-width: 100%;
	height: 2.75rem;
	padding: 0 2.5rem 0 1rem;
	border-radius: 999px;
	border: 1px solid hsl(var(--border));
	background-color: hsl(var(--secondary));
	color: hsl(var(--foreground));
	font-family: var(--font-body);
	font-size: 15px;
	appearance: none;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23525252' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: right 1rem center;
	background-size: 1rem;
}
.single-product .variations select:focus {
	outline: none;
	border-color: hsl(var(--primary));
}

/* =========================================================================
 * Side cart drawer
 * ========================================================================= */
#theme-cart-overlay {
	position: fixed; inset: 0; z-index: 95; background: color-mix(in srgb, hsl(var(--foreground)) 30%, transparent);
	opacity: 0; visibility: hidden; transition: opacity 300ms ease;
}
body.cart-open #theme-cart-overlay { opacity: 1; visibility: visible; }

#theme-cart-drawer {
	position: fixed; top: 0; right: 0; height: 100%; width: 100%; max-width: 28rem; z-index: 96;
	background: hsl(var(--ivory)); box-shadow: var(--shadow-elevated);
	display: flex; flex-direction: column;
	transform: translateX(100%); transition: transform 400ms cubic-bezier(0.2,0.8,0.2,1);
}
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 color-mix(in srgb, hsl(var(--foreground)) 10%, transparent); }
.theme-cart-drawer__title { font-family: var(--font-display); font-size: 1.5rem; }
.theme-cart-drawer__close { width: 36px; height: 36px; border-radius: 999px; border: none; background: none; display: inline-flex; align-items: center; justify-content: center; }
.theme-cart-drawer__close:hover { background: color-mix(in srgb, hsl(var(--foreground)) 6%, transparent); }
.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 svg { opacity: 0.3; }
.theme-cart-drawer__items { flex: 1; overflow: auto; padding: 1.5rem; display: flex; flex-direction: column; gap: 1.25rem; }
.theme-cart-drawer__item { display: flex; gap: 1rem; }
.theme-cart-drawer__item-img { width: 80px; height: 96px; flex-shrink: 0; border-radius: 0.375rem; overflow: hidden; background: hsl(var(--bone)); }
.theme-cart-drawer__item-img img { width: 100%; height: 100%; object-fit: cover; }
.theme-cart-drawer__item-info { flex: 1; min-width: 0; }
.theme-cart-drawer__item-name { display: block; font-size: 15px; font-weight: 500; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.theme-cart-drawer__item-name:hover { color: hsl(var(--primary)); }
.theme-cart-drawer__item-price { font-size: 15px; color: hsl(var(--eyebrow)); margin-top: 0.125rem; }
.theme-cart-drawer__item-variation { font-size: 13px; color: hsl(var(--text-subtle)); margin-top: 0.25rem; }
.theme-cart-drawer__item-controls { display: flex; align-items: center; gap: 0.75rem; margin-top: 0.75rem; }
.theme-cart-drawer__qty-btn { padding: 0.25rem; border: none; background: none; display: inline-flex; }
.theme-cart-drawer__qty-btn:hover { background: hsl(var(--bone)); border-radius: 4px; }
.theme-cart-drawer__qty-value { font-size: 15px; width: 1.5rem; text-align: center; }
.theme-cart-drawer__remove { margin-left: auto; font-size: 14px; color: hsl(var(--text-subtle)); background: none; border: none; }
.theme-cart-drawer__remove:hover { color: hsl(var(--destructive)); }
.theme-cart-drawer__footer { padding: 1.5rem; border-top: 1px solid color-mix(in srgb, hsl(var(--foreground)) 10%, transparent); background: color-mix(in srgb, hsl(var(--linen)) 40%, transparent); display: flex; flex-direction: column; gap: 1rem; }
.theme-cart-drawer__subtotal { display: flex; justify-content: space-between; font-size: 15px; }
.theme-cart-drawer__note { font-size: 15px; color: hsl(var(--text-subtle)); margin: 0; }
.theme-cart-drawer__checkout { width: 100%; }
.theme-cart-drawer__empty-btn { display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem; width: 100%; background: none; border: none; font-size: 14px; color: hsl(var(--eyebrow)); padding: 0.5rem; }
.theme-cart-drawer__empty-btn:hover { color: hsl(var(--primary)); }

/* WooCommerce inner pages — header is always solid; lock logo to Lovable solid sizes */
body.theme-no-hero .site-header__logo,
body.woocommerce-cart .site-header__logo,
body.woocommerce-checkout .site-header__logo,
body.woocommerce-account .site-header__logo,
body.single-product .site-header__logo {
	height: 48px;
	filter: none;
}
body.theme-no-hero .site-footer__logo-link img.site-footer__logo,
body.woocommerce-cart .site-footer__logo-link img.site-footer__logo,
body.woocommerce-checkout .site-footer__logo-link img.site-footer__logo,
body.woocommerce-account .site-footer__logo-link img.site-footer__logo,
body.single-product .site-footer__logo-link img.site-footer__logo {
	height: 6rem;
	max-height: 6rem;
	max-width: min(100%, 11rem);
}
@media (min-width: 768px) {
	body.theme-no-hero .site-footer__logo-link img.site-footer__logo,
	body.woocommerce-cart .site-footer__logo-link img.site-footer__logo,
	body.woocommerce-checkout .site-footer__logo-link img.site-footer__logo,
	body.woocommerce-account .site-footer__logo-link img.site-footer__logo,
	body.single-product .site-footer__logo-link img.site-footer__logo {
		height: 7rem;
		max-height: 7rem;
		max-width: min(100%, 12rem);
	}
}
@media (min-width: 640px) {
	body.theme-no-hero .site-header__logo,
	body.woocommerce-cart .site-header__logo,
	body.woocommerce-checkout .site-header__logo,
	body.woocommerce-account .site-header__logo,
	body.single-product .site-header__logo { height: 56px; }
}
@media (min-width: 1024px) {
	body.theme-no-hero .site-header__logo,
	body.woocommerce-cart .site-header__logo,
	body.woocommerce-checkout .site-header__logo,
	body.woocommerce-account .site-header__logo,
	body.single-product .site-header__logo { height: var(--logo-height, 64px); }
}

/* =========================================================================
 * Checkout Block overrides (Section 13) — scoped to body.woocommerce-checkout
 * ========================================================================= */
body.woocommerce-checkout .site-main,
body.woocommerce-cart .site-main,
body.woocommerce-account .site-main {
	padding-top: var(--header-height);
	padding-bottom: 4rem;
}
body.woocommerce-checkout .page-shell,
body.woocommerce-cart .page-shell,
body.woocommerce-account .page-shell {
	padding-top: 2rem;
}
body.woocommerce-checkout .page-title,
body.woocommerce-cart .page-title,
body.woocommerce-account .page-title {
	font-family: var(--font-display);
	font-weight: 700;
	font-size: 2.25rem;
	margin-bottom: 2rem;
}

body.woocommerce-checkout .wc-block-checkout { display: block; }

@media (min-width: 768px) {
	body.woocommerce-checkout .wc-block-components-sidebar-layout.wc-block-checkout.is-large {
		display: grid;
		grid-template-columns: 1fr 1fr;
		gap: var(--checkout-gap);
		align-items: start;
	}
}

body.woocommerce-checkout .wc-block-checkout__main,
body.woocommerce-checkout .wc-block-checkout__sidebar {
	min-width: 0;
	width: 100%;
	max-width: none;
}
body.woocommerce-checkout .wc-block-components-text-input input,
body.woocommerce-checkout .wc-block-components-select select {
	width: 100% !important;
	max-width: none !important;
	font-family: var(--font-body);
	font-size: 15px;
	color: hsl(var(--foreground));
	border: 1px solid hsl(var(--border));
	border-radius: 0.5rem;
	background: hsl(var(--card));
	padding: revert;
}
body.woocommerce-checkout .wc-block-components-text-input input:focus,
body.woocommerce-checkout .wc-block-components-select select:focus,
body.woocommerce-checkout .wc-block-components-text-input input:focus-visible {
	border-color: hsl(var(--primary));
	outline: none;
}
body.woocommerce-checkout .wc-block-components-text-input input::placeholder { color: hsl(var(--text-subtle)); }

body.woocommerce-checkout .wc-block-checkout__sidebar {
	background-color: hsl(var(--secondary));
	border-radius: var(--card-radius);
	padding: var(--section-padding);
}
body.woocommerce-checkout .wc-block-components-checkout-place-order-button {
	background-color: hsl(var(--primary)) !important;
	border-color: hsl(var(--primary)) !important;
	color: hsl(var(--primary-foreground)) !important;
	border-radius: var(--btn-radius) !important;
	font-family: var(--font-body) !important;
	text-transform: none !important;
}
body.woocommerce-checkout .wc-block-components-checkout-place-order-button:hover { opacity: 0.9; }
body.woocommerce-checkout .wc-block-components-notice-banner { border-radius: 0.5rem; grid-column: 1 / -1; }
body.woocommerce-checkout h2, body.woocommerce-checkout h3 { font-family: var(--font-display); font-weight: 600; }

/* =========================================================================
 * Thank-you page (Section 22.8)
 * ========================================================================= */
body.theme-thankyou-page { overflow-x: hidden; }
body.theme-thankyou-page .woocommerce-order,
body.theme-thankyou-page .woocommerce-order-overview,
body.theme-thankyou-page .woocommerce-customer-details,
body.theme-thankyou-page .woocommerce-order-details { margin-top: 1.5rem; }
body.theme-thankyou-page .woocommerce-order-overview { list-style: none; display: flex; flex-wrap: wrap; gap: 1.5rem; padding: 0; }
body.theme-thankyou-page .woocommerce-order-overview li { font-size: 14px; }
body.theme-thankyou-page .woocommerce-order h2,
body.theme-thankyou-page .woocommerce-order-details__title { font-family: var(--font-display); font-weight: 600; font-size: 1.5rem; padding: 0 0 1rem 0; }
body.theme-thankyou-page .woocommerce-order-details table { width: 100%; table-layout: fixed; border-collapse: collapse; }
body.theme-thankyou-page .woocommerce-order-details table th,
body.theme-thankyou-page .woocommerce-order-details table td { padding: 0.75rem 0; border-bottom: 1px solid hsl(var(--border)); }
body.theme-thankyou-page .woocommerce-order-details tfoot th { text-align: left; }
body.theme-thankyou-page .woocommerce-order-details tfoot td { text-align: right; }
@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; overflow-wrap: break-word; }

/* =========================================================================
 * 404 page
 * ========================================================================= */
.notfound-section { min-height: 70vh; display: flex; align-items: center; justify-content: center; padding-top: var(--header-height); }
.notfound-section__inner { text-align: center; max-width: 32rem; }
.notfound-section__heading { font-family: var(--font-display); font-weight: 700; font-size: 2.5rem; margin: 0.5rem 0 1rem; }
.notfound-section__desc { color: hsl(var(--muted-foreground)); margin-bottom: 2rem; font-size: 18px; }

/* Generic page shell */
.page-shell { padding-top: 7rem; padding-bottom: 4rem; }
.page-title { font-family: var(--font-display); font-weight: 700; font-size: 2.25rem; margin-bottom: 1.5rem; }
