/*!
 * Strong As A Mother Kate — theme stylesheet.
 * Theme by The Free Website Guys.
 */

/* =========================================================================
   1. ROOT TOKENS (overridden live by wp_add_inline_style / Customizer)
   ========================================================================= */
:root {
	--background: #fbfaf8;
	--foreground: #352c27;
	--primary: #4a5d46;
	--primary-foreground: #faf7f5;
	--secondary: #f4f0eb;
	--secondary-foreground: #413530;
	--muted: #e9e6e2;
	--muted-foreground: #695e59;
	--accent: #bd7b6b;
	--accent-foreground: #faf7f5;
	--border: #e1dbd6;
	--card: #f7f5f2;
	--logo-height: 56px;
	--logo-width: auto;
	--logo-max-width: 220px;

	--font-display: 'Cormorant Garamond', serif;
	--font-body: 'Inter', sans-serif;

	--radius: 0.375rem;
	--radius-md: 0.25rem;
	--radius-sm: 0.125rem;

	--shadow-soft: 0 4px 20px -4px hsl(20 15% 18% / 0.08);
	--shadow-elevated: 0 8px 40px -8px hsl(20 15% 18% / 0.15);
	--ease-smooth: cubic-bezier(0.4, 0, 0.2, 1);

	--btn-radius: var(--radius-md);
	--btn-height: 2.75rem;
	--btn-padding: 0.75rem 2rem;
	--btn-font-size: 0.9375rem;
	--btn-font-weight: 500;
	--btn-letter-spacing: normal;
	--btn-text-transform: none;
	--color-primary: var(--primary);
	--color-button-text: var(--primary-foreground);
	--header-height: 84px;
	--checkout-gap: 1.5rem;
}

/* =========================================================================
   2. RESET / PREFLIGHT-EQUIVALENT
   ========================================================================= */
*, *::before, *::after { box-sizing: border-box; border-color: var(--border); }
html {
	scroll-behavior: smooth;
	-webkit-text-size-adjust: 100%;
	max-width: 100%;
	overflow-x: clip;
}
body {
	margin: 0;
	max-width: 100%;
	overflow-x: clip;
	background: var(--background);
	color: var(--foreground);
	font-family: var(--font-body);
	font-weight: 400;
	line-height: 1.55;
	-webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4, h5, h6, .font-display {
	font-weight: inherit;
	font-size: inherit;
	margin: 0;
	font-family: var(--font-display);
	line-height: 1.15;
}
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
dl, dt, dd { margin: 0; padding: 0; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; background: none; border: none; cursor: pointer; color: inherit; padding: 0; }
input, textarea, select { font-family: inherit; font-size: inherit; color: inherit; }

[hidden] { display: none !important; }

img:not(.cover-img):not(.hero-video):not(.hero-bg-img):not(.theme-product-card__image):not(.theme-product-main-image):not(.about-image):not(.service-card__image):not(.site-logo-img):not(.hero-logo-image) {
	max-width: 100%;
	height: auto;
	display: block;
}
.cover-img, .hero-video, .theme-product-card__image, .theme-product-main-image, .about-image, .service-card__image {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
	display: block;
}

.screen-reader-text {
	position: absolute !important;
	width: 1px; height: 1px;
	overflow: hidden;
	clip: rect(1px,1px,1px,1px);
	white-space: nowrap;
}
.skip-link {
	position: absolute; left: -9999px; top: 0; z-index: 999999;
	background: var(--primary); color: var(--primary-foreground); padding: 0.75rem 1.25rem;
}
.skip-link:focus { left: 0.5rem; top: 0.5rem; }

.container-wide {
	width: 100%;
	min-width: 0;
	max-width: 100%;
	margin: 0 auto;
	padding: 0 1.5rem;
}
@media (min-width: 1024px) { .container-wide { padding: 0 3rem; } }

@media (max-width: 767px) {
	.container-wide {
		padding-left: max(1.5rem, env(safe-area-inset-left));
		padding-right: max(1.5rem, env(safe-area-inset-right));
	}

	main,
	section,
	article,
	.entry-content,
	.site-main,
	.container-wide,
	[class*="grid"],
	[class*="__main"],
	[class*="__sidebar"] {
		min-width: 0;
		max-width: 100%;
	}

	img,
	video,
	iframe,
	svg,
	table,
	input,
	select,
	textarea,
	button {
		max-width: 100%;
	}

	p,
	li,
	a,
	h1,
	h2,
	h3,
	h4,
	h5,
	h6 {
		overflow-wrap: anywhere;
	}
}

.text-accent-italic { color: var(--accent); font-style: italic; }

/* =========================================================================
   3. ANIMATION / REVEAL SYSTEM (Section 2.1)
   ========================================================================= */
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes slideUp { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }
@keyframes satmkMarquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

.animate-fade-in { animation: fadeIn 0.6s var(--ease-smooth) forwards; }

.fade-in-item, .slide-up-item, .reveal-item {
	opacity: 0;
	transition: opacity 0.7s var(--ease-smooth), transform 0.7s var(--ease-smooth);
	transition-delay: var(--reveal-delay, 0s);
}
.slide-up-item { transform: translateY(40px); }
.reveal-item { transform: translateY(24px); }
.reveal-item.reveal-slide-left { transform: translateX(-60px); transition-duration: 0.8s; }
.reveal-item.reveal-slide-right { transform: translateX(60px); transition-duration: 0.8s; }
.reveal-item.reveal-scale { transform: translateY(16px) scale(0.97); }
.reveal-item.reveal-slide-up { transform: translateY(30px); }

.fade-in-item.is-visible, .slide-up-item.is-visible, .reveal-item.is-visible {
	opacity: 1;
	transform: none;
}

/* Customizer preview fallback — never leave reveal content hidden in the editor. */
body.is-customizer .fade-in-item,
body.is-customizer .slide-up-item,
body.is-customizer .reveal-item {
	opacity: 1 !important;
	transform: none !important;
	transition: none !important;
}

@media (prefers-reduced-motion: reduce) {
	.fade-in-item, .slide-up-item, .reveal-item { transition-duration: 0.01ms !important; }
}

/* =========================================================================
   4. BUTTONS
   ========================================================================= */
.btn-hero-primary, .btn-hero-outline, .btn-outline, .btn-secondary, .btn-accent, .theme-btn-primary, .theme-btn-outline {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.5rem;
	white-space: nowrap;
	border-radius: var(--radius-md);
	font-size: 0.9375rem;
	font-weight: 500;
	text-transform: none;
	padding: 0.85rem 2.25rem;
	transition: opacity 0.2s ease, transform 0.2s ease, background-color 0.2s ease;
	cursor: pointer;
}
.btn-hero-primary:hover, .btn-hero-outline:hover, .btn-outline:hover, .btn-secondary:hover, .btn-accent:hover, .theme-btn-primary:hover { transform: translateY(-2px); }

.btn-hero-primary { background: var(--accent); color: var(--accent-foreground); }
.btn-hero-primary:hover { opacity: 0.9; }
.btn-hero-outline { background: rgb(255 255 255 / 0.1); color: #fff; border: 1px solid rgb(255 255 255 / 0.2); }
.btn-hero-outline:hover { background: rgb(255 255 255 / 0.2); }
.btn-outline { background: transparent; border: 1px solid var(--border); color: var(--foreground); }
.btn-outline:hover { background: var(--accent); color: var(--accent-foreground); }
.btn-secondary { background: var(--secondary); color: var(--secondary-foreground); }
.btn-secondary:hover { opacity: 0.85; }
.btn-accent, .contact-form-submit { background: var(--accent); color: var(--accent-foreground); width: 100%; }
.btn-accent:hover { opacity: 0.9; }
.theme-btn-primary { background: var(--primary); color: var(--primary-foreground); border: none; }
.theme-btn-primary:hover { opacity: 0.85; }
.theme-btn-outline { background: transparent; border: 1px solid var(--border); color: var(--foreground); }

@media (max-width: 767px) {
	.btn-hero-primary,
	.btn-hero-outline,
	.btn-outline,
	.btn-secondary,
	.btn-accent,
	.theme-btn-primary,
	.theme-btn-outline {
		max-width: 100%;
		white-space: normal;
		overflow-wrap: anywhere;
		text-align: center;
	}
}

/* =========================================================================
   5. HEADER
   ========================================================================= */
.site-header {
	position: fixed;
	top: 0; left: 0; right: 0;
	z-index: 50;
	background: transparent;
	border-bottom: 1px solid transparent;
	transition: background-color 0.3s ease, border-color 0.3s ease;
}
body.admin-bar .site-header { top: 32px; }
@media screen and (max-width: 782px) {
	body.admin-bar .site-header { top: 46px; }
}
.site-header.is-solid {
	background: color-mix(in srgb, var(--background) 95%, transparent);
	backdrop-filter: blur(8px);
	border-bottom-color: var(--border);
}
.site-nav { display: flex; align-items: center; justify-content: space-between; padding: 0.5rem 0; min-height: 4rem; }
@media (min-width: 1024px) { .site-nav { min-height: 5rem; } }

.site-logo-link { display: flex; align-items: center; padding: 0.25rem 0; }
.site-logo-img {
	height: var(--logo-height);
	width: var(--logo-width);
	max-width: var(--logo-max-width);
	display: block;
	object-fit: contain;
	transition: filter 0.3s ease;
}
.site-logo-text { font-family: var(--font-display); font-size: 1.5rem; font-weight: 600; color: var(--foreground); }
.site-header:not(.is-solid) .site-logo-img { filter: brightness(0) invert(1); }
.site-header:not(.is-solid) .site-logo-text { color: #fff; }

@media (max-width: 767px) {
	.site-logo-link { min-width: 0; max-width: calc(100% - 5.5rem); }
	.site-logo-img {
		width: auto;
		max-width: min(var(--logo-max-width), 100%);
		object-fit: contain;
	}
	.site-logo-text {
		display: block;
		max-width: 100%;
		font-size: 1.25rem;
		overflow: hidden;
		text-overflow: ellipsis;
		white-space: nowrap;
	}
	.site-nav-actions { flex-shrink: 0; }
}

.site-nav-desktop { display: none; align-items: center; gap: 2rem; margin: 0 2rem 0 auto; }
@media (min-width: 768px) { .site-nav-desktop { display: flex; } }
.theme-nav-list { display: flex; align-items: center; gap: 2rem; }
.theme-nav-list a {
	position: relative;
	font-size: 0.875rem;
	letter-spacing: 0.02em;
	transition: color 0.3s ease;
	color: var(--foreground);
}
.site-header:not(.is-solid) .theme-nav-list a { color: rgb(255 255 255 / 0.9); }
.theme-nav-list a::after {
	content: '';
	position: absolute; left: 0; bottom: -4px; width: 100%; height: 1px;
	background: currentColor; transform: scaleX(0); transform-origin: left;
	transition: transform 0.3s var(--ease-smooth);
}
.theme-nav-list a:hover::after { transform: scaleX(1); }

.site-nav-actions { display: flex; align-items: center; gap: 0.25rem; }
.cart-toggle-btn {
	position: relative; padding: 0.5rem;
	color: var(--foreground);
}
.site-header:not(.is-solid) .cart-toggle-btn { color: #fff; }
.icon-bag { width: 20px; height: 20px; }
.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: var(--accent); color: var(--accent-foreground);
	border-radius: 999px;
}
.theme-cart-count:empty { display: none; }

.mobile-menu-toggle { display: flex; padding: 0.5rem; color: var(--foreground); position: relative; z-index: 61; }
.site-header:not(.is-solid) .mobile-menu-toggle { color: #fff; }
@media (min-width: 768px) { .mobile-menu-toggle { display: none; } }
.icon-menu, .icon-close { width: 20px; height: 20px; }

.mobile-menu-overlay {
	position: fixed;
	inset: 0;
	z-index: 55;
	background: hsl(20 15% 18% / 0.45);
	opacity: 0;
	visibility: hidden;
	pointer-events: none;
	transition: opacity 0.35s var(--ease-smooth), visibility 0.35s var(--ease-smooth);
}
.mobile-menu-overlay.is-open {
	opacity: 1;
	visibility: visible;
	pointer-events: auto;
}
body.admin-bar .mobile-menu-overlay { top: 32px; }
@media screen and (max-width: 782px) {
	body.admin-bar .mobile-menu-overlay { top: 46px; }
}

.site-nav-mobile {
	position: absolute;
	left: 0;
	right: 0;
	top: 100%;
	z-index: 60;
	background: var(--background);
	border-top: 1px solid var(--border);
	padding: 0 1.5rem;
	max-height: 0;
	overflow: hidden;
	opacity: 0;
	visibility: hidden;
	transform: translateY(-8px);
	transition:
		max-height 0.4s var(--ease-smooth),
		opacity 0.35s var(--ease-smooth),
		transform 0.35s var(--ease-smooth),
		visibility 0.35s var(--ease-smooth),
		padding 0.35s var(--ease-smooth);
}
.site-nav-mobile.is-open {
	max-height: min(70vh, 480px);
	opacity: 1;
	visibility: visible;
	transform: translateY(0);
	padding: 1.25rem 1.5rem 1.75rem;
	overflow-y: auto;
	-webkit-overflow-scrolling: touch;
}
.theme-nav-list--mobile { flex-direction: column; align-items: flex-start; gap: 0; width: 100%; }
.theme-nav-list--mobile li { width: 100%; border-bottom: 1px solid color-mix(in srgb, var(--border) 70%, transparent); }
.theme-nav-list--mobile li:last-child { border-bottom: none; }
.theme-nav-list--mobile a {
	display: block;
	width: 100%;
	padding: 0.85rem 0;
	font-size: 1rem;
	letter-spacing: 0.04em;
}
.theme-nav-list--mobile a::after { display: none; }
.site-header.mobile-menu-open { background: var(--background); border-bottom-color: var(--border); }
.site-header.mobile-menu-open .theme-nav-list a,
.site-header.mobile-menu-open .cart-toggle-btn,
.site-header.mobile-menu-open .mobile-menu-toggle,
.site-header.mobile-menu-open .site-logo-text { color: var(--foreground) !important; }
.site-header.mobile-menu-open .site-logo-img { filter: none !important; }

body.mobile-menu-locked {
	overflow: hidden;
	touch-action: none;
}

@media (max-width: 767px) {
	.site-header { z-index: 70; }
	.mobile-menu-overlay {
		z-index: 60;
		background: hsl(20 15% 18% / 0.56);
		backdrop-filter: blur(3px);
		-webkit-backdrop-filter: blur(3px);
	}
	.site-nav-mobile {
		left: 0.75rem;
		right: 0.75rem;
		top: calc(100% + 0.5rem);
		z-index: 71;
		padding: 0 1rem;
		background: color-mix(in srgb, var(--background) 98%, transparent);
		border: 1px solid var(--border);
		border-radius: 0.75rem;
		box-shadow: 0 20px 50px hsl(20 15% 18% / 0.22);
		transform: translateY(-0.75rem) scale(0.98);
		transform-origin: top center;
		transition:
			max-height 0.4s var(--ease-smooth),
			opacity 0.3s var(--ease-smooth),
			transform 0.35s var(--ease-smooth),
			visibility 0.35s var(--ease-smooth),
			padding 0.35s var(--ease-smooth);
	}
	.site-nav-mobile.is-open {
		max-height: min(70dvh, 32rem);
		padding: 0.75rem 1rem;
		transform: translateY(0) scale(1);
	}
	.theme-nav-list--mobile li {
		opacity: 0;
		transform: translateY(-0.4rem);
		transition:
			opacity 0.25s var(--ease-smooth),
			transform 0.3s var(--ease-smooth);
	}
	.site-nav-mobile.is-open .theme-nav-list--mobile li {
		opacity: 1;
		transform: none;
	}
	.site-nav-mobile.is-open .theme-nav-list--mobile li:nth-child(2) { transition-delay: 0.04s; }
	.site-nav-mobile.is-open .theme-nav-list--mobile li:nth-child(3) { transition-delay: 0.08s; }
	.site-nav-mobile.is-open .theme-nav-list--mobile li:nth-child(4) { transition-delay: 0.12s; }
	.site-nav-mobile.is-open .theme-nav-list--mobile li:nth-child(5) { transition-delay: 0.16s; }
	.theme-nav-list--mobile a {
		display: flex;
		align-items: center;
		justify-content: space-between;
		min-height: 3.25rem;
		padding: 0.75rem 0.25rem;
		font-family: var(--font-body);
		font-size: 0.9375rem;
		font-weight: 500;
		letter-spacing: 0.04em;
		border-radius: var(--radius-md);
		transition: color 0.2s ease, padding 0.2s ease, background-color 0.2s ease;
	}
	.theme-nav-list--mobile a::after {
		content: '→';
		display: block;
		position: static;
		width: auto;
		height: auto;
		background: none;
		color: var(--accent);
		font-size: 1.1rem;
		line-height: 1;
		transform: none;
		transition: transform 0.2s ease;
	}
	.theme-nav-list--mobile a:hover,
	.theme-nav-list--mobile a:focus-visible {
		padding-left: 0.75rem;
		padding-right: 0.75rem;
		color: var(--accent);
		background: var(--secondary);
		outline: none;
	}
	.theme-nav-list--mobile a:hover::after,
	.theme-nav-list--mobile a:focus-visible::after { transform: translateX(0.2rem); }
	.mobile-menu-toggle {
		width: 2.5rem;
		height: 2.5rem;
		align-items: center;
		justify-content: center;
		border-radius: 999px;
		transition: color 0.2s ease, background-color 0.2s ease, transform 0.2s ease;
	}
	.mobile-menu-toggle:hover,
	.mobile-menu-toggle:focus-visible {
		background: color-mix(in srgb, var(--accent) 14%, transparent);
		outline: 2px solid color-mix(in srgb, var(--accent) 45%, transparent);
		outline-offset: 2px;
	}
	.mobile-menu-toggle:active { transform: scale(0.94); }
}

/* =========================================================================
   6. HOME PAGE: NO TOP OFFSET (transparent header sits on hero)
   ========================================================================= */
body.theme-no-hero .site-main,
body.theme-no-hero main { padding-top: var(--header-height); }
body:not(.theme-no-hero) main#main-content { padding-top: 0; }

/* =========================================================================
   7. HERO
   ========================================================================= */
.hero-section {
	position: relative;
	min-height: 100vh;
	display: flex;
	align-items: center;
	justify-content: center;
	overflow: hidden;
	background: var(--foreground);
}
.hero-media { position: absolute; inset: 0; }
.hero-overlay { position: absolute; inset: 0; pointer-events: none; }
.hero-overlay--gradient { background: linear-gradient(to bottom, rgb(53 44 39 / 0.65), rgb(53 44 39 / 0.55) 50%, rgb(53 44 39 / 0.8)); }
.hero-overlay--dim { background: rgb(53 44 39 / 0.15); }
.hero-overlay--tint { background: linear-gradient(to top right, color-mix(in srgb, var(--primary) 40%, transparent), color-mix(in srgb, var(--primary) 10%, transparent), color-mix(in srgb, var(--accent) 20%, transparent)); mix-blend-mode: multiply; }
.hero-overlay--radial { background: radial-gradient(ellipse at center, rgb(53 44 39 / 0.15) 0%, rgb(53 44 39 / 0.65) 100%); }

.hero-content { position: relative; z-index: 10; text-align: center; padding: 2.5rem 0 3rem; }
.hero-eyebrow-row { display: flex; align-items: center; justify-content: center; gap: 0.75rem; margin-bottom: 0.5rem; }
.hero-eyebrow-line { width: 32px; height: 1px; background: var(--accent); display: block; }
.hero-eyebrow-text { font-size: 0.875rem; letter-spacing: 0.3em; text-transform: uppercase; color: var(--accent); font-weight: 500; }
.hero-logo-wrap { margin: -1.5rem 0 0.5rem; display: flex; justify-content: center; }
@media (min-width: 768px) { .hero-logo-wrap { margin: -2.5rem 0 1rem; } }
.hero-logo-image {
	height: 140px;
	width: auto;
	filter: brightness(0) invert(1) drop-shadow(0 25px 25px rgb(0 0 0 / 0.15));
}
@media (min-width: 768px) { .hero-logo-image { height: 220px; } }
@media (min-width: 1024px) { .hero-logo-image { height: 280px; } }
.hero-subtitle { color: rgb(255 255 255 / 0.9); max-width: 42rem; margin: 0 auto 2.5rem; font-size: 1rem; line-height: 1.7; padding: 0 0.5rem; }
@media (min-width: 768px) { .hero-subtitle { font-size: 1.125rem; } }
.hero-cta-row { display: flex; flex-direction: column; gap: 0.75rem; justify-content: center; padding: 0 1rem; }
@media (min-width: 640px) { .hero-cta-row { flex-direction: row; } }

@media (max-width: 639px) {
	.hero-content { padding-left: 1.5rem; padding-right: 1.5rem; }
	.hero-eyebrow-row { gap: 0.5rem; }
	.hero-eyebrow-line { flex: 1 1 1.5rem; min-width: 0; max-width: 2rem; }
	.hero-eyebrow-text {
		flex: 0 1 auto;
		min-width: 0;
		font-size: 0.75rem;
		letter-spacing: 0.2em;
		text-align: center;
	}
	.hero-logo-image { max-width: 100%; object-fit: contain; }
	.hero-cta-row { padding: 0; }
	.hero-cta-row a { width: 100%; white-space: normal; text-align: center; }
}

/* =========================================================================
   8. SECTION HEADINGS (per-section scales — Section 2.2.5)
   ========================================================================= */
.scroll-mt-section { scroll-margin-top: 6rem; }
.section-eyebrow-row { display: flex; align-items: center; gap: 0.75rem; margin-bottom: 0.5rem; }
.section-eyebrow-line { width: 40px; height: 1px; background: var(--accent); }
.section-eyebrow-text { font-size: 0.8125rem; letter-spacing: 0.3em; text-transform: uppercase; color: var(--accent); font-weight: 500; display: block; }
.section-subtitle { color: var(--muted-foreground); max-width: 40rem; margin: 0 auto; line-height: 1.7; }

.about-heading { font-size: 1.875rem; margin: 0.5rem 0 1.5rem; line-height: 1.2; }
@media (min-width: 768px) { .about-heading { font-size: 2.25rem; } }
@media (min-width: 1024px) { .about-heading { font-size: 3rem; } }

.offerings-heading, .faq-heading { font-size: 1.875rem; margin: 0.75rem 0 1.25rem; }
@media (min-width: 768px) { .offerings-heading, .faq-heading { font-size: 3rem; } }

.shop-heading { font-size: 1.875rem; margin: 0.75rem 0 0.75rem; }
@media (min-width: 768px) { .shop-heading { font-size: 3rem; } }

.contact-title {
	font-size: 1.875rem;
	margin: 0 0 1rem;
	line-height: 1.15;
	color: #fff;
}
@media (min-width: 768px) { .contact-title { font-size: 2.25rem; } }
@media (min-width: 1024px) { .contact-title { font-size: 3rem; } }

/* =========================================================================
   9. ABOUT
   ========================================================================= */
.about-section { position: relative; overflow: hidden; background: var(--secondary); }
.about-glow { position: absolute; width: 24rem; height: 24rem; border-radius: 50%; filter: blur(64px); pointer-events: none; }
.about-glow--1 { top: -6rem; left: -6rem; background: color-mix(in srgb, var(--accent) 10%, transparent); }
.about-glow--2 { bottom: -6rem; right: -6rem; background: color-mix(in srgb, var(--primary) 10%, transparent); }
.about-inner { position: relative; padding-top: 4rem; padding-bottom: 4rem; }
@media (min-width: 768px) { .about-inner { padding-top: 6rem; padding-bottom: 6rem; } }
.about-grid { display: grid; grid-template-columns: 1fr; gap: 2.5rem; align-items: center; }
@media (min-width: 768px) { .about-grid { grid-template-columns: 1fr 1fr; gap: 4rem; } }
.about-image-col { position: relative; }
.about-image-frame { position: absolute; inset: -0.75rem; border: 1px solid color-mix(in srgb, var(--accent) 40%, transparent); border-radius: var(--radius); transform: translate(0.75rem, 0.75rem); }
@media (min-width: 768px) { .about-image-frame { inset: -1rem; transform: translate(1rem, 1rem); } }
.about-image-crop { position: relative; overflow: hidden; border-radius: var(--radius); box-shadow: var(--shadow-elevated); aspect-ratio: 4 / 5; }
.about-copy-col { display: flex; flex-direction: column; justify-content: center; }
.about-paragraphs { display: flex; flex-direction: column; gap: 1rem; color: var(--muted-foreground); }
.about-paragraphs p:first-child { font-size: 1.0625rem; line-height: 1.7; }
.about-quote { font-weight: 500; color: var(--foreground); font-style: italic; border-left: 2px solid color-mix(in srgb, var(--accent) 60%, transparent); padding-left: 1rem; }
.about-linkedin-btn { margin-top: 2rem; display: inline-flex; align-items: center; gap: 0.5rem; padding: 0.75rem 1.5rem; background: var(--primary); color: var(--primary-foreground); border-radius: var(--radius-md); font-weight: 500; align-self: flex-start; transition: opacity 0.2s ease; }
.about-linkedin-btn:hover { opacity: 0.9; }

@media (max-width: 767px) {
	.about-image-col { margin-right: 0.5rem; }
	.about-image-frame { inset: -0.5rem; transform: translate(0.5rem, 0.5rem); }
	.about-copy-col,
	.about-paragraphs { min-width: 0; }
	.about-linkedin-btn {
		max-width: 100%;
		white-space: normal;
		text-align: center;
	}
}

/* =========================================================================
   10. SERVICES
   ========================================================================= */
.services-section { padding: 4rem 0; }
@media (min-width: 768px) { .services-section { padding: 6rem 0; } }
.services-heading-block { text-align: center; max-width: 42rem; margin: 0 auto 3rem; }
@media (min-width: 768px) { .services-heading-block { margin-bottom: 4rem; } }
.services-grid { display: grid; grid-template-columns: 1fr; gap: 1.25rem; }
@media (min-width: 768px) { .services-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.5rem; } }
.service-card {
	position: relative;
	overflow: hidden;
	border-radius: 0.75rem;
	background: var(--card);
	border: 1px solid color-mix(in srgb, var(--border) 70%, transparent);
	box-shadow: var(--shadow-soft);
	display: flex;
	flex-direction: column;
	transition: box-shadow 0.5s var(--ease-smooth), border-color 0.5s var(--ease-smooth), transform 0.5s var(--ease-smooth);
}
.service-card:hover { box-shadow: var(--shadow-elevated); border-color: color-mix(in srgb, var(--accent) 40%, transparent); transform: translateY(-6px); }
.service-card__image-wrap { position: relative; aspect-ratio: 4 / 3; overflow: hidden; }
.service-card__image { transition: transform 0.7s ease; }
.service-card:hover .service-card__image { transform: scale(1.05); }
.service-card__image-overlay { position: absolute; inset: 0; background: linear-gradient(to top, rgb(53 44 39 / 0.5), rgb(53 44 39 / 0.1) 60%, transparent); }
.service-card__number { position: absolute; top: 1rem; right: 1.25rem; font-family: var(--font-display); font-size: 3rem; line-height: 1; color: rgb(255 255 255 / 0.8); user-select: none; text-shadow: 0 2px 6px rgb(0 0 0 / 0.3); }
.service-card__icon-badge {
	position: absolute; bottom: 1rem; left: 1.5rem;
	width: 3rem; height: 3rem; border-radius: 50%;
	display: flex; align-items: center; justify-content: center;
	background: var(--accent); color: var(--accent-foreground);
	box-shadow: var(--shadow-elevated);
	border: 2px solid rgb(255 255 255 / 0.4);
	transition: transform 0.5s var(--ease-smooth);
}
.service-card:hover .service-card__icon-badge { transform: scale(1.1); }
.service-card__body { padding: 2rem 2.5rem; }
.service-card__title { font-size: 1.5rem; margin-bottom: 0.75rem; }
@media (min-width: 768px) { .service-card__title { font-size: 1.875rem; } }
.service-card__divider { width: 2.5rem; height: 1px; background: color-mix(in srgb, var(--accent) 40%, transparent); margin-bottom: 1rem; transition: width 0.5s ease; }
.service-card:hover .service-card__divider { width: 4rem; }
.service-card__description { color: var(--muted-foreground); line-height: 1.7; font-size: 0.9375rem; }
@media (min-width: 768px) { .service-card__description { font-size: 1rem; } }
.services-cta-row { text-align: center; margin-top: 2.5rem; }

/* =========================================================================
   11. MARQUEE
   ========================================================================= */
.shop-marquee { position: relative; background: var(--primary); color: var(--primary-foreground); border-top: 1px solid color-mix(in srgb, var(--accent) 30%, transparent); border-bottom: 1px solid color-mix(in srgb, var(--accent) 30%, transparent); overflow: hidden; padding: 1rem 0; }
.shop-marquee__track { display: flex; white-space: nowrap; width: max-content; animation: satmkMarquee 30s linear infinite; }
.shop-marquee__group { display: flex; align-items: center; gap: 3rem; flex-shrink: 0; padding-right: 3rem; }
.shop-marquee__item { font-family: var(--font-display); font-style: italic; font-size: 1.25rem; letter-spacing: 0.02em; }
@media (min-width: 768px) { .shop-marquee__item { font-size: 1.5rem; } }
.shop-marquee__dot { color: var(--accent); font-size: 1.5rem; }
@media (prefers-reduced-motion: reduce) { .shop-marquee__track { animation: none; } }

/* =========================================================================
   12. SHOP
   ========================================================================= */
.shop-section { padding-top: 4rem; padding-bottom: 4rem; }
@media (min-width: 768px) { .shop-section { padding-top: 6rem; padding-bottom: 6rem; } }
.shop-heading-block { text-align: center; margin-bottom: 3rem; }
.shop-group { margin-bottom: 3.5rem; }
.shop-group:last-child { margin-bottom: 0; }
.shop-group__heading { text-align: center; margin-bottom: 2rem; }
.shop-group__title { font-size: 1.5rem; margin-bottom: 0.5rem; }
@media (min-width: 768px) { .shop-group__title { font-size: 1.875rem; } }
.shop-group__blurb { color: var(--muted-foreground); font-size: 0.9375rem; max-width: 40rem; margin: 0 auto; }
@media (min-width: 768px) { .shop-group__blurb { font-size: 1rem; } }
.shop-group__divider { width: 3rem; height: 1px; background: color-mix(in srgb, var(--accent) 50%, transparent); margin: 1rem auto 0; }
.shop-group__empty { text-align: center; color: var(--muted-foreground); }

.theme-product-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 1rem;
	align-items: stretch;
	max-width: 64rem;
	margin: 0 auto;
}
@media (min-width: 1024px) { .theme-product-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2rem; } }

.theme-product-card-wrap { display: flex; }
.theme-product-card { display: flex; flex-direction: column; width: 100%; height: 100%; }
.theme-product-card__image-wrapper { position: relative; aspect-ratio: 1 / 1; overflow: hidden; border-radius: var(--radius-md); background: var(--secondary); margin-bottom: 1rem; }
.theme-product-card__image { transition: transform 0.6s var(--ease-smooth); }
.theme-product-card:hover .theme-product-card__image { transform: scale(1.08); }
.theme-product-badge {
	position: absolute; top: 0.5rem; left: 0.5rem;
	padding: 0.375rem 0.75rem;
	font-size: 0.75rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.05em;
	border-radius: var(--radius-sm);
}
@media (min-width: 768px) { .theme-product-badge { top: 0.75rem; left: 0.75rem; } }
.theme-product-badge--soldout { background: var(--foreground); color: var(--background); }
.theme-product-card__info { flex: 1; display: flex; flex-direction: column; gap: 0.25rem; }
.theme-product-card__title { font-size: 1rem; font-weight: 500; font-family: var(--font-body); transition: color 0.3s ease; }
.theme-product-card:hover .theme-product-card__title { color: var(--accent); }
.theme-product-card__price { font-size: 0.875rem; font-weight: 600; color: var(--muted-foreground); }
.theme-product-card__price .woocommerce-Price-amount { color: var(--muted-foreground); }

@media (max-width: 479px) {
	.theme-product-grid { gap: 0.75rem; }
	.theme-product-card__title,
	.theme-product-card__price { overflow-wrap: anywhere; }
	.theme-product-badge {
		max-width: calc(100% - 1rem);
		padding: 0.375rem 0.5rem;
		font-size: 0.6875rem;
		white-space: normal;
	}
}

/* =========================================================================
   13. FAQ
   ========================================================================= */
.faq-section { background: var(--secondary); padding: 4rem 0; }
@media (min-width: 768px) { .faq-section { padding: 6rem 0; } }
.faq-grid { display: grid; grid-template-columns: 1fr; gap: 2.5rem; }
@media (min-width: 768px) { .faq-grid { grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 3rem; } }
.faq-intro-col { grid-column: 1 / -1; min-width: 0; }
@media (min-width: 768px) { .faq-intro-col { grid-column: span 4; position: sticky; top: 6rem; align-self: start; } }
.faq-intro-text { color: var(--muted-foreground); line-height: 1.7; margin-top: 1rem; }
.faq-list-col { grid-column: 1 / -1; min-width: 0; }
@media (min-width: 768px) { .faq-list-col { grid-column: span 8; } }
.faq-item { border-bottom: 1px solid var(--border); }
.faq-item:last-child { border-bottom: none; }
.faq-item__question { width: 100%; display: flex; align-items: flex-start; justify-content: space-between; gap: 1.5rem; padding: 1.5rem 0; text-align: left; }
.faq-item__question-text { font-family: var(--font-display); font-size: 1.125rem; color: var(--foreground); transition: color 0.3s ease; }
@media (min-width: 768px) { .faq-item__question-text { font-size: 1.25rem; } }
.faq-item__question:hover .faq-item__question-text { color: var(--accent); }
.faq-item__icon { flex-shrink: 0; margin-top: 0.25rem; color: var(--accent); }
.faq-item__answer-wrap { height: 0; overflow: hidden; transition: height 0.3s var(--ease-smooth); }
.faq-item__answer { padding-bottom: 1.5rem; color: var(--muted-foreground); line-height: 1.7; }

@media (max-width: 767px) {
	.faq-intro-col { min-width: 0; width: 100%; }
	.faq-intro-text {
		width: 100%;
		max-width: 100%;
		white-space: normal;
		overflow-wrap: anywhere;
		word-break: normal;
	}
	.faq-heading {
		width: 100%;
		max-width: 100%;
		font-size: clamp(1.75rem, 9vw, 2.5rem);
		line-height: 1.08;
		letter-spacing: -0.02em;
		overflow-wrap: anywhere;
		text-wrap: balance;
	}
	.faq-item__question { gap: 1rem; }
	.faq-item__question-text { min-width: 0; overflow-wrap: anywhere; }
	.faq-item__answer { overflow-wrap: anywhere; }
}

/* =========================================================================
   14. CONTACT
   ========================================================================= */
.contact-section { position: relative; overflow: hidden; background: var(--primary); color: var(--primary-foreground); }
.contact-glow { position: absolute; width: 24rem; height: 24rem; border-radius: 50%; filter: blur(64px); pointer-events: none; background: color-mix(in srgb, var(--accent) 20%, transparent); }
.contact-glow--1 { top: -8rem; left: -8rem; }
.contact-glow--2 { bottom: -8rem; right: -8rem; opacity: 0.5; }
/* padding-block only — never override container-wide horizontal padding */
.contact-inner { position: relative; z-index: 10; padding-top: 4rem; padding-bottom: 4rem; }
@media (min-width: 768px) { .contact-inner { padding-top: 5rem; padding-bottom: 5rem; } }
.contact-grid { display: grid; grid-template-columns: 1fr; gap: 2.5rem; align-items: stretch; }
@media (min-width: 768px) { .contact-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .contact-grid { gap: 4rem; } }
.contact-cta-card, .contact-form-card {
	border-radius: 0.75rem;
	border: 1px solid rgb(255 255 255 / 0.15);
	background: rgb(255 255 255 / 0.06);
	backdrop-filter: blur(20px);
	-webkit-backdrop-filter: blur(20px);
	box-shadow: 0 8px 32px rgb(0 0 0 / 0.2), inset 0 1px 0 rgb(255 255 255 / 0.08);
	display: flex;
	flex-direction: column;
	height: 100%;
}
.contact-cta-card { padding: 2rem; justify-content: center; }
@media (min-width: 768px) { .contact-cta-card { padding: 3rem; } }
.contact-eyebrow {
	font-size: 0.75rem;
	letter-spacing: 0.3em;
	text-transform: uppercase;
	color: var(--accent);
	font-weight: 400;
	display: block;
	margin-bottom: 0.75rem;
}
.contact-cta-text { color: rgb(255 255 255 / 0.8); margin-bottom: 2rem; font-size: 1rem; line-height: 1.625; }
@media (min-width: 768px) { .contact-cta-text { font-size: 1.125rem; } }
.contact-cta-card .btn-secondary {
	align-self: flex-start;
	height: 2.75rem;
	padding: 0 2rem;
	font-size: 0.875rem;
	border-radius: var(--radius-md);
}
.contact-details { display: flex; flex-direction: column; gap: 0.75rem; margin-top: 2.5rem; padding-top: 2rem; border-top: 1px solid rgb(255 255 255 / 0.15); }
.contact-details__row { display: flex; align-items: center; gap: 0.5rem; color: rgb(255 255 255 / 0.8); font-size: 0.875rem; }
.contact-details__row a { word-break: break-all; transition: color 0.2s ease; }
.contact-details__row a:hover { color: #fff; }
.contact-details__row svg { flex-shrink: 0; }

.contact-form-card { padding: 2rem; background: rgb(255 255 255 / 0.08); }
@media (min-width: 768px) { .contact-form-card { padding: 2.5rem; } }
.contact-form-eyebrow { font-size: 0.875rem; letter-spacing: 0.2em; text-transform: uppercase; color: rgb(255 255 255 / 0.7); display: block; margin-bottom: 0.25rem; }
.contact-form-title { color: #fff; font-size: 1.5rem; margin: 0 0 1.5rem; line-height: 1.15; }
@media (min-width: 768px) { .contact-form-title { font-size: 1.875rem; } }
.contact-form { display: flex; flex-direction: column; gap: 1.25rem; flex: 1; }
.contact-form-row { display: grid; grid-template-columns: 1fr; gap: 1.25rem; }
@media (min-width: 640px) { .contact-form-row { grid-template-columns: 1fr 1fr; } }
.contact-form-field { display: flex; flex-direction: column; }
.contact-form-field--grow { flex: 1; display: flex; flex-direction: column; }
.contact-form-field label { font-size: 0.875rem; font-weight: 500; margin-bottom: 0.5rem; color: rgb(255 255 255 / 0.8); }
.contact-form-field input, .contact-form-field textarea {
	width: 100%; padding: 0.75rem 1rem;
	background: rgb(255 255 255 / 0.1); border: 1px solid rgb(255 255 255 / 0.2);
	border-radius: var(--radius-md); font-size: 0.875rem; color: #fff;
	transition: box-shadow 0.3s ease;
}
.contact-form-field input::placeholder, .contact-form-field textarea::placeholder { color: rgb(255 255 255 / 0.4); }
.contact-form-field input:focus, .contact-form-field textarea:focus { outline: none; box-shadow: 0 0 0 2px rgb(255 255 255 / 0.3); }
.contact-form-field--grow textarea { flex: 1; min-height: 140px; resize: none; }
.contact-form-submit {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.5rem;
	height: 2.75rem;
	padding: 0 2rem;
	border-radius: var(--radius-md);
	font-size: 0.875rem;
	font-weight: 500;
}
.contact-form-error { color: #ffd7d0; font-size: 0.875rem; }
.contact-form-success { text-align: center; padding: 2.5rem 0; flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.contact-form-success__icon { width: 4rem; height: 4rem; border-radius: 50%; background: rgb(255 255 255 / 0.2); display: flex; align-items: center; justify-content: center; margin-bottom: 1.5rem; color: #fff; }
.contact-form-success h3 { color: #fff; font-size: 1.5rem; margin-bottom: 0.5rem; }
.contact-form-success p { color: rgb(255 255 255 / 0.7); }

@media (max-width: 639px) {
	.contact-cta-card,
	.contact-form-card { min-width: 0; padding: 1.5rem; }
	.contact-cta-card .btn-secondary,
	.contact-form-submit {
		width: 100%;
		max-width: 100%;
		white-space: normal;
	}
	.contact-details__row { min-width: 0; align-items: flex-start; }
	.contact-details__row a,
	.contact-details__row span { min-width: 0; overflow-wrap: anywhere; }
}

/* =========================================================================
   15. FOOTER
   ========================================================================= */
.site-footer { border-top: 1px solid var(--border); background: color-mix(in srgb, var(--secondary) 50%, transparent); }
/* py-12 lg:py-16 on container — padding-block only so container-wide keeps horizontal padding */
.footer-inner { padding-top: 3rem; padding-bottom: 3rem; }
@media (min-width: 1024px) { .footer-inner { padding-top: 4rem; padding-bottom: 4rem; } }
.footer-grid { display: grid; grid-template-columns: 1fr; gap: 2rem; }
@media (min-width: 768px) { .footer-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .footer-grid { gap: 3rem; } }
.footer-logo-link {
	display: inline-block;
	font-family: var(--font-display);
	font-size: 1.25rem;
	font-weight: 600;
	letter-spacing: -0.025em;
	line-height: 1.25;
}
@media (min-width: 768px) { .footer-logo-link { font-size: 1.5rem; } }
.footer-logo-em { margin-left: 0.375rem; }
.footer-tagline { margin-top: 1rem; font-size: 0.875rem; color: var(--muted-foreground); max-width: 24rem; line-height: 1.625; }
.footer-socials { display: flex; flex-wrap: wrap; column-gap: 0.75rem; row-gap: 0.25rem; margin-top: 1rem; }
.footer-social-link { display: inline-flex; align-items: center; gap: 0.25rem; font-size: 0.75rem; color: var(--muted-foreground); transition: color 0.3s ease; }
.footer-social-link:hover { color: var(--accent); }
.footer-heading { font-size: 0.875rem; font-weight: 600; margin: 0 0 1rem; font-family: var(--font-body); }
.theme-footer-nav-list, .footer-contact-list { display: flex; flex-direction: column; gap: 0.75rem; }
.theme-footer-nav-list a { font-size: 0.875rem; color: var(--muted-foreground); transition: color 0.3s ease; text-transform: capitalize; }
.theme-footer-nav-list a:hover { color: var(--foreground); }
.footer-contact-list li { display: flex; align-items: flex-start; gap: 0.5rem; font-size: 0.875rem; color: var(--muted-foreground); }
.footer-contact-list__phone { align-items: center; }
.footer-contact-list li > svg { flex-shrink: 0; margin-top: 0.125rem; }
.footer-contact-list__phone > svg { margin-top: 0; }
.footer-contact-list a { word-break: break-all; transition: color 0.3s ease; }
.footer-contact-list a:hover { color: var(--foreground); }
.footer-bottom {
	margin-top: 2.5rem;
	padding-top: 1.5rem;
	border-top: 1px solid var(--border);
	display: flex;
	flex-direction: column;
	gap: 1rem;
	align-items: center;
	justify-content: space-between;
}
@media (min-width: 640px) { .footer-bottom { flex-direction: row; } }
.footer-copyright, .footer-credit { font-size: 0.75rem; color: var(--muted-foreground); }
.footer-credit { transition: color 0.3s ease; }
.footer-credit:hover { color: var(--foreground); }

@media (max-width: 639px) {
	.footer-grid,
	.footer-col,
	.footer-bottom { min-width: 0; width: 100%; }
	.footer-social-link,
	.footer-contact-list a { min-width: 0; overflow-wrap: anywhere; }
	.footer-copyright,
	.footer-credit { text-align: center; }
}

/* =========================================================================
   16. 404
   ========================================================================= */
.not-found-main { min-height: 100vh; display: flex; align-items: center; justify-content: center; padding: 6rem 0; background: var(--muted); }
.not-found-content { max-width: 32rem; margin: 0 auto; text-align: center; }
.not-found-title { font-size: 2.25rem; font-weight: 700; margin-bottom: 1rem; font-family: var(--font-display); }
.not-found-text { color: var(--muted-foreground); font-size: 1.25rem; margin-bottom: 1rem; }

/* =========================================================================
   17. GENERIC PAGE / CHECKOUT PAGE TITLE
   ========================================================================= */
.generic-page-main, .index-fallback-main { padding: 7rem 0 5rem; }
.page-title { font-size: 1.875rem; margin-bottom: 1.5rem; }
@media (min-width: 768px) { .page-title { font-size: 2.5rem; } }

@media (max-width: 767px) {
	.entry-content pre,
	.entry-content .wp-block-table,
	.entry-content .woocommerce-cart-form,
	.entry-content .wp-block-woocommerce-cart {
		max-width: 100%;
		overflow-x: auto;
		-webkit-overflow-scrolling: touch;
	}
	.entry-content pre {
		white-space: pre-wrap;
		overflow-wrap: anywhere;
	}
	.entry-content iframe,
	.entry-content embed,
	.entry-content object {
		width: 100%;
		max-width: 100%;
	}
}

/* =========================================================================
   18. WOOCOMMERCE — SHOP ARCHIVE
   ========================================================================= */
.shop-archive-main { padding: 7rem 0 5rem; }
.shop-archive-header { text-align: center; margin-bottom: 2.5rem; }
.shop-archive-grid { max-width: 80rem; }
.shop-empty-message { text-align: center; color: var(--muted-foreground); padding: 3rem 0; }
.woocommerce-page .woocommerce-message,
.woocommerce-page .woocommerce-error,
.woocommerce-page .woocommerce-info {
	max-width: 1400px; margin: 1rem auto; padding: 1rem 1.5rem;
	border-radius: var(--radius-md); background: var(--secondary); color: var(--foreground);
	border: 1px solid var(--border); list-style: none; font-family: var(--font-body);
}
.woocommerce-page .woocommerce-error { border-color: #d92626; }

@media (max-width: 479px) {
	.woocommerce-page .woocommerce-message,
	.woocommerce-page .woocommerce-error,
	.woocommerce-page .woocommerce-info {
		min-width: 0;
		padding: 1rem;
		overflow-wrap: anywhere;
	}
	.woocommerce-page .woocommerce-message .button,
	.woocommerce-page .woocommerce-error .button,
	.woocommerce-page .woocommerce-info .button {
		float: none;
		display: flex;
		width: 100%;
		margin: 0.75rem 0 0;
		white-space: normal;
		text-align: center;
	}
}
/* Section 14.1 — hide redundant WC notices where the drawer already gives feedback. */
.single-product .woocommerce-message,
.single-product .woocommerce-info,
#theme-cart-drawer .woocommerce-message { display: none; }

/* =========================================================================
   19. WOOCOMMERCE — SINGLE PRODUCT
   ========================================================================= */
.single-product-main { padding: 7rem 0 5rem; }
.back-to-shop-row { padding: 0 0 1.5rem; }
.back-to-shop-link { display: inline-flex; align-items: center; gap: 0.5rem; font-size: 0.875rem; color: var(--muted-foreground); transition: color 0.2s ease; }
.back-to-shop-link:hover { color: var(--foreground); }

.theme-product-layout { display: grid; grid-template-columns: 1fr; gap: 2.5rem; padding-bottom: 5rem; min-width: 0; }
@media (min-width: 768px) { .theme-product-layout { grid-template-columns: 1fr 1fr; gap: 4rem; } }
.theme-product-gallery, .theme-product-info { min-width: 0; max-width: 100%; }
.theme-product-main-image-wrap { position: relative; aspect-ratio: 3 / 4; background: var(--secondary); overflow: hidden; border-radius: var(--radius-md); margin-bottom: 1rem; }
.theme-product-thumbnails { display: flex; flex-wrap: wrap; gap: 0.5rem; max-width: 100%; }
.theme-product-thumb { position: relative; width: 4.5rem; aspect-ratio: 1 / 1; overflow: hidden; border-radius: var(--radius-md); border: 2px solid transparent; opacity: 0.6; transition: opacity 0.2s ease, border-color 0.2s ease; }
.theme-product-thumb:hover, .theme-product-thumb.is-active { opacity: 1; border-color: var(--primary); }

.theme-product-category { font-size: 0.8125rem; letter-spacing: 0.15em; text-transform: uppercase; color: var(--muted-foreground); }
.theme-product-category a { color: inherit; }
.product-title { font-family: var(--font-body); font-size: 1.5rem; font-weight: 700; margin: 0.5rem 0 1rem; }
@media (min-width: 768px) { .product-title { font-size: 1.875rem; } }
.theme-product-price { font-size: 1.5rem; font-weight: 600; color: var(--accent); margin-bottom: 1.5rem; }
.theme-product-price .woocommerce-Price-amount { color: var(--accent); }
.theme-stock-indicator--out { color: #d92626; font-weight: 600; margin-bottom: 1rem; }
.theme-product-description { color: var(--muted-foreground); line-height: 1.7; margin-bottom: 2rem; overflow-wrap: break-word; word-break: break-word; }

.theme-add-to-cart-area { display: flex; align-items: stretch; flex-wrap: wrap; gap: 0.75rem; margin-bottom: 2rem; }
.theme-quantity-wrapper { display: flex; align-items: center; border: 1px solid var(--border); border-radius: var(--radius-md); }
.theme-qty-minus, .theme-qty-plus { padding: 0.75rem 1rem; transition: background-color 0.2s ease; }
.theme-qty-minus:hover, .theme-qty-plus:hover { background: var(--secondary); }
.theme-qty-input { width: 3rem; text-align: center; border: none; background: transparent; -moz-appearance: textfield; }
.theme-qty-input::-webkit-outer-spin-button, .theme-qty-input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.single-product .single_add_to_cart_button { flex: 1 1 auto; min-width: 160px; }

@media (max-width: 479px) {
	.theme-product-layout { gap: 2rem; }
	.theme-add-to-cart-area,
	.single-product form.cart,
	.single-product .woocommerce-variation-add-to-cart {
		width: 100%;
		min-width: 0;
	}
	.theme-quantity-wrapper { width: 100%; justify-content: space-between; }
	.single-product .single_add_to_cart_button {
		flex-basis: 100%;
		width: 100%;
		min-width: 0;
		white-space: normal;
	}
}

.theme-product-details { border-top: 1px solid var(--border); padding-top: 2rem; }
.theme-details-heading { font-size: 1rem; font-weight: 600; margin-bottom: 1rem; }
.theme-details-list, .theme-details-list p { color: var(--muted-foreground); font-size: 0.875rem; line-height: 1.8; }
.theme-details-list ul { padding-left: 1.25rem; list-style: disc; }

.related-products-section { padding: 5rem 0; border-top: 1px solid var(--border); }
.related-products-heading { font-size: 1.25rem; font-weight: 700; margin-bottom: 2.5rem; font-family: var(--font-body); }
@media (min-width: 768px) { .related-products-heading { font-size: 1.5rem; } }
.related-products-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 1024px) { .related-products-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
/* Never leave related product cards invisible after reveal animation. */
.related-products-grid .reveal-item {
	opacity: 1 !important;
	transform: none !important;
}

.single-product .woocommerce-variation-description,
.single-product .posted_in { overflow-wrap: break-word; word-break: break-word; }

/* Variations table layout (Section 11.5.1) */
.single-product .variations.shop_attributes tbody,
.single-product .variations tbody tr,
.single-product .variations tbody td { display: block; width: 100%; }
.single-product .variations tbody td.label { padding-bottom: 0.25rem; font-weight: 500; }
.single-product .variations tbody td.value { padding-top: 0; margin-bottom: 1rem; }
.theme-attr-select-hidden { display: none !important; }
.single_variation_wrap { margin-top: 0.5rem; }

/* =========================================================================
   20. WOOCOMMERCE — ADD TO CART BUTTON OVERRIDE (Section 11.4.1 / 11.4.2)
   ========================================================================= */
.single_add_to_cart_button.button,
.add_to_cart_button.button,
a.single_add_to_cart_button,
a.add_to_cart_button {
	background-color: var(--color-primary) !important;
	color: var(--color-button-text) !important;
	border: none !important;
	border-radius: var(--btn-radius) !important;
	min-height: var(--btn-height) !important;
	padding: var(--btn-padding) !important;
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;
	font-family: var(--font-body) !important;
	font-size: var(--btn-font-size) !important;
	font-weight: var(--btn-font-weight) !important;
	letter-spacing: var(--btn-letter-spacing) !important;
	text-transform: var(--btn-text-transform) !important;
	cursor: pointer !important;
	transition: opacity 0.2s ease !important;
}
.single_add_to_cart_button.button:hover,
.add_to_cart_button.button:hover {
	opacity: 0.85 !important;
	background-color: var(--color-primary) !important;
	color: var(--color-button-text) !important;
}
.single_add_to_cart_button.button:disabled,
.single_add_to_cart_button.button.disabled,
.add_to_cart_button.button:disabled,
.add_to_cart_button.button.disabled {
	cursor: not-allowed !important;
	opacity: 0.4 !important;
	pointer-events: none !important;
}
.single_add_to_cart_button.button:disabled:hover,
.single_add_to_cart_button.button.disabled:hover,
.add_to_cart_button.button:disabled:hover,
.add_to_cart_button.button.disabled:hover {
	opacity: 0.4 !important;
	background-color: var(--color-primary) !important;
}
.single-product .single_add_to_cart_button.loading::after,
.ajax_add_to_cart.loading::after { display: none !important; }

.woocommerce-page a.added_to_cart.wc-forward,
.single-product a.added_to_cart.wc-forward,
body a.added_to_cart.wc-forward { display: none !important; }

/* =========================================================================
   21. SIDE CART DRAWER
   ========================================================================= */
#theme-cart-overlay {
	position: fixed; inset: 0; background: rgb(53 44 39 / 0.3);
	z-index: 90; opacity: 0; pointer-events: none;
	transition: opacity 0.3s ease;
}
body.admin-bar #theme-cart-overlay { top: 32px; }
@media screen and (max-width: 782px) {
	body.admin-bar #theme-cart-overlay { top: 46px; }
}
body.cart-open #theme-cart-overlay { opacity: 1; pointer-events: auto; }

#theme-cart-drawer {
	position: fixed; top: 0; right: 0; height: 100%; width: 100%; max-width: 26rem;
	background: var(--background); z-index: 91;
	box-shadow: var(--shadow-elevated);
	display: flex; flex-direction: column;
	transform: translateX(100%);
	visibility: hidden;
	pointer-events: none;
	transition: transform 0.35s var(--ease-smooth), visibility 0.35s var(--ease-smooth);
}
@media (max-width: 479px) {
	#theme-cart-drawer { width: 100%; max-width: 100%; }
	.theme-cart-drawer__header,
	.theme-cart-drawer__items,
	.theme-cart-drawer__footer { padding-left: 1rem; padding-right: 1rem; }
	.theme-cart-item { min-width: 0; gap: 0.75rem; }
	.theme-cart-item__image { width: 4rem; height: 5rem; }
	.theme-cart-item__controls { flex-wrap: wrap; gap: 0.5rem; }
	.theme-cart-item__remove {
		margin-left: 0;
		overflow-wrap: anywhere;
	}
}
body.admin-bar #theme-cart-drawer { top: 32px; height: calc(100% - 32px); }
@media screen and (max-width: 782px) {
	body.admin-bar #theme-cart-drawer { top: 46px; height: calc(100% - 46px); }
}
body.cart-open #theme-cart-drawer {
	transform: translateX(0);
	visibility: visible;
	pointer-events: auto;
}
#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(--border); }
.theme-cart-drawer__title { font-size: 1.125rem; font-weight: 700; }
.theme-cart-drawer__close { padding: 0.25rem; }
.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-empty-icon { color: var(--muted-foreground); margin-bottom: 1rem; }
.theme-cart-drawer__items { flex: 1; overflow: auto; padding: 1.5rem; display: flex; flex-direction: column; gap: 1.5rem; }
.theme-cart-item { display: flex; gap: 1rem; }
.theme-cart-item__image { width: 5rem; height: 6rem; flex-shrink: 0; overflow: hidden; border-radius: var(--radius-md); background: var(--secondary); display: block; }
.theme-cart-item__image img { width: 100%; height: 100%; object-fit: cover; display: block; }
.theme-cart-item__info { flex: 1; min-width: 0; }
.theme-cart-item__title { font-size: 0.875rem; font-weight: 500; display: block; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.theme-cart-item__price { font-size: 0.875rem; color: var(--muted-foreground); margin-top: 0.125rem; }
.theme-cart-item__variation { font-size: 0.75rem; color: var(--muted-foreground); margin-top: 0.25rem; }
.theme-cart-item__controls { display: flex; align-items: center; gap: 0.75rem; margin-top: 0.75rem; }
.theme-cart-item__controls .theme-qty-minus, .theme-cart-item__controls .theme-qty-plus { padding: 0.25rem; border-radius: var(--radius-sm); }
.theme-cart-item__controls .theme-qty-minus:hover, .theme-cart-item__controls .theme-qty-plus:hover { background: var(--secondary); }
.theme-cart-item__qty { font-size: 0.875rem; width: 1.5rem; text-align: center; }
.theme-cart-item__remove { margin-left: auto; font-size: 0.75rem; color: var(--muted-foreground); }
.theme-cart-item__remove:hover { color: var(--foreground); }

.theme-cart-drawer__footer { padding: 1.5rem; border-top: 1px solid var(--border); display: flex; flex-direction: column; gap: 1rem; }
.theme-cart-subtotal-row { display: flex; justify-content: space-between; font-size: 0.875rem; }
.theme-cart-subtotal-row span:first-child { color: var(--muted-foreground); }
.theme-cart-subtotal-value { font-weight: 500; }
.theme-cart-shipping-note { font-size: 0.75rem; color: var(--muted-foreground); }
.theme-cart-checkout-btn { width: 100%; text-align: center; padding: 0.85rem; border-radius: var(--radius-md); font-weight: 500; }

/* =========================================================================
   22. WOOCOMMERCE CHECKOUT BLOCK
   ========================================================================= */

/* Parent shells must not compress the checkout block. */
body.woocommerce-checkout #page-content,
body.woocommerce-checkout .site-main,
body.woocommerce-checkout article,
body.woocommerce-checkout .entry-content,
body.woocommerce-checkout .container-wide {
	max-width: none;
	width: 100%;
	box-sizing: border-box;
}
body.woocommerce-checkout .entry-content {
	max-width: 100%;
}
body.woocommerce-checkout .site-main {
	padding-top: var(--header-height);
	padding-bottom: 4rem;
}

/* Checkout block + notices share the same centered rail. */
body.woocommerce-checkout .wp-block-woocommerce-checkout,
body.woocommerce-checkout .wc-block-checkout,
.entry-content .wp-block-woocommerce-checkout,
.entry-content .wc-block-checkout,
body.woocommerce-checkout .wc-block-components-notices,
.entry-content .wc-block-components-notices {
	width: 100%;
	max-width: 1280px;
	margin-left: auto;
	margin-right: auto;
	box-sizing: border-box;
}

/* Real 2-column layout lives on the sidebar-layout wrapper (not only .wc-block-checkout). */
body.woocommerce-checkout .wc-block-components-sidebar-layout,
body.woocommerce-checkout .wc-block-checkout-sidebar-layout,
body.woocommerce-checkout .wc-block-components-sidebar-layout.wc-block-checkout,
body.woocommerce-checkout .wc-block-checkout.is-large,
.entry-content .wc-block-components-sidebar-layout,
.entry-content .wc-block-checkout-sidebar-layout,
.entry-content .wc-block-checkout.is-large {
	display: flex;
	flex-direction: column;
	gap: var(--checkout-gap);
	width: 100%;
	max-width: 100%;
	box-sizing: border-box;
	align-items: stretch;
}

@media (min-width: 900px) {
	body.woocommerce-checkout .wc-block-components-sidebar-layout,
	body.woocommerce-checkout .wc-block-checkout-sidebar-layout,
	body.woocommerce-checkout .wc-block-components-sidebar-layout.wc-block-checkout,
	body.woocommerce-checkout .wc-block-checkout.is-large,
	.entry-content .wc-block-components-sidebar-layout,
	.entry-content .wc-block-checkout-sidebar-layout,
	.entry-content .wc-block-checkout.is-large {
		display: grid;
		grid-template-columns: 1fr minmax(360px, 400px);
		gap: var(--checkout-gap);
		align-items: start;
	}
}

/* Notices span full width; form then summary. */
body.woocommerce-checkout .wc-block-components-sidebar-layout > *:first-child,
body.woocommerce-checkout .wc-block-checkout-sidebar-layout > *:first-child,
body.woocommerce-checkout .wc-block-components-notices,
body.woocommerce-checkout .wc-block-components-notice-banner,
.entry-content .wc-block-components-sidebar-layout > *:first-child,
.entry-content .wc-block-checkout-sidebar-layout > *:first-child,
.entry-content .wc-block-components-notices,
.entry-content .wc-block-components-notice-banner {
	grid-column: 1 / -1;
	order: 1;
	width: 100%;
	max-width: 100%;
	box-sizing: border-box;
}

body.woocommerce-checkout .wc-block-checkout__main,
body.woocommerce-checkout .wc-block-components-main,
.entry-content .wc-block-checkout__main,
.entry-content .wc-block-components-main {
	order: 2;
	width: 100%;
	min-width: 0;
	max-width: 100%;
	box-sizing: border-box;
}

body.woocommerce-checkout .wc-block-checkout__sidebar,
body.woocommerce-checkout .wc-block-components-sidebar,
.entry-content .wc-block-checkout__sidebar,
.entry-content .wc-block-components-sidebar {
	order: 3;
	width: 100%;
	min-width: 0;
	max-width: 100%;
	box-sizing: border-box;
}

@media (min-width: 900px) {
	body.woocommerce-checkout .wc-block-checkout__sidebar,
	body.woocommerce-checkout .wc-block-components-sidebar,
	.entry-content .wc-block-checkout__sidebar,
	.entry-content .wc-block-components-sidebar {
		min-width: 360px;
	}
}

body.woocommerce-checkout .wp-block-woocommerce-checkout-order-summary-block,
.entry-content .wp-block-woocommerce-checkout-order-summary-block {
	width: 100%;
	max-width: 100%;
	box-sizing: border-box;
	display: block;
}

body.woocommerce-checkout .wc-block-checkout__sidebar,
.entry-content .wc-block-checkout__sidebar {
	background-color: var(--secondary);
	border-radius: var(--radius);
	padding: 2rem;
}

body.woocommerce-checkout .wc-block-components-text-input input,
body.woocommerce-checkout .wc-block-components-select select,
body.woocommerce-checkout .wc-block-components-textarea textarea,
.entry-content .wc-block-checkout .wc-block-components-text-input input,
.entry-content .wc-block-checkout .wc-block-components-select select,
.entry-content .wc-block-checkout .wc-block-components-textarea textarea {
	font-family: var(--font-body);
	color: var(--foreground);
	border: 1px solid var(--border);
	border-radius: var(--radius-md);
	background-color: var(--background);
	width: 100% !important;
	max-width: none !important;
	box-sizing: border-box;
}
body.woocommerce-checkout .wc-block-components-text-input input:focus,
body.woocommerce-checkout .wc-block-components-select select:focus,
.entry-content .wc-block-checkout .wc-block-components-text-input input:focus,
.entry-content .wc-block-checkout .wc-block-components-select select:focus {
	outline: none;
	box-shadow: 0 0 0 1px var(--primary);
}
body.woocommerce-checkout .wc-block-components-text-input input::placeholder,
.entry-content .wc-block-checkout .wc-block-components-text-input input::placeholder {
	color: var(--muted-foreground);
}
body.woocommerce-checkout .wc-block-components-checkout-place-order-button,
.entry-content .wc-block-checkout .wc-block-components-checkout-place-order-button {
	background-color: var(--primary) !important;
	color: var(--primary-foreground) !important;
	border-radius: var(--radius-md) !important;
	font-family: var(--font-body) !important;
	text-transform: none !important;
	width: 100%;
}
body.woocommerce-checkout .wc-block-components-checkout-place-order-button:hover,
.entry-content .wc-block-checkout .wc-block-components-checkout-place-order-button:hover {
	opacity: 0.9;
}
body.woocommerce-checkout h2,
body.woocommerce-checkout h3,
.entry-content .wc-block-checkout h2,
.entry-content .wc-block-checkout h3 {
	font-family: var(--font-body);
	font-weight: 600;
}

@media (max-width: 899px) {
	body.woocommerce-checkout .site-main,
	body.woocommerce-checkout article,
	body.woocommerce-checkout .entry-content,
	body.woocommerce-checkout .wp-block-woocommerce-checkout,
	body.woocommerce-checkout .wc-block-checkout,
	.entry-content .wp-block-woocommerce-checkout,
	.entry-content .wc-block-checkout,
	body.woocommerce-checkout .wc-block-components-sidebar-layout,
	body.woocommerce-checkout .wc-block-checkout-sidebar-layout {
		min-width: 0 !important;
		max-width: 100% !important;
		width: 100% !important;
	}

	body.woocommerce-checkout .wc-block-checkout__sidebar,
	body.woocommerce-checkout .wc-block-components-sidebar,
	.entry-content .wc-block-checkout__sidebar,
	.entry-content .wc-block-components-sidebar {
		min-width: 0 !important;
		padding: 1rem;
	}

	body.woocommerce-checkout .wc-block-components-notices,
	body.woocommerce-checkout .wc-block-components-notice-banner,
	.entry-content .wc-block-components-notices,
	.entry-content .wc-block-components-notice-banner,
	body.woocommerce-checkout .wp-block-woocommerce-checkout-order-summary-block,
	.entry-content .wp-block-woocommerce-checkout-order-summary-block {
		min-width: 0 !important;
		max-width: 100% !important;
		overflow-wrap: anywhere;
	}
}

/* =========================================================================
   23. WOOCOMMERCE CART / MY ACCOUNT WIDTH PARITY (Section 13.7)
   ========================================================================= */
body.woocommerce-cart .site-main,
body.woocommerce-account .site-main { padding-top: var(--header-height); padding-bottom: 4rem; }
body.woocommerce-cart .entry-content,
body.woocommerce-account .entry-content { max-width: 100%; }

@media (max-width: 767px) {
	body.woocommerce-cart .entry-content,
	body.woocommerce-account .entry-content {
		min-width: 0;
	}
	body.woocommerce-cart .woocommerce-cart-form,
	body.woocommerce-cart .wp-block-woocommerce-cart,
	body.woocommerce-account .woocommerce-MyAccount-content {
		max-width: 100%;
		overflow-x: auto;
		-webkit-overflow-scrolling: touch;
	}
	body.woocommerce-cart table,
	body.woocommerce-account table {
		width: 100%;
		max-width: 100%;
		table-layout: fixed;
	}
	body.woocommerce-cart th,
	body.woocommerce-cart td,
	body.woocommerce-account th,
	body.woocommerce-account td {
		overflow-wrap: anywhere;
	}
}

/* =========================================================================
   24. THANK YOU PAGE (Section 22.8)
   ========================================================================= */
body.theme-thankyou-page { overflow-x: hidden; }
body.theme-thankyou-page .site-main { padding-top: var(--header-height); padding-bottom: 4rem; }
body.theme-thankyou-page .woocommerce-order-details table { width: 100%; table-layout: fixed; }
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(--secondary); border-radius: var(--radius); }
body.theme-thankyou-page .woocommerce-order-overview li { font-size: 0.875rem; }
body.theme-thankyou-page .woocommerce-order-overview li strong { display: block; margin-top: 0.25rem; }
body.theme-thankyou-page .woocommerce-order h2,
body.theme-thankyou-page .woocommerce-order-details__title { font-size: 1.375rem; padding: 0 0 1rem 0; }
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(--border); border-radius: var(--radius-md); padding: 1rem; }

/* =========================================================================
   25. MISC / FALLBACK CLASSES
   ========================================================================= */
.fallback-article { max-width: 48rem; margin: 0 auto; }
