/* =====================================================================
   Shirley's World Studios — theme.css
   Design tokens mirror the original site design system
   ===================================================================== */

:root {
	--background: #fdf7f9;
	--foreground: #26171c;
	--card: #ffffff;
	--primary: #e8689e;
	--primary-foreground: #ffffff;
	--secondary: #f9f1f3;
	--secondary-foreground: #40262f;
	--muted: #f4ecee;
	--muted-foreground: #785e67;
	--accent: #1fa4ad;
	--accent-foreground: #ffffff;
	--border: #ebe0e4;

	--radius: 0.625rem;
	--logo-height: 44px;

	--font-display: 'Abril Fatface', serif;
	--font-serif: 'Playfair Display', serif;
	--font-body: 'Cabin', sans-serif;

	--shadow-soft: 0 6px 24px -8px rgba(90, 30, 55, 0.15);
	--shadow-elevated: 0 20px 50px -18px rgba(232, 104, 158, 0.35);

	--ease-smooth: cubic-bezier(0.4, 0, 0.2, 1);
	--ease-reveal: cubic-bezier(0.25, 0.4, 0.25, 1);

	--header-height: 80px;
	--admin-bar-height: 0px;

	--btn-radius: 0.375rem;
	--btn-height: 2.75rem;
	--btn-padding: 0 2.25rem;
	--btn-font-size: 0.8125rem;
	--btn-font-weight: 600;
	--btn-letter-spacing: 0.02em;
	--btn-text-transform: none;
	--color-primary: var(--primary);
	--color-button-text: var(--primary-foreground);
	--card-radius: 0.75rem;
	--section-padding: 2rem;
	--checkout-gap: 2.5rem;
}

/* =====================================================================
   RESET / BASE
   ===================================================================== */
*,
*::before,
*::after {
	box-sizing: border-box;
	border-color: var(--border);
}

html {
	scroll-behavior: smooth;
	-webkit-font-smoothing: antialiased;
}

body {
	margin: 0;
	background: var(--background);
	color: var(--foreground);
	font-family: var(--font-body);
	line-height: 1.6;
	overflow-x: hidden;
}
body.is-page-loading { overflow: hidden; }

/* =====================================================================
   PAGE LOADER
   ===================================================================== */
.theme-page-loader {
	position: fixed;
	inset: 0;
	z-index: 100;
	display: flex;
	align-items: center;
	justify-content: center;
	background: var(--background);
	opacity: 1;
	transition: opacity 0.6s var(--ease-reveal);
}
.theme-page-loader.is-hidden {
	opacity: 0;
	pointer-events: none;
}
.theme-page-loader__inner {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 1.5rem;
	animation: theme-loader-in 0.6s var(--ease-reveal) both;
}
.theme-page-loader__spinner {
	position: relative;
	width: 4rem;
	height: 4rem;
}
.theme-page-loader__ring {
	position: absolute;
	inset: 0;
	border: 1px solid color-mix(in srgb, var(--primary) 30%, transparent);
}
.theme-page-loader__ring--outer { animation: theme-loader-spin 8s linear infinite; }
.theme-page-loader__ring--inner {
	inset: 0.5rem;
	border-color: color-mix(in srgb, var(--primary) 60%, transparent);
	animation: theme-loader-spin-reverse 6s linear infinite;
}
.theme-page-loader__dot {
	position: absolute;
	top: 50%;
	left: 50%;
	width: 0.5rem;
	height: 0.5rem;
	margin: -0.25rem 0 0 -0.25rem;
	background: var(--primary);
	animation: theme-loader-pulse 1.4s ease-in-out infinite;
}
.theme-page-loader__label {
	display: flex;
	align-items: center;
	gap: 0.75rem;
}
.theme-page-loader__line {
	display: block;
	height: 1px;
	width: 0;
	background: var(--primary);
	animation: theme-loader-line 0.8s var(--ease-reveal) 0.2s forwards;
}
.theme-page-loader__text {
	font-size: 10px;
	letter-spacing: 0.45em;
	text-transform: uppercase;
	color: var(--primary);
	font-weight: 600;
}
@keyframes theme-loader-in {
	from { opacity: 0; transform: scale(0.85); }
	to { opacity: 1; transform: scale(1); }
}
@keyframes theme-loader-spin {
	to { transform: rotate(360deg); }
}
@keyframes theme-loader-spin-reverse {
	to { transform: rotate(-360deg); }
}
@keyframes theme-loader-pulse {
	0%, 100% { transform: scale(1); opacity: 1; }
	50% { transform: scale(1.6); opacity: 0.4; }
}
@keyframes theme-loader-line {
	to { width: 1.5rem; }
}
@media (prefers-reduced-motion: reduce) {
	.theme-page-loader__ring--outer,
	.theme-page-loader__ring--inner,
	.theme-page-loader__dot { animation: none; }
	.theme-page-loader__line { width: 1.5rem; animation: none; }
}

/* WordPress admin bar: offset fixed header instead of overlapping it. */
html {
	margin-top: 0 !important;
}
body.admin-bar {
	--admin-bar-height: 32px;
}
@media screen and (max-width: 782px) {
	body.admin-bar {
		--admin-bar-height: 46px;
	}
}
body.admin-bar .site-header {
	top: var(--admin-bar-height);
}
body.admin-bar .hero-section {
	padding-top: calc(6rem + var(--admin-bar-height));
}
body.admin-bar.theme-no-hero .site-main,
body.admin-bar.woocommerce-checkout .site-main,
body.admin-bar.woocommerce-account .site-main {
	padding-top: calc(var(--header-height) + var(--admin-bar-height));
}
@media (min-width: 768px) {
	body.admin-bar .blog-post {
		padding-top: calc(8rem + var(--admin-bar-height));
	}
}
body.admin-bar .scroll-mt-anchor {
	scroll-margin-top: calc(6rem + var(--admin-bar-height));
}

/* Pointer on interactive controls site-wide. */
a[href],
button:not(:disabled),
input[type="submit"],
input[type="button"],
input[type="reset"],
label[for],
select,
summary,
.theme-section-link,
.cart-toggle-btn,
.mobile-menu-toggle,
.shop-category-tab,
.resource-type-tab,
.faq-item__question,
.resource-card,
.resource-card--download,
.theme-product-card,
.service-card__inquire,
.theme-product-thumb,
.theme-attr-pill,
.contact-cta-btn,
.contact-mailto-link,
.site-footer__social-link,
.theme-cart-item__name,
.theme-btn-primary,
.theme-btn-outline,
#shop-show-all,
.theme-nav-list a,
.mobile-nav-list a,
.theme-footer-nav-list a {
	cursor: pointer;
}
button:disabled,
.theme-btn-primary:disabled,
.theme-btn-outline:disabled,
.single_add_to_cart_button.disabled {
	cursor: not-allowed;
}

img:not(.cover-img):not(.hero-bg-img):not(.theme-product-card-img):not(.site-logo-img) {
	max-width: 100%;
	height: auto;
	display: block;
}
.cover-img,
.hero-bg-img,
.theme-product-card-img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
}
.cover-img-wrapper {
	position: relative;
	overflow: hidden;
	display: block;
}

h1, h2, h3, h4, h5, h6 {
	font-family: var(--font-display);
	font-weight: inherit;
	font-size: inherit;
	letter-spacing: -0.005em;
	margin: 0;
}

p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; background: none; border: none; cursor: pointer; padding: 0; color: inherit; }
input, textarea, select { font-family: inherit; }

.container-wide {
	width: 100%;
	max-width: 1280px;
	margin: 0 auto;
	padding-left: 1.5rem;
	padding-right: 1.5rem;
}
@media (min-width: 1024px) {
	.container-wide {
		padding-left: 2rem;
		padding-right: 2rem;
	}
}

.text-serif { font-family: var(--font-serif); }
.text-primary { color: var(--primary); }
.text-accent { color: var(--accent); }
.italic { font-style: italic; }

.scroll-mt-anchor { scroll-margin-top: 6rem; }

/* =====================================================================
   BUTTONS
   ===================================================================== */
.theme-btn-primary,
.theme-btn-outline {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.5rem;
	height: var(--btn-height);
	padding: var(--btn-padding);
	border-radius: var(--btn-radius);
	font-size: var(--btn-font-size);
	font-weight: var(--btn-font-weight);
	letter-spacing: var(--btn-letter-spacing);
	text-transform: var(--btn-text-transform);
	transition: opacity 0.2s var(--ease-smooth), transform 0.25s var(--ease-smooth), background-color 0.2s;
	cursor: pointer;
	white-space: nowrap;
}
.theme-btn-primary {
	background: var(--primary);
	color: var(--primary-foreground);
}
.theme-btn-primary:hover { opacity: 0.9; transform: translateY(-2px); }
.theme-btn-primary.disabled,
.theme-btn-primary:disabled {
	opacity: 0.4;
	cursor: not-allowed;
	pointer-events: none;
}
.theme-btn-outline {
	background: transparent;
	border: 1px solid var(--primary-foreground);
	color: var(--foreground);
}
.hero-section .theme-btn-outline {
	color: var(--primary-foreground);
	border-color: rgba(255, 255, 255, 0.6);
}
.hero-section .theme-btn-outline:hover {
	background: var(--primary-foreground);
	color: var(--foreground);
}
.btn-arrow { transition: transform 0.3s var(--ease-smooth); }
.theme-btn-primary:hover .btn-arrow { transform: translateX(4px); }

/* =====================================================================
   ANIMATION UTILITIES (per-element inventory, Section 2.1)
   ===================================================================== */
.reveal-item,
.reveal-fade {
	opacity: 0;
	transform: translateY(40px);
	transition: opacity 0.7s var(--ease-reveal), transform 0.7s var(--ease-reveal);
}
.reveal-item.is-visible,
.reveal-fade.is-visible {
	opacity: 1;
	transform: translateY(0);
}
.reveal-fade {
	transform: none;
	transition: opacity 0.8s var(--ease-reveal);
}
body.is-customizer .reveal-item,
body.is-customizer .reveal-fade {
	opacity: 1 !important;
	transform: none !important;
}
@media (prefers-reduced-motion: reduce) {
	.reveal-item, .reveal-fade {
		transition: none !important;
		opacity: 1 !important;
		transform: none !important;
	}
}

@keyframes theme-fade-in { from { opacity: 0; } to { opacity: 1; } }
@keyframes theme-slide-up { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }
@keyframes theme-shimmer { 0% { background-position: 200% 0; } 100% { background-position: -200% 0; } }
@keyframes theme-glow-drift {
	0% { transform: translate(0, 0); }
	50% { transform: translate(10px, -20px); }
	100% { transform: translate(0, 0); }
}
@keyframes theme-marquee-scroll {
	from { transform: translateX(0); }
	to { transform: translateX(-50%); }
}
@keyframes theme-modal-in {
	from { opacity: 0; transform: scale(0.92) translateY(30px); }
	to { opacity: 1; transform: scale(1) translateY(0); }
}
@keyframes theme-modal-out {
	from { opacity: 1; transform: scale(1) translateY(0); }
	to { opacity: 0; transform: scale(0.95) translateY(20px); }
}
@keyframes theme-check-pop {
	from { opacity: 0; transform: scale(0) rotate(-90deg); }
	to { opacity: 1; transform: scale(1) rotate(0); }
}

/* =====================================================================
   HEADER
   ===================================================================== */
.site-header {
	position: fixed;
	top: var(--admin-bar-height);
	left: 0; right: 0;
	z-index: 50;
	background: transparent;
	border-bottom: 1px solid transparent;
	transition: background-color 0.3s var(--ease-smooth), border-color 0.3s var(--ease-smooth), box-shadow 0.3s var(--ease-smooth);
}
.site-header.is-solid,
.site-header.is-menu-open {
	background: rgba(253, 247, 249, 0.95);
	backdrop-filter: blur(8px);
	border-bottom-color: var(--border);
	box-shadow: var(--shadow-soft);
}
.site-nav {
	display: flex;
	align-items: center;
	justify-content: space-between;
	height: 64px;
}
@media (min-width: 1024px) { .site-nav { height: 80px; } }

.site-brand {
	display: flex;
	align-items: center;
	gap: 0.75rem;
}
.site-brand__mark {
	height: 40px; width: 40px;
	border-radius: 50%;
	overflow: hidden;
	background: var(--foreground);
	display: flex; align-items: center; justify-content: center;
	flex-shrink: 0;
}
@media (min-width: 1024px) { .site-brand__mark { height: 48px; width: 48px; } }
.site-brand__mark .site-logo-img { height: 100%; width: 100%; object-fit: cover; }
.site-brand__name {
	display: none;
	font-family: var(--font-display);
	font-size: 1rem;
	line-height: 1;
	color: #fff;
	text-shadow: 0 1px 3px rgba(0,0,0,0.3);
	transition: color 0.3s var(--ease-smooth);
}
@media (min-width: 640px) { .site-brand__name { display: block; } }
.site-header.is-solid .site-brand__name,
.site-header.is-menu-open .site-brand__name { color: var(--foreground); text-shadow: none; }
.site-brand__name--footer { display: block; color: var(--foreground); text-shadow: none; font-size: 1.125rem; }

.site-nav__links { display: none; }
@media (min-width: 1024px) {
	.site-nav__links { display: flex; align-items: center; gap: 1.5rem; }
}
.theme-nav-list { display: flex; align-items: center; gap: 1.5rem; }
.theme-nav-list a {
	position: relative;
	font-size: 13px;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.16em;
	color: rgba(255,255,255,0.9);
	text-shadow: 0 1px 2px rgba(0,0,0,0.25);
	transition: color 0.3s var(--ease-smooth);
}
.site-header.is-solid .theme-nav-list a,
.site-header.is-menu-open .theme-nav-list a { color: rgba(38,23,28,0.75); text-shadow: none; }
.theme-nav-list a::after {
	content: '';
	position: absolute; bottom: -4px; left: 0;
	width: 100%; height: 1px;
	background: var(--primary);
	transform: scaleX(0);
	transform-origin: left;
	transition: transform 0.3s var(--ease-smooth);
}
.theme-nav-list a:hover { color: var(--primary) !important; }
.theme-nav-list a:hover::after { transform: scaleX(1); }

.site-nav__actions { display: flex; align-items: center; gap: 0.5rem; }
.cart-toggle-btn {
	position: relative;
	padding: 0.5rem;
	color: #fff;
	transition: color 0.2s;
}
.site-header.is-solid .cart-toggle-btn,
.site-header.is-menu-open .cart-toggle-btn { color: var(--foreground); }
.cart-toggle-btn:hover { color: var(--primary); }
.cart-toggle-icon { width: 20px; height: 20px; }
.theme-cart-count {
	position: absolute; top: -2px; right: -2px;
	width: 20px; height: 20px;
	display: flex; align-items: center; justify-content: center;
	font-size: 10px; font-weight: 700;
	background: var(--primary); color: var(--primary-foreground);
	border-radius: 999px;
}
.theme-cart-count:empty { display: none; }

.mobile-menu-toggle { padding: 0.5rem; color: #fff; }
.site-header.is-solid .mobile-menu-toggle, .site-header.is-menu-open .mobile-menu-toggle { color: var(--foreground); }
.icon-menu-close { display: none; }
.mobile-menu-toggle.is-open .icon-menu-open { display: none; }
.mobile-menu-toggle.is-open .icon-menu-close { display: block; }
@media (min-width: 1024px) { .mobile-menu-toggle { display: none; } }

.mobile-menu {
	display: none;
	border-top: 1px solid var(--border);
	padding: 1rem 0;
}
.mobile-menu.is-open { display: block; animation: theme-fade-in 0.3s var(--ease-smooth); }
.mobile-menu .theme-nav-list,
.mobile-nav-list {
	display: flex;
	flex-direction: column;
	align-items: stretch;
	gap: 0.75rem;
}
.mobile-menu .theme-nav-list a,
.mobile-nav-list a {
	position: static;
	font-size: 0.875rem;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.16em;
	color: rgba(38, 23, 28, 0.8);
	text-shadow: none;
	padding: 0.5rem 0;
	display: block;
	text-align: left;
}
.mobile-menu .theme-nav-list a::after,
.mobile-nav-list a::after { display: none; }
.mobile-menu .theme-nav-list a:hover,
.mobile-nav-list a:hover { color: var(--primary); }
@media (min-width: 1024px) { .mobile-menu { display: none !important; } }

.theme-icon { width: 1.1em; height: 1.1em; }

/* =====================================================================
   HERO
   ===================================================================== */
body:not(.theme-no-hero) .site-main { padding-top: 0; }
body.theme-no-hero .site-main { padding-top: var(--header-height); }

.hero-section {
	min-height: 100dvh;
	display: flex; align-items: center; justify-content: center;
	position: relative;
	overflow: hidden;
	padding-top: 6rem;
	background: var(--foreground);
}
.hero-section__video {
	position: absolute; inset: 0;
	width: 100%; height: 100%;
	object-fit: cover; object-position: center;
	z-index: 0;
}
.hero-section__overlay {
	position: absolute; inset: 0; z-index: 1;
	background: linear-gradient(to bottom, rgba(38,23,28,0.7), rgba(38,23,28,0.6) 50%, rgba(38,23,28,0.8));
}
.hero-section__glows { position: absolute; inset: 0; z-index: 2; pointer-events: none; }
.hero-glow { position: absolute; border-radius: 999px; filter: blur(64px); animation: theme-glow-drift 12s ease-in-out infinite; }
.hero-glow--1 { width: 18rem; height: 18rem; top: 2.5rem; left: 8%; background: color-mix(in srgb, var(--primary) 25%, transparent); }
.hero-glow--2 { width: 24rem; height: 24rem; bottom: 2.5rem; right: 5%; background: color-mix(in srgb, var(--accent) 20%, transparent); animation-duration: 14s; }

.hero-section__content { position: relative; z-index: 10; text-align: center; padding-block: 5rem; }
.hero-eyebrow {
	font-size: 0.8125rem; text-transform: uppercase; letter-spacing: 0.4em;
	color: rgba(255,255,255,0.9); font-weight: 600; margin-bottom: 1.25rem;
}
.hero-title {
	font-size: 2.5rem; line-height: 1.05; color: #fff; max-width: 64rem; margin: 0 auto;
	text-shadow: 0 4px 12px rgba(0,0,0,0.25);
}
@media (min-width: 768px) { .hero-title { font-size: 3.75rem; } }
@media (min-width: 1024px) { .hero-title { font-size: 6rem; } }
.hero-subtitle {
	color: rgba(255,255,255,0.9); max-width: 42rem; margin: 2rem auto 2.5rem;
	font-size: 1rem; line-height: 1.7;
}
@media (min-width: 768px) { .hero-subtitle { font-size: 1.125rem; } }
.hero-actions { display: flex; flex-direction: column; gap: 0.75rem; justify-content: center; padding: 0 1rem; }
@media (min-width: 640px) { .hero-actions { flex-direction: row; } }
/* Uppercase applied only where the source explicitly uses it (Section 2.2 #4) */
.btn-hero-primary, .btn-hero-outline,
.founder-section .theme-btn-primary,
.contact-cta-btn,
.theme-contact-form__submit {
	text-transform: uppercase;
	letter-spacing: 0.2em;
}

/* =====================================================================
   MARQUEE
   ===================================================================== */
.marquee {
	position: relative; overflow: hidden;
	background: var(--accent); color: var(--accent-foreground);
	padding: 1rem 0;
}
@media (min-width: 640px) { .marquee { padding: 1.25rem 0; } }
.marquee__fade { position: absolute; top: 0; bottom: 0; width: 4rem; z-index: 10; pointer-events: none; }
@media (min-width: 640px) { .marquee__fade { width: 6rem; } }
.marquee__fade--left { left: 0; background: linear-gradient(to right, var(--accent), transparent); }
.marquee__fade--right { right: 0; background: linear-gradient(to left, var(--accent), transparent); }
.marquee__viewport { overflow: hidden; }
.marquee__track {
	display: flex; align-items: center; white-space: nowrap; width: max-content;
	animation: theme-marquee-scroll 40s linear infinite;
}
.marquee__item { display: flex; align-items: center; }
.marquee__text { font-family: var(--font-serif); font-style: italic; font-size: 0.9375rem; letter-spacing: 0.15em; padding: 0 1.5rem; }
@media (min-width: 640px) { .marquee__text { font-size: 1.0625rem; padding: 0 2rem; } }
.marquee__sparkle { flex-shrink: 0; width: 14px; height: 14px; opacity: 0.8; }
@media (prefers-reduced-motion: reduce) { .marquee__track { animation: none; } }

/* =====================================================================
   SHARED SECTION HEADING SCALES (per-section, Section 2.2 #5)
   ===================================================================== */
.eyebrow {
	font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.3em;
	font-weight: 600; color: var(--primary); display: block;
}
.eyebrow--accent { color: var(--accent); }

.about-section .section-heading {
	font-size: 2.25rem; line-height: 1.05; margin: 0.75rem 0 1rem;
}
@media (min-width: 768px) { .about-section .section-heading { font-size: 3.75rem; } }

.founder-section .section-heading { font-size: 2.25rem; line-height: 1.05; margin: 0.75rem 0 1.5rem; }
@media (min-width: 768px) { .founder-section .section-heading { font-size: 3rem; } }
@media (min-width: 1024px) { .founder-section .section-heading { font-size: 3.75rem; } }

.shop-heading { font-size: 2.25rem; margin: 0.75rem 0 1rem; }
@media (min-width: 768px) { .shop-heading { font-size: 3.75rem; } }
@media (min-width: 1024px) { .shop-heading { font-size: 4.5rem; } }

.services-section .section-heading, .resources-section .section-heading, .faq-section .section-heading {
	font-size: 2.25rem; margin: 0.75rem 0 1rem;
}
@media (min-width: 768px) { .services-section .section-heading, .resources-section .section-heading, .faq-section .section-heading { font-size: 3.75rem; } }

.contact-title {
	font-size: 2.25rem;
	line-height: 1.05;
	margin: 1.5rem 0;
	color: #fff;
	text-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
}
@media (min-width: 768px) { .contact-title { font-size: 3.75rem; } }
@media (min-width: 1024px) { .contact-title { font-size: 4.5rem; } }

.blog-post__title { font-size: 2.25rem; line-height: 1.15; }
@media (min-width: 768px) { .blog-post__title { font-size: 3.75rem; } }

/* =====================================================================
   ABOUT + BRANDS
   ===================================================================== */
.about-section { position: relative; overflow: hidden; background: var(--background); }
.about-section__inner { padding-block: 5rem; }
@media (min-width: 768px) { .about-section__inner { padding-block: 7rem; } }
.about-section__intro { max-width: 48rem; margin: 0 auto 3.5rem; text-align: center; }
@media (min-width: 768px) { .about-section__intro { margin-bottom: 5rem; } }
.about-section__intro-rule { display: flex; align-items: center; justify-content: center; gap: 0.75rem; margin-bottom: 1.25rem; }
.rule-line { height: 1px; width: 2.5rem; background: var(--primary); display: inline-block; }
.rule-line--short { width: 2rem; background: var(--border); }
.rule-line--light { background: rgba(255,255,255,0.7); width: 2rem; }
.about-section__paragraph { font-size: 1rem; color: color-mix(in srgb, var(--foreground) 75%, transparent); line-height: 1.7; }
@media (min-width: 768px) { .about-section__paragraph { font-size: 1.125rem; } }

.brand-grid { display: grid; grid-template-columns: 1fr; gap: 1.5rem; max-width: 64rem; margin: 0 auto; }
@media (min-width: 768px) { .brand-grid { grid-template-columns: 1fr 1fr; gap: 2rem; } }
.brand-card {
	display: flex; flex-direction: row;
	border: 1px solid var(--border); border-radius: 1rem; overflow: hidden;
	background: var(--card); box-shadow: var(--shadow-soft);
	transition: transform 0.5s var(--ease-smooth), box-shadow 0.5s var(--ease-smooth);
}
.brand-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-elevated); }
.brand-card__logo-panel {
	position: relative; width: 40%; flex-shrink: 0; background: #000;
	display: flex; align-items: center; justify-content: center; padding: 1.25rem;
}
.brand-card__logo-panel img {
	max-width: 100%; max-height: 100%; object-fit: contain;
	filter: drop-shadow(0 10px 30px rgba(0,0,0,0.5));
	transition: transform 0.7s var(--ease-smooth);
}
.brand-card:hover .brand-card__logo-panel img { transform: scale(1.04); }
.brand-card__content { padding: 1.25rem; flex: 1; display: flex; flex-direction: column; justify-content: center; min-width: 0; }
@media (min-width: 768px) { .brand-card__content { padding: 1.5rem; } }
.brand-card__chip {
	align-self: flex-start; display: inline-flex; align-items: center; gap: 0.375rem;
	font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.24em;
	padding: 0.25rem 0.625rem; border-radius: 999px; border: 1px solid color-mix(in srgb, var(--accent) 40%, transparent);
	background: color-mix(in srgb, var(--accent) 15%, transparent); color: var(--accent); margin-bottom: 0.75rem;
}
.brand-card__chip .theme-icon { width: 12px; height: 12px; }
.brand-card__name { font-size: 1.25rem; line-height: 1.2; margin-bottom: 0.5rem; }
@media (min-width: 768px) { .brand-card__name { font-size: 1.5rem; } }
.brand-card__tagline { font-family: var(--font-serif); font-style: italic; color: var(--primary); font-size: 0.9375rem; margin-bottom: 0.75rem; }
@media (min-width: 768px) { .brand-card__tagline { font-size: 1rem; } }
.brand-card__description { font-size: 0.875rem; color: color-mix(in srgb, var(--foreground) 75%, transparent); line-height: 1.7; }

.about-section__united {
	margin-top: 3.5rem; display: flex; flex-wrap: wrap; align-items: center; justify-content: center;
	gap: 0.5rem 1rem; text-align: center;
}
@media (min-width: 768px) { .about-section__united { margin-top: 4rem; } }
.united-label { font-size: 11px; text-transform: uppercase; letter-spacing: 0.3em; color: var(--muted-foreground); }
.united-tagline { font-family: var(--font-display); font-size: 1.125rem; color: color-mix(in srgb, var(--foreground) 85%, transparent); }
@media (min-width: 768px) { .united-tagline { font-size: 1.25rem; } }

/* =====================================================================
   FOUNDER
   ===================================================================== */
.founder-section { background: color-mix(in srgb, var(--secondary) 40%, transparent); }
.founder-section__inner { padding-block: 5rem; display: grid; grid-template-columns: 1fr; gap: 3rem; align-items: stretch; }
@media (min-width: 768px) { .founder-section__inner { padding-block: 7rem; } }
@media (min-width: 1024px) { .founder-section__inner { grid-template-columns: 1fr 1fr; } }
.founder-section__photo { position: relative; min-height: 420px; border-radius: 1rem; overflow: hidden; box-shadow: var(--shadow-elevated); outline: 2px solid color-mix(in srgb, var(--accent) 30%, transparent); }
@media (min-width: 1024px) { .founder-section__photo { min-height: 0; } }
.founder-eyebrow-row { display: flex; align-items: center; gap: 0.75rem; margin-bottom: 1.25rem; }
.founder-eyebrow-row .theme-icon { width: 16px; height: 16px; color: var(--accent); flex-shrink: 0; }
.founder-section__paragraph { font-size: 1rem; line-height: 1.7; margin-bottom: 1rem; color: color-mix(in srgb, var(--foreground) 80%, transparent); }
.founder-section__paragraph--muted { color: color-mix(in srgb, var(--foreground) 70%, transparent); font-size: 0.9375rem; }

/* =====================================================================
   SHOP
   ===================================================================== */
.shop-section { padding-block: 5rem; }
@media (min-width: 768px) { .shop-section { padding-block: 7rem; } }
.shop-section__intro { text-align: center; margin-bottom: 3.5rem; }
.shop-section__subtitle { max-width: 36rem; margin: 0 auto 2.5rem; color: color-mix(in srgb, var(--foreground) 70%, transparent); }
.shop-category-tabs { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.5rem; }
.shop-category-tab {
	padding: 0.625rem 1.25rem; font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.18em;
	font-weight: 600; border-radius: var(--btn-radius); border: 1px solid var(--border);
	background: transparent; color: color-mix(in srgb, var(--foreground) 70%, transparent);
	transition: all 0.3s var(--ease-smooth);
}
.shop-category-tab:hover { border-color: var(--primary); color: var(--primary); }
.shop-category-tab.is-active { background: var(--primary); color: var(--primary-foreground); border-color: var(--primary); box-shadow: var(--shadow-soft); }

.theme-product-grid {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: 1.5rem;
	align-items: stretch;
}
@media (min-width: 768px) { .theme-product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2rem; } }
@media (min-width: 1024px) { .theme-product-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.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)); } }

.theme-product-card-wrap { display: flex; flex-direction: column; height: 100%; }
.theme-product-card { display: flex; flex-direction: column; height: 100%; }
.theme-product-card__image-wrapper {
	position: relative; aspect-ratio: 1 / 1; background: var(--secondary);
	margin-bottom: 1rem; overflow: hidden;
}
.theme-product-card-img { transition: transform 0.6s var(--ease-reveal); }
.theme-product-card:hover .theme-product-card-img { transform: scale(1.08); }
.theme-product-card-img.is-sold-out { opacity: 0.6; }
.theme-product-card__badge {
	position: absolute; top: 0.5rem; left: 0.5rem; z-index: 2;
	padding: 0.375rem 0.75rem; font-size: 0.75rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.05em;
	background: var(--foreground); color: var(--background);
}
@media (min-width: 768px) { .theme-product-card__badge { top: 0.75rem; left: 0.75rem; } }
.theme-product-card__info { flex: 1; display: flex; flex-direction: column; gap: 0.25rem; }
.theme-product-card__title {
	font-family: var(--font-body); font-size: 0.875rem; font-weight: 500;
	transition: color 0.3s var(--ease-smooth);
}
.theme-product-card:hover .theme-product-card__title { color: var(--primary); }
.theme-product-card__price { font-size: 0.875rem; font-weight: 600; color: var(--muted-foreground); }
.theme-product-card__price .woocommerce-Price-amount { color: inherit; }

.shop-section__load-more { text-align: center; margin-top: 3rem; }
.shop-section__empty { text-align: center; padding: 4rem 0; border: 1px dashed var(--border); border-radius: var(--btn-radius); color: var(--muted-foreground); margin-top: 2rem; }

/* =====================================================================
   SERVICES
   ===================================================================== */
.services-section { background: color-mix(in srgb, var(--secondary) 40%, transparent); }
.services-section__inner { padding-block: 5rem; }
@media (min-width: 768px) { .services-section__inner { padding-block: 7rem; } }
.section-intro { text-align: center; margin-bottom: 3.5rem; }
.section-intro__subtitle { max-width: 36rem; margin: 0 auto; color: color-mix(in srgb, var(--foreground) 70%, transparent); }
.services-grid { display: grid; grid-template-columns: 1fr; gap: 1.25rem; }
@media (min-width: 640px) { .services-grid { grid-template-columns: repeat(2, minmax(0,1fr)); } }
@media (min-width: 1024px) { .services-grid { grid-template-columns: repeat(4, minmax(0,1fr)); } }
.service-card {
	background: var(--card); border: 1px solid var(--border); border-radius: var(--card-radius);
	display: flex; flex-direction: column; overflow: hidden;
	transition: box-shadow 0.5s var(--ease-smooth), transform 0.5s var(--ease-smooth);
}
.service-card:hover { box-shadow: var(--shadow-elevated); transform: translateY(-4px); }
.service-card__image-wrap { position: relative; aspect-ratio: 4/3; overflow: hidden; }
.service-card__image-wrap img { transition: transform 0.5s var(--ease-smooth); }
.service-card:hover .service-card__image-wrap img { transform: scale(1.05); }
.service-card__image-wrap::after {
	content: ''; position: absolute; inset: 0;
	background: linear-gradient(to top, rgba(38,23,28,0.5), rgba(38,23,28,0.1) 60%, transparent);
}
.service-card__icon-badge {
	position: absolute; bottom: 0.75rem; left: 0.75rem; z-index: 2;
	width: 44px; height: 44px; border-radius: var(--btn-radius);
	background: color-mix(in srgb, var(--card) 95%, transparent); backdrop-filter: blur(6px);
	display: flex; align-items: center; justify-content: center; box-shadow: var(--shadow-soft);
	color: var(--accent);
}
.service-card__body { padding: 1.5rem; display: flex; flex-direction: column; flex: 1; }
.service-card__title { font-size: 1.25rem; margin-bottom: 0.5rem; }
.service-card__desc { font-size: 0.875rem; line-height: 1.7; color: color-mix(in srgb, var(--foreground) 70%, transparent); flex: 1; }
.service-card__inquire {
	margin-top: 1.25rem; font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.2em; font-weight: 600;
	color: var(--accent); display: inline-flex; align-items: center; gap: 0.25rem; align-self: flex-start;
}
.service-card__inquire:hover { color: var(--primary); }

/* =====================================================================
   RESOURCES / EDUCATIONAL HUB
   ===================================================================== */
.resources-section { background: var(--background); }
.resources-section__inner { padding-block: 5rem; }
@media (min-width: 768px) { .resources-section__inner { padding-block: 7rem; } }
.resource-type-tabs { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.5rem; margin-bottom: 2.5rem; }
.resource-type-tab {
	padding: 0.5rem 1rem; border-radius: 999px; font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.16em;
	font-weight: 600; border: 1px solid var(--border); color: color-mix(in srgb, var(--foreground) 70%, transparent);
	transition: all 0.3s var(--ease-smooth);
}
.resource-type-tab:hover { border-color: color-mix(in srgb, var(--accent) 50%, transparent); color: var(--accent); }
.resource-type-tab.is-active { background: var(--accent); color: var(--accent-foreground); border-color: var(--accent); box-shadow: var(--shadow-soft); }

.resource-grid { display: grid; grid-template-columns: 1fr; gap: 1.5rem; }
@media (min-width: 640px) { .resource-grid { grid-template-columns: repeat(2, minmax(0,1fr)); } }
@media (min-width: 1024px) { .resource-grid { grid-template-columns: repeat(3, minmax(0,1fr)); } }

.resource-card {
	display: flex; flex-direction: column; height: 100%; width: 100%; text-align: left;
	background: var(--card); border: 1px solid var(--border); border-radius: var(--card-radius); overflow: hidden;
	box-shadow: var(--shadow-soft);
	transition: box-shadow 0.3s var(--ease-smooth), transform 0.3s var(--ease-smooth), outline-color 0.3s;
	outline: 2px solid transparent; outline-offset: -2px;
}
.resource-card:hover { outline-color: color-mix(in srgb, var(--accent) 40%, transparent); transform: translateY(-4px); }
.resource-card__image-wrap { position: relative; aspect-ratio: 4/3; overflow: hidden; }
.resource-card__image-wrap img { transition: transform 0.5s var(--ease-smooth); }
.resource-card:hover .resource-card__image-wrap img { transform: scale(1.05); }
.resource-card__play-badge {
	position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
	background: rgba(38,23,28,0.2); transition: background 0.3s;
}
.resource-card:hover .resource-card__play-badge { background: rgba(38,23,28,0.3); }
.resource-card__play-badge .theme-icon {
	width: 56px; height: 56px; border-radius: 999px; background: rgba(255,255,255,0.95);
	display: flex; align-items: center; justify-content: center; box-shadow: var(--shadow-elevated);
	padding: 18px; color: var(--foreground);
}
.resource-card__type-chip {
	position: absolute; top: 0.75rem; left: 0.75rem; z-index: 2;
	display: inline-flex; align-items: center; gap: 0.375rem;
	font-size: 10px; text-transform: uppercase; letter-spacing: 0.2em; font-weight: 600;
	border: 1px solid; border-radius: 999px; padding: 0.25rem 0.625rem; box-shadow: var(--shadow-soft);
}
.resource-card__type-chip--article { background: var(--primary); color: var(--primary-foreground); border-color: var(--primary); }
.resource-card__type-chip--video { background: var(--accent); color: var(--accent-foreground); border-color: var(--accent); }
.resource-card__type-chip--download { background: var(--foreground); color: var(--background); border-color: var(--foreground); }
.resource-card__body { padding: 1.5rem; display: flex; flex-direction: column; flex: 1; gap: 0.5rem; }
.resource-card__meta { font-size: 10px; text-transform: uppercase; letter-spacing: 0.25em; color: color-mix(in srgb, var(--foreground) 50%, transparent); }
.resource-card__title { font-family: var(--font-display); font-size: 1.25rem; transition: color 0.3s; }
.resource-card:hover .resource-card__title { color: var(--accent); }
.resource-card__excerpt { font-size: 0.875rem; color: color-mix(in srgb, var(--foreground) 70%, transparent); flex: 1; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.resource-card__cta { margin-top: 0.5rem; display: inline-flex; align-items: center; gap: 0.375rem; font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.16em; font-weight: 600; color: var(--accent); }

/* =====================================================================
   FAQ
   ===================================================================== */
.faq-section { background: color-mix(in srgb, var(--secondary) 40%, transparent); }
.faq-section__inner { padding-block: 5rem; max-width: 48rem; margin: 0 auto; }
@media (min-width: 768px) { .faq-section__inner { padding-block: 7rem; } }
.faq-section__intro { text-align: center; margin-bottom: 3rem; }
.faq-list { display: flex; flex-direction: column; gap: 0.75rem; }
.faq-item { border: 1px solid var(--border); border-radius: var(--btn-radius); background: var(--card); overflow: hidden; }
.faq-item__question {
	width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 1rem;
	text-align: left; padding: 1.25rem 1.5rem; transition: background-color 0.2s;
}
.faq-item__question:hover { background: color-mix(in srgb, var(--secondary) 60%, transparent); }
.faq-item__question span:first-child { font-family: var(--font-display); font-size: 1rem; }
@media (min-width: 768px) { .faq-item__question span:first-child { font-size: 1.125rem; } }
.faq-item__icon { color: var(--accent); flex-shrink: 0; transition: transform 0.3s var(--ease-reveal); display: inline-flex; }
.faq-item__question[aria-expanded="true"] .faq-item__icon { transform: rotate(45deg); }
.faq-item__answer { height: 0; opacity: 0; overflow: hidden; transition: height 0.3s var(--ease-reveal), opacity 0.3s var(--ease-reveal); }
.faq-item__answer p { padding: 0 1.5rem 1.25rem; font-size: 0.9375rem; color: color-mix(in srgb, var(--foreground) 75%, transparent); line-height: 1.7; }

/* =====================================================================
   CONTACT
   ===================================================================== */
.contact-section { position: relative; overflow: hidden; }
.contact-section__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.contact-section__overlay { position: absolute; inset: 0; background: linear-gradient(to bottom, rgba(0,0,0,0.7), rgba(0,0,0,0.6) 50%, rgba(0,0,0,0.75)); }
.contact-section__inner { position: relative; z-index: 10; padding-block: 6rem; }
@media (min-width: 768px) { .contact-section__inner { padding-block: 8rem; } }
.contact-section__intro { max-width: 48rem; margin: 0 auto; text-align: center; }
.contact-section__eyebrow { display: inline-flex; align-items: center; gap: 0.75rem; font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.4em; color: #fff; font-weight: 700; }
.contact-section__subtitle { color: rgba(255,255,255,0.85); font-size: 1.125rem; max-width: 36rem; margin: 0 auto 3rem; }
.contact-cta-btn {
	position: relative; display: inline-flex; align-items: center; gap: 1rem;
	background: var(--primary); color: var(--primary-foreground);
	padding: 1.25rem 2.5rem; border-radius: var(--btn-radius); text-transform: uppercase; letter-spacing: 0.22em;
	font-weight: 700; font-size: 0.875rem; overflow: hidden; box-shadow: var(--shadow-elevated);
	transition: transform 0.2s var(--ease-smooth);
}
.contact-cta-btn:hover { transform: scale(1.04); }
.contact-cta-btn:active { transform: scale(0.97); }
.contact-cta-btn__hover { position: absolute; inset: 0; background: var(--accent); transform: translateY(100%); transition: transform 0.5s var(--ease-smooth); }
.contact-cta-btn:hover .contact-cta-btn__hover { transform: translateY(0); }
.contact-cta-btn__content { position: relative; display: flex; align-items: center; gap: 1rem; }
.contact-section__footer-row { margin-top: 3.5rem; padding-top: 2rem; border-top: 1px solid rgba(255,255,255,0.25); display: flex; justify-content: center; }
.contact-mailto-link { display: flex; align-items: center; gap: 0.5rem; color: rgba(255,255,255,0.85); font-size: 0.9375rem; transition: color 0.2s; }
.contact-mailto-link:hover { color: var(--primary); }

/* Contact modal */
.theme-contact-modal { position: fixed; inset: 0; z-index: 60; display: none; align-items: center; justify-content: center; padding: 1rem; overflow: hidden; }
.theme-contact-modal.is-open { display: flex; }
.theme-contact-modal__overlay {
	position: absolute; inset: 0; background: color-mix(in srgb, var(--foreground) 40%, transparent);
	backdrop-filter: blur(8px); opacity: 0; animation: theme-fade-in 0.3s forwards;
}
.theme-contact-modal.is-closing .theme-contact-modal__overlay { animation: none; opacity: 0; transition: opacity 0.3s; }
.theme-contact-modal__panel {
	position: relative; width: 100%; max-width: 36rem; overflow: hidden;
	background: var(--card); border-radius: var(--card-radius); border: 1px solid var(--border);
	box-shadow: var(--shadow-elevated); padding: 2rem;
	animation: theme-modal-in 0.4s var(--ease-reveal) forwards;
}
@media (min-width: 768px) { .theme-contact-modal__panel { padding: 2.5rem; } }
.theme-contact-modal.is-closing .theme-contact-modal__panel { animation: theme-modal-out 0.4s var(--ease-reveal) forwards; }
.theme-contact-modal__blob { position: absolute; width: 15rem; height: 15rem; border-radius: 999px; filter: blur(64px); pointer-events: none; }
.theme-contact-modal__blob--1 { top: -5rem; right: -5rem; background: color-mix(in srgb, var(--primary) 20%, transparent); }
.theme-contact-modal__blob--2 { bottom: -5rem; left: -5rem; background: color-mix(in srgb, var(--accent) 15%, transparent); }
.theme-contact-modal__close {
	position: absolute; top: 1rem; right: 1rem; z-index: 10; width: 36px; height: 36px; border-radius: var(--btn-radius);
	display: flex; align-items: center; justify-content: center; color: color-mix(in srgb, var(--foreground) 60%, transparent);
	transition: all 0.2s;
}
.theme-contact-modal__close:hover { color: var(--foreground); background: var(--secondary); }
.theme-contact-modal__body { position: relative; }
.theme-contact-modal__eyebrow { font-size: 10px; text-transform: uppercase; letter-spacing: 0.3em; color: var(--primary); font-weight: 700; }
.theme-contact-modal__title { font-size: 1.75rem; margin: 0.5rem 0 1.25rem; line-height: 1.1; }
@media (min-width: 768px) { .theme-contact-modal__title { font-size: 2.25rem; margin-bottom: 1.5rem; } }
.theme-contact-form { display: flex; flex-direction: column; gap: 1rem; }
.theme-contact-form__row { display: grid; grid-template-columns: 1fr; gap: 1rem; }
@media (min-width: 768px) { .theme-contact-form__row { grid-template-columns: 1fr 1fr; } }
.theme-contact-form__field { display: flex; flex-direction: column; }
.theme-contact-form label { font-size: 10px; text-transform: uppercase; letter-spacing: 0.25em; font-weight: 700; margin-bottom: 0.5rem; color: color-mix(in srgb, var(--foreground) 70%, transparent); }
.theme-contact-form input, .theme-contact-form textarea {
	width: 100%; padding: 0.75rem 1rem; background: color-mix(in srgb, var(--secondary) 50%, transparent);
	border: 1px solid var(--border); border-radius: var(--btn-radius); font-size: 0.875rem; color: var(--foreground);
	transition: all 0.3s var(--ease-smooth);
}
.theme-contact-form input::placeholder, .theme-contact-form textarea::placeholder { color: var(--muted-foreground); }
.theme-contact-form input:focus, .theme-contact-form textarea:focus {
	outline: none; border-color: var(--primary); background: var(--card);
}
.theme-contact-form textarea { resize: none; }
.theme-contact-form__submit { width: 100%; text-transform: uppercase; letter-spacing: 0.2em; font-weight: 700; }
.theme-contact-form__success { text-align: center; padding: 2.5rem 0; }
.theme-contact-form__success-icon {
	width: 64px; height: 64px; border-radius: 999px; background: var(--primary); color: var(--primary-foreground);
	display: flex; align-items: center; justify-content: center; margin: 0 auto 1.5rem;
	animation: theme-check-pop 0.5s var(--ease-reveal) 0.15s both;
}
.theme-contact-form__success h3 { font-size: 1.75rem; margin-bottom: 0.5rem; }

/* =====================================================================
   FOOTER
   ===================================================================== */
.site-footer { border-top: 1px solid var(--border); background: color-mix(in srgb, var(--secondary) 50%, transparent); }
.site-footer__inner { padding-block: 3.5rem; }
.site-footer__grid { display: grid; grid-template-columns: 1fr; gap: 2.5rem; }
@media (min-width: 768px) { .site-footer__grid { grid-template-columns: repeat(3, 1fr); gap: 2.5rem; } }
.site-footer__tagline { margin-top: 1rem; font-size: 0.875rem; color: var(--muted-foreground); max-width: 24rem; line-height: 1.7; }
.site-footer__italic { margin-top: 0.75rem; font-family: var(--font-serif); font-style: italic; color: var(--primary); font-size: 1rem; }
.site-footer__social { margin-top: 1.25rem; display: flex; align-items: center; gap: 0.75rem; }
.site-footer__social-link {
	width: 36px; height: 36px; border-radius: var(--btn-radius); display: flex; align-items: center; justify-content: center;
	border: 1px solid var(--border); color: var(--muted-foreground); transition: all 0.2s;
}
.site-footer__social-link:hover { color: var(--primary); border-color: var(--primary); }
.site-footer__col-title { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.25em; margin-bottom: 1rem; color: var(--primary); }
.theme-footer-nav-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.2s; }
.theme-footer-nav-list a:hover { color: var(--primary); }
.site-footer__contact-list li { display: flex; align-items: center; gap: 0.5rem; font-size: 0.875rem; color: var(--muted-foreground); }
.site-footer__contact-list a { word-break: break-all; }
.site-footer__contact-list a:hover { color: var(--primary); }
.site-footer__note { margin-top: 1.5rem; font-size: 0.75rem; color: var(--muted-foreground); line-height: 1.7; }
.site-footer__bottom { margin-top: 2.5rem; padding-top: 1.5rem; border-top: 1px solid var(--border); display: flex; flex-direction: column; align-items: center; gap: 0.75rem; }
@media (min-width: 640px) { .site-footer__bottom { flex-direction: row; justify-content: space-between; } }
.site-footer__copyright, .site-footer__credit { font-size: 0.75rem; color: var(--muted-foreground); }
.site-footer__credit a { color: var(--primary); }
.site-footer__credit a:hover { text-decoration: underline; }

/* =====================================================================
   404
   ===================================================================== */
.theme-404__inner { text-align: center; padding-block: 8rem; }
.theme-404__title { font-size: 2.5rem; margin-bottom: 1rem; }
.theme-404__text { color: var(--muted-foreground); margin-bottom: 1.5rem; }
.theme-404__link { color: var(--primary); text-decoration: underline; }

/* =====================================================================
   BLOG POST
   ===================================================================== */
body.theme-no-hero .site-main.blog-post { padding-top: 7rem; }
@media (min-width: 768px) { body.theme-no-hero .site-main.blog-post { padding-top: 8rem; } }
body.admin-bar.theme-no-hero .site-main.blog-post { padding-top: calc(7rem + var(--admin-bar-height)); }
@media (min-width: 768px) { body.admin-bar.theme-no-hero .site-main.blog-post { padding-top: calc(8rem + var(--admin-bar-height)); } }
.blog-post__container { max-width: 48rem; padding-bottom: 4rem; }
.blog-post__back { display: inline-flex; align-items: center; gap: 0.5rem; font-size: 0.875rem; text-transform: uppercase; letter-spacing: 0.16em; color: color-mix(in srgb, var(--foreground) 60%, transparent); }
.blog-post__back:hover { color: var(--accent); }
.blog-post__meta-row { margin-top: 2rem; display: flex; flex-wrap: wrap; align-items: center; gap: 0.75rem; }
.blog-post__type-chip { display: inline-block; font-size: 10px; text-transform: uppercase; letter-spacing: 0.3em; font-weight: 600; background: color-mix(in srgb, var(--primary) 10%, transparent); color: var(--primary); border: 1px solid color-mix(in srgb, var(--primary) 30%, transparent); border-radius: 999px; padding: 0.25rem 0.75rem; }
.blog-post__category { font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.2em; color: color-mix(in srgb, var(--foreground) 50%, transparent); }
.blog-post__title { margin-top: 1rem; }
.blog-post__excerpt { font-family: var(--font-serif); font-style: italic; font-size: 1.25rem; color: color-mix(in srgb, var(--foreground) 70%, transparent); margin-top: 1rem; }
@media (min-width: 768px) { .blog-post__excerpt { font-size: 1.5rem; } }
.blog-post__author-row { margin-top: 2rem; display: flex; flex-wrap: wrap; align-items: center; gap: 1rem; padding-bottom: 2rem; border-bottom: 1px solid var(--border); }
.blog-post__author-photo { width: 44px; height: 44px; border-radius: 999px; object-fit: cover; }
.blog-post__author-info { flex: 1; min-width: 0; }
.blog-post__author-name { font-size: 0.875rem; font-weight: 600; }
.blog-post__author-role { font-size: 0.75rem; color: color-mix(in srgb, var(--foreground) 60%, transparent); }
.blog-post__meta-icons { display: flex; gap: 1rem; font-size: 0.75rem; color: color-mix(in srgb, var(--foreground) 60%, transparent); }
.blog-post__meta-icons span { display: inline-flex; align-items: center; gap: 0.375rem; }
.blog-post__cover { margin-top: 2.5rem; border-radius: var(--card-radius); overflow: hidden; box-shadow: var(--shadow-soft); aspect-ratio: 16/9; position: relative; }
.blog-post__body { margin-top: 3rem; display: flex; flex-direction: column; gap: 1.5rem; }
.blog-post__body h2 { font-size: 1.5rem; margin-top: 2rem; }
@media (min-width: 768px) { .blog-post__body h2 { font-size: 1.875rem; } }
.blog-post__body p { font-size: 1rem; line-height: 1.8; color: color-mix(in srgb, var(--foreground) 80%, transparent); }
@media (min-width: 768px) { .blog-post__body p { font-size: 1.125rem; } }
.blog-post__body blockquote { border-left: 4px solid var(--accent); padding: 0.5rem 0 0.5rem 1.5rem; font-family: var(--font-serif); font-style: italic; font-size: 1.25rem; color: color-mix(in srgb, var(--foreground) 80%, transparent); }
.blog-related { background: color-mix(in srgb, var(--secondary) 40%, transparent); border-top: 1px solid var(--border); }
.blog-related__inner { max-width: 64rem; padding-block: 4rem; }
.blog-related__header { display: flex; align-items: flex-end; justify-content: space-between; margin-bottom: 2rem; gap: 1rem; }
.blog-related__all-link { display: none; align-items: center; gap: 0.5rem; font-size: 0.875rem; text-transform: uppercase; letter-spacing: 0.16em; color: color-mix(in srgb, var(--foreground) 70%, transparent); }
@media (min-width: 768px) { .blog-related__all-link { display: inline-flex; } }
.blog-related__grid { display: grid; grid-template-columns: 1fr; gap: 1.5rem; }
@media (min-width: 768px) { .blog-related__grid { grid-template-columns: 1fr 1fr; } }
.blog-related__card { display: block; background: var(--card); border: 1px solid var(--border); border-radius: var(--card-radius); overflow: hidden; box-shadow: var(--shadow-soft); transition: all 0.3s; }
.blog-related__card:hover { outline: 2px solid color-mix(in srgb, var(--accent) 40%, transparent); }
.blog-related__card-image { position: relative; aspect-ratio: 4/3; display: block; overflow: hidden; }
.blog-related__card-body { padding: 1.5rem; display: block; }
.blog-related__card-category { font-size: 10px; text-transform: uppercase; letter-spacing: 0.3em; font-weight: 600; color: var(--primary); display: block; }
.blog-related__card-title { font-family: var(--font-display); font-size: 1.25rem; margin-top: 0.5rem; display: block; }
.blog-related__card-excerpt { font-size: 0.875rem; color: color-mix(in srgb, var(--foreground) 70%, transparent); margin-top: 0.5rem; display: block; }

/* =====================================================================
   PAGE / GENERIC
   ===================================================================== */
.site-main { min-height: 40vh; }
.page-content-wrap { padding-block: 4rem; }
.page-title { font-size: 2.25rem; margin-bottom: 1.5rem; }

/* =====================================================================
   SINGLE PRODUCT
   ===================================================================== */
.single-product-page { padding-bottom: 6rem; }
body.theme-no-hero .site-main.single-product-page { padding-top: 6rem; }
@media (min-width: 1024px) { body.theme-no-hero .site-main.single-product-page { padding-top: 7rem; } }
body.admin-bar.theme-no-hero .site-main.single-product-page { padding-top: calc(6rem + var(--admin-bar-height)); }
@media (min-width: 1024px) { body.admin-bar.theme-no-hero .site-main.single-product-page { padding-top: calc(7rem + var(--admin-bar-height)); } }
.single-product-page__back { padding: 1rem 0; }
.back-to-shop-link { display: inline-flex; align-items: center; gap: 0.5rem; font-size: 0.875rem; color: var(--muted-foreground); }
.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: 1024px) { .theme-product-layout { grid-template-columns: 1fr 1fr; gap: 4rem; } }
.single-product .theme-product-gallery, .single-product .theme-product-info { min-width: 0; max-width: 100%; }
.theme-product-gallery__main { aspect-ratio: 3/4; background: var(--secondary); margin-bottom: 1rem; }
.theme-product-thumbnails { display: grid; grid-template-columns: repeat(5, 1fr); gap: 0.5rem; flex-wrap: wrap; max-width: 100%; }
.theme-product-thumb { aspect-ratio: 1/1; overflow: hidden; border: 2px solid transparent; opacity: 0.6; transition: all 0.2s; position: relative; }
.theme-product-thumb.is-active, .theme-product-thumb:hover { opacity: 1; border-color: var(--primary); }
.theme-product-thumb img { position: relative; }
.theme-product-info__cat { font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.2em; color: var(--muted-foreground); pointer-events: none; }
.product-title { font-family: var(--font-body); font-weight: 600; font-size: 1.5rem; margin-top: 0.5rem; margin-bottom: 1rem; }
@media (min-width: 768px) { .product-title { font-size: 1.875rem; } }
.theme-product-info__price { font-size: 1.5rem; font-weight: 600; color: var(--primary); margin-bottom: 1.5rem; }
.theme-stock-indicator--out { color: var(--foreground); background: color-mix(in srgb, var(--foreground) 10%, transparent); display: inline-block; padding: 0.25rem 0.75rem; border-radius: var(--btn-radius); font-size: 0.8125rem; 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-product-details { border-top: 1px solid var(--border); padding-top: 2rem; margin-top: 2rem; overflow-wrap: break-word; word-break: break-word; }
.theme-product-details h3 { font-size: 0.875rem; font-weight: 600; margin-bottom: 1rem; }
.theme-product-details__list { display: flex; flex-direction: column; gap: 0.5rem; }
.theme-product-details__list li {
	display: flex; align-items: flex-start; gap: 0.75rem;
	font-size: 0.875rem; color: var(--muted-foreground); line-height: 1.6;
}
.theme-product-details__list li::before {
	content: '';
	width: 0.375rem; height: 0.375rem; margin-top: 0.5rem; flex-shrink: 0;
	border-radius: 999px; background: var(--primary);
}

.theme-quantity-wrapper { display: inline-flex; align-items: stretch; border: 1px solid var(--border); border-radius: var(--btn-radius); }
.theme-quantity-wrapper button { padding: 0 1rem; display: flex; align-items: center; justify-content: center; transition: background-color 0.2s; }
.theme-quantity-wrapper button:hover { background: var(--secondary); }
.theme-qty-input {
	width: 3.5rem; text-align: center; border: none; border-left: 1px solid var(--border); border-right: 1px solid var(--border);
	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 .theme-add-to-cart-area { display: flex; align-items: stretch; flex-wrap: wrap; gap: 0.75rem; margin-bottom: 2rem; }
.single-product .single_add_to_cart_button { flex: 1 1 auto; min-width: 160px; }

.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: 600; font-family: var(--font-body); font-style: normal; }
.single-product .variations tbody td.value { padding-top: 0; padding-bottom: 1rem; }
.theme-attr-select-hidden { display: none !important; }
.theme-attr-pills { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.theme-attr-pill { padding: 0.5rem 1rem; border: 1px solid var(--border); font-size: 0.875rem; transition: all 0.2s; }
.theme-attr-pill:hover { border-color: color-mix(in srgb, var(--primary) 50%, transparent); }
.theme-attr-pill.is-active { border-color: var(--primary); background: color-mix(in srgb, var(--primary) 8%, transparent); }
.variations label { font-family: var(--font-body); font-weight: 600; font-style: normal; }

.related-products-section { padding-block: 5rem; border-top: 1px solid var(--border); }
.related-products-heading { font-size: 1.25rem; font-weight: 700; margin-bottom: 2.5rem; }
@media (min-width: 768px) { .related-products-heading { font-size: 1.5rem; } }

.single-product .woocommerce-product-details__short-description,
.single-product .woocommerce-variation-description,
.single-product .posted_in { overflow-wrap: break-word; word-break: break-word; }

/* =====================================================================
   WOOCOMMERCE — ADD TO CART BUTTON OVERRIDE (Section 11.4.1)
   ===================================================================== */
.single_add_to_cart_button.button,
.add_to_cart_button.button,
a.single_add_to_cart_button,
a.add_to_cart_button {
	background-color: var(--color-primary) !important;
	color: var(--color-button-text) !important;
	border: none !important;
	border-radius: var(--btn-radius) !important;
	min-height: var(--btn-height) !important;
	padding: var(--btn-padding) !important;
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;
	font-family: var(--font-body) !important;
	font-size: var(--btn-font-size) !important;
	font-weight: var(--btn-font-weight) !important;
	letter-spacing: var(--btn-letter-spacing) !important;
	text-transform: var(--btn-text-transform) !important;
	cursor: pointer !important;
	transition: opacity 0.2s ease !important;
}
.single_add_to_cart_button.button:hover,
.add_to_cart_button.button:hover {
	opacity: 0.85 !important;
	background-color: var(--color-primary) !important;
	color: var(--color-button-text) !important;
}
.single_add_to_cart_button.button:disabled,
.single_add_to_cart_button.button.disabled,
.add_to_cart_button.button:disabled,
.add_to_cart_button.button.disabled {
	cursor: not-allowed !important;
	opacity: 0.4 !important;
	pointer-events: none !important;
}
.single_add_to_cart_button.button:disabled:hover,
.single_add_to_cart_button.button.disabled:hover,
.add_to_cart_button.button:disabled:hover,
.add_to_cart_button.button.disabled:hover {
	opacity: 0.4 !important;
	background-color: var(--color-primary) !important;
}
.ajax_add_to_cart.theme-btn-loading {
	opacity: 0.6 !important;
	pointer-events: none !important;
	cursor: wait !important;
}
.single-product .single_add_to_cart_button.loading::after,
.ajax_add_to_cart.loading::after { display: none !important; }

/* Hide "View cart" injected by WooCommerce after AJAX add-to-cart */
.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; }

/* WooCommerce notices (Section 14.1) — hide only where the theme already
   provides equivalent feedback (drawer / single product). */
.single-product .woocommerce-message,
.single-product .woocommerce-info { display: none; }
#theme-cart-drawer .woocommerce-message { display: none; }
.woocommerce-message, .woocommerce-error, .woocommerce-info {
	font-family: var(--font-body); border-radius: var(--btn-radius); padding: 1rem 1.5rem; margin: 0 0 1.5rem;
	background: var(--secondary); color: var(--foreground); border-left: 4px solid var(--primary); list-style: none;
}
.woocommerce-error { border-left-color: var(--foreground); }

/* =====================================================================
   SIDE CART DRAWER
   ===================================================================== */
#theme-cart-overlay {
	position: fixed; inset: 0; z-index: 90; background: color-mix(in srgb, var(--foreground) 20%, transparent);
	opacity: 0; pointer-events: none; transition: opacity 0.3s var(--ease-smooth);
}
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: 28rem;
	background: var(--background); z-index: 91; box-shadow: var(--shadow-elevated);
	display: flex; flex-direction: column;
	transform: translateX(100%); transition: transform 0.4s var(--ease-reveal);
}
body.cart-open #theme-cart-drawer { transform: translateX(0); }
#theme-cart-drawer.is-updating { opacity: 0.6; pointer-events: none; }
.theme-cart-drawer__header { display: flex; align-items: center; justify-content: space-between; padding: 1.5rem; border-bottom: 1px solid var(--border); }
.theme-cart-drawer__title { font-size: 1.125rem; font-weight: 700; }
.theme-cart-drawer__close { padding: 0.25rem; }
.theme-cart-drawer__close:hover { opacity: 0.6; }
.theme-cart-drawer__empty { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 1.5rem; text-align: center; gap: 1rem; }
.theme-cart-drawer__empty-icon { width: 48px; height: 48px; color: var(--muted-foreground); }
.theme-cart-drawer__items { flex: 1; overflow-y: auto; padding: 1.5rem; display: flex; flex-direction: column; gap: 1.5rem; }
.theme-cart-item { display: flex; gap: 1rem; }
.theme-cart-item__image {
	position: relative; width: 80px; height: 96px; background: var(--secondary);
	overflow: hidden; flex-shrink: 0; display: block;
}
.theme-cart-item__image img,
#theme-cart-drawer .theme-cart-item__image img {
	position: absolute; inset: 0; width: 100%; height: 100%;
	max-width: none; object-fit: cover; object-position: center; display: block;
}
.theme-cart-item__info { flex: 1; min-width: 0; }
.theme-cart-item__name { font-size: 0.875rem; font-weight: 500; display: block; }
.theme-cart-item__name:hover { opacity: 0.7; }
.theme-cart-item__price { font-size: 0.875rem; color: var(--muted-foreground); margin-top: 0.125rem; }
.theme-cart-item__variation { display: flex; flex-wrap: wrap; gap: 0.5rem; 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__qty-btn { padding: 0.25rem; border-radius: var(--btn-radius); transition: background-color 0.2s; }
.theme-cart-item__qty-btn: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-drawer__subtotal-row { display: flex; justify-content: space-between; font-size: 0.875rem; }
.theme-cart-drawer__shipping-note { font-size: 0.75rem; color: var(--muted-foreground); }
.theme-cart-drawer__checkout-btn { width: 100%; }

/* =====================================================================
   WOOCOMMERCE CHECKOUT BLOCK OVERRIDE (Section 13)
   ===================================================================== */
body.woocommerce-checkout .site-main { padding-top: var(--header-height, 80px); padding-bottom: 4rem; }
body.woocommerce-checkout .page-content-wrap { max-width: 1280px; }
body.woocommerce-checkout .page-title { max-width: 1280px; margin-left: auto; margin-right: auto; }

body.woocommerce-checkout .wc-block-checkout { display: block; }
@media (min-width: 768px) {
	body.woocommerce-checkout .wc-block-components-sidebar-layout.wc-block-checkout {
		display: grid;
		grid-template-columns: 1fr 1fr;
		gap: var(--checkout-gap);
		align-items: start;
	}
	body.woocommerce-checkout .wc-block-components-sidebar-layout.wc-block-checkout > .wc-block-components-notice-banner {
		grid-column: 1 / -1;
	}
}
body.woocommerce-checkout .wc-block-checkout__main,
body.woocommerce-checkout .wc-block-checkout__sidebar { min-width: 0; width: 100%; max-width: none; }
body.woocommerce-checkout .wc-block-components-text-input input,
body.woocommerce-checkout .wc-block-components-select select { width: 100% !important; max-width: none !important; }

body.woocommerce-checkout .wc-block-checkout__sidebar {
	background-color: var(--secondary);
	border-radius: var(--card-radius);
	padding: var(--section-padding);
}
body.woocommerce-checkout .wc-block-components-text-input input,
body.woocommerce-checkout .wc-block-components-select select,
body.woocommerce-checkout .wc-block-components-textarea textarea,
body.woocommerce-checkout .woocommerce-checkout .form-row .input-text,
body.woocommerce-checkout .woocommerce-checkout .form-row select {
	font-family: var(--font-body); font-size: 0.875rem; color: var(--foreground);
	border: 1px solid var(--border); border-radius: var(--btn-radius); background-color: var(--card);
}
body.woocommerce-checkout .wc-block-components-text-input input:focus,
body.woocommerce-checkout .wc-block-components-select select:focus {
	border-color: var(--primary); outline: none;
}
body.woocommerce-checkout .wc-block-components-checkout-place-order-button {
	background-color: var(--primary) !important; color: var(--primary-foreground) !important;
	border-radius: var(--btn-radius) !important; text-transform: uppercase; letter-spacing: 0.15em; font-weight: 700;
}
body.woocommerce-checkout .wc-block-components-checkout-place-order-button:hover { opacity: 0.9; }
body.woocommerce-checkout .wc-block-components-notice-banner {
	border-radius: var(--btn-radius); font-family: var(--font-body);
}

/* =====================================================================
   THANK YOU / ORDER RECEIVED (Section 22.8)
   ===================================================================== */
body.theme-thankyou-page { overflow-x: hidden; }
body.theme-thankyou-page .woocommerce-order-details table { width: 100%; table-layout: fixed; }
body.theme-thankyou-page .woocommerce-order h2,
body.theme-thankyou-page .woocommerce-order-details__title { font-size: 1.5rem; padding: 0 0 1rem 0; }
body.theme-thankyou-page .woocommerce-order-overview { display: flex; flex-wrap: wrap; gap: 1rem; list-style: none; padding: 0; margin: 1.5rem 0; }
body.theme-thankyou-page .woocommerce-order-overview li {
	background: var(--secondary); border-radius: var(--btn-radius); padding: 0.75rem 1.25rem; font-size: 0.875rem;
}
body.theme-thankyou-page .woocommerce-order-details tfoot th { text-align: left; }
body.theme-thankyou-page .woocommerce-order-details tfoot td { text-align: right; }
body.theme-thankyou-page .woocommerce-customer-details { display: flex; flex-direction: column; gap: 1.5rem; margin-top: 2rem; }
body.theme-thankyou-page .woocommerce-customer-details address { max-width: 480px; overflow-wrap: break-word; }
@media (min-width: 768px) {
	body.theme-thankyou-page .woocommerce-customer-details { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; align-items: start; }
	body.theme-thankyou-page .woocommerce-customer-details address { min-width: 0; }
}

/* =====================================================================
   CART / ACCOUNT PAGES (Section 13.7)
   ===================================================================== */
body.woocommerce-cart .site-main,
body.woocommerce-account .site-main { padding-top: var(--header-height, 80px); padding-bottom: 4rem; }
body.woocommerce-cart .page-content-wrap,
body.woocommerce-account .page-content-wrap { max-width: 1280px; }
