/* =========================================================================
   Blessing Beauty — theme.css
   ========================================================================= */

:root {
	--font-display: 'Fraunces', serif;
	--font-body: 'Inter', sans-serif;
	--radius: 0.75rem;
	--shadow-soft: 0 4px 20px -4px rgb(12 7 3 / 0.14);
	--shadow-elevated: 0 14px 44px -14px rgb(12 7 3 / 0.32);
	--shadow-glow: 0 0 60px -14px color-mix(in srgb, var(--color-accent) 55%, transparent);
	--transition-smooth: cubic-bezier(0.4, 0, 0.2, 1);
	--header-height: 96px;
	--header-height-desktop: 128px;

	--btn-radius: 999px;
	--btn-height: 3rem;
	--btn-padding: 0 2rem;
	--btn-font-size: 12px;
	--btn-font-weight: 600;
	--btn-letter-spacing: 0.22em;
	--btn-text-transform: uppercase;
	--btn-icon-padding: 0.6rem;
	--card-radius: 1rem;
	--section-padding: 2rem;
	--checkout-gap: 2rem;
}

/* ---------------------------------------------------------------------
   Reset & base
   --------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html, body { max-width: 100%; overflow-x: clip; }
html { scroll-behavior: smooth; }
body {
	margin: 0;
	background: var(--color-background);
	color: var(--color-foreground);
	font-family: var(--font-body);
	-webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4, h5, h6 {
	font-weight: inherit;
	font-size: inherit;
	font-family: var(--font-display);
	margin: 0;
	letter-spacing: 0;
}
p { margin: 0; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; background: none; border: none; cursor: pointer; color: inherit; }
a,
button,
[role="button"],
input[type="submit"],
input[type="button"],
input[type="reset"],
label[for],
select,
.theme-btn,
.theme-nav-link,
.theme-cart-btn,
.theme-menu-toggle,
.category-tile,
.shop-cat-pill,
.shop-price-filter__toggle,
.service-card__cta,
.theme-product-card,
.theme-product-card__add,
.theme-card-link,
.story-card__link,
.site-footer__col a,
.site-footer__link,
.site-logo,
[data-contact-open],
[data-cart-open],
[data-section-anchor],
.theme-attr-pill {
	cursor: pointer;
}
input, textarea, select { font-family: inherit; font-size: inherit; }
ul { margin: 0; padding: 0; list-style: none; }
::selection { background: color-mix(in srgb, var(--color-accent) 25%, transparent); }

img:not(.cover-img):not(.hero-bg-img):not(.theme-product-card__img):not(.theme-hero-video) {
	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;
	display: block;
}

.text-accent-italic { font-style: italic; color: var(--color-accent); }

.container-wide {
	width: 100%;
	max-width: 80rem;
	margin: 0 auto;
	padding: 0 1.5rem;
}
@media (min-width: 1024px) { .container-wide { padding: 0 2rem; } }

main { padding-top: var(--header-height); }
body.theme-no-hero main { padding-top: var(--header-height); }
body:not(.theme-no-hero) main { padding-top: var(--header-height); }
@media (min-width: 768px) {
	main,
	body.theme-no-hero main,
	body:not(.theme-no-hero) main { padding-top: var(--header-height-desktop); }
}
.scroll-mt { scroll-margin-top: 6rem; }

/* WordPress admin bar — keep fixed header below it */
body.admin-bar .site-header { top: 32px; }
body.admin-bar .scroll-progress { top: 32px; }
@media screen and (max-width: 782px) {
	body.admin-bar .site-header { top: 46px; }
	body.admin-bar .scroll-progress { top: 46px; }
}

/* ---------------------------------------------------------------------
   Buttons
   --------------------------------------------------------------------- */
.theme-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.5rem;
	border-radius: var(--btn-radius);
	height: var(--btn-height);
	padding: var(--btn-padding);
	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: transform 0.3s var(--transition-smooth), background-color 0.3s, color 0.3s, opacity 0.2s, box-shadow 0.3s;
	white-space: nowrap;
}
.theme-btn svg { width: 1rem; height: 1rem; flex-shrink: 0; }
.theme-btn-primary { background: var(--color-primary); color: var(--color-primary-foreground); }
.theme-btn-primary:hover { background: var(--color-accent); color: var(--color-accent-foreground); transform: translateY(-2px); box-shadow: var(--shadow-elevated); }
.theme-btn-outline { background: transparent; color: var(--color-primary); border: 1px solid var(--color-primary); }
.theme-btn-outline:hover { background: var(--color-primary); color: var(--color-primary-foreground); }
.theme-btn-outline-dark { background: transparent; color: var(--color-foreground); border: 1px solid color-mix(in srgb, var(--color-foreground) 25%, transparent); }
.theme-btn-outline-dark:hover { border-color: var(--color-accent); color: var(--color-accent); }
.theme-btn-light { background: color-mix(in srgb, var(--color-background) 80%, transparent); color: var(--color-foreground); border: 1px solid color-mix(in srgb, var(--color-foreground) 15%, transparent); }
.theme-btn-light:hover { background: var(--color-background); transform: translateY(-2px); }
.theme-btn-hero-primary, .theme-btn-hero-outline,
.single-product .single_add_to_cart_button,
.add_to_cart_button { text-transform: uppercase; }
.theme-btn-hero-primary { background: var(--color-accent); color: var(--color-accent-foreground); box-shadow: var(--shadow-elevated); }
.theme-btn-hero-primary:hover { transform: translateY(-2px) scale(1.03); }
.theme-btn-hero-outline { background: transparent; color: var(--color-primary-foreground); border: 1px solid color-mix(in srgb, var(--color-primary-foreground) 80%, transparent); }
.theme-btn-hero-outline:hover { background: color-mix(in srgb, var(--color-primary-foreground) 10%, transparent); }

/* Gold sheen sweep on hover */
.gold-sheen { position: relative; overflow: hidden; }
.gold-sheen::after {
	content: '';
	position: absolute; inset: 0;
	background: linear-gradient(110deg, transparent 35%, color-mix(in srgb, var(--color-accent) 28%, transparent) 50%, transparent 65%);
	transform: translateX(-120%);
	transition: transform 0.9s var(--transition-smooth);
	pointer-events: none;
}
.gold-sheen:hover::after { transform: translateX(120%); }

/* ---------------------------------------------------------------------
   Header
   --------------------------------------------------------------------- */
.site-header {
	position: fixed; top: 0; left: 0; right: 0; z-index: 50;
	height: var(--header-height);
	background: color-mix(in srgb, var(--color-foreground) 95%, transparent);
	backdrop-filter: blur(8px);
	box-shadow: var(--shadow-elevated);
	border-bottom: 1px solid color-mix(in srgb, var(--color-accent) 30%, transparent);
	transition: background-color 0.3s;
}
@media (min-width: 768px) { .site-header { height: var(--header-height-desktop); } }
.site-header__inner { height: 100%; }
.site-nav { display: flex; align-items: center; justify-content: space-between; height: 100%; position: relative; }
.site-nav__side { display: none; align-items: center; gap: 1.75rem; flex: 1; }
.site-nav__side--left { justify-content: flex-start; }
.site-nav__side--right { justify-content: flex-end; }
@media (min-width: 1024px) { .site-nav__side { display: flex; } }
.theme-nav-link {
	position: relative;
	font-size: 13px; font-weight: 500; letter-spacing: 0.01em;
	color: color-mix(in srgb, var(--color-background) 80%, transparent);
	transition: color 0.3s;
	text-transform: none;
}
.theme-nav-link::after {
	content: ''; position: absolute; left: 0; bottom: -6px; height: 1px; width: 100%;
	background: var(--color-accent); transform: scaleX(0); transform-origin: right;
	transition: transform 0.3s;
}
.theme-nav-link:hover { color: var(--color-accent); }
.theme-nav-link:hover::after { transform: scaleX(1); transform-origin: left; }

.site-logo { display: none; align-items: center; justify-content: center; flex-shrink: 0; margin: 0 1rem; }
@media (min-width: 1024px) { .site-logo:not(.site-logo--mobile):not(.site-logo--footer) { display: flex; } }
.site-logo--mobile,
.site-logo--footer { display: flex; }
.site-logo--footer { margin: 0; }
.site-logo-img { height: var(--logo-height, 84px) !important; width: auto !important; display: block; border-radius: 50%; object-fit: contain; transition: transform 0.5s; }
.site-logo-img--footer { height: 9rem !important; width: auto !important; }
@media (min-width: 768px) { .site-logo-img--footer { height: 12rem !important; } }
.site-logo:hover .site-logo-img { transform: scale(1.05); }
.site-logo-text { font-family: var(--font-display); color: var(--color-background); font-size: 1.25rem; }
.site-logo-text--inline { margin-left: 0.5rem; }

.site-nav__mobile { display: flex; align-items: center; justify-content: space-between; width: 100%; height: 100%; }
@media (min-width: 1024px) { .site-nav__mobile { display: none; } }
.site-logo--mobile .site-logo-img { height: 50px !important; }
.site-nav__mobile-actions { display: flex; align-items: center; gap: 0.75rem; }

.theme-cart-btn {
	position: relative; display: inline-flex; align-items: center; justify-content: center;
	width: 2.25rem; height: 2.25rem; border-radius: 50%;
	border: 1px solid color-mix(in srgb, var(--color-accent) 50%, transparent);
	color: var(--color-background); transition: border-color 0.3s, color 0.3s;
}
.theme-cart-btn:hover { border-color: var(--color-accent); color: var(--color-accent); }
.theme-cart-count {
	position: absolute; top: -6px; right: -6px; min-width: 18px; height: 18px; padding: 0 4px;
	display: flex; align-items: center; justify-content: center;
	background: var(--color-primary); color: var(--color-primary-foreground);
	border-radius: 999px; font-size: 10px; font-weight: 600;
}
.theme-cart-count:empty { display: none; }

.theme-menu-toggle { padding: 0.5rem; margin-right: -0.5rem; color: var(--color-background); }
.theme-menu-toggle:hover { color: var(--color-accent); }

.theme-mobile-menu {
	border-top: 1px solid color-mix(in srgb, var(--color-accent) 30%, transparent);
	background: var(--color-foreground);
	box-shadow: var(--shadow-elevated);
	position: absolute; top: 100%; left: 0; right: 0;
	animation: fadeIn 0.3s var(--transition-smooth) forwards;
}
.theme-mobile-menu[hidden] { display: none; }
.theme-mobile-menu__list { display: flex; flex-direction: column; padding: 1rem 1.5rem; max-height: calc(100dvh - 96px); overflow-y: auto; }
.theme-mobile-menu__list .theme-nav-link {
	text-align: left; padding: 0.875rem 0; border-bottom: 1px solid color-mix(in srgb, var(--color-background) 15%, transparent);
	color: color-mix(in srgb, var(--color-background) 85%, transparent);
}
.theme-mobile-menu__list .theme-nav-link::after { display: none; }

/* ---------------------------------------------------------------------
   Reveal / scroll animations
   --------------------------------------------------------------------- */
.reveal-fade-up {
	opacity: 0;
	transform: translateY(32px);
	transition: opacity 0.7s cubic-bezier(0.25, 0.4, 0.25, 1), transform 0.7s cubic-bezier(0.25, 0.4, 0.25, 1);
	transition-delay: calc(var(--stagger, 0) * 0.1s);
}
.reveal-section.is-in-view .reveal-fade-up,
.reveal-fade-up.is-visible { opacity: 1; transform: none; }
body.is-customizer .reveal-fade-up { opacity: 1 !important; transform: none !important; }

.shimmer-loading {
	background: linear-gradient(90deg, var(--color-muted) 0%, var(--color-secondary) 50%, var(--color-muted) 100%);
	background-size: 200% 100%;
	animation: shimmer 1.6s ease-in-out infinite;
}
@keyframes shimmer { 0% { background-position: 200% 0; } 100% { background-position: -200% 0; } }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes slideUp { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }

.js-reveal-img, .js-parallax-img { opacity: 0; filter: blur(12px); transition: opacity 0.7s ease-out, filter 0.7s ease-out; }
.js-reveal-img.is-loaded, .js-parallax-img.is-loaded { opacity: 1; filter: blur(0); }

.scroll-progress {
	position: fixed; top: 0; left: 0; right: 0; height: 2px; transform-origin: 0 50%;
	background: linear-gradient(90deg, var(--color-accent), var(--color-primary));
	z-index: 100; pointer-events: none; transform: scaleX(0);
}

@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
}

/* ---------------------------------------------------------------------
   Page loader
   --------------------------------------------------------------------- */
#theme-page-loader {
	position: fixed; inset: 0; z-index: 200; display: flex; align-items: center; justify-content: center;
	background: var(--color-background);
	transition: opacity 0.6s cubic-bezier(0.25, 0.4, 0.25, 1);
}
#theme-page-loader.is-hidden { opacity: 0; pointer-events: none; }
.theme-page-loader__inner { display: flex; flex-direction: column; align-items: center; gap: 1.25rem; }
.theme-page-loader__icon {
	width: 3.5rem; height: 3.5rem; border-radius: 50%;
	background: color-mix(in srgb, var(--color-accent) 10%, transparent);
	display: flex; align-items: center; justify-content: center;
	box-shadow: 0 0 0 1px color-mix(in srgb, var(--color-accent) 25%, transparent);
	animation: loaderBounce 1.8s ease-in-out infinite;
}
.theme-page-loader__icon svg { color: var(--color-accent); animation: flicker 3.4s ease-in-out infinite; }
@keyframes loaderBounce { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }
@keyframes flicker { 0%, 100% { opacity: 1; transform: scale(1) rotate(0deg); } 25% { opacity: 0.85; transform: scale(1.06) rotate(-4deg); } 55% { opacity: 1; transform: scale(0.97) rotate(3deg); } 80% { opacity: 0.92; transform: scale(1.03) rotate(-2deg); } }
.theme-page-loader__track { height: 2px; width: 10rem; overflow: hidden; border-radius: 999px; background: var(--color-secondary); }
.theme-page-loader__bar { height: 100%; width: 50%; background: linear-gradient(90deg, transparent, var(--color-accent), transparent); animation: loaderSweep 1.2s ease-in-out infinite; }
@keyframes loaderSweep { from { transform: translateX(-100%); } to { transform: translateX(200%); } }
.theme-page-loader__label { font-size: 11px; letter-spacing: 0.32em; text-transform: uppercase; color: var(--color-muted-foreground); }

/* ---------------------------------------------------------------------
   Section heading typography (per-section scales — Section 2.2)
   --------------------------------------------------------------------- */
.section-eyebrow {
	display: block; font-size: 12px; letter-spacing: 0.32em; text-transform: uppercase;
	color: var(--color-accent); font-weight: 600; margin-bottom: 1rem;
}
.section-eyebrow--icon { display: inline-flex; align-items: center; gap: 0.5rem; }
.section-eyebrow--icon svg { color: var(--color-accent); flex-shrink: 0; }
.section-eyebrow--muted { color: var(--color-primary); font-weight: 400; }
.section-heading-block { text-align: center; margin-bottom: 2.5rem; }
.section-heading-block--narrow { max-width: 48rem; margin-left: auto; margin-right: auto; }
.section-subtitle { margin-top: 1.25rem; color: color-mix(in srgb, var(--color-foreground) 70%, transparent); font-size: 1rem; max-width: 40rem; margin-left: auto; margin-right: auto; line-height: 1.7; }
@media (min-width: 768px) { .section-heading-block { margin-bottom: 4rem; } .section-subtitle { font-size: 1.125rem; margin-top: 1.5rem; } }

.section-heading { font-family: var(--font-display); font-weight: 400; line-height: 1.05; }
.categories-section__heading, .featured-section__heading, .services-section__heading, .stories-section__heading, .shop-heading { font-size: 1.875rem; }
.about-section__heading, .owner-section__heading, .contact-card__title { font-size: 1.875rem; }
.about-section__heading { margin-bottom: 1.5rem; }
.owner-section__heading { margin-bottom: 1.5rem; }
.services-section__heading { margin-bottom: 1.25rem; }
.featured-section__heading { margin-bottom: 0; }
.shop-heading { margin-bottom: 2.5rem; }
.stories-section__heading { margin-bottom: 0; }
.contact-card__title { margin-bottom: 1.5rem; }
.contact-card__eyebrow { margin-bottom: 1rem; }
@media (min-width: 768px) {
	.categories-section__heading { font-size: 3rem; }
	.featured-section__heading, .services-section__heading, .stories-section__heading { font-size: 3rem; }
	.about-section__heading, .owner-section__heading { font-size: 3rem; }
	.shop-heading { font-size: 3rem; }
	.contact-card__title { font-size: 3rem; }
}
@media (min-width: 1024px) {
	.categories-section__heading, .stories-section__heading { font-size: 3.75rem; }
	.featured-section__heading, .services-section__heading, .about-section__heading, .owner-section__heading { font-size: 3.75rem; }
	.contact-card__title { font-size: 3.75rem; }
}

/* ---------------------------------------------------------------------
   Hero
   --------------------------------------------------------------------- */
.hero-section { position: relative; }
.hero-section__media {
	position: relative; width: 100%; min-height: calc(100svh - 96px); overflow: hidden; background: var(--color-foreground);
}
@media (min-width: 768px) { .hero-section__media { min-height: calc(100dvh - 128px); } }
.hero-section__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity 0.7s; transform: scale(1.08); animation: heroKenBurns 14s ease-out forwards; }
.hero-section__video.is-ready { opacity: 1; }
@keyframes heroKenBurns { to { transform: scale(1); } }
.hero-shimmer { position: absolute; inset: 0; z-index: 1; }
.hero-shimmer.is-hidden { display: none; }
.hero-section__overlay { position: absolute; inset: 0; background: linear-gradient(to bottom, color-mix(in srgb, var(--color-foreground) 55%, transparent), color-mix(in srgb, var(--color-foreground) 40%, transparent), color-mix(in srgb, var(--color-foreground) 70%, transparent)); }
.hero-section__content { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; text-align: center; padding: 4rem 0; }
.hero-section__inner { display: flex; max-width: 56rem; flex-direction: column; align-items: center; padding: 0 0.5rem; }
.hero-section__title { color: var(--color-primary-foreground); font-weight: 400; line-height: 1.02; font-size: 2.25rem; }
.hero-section__title-accent { font-style: italic; color: var(--color-accent); }
@media (min-width: 640px) { .hero-section__title { font-size: 3rem; } }
@media (min-width: 768px) { .hero-section__title { font-size: 4.5rem; } }
@media (min-width: 1024px) { .hero-section__title { font-size: 6rem; } }
.hero-section__subtitle { margin-top: 1.75rem; max-width: 42rem; color: color-mix(in srgb, var(--color-primary-foreground) 90%, transparent); font-size: 1rem; line-height: 1.7; }
@media (min-width: 768px) { .hero-section__subtitle { font-size: 1.25rem; } }
.hero-section__actions { margin-top: 2.5rem; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1rem; }
@media (min-width: 640px) { .hero-section__actions { flex-direction: row; } }

/* ---------------------------------------------------------------------
   Category tiles
   --------------------------------------------------------------------- */
.categories-section { background: var(--color-background); padding: 4rem 0; }
@media (min-width: 768px) { .categories-section { padding: 5rem 0; } }
.category-tiles { display: flex; flex-wrap: wrap; justify-content: center; gap: 2rem 3rem; max-width: 56rem; margin: 0 auto; }
.category-tile { display: flex; flex-direction: column; align-items: center; text-align: center; }
.category-tile__icon {
	margin-bottom: 1.25rem; display: flex; height: 7rem; width: 7rem; align-items: center; justify-content: center;
	border-radius: 50%; background: color-mix(in srgb, var(--color-primary) 10%, transparent);
	box-shadow: 0 0 0 2px color-mix(in srgb, var(--color-primary) 25%, transparent);
	color: var(--color-primary); transition: transform 0.5s, box-shadow 0.5s;
}
.category-tile__icon svg { transition: transform 0.5s; }
.category-tile:hover .category-tile__icon { transform: scale(1.1); box-shadow: var(--shadow-glow); }
.category-tile:hover .category-tile__icon svg { transform: translateY(-4px); }
@media (min-width: 768px) { .category-tile__icon { height: 10rem; width: 10rem; } .category-tile__icon svg { width: 4rem; height: 4rem; } }
.category-tile__label { display: block; margin-bottom: 0.375rem; font-size: 12px; font-weight: 600; letter-spacing: 0.24em; text-transform: uppercase; color: var(--color-accent); }
.category-tile__title { font-family: var(--font-display); font-size: 1.125rem; color: var(--color-foreground); }
@media (min-width: 768px) { .category-tile__title { font-size: 1.5rem; } }

/* ---------------------------------------------------------------------
   Featured
   --------------------------------------------------------------------- */
.featured-section { background: var(--color-background); padding: 4rem 0; }
@media (min-width: 768px) { .featured-section { padding: 6rem 0; } }
.featured-section__product { display: flex; justify-content: center; }
.featured-section__product .theme-product-card-wrap { width: 100%; max-width: 24rem; }
.featured-section__cta { text-align: center; margin-top: 3.5rem; }

/* ---------------------------------------------------------------------
   About
   --------------------------------------------------------------------- */
.about-section { background: var(--color-background); padding: 5rem 0; }
@media (min-width: 768px) { .about-section { padding: 7rem 0; } }
.about-section__grid { display: grid; grid-template-columns: 1fr; gap: 3rem; align-items: stretch; }
@media (min-width: 1024px) { .about-section__grid { grid-template-columns: 1fr 1fr; gap: 4rem; } }
.about-section__media { position: relative; overflow: hidden; border-radius: 1rem; min-height: 32rem; height: 100%; background: var(--color-secondary); }
.about-section__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; }
.about-section__copy { display: flex; flex-direction: column; justify-content: center; }
.about-section__p { color: color-mix(in srgb, var(--color-foreground) 85%, transparent); line-height: 1.7; margin-bottom: 1.25rem; font-size: 1rem; }
@media (min-width: 768px) { .about-section__p { font-size: 1.125rem; } }
.about-section__badges { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 0.5rem; }
.about-badge {
	display: inline-flex; align-items: center; gap: 0.5rem; border-radius: 999px;
	border: 1px solid color-mix(in srgb, var(--color-accent) 35%, transparent);
	background: color-mix(in srgb, var(--color-accent) 5%, transparent);
	padding: 0.5rem 1rem; font-size: 12px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--color-accent);
	transition: transform 0.3s, background-color 0.3s;
}
.about-badge:hover { transform: translateY(-2px); background: color-mix(in srgb, var(--color-accent) 15%, transparent); }

/* ---------------------------------------------------------------------
   Owner / founder story
   --------------------------------------------------------------------- */
.owner-section { background: var(--color-secondary); padding: 5rem 0; }
@media (min-width: 768px) { .owner-section { padding: 7rem 0; } }
.owner-section__grid { display: grid; grid-template-columns: 1fr; gap: 3rem; align-items: center; }
@media (min-width: 1024px) { .owner-section__grid { grid-template-columns: 0.85fr 1fr; gap: 5rem; } }
.owner-section__media { position: relative; order: 1; }
@media (min-width: 1024px) { .owner-section__media { order: 2; } }
.owner-section__img { position: relative; width: 100%; aspect-ratio: 4 / 5; border-radius: 2rem; box-shadow: var(--shadow-elevated); object-fit: cover; object-position: top; }
.owner-section__badge {
	position: absolute; bottom: -1.5rem; left: 1.5rem; display: flex; align-items: center; gap: 0.75rem;
	border-radius: 1rem; background: var(--color-background); border: 1px solid var(--color-border);
	box-shadow: var(--shadow-elevated); padding: 1rem 1.5rem;
}
.owner-section__badge-icon { display: flex; height: 2.75rem; width: 2.75rem; align-items: center; justify-content: center; border-radius: 50%; background: color-mix(in srgb, var(--color-accent) 15%, transparent); color: var(--color-accent); }
.owner-section__badge-name { display: block; font-family: var(--font-display); font-size: 1.125rem; line-height: 1; }
.owner-section__badge-role { display: block; margin-top: 0.25rem; font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--color-muted-foreground); }
.owner-section__copy { order: 2; }
@media (min-width: 1024px) { .owner-section__copy { order: 1; } }
.owner-section__p { color: color-mix(in srgb, var(--color-foreground) 85%, transparent); line-height: 1.7; margin-bottom: 1.25rem; font-size: 1rem; }
@media (min-width: 768px) { .owner-section__p { font-size: 1.125rem; } }
.owner-section__quote { font-family: var(--font-display); font-style: italic; font-size: 1.25rem; color: color-mix(in srgb, var(--color-foreground) 80%, transparent); border-left: 2px solid var(--color-accent); padding-left: 1.25rem; margin-bottom: 2.25rem; }
@media (min-width: 768px) { .owner-section__quote { font-size: 1.5rem; } }
.owner-section__actions { display: flex; flex-direction: column; gap: 0.75rem; }
@media (min-width: 640px) { .owner-section__actions { flex-direction: row; } }

/* ---------------------------------------------------------------------
   Services
   --------------------------------------------------------------------- */
.services-section { background: var(--color-background); padding: 5rem 0; }
@media (min-width: 768px) { .services-section { padding: 7rem 0; } }
.services-grid { display: grid; grid-template-columns: repeat(1, minmax(0, 1fr)); gap: 1.5rem; max-width: 72rem; margin: 0 auto; }
@media (min-width: 640px) { .services-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .services-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2rem; } }
.service-card {
	display: flex; flex-direction: column; align-items: center; text-align: center;
	border-radius: 1rem; background: var(--color-card); border: 1px solid var(--color-border);
	padding: 2rem; transition: box-shadow 0.5s, border-color 0.5s, transform 0.5s;
}
.service-card:hover { box-shadow: var(--shadow-elevated); border-color: color-mix(in srgb, var(--color-accent) 50%, transparent); transform: translateY(-6px); }
.service-card__icon {
	margin-bottom: 1.5rem; display: flex; height: 4rem; width: 4rem; align-items: center; justify-content: center;
	border-radius: 1rem; background: color-mix(in srgb, var(--color-accent) 15%, transparent); color: var(--color-accent);
	transition: transform 0.5s;
}
.service-card:hover .service-card__icon { transform: scale(1.1) rotate(3deg); }
.service-card__title { font-size: 1.25rem; margin-bottom: 1rem; }
@media (min-width: 768px) { .service-card__title { font-size: 1.5rem; } }
.service-card__text { font-size: 15px; color: color-mix(in srgb, var(--color-foreground) 80%, transparent); line-height: 1.6; max-width: 17rem; margin-bottom: 2rem; flex-grow: 1; }
.service-card__cta { font-size: 12px; letter-spacing: 0.18em; text-transform: uppercase; font-weight: 600; color: var(--color-accent); transition: opacity 0.3s; }
.service-card__cta:hover { opacity: 0.7; }

/* ---------------------------------------------------------------------
   Shop section
   --------------------------------------------------------------------- */
.shop-section { background: var(--color-background); padding: 4rem 0; }
@media (min-width: 768px) { .shop-section { padding: 6rem 0; } }
.shop-section__header { text-align: center; margin-bottom: 3rem; }
.shop-search { position: relative; max-width: 28rem; margin: 0 auto 2rem; }
.shop-search svg { position: absolute; left: 0; top: 50%; transform: translateY(-50%); color: var(--color-muted-foreground); }
.shop-search__input {
	width: 100%; padding: 0.5rem 0 0.5rem 1.75rem; background: transparent; border: none;
	border-bottom: 1px solid var(--color-border); font-size: 1rem; color: var(--color-foreground);
	transition: border-color 0.3s;
}
.shop-search__input::placeholder { color: var(--color-muted-foreground); }
.shop-search__input:focus { outline: none; border-color: var(--color-foreground); }
.shop-cat-pills { display: flex; gap: 0.5rem; overflow-x: auto; margin: 0 -1.5rem 1rem; padding: 0 1.5rem; scrollbar-width: none; }
@media (min-width: 768px) { .shop-cat-pills { overflow: visible; flex-wrap: wrap; justify-content: center; margin: 0 0 1rem; padding: 0; } }
.shop-cat-pills::-webkit-scrollbar { display: none; }
.shop-cat-pill {
	flex-shrink: 0; border-radius: 999px; border: 1px solid var(--color-border);
	padding: 0.5rem 1.25rem; font-size: 12px; letter-spacing: 0.2em; text-transform: uppercase;
	background: transparent; color: var(--color-foreground); transition: all 0.3s;
}
.shop-cat-pill:hover { border-color: var(--color-primary); color: var(--color-primary); }
.shop-cat-pill.is-active { background: var(--color-primary); color: var(--color-primary-foreground); border-color: var(--color-primary); }
.shop-price-filter { display: flex; flex-direction: column; align-items: center; gap: 0.75rem; }
.shop-price-filter__toggle { display: flex; align-items: center; gap: 0.5rem; padding: 0.5rem 1rem; font-size: 12px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--color-muted-foreground); transition: color 0.3s; }
.shop-price-filter__toggle:hover { color: var(--color-foreground); }
.shop-price-filter__toggle svg { transition: transform 0.3s; }
.shop-price-filter__toggle.is-open svg { transform: rotate(180deg); }
.shop-price-filter__panel { width: 100%; max-width: 24rem; padding: 0.5rem 0; }
.shop-price-filter__panel[hidden] { display: none; }
.price-range-wrapper { position: relative; height: 1.5rem; margin-bottom: 0.75rem; }
.range-track-bg, .range-track-fill { position: absolute; height: 4px; top: 50%; transform: translateY(-50%); pointer-events: none; border-radius: 999px; }
.range-track-bg { left: 0; right: 0; background: var(--color-secondary); }
.range-track-fill { background: var(--color-primary); }
.range-input { position: absolute; left: 0; top: 0; width: 100%; height: 100%; margin: 0; -webkit-appearance: none; appearance: none; background: transparent; pointer-events: none; }
.range-input::-webkit-slider-thumb { -webkit-appearance: none; pointer-events: auto; width: 18px; height: 18px; border-radius: 50%; background: var(--color-background); border: 2px solid var(--color-primary); cursor: pointer; margin-top: 0; }
.range-input::-moz-range-thumb { pointer-events: auto; width: 18px; height: 18px; border-radius: 50%; background: var(--color-background); border: 2px solid var(--color-primary); cursor: pointer; }
.range-input::-moz-range-track { background: transparent; }
.range-input--max { z-index: 3; }
.range-input--min { z-index: 4; }
.price-range-labels { display: flex; justify-content: space-between; font-size: 14px; color: var(--color-muted-foreground); }
.shop-section__note { text-align: center; font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--color-muted-foreground); margin-bottom: 1.5rem; }
.shop-section__empty { text-align: center; padding: 5rem 0; color: var(--color-muted-foreground); }
.shop-section__empty:not([hidden]) { display: block; }
.shop-section__more { text-align: center; margin-top: 3rem; }

/* Product grid — equal height cards (Section 31.9) */
.theme-product-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.5rem; align-items: stretch; }
@media (min-width: 768px) { .theme-product-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2rem; } }
@media (min-width: 1024px) { .theme-product-grid { gap: 2.5rem; } }
.theme-product-grid--related { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 1024px) { .theme-product-grid--related { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.theme-product-card-wrap { display: flex; height: 100%; }
.theme-product-card-wrap[data-shop-item] { display: flex; }
.theme-product-card-wrap.is-hidden-filter { display: none; }
.theme-product-card-wrap.is-extra:not(.is-shown) { display: none; }

.theme-product-card { position: relative; display: flex; flex-direction: column; width: 100%; 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__media,
.theme-product-card__add,
.theme-product-card__badge { pointer-events: none; }
.theme-product-card__add { pointer-events: auto; position: relative; z-index: 3; }

.theme-product-card__media {
	position: relative; aspect-ratio: 1 / 1; border-radius: 1rem; overflow: hidden; margin-bottom: 1.25rem;
	background: var(--color-card); border: 1px solid color-mix(in srgb, var(--color-accent) 30%, transparent);
	box-shadow: var(--shadow-soft); transition: box-shadow 0.5s;
}
.theme-product-card:hover .theme-product-card__media { box-shadow: var(--shadow-elevated); }
.theme-product-card__img {
	position: absolute !important;
	inset: 0 !important;
	width: 100% !important;
	height: 100% !important;
	max-width: none !important;
	object-fit: cover !important;
	display: block !important;
	transition: transform 0.7s cubic-bezier(0.25, 0.4, 0.25, 1);
}
.theme-product-card:hover .theme-product-card__img { transform: scale(1.04); }
.theme-product-card__badge {
	position: absolute; top: 1rem; z-index: 1; border-radius: 0.375rem; padding: 0.25rem 0.75rem;
	font-size: 11px; font-weight: 500; letter-spacing: 0.02em;
}
.theme-product-card__badge--new { left: 1rem; background: var(--color-accent); color: var(--color-accent-foreground); }
.theme-product-card__badge--soldout { right: 1rem; background: var(--color-foreground); color: var(--color-background); }
.theme-product-card__badge--limited { right: 1rem; background: color-mix(in srgb, var(--color-foreground) 85%, transparent); color: var(--color-background); }
.theme-product-card__add {
	position: absolute; inset-inline: 1rem; bottom: 1rem; padding: 0.75rem 0;
	border-radius: 999px; background: var(--color-primary); color: var(--color-primary-foreground);
	border: 1px solid var(--color-primary); font-size: 11px; letter-spacing: 0.22em; text-transform: uppercase; font-weight: 600;
	opacity: 0; transform: translateY(0.5rem); transition: opacity 0.3s, transform 0.3s, background-color 0.3s, color 0.3s;
	text-align: center;
}
.theme-product-card:hover .theme-product-card__add { opacity: 1; transform: translateY(0); }
.theme-product-card__add:hover { background: var(--color-accent); color: var(--color-accent-foreground); border-color: var(--color-accent); }
.theme-product-card__info { padding: 0 0.25rem; display: flex; flex-direction: column; gap: 0.375rem; flex-grow: 1; }
.theme-product-card__cat { font-size: 12px; text-transform: uppercase; letter-spacing: 0.18em; color: var(--color-muted-foreground); }
.theme-product-card__title { font-size: 1rem; font-weight: 500; line-height: 1.4; color: var(--color-foreground); transition: color 0.3s; }
.theme-product-card:hover .theme-product-card__title { color: var(--color-primary); }
@media (min-width: 768px) { .theme-product-card__title { font-size: 1.125rem; } }
.theme-product-card__price { font-size: 1rem; color: color-mix(in srgb, var(--color-foreground) 85%, transparent); }
.theme-product-card__price del { opacity: 0.5; margin-right: 0.4em; }
.theme-product-card__price ins { text-decoration: none; }

/* ---------------------------------------------------------------------
   Stories / blog
   --------------------------------------------------------------------- */
.stories-section { background: var(--color-secondary); padding: 5rem 0; }
@media (min-width: 768px) { .stories-section { padding: 7rem 0; } }
.stories-grid { display: grid; grid-template-columns: 1fr; gap: 2rem; }
@media (min-width: 768px) { .stories-grid { grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr)); } }
.story-card { display: flex; flex-direction: column; overflow: hidden; border-radius: 1rem; background: var(--color-background); border: 1px solid var(--color-border); transition: box-shadow 0.5s, border-color 0.5s, transform 0.5s; }
.story-card:hover { box-shadow: var(--shadow-elevated); border-color: color-mix(in srgb, var(--color-accent) 50%, transparent); transform: translateY(-6px); }
.story-card__link { display: flex; flex-direction: column; height: 100%; }
.story-card__media { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--color-card); }
.story-card__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s; }
.story-card:hover .story-card__img { transform: scale(1.05); }
.story-card__body { display: flex; flex: 1; flex-direction: column; padding: 1.75rem; }
.story-card__category { margin-bottom: 0.75rem; font-size: 12px; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; color: var(--color-accent); }
.story-card__title { font-size: 1.25rem; line-height: 1.35; margin-bottom: 0.75rem; transition: color 0.3s; }
.story-card:hover .story-card__title { color: var(--color-primary); }
@media (min-width: 768px) { .story-card__title { font-size: 1.5rem; } }
.story-card__excerpt { font-size: 15px; color: color-mix(in srgb, var(--color-foreground) 75%, transparent); line-height: 1.6; margin-bottom: 1.5rem; flex-grow: 1; }
.story-card__meta { font-size: 12px; text-transform: uppercase; letter-spacing: 0.16em; color: var(--color-muted-foreground); }

/* ---------------------------------------------------------------------
   Contact
   --------------------------------------------------------------------- */
.contact-section { position: relative; overflow: hidden; padding: 0 !important; }
.contact-section__media { position: relative; min-height: 85vh; width: 100%; display: flex; align-items: center; justify-content: center; padding: 6rem 1rem; background: var(--color-foreground); }
.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, color-mix(in srgb, var(--color-foreground) 70%, transparent), color-mix(in srgb, var(--color-foreground) 55%, transparent), color-mix(in srgb, var(--color-foreground) 75%, transparent)); }
.contact-section__inner { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; padding: 6rem 1rem; }
.contact-card { position: relative; z-index: 10; width: 100%; max-width: 56rem; border-radius: 2rem; overflow: hidden; box-shadow: var(--shadow-elevated); backdrop-filter: blur(6px);
	background: linear-gradient(135deg, color-mix(in srgb, var(--color-background) 96%, transparent) 0%, color-mix(in srgb, var(--color-secondary) 93%, transparent) 55%, color-mix(in srgb, var(--color-accent) 30%, transparent) 100%);
}
.contact-card__inner { padding: 3.5rem 2rem; text-align: center; }
@media (min-width: 768px) { .contact-card__inner { padding: 5rem 4rem; } }
.contact-card__eyebrow { font-family: var(--font-display); font-style: italic; color: color-mix(in srgb, var(--color-primary) 80%, transparent); font-size: 1.125rem; margin-bottom: 1rem; }
.contact-card__subtitle { color: color-mix(in srgb, var(--color-foreground) 85%, transparent); line-height: 1.7; max-width: 36rem; margin: 1.5rem auto 2.5rem; font-size: 1rem; }
@media (min-width: 768px) { .contact-card__subtitle { font-size: 1.125rem; } }
.contact-card__actions { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 0.75rem; margin-bottom: 2rem; }
@media (min-width: 640px) { .contact-card__actions { flex-direction: row; } }
.contact-card__notes { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 0.375rem 1rem; font-size: 13px; color: color-mix(in srgb, var(--color-foreground) 70%, transparent); }
.contact-card__notes span { display: inline-flex; align-items: center; gap: 0.375rem; }
.contact-card__notes svg { color: var(--color-accent); flex-shrink: 0; }
.contact-card__notes-sep { color: color-mix(in srgb, var(--color-foreground) 30%, transparent); }

/* ---------------------------------------------------------------------
   Footer
   --------------------------------------------------------------------- */
.site-footer { border-top: 1px solid color-mix(in srgb, var(--color-accent) 35%, transparent); background: var(--color-foreground); color: var(--color-background); }
/* Horizontal padding must live here — the shorthand would otherwise wipe
   .container-wide's side gutters when both classes share the same element. */
.site-footer__inner { padding: 4rem 1.5rem; }
@media (min-width: 640px) { .site-footer__inner { padding: 4rem 1.75rem; } }
@media (min-width: 1024px) { .site-footer__inner { padding: 5rem 2rem; } }
.site-footer__top { display: flex; flex-direction: column; align-items: flex-start; justify-content: space-between; gap: 1.5rem; margin-bottom: 3rem; padding-bottom: 2.5rem; border-bottom: 1px solid color-mix(in srgb, var(--color-background) 15%, transparent); }
@media (min-width: 640px) { .site-footer__top { flex-direction: row; align-items: center; } }
.site-logo--footer .site-logo-img { height: 9rem !important; }
@media (min-width: 768px) { .site-logo--footer .site-logo-img { height: 12rem !important; } }
.site-footer__contact { max-width: 36rem; }
@media (min-width: 640px) { .site-footer__contact { text-align: right; } }
.site-footer__tagline { font-size: 14px; color: color-mix(in srgb, var(--color-background) 70%, transparent); line-height: 1.6; font-style: italic; }
@media (min-width: 768px) { .site-footer__tagline { font-size: 1rem; } }
.site-footer__link { display: inline-flex; align-items: center; gap: 0.5rem; color: color-mix(in srgb, var(--color-background) 70%, transparent); font-size: 14px; transition: color 0.3s; }
.site-footer__link:hover { color: var(--color-accent); }
.site-footer__columns { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2.5rem; }
@media (min-width: 768px) { .site-footer__columns { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 3rem; } }
.site-footer__col-title { display: inline-flex; align-items: center; gap: 0.5rem; font-size: 1.25rem; color: var(--color-background); margin-bottom: 1.25rem; }
.site-footer__col-title svg { color: var(--color-accent); flex-shrink: 0; }
.site-footer__col ul { display: flex; flex-direction: column; gap: 0.75rem; }
.site-footer__col a { display: inline-block; font-size: 14px; color: color-mix(in srgb, var(--color-background) 70%, transparent); transition: color 0.3s, transform 0.3s; }
.site-footer__col a:hover { color: var(--color-accent); transform: translateX(4px); }
.site-footer__bottom { margin-top: 3.5rem; padding-top: 1.5rem; border-top: 1px solid color-mix(in srgb, var(--color-background) 15%, transparent); display: flex; flex-direction: column; align-items: center; justify-content: space-between; gap: 0.75rem; text-align: center; }
@media (min-width: 640px) { .site-footer__bottom { flex-direction: row; text-align: left; } }
.site-footer__quote { font-size: 13px; color: var(--color-accent); font-family: var(--font-display); font-style: italic; letter-spacing: 0.02em; }
.site-footer__copyright { font-size: 12px; color: color-mix(in srgb, var(--color-background) 55%, transparent); letter-spacing: 0.02em; }

/* ---------------------------------------------------------------------
   Cart drawer + overlay
   --------------------------------------------------------------------- */
#theme-cart-overlay {
	position: fixed; inset: 0; z-index: 60; background: color-mix(in srgb, var(--color-foreground) 20%, transparent);
	opacity: 0; pointer-events: none; transition: opacity 0.3s;
}
body.cart-open #theme-cart-overlay { opacity: 1; pointer-events: auto; }
#theme-cart-drawer {
	position: fixed; right: 0; top: 0; height: 100%; width: 100%; max-width: 28rem; z-index: 61;
	background: var(--color-background); box-shadow: var(--shadow-elevated);
	display: flex; flex-direction: column;
	transform: translateX(100%); transition: transform 0.4s var(--transition-smooth);
}
body.cart-open #theme-cart-drawer { transform: translateX(0); }
#theme-cart-drawer.is-updating { opacity: 0.6; pointer-events: none; }
.theme-cart-drawer__header { display: flex; align-items: center; justify-content: space-between; padding: 1.5rem; border-bottom: 1px solid var(--color-border); }
.theme-cart-drawer__title { font-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; }
.theme-cart-drawer__empty svg { color: var(--color-muted-foreground); margin-bottom: 1rem; }
.theme-cart-drawer__empty p { color: var(--color-muted-foreground); margin-bottom: 1.5rem; }
.theme-cart-drawer__items { flex: 1; overflow: auto; padding: 1.5rem; display: flex; flex-direction: column; gap: 1.5rem; }
.theme-cart-item { display: flex; gap: 1rem; }
.theme-cart-item__image { width: 5rem; height: 6rem; background: var(--color-secondary); overflow: hidden; flex-shrink: 0; border-radius: 0.5rem; display: block; position: relative; }
.theme-cart-item__image img {
	position: absolute;
	inset: 0;
	width: 100% !important;
	height: 100% !important;
	max-width: none !important;
	object-fit: cover;
	display: block;
}
.theme-cart-item__body { flex: 1; min-width: 0; }
.theme-cart-item__name { font-size: 14px; font-weight: 500; display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; transition: opacity 0.3s; }
.theme-cart-item__name:hover { opacity: 0.7; }
.theme-cart-item__price { font-size: 14px; color: var(--color-muted-foreground); margin-top: 0.125rem; }
.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: 0.25rem; transition: background-color 0.2s; width: 1.5rem; height: 1.5rem; display: inline-flex; align-items: center; justify-content: center; }
.theme-cart-item__qty-btn:hover { background: var(--color-secondary); }
.theme-cart-item__qty { font-size: 14px; width: 1.5rem; text-align: center; }
.theme-cart-item__remove { margin-left: auto; font-size: 14px; color: var(--color-muted-foreground); transition: color 0.2s; }
.theme-cart-item__remove:hover { color: var(--color-foreground); }
.theme-cart-drawer__footer { padding: 1.5rem; border-top: 1px solid var(--color-border); display: flex; flex-direction: column; gap: 1rem; }
.theme-cart-drawer__subtotal { display: flex; justify-content: space-between; font-size: 14px; }
.theme-cart-drawer__subtotal span:first-child { color: var(--color-muted-foreground); }
.theme-cart-drawer__subtotal span:last-child { font-weight: 500; }
.theme-cart-drawer__shipping-note { font-size: 14px; color: var(--color-muted-foreground); }
.theme-cart-drawer__checkout { width: 100%; }
.theme-cart-drawer__empty-btn { width: 100%; }

/* Hide WooCommerce's injected "View cart" link everywhere */
.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; }

/* ---------------------------------------------------------------------
   Contact modal
   --------------------------------------------------------------------- */
#theme-contact-modal-overlay { position: fixed; inset: 0; z-index: 70; background: color-mix(in srgb, var(--color-foreground) 45%, transparent); opacity: 0; pointer-events: none; transition: opacity 0.3s; }
body.contact-open #theme-contact-modal-overlay { opacity: 1; pointer-events: auto; }
#theme-contact-modal {
	position: fixed; top: 50%; left: 50%; z-index: 71; width: calc(100% - 2rem); max-width: 32rem; max-height: 90vh; overflow-y: auto;
	background: var(--color-background); border-radius: 1rem; box-shadow: var(--shadow-elevated);
	transform: translate(-50%, -48%) scale(0.96); opacity: 0; pointer-events: none;
	transition: transform 0.3s var(--transition-smooth), opacity 0.3s;
}
body.contact-open #theme-contact-modal { transform: translate(-50%, -50%) scale(1); opacity: 1; pointer-events: auto; }
.theme-contact-modal__panel { padding: 1.75rem; position: relative; }
.theme-contact-modal__close { position: absolute; top: 1.25rem; right: 1.25rem; padding: 0.375rem; color: var(--color-muted-foreground); }
.theme-contact-modal__close:hover { color: var(--color-foreground); }
.theme-contact-modal__title { font-size: 1.5rem; margin-bottom: 0.5rem; }
.theme-contact-modal__subtitle { color: var(--color-muted-foreground); font-size: 14px; margin-bottom: 1rem; }
.theme-contact-modal__email { display: flex; align-items: center; gap: 0.5rem; font-size: 14px; color: var(--color-muted-foreground); margin-bottom: 1.25rem; }
.theme-contact-modal__email a:hover { color: var(--color-foreground); }
.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: 640px) { .theme-contact-form__row { grid-template-columns: 1fr 1fr; } }
.theme-contact-form__field label { font-size: 14px; font-weight: 500; margin-bottom: 0.375rem; display: block; }
.theme-contact-form__field input, .theme-contact-form__field select, .theme-contact-form__field textarea {
	width: 100%; padding: 0.625rem 0.75rem; background: var(--color-background); border: 1px solid var(--color-border);
	border-radius: 0.375rem; font-size: 1rem; transition: box-shadow 0.3s;
}
.theme-contact-form__field input::placeholder, .theme-contact-form__field textarea::placeholder { color: var(--color-muted-foreground); }
.theme-contact-form__field input:focus, .theme-contact-form__field select:focus, .theme-contact-form__field textarea:focus { outline: none; box-shadow: 0 0 0 2px color-mix(in srgb, var(--color-primary) 50%, transparent); }
.theme-contact-form__field textarea { resize: none; }
.theme-contact-form__actions { display: flex; justify-content: flex-end; }
.theme-contact-form__actions .theme-btn { height: 2.75rem; padding: 0 1.5rem; }
.theme-contact-form__success { text-align: center; padding: 2rem 0; }
.theme-contact-form__success-icon { width: 3.5rem; height: 3.5rem; background: var(--color-primary); color: var(--color-primary-foreground); display: flex; align-items: center; justify-content: center; margin: 0 auto 1rem; border-radius: 50%; }
.theme-contact-form__success h3 { font-size: 1.25rem; margin-bottom: 0.5rem; }
.theme-contact-form__success p { font-size: 14px; color: var(--color-muted-foreground); }
.theme-contact-form__error { color: #c52020; font-size: 13px; margin-top: -0.25rem; }

/* ---------------------------------------------------------------------
   Single product (Lovable ProductDetail parity)
   --------------------------------------------------------------------- */
.single-product { padding-top: 1.5rem; background: var(--color-background); }
@media (min-width: 1024px) { .single-product { padding-top: 2rem; } }
.single-product__breadcrumb { padding: 0.75rem 0; font-size: 13px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--color-muted-foreground); font-family: var(--font-body); }
.single-product__breadcrumb a { transition: color 0.3s; }
.single-product__breadcrumb a:hover { color: var(--color-foreground); }
.single-product__breadcrumb-sep { margin: 0 0.5rem; opacity: 0.5; }
.single-product__breadcrumb-current { color: var(--color-foreground); }
.theme-product-layout { display: grid; grid-template-columns: 1fr; gap: 2.5rem; padding: 1rem 0 6rem; align-items: start; min-width: 0; }
@media (min-width: 1024px) {
	.theme-product-layout { grid-template-columns: 7fr 5fr; gap: 4rem; }
	.theme-product-info { padding-left: 1rem; position: sticky; top: 7rem; align-self: start; }
}
.theme-product-gallery, .theme-product-info { min-width: 0; max-width: 100%; }
.theme-product-gallery__main { position: relative; aspect-ratio: 1 / 1; background: var(--color-secondary); overflow: hidden; border: 1px solid color-mix(in srgb, var(--color-accent) 35%, transparent); box-shadow: var(--shadow-soft); }
.theme-product-gallery__img {
	width: 100%; height: 100%; object-fit: cover;
	transition: transform 0.7s ease-out;
}
.theme-product-gallery__main:hover .theme-product-gallery__img { transform: scale(1.03); }
.theme-product-thumbnails { margin-top: 1rem; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 0.5rem; max-width: 100%; }
@media (min-width: 768px) { .theme-product-thumbnails { gap: 0.75rem; } }
.theme-product-thumb { position: relative; aspect-ratio: 1 / 1; overflow: hidden; background: var(--color-secondary); border: 1px solid transparent; transition: border-color 0.3s; padding: 0; cursor: pointer; }
.theme-product-thumb:hover { border-color: color-mix(in srgb, var(--color-foreground) 40%, transparent); }
.theme-product-thumb.is-active { border-color: var(--color-foreground); }
.theme-product-info__meta-row { display: flex; flex-wrap: wrap; align-items: center; gap: 0.75rem; min-width: 0; }
.theme-product-info__cat { font-size: 13px; letter-spacing: 0.25em; text-transform: uppercase; color: var(--color-muted-foreground); font-family: var(--font-body); }
.theme-product-info__limited { border-radius: 999px; background: color-mix(in srgb, var(--color-accent) 15%, transparent); padding: 0.25rem 0.75rem; font-size: 11px; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase; color: var(--color-accent); font-family: var(--font-body); }
.theme-product-info__title.product-title {
	font-family: var(--font-display); font-weight: 400; font-size: 1.875rem; line-height: 1.1;
	margin: 0.75rem 0 1.25rem; text-transform: none; letter-spacing: normal;
}
@media (min-width: 768px) { .theme-product-info__title.product-title { font-size: 2.25rem; } }
@media (min-width: 1024px) { .theme-product-info__title.product-title { font-size: 2.75rem; } }
.theme-product-info__price { font-size: 1.25rem; margin-bottom: 1.5rem; font-family: var(--font-body); color: var(--color-foreground); }
.theme-product-info__price .woocommerce-Price-amount { font-weight: 400; }
.theme-product-info__price ins { text-decoration: none; }
.theme-product-info__price del { opacity: 0.5; margin-right: 0.5em; }
.theme-product-info__description {
	color: var(--color-muted-foreground); line-height: 1.7; margin-bottom: 2rem;
	font-size: 1rem; font-family: var(--font-body); overflow-wrap: break-word; word-break: break-word;
}

.variations.shop_attributes { width: 100%; border-collapse: collapse; margin-bottom: 0; }
.single-product .variations.shop_attributes tbody,
.single-product .variations tbody tr,
.single-product .variations tbody td { display: block; width: 100%; }
.single-product .variations tbody tr { margin-bottom: 1.5rem; }
.single-product .variations tbody td.label { padding-bottom: 0.75rem; }
.single-product .variations tbody td.label label { font-size: 13px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--color-muted-foreground); font-family: var(--font-body); }
.single-product .variations tbody td.value { padding-top: 0; }
.theme-attr-select-hidden { display: none !important; }
.theme-attr-pills { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.theme-attr-pill {
	display: inline-flex; align-items: center; gap: 0.5rem; padding: 0.5rem 1rem; font-size: 12px; letter-spacing: 0.15em;
	text-transform: uppercase; border: 1px solid var(--color-border); border-radius: 999px; transition: all 0.3s;
	overflow-wrap: break-word; font-family: var(--font-body); background: transparent; cursor: pointer; color: inherit;
}
.theme-attr-pill:hover { border-color: color-mix(in srgb, var(--color-primary) 70%, transparent); }
.theme-attr-pill--size.is-selected {
	border-color: var(--color-primary); background: var(--color-primary); color: var(--color-primary-foreground);
}
.theme-attr-pill--swatch.is-selected,
.theme-attr-pill:not(.theme-attr-pill--size).is-selected {
	border-color: var(--color-primary); background: color-mix(in srgb, var(--color-primary) 10%, transparent); color: var(--color-primary);
}
.theme-attr-pill__swatch { width: 0.75rem; height: 0.75rem; border-radius: 50%; border: 1px solid var(--color-border); flex-shrink: 0; }
.theme-attr-pill__price { margin-left: 0.25rem; opacity: 0.7; text-transform: none; letter-spacing: normal; }
.theme-attr-pill--size.is-selected .theme-attr-pill__price { opacity: 0.85; }
.single_variation_wrap { margin-top: 0; }
.woocommerce-variation-price,
.woocommerce-variation-availability,
.woocommerce-variation-description { display: none !important; }

.theme-add-to-cart-stack { display: flex; flex-direction: column; gap: 1rem; margin-bottom: 0; }
.theme-quantity-block { margin-bottom: 0; }
.theme-quantity-label { font-size: 13px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--color-muted-foreground); font-family: var(--font-body); font-weight: 400; margin: 0 0 0.75rem; }
.theme-quantity-wrapper { display: inline-flex; align-items: center; border: 1px solid var(--color-border); overflow: hidden; }
.theme-qty-minus, .theme-qty-plus { padding: 0.5rem 0.75rem; height: auto; transition: background-color 0.2s; background: transparent; border: none; cursor: pointer; color: inherit; display: inline-flex; align-items: center; justify-content: center; }
.theme-qty-minus:hover, .theme-qty-plus:hover { background: var(--color-secondary); }
.theme-qty-input { width: 2.75rem; min-width: 44px; height: auto; padding: 0.5rem 0; text-align: center; border: none; background: transparent; font-family: var(--font-body); font-size: 14px; -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-product-cta.single_add_to_cart_button.button,
.single-product a.theme-product-cta.single_add_to_cart_button {
	width: 100% !important;
	flex: none !important;
	min-width: 0 !important;
	padding: 1rem 1.5rem !important;
	min-height: unset !important;
	border-radius: 999px !important;
	font-size: 12px !important;
	letter-spacing: 0.25em !important;
	font-weight: 500 !important;
	transition: background-color 0.3s, color 0.3s, opacity 0.3s !important;
}
.single-product .theme-product-cta.single_add_to_cart_button.button:hover:not(:disabled):not(.disabled) {
	background-color: var(--color-accent) !important;
	color: var(--color-accent-foreground) !important;
	opacity: 1 !important;
	transform: none !important;
}
.single-product .theme-product-cta.single_add_to_cart_button.button:disabled,
.single-product .theme-product-cta.single_add_to_cart_button.button.disabled {
	opacity: 0.6 !important;
	cursor: not-allowed !important;
	pointer-events: none !important;
}

.single_add_to_cart_button.button,
.add_to_cart_button.button,
a.single_add_to_cart_button,
a.add_to_cart_button {
	background-color: var(--color-primary) !important;
	color: var(--color-primary-foreground) !important;
	border: none !important;
	border-radius: var(--btn-radius) !important;
	min-height: var(--btn-height) !important;
	padding: var(--btn-padding) !important;
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;
	font-family: var(--font-body) !important;
	font-size: var(--btn-font-size) !important;
	font-weight: var(--btn-font-weight) !important;
	letter-spacing: var(--btn-letter-spacing) !important;
	text-transform: var(--btn-text-transform) !important;
	cursor: pointer !important;
	transition: opacity 0.2s ease, transform 0.2s ease !important;
	flex: 1 1 auto;
	min-width: 160px;
}
.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-primary-foreground) !important;
}
.single_add_to_cart_button.button:disabled,
.single_add_to_cart_button.button.disabled,
.add_to_cart_button.button:disabled,
.add_to_cart_button.button.disabled {
	cursor: not-allowed !important;
	opacity: 0.4 !important;
	pointer-events: none !important;
}
.single_add_to_cart_button.button:disabled:hover,
.single_add_to_cart_button.button.disabled:hover,
.add_to_cart_button.button:disabled:hover,
.add_to_cart_button.button.disabled:hover {
	opacity: 0.4 !important;
	background-color: var(--color-primary) !important;
}
.single-product .single_add_to_cart_button.loading::after,
.ajax_add_to_cart.loading::after { display: none !important; }
.ajax_add_to_cart.theme-btn-loading { opacity: 0.6 !important; pointer-events: none !important; cursor: wait !important; }

/* Card compact button variant overrides global rules (must stay after them) */
.theme-product-card .add_to_cart_button.ajax_add_to_cart {
	min-height: unset !important;
	min-width: 0 !important;
	flex: none !important;
}

.theme-product-details__list { display: flex; flex-direction: column; gap: 0.5rem; list-style: none; margin: 0; padding: 0; }
.theme-product-details__list li { font-size: 15px; color: var(--color-muted-foreground); display: flex; align-items: flex-start; overflow-wrap: break-word; word-break: break-word; }
.theme-product-details__list li::before { content: ''; width: 4px; height: 4px; background: var(--color-foreground); border-radius: 50%; margin: 0.5em 0.75rem 0 0; flex-shrink: 0; }

.theme-product-accordion { margin-top: 2.5rem; border-top: 1px solid var(--color-border); }
.theme-product-accordion__trigger {
	width: 100%; display: flex; align-items: center; justify-content: space-between;
	padding: 1.25rem 0; text-align: left; font-size: 13px; letter-spacing: 0.25em;
	text-transform: uppercase; font-family: var(--font-body); background: transparent; border: none;
	border-top: 1px solid var(--color-border); cursor: pointer; color: inherit;
}
.theme-product-accordion__trigger:first-of-type { border-top: none; }
.theme-product-accordion__trigger svg { transition: transform 0.3s; flex-shrink: 0; }
.theme-product-accordion__trigger.is-open svg { transform: rotate(180deg); }
.theme-product-accordion__panel { padding-bottom: 1.5rem; color: var(--color-muted-foreground); font-size: 15px; line-height: 1.7; display: none; font-family: var(--font-body); }
.theme-product-accordion__panel p { margin-bottom: 0.75rem; }
.theme-product-accordion__panel p:last-child { margin-bottom: 0; }
.theme-product-accordion__desc { margin-bottom: 1rem !important; white-space: pre-line; }
.theme-product-accordion__trigger.is-open + .theme-product-accordion__panel { display: block; }
.theme-product-accordion__footer { border-top: 1px solid var(--color-border); }

.related-products-section { padding: 5rem 0; border-top: 1px solid var(--color-border); }
.related-products-section__heading { text-align: center; margin-bottom: 3rem; }
.related-products-section__eyebrow { font-family: var(--font-display); font-style: italic; font-size: 1rem; color: var(--color-muted-foreground); margin-bottom: 0.5rem; }

/* ---------------------------------------------------------------------
   WooCommerce archive
   --------------------------------------------------------------------- */
.shop-archive { padding: 3rem 0 5rem; }
.shop-archive__header { text-align: center; margin-bottom: 3rem; }
.shop-archive .page-title { font-size: 2.25rem; margin-bottom: 0.75rem; }
.shop-archive__description { color: var(--color-muted-foreground); max-width: 40rem; margin: 0 auto; }
.shop-archive__empty { text-align: center; padding: 4rem 0; color: var(--color-muted-foreground); }
.theme-product-grid--archive { list-style: none; }

/* ---------------------------------------------------------------------
   Checkout (WooCommerce Blocks) — scoped under body.woocommerce-checkout
   --------------------------------------------------------------------- */
body.woocommerce-checkout .site-main,
body.woocommerce-checkout .theme-page { padding-bottom: 4rem; }
body.woocommerce-checkout .page-title { text-align: center; margin: 2rem 0; font-size: 2rem; }

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 { 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-text-input input,
body.woocommerce-checkout .wc-block-components-select select,
body.woocommerce-checkout .wc-block-components-textarea textarea {
	width: 100% !important;
	max-width: none !important;
	font-family: var(--font-body);
	border: 1px solid var(--color-border);
	border-radius: 0.375rem;
	background: var(--color-background);
	color: var(--color-foreground);
}
body.woocommerce-checkout .wc-block-components-text-input input:focus,
body.woocommerce-checkout .wc-block-components-select select:focus {
	outline: none;
	box-shadow: 0 0 0 2px color-mix(in srgb, var(--color-primary) 45%, transparent);
}
body.woocommerce-checkout .wc-block-components-checkout-place-order-button {
	background: var(--color-primary) !important;
	color: var(--color-primary-foreground) !important;
	border-radius: var(--btn-radius) !important;
	text-transform: uppercase;
	letter-spacing: 0.18em;
	font-size: 13px;
	height: 3rem;
}
body.woocommerce-checkout .wc-block-components-checkout-place-order-button:hover { opacity: 0.9; }
body.woocommerce-checkout .wc-block-checkout__sidebar {
	background-color: var(--color-secondary);
	border-radius: var(--card-radius);
	padding: var(--section-padding);
}
body.woocommerce-checkout .wc-block-components-notice-banner { border-radius: 0.5rem; }

/* ---------------------------------------------------------------------
   Cart / My Account / default WooCommerce pages
   Keep content clear of the fixed header and off the viewport edges.
   --------------------------------------------------------------------- */
body.theme-cart-page .theme-page,
body.theme-account-page .theme-page,
body.woocommerce-cart .theme-page,
body.woocommerce-account .theme-page,
body.woocommerce-checkout .theme-page {
	padding-top: calc(var(--header-height) + 1.5rem);
	padding-bottom: 4rem;
}
@media (min-width: 768px) {
	body.theme-cart-page .theme-page,
	body.theme-account-page .theme-page,
	body.woocommerce-cart .theme-page,
	body.woocommerce-account .theme-page,
	body.woocommerce-checkout .theme-page {
		padding-top: calc(var(--header-height-desktop) + 2rem);
	}
}

body.theme-cart-page .theme-page__inner,
body.theme-account-page .theme-page__inner,
body.woocommerce-cart .theme-page__inner,
body.woocommerce-account .theme-page__inner,
body.woocommerce-checkout .theme-page__inner {
	padding: 0 1.25rem 3rem;
	max-width: 40rem;
	margin-left: auto;
	margin-right: auto;
	width: 100%;
}
@media (min-width: 768px) {
	body.theme-cart-page .theme-page__inner,
	body.theme-account-page .theme-page__inner,
	body.woocommerce-cart .theme-page__inner,
	body.woocommerce-account .theme-page__inner,
	body.woocommerce-checkout .theme-page__inner {
		padding: 0 2rem 4rem;
	}
}

/* Checkout needs a wider canvas for the two-column layout */
body.woocommerce-checkout .theme-page__inner {
	max-width: 72rem;
}

body.woocommerce-account .woocommerce,
body.woocommerce-cart .woocommerce,
body.woocommerce-checkout .woocommerce {
	max-width: 100%;
}

body.woocommerce-account .woocommerce-notices-wrapper,
body.woocommerce-cart .woocommerce-notices-wrapper,
body.woocommerce-checkout .woocommerce-notices-wrapper,
body.woocommerce-account .woocommerce-message,
body.woocommerce-cart .woocommerce-message,
body.woocommerce-account .woocommerce-info,
body.woocommerce-cart .woocommerce-info,
body.woocommerce-account .woocommerce-error,
body.woocommerce-cart .woocommerce-error {
	margin-left: 0;
	margin-right: 0;
	margin-bottom: 1.5rem;
}

body.woocommerce-account .woocommerce-form-login,
body.woocommerce-account .woocommerce-form-register,
body.woocommerce-account .u-columns {
	max-width: 100%;
}

body.woocommerce-account .woocommerce form .form-row input.input-text,
body.woocommerce-account .woocommerce form .form-row textarea,
body.woocommerce-cart .woocommerce form .form-row input.input-text {
	width: 100%;
	max-width: 100%;
	box-sizing: border-box;
}

/* ---------------------------------------------------------------------
   Thank you page
   --------------------------------------------------------------------- */
body.theme-thankyou-page { overflow-x: hidden; }
body.theme-thankyou-page .theme-page {
	padding-top: calc(var(--header-height) + 1.5rem);
	padding-bottom: 5rem;
}
@media (min-width: 768px) {
	body.theme-thankyou-page .theme-page {
		padding-top: calc(var(--header-height-desktop) + 2rem);
	}
}
body.theme-thankyou-page .theme-page__inner {
	max-width: 48rem;
	margin: 0 auto;
	padding: 0 1.25rem 3rem;
	width: 100%;
}
@media (min-width: 768px) {
	body.theme-thankyou-page .theme-page__inner { padding: 0 2rem 4rem; }
}
.theme-thankyou { text-align: center; }
.theme-thankyou__icon { width: 4rem; height: 4rem; background: var(--color-primary); color: var(--color-primary-foreground); display: flex; align-items: center; justify-content: center; border-radius: 50%; margin: 0 auto 1.5rem; }
body.theme-thankyou-page .woocommerce-order,
body.theme-thankyou-page .woocommerce-order-overview,
body.theme-thankyou-page .woocommerce-customer-details,
body.theme-thankyou-page .woocommerce-order-details { text-align: left; margin-top: 2rem; }
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 { list-style: none; display: flex; flex-wrap: wrap; gap: 1rem 2rem; padding: 0; margin: 0 0 2rem; }
body.theme-thankyou-page .woocommerce-order-details table { width: 100%; table-layout: fixed; border-collapse: collapse; }
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); }
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;
}
@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; }
}

/* ---------------------------------------------------------------------
   Notices — scoped visibility (Section 14.1)
   --------------------------------------------------------------------- */
.single-product .woocommerce-message,
.single-product .woocommerce-info { display: none; }
#theme-cart-drawer .woocommerce-message { display: none; }
.woocommerce-error { border-radius: 0.5rem; }

/* ---------------------------------------------------------------------
   404
   --------------------------------------------------------------------- */
.theme-404 { min-height: 60vh; display: flex; align-items: center; justify-content: center; }
.theme-404__inner { text-align: center; }
.theme-404__code { font-size: 3rem; margin-bottom: 1rem; }
.theme-404__text { font-size: 1.25rem; color: var(--color-muted-foreground); margin-bottom: 1rem; }
.theme-404__link { color: var(--color-primary); text-decoration: underline; }
.theme-404__link:hover { color: color-mix(in srgb, var(--color-primary) 90%, black); }

/* ---------------------------------------------------------------------
   Blog single
   --------------------------------------------------------------------- */
.theme-blog-post__inner { max-width: 48rem; padding-top: 3rem; padding-bottom: 4rem; }
@media (min-width: 768px) { .theme-blog-post__inner { padding-top: 5rem; padding-bottom: 6rem; } }
.theme-blog-post__back { display: inline-flex; align-items: center; gap: 0.5rem; font-size: 12px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--color-muted-foreground); margin-bottom: 2rem; transition: color 0.3s; }
.theme-blog-post__back:hover { color: var(--color-primary); }
.theme-blog-post__meta { display: flex; align-items: center; gap: 0.75rem; font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--color-muted-foreground); margin-bottom: 1rem; }
.theme-blog-post__cat { color: var(--color-primary); }
.theme-blog-post__sep { color: color-mix(in srgb, var(--color-foreground) 30%, transparent); }
.theme-blog-post__title { font-size: 1.875rem; line-height: 1.08; margin-bottom: 1.5rem; }
@media (min-width: 768px) { .theme-blog-post__title { font-size: 3rem; } }
.theme-blog-post__author { font-size: 14px; color: color-mix(in srgb, var(--color-foreground) 60%, transparent); margin-bottom: 2.5rem; }
.theme-blog-post__media { position: relative; aspect-ratio: 16 / 9; border-radius: 1rem; overflow: hidden; margin-bottom: 2.5rem; }
.theme-blog-post__content { display: flex; flex-direction: column; gap: 1.5rem; }
.theme-blog-post__content p { color: color-mix(in srgb, var(--color-foreground) 80%, transparent); line-height: 1.75; font-size: 1rem; }
@media (min-width: 768px) { .theme-blog-post__content p { font-size: 1.125rem; } }
.theme-blog-related { border-top: 1px solid var(--color-border); background: var(--color-card); padding: 4rem 0 5rem; }
.theme-blog-related__title { font-size: 1.5rem; margin-bottom: 2.5rem; }
@media (min-width: 768px) { .theme-blog-related__title { font-size: 1.875rem; } }
.theme-blog-related__grid { display: grid; grid-template-columns: 1fr; gap: 2rem; }
@media (min-width: 768px) { .theme-blog-related__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.theme-blog-related__card { display: block; }
.theme-blog-related__media { position: relative; aspect-ratio: 4 / 3; border-radius: 1rem; overflow: hidden; margin-bottom: 1.25rem; }
.theme-blog-related__media .cover-img { transition: transform 0.7s; }
.theme-blog-related__card:hover .cover-img { transform: scale(1.05); }
.theme-blog-related__meta { display: flex; align-items: center; gap: 0.75rem; font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--color-muted-foreground); margin-bottom: 0.75rem; }
.theme-blog-related__card-title { font-size: 1.25rem; line-height: 1.35; transition: color 0.3s; }
.theme-blog-related__card:hover .theme-blog-related__card-title { color: var(--color-primary); }

/* ---------------------------------------------------------------------
   Generic page content
   --------------------------------------------------------------------- */
.theme-page__inner { padding: 2rem 0 5rem; }
@media (min-width: 768px) { .theme-page__inner { padding: 2.5rem 0 5rem; } }
.theme-page .page-title { font-size: 2rem; margin-bottom: 1.5rem; }
.entry-content { line-height: 1.75; }
.entry-content p { margin-bottom: 1.25rem; }

/* Media control preview (Customizer) is styled in customizer-controls.css */
