/**
 * Lala Andujar theme stylesheet.
 * Author: The Free Website Guys
 */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;500;600;700;800;900&family=Inter:wght@300;400;500;600;700;800;900&display=swap');

/* ==================================================================
   1. ROOT VARIABLES (Section 6.1 — hex derived from source HSL tokens)
   ================================================================== */
:root {
	--background: #faf8f5;
	--foreground: #211424;
	--primary: #4f2357;
	--primary-foreground: #faf8f5;
	--secondary: #efebe6;
	--secondary-foreground: #432848;
	--muted-foreground: #6b5e6e;
	--accent: #2c1230;
	--accent-foreground: #f8f6f1;
	--gold: #dd9c2c;
	--gold-foreground: #2c1230;
	--border: #e2ddd5;

	--font-display: 'Playfair Display', serif;
	--font-body: 'Inter', sans-serif;

	--radius: 0.5rem;
	--shadow-soft: 0 2px 12px -2px rgba(44, 18, 48, 0.07);
	--shadow-elevated: 0 8px 30px -6px rgba(44, 18, 48, 0.14);

	--logo-height: 48px;
	--header-height: 88px;
	--announcement-height: 36px;

	--btn-radius: 0.5rem;
	--btn-height: 44px;
	--btn-padding: 0 1.75rem;
	--btn-font-size: 0.9375rem;
	--btn-font-weight: 700;
	--btn-letter-spacing: normal;
	--btn-text-transform: none;
	--btn-icon-padding: 0;
	--color-button-text: var(--primary-foreground);
	--color-primary: var(--primary);
	--card-radius: 0.75rem;
	--section-padding: 2rem;
	--checkout-gap: 2rem;
}

/* ==================================================================
   2. RESET / BASE
   ================================================================== */
* {
	box-sizing: border-box;
}
html, body {
	overflow-x: hidden;
}
body {
	margin: 0;
	background: var(--background);
	color: var(--foreground);
	font-family: var(--font-body);
	-webkit-font-smoothing: antialiased;
	line-height: 1.6;
}
img, video {
	max-width: 100%;
	display: block;
}
a {
	color: inherit;
	text-decoration: none;
}
button {
	font-family: inherit;
	cursor: pointer;
}
ul {
	margin: 0;
	padding: 0;
	list-style: none;
}

/* Heading font-weight reset (Tailwind preflight parity, Section 2.2). */
h1, h2, h3, h4, h5, h6 {
	font-family: var(--font-display);
	font-weight: 700;
	font-size: inherit;
	line-height: 1.25;
	margin: 0;
}

.screen-reader-text {
	position: absolute;
	left: -9999px;
}

/* Global cover-image rule with the mandatory exclusion list
   (Section 15.1). Every class used for a full-bleed / object-fit:cover
   image MUST appear in this list. */
img:not(.cover-img):not(.site-logo-img) {
	max-width: 100%;
	height: auto;
}
.cover-img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
}
.theme-product-card__image-wrapper--contain .cover-img,
.featured-book-image {
	object-fit: contain;
	position: static;
	width: 100%;
	height: 100%;
}

/* Clickable affordance (links, buttons, pills, toggles). */
a,
button,
.btn,
.category-pill,
.theme-card-link,
.theme-product-card__quick-add,
.signed-copy-toggle,
.theme-accordion-trigger,
input[type="submit"],
input[type="button"],
input[type="reset"],
label[for],
select,
summary,
[role="button"],
[data-cart-open],
[data-menu-toggle],
.theme-announcement-dismiss {
	cursor: pointer;
}
a:disabled,
button:disabled,
.btn:disabled,
.theme-product-card__quick-add.disabled,
.disabled {
	cursor: not-allowed;
}

.container-wide {
	width: 100%;
	max-width: 1400px;
	margin: 0 auto;
	padding-left: 1.25rem; /* Lovable px-5 */
	padding-right: 1.25rem;
	box-sizing: border-box;
}
@media (min-width: 1024px) {
	.container-wide {
		padding-left: 2rem; /* Lovable lg:px-8 */
		padding-right: 2rem;
	}
}
.container-narrow {
	max-width: 1024px;
}
.container-narrow-sm {
	max-width: 700px;
}
.center-text {
	text-align: center;
}
.text-gold {
	color: var(--gold);
}
.text-primary {
	color: var(--primary);
}
.bg-secondary {
	background: var(--secondary);
}
.scroll-mt {
	scroll-margin-top: 6rem;
}

/* ==================================================================
   3. SCROLL-REVEAL ANIMATIONS (Section 2.1)
   ================================================================== */
.reveal-item {
	opacity: 0;
	transform: translateY(40px);
	transition: opacity 0.7s cubic-bezier(0.25, 0.4, 0.25, 1), transform 0.7s cubic-bezier(0.25, 0.4, 0.25, 1);
	transition-delay: var(--reveal-delay, 0s);
}
.reveal-item.is-visible {
	opacity: 1;
	transform: translateY(0);
}
.reveal-item[data-anim="fade-up"] {
	transform: translateY(40px);
}
/* Must beat [data-anim] specificity so visible items actually settle. */
.reveal-item.is-visible[data-anim="fade-up"] {
	transform: translateY(0);
}

/* Preview fallback: never leave content invisible inside the Customizer
   iframe (Section 2.1 item 5). */
body.is-customizer .reveal-item {
	opacity: 1 !important;
	transform: none !important;
	transition: none !important;
}

@media (prefers-reduced-motion: reduce) {
	.reveal-item {
		transition: none !important;
		opacity: 1 !important;
		transform: none !important;
	}
}

.animate-fade-in {
	animation: themeFadeIn 0.5s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}
@keyframes themeFadeIn {
	from { opacity: 0; }
	to { opacity: 1; }
}

.card-lift {
	transition: transform 0.3s ease-out, box-shadow 0.3s ease-out, border-color 0.3s ease-out;
	will-change: transform;
}
.card-lift:hover {
	transform: translateY(-4px);
	box-shadow: var(--shadow-elevated);
	border-color: rgba(79, 35, 87, 0.3);
}
@media (prefers-reduced-motion: reduce) {
	.card-lift { transition: none; }
	.card-lift:hover { transform: none; }
}

/* ==================================================================
   4. BUTTONS (hover aligned to Lovable Button / gold CTAs)
   ================================================================== */
.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.5rem;
	white-space: nowrap;
	border-radius: var(--btn-radius);
	min-height: var(--btn-height);
	padding: var(--btn-padding);
	font-family: var(--font-body);
	font-size: var(--btn-font-size);
	font-weight: var(--btn-font-weight);
	letter-spacing: var(--btn-letter-spacing);
	text-transform: var(--btn-text-transform);
	border: none;
	cursor: pointer;
	transition: transform 0.3s ease-out, box-shadow 0.3s ease-out, opacity 0.3s ease-out, background-color 0.3s ease-out, color 0.3s ease-out, border-color 0.3s ease-out;
}
.btn:active {
	transform: translateY(0) scale(0.98);
}
.btn-primary {
	background: var(--primary);
	color: var(--primary-foreground);
}
.btn-primary:hover {
	background: color-mix(in srgb, var(--primary) 90%, transparent);
	transform: translateY(-2px);
	box-shadow: var(--shadow-elevated);
}
.btn-gold {
	background: var(--gold);
	color: var(--gold-foreground);
}
.btn-gold:hover {
	background: color-mix(in srgb, var(--gold) 90%, transparent);
	/* Lovable gold CTAs: bg fade only, no lift */
	transform: none;
	opacity: 1;
	box-shadow: none;
}
.btn-outline {
	background: transparent;
	border: 1px solid var(--border);
	color: var(--foreground);
}
.btn-outline:hover {
	background: var(--accent);
	color: var(--accent-foreground);
	border-color: var(--accent);
	transform: translateY(-2px);
	box-shadow: var(--shadow-soft);
}
.btn-outline-light {
	background: transparent;
	border: 1px solid rgba(255, 255, 255, 0.4);
	color: #fff;
}
.btn-outline-light:hover {
	background: rgba(255, 255, 255, 0.1);
	transform: none;
	box-shadow: none;
}
.btn-lg {
	min-height: 44px;
	padding: 0 2rem;
	font-size: 0.9375rem;
}
.btn-sm {
	min-height: 36px;
	padding: 0 1.25rem;
	font-size: 0.8125rem;
}
.btn-full {
	width: 100%;
}
@media (prefers-reduced-motion: reduce) {
	.btn,
	.btn:hover,
	.btn:active {
		transition: none;
		transform: none;
	}
}
.button-row {
	display: flex;
	flex-wrap: wrap;
	gap: 1rem;
}

/* ==================================================================
   5. HEADER
   ================================================================== */
.theme-announcement-bar {
	background: var(--primary);
	color: var(--primary-foreground);
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	z-index: 60;
}
body.admin-bar .theme-announcement-bar {
	top: 32px;
}
@media screen and (max-width: 782px) {
	body.admin-bar .theme-announcement-bar {
		top: 46px;
	}
}
body.announcement-dismissed .theme-announcement-bar {
	display: none;
}
/* Reserve announcement offset only while the bar is present. */
body:not(:has(#theme-announcement-bar)),
body.announcement-dismissed {
	--announcement-height: 0px;
}
.theme-announcement-spacer {
	height: var(--announcement-height, 0px);
	pointer-events: none;
}
body.announcement-dismissed .theme-announcement-spacer {
	display: none;
}
/* Front-page hero is full-bleed under the fixed bars — no spacer gap. */
body:not(.theme-no-hero) .theme-announcement-spacer {
	display: none;
}
.theme-announcement-inner {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	height: var(--announcement-height);
}
.theme-announcement-text {
	margin: 0;
	font-size: 0.75rem;
	font-weight: 600;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	text-align: center;
	padding-right: 1.5rem;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}
.theme-announcement-desktop {
	display: none;
}
@media (min-width: 640px) {
	.theme-announcement-mobile { display: none; }
	.theme-announcement-desktop { display: inline; }
}
.theme-announcement-sep {
	margin: 0 0.5rem;
	opacity: 0.4;
}
.theme-announcement-dismiss {
	position: absolute;
	right: 0;
	background: none;
	border: none;
	color: inherit;
	padding: 0.25rem;
	display: flex;
}
.theme-announcement-dismiss:hover {
	opacity: 0.7;
}

.site-header {
	position: fixed;
	top: var(--announcement-height, 0px);
	left: 0;
	right: 0;
	z-index: 50;
	transition: background-color 0.3s ease, box-shadow 0.3s ease;
	background: transparent;
}
body.announcement-dismissed .site-header {
	top: 0;
}
/* Offset fixed header below the WP admin bar when logged in. */
body.admin-bar .site-header {
	top: calc(var(--announcement-height, 0px) + 32px);
}
body.admin-bar.announcement-dismissed .site-header {
	top: 32px;
}
@media screen and (max-width: 782px) {
	body.admin-bar .site-header {
		top: calc(var(--announcement-height, 0px) + 46px);
	}
	body.admin-bar.announcement-dismissed .site-header {
		top: 46px;
	}
}
.site-header.is-solid {
	background: var(--background);
	border-bottom: 1px solid var(--border);
	box-shadow: var(--shadow-soft);
}
/* Lovable: open hamburger also forces the solid header treatment. */
.site-header:has(.theme-nav-mobile.is-open) {
	background: var(--background);
	border-bottom: 1px solid var(--border);
	box-shadow: var(--shadow-soft);
}
.site-header:has(.theme-nav-mobile.is-open) .theme-menu-toggle,
.site-header:has(.theme-nav-mobile.is-open) .theme-cart-btn {
	color: var(--foreground);
}
.site-header:has(.theme-nav-mobile.is-open) .site-logo-img {
	filter: none;
}
.site-header-inner {
	width: 100%;
}
.theme-nav {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: space-between;
	height: 56px;
}
@media (min-width: 1024px) {
	.theme-nav { height: 64px; }
}
.theme-menu-toggle {
	background: none;
	border: none;
	padding: 0.5rem;
	color: var(--foreground);
	display: flex;
}
.site-header:not(.is-solid) .theme-menu-toggle {
	color: #fff;
}
@media (min-width: 1024px) {
	.theme-menu-toggle { display: none; }
}
.theme-logo {
	position: absolute;
	left: 50%;
	transform: translateX(-50%);
	display: flex;
	align-items: center;
}
@media (min-width: 1024px) {
	.theme-logo {
		position: static;
		transform: none;
	}
}
.site-logo-img {
	/* Lovable: h-10 (40px) mobile, h-12 (48px) desktop.
	   !important beats WooCommerce `.woocommerce img { height: auto }`. */
	height: 40px !important;
	width: auto !important;
	max-width: none;
	max-height: 40px;
	display: block;
	object-fit: contain;
}
@media (min-width: 1024px) {
	.site-logo-img {
		height: var(--logo-height, 48px) !important;
		max-height: var(--logo-height, 48px);
	}
}
.site-footer-logo.site-logo-img {
	height: var(--logo-height, 48px) !important;
	max-height: var(--logo-height, 48px);
}
.site-header:not(.is-solid) .site-logo-img {
	filter: brightness(0) invert(1);
}
.site-logo-text {
	font-family: var(--font-display);
	font-weight: 700;
	font-size: 1.25rem;
	line-height: 40px;
	display: block;
}
@media (min-width: 1024px) {
	.site-logo-text {
		line-height: var(--logo-height, 48px);
	}
}
.theme-nav-desktop {
	display: none;
	align-items: center;
	gap: 1.5rem;
}
@media (min-width: 1024px) {
	.theme-nav-desktop { display: flex; }
}
.theme-nav-list {
	display: flex;
	align-items: center;
	gap: 1.5rem;
	margin: 0;
}
@media (min-width: 1280px) {
	.theme-nav-list { gap: 2rem; }
}
.theme-nav-list a {
	font-size: 0.875rem;
	font-weight: 500;
	color: var(--muted-foreground);
	transition: color 0.2s ease;
}
.site-header:not(.is-solid) .theme-nav-list a {
	color: rgba(255, 255, 255, 0.75);
}
.theme-nav-list a:hover {
	color: var(--foreground);
}
.site-header:not(.is-solid) .theme-nav-list a:hover {
	color: #fff;
}
.theme-book-btn {
	font-size: 0.75rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.15em;
	padding: 0.5rem 1rem;
	border-radius: 999px;
	background: var(--gold);
	color: var(--gold-foreground);
	transition: background-color 0.3s ease-out, opacity 0.3s ease-out;
}
.theme-book-btn:hover {
	background: color-mix(in srgb, var(--gold) 90%, transparent);
	opacity: 1;
}
.theme-book-btn-mobile {
	display: block;
	width: 100%;
	text-align: center;
	margin-top: 0.75rem;
	padding: 0.75rem 1rem;
}
.theme-cart-btn {
	position: relative;
	background: none;
	border: none;
	padding: 0.5rem;
	color: var(--foreground);
	display: flex;
}
.site-header:not(.is-solid) .theme-cart-btn {
	color: #fff;
}
.theme-cart-count {
	position: absolute;
	top: -2px;
	right: -2px;
	width: 20px;
	height: 20px;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 10px;
	font-weight: 700;
	background: var(--gold);
	color: var(--gold-foreground);
	border-radius: 50%;
}
.theme-cart-count:empty {
	display: none;
}
.theme-nav-mobile {
	display: none;
	border-top: 1px solid var(--border);
	padding: 1rem 0;
	background: var(--background);
}
.theme-nav-mobile.is-open {
	display: block;
}
/* Always stack hamburger links vertically (even if fallback uses .theme-nav-list). */
.theme-nav-mobile .theme-nav-list,
.theme-nav-mobile .theme-nav-list-mobile {
	display: flex;
	flex-direction: column;
	align-items: stretch;
	gap: 0.25rem;
	margin: 0;
	padding: 0;
	list-style: none;
}
.theme-nav-mobile .theme-nav-list li,
.theme-nav-mobile .theme-nav-list-mobile li {
	width: 100%;
	margin: 0;
	padding: 0;
}
/* Beat transparent-header white link colors so tabs stay readable pre-scroll. */
.theme-nav-mobile .theme-nav-list a,
.theme-nav-mobile .theme-nav-list-mobile a,
.site-header:not(.is-solid) .theme-nav-mobile .theme-nav-list a,
.site-header:not(.is-solid) .theme-nav-mobile .theme-nav-list-mobile a {
	display: block;
	width: 100%;
	text-align: left;
	padding: 0.75rem 0;
	font-size: 0.875rem;
	font-weight: 500;
	color: var(--foreground);
}
.theme-nav-mobile .theme-nav-list a:hover,
.theme-nav-mobile .theme-nav-list-mobile a:hover,
.site-header:not(.is-solid) .theme-nav-mobile .theme-nav-list a:hover,
.site-header:not(.is-solid) .theme-nav-mobile .theme-nav-list-mobile a:hover {
	color: var(--primary);
}

body.theme-no-hero .site-main {
	padding-top: calc(var(--header-height) + var(--announcement-height));
}

/* ==================================================================
   6. HERO
   ================================================================== */
.hero-section {
	position: relative;
	min-height: 100vh;
	display: flex;
	flex-direction: column;
	justify-content: center;
	overflow: hidden;
	background: var(--accent);
}
.hero-media {
	position: absolute;
	inset: 0;
}
.hero-video {
	width: 100%;
	height: 100%;
}
.hero-media-overlay {
	position: absolute;
	inset: 0;
	background: color-mix(in srgb, var(--accent) 60%, transparent);
}
.hero-media-gradient {
	position: absolute;
	inset: 0;
	background: linear-gradient(to top, var(--accent), color-mix(in srgb, var(--accent) 35%, transparent), color-mix(in srgb, var(--accent) 55%, transparent));
}
.hero-content {
	position: relative;
	z-index: 10;
	flex: 1;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 7rem 1.25rem 6rem;
}
.hero-content-inner {
	text-align: center;
	max-width: 48rem;
	margin: 0 auto;
}
.hero-eyebrow {
	font-size: 0.75rem;
	letter-spacing: 0.28em;
	text-transform: uppercase;
	color: var(--gold);
	font-weight: 600;
	margin: 0 0 1.5rem;
}
@media (min-width: 640px) {
	.hero-eyebrow { font-size: 0.875rem; }
}
.hero-title {
	font-family: var(--font-display);
	font-weight: 700;
	font-size: 2.5rem;
	color: #fff;
	letter-spacing: -0.01em;
	line-height: 1.08;
	margin: 0 0 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: rgba(255, 255, 255, 0.85);
	font-size: 1.125rem;
	font-family: var(--font-display);
	font-style: italic;
	margin: 0 0 2.5rem;
	max-width: 42rem;
	margin-left: auto;
	margin-right: auto;
}
@media (min-width: 768px) {
	.hero-subtitle { font-size: 1.5rem; }
}
.hero-actions {
	display: flex;
	flex-direction: column;
	gap: 1rem;
	justify-content: center;
}
@media (min-width: 640px) {
	.hero-actions { flex-direction: row; }
}
.hero-marquee-wrap {
	position: relative;
	z-index: 10;
	width: 100%;
}

.theme-marquee {
	width: 100%;
	overflow: hidden;
	border-top: 1px solid color-mix(in srgb, var(--gold) 30%, transparent);
	border-bottom: 1px solid color-mix(in srgb, var(--gold) 30%, transparent);
	background: color-mix(in srgb, var(--accent) 70%, transparent);
	backdrop-filter: blur(4px);
	padding: 0.75rem 0;
}
.theme-marquee-track {
	display: flex;
	width: max-content;
	animation: themeMarquee 32s linear infinite;
}
@keyframes themeMarquee {
	from { transform: translateX(0); }
	to { transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce) {
	.theme-marquee-track { animation: none; }
}
.theme-marquee-item {
	display: flex;
	align-items: center;
	flex-shrink: 0;
}
.theme-marquee-word {
	padding: 0 1.25rem;
	font-size: 0.75rem;
	font-weight: 600;
	letter-spacing: 0.25em;
	text-transform: uppercase;
	color: var(--accent-foreground);
	white-space: nowrap;
}
@media (min-width: 640px) {
	.theme-marquee-word { font-size: 0.875rem; }
}
.theme-marquee-dot {
	color: var(--gold);
	font-size: 0.75rem;
}

/* ==================================================================
   7. GENERIC SECTION LAYOUT
   ================================================================== */
.section {
	padding: 5rem 0;
}
@media (min-width: 768px) {
	.section { padding: 7rem 0; }
}
.section-header-center {
	text-align: center;
	margin-bottom: 3rem;
}
.eyebrow {
	font-size: 0.75rem;
	letter-spacing: 0.2em;
	text-transform: uppercase;
	color: var(--muted-foreground);
	margin: 0 0 0.75rem;
}
/* Gold eyebrows must win over .eyebrow's muted color (Lovable text-gold). */
.eyebrow.text-gold,
.hero-eyebrow,
.media-card-kind,
.contact-section .eyebrow.text-gold,
.featured-book-info .eyebrow.text-gold {
	color: var(--gold);
	font-weight: 600;
}
.section-subtext {
	color: var(--muted-foreground);
	margin: 1rem auto 0;
	max-width: 36rem;
}
.section-subtext--wide {
	max-width: 42rem;
}
.body-text {
	color: var(--muted-foreground);
	line-height: 1.7;
	margin: 0 0 1.25rem;
}
.mini-heading {
	font-size: 0.8125rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	margin: 0 0 0.75rem;
	font-family: var(--font-body);
}
.section-title-sm {
	font-size: 1.5rem;
	margin-bottom: 2rem;
}
.section-divider {
	border-top: 1px solid var(--border);
	padding-top: 3rem; /* Lovable pt-12 */
	padding-bottom: 4rem; /* Lovable pb-16 */
}
.related-products-section.section-divider {
	padding-bottom: 5rem; /* Lovable pb-20 */
}

.two-col-grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 3rem;
	align-items: center;
}
@media (min-width: 1024px) {
	.two-col-grid { grid-template-columns: 1fr 1fr; gap: 4rem; }
}

.card {
	background: #fff;
	border: 1px solid var(--border);
	border-radius: var(--card-radius);
	padding: 1.75rem;
}
.card-icon {
	width: 1.75rem;
	height: 1.75rem;
	color: var(--primary);
	margin-bottom: 1rem;
}
.card-icon.text-gold {
	color: var(--gold);
}
.card-title {
	font-size: 1.125rem;
	font-weight: 700;
	font-family: var(--font-display);
	margin-bottom: 0.5rem;
}
.card-text {
	font-size: 0.875rem;
	color: var(--muted-foreground);
	line-height: 1.7;
}

/* Per-section heading scales (Section 2.2 item 5). */
.section-heading {
	font-family: var(--font-display);
	font-weight: 700;
	letter-spacing: -0.01em;
}
.story-heading, .safe-space-heading, .speaking-heading {
	font-size: 1.875rem;
	margin-bottom: 1.5rem; /* Lovable mb-6 before body copy */
}
@media (min-width: 768px) { .story-heading, .safe-space-heading, .speaking-heading { font-size: 2.25rem; } }
.books-heading, .media-heading, .testimonials-heading, .appearances-heading, .faq-heading, .newsletter-heading {
	font-size: 1.875rem;
}
@media (min-width: 768px) { .books-heading, .media-heading, .testimonials-heading, .appearances-heading, .faq-heading, .newsletter-heading { font-size: 2.25rem; } }
.contact-heading {
	font-size: 1.875rem;
	color: var(--accent-foreground);
}
@media (min-width: 768px) { .contact-heading { font-size: 3rem; } }

/* ==================================================================
   8. STORY SECTION
   ================================================================== */
.story-image-wrap {
	position: relative;
	aspect-ratio: 4 / 5;
	border-radius: var(--card-radius);
	overflow: hidden;
}
.story-image { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }

/* ==================================================================
   9. BOOKS SECTION
   ================================================================== */
.books-section.bg-secondary {
	background: color-mix(in srgb, var(--secondary) 60%, transparent);
}
.featured-book-card {
	display: grid;
	grid-template-columns: 1fr;
	gap: 2rem;
	align-items: center;
	background: var(--card, #fff);
	border: 1px solid var(--border);
	border-radius: var(--card-radius);
	padding: 1.5rem;
	margin-bottom: 3rem;
}
@media (min-width: 768px) {
	.featured-book-card { padding: 2.5rem; }
}
@media (min-width: 1024px) {
	.featured-book-card { grid-template-columns: 1fr 1fr; gap: 3rem; }
}
.featured-book-image-link {
	display: block;
	width: fit-content;
	margin: 0 auto;
}
.featured-book-image-wrap {
	position: relative;
	max-width: 260px;
	width: 100%;
	aspect-ratio: 2 / 3;
	height: auto;
	background: var(--secondary);
	border-radius: 0.5rem;
	overflow: hidden;
	margin: 0 auto;
	display: flex;
	align-items: center;
	justify-content: center;
}
@media (min-width: 640px) {
	.featured-book-image-wrap {
		max-width: none;
		height: 460px;
		width: auto;
		aspect-ratio: 2 / 3;
	}
}
.featured-book-image {
	object-fit: contain;
	object-position: center;
	max-height: 100%;
}
.featured-book-info .eyebrow {
	font-weight: 600;
	color: var(--gold);
}
.featured-book-title {
	font-size: 1.5rem;
	margin-bottom: 1rem;
}
@media (min-width: 768px) { .featured-book-title { font-size: 1.875rem; } }
.featured-book-info .body-text {
	margin-bottom: 1.25rem;
}
.featured-book-price {
	font-family: var(--font-display);
	font-weight: 700;
	font-size: 1.25rem;
	margin-bottom: 1.25rem;
}
.featured-book-signed-price {
	font-family: var(--font-body);
	font-weight: 500;
	font-size: 0.875rem;
	color: var(--muted-foreground);
	margin-left: 0.75rem;
}
.featured-book-card .button-row {
	gap: 0.75rem;
}

.category-pills {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 0.5rem;
	margin-bottom: 2.5rem; /* Lovable mb-10 before product grid */
}
.books-section .category-pills {
	margin-bottom: 2.5rem; /* Lovable mb-10 */
}
.books-section .theme-product-grid {
	margin-top: 0;
	row-gap: 2rem;
}
.category-pill {
	padding: 0.5rem 1rem;
	font-size: 0.875rem;
	font-weight: 500;
	border-radius: 999px;
	border: 1px solid var(--border);
	background: transparent;
	color: var(--muted-foreground);
	transition: all 0.2s ease;
}
.category-pill:hover {
	border-color: color-mix(in srgb, var(--primary) 50%, transparent);
	color: var(--foreground);
}
.category-pill.is-active {
	background: var(--primary);
	color: var(--primary-foreground);
	border-color: var(--primary);
}

.theme-product-grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 2rem;
	align-items: stretch;
}
@media (min-width: 640px) {
	.theme-product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 1024px) {
	.theme-product-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
.theme-product-card-wrap {
	height: 100%;
}
.theme-product-card {
	position: relative;
	display: flex;
	flex-direction: column;
	height: 100%;
}
.theme-product-card > .theme-card-link {
	position: absolute;
	inset: 0;
	z-index: 2;
	pointer-events: auto;
}
.theme-product-card *:not(.theme-card-link) {
	pointer-events: none;
}
.theme-product-card__image-wrapper {
	position: relative;
	aspect-ratio: 2 / 3;
	background: var(--secondary);
	border-radius: var(--card-radius);
	overflow: hidden;
	margin-bottom: 1rem;
	display: flex;
	align-items: center;
	justify-content: center;
}
.theme-product-card:hover .theme-product-card__image-wrapper--cover .theme-product-card__image {
	transform: scale(1.06);
}
.theme-product-card__image {
	transition: transform 0.6s cubic-bezier(0.25, 0.4, 0.25, 1);
}
.theme-product-card__image-wrapper--contain .theme-product-card__image {
	object-fit: contain;
	object-position: center;
}
.theme-badge-soldout {
	position: absolute;
	top: 0.5rem;
	left: 0.5rem;
	padding: 0.375rem 0.75rem;
	font-size: 0.6875rem;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	background: var(--foreground);
	color: var(--background);
	border-radius: 0.375rem;
	z-index: 3;
}
.theme-product-card__quick-add {
	position: absolute;
	bottom: 0.5rem;
	right: 0.5rem;
	z-index: 3;
	width: 2.25rem;
	height: 2.25rem;
	display: flex;
	align-items: center;
	justify-content: center;
	border-radius: 50%;
	background: var(--primary);
	color: var(--primary-foreground);
	box-shadow: var(--shadow-soft);
	pointer-events: auto;
	opacity: 0;
	transition: opacity 0.3s ease, transform 0.2s ease;
}
@media (max-width: 767px) {
	.theme-product-card__quick-add { opacity: 1; }
}
.theme-product-card:hover .theme-product-card__quick-add {
	opacity: 1;
}
.theme-product-card__quick-add:hover {
	transform: scale(1.1);
}
.theme-product-card__quick-add.disabled {
	pointer-events: none;
	opacity: 0.4;
	cursor: not-allowed;
}
.theme-product-card__title {
	font-size: 0.875rem;
	font-weight: 500;
	font-family: var(--font-body);
	margin-bottom: 0.25rem;
	transition: color 0.3s ease;
}
.theme-product-card:hover .theme-product-card__title {
	color: var(--primary);
}
.theme-product-card__price {
	font-size: 0.875rem;
	color: var(--muted-foreground);
	font-weight: 600;
}
.theme-empty-state {
	text-align: center;
	color: var(--muted-foreground);
	padding: 3rem 0;
}

/* ==================================================================
   10. SAFE SPACE
   ================================================================== */
.pillar-grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 1.5rem;
}
@media (min-width: 768px) {
	.pillar-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
.crisis-box {
	margin-top: 2rem;
	border-radius: var(--card-radius);
	border: 1px solid color-mix(in srgb, var(--gold) 40%, transparent);
	background: color-mix(in srgb, var(--gold) 10%, transparent);
	padding: 1.5rem;
	text-align: center;
}
.crisis-box p {
	font-size: 0.875rem;
	line-height: 1.7;
	margin: 0;
}
.crisis-phone-link {
	font-weight: 700;
	text-decoration: underline;
}

/* ==================================================================
   11. SPEAKING
   ================================================================== */
.speaking-intro {
	margin-bottom: 3.5rem;
}
.speaking-image-wrap {
	position: relative;
	aspect-ratio: 16 / 10;
	border-radius: var(--card-radius);
	overflow: hidden;
}
.speaking-image { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.format-grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 1.5rem;
}
@media (min-width: 640px) {
	.format-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* ==================================================================
   12. MEDIA
   ================================================================== */
.media-grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 1.5rem;
}
@media (min-width: 768px) {
	.media-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
.media-card {
	display: block;
	text-align: left;
	text-decoration: none;
	color: inherit;
	border-radius: var(--card-radius);
	overflow: hidden;
	border: 1px solid var(--border);
	background: var(--accent);
	padding: 0;
	width: 100%;
	cursor: pointer;
}
.media-card-thumb {
	display: flex;
	align-items: center;
	justify-content: center;
	aspect-ratio: 16 / 9;
	background: linear-gradient(135deg, var(--primary), var(--accent));
}
.media-play-icon {
	width: 3rem;
	height: 3rem;
	color: var(--gold);
	transition: transform 0.3s ease;
}
.media-card:hover .media-play-icon {
	transform: scale(1.1);
}
.media-card-body {
	display: block;
	padding: 1.5rem;
}
.media-card-kind {
	display: block;
	font-size: 0.6875rem;
	letter-spacing: 0.2em;
	text-transform: uppercase;
	color: var(--gold);
	margin-bottom: 0.5rem;
}
.media-card-title {
	display: block;
	font-family: var(--font-display);
	font-weight: 700;
	font-size: 1.125rem;
	color: var(--accent-foreground);
	margin-bottom: 0.5rem;
}
.media-card-text {
	display: block;
	font-size: 0.875rem;
	color: color-mix(in srgb, var(--accent-foreground) 70%, transparent);
	line-height: 1.6;
}

/* ==================================================================
   13. TESTIMONIALS
   ================================================================== */
.testimonial-grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 1.5rem;
}
@media (min-width: 768px) {
	.testimonial-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
.testimonial-card {
	display: flex;
	flex-direction: column;
	margin: 0;
}
.testimonial-quote {
	font-size: 0.875rem;
	color: var(--muted-foreground);
	line-height: 1.7;
	margin: 0;
	flex: 1;
}
.testimonial-caption {
	margin-top: 1.25rem;
	padding-top: 1rem;
	border-top: 1px solid var(--border);
}
.testimonial-name {
	font-size: 0.875rem;
	font-weight: 600;
	margin: 0;
}
.testimonial-role {
	font-size: 0.75rem;
	color: var(--muted-foreground);
	margin: 0.125rem 0 0;
}

/* ==================================================================
   14. APPEARANCES
   ================================================================== */
.appearance-list {
	display: flex;
	flex-direction: column;
	gap: 1rem;
}
.appearance-row {
	display: flex;
	flex-direction: column;
	gap: 0.75rem;
}
@media (min-width: 640px) {
	.appearance-row { flex-direction: row; align-items: center; gap: 1.5rem; }
}
.appearance-date {
	display: flex;
	align-items: center;
	gap: 0.75rem;
	font-size: 0.875rem;
	font-weight: 600;
	flex-shrink: 0;
}
@media (min-width: 640px) {
	.appearance-date { width: 14rem; }
}
.appearance-body {
	flex: 1;
	min-width: 0;
}
.appearance-title {
	font-family: var(--font-display);
	font-weight: 700;
	font-size: 1rem;
	margin: 0;
}
.appearance-place {
	font-size: 0.875rem;
	color: var(--muted-foreground);
	margin: 0.125rem 0 0;
}

/* ==================================================================
   15. NEWSLETTER
   ================================================================== */
.newsletter-section {
	background: var(--primary);
	color: var(--primary-foreground);
	display: flex;
	align-items: center;
	justify-content: center;
}
.newsletter-section .container-wide {
	width: 100%;
}
.newsletter-heading {
	margin-bottom: 1rem;
}
.newsletter-description {
	color: color-mix(in srgb, var(--primary-foreground) 75%, transparent);
	margin: 0 auto 2rem;
	max-width: 36rem;
}
.newsletter-form {
	display: flex;
	flex-direction: column;
	gap: 0.75rem;
	max-width: 28rem;
	margin: 0 auto;
}
@media (min-width: 640px) {
	.newsletter-form { flex-direction: row; }
}
.newsletter-input {
	flex: 1;
	padding: 0.75rem 1rem;
	border-radius: var(--radius);
	border: none;
	font-size: 0.875rem;
	background: var(--primary-foreground);
	color: var(--foreground);
}
.newsletter-input:focus {
	outline: 2px solid var(--gold);
}
.newsletter-success {
	color: var(--gold);
	font-weight: 600;
}

/* Icon sizes — Lovable lucide w-4 / w-5 / w-7 / w-12 */
.theme-icon {
	display: inline-block;
	flex-shrink: 0;
	width: 1.25rem;
	height: 1.25rem;
	vertical-align: middle;
}
.theme-icon-sm {
	width: 1rem;
	height: 1rem;
}
/* Beat .theme-icon so card / media sizes match Lovable (w-7 / w-12). */
.theme-icon.card-icon {
	width: 1.75rem;
	height: 1.75rem;
}
.theme-icon.media-play-icon {
	width: 3rem;
	height: 3rem;
}
.theme-icon.related-video-icon {
	width: 2.25rem;
	height: 2.25rem;
}
/* Events calendar — Lovable w-5; leave contact/footer theme-icon-sm alone. */
.appearance-date .theme-icon {
	width: 1.25rem;
	height: 1.25rem;
}
.contact-info-link .theme-icon,
.site-footer-contact-link .theme-icon {
	width: 1rem;
	height: 1rem;
}
.contact-social-link .theme-icon,
.site-footer-social-link .theme-icon {
	width: 1.25rem;
	height: 1.25rem;
}

/* ==================================================================
   16. FAQ ACCORDION
   ================================================================== */
.theme-accordion-item {
	border-bottom: 1px solid var(--border);
}
.theme-accordion-trigger {
	width: 100%;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	background: none;
	border: none;
	text-align: left;
	padding: 1.25rem 0;
	font-weight: 600;
	font-size: 0.9375rem;
}
.theme-accordion-chevron {
	flex-shrink: 0;
	width: 1rem;
	height: 1rem;
	transition: transform 0.2s ease;
}
.theme-accordion-item.is-open .theme-accordion-chevron {
	transform: rotate(180deg);
}
.theme-accordion-content {
	max-height: 0;
	overflow: hidden;
	transition: max-height 0.25s ease;
}
.theme-accordion-content-inner {
	padding: 0 0 1.25rem;
	color: var(--muted-foreground);
	line-height: 1.7;
	font-size: 0.9375rem;
}

/* ==================================================================
   17. CONTACT / BOOKING SECTION
   ================================================================== */
.contact-section {
	position: relative;
	padding: 7rem 0;
	overflow: hidden;
	color: var(--accent-foreground);
}
@media (min-width: 768px) {
	.contact-section { padding: 9rem 0; }
}
.contact-media {
	position: absolute;
	inset: 0;
}
.contact-video {
	width: 100%;
	height: 100%;
}
.contact-media-overlay {
	position: absolute;
	inset: 0;
	background: color-mix(in srgb, var(--accent) 80%, transparent);
}
.contact-grid {
	position: relative;
	z-index: 10;
	display: grid;
	grid-template-columns: 1fr;
	gap: 3rem;
	align-items: center;
}
@media (min-width: 1024px) {
	.contact-grid { grid-template-columns: 1fr 1fr; gap: 4rem; }
}
.contact-section .eyebrow {
	letter-spacing: 0.25em;
	margin-bottom: 1rem;
	color: var(--gold);
	font-weight: 600;
}
.contact-heading {
	margin-bottom: 1.5rem;
}
.contact-description {
	color: color-mix(in srgb, var(--accent-foreground) 80%, transparent);
	margin-bottom: 2rem;
	max-width: 32rem;
}
.contact-info-row {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 1rem;
	margin-bottom: 2rem;
}
@media (min-width: 640px) {
	.contact-info-row { flex-direction: row; }
}
.contact-info-link {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	font-size: 0.875rem;
	color: color-mix(in srgb, var(--accent-foreground) 80%, transparent);
	word-break: break-all;
}
.contact-info-link:hover {
	color: var(--accent-foreground);
}
.contact-section .button-row {
	margin-bottom: 2rem;
}
.contact-social-row {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 1.25rem;
	margin-top: 0;
}
@media (min-width: 1024px) {
	.contact-info-row, .contact-social-row, .contact-section .button-row { justify-content: flex-start; }
}
.contact-social-link {
	color: color-mix(in srgb, var(--accent-foreground) 70%, transparent);
}
.contact-social-link:hover {
	color: var(--gold);
}

.theme-contact-form-card {
	background: color-mix(in srgb, var(--background) 95%, transparent);
	border: 1px solid var(--border);
	border-radius: var(--card-radius);
	padding: 1.5rem;
	box-shadow: var(--shadow-elevated);
	color: var(--foreground);
}
@media (min-width: 768px) {
	.theme-contact-form-card { padding: 2rem; }
}
.form-row-grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 1rem;
}
@media (min-width: 640px) {
	.form-row-grid { grid-template-columns: 1fr 1fr; }
}
.form-field {
	margin-bottom: 1rem;
}
.form-field label {
	display: block;
	font-size: 0.875rem;
	font-weight: 500;
	margin-bottom: 0.375rem;
}
.form-field input,
.form-field select,
.form-field textarea {
	width: 100%;
	padding: 0.625rem 0.75rem;
	background: var(--background);
	border: 1px solid var(--border);
	border-radius: var(--radius);
	font-size: 0.875rem;
	color: var(--foreground);
	font-family: var(--font-body);
}
.form-field textarea {
	resize: none;
}
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
	outline: none;
	box-shadow: 0 0 0 2px color-mix(in srgb, var(--primary) 50%, transparent);
}
.theme-contact-form-success {
	text-align: center;
	padding: 2rem 0;
}
.theme-contact-form-success-icon {
	width: 3.5rem;
	height: 3.5rem;
	background: var(--primary);
	color: var(--primary-foreground);
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	margin: 0 auto 1rem;
}
.theme-contact-form-success h3 {
	font-size: 1.25rem;
	margin-bottom: 0.5rem;
}
.theme-contact-form-success p {
	font-size: 0.875rem;
	color: var(--muted-foreground);
	margin-bottom: 1.5rem;
}

/* ==================================================================
   18. FOOTER
   ================================================================== */
.site-footer {
	background: var(--primary);
	color: var(--primary-foreground);
	border-top: 1px solid color-mix(in srgb, var(--primary) 20%, transparent);
}
.site-footer-inner {
	/* Vertical only — horizontal padding comes from .container-wide (same element).
	   Using padding shorthand here previously wiped lateral inset at ≥1024px. */
	padding-top: 3rem;
	padding-bottom: 3rem;
}
.site-footer-grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 2.5rem;
}
@media (min-width: 768px) {
	.site-footer-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
.site-footer-logo {
	margin-bottom: 1rem;
	filter: brightness(0) invert(1);
}
.site-footer-description {
	font-size: 0.875rem;
	line-height: 1.6;
	color: color-mix(in srgb, var(--primary-foreground) 70%, transparent);
	max-width: 24rem;
	margin: 0;
}
.site-footer-tagline {
	font-size: 0.75rem;
	letter-spacing: 0.2em;
	text-transform: uppercase;
	color: var(--gold);
	margin-top: 1rem;
	margin-bottom: 0;
}
.site-footer-col {
	display: flex;
	flex-direction: column;
	gap: 0.75rem;
	border-top: 1px solid color-mix(in srgb, var(--primary-foreground) 10%, transparent);
	padding-top: 1.5rem;
}
.site-footer-brand.site-footer-col {
	border-top: 0;
	padding-top: 0;
	gap: 0; /* Lovable: stacked blocks, not flex gap */
	display: block;
}
.site-footer-brand .site-footer-logo,
.site-footer-brand .site-logo-img {
	display: block;
	margin-bottom: 1rem;
}
.site-footer-brand .site-footer-description {
	margin: 0;
}
.site-footer-brand .site-footer-tagline {
	margin-top: 1rem;
	margin-bottom: 0;
}
@media (min-width: 768px) {
	.site-footer-col {
		border-top: 0;
		padding-top: 0;
	}
}
.site-footer-heading {
	font-size: 0.875rem;
	font-weight: 600;
	margin: 0 0 0.25rem;
	font-family: var(--font-body);
	color: var(--primary-foreground);
}
.site-footer-links {
	display: flex;
	flex-direction: column;
	gap: 0.75rem;
}
.site-footer-links a {
	font-size: 0.875rem;
	color: color-mix(in srgb, var(--primary-foreground) 70%, transparent);
}
.site-footer-links a:hover {
	color: var(--primary-foreground);
}
.site-footer-contact-link {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	font-size: 0.875rem;
	color: color-mix(in srgb, var(--primary-foreground) 70%, transparent);
	word-break: break-all;
}
.site-footer-contact-link:hover {
	color: var(--primary-foreground);
}
.site-footer-social {
	display: flex;
	align-items: center;
	gap: 1rem;
	margin-top: 0.5rem;
}
.site-footer-social-link {
	color: color-mix(in srgb, var(--primary-foreground) 70%, transparent);
}
.site-footer-social-link:hover {
	color: var(--gold);
}
.site-footer-clubhouse {
	font-size: 0.75rem;
	color: color-mix(in srgb, var(--primary-foreground) 50%, transparent);
	margin-top: 0.5rem;
}
.site-footer-bottom {
	margin-top: 2rem;
	padding-top: 1rem;
	border-top: 1px solid color-mix(in srgb, var(--primary-foreground) 10%, transparent);
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: space-between;
	gap: 0.5rem;
}
@media (min-width: 640px) {
	.site-footer-bottom { flex-direction: row; }
}
.site-footer-copyright, .site-footer-credit {
	font-size: 0.75rem;
	color: color-mix(in srgb, var(--primary-foreground) 50%, transparent);
	margin: 0;
}
.site-footer-credit a {
	text-decoration: underline;
}
.site-footer-credit a:hover {
	color: var(--primary-foreground);
}

/* ==================================================================
   19. 404
   ================================================================== */
.theme-404-main {
	min-height: 60vh;
	display: flex;
	align-items: center;
	justify-content: center;
	background: var(--secondary);
	padding-top: var(--header-height);
}
.theme-404-inner {
	text-align: center;
}
.theme-404-title {
	font-size: 2.5rem;
	margin-bottom: 1rem;
}
.theme-404-text {
	font-size: 1.25rem;
	color: var(--muted-foreground);
	margin-bottom: 1rem;
}
.theme-404-link {
	color: var(--primary);
	text-decoration: underline;
}

/* ==================================================================
   20. PAGE / GENERIC INNER-PAGE LAYOUT
   ================================================================== */
body:not(.theme-no-hero) .site-main,
body.theme-thankyou-page .site-main {
	padding-top: 0;
}
body.theme-no-hero .site-main {
	padding-top: calc(var(--header-height) + 1.5rem);
	padding-bottom: 4rem;
}
.page-title {
	font-size: 2rem;
	margin-bottom: 2rem;
}

/* ==================================================================
   21. WOOCOMMERCE — SINGLE PRODUCT
   ================================================================== */
/* Lovable main: pt-24 / lg:pt-28 (covers fixed announcement + header). */
.single-product-main {
	padding-top: 6rem;
	padding-bottom: 0;
}
@media (min-width: 1024px) {
	.single-product-main {
		padding-top: 7rem;
	}
}
.back-link-row {
	padding: 1.5rem 0; /* Lovable py-6 */
}
.back-link {
	display: inline-flex;
	align-items: center;
	font-size: 0.875rem;
	color: var(--muted-foreground);
	transition: color 0.2s ease;
}
.back-link:hover {
	color: var(--foreground);
}
.back-link svg {
	margin-right: 0.5rem;
}
.theme-product-layout {
	display: grid;
	grid-template-columns: 1fr;
	gap: 2.5rem;
	padding-bottom: 4rem; /* Lovable pb-16 */
	min-width: 0;
}
@media (min-width: 1024px) {
	.theme-product-layout { grid-template-columns: 1fr 1fr; gap: 4rem; }
}
.theme-product-gallery, .theme-product-info {
	min-width: 0;
	max-width: 100%;
}
@media (min-width: 1024px) {
	.theme-product-info {
		padding-top: 1.5rem;
		padding-bottom: 1.5rem; /* Lovable lg:py-6 */
	}
}
.theme-product-main-image-wrap {
	position: relative;
	aspect-ratio: 2 / 3;
	background: var(--secondary);
	border-radius: var(--radius); /* Lovable rounded-lg */
	overflow: hidden;
	margin-bottom: 1rem;
}
.theme-product-main-image {
	object-fit: cover;
}
.theme-product-thumbnails {
	display: grid;
	grid-template-columns: repeat(5, minmax(0, 1fr));
	gap: 0.5rem;
	flex-wrap: wrap;
	max-width: 100%;
}
.theme-product-thumb {
	position: relative;
	aspect-ratio: 1 / 1;
	overflow: hidden;
	border-radius: 0.375rem;
	border: 2px solid transparent;
	opacity: 0.6;
	background: none;
	padding: 0;
	transition: all 0.2s ease;
}
.theme-product-thumb:hover {
	opacity: 1;
}
.theme-product-thumb.is-active {
	border-color: var(--primary);
	opacity: 1;
}
.theme-product-thumb img {
	object-fit: cover;
}
.product-title {
	font-family: var(--font-display);
	font-weight: 700;
	font-size: 1.5rem;
	margin: 0.5rem 0 1rem;
}
@media (min-width: 768px) {
	.product-title { font-size: 1.875rem; }
}
.product-price {
	font-size: 1.5rem;
	font-weight: 700;
	color: var(--primary);
	margin: 0 0 1.5rem;
	font-family: var(--font-body);
}
.product-price-request {
	font-size: 1.125rem; /* Lovable text-lg */
	font-weight: 600;
	font-style: italic;
	color: var(--muted-foreground);
	font-family: var(--font-body);
	margin: 0 0 1.5rem;
}
.stock-indicator.out-of-stock {
	display: inline-block;
	margin-bottom: 1.5rem;
	font-weight: 600;
	color: #b91c1c;
}
.product-long-description {
	color: var(--muted-foreground);
	line-height: 1.75;
	margin-bottom: 2rem;
	overflow-wrap: break-word;
	word-break: break-word;
}
.product-long-description p {
	margin: 0;
}
.product-themes {
	margin-bottom: 2rem;
}
.theme-pill-row {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
}
.theme-pill {
	padding: 0.375rem 0.75rem;
	font-size: 0.75rem;
	font-weight: 500;
	border-radius: 999px;
	background: var(--secondary);
	color: var(--secondary-foreground);
}
.signed-copy-toggle {
	display: flex;
	align-items: flex-start;
	gap: 0.75rem;
	border: 1px solid var(--border);
	border-radius: var(--radius);
	padding: 1rem;
	margin-bottom: 2rem;
	cursor: pointer;
	transition: all 0.2s ease;
}
.signed-copy-toggle:hover {
	border-color: color-mix(in srgb, var(--muted-foreground) 40%, transparent);
}
.signed-copy-toggle:has(input:checked) {
	border-color: var(--gold);
	background: color-mix(in srgb, var(--gold) 10%, transparent);
}
.signed-copy-toggle input {
	margin-top: 0.125rem;
}
.signed-copy-toggle-title {
	display: block;
	font-size: 0.875rem;
	font-weight: 600;
}
.signed-copy-toggle-note {
	display: block;
	font-size: 0.75rem;
	color: var(--muted-foreground);
	margin-top: 0.25rem;
}
.mini-heading {
	font-size: 0.8125rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	margin: 0 0 0.75rem;
}
.product-details-block .mini-heading {
	margin-bottom: 1rem;
}
.product-details-block {
	border-top: 1px solid var(--border);
	padding-top: 2rem;
	margin-top: 0;
}
.product-details-list li {
	display: flex;
	align-items: flex-start;
	gap: 0.75rem;
	font-size: 0.875rem;
	color: var(--muted-foreground);
	margin-bottom: 0.5rem;
}
.bulk-order-box {
	margin-top: 2rem;
	border: 1px solid var(--border);
	border-radius: var(--card-radius);
	background: color-mix(in srgb, var(--secondary) 60%, transparent);
	padding: 1.5rem;
}
.bulk-order-box .card-title {
	margin-bottom: 0.5rem;
}
.bulk-order-box .card-text {
	margin-bottom: 1rem;
}
.review-grid, .related-video-grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 1.5rem;
}
@media (min-width: 768px) {
	.review-grid, .related-video-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
.review-card {
	padding: 1.5rem;
	background: #f5f1eb; /* Lovable --card hsl(36 25% 95%) */
}
.review-card .card-icon,
.review-card .theme-icon.card-icon {
	width: 1.5rem; /* Lovable w-6 */
	height: 1.5rem;
	margin-bottom: 0.75rem;
}
.review-card blockquote {
	font-size: 0.875rem;
	color: var(--muted-foreground);
	line-height: 1.7;
	margin: 0;
}
.review-card figcaption {
	font-size: 0.875rem;
	font-weight: 600;
	margin-top: 1rem;
}
.related-video-card {
	display: flex;
	align-items: center;
	gap: 1rem;
	text-align: left;
	border-radius: var(--card-radius);
	border: 1px solid var(--border);
	background: #f5f1eb; /* Lovable bg-card */
	padding: 1.25rem;
	transition: border-color 0.2s ease;
}
.related-video-card:hover {
	border-color: color-mix(in srgb, var(--primary) 50%, transparent);
}
.related-video-icon {
	width: 2.25rem;
	height: 2.25rem;
	color: var(--primary);
	flex-shrink: 0;
	transition: transform 0.2s ease;
}
.related-video-card:hover .related-video-icon {
	transform: scale(1.05);
}
.related-video-card span {
	font-size: 0.875rem;
	font-weight: 600;
}

/* Quantity + add-to-cart row (Section 11.13 / Lovable gap-4). */
.theme-quantity-wrapper {
	display: flex;
	align-items: center;
	border: 1px solid var(--border);
	border-radius: var(--radius);
	width: fit-content;
}
.theme-qty-minus, .theme-qty-plus {
	background: none;
	border: none;
	padding: 0.75rem 1rem;
	display: flex;
	transition: background-color 0.2s ease;
}
.theme-qty-minus:hover, .theme-qty-plus:hover {
	background: var(--secondary);
}
.theme-qty-value {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 3rem;
	padding: 0.75rem 1rem;
	font-weight: 600;
	text-align: center;
}
.theme-qty-input {
	width: 3rem;
	border: none;
	text-align: center;
	font-weight: 600;
	background: transparent;
	-moz-appearance: textfield;
}
.theme-qty-input::-webkit-outer-spin-button,
.theme-qty-input::-webkit-inner-spin-button {
	-webkit-appearance: none;
	margin: 0;
}
.theme-add-to-cart-area {
	display: flex;
	flex-direction: column;
	align-items: stretch;
	flex-wrap: wrap;
	gap: 1rem;
	margin-bottom: 2rem;
}
@media (min-width: 640px) {
	.theme-add-to-cart-area {
		flex-direction: row;
		align-items: stretch;
	}
}
.single-product .single_add_to_cart_button,
.theme-add-to-cart-area .single_add_to_cart_button {
	flex: 1 1 auto;
	min-width: 160px;
}

/* Add to cart button style override (Section 11.4.1). */
.single_add_to_cart_button.button,
.add_to_cart_button.button,
a.single_add_to_cart_button,
a.add_to_cart_button {
	background-color: var(--color-primary) !important;
	color: var(--color-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: transform 0.3s ease-out, box-shadow 0.3s ease-out, background-color 0.3s ease-out, opacity 0.3s ease-out !important;
}
.single_add_to_cart_button.button:hover,
.add_to_cart_button.button:hover {
	background-color: color-mix(in srgb, var(--color-primary) 90%, transparent) !important;
	color: var(--color-button-text) !important;
	opacity: 1 !important;
	transform: translateY(-2px);
	box-shadow: var(--shadow-elevated);
}
/* Gold / outline CTAs that also carry Woo add_to_cart classes */
a.btn-gold.add_to_cart_button,
.btn-gold.add_to_cart_button.button {
	background-color: var(--gold) !important;
	color: var(--gold-foreground) !important;
}
a.btn-gold.add_to_cart_button:hover,
.btn-gold.add_to_cart_button.button:hover {
	background-color: color-mix(in srgb, var(--gold) 90%, transparent) !important;
	color: var(--gold-foreground) !important;
	opacity: 1 !important;
	transform: none !important;
	box-shadow: none !important;
}
a.btn-outline.add_to_cart_button,
.btn-outline.add_to_cart_button.button {
	background-color: transparent !important;
	color: var(--foreground) !important;
	border: 1px solid var(--border) !important;
}
a.btn-outline.add_to_cart_button:hover,
.btn-outline.add_to_cart_button.button:hover {
	background-color: var(--accent) !important;
	color: var(--accent-foreground) !important;
	border-color: var(--accent) !important;
	opacity: 1 !important;
	transform: translateY(-2px) !important;
	box-shadow: var(--shadow-soft) !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 {
	min-height: unset !important;
	padding: var(--btn-icon-padding) !important;
	border-radius: 50% !important;
}
.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;
}

/* Hide WooCommerce's injected "View cart" link (Section 11.4.2). */
.woocommerce-page a.added_to_cart.wc-forward,
.single-product a.added_to_cart.wc-forward,
body a.added_to_cart.wc-forward {
	display: none !important;
}

/* Scoped notice visibility (Section 14.1). */
.single-product .woocommerce-message,
.single-product .woocommerce-info {
	display: none;
}
#theme-cart-drawer .woocommerce-message {
	display: none;
}
.woocommerce-message, .woocommerce-info, .woocommerce-error {
	max-width: 1400px;
	margin: 1rem auto;
	padding: 1rem 1.5rem;
	border-radius: var(--radius);
	background: var(--secondary);
	color: var(--foreground);
	font-size: 0.875rem;
	list-style: none;
}
.woocommerce-error {
	background: #fdecea;
	color: #b91c1c;
}

/* ==================================================================
   22. WOOCOMMERCE — SHOP / ARCHIVE
   ================================================================== */
.shop-archive-main {
	padding-top: calc(var(--header-height) + var(--announcement-height) + 1.5rem);
	padding-bottom: 4rem;
}

/* ==================================================================
   23. WOOCOMMERCE — SIDE CART DRAWER
   ================================================================== */
#theme-cart-overlay {
	position: fixed;
	inset: 0;
	background: rgba(33, 20, 36, 0.4);
	z-index: 90;
	opacity: 0;
	pointer-events: none;
	transition: opacity 0.3s ease;
}
body.cart-open #theme-cart-overlay {
	opacity: 1;
	pointer-events: auto;
}
#theme-cart-drawer {
	position: fixed;
	top: 0;
	right: 0;
	height: 100%;
	width: 100%;
	max-width: 28rem;
	background: var(--background);
	z-index: 91;
	box-shadow: var(--shadow-elevated);
	display: flex;
	flex-direction: column;
	transform: translateX(100%);
	transition: transform 0.35s cubic-bezier(0.25, 0.4, 0.25, 1);
}
body.cart-open #theme-cart-drawer {
	transform: translateX(0);
}
#theme-cart-drawer.is-updating {
	opacity: 0.6;
	pointer-events: none;
}
.theme-cart-drawer-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 1.5rem;
	border-bottom: 1px solid var(--border);
}
.theme-cart-drawer-header h2 {
	font-size: 1.125rem;
}
.theme-cart-drawer-close {
	background: none;
	border: none;
	padding: 0.25rem;
	display: flex;
}
.theme-cart-drawer-close:hover {
	opacity: 0.6;
}
.theme-cart-drawer-empty {
	flex: 1;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	padding: 1.5rem;
	text-align: center;
}
.theme-cart-empty-icon {
	width: 3rem;
	height: 3rem;
	color: var(--muted-foreground);
	margin-bottom: 1rem;
}
.theme-cart-drawer-items {
	flex: 1;
	overflow-y: auto;
	padding: 1.5rem;
	display: flex;
	flex-direction: column;
	gap: 1.5rem;
}
.theme-cart-drawer-item {
	display: flex;
	gap: 1rem;
}
.theme-cart-item-image-link {
	width: 5rem;
	height: 6rem;
	flex-shrink: 0;
	background: var(--secondary);
	overflow: hidden;
	border-radius: 0.5rem;
	position: relative;
}
.theme-cart-item-image-link img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
}
.theme-cart-item-body {
	flex: 1;
	min-width: 0;
}
.theme-cart-item-title {
	display: block;
	font-size: 0.875rem;
	font-weight: 500;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}
.theme-cart-item-title:hover {
	opacity: 0.7;
}
.theme-cart-item-price {
	font-size: 0.875rem;
	color: var(--muted-foreground);
	margin: 0.125rem 0 0;
}
.theme-cart-item-variation {
	font-size: 0.75rem;
	color: var(--muted-foreground);
	margin: 0.125rem 0 0;
	text-transform: capitalize;
}
.theme-cart-item-controls {
	display: flex;
	align-items: center;
	gap: 0.75rem;
	margin-top: 0.75rem;
}
.theme-cart-qty-btn {
	background: none;
	border: none;
	padding: 0.25rem;
	display: flex;
	border-radius: 0.25rem;
}
.theme-cart-qty-btn:hover {
	background: var(--secondary);
}
.theme-cart-qty-value {
	font-size: 0.875rem;
	width: 1.5rem;
	text-align: center;
}
.theme-cart-remove-btn {
	margin-left: auto;
	background: none;
	border: none;
	font-size: 0.875rem;
	color: var(--muted-foreground);
}
.theme-cart-remove-btn:hover {
	color: var(--foreground);
}
.theme-cart-drawer-footer {
	padding: 1.5rem;
	border-top: 1px solid var(--border);
	display: flex;
	flex-direction: column;
	gap: 1rem;
}
.theme-cart-subtotal-row {
	display: flex;
	justify-content: space-between;
	font-size: 0.875rem;
}
.theme-cart-shipping-note {
	font-size: 0.875rem;
	color: var(--muted-foreground);
	margin: 0;
}

/* ==================================================================
   24. WOOCOMMERCE — CHECKOUT BLOCK (Sections 13.x)
   ================================================================== */
body.woocommerce-checkout .site-main {
	padding-top: calc(var(--header-height) + var(--announcement-height) + 1rem);
	padding-bottom: 4rem;
}
body.woocommerce-checkout .entry-content {
	max-width: 100%;
}
body.woocommerce-checkout .wc-block-checkout {
	display: block;
	font-family: var(--font-body);
}
@media (min-width: 768px) {
	body.woocommerce-checkout .wc-block-components-sidebar-layout.wc-block-checkout.is-large {
		display: grid;
		grid-template-columns: 1fr 1fr;
		gap: var(--checkout-gap);
		align-items: start;
	}
}
body.woocommerce-checkout .wc-block-checkout__main,
body.woocommerce-checkout .wc-block-checkout__sidebar {
	min-width: 0;
	width: 100%;
	max-width: none;
}
body.woocommerce-checkout .wc-block-components-text-input input,
body.woocommerce-checkout .wc-block-components-select select {
	width: 100% !important;
	max-width: none !important;
	font-family: var(--font-body);
	border: 1px solid var(--border);
	border-radius: var(--radius);
	background: #fff;
	color: var(--foreground);
	padding: revert;
}
body.woocommerce-checkout .wc-block-components-text-input input:focus,
body.woocommerce-checkout .wc-block-components-select select:focus {
	outline: none;
	box-shadow: 0 0 0 2px color-mix(in srgb, var(--primary) 40%, transparent);
}
body.woocommerce-checkout .wc-block-components-checkout-place-order-button {
	background: var(--primary) !important;
	color: var(--primary-foreground) !important;
	border-radius: var(--btn-radius) !important;
	font-family: var(--font-body) !important;
	font-weight: 700 !important;
}
body.woocommerce-checkout .wc-block-components-checkout-place-order-button:hover {
	opacity: 0.9;
}
body.woocommerce-checkout .wc-block-checkout__sidebar {
	background-color: var(--secondary);
	border-radius: var(--card-radius);
	padding: var(--section-padding);
}
body.woocommerce-checkout .wc-block-components-notice-banner {
	grid-column: 1 / -1;
	border-radius: var(--radius);
}

/* ==================================================================
   25. WOOCOMMERCE — THANK YOU PAGE (Section 22.8)
   ================================================================== */
body.theme-thankyou-page {
	overflow-x: hidden;
}
body.theme-thankyou-page .site-main {
	padding-top: calc(var(--header-height) + var(--announcement-height) + 1rem);
	padding-bottom: 4rem;
}
body.theme-thankyou-page .woocommerce-order,
body.theme-thankyou-page .woocommerce-order-details {
	max-width: 100%;
}
body.theme-thankyou-page .woocommerce-order h2,
body.theme-thankyou-page .woocommerce-order-details__title {
	font-size: 1.5rem;
	padding: 0 0 1rem 0;
}
body.theme-thankyou-page .woocommerce-order-overview {
	display: flex;
	flex-wrap: wrap;
	gap: 1.5rem;
	list-style: none;
	padding: 1.5rem;
	background: var(--secondary);
	border-radius: var(--card-radius);
	margin-bottom: 2rem;
}
body.theme-thankyou-page .woocommerce-order-overview li {
	font-size: 0.875rem;
}
body.theme-thankyou-page .woocommerce-order-details table {
	width: 100%;
	table-layout: fixed;
	border-collapse: collapse;
	margin-bottom: 2rem;
}
body.theme-thankyou-page .woocommerce-order-details th,
body.theme-thankyou-page .woocommerce-order-details td {
	padding: 0.75rem;
	border-bottom: 1px solid var(--border);
	text-align: left;
}
body.theme-thankyou-page .woocommerce-order-details tfoot th {
	text-align: left;
}
body.theme-thankyou-page .woocommerce-order-details tfoot td {
	text-align: right;
}
body.theme-thankyou-page .woocommerce-customer-details {
	display: flex;
	flex-direction: column;
	gap: 1.5rem;
}
@media (min-width: 768px) {
	body.theme-thankyou-page .woocommerce-customer-details {
		display: grid;
		grid-template-columns: 1fr 1fr;
		gap: 2rem;
		align-items: start;
	}
}
body.theme-thankyou-page .woocommerce-customer-details address {
	min-width: 0;
	max-width: 480px;
	overflow-wrap: break-word;
	border: 1px solid var(--border);
	border-radius: var(--radius);
	padding: 1rem;
}

/* ==================================================================
   26. WOOCOMMERCE — CART / MY ACCOUNT WIDTH PARITY (Section 13.7)
   ================================================================== */
body.woocommerce-cart .site-main,
body.woocommerce-account .site-main {
	padding-top: calc(var(--header-height) + var(--announcement-height) + 1rem);
	padding-bottom: 4rem;
}
