/* =========================================================
   The Flemister Foundation NFP — theme stylesheet
   ========================================================= */

/* ---------- Design tokens ---------- */
:root {
	--background: #f8f8f6;
	--foreground: #1a1a1a;
	--primary: #259d39;
	--primary-foreground: #fbfaf8;
	--secondary: #f1f0ee;
	--muted: #edebe9;
	--muted-foreground: #616161;
	--border: #e0e0e0;
	--destructive: #dd382c;
	--card: #ffffff;
	--gold: #c6992f;
	--ivory: #ffffff;
	--linen: hsl(40 12% 95%);
	--bone: hsl(40 10% 92%);

	--font-display: 'Newsreader', Georgia, serif;
	--font-body: 'Switzer', system-ui, -apple-system, sans-serif;

	--radius: 0.5rem;
	--card-radius: 1rem;
	--section-padding: 6rem;
	--logo-height: 64px;
	--header-height: 84px;
	--checkout-gap: 2rem;

	--btn-radius: 999px;
	--btn-height: 3rem;
	--btn-padding: 0 1.75rem;
	--btn-font-size: 0.875rem;
	--btn-font-weight: 500;
	--btn-letter-spacing: normal;
	--btn-text-transform: none;
	--btn-icon-padding: 0;

	--shadow-soft: 0 4px 20px -8px rgb(0 0 0 / 0.12);
	--shadow-elevated: 0 20px 50px -18px rgb(0 0 0 / 0.24);
}

/* ---------- Reset & base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body { max-width: 100%; overflow-x: hidden; }
body {
	margin: 0;
	background: var(--background);
	color: var(--foreground);
	font-family: var(--font-body);
	-webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4, h5, h6 { font-weight: inherit; font-size: inherit; margin: 0; }
.font-display, h1, h2, h3, h4, h5, h6 { font-family: var(--font-display); letter-spacing: -0.014em; }
p { margin: 0; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; background: none; border: none; cursor: pointer; color: inherit; }
ul { list-style: none; margin: 0; padding: 0; }
img { max-width: 100%; height: auto; display: block; }
input, select, textarea { font-family: inherit; font-size: inherit; }
section[id] { scroll-margin-top: var(--header-height); }

/* Cover image exclusion list (Section 15.1) */
img:not(.cover-img):not(.hero-bg-img):not(.product-card-img):not(.theme-product-card-img):not(.theme-cart-item__img):not(.theme-product-gallery__img) {
	max-width: 100%;
	height: auto;
}
.cover-img, .hero-bg-img, .product-card-img, .theme-product-card-img, .theme-cart-item__img, .theme-product-gallery__img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
}

.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 2.5rem; } }

.theme-page-shell { padding: 6rem 0; }
.site-main { display: block; }
body.theme-no-hero .site-main { padding-top: var(--header-height); }

/* ---------- Buttons ---------- */
.theme-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.5rem;
	height: var(--btn-height);
	padding: var(--btn-padding);
	border-radius: var(--btn-radius);
	font-size: var(--btn-font-size);
	font-weight: var(--btn-font-weight);
	letter-spacing: var(--btn-letter-spacing);
	text-transform: var(--btn-text-transform);
	white-space: nowrap;
	border: 1px solid transparent;
	transition: opacity 0.2s ease, background-color 0.2s ease, color 0.2s ease;
	cursor: pointer;
}
.theme-btn--primary { background: var(--primary); color: var(--primary-foreground); border-color: var(--primary); }
.theme-btn--primary:hover { opacity: 0.9; }
.theme-btn--outline { background: transparent; color: var(--foreground); border-color: color-mix(in srgb, var(--foreground) 25%, transparent); }
.theme-btn--outline:hover { border-color: var(--foreground); background: color-mix(in srgb, var(--foreground) 4%, transparent); }
.theme-btn--outline-primary {
	background: transparent;
	color: var(--primary);
	border-color: var(--primary);
	height: 3rem;
	padding: 0 1.5rem;
	font-size: 0.875rem;
	font-weight: 500;
	transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
.theme-btn--outline-primary:hover { background: var(--primary); color: var(--primary-foreground); opacity: 1; }
.theme-btn--sm { height: 2.25rem; padding: 0 1rem; font-size: 0.875rem; }
.theme-btn--glass { background: color-mix(in srgb, #fff 10%, transparent); border-color: color-mix(in srgb, #fff 40%, transparent); color: #fff; backdrop-filter: blur(10px); }
.theme-btn--glass:hover { background: color-mix(in srgb, #fff 20%, transparent); }
.theme-btn--ghost { background: transparent; color: color-mix(in srgb, var(--foreground) 60%, transparent); }
.theme-btn--ghost:hover { background: color-mix(in srgb, var(--foreground) 5%, transparent); }
.theme-btn--block { width: 100%; }

.theme-chip {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	height: 2.5rem;
	padding: 0 1rem;
	border-radius: 999px;
	border: 1px solid var(--border);
	background: var(--card);
	font-size: 0.8125rem;
	font-weight: 500;
	transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
.theme-chip:hover { background: var(--primary); color: var(--primary-foreground); border-color: var(--primary); }

.theme-icon-btn {
	width: 2.5rem;
	height: 2.5rem;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border-radius: 999px;
	border: 1px solid var(--border);
	color: color-mix(in srgb, var(--foreground) 70%, transparent);
	transition: color 0.2s ease, border-color 0.2s ease;
}
.theme-icon-btn:hover { color: var(--primary); border-color: var(--primary); }

.theme-pill {
	height: 2.5rem;
	padding: 0 1.25rem;
	border-radius: 999px;
	font-size: 0.875rem;
	font-weight: 500;
	border: 1px solid var(--border);
	background: transparent;
	color: color-mix(in srgb, var(--foreground) 75%, transparent);
	transition: color 0.2s ease, border-color 0.2s ease, background-color 0.2s ease;
}
.theme-pill:hover { border-color: var(--primary); color: var(--primary); }
.theme-pill.is-active { background: var(--primary); color: var(--primary-foreground); border-color: var(--primary); }

.theme-input {
	width: 100%;
	height: 3rem;
	padding: 0 1rem;
	border-radius: var(--radius);
	border: 1px solid var(--border);
	background: var(--background);
	font-size: 0.875rem;
	color: var(--foreground);
	transition: border-color 0.2s ease;
}
.theme-input::placeholder { color: color-mix(in srgb, var(--foreground) 45%, transparent); }
.theme-input:focus { outline: none; border-color: var(--primary); }
.theme-textarea { height: auto; padding: 0.75rem 1rem; resize: none; }

/* ---------- Reveal animation (Section 2.1) ---------- */
[data-reveal] {
	opacity: 0;
	transform: translateY(24px);
	transition: opacity 900ms cubic-bezier(0.22, 1, 0.36, 1), transform 900ms cubic-bezier(0.22, 1, 0.36, 1);
	will-change: opacity, transform;
}
[data-reveal].is-revealed { opacity: 1; transform: translateY(0); }
body.is-customizer [data-reveal],
body.is-customizer .reveal-item {
	opacity: 1 !important;
	transform: none !important;
}
@media (prefers-reduced-motion: reduce) {
	[data-reveal] { transition: none; opacity: 1; transform: none; }
}

/* ---------- Section heading scales (per-section, Section 2.2) ---------- */
.theme-eyebrow {
	font-size: 0.75rem;
	letter-spacing: 0.32em;
	text-transform: uppercase;
	color: var(--primary);
	font-weight: 500;
	margin-bottom: 1rem;
	font-family: var(--font-body);
}
.about-section .theme-eyebrow { margin-bottom: 1.25rem; }
.theme-eyebrow--icon { display: inline-flex; align-items: center; gap: 0.5rem; }
.theme-section-intro { max-width: 48rem; margin-bottom: 3.5rem; }
.theme-section-subtext { margin-top: 1.25rem; font-size: 0.9375rem; line-height: 1.625; color: color-mix(in srgb, var(--foreground) 70%, transparent); max-width: 42rem; }
@media (min-width: 768px) { .theme-section-subtext { font-size: 1rem; } }

.about-section .section-heading,
.boaz-section .section-heading { font-size: 2.25rem; line-height: 1.05; }
@media (min-width: 768px) { .about-section .section-heading, .boaz-section .section-heading { font-size: 3rem; } }
@media (min-width: 1024px) { .about-section .section-heading, .boaz-section .section-heading { font-size: 3.2rem; } }

.events-section .section-heading,
.hof-section .section-heading,
.portfolio-section .section-heading,
.services-section .section-heading,
.shop-section .section-heading,
.donate-section .section-heading {
	font-size: 2.25rem; line-height: 1.05;
}
@media (min-width: 768px) { .events-section .section-heading, .hof-section .section-heading, .portfolio-section .section-heading, .services-section .section-heading, .shop-section .section-heading, .donate-section .section-heading { font-size: 3rem; } }
@media (min-width: 1024px) { .events-section .section-heading, .hof-section .section-heading, .portfolio-section .section-heading, .services-section .section-heading, .shop-section .section-heading, .donate-section .section-heading { font-size: 3.2rem; } }

.contact-section .section-heading { font-size: 2.5rem; line-height: 1.05; }
@media (min-width: 768px) { .contact-section .section-heading { font-size: 3.4rem; } }

.theme-pull-quote {
	margin: 2rem 0 0;
	font-family: var(--font-display);
	font-style: italic;
	font-size: 1.25rem;
	line-height: 1.375;
	color: color-mix(in srgb, var(--foreground) 75%, transparent);
	border-left: 2px solid var(--primary);
	padding-left: 1.25rem;
}
@media (min-width: 768px) { .theme-pull-quote { font-size: 1.5rem; } }

.theme-prose { margin-top: 2.5rem; display: flex; flex-direction: column; gap: 1.25rem; font-size: 0.9375rem; line-height: 1.625; color: color-mix(in srgb, var(--foreground) 80%, transparent); max-width: 65ch; }
@media (min-width: 768px) { .theme-prose { font-size: 1rem; } }
.theme-prose__muted { color: color-mix(in srgb, var(--foreground) 55%, transparent); font-style: italic; }

.theme-stat-row { margin-top: 2.5rem; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; border-top: 1px solid var(--border); padding-top: 2rem; }
.theme-stat__icon { color: var(--primary); display: inline-flex; margin-bottom: 0.5rem; }
.theme-stat__value { font-family: var(--font-display); font-size: 1.5rem; line-height: 1.2; color: var(--foreground); }
@media (min-width: 768px) { .theme-stat__value { font-size: 1.75rem; } }
.theme-stat__label { margin-top: 0.25rem; font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.18em; color: color-mix(in srgb, var(--foreground) 60%, transparent); }

/* =========================================================
   Header
   ========================================================= */
.site-header {
	position: fixed;
	top: 0; left: 0; right: 0;
	z-index: 50;
	transition: background-color 0.3s ease, border-color 0.3s ease;
}
.site-header__bar { background: transparent; border-bottom: 1px solid transparent; transition: background-color 0.3s ease, border-color 0.3s ease; }
.site-header.is-solid .site-header__bar {
	background: color-mix(in srgb, #fff 70%, transparent);
	backdrop-filter: blur(20px);
	border-bottom-color: color-mix(in srgb, var(--foreground) 10%, transparent);
}
.site-header__row { display: flex; align-items: center; justify-content: space-between; gap: 0.75rem; height: 5rem; }
@media (min-width: 1024px) { .site-header__row { height: 6rem; } }

.site-header__menu-toggle {
	display: inline-flex; align-items: center; justify-content: center;
	width: 2.5rem; height: 2.5rem; border-radius: 999px;
	color: #fff; order: 1;
	transition: color 0.3s ease, background-color 0.2s ease;
}
.site-header.is-solid .site-header__menu-toggle { color: var(--foreground); }
.site-header__menu-toggle:hover { background: color-mix(in srgb, #fff 10%, transparent); }
.site-header.is-solid .site-header__menu-toggle:hover { background: color-mix(in srgb, var(--foreground) 5%, transparent); }
.site-header__menu-icon .icon-close { display: none; }
.site-header__menu-toggle[aria-expanded="true"] .icon-open { display: none; }
.site-header__menu-toggle[aria-expanded="true"] .icon-close { display: block; }
@media (min-width: 1024px) { .site-header__menu-toggle { display: none; } }

.site-header__brand { order: 2; display: flex; align-items: center; gap: 0.75rem; min-width: 0; flex-shrink: 0; }
@media (min-width: 1024px) { .site-header__brand { order: 1; } }
.site-logo-img { height: var(--logo-height) !important; width: auto !important; display: block; user-select: none; }
.site-logo-text { font-family: var(--font-display); font-size: 1.25rem; color: #fff; transition: color 0.3s ease; }
.site-header.is-solid .site-logo-text { color: var(--foreground); }

.theme-nav-list--desktop { display: none; }
@media (min-width: 1024px) {
	.theme-nav-list--desktop {
		display: flex; flex: 1; min-width: 0; align-items: center; justify-content: center;
		gap: 1rem; order: 2;
	}
}
@media (min-width: 1280px) { .theme-nav-list--desktop { gap: 1.5rem; } }
.theme-nav-list--desktop a, .theme-nav-list--desktop .theme-nav-link {
	position: relative; white-space: nowrap; font-size: 0.875rem; font-weight: 500;
	color: color-mix(in srgb, #fff 75%, transparent); transition: color 0.3s ease;
}
.site-header.is-solid .theme-nav-list--desktop a,
.site-header.is-solid .theme-nav-list--desktop .theme-nav-link { color: color-mix(in srgb, var(--foreground) 70%, transparent); }
.theme-nav-list--desktop a:hover, .theme-nav-list--desktop a.is-active,
.theme-nav-list--desktop .theme-nav-link:hover, .theme-nav-list--desktop .theme-nav-link.is-active { color: #fff; }
.site-header.is-solid .theme-nav-list--desktop a:hover,
.site-header.is-solid .theme-nav-list--desktop a.is-active,
.site-header.is-solid .theme-nav-list--desktop .theme-nav-link:hover,
.site-header.is-solid .theme-nav-list--desktop .theme-nav-link.is-active { color: var(--foreground); }

.site-header__actions { order: 3; display: flex; align-items: center; gap: 0.5rem; flex-shrink: 0; }
.site-header__cart-btn {
	position: relative; width: 2.5rem; height: 2.5rem; display: inline-flex; align-items: center; justify-content: center;
	border-radius: 999px; color: #fff; transition: color 0.3s ease, background-color 0.2s ease;
}
.site-header.is-solid .site-header__cart-btn { color: var(--foreground); }
.site-header__cart-btn:hover { background: color-mix(in srgb, #fff 10%, transparent); }
.site-header.is-solid .site-header__cart-btn:hover { background: color-mix(in srgb, var(--foreground) 5%, transparent); }
.theme-cart-count {
	position: absolute; top: -0.125rem; right: -0.125rem; min-width: 1.125rem; height: 1.125rem; padding: 0 0.25rem;
	background: var(--primary); color: var(--primary-foreground); border-radius: 999px;
	font-size: 0.75rem; font-weight: 500; display: flex; align-items: center; justify-content: center;
}
.theme-cart-count:empty { display: none; }

.site-header__mobile-panel { display: none; background: color-mix(in srgb, #fff 92%, transparent); backdrop-filter: blur(20px); border-top: 1px solid color-mix(in srgb, var(--foreground) 10%, transparent); }
.site-header__mobile-panel.is-open { display: block; }
.theme-mobile-nav-list { display: flex; flex-direction: column; padding: 1rem 0; }
.theme-mobile-nav-list a, .theme-mobile-nav-list .theme-mobile-nav-link {
	text-align: left; font-size: 0.875rem; font-weight: 500; padding: 0.75rem 0;
	border-bottom: 1px solid color-mix(in srgb, var(--foreground) 10%, transparent);
	color: color-mix(in srgb, var(--foreground) 85%, transparent);
}
.theme-mobile-nav-list li:last-child a { border-bottom: 0; }

/* =========================================================
   Hero
   ========================================================= */
.hero-section { position: relative; height: 100vh; min-height: 40rem; width: 100%; overflow: hidden; }
.hero-section__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-section__scrim { position: absolute; inset: 0; pointer-events: none; }
.hero-section__scrim--x { background: linear-gradient(to right, rgb(0 0 0 / 0.75), rgb(0 0 0 / 0.55) 50%, rgb(0 0 0 / 0.35)); }
.hero-section__scrim--y { background: linear-gradient(to top, rgb(0 0 0 / 0.7), transparent 50%, rgb(0 0 0 / 0.4)); }
.hero-section__row {
	position: relative; z-index: 1; height: 100%; display: grid; grid-template-columns: 1fr; gap: 2.5rem;
	align-items: center; padding-top: 6rem; padding-bottom: 2rem; color: #fff;
}
@media (min-width: 1024px) { .hero-section__row { grid-template-columns: 1.15fr 1fr; padding-top: 7rem; padding-bottom: 3rem; } }
.hero-section__copy { max-width: 42rem; }
.hero-section__badge {
	display: inline-flex; align-items: center; gap: 0.5rem; padding: 0.375rem 1rem; border-radius: 999px;
	background: color-mix(in srgb, #fff 10%, transparent); border: 1px solid color-mix(in srgb, var(--primary) 60%, transparent);
	backdrop-filter: blur(10px); font-size: 0.75rem; letter-spacing: 0.22em; text-transform: uppercase; color: #fff; font-weight: 500;
}
.hero-section__badge svg { color: var(--primary); }
.hero-section__heading {
	margin-top: 1.5rem; font-family: var(--font-display); color: #fff; line-height: 1.03; letter-spacing: -0.02em;
	font-size: 2.25rem; text-shadow: 0 2px 30px rgb(0 0 0 / 0.55);
}
@media (min-width: 640px) { .hero-section__heading { font-size: 3rem; } }
@media (min-width: 1024px) { .hero-section__heading { font-size: 4.25rem; } }
.hero-section__heading em { font-style: italic; color: var(--primary); }
.hero-section__subtext { margin-top: 1.5rem; max-width: 36rem; font-size: 0.9375rem; color: color-mix(in srgb, #fff 90%, transparent); line-height: 1.7; }
@media (min-width: 640px) { .hero-section__subtext { font-size: 1rem; } }
.hero-section__actions { margin-top: 2rem; display: flex; flex-direction: column; gap: 0.75rem; }
@media (min-width: 640px) { .hero-section__actions { flex-direction: row; gap: 1rem; } }
.hero-section__media { display: none; }
@media (min-width: 1024px) { .hero-section__media { display: block; } }

.hero-video-card {
	position: relative; border-radius: 1rem; overflow: hidden;
	border: 1px solid color-mix(in srgb, #fff 25%, transparent);
	background: color-mix(in srgb, #000 40%, transparent);
	backdrop-filter: blur(10px);
	box-shadow: 0 30px 80px -20px rgb(0 0 0 / 0.7);
}
.hero-video-card__top { padding: 0.75rem 1.25rem; display: flex; align-items: center; gap: 0.75rem; border-bottom: 1px solid color-mix(in srgb, #fff 10%, transparent); }
.hero-video-card__play { width: 2rem; height: 2rem; border-radius: 999px; background: var(--primary); display: inline-flex; align-items: center; justify-content: center; color: var(--primary-foreground); flex-shrink: 0; }
.hero-video-card__meta { min-width: 0; flex: 1; }
.hero-video-card__eyebrow { font-size: 0.625rem; letter-spacing: 0.24em; text-transform: uppercase; color: color-mix(in srgb, var(--primary) 90%, transparent); font-weight: 500; }
.hero-video-card__title { font-family: var(--font-display); color: #fff; font-size: 0.9375rem; line-height: 1.2; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hero-video-card__frame { position: relative; aspect-ratio: 16 / 9; background: #000; }
.hero-video-card__frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* =========================================================
   About / Boaz shared layout
   ========================================================= */
.about-section, .boaz-section { padding: 6rem 0; position: relative; z-index: 10; }
@media (min-width: 768px) { .about-section, .boaz-section { padding: 8rem 0; } }
.boaz-section { background: color-mix(in srgb, var(--secondary) 40%, transparent); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }

.about-section__grid, .boaz-section__grid { display: grid; grid-template-columns: 1fr; gap: 3rem; align-items: start; }
@media (min-width: 1024px) { .about-section__grid, .boaz-section__grid { grid-template-columns: 5fr 7fr; gap: 4rem; } }

.about-section__portrait, .boaz-section__frame { min-width: 0; }
@media (min-width: 1024px) { .about-section__portrait, .boaz-section__frame { position: sticky; top: 7rem; } }
.about-section__portrait-frame, .boaz-section__frame-inner { position: relative; aspect-ratio: 4 / 5; overflow: hidden; background: var(--muted); }
.boaz-section__frame-inner { background: linear-gradient(135deg, color-mix(in srgb, var(--primary) 15%, transparent), var(--muted), var(--background)); border: 1px solid var(--border); display: flex; align-items: center; justify-content: center; }
.boaz-section__frame-inner--has-media { display: block; background: var(--muted); }
.boaz-section__frame-media { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.boaz-section__frame-content { text-align: center; padding: 0 2rem; position: relative; z-index: 1; }
.boaz-section__heart { display: inline-flex; width: 3.5rem; height: 3.5rem; border-radius: 999px; background: color-mix(in srgb, var(--primary) 15%, transparent); align-items: center; justify-content: center; margin-bottom: 1.25rem; color: var(--primary); }
.boaz-section__frame-quote { font-family: var(--font-display); font-style: italic; font-size: 1.5rem; color: color-mix(in srgb, var(--foreground) 70%, transparent); line-height: 1.35; }
.boaz-section__frame-note { margin-top: 1.5rem; font-size: 0.6875rem; letter-spacing: 0.24em; text-transform: uppercase; color: color-mix(in srgb, var(--foreground) 45%, transparent); }

.about-section__badge {
	position: absolute; top: 1rem; left: 1rem; display: inline-flex; align-items: center; gap: 0.5rem;
	padding: 0.25rem 0.75rem; background: var(--primary); color: var(--primary-foreground);
	font-size: 0.6875rem; letter-spacing: 0.2em; text-transform: uppercase; font-weight: 500;
}
.about-section__badge-dot { width: 0.375rem; height: 0.375rem; border-radius: 999px; background: color-mix(in srgb, #fff 80%, transparent); }
.about-section__socials { margin-top: 1.25rem; display: flex; flex-wrap: wrap; align-items: center; gap: 0.625rem; }
.boaz-section__badge { position: absolute; z-index: 2; }

/* =========================================================
   Marquee
   ========================================================= */
.marquee-section {
	position: relative; overflow: hidden; background: var(--primary); color: var(--primary-foreground);
	border-top: 1px solid color-mix(in srgb, var(--primary-foreground) 10%, transparent);
	border-bottom: 1px solid color-mix(in srgb, var(--primary-foreground) 10%, transparent);
	padding: 1.5rem 0;
}
.marquee-section__track { display: flex; width: max-content; animation: theme-marquee 38s linear infinite; }
.marquee-section__row { display: flex; align-items: center; flex-shrink: 0; gap: 3.5rem; padding-right: 3.5rem; }
.marquee-section__item { display: flex; align-items: center; flex-shrink: 0; gap: 1rem; }
.marquee-section__icon { color: color-mix(in srgb, var(--primary-foreground) 85%, transparent); display: inline-flex; }
.marquee-section__text { font-family: var(--font-display); font-style: italic; font-size: 1.375rem; line-height: 1; white-space: nowrap; letter-spacing: -0.01em; }
@media (min-width: 768px) { .marquee-section__text { font-size: 1.75rem; } }
.marquee-section__dot { width: 0.375rem; height: 0.375rem; border-radius: 999px; background: color-mix(in srgb, var(--primary-foreground) 50%, transparent); }
@keyframes theme-marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* =========================================================
   Events Calendar
   ========================================================= */
.events-section { padding: 6rem 0; position: relative; z-index: 10; }
@media (min-width: 768px) { .events-section { padding: 8rem 0; } }
.events-section__grid { display: grid; grid-template-columns: 1fr; gap: 1.25rem; }
@media (min-width: 768px) { .events-section__grid { grid-template-columns: 1fr 1fr; gap: 1.5rem; } }
.event-card {
	background: var(--card); border: 1px solid var(--border); border-radius: 1rem; overflow: hidden;
	box-shadow: var(--shadow-soft); transition: box-shadow 0.3s ease;
}
.event-card:hover { box-shadow: var(--shadow-elevated); }
.event-card__body { padding: 1.5rem; display: flex; gap: 1.25rem; }
@media (min-width: 768px) { .event-card__body { padding: 1.75rem; } }
.event-card__date {
	flex-shrink: 0; width: 5rem; border-radius: 0.75rem; border: 1px solid var(--border);
	background: color-mix(in srgb, var(--secondary) 60%, transparent);
	display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 0.75rem 0;
}
.event-card__month { font-size: 0.6875rem; letter-spacing: 0.22em; text-transform: uppercase; color: var(--primary); font-weight: 600; }
.event-card__day { font-family: var(--font-display); font-size: 1.875rem; line-height: 1; color: var(--foreground); margin-top: 0.25rem; }
.event-card__year { font-size: 0.6875rem; color: color-mix(in srgb, var(--foreground) 55%, transparent); margin-top: 0.25rem; }
.event-card__content { min-width: 0; flex: 1; }
.event-card__tag {
	display: inline-flex; align-items: center; gap: 0.375rem; padding: 0.125rem 0.625rem; border-radius: 999px;
	background: color-mix(in srgb, var(--primary) 10%, transparent); color: var(--primary); font-size: 0.625rem;
	letter-spacing: 0.2em; text-transform: uppercase; font-weight: 500; margin-bottom: 0.5rem;
}
.event-card__title { font-family: var(--font-display); font-size: 1.25rem; line-height: 1.25; color: var(--foreground); }
@media (min-width: 768px) { .event-card__title { font-size: 1.35rem; } }
.event-card__meta { margin-top: 0.75rem; display: flex; flex-direction: column; gap: 0.375rem; font-size: 0.8125rem; color: color-mix(in srgb, var(--foreground) 70%, transparent); }
.event-card__meta li { display: flex; align-items: center; gap: 0.5rem; }
.event-card__meta svg { color: color-mix(in srgb, var(--foreground) 50%, transparent); flex-shrink: 0; }
.event-card__description { margin-top: 1rem; font-size: 0.875rem; color: color-mix(in srgb, var(--foreground) 70%, transparent); line-height: 1.6; }
.events-section__cta { margin-top: 3rem; text-align: center; }
.events-section__cta-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.5rem;
	height: 3rem;
	padding: 0 1.5rem;
	border-radius: 999px;
	border: 1px solid var(--primary);
	background: transparent;
	color: var(--primary);
	font-family: var(--font-body);
	font-size: 0.875rem;
	font-weight: 500;
	line-height: normal;
	letter-spacing: normal;
	text-transform: none;
	white-space: nowrap;
	text-decoration: none;
	cursor: pointer;
	transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
.events-section__cta-btn:hover { background: var(--primary); color: var(--primary-foreground); border-color: var(--primary); }
.events-section__cta-btn svg { flex-shrink: 0; width: 1.125rem; height: 1.125rem; }

/* =========================================================
   Hall of Fame
   ========================================================= */
.hof-section { position: relative; background: color-mix(in srgb, var(--secondary) 40%, transparent); padding: 6rem 0; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); overflow: hidden; }
@media (min-width: 768px) { .hof-section { padding: 8rem 0; } }
.hof-section__marquee-wrap { position: relative; margin-top: 1rem; }
.hof-section__track { display: flex; width: max-content; animation: theme-hof-marquee 60s linear infinite; }
.hof-section__marquee-wrap:hover .hof-section__track { animation-play-state: paused; }
.hof-section__row { display: flex; align-items: center; flex-shrink: 0; gap: 1.5rem; padding-right: 1.5rem; }
.hof-card { position: relative; flex-shrink: 0; width: 260px; aspect-ratio: 4 / 5; overflow: hidden; border-radius: 0.75rem; border: 1px solid var(--border); background: var(--muted); box-shadow: var(--shadow-soft); margin: 0; }
@media (min-width: 768px) { .hof-card { width: 320px; } }
.hof-card figcaption {
	position: absolute; inset-inline: 0; bottom: 0; padding: 1rem;
	background: linear-gradient(to top, rgb(0 0 0 / 0.7), transparent);
	font-size: 0.625rem; letter-spacing: 0.24em; text-transform: uppercase; color: color-mix(in srgb, #fff 85%, transparent); font-weight: 500;
}
.hof-section__fade { position: absolute; inset-block: 0; width: 6rem; pointer-events: none; }
.hof-section__fade--left { left: 0; background: linear-gradient(to right, color-mix(in srgb, var(--secondary) 60%, transparent), transparent); }
.hof-section__fade--right { right: 0; background: linear-gradient(to left, color-mix(in srgb, var(--secondary) 60%, transparent), transparent); }
@keyframes theme-hof-marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* =========================================================
   Legacy Gallery / Portfolio + Lightbox
   ========================================================= */
.portfolio-section { padding: 6rem 0; position: relative; z-index: 10; }
@media (min-width: 768px) { .portfolio-section { padding: 8rem 0; } }
.portfolio-section__grid {
	display: grid; grid-template-columns: 1fr; gap: 1px;
	background: color-mix(in srgb, var(--foreground) 15%, transparent);
	border: 1px solid color-mix(in srgb, var(--foreground) 15%, transparent);
	overflow: hidden;
}
@media (min-width: 640px) { .portfolio-section__grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .portfolio-section__grid { grid-template-columns: 1fr 1fr 1fr; } }
.portfolio-tile { position: relative; display: block; aspect-ratio: 1 / 1; overflow: hidden; background: var(--background); padding: 0; text-align: left; }
.portfolio-tile img { transition: transform 1.4s cubic-bezier(0.22, 0.61, 0.36, 1); }
.portfolio-tile:hover img { transform: scale(1.08); }
.portfolio-tile__scrim { position: absolute; inset: 0; background: linear-gradient(to top, rgb(0 0 0 / 0.8), rgb(0 0 0 / 0.2) 60%, transparent); opacity: 0.8; transition: opacity 0.5s ease; }
.portfolio-tile:hover .portfolio-tile__scrim { opacity: 0.95; }
.portfolio-tile__caption { position: absolute; inset-inline: 0; bottom: 0; padding: 1.25rem; }
.portfolio-tile__eyebrow { font-size: 0.75rem; letter-spacing: 0.24em; text-transform: uppercase; color: color-mix(in srgb, #fff 75%, transparent); margin-bottom: 0.375rem; }
.portfolio-tile__title { font-family: var(--font-display); color: #fff; font-size: 1.5rem; line-height: 1.2; }

.portfolio-lightbox {
	display: none; position: fixed; inset: 0; z-index: 100; background: rgb(0 0 0 / 0.9);
	backdrop-filter: blur(10px); align-items: center; justify-content: center; padding: 0;
}
.portfolio-lightbox.is-open { display: flex; }
@media (min-width: 640px) { .portfolio-lightbox { padding: 1rem; } }
@media (min-width: 768px) { .portfolio-lightbox { padding: 2rem; } }
.portfolio-lightbox__nav {
	display: none; position: fixed; top: 50%; transform: translateY(-50%); z-index: 110;
	width: 2.75rem; height: 2.75rem; border-radius: 999px; background: color-mix(in srgb, #fff 10%, transparent);
	color: #fff; align-items: center; justify-content: center; border: 1px solid color-mix(in srgb, #fff 20%, transparent);
}
.portfolio-lightbox__nav:hover { background: color-mix(in srgb, #fff 20%, transparent); }
.portfolio-lightbox__nav--prev { left: 1.25rem; }
.portfolio-lightbox__nav--next { right: 1.25rem; }
@media (min-width: 768px) { .portfolio-lightbox__nav { display: inline-flex; } }
.portfolio-lightbox__close {
	position: fixed; top: 1.25rem; right: 1.25rem; z-index: 110; width: 2.75rem; height: 2.75rem; border-radius: 999px;
	background: color-mix(in srgb, #fff 10%, transparent); color: #fff; display: none; align-items: center; justify-content: center;
	border: 1px solid color-mix(in srgb, #fff 20%, transparent);
}
@media (min-width: 768px) { .portfolio-lightbox__close { display: inline-flex; } }
.portfolio-lightbox__close--mobile {
	position: absolute; top: 0.75rem; right: 0.75rem; z-index: 20; display: inline-flex;
	background: rgb(0 0 0 / 0.55); backdrop-filter: blur(4px); border-color: color-mix(in srgb, #fff 25%, transparent);
}
@media (min-width: 768px) { .portfolio-lightbox__close--mobile { display: none; } }
.portfolio-lightbox__panel {
	position: relative; width: 100%; max-width: 72rem; display: flex; flex-direction: column;
	background: var(--background); height: 100dvh; max-height: 100dvh; overflow: hidden;
}
@media (min-width: 640px) {
	.portfolio-lightbox__panel {
		height: auto;
		max-height: 92vh;
		border-radius: 0.75rem;
	}
}
@media (min-width: 768px) {
	.portfolio-lightbox__panel {
		display: grid;
		grid-template-columns: 1fr 1fr;
		max-height: 88vh;
		align-items: stretch;
	}
}
.portfolio-lightbox__media { position: relative; flex-shrink: 0; aspect-ratio: 16 / 10; background: #000; overflow: hidden; }
@media (min-width: 640px) { .portfolio-lightbox__media { aspect-ratio: 1 / 1; } }
@media (min-width: 768px) {
	.portfolio-lightbox__media {
		aspect-ratio: unset;
		min-height: 0;
		height: 100%;
		align-self: stretch;
	}
}
.portfolio-lightbox__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; }
.portfolio-lightbox__media-scrim { position: absolute; inset-inline: 0; bottom: 0; padding: 1rem 1.25rem; background: linear-gradient(to top, rgb(0 0 0 / 0.85), transparent); }
.portfolio-lightbox__media-row { display: flex; align-items: center; gap: 0.75rem; }
.portfolio-lightbox__mobile-nav { flex-shrink: 0; width: 2.5rem; height: 2.5rem; border-radius: 999px; background: color-mix(in srgb, #fff 15%, transparent); color: #fff; display: inline-flex; align-items: center; justify-content: center; border: 1px solid color-mix(in srgb, #fff 25%, transparent); }
@media (min-width: 768px) { .portfolio-lightbox__mobile-nav { display: none; } }
.portfolio-lightbox__frame-info { min-width: 0; flex: 1; }
.portfolio-lightbox__frame-info p:first-child { font-size: 0.75rem; letter-spacing: 0.28em; text-transform: uppercase; color: color-mix(in srgb, #fff 70%, transparent); margin-bottom: 0.25rem; }
.portfolio-lightbox__frame-info p:last-child { font-family: var(--font-display); font-style: italic; color: #fff; font-size: 0.875rem; line-height: 1.4; }
.portfolio-lightbox__content {
	flex: 1; min-height: 0; overflow-y: auto; overscroll-behavior: contain;
	padding: 1.5rem; padding-bottom: calc(1.5rem + env(safe-area-inset-bottom, 0px));
	display: flex; flex-direction: column;
}
@media (min-width: 640px) { .portfolio-lightbox__content { padding: 2rem; padding-bottom: calc(2rem + env(safe-area-inset-bottom, 0px)); } }
@media (min-width: 1024px) { .portfolio-lightbox__content { padding: 3rem; padding-bottom: calc(3rem + env(safe-area-inset-bottom, 0px)); } }
.portfolio-lightbox__eyebrow { font-size: 0.75rem; letter-spacing: 0.28em; text-transform: uppercase; color: var(--primary); font-weight: 500; margin-bottom: 0.75rem; }
.portfolio-lightbox__title { font-family: var(--font-display); font-size: 1.5rem; color: var(--foreground); line-height: 1.2; }
@media (min-width: 640px) { .portfolio-lightbox__title { font-size: 1.875rem; } }
@media (min-width: 768px) { .portfolio-lightbox__title { font-size: 2.25rem; } }
.portfolio-lightbox__meta { margin-top: 1.25rem; display: flex; flex-wrap: wrap; align-items: center; gap: 1.25rem; font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.16em; color: color-mix(in srgb, var(--foreground) 60%, transparent); }
.portfolio-lightbox__meta span { display: inline-flex; align-items: center; gap: 0.5rem; }
.portfolio-lightbox__meta .dot { width: 0.375rem; height: 0.375rem; border-radius: 999px; background: color-mix(in srgb, var(--foreground) 40%, transparent); }
.portfolio-lightbox__meta .dot--primary { background: var(--primary); }
.portfolio-lightbox__quote { margin-top: 1.5rem; font-family: var(--font-display); font-style: italic; font-size: 1rem; color: color-mix(in srgb, var(--foreground) 80%, transparent); line-height: 1.6; border-left: 2px solid var(--primary); padding-left: 1.25rem; }
@media (min-width: 640px) { .portfolio-lightbox__quote { font-size: 1.125rem; } }
.portfolio-lightbox__story { margin-top: 1.5rem; display: flex; flex-direction: column; gap: 1rem; font-size: 0.90625rem; line-height: 1.6; color: color-mix(in srgb, var(--foreground) 75%, transparent); }
.portfolio-lightbox__actions {
	margin-top: auto; padding-top: 1.5rem; border-top: 1px solid var(--border);
	display: flex; flex-wrap: wrap; align-items: center; gap: 0.75rem;
}
@media (max-width: 639px) {
	.portfolio-lightbox__actions .theme-btn { width: 100%; }
}

/* =========================================================
   Services
   ========================================================= */
.services-section { padding: 6rem 0; position: relative; z-index: 10; background: var(--secondary); }
@media (min-width: 768px) { .services-section { padding: 8rem 0; } }
.services-section__grid { display: grid; grid-template-columns: 1fr; gap: 1.5rem; }
@media (min-width: 768px) { .services-section__grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .services-section__grid { grid-template-columns: 1fr 1fr 1fr; gap: 1.75rem; } }
.service-card { position: relative; background: var(--background); overflow: hidden; display: flex; flex-direction: column; border: 1px solid color-mix(in srgb, var(--border) 60%, transparent); transition: box-shadow 0.5s ease; }
.service-card:hover { box-shadow: 0 30px 60px -25px rgb(0 0 0 / 0.25); }
.service-card__media { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--muted); }
.service-card__media img { transition: transform 1.4s cubic-bezier(0.22, 0.61, 0.36, 1); }
.service-card:hover .service-card__media img { transform: scale(1.06); }
.service-card__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgb(0 0 0 / 0.55), rgb(0 0 0 / 0.1), transparent); pointer-events: none; }
.service-card__tag { position: absolute; top: 1rem; left: 1rem; z-index: 2; display: inline-flex; align-items: center; gap: 0.5rem; padding: 0.25rem 0.75rem; background: color-mix(in srgb, var(--background) 90%, transparent); backdrop-filter: blur(4px); color: var(--foreground); font-size: 0.625rem; letter-spacing: 0.24em; text-transform: uppercase; font-weight: 500; }
.service-card__tag-dot { width: 0.375rem; height: 0.375rem; border-radius: 999px; background: var(--primary); }
.service-card__icon { position: absolute; bottom: 1rem; left: 1rem; z-index: 2; width: 2.75rem; height: 2.75rem; border-radius: 999px; background: var(--primary); color: var(--primary-foreground); display: inline-flex; align-items: center; justify-content: center; box-shadow: var(--shadow-soft); }
.service-card__body { padding: 1.5rem; display: flex; flex-direction: column; flex: 1; }
@media (min-width: 1024px) { .service-card__body { padding: 1.75rem; } }
.service-card__title { font-family: var(--font-display); font-size: 1.4rem; line-height: 1.25; color: var(--foreground); }
@media (min-width: 1024px) { .service-card__title { font-size: 1.5rem; } }
.service-card__text { margin-top: 0.75rem; font-size: 0.875rem; color: color-mix(in srgb, var(--foreground) 70%, transparent); line-height: 1.6; flex: 1; }
.service-card__cta { margin-top: 1.5rem; display: inline-flex; align-items: center; gap: 0.5rem; font-size: 0.8125rem; font-weight: 500; color: var(--primary); align-self: flex-start; text-transform: uppercase; letter-spacing: 0.14em; }
.service-card__cta:hover { color: color-mix(in srgb, var(--primary) 80%, transparent); }
.service-card__cta svg { transition: transform 0.3s ease; }
.service-card:hover .service-card__cta svg { transform: translate(0.125rem, -0.125rem); }

/* =========================================================
   Shop
   ========================================================= */
.shop-section { padding: 6rem 0; position: relative; z-index: 10; }
@media (min-width: 768px) { .shop-section { padding: 8rem 0; } }
.shop-section__head { display: flex; flex-direction: column; gap: 1.5rem; margin-bottom: 2rem; }
@media (min-width: 1024px) { .shop-section__head { flex-direction: row; align-items: flex-end; justify-content: space-between; } }
.shop-section__head-copy { max-width: 40rem; }
.shop-section__search { position: relative; width: 100%; }
@media (min-width: 1024px) { .shop-section__search { width: 20rem; } }
.shop-section__search svg { position: absolute; left: 1rem; top: 50%; transform: translateY(-50%); color: color-mix(in srgb, var(--foreground) 40%, transparent); }
.shop-section__search input { width: 100%; height: 2.75rem; padding: 0 1rem 0 2.75rem; border-radius: 999px; background: var(--secondary); border: 1px solid var(--border); font-size: 0.875rem; }
.shop-section__search input::placeholder { color: color-mix(in srgb, var(--foreground) 45%, transparent); }
.shop-section__search input:focus { outline: none; border-color: var(--primary); }
.shop-section__note {
	margin-bottom: 2rem; display: inline-flex; align-items: center; gap: 0.5rem; padding: 0.5rem 1rem;
	border-radius: 999px; background: var(--secondary); border: 1px solid var(--border); font-size: 0.75rem;
	color: color-mix(in srgb, var(--foreground) 70%, transparent);
}
.shop-section__note svg { color: var(--primary); flex-shrink: 0; }
.theme-shop-note-accent { color: var(--primary); font-weight: 500; }
.shop-section__filters { display: flex; flex-wrap: wrap; gap: 0.625rem; margin-bottom: 2.5rem; }
.shop-section__empty { text-align: center; padding: 5rem 0; color: color-mix(in srgb, var(--foreground) 55%, transparent); }

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

.theme-product-card-wrap { display: flex; }
.theme-product-card { display: flex; flex-direction: column; width: 100%; }
.theme-product-card__image-wrapper { position: relative; aspect-ratio: 1 / 1; background: var(--linen); border-radius: 0.75rem; overflow: hidden; margin-bottom: 1rem; }
.theme-product-card__image-wrapper::after {
	content: '';
	position: absolute;
	inset: 0;
	background: linear-gradient(to top, color-mix(in srgb, var(--foreground) 35%, transparent), transparent);
	opacity: 0;
	transition: opacity 0.5s ease-out;
	pointer-events: none;
	z-index: 1;
}
.theme-product-card:hover .theme-product-card__image-wrapper::after { opacity: 1; }
.theme-product-card__image-wrapper img.theme-product-card-img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
	pointer-events: none;
	user-select: none;
	transition: transform 1.4s cubic-bezier(0.22, 0.61, 0.36, 1);
}
.theme-product-card:hover .theme-product-card__image-wrapper img.theme-product-card-img { transform: scale(1.04); }
.theme-card-link { position: absolute; inset: 0; z-index: 2; display: block; }
.theme-product-card:hover .theme-card-link { pointer-events: none; }
.theme-product-card__badge { position: absolute; top: 0.75rem; left: 0.75rem; z-index: 3; background: var(--foreground); color: var(--background); font-size: 0.6875rem; font-weight: 500; padding: 0.25rem 0.625rem; border-radius: 999px; }
.theme-product-card__quick-actions { position: absolute; inset-inline: 0.75rem; bottom: 0.75rem; z-index: 5; display: flex; align-items: center; gap: 0.5rem; opacity: 0; transition: opacity 0.5s ease-out; pointer-events: none; }
.theme-product-card:hover .theme-product-card__quick-actions { opacity: 1; pointer-events: auto; }
.theme-product-card__quick-actions .theme-product-card__add-btn,
.theme-product-card__quick-actions .theme-product-card__view-btn { position: relative; z-index: 6; pointer-events: auto; cursor: pointer; }
.theme-product-card__add-btn.add_to_cart_button.ajax_add_to_cart,
.theme-product-card__add-btn:not(.ajax_add_to_cart) {
	flex: 1; min-height: 2.5rem !important; height: 2.5rem !important; padding: 0 1rem !important; border-radius: 999px !important;
	display: inline-flex !important; align-items: center !important; justify-content: center !important; gap: 0.5rem !important;
	font-size: 0.875rem !important; font-weight: 500 !important; letter-spacing: 0.025em !important;
	background: var(--primary) !important; color: var(--primary-foreground) !important; border: none !important;
	box-shadow: 0 1px 2px rgb(0 0 0 / 0.08) !important; pointer-events: auto !important; z-index: 4;
	transition: background-color 0.3s ease !important;
}
.theme-product-card__add-btn:hover { background: color-mix(in srgb, var(--primary) 90%, transparent) !important; opacity: 1 !important; }
.theme-product-card__view-btn { width: 2.5rem; height: 2.5rem; border-radius: 999px; background: var(--primary); color: var(--primary-foreground); display: inline-flex; align-items: center; justify-content: center; pointer-events: auto; flex-shrink: 0; z-index: 4; box-shadow: 0 1px 2px rgb(0 0 0 / 0.08); transition: background-color 0.3s ease; }
.theme-product-card__view-btn:hover { background: color-mix(in srgb, var(--primary) 90%, transparent); opacity: 1; }
.theme-product-card__info { display: block; padding: 0 0.125rem; position: relative; z-index: 2; flex: 1; }
.theme-product-card__category { font-size: 0.6875rem; text-transform: uppercase; letter-spacing: 0.16em; color: color-mix(in srgb, var(--primary) 90%, transparent); margin-bottom: 0.375rem; font-weight: 500; }
.theme-product-card__title { font-family: var(--font-display); font-size: 1.15rem; line-height: 1.375; color: var(--foreground); transition: color 0.3s ease; }
@media (min-width: 768px) { .theme-product-card__title { font-size: 1.3rem; } }
@media (min-width: 1024px) { .theme-product-card__title { font-size: 1.4rem; } }
.theme-product-card:hover .theme-product-card__title { color: var(--primary); }
.theme-product-card__price { margin-top: 0.375rem; font-size: 0.875rem; font-weight: 500; color: color-mix(in srgb, var(--foreground) 85%, transparent); }
.theme-product-card__price del { color: color-mix(in srgb, var(--foreground) 45%, transparent); margin-right: 0.375rem; }
.theme-product-card__price ins { text-decoration: none; }

/* =========================================================
   Donations
   ========================================================= */
.donate-section { position: relative; padding: 6rem 0; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); background: linear-gradient(135deg, color-mix(in srgb, var(--primary) 10%, transparent), var(--background), color-mix(in srgb, var(--secondary) 40%, transparent)); }
@media (min-width: 768px) { .donate-section { padding: 8rem 0; } }
.donate-section__primary { position: relative; overflow: hidden; border-radius: 1rem; background: var(--primary); color: var(--primary-foreground); padding: 2rem; margin-bottom: 1.5rem; box-shadow: var(--shadow-elevated); }
@media (min-width: 768px) { .donate-section__primary { padding: 3rem; } }
.donate-section__primary-inner { display: grid; grid-template-columns: 1fr; gap: 2rem; align-items: center; }
@media (min-width: 768px) { .donate-section__primary-inner { grid-template-columns: 1fr auto; } }
.donate-section__primary-label { font-size: 0.6875rem; letter-spacing: 0.24em; text-transform: uppercase; color: color-mix(in srgb, var(--primary-foreground) 80%, transparent); font-weight: 500; margin-bottom: 0.75rem; }
.donate-section__primary-heading { font-family: var(--font-display); font-size: 1.875rem; line-height: 1.25; }
@media (min-width: 768px) { .donate-section__primary-heading { font-size: 2.25rem; } }
.donate-section__primary-text { margin-top: 1rem; font-size: 0.875rem; color: color-mix(in srgb, var(--primary-foreground) 85%, transparent); max-width: 36rem; }
@media (min-width: 768px) { .donate-section__primary-text { font-size: 0.9375rem; } }
.donate-section__primary-cta { display: inline-flex; align-items: center; gap: 0.5rem; height: 3.5rem; padding: 0 2rem; border-radius: 999px; background: var(--primary-foreground); color: var(--primary); font-size: 0.9375rem; font-weight: 600; transition: background-color 0.2s ease; flex-shrink: 0; }
.donate-section__primary-cta:hover { background: #fff; }
.donate-section__grid { display: grid; grid-template-columns: 1fr; gap: 1.25rem; }
@media (min-width: 768px) { .donate-section__grid { grid-template-columns: repeat(3, 1fr); } }
.donate-card { background: var(--card); border: 1px solid var(--border); border-radius: 1rem; padding: 1.75rem; box-shadow: var(--shadow-soft); display: flex; flex-direction: column; }
.donate-card__icon { display: inline-flex; width: 2.75rem; height: 2.75rem; border-radius: 999px; background: color-mix(in srgb, var(--primary) 10%, transparent); color: var(--primary); align-items: center; justify-content: center; margin-bottom: 1rem; }
.donate-card__label { font-size: 0.6875rem; letter-spacing: 0.22em; text-transform: uppercase; color: color-mix(in srgb, var(--foreground) 55%, transparent); font-weight: 500; }
.donate-card__heading { margin-top: 0.5rem; font-family: var(--font-display); font-size: 1.25rem; color: var(--foreground); line-height: 1.25; }
.donate-card__text, .donate-card__link { margin-top: 0.75rem; font-size: 0.875rem; color: color-mix(in srgb, var(--foreground) 70%, transparent); line-height: 1.625; flex: 1; }
.donate-card__link { color: var(--primary); word-break: break-all; }
.donate-card__link:hover { text-decoration: underline; }
.donate-section__disclaimer { margin-top: 2.5rem; text-align: center; font-size: 0.75rem; color: color-mix(in srgb, var(--foreground) 55%, transparent); max-width: 42rem; margin-inline: auto; }

/* =========================================================
   Pre-contact CTA
   ========================================================= */
.precta-section { position: relative; overflow: hidden; }
.precta-section__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.precta-section__scrim { position: absolute; inset: 0; background: linear-gradient(to bottom, rgb(0 0 0 / 0.7), rgb(0 0 0 / 0.55), rgb(0 0 0 / 0.75)); pointer-events: none; }
.precta-section__inner { position: relative; z-index: 1; padding: 7rem 0; text-align: center; color: #fff; }
@media (min-width: 768px) { .precta-section__inner { padding: 10rem 0; } }
.precta-section__eyebrow { display: inline-flex; align-items: center; justify-content: center; gap: 0.75rem; font-size: 0.75rem; letter-spacing: 0.38em; text-transform: uppercase; color: color-mix(in srgb, #fff 85%, transparent); margin-bottom: 1.5rem; font-weight: 500; }
.precta-section__rule { height: 1px; width: 2rem; background: var(--primary); }
.precta-section__heading { font-family: var(--font-display); color: #fff; line-height: 1.05; letter-spacing: -0.02em; margin-inline: auto; max-width: 56rem; font-size: 2rem; text-shadow: 0 2px 30px rgb(0 0 0 / 0.55); }
@media (min-width: 640px) { .precta-section__heading { font-size: 2.75rem; } }
@media (min-width: 1024px) { .precta-section__heading { font-size: 4rem; } }
.precta-section__heading em { font-style: italic; color: var(--primary); }
.precta-section__subtext { margin-top: 1.75rem; max-width: 36rem; margin-inline: auto; font-size: 0.9375rem; color: color-mix(in srgb, #fff 85%, transparent); line-height: 1.7; }
.precta-section__inner > div:last-child { margin-top: 2.5rem; }

/* =========================================================
   Contact
   ========================================================= */
.contact-section { padding: 6rem 0 4rem; position: relative; z-index: 10; }
@media (min-width: 768px) { .contact-section { padding: 8rem 0 5rem; } }
.contact-section__grid { display: grid; grid-template-columns: 1fr; gap: 2rem; align-items: stretch; }
@media (min-width: 1024px) { .contact-section__grid { grid-template-columns: 1fr 1fr; gap: 2.5rem; } }
.contact-card, .contact-form { background: var(--secondary); border: 1px solid var(--border); border-radius: 1rem; padding: 2rem; box-shadow: var(--shadow-soft); display: flex; flex-direction: column; height: 100%; }
@media (min-width: 768px) { .contact-card, .contact-form { padding: 2.5rem; } }
.contact-card__label { font-size: 0.6875rem; letter-spacing: 0.24em; text-transform: uppercase; color: color-mix(in srgb, var(--foreground) 55%, transparent); font-weight: 500; margin-bottom: 0.75rem; }
.contact-card__heading { font-family: var(--font-display); font-size: 1.5rem; color: var(--foreground); line-height: 1.25; }
@media (min-width: 768px) { .contact-card__heading { font-size: 1.875rem; } }
.contact-card__text { margin-top: 1rem; font-size: 0.875rem; color: color-mix(in srgb, var(--foreground) 70%, transparent); line-height: 1.6; }
.contact-card__list { margin-top: 2rem; display: flex; flex-direction: column; gap: 1.25rem; flex: 1; }
.contact-card__item { display: inline-flex; align-items: center; gap: 1rem; color: var(--foreground); transition: color 0.2s ease; }
.contact-card__item:hover { color: var(--primary); }
.contact-card__icon { width: 2.75rem; height: 2.75rem; border-radius: 999px; background: var(--background); border: 1px solid var(--border); display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; transition: border-color 0.2s ease; }
.contact-card__item:hover .contact-card__icon { border-color: var(--primary); }
.contact-card__item-copy { display: flex; flex-direction: column; text-align: left; min-width: 0; }
.contact-card__item-label { font-size: 0.6875rem; letter-spacing: 0.22em; text-transform: uppercase; color: color-mix(in srgb, var(--foreground) 55%, transparent); }
.contact-card__item-value { font-size: 0.875rem; font-weight: 500; word-break: break-word; }
.contact-card__socials { margin-top: 2rem; padding-top: 1.5rem; border-top: 1px solid var(--border); display: flex; align-items: center; gap: 0.75rem; }

.contact-form__fields { display: flex; flex-direction: column; gap: 1rem; flex: 1; margin-top: 1.5rem; }
.contact-form__row { display: grid; grid-template-columns: 1fr; gap: 0.75rem; }
@media (min-width: 640px) { .contact-form__row { grid-template-columns: 1fr 1fr; } }
.contact-form__select-wrap { position: relative; }
.contact-form__select-wrap select { appearance: none; padding-right: 2.5rem; }
.contact-form__select-caret { position: absolute; right: 1rem; top: 50%; transform: translateY(-50%); pointer-events: none; color: color-mix(in srgb, var(--foreground) 50%, transparent); }
.contact-form button[type="submit"] { margin-top: 1.5rem; }
.contact-form.is-submitting button[type="submit"] { opacity: 0.7; pointer-events: none; }
.contact-form__footnote { margin-top: 1rem; text-align: center; font-size: 0.75rem; color: color-mix(in srgb, var(--foreground) 55%, transparent); }
.contact-form__status { margin-top: 0.75rem; text-align: center; font-size: 0.8125rem; min-height: 1.2em; }
.contact-form__status.is-success { color: var(--primary); }
.contact-form__status.is-error { color: var(--destructive); }

/* =========================================================
   Footer
   ========================================================= */
.site-footer { background: var(--secondary); border-top: 1px solid var(--border); position: relative; z-index: 10; }
.site-footer__inner { padding-top: 3.5rem; padding-bottom: 5rem; }
@media (min-width: 1024px) { .site-footer__inner { padding-top: 5rem; padding-bottom: 5rem; } }
.site-footer__grid { display: grid; grid-template-columns: 1fr; gap: 2.5rem; }
@media (min-width: 640px) { .site-footer__grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .site-footer__grid { grid-template-columns: repeat(4, 1fr); gap: 3rem; } }
.site-footer__brand { display: inline-flex; align-items: center; gap: 0.75rem; }
.site-footer__tagline { margin-top: 1rem; font-size: 0.875rem; color: color-mix(in srgb, var(--foreground) 70%, transparent); line-height: 1.6; max-width: 20rem; }
.site-footer__socials { margin-top: 1.25rem; display: flex; align-items: center; gap: 0.5rem; }
.site-footer__social-btn { width: 2.25rem; height: 2.25rem; border-radius: 999px; border: 1px solid var(--border); display: inline-flex; align-items: center; justify-content: center; color: color-mix(in srgb, var(--foreground) 70%, transparent); transition: color 0.2s ease, border-color 0.2s ease; }
.site-footer__social-btn:hover { color: var(--primary); border-color: var(--primary); }
.site-footer__heading { font-family: var(--font-display); font-size: 1.125rem; color: var(--foreground); margin-bottom: 1rem; }
.site-footer__list { display: flex; flex-direction: column; gap: 0.625rem; }
.site-footer__list a { font-size: 0.875rem; color: color-mix(in srgb, var(--foreground) 70%, transparent); transition: color 0.2s ease; }
.site-footer__list a:hover { color: var(--primary); }
.site-footer__list--contact { gap: 0.75rem; }
.site-footer__contact-link { display: inline-flex; align-items: flex-start; gap: 0.5rem; color: color-mix(in srgb, var(--foreground) 80%, transparent); font-size: 0.875rem; }
.site-footer__contact-link:hover { color: var(--primary); }
.site-footer__contact-link svg { margin-top: 0.125rem; flex-shrink: 0; }
.site-footer__contact-link--static { color: color-mix(in srgb, var(--foreground) 70%, transparent); }
.site-footer__bottom { margin-top: 3.5rem; padding-top: 2rem; border-top: 1px solid var(--border); text-align: center; font-size: 0.75rem; color: color-mix(in srgb, var(--foreground) 60%, transparent); display: flex; flex-direction: column; gap: 0.5rem; }
.site-footer__bottom a { color: var(--primary); }
.site-footer__bottom a:hover { text-decoration: underline; }

/* =========================================================
   Side Cart drawer + overlay
   ========================================================= */
#theme-cart-overlay {
	position: fixed; inset: 0; background: color-mix(in srgb, var(--foreground) 30%, transparent);
	z-index: 90; opacity: 0; pointer-events: none; transition: opacity 0.3s ease;
}
body.cart-open #theme-cart-overlay { opacity: 1; pointer-events: auto; }

#theme-cart-drawer {
	position: fixed; top: 0; right: 0; height: 100%; width: 100%; max-width: 28rem;
	background: var(--ivory); z-index: 91; box-shadow: var(--shadow-elevated);
	display: flex; flex-direction: column; transform: translateX(100%); transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}
body.cart-open #theme-cart-drawer { transform: translateX(0); }
#theme-cart-drawer.is-updating { opacity: 0.6; pointer-events: none; }
.theme-cart-drawer__header { display: flex; align-items: center; justify-content: space-between; padding: 1.5rem; border-bottom: 1px solid color-mix(in srgb, var(--foreground) 10%, transparent); }
.theme-cart-drawer__header h2 { font-family: var(--font-display); font-size: 1.5rem; }
.theme-cart-drawer__close { padding: 0.375rem; border-radius: 999px; }
.theme-cart-drawer__close:hover { background: color-mix(in srgb, var(--foreground) 6%, transparent); }
.theme-cart-drawer__empty { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 1.5rem; text-align: center; gap: 1.5rem; }
.theme-cart-drawer__empty svg { color: color-mix(in srgb, var(--foreground) 30%, transparent); }
.theme-cart-drawer__empty p { color: color-mix(in srgb, var(--foreground) 65%, transparent); font-size: 0.875rem; }
.theme-cart-drawer__items { flex: 1; overflow: auto; padding: 1.5rem; display: flex; flex-direction: column; gap: 1.25rem; }
.theme-cart-item { display: flex; gap: 1rem; }
.theme-cart-item__image { display: block; width: 5rem; height: 6rem; background: var(--bone); border-radius: 0.375rem; overflow: hidden; flex-shrink: 0; position: relative; }
.theme-cart-item__image img,
.theme-cart-item__image .theme-cart-item__img,
#theme-cart-drawer .theme-cart-item__image img {
	width: 100% !important;
	height: 100% !important;
	max-height: none !important;
	object-fit: cover;
	display: block;
}
.theme-cart-item__body { flex: 1; min-width: 0; }
.theme-cart-item__title { display: block; font-size: 0.875rem; font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.theme-cart-item__title:hover { color: var(--primary); }
.theme-cart-item__price { margin-top: 0.125rem; font-size: 0.8125rem; color: color-mix(in srgb, var(--foreground) 60%, transparent); }
.theme-cart-item__variation { margin-top: 0.25rem; font-size: 0.75rem; color: color-mix(in srgb, var(--foreground) 55%, transparent); }
.theme-cart-item__controls { margin-top: 0.75rem; display: flex; align-items: center; gap: 0.75rem; }
.theme-cart-item__qty { display: flex; align-items: center; gap: 0.75rem; }
.theme-cart-item__qty button { padding: 0.25rem; border-radius: 0.25rem; }
.theme-cart-item__qty button:hover { background: var(--bone); }
.theme-cart-item__qty span { font-size: 0.8125rem; width: 1.5rem; text-align: center; }
.theme-cart-item__remove { margin-left: auto; font-size: 0.8125rem; color: color-mix(in srgb, var(--foreground) 55%, transparent); }
.theme-cart-item__remove:hover { color: var(--destructive); }
.theme-cart-drawer__footer { padding: 1.5rem; border-top: 1px solid color-mix(in srgb, var(--foreground) 10%, transparent); display: flex; flex-direction: column; gap: 1rem; background: color-mix(in srgb, var(--linen) 40%, transparent); }
.theme-cart-drawer__subtotal { display: flex; justify-content: space-between; font-size: 0.875rem; font-weight: 500; }
.theme-cart-drawer__note { font-size: 0.8125rem; color: color-mix(in srgb, var(--foreground) 55%, transparent); }

/* Hide "View cart" injected by WooCommerce after AJAX add-to-cart (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 — Add to Cart button overrides (Section 11.4.1)
   ========================================================= */
.single_add_to_cart_button.button,
.add_to_cart_button.button,
a.single_add_to_cart_button,
a.add_to_cart_button {
	background-color: var(--primary) !important;
	color: var(--primary-foreground) !important;
	border: none !important;
	border-radius: var(--btn-radius) !important;
	min-height: var(--btn-height) !important;
	padding: var(--btn-padding) !important;
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;
	font-family: var(--font-body) !important;
	font-size: var(--btn-font-size) !important;
	font-weight: var(--btn-font-weight) !important;
	letter-spacing: var(--btn-letter-spacing) !important;
	text-transform: var(--btn-text-transform) !important;
	cursor: pointer !important;
	transition: opacity 0.2s ease !important;
}
.single_add_to_cart_button.button:hover,
.add_to_cart_button.button:hover {
	opacity: 0.85 !important;
	background-color: var(--primary) !important;
	color: var(--primary-foreground) !important;
}
.single_add_to_cart_button.button:disabled,
.single_add_to_cart_button.button.disabled,
.add_to_cart_button.button:disabled,
.add_to_cart_button.button.disabled {
	cursor: not-allowed !important;
	opacity: 0.4 !important;
	pointer-events: none !important;
}
.single_add_to_cart_button.button:disabled:hover,
.single_add_to_cart_button.button.disabled:hover,
.add_to_cart_button.button:disabled:hover,
.add_to_cart_button.button.disabled:hover {
	opacity: 0.4 !important;
	background-color: var(--primary) !important;
}
/* Card compact button — overrides global rules for the quick-add button */
.theme-product-card .add_to_cart_button.ajax_add_to_cart {
	min-height: 2.5rem !important;
}
.single-product .single_add_to_cart_button.loading::after,
.ajax_add_to_cart.loading::after { display: none !important; }

/* =========================================================
   WooCommerce — Single Product page
   ========================================================= */
.single-product .site-main { padding-top: 6rem; padding-bottom: 5rem; background: var(--ivory); }
@media (min-width: 1024px) { .single-product .site-main { padding-top: 7rem; } }
.single-product__breadcrumb { display: inline-flex; align-items: center; gap: 0.5rem; font-size: 0.75rem; letter-spacing: 0.2em; text-transform: uppercase; color: color-mix(in srgb, var(--foreground) 55%, transparent); padding: 1.5rem 0; flex-wrap: wrap; }
.single-product__breadcrumb a:hover { color: var(--primary); }
.single-product__breadcrumb span:last-child { color: var(--foreground); text-transform: none; letter-spacing: normal; }

.theme-product-layout { display: grid; grid-template-columns: 1fr; gap: 2.5rem; padding-bottom: 5rem; align-items: start; min-width: 0; }
@media (min-width: 1024px) { .theme-product-layout { grid-template-columns: 7fr 5fr; gap: 4rem; } }
.theme-product-gallery, .theme-product-info { min-width: 0; max-width: 100%; }
@media (min-width: 1024px) { .theme-product-gallery { position: sticky; top: 7rem; } }
.theme-product-gallery__main { position: relative; aspect-ratio: 1 / 1; width: 100%; background: var(--linen); border-radius: 0.75rem; overflow: hidden; margin-bottom: 1rem; }
.theme-product-gallery__img { width: 100%; height: 100%; object-fit: cover; display: block; }
.theme-product-thumbnails { display: grid; grid-template-columns: repeat(5, 1fr); gap: 0.625rem; max-width: 100%; }
.theme-product-thumb { position: relative; aspect-ratio: 1 / 1; border-radius: 0.375rem; overflow: hidden; border: 2px solid transparent; background: var(--linen); padding: 0; cursor: pointer; }
.theme-product-thumb:hover { border-color: color-mix(in srgb, var(--foreground) 20%, transparent); }
.theme-product-thumb.is-active { border-color: var(--primary); }
.theme-product-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }

.theme-product-info__category { font-size: 0.6875rem; letter-spacing: 0.28em; text-transform: uppercase; color: var(--primary); font-weight: 500; margin-bottom: 0.75rem; }
.product-title.product-title, h1.product-title {
	font-family: var(--font-display);
	font-weight: 400;
	font-size: 1.875rem; line-height: 1.05; color: var(--foreground); margin-bottom: 1rem;
}
@media (min-width: 768px) { .product-title.product-title, h1.product-title { font-size: 2.25rem; } }
@media (min-width: 1024px) { .product-title.product-title, h1.product-title { font-size: 2.6rem; } }
.theme-product-info__price { font-size: 1.25rem; font-weight: 500; color: color-mix(in srgb, var(--foreground) 90%, transparent); margin-bottom: 1.75rem; }
.theme-product-info__currency { font-size: inherit; font-weight: inherit; }
.theme-product-info__price del { color: color-mix(in srgb, var(--foreground) 45%, transparent); margin-right: 0.5rem; font-size: 1rem; }
.theme-product-info__stock { font-size: 0.875rem; font-weight: 500; margin-bottom: 1.5rem; }
.theme-product-info__stock--out { color: var(--destructive); }
.theme-product-info__description { font-size: 0.9375rem; line-height: 1.625; color: color-mix(in srgb, var(--foreground) 75%, transparent); margin-bottom: 2rem; overflow-wrap: break-word; word-break: break-word; }
.theme-product-info__description p + p { margin-top: 1rem; }

.theme-quantity-block { margin-bottom: 1.5rem; }
.theme-quantity-label { font-size: 0.75rem; letter-spacing: 0.2em; text-transform: uppercase; color: color-mix(in srgb, var(--foreground) 55%, transparent); margin-bottom: 0.625rem; }
.theme-quantity-wrapper { display: inline-flex; align-items: center; border: 1px solid color-mix(in srgb, var(--foreground) 20%, transparent); border-radius: 999px; }
.theme-qty-minus, .theme-qty-plus { padding: 0.625rem 1rem; display: inline-flex; align-items: center; justify-content: center; background: none; border: none; color: inherit; }
.theme-qty-minus:hover, .theme-qty-plus:hover { color: var(--primary); }
.theme-qty-display { padding: 0.625rem 1rem; min-width: 2.75rem; text-align: center; font-size: 0.875rem; font-weight: 500; }
.theme-qty-input { display: none; }

.single-product .theme-add-to-cart-area { margin-bottom: 2rem; }
.theme-add-to-cart-buttons { display: flex; flex-direction: column; gap: 0.75rem; }
@media (min-width: 640px) { .theme-add-to-cart-buttons { flex-direction: row; } }
.single-product .single_add_to_cart_button {
	flex: 1 1 auto;
	min-width: 0;
	width: 100%;
	height: 3rem;
	padding: 0 1.75rem !important;
}
.single-product .theme-buy-now-button {
	flex: 1 1 auto;
	min-width: 0;
	width: 100%;
	height: 3rem;
	padding: 0 1.75rem;
	font-size: 0.875rem;
	background: transparent !important;
	color: var(--foreground) !important;
	border: 1px solid color-mix(in srgb, var(--foreground) 25%, transparent) !important;
}
.single-product .theme-buy-now-button:hover {
	background: color-mix(in srgb, var(--foreground) 4%, transparent) !important;
	border-color: var(--foreground) !important;
	color: var(--foreground) !important;
	opacity: 1 !important;
}
@media (min-width: 640px) {
	.single-product .single_add_to_cart_button,
	.single-product .theme-buy-now-button { width: auto; }
}

.theme-product-info__details-label {
	font-size: 0.75rem;
	letter-spacing: 0.2em;
	text-transform: uppercase;
	color: color-mix(in srgb, var(--foreground) 55%, transparent);
	margin: 0 0 1rem;
}
.theme-product-info__details {
	margin-top: 2rem;
	padding-top: 2rem;
	border-top: 1px solid color-mix(in srgb, var(--foreground) 10%, transparent);
}
.theme-product-info__details-list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 0.625rem; }
.theme-product-info__details-list li { display: flex; align-items: flex-start; font-size: 0.875rem; line-height: 1.625; color: color-mix(in srgb, var(--foreground) 75%, transparent); }
.theme-product-info__details-list li::before { content: ''; width: 0.25rem; height: 0.25rem; border-radius: 999px; background: var(--primary); margin-top: 0.625rem; margin-right: 0.75rem; flex-shrink: 0; }

.theme-product-trust {
	margin-top: 2rem;
	padding-top: 1.5rem;
	border-top: 1px solid color-mix(in srgb, var(--foreground) 10%, transparent);
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 0.75rem;
}
.theme-product-trust__item { text-align: center; }
.theme-product-trust__item svg {
	margin: 0 auto 0.5rem;
	color: var(--primary);
	display: block;
	width: 1.375rem;
	height: 1.375rem;
}
.theme-product-trust__item p {
	font-size: 0.6875rem;
	letter-spacing: 0.15em;
	text-transform: uppercase;
	color: color-mix(in srgb, var(--foreground) 60%, transparent);
}

/* Express checkout (Apple Pay, Google Pay, Link) — below primary actions */
.theme-product-express-checkout {
	margin-top: 0.75rem;
	display: flex;
	flex-direction: column;
	gap: 0.75rem;
}
.theme-product-cart-form { margin: 0; }
.single-product .theme-product-express-checkout .wcpay-payment-request-wrapper,
.single-product .theme-product-express-checkout #wc-stripe-payment-request-wrapper,
.single-product .theme-product-express-checkout #wc-stripe-express-checkout-element {
	margin: 0;
	width: 100%;
}

.single-product .single_add_to_cart_button:hover { background: color-mix(in srgb, var(--primary) 90%, transparent) !important; opacity: 1 !important; }

.related-products-section { padding: 5rem 0; border-top: 1px solid color-mix(in srgb, var(--foreground) 10%, transparent); }
.related-products-section__head { display: flex; align-items: flex-end; justify-content: space-between; margin-bottom: 2.5rem; flex-wrap: wrap; gap: 1rem; }
.related-products-section__head .section-heading { font-size: 1.875rem; }
@media (min-width: 768px) { .related-products-section__head .section-heading { font-size: 2.25rem; } }
.related-products-section__view-all { display: inline-flex; align-items: center; gap: 0.375rem; font-size: 0.875rem; font-weight: 500; color: color-mix(in srgb, var(--foreground) 70%, transparent); }
.related-products-section__view-all:hover { color: var(--primary); }
.related-products-section__grid.theme-product-grid { grid-template-columns: repeat(2, 1fr); column-gap: 1.5rem; row-gap: 2.5rem; }
@media (min-width: 1024px) { .related-products-section__grid.theme-product-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

/* Variations — pill selectors synced to WooCommerce variation form */
.theme-product-variations { display: flex; flex-direction: column; gap: 1.25rem; margin-bottom: 1.5rem; }
.theme-variation-label {
	font-size: 0.75rem;
	letter-spacing: 0.2em;
	text-transform: uppercase;
	color: color-mix(in srgb, var(--foreground) 55%, transparent);
	margin: 0 0 0.625rem;
	font-weight: 500;
}
.theme-variation-pills { display: flex; flex-wrap: wrap; gap: 0.625rem; }
.theme-variation-pill { cursor: pointer; }
.theme-variation-pill.is-active {
	background: var(--primary);
	color: var(--primary-foreground);
	border-color: var(--primary);
}
.theme-attr-select-hidden { display: none !important; }
.single-product .theme-buy-now-button.is-disabled {
	opacity: 0.45;
	pointer-events: none;
	cursor: not-allowed;
}
.single-product .theme-add-to-cart-buttons .woocommerce-variation-add-to-cart.variations_button {
	display: contents;
}
.single-product .single_variation_wrap { display: none !important; }

/* Notices — scoped visibility (Section 14.1) */
.single-product .woocommerce-message,
.single-product .woocommerce-info { display: none; }
#theme-cart-drawer .woocommerce-message { display: none; }
.woocommerce-message, .woocommerce-info, .woocommerce-error {
	border-radius: var(--radius); border: 1px solid var(--border); background: var(--secondary);
	padding: 1rem 1.25rem; font-size: 0.875rem; color: var(--foreground); list-style: none;
}
.woocommerce-error { border-color: var(--destructive); color: var(--destructive); }

/* =========================================================
   WooCommerce — Shop archive
   ========================================================= */
.shop-archive .site-main { padding-top: calc(var(--header-height) + 2rem); padding-bottom: 5rem; }
.shop-heading { font-family: var(--font-display); font-size: 2.25rem; margin-bottom: 2.5rem; }
.shop-archive__grid { margin-bottom: 3rem; }
.shop-archive__empty { text-align: center; padding: 5rem 0; color: color-mix(in srgb, var(--foreground) 55%, transparent); }

/* =========================================================
   404
   ========================================================= */
.theme-404__inner { padding: calc(var(--header-height) + 6rem) 0 6rem; text-align: center; max-width: 32rem; margin: 0 auto; }
.theme-404__code { font-family: var(--font-display); font-size: 5rem; color: color-mix(in srgb, var(--primary) 30%, transparent); line-height: 1; }
.theme-404__heading { font-family: var(--font-display); font-size: 2rem; margin: 1rem 0; }
.theme-404__text { color: color-mix(in srgb, var(--foreground) 65%, transparent); margin-bottom: 2rem; }

/* =========================================================
   WooCommerce Checkout Block (Section 13)
   ========================================================= */
body.woocommerce-checkout .site-main,
body.woocommerce-cart .site-main,
body.woocommerce-account .site-main {
	padding-top: calc(var(--header-height) + 2rem);
	padding-bottom: 4rem;
}
body.woocommerce-checkout .page-title,
body.woocommerce-cart .page-title,
body.woocommerce-account .page-title {
	font-family: var(--font-display);
	font-size: 2.25rem;
	margin-bottom: 2rem;
}
body.woocommerce-checkout .wc-block-components-text-input input,
body.woocommerce-checkout .wc-block-components-select select,
body.woocommerce-checkout .wc-block-components-textarea textarea,
body.woocommerce-cart .wc-block-components-text-input input {
	font-family: var(--font-body);
	color: var(--foreground);
	border: 1px solid var(--border);
	border-radius: var(--radius);
	background: var(--background);
}
body.woocommerce-checkout .wc-block-components-text-input input:focus,
body.woocommerce-checkout .wc-block-components-select select:focus,
body.woocommerce-checkout .wc-block-components-textarea textarea:focus {
	outline: none;
	border-color: var(--primary);
}
body.woocommerce-checkout .wc-block-components-text-input input::placeholder { color: color-mix(in srgb, var(--foreground) 45%, transparent); }
body.woocommerce-checkout .wc-block-components-checkout-place-order-button,
body.woocommerce-cart .wc-block-cart__submit-button,
body.woocommerce-checkout .wp-element-button {
	background-color: var(--primary) !important;
	color: var(--primary-foreground) !important;
	border-radius: var(--btn-radius) !important;
	font-family: var(--font-body) !important;
	font-weight: 500 !important;
	text-transform: none !important;
}
body.woocommerce-checkout .wc-block-components-checkout-place-order-button:hover { opacity: 0.9; }
body.woocommerce-checkout .wc-block-components-notice-banner {
	border-radius: var(--radius);
	font-family: var(--font-body);
}
body.woocommerce-checkout .wc-block-checkout__sidebar,
body.woocommerce-cart .wc-block-cart__totals-title,
body.woocommerce-cart .wc-block-components-totals-wrapper {
	background-color: var(--card);
	border-radius: var(--card-radius);
	padding: var(--section-padding, 2rem);
}
body.woocommerce-checkout .wc-block-checkout__sidebar { padding: 2rem; }

/* Width / grid — Section 13.1 – 13.3 (site uses .container-wide, so keep default block sidebar-layout behavior) */
body.woocommerce-checkout .wc-block-checkout__main,
body.woocommerce-checkout .wc-block-checkout__sidebar {
	min-width: 0;
	width: 100%;
	max-width: none;
}
@media (min-width: 768px) {
	body.woocommerce-checkout .wc-block-components-sidebar-layout.wc-block-checkout.is-large {
		display: grid;
		grid-template-columns: 1fr 1fr;
		gap: var(--checkout-gap);
		align-items: start;
	}
	body.woocommerce-checkout .wc-block-checkout { display: block; }
}
body.woocommerce-checkout .wc-block-components-text-input input,
body.woocommerce-checkout .wc-block-components-select select {
	width: 100% !important;
	max-width: none !important;
}

/* =========================================================
   Thank-you page (Section 22.8)
   ========================================================= */
body.theme-thankyou-page { overflow-x: hidden; }
body.theme-thankyou-page .site-main { padding-top: calc(var(--header-height) + 2rem); padding-bottom: 5rem; }
body.theme-thankyou-page .woocommerce-order h2,
body.theme-thankyou-page .woocommerce-order-details__title {
	font-family: var(--font-display);
	font-size: 1.75rem;
	padding: 0 0 1rem 0;
}
body.theme-thankyou-page .woocommerce-order-overview {
	display: flex;
	flex-wrap: wrap;
	gap: 1.5rem;
	list-style: none;
	padding: 1.5rem;
	background: var(--secondary);
	border-radius: var(--card-radius);
	margin-bottom: 2rem;
}
body.theme-thankyou-page .woocommerce-order-overview li { font-size: 0.875rem; }
body.theme-thankyou-page .woocommerce-order-details table {
	width: 100%;
	table-layout: fixed;
	border-collapse: collapse;
	margin-bottom: 2rem;
}
body.theme-thankyou-page .woocommerce-order-details table th,
body.theme-thankyou-page .woocommerce-order-details table td {
	padding: 0.75rem;
	border-bottom: 1px solid var(--border);
	font-size: 0.875rem;
}
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;
}
@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;
	max-width: 480px;
	overflow-wrap: break-word;
	font-style: normal;
	font-size: 0.875rem;
	line-height: 1.7;
	background: var(--secondary);
	padding: 1.5rem;
	border-radius: var(--radius);
}

/* =========================================================
   Customizer preview stability
   ========================================================= */
body.is-customizer .theme-product-card-wrap,
body.is-customizer .reveal-item { opacity: 1 !important; transform: none !important; }

