/* =================================================================
   LATHER LAB THEME — theme.css
   Design: Cormorant Garamond / Jost / Dancing Script
   Colors managed via CSS custom properties (set by functions.php)
   ================================================================= */

/* ----------------------------------------------------------------
   GOOGLE FONTS / FONT DECLARATIONS
   ---------------------------------------------------------------- */
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@400;500;600;700&family=Jost:wght@300;400;500;600;700&family=Dancing+Script:wght@500;600;700&display=swap');

/* ----------------------------------------------------------------
   CSS CUSTOM PROPERTIES (fallback values — overridden inline by PHP)
   ---------------------------------------------------------------- */
:root {
	--color-primary:           #587E5E;
	--color-primary-foreground:#ffffff;
	--color-accent:            #BF984A;
	--color-secondary:         #F5F7F3;
	--color-background:        #ffffff;
	--color-foreground:        #242E29;
	--color-muted-foreground:  #596961;
	--color-border:            #DFE4DD;
	--logo-height:             60px;

	--font-display: 'Cormorant Garamond', serif;
	--font-body:    'Jost', sans-serif;
	--font-script:  'Dancing Script', cursive;

	--radius:          0rem;
	--btn-radius:      0rem;
	--btn-height:      2.75rem;
	--btn-padding:     0.75rem 2rem;
	--btn-font-size:   0.875rem;
	--btn-font-weight: 500;
	--btn-letter-spacing: 0.025em;
	--btn-text-transform: none;

	--shadow-soft:     0 4px 20px -4px rgb(30 30 30 / 0.06);
	--shadow-elevated: 0 8px 40px -8px rgb(30 30 30 / 0.12);

	--transition-smooth: cubic-bezier(0.4, 0, 0.2, 1);
	--header-height: 64px;
}

/* ----------------------------------------------------------------
   RESET / BASE
   ---------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
	background-color: var(--color-background);
	color: var(--color-foreground);
	font-family: var(--font-body);
	font-size: 1rem;
	line-height: 1.6;
	-webkit-font-smoothing: antialiased;
	overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
	font-family: var(--font-display);
	line-height: 1.1;
}

img:not(.product-main-image):not(.hero-logo):not(.site-logo-img):not(.hero-bg-img):not(.product-card-img):not(.cta-bg-image) { max-width: 100%; height: auto; display: block; }

a { color: inherit; text-decoration: none; }

button { cursor: pointer; background: none; border: none; font: inherit; }

/* ----------------------------------------------------------------
   UTILITY CLASSES
   ---------------------------------------------------------------- */
.container-wide { width: 100%; max-width: 1280px; margin: 0 auto; padding: 0 1.5rem; }
@media (min-width: 1024px) { .container-wide { padding: 0 2rem; } }

.font-display  { font-family: var(--font-display); }
.font-body     { font-family: var(--font-body); }
.font-script   { font-family: var(--font-script); }
.text-accent   { color: var(--color-accent); }
.text-muted    { color: var(--color-muted-foreground); }
.text-center   { text-align: center; }
.bg-background { background-color: var(--color-background); }
.bg-secondary  { background-color: var(--color-secondary); }
.sr-only {
	position: absolute; width: 1px; height: 1px;
	padding: 0; margin: -1px; overflow: hidden;
	clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}
.scroll-mt-24 { scroll-margin-top: 6rem; }

/* Scroll reveal */
.reveal {
	opacity: 0;
	transform: translateY(24px);
	transition: opacity 0.7s var(--transition-smooth), transform 0.7s var(--transition-smooth);
	will-change: opacity, transform;
}
.reveal.is-visible { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: 0.08s; }
.reveal-delay-2 { transition-delay: 0.16s; }
.reveal-delay-3 { transition-delay: 0.24s; }

@media (prefers-reduced-motion: reduce) {
	.reveal, .reveal.is-visible { opacity: 1 !important; transform: none !important; transition: none !important; }
}

/* Section eyebrow labels */
.section-eyebrow {
	display: block;
	font-family: var(--font-body);
	font-size: 0.75rem;
	letter-spacing: 0.2em;
	text-transform: uppercase;
	color: var(--color-muted-foreground);
	margin-bottom: 0.5rem;
}

/* ----------------------------------------------------------------
   BUTTONS
   ---------------------------------------------------------------- */
.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.5rem;
	padding: var(--btn-padding);
	min-height: var(--btn-height);
	font-family: var(--font-body);
	font-size: var(--btn-font-size);
	font-weight: var(--btn-font-weight);
	letter-spacing: var(--btn-letter-spacing);
	border-radius: var(--btn-radius);
	border: none;
	cursor: pointer;
	transition: opacity 0.2s ease, background-color 0.2s ease;
	text-decoration: none;
}
.btn-primary {
	background-color: var(--color-primary);
	color: var(--color-primary-foreground);
}
.btn-primary:hover { opacity: 0.88; }
.btn-ghost {
	background-color: rgba(255,255,255,0.9);
	color: var(--color-foreground);
	border: 1px solid var(--color-border);
}
.btn-ghost:hover { background-color: #fff; }
.btn-outline {
	background: transparent;
	color: var(--color-foreground);
	border: 1px solid var(--color-border);
}
.btn-outline:hover { background-color: var(--color-secondary); }
.btn-white {
	background-color: #ffffff;
	color: var(--color-foreground);
}
.btn-white:hover { background-color: rgba(255,255,255,0.9); }
.btn-outline-white {
	background: transparent;
	color: #ffffff;
	border: 2px solid #ffffff;
}
.btn-outline-white:hover { background-color: rgba(255,255,255,0.1); }

/* ----------------------------------------------------------------
   HEADER
   ---------------------------------------------------------------- */
/* Matches Lovable Header: always solid (bg-background/95, backdrop-blur-sm, border-b) */
.site-header {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	z-index: 50;
	background-color: rgba(255, 255, 255, 0.95);
	backdrop-filter: blur(4px);
	-webkit-backdrop-filter: blur(4px);
	border-bottom: 1px solid var(--color-border);
	transition: background-color 0.3s var(--transition-smooth),
	            border-color 0.3s var(--transition-smooth),
	            backdrop-filter 0.3s var(--transition-smooth);
	animation: slideDown 0.5s var(--transition-smooth) forwards;
}
.site-header.is-solid {
	background-color: rgba(255, 255, 255, 0.95);
	backdrop-filter: blur(4px);
	-webkit-backdrop-filter: blur(4px);
	border-bottom-color: var(--color-border);
}

@keyframes slideDown {
	from { opacity: 0; transform: translateY(-12px); }
	to   { opacity: 1; transform: translateY(0); }
}

.site-nav {
	display: flex;
	align-items: center;
	justify-content: space-between;
	height: 56px;
}
@media (min-width: 1024px) { .site-nav { height: 64px; } }

.site-logo-link {
	display: flex;
	align-items: center;
	gap: 0.75rem;
	flex-shrink: 0;
}
.site-header .site-logo-img {
	height: 2.5rem !important;
	width: auto !important;
	display: block;
	object-fit: contain;
}
@media (min-width: 1024px) {
	.site-header .site-logo-img { height: 3rem !important; }
}
.site-logo-text { font-family: var(--font-display); font-size: 1.25rem; letter-spacing: 0.05em; }
.site-name-text {
	display: none;
	font-family: var(--font-display);
	font-size: 1.125rem;
	letter-spacing: 0.05em;
	font-weight: 400;
	line-height: 1.2;
}
@media (min-width: 640px) { .site-name-text { display: inline; } }
@media (min-width: 1024px) { .site-name-text { font-size: 1.25rem; } }

/* Desktop nav */
.site-nav-desktop { display: none; }
@media (min-width: 768px) {
	.site-nav-desktop {
		display: flex;
		align-items: center;
		gap: 2rem;
		margin-left: auto;
	}
}

.theme-nav-list,
.theme-nav-list li {
	list-style: none;
	display: flex;
	align-items: center;
	gap: 2rem;
}
.theme-nav-list a,
.theme-nav-list button {
	font-family: var(--font-body);
	font-size: 0.875rem;
	letter-spacing: 0.05em;
	color: var(--color-foreground);
	cursor: pointer;
	position: relative;
	background: none;
	border: none;
	padding: 0;
	transition: color 0.3s var(--transition-smooth);
}
.theme-nav-list a:hover,
.theme-nav-list button:hover { color: var(--color-foreground); }
.theme-nav-list a::after,
.theme-nav-list button::after {
	content: '';
	position: absolute;
	bottom: -2px; left: 0;
	width: 100%; height: 1px;
	background: currentColor;
	transform-origin: left;
	transform: scaleX(0);
	transition: transform 0.3s var(--transition-smooth);
}
.theme-nav-list a:hover::after,
.theme-nav-list button:hover::after { transform: scaleX(1); }

/* Nav actions */
.site-nav-actions {
	display: flex;
	align-items: center;
	gap: 0.25rem;
}
@media (min-width: 768px) { .site-nav-actions { margin-left: 2rem; } }

.cart-btn {
	position: relative;
	padding: 0.5rem;
	transition: opacity 0.2s;
}
.cart-btn:hover { opacity: 0.6; }

.theme-cart-count {
	position: absolute;
	top: -2px; right: -2px;
	width: 18px; height: 18px;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 10px;
	font-weight: 600;
	background-color: var(--color-primary);
	color: var(--color-primary-foreground);
	border-radius: 50%;
}
.theme-cart-count:empty { display: none; }

.mobile-menu-btn {
	padding: 0.5rem;
	transition: opacity 0.2s;
}
.mobile-menu-btn:hover { opacity: 0.6; }
@media (min-width: 768px) { .mobile-menu-btn { display: none; } }

/* Mobile menu */
.mobile-menu {
	border-top: 1px solid var(--color-border);
	padding: 1rem 0;
	animation: fadeIn 0.2s ease;
}
.mobile-menu[hidden] { display: none; }
.mobile-nav-list { list-style: none; }
.mobile-nav-list li + li { margin-top: 0; }
.mobile-nav-list a,
.mobile-nav-list button {
	display: block;
	width: 100%;
	text-align: left;
	padding: 0.625rem 0;
	font-family: var(--font-body);
	font-size: 0.875rem;
	letter-spacing: 0.025em;
	color: var(--color-foreground);
	background: none;
	border: none;
	cursor: pointer;
	transition: color 0.2s;
}
.mobile-nav-list a:hover, .mobile-nav-list button:hover { color: var(--color-muted-foreground); }

@keyframes fadeIn  { from { opacity: 0; } to { opacity: 1; } }
@keyframes slideUp { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }

/* ----------------------------------------------------------------
   HERO SECTION
   ---------------------------------------------------------------- */
.hero-section {
	position: relative;
	width: 100%;
	height: 100vh;
	min-height: 600px;
	overflow: hidden;
}
.hero-bg {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	overflow: hidden;
}
.hero-bg-img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	min-width: 100%;
	min-height: 100%;
	max-width: none;
	object-fit: cover;
	object-position: center;
	transition: transform 0.3s ease;
}
.hero-overlay {
	position: absolute;
	inset: 0;
	background-color: rgba(36,46,41,0.25);
}
.hero-overlay-gradient {
	position: absolute;
	inset: 0;
	background: linear-gradient(to bottom, rgba(36,46,41,0.4) 0%, transparent 50%, rgba(36,46,41,0.7) 100%);
}

/* Hero top-left: eyebrow + logo */
.hero-top-left {
	position: absolute;
	top: 0; left: 0; right: 0;
	z-index: 10;
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	text-align: left;
	padding-top: 6rem;
	padding-left: 1.5rem;
	padding-right: 1.5rem;
}
@media (min-width: 768px) {
	.hero-top-left { padding-top: 8rem; padding-left: 2.5rem; }
}
@media (min-width: 1024px) {
	.hero-top-left { padding-left: 4rem; }
}
.hero-eyebrow {
	display: block;
	font-family: var(--font-body);
	font-size: 0.75rem;
	letter-spacing: 0.4em;
	text-transform: uppercase;
	color: #ffffff;
	text-shadow: 0 2px 8px rgba(0,0,0,0.5);
	margin-bottom: 1.25rem;
}
@media (min-width: 768px) { .hero-eyebrow { font-size: 0.875rem; margin-bottom: 2rem; } }
.hero-logo {
	width: auto;
	max-width: none;
	height: 7rem;
	object-fit: contain;
	filter: drop-shadow(0 4px 16px rgba(0,0,0,0.45));
}
@media (min-width: 640px) { .hero-logo { height: 9rem; } }
@media (min-width: 768px) { .hero-logo { height: 11rem; } }
@media (min-width: 1024px) { .hero-logo { height: 13rem; } }
.hero-logo-text {
	font-family: var(--font-display);
	font-size: 3rem;
	color: #ffffff;
	text-shadow: 0 2px 12px rgba(0,0,0,0.5);
}

/* Hero floating card */
.hero-floating-card {
	position: absolute;
	bottom: 1.5rem; right: 1.5rem;
	z-index: 10;
}
@media (min-width: 768px) { .hero-floating-card { bottom: 2.5rem; right: 2.5rem; } }
.hero-floating-link {
	display: block;
}
.hero-floating-link > div,
.hero-floating-card > a > div {
	background-color: rgba(255,255,255,0.97);
	backdrop-filter: blur(4px);
	-webkit-backdrop-filter: blur(4px);
	box-shadow: 0 20px 40px rgba(0,0,0,0.25);
	width: 10rem;
	overflow: hidden;
}
@media (min-width: 768px) {
	.hero-floating-link > div,
	.hero-floating-card > a > div { width: 14rem; }
}
@media (min-width: 1024px) {
	.hero-floating-link > div,
	.hero-floating-card > a > div { width: 16rem; }
}
.hero-floating-img-wrap {
	aspect-ratio: 4/3;
	overflow: hidden;
	background-color: var(--color-secondary);
}
.hero-floating-img {
	width: 100%; height: 100%;
	object-fit: cover;
	transition: transform 0.7s ease;
}
.hero-floating-link:hover .hero-floating-img { transform: scale(1.05); }
.hero-floating-info {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 0.625rem 0.75rem;
}
@media (min-width: 768px) { .hero-floating-info { padding: 0.75rem 1rem; } }
.hero-floating-name,
.hero-floating-price {
	font-family: var(--font-body);
	font-size: 0.8125rem;
	color: var(--color-foreground);
}
@media (min-width: 768px) {
	.hero-floating-name, .hero-floating-price { font-size: 0.875rem; }
}

/* Hero CTAs */
.hero-ctas {
	position: absolute;
	bottom: 1.5rem; left: 1.5rem;
	z-index: 10;
	display: flex;
	flex-direction: column;
	gap: 0.5rem;
}
@media (min-width: 640px) { .hero-ctas { flex-direction: row; gap: 0.75rem; } }
@media (min-width: 768px) { .hero-ctas { bottom: 2.5rem; left: 2.5rem; } }
.hero-btn { font-size: 0.875rem; }
@media (min-width: 768px) { .hero-btn { font-size: 1rem; padding: 0.75rem 2.5rem; } }

/* ----------------------------------------------------------------
   WHY CHOOSE SECTION
   ---------------------------------------------------------------- */
.why-section { padding: 4rem 0; }
@media (min-width: 768px) { .why-section { padding: 6rem 0; } }

.why-header {
	display: grid;
	grid-template-columns: 1fr;
	gap: 2rem;
	margin-bottom: 3rem;
}
@media (min-width: 768px) {
	.why-header {
		grid-template-columns: 1fr 1fr;
		gap: 4rem;
		align-items: start;
		margin-bottom: 4rem;
	}
}
.why-title {
	font-size: 2.5rem;
	line-height: 1.05;
	letter-spacing: -0.01em;
}
@media (min-width: 768px) { .why-title { font-size: 3.25rem; } }
@media (min-width: 1024px) { .why-title { font-size: 4rem; } }
.why-title .font-script { font-size: 3rem; }
@media (min-width: 768px) { .why-title .font-script { font-size: 4rem; } }
@media (min-width: 1024px) { .why-title .font-script { font-size: 4.5rem; } }

.why-description {
	font-family: var(--font-body);
	color: var(--color-muted-foreground);
	line-height: 1.7;
	max-width: 28rem;
}
@media (min-width: 768px) { .why-description { font-size: 1.0625rem; padding-top: 0.75rem; } }

.why-features-grid {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 1rem;
}
@media (min-width: 1024px) {
	.why-features-grid { grid-template-columns: repeat(4, 1fr); gap: 1.25rem; }
}

.why-feature-card {
	background-color: var(--color-secondary);
	padding: 1.5rem;
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
	transition: background-color 0.5s;
}
@media (min-width: 768px) { .why-feature-card { padding: 2rem; } }
.why-feature-card:hover { background-color: rgba(245,247,243,0.7); }

.why-feature-icon-wrap {
	width: 5rem; height: 5rem;
	border-radius: 50%;
	border: 1px solid rgba(88,126,94,0.4);
	display: flex;
	align-items: center;
	justify-content: center;
	margin-bottom: 1.5rem;
	color: var(--color-primary);
	transition: border-color 0.5s, transform 0.5s;
}
@media (min-width: 768px) { .why-feature-icon-wrap { width: 6rem; height: 6rem; } }
.why-feature-card:hover .why-feature-icon-wrap {
	border-color: var(--color-primary);
	transform: scale(1.05);
}
.why-feature-title {
	font-size: 1.125rem;
	margin-bottom: 0.5rem;
}
@media (min-width: 768px) { .why-feature-title { font-size: 1.25rem; } }
.why-feature-desc {
	font-size: 0.875rem;
	color: var(--color-muted-foreground);
	line-height: 1.6;
}

/* ----------------------------------------------------------------
   ABOUT SECTION
   ---------------------------------------------------------------- */
.about-section { padding: 4rem 0; }
@media (min-width: 768px) { .about-section { padding: 6rem 0; } }

.about-grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 2.5rem;
	align-items: start;
	max-width: 72rem;
	margin: 0 auto;
}
@media (min-width: 768px) { .about-grid { grid-template-columns: 1fr 1fr; gap: 4rem; } }

.about-image-col { min-width: 0; }
.about-image-wrap { aspect-ratio: 4/5; overflow: hidden; background-color: var(--color-background); }
.about-image { width: 100%; height: 100%; object-fit: cover; }
.about-image-placeholder { background-color: var(--color-muted); }

.about-content-col { display: flex; flex-direction: column; min-width: 0; }
.about-title {
	font-size: 2rem;
	margin-top: 0.5rem;
	margin-bottom: 1.5rem;
}
@media (min-width: 768px) { .about-title { font-size: 2.5rem; } }
@media (min-width: 1024px) { .about-title { font-size: 3.25rem; } }
.about-title .font-script { font-size: 2.5rem; }
@media (min-width: 768px) { .about-title .font-script { font-size: 3rem; } }
@media (min-width: 1024px) { .about-title .font-script { font-size: 4rem; } }

.about-paragraphs { display: flex; flex-direction: column; gap: 1rem; }
.about-para {
	font-family: var(--font-body);
	color: var(--color-muted-foreground);
	line-height: 1.75;
}
.about-para:first-child { font-size: 1rem; }
@media (min-width: 768px) { .about-para:first-child { font-size: 1.0625rem; } }
.about-para-italic { font-style: italic; }
.about-signature {
	font-family: var(--font-script) !important;
	font-size: 1.5rem;
	color: var(--color-foreground);
	margin-top: 0.5rem;
}

/* ----------------------------------------------------------------
   SHOP SECTION
   ---------------------------------------------------------------- */
.shop-section { padding: 4rem 0 5rem; }
@media (min-width: 768px) { .shop-section { padding: 5rem 0 6rem; } }

.shop-header { margin-bottom: 3rem; }

.shop-title {
	font-size: 2rem;
	margin-top: 0.5rem;
	margin-bottom: 2rem;
}
@media (min-width: 768px) { .shop-title { font-size: 2.5rem; } }
@media (min-width: 1024px) { .shop-title { font-size: 3.25rem; } }
.shop-title .font-script { font-size: 2.5rem; }
@media (min-width: 768px) { .shop-title .font-script { font-size: 3rem; } }
@media (min-width: 1024px) { .shop-title .font-script { font-size: 4rem; } }

/* Category filter pills */
.shop-filters {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	align-items: center;
	gap: 0.5rem;
	margin-bottom: 1rem;
	padding: 0 0.5rem;
}
@media (min-width: 768px) { .shop-filters { flex-wrap: nowrap; } }

.filter-pill {
	flex-shrink: 0;
	padding: 0.625rem 1.25rem;
	font-family: var(--font-body);
	font-size: 0.875rem;
	background-color: var(--color-secondary);
	color: var(--color-foreground);
	border: none;
	cursor: pointer;
	transition: background-color 0.3s var(--transition-smooth), color 0.3s var(--transition-smooth), transform 0.3s var(--transition-smooth);
}
@media (min-width: 768px) { .filter-pill { padding: 0.625rem 1.375rem; } }
.filter-pill:hover:not(.active) {
	background-color: hsl(90 12% 93%);
	transform: scale(1.05);
}
.filter-pill.active {
	background-color: var(--color-primary);
	color: var(--color-primary-foreground);
}
.filter-pill:active { transform: scale(0.95); }

.price-filter-toggle {
	display: flex;
	align-items: center;
	gap: 0.5rem;
}
.price-chevron {
	transition: transform 0.3s;
}
.price-filter-toggle[aria-expanded="true"] .price-chevron { transform: rotate(180deg); }
.price-filter-range-display { font-size: 0.75rem; opacity: 0.7; }

/* Price filter panel */
.price-filter-panel {
	display: flex;
	flex-direction: column;
	align-items: center;
	width: 100%;
}
.price-filter-panel[hidden] { display: none; }
.price-filter-panel-inner {
	width: 100%;
	max-width: 24rem;
	padding: 0.5rem 0;
}

/* Dual-thumb price range (single track — matches Lovable Radix Slider) */
.price-range-wrapper {
	position: relative;
	width: 100%;
	height: 2.5rem;
	display: flex;
	align-items: center;
	margin-bottom: 0.75rem;
}
.price-range-track {
	position: absolute;
	left: 0;
	right: 0;
	height: 8px;
	top: 50%;
	transform: translateY(-50%);
	pointer-events: none;
	z-index: 0;
}
.price-range-track-bg {
	position: absolute;
	inset: 0;
	border-radius: 9999px;
	background-color: var(--color-secondary);
	overflow: hidden;
}
.price-range-fill {
	position: absolute;
	top: 0;
	left: 0;
	height: 100%;
	border-radius: 9999px;
	background-color: var(--color-primary);
	pointer-events: none;
}
.price-range-input {
	position: absolute;
	left: 0;
	width: 100%;
	height: 8px;
	top: 50%;
	transform: translateY(-50%);
	margin: 0;
	padding: 0;
	-webkit-appearance: none;
	appearance: none;
	background: transparent;
	pointer-events: none;
}
.price-range-input--min { z-index: 3; }
.price-range-input--max { z-index: 4; }
.price-range-input::-webkit-slider-runnable-track {
	height: 8px;
	background: transparent;
	border: none;
}
.price-range-input::-moz-range-track {
	height: 8px;
	background: transparent;
	border: none;
}
.price-range-input::-webkit-slider-thumb {
	-webkit-appearance: none;
	pointer-events: all;
	width: 20px;
	height: 20px;
	border-radius: 50%;
	background: var(--color-background);
	border: 2px solid var(--color-primary);
	box-shadow: 0 1px 4px rgba(0, 0, 0, 0.12);
	cursor: pointer;
	margin-top: -6px;
}
.price-range-input::-moz-range-thumb {
	pointer-events: all;
	width: 20px;
	height: 20px;
	border-radius: 50%;
	background: var(--color-background);
	border: 2px solid var(--color-primary);
	box-shadow: 0 1px 4px rgba(0, 0, 0, 0.12);
	cursor: pointer;
}
.price-range-labels {
	display: flex;
	justify-content: space-between;
	width: 100%;
	font-family: var(--font-body);
	font-size: 0.75rem;
	color: var(--color-muted-foreground);
}

/* Product Grid */
.theme-product-grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 1.5rem;
	align-items: stretch;
}
@media (min-width: 768px) {
	.theme-product-grid {
		grid-template-columns: repeat(3, 1fr);
		gap: 1.5rem;
	}
}
@media (min-width: 1024px) {
	.theme-product-grid { gap: 2rem; }
}

/* Product Card */
.theme-product-card-wrap { display: flex; height: 100%; }
.theme-product-card-wrap[hidden] { display: none; }

.theme-product-card {
	position: relative;
	display: flex;
	flex-direction: column;
	height: 100%;
	width: 100%;
	background-color: var(--color-background);
	border: 1px solid rgba(223, 228, 221, 0.6);
	overflow: hidden;
	transition: box-shadow 0.3s var(--transition-smooth), transform 0.35s var(--transition-smooth);
}
.theme-product-card:hover {
	box-shadow: 0 20px 40px -12px rgba(30, 40, 35, 0.1);
	transform: translateY(-4px);
}

/* Hit-area overlay (Pattern A §31.3) */
.theme-card-link {
	position: absolute;
	inset: 0;
	z-index: 1;
	pointer-events: auto;
}
.theme-product-card * { pointer-events: none; }
.theme-product-card .theme-card-link { pointer-events: auto; }
.theme-product-card .add_to_cart_button { position: relative; z-index: 2; pointer-events: auto; }

/* Badge */
.product-badge-wrap {
	position: absolute;
	top: 0.75rem;
	left: 0.75rem;
	z-index: 2;
}
.product-badge {
	display: inline-block;
	padding: 0.25rem 0.625rem;
	font-family: var(--font-body);
	font-size: 0.625rem;
	letter-spacing: 0.15em;
	text-transform: uppercase;
}
.product-badge--sold-out {
	background-color: var(--color-foreground);
	color: var(--color-background);
}
.product-badge--made-to-order {
	background-color: rgba(255,255,255,0.9);
	color: var(--color-muted-foreground);
	border: 1px solid var(--color-border);
}
.product-badge--coming-soon {
	background-color: var(--color-accent);
	color: #ffffff;
}

/* Product Card Image */
.theme-product-card__image-wrapper {
	position: relative;
	aspect-ratio: 1/1;
	overflow: hidden;
	background-color: var(--color-secondary);
}
.theme-product-card__image-wrapper img,
.theme-product-card__image-wrapper .product-card-img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	min-width: 100%;
	min-height: 100%;
	max-width: none;
	object-fit: cover;
	object-position: center;
	display: block;
	transition: transform 0.6s var(--transition-smooth);
}
.theme-product-card:hover .theme-product-card__image-wrapper img,
.theme-product-card:hover .product-card-img { transform: scale(1.06); }

.product-card-img-placeholder {
	width: 100%; height: 100%;
	display: flex; align-items: center; justify-content: center;
	background-color: var(--color-muted);
}
.product-card-img-placeholder span { color: rgba(89,105,97,0.4); font-size: 1rem; letter-spacing: 0.2em; text-transform: uppercase; }

/* Product Card Content */
.theme-product-card__info {
	flex: 1;
	display: flex;
	flex-direction: column;
	padding: 1rem 1.25rem;
	border-top: 1px solid rgba(223,228,221,0.6);
}
.product-card-name-row {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 0.75rem;
	min-width: 0;
}
.product-card-name {
	font-family: var(--font-body);
	font-size: 0.75rem;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--color-foreground);
	transition: color 0.3s;
	line-height: 1.4;
	min-width: 0;
}
@media (min-width: 768px) { .product-card-name { font-size: 0.8125rem; } }
.theme-product-card:hover .product-card-name { color: var(--color-accent); }

.product-card-price {
	font-family: var(--font-body);
	font-size: 0.9375rem;
	font-weight: 600;
	white-space: nowrap;
	flex-shrink: 0;
}
.product-card-price .amount { font-family: var(--font-body); }

/* Show more */
.shop-load-more { margin-top: 2.5rem; }
.shop-load-more[hidden] { display: none; }
.shop-no-results { padding: 5rem 0; }
.shop-no-results[hidden] { display: none; }
.shop-empty { padding: 5rem 0; }

/* ----------------------------------------------------------------
   SERVICES SECTION
   ---------------------------------------------------------------- */
.services-section { padding: 4rem 0; }
@media (min-width: 768px) { .services-section { padding: 6rem 0; } }

.services-header {
	display: grid;
	grid-template-columns: 1fr;
	gap: 2rem;
	margin-bottom: 3rem;
	align-items: end;
}
@media (min-width: 768px) {
	.services-header { grid-template-columns: 1fr 1fr; gap: 3rem; margin-bottom: 4rem; }
}
.services-title {
	font-size: 2rem;
	line-height: 1.1;
	margin-top: 0.5rem;
}
@media (min-width: 768px) { .services-title { font-size: 2.5rem; } }
@media (min-width: 1024px) { .services-title { font-size: 3.25rem; } }
.services-title .font-script { font-size: 2.5rem; }
@media (min-width: 768px) { .services-title .font-script { font-size: 3rem; } }
@media (min-width: 1024px) { .services-title .font-script { font-size: 4rem; } }
.services-description {
	color: var(--color-muted-foreground);
	line-height: 1.7;
	max-width: 28rem;
}
@media (min-width: 768px) { .services-description { font-size: 1.0625rem; } }

.services-grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 1.25rem;
}
@media (min-width: 768px) { .services-grid { grid-template-columns: repeat(3, 1fr); gap: 1.5rem; } }

.service-card {
	display: flex;
	flex-direction: column;
	background-color: var(--color-background);
	border: 1px solid rgba(223,228,221,0.6);
	overflow: hidden;
}
.service-card-image-wrap {
	aspect-ratio: 4/3;
	overflow: hidden;
	background-color: var(--color-secondary);
}
.service-card-image {
	width: 100%; height: 100%;
	object-fit: cover;
	transition: transform 0.7s ease;
}
.service-card:hover .service-card-image { transform: scale(1.05); }

.service-card-body {
	flex: 1;
	padding: 1.5rem;
	display: flex;
	flex-direction: column;
}
@media (min-width: 768px) { .service-card-body { padding: 2rem; } }

.service-card-meta {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-bottom: 1.25rem;
	padding-bottom: 1.25rem;
	border-bottom: 1px solid rgba(223,228,221,0.6);
}
.service-num {
	font-family: var(--font-display);
	font-size: 2rem;
	color: var(--color-accent);
	line-height: 1;
}
@media (min-width: 768px) { .service-num { font-size: 2.5rem; } }

.service-icon-wrap {
	width: 2.5rem; height: 2.5rem;
	border-radius: 50%;
	border: 1px solid rgba(88,126,94,0.4);
	display: flex;
	align-items: center;
	justify-content: center;
	color: var(--color-primary);
	transition: border-color 0.5s;
}
.service-card:hover .service-icon-wrap { border-color: var(--color-primary); }

.service-title {
	font-size: 1.25rem;
	margin-bottom: 0.75rem;
}
@media (min-width: 768px) { .service-title { font-size: 1.5rem; } }
.service-desc {
	font-size: 0.875rem;
	color: var(--color-muted-foreground);
	line-height: 1.7;
}
@media (min-width: 768px) { .service-desc { font-size: 1rem; } }

/* ----------------------------------------------------------------
   CTA SECTION (matches Lovable: full-bleed image + bottom blur bar)
   ---------------------------------------------------------------- */
.cta-section {
	position: relative;
	width: 100%;
	overflow: hidden;
}
.cta-media {
	position: relative;
	width: 100%;
	height: 60vh;
	min-height: 24rem;
	overflow: hidden;
}
@media (min-width: 768px) {
	.cta-media { height: 70vh; }
}
.cta-bg-image {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	min-width: 100%;
	min-height: 100%;
	max-width: none;
	object-fit: cover;
	object-position: center;
}
.cta-gradient {
	position: absolute;
	inset: 0;
	background: linear-gradient(
		to top,
		rgba(36, 46, 41, 0.85) 0%,
		rgba(36, 46, 41, 0.3) 50%,
		transparent 100%
	);
	pointer-events: none;
}
.cta-bottom-bar {
	position: absolute;
	bottom: 0;
	left: 0;
	right: 0;
	background-color: rgba(36, 46, 41, 0.6);
	backdrop-filter: blur(4px);
	-webkit-backdrop-filter: blur(4px);
}
.cta-bottom-inner {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: space-between;
	gap: 1.5rem;
	padding-top: 2rem;
	padding-bottom: 2rem;
}
@media (min-width: 768px) {
	.cta-bottom-inner {
		flex-direction: row;
		align-items: center;
		padding-top: 2.5rem;
		padding-bottom: 2.5rem;
		gap: 1.5rem;
	}
}
.cta-title {
	font-size: 1.5rem;
	color: #ffffff;
	margin-bottom: 0.5rem;
	line-height: 1.1;
}
@media (min-width: 768px) { .cta-title { font-size: 2rem; } }
@media (min-width: 1024px) { .cta-title { font-size: 2.25rem; } }
.cta-subtitle {
	color: rgba(255, 255, 255, 0.8);
	font-family: var(--font-body);
	font-weight: 300;
	max-width: 32rem;
	line-height: 1.6;
}
.cta-buttons {
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem;
	flex-shrink: 0;
}
.btn-lg {
	min-height: 3rem;
	padding: 0.875rem 2rem;
	font-size: 1rem;
}

/* ----------------------------------------------------------------
   CONTACT SECTION
   ---------------------------------------------------------------- */
.contact-section { padding: 5rem 0; }

.contact-header { margin-bottom: 2.5rem; }
.contact-title {
	font-size: 2rem;
	margin-top: 0.5rem;
	margin-bottom: 1rem;
}
@media (min-width: 768px) { .contact-title { font-size: 2.5rem; } }
@media (min-width: 1024px) { .contact-title { font-size: 3.25rem; } }
.contact-title .font-script { font-size: 2.5rem; }
@media (min-width: 768px) { .contact-title .font-script { font-size: 3rem; } }
@media (min-width: 1024px) { .contact-title .font-script { font-size: 4rem; } }
.contact-desc {
	color: var(--color-muted-foreground);
	max-width: 32rem;
	margin: 0 auto;
	line-height: 1.7;
}

.contact-form-wrap { max-width: 48rem; margin: 0 auto; }

.contact-info {
	display: flex;
	flex-direction: column;
	gap: 1rem;
	align-items: flex-start;
	justify-content: center;
	margin-bottom: 2.5rem;
}
@media (min-width: 640px) { .contact-info { flex-direction: row; align-items: center; gap: 1.5rem; } }

.contact-info-item {
	display: flex;
	align-items: center;
	gap: 0.75rem;
	font-family: var(--font-body);
	font-size: 0.875rem;
	color: var(--color-muted-foreground);
	text-decoration: none;
	transition: color 0.2s;
}
.contact-info-item:hover { color: var(--color-foreground); }
.contact-info-icon {
	width: 2.5rem; height: 2.5rem;
	background-color: var(--color-background);
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
}

/* Form */
.contact-form { display: flex; flex-direction: column; gap: 1.25rem; }
.contact-form-row { display: grid; grid-template-columns: 1fr; gap: 1.25rem; }
@media (min-width: 768px) { .contact-form-row { grid-template-columns: 1fr 1fr; } }
.form-field { display: flex; flex-direction: column; }
.form-label {
	font-family: var(--font-body);
	font-size: 0.875rem;
	font-weight: 500;
	margin-bottom: 0.5rem;
}
.form-input {
	width: 100%;
	padding: 0.75rem 1rem;
	background-color: var(--color-background);
	border: 1px solid var(--color-border);
	font-family: var(--font-body);
	font-size: 0.875rem;
	color: var(--color-foreground);
	outline: none;
	transition: box-shadow 0.3s;
}
.form-input::placeholder { color: var(--color-muted-foreground); }
.form-input:focus {
	box-shadow: 0 0 0 2px rgba(88,126,94,0.3);
	border-color: var(--color-primary);
}
.form-textarea { resize: none; }

.contact-submit-btn { width: 100%; }
.contact-submit-icon { flex-shrink: 0; }

/* Contact success */
.contact-success {
	text-align: center;
	padding: 2.5rem 0;
}
.contact-success[hidden] { display: none; }
.contact-success-icon {
	width: 4rem; height: 4rem;
	background-color: var(--color-primary);
	display: flex;
	align-items: center;
	justify-content: center;
	margin: 0 auto 1.5rem;
	color: var(--color-primary-foreground);
}
.contact-success-title { font-size: 1.5rem; margin-bottom: 0.5rem; }
.contact-success-msg { color: var(--color-muted-foreground); }

/* ----------------------------------------------------------------
   FOOTER
   ---------------------------------------------------------------- */
.site-footer {
	border-top: 1px solid var(--color-border);
	background-color: var(--color-secondary);
}
.site-footer > .container-wide {
	padding-top: 3rem;
	padding-bottom: 3rem;
}
@media (min-width: 1024px) {
	.site-footer > .container-wide {
		padding-top: 4rem;
		padding-bottom: 4rem;
	}
}
.footer-grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 2rem;
	padding: 0;
}
@media (min-width: 768px) {
	.footer-grid {
		grid-template-columns: repeat(3, 1fr);
		gap: 2rem;
	}
}
@media (min-width: 1024px) {
	.footer-grid { gap: 3rem; }
}

.footer-logo-link { display: flex; align-items: center; gap: 0.75rem; }
.footer-logo-link .site-logo-img {
	height: 3.5rem !important;
	width: auto !important;
	object-fit: contain;
}
.footer-site-name {
	font-family: var(--font-display);
	font-size: 1.25rem;
	letter-spacing: 0.05em;
	line-height: 1.2;
}
.footer-nav-col,
.footer-contact-col {
	min-width: 0;
}
.footer-tagline {
	margin-top: 1rem;
	font-family: var(--font-body);
	font-size: 0.875rem;
	color: var(--color-muted-foreground);
	max-width: 22rem;
	line-height: 1.6;
}
.footer-social { margin-top: 1rem; display: flex; gap: 1rem; }
.footer-social-link {
	font-family: var(--font-body);
	font-size: 0.875rem;
	color: var(--color-muted-foreground);
	transition: color 0.2s;
}
.footer-social-link:hover { color: var(--color-foreground); }

.footer-col-title {
	font-family: var(--font-body);
	font-size: 0.875rem;
	font-weight: 600;
	margin: 0 0 1rem;
	line-height: 1.4;
	color: var(--color-foreground);
}
.footer-nav-list,
.footer-nav-list ul {
	list-style: none;
	margin: 0;
	padding: 0;
}
.footer-nav-list li + li { margin-top: 0.75rem; }
.footer-nav-list a,
.footer-nav-list button {
	font-family: var(--font-body);
	font-size: 0.875rem;
	color: var(--color-muted-foreground);
	background: none;
	border: none;
	padding: 0;
	cursor: pointer;
	transition: color 0.3s var(--transition-smooth);
	display: block;
	text-align: left;
	width: 100%;
	line-height: 1.5;
}
.footer-nav-list a:hover,
.footer-nav-list button:hover { color: var(--color-foreground); }

.footer-contact-list { list-style: none; }
.footer-contact-item {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	font-family: var(--font-body);
	font-size: 0.875rem;
	color: var(--color-muted-foreground);
}
.footer-contact-item + .footer-contact-item { margin-top: 0.75rem; }
.footer-contact-link {
	color: var(--color-muted-foreground);
	transition: color 0.2s;
}
.footer-contact-link:hover { color: var(--color-foreground); }

.footer-bottom {
	margin-top: 2.5rem;
	padding-top: 1.5rem;
	border-top: 1px solid var(--color-border);
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 1rem;
}
@media (min-width: 640px) { .footer-bottom { flex-direction: row; justify-content: space-between; } }
.footer-copyright {
	font-family: var(--font-body);
	font-size: 0.75rem;
	color: var(--color-muted-foreground);
}
.footer-credit {
	font-family: var(--font-body);
	font-size: 0.75rem;
	color: var(--color-muted-foreground);
	transition: color 0.2s;
}
.footer-credit:hover { color: var(--color-foreground); }

/* ----------------------------------------------------------------
   SINGLE PRODUCT PAGE
   ---------------------------------------------------------------- */
.single-product-main {
	padding-top: var(--header-height);
	padding-bottom: 5rem;
}
.single-product-back-wrap { padding: 1.5rem 0; }
.back-to-shop-link {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	font-family: var(--font-body);
	font-size: 0.875rem;
	color: var(--color-muted-foreground);
	transition: color 0.2s;
}
.back-to-shop-link:hover { color: var(--color-foreground); }

/* Product layout grid */
.theme-product-layout {
	display: grid;
	grid-template-columns: 1fr;
	gap: 2.5rem;
	padding-bottom: 5rem;
}
@media (min-width: 1024px) {
	.theme-product-layout { grid-template-columns: 1fr 1fr; gap: 4rem; }
}
.theme-product-gallery { min-width: 0; max-width: 100%; }
.theme-product-info { min-width: 0; max-width: 100%; }
@media (min-width: 1024px) { .theme-product-info { padding-top: 2.5rem; } }

/* Gallery — main image fills 3:4 frame (Lovable aspect-[3/4] object-cover) */
.product-main-image-wrap {
	position: relative;
	display: block;
	width: 100%;
	aspect-ratio: 3 / 4;
	overflow: hidden;
	background-color: var(--color-secondary);
	margin-bottom: 1rem;
}
.product-main-image-wrap > .product-main-image,
.product-main-image-wrap > img#product-main-img-el {
	position: absolute;
	inset: 0;
	width: 100% !important;
	height: 100% !important;
	max-width: none !important;
	max-height: none !important;
	object-fit: cover !important;
	object-position: center center;
	display: block;
}

.theme-product-thumbnails {
	display: flex;
	gap: 0.5rem;
	flex-wrap: wrap;
	max-width: 100%;
}
.product-thumb-btn {
	width: 4rem; height: 4rem;
	overflow: hidden;
	border: 2px solid transparent;
	cursor: pointer;
	transition: border-color 0.2s, opacity 0.2s;
	opacity: 0.6;
	flex-shrink: 0;
}
.product-thumb-btn.is-active { border-color: var(--color-primary); opacity: 1; }
.product-thumb-btn:hover { opacity: 1; }
.product-thumb-btn img { width: 100%; height: 100%; object-fit: cover; }

/* Product info */
.product-category-label,
.product-categories {
	font-family: var(--font-body);
	font-size: 0.75rem;
	letter-spacing: 0.2em;
	text-transform: uppercase;
	color: var(--color-muted-foreground);
	margin: 0 0 0.5rem;
	overflow-wrap: break-word;
	word-break: break-word;
}
.product-categories a {
	color: inherit;
	text-decoration: none;
	pointer-events: none;
	cursor: default;
}

.product-title {
	font-size: 1.5rem;
	margin-bottom: 1rem;
}
@media (min-width: 768px) { .product-title { font-size: 2rem; } }

.product-price {
	font-family: var(--font-body);
	font-size: 1.5rem;
	font-weight: 600;
	margin-bottom: 1.5rem;
}
.product-price .amount { font-family: var(--font-body); }
.product-price del { opacity: 0.5; }
.product-price ins { text-decoration: none; color: var(--color-primary); }

.product-stock {
	display: inline-block;
	padding: 0.25rem 0.75rem;
	font-family: var(--font-body);
	font-size: 0.75rem;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	margin-bottom: 1rem;
}
.product-stock--out {
	background-color: var(--color-foreground);
	color: var(--color-background);
}

.product-long-description {
	color: var(--color-muted-foreground);
	line-height: 1.75;
	margin-bottom: 2rem;
	overflow-wrap: break-word;
	word-break: break-word;
}
.product-long-description p + p { margin-top: 1rem; }

/* Single product: quantity wrapper */
.theme-add-to-cart-area {
	display: flex;
	align-items: stretch;
	gap: 1rem;
	margin-bottom: 2rem;
	flex-wrap: wrap;
}
.theme-quantity-wrapper {
	display: flex;
	align-items: stretch;
	border: 1px solid var(--color-border);
	flex-shrink: 0;
}
.theme-qty-minus,
.theme-qty-plus {
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 0.75rem 1rem;
	font-size: 1.125rem;
	color: var(--color-foreground);
	cursor: pointer;
	transition: background-color 0.2s;
}
.theme-qty-minus:hover, .theme-qty-plus:hover { background-color: var(--color-secondary); }
.theme-qty-input {
	width: 3rem;
	text-align: center;
	border: none;
	border-left: 1px solid var(--color-border);
	border-right: 1px solid var(--color-border);
	font-family: var(--font-body);
	font-size: 0.9375rem;
	background: transparent;
	-moz-appearance: textfield;
}
.theme-qty-input::-webkit-inner-spin-button,
.theme-qty-input::-webkit-outer-spin-button { display: none; }
.theme-qty-input:focus { outline: none; }

/* Responsive layout */
.single-product .theme-product-layout { min-width: 0; }
.single-product .theme-product-gallery,
.single-product .theme-product-info { min-width: 0; max-width: 100%; }
.single-product .theme-product-thumbnails { flex-wrap: wrap; max-width: 100%; }
.single-product .theme-add-to-cart-area { flex-wrap: wrap; gap: 0.75rem; }
.single-product .single_add_to_cart_button { flex: 1 1 auto; min-width: 160px; }

/* Variable product — attribute table */
.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; margin-bottom: 1rem; }
.single-product .variations select {
	width: 100%;
	padding: 0.625rem 1rem;
	border: 1px solid var(--color-border);
	font-family: var(--font-body);
	font-size: 0.875rem;
	background-color: var(--color-background);
	color: var(--color-foreground);
	cursor: pointer;
	appearance: none;
	-webkit-appearance: none;
}
.theme-attr-select-hidden { display: none !important; }

/* Product details (matches Lovable ProductDetail) */
.product-details-section {
	border-top: 1px solid var(--color-border);
	padding-top: 2rem;
	margin-top: 0;
}
.product-details-title {
	font-family: var(--font-body);
	font-size: 0.875rem;
	font-weight: 600;
	margin: 0 0 1rem;
	color: var(--color-foreground);
}
.product-details-content { color: var(--color-muted-foreground); }
.product-details-list {
	list-style: none;
	margin: 0;
	padding: 0;
}
.product-details-list li {
	display: flex;
	align-items: flex-start;
	gap: 0.75rem;
	font-family: var(--font-body);
	font-size: 0.875rem;
	color: var(--color-muted-foreground);
	line-height: 1.5;
}
.product-details-list li + li { margin-top: 0.5rem; }
.product-details-list li::before {
	content: '';
	flex-shrink: 0;
	width: 6px;
	height: 6px;
	margin-top: 0.5rem;
	border-radius: 50%;
	background-color: var(--color-primary);
}

/* Related products */
.related-products-section {
	padding: 5rem 0;
	border-top: 1px solid var(--color-border);
}
.related-products-title { font-size: 1.25rem; margin-bottom: 2.5rem; }
@media (min-width: 768px) { .related-products-title { font-size: 1.5rem; } }
.related-products-grid {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 1.5rem;
}
@media (min-width: 1024px) { .related-products-grid { grid-template-columns: repeat(4, 1fr); gap: 2rem; } }

/* ================================================================
   WOOCOMMERCE BUTTON OVERRIDES (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-primary-foreground) !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;
	cursor: pointer !important;
	transition: opacity 0.2s ease !important;
}
.single_add_to_cart_button.button:hover,
.add_to_cart_button.button:hover {
	opacity: 0.88 !important;
	background-color: var(--color-primary) !important;
	color: var(--color-primary-foreground) !important;
}
/* Disabled state (Section 11.4.1) */
.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;
}
/* Hide "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; }

/* Button loading state (Section 31.8) */
.ajax_add_to_cart.theme-btn-loading {
	opacity: 0.6 !important;
	pointer-events: none !important;
	cursor: wait !important;
}

/* ================================================================
   CART DRAWER
   ================================================================ */
#theme-cart-overlay {
	position: fixed;
	inset: 0;
	background-color: rgba(36,46,41,0.2);
	z-index: 200;
	opacity: 0;
	pointer-events: none;
	transition: opacity 0.3s;
}
body.cart-open #theme-cart-overlay {
	opacity: 1;
	pointer-events: auto;
}

#theme-cart-drawer {
	position: fixed;
	top: 0; right: 0;
	width: 100%;
	max-width: 28rem;
	height: 100%;
	background-color: var(--color-background);
	z-index: 201;
	display: flex;
	flex-direction: column;
	box-shadow: var(--shadow-elevated);
	transform: translateX(100%);
	transition: transform 0.35s var(--transition-smooth);
}
body.cart-open #theme-cart-drawer {
	transform: translateX(0);
}
#theme-cart-drawer.is-updating { opacity: 0.6; pointer-events: none; }

.cart-drawer-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 1.5rem;
	border-bottom: 1px solid var(--color-border);
}
.cart-drawer-title { font-size: 1.125rem; font-weight: 700; }
.cart-close-btn { padding: 0.25rem; transition: opacity 0.2s; }
.cart-close-btn:hover { opacity: 0.6; }

.cart-empty-state {
	flex: 1;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	padding: 2rem;
	text-align: center;
	gap: 1.25rem;
}
.cart-empty-icon { color: var(--color-muted-foreground); }
.cart-empty-text { color: var(--color-muted-foreground); }

.cart-items-list { flex: 1; overflow-y: auto; padding: 1.5rem; display: flex; flex-direction: column; gap: 1.5rem; }

.cart-item { display: flex; gap: 1rem; }
.cart-item-img-link {
	width: 5rem; height: 6rem;
	flex-shrink: 0;
	overflow: hidden;
	background-color: var(--color-secondary);
	display: block;
}
.cart-item-img { width: 100%; height: 100%; object-fit: cover; }
.cart-item-details { flex: 1; min-width: 0; }
.cart-item-name {
	display: block;
	font-family: var(--font-body);
	font-size: 0.875rem;
	font-weight: 500;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
	transition: opacity 0.2s;
}
.cart-item-name:hover { opacity: 0.7; }
.cart-item-variation { font-size: 0.75rem; color: var(--color-muted-foreground); margin-top: 0.125rem; }
.cart-item-price { font-size: 0.875rem; color: var(--color-muted-foreground); margin-top: 0.125rem; }
.cart-item-price .amount { font-family: var(--font-body); }

.cart-item-qty-controls {
	display: flex;
	align-items: center;
	gap: 0.75rem;
	margin-top: 0.75rem;
}
.cart-qty-btn {
	padding: 0.25rem;
	border-radius: 50%;
	transition: background-color 0.2s;
}
.cart-qty-btn:hover { background-color: var(--color-secondary); }
.cart-item-qty { font-size: 0.875rem; min-width: 1.5rem; text-align: center; }
.cart-remove-btn {
	margin-left: auto;
	font-size: 0.75rem;
	color: var(--color-muted-foreground);
	transition: color 0.2s;
}
.cart-remove-btn:hover { color: var(--color-foreground); }

.cart-footer {
	padding: 1.5rem;
	border-top: 1px solid var(--color-border);
	display: flex;
	flex-direction: column;
	gap: 1rem;
}
.cart-subtotal-row {
	display: flex;
	justify-content: space-between;
	font-family: var(--font-body);
	font-size: 0.875rem;
}
.cart-subtotal-label { color: var(--color-muted-foreground); }
.cart-subtotal-value { font-weight: 500; }
.cart-subtotal-value .amount { font-family: var(--font-body); }
.cart-shipping-note { font-size: 0.75rem; color: var(--color-muted-foreground); }
.cart-checkout-btn { width: 100%; }

/* ================================================================
   WOOCOMMERCE ARCHIVE (shop page)
   ================================================================ */
.woo-archive-main {
	padding-top: calc(var(--header-height) + 2rem);
	padding-bottom: 5rem;
}
.woo-archive-header { margin-bottom: 2rem; }
.woo-archive-title { font-size: 2rem; }
@media (min-width: 768px) { .woo-archive-title { font-size: 2.5rem; } }

/* WooCommerce notices (Section 14.1 — scoped visibility) */
.single-product .woocommerce-message,
.single-product .woocommerce-info { display: none; }
#theme-cart-drawer .woocommerce-message { display: none; }

/* ================================================================
   WOOCOMMERCE PAGES LAYOUT — cart, checkout, my account (Section 13)
   ================================================================ */
body.woocommerce-checkout .site-main,
body.woocommerce-cart .site-main,
body.woocommerce-account .site-main,
body:has(.entry-content .wc-block-checkout) .site-main,
body:has(.entry-content .wc-block-cart) .site-main,
body:has(.entry-content .woocommerce-MyAccount-navigation) .site-main {
	padding-top: calc(var(--header-height) + 2rem);
	padding-bottom: 4rem;
}

/* No parent max-width should squeeze WooCommerce page content */
body.woocommerce-checkout #main-content,
body.woocommerce-checkout #page-content,
body.woocommerce-checkout .entry-content,
body.woocommerce-checkout .site-main,
body.woocommerce-checkout article,
body.woocommerce-cart #main-content,
body.woocommerce-cart #page-content,
body.woocommerce-cart .entry-content,
body.woocommerce-cart .site-main,
body.woocommerce-cart article,
body.woocommerce-account #main-content,
body.woocommerce-account #page-content,
body.woocommerce-account .entry-content,
body.woocommerce-account .site-main,
body.woocommerce-account article,
body:has(.entry-content .wc-block-checkout) #main-content,
body:has(.entry-content .wc-block-checkout) .entry-content,
body:has(.entry-content .wc-block-cart) #main-content,
body:has(.entry-content .wc-block-cart) .entry-content,
body:has(.entry-content .woocommerce-MyAccount-navigation) #main-content,
body:has(.entry-content .woocommerce-MyAccount-navigation) .entry-content {
	max-width: none;
	width: 100%;
}

/* Same 1280px column for title + content (overrides .page-content-wrap { max-width: 56rem }) */
body.woocommerce-checkout .container-wide.page-content-wrap,
body.woocommerce-cart .container-wide.page-content-wrap,
body.woocommerce-account .container-wide.page-content-wrap,
body:has(.entry-content .wc-block-checkout) .container-wide.page-content-wrap,
body:has(.entry-content .wc-block-cart) .container-wide.page-content-wrap,
body:has(.entry-content .woocommerce-MyAccount-navigation) .container-wide.page-content-wrap {
	box-sizing: border-box;
	margin-left: auto;
	margin-right: auto;
	max-width: 1280px;
	width: 100%;
}

/* Block page containers (cart & checkout) */
body.woocommerce-checkout .entry-content .wp-block-woocommerce-checkout,
body.woocommerce-checkout .entry-content .wc-block-checkout,
body.woocommerce-cart .entry-content .wp-block-woocommerce-cart,
body.woocommerce-cart .entry-content .wc-block-cart,
.entry-content .wp-block-woocommerce-checkout,
.entry-content .wc-block-checkout,
.entry-content .wp-block-woocommerce-cart,
.entry-content .wc-block-cart {
	box-sizing: border-box;
	margin-left: auto;
	margin-right: auto;
	max-width: 1280px;
	width: 100%;
}

/* My Account shortcode wrapper */
body.woocommerce-account .entry-content > .woocommerce,
.entry-content > .woocommerce:has(.woocommerce-MyAccount-navigation) {
	box-sizing: border-box;
	margin-left: auto;
	margin-right: auto;
	max-width: 1280px;
	width: 100%;
}

/* Global notices — wc-block-components-notices (blocks) */
body.woocommerce-checkout .entry-content .wp-block-woocommerce-checkout > .wc-block-components-notices,
body.woocommerce-checkout .entry-content > .wc-block-components-notices,
body.woocommerce-cart .entry-content .wp-block-woocommerce-cart > .wc-block-components-notices,
body.woocommerce-cart .entry-content > .wc-block-components-notices,
.entry-content .wp-block-woocommerce-checkout > .wc-block-components-notices,
.entry-content .wp-block-woocommerce-cart > .wc-block-components-notices,
.entry-content > .wc-block-components-notices:has(+ .wp-block-woocommerce-checkout),
.entry-content > .wc-block-components-notices:has(+ .wp-block-woocommerce-cart) {
	box-sizing: border-box;
	margin-left: auto;
	margin-right: auto;
	max-width: 1280px;
	width: 100%;
}

/* Classic WooCommerce notices wrapper */
body.woocommerce-account .entry-content > .woocommerce > .woocommerce-notices-wrapper,
body.woocommerce-cart .entry-content > .woocommerce-notices-wrapper,
body.woocommerce-cart .entry-content > .woocommerce > .woocommerce-notices-wrapper {
	box-sizing: border-box;
	max-width: 100%;
	width: 100%;
}

/* Two-column layout — checkout & cart blocks */
@media (min-width: 768px) {
	body.woocommerce-checkout .entry-content .wc-block-components-sidebar-layout.wc-block-checkout,
	body.woocommerce-checkout .entry-content .wc-block-checkout-sidebar-layout.wc-block-checkout,
	body.woocommerce-checkout .entry-content .wc-block-checkout.is-large,
	body.woocommerce-cart .entry-content .wc-block-cart,
	body.woocommerce-cart .entry-content .wc-block-components-sidebar-layout.wc-block-cart,
	body.woocommerce-cart .entry-content .wc-block-cart.is-large,
	.entry-content .wc-block-components-sidebar-layout.wc-block-checkout,
	.entry-content .wc-block-checkout-sidebar-layout.wc-block-checkout,
	.entry-content .wc-block-checkout.is-large,
	.entry-content .wc-block-cart,
	.entry-content .wc-block-components-sidebar-layout.wc-block-cart {
		align-items: start;
		display: grid !important;
		flex-wrap: unset !important;
		gap: 1.5rem;
		grid-template-columns: 1fr minmax(360px, 400px);
	}

	/* Notices inside layout wrapper (if first child) */
	body.woocommerce-checkout .entry-content .wc-block-components-sidebar-layout.wc-block-checkout > .wc-block-components-notices:first-child,
	body.woocommerce-checkout .entry-content .wc-block-checkout-sidebar-layout.wc-block-checkout > .wc-block-components-notices:first-child,
	body.woocommerce-cart .entry-content .wc-block-cart > .wc-block-components-notices:first-child,
	body.woocommerce-cart .entry-content .wc-block-components-sidebar-layout.wc-block-cart > .wc-block-components-notices:first-child,
	.entry-content .wc-block-components-sidebar-layout.wc-block-checkout > .wc-block-components-notices:first-child,
	.entry-content .wc-block-cart > .wc-block-components-notices:first-child {
		grid-column: 1 / -1;
		order: 1;
	}

	/* Main column (form / cart items) */
	body.woocommerce-checkout .entry-content .wc-block-checkout__main,
	body.woocommerce-checkout .entry-content .wc-block-components-main,
	body.woocommerce-cart .entry-content .wc-block-cart__main,
	body.woocommerce-cart .entry-content .wc-block-components-main,
	.entry-content .wc-block-checkout__main,
	.entry-content .wc-block-components-main,
	.entry-content .wc-block-cart__main {
		grid-column: 1;
		order: 2;
	}

	/* Sidebar column (totals / summary) */
	body.woocommerce-checkout .entry-content .wc-block-checkout__sidebar,
	body.woocommerce-checkout .entry-content .wc-block-components-sidebar,
	body.woocommerce-cart .entry-content .wc-block-cart__sidebar,
	body.woocommerce-cart .entry-content .wc-block-components-sidebar,
	.entry-content .wc-block-checkout__sidebar,
	.entry-content .wc-block-components-sidebar,
	.entry-content .wc-block-cart__sidebar {
		grid-column: 2;
		min-width: 360px;
		order: 3;
	}

	/* My Account — navigation + content */
	body.woocommerce-account .entry-content > .woocommerce:has(.woocommerce-MyAccount-navigation),
	.entry-content > .woocommerce:has(.woocommerce-MyAccount-navigation) {
		align-items: start;
		display: grid !important;
		gap: 1.5rem;
		grid-template-columns: minmax(240px, 320px) 1fr;
	}

	body.woocommerce-account .entry-content > .woocommerce > .woocommerce-notices-wrapper,
	.entry-content > .woocommerce > .woocommerce-notices-wrapper {
		grid-column: 1 / -1;
		order: 1;
	}

	body.woocommerce-account .woocommerce-MyAccount-navigation,
	.entry-content .woocommerce-MyAccount-navigation {
		float: none;
		grid-column: 1;
		order: 2;
		width: 100%;
	}

	body.woocommerce-account .woocommerce-MyAccount-content,
	.entry-content .woocommerce-MyAccount-content {
		float: none;
		grid-column: 2;
		min-width: 0;
		order: 3;
		width: 100%;
	}
}

/* Grid / flex children — full width, no compression */
body.woocommerce-checkout .entry-content .wc-block-components-sidebar-layout > *,
body.woocommerce-checkout .entry-content .wc-block-checkout-sidebar-layout > *,
body.woocommerce-checkout .entry-content .wc-block-checkout__main,
body.woocommerce-checkout .entry-content .wc-block-checkout__sidebar,
body.woocommerce-checkout .entry-content .wc-block-components-main,
body.woocommerce-checkout .entry-content .wc-block-components-sidebar,
body.woocommerce-cart .entry-content .wc-block-cart > *,
body.woocommerce-cart .entry-content .wc-block-cart__main,
body.woocommerce-cart .entry-content .wc-block-cart__sidebar,
body.woocommerce-cart .entry-content .wc-block-components-main,
body.woocommerce-cart .entry-content .wc-block-components-sidebar,
.entry-content .wc-block-components-sidebar-layout.wc-block-checkout > *,
.entry-content .wc-block-cart > *,
.entry-content .wc-block-checkout__main,
.entry-content .wc-block-checkout__sidebar,
.entry-content .wc-block-cart__main,
.entry-content .wc-block-cart__sidebar {
	box-sizing: border-box;
	max-width: 100%;
	min-width: 0;
	width: 100%;
}

body.woocommerce-checkout .entry-content .wc-block-components-sidebar-layout .wc-block-checkout__main,
body.woocommerce-checkout .entry-content .wc-block-components-sidebar-layout .wc-block-checkout__sidebar,
body.woocommerce-checkout .entry-content .wc-block-components-sidebar-layout .wc-block-components-main,
body.woocommerce-checkout .entry-content .wc-block-components-sidebar-layout .wc-block-components-sidebar,
body.woocommerce-cart .entry-content .wc-block-cart .wc-block-cart__main,
body.woocommerce-cart .entry-content .wc-block-cart .wc-block-cart__sidebar,
.entry-content .wc-block-components-sidebar-layout.wc-block-checkout .wc-block-checkout__main,
.entry-content .wc-block-components-sidebar-layout.wc-block-checkout .wc-block-checkout__sidebar,
.entry-content .wc-block-cart .wc-block-cart__main,
.entry-content .wc-block-cart .wc-block-cart__sidebar {
	margin: 0;
	padding-left: 0;
	padding-right: 0;
}

body.woocommerce-checkout .entry-content .wp-block-woocommerce-checkout-order-summary-block,
body.woocommerce-cart .entry-content .wp-block-woocommerce-cart-order-summary-block,
.entry-content .wp-block-woocommerce-checkout-order-summary-block,
.entry-content .wp-block-woocommerce-cart-order-summary-block {
	box-sizing: border-box;
	width: 100%;
}

body.woocommerce-checkout .entry-content .wc-block-checkout__sidebar,
body.woocommerce-cart .entry-content .wc-block-cart__sidebar,
.entry-content .wc-block-checkout__sidebar,
.entry-content .wc-block-cart__sidebar {
	background-color: var(--color-secondary);
	border-radius: 0;
	padding: 2rem;
}

body.woocommerce-account .woocommerce-MyAccount-navigation {
	background-color: var(--color-secondary);
	padding: 1.5rem;
}

body.woocommerce-account .woocommerce-MyAccount-navigation ul {
	list-style: none;
	margin: 0;
	padding: 0;
}

body.woocommerce-account .woocommerce-MyAccount-navigation li {
	margin: 0;
}

body.woocommerce-account .woocommerce-MyAccount-navigation a {
	display: block;
	font-family: var(--font-body);
	font-size: 0.875rem;
	padding: 0.5rem 0;
	text-decoration: none;
}

body.woocommerce-account .woocommerce-MyAccount-navigation li.is-active a {
	font-weight: 600;
}

body.woocommerce-checkout .page-content-wrap > .page-title,
body.woocommerce-cart .page-content-wrap > .page-title,
body.woocommerce-account .page-content-wrap > .page-title,
body:has(.entry-content .wc-block-checkout) .page-content-wrap > .page-title,
body:has(.entry-content .wc-block-cart) .page-content-wrap > .page-title,
body:has(.entry-content .woocommerce-MyAccount-navigation) .page-content-wrap > .page-title {
	box-sizing: border-box;
	margin-left: 0;
	margin-right: 0;
	max-width: none;
	width: 100%;
}

body.woocommerce-checkout .page-title,
body.woocommerce-cart .page-title,
body.woocommerce-account .page-title {
	font-size: 2rem;
	margin-bottom: 2rem;
}
@media (min-width: 768px) {
	body.woocommerce-checkout .page-title,
	body.woocommerce-cart .page-title,
	body.woocommerce-account .page-title {
		font-size: 2.5rem;
	}
}

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);
	font-size: 0.875rem;
	border: 1px solid var(--color-border);
	background-color: 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 {
	border-color: var(--color-primary);
	outline: none;
	box-shadow: 0 0 0 2px rgba(88,126,94,0.2);
}

body.woocommerce-checkout .wc-block-components-checkout-place-order-button {
	background-color: var(--color-primary) !important;
	color: var(--color-primary-foreground) !important;
	font-family: var(--font-body) !important;
	border-radius: 0 !important;
	border: none !important;
}
body.woocommerce-checkout .wc-block-components-checkout-place-order-button:hover {
	opacity: 0.88;
}

/* ================================================================
   THANK YOU PAGE (Section 22.8)
   ================================================================ */
body.theme-thankyou-page { overflow-x: hidden; }

body.theme-thankyou-page .woocommerce-order { font-family: var(--font-body); }
body.theme-thankyou-page .woocommerce-order-overview {
	list-style: none;
	display: flex;
	flex-wrap: wrap;
	gap: 1rem;
	padding: 1.5rem;
	background-color: var(--color-secondary);
	margin-bottom: 2rem;
}
body.theme-thankyou-page .woocommerce-order-overview li { font-size: 0.875rem; }
body.theme-thankyou-page .woocommerce-order-overview strong { color: var(--color-foreground); }

body.theme-thankyou-page .woocommerce-order h2,
body.theme-thankyou-page .woocommerce-order-details__title {
	font-family: var(--font-display);
	font-size: 1.5rem;
	padding: 0 0 1rem;
}

body.theme-thankyou-page .woocommerce-order-details table {
	width: 100%;
	table-layout: fixed;
	border-collapse: collapse;
}
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 {
	font-style: normal;
	max-width: 480px;
	overflow-wrap: break-word;
}

/* ================================================================
   PAGE TEMPLATE
   ================================================================ */
.page-main {
	padding-top: calc(var(--header-height) + 2rem);
	padding-bottom: 5rem;
}
.page-content-wrap { max-width: 56rem; }
.page-title {
	font-size: 2rem;
	margin-bottom: 1.5rem;
}
@media (min-width: 768px) { .page-title { font-size: 2.5rem; } }

/* ================================================================
   404 PAGE
   ================================================================ */
.not-found-page {
	padding-top: calc(var(--header-height) + 2rem);
	padding-bottom: 5rem;
}
.not-found-content { padding: 5rem 0; }
.not-found-title { font-size: 2.5rem; margin-bottom: 1rem; }
.not-found-desc { color: var(--color-muted-foreground); margin-bottom: 2rem; }

/* ================================================================
   WooCommerce Notice Styling for shop/archive pages
   ================================================================ */
.woocommerce-message,
.woocommerce-info {
	padding: 1rem 1.5rem;
	background-color: var(--color-secondary);
	border: 1px solid var(--color-border);
	font-family: var(--font-body);
	font-size: 0.875rem;
	margin-bottom: 1.5rem;
}
.woocommerce-error {
	padding: 1rem 1.5rem;
	background-color: #fef2f2;
	border: 1px solid #fecaca;
	font-family: var(--font-body);
	font-size: 0.875rem;
	margin-bottom: 1.5rem;
}

/* WooCommerce pagination */
.woocommerce-pagination { margin-top: 2rem; text-align: center; }
.woocommerce-pagination a, .woocommerce-pagination span {
	display: inline-block;
	padding: 0.5rem 0.75rem;
	margin: 0 0.125rem;
	font-family: var(--font-body);
	font-size: 0.875rem;
	border: 1px solid var(--color-border);
	transition: background-color 0.2s;
}
.woocommerce-pagination a:hover, .woocommerce-pagination .current {
	background-color: var(--color-primary);
	color: var(--color-primary-foreground);
	border-color: var(--color-primary);
}

/* ================================================================
   WooCommerce — hide default breadcrumbs (already removed via PHP)
   ================================================================ */
.woocommerce-breadcrumb { display: none; }
