/* ==========================================================================
   Bee Social Speech — theme.css
   All visual styling lives here. No WooCommerce template file contains CSS.
   ========================================================================== */

/* ---------- Design tokens (colors overridden by wp_add_inline_style) ---------- */
:root {
	--color-background: #faf8f4;
	--color-foreground: #362d39;
	--color-primary: #4d3d52;
	--color-primary-foreground: #faf8f4;
	--color-secondary: #f1ede4;
	--color-accent: #f4c025;
	--color-accent-foreground: #312735;
	--color-muted-foreground: #6a5e6e;
	--color-border: #d8d3ca;
	--color-destructive: #b82e2e;
	--color-ivory: #faf8f4;
	--color-linen: #f1ede4;
	--color-bone: #e8e3d9;
	--color-button-text: var(--color-primary-foreground);

	--font-display: 'Bodoni Moda', 'Times New Roman', serif;
	--font-body: 'Inter', system-ui, -apple-system, sans-serif;

	--radius: 0.5rem;
	--card-radius: 1rem;
	--header-height: 104px;
	--logo-height: 100px;
	--admin-bar-offset: 0px;

	--btn-radius: 999px;
	--btn-height: 44px;
	--btn-padding: 0 1.5rem;
	--btn-font-size: 15px;
	--btn-font-weight: 500;
	--btn-letter-spacing: normal;
	--btn-text-transform: none;
	--btn-icon-padding: 0;

	--shadow-soft: 0 6px 24px -12px color-mix(in srgb, var(--color-foreground) 18%, transparent);
	--shadow-elevated: 0 24px 60px -24px color-mix(in srgb, var(--color-foreground) 28%, transparent);
}

.theme-light {
	--surface-background: var(--color-background);
	--surface-foreground: var(--color-foreground);
	background-color: var(--surface-background);
	color: var(--surface-foreground);
}

.theme-dark {
	--surface-background: hsl(285 18% 14%);
	--surface-foreground: hsl(40 40% 97%);
	--dark-primary: hsl(45 90% 60%);
	background-color: var(--surface-background);
	color: var(--surface-foreground);
}

/* ---------- Reset / base ---------- */
* {
	box-sizing: border-box;
}
html, body {
	max-width: 100%;
	overflow-x: clip;
}
html {
	scroll-behavior: smooth;
}
body {
	background-color: var(--color-background);
	color: var(--color-foreground);
	font-family: var(--font-body);
	-webkit-font-smoothing: antialiased;
	margin: 0;
}

h1, h2, h3, h4, h5, h6 {
	font-family: var(--font-display);
	font-weight: 400;
	font-size: inherit;
	letter-spacing: -0.008em;
	margin: 0;
}

p {
	margin: 0;
}

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

a,
button,
[role="button"],
[type="button"],
[type="submit"],
[type="reset"],
label[for],
select,
summary,
.theme-nav-link,
.theme-cat-filter,
.theme-product-card,
.theme-card-link,
.service-card,
.btn {
	cursor: pointer;
}

a, button, [role="button"] {
	transition: color 300ms cubic-bezier(0.22, 1, 0.36, 1), background-color 300ms cubic-bezier(0.22, 1, 0.36, 1),
		border-color 300ms cubic-bezier(0.22, 1, 0.36, 1), transform 350ms cubic-bezier(0.22, 1, 0.36, 1), opacity 300ms ease;
}

/* WordPress admin bar — keep fixed header/progress below it */
body.admin-bar {
	--admin-bar-offset: 32px;
}
@media screen and (max-width: 782px) {
	body.admin-bar {
		--admin-bar-offset: 46px;
	}
}

img:not(.cover-img):not(.hero-bg-img):not(.product-card-img):not(.site-logo-img) {
	max-width: 100%;
	height: auto;
}
.cover-img, .hero-bg-img, .product-card-img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
}
img {
	transition: transform 700ms cubic-bezier(0.22, 1, 0.36, 1), filter 700ms ease;
}

.italic {
	font-style: italic;
}

section[id] {
	scroll-margin-top: 88px;
}

::selection {
	background: color-mix(in srgb, var(--color-accent) 70%, transparent);
	color: var(--color-accent-foreground);
}

@media (prefers-reduced-motion: reduce) {
	a, button, [role="button"], img { transition: none !important; transform: none !important; }
}

/* ---------- Layout helpers ---------- */
/* Mirrors Lovable: .container-wide { @apply w-full max-w-7xl mx-auto px-6 lg:px-16; } */
.container-wide {
	--container-pad-x: 1.5rem; /* Tailwind px-6 */
	width: 100%;
	max-width: 80rem; /* Tailwind max-w-7xl */
	margin-left: auto;
	margin-right: auto;
	padding-left: var(--container-pad-x);
	padding-right: var(--container-pad-x);
	box-sizing: border-box;
}
@media (min-width: 1024px) {
	.container-wide { --container-pad-x: 4rem; } /* Tailwind lg:px-16 */
}

.eyebrow {
	font-size: 13px;
	letter-spacing: 0.4em;
	text-transform: uppercase;
	color: color-mix(in srgb, var(--color-foreground) 60%, transparent);
	margin-bottom: 1rem;
	font-weight: 500;
}

.section-heading { font-weight: inherit; font-size: inherit; }

/* ---------- Buttons ---------- */
.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.5rem;
	white-space: nowrap;
	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);
	height: 48px;
	padding: 0 1.75rem;
	border: 1px solid transparent;
	cursor: pointer;
	transition: transform 150ms ease-out, box-shadow 150ms ease-out, background-color 150ms ease-out, border-color 150ms ease-out, color 150ms ease-out;
}
.btn:hover { transform: scale(1.02); box-shadow: 0 4px 12px -4px color-mix(in srgb, var(--color-foreground) 30%, transparent); }
.btn:active { transform: scale(0.97); }
.btn-primary, .btn-hero-primary {
	background-color: var(--color-primary);
	color: var(--color-primary-foreground);
	border-color: var(--color-primary);
}
.btn-primary:hover, .btn-hero-primary:hover { background-color: color-mix(in srgb, var(--color-primary) 90%, black); }
.btn-hero-primary { background-color: var(--color-accent); color: var(--color-accent-foreground); border-color: var(--color-accent); }
.btn-hero-primary:hover { background-color: color-mix(in srgb, var(--color-accent) 90%, black); }
.btn-outline {
	background-color: transparent;
	color: var(--color-foreground);
	border-color: color-mix(in srgb, var(--color-foreground) 25%, transparent);
}
.btn-outline:hover { border-color: var(--color-primary); color: var(--color-primary); }
.btn-hero-outline {
	background-color: transparent;
	color: #fff;
	border-color: color-mix(in srgb, #fff 70%, transparent);
}
.btn-hero-outline:hover { background-color: #fff; color: var(--color-primary); }
.btn-ghost { background-color: transparent; border-color: transparent; color: color-mix(in srgb, var(--color-foreground) 60%, transparent); }
.btn-ghost:hover { background-color: color-mix(in srgb, var(--color-foreground) 6%, transparent); color: var(--color-primary); }
.btn:disabled { pointer-events: none; opacity: 0.6; }

/* ---------- Reveal / animation system ---------- */
[data-aos] {
	opacity: 0;
	transform: translateY(24px);
	transition: opacity 900ms cubic-bezier(0.22, 1, 0.36, 1), transform 900ms cubic-bezier(0.22, 1, 0.36, 1);
	will-change: opacity, transform;
}
[data-aos].is-revealed { opacity: 1; transform: translateY(0); }
@media (prefers-reduced-motion: reduce) {
	[data-aos] { opacity: 1 !important; transform: none !important; transition: none !important; }
}
body.is-customizer [data-aos] { opacity: 1 !important; transform: none !important; }

@keyframes fade-in { from { opacity: 0; } to { opacity: 1; } }
.animate-fade-in { animation: fade-in 0.7s ease-out both; }

@keyframes slide-in-bottom { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }
.animate-slide-in-bottom { animation: slide-in-bottom 0.9s cubic-bezier(0.22, 1, 0.36, 1) both; }

@keyframes shimmer { 0% { background-position: -200% 0; } 100% { background-position: 200% 0; } }
.skeleton-shimmer {
	background: linear-gradient(90deg, var(--color-secondary) 0%, var(--color-linen) 50%, var(--color-secondary) 100%);
	background-size: 200% 100%;
	animation: shimmer 1.6s linear infinite;
}

@keyframes marquee-scroll { from { transform: translate3d(0, 0, 0); } to { transform: translate3d(-50%, 0, 0); } }
.marquee-track { width: max-content; animation: marquee-scroll 45s linear infinite; }
@media (prefers-reduced-motion: reduce) { .marquee-track { animation: none; } }

.hover-lift { transition: transform 400ms cubic-bezier(0.22, 1, 0.36, 1), box-shadow 400ms cubic-bezier(0.22, 1, 0.36, 1); }
.hover-lift:hover { transform: translateY(-4px); box-shadow: var(--shadow-elevated); }

/* ==========================================================================
   Scroll progress bar
   ========================================================================== */
.theme-scroll-progress {
	position: fixed;
	top: var(--admin-bar-offset);
	left: 0; right: 0;
	z-index: 60;
	height: 2px;
	pointer-events: none;
}
.theme-scroll-progress__fill {
	height: 100%;
	width: 100%;
	background: var(--color-foreground);
	transform-origin: left;
	transform: scaleX(0);
	transition: transform 150ms ease-out;
}

/* ==========================================================================
   Header
   ========================================================================== */
.site-header {
	position: fixed;
	top: var(--admin-bar-offset);
	left: 0; right: 0;
	z-index: 50;
	width: 100%;
	background-color: transparent;
	border-bottom: 1px solid transparent;
	transition: background-color 300ms ease-out, border-color 300ms ease-out, box-shadow 300ms ease-out, top 200ms ease-out;
}
.site-header.is-solid {
	background-color: color-mix(in srgb, var(--color-background) 95%, transparent);
	backdrop-filter: blur(12px);
	border-bottom-color: var(--color-border);
}
.site-header__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	height: 80px;
}
@media (min-width: 1024px) { .site-header__inner { height: var(--header-height); } }

.site-header__brand {
	display: flex;
	align-items: center;
	height: 100%;
	flex-shrink: 0;
}
.site-header__brand .site-logo-img {
	height: var(--logo-height);
	width: auto;
	object-fit: contain;
	user-select: none;
	transition: filter 300ms ease-out, transform 300ms ease-out;
}
.site-header__brand:hover .site-logo-img { transform: scale(1.04); }
.site-header:not(.is-solid) .site-logo-img { filter: brightness(0) invert(1); }
.site-header:not(.is-solid) .site-logo-text { color: #fff; }
.site-logo-text { font-family: var(--font-display); font-size: 1.5rem; color: var(--color-foreground); }

.site-header__nav-desktop { display: none; flex: 1; justify-content: center; min-width: 0; }
@media (min-width: 1024px) { .site-header__nav-desktop { display: flex; } }
.theme-nav-list { display: flex; align-items: center; gap: 0.25rem; list-style: none; margin: 0; padding: 0; }
.theme-nav-link {
	position: relative;
	display: inline-block;
	padding: 0.5rem 0.75rem;
	font-size: 14px;
	font-weight: 500;
	letter-spacing: 0.01em;
	border-radius: 4px;
	white-space: nowrap;
	color: color-mix(in srgb, var(--color-foreground) 70%, transparent);
	transition: color 300ms ease-out, transform 300ms ease-out, background-color 300ms ease-out;
}
.site-header:not(.is-solid) .theme-nav-link { color: color-mix(in srgb, #fff 85%, transparent); }
.theme-nav-link:hover { transform: translateY(-2px); color: var(--color-primary); background-color: var(--color-secondary); }
.site-header:not(.is-solid) .theme-nav-link:hover { color: #fff; background-color: color-mix(in srgb, #fff 10%, transparent); }

.site-header__actions { display: flex; align-items: center; gap: 0.25rem; flex-shrink: 0; }
.theme-cart-toggle, .theme-mobile-toggle {
	position: relative;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 40px; height: 40px;
	border-radius: 6px;
	border: none;
	background: transparent;
	color: var(--color-foreground);
	cursor: pointer;
	transition: transform 300ms ease-out, background-color 300ms ease-out;
}
.site-header:not(.is-solid) .theme-cart-toggle,
.site-header:not(.is-solid) .theme-mobile-toggle { color: #fff; }
.theme-cart-toggle:hover, .theme-mobile-toggle:hover { transform: scale(1.1); background-color: var(--color-secondary); }
.site-header:not(.is-solid) .theme-cart-toggle:hover,
.site-header:not(.is-solid) .theme-mobile-toggle:hover { background-color: color-mix(in srgb, #fff 10%, transparent); }
.theme-cart-count {
	position: absolute;
	top: -2px; right: -2px;
	min-width: 18px; height: 18px;
	padding: 0 4px;
	border-radius: 999px;
	background: var(--color-accent);
	color: var(--color-accent-foreground);
	font-size: 11px;
	font-weight: 500;
	display: flex;
	align-items: center;
	justify-content: center;
}
.theme-cart-count:empty { display: none; }
.theme-mobile-toggle { display: inline-flex; }
@media (min-width: 1024px) { .theme-mobile-toggle { display: none; } }
.theme-icon-close { display: none; }
body.mobile-menu-open .theme-icon-menu { display: none; }
body.mobile-menu-open .theme-icon-close { display: block; }

.site-header__nav-mobile {
	display: none;
	border-top: 1px solid var(--color-border);
	background-color: var(--color-background);
}
.site-header__nav-mobile.is-open { display: block; animation: fade-in 300ms ease-out both; }
@media (min-width: 1024px) { .site-header__nav-mobile { display: none !important; } }
.site-header__nav-mobile-inner { padding: 0.25rem 0; }
.theme-nav-list-mobile,
.site-header__nav-mobile .theme-nav-list {
	list-style: none;
	margin: 0;
	padding: 0.5rem 1.5rem;
	display: flex;
	flex-direction: column;
	align-items: stretch;
	gap: 0;
}
.theme-nav-list-mobile li,
.site-header__nav-mobile .theme-nav-list li {
	border-bottom: 1px solid var(--color-border);
	width: 100%;
}
.theme-nav-list-mobile li:last-child,
.site-header__nav-mobile .theme-nav-list li:last-child { border-bottom: none; }
.theme-nav-list-mobile a,
.site-header__nav-mobile .theme-nav-list a {
	display: block;
	width: 100%;
	padding: 0.875rem 0;
	font-size: 15px;
	font-weight: 500;
	color: color-mix(in srgb, var(--color-foreground) 85%, transparent);
	background: transparent;
	border-radius: 0;
	white-space: normal;
	transition: color 300ms ease-out, transform 300ms ease-out;
}
.theme-nav-list-mobile a:hover,
.site-header__nav-mobile .theme-nav-list a:hover {
	color: var(--color-primary);
	transform: translateX(4px);
	background: transparent;
}

/* ==========================================================================
   Hero
   ========================================================================== */
.hero-section {
	position: relative;
	min-height: 100vh;
	width: 100%;
	display: flex;
	align-items: center;
	justify-content: center;
	overflow: hidden;
}
.hero-section__video { z-index: 0; }
.hero-section__scrim {
	position: absolute; inset: 0;
	background: linear-gradient(180deg, rgba(0,0,0,0.32) 0%, rgba(0,0,0,0.38) 55%, rgba(0,0,0,0.5) 100%);
	pointer-events: none;
}
.hero-section__content {
	position: relative;
	z-index: 10;
	text-align: center;
	/* Vertical only — keep .container-wide horizontal padding (Lovable: pt-32 pb-24 / lg:pt-40 lg:pb-32) */
	padding-top: 8rem;
	padding-bottom: 6rem;
}
@media (min-width: 1024px) {
	.hero-section__content {
		padding-top: 10rem;
		padding-bottom: 8rem;
	}
}
.hero-section__badge-row { display: flex; justify-content: center; margin-bottom: 2rem; }
.hero-section__badge {
	display: inline-flex; align-items: center; gap: 0.5rem;
	padding: 0.4rem 1rem;
	border-radius: 999px;
	background: color-mix(in srgb, #fff 10%, transparent);
	border: 1px solid color-mix(in srgb, #fff 25%, transparent);
	font-size: 13px; letter-spacing: 0.32em; text-transform: uppercase;
	color: color-mix(in srgb, #fff 90%, transparent);
	font-weight: 500;
	backdrop-filter: blur(4px);
}
.hero-section__heading {
	color: #fff;
	line-height: 1.02;
	letter-spacing: -0.015em;
	margin: 0 auto;
	max-width: 64rem;
	font-size: clamp(2.4rem, 7.2vw, 5.8rem);
	filter: drop-shadow(0 2px 20px rgba(0,0,0,0.45));
}
.hero-section__heading-italic { font-style: italic; color: var(--color-accent); }
.hero-section__subtext {
	margin: 2rem auto 0;
	max-width: 42rem;
	font-size: 16px;
	color: color-mix(in srgb, #fff 90%, transparent);
	line-height: 1.7;
}
@media (min-width: 640px) { .hero-section__subtext { font-size: 18px; } }
.hero-section__actions {
	margin-top: 2.5rem;
	display: flex; flex-direction: column; gap: 0.75rem;
	justify-content: center;
}
@media (min-width: 640px) { .hero-section__actions { flex-direction: row; gap: 1rem; } }

/* ==========================================================================
   About
   ========================================================================== */
.about-section, .services-section, .shop-section, .owner-section, .blog-section, .subscribe-section, .contact-section {
	padding: 6rem 0;
}
@media (min-width: 768px) { .about-section, .services-section, .shop-section, .owner-section, .blog-section, .subscribe-section, .contact-section { padding: 8rem 0; } }

.about-section__grid { display: grid; grid-template-columns: 1fr; gap: 3rem; align-items: start; }
@media (min-width: 1024px) { .about-section__grid { grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 5rem; } }
/* Do not span 12 on mobile — with 1 column that creates implicit tracks and overflows (Lovable uses lg:col-span-*). */
.about-section__left,
.about-section__right { grid-column: auto; min-width: 0; max-width: 100%; }
@media (min-width: 1024px) { .about-section__left { grid-column: span 5 / span 5; } }
@media (min-width: 1024px) { .about-section__right { grid-column: span 7 / span 7; padding-left: 2.5rem; } }

.about-section__heading { font-size: 2.25rem; line-height: 1.05; color: var(--color-foreground); overflow-wrap: break-word; }
@media (min-width: 768px) { .about-section__heading { font-size: 3rem; } }
@media (min-width: 1024px) { .about-section__heading { font-size: 3.6rem; } }
.about-section__subtext { margin-top: 1.25rem; font-size: 15px; color: color-mix(in srgb, var(--color-foreground) 70%, transparent); line-height: 1.7; max-width: 24rem; }

.about-section__quote-block { margin-top: 3rem; padding-top: 2rem; min-width: 0; }
.about-section__quote { font-family: var(--font-display); font-style: italic; font-size: 1.5rem; line-height: 1.3; color: color-mix(in srgb, var(--color-foreground) 90%, transparent); margin: 0; overflow-wrap: break-word; }
@media (min-width: 768px) { .about-section__quote { font-size: 1.8rem; } }
.about-section__quote-author { margin-top: 1.25rem; font-size: 13px; letter-spacing: 0.32em; text-transform: uppercase; color: color-mix(in srgb, var(--color-foreground) 60%, transparent); font-weight: 500; overflow-wrap: anywhere; }

.about-section__focus-box { margin-top: 2.5rem; border-radius: 1rem; border: 1px solid var(--color-border); background: var(--color-secondary); padding: 1.25rem; }
.about-section__focus-label { font-size: 12px; letter-spacing: 0.32em; text-transform: uppercase; color: color-mix(in srgb, var(--color-foreground) 55%, transparent); margin-bottom: 0.5rem; }
.about-section__focus-text { font-size: 15px; font-weight: 500; color: var(--color-foreground); }

.about-section__story-heading { font-size: 1.875rem; line-height: 1.15; margin-bottom: 2rem; color: var(--color-foreground); }
@media (min-width: 768px) { .about-section__story-heading { font-size: 2.25rem; } }
.about-section__story-body { display: flex; flex-direction: column; gap: 1.5rem; font-size: 15px; line-height: 1.75; color: color-mix(in srgb, var(--color-foreground) 75%, transparent); }
@media (min-width: 768px) { .about-section__story-body { font-size: 16px; } }
.about-section__story-emphasis { font-family: var(--font-display); color: color-mix(in srgb, var(--color-foreground) 90%, transparent); font-size: 1.125rem; }
@media (min-width: 768px) { .about-section__story-emphasis { font-size: 1.25rem; } }

.about-section__grid,
.owner-section__grid,
.contact-section__grid,
.services-section__grid,
.theme-product-grid {
	width: 100%;
	min-width: 0;
}
.about-section__left,
.about-section__right,
.owner-section__gallery,
.owner-section__bio,
.contact-section__touchpoints,
.contact-section__form {
	min-width: 0;
	max-width: 100%;
}
.about-section__stats { margin-top: 3rem; display: grid; grid-template-columns: 1fr; gap: 1.5rem; border-top: 1px solid var(--color-border); padding-top: 2rem; }
@media (min-width: 640px) { .about-section__stats { grid-template-columns: repeat(3, 1fr); } }
.about-section__stat-value { font-family: var(--font-display); font-size: 1.875rem; color: var(--color-foreground); }
.about-section__stat-label { margin-top: 0.25rem; font-size: 13px; text-transform: uppercase; letter-spacing: 0.22em; color: color-mix(in srgb, var(--color-foreground) 55%, transparent); white-space: normal; }
@media (min-width: 640px) { .about-section__stat-label { white-space: nowrap; } }
.about-section__stat-rule { display: block; margin-top: 0.75rem; height: 1px; width: 1.5rem; background: var(--color-accent); }

/* ==========================================================================
   Marquee
   ========================================================================== */
.marquee-section { position: relative; overflow: hidden; padding: 2.25rem 0; }
@media (min-width: 768px) { .marquee-section { padding: 3.15rem 0; } }
.marquee-section__fade { position: absolute; top: 0; bottom: 0; width: 6rem; z-index: 10; pointer-events: none; }
@media (min-width: 768px) { .marquee-section__fade { width: 10rem; } }
.marquee-section__fade--left { left: 0; background: linear-gradient(to right, var(--surface-background), transparent); }
.marquee-section__fade--right { right: 0; background: linear-gradient(to left, var(--surface-background), transparent); }
.marquee-section__track { display: flex; align-items: center; gap: 3rem; white-space: nowrap; will-change: transform; }
@media (min-width: 768px) { .marquee-section__track { gap: 5rem; } }
.marquee-section__item { display: flex; align-items: center; gap: 3rem; flex-shrink: 0; }
@media (min-width: 768px) { .marquee-section__item { gap: 5rem; } }
.marquee-section__phrase { line-height: 1; font-size: clamp(1.44rem, 3.84vw, 3.2rem); color: var(--surface-foreground); }
.marquee-section__dot { display: inline-block; border-radius: 999px; background: var(--color-accent); flex-shrink: 0; width: clamp(6px, 0.6vw, 10px); height: clamp(6px, 0.6vw, 10px); }

/* ==========================================================================
   Services
   ========================================================================== */
.services-section__intro { max-width: 48rem; margin-bottom: 3.5rem; }
.services-section__heading { font-size: 2.25rem; line-height: 1.05; color: var(--color-foreground); white-space: normal; overflow-wrap: anywhere; }
@media (min-width: 768px) { .services-section__heading { font-size: 3rem; white-space: nowrap; overflow-wrap: normal; } }
@media (min-width: 1024px) { .services-section__heading { font-size: 3.4rem; } }
.services-section__subtext { margin-top: 1.25rem; font-size: 15px; line-height: 1.7; color: color-mix(in srgb, var(--color-foreground) 70%, transparent); }

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

.service-card {
	display: block; width: 100%; text-align: left;
	border-radius: 1rem; border: 1px solid var(--color-border);
	background: var(--color-background);
	overflow: hidden;
	padding: 0;
	cursor: pointer;
	transition: transform 500ms cubic-bezier(0.22,1,0.36,1), box-shadow 500ms cubic-bezier(0.22,1,0.36,1), border-color 500ms cubic-bezier(0.22,1,0.36,1);
}
.service-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-elevated); border-color: color-mix(in srgb, var(--color-primary) 40%, transparent); }
.service-card__image-wrapper { position: relative; aspect-ratio: 16 / 10; width: 100%; overflow: hidden; background: var(--color-secondary); }
.service-card__image { transition: transform 1200ms cubic-bezier(0.22,0.61,0.36,1); }
.service-card:hover .service-card__image { transform: scale(1.06); }
.service-card__scrim { position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,0.2), transparent, transparent); opacity: 0; transition: opacity 500ms ease-out; }
.service-card:hover .service-card__scrim { opacity: 1; }
.service-card__body { padding: 1.75rem; }
.service-card__title { font-size: 1.5rem; margin-bottom: 0.75rem; color: var(--color-foreground); transition: color 300ms ease-out; }
.service-card:hover .service-card__title { color: var(--color-primary); }
.service-card__text { font-size: 15px; line-height: 1.7; color: color-mix(in srgb, var(--color-foreground) 70%, transparent); }
.service-card__cta { margin-top: 1.25rem; display: inline-flex; align-items: center; gap: 0.25rem; font-size: 13px; font-weight: 500; letter-spacing: 0.2em; text-transform: uppercase; color: var(--color-primary); transition: gap 300ms ease-out; }
.service-card__arrow { transition: transform 300ms ease-out; }
.service-card:hover .service-card__arrow { transform: translateX(4px); }

/* ==========================================================================
   Shop
   ========================================================================== */
.shop-section__header { display: flex; flex-direction: column; gap: 1.5rem; margin-bottom: 3rem; }
@media (min-width: 1024px) { .shop-section__header { flex-direction: row; align-items: flex-end; justify-content: space-between; } }
.shop-section__intro { max-width: 42rem; }
.shop-heading { font-size: 2.25rem; line-height: 1.05; color: var(--color-foreground); }
@media (min-width: 768px) { .shop-heading { font-size: 3rem; } }
@media (min-width: 1024px) { .shop-heading { font-size: 3.4rem; } }
.shop-section__subtext { margin-top: 1.25rem; font-size: 15px; line-height: 1.7; color: color-mix(in srgb, var(--color-foreground) 70%, transparent); max-width: 36rem; }
.shop-section__note { margin-top: 0.75rem; font-size: 12px; text-transform: uppercase; letter-spacing: 0.24em; color: color-mix(in srgb, var(--color-foreground) 45%, transparent); }
.shop-section__search { position: relative; width: 100%; }
@media (min-width: 1024px) { .shop-section__search { width: 20rem; } }
.shop-section__search-icon { position: absolute; left: 1rem; top: 50%; transform: translateY(-50%); color: color-mix(in srgb, var(--color-foreground) 50%, transparent); }
.shop-section__search-input {
	width: 100%; height: 44px; padding: 0 1rem 0 2.75rem;
	border-radius: 999px; background: var(--color-secondary); border: 1px solid var(--color-border);
	font-size: 14px; color: var(--color-foreground);
}
.shop-section__search-input::placeholder { color: color-mix(in srgb, var(--color-foreground) 45%, transparent); }
.shop-section__search-input:focus { outline: none; border-color: var(--color-primary); }

.shop-section__filters { display: flex; flex-wrap: wrap; gap: 0.625rem; margin-bottom: 3rem; }
.theme-cat-filter {
	height: 40px; padding: 0 1.25rem; border-radius: 999px; font-size: 14px; font-weight: 500;
	background: transparent; color: color-mix(in srgb, var(--color-foreground) 70%, transparent);
	border: 1px solid color-mix(in srgb, var(--color-primary) 25%, transparent);
	cursor: pointer; transition: transform 300ms ease-out, box-shadow 300ms ease-out, background-color 300ms ease-out, color 300ms ease-out, border-color 300ms ease-out;
}
.theme-cat-filter:hover { transform: translateY(-2px); box-shadow: var(--shadow-soft); border-color: var(--color-primary); color: var(--color-primary); }
.theme-cat-filter.is-active { background: var(--color-primary); color: var(--color-primary-foreground); border-color: var(--color-primary); transform: scale(1.02); }

.shop-section__empty-state { text-align: center; padding: 5rem 0; color: color-mix(in srgb, var(--color-foreground) 55%, transparent); }
.shop-section__more { margin-top: 3.5rem; display: flex; justify-content: center; }

/* ==========================================================================
   Product grid + cards (shared: shop grid, related products, archive)
   ========================================================================== */
.theme-product-grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 1.5rem 1.5rem;
	align-items: stretch;
}
@media (min-width: 640px) { .theme-product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .theme-product-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: 1.5rem; row-gap: 3rem; } }

.theme-product-card-wrap { display: flex; flex-direction: column; height: 100%; min-width: 0; }

.theme-product-card { position: relative; display: flex; flex-direction: column; height: 100%; }
.theme-product-card > .theme-card-link { position: absolute; inset: 0; z-index: 2; pointer-events: auto; }
.theme-product-card *:not(.theme-card-link) { pointer-events: none; }

.theme-product-card__image-wrapper {
	position: relative;
	aspect-ratio: 1 / 1;
	border-radius: 0.75rem;
	overflow: hidden;
	margin-bottom: 1rem;
	background: var(--color-linen);
	border: 1px solid color-mix(in srgb, var(--color-primary) 10%, transparent);
	transition: border-color 300ms ease-out;
}
.theme-product-card:hover .theme-product-card__image-wrapper { border-color: color-mix(in srgb, var(--color-primary) 40%, transparent); }
.theme-product-card__image { transition: transform 1400ms cubic-bezier(0.22,0.61,0.36,1); }
.theme-product-card:hover .theme-product-card__image { transform: scale(1.04); }
.theme-product-card__scrim { position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,0.6), transparent, transparent); opacity: 0; transition: opacity 500ms ease-out; }
.theme-product-card:hover .theme-product-card__scrim { opacity: 1; }
.theme-product-card__badge {
	position: absolute; top: 0.75rem; left: 0.75rem; z-index: 3;
	background: var(--color-primary); color: var(--color-primary-foreground);
	font-size: 13px; font-weight: 500; padding: 0.25rem 0.65rem; border-radius: 999px;
}

.theme-product-card__quick-actions {
	position: absolute; left: 0.75rem; right: 0.75rem; bottom: 0.75rem; z-index: 3;
	display: flex; align-items: center; gap: 0.5rem;
	opacity: 0; transition: opacity 500ms ease-out;
}
.theme-product-card:hover .theme-product-card__quick-actions { opacity: 1; }
.theme-product-card__add-btn.add_to_cart_button {
	flex: 1 1 auto;
	pointer-events: auto;
	display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
	height: 40px; border-radius: 999px;
	background: var(--color-primary) !important; color: var(--color-primary-foreground) !important;
	font-size: 14px; font-weight: 500; letter-spacing: 0.01em;
	border: none;
	transition: background-color 300ms ease-out, transform 300ms ease-out;
}
.theme-product-card__add-btn.add_to_cart_button:hover { background-color: color-mix(in srgb, var(--color-primary) 90%, black) !important; }
.theme-product-card__add-btn.add_to_cart_button:active { transform: scale(0.97); }
.theme-product-card__quick-view {
	pointer-events: auto;
	width: 40px; height: 40px; flex-shrink: 0;
	display: inline-flex; align-items: center; justify-content: center;
	border-radius: 999px; background: color-mix(in srgb, var(--color-background) 90%, transparent);
	backdrop-filter: blur(4px);
	color: var(--color-foreground);
	border: 1px solid color-mix(in srgb, var(--color-primary) 25%, transparent);
	transition: background-color 300ms ease-out, color 300ms ease-out;
}
.theme-product-card__quick-view:hover { background: var(--color-primary); color: var(--color-primary-foreground); }

.theme-product-card__body { padding: 0 0.125rem; flex: 1; }
.theme-product-card__category { font-size: 15px; text-transform: uppercase; letter-spacing: 0.24em; color: color-mix(in srgb, var(--color-primary) 80%, transparent); margin-bottom: 0.375rem; }
.theme-product-card__title { font-size: 1.2rem; line-height: 1.3; color: var(--color-foreground); transition: color 300ms ease-out; }
@media (min-width: 768px) { .theme-product-card__title { font-size: 1.35rem; } }
@media (min-width: 1024px) { .theme-product-card__title { font-size: 1.5rem; } }
.theme-product-card:hover .theme-product-card__title { color: var(--color-primary); }
.theme-product-card__price { margin-top: 0.375rem; font-size: 15px; font-weight: 500; color: var(--color-primary); }
.theme-product-card__price .woocommerce-Price-amount { font-weight: 500; }

/* ==========================================================================
   Owner
   ========================================================================== */
.owner-section__grid { display: grid; grid-template-columns: 1fr; gap: 3rem; align-items: start; }
@media (min-width: 1024px) { .owner-section__grid { grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 4rem; } }
.owner-section__gallery,
.owner-section__bio { grid-column: auto; min-width: 0; max-width: 100%; }
@media (min-width: 1024px) { .owner-section__gallery, .owner-section__bio { grid-column: span 6 / span 6; } }

.owner-section__frame { position: relative; border-radius: 1rem; overflow: hidden; background: var(--color-secondary); border: 1px solid var(--color-border); aspect-ratio: 4 / 5; box-shadow: var(--shadow-elevated); }
.owner-section__photo { opacity: 0; transition: opacity 700ms ease-out; }
.owner-section__photo.is-active { opacity: 1; }
.owner-section__nav {
	position: absolute; top: 50%; transform: translateY(-50%);
	width: 44px; height: 44px; border-radius: 999px;
	background: color-mix(in srgb, var(--color-background) 85%, transparent);
	backdrop-filter: blur(4px);
	border: 1px solid var(--color-border);
	display: inline-flex; align-items: center; justify-content: center;
	color: var(--color-foreground);
	cursor: pointer;
	box-shadow: var(--shadow-soft);
	transition: background-color 200ms ease-out, color 200ms ease-out, border-color 200ms ease-out;
}
.owner-section__nav:hover { background: var(--color-accent); color: var(--color-accent-foreground); border-color: var(--color-accent); }
.owner-section__nav--prev { left: 1rem; }
.owner-section__nav--next { right: 1rem; }
.owner-section__dots { position: absolute; bottom: 1rem; left: 50%; transform: translateX(-50%); display: flex; align-items: center; gap: 0.5rem; }
.owner-section__dot { height: 8px; width: 8px; border-radius: 999px; background: color-mix(in srgb, var(--color-background) 70%, transparent); border: none; cursor: pointer; transition: width 200ms ease-out, background-color 200ms ease-out; }
.owner-section__dot.is-active { width: 24px; background: var(--color-accent); }
.owner-section__caption { margin-top: 1rem; font-size: 13px; color: color-mix(in srgb, var(--color-foreground) 55%, transparent); text-align: center; }

.owner-section__heading { font-size: 2.25rem; line-height: 1.05; color: var(--color-foreground); overflow-wrap: break-word; }
@media (min-width: 768px) { .owner-section__heading { font-size: 3rem; } }
@media (min-width: 1024px) { .owner-section__heading { font-size: 3.2rem; } }
.owner-section__heading .italic { white-space: normal; }
@media (min-width: 480px) { .owner-section__heading .italic { white-space: nowrap; } }
.owner-section__bio-text { margin-top: 2rem; display: flex; flex-direction: column; gap: 1.25rem; font-size: 15px; line-height: 1.75; color: color-mix(in srgb, var(--color-foreground) 75%, transparent); }
@media (min-width: 768px) { .owner-section__bio-text { font-size: 16px; } }
.owner-section__stats { margin-top: 2.5rem; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; border-top: 1px solid var(--color-border); padding-top: 2rem; }
.owner-section__stat { min-width: 0; }
.owner-section__stat-value { font-size: 1.25rem; color: var(--color-foreground); overflow-wrap: break-word; }
@media (min-width: 768px) { .owner-section__stat-value { font-size: 1.5rem; } }
.owner-section__stat-label { margin-top: 0.25rem; font-size: 12px; text-transform: uppercase; letter-spacing: 0.22em; color: color-mix(in srgb, var(--color-foreground) 55%, transparent); overflow-wrap: anywhere; }

/* ==========================================================================
   Pre-contact CTA
   ========================================================================== */
.precontact-section { position: relative; overflow: hidden; background: var(--color-foreground); color: var(--color-background); }
.precontact-section__video { z-index: 0; object-position: top; pointer-events: none; }
.precontact-section__scrim { position: absolute; inset: 0; background: rgba(0,0,0,0.45); pointer-events: none; }
.precontact-section__content {
	position: relative;
	z-index: 10;
	text-align: center;
	text-shadow: 0 2px 8px rgba(0,0,0,0.5);
	/* Vertical only — keep .container-wide horizontal padding (Lovable: py-24 md:py-36) */
	padding-top: 6rem;
	padding-bottom: 6rem;
}
@media (min-width: 768px) {
	.precontact-section__content {
		padding-top: 9rem;
		padding-bottom: 9rem;
	}
}
.precontact-section__eyebrow { display: inline-flex; align-items: center; justify-content: center; gap: 0.75rem; font-size: 13px; letter-spacing: 0.4em; text-transform: uppercase; color: color-mix(in srgb, var(--color-background) 85%, transparent); margin-bottom: 1.5rem; font-weight: 500; width: 100%; }
.precontact-section__rule { height: 1px; width: 2rem; background: color-mix(in srgb, var(--color-background) 50%, transparent); display: inline-block; }
.precontact-section__heading { color: var(--color-background); line-height: 1.05; letter-spacing: -0.02em; margin: 0 auto; max-width: 56rem; font-size: clamp(2rem, 5.6vw, 4.2rem); }
.precontact-section__subtext { margin: 1.75rem auto 0; max-width: 36rem; font-size: 15px; color: color-mix(in srgb, var(--color-background) 85%, transparent); line-height: 1.7; }
.precontact-section__action { margin-top: 2.5rem; text-shadow: none; }

/* ==========================================================================
   Contact
   ========================================================================== */
.contact-title { font-size: 2.25rem; line-height: 1.05; color: var(--color-foreground); }
@media (min-width: 768px) { .contact-title { font-size: 3rem; } }
@media (min-width: 1024px) { .contact-title { font-size: 3.4rem; } }
.contact-section__subtext { margin-top: 1.5rem; font-size: 15px; line-height: 1.7; color: color-mix(in srgb, var(--color-foreground) 70%, transparent); max-width: 28rem; }
.contact-section__grid { display: grid; grid-template-columns: 1fr; gap: 3rem; align-items: stretch; }
@media (min-width: 1024px) { .contact-section__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 5rem; } }
.contact-section__touchpoints { display: flex; flex-direction: column; height: 100%; }
.contact-section__list { margin-top: 2.5rem; display: flex; flex-direction: column; gap: 1.25rem; list-style: none; padding: 0; }
.contact-section__item { display: inline-flex; align-items: center; gap: 1rem; color: var(--color-foreground); transition: color 300ms ease-out; }
.contact-section__item:hover { color: var(--color-primary); }
.contact-section__icon { width: 44px; height: 44px; border-radius: 999px; background: var(--color-secondary); border: 1px solid var(--color-border); display: inline-flex; align-items: center; justify-content: center; transition: border-color 300ms ease-out; flex-shrink: 0; }
.contact-section__item:hover .contact-section__icon { border-color: var(--color-primary); }
.contact-section__item-text { display: flex; flex-direction: column; text-align: left; }
.contact-section__item-label { font-size: 12px; letter-spacing: 0.24em; text-transform: uppercase; color: color-mix(in srgb, var(--color-foreground) 55%, transparent); }
.contact-section__item-value { font-size: 15px; font-weight: 500; overflow-wrap: anywhere; word-break: break-word; }

.contact-section__form {
	background: var(--color-secondary); border: 1px solid var(--color-border); border-radius: 1rem;
	padding: 1.5rem; display: flex; flex-direction: column; gap: 1rem; height: 100%; box-shadow: var(--shadow-soft);
}
@media (min-width: 768px) { .contact-section__form { padding: 2rem; } }
.contact-section__form-body { flex: 1; display: flex; flex-direction: column; gap: 1rem; }
.contact-section__form-row { display: grid; grid-template-columns: 1fr; gap: 1rem; }
@media (min-width: 640px) { .contact-section__form-row { grid-template-columns: repeat(2, 1fr); } }
.contact-section__label { display: block; font-size: 12px; letter-spacing: 0.24em; text-transform: uppercase; color: color-mix(in srgb, var(--color-foreground) 55%, transparent); margin-bottom: 0.5rem; }
.theme-input {
	width: 100%; height: 48px; padding: 0 1rem;
	background: var(--color-background); border: 1px solid var(--color-border); border-radius: var(--radius);
	font-size: 14px; color: var(--color-foreground);
}
.theme-input::placeholder { color: color-mix(in srgb, var(--color-foreground) 45%, transparent); }
.theme-input:focus, .theme-input:focus-visible { outline: none; border-color: var(--color-primary); }
.theme-textarea { height: auto; padding: 0.75rem 1rem; resize: none; font-family: inherit; }
.contact-section__select-wrap { position: relative; }
.theme-select { appearance: none; padding-right: 2.5rem; }
.contact-section__select-chevron { position: absolute; right: 1rem; top: 50%; transform: translateY(-50%); pointer-events: none; color: color-mix(in srgb, var(--color-foreground) 55%, transparent); }
.contact-section__form-footer { display: flex; flex-direction: column; gap: 0.75rem; padding-top: 0.5rem; }
.contact-section__submit { width: 100%; }
.contact-section__note { font-size: 13px; color: color-mix(in srgb, var(--color-foreground) 55%, transparent); text-align: center; }

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer { border-top: 1px solid var(--color-border); }
/* Vertical only — horizontal padding from .container-wide (Lovable: py-14 lg:py-20 + px-6/lg:px-16) */
.site-footer__inner {
	padding-top: 3.5rem;
	padding-bottom: 5rem;
}
@media (min-width: 1024px) {
	.site-footer__inner {
		padding-top: 5rem;
		padding-bottom: 5rem;
	}
}
.site-footer__grid { display: grid; grid-template-columns: 1fr; gap: 2.5rem; }
@media (min-width: 640px) { .site-footer__grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .site-footer__grid { grid-template-columns: repeat(4, 1fr); gap: 3rem; } }
.site-footer__logo-link { display: inline-flex; align-items: center; height: var(--logo-height); }
.site-footer__logo-link .site-logo-img { height: var(--logo-height); width: auto; object-fit: contain; transition: transform 300ms ease-out; }
.site-footer__logo-link:hover .site-logo-img { transform: scale(1.04); }
.site-footer__desc { margin-top: 1rem; font-size: 14px; color: color-mix(in srgb, var(--color-foreground) 70%, transparent); line-height: 1.7; max-width: 20rem; }
.site-footer__heading { font-size: 1.125rem; color: var(--color-foreground); margin-bottom: 1rem; }
.site-footer__list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 0.625rem; }
.site-footer__list a, .site-footer__list button {
	font-size: 14px; color: color-mix(in srgb, var(--color-foreground) 70%, transparent); background: none; border: none; padding: 0; text-align: left; cursor: pointer;
	transition: color 300ms ease-out, transform 300ms ease-out; display: inline-block;
}
.site-footer__list a:hover, .site-footer__list button:hover { color: var(--color-primary); transform: translateX(4px); }
.site-footer__contact-list { gap: 0.75rem; }
.site-footer__contact-link { display: inline-flex; align-items: center; gap: 0.5rem; }
.site-footer__bottom { margin-top: 3.5rem; padding-top: 1.5rem; border-top: 1px solid var(--color-border); display: flex; flex-direction: column; gap: 0.75rem; align-items: center; justify-content: space-between; }
@media (min-width: 640px) { .site-footer__bottom { flex-direction: row; } }
.site-footer__copyright { font-size: 13px; color: color-mix(in srgb, var(--color-foreground) 60%, transparent); }
.site-footer__bottom-right { display: flex; align-items: center; gap: 1rem; }
.site-footer__built-by { font-size: 13px; color: color-mix(in srgb, var(--color-foreground) 60%, transparent); }
.site-footer__built-by a { color: color-mix(in srgb, var(--color-foreground) 80%, transparent); text-decoration: underline; text-decoration-color: color-mix(in srgb, var(--color-foreground) 20%, transparent); text-underline-offset: 2px; transition: color 300ms ease-out; }
.site-footer__built-by a:hover { color: var(--color-primary); text-decoration-color: var(--color-primary); }
.site-footer__top-btn { display: inline-flex; align-items: center; gap: 0.5rem; font-size: 13px; color: color-mix(in srgb, var(--color-foreground) 70%, transparent); background: none; border: none; cursor: pointer; transition: color 300ms ease-out; }
.site-footer__top-btn:hover { color: var(--color-primary); }
.site-footer__top-circle { width: 32px; height: 32px; border-radius: 999px; border: 1px solid var(--color-border); display: inline-flex; align-items: center; justify-content: center; transition: border-color 300ms ease-out, transform 300ms ease-out; }
.site-footer__top-btn:hover .site-footer__top-circle { border-color: var(--color-primary); transform: translateY(-2px); }

/* ==========================================================================
   Cart Drawer + Overlay
   ========================================================================== */
#theme-cart-overlay {
	position: fixed; inset: 0; z-index: 50;
	background: color-mix(in srgb, var(--color-foreground) 30%, transparent);
	opacity: 0; pointer-events: none;
	transition: opacity 300ms ease-out;
}
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: 420px;
	background: var(--color-ivory);
	z-index: 51;
	box-shadow: var(--shadow-elevated);
	display: flex; flex-direction: column;
	transform: translateX(100%);
	transition: transform 400ms cubic-bezier(0.22,1,0.36,1);
}
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 color-mix(in srgb, var(--color-foreground) 10%, transparent); }
.theme-cart-drawer__title { font-size: 1.5rem; color: var(--color-foreground); }
.theme-cart-drawer__close { padding: 0.375rem; border-radius: 999px; background: none; border: none; cursor: pointer; color: var(--color-foreground); transition: background-color 300ms ease-out; }
.theme-cart-drawer__close:hover { background: color-mix(in srgb, var(--color-foreground) 6%, transparent); }

.theme-cart-drawer__empty { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 1.5rem; text-align: center; }
.theme-cart-drawer__empty-icon { color: color-mix(in srgb, var(--color-foreground) 30%, transparent); margin-bottom: 1rem; }
.theme-cart-drawer__empty-text { color: color-mix(in srgb, var(--color-foreground) 65%, transparent); margin-bottom: 1.5rem; font-size: 15px; }

.theme-cart-drawer__items { flex: 1; overflow: auto; padding: 1.5rem; display: flex; flex-direction: column; gap: 1.25rem; }
.theme-cart-drawer__item { display: flex; gap: 1rem; }
.theme-cart-drawer__item-image { position: relative; width: 80px; height: 96px; background: var(--color-bone); border-radius: 6px; overflow: hidden; flex-shrink: 0; display: block; }
.theme-cart-drawer__item-info { flex: 1; min-width: 0; }
.theme-cart-drawer__item-name { font-size: 15px; font-weight: 500; display: block; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; transition: color 300ms ease-out; }
.theme-cart-drawer__item-name:hover { color: var(--color-primary); }
.theme-cart-drawer__item-price { font-size: 15px; color: color-mix(in srgb, var(--color-foreground) 60%, transparent); margin-top: 0.125rem; }
.theme-cart-drawer__item-variation { font-size: 13px; color: color-mix(in srgb, var(--color-foreground) 55%, transparent); margin-top: 0.25rem; }
.theme-cart-drawer__item-controls { display: flex; align-items: center; gap: 0.75rem; margin-top: 0.75rem; }
.theme-cart-drawer__qty-btn { padding: 0.25rem; border-radius: 4px; background: none; border: none; cursor: pointer; color: var(--color-foreground); transition: background-color 300ms ease-out; }
.theme-cart-drawer__qty-btn:hover { background: var(--color-bone); }
.theme-cart-drawer__qty-value { font-size: 15px; width: 24px; text-align: center; }
.theme-cart-drawer__remove-btn { margin-left: auto; font-size: 15px; color: color-mix(in srgb, var(--color-foreground) 55%, transparent); background: none; border: none; cursor: pointer; transition: color 300ms ease-out; }
.theme-cart-drawer__remove-btn:hover { color: var(--color-destructive); }

.theme-cart-drawer__footer { padding: 1.5rem; border-top: 1px solid color-mix(in srgb, var(--color-foreground) 10%, transparent); background: color-mix(in srgb, var(--color-linen) 40%, transparent); display: flex; flex-direction: column; gap: 1rem; }
.theme-cart-drawer__subtotal-row { display: flex; justify-content: space-between; font-size: 15px; }
.theme-cart-drawer__subtotal-label { color: color-mix(in srgb, var(--color-foreground) 65%, transparent); }
.theme-cart-drawer__subtotal-value { font-weight: 500; }
.theme-cart-drawer__shipping-note { font-size: 15px; color: color-mix(in srgb, var(--color-foreground) 55%, transparent); }
.theme-cart-drawer__checkout-btn { width: 100%; }
.theme-cart-drawer__empty-btn { width: 100%; color: color-mix(in srgb, var(--color-foreground) 60%, transparent); }

/* Hide WooCommerce's own "View cart" link injected after AJAX add (Section 11.4.2) */
.woocommerce-page a.added_to_cart.wc-forward,
.single-product a.added_to_cart.wc-forward,
body a.added_to_cart.wc-forward { display: none !important; }

/* ==========================================================================
   Add-to-cart button overrides (Section 11.4.1)
   ========================================================================== */
.single_add_to_cart_button.button,
.add_to_cart_button.button,
a.single_add_to_cart_button,
a.add_to_cart_button {
	background-color: var(--color-primary) !important;
	color: var(--color-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_buy_now_button.button { min-height: var(--btn-height) !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; }

/* Card compact button — overrides global rules for the card quick-add pill */
.theme-product-card .add_to_cart_button.ajax_add_to_cart {
	min-height: 40px !important;
	padding: 0 1rem !important;
	border-radius: 999px !important;
}

/* ==========================================================================
   Single product page (mirrors Lovable ProductDetail)
   ========================================================================== */
.single-product-page {
	padding: 6rem 0 0;
	background: var(--color-ivory);
	min-height: 100vh;
}
@media (min-width: 1024px) {
	.single-product-page { padding-top: 7rem; }
}
body.admin-bar .single-product-page {
	padding-top: calc(6rem + var(--admin-bar-offset));
}
@media (min-width: 1024px) {
	body.admin-bar .single-product-page {
		padding-top: calc(7rem + var(--admin-bar-offset));
	}
}

.single-product-page__breadcrumb {
	padding: 1.5rem 0;
	font-size: 15px;
	letter-spacing: 0.2em;
	text-transform: uppercase;
	color: color-mix(in srgb, var(--color-foreground) 55%, transparent);
}
.single-product-page__breadcrumb a:hover { color: var(--color-primary); }
.single-product-page__breadcrumb-sep { margin: 0 0.5rem; opacity: 0.5; }
.single-product-page__breadcrumb-current { color: var(--color-foreground); }

.single-product-page__grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 2.5rem;
	padding-bottom: 5rem;
	align-items: start;
}
@media (min-width: 1024px) {
	.single-product-page__grid {
		grid-template-columns: repeat(12, minmax(0, 1fr));
		gap: 4rem;
	}
}
.theme-product-layout { min-width: 0; }
.theme-product-gallery, .theme-product-info { min-width: 0; max-width: 100%; }
.single-product-page__gallery { grid-column: auto; }
@media (min-width: 1024px) {
	.single-product-page__gallery {
		grid-column: span 7 / span 7;
		position: sticky;
		top: calc(7rem + var(--admin-bar-offset));
		align-self: start;
	}
}
.single-product-page__info { grid-column: auto; }
@media (min-width: 1024px) { .single-product-page__info { grid-column: span 5 / span 5; } }

.theme-product-gallery__main {
	position: relative;
	aspect-ratio: 1 / 1;
	width: 100%;
	background: var(--color-linen);
	border-radius: 0.75rem;
	overflow: hidden;
	margin-bottom: 1rem;
}
.theme-product-gallery__main-img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.theme-product-thumbnails {
	display: grid;
	grid-template-columns: repeat(5, 1fr);
	gap: 0.625rem;
	max-width: 100%;
}
.theme-product-thumb {
	position: relative;
	aspect-ratio: 1 / 1;
	background: var(--color-linen);
	border-radius: 6px;
	overflow: hidden;
	border: 2px solid transparent;
	cursor: pointer;
	transition: border-color 200ms ease-out;
	padding: 0;
}
.theme-product-thumb.is-active { border-color: var(--color-primary); }
.theme-product-thumb:not(.is-active):hover {
	border-color: color-mix(in srgb, var(--color-foreground) 20%, transparent);
}
.theme-product-thumb img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.single-product-page__category {
	font-size: 15px;
	letter-spacing: 0.28em;
	text-transform: uppercase;
	color: var(--color-primary);
	margin-bottom: 0.75rem;
	font-weight: 500;
}
.single-product-page__title.product-title {
	font-family: var(--font-display);
	font-weight: 400;
	font-size: 1.875rem;
	line-height: 1.05;
	color: var(--color-foreground);
	margin-bottom: 1rem;
}
@media (min-width: 768px) { .single-product-page__title.product-title { font-size: 2.25rem; } }
@media (min-width: 1024px) { .single-product-page__title.product-title { font-size: 2.6rem; } }
.single-product-page__price {
	font-size: 20px;
	font-weight: 500;
	color: color-mix(in srgb, var(--color-foreground) 90%, transparent);
	margin-bottom: 1.75rem;
}
.single-product-page__stock.is-out-of-stock {
	display: inline-block;
	margin-bottom: 1rem;
	font-size: 14px;
	font-weight: 500;
	color: var(--color-destructive);
}
.single-product-page__description {
	font-size: 15px;
	line-height: 1.7;
	color: color-mix(in srgb, var(--color-foreground) 75%, transparent);
	margin-bottom: 2rem;
	overflow-wrap: break-word;
}
.single-product-page__description p { margin: 0; }

.single-product-page__qty-label {
	font-size: 15px;
	letter-spacing: 0.2em;
	text-transform: uppercase;
	color: color-mix(in srgb, var(--color-foreground) 55%, transparent);
	margin-bottom: 0.625rem;
}
.theme-quantity-wrapper {
	display: inline-flex;
	align-items: center;
	border: 1px solid color-mix(in srgb, var(--color-foreground) 20%, transparent);
	border-radius: 999px;
}
.theme-qty-minus, .theme-qty-plus {
	padding: 0.625rem 1rem;
	background: none;
	border: none;
	cursor: pointer;
	color: var(--color-foreground);
	transition: color 300ms ease-out;
}
.theme-qty-minus:hover, .theme-qty-plus:hover { color: var(--color-primary); }
.theme-qty-input {
	width: 44px;
	min-width: 44px;
	text-align: center;
	font-size: 15px;
	font-weight: 500;
	border: none;
	background: none;
	padding: 0.625rem 0;
	-moz-appearance: textfield;
	color: var(--color-foreground);
}
.theme-qty-input::-webkit-outer-spin-button,
.theme-qty-input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }

.single-product-page__purchase { margin-bottom: 0; }
.theme-add-to-cart-area.single-product-page__actions {
	display: flex;
	flex-direction: column;
	align-items: stretch;
	flex-wrap: nowrap;
	gap: 0.75rem;
	margin-top: 1.5rem;
}
@media (min-width: 640px) {
	.theme-add-to-cart-area.single-product-page__actions {
		flex-direction: row;
	}
}
.theme-add-to-cart-area .single_add_to_cart_button,
.theme-add-to-cart-area .single_buy_now_button {
	flex: 1 1 0;
	min-width: 0;
	width: 100%;
}
.theme-add-to-cart-area .single_buy_now_button.disabled,
.theme-add-to-cart-area .single_add_to_cart_button.disabled {
	opacity: 0.6;
	pointer-events: none;
}

.single-product-page__details {
	margin-top: 2rem;
	padding-top: 2rem;
	border-top: 1px solid color-mix(in srgb, var(--color-foreground) 10%, transparent);
}
.single-product-page__details-label {
	font-size: 15px;
	letter-spacing: 0.2em;
	text-transform: uppercase;
	color: color-mix(in srgb, var(--color-foreground) 55%, transparent);
	margin-bottom: 1rem;
}
.single-product-page__details-list ul {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 0.625rem;
}
.single-product-page__details-list li {
	font-size: 15px;
	color: color-mix(in srgb, var(--color-foreground) 75%, transparent);
	display: flex;
	align-items: flex-start;
}
.single-product-page__details-list li::before {
	content: '';
	width: 4px;
	height: 4px;
	background: var(--color-primary);
	border-radius: 999px;
	margin-top: 0.625rem;
	margin-right: 0.75rem;
	flex-shrink: 0;
}

.single-product-page__badges {
	margin-top: 2rem;
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 0.75rem;
	padding-top: 1.5rem;
	border-top: 1px solid color-mix(in srgb, var(--color-foreground) 10%, transparent);
}
.single-product-page__badge { text-align: center; }
.single-product-page__badge svg {
	margin: 0 auto 0.5rem;
	color: var(--color-primary);
	display: block;
}
.single-product-page__badge p {
	font-size: 15px;
	letter-spacing: 0.15em;
	text-transform: uppercase;
	color: color-mix(in srgb, var(--color-foreground) 60%, transparent);
}

.related-products-section {
	padding: 5rem 0;
	border-top: 1px solid color-mix(in srgb, var(--color-foreground) 10%, transparent);
}
.related-products-section__header {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	margin-bottom: 2.5rem;
	gap: 1rem;
}
.related-products-section__heading {
	font-family: var(--font-display);
	font-size: 1.875rem;
	color: var(--color-foreground);
	font-weight: 400;
}
@media (min-width: 768px) { .related-products-section__heading { font-size: 2.25rem; } }
.related-products-section__view-all {
	display: none;
	align-items: center;
	gap: 0.375rem;
	font-size: 15px;
	font-weight: 500;
	color: color-mix(in srgb, var(--color-foreground) 70%, transparent);
	transition: color 300ms ease-out;
	flex-shrink: 0;
}
@media (min-width: 640px) { .related-products-section__view-all { display: inline-flex; } }
.related-products-section__view-all:hover { color: var(--color-primary); }
.related-products-section__grid { row-gap: 2.5rem; }
@media (min-width: 640px) { .related-products-section__grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .related-products-section__grid { grid-template-columns: repeat(4, 1fr); } }

/* ==========================================================================
   Shop archive page (/shop) — reuses shop grid classes for consistency
   ========================================================================== */
.shop-archive-page { padding: 7rem 0 6rem; }
.shop-archive-page__title { font-size: 2.5rem; margin-bottom: 2.5rem; color: var(--color-foreground); }
.shop-archive-page__grid { margin-bottom: 3rem; }
.shop-archive-page__empty { text-align: center; padding: 5rem 0; color: color-mix(in srgb, var(--color-foreground) 55%, transparent); }
.shop-archive-page__pagination .page-numbers { display: inline-flex; gap: 0.5rem; list-style: none; padding: 0; }

/* ==========================================================================
   Generic page / 404 / thank-you shell
   ========================================================================== */
.site-main { padding-top: 7rem; padding-bottom: 4rem; }
body.theme-no-hero .site-main { padding-top: var(--header-height, 104px); }
body:not(.theme-no-hero) .site-main { padding-top: 0; }
.page-shell { max-width: 56rem; }
.page-title { font-size: 2.5rem; margin-bottom: 1.5rem; color: var(--color-foreground); font-weight: inherit; }
.entry-content { font-size: 15px; line-height: 1.75; color: color-mix(in srgb, var(--color-foreground) 75%, transparent); }
.entry-content p { margin-bottom: 1.25em; }

.notfound-page { min-height: 60vh; display: flex; align-items: center; }
.notfound-page__inner { text-align: center; padding-top: 5rem; padding-bottom: 5rem; }
.notfound-page__code { font-size: 3rem; margin-bottom: 1rem; color: var(--color-foreground); }
.notfound-page__text { font-size: 1.25rem; color: color-mix(in srgb, var(--color-foreground) 65%, transparent); margin-bottom: 1rem; }
.notfound-page__link { color: var(--color-primary); text-decoration: underline; }
.notfound-page__link:hover { color: color-mix(in srgb, var(--color-primary) 90%, black); }

/* ==========================================================================
   WooCommerce notices (Section 14.1) — scoped, never global
   ========================================================================== */
.single-product .woocommerce-message,
.single-product .woocommerce-info,
.shop-section .woocommerce-message,
#theme-cart-drawer .woocommerce-message { display: none; }
.woocommerce-error {
	background: color-mix(in srgb, var(--color-destructive) 10%, var(--color-background));
	color: var(--color-destructive);
	border: 1px solid color-mix(in srgb, var(--color-destructive) 30%, transparent);
	border-radius: var(--radius);
	padding: 1rem 1.25rem;
	list-style: none;
	font-size: 14px;
	margin-bottom: 1.5rem;
}
.woocommerce-message, .woocommerce-info {
	background: var(--color-secondary);
	color: var(--color-foreground);
	border: 1px solid var(--color-border);
	border-radius: var(--radius);
	padding: 1rem 1.25rem;
	font-size: 14px;
	margin-bottom: 1.5rem;
	list-style: none;
}

/* ==========================================================================
   WooCommerce Checkout Block (Section 13)
   ========================================================================== */
body.woocommerce-checkout .site-main { padding-top: var(--header-height, 104px); padding-bottom: 4rem; }
body.woocommerce-checkout .page-shell { max-width: none; width: 100%; }
body.woocommerce-checkout .entry-content { max-width: 100%; }

body.woocommerce-checkout .wc-block-checkout,
body.woocommerce-checkout .wp-block-woocommerce-checkout {
	display: block;
	width: 100%;
	max-width: none;
}

@media (min-width: 768px) {
	body.woocommerce-checkout .wc-block-components-sidebar-layout.wc-block-checkout.is-large,
	body.woocommerce-checkout .wc-block-checkout > .wc-block-components-sidebar-layout {
		display: grid;
		grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
		gap: var(--checkout-gap, 2.5rem);
		align-items: start;
		width: 100%;
		max-width: none;
	}
}

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-checkout__form {
	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;
	font-family: var(--font-body);
	font-size: 14px;
	color: var(--color-foreground);
	border: 1px solid var(--color-border);
	border-radius: var(--radius);
	background-color: var(--color-background);
}
body.woocommerce-checkout .wc-block-components-text-input input:focus,
body.woocommerce-checkout .wc-block-components-text-input input:focus-visible,
body.woocommerce-checkout .wc-block-components-select select:focus { outline: none; border-color: var(--color-primary); }
body.woocommerce-checkout .wc-block-components-text-input input { padding: revert; }

body.woocommerce-checkout .wc-block-components-checkout-place-order-button {
	background-color: var(--color-primary) !important;
	color: var(--color-primary-foreground) !important;
	border-radius: var(--btn-radius) !important;
	font-family: var(--font-body) !important;
	font-weight: 500 !important;
	text-transform: none !important;
}
body.woocommerce-checkout .wc-block-components-checkout-place-order-button:hover { opacity: 0.9 !important; }

body.woocommerce-checkout .wc-block-components-notice-banner {
	border-radius: var(--radius);
	font-family: var(--font-body);
}

body.woocommerce-checkout .wc-block-cart-items { font-family: var(--font-body); }

body.woocommerce-checkout .wc-block-checkout__sidebar {
	background-color: var(--color-secondary);
	border-radius: var(--card-radius);
	padding: 2rem;
}

body.woocommerce-checkout .wc-block-checkout__main,
body.woocommerce-checkout .wc-block-checkout__sidebar { font-family: var(--font-body); }

/* ==========================================================================
   Other WooCommerce pages: width & alignment parity (Section 13.7)
   ========================================================================== */
body.woocommerce-cart .site-main,
body.woocommerce-account .site-main { padding-top: var(--header-height, 104px); }
body.woocommerce-cart .entry-content,
body.woocommerce-account .entry-content { max-width: 100%; }

/* ==========================================================================
   Thank you page (Section 22.8)
   ========================================================================== */
body.theme-thankyou-page { overflow-x: hidden; }
body.theme-thankyou-page .woocommerce-order,
body.theme-thankyou-page .woocommerce-order-overview,
body.theme-thankyou-page .woocommerce-order-overview li,
body.theme-thankyou-page .woocommerce-customer-details,
body.theme-thankyou-page .woocommerce-order-details,
body.theme-thankyou-page .woocommerce-order-details table { font-family: var(--font-body); }

body.theme-thankyou-page .woocommerce-order-overview {
	list-style: none; display: flex; flex-wrap: wrap; gap: 1.5rem;
	padding: 1.5rem; margin: 0 0 2rem; background: var(--color-secondary); border-radius: var(--card-radius);
}
body.theme-thankyou-page .woocommerce-order-overview li { font-size: 14px; }
body.theme-thankyou-page .woocommerce-order-overview li strong { display: block; font-size: 15px; margin-top: 0.25rem; }

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

body.theme-thankyou-page .woocommerce-order-details table {
	width: 100%;
	table-layout: fixed;
	border-collapse: collapse;
	margin-bottom: 2rem;
}
body.theme-thankyou-page .woocommerce-order-details table th,
body.theme-thankyou-page .woocommerce-order-details table td {
	padding: 0.75rem;
	border-bottom: 1px solid var(--color-border);
	font-size: 14px;
	text-align: left;
}
body.theme-thankyou-page .woocommerce-order-details tfoot th { text-align: left; }
body.theme-thankyou-page .woocommerce-order-details tfoot td { text-align: right; }

body.theme-thankyou-page .woocommerce-customer-details {
	display: flex;
	flex-direction: column;
	gap: 1.5rem;
}
body.theme-thankyou-page .woocommerce-customer-details address {
	max-width: 480px;
	overflow-wrap: break-word;
	font-style: normal;
	line-height: 1.6;
}
@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; }
}

/* ==========================================================================
   Variable product variation table (not currently used — no variable
   products in the catalog — kept for forward compatibility, Section 11.5.1)
   ========================================================================== */
.single-product .variations.shop_attributes tbody,
.single-product .variations tbody tr,
.single-product .variations tbody td { display: block; width: 100%; }
.single-product .variations tbody td.label { padding-bottom: 0.25rem; }
.single-product .variations tbody td.value { padding-top: 0; }
.theme-attr-select-hidden { display: none !important; }
.variations label { font-family: var(--font-body); font-weight: 600; font-style: normal; }

/* Guard: keep Lovable container gutters (px-6 / lg:px-16) even if a later
   padding shorthand on a co-class tries to zero horizontal padding. */
.container-wide {
	padding-left: var(--container-pad-x, 1.5rem);
	padding-right: var(--container-pad-x, 1.5rem);
}

/* ==========================================================================
   Blog section (homepage + archive)
   ========================================================================== */
.blog-section__intro { max-width: 42rem; margin-bottom: 3rem; }
.blog-section__heading {
	font-size: 2.25rem;
	line-height: 1.05;
	color: var(--color-foreground);
	overflow-wrap: break-word;
}
@media (min-width: 768px) { .blog-section__heading { font-size: 3rem; } }
@media (min-width: 1024px) { .blog-section__heading { font-size: 3.4rem; } }
.blog-section__subtext,
.blog-archive-page__subtext {
	margin-top: 1.5rem;
	font-size: 15px;
	line-height: 1.7;
	color: color-mix(in srgb, var(--color-foreground) 70%, transparent);
}
.blog-section__grid,
.blog-archive-page__grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 2rem;
}
@media (min-width: 768px) {
	.blog-section__grid,
	.blog-archive-page__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2.5rem; }
}
@media (min-width: 1024px) {
	.blog-section__grid,
	.blog-archive-page__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
.blog-card {
	display: flex;
	flex-direction: column;
	background: var(--color-background);
	border: 1px solid var(--color-border);
	border-radius: var(--card-radius);
	overflow: hidden;
	box-shadow: var(--shadow-soft);
	transition: transform 300ms ease-out, box-shadow 300ms ease-out;
}
.blog-card:hover {
	transform: translateY(-4px);
	box-shadow: var(--shadow-elevated);
}
.blog-card__media-link {
	display: block;
	position: relative;
	flex-shrink: 0;
}
.blog-card__media {
	position: relative;
	aspect-ratio: 16 / 10;
	width: 100%;
	background: var(--color-secondary);
	overflow: hidden;
	isolation: isolate;
}
.blog-card__image {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}
.blog-card__placeholder {
	width: 100%;
	height: 100%;
	background: linear-gradient(135deg, var(--color-secondary), var(--color-bone));
}
.blog-card__body { padding: 1.5rem; display: flex; flex-direction: column; flex: 1; gap: 0.75rem; }
.blog-card__date {
	font-size: 12px;
	letter-spacing: 0.2em;
	text-transform: uppercase;
	color: color-mix(in srgb, var(--color-foreground) 55%, transparent);
}
.blog-card__title {
	font-family: var(--font-display);
	font-size: 1.5rem;
	line-height: 1.2;
	margin: 0;
}
.blog-card__title a { color: inherit; text-decoration: none; }
.blog-card__title a:hover { color: var(--color-primary); }
.blog-card__excerpt {
	font-size: 14px;
	line-height: 1.7;
	color: color-mix(in srgb, var(--color-foreground) 70%, transparent);
	margin: 0;
	flex: 1;
}
.blog-card__cta {
	display: inline-flex;
	align-items: center;
	gap: 0.375rem;
	font-size: 14px;
	font-weight: 500;
	color: var(--color-primary);
	margin-top: 0.25rem;
}
.blog-card__cta:hover { color: color-mix(in srgb, var(--color-primary) 85%, black); }
.blog-section__more,
.blog-archive-page__pagination { margin-top: 3rem; text-align: center; }
.blog-section__empty,
.blog-archive-page__empty {
	text-align: center;
	color: color-mix(in srgb, var(--color-foreground) 60%, transparent);
	padding: 3rem 0;
}
.blog-archive-page {
	padding-top: calc(var(--header-height, 104px) + 4rem);
	padding-bottom: 6rem;
}
body.theme-blog-archive .site-main.blog-archive-page {
	padding-top: calc(var(--header-height, 104px) + 4rem);
}
.blog-archive-page__header { max-width: 42rem; margin-bottom: 3rem; }
.blog-archive-page__title {
	font-size: 2.25rem;
	line-height: 1.05;
	color: var(--color-foreground);
	overflow-wrap: break-word;
	margin-top: 0.5rem;
}
@media (min-width: 768px) { .blog-archive-page__title { font-size: 3rem; } }
@media (min-width: 1024px) { .blog-archive-page__title { font-size: 3.4rem; } }
.blog-archive-page__pagination .nav-links { display: inline-flex; gap: 0.5rem; flex-wrap: wrap; justify-content: center; }
.blog-archive-page__pagination .page-numbers {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 2.5rem;
	height: 2.5rem;
	padding: 0 0.75rem;
	border: 1px solid var(--color-border);
	border-radius: var(--radius);
	color: var(--color-foreground);
	text-decoration: none;
	font-size: 14px;
}
.blog-archive-page__pagination .page-numbers.current,
.blog-archive-page__pagination .page-numbers:hover {
	background: var(--color-primary);
	border-color: var(--color-primary);
	color: var(--color-primary-foreground);
}

/* ==========================================================================
   Single post
   ========================================================================== */
.single-post-page { padding: 7rem 0 6rem; }
.single-post-page__shell { max-width: 48rem; }
.single-post__back {
	font-size: 14px;
	color: color-mix(in srgb, var(--color-foreground) 65%, transparent);
	text-decoration: none;
}
.single-post__back:hover { color: var(--color-primary); }
.single-post__title {
	font-size: clamp(2rem, 5vw, 3rem);
	line-height: 1.1;
	margin: 1rem 0 0.75rem;
	color: var(--color-foreground);
}
.single-post__meta {
	font-size: 14px;
	color: color-mix(in srgb, var(--color-foreground) 60%, transparent);
	margin-bottom: 2rem;
}
.single-post__meta a { color: inherit; }
.single-post__meta a:hover { color: var(--color-primary); }
.single-post__meta-sep { margin: 0 0.5rem; }
.single-post__featured {
	border-radius: var(--card-radius);
	overflow: hidden;
	margin-bottom: 2.5rem;
}
.single-post__featured-image { width: 100%; height: auto; display: block; }
.single-post__page-links { margin-top: 2rem; font-size: 14px; }
.single-post__page-links-label { margin-right: 0.5rem; font-weight: 500; }
.single-post__footer { margin-top: 3rem; padding-top: 2rem; border-top: 1px solid var(--color-border); }
.single-post__tags-label {
	font-size: 12px;
	letter-spacing: 0.2em;
	text-transform: uppercase;
	color: color-mix(in srgb, var(--color-foreground) 55%, transparent);
	margin-bottom: 0.75rem;
}
.single-post__tags a {
	display: inline-block;
	margin: 0 0.5rem 0.5rem 0;
	padding: 0.35rem 0.75rem;
	border: 1px solid var(--color-border);
	border-radius: 999px;
	font-size: 13px;
	color: var(--color-foreground);
	text-decoration: none;
}
.single-post__tags a:hover { border-color: var(--color-primary); color: var(--color-primary); }

/* ==========================================================================
   WordPress block editor content (posts + pages)
   ========================================================================== */
.theme-post-content,
.entry-content.theme-post-content {
	font-size: 16px;
	line-height: 1.8;
	color: color-mix(in srgb, var(--color-foreground) 85%, transparent);
	max-width: 100%;
}
.theme-post-content > *:first-child { margin-top: 0; }
.theme-post-content > *:last-child { margin-bottom: 0; }
.theme-post-content p,
.entry-content p { margin-bottom: 1.25em; }
.theme-post-content h1,
.theme-post-content h2,
.theme-post-content h3,
.theme-post-content h4,
.theme-post-content h5,
.theme-post-content h6 {
	font-family: var(--font-display);
	color: var(--color-foreground);
	line-height: 1.2;
	margin: 2em 0 0.75em;
}
.theme-post-content h1 { font-size: 2.25rem; }
.theme-post-content h2 { font-size: 1.875rem; }
.theme-post-content h3 { font-size: 1.5rem; }
.theme-post-content h4 { font-size: 1.25rem; }
.theme-post-content h5,
.theme-post-content h6 { font-size: 1.125rem; }
.theme-post-content a { color: var(--color-primary); text-decoration: underline; text-underline-offset: 2px; }
.theme-post-content a:hover { color: color-mix(in srgb, var(--color-primary) 85%, black); }
.theme-post-content ul,
.theme-post-content ol { margin: 0 0 1.25em 1.25em; padding: 0; }
.theme-post-content li { margin-bottom: 0.5em; }
.theme-post-content blockquote,
.theme-post-content .wp-block-quote {
	margin: 2em 0;
	padding: 1.25rem 1.5rem;
	border-left: 3px solid var(--color-accent);
	background: var(--color-secondary);
	border-radius: 0 var(--radius) var(--radius) 0;
	font-style: italic;
}
.theme-post-content blockquote cite,
.theme-post-content .wp-block-quote cite {
	display: block;
	margin-top: 0.75rem;
	font-size: 14px;
	font-style: normal;
	color: color-mix(in srgb, var(--color-foreground) 60%, transparent);
}
.theme-post-content img,
.theme-post-content .wp-block-image img {
	max-width: 100%;
	height: auto;
	border-radius: var(--radius);
}
.theme-post-content figure,
.theme-post-content .wp-block-image { margin: 2em 0; }
.theme-post-content figcaption,
.theme-post-content .wp-block-image figcaption,
.theme-post-content .wp-element-caption {
	font-size: 13px;
	color: color-mix(in srgb, var(--color-foreground) 60%, transparent);
	text-align: center;
	margin-top: 0.5rem;
}
.theme-post-content .alignwide { width: min(100%, calc(100vw - 3rem)); margin-left: auto; margin-right: auto; }
.theme-post-content .alignfull {
	width: 100vw;
	max-width: 100vw;
	margin-left: calc(50% - 50vw);
	margin-right: calc(50% - 50vw);
}
.theme-post-content .wp-block-gallery { margin: 2em 0; }
.theme-post-content .wp-block-gallery .blocks-gallery-item,
.theme-post-content .wp-block-gallery .wp-block-image { margin: 0; }
.theme-post-content .wp-block-columns { gap: 2rem; margin-bottom: 2em; }
.theme-post-content .wp-block-column > *:first-child { margin-top: 0; }
.theme-post-content .wp-block-separator,
.theme-post-content hr {
	border: none;
	border-top: 1px solid var(--color-border);
	margin: 2.5em auto;
	max-width: 8rem;
}
.theme-post-content .wp-block-separator.is-style-wide,
.theme-post-content hr.is-style-wide { max-width: 100%; }
.theme-post-content .wp-block-spacer { clear: both; }
.theme-post-content pre,
.theme-post-content .wp-block-code,
.theme-post-content .wp-block-preformatted {
	background: var(--color-secondary);
	border: 1px solid var(--color-border);
	border-radius: var(--radius);
	padding: 1rem 1.25rem;
	overflow-x: auto;
	font-size: 14px;
	line-height: 1.6;
	margin: 1.5em 0;
}
.theme-post-content code {
	background: color-mix(in srgb, var(--color-secondary) 80%, var(--color-border));
	padding: 0.15em 0.35em;
	border-radius: 0.25rem;
	font-size: 0.9em;
}
.theme-post-content pre code { background: transparent; padding: 0; }
.theme-post-content table,
.theme-post-content .wp-block-table table {
	width: 100%;
	border-collapse: collapse;
	margin: 2em 0;
	font-size: 14px;
}
.theme-post-content table th,
.theme-post-content table td,
.theme-post-content .wp-block-table th,
.theme-post-content .wp-block-table td {
	border: 1px solid var(--color-border);
	padding: 0.75rem 1rem;
	text-align: left;
}
.theme-post-content table th { background: var(--color-secondary); font-weight: 600; }
.theme-post-content .wp-block-embed,
.theme-post-content .wp-block-embed__wrapper,
.theme-post-content .wp-block-video,
.theme-post-content iframe {
	max-width: 100%;
}
.theme-post-content .wp-block-embed { margin: 2em 0; }
.theme-post-content .wp-block-embed iframe,
.theme-post-content .wp-block-video video {
	width: 100%;
	border: 0;
	border-radius: var(--radius);
}
.theme-post-content .wp-block-cover {
	border-radius: var(--card-radius);
	overflow: hidden;
	margin: 2em 0;
	min-height: 20rem;
}
.theme-post-content .wp-block-button { margin: 1.5em 0; }
.theme-post-content .wp-block-button__link,
.theme-post-content .wp-element-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: var(--btn-height);
	padding: var(--btn-padding);
	border-radius: var(--btn-radius);
	background: var(--color-primary);
	color: var(--color-primary-foreground);
	font-family: var(--font-body);
	font-size: var(--btn-font-size);
	font-weight: var(--btn-font-weight);
	text-decoration: none;
	border: none;
}
.theme-post-content .wp-block-button__link:hover { opacity: 0.9; color: var(--color-primary-foreground); }
.theme-post-content .is-style-outline .wp-block-button__link {
	background: transparent;
	color: var(--color-primary);
	border: 1px solid var(--color-primary);
}
.theme-post-content .wp-block-pullquote {
	border-top: 3px solid var(--color-accent);
	border-bottom: 3px solid var(--color-accent);
	padding: 2rem 0;
	margin: 2.5em 0;
	text-align: center;
}
.theme-post-content .wp-block-media-text { gap: 2rem; margin: 2em 0; }
.theme-post-content .wp-block-media-text__media img { border-radius: var(--radius); }
.theme-post-content .has-text-align-center { text-align: center; }
.theme-post-content .has-text-align-right { text-align: right; }

/* ==========================================================================
   Subscribe section
   ========================================================================== */
.subscribe-section {
	background: var(--surface-background);
	color: var(--surface-foreground);
}
.subscribe-section__inner {
	display: grid;
	grid-template-columns: 1fr;
	gap: 2.5rem;
	align-items: center;
}
@media (min-width: 1024px) {
	.subscribe-section__inner { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 4rem; }
}
.subscribe-section__eyebrow { color: color-mix(in srgb, var(--surface-foreground) 75%, transparent); }
.subscribe-section__heading {
	font-size: 2.25rem;
	line-height: 1.05;
	color: var(--surface-foreground);
	overflow-wrap: break-word;
	margin-top: 0.5rem;
}
@media (min-width: 768px) { .subscribe-section__heading { font-size: 3rem; } }
@media (min-width: 1024px) { .subscribe-section__heading { font-size: 3.4rem; } }
.subscribe-section__subtext {
	margin-top: 1.25rem;
	font-size: 15px;
	line-height: 1.7;
	color: color-mix(in srgb, var(--surface-foreground) 80%, transparent);
	max-width: 32rem;
}
.subscribe-section__form-wrap {
	background: color-mix(in srgb, var(--surface-foreground) 6%, transparent);
	border: 1px solid color-mix(in srgb, var(--surface-foreground) 12%, transparent);
	border-radius: var(--card-radius);
	padding: 1.5rem;
}
@media (min-width: 768px) { .subscribe-section__form-wrap { padding: 2rem; } }
.subscribe-section__label {
	display: block;
	font-size: 12px;
	letter-spacing: 0.24em;
	text-transform: uppercase;
	color: color-mix(in srgb, var(--surface-foreground) 65%, transparent);
	margin-bottom: 0.75rem;
}
.subscribe-section__fields {
	display: grid;
	grid-template-columns: 1fr;
	gap: 0.75rem;
}
@media (min-width: 640px) {
	.subscribe-section__fields { grid-template-columns: 1fr auto; align-items: center; }
}
.subscribe-section__input {
	background: var(--color-background);
	color: var(--color-foreground);
	border-color: var(--color-border);
}
.subscribe-section__submit { white-space: nowrap; }
.subscribe-section__note {
	margin-top: 0.75rem;
	font-size: 13px;
	color: color-mix(in srgb, var(--surface-foreground) 65%, transparent);
	text-align: center;
}
.subscribe-section__embed iframe,
.subscribe-section__embed form {
	max-width: 100%;
}
.subscribe-section__embed {
	width: 100%;
	overflow: hidden;
}
.subscribe-section__embed > * { max-width: 100%; }
