/* ==========================================================================
   Desires Catering — theme stylesheet
   All visual styling lives here (Section 10 / 14). No styling in .php files.
   ========================================================================== */

/* ---------------------------------------------------------------------- */
/* Design tokens (defaults; live values are re-emitted via wp_add_inline_style) */
/* ---------------------------------------------------------------------- */
:root {
	--color-background: #fbf8f4;
	--color-foreground: #2a1d26;
	--color-primary: #372531;
	--color-secondary: #f0e6e9;
	--color-muted-fg: #76606f;
	--color-accent: #c6912f;
	--color-border: #e7e0da;
	--color-butter: #f6f0ea;
	--color-chocolate: #644058;
	--color-surface-deep: #251821;
	--color-surface-deep-fg: #fbf8f4;
	--color-button-text: #fbf8f4;

	--font-display: 'Cormorant Garamond', serif;
	--font-body: 'Karla', sans-serif;

	--radius: 0.375rem;
	--shadow-soft: 0 4px 20px -4px rgba(42, 29, 38, 0.10);
	--shadow-elevated: 0 12px 45px -12px rgba(42, 29, 38, 0.22);
	--ease-smooth: cubic-bezier(0.25, 0.4, 0.25, 1);

	--logo-height: 48px;
	--header-height: 80px;

	--btn-radius: 999px;
	--btn-height: 3.25rem;
	--btn-padding: 1rem 2.5rem;
	--btn-font-size: 0.75rem;
	--btn-font-weight: 500;
	--btn-letter-spacing: 0.28em;
	--btn-text-transform: uppercase;
	--btn-icon-padding: 0.5rem;
	--card-radius: 0.5rem;
	--checkout-gap: 1.5rem;
}

/* ---------------------------------------------------------------------- */
/* Reset / base                                                          */
/* ---------------------------------------------------------------------- */
* { box-sizing: border-box; }
html, body { max-width: 100%; overflow-x: clip; }
body {
	margin: 0;
	background: var(--color-background);
	color: var(--color-foreground);
	font-family: var(--font-body);
	-webkit-font-smoothing: antialiased;
	line-height: 1.5;
}
a { color: inherit; text-decoration: none; cursor: pointer; }
button { font-family: inherit; background: none; border: none; cursor: pointer; padding: 0; color: inherit; }
input, textarea, select { font-family: inherit; }
ul { margin: 0; padding: 0; list-style: none; }
p { margin: 0; }

h1, h2, h3, h4, h5, h6 {
	font-family: var(--font-display);
	letter-spacing: 0.01em;
	font-weight: inherit;
	font-size: inherit;
	margin: 0;
}

img { max-width: 100%; height: auto; display: block; }
img:not(.cover-img):not(.hero-bg-img):not(.product-card-img) {
	max-width: 100%;
	height: auto;
}
.cover-img, .hero-bg-img, .product-card-img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.container-wide {
	width: 100%;
	max-width: 84rem;
	margin: 0 auto;
	padding: 0 1.5rem;
}
@media (min-width: 1024px) {
	.container-wide { padding: 0 2rem; }
}

.theme-section { position: relative; }
.bg-butter { background: var(--color-butter); }
.scroll-mt-24 { scroll-margin-top: 6rem; }

.theme-eyebrow {
	display: block;
	font-size: 12px;
	letter-spacing: 0.32em;
	text-transform: uppercase;
	color: var(--color-accent);
	font-family: var(--font-body);
	margin-bottom: 0.75rem;
}
.theme-body-text {
	color: color-mix(in srgb, var(--color-foreground) 78%, transparent);
	font-family: var(--font-body);
	line-height: 1.7;
	margin-bottom: 1.25rem;
}
.theme-link-underline {
	position: relative;
	display: inline-block;
	font-size: 12px;
	letter-spacing: 0.22em;
	text-transform: uppercase;
	font-family: var(--font-body);
}
.theme-link-underline::after {
	content: '';
	position: absolute;
	bottom: 0; left: 0;
	width: 100%; height: 1px;
	background: currentColor;
	transform: scaleX(0);
	transform-origin: left;
	transition: transform 0.3s var(--ease-smooth);
}
.theme-link-underline:hover::after { transform: scaleX(1); }

.theme-section-header-center { text-align: center; margin-bottom: 2.5rem; }

/* Per-section heading scales (Section 2.2.5) */
.section-heading { font-family: var(--font-display); font-style: italic; font-weight: 400; line-height: 1.02; letter-spacing: 0.01em; }
.about-heading { font-size: 2.25rem; }
.collection-heading, .services-heading, .team-heading, .testimonials-heading, .faq-heading, .shop-heading { font-size: 2.25rem; }
.owners-heading { font-size: 2.75rem; }
.menu-heading { font-size: 2.25rem; }
.contact-cta-heading { font-size: 2rem; font-style: italic; }
@media (min-width: 768px) {
	.about-heading { font-size: 3.75rem; }
	.collection-heading, .services-heading, .team-heading, .testimonials-heading, .faq-heading, .shop-heading { font-size: 3.75rem; }
	.owners-heading { font-size: 3.75rem; }
	.menu-heading { font-size: 3.75rem; }
	.contact-cta-heading { font-size: 3rem; }
}
@media (min-width: 1024px) {
	.owners-heading { font-size: 4.5rem; }
	.services-heading { font-size: 4.5rem; }
	.menu-heading { font-size: 4.5rem; }
	.contact-cta-heading { font-size: 3.75rem; }
}

/* ---------------------------------------------------------------------- */
/* Buttons                                                               */
/* ---------------------------------------------------------------------- */
.theme-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.5rem;
	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);
	padding: 1.25rem 3rem;
	transition: opacity 0.2s ease, background-color 0.2s ease;
	cursor: pointer;
	border-radius: 0;
}
.theme-btn-hero-primary, .theme-btn-outline { text-transform: uppercase; }
.theme-btn-hero-primary {
	background: var(--color-accent);
	color: var(--color-background);
}
.theme-btn-hero-primary:hover { opacity: 0.9; }
.theme-btn-dark {
	background: var(--color-foreground);
	color: var(--color-background);
	font-family: var(--font-display);
}
.theme-btn-dark:hover { opacity: 0.9; }
.theme-btn-outline {
	border: 1px solid var(--color-foreground);
	background: transparent;
	color: var(--color-foreground);
	padding: 1rem 2.5rem;
}
.theme-btn-outline:hover { background: var(--color-foreground); color: var(--color-background); }
.theme-btn-primary {
	background: var(--color-primary);
	color: var(--color-button-text);
	border-radius: var(--btn-radius);
	padding: var(--btn-padding);
	text-transform: none;
	letter-spacing: normal;
	font-family: var(--font-body);
}
.theme-btn-primary:hover { opacity: 0.9; }

/* ---------------------------------------------------------------------- */
/* Scroll reveal animation (Section 2.1)                                 */
/* ---------------------------------------------------------------------- */
.reveal-item {
	opacity: 0;
	transform: translateY(24px);
	transition: opacity 0.6s var(--ease-smooth), transform 0.6s var(--ease-smooth);
}
.reveal-item.is-visible { opacity: 1; transform: translateY(0); }

body.is-customizer .reveal-item,
.is-customizer .reveal-item {
	opacity: 1 !important;
	transform: none !important;
}

@media (prefers-reduced-motion: reduce) {
	.reveal-item { transition: none; opacity: 1; transform: none; }
	.site-mobile-menu,
	.site-mobile-menu.is-open,
	.theme-mobile-nav-list > li {
		transition: none !important;
		transform: none !important;
		opacity: 1 !important;
	}
	*, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; }
}

@keyframes theme-fade-in { from { opacity: 0; } to { opacity: 1; } }
@keyframes theme-slide-up { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }
.theme-animate-fade-in { animation: theme-fade-in 0.6s var(--ease-smooth) forwards; }
.theme-animate-slide-up { animation: theme-slide-up 0.6s var(--ease-smooth) forwards; }

/* ---------------------------------------------------------------------- */
/* Announcement bar                                                      */
/* ---------------------------------------------------------------------- */
.theme-announcement-bar { position: relative; background: var(--color-foreground); color: var(--color-background); }
.theme-announcement-inner { padding: 0.5rem 1.5rem; text-align: center; }
.theme-announcement-text { font-size: 13px; letter-spacing: 0.28em; text-transform: uppercase; font-family: var(--font-body); margin: 0; }
.theme-announcement-close {
	position: absolute; right: 0.75rem; top: 50%; transform: translateY(-50%);
	padding: 0.25rem; opacity: 0.7; transition: opacity 0.2s;
}
.theme-announcement-close:hover { opacity: 1; }

/* ---------------------------------------------------------------------- */
/* Header                                                                */
/* ---------------------------------------------------------------------- */
.site-header {
	position: sticky; top: 0; left: 0; right: 0; z-index: 50;
	transition: background-color 0.3s, border-color 0.3s;
	background: var(--color-background);
	border-bottom: 1px solid transparent;
}
.site-header.is-solid {
	background: color-mix(in srgb, var(--color-background) 95%, transparent);
	backdrop-filter: blur(6px);
	border-bottom-color: var(--color-border);
}
.site-nav { display: flex; align-items: center; justify-content: space-between; height: 80px; gap: 1rem; }
.site-brand { display: flex; align-items: center; gap: 0.75rem; flex-shrink: 0; }
.site-logo-wrap {
	position: relative; width: 40px; height: 40px; border-radius: 999px; overflow: hidden;
	border: 1px solid color-mix(in srgb, var(--color-border) 40%, transparent); background: #fff; flex-shrink: 0;
}
.site-logo-img { height: var(--logo-height) !important; width: auto !important; display: block; }
.site-logo-wrap .site-logo-img { height: 100% !important; width: 100% !important; object-fit: cover; }
.site-logo-text { font-family: var(--font-display); font-size: 1.5rem; letter-spacing: 0.04em; }
.site-brand-text { display: none; flex-direction: column; line-height: 1; }
.site-brand-name { font-family: var(--font-display); font-size: 1.5rem; letter-spacing: 0.04em; }
.site-brand-tagline { font-size: 10px; letter-spacing: 0.32em; text-transform: uppercase; color: var(--color-muted-fg); font-family: var(--font-body); margin-top: 0.25rem; }
@media (min-width: 1280px) { .site-brand-text { display: flex; } }

.site-nav-center { display: none; flex: 1; align-items: center; justify-content: center; gap: 1rem; }
@media (min-width: 1024px) { .site-nav-center { display: flex; } }
.theme-nav-list { display: flex; align-items: center; gap: 1rem; flex-wrap: nowrap; }
.theme-nav-link, .theme-nav-list button {
	position: relative; display: inline-block;
	font-family: var(--font-display); font-weight: 500;
	font-size: 12px; letter-spacing: 0.2em; text-transform: uppercase;
	white-space: nowrap; transition: color 0.3s;
}
.theme-nav-link::after, .theme-nav-list button::after {
	content: ''; position: absolute; bottom: -4px; left: 0; width: 100%; height: 1px;
	background: currentColor; transform: scaleX(0); transform-origin: left; transition: transform 0.3s var(--ease-smooth);
}
.theme-nav-link:hover::after, .theme-nav-list button:hover::after { transform: scaleX(1); }

.site-nav-right { display: flex; align-items: center; gap: 0.5rem; }
.site-icon-btn { position: relative; padding: 0.5rem; transition: opacity 0.2s; }
.site-icon-btn:hover { opacity: 0.6; }
.theme-search-trigger { display: none; }
@media (min-width: 768px) { .theme-search-trigger { display: inline-flex; } }
.theme-cart-count {
	position: absolute; top: -2px; right: -2px; width: 20px; height: 20px;
	display: flex; align-items: center; justify-content: center;
	font-size: 12px; font-weight: 500; background: var(--color-primary); color: var(--color-button-text);
	border-radius: 999px;
}
.theme-cart-count:empty { display: none; }
.theme-mobile-toggle { display: inline-flex; }
.icon-close { display: none; }
.theme-mobile-toggle.is-open .icon-menu { display: none; }
.theme-mobile-toggle.is-open .icon-close { display: inline-flex; }
@media (min-width: 1024px) { .theme-mobile-toggle { display: none; } }

.site-mobile-menu {
	display: block;
	overflow: hidden;
	max-height: 0;
	opacity: 0;
	border-top: 1px solid transparent;
	padding: 0;
	transition:
		max-height 0.35s var(--ease-smooth),
		opacity 0.35s var(--ease-smooth),
		padding 0.35s var(--ease-smooth),
		border-color 0.35s var(--ease-smooth);
}
@media (min-width: 1024px) {
	.site-mobile-menu { display: none !important; }
}
.site-mobile-menu.is-open {
	max-height: 24rem;
	opacity: 1;
	border-top-color: var(--color-border);
	padding: 1rem 0;
	animation: theme-fade-in 0.6s var(--ease-smooth);
}
.theme-mobile-nav-list {
	display: flex;
	flex-direction: column;
	gap: 1rem;
}
.theme-mobile-nav-list > li {
	margin: 0;
	opacity: 1;
	transform: none;
}
.theme-mobile-nav-list a,
.theme-mobile-nav-list button,
.theme-mobile-nav-list .theme-mobile-nav-link,
.theme-mobile-nav-list .theme-nav-link {
	display: block;
	width: fit-content;
	text-align: left;
	font-family: var(--font-display);
	font-size: 14px;
	font-weight: 400;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	padding: 0.5rem 0;
	color: var(--color-foreground);
	background: none;
	border: none;
	transition: color 0.2s;
}
.theme-mobile-nav-list .theme-nav-link::after,
.theme-mobile-nav-list .theme-mobile-nav-link::after {
	display: none;
}
.theme-mobile-nav-list a:hover,
.theme-mobile-nav-list button:hover,
.theme-mobile-nav-list .theme-mobile-nav-link:hover,
.theme-mobile-nav-list .theme-nav-link:hover {
	color: var(--color-muted-fg);
}

/* Home hero must fill viewport under the fixed header (Section 22.7) */
body.theme-no-hero .site-main,
body.theme-no-hero .theme-page-container { padding-top: var(--header-height); }

/* ---------------------------------------------------------------------- */
/* Hero                                                                  */
/* ---------------------------------------------------------------------- */
.theme-hero { position: relative; background: var(--color-background); }
.theme-hero-media { position: relative; width: 100%; height: 78vh; min-height: 560px; overflow: hidden; }
@media (min-width: 768px) { .theme-hero-media { height: 88vh; min-height: 680px; } }
.theme-hero-img { object-position: center 60%; }
.theme-hero-gradient { position: absolute; inset: 0; pointer-events: none; }
.theme-hero-gradient-mobile { background: linear-gradient(to top, color-mix(in srgb, var(--color-foreground) 80%, transparent), color-mix(in srgb, var(--color-foreground) 25%, transparent) 60%, transparent); }
.theme-hero-gradient-desktop { display: none; }
.theme-hero-gradient-bottom { inset: auto 0 0 0; height: 25%; background: linear-gradient(to top, color-mix(in srgb, var(--color-foreground) 25%, transparent), transparent); }
@media (min-width: 768px) {
	.theme-hero-gradient-mobile { display: none; }
	.theme-hero-gradient-desktop {
		display: block;
		background: linear-gradient(to right, color-mix(in srgb, var(--color-foreground) 80%, transparent) 0%, color-mix(in srgb, var(--color-foreground) 45%, transparent) 30%, color-mix(in srgb, var(--color-foreground) 15%, transparent) 55%, transparent 75%);
	}
}
.theme-hero-inner { position: absolute; inset: 0; display: flex; align-items: center; }
.theme-hero-copy { max-width: 34rem; text-shadow: 0 2px 16px color-mix(in srgb, var(--color-foreground) 55%, transparent); }
.theme-hero-kicker { display: block; font-size: 11px; letter-spacing: 0.4em; text-transform: uppercase; color: var(--color-accent); font-family: var(--font-body); margin-bottom: 1rem; }
.theme-hero-title {
	font-family: var(--font-display); font-style: italic; font-weight: 400;
	font-size: 3rem; line-height: 0.95; letter-spacing: 0.01em; color: var(--color-background); margin-bottom: 0.5rem;
}
.theme-hero-subtitle {
	font-family: var(--font-display); font-style: italic; font-weight: 400;
	font-size: 1.5rem; line-height: 0.95; color: var(--color-background); margin-bottom: 1.5rem; white-space: nowrap;
}
.theme-hero-desc { color: color-mix(in srgb, var(--color-background) 90%, transparent); font-size: 1rem; line-height: 1.7; margin-bottom: 2.5rem; max-width: 28rem; }
@media (min-width: 640px) { .theme-hero-title { font-size: 3.75rem; } .theme-hero-subtitle { font-size: 1.875rem; } }
@media (min-width: 768px) { .theme-hero-title { font-size: 4.5rem; } .theme-hero-subtitle { font-size: 2.25rem; } .theme-hero-desc { font-size: 1.125rem; } }
@media (min-width: 1280px) { .theme-hero-title { font-size: 6rem; } .theme-hero-subtitle { font-size: 3rem; } }

/* ---------------------------------------------------------------------- */
/* About                                                                 */
/* ---------------------------------------------------------------------- */
.theme-about-inner { max-width: 42rem; margin: 0 auto; padding: 5rem 1.5rem; text-align: center; }
@media (min-width: 768px) { .theme-about-inner { padding: 7rem 3.5rem; } }

/* ---------------------------------------------------------------------- */
/* Collection tiles                                                      */
/* ---------------------------------------------------------------------- */
.theme-collection { padding-block: 4rem; }
@media (min-width: 768px) { .theme-collection { padding-block: 5rem; } }
.theme-tiles-grid { display: grid; grid-template-columns: 1fr; gap: 1rem; }
@media (min-width: 768px) { .theme-tiles-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.5rem; } }
.theme-tile { position: relative; aspect-ratio: 3 / 4; overflow: hidden; display: block; }
.theme-tile-overlay { position: absolute; inset: 0; background: linear-gradient(to top, color-mix(in srgb, var(--color-foreground) 90%, transparent), color-mix(in srgb, var(--color-foreground) 40%, transparent) 60%, color-mix(in srgb, var(--color-foreground) 10%, transparent)); transition: background 0.5s; }
.theme-tile:hover .theme-tile-overlay { background: linear-gradient(to top, color-mix(in srgb, var(--color-foreground) 95%, transparent), color-mix(in srgb, var(--color-foreground) 40%, transparent) 60%, color-mix(in srgb, var(--color-foreground) 10%, transparent)); }
.theme-tile:hover .theme-tile-img { transform: scale(1.05); }
.theme-tile-img { transition: transform 0.7s var(--ease-smooth); }
.theme-tile-content { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: flex-end; padding: 1.5rem; color: var(--color-background); text-align: left; text-shadow: 0 1px 8px rgba(0,0,0,0.45); }
.theme-tile-tagline { display: inline-flex; align-items: center; gap: 0.5rem; font-size: 11px; letter-spacing: 0.3em; text-transform: uppercase; margin-bottom: 0.5rem; color: var(--color-accent); filter: brightness(1.5); }
.theme-tile-tagline-bar { height: 1px; width: 1.5rem; background: currentColor; }
.theme-tile-label { font-family: var(--font-display); font-size: 1.875rem; letter-spacing: 0.02em; text-transform: uppercase; margin-bottom: 0.5rem; }
.theme-tile-cta { display: inline-flex; align-items: center; gap: 0.375rem; font-size: 12px; letter-spacing: 0.22em; text-transform: uppercase; }
@media (min-width: 768px) { .theme-tile-content { padding: 1.75rem; } .theme-tile-label { font-size: 2.25rem; } }

/* ---------------------------------------------------------------------- */
/* Owners / Chef                                                         */
/* ---------------------------------------------------------------------- */
.theme-owners-grid { display: grid; grid-template-columns: 1fr; align-items: stretch; }
.theme-owners-copy { order: 1; }
.theme-owners-media { order: 2; }
@media (min-width: 1024px) {
	.theme-owners-grid { grid-template-columns: 1fr 1fr; }
	.theme-owners-media { order: 1; }
	.theme-owners-copy { order: 2; }
}
.theme-owners-media { display: flex; align-items: center; justify-content: center; padding: 3rem 1.5rem; }
@media (min-width: 768px) { .theme-owners-media { padding: 5rem 3.5rem; } }
.theme-owners-photo-wrap { position: relative; width: 100%; max-width: 28rem; aspect-ratio: 4/5; overflow: hidden; background: var(--color-secondary); box-shadow: var(--shadow-elevated); }
.theme-owners-copy { display: flex; align-items: center; background: var(--color-background); padding: 4rem 1.5rem; }
@media (min-width: 768px) { .theme-owners-copy { padding: 6rem 3.5rem; } }
.theme-owners-copy-inner { max-width: 36rem; }
.theme-owners-quote { font-family: var(--font-display); font-style: italic; font-size: 1.5rem; color: color-mix(in srgb, var(--color-foreground) 85%, transparent); line-height: 1.3; letter-spacing: 0.02em; margin-bottom: 2rem; }
@media (min-width: 768px) { .theme-owners-quote { font-size: 1.875rem; } }

/* ---------------------------------------------------------------------- */
/* Services                                                              */
/* ---------------------------------------------------------------------- */
.theme-services { padding-block: 5rem; }
@media (min-width: 768px) { .theme-services { padding-block: 7rem; } }
.theme-services-grid { display: grid; grid-template-columns: 1fr; gap: 1.5rem; }
@media (min-width: 768px) { .theme-services-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .theme-services-grid { grid-template-columns: repeat(3, 1fr); gap: 2rem; } }
.theme-service-card {
	position: relative; background: var(--color-background); border: 1px solid var(--color-border);
	border-left: 4px solid var(--color-accent); padding: 2rem 2.5rem; transition: background-color 0.3s;
}
.theme-service-card:hover { background: color-mix(in srgb, var(--color-accent) 5%, transparent); }
.theme-service-card.accent-chocolate { border-left-color: var(--color-chocolate); }
.theme-service-card.accent-chocolate:hover { background: color-mix(in srgb, var(--color-chocolate) 5%, transparent); }
.theme-service-card.accent-primary { border-left-color: var(--color-primary); }
.theme-service-card.accent-primary:hover { background: color-mix(in srgb, var(--color-primary) 5%, transparent); }
.theme-service-top { display: flex; align-items: flex-start; justify-content: space-between; margin-bottom: 2rem; }
.theme-service-icon { display: flex; height: 3rem; width: 3rem; align-items: center; justify-content: center; border-radius: 999px; border: 1px solid color-mix(in srgb, var(--color-accent) 40%, transparent); color: var(--color-accent); }
.accent-chocolate .theme-service-icon { border-color: color-mix(in srgb, var(--color-chocolate) 40%, transparent); color: var(--color-chocolate); }
.accent-primary .theme-service-icon { border-color: color-mix(in srgb, var(--color-primary) 40%, transparent); color: var(--color-primary); }
.theme-service-numeral { display: inline-flex; align-items: center; padding: 0.25rem 0.6rem; border-radius: 999px; background: var(--color-accent); color: var(--color-background); font-family: var(--font-display); font-size: 12px; letter-spacing: 0.3em; }
.accent-chocolate .theme-service-numeral { background: var(--color-chocolate); }
.accent-primary .theme-service-numeral { background: var(--color-primary); }
.theme-service-kicker { display: block; font-size: 11px; letter-spacing: 0.3em; text-transform: uppercase; color: var(--color-accent); margin-bottom: 0.75rem; }
.accent-chocolate .theme-service-kicker { color: var(--color-chocolate); }
.accent-primary .theme-service-kicker { color: var(--color-primary); }
.theme-service-title { font-family: var(--font-display); font-size: 1.875rem; letter-spacing: 0.01em; line-height: 1.05; margin-bottom: 1rem; }
.theme-service-desc { font-size: 1rem; color: var(--color-muted-fg); line-height: 1.7; }
@media (min-width: 768px) { .theme-service-title { font-size: 2.25rem; } }

/* ---------------------------------------------------------------------- */
/* Menu section                                                          */
/* ---------------------------------------------------------------------- */
.theme-menu { padding-block: 5rem; }
@media (min-width: 768px) { .theme-menu { padding-block: 7rem; } }
.theme-menu-header { text-align: center; max-width: 48rem; margin: 0 auto 3.5rem; }
.theme-menu-note { display: inline-block; border: 1px solid var(--color-border); padding: 0.5rem 1.25rem; font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--color-muted-fg); margin-top: 0.5rem; }
.theme-menu-view-full { margin-top: 1.5rem; }
.theme-menu-view-full-btn { display: inline-flex; align-items: center; gap: 0.5rem; border-bottom: 1px solid var(--color-accent); padding-bottom: 0.25rem; font-size: 12px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--color-accent); transition: color 0.3s, border-color 0.3s; }
.theme-menu-view-full-btn:hover { color: var(--color-foreground); border-color: var(--color-foreground); }

.theme-menu-tiers { display: grid; grid-template-columns: 1fr; gap: 1.5rem; margin-bottom: 5rem; }
@media (min-width: 768px) { .theme-menu-tiers { grid-template-columns: repeat(3, 1fr); gap: 2rem; margin-bottom: 7rem; } }
.theme-tier-card { position: relative; display: flex; flex-direction: column; padding: 2rem 2.5rem; border: 1px solid var(--color-border); background: var(--color-background); transition: border-color 0.3s; }
.theme-tier-card:hover { border-color: color-mix(in srgb, var(--color-accent) 40%, transparent); }
.theme-tier-card.is-featured { background: var(--color-butter); border-color: color-mix(in srgb, var(--color-accent) 50%, transparent); box-shadow: var(--shadow-elevated); }
.theme-tier-badge { position: absolute; top: -0.75rem; left: 2rem; background: var(--color-accent); color: var(--color-background); font-size: 10px; letter-spacing: 0.28em; text-transform: uppercase; padding: 0.25rem 0.75rem; }
.theme-tier-name { display: block; font-size: 11px; letter-spacing: 0.3em; text-transform: uppercase; color: var(--color-accent); margin-bottom: 0.75rem; }
.theme-tier-price { font-family: var(--font-display); font-size: 3rem; line-height: 1; margin-bottom: 0.25rem; }
@media (min-width: 768px) { .theme-tier-price { font-size: 3.75rem; } }
.theme-tier-per-person { font-size: 12px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--color-muted-fg); }
.theme-tier-divider { display: block; height: 1px; background: var(--color-border); margin: 1.75rem 0; }
.theme-tier-items { display: flex; flex-direction: column; gap: 0.9rem; }
.theme-tier-items li { display: flex; align-items: flex-start; gap: 0.75rem; }
.theme-dot { display: inline-block; margin-top: 0.5rem; height: 4px; width: 4px; border-radius: 999px; background: var(--color-accent); flex-shrink: 0; }
.theme-tier-items li span:last-child { font-size: 15px; line-height: 1.6; color: color-mix(in srgb, var(--color-foreground) 80%, transparent); }

.theme-menu-selections-header { text-align: center; margin-bottom: 2.5rem; }
.theme-selections-title { font-family: var(--font-display); font-style: italic; font-weight: 400; font-size: 1.875rem; letter-spacing: 0.01em; }
@media (min-width: 768px) { .theme-selections-title { font-size: 3rem; } }

.theme-menu-tabs-desktop { display: none; max-width: 64rem; margin: 0 auto; }
@media (min-width: 768px) { .theme-menu-tabs-desktop { display: block; } }
.theme-menu-tabs { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.5rem; margin-bottom: 3rem; }
.theme-menu-tab { padding: 0.625rem 1.25rem; border-radius: 999px; border: 1px solid var(--color-border); font-size: 12px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--color-muted-fg); transition: border-color 0.3s, color 0.3s, background-color 0.3s; }
.theme-menu-tab:hover { border-color: var(--color-accent); color: var(--color-accent); }
.theme-menu-tab.is-active { border-color: var(--color-accent); background: var(--color-accent); color: var(--color-background); }
.theme-menu-tab-panel { display: none; }
.theme-menu-tab-panel.is-active { display: block; animation: theme-fade-in 0.4s var(--ease-smooth); }
.theme-premium-badge { display: inline-flex; align-items: center; gap: 0.4rem; font-size: 11px; letter-spacing: 0.28em; text-transform: uppercase; color: var(--color-accent); margin-bottom: 1.25rem; }
.theme-group-items { display: grid; grid-template-columns: 1fr; gap: 1rem 2.5rem; }
@media (min-width: 640px) { .theme-group-items { grid-template-columns: repeat(2, 1fr); } }
.theme-group-items li { display: flex; align-items: flex-start; gap: 0.75rem; border-bottom: 1px solid color-mix(in srgb, var(--color-border) 60%, transparent); padding-bottom: 0.75rem; }
.theme-group-items li span:last-child { font-family: var(--font-display); font-size: 1.125rem; line-height: 1.4; }
@media (min-width: 768px) { .theme-group-items li span:last-child { font-size: 1.25rem; } }

.theme-menu-groups-mobile { display: block; }
@media (min-width: 768px) { .theme-menu-groups-mobile { display: none; } }
.theme-menu-group-mobile { border-bottom: 1px solid var(--color-border); }
.theme-menu-group-mobile:first-child { border-top: 1px solid var(--color-border); }
.theme-menu-group-toggle { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; padding: 1.25rem 0; text-align: left; }
.theme-menu-group-toggle span:first-child { font-family: var(--font-display); font-size: 1.25rem; letter-spacing: 0.01em; }
.theme-menu-group-content { padding-bottom: 1.5rem; }
.theme-faq-chevron { color: var(--color-accent); transition: transform 0.3s; flex-shrink: 0; }
[aria-expanded="true"] .theme-faq-chevron { transform: rotate(180deg); }

.theme-carving-station { margin-top: 4rem; background: var(--color-butter); border: 1px solid var(--color-border); padding: 2rem; }
@media (min-width: 768px) { .theme-carving-station { margin-top: 6rem; padding: 3rem; } }
.theme-carving-inner { display: flex; flex-direction: column; gap: 2rem; }
@media (min-width: 1024px) { .theme-carving-inner { flex-direction: row; align-items: center; justify-content: space-between; } }
.theme-carving-info { max-width: 20rem; }
.theme-carving-title { font-family: var(--font-display); font-size: 1.875rem; line-height: 1.2; }
@media (min-width: 768px) { .theme-carving-title { font-size: 2.25rem; } }
.theme-carving-price { font-family: var(--font-display); font-size: 1.5rem; color: var(--color-accent); margin-top: 0.5rem; }
.theme-carving-list { flex: 1; display: grid; grid-template-columns: 1fr; gap: 1.5rem; }
@media (min-width: 640px) { .theme-carving-list { grid-template-columns: repeat(3, 1fr); gap: 2rem; } }
.theme-carving-list li { border-top: 1px solid var(--color-border); padding-top: 1rem; }
.theme-carving-price-tag { display: block; font-size: 12px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--color-accent); margin-bottom: 0.5rem; }
.theme-carving-label { font-family: var(--font-display); font-size: 1.125rem; line-height: 1.4; }
@media (min-width: 768px) { .theme-carving-label { font-size: 1.25rem; } }

.theme-menu-cta { text-align: center; margin-top: 3.5rem; }
@media (min-width: 768px) { .theme-menu-cta { margin-top: 5rem; } }

.theme-menu-lightbox {
	position: fixed; inset: 0; z-index: 60; display: none; align-items: center; justify-content: center;
	background: rgba(0,0,0,0.85); padding: 1rem;
}
.theme-menu-lightbox.is-open { display: flex; animation: theme-fade-in 0.25s var(--ease-smooth); }
.theme-menu-lightbox-close { position: absolute; top: 1rem; right: 1rem; color: var(--color-background); transition: color 0.3s; }
.theme-menu-lightbox-close:hover { color: var(--color-accent); }
.theme-menu-lightbox-img { max-height: 100%; max-width: 100%; object-fit: contain; box-shadow: 0 25px 50px -12px rgba(0,0,0,0.5); }
@media (min-width: 768px) { .theme-menu-lightbox { padding: 2rem; } .theme-menu-lightbox-close { top: 1.5rem; right: 1.5rem; } }

/* ---------------------------------------------------------------------- */
/* Shop section                                                         */
/* ---------------------------------------------------------------------- */
.theme-shop { padding-block: 4rem; }
@media (min-width: 768px) { .theme-shop { padding-block: 6rem; } }
.theme-shop-search { position: relative; max-width: 28rem; margin: 0 auto 2rem; }
.theme-shop-search-icon { position: absolute; left: 0; top: 50%; transform: translateY(-50%); color: var(--color-muted-fg); }
.theme-shop-search-input {
	width: 100%; padding: 0.5rem 0 0.5rem 1.75rem; background: transparent; border: 0; border-bottom: 1px solid var(--color-border);
	font-size: 1rem; color: var(--color-foreground); transition: border-color 0.2s;
}
.theme-shop-search-input:focus { outline: none; border-color: var(--color-foreground); }
.theme-shop-categories { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.5rem; margin-bottom: 1rem; }
.theme-cat-filter { padding: 0.5rem 1.25rem; font-size: 12px; letter-spacing: 0.2em; text-transform: uppercase; border-radius: 999px; border: 1px solid var(--color-border); background: transparent; transition: all 0.3s; }
.theme-cat-filter:hover { border-color: var(--color-foreground); }
.theme-cat-filter.is-active { background: var(--color-foreground); color: var(--color-background); border-color: var(--color-foreground); }
.theme-shop-price-filter-wrap { display: flex; flex-direction: column; align-items: center; gap: 0.75rem; }
.theme-price-filter-toggle { display: flex; align-items: center; gap: 0.5rem; padding: 0.5rem 1rem; font-size: 12px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--color-muted-fg); transition: color 0.3s; }
.theme-price-filter-toggle:hover { color: var(--color-foreground); }
.theme-price-filter-current { opacity: 0.7; text-transform: none; letter-spacing: normal; }
.theme-price-filter-toggle svg { transition: transform 0.3s; }
.theme-price-filter-toggle.is-open svg { transform: rotate(180deg); }
.theme-price-filter-panel { width: 100%; max-width: 24rem; overflow: hidden; max-height: 0; opacity: 0; transition: max-height 0.3s var(--ease-smooth), opacity 0.3s var(--ease-smooth); }
.theme-price-filter-panel.is-open { max-height: 10rem; opacity: 1; padding-top: 0.5rem; }
.theme-price-labels { display: flex; justify-content: space-between; font-size: 14px; color: var(--color-muted-fg); margin-top: 0.75rem; }

/* Dual-handle price range slider (Section 31.4) */
.price-range-wrapper { position: relative; height: 1.5rem; margin: 0.5rem 0; }
.range-track-bg, .range-track-fill { position: absolute; height: 4px; top: 50%; transform: translateY(-50%); pointer-events: none; border-radius: 999px; }
.range-track-bg { left: 0; right: 0; background: var(--color-border); }
.range-track-fill { background: var(--color-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; height: 18px; width: 18px; border-radius: 999px; background: var(--color-background); border: 2px solid var(--color-primary); cursor: pointer; }
.range-input::-moz-range-thumb { pointer-events: auto; height: 18px; width: 18px; border-radius: 999px; background: var(--color-background); border: 2px solid var(--color-primary); cursor: pointer; }
.range-input--max { z-index: 3; }
.range-input--min { z-index: 4; }

.theme-shop-showmore-wrap { text-align: center; margin-top: 3rem; }
.theme-shop-empty { text-align: center; padding: 5rem 0; }
.theme-shop-empty p { color: var(--color-muted-fg); }

/* ---------------------------------------------------------------------- */
/* Product grid + card (shared across shop / homepage / related — 31.13) */
/* ---------------------------------------------------------------------- */
.theme-product-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 1.5rem;
	align-items: stretch;
}
@media (min-width: 768px) { .theme-product-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2rem; } }
@media (min-width: 1024px) { .theme-product-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.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)); } }

.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__image-wrapper { position: relative; aspect-ratio: 3 / 4; overflow: hidden; background: var(--color-secondary); margin-bottom: 1.25rem; }
.theme-card-image-link { position: absolute; inset: 0; z-index: 1; display: block; }
.theme-card-image-link .product-card-img { width: 100%; height: 100%; object-fit: cover; }
.theme-product-card__image-wrapper img { transition: transform 0.7s var(--ease-smooth); }
.theme-product-card:hover .theme-product-card__image-wrapper img { transform: scale(1.04); }
.theme-badge { position: absolute; z-index: 3; font-size: 12px; font-weight: 500; letter-spacing: 0.18em; text-transform: uppercase; padding: 0.35rem 0.85rem; border-radius: 999px; pointer-events: none; }
.theme-badge-soldout { top: 0.75rem; left: 0.75rem; background: var(--color-foreground); color: var(--color-background); }
.theme-product-card__quick-add {
	position: absolute; bottom: 0.75rem; right: 0.75rem; z-index: 4;
	width: 2.5rem; height: 2.5rem; display: flex; align-items: center; justify-content: center;
	border-radius: 999px; background: var(--color-background); color: var(--color-foreground); box-shadow: var(--shadow-soft);
	opacity: 1; transition: opacity 0.3s, transform 0.2s;
}
@media (min-width: 768px) {
	.theme-product-card__quick-add { opacity: 0; }
	.theme-product-card:hover .theme-product-card__quick-add { opacity: 1; }
}
.theme-product-card__quick-add:hover { transform: scale(1.08); }
.theme-product-card__info { flex: 1; text-align: center; margin-top: 1rem; display: flex; flex-direction: column; gap: 0.5rem; }
.theme-card-title-link { display: block; color: inherit; }
.theme-product-card__title {
	font-family: var(--font-body); font-size: 14px; font-weight: 500; text-transform: uppercase; letter-spacing: 0.15em;
	line-height: 1.4; color: var(--color-foreground); transition: color 0.3s; min-width: 0; overflow: hidden; text-overflow: ellipsis;
}
.theme-product-card:hover .theme-product-card__title { color: var(--color-primary); }
.theme-product-card__price { font-size: 1rem; color: var(--color-foreground); font-weight: 400; }
.theme-product-card__price .price { font-size: inherit; }
@media (min-width: 768px) { .theme-product-card__title { font-size: 16px; } .theme-product-card__price { font-size: 1.125rem; } }

/* ---------------------------------------------------------------------- */
/* Team                                                                  */
/* ---------------------------------------------------------------------- */
.theme-team { padding-block: 5rem; }
@media (min-width: 768px) { .theme-team { padding-block: 7rem; } }
.theme-team-grid { display: grid; grid-template-columns: 1fr; gap: 1.5rem; max-width: 48rem; margin: 0 auto; }
@media (min-width: 768px) { .theme-team-grid { grid-template-columns: repeat(2, 1fr); gap: 2rem; } }
.theme-team-card { background: var(--color-background); border: 1px solid var(--color-border); padding: 2rem 2.5rem; text-align: center; transition: border-color 0.3s; }
.theme-team-card:hover { border-color: var(--color-accent); }
.theme-team-photo-wrap { margin: 0 auto 1.5rem; height: 7rem; width: 7rem; border-radius: 999px; overflow: hidden; border: 1px solid color-mix(in srgb, var(--color-accent) 40%, transparent); background: var(--color-butter); position: relative; }
.theme-team-name { font-family: var(--font-display); font-size: 1.5rem; letter-spacing: 0.01em; margin-bottom: 0.25rem; }
.theme-team-role { display: block; font-size: 11px; letter-spacing: 0.3em; text-transform: uppercase; color: var(--color-accent); margin-bottom: 1rem; }
.theme-team-bio { font-size: 14px; color: var(--color-muted-fg); line-height: 1.7; }
@media (min-width: 768px) { .theme-team-name { font-size: 1.875rem; } }

/* ---------------------------------------------------------------------- */
/* Testimonials (paridad Index.tsx: p-8 md:p-10, grid gap-6 md:gap-8)   */
/* ---------------------------------------------------------------------- */
.theme-testimonials .container-wide {
	padding-block: 5rem;
}
@media (min-width: 768px) {
	.theme-testimonials .container-wide { padding-block: 7rem; }
}
.theme-testimonials .theme-section-header-center {
	margin-bottom: 3.5rem;
}
@media (min-width: 768px) {
	.theme-testimonials .theme-section-header-center { margin-bottom: 4rem; }
}
.theme-testimonials-grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 1.5rem;
}
@media (min-width: 768px) {
	.theme-testimonials-grid {
		grid-template-columns: repeat(3, minmax(0, 1fr));
		gap: 2rem;
	}
}
.theme-testimonial-card {
	margin: 0;
	background: var(--color-background);
	border: 1px solid var(--color-border);
	padding: 2rem;
	display: flex;
	flex-direction: column;
}
@media (min-width: 768px) {
	.theme-testimonial-card { padding: 2.5rem; }
}
.theme-testimonial-card figcaption { margin: 0; }
.theme-testimonial-quote-mark {
	font-family: var(--font-display);
	font-style: italic;
	font-size: 3.75rem;
	color: var(--color-accent);
	line-height: 1;
	margin-bottom: 1rem;
}
.theme-testimonial-quote {
	margin: 0 0 1.5rem;
	font-family: var(--font-display);
	font-style: italic;
	font-size: 1.125rem;
	color: color-mix(in srgb, var(--color-foreground) 85%, transparent);
	line-height: 1.375;
	flex: 1;
}
.theme-testimonial-name {
	font-family: var(--font-display);
	font-size: 1.125rem;
	letter-spacing: 0.01em;
}
.theme-testimonial-context {
	font-size: 11px;
	letter-spacing: 0.28em;
	text-transform: uppercase;
	color: var(--color-muted-fg);
	margin-top: 0.25rem;
}
@media (min-width: 768px) {
	.theme-testimonial-quote { font-size: 1.25rem; }
}

/* ---------------------------------------------------------------------- */
/* FAQ                                                                   */
/* ---------------------------------------------------------------------- */
.theme-faq { padding-block: 5rem; }
@media (min-width: 768px) { .theme-faq { padding-block: 7rem; } }
.theme-faq-list { max-width: 48rem; margin: 0 auto; border-top: 1px solid var(--color-border); border-bottom: 1px solid var(--color-border); }
.theme-faq-item { border-bottom: 1px solid var(--color-border); }
.theme-faq-item:last-child { border-bottom: none; }
.theme-faq-question { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; padding: 1.25rem 0; text-align: left; }
.theme-faq-question span:first-child { font-family: var(--font-display); font-size: 1.125rem; letter-spacing: 0.01em; transition: color 0.3s; }
.theme-faq-question:hover span:first-child { color: var(--color-accent); }
.theme-faq-answer { padding-bottom: 1.5rem; padding-right: 2.5rem; }
.theme-faq-answer p { color: color-mix(in srgb, var(--color-foreground) 75%, transparent); line-height: 1.7; }
@media (min-width: 768px) { .theme-faq-question span:first-child { font-size: 1.25rem; } .theme-faq-question { padding: 1.5rem 0; } }

/* ---------------------------------------------------------------------- */
/* Final CTA                                                             */
/* ---------------------------------------------------------------------- */
.theme-contact-cta { position: relative; overflow: hidden; background: var(--color-butter); padding-block: 6rem; }
@media (min-width: 768px) { .theme-contact-cta { padding-block: 8rem; } }
.theme-contact-cta-bg { opacity: 0.7; }
.theme-contact-cta-gradient { position: absolute; inset: 0; background: linear-gradient(to bottom, color-mix(in srgb, var(--color-background) 60%, transparent), color-mix(in srgb, var(--color-background) 40%, transparent), color-mix(in srgb, var(--color-background) 80%, transparent)); }
.theme-contact-cta-inner { position: relative; }
.theme-contact-cta-card { max-width: 42rem; margin: 0 auto; text-align: center; background: color-mix(in srgb, var(--color-background) 95%, transparent); backdrop-filter: blur(4px); box-shadow: var(--shadow-elevated); padding: 3rem 2rem; border: 1px solid color-mix(in srgb, var(--color-border) 60%, transparent); }
@media (min-width: 768px) { .theme-contact-cta-card { padding: 4rem 3.5rem; } }

/* ---------------------------------------------------------------------- */
/* Footer (paridad Footer.tsx: py-14 lg:py-18, grid 12-col, px-6 lg:px-8) */
/* ---------------------------------------------------------------------- */
.site-footer { background: var(--color-surface-deep); color: var(--color-surface-deep-fg); }
.site-footer .container-wide {
	padding-left: 1.5rem;
	padding-right: 1.5rem;
}
@media (min-width: 1024px) {
	.site-footer .container-wide {
		padding-left: 2rem;
		padding-right: 2rem;
	}
}
.site-footer-main {
	padding-top: 3.5rem;
	padding-bottom: 3.5rem;
}
@media (min-width: 1024px) {
	.site-footer-main {
		padding-top: 4.5rem;
		padding-bottom: 4.5rem;
	}
}
.site-footer-grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 2.5rem;
}
@media (min-width: 1024px) {
	.site-footer-grid {
		grid-template-columns: repeat(12, minmax(0, 1fr));
		gap: 3rem;
	}
}
.site-footer-brand {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 1rem;
}
@media (min-width: 1024px) {
	.site-footer-brand { grid-column: span 4; }
}
.site-footer-logo {
	position: relative;
	flex-shrink: 0;
	width: 3.5rem;
	height: 3.5rem;
	border-radius: 999px;
	overflow: hidden;
	border: 1px solid color-mix(in srgb, var(--color-surface-deep-fg) 20%, transparent);
	background: #fff;
	display: inline-block;
}
@media (min-width: 1024px) {
	.site-footer-logo { width: 4rem; height: 4rem; }
}
.site-footer-logo-img {
	width: 100% !important;
	height: 100% !important;
	max-width: none !important;
	object-fit: cover;
	display: block;
}
.site-footer-brand-text {
	display: flex;
	flex-direction: column;
	line-height: 1;
}
.site-footer-brand-name {
	font-family: var(--font-display);
	font-size: 1.5rem;
	letter-spacing: 0.04em;
}
.site-footer-tagline {
	font-family: var(--font-body);
	font-size: 10px;
	letter-spacing: 0.32em;
	text-transform: uppercase;
	color: color-mix(in srgb, var(--color-surface-deep-fg) 60%, transparent);
	margin-top: 0.5rem;
}
.site-footer-social {
	display: flex;
	align-items: center;
	gap: 0.75rem;
	padding-top: 0.25rem;
}
.site-footer-social-link {
	color: color-mix(in srgb, var(--color-surface-deep-fg) 70%, transparent);
	transition: color 0.2s;
}
.site-footer-social-link:hover { color: var(--color-surface-deep-fg); }
.site-footer-col { min-width: 0; }
@media (min-width: 1024px) {
	.site-footer-col { grid-column: span 4; }
}
.site-footer-heading {
	font-family: var(--font-body);
	font-size: 11px;
	font-weight: 400;
	letter-spacing: 0.28em;
	text-transform: uppercase;
	color: color-mix(in srgb, var(--color-surface-deep-fg) 50%, transparent);
	margin: 0 0 1.25rem;
}
.site-footer-nav-list {
	display: flex;
	flex-direction: column;
	gap: 0.75rem;
}
.site-footer-nav-list li { margin: 0; }
.site-footer-nav-list a,
.site-footer-nav-list button {
	font-family: var(--font-body);
	text-align: left;
	font-size: 12px;
	letter-spacing: 0.22em;
	text-transform: uppercase;
	color: color-mix(in srgb, var(--color-surface-deep-fg) 75%, transparent);
	transition: color 0.2s;
	width: fit-content;
}
.site-footer-nav-list a:hover { color: var(--color-surface-deep-fg); }
.site-footer-contact {
	display: flex;
	flex-direction: column;
	gap: 0.75rem;
}
.site-footer-contact-link {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	font-family: var(--font-body);
	font-size: 14px;
	color: color-mix(in srgb, var(--color-surface-deep-fg) 75%, transparent);
	transition: color 0.2s;
}
.site-footer-contact-link:hover { color: var(--color-surface-deep-fg); }
.site-footer-bottom {
	border-top: 1px solid color-mix(in srgb, var(--color-surface-deep-fg) 10%, transparent);
}
.site-footer-bottom-bar,
.site-footer-bottom-inner {
	padding-top: 1.5rem;
	padding-bottom: 1.5rem;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: space-between;
	gap: 0.75rem;
}
@media (min-width: 640px) {
	.site-footer-bottom-bar,
	.site-footer-bottom-inner { flex-direction: row; }
}
.site-footer-copy,
.site-footer-credit {
	margin: 0;
	font-family: var(--font-body);
	font-size: 12px;
	color: color-mix(in srgb, var(--color-surface-deep-fg) 60%, transparent);
	letter-spacing: 0.025em;
	text-align: center;
}
@media (min-width: 640px) {
	.site-footer-copy { text-align: left; }
	.site-footer-credit { text-align: right; }
}
.site-footer-credit a {
	font-weight: 700;
	color: color-mix(in srgb, var(--color-surface-deep-fg) 90%, transparent);
	transition: color 0.2s;
}
.site-footer-credit a:hover {
	color: var(--color-surface-deep-fg);
	text-decoration: underline;
	text-underline-offset: 4px;
}

/* ---------------------------------------------------------------------- */
/* Contact modal                                                        */
/* ---------------------------------------------------------------------- */
.theme-contact-modal { position: fixed; inset: 0; z-index: 70; display: none; }
.theme-contact-modal.is-open { display: block; }
.theme-contact-modal-overlay { position: absolute; inset: 0; background: rgba(0,0,0,0.8); animation: theme-fade-in 0.2s var(--ease-smooth); }
.theme-contact-modal-content {
	position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
	width: calc(100% - 2rem); max-width: 32rem; max-height: 90vh; overflow-y: auto;
	background: var(--color-background); padding: 1.5rem; box-shadow: var(--shadow-elevated);
	animation: theme-fade-in 0.2s var(--ease-smooth);
}
@media (min-width: 640px) { .theme-contact-modal-content { border-radius: 0.5rem; } }
.theme-contact-modal-close { position: absolute; right: 1rem; top: 1rem; opacity: 0.7; transition: opacity 0.2s; }
.theme-contact-modal-close:hover { opacity: 1; }
.theme-contact-modal-header { margin-bottom: 1rem; padding-right: 1.5rem; }
.theme-contact-modal-title { font-family: var(--font-display); font-size: 1.5rem; letter-spacing: 0.04em; text-transform: uppercase; margin-bottom: 0.5rem; }
.theme-contact-modal-desc { color: var(--color-muted-fg); font-size: 14px; line-height: 1.6; }
.theme-contact-modal-info { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem; font-size: 14px; color: var(--color-muted-fg); margin-bottom: 1.25rem; }
.theme-contact-modal-info-link { display: flex; align-items: center; gap: 0.5rem; transition: color 0.2s; }
.theme-contact-modal-info-link:hover { color: var(--color-foreground); }
.theme-contact-form-row { display: grid; grid-template-columns: 1fr; gap: 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: 14px; 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.375rem; font-size: 1rem; transition: box-shadow 0.3s;
}
.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-accent) 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 { display: flex; width: 3.5rem; height: 3.5rem; align-items: center; justify-content: center; border-radius: 999px; background: var(--color-primary); color: var(--color-button-text); margin: 0 auto 1rem; }
.theme-contact-success h3 { font-family: var(--font-display); font-size: 1.5rem; letter-spacing: 0.04em; text-transform: uppercase; margin-bottom: 0.5rem; }
.theme-contact-success p { font-size: 14px; color: var(--color-muted-fg); }

/* ---------------------------------------------------------------------- */
/* Breadcrumb                                                            */
/* ---------------------------------------------------------------------- */
.theme-breadcrumb { padding: 1.5rem 0; font-size: 13px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--color-muted-fg); }
.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); }
.woocommerce-breadcrumb { padding: 1.5rem 0; font-size: 13px; letter-spacing: 0.05em; color: var(--color-muted-fg); }
.woocommerce-breadcrumb a:hover { color: var(--color-foreground); }

/* ---------------------------------------------------------------------- */
/* Single product page — mirrors ProductDetail.tsx                       */
/* ---------------------------------------------------------------------- */
body.theme-no-hero .site-main.single-product-main {
	padding-top: 6rem !important;
}
@media (min-width: 1024px) {
	body.theme-no-hero .site-main.single-product-main {
		padding-top: 7rem !important;
	}
}
.single-product-main {
	padding-bottom: 5rem;
	background: var(--color-background);
}
.single-product-main .theme-product-layout {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: 2.5rem;
	padding: 1rem 0 6rem;
	min-width: 0;
	align-items: start;
}
@media (min-width: 1024px) {
	.single-product-main .theme-product-layout {
		grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
		gap: 4rem;
	}
}
.single-product-main .theme-product-gallery,
.single-product-main .theme-product-info {
	min-width: 0;
	max-width: 100%;
}
.theme-gallery-mobile { display: block; }
.theme-gallery-desktop { display: none; }
@media (min-width: 1024px) {
	.theme-gallery-mobile { display: none; }
	.theme-gallery-desktop { display: flex; flex-direction: column; gap: 1rem; }
}
.theme-gallery-main-wrap,
.theme-gallery-desktop-img-wrap {
	aspect-ratio: 1 / 1;
	background: var(--color-secondary);
	overflow: hidden;
}
.single-product-main .theme-single-product-img,
.single-product-main .theme-thumb-img {
	position: static !important;
	width: 100% !important;
	height: 100% !important;
	max-width: none !important;
	object-fit: cover;
	display: block;
}
.single-product-main .theme-product-thumbnails {
	display: flex;
	gap: 0.75rem;
	margin-top: 1rem;
	overflow-x: auto;
	padding-bottom: 0.25rem;
}
.theme-thumb-btn {
	position: relative;
	width: 5rem;
	height: 5rem;
	flex-shrink: 0;
	overflow: hidden;
	background: var(--color-secondary);
	border: none;
	padding: 0;
}
.theme-thumb-btn .theme-thumb-img { opacity: 0.6; transition: opacity 0.2s; }
.theme-thumb-btn.is-active .theme-thumb-img,
.theme-thumb-btn:hover .theme-thumb-img { opacity: 1; }
.theme-thumb-btn::after {
	content: '';
	position: absolute;
	left: 0; right: 0; bottom: 0;
	height: 1px;
	background: var(--color-foreground);
	opacity: 0;
	transition: opacity 0.2s;
}
.theme-thumb-btn.is-active::after { opacity: 1; }

.single-product-main .theme-product-info {
	padding-left: 0;
}
@media (min-width: 1024px) {
	.single-product-main .theme-product-info {
		padding-left: 1rem;
		position: sticky;
		top: 7rem;
		align-self: start;
	}
}
.single-product-main .theme-product-category {
	display: block;
	font-size: 13px;
	letter-spacing: 0.25em;
	text-transform: uppercase;
	color: var(--color-muted-fg);
	font-family: var(--font-body);
}
.single-product-main .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;
}
@media (min-width: 768px) {
	.single-product-main .theme-product-title { font-size: 2.25rem; }
}
@media (min-width: 1024px) {
	.single-product-main .theme-product-title { font-size: 2.75rem; }
}
.single-product-main .theme-product-price {
	font-size: 1.25rem;
	margin-bottom: 1.5rem;
	font-family: var(--font-body);
	color: var(--color-foreground);
}
.single-product-main .theme-product-price .woocommerce-Price-amount,
.single-product-main .theme-product-price bdi,
.single-product-main .theme-product-price .price { font-size: inherit; font-family: inherit; }
.single-product-main .theme-stock-indicator {
	display: inline-block;
	margin-bottom: 1.5rem;
	font-size: 13px;
	letter-spacing: 0.15em;
	text-transform: uppercase;
	padding: 0.4rem 1rem;
	border-radius: 999px;
}
.single-product-main .theme-stock-indicator.is-out-of-stock {
	background: color-mix(in srgb, var(--color-foreground) 8%, transparent);
	color: var(--color-foreground);
}
.single-product-main .theme-product-short-desc {
	color: var(--color-muted-fg);
	line-height: 1.7;
	margin-bottom: 2rem;
	font-family: var(--font-body);
	font-size: 1rem;
}

.single-product-main .theme-variation-group { margin-bottom: 1.5rem; }
.single-product-main .theme-variation-label,
.single-product-main .theme-qty-label {
	font-size: 13px;
	letter-spacing: 0.2em;
	text-transform: uppercase;
	font-family: var(--font-body);
	color: var(--color-muted-fg);
	margin-bottom: 0.75rem;
	font-weight: 400;
}
.single-product-main .theme-variation-chips {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
}
.single-product-main .theme-variation-chip {
	padding: 0.5rem 1rem;
	font-size: 12px;
	letter-spacing: 0.15em;
	text-transform: uppercase;
	border: 1px solid var(--color-border);
	border-radius: 999px;
	font-family: var(--font-body);
	background: transparent;
	color: var(--color-foreground);
	transition: background-color 0.2s, border-color 0.2s, color 0.2s;
}
.single-product-main .theme-variation-chip:hover { border-color: color-mix(in srgb, var(--color-foreground) 60%, transparent); }
.single-product-main .theme-variation-chip.is-active {
	background: var(--color-foreground);
	color: var(--color-background);
	border-color: var(--color-foreground);
}
.single-product-main .theme-variation-select-hidden {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

.single-product-main .theme-quantity-block { margin-bottom: 1rem; }
.single-product-main .theme-quantity-wrapper {
	display: inline-flex;
	align-items: center;
	border: 1px solid var(--color-border);
}
.single-product-main .theme-qty-minus,
.single-product-main .theme-qty-plus {
	padding: 0.5rem 0.75rem;
	transition: background-color 0.2s;
}
.single-product-main .theme-qty-minus:hover,
.single-product-main .theme-qty-plus:hover { background: var(--color-secondary); }
.single-product-main .theme-qty-display {
	padding: 0.5rem 1rem;
	min-width: 2.75rem;
	text-align: center;
	font-family: var(--font-body);
	font-size: 14px;
}
.single-product-main .theme-qty-input { display: none !important; }

.single-product-main .theme-add-to-cart-full,
.single-product-main a.theme-add-to-cart-full,
.single-product-main button.theme-add-to-cart-full {
	display: flex;
	width: 100%;
	align-items: center;
	justify-content: center;
	text-align: center;
	border-radius: 999px;
	padding: 1rem 1.5rem;
	font-size: 12px;
	letter-spacing: 0.25em;
	text-transform: uppercase;
	font-weight: 500;
	font-family: var(--font-body);
	background: var(--color-foreground) !important;
	color: var(--color-background) !important;
	border: none !important;
	min-height: unset !important;
	margin-top: 0;
	transition: opacity 0.2s ease;
}
.single-product-main .theme-add-to-cart-full:hover { opacity: 0.9; }
.single-product-main .theme-add-to-cart-full.disabled,
.single-product-main .theme-add-to-cart-full:disabled {
	opacity: 0.6;
	cursor: not-allowed;
	pointer-events: none;
}
.single-product-main .theme-add-to-cart-external {
	text-decoration: none;
}

.single-product-main .theme-product-accordions { margin-top: 2.5rem; border-top: 1px solid var(--color-border); }
.single-product-main .theme-accordion-item { border-bottom: 1px solid var(--color-border); }
.single-product-main .theme-accordion-toggle {
	width: 100%;
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 1.25rem 0;
	text-align: left;
}
.single-product-main .theme-accordion-toggle span {
	font-size: 13px;
	letter-spacing: 0.25em;
	text-transform: uppercase;
	font-family: var(--font-body);
}
.single-product-main .theme-accordion-chevron { transition: transform 0.3s; color: var(--color-foreground); }
.single-product-main .theme-accordion-toggle[aria-expanded="true"] .theme-accordion-chevron { transform: rotate(180deg); }
.single-product-main .theme-accordion-content {
	padding-bottom: 1.5rem;
	font-size: 15px;
	color: var(--color-muted-fg);
	line-height: 1.7;
	font-family: var(--font-body);
}
.single-product-main .theme-accordion-description {
	margin-bottom: 1rem;
	white-space: pre-line;
}
.single-product-main .theme-product-details-list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 0.5rem;
}
.single-product-main .theme-product-details-list li {
	display: flex;
	align-items: flex-start;
	gap: 0.75rem;
	font-size: 15px;
	color: var(--color-muted-fg);
}
.single-product-main .theme-product-details-list li::before {
	content: '';
	display: block;
	width: 4px;
	height: 4px;
	border-radius: 999px;
	background: var(--color-foreground);
	margin-top: 0.55rem;
	flex-shrink: 0;
}
.single-product-main .theme-shipping-copy p { margin-bottom: 0.75rem; }
.single-product-main .theme-shipping-copy p:last-child { margin-bottom: 0; }

.single-product-main .theme-related-products {
	padding: 5rem 0 0;
	border-top: 1px solid var(--color-border);
}
.single-product-main .theme-related-kicker {
	font-family: var(--font-display);
	font-style: italic;
	font-size: 1rem;
	color: var(--color-muted-fg);
	margin-bottom: 0.5rem;
}
.single-product-main .theme-related-title {
	font-family: var(--font-display);
	font-weight: 400;
	font-size: 1.875rem;
}
@media (min-width: 768px) {
	.single-product-main .theme-related-title { font-size: 2.25rem; }
}
.single-product-main .theme-related-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 1.5rem;
}
@media (min-width: 1024px) {
	.single-product-main .theme-related-grid {
		grid-template-columns: repeat(4, minmax(0, 1fr));
		gap: 2rem;
	}
}
.single-product-main .theme-related-card {
	display: block;
	color: inherit;
	text-decoration: none;
}
.single-product-main .theme-related-card__image {
	aspect-ratio: 3 / 4;
	background: var(--color-secondary);
	overflow: hidden;
	margin-bottom: 1rem;
}
.single-product-main .theme-related-card__img {
	position: static !important;
	width: 100% !important;
	height: 100% !important;
	object-fit: cover;
	display: block;
	transition: transform 0.7s var(--ease-smooth);
}
.single-product-main .theme-related-card:hover .theme-related-card__img { transform: scale(1.04); }
.single-product-main .theme-related-card__cat {
	display: block;
	font-size: 11px;
	letter-spacing: 0.2em;
	text-transform: uppercase;
	color: var(--color-muted-fg);
	margin-bottom: 0.35rem;
}
.single-product-main .theme-related-card__name {
	display: block;
	font-family: var(--font-body);
	font-size: 14px;
	font-weight: 500;
	text-transform: uppercase;
	letter-spacing: 0.12em;
	line-height: 1.4;
	margin-bottom: 0.35rem;
	transition: color 0.3s;
}
.single-product-main .theme-related-card:hover .theme-related-card__name { color: var(--color-primary); }
.single-product-main .theme-related-card__price {
	display: block;
	font-family: var(--font-body);
	font-size: 1rem;
	color: var(--color-foreground);
}

/* Hide leftover WooCommerce chrome on single product */
.single-product-main .woocommerce-product-gallery,
.single-product-main .woocommerce-tabs,
.single-product-main .product_meta,
.single-product-main .woocommerce-breadcrumb,
.single-product-main .posted_in,
.single-product-main .woocommerce-variation-description,
.single-product-main a.added_to_cart.wc-forward {
	display: none !important;
}
.single-product-main .woocommerce-message,
.single-product-main .woocommerce-info { display: none; }

/* Legacy selectors kept for non-refactored contexts */
.single-product .site-main,
.theme-single-product-page { padding-bottom: 3rem; }

/* ---------------------------------------------------------------------- */
/* WooCommerce global overrides (Section 14)                            */
/* ---------------------------------------------------------------------- */
.woocommerce-page .woocommerce-error,
body.single-product .woocommerce-error,
body.woocommerce-checkout .woocommerce-error,
.woocommerce-page .woocommerce-info {
	border-top-color: var(--color-accent);
	background: var(--color-butter);
	color: var(--color-foreground);
	font-size: 14px;
	padding: 1rem 1.5rem;
	border-radius: 0.375rem;
}
#theme-cart-drawer .woocommerce-message { display: none; }
.theme-shop-archive-page .woocommerce-message,
.theme-shop-archive-page .woocommerce-info {
	font-size: 14px;
	border-radius: 0.375rem;
	padding: 1rem 1.5rem;
	background: var(--color-butter);
}

.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: none !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;
}
.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; }

/* Single-product ATC must match Lovable (foreground pill), not shop primary */
.single-product-main a.theme-add-to-cart-full.single_add_to_cart_button,
.single-product-main button.theme-add-to-cart-full.single_add_to_cart_button {
	background-color: var(--color-foreground) !important;
	color: var(--color-background) !important;
	border-radius: 999px !important;
	min-height: unset !important;
	padding: 1rem 1.5rem !important;
	letter-spacing: 0.25em !important;
	text-transform: uppercase !important;
	width: 100% !important;
}

/* Card compact quick-add button — overrides global rules (scoped after) */
.theme-product-card .add_to_cart_button.ajax_add_to_cart.theme-product-card__quick-add {
	min-height: unset !important;
	padding: var(--btn-icon-padding) !important;
	border-radius: 50% !important;
	width: 2.5rem !important;
	height: 2.5rem !important;
}

/* Hide "View cart" injected after AJAX add (Section 11.4.2) */
.woocommerce-page a.added_to_cart.wc-forward,
.single-product a.added_to_cart.wc-forward,
body a.added_to_cart.wc-forward {
	display: none !important;
}

/* ---------------------------------------------------------------------- */
/* Side cart drawer                                                      */
/* ---------------------------------------------------------------------- */
#theme-cart-overlay {
	position: fixed; inset: 0; z-index: 60; background: color-mix(in srgb, var(--color-foreground) 20%, transparent);
	opacity: 0; visibility: hidden; transition: opacity 0.3s;
}
body.cart-open #theme-cart-overlay { opacity: 1; visibility: visible; }
#theme-cart-drawer {
	position: fixed; right: 0; top: 0; height: 100%; width: 100%; max-width: 28rem; z-index: 61;
	background: var(--color-background); box-shadow: var(--shadow-elevated); display: flex; flex-direction: column;
	transform: translateX(100%); transition: transform 0.35s var(--ease-smooth);
}
body.cart-open #theme-cart-drawer { transform: translateX(0); }
#theme-cart-drawer.is-updating { opacity: 0.6; pointer-events: none; }
.theme-cart-drawer-header { display: flex; align-items: center; justify-content: space-between; padding: 1.5rem; border-bottom: 1px solid var(--color-border); }
.theme-cart-drawer-title { font-family: var(--font-display); font-size: 1.125rem; font-weight: 700; }
.theme-cart-drawer-close { padding: 0.25rem; transition: opacity 0.2s; }
.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 p { color: var(--color-muted-fg); margin: 1rem 0 1.5rem; }
.theme-cart-drawer-items { flex: 1; overflow-y: 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; }
.theme-cart-item-image img { width: 100%; height: 100%; object-fit: cover; }
.theme-cart-item-details { flex: 1; min-width: 0; }
.theme-cart-item-name { font-size: 14px; font-weight: 500; display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; transition: opacity 0.2s; }
.theme-cart-item-name:hover { opacity: 0.7; }
.theme-cart-item-price { font-size: 14px; color: var(--color-muted-fg); margin-top: 0.125rem; }
.theme-cart-item-price .price { font-size: inherit; }
.theme-cart-item-variation { font-size: 12px; color: var(--color-muted-fg); margin-top: 0.25rem; }
.theme-cart-item-controls { display: flex; align-items: center; gap: 0.75rem; margin-top: 0.75rem; }
.theme-cart-qty-btn { padding: 0.25rem; border-radius: 0.25rem; transition: background-color 0.2s; }
.theme-cart-qty-btn:hover { background: var(--color-secondary); }
.theme-cart-qty-value { font-size: 14px; width: 1.5rem; text-align: center; }
.theme-cart-remove { margin-left: auto; font-size: 14px; color: var(--color-muted-fg); transition: color 0.2s; }
.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: 14px; }
.theme-cart-subtotal-label { color: var(--color-muted-fg); }
.theme-cart-subtotal-value { font-weight: 500; }
.theme-cart-shipping-note { font-size: 14px; color: var(--color-muted-fg); }
.theme-cart-checkout-btn { width: 100%; text-align: center; }
.theme-cart-empty-btn { width: 100%; text-align: center; display: flex; align-items: center; justify-content: center; gap: 0.5rem; }

/* ---------------------------------------------------------------------- */
/* Generic pages: 404, page.php                                          */
/* ---------------------------------------------------------------------- */
.theme-generic-page { min-height: 60vh; }
.theme-page-container { padding: 3rem 1.5rem; }
.page-title { font-family: var(--font-display); font-size: 2rem; font-weight: 600; margin-bottom: 1.5rem; }
.theme-404-page { display: flex; align-items: center; justify-content: center; min-height: 70vh; }
.theme-404-inner { text-align: center; }
.theme-404-title { font-family: var(--font-display); font-size: 4rem; font-weight: 700; margin-bottom: 1rem; }
.theme-404-text { font-size: 1.25rem; color: var(--color-muted-fg); margin-bottom: 1.5rem; }

/* ---------------------------------------------------------------------- */
/* WooCommerce Checkout Block (Section 13)                              */
/* ---------------------------------------------------------------------- */
body.woocommerce-checkout .site-main {
	padding-top: 6rem;
	padding-bottom: 4rem;
}
@media (min-width: 1024px) {
	body.woocommerce-checkout .site-main { padding-top: 7rem; }
}

/* Avoid double offset: theme-no-hero also pads .theme-page-container */
body.theme-no-hero.woocommerce-checkout .theme-page-container,
body.woocommerce-checkout .theme-page-container {
	padding-top: 0;
	padding-bottom: 2.5rem;
}

.theme-checkout-back {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	font-family: var(--font-body);
	font-size: 14px;
	color: var(--color-muted-fg);
	margin-bottom: 2rem;
	transition: color 0.2s;
}
.theme-checkout-back:hover { color: var(--color-foreground); }
.theme-checkout-title {
	font-family: var(--font-display);
	font-size: 1.875rem;
	font-weight: 700;
	line-height: 1.2;
	margin: 0 0 2.5rem;
}
@media (min-width: 768px) {
	.theme-checkout-title { font-size: 2.25rem; }
}

/* Align header with the centered checkout block (container-wide py-10 in Lovable) */
body.woocommerce-checkout .theme-checkout-header,
.entry-content .theme-checkout-header {
	max-width: 80rem;
	margin-left: auto;
	margin-right: auto;
	width: 100%;
	box-sizing: border-box;
}

/* Parents must not compress the block checkout layout */
body.woocommerce-checkout .site-main,
body.woocommerce-checkout .theme-page-container,
body.woocommerce-checkout .container-wide,
body.woocommerce-checkout .entry-content,
body.woocommerce-checkout article,
body.woocommerce-checkout #page-content {
	max-width: none;
	width: 100%;
	box-sizing: border-box;
}

body.woocommerce-checkout .theme-page-container,
body.woocommerce-checkout .container-wide {
	margin-left: auto;
	margin-right: auto;
	padding-left: 1.5rem;
	padding-right: 1.5rem;
}
@media (min-width: 1024px) {
	body.woocommerce-checkout .theme-page-container,
	body.woocommerce-checkout .container-wide {
		padding-left: 2rem;
		padding-right: 2rem;
	}
}

/* Checkout block root — 1280px centered (checkout page or embedded block) */
body.woocommerce-checkout .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;
	width: 100%;
	box-sizing: border-box;
}

/* Notices outside the sidebar layout (sibling of the form) */
body.woocommerce-checkout .wp-block-woocommerce-checkout > .wc-block-components-notices,
.entry-content .wp-block-woocommerce-checkout > .wc-block-components-notices {
	max-width: 80rem;
	margin-left: auto;
	margin-right: auto;
	width: 100%;
	box-sizing: border-box;
}

/* Mobile: stacked layout */
body.woocommerce-checkout .wc-block-components-sidebar-layout,
body.woocommerce-checkout .wc-block-checkout-sidebar-layout,
.entry-content .wc-block-components-sidebar-layout,
.entry-content .wc-block-checkout-sidebar-layout {
	display: flex;
	flex-direction: column;
	gap: var(--checkout-gap);
	width: 100%;
	max-width: 100%;
	box-sizing: border-box;
}

body.woocommerce-checkout .wc-block-components-main,
body.woocommerce-checkout .wc-block-checkout__main,
body.woocommerce-checkout .wc-block-components-sidebar,
body.woocommerce-checkout .wc-block-checkout__sidebar,
.entry-content .wc-block-components-main,
.entry-content .wc-block-checkout__main,
.entry-content .wc-block-components-sidebar,
.entry-content .wc-block-checkout__sidebar {
	min-width: 0;
	width: 100%;
	max-width: 100%;
	box-sizing: border-box;
}

/* Desktop: 2-column grid on the real layout container */
@media (min-width: 768px) {
	body.woocommerce-checkout .wc-block-components-sidebar-layout,
	body.woocommerce-checkout .wc-block-checkout-sidebar-layout,
	.entry-content .wc-block-components-sidebar-layout,
	.entry-content .wc-block-checkout-sidebar-layout,
	body.woocommerce-checkout form.wc-block-checkout,
	.entry-content form.wc-block-checkout {
		display: grid !important;
		grid-template-columns: 1fr minmax(360px, 400px);
		gap: var(--checkout-gap);
		align-items: start;
		flex-wrap: unset !important;
	}

	/* Notices — full-width row, same alignment as checkout content */
	body.woocommerce-checkout .wc-block-components-notices,
	.entry-content .wc-block-components-notices,
	body.woocommerce-checkout .wc-block-components-sidebar-layout > .wc-block-components-notices,
	body.woocommerce-checkout .wc-block-checkout-sidebar-layout > .wc-block-components-notices,
	.entry-content .wc-block-components-sidebar-layout > .wc-block-components-notices,
	.entry-content .wc-block-checkout-sidebar-layout > .wc-block-components-notices {
		grid-column: 1 / -1;
		order: 1;
		max-width: 80rem;
		margin-left: auto;
		margin-right: auto;
		width: 100%;
		box-sizing: border-box;
	}

	body.woocommerce-checkout .wc-block-components-notice-banner,
	.entry-content .wc-block-components-notice-banner {
		grid-column: 1 / -1;
		order: 1;
	}

	body.woocommerce-checkout .wc-block-components-main,
	body.woocommerce-checkout .wc-block-checkout__main,
	.entry-content .wc-block-components-main,
	.entry-content .wc-block-checkout__main {
		order: 2;
		grid-column: 1;
		width: 100% !important;
		max-width: 100%;
		padding-left: 0 !important;
		padding-right: 0 !important;
		margin: 0 !important;
		flex: unset !important;
	}

	body.woocommerce-checkout .wc-block-components-sidebar,
	body.woocommerce-checkout .wc-block-checkout__sidebar,
	.entry-content .wc-block-components-sidebar,
	.entry-content .wc-block-checkout__sidebar {
		order: 3;
		grid-column: 2;
		min-width: 360px;
		width: 100% !important;
		max-width: 100%;
		padding-left: 0 !important;
		padding-right: 0 !important;
		margin: 0 !important;
		flex: unset !important;
	}
}

body.woocommerce-checkout .wp-block-woocommerce-checkout-order-summary-block,
.entry-content .wp-block-woocommerce-checkout-order-summary-block {
	width: 100%;
	min-width: 0;
	max-width: 100%;
	box-sizing: border-box;
	background-color: var(--color-butter);
	border-radius: var(--card-radius);
	padding: 2rem;
}

/* Sidebar wrapper stays transparent — background only on order summary card */
body.woocommerce-checkout .wc-block-components-sidebar,
body.woocommerce-checkout .wc-block-checkout__sidebar,
.entry-content .wc-block-components-sidebar,
.entry-content .wc-block-checkout__sidebar {
	background: transparent;
	border-radius: 0;
	padding: 0;
}

body.woocommerce-checkout .wc-block-components-text-input input,
body.woocommerce-checkout .wc-block-components-select select {
	width: 100% !important;
	max-width: none !important;
	font-family: var(--font-body);
	border: 1px solid var(--color-border);
	border-radius: 0.375rem;
	background: var(--color-background);
	color: var(--color-foreground);
}
body.woocommerce-checkout .wc-block-components-text-input input:focus,
body.woocommerce-checkout .wc-block-components-select select:focus,
body.woocommerce-checkout .wc-block-components-text-input input:focus-visible { border-color: var(--color-primary); }
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-button-text) !important;
	border-radius: var(--btn-radius) !important;
	font-family: var(--font-body) !important;
	text-transform: none !important;
}
body.woocommerce-checkout .wc-block-components-notice-banner,
body.woocommerce-checkout .wc-block-components-notices .wc-block-components-notice-banner {
	font-family: var(--font-body);
	border-radius: 0.375rem;
}

/* ---------------------------------------------------------------------- */
/* Cart & My Account pages: width/alignment 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 .theme-page-container,
body.woocommerce-account .theme-page-container { max-width: 84rem; margin: 0 auto; padding: 0 1.5rem; }
@media (min-width: 1024px) {
	body.woocommerce-cart .theme-page-container,
	body.woocommerce-account .theme-page-container { padding: 0 2rem; }
}

/* ---------------------------------------------------------------------- */
/* Thank you page (Section 22.8)                                        */
/* ---------------------------------------------------------------------- */
body.theme-thankyou-page { overflow-x: hidden; }
body.theme-thankyou-page .theme-page-container { padding: 3rem 1.5rem 5rem; }
.theme-thankyou-icon { display: flex; width: 4rem; height: 4rem; align-items: center; justify-content: center; border-radius: 999px; background: var(--color-primary); color: var(--color-button-text); margin: 0 auto 1.5rem; }
body.theme-thankyou-page .woocommerce-order h2,
body.theme-thankyou-page .woocommerce-order-details__title { font-family: var(--font-display); font-size: 1.75rem; padding: 0 0 1rem 0; }
body.theme-thankyou-page .woocommerce-order-overview { display: flex; flex-wrap: wrap; gap: 1.5rem; list-style: none; padding: 1.5rem; margin: 1.5rem 0; background: var(--color-butter); border-radius: 0.5rem; }
body.theme-thankyou-page .woocommerce-order-overview li { font-size: 14px; }
body.theme-thankyou-page .woocommerce-order-overview li strong { display: block; font-family: var(--font-display); font-size: 1rem; margin-top: 0.25rem; }
body.theme-thankyou-page .woocommerce-order-details table { width: 100%; table-layout: fixed; border-collapse: collapse; margin: 1.5rem 0; }
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); text-align: left; }
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; border: 1px solid var(--color-border); padding: 1.25rem; border-radius: 0.5rem; }
@media (min-width: 768px) {
	body.theme-thankyou-page .woocommerce-customer-details { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; align-items: start; }
	body.theme-thankyou-page .woocommerce-customer-details address { min-width: 0; max-width: none; }
}

/* ---------------------------------------------------------------------- */
/* Shop archive (Section 19)                                            */
/* ---------------------------------------------------------------------- */
.theme-shop-archive-page .site-main { padding-top: 5rem; padding-bottom: 5rem; }
.theme-archive-header { text-align: center; margin-bottom: 2.5rem; }
.theme-archive-pagination { text-align: center; margin-top: 3rem; }
.theme-shop-empty-text { text-align: center; padding: 5rem 0; color: var(--color-muted-fg); }

/* ---------------------------------------------------------------------- */
/* WordPress admin bar offset (Customizer preview + logged-in users)     */
/* ---------------------------------------------------------------------- */
body.admin-bar .site-header {
	top: 32px;
}
@media screen and (max-width: 782px) {
	body.admin-bar .site-header {
		top: 46px;
	}
}

/* ---------------------------------------------------------------------- */
/* Pointer cursor on all interactive elements                            */
/* ---------------------------------------------------------------------- */
a[href],
button:not(:disabled),
[role="button"]:not([aria-disabled="true"]),
.theme-tile,
.theme-cat-filter,
.theme-nav-link,
.theme-link-underline,
.theme-menu-tab,
.theme-faq-question,
.theme-thumb-btn,
.site-icon-btn,
.theme-announcement-close,
.theme-menu-view-full-btn,
.theme-price-filter-toggle,
.theme-menu-group-mobile button,
.theme-cart-qty-btn,
.theme-cart-remove,
.theme-cart-drawer-close,
label[for],
input[type="submit"],
input[type="button"],
input[type="reset"],
input[type="checkbox"],
input[type="radio"],
select,
summary {
	cursor: pointer;
}
button:disabled,
input:disabled,
.theme-btn:disabled,
[aria-disabled="true"] {
	cursor: not-allowed;
}
