/* ==========================================================================
   ODAT Bodybuilding — theme.css
   Built by The Free Website Guys.
   ========================================================================== */

/* ---------- CSS variable fallbacks (overridden inline by the Customizer,
   Section 22.9). These match the original design's HSL tokens converted to hex
   via theme_hsl_to_hex(), Section 6.1. ---------- */
:root {
	--color-background: #f9f8f6;
	--color-foreground: #221f1c;
	--color-primary: #744b16;
	--color-primary-foreground: #fbfaf8;
	--color-secondary: #eeece7;
	--color-secondary-foreground: #2d2925;
	--color-muted: #e9e6e2;
	--color-muted-foreground: #6c6660;
	--color-border: #dddad4;
	--color-butter: #f3f1ec;
	--color-surface-deep: #272420;
	--color-surface-deep-foreground: #f5f3f0;

	--font-display: 'Oswald', 'Arial Narrow', sans-serif;
	--font-body: 'Barlow', system-ui, sans-serif;

	--radius: 0.75rem;
	--shadow-soft: 0 4px 20px -6px rgba(30, 25, 20, 0.16);
	--shadow-elevated: 0 12px 40px -10px rgba(30, 25, 20, 0.24);
	--transition-smooth: cubic-bezier(0.4, 0, 0.2, 1);
	--header-height: 80px;
	--logo-height: 64px;

	--btn-radius: 0;
	--btn-height: auto;
	--btn-padding: 1.25rem 2.5rem;
	--btn-font-size: 12px;
	--btn-font-weight: 600;
	--btn-letter-spacing: 0.28em;
	--btn-text-transform: uppercase;
	--btn-icon-padding: 0.6rem;
	--checkout-gap: 2rem;
	--card-radius: 0.75rem;
	--section-padding: 2rem;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; 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;
}
img { max-width: 100%; height: auto; display: block; }
img:not(.cover-img):not(.hero-bg-img):not(.product-card-img) {
	max-width: 100%;
	height: auto;
}
.cover-img, .hero-bg-img, .product-card-img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
}
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; background: none; border: none; }
ul { margin: 0; padding: 0; list-style: none; }
p { margin: 0; }

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

.single-product .variations label {
	font-family: var(--font-body);
	font-weight: 400;
	font-style: normal;
	text-transform: uppercase;
	font-size: 13px;
	letter-spacing: 0.2em;
	color: var(--color-muted-foreground);
}

.btn-hero-primary, .btn-hero-outline {
	text-transform: none;
}

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

.eyebrow {
	display: block;
	font-size: 12px;
	letter-spacing: 0.32em;
	text-transform: uppercase;
	color: var(--color-primary);
	font-family: var(--font-body);
	margin-bottom: 0.75rem;
	font-weight: 500;
}

.section-heading { font-weight: 600; line-height: 1.05; }

.link-underline { position: relative; display: inline-block; font-size: 12px; letter-spacing: 0.22em; text-transform: uppercase; }
.link-underline::after {
	content: '';
	position: absolute;
	bottom: -2px; left: 0; width: 100%; height: 1px;
	background: currentColor;
	transform: scaleX(0);
	transform-origin: left;
	transition: transform 0.3s var(--transition-smooth);
}
.link-underline:hover::after { transform: scaleX(1); }

.surface-deep {
	background-color: var(--color-surface-deep);
	color: var(--color-surface-deep-foreground);
	/* Lighter brass accents on the dark podcast band (src/index.css .surface-deep). */
	--color-primary: #d9b866;
	--color-primary-foreground: #171513;
}

/* ---------- Buttons ---------- */
.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.5rem;
	border-radius: var(--btn-radius);
	min-height: var(--btn-height);
	padding: var(--btn-padding);
	font-family: var(--font-display);
	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, background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
	white-space: nowrap;
}
.btn-primary { background-color: var(--color-primary); color: var(--color-primary-foreground); border: none; }
.btn-primary:hover { opacity: 0.9; }
.btn-outline { background: transparent; color: var(--color-foreground); border: 1px solid color-mix(in srgb, var(--color-foreground) 30%, transparent); }
.btn-outline:hover { border-color: var(--color-primary); color: var(--color-primary); }
.btn-dark { background-color: var(--color-foreground); color: var(--color-background); border: none; border-radius: 999px; }
.btn-dark:hover { opacity: 0.9; }

/* ==========================================================================
   ANIMATIONS / REVEAL (Section 2.1)
   ========================================================================== */
@media (prefers-reduced-motion: no-preference) {
	.reveal-item {
		opacity: 0;
		transform: translateY(32px);
		transition: opacity 0.7s var(--transition-smooth), transform 0.7s var(--transition-smooth);
	}
	.reveal-item.fade-item { transform: none; }
	.reveal-item.slide-item { transform: translateY(32px); }
	.reveal-item.scale-in-item { transform: scale(0.94); }
	.reveal-item.is-visible {
		opacity: 1;
		transform: none;
	}
	.scroll-reveal-section .reveal-item:nth-child(2) { transition-delay: 0.08s; }
	.scroll-reveal-section .reveal-item:nth-child(3) { transition-delay: 0.16s; }
	.scroll-reveal-section .reveal-item:nth-child(4) { transition-delay: 0.24s; }
}
@media (prefers-reduced-motion: reduce) {
	.reveal-item { opacity: 1; transform: none; transition: none; }
}
/* Customizer preview fallback — reveal content is never hidden in the editor. */
body.is-customizer .reveal-item,
body.is-customizer .theme-product-card-wrap {
	opacity: 1 !important;
	transform: none !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(--transition-smooth) forwards; }
.animate-slide-up { animation: theme-slide-up 0.4s var(--transition-smooth) forwards; }

/* ==========================================================================
   ANNOUNCEMENT BAR
   ========================================================================== */
.theme-announcement-bar {
	position: relative;
	background-color: var(--color-foreground);
	color: var(--color-background);
}
.theme-announcement-bar__inner { padding: 0.5rem 1.5rem; text-align: center; }
.theme-announcement-bar__text { font-size: 13px; letter-spacing: 0.18em; text-transform: uppercase; }
.theme-announcement-bar__dismiss {
	position: absolute; right: 0.75rem; top: 50%; transform: translateY(-50%);
	padding: 0.25rem; opacity: 0.7; color: inherit;
}
.theme-announcement-bar__dismiss:hover { opacity: 1; }
.theme-announcement-bar.is-dismissed { display: none; }

/* ==========================================================================
   HEADER
   ========================================================================== */
.site-header {
	position: sticky; top: 0; left: 0; right: 0; z-index: 50;
	background-color: var(--color-background);
	border-bottom: 1px solid transparent;
	transition: background-color 0.3s ease, border-color 0.3s ease, backdrop-filter 0.3s ease;
}
.site-header.is-solid,
.site-header.is-scrolled {
	background-color: color-mix(in srgb, var(--color-background) 95%, transparent);
	backdrop-filter: blur(4px);
	border-bottom-color: var(--color-border);
}
body.theme-no-hero .site-header { background-color: var(--color-background); border-bottom-color: var(--color-border); }

.site-header__nav { display: flex; align-items: center; justify-content: space-between; height: 80px; position: relative; }
.site-header__logo { display: flex; align-items: center; }
.site-header .site-logo-img,
.site-footer .site-logo-img {
	height: var(--logo-height) !important;
	width: auto !important;
	display: block;
	object-fit: contain;
}
.site-footer .site-logo-img {
	width: var(--logo-height) !important;
}
.site-logo-text { font-family: var(--font-display); font-weight: 600; font-size: 1.25rem; letter-spacing: 0.05em; line-height: var(--logo-height); display: block; }

.site-header__center { display: none; position: absolute; left: 50%; transform: translateX(-50%); align-items: center; gap: 2rem; }
@media (min-width: 1024px) { .site-header__center { display: flex; } }
.theme-nav-list, .theme-mobile-nav-list, .theme-footer-nav-list { display: flex; align-items: center; gap: 2rem; flex-wrap: wrap; }
.theme-nav-list a, .theme-mobile-nav-list a, .theme-footer-nav-list a {
	font-family: var(--font-display); font-size: 12px; font-weight: 500;
	letter-spacing: 0.2em; text-transform: uppercase; position: relative;
	transition: color 0.3s ease;
}
.theme-nav-list a::after {
	content: ''; position: absolute; bottom: -6px; left: 0; width: 100%; height: 1px;
	background: currentColor; transform: scaleX(0); transform-origin: left;
	transition: transform 0.3s var(--transition-smooth);
}
.theme-nav-list a:hover::after { transform: scaleX(1); }

.site-header__actions { display: flex; align-items: center; gap: 0.5rem; }
.site-header__icon-btn { position: relative; padding: 0.5rem; opacity: 1; transition: opacity 0.2s ease; color: var(--color-foreground); }
.site-header__icon-btn:hover { opacity: 0.6; }
.theme-shop-search-btn { display: none; }
@media (min-width: 768px) { .theme-shop-search-btn { display: inline-flex; } }
.theme-mobile-menu-btn { display: inline-flex; }
@media (min-width: 1024px) { .theme-mobile-menu-btn { display: none; } }
.theme-mobile-menu-btn .icon-close { display: none; }
.theme-mobile-menu-btn.is-open .icon-open { display: none; }
.theme-mobile-menu-btn.is-open .icon-close { display: inline-flex; }

.theme-cart-count {
	position: absolute; top: -2px; right: -2px;
	width: 20px; height: 20px; display: flex; align-items: center; justify-content: center;
	font-size: 11px; font-weight: 600; background: var(--color-primary); color: var(--color-primary-foreground);
	border-radius: 999px;
}
.theme-cart-count:empty { display: none; }

.theme-mobile-menu { display: none; border-top: 1px solid var(--color-border); padding: 1rem 0; }
.theme-mobile-menu.is-open { display: block; }
.theme-mobile-nav-list { flex-direction: column; align-items: flex-start; gap: 1rem; }
@media (min-width: 1024px) { .theme-mobile-menu { display: none !important; } }

/* ==========================================================================
   HERO
   ========================================================================== */
.hero-section__media {
	position: relative; width: 100%; min-height: 100vh; min-height: 100svh;
	overflow: hidden; display: flex; align-items: center; justify-content: center;
	background-color: var(--color-muted);
}
.hero-section__bg-img { transform: scale(1.1); }
.hero-section__gradient {
	position: absolute; inset: 0;
	background: linear-gradient(to bottom, color-mix(in srgb, var(--color-background) 40%, transparent), color-mix(in srgb, var(--color-background) 25%, transparent), color-mix(in srgb, var(--color-background) 40%, transparent));
}
.hero-section__content {
	position: relative; z-index: 10; min-height: 100vh; min-height: 100svh;
	display: flex; align-items: center; justify-content: center; padding: 6rem 0;
	padding-left: max(1.5rem, env(safe-area-inset-left, 0px));
	padding-right: max(1.5rem, env(safe-area-inset-right, 0px));
}
.hero-section__inner { max-width: 42rem; text-align: center; margin: 0 auto; }
.hero-section__eyebrow {
	display: block; font-size: 14px; letter-spacing: 0.34em; text-transform: uppercase;
	color: #fff; margin-bottom: 1.25rem; text-shadow: 0 1px 4px rgba(0,0,0,0.45);
}
.hero-section__title {
	font-size: 3rem; line-height: 1.02; margin-bottom: 1.5rem; font-weight: 700;
	color: var(--color-foreground);
}
@media (min-width: 768px) { .hero-section__title { font-size: 3.75rem; } }
@media (min-width: 1280px) { .hero-section__title { font-size: 4.5rem; } }
.hero-section__title-accent { display: block; color: #fff; text-shadow: 0 1px 4px rgba(0,0,0,0.45); }
.hero-section__subtext {
	color: #fff; font-size: 1rem; line-height: 1.6; margin: 0 auto 2.5rem; max-width: 28rem;
	text-shadow: 0 1px 4px rgba(0,0,0,0.45);
}
@media (min-width: 768px) { .hero-section__subtext { font-size: 1.125rem; } }
.hero-section__actions { display: flex; flex-direction: column; gap: 1rem; align-items: center; justify-content: center; }
@media (min-width: 640px) { .hero-section__actions { flex-direction: row; } }

/* Home hero fills viewport under fixed header — no top padding on home main. */
body.theme-no-hero .site-main { padding-top: 0; }
.site-main { padding-top: 0; }

/* ==========================================================================
   SECTIONS — paddings aligned to Lovable py-* on inner containers
   ========================================================================== */
.collection-section .container-wide,
.featured-section .container-wide,
.shop-section .container-wide,
.faq-section .container-wide {
	padding-block: 4rem;
}
.about-section { padding-block: 5rem; }
@media (min-width: 768px) {
	.collection-section .container-wide { padding-block: 5rem; }
	.featured-section .container-wide,
	.shop-section .container-wide { padding-block: 6rem; }
	.about-section { padding-block: 7rem; }
}
.podcast-section .container-wide { padding-block: 5rem; }
@media (min-width: 768px) {
	.podcast-section .container-wide { padding-block: 7rem; }
}
.gallery-section__inner { padding-block: 5rem; }
@media (min-width: 768px) {
	.gallery-section__inner { padding-block: 7rem; }
}
.pillars-section, .faq-section { background-color: var(--color-butter); }

.collection-section__head, .featured-section__head { text-align: center; margin-bottom: 2.5rem; }
.collection-section__heading, .featured-section__heading { font-size: 1.875rem; }
@media (min-width: 768px) { .collection-section__heading { font-size: 2.25rem; } .featured-section__heading { font-size: 3rem; } }

.collection-section__grid { display: grid; grid-template-columns: 1fr; gap: 1rem; }
@media (min-width: 768px) { .collection-section__grid { grid-template-columns: repeat(3, minmax(0,1fr)); gap: 1.5rem; } }

.collection-tile { position: relative; aspect-ratio: 3/4; overflow: hidden; display: block; width: 100%; text-align: left; color: inherit; text-decoration: none; }
.collection-tile__img { transition: transform 0.7s var(--transition-smooth); }
.collection-tile:hover .collection-tile__img { transform: scale(1.05); }
.collection-tile__gradient {
	position: absolute; inset: 0;
	background: linear-gradient(to top, var(--color-background), color-mix(in srgb, var(--color-background) 40%, transparent), transparent);
	transition: background-color 0.5s ease;
}
.collection-tile__content { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: flex-end; padding: 1.5rem; text-align: left; }
.collection-tile__tagline { display: inline-flex; align-items: center; gap: 0.5rem; font-size: 12px; letter-spacing: 0.3em; text-transform: uppercase; color: var(--color-primary); margin-bottom: 0.5rem; }
.collection-tile__tagline-bar { height: 1px; width: 1.5rem; background: currentColor; }
.collection-tile__label { display: block; font-size: 1.5rem; font-weight: 600; margin-bottom: 0.5rem; color: var(--color-foreground); }
@media (min-width: 768px) { .collection-tile__label { font-size: 1.875rem; } }
.collection-tile__cta { display: inline-flex; align-items: center; gap: 0.375rem; font-size: 12px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--color-foreground); }

.featured-section__footer { text-align: center; margin-top: 3.5rem; }

/* Product grids (Section 31.9) */
.theme-product-grid { display: grid; gap: 1.5rem; align-items: stretch; }
.theme-product-grid--featured { grid-template-columns: repeat(1, minmax(0,1fr)); }
@media (min-width: 768px) { .theme-product-grid--featured { grid-template-columns: repeat(3, minmax(0,1fr)); gap: 2rem; } }
@media (min-width: 1024px) { .theme-product-grid--featured { gap: 3rem; } }
.theme-product-grid--shop, .theme-product-grid--archive { grid-template-columns: repeat(2, minmax(0,1fr)); }
@media (min-width: 768px) { .theme-product-grid--shop, .theme-product-grid--archive { grid-template-columns: repeat(3, minmax(0,1fr)); gap: 2rem; } }
@media (min-width: 1024px) { .theme-product-grid--shop, .theme-product-grid--archive { grid-template-columns: repeat(4, minmax(0,1fr)); } }
.theme-product-grid--related { grid-template-columns: repeat(2, minmax(0,1fr)); }
@media (min-width: 1024px) { .theme-product-grid--related { grid-template-columns: repeat(4, minmax(0,1fr)); gap: 2rem; } }

.theme-product-card-wrap { display: flex; flex-direction: column; height: 100%; }
.theme-product-card-wrap.is-hidden-by-filter { display: none; }
.theme-product-card { display: flex; flex-direction: column; height: 100%; }
.theme-product-card__image-wrapper { position: relative; aspect-ratio: 3/4; overflow: hidden; background: var(--color-secondary); margin-bottom: 1.25rem; }
.theme-product-card__img { transition: transform 0.7s var(--transition-smooth); }
.theme-product-card:hover .theme-product-card__img { transform: scale(1.04); }
.theme-product-card__overlay { position: absolute; inset: 0; background: color-mix(in srgb, var(--color-background) 20%, transparent); backdrop-filter: blur(2px); z-index: 1; }
.theme-product-card__badge-wrap {
	position: absolute; inset: 0; z-index: 2; display: flex; align-items: center; justify-content: center; padding: 1rem;
	pointer-events: none;
}
.theme-product-card__badge {
	display: inline-block; text-align: center; pointer-events: none;
}
.theme-product-card__badge--coming-soon {
	padding: 0.5rem 1.25rem; font-size: 12px; font-weight: 500; letter-spacing: 0.18em; text-transform: uppercase;
	background: var(--color-primary); color: var(--color-primary-foreground); border-radius: 999px; white-space: nowrap;
}
.theme-product-card__badge--sold-out {
	position: absolute; top: 0.75rem; left: 0.75rem; z-index: 2;
	padding: 0.35rem 0.85rem; font-size: 12px; font-weight: 500; letter-spacing: 0.18em; text-transform: uppercase;
	background: var(--color-foreground); color: var(--color-background); border-radius: 999px;
}
.theme-product-card__info { flex: 1; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 0.5rem; }
.theme-product-card__title {
	font-family: var(--font-body); font-size: 0.875rem; font-weight: 500; text-transform: uppercase; letter-spacing: 0.15em;
	line-height: 1.4; color: var(--color-foreground); transition: color 0.3s ease;
}
@media (min-width: 768px) { .theme-product-card__title { font-size: 1rem; } }
.theme-product-card:hover .theme-product-card__title { color: var(--color-primary); }
.theme-product-card__price { font-size: 1rem; color: var(--color-foreground); }
@media (min-width: 768px) { .theme-product-card__price { font-size: 1.125rem; } }
.theme-product-card__price del { opacity: 0.5; margin-right: 0.35rem; }
.theme-product-card__price ins { text-decoration: none; }

/* ---------- About ---------- */
.about-section__inner { max-width: 56rem; margin: 0 auto; text-align: center; padding: 1.5rem; }
@media (min-width: 768px) { .about-section__inner { padding: 0 3.5rem; } }
@media (min-width: 1024px) { .about-section__inner { padding: 0 5rem; } }
.about-section__heading { font-size: 1.875rem; margin-bottom: 2rem; }
@media (min-width: 768px) { .about-section__heading { font-size: 2.25rem; } }
.about-section__paragraph { color: color-mix(in srgb, var(--color-foreground) 80%, transparent); line-height: 1.7; margin-bottom: 1.25rem; }
.about-section__cta { color: var(--color-primary); font-family: var(--font-display); font-weight: 600; margin-top: 0.5rem; }

/* ---------- My Story / Pillar rows (shared two-column pattern) ---------- */
.story-section__grid, .pillar-row {
	display: grid; grid-template-columns: 1fr; align-items: stretch;
}
@media (min-width: 1024px) { .story-section__grid, .pillar-row { grid-template-columns: repeat(2, minmax(0,1fr)); } }
.story-section__media, .pillar-row__media { position: relative; min-height: 380px; }
@media (min-width: 768px) { .story-section__media, .pillar-row__media { min-height: 520px; } }
@media (min-width: 1024px) { .story-section__media, .pillar-row__media { min-height: 620px; } }
.pillar-row__media--order-1 { order: 1; }
.pillar-row__media--order-2 { order: 2; }
@media (min-width: 1024px) {
	.pillar-row__media--order-1 { order: 1; }
	.pillar-row__media--order-2 { order: 2; }
}
.pillar-row__content--order-1 { order: 2; }
.pillar-row__content--order-2 { order: 1; }
@media (min-width: 1024px) {
	.pillar-row__content--order-1 { order: 1; }
	.pillar-row__content--order-2 { order: 2; }
}
.pillar-row__numeral {
	position: absolute; top: 1.25rem; left: 1.25rem; font-family: var(--font-display);
	font-size: 0.875rem; letter-spacing: 0.3em; padding: 0.25rem 0.5rem;
	background: color-mix(in srgb, var(--color-background) 85%, transparent); backdrop-filter: blur(4px); color: var(--color-primary);
}
.story-section__content, .pillar-row__content { display: flex; align-items: center; padding: 4rem 1.5rem; }
@media (min-width: 768px) { .story-section__content, .pillar-row__content { padding: 6rem 3.5rem; } }
@media (min-width: 1024px) { .story-section__content, .pillar-row__content { padding: 6rem 5rem; } }
.pillar-row__content { background-color: var(--color-butter); }
.story-section__media img, .story-section__media .cover-img { object-position: top; }
.story-section__inner, .pillar-row__inner { max-width: 36rem; }

.story-section__heading { font-size: 2.5rem; line-height: 1.05; margin-bottom: 1.75rem; }
@media (min-width: 768px) { .story-section__heading { font-size: 3rem; } }
@media (min-width: 1024px) { .story-section__heading { font-size: 3.75rem; } }
.story-section__heading-accent { display: block; color: var(--color-primary); }
.story-section__quote { font-family: var(--font-display); font-size: 1.25rem; line-height: 1.4; text-transform: none; margin-bottom: 2rem; color: color-mix(in srgb, var(--color-foreground) 90%, transparent); }
@media (min-width: 768px) { .story-section__quote { font-size: 1.5rem; } }
.story-section__paragraph { color: color-mix(in srgb, var(--color-foreground) 75%, transparent); line-height: 1.7; margin-bottom: 1.25rem; }
.story-section__instagram { display: inline-flex; align-items: center; gap: 0.5rem; font-size: 12px; letter-spacing: 0.24em; text-transform: uppercase; color: var(--color-primary); transition: opacity 0.2s ease; }
.story-section__instagram:hover { opacity: 0.8; }

.pillars-section__head { text-align: center; padding: 5rem 1.5rem; }
@media (min-width: 768px) { .pillars-section__head { padding: 7rem 3.5rem; } }
.pillars-section__heading { font-size: 2.5rem; }
@media (min-width: 768px) { .pillars-section__heading { font-size: 3.75rem; } }
@media (min-width: 1024px) { .pillars-section__heading { font-size: 4.5rem; } }
.pillar-row__kicker-row { display: flex; align-items: center; gap: 0.75rem; margin-bottom: 1.25rem; }
.pillar-row__icon { display: flex; height: 2.5rem; width: 2.5rem; align-items: center; justify-content: center; border-radius: 999px; border: 1px solid color-mix(in srgb, var(--color-primary) 40%, transparent); color: var(--color-primary); flex-shrink: 0; }
.pillar-row__kicker { font-size: 12px; letter-spacing: 0.3em; text-transform: uppercase; color: var(--color-primary); }
.pillar-row__title { font-size: 2.25rem; line-height: 1.05; margin-bottom: 1.5rem; }
@media (min-width: 768px) { .pillar-row__title { font-size: 3rem; } }
@media (min-width: 1024px) { .pillar-row__title { font-size: 3.75rem; } }
.pillar-row__description { font-size: 1rem; line-height: 1.7; color: var(--color-muted-foreground); }
@media (min-width: 768px) { .pillar-row__description { font-size: 1.125rem; } }

/* ---------- Podcast (dark band) ---------- */
.podcast-section__head { text-align: center; max-width: 42rem; margin: 0 auto 3rem; }
.podcast-section__heading { font-size: 2.5rem; margin-bottom: 1.5rem; }
@media (min-width: 768px) { .podcast-section__heading { font-size: 3rem; } }
@media (min-width: 1024px) { .podcast-section__heading { font-size: 3.75rem; } }
.podcast-section__heading-accent { display: block; color: var(--color-primary); white-space: pre-line; }
.podcast-section__subtext { color: color-mix(in srgb, var(--color-surface-deep-foreground) 75%, transparent); line-height: 1.7; white-space: pre-line; }
.podcast-section__grid { display: grid; grid-template-columns: 1fr; gap: 2rem; align-items: center; }
@media (min-width: 1024px) { .podcast-section__grid { grid-template-columns: repeat(2, minmax(0,1fr)); gap: 3rem; } }
.podcast-section__media { position: relative; aspect-ratio: 4/3; overflow: hidden; }
.podcast-section__episodes { display: flex; flex-direction: column; gap: 1.5rem; }
.podcast-episode { border-bottom: 1px solid color-mix(in srgb, var(--color-surface-deep-foreground) 15%, transparent); padding-bottom: 1.25rem; }
.podcast-episode__label { font-size: 12px; letter-spacing: 0.28em; text-transform: uppercase; color: var(--color-primary); }
.podcast-episode__title { font-size: 1.5rem; margin: 0.5rem 0 0.25rem; }
@media (min-width: 768px) { .podcast-episode__title { font-size: 1.875rem; } }
.podcast-episode__note { color: color-mix(in srgb, var(--color-surface-deep-foreground) 70%, transparent); font-size: 0.875rem; }

/* ---------- Quality / Made Properly ---------- */
.quality-section__grid { display: grid; grid-template-columns: 1fr; align-items: stretch; }
@media (min-width: 1024px) { .quality-section__grid { grid-template-columns: repeat(2, minmax(0,1fr)); } }
.quality-section__media { position: relative; min-height: 420px; order: 2; }
@media (min-width: 768px) { .quality-section__media { min-height: 560px; } }
@media (min-width: 1024px) { .quality-section__media { min-height: 640px; } }
.quality-section__media-small {
	position: absolute; bottom: 1.5rem; left: 1.5rem; width: 8rem; aspect-ratio: 3/4; object-fit: cover;
	box-shadow: var(--shadow-elevated); border: 4px solid var(--color-background);
}
@media (min-width: 768px) { .quality-section__media-small { width: 11rem; } }
@media (min-width: 1024px) { .quality-section__media-small { width: 13rem; } }
.quality-section__content { display: flex; align-items: center; padding: 4rem 1.5rem; order: 1; }
@media (min-width: 768px) { .quality-section__content { padding: 6rem 3.5rem; } }
@media (min-width: 1024px) { .quality-section__content { padding: 6rem 5rem; } }
.quality-section__inner { max-width: 36rem; }
.quality-section__heading { font-size: 2.5rem; line-height: 1.05; margin-bottom: 1.75rem; }
@media (min-width: 768px) { .quality-section__heading { font-size: 3rem; } }
@media (min-width: 1024px) { .quality-section__heading { font-size: 3.75rem; } }
.quality-section__heading-accent { display: block; color: var(--color-primary); }
.quality-section__paragraph { color: color-mix(in srgb, var(--color-foreground) 80%, transparent); line-height: 1.7; margin-bottom: 1.5rem; }

/* ---------- Gallery ---------- */
.gallery-section__head { margin-bottom: 2.5rem; }
@media (min-width: 768px) { .gallery-section__head { margin-bottom: 3.5rem; } }
.gallery-section__eyebrow { margin-bottom: 0.75rem; }
.gallery-section__heading { font-size: 1.875rem; }
@media (min-width: 768px) { .gallery-section__heading { font-size: 3rem; } }
@media (min-width: 1024px) { .gallery-section__heading { font-size: 3.75rem; } }
.gallery-section__track-wrap {
	overflow-x: auto;
	overflow-y: hidden;
	scrollbar-width: none;
	-webkit-overflow-scrolling: touch;
	container-type: inline-size;
	container-name: gallery-scroll;
}
.gallery-section__track-wrap::-webkit-scrollbar { display: none; }
.gallery-section__track {
	display: flex;
	gap: 1rem;
	padding-bottom: 0.5rem;
	padding-inline: 1.5rem;
	width: max-content;
}
@media (min-width: 768px) { .gallery-section__track { gap: 1.5rem; padding-inline: 3rem; } }
@media (min-width: 1024px) { .gallery-section__track { padding-inline: 4rem; } }
.gallery-item {
	flex: 0 0 78%;
	width: 78%;
	min-width: 0;
}
@media (min-width: 640px) { .gallery-item { flex-basis: 55%; width: 55%; } }
@media (min-width: 768px) { .gallery-item { flex-basis: 40%; width: 40%; } }
@media (min-width: 1024px) { .gallery-item { flex-basis: 30%; width: 30%; } }
@media (min-width: 1280px) { .gallery-item { flex-basis: 26%; width: 26%; } }
@supports (width: 1cqw) {
	.gallery-item { flex-basis: 78cqw; width: 78cqw; }
	@media (min-width: 640px) { .gallery-item { flex-basis: 55cqw; width: 55cqw; } }
	@media (min-width: 768px) { .gallery-item { flex-basis: 40cqw; width: 40cqw; } }
	@media (min-width: 1024px) { .gallery-item { flex-basis: 30cqw; width: 30cqw; } }
	@media (min-width: 1280px) { .gallery-item { flex-basis: 26cqw; width: 26cqw; } }
}
.gallery-item__link { position: relative; display: block; aspect-ratio: 4/5; overflow: hidden; }
.gallery-item__img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: top;
	display: block;
}
.gallery-item__link:hover .gallery-item__img { transform: scale(1.04); }
.gallery-item__img { transition: transform 0.9s var(--transition-smooth); }
.gallery-section__controls { display: flex; gap: 1rem; margin-top: 2.5rem; }
.gallery-nav-btn {
	height: 3rem; width: 3rem; display: flex; align-items: center; justify-content: center;
	border: 1px solid color-mix(in srgb, var(--color-foreground) 20%, transparent); color: color-mix(in srgb, var(--color-foreground) 70%, transparent);
	transition: color 0.2s ease, border-color 0.2s ease;
}
.gallery-nav-btn:hover { color: var(--color-primary); border-color: var(--color-primary); }

/* ---------- Shop ---------- */
.shop-section__head { text-align: center; margin-bottom: 3rem; }
.shop-heading { font-size: 1.875rem; margin-bottom: 1rem; }
@media (min-width: 768px) { .shop-heading { font-size: 3rem; } }
.shop-section__subtext { color: var(--color-muted-foreground); font-size: 0.875rem; margin: 0 auto 2.5rem; max-width: 28rem; }
.shop-search { position: relative; max-width: 28rem; margin: 0 auto 2rem; }
.shop-search__icon { position: absolute; left: 0; top: 50%; transform: translateY(-50%); color: var(--color-muted-foreground); }
.shop-search__input {
	width: 100%; padding: 0.5rem 0 0.5rem 1.75rem; background: transparent;
	border: none; border-bottom: 1px solid var(--color-border); font-family: var(--font-body); font-size: 1rem;
	color: var(--color-foreground); transition: border-color 0.2s ease;
}
.shop-search__input:focus { outline: none; border-color: var(--color-primary); }
.shop-categories { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.5rem; margin-bottom: 1rem; }
.shop-category-pill {
	padding: 0.5rem 1.25rem; font-size: 12px; letter-spacing: 0.2em; text-transform: uppercase; font-family: var(--font-body);
	border-radius: 999px; border: 1px solid var(--color-border); background: transparent; color: var(--color-foreground);
	transition: all 0.3s ease;
}
.shop-category-pill:hover { border-color: var(--color-primary); color: var(--color-primary); }
.shop-category-pill.is-active { background: var(--color-primary); color: var(--color-primary-foreground); border-color: var(--color-primary); }

.shop-price-filter { display: flex; flex-direction: column; align-items: center; gap: 0.75rem; }
.shop-price-filter__toggle { display: flex; align-items: center; gap: 0.5rem; padding: 0.5rem 1rem; font-size: 12px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--color-muted-foreground); transition: color 0.3s ease; }
.shop-price-filter__toggle:hover { color: var(--color-foreground); }
.shop-price-filter__toggle svg { transition: transform 0.3s ease; }
.shop-price-filter.is-open .shop-price-filter__toggle svg { transform: rotate(180deg); }
.shop-price-filter__current { opacity: 0.7; text-transform: none; letter-spacing: normal; }
.shop-price-filter__panel { width: 100%; max-width: 24rem; overflow: hidden; max-height: 0; opacity: 0; transition: max-height 0.3s var(--transition-smooth), opacity 0.3s var(--transition-smooth); }
.shop-price-filter.is-open .shop-price-filter__panel { max-height: 12rem; opacity: 1; padding-top: 0.5rem; }

.price-range-wrapper { position: relative; height: 1.5rem; margin-bottom: 0.75rem; }
.range-track-bg, .range-track-fill { position: absolute; height: 4px; top: 50%; transform: translateY(-50%); pointer-events: none; border-radius: 999px; }
.range-track-bg { left: 0; right: 0; background: var(--color-border); }
.range-track-fill { background: var(--color-primary); }
.range-input { position: absolute; left: 0; top: 0; width: 100%; height: 100%; margin: 0; -webkit-appearance: none; appearance: none; background: transparent; pointer-events: none; }
.range-input::-webkit-slider-thumb {
	-webkit-appearance: none; pointer-events: auto; height: 1.25rem; width: 1.25rem;
	border-radius: 999px; background: var(--color-background); border: 2px solid var(--color-primary); cursor: pointer;
}
.range-input::-moz-range-thumb { pointer-events: auto; height: 1.25rem; width: 1.25rem; border-radius: 999px; background: var(--color-background); border: 2px solid var(--color-primary); cursor: pointer; }
.range-input--max { z-index: 3; }
.range-input--min { z-index: 4; }
.price-range-labels { display: flex; justify-content: space-between; font-size: 0.875rem; color: var(--color-muted-foreground); }

.shop-section__empty { text-align: center; padding: 5rem 0; color: var(--color-muted-foreground); }
.shop-section__show-more { text-align: center; margin-top: 3rem; }
#theme-shop-show-more.is-hidden { display: none; }

/* ---------- FAQ / Accordion ---------- */
.faq-section__head { text-align: center; max-width: 42rem; margin: 0 auto 3rem; }
.faq-section__heading { font-size: 1.875rem; }
@media (min-width: 768px) { .faq-section__heading { font-size: 3rem; } }
.theme-accordion { max-width: 48rem; margin: 0 auto; }
.theme-accordion-item { border-bottom: 1px solid var(--color-border); }
.theme-accordion-trigger {
	width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 1rem;
	padding: 1.25rem 0; text-align: left; font-family: var(--font-display); text-transform: uppercase;
	letter-spacing: 0.04em; font-size: 1rem; color: var(--color-foreground);
}
@media (min-width: 768px) { .theme-accordion-trigger { font-size: 1.125rem; } }
.theme-accordion-trigger svg { transition: transform 0.3s ease; flex-shrink: 0; }
.theme-accordion-trigger[aria-expanded="true"] svg { transform: rotate(180deg); }
.theme-accordion-content { max-height: 0; overflow: hidden; transition: max-height 0.35s var(--transition-smooth); }
.theme-accordion-content.is-open { max-height: 800px; }
.theme-accordion-content__inner { padding-bottom: 1.5rem; color: var(--color-muted-foreground); line-height: 1.7; }

/* ---------- Final CTA ---------- */
.cta-section { position: relative; overflow: hidden; background-color: var(--color-butter); }
.cta-section__bg { opacity: 0.7; }
.cta-section__inner { position: relative; padding-block: 6rem; }
@media (min-width: 768px) { .cta-section__inner { padding-block: 8rem; } }
.cta-section__card {
	max-width: 42rem; margin: 0 auto; text-align: center; background: color-mix(in srgb, var(--color-background) 95%, transparent);
	backdrop-filter: blur(4px); box-shadow: var(--shadow-elevated); padding: 3rem 2rem; border: 1px solid var(--color-border);
}
@media (min-width: 768px) { .cta-section__card { padding: 4rem 3.5rem; } }
.cta-band__title { font-size: 1.875rem; line-height: 1.05; margin: 1rem 0 1.5rem; font-weight: 600; }
@media (min-width: 768px) { .cta-band__title { font-size: 3rem; } }
@media (min-width: 1024px) { .cta-band__title { font-size: 3.75rem; } }
.cta-section__subtext { color: color-mix(in srgb, var(--color-foreground) 80%, transparent); line-height: 1.7; margin-bottom: 2.5rem; max-width: 28rem; margin-inline: auto; }
.cta-section__actions { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1.25rem; }
@media (min-width: 640px) { .cta-section__actions { flex-direction: row; } }

/* ==========================================================================
   FOOTER
   ========================================================================== */
.site-footer { border-top: 1px solid var(--color-border); background-color: var(--color-butter); }
.site-footer__top { display: flex; flex-direction: column; gap: 2rem; padding-block: 3rem; }
@media (min-width: 768px) { .site-footer__top { flex-direction: row; align-items: center; justify-content: space-between; } }
.site-footer__logo { display: flex; align-items: center; gap: 0.75rem; }
.site-footer__tagline { font-size: 10px; letter-spacing: 0.32em; text-transform: uppercase; color: var(--color-muted-foreground); }
.site-footer__contact { display: flex; flex-direction: column; gap: 0.75rem; }
@media (min-width: 640px) { .site-footer__contact { flex-direction: row; align-items: center; gap: 1.25rem; } }
.site-footer__contact-link { display: flex; align-items: center; gap: 0.5rem; font-size: 0.875rem; color: var(--color-muted-foreground); transition: color 0.2s ease; }
.site-footer__contact-link:hover { color: var(--color-foreground); }
.site-footer__bottom { display: flex; flex-direction: column; align-items: center; justify-content: space-between; gap: 0.75rem; padding-block: 1.5rem; border-top: 1px solid var(--color-border); text-align: center; }
@media (min-width: 640px) { .site-footer__bottom { flex-direction: row; text-align: left; } }
.site-footer__quote { font-size: 12px; letter-spacing: 0.02em; font-style: italic; font-family: var(--font-display); color: var(--color-muted-foreground); }
.site-footer__copyright { font-size: 12px; letter-spacing: 0.02em; color: var(--color-muted-foreground); }
.site-footer__copyright a { text-decoration: underline; }
.site-footer__copyright a:hover { color: var(--color-foreground); }

/* ==========================================================================
   CART DRAWER + OVERLAY (Section 12)
   ========================================================================== */
#theme-cart-overlay {
	position: fixed; inset: 0; z-index: 60; background: color-mix(in srgb, var(--color-foreground) 20%, transparent);
	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; right: 0; top: 0; height: 100%; width: 100%; max-width: 28rem;
	background: var(--color-background); z-index: 61; box-shadow: var(--shadow-elevated);
	display: flex; flex-direction: column;
	transform: translateX(100%); transition: transform 0.35s var(--transition-smooth);
}
body.cart-open #theme-cart-drawer { transform: translateX(0); }
#theme-cart-drawer.is-updating { opacity: 0.6; pointer-events: none; }

.theme-cart-drawer__header { display: flex; align-items: center; justify-content: space-between; padding: 1.5rem; border-bottom: 1px solid var(--color-border); }
.theme-cart-drawer__title { font-size: 1.125rem; font-weight: 700; }
.theme-cart-drawer__close { padding: 0.25rem; opacity: 1; transition: opacity 0.2s ease; }
.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; gap: 1rem; }
.theme-cart-drawer__empty-icon { color: var(--color-muted-foreground); }
.theme-cart-drawer__empty p { color: var(--color-muted-foreground); }

.theme-cart-drawer__items { flex: 1; overflow: auto; padding: 1.5rem; display: flex; flex-direction: column; gap: 1.5rem; }
.theme-cart-item { display: flex; gap: 1rem; }
.theme-cart-item__image { width: 5rem; height: 6rem; flex-shrink: 0; overflow: hidden; background: var(--color-secondary); display: block; }
.theme-cart-item__image img { width: 100%; height: 100%; object-fit: cover; display: block; }
.theme-cart-item__info { flex: 1; min-width: 0; }
.theme-cart-item__name { font-size: 0.875rem; font-weight: 500; display: block; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; transition: opacity 0.2s ease; }
.theme-cart-item__name:hover { opacity: 0.7; }
.theme-cart-item__price { font-size: 0.875rem; color: var(--color-muted-foreground); margin-top: 0.125rem; }
.theme-cart-item__variation { font-size: 0.8rem; color: var(--color-muted-foreground); margin-top: 0.25rem; }
.theme-cart-item__controls { display: flex; align-items: center; gap: 0.75rem; margin-top: 0.75rem; }
.theme-cart-item__qty-btn { padding: 0.25rem; border-radius: 4px; transition: background-color 0.2s ease; }
.theme-cart-item__qty-btn:hover { background: var(--color-secondary); }
.theme-cart-item__qty { font-size: 0.875rem; width: 1.5rem; text-align: center; }
.theme-cart-item__remove { margin-left: auto; font-size: 0.875rem; color: var(--color-muted-foreground); transition: color 0.2s ease; }
.theme-cart-item__remove:hover { color: var(--color-foreground); }

.theme-cart-drawer__footer { padding: 1.5rem; border-top: 1px solid var(--color-border); display: flex; flex-direction: column; gap: 1rem; }
.theme-cart-drawer__subtotal { display: flex; justify-content: space-between; font-size: 0.875rem; }
.theme-cart-drawer__subtotal-value { font-weight: 500; }
.theme-cart-drawer__note { font-size: 0.875rem; color: var(--color-muted-foreground); }
.theme-cart-drawer__checkout { width: 100%; }
.theme-cart-drawer__empty-btn { width: 100%; font-size: 0.875rem; }

/* 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; }

/* ==========================================================================
   CONTACT MODAL (Section 9)
   ========================================================================== */
#theme-contact-modal-overlay {
	position: fixed; inset: 0; z-index: 90; background: color-mix(in srgb, var(--color-foreground) 40%, transparent);
	opacity: 0; pointer-events: none; transition: opacity 0.3s ease;
}
body.contact-modal-open #theme-contact-modal-overlay { opacity: 1; pointer-events: auto; }
#theme-contact-modal {
	position: fixed; top: 50%; left: 50%; z-index: 91; width: calc(100% - 2rem); max-width: 32rem; max-height: 90vh; overflow-y: auto;
	background: var(--color-background); box-shadow: var(--shadow-elevated); border-radius: var(--radius);
	transform: translate(-50%, -48%) scale(0.96); opacity: 0; pointer-events: none;
	transition: transform 0.25s var(--transition-smooth), opacity 0.25s var(--transition-smooth);
}
body.contact-modal-open #theme-contact-modal { transform: translate(-50%, -50%) scale(1); opacity: 1; pointer-events: auto; }
.theme-modal__inner { padding: 2rem; position: relative; }
.theme-modal__close { position: absolute; top: 1.25rem; right: 1.25rem; padding: 0.25rem; opacity: 0.7; }
.theme-modal__close:hover { opacity: 1; }
.theme-modal__title { font-size: 1.5rem; margin-bottom: 0.5rem; text-transform: none; }
.theme-modal__description { color: var(--color-muted-foreground); margin-bottom: 1.25rem; }
.theme-modal__meta { display: flex; flex-wrap: wrap; gap: 1rem; font-size: 0.875rem; color: var(--color-muted-foreground); margin-bottom: 1.5rem; }
.theme-modal__meta-link { display: flex; align-items: center; gap: 0.5rem; transition: color 0.2s ease; }
.theme-modal__meta-link:hover { color: var(--color-foreground); }
.theme-modal__success { text-align: center; padding: 2rem 0; }
.theme-modal__success-icon { display: flex; width: 3.5rem; height: 3.5rem; align-items: center; justify-content: center; border-radius: 999px; background: var(--color-primary); color: var(--color-primary-foreground); margin: 0 auto 1rem; }
.theme-modal__success h3 { font-size: 1.25rem; margin-bottom: 0.5rem; text-transform: none; }
.theme-modal__success p { color: var(--color-muted-foreground); font-size: 0.875rem; }
.theme-modal__form { display: flex; flex-direction: column; gap: 1rem; }
.theme-modal__form-row { display: grid; grid-template-columns: 1fr; gap: 1rem; }
@media (min-width: 480px) { .theme-modal__form-row { grid-template-columns: repeat(2, minmax(0,1fr)); } }
.theme-modal__form label { display: block; font-size: 0.875rem; font-weight: 500; margin-bottom: 0.375rem; }
.theme-modal__form input, .theme-modal__form textarea {
	width: 100%; padding: 0.625rem 0.75rem; background: var(--color-background); border: 1px solid var(--color-border);
	border-radius: 6px; font-size: 1rem; font-family: var(--font-body); color: var(--color-foreground);
	transition: box-shadow 0.3s ease;
}
.theme-modal__form input:focus, .theme-modal__form textarea:focus { outline: none; box-shadow: 0 0 0 2px color-mix(in srgb, var(--color-primary) 50%, transparent); }
.theme-modal__form textarea { resize: none; }
.theme-modal__form-actions { display: flex; justify-content: flex-end; }
.theme-modal__form-error { color: #b42318; font-size: 0.875rem; }

body.cart-open, body.contact-modal-open { overflow: hidden; }

/* ==========================================================================
   SINGLE PRODUCT (Section 11)
   ========================================================================== */
.single-product-page { padding-top: 1.5rem; padding-bottom: 6rem; }
.theme-breadcrumb { padding: 1.5rem 0; font-size: 13px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--color-muted-foreground); }
.theme-breadcrumb a { transition: color 0.2s ease; }
.theme-breadcrumb a:hover { color: var(--color-foreground); }
.theme-breadcrumb__sep { margin: 0 0.5rem; opacity: 0.5; }
.theme-breadcrumb__current { color: var(--color-foreground); }

.theme-product-layout { display: grid; grid-template-columns: 1fr; gap: 2.5rem; padding-top: 1rem; align-items: start; min-width: 0; }
@media (min-width: 1024px) { .theme-product-layout { grid-template-columns: 7fr 5fr; gap: 4rem; } }
.single-product .theme-product-gallery, .single-product .theme-product-info { min-width: 0; max-width: 100%; }

.theme-product-gallery__main { position: relative; aspect-ratio: 1/1; background: var(--color-secondary); overflow: hidden; }
.theme-product-gallery__mobile { display: block; }
.theme-product-gallery__desktop { display: none; }
@media (min-width: 1024px) {
	.theme-product-gallery__mobile { display: none; }
	.theme-product-gallery__desktop { display: flex; flex-direction: column; gap: 1rem; position: relative; }
}
.theme-product-gallery__stack-item { position: relative; aspect-ratio: 1/1; background: var(--color-secondary); overflow: hidden; }
.theme-product-gallery__overlay { position: absolute; inset: 0; z-index: 1; background: color-mix(in srgb, var(--color-background) 20%, transparent); backdrop-filter: blur(2px); }
.theme-product-gallery__badge-wrap {
	position: absolute; inset: 0; z-index: 2; display: flex; align-items: center; justify-content: center; padding: 1rem;
	pointer-events: none;
}
.theme-product-gallery__badge {
	display: inline-block; padding: 0.5rem 1.25rem; font-size: 12px; font-weight: 500; letter-spacing: 0.18em; text-transform: uppercase;
	background: var(--color-primary); color: var(--color-primary-foreground); border-radius: 999px; white-space: nowrap;
}
.theme-product-gallery__oos-badge {
	position: absolute; top: 0.75rem; left: 0.75rem; z-index: 2;
	padding: 0.35rem 0.85rem; font-size: 12px; font-weight: 500; letter-spacing: 0.18em; text-transform: uppercase;
	background: var(--color-foreground); color: var(--color-background); border-radius: 999px;
}
.theme-product-gallery__oos-badge--desktop { position: absolute; top: 1rem; left: 1rem; z-index: 3; }
.single-product .theme-product-thumbnails {
	display: flex; gap: 0.75rem; margin-top: 1rem; overflow-x: auto; flex-wrap: nowrap; max-width: 100%; padding-bottom: 0.25rem;
}
.theme-product-thumbnails--mobile { display: flex; }
@media (min-width: 1024px) { .theme-product-thumbnails--mobile { display: none; } }
.theme-product-thumb { position: relative; width: 5rem; height: 5rem; flex-shrink: 0; overflow: hidden; background: var(--color-secondary); }
.theme-product-thumb img { opacity: 0.6; transition: opacity 0.2s ease; }
.theme-product-thumb:hover img, .theme-product-thumb.is-active img { opacity: 1; }
.theme-product-thumb::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--color-foreground); opacity: 0; transition: opacity 0.2s ease; }
.theme-product-thumb.is-active::after { opacity: 1; }

.theme-product-info__category { font-size: 13px; letter-spacing: 0.25em; text-transform: uppercase; color: var(--color-muted-foreground); }
.theme-product-info__title { font-family: var(--font-display); font-weight: 400; font-size: 1.875rem; line-height: 1.1; text-transform: none; }
@media (min-width: 768px) { .theme-product-info__title { font-size: 2.25rem; } }
@media (min-width: 1024px) { .theme-product-info__title { font-size: 2.75rem; } }
.theme-product-info__price { font-size: 1.25rem; margin-bottom: 1.5rem; }
.theme-product-info__price del { opacity: 0.5; margin-right: 0.5rem; }
.theme-product-info__intro { color: var(--color-muted-foreground); line-height: 1.7; margin-bottom: 2rem; font-size: 1rem; }
.theme-product-info__stock.is-out-of-stock { color: #b42318; font-size: 0.875rem; letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 1rem; }
@media (min-width: 1024px) {
	.theme-product-info { position: sticky; top: 7rem; align-self: start; padding-left: 1rem; }
}
.single-product .woocommerce-product-details__short-description,
.single-product .woocommerce-variation-description,
.single-product .posted_in { overflow-wrap: break-word; word-break: break-word; }
.theme-product-info__description { color: var(--color-muted-foreground); line-height: 1.7; margin-bottom: 2rem; font-size: 1rem; }

/* Variations table layout — stack label above control (Section 11.5.1) */
.single-product .variations.shop_attributes tbody,
.single-product .variations tbody tr,
.single-product .variations tbody td { display: block; width: 100%; }
.single-product .variations tbody td.label { padding-bottom: 0.5rem; font-size: 13px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--color-muted-foreground); }
.single-product .variations tbody td.value { padding-top: 0; padding-bottom: 1.5rem; }
.theme-attr-select-hidden { display: none !important; }

.theme-attr-pills { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.theme-attr-pill {
	padding: 0.5rem 1rem; font-size: 0.75rem; letter-spacing: 0.15em; text-transform: uppercase; font-family: var(--font-body);
	border: 1px solid var(--color-border); border-radius: 999px; transition: all 0.2s ease;
}
.theme-attr-pill:hover { border-color: color-mix(in srgb, var(--color-foreground) 60%, transparent); }
.theme-attr-pill.is-selected { background: var(--color-foreground); color: var(--color-background); border-color: var(--color-foreground); }

.theme-quantity-wrapper { display: inline-flex; align-items: center; border: 1px solid var(--color-border); }
.theme-qty-minus, .theme-qty-plus { padding: 0.5rem 0.75rem; transition: background-color 0.2s ease; }
.theme-qty-minus:hover, .theme-qty-plus:hover { background: var(--color-secondary); }
.theme-qty-input { width: 3rem; text-align: center; border: none; background: transparent; font-size: 0.875rem; font-family: var(--font-body); -moz-appearance: textfield; }
.theme-qty-input::-webkit-outer-spin-button, .theme-qty-input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }

.single-product .variations_form .theme-add-to-cart-area {
	display: block; margin: 1rem 0 1.5rem;
}
.single-product .theme-quantity-row { margin-bottom: 1rem; }
.single-product .theme-quantity-label {
	display: block; font-size: 13px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--color-muted-foreground); margin-bottom: 0.75rem;
}
.single-product .variations_form .single_add_to_cart_button { width: 100%; margin-top: 0; }
.single-product .woocommerce-variation-add-to-cart { width: 100%; }
.single-product .single_variation_wrap .woocommerce-variation-price { margin-bottom: 0.5rem; }
.theme-product-features-description { color: var(--color-muted-foreground); line-height: 1.7; margin-bottom: 1rem; font-size: 0.9375rem; }
.single-product .theme-add-to-cart-area { display: block; margin: 1rem 0 1.5rem; }
.single-product .theme-add-to-cart-area .single_add_to_cart_button { width: 100%; }
.theme-btn-primary {
	background-color: var(--color-primary) !important; color: var(--color-primary-foreground) !important;
	border-radius: 999px !important; text-transform: none !important; letter-spacing: 0.02em !important; font-family: var(--font-body) !important;
	font-size: 0.75rem !important; font-weight: 500 !important;
}

/* Add-to-cart style override (Section 11.4.1) */
.single_add_to_cart_button.button,
.add_to_cart_button.button,
a.single_add_to_cart_button,
a.add_to_cart_button {
	background-color: var(--color-foreground) !important;
	color: var(--color-background) !important;
	border: none !important;
	border-radius: 999px !important;
	min-height: auto !important;
	padding: 1rem 1.5rem !important;
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;
	font-family: var(--font-body) !important;
	font-size: 0.75rem !important;
	font-weight: 500 !important;
	letter-spacing: 0.25em !important;
	text-transform: uppercase !important;
	cursor: pointer !important;
	transition: opacity 0.2s ease !important;
	width: 100%;
}
.single_add_to_cart_button.button:hover,
.add_to_cart_button.button:hover {
	opacity: 0.9 !important;
	background-color: var(--color-foreground) !important;
	color: var(--color-background) !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-foreground) !important;
}
.single-product .single_add_to_cart_button.loading::after,
.ajax_add_to_cart.loading::after { display: none !important; }
.ajax_add_to_cart.theme-btn-loading {
	opacity: 0.6 !important;
	pointer-events: none !important;
	cursor: wait !important;
}

.theme-product-accordions { margin-top: 2rem; border-top: 1px solid var(--color-border); }
.theme-product-details-title { font-size: 13px; letter-spacing: 0.2em; text-transform: uppercase; margin-bottom: 1rem; }
.theme-product-info__categories { margin-top: 1.5rem; font-size: 0.875rem; }
.theme-product-info__categories a { color: var(--color-muted-foreground); text-decoration: underline; }

/* Scoped notice visibility (Section 14.1) */
.single-product .woocommerce-message,
.single-product .woocommerce-info { display: none; }
#theme-cart-drawer .woocommerce-message { display: none; }

/* ---------- Related products ---------- */
.related-products-section { padding: 5rem 0; border-top: 1px solid var(--color-border); margin-top: 2rem; }
.related-products-section__head { text-align: center; margin-bottom: 3rem; }
.related-products-section__kicker { font-family: var(--font-display); font-style: italic; font-size: 1rem; color: var(--color-muted-foreground); margin-bottom: 0.5rem; text-transform: none; }
.related-products-section__heading { font-size: 1.875rem; font-weight: 400; text-transform: none; }
@media (min-width: 768px) { .related-products-section__heading { font-size: 2.25rem; } }

/* ==========================================================================
   SHOP ARCHIVE PAGE
   ========================================================================== */
.shop-archive-page { padding: 3rem 0 5rem; }
.shop-archive-page__head { text-align: center; margin-bottom: 2.5rem; }
.shop-archive-page__empty { text-align: center; padding: 4rem 0; color: var(--color-muted-foreground); }

/* ==========================================================================
   GENERIC PAGE / 404 / PAGE TITLE
   ========================================================================== */
.theme-page-wrap { padding-top: 3rem; padding-bottom: 5rem; }
.page-title { font-size: 2rem; margin-bottom: 1.5rem; }
@media (min-width: 768px) { .page-title { font-size: 2.5rem; } }
.theme-404-page { min-height: 100vh; display: flex; align-items: center; justify-content: center; background-color: var(--color-muted); }
.theme-404-page__inner { text-align: center; }
.theme-404-page__code { font-size: 4rem; margin-bottom: 1rem; }
.theme-404-page__text { font-size: 1.25rem; color: var(--color-muted-foreground); margin-bottom: 1rem; }
.theme-404-page__link { color: var(--color-primary); text-decoration: underline; }

/* ==========================================================================
   WOOCOMMERCE CHECKOUT BLOCK (Section 13)
   ========================================================================== */
body.woocommerce-checkout .site-main { padding-top: 2rem; padding-bottom: 4rem; }
body.woocommerce-checkout .wc-block-checkout,
body.woocommerce-checkout .wc-block-components-sidebar-layout.wc-block-checkout.is-large { display: block; }

@media (min-width: 768px) {
	body.woocommerce-checkout .wc-block-components-sidebar-layout.wc-block-checkout.is-large,
	body.woocommerce-checkout .wc-block-checkout.wc-block-components-sidebar-layout {
		display: grid;
		grid-template-columns: 1fr 1fr;
		gap: var(--checkout-gap);
		align-items: start;
	}
}

body.woocommerce-checkout .wc-block-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,
body.woocommerce-checkout .wc-block-components-select .wc-block-components-select__select,
body.woocommerce-checkout select.wc-block-components-select__select,
body.woocommerce-checkout .wc-block-components-combobox .wc-block-components-combobox-control input,
body.woocommerce-checkout .wc-block-components-form .wc-block-components-text-input input,
body.woocommerce-checkout .wc-block-components-form .wc-block-components-select select,
body.woocommerce-checkout .wc-block-components-form select.wc-block-components-select__select {
	width: 100% !important;
	max-width: none !important;
	font-family: var(--font-body) !important;
	font-size: 1rem !important;
	line-height: 1.5 !important;
	color: var(--color-foreground) !important;
	background-color: var(--color-background) !important;
	border: 1px solid var(--color-border) !important;
	border-radius: 0.375rem !important;
	box-shadow: none !important;
	appearance: auto !important;
	-webkit-appearance: menulist !important;
}
body.woocommerce-checkout .wc-block-components-select {
	width: 100% !important;
	max-width: none !important;
}
body.woocommerce-checkout .wc-block-components-select .wc-block-components-select__container,
body.woocommerce-checkout .wc-block-components-select .wc-block-components-select__expand {
	border: none !important;
	box-shadow: none !important;
	background: transparent !important;
}
body.woocommerce-checkout .wc-block-components-text-input input::placeholder,
body.woocommerce-checkout .wc-block-components-combobox input::placeholder {
	color: var(--color-muted-foreground) !important;
	opacity: 1 !important;
}
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-select .wc-block-components-select__select:focus,
body.woocommerce-checkout select.wc-block-components-select__select:focus,
body.woocommerce-checkout .wc-block-components-text-input input:focus-visible,
body.woocommerce-checkout .wc-block-components-select select:focus-visible,
body.woocommerce-checkout .wc-block-components-select .wc-block-components-select__select:focus-visible,
body.woocommerce-checkout select.wc-block-components-select__select:focus-visible,
body.woocommerce-checkout .wc-block-components-combobox input:focus {
	outline: none !important;
	border-color: var(--color-primary) !important;
	box-shadow: 0 0 0 1px var(--color-primary) !important;
}
body.woocommerce-checkout .wc-block-components-text-input label,
body.woocommerce-checkout .wc-block-components-select label,
body.woocommerce-checkout .wc-block-components-combobox label {
	font-family: var(--font-display) !important;
	font-size: 0.875rem !important;
	font-weight: 500 !important;
	color: var(--color-foreground) !important;
}

body.woocommerce-checkout .wc-block-checkout__sidebar {
	background-color: var(--color-butter);
	border-radius: var(--card-radius);
	padding: var(--section-padding);
}
body.woocommerce-checkout .wc-block-components-checkout-place-order-button {
	background-color: var(--color-primary) !important;
	border-radius: 999px !important;
	color: var(--color-primary-foreground) !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
   ========================================================================== */
body.theme-thankyou-page { overflow-x: hidden; }
body.theme-thankyou-page .theme-thankyou { padding-top: 1rem; padding-bottom: 4rem; }
body.theme-thankyou-page .woocommerce-order h2,
body.theme-thankyou-page .woocommerce-order-details__title { padding: 0 0 1rem 0; font-size: 1.5rem; }
body.theme-thankyou-page .woocommerce-order-overview { display: flex; flex-wrap: wrap; gap: 1.5rem; list-style: none; padding: 0; margin: 1.5rem 0; border: 1px solid var(--color-border); border-radius: var(--card-radius); padding: 1.5rem; }
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: 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); }
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: 480px; overflow-wrap: break-word; border: 1px solid var(--color-border); border-radius: var(--card-radius); padding: 1.25rem; font-style: normal; }
@media (min-width: 768px) {
	body.theme-thankyou-page .woocommerce-customer-details { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; align-items: start; }
	body.theme-thankyou-page .woocommerce-customer-details address { min-width: 0; max-width: none; }
}

/* ==========================================================================
   CUSTOMIZER MEDIA CONTROL
   ========================================================================== */
.theme-media-control { display: flex; flex-direction: column; gap: 0.5rem; }
.theme-media-url-input { width: 100%; min-width: 0; box-sizing: border-box; }
.theme-media-preview { max-width: 100%; height: auto; display: block; }

/* ==========================================================================
   SVG ICON DEFAULTS
   ========================================================================== */
.theme-icon {
	display: inline-block;
	flex-shrink: 0;
	vertical-align: middle;
	fill: none;
	stroke: currentColor;
}
.theme-icon path,
.theme-icon circle,
.theme-icon line,
.theme-icon polyline,
.theme-icon rect {
	fill: none;
	stroke: inherit;
}
.pillar-row__icon .theme-icon {
	overflow: visible;
}
.icon-sm { width: 14px; height: 14px; }

/* ==========================================================================
   PRODUCT IMAGE HEIGHT PARITY (cards, cart drawer, single product)
   ========================================================================== */
.theme-product-card__image-wrapper { position: relative; }
.theme-product-card__image-wrapper img,
.theme-product-card__image-wrapper .theme-product-card__img {
	height: 100% !important;
	width: 100% !important;
	object-fit: cover !important;
}
.theme-cart-item__image { position: relative; }
.theme-cart-item__image img {
	height: 100% !important;
	width: 100% !important;
	object-fit: cover !important;
	display: block !important;
}
.theme-product-gallery__main { position: relative; }
.theme-product-gallery__main img,
.theme-product-gallery__main .cover-img,
.theme-product-thumb img {
	height: 100% !important;
	width: 100% !important;
	object-fit: cover !important;
}

/* ==========================================================================
   PRODUCT DETAILS LIST + HOVER PARITY
   ========================================================================== */
.theme-product-details-list {
	margin: 1rem 0 0;
	padding: 0;
	list-style: none;
}
.theme-product-details-list li {
	font-size: 0.9375rem;
	color: var(--color-muted-foreground);
	line-height: 1.6;
	display: flex;
	align-items: flex-start;
	gap: 0.75rem;
	margin-bottom: 0.5rem;
}
.theme-product-details-list li::before {
	content: '';
	width: 4px;
	height: 4px;
	border-radius: 999px;
	background: var(--color-foreground);
	margin-top: 0.55rem;
	flex-shrink: 0;
}
.theme-accordion-trigger:hover { color: var(--color-primary); }
.theme-mobile-nav-list a:hover { color: var(--color-muted-foreground); }
.theme-footer-nav-list a:hover { color: var(--color-foreground); }
.theme-product-card:hover { transform: translateY(-4px); transition: transform 0.35s var(--transition-smooth); }
.collection-tile:hover .collection-tile__gradient {
	background: linear-gradient(to top, var(--color-background), color-mix(in srgb, var(--color-background) 40%, transparent), transparent);
}
.theme-404-page__link:hover { color: color-mix(in srgb, var(--color-primary) 90%, transparent); }
