/* =====================================================================
   Crystal Crazy Creations — theme.css
   Design tokens ported from the original design (src/index.css / tailwind
   config). Color hex values are injected as CSS variables at runtime via
   wp_add_inline_style() (Section 22.9) from HSL->hex conversions
   (Section 6.1); the fallback values below match the same conversion.
   ===================================================================== */

:root {
	--color-background: #fdf8ec;
	--color-foreground: #251d2d;
	--color-primary: #8339d1;
	--color-primary-foreground: #fdf9ee;
	--color-secondary: #f9dbe6;
	--color-secondary-foreground: #2e2338;
	--color-muted: #f2d9e2;
	--color-muted-foreground: #695a76;
	--color-accent: #fbe9a8;
	--color-accent-foreground: #251d2d;
	--color-border: #f2cfdd;
	--color-rosa: #ea479e;
	--color-blush: #f6c9d9;
	--color-marigold: #fbe587;
	--color-teal: #c6b8e8;
	--color-nopal: #6d21ae;
	--color-sand: #f6d3e2;
	--color-butter: #fbedbf;

	--font-display: 'Fraunces', serif;
	--font-body: 'Inter', sans-serif;
	--font-condensed: 'Anton', Impact, sans-serif;
	--font-script: 'Caveat', cursive;

	--radius: 0.75rem;
	--shadow-soft: 0 4px 20px -4px rgba(60, 40, 70, 0.10);
	--shadow-elevated: 0 8px 40px -8px rgba(60, 40, 70, 0.20);
	--transition-smooth: cubic-bezier(0.4, 0, 0.2, 1);
	--logo-height: 64px;
	--header-height: 96px;

	--btn-radius: 999px;
	--btn-height: 48px;
	--btn-padding: 0.9rem 2.2rem;
	--btn-font-size: 12px;
	--btn-font-weight: 600;
	--btn-letter-spacing: 0.22em;
	--btn-text-transform: uppercase;
	--color-button-text: var(--color-primary-foreground);
	--card-radius: 1rem;
	--section-padding: 2rem;
	--checkout-gap: 2rem;
}

/* ---------------------------------------------------------------------
   Reset / base
   --------------------------------------------------------------------- */
* { box-sizing: border-box; }
html, body { max-width: 100%; overflow-x: clip; }
body {
	margin: 0;
	background-color: var(--color-background);
	color: var(--color-foreground);
	font-family: var(--font-body);
	-webkit-font-smoothing: antialiased;
	line-height: 1.5;
}
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,
[role="button"],
.theme-nav-link,
.theme-nav-list a,
.theme-footer-links a,
.theme-footer-link-btn,
.theme-footer-reach-link,
.theme-category-tile,
.theme-shop-pill,
.theme-service-cta,
.theme-anchor-link,
.theme-cart-btn,
.theme-mobile-menu-btn,
.theme-announcement-close,
.ajax_add_to_cart,
input[type="submit"],
label[for] {
	cursor: pointer;
}
button { font-family: inherit; background: none; border: none; padding: 0; color: inherit; }
img { max-width: 100%; height: auto; display: block; }
input, textarea, select { font-family: inherit; font-size: 1rem; }

img:not(.cover-img):not(.theme-hero-video):not(.theme-product-main-image-wrap img):not(.theme-product-thumb img):not(.theme-cart-item-image img) {
	max-width: 100%;
	height: auto;
}
.cover-img,
.theme-hero-video,
.theme-product-card__image-wrapper img,
.theme-product-main-image-wrap img,
.theme-story-chapter-image img,
.theme-final-cta-image-wrap img,
.theme-cart-item-image img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
}
.object-top { object-position: top; }

.container-wide {
	width: 100%;
	max-width: 80rem; /* Lovable max-w-7xl */
	margin: 0 auto;
	padding: 0 1.5rem; /* px-6 */
	box-sizing: border-box;
}
@media (min-width: 1024px) {
	.container-wide { padding: 0 2rem; } /* lg:px-8 */
}

.editorial-kicker {
	display: inline-block;
	font-family: var(--font-script);
	font-size: 1.5rem;
	line-height: 1;
	margin-bottom: 0.25rem;
}
@media (min-width: 768px) { .editorial-kicker { font-size: 1.875rem; } }
.theme-kicker-teal { color: var(--color-teal); }
.theme-kicker-nopal { color: var(--color-nopal); }

.section-heading {
	font-family: var(--font-condensed);
	text-transform: uppercase;
	line-height: 0.9;
	letter-spacing: 0.01em;
}

.scroll-mt-24 { scroll-margin-top: 6rem; }
.theme-section { }
.theme-section-header { text-align: center; margin-bottom: 2.5rem; }
.theme-section-cta-center { text-align: center; margin-top: 3.5rem; }

/* ---------------------------------------------------------------------
   Reveal animations (Section 2.1)
   --------------------------------------------------------------------- */
.reveal-item {
	opacity: 0;
	transform: translateY(24px);
	transition: opacity 0.6s var(--transition-smooth), transform 0.6s var(--transition-smooth);
}
.reveal-item[data-reveal="fade"] { transform: none; }
.reveal-item.is-visible { opacity: 1; transform: translateY(0); }
body.is-customizer .reveal-item,
.theme-product-card-wrap.reveal-item { opacity: 1; transform: none; }
.theme-product-card-wrap.reveal-item.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
	.reveal-item { transition: none; opacity: 1; transform: none; }
}

.animate-fade-in { animation: themeFadeIn 0.6s var(--transition-smooth) forwards; }
.animate-slide-up { animation: themeSlideUp 0.6s var(--transition-smooth) forwards; }
@keyframes themeFadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes themeSlideUp { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }

/* ---------------------------------------------------------------------
   Buttons
   --------------------------------------------------------------------- */
.theme-btn-primary,
.theme-btn-outline,
.theme-btn-hero-primary,
.theme-btn-hero-outline,
.theme-btn-outline-nopal,
.theme-btn-outline-teal,
.theme-btn-cta-primary,
.theme-btn-cta-secondary {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.5rem;
	border-radius: var(--btn-radius);
	padding: 0.9rem 2rem;
	font-size: 12px;
	letter-spacing: 0.22em;
	text-transform: uppercase;
	font-weight: 600;
	transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease, opacity 0.2s ease;
	border: 1px solid transparent;
	white-space: nowrap;
}
.theme-btn-primary { background: var(--color-foreground); color: var(--color-background); width: 100%; padding: 1rem; border-radius: 999px; }
.theme-btn-primary:hover { opacity: 0.9; }
.theme-btn-outline { border-color: var(--color-border); background: transparent; color: var(--color-foreground); }
.theme-btn-outline:hover { border-color: var(--color-foreground); }

.theme-btn-hero-primary { background: rgba(255,255,255,0.95); color: var(--color-foreground); text-transform: uppercase; }
.theme-btn-hero-primary:hover { background: #fff; }
.theme-btn-hero-outline { border-color: rgba(255,255,255,0.8); color: #fff; }
.theme-btn-hero-outline:hover { background: rgba(255,255,255,0.15); border-color: #fff; }

.theme-btn-outline-nopal { border-color: var(--color-nopal); color: var(--color-nopal); }
.theme-btn-outline-nopal:hover { background: var(--color-nopal); color: var(--color-background); }
.theme-btn-outline-teal { border-color: var(--color-teal); color: var(--color-teal); }
.theme-btn-outline-teal:hover { background: var(--color-teal); color: var(--color-background); }

.theme-btn-cta-primary { background: var(--color-background); color: var(--color-foreground); border-color: var(--color-foreground); }
.theme-btn-cta-primary:hover { background: var(--color-foreground); color: var(--color-background); }
.theme-btn-cta-secondary { color: var(--color-foreground); border-color: color-mix(in srgb, var(--color-foreground) 60%, transparent); background: transparent; }
.theme-btn-cta-secondary:hover { border-color: var(--color-foreground); background: color-mix(in srgb, var(--color-foreground) 10%, transparent); }

/* ---------------------------------------------------------------------
   Announcement bar
   --------------------------------------------------------------------- */
.theme-announcement-bar { position: relative; background: var(--color-nopal); color: var(--color-background); }
.theme-announcement-inner { padding: 0.5rem 0; text-align: center; }
.theme-announcement-text { font-size: 13px; letter-spacing: 0.18em; text-transform: uppercase; }
.theme-announcement-close {
	position: absolute; right: 0.75rem; top: 50%; transform: translateY(-50%);
	padding: 0.25rem; opacity: 0.7; color: inherit;
}
.theme-announcement-close:hover { opacity: 1; }

/* ---------------------------------------------------------------------
   Header
   --------------------------------------------------------------------- */
.site-header {
	position: sticky; top: 0; left: 0; right: 0; z-index: 50;
	border-top: 2px solid color-mix(in srgb, var(--color-rosa) 40%, transparent);
	background: transparent;
	border-bottom: 1px solid transparent;
	transition: background-color 0.3s ease, border-color 0.3s ease;
}
body.admin-bar .site-header { top: 32px; }
@media screen and (max-width: 782px) {
	body.admin-bar .site-header { top: 46px; }
}
.site-header.is-solid,
.site-header.theme-header-scrolled {
	background: color-mix(in srgb, var(--color-background) 95%, transparent);
	backdrop-filter: blur(6px);
	border-bottom-color: color-mix(in srgb, var(--color-border) 60%, transparent);
}
.theme-nav-row { position: relative; display: flex; align-items: center; justify-content: space-between; height: 80px; }
@media (min-width: 768px) { .theme-nav-row { height: 96px; } }

.theme-nav-group { display: flex; align-items: center; flex: 1; }
.theme-nav-left { display: none; gap: 2.5rem; }
@media (min-width: 1024px) { .theme-nav-left { display: flex; } }
.theme-nav-right { justify-content: flex-end; gap: 1.5rem; }
.theme-nav-right-links { display: none; }
@media (min-width: 1024px) { .theme-nav-right-links { display: flex; } }

.theme-nav-list { display: flex; gap: 2.5rem; list-style: none; margin: 0; padding: 0; }
.theme-nav-link, .theme-nav-list a {
	font-size: 13px; font-weight: 400; color: color-mix(in srgb, var(--color-foreground) 80%, transparent);
	transition: color 0.2s ease;
}
.theme-nav-link:hover, .theme-nav-list a:hover { color: var(--color-foreground); }

.theme-mobile-menu-btn { display: inline-flex; padding: 0.5rem; margin-left: -0.5rem; color: var(--color-foreground); }
@media (min-width: 1024px) { .theme-mobile-menu-btn { display: none; } }

.theme-site-logo { position: absolute; left: 50%; transform: translateX(-50%); display: flex; align-items: center; }
.site-logo-img { height: var(--logo-height) !important; width: auto !important; display: block; object-fit: contain; }
.site-logo-text { font-family: var(--font-display); font-size: 1.5rem; line-height: var(--logo-height); display: block; color: var(--color-foreground); }

.theme-cart-btn {
	position: relative; display: inline-flex; align-items: center; justify-content: center;
	width: 36px; height: 36px; border-radius: 999px; border: 1px solid color-mix(in srgb, var(--color-foreground) 30%, transparent);
	font-size: 13px; font-weight: 500; transition: border-color 0.2s ease; color: var(--color-foreground);
	line-height: 1;
}
.theme-cart-btn:hover { border-color: var(--color-foreground); }
.theme-cart-count {
	display: inline-flex; align-items: center; justify-content: center;
	min-width: 1em; color: var(--color-foreground); font-variant-numeric: tabular-nums;
}

.theme-mobile-menu { display: none; }
.theme-mobile-menu.is-open { display: block; border-top: 1px solid color-mix(in srgb, var(--color-border) 60%, transparent); padding: 1rem 0; }
.theme-mobile-nav-list {
	list-style: none; margin: 0; padding: 0;
	display: flex; flex-direction: column; align-items: stretch; gap: 0.25rem;
}
.theme-mobile-nav-list > li { width: 100%; }
.theme-mobile-nav-list a,
.theme-mobile-nav-list .theme-nav-link {
	display: block; width: 100%; padding: 0.75rem 0; font-size: 0.875rem; text-align: left;
}

/* ---------------------------------------------------------------------
   Hero
   --------------------------------------------------------------------- */
body.theme-no-hero .site-main { padding-top: var(--header-height); }
.theme-hero { background: var(--color-background); }
.theme-hero-media-wrap { position: relative; width: 100%; height: 92vh; min-height: 620px; overflow: hidden; }
.theme-hero-tint { position: absolute; inset: 0; background: color-mix(in srgb, var(--color-teal) 35%, transparent); mix-blend-mode: multiply; pointer-events: none; }
.theme-hero-overlay { position: absolute; inset: 0; background: color-mix(in srgb, var(--color-foreground) 25%, transparent); pointer-events: none; }
.theme-hero-content {
	position: relative; height: 100%; display: flex; flex-direction: column; align-items: center;
	justify-content: center; text-align: center; max-width: 64rem; margin: 0 auto; padding: 0 0.5rem;
}
.theme-hero-badge {
	font-family: var(--font-script); color: var(--color-blush); font-size: 2.25rem; line-height: 1; margin-bottom: -0.5rem;
	filter: drop-shadow(0 2px 6px rgba(0,0,0,0.25));
}
@media (min-width: 768px) { .theme-hero-badge { font-size: 3.75rem; margin-bottom: -1rem; } }
.theme-hero-title {
	font-family: var(--font-condensed); text-transform: uppercase; color: var(--color-butter); line-height: 0.86;
	letter-spacing: 0.01em; font-size: clamp(3rem, 11vw, 9rem); margin-top: 0.5rem;
}
.theme-hero-subtitle { margin-top: 1.25rem; font-family: var(--font-display); font-style: italic; color: rgba(255,255,255,0.9); font-size: 1.125rem; }
@media (min-width: 768px) { .theme-hero-subtitle { font-size: 1.5rem; } }
.theme-hero-actions { margin-top: 2.25rem; display: flex; flex-direction: column; align-items: center; gap: 1rem; }
@media (min-width: 640px) { .theme-hero-actions { flex-direction: row; } }
.theme-hero-actions .theme-btn-hero-outline svg { margin-left: 0.25rem; }

.theme-scallop { position: absolute; inset-inline: 0; bottom: 0; z-index: 10; height: 32px; pointer-events: none; }
.theme-scallop-up {
	background-color: var(--color-background);
	-webkit-mask: radial-gradient(32px at 50% 100%, #000 99%, transparent 100%) 0 0 / 64px 32px repeat-x;
	mask: radial-gradient(32px at 50% 100%, #000 99%, transparent 100%) 0 0 / 64px 32px repeat-x;
}

/* ---------------------------------------------------------------------
   Category strip
   --------------------------------------------------------------------- */
.theme-categories-section { padding: 4rem 0 5rem; }
.theme-categories-heading { font-size: 2.25rem; }
@media (min-width: 768px) { .theme-categories-heading { font-size: 3.75rem; } }
.theme-category-row {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	align-items: flex-start;
	gap: 1.25rem 1rem;
	padding: 1.5rem 0 1rem;
	width: 100%;
	max-width: 100%;
	box-sizing: border-box;
	overflow: visible;
}
@media (min-width: 640px) {
	.theme-category-row { gap: 1.5rem 1.25rem; }
}
@media (min-width: 1024px) {
	.theme-category-row { gap: 2rem 2.5rem; }
}
.theme-category-tile {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 0.75rem;
	flex: 0 1 calc(33.333% - 0.75rem);
	width: calc(33.333% - 0.75rem);
	max-width: 10rem;
	min-width: 0;
	box-sizing: border-box;
}
@media (min-width: 640px) {
	.theme-category-tile {
		flex: 0 1 calc(20% - 1.1rem);
		width: calc(20% - 1.1rem);
	}
}
.theme-category-tile-circle {
	width: 100%;
	max-width: 5.5rem;
	aspect-ratio: 1 / 1;
	height: auto;
	border-radius: 999px;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: transform 0.3s ease;
	flex-shrink: 0;
}
.theme-category-tile:hover .theme-category-tile-circle { transform: scale(1.05); }
@media (min-width: 640px) {
	.theme-category-tile-circle { max-width: 7rem; }
}
@media (min-width: 768px) {
	.theme-category-tile-circle { max-width: 9rem; }
}
@media (min-width: 1024px) {
	.theme-category-tile-circle { max-width: 10rem; }
}
.theme-category-tile-circle img {
	width: 45%;
	height: 45%;
	object-fit: contain;
}
.theme-category-tile[data-cat-tone="0"] .theme-category-tile-circle { background: color-mix(in srgb, var(--color-marigold) 80%, transparent); }
.theme-category-tile[data-cat-tone="1"] .theme-category-tile-circle { background: color-mix(in srgb, var(--color-teal) 70%, transparent); }
.theme-category-tile[data-cat-tone="2"] .theme-category-tile-circle { background: color-mix(in srgb, var(--color-blush) 80%, transparent); }
.theme-category-tile[data-cat-tone="3"] .theme-category-tile-circle { background: color-mix(in srgb, var(--color-nopal) 60%, transparent); }
.theme-category-tile[data-cat-tone="4"] .theme-category-tile-circle { background: color-mix(in srgb, var(--color-accent) 60%, transparent); }
.theme-category-tile-label {
	font-size: 10px;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: color-mix(in srgb, var(--color-foreground) 85%, transparent);
	text-align: center;
	line-height: 1.3;
	max-width: 100%;
	overflow-wrap: break-word;
	word-break: break-word;
}
@media (min-width: 768px) {
	.theme-category-tile-label { font-size: 11px; letter-spacing: 0.18em; }
}
@media (min-width: 1024px) {
	.theme-category-tile-label { font-size: 13px; }
}
.theme-category-tile.is-active .theme-category-tile-label,
.theme-category-tile:hover .theme-category-tile-label { color: var(--color-foreground); }

/* ---------------------------------------------------------------------
   Product cards / grid (shared across all contexts — Section 31.13)
   --------------------------------------------------------------------- */
.theme-product-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 1.5rem;
	align-items: stretch;
}
@media (min-width: 768px) { .theme-product-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2rem; } }
.theme-featured-products { grid-template-columns: repeat(1, minmax(0, 1fr)); }
@media (min-width: 768px) { .theme-featured-products { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 3rem; } }
.theme-related-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 1024px) { .theme-related-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 2rem; } }

.theme-product-card-wrap { display: flex; flex-direction: column; height: 100%; }
.theme-product-card { position: relative; display: flex; flex-direction: column; height: 100%; }
.theme-product-card > .theme-card-link { position: absolute; inset: 0; z-index: 2; pointer-events: auto; }
.theme-product-card *:not(.theme-card-link) { pointer-events: none; }
.theme-product-card__quick-add,
.theme-product-card__info { pointer-events: auto; }

.theme-product-card__image-wrapper {
	position: relative; aspect-ratio: 1 / 1; background: #fff; border-radius: 0.75rem; overflow: hidden;
	margin-bottom: 1.25rem; padding: 0.5rem; border: 1px solid color-mix(in srgb, var(--color-foreground) 5%, transparent);
	box-shadow: 0 10px 30px -16px rgba(40,30,20,0.4);
}
.theme-product-card:hover .theme-product-card__image-wrapper img { transform: scale(1.04); }
.theme-product-card__image-wrapper img { transition: transform 0.7s var(--transition-smooth); border-radius: 0.5rem; }

.theme-product-badge {
	position: absolute; top: 1rem; right: 1rem; z-index: 3; padding: 0.25rem 0.75rem; border-radius: 0.375rem;
	font-size: 11px; font-weight: 500; letter-spacing: 0.02em; background: var(--color-foreground); color: var(--color-background);
	pointer-events: none;
}

.theme-product-card__quick-add {
	position: absolute; inset-inline: 1rem; bottom: 1rem; z-index: 3; padding: 0.75rem; border-radius: 999px;
	background: var(--color-teal); color: var(--color-background); border: 1px solid var(--color-teal);
	font-size: 11px; letter-spacing: 0.22em; text-transform: uppercase; font-weight: 600; text-align: center;
	opacity: 0; transform: translateY(8px); transition: opacity 0.3s ease, transform 0.3s ease, background-color 0.2s ease, color 0.2s ease;
}
.theme-product-card:hover .theme-product-card__quick-add { opacity: 1; transform: translateY(0); }
.theme-product-card__quick-add:hover { background: var(--color-background); color: var(--color-teal); }

.theme-product-card__info { padding: 0 0.25rem; }
.theme-product-card__category { font-size: 12px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--color-muted-foreground); margin-bottom: 0.375rem; }
.theme-product-card__title {
	font-family: var(--font-display); font-weight: 500; font-size: 1rem; line-height: 1.35; color: var(--color-foreground);
	transition: color 0.3s ease; margin-bottom: 0.375rem;
}
@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: color-mix(in srgb, var(--color-foreground) 85%, transparent); }
.theme-product-card__price .woocommerce-Price-amount { font-family: var(--font-body); }

/* ---------------------------------------------------------------------
   Featured / Shop section shells
   --------------------------------------------------------------------- */
.theme-featured-section, .theme-shop-section { padding: 4rem 0 6rem; }
@media (min-width: 768px) {
	.theme-featured-section, .theme-shop-section { padding: 4rem 0 6rem; }
}
/* Story sits flush against the services stripe (no white gap), like Lovable. */
.theme-story-section { padding: 0; margin: 0; }
.theme-featured-heading, .theme-shop-heading { font-size: 2.25rem; margin-bottom: 2.5rem; }
@media (min-width: 768px) { .theme-featured-heading, .theme-shop-heading { font-size: 3.75rem; } }
@media (min-width: 1024px) { .theme-featured-heading, .theme-shop-heading { font-size: 4.5rem; } }

.theme-shop-search { position: relative; max-width: 24rem; margin: 0 auto 2rem; }
.theme-shop-search svg { position: absolute; left: 0; top: 50%; transform: translateY(-50%); color: var(--color-muted-foreground); }
.theme-shop-search input {
	width: 100%; padding: 0.5rem 0 0.5rem 1.75rem; background: transparent; border: none; border-bottom: 1px solid var(--color-border);
	font-size: 1rem; color: var(--color-foreground); transition: border-color 0.2s ease;
}
.theme-shop-search input:focus { outline: none; border-color: var(--color-foreground); }

.theme-shop-category-pills {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 0.5rem;
	margin-bottom: 1rem;
	overflow: visible;
	width: 100%;
	max-width: 100%;
	box-sizing: border-box;
}
.theme-shop-pill {
	flex: 0 0 auto;
	padding: 0.4rem 0.9rem;
	font-size: 11px;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	border-radius: 999px;
	border: 1px solid var(--color-border);
	background: transparent;
	color: var(--color-foreground);
	transition: all 0.3s ease;
}
@media (min-width: 768px) {
	.theme-shop-pill {
		padding: 0.5rem 1.25rem;
		font-size: 12px;
		letter-spacing: 0.2em;
	}
}
.theme-shop-pill:hover { border-color: var(--color-rosa); color: var(--color-rosa); }
.theme-shop-pill.is-active { background: var(--color-teal); color: var(--color-background); border-color: var(--color-teal); }

.theme-shop-price-filter { display: flex; flex-direction: column; align-items: center; gap: 0.75rem; }
.theme-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;
}
.theme-shop-price-toggle:hover { color: var(--color-foreground); }
.theme-shop-price-toggle svg { transition: transform 0.3s ease; }
.theme-shop-price-panel { width: 100%; max-width: 24rem; overflow: hidden; max-height: 0; opacity: 0; transition: max-height 0.3s var(--transition-smooth), opacity 0.3s var(--transition-smooth); }
.theme-shop-price-panel.is-open { max-height: 200px; opacity: 1; }
.theme-shop-price-labels { display: flex; justify-content: space-between; font-size: 0.875rem; color: var(--color-muted-foreground); margin-top: 0.5rem; }

/* Dual-handle price range (Section 31.4 — overlapping full-width inputs) */
.price-range-wrapper { position: relative; height: 1.5rem; padding: 0 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.5rem; right: 0.5rem; background: var(--color-border); }
.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: 18px; height: 18px; border-radius: 50%; background: var(--color-background); border: 2px solid var(--color-primary); cursor: pointer; margin-top: -1px; }
.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::-moz-range-track { background: transparent; }
.range-input--max { z-index: 3; }
.range-input--min { z-index: 4; }

.theme-shop-empty { text-align: center; padding: 5rem 0; color: var(--color-muted-foreground); }

/* ---------------------------------------------------------------------
   Our Story accordion
   --------------------------------------------------------------------- */
.theme-story-header-wrap { padding-top: 5rem; padding-bottom: 1rem; } /* pt-20 pb-4 */
@media (min-width: 768px) { .theme-story-header-wrap { padding-top: 7rem; padding-bottom: 1.5rem; } } /* md:pt-28 md:pb-6 */
.theme-story-heading { font-size: 2.25rem; }
@media (min-width: 768px) { .theme-story-heading { font-size: 3.75rem; } }

.theme-story-accordion { display: flex; flex-direction: column; width: 100%; }
.theme-story-chapter { border-bottom: 1px solid color-mix(in srgb, var(--color-foreground) 10%, transparent); scroll-margin-top: 6rem; position: relative; }
.theme-story-chapter-teal { background: var(--color-teal); color: var(--color-background); }
.theme-story-chapter-rosa { background: var(--color-rosa); color: var(--color-background); }

.theme-story-rail { display: none; }
.theme-story-chapter-toggle { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; text-align: left; padding: 1.75rem 1.25rem; }
@media (min-width: 640px) { .theme-story-chapter-toggle { padding: 1.75rem 1.5rem; } }
.theme-story-chapter-head { display: flex; align-items: baseline; gap: 1.25rem; min-width: 0; }
.theme-story-chapter-num { font-family: var(--font-condensed); font-size: 1.5rem; opacity: 0.7; flex-shrink: 0; }
.theme-story-chapter-kicker { display: block; font-family: var(--font-script); font-size: 1.5rem; line-height: 1; margin-bottom: 0.25rem; opacity: 0.85; }
.theme-story-chapter-title { display: block; font-family: var(--font-condensed); text-transform: uppercase; font-size: 2.25rem; line-height: 0.9; }
.theme-story-chapter-plus {
	flex-shrink: 0; width: 44px; height: 44px; border-radius: 999px; border: 1px solid color-mix(in srgb, var(--color-background) 40%, transparent);
	display: flex; align-items: center; justify-content: center; transition: transform 0.3s ease;
}
.theme-story-chapter.is-open .theme-story-chapter-plus { transform: rotate(135deg); }

.theme-story-chapter-panel { display: none; }
.theme-story-chapter.is-open .theme-story-chapter-panel {
	display: grid; grid-template-columns: 1fr; gap: 2.5rem; padding: 0 1.25rem 3.5rem; align-items: center;
}
@media (min-width: 640px) {
	.theme-story-chapter.is-open .theme-story-chapter-panel { padding: 0 1.5rem 3.5rem; }
}

.theme-story-chapter-image { position: relative; aspect-ratio: 4/3; min-height: 260px; height: 34vh; border-radius: 0.75rem; overflow: hidden; background: #f2ebc5; }
.theme-story-chapter-num-inline, .theme-story-chapter-kicker-inline, .theme-story-chapter-title-inline { display: block; }
.theme-story-chapter-num-inline { font-family: var(--font-condensed); font-size: 1.25rem; opacity: 0.7; margin-bottom: 0.25rem; }
.theme-story-chapter-kicker-inline { font-family: var(--font-script); font-size: 1.5rem; line-height: 1; margin-bottom: 0.75rem; opacity: 0.85; }
@media (min-width: 768px) { .theme-story-chapter-kicker-inline { font-size: 1.875rem; } }
.theme-story-chapter-title-inline { font-family: var(--font-condensed); text-transform: uppercase; font-size: 2.25rem; line-height: 0.9; margin-bottom: 2rem; }
.theme-story-lead { font-family: var(--font-display); font-size: 1.5rem; line-height: 1.25; margin-bottom: 1.5rem; max-width: 42rem; }
.theme-story-body { font-family: var(--font-body); line-height: 1.7; opacity: 0.9; max-width: 42rem; margin-bottom: 1rem; }
.theme-story-quote { font-family: var(--font-display); font-style: italic; font-size: 1.25rem; line-height: 1.4; margin-bottom: 1.5rem; max-width: 42rem; }
.theme-story-cta { margin-top: 2rem; font-family: var(--font-display); font-size: 12px; letter-spacing: 0.28em; text-transform: uppercase; font-weight: 500; }
.theme-underline-link { text-decoration: underline; text-underline-offset: 4px; }

.theme-story-memory { margin-top: 2rem; padding-top: 1.5rem; border-top: 1px solid color-mix(in srgb, var(--color-background) 25%, transparent); display: flex; gap: 1.25rem; align-items: flex-start; max-width: 42rem; }
.theme-story-memory-photo { width: 7rem; flex-shrink: 0; aspect-ratio: 3/4; border-radius: 0.5rem; background: #f2ebc5; display: flex; align-items: center; justify-content: center; text-align: center; padding: 0 0.5rem; }
.theme-story-memory-photo span { font-family: var(--font-script); font-size: 1rem; color: color-mix(in srgb, var(--color-foreground) 70%, transparent); line-height: 1.2; }
.theme-story-memory-kicker { display: block; font-family: var(--font-script); font-size: 1.125rem; line-height: 1; margin-bottom: 0.25rem; opacity: 0.8; }
.theme-story-memory-title { font-family: var(--font-condensed); text-transform: uppercase; font-size: 1.5rem; line-height: 0.95; margin-bottom: 0.25rem; }
.theme-story-memory-date { display: block; font-size: 10px; letter-spacing: 0.28em; text-transform: uppercase; font-family: var(--font-display); font-weight: 500; margin-bottom: 0.75rem; opacity: 0.75; }
.theme-story-memory-quote { font-family: var(--font-display); font-style: italic; font-size: 1rem; line-height: 1.35; }

/* Horizontal accordion (xl+), matches Lovable StoryAccordion */
@media (min-width: 1280px) {
	.theme-story-accordion {
		flex-direction: row;
		height: 1100px;
		overflow: hidden;
	}
	.theme-story-chapter {
		flex: 0 0 120px;
		height: 100%;
		border-bottom: none;
		border-left: 1px solid color-mix(in srgb, var(--color-foreground) 10%, transparent);
		overflow: hidden;
		transition: flex-grow 0.55s var(--transition-smooth), flex-basis 0.55s var(--transition-smooth);
	}
	.theme-story-chapter.is-open {
		flex-grow: 1;
		flex-basis: 0;
		cursor: default;
	}
	.theme-story-chapter:not(.is-open) { cursor: pointer; }
	.theme-story-chapter-toggle { display: none; }
	.theme-story-rail {
		display: none;
		position: absolute; inset: 0; width: 120px;
		flex-direction: column; align-items: center; justify-content: space-between;
		padding: 2rem 0; color: inherit;
	}
	.theme-story-chapter:not(.is-open) .theme-story-rail { display: flex; }
	.theme-story-rail-num { font-family: var(--font-condensed); font-size: 1.875rem; line-height: 1; opacity: 0.7; }
	.theme-story-rail-title {
		font-family: var(--font-condensed); text-transform: uppercase;
		font-size: 2.5rem; line-height: 0.9; white-space: nowrap;
		writing-mode: vertical-rl; transform: rotate(180deg);
	}
	@media (min-width: 1400px) {
		.theme-story-rail-title { font-size: 3rem; }
	}
	.theme-story-chapter:not(.is-open) .theme-story-chapter-panel { display: none; }
	.theme-story-chapter.is-open .theme-story-chapter-panel {
		display: flex; align-items: stretch; height: 100%;
		padding: 0; gap: 0; grid-template-columns: none; min-width: 760px;
	}
	.theme-story-chapter-image {
		width: 44%; height: 100%; min-height: 0; aspect-ratio: auto; border-radius: 0; flex-shrink: 0;
	}
	.theme-story-chapter-copy {
		flex: 1; display: flex; flex-direction: column; justify-content: center;
		padding: 2.5rem 3rem; overflow-y: auto;
	}
	@media (min-width: 1400px) {
		.theme-story-chapter-copy { padding: 2.5rem 4rem; }
	}
	.theme-story-chapter-title-inline { font-size: 3rem; }
}

/* ---------------------------------------------------------------------
   Services (What We Make)
   --------------------------------------------------------------------- */
.theme-services-section-wrap { position: relative; scroll-margin-top: 6rem; }
.theme-stripe-band {
	/* Lovable candy stripes: hsl(45 88% 78%) / hsl(45 80% 85%) */
	--stripe-a: 45 88% 78%;
	--stripe-b: 45 80% 85%;
	background-image: repeating-linear-gradient(
		90deg,
		hsl(var(--stripe-a)) 0,
		hsl(var(--stripe-a)) 72px,
		hsl(var(--stripe-b)) 72px,
		hsl(var(--stripe-b)) 144px
	);
}
.theme-services-section {
	padding-block: 5rem;
	padding-inline: 1.75rem;
}
@media (min-width: 768px) {
	.theme-services-section {
		padding-block: 7rem;
		padding-inline: 1.5rem;
	}
}
@media (min-width: 1024px) {
	.theme-services-section { padding-inline: 2rem; }
}
.theme-services-section .theme-section-header { margin-bottom: 4rem; }
@media (min-width: 768px) {
	.theme-services-section .theme-section-header { margin-bottom: 5rem; }
}
.theme-services-heading { font-size: 3rem; letter-spacing: 0.01em; }
@media (min-width: 768px) { .theme-services-heading { font-size: 4.5rem; } }
@media (min-width: 1024px) { .theme-services-heading { font-size: 6rem; } }
.theme-services-grid { display: grid; grid-template-columns: 1fr; gap: 1.5rem; max-width: 80rem; margin: 0 auto; }
@media (min-width: 640px) { .theme-services-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .theme-services-grid { grid-template-columns: repeat(5, 1fr); gap: 2rem; } }
.theme-service-card {
	display: flex; flex-direction: column; text-align: center; background: var(--color-background); border-radius: 1rem;
	padding: 2rem; border: 1px solid color-mix(in srgb, var(--color-foreground) 5%, transparent);
	transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.theme-service-card:hover { transform: translateY(-4px); box-shadow: 0 12px 30px -15px rgba(0,0,0,0.2); }
.theme-service-icon-wrap { display: flex; align-items: center; justify-content: center; margin: 0 auto 1.5rem; width: 5rem; height: 5rem; border-radius: 999px; }
.theme-service-icon-wrap img { width: 3rem; height: 3rem; object-fit: contain; }
.theme-tone-0 { background: color-mix(in srgb, var(--color-teal) 70%, transparent); }
.theme-tone-1 { background: color-mix(in srgb, var(--color-nopal) 60%, transparent); }
.theme-tone-2 { background: color-mix(in srgb, var(--color-rosa) 80%, transparent); }
.theme-tone-3 { background: color-mix(in srgb, var(--color-marigold) 80%, transparent); }
.theme-tone-4 { background: color-mix(in srgb, var(--color-accent) 60%, transparent); }
.theme-service-title { font-family: var(--font-body); font-size: 12px; letter-spacing: 0.28em; text-transform: uppercase; font-weight: 600; margin-bottom: 0.75rem; }
.theme-service-desc { font-size: 0.875rem; color: var(--color-muted-foreground); line-height: 1.6; margin-bottom: 1.5rem; }
.theme-service-cta { margin-top: auto; font-size: 11px; letter-spacing: 0.24em; text-transform: uppercase; font-weight: 600; color: var(--color-nopal); transition: color 0.2s ease; }
.theme-service-cta:hover { color: var(--color-foreground); }

/* ---------------------------------------------------------------------
   FAQ
   --------------------------------------------------------------------- */
.theme-faq-section { padding-block: 5rem 7rem; }
.theme-faq-section > .container-wide {
	padding-inline: 1.75rem;
}
@media (min-width: 768px) {
	.theme-faq-section > .container-wide { padding-inline: 1.5rem; }
}
@media (min-width: 1024px) {
	.theme-faq-section > .container-wide { padding-inline: 2rem; }
}
.theme-faq-header { max-width: 42rem; margin-bottom: 2.5rem; }
.theme-faq-heading { font-size: 2.25rem; margin-bottom: 1.25rem; }
@media (min-width: 768px) { .theme-faq-heading { font-size: 3.75rem; } }
@media (min-width: 1024px) { .theme-faq-heading { font-size: 4.5rem; } }
.theme-faq-intro { font-size: 1rem; color: color-mix(in srgb, var(--color-foreground) 75%, transparent); }
@media (min-width: 768px) { .theme-faq-intro { font-size: 1.125rem; } }

.theme-faq-tabs {
	display: flex;
	flex-wrap: wrap;
	justify-content: flex-start;
	gap: 0.625rem;
	margin-bottom: 2.5rem;
	overflow: visible;
	width: 100%;
	max-width: 100%;
}
@media (min-width: 768px) {
	.theme-faq-tabs { overflow: visible; }
}
.theme-faq-tab {
	flex-shrink: 0; border-radius: 999px; border: 1px solid; 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;
}
.theme-faq-tab-teal { border-color: var(--color-teal); }
.theme-faq-tab-rosa { border-color: var(--color-rosa); }
.theme-faq-tab-blush { border-color: var(--color-blush); }
.theme-faq-tab-nopal { border-color: var(--color-nopal); }
.theme-faq-tab-marigold { border-color: var(--color-marigold); }
.theme-faq-tab-teal.is-active { background: var(--color-teal); color: var(--color-background); }
.theme-faq-tab-rosa.is-active { background: var(--color-rosa); color: var(--color-foreground); }
.theme-faq-tab-blush.is-active { background: var(--color-blush); color: var(--color-foreground); }
.theme-faq-tab-nopal.is-active { background: var(--color-nopal); color: var(--color-background); }
.theme-faq-tab-marigold.is-active { background: var(--color-marigold); color: var(--color-foreground); }

.theme-faq-panel { border-top: 1px solid color-mix(in srgb, var(--color-foreground) 15%, transparent); }
.theme-faq-item { border-bottom: 1px solid color-mix(in srgb, var(--color-foreground) 15%, transparent); }
.theme-faq-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) { .theme-faq-question { padding: 1.5rem 0; } }
.theme-faq-question-text { font-family: var(--font-display); font-size: 1.125rem; line-height: 1.35; }
@media (min-width: 768px) { .theme-faq-question-text { font-size: 1.25rem; } }
.theme-faq-question-icon {
	flex-shrink: 0; width: 36px; height: 36px; border-radius: 999px; border: 1px solid; display: flex; align-items: center;
	justify-content: center; transition: all 0.2s ease;
}
.theme-faq-panel-teal .theme-faq-question-icon { border-color: var(--color-teal); color: var(--color-teal); }
.theme-faq-panel-rosa .theme-faq-question-icon { border-color: var(--color-rosa); color: var(--color-foreground); }
.theme-faq-panel-blush .theme-faq-question-icon { border-color: var(--color-blush); color: var(--color-foreground); }
.theme-faq-panel-nopal .theme-faq-question-icon { border-color: var(--color-nopal); color: var(--color-nopal); }
.theme-faq-panel-marigold .theme-faq-question-icon { border-color: var(--color-marigold); color: var(--color-foreground); }
.theme-faq-item.is-open .theme-faq-panel-teal .theme-faq-question-icon,
.theme-faq-panel-teal .theme-faq-item.is-open .theme-faq-question-icon { background: var(--color-teal); color: var(--color-background); }
.theme-faq-panel-rosa .theme-faq-item.is-open .theme-faq-question-icon { background: var(--color-rosa); }
.theme-faq-panel-blush .theme-faq-item.is-open .theme-faq-question-icon { background: var(--color-blush); }
.theme-faq-panel-nopal .theme-faq-item.is-open .theme-faq-question-icon { background: var(--color-nopal); color: var(--color-background); }
.theme-faq-panel-marigold .theme-faq-item.is-open .theme-faq-question-icon { background: var(--color-marigold); }
.theme-faq-item.is-open .theme-faq-question-icon svg { transform: rotate(180deg); }
.theme-faq-question-icon svg { transition: transform 0.2s ease; }

.theme-faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.28s ease; }
.theme-faq-item.is-open .theme-faq-answer { max-height: 600px; }
.theme-faq-answer p { color: color-mix(in srgb, var(--color-foreground) 75%, transparent); font-size: 1rem; line-height: 1.7; padding-bottom: 1.5rem; padding-right: 3rem; max-width: 48rem; }
@media (min-width: 768px) { .theme-faq-answer p { font-size: 17px; } }

/* ---------------------------------------------------------------------
   Testimonials (matches Lovable TestimonialsCarousel)
   --------------------------------------------------------------------- */
.theme-testimonials-section { background: var(--color-background); padding: 4rem 0; overflow: hidden; }
@media (min-width: 768px) { .theme-testimonials-section { padding: 6rem 0; } }
.theme-testimonials-header { text-align: center; margin-bottom: 3rem; }
@media (min-width: 768px) { .theme-testimonials-header { margin-bottom: 4rem; } }
.theme-testimonials-count {
	font-size: 11px; letter-spacing: 0.28em; text-transform: uppercase; font-weight: 600;
	color: color-mix(in srgb, var(--color-foreground) 70%, transparent); margin-bottom: 0.5rem;
}
.theme-testimonials-stars { display: flex; justify-content: center; gap: 0.25rem; margin-bottom: 1.25rem; color: var(--color-marigold); }
.theme-testimonials-stars svg { fill: currentColor; }
.theme-testimonials-heading { font-size: 2.25rem; color: var(--color-foreground); }
@media (min-width: 768px) { .theme-testimonials-heading { font-size: 3.75rem; } }
@media (min-width: 1024px) { .theme-testimonials-heading { font-size: 4.5rem; } }

.theme-testimonials-track-wrap { position: relative; --tt-per-view: 4; }
.theme-testimonials-track-viewport { overflow: hidden; width: 100%; }
.theme-testimonials-track {
	display: flex;
	width: 100%;
	transition: transform 0.6s var(--transition-smooth);
	will-change: transform;
}
.theme-testimonial-slide {
	flex: 0 0 calc(100% / var(--tt-per-view));
	width: calc(100% / var(--tt-per-view));
	max-width: calc(100% / var(--tt-per-view));
	padding: 0 0.75rem;
	box-sizing: border-box;
}
.theme-testimonial-card {
	border-radius: 1rem; /* rounded-2xl */
	padding: 1.5rem; /* p-6 */
	height: 100%;
	min-height: 240px;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	color: var(--color-foreground);
	box-sizing: border-box;
}
@media (min-width: 768px) {
	.theme-testimonial-card { padding: 2rem; } /* md:p-8 */
}
.theme-tone-bg-sand { background: var(--color-sand); }
.theme-tone-bg-blush { background: var(--color-blush); }
.theme-tone-bg-marigold { background: color-mix(in srgb, var(--color-marigold) 60%, transparent); }
.theme-tone-bg-teal { background: color-mix(in srgb, var(--color-teal) 45%, transparent); }
.theme-tone-bg-butter { background: var(--color-butter); }
.theme-tone-bg-rosa { background: color-mix(in srgb, var(--color-rosa) 20%, transparent); }

.theme-testimonial-quote {
	font-family: var(--font-display);
	font-style: italic;
	font-size: 1.125rem; /* text-lg */
	line-height: 1.375; /* leading-snug */
	color: var(--color-foreground);
	margin: 0;
}
@media (min-width: 768px) {
	.theme-testimonial-quote { font-size: 1.25rem; } /* md:text-xl */
}
.theme-testimonial-meta { margin-top: 1.5rem; }
.theme-testimonial-name {
	font-size: 0.875rem; font-weight: 600; font-family: var(--font-body);
	color: var(--color-foreground);
}
.theme-testimonial-subtitle {
	font-size: 0.75rem; /* text-xs */
	letter-spacing: 0.2em;
	text-transform: uppercase;
	font-family: var(--font-body);
	color: color-mix(in srgb, var(--color-foreground) 60%, transparent);
}
.theme-testimonials-controls { display: flex; justify-content: center; gap: 0.75rem; margin-top: 2rem; }
.theme-testimonials-nav {
	width: 44px; height: 44px; border-radius: 999px;
	border: 1px solid color-mix(in srgb, var(--color-foreground) 30%, transparent);
	display: flex; align-items: center; justify-content: center;
	transition: border-color 0.2s ease; color: var(--color-foreground);
}
.theme-testimonials-nav:hover { border-color: var(--color-foreground); }

/* ---------------------------------------------------------------------
   Final CTA
   --------------------------------------------------------------------- */
.theme-final-cta-grid { display: grid; grid-template-columns: 1fr; min-height: 420px; }
@media (min-width: 1024px) { .theme-final-cta-grid { grid-template-columns: 1fr 1fr; } }
.theme-final-cta-image-wrap { position: relative; min-height: 280px; overflow: hidden; }
@media (min-width: 1024px) { .theme-final-cta-image-wrap { min-height: 480px; } }
.theme-final-cta-panel { position: relative; background: var(--color-accent); color: var(--color-accent-foreground); display: flex; align-items: center; justify-content: center; padding: 5rem 2rem; }
@media (min-width: 768px) { .theme-final-cta-panel { padding: 6rem 4rem; } }
.theme-final-cta-inner { max-width: 28rem; text-align: center; }
.theme-final-cta-heading { font-size: 3rem; margin-bottom: 1.5rem; color: var(--color-foreground); }
@media (min-width: 768px) { .theme-final-cta-heading { font-size: 3.75rem; } }
@media (min-width: 1024px) { .theme-final-cta-heading { font-size: 4.5rem; } }
.theme-final-cta-body { color: color-mix(in srgb, var(--color-foreground) 80%, transparent); line-height: 1.7; margin-bottom: 2.5rem; }
.theme-final-cta-actions { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1rem; }
@media (min-width: 640px) { .theme-final-cta-actions { flex-direction: row; } }

/* ---------------------------------------------------------------------
   Footer
   --------------------------------------------------------------------- */
.site-footer { border-top: 1px solid var(--color-border); background: var(--color-butter); }
.theme-footer-inner {
	padding-block: 4rem 5rem;
	padding-inline: 1.75rem;
}
@media (min-width: 768px) {
	.theme-footer-inner { padding-inline: 1.5rem; }
}
@media (min-width: 1024px) {
	.theme-footer-inner {
		padding-block: 5rem;
		padding-inline: 2rem;
	}
}
.theme-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) { .theme-footer-brand-row { flex-direction: row; align-items: center; justify-content: space-between; } }
.theme-footer-logo { flex-shrink: 0; }
.theme-footer-logo .site-logo-img { height: 6rem; }
@media (min-width: 640px) { .theme-footer-logo .site-logo-img { height: 7rem; } }
.theme-footer-tagline-block { max-width: 36rem; }
@media (min-width: 640px) { .theme-footer-tagline-block { text-align: right; } }
.theme-footer-tagline { font-size: 0.875rem; color: color-mix(in srgb, var(--color-foreground) 70%, transparent); line-height: 1.6; }
.theme-footer-contact-line { margin-top: 0.75rem; font-size: 0.875rem; color: color-mix(in srgb, var(--color-foreground) 70%, transparent); }
.theme-footer-contact-line a:hover { color: var(--color-foreground); }
.theme-footer-dot { margin: 0 0.5rem; color: color-mix(in srgb, var(--color-foreground) 40%, transparent); }

.theme-footer-columns { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2.5rem; }
@media (min-width: 768px) { .theme-footer-columns { grid-template-columns: repeat(4, 1fr); gap: 3rem; } }
.theme-footer-col-title { font-size: 1.5rem; margin-bottom: 1.25rem; }
.theme-footer-links { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 0.75rem; }
.theme-footer-links a, .theme-footer-link-btn { font-size: 0.875rem; color: color-mix(in srgb, var(--color-foreground) 70%, transparent); text-align: left; transition: color 0.2s ease; }
.theme-footer-links a:hover, .theme-footer-link-btn:hover { color: var(--color-foreground); }
.theme-footer-col-reach { grid-column: span 2 / span 2; }
@media (min-width: 768px) { .theme-footer-col-reach { grid-column: span 1 / span 1; } }
.theme-footer-reach-text { font-size: 0.875rem; color: color-mix(in srgb, var(--color-foreground) 70%, transparent); margin-bottom: 1.25rem; line-height: 1.6; }
.theme-footer-reach-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 0.75rem; font-size: 0.875rem; }
.theme-footer-reach-link { display: inline-flex; align-items: center; gap: 0.5rem; color: color-mix(in srgb, var(--color-foreground) 80%, transparent); transition: color 0.2s ease; }
.theme-footer-reach-link:hover { color: var(--color-foreground); }
.theme-footer-tiktok-note { font-size: 1rem; line-height: 1; }

.theme-footer-bottom { margin-top: 3.5rem; padding-top: 1.5rem; border-top: 1px solid var(--color-border); font-size: 0.75rem; color: color-mix(in srgb, var(--color-foreground) 60%, transparent); display: flex; flex-direction: column; align-items: center; justify-content: space-between; gap: 0.75rem; }
@media (min-width: 640px) { .theme-footer-bottom { flex-direction: row; } }

/* ---------------------------------------------------------------------
   Cart drawer + overlay
   --------------------------------------------------------------------- */
#theme-cart-overlay { position: fixed; inset: 0; background: color-mix(in srgb, var(--color-foreground) 20%, transparent); z-index: 90; opacity: 0; pointer-events: none; transition: opacity 0.3s ease; }
body.cart-open #theme-cart-overlay { opacity: 1; pointer-events: auto; }

#theme-cart-drawer {
	position: fixed; right: 0; top: 0; height: 100%; width: 100%; max-width: 28rem; background: var(--color-background);
	z-index: 91; box-shadow: var(--shadow-elevated); display: flex; flex-direction: column;
	transform: translateX(100%); transition: transform 0.35s var(--transition-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:hover { opacity: 0.6; }
.theme-cart-drawer-empty { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 1.5rem; text-align: center; }
.theme-cart-drawer-empty svg { color: var(--color-muted-foreground); margin-bottom: 1rem; }
.theme-cart-drawer-empty p { color: var(--color-muted-foreground); margin-bottom: 1.5rem; }
.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 {
	width: 5rem;
	height: 6rem;
	background: var(--color-secondary);
	overflow: hidden;
	flex-shrink: 0;
	display: block;
	position: relative;
}
.theme-cart-item-image img {
	position: absolute;
	inset: 0;
	width: 100% !important;
	height: 100% !important;
	max-width: none !important;
	object-fit: cover !important;
	object-position: center;
	display: block;
}
.theme-cart-item-info { 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-variation { font-size: 0.75rem; color: var(--color-muted-foreground); margin-top: 0.25rem; }
.theme-cart-item-variation dl.variation {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	gap: 0.15rem 0.35rem;
	margin: 0;
	padding: 0;
}
.theme-cart-item-variation dl.variation dt,
.theme-cart-item-variation dl.variation dd {
	float: none;
	margin: 0;
	padding: 0;
	clear: none;
	width: auto;
}
.theme-cart-item-variation dl.variation dt { font-weight: 500; }
.theme-cart-item-variation dl.variation dd p {
	display: inline;
	margin: 0;
}
.theme-cart-item-price { font-size: 0.875rem; color: var(--color-muted-foreground); margin-top: 0.125rem; }
.theme-cart-item-controls { display: flex; align-items: center; gap: 0.5rem; margin-top: 0.5rem; }
.theme-cart-qty-btn { padding: 0.25rem; border-radius: 4px; }
.theme-cart-qty-btn:hover { background: var(--color-secondary); }
.theme-cart-qty-value { font-size: 0.875rem; width: 1.5rem; text-align: center; }
.theme-cart-remove { margin-left: auto; font-size: 0.875rem; color: var(--color-muted-foreground); }
.theme-cart-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-subtotal-row { display: flex; justify-content: space-between; font-size: 0.875rem; }
.theme-cart-shipping-note { font-size: 0.875rem; color: var(--color-muted-foreground); }
.theme-cart-checkout-btn { text-align: center; }

/* ---------------------------------------------------------------------
   Contact modal
   --------------------------------------------------------------------- */
#theme-contact-overlay { position: fixed; inset: 0; background: rgba(0,0,0,0.5); z-index: 95; opacity: 0; pointer-events: none; transition: opacity 0.2s ease; }
body.contact-open #theme-contact-overlay { opacity: 1; pointer-events: auto; }
#theme-contact-modal {
	position: fixed; left: 50%; top: 50%; width: calc(100% - 2rem); max-width: 32rem; max-height: 90vh; overflow-y: auto;
	background: var(--color-background); border-radius: 0.75rem; padding: 1.5rem; z-index: 96; box-shadow: var(--shadow-elevated);
	transform: translate(-50%, -48%) scale(0.96); opacity: 0; pointer-events: none; transition: opacity 0.2s ease, transform 0.2s ease;
}
body.contact-open #theme-contact-modal { opacity: 1; transform: translate(-50%, -50%) scale(1); pointer-events: auto; }
.theme-contact-close { position: absolute; right: 1rem; top: 1rem; opacity: 0.7; }
.theme-contact-close:hover { opacity: 1; }
.theme-contact-title { font-size: 1.5rem; margin-bottom: 0.5rem; padding-right: 2rem; }
.theme-contact-desc { color: var(--color-muted-foreground); margin-bottom: 1rem; }
.theme-contact-quicklinks { display: flex; flex-wrap: wrap; gap: 1rem; font-size: 0.875rem; color: var(--color-muted-foreground); margin-bottom: 1.5rem; }
.theme-contact-quicklinks a { display: inline-flex; align-items: center; gap: 0.5rem; }
.theme-contact-quicklinks a:hover { color: var(--color-foreground); }
.theme-contact-success { text-align: center; padding: 2rem 0; }
.theme-contact-success-icon { width: 3.5rem; height: 3.5rem; background: var(--color-primary); color: var(--color-primary-foreground); border-radius: 999px; display: flex; align-items: center; justify-content: center; margin: 0 auto 1rem; }
.theme-contact-success h3 { font-size: 1.25rem; margin-bottom: 0.5rem; }
.theme-contact-success p { color: var(--color-muted-foreground); font-size: 0.875rem; }
.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: 1fr 1fr; } }
.theme-contact-field { margin-bottom: 1rem; }
.theme-contact-field label { display: block; font-size: 0.875rem; font-weight: 500; margin-bottom: 0.375rem; }
.theme-contact-field input, .theme-contact-field textarea {
	width: 100%; padding: 0.625rem 0.75rem; background: var(--color-background); border: 1px solid var(--color-border);
	border-radius: 6px; font-size: 1rem; transition: box-shadow 0.3s ease;
}
.theme-contact-field textarea { resize: none; }
.theme-contact-field input:focus, .theme-contact-field textarea:focus { outline: none; box-shadow: 0 0 0 2px color-mix(in srgb, var(--color-primary) 50%, transparent); }
.theme-contact-form-actions { display: flex; justify-content: flex-end; }
.theme-contact-form-actions .theme-btn-primary { width: auto; padding: 0.75rem 1.75rem; display: inline-flex; align-items: center; gap: 0.5rem; }

/* ---------------------------------------------------------------------
   404
   --------------------------------------------------------------------- */
.theme-404-main { min-height: 60vh; display: flex; align-items: center; }
.theme-404-inner { text-align: center; padding: 6rem 0; }
.theme-404-code { font-size: 3.5rem; font-weight: 700; margin-bottom: 1rem; }
.theme-404-text { font-size: 1.25rem; color: var(--color-muted-foreground); margin-bottom: 1rem; }
.theme-404-link { color: var(--color-primary); text-decoration: underline; }

.page-title { font-family: var(--font-display); font-size: 2rem; margin: 3rem 0 1.5rem; }
.site-main { min-height: 40vh; }
body.theme-no-hero .theme-shop-archive-main { padding-top: calc(var(--header-height) + 0.5rem); }
body.theme-no-hero .theme-single-product-main { padding-top: calc(var(--header-height) + 0.5rem); }
@media (min-width: 1024px) {
	body.theme-no-hero .theme-single-product-main { padding-top: calc(var(--header-height) + 1rem); }
}

/* =====================================================================
   WooCommerce overrides (Section 14)
   ===================================================================== */
.woocommerce-breadcrumb { display: none; }
.single-product .woocommerce-message, .single-product .woocommerce-info { display: none; }
#theme-cart-drawer .woocommerce-message { display: none; }
.woocommerce-message, .woocommerce-info { border-top-color: var(--color-primary); background: var(--color-secondary); padding: 1rem 1.5rem; border-radius: 8px; font-size: 0.9rem; }

.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; }

/* Add-to-cart button style override (Section 11.4.1) */
.single_add_to_cart_button.button,
.add_to_cart_button.button,
a.single_add_to_cart_button,
a.add_to_cart_button {
	background-color: var(--color-primary) !important;
	color: var(--color-button-text) !important;
	border: none !important;
	border-radius: var(--btn-radius) !important;
	min-height: var(--btn-height) !important;
	padding: var(--btn-padding) !important;
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;
	font-family: var(--font-body) !important;
	font-size: var(--btn-font-size) !important;
	font-weight: var(--btn-font-weight) !important;
	letter-spacing: var(--btn-letter-spacing) !important;
	text-transform: var(--btn-text-transform) !important;
	cursor: pointer !important;
	transition: opacity 0.2s ease !important;
}
.single_add_to_cart_button.button:hover,
.add_to_cart_button.button:hover {
	opacity: 0.85 !important;
	background-color: var(--color-primary) !important;
	color: var(--color-button-text) !important;
}
.single_add_to_cart_button.button:disabled,
.single_add_to_cart_button.button.disabled,
.add_to_cart_button.button:disabled,
.add_to_cart_button.button.disabled {
	cursor: not-allowed !important;
	opacity: 0.4 !important;
	pointer-events: none !important;
}
.single_add_to_cart_button.button:disabled:hover,
.single_add_to_cart_button.button.disabled:hover,
.add_to_cart_button.button:disabled:hover,
.add_to_cart_button.button.disabled:hover {
	opacity: 0.4 !important;
	background-color: var(--color-primary) !important;
}
.theme-product-card .add_to_cart_button.ajax_add_to_cart {
	min-height: unset !important;
	padding: 0.75rem !important;
	border-radius: 999px !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; }

/* ---------------------------------------------------------------------
   Single product layout (Section 11.13 / ProductDetail.tsx)
   --------------------------------------------------------------------- */
.theme-single-product-main { background: var(--color-background); }
.single-product .theme-product-layout {
	display: grid;
	grid-template-columns: 1fr;
	gap: 2.5rem;
	min-width: 0;
	padding: 1rem 0 6rem;
	align-items: start;
}
@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-breadcrumb {
	padding: 1.5rem 0;
	font-size: 13px;
	letter-spacing: 0.2em;
	text-transform: uppercase;
	color: var(--color-muted-foreground);
	font-family: var(--font-body);
}
.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); }

/* Mobile gallery (thumbs) vs desktop stacked images */
.theme-product-gallery-mobile { display: block; }
.theme-product-gallery-desktop { display: none; }
@media (min-width: 1024px) {
	.theme-product-gallery-mobile { display: none; }
	.theme-product-gallery-desktop { display: flex; flex-direction: column; gap: 1rem; }
}

.theme-product-main-image-wrap {
	position: relative;
	aspect-ratio: 1 / 1;
	background: var(--color-secondary);
	overflow: hidden;
}
.theme-product-main-image-wrap .cover-img,
.theme-product-main-image-wrap img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}
.theme-product-thumbnails {
	display: flex;
	gap: 0.75rem;
	margin-top: 1rem;
	overflow-x: auto;
	padding-bottom: 0.25rem;
	max-width: 100%;
}
.theme-product-thumb {
	position: relative;
	width: 5rem;
	height: 5rem;
	flex-shrink: 0;
	overflow: hidden;
	background: var(--color-secondary);
	padding: 0;
	border: none;
	cursor: pointer;
}
.theme-product-thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	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);
}

/* Sticky info column */
@media (min-width: 1024px) {
	.single-product .theme-product-info {
		position: sticky;
		top: 7rem;
		padding-left: 1rem;
		align-self: start;
	}
}

.theme-product-category {
	display: block;
	font-size: 13px;
	letter-spacing: 0.25em;
	text-transform: uppercase;
	color: var(--color-muted-foreground);
	font-family: var(--font-body);
}
.product-title.theme-product-title {
	font-family: var(--font-display);
	font-weight: 400;
	font-size: 1.875rem;
	line-height: 1.1;
	margin: 0.75rem 0 1.25rem;
	color: var(--color-foreground);
}
@media (min-width: 768px) { .product-title.theme-product-title { font-size: 2.25rem; } }
@media (min-width: 1024px) { .product-title.theme-product-title { font-size: 2.75rem; } }
.theme-product-price {
	font-size: 1.25rem;
	margin-bottom: 1.5rem;
	font-family: var(--font-body);
	color: var(--color-foreground);
}
.theme-product-price .woocommerce-Price-amount { font-family: var(--font-body); }
.theme-product-intro {
	font-family: var(--font-body);
	font-size: 1rem;
	line-height: 1.7;
	color: var(--color-muted-foreground);
	margin: 0 0 2rem;
}
.theme-product-stock { margin-bottom: 1rem; font-size: 0.875rem; font-weight: 600; }
.theme-product-stock-out { color: var(--color-rosa); }

/* Hide WC's default variation price/availability above our CTA */
.single-product .woocommerce-variation.single_variation { margin: 0; }
.single-product .woocommerce-variation-price,
.single-product .woocommerce-variation-availability { display: none; }

/* Purchase area: quantity labeled, full-width ATC below */
.single-product .theme-add-to-cart-area--stacked {
	display: flex;
	flex-direction: column;
	align-items: stretch;
	gap: 1rem;
	margin: 0 0 0;
}
.theme-quantity-block { margin-bottom: 0; }
.theme-qty-label {
	font-size: 13px;
	letter-spacing: 0.2em;
	text-transform: uppercase;
	font-family: var(--font-body);
	font-weight: 400;
	color: var(--color-muted-foreground);
	margin: 0 0 0.75rem;
}
.theme-quantity-wrapper {
	display: inline-flex;
	align-items: center;
	border: 1px solid var(--color-border);
	border-radius: 0;
	overflow: hidden;
	background: var(--color-background);
}
.theme-qty-minus,
.theme-qty-plus {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 0.5rem 0.75rem;
	transition: background-color 0.2s ease;
	background: transparent;
	border: none;
	cursor: pointer;
	color: var(--color-foreground);
}
.theme-qty-minus:hover,
.theme-qty-plus:hover { background: var(--color-secondary); }
.theme-qty-input {
	width: 2.75rem;
	min-width: 44px;
	text-align: center;
	border: none;
	background: transparent;
	font-family: var(--font-body);
	font-size: 0.875rem;
	padding: 0.5rem 0;
	-moz-appearance: textfield;
	color: var(--color-foreground);
}
.theme-qty-input::-webkit-outer-spin-button,
.theme-qty-input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.theme-quantity-wrapper .quantity { display: contents; }
.theme-quantity-wrapper .quantity .qty { /* WC wrapper safety */ }

.single-product .theme-single-atc.single_add_to_cart_button,
.single-product a.theme-single-atc.single_add_to_cart_button {
	width: 100% !important;
	flex: none !important;
	min-width: 0 !important;
	background-color: var(--color-foreground) !important;
	color: var(--color-background) !important;
	border-radius: 999px !important;
	padding: 1rem 1.5rem !important;
	min-height: unset !important;
	font-size: 12px !important;
	letter-spacing: 0.25em !important;
	font-weight: 500 !important;
}
.single-product .theme-single-atc.single_add_to_cart_button:hover,
.single-product a.theme-single-atc.single_add_to_cart_button:hover {
	opacity: 0.9 !important;
	background-color: var(--color-foreground) !important;
	color: var(--color-background) !important;
}
.single-product .theme-single-atc.single_add_to_cart_button:disabled,
.single-product .theme-single-atc.single_add_to_cart_button.disabled,
.single-product a.theme-single-atc.single_add_to_cart_button.disabled {
	opacity: 0.6 !important;
	cursor: not-allowed !important;
	pointer-events: none !important;
}

.single-product .variations.shop_attributes { margin: 0 0 0.5rem; width: 100%; border: 0; }
.single-product .variations.shop_attributes tbody,
.single-product .variations tbody tr,
.single-product .variations tbody td { display: block; width: 100%; border: 0; }
.single-product .variations tbody tr { margin-bottom: 1.5rem; }
.single-product .variations tbody td.label {
	padding: 0 0 0.75rem;
	font-weight: 400;
	font-family: var(--font-body);
	font-style: normal;
	text-transform: uppercase;
	font-size: 13px;
	letter-spacing: 0.2em;
	color: var(--color-muted-foreground);
}
.single-product .variations tbody td.value { padding: 0; }
.variations label {
	font-family: var(--font-body);
	font-weight: 400;
	font-style: normal;
	font-size: 13px;
	letter-spacing: 0.2em;
	text-transform: uppercase;
	color: var(--color-muted-foreground);
}
.theme-attr-select-hidden,
.single-product .variations select,
.single-product .variations .reset_variations { display: none !important; }
.theme-attr-pills { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.theme-attr-pill {
	padding: 0.5rem 1rem;
	font-size: 12px;
	letter-spacing: 0.15em;
	text-transform: uppercase;
	border: 1px solid var(--color-border);
	border-radius: 999px;
	transition: all 0.2s ease;
	background: transparent;
	font-family: var(--font-body);
	cursor: pointer;
	color: var(--color-foreground);
}
.theme-attr-pill:hover { border-color: color-mix(in srgb, var(--color-foreground) 60%, transparent); }
.theme-attr-pill.is-selected {
	background: var(--color-foreground);
	color: var(--color-background);
	border-color: var(--color-foreground);
}
.theme-attr-pill--color {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
}
.theme-attr-pill--color.is-selected {
	background: color-mix(in srgb, var(--color-foreground) 5%, transparent);
	color: var(--color-foreground);
	border-color: var(--color-foreground);
}
.theme-attr-swatch {
	width: 0.75rem;
	height: 0.75rem;
	border-radius: 999px;
	border: 1px solid var(--color-border);
	background: var(--color-muted);
	flex-shrink: 0;
}

.theme-product-accordions { margin-top: 2.5rem; border-top: 1px solid var(--color-border); }
.theme-accordion { border-bottom: 1px solid var(--color-border); }
.theme-accordion-toggle {
	width: 100%;
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 1.25rem 0;
	font-size: 13px;
	letter-spacing: 0.25em;
	text-transform: uppercase;
	font-family: var(--font-body);
	background: transparent;
	border: none;
	cursor: pointer;
	color: var(--color-foreground);
	text-align: left;
}
.theme-accordion-toggle svg { transition: transform 0.2s ease; flex-shrink: 0; }
.theme-accordion.is-open .theme-accordion-toggle svg { transform: rotate(180deg); }
.theme-accordion-panel {
	display: none;
	padding-bottom: 1.5rem;
	font-size: 15px;
	color: var(--color-muted-foreground);
	line-height: 1.7;
	font-family: var(--font-body);
}
.theme-accordion.is-open .theme-accordion-panel { display: block; }
.theme-accordion-panel p { margin: 0 0 0.75rem; }
.theme-accordion-panel p:last-child { margin-bottom: 0; }
.theme-product-description {
	margin: 0 0 1rem;
	white-space: pre-line;
	overflow-wrap: break-word;
	word-break: break-word;
}
.theme-product-details-list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 0.5rem;
}
.theme-product-details-list li {
	display: flex;
	align-items: flex-start;
	font-size: 15px;
	color: var(--color-muted-foreground);
	line-height: 1.5;
}
.theme-product-details-list li::before {
	content: '';
	width: 0.25rem;
	height: 0.25rem;
	border-radius: 999px;
	background: var(--color-foreground);
	margin: 0.5rem 0.75rem 0 0;
	flex-shrink: 0;
}
.single-product .posted_in { overflow-wrap: break-word; word-break: break-word; }

.theme-related-products {
	padding: 5rem 0;
	border-top: 1px solid var(--color-border);
	margin-top: 0;
}
.theme-related-header { text-align: center; margin-bottom: 3rem; }
.theme-related-kicker {
	font-family: var(--font-display);
	font-style: italic;
	font-size: 1rem;
	color: var(--color-muted-foreground);
	margin-bottom: 0.5rem;
}
.theme-related-heading {
	font-family: var(--font-display);
	font-weight: 400;
	font-size: 1.875rem;
}
@media (min-width: 768px) { .theme-related-heading { font-size: 2.25rem; } }
.theme-related-grid.theme-product-grid,
.theme-related-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 1.5rem;
}
@media (min-width: 768px) {
	.theme-related-grid.theme-product-grid,
	.theme-related-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 1.5rem;
	}
}
@media (min-width: 1024px) {
	.theme-related-grid.theme-product-grid,
	.theme-related-grid {
		grid-template-columns: repeat(4, minmax(0, 1fr));
		gap: 2rem;
	}
}

/* ---------------------------------------------------------------------
   Archive / shop page
   --------------------------------------------------------------------- */
.theme-shop-archive-main { padding: 2rem 0 6rem; }
.theme-archive-grid { margin-top: 2rem; }
.theme-pagination-wrap { margin-top: 3rem; text-align: center; }
.theme-shop-empty-text { text-align: center; padding: 4rem 0; color: var(--color-muted-foreground); }

/* =====================================================================
   Checkout Block overrides (Section 13)
   ===================================================================== */
body.woocommerce-checkout .site-main { padding-top: var(--header-height); padding-bottom: 4rem; }
body.woocommerce-checkout .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; }

@media (min-width: 768px) {
	body.woocommerce-checkout .wc-block-components-sidebar-layout.wc-block-checkout.is-large,
	body.woocommerce-checkout .wc-block-checkout {
		display: grid;
		grid-template-columns: 1fr 1fr;
		gap: var(--checkout-gap);
		align-items: start;
	}
	body.woocommerce-checkout .wc-block-checkout > .wc-block-components-notice-banner {
		grid-column: 1 / -1;
	}
}

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 {
	width: 100% !important;
	max-width: none !important;
	font-family: var(--font-body);
	border: 1px solid var(--color-border);
	border-radius: 8px;
	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 { outline: none; box-shadow: 0 0 0 2px color-mix(in srgb, var(--color-primary) 40%, transparent); }
body.woocommerce-checkout .wc-block-components-text-input input { padding: revert; }
body.woocommerce-checkout .wc-block-components-checkout-place-order-button {
	background: var(--color-primary) !important; color: var(--color-primary-foreground) !important; border-radius: var(--btn-radius) !important;
	text-transform: none;
}
body.woocommerce-checkout .wc-block-components-notice-banner { border-radius: 8px; }
body.woocommerce-checkout .wc-block-checkout__sidebar {
	background-color: var(--color-secondary);
	border-radius: var(--card-radius);
	padding: var(--section-padding);
}
body.woocommerce-checkout .page-title { max-width: 1400px; margin: 3rem auto 1.5rem; padding: 0 1.5rem; }

/* ---------------------------------------------------------------------
   Cart / My Account width parity (Section 13.7)
   --------------------------------------------------------------------- */
body.woocommerce-cart .site-main,
body.woocommerce-account .site-main { padding-top: var(--header-height); padding-bottom: 4rem; }
body.woocommerce-cart .page-title,
body.woocommerce-account .page-title { max-width: 1400px; margin: 3rem auto 1.5rem; padding: 0 1.5rem; }

/* ---------------------------------------------------------------------
   Thank-you page (Section 22.8)
   --------------------------------------------------------------------- */
body.theme-thankyou-page { overflow-x: hidden; }
body.theme-thankyou-page .site-main { padding-top: var(--header-height); padding-bottom: 4rem; }
.theme-thankyou-check { width: 4rem; height: 4rem; background: var(--color-primary); color: var(--color-primary-foreground); border-radius: 999px; display: flex; align-items: center; justify-content: center; margin: 1rem auto 1.5rem; }
body.theme-thankyou-page .woocommerce-order h2,
body.theme-thankyou-page .woocommerce-order-details__title { padding: 0 0 1rem 0; font-size: 1.5rem; }
body.theme-thankyou-page .woocommerce-order-overview { list-style: none; display: flex; flex-wrap: wrap; gap: 1.5rem; padding: 0; margin: 1.5rem 0; }
body.theme-thankyou-page .woocommerce-order-details table { width: 100%; table-layout: fixed; border-collapse: collapse; margin-bottom: 2rem; }
body.theme-thankyou-page .woocommerce-order-details table th,
body.theme-thankyou-page .woocommerce-order-details table td { padding: 0.75rem; border-bottom: 1px solid var(--color-border); }
body.theme-thankyou-page .woocommerce-order-details tfoot th { text-align: left; }
body.theme-thankyou-page .woocommerce-order-details tfoot td { text-align: right; }
body.theme-thankyou-page .woocommerce-customer-details { display: flex; flex-direction: column; gap: 1.5rem; margin-top: 2rem; }
body.theme-thankyou-page .woocommerce-customer-details address { max-width: 480px; overflow-wrap: break-word; }
@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; }
}
