/* =========================================================
   Covenant Humbition — theme.css
   ========================================================= */

:root {
	--color-background: #f9f9fb;
	--color-foreground: #0f1729;
	--color-primary: #0a192e;
	--color-primary-foreground: #f9f9fb;
	--color-secondary: #f2f3f7;
	--color-secondary-foreground: #1d283a;
	--color-muted-foreground: #4e5e73;
	--color-accent: #d4af35;
	--color-accent-foreground: #0a192e;
	--color-border: #e1e7ef;
	--color-navy-slate: #1d283a;
	--color-navy-obsidian: #050d1a;
	--color-champagne: #e1c047;
	--color-button-text: var(--color-primary-foreground);

	--font-display: 'Playfair Display', serif;
	--font-eyebrow: 'Plus Jakarta Sans', sans-serif;
	--font-body: 'Inter', sans-serif;
	--font-cover: 'Copperplate Gothic Bold', 'Copperplate Gothic Std', 'Copperplate', 'Big Caslon', 'Optima', serif;

	--radius: 1rem;
	--card-radius: 1rem;
	--logo-height: 48px;

	--shadow-soft: 0 4px 20px -6px rgba(10, 25, 46, 0.10);
	--shadow-elevated: 0 18px 45px -12px rgba(10, 25, 46, 0.25);
	--shadow-gold: 0 10px 30px -10px rgba(212, 175, 53, 0.45);

	--ease-smooth: cubic-bezier(0.4, 0, 0.2, 1);

	--btn-radius: 0.5rem;
	--btn-height: 2.75rem;
	--btn-padding: 0 2rem;
	--btn-font-size: 0.875rem;
	--btn-font-weight: 500;
	--btn-letter-spacing: normal;
	--btn-text-transform: none;
	--btn-icon-padding: 0.75rem;

	--header-height: 132px;
	--header-height-scrolled: 80px;

	/* Lovable container-wide: px-6 (24px) until lg, then lg:px-12 (48px). */
	--container-pad-x: 1.5rem;
}
@media (min-width: 1024px) {
	:root {
		--container-pad-x: 3rem;
	}
}

/* ---------------- Reset & base ---------------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
	margin: 0;
	background-color: var(--color-background);
	color: var(--color-foreground);
	font-family: var(--font-body);
	-webkit-font-smoothing: antialiased;
	overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
	font-family: var(--font-display);
	font-weight: 400;
	font-size: inherit;
	margin: 0;
	line-height: 1.2;
	text-wrap: balance;
}

p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
a { color: inherit; text-decoration: none; cursor: pointer; }
button,
input[type="button"],
input[type="submit"],
input[type="reset"],
select,
summary,
label[for],
[role="button"] { cursor: pointer; }
button { font: inherit; background: none; border: none; color: inherit; }
input, textarea, select { font: inherit; }

img:not(.cover-img):not(.hero-bg-video):not(.hero-poster-img):not(.product-card-img):not(.flagship-image-img):not(.founder-photo-img):not(.values-bg-img) {
	max-width: 100%;
	height: auto;
	display: block;
}

.cover-img,
.product-card-img,
.flagship-image-img,
.founder-photo-img,
.values-bg-img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

/* Matches Lovable: w-full mx-auto px-6 lg:px-12, max-width 1280px.
   Longhands + higher specificity so vertical padding utilities cannot zero the sides. */
.container-wide {
	width: 100%;
	max-width: 1280px;
	margin-left: auto;
	margin-right: auto;
	box-sizing: border-box;
	padding-left: var(--container-pad-x);
	padding-right: var(--container-pad-x);
}
.container-wide[class] {
	padding-left: var(--container-pad-x);
	padding-right: var(--container-pad-x);
}

.section-py,
.py-section {
	padding-top: 3rem;
	padding-bottom: 3rem;
}
@media (min-width: 768px) {
	.section-py,
	.py-section {
		padding-top: 5rem;
		padding-bottom: 5rem;
	}
}
@media (min-width: 1024px) {
	.section-py,
	.py-section {
		padding-top: 7rem;
		padding-bottom: 7rem;
	}
}

.overflow-x-clip { overflow-x: clip; }

.icon { width: 1.25rem; height: 1.25rem; }
.icon-xs { width: 0.85rem; height: 0.85rem; }
.icon-sm { width: 1.25rem; height: 1.25rem; }
.icon-md { width: 2rem; height: 2rem; }
.icon-lg { width: 3rem; height: 3rem; }

.eyebrow-text {
	font-family: var(--font-eyebrow);
	font-size: 0.75rem;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.22em;
	color: var(--color-accent);
	display: block;
}

.italic { font-style: italic; }
.text-accent { color: var(--color-accent); }

.book-title {
	font-family: var(--font-cover);
	text-transform: uppercase;
	letter-spacing: 0.06em;
}

.gold-pill {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	border-radius: 999px;
	border: 1px solid color-mix(in srgb, var(--color-accent) 40%, transparent);
	background: color-mix(in srgb, var(--color-accent) 10%, transparent);
	padding: 0.5rem 1rem;
	font-family: var(--font-eyebrow);
	font-size: 0.7rem;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.2em;
	color: var(--color-accent);
}

.card-surface {
	border-radius: var(--card-radius);
	background: #fff;
	border: 1px solid var(--color-border);
	box-shadow: var(--shadow-soft);
	transition: box-shadow 0.3s var(--ease-smooth), border-color 0.3s var(--ease-smooth), transform 0.3s var(--ease-smooth);
}
.card-surface:hover {
	box-shadow: var(--shadow-elevated);
	border-color: color-mix(in srgb, var(--color-accent) 40%, transparent);
}

/* ---------------- Buttons ---------------- */
.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.5rem;
	min-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);
	transition: opacity 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
	white-space: nowrap;
	line-height: 1.25;
	cursor: pointer;
}
.btn-lg { min-height: 2.75rem; padding: 0 2rem; font-size: 1rem; }
.btn:hover { opacity: 0.9; transform: translateY(-2px); }
.btn-primary { background: var(--color-primary); color: var(--color-primary-foreground); }
.btn-primary:hover { background: var(--color-navy-slate); opacity: 1; }
.btn-accent { background: var(--color-accent); color: var(--color-accent-foreground); box-shadow: var(--shadow-gold); }
.btn-accent:hover { background: var(--color-champagne); opacity: 1; }
.btn-outline { background: transparent; border: 1px solid color-mix(in srgb, var(--color-accent) 50%, transparent); color: var(--color-foreground); }
.btn-outline:hover { background: color-mix(in srgb, var(--color-accent) 10%, transparent); }
.btn-outline-light { background: rgba(255,255,255,0.05); border: 1px solid color-mix(in srgb, var(--color-accent) 50%, transparent); color: #fff; backdrop-filter: blur(4px); }
.btn-outline-light:hover { background: color-mix(in srgb, var(--color-accent) 15%, transparent); color: #fff; }

/* ---------------- Scroll reveal animations (Section 2.1) ---------------- */
.reveal-item {
	opacity: 0;
	transform: translateY(20px);
	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 .reveal-stagger > * {
	opacity: 1 !important;
	transform: none !important;
}

@media (prefers-reduced-motion: reduce) {
	.reveal-item { transition: none; opacity: 1; transform: none; }
	* { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
}

@keyframes theme-fade-in { from { opacity: 0; } to { opacity: 1; } }
@keyframes theme-slide-up { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }
.animate-fade-in { animation: theme-fade-in 0.6s var(--ease-smooth) forwards; }
.animate-slide-up { animation: theme-slide-up 0.6s var(--ease-smooth) forwards; }

/* =========================================================
   Header
   ========================================================= */
.site-header {
	position: fixed;
	top: 0; left: 0; right: 0;
	z-index: 50;
}
body.admin-bar .site-header {
	top: var(--wp-admin--admin-bar--height, 32px);
}
.site-header__announcement {
	background: var(--color-navy-obsidian);
	color: var(--color-primary-foreground);
}
.site-header__announcement .container-wide { padding-top: 0.5rem; padding-bottom: 0.5rem; }
.theme-announcement-text {
	font-family: var(--font-eyebrow);
	font-size: 0.68rem;
	letter-spacing: 0.12em;
	text-align: center;
	color: rgba(249,249,251,0.8);
}
.announcement-dot { color: var(--color-accent); }

.site-header__bar {
	transition: background-color 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
	background: var(--color-primary);
	border-bottom: 1px solid rgba(255,255,255,0.1);
}
.site-header.is-solid .site-header__bar,
.site-header.menu-open .site-header__bar {
	background: color-mix(in srgb, var(--color-background) 95%, transparent);
	backdrop-filter: blur(10px);
	border-bottom: 1px solid var(--color-border);
	box-shadow: var(--shadow-soft);
}

.site-header__nav {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 0.75rem;
	padding: 0.5rem 0;
	min-height: 4rem;
}
@media (min-width: 1024px) { .site-header__nav { min-height: 5rem; } }

.site-logo { display: inline-flex; align-items: center; gap: 0.75rem; }
.site-logo-img { height: var(--logo-height) !important; width: auto !important; display: block; }
.site-logo-text {
	display: none;
	font-family: var(--font-eyebrow);
	font-size: 0.68rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.18em;
	line-height: 1.3;
	color: #fff;
	transition: color 0.3s ease;
}
@media (min-width: 640px) { .site-logo-text { display: block; } }
.site-header.is-solid .site-logo-text,
.site-header.menu-open .site-logo-text { color: var(--color-foreground); }
.site-logo-text-line2 { display: block; color: var(--color-accent); }

.site-header__menu-desktop { display: none; margin-left: auto; margin-right: 1.5rem; }
@media (min-width: 1024px) { .site-header__menu-desktop { display: block; } }
.theme-nav-list { display: flex; align-items: center; gap: 1.75rem; }
.theme-nav-list a {
	font-family: var(--font-body);
	font-size: 0.875rem;
	letter-spacing: 0.02em;
	padding: 0.75rem 0;
	color: rgba(255,255,255,0.9);
	position: relative;
	transition: color 0.3s ease;
}
.site-header.is-solid .theme-nav-list a { color: var(--color-foreground); }
.theme-nav-list a:hover { color: var(--color-accent); }
.theme-nav-list a::after {
	content: '';
	position: absolute; left: 0; bottom: 0; width: 100%; height: 1px;
	background: currentColor;
	transform: scaleX(0);
	transform-origin: left;
	transition: transform 0.3s var(--ease-smooth);
}
.theme-nav-list a:hover::after { transform: scaleX(1); }

.site-header__actions { display: flex; align-items: center; gap: 0.25rem; }
.theme-cart-button, .theme-mobile-toggle {
	position: relative;
	display: inline-flex; align-items: center; justify-content: center;
	min-width: 2.75rem; min-height: 2.75rem;
	border-radius: 999px;
	color: #fff;
	transition: color 0.3s ease;
}
.site-header.is-solid .theme-cart-button,
.site-header.menu-open .theme-cart-button,
.site-header.is-solid .theme-mobile-toggle,
.site-header.menu-open .theme-mobile-toggle { color: var(--color-foreground); }
.theme-cart-button:hover, .theme-mobile-toggle:hover { color: var(--color-accent); }
.theme-cart-count {
	position: absolute; top: 2px; right: 2px;
	width: 1.15rem; height: 1.15rem;
	display: flex; align-items: center; justify-content: center;
	font-size: 0.62rem; font-weight: 600;
	background: var(--color-accent); color: var(--color-accent-foreground);
	border-radius: 999px;
}
.theme-cart-count:empty { display: none; }

.theme-mobile-toggle { display: inline-flex; }
@media (min-width: 1024px) { .theme-mobile-toggle { display: none; } }
.icon-menu-close { display: none; }
.theme-mobile-toggle[aria-expanded="true"] .icon-menu-open { display: none; }
.theme-mobile-toggle[aria-expanded="true"] .icon-menu-close { display: inline-flex; }

.site-header__menu-mobile {
	display: none;
	border-top: 1px solid var(--color-border);
	padding-top: 0.75rem;
	padding-bottom: 0.75rem;
}
.site-header__menu-mobile.is-open { display: block; animation: theme-fade-in 0.3s var(--ease-smooth); }
.site-header__menu-mobile ul,
.site-header__menu-mobile .theme-nav-list,
.site-header__menu-mobile .theme-nav-list-mobile {
	display: flex;
	flex-direction: column;
	flex-wrap: nowrap;
	align-items: stretch;
	justify-content: flex-start;
	gap: 0;
	width: 100%;
}
.site-header__menu-mobile li {
	display: block;
	float: none;
	width: 100%;
}
.site-header__menu-mobile a {
	display: block;
	width: 100%;
	box-sizing: border-box;
	text-align: left;
	padding: 0.75rem 0.25rem;
	min-height: 2.75rem;
	font-family: var(--font-body);
	font-size: 1rem;
	letter-spacing: 0.02em;
	color: var(--color-foreground);
	line-height: 1.4;
}
.site-header__menu-mobile a::after { display: none; }
.site-header__menu-mobile a:hover { color: var(--color-accent); }
@media (min-width: 1024px) { .site-header__menu-mobile { display: none !important; } }

/* Homepage hero fills the viewport under the fixed transparent header (Section 22.7). */
body.theme-no-hero .theme-page-main,
body.theme-no-hero .theme-resources-main,
body.theme-no-hero .theme-shop-archive-main,
body.theme-no-hero .theme-404-main,
body.theme-no-hero .theme-index-main {
	padding-top: var(--header-height);
}

/* =========================================================
   Hero
   ========================================================= */
.hero-section {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	overflow: hidden;
	background: var(--color-primary);
	min-height: 85vh;
	padding: 7rem 0 4rem;
}
@media (min-width: 768px) { .hero-section { min-height: 100vh; padding: 8rem 0 5rem; } }

.hero-media { position: absolute; inset: 0; }
.hero-bg-video, .hero-poster-img { opacity: 0.75; }
.hero-gradient {
	position: absolute; inset: 0;
	background: linear-gradient(to bottom, color-mix(in srgb, var(--color-primary) 60%, transparent), color-mix(in srgb, var(--color-primary) 55%, transparent) 40%, color-mix(in srgb, var(--color-navy-obsidian) 90%, transparent));
}
.hero-radial {
	position: absolute; inset: 0;
	background: radial-gradient(ellipse at 50% 25%, color-mix(in srgb, var(--color-accent) 16%, transparent) 0%, transparent 60%);
}
.hero-content { position: relative; z-index: 10; text-align: center; }
.hero-pill-row { display: flex; justify-content: center; }
.hero-pill-row .gold-pill { max-width: 100%; text-align: center; line-height: 1.5; }

.hero-heading {
	color: #fff;
	max-width: 56rem;
	margin: 1.5rem auto 1.25rem;
	font-weight: 400;
	line-height: 1.15;
	font-size: 1.875rem;
	text-wrap: balance;
}
@media (min-width: 768px) { .hero-heading { font-size: 3rem; } }
@media (min-width: 1024px) { .hero-heading { font-size: 3.75rem; } }
.hero-heading-accent { font-style: italic; color: var(--color-accent); }

.hero-subtext {
	color: rgba(255,255,255,0.8);
	max-width: 42rem;
	margin: 0 auto 2.25rem;
	font-size: 1rem;
	line-height: 1.6;
}
@media (min-width: 768px) { .hero-subtext { font-size: 1.125rem; } }

.hero-cta-row {
	display: flex;
	flex-direction: column;
	gap: 0.75rem;
	justify-content: center;
	align-items: stretch;
	max-width: 28rem;
	margin: 0 auto;
}
.hero-cta-primary, .hero-cta-secondary {
	width: 100%;
	flex: 0 0 auto;
	min-height: 3rem;
	height: 3rem;
	padding: 0 2rem;
	font-size: 1rem;
	font-weight: 500;
	box-sizing: border-box;
}
@media (min-width: 640px) {
	.hero-cta-row {
		flex-direction: row;
		align-items: center;
		max-width: none;
	}
	.hero-cta-primary,
	.hero-cta-secondary {
		width: auto;
		max-width: max-content;
		flex: 0 0 auto;
		align-self: center;
	}
}

/* =========================================================
   Section headings (per-section scales — Section 2.2.5)
   ========================================================= */
.section-heading {
	font-weight: 400;
	line-height: 1.25;
	margin: 0.75rem 0 1rem;
	text-wrap: balance;
}
.flagship-heading, .store-heading, .services-heading, .founder-heading, .story-heading, .contact-heading, .resources-heading {
	font-size: 1.875rem;
}
@media (min-width: 768px) {
	.flagship-heading, .store-heading, .services-heading, .founder-heading, .story-heading, .resources-heading { font-size: 2.25rem; }
	.contact-heading { font-size: 2.25rem; }
}
@media (min-width: 1024px) {
	.flagship-heading, .store-heading, .services-heading, .founder-heading, .story-heading, .resources-heading { font-size: 3rem; }
	.contact-heading { font-size: 3rem; }
}

/* =========================================================
   Flagship
   ========================================================= */
.flagship-section { position: relative; overflow: hidden; }
.flagship-grid { display: grid; grid-template-columns: 1fr; gap: 2.5rem; align-items: center; }
@media (min-width: 1024px) { .flagship-grid { grid-template-columns: 1fr 1fr; gap: 4rem; } }

.flagship-image-col { position: relative; order: -1; }
@media (min-width: 1024px) { .flagship-image-col { order: 0; } }
.flagship-image-border {
	position: absolute; inset: -0.75rem;
	border: 1px solid color-mix(in srgb, var(--color-accent) 40%, transparent);
	border-radius: var(--card-radius);
	transform: translate(0.75rem, 0.75rem);
}
.flagship-image-frame {
	position: relative;
	overflow: hidden;
	border-radius: var(--card-radius);
	box-shadow: var(--shadow-elevated);
	aspect-ratio: 4 / 5;
}
.flagship-image-gradient {
	position: absolute; inset: 0;
	background: linear-gradient(to top, color-mix(in srgb, var(--color-primary) 70%, transparent), transparent 60%);
}
.flagship-badge { position: absolute; bottom: 1.25rem; left: 1.25rem; background: color-mix(in srgb, var(--color-primary) 70%, transparent); backdrop-filter: blur(4px); }

.flagship-subheading { font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.14em; color: var(--color-muted-foreground); margin-bottom: 1.25rem; }
.flagship-description { color: var(--color-muted-foreground); line-height: 1.7; margin-bottom: 2rem; }

.flagship-theme-grid { display: grid; grid-template-columns: 1fr; gap: 0.75rem; margin-bottom: 2rem; }
@media (min-width: 640px) { .flagship-theme-grid { grid-template-columns: 1fr 1fr; } }
.flagship-theme-card { display: flex; gap: 0.75rem; padding: 1rem; }
.flagship-theme-card:hover { transform: translateY(-4px); }
.flagship-theme-icon {
	flex-shrink: 0;
	display: inline-flex; align-items: center; justify-content: center;
	width: 2.5rem; height: 2.5rem; border-radius: 999px;
	background: color-mix(in srgb, var(--color-accent) 12%, transparent);
	color: var(--color-accent);
}
.flagship-theme-title { font-size: 1.125rem; line-height: 1.2; margin-bottom: 0.25rem; }
.flagship-theme-desc { font-size: 0.875rem; color: var(--color-muted-foreground); line-height: 1.5; }

.flagship-quote { position: relative; border-left: 2px solid var(--color-accent); padding: 0.25rem 0 0.25rem 1.25rem; margin-bottom: 2rem; }
.quote-icon { color: color-mix(in srgb, var(--color-accent) 60%, transparent); margin-bottom: 0.5rem; }
.flagship-quote-text { font-family: var(--font-display); font-style: italic; font-size: 1.125rem; line-height: 1.6; }
@media (min-width: 768px) { .flagship-quote-text { font-size: 1.25rem; } }
.flagship-quote-author { margin-top: 0.75rem; color: var(--color-muted-foreground); }

.flagship-cta-row { display: flex; flex-wrap: wrap; gap: 0.75rem; }
.flagship-note-text { font-size: 0.875rem; color: var(--color-muted-foreground); margin-top: 1rem; }

/* =========================================================
   Store
   ========================================================= */
.store-header { text-align: center; max-width: 42rem; margin: 0 auto 2.5rem; }
@media (min-width: 768px) { .store-header { margin-bottom: 3.5rem; } }
.store-section { scroll-margin-top: var(--header-height); }
.theme-shop-anchor { display: block; height: 0; overflow: hidden; pointer-events: none; }
.store-description { color: var(--color-muted-foreground); line-height: 1.7; margin-top: 1rem; }

.theme-category-filter { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.5rem; margin-bottom: 2.5rem; }
.theme-cat-filter {
	font-family: var(--font-eyebrow);
	font-size: 0.7rem;
	text-transform: uppercase;
	letter-spacing: 0.14em;
	padding: 0.75rem 1rem;
	min-height: 2.75rem;
	border-radius: 999px;
	border: 1px solid var(--color-border);
	background: #fff;
	color: var(--color-muted-foreground);
	transition: all 0.3s ease;
}
.theme-cat-filter:hover { border-color: var(--color-accent); color: var(--color-accent); }
.theme-cat-filter,
.theme-product-thumb,
.theme-attr-pill,
.theme-qty-minus,
.theme-qty-plus,
.theme-cart-button,
.theme-mobile-toggle {
	cursor: pointer;
}
button:disabled,
.btn:disabled,
input:disabled {
	cursor: not-allowed;
}
.theme-cat-filter.is-active { background: var(--color-primary); color: var(--color-primary-foreground); border-color: var(--color-primary); }

.theme-product-grid {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: 1.25rem;
	align-items: stretch;
}
@media (min-width: 640px) { .theme-product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 768px) { .theme-product-grid { gap: 1.5rem; } }
@media (min-width: 1024px) { .theme-store-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .resources-group-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

.theme-product-card-wrap { display: flex; flex-direction: column; height: 100%; }
.theme-product-card { display: flex; flex-direction: column; height: 100%; }
.theme-product-card__image-wrapper {
	position: relative;
	aspect-ratio: 1 / 1;
	overflow: hidden;
	border-radius: var(--card-radius);
	background: var(--color-secondary);
	border: 1px solid var(--color-border);
	margin-bottom: 1rem;
	transition: border-color 0.3s ease, box-shadow 0.3s ease;
}
.theme-product-card:hover .theme-product-card__image-wrapper { border-color: color-mix(in srgb, var(--color-accent) 40%, transparent); box-shadow: var(--shadow-elevated); }
.theme-product-card:hover .product-card-img { transform: scale(1.08); }
.product-card-img {
	object-fit: cover;
	object-position: center center;
	transform: none;
	transition: transform 0.6s var(--ease-smooth);
}
.product-card-img.is-out-of-stock { opacity: 0.6; }

.theme-badge {
	position: absolute; top: 0.5rem; left: 0.5rem;
	padding: 0.35rem 0.75rem;
	border-radius: 999px;
	font-family: var(--font-eyebrow);
	font-size: 0.68rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.06em;
}
@media (min-width: 768px) { .theme-badge { top: 0.75rem; left: 0.75rem; } }
.theme-badge-navy { background: var(--color-primary); color: var(--color-primary-foreground); }
.theme-badge-accent { background: var(--color-accent); color: var(--color-accent-foreground); }
.is-coming-soon .theme-product-card__image-wrapper img { filter: grayscale(1) blur(2px); }

.theme-product-card__body { padding: 0 0.25rem; flex: 1; }
.theme-product-card__title { font-family: var(--font-body); font-size: 1rem; font-weight: 500; margin-bottom: 0.25rem; transition: color 0.3s ease; }
.theme-product-card:hover .theme-product-card__title { color: var(--color-accent); }
.theme-product-card__price { font-family: var(--font-eyebrow); font-size: 0.875rem; font-weight: 600; color: var(--color-accent); }
.theme-empty-message { text-align: center; color: var(--color-muted-foreground); padding: 2rem 0; }

/* =========================================================
   Values band
   ========================================================= */
.values-band { position: relative; overflow: hidden; background: var(--color-primary); isolation: isolate; }
.values-band-gradient { position: absolute; inset: 0; background: linear-gradient(to bottom right, color-mix(in srgb, var(--color-primary) 100%, transparent), color-mix(in srgb, var(--color-primary) 90%, transparent), var(--color-navy-obsidian)); z-index: 1; }
.values-band .values-bg-img { opacity: 0.2; z-index: 0; }
.values-band-inner { position: relative; z-index: 2; padding-top: 3rem; padding-bottom: 3rem; }
@media (min-width: 768px) { .values-band-inner { padding-top: 4rem; padding-bottom: 4rem; } }
.values-grid { display: grid; grid-template-columns: 1fr; gap: 1.5rem; }
@media (min-width: 768px) { .values-grid { grid-template-columns: repeat(3, 1fr); gap: 2.5rem; } }
.values-item { border-left: 2px solid color-mix(in srgb, var(--color-accent) 60%, transparent); padding-left: 1.25rem; }
.values-item-title { font-size: 1.25rem; color: #fff; margin-bottom: 0.5rem; }
@media (min-width: 768px) { .values-item-title { font-size: 1.5rem; } }
.values-item-body { color: rgba(255,255,255,0.7); font-size: 0.875rem; line-height: 1.6; }

/* =========================================================
   Services
   ========================================================= */
.services-header { text-align: center; max-width: 42rem; margin: 0 auto 2.5rem; }
.services-description { color: var(--color-muted-foreground); line-height: 1.7; margin-top: 1rem; }
.services-grid { display: grid; grid-template-columns: 1fr; gap: 1.25rem; }
@media (min-width: 768px) { .services-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .services-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

.service-card { overflow: hidden; display: flex; flex-direction: column; }
.service-card:hover { transform: translateY(-4px); }
.service-card-image-wrapper { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--color-primary); }
.service-card-image-wrapper img { opacity: 0.8; transition: transform 0.7s var(--ease-smooth); }
.service-card:hover .service-card-image-wrapper img { transform: scale(1.05); }
.service-card-gradient { position: absolute; inset: 0; background: linear-gradient(to top, color-mix(in srgb, var(--color-primary) 80%, transparent), color-mix(in srgb, var(--color-primary) 20%, transparent), transparent); }
.service-card-number { position: absolute; top: 0.75rem; right: 1rem; font-family: var(--font-display); font-size: 1.875rem; color: color-mix(in srgb, var(--color-accent) 80%, transparent); line-height: 1; user-select: none; }
.service-card-icon {
	position: absolute; bottom: 0.75rem; left: 1rem;
	display: inline-flex; align-items: center; justify-content: center;
	width: 2.75rem; height: 2.75rem; border-radius: 999px;
	background: var(--color-accent); color: var(--color-accent-foreground);
	box-shadow: var(--shadow-gold);
	transition: transform 0.5s var(--ease-smooth);
}
.service-card:hover .service-card-icon { transform: scale(1.1); }
.service-card-body { padding: 1.25rem; display: flex; flex-direction: column; flex: 1; }
@media (min-width: 1024px) { .service-card-body { padding: 1.5rem; } }
.service-card-subtitle { font-size: 0.68rem; }
.service-card-title { font-size: 1.25rem; margin: 0.5rem 0 0.75rem; line-height: 1.3; }
.service-card-desc { font-size: 0.875rem; color: var(--color-muted-foreground); line-height: 1.6; flex: 1; }

.services-cta-row {
	display: flex;
	justify-content: center;
	margin-top: 2.5rem;
}
.services-cta {
	min-height: 3rem;
	padding: 0 2rem;
	font-size: 1rem;
	font-weight: 500;
}

/* =========================================================
   Founder
   ========================================================= */
.founder-grid { display: grid; grid-template-columns: 1fr; gap: 2.5rem; align-items: center; }
@media (min-width: 1024px) { .founder-grid { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 4rem; } }
.founder-photo-frame { position: relative; overflow: hidden; border-radius: var(--card-radius); box-shadow: var(--shadow-elevated); aspect-ratio: 4 / 5; }
.founder-bio { color: var(--color-muted-foreground); }
.founder-bio p { font-size: 1rem; line-height: 1.7; margin-bottom: 1rem; }
.founder-bio-p1 { font-size: 1.125rem; }
.founder-pullquote { font-weight: 500; color: var(--color-foreground); font-style: italic; border-left: 2px solid var(--color-accent); padding-left: 1rem; }
.founder-cta-row { display: flex; flex-direction: column; gap: 0.75rem; margin-top: 2rem; }
@media (min-width: 640px) { .founder-cta-row { flex-direction: row; } }

/* =========================================================
   Our Story
   ========================================================= */
.story-intro-block { max-width: 48rem; margin: 0 auto; text-align: center; }
.story-intro { color: var(--color-muted-foreground); font-size: 1rem; line-height: 1.7; margin-top: 1.25rem; }
@media (min-width: 768px) { .story-intro { font-size: 1.125rem; } }

.pillars-grid { display: grid; grid-template-columns: 1fr; gap: 1.5rem; margin-top: 2.5rem; }
@media (min-width: 768px) { .pillars-grid { grid-template-columns: repeat(3, 1fr); margin-top: 3.5rem; } }
.pillar-card { padding: 1.5rem; }
@media (min-width: 768px) { .pillar-card { padding: 2rem; } }
.pillar-title { font-size: 1.25rem; margin-bottom: 0.75rem; }
@media (min-width: 768px) { .pillar-title { font-size: 1.5rem; } }
.pillar-body { color: var(--color-muted-foreground); line-height: 1.7; }

.story-body-grid { display: grid; grid-template-columns: 1fr; gap: 2.5rem; margin-top: 3.5rem; align-items: start; }
@media (min-width: 1024px) { .story-body-grid { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 4rem; margin-top: 5rem; } }
.story-logo-frame { position: relative; max-width: 24rem; margin: 0 auto; }
@media (min-width: 1024px) { .story-logo-frame { margin: 0; } }
.story-logo-border { position: absolute; inset: -0.75rem; border: 1px solid color-mix(in srgb, var(--color-accent) 40%, transparent); border-radius: var(--card-radius); transform: translate(-0.75rem, 0.75rem); }
.story-logo-panel { position: relative; border-radius: var(--card-radius); background: var(--color-primary); box-shadow: var(--shadow-elevated); padding: 2rem; display: flex; align-items: center; justify-content: center; }
.story-logo-panel img { width: 100%; max-width: 15rem; height: auto; }
.story-logo-caption { margin-top: 1.5rem; font-family: var(--font-eyebrow); font-size: 0.68rem; text-transform: uppercase; letter-spacing: 0.2em; color: var(--color-muted-foreground); text-align: center; }
.story-logo-title { font-size: 1.5rem; margin-bottom: 1.25rem; }
@media (min-width: 768px) { .story-logo-title { font-size: 1.875rem; } }
.story-body-content { color: var(--color-muted-foreground); }
.story-body-content p { line-height: 1.7; margin-bottom: 1rem; }
.story-para-emphasis { color: var(--color-foreground); font-weight: 500; }
.story-para-quote { font-weight: 500; color: var(--color-foreground); font-style: italic; border-left: 2px solid var(--color-accent); padding-left: 1rem; }
.story-para-book { color: var(--color-foreground); }

.philosophy-grid { display: grid; grid-template-columns: 1fr; gap: 1rem; margin-top: 3rem; }
@media (min-width: 768px) { .philosophy-grid { grid-template-columns: repeat(3, 1fr); gap: 1.5rem; margin-top: 4rem; } }
.philosophy-card { border-radius: var(--card-radius); background: var(--color-primary); color: var(--color-primary-foreground); border: 1px solid color-mix(in srgb, var(--color-accent) 30%, transparent); padding: 1.5rem; }
@media (min-width: 768px) { .philosophy-card { padding: 2rem; } }
.philosophy-title { font-size: 1.125rem; color: var(--color-accent); margin-bottom: 0.5rem; }
@media (min-width: 768px) { .philosophy-title { font-size: 1.25rem; } }
.philosophy-body { font-size: 0.875rem; line-height: 1.6; color: rgba(249,249,251,0.8); }

/* =========================================================
   Contact
   ========================================================= */
.contact-section { position: relative; overflow: hidden; background: var(--color-primary); color: #fff; }
.contact-glow { position: absolute; width: 24rem; height: 24rem; border-radius: 999px; filter: blur(64px); pointer-events: none; }
.contact-glow-1 { top: -8rem; left: -8rem; background: color-mix(in srgb, var(--color-accent) 25%, transparent); }
.contact-glow-2 { bottom: -8rem; right: -8rem; background: color-mix(in srgb, var(--color-accent) 15%, transparent); }
.contact-inner { position: relative; z-index: 1; }
.contact-grid { display: grid; grid-template-columns: 1fr; gap: 2.5rem; align-items: stretch; }
@media (min-width: 768px) { .contact-grid { grid-template-columns: 1fr 1fr; gap: 4rem; } }

.contact-cta-card, .contact-form-card {
	border-radius: var(--card-radius);
	padding: 1.5rem;
	border: 1px solid color-mix(in srgb, var(--color-accent) 20%, transparent);
	background: rgba(255,255,255,0.06);
	backdrop-filter: blur(20px);
	box-shadow: 0 8px 32px rgba(0,0,0,0.2), inset 0 1px 0 rgba(255,255,255,0.08);
	display: flex;
	flex-direction: column;
	height: 100%;
}
@media (min-width: 768px) { .contact-cta-card, .contact-form-card { padding: 2.5rem; } }
.contact-cta-card { justify-content: center; }
.contact-description { color: rgba(255,255,255,0.8); margin: 1rem 0 2rem; line-height: 1.7; }
.contact-cta {
	align-self: flex-start;
	min-height: 2.75rem;
	padding: 0 2rem;
	font-size: 0.875rem;
	font-weight: 500;
}
.contact-info-row { display: flex; flex-direction: column; gap: 0.25rem; margin-top: 2.5rem; padding-top: 2rem; border-top: 1px solid rgba(255,255,255,0.15); }
.contact-info-row a { display: flex; align-items: center; gap: 0.5rem; color: rgba(255,255,255,0.8); font-size: 0.875rem; padding: 0.5rem 0; min-height: 2.75rem; }
.contact-info-row a:hover { color: var(--color-accent); }

.contact-form-eyebrow { margin-bottom: 0.5rem; }
.contact-form-heading { font-size: 1.5rem; margin-bottom: 1.5rem; color: #fff; }
@media (min-width: 768px) { .contact-form-heading { font-size: 1.875rem; } }
.theme-contact-form { display: flex; flex-direction: column; gap: 1.25rem; flex: 1; }
.contact-form-row { display: grid; grid-template-columns: 1fr; gap: 1.25rem; }
@media (min-width: 640px) { .contact-form-row { grid-template-columns: 1fr 1fr; } }
.contact-field { display: flex; flex-direction: column; }
.contact-field-message { flex: 1; }
.contact-field label { font-size: 0.875rem; font-weight: 500; margin-bottom: 0.5rem; color: rgba(255,255,255,0.8); }
.contact-field input, .contact-field textarea {
	width: 100%;
	min-height: 2.75rem;
	padding: 0.75rem 1rem;
	background: rgba(255,255,255,0.1);
	border: 1px solid rgba(255,255,255,0.2);
	border-radius: 0.5rem;
	font-size: 0.875rem;
	color: #fff;
}
.contact-field input::placeholder, .contact-field textarea::placeholder { color: rgba(255,255,255,0.4); }
.contact-field textarea { min-height: 8.75rem; resize: none; flex: 1; }
.contact-field input:focus, .contact-field textarea:focus { outline: none; box-shadow: 0 0 0 2px color-mix(in srgb, var(--color-accent) 60%, transparent); }
.theme-contact-submit { width: 100%; }
.theme-contact-submit:disabled { opacity: 0.6; cursor: not-allowed; }
.theme-contact-success { text-align: center; padding: 2rem 0; flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.theme-contact-success-icon { width: 4rem; height: 4rem; background: rgba(255,255,255,0.2); display: flex; align-items: center; justify-content: center; border-radius: 999px; margin-bottom: 1.5rem; }
.theme-contact-success h3 { font-size: 1.5rem; margin-bottom: 0.5rem; }
.theme-contact-success p { color: rgba(255,255,255,0.7); }

/* =========================================================
   Footer
   ========================================================= */
.site-footer { background: var(--color-navy-obsidian); color: var(--color-primary-foreground); border-top: 1px solid color-mix(in srgb, var(--color-accent) 20%, transparent); }
.site-footer__inner { padding-top: 3rem; padding-bottom: 2rem; }
@media (min-width: 768px) { .site-footer__inner { padding-top: 4rem; padding-bottom: 2rem; } }
.site-footer__grid { display: grid; grid-template-columns: 1fr; gap: 2.5rem; }
@media (min-width: 768px) { .site-footer__grid { grid-template-columns: 1fr 1fr; gap: 2.5rem; } }
@media (min-width: 1024px) { .site-footer__grid { grid-template-columns: repeat(4, 1fr); gap: 3rem; } }
.site-footer__brand { grid-column: span 1; }
@media (min-width: 1024px) { .site-footer__brand { grid-column: span 2; } }
.footer-description { margin-top: 1.25rem; font-size: 0.875rem; color: rgba(249,249,251,0.7); max-width: 28rem; line-height: 1.6; }
.footer-nav-heading, .footer-contact-heading { font-family: var(--font-eyebrow); font-size: 0.75rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.22em; color: var(--color-accent); margin-bottom: 1rem; }
.theme-footer-nav-list {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 0.25rem;
}
.theme-footer-nav-list li { display: block; width: 100%; }
.theme-footer-nav-list li a, .footer-contact-list li a {
	display: flex; align-items: center; gap: 0.5rem;
	font-size: 0.875rem; color: rgba(249,249,251,0.7);
	padding: 0.5rem 0; min-height: 2.75rem;
}
.theme-footer-nav-list li a:hover, .footer-contact-list li a:hover { color: var(--color-accent); }
.footer-social-btn {
	margin-top: 0.75rem;
	display: inline-flex; align-items: center; justify-content: center;
	width: 2.75rem; height: 2.75rem; border-radius: 999px;
	border: 1px solid color-mix(in srgb, var(--color-accent) 30%, transparent);
	color: rgba(249,249,251,0.8);
}
.footer-social-btn:hover { color: var(--color-accent); border-color: var(--color-accent); }
.site-footer__bottom { margin-top: 2.5rem; padding-top: 1.5rem; border-top: 1px solid rgba(255,255,255,0.1); display: flex; flex-direction: column; gap: 0.75rem; align-items: center; justify-content: space-between; text-align: center; }
@media (min-width: 768px) { .site-footer__bottom { flex-direction: row; text-align: left; } }
.footer-legal-name { font-size: 0.75rem; color: rgba(249,249,251,0.6); }
.footer-tagline { font-family: var(--font-eyebrow); font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.2em; color: var(--color-accent); }

/* =========================================================
   Single Product (Section 11.13)
   ========================================================= */
.theme-single-product-main { padding-top: 6rem; padding-bottom: 0; }
@media (min-width: 1024px) { .theme-single-product-main { padding-top: 7rem; } }
.back-to-shop-row { padding: 1.5rem 0; }
.back-to-shop-link { display: inline-flex; align-items: center; gap: 0.5rem; font-size: 0.875rem; color: var(--color-muted-foreground); font-family: var(--font-body); transition: color 0.2s ease; }
.back-to-shop-link:hover { color: var(--color-foreground); }

.theme-product-layout { display: grid; grid-template-columns: 1fr; gap: 2.5rem; padding-bottom: 5rem; min-width: 0; }
@media (min-width: 768px) { .theme-product-layout { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .theme-product-layout { gap: 4rem; } }
.theme-product-gallery, .theme-product-info { min-width: 0; max-width: 100%; }
@media (min-width: 768px) { .theme-product-info { padding-top: 1rem; padding-bottom: 1rem; } }
@media (min-width: 1024px) { .theme-product-info { padding-top: 2.5rem; padding-bottom: 2.5rem; } }

.theme-product-main-image { position: relative; aspect-ratio: 3 / 4; background: var(--color-secondary); overflow: hidden; margin-bottom: 1rem; border-radius: 0.25rem; }
.theme-product-thumbnails { display: grid; grid-template-columns: repeat(5, 1fr); gap: 0.5rem; flex-wrap: wrap; max-width: 100%; }
.theme-product-thumb { position: relative; aspect-ratio: 1/1; overflow: hidden; border: 2px solid transparent; border-radius: 0.25rem; opacity: 0.6; transition: all 0.2s ease; }
.theme-product-thumb.is-active { border-color: var(--color-primary); opacity: 1; }
.theme-product-thumb:hover { opacity: 1; }

.theme-product-category { display: block; font-size: 0.875rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--color-muted-foreground); font-family: var(--font-body); }
.theme-product-category a { color: inherit; pointer-events: none; }
.theme-product-title { font-size: 1.5rem; font-weight: 700; margin: 0.5rem 0 1rem; text-wrap: balance; }
@media (min-width: 768px) { .theme-product-title { font-size: 1.875rem; } }
.theme-product-price { font-size: 1.5rem; font-weight: 600; font-family: var(--font-body); color: var(--color-accent); margin-bottom: 1.5rem; }
.theme-product-price .theme-price-usd { font-size: 0.875rem; font-weight: 400; color: var(--color-muted-foreground); }
.theme-product-price del { color: var(--color-muted-foreground); font-weight: 400; margin-right: 0.5rem; }
.theme-stock-indicator.theme-out-of-stock { color: var(--color-primary); background: var(--color-secondary); display: inline-block; padding: 0.35rem 0.85rem; border-radius: 999px; font-size: 0.8rem; font-weight: 600; margin-bottom: 1.5rem; }

.theme-product-description { color: var(--color-muted-foreground); line-height: 1.625; margin-bottom: 2rem; overflow-wrap: break-word; white-space: pre-line; font-family: var(--font-body); }
.theme-product-description p { margin: 0; }

.theme-quantity-wrapper {
	display: inline-flex;
	align-items: center;
	border: 1px solid var(--color-border);
	border-radius: 0.25rem;
	flex: 0 0 auto;
	width: max-content;
	max-width: max-content;
	position: relative;
}
.theme-qty-minus, .theme-qty-plus {
	padding: 0.75rem 1rem;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex: 0 0 auto;
	min-height: 3rem;
}
.theme-qty-minus:hover, .theme-qty-plus:hover { background: var(--color-secondary); }
.theme-qty-display {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 48px;
	width: 48px;
	height: 48px;
	padding: 0.75rem 0;
	text-align: center;
	font-family: var(--font-body);
	line-height: 1;
	box-sizing: border-box;
}
.theme-quantity-wrapper .qty,
.theme-quantity-wrapper .theme-qty-input,
input.qty.theme-qty-input {
	position: absolute !important;
	width: 1px !important;
	height: 1px !important;
	min-width: 0 !important;
	max-width: 1px !important;
	padding: 0 !important;
	margin: -1px !important;
	overflow: hidden !important;
	clip: rect(0, 0, 0, 0) !important;
	border: 0 !important;
	white-space: nowrap !important;
}

.theme-product-details { border-top: 1px solid var(--color-border); padding-top: 2rem; }
.theme-details-heading { font-size: 1rem; font-weight: 600; margin-bottom: 1rem; font-family: var(--font-body); }
.theme-details-list ul { display: flex; flex-direction: column; gap: 0.5rem; }
.theme-details-list li { display: flex; align-items: flex-start; font-size: 0.875rem; color: var(--color-muted-foreground); font-family: var(--font-body); }
.theme-details-list li::before { content: ''; width: 0.375rem; height: 0.375rem; margin-top: 0.5rem; margin-right: 0.75rem; border-radius: 999px; background: var(--color-accent); flex-shrink: 0; }

.theme-related-products { padding: 5rem 0; border-top: 1px solid var(--color-border); }
.theme-related-heading { font-family: var(--font-display); font-size: 1.25rem; font-weight: 700; margin-bottom: 2.5rem; }
@media (min-width: 768px) { .theme-related-heading { font-size: 1.5rem; } }
.theme-related-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.5rem; }
@media (min-width: 1024px) { .theme-related-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 2rem; } }

/* Variations table */
.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.5rem; font-weight: 600; }
.single-product .variations tbody td.value { padding-top: 0; }
.theme-attr-select-hidden { display: none !important; }
.theme-attr-pill-group { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 0.5rem; }
.theme-attr-pill { min-width: 3rem; padding: 0.5rem 1rem; border: 1px solid var(--color-border); border-radius: 0.375rem; font-size: 0.875rem; }
.theme-attr-pill:hover { border-color: var(--color-accent); }
.theme-attr-pill.is-active { border-color: var(--color-primary); background: var(--color-primary); color: var(--color-primary-foreground); }
.single_variation_wrap .woocommerce-variation { min-height: 0; }

.theme-add-to-cart-area { display: flex; align-items: center; flex-wrap: nowrap; gap: 1rem; margin-bottom: 2rem; }
.single-product .single_add_to_cart_button {
	flex: 1 1 auto;
	min-width: 0;
	height: 2.75rem !important;
	min-height: 2.75rem !important;
	font-size: 0.875rem !important;
}

/* 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,
button.single_add_to_cart_button {
	background-color: var(--color-primary) !important;
	color: var(--color-button-text) !important;
	border: none !important;
	border-radius: var(--btn-radius) !important;
	min-height: var(--btn-height) !important;
	padding: var(--btn-padding) !important;
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;
	font-family: var(--font-body) !important;
	font-size: var(--btn-font-size) !important;
	font-weight: var(--btn-font-weight) !important;
	letter-spacing: var(--btn-letter-spacing) !important;
	text-transform: var(--btn-text-transform) !important;
	cursor: pointer !important;
	transition: opacity 0.2s ease !important;
}
.single_add_to_cart_button.button:hover,
.add_to_cart_button.button:hover {
	opacity: 0.85 !important;
	background-color: var(--color-primary) !important;
	color: var(--color-button-text) !important;
}
.single_add_to_cart_button.button:disabled,
.single_add_to_cart_button.button.disabled,
.add_to_cart_button.button:disabled,
.add_to_cart_button.button.disabled {
	cursor: not-allowed !important;
	opacity: 0.4 !important;
	pointer-events: none !important;
}
.single_add_to_cart_button.button:disabled:hover,
.single_add_to_cart_button.button.disabled:hover,
.add_to_cart_button.button:disabled:hover,
.add_to_cart_button.button.disabled:hover {
	opacity: 0.4 !important;
	background-color: var(--color-primary) !important;
}
.ajax_add_to_cart.theme-btn-loading { opacity: 0.6 !important; pointer-events: none !important; cursor: wait !important; }
.single_add_to_cart_button.is-added {
	pointer-events: none !important;
	opacity: 1 !important;
}
.single-product .single_add_to_cart_button.loading::after,
.ajax_add_to_cart.loading::after { display: none !important; }

/* Hide WooCommerce "View cart" injected 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; }

/* Notices (Section 14.1) */
.single-product .woocommerce-notices-wrapper,
.single-product .woocommerce-message,
.single-product .woocommerce-info,
.single-product .woocommerce-error,
.theme-single-product-main .woocommerce-message,
.theme-single-product-main .woocommerce-info,
.theme-single-product-main .woocommerce-error { display: none !important; }
#theme-cart-drawer .woocommerce-message { display: none; }
.woocommerce-message, .woocommerce-info, .woocommerce-error {
	max-width: 1280px;
	margin: 1rem auto;
	padding: 1rem 1.5rem;
	border-radius: 0.5rem;
	background: var(--color-secondary);
	color: var(--color-foreground);
	list-style: none;
	font-size: 0.9rem;
}
.woocommerce-error { background: color-mix(in srgb, var(--color-primary) 10%, #fff); border: 1px solid var(--color-primary); }

/* =========================================================
   Shop / Archive
   ========================================================= */
.theme-shop-archive-main { padding-top: calc(var(--header-height) + 1.5rem); padding-bottom: 4rem; }
.shop-heading { font-size: 1.875rem; margin-bottom: 2rem; }

/* =========================================================
   Resources page
   ========================================================= */
.theme-resources-main { padding-top: calc(var(--header-height) + 1.5rem); }
.resources-intro { max-width: 48rem; margin: 0 auto 3rem; text-align: center; }
.resources-description { color: var(--color-muted-foreground); line-height: 1.7; margin-top: 1.25rem; }
.resources-group { display: grid; grid-template-columns: 1fr; gap: 2rem; margin-bottom: 3.5rem; align-items: start; }
@media (min-width: 1024px) { .resources-group { grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 4rem; margin-bottom: 5rem; } }
.resources-group-title { font-size: 1.5rem; margin-bottom: 1rem; }
@media (min-width: 768px) { .resources-group-title { font-size: 1.875rem; } }
.resources-group-blurb { color: var(--color-muted-foreground); line-height: 1.7; margin-bottom: 1.25rem; }
.resources-group-rule { width: 3rem; height: 2px; background: var(--color-accent); }

/* =========================================================
   Cart Drawer (Section 12)
   ========================================================= */
#theme-cart-overlay {
	position: fixed; inset: 0;
	background: color-mix(in srgb, var(--color-foreground) 20%, transparent);
	z-index: 55;
	opacity: 0; visibility: hidden;
	transition: opacity 0.3s ease, visibility 0.3s ease;
}
body.cart-open #theme-cart-overlay { opacity: 1; visibility: visible; }

#theme-cart-drawer {
	position: fixed; right: 0; top: 0; height: 100%;
	width: 100%; max-width: 26rem;
	background: var(--color-background);
	z-index: 60;
	box-shadow: var(--shadow-elevated);
	display: flex; flex-direction: column;
	transform: translateX(100%);
	transition: transform 0.4s 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 { display: flex; align-items: center; justify-content: space-between; padding: 1.5rem; border-bottom: 1px solid var(--color-border); }
.theme-cart-drawer__title { font-size: 1.125rem; font-weight: 700; }
.theme-cart-drawer__close:hover { opacity: 0.6; }

.theme-cart-drawer__empty { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 1.5rem; text-align: center; }
.theme-cart-drawer__empty .icon { color: var(--color-muted-foreground); margin-bottom: 1rem; }
.theme-cart-drawer__empty p { color: var(--color-muted-foreground); margin-bottom: 1.5rem; }

.theme-cart-drawer__items { flex: 1; overflow: auto; padding: 1.5rem; display: flex; flex-direction: column; gap: 1.5rem; }
.theme-cart-item { display: flex; gap: 1rem; }
.theme-cart-item__image { position: relative; width: 5rem; height: 6rem; background: var(--color-secondary); overflow: hidden; border-radius: 0.25rem; flex-shrink: 0; }
.theme-cart-item__info { flex: 1; min-width: 0; }
.theme-cart-item__name { font-size: 0.875rem; font-weight: 500; display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.theme-cart-item__name:hover { opacity: 0.7; }
.theme-cart-item__price { font-size: 0.875rem; color: var(--color-muted-foreground); margin-top: 0.15rem; }
.theme-cart-item__variation { font-size: 0.75rem; color: var(--color-muted-foreground); margin-top: 0.15rem; }
.theme-cart-item__controls { display: flex; align-items: center; gap: 0.5rem; margin-top: 0.75rem; }
.theme-cart-qty-btn { padding: 0.25rem; border-radius: 0.25rem; }
.theme-cart-qty-btn:hover { background: var(--color-secondary); }
.theme-cart-item__qty { font-size: 0.875rem; width: 1.5rem; text-align: center; }
.theme-cart-item__remove { margin-left: auto; font-size: 0.75rem; color: var(--color-muted-foreground); }
.theme-cart-item__remove:hover { color: var(--color-foreground); }

.theme-cart-drawer__footer { padding: 1.5rem; border-top: 1px solid var(--color-border); display: flex; flex-direction: column; gap: 1rem; }
.theme-cart-drawer__subtotal { display: flex; justify-content: space-between; font-size: 0.875rem; }
.theme-cart-drawer__subtotal-label { color: var(--color-muted-foreground); }
.theme-cart-drawer__subtotal-value { font-weight: 500; }
.theme-cart-drawer__note { font-size: 0.75rem; color: var(--color-muted-foreground); }
.theme-cart-checkout-btn { width: 100%; }

/* =========================================================
   WooCommerce Checkout Block (Section 13)
   ========================================================= */
body.woocommerce-checkout .site-main { padding-top: var(--header-height); padding-bottom: 4rem; }
body.woocommerce-cart .site-main,
body.woocommerce-account .site-main { padding-top: var(--header-height); padding-bottom: 4rem; }

.page-title { font-size: 1.875rem; margin-bottom: 2rem; font-weight: 700; }
@media (min-width: 768px) { .page-title { font-size: 2.5rem; } }

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: 0.9rem;
	color: var(--color-foreground);
	border: 1px solid var(--color-border);
	border-radius: 0.5rem;
	background-color: #fff;
}
body.woocommerce-checkout .wc-block-components-text-input input:focus,
body.woocommerce-checkout .wc-block-components-select select:focus {
	border-color: var(--color-accent);
	box-shadow: 0 0 0 2px color-mix(in srgb, var(--color-accent) 30%, transparent);
}
body.woocommerce-checkout .wc-block-components-text-input input {
	padding: revert;
}

body.woocommerce-checkout .wc-block-checkout {
	display: block;
}
@media (min-width: 768px) {
	body.woocommerce-checkout .wc-block-components-sidebar-layout.wc-block-checkout {
		display: grid;
		grid-template-columns: 1fr 1fr;
		gap: var(--checkout-gap, 2.5rem);
		align-items: start;
	}
}
body.woocommerce-checkout .wc-block-components-notice-banner {
	grid-column: 1 / -1;
}

body.woocommerce-checkout .wc-block-checkout__sidebar {
	background-color: var(--color-secondary);
	border-radius: var(--card-radius);
	padding: 2rem;
}

body.woocommerce-checkout .wc-block-components-checkout-place-order-button {
	background-color: var(--color-primary) !important;
	border-radius: var(--btn-radius) !important;
	font-family: var(--font-body) !important;
	text-transform: none !important;
}
body.woocommerce-checkout .wc-block-components-checkout-place-order-button:hover {
	opacity: 0.9;
}

/* =========================================================
   Thank you page (Section 22.8)
   ========================================================= */
body.theme-thankyou-page { overflow-x: hidden; }
body.theme-thankyou-page .woocommerce-order h2,
body.theme-thankyou-page .woocommerce-order-details__title {
	font-size: 1.5rem;
	padding: 0 0 1rem 0;
}
body.theme-thankyou-page .woocommerce-order-overview {
	display: flex; flex-wrap: wrap; gap: 1.5rem;
	list-style: none; padding: 0; margin: 1.5rem 0;
}
body.theme-thankyou-page .woocommerce-order-overview li {
	background: var(--color-secondary);
	border-radius: 0.5rem;
	padding: 1rem 1.25rem;
	font-size: 0.85rem;
}
body.theme-thankyou-page .woocommerce-order-details table {
	width: 100%;
	table-layout: fixed;
	border-collapse: collapse;
	margin: 1.5rem 0;
}
body.theme-thankyou-page .woocommerce-order-details table th,
body.theme-thankyou-page .woocommerce-order-details table td {
	padding: 0.75rem; border-bottom: 1px solid var(--color-border); text-align: left;
}
body.theme-thankyou-page .woocommerce-order-details tfoot th { text-align: left; }
body.theme-thankyou-page .woocommerce-order-details tfoot td { text-align: right; }
body.theme-thankyou-page .woocommerce-customer-details {
	display: flex; flex-direction: column; gap: 1.5rem; margin-top: 2rem;
}
body.theme-thankyou-page .woocommerce-customer-details address {
	max-width: 30rem; overflow-wrap: break-word; font-style: normal; line-height: 1.6;
}

/* =========================================================
   404
   ========================================================= */
.theme-404-main { padding-top: var(--header-height); min-height: 60vh; display: flex; align-items: center; }
.theme-404-inner { text-align: center; padding-top: 4rem; padding-bottom: 4rem; }
.theme-404-title { font-size: 2.5rem; margin-bottom: 1rem; }
.theme-404-message { color: var(--color-muted-foreground); margin-bottom: 1.5rem; }
.theme-404-link { color: var(--color-primary); text-decoration: underline; }
.theme-404-link:hover { opacity: 0.8; }

.theme-page-main .site-main { padding-bottom: 3rem; }

/* Flex text safety */
.theme-card-title-row { display: flex; align-items: center; gap: 0.5rem; min-width: 0; }
