/* ==========================================================================
   Royal Glam Beauty — theme.css
   Single source of truth for all visual styling (Section 10 — no CSS in
   WooCommerce template files). Colors are re-emitted live via wp_add_inline_style
   (Section 22.9); the :root block below is the static fallback + derived tokens.
   ========================================================================== */

/* --------------------------------------------------------------------
   1. TOKENS (fallback — Customizer inline style takes precedence)
   -------------------------------------------------------------------- */
:root {
	--color-background: #fbf8f4;
	--color-foreground: #33261e;
	--color-primary: #5d4232;
	--color-primary-foreground: #fbf8f4;
	--color-accent: #c19233;
	--color-accent-foreground: #fbf8f4;
	--color-secondary: #ede6de;
	--color-secondary-foreground: #33261e;
	--color-muted: #efebe6;
	--color-muted-foreground: #746258;
	--color-border: #e2dad0;
	--color-butter: #f5efe6;
	--color-surface-deep: #231b15;
	--color-surface-deep-foreground: #fbf8f4;
	--color-destructive: #b82e2e;
	--color-card: #fcfaf8;

	/* Derived / aliased tokens (Section 6 — computed, never separate controls) */
	--color-marigold: var(--color-accent);
	--color-chocolate: color-mix(in srgb, var(--color-primary) 88%, black 12%);
	--color-button-text: var(--color-primary-foreground);

	--font-display: 'Cormorant Garamond', serif;
	--font-body: 'Jost', sans-serif;
	--font-utility: 'Jost', sans-serif;

	--radius: 0.375rem;
	--shadow-soft: 0 4px 20px -4px rgb(51 38 30 / 0.08);
	--shadow-elevated: 0 12px 45px -12px rgb(51 38 30 / 0.2);
	--transition-smooth: cubic-bezier(0.4, 0, 0.2, 1);

	--header-height: 80px;
	--logo-height: 64px;

	--btn-radius: 0;
	--btn-height: 52px;
	--btn-padding: 0 2.5rem;
	--btn-font-size: 12px;
	--btn-font-weight: 500;
	--btn-letter-spacing: 0.28em;
	--btn-text-transform: uppercase;
	--btn-icon-padding: 0;

	--checkout-gap: 1.5rem;
	--checkout-max-width: 1280px;
	--card-radius: 0;
	--section-padding: 2rem;
	--color-powder: #ebe4db;
}

/* --------------------------------------------------------------------
   2. RESET / BASE
   -------------------------------------------------------------------- */
* {
	border-color: var(--color-border);
	box-sizing: border-box;
}
html {
	scroll-behavior: smooth;
}
@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
}
html, body {
	max-width: 100%;
	overflow-x: hidden;
}
/* Customizer preview iframe — avoid clip quirks that can blank the preview */
body.is-customizer {
	overflow-x: visible;
}
body {
	background-color: var(--color-background);
	color: var(--color-foreground);
	font-family: var(--font-body);
	font-weight: 400;
	/* Match Lovable optical weight — antialiased alone makes glyphs look thinner */
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	text-rendering: optimizeLegibility;
	margin: 0;
	line-height: 1.625;
}
h1, h2, h3, h4, h5, h6 {
	font-family: var(--font-display);
	font-weight: 500;
	font-size: inherit;
	letter-spacing: 0.01em;
	margin: 0;
}
p { margin: 0; }
blockquote { margin: 0; }
a { color: inherit; text-decoration: none; cursor: pointer; }
button,
[type="button"],
[type="submit"],
[type="reset"],
[role="button"],
summary,
label[for],
select,
.shade-tile,
.shop-category-pill,
.theme-nav-link,
.site-footer__explore-link,
.theme-product-thumb,
.faq-item__question,
.theme-accordion__trigger,
.link-underline,
.theme-card-link {
	cursor: pointer;
}
button { font-family: inherit; background: none; border: none; padding: 0; color: inherit; }
ul { margin: 0; padding: 0; list-style: none; }
img { max-width: 100%; height: auto; display: block; }

img:not(.cover-img):not(.hero-media__img):not(.theme-product-card__image):not(.owner-section__img):not(.shade-tile__img):not(.cta-section__bg) {
	max-width: 100%;
	height: auto;
}
.cover-img,
.hero-media__img,
.theme-product-card__image,
.owner-section__img,
.shade-tile__img,
.cta-section__bg,
.theme-product-main-image img,
.theme-product-thumb img,
.theme-product-stack-image img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
	max-width: none;
}

.container-wide {
	width: 100%;
	max-width: 80rem;
	margin: 0 auto;
	padding-left: 1.5rem;
	padding-right: 1.5rem;
}
@media (min-width: 640px) {
	.container-wide {
		padding-left: 1.75rem;
		padding-right: 1.75rem;
	}
}
@media (min-width: 1024px) {
	.container-wide {
		padding-left: 2rem;
		padding-right: 2rem;
	}
}

.scroll-mt { scroll-margin-top: 6rem; }

.icon { width: 20px; height: 20px; }
.icon-xxs { width: 12px; height: 12px; }
.icon-xs { width: 14px; height: 14px; }
.icon-sm { width: 16px; height: 16px; }
.icon-lg { width: 48px; height: 48px; }

.link-underline { position: relative; display: inline-block; }
.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(--transition-smooth);
}
.link-underline:hover::after { transform: scaleX(1); }

.section-eyebrow {
	display: block;
	font-size: 12px;
	letter-spacing: 0.32em;
	text-transform: uppercase;
	color: var(--color-marigold);
	font-family: var(--font-body);
	font-weight: 500;
	margin-bottom: 1rem;
}
.section-eyebrow--gold { filter: brightness(1.5); }
.section-header { margin-bottom: 2.5rem; }
.section-header--center { text-align: center; }
.section-header--on-dark { color: var(--color-surface-deep-foreground); }
@media (min-width: 768px) {
	.section-header { margin-bottom: 3rem; }
	.services-section .section-header,
	.testimonials-section .section-header,
	.faq-section .section-header,
	.promo-section .section-header {
		margin-bottom: 4rem;
	}
}

.section-heading {
	font-family: var(--font-display);
	font-style: italic;
	font-weight: 500;
	letter-spacing: 0.01em;
	line-height: 1.05;
}
.about-section__heading { font-size: 2.25rem; margin-bottom: 2rem; line-height: 1.25; }
.shade-tiles-section__heading,
.featured-section__heading,
.testimonials-section__heading,
.faq-section__heading,
.shop-heading { font-size: 2.25rem; }
.promo-section__heading,
.services-section__heading { font-size: 2.5rem; }
.cta-section__title { font-size: 2rem; }
@media (min-width: 768px) {
	.about-section__heading { font-size: 3.75rem; line-height: 1.1; }
	.shade-tiles-section__heading,
	.featured-section__heading,
	.testimonials-section__heading,
	.faq-section__heading,
	.shop-heading { font-size: 3.75rem; }
	.promo-section__heading,
	.services-section__heading { font-size: 3.75rem; }
	.cta-section__title { font-size: 3rem; }
}
@media (min-width: 1024px) {
	.services-section__heading { font-size: 4.5rem; }
	.cta-section__title { font-size: 3.75rem; }
}

/* --------------------------------------------------------------------
   3. REVEAL ANIMATIONS (Section 2.1)
   -------------------------------------------------------------------- */
.reveal-item {
	opacity: 0;
	transform: translateY(32px);
	transition: opacity 0.7s var(--transition-smooth), transform 0.7s var(--transition-smooth);
}
.reveal-item.is-visible {
	opacity: 1;
	transform: translateY(0);
}
body.is-customizer .reveal-item,
body.is-customizer .theme-product-card-wrap .reveal-item {
	opacity: 1 !important;
	transform: none !important;
}
@media (prefers-reduced-motion: reduce) {
	.reveal-item { transition: none; opacity: 1; transform: none; }
}

.animate-fade-in { animation: rgFadeIn 0.6s var(--transition-smooth) forwards; }
.animate-slide-up { animation: rgSlideUp 0.6s var(--transition-smooth) forwards; }
@keyframes rgFadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes rgSlideUp { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }

/* --------------------------------------------------------------------
   4. BUTTONS
   -------------------------------------------------------------------- */
.btn-hero-primary,
.btn-cta-dark,
.btn-promo-cta,
.btn-primary,
.theme-btn-primary {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	background-color: var(--color-marigold);
	color: var(--color-background);
	padding: 1.25rem 3rem;
	font-size: 12px;
	letter-spacing: 0.32em;
	text-transform: uppercase;
	font-family: var(--font-body);
	font-weight: 500;
	transition: opacity 0.2s ease, background-color 0.2s ease;
	border-radius: 0;
	text-align: center;
}
.btn-hero-primary:hover,
.btn-promo-cta:hover { background-color: color-mix(in srgb, var(--color-marigold) 90%, transparent); }
.btn-cta-dark {
	background-color: var(--color-foreground);
	color: var(--color-background);
}
.btn-cta-dark:hover { background-color: color-mix(in srgb, var(--color-foreground) 90%, transparent); }
.btn-outline {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.5rem;
	background: transparent;
	border: 1px solid var(--color-border);
	color: var(--color-foreground);
	padding: 0.75rem 1.5rem;
	border-radius: var(--radius);
	font-size: 14px;
	transition: border-color 0.2s ease;
}
.btn-outline:hover { border-color: var(--color-foreground); }

/* ======================================================================
   5. HEADER / NAV
   ====================================================================== */
.announcement-bar {
	position: relative;
	background-color: var(--color-surface-deep);
	color: var(--color-surface-deep-foreground);
}
.announcement-bar__inner { padding: 0.5rem 1.5rem; text-align: center; }
.announcement-bar__text {
	font-size: 12px;
	letter-spacing: 0.22em;
	text-transform: uppercase;
	font-family: var(--font-utility);
	padding-right: 2rem;
}
.announcement-bar__star { color: var(--color-marigold); filter: brightness(1.5); }
.announcement-bar__dismiss {
	position: absolute;
	right: 0.75rem; top: 50%;
	transform: translateY(-50%);
	padding: 0.25rem;
	opacity: 0.7;
}
.announcement-bar__dismiss:hover { opacity: 1; }

.site-header {
	position: sticky;
	top: 0; left: 0; right: 0;
	z-index: 50;
	transition: background-color 0.3s ease, border-color 0.3s ease;
	background-color: transparent;
	border-bottom: 1px solid transparent;
}
/* WordPress admin bar — keep sticky header below it */
body.admin-bar .site-header { top: 32px; }
@media screen and (max-width: 782px) {
	body.admin-bar .site-header { top: 46px; }
}
.site-header.is-solid {
	background-color: color-mix(in srgb, var(--color-background) 95%, transparent);
	backdrop-filter: blur(6px);
	border-bottom-color: var(--color-border);
}
.site-nav { display: flex; align-items: center; justify-content: space-between; height: 80px; }
.site-nav__logo { display: flex; align-items: center; min-width: 0; }
.site-logo-img { height: var(--logo-height) !important; width: auto !important; max-width: 132px; object-fit: contain; display: block; }
.site-logo-text { font-family: var(--font-display); font-size: 1.5rem; font-weight: 500; }

.site-nav__links { display: none; align-items: center; gap: 1rem; flex: 1; justify-content: center; }
@media (min-width: 1024px) { .site-nav__links { display: flex; gap: 1.25rem; } }
@media (min-width: 1280px) { .site-nav__links { gap: 2rem; } }
.theme-nav-list { display: flex; align-items: center; gap: 1.25rem; flex-wrap: nowrap; }
@media (min-width: 1280px) { .theme-nav-list { gap: 2rem; } }
.theme-nav-link,
.theme-nav-list > li > a {
	font-size: 12px;
	font-family: var(--font-display);
	font-weight: 600;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	white-space: nowrap;
	line-height: 1.4;
}
@media (min-width: 1280px) {
	.theme-nav-link,
	.theme-nav-list > li > a { font-size: 13px; letter-spacing: 0.2em; }
}
.theme-nav-list--mobile {
	display: flex;
	flex-direction: column;
	align-items: stretch;
	gap: 0;
	flex-wrap: nowrap;
	width: 100%;
}
.theme-nav-list--mobile > li {
	display: block;
	width: 100%;
}
.theme-nav-list--mobile .theme-nav-link,
.theme-nav-list--mobile > li > a {
	display: block;
	width: 100%;
	font-size: 15px;
	font-weight: 600;
	letter-spacing: 0.18em;
	padding: 0.75rem 0;
	white-space: normal;
}
.theme-nav-list--footer { flex-direction: column; align-items: flex-start; gap: 0.75rem; }

.site-nav__actions { display: flex; align-items: center; gap: 0.5rem; }
.site-nav__icon-btn { padding: 0.5rem; transition: opacity 0.2s ease; position: relative; }
.site-nav__icon-btn:hover { opacity: 0.6; }
.site-nav__search-btn { display: none; }
@media (min-width: 768px) { .site-nav__search-btn { display: inline-flex; } }
.site-nav__menu-btn { display: inline-flex; }
@media (min-width: 1024px) { .site-nav__menu-btn { display: none; } }
.icon-menu-close { display: none; }
body.mobile-menu-open .icon-menu-open { display: none; }
body.mobile-menu-open .icon-menu-close { display: block; }

.theme-cart-count {
	position: absolute;
	top: -2px; right: -2px;
	width: 18px; height: 18px;
	display: flex; align-items: center; justify-content: center;
	font-size: 11px; font-weight: 500;
	background-color: var(--color-primary);
	color: var(--color-primary-foreground);
	border-radius: 999px;
}
.theme-cart-count:empty { display: none; }

.site-nav__mobile {
	border-top: 1px solid var(--color-border);
	padding: 0.75rem 0 1.25rem;
}
.site-nav__mobile[hidden] { display: none; }
.site-nav__mobile .theme-nav-list {
	display: flex;
	flex-direction: column;
	align-items: stretch;
	gap: 0;
	flex-wrap: nowrap;
	width: 100%;
}
.site-nav__mobile .theme-nav-list > li {
	display: block;
	width: 100%;
	border-bottom: 1px solid color-mix(in srgb, var(--color-border) 70%, transparent);
}
.site-nav__mobile .theme-nav-list > li:last-child { border-bottom: none; }
.site-nav__mobile .theme-nav-list > li > a {
	display: block;
	width: 100%;
	padding: 0.85rem 0;
	white-space: normal;
}

/* ======================================================================
   6. HERO
   ====================================================================== */
body.theme-no-hero .hero-section { display: none; }
.hero-section { background-color: var(--color-background); }
.hero-media { position: relative; width: 100%; height: 78vh; min-height: 560px; overflow: hidden; }
@media (min-width: 768px) { .hero-media { height: 88vh; min-height: 680px; } }
.hero-media__overlay-mobile { position: absolute; inset: 0; background: color-mix(in srgb, var(--color-foreground) 45%, transparent); }
@media (min-width: 768px) { .hero-media__overlay-mobile { background: transparent; } }
.hero-media__overlay-gradient { position: absolute; inset: 0; background: linear-gradient(to right, color-mix(in srgb, var(--color-foreground) 85%, transparent), color-mix(in srgb, var(--color-foreground) 45%, transparent), transparent); }
.hero-content-wrap { position: relative; height: 78vh; min-height: 560px; display: flex; align-items: center; }
@media (min-width: 768px) { .hero-content-wrap { height: 88vh; min-height: 680px; } }
.hero-media { }
.hero-content { max-width: 36rem; }
.hero-eyebrow {
	display: block;
	font-size: 11px;
	letter-spacing: 0.4em;
	text-transform: uppercase;
	color: var(--color-marigold);
	filter: brightness(1.5);
	font-family: var(--font-utility);
	margin-bottom: 1rem;
}
.hero-title {
	font-family: var(--font-display);
	font-style: italic;
	font-weight: 500;
	/* Lovable: text-6xl / md:text-7xl / xl:text-8xl */
	font-size: 3.75rem;
	line-height: 0.95;
	letter-spacing: 0.01em;
	color: var(--color-background);
	margin-bottom: 1.5rem;
}
@media (min-width: 768px) { .hero-title { font-size: 4.5rem; } }
@media (min-width: 1280px) { .hero-title { font-size: 6rem; } }
.hero-subtitle {
	color: color-mix(in srgb, var(--color-background) 90%, transparent);
	font-family: var(--font-body);
	font-weight: 400;
	font-size: 1rem;
	line-height: 1.625;
	margin-bottom: 2.5rem;
	max-width: 28rem;
}
@media (min-width: 768px) { .hero-subtitle { font-size: 1.125rem; } }

/* ======================================================================
   7. ABOUT
   ====================================================================== */
.about-section { background-color: var(--color-background); }
.about-section__inner { padding: 5rem 1.5rem; }
@media (min-width: 768px) { .about-section__inner { padding: 7rem 3.5rem; } }
.about-section__content { max-width: 42rem; margin: 0 auto; text-align: center; }
.about-section__text {
	color: color-mix(in srgb, var(--color-foreground) 80%, transparent);
	font-family: var(--font-body);
	font-weight: 400;
	line-height: 1.625;
	margin-bottom: 1.25rem;
}
.about-section__link { font-size: 12px; letter-spacing: 0.28em; text-transform: uppercase; font-family: var(--font-display); font-weight: 500; margin-top: 1.5rem; display: inline-block; }

/* ======================================================================
   8. SHADE TILES
   ====================================================================== */
.shade-tiles-section { background-color: var(--color-background); padding: 4rem 0 5rem; }
.shade-tiles-grid { display: grid; grid-template-columns: 1fr; gap: 1rem; }
@media (min-width: 768px) { .shade-tiles-grid { grid-template-columns: repeat(3, 1fr); gap: 1.5rem; } }
.shade-tile { position: relative; aspect-ratio: 3/4; overflow: hidden; display: block; width: 100%; }
.shade-tile__img { transition: transform 0.7s var(--transition-smooth); }
.shade-tile:hover .shade-tile__img { transform: scale(1.05); }
.shade-tile__scrim { position: absolute; inset: 0; background: linear-gradient(to top, color-mix(in srgb, var(--color-foreground) 90%, transparent), color-mix(in srgb, var(--color-foreground) 40%, transparent), color-mix(in srgb, var(--color-foreground) 10%, transparent)); transition: background 0.5s ease; }
.shade-tile:hover .shade-tile__scrim { background: linear-gradient(to top, color-mix(in srgb, var(--color-foreground) 95%, transparent), color-mix(in srgb, var(--color-foreground) 40%, transparent), color-mix(in srgb, var(--color-foreground) 10%, transparent)); }
.shade-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); }
.shade-tile__tagline { display: inline-flex; align-items: center; gap: 0.5rem; font-size: 11px; letter-spacing: 0.3em; text-transform: uppercase; margin-bottom: 0.5rem; color: var(--color-marigold); filter: brightness(1.5); }
.shade-tile__tagline-bar { height: 1px; width: 1.5rem; background: currentColor; }
.shade-tile__label { font-size: 1.75rem; letter-spacing: 0.02em; text-transform: uppercase; margin-bottom: 0.5rem; font-style: normal; font-weight: 500; }
@media (min-width: 768px) { .shade-tile__label { font-size: 2.25rem; } }
.shade-tile__cta { display: inline-flex; align-items: center; gap: 0.375rem; font-size: 12px; letter-spacing: 0.22em; text-transform: uppercase; }

/* ======================================================================
   9. PROMOTIONS
   ====================================================================== */
.promo-section { background-color: var(--color-surface-deep); color: var(--color-surface-deep-foreground); padding: 4rem 0 6rem; }
@media (min-width: 768px) { .promo-section { padding: 6rem 0; } }
.promo-section__cta { text-align: center; margin-top: 3rem; }

.featured-section {
	background-color: var(--color-background);
	padding: 4rem 0 5rem;
}
@media (min-width: 768px) {
	.featured-section { padding: 6rem 0; }
}
.promo-section__heading { margin-bottom: 0; }
.promo-grid { display: grid; grid-template-columns: 1fr; gap: 1.25rem; margin-top: 0; }
@media (min-width: 768px) { .promo-grid { grid-template-columns: repeat(3, 1fr); gap: 2rem; } }
.promo-card { border: 1px solid color-mix(in srgb, var(--color-marigold) 40%, transparent); background: color-mix(in srgb, var(--color-background) 5%, transparent); padding: 2rem; text-align: center; display: flex; flex-direction: column; align-items: center; }
.promo-card__icon { color: var(--color-marigold); filter: brightness(1.5); margin-bottom: 1.25rem; width: 24px; height: 24px; }
.promo-card__name { font-family: var(--font-display); font-size: 1.5rem; letter-spacing: 0.02em; margin-bottom: 0.75rem; font-weight: 500; }
.promo-card__detail { font-size: 12px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--color-marigold); filter: brightness(1.5); margin-bottom: 1rem; }
.promo-card__note { font-size: 14px; line-height: 1.7; color: color-mix(in srgb, var(--color-surface-deep-foreground) 75%, transparent); }
.btn-promo-cta { background-color: var(--color-marigold); color: var(--color-surface-deep); padding: 1rem 2.5rem; }

/* ======================================================================
   10. PRODUCT GRID / CARDS (shared across featured / shop / archive / related)
   ====================================================================== */
.theme-product-grid {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 1.5rem;
}
@media (min-width: 1024px) { .theme-product-grid { gap: 2rem; } }
.theme-product-card-wrap { width: calc(50% - 12px); display: flex; }
@media (min-width: 768px) { .theme-product-card-wrap { width: calc(33.333% - 16px); } }
@media (min-width: 1024px) { .theme-product-card-wrap { width: calc(25% - 24px); } }
.theme-product-grid--featured .theme-product-card-wrap { width: calc(50% - 12px); }
@media (min-width: 768px) {
	.theme-product-grid--featured .theme-product-card-wrap { width: calc(33.333% - 16px); }
}
@media (min-width: 1024px) {
	.theme-product-grid--featured .theme-product-card-wrap { width: calc(25% - 24px); }
}

.theme-product-card {
	position: relative;
	display: flex;
	flex-direction: column;
	height: 100%;
	width: 100%;
}
.theme-product-card > .theme-card-link {
	position: absolute;
	inset: 0;
	z-index: 2;
	pointer-events: auto;
}
.theme-product-card *:not(.theme-card-link) {
	pointer-events: none;
}
.theme-product-card__quick-add,
.theme-product-card__badge {
	pointer-events: auto;
}
.theme-product-card__image-wrapper {
	position: relative;
	aspect-ratio: 3 / 4;
	overflow: hidden;
	background-color: var(--color-secondary);
	margin-bottom: 1.25rem;
	width: 100%;
}
.theme-product-card__image-wrapper .theme-product-card__image,
.theme-product-card__image-wrapper .cover-img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
	max-width: none;
}
.theme-product-card__quick-add {
	position: absolute;
	bottom: 0.75rem;
	right: 0.75rem;
	z-index: 3;
	width: 40px; height: 40px;
	display: flex; align-items: center; justify-content: center;
	border-radius: 999px;
	background-color: var(--color-background);
	color: var(--color-foreground);
	box-shadow: var(--shadow-soft);
	opacity: 0;
	transition: opacity 0.3s ease, transform 0.2s ease;
}
.theme-product-card:hover .theme-product-card__quick-add,
.theme-product-card__quick-add:focus-visible { opacity: 1; }
@media (max-width: 767px) { .theme-product-card__quick-add { opacity: 1; } }
.theme-product-card__quick-add:hover { transform: scale(1.08); }
.theme-product-card__badge {
	position: absolute;
	top: 0.75rem; left: 0.75rem;
	z-index: 3;
	padding: 0.25rem 0.75rem;
	font-size: 12px;
	font-weight: 500;
	text-transform: uppercase;
	letter-spacing: 0.18em;
	background-color: var(--color-foreground);
	color: var(--color-background);
	border-radius: 999px;
}
.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-family: var(--font-utility);
	font-style: normal;
	font-weight: 500;
	font-size: 14px;
	text-transform: uppercase;
	letter-spacing: 0.15em;
	line-height: 1.4;
	color: var(--color-foreground);
	transition: color 0.3s ease;
}
.theme-product-card:hover .theme-product-card__title { color: var(--color-primary); }
.theme-product-card__price {
	font-size: 16px;
	color: var(--color-foreground);
	font-weight: 400;
}

/* ======================================================================
   11. FOUNDER SECTION
   ====================================================================== */
.owner-section { background-color: var(--color-background); }
.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__media { position: relative; display: flex; align-items: center; justify-content: center; padding: 3rem 1.5rem; }
@media (min-width: 1024px) { .owner-section__media { padding: 5rem 4rem; } }
.owner-section__media-frame { position: relative; width: 100%; max-width: 28rem; aspect-ratio: 4/5; overflow: hidden; background: var(--color-secondary); box-shadow: var(--shadow-elevated); }
.owner-section__content-wrap { display: flex; align-items: center; background: var(--color-background); padding: 4rem 1.5rem; }
@media (min-width: 1024px) { .owner-section__content-wrap { padding: 6rem 5rem; } }
.owner-section__content { max-width: 36rem; }
.owner-section__name { font-size: 2.5rem; margin-bottom: 1.5rem; font-weight: 500; }
@media (min-width: 768px) { .owner-section__name { font-size: 3.5rem; } }
@media (min-width: 1024px) { .owner-section__name { font-size: 4.5rem; } }
.owner-section__quote {
	font-family: var(--font-display);
	font-style: italic;
	font-weight: 500;
	font-size: 1.5rem;
	line-height: 1.375;
	letter-spacing: 0.02em;
	color: color-mix(in srgb, var(--color-foreground) 85%, transparent);
	margin-bottom: 2rem;
}
@media (min-width: 768px) { .owner-section__quote { font-size: 1.875rem; } }
.owner-section__text {
	color: color-mix(in srgb, var(--color-foreground) 75%, transparent);
	font-family: var(--font-body);
	font-weight: 400;
	line-height: 1.625;
	margin-bottom: 1.25rem;
}

/* ======================================================================
   12. SERVICES
   ====================================================================== */
.services-section { background-color: var(--color-butter); padding: 5rem 0 7rem; }
.services-grid { display: grid; grid-template-columns: 1fr; gap: 1.5rem; margin-top: 0; }
@media (min-width: 768px) { .services-grid { grid-template-columns: repeat(2, 1fr); gap: 2rem; } }
@media (min-width: 1024px) { .services-grid { grid-template-columns: repeat(3, 1fr); gap: 2rem; } }
.service-card {
	position: relative;
	background-color: var(--color-background);
	border: 1px solid var(--color-border);
	border-left-width: 4px;
	padding: 2rem;
	transition: background-color 0.3s ease;
}
@media (min-width: 768px) { .service-card { padding: 2.5rem; } }
.service-card--accent-1 { border-left-color: var(--color-marigold); }
.service-card--accent-1:hover { background-color: color-mix(in srgb, var(--color-marigold) 5%, var(--color-background)); }
.service-card--accent-1 .service-card__icon { color: var(--color-marigold); border-color: color-mix(in srgb, var(--color-marigold) 40%, transparent); }
.service-card--accent-1 .service-card__numeral { background: var(--color-marigold); color: var(--color-background); }
.service-card--accent-1 .service-card__kicker { color: var(--color-marigold); }

.service-card--accent-2 { border-left-color: var(--color-chocolate); }
.service-card--accent-2:hover { background-color: color-mix(in srgb, var(--color-chocolate) 5%, var(--color-background)); }
.service-card--accent-2 .service-card__icon { color: var(--color-chocolate); border-color: color-mix(in srgb, var(--color-chocolate) 40%, transparent); }
.service-card--accent-2 .service-card__numeral { background: var(--color-chocolate); color: var(--color-background); }
.service-card--accent-2 .service-card__kicker { color: var(--color-chocolate); }

.service-card--accent-3 { border-left-color: var(--color-powder); }
.service-card--accent-3:hover { background-color: color-mix(in srgb, var(--color-powder) 10%, var(--color-background)); }
.service-card--accent-3 .service-card__icon { color: var(--color-foreground); border-color: color-mix(in srgb, var(--color-powder) 60%, transparent); }
.service-card--accent-3 .service-card__numeral { background: var(--color-powder); color: var(--color-foreground); }
.service-card--accent-3 .service-card__kicker { color: var(--color-foreground); }

.service-card__top { display: flex; align-items: flex-start; justify-content: space-between; margin-bottom: 2rem; }
.service-card__icon { display: flex; height: 48px; width: 48px; align-items: center; justify-content: center; border-radius: 999px; border: 1px solid var(--color-border); color: var(--color-marigold); }
.service-card__icon .icon { width: 20px; height: 20px; }
.service-card__numeral { display: inline-flex; align-items: center; padding: 0.25rem 0.6rem; border-radius: 999px; background: var(--color-marigold); font-family: var(--font-display); font-size: 12px; letter-spacing: 0.3em; color: var(--color-background); }
.service-card__kicker { display: block; font-size: 11px; letter-spacing: 0.3em; text-transform: uppercase; font-family: var(--font-body); font-weight: 500; color: var(--color-marigold); margin-bottom: 0.75rem; }
.service-card__title { font-size: 1.875rem; line-height: 1.05; margin-bottom: 1rem; font-weight: 500; }
@media (min-width: 768px) { .service-card__title { font-size: 2.25rem; } }
.service-card__description { font-size: 1rem; line-height: 1.7; color: var(--color-muted-foreground); font-family: var(--font-body); }

/* ======================================================================
   13. SHOP SECTION
   ====================================================================== */
.shop-section { background: var(--color-background); padding: 4rem 0 6rem; }
.shop-heading { margin-bottom: 2.5rem; }
.shop-search { position: relative; max-width: 28rem; margin: 0 auto 2rem; }
.shop-search__icon { position: absolute; left: 0; top: 50%; transform: translateY(-50%); color: var(--color-muted-foreground); }
.shop-search__input {
	width: 100%;
	background: transparent;
	border: none;
	border-bottom: 1px solid var(--color-border);
	padding: 0.5rem 0 0.5rem 1.75rem;
	font-family: var(--font-body);
	font-size: 1rem;
	font-weight: 400;
	color: var(--color-foreground);
	outline: none;
	transition: border-color 0.2s ease;
}
.shop-search__input:focus { border-color: var(--color-foreground); }
.shop-categories { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.5rem; margin-bottom: 1rem; }
.shop-category-pill {
	padding: 0.5rem 1.25rem;
	font-size: 12px;
	letter-spacing: 0.2em;
	text-transform: uppercase;
	font-family: var(--font-body);
	font-weight: 500;
	border: 1px solid var(--color-border);
	border-radius: 999px;
	background: transparent;
	color: var(--color-foreground);
	transition: all 0.3s ease;
}
.shop-category-pill:hover { border-color: var(--color-foreground); }
.shop-category-pill.is-active { background: var(--color-foreground); color: var(--color-background); border-color: var(--color-foreground); }

.shop-price-filter { display: flex; flex-direction: column; align-items: center; gap: 0.75rem; }
.shop-price-filter__toggle { display: flex; align-items: center; gap: 0.5rem; padding: 0.5rem 1rem; font-size: 12px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--color-muted-foreground); transition: color 0.3s ease; }
.shop-price-filter__toggle:hover { color: var(--color-foreground); }
.shop-price-filter__badge { opacity: 0.7; text-transform: none; letter-spacing: normal; }
.shop-price-filter__chevron { transition: transform 0.3s ease; }
.shop-price-filter__toggle[aria-expanded="true"] .shop-price-filter__chevron { transform: rotate(180deg); }
.shop-price-filter__panel { width: 100%; max-width: 24rem; padding: 0.5rem 0; }
.shop-price-filter__panel[hidden] { display: none; }

.price-range-wrapper { position: relative; height: 1.5rem; margin-bottom: 0.5rem; }
.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-secondary); }
.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: 999px; background: var(--color-background); border: 2px solid var(--color-primary); cursor: pointer; }
.range-input::-moz-range-thumb { pointer-events: auto; width: 20px; height: 20px; border-radius: 999px; background: var(--color-background); border: 2px solid var(--color-primary); cursor: pointer; }
.range-input--max { z-index: 3; }
.range-input--min { z-index: 4; }
.price-range-labels { display: flex; justify-content: space-between; font-size: 14px; color: var(--color-muted-foreground); }

.shop-section__show-more, .shop-section__empty { text-align: center; margin-top: 3rem; }
.shop-section__show-more[hidden], .shop-section__empty[hidden] { display: none; }

/* ======================================================================
   14. TESTIMONIALS / FAQ
   ====================================================================== */
.testimonials-section { background: var(--color-butter); padding: 5rem 0 7rem; }
.testimonials-grid { display: grid; grid-template-columns: 1fr; gap: 1.5rem; margin-top: 0; align-items: stretch; }
@media (min-width: 768px) { .testimonials-grid { grid-template-columns: repeat(3, 1fr); gap: 2rem; } }
.testimonial-card {
	background: var(--color-background);
	border: 1px solid var(--color-border);
	padding: 2rem;
	display: flex;
	flex-direction: column;
	height: 100%;
	text-align: left;
	box-sizing: border-box;
}
@media (min-width: 768px) { .testimonial-card { padding: 2.5rem; } }
.testimonial-card__mark {
	font-family: var(--font-display);
	font-style: italic;
	font-weight: 500;
	font-size: 3.75rem;
	line-height: 1;
	color: var(--color-marigold);
	margin: 0 0 1rem;
	display: block;
}
.testimonial-card__quote {
	font-family: var(--font-display);
	font-style: italic;
	font-weight: 500;
	font-size: 1.125rem;
	line-height: 1.375;
	letter-spacing: 0.01em;
	color: color-mix(in srgb, var(--color-foreground) 85%, transparent);
	margin: 0 0 1.5rem;
	padding: 0;
	flex: 1;
	width: 100%;
	max-width: 100%;
}
@media (min-width: 768px) { .testimonial-card__quote { font-size: 1.25rem; } }
.testimonial-card__name { font-family: var(--font-display); font-size: 1.125rem; font-weight: 500; letter-spacing: 0.01em; }
.testimonial-card__context { font-size: 11px; letter-spacing: 0.28em; text-transform: uppercase; color: var(--color-muted-foreground); margin-top: 0.25rem; font-family: var(--font-body); font-weight: 500; }
.testimonial-card figcaption { margin: 0; }

.faq-section { background: var(--color-background); padding: 5rem 0 7rem; }
.faq-list { max-width: 48rem; margin: 0 auto; border-top: 1px solid var(--color-border); border-bottom: 1px solid var(--color-border); }
.faq-item { border-bottom: 1px solid var(--color-border); }
.faq-item:last-child { border-bottom: none; }
.faq-item__question { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; padding: 1.25rem 0; text-align: left; }
@media (min-width: 768px) { .faq-item__question { padding: 1.5rem 0; } }
.faq-item__question:hover span:first-child { color: var(--color-marigold); }
.faq-item__question span:first-child { font-family: var(--font-display); font-size: 1.125rem; font-weight: 500; transition: color 0.3s ease; }
@media (min-width: 768px) { .faq-item__question span:first-child { font-size: 1.25rem; } }
.faq-item__chevron { color: var(--color-marigold); transition: transform 0.3s ease; flex-shrink: 0; }
.faq-item__question[aria-expanded="true"] .faq-item__chevron { transform: rotate(180deg); }
.faq-item__answer[hidden] { display: none; }
.faq-item__answer p { padding-bottom: 1.5rem; padding-right: 2.5rem; color: color-mix(in srgb, var(--color-foreground) 75%, transparent); line-height: 1.625; font-family: var(--font-body); font-weight: 400; }

/* ======================================================================
   15. FINAL CTA
   ====================================================================== */
.cta-section { position: relative; background: var(--color-butter); overflow: hidden; }
.cta-section__bg { opacity: 0.7; }
.cta-section__overlay { position: absolute; inset: 0; background: linear-gradient(to bottom, color-mix(in srgb, var(--color-background) 60%, transparent), color-mix(in srgb, var(--color-background) 40%, transparent), color-mix(in srgb, var(--color-background) 80%, transparent)); }
.cta-section__inner {
	position: relative;
	/* Vertical only — keep .container-wide side padding (shorthand was wiping it). */
	padding-top: 4rem;
	padding-bottom: 5rem;
}
@media (min-width: 768px) {
	.cta-section__inner {
		padding-top: 6rem;
		padding-bottom: 8rem;
	}
}
.cta-section__card {
	max-width: 42rem;
	margin: 0 auto;
	text-align: center;
	background: color-mix(in srgb, var(--color-background) 95%, transparent);
	backdrop-filter: blur(4px);
	box-shadow: var(--shadow-elevated);
	padding: 2.5rem 1.5rem;
	border: 1px solid color-mix(in srgb, var(--color-border) 60%, transparent);
}
@media (min-width: 640px) {
	.cta-section__card { padding: 3rem 2rem; }
}
@media (min-width: 768px) {
	.cta-section__card { padding: 4rem 3.5rem; }
}
.cta-section__text { color: color-mix(in srgb, var(--color-foreground) 75%, transparent); line-height: 1.7; margin: 1.5rem auto 2.5rem; max-width: 32rem; }
.btn-cta-dark { font-family: var(--font-display); }

/* ======================================================================
   16. FOOTER
   ====================================================================== */
.site-footer { background: var(--color-surface-deep); color: var(--color-surface-deep-foreground); }
.site-footer__main {
	/* Vertical only — keep .container-wide side padding. */
	padding-top: 3.5rem;
	padding-bottom: 3.5rem;
}
@media (min-width: 1024px) {
	.site-footer__main {
		padding-top: 4.5rem;
		padding-bottom: 4.5rem;
	}
}
.site-footer__grid { display: grid; grid-template-columns: 1fr; gap: 2.5rem; }
@media (min-width: 1024px) { .site-footer__grid { grid-template-columns: 1fr 1fr 1fr; gap: 3rem; } }
.site-footer__brand { display: flex; flex-direction: column; align-items: flex-start; gap: 1rem; }
.site-footer__logo { display: inline-block; width: 10rem; height: 10rem; }
.site-footer .site-logo-img { width: 100%; height: 100% !important; object-fit: contain; }
.site-footer__social { display: flex; align-items: center; gap: 0.75rem; }
.site-footer__social-link { color: color-mix(in srgb, var(--color-surface-deep-foreground) 70%, transparent); transition: color 0.2s ease; }
.site-footer__social-link:hover { color: var(--color-surface-deep-foreground); }
.site-footer__heading { font-size: 11px; letter-spacing: 0.28em; text-transform: uppercase; font-family: var(--font-body); font-weight: 500; color: color-mix(in srgb, var(--color-surface-deep-foreground) 50%, transparent); margin-bottom: 1.25rem; }
.site-footer__explore-list { display: flex; flex-direction: column; align-items: flex-start; gap: 0.75rem; }
.site-footer__explore-link {
	display: inline-block;
	font-size: 12px;
	letter-spacing: 0.22em;
	text-transform: uppercase;
	font-family: var(--font-body);
	font-weight: 500;
	color: color-mix(in srgb, var(--color-surface-deep-foreground) 75%, transparent);
	transition: color 0.2s ease;
	width: fit-content;
}
.site-footer__explore-link:hover { color: var(--color-surface-deep-foreground); }
.site-footer__contact-links { display: flex; flex-direction: column; gap: 0.75rem; }
.site-footer__contact-link { display: flex; align-items: center; gap: 0.5rem; font-size: 14px; color: color-mix(in srgb, var(--color-surface-deep-foreground) 75%, transparent); transition: color 0.2s ease; }
.site-footer__contact-link:hover { color: var(--color-surface-deep-foreground); }
.site-footer__bottom { border-top: 1px solid color-mix(in srgb, var(--color-surface-deep-foreground) 10%, transparent); }
.site-footer__bottom-inner {
	padding-top: 1.5rem;
	padding-bottom: 1.5rem;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: space-between;
	gap: 0.75rem;
}
@media (min-width: 640px) { .site-footer__bottom-inner { flex-direction: row; } }
.site-footer__copyright, .site-footer__built-by { font-size: 12px; color: color-mix(in srgb, var(--color-surface-deep-foreground) 60%, transparent); letter-spacing: 0.02em; }
.site-footer__built-by a { font-weight: 700; color: color-mix(in srgb, var(--color-surface-deep-foreground) 90%, transparent); }
.site-footer__built-by a:hover { text-decoration: underline; text-decoration-color: currentColor; text-underline-offset: 4px; }

/* ======================================================================
   17. CART DRAWER + OVERLAY
   ====================================================================== */
#theme-cart-overlay {
	position: fixed; inset: 0; z-index: 60;
	background: color-mix(in srgb, var(--color-foreground) 20%, transparent);
	opacity: 0; pointer-events: none;
	transition: opacity 0.3s ease;
}
body.cart-open #theme-cart-overlay { opacity: 1; pointer-events: auto; }

#theme-cart-drawer {
	position: fixed; right: 0; top: 0; height: 100%; width: 100%; max-width: 28rem;
	z-index: 61;
	background: var(--color-background);
	box-shadow: var(--shadow-elevated);
	display: flex; flex-direction: column;
	transform: translateX(100%);
	transition: transform 0.35s var(--transition-smooth), opacity 0.2s ease;
}
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; font-style: normal; }
.theme-cart-drawer__close { padding: 0.25rem; transition: opacity 0.2s ease; }
.theme-cart-drawer__close:hover { opacity: 0.6; }
.theme-cart-drawer__empty { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 1.5rem; text-align: center; gap: 1rem; }
.theme-cart-drawer__empty .icon-lg { color: var(--color-muted-foreground); }
.theme-cart-drawer__items { flex: 1; overflow: auto; padding: 1.5rem; display: flex; flex-direction: column; gap: 1.5rem; }
.theme-cart-item { display: flex; gap: 1rem; }
.theme-cart-item__image {
	position: relative;
	display: block;
	width: 80px;
	height: 96px;
	flex-shrink: 0;
	overflow: hidden;
	background: var(--color-secondary);
}
.theme-cart-item__image img,
.theme-cart-item__image .cover-img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
	max-width: none;
}
.theme-cart-item__body { flex: 1; min-width: 0; }
.theme-cart-item__name { font-size: 14px; font-weight: 500; display: block; margin-bottom: 0.125rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.theme-cart-item__name:hover { opacity: 0.7; }
.theme-cart-item__price { font-size: 14px; color: var(--color-muted-foreground); }
.theme-cart-item__variation { display: flex; flex-direction: column; gap: 0.125rem; font-size: 12px; color: var(--color-muted-foreground); margin-top: 0.25rem; }
.theme-cart-item__controls { display: flex; align-items: center; gap: 0.75rem; margin-top: 0.75rem; }
.theme-cart-item__qty-btn { padding: 0.25rem; border-radius: 4px; transition: background 0.2s ease; }
.theme-cart-item__qty-btn:hover { background: var(--color-secondary); }
.theme-cart-item__qty { font-size: 14px; width: 24px; text-align: center; }
.theme-cart-item__remove { margin-left: auto; font-size: 14px; color: var(--color-muted-foreground); transition: color 0.2s ease; }
.theme-cart-item__remove:hover { color: var(--color-foreground); }
.theme-cart-drawer__footer { padding: 1.5rem; border-top: 1px solid var(--color-border); display: flex; flex-direction: column; gap: 1rem; }
.theme-cart-drawer__subtotal { display: flex; justify-content: space-between; font-size: 14px; }
.theme-cart-drawer__note { font-size: 14px; color: var(--color-muted-foreground); }
.theme-cart-drawer__checkout { width: 100%; }
.theme-cart-drawer__empty-btn { width: 100%; gap: 0.5rem; }

/* ======================================================================
   18. CONTACT MODAL
   ====================================================================== */
#theme-contact-overlay { position: fixed; inset: 0; z-index: 70; background: rgb(0 0 0 / 0.5); }
#theme-contact-overlay[hidden] { display: none; }
#theme-contact-modal { position: fixed; top: 50%; left: 50%; transform: translate(-50%, -50%); z-index: 71; width: 92%; max-width: 32rem; max-height: 90vh; overflow-y: auto; }
#theme-contact-modal[hidden] { display: none; }
.theme-modal__panel { background: var(--color-background); border-radius: var(--radius); padding: 2rem; position: relative; box-shadow: var(--shadow-elevated); }
.theme-modal__close { position: absolute; top: 1rem; right: 1rem; padding: 0.25rem; opacity: 0.7; }
.theme-modal__close:hover { opacity: 1; }
.theme-modal__title { font-family: var(--font-display); font-size: 1.75rem; letter-spacing: 0.04em; text-transform: uppercase; margin-bottom: 0.5rem; }
.theme-modal__description { color: var(--color-muted-foreground); margin-bottom: 1.5rem; }
.theme-modal__contact-row { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem; font-size: 14px; color: var(--color-muted-foreground); margin-bottom: 1.5rem; }
.theme-modal__contact-link { display: flex; align-items: center; gap: 0.5rem; }
.theme-modal__contact-link:hover { color: var(--color-foreground); }
.theme-modal__form-row { display: grid; grid-template-columns: 1fr; gap: 1rem; }
@media (min-width: 640px) { .theme-modal__form-row { grid-template-columns: 1fr 1fr; } }
.theme-field { display: flex; flex-direction: column; gap: 0.375rem; margin-bottom: 1rem; }
.theme-field label { font-size: 14px; font-weight: 500; }
.theme-field input, .theme-field textarea {
	width: 100%;
	padding: 0.625rem 0.75rem;
	background: var(--color-background);
	border: 1px solid var(--color-border);
	border-radius: 6px;
	font-family: var(--font-utility);
	font-size: 16px;
	color: var(--color-foreground);
	transition: box-shadow 0.3s ease;
}
.theme-field input:focus, .theme-field textarea:focus { outline: none; box-shadow: 0 0 0 2px color-mix(in srgb, var(--color-accent) 50%, transparent); }
.theme-field textarea { resize: none; }
.theme-modal__form-footer { display: flex; justify-content: flex-end; }
.theme-modal__submit { gap: 0.5rem; }
.theme-modal__success { text-align: center; padding: 2rem 0; }
.theme-modal__success[hidden] { display: none; }
.theme-modal__success-icon { width: 56px; height: 56px; background: var(--color-primary); color: var(--color-primary-foreground); display: flex; align-items: center; justify-content: center; border-radius: 999px; margin: 0 auto 1rem; }
.theme-modal__success-title { font-size: 1.5rem; letter-spacing: 0.04em; text-transform: uppercase; margin-bottom: 0.5rem; }
.theme-modal__success-text { color: var(--color-muted-foreground); font-size: 14px; }
#theme-contact-form[hidden] { display: none; }

/* ======================================================================
   19. GENERIC PAGE / 404
   ====================================================================== */
.page-shell {
	/* Only vertical — horizontal comes from .container-wide (shorthand here was wiping side padding). */
	padding-top: 7rem;
	padding-bottom: 5rem;
}

/* Extra side breathing room on checkout / cart / account / generic WC host pages */
.container-wide.page-shell {
	padding-left: 1.5rem;
	padding-right: 1.5rem;
}
@media (min-width: 640px) {
	.container-wide.page-shell {
		padding-left: 2rem;
		padding-right: 2rem;
	}
}
@media (min-width: 1024px) {
	.container-wide.page-shell {
		padding-left: 2.5rem;
		padding-right: 2.5rem;
	}
}
@media (min-width: 1280px) {
	.container-wide.page-shell {
		padding-left: 3rem;
		padding-right: 3rem;
	}
}
.page-title { font-size: 2rem; margin-bottom: 2rem; }
.theme-404 { text-align: center; padding: 8rem 0; }
.theme-404__code { font-size: 4rem; margin-bottom: 1rem; }
.theme-404__text { font-size: 1.25rem; color: var(--color-muted-foreground); margin-bottom: 1.5rem; }

/* ======================================================================
   20. SINGLE PRODUCT (Section 11)
   ====================================================================== */
.single-product-main { padding-top: 6rem; }
.product-breadcrumb { padding: 1.5rem 0; font-size: 13px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--color-muted-foreground); }
.product-breadcrumb__link:hover { color: var(--color-foreground); }
.product-breadcrumb__sep { margin: 0 0.5rem; opacity: 0.5; }
.product-breadcrumb__current { color: var(--color-foreground); }

.theme-product-layout {
	display: grid;
	grid-template-columns: 1fr;
	gap: 2.5rem;
	padding-top: 1rem;
	padding-bottom: 6rem;
	min-width: 0;
	align-items: start;
}
@media (min-width: 1024px) {
	.theme-product-layout {
		grid-template-columns: 7fr 5fr;
		gap: 4rem;
	}
}
.theme-product-gallery,
.theme-product-info {
	min-width: 0;
	max-width: 100%;
}

/* Mobile: square main + horizontal thumbs */
.theme-product-gallery__mobile { display: block; }
.theme-product-gallery__desktop { display: none; }
.theme-product-main-image {
	position: relative;
	aspect-ratio: 1 / 1;
	overflow: hidden;
	background: var(--color-secondary);
}
.theme-product-thumbnails {
	display: flex;
	flex-direction: row;
	gap: 0.75rem;
	margin-top: 1rem;
	overflow-x: auto;
	padding-bottom: 0.25rem;
	max-width: 100%;
}
.theme-product-thumb {
	position: relative;
	width: 80px;
	height: 80px;
	flex-shrink: 0;
	overflow: hidden;
	background: var(--color-secondary);
	border: none;
}
.theme-product-thumb img { opacity: 0.6; transition: opacity 0.2s ease; }
.theme-product-thumb.is-active img,
.theme-product-thumb:hover img { opacity: 1; }
.theme-product-thumb.is-active::after {
	content: '';
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	height: 1px;
	background: var(--color-foreground);
}

/* Desktop: stacked square images (col-span-7) + sticky info (col-span-5) */
@media (min-width: 1024px) {
	.theme-product-gallery__mobile { display: none; }
	.theme-product-gallery__desktop {
		display: flex;
		flex-direction: column;
		gap: 1rem;
	}
	.theme-product-stack-image {
		position: relative;
		aspect-ratio: 1 / 1;
		overflow: hidden;
		background: var(--color-secondary);
	}
	.theme-product-info {
		padding-left: 1rem;
		position: sticky;
		top: calc(var(--header-height) + 1.5rem);
		align-self: start;
	}
}

.theme-product-info__category { font-size: 13px; letter-spacing: 0.25em; text-transform: uppercase; color: var(--color-muted-foreground); display: block; margin-bottom: 0.75rem; }
.theme-product-info__title.product-title { font-family: var(--font-display); font-weight: 500; font-size: 2rem; line-height: 1.1; margin-bottom: 1.25rem; }
@media (min-width: 1024px) { .theme-product-info__title.product-title { font-size: 2.75rem; } }
.theme-product-info__price { font-size: 1.25rem; margin-bottom: 1.5rem; font-family: var(--font-utility); }
.theme-product-info__price .woocommerce-Price-amount { color: var(--color-foreground); }
.theme-product-info__stock--out { color: var(--color-destructive); font-weight: 500; margin-bottom: 1rem; }
.theme-product-info__excerpt { color: var(--color-muted-foreground); line-height: 1.7; margin-bottom: 2rem; overflow-wrap: break-word; word-break: break-word; }
.theme-product-info__label { font-size: 13px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--color-muted-foreground); margin-bottom: 0.75rem; font-family: var(--font-utility); font-weight: 500; }

.theme-color-chip { display: inline-flex; align-items: center; gap: 0.5rem; padding: 0.5rem 1rem; font-size: 12px; letter-spacing: 0.15em; text-transform: uppercase; border: 1px solid var(--color-foreground); background: color-mix(in srgb, var(--color-foreground) 5%, transparent); border-radius: 999px; }
.theme-color-chip__dot { width: 12px; height: 12px; border-radius: 999px; border: 1px solid var(--color-border); }
.theme-product-info__color { margin-bottom: 1.5rem; }
.theme-product-info__quantity { margin-bottom: 1rem; }

.theme-quantity-wrapper { display: inline-flex; align-items: center; border: 1px solid var(--color-border); }
.theme-qty-minus, .theme-qty-plus { padding: 0.5rem 0.75rem; transition: background 0.2s ease; }
.theme-qty-minus:hover, .theme-qty-plus:hover { background: var(--color-secondary); }
.theme-qty-input { width: 44px; text-align: center; border: none; background: transparent; font-family: var(--font-utility); font-size: 14px; -moz-appearance: textfield; }
.theme-qty-input::-webkit-outer-spin-button, .theme-qty-input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }

.single-product .theme-add-to-cart-area { display: flex; align-items: stretch; flex-wrap: wrap; gap: 0.75rem; margin-bottom: 1.5rem; }
.single-product .single_add_to_cart_button { flex: 1 1 auto; min-width: 160px; width: 100%; }

.theme-product-accordions { border-top: 1px solid var(--color-border); margin-top: 2rem; }
.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: 13px; letter-spacing: 0.25em; text-transform: uppercase; font-family: var(--font-utility); }
.theme-accordion__chevron { transition: transform 0.3s ease; }
.theme-accordion__trigger[aria-expanded="true"] .theme-accordion__chevron { transform: rotate(180deg); }
.theme-accordion__panel[hidden] { display: none; }
.theme-accordion__panel { padding-bottom: 1.5rem; font-family: var(--font-utility); }
.theme-accordion__desc { font-size: 15px; color: var(--color-muted-foreground); line-height: 1.7; margin-bottom: 1rem; white-space: pre-line; overflow-wrap: break-word; word-break: break-word; }
.theme-accordion__list { display: flex; flex-direction: column; gap: 0.5rem; }
.theme-accordion__list li { font-size: 15px; color: var(--color-muted-foreground); display: flex; align-items: flex-start; }
.theme-accordion__bullet { width: 4px; height: 4px; border-radius: 999px; background: var(--color-foreground); margin-top: 0.5rem; margin-right: 0.75rem; flex-shrink: 0; }
.theme-accordion__panel p { margin-bottom: 0.75rem; color: var(--color-muted-foreground); line-height: 1.7; }

.theme-product-details-section { margin-top: 2rem; }
.theme-product-details-section__body { font-size: 15px; color: var(--color-muted-foreground); line-height: 1.7; overflow-wrap: break-word; word-break: break-word; }

.related-products-section { padding: 5rem 0; border-top: 1px solid var(--color-border); }
.related-products-section__header { text-align: center; margin-bottom: 3rem; }
.related-products-section__eyebrow { font-family: var(--font-display); font-style: italic; font-size: 1rem; color: var(--color-muted-foreground); margin-bottom: 0.5rem; }
.related-products-section__title { font-size: 1.875rem; }
@media (min-width: 768px) { .related-products-section__title { font-size: 2.25rem; } }
.theme-product-grid--related {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 1.5rem;
}
@media (min-width: 1024px) {
	.theme-product-grid--related {
		grid-template-columns: repeat(4, minmax(0, 1fr));
		gap: 2rem;
	}
}
.theme-product-grid--related .theme-product-card-wrap {
	width: 100%;
	max-width: 100%;
	min-width: 0;
}

/* ======================================================================
   21. WOOCOMMERCE STYLE OVERRIDE (Section 14)
   ====================================================================== */
.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-utility) !important;
	font-size: var(--btn-font-size) !important;
	font-weight: var(--btn-font-weight) !important;
	letter-spacing: var(--btn-letter-spacing) !important;
	text-transform: uppercase !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;
}
/* Card compact quick-add button — overrides the global rules above (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: 40px !important;
	height: 40px !important;
	background-color: var(--color-background) !important;
	color: var(--color-foreground) !important;
}
.theme-product-card .add_to_cart_button.ajax_add_to_cart:hover {
	background-color: var(--color-background) !important;
	color: var(--color-foreground) !important;
	opacity: 1 !important;
}
.single-product .single_add_to_cart_button.loading::after,
.ajax_add_to_cart.loading::after { display: none !important; }
.ajax_add_to_cart.theme-btn-loading { opacity: 0.6 !important; pointer-events: none !important; cursor: wait !important; }

.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; }

.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-utility);
	border-radius: var(--radius);
	padding: 1rem 1.5rem;
	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%, transparent); }

.archive-product-header { padding: 2rem 0 1rem; }
.archive-product-empty { text-align: center; padding: 4rem 0; color: var(--color-muted-foreground); }

/* ======================================================================
   22. CHECKOUT / CART / ACCOUNT BLOCK PAGES (Section 13)
   ====================================================================== */
body.woocommerce-checkout .site-main,
body.woocommerce-cart .site-main,
body.woocommerce-account .site-main {
	padding-top: var(--header-height, 80px);
	padding-bottom: 4rem;
}
body.woocommerce-checkout .container-wide.page-shell,
body.woocommerce-cart .container-wide.page-shell,
body.woocommerce-account .container-wide.page-shell {
	padding-top: 2.5rem;
	padding-bottom: 4rem;
}
/* Checkout host shells — do not compress the block layout */
body.woocommerce-checkout .container-wide.page-shell,
body.woocommerce-checkout .site-main,
body.woocommerce-checkout .entry-content,
body.woocommerce-checkout article,
body.woocommerce-checkout .entry-content.is-layout-constrained,
body.woocommerce-checkout .entry-content.is-layout-flow,
body.woocommerce-checkout .entry-content.is-layout-flex,
.entry-content:has(.wp-block-woocommerce-checkout) {
	max-width: none !important;
	width: 100%;
	box-sizing: border-box;
}
body.woocommerce-checkout .entry-content > *,
.entry-content:has(.wp-block-woocommerce-checkout) > * {
	max-width: none !important;
}
body.woocommerce-checkout .entry-content,
body.woocommerce-cart .entry-content,
body.woocommerce-account .entry-content {
	max-width: 100%;
}

/*
 * Checkout block root — full width of the shell (fixes container-type + flex parent shrink).
 * WooCommerce lays out columns with flex on .wc-block-components-sidebar-layout.
 */
body.woocommerce-checkout .wp-block-woocommerce-checkout,
.entry-content .wp-block-woocommerce-checkout {
	width: 100% !important;
	min-width: 0 !important;
	max-width: min(var(--checkout-max-width), 100%) !important;
	margin-left: auto !important;
	margin-right: auto !important;
	box-sizing: border-box;
	float: none !important;
}

body.woocommerce-cart .wp-block-woocommerce-cart,
body.woocommerce-account .woocommerce {
	max-width: 100%;
	margin-left: 0;
	margin-right: 0;
}

body.woocommerce-checkout .wc-block-components-sidebar-layout,
body.woocommerce-checkout .wc-block-checkout-sidebar-layout,
.entry-content .wc-block-components-sidebar-layout,
.entry-content .wc-block-checkout-sidebar-layout,
body.woocommerce-cart .wc-block-components-sidebar-layout {
	display: flex !important;
	flex-direction: row !important;
	flex-wrap: nowrap !important;
	align-items: flex-start;
	justify-content: flex-start;
	gap: var(--checkout-gap);
	width: 100% !important;
	min-width: 0 !important;
	max-width: 100% !important;
	padding-left: 0;
	padding-right: 0;
	margin-left: 0 !important;
	margin-right: 0 !important;
	box-sizing: border-box;
}

body.woocommerce-checkout .wc-block-components-notices,
.entry-content .wc-block-components-notices {
	width: 100%;
	max-width: 100%;
	margin-left: 0;
	margin-right: 0;
	box-sizing: border-box;
}

body.woocommerce-checkout .wc-block-components-main,
body.woocommerce-checkout .wc-block-checkout__main,
.entry-content .wc-block-components-main,
.entry-content .wc-block-checkout__main {
	flex: 1 1 auto !important;
	min-width: 0 !important;
	width: auto !important;
	max-width: none !important;
	box-sizing: border-box;
}

body.woocommerce-checkout .wc-block-components-sidebar,
body.woocommerce-checkout .wc-block-checkout__sidebar,
.entry-content .wc-block-components-sidebar,
.entry-content .wc-block-checkout__sidebar {
	flex: 0 0 clamp(360px, 32vw, 400px) !important;
	min-width: 360px !important;
	max-width: 400px !important;
	width: auto !important;
	box-sizing: border-box;
}

@media (max-width: 767px) {
	body.woocommerce-checkout .wc-block-components-sidebar-layout,
	body.woocommerce-checkout .wc-block-checkout-sidebar-layout,
	.entry-content .wc-block-components-sidebar-layout,
	.entry-content .wc-block-checkout-sidebar-layout {
		flex-direction: column !important;
		flex-wrap: wrap !important;
	}

	body.woocommerce-checkout .wc-block-components-main,
	body.woocommerce-checkout .wc-block-checkout__main,
	body.woocommerce-checkout .wc-block-components-sidebar,
	body.woocommerce-checkout .wc-block-checkout__sidebar,
	.entry-content .wc-block-components-main,
	.entry-content .wc-block-checkout__main,
	.entry-content .wc-block-components-sidebar,
	.entry-content .wc-block-checkout__sidebar {
		flex: 1 1 100% !important;
		min-width: 0 !important;
		max-width: 100% !important;
		width: 100% !important;
	}
}

body.woocommerce-checkout .wp-block-woocommerce-checkout-order-summary-block,
.entry-content .wp-block-woocommerce-checkout-order-summary-block {
	width: 100%;
	min-width: 0;
	max-width: 100%;
	box-sizing: border-box;
}

body.woocommerce-checkout .wc-block-components-text-input input,
body.woocommerce-checkout .wc-block-components-select select {
	width: 100% !important;
	max-width: none !important;
	font-family: var(--font-utility);
	border: 1px solid var(--color-border);
	border-radius: 6px;
	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,
body.woocommerce-checkout .wc-block-components-text-input input:focus-visible {
	outline: none;
	box-shadow: 0 0 0 2px color-mix(in srgb, var(--color-accent) 50%, transparent);
}
body.woocommerce-checkout .wc-block-components-text-input input { padding: revert; }
body.woocommerce-checkout .wc-block-components-text-input input::placeholder { color: var(--color-muted-foreground); }

body.woocommerce-checkout .wc-block-checkout__sidebar {
	background-color: var(--color-secondary);
	border-radius: var(--card-radius);
	padding: var(--section-padding);
}
body.woocommerce-checkout .wc-block-components-checkout-place-order-button {
	background-color: var(--color-primary) !important;
	color: var(--color-primary-foreground) !important;
	border-radius: var(--btn-radius) !important;
	font-family: var(--font-utility) !important;
	letter-spacing: 0.1em;
	text-transform: uppercase;
}

/* ======================================================================
   23. THANK YOU PAGE (Section 22.8)
   ====================================================================== */
body.theme-thankyou-page { overflow-x: hidden; padding-top: var(--header-height, 80px); }
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 { padding: 0 0 1rem 0; font-size: 1.5rem; }
@media (min-width: 768px) {
	body.theme-thankyou-page .woocommerce-customer-details {
		display: grid;
		grid-template-columns: 1fr 1fr;
		gap: 2rem;
		align-items: start;
	}
	body.theme-thankyou-page .woocommerce-customer-details address { min-width: 0; }
}

/* ======================================================================
   24. RESPONSIVE / FLEX SAFETY
   ====================================================================== */
@media (max-width: 1023px) {
	.site-nav__search-btn.desktop-only { display: none !important; }
}
