/* =========================================================================
   Cheirre's Handcrafted — theme.css
   Theme by The Free Website Guys.
   ========================================================================= */

/* -------------------------------------------------------------------------
   1. TOKENS (derived / aliased — Section 6)
   ------------------------------------------------------------------------- */
:root {
	/* --color-* custom properties are injected inline by wp_add_inline_style
	   (functions.php) from the Customizer values. Derived aliases below. */
	--color-nopal: var(--color-primary);
	--color-teal: var(--color-accent);
	--color-butter: var(--color-secondary);
	--color-marigold: var(--color-caramel);
	--color-rosa: var(--color-caramel);
	--color-button-text: var(--color-primary-foreground);

	--radius: 0.875rem;
	--card-radius: 1rem;
	--btn-radius: 9999px;
	--btn-height: 3rem;
	--btn-padding: 0.9rem 2rem;
	--btn-font-size: 12px;
	--btn-font-weight: 600;
	--btn-letter-spacing: 0.22em;
	--btn-text-transform: uppercase;
	--btn-icon-padding: 0.6rem;

	--shadow-soft: 0 6px 24px -10px rgba(47, 42, 38, 0.12);
	--shadow-elevated: 0 24px 60px -24px rgba(47, 42, 38, 0.22);

	--transition-smooth: cubic-bezier(0.4, 0, 0.2, 1);
	--header-height: 88px;
	--checkout-gap: 1.5rem;

	--font-display: 'Lora', Georgia, serif;
	--font-body: 'Nunito Sans', system-ui, sans-serif;
}

/* -------------------------------------------------------------------------
   2. RESET / BASE
   ------------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }

html {
	scroll-behavior: smooth;
	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;
	overflow-x: clip;
}
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; }
ul { margin: 0; padding: 0; list-style: none; }
button { font-family: inherit; background: none; border: none; cursor: pointer; padding: 0; color: inherit; }
input, textarea, select { font-family: inherit; font-size: inherit; }

/* Neutralize WP / WooCommerce layout injections */
.site-main,
main { display: block; margin: 0; padding: 0; }
.woocommerce-page .woocommerce-breadcrumb { display: none !important; }
body .woocommerce-notices-wrapper { margin: 0; }
.entry-content > *:first-child { margin-top: 0; }
.entry-content > *:last-child { margin-bottom: 0; }

img:not(.cover-img):not(.theme-hero__bg-img):not(.theme-product-card__image):not(.theme-product-gallery__img) {
	max-width: 100%;
	height: auto;
}
.cover-img,
.theme-hero__bg-img,
.theme-bg-video,
.theme-product-card__image,
.theme-product-gallery__img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
	display: block;
}
.theme-bg-video {
	pointer-events: none;
}
.theme-bg-poster-fallback {
	display: none;
}
@media (prefers-reduced-motion: reduce) {
	.theme-bg-video {
		display: none;
	}
	.theme-bg-poster-fallback {
		display: block;
	}
}

.container-wide {
	width: 100%;
	max-width: 80rem; /* max-w-7xl — matches tailwind.config.ts / src/index.css */
	margin-left: auto;
	margin-right: auto;
	padding-left: 1.5rem;
	padding-right: 1.5rem;
}
@media (min-width: 1024px) {
	.container-wide { padding-left: 2rem; padding-right: 2rem; }
}

.scroll-mt-24 { scroll-margin-top: 6rem; }

/* -------------------------------------------------------------------------
   3. TYPOGRAPHY PARITY (Section 2.2)
   ------------------------------------------------------------------------- */
.theme-eyebrow {
	display: block;
	font-family: var(--font-body);
	font-size: 12px;
	letter-spacing: 0.32em;
	text-transform: uppercase;
	color: var(--color-nopal);
	margin-bottom: 0.75rem;
	font-weight: 400;
}
.theme-eyebrow--teal { color: var(--color-teal); }
.theme-eyebrow--semibold { font-weight: 600; }
.theme-eyebrow--mb-lg { margin-bottom: 1.5rem; }
.theme-eyebrow--light { color: rgba(255,255,255,0.85); }

.about-section.section-heading { font-weight: 300; font-size: 2.25rem; line-height: 1.05; }
@media (min-width: 768px)  { .about-section.section-heading { font-size: 3rem; } }
@media (min-width: 1024px) { .about-section.section-heading { font-size: 3.75rem; } }
.about-section.section-heading em { font-style: italic; }

.category-strip-heading { font-weight: 400; font-size: 1.875rem; }
@media (min-width: 768px) { .category-strip-heading { font-size: 2.25rem; } }

.featured-heading { font-weight: 400; font-size: 1.875rem; line-height: 1.2; }
@media (min-width: 768px) { .featured-heading { font-size: 3rem; } }

.offerings-section.section-heading { font-weight: 300; font-style: italic; font-size: 2.25rem; letter-spacing: -0.015em; line-height: 1.05; }
@media (min-width: 768px)  { .offerings-section.section-heading { font-size: 3rem; } }
@media (min-width: 1024px) { .offerings-section.section-heading { font-size: 3.75rem; } }

.shop-heading { font-weight: 400; font-size: 1.875rem; margin-bottom: 2.5rem; }
@media (min-width: 768px) { .shop-heading { font-size: 3rem; } }

.cta-band__title { font-weight: 400; font-style: italic; font-size: 2.25rem; line-height: 1.05; }
@media (min-width: 768px)  { .cta-band__title { font-size: 3.75rem; } }
@media (min-width: 1024px) { .cta-band__title { font-size: 4.5rem; } }

.theme-hero__heading {
	font-family: var(--font-display);
	font-style: italic;
	font-weight: 400;
	color: var(--color-background);
	line-height: 0.98;
	letter-spacing: -0.015em;
	font-size: clamp(2.75rem, 8vw, 6.5rem);
	margin: 0;
	text-align: center;
}

/* -------------------------------------------------------------------------
   4. BUTTONS (do NOT globally force uppercase on things the source keeps
      sentence case — Section 2.2)
   ------------------------------------------------------------------------- */
.theme-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.5rem;
	white-space: nowrap;
	border-radius: var(--btn-radius);
	font-family: var(--font-body);
	font-size: var(--btn-font-size);
	font-weight: var(--btn-font-weight);
	letter-spacing: var(--btn-letter-spacing);
	text-transform: var(--btn-text-transform);
	transition: background-color 0.2s ease, color 0.2s ease, opacity 0.2s ease, border-color 0.2s ease;
	cursor: pointer;
	border: 1px solid transparent;
	padding: 1rem 2.25rem;
}
.theme-btn-pill { border-radius: 9999px; }
.theme-btn-primary { background: var(--color-primary); color: var(--color-primary-foreground); border-color: var(--color-primary); box-shadow: var(--shadow-elevated); }
.theme-btn-primary:hover { background: var(--color-foreground); border-color: var(--color-foreground); color: var(--color-background); }
.theme-btn-outline { background: transparent; color: var(--color-nopal); border-color: var(--color-nopal); }
.theme-btn-outline:hover { background: var(--color-nopal); color: var(--color-background); }
.theme-btn-outline-inverse { background: transparent; color: var(--color-background); border-color: rgba(255,255,255,0.8); }
.theme-btn-outline-inverse:hover { background: var(--color-background); color: var(--color-foreground); }
.theme-btn-inverse { background: var(--color-background); color: var(--color-foreground); }
.theme-btn-inverse:hover { background: var(--color-foreground); color: var(--color-background); }
.theme-btn-hero {
	font-size: 11px;
	letter-spacing: 0.28em;
	padding: 1rem 2.5rem;
}
.theme-btn-compact {
	padding-top: 0.875rem;
	padding-bottom: 0.875rem;
}
.theme-btn-cta {
	padding-left: 2.25rem;
	padding-right: 2.25rem;
}

.theme-link-underline {
	position: relative;
	display: inline-block;
	font-family: var(--font-display);
	font-size: 12px;
	letter-spacing: 0.28em;
	text-transform: uppercase;
	font-weight: 500;
	color: var(--color-background);
}
.theme-link-underline::after {
	content: '';
	position: absolute;
	bottom: 0; left: 0;
	width: 100%; height: 1px;
	background: currentColor;
	transform: scaleX(0);
	transform-origin: left;
	transition: transform 0.3s var(--transition-smooth);
}
.theme-link-underline:hover::after { transform: scaleX(1); }

/* -------------------------------------------------------------------------
   5. ANIMATIONS (ported verbatim from source src/index.css)
   ------------------------------------------------------------------------- */
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes slideUp { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }
@keyframes slideDown { from { opacity: 0; transform: translateY(-16px); } to { opacity: 1; transform: translateY(0); } }
@keyframes fadeUp { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: translateY(0); } }

.animate-fade-in { animation: fadeIn 0.6s var(--transition-smooth) forwards; }
.animate-slide-up { animation: slideUp 0.6s var(--transition-smooth) forwards; }
.animate-slide-down { animation: slideDown 0.7s var(--transition-smooth) both; }
.animate-fade-up { animation: fadeUp 0.7s var(--transition-smooth) both; }

@media (prefers-reduced-motion: reduce) {
	.animate-fade-in, .animate-slide-up, .animate-slide-down, .animate-fade-up { animation: none !important; }
	.reveal-item { transition: none !important; }
}

/* Scroll reveal system (Section 2.1) */
.reveal-item {
	opacity: 0;
	transform: translate3d(0, 24px, 0);
	transition: opacity 0.7s var(--transition-smooth), transform 0.7s var(--transition-smooth);
	will-change: opacity, transform;
}
.reveal-item.is-visible { opacity: 1; transform: translate3d(0,0,0); }

/* Customizer preview fallback — never hide content while editing (Section 2.1.5) */
body.is-customizer .reveal-item,
body.is-customizer .theme-product-card-wrap.reveal-item {
	opacity: 1 !important;
	transform: none !important;
}

/* -------------------------------------------------------------------------
   6. ANNOUNCEMENT BAR
   ------------------------------------------------------------------------- */
.theme-announcement-bar {
	position: relative;
	background: var(--color-nopal);
	color: var(--color-background);
}
.theme-announcement-bar__inner { padding-top: 0.5rem; padding-bottom: 0.5rem; text-align: center; }
.theme-announcement-bar__text { font-size: 13px; letter-spacing: 0.18em; text-transform: uppercase; }
.theme-announcement-bar__close {
	position: absolute; right: 0.75rem; top: 50%; transform: translateY(-50%);
	padding: 0.25rem; opacity: 0.7; transition: opacity 0.2s ease; color: inherit;
}
.theme-announcement-bar__close:hover { opacity: 1; }
.theme-announcement-bar.is-dismissed { display: none; }

/* -------------------------------------------------------------------------
   7. HEADER
   ------------------------------------------------------------------------- */
.site-header {
	position: sticky; top: 0; left: 0; right: 0; z-index: 50;
	transition: background-color 0.3s ease, border-color 0.3s ease;
	border-top: 2px solid color-mix(in srgb, var(--color-lilac) 40%, transparent);
	border-bottom: 1px solid transparent;
	background: var(--color-background);
	animation: slideDown 0.7s var(--transition-smooth) both;
}
.site-header.is-scrolled,
.site-header.is-solid {
	background: color-mix(in srgb, var(--color-background) 95%, transparent);
	backdrop-filter: blur(4px);
	border-bottom-color: color-mix(in srgb, var(--color-border) 60%, transparent);
}
.site-header__nav {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: space-between;
	height: 5rem;
}
@media (min-width: 768px) { .site-header__nav { height: 6rem; } }

.site-header__side { display: flex; align-items: center; flex: 1; gap: 2.5rem; }
.site-header__side--right { justify-content: flex-end; gap: 1.5rem; }
@media (min-width: 768px) { .site-header__side--right { gap: 2rem; } }

.theme-nav-list { display: none; align-items: center; gap: 2.5rem; }
@media (min-width: 1024px) { .theme-nav-list { display: flex; } }
.theme-nav-link, .theme-nav-list a {
	font-size: 13px; font-family: var(--font-body); font-weight: 400;
	color: color-mix(in srgb, var(--color-foreground) 80%, transparent);
	transition: color 0.2s ease; cursor: pointer;
}
.theme-nav-link:hover, .theme-nav-list a:hover { color: var(--color-foreground); }

.site-header__menu-toggle { display: block; padding: 0.5rem; margin-left: -0.5rem; transition: opacity 0.2s ease; }
.site-header__menu-toggle:hover { opacity: 0.6; }
@media (min-width: 1024px) { .site-header__menu-toggle { display: none; } }

.site-header__logo {
	position: absolute; left: 50%; transform: translateX(-50%);
	display: flex; align-items: center;
}
.site-logo-img { height: 2.5rem !important; width: auto !important; display: block; object-fit: contain; }
@media (min-width: 768px) {
	.site-logo-img { height: var(--logo-height, 3rem) !important; }
}
.site-logo-text { line-height: 2.5rem; display: block; font-family: var(--font-display); font-size: 1.25rem; }
@media (min-width: 768px) {
	.site-logo-text { line-height: var(--logo-height, 3rem); }
}

.theme-cart-button {
	position: relative;
	display: inline-flex; align-items: center; justify-content: center;
	width: 2.25rem; height: 2.25rem; border-radius: 9999px;
	border: 1px solid color-mix(in srgb, var(--color-foreground) 30%, transparent);
	font-size: 13px; font-family: var(--font-body);
	transition: border-color 0.2s ease;
}
.theme-cart-button:hover { border-color: var(--color-foreground); }
.theme-cart-count:empty { display: none; }

.site-header__mobile-menu {
	display: none;
	overflow: hidden;
	border-top: 1px solid color-mix(in srgb, var(--color-border) 60%, transparent);
	padding: 0;
	max-height: 0;
	opacity: 0;
}
.site-header__mobile-menu.is-open {
	display: flex;
	flex-direction: column;
	gap: 0;
	padding: 1rem 0;
	max-height: 520px;
	opacity: 1;
	animation: themeMobileMenuIn 0.42s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}
.site-header__mobile-menu.is-closing {
	animation: themeMobileMenuOut 0.3s cubic-bezier(0.4, 0, 0.2, 1) forwards;
	pointer-events: none;
}
@keyframes themeMobileMenuIn {
	from { opacity: 0; max-height: 0; transform: translateY(-8px); padding-top: 0; padding-bottom: 0; }
	to { opacity: 1; max-height: 520px; transform: translateY(0); padding-top: 1rem; padding-bottom: 1rem; }
}
@keyframes themeMobileMenuOut {
	from { opacity: 1; max-height: 520px; transform: translateY(0); }
	to { opacity: 0; max-height: 0; transform: translateY(-6px); padding-top: 0; padding-bottom: 0; }
}
.site-header__mobile-menu .theme-nav-list { display: flex; flex-direction: column; gap: 0; align-items: flex-start; }
.site-header__mobile-menu .theme-nav-link,
.site-header__mobile-menu .theme-nav-list a {
	font-size: 14px;
	padding: 0.625rem 0;
	text-transform: none;
	letter-spacing: normal;
	transition: color 0.2s ease, transform 0.2s ease;
	opacity: 0;
	transform: translateX(-10px);
}
.site-header__mobile-menu.is-open .theme-nav-link,
.site-header__mobile-menu.is-open .theme-nav-list a {
	animation: themeMobileNavItem 0.45s cubic-bezier(0.4, 0, 0.2, 1) both;
	animation-delay: calc(0.05s + var(--nav-index, 0) * 0.055s);
}
@keyframes themeMobileNavItem {
	from { opacity: 0; transform: translateX(-10px); }
	to { opacity: 1; transform: translateX(0); }
}
.site-header__mobile-menu .theme-nav-link:hover,
.site-header__mobile-menu .theme-nav-list a:hover { color: var(--color-muted-foreground); }

/* -------------------------------------------------------------------------
   8. 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__media-wrap .theme-hero__bg-media {
	top: -15%;
	left: 0;
	right: 0;
	width: 100%;
	height: 130%;
	inset: auto;
}
.theme-hero__scrim { position: absolute; inset: 0; background: rgba(0,0,0,0.45); pointer-events: none; }
.theme-hero__scrim-bottom {
	position: absolute; left: 0; right: 0; bottom: 0; height: 33%;
	background: linear-gradient(to top, rgba(0,0,0,0.5), 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;
}
.theme-hero__actions {
	display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1rem;
	margin-top: 2.5rem;
}
@media (min-width: 640px) { .theme-hero__actions { flex-direction: row; } }
.theme-hero__actions .theme-btn-outline-inverse span { display: inline-flex; align-items: center; gap: 0.5rem; }

/* -------------------------------------------------------------------------
   9. SECTIONS / GENERIC LAYOUT
   ------------------------------------------------------------------------- */
.theme-section { background: var(--color-background); }
.theme-section-head { text-align: center; margin-bottom: 2.5rem; }
.theme-section-cta { text-align: center; margin-top: 3.5rem; }

/* Per-section vertical padding — mirrors Index.tsx Section wrappers */
.theme-category-strip .container-wide { padding-top: 4rem; padding-bottom: 4rem; }
@media (min-width: 768px) { .theme-category-strip .container-wide { padding-top: 5rem; padding-bottom: 5rem; } }

.theme-featured-products .container-wide { padding-top: 4rem; padding-bottom: 4rem; }
@media (min-width: 768px) { .theme-featured-products .container-wide { padding-top: 6rem; padding-bottom: 6rem; } }
.theme-featured-products .theme-section-head { margin-bottom: 3.5rem; }

.theme-services-section .container-wide { padding-top: 5rem; padding-bottom: 5rem; }
@media (min-width: 768px) { .theme-services-section .container-wide { padding-top: 7rem; padding-bottom: 7rem; } }

.theme-shop-section .container-wide { padding-top: 4rem; padding-bottom: 4rem; }
@media (min-width: 768px) { .theme-shop-section .container-wide { padding-top: 6rem; padding-bottom: 6rem; } }

/* Category strip */
.theme-category-tiles { display: flex; flex-wrap: wrap; justify-content: center; gap: 1.5rem 2.5rem; padding: 1.5rem 0 1rem; }
.theme-category-tile { display: flex; flex-direction: column; align-items: center; gap: 0.75rem; flex-shrink: 0; }
@media (min-width: 768px) { .theme-category-tile { gap: 1rem; } }
.theme-category-tile__icon {
	width: 6rem; height: 6rem; border-radius: 9999px;
	display: flex; align-items: center; justify-content: center;
	font-size: 2rem; color: color-mix(in srgb, var(--color-foreground) 80%, transparent);
	transition: transform 0.3s ease;
}
@media (min-width: 640px)  { .theme-category-tile__icon { width: 7rem; height: 7rem; } }
@media (min-width: 768px)  { .theme-category-tile__icon { width: 9rem; height: 9rem; font-size: 3rem; } }
.theme-category-tile:hover .theme-category-tile__icon { transform: scale(1.05); }
.theme-category-tile__icon--marigold { background: color-mix(in srgb, var(--color-marigold) 80%, transparent); }
.theme-category-tile__icon--teal { background: color-mix(in srgb, var(--color-teal) 70%, transparent); }
.theme-category-tile__icon--lilac { background: color-mix(in srgb, var(--color-lilac) 70%, transparent); }
.theme-category-tile__icon--primary { background: color-mix(in srgb, var(--color-primary) 70%, transparent); }
.theme-category-tile__icon--accent { background: color-mix(in srgb, var(--color-accent) 70%, transparent); }
.theme-category-tile__label {
	font-size: 11px; font-family: var(--font-body); letter-spacing: 0.18em; text-transform: uppercase;
	color: color-mix(in srgb, var(--color-foreground) 85%, transparent);
}
@media (min-width: 768px) { .theme-category-tile__label { font-size: 14px; } }
.theme-category-tile:hover .theme-category-tile__label { color: var(--color-foreground); }

/* -------------------------------------------------------------------------
   10. PRODUCT GRID / CARD (Sections 31.3, 31.9, 27.1)
   ------------------------------------------------------------------------- */
.theme-product-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 1.5rem;
}
@media (min-width: 768px)  { .theme-product-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2rem; } }
@media (min-width: 1024px) { .theme-product-grid { gap: 2.5rem; } }

.theme-product-grid--featured { grid-template-columns: repeat(1, minmax(0,1fr)); gap: 2rem; }
@media (min-width: 768px) { .theme-product-grid--featured { grid-template-columns: repeat(3, minmax(0,1fr)); gap: 2rem; } }
@media (min-width: 1024px) { .theme-product-grid--featured { gap: 3rem; } }

.theme-product-card-wrap { display: flex; flex-direction: column; height: 100%; transition: transform 0.35s cubic-bezier(0.34, 1.3, 0.64, 1); }
.theme-product-card-wrap:hover { transform: translateY(-4px); }
.theme-product-card { position: relative; display: flex; flex-direction: column; height: 100%; }

.theme-product-card__image-wrapper {
	position: relative;
	aspect-ratio: 1 / 1;
	background: var(--color-card);
	border-radius: 1rem;
	overflow: hidden;
	margin-bottom: 1.25rem;
	border: 1px solid color-mix(in srgb, var(--color-border) 60%, transparent);
	box-shadow: var(--shadow-soft);
	transition: box-shadow 0.5s ease;
}
.theme-product-card__image-wrapper .theme-card-link {
	position: absolute;
	inset: 0;
	z-index: 2;
}
.theme-product-card__image-wrapper .theme-card-add-btn,
.theme-product-card__image-wrapper .add_to_cart_button {
	position: absolute;
	left: 1rem;
	right: 1rem;
	bottom: 1rem;
	top: auto;
	z-index: 3;
	pointer-events: auto;
}
.theme-product-card:hover .theme-product-card__image-wrapper,
.theme-product-card:focus-within .theme-product-card__image-wrapper { box-shadow: var(--shadow-elevated); }
.theme-product-card__image { transition: transform 0.7s var(--transition-smooth); }
.theme-product-card:hover .theme-product-card__image,
.theme-product-card:focus-within .theme-product-card__image { transform: scale(1.05); }
.theme-product-card__image.is-soldout { opacity: 0.6; }

.theme-product-badge {
	position: absolute; top: 1rem; z-index: 4;
	padding: 0.25rem 0.75rem; border-radius: 9999px;
	font-size: 11px; font-family: var(--font-body); font-weight: 600; letter-spacing: 0.02em;
	pointer-events: none;
}
.theme-product-badge--yellow { left: 1rem; background: var(--color-marigold); color: var(--color-foreground); }
.theme-product-badge--soldout { right: 1rem; background: var(--color-foreground); color: var(--color-background); }

.theme-card-add-btn {
	display: block;
	width: auto;
	margin: 0;
	padding: 0.75rem 0;
	border-radius: 9999px;
	background: var(--color-primary);
	color: var(--color-primary-foreground);
	border: 1px solid var(--color-primary);
	font-family: var(--font-body);
	font-size: 11px;
	letter-spacing: 0.22em;
	text-transform: uppercase;
	font-weight: 600;
	text-align: center;
	line-height: 1.2;
	text-decoration: none;
	opacity: 0;
	transform: translateY(8px);
	transition: opacity 0.3s ease, transform 0.3s ease, background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
	box-shadow: var(--shadow-soft);
}
.theme-product-card:hover .theme-card-add-btn,
.theme-product-card:focus-within .theme-card-add-btn { opacity: 1; transform: translateY(0); }
.theme-card-add-btn:hover { background: var(--color-foreground); border-color: var(--color-foreground); color: var(--color-background); }
@media (hover: none) {
	.theme-product-card .theme-card-add-btn { opacity: 1; transform: translateY(0); }
}

.theme-product-card__info { flex: 1; display: flex; flex-direction: column; gap: 0.375rem; padding: 0 0.25rem; min-width: 0; }
.theme-product-card__cat { font-size: 11px; font-family: var(--font-body); text-transform: uppercase; letter-spacing: 0.22em; color: var(--color-accent); font-weight: 600; }
.theme-product-card__title {
	font-size: 1rem; font-family: var(--font-display); font-weight: 500; line-height: 1.3;
	margin: 0;
}
.theme-product-card__title-link {
	color: var(--color-foreground);
	text-decoration: none;
	transition: color 0.3s ease;
	overflow: hidden;
	text-overflow: ellipsis;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
}
@media (min-width: 768px) { .theme-product-card__title { font-size: 1.125rem; } }
.theme-product-card:hover .theme-product-card__title-link,
.theme-product-card:focus-within .theme-product-card__title-link { color: var(--color-primary); }
.theme-product-card__price { font-size: 1rem; font-family: var(--font-display); font-weight: 500; color: color-mix(in srgb, var(--color-foreground) 90%, transparent); }
.theme-product-card__price ins { text-decoration: none; }
.theme-product-card__price del { opacity: 0.5; margin-right: 0.4rem; }

/* Coming soon filler card */
.theme-coming-soon-card { display: flex; flex-direction: column; height: 100%; }
.theme-coming-soon-card__image {
	position: relative; aspect-ratio: 1/1; border-radius: 0.5rem; overflow: hidden;
	background: linear-gradient(to bottom right, color-mix(in srgb, var(--color-butter) 40%, transparent), var(--color-background), color-mix(in srgb, var(--color-lilac) 20%, transparent));
	border: 1px dashed color-mix(in srgb, var(--color-foreground) 15%, transparent);
	display: flex; align-items: center; justify-content: center; text-align: center;
	margin-bottom: 1.25rem; padding: 1.5rem;
}
.theme-coming-soon-card__image svg { color: color-mix(in srgb, var(--color-nopal) 70%, transparent); margin-bottom: 0.75rem; }
.theme-coming-soon-card__eyebrow { font-size: 11px; letter-spacing: 0.28em; text-transform: uppercase; color: color-mix(in srgb, var(--color-foreground) 60%, transparent); }
.theme-coming-soon-card__label { font-family: var(--font-display); font-style: italic; font-size: 1.25rem; color: color-mix(in srgb, var(--color-foreground) 80%, transparent); margin-top: 0.5rem; }
@media (min-width: 768px) { .theme-coming-soon-card__label { font-size: 1.5rem; } }
.theme-coming-soon-card__info { padding: 0 0.25rem; margin-top: 1rem; }
.theme-coming-soon-card__kicker { font-size: 11px; letter-spacing: 0.22em; text-transform: uppercase; color: color-mix(in srgb, var(--color-nopal) 70%, transparent); }
.theme-coming-soon-card__title { font-family: var(--font-display); font-size: 1.125rem; color: color-mix(in srgb, var(--color-foreground) 70%, transparent); margin-top: 0.25rem; }
.theme-coming-soon-card__sub { font-size: 0.875rem; color: var(--color-muted-foreground); margin-top: 0.25rem; }

/* -------------------------------------------------------------------------
   11. ABOUT / STORY SECTION
   ------------------------------------------------------------------------- */
.theme-about-banner {
	position: relative;
	width: 100vw;
	left: 50%;
	right: 50%;
	margin-left: -50vw;
	margin-right: -50vw;
	height: 42vh;
	min-height: 280px;
	overflow: hidden;
}
@media (min-width: 768px) { .theme-about-banner { height: 55vh; } }
.theme-about-section__inner { padding-top: 5rem; padding-bottom: 6rem; }
@media (min-width: 768px) { .theme-about-section__inner { padding-top: 7rem; padding-bottom: 8rem; } }

.theme-about-chapter { display: grid; grid-template-columns: 1fr; gap: 3rem; align-items: center; margin-bottom: 6rem; }
@media (min-width: 768px) { .theme-about-chapter { margin-bottom: 8rem; } }
@media (min-width: 1024px) { .theme-about-chapter { grid-template-columns: 5fr 7fr; gap: 4rem; } }
.about-section.section-heading { margin-bottom: 2rem; }
.theme-about-chapter__paragraph { color: color-mix(in srgb, var(--color-foreground) 80%, transparent); line-height: 1.7; font-size: 1rem; margin-top: 0; margin-bottom: 2rem; }
@media (min-width: 768px) { .theme-about-chapter__paragraph { font-size: 1.125rem; } }
.theme-about-chapter__quote { display: flex; align-items: center; gap: 1rem; }
.theme-about-chapter__quote-line { width: 2.5rem; height: 1px; background: color-mix(in srgb, var(--color-foreground) 20%, transparent); }
.theme-about-chapter__quote span:last-child { font-size: 0.875rem; font-style: italic; font-family: var(--font-display); color: color-mix(in srgb, var(--color-foreground) 70%, transparent); }
.theme-about-chapter__image { position: relative; height: 42vh; min-height: 280px; border-radius: 1rem; overflow: hidden; box-shadow: var(--shadow-elevated); }
@media (min-width: 768px) { .theme-about-chapter__image { height: 55vh; } }

.theme-craft { margin-bottom: 6rem; }
@media (min-width: 768px) { .theme-craft { margin-bottom: 8rem; } }
.theme-craft__head { text-align: center; max-width: 42rem; margin: 0 auto 3.5rem; }
.theme-craft__head h3 { font-size: 1.875rem; margin-bottom: 0.75rem; }
@media (min-width: 768px) { .theme-craft__head h3 { font-size: 2.25rem; } }
.theme-craft__head p { color: var(--color-nopal); font-size: 11px; text-transform: uppercase; letter-spacing: 0.32em; }
.theme-craft__grid { display: grid; grid-template-columns: 1fr; gap: 2.5rem; }
@media (min-width: 768px) { .theme-craft__grid { grid-template-columns: repeat(3, 1fr); gap: 3rem; } }
.theme-craft__step { display: flex; flex-direction: column; gap: 1.25rem; }
.theme-craft__num {
	width: 3rem; height: 3rem; border-radius: 9999px; border: 1px solid color-mix(in srgb, var(--color-primary) 30%, transparent);
	display: flex; align-items: center; justify-content: center; color: var(--color-primary); font-style: italic; font-family: var(--font-display);
}
.theme-craft__step h4 { font-size: 1.25rem; }
@media (min-width: 768px) { .theme-craft__step h4 { font-size: 1.5rem; } }
.theme-craft__step p { font-size: 0.875rem; line-height: 1.7; color: color-mix(in srgb, var(--color-foreground) 75%, transparent); }
@media (min-width: 768px) { .theme-craft__step p { font-size: 1rem; } }

.theme-philosophy { background: var(--color-foreground); color: var(--color-background); border-radius: 1.5rem; padding: 2.5rem 1.5rem; text-align: center; }
@media (min-width: 768px) { .theme-philosophy { padding: 5rem 3.5rem; } }
.theme-philosophy__inner { max-width: 48rem; margin: 0 auto; }
.theme-philosophy__text { font-weight: 300; font-size: 1.5rem; line-height: 1.375; margin-bottom: 4rem; }
@media (min-width: 768px) { .theme-philosophy__text { font-size: 2.25rem; } }
.theme-philosophy__text em { font-style: italic; }
.theme-philosophy__stats {
	display: grid; grid-template-columns: 1fr; gap: 2rem;
	padding-top: 2.5rem; margin-bottom: 0;
	border-top: 1px solid rgba(255,255,255,0.1);
}
@media (min-width: 768px) { .theme-philosophy__stats { grid-template-columns: repeat(3, 1fr); padding-top: 3rem; } }
.theme-philosophy__stat-value { font-family: var(--font-display); font-size: 1.125rem; margin-bottom: 0.25rem; }
@media (min-width: 768px) { .theme-philosophy__stat-value { font-size: 1.5rem; } }
.theme-philosophy__stat-label { font-size: 10px; text-transform: uppercase; letter-spacing: 0.28em; opacity: 0.6; }
.theme-philosophy .theme-link-underline { margin-top: 3rem; display: inline-block; }

/* -------------------------------------------------------------------------
   12. SERVICES
   ------------------------------------------------------------------------- */
.theme-services-section { background: #F2EBE3; }
.theme-services__head { display: flex; flex-direction: column; margin-bottom: 3rem; text-align: center; }
@media (min-width: 768px) { .theme-services__head { flex-direction: row; align-items: flex-end; justify-content: space-between; text-align: left; margin-bottom: 4rem; } }
.theme-services__head-rule { display: none; width: 4rem; height: 1px; background: color-mix(in srgb, var(--color-primary) 40%, transparent); }
@media (min-width: 768px) { .theme-services__head-rule { display: block; } }
.theme-services__grid { display: grid; grid-template-columns: 1fr; gap: 1.25rem; }
@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, minmax(0,1fr)); gap: 1.5rem; } }
.theme-service-card {
	display: flex; flex-direction: column; padding: 2rem;
	border: 1px solid color-mix(in srgb, var(--color-nopal) 25%, transparent);
	background: color-mix(in srgb, white 30%, transparent);
	border-radius: 4px;
	transition: border-color 0.2s ease;
}
.theme-service-card:hover { border-color: color-mix(in srgb, var(--color-nopal) 50%, transparent); }
.theme-service-card__icon { margin-bottom: 2rem; color: var(--color-nopal); }
.theme-service-card h3 { font-size: 1.25rem; margin-bottom: 0.75rem; }
.theme-service-card p { font-size: 0.75rem; line-height: 1.7; color: color-mix(in srgb, var(--color-foreground) 70%, transparent); margin-bottom: 1.5rem; }
.theme-service-card__cta { margin-top: auto; font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.22em; color: var(--color-marigold); transition: color 0.2s ease; }
.theme-service-card:hover .theme-service-card__cta { color: var(--color-primary); }

/* -------------------------------------------------------------------------
   13. SHOP SECTION (search / filters / dual price range)
   ------------------------------------------------------------------------- */
.theme-shop__head { text-align: center; margin-bottom: 3rem; width: 100%; max-width: 100%; min-width: 0; }
.theme-shop__search { position: relative; max-width: 28rem; 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);
}
.theme-shop__search input:focus { outline: none; border-color: var(--color-foreground); }
.theme-shop__search input::placeholder { color: var(--color-muted-foreground); }

.theme-shop__cats-wrap {
	width: 100%;
	max-width: 100%;
	min-width: 0;
	overflow: hidden;
	margin-bottom: 1rem;
}
@media (max-width: 767px) {
	.theme-shop__cats-wrap {
		margin-left: -1.5rem;
		margin-right: -1.5rem;
		padding-left: 1.5rem;
		padding-right: 1.5rem;
	}
}
@media (min-width: 768px) {
	.theme-shop__cats-wrap {
		overflow: visible;
	}
}

.theme-shop__cats {
	display: flex;
	flex-wrap: nowrap;
	align-items: center;
	gap: 0.5rem;
	width: 100%;
	max-width: 100%;
	min-width: 0;
	overflow-x: auto;
	overflow-y: hidden;
	-webkit-overflow-scrolling: touch;
	overscroll-behavior-x: contain;
	padding-bottom: 0.375rem;
	justify-content: flex-start;
	scrollbar-width: none;
	scroll-snap-type: x proximity;
}
.theme-shop__cats::-webkit-scrollbar { display: none; }
@media (min-width: 768px) {
	.theme-shop__cats {
		flex-wrap: wrap;
		justify-content: center;
		overflow: visible;
		padding-bottom: 0;
		scroll-snap-type: none;
	}
}
.theme-cat-filter {
	flex-shrink: 0;
	scroll-snap-align: start;
	padding: 0.5rem 1.25rem;
	font-size: 12px;
	letter-spacing: 0.2em;
	text-transform: uppercase;
	border-radius: 9999px;
	border: 1px solid var(--color-border);
	color: var(--color-foreground);
	background: transparent;
	transition: all 0.3s ease;
	white-space: nowrap;
}
.theme-cat-filter:hover { border-color: var(--color-lilac); color: var(--color-lilac); }
.theme-cat-filter.is-active { background: var(--color-teal); color: var(--color-background); border-color: var(--color-teal); }

.theme-shop__price-toggle-wrap { 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-toggle.is-open svg { transform: rotate(180deg); }
.theme-shop__price-panel {
	width: 100%; max-width: 24rem; overflow: hidden; height: 0; opacity: 0;
	transition: height 0.3s var(--transition-smooth), opacity 0.3s var(--transition-smooth);
}
.theme-shop__price-panel.is-open { height: auto; opacity: 1; }
.theme-shop__price-values { display: flex; justify-content: space-between; font-size: 0.875rem; color: var(--color-muted-foreground); margin-top: 0.5rem; }

/* Dual-handle price range slider (Section 31.4) */
.price-range-wrapper { position: relative; height: 1.5rem; margin-top: 0.5rem; }
.range-track-bg, .range-track-fill { position: absolute; height: 4px; top: 50%; transform: translateY(-50%); pointer-events: none; border-radius: 9999px; }
.range-track-bg { left: 0; right: 0; 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: 9999px;
	background: var(--color-background); border: 2px solid var(--color-primary); cursor: pointer;
	margin-top: 0;
}
.range-input::-moz-range-thumb { pointer-events: auto; width: 18px; height: 18px; border-radius: 9999px; background: var(--color-background); border: 2px solid var(--color-primary); cursor: pointer; }
.range-input::-webkit-slider-runnable-track { background: transparent; }
.range-input::-moz-range-track { background: transparent; }
.range-input--max { z-index: 3; }
.range-input--min { z-index: 4; }

.theme-shop-grid__item.theme-hidden-overflow { display: none; }
.theme-shop-grid__item.theme-filtered-out { display: none; }
.theme-shop-grid__item--filler.theme-filler-hidden { display: none; }
.theme-shop__empty { text-align: center; padding: 5rem 0; color: var(--color-muted-foreground); }
.theme-shop__show-more { text-align: center; margin-top: 3rem; }
.theme-shop__show-more .theme-btn { border-color: var(--color-teal); color: var(--color-teal); }
.theme-shop__show-more .theme-btn:hover { background: var(--color-teal); color: var(--color-background); }

/* -------------------------------------------------------------------------
   14. FINAL CTA
   ------------------------------------------------------------------------- */
.theme-final-cta { position: relative; overflow: hidden; }
.theme-final-cta__media { position: relative; min-height: 640px; display: flex; align-items: center; justify-content: center; }
@media (min-width: 768px) { .theme-final-cta__media { min-height: 720px; } }
.theme-final-cta__scrim { position: absolute; inset: 0; background: rgba(0,0,0,0.55); pointer-events: none; }
.theme-final-cta__scrim-gradient { position: absolute; inset: 0; background: linear-gradient(to bottom, rgba(0,0,0,0.3), transparent, rgba(0,0,0,0.4)); pointer-events: none; }
.theme-final-cta__content { position: relative; z-index: 10; max-width: 42rem; margin: 0 auto; text-align: center; padding: 6rem 1.5rem; }
@media (min-width: 768px) { .theme-final-cta__content { padding: 8rem 2.5rem; } }
.theme-final-cta__content .cta-band__title { color: var(--color-background); margin-bottom: 1.75rem; }
.theme-final-cta__paragraph { color: rgba(255,255,255,0.9); line-height: 1.7; font-size: 1rem; max-width: 36rem; margin: 0 auto 2.5rem; }
@media (min-width: 768px) { .theme-final-cta__paragraph { font-size: 1.125rem; } }
.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; } }

/* -------------------------------------------------------------------------
   15. FOOTER
   ------------------------------------------------------------------------- */
.site-footer { border-top: 1px solid var(--color-border); background: var(--color-butter); }
.site-footer__inner { padding-top: 4rem; padding-bottom: 4rem; }
@media (min-width: 1024px) { .site-footer__inner { padding-top: 5rem; padding-bottom: 5rem; } }
.site-footer__top {
	display: flex; flex-direction: column; gap: 1.5rem;
	margin-bottom: 3rem; padding-bottom: 2.5rem; border-bottom: 1px solid var(--color-border);
}
@media (min-width: 640px) { .site-footer__top { flex-direction: row; align-items: center; justify-content: space-between; } }
.site-footer__logo-img { height: 4rem; }
@media (min-width: 640px) { .site-footer__logo-img { height: 5rem; } }
.site-footer__blurb { max-width: 36rem; }
@media (min-width: 640px) { .site-footer__blurb { text-align: right; } }
.site-footer__tagline { font-size: 0.875rem; color: color-mix(in srgb, var(--color-foreground) 70%, transparent); line-height: 1.7; }
.site-footer__email { margin-top: 0.75rem; font-size: 0.875rem; color: color-mix(in srgb, var(--color-foreground) 70%, transparent); }
.site-footer__email a:hover { color: var(--color-foreground); }

.site-footer__columns { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2.5rem; }
@media (min-width: 768px) { .site-footer__columns { grid-template-columns: repeat(4, 1fr); gap: 2.5rem; } }
@media (min-width: 1024px) { .site-footer__columns { gap: 3rem; } }
.site-footer__column--reach { grid-column: span 2; }
@media (min-width: 768px) { .site-footer__column--reach { grid-column: span 1; } }
.site-footer__column h3 { font-size: 1.5rem; margin-bottom: 1.25rem; }
.site-footer__column ul { display: flex; flex-direction: column; gap: 0.75rem; }
.site-footer__column li a,
.site-footer__column li button {
	font-size: 0.875rem; color: color-mix(in srgb, var(--color-foreground) 70%, transparent);
	transition: color 0.2s ease; text-align: left;
}
.site-footer__column li a:hover, .site-footer__column li button:hover { color: var(--color-foreground); }
.site-footer__column p { font-size: 0.875rem; color: color-mix(in srgb, var(--color-foreground) 70%, transparent); line-height: 1.7; margin-bottom: 1.25rem; }
.site-footer__reach-email { display: inline-flex; align-items: center; gap: 0.5rem; color: color-mix(in srgb, var(--color-foreground) 80%, transparent); }

.site-footer__bottom {
	margin-top: 3.5rem; padding-top: 1.5rem; border-top: 1px solid var(--color-border);
	display: flex; flex-direction: column; align-items: center; gap: 0.75rem; text-align: center;
}
@media (min-width: 640px) { .site-footer__bottom { flex-direction: row; justify-content: space-between; text-align: left; } }
.site-footer__bottom p { font-size: 12px; color: var(--color-muted-foreground); letter-spacing: 0.02em; }
.site-footer__bottom a:hover { color: var(--color-foreground); }

/* -------------------------------------------------------------------------
   16. CONTACT MODAL
   ------------------------------------------------------------------------- */
.theme-modal-overlay {
	position: fixed; inset: 0; background: rgba(0,0,0,0.5); z-index: 90;
	opacity: 0; pointer-events: none; transition: opacity 0.3s ease;
}
body.contact-open .theme-modal-overlay { opacity: 1; pointer-events: auto; }

.theme-contact-modal {
	position: fixed; top: 50%; left: 50%; transform: translate(-50%, -48%) scale(0.96);
	width: 92%; max-width: 32rem; max-height: 90vh; overflow-y: auto;
	background: var(--color-background); border-radius: 1rem; box-shadow: var(--shadow-elevated);
	z-index: 91; padding: 2rem; opacity: 0; pointer-events: none;
	transition: opacity 0.25s ease, transform 0.25s ease;
}
body.contact-open .theme-contact-modal { opacity: 1; transform: translate(-50%, -50%) scale(1); pointer-events: auto; }
.theme-contact-modal__close { position: absolute; top: 1.25rem; right: 1.25rem; opacity: 0.7; transition: opacity 0.2s ease; }
.theme-contact-modal__close:hover { opacity: 1; }
.theme-contact-modal__title { font-family: var(--font-display); font-size: 1.5rem; margin-bottom: 0.5rem; }
.theme-contact-modal__description { color: var(--color-muted-foreground); font-size: 0.9rem; line-height: 1.6; }
.theme-contact-modal__meta { display: flex; align-items: center; gap: 0.5rem; margin: 1rem 0 1.5rem; font-size: 0.875rem; color: var(--color-muted-foreground); }
.theme-contact-form__row { display: grid; grid-template-columns: 1fr; gap: 1rem; margin-bottom: 1rem; }
@media (min-width: 640px) { .theme-contact-form__row { grid-template-columns: 1fr 1fr; } }
.theme-contact-form__field { margin-bottom: 1rem; }
.theme-contact-form__field label { display: block; font-size: 0.875rem; font-weight: 500; margin-bottom: 0.375rem; }
.theme-contact-form__field input,
.theme-contact-form__field textarea {
	width: 100%; padding: 0.625rem 0.75rem; background: var(--color-background);
	border: 1px solid var(--color-border); border-radius: 0.5rem; font-size: 1rem;
	transition: box-shadow 0.3s ease;
}
.theme-contact-form__field input:focus, .theme-contact-form__field textarea:focus {
	outline: none; box-shadow: 0 0 0 2px color-mix(in srgb, var(--color-primary) 50%, transparent);
}
.theme-contact-form__field textarea { resize: none; }
.theme-contact-form__actions { display: flex; justify-content: flex-end; }
.theme-contact-success { text-align: center; padding: 2rem 0; }
.theme-contact-success__icon {
	width: 3.5rem; height: 3.5rem; border-radius: 9999px; background: var(--color-primary); color: var(--color-primary-foreground);
	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; }

/* -------------------------------------------------------------------------
   17. SIDE CART DRAWER (Section 12)
   ------------------------------------------------------------------------- */
#theme-cart-overlay {
	position: fixed; inset: 0; background: color-mix(in srgb, var(--color-foreground) 20%, transparent);
	z-index: 95; 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: 96; box-shadow: var(--shadow-elevated);
	display: flex; flex-direction: column; transform: translateX(100%);
	transition: transform 0.4s 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__header h2 { font-family: var(--font-display); font-size: 1.125rem; font-weight: 700; }
.theme-cart-drawer__close { padding: 0.25rem; opacity: 0.7; transition: opacity 0.2s ease; }
.theme-cart-drawer__close:hover { opacity: 1; }

.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 svg { color: var(--color-muted-foreground); }
.theme-cart-drawer__empty p { 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 { width: 5rem; height: 6rem; flex-shrink: 0; overflow: hidden; border-radius: 0.5rem; position: relative; background: var(--color-secondary); }
.theme-cart-item__info { flex: 1; min-width: 0; }
.theme-cart-item__title { font-size: 0.875rem; font-weight: 500; display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; transition: opacity 0.2s ease; }
.theme-cart-item__title:hover { opacity: 0.7; }
.theme-cart-item__price { font-size: 0.875rem; color: var(--color-muted-foreground); margin-top: 0.125rem; }
.theme-cart-item__variation { font-size: 0.75rem; color: var(--color-muted-foreground); margin-top: 0.25rem; }
.theme-cart-item__controls { display: flex; align-items: center; gap: 0.75rem; margin-top: 0.75rem; }
.theme-cart-item__qty-btn { padding: 0.25rem; border-radius: 0.25rem; transition: background-color 0.2s ease; }
.theme-cart-item__qty-btn:hover { background: var(--color-secondary); }
.theme-cart-item__qty { font-size: 0.875rem; width: 1.5rem; text-align: center; }
.theme-cart-item__remove { margin-left: auto; font-size: 0.875rem; color: var(--color-muted-foreground); transition: color 0.2s ease; }
.theme-cart-item__remove:hover { color: var(--color-foreground); }

.theme-cart-drawer__footer { padding: 1.5rem; border-top: 1px solid var(--color-border); display: flex; flex-direction: column; gap: 1rem; }
.theme-cart-drawer__subtotal { display: flex; justify-content: space-between; font-size: 0.875rem; }
.theme-cart-drawer__subtotal span:first-child { color: var(--color-muted-foreground); }
.theme-cart-drawer__subtotal span:last-child { font-weight: 500; }
.theme-cart-drawer__note { font-size: 0.875rem; color: var(--color-muted-foreground); }
.theme-cart-drawer__checkout { width: 100%; padding-top: 0.875rem; padding-bottom: 0.875rem; }
.theme-cart-drawer__empty-btn { width: 100%; padding-top: 0.5rem; padding-bottom: 0.5rem; font-size: 11px; }

/* Hide WooCommerce injected "View cart" link (Section 11.4.2) */
.woocommerce-page a.added_to_cart.wc-forward,
.single-product a.added_to_cart.wc-forward,
body a.added_to_cart.wc-forward { display: none !important; }

/* Add to cart loading state (Section 31.8) */
.ajax_add_to_cart.theme-btn-loading { opacity: 0.6 !important; pointer-events: none !important; cursor: wait !important; }
.single-product .single_add_to_cart_button.loading::after,
.ajax_add_to_cart.loading::after { display: none !important; }

/* WooCommerce notices — scoped visibility (Section 14.1) */
.single-product .woocommerce-message,
.single-product .woocommerce-info { display: none; }
#theme-cart-drawer .woocommerce-message { display: none; }
.woocommerce-message, .woocommerce-info, .woocommerce-error {
	font-family: var(--font-body); border-radius: var(--radius); padding: 1rem 1.5rem;
	border-top-width: 3px; background: var(--color-secondary); color: var(--color-foreground);
	list-style: none; margin-bottom: 1.5rem;
}
.woocommerce-error { border-top-color: #b3261e; }

/* -------------------------------------------------------------------------
   18. WOOCOMMERCE — ADD TO CART BUTTON 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;
}
/* Card compact button override — reset WooCommerce globals inside image overlay */
.theme-product-card .theme-card-add-btn,
.theme-product-card .add_to_cart_button.ajax_add_to_cart {
	position: absolute !important;
	left: 1rem !important;
	right: 1rem !important;
	bottom: 1rem !important;
	top: auto !important;
	width: auto !important;
	min-height: unset !important;
	height: auto !important;
	padding: 0.75rem 0 !important;
	margin: 0 !important;
	display: block !important;
	align-items: unset !important;
	justify-content: unset !important;
	border-radius: 9999px !important;
	font-family: var(--font-body) !important;
	font-size: 11px !important;
	font-weight: 600 !important;
	letter-spacing: 0.22em !important;
	text-transform: uppercase !important;
	line-height: 1.2 !important;
	background-color: var(--color-primary) !important;
	color: var(--color-primary-foreground) !important;
	border: 1px solid var(--color-primary) !important;
	box-shadow: var(--shadow-soft) !important;
	opacity: 0;
	transform: translateY(8px);
	transition: opacity 0.3s ease, transform 0.3s ease, background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease !important;
}
.theme-product-card:hover .theme-card-add-btn,
.theme-product-card:focus-within .theme-card-add-btn {
	opacity: 1 !important;
	transform: translateY(0) !important;
}
.theme-product-card .theme-card-add-btn:hover,
.theme-product-card .add_to_cart_button.ajax_add_to_cart:hover {
	opacity: 1 !important;
	background-color: var(--color-foreground) !important;
	border-color: var(--color-foreground) !important;
	color: var(--color-background) !important;
}
@media (hover: none) {
	.theme-product-card .theme-card-add-btn,
	.theme-product-card .add_to_cart_button.ajax_add_to_cart {
		opacity: 1 !important;
		transform: translateY(0) !important;
	}
}

/* -------------------------------------------------------------------------
   19. SINGLE PRODUCT PAGE
   ------------------------------------------------------------------------- */
.theme-single-product { padding-top: 6rem; padding-bottom: 6rem; }
@media (min-width: 1024px) { .theme-single-product { padding-top: 7rem; } }

.theme-breadcrumb { padding: 1.5rem 0; font-size: 13px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--color-muted-foreground); }
.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); }

.theme-product-layout { display: grid; grid-template-columns: 1fr; gap: 2.5rem; padding-top: 1rem; padding-bottom: 6rem; align-items: start; min-width: 0; }
@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%; }
.theme-product-gallery__main { position: relative; aspect-ratio: 1/1; background: var(--color-secondary); overflow: hidden; border-radius: 0.5rem; }
.theme-product-thumbnails { display: flex; gap: 0.75rem; margin-top: 1rem; flex-wrap: wrap; max-width: 100%; }
.theme-product-thumb { position: relative; width: 5rem; height: 5rem; flex-shrink: 0; overflow: hidden; background: var(--color-secondary); border-radius: 0.375rem; opacity: 0.6; transition: opacity 0.2s ease; }
.theme-product-thumb:hover, .theme-product-thumb.is-active { opacity: 1; }
.theme-product-thumb::after {
	content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--color-foreground);
	opacity: 0; transition: opacity 0.2s ease;
}
.theme-product-thumb.is-active::after { opacity: 1; }

.theme-product-info__card { background: var(--color-card); border: 1px solid color-mix(in srgb, var(--color-border) 60%, transparent); border-radius: 1rem; padding: 2rem; box-shadow: var(--shadow-soft); }
@media (min-width: 1024px) { .theme-product-info__card { padding: 2.5rem; } }
.theme-product-info__cat { font-size: 11px; letter-spacing: 0.25em; text-transform: uppercase; color: var(--color-accent); font-weight: 600; }
.product-title { font-family: var(--font-body); font-weight: 600; font-size: 1.875rem; line-height: 1.1; margin-top: 0.75rem; margin-bottom: 1.25rem; }
@media (min-width: 768px) { .product-title { font-size: 2.25rem; } }
@media (min-width: 1024px) { .product-title { font-size: 2.75rem; } }
.theme-product-info__price { font-size: 1.5rem; font-family: var(--font-display); font-weight: 500; color: var(--color-primary); margin-bottom: 1.5rem; }
.theme-product-info__stock.is-out { color: #b3261e; font-weight: 600; margin-bottom: 1rem; }
.theme-product-info__desc { color: var(--color-muted-foreground); line-height: 1.7; margin-bottom: 2rem; overflow-wrap: break-word; word-break: break-word; }
.theme-product-info__desc p:not(:last-child) { margin-bottom: 1em; }

.theme-add-to-cart-area { display: flex; align-items: stretch; flex-wrap: wrap; gap: 0.75rem; margin-top: 1rem; }
.theme-quantity-wrapper { display: inline-flex; align-items: center; border: 1px solid var(--color-border); border-radius: var(--btn-radius); overflow: hidden; }
.theme-qty-minus, .theme-qty-plus { padding: 0.75rem 1rem; transition: background-color 0.2s ease; }
.theme-qty-minus:hover, .theme-qty-plus:hover { background: var(--color-secondary); }
.theme-qty-input { width: 3rem; text-align: center; border: none; background: transparent; -moz-appearance: textfield; }
.theme-qty-input::-webkit-outer-spin-button, .theme-qty-input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.theme-add-to-cart-area .single_add_to_cart_button { flex: 1 1 auto; min-width: 160px; }

.theme-product-info__details { margin-top: 2.5rem; padding-top: 1.75rem; border-top: 1px solid var(--color-border); }
.theme-product-info__details-title { font-size: 13px; letter-spacing: 0.25em; text-transform: uppercase; margin-bottom: 1rem; }
.theme-product-info__details-body { color: var(--color-muted-foreground); font-size: 0.95rem; line-height: 1.7; overflow-wrap: break-word; word-break: break-word; }
.theme-product-info__details-body ul { display: flex; flex-direction: column; gap: 0.5rem; }
.theme-product-info__details-body li { display: flex; align-items: flex-start; }
.theme-product-info__details-body li::before {
	content: ''; width: 4px; height: 4px; border-radius: 9999px; background: var(--color-foreground);
	margin-top: 0.55em; margin-right: 0.75rem; flex-shrink: 0;
}

.theme-related-products { padding: 5rem 0; border-top: 1px solid var(--color-border); }
.theme-related-products__head { text-align: center; margin-bottom: 3rem; }
.theme-related-products__eyebrow { font-family: var(--font-display); font-style: italic; font-size: 1rem; color: var(--color-muted-foreground); margin-bottom: 0.5rem; }
.theme-related-products__head h2 { font-size: 1.875rem; font-weight: 400; }
@media (min-width: 768px) { .theme-related-products__head h2 { font-size: 2.25rem; } }
.theme-related-products__grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
@media (min-width: 1024px) { .theme-related-products__grid { grid-template-columns: repeat(4, minmax(0,1fr)); } }

/* Variations table layout (Section 11.5.1) */
.single-product .variations.shop_attributes tbody,
.single-product .variations tbody tr,
.single-product .variations tbody td { display: block; width: 100%; }
.single-product .variations tbody td.label { padding-bottom: 0.25rem; }
.single-product .variations tbody td.value { padding-top: 0; }
.theme-attr-select-hidden { display: none !important; }

/* Responsive safety (Section 11.13) */
.single-product .woocommerce-product-details__short-description,
.single-product .woocommerce-variation-description,
.single-product .posted_in { overflow-wrap: break-word; word-break: break-word; }

/* -------------------------------------------------------------------------
   20. SHOP ARCHIVE
   ------------------------------------------------------------------------- */
.theme-shop-archive__inner { padding-top: 7rem; padding-bottom: 6rem; }
.theme-shop-archive .page-title { font-size: 2.25rem; margin-bottom: 2.5rem; text-align: center; }
.theme-archive-grid { margin-bottom: 3rem; }
.theme-archive-pagination { display: flex; justify-content: center; gap: 0.5rem; }
.theme-archive-pagination .page-numbers { padding: 0.5rem 0.875rem; border: 1px solid var(--color-border); border-radius: 0.375rem; }
.theme-archive-pagination .page-numbers.current { background: var(--color-primary); color: var(--color-primary-foreground); border-color: var(--color-primary); }
.theme-shop-archive__empty { text-align: center; padding: 4rem 0; color: var(--color-muted-foreground); }

/* -------------------------------------------------------------------------
   21. 404 / GENERIC PAGE
   ------------------------------------------------------------------------- */
.theme-404__inner, .theme-generic-page__inner, .theme-page__inner { padding-top: 8rem; padding-bottom: 8rem; text-align: center; }
.theme-404__code { font-size: 3rem; 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; }
.theme-404__link:hover { opacity: 0.9; }
.page-title { font-size: 2rem; font-weight: 700; margin-bottom: 1.5rem; }

/* -------------------------------------------------------------------------
   22. CHECKOUT & CART BLOCKS (Section 13)
   Styled for WooCommerce Blocks — not legacy [woocommerce_checkout] shortcodes.
   Checkout layout targets real DOM: .wc-block-components-sidebar-layout,
   .wc-block-checkout-sidebar-layout, .wc-block-components-notices.
   ------------------------------------------------------------------------- */
body.woocommerce-cart .site-main,
body.woocommerce-checkout .site-main { padding-top: var(--header-height); padding-bottom: 4rem; }

body.woocommerce-cart .theme-page__inner,
body.woocommerce-checkout .theme-page__inner {
	text-align: left;
	padding-top: 3rem;
	padding-bottom: 5rem;
}
body.woocommerce-checkout .page-title,
body.woocommerce-cart .page-title { text-align: left; }

/* Prevent parent wrappers from compressing the checkout block */
body.woocommerce-checkout .site-main,
body.woocommerce-checkout .theme-page__inner,
body.woocommerce-checkout .entry-content,
body.woocommerce-checkout .woocommerce,
body.woocommerce-checkout article,
body.woocommerce-checkout #page-content,
.entry-content .wp-block-woocommerce-checkout,
.entry-content .wc-block-checkout {
	width: 100%;
	min-width: 0;
	max-width: none;
	box-sizing: border-box;
}

/* Checkout block root — desired width, centered */
body.woocommerce-checkout .entry-content .wp-block-woocommerce-checkout,
body.woocommerce-checkout .entry-content .wc-block-checkout,
.entry-content .wp-block-woocommerce-checkout,
.entry-content .wc-block-checkout {
	max-width: 80rem;
	margin-left: auto;
	margin-right: auto;
}

/* Notices — full content width, aligned with checkout (class uses "notices") */
body.woocommerce-checkout .wc-block-components-notices,
body.woocommerce-checkout .wc-block-checkout > .wc-block-components-notices,
.entry-content .wc-block-checkout > .wc-block-components-notices,
.entry-content .wc-block-components-notices {
	max-width: 80rem;
	margin-left: auto;
	margin-right: auto;
	width: 100%;
	box-sizing: border-box;
}

/* Sidebar layout — 2-column grid (form + order summary) */
body.woocommerce-checkout .wc-block-components-sidebar-layout,
body.woocommerce-checkout .wc-block-checkout-sidebar-layout,
body.woocommerce-checkout .wc-block-components-sidebar-layout.wc-block-checkout,
.entry-content .wc-block-checkout .wc-block-components-sidebar-layout,
.entry-content .wc-block-checkout .wc-block-checkout-sidebar-layout {
	display: grid;
	width: 100%;
	min-width: 0;
	max-width: 100%;
	box-sizing: border-box;
	gap: var(--checkout-gap);
	align-items: start;
}

@media (min-width: 768px) {
	body.woocommerce-checkout .wc-block-components-sidebar-layout,
	body.woocommerce-checkout .wc-block-checkout-sidebar-layout,
	body.woocommerce-checkout .wc-block-components-sidebar-layout.wc-block-checkout,
	body.woocommerce-checkout .wc-block-components-sidebar-layout.wc-block-checkout.is-large,
	body.woocommerce-checkout .wc-block-checkout.is-large,
	.entry-content .wc-block-checkout .wc-block-components-sidebar-layout,
	.entry-content .wc-block-checkout .wc-block-checkout-sidebar-layout {
		grid-template-columns: 1fr minmax(360px, 400px);
	}

	/* First child notices inside layout — full width row */
	body.woocommerce-checkout .wc-block-components-sidebar-layout > .wc-block-components-notices:first-child,
	body.woocommerce-checkout .wc-block-checkout-sidebar-layout > .wc-block-components-notices:first-child,
	.entry-content .wc-block-checkout .wc-block-components-sidebar-layout > .wc-block-components-notices:first-child {
		grid-column: 1 / -1;
		order: 1;
		max-width: none;
	}

	body.woocommerce-checkout .wc-block-checkout__main,
	body.woocommerce-checkout .wc-block-components-main,
	body.woocommerce-checkout .wp-block-woocommerce-checkout-fields-block,
	.entry-content .wc-block-checkout .wc-block-checkout__main,
	.entry-content .wc-block-checkout .wc-block-components-main {
		order: 2;
		min-width: 0;
		width: 100%;
		max-width: 100%;
		box-sizing: border-box;
	}

	body.woocommerce-checkout .wc-block-checkout__sidebar,
	body.woocommerce-checkout .wc-block-components-sidebar,
	body.woocommerce-checkout .wp-block-woocommerce-checkout-totals-block,
	.entry-content .wc-block-checkout .wc-block-checkout__sidebar,
	.entry-content .wc-block-checkout .wc-block-components-sidebar {
		order: 3;
		min-width: 360px;
		width: 100%;
		max-width: 100%;
		box-sizing: border-box;
	}
}

body.woocommerce-checkout .wp-block-woocommerce-checkout-order-summary-block,
body.woocommerce-checkout .wc-block-components-order-summary,
.entry-content .wc-block-checkout .wp-block-woocommerce-checkout-order-summary-block {
	width: 100%;
	min-width: 0;
	max-width: 100%;
	box-sizing: border-box;
}

body.woocommerce-checkout .wc-block-checkout__sidebar,
body.woocommerce-cart .wc-block-cart__totals-title,
body.woocommerce-cart .wp-block-woocommerce-cart-order-summary-block {
	background-color: var(--color-secondary);
	border-radius: var(--card-radius);
}
body.woocommerce-checkout .wc-block-checkout__sidebar,
body.woocommerce-checkout .wp-block-woocommerce-checkout-totals-block {
	padding: 2rem;
}

body.woocommerce-checkout .wc-block-checkout__main,
body.woocommerce-checkout .wc-block-checkout__sidebar,
body.woocommerce-cart .wc-block-cart,
body.woocommerce-cart .wc-block-cart__main { min-width: 0; width: 100%; max-width: 100%; box-sizing: border-box; }

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,
body.woocommerce-cart .wc-block-components-text-input input,
body.woocommerce-cart .wc-block-components-quantity-selector input {
	width: 100% !important;
	max-width: none !important;
	font-family: var(--font-body);
	border: 1px solid var(--color-border);
	border-radius: 0.5rem;
	background-color: var(--color-background);
	color: var(--color-foreground);
	padding: revert;
	box-sizing: border-box;
}
body.woocommerce-checkout .wc-block-components-text-input input:focus,
body.woocommerce-checkout .wc-block-components-select select:focus,
body.woocommerce-cart .wc-block-components-text-input input:focus {
	outline: none;
	box-shadow: 0 0 0 2px color-mix(in srgb, var(--color-primary) 40%, transparent);
}
body.woocommerce-checkout .wc-block-components-checkout-place-order-button,
body.woocommerce-cart .wc-block-cart__submit-button,
body.woocommerce-cart .wc-block-components-button.wc-block-cart__submit-button {
	background-color: var(--color-primary) !important;
	color: var(--color-primary-foreground) !important;
	border-radius: var(--btn-radius) !important;
	font-family: var(--font-body) !important;
	text-transform: none !important;
	font-weight: 600 !important;
}
body.woocommerce-checkout .wc-block-components-checkout-place-order-button:hover,
body.woocommerce-cart .wc-block-cart__submit-button:hover { opacity: 0.9; }
body.woocommerce-checkout h2,
body.woocommerce-checkout h3,
body.woocommerce-cart h2,
body.woocommerce-cart h3 { font-family: var(--font-display); font-weight: inherit; }

/* Legacy shortcode checkout/cart fallback (until Blocks migration runs) */
body.woocommerce-checkout .woocommerce form.checkout,
body.woocommerce-cart .woocommerce-cart-form { text-align: left; max-width: none; }
body.woocommerce-checkout .woocommerce-billing-fields input.input-text,
body.woocommerce-checkout .woocommerce-billing-fields select,
body.woocommerce-checkout .woocommerce-shipping-fields input.input-text,
body.woocommerce-checkout .woocommerce-shipping-fields select,
body.woocommerce-cart .woocommerce-cart-form input.input-text {
	font-family: var(--font-body);
	border: 1px solid var(--color-border);
	border-radius: 0.5rem;
	background: var(--color-background);
	color: var(--color-foreground);
	padding: 0.625rem 0.875rem;
	width: 100%;
}
body.woocommerce-checkout #order_review,
body.woocommerce-checkout #order_review_heading {
	background: var(--color-secondary);
	border-radius: var(--card-radius);
	padding: 2rem;
	margin-top: 2rem;
}
body.woocommerce-checkout #place_order,
body.woocommerce-cart .checkout-button,
body.woocommerce-cart .button[name="update_cart"] {
	background-color: var(--color-primary) !important;
	color: var(--color-primary-foreground) !important;
	border-radius: var(--btn-radius) !important;
	font-family: var(--font-body) !important;
	font-weight: 600 !important;
	border: none !important;
}
body.woocommerce-checkout h3,
body.woocommerce-cart .cart-collaterals h2 { font-family: var(--font-display); }

/* -------------------------------------------------------------------------
   23. ACCOUNT / THANK YOU PAGES (Section 13.7, 22.8)
   ------------------------------------------------------------------------- */
body.woocommerce-account .site-main,
body.theme-thankyou-page .site-main { padding-top: var(--header-height); padding-bottom: 4rem; }

body.theme-thankyou-page { overflow-x: hidden; }
body.theme-thankyou-page .woocommerce-order-details table { width: 100%; table-layout: fixed; }
body.theme-thankyou-page .woocommerce-order,
body.theme-thankyou-page .woocommerce-order-overview,
body.theme-thankyou-page .woocommerce-customer-details,
body.theme-thankyou-page .woocommerce-order-details { font-family: var(--font-body); }
body.theme-thankyou-page .woocommerce-order h2,
body.theme-thankyou-page .woocommerce-order-details__title { font-family: var(--font-display); padding: 0 0 1rem 0; }
body.theme-thankyou-page .woocommerce-order-overview {
	display: flex; flex-wrap: wrap; gap: 1rem 2rem; list-style: none; padding: 1.5rem;
	background: var(--color-secondary); border-radius: var(--card-radius); margin-bottom: 2rem;
}
body.theme-thankyou-page .woocommerce-order-overview li { display: flex; flex-direction: column; font-size: 0.875rem; }
body.theme-thankyou-page .woocommerce-order-details tfoot th { text-align: left; }
body.theme-thankyou-page .woocommerce-order-details tfoot td { text-align: right; }
@media (min-width: 768px) {
	body.theme-thankyou-page .woocommerce-customer-details {
		display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; align-items: start;
	}
}
body.theme-thankyou-page .woocommerce-customer-details address { min-width: 0; overflow-wrap: break-word; }

/* -------------------------------------------------------------------------
   24. MEDIA CONTROL (Customizer admin — Section 22.3)
   ------------------------------------------------------------------------- */
