/* ==========================================================================
   PromptPathway theme stylesheet
   ========================================================================== */

/* ---------- Design tokens ------------------------------------------------ */
:root {
	--color-background: #f9fafb;
	--color-foreground: #0f1729;
	--color-primary: #0f1729;
	--color-secondary: #eaedf0;
	--color-muted: #e1e5ea;
	--color-muted-foreground: #65758b;
	--color-accent: #4e44e4;
	--color-marigold: #f6aa28;
	--color-rosa: #e76740;
	--color-border: #e1e7ef;
	--color-butter: #f3f5f7;
	--color-button-text: #f9fafb;
	--color-destructive: #bd2828;

	--font-display: 'Playfair Display', Georgia, serif;
	--font-body: 'Inter Variable', 'Inter', sans-serif;

	--pp-admin-bar-offset: 0px;

	--radius: 0.375rem;
	--card-radius: 1rem;

	--btn-radius: 999px;
	--btn-height: 2.75rem;
	--btn-padding: 0 2rem;
	--btn-font-size: 12px;
	--btn-font-weight: 600;
	--btn-letter-spacing: 0.22em;
	--btn-text-transform: uppercase;
	--btn-icon-padding: 0.5rem;

	--logo-height: 96px;
	--header-nav-height: 4rem;
	--header-height: calc(var(--header-nav-height) + 2px);
	--announcement-height: 0px;
	--section-padding: 2rem;
	--checkout-gap: 2rem;

	--shadow-soft: 0 1px 2px 0 rgb(15 23 41 / 0.05);
	--shadow-elevated: 0 4px 16px -4px rgb(15 23 41 / 0.1);
	--ease-smooth: cubic-bezier(0.25, 0.4, 0.25, 1);
}

/* ---------- Reset / base -------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
html, body { max-width: 100%; overflow-x: clip; }
body {
	margin: 0;
	background: var(--color-background);
	color: var(--color-foreground);
	font-family: var(--font-body);
	-webkit-font-smoothing: antialiased;
	line-height: 1.55;
}
h1, h2, h3, h4, h5, h6 {
	font-family: var(--font-display);
	font-weight: inherit;
	font-size: inherit;
	letter-spacing: -0.015em;
	margin: 0;
}
p { margin: 0; }
a { color: inherit; text-decoration: none; cursor: pointer; }
button { font-family: inherit; background: none; border: none; cursor: pointer; padding: 0; color: inherit; }
ul { list-style: none; margin: 0; padding: 0; }
img:not(.cover-img):not(.hero-bg-img):not(.product-card-img) {
	max-width: 100%;
	height: auto;
	display: block;
}
.cover-img, .hero-bg-img, .product-card-img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
}
input, textarea, select { font-family: inherit; font-size: 1rem; color: inherit; }

.container-wide {
	width: 100%;
	max-width: 80rem;
	margin: 0 auto;
	padding-inline: 1.5rem;
}
@media (min-width: 1024px) { .container-wide { padding-inline: 2rem; } }

.link-underline { position: relative; display: inline-block; }
.link-underline::after {
	content: '';
	position: absolute;
	bottom: 0; left: 0;
	width: 100%; height: 1px;
	background: currentColor;
	transform-origin: left;
	transform: scaleX(0);
	transition: transform 0.3s var(--ease-smooth);
}
.link-underline:hover::after { transform: scaleX(1); }

.pp-eyebrow {
	display: block;
	font-size: 12px;
	letter-spacing: 0.32em;
	text-transform: uppercase;
	font-family: var(--font-body);
	margin-bottom: 0.75rem;
	color: var(--color-foreground);
}
.pp-eyebrow::after {
	content: '';
	display: block;
	width: 2.5rem;
	height: 1px;
	background: currentColor;
	opacity: 0.4;
	margin-top: 0.75rem;
}
.pp-eyebrow--on-dark { color: var(--color-background); }
.accent-teal, .accent-lilac { color: var(--color-accent); }
.accent-nopal { color: var(--color-primary); }
.accent-marigold { color: var(--color-marigold); }
.accent-rosa { color: var(--color-rosa); }

.pp-heading { font-weight: 400; line-height: 1.05; }

/* ---------- Buttons -------------------------------------------------------- */
.theme-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.5rem;
	border-radius: var(--btn-radius);
	height: var(--btn-height);
	padding: var(--btn-padding);
	font-family: var(--font-body);
	font-size: var(--btn-font-size);
	font-weight: var(--btn-font-weight);
	letter-spacing: var(--btn-letter-spacing);
	text-transform: var(--btn-text-transform);
	border: 1px solid transparent;
	transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease, opacity 0.2s ease;
	white-space: nowrap;
	cursor: pointer;
}
.theme-btn--hero-primary { background: rgb(249 250 251 / 0.95); color: var(--color-foreground); }
.theme-btn--hero-primary:hover { background: var(--color-background); }
.theme-btn--hero-outline { border-color: rgb(249 250 251 / 0.8); color: var(--color-background); background: transparent; }
.theme-btn--hero-outline:hover { background: rgb(249 250 251 / 0.15); border-color: var(--color-background); }
.theme-btn--outline-nopal { border-color: var(--color-primary); color: var(--color-primary); background: transparent; }
.theme-btn--outline-nopal:hover { background: var(--color-primary); color: var(--color-background); }
.theme-btn--outline-teal { border-color: var(--color-accent); color: var(--color-accent); background: transparent; }
.theme-btn--outline-teal:hover { background: var(--color-accent); color: var(--color-background); }
.theme-btn--outline { border-color: rgb(15 23 41 / 0.4); color: var(--color-foreground); background: transparent; }
.theme-btn--outline:hover { border-color: var(--color-foreground); background: var(--color-foreground); color: var(--color-background); }
.theme-btn--primary { background: var(--color-primary); color: var(--color-button-text); border-color: var(--color-primary); }
.theme-btn--primary:hover { background: var(--color-background); color: var(--color-primary); }
.theme-btn--foreground { background: var(--color-foreground); color: var(--color-background); }
.theme-btn--foreground:hover { background: rgb(15 23 41 / 0.9); }
.theme-btn--full { width: 100%; }

/* ==========================================================================
   Animations (Section 2.1)
   ========================================================================== */
@keyframes ppFadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes ppSlideUp { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }
@keyframes ppFadeUp { from { opacity: 0; transform: translateY(32px); } to { opacity: 1; transform: translateY(0); } }
@keyframes ppMarquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@keyframes ppMobileMenuIn {
	from { opacity: 0; transform: translateY(-8px); }
	to { opacity: 1; transform: translateY(0); }
}

.animate-fade-in { animation: ppFadeIn 0.6s var(--ease-smooth) forwards; }
.animate-slide-up { animation: ppSlideUp 0.6s var(--ease-smooth) forwards; }

.reveal-item {
	opacity: 0;
	transform: translateY(32px);
	transition: opacity 0.7s var(--ease-smooth), transform 0.7s var(--ease-smooth);
}
.reveal-item.is-visible { opacity: 1; transform: translateY(0); }

@media (prefers-reduced-motion: reduce) {
	.reveal-item { transition: none; }
	.animate-fade-in, .animate-slide-up { animation: none; }
	.site-header__mobile-menu,
	.site-header__mobile-menu .theme-nav-link { animation: none !important; transition: none !important; }
}

/* Customizer preview / no-JS fallback — reveal content MUST NOT stay hidden
   (Section 2.1.5). */
body.is-customizer .reveal-item,
body.no-js .reveal-item {
	opacity: 1 !important;
	transform: none !important;
}

/* ==========================================================================
   WordPress admin bar + fixed header offset
   ========================================================================== */
body.admin-bar {
	--pp-admin-bar-offset: var(--wp-admin--admin-bar--height, 32px);
}
@media screen and (max-width: 782px) {
	body.admin-bar {
		--pp-admin-bar-offset: 46px;
	}
}
@media screen and (max-width: 600px) {
	html #wpadminbar {
		position: fixed !important;
	}
}

/* ==========================================================================
   Announcement bar
   ========================================================================== */
.theme-announcement-bar {
	position: fixed;
	top: var(--pp-admin-bar-offset, 0px);
	left: 0;
	right: 0;
	z-index: 51;
	background: var(--color-primary);
	color: var(--color-background);
}
.theme-announcement-bar__inner { padding: 0.5rem 1.5rem; text-align: center; }
.theme-announcement-bar__text { font-size: 13px; letter-spacing: 0.18em; text-transform: uppercase; }
.theme-announcement-bar__close {
	position: absolute; right: 0.75rem; top: 50%; transform: translateY(-50%);
	padding: 0.25rem; opacity: 0.7; transition: opacity 0.2s ease; cursor: pointer;
}
.theme-announcement-bar__close:hover { opacity: 1; }
.theme-announcement-bar.is-dismissed { display: none; }

/* ==========================================================================
   Header
   ========================================================================== */
.site-header {
	position: fixed;
	top: calc(var(--pp-admin-bar-offset, 0px) + var(--announcement-height, 0px));
	left: 0; right: 0;
	z-index: 50;
	background: var(--color-background);
	border-top: 2px solid rgb(78 68 228 / 0.4);
	border-bottom: 1px solid transparent;
	transition: background-color 0.3s ease, border-color 0.3s ease, top 0.2s ease;
}
@media (min-width: 768px) {
	:root { --header-nav-height: 5rem; }
}
.site-header.is-solid,
.site-header.is-scrolled,
.site-header.mobile-open {
	background: rgb(249 250 251 / 0.95);
	backdrop-filter: blur(6px);
	border-bottom-color: rgb(225 231 239 / 0.6);
}
body {
	padding-top: calc(var(--header-height) + var(--pp-admin-bar-offset, 0px) + var(--announcement-height, 0px));
}

/* Anchor sections — offset fixed header on mobile + desktop */
#featured,
#about,
#services,
#owners,
#shop,
#starter,
#support,
.scroll-reveal-section[id] {
	scroll-margin-top: calc(var(--header-height) + var(--announcement-height, 0px) + 1rem);
}
.site-header__nav {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: space-between;
	height: var(--header-nav-height);
}

.site-header__links { display: none; align-items: center; gap: 2.5rem; }
.site-header__links--left { flex: 1; justify-content: flex-start; }
.site-header__links--right { justify-content: flex-end; }
@media (min-width: 1024px) {
	.site-header__links { display: flex; }
	.site-header__links--left { flex: 1; }
	.site-header__links--right { flex: 0 1 auto; }
}

.site-header__aside {
	display: flex;
	align-items: center;
	justify-content: flex-end;
	flex: 1;
	gap: 1.5rem;
	min-width: 0;
	z-index: 2;
}
@media (min-width: 1024px) {
	.site-header__aside { gap: 2.5rem; }
}

.site-header__menu-toggle { padding: 0.5rem; margin-left: -0.5rem; cursor: pointer; z-index: 2; }
@media (min-width: 1024px) { .site-header__menu-toggle { display: none; } }

.site-header__brand {
	position: absolute; left: 50%; transform: translateX(-50%);
	display: flex; align-items: center; z-index: 1;
}
.site-logo-img { height: 4rem !important; width: auto !important; display: block; }
@media (min-width: 768px) {
	.site-logo-img { height: var(--logo-height) !important; }
}
.site-logo-text { font-family: var(--font-display); font-size: 1.5rem; line-height: 4rem; display: block; }
@media (min-width: 768px) {
	.site-logo-text { line-height: var(--logo-height); }
}

.theme-nav-list { display: flex; align-items: center; gap: 2.5rem; }
.theme-nav-link {
	font-size: 13px; font-weight: 400; color: rgb(15 23 41 / 0.8);
	transition: color 0.2s ease; cursor: pointer; text-transform: none; letter-spacing: normal;
}
.theme-nav-link:hover { color: var(--color-foreground); }

.site-header__actions { display: flex; align-items: center; gap: 0.75rem; flex-shrink: 0; }
.theme-cart-toggle {
	position: relative;
	display: inline-flex; align-items: center; justify-content: center;
	width: 2.25rem; height: 2.25rem; border-radius: 50%;
	border: 1px solid rgb(15 23 41 / 0.3);
	font-size: 13px;
	transition: border-color 0.2s ease;
	cursor: pointer;
}
.theme-cart-toggle:hover { border-color: var(--color-foreground); }
.theme-cart-count {
	display: inline-block;
	min-width: 1ch;
	text-align: center;
	font-size: 13px;
	font-weight: 400;
	line-height: 1;
	color: var(--color-foreground);
	font-variant-numeric: tabular-nums;
}

.site-header__mobile-menu {
	display: block;
	max-height: 0;
	overflow: hidden;
	opacity: 0;
	padding: 0;
	border-top: 0 solid transparent;
	transition: max-height 0.45s var(--ease-smooth), opacity 0.35s ease, padding 0.35s ease, border-color 0.35s ease, border-width 0.35s ease;
}
.site-header__mobile-menu.is-open {
	max-height: 28rem;
	opacity: 1;
	padding: 1rem 0;
	border-top-width: 1px;
	border-top-color: rgb(225 231 239 / 0.6);
}
.site-header__mobile-menu.is-open .theme-nav-list--mobile .theme-nav-link {
	animation: ppMobileMenuIn 0.45s var(--ease-smooth) both;
}
.site-header__mobile-menu.is-open .theme-nav-list--mobile li:nth-child(1) .theme-nav-link { animation-delay: 0.04s; }
.site-header__mobile-menu.is-open .theme-nav-list--mobile li:nth-child(2) .theme-nav-link { animation-delay: 0.08s; }
.site-header__mobile-menu.is-open .theme-nav-list--mobile li:nth-child(3) .theme-nav-link { animation-delay: 0.12s; }
.site-header__mobile-menu.is-open .theme-nav-list--mobile li:nth-child(4) .theme-nav-link { animation-delay: 0.16s; }
.site-header__mobile-menu.is-open .theme-nav-list--mobile li:nth-child(5) .theme-nav-link { animation-delay: 0.2s; }
.site-header__mobile-menu.is-open .theme-nav-list--mobile li:nth-child(6) .theme-nav-link { animation-delay: 0.24s; }
.theme-nav-list--mobile { flex-direction: column; align-items: flex-start; gap: 1rem; }
.theme-nav-list--mobile .theme-nav-link { padding: 0.5rem 0; font-size: 0.875rem; }

/* ==========================================================================
   Hero
   ========================================================================== */
.pp-hero { background: var(--color-background); }
.pp-hero__media {
	position: relative;
	width: 100%;
	height: 92vh;
	min-height: 620px;
	overflow: hidden;
}
.pp-hero__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.pp-hero__scrim { position: absolute; inset: 0; background: rgb(15 23 41 / 0.55); pointer-events: none; }
.pp-hero__scrim-bottom {
	position: absolute; inset-inline: 0; bottom: 0; height: 33%;
	background: linear-gradient(to top, rgb(15 23 41 / 0.7), transparent);
	pointer-events: none;
}
.pp-hero__content { position: relative; height: 100%; display: flex; flex-direction: column; align-items: center; text-align: center; }
.pp-hero__center { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; max-width: 64rem; padding: 0 0.5rem; }
.pp-hero__headline {
	color: var(--color-background);
	font-style: italic;
	line-height: 0.98;
	font-size: clamp(2.75rem, 8vw, 6.5rem);
}
.pp-hero__ctas { margin-top: 2.5rem; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1rem; }
@media (min-width: 640px) { .pp-hero__ctas { flex-direction: row; } }

/* ==========================================================================
   Category strip
   ========================================================================== */
.pp-catstrip { padding-block: 4rem 5rem; }
@media (min-width: 768px) { .pp-catstrip { padding-block: 5rem; } }
.pp-catstrip__head { text-align: center; margin-bottom: 2.5rem; }
.pp-heading--catstrip { font-size: 1.875rem; }
@media (min-width: 768px) { .pp-heading--catstrip { font-size: 2.25rem; } }

.pp-catstrip__mobile { position: relative; max-width: 24rem; margin: 0 auto; }
.pp-catstrip__mobile .pp-select { padding-right: 3rem; }
@media (min-width: 768px) { .pp-catstrip__mobile { display: none; } }

.pp-catstrip__tiles { display: none; justify-content: center; gap: 2.5rem; padding: 1.5rem 0.5rem 1rem; flex-wrap: wrap; }
@media (min-width: 768px) { .pp-catstrip__tiles { display: flex; } }
.pp-cattile { display: flex; flex-direction: column; align-items: center; gap: 1rem; flex-shrink: 0; cursor: pointer; }
.pp-cattile__circle {
	width: 6rem; height: 6rem; border-radius: 50%;
	display: flex; align-items: center; justify-content: center;
	background: var(--color-secondary);
	transition: transform 0.3s ease;
	color: rgb(15 23 41 / 0.8);
}
.pp-cattile:hover .pp-cattile__circle { transform: scale(1.05); }
.pp-cattile__icon { width: 2rem; height: 2rem; }
@media (min-width: 768px) { .pp-cattile__circle { width: 10rem; height: 10rem; } .pp-cattile__icon { width: 3rem; height: 3rem; } }
.pp-cattile__label { font-size: 0.875rem; letter-spacing: 0.18em; text-transform: uppercase; color: rgb(15 23 41 / 0.85); text-align: center; }
.pp-cattile:hover .pp-cattile__label { color: var(--color-foreground); }

.pp-select {
	height: 3rem; width: 100%; appearance: none;
	border-radius: 999px; border: 1px solid rgb(15 23 41 / 0.2);
	background: var(--color-background); padding: 0 3rem 0 1.25rem;
	font-family: var(--font-body); font-size: 12px; font-weight: 600;
	text-transform: uppercase; letter-spacing: 0.18em; color: var(--color-foreground);
	box-shadow: var(--shadow-soft);
}
.pp-select__chevron { position: absolute; right: 1.25rem; top: 50%; transform: translateY(-50%); pointer-events: none; color: rgb(15 23 41 / 0.7); }

/* ==========================================================================
   Featured
   ========================================================================== */
.pp-featured { padding-block: 4rem 6rem; }
@media (min-width: 768px) { .pp-featured { padding-block: 4rem 6rem; } }
.pp-featured__head { text-align: center; margin-bottom: 3.5rem; }
.pp-heading--featured { font-size: 1.875rem; }
@media (min-width: 768px) { .pp-heading--featured { font-size: 3rem; } }
.pp-featured__grid { display: grid; grid-template-columns: 1fr; gap: 2rem; }
@media (min-width: 768px) { .pp-featured__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .pp-featured__grid { gap: 3rem; } }
.pp-featured__cta { text-align: center; margin-top: 3.5rem; }

/* ==========================================================================
   Product cards (shared across all listing contexts — Section 31.13)
   ========================================================================== */
.theme-product-grid, .pp-shop__grid, .pp-featured__grid, .theme-related-products__grid {
	display: grid;
	align-items: stretch;
}
.theme-product-grid { grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 1.5rem; }

.theme-product-card-wrap { display: flex; }
.theme-product-card-wrap[data-extra-hidden="1"] { display: none; }
.theme-product-card-wrap.is-cat-hidden,
.theme-product-card-wrap.is-search-hidden { display: none !important; }
.theme-product-card {
	position: relative;
	display: flex;
	flex-direction: column;
	width: 100%;
}
.theme-product-card__media-link {
	display: block;
	position: absolute;
	inset: 0;
	z-index: 1;
}
.theme-product-card__media-link .theme-product-card__img,
.theme-product-card__media-link .product-card-img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}
.theme-product-card__info-link {
	display: block;
	color: inherit;
	text-decoration: none;
}
.theme-product-card__info-link:hover .theme-product-card__title { color: var(--color-primary); }

.theme-product-card__image-wrapper {
	position: relative;
	aspect-ratio: 1 / 1;
	background: #fff;
	border-radius: var(--card-radius);
	overflow: hidden;
	margin-bottom: 1.25rem;
}
.theme-product-card__badge {
	position: absolute; top: 1rem; z-index: 3;
	padding: 0.25rem 0.75rem; border-radius: 0.375rem;
	font-size: 11px; font-weight: 500; letter-spacing: 0.02em;
}
.theme-product-card__badge--soldout { right: 1rem; background: var(--color-foreground); color: var(--color-background); }

.theme-product-card__add-btn {
	position: absolute;
	left: 1rem; right: 1rem; bottom: 1rem;
	padding: 0.75rem 0; border-radius: 999px;
	background: var(--color-accent); color: var(--color-background);
	border: 1px solid var(--color-accent);
	font-size: 11px; letter-spacing: 0.22em; text-transform: uppercase; font-weight: 600;
	text-align: center;
	opacity: 1; transform: translateY(0);
	transition: opacity 0.3s ease, transform 0.3s ease, background-color 0.2s ease, color 0.2s ease;
	z-index: 3;
	cursor: pointer;
}
@media (hover: hover) and (pointer: fine) {
	.theme-product-card__add-btn {
		opacity: 0; transform: translateY(0.5rem);
	}
	.theme-product-card:hover .theme-product-card__add-btn,
	.theme-product-card__add-btn:focus-visible {
		opacity: 1; transform: translateY(0);
	}
}
.theme-product-card__add-btn:hover { background: var(--color-background); color: var(--color-accent); }

.theme-product-card__info { padding: 0 0.25rem; display: flex; flex-direction: column; gap: 0.375rem; flex: 1; }
.theme-product-card__cat { font-size: 12px; text-transform: uppercase; letter-spacing: 0.18em; color: var(--color-muted-foreground); }
.theme-product-card__title { font-size: 1rem; font-weight: 500; line-height: 1.4; color: var(--color-foreground); transition: color 0.3s ease; }
@media (min-width: 768px) { .theme-product-card__title { font-size: 1.125rem; } }
.theme-product-card:hover .theme-product-card__title { color: var(--color-primary); }
.theme-product-card__price { font-size: 1rem; color: rgb(15 23 41 / 0.85); }
.theme-product-card__price ins { text-decoration: none; }
.theme-product-card__price del { opacity: 0.5; margin-right: 0.4em; }

/* ==========================================================================
   About / how it works
   ========================================================================== */
.pp-about { position: relative; overflow: hidden; }
.pp-about__bg { position: absolute; inset: 0; z-index: -1; }
.pp-about__bg-img { transform: scale(1.05); filter: blur(5px); }
.pp-about__scrim { position: absolute; inset: 0; background: rgb(15 23 41 / 0.3); }
.pp-about__inner { padding: 6rem 0; }
@media (min-width: 768px) { .pp-about__inner { padding: 8rem 0; } }
.pp-about__content { max-width: 48rem; margin: 0 auto; text-align: center; padding: 0 1.5rem; }
@media (min-width: 768px) { .pp-about__content { padding: 0 3.5rem; } }
@media (min-width: 1024px) { .pp-about__content { padding: 0 5rem; } }
.pp-heading--about, .pp-about__heading {
	font-family: var(--font-display);
	font-weight: 400;
	font-size: 1.875rem;
	line-height: 1.25;
	color: var(--color-background);
	margin-bottom: 2.5rem;
}
@media (min-width: 768px) {
	.pp-about__heading { font-size: 3rem; }
}
.pp-about__heading em { font-style: italic; }
.pp-about__body { color: rgb(249 250 251 / 0.85); line-height: 1.7; font-size: 1.125rem; }
@media (min-width: 768px) { .pp-about__body { font-size: 1.25rem; } }
.pp-about__cta { margin-top: 2.5rem; font-size: 12px; letter-spacing: 0.28em; text-transform: uppercase; font-family: var(--font-display); font-weight: 500; color: var(--color-background); cursor: pointer; }

/* ==========================================================================
   Services / why us
   ========================================================================== */
.pp-services { background: var(--color-butter); padding: 5rem 0 7rem; }
@media (min-width: 768px) { .pp-services { padding: 5rem 0 7rem; } }
.pp-services__head { text-align: center; margin-bottom: 4rem; }
.pp-heading--services { font-size: 2.25rem; }
@media (min-width: 768px) { .pp-heading--services { font-size: 3rem; } }
@media (min-width: 1024px) { .pp-heading--services { font-size: 3.75rem; } }
.pp-services__grid {
	display: grid; grid-template-columns: 1fr; gap: 1.5rem;
	max-width: 90rem; margin: 0 auto;
}
@media (min-width: 640px) { .pp-services__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .pp-services__grid { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 2rem; } }
.pp-service-card {
	display: flex; flex-direction: column; text-align: center;
	background: #fff; border-radius: 1rem; padding: 2rem;
	border: 1px solid rgb(15 23 41 / 0.05);
	transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.pp-service-card:hover { transform: translateY(-4px); box-shadow: 0 12px 30px -15px rgb(0 0 0 / 0.15); }
.pp-service-card__icon { display: flex; align-items: center; justify-content: center; margin: 0 auto 1.5rem; }
.pp-service-card__title { font-size: 12px; letter-spacing: 0.28em; text-transform: uppercase; font-family: var(--font-body); font-weight: 600; margin-bottom: 0.75rem; }
.pp-service-card__desc { font-size: 0.875rem; color: var(--color-muted-foreground); line-height: 1.6; margin-bottom: 1.5rem; }
.pp-service-card__cta { margin-top: auto; font-size: 11px; letter-spacing: 0.24em; text-transform: uppercase; font-weight: 600; color: var(--color-primary); transition: color 0.2s ease; cursor: pointer; }
.pp-service-card__cta:hover { color: var(--color-foreground); }

/* ==========================================================================
   Owners / founder
   ========================================================================== */
.pp-owners { background: var(--color-primary); color: var(--color-background); }
.pp-owners__grid { display: grid; grid-template-columns: 1fr; align-items: stretch; }
@media (min-width: 1024px) { .pp-owners__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.pp-owners__photo-wrap { position: relative; min-height: 320px; overflow: hidden; }
@media (min-width: 768px) { .pp-owners__photo-wrap { min-height: 460px; } }
@media (min-width: 1024px) { .pp-owners__photo-wrap { min-height: 560px; } }
.pp-owners__photo-scrim { position: absolute; inset: 0; background: linear-gradient(to top, rgb(0 0 0 / 0.4), transparent 60%); pointer-events: none; }
.pp-owners__photo-caption { position: absolute; left: 2rem; right: 2rem; bottom: 2rem; color: var(--color-background); }
.pp-owners__photo-name { font-family: var(--font-display); font-size: 1.5rem; }
@media (min-width: 768px) { .pp-owners__photo-name { font-size: 1.875rem; } }
.pp-owners__photo-title { margin-top: 0.25rem; font-size: 11px; letter-spacing: 0.25em; text-transform: uppercase; color: rgb(249 250 251 / 0.85); }
.pp-owners__content-wrap { display: flex; align-items: center; background: var(--color-background); padding-block: 4rem; padding-inline: 1.5rem; color: var(--color-foreground); }
@media (min-width: 768px) { .pp-owners__content-wrap { padding-block: 6rem; padding-inline: 3.5rem; } }
@media (min-width: 1024px) { .pp-owners__content-wrap { padding-inline: 5rem; } }
@media (min-width: 1280px) { .pp-owners__content-wrap { padding-inline: 6rem; } }
.pp-owners__content { max-width: 36rem; }
.pp-heading--owners { font-size: 2.25rem; margin-bottom: 1.75rem; }
@media (min-width: 768px) { .pp-heading--owners { font-size: 3rem; } }
@media (min-width: 1024px) { .pp-heading--owners { font-size: 3.75rem; } }
.pp-owners__quote {
	font-family: var(--font-display);
	font-style: italic;
	font-size: 1.25rem;
	line-height: 1.375;
	color: rgb(15 23 41 / 0.85);
	margin-bottom: 2rem;
}
@media (min-width: 768px) { .pp-owners__quote { font-size: 1.5rem; } }
.pp-owners__bio { color: rgb(15 23 41 / 0.75); line-height: 1.7; margin-bottom: 1.25rem; }

/* ==========================================================================
   Shop
   ========================================================================== */
.pp-shop__inner { padding-block: 4rem 6rem; }
@media (min-width: 768px) { .pp-shop__inner { padding-block: 4rem 6rem; } }
.pp-shop__head { text-align: center; margin-bottom: 3rem; }
.pp-heading--shop { font-size: 1.875rem; margin-bottom: 2.5rem; }
@media (min-width: 768px) { .pp-heading--shop { font-size: 3rem; } }

.pp-shop__search { position: relative; max-width: 28rem; margin: 0 auto 2rem; }
.pp-shop__search-icon { position: absolute; left: 0; top: 50%; transform: translateY(-50%); color: var(--color-muted-foreground); }
.pp-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-size: 1rem; transition: border-color 0.2s ease;
}
.pp-shop__search-input:focus { outline: none; border-color: var(--color-foreground); }

.pp-shop__mobile-cats { position: relative; max-width: 24rem; margin: 0 auto 1rem; }
@media (min-width: 768px) { .pp-shop__mobile-cats { display: none; } }
.pp-shop__cat-pills { display: none; flex-wrap: wrap; justify-content: center; gap: 0.5rem; margin-bottom: 1rem; }
@media (min-width: 768px) { .pp-shop__cat-pills { display: flex; } }
.pp-cat-pill {
	flex-shrink: 0; padding: 0.5rem 1.25rem; font-size: 12px; letter-spacing: 0.2em;
	text-transform: uppercase; border-radius: 999px; border: 1px solid var(--color-border);
	background: transparent; color: var(--color-foreground); transition: all 0.3s ease; cursor: pointer;
}
.pp-cat-pill:hover { border-color: var(--color-accent); color: var(--color-accent); }
.pp-cat-pill.is-active { background: var(--color-accent); color: var(--color-background); border-color: var(--color-accent); }

.pp-shop__price-filter { display: flex; flex-direction: column; align-items: center; gap: 0.75rem; margin-top: 0.5rem; }
.pp-shop__price-toggle {
	display: flex; align-items: center; gap: 0.5rem;
	padding: 0.5rem 1rem; font-size: 12px; letter-spacing: 0.2em; text-transform: uppercase;
	color: var(--color-muted-foreground); transition: color 0.3s ease; cursor: pointer;
}
.pp-shop__price-toggle:hover { color: var(--color-foreground); }
.pp-shop__price-summary { opacity: 0.7; text-transform: none; letter-spacing: normal; }
#price-filter-chevron { transition: transform 0.3s ease; }
.pp-shop__price-toggle.is-open #price-filter-chevron { transform: rotate(180deg); }
.pp-shop__price-panel {
	width: 100%; max-width: 24rem; overflow: hidden;
	max-height: 0; opacity: 0; transition: max-height 0.3s var(--ease-smooth), opacity 0.3s var(--ease-smooth);
}
.pp-shop__price-panel.is-open { max-height: 8rem; opacity: 1; padding: 0.5rem 0; }
.pp-shop__price-labels { display: flex; justify-content: space-between; font-size: 0.875rem; color: var(--color-muted-foreground); }

/* Dual-handle range slider (Section 31.4) */
.price-range-wrapper { position: relative; height: 1.5rem; margin-bottom: 0.75rem; }
.range-track-bg, .range-track-fill { position: absolute; height: 4px; top: 50%; transform: translateY(-50%); pointer-events: none; border-radius: 999px; }
.range-track-bg { left: 0; right: 0; background: var(--color-border); }
.range-track-fill { background: var(--color-accent); }
.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: 18px; height: 18px; border-radius: 50%;
	background: var(--color-background); border: 2px solid var(--color-primary);
	cursor: pointer; margin-top: 0;
}
.range-input::-moz-range-thumb {
	pointer-events: auto; width: 18px; height: 18px; border-radius: 50%;
	background: var(--color-background); border: 2px solid var(--color-primary); cursor: pointer;
}
.range-input::-webkit-slider-runnable-track { background: transparent; }
.range-input::-moz-range-track { background: transparent; }
.range-input--max { z-index: 3; }
.range-input--min { z-index: 4; }

.pp-shop__grid {
	margin-top: 3rem;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 1.5rem;
}
@media (min-width: 768px) { .pp-shop__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2rem; } }
@media (min-width: 1024px) { .pp-shop__grid { gap: 2.5rem; } }
.pp-shop__empty { text-align: center; padding: 5rem 0; color: var(--color-muted-foreground); }
.pp-shop__show-more { text-align: center; margin-top: 3rem; }

/* ==========================================================================
   Free starter section
   ========================================================================== */
.pp-starter { position: relative; overflow: hidden; }
.pp-starter__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.pp-starter__scrim { position: absolute; inset: 0; background: rgb(15 23 41 / 0.55); z-index: -1; }
.pp-starter__inner { padding-block: 4rem 6rem; }
@media (min-width: 768px) { .pp-starter__inner { padding-block: 6rem; } }
.pp-starter__card {
	max-width: 48rem; margin: 0 auto; background: rgb(249 250 251 / 0.95);
	backdrop-filter: blur(4px); border-radius: 1rem; border: 1px solid rgb(15 23 41 / 0.1);
	padding: 3rem 1.5rem; text-align: center;
	box-shadow: 0 12px 40px -20px rgb(0 0 0 / 0.35);
}
@media (min-width: 768px) { .pp-starter__card { padding: 4rem 3.5rem; } }
.pp-heading--starter { font-size: 1.875rem; line-height: 1.2; margin-bottom: 1.25rem; }
@media (min-width: 768px) { .pp-heading--starter { font-size: 3rem; } }
.pp-starter__body { color: rgb(15 23 41 / 0.75); line-height: 1.7; max-width: 32rem; margin: 0 auto 2rem; }
@media (min-width: 768px) { .pp-starter__body { font-size: 1.125rem; } }
.pp-starter__form { display: flex; flex-direction: column; gap: 0.75rem; max-width: 28rem; margin: 0 auto; }
@media (min-width: 640px) { .pp-starter__form { flex-direction: row; } }
.pp-starter__input {
	flex: 1; border-radius: 999px; padding: 0 1.25rem; height: 3rem;
	background: var(--color-background); border: 1px solid rgb(15 23 41 / 0.2);
}
.pp-starter__input:focus { outline: none; border-color: var(--color-foreground); }
.pp-starter__success { margin-top: 1rem; color: rgb(15 23 41 / 0.8); }

/* ==========================================================================
   FAQ
   ========================================================================== */
.pp-faq { background: var(--color-background); padding: 5rem 0 7rem; }
@media (min-width: 768px) { .pp-faq { padding: 5rem 0 7rem; } }
.pp-faq__head { max-width: 42rem; margin-bottom: 2.5rem; }
@media (min-width: 768px) { .pp-faq__head { margin-bottom: 3.5rem; } }
.pp-heading--faq { font-size: 1.875rem; margin-bottom: 1.25rem; }
@media (min-width: 768px) { .pp-heading--faq { font-size: 3rem; } }
@media (min-width: 1024px) { .pp-heading--faq { font-size: 3.75rem; } }
.pp-faq__intro { color: rgb(15 23 41 / 0.75); font-size: 1rem; }
@media (min-width: 768px) { .pp-faq__intro { font-size: 1.125rem; } }
.pp-faq__mobile { position: relative; margin-bottom: 2.5rem; }
@media (min-width: 768px) { .pp-faq__mobile { display: none; } }
.pp-faq__tabs { display: none; flex-wrap: wrap; gap: 0.625rem; margin-bottom: 2.5rem; }
@media (min-width: 768px) { .pp-faq__tabs { display: flex; } }
.pp-faq__tab {
	flex-shrink: 0; white-space: nowrap; border-radius: 999px; border: 1px solid var(--color-border);
	padding: 0.625rem 1.25rem; font-size: 12px; letter-spacing: 0.22em; text-transform: uppercase;
	font-weight: 600; background: transparent; color: var(--color-foreground); transition: all 0.2s ease; cursor: pointer;
}
.pp-faq__tab--teal { border-color: var(--color-accent); }
.pp-faq__tab--nopal { border-color: var(--color-primary); }
.pp-faq__tab--lilac { border-color: var(--color-accent); }
.pp-faq__tab--marigold { border-color: var(--color-marigold); }
.pp-faq__tab--rosa { border-color: var(--color-rosa); }
.pp-faq__tab--teal.is-active { background: var(--color-accent); color: var(--color-background); }
.pp-faq__tab--nopal.is-active { background: var(--color-primary); color: var(--color-background); }
.pp-faq__tab--lilac.is-active { background: var(--color-accent); color: var(--color-foreground); }
.pp-faq__tab--marigold.is-active { background: var(--color-marigold); color: var(--color-foreground); }
.pp-faq__tab--rosa.is-active { background: var(--color-rosa); color: var(--color-foreground); }

.pp-faq__panel-wrap { border-top: 1px solid rgb(15 23 41 / 0.15); }
.pp-faq__panel[hidden] { display: none; }
.pp-faq__item { border-bottom: 1px solid rgb(15 23 41 / 0.15); }
.pp-faq__question {
	width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 1.5rem;
	padding: 1.25rem 0; text-align: left; cursor: pointer;
}
@media (min-width: 768px) { .pp-faq__question { padding: 1.5rem 0; } }
.pp-faq__question-text { font-family: var(--font-display); font-size: 1.125rem; line-height: 1.4; }
@media (min-width: 768px) { .pp-faq__question-text { font-size: 1.25rem; } }
.pp-faq__question-icon {
	flex-shrink: 0; width: 2.25rem; height: 2.25rem; border-radius: 50%; border: 1px solid currentColor;
	display: flex; align-items: center; justify-content: center; transition: all 0.2s ease;
	color: var(--color-accent);
}
.pp-faq__question-icon svg { transition: transform 0.2s ease; }
.pp-faq__item.is-open .pp-faq__question-icon { background: var(--color-accent); color: var(--color-background); }
.pp-faq__item.is-open .pp-faq__question-icon svg { transform: rotate(180deg); }
.pp-faq__answer { overflow: hidden; max-height: 0; opacity: 0; transition: max-height 0.28s cubic-bezier(0.22,1,0.36,1), opacity 0.28s ease; }
.pp-faq__item.is-open .pp-faq__answer { max-height: 20rem; opacity: 1; }
.pp-faq__answer p { color: rgb(15 23 41 / 0.75); line-height: 1.7; padding-bottom: 1.5rem; padding-right: 3rem; max-width: 48rem; }

/* ==========================================================================
   Testimonials (matches Lovable TestimonialsCarousel)
   ========================================================================== */
.pp-testimonials { background: rgb(15 23 41 / 0.15); padding-block: 4rem; }
@media (min-width: 768px) { .pp-testimonials { padding-block: 6rem; } }
.pp-testimonials .container-wide { max-width: none; padding-inline: 1rem; }
.pp-heading--testimonials { font-size: 1.875rem; text-align: center; margin-bottom: 2.5rem; }
@media (min-width: 768px) { .pp-heading--testimonials { font-size: 3rem; margin-bottom: 3.5rem; } }
.pp-testimonials__grid {
	max-width: 72rem;
	margin-inline: auto;
	display: grid;
	grid-template-columns: 1fr;
	align-items: stretch;
	gap: 1.5rem;
}
@media (min-width: 768px) { .pp-testimonials__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.pp-testimonial-card {
	background: var(--color-primary);
	color: var(--color-background);
	border-radius: 1rem;
	padding: 2rem;
	height: 100%;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
}
@media (min-width: 768px) { .pp-testimonial-card { padding: 2.5rem; } }
.pp-testimonial-card__body { flex: 1 1 auto; min-height: 0; }
.pp-testimonial-card__stars {
	display: flex;
	gap: 0.25rem;
	margin-bottom: 1.5rem;
	color: var(--color-marigold);
}
.pp-testimonial-card__stars svg { width: 1rem; height: 1rem; flex-shrink: 0; }
.pp-testimonial-card__quote {
	margin: 0;
	font-family: Georgia, 'Times New Roman', serif;
	font-size: 1.125rem;
	line-height: 1.625;
	color: var(--color-background);
}
@media (min-width: 768px) { .pp-testimonial-card__quote { font-size: 1.25rem; } }
.pp-testimonial-card__meta {
	flex-shrink: 0;
	margin-top: 2rem;
	font-size: 0.75rem;
	font-weight: 700;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: rgb(249 250 251 / 0.8);
}

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer { border-top: 1px solid var(--color-border); background: var(--color-butter); }
.site-footer__inner { padding-block: 4rem; }
@media (min-width: 1024px) { .site-footer__inner { padding-block: 5rem; } }
.site-footer__brand-row {
	display: flex; flex-direction: column; gap: 1.5rem;
	margin-bottom: 3rem; padding-bottom: 2.5rem; border-bottom: 1px solid var(--color-border);
}
@media (min-width: 640px) { .site-footer__brand-row { flex-direction: row; align-items: center; justify-content: space-between; } }
.site-footer__brand { font-family: var(--font-display); font-size: 1.875rem; flex-shrink: 0; }
@media (min-width: 640px) { .site-footer__brand { font-size: 2.25rem; } }
.site-footer__tagline-block { max-width: 32rem; }
@media (min-width: 640px) { .site-footer__tagline-block { text-align: right; } }
.site-footer__tagline { font-size: 0.875rem; color: rgb(15 23 41 / 0.7); line-height: 1.6; white-space: pre-line; }
.site-footer__contact-line { margin-top: 0.75rem; font-size: 0.875rem; color: rgb(15 23 41 / 0.7); }
.site-footer__contact-line a:hover { color: var(--color-foreground); }
.site-footer__dot { margin: 0 0.5rem; color: rgb(15 23 41 / 0.4); }

.site-footer__columns { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2.5rem; }
@media (min-width: 768px) { .site-footer__columns { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 3rem; } }
.site-footer__col--reach { grid-column: span 2 / span 2; }
@media (min-width: 768px) { .site-footer__col--reach { grid-column: span 1 / span 1; } }
.site-footer__col-title { font-family: var(--font-display); font-size: 1.5rem; margin-bottom: 1.25rem; }
.site-footer__link-list { display: flex; flex-direction: column; gap: 0.75rem; }
.site-footer__link-list a, .site-footer__link-list button {
	font-size: 0.875rem; color: rgb(15 23 41 / 0.7); transition: color 0.2s ease; text-align: left; cursor: pointer;
}
.site-footer__link-list a:hover, .site-footer__link-list button:hover { color: var(--color-foreground); }
.site-footer__link-list--icons a { display: inline-flex; align-items: center; gap: 0.5rem; }
.site-footer__reach-text { font-size: 0.875rem; color: rgb(15 23 41 / 0.7); line-height: 1.6; margin-bottom: 1.25rem; }

.site-footer__bottom {
	margin-top: 3.5rem; 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;
	text-align: center;
}
@media (min-width: 640px) { .site-footer__bottom { flex-direction: row; text-align: left; } }
.site-footer__quote { font-size: 12px; color: var(--color-primary); font-family: var(--font-display); font-style: italic; letter-spacing: 0.02em; }
.site-footer__copy, .site-footer__credit { font-size: 12px; color: var(--color-muted-foreground); letter-spacing: 0.02em; }
.site-footer__credit a { text-decoration: underline; text-underline-offset: 2px; }
.site-footer__credit a:hover { color: var(--color-foreground); }

/* ==========================================================================
   Cart drawer + overlay (Section 12)
   ========================================================================== */
#theme-cart-overlay {
	position: fixed; inset: 0; background: rgb(15 23 41 / 0.2); z-index: 60;
	opacity: 0; pointer-events: none; transition: opacity 0.3s ease;
}
body.cart-open #theme-cart-overlay { opacity: 1; pointer-events: auto; }

#theme-cart-drawer {
	position: fixed; right: 0; top: 0; height: 100%; width: 100%; max-width: 28rem;
	background: var(--color-background); z-index: 61; box-shadow: var(--shadow-elevated);
	display: flex; flex-direction: column;
	transform: translateX(100%); transition: transform 0.35s var(--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-size: 1.125rem; font-weight: 700; }
.theme-cart-drawer__close { padding: 0.25rem; transition: opacity 0.2s ease; cursor: pointer; }
.theme-cart-drawer__close:hover { opacity: 0.6; }
.theme-cart-drawer__empty { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 1.5rem; text-align: center; gap: 1rem; color: var(--color-muted-foreground); }
.theme-cart-drawer__items { flex: 1; overflow: auto; padding: 1.5rem; display: flex; flex-direction: column; gap: 1.5rem; }
.theme-cart-item { display: flex; gap: 1rem; }
.theme-cart-item__thumb { width: 5rem; height: 6rem; flex-shrink: 0; overflow: hidden; border-radius: 0.5rem; background: var(--color-secondary); }
.theme-cart-item__thumb img { width: 100%; height: 100%; object-fit: cover; }
.theme-cart-item__body { flex: 1; min-width: 0; }
.theme-cart-item__name { font-size: 0.875rem; font-weight: 500; display: block; }
.theme-cart-item__name:hover { opacity: 0.7; }
.theme-cart-item__price { font-size: 0.875rem; color: var(--color-muted-foreground); margin-top: 0.125rem; }
.theme-cart-item__variation { font-size: 0.75rem; color: var(--color-muted-foreground); margin-top: 0.25rem; display: flex; gap: 0.5rem; flex-wrap: wrap; }
.theme-cart-item__controls { display: flex; align-items: center; gap: 0.75rem; margin-top: 0.75rem; }
.theme-cart-item__qty-btn { padding: 0.25rem; border-radius: 0.25rem; transition: background-color 0.2s ease; }
.theme-cart-item__qty-btn:hover { background: var(--color-secondary); }
.theme-cart-item__qty { font-size: 0.875rem; width: 1.5rem; text-align: center; }
.theme-cart-item__remove { margin-left: auto; font-size: 0.875rem; color: var(--color-muted-foreground); transition: color 0.2s ease; cursor: pointer; }
.theme-cart-item__remove:hover { color: var(--color-foreground); }

.theme-cart-drawer__footer { padding: 1.5rem; border-top: 1px solid var(--color-border); display: flex; flex-direction: column; gap: 1rem; }
.theme-cart-drawer__subtotal { display: flex; justify-content: space-between; font-size: 0.875rem; }
.theme-cart-drawer__subtotal-value { font-weight: 500; }
.theme-cart-drawer__note { font-size: 0.875rem; color: var(--color-muted-foreground); }

/* Hide the "View cart" WooCommerce injects 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; }

/* ==========================================================================
   Contact modal
   ========================================================================== */
#theme-contact-overlay {
	position: fixed; inset: 0; background: rgb(15 23 41 / 0.4); z-index: 70;
	opacity: 0; pointer-events: none; transition: opacity 0.3s ease;
}
body.contact-open #theme-contact-overlay { opacity: 1; pointer-events: auto; }
#theme-contact-modal {
	position: fixed; top: 50%; left: 50%; z-index: 71;
	width: calc(100% - 2rem); max-width: 32rem; max-height: 90vh; overflow-y: auto;
	transform: translate(-50%, -48%) scale(0.96); opacity: 0; pointer-events: none;
	transition: transform 0.25s var(--ease-smooth), opacity 0.25s ease;
}
body.contact-open #theme-contact-modal { transform: translate(-50%, -50%) scale(1); opacity: 1; pointer-events: auto; }
.theme-contact-modal__panel { position: relative; background: var(--color-background); border-radius: 1rem; padding: 2rem; box-shadow: var(--shadow-elevated); }
.theme-contact-modal__close { position: absolute; top: 1.25rem; right: 1.25rem; padding: 0.25rem; opacity: 0.6; cursor: pointer; }
.theme-contact-modal__close:hover { opacity: 1; }
.theme-contact-modal__title { font-size: 1.5rem; margin-bottom: 0.5rem; }
.theme-contact-modal__description { color: var(--color-muted-foreground); margin-bottom: 1.25rem; }
.theme-contact-modal__meta { display: flex; flex-wrap: wrap; gap: 1rem; font-size: 0.875rem; color: var(--color-muted-foreground); margin-bottom: 1.5rem; }
.theme-contact-modal__meta-item { display: inline-flex; align-items: center; gap: 0.5rem; }
.theme-contact-modal__meta-item:hover { color: var(--color-foreground); }

.theme-contact-form__row { display: grid; grid-template-columns: 1fr; gap: 1rem; margin-bottom: 1rem; }
@media (min-width: 640px) { .theme-contact-form__row { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.theme-contact-form__field { margin-bottom: 1rem; }
.theme-contact-form__row .theme-contact-form__field { margin-bottom: 0; }
.theme-contact-form__field label { font-size: 0.875rem; font-weight: 500; margin-bottom: 0.375rem; display: block; }
.theme-contact-form__field input, .theme-contact-form__field textarea {
	width: 100%; padding: 0.625rem 0.75rem; background: var(--color-background);
	border: 1px solid var(--color-border); border-radius: var(--radius); resize: vertical;
	transition: box-shadow 0.3s ease;
}
.theme-contact-form__field input:focus, .theme-contact-form__field textarea:focus {
	outline: none; box-shadow: 0 0 0 2px rgb(78 68 228 / 0.5);
}
.theme-contact-form__actions { display: flex; justify-content: flex-end; }
.theme-contact-form__error { color: var(--color-destructive); font-size: 0.875rem; margin-bottom: 1rem; }
.theme-contact-form__success { text-align: center; padding: 2rem 0; }
.theme-contact-form__success-icon {
	width: 3.5rem; height: 3.5rem; border-radius: 50%; background: var(--color-primary); color: var(--color-background);
	display: flex; align-items: center; justify-content: center; margin: 0 auto 1rem;
}
.theme-contact-form__success h3 { font-size: 1.25rem; margin-bottom: 0.5rem; }
.theme-contact-form__success p { font-size: 0.875rem; color: var(--color-muted-foreground); }

/* ==========================================================================
   WooCommerce: buttons override (Section 11.4.1)
   ========================================================================== */
.single_add_to_cart_button.button,
.add_to_cart_button.button,
a.single_add_to_cart_button,
a.add_to_cart_button {
	background-color: var(--color-primary) !important;
	color: var(--color-button-text) !important;
	border: none !important;
	border-radius: var(--btn-radius) !important;
	min-height: var(--btn-height) !important;
	padding: var(--btn-padding) !important;
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;
	font-family: var(--font-body) !important;
	font-size: var(--btn-font-size) !important;
	font-weight: var(--btn-font-weight) !important;
	letter-spacing: var(--btn-letter-spacing) !important;
	text-transform: var(--btn-text-transform) !important;
	cursor: pointer !important;
	transition: opacity 0.2s ease !important;
}
.single_add_to_cart_button.button:hover,
.add_to_cart_button.button:hover {
	opacity: 0.85 !important;
	background-color: var(--color-primary) !important;
	color: var(--color-button-text) !important;
}
.single_add_to_cart_button.button:disabled,
.single_add_to_cart_button.button.disabled,
.add_to_cart_button.button:disabled,
.add_to_cart_button.button.disabled {
	cursor: not-allowed !important;
	opacity: 0.4 !important;
	pointer-events: none !important;
}
.single_add_to_cart_button.button:disabled:hover,
.single_add_to_cart_button.button.disabled:hover,
.add_to_cart_button.button:disabled:hover,
.add_to_cart_button.button.disabled:hover {
	opacity: 0.4 !important;
	background-color: var(--color-primary) !important;
}
.theme-product-card .add_to_cart_button.ajax_add_to_cart {
	min-height: unset !important;
	padding: 0.75rem 0 !important;
	border-radius: 999px !important;
	background-color: var(--color-accent) !important;
	border: 1px solid var(--color-accent) !important;
}
.theme-product-card .add_to_cart_button.ajax_add_to_cart:hover {
	background-color: var(--color-background) !important;
	color: var(--color-accent) !important;
}
.ajax_add_to_cart.theme-btn-loading { opacity: 0.6 !important; pointer-events: none !important; cursor: wait !important; }
.single-product .single_add_to_cart_button.loading::after,
.ajax_add_to_cart.loading::after { display: none !important; }

.theme-attr-select-hidden { display: none !important; }

/* Variation attribute swatches (PDP — matches Lovable ProductDetail) */
.theme-variation-attributes { margin: 0 0 1.5rem; }
.theme-attr-field { margin-bottom: 1.5rem; }
.theme-attr-field:last-child { margin-bottom: 0; }
.theme-attr-field__label {
	margin: 0 0 0.75rem;
	font-size: 13px;
	letter-spacing: 0.2em;
	text-transform: uppercase;
	color: var(--color-muted-foreground);
	font-weight: 400;
}
.theme-attr-swatches {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
}
.theme-attr-pill {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.5rem;
	min-height: 2.25rem;
	padding: 0.5rem 1rem;
	font-family: var(--font-body);
	font-size: 11px;
	font-weight: 400;
	letter-spacing: 0.15em;
	text-transform: uppercase;
	line-height: 1.2;
	border-radius: 999px;
	border: 1px solid var(--color-border);
	background: transparent;
	color: var(--color-foreground);
	transition: border-color 0.2s ease, background-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
	cursor: pointer;
}
.theme-attr-pill:hover { border-color: rgb(15 23 41 / 0.6); }
.theme-attr-pill:focus-visible {
	outline: 2px solid var(--color-accent);
	outline-offset: 2px;
}
.theme-attr-pill.is-active {
	background: var(--color-foreground);
	color: var(--color-background);
	border-color: var(--color-foreground);
}
.theme-attr-pill--color.is-active {
	background: rgb(15 23 41 / 0.05);
	color: var(--color-foreground);
	border-color: var(--color-foreground);
	box-shadow: inset 0 0 0 1px rgb(15 23 41 / 0.08);
}
.theme-attr-swatch {
	display: block;
	width: 0.75rem;
	height: 0.75rem;
	border-radius: 50%;
	border: 1px solid var(--color-border);
	background-color: var(--swatch-color, var(--color-muted));
	flex-shrink: 0;
}
.theme-attr-swatch--light { box-shadow: inset 0 0 0 1px rgb(15 23 41 / 0.12); }
.theme-attr-pill__label { white-space: nowrap; }

/* WooCommerce notices — scoped visibility (Section 14.1) */
.single-product .woocommerce-message,
.single-product .woocommerce-info { display: none; }
#theme-cart-drawer .woocommerce-message { display: none; }
.woocommerce-message, .woocommerce-info, .woocommerce-error {
	font-family: var(--font-body); border-radius: var(--radius); padding: 1rem 1.5rem;
	border: 1px solid var(--color-border); background: var(--color-secondary); list-style: none;
	margin: 0 0 1.5rem;
}
.woocommerce-error { border-color: var(--color-destructive); color: var(--color-destructive); }

/* ==========================================================================
   Single product page (Section 11.13)
   ========================================================================== */
.single-product-main { padding: 2rem 0 6rem; }
.theme-back-to-shop { display: inline-flex; align-items: center; gap: 0.5rem; font-size: 0.875rem; color: var(--color-muted-foreground); margin-bottom: 1rem; transition: color 0.2s ease; cursor: pointer; }
.theme-back-to-shop:hover { color: var(--color-foreground); }
.theme-breadcrumb { padding: 1rem 0; font-size: 13px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--color-muted-foreground); overflow-x: auto; white-space: nowrap; -webkit-overflow-scrolling: touch; }
.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-layout {
	display: grid; grid-template-columns: 1fr; gap: 2.5rem;
	padding: 1rem 0 4rem; align-items: start; min-width: 0;
}
@media (min-width: 1024px) { .single-product .theme-product-layout { grid-template-columns: 7fr 5fr; gap: 4rem; } }

.single-product .theme-product-gallery,
.single-product .theme-product-info { min-width: 0; max-width: 100%; }

.theme-product-thumb-main { aspect-ratio: 1 / 1; background: var(--color-secondary); border-radius: var(--card-radius); overflow: hidden; position: relative; }
.single-product .theme-product-thumbnails { display: flex; gap: 0.75rem; margin-top: 1rem; flex-wrap: wrap; max-width: 100%; overflow-x: auto; }
.theme-product-thumb { width: 5rem; height: 5rem; flex-shrink: 0; overflow: hidden; border-radius: 0.5rem; position: relative; background: var(--color-secondary); opacity: 0.6; transition: opacity 0.2s ease; border: 2px solid transparent; cursor: pointer; }
.theme-product-thumb:hover, .theme-product-thumb.is-active { opacity: 1; border-color: var(--color-foreground); }

.theme-product-info__cat { font-size: 13px; letter-spacing: 0.25em; text-transform: uppercase; color: var(--color-muted-foreground); }
.theme-product-info__title.product-title {
	font-family: var(--font-body); font-weight: 600; font-size: 1.875rem; line-height: 1.1; margin: 0.75rem 0 1.25rem;
}
@media (min-width: 1024px) { .theme-product-info__title.product-title { font-size: 2.5rem; } }
.theme-product-info__price { font-size: 1.25rem; margin-bottom: 1.5rem; }
.theme-product-info__price ins { text-decoration: none; }
.theme-product-info__stock--out { color: var(--color-destructive); font-weight: 600; margin-bottom: 1rem; }

.single-product .theme-add-to-cart-area {
	display: flex; align-items: stretch; flex-wrap: wrap; gap: 0.75rem; margin: 1.5rem 0;
}
.single-product .theme-add-to-cart-area .theme-quantity-wrapper { width: 100%; justify-content: center; }
.single-product .theme-add-to-cart-area .single_add_to_cart_button { width: 100%; min-width: 0; }
@media (min-width: 480px) {
	.single-product .theme-add-to-cart-area { flex-wrap: nowrap; }
	.single-product .theme-add-to-cart-area .theme-quantity-wrapper { width: auto; }
	.single-product .theme-add-to-cart-area .single_add_to_cart_button { width: auto; flex: 1 1 auto; min-width: 160px; }
}
.single-product .single_add_to_cart_button { flex: 1 1 auto; min-width: 160px; }
.theme-quantity-wrapper { display: flex; align-items: center; border: 1px solid var(--color-border); border-radius: var(--btn-radius); overflow: hidden; }
.theme-qty-minus, .theme-qty-plus { padding: 0 1rem; height: var(--btn-height); display: flex; align-items: center; justify-content: center; transition: background-color 0.2s ease; cursor: pointer; }
.theme-qty-minus:hover, .theme-qty-plus:hover { background: var(--color-secondary); }
.theme-qty-input {
	width: 3rem; text-align: center; border: none; background: transparent;
	-moz-appearance: textfield; height: var(--btn-height);
}
.theme-qty-input::-webkit-outer-spin-button, .theme-qty-input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }

.theme-product-info__description, .theme-product-info__details { margin-top: 2rem; font-size: 15px; color: var(--color-muted-foreground); line-height: 1.7; }
.theme-product-details-list { margin: 0; padding-left: 1.25rem; display: flex; flex-direction: column; gap: 0.5rem; }
.theme-product-details-list li { padding-left: 0.25rem; }
.theme-product-info__details-title { font-family: var(--font-body); font-weight: 600; font-size: 13px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--color-foreground); margin-bottom: 0.75rem; }
.single-product .woocommerce-product-details__short-description,
.single-product .woocommerce-variation-description,
.single-product .posted_in { overflow-wrap: break-word; word-break: break-word; }

.theme-product-info__accordion { border-top: 1px solid var(--color-border); margin-top: 1.5rem; }
.theme-accordion-toggle { width: 100%; display: flex; align-items: center; justify-content: space-between; padding: 1.25rem 0; text-align: left; font-size: 13px; letter-spacing: 0.25em; text-transform: uppercase; cursor: pointer; }
.theme-accordion-toggle svg { transition: transform 0.2s ease; }
.theme-accordion-toggle.is-open svg { transform: rotate(180deg); }
.theme-accordion-panel { padding-bottom: 1.5rem; font-size: 15px; color: var(--color-muted-foreground); line-height: 1.7; }
.theme-accordion-panel[hidden] { display: none; }

.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; }
.variations label { font-family: var(--font-body); font-weight: 600; font-style: normal; }
.theme-related-products { padding: 5rem 0 0; border-top: 1px solid var(--color-border); margin-top: 3rem; }
.theme-related-products__head { text-align: center; margin-bottom: 3rem; }
.theme-related-products__pre { font-family: var(--font-display); font-style: italic; font-size: 1rem; color: var(--color-muted-foreground); margin-bottom: 0.5rem; }
.theme-related-products__post { font-size: 1.875rem; }
@media (min-width: 768px) { .theme-related-products__post { font-size: 2.25rem; } }
.theme-related-products__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.5rem; }
@media (min-width: 1024px) { .theme-related-products__grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 2rem; } }

/* ==========================================================================
   404
   ========================================================================== */
.theme-404__inner { min-height: 60vh; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: 1rem; padding: 6rem 0; }
.theme-404__code { font-size: 4rem; }
.theme-404__title { font-size: 1.25rem; color: var(--color-muted-foreground); }
.theme-404__body { color: var(--color-muted-foreground); margin-bottom: 1rem; }

/* ==========================================================================
   Generic page
   ========================================================================== */
.theme-generic-page { padding: 4rem 0 6rem; }
.theme-no-hero .theme-generic-page { padding-top: 2rem; }
.page-title { font-size: 2rem; margin-bottom: 2rem; }
@media (min-width: 768px) { .page-title { font-size: 2.5rem; } }

/* ==========================================================================
   WooCommerce Checkout Block (Section 13)
   ========================================================================== */
body.woocommerce-checkout .site-main { padding-top: 1rem; padding-bottom: 4rem; }
body.woocommerce-checkout .entry-content,
body.woocommerce-cart .entry-content,
body.woocommerce-account .entry-content { max-width: 100%; }

body.woocommerce-checkout .wc-block-checkout__main,
body.woocommerce-checkout .wc-block-checkout__sidebar {
	min-width: 0; width: 100%; max-width: none;
}
body.woocommerce-checkout .wc-block-checkout { display: block; }
@media (min-width: 768px) {
	body.woocommerce-checkout .wc-block-components-sidebar-layout.wc-block-checkout {
		display: grid;
		grid-template-columns: 1fr 1fr;
		gap: var(--checkout-gap);
		align-items: start;
	}
}
body.woocommerce-checkout .wc-block-components-notice-banner { grid-column: 1 / -1; }

body.woocommerce-checkout .wc-block-checkout__sidebar {
	background-color: var(--color-butter);
	border-radius: var(--card-radius);
	padding: var(--section-padding);
}
body.woocommerce-checkout .wc-block-components-text-input input,
body.woocommerce-checkout .wc-block-components-select select,
body.woocommerce-checkout .wc-block-components-textarea textarea {
	font-family: var(--font-body); font-size: 1rem; color: var(--color-foreground);
	border: 1px solid var(--color-border); border-radius: var(--radius); background-color: var(--color-background);
}
body.woocommerce-checkout .wc-block-components-text-input input:focus,
body.woocommerce-checkout .wc-block-components-select select:focus {
	outline: none; box-shadow: 0 0 0 2px rgb(78 68 228 / 0.4);
}
body.woocommerce-checkout .wc-block-components-checkout-place-order-button {
	background-color: var(--color-primary) !important;
	color: var(--color-button-text) !important;
	border-radius: var(--btn-radius) !important;
	font-family: var(--font-body) !important;
	text-transform: var(--btn-text-transform) !important;
	letter-spacing: var(--btn-letter-spacing) !important;
	font-size: var(--btn-font-size) !important;
}
body.woocommerce-checkout h2, body.woocommerce-checkout h3 { font-family: var(--font-display); font-weight: 600; }

/* ==========================================================================
   Thank you page (Section 22.8)
   ========================================================================== */
body.theme-thankyou-page { overflow-x: hidden; }
body.theme-thankyou-page .site-main { padding-top: 2rem; }
body.theme-thankyou-page .woocommerce-order-details table { width: 100%; table-layout: fixed; }
body.theme-thankyou-page .woocommerce-order-details tfoot th { text-align: left; }
body.theme-thankyou-page .woocommerce-order-details tfoot td { text-align: right; }
body.theme-thankyou-page .woocommerce-order h2,
body.theme-thankyou-page .woocommerce-order-details__title { font-family: var(--font-display); padding: 0 0 1rem 0; }
@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; overflow-wrap: break-word; }

/* ==========================================================================
   Customizer media control panel
   ========================================================================== */
.theme-media-control { display: flex; flex-direction: column; gap: 0.5rem; }
.theme-media-url-input { width: 100%; min-width: 0; box-sizing: border-box; }
.theme-media-preview { max-width: 100%; height: auto; display: block; border-radius: 4px; }
