/* =====================================================================
   Faith Not Fear — theme.css
   ===================================================================== */

:root {
	/* Lovable design tokens — src/index.css :root (HSL → hex) */
	--color-background: #faf8f5;
	--color-foreground: #141e34;
	--color-primary: #172645;
	--color-primary-foreground: #faf8f5;
	--color-secondary: #f0ece6;
	--color-secondary-foreground: #141e34;
	--color-muted: #e6e2db;
	--color-muted-foreground: #525c6f;
	--color-accent: #c89741;
	--color-accent-foreground: #141e34;
	--color-destructive: #ef4343;
	--color-destructive-foreground: #ffffff;
	--color-border: #dcd8d0;
	--color-input: var(--color-border);
	--color-ring: var(--color-primary);

	--font-display: 'Libre Baskerville', serif;
	--font-body: 'IBM Plex Sans', sans-serif;
	--radius: 8px;
	--shadow-soft: 0 4px 20px -4px color-mix(in srgb, var(--color-foreground) 8%, transparent);
	--shadow-elevated: 0 8px 40px -8px color-mix(in srgb, var(--color-foreground) 16%, transparent);
	--ease-smooth: cubic-bezier(0.22, 1, 0.36, 1);
	--header-height: 80px;
	--btn-radius: 6px;
	--btn-height: 44px;
	--btn-padding: 0 2rem;
	--btn-font-size: 0.9rem;
	--btn-font-weight: 500;
	--btn-letter-spacing: normal;
	--btn-text-transform: none;
	--color-button-text: var(--color-primary-foreground);
	--card-radius: 12px;
	--section-padding: 2rem;
}

/* --------------------------------------------------------------------
 * RESET / BASE — mirrors src/index.css @layer base
 * ------------------------------------------------------------------ */
*, *::before, *::after { box-sizing: border-box; border-color: var(--color-border); }
html { scroll-behavior: smooth; }
body {
	margin: 0;
	background-color: var(--color-background);
	color: var(--color-foreground);
	font-family: var(--font-body);
	font-size: 16px;
	line-height: 1.6;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
img:not(.cover-img):not(.hero-bg-img):not(.theme-product-main-img):not(.theme-product-card__image):not(.theme-product-thumb-img) {
	max-width: 100%;
	height: auto;
}
.cover-img, .hero-bg-img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
}
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
input, textarea, select { font-family: inherit; font-size: 1rem; }

/* WordPress / WooCommerce bleed reset */
.site-main p:not([class]),
.site-main ul:not([class]),
.site-main ol:not([class]) { margin: 0; }
.woocommerce ul.products { margin: 0 !important; padding: 0 !important; list-style: none !important; }
.woocommerce-page .woocommerce-breadcrumb { display: none !important; }

h1, h2, h3, h4, h5, h6 {
	font-weight: 700;
	font-size: inherit;
	margin: 0;
	font-family: var(--font-display);
	font-synthesis: none;
}
.font-display { font-weight: 700; font-size: inherit; font-synthesis: none; }

.container-wide {
	width: 100%;
	max-width: 80rem; /* max-w-7xl — matches Lovable container-wide */
	margin: 0 auto;
	padding: 0 1.5rem;
}
@media (min-width: 1024px) {
	.container-wide { padding: 0 2rem; }
}

.btn-outline, .btn-hero-outline {
	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);
	border: 1px solid var(--color-input);
	background: transparent;
	color: var(--color-foreground);
	font-size: var(--btn-font-size);
	font-weight: var(--btn-font-weight);
	text-transform: none;
	transition: opacity 0.2s ease, background-color 0.2s ease;
}
.btn-outline:hover { background-color: var(--color-secondary); }

.reveal-item {
	opacity: 0;
	transform: translateY(30px);
	transition: opacity 0.7s var(--ease-smooth), transform 0.7s var(--ease-smooth), filter 0.7s var(--ease-smooth);
	filter: blur(6px);
}
.reveal-item.is-visible { opacity: 1; transform: translateY(0); filter: blur(0); }
.reveal-item[data-reveal="scaleUp"] { transform: scale(0.9) translateY(10px); }
.reveal-item[data-reveal="scaleUp"].is-visible { transform: scale(1) translateY(0); }
.reveal-item[data-reveal="fadeUp"] { filter: none; transform: translateY(40px); }
.reveal-item[data-reveal="fadeUp"].is-visible { transform: translateY(0); }
.reveal-item[data-reveal="slideUp"] { filter: none; transform: translateY(60px); }
.reveal-item[data-reveal="slideUp"].is-visible { transform: translateY(0); }
.reveal-item[data-reveal="blur"] { transform: translateY(20px); }

body.is-customizer .reveal-item {
	opacity: 1 !important;
	transform: none !important;
	filter: none !important;
}
@media (prefers-reduced-motion: reduce) {
	.reveal-item { opacity: 1 !important; transform: none !important; filter: none !important; transition: none !important; }
}

/* --------------------------------------------------------------------
 * HEADER
 * ------------------------------------------------------------------ */
.site-header {
	position: fixed;
	top: 0; left: 0; right: 0;
	z-index: 50;
	background: transparent;
	border-bottom: 1px solid transparent;
	transition: background-color 0.5s ease, border-color 0.5s ease, box-shadow 0.5s ease;
}
body.admin-bar .site-header { top: 32px; }
@media screen and (max-width: 782px) {
	body.admin-bar .site-header { top: 46px; }
}
.site-header.is-solid {
	background-color: color-mix(in srgb, var(--color-background) 95%, transparent);
	backdrop-filter: blur(12px);
	border-bottom-color: var(--color-border);
	box-shadow: var(--shadow-soft);
}
.site-nav {
	display: flex;
	align-items: center;
	justify-content: space-between;
	height: 96px;
	transition: height 0.5s ease;
}
.site-header.is-solid .site-nav { height: 80px; }

.site-brand { display: flex; align-items: center; min-width: 0; gap: 0.25rem; }
.site-logo-text {
	font-family: var(--font-display);
	font-size: 1.5rem;
	color: var(--color-background);
	transition: color 0.5s ease;
}
.site-logo-cross {
	font-family: var(--font-display);
	font-size: 1.5rem;
	color: var(--color-accent);
}
.site-header.is-solid .site-logo-text { color: var(--color-foreground); }
.site-logo-img { height: var(--logo-height) !important; width: auto !important; display: block; object-fit: contain; flex-shrink: 0; transition: filter 0.5s ease, transform 0.5s ease; }
.site-header:not(.is-solid) .site-logo-img { filter: brightness(0) invert(1); }
.site-brand:hover .site-logo-img { transform: scale(1.05); }

.site-nav-links { display: none; align-items: center; gap: 2rem; }
@media (min-width: 1024px) { .site-nav-links { display: flex; } }
.theme-nav-list { display: flex; align-items: center; gap: 2rem; list-style: none; margin: 0; padding: 0; }
.theme-nav-list .menu-item a, .theme-nav-list .menu-item .theme-anchor-link {
	font-family: var(--font-body);
	font-size: 0.875rem;
	letter-spacing: 0.025em;
	color: var(--color-background);
	position: relative;
	transition: color 0.5s ease;
	background: transparent;
	border: none;
	cursor: pointer;
}
.site-header.is-solid .theme-nav-list .menu-item a,
.site-header.is-solid .theme-nav-list .menu-item .theme-anchor-link { color: var(--color-foreground); }
.theme-nav-list .menu-item a::after, .theme-nav-list .menu-item .theme-anchor-link::after {
	content: '';
	position: absolute;
	bottom: -4px; left: 0;
	width: 100%; height: 1px;
	background: currentColor;
	transform: scaleX(0);
	transform-origin: left;
	transition: transform 0.3s var(--ease-smooth);
}
.theme-nav-list .menu-item a:hover::after, .theme-nav-list .menu-item .theme-anchor-link:hover::after { transform: scaleX(1); }

.site-nav-actions { display: flex; align-items: center; gap: 0.5rem; }

.theme-account-dropdown { position: relative; }
.theme-account-toggle {
	background: none; border: none;
	color: var(--color-background);
	padding: 0.5rem;
	display: flex;
	align-items: center; justify-content: center;
	transition: color 0.5s ease, opacity 0.2s ease;
	cursor: pointer;
}
.site-header.is-solid .theme-account-toggle { color: var(--color-foreground); }
.theme-account-toggle:hover { opacity: 0.6; }
.theme-account-menu {
	position: absolute;
	top: calc(100% + 0.25rem);
	right: 0;
	z-index: 60;
	min-width: 13rem;
	padding: 0.25rem;
	border: 1px solid var(--color-border);
	border-radius: 0.375rem;
	background: var(--color-background);
	color: var(--color-foreground);
	box-shadow: var(--shadow-soft);
}
.theme-account-menu[hidden] { display: none; }
.theme-account-menu__email {
	margin: 0;
	padding: 0.375rem 0.5rem;
	font-size: 0.75rem;
	color: var(--color-muted-foreground);
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}
.theme-account-menu__sep {
	margin: 0.25rem 0;
	border: none;
	border-top: 1px solid var(--color-border);
}
.theme-account-menu__item {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	padding: 0.375rem 0.5rem;
	border-radius: 0.25rem;
	font-size: 0.875rem;
	color: inherit;
	text-decoration: none;
	transition: background-color 0.15s ease, color 0.15s ease;
}
.theme-account-menu__item:hover,
.theme-account-menu__item:focus-visible {
	background: var(--color-secondary);
	color: var(--color-foreground);
	outline: none;
}
.theme-account-menu__item svg { flex-shrink: 0; }

.theme-cart-toggle {
	position: relative;
	background: none; border: none;
	color: var(--color-background);
	padding: 0.5rem;
	display: flex;
	transition: color 0.5s ease, opacity 0.2s ease;
}
.site-header.is-solid .theme-cart-toggle { color: var(--color-foreground); }
.theme-cart-toggle:hover { opacity: 0.6; }
.theme-cart-count {
	position: absolute;
	top: -2px; right: -2px;
	min-width: 20px; height: 20px;
	display: flex; align-items: center; justify-content: center;
	font-size: 10px; font-weight: 500;
	background: var(--color-accent);
	color: var(--color-accent-foreground);
	border-radius: 50%;
	padding: 0 3px;
}
.theme-cart-count:empty { display: none; }

.mobile-menu-toggle {
	display: flex;
	background: none; border: none;
	color: var(--color-background);
	padding: 0.5rem;
	transition: color 0.5s ease, opacity 0.2s ease;
}
.mobile-menu-icon { display: flex; align-items: center; justify-content: center; }
.mobile-menu-icon--close { display: none; }
body.mobile-menu-open .mobile-menu-icon--open { display: none; }
body.mobile-menu-open .mobile-menu-icon--close { display: flex; }
.mobile-menu-toggle:hover { opacity: 0.6; }
.site-header.is-solid .mobile-menu-toggle { color: var(--color-foreground); }
@media (min-width: 1024px) { .mobile-menu-toggle { display: none; } }

.mobile-nav-overlay {
	display: none;
	position: fixed;
	inset: 0;
	top: 5rem;
	background-color: color-mix(in srgb, var(--color-foreground) 20%, transparent);
	z-index: 40;
	opacity: 0;
	transition: opacity 0.35s var(--ease-smooth);
}
body.admin-bar .mobile-nav-overlay { top: calc(32px + 5rem); }
@media screen and (max-width: 782px) {
	body.admin-bar .mobile-nav-overlay { top: calc(46px + 5rem); }
}
body.mobile-menu-open .mobile-nav-overlay {
	display: block;
	opacity: 1;
}
@media (min-width: 1024px) { .mobile-nav-overlay { display: none !important; } }

.mobile-nav {
	display: block;
	position: absolute;
	left: 0; right: 0; top: 100%;
	background: var(--color-background);
	border-top: 1px solid var(--color-border);
	box-shadow: var(--shadow-elevated);
	z-index: 50;
	overflow: hidden;
	max-height: 0;
	opacity: 0;
	visibility: hidden;
	transform: translateY(-8px);
	transition:
		max-height 0.45s var(--ease-smooth),
		opacity 0.35s var(--ease-smooth),
		transform 0.45s var(--ease-smooth),
		visibility 0.45s;
}
body.mobile-menu-open .mobile-nav {
	max-height: 24rem;
	opacity: 1;
	visibility: visible;
	transform: translateY(0);
}
.mobile-nav .theme-nav-list { flex-direction: column; align-items: flex-start; gap: 0.25rem; padding: 1rem 1.5rem; width: 100%; }
.mobile-nav .theme-nav-list .menu-item {
	width: 100%;
	opacity: 0;
	transform: translateX(-18px);
	transition: opacity 0.35s var(--ease-smooth), transform 0.35s var(--ease-smooth), color 0.2s ease;
}
body.mobile-menu-open .mobile-nav .theme-nav-list .menu-item {
	opacity: 1;
	transform: translateX(0);
}
body.mobile-menu-open .mobile-nav .theme-nav-list .menu-item:nth-child(1) { transition-delay: 0.06s; }
body.mobile-menu-open .mobile-nav .theme-nav-list .menu-item:nth-child(2) { transition-delay: 0.12s; }
body.mobile-menu-open .mobile-nav .theme-nav-list .menu-item:nth-child(3) { transition-delay: 0.18s; }
body.mobile-menu-open .mobile-nav .theme-nav-list .menu-item:nth-child(4) { transition-delay: 0.24s; }
body.mobile-menu-open .mobile-nav .theme-nav-list .menu-item:nth-child(5) { transition-delay: 0.30s; }
.mobile-nav .theme-nav-list .menu-item a, .mobile-nav .theme-nav-list .menu-item .theme-anchor-link {
	display: block; width: 100%; padding: 0.75rem 0; color: var(--color-foreground);
	font-size: 1rem;
	transition: color 0.2s ease, transform 0.2s ease;
}
.mobile-nav .theme-nav-list .menu-item a:hover, .mobile-nav .theme-nav-list .menu-item .theme-anchor-link:hover {
	color: var(--color-primary);
	transform: translateX(6px);
}

body.theme-no-hero { padding-top: var(--header-height); }
body.admin-bar.theme-no-hero { padding-top: calc(var(--header-height) + 32px); }
@media screen and (max-width: 782px) {
	body.admin-bar.theme-no-hero { padding-top: calc(var(--header-height) + 46px); }
}
/* Fixed header: offset on main only (Lovable pt-24), never body + main */
body.theme-blog-page.theme-no-hero,
body.single-product.theme-no-hero,
body.woocommerce-checkout.theme-no-hero,
body.post-type-archive-product.theme-no-hero,
body.tax-product_cat.theme-no-hero,
body.tax-product_tag.theme-no-hero,
body.theme-thankyou-page.theme-no-hero {
	padding-top: 0;
}
body.admin-bar.theme-blog-page.theme-no-hero,
body.admin-bar.single-product.theme-no-hero,
body.admin-bar.woocommerce-checkout.theme-no-hero,
body.admin-bar.post-type-archive-product.theme-no-hero,
body.admin-bar.tax-product_cat.theme-no-hero,
body.admin-bar.tax-product_tag.theme-no-hero,
body.admin-bar.theme-thankyou-page.theme-no-hero {
	padding-top: 0;
}
body.theme-no-hero .site-header {
	background-color: color-mix(in srgb, var(--color-background) 95%, transparent);
	backdrop-filter: blur(12px);
	border-bottom-color: var(--color-border);
}

/* --------------------------------------------------------------------
 * HERO
 * ------------------------------------------------------------------ */
.hero-section {
	position: relative;
	min-height: 100vh;
	display: flex;
	align-items: center;
	justify-content: center;
	overflow: hidden;
	background-color: var(--color-primary);
}
.hero-bg-wrap { position: absolute; inset: 0; z-index: 0; }
.hero-overlay { position: absolute; inset: 0; z-index: 1; background-color: color-mix(in srgb, var(--color-primary) 70%, transparent); }
.hero-content { position: relative; z-index: 2; padding: 8rem 0; text-align: center; }
.hero-inner { max-width: 42rem; margin: 0 auto; }
.hero-eyebrow {
	display: inline-block;
	font-size: 0.875rem;
	letter-spacing: 0.3em;
	text-transform: uppercase;
	color: var(--color-accent);
	margin-bottom: 1.5rem;
}
.hero-title {
	font-family: var(--font-display);
	font-weight: 700;
	font-size: 3rem;
	line-height: 1.05;
	color: var(--color-background);
	margin-bottom: 1.5rem;
}
@media (min-width: 768px) { .hero-title { font-size: 3.75rem; } }
@media (min-width: 1024px) { .hero-title { font-size: 4.5rem; } }
.hero-subtitle {
	color: color-mix(in srgb, var(--color-background) 80%, transparent);
	font-size: 1.25rem;
	max-width: 36rem;
	margin: 0 auto 2.5rem;
	line-height: 1.6;
}
.hero-cta-row { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1rem; }
@media (min-width: 640px) { .hero-cta-row { flex-direction: row; } }
.btn-hero-primary, .btn-hero-outline {
	display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
	height: var(--btn-height); padding: 0 2rem;
	border-radius: var(--btn-radius);
	font-size: var(--btn-font-size); font-weight: 500;
	text-transform: none;
	transition: opacity 0.2s ease, transform 0.2s ease;
	border: none;
}
.btn-hero-primary { background-color: var(--color-accent); color: var(--color-accent-foreground); }
.btn-hero-primary:hover { background-color: color-mix(in srgb, var(--color-accent) 90%, transparent); }
.btn-hero-outline { background: transparent; border: 1px solid color-mix(in srgb, var(--color-background) 40%, transparent); color: var(--color-background); }
.btn-hero-outline:hover { background-color: color-mix(in srgb, var(--color-background) 10%, transparent); }

.hero-scroll-indicator { position: absolute; bottom: 2rem; left: 50%; transform: translateX(-50%); z-index: 2; }
.hero-scroll-dot {
	width: 24px; height: 40px;
	border: 2px solid color-mix(in srgb, var(--color-background) 40%, transparent);
	border-radius: 999px;
	display: flex; justify-content: center; padding-top: 8px;
	animation: heroScrollBounce 2s ease-in-out infinite;
}
.hero-scroll-dot::after {
	content: '';
	width: 4px; height: 8px;
	background-color: color-mix(in srgb, var(--color-background) 60%, transparent);
	border-radius: 999px;
}
@keyframes heroScrollBounce { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(8px); } }

/* --------------------------------------------------------------------
 * VALUE BAR
 * ------------------------------------------------------------------ */
.valuebar-section { background-color: var(--color-primary); color: var(--color-primary-foreground); overflow: hidden; }
.valuebar-inner {
	padding: 1.25rem 0;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 1rem;
	text-align: center;
	font-size: 1rem;
}
@media (min-width: 640px) {
	.valuebar-inner { flex-direction: row; gap: 0; }
}
.valuebar-item { display: inline-flex; align-items: center; gap: 0.5rem; }
.valuebar-item svg { width: 1.25rem; height: 1.25rem; flex-shrink: 0; }
.valuebar-dot { width: 6px; height: 6px; border-radius: 50%; background: currentColor; opacity: 0.6; }
.valuebar-sep { opacity: 0.4; margin: 0 1rem; display: none; }
@media (min-width: 640px) { .valuebar-sep { display: inline; } .valuebar-dot { display: none; } }

/* --------------------------------------------------------------------
 * SHARED SECTION HEADINGS
 * ------------------------------------------------------------------ */
.section-eyebrow {
	display: block;
	font-size: 0.875rem;
	letter-spacing: 0.2em;
	text-transform: uppercase;
	color: var(--color-muted-foreground);
}
.section-header-center { text-align: center; margin-bottom: 3rem; }
.section-heading {
	font-family: var(--font-display);
	font-weight: 700;
	font-size: 2.25rem;
	margin-top: 0.75rem;
}

/* scroll-mt-24 — anchor offset below fixed header */
.about-section,
.howitworks-section,
.shop-section,
.testimonials-section,
.faq-section,
.contact-section {
	scroll-margin-top: 6rem;
}
@media (min-width: 768px) { .section-heading { font-size: 3rem; } }

/* --------------------------------------------------------------------
 * ABOUT
 * ------------------------------------------------------------------ */
.about-section { padding: 5rem 0; }
.about-inner { max-width: 48rem; margin: 0 auto; text-align: center; }
.about-inner .section-heading { margin-bottom: 1.5rem; }
.about-paragraph { color: var(--color-muted-foreground); line-height: 1.7; margin-bottom: 1.5rem; font-size: 1.125rem; }
.about-quote { color: var(--color-muted-foreground); line-height: 1.7; font-size: 1.125rem; font-style: italic; }

/* --------------------------------------------------------------------
 * OFFERINGS
 * ------------------------------------------------------------------ */
.offerings-section { background-color: var(--color-secondary); padding: 5rem 0; }
.offerings-grid { display: grid; grid-template-columns: 1fr; gap: 1.5rem; }
@media (min-width: 768px) { .offerings-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.offering-card {
	background-color: var(--color-background);
	border: 1px solid var(--color-border);
	border-radius: var(--radius);
	padding: 2rem;
	display: flex; flex-direction: column; height: 100%;
	overflow: hidden;
	transition: transform 0.4s var(--ease-smooth), box-shadow 0.4s var(--ease-smooth);
}
.offering-card:hover { transform: translateY(-6px); box-shadow: 0 20px 40px -15px color-mix(in srgb, var(--color-primary) 18%, transparent); }
.offering-icon {
	width: 48px; height: 48px; border-radius: 50%;
	background-color: color-mix(in srgb, var(--color-accent) 15%, transparent);
	display: flex; align-items: center; justify-content: center;
	color: var(--color-accent);
	margin-bottom: 1rem;
}
.offering-title { font-size: 1.5rem; font-weight: 700; margin-bottom: 0.75rem; }
.offering-desc { font-size: 1rem; color: var(--color-muted-foreground); line-height: 1.7; }

/* --------------------------------------------------------------------
 * HOW IT WORKS — desktop stepper (lg+) + mobile timeline
 * ------------------------------------------------------------------ */
.howitworks-section { padding: 5rem 0; }
.howitworks-section .section-header-center { margin-bottom: 4rem; }

.howitworks-desktop { display: none; }
.howitworks-mobile { display: block; max-width: 28rem; margin: 0 auto; }
@media (min-width: 1024px) {
	.howitworks-desktop { display: block; }
	.howitworks-mobile { display: none; }
}

.howitworks-stepper {
	position: relative;
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	max-width: 64rem;
	margin: 0 auto;
}
.howitworks-stepper-track,
.howitworks-stepper-track-accent {
	position: absolute;
	top: 2.5rem;
	left: 10%;
	right: 10%;
	height: 2px;
}
.howitworks-stepper-track { background-color: var(--color-border); }
.howitworks-stepper-track-accent { background-color: var(--color-accent); transform-origin: left; }

.howitworks-step-desktop {
	position: relative;
	z-index: 1;
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
	width: 25%;
	padding: 0 1rem;
}
.howitworks-step-desktop .step-icon-circle { margin-bottom: 1rem; }
.howitworks-step-desktop .step-title { font-size: 1.25rem; font-weight: 700; margin-bottom: 0.5rem; }

.howitworks-mobile-timeline { position: relative; padding-left: 3rem; }
.howitworks-mobile-track,
.howitworks-mobile-track-accent {
	position: absolute;
	left: 19px;
	top: 0;
	bottom: 0;
	width: 2px;
}
.howitworks-mobile-track { background-color: var(--color-border); }
.howitworks-mobile-track-accent { background-color: var(--color-accent); transform-origin: top; }

.howitworks-step-mobile {
	position: relative;
	display: flex;
	align-items: flex-start;
	gap: 1.25rem;
	padding-bottom: 2.5rem;
}
.howitworks-step-mobile:last-child { padding-bottom: 0; }
.step-number-mobile {
	position: absolute;
	left: -3rem;
	width: 2.5rem;
	height: 2.5rem;
	border-radius: 50%;
	background-color: var(--color-accent);
	color: var(--color-accent-foreground);
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 0.875rem;
	font-weight: 700;
	z-index: 1;
	box-shadow: var(--shadow-soft);
}
.step-mobile-header {
	display: flex;
	align-items: center;
	gap: 0.75rem;
	margin-bottom: 0.25rem;
}
.step-mobile-header svg { color: var(--color-accent); flex-shrink: 0; }
.step-mobile-header .step-title { font-size: 1.25rem; font-weight: 700; margin: 0; }

.step-icon-circle {
	width: 80px; height: 80px; border-radius: 50%;
	background-color: var(--color-background);
	border: 2px solid color-mix(in srgb, var(--color-accent) 40%, transparent);
	display: flex; align-items: center; justify-content: center;
	color: var(--color-accent);
	box-shadow: var(--shadow-soft);
	margin-bottom: 0.5rem;
	flex-shrink: 0;
}
.step-number {
	display: inline-flex; align-items: center; justify-content: center;
	width: 28px; height: 28px; border-radius: 50%;
	background-color: var(--color-accent); color: var(--color-accent-foreground);
	font-size: 0.875rem; font-weight: 700;
	margin-bottom: 0.5rem;
}
.step-title { font-size: 1.25rem; font-weight: 700; margin-bottom: 0.25rem; }
.step-desc { font-size: 1rem; color: var(--color-muted-foreground); line-height: 1.7; }

/* --------------------------------------------------------------------
 * SHOP SECTION + PRODUCT CARD (shared with archive/related, Section 31.13)
 * ------------------------------------------------------------------ */
.shop-section, .shop-archive-main { padding: 5rem 0; }
.theme-shop-search-wrap { position: relative; max-width: 28rem; margin: 0 auto 1.5rem; }
.theme-shop-search-icon { position: absolute; left: 0.75rem; top: 50%; transform: translateY(-50%); color: var(--color-muted-foreground); display: flex; }
.theme-shop-search {
	width: 100%; height: 48px;
	border: 1px solid var(--color-input);
	background-color: var(--color-background);
	padding: 0 2.5rem;
	border-radius: var(--radius);
	font-size: 1rem;
	color: var(--color-foreground);
}
.shop-section .section-heading { margin-bottom: 2rem; }
.theme-shop-search:focus-visible {
	outline: none;
	box-shadow: 0 0 0 2px var(--color-ring);
	border-color: var(--color-input);
}
.theme-shop-clear { position: absolute; right: 0.75rem; top: 50%; transform: translateY(-50%); background: none; border: none; color: var(--color-muted-foreground); display: flex; }
.theme-shop-clear:hover { color: var(--color-foreground); }

.theme-cat-filters { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.5rem; }
.theme-cat-filter {
	padding: 0.75rem 1.5rem; font-size: 1rem;
	border-radius: 999px; border: none;
	background-color: var(--color-secondary); color: var(--color-secondary-foreground);
	transition: all 0.3s ease;
}
.theme-cat-filter:hover { background-color: var(--color-muted); transform: translateY(-2px); }
.theme-cat-filter.is-active { background-color: var(--color-primary); color: var(--color-primary-foreground); }

.theme-shop-grid, .theme-product-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
	gap: 1.5rem;
	align-items: stretch;
}
@media (min-width: 640px) { .theme-shop-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .theme-shop-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2rem; } }
.related-products-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 1024px) { .related-products-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

.theme-product-card-wrap { height: 100%; }
.theme-product-card { display: flex; flex-direction: column; height: 100%; }

.theme-product-card__image-wrapper {
	position: relative;
	aspect-ratio: 3 / 4;
	background-color: var(--color-secondary);
	overflow: hidden;
	border-radius: var(--radius);
	margin-bottom: 1rem;
}
.theme-product-card__image-link {
	display: block;
	position: absolute;
	inset: 0;
	z-index: 1;
}
.theme-product-card__image,
.theme-product-main-img,
.theme-product-thumb-img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
}
.theme-product-card__image {
	transition: transform 0.6s var(--ease-smooth);
}
.theme-product-card:hover .theme-product-card__image { transform: scale(1.08); }
.theme-product-card__image.is-sold-out { opacity: 0.6; }

.sold-out-badge {
	position: absolute; top: 0.75rem; left: 0.75rem;
	padding: 0.25rem 0.75rem;
	font-size: 0.75rem; font-weight: 500; text-transform: uppercase; letter-spacing: 0.05em;
	background-color: var(--color-foreground); color: var(--color-background);
	z-index: 2;
}
.new-badge {
	position: absolute; top: 0.75rem; right: 0.75rem;
	padding: 0.25rem 0.75rem;
	font-size: 0.75rem; font-weight: 500; text-transform: uppercase; letter-spacing: 0.05em;
	background-color: var(--color-primary); color: var(--color-primary-foreground);
	z-index: 2;
}

.theme-product-card__quick-add.add_to_cart_button.ajax_add_to_cart {
	position: absolute; bottom: 0.75rem; right: 0.75rem; z-index: 3;
	width: 32px !important; height: 32px !important; min-height: unset !important;
	padding: 0 !important;
	border-radius: 50% !important;
	display: inline-flex !important; align-items: center !important; justify-content: center !important;
	background-color: color-mix(in srgb, var(--color-background) 90%, transparent) !important;
	color: var(--color-foreground) !important;
	box-shadow: var(--shadow-soft);
	transition: transform 0.2s ease, background-color 0.2s ease, color 0.2s ease !important;
}
.theme-product-card__quick-add.add_to_cart_button.ajax_add_to_cart:hover {
	transform: scale(1.15);
	background-color: var(--color-primary) !important;
	color: var(--color-primary-foreground) !important;
}
.theme-product-card__quick-add.add_to_cart_button.ajax_add_to_cart.added {
	background-color: var(--color-primary) !important;
	color: var(--color-primary-foreground) !important;
}

.theme-product-card__info {
	flex: 1;
	display: flex;
	flex-direction: column;
	gap: 0.35rem;
	text-decoration: none;
	color: inherit;
	cursor: pointer;
}
.theme-product-card__info.add_to_cart_button.ajax_add_to_cart {
	background: none !important;
	border: none !important;
	padding: 0 !important;
	min-height: unset !important;
	height: auto !important;
	display: flex !important;
	flex-direction: column !important;
	align-items: flex-start !important;
	justify-content: flex-start !important;
	font-family: var(--font-body) !important;
	font-size: inherit !important;
	font-weight: inherit !important;
	letter-spacing: normal !important;
	text-transform: none !important;
	color: inherit !important;
	width: 100%;
	box-shadow: none !important;
}
.theme-product-card__info.add_to_cart_button.ajax_add_to_cart:hover,
.theme-product-card__info.add_to_cart_button.ajax_add_to_cart:focus {
	background: none !important;
	color: inherit !important;
	opacity: 1 !important;
}
.theme-product-card__info--view:hover .theme-product-card__title { opacity: 0.7; }
.theme-product-card__info.add_to_cart_button.ajax_add_to_cart:hover .theme-product-card__title,
.theme-product-card__info.add_to_cart_button.ajax_add_to_cart:focus .theme-product-card__title {
	opacity: 0.7;
}
.theme-product-card__cat { font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--color-muted-foreground); min-width: 0; }
.theme-product-card__title {
	font-family: var(--font-body); font-weight: 700; font-size: 1.125rem;
	transition: opacity 0.2s ease;
	overflow: hidden; text-overflow: ellipsis;
}
.theme-product-card:hover .theme-product-card__title { opacity: 0.7; }
.theme-product-card__desc {
	font-size: 1rem; color: var(--color-muted-foreground);
	display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.theme-product-card__price { font-size: 1.125rem; font-weight: 500; color: var(--color-foreground); }
.theme-product-card__price .woocommerce-Price-amount { font-weight: 500; }

.theme-shop-empty { text-align: center; padding: 4rem 0; }
.theme-shop-empty p { color: var(--color-muted-foreground); margin-bottom: 1rem; }

/* --------------------------------------------------------------------
 * TESTIMONIALS
 * ------------------------------------------------------------------ */
.testimonials-section { padding: 5rem 0; }
.testimonials-grid { display: grid; grid-template-columns: 1fr; gap: 1.5rem; }
@media (min-width: 768px) { .testimonials-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .testimonials-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.testimonial-card--md-up { display: none; }
@media (min-width: 768px) { .testimonial-card--md-up { display: flex; } }
.testimonial-card--lg-only { display: none; }
@media (min-width: 1024px) { .testimonial-card--lg-only { display: flex; } }
.testimonial-card {
	background-color: var(--color-secondary);
	padding: 1.5rem; border: 1px solid var(--color-border);
	border-radius: var(--radius);
	display: flex; flex-direction: column; height: 100%;
	transition: transform 0.3s var(--ease-smooth), box-shadow 0.3s var(--ease-smooth);
}
.testimonial-card:hover { transform: translateY(-4px); box-shadow: 0 12px 30px -10px color-mix(in srgb, var(--color-foreground) 10%, transparent); }
.testimonial-stars { display: flex; gap: 0.125rem; margin-bottom: 0.75rem; color: var(--color-accent); }
.testimonial-text { color: var(--color-muted-foreground); line-height: 1.7; margin-bottom: 1rem; flex: 1; }
.testimonial-footer { border-top: 1px solid var(--color-border); padding-top: 0.75rem; }
.testimonial-name { font-weight: 500; margin: 0; }

/* --------------------------------------------------------------------
 * FAQ
 * ------------------------------------------------------------------ */
.faq-section { padding: 5rem 0; }
.faq-inner { max-width: 48rem; margin: 0 auto; }
.faq-categories { display: flex; flex-direction: column; gap: 2.5rem; }
.faq-category-title { font-size: 1.5rem; font-weight: 700; margin-bottom: 1rem; padding-bottom: 0.5rem; border-bottom: 1px solid var(--color-border); }
.faq-items { display: flex; flex-direction: column; gap: 0.75rem; }
.theme-faq-item { border: 1px solid var(--color-border); border-radius: var(--radius); overflow: hidden; transition: border-color 0.2s ease; }
.theme-faq-item:hover { border-color: color-mix(in srgb, var(--color-primary) 30%, transparent); }
.theme-faq-question {
	width: 100%; display: flex; align-items: center; justify-content: space-between;
	padding: 1.25rem; text-align: left; background: none; border: none;
	font-size: 1rem; font-weight: 500; color: var(--color-foreground);
	transition: background-color 0.2s ease;
}
.theme-faq-question:hover { background-color: color-mix(in srgb, var(--color-secondary) 50%, transparent); }
.theme-faq-item.is-open .theme-faq-question { color: var(--color-primary); }
.theme-faq-chevron { display: flex; color: var(--color-muted-foreground); transition: transform 0.3s var(--ease-smooth), color 0.3s ease; flex-shrink: 0; }
.theme-faq-item.is-open .theme-faq-chevron { transform: rotate(180deg); color: var(--color-primary); }
.theme-faq-answer { height: 0; overflow: hidden; transition: height 0.35s var(--ease-smooth); }
.theme-faq-answer-inner { padding: 0 1.25rem 1.25rem; }
.theme-faq-answer-inner p { color: var(--color-muted-foreground); line-height: 1.7; margin: 0; }

/* --------------------------------------------------------------------
 * CONTACT
 * ------------------------------------------------------------------ */
.contact-section { background-color: var(--color-primary); color: var(--color-background); padding: 5rem 0; }
.contact-section .section-eyebrow { color: color-mix(in srgb, var(--color-background) 60%, transparent); margin-bottom: 1rem; }
.contact-title { margin-bottom: 1rem; color: var(--color-background); }
.contact-grid { display: grid; grid-template-columns: 1fr; gap: 3rem; align-items: center; }
@media (min-width: 1024px) { .contact-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 4rem; } }
.contact-subtitle { color: color-mix(in srgb, var(--color-background) 70%, transparent); margin-bottom: 2rem; font-size: 1.125rem; line-height: 1.7; }
.contact-details { display: flex; flex-direction: column; gap: 1rem; }
.contact-detail-row { display: flex; align-items: flex-start; gap: 0.75rem; color: color-mix(in srgb, var(--color-background) 80%, transparent); }
.contact-detail-row svg { color: var(--color-accent); flex-shrink: 0; margin-top: 2px; }
.contact-detail-row a:hover { color: var(--color-background); }

.theme-contact-success { text-align: center; display: flex; flex-direction: column; align-items: center; justify-content: center; height: 100%; }
.contact-success-icon {
	width: 64px; height: 64px; border-radius: 50%;
	background-color: var(--color-accent); color: var(--color-accent-foreground);
	display: flex; align-items: center; justify-content: center; margin: 0 auto 1.5rem;
}
.theme-contact-success h3 { font-size: 1.5rem; font-weight: 600; margin-bottom: 0.5rem; }
.theme-contact-success p { color: color-mix(in srgb, var(--color-background) 70%, transparent); }

.theme-contact-form { display: flex; flex-direction: column; gap: 1rem; }
.form-field label { display: block; font-size: 1rem; font-weight: 500; margin-bottom: 0.5rem; color: color-mix(in srgb, var(--color-background) 80%, transparent); }
.form-field input, .form-field textarea {
	width: 100%; padding: 0.75rem 1rem;
	background-color: color-mix(in srgb, var(--color-background) 10%, transparent);
	border: 1px solid color-mix(in srgb, var(--color-background) 20%, transparent);
	border-radius: var(--radius);
	color: var(--color-background);
	font-size: 1rem;
	transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.form-field textarea { resize: none; }
.form-field input::placeholder, .form-field textarea::placeholder { color: color-mix(in srgb, var(--color-background) 40%, transparent); }
.form-field input:focus, .form-field textarea:focus { outline: none; border-color: var(--color-accent); box-shadow: 0 0 0 1px var(--color-accent); }
.contact-submit-btn { width: 100%; margin-top: 0.5rem; }

/* --------------------------------------------------------------------
 * FOOTER — src/components/layout/Footer.tsx
 * ------------------------------------------------------------------ */
.site-footer {
	border-top: 1px solid var(--color-border);
	background-color: var(--color-secondary);
}
.site-footer p { margin: 0; }

/* Lovable: container-wide py-12 lg:py-16 */
.footer-shell {
	padding-top: 3rem;
	padding-bottom: 3rem;
}
@media (min-width: 1024px) {
	.footer-shell {
		padding-top: 4rem;
		padding-bottom: 4rem;
	}
}

.footer-grid {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: 2rem;
}
@media (min-width: 768px) {
	.footer-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (min-width: 1024px) {
	.footer-grid { gap: 3rem; }
}

.footer-col { min-width: 0; }
.footer-col-brand { grid-column: span 1; }
@media (min-width: 768px) { .footer-col-brand { grid-column: span 2; } }

.footer-brand {
	display: flex;
	align-items: center;
	min-height: 2.1rem;
}
.site-logo-img--footer {
	height: 2.1rem !important;
	width: auto !important;
	object-fit: contain;
	filter: none !important;
}
.footer-brand .site-logo-text,
.footer-brand .site-logo-cross {
	font-size: 1.125rem;
	line-height: 2.1rem;
}
.footer-brand .site-logo-text { color: var(--color-foreground); }
.footer-brand .site-logo-cross { color: var(--color-accent); }

.footer-tagline {
	margin-top: 1rem;
	font-size: 1rem;
	color: var(--color-muted-foreground);
	max-width: 24rem;
	line-height: 1.625;
}

.footer-newsletter-form {
	margin-top: 1.5rem;
	display: flex;
	align-items: stretch;
	gap: 0.5rem;
	max-width: 24rem;
}
.footer-newsletter-input {
	flex: 1;
	min-width: 0;
	height: 2.5rem;
	padding: 0 0.75rem;
	border: 1px solid var(--color-input);
	border-radius: var(--btn-radius);
	background-color: var(--color-background);
	color: var(--color-foreground);
	font-size: 1rem;
}
@media (min-width: 768px) {
	.footer-newsletter-input { font-size: 0.875rem; }
}
.footer-newsletter-input::placeholder { color: var(--color-muted-foreground); }
.footer-newsletter-input:focus-visible {
	outline: none;
	box-shadow: 0 0 0 2px var(--color-background), 0 0 0 4px var(--color-ring);
	border-color: var(--color-input);
}
.footer-newsletter-btn {
	flex-shrink: 0;
	width: 2.5rem;
	height: 2.5rem;
	border-radius: var(--btn-radius);
	border: none;
	background-color: var(--color-primary);
	color: var(--color-primary-foreground);
	display: flex;
	align-items: center;
	justify-content: center;
	transition: opacity 0.2s ease, background-color 0.2s ease;
}
.footer-newsletter-btn:hover { background-color: color-mix(in srgb, var(--color-primary) 90%, transparent); }
.footer-newsletter-note {
	font-size: 0.75rem;
	color: var(--color-muted-foreground);
	margin-top: 0.5rem;
}

.footer-col h4 {
	margin: 0 0 1rem;
	font-size: 1.125rem;
	font-weight: 600;
	color: var(--color-foreground);
}

.footer-nav-list,
.footer-contact-list {
	list-style: none;
	margin: 0;
	padding: 0;
}

.footer-nav-list {
	display: flex;
	flex-direction: column;
	gap: 0.75rem;
}
.footer-nav-list a {
	font-size: 1rem;
	color: var(--color-muted-foreground);
	transition: color 0.2s ease;
}
.footer-nav-list a:hover { color: var(--color-foreground); }

.footer-contact-list {
	display: flex;
	flex-direction: column;
	gap: 0.75rem;
}
.footer-contact-list li {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	font-size: 1rem;
	color: var(--color-muted-foreground);
}
.footer-contact-list a {
	color: inherit;
	transition: color 0.2s ease;
}
.footer-contact-list a:hover { color: var(--color-foreground); }
.footer-contact-list svg { flex-shrink: 0; }
.footer-address { align-items: flex-start; }
.footer-address svg { margin-top: 0.25rem; }

.footer-bottom {
	margin-top: 3rem;
	padding-top: 2rem;
	border-top: 1px solid var(--color-border);
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: space-between;
	gap: 0.75rem;
	width: 100%;
	font-size: 0.875rem;
	color: var(--color-muted-foreground);
	text-align: center;
}
@media (min-width: 640px) {
	.footer-bottom {
		flex-direction: row;
		text-align: left;
	}
}

/* --------------------------------------------------------------------
 * CART DRAWER / OVERLAY (Section 12)
 * ------------------------------------------------------------------ */
#theme-cart-overlay {
	position: fixed; inset: 0; z-index: 90;
	background-color: color-mix(in srgb, var(--color-foreground) 20%, transparent);
	opacity: 0; visibility: hidden;
	transition: opacity 0.3s ease, visibility 0.3s ease;
}
body.cart-open #theme-cart-overlay { opacity: 1; visibility: visible; }

#theme-cart-drawer {
	position: fixed; top: 0; right: 0; height: 100%;
	width: 100%; max-width: 420px;
	background-color: var(--color-background);
	z-index: 100;
	box-shadow: var(--shadow-elevated);
	display: flex; flex-direction: column;
	transform: translateX(100%);
	transition: transform 0.4s var(--ease-smooth);
}
body.cart-open #theme-cart-drawer { transform: translateX(0); }
#theme-cart-drawer.is-updating { opacity: 0.6; pointer-events: none; }

.theme-cart-drawer-header { display: flex; align-items: center; justify-content: space-between; padding: 1.5rem; border-bottom: 1px solid var(--color-border); }
.theme-cart-drawer-title-row { display: flex; align-items: center; gap: 0.75rem; }
.theme-cart-drawer-title-row h2 { font-size: 1.125rem; font-weight: 500; }
.theme-cart-empty-link { background: none; border: none; font-size: 0.75rem; color: var(--color-muted-foreground); }
.theme-cart-empty-link:hover { color: var(--color-destructive); }
.theme-cart-close { background: none; border: none; padding: 0.25rem; display: flex; }
.theme-cart-close:hover { opacity: 0.6; }

.theme-cart-empty-state { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 1.5rem; text-align: center; gap: 1rem; }
.theme-cart-empty-state svg { color: var(--color-muted-foreground); }
.theme-cart-empty-state p { color: var(--color-muted-foreground); margin: 0; }

.theme-cart-items { flex: 1; overflow-y: auto; padding: 1.5rem; display: flex; flex-direction: column; gap: 1.5rem; }
.theme-cart-item { display: flex; gap: 1rem; }
.theme-cart-item-image { width: 80px; height: 96px; background-color: var(--color-secondary); border-radius: 4px; overflow: hidden; flex-shrink: 0; }
.theme-cart-item-image img { width: 100%; height: 100%; object-fit: cover; }
.theme-cart-item-body { flex: 1; min-width: 0; }
.theme-cart-item-name { display: block; font-size: 0.875rem; font-weight: 500; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.theme-cart-item-name:hover { opacity: 0.7; }
.theme-cart-item-price { font-size: 0.875rem; color: var(--color-muted-foreground); margin: 0.125rem 0 0; }
.theme-cart-item-variation { font-size: 0.75rem; color: var(--color-muted-foreground); margin-top: 0.25rem; }
.theme-cart-item-controls { display: flex; align-items: center; gap: 0.5rem; margin-top: 0.75rem; }
.theme-cart-qty-btn { background: none; border: none; padding: 0.25rem; display: flex; border-radius: 4px; }
.theme-cart-qty-btn:hover { background-color: var(--color-secondary); }
.theme-cart-qty-value { font-size: 0.875rem; width: 24px; text-align: center; }
.theme-cart-remove-btn { margin-left: auto; background: none; border: none; font-size: 0.75rem; color: var(--color-muted-foreground); }
.theme-cart-remove-btn: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-subtotal-row { display: flex; justify-content: space-between; font-size: 0.875rem; }
.theme-cart-subtotal-row span:last-child { font-weight: 500; }
.theme-cart-shipping-note { font-size: 0.75rem; color: var(--color-muted-foreground); margin: 0; }
.theme-cart-checkout-btn { width: 100%; }

.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 OVERRIDE (Section 11.4.1)
 * ------------------------------------------------------------------ */
.single_add_to_cart_button.button,
.add_to_cart_button.button,
a.single_add_to_cart_button,
a.add_to_cart_button {
	background-color: var(--color-primary) !important;
	color: var(--color-button-text) !important;
	border: none !important;
	border-radius: var(--btn-radius) !important;
	min-height: var(--btn-height) !important;
	padding: var(--btn-padding) !important;
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;
	font-family: var(--font-body) !important;
	font-size: var(--btn-font-size) !important;
	font-weight: var(--btn-font-weight) !important;
	letter-spacing: var(--btn-letter-spacing) !important;
	text-transform: var(--btn-text-transform) !important;
	cursor: pointer !important;
	transition: opacity 0.2s ease !important;
}
.single_add_to_cart_button.button:hover,
.add_to_cart_button.button:hover {
	opacity: 0.85 !important;
	background-color: var(--color-primary) !important;
	color: var(--color-button-text) !important;
}
.single_add_to_cart_button.button:disabled,
.single_add_to_cart_button.button.disabled,
.add_to_cart_button.button:disabled,
.add_to_cart_button.button.disabled {
	cursor: not-allowed !important;
	opacity: 0.4 !important;
	pointer-events: none !important;
}
.single_add_to_cart_button.button:disabled:hover,
.single_add_to_cart_button.button.disabled:hover,
.add_to_cart_button.button:disabled:hover,
.add_to_cart_button.button.disabled:hover {
	opacity: 0.4 !important;
	background-color: var(--color-primary) !important;
}
.theme-product-card .add_to_cart_button.ajax_add_to_cart.theme-btn-loading,
.ajax_add_to_cart.theme-btn-loading { opacity: 0.6 !important; pointer-events: none !important; cursor: wait !important; }
.single-product .single_add_to_cart_button.loading::after,
.ajax_add_to_cart.loading::after { display: none !important; }

/* --------------------------------------------------------------------
 * WOOCOMMERCE NOTICES (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 {
	max-width: 80rem; margin: 1rem auto; padding: 1rem 1.5rem;
	border-radius: var(--radius); font-size: 0.9rem;
	background-color: var(--color-secondary); border-left: 3px solid var(--color-primary);
	list-style: none;
}
.woocommerce-error { border-left-color: var(--color-destructive); }

/* --------------------------------------------------------------------
 * SINGLE PRODUCT PAGE
 * ------------------------------------------------------------------ */
.single-product-main { padding: 6rem 0 5rem; }
@media (min-width: 1024px) { .single-product-main { padding-top: 8rem; } }
body.admin-bar .single-product-main { padding-top: calc(6rem + 32px); }
@media (min-width: 1024px) {
	body.admin-bar .single-product-main { padding-top: calc(8rem + 32px); }
}
@media screen and (max-width: 782px) {
	body.admin-bar .single-product-main { padding-top: calc(6rem + 46px); }
}
.back-to-shop-row { padding: 1.5rem 0; }
.back-to-shop-link { display: inline-flex; align-items: center; gap: 0.5rem; font-size: 0.875rem; color: var(--color-muted-foreground); }
.back-to-shop-link:hover { color: var(--color-foreground); }

.theme-product-layout {
	display: grid; grid-template-columns: 1fr; gap: 2.5rem;
	padding-bottom: 5rem;
	min-width: 0;
}
@media (min-width: 1024px) { .theme-product-layout { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 4rem; } }
.theme-product-gallery, .theme-product-info { min-width: 0; max-width: 100%; }
.theme-product-main-image-wrap {
	position: relative;
	width: 100%;
	aspect-ratio: 3 / 4;
	background-color: var(--color-secondary);
	border-radius: var(--radius);
	overflow: hidden;
	margin-bottom: 1rem;
}
.theme-product-main-image-wrap .theme-product-main-img,
.single-product #product-main-img {
	position: absolute !important;
	inset: 0 !important;
	width: 100% !important;
	height: 100% !important;
	max-width: none !important;
	object-fit: cover !important;
	object-position: center !important;
	background-color: var(--color-secondary);
}
.theme-product-main-image-trigger { cursor: pointer; }

.theme-product-lightbox {
	position: fixed;
	inset: 0;
	z-index: 110;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 1rem;
	opacity: 0;
	visibility: hidden;
	transition: opacity 0.3s ease, visibility 0.3s ease;
}
.theme-product-lightbox.is-open {
	opacity: 1;
	visibility: visible;
}
body.lightbox-open { overflow: hidden; }

.theme-product-lightbox__overlay {
	position: absolute;
	inset: 0;
	background-color: color-mix(in srgb, var(--color-foreground) 60%, transparent);
}

.theme-product-lightbox__panel {
	position: relative;
	z-index: 1;
	width: 100%;
	max-width: 56rem;
	max-height: calc(100vh - 2rem);
	padding: 0.5rem;
	background-color: var(--color-background);
	border-radius: var(--radius);
	box-shadow: var(--shadow-elevated);
	overflow: auto;
}

.theme-product-lightbox__img {
	display: block;
	width: 100%;
	height: auto;
	object-fit: contain;
	border-radius: calc(var(--radius) - 2px);
}

.theme-product-lightbox__close {
	position: absolute;
	top: 0.75rem;
	right: 0.75rem;
	z-index: 2;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 2.5rem;
	height: 2.5rem;
	padding: 0;
	border: none;
	border-radius: 9999px;
	background-color: var(--color-background);
	color: var(--color-foreground);
	box-shadow: var(--shadow-elevated);
	cursor: pointer;
	transition: opacity 0.2s ease;
}
.theme-product-lightbox__close:hover { opacity: 0.7; }

.theme-product-thumbnails { display: flex; gap: 0.75rem; flex-wrap: wrap; max-width: 100%; }
.theme-product-thumb {
	position: relative;
	width: 80px; height: 80px; border-radius: 4px; overflow: hidden;
	border: 2px solid transparent; opacity: 0.6; background: none; padding: 0;
	transition: opacity 0.2s ease, border-color 0.2s ease;
}
.theme-product-thumb.is-active, .theme-product-thumb:hover { opacity: 1; border-color: var(--color-foreground); }

.theme-product-info { padding: 1.5rem 0; }
.theme-product-cat { font-size: 0.75rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--color-muted-foreground); overflow-wrap: break-word; word-break: break-word; }
.product-title { font-family: var(--font-display); font-weight: 700; font-size: 1.75rem; margin-top: 0.5rem; margin-bottom: 1rem; }
@media (min-width: 768px) { .product-title { font-size: 2rem; } }
.theme-product-price { font-size: 1.375rem; margin-bottom: 1.5rem; }
.theme-product-stock.is-out-of-stock { color: var(--color-destructive); font-size: 0.875rem; margin-bottom: 1rem; }
.theme-product-description { color: var(--color-muted-foreground); line-height: 1.7; margin-bottom: 2rem; overflow-wrap: break-word; word-break: break-word; }

.theme-add-to-cart-area {
	display: flex; align-items: stretch; flex-wrap: wrap; gap: 0.75rem;
	margin-bottom: 1rem;
}
.theme-add-to-cart-area--variable {
	display: block;
}
.theme-add-to-cart-area--variable .theme-variable-product-form,
.theme-add-to-cart-area--variable .variations_form {
	width: 100%;
}
.theme-variations {
	display: flex;
	flex-direction: column;
	gap: 1.25rem;
	margin-bottom: 1.5rem;
}
.theme-variation-row {
	display: flex;
	flex-direction: column;
	gap: 0.5rem;
}
.theme-variation-label {
	font-size: 0.875rem;
	font-weight: 500;
	color: var(--color-foreground);
}
.theme-variation-value { min-width: 0; }
.theme-variation-swatches { width: 100%; }
.theme-swatch-group {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
}
.theme-swatch {
	border: 1px solid var(--color-border);
	background: var(--color-background);
	color: var(--color-foreground);
	cursor: pointer;
	transition: border-color 0.2s ease, box-shadow 0.2s ease, opacity 0.2s ease;
}
.theme-swatch:focus-visible {
	outline: 2px solid var(--color-ring);
	outline-offset: 2px;
}
.theme-swatch--color {
	width: 2.25rem;
	height: 2.25rem;
	border-radius: 9999px;
	padding: 0;
	background-color: var(--swatch-color, var(--color-muted));
	box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--color-foreground) 12%, transparent);
}
.theme-swatch--label {
	min-width: 2.75rem;
	height: 2.75rem;
	padding: 0 0.75rem;
	border-radius: var(--btn-radius);
	font-size: 0.875rem;
	font-weight: 500;
	display: inline-flex;
	align-items: center;
	justify-content: center;
}
.theme-swatch.is-selected,
.theme-swatch--color.is-selected {
	border-color: var(--color-foreground);
	box-shadow: 0 0 0 2px var(--color-background), 0 0 0 3px var(--color-foreground);
}
.theme-swatch--label.is-selected {
	background: var(--color-secondary);
}
.theme-add-to-cart-area--variable .reset_variations {
	display: inline-block;
	margin-bottom: 1rem;
	font-size: 0.75rem;
	color: var(--color-muted-foreground);
	text-decoration: underline;
}
.theme-add-to-cart-area--variable .reset_variations:hover {
	color: var(--color-foreground);
}
.theme-add-to-cart-area--variable .single_variation_wrap {
	margin-top: 0.5rem;
}
.theme-add-to-cart-area--variable .woocommerce-variation-price {
	font-size: 1.125rem;
	margin-bottom: 1rem;
}
.theme-add-to-cart-area--variable .woocommerce-variation-availability {
	font-size: 0.875rem;
	margin-bottom: 1rem;
}
.theme-add-to-cart-area--variable .theme-variable-add-to-cart,
.theme-add-to-cart-area--variable .woocommerce-variation-add-to-cart {
	display: flex;
	align-items: stretch;
	flex-wrap: wrap;
	gap: 0.75rem;
}
.theme-add-to-cart-area--variable .theme-variable-add-to-cart .single_add_to_cart_button {
	flex: 1 1 auto;
	min-width: 160px;
}
.theme-add-to-cart-area--variable .woocommerce-variation-add-to-cart .quantity {
	display: flex;
	align-items: center;
	border: 1px solid var(--color-border);
	border-radius: var(--btn-radius);
	overflow: hidden;
}
.theme-add-to-cart-area--variable .woocommerce-variation-add-to-cart .quantity .qty {
	width: 48px;
	text-align: center;
	border: none;
	background: transparent;
	font-size: 1rem;
	-moz-appearance: textfield;
}
.theme-add-to-cart-area--variable .woocommerce-variation-add-to-cart .quantity .qty::-webkit-outer-spin-button,
.theme-add-to-cart-area--variable .woocommerce-variation-add-to-cart .quantity .qty::-webkit-inner-spin-button {
	-webkit-appearance: none;
	margin: 0;
}
.theme-quantity-wrapper {
	display: flex; align-items: center;
	border: 1px solid var(--color-border); border-radius: var(--btn-radius);
	overflow: hidden;
}
.theme-qty-minus, .theme-qty-plus {
	background: none; border: none; padding: 0.75rem;
	display: flex; align-items: center; justify-content: center;
	transition: background-color 0.2s ease;
}
.theme-qty-minus:hover, .theme-qty-plus:hover { background-color: var(--color-secondary); }
.theme-qty-input {
	width: 48px; text-align: center; border: none; -moz-appearance: textfield;
	background: transparent; font-size: 1rem;
}
.theme-qty-input::-webkit-outer-spin-button, .theme-qty-input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.single-product .single_add_to_cart_button { flex: 1 1 auto; min-width: 160px; }

.theme-digital-delivery-note { font-size: 0.75rem; color: var(--color-muted-foreground); text-align: center; margin-bottom: 1rem; }
.theme-product-details { border-top: 1px solid var(--color-border); padding-top: 2rem; }
.theme-details-heading { font-size: 0.875rem; font-weight: 500; margin-bottom: 1rem; }
.theme-details-body { font-size: 0.875rem; color: var(--color-muted-foreground); line-height: 1.7; }
.single-product .woocommerce-product-details__short-description,
.single-product .posted_in { overflow-wrap: break-word; word-break: break-word; }

.related-products-section { padding: 5rem 0; border-top: 1px solid var(--color-border); }
.related-products-title { font-family: var(--font-display); font-size: 1.5rem; font-weight: 700; margin-bottom: 2.5rem; }
@media (min-width: 768px) { .related-products-title { font-size: 1.75rem; } }

/* --------------------------------------------------------------------
 * SHOP ARCHIVE PAGE
 * ------------------------------------------------------------------ */
.shop-archive-main { padding-top: 6rem; }
@media (min-width: 1024px) { .shop-archive-main { padding-top: 8rem; } }
body.admin-bar .shop-archive-main { padding-top: calc(6rem + 32px); }
@media (min-width: 1024px) {
	body.admin-bar .shop-archive-main { padding-top: calc(8rem + 32px); }
}
.shop-archive-header { text-align: center; margin-bottom: 3rem; }
.shop-heading { font-size: 2.25rem; }
@media (min-width: 768px) { .shop-heading { font-size: 3rem; } }
.woocommerce-pagination { display: flex; justify-content: center; margin-top: 3rem; }
.woocommerce-pagination ul { display: flex; gap: 0.5rem; list-style: none; padding: 0; }
.woocommerce-pagination a, .woocommerce-pagination span {
	display: flex; align-items: center; justify-content: center;
	width: 36px; height: 36px; border-radius: 4px; border: 1px solid var(--color-border);
}
.woocommerce-pagination .current { background-color: var(--color-primary); color: var(--color-primary-foreground); border-color: var(--color-primary); }

/* --------------------------------------------------------------------
 * WOOCOMMERCE CHECKOUT BLOCK OVERRIDES (Section 13)
 * ------------------------------------------------------------------ */
body.woocommerce-checkout .site-main { padding-top: var(--header-height); padding-bottom: 4rem; }
body.admin-bar.woocommerce-checkout .site-main { padding-top: calc(var(--header-height) + 32px); }
body.woocommerce-checkout .page-title { max-width: 80rem; margin: 2rem auto 1.5rem; padding: 0 1.5rem; font-size: 2rem; }
body.woocommerce-checkout .entry-content { max-width: 80rem; margin: 0 auto; padding: 0 1.5rem; }

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 {
		display: grid;
		grid-template-columns: 1fr 1fr;
		gap: var(--checkout-gap, 2rem);
		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;
	border: 1px solid var(--color-border);
	border-radius: var(--btn-radius);
	background-color: var(--color-background);
	font-family: var(--font-body);
	color: var(--color-foreground);
}
body.woocommerce-checkout .wc-block-components-text-input input:focus,
body.woocommerce-checkout .wc-block-components-select select:focus { border-color: var(--color-primary); }
body.woocommerce-checkout .wc-block-components-text-input input { padding: revert; }
body.woocommerce-checkout .wc-block-checkout__sidebar {
	background-color: var(--color-secondary);
	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;
	color: var(--color-primary-foreground) !important;
	border-radius: var(--btn-radius) !important;
	font-family: var(--font-body) !important;
}
body.woocommerce-checkout .wc-block-components-notice-banner { border-radius: var(--radius); grid-column: 1 / -1; }

/* --------------------------------------------------------------------
 * THANK YOU PAGE (Section 22.8)
 * ------------------------------------------------------------------ */
body.theme-thankyou-page { overflow-x: hidden; }
body.theme-thankyou-page .site-main { padding-top: var(--header-height); padding-bottom: 4rem; }
body.admin-bar.theme-thankyou-page .site-main { padding-top: calc(var(--header-height) + 32px); }
.theme-thankyou-content { max-width: 900px; margin: 0 auto; padding: 2rem 1.5rem; }
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-details table { width: 100%; table-layout: fixed; border-collapse: collapse; margin-bottom: 1.5rem; }
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-order-overview { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 1.5rem; margin-bottom: 2rem; }
body.theme-thankyou-page .woocommerce-customer-details { display: flex; flex-direction: column; gap: 1.5rem; }
body.theme-thankyou-page .woocommerce-customer-details address { max-width: 480px; overflow-wrap: break-word; border: 1px solid var(--color-border); padding: 1rem; border-radius: var(--radius); }

/* --------------------------------------------------------------------
 * 404
 * ------------------------------------------------------------------ */
.theme-404-main { min-height: 100vh; display: flex; align-items: center; justify-content: center; background-color: var(--color-muted); }
.theme-404-content { text-align: center; }
.theme-404-code { font-size: 3rem; font-weight: 700; margin-bottom: 1rem; }
.theme-404-message { font-size: 1.25rem; color: var(--color-muted-foreground); margin-bottom: 1rem; }
.theme-404-link { color: var(--color-primary); text-decoration: underline; }
.theme-404-link:hover { color: color-mix(in srgb, var(--color-primary) 90%, transparent); }

/* --------------------------------------------------------------------
 * BLOG — src/pages/Blog.tsx, BlogPost.tsx
 * ------------------------------------------------------------------ */
/* Lovable Blog.tsx: main pt-24 lg:pt-32 pb-20 (header is fixed — no body padding-top) */
.blog-main {
	padding-top: 6rem;
	padding-bottom: 5rem;
}
@media (min-width: 1024px) {
	.blog-main { padding-top: 8rem; }
}
body.admin-bar .blog-main { padding-top: calc(6rem + 32px); }
@media (min-width: 1024px) {
	body.admin-bar .blog-main { padding-top: calc(8rem + 32px); }
}
@media screen and (max-width: 782px) {
	body.admin-bar .blog-main { padding-top: calc(6rem + 46px); }
}

.blog-archive-header {
	text-align: center;
	max-width: 42rem;
	margin: 0 auto 3rem;
}
.blog-archive-eyebrow {
	display: block;
	font-size: 0.875rem;
	letter-spacing: 0.2em;
	text-transform: uppercase;
	color: var(--color-muted-foreground);
}
.blog-archive-title {
	font-family: var(--font-display);
	font-weight: 600;
	font-size: 2.25rem;
	margin: 0.75rem 0 0;
	line-height: 1.15;
}
@media (min-width: 768px) {
	.blog-archive-title { font-size: 3rem; }
}

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

.blog-card { min-width: 0; }
.blog-card__link {
	display: block;
	color: inherit;
}
.blog-card__image-wrap {
	aspect-ratio: 3 / 2;
	background-color: var(--color-secondary);
	border-radius: var(--radius);
	overflow: hidden;
	margin-bottom: 1rem;
}
.blog-card__image {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.5s var(--ease-smooth);
}
.blog-card__link:hover .blog-card__image { transform: scale(1.05); }
.blog-card__date {
	font-size: 0.75rem;
	text-transform: uppercase;
	letter-spacing: 0.1em;
	color: var(--color-muted-foreground);
	margin: 0 0 0.5rem;
}
.blog-card__title {
	font-family: var(--font-display);
	font-size: 1.25rem;
	font-weight: 600;
	margin: 0 0 0.5rem;
	transition: opacity 0.2s ease;
}
.blog-card__link:hover .blog-card__title { opacity: 0.7; }
.blog-card__excerpt {
	font-size: 0.875rem;
	color: var(--color-muted-foreground);
	margin: 0;
	display: -webkit-box;
	-webkit-line-clamp: 3;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.blog-empty-message {
	text-align: center;
	color: var(--color-muted-foreground);
	margin: 0;
}

.blog-pagination {
	margin-top: 3rem;
	display: flex;
	justify-content: center;
}
.blog-pagination ul {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
	list-style: none;
	margin: 0;
	padding: 0;
}
.blog-pagination a,
.blog-pagination span {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 2.25rem;
	height: 2.25rem;
	padding: 0 0.5rem;
	border: 1px solid var(--color-border);
	border-radius: 4px;
	color: var(--color-foreground);
}
.blog-pagination .current {
	background-color: var(--color-primary);
	border-color: var(--color-primary);
	color: var(--color-primary-foreground);
}

.blog-main--single .blog-single {
	max-width: 48rem;
}
.blog-back-link {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	font-size: 0.875rem;
	color: var(--color-muted-foreground);
	margin-bottom: 1.5rem;
	transition: color 0.2s ease;
}
.blog-back-link:hover { color: var(--color-foreground); }
.blog-single__image-wrap {
	aspect-ratio: 3 / 2;
	border-radius: var(--radius);
	overflow: hidden;
	margin-bottom: 2rem;
}
.blog-single__image {
	width: 100%;
	height: 100%;
	object-fit: cover;
}
.blog-single__meta {
	font-size: 0.75rem;
	text-transform: uppercase;
	letter-spacing: 0.1em;
	color: var(--color-muted-foreground);
	margin: 0 0 0.75rem;
}
.blog-single__title {
	font-family: var(--font-display);
	font-size: 1.875rem;
	font-weight: 600;
	margin: 0 0 1.5rem;
	line-height: 1.2;
}
@media (min-width: 768px) {
	.blog-single__title { font-size: 2.25rem; }
}
.blog-single__excerpt {
	font-size: 1.125rem;
	color: var(--color-muted-foreground);
	margin: 0 0 2rem;
	line-height: 1.6;
}
.blog-single__content {
	font-size: 1rem;
	line-height: 1.7;
	color: var(--color-foreground);
}
.blog-single__content > *:first-child { margin-top: 0; }
.blog-single__content > *:last-child { margin-bottom: 0; }
.blog-single__content p,
.blog-single__content ul,
.blog-single__content ol {
	margin: 0 0 1rem;
}

/* --------------------------------------------------------------------
 * MISC
 * ------------------------------------------------------------------ */
.woocommerce-Price-amount { font-family: inherit; }
