/* =========================================================================
   Terry Martin Naturalist — theme.css
   All visual styling for the theme lives in this file (Section 10).
   ========================================================================= */

/* -------------------------------------------------------------------------
   TOKENS
   ------------------------------------------------------------------------- */
:root {
	--font-display: 'Cormorant Garamond', Georgia, serif;
	--font-body: 'Work Sans', system-ui, sans-serif;
	--font-signature: 'Caveat', 'Cormorant Garamond', cursive;

	--shadow-soft: 0 4px 20px -6px rgba(30, 22, 14, 0.10);
	--shadow-elevated: 0 18px 44px -14px rgba(30, 22, 14, 0.22);
	--ease-smooth: cubic-bezier(0.25, 0.4, 0.25, 1);

	--radius: 0.25rem;

	--btn-radius: 0px;
	--btn-height: 3rem;
	--btn-padding: 0.9rem 1.6rem;
	--btn-font-size: 0.7rem;
	--btn-font-weight: 600;
	--btn-letter-spacing: 0.28em;
	--btn-text-transform: uppercase;

	--header-height: 60px;
	--checkout-gap: 2.5rem;
}
@media (min-width: 768px) {
	:root { --header-height: 64px; }
}

/* -------------------------------------------------------------------------
   RESET / BASE
   ------------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html, body { max-width: 100%; overflow-x: clip; }
body {
	margin: 0;
	background: var(--color-background);
	color: var(--color-foreground);
	font-family: var(--font-body);
	-webkit-font-smoothing: antialiased;
	line-height: 1.5;
}
img { max-width: 100%; height: auto; display: block; }
img:not(.cover-img):not(.theme-product-card__img):not(.theme-product-gallery__img):not(.theme-cart-item__image img) {
	max-width: 100%;
	height: auto;
}
.cover-img,
.theme-product-card__img,
.theme-product-gallery__img,
.theme-cart-item__image img {
	width: 100%;
	height: 100% !important;
	object-fit: contain;
	object-position: center;
}
.theme-cart-item__image img {
	object-fit: cover;
}
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; background: none; border: none; }
ul { margin: 0; padding: 0; list-style: none; }
p { margin: 0; }

h1, h2, h3, h4, h5, h6 {
	font-family: var(--font-display);
	font-weight: 500;
	font-size: inherit;
	letter-spacing: -0.005em;
	text-transform: none;
	margin: 0;
}

.sr-only {
	position: absolute;
	width: 1px; height: 1px;
	padding: 0; margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

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

.signature { font-family: var(--font-signature); font-weight: 600; letter-spacing: 0; }

.eyebrow, .eyebrow-rule {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
}
.eyebrow {
	font-family: var(--font-body);
	font-size: 11px;
	letter-spacing: 0.28em;
	text-transform: uppercase;
	font-weight: 500;
	color: var(--color-primary);
	margin-bottom: 0.75rem;
}
.eyebrow-rule { height: 1px; width: 2.5rem; background: var(--color-primary); display: inline-block; }

.section-heading { line-height: 1; letter-spacing: -0.01em; color: var(--color-foreground); }

.scroll-mt { scroll-margin-top: 5rem; }

/* -------------------------------------------------------------------------
   BUTTONS
   ------------------------------------------------------------------------- */
.btn-hero-primary, .btn-hero-outline {
	display: inline-flex;
	align-items: center;
	gap: 0.75rem;
	font-family: var(--font-body);
	font-size: var(--btn-font-size);
	font-weight: var(--btn-font-weight);
	text-transform: var(--btn-text-transform);
	letter-spacing: var(--btn-letter-spacing);
	transition: background-color 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}
.btn-hero-primary {
	background: hsl(38 32% 96%);
	color: hsl(28 22% 15%);
	padding: 0.9rem 1.75rem;
}
.btn-hero-primary:hover { background: var(--color-primary); color: var(--color-primary-foreground); }
.btn-hero-outline {
	color: rgba(245, 241, 235, 0.85);
	border-bottom: 1px solid rgba(245, 241, 235, 0.35);
	padding-bottom: 0.25rem;
	font-size: 0.6875rem;
	letter-spacing: 0.24em;
}
.btn-hero-outline:hover { color: #fff; border-color: #fff; }

/* -------------------------------------------------------------------------
   SCROLL REVEAL (Section 2.1)
   ------------------------------------------------------------------------- */
.reveal-item {
	opacity: 0;
	transform: translateY(16px);
	transition: opacity 0.6s var(--ease-smooth), transform 0.6s var(--ease-smooth);
}
.reveal-item.is-visible { opacity: 1; transform: translateY(0); }

body.is-customizer .reveal-item,
body.is-customizer .anim-fade-up {
	opacity: 1 !important;
	transform: none !important;
	animation: none !important;
}

@keyframes anim-fade-up {
	from { opacity: 0; transform: translateY(14px); }
	to { opacity: 1; transform: translateY(0); }
}
.anim-fade-up {
	opacity: 0;
	animation: anim-fade-up 0.8s var(--ease-smooth) forwards;
}

@keyframes anim-fade-in {
	from { opacity: 0; }
	to { opacity: 1; }
}
@keyframes anim-slide-up {
	from { opacity: 0; transform: translateY(20px); }
	to { opacity: 1; transform: translateY(0); }
}
.animate-fade-in { animation: anim-fade-in 0.6s var(--ease-smooth) forwards; }
.animate-slide-up { animation: anim-slide-up 0.6s var(--ease-smooth) forwards; }

@keyframes shimmer-sweep {
	0% { transform: translateX(0); }
	100% { transform: translateX(400%); }
}

@media (prefers-reduced-motion: reduce) {
	.reveal-item, .anim-fade-up { animation: none !important; transition: none !important; opacity: 1 !important; transform: none !important; }
}

/* -------------------------------------------------------------------------
   HEADER
   ------------------------------------------------------------------------- */
.site-header {
	position: fixed;
	top: 0; left: 0; right: 0;
	z-index: 40;
	background: transparent;
	border-bottom: 1px solid transparent;
	color: hsl(38 32% 96%);
	transition: background-color 0.5s ease, border-color 0.5s ease, box-shadow 0.5s ease, color 0.5s ease;
}
.site-header.is-solid {
	background: var(--color-background);
	border-bottom-color: color-mix(in srgb, var(--color-foreground) 10%, transparent);
	color: var(--color-foreground);
	box-shadow: 0 1px 0 color-mix(in srgb, var(--color-foreground) 4%, transparent), 0 8px 24px -18px color-mix(in srgb, var(--color-foreground) 25%, transparent);
}
.site-header__gradient {
	position: absolute; inset: 0 0 auto 0; height: 130%;
	background: linear-gradient(to bottom, hsl(28 26% 6% / 0.55) 0%, hsl(28 26% 6% / 0.28) 55%, hsl(28 26% 6% / 0) 100%);
	pointer-events: none;
	opacity: 1;
	transition: opacity 0.5s ease;
}
.site-header.is-solid .site-header__gradient { opacity: 0; }
.site-header__inner { position: relative; }
.site-nav { display: flex; align-items: center; height: var(--header-height); gap: 1.5rem; }

.site-branding { display: flex; align-items: center; gap: 0.75rem; min-width: 0; line-height: 1; }
.site-logo-img { height: 2.25rem !important; width: auto !important; display: block; transition: transform 0.3s ease; }
@media (min-width: 768px) {
	.site-logo-img { height: var(--logo-height, 2.5rem) !important; }
}
.site-branding:hover .site-logo-img { transform: scale(1.03); }
.site-logo-text { font-family: var(--font-display); font-size: 1.5rem; }
.site-branding__divider { display: none; height: 1rem; width: 1px; background: rgba(255,255,255,0.3); }
.site-header.is-solid .site-branding__divider { background: color-mix(in srgb, var(--color-foreground) 20%, transparent); }
.site-branding__tagline { display: none; font-size: 10px; letter-spacing: 0.28em; text-transform: uppercase; color: rgba(245,241,235,0.75); }
.site-header.is-solid .site-branding__tagline { color: var(--color-muted-foreground); }
@media (min-width: 768px) {
	.site-branding__divider, .site-branding__tagline { display: inline-flex; }
}

.site-nav__links {
	display: none;
	align-items: center;
	gap: 2.25rem;
	position: absolute;
	left: 50%;
	transform: translateX(-50%);
	height: 100%;
}
@media (min-width: 1024px) { .site-nav__links { display: flex; } }
.theme-nav-list { display: flex; align-items: center; gap: 2.25rem; height: 100%; margin: 0; }
.theme-nav-link, .theme-nav-item > a {
	position: relative;
	display: inline-flex;
	align-items: center;
	height: 100%;
	font-family: var(--font-body);
	font-size: 11px;
	letter-spacing: 0.28em;
	text-transform: uppercase;
	font-weight: 500;
	color: rgba(245,241,235,0.75);
	transition: color 0.2s ease;
}
.theme-nav-link::after, .theme-nav-item > a::after {
	content: '';
	position: absolute;
	left: 0;
	right: 0;
	bottom: 18px;
	height: 1px;
	transform: scaleX(0);
	transform-origin: left;
	transition: transform 0.3s ease;
	pointer-events: none;
}
.site-header:not(.is-solid) .theme-nav-link::after,
.site-header:not(.is-solid) .theme-nav-item > a::after { background: #fff; }
.site-header.is-solid .theme-nav-link::after,
.site-header.is-solid .theme-nav-item > a::after { background: var(--color-primary); }
.theme-nav-link.is-active::after,
.theme-nav-item.is-active > a::after { transform: scaleX(1); }
.site-header:not(.is-solid) .theme-nav-link.is-active,
.site-header:not(.is-solid) .theme-nav-item.is-active > a { color: #fff; }
.site-header.is-solid .theme-nav-link,
.site-header.is-solid .theme-nav-item > a { color: color-mix(in srgb, var(--color-foreground) 80%, transparent); }
.site-header.is-solid .theme-nav-link.is-active,
.site-header.is-solid .theme-nav-item.is-active > a { color: var(--color-primary); }
.theme-nav-link:hover, .theme-nav-item > a:hover { color: #fff; }
.site-header.is-solid .theme-nav-link:hover,
.site-header.is-solid .theme-nav-item > a:hover { color: var(--color-primary); }

.site-nav__actions { margin-left: auto; display: flex; align-items: center; gap: 0.5rem; }
.cart-open-btn {
	display: inline-flex; align-items: center; gap: 0.5rem;
	height: 2.75rem; padding: 0 0.75rem;
	color: rgba(245,241,235,0.75);
	font-family: var(--font-body);
	transition: color 0.2s ease;
}
@media (min-width: 768px) {
	.cart-open-btn { padding: 0 1rem; }
}
.site-header.is-solid .cart-open-btn { color: color-mix(in srgb, var(--color-foreground) 80%, transparent); }
.cart-open-btn:hover { color: #fff; }
.site-header.is-solid .cart-open-btn:hover { color: var(--color-primary); }
.cart-open-btn__label { font-size: 10px; letter-spacing: 0.32em; text-transform: uppercase; font-weight: 500; line-height: 1; }
.cart-open-btn__dot { font-size: 11px; line-height: 1; color: rgba(255,255,255,0.5); }
.site-header.is-solid .cart-open-btn__dot { color: color-mix(in srgb, var(--color-foreground) 40%, transparent); }
.theme-cart-count { font-family: var(--font-display); font-size: 13px; line-height: 1; color: #fff; }
.site-header.is-solid .theme-cart-count { color: var(--color-foreground); }
.theme-cart-count:empty::after { content: '0'; }

.mobile-menu-toggle { padding: 0.5rem; display: inline-flex; color: inherit; transition: color 0.2s ease; }
.site-header:not(.is-solid) .mobile-menu-toggle { color: #fff; }
.site-header:not(.is-solid) .mobile-menu-toggle:hover { color: #fff; }
.site-header.is-solid .mobile-menu-toggle:hover { color: var(--color-primary); }
@media (min-width: 1024px) { .mobile-menu-toggle { display: none; } }

.mobile-menu-overlay {
	position: fixed; inset: 0; z-index: 60;
	background: rgba(40,30,20,0.4);
	backdrop-filter: blur(2px);
	opacity: 0; visibility: hidden;
	transition: opacity 0.3s ease;
}
.mobile-menu-panel {
	position: fixed; top: 0; left: 0; right: 0; z-index: 70;
	background: var(--color-background); color: var(--color-foreground);
	border-bottom: 1px solid color-mix(in srgb, var(--color-foreground) 10%, transparent);
	box-shadow: var(--shadow-elevated);
	max-height: 100dvh; overflow-y: auto;
	transform: translateY(-16px);
	opacity: 0; visibility: hidden;
	transition: opacity 0.3s ease, transform 0.3s ease;
}
body.mobile-menu-open .mobile-menu-overlay,
body.mobile-menu-open .mobile-menu-panel { opacity: 1; visibility: visible; transform: none; }
@media (min-width: 1024px) { .mobile-menu-overlay, .mobile-menu-panel { display: none; } }
.mobile-menu-panel__top { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.mobile-menu-panel__nav { padding-bottom: 2rem; }
.mobile-menu-panel .mobile-nav-list,
.mobile-menu-panel nav.mobile-nav-list { display: block; }
.mobile-menu-panel .mobile-nav-list__items,
.mobile-menu-panel .theme-nav-list,
.mobile-menu-panel nav.mobile-nav-list > ul {
	display: flex !important;
	flex-direction: column !important;
	align-items: stretch !important;
	gap: 0 !important;
	list-style: none;
	margin: 0;
	padding: 1rem 0 0;
	border-top: 1px solid color-mix(in srgb, var(--color-foreground) 10%, transparent);
	height: auto !important;
	position: static !important;
	left: auto !important;
	transform: none !important;
}
.mobile-menu-panel .mobile-nav-list__items > li,
.mobile-menu-panel .theme-nav-list > li,
.mobile-menu-panel nav.mobile-nav-list > ul > li {
	display: block;
	width: 100%;
}
.mobile-menu-panel .mobile-nav-link,
.mobile-menu-panel .mobile-nav-list__items a,
.mobile-menu-panel .theme-nav-link {
	display: block !important;
	position: static !important;
	height: auto !important;
	width: 100%;
	padding: 0.75rem 0.25rem !important;
	font-family: var(--font-display) !important;
	font-size: 1.5rem !important;
	font-weight: 500 !important;
	letter-spacing: -0.005em !important;
	text-transform: none !important;
	color: var(--color-foreground) !important;
	text-align: left;
	border-bottom: 1px solid color-mix(in srgb, var(--color-foreground) 5%, transparent);
	transition: color 0.2s ease;
}
.mobile-menu-panel .mobile-nav-list__items > li:last-child .mobile-nav-link,
.mobile-menu-panel .theme-nav-list > li:last-child a { border-bottom: none; }
.mobile-menu-panel .mobile-nav-link:hover,
.mobile-menu-panel .theme-nav-link:hover { color: var(--color-primary) !important; }
.mobile-menu-panel .theme-nav-link::after { display: none !important; }
.mobile-menu-close { padding: 0.5rem; color: var(--color-foreground); transition: color 0.2s ease; }
.mobile-menu-close:hover { color: var(--color-primary); }

/* -------------------------------------------------------------------------
   HERO
   ------------------------------------------------------------------------- */
.hero-section { position: relative; display: flex; flex-direction: column; min-height: 100svh; color: var(--color-foreground); background: var(--color-background); }
.hero-section__media { position: relative; flex: 1; min-height: 560px; overflow: hidden; background: hsl(28 22% 10%); }
.hero-section__video, .hero-section__poster { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-section__video { display: block; }
.hero-section__poster { display: none; }
.hero-section__gradient {
	position: absolute; inset: 0;
	background: linear-gradient(to right, hsl(28 22% 10% / 0.72) 0%, hsl(28 22% 10% / 0.55) 22%, hsl(28 22% 10% / 0.2) 45%, hsl(28 22% 10% / 0) 65%);
	pointer-events: none;
}
.hero-section__content { position: absolute; inset: 0; z-index: 10; display: flex; flex-direction: column; padding-top: 60px; padding-bottom: 44px; }
@media (min-width: 768px) { .hero-section__content { padding-top: 64px; } }
.hero-section__content-inner { flex: 1; display: flex; flex-direction: column; justify-content: center; }
.hero-section__text { width: 100%; max-width: 34rem; color: hsl(38 32% 96%); }
@media (min-width: 768px) { .hero-section__text { max-width: 46%; } }
@media (min-width: 1024px) { .hero-section__text { max-width: 42%; } }

.hero-section__eyebrow { display: inline-flex; align-items: center; gap: 0.75rem; font-size: 10px; letter-spacing: 0.32em; text-transform: uppercase; font-weight: 500; color: rgba(232,228,220,0.85); }
.hero-section__eyebrow-rule { height: 1px; width: 2rem; background: rgba(232,228,220,0.6); display: inline-block; }
.hero-section__title { font-family: var(--font-signature); font-weight: 600; color: hsl(38 32% 97%); font-size: 3rem; line-height: 0.95; margin-top: 0.75rem; }
@media (min-width: 768px) { .hero-section__title { font-size: 4rem; } }
@media (min-width: 1280px) { .hero-section__title { font-size: 4.5rem; } }
.hero-section__description { margin-top: 1.25rem; max-width: 28rem; font-size: 15px; color: rgba(232,228,220,0.85); line-height: 1.65; }
@media (min-width: 768px) { .hero-section__description { font-size: 1rem; } }
.hero-section__actions { margin-top: 1.75rem; display: flex; flex-direction: column; gap: 1rem; }
.hero-section__buttons { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.5rem; }
.hero-section__stat { display: flex; align-items: center; gap: 0.75rem; font-size: 11px; letter-spacing: 0.28em; text-transform: uppercase; color: rgba(232,228,220,0.7); }
.hero-section__stat-rule { height: 1px; width: 1.5rem; background: rgba(232,228,220,0.35); display: inline-block; }

.marquee-strip { position: relative; background: var(--color-butter); color: var(--color-foreground); border-top: 1px solid color-mix(in srgb, var(--color-foreground) 10%, transparent); overflow: hidden; }
.marquee-track { display: flex; white-space: nowrap; padding: 0.625rem 0; animation: marquee-scroll 42s linear infinite; will-change: transform; }
@keyframes marquee-scroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .marquee-track { animation-duration: 120s; } }
.marquee-strip__item { display: inline-flex; align-items: center; gap: 2rem; padding-right: 2rem; color: color-mix(in srgb, var(--color-foreground) 80%, transparent); }
.marquee-strip__mark { color: color-mix(in srgb, var(--color-primary) 60%, transparent); font-size: 0.75rem; }
.marquee-strip__text { font-family: var(--font-display); font-style: italic; font-size: 1rem; color: color-mix(in srgb, var(--color-foreground) 85%, transparent); }
@media (min-width: 768px) { .marquee-strip__text { font-size: 1.125rem; } }

/* -------------------------------------------------------------------------
   PAINTINGS SECTION
   ------------------------------------------------------------------------- */
.paintings-section { position: relative; overflow: hidden; }
.paintings-section__grain {
	position: absolute; inset: 0; pointer-events: none; opacity: 0.5;
	background-image: radial-gradient(color-mix(in srgb, var(--color-foreground) 5.5%, transparent) 0.5px, transparent 0.5px), radial-gradient(color-mix(in srgb, var(--color-foreground) 3.5%, transparent) 0.5px, transparent 0.5px);
	background-size: 3px 3px, 7px 7px;
	background-position: 0 0, 1px 2px;
}
.paintings-section__head { position: relative; display: flex; flex-direction: column; gap: 1rem; padding-top: 3.5rem; padding-bottom: 1rem; }
@media (min-width: 640px) { .paintings-section__head { flex-direction: row; align-items: flex-end; justify-content: space-between; } }
@media (min-width: 768px) { .paintings-section__head { padding-top: 5rem; padding-bottom: 1.5rem; } }
.paintings-section .section-heading { font-size: 2.25rem; }
@media (min-width: 768px) { .paintings-section .section-heading { font-size: 3rem; } }
@media (min-width: 1024px) { .paintings-section .section-heading { font-size: 3.25rem; } }
.paintings-section__subtitle { font-size: 13px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--color-muted-foreground); }
@media (min-width: 640px) { .paintings-section__subtitle { text-align: right; } }

.paintings-chapter { position: relative; }
.paintings-chapter--1 { background: linear-gradient(180deg, var(--color-background) 0%, hsl(30 24% 90%) 18%, hsl(30 24% 90%) 82%, var(--color-background) 100%); }
.paintings-chapter--3 { background: linear-gradient(180deg, var(--color-background) 0%, hsl(120 10% 88%) 20%, hsl(120 10% 88%) 80%, var(--color-background) 100%); }
.paintings-chapter__inner { position: relative; padding-top: 1.5rem; padding-bottom: 1.5rem; }
@media (min-width: 768px) { .paintings-chapter__inner { padding-top: 2rem; padding-bottom: 2rem; } }
.paintings-chapter__inner--featured { padding-top: 2.5rem; padding-bottom: 2.5rem; }
@media (min-width: 768px) { .paintings-chapter__inner--featured { padding-top: 3.5rem; padding-bottom: 3.5rem; } }
.paintings-chapter__number-row { display: flex; align-items: center; gap: 0.75rem; margin-bottom: 1.25rem; }
@media (min-width: 768px) { .paintings-chapter__number-row { margin-bottom: 1.5rem; } }
.paintings-chapter__number { font-size: 10px; letter-spacing: 0.32em; text-transform: uppercase; color: color-mix(in srgb, var(--color-muted-foreground) 70%, transparent); }
.paintings-chapter__number-rule { height: 1px; flex: 1; background: color-mix(in srgb, var(--color-foreground) 10%, transparent); }
.paintings-section__divider-line { height: 1px; background: color-mix(in srgb, var(--color-foreground) 8%, transparent); }

.theme-product-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 2rem 1rem;
	align-items: stretch;
}
@media (min-width: 768px) { .theme-product-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2.5rem 1.5rem; } }
@media (min-width: 1024px) { .theme-product-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 2.5rem 1.75rem; } }

.theme-product-card-wrap { position: relative; display: flex; flex-direction: column; height: 100%; }
.theme-product-card__image-wrapper {
	position: relative;
	aspect-ratio: 4 / 5;
	background: color-mix(in srgb, var(--color-butter) 70%, transparent);
	border: 1px solid color-mix(in srgb, var(--color-foreground) 10%, transparent);
	overflow: hidden;
	padding: 1rem;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: transform 0.35s var(--ease-smooth);
}
.theme-product-card__image-wrapper > .theme-card-link {
	position: absolute;
	inset: 0;
	z-index: 2;
}
.theme-product-card-wrap:hover .theme-product-card__image-wrapper { transform: translateY(-3px); }
.theme-product-card__img { opacity: 0; filter: blur(14px); transform: scale(1.04); transition: opacity 0.6s ease-out, filter 0.7s ease-out, transform 0.9s ease-out; }
.theme-product-card__img.is-loaded { opacity: 1; filter: blur(0); transform: scale(1); }
.theme-product-card-wrap:hover .theme-product-card__img.is-loaded { transform: scale(1.03); transition-duration: 0.7s; }
.theme-product-card__img.is-sold-out { opacity: 0.6 !important; }
.theme-product-card__badge {
	position: absolute; top: 0.5rem; left: 0.5rem; z-index: 3;
	background: var(--color-foreground); color: var(--color-background);
	padding: 0.125rem 0.5rem;
	font-size: 10px; letter-spacing: 0.24em; text-transform: uppercase; font-weight: 600;
	font-family: var(--font-body);
	pointer-events: none;
}
.theme-product-card__caption { margin-top: 0.625rem; display: flex; align-items: center; justify-content: space-between; gap: 0.75rem; min-width: 0; position: relative; z-index: 3; }
.theme-product-card__price-row { display: flex; align-items: baseline; gap: 0.5rem; min-width: 0; }
.theme-product-card__price { font-family: var(--font-display); font-size: 17px; color: var(--color-foreground); line-height: 1; }
.theme-product-card__price .woocommerce-Price-amount { font-family: var(--font-display); }
.theme-product-card__currency {
	font-family: var(--font-body);
	font-size: 10px;
	letter-spacing: 0.24em;
	text-transform: uppercase;
	font-weight: 500;
	color: var(--color-muted-foreground);
}
.theme-product-card__dot { color: color-mix(in srgb, var(--color-muted-foreground) 60%, transparent); font-size: 12px; }
.theme-product-card__view-link {
	font-family: var(--font-body);
	font-size: 10px; letter-spacing: 0.24em; text-transform: uppercase; font-weight: 600;
	color: color-mix(in srgb, var(--color-foreground) 70%, transparent);
	white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
	transition: color 0.2s ease;
}
.theme-product-card-wrap:hover .theme-product-card__view-link { color: var(--color-primary); }
.theme-product-card__add, .theme-product-card__add--disabled {
	position: relative; z-index: 4;
	flex-shrink: 0;
	display: inline-flex; align-items: center; justify-content: center;
	width: 2rem; height: 2rem;
	border: 1px solid color-mix(in srgb, var(--color-foreground) 20%, transparent);
	color: color-mix(in srgb, var(--color-foreground) 70%, transparent);
	transition: background-color 0.25s var(--ease-smooth), color 0.25s var(--ease-smooth), border-color 0.25s var(--ease-smooth), transform 0.25s var(--ease-smooth);
}
.theme-product-card__add:hover,
.theme-product-card__add--view:hover { background: var(--color-primary); color: var(--color-primary-foreground); border-color: var(--color-primary); transform: scale(1.08) rotate(90deg); }
.theme-product-card__add--disabled { opacity: 0.4; cursor: not-allowed; }

/* -------------------------------------------------------------------------
   ABOUT SECTION
   ------------------------------------------------------------------------- */
.about-section { position: relative; background: color-mix(in srgb, var(--color-butter) 60%, transparent); border-top: 1px solid color-mix(in srgb, var(--color-foreground) 10%, transparent); }
.about-section__grain { position: absolute; inset: 0; pointer-events: none; opacity: 0.5; background-image: radial-gradient(color-mix(in srgb, var(--color-foreground) 5%, transparent) 0.5px, transparent 0.5px); background-size: 4px 4px; }
.about-section__inner { position: relative; padding-top: 4rem; padding-bottom: 4rem; }
@media (min-width: 768px) { .about-section__inner { padding-top: 6rem; padding-bottom: 6rem; } }
.about-section__grid { display: grid; grid-template-columns: 1fr; gap: 3rem 0; align-items: start; }
@media (min-width: 1024px) { .about-section__grid { grid-template-columns: 5fr 7fr; gap: 3rem 4rem; } }

.about-section__portrait-col { position: relative; }
.about-section__panel { position: absolute; left: -1rem; top: 2rem; bottom: 2.5rem; width: 62%; background: hsl(140 14% 82%); display: none; }
@media (min-width: 640px) { .about-section__panel { display: block; } }
@media (min-width: 768px) { .about-section__panel { left: -1.5rem; } }
.about-section__marker { position: absolute; left: -1rem; top: 2rem; height: 6rem; width: 4px; background: var(--color-ochre); }
@media (min-width: 768px) { .about-section__marker { left: -1.5rem; } }
.about-section__portrait-wrap { position: relative; padding-top: 1.5rem; padding-left: 1.5rem; }
@media (min-width: 768px) { .about-section__portrait-wrap { padding-left: 2.5rem; } }
.about-section__portrait-frame { position: relative; aspect-ratio: 4/5; overflow: hidden; background: var(--color-secondary); max-width: 24rem; }
@media (min-width: 1024px) { .about-section__portrait-frame { max-width: none; } }
.about-section__portrait-img { width: 100%; height: 100%; object-fit: cover; }
.about-section__caption-plate {
	position: absolute; bottom: -1rem; left: 0.5rem;
	background: var(--color-background);
	border-top: 1px solid color-mix(in srgb, var(--color-foreground) 15%, transparent);
	border-bottom: 1px solid color-mix(in srgb, var(--color-foreground) 15%, transparent);
	padding: 0.75rem 1.25rem;
	max-width: 85%;
}
@media (min-width: 768px) { .about-section__caption-plate { left: 1.5rem; } }
.about-section__caption-name { font-size: 1.5rem; line-height: 1; display: block; }
@media (min-width: 768px) { .about-section__caption-name { font-size: 1.7rem; } }
.about-section__caption-loc-row { display: flex; align-items: center; gap: 0.75rem; margin-top: 0.5rem; }
.about-section__caption-rule { height: 1px; width: 1.5rem; background: var(--color-ochre); display: inline-block; }
.about-section__caption-location { font-size: 10px; letter-spacing: 0.32em; text-transform: uppercase; color: var(--color-muted-foreground); font-weight: 500; }

.about-section__chapter-row, .contact-section__chapter-row { display: flex; align-items: center; gap: 0.75rem; margin-bottom: 1rem; }
.about-section__chapter-label, .contact-section__chapter-label { font-size: 10px; letter-spacing: 0.32em; text-transform: uppercase; color: color-mix(in srgb, var(--color-muted-foreground) 80%, transparent); }
.about-section__chapter-rule, .contact-section__chapter-rule { height: 1px; width: 3.5rem; background: color-mix(in srgb, var(--color-foreground) 25%, transparent); display: inline-block; }
.about-section__eyebrow, .contact-section__eyebrow { font-size: 11px; letter-spacing: 0.32em; text-transform: uppercase; color: var(--color-primary); font-weight: 500; }

.about-section .section-heading, .contact-section .section-heading { font-size: 1.875rem; line-height: 1.02; letter-spacing: -0.015em; margin-bottom: 0.75rem; }
@media (min-width: 768px) { .about-section .section-heading, .contact-section .section-heading { font-size: 2.25rem; } }
@media (min-width: 1024px) { .about-section .section-heading { font-size: 3rem; } }
@media (min-width: 1024px) { .contact-section .section-heading { font-size: 2.75rem; } }
.about-section__title-italic, .contact-section__title-italic { font-style: italic; display: block; color: var(--color-primary); }

.about-section__subtitle { font-family: var(--font-display); font-style: italic; font-size: 1.125rem; color: color-mix(in srgb, var(--color-foreground) 70%, transparent); margin-bottom: 2rem; max-width: 54ch; }
@media (min-width: 768px) { .about-section__subtitle { font-size: 1.25rem; } }

.about-section__copy { color: color-mix(in srgb, var(--color-foreground) 85%, transparent); max-width: 62ch; }
.about-section__copy > * + * { margin-top: 1.25rem; }
.about-section__copy-lead { font-size: 17px; line-height: 1.75; color: var(--color-foreground); }
@media (min-width: 768px) { .about-section__copy-lead { font-size: 18px; } }
.about-section__copy p:not(.about-section__copy-lead) { font-size: 15.5px; line-height: 1.75; }
.about-section__expand { overflow: hidden; height: 0; transition: height 0.4s var(--ease-smooth), opacity 0.4s var(--ease-smooth); opacity: 0; }
.about-section__expand:not([hidden]) { opacity: 1; }
.about-section__expand p { font-size: 15.5px; line-height: 1.75; margin-top: 1.25rem; }
.about-section__expand p:first-child { margin-top: 0; }
.about-section__expand blockquote {
	margin: 0.5rem 0;
	padding-left: 1.25rem;
	border-left: 2px solid var(--color-ochre);
	font-family: var(--font-display); font-style: italic;
	font-size: 1.25rem; line-height: 1.35;
	color: color-mix(in srgb, var(--color-foreground) 90%, transparent);
}
@media (min-width: 768px) { .about-section__expand blockquote { font-size: 1.4rem; } }

.about-section__toggle {
	margin-top: 2rem; display: inline-flex; align-items: center; gap: 0.5rem;
	font-size: 11px; letter-spacing: 0.28em; text-transform: uppercase; font-weight: 600;
	color: var(--color-primary);
	border-bottom: 1px solid color-mix(in srgb, var(--color-primary) 40%, transparent);
	padding-bottom: 0.25rem;
	transition: color 0.2s ease, border-color 0.2s ease;
}
.about-section__toggle:hover { color: var(--color-foreground); border-color: var(--color-foreground); }
.about-section__toggle-icon { transition: transform 0.2s ease; }
.about-section__toggle-icon.is-rotated { transform: rotate(180deg); }

.about-section__closing { margin-top: 2.5rem; display: flex; align-items: center; gap: 1rem; max-width: 62ch; }
.about-section__closing-rule { height: 1px; flex: 1; background: color-mix(in srgb, var(--color-foreground) 15%, transparent); }
.about-section__closing-sig { font-size: 1.25rem; color: color-mix(in srgb, var(--color-foreground) 60%, transparent); }

/* -------------------------------------------------------------------------
   CONTACT SECTION
   ------------------------------------------------------------------------- */
.contact-section { position: relative; border-top: 1px solid color-mix(in srgb, var(--color-foreground) 10%, transparent); }
.contact-section__bg { position: absolute; inset: 0; background: hsl(30 26% 89%); }
.contact-section__inner { position: relative; padding-top: 3.5rem; padding-bottom: 3.5rem; }
@media (min-width: 768px) { .contact-section__inner { padding-top: 5rem; padding-bottom: 5rem; } }
.contact-section__grid { display: grid; grid-template-columns: 1fr; gap: 2.5rem 0; align-items: start; }
@media (min-width: 1024px) { .contact-section__grid { grid-template-columns: 5fr 7fr; gap: 2.5rem 4rem; } }
.contact-section__description { margin-top: 1.25rem; font-size: 15.5px; color: color-mix(in srgb, var(--color-foreground) 75%, transparent); line-height: 1.7; max-width: 28rem; }
.contact-section__details { }
@media (min-width: 1024px) { .contact-section__details { padding-left: 2.5rem; border-left: 1px solid color-mix(in srgb, var(--color-foreground) 15%, transparent); } }
.contact-section__dl { display: grid; grid-template-columns: 1fr; gap: 2rem 2.5rem; }
@media (min-width: 640px) { .contact-section__dl { grid-template-columns: 1fr 1fr; } }
.contact-section__dt { font-size: 10px; letter-spacing: 0.32em; text-transform: uppercase; color: color-mix(in srgb, var(--color-muted-foreground) 90%, transparent); font-weight: 500; margin-bottom: 0.5rem; display: flex; align-items: center; gap: 0.5rem; }
.contact-section__item dd { margin-left: 0; }
.contact-section__link, .contact-section__address { font-family: var(--font-display); font-size: 1.125rem; color: var(--color-foreground); transition: color 0.2s ease; }
@media (min-width: 768px) { .contact-section__link { font-size: 1.25rem; } }
.contact-section__link:hover { color: var(--color-primary); }
.contact-section__address { line-height: 1.3; font-size: 1rem; }
@media (min-width: 768px) { .contact-section__address { font-size: 1.125rem; } }

/* -------------------------------------------------------------------------
   FOOTER
   ------------------------------------------------------------------------- */
.site-footer { background: var(--color-surface-deep); color: var(--color-surface-deep-foreground); }
.site-footer__hairline { height: 1px; width: 100%; background: color-mix(in srgb, var(--color-cream) 10%, transparent); }
.site-footer__inner { padding-top: 3.5rem; padding-bottom: 2rem; }
@media (min-width: 768px) { .site-footer__inner { padding-top: 4rem; } }
.site-footer__grid { display: grid; grid-template-columns: 1fr; gap: 2.5rem; }
@media (min-width: 768px) { .site-footer__grid { grid-template-columns: repeat(12, 1fr); gap: 3rem; } }
.site-footer__identity { grid-column: 1 / -1; }
@media (min-width: 768px) { .site-footer__identity { grid-column: span 5; } }
.site-footer__explore { grid-column: 1 / -1; }
@media (min-width: 768px) { .site-footer__explore { grid-column: span 3; } }
.site-footer__studio { grid-column: 1 / -1; }
@media (min-width: 768px) { .site-footer__studio { grid-column: span 4; } }

.site-footer__label-row { display: flex; align-items: center; gap: 0.75rem; margin-bottom: 1.25rem; }
.site-footer__label-rule { height: 1px; width: 2rem; background: var(--color-ochre); display: inline-block; }
.site-footer__label-rule--sm { width: 1.5rem; }
.site-footer__label { font-size: 10px; letter-spacing: 0.32em; text-transform: uppercase; color: color-mix(in srgb, var(--color-cream) 60%, transparent); font-weight: 500; }
.site-footer__brand { display: flex; flex-direction: column; align-items: flex-start; text-align: left; }
.site-footer__logo-img { height: var(--footer-logo-height, 80px) !important; width: auto !important; margin-bottom: 0.75rem; transition: opacity 0.2s ease; }
.site-footer__brand:hover .site-footer__logo-img { opacity: 0.9; }
.site-footer__tagline { font-size: 10px; letter-spacing: 0.32em; text-transform: uppercase; color: color-mix(in srgb, var(--color-cream) 65%, transparent); font-weight: 500; }
@media (min-width: 768px) { .site-footer__tagline { font-size: 11px; } }
.site-footer__nav-list { display: flex; flex-direction: column; gap: 0.75rem; }
.site-footer__nav-list a, .theme-footer-nav-link { font-family: var(--font-display); font-size: 1.125rem; color: color-mix(in srgb, var(--color-cream) 90%, transparent); transition: color 0.2s ease; }
.site-footer__nav-list a:hover, .theme-footer-nav-link:hover { color: var(--color-cream); }
.site-footer__studio-list { display: flex; flex-direction: column; gap: 0.625rem; }
.site-footer__studio-link { font-size: 15px; color: color-mix(in srgb, var(--color-cream) 90%, transparent); transition: color 0.2s ease; word-break: break-all; }
.site-footer__studio-link:hover { color: var(--color-cream); }
.site-footer__studio-text { font-size: 14px; color: color-mix(in srgb, var(--color-cream) 70%, transparent); line-height: 1.6; padding-top: 0.25rem; }
.site-footer__facebook-link { display: inline-flex; align-items: center; gap: 0.5rem; font-size: 12px; letter-spacing: 0.24em; text-transform: uppercase; color: color-mix(in srgb, var(--color-cream) 85%, transparent); font-weight: 500; padding-top: 0.5rem; transition: color 0.2s ease; }
.site-footer__facebook-link:hover { color: var(--color-cream); }

.site-footer__bottom { margin-top: 3.5rem; padding-top: 1.5rem; border-top: 1px solid color-mix(in srgb, var(--color-cream) 12%, transparent); display: flex; flex-direction: column; align-items: flex-start; justify-content: space-between; gap: 0.75rem; }
@media (min-width: 640px) { .site-footer__bottom { flex-direction: row; align-items: center; } }
.site-footer__copyright { font-size: 11px; letter-spacing: 0.28em; text-transform: uppercase; color: color-mix(in srgb, var(--color-cream) 55%, transparent); }
.site-footer__location { font-size: 10px; letter-spacing: 0.32em; text-transform: uppercase; color: color-mix(in srgb, var(--color-cream) 45%, transparent); }

/* -------------------------------------------------------------------------
   CART DRAWER (Section 12)
   ------------------------------------------------------------------------- */
#theme-cart-overlay {
	position: fixed; inset: 0; z-index: 80;
	background: rgba(20,15,10,0.5);
	backdrop-filter: blur(2px);
	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: 100dvh; width: 100%; max-width: 28rem;
	background: var(--color-background); color: var(--color-foreground);
	z-index: 90;
	box-shadow: var(--shadow-elevated);
	display: flex; flex-direction: column;
	border-left: 1px solid color-mix(in srgb, var(--color-foreground) 10%, transparent);
	transform: translateX(100%);
	transition: transform 0.35s var(--ease-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 { padding: 1.25rem 1.5rem; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid color-mix(in srgb, var(--color-foreground) 10%, transparent); }
.theme-cart-drawer__subtitle { display: block; font-family: var(--font-body); font-size: 10px; letter-spacing: 0.28em; text-transform: uppercase; font-weight: 500; color: var(--color-muted-foreground); margin-bottom: 0.25rem; }
.theme-cart-drawer__title { font-family: var(--font-display); font-size: 1.5rem; line-height: 1; }
.theme-cart-drawer__close { padding: 0.5rem; }
.theme-cart-drawer__close:hover { color: var(--color-primary); }

.theme-cart-drawer__empty { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 2rem; text-align: center; }
.theme-cart-drawer__empty-icon { width: 4rem; height: 4rem; border: 1px solid color-mix(in srgb, var(--color-foreground) 20%, transparent); display: flex; align-items: center; justify-content: center; margin-bottom: 1.25rem; color: color-mix(in srgb, var(--color-foreground) 40%, transparent); }
.theme-cart-drawer__empty-title { font-family: var(--font-display); font-size: 1.5rem; margin-bottom: 0.5rem; }
.theme-cart-drawer__empty-text { font-size: 14px; color: var(--color-muted-foreground); margin-bottom: 1.5rem; max-width: 20rem; }
.theme-cart-drawer__empty-cta {
	display: inline-flex; align-items: center; gap: 0.5rem;
	background: var(--color-primary); color: var(--color-primary-foreground);
	padding: 0.875rem 1.5rem;
	font-size: 11px; letter-spacing: 0.28em; text-transform: uppercase; font-weight: 600;
	transition: opacity 0.2s ease;
}
.theme-cart-drawer__empty-cta:hover { opacity: 0.85; }

.theme-cart-drawer__items { flex: 1; overflow: auto; padding: 1.25rem; display: flex; flex-direction: column; gap: 1rem; }
.theme-cart-item { display: flex; gap: 1rem; background: var(--color-card); border: 1px solid color-mix(in srgb, var(--color-foreground) 10%, transparent); padding: 0.75rem; }
.theme-cart-item__image { width: 5rem; height: 5rem; flex-shrink: 0; overflow: hidden; background: var(--color-secondary); display: block; }
.theme-cart-item__image img { object-fit: cover; }
.theme-cart-item__body { flex: 1; min-width: 0; }
.theme-cart-item__top { display: flex; align-items: flex-start; justify-content: space-between; gap: 0.75rem; }
.theme-cart-item__name { font-family: var(--font-display); font-size: 1.125rem; line-height: 1.2; display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0; transition: color 0.2s ease; }
.theme-cart-item__name:hover { color: var(--color-primary); }
.theme-cart-item__line-price { font-weight: 600; font-size: 14px; flex-shrink: 0; }
.theme-cart-item__variation, .theme-cart-item__unit-price { font-size: 11px; letter-spacing: 0.05em; color: var(--color-muted-foreground); margin-top: 0.125rem; }
.theme-cart-item__controls { display: flex; align-items: center; gap: 0.5rem; margin-top: 0.75rem; }
.theme-cart-item__qty { display: inline-flex; align-items: center; border: 1px solid color-mix(in srgb, var(--color-foreground) 20%, transparent); background: var(--color-background); }
.theme-cart-item__qty-btn { padding: 0.375rem 0.5rem; transition: background-color 0.2s ease, color 0.2s ease; }
.theme-cart-item__qty-btn:hover { background: var(--color-foreground); color: var(--color-background); }
.theme-cart-item__qty-value { padding: 0 0.75rem; font-size: 14px; font-weight: 600; min-width: 28px; text-align: center; }
.theme-cart-item__remove { margin-left: auto; display: inline-flex; align-items: center; gap: 0.25rem; font-size: 10px; letter-spacing: 0.2em; text-transform: uppercase; font-weight: 600; color: var(--color-muted-foreground); transition: color 0.2s ease; }
.theme-cart-item__remove:hover { color: var(--color-primary); }

.theme-cart-drawer__footer { background: var(--color-card); border-top: 1px solid color-mix(in srgb, var(--color-foreground) 10%, transparent); padding: 1.25rem; display: flex; flex-direction: column; gap: 1rem; }
.theme-cart-drawer__subtotal-row { display: flex; justify-content: space-between; align-items: baseline; }
.theme-cart-drawer__subtotal-label { font-size: 11px; letter-spacing: 0.28em; text-transform: uppercase; font-weight: 600; color: var(--color-muted-foreground); }
.theme-cart-drawer__subtotal-value { font-family: var(--font-display); font-size: 1.875rem; }
.theme-cart-drawer__checkout-btn {
	width: 100%; display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
	background: var(--color-primary); color: var(--color-primary-foreground);
	padding: 1rem 1.5rem;
	font-size: 12px; letter-spacing: 0.28em; text-transform: uppercase; font-weight: 600;
	transition: opacity 0.2s ease;
}
.theme-cart-drawer__checkout-btn:hover { opacity: 0.85; }
.theme-cart-drawer__empty-cart-btn {
	width: 100%; display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
	border: 1px solid color-mix(in srgb, var(--color-foreground) 20%, transparent);
	color: var(--color-muted-foreground);
	padding: 0.625rem 1rem;
	font-size: 10px; letter-spacing: 0.24em; text-transform: uppercase; font-weight: 600;
	transition: color 0.2s ease, border-color 0.2s ease;
}
.theme-cart-drawer__empty-cart-btn:hover { color: var(--color-primary); border-color: var(--color-primary); }

/* Hide WooCommerce's own injected "View cart" link (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,
#theme-cart-drawer .woocommerce-message { display: none; }
.woocommerce-message, .woocommerce-info, .woocommerce-error {
	font-family: var(--font-body);
	border-top-color: var(--color-primary);
	padding: 1em 1.5em;
	border-radius: 0;
	background: var(--color-card);
	color: var(--color-foreground);
}

/* -------------------------------------------------------------------------
   ADD TO CART BUTTON: STYLE OVERRIDE (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-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;
	gap: 0.5rem;
	font-family: var(--font-display) !important;
	font-size: var(--btn-font-size) !important;
	font-weight: 700 !important;
	letter-spacing: var(--btn-letter-spacing) !important;
	text-transform: var(--btn-text-transform) !important;
	cursor: pointer !important;
	transition: background-color 0.2s ease, 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-charcoal) !important;
	color: var(--color-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: var(--color-primary) !important;
}
.single-product .single_add_to_cart_button.loading::after,
.ajax_add_to_cart.loading::after { display: none !important; }
.ajax_add_to_cart.theme-btn-loading { opacity: 0.6 !important; pointer-events: none !important; cursor: wait !important; }

/* Card compact circular button — overrides the global rules above */
.theme-product-card__add.add_to_cart_button.ajax_add_to_cart {
	min-height: unset !important;
	height: 2rem !important;
	width: 2rem !important;
	padding: 0 !important;
	border-radius: 50% !important;
	background: transparent !important;
	border: 1px solid color-mix(in srgb, var(--color-foreground) 20%, transparent) !important;
	color: color-mix(in srgb, var(--color-foreground) 70%, transparent) !important;
	font-size: 0 !important;
}
.theme-product-card__add.add_to_cart_button.ajax_add_to_cart:hover {
	background: var(--color-primary) !important;
	color: var(--color-primary-foreground) !important;
	border-color: var(--color-primary) !important;
}

/* -------------------------------------------------------------------------
   QUANTITY (Section 11.6)
   ------------------------------------------------------------------------- */
.theme-quantity-wrapper, .theme-cart-item__qty {
	display: inline-flex; align-items: stretch;
	border: 2px solid var(--color-charcoal);
	background: var(--color-background);
}
.theme-qty-minus, .theme-qty-plus {
	padding: 0.75rem 0.875rem;
	transition: background-color 0.2s ease, color 0.2s ease;
}
.theme-qty-minus:hover, .theme-qty-plus:hover { background: var(--color-charcoal); color: var(--color-cream); }
.theme-qty-input {
	width: 3.25rem; text-align: center;
	border: none; background: transparent;
	font-family: var(--font-display); font-weight: 700; font-size: 1.125rem;
	-moz-appearance: textfield;
}
.theme-qty-input::-webkit-outer-spin-button, .theme-qty-input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }

/* -------------------------------------------------------------------------
   SINGLE PRODUCT PAGE (Section 11)
   ------------------------------------------------------------------------- */
.single-breadcrumb-bar { background: var(--color-charcoal); color: var(--color-cream); border-bottom: 1px solid color-mix(in srgb, var(--color-ochre) 25%, transparent); }
.single-breadcrumb-bar__inner { padding-top: 1rem; padding-bottom: 1rem; }
.single-breadcrumb { font-family: var(--font-body); font-size: 11px; letter-spacing: 0.22em; text-transform: uppercase; font-weight: 600; display: flex; flex-wrap: wrap; align-items: center; gap: 0.375rem 0.5rem; }
.single-breadcrumb__link { display: inline-flex; align-items: center; gap: 0.375rem; color: color-mix(in srgb, var(--color-cream) 70%, transparent); transition: color 0.2s ease; }
.single-breadcrumb__link:hover { color: var(--color-ochre); }
.single-breadcrumb__sep { color: color-mix(in srgb, var(--color-cream) 30%, transparent); }
.single-breadcrumb__current { color: var(--color-ochre); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 60vw; }

.single-product-page { padding-top: 2.5rem; padding-bottom: 3.5rem; }
@media (min-width: 768px) { .single-product-page { padding-top: 3.5rem; padding-bottom: 3.5rem; } }
.single-product-page__layout.theme-product-layout {
	display: grid; grid-template-columns: 1fr; gap: 2rem;
	padding-bottom: 4rem;
	align-items: start;
	min-width: 0;
}
@media (min-width: 1024px) { .single-product-page__layout.theme-product-layout { grid-template-columns: 7fr 5fr; gap: 3.5rem; } }

.theme-product-gallery, .theme-product-info { min-width: 0; max-width: 100%; }
.theme-product-gallery__main { position: relative; background: var(--color-cream); border: 2px solid var(--color-charcoal); box-shadow: var(--shadow-soft); overflow: hidden; aspect-ratio: 4/5; display: flex; align-items: center; justify-content: center; background-color: var(--color-secondary); }
.theme-product-gallery__img { padding: 0; opacity: 0; transition: opacity 0.5s ease; }
.theme-product-gallery__img.is-loaded { opacity: 1; }
.theme-product-gallery__tag { position: absolute; display: inline-flex; align-items: center; gap: 0.375rem; padding: 0.25rem 0.625rem; font-size: 10px; letter-spacing: 0.16em; text-transform: uppercase; font-weight: 500; border: 1px solid; }
.theme-product-gallery__tag--category { top: 1rem; left: 1rem; background: var(--color-charcoal); color: var(--color-cream); border-color: var(--color-charcoal); }
.theme-product-gallery__tag--category a { color: inherit; }
.theme-product-gallery__tag--sold { top: 1rem; right: 1rem; background: var(--color-cream); color: var(--color-charcoal); border-color: var(--color-cream); }

.theme-product-thumbnails { display: flex; gap: 0.75rem; margin-top: 1rem; overflow-x: auto; padding-bottom: 0.25rem; flex-wrap: wrap; max-width: 100%; }
.theme-product-thumbnails__btn { width: 5rem; height: 5rem; flex-shrink: 0; overflow: hidden; border: 2px solid color-mix(in srgb, var(--color-charcoal) 20%, transparent); transition: border-color 0.2s ease; }
@media (min-width: 768px) { .theme-product-thumbnails__btn { width: 6rem; height: 6rem; } }
.theme-product-thumbnails__btn:hover { border-color: color-mix(in srgb, var(--color-charcoal) 50%, transparent); }
.theme-product-thumbnails__btn.is-active { border-color: var(--color-primary); }

.theme-product-info__card { position: relative; background: var(--color-cream); border: 2px solid var(--color-charcoal); box-shadow: var(--shadow-soft); padding: 1.5rem; }
@media (min-width: 768px) { .theme-product-info__card { padding: 2rem; } }
.theme-product-info__perf { position: absolute; top: -1px; left: 0; right: 0; height: 4px; background-image: repeating-linear-gradient(90deg, var(--color-primary) 0 10px, transparent 10px 18px); }
.theme-product-info__eyebrow { color: var(--color-primary); margin-bottom: 0.75rem; }
.product-title.theme-product-info__title { font-family: var(--font-display); font-weight: 500; font-size: 1.875rem; line-height: 1.02; letter-spacing: -0.01em; color: var(--color-foreground); }
@media (min-width: 768px) { .product-title.theme-product-info__title { font-size: 2.25rem; } }
@media (min-width: 1024px) { .product-title.theme-product-info__title { font-size: 3rem; } }
.theme-product-info__price-row { display: flex; align-items: baseline; gap: 0.75rem; margin-top: 1.25rem; margin-bottom: 1.5rem; }
.theme-product-info__price { font-family: var(--font-display); font-size: 2.25rem; color: var(--color-primary); line-height: 1; }
@media (min-width: 768px) { .theme-product-info__price { font-size: 3rem; } }
.theme-product-info__price .woocommerce-Price-amount { font-family: var(--font-display); }
.theme-product-info__currency { font-size: 10px; letter-spacing: 0.24em; text-transform: uppercase; font-weight: 600; color: color-mix(in srgb, var(--color-foreground) 60%, transparent); }
.theme-product-info__desc.woocommerce-product-details__long-description { font-size: 16px; color: color-mix(in srgb, var(--color-foreground) 80%, transparent); line-height: 1.6; overflow-wrap: break-word; word-break: break-word; }
@media (min-width: 768px) { .theme-product-info__desc.woocommerce-product-details__long-description { font-size: 17px; } }
.theme-product-info__divider { margin: 1.75rem 0; border-top: 1px dashed color-mix(in srgb, var(--color-charcoal) 30%, transparent); }

.theme-add-to-cart-area {
	display: flex;
	align-items: stretch;
	flex-wrap: wrap;
	gap: 0.75rem;
}
.theme-add-to-cart-area .single_add_to_cart_button {
	flex: 1 1 auto;
	min-width: 160px;
}

.theme-product-info__trust { margin-top: 1.75rem; padding-top: 1.25rem; border-top: 1px dashed color-mix(in srgb, var(--color-charcoal) 30%, transparent); display: flex; flex-wrap: wrap; gap: 0.5rem 1.25rem; font-size: 10px; letter-spacing: 0.22em; text-transform: uppercase; font-weight: 600; color: color-mix(in srgb, var(--color-foreground) 70%, transparent); }
.theme-product-info__trust span { display: inline-flex; align-items: center; gap: 0.375rem; }
.theme-product-info__trust svg { color: var(--color-primary); }

.theme-product-accordions { margin-top: 1.5rem; border-top: 2px solid color-mix(in srgb, var(--color-charcoal) 15%, transparent); border-bottom: 2px solid color-mix(in srgb, var(--color-charcoal) 15%, transparent); }
.theme-accordion + .theme-accordion { border-top: 1px solid color-mix(in srgb, var(--color-charcoal) 15%, transparent); }
.theme-accordion__trigger { width: 100%; display: flex; align-items: center; justify-content: space-between; padding: 1.25rem 0; text-align: left; }
.theme-accordion__trigger span { font-size: 11px; letter-spacing: 0.26em; text-transform: uppercase; font-weight: 700; color: var(--color-foreground); }
.theme-accordion__chevron { transition: transform 0.2s ease; }
.theme-accordion__chevron.is-rotated { transform: rotate(180deg); }
.theme-accordion__panel { padding-bottom: 1.5rem; overflow-wrap: break-word; word-break: break-word; }
.theme-accordion__list { display: flex; flex-direction: column; gap: 0.625rem; }
.theme-accordion__list li { display: flex; align-items: flex-start; font-size: 15px; color: color-mix(in srgb, var(--color-foreground) 80%, transparent); }
.theme-accordion__dot { width: 6px; height: 6px; border-radius: 50%; background: var(--color-primary); margin-top: 0.5rem; margin-right: 0.75rem; flex-shrink: 0; }
.theme-accordion__panel p { font-size: 15px; color: color-mix(in srgb, var(--color-foreground) 80%, transparent); line-height: 1.6; }
.theme-accordion__panel p + p { margin-top: 0.75rem; }
.theme-accordion__link { color: var(--color-primary); font-weight: 600; }
.theme-accordion__link:hover { text-decoration: underline; }

.posted_in { overflow-wrap: break-word; word-break: break-word; }

.related-products-section { padding: 4rem 0; border-top: 1px solid color-mix(in srgb, var(--color-charcoal) 15%, transparent); }
.related-products-section__head { text-align: center; margin-bottom: 2.5rem; }
.related-products-section__eyebrow { justify-content: center; }
.related-products-section__title { font-size: 1.875rem; }
@media (min-width: 768px) { .related-products-section__title { font-size: 2.25rem; } }
.related-products-grid { max-width: 100%; margin: 0 auto; }
.related-products-grid--1 { max-width: 20rem; grid-template-columns: 1fr; }
.related-products-grid--2 { max-width: 48rem; grid-template-columns: repeat(2, minmax(0,1fr)); }
.related-products-grid--3 { max-width: 64rem; }
@media (min-width: 1024px) { .related-products-grid--3 { grid-template-columns: repeat(3, minmax(0,1fr)); } }

/* Variation table layout (Section 11.5.1) */
.single-product .variations.shop_attributes tbody,
.single-product .variations tbody tr,
.single-product .variations tbody td { display: block; width: 100%; }
.single-product .variations tbody td.label { padding-bottom: 0.25rem; font-size: 11px; letter-spacing: 0.24em; text-transform: uppercase; font-weight: 700; }
.single-product .variations tbody td.value { padding-top: 0; padding-bottom: 1rem; }
.single-product .variations select { width: 100%; padding: 0.75rem 1rem; border: 2px solid color-mix(in srgb, var(--color-charcoal) 25%, transparent); background: var(--color-background); font-family: var(--font-body); }

/* -------------------------------------------------------------------------
   SHOP ARCHIVE (Section 19)
   ------------------------------------------------------------------------- */
.shop-main__inner { padding-top: 3rem; padding-bottom: 4rem; }
.shop-main__header { text-align: left; margin-bottom: 2rem; }
.shop-heading { font-size: 2rem; }
@media (min-width: 768px) { .shop-heading { font-size: 2.75rem; } }
.theme-shop-empty { padding: 3rem 0; font-size: 1.125rem; color: var(--color-muted-foreground); text-align: center; }

/* -------------------------------------------------------------------------
   404
   ------------------------------------------------------------------------- */
.notfound-main { min-height: 70vh; display: flex; align-items: center; justify-content: center; background: var(--color-muted); }
.notfound-main__inner { text-align: center; padding: 4rem 1.5rem; }
.notfound-main__title { font-size: 2.5rem; font-weight: 700; margin-bottom: 1rem; }
.notfound-main__text { font-size: 1.25rem; color: var(--color-muted-foreground); margin-bottom: 1rem; }
.notfound-main__link { color: var(--color-primary); text-decoration: underline; }
.notfound-main__link:hover { opacity: 0.9; }

/* -------------------------------------------------------------------------
   GENERIC PAGE / INDEX
   ------------------------------------------------------------------------- */
.page-main__inner, .generic-main__inner { padding-top: 3rem; padding-bottom: 4rem; }
.page-title { font-size: 2rem; margin-bottom: 1.5rem; }
@media (min-width: 768px) { .page-title { font-size: 2.75rem; } }
.entry-content { font-size: 16px; line-height: 1.7; }
.entry-content > * + * { margin-top: 1.25rem; }

/* -------------------------------------------------------------------------
   THANK YOU PAGE (Section 22.8)
   ------------------------------------------------------------------------- */
body.theme-thankyou-page { overflow-x: hidden; background: var(--color-charcoal); color: var(--color-cream); }
body.theme-thankyou-page .site-main { padding-top: calc(var(--header-height) + 2rem); padding-bottom: 4rem; }
.theme-thankyou { max-width: 42rem; margin: 0 auto; text-align: center; padding: 3rem 0; }
.theme-thankyou__icon { width: 5rem; height: 5rem; background: var(--color-primary); color: var(--color-primary-foreground); border-radius: 50%; display: flex; align-items: center; justify-content: center; margin: 0 auto 2rem; }
.theme-thankyou__eyebrow { justify-content: center; color: var(--color-ochre); }
.theme-thankyou__eyebrow .eyebrow-rule { background: var(--color-ochre); }
.theme-thankyou__title { font-size: 2.5rem; margin-bottom: 1.25rem; text-transform: uppercase; font-weight: 700; }
@media (min-width: 768px) { .theme-thankyou__title { font-size: 3rem; } }
.theme-thankyou__message { color: color-mix(in srgb, var(--color-cream) 80%, transparent); font-size: 1.0625rem; line-height: 1.6; margin-bottom: 2.5rem; max-width: 28rem; margin-left: auto; margin-right: auto; }
.theme-thankyou__cta { display: inline-flex; align-items: center; gap: 0.5rem; background: var(--color-primary); color: var(--color-primary-foreground); padding: 1rem 2rem; font-size: 12px; letter-spacing: 0.24em; text-transform: uppercase; font-weight: 700; margin-top: 1.5rem; transition: background-color 0.2s ease, color 0.2s ease; }
.theme-thankyou__cta:hover { background: var(--color-cream); color: var(--color-charcoal); }

body.theme-thankyou-page .woocommerce-order { margin-top: 2rem; text-align: left; }
body.theme-thankyou-page .woocommerce-order h2,
body.theme-thankyou-page .woocommerce-order-details__title { font-family: var(--font-display); font-size: 1.5rem; padding: 0 0 1rem 0; color: var(--color-cream); }
body.theme-thankyou-page .woocommerce-order-overview { display: flex; flex-wrap: wrap; gap: 1rem 2rem; list-style: none; padding: 1.25rem; margin: 0 0 2rem; background: color-mix(in srgb, var(--color-cream) 8%, transparent); }
body.theme-thankyou-page .woocommerce-order-overview li { font-size: 14px; }
body.theme-thankyou-page .woocommerce-order-overview li strong { display: block; margin-top: 0.25rem; font-size: 16px; }
body.theme-thankyou-page .woocommerce-customer-details { display: flex; flex-direction: column; gap: 1.5rem; }
body.theme-thankyou-page .woocommerce-customer-details address { max-width: 480px; overflow-wrap: break-word; border: none; padding: 0; font-style: normal; }
@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; }
}
body.theme-thankyou-page .woocommerce-order-details table { width: 100%; table-layout: fixed; border-collapse: collapse; margin-top: 1rem; }
body.theme-thankyou-page .woocommerce-order-details table th,
body.theme-thankyou-page .woocommerce-order-details table td { padding: 0.75rem 0.5rem; border-bottom: 1px solid color-mix(in srgb, var(--color-cream) 12%, transparent); }
body.theme-thankyou-page .woocommerce-order-details tfoot th { text-align: left; }
body.theme-thankyou-page .woocommerce-order-details tfoot td { text-align: right; }

/* -------------------------------------------------------------------------
   CHECKOUT PAGE (Lovable parity)
   ------------------------------------------------------------------------- */
body.woocommerce-checkout {
	background: var(--color-charcoal);
	color: var(--color-cream);
}
body.woocommerce-checkout .site-header {
	background: var(--color-background);
	border-bottom-color: color-mix(in srgb, var(--color-foreground) 10%, transparent);
	color: var(--color-foreground);
}
body.woocommerce-checkout .site-header__gradient { opacity: 0; }

.checkout-top-bar {
	border-bottom: 1px solid color-mix(in srgb, var(--color-cream) 10%, transparent);
}
.checkout-top-bar__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	padding-top: 1.25rem;
	padding-bottom: 1.25rem;
}
.checkout-top-bar__back {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	font-family: var(--font-body);
	font-size: 11px;
	letter-spacing: 0.24em;
	text-transform: uppercase;
	font-weight: 600;
	color: color-mix(in srgb, var(--color-cream) 70%, transparent);
	transition: color 0.2s ease;
}
.checkout-top-bar__back:hover { color: var(--color-ochre); }
.checkout-top-bar__trust {
	display: none;
	align-items: center;
	gap: 0.75rem;
	font-family: var(--font-body);
	font-size: 11px;
	letter-spacing: 0.24em;
	text-transform: uppercase;
	font-weight: 600;
	color: color-mix(in srgb, var(--color-cream) 60%, transparent);
}
.checkout-top-bar__trust svg { color: var(--color-ochre); flex-shrink: 0; }
@media (min-width: 640px) { .checkout-top-bar__trust { display: inline-flex; } }

body.woocommerce-checkout .checkout-main { padding-top: 0; padding-bottom: 4rem; }
body.woocommerce-checkout .checkout-main__inner {
	padding-top: 2.5rem;
	padding-bottom: 0;
}
@media (min-width: 768px) {
	body.woocommerce-checkout .checkout-main__inner { padding-top: 3.5rem; }
}

.checkout-page-head { margin-bottom: 2.5rem; }
@media (min-width: 768px) { .checkout-page-head { margin-bottom: 3.5rem; } }
.checkout-page-head__eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	font-family: var(--font-body);
	font-size: 11px;
	letter-spacing: 0.28em;
	text-transform: uppercase;
	font-weight: 500;
	color: var(--color-ochre);
	margin-bottom: 0.75rem;
}
.checkout-page-head__eyebrow-rule {
	height: 1px;
	width: 2rem;
	background: var(--color-ochre);
	display: inline-block;
}
.checkout-page-head__title.page-title {
	max-width: none;
	margin: 0;
	padding: 0;
	font-family: var(--font-display);
	font-weight: 700;
	text-transform: uppercase;
	font-size: 2.25rem;
	line-height: 0.95;
	letter-spacing: -0.01em;
	color: var(--color-cream);
}
@media (min-width: 768px) { .checkout-page-head__title.page-title { font-size: 3rem; } }
@media (min-width: 1024px) { .checkout-page-head__title.page-title { font-size: 3.75rem; } }

body.woocommerce-checkout .entry-content,
body.woocommerce-checkout .checkout-entry-content { max-width: 100%; color: var(--color-cream); }

body.woocommerce-checkout .wc-block-checkout { display: block; }

@media (min-width: 1024px) {
	body.woocommerce-checkout .wc-block-components-sidebar-layout.wc-block-checkout,
	body.woocommerce-checkout .wc-block-checkout.wc-block-components-sidebar-layout {
		display: grid;
		grid-template-columns: 7fr 5fr;
		gap: 3rem;
		align-items: start;
	}
}
@media (min-width: 768px) and (max-width: 1023px) {
	body.woocommerce-checkout .wc-block-components-sidebar-layout.wc-block-checkout,
	body.woocommerce-checkout .wc-block-checkout.wc-block-components-sidebar-layout {
		display: grid;
		grid-template-columns: 1fr 1fr;
		gap: var(--checkout-gap);
		align-items: start;
	}
}

body.woocommerce-checkout .wc-block-components-notice-banner { grid-column: 1 / -1; }

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-checkout__main { order: 1; }
body.woocommerce-checkout .wc-block-checkout__sidebar { order: 2; }

body.woocommerce-checkout .wc-block-components-checkout-step,
body.woocommerce-checkout .wc-block-components-panel {
	background: var(--color-cream) !important;
	color: var(--color-charcoal) !important;
	border: 2px solid var(--color-cream) !important;
	border-radius: 0 !important;
	padding: 1.5rem !important;
}
@media (min-width: 768px) {
	body.woocommerce-checkout .wc-block-components-checkout-step,
	body.woocommerce-checkout .wc-block-components-panel { padding: 2rem !important; }
}

body.woocommerce-checkout .wc-block-components-checkout-step__title,
body.woocommerce-checkout .wc-block-components-checkout-step__heading {
	font-family: var(--font-display) !important;
	font-weight: 700 !important;
	text-transform: uppercase !important;
	letter-spacing: -0.01em !important;
	color: var(--color-charcoal) !important;
}

body.woocommerce-checkout .wc-block-components-text-input input,
body.woocommerce-checkout .wc-block-components-textarea textarea,
body.woocommerce-checkout .wc-block-components-combobox .wc-block-components-combobox-control input,
body.woocommerce-checkout .wc-block-components-form .wc-block-components-text-input input,
body.woocommerce-checkout .wc-block-components-select select,
body.woocommerce-checkout select.wc-block-components-select__select,
body.woocommerce-checkout .wc-block-components-select .wc-block-components-select__select,
body.woocommerce-checkout .wc-block-components-country-input select,
body.woocommerce-checkout .wc-block-components-state-input select,
body.woocommerce-checkout .wc-block-components-address-form select,
body.woocommerce-checkout .wc-block-components-form select {
	width: 100% !important;
	max-width: none !important;
	font-family: var(--font-body) !important;
	font-size: 1rem !important;
	font-weight: 400 !important;
	color: var(--color-foreground) !important;
	border: 2px solid color-mix(in srgb, var(--color-charcoal) 25%, transparent) !important;
	border-radius: 0 !important;
	background-color: var(--color-background) !important;
	background-image: none;
	box-shadow: none !important;
	-webkit-appearance: none !important;
	appearance: none !important;
	min-height: 3.25rem !important;
	line-height: 1.5 !important;
}
body.woocommerce-checkout .wc-block-components-text-input input::placeholder,
body.woocommerce-checkout .wc-block-components-textarea textarea::placeholder {
	color: color-mix(in srgb, var(--color-foreground) 40%, transparent) !important;
	opacity: 1 !important;
}
body.woocommerce-checkout .wc-block-components-text-input input:focus,
body.woocommerce-checkout .wc-block-components-textarea textarea:focus,
body.woocommerce-checkout .wc-block-components-combobox .wc-block-components-combobox-control input:focus,
body.woocommerce-checkout .wc-block-components-select select:focus,
body.woocommerce-checkout select.wc-block-components-select__select:focus,
body.woocommerce-checkout .wc-block-components-country-input select:focus,
body.woocommerce-checkout .wc-block-components-state-input select:focus,
body.woocommerce-checkout .wc-block-components-address-form select:focus {
	border-color: var(--color-primary) !important;
	outline: none !important;
	box-shadow: none !important;
}
body.woocommerce-checkout .wc-block-components-text-input input { padding: revert; }
body.woocommerce-checkout .wc-block-components-select,
body.woocommerce-checkout .wc-block-components-address-form .wc-block-components-select,
body.woocommerce-checkout .wc-block-components-country-input,
body.woocommerce-checkout .wc-block-components-state-input {
	position: relative;
	width: 100% !important;
}
body.woocommerce-checkout .wc-block-components-select select,
body.woocommerce-checkout select.wc-block-components-select__select,
body.woocommerce-checkout .wc-block-components-country-input select,
body.woocommerce-checkout .wc-block-components-state-input select,
body.woocommerce-checkout .wc-block-components-address-form select {
	background-image: linear-gradient(45deg, transparent 50%, var(--color-charcoal) 50%), linear-gradient(135deg, var(--color-charcoal) 50%, transparent 50%) !important;
	background-position: calc(100% - 18px) calc(50% + 2px), calc(100% - 12px) calc(50% + 2px) !important;
	background-size: 6px 6px, 6px 6px !important;
	background-repeat: no-repeat !important;
	padding-right: 2.25rem !important;
	cursor: pointer !important;
}
/* Force wrapper-based selects (Blocks may style the container instead of native select). */
body.woocommerce-checkout .wc-block-components-select .wc-block-components-select__container,
body.woocommerce-checkout .wc-block-components-select__container,
body.woocommerce-checkout .wc-block-components-combobox .wc-block-components-combobox-control,
body.woocommerce-checkout .components-custom-select-control__button {
	width: 100% !important;
	min-height: 3.25rem !important;
	font-family: var(--font-body) !important;
	font-size: 1rem !important;
	color: var(--color-foreground) !important;
	border: 2px solid color-mix(in srgb, var(--color-charcoal) 25%, transparent) !important;
	border-radius: 0 !important;
	background: var(--color-background) !important;
	box-shadow: none !important;
}
body.woocommerce-checkout .wc-block-components-select .wc-block-components-select__container:focus-within,
body.woocommerce-checkout .wc-block-components-combobox .wc-block-components-combobox-control:focus-within,
body.woocommerce-checkout .components-custom-select-control__button:focus {
	border-color: var(--color-primary) !important;
	outline: none !important;
	box-shadow: none !important;
}
body.woocommerce-checkout .wc-block-components-text-input label,
body.woocommerce-checkout .wc-block-components-select label,
body.woocommerce-checkout .wc-block-components-textarea label {
	font-family: var(--font-body) !important;
	font-size: 11px !important;
	letter-spacing: 0.24em !important;
	text-transform: uppercase !important;
	font-weight: 700 !important;
	color: var(--color-charcoal) !important;
}

body.woocommerce-checkout .wc-block-components-checkout-place-order-button,
body.woocommerce-checkout .wc-block-components-button {
	background: var(--color-primary) !important;
	color: var(--color-primary-foreground) !important;
	border-radius: 0 !important;
	font-family: var(--font-display) !important;
	font-weight: 700 !important;
	text-transform: uppercase !important;
	letter-spacing: 0.24em !important;
	min-height: 3.25rem !important;
	border: none !important;
}
body.woocommerce-checkout .wc-block-components-checkout-place-order-button:hover,
body.woocommerce-checkout .wc-block-components-button:hover {
	background: var(--color-cream) !important;
	color: var(--color-charcoal) !important;
	opacity: 1 !important;
}

body.woocommerce-checkout .wc-block-checkout__sidebar,
body.woocommerce-checkout .wc-block-cart__sidebar {
	background: var(--color-cream) !important;
	color: var(--color-charcoal) !important;
	border: 2px solid var(--color-cream) !important;
	border-radius: 0 !important;
	box-shadow: var(--shadow-elevated) !important;
	padding: 2rem !important;
}
body.woocommerce-checkout .wc-block-components-order-summary-item__quantity {
	background-color: var(--color-primary) !important;
	border-color: var(--color-primary) !important;
	color: var(--color-primary-foreground) !important;
}
body.woocommerce-checkout .wc-block-components-formatted-money-amount,
body.woocommerce-checkout .wc-block-components-product-price {
	font-family: var(--font-display) !important;
	color: var(--color-primary) !important;
}
body.woocommerce-checkout .wc-block-components-notice-banner {
	border-radius: 0;
	font-family: var(--font-body);
}

.woocommerce-checkout .form-row .input-text,
.woocommerce-checkout .form-row select,
.woocommerce-checkout .form-row textarea {
	font-family: var(--font-body) !important;
	font-size: 1rem !important;
	color: var(--color-foreground) !important;
	border: 2px solid color-mix(in srgb, var(--color-charcoal) 25%, transparent) !important;
	border-radius: 0 !important;
	background: var(--color-background) !important;
	box-shadow: none !important;
	-webkit-appearance: none !important;
	appearance: none !important;
	min-height: 3.25rem !important;
}
.woocommerce-checkout .form-row select {
	background-image: linear-gradient(45deg, transparent 50%, var(--color-charcoal) 50%), linear-gradient(135deg, var(--color-charcoal) 50%, transparent 50%) !important;
	background-position: calc(100% - 18px) calc(50% + 2px), calc(100% - 12px) calc(50% + 2px) !important;
	background-size: 6px 6px, 6px 6px !important;
	background-repeat: no-repeat !important;
	padding-right: 2.25rem !important;
}
.woocommerce-checkout .form-row .input-text:focus,
.woocommerce-checkout .form-row select:focus,
.woocommerce-checkout .form-row textarea:focus {
	border-color: var(--color-primary) !important;
	outline: none !important;
}
.woocommerce-checkout .form-row .input-text::placeholder,
.woocommerce-checkout .form-row textarea::placeholder {
	color: color-mix(in srgb, var(--color-foreground) 40%, transparent) !important;
}

/* Legacy page.php checkout fallback spacing */
body.woocommerce-checkout .page-main__inner { padding-top: 0; }
body.woocommerce-checkout .page-main .page-title {
	max-width: 80rem;
	margin: 0 auto 1.5rem;
	padding: 0 1.25rem;
	font-family: var(--font-display);
	text-transform: uppercase;
	font-size: 2rem;
	color: var(--color-cream);
}
@media (min-width: 640px) { body.woocommerce-checkout .page-main .page-title { padding: 0 1.5rem; } }
@media (min-width: 1024px) { body.woocommerce-checkout .page-main .page-title { padding: 0 2rem; font-size: 2.75rem; } }
body.woocommerce-checkout .site-main.page-main { padding-top: 0; padding-bottom: 4rem; }

body.woocommerce-cart .page-title,
body.woocommerce-account .page-title {
	max-width: 80rem;
	margin-left: auto;
	margin-right: auto;
	padding: 0 1.25rem;
	font-family: var(--font-display);
	text-transform: uppercase;
	font-size: 2rem;
	margin-bottom: 2rem;
}
@media (min-width: 640px) {
	body.woocommerce-cart .page-title,
	body.woocommerce-account .page-title { padding: 0 1.5rem; }
}
@media (min-width: 1024px) {
	body.woocommerce-cart .page-title,
	body.woocommerce-account .page-title { padding: 0 2rem; font-size: 2.75rem; }
}

/* -------------------------------------------------------------------------
   CART / ACCOUNT WIDTH PARITY (Section 13.7)
   ------------------------------------------------------------------------- */
body.woocommerce-cart .site-main,
body.woocommerce-account .site-main { padding-top: calc(var(--header-height) + 2rem); padding-bottom: 4rem; }
body.woocommerce-cart .entry-content,
body.woocommerce-account .entry-content { max-width: 100%; }
