/* ==========================================================================
   JNK Nwela theme stylesheet
   ========================================================================== */

:root {
	--color-background: #f8f6f2;
	--color-foreground: #1d2621;
	--color-primary: #b75734;
	--color-primary-foreground: #faf8f4;
	--color-secondary: #ece8df;
	--color-secondary-foreground: #27342e;
	--color-muted: #d8d4ca;
	--color-muted-foreground: #505e57;
	--color-accent: #db9224;
	--color-accent-foreground: #1d2621;
	--color-destructive: #c32222;
	--color-border: #d4cfc4;
	--color-rosa: #a34d33;
	--color-marigold: #cc811e;
	--color-teal: #406450;
	--color-butter: #ede8de;
	--color-surface-deep: #1d2b25;
	--color-surface-deep-foreground: #f3efe8;

	--color-button-text: var(--color-primary-foreground);
	--font-display: 'Fraunces', serif;
	--font-body: 'Karla', sans-serif;

	/* Typography scale (Tailwind-aligned, matches src/index.css). */
	--text-micro: 0.6875rem;   /* 11px — hero/CTA buttons, tile taglines */
	--text-kicker: 0.75rem;    /* 12px — section kickers, nav, links */
	--text-meta: 0.8125rem;    /* 13px — announcement, breadcrumbs */
	--text-body-note: 0.9375rem; /* 15px — FAQ answers, team bios */
	--leading-tight: 1.25;
	--leading-snug: 1.375;
	--leading-relaxed: 1.625;

	--radius: 0.75rem;
	--btn-radius: 0;
	--btn-height: 3.25rem;
	--btn-padding: 0 2rem;
	--btn-font-size: 0.875rem;
	--btn-font-size-compact: 0.6875rem;
	--btn-font-weight: 500;
	--btn-letter-spacing: 0.25em;
	--btn-letter-spacing-wide: 0.28em;
	--btn-text-transform: uppercase;
	--btn-icon-padding: 0;
	--logo-height: 56px;
	--header-height: 80px;
	--checkout-gap: 2rem;
	--checkout-max-width: 1280px;

	--shadow-soft: 0 4px 20px -4px rgb(29 38 33 / 0.10);
	--shadow-elevated: 0 8px 40px -8px rgb(29 38 33 / 0.22);
	--ease-smooth: cubic-bezier(0.4, 0, 0.2, 1);
}

/* ==========================================================================
   Reset & base
   ========================================================================== */
* { box-sizing: border-box; }
html, body { max-width: 100%; overflow-x: clip; }
.site-main,
.site-footer {
	max-width: 100%;
	overflow-x: clip;
}
body {
	margin: 0;
	background: var(--color-background);
	color: var(--color-foreground);
	font-family: var(--font-body);
	font-weight: 400;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	line-height: 1.5;
}
p, li {
	text-wrap: pretty;
}
img { max-width: 100%; display: block; }
img:not(.cover-img):not(.hero-bg-img):not(.product-card-img):not(.theme-product-card__image):not(.theme-product-gallery__main-img):not(.theme-product-gallery__stack-img):not(.theme-related-card__image):not(.theme-product-thumb img) {
	max-width: 100%;
	height: auto;
}
.cover-img,
.hero-bg-img,
.product-card-img,
.theme-product-card__image {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
}
.theme-product-gallery__main-img,
.theme-product-gallery__stack-img {
	position: static !important;
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}
a { color: inherit; text-decoration: none; cursor: pointer; }
button { font-family: inherit; cursor: pointer; background: none; border: none; }

/* Clickable elements — consistent pointer cursor (task 12). */
a[href],
button,
[role="button"],
.theme-link-underline,
.browse-tile,
.theme-cat-filter,
.faq-item__trigger,
.site-header__brand,
.site-header__icon-btn,
.announcement-bar__dismiss,
.addon-tile,
.theme-product-card > .theme-card-link,
.theme-nav-list a,
label[for] {
	cursor: pointer;
}

/* Base headings — matches src/index.css @layer base (Fraunces display). */
h1, h2, h3, h4, h5, h6 {
	font-family: var(--font-display);
	font-weight: 400;
	letter-spacing: -0.015em;
	text-wrap: balance;
	margin: 0;
}

button, a {
	transition: color 0.25s var(--ease-smooth), background-color 0.25s var(--ease-smooth),
		border-color 0.25s var(--ease-smooth), transform 0.2s var(--ease-smooth),
		box-shadow 0.25s var(--ease-smooth), opacity 0.25s var(--ease-smooth);
}
button:active, a:active { transform: scale(0.97); }

@media (prefers-reduced-motion: reduce) {
	button:active, a:active { transform: none; }
}

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

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

/* ==========================================================================
   Buttons — sentence case for hero/CTA, never global uppercase leak (2.2.4)
   ========================================================================== */
.theme-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.5rem;
	border-radius: var(--btn-radius);
	min-height: var(--btn-height);
	padding: var(--btn-padding);
	font-family: var(--font-display);
	font-size: var(--btn-font-size);
	font-weight: var(--btn-font-weight);
	letter-spacing: var(--btn-letter-spacing);
	text-transform: var(--btn-text-transform);
	cursor: pointer;
}
.theme-btn-dark { background: var(--color-foreground); color: var(--color-background); }
.theme-btn-dark:hover { background: color-mix(in srgb, var(--color-foreground) 90%, transparent); }
.theme-btn-primary { background: var(--color-primary); color: var(--color-primary-foreground); border: none; border-radius: 0.375rem; }
.theme-btn-primary:hover { opacity: 0.9; }
.theme-btn-rosa {
	background: var(--color-rosa);
	color: var(--color-background);
	padding: 1rem 2.25rem;
	min-height: auto;
	font-family: var(--font-display);
	font-size: var(--btn-font-size-compact);
	letter-spacing: var(--btn-letter-spacing-wide);
	text-transform: uppercase;
}
.theme-btn-rosa:hover { background: color-mix(in srgb, var(--color-rosa) 90%, transparent); }
.theme-btn-outline { background: transparent; border: 1px solid var(--color-border); color: var(--color-foreground); }
.theme-btn-outline:hover { background: var(--color-secondary); }
.theme-btn-full { width: 100%; }
.theme-btn-hero, .single_add_to_cart_button, .add_to_cart_button {
	text-transform: none;
}
.theme-btn-hero { text-transform: uppercase; } /* Hero CTA IS uppercase in the source; single_add_to_cart_button/add_to_cart_button are not — see 11.4.1 override below which sets its own transform. */

/* ==========================================================================
   Section heading system — per-section scales (Section 2.2.5), no global clamp
   ========================================================================== */
.section-kicker {
	display: block;
	font-size: var(--text-kicker);
	letter-spacing: 0.32em;
	text-transform: uppercase;
	font-family: var(--font-body);
	font-weight: 400;
	margin-bottom: 0.75rem;
}
.section-heading {
	font-family: var(--font-display);
	font-weight: 400;
	line-height: var(--leading-tight);
	text-wrap: balance;
}
.section-kicker--teal { color: var(--color-teal); }
.section-kicker--rosa { color: var(--color-rosa); }
.section-kicker--marigold { color: var(--color-marigold); }

/* Anchor scroll offset (matches React scroll-mt-24). */
.scroll-reveal-section,
.hero-section,
.browse-section,
.featured-section,
.about-section,
.owner-section,
.team-section,
.testimonials-section,
.services-section,
.addons-section,
.explore-section,
.gallery-section,
.shop-section,
.faq-section,
.cta-band {
	scroll-margin-top: 6rem;
}
.section-description {
	color: var(--color-muted-foreground);
	line-height: var(--leading-relaxed);
}
.section-heading-block { text-align: center; margin-bottom: 2.5rem; }
.section-heading-block--narrow { max-width: 42rem; margin-left: auto; margin-right: auto; }

/* text-3xl md:text-4xl */
.browse-section__heading { font-size: 1.875rem; }
@media (min-width: 768px) { .browse-section__heading { font-size: 2.25rem; } }

/* text-3xl md:text-5xl leading-tight */
.featured-section .section-heading,
.shop-heading,
.faq-section .section-heading,
.testimonials-section .section-heading,
.team-section .section-heading {
	font-size: 1.875rem;
}
@media (min-width: 768px) {
	.featured-section .section-heading,
	.shop-heading,
	.faq-section .section-heading,
	.testimonials-section .section-heading,
	.team-section .section-heading { font-size: 3rem; }
}

/* font-semibold text-3xl md:text-4xl tracking-tight */
.about-section .section-heading {
	font-size: 1.875rem;
	font-weight: 600;
	letter-spacing: -0.025em;
}
@media (min-width: 768px) { .about-section .section-heading { font-size: 2.25rem; } }

/* text-4xl md:text-5xl lg:text-6xl */
.owner-section .section-heading,
.explore-section .section-heading {
	font-size: 2.25rem;
}
@media (min-width: 768px) {
	.owner-section .section-heading,
	.explore-section .section-heading { font-size: 3rem; }
}
@media (min-width: 1024px) {
	.owner-section .section-heading,
	.explore-section .section-heading { font-size: 3.75rem; }
}

/* text-4xl md:text-6xl lg:text-7xl leading-[1.05] tracking-tight */
.services-section__title {
	font-size: 2.25rem;
	letter-spacing: -0.025em;
	line-height: 1.05;
}
@media (min-width: 768px) { .services-section__title { font-size: 3.75rem; } }
@media (min-width: 1024px) { .services-section__title { font-size: 4.5rem; } }

/* text-4xl md:text-5xl lg:text-6xl */
.addons-section__title {
	font-size: 2.25rem;
	letter-spacing: -0.025em;
	line-height: 1.05;
}
@media (min-width: 768px) { .addons-section__title { font-size: 3rem; } }
@media (min-width: 1024px) { .addons-section__title { font-size: 3.75rem; } }

/* text-3xl md:text-5xl lg:text-6xl */
.gallery-section__title {
	font-size: 1.875rem;
	letter-spacing: -0.025em;
	line-height: 1.05;
}
@media (min-width: 768px) { .gallery-section__title { font-size: 3rem; } }
@media (min-width: 1024px) { .gallery-section__title { font-size: 3.75rem; } }

/* text-3xl md:text-5xl lg:text-6xl */
.cta-band__title {
	font-size: 1.875rem;
}
@media (min-width: 768px) { .cta-band__title { font-size: 3rem; } }
@media (min-width: 1024px) { .cta-band__title { font-size: 3.75rem; } }

/* ==========================================================================
   Announcement bar
   ========================================================================== */
.announcement-bar { position: relative; background: var(--color-foreground); color: var(--color-background); overflow-x: clip; }
.announcement-bar__inner { padding: 0.5rem 2.5rem 0.5rem 1.5rem; text-align: center; }
.announcement-bar__text { font-size: var(--text-meta); letter-spacing: 0.18em; text-transform: uppercase; font-family: var(--font-body); margin: 0; overflow-wrap: anywhere; }
.announcement-bar__dismiss { position: absolute; right: 0.75rem; top: 50%; transform: translateY(-50%); opacity: 0.7; color: inherit; padding: 0.25rem; }
.announcement-bar__dismiss:hover { opacity: 1; }
.announcement-bar__dismiss svg { width: 14px; height: 14px; }

/* ==========================================================================
   Header
   ========================================================================== */
.site-header {
	position: sticky;
	top: 0; left: 0; right: 0;
	z-index: 50;
	max-width: 100%;
	overflow-x: clip;
	background: var(--color-background);
	border-bottom: 1px solid transparent;
	transition: background-color 0.3s var(--ease-smooth), border-color 0.3s var(--ease-smooth);
}
.site-header.is-scrolled {
	background: color-mix(in srgb, var(--color-background) 95%, transparent);
	backdrop-filter: blur(6px);
	border-bottom-color: var(--color-border);
}

/* WordPress admin bar — keep sticky header below the toolbar in preview/admin. */
.admin-bar .site-header {
	top: 32px;
}
@media screen and (max-width: 782px) {
	.admin-bar .site-header {
		top: 46px;
	}
}
.admin-bar .theme-scroll-progress {
	top: 32px;
}
@media screen and (max-width: 782px) {
	.admin-bar .theme-scroll-progress {
		top: 46px;
	}
}
.site-header__nav { display: flex; align-items: center; justify-content: space-between; height: 5rem; position: relative; min-width: 0; }
.site-header__brand { display: flex; align-items: center; gap: 0.75rem; min-width: 0; flex: 1 1 auto; }
.site-logo-img { height: 3rem !important; width: auto !important; display: block; object-fit: contain; }
@media (min-width: 768px) { .site-logo-img { height: var(--logo-height) !important; } }
.site-logo-text { font-family: var(--font-display); font-size: 1.125rem; font-weight: 600; line-height: 1; display: block; }
.site-header__brand-text { display: none; flex-direction: column; line-height: 1; min-width: 0; }
@media (min-width: 640px) { .site-header__brand-text { display: flex; } }
.site-header__brand-name { font-family: var(--font-display); font-size: 1rem; font-weight: 600; letter-spacing: -0.01em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
@media (min-width: 768px) { .site-header__brand-name { font-size: 1.125rem; } }
.site-header__brand-llc,
.site-footer__brand-llc { font-style: italic; font-weight: 300; color: var(--color-primary); }
.site-header__brand-tagline { font-size: var(--text-micro); letter-spacing: 0.28em; text-transform: uppercase; font-family: var(--font-body); color: var(--color-muted-foreground); margin-top: 0.25rem; }

.site-header__nav-center { display: none; }
@media (min-width: 1024px) {
	.site-header__nav-center {
		display: flex;
		align-items: center;
		gap: 1rem;
		position: absolute;
		left: 50%;
		transform: translateX(-50%);
		max-width: calc(100% - 14rem);
	}
}
@media (min-width: 1280px) {
	.site-header__nav-center { gap: 1.75rem; max-width: calc(100% - 16rem); }
	.site-header__nav-center .theme-nav-list { gap: 1.75rem; }
}
.theme-nav-list { display: flex; align-items: center; gap: 1rem; list-style: none; margin: 0; padding: 0; }
.site-header__nav-center .theme-nav-link {
	font-family: var(--font-display);
	font-weight: 500;
	font-size: var(--text-kicker);
	letter-spacing: 0.2em;
	text-transform: uppercase;
	position: relative;
	display: inline-block;
	background: none;
	border: none;
	padding: 0;
	white-space: nowrap;
}
.site-header__nav-center .theme-nav-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);
}
.site-header__nav-center .theme-nav-link:hover::after { transform: scaleX(1); }

.site-header__actions { display: flex; align-items: center; gap: 0.5rem; flex-shrink: 0; }
@media (min-width: 768px) { .site-header__actions { gap: 0.75rem; } }
.site-header__icon-btn { position: relative; padding: 0.5rem; }
.site-header__icon-btn:hover { opacity: 0.6; }
.site-header__icon-btn svg { width: 20px; height: 20px; }
.site-header__search-btn { display: none; }
@media (min-width: 768px) { .site-header__search-btn { display: inline-flex; } }
.site-header__menu-btn { display: inline-flex; }
@media (min-width: 1024px) { .site-header__menu-btn { display: none; } }
.icon-menu-close { display: none; }
.site-header__menu-btn.is-open .icon-menu-open { display: none; }
.site-header__menu-btn.is-open .icon-menu-close { display: block; }

.site-header__cart-btn .theme-cart-count {
	position: absolute;
	top: -2px;
	right: -2px;
	min-width: 1.25rem;
	height: 1.25rem;
	padding: 0 0.25rem;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 0.75rem;
	font-weight: 500;
	font-family: var(--font-body);
	line-height: 1;
	background: var(--color-primary);
	color: var(--color-primary-foreground);
}
.site-header__cart-btn .theme-cart-count:empty { display: none; }

.site-header__mobile-nav { display: none; border-top: 1px solid var(--color-border); padding-block: 1rem; }
.site-header__mobile-nav.is-open { display: block; animation: themeFadeIn 0.6s var(--ease-smooth) forwards; }
@keyframes themeFadeIn {
	from { opacity: 0; }
	to { opacity: 1; }
}
.site-header__mobile-nav .theme-nav-list,
.theme-nav-list--mobile {
	flex-direction: column;
	align-items: flex-start;
	gap: 1rem;
	width: 100%;
}
.site-header__mobile-nav .theme-nav-list > li,
.theme-nav-list--mobile > li { width: 100%; }
.site-header__mobile-nav .theme-nav-link,
.site-header__mobile-nav .theme-nav-list a {
	display: block;
	width: 100%;
	text-align: left;
	padding: 0.5rem 0;
	font-family: var(--font-display);
	font-size: 0.875rem;
	font-weight: 400;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	transition: color 0.3s var(--ease-smooth);
}
.site-header__mobile-nav .theme-nav-link::after,
.site-header__mobile-nav .theme-nav-list a::after { display: none; }
.site-header__mobile-nav .theme-nav-link:hover,
.site-header__mobile-nav .theme-nav-list a:hover { color: var(--color-muted-foreground); }
@media (min-width: 1024px) { .site-header__mobile-nav { display: none !important; } }

.theme-scroll-progress { position: fixed; top: 0; left: 0; right: 0; z-index: 60; height: 2px; background: transparent; pointer-events: none; }
.theme-scroll-progress__bar { height: 100%; width: 0; background: var(--color-primary); transition: width 0.15s ease-out; }

/* ==========================================================================
   Hero
   ========================================================================== */
.hero-section { position: relative; background: var(--color-background); }
.hero-section__media { position: relative; width: 100%; height: 78vh; min-height: 560px; overflow: hidden; }
@media (min-width: 768px) { .hero-section__media { height: 88vh; min-height: 680px; } }
.hero-section__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-section__scrim { position: absolute; inset: 0; background: linear-gradient(to right, color-mix(in srgb, white 90%, transparent), color-mix(in srgb, white 60%, transparent), transparent); }
.hero-section__inner { position: absolute; inset: 0; display: flex; align-items: center; }
.hero-section__content { max-width: 34rem; }
.hero-section__title {
	font-family: var(--font-display);
	font-size: 3rem;
	line-height: 1.05;
	font-weight: 400;
	color: var(--color-foreground);
	margin-bottom: 1.5rem;
	max-width: 32rem;
	text-shadow: 0 1px 6px rgb(255 255 255 / 0.3);
}
@media (min-width: 768px) { .hero-section__title { font-size: 3.75rem; } }
@media (min-width: 1280px) { .hero-section__title { font-size: 4.5rem; } }
.hero-section__subtitle {
	font-family: var(--font-body);
	font-size: 1rem;
	line-height: var(--leading-relaxed);
	color: color-mix(in srgb, var(--color-foreground) 90%, transparent);
	margin-bottom: 2.5rem;
	max-width: 26rem;
}
@media (min-width: 768px) { .hero-section__subtitle { font-size: 1.125rem; } }
.theme-btn-hero {
	padding: 1.25rem 3rem;
	font-size: var(--btn-font-size-compact);
	letter-spacing: var(--btn-letter-spacing-wide);
	font-weight: 500;
}

/* ==========================================================================
   Scroll reveal (Section 2.1)
   ========================================================================== */
.reveal-item, .theme-product-card-wrap {
	opacity: 0;
	transform: translateY(24px);
	transition: opacity 0.7s var(--ease-smooth), transform 0.7s var(--ease-smooth);
	will-change: opacity, transform;
}
.reveal-item.is-visible, .theme-product-card-wrap.is-visible { opacity: 1; transform: none; }
body.is-customizer .reveal-item,
body.is-customizer .theme-product-card-wrap { opacity: 1 !important; transform: none !important; }

@media (prefers-reduced-motion: reduce) {
	.reveal-item, .theme-product-card-wrap { opacity: 1; transform: none; transition: none; }
}

/* ==========================================================================
   Browse tiles
   ========================================================================== */
.browse-section { padding: 4rem 0; }
@media (min-width: 768px) { .browse-section { padding: 5rem 0; } }
.browse-section__grid { display: grid; grid-template-columns: 1fr; gap: 1rem; max-width: 56rem; margin: 0 auto; }
@media (min-width: 768px) { .browse-section__grid { grid-template-columns: 1fr 1fr; gap: 1.5rem; } }
.browse-tile { position: relative; display: block; aspect-ratio: 3 / 4; overflow: hidden; }
.browse-tile__image { transition: transform 0.7s var(--ease-smooth); }
.browse-tile:hover .browse-tile__image { transform: scale(1.05); }
.browse-tile__scrim { position: absolute; inset: 0; background: linear-gradient(to top, color-mix(in srgb, var(--color-foreground) 85%, transparent), color-mix(in srgb, var(--color-foreground) 40%, transparent), color-mix(in srgb, var(--color-foreground) 10%, transparent)); transition: background 0.5s; }
.browse-tile:hover .browse-tile__scrim { background: linear-gradient(to top, color-mix(in srgb, var(--color-foreground) 90%, transparent), color-mix(in srgb, var(--color-foreground) 45%, transparent), color-mix(in srgb, var(--color-foreground) 15%, transparent)); }
.browse-section .section-kicker { margin-bottom: 0.75rem; }
.browse-tile__content { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: flex-end; padding: 1.5rem; text-align: left; color: var(--color-background); text-shadow: 0 1px 8px rgb(0 0 0 / 0.45); }
@media (min-width: 768px) { .browse-tile__content { padding: 1.75rem; } }
.browse-tile__tagline { display: inline-flex; align-items: center; gap: 0.5rem; font-size: var(--text-micro); font-family: var(--font-body); letter-spacing: 0.3em; text-transform: uppercase; margin-bottom: 0.5rem; filter: brightness(1.5); }
.browse-tile__tagline::before { content: ''; width: 1.5rem; height: 1px; background: currentColor; }
.browse-tile__tagline--teal { color: var(--color-teal); }
.browse-tile__tagline--rosa { color: var(--color-rosa); }
.browse-tile__label { font-family: var(--font-display); font-size: 1.5rem; font-weight: 400; margin-bottom: 0.5rem; color: var(--color-background); }
@media (min-width: 768px) { .browse-tile__label { font-size: 1.875rem; } }
.browse-tile__cta { display: inline-flex; align-items: center; gap: 0.375rem; font-size: var(--text-kicker); font-family: var(--font-body); letter-spacing: 0.22em; text-transform: uppercase; color: var(--color-background); }
.browse-tile__cta svg { width: 12px; height: 12px; }

/* ==========================================================================
   Product grid / card (Section 31.9, 31.13)
   ========================================================================== */
.theme-product-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 1.5rem;
	align-items: stretch;
}
@media (min-width: 768px) { .theme-product-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2rem; } }
@media (min-width: 1024px) { .theme-product-grid--shop { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.featured-section { padding: 4rem 0; }
@media (min-width: 768px) { .featured-section { padding: 6rem 0; } }
.featured-section .section-heading-block { margin-bottom: 3.5rem; }
.featured-section .section-kicker { margin-bottom: 0.75rem; }
.featured-section__more { text-align: center; margin-top: 3.5rem; }
.theme-product-grid--featured { grid-template-columns: repeat(1, minmax(0, 1fr)); gap: 2rem; }
@media (min-width: 768px) { .theme-product-grid--featured { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .theme-product-grid--featured { gap: 3rem; } }
.theme-product-grid--related { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 1024px) { .theme-product-grid--related { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

.theme-product-card-wrap { display: flex; }
.theme-product-card { display: flex; flex-direction: column; height: 100%; width: 100%; position: relative; }
.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__quick-add,
.theme-product-card .add_to_cart_button { pointer-events: auto; }

.theme-product-card-wrap.is-visible:hover { transform: translateY(-4px); }
.theme-product-card__image-wrapper {
	position: relative;
	aspect-ratio: 3 / 4;
	background: var(--color-secondary);
	overflow: hidden;
	margin-bottom: 1.25rem;
}
.theme-product-card__image { transition: transform 0.7s var(--ease-smooth); }
.theme-product-card:hover .theme-product-card__image { transform: scale(1.04); }
.theme-product-card__image.is-sold-out { opacity: 0.6; }
.theme-product-card__badge {
	position: absolute; top: 0.75rem; left: 0.75rem; z-index: 3;
	padding: 0.25rem 0.75rem; font-size: var(--text-kicker); font-family: var(--font-body); font-weight: 500; text-transform: uppercase; letter-spacing: 0.18em;
	background: var(--color-foreground); color: var(--color-background); border-radius: 999px;
}
.theme-product-card__quick-add {
	position: absolute; bottom: 0.75rem; right: 0.75rem; z-index: 3;
	width: 2.5rem; height: 2.5rem; border-radius: 50%;
	display: flex; align-items: center; justify-content: center;
	background: var(--color-background); color: var(--color-foreground);
	box-shadow: var(--shadow-soft);
	opacity: 0;
}
.theme-product-card:hover .theme-product-card__quick-add { opacity: 1; }
@media (max-width: 767px) { .theme-product-card__quick-add { opacity: 1; } }
.theme-product-card__quick-add svg { width: 16px; height: 16px; }
.theme-product-card__quick-add--link { pointer-events: none; }
.theme-product-card__info { flex: 1; text-align: center; margin-top: 1rem; display: flex; flex-direction: column; gap: 0.5rem; }
.theme-product-card__title {
	font-size: 0.875rem;
	font-family: var(--font-body);
	font-weight: 500;
	text-transform: uppercase;
	letter-spacing: 0.15em;
	line-height: var(--leading-snug);
}
@media (min-width: 768px) { .theme-product-card__title { font-size: 1rem; } }
.theme-product-card:hover .theme-product-card__title { color: var(--color-primary); }
.theme-product-card__price { font-size: 1rem; font-family: var(--font-body); font-weight: 400; line-height: var(--leading-tight); }
@media (min-width: 768px) { .theme-product-card__price { font-size: 1.125rem; } }
.theme-product-card__price .woocommerce-Price-amount { font-weight: 400; }
.theme-product-card__unit { font-size: 0.875rem; color: var(--color-muted-foreground); }

/* ==========================================================================
   About / Owner / Team
   ========================================================================== */
.about-section { padding: 5rem 1.5rem; }
@media (min-width: 768px) { .about-section { padding: 7rem 3.5rem; } }
@media (min-width: 1024px) { .about-section { padding-left: 5rem; padding-right: 5rem; } }
.about-section__inner { max-width: 42rem; margin: 0 auto; text-align: center; }
.about-section .section-kicker { margin-bottom: 1.25rem; }
.about-section .section-heading { margin-bottom: 2rem; }
.about-section__paragraph { font-family: var(--font-body); color: color-mix(in srgb, var(--color-foreground) 80%, transparent); line-height: var(--leading-relaxed); margin-bottom: 1.25rem; }
.about-section__paragraph:last-of-type { margin-bottom: 2.5rem; }
.about-section .theme-link-underline { font-family: var(--font-display); font-weight: 500; letter-spacing: 0.28em; }

.owner-section__grid { display: grid; grid-template-columns: 1fr; align-items: stretch; }
@media (min-width: 1024px) { .owner-section__grid { grid-template-columns: 1fr 1fr; } }
.owner-section__image-col { position: relative; min-height: 380px; }
@media (min-width: 768px) { .owner-section__image-col { min-height: 520px; } }
@media (min-width: 1024px) { .owner-section__image-col { min-height: 620px; } }
.owner-section__image { object-position: top; }
.owner-section__text-col { display: flex; align-items: center; background: var(--color-background); padding: 4rem 1.5rem; }
@media (min-width: 768px) { .owner-section__text-col { padding: 6rem 3.5rem; } }
@media (min-width: 1024px) { .owner-section__text-col { padding-left: 5rem; padding-right: 5rem; } }
@media (min-width: 1280px) { .owner-section__text-col { padding-left: 6rem; padding-right: 6rem; } }
.owner-section .section-kicker { margin-bottom: 1.25rem; }
.owner-section .section-heading { margin-bottom: 1.75rem; }
.owner-section__text { max-width: 36rem; }
.owner-section__quote { font-family: var(--font-display); font-style: italic; font-size: 1.25rem; line-height: var(--leading-snug); color: color-mix(in srgb, var(--color-foreground) 85%, transparent); margin-bottom: 2rem; }
@media (min-width: 768px) { .owner-section__quote { font-size: 1.5rem; } }
.owner-section__bio { font-family: var(--font-body); color: color-mix(in srgb, var(--color-foreground) 75%, transparent); line-height: var(--leading-relaxed); margin-bottom: 1.25rem; }

.team-section { padding: 5rem 0; }
@media (min-width: 768px) { .team-section { padding: 7rem 0; } }
.team-section .section-heading-block { margin-bottom: 3rem; }
@media (min-width: 768px) { .team-section .section-heading-block { margin-bottom: 4rem; } }
.team-section .section-kicker { margin-bottom: 1rem; }
.team-section .section-heading { margin-bottom: 1.25rem; }
.team-section__grid { display: grid; grid-template-columns: 1fr; gap: 2rem; }
@media (min-width: 640px) { .team-section__grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .team-section__grid { grid-template-columns: repeat(3, 1fr); gap: 2.5rem; } }
.team-member { text-align: center; }
.team-member__image-wrap { position: relative; aspect-ratio: 4 / 5; overflow: hidden; border-radius: 2px; margin-bottom: 1.25rem; }
.team-member__name { font-family: var(--font-display); font-size: 1.25rem; font-weight: 400; margin-bottom: 0.25rem; }
@media (min-width: 768px) { .team-member__name { font-size: 1.5rem; } }
.team-member__role { font-size: var(--text-kicker); font-family: var(--font-body); letter-spacing: 0.24em; text-transform: uppercase; color: var(--color-teal); margin-bottom: 0.75rem; }
.team-member__bio { font-size: var(--text-body-note); font-family: var(--font-body); color: var(--color-muted-foreground); line-height: var(--leading-relaxed); max-width: 20rem; margin: 0 auto; }

/* ==========================================================================
   Testimonials
   ========================================================================== */
.testimonials-section { position: relative; overflow: hidden; padding: 5rem 0; }
@media (min-width: 768px) { .testimonials-section { padding: 7rem 0; } }
.testimonials-section__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; }
.testimonials-section__inner { position: relative; z-index: 1; }
.testimonials-section .section-heading-block { position: relative; margin-bottom: 3rem; }
@media (min-width: 768px) { .testimonials-section .section-heading-block { margin-bottom: 4rem; } }
.testimonials-section__glow {
	pointer-events: none;
	position: absolute;
	left: 50%;
	top: 50%;
	transform: translate(-50%, -50%);
	width: 420px;
	height: 220px;
	border-radius: 9999px;
	background: color-mix(in srgb, var(--color-butter) 60%, transparent);
	filter: blur(64px);
}
.testimonials-section .section-kicker,
.testimonials-section .section-heading { position: relative; }
.testimonials-section .section-kicker { margin-bottom: 1rem; }
.testimonials-section__grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 1.5rem; /* gap-6 */
	align-items: stretch;
}
@media (min-width: 768px) {
	.testimonials-section__grid {
		grid-template-columns: repeat(3, minmax(0, 1fr)); /* md:grid-cols-3 */
		gap: 2rem; /* md:gap-8 */
	}
}
.testimonial-card {
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	height: 100%;
	background: var(--color-background);
	border: 1px solid var(--color-border);
	border-radius: 0.125rem; /* rounded-sm */
	padding: 1.75rem; /* p-7 */
}
@media (min-width: 768px) { .testimonial-card { padding: 2rem; } } /* md:p-8 */
.testimonial-card__body { flex: 1 1 auto; min-height: 0; }
.testimonial-card__stars { display: flex; gap: 0.25rem; margin-bottom: 1.25rem; } /* gap-1 mb-5 */
.testimonial-card__stars svg { width: 1rem; height: 1rem; color: var(--color-marigold); flex-shrink: 0; }
.testimonial-card__stars svg.is-filled { fill: var(--color-marigold); }
.testimonial-card__quote {
	font-family: var(--font-display);
	font-style: italic;
	font-size: 1.125rem; /* text-lg */
	line-height: var(--leading-snug);
	color: color-mix(in srgb, var(--color-foreground) 85%, transparent);
	margin: 0 0 1.75rem; /* mb-7 — reset blockquote UA margin */
}
@media (min-width: 768px) { .testimonial-card__quote { font-size: 1.25rem; } } /* md:text-xl */
.testimonial-card figcaption { margin: 0; }
.testimonial-card__name { font-family: var(--font-body); font-size: 0.875rem; font-weight: 500; margin: 0; }
.testimonial-card__detail { font-size: var(--text-kicker); font-family: var(--font-body); letter-spacing: 0.16em; text-transform: uppercase; color: var(--color-muted-foreground); margin: 0.25rem 0 0; }

/* ==========================================================================
   Services
   ========================================================================== */
.services-section { background: var(--color-butter); }
.services-section__heading { padding: 5rem 1.5rem; text-align: center; }
@media (min-width: 768px) { .services-section__heading { padding: 7rem 3.5rem; } }
.services-section .section-kicker { margin-bottom: 1rem; }
.service-row__image { transition: transform 0.7s var(--ease-smooth); }
.service-row:hover .service-row__image { transform: scale(1.03); }
.service-row {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	align-items: stretch;
	width: 100%;
}
@media (min-width: 1024px) {
	.service-row { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } /* lg:grid-cols-2 */
	/* Lovable: zigzag only at lg+; mobile stacks image then text (DOM order) for every row. */
	.service-row .service-row__image-col { order: 1; }
	.service-row .service-row__text-col { order: 2; }
	.service-row--reversed .service-row__image-col { order: 2; }
	.service-row--reversed .service-row__text-col { order: 1; }
}
.service-row__image-col {
	position: relative;
	min-width: 0;
	min-height: 360px; /* min-h-[360px] */
	overflow: hidden;
}
@media (min-width: 768px) { .service-row__image-col { min-height: 500px; } } /* md:min-h-[500px] */
@media (min-width: 1024px) { .service-row__image-col { min-height: 560px; } } /* lg:min-h-[560px] */
.service-row__numeral { position: absolute; top: 1.25rem; left: 1.25rem; font-family: var(--font-display); font-size: 0.875rem; letter-spacing: 0.3em; padding: 0.25rem 0.5rem; background: color-mix(in srgb, var(--color-background) 85%, transparent); backdrop-filter: blur(4px); z-index: 2; }
.service-row__numeral--rosa { color: var(--color-rosa); }
.service-row__numeral--marigold { color: var(--color-marigold); }
.service-row__numeral--teal { color: var(--color-teal); }
.service-row__text-col {
	display: flex;
	align-items: center;
	background: var(--color-butter);
	min-width: 0;
	padding: 4rem 1.5rem; /* py-16 px-6 */
}
@media (min-width: 768px) { .service-row__text-col { padding: 6rem 3.5rem; } } /* md:py-24 md:px-14 */
@media (min-width: 1024px) { .service-row__text-col { padding: 6rem 5rem; } } /* lg:py-24 lg:px-20 */
@media (min-width: 1280px) { .service-row__text-col { padding: 6rem 6rem; } } /* xl:px-24 */
.service-row__text { max-width: 36rem; min-width: 0; } /* max-w-xl */
.service-row__icon-line { display: flex; align-items: center; gap: 0.75rem; margin-bottom: 1.25rem; }
.service-row__icon { display: flex; height: 2.5rem; width: 2.5rem; align-items: center; justify-content: center; border-radius: 50%; border: 1px solid; }
.service-row__icon svg { width: 16px; height: 16px; }
.service-row__icon--rosa { border-color: color-mix(in srgb, var(--color-rosa) 40%, transparent); color: var(--color-rosa); }
.service-row__icon--marigold { border-color: color-mix(in srgb, var(--color-marigold) 50%, transparent); color: var(--color-marigold); }
.service-row__icon--teal { border-color: color-mix(in srgb, var(--color-teal) 40%, transparent); color: var(--color-teal); }
.service-row__kicker { font-size: var(--text-micro); font-family: var(--font-body); letter-spacing: 0.3em; text-transform: uppercase; }
.service-row__kicker--rosa { color: var(--color-rosa); }
.service-row__kicker--marigold { color: var(--color-marigold); }
.service-row__kicker--teal { color: var(--color-teal); }
.service-row__title {
	font-family: var(--font-display);
	font-size: 2.25rem;
	font-weight: 400;
	line-height: 1.05;
	margin-bottom: 1.5rem;
	letter-spacing: -0.025em;
	min-width: 0;
	overflow-wrap: break-word;
}
@media (min-width: 768px) { .service-row__title { font-size: 3rem; } }
@media (min-width: 1024px) { .service-row__title { font-size: 3.75rem; } }
.service-row__description { font-family: var(--font-body); font-size: 1rem; color: var(--color-muted-foreground); line-height: var(--leading-relaxed); }
@media (min-width: 768px) { .service-row__description { font-size: 1.125rem; } }

/* ==========================================================================
   Add-ons dark band
   ========================================================================== */
.addons-section { background: var(--color-surface-deep); color: var(--color-surface-deep-foreground); padding: 5rem 0; }
@media (min-width: 768px) { .addons-section { padding: 7rem 0; } }
.addons-section__heading { text-align: center; max-width: 42rem; margin: 0 auto 3rem; }
.addons-section .section-kicker { color: var(--color-marigold); }
.addons-section__title-italic { display: block; font-style: italic; color: var(--color-marigold); }
.addons-section__description { font-family: var(--font-body); color: color-mix(in srgb, var(--color-surface-deep-foreground) 75%, transparent); line-height: var(--leading-relaxed); margin-top: 1.5rem; }
.addons-section__grid { display: grid; grid-template-columns: repeat(1, minmax(0, 1fr)); gap: 1rem; max-width: 56rem; margin: 0 auto; }
@media (min-width: 640px) { .addons-section__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.5rem; } }
.addon-tile { display: block; }
.addon-tile__image-wrap { position: relative; aspect-ratio: 1 / 1; overflow: hidden; background: color-mix(in srgb, var(--color-surface-deep-foreground) 5%, transparent); }
.addon-tile__image { transition: transform 0.6s var(--ease-smooth); }
.addon-tile:hover .addon-tile__image { transform: scale(1.05); }
.addon-tile__row { padding-top: 0.75rem; display: flex; align-items: baseline; justify-content: space-between; gap: 0.5rem; min-width: 0; }
.addon-tile__label { font-family: var(--font-display); font-size: 0.875rem; line-height: var(--leading-tight); color: var(--color-surface-deep-foreground); min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
@media (min-width: 768px) { .addon-tile__label { font-size: 1rem; } }
.addon-tile__price { font-size: var(--text-micro); font-family: var(--font-body); letter-spacing: 0.18em; text-transform: uppercase; color: var(--color-marigold); white-space: nowrap; }
.addons-section__note { margin-top: 3rem; display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 0.75rem; }
.addons-section__note-badge { display: inline-flex; align-items: center; gap: 0.5rem; padding: 0.5rem 1rem; border: 1px solid color-mix(in srgb, var(--color-marigold) 40%, transparent); color: var(--color-marigold); font-size: var(--text-micro); font-family: var(--font-body); letter-spacing: 0.28em; text-transform: uppercase; }
.addons-section__note-badge::before { content: ''; width: 1rem; height: 1px; background: var(--color-marigold); }
.addons-section__note-text { font-family: var(--font-body); color: color-mix(in srgb, var(--color-surface-deep-foreground) 70%, transparent); font-size: 0.875rem; }

/* ==========================================================================
   Explore
   ========================================================================== */
.explore-section__grid { display: grid; grid-template-columns: 1fr; align-items: stretch; }
@media (min-width: 1024px) { .explore-section__grid { grid-template-columns: 1fr 1fr; } }
.explore-section__image-col { position: relative; min-height: 420px; }
@media (min-width: 768px) { .explore-section__image-col { min-height: 560px; } }
@media (min-width: 1024px) { .explore-section__image-col { min-height: 640px; order: 2; } }
.explore-section__image-small { position: absolute; bottom: 1.5rem; left: 1.5rem; width: 8rem; aspect-ratio: 3 / 4; object-fit: cover; box-shadow: var(--shadow-elevated); border: 4px solid var(--color-background); }
@media (min-width: 768px) { .explore-section__image-small { width: 11rem; } }
@media (min-width: 1024px) { .explore-section__image-small { width: 13rem; } }
.explore-section__text-col { display: flex; align-items: center; background: var(--color-background); padding: 4rem 1.5rem; }
@media (min-width: 1024px) { .explore-section__text-col { padding: 6rem 3.5rem; order: 1; } }
@media (min-width: 1280px) { .explore-section__text-col { padding-left: 6rem; padding-right: 6rem; } }
.explore-section__text { max-width: 36rem; }
.explore-section .section-kicker { margin-bottom: 1.25rem; }
.explore-section__heading-italic { display: block; font-style: italic; color: var(--color-rosa); }
.explore-section__paragraph { font-family: var(--font-body); color: color-mix(in srgb, var(--color-foreground) 80%, transparent); line-height: var(--leading-relaxed); margin-bottom: 1.5rem; }
.explore-section__paragraph--italic { font-family: var(--font-body); font-style: italic; color: color-mix(in srgb, var(--color-foreground) 70%, transparent); margin-bottom: 2.5rem; }

/* ==========================================================================
   Gallery marquee (Section 8)
   ========================================================================== */
.gallery-section { padding: 5rem 0; overflow-x: clip; }
@media (min-width: 768px) { .gallery-section { padding: 7rem 0; } }
.gallery-section__heading { margin-bottom: 2.5rem; }
@media (min-width: 768px) { .gallery-section__heading { margin-bottom: 3.5rem; } }
.gallery-section__heading-text { max-width: 100%; }
.gallery-section .section-kicker { display: block; margin-bottom: 0.75rem; }
.gallery-carousel-viewport { overflow: hidden; padding-bottom: 0.5rem; }
.gallery-carousel-track {
	display: flex;
	gap: 1rem;
	padding: 0 1.5rem;
	width: max-content;
	will-change: transform;
	backface-visibility: hidden;
}
@media (min-width: 768px) { .gallery-carousel-track { gap: 1.5rem; padding: 0 3rem; } }
@media (min-width: 1024px) { .gallery-carousel-track { padding: 0 4rem; } }
/* Match Lovable: item widths are % of the full-bleed carousel viewport (not the max-content track). */
.gallery-carousel-item {
	flex-shrink: 0;
	width: calc( ( 100vw - 3rem ) * 0.78 );
}
@media ( min-width: 640px ) {
	.gallery-carousel-item { width: calc( ( 100vw - 3rem ) * 0.55 ); }
}
@media ( min-width: 768px ) {
	.gallery-carousel-item { width: calc( ( 100vw - 6rem ) * 0.4 ); }
}
@media ( min-width: 1024px ) {
	.gallery-carousel-item { width: calc( ( 100vw - 8rem ) * 0.3 ); }
}
@media ( min-width: 1280px ) {
	.gallery-carousel-item { width: calc( ( 100vw - 8rem ) * 0.26 ); }
}
.gallery-carousel-item__trigger {
	position: relative;
	display: block;
	width: 100%;
	padding: 0;
	border: 0;
	background: none;
	overflow: hidden;
	aspect-ratio: 4 / 5;
	cursor: pointer;
}
.gallery-carousel-item img { transition: transform 0.9s var(--ease-smooth); object-position: top; }
.gallery-carousel-item__trigger:hover img,
.gallery-carousel-item__trigger:focus-visible img { transform: scale(1.04); }
.gallery-carousel-item__trigger:focus-visible { outline: 2px solid var(--color-primary); outline-offset: 2px; }
.gallery-section__controls { display: flex; align-items: center; gap: 1rem; margin-top: 2.5rem; }
.gallery-nav-btn { height: 3rem; width: 3rem; display: flex; align-items: center; justify-content: center; border: 1px solid color-mix(in srgb, var(--color-foreground) 20%, transparent); color: color-mix(in srgb, var(--color-foreground) 70%, transparent); background: transparent; cursor: pointer; }
.gallery-nav-btn:hover { color: var(--color-primary); border-color: var(--color-primary); }
.gallery-nav-btn svg { width: 16px; height: 16px; }

/* Gallery lightbox */
body.gallery-lightbox-open { overflow: hidden; }
.gallery-lightbox {
	position: fixed;
	inset: 0;
	z-index: 10050;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 1.5rem;
}
.gallery-lightbox[hidden] { display: none; }
.gallery-lightbox__backdrop {
	position: absolute;
	inset: 0;
	background: color-mix(in srgb, var(--color-foreground) 72%, transparent);
}
.gallery-lightbox__dialog {
	position: relative;
	z-index: 1;
	width: auto;
	max-width: min(96vw, 60rem);
	max-height: 92vh;
	display: grid;
	grid-template-columns: auto auto auto;
	align-items: center;
	justify-content: center;
	gap: 0.75rem;
}
.gallery-lightbox__figure {
	margin: 0;
	min-width: 0;
	display: flex;
	flex-direction: column;
	align-items: center;
}
.gallery-lightbox__image {
	display: block;
	width: auto;
	height: auto;
	max-width: min(88vw, 48rem);
	max-height: min(78vh, 48rem);
	background: transparent;
}
.gallery-lightbox__caption {
	margin-top: 0.75rem;
	text-align: center;
	font-family: var(--font-body);
	font-size: 0.875rem;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--color-background);
}
.gallery-lightbox__close {
	position: absolute;
	top: -2.75rem;
	right: 0;
	width: 2.5rem;
	height: 2.5rem;
	border: 0;
	background: transparent;
	color: var(--color-background);
	font-size: 2rem;
	line-height: 1;
	cursor: pointer;
}
.gallery-lightbox__nav {
	width: 2.75rem;
	height: 2.75rem;
	border: 1px solid color-mix(in srgb, var(--color-background) 35%, transparent);
	background: color-mix(in srgb, var(--color-background) 10%, transparent);
	color: var(--color-background);
	cursor: pointer;
	flex-shrink: 0;
}
.gallery-lightbox__nav::before {
	content: '';
	display: block;
	width: 0.55rem;
	height: 0.55rem;
	margin: 0 auto;
	border-top: 2px solid currentColor;
	border-right: 2px solid currentColor;
}
.gallery-lightbox__nav--prev::before { transform: rotate(-135deg); }
.gallery-lightbox__nav--next::before { transform: rotate(45deg); }
.gallery-lightbox__nav:hover,
.gallery-lightbox__close:hover { color: var(--color-primary); border-color: var(--color-primary); }
@media (max-width: 767px) {
	.gallery-lightbox__dialog {
		grid-template-columns: 1fr;
		grid-template-rows: auto auto auto;
	}
	.gallery-lightbox__nav--prev,
	.gallery-lightbox__nav--next {
		justify-self: center;
	}
	.gallery-lightbox__close { top: -2.25rem; right: 0.25rem; }
}

/* ==========================================================================
   Shop section + filters
   ========================================================================== */
.shop-section { padding: 4rem 0; }
@media (min-width: 768px) { .shop-section { padding: 6rem 0; } }
.shop-section__heading { text-align: center; margin-bottom: 2.5rem; }
.shop-section .section-kicker { margin-bottom: 0.75rem; }
.shop-search-wrap { position: relative; max-width: 28rem; margin: 0 auto 2rem; }
.shop-search-wrap svg { position: absolute; left: 0; top: 50%; transform: translateY(-50%); width: 16px; height: 16px; color: var(--color-muted-foreground); }
.shop-search-input {
	width: 100%; padding: 0.5rem 0 0.5rem 1.75rem; background: transparent; border: 0; border-bottom: 1px solid var(--color-border);
	font-family: var(--font-body); font-size: 1rem; color: var(--color-foreground);
}
.shop-search-input:focus { outline: none; border-bottom-color: var(--color-foreground); }
.shop-category-pills { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.5rem; margin-bottom: 1rem; }
.theme-cat-filter {
	padding: 0.5rem 1.25rem; font-size: var(--text-kicker); font-family: var(--font-body); letter-spacing: 0.2em; text-transform: uppercase;
	border: 1px solid var(--color-border); border-radius: 999px; background: transparent; color: var(--color-foreground);
}
.theme-cat-filter:hover { border-color: var(--color-rosa); color: var(--color-rosa); }
.theme-cat-filter.is-active { background: var(--color-rosa); border-color: var(--color-rosa); color: var(--color-background); }

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

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

.shop-section__show-more, .shop-section__empty { text-align: center; margin-top: 3rem; }
.shop-section__empty p { color: var(--color-muted-foreground); }

/* ==========================================================================
   FAQ accordion
   ========================================================================== */
.faq-section { background: var(--color-butter); padding: 5rem 0; }
@media (min-width: 768px) { .faq-section { padding: 7rem 0; } }
.faq-section .section-kicker { margin-bottom: 0.75rem; }
.faq-list { max-width: 48rem; margin: 0 auto; border-top: 1px solid var(--color-border); }
.faq-item { border-bottom: 1px solid var(--color-border); }
.faq-item__trigger { width: 100%; display: flex; align-items: flex-start; justify-content: space-between; gap: 1.5rem; padding: 1.25rem 0; text-align: left; }
.faq-item__question { font-family: var(--font-display); font-size: 1.125rem; font-weight: 400; line-height: var(--leading-snug); }
@media (min-width: 768px) { .faq-item__question { font-size: 1.25rem; } }
.faq-item__trigger svg { width: 16px; height: 16px; margin-top: 0.35rem; flex-shrink: 0; transition: transform 0.3s var(--ease-smooth); }
.theme-accordion.is-open .faq-item__trigger svg { transform: rotate(180deg); }
.theme-accordion__panel { max-height: 0; overflow: hidden; transition: max-height 0.35s var(--ease-smooth); }
.theme-accordion.is-open .theme-accordion__panel { max-height: 60rem; }
.faq-item__answer { padding-bottom: 1.5rem; padding-right: 2rem; }
.faq-item__answer p { font-size: var(--text-body-note); font-family: var(--font-body); color: var(--color-muted-foreground); line-height: var(--leading-relaxed); margin: 0; }
.faq-section__cta { text-align: center; margin-top: 2.5rem; }

/* ==========================================================================
   Final CTA band
   ========================================================================== */
.cta-band { position: relative; background: var(--color-butter); overflow: hidden; padding: 6rem 0; }
@media (min-width: 768px) { .cta-band { padding: 8rem 0; } }
.cta-band__bg { z-index: 0; }
.cta-band__inner { position: relative; z-index: 1; }
.cta-band__card {
	max-width: 42rem; margin: 0 auto; text-align: center;
	background: color-mix(in srgb, var(--color-background) 95%, transparent); backdrop-filter: blur(4px);
	box-shadow: var(--shadow-elevated); padding: 3rem 2rem; border: 1px solid color-mix(in srgb, var(--color-border) 60%, transparent);
}
@media (min-width: 768px) { .cta-band__card { padding: 4rem 3.5rem; } }
.cta-band__kicker { display: block; font-size: var(--text-kicker); font-family: var(--font-body); letter-spacing: 0.32em; text-transform: uppercase; color: var(--color-teal); font-weight: 600; margin-bottom: 1rem; }
.cta-band__description { font-family: var(--font-body); color: color-mix(in srgb, var(--color-foreground) 80%, transparent); line-height: var(--leading-relaxed); margin: 1.5rem 0 2.5rem; max-width: 26rem; margin-left: auto; margin-right: auto; }
.cta-band__actions { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1.25rem; }
@media (min-width: 640px) { .cta-band__actions { flex-direction: row; } }
.cta-band .theme-btn-dark {
	padding: 1rem 2.25rem;
	min-height: auto;
	font-family: var(--font-display);
	font-size: var(--btn-font-size-compact);
	letter-spacing: var(--btn-letter-spacing-wide);
	text-transform: uppercase;
}
.faq-section .section-heading-block { margin-bottom: 3rem; }

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer { border-top: 1px solid var(--color-border); background: var(--color-butter); }
/* Vertical only — preserve .container-wide horizontal padding (Lovable: py-12 lg:py-16 + px-6 lg:px-8). */
.site-footer__inner { padding-block: 3rem; }
@media (min-width: 1024px) { .site-footer__inner { padding-block: 4rem; } }
.site-footer .container-wide.site-footer__inner {
	padding-inline: 1.5rem;
}
@media (min-width: 1024px) {
	.site-footer .container-wide.site-footer__inner { padding-inline: 2rem; }
}
.site-footer__grid { display: grid; grid-template-columns: 1fr; gap: 2.5rem; }
@media (min-width: 640px) { .site-footer__grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .site-footer__grid { grid-template-columns: repeat(4, 1fr); gap: 2rem; } }
.site-footer__brand { display: flex; align-items: center; gap: 0.75rem; margin-bottom: 1rem; }
.site-footer__brand .site-logo-img { height: 3.5rem !important; width: 3.5rem !important; object-fit: contain; }
.site-footer__brand-text { display: flex; flex-direction: column; line-height: 1; }
.site-footer__brand-name { font-family: var(--font-display); font-size: 1.125rem; font-weight: 600; }
.site-footer__brand-tagline { font-size: var(--text-micro); font-family: var(--font-body); letter-spacing: 0.3em; text-transform: uppercase; color: var(--color-muted-foreground); margin-top: 0.25rem; }
.site-footer__tagline { font-size: 0.875rem; font-family: var(--font-body); color: var(--color-muted-foreground); line-height: var(--leading-relaxed); max-width: 20rem; }
.site-footer__heading { font-family: var(--font-display); font-size: 0.875rem; font-weight: 600; letter-spacing: 0.15em; text-transform: uppercase; margin-bottom: 1rem; }
.footer-nav-links { display: flex; flex-direction: column; gap: 0.625rem; }
.footer-nav-links a {
	font-family: var(--font-body);
	font-size: 0.875rem;
	font-weight: 400;
	letter-spacing: normal;
	text-transform: none;
	color: var(--color-muted-foreground);
	background: none;
	border: none;
	padding: 0;
	text-align: left;
}
.footer-nav-links a:hover { color: var(--color-foreground); }
.footer-nav-links a::after { display: none; }
.site-footer__contact { display: flex; flex-direction: column; gap: 0.75rem; }
.site-footer__contact-link { display: flex; align-items: center; gap: 0.5rem; font-size: 0.875rem; font-family: var(--font-body); color: var(--color-muted-foreground); }
.site-footer__contact-link:hover { color: var(--color-foreground); }
.site-footer__contact-link svg { width: 14px; height: 14px; }
.site-footer__bottom { margin-top: 3rem; padding-top: 1.5rem; border-top: 1px solid var(--color-border); display: flex; flex-direction: column; align-items: center; justify-content: space-between; gap: 0.75rem; }
@media (min-width: 640px) { .site-footer__bottom { flex-direction: row; } }
.site-footer__quote { font-size: var(--text-kicker); color: var(--color-muted-foreground); font-family: var(--font-display); font-style: italic; letter-spacing: 0.02em; margin: 0; }
.site-footer__credit { font-size: var(--text-kicker); font-family: var(--font-body); color: var(--color-muted-foreground); margin: 0; }
.site-footer__credit a { text-decoration: underline; }
.site-footer__credit a:hover { color: var(--color-foreground); }

/* ==========================================================================
   Single product page (mirrors ProductDetail.tsx)
   ========================================================================== */
body.theme-no-hero .site-main { padding-top: var(--header-height, 80px); }
body.theme-no-hero .site-main.single-product-main {
	padding-top: var(--header-height, 80px);
	padding-bottom: 5rem;
	background: var(--color-background);
}

.single-product .theme-product-layout {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: 2.5rem;
	padding: 0 0 6rem;
	min-width: 0;
}
@media (min-width: 1024px) {
	.single-product .theme-product-layout {
		grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
		gap: 4rem;
		align-items: start;
	}
}
.theme-breadcrumb { padding: 1.5rem 0; font-size: var(--text-meta); font-family: var(--font-body); letter-spacing: 0.2em; text-transform: uppercase; color: var(--color-muted-foreground); }
.single-product .theme-breadcrumb { padding: 0.75rem 0 1rem; }
.theme-breadcrumb a:hover { color: var(--color-foreground); }
.theme-breadcrumb__sep { margin: 0 0.5rem; opacity: 0.5; }
.theme-breadcrumb__current { color: var(--color-foreground); }

.single-product .theme-product-gallery,
.single-product .theme-product-info { min-width: 0; max-width: 100%; }

.theme-product-gallery__mobile { display: block; }
.theme-product-gallery__desktop { display: none; }
@media (min-width: 1024px) {
	.theme-product-gallery__mobile { display: none; }
	.theme-product-gallery__desktop {
		display: flex;
		flex-direction: column;
		gap: 1rem;
	}
}

.theme-product-gallery__main,
.theme-product-gallery__stack-item {
	aspect-ratio: 1 / 1;
	background: var(--color-secondary);
	overflow: hidden;
}
.theme-product-gallery__main { margin-bottom: 1rem; }
.theme-product-gallery__stack-item { width: 100%; }

.single-product .theme-product-thumbnails {
	display: flex;
	gap: 0.75rem;
	overflow-x: auto;
	padding-bottom: 0.25rem;
	max-width: 100%;
}
.theme-product-thumb {
	position: relative;
	width: 5rem;
	height: 5rem;
	flex-shrink: 0;
	overflow: hidden;
	background: var(--color-secondary);
	border: none;
	padding: 0;
	cursor: pointer;
}
.theme-product-thumb img { width: 100%; height: 100%; object-fit: cover; opacity: 0.6; transition: opacity 0.2s; }
.theme-product-thumb.is-active img,
.theme-product-thumb:hover img { opacity: 1; }
.theme-product-thumb::after {
	content: '';
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	height: 1px;
	background: var(--color-foreground);
	opacity: 0;
	transition: opacity 0.2s;
}
.theme-product-thumb.is-active::after { opacity: 1; }

@media (min-width: 1024px) {
	.single-product .theme-product-info {
		position: sticky;
		top: 7rem;
		align-self: start;
		padding-left: 1rem;
	}
}

.theme-product-info__category { font-size: var(--text-meta); font-family: var(--font-body); letter-spacing: 0.25em; text-transform: uppercase; color: var(--color-muted-foreground); display: block; }
.theme-product-info__title { font-family: var(--font-display); font-weight: 400; font-size: 1.875rem; line-height: 1.1; margin: 0.75rem 0 1.25rem; }
@media (min-width: 768px) { .theme-product-info__title { font-size: 2.25rem; } }
@media (min-width: 1024px) { .theme-product-info__title { font-size: 2.75rem; } }
.theme-product-info__price { font-size: 1.25rem; font-family: var(--font-body); font-weight: 400; margin: 0 0 1.5rem; color: var(--color-foreground); }
.theme-product-info__excerpt {
	font-size: 1rem;
	font-family: var(--font-body);
	color: var(--color-muted-foreground);
	line-height: var(--leading-relaxed);
	margin: 0 0 2rem;
}
.theme-stock { font-size: var(--text-meta); font-family: var(--font-body); letter-spacing: 0.15em; text-transform: uppercase; margin-bottom: 1.5rem; }
.theme-stock--out { color: var(--color-destructive); }

.theme-option-group { margin-bottom: 1.5rem; }
.theme-option-group__label { font-size: var(--text-meta); letter-spacing: 0.2em; text-transform: uppercase; color: var(--color-muted-foreground); margin-bottom: 0.75rem; font-family: var(--font-body); font-weight: 400; font-style: normal; }
.theme-option-group__pills { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.theme-pill { padding: 0.5rem 1rem; font-size: 0.75rem; font-family: var(--font-body); letter-spacing: 0.15em; text-transform: uppercase; border: 1px solid var(--color-border); border-radius: 999px; }
.theme-pill:hover { border-color: color-mix(in srgb, var(--color-foreground) 60%, transparent); }
.theme-pill.is-active { background: var(--color-foreground); color: var(--color-background); border-color: var(--color-foreground); }
.theme-attr-pills { display: flex; flex-wrap: wrap; gap: 0.75rem; }
.theme-attr-pills--license { gap: 0.5rem; }
.theme-attr-pill {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	padding: 0.5rem 1rem;
	font-size: 0.75rem;
	font-family: var(--font-body);
	letter-spacing: 0.15em;
	text-transform: uppercase;
	border: 1px solid var(--color-border);
	border-radius: 999px;
	background: transparent;
	color: var(--color-foreground);
	transition: border-color 0.2s ease, background-color 0.2s ease, color 0.2s ease;
}
.theme-attr-pill:hover { border-color: color-mix(in srgb, var(--color-foreground) 60%, transparent); }
.theme-attr-pill--color.is-active {
	border-color: var(--color-primary);
	background: color-mix(in srgb, var(--color-primary) 5%, transparent);
	color: var(--color-foreground);
}
.theme-attr-pill--license.is-active {
	background: var(--color-foreground);
	color: var(--color-background);
	border-color: var(--color-foreground);
}
.theme-attr-swatch {
	width: 0.75rem;
	height: 0.75rem;
	border-radius: 50%;
	border: 1px solid var(--color-border);
	flex-shrink: 0;
}
.theme-attr-select {
	width: 100%;
	max-width: 20rem;
	border: 1px solid var(--color-border);
	border-radius: var(--radius);
	padding: 0.625rem 0.75rem;
	font-family: var(--font-body);
	font-size: 0.875rem;
	background: var(--color-background);
	color: var(--color-foreground);
}
.theme-attr-select:focus {
	outline: none;
	box-shadow: 0 0 0 2px color-mix(in srgb, var(--color-primary) 40%, transparent);
}

.theme-quantity-block { margin-bottom: 1rem; }
.theme-quantity-block__label {
	font-size: var(--text-meta);
	letter-spacing: 0.2em;
	text-transform: uppercase;
	color: var(--color-muted-foreground);
	margin: 0 0 0.75rem;
	font-family: var(--font-body);
	font-weight: 400;
}
.theme-quantity-wrapper { display: inline-flex; align-items: center; border: 1px solid var(--color-border); }
.theme-quantity-wrapper button { padding: 0.5rem 0.75rem; }
.theme-quantity-wrapper button:hover { background: var(--color-secondary); }
.theme-quantity-wrapper button svg { width: 14px; height: 14px; }
.theme-qty-display {
	min-width: 2.75rem;
	padding: 0.5rem 1rem;
	text-align: center;
	font-family: var(--font-body);
	font-size: 0.875rem;
}
.theme-qty-input { display: none !important; }

.theme-accordions { margin-top: 2.5rem; border-top: 1px solid var(--color-border); }
.theme-accordion { border-bottom: 1px solid var(--color-border); }
.theme-accordion__trigger { width: 100%; display: flex; align-items: center; justify-content: space-between; padding: 1.25rem 0; text-align: left; font-size: var(--text-meta); font-family: var(--font-body); letter-spacing: 0.25em; text-transform: uppercase; font-weight: 400; }
.theme-accordion__trigger svg { width: 16px; height: 16px; transition: transform 0.3s; }
.theme-accordion.is-open .theme-accordion__trigger svg { transform: rotate(180deg); }
.theme-accordion__content { padding-bottom: 1.5rem; font-size: var(--text-body-note); font-family: var(--font-body); color: var(--color-muted-foreground); line-height: var(--leading-relaxed); }
.theme-accordion__content p { margin: 0 0 1rem; }
.theme-accordion__content--policies p:last-child { margin-bottom: 0; }
.theme-accordion__description { white-space: pre-line; margin-bottom: 1rem; }
.theme-details-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 0.5rem; }
.theme-details-list__item {
	display: flex;
	align-items: flex-start;
	gap: 0.75rem;
	font-size: var(--text-body-note);
	color: var(--color-muted-foreground);
}
.theme-details-list__bullet {
	width: 4px;
	height: 4px;
	border-radius: 50%;
	background: var(--color-foreground);
	flex-shrink: 0;
	margin-top: 0.55rem;
}

.theme-product-reviews {
	padding: 5rem 0 6rem;
	border-top: 1px solid var(--color-border);
	margin-top: 0;
}
.theme-product-reviews__heading {
	font-family: var(--font-display);
	font-weight: 400;
	font-size: 1.875rem;
	text-align: center;
	margin: 0 0 2.5rem;
}
@media (min-width: 768px) {
	.theme-product-reviews__heading { font-size: 2.25rem; }
}
.theme-product-reviews__panel { max-width: 40rem; margin: 0 auto; }
.theme-product-reviews__list {
	list-style: none;
	margin: 0 0 2.5rem;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 1.75rem;
}
.theme-review-item { margin: 0; }
.theme-review-card {
	display: grid;
	grid-template-columns: 3rem 1fr;
	gap: 1rem 1.25rem;
	padding-bottom: 1.75rem;
	border-bottom: 1px solid var(--color-border);
}
.theme-review-card__avatar img,
.theme-review-card__avatar .avatar {
	width: 3rem;
	height: 3rem;
	border-radius: 999px;
	display: block;
}
.theme-review-card__meta {
	display: flex;
	flex-direction: column;
	gap: 0.5rem;
	margin-bottom: 0.75rem;
}
.theme-review-card__author-row {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	gap: 0.5rem 1rem;
}
.theme-review-card__author {
	font-size: 0.8125rem;
	font-weight: 500;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--color-foreground);
}
.theme-review-card__date {
	font-size: 0.75rem;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--color-muted-foreground);
}
.theme-review-card__content {
	font-size: var(--text-body-note);
	color: var(--color-muted-foreground);
	line-height: var(--leading-relaxed);
}
.theme-review-card__content p { margin: 0; }
.theme-review-stars-display {
	display: flex;
	gap: 0.25rem;
}
.theme-review-stars-display .theme-icon {
	width: 1rem;
	height: 1rem;
	color: var(--color-border);
	flex-shrink: 0;
}
.theme-review-stars-display .theme-icon.is-filled {
	color: var(--color-marigold);
	fill: var(--color-marigold);
}
.theme-product-reviews__empty {
	text-align: center;
	font-size: var(--text-body-note);
	color: var(--color-muted-foreground);
	margin: 0 0 2rem;
}
.theme-product-reviews__form-wrapper {
	border-top: 1px solid var(--color-border);
	padding-top: 2rem;
}
.theme-product-reviews__form-title {
	font-size: var(--text-meta);
	font-family: var(--font-body);
	letter-spacing: 0.25em;
	text-transform: uppercase;
	font-weight: 400;
	margin: 0 0 1.75rem;
}
.theme-review-form {
	display: grid;
	gap: 1.25rem;
}
.theme-review-form .comment-form-author,
.theme-review-form .comment-form-email {
	margin: 0;
}
@media (min-width: 640px) {
	.theme-review-form {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
	.theme-review-form .theme-review-field--rating,
	.theme-review-form .theme-review-field--comment,
	.theme-review-form .form-submit,
	.theme-review-form__notice {
		grid-column: 1 / -1;
	}
}
.theme-review-field {
	display: flex;
	flex-direction: column;
	gap: 0.5rem;
}
.theme-review-field--rating {
	gap: 0;
	margin-bottom: 0.25rem;
}
/* Hide WooCommerce's default accessible radio/select rating UI when it leaks in. */
.theme-product-reviews .comment-form-rating > label,
.theme-product-reviews .comment-form-rating select,
.theme-product-reviews .comment-form-rating input[type="radio"],
.theme-product-reviews .comment-form-rating .stars-wrapper,
.theme-product-reviews .comment-form-rating button[role="radio"]:not(.theme-review-stars__btn),
.theme-product-reviews .comment-form-rating small.rating-error,
.theme-product-reviews .comment-form-rating p.stars {
	display: none !important;
}
.theme-review-field__label {
	font-size: var(--text-meta);
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--color-muted-foreground);
}
.theme-review-field__label .required {
	color: var(--color-destructive);
	margin-left: 0.15rem;
}
.theme-review-field__input,
.theme-review-field__textarea {
	width: 100%;
	border: 1px solid var(--color-border);
	background: var(--color-background);
	padding: 0.875rem 1rem;
	font-family: var(--font-body);
	font-size: var(--text-body-note);
	color: var(--color-foreground);
	border-radius: 0.375rem;
	transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.theme-review-field__input:focus,
.theme-review-field__textarea:focus {
	outline: none;
	border-color: var(--color-foreground);
	box-shadow: 0 0 0 1px var(--color-foreground);
}
.theme-review-field__textarea {
	min-height: 9rem;
	resize: vertical;
	line-height: var(--leading-relaxed);
}
.theme-review-stars {
	display: inline-flex;
	gap: 0.35rem;
}
.theme-review-stars__btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border: 0;
	background: transparent;
	padding: 0.125rem;
	cursor: pointer;
	color: var(--color-border);
	transition: color 0.15s ease, transform 0.15s ease;
}
.theme-review-stars__btn .theme-icon {
	width: 1.35rem;
	height: 1.35rem;
	pointer-events: none;
}
.theme-review-stars__btn.is-active .theme-icon,
.theme-review-stars__btn.is-hover .theme-icon {
	color: var(--color-marigold);
	fill: var(--color-marigold);
}
.theme-review-stars__btn:hover {
	transform: scale(1.05);
}
.theme-review-form .form-submit {
	margin: 0.25rem 0 0;
}
.theme-review-form input[type="submit"] {
	width: 100%;
	background: var(--color-foreground);
	color: var(--color-background);
	border: 0;
	border-radius: 999px;
	padding: 0.95rem 1.5rem;
	font-size: var(--text-meta);
	letter-spacing: 0.25em;
	text-transform: uppercase;
	font-family: var(--font-body);
	cursor: pointer;
	transition: opacity 0.2s ease;
}
.theme-review-form input[type="submit"]:hover {
	opacity: 0.9;
}
.theme-review-form__notice {
	font-size: var(--text-body-note);
	color: var(--color-muted-foreground);
	margin: 0;
}
.theme-product-reviews__pagination .page-numbers {
	display: flex;
	justify-content: center;
	gap: 0.5rem;
	list-style: none;
	margin: 0;
	padding: 0;
}

.theme-related-products { padding: 5rem 0; border-top: 1px solid var(--color-border); margin-top: 0; }
.theme-related-products__heading { text-align: center; margin-bottom: 3rem; }
.theme-related-products__line1 { font-family: var(--font-display); font-style: italic; font-size: 1rem; color: var(--color-muted-foreground); margin: 0 0 0.5rem; }
.theme-related-products__line2 { font-family: var(--font-display); font-weight: 400; font-size: 1.875rem; }
@media (min-width: 768px) { .theme-related-products__line2 { font-size: 2.25rem; } }

.theme-related-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 1.5rem;
}
@media (min-width: 1024px) {
	.theme-related-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 2rem; }
}
.theme-related-card { display: block; text-decoration: none; color: inherit; }
.theme-related-card:hover .theme-related-card__title { color: var(--color-primary); }
.theme-related-card__image-wrap {
	position: relative;
	aspect-ratio: 3 / 4;
	background: var(--color-secondary);
	overflow: hidden;
	margin-bottom: 1.25rem;
}
.theme-related-card__image {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.7s var(--ease-smooth);
}
.theme-related-card:hover .theme-related-card__image { transform: scale(1.04); }
.theme-related-card__image.is-sold-out { opacity: 0.6; }
.theme-related-card__badge {
	position: absolute;
	top: 0.75rem;
	left: 0.75rem;
	padding: 0.25rem 0.75rem;
	font-size: var(--text-kicker);
	font-weight: 500;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	background: var(--color-foreground);
	color: var(--color-background);
	border-radius: 999px;
}
.theme-related-card__info { text-align: center; }
.theme-related-card__title {
	font-family: var(--font-body);
	font-size: 0.875rem;
	font-weight: 500;
	letter-spacing: 0.15em;
	text-transform: uppercase;
	line-height: var(--leading-snug);
	margin: 0;
	transition: color 0.3s;
}
@media (min-width: 768px) { .theme-related-card__title { font-size: 1rem; } }
.theme-related-card__price {
	font-size: 1rem;
	font-family: var(--font-body);
	font-weight: 400;
	margin: 0.5rem 0 0;
	line-height: var(--leading-tight);
}
@media (min-width: 768px) { .theme-related-card__price { font-size: 1.125rem; } }
.theme-related-card__unit { font-size: 0.875rem; color: var(--color-muted-foreground); }

/* ==========================================================================
   WPS Bookings plugin form (Private Rooms) — presentation only
   ========================================================================== */
.theme-wps-booking-form {
	margin-bottom: 1.5rem;
}
.theme-wps-booking-form form.cart {
	margin: 0;
}
/* One room per booking — guest count is WPS "People", not WC quantity. */
.jnk-wps-booking-product .theme-wps-booking-form form.cart > .quantity,
.jnk-wps-booking-product .theme-wps-booking-form .quantity {
	display: none !important;
}
.theme-wps-booking-form .mbfw-additionl-detail-listing-section__wrapper {
	display: flex;
	flex-direction: column;
	gap: 0.75rem;
	margin-bottom: 1rem;
}
.theme-wps-booking-form .mbfw-additionl-detail-listing-section:first-child {
	font-size: var(--text-meta);
	font-family: var(--font-body);
	letter-spacing: 0.2em;
	text-transform: uppercase;
	color: var(--color-muted-foreground);
	font-weight: 400;
}
.theme-wps-booking-form .mbfw-additionl-detail-listing-section--people-input {
	display: block;
}
.theme-wps-booking-form .theme-wps-people-stepper {
	display: inline-flex;
	align-items: center;
	border: 1px solid var(--color-border);
}
.theme-wps-booking-form .theme-wps-people-stepper .theme-qty-minus,
.theme-wps-booking-form .theme-wps-people-stepper .theme-qty-plus {
	padding: 0.5rem 0.75rem;
}
.theme-wps-booking-form .theme-wps-people-stepper .theme-qty-minus:hover,
.theme-wps-booking-form .theme-wps-people-stepper .theme-qty-plus:hover {
	background: var(--color-secondary);
}
.theme-wps-booking-form .theme-wps-people-stepper .theme-qty-display {
	min-width: 2.75rem;
	padding: 0.5rem 1rem;
	text-align: center;
	font-family: var(--font-body);
	font-size: 0.875rem;
}
.theme-wps-booking-form .theme-wps-people-stepper .mwb_mbfw_people_number {
	display: none !important;
}
.theme-wps-booking-form .mwb-mbfw-cart-page-data {
	width: 100%;
	font-family: var(--font-body);
	color: var(--color-foreground);
}
.theme-wps-booking-form .mbfw-date-picker-section__wrapper,
.theme-wps-booking-form .mwb_mbfw_detail-listing-wrap {
	display: flex;
	flex-wrap: wrap;
	gap: 1rem;
	margin-bottom: 1.25rem;
}
.theme-wps-booking-form .mbfw-date-picker-section {
	flex: 1 1 140px;
	max-width: none;
}
.theme-wps-booking-form .mbfw-date-picker-section label,
.theme-wps-booking-form .mwb_mbfw_included_service_title {
	font-family: var(--font-body);
	font-size: 0.75rem;
	font-weight: 500;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: color-mix(in srgb, var(--color-foreground) 70%, transparent);
}
.theme-wps-booking-form input[type="text"],
.theme-wps-booking-form input[type="number"],
.theme-wps-booking-form select {
	width: 100%;
	min-height: 2.75rem;
	padding: 0.5rem 0.75rem;
	border: 1px solid var(--color-border);
	border-radius: 0;
	background: var(--color-background);
	font-family: var(--font-body);
	font-size: 0.9375rem;
	color: var(--color-foreground);
}
.theme-wps-booking-form .flatpickr-calendar {
	font-family: var(--font-body);
	box-shadow: var(--shadow-soft);
}
.theme-wps-booking-form .mwb-mbfw-total-area {
	margin: 1rem 0;
	padding: 0.75rem 0;
	border-top: 1px solid var(--color-border);
	font-family: var(--font-body);
	font-size: 0.9375rem;
}
.theme-wps-booking-form .single_add_to_cart_button {
	width: 100%;
	margin-top: 0.5rem;
	background-color: var(--color-foreground) !important;
	color: var(--color-background) !important;
	border-radius: 9999px !important;
	font-size: 0.75rem !important;
	letter-spacing: 0.25em !important;
	text-transform: uppercase !important;
	padding: 1rem 0 !important;
	min-height: auto !important;
	border: none !important;
}
.theme-wps-booking-form .single_add_to_cart_button:hover {
	background-color: color-mix(in srgb, var(--color-foreground) 90%, transparent) !important;
	color: var(--color-background) !important;
}
.theme-cart-item__meta--plugin { margin-top: 0.5rem; }
.theme-cart-item-meta {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 0.5rem;
	width: 100%;
}
.theme-cart-item-meta__row {
	display: flex;
	align-items: flex-start;
	gap: 0.5rem;
	width: 100%;
	min-width: 0;
}
.theme-cart-item-meta-swatch {
	width: 0.75rem;
	height: 0.75rem;
	border-radius: 50%;
	border: 1px solid var(--color-border);
	flex-shrink: 0;
	margin-top: 0.15rem;
}
.theme-cart-item-meta__text {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 0.125rem;
	min-width: 0;
}
.theme-cart-item-meta__label {
	font-size: 0.6875rem;
	font-family: var(--font-body);
	font-weight: 500;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: var(--color-muted-foreground);
	line-height: 1.2;
}
.theme-cart-item-meta__value {
	font-size: 0.8125rem;
	font-family: var(--font-body);
	font-weight: 500;
	color: var(--color-foreground);
	line-height: 1.35;
	word-break: break-word;
}

/* Responsive layout safety nets (Section 11.13) */
.single-product .woocommerce-product-details__short-description { overflow-wrap: break-word; word-break: break-word; }
/* Hide leftover WC chrome on PDP */
.single-product .woocommerce-tabs,
.single-product .product_meta,
.single-product .woocommerce-product-gallery,
.single-product .flex-viewport,
.single-product .pswp { display: none !important; }

/* ==========================================================================
   WooCommerce: 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: 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;
}
.single-product .theme-pdp-atc,
.single-product .theme-pdp-atc.button,
.single-product a.theme-pdp-atc {
	background-color: var(--color-foreground) !important;
	color: var(--color-background) !important;
	font-family: var(--font-body) !important;
	font-size: 0.75rem !important;
	font-weight: 500 !important;
	letter-spacing: 0.25em !important;
	text-transform: uppercase !important;
	border-radius: 9999px !important;
	min-height: auto !important;
	padding: 1rem 0 !important;
	width: 100%;
	border: none !important;
}
.single-product .theme-pdp-atc:hover,
.single-product a.theme-pdp-atc:hover {
	background-color: color-mix(in srgb, var(--color-foreground) 90%, transparent) !important;
	color: var(--color-background) !important;
	opacity: 1 !important;
}
.single-product .theme-add-to-cart-area {
	display: flex;
	flex-direction: column;
	gap: 0;
	margin-bottom: 0.5rem;
}
.single-product .theme-add-to-cart-area .theme-pdp-atc { margin-top: 0; }
.single-product .single_add_to_cart_button.loading::after,
.ajax_add_to_cart.loading::after { display: none !important; }

/* Card compact circular quick-add overrides global rules (scoped after) */
.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;
	width: 2.5rem !important;
	height: 2.5rem !important;
}

.ajax_add_to_cart.theme-btn-loading { opacity: 0.6 !important; pointer-events: none !important; cursor: wait !important; }

/* Hide "View cart" injected by WooCommerce after AJAX add (Section 11.4.2) */
.woocommerce-page a.added_to_cart.wc-forward,
.single-product a.added_to_cart.wc-forward,
body a.added_to_cart.wc-forward { display: none !important; }

/* ==========================================================================
   WooCommerce notices (Section 14.1)
   ========================================================================== */
.single-product .woocommerce-message,
.single-product .woocommerce-info { display: none; }
#theme-cart-drawer .woocommerce-message { display: none; }
.woocommerce-message, .woocommerce-error, .woocommerce-info {
	font-family: var(--font-body); border-radius: var(--radius); padding: 1rem 1.5rem; margin-bottom: 1.5rem;
	list-style: none; border: 1px solid var(--color-border); background: var(--color-secondary); color: var(--color-foreground);
}
.woocommerce-error { border-color: var(--color-destructive); background: color-mix(in srgb, var(--color-destructive) 8%, var(--color-background)); color: var(--color-destructive); }

/* ==========================================================================
   Variable product variation table (Section 11.5.1)
   ========================================================================== */
.single-product .variations.shop_attributes tbody,
.single-product .variations tbody tr,
.single-product .variations tbody td { display: block; width: 100%; }
.single-product .variations tbody td.label { padding-bottom: 0.25rem; font-weight: 600; }
.single-product .variations tbody td.value { padding-top: 0; }
.theme-attr-select-hidden { display: none !important; }
.variations select { border: 1px solid var(--color-border); border-radius: var(--radius); padding: 0.5rem 0.75rem; font-family: var(--font-body); }
.variations label { font-family: var(--font-body); font-weight: 600; font-style: normal; }

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

#theme-cart-drawer {
	position: fixed; right: 0; top: 0; height: 100%; width: 100%; max-width: 28rem;
	background: var(--color-background); z-index: 90; box-shadow: var(--shadow-elevated);
	display: flex; flex-direction: column;
	transform: translateX(100%); transition: transform 0.35s var(--ease-smooth);
}
body.cart-open #theme-cart-drawer { transform: translateX(0); }
#theme-cart-drawer.is-updating { opacity: 0.6; pointer-events: none; }
.theme-cart-drawer__header { display: flex; align-items: center; justify-content: space-between; padding: 1.5rem; border-bottom: 1px solid var(--color-border); }
.theme-cart-drawer__title { font-family: var(--font-display); font-size: 1.125rem; font-weight: 700; }
.theme-cart-drawer__close { padding: 0.25rem; }
.theme-cart-drawer__close svg { width: 18px; height: 18px; }
.theme-cart-drawer__empty { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 1.5rem; text-align: center; gap: 1rem; }
.theme-cart-drawer__empty-icon svg { width: 48px; height: 48px; color: var(--color-muted-foreground); }
.theme-cart-drawer__items { flex: 1 1 auto; min-height: 0; overflow-y: auto; padding: 1.5rem; display: flex; flex-direction: column; gap: 1.5rem; }
.theme-cart-item {
	display: grid;
	grid-template-columns: 5rem minmax(0, 1fr) auto;
	grid-template-rows: auto auto auto auto;
	column-gap: 1rem;
	row-gap: 0.25rem;
	align-items: start;
}
.theme-cart-item__image {
	grid-column: 1;
	grid-row: 1 / -1;
	width: 5rem;
	height: 6rem;
	flex-shrink: 0;
	overflow: hidden;
	background: var(--color-secondary);
}
.theme-cart-item__image img { width: 100%; height: 100%; object-fit: cover; }
.theme-cart-item__info { display: contents; }
.theme-cart-item__name {
	grid-column: 2;
	grid-row: 1;
	font-size: 0.875rem;
	font-family: var(--font-body);
	font-weight: 500;
	display: block;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
	padding-right: 0.5rem;
}
.theme-cart-item__total {
	grid-column: 3;
	grid-row: 1;
	font-size: 0.875rem;
	font-family: var(--font-body);
	font-weight: 500;
	white-space: nowrap;
}
.theme-cart-item__price {
	grid-column: 2 / 4;
	grid-row: 2;
	font-size: 0.875rem;
	font-family: var(--font-body);
	color: var(--color-muted-foreground);
	margin: 0;
}
.theme-cart-item__meta {
	grid-column: 2 / 4;
	grid-row: 3;
	font-size: 0.875rem;
	font-family: var(--font-body);
	color: var(--color-muted-foreground);
	margin: 0;
}
.theme-cart-item__controls {
	grid-column: 2 / 4;
	grid-row: 4;
	display: flex;
	align-items: center;
	gap: 0.5rem;
	margin-top: 0.5rem;
}
.theme-cart-item__controls button { padding: 0.25rem; }
.theme-cart-item__controls button svg { width: 12px; height: 12px; }
.theme-cart-item__qty { font-size: 0.875rem; font-family: var(--font-body); width: 1.5rem; text-align: center; }
.theme-cart-item__remove { margin-left: auto; font-size: 0.875rem; font-family: var(--font-body); color: var(--color-muted-foreground); }
.theme-cart-item__remove:hover { color: var(--color-foreground); }
.theme-cart-drawer__footer {
	padding: 1.5rem;
	border-top: 1px solid var(--color-border);
	display: flex;
	flex-direction: column;
	gap: 1rem;
	flex: 0 0 auto;
	flex-shrink: 0;
	margin-top: auto;
}
.theme-cart-drawer__footer > * {
	flex: 0 0 auto;
}
.theme-cart-drawer__subtotal {
	display: flex;
	justify-content: space-between;
	align-items: center;
	font-size: 0.875rem;
	font-family: var(--font-body);
}
.theme-cart-drawer__subtotal-label { color: var(--color-muted-foreground); }
.theme-cart-drawer__subtotal-amount {
	font-weight: 500;
	color: var(--color-foreground);
}
.theme-cart-drawer__subtotal-amount .woocommerce-Price-amount { font-weight: 500; }
.theme-cart-drawer__note {
	font-size: 0.875rem;
	font-family: var(--font-body);
	color: var(--color-muted-foreground);
	margin: 0;
}
/* Cart drawer footer buttons — CartDrawer.tsx (lg primary + sm outline). Overrides legacy .theme-btn leak. */
#theme-cart-drawer .theme-cart-drawer__footer .theme-cart-drawer__checkout,
#theme-cart-drawer .theme-cart-drawer__footer a.theme-btn-primary,
#theme-cart-drawer .theme-cart-drawer__footer a.theme-btn-full {
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;
	flex: 0 0 auto !important;
	width: 100% !important;
	height: auto !important;
	min-height: 2.75rem !important;
	max-height: none !important;
	padding: 0.5rem 2rem !important;
	border-radius: 0.375rem !important;
	font-family: var(--font-display) !important;
	font-size: 0.875rem !important;
	font-weight: 500 !important;
	line-height: 1.25 !important;
	letter-spacing: normal !important;
	text-transform: none !important;
	text-decoration: none !important;
	background: var(--color-primary) !important;
	color: var(--color-primary-foreground) !important;
	border: none !important;
	box-sizing: border-box !important;
}
#theme-cart-drawer .theme-cart-drawer__footer .theme-cart-drawer__checkout:hover,
#theme-cart-drawer .theme-cart-drawer__footer a.theme-btn-primary:hover {
	background: color-mix(in srgb, var(--color-primary) 90%, transparent) !important;
	color: var(--color-primary-foreground) !important;
	opacity: 1 !important;
}
#theme-cart-drawer .theme-cart-drawer__footer .theme-cart-drawer__empty-btn,
#theme-cart-drawer .theme-cart-drawer__footer [data-cart-empty],
#theme-cart-drawer .theme-cart-drawer__footer button.theme-btn-outline {
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;
	gap: 0.5rem !important;
	flex: 0 0 auto !important;
	width: 100% !important;
	height: auto !important;
	min-height: 2.25rem !important;
	max-height: 3rem !important;
	padding: 0.375rem 0.75rem !important;
	border-radius: 0.375rem !important;
	font-family: var(--font-display) !important;
	font-size: 0.875rem !important;
	font-weight: 500 !important;
	line-height: 1.25 !important;
	letter-spacing: normal !important;
	text-transform: none !important;
	background: var(--color-background) !important;
	color: var(--color-foreground) !important;
	border: 1px solid var(--color-border) !important;
	box-sizing: border-box !important;
	cursor: pointer !important;
}
#theme-cart-drawer .theme-cart-drawer__footer .theme-cart-drawer__empty-btn:hover,
#theme-cart-drawer .theme-cart-drawer__footer [data-cart-empty]:hover,
#theme-cart-drawer .theme-cart-drawer__footer button.theme-btn-outline:hover {
	background: var(--color-accent) !important;
	color: var(--color-accent-foreground) !important;
}
#theme-cart-drawer .theme-cart-drawer__footer svg,
#theme-cart-drawer .theme-cart-drawer__footer .theme-icon {
	width: 1rem !important;
	height: 1rem !important;
	max-width: 1rem !important;
	max-height: 1rem !important;
	flex-shrink: 0 !important;
	position: static !important;
	inset: auto !important;
}
.theme-cart-drawer__continue-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 2.25rem;
	padding: 0.375rem 0.75rem;
	border-radius: 0.375rem;
	font-family: var(--font-display);
	font-size: 0.875rem;
	font-weight: 500;
	letter-spacing: normal;
	text-transform: none;
	text-decoration: none;
	background: var(--color-background);
	color: var(--color-foreground);
	border: 1px solid var(--color-border);
	cursor: pointer;
}
.theme-cart-drawer__continue-btn:hover {
	background: var(--color-accent);
	color: var(--color-accent-foreground);
}

/* ==========================================================================
   Contact modal (Section 9)
   ========================================================================== */
.theme-modal-overlay { position: fixed; inset: 0; background: rgb(0 0 0 / 0.8); z-index: 98; opacity: 0; pointer-events: none; transition: opacity 0.3s var(--ease-smooth); }
body.contact-open .theme-modal-overlay { opacity: 1; pointer-events: auto; }
.theme-modal {
	position: fixed; top: 50%; left: 50%; transform: translate(-50%, -46%) scale(0.96); z-index: 99;
	width: 90%; max-width: 32rem; max-height: 90vh; overflow-y: auto;
	background: var(--color-background); border-radius: var(--radius); box-shadow: var(--shadow-elevated);
	padding: 2rem; opacity: 0; pointer-events: none; transition: opacity 0.25s var(--ease-smooth), transform 0.25s var(--ease-smooth);
}
body.contact-open .theme-modal { opacity: 1; pointer-events: auto; transform: translate(-50%, -50%) scale(1); }
.theme-modal__close { position: absolute; top: 1rem; right: 1rem; padding: 0.25rem; }
.theme-modal__close svg { width: 18px; height: 18px; }
.theme-modal__title { font-family: var(--font-display); font-size: 1.5rem; font-weight: 400; margin-bottom: 0.5rem; }
.theme-modal__description { font-family: var(--font-body); color: var(--color-muted-foreground); margin: 0 0 1.5rem; }
.theme-modal__contacts { display: flex; flex-wrap: wrap; gap: 1rem; font-size: 0.875rem; font-family: var(--font-body); color: var(--color-muted-foreground); margin-bottom: 1.5rem; }
.theme-modal__contacts a { display: flex; align-items: center; gap: 0.5rem; }
.theme-modal__contacts a:hover { color: var(--color-foreground); }
.theme-modal__contacts svg { width: 16px; height: 16px; }
.theme-form-row--2col { display: grid; grid-template-columns: 1fr; gap: 1rem; }
@media (min-width: 640px) { .theme-form-row--2col { grid-template-columns: 1fr 1fr; } }
.theme-form-field { margin-bottom: 1rem; }
.theme-form-field label { font-size: 0.875rem; font-family: var(--font-body); font-weight: 500; display: block; margin-bottom: 0.375rem; }
.theme-form-field input, .theme-form-field textarea {
	width: 100%; padding: 0.625rem 0.75rem; background: var(--color-background); border: 1px solid var(--color-border);
	border-radius: var(--radius); font-family: var(--font-body); font-size: 1rem; color: var(--color-foreground);
}
.theme-form-field textarea { resize: none; }
.theme-form-field input:focus, .theme-form-field textarea:focus { outline: none; box-shadow: 0 0 0 2px color-mix(in srgb, var(--color-primary) 40%, transparent); }
.theme-form-actions { display: flex; justify-content: flex-end; }
/* Contact modal submit — Lovable Button default (h-10, text-sm, sentence case). */
.theme-contact-submit {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.5rem;
	height: 2.5rem;
	padding: 0.5rem 1rem;
	border: none;
	border-radius: 0.375rem;
	font-family: var(--font-display);
	font-size: 0.875rem;
	font-weight: 500;
	line-height: 1.25;
	letter-spacing: normal;
	text-transform: none;
	white-space: nowrap;
	background: var(--color-primary);
	color: var(--color-primary-foreground);
	cursor: pointer;
	transition: background-color 0.2s ease, opacity 0.2s ease;
}
.theme-contact-submit:hover {
	background: color-mix(in srgb, var(--color-primary) 90%, transparent);
}
.theme-contact-submit:focus-visible {
	outline: none;
	box-shadow: 0 0 0 2px var(--color-background), 0 0 0 4px color-mix(in srgb, var(--color-primary) 40%, transparent);
}
.theme-contact-submit:disabled {
	opacity: 0.5;
	pointer-events: none;
	cursor: not-allowed;
}
.theme-contact-submit svg {
	width: 1rem;
	height: 1rem;
	flex-shrink: 0;
}
.theme-modal__success { text-align: center; padding: 2rem 0; }
.theme-modal__success h3 { font-family: var(--font-display); font-size: 1.25rem; font-weight: 400; margin: 0 0 0.5rem; }
.theme-modal__success p { font-family: var(--font-body); font-size: 0.875rem; color: var(--color-muted-foreground); margin: 0; }
.theme-modal__success-icon { width: 3.5rem; height: 3.5rem; background: var(--color-primary); color: var(--color-primary-foreground); border-radius: 50%; display: flex; align-items: center; justify-content: center; margin: 0 auto 1rem; }
.theme-modal__success-icon svg { width: 22px; height: 22px; }
.theme-cart-drawer__empty p { font-family: var(--font-body); font-size: 0.875rem; color: var(--color-muted-foreground); margin: 0; }

/* ==========================================================================
   Checkout — WooCommerce Blocks (Lovable Checkout parity, Sections C–H)
   ========================================================================== */
body.woocommerce-checkout .theme-checkout-main,
.entry-content:has(.wc-block-checkout) {
	padding-top: 0;
	padding-bottom: 4rem;
}
body.woocommerce-checkout .theme-checkout-main > .theme-site-container,
body.woocommerce-checkout .theme-checkout-shell,
body.woocommerce-checkout .theme-checkout-main .entry-content,
.entry-content:has(.wc-block-checkout) {
	max-width: none;
	width: 100%;
}
.theme-checkout-shell {
	padding-block: 0.5rem 4rem;
	width: 100%;
	box-sizing: border-box;
}
.theme-checkout-header,
body.woocommerce-checkout .wc-block-checkout,
body.woocommerce-checkout .wp-block-woocommerce-checkout,
.entry-content > .wc-block-checkout,
.entry-content > .wp-block-woocommerce-checkout,
body.woocommerce-checkout .wc-block-components-notices,
.entry-content .wc-block-components-notices {
	max-width: var(--checkout-max-width);
	width: 100%;
	margin-inline: auto;
	box-sizing: border-box;
}
.theme-checkout-header { margin-bottom: 0; padding-inline: 1.5rem; }
.checkout-continue-link {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	margin-bottom: 1rem;
	font-size: 0.875rem;
	font-family: var(--font-body);
	color: var(--color-muted-foreground);
	text-decoration: none;
}
.checkout-continue-link:hover { color: var(--color-foreground); }
.checkout-continue-link svg { width: 1rem; height: 1rem; }
.theme-checkout-title {
	margin: 0;
	font-family: var(--font-display);
	font-size: clamp(1.75rem, 4vw, 2.25rem);
	font-weight: 700;
}
.theme-checkout-intro { margin: 0.75rem 0 0; font-family: var(--font-body); color: var(--color-muted-foreground); }
body.woocommerce-checkout .theme-checkout-main .entry-content,
.entry-content:has(.wc-block-checkout) {
	margin-top: 0;
	padding-top: 0;
	padding-inline: 1.5rem;
}
body.woocommerce-checkout .theme-checkout-main .entry-content > .wc-block-checkout,
body.woocommerce-checkout .theme-checkout-main .entry-content > .wp-block-woocommerce-checkout,
.entry-content > .wc-block-checkout:first-child,
.entry-content > .wp-block-woocommerce-checkout:first-child {
	margin-top: 0;
}
body.woocommerce-checkout .wc-block-checkout,
.entry-content .wc-block-checkout,
body.woocommerce-checkout .wp-block-woocommerce-checkout,
.entry-content .wp-block-woocommerce-checkout {
	margin-top: 0;
	padding-top: 0;
	min-width: 0;
}
body.woocommerce-checkout .wc-block-checkout.alignwide,
.entry-content .wc-block-checkout.alignwide { margin-top: 0; }
body.woocommerce-checkout .wc-block-checkout__main,
body.woocommerce-checkout .wc-block-components-main,
.entry-content .wc-block-checkout__main,
.entry-content .wc-block-components-main,
body.woocommerce-checkout .wc-block-checkout .wc-block-components-sidebar-layout,
body.woocommerce-checkout .wc-block-checkout .wc-block-checkout-sidebar-layout,
.entry-content .wc-block-checkout .wc-block-components-sidebar-layout,
.entry-content .wc-block-checkout .wc-block-checkout-sidebar-layout {
	margin-top: 0;
	padding-top: 0;
}
body.woocommerce-checkout .wc-block-checkout > .wc-block-components-notices:empty,
.entry-content .wc-block-checkout > .wc-block-components-notices:empty {
	display: none;
	margin: 0;
	padding: 0;
}
body.woocommerce-checkout .wc-block-components-notices,
.entry-content .wc-block-components-notices {
	margin-top: 0;
	padding-top: 0;
	margin-bottom: var(--checkout-gap);
}
@media (min-width: 768px) {
	body.woocommerce-checkout .wc-block-checkout .wc-block-components-sidebar-layout,
	body.woocommerce-checkout .wc-block-checkout .wc-block-checkout-sidebar-layout,
	.entry-content .wc-block-checkout .wc-block-components-sidebar-layout,
	.entry-content .wc-block-checkout .wc-block-checkout-sidebar-layout {
		display: grid !important;
		grid-template-columns: 1fr minmax(360px, 400px);
		gap: var(--checkout-gap);
		align-items: start;
		flex-direction: unset;
		flex-wrap: nowrap;
		margin: 0;
	}
	body.woocommerce-checkout .wc-block-checkout:has(> .wc-block-checkout__main):has(> .wc-block-checkout__sidebar),
	.entry-content .wc-block-checkout:has(> .wc-block-checkout__main):has(> .wc-block-checkout__sidebar) {
		display: grid;
		grid-template-columns: 1fr minmax(360px, 400px);
		gap: var(--checkout-gap);
		align-items: start;
	}
	body.woocommerce-checkout .wc-block-checkout .wc-block-components-sidebar-layout .wc-block-checkout__main,
	body.woocommerce-checkout .wc-block-checkout .wc-block-components-sidebar-layout .wc-block-components-main,
	body.woocommerce-checkout .wc-block-checkout .wc-block-components-sidebar-layout .wc-block-checkout__sidebar,
	body.woocommerce-checkout .wc-block-checkout .wc-block-components-sidebar-layout .wc-block-components-sidebar,
	.entry-content .wc-block-checkout .wc-block-components-sidebar-layout .wc-block-checkout__main,
	.entry-content .wc-block-checkout .wc-block-components-sidebar-layout .wc-block-components-main,
	.entry-content .wc-block-checkout .wc-block-components-sidebar-layout .wc-block-checkout__sidebar,
	.entry-content .wc-block-checkout .wc-block-components-sidebar-layout .wc-block-components-sidebar {
		width: auto !important;
		max-width: 100%;
		min-width: 0;
		margin: 0 !important;
		padding: 0 !important;
		box-sizing: border-box;
	}
	body.woocommerce-checkout .wc-block-checkout > .wc-block-components-notices,
	.entry-content .wc-block-checkout > .wc-block-components-notices { grid-column: 1 / -1; }
}
body.woocommerce-checkout .wc-block-checkout__sidebar,
body.woocommerce-checkout .wc-block-components-sidebar,
body.woocommerce-checkout .wp-block-woocommerce-checkout-totals-block,
.entry-content .wc-block-checkout__sidebar,
.entry-content .wc-block-components-sidebar {
	background: transparent;
	padding: 0;
	border-radius: 0;
}
body.woocommerce-checkout .wp-block-woocommerce-checkout-order-summary-block,
.entry-content .wp-block-woocommerce-checkout-order-summary-block {
	width: 100%;
	background: var(--color-secondary);
	border-radius: var(--radius);
	padding: 2rem;
	box-sizing: border-box;
}
body.woocommerce-checkout .wc-block-checkout-empty,
.entry-content .wc-block-checkout-empty {
	margin-inline: auto;
	max-width: 36rem;
	text-align: center;
	display: flex;
	flex-direction: column;
	align-items: center;
}
body.woocommerce-checkout .wc-block-components-text-input input,
body.woocommerce-checkout .wc-block-components-select select,
.entry-content .wc-block-components-text-input input,
.entry-content .wc-block-components-select select {
	width: 100% !important;
	max-width: none !important;
	font-family: var(--font-body);
	border: 1px solid var(--color-border);
	border-radius: var(--radius);
	background: var(--color-background);
	color: var(--color-foreground);
}
body.woocommerce-checkout .wc-block-components-text-input input:focus,
body.woocommerce-checkout .wc-block-components-select select:focus,
.entry-content .wc-block-components-text-input input:focus,
.entry-content .wc-block-components-select select:focus {
	outline: none;
	box-shadow: 0 0 0 2px color-mix(in srgb, var(--color-primary) 40%, transparent);
}
body.woocommerce-checkout .wc-block-components-checkout-place-order-button,
.entry-content .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;
	text-transform: uppercase;
	letter-spacing: 0.15em;
}
body.woocommerce-checkout .wc-block-components-checkout-place-order-button:hover,
.entry-content .wc-block-components-checkout-place-order-button:hover { opacity: 0.9; }
body.woocommerce-cart .page-title,
body.woocommerce-account .page-title {
	font-family: var(--font-display); font-size: 2rem; margin: 0 0 2rem; padding: 0 1.5rem;
}
body.woocommerce-cart .theme-site-container,
body.woocommerce-account .theme-site-container { max-width: 80rem; margin: 0 auto; }

/* ==========================================================================
   Thank-you page (Section 22.8)
   ========================================================================== */
body.theme-thankyou-page { overflow-x: hidden; }
body.theme-thankyou-page .woocommerce-order-details table { width: 100%; table-layout: fixed; }
body.theme-thankyou-page .woocommerce-order h2,
body.theme-thankyou-page .woocommerce-order-details__title { padding: 0 0 1rem; font-size: 1.5rem; }
body.theme-thankyou-page .woocommerce-order-details tfoot th { text-align: left; }
body.theme-thankyou-page .woocommerce-order-details tfoot td { text-align: right; }
@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; }

/* ==========================================================================
   404
   ========================================================================== */
.theme-404 { min-height: 60vh; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: 1rem; padding: 4rem 1.5rem; }
.theme-404__code { font-size: 4rem; }
.theme-404__message { font-size: 1.25rem; color: var(--color-muted-foreground); }
.theme-404__link { color: var(--color-primary); text-decoration: underline; }

/* Generic page shell */
.page-title { font-size: 2rem; margin-bottom: 2rem; }
