/* =========================================================
   Hundo Embroidery — theme.css
   All visual styling for the theme lives in this file only.
   ========================================================= */

:root {
	--font-display: 'Montserrat', system-ui, sans-serif;
	--font-body: 'Switzer', system-ui, -apple-system, sans-serif;

	--color-bone: #e7eaee;
	--color-sand: #d9dde3;

	--radius: 0.5rem;
	--card-radius: 0.75rem;
	--shadow-soft: 0 4px 20px -8px rgb(18 34 64 / 0.16);
	--shadow-elevated: 0 20px 50px -18px rgb(18 34 64 / 0.32);

	--btn-radius: 0.5rem;
	--btn-height: 3rem;
	--btn-padding: 0 1.75rem;
	--btn-font-size: 0.875rem;
	--btn-font-weight: 500;
	--btn-letter-spacing: normal;
	--btn-text-transform: none;
	--btn-icon-padding: 0;

	--header-height: 108px;
	--header-height-mobile: 96px;
}

/* ---------------------------------------------------------
   Reset / base
   --------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body { max-width: 100%; overflow-x: hidden; }
body {
	margin: 0;
	background: var(--color-background);
	color: var(--color-foreground);
	font-family: var(--font-body);
	-webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
button, a { cursor: pointer; }
img { max-width: 100%; height: auto; display: block; }
ul, ol { margin: 0; padding: 0; list-style: none; }
p { margin: 0; }
section[id] { scroll-margin-top: 90px; }

h1, h2, h3, h4, h5, h6 { font-weight: inherit; font-size: inherit; margin: 0; }
.font-display, h1, h2, h3, h4, h5, h6 { font-family: var(--font-display); }

/* Cover / full-bleed image exclusion list — Section 15 completeness rule */
img:not(.cover-img):not(.product-card-img) {
	max-width: 100%;
	height: auto;
}
.cover-img, .product-card-img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
}

.container-wide {
	width: 100%;
	max-width: 1280px;
	margin: 0 auto;
	padding: 0 1.25rem;
}
@media (min-width: 640px) { .container-wide { padding: 0 1.5rem; } }
@media (min-width: 1024px) { .container-wide { padding: 0 2.5rem; } }

/* ---------------------------------------------------------
   Buttons
   --------------------------------------------------------- */
.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.5rem;
	white-space: nowrap;
	border-radius: var(--btn-radius);
	font-family: var(--font-body);
	font-size: var(--btn-font-size);
	font-weight: 500;
	border: 1px solid transparent;
	height: 2.75rem;
	padding: 0 1.5rem;
	transition: opacity 0.2s ease, background-color 0.2s ease, border-color 0.2s ease;
	text-transform: none;
}
.btn svg { flex-shrink: 0; pointer-events: none; }
.btn-lg { height: 3rem; padding: 0 1.75rem; }
.btn-primary { background: var(--color-primary); color: var(--color-button-text); border-color: var(--color-primary); }
.btn-primary:hover { opacity: 0.9; }
.btn-crimson { background: var(--color-accent); color: var(--color-button-text); border-color: var(--color-accent); }
.btn-crimson:hover { opacity: 0.9; }
.btn-outline { background: transparent; color: var(--color-foreground); border-color: color-mix(in srgb, var(--color-foreground) 25%, transparent); }
.btn-outline:hover { border-color: var(--color-primary); background: color-mix(in srgb, var(--color-primary) 5%, transparent); }
.btn-glass { background: rgb(255 255 255 / 0.1); color: #fff; border-color: rgb(255 255 255 / 0.6); backdrop-filter: blur(8px); }
.btn-glass:hover { background: rgb(255 255 255 / 0.2); }
.btn-ghost { background: transparent; border-color: transparent; color: color-mix(in srgb, var(--color-foreground) 60%, transparent); }
.btn-ghost:hover { background: color-mix(in srgb, var(--color-foreground) 5%, transparent); }
.btn:disabled, .btn.disabled { opacity: 0.5; pointer-events: none; }

/* ---------------------------------------------------------
   Reveal animation (Section 2.1) — with Customizer-preview fallback
   --------------------------------------------------------- */
.reveal-item {
	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;
}
.reveal-item.is-revealed { opacity: 1; transform: translateY(0); }

body.is-customizer .reveal-item {
	opacity: 1 !important;
	transform: none !important;
}

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

.animate-marquee { animation: theme-marquee 22s linear infinite; }
@keyframes theme-marquee { from { transform: translateX(0); } to { transform: translateX(-33.3333%); } }
@keyframes theme-fade-in { from { opacity: 0; } to { opacity: 1; } }
.theme-fade-in { animation: theme-fade-in 0.6s ease-out both; }
@keyframes theme-slide-in-bottom { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }

/* ---------------------------------------------------------
   Header
   --------------------------------------------------------- */
.site-header { position: fixed; top: 0; left: 0; right: 0; z-index: 50; }
.theme-announcement-bar {
	background: var(--color-accent);
	color: var(--color-button-text);
	font-size: 12px;
	font-weight: 600;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	padding: 0.5rem 1rem;
	text-align: center;
}
.theme-announcement-inner { display: inline-flex; align-items: center; gap: 0.5rem; }

.theme-header-bar {
	transition: background-color 0.3s ease, border-color 0.3s ease;
	background: transparent;
	border-bottom: 1px solid transparent;
}
.site-header.is-solid .theme-header-bar,
.theme-header-bar.is-solid {
	background: color-mix(in srgb, var(--color-primary) 95%, transparent);
	backdrop-filter: blur(20px);
	border-bottom-color: rgb(255 255 255 / 0.1);
}

.theme-header-row {
	display: flex;
	align-items: center;
	justify-content: space-between;
	height: 4rem;
}
@media (min-width: 1024px) {
	.theme-header-row {
		height: 5rem;
		display: grid;
		grid-template-columns: 1fr auto 1fr;
	}
}

.theme-nav-toggle {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 2.5rem;
	height: 2.5rem;
	border-radius: 0.375rem;
	background: transparent;
	border: none;
	color: #fff;
	order: 1;
}
.theme-nav-toggle:hover { background: rgb(255 255 255 / 0.1); }
@media (min-width: 1024px) { .theme-nav-toggle { display: none; } }

.site-logo-link { display: inline-flex; align-items: center; flex-shrink: 0; order: 2; }
@media (min-width: 1024px) { .site-logo-link { order: 1; justify-self: start; } }
.site-logo-badge {
	display: inline-flex;
	align-items: center;
	background: #fff;
	border-radius: 0.375rem;
	padding: 0.375rem 0.625rem;
}
.site-logo-img {
	height: calc(var(--logo-height, 36px) * 0.778) !important;
	width: auto !important;
	display: block;
}
@media (min-width: 1024px) {
	.site-logo-img { height: var(--logo-height, 36px) !important; }
}
.theme-footer-brand .site-logo-img { height: 44px !important; }
.site-logo-text { font-family: var(--font-display); font-weight: 800; text-transform: uppercase; color: var(--color-primary); font-size: 1rem; }

.theme-primary-nav { display: none; order: 3; }
@media (min-width: 1024px) {
	.theme-primary-nav { display: flex; align-items: center; gap: 1.75rem; justify-self: center; order: 2; }
}
.theme-nav-list { display: flex; align-items: center; gap: 1.75rem; }
.theme-nav-link {
	position: relative;
	font-size: 14px;
	font-weight: 500;
	color: rgb(255 255 255 / 0.75);
	transition: color 0.3s ease;
	padding-bottom: 4px;
}
.theme-nav-link:hover, .theme-nav-link.is-active { color: #fff; }
.theme-nav-link.is-active::after {
	content: '';
	position: absolute;
	left: 0; right: 0; bottom: -6px;
	height: 2px;
	border-radius: 2px;
	background: var(--color-accent);
}

.theme-header-actions { display: flex; align-items: center; gap: 0.5rem; order: 3; justify-self: end; }
.theme-cart-toggle {
	position: relative;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 2.5rem;
	height: 2.5rem;
	border-radius: 0.375rem;
	background: transparent;
	border: none;
	color: #fff;
}
.theme-cart-toggle:hover { background: rgb(255 255 255 / 0.1); }
.theme-cart-count {
	position: absolute;
	top: -2px; right: -2px;
	background: var(--color-accent);
	color: var(--color-button-text);
	font-size: 12px;
	font-weight: 700;
	min-width: 18px;
	height: 18px;
	padding: 0 4px;
	border-radius: 999px;
	display: flex;
	align-items: center;
	justify-content: center;
}
.theme-cart-count:empty { display: none; }

.theme-mobile-nav { display: none; border-top: 1px solid rgb(255 255 255 / 0.1); background: var(--color-primary); }
.theme-mobile-nav.is-open { display: block; }
.theme-mobile-nav-inner { padding: 1rem 0; }
.theme-nav-list-mobile { display: flex; flex-direction: column; width: 100%; list-style: none; margin: 0; padding: 0; }
.theme-nav-list-mobile > li { display: block; width: 100%; }
.theme-nav-list-mobile a,
.theme-nav-list-mobile .theme-nav-link {
	display: block;
	width: 100%;
	text-align: left;
	font-size: 14px;
	font-weight: 500;
	padding: 0.75rem 0;
	border-bottom: 1px solid rgb(255 255 255 / 0.1);
	color: rgb(255 255 255 / 0.8);
}
.theme-nav-list-mobile li:last-child a,
.theme-nav-list-mobile li:last-child .theme-nav-link { border-bottom: none; }
.theme-nav-list-mobile a:hover,
.theme-nav-list-mobile .theme-nav-link:hover { color: #fff; }
.theme-mobile-nav .theme-nav-list { display: flex; flex-direction: column; width: 100%; gap: 0; }
.theme-mobile-nav .theme-nav-list > li { display: block; width: 100%; }

body.theme-no-hero .site-main,
body.theme-no-hero .theme-page-main,
body.theme-no-hero .theme-archive-main,
body.theme-no-hero .theme-single-product-main,
body.theme-no-hero .theme-404-main,
body.theme-no-hero .theme-generic-main {
	padding-top: var(--header-height-mobile);
}
@media (min-width: 1024px) {
	body.theme-no-hero .site-main,
	body.theme-no-hero .theme-page-main,
	body.theme-no-hero .theme-archive-main,
	body.theme-no-hero .theme-single-product-main,
	body.theme-no-hero .theme-404-main,
	body.theme-no-hero .theme-generic-main {
		padding-top: var(--header-height);
	}
	body.admin-bar .site-header { top: var(--wp-admin-bar-height, 32px); }
	body.admin-bar.theme-no-hero .site-main,
	body.admin-bar.theme-no-hero .theme-page-main,
	body.admin-bar.theme-no-hero .theme-archive-main,
	body.admin-bar.theme-no-hero .theme-single-product-main,
	body.admin-bar.theme-no-hero .theme-404-main,
	body.admin-bar.theme-no-hero .theme-generic-main {
		padding-top: calc(var(--header-height) + var(--wp-admin-bar-height, 32px));
	}
}

/* ---------------------------------------------------------
   Hero
   --------------------------------------------------------- */
.hero-section {
	position: relative;
	min-height: 100vh;
	width: 100%;
	display: flex;
	align-items: center;
	justify-content: center;
	overflow: hidden;
}
.hero-video { z-index: 0; }
.hero-scrim-radial {
	position: absolute; inset: 0;
	background-image: radial-gradient(at center, rgb(10 10 10 / 0.4) 0%, rgb(8 8 8 / 0.6) 70%, rgb(5 5 5 / 0.8) 100%);
	pointer-events: none;
}
.hero-scrim-dark { position: absolute; inset: 0; background: rgb(0 0 0 / 0.35); pointer-events: none; }
.hero-content { position: relative; z-index: 10; text-align: center; color: #fff; padding: 10rem 0 6rem; }
@media (min-width: 1024px) { .hero-content { padding: 13rem 0 8rem; } }

.hero-badge-wrap { display: flex; justify-content: center; margin-bottom: 1.75rem; }
.hero-badge {
	display: inline-flex; align-items: center; gap: 0.5rem;
	padding: 0.375rem 1rem;
	border-radius: 0.375rem;
	background: var(--color-accent);
	color: var(--color-button-text);
	font-size: 12px; letter-spacing: 0.2em; text-transform: uppercase; font-weight: 700;
	font-family: var(--font-display);
}
.hero-title {
	font-family: var(--font-display);
	font-weight: 800;
	text-transform: uppercase;
	color: #fff;
	line-height: 1.04;
	letter-spacing: -0.025em;
	max-width: 64rem;
	margin: 0 auto;
	filter: drop-shadow(0 2px 30px rgb(0 0 0 / 0.6));
	font-size: clamp(1.9rem, 5vw, 4.1rem);
}
.hero-br { display: none; }
@media (min-width: 640px) { .hero-br { display: block; } }
.hero-subtitle { margin-top: 1.75rem; max-width: 48rem; margin-inline: auto; font-size: 15px; font-weight: 600; line-height: 1.6; color: #fff; }
@media (min-width: 640px) { .hero-subtitle { font-size: 17px; } }
.hero-description { margin-top: 1rem; max-width: 40rem; margin-inline: auto; font-size: 14px; line-height: 1.6; color: rgb(255 255 255 / 0.85); }
@media (min-width: 640px) { .hero-description { font-size: 15px; } }
.hero-actions { margin-top: 2.5rem; display: flex; flex-direction: column; gap: 0.75rem; justify-content: center; align-items: center; }
@media (min-width: 640px) { .hero-actions { flex-direction: row; gap: 1rem; align-items: center; } }
@media (max-width: 639px) {
	.hero-actions .btn {
		width: auto;
		align-self: center;
		min-width: 12.5rem;
		height: 3.125rem;
		padding: 0 1.875rem;
		font-size: 0.9375rem;
	}
}

/* ---------------------------------------------------------
   Section heading system (Section 2.2.5 — per-section scale)
   --------------------------------------------------------- */
.section-eyebrow {
	font-size: 12px; letter-spacing: 0.28em; text-transform: uppercase;
	color: var(--color-accent); margin-bottom: 1.25rem; font-weight: 700;
	font-family: var(--font-display);
}
.section-eyebrow-light { color: rgb(255 255 255 / 0.7); }

.about-section .section-heading,
.owner-section .section-heading,
.services-section .section-heading,
.shop-section .section-heading,
.contact-section .section-heading {
	font-family: var(--font-display); font-weight: 800; text-transform: uppercase;
	color: var(--color-primary); line-height: 0.833; font-size: 1.875rem;
	letter-spacing: -0.025em; margin: 0;
}
@media (min-width: 768px) {
	.about-section .section-heading,
	.owner-section .section-heading,
	.services-section .section-heading,
	.shop-section .section-heading,
	.contact-section .section-heading { font-size: 2.25rem; }
}
@media (min-width: 1024px) {
	.about-section .section-heading,
	.owner-section .section-heading,
	.services-section .section-heading,
	.shop-section .section-heading,
	.contact-section .section-heading { font-size: 3rem; }
}
.owner-section .section-heading-light { color: #fff; }
.services-section .section-eyebrow,
.shop-section .section-eyebrow,
.contact-section .section-eyebrow { margin-bottom: 1rem; }

.cta-band-heading {
	font-family: var(--font-display); font-weight: 800; text-transform: uppercase;
	letter-spacing: -0.025em; line-height: 1.06;
	color: #fff; max-width: 56rem; margin: 0 auto; font-size: clamp(1.9rem, 5vw, 3.8rem);
	filter: drop-shadow(0 2px 30px rgb(0 0 0 / 0.6));
}

/* ---------------------------------------------------------
   About
   --------------------------------------------------------- */
.about-section { background: var(--color-surface); padding: 6rem 0; }
@media (min-width: 768px) { .about-section { padding: 8rem 0; } }
.about-grid { display: grid; grid-template-columns: 1fr; gap: 3rem; align-items: stretch; }
@media (min-width: 1024px) { .about-grid { grid-template-columns: 5fr 7fr; gap: 4rem; } }
.about-col-left { display: flex; flex-direction: column; }
.about-quote {
	margin-top: 2rem; font-family: var(--font-display); font-weight: 800; font-size: 1.125rem;
	color: var(--color-primary); line-height: 1.375; border-left: 4px solid var(--color-accent); padding-left: 1.25rem;
}
@media (min-width: 768px) { .about-quote { font-size: 1.25rem; } }
.about-stats-grid { margin-top: 2rem; display: grid; grid-template-columns: 1fr 1fr; gap: 0.75rem; }
.about-stat-box { border-radius: 0.5rem; background: #fff; border: 1px solid color-mix(in srgb, var(--color-primary) 10%, transparent); padding: 1.25rem; }
.about-stat-value { font-family: var(--font-display); font-weight: 800; text-transform: uppercase; color: var(--color-primary); font-size: 1.25rem; line-height: 1; }
.about-stat-label { margin-top: 0.5rem; font-size: 12px; text-transform: uppercase; letter-spacing: 0.14em; color: color-mix(in srgb, var(--color-foreground) 55%, transparent); font-weight: 500; }
.about-col-right { }
@media (min-width: 1024px) { .about-col-right { padding-left: 1.5rem; } }
.about-copy { display: flex; flex-direction: column; gap: 1.25rem; font-size: 15px; line-height: 1.7; color: color-mix(in srgb, var(--color-foreground) 80%, transparent); max-width: 65ch; }
@media (min-width: 768px) { .about-copy { font-size: 1rem; } }
.about-audiences { margin-top: 2rem; }
.about-audiences-label { font-size: 12px; letter-spacing: 0.22em; text-transform: uppercase; color: color-mix(in srgb, var(--color-primary) 70%, transparent); font-weight: 700; margin-bottom: 0.75rem; font-family: var(--font-display); }
.about-audience-tags { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.about-audience-tag { display: inline-flex; align-items: center; padding: 0.375rem 0.75rem; border-radius: 0.375rem; background: #fff; border: 1px solid color-mix(in srgb, var(--color-primary) 15%, transparent); font-size: 13px; font-weight: 500; color: var(--color-primary); }

.about-pillars-grid { margin-top: 3.5rem; display: grid; grid-template-columns: 1fr; gap: 1rem; }
@media (min-width: 640px) { .about-pillars-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .about-pillars-grid { grid-template-columns: repeat(4, 1fr); } }
.about-pillar-card { border-radius: 0.5rem; border: 1px solid color-mix(in srgb, var(--color-primary) 10%, transparent); background: #fff; padding: 1.5rem; border-top: 4px solid var(--color-accent); }
.about-pillar-icon { display: inline-flex; align-items: center; justify-content: center; width: 2.75rem; height: 2.75rem; border-radius: 0.375rem; background: var(--color-primary); color: var(--color-button-text); margin-bottom: 1rem; }
.about-pillar-title { font-family: var(--font-display); font-weight: 700; font-size: 17px; text-transform: uppercase; letter-spacing: -0.025em; color: var(--color-primary); margin-bottom: 0.5rem; }
.about-pillar-body { font-size: 13px; line-height: 1.6; color: color-mix(in srgb, var(--color-foreground) 70%, transparent); }

/* ---------------------------------------------------------
   Founder / Owner
   --------------------------------------------------------- */
.owner-section { background: var(--color-primary); color: #fff; padding: 6rem 0; }
@media (min-width: 768px) { .owner-section { padding: 8rem 0; } }
.owner-grid { display: grid; grid-template-columns: 1fr; gap: 3rem; align-items: center; }
@media (min-width: 1024px) { .owner-grid { grid-template-columns: 5fr 7fr; gap: 4rem; } }
.owner-photo-frame { position: relative; height: 420px; border-radius: 0.5rem; overflow: hidden; box-shadow: var(--shadow-elevated); }
@media (min-width: 768px) { .owner-photo-frame { height: 560px; } }
.owner-photo { height: 100%; }
.owner-photo-gradient { position: absolute; inset: 0; background: linear-gradient(to top, rgb(0 0 0 / 0.8), rgb(0 0 0 / 0.2) 50%, transparent); }
.owner-photo-badge { position: absolute; bottom: 1.25rem; left: 1.25rem; display: inline-flex; align-items: center; gap: 0.5rem; padding: 0.5rem 1rem; border-radius: 0.375rem; background: var(--color-accent); color: var(--color-button-text); font-size: 12px; letter-spacing: 0.18em; text-transform: uppercase; font-weight: 700; font-family: var(--font-display); }
@media (min-width: 1024px) { .owner-copy-col { padding-left: 1.5rem; } }
.owner-quote { margin-top: 2rem; font-family: var(--font-display); font-weight: 800; font-size: 1.125rem; color: #fff; line-height: 1.375; border-left: 4px solid var(--color-accent); padding-left: 1.25rem; }
@media (min-width: 768px) { .owner-quote { font-size: 1.25rem; } }
.owner-copy { margin-top: 2rem; display: flex; flex-direction: column; gap: 1.25rem; font-size: 15px; line-height: 1.7; color: rgb(255 255 255 / 0.8); max-width: 65ch; }
@media (min-width: 768px) { .owner-copy { font-size: 1rem; } }
.owner-actions { margin-top: 2.25rem; display: flex; flex-wrap: wrap; align-items: center; gap: 0.75rem; }
.owner-stats-grid { margin-top: 2.5rem; display: grid; grid-template-columns: 1fr; gap: 1.5rem; border-top: 1px solid rgb(255 255 255 / 0.2); padding-top: 2rem; }
@media (min-width: 640px) { .owner-stats-grid { grid-template-columns: repeat(3, 1fr); } }
.owner-stat-icon { color: var(--color-accent); margin-bottom: 0.5rem; }
.owner-stat-value { font-family: var(--font-display); font-weight: 800; text-transform: uppercase; font-size: 1.25rem; color: #fff; }
.owner-stat-label { margin-top: 0.25rem; font-size: 12px; text-transform: uppercase; letter-spacing: 0.14em; color: rgb(255 255 255 / 0.6); }

/* ---------------------------------------------------------
   Marquee
   --------------------------------------------------------- */
.marquee-strip { background: var(--color-accent); padding: 1rem 0; overflow: hidden; }
.marquee-track { display: flex; white-space: nowrap; animation: theme-marquee 22s linear infinite; }
.marquee-item { display: flex; align-items: center; flex-shrink: 0; color: var(--color-button-text); font-family: var(--font-display); font-weight: 800; text-transform: uppercase; letter-spacing: 0.14em; font-size: 14px; }
@media (min-width: 768px) { .marquee-item { font-size: 16px; } }
.marquee-item-text { margin: 0 1.5rem; }
@media (min-width: 768px) { .marquee-item-text { margin: 0 2rem; } }
.marquee-star { color: color-mix(in srgb, var(--color-button-text) 60%, transparent); font-size: 12px; }

/* ---------------------------------------------------------
   Services
   --------------------------------------------------------- */
.services-section { background: var(--color-background); padding: 6rem 0; }
@media (min-width: 768px) { .services-section { padding: 8rem 0; } }
.services-header { display: flex; flex-direction: column; gap: 2rem; margin-bottom: 3rem; }
@media (min-width: 1024px) { .services-header { flex-direction: row; align-items: flex-end; justify-content: space-between; margin-bottom: 3.5rem; } }
.services-header-copy { max-width: 48rem; }
.services-header-sub { font-size: 15px; color: color-mix(in srgb, var(--color-foreground) 70%, transparent); line-height: 1.6; }
@media (min-width: 1024px) { .services-header-sub { max-width: 24rem; } }

.services-grid { display: grid; grid-template-columns: 1fr; gap: 1.25rem; }
@media (min-width: 1024px) { .services-grid { grid-template-columns: repeat(12, 1fr); gap: 1.5rem; } }
.service-card { position: relative; overflow: hidden; border-radius: 0.5rem; background: var(--color-primary); cursor: pointer; }
@media (min-width: 1024px) { .service-card.span-7 { grid-column: span 7; } .service-card.span-5 { grid-column: span 5; } .service-card.span-12 { grid-column: span 12; } }
.service-card-media { position: relative; width: 100%; height: 440px; }
@media (min-width: 768px) { .service-card-media { height: 480px; } }
.service-card.span-12 .service-card-media { height: 440px; }
@media (min-width: 768px) { .service-card.span-12 .service-card-media { height: 500px; } }
.service-card-img { transition: transform 900ms ease; }
.service-card:hover .service-card-img { transform: scale(1.05); }
.service-card-gradient { position: absolute; inset: 0; background: linear-gradient(to top, rgb(0 0 0 / 0.9), rgb(0 0 0 / 0.55) 55%, rgb(0 0 0 / 0.2)); }
.service-card-content { position: absolute; inset: 0; padding: 1.75rem; display: flex; flex-direction: column; justify-content: flex-end; color: #fff; z-index: 2; pointer-events: none; }
@media (min-width: 768px) { .service-card-content { padding: 2.25rem; } }
.service-card-link { position: absolute; inset: 0; z-index: 3; }
.service-card-icon { display: inline-flex; align-items: center; justify-content: center; width: 3rem; height: 3rem; border-radius: 0.375rem; background: var(--color-accent); color: var(--color-button-text); margin-bottom: 1.25rem; }
.service-card-title { font-family: var(--font-display); font-weight: 800; text-transform: uppercase; font-size: 1.25rem; line-height: 1.25; word-break: break-word; }
@media (min-width: 1024px) { .service-card-title { font-size: 1.5rem; } }
.service-card-body { margin-top: 0.75rem; font-size: 14px; line-height: 1.6; color: rgb(255 255 255 / 0.8); max-width: 36rem; }
.service-card-tags { margin-top: 1.25rem; display: flex; flex-wrap: wrap; gap: 0.5rem; }
.service-card-tags li { font-size: 12px; font-weight: 500; padding: 0.375rem 0.75rem; border-radius: 0.375rem; background: rgb(255 255 255 / 0.1); border: 1px solid rgb(255 255 255 / 0.2); backdrop-filter: blur(4px); }
.service-card-cta { margin-top: 1.5rem; display: inline-flex; align-items: center; gap: 0.5rem; font-size: 14px; font-weight: 500; color: #fff; align-self: flex-start; pointer-events: auto; position: relative; z-index: 4; }
.service-card:hover .service-card-cta { color: var(--color-accent); }

/* ---------------------------------------------------------
   Shop section + product cards (shared across all listing contexts)
   --------------------------------------------------------- */
.shop-section { background: var(--color-surface); padding: 6rem 0; }
@media (min-width: 768px) { .shop-section { padding: 8rem 0; } }
.shop-header { display: flex; flex-direction: column; gap: 1.5rem; margin-bottom: 2.5rem; }
@media (min-width: 1024px) { .shop-header { flex-direction: row; align-items: flex-end; justify-content: space-between; } }
.shop-header-copy { max-width: 42rem; }
.shop-header-sub { margin-top: 1.25rem; font-size: 14px; color: color-mix(in srgb, var(--color-foreground) 70%, transparent); line-height: 1.6; max-width: 36rem; }
.shop-search-wrap { position: relative; width: 100%; }
@media (min-width: 1024px) { .shop-search-wrap { width: 20rem; } }
.shop-search-icon { position: absolute; left: 1rem; top: 50%; transform: translateY(-50%); color: color-mix(in srgb, var(--color-foreground) 40%, transparent); }
.shop-search-input { width: 100%; height: 2.75rem; padding: 0 1rem 0 2.75rem; border-radius: 0.375rem; background: #fff; border: 1px solid color-mix(in srgb, var(--color-primary) 15%, transparent); font-size: 14px; font-family: var(--font-body); }
.shop-search-input:focus { outline: none; border-color: var(--color-accent); }

.shop-filter-pills { display: flex; flex-wrap: wrap; gap: 0.625rem; margin-bottom: 2.5rem; }
.shop-filter-pill { padding: 0 1.25rem; height: 2.5rem; border-radius: 0.375rem; font-size: 14px; font-weight: 600; font-family: var(--font-display); text-transform: uppercase; letter-spacing: 0.06em; border: 1px solid color-mix(in srgb, var(--color-primary) 15%, transparent); background: #fff; color: color-mix(in srgb, var(--color-primary) 80%, transparent); transition: color 0.2s ease, border-color 0.2s ease, background-color 0.2s ease; }
.shop-filter-pill:hover { border-color: var(--color-accent); color: var(--color-accent); }
.shop-filter-pill.is-active { background: var(--color-primary); color: var(--color-button-text); border-color: var(--color-primary); }

.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: 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-shop-item-hidden { display: none; }

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

.theme-product-card__image-wrapper {
	position: relative;
	aspect-ratio: 1 / 1;
	background: var(--color-surface);
	border-radius: 0.75rem;
	overflow: hidden;
	margin-bottom: 1rem;
}
.theme-product-card__image { transition: transform 1.4s cubic-bezier(0.22, 0.61, 0.36, 1); pointer-events: none; }
.theme-product-card:hover .theme-product-card__image { transform: scale(1.04); }

.theme-card-link { position: absolute; inset: 0; z-index: 2; pointer-events: auto; }
.theme-product-card__image-wrapper *:not(.theme-card-link) { pointer-events: none; }

.theme-product-badge {
	position: absolute; top: 0.75rem; left: 0.75rem; z-index: 5;
	font-size: 11px; font-weight: 500; padding: 0.25rem 0.625rem; border-radius: 999px;
	background: var(--color-foreground); color: var(--color-background);
}

.theme-card-carousel-btn {
	position: absolute; top: 50%; transform: translateY(-50%); z-index: 4;
	width: 2rem; height: 2rem; border-radius: 999px;
	background: color-mix(in srgb, var(--color-background) 85%, transparent);
	backdrop-filter: blur(4px);
	display: inline-flex; align-items: center; justify-content: center;
	color: var(--color-foreground);
	opacity: 0; transition: opacity 0.3s ease, background-color 0.3s ease, color 0.3s ease;
	pointer-events: auto;
	border: none;
}
.theme-product-card:hover .theme-card-carousel-btn { opacity: 1; }
.theme-card-carousel-btn:hover { background: var(--color-primary); color: var(--color-button-text); }
.theme-card-carousel-prev { left: 0.5rem; }
.theme-card-carousel-next { right: 0.5rem; }
.theme-card-dots { position: absolute; top: 0.75rem; right: 0.75rem; z-index: 4; display: flex; gap: 0.25rem; pointer-events: none; }
.theme-card-dot { height: 4px; width: 4px; border-radius: 999px; background: color-mix(in srgb, var(--color-background) 60%, transparent); transition: all 0.2s ease; }
.theme-card-dot.is-active { width: 1rem; background: var(--color-background); }

.theme-product-card__quick-actions {
	position: absolute; left: 0.75rem; right: 0.75rem; bottom: 0.75rem; z-index: 4;
	display: flex; align-items: center; gap: 0.5rem;
	opacity: 0; transition: opacity 0.5s ease;
}
.theme-product-card:hover .theme-product-card__quick-actions { opacity: 1; }
.theme-product-card__add-btn.add_to_cart_button.ajax_add_to_cart {
	flex: 1 1 auto; min-height: 2.5rem !important; height: 2.5rem !important;
	border-radius: 999px !important; padding: 0 1rem !important;
	background: color-mix(in srgb, var(--color-background) 95%, transparent) !important;
	color: var(--color-foreground) !important;
	font-size: 14px !important; font-weight: 500 !important; letter-spacing: 0.02em;
	backdrop-filter: blur(4px);
	pointer-events: auto;
	text-transform: none !important;
}
.theme-product-card__add-btn.add_to_cart_button.ajax_add_to_cart:hover {
	background: var(--color-primary) !important; color: var(--color-button-text) !important;
}
.theme-product-card__quick-view {
	width: 2.5rem; height: 2.5rem; border-radius: 999px; flex-shrink: 0;
	background: color-mix(in srgb, var(--color-background) 95%, transparent);
	backdrop-filter: blur(4px);
	display: inline-flex; align-items: center; justify-content: center;
	color: var(--color-foreground);
	pointer-events: auto;
	transition: background-color 0.3s ease, color 0.3s ease;
}
.theme-product-card__quick-view:hover { background: var(--color-primary); color: var(--color-button-text); }

.theme-product-card__meta-link { display: block; padding: 0 0.125rem; pointer-events: auto; position: relative; z-index: 1; }
.theme-product-card__category { font-size: 11px; text-transform: uppercase; letter-spacing: 0.16em; color: color-mix(in srgb, var(--color-primary) 90%, transparent); margin-bottom: 0.375rem; font-weight: 500; }
.theme-product-card__title {
	font-family: var(--font-display); font-weight: 800; text-transform: uppercase;
	font-size: 1.15rem; line-height: 1.375;
	color: var(--color-foreground); transition: color 0.3s ease;
	min-width: 0;
}
@media (min-width: 768px) { .theme-product-card__title { font-size: 1.3rem; } }
@media (min-width: 1024px) { .theme-product-card__title { font-size: 1.4rem; } }
.theme-product-card:hover .theme-product-card__title { color: var(--color-primary); }
.theme-product-card__price { margin-top: 0.375rem; font-size: 14px; font-weight: 500; color: color-mix(in srgb, var(--color-foreground) 85%, transparent); }
.theme-product-card__price .woocommerce-Price-amount { font-weight: 500; }

.shop-empty-message { text-align: center; padding: 5rem 0; color: color-mix(in srgb, var(--color-foreground) 60%, transparent); }
.shop-view-all-wrap { margin-top: 3rem; display: flex; justify-content: center; }
.theme-archive-empty { text-align: center; padding: 5rem 0; color: color-mix(in srgb, var(--color-foreground) 60%, transparent); }

/* ---------------------------------------------------------
   CTA band
   --------------------------------------------------------- */
.cta-band-section { position: relative; overflow: hidden; }
.cta-band-scrim-dark { position: absolute; inset: 0; background: rgb(0 0 0 / 0.4); pointer-events: none; }
.cta-band-content { position: relative; z-index: 10; padding: 7rem 0; text-align: center; color: #fff; }
@media (min-width: 768px) { .cta-band-content { padding: 10rem 0; } }
.cta-band-eyebrow { display: inline-flex; align-items: center; justify-content: center; gap: 0.75rem; font-size: 12px; letter-spacing: 0.32em; text-transform: uppercase; color: rgb(255 255 255 / 0.85); margin-bottom: 1.5rem; font-weight: 700; font-family: var(--font-display); }
.cta-band-rule { height: 1px; width: 2rem; background: var(--color-accent); display: inline-block; }
.cta-band-description { margin-top: 1.75rem; max-width: 36rem; margin-inline: auto; font-size: 15px; color: rgb(255 255 255 / 0.85); line-height: 1.6; }
.cta-band-actions { margin-top: 2.5rem; display: flex; flex-direction: column; gap: 0.75rem; justify-content: center; }
@media (min-width: 640px) { .cta-band-actions { flex-direction: row; gap: 1rem; } }

/* ---------------------------------------------------------
   Contact
   --------------------------------------------------------- */
.contact-section { background: var(--color-surface); padding: 6rem 0 3rem; }
@media (min-width: 768px) { .contact-section { padding: 8rem 0 4rem; } }
.contact-grid { display: grid; grid-template-columns: 1fr; gap: 3rem; align-items: stretch; }
@media (min-width: 1024px) { .contact-grid { grid-template-columns: 1fr 1fr; gap: 5rem; } }
.contact-info-col { display: flex; flex-direction: column; height: 100%; text-align: left; }
.contact-description { margin-top: 1.5rem; font-size: 15px; color: color-mix(in srgb, var(--color-foreground) 70%, transparent); line-height: 1.6; max-width: 28rem; }
.contact-methods { margin-top: 2.5rem; display: flex; flex-direction: column; gap: 1.25rem; }
.contact-method { display: inline-flex; align-items: center; gap: 1rem; color: var(--color-foreground); transition: color 0.2s ease; width: fit-content; max-width: 100%; }
.contact-method:hover { color: var(--color-accent); }
.contact-method-icon { width: 2.75rem; height: 2.75rem; border-radius: 0.375rem; background: var(--color-primary); color: var(--color-button-text); display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; }
.contact-method-text { display: flex; flex-direction: column; text-align: left; }
.contact-method-label { font-size: 12px; letter-spacing: 0.18em; text-transform: uppercase; color: color-mix(in srgb, var(--color-foreground) 55%, transparent); font-weight: 700; font-family: var(--font-display); }
.contact-method-value { font-size: 15px; font-weight: 500; overflow-wrap: break-word; word-break: break-word; }
.contact-note-wrap { margin-top: auto; padding-top: 2.5rem; }
.contact-note { position: relative; border-radius: 0.5rem; border: 1px solid color-mix(in srgb, var(--color-primary) 10%, transparent); border-left: 4px solid var(--color-accent); background: #fff; padding: 1.5rem; }
@media (min-width: 768px) { .contact-note { padding: 1.75rem; } }
.contact-note-title { font-family: var(--font-display); font-weight: 800; text-transform: uppercase; color: var(--color-primary); font-size: 1.125rem; line-height: 1.35; }
@media (min-width: 768px) { .contact-note-title { font-size: 1.25rem; } }
.contact-note-body { margin-top: 0.75rem; font-size: 14px; color: color-mix(in srgb, var(--color-foreground) 70%, transparent); line-height: 1.6; }
.contact-steps { margin-top: 1.5rem; padding-top: 1.25rem; border-top: 1px solid color-mix(in srgb, var(--color-primary) 10%, transparent); }
.contact-steps-label { font-size: 12px; letter-spacing: 0.18em; text-transform: uppercase; color: color-mix(in srgb, var(--color-primary) 70%, transparent); font-weight: 700; margin-bottom: 0.75rem; font-family: var(--font-display); }
.contact-steps-list { display: flex; flex-direction: column; gap: 0.625rem; }
.contact-steps-list li { display: flex; align-items: flex-start; gap: 0.75rem; font-size: 14px; color: color-mix(in srgb, var(--color-foreground) 75%, transparent); line-height: 1.6; }
.contact-step-num { flex-shrink: 0; margin-top: 2px; width: 1.25rem; height: 1.25rem; border-radius: 999px; background: var(--color-accent); color: var(--color-button-text); font-size: 12px; font-weight: 700; display: inline-flex; align-items: center; justify-content: center; }

.contact-form { background: #fff; border: 1px solid color-mix(in srgb, var(--color-primary) 10%, transparent); border-radius: 0.5rem; padding: 1.5rem; box-shadow: var(--shadow-soft); height: 100%; display: flex; flex-direction: column; }
@media (min-width: 768px) { .contact-form { padding: 2rem; } }
.contact-form-fields { flex: 1; display: flex; flex-direction: column; gap: 1rem; }
.contact-field-row { display: grid; grid-template-columns: 1fr; gap: 1rem; }
@media (min-width: 640px) { .contact-field-row { grid-template-columns: 1fr 1fr; } }
.contact-label { display: block; font-size: 12px; letter-spacing: 0.18em; text-transform: uppercase; color: color-mix(in srgb, var(--color-primary) 70%, transparent); margin-bottom: 0.5rem; font-weight: 700; font-family: var(--font-display); }
.contact-input {
	width: 100%; height: 3rem; padding: 0 1rem; background: #fff;
	border: 1px solid color-mix(in srgb, var(--color-primary) 15%, transparent);
	border-radius: 0.375rem; font-size: 14px; color: var(--color-foreground);
	font-family: var(--font-body); transition: border-color 0.2s ease;
}
.contact-input::placeholder { color: color-mix(in srgb, var(--color-foreground) 45%, transparent); }
.contact-input:focus, .contact-input:focus-visible { outline: none; border-color: var(--color-accent); }
.contact-textarea { height: auto; padding: 0.75rem 1rem; resize: none; }
.contact-select-wrap { position: relative; }
.contact-select { appearance: none; padding-right: 2.5rem; }
.contact-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-upload-note { display: flex; align-items: flex-start; gap: 0.75rem; border-radius: 0.375rem; background: var(--color-surface); border: 1px solid color-mix(in srgb, var(--color-primary) 10%, transparent); padding: 1rem; }
.contact-upload-note svg { flex-shrink: 0; margin-top: 2px; color: var(--color-accent); }
.contact-upload-note p { font-size: 13px; color: color-mix(in srgb, var(--color-foreground) 70%, transparent); line-height: 1.6; }
.contact-upload-note a { color: var(--color-accent); font-weight: 500; }
.contact-upload-note a:hover { text-decoration: underline; }
.contact-form-footer { padding-top: 0.5rem; display: flex; flex-direction: column; gap: 0.75rem; }
.contact-submit-btn { width: 100%; }
.contact-response-note { font-size: 12px; color: color-mix(in srgb, var(--color-foreground) 55%, transparent); text-align: center; }
.contact-form-message { font-size: 13px; padding: 0.75rem 1rem; border-radius: 0.375rem; }
.contact-form-message.is-success { background: color-mix(in srgb, var(--color-primary) 10%, transparent); color: var(--color-primary); }
.contact-form-message.is-error { background: color-mix(in srgb, var(--color-accent) 10%, transparent); color: var(--color-accent); }

/* ---------------------------------------------------------
   Footer — matches Lovable container-wide padding scale
   (px-5 / sm:px-6 / lg:px-10) and vertical rhythm (pt-14 lg:pt-20)
   --------------------------------------------------------- */
.site-footer { background: var(--color-primary); color: #fff; }
.site-footer .theme-footer-inner {
	width: 100%;
	max-width: 1280px;
	margin-inline: auto;
	padding-top: 3.5rem;
	padding-bottom: 2rem;
	padding-left: 1.25rem;
	padding-right: 1.25rem;
}
@media (min-width: 640px) {
	.site-footer .theme-footer-inner {
		padding-left: 1.5rem;
		padding-right: 1.5rem;
	}
}
@media (min-width: 1024px) {
	.site-footer .theme-footer-inner {
		padding-top: 5rem;
		padding-bottom: 2.5rem;
		padding-left: 2.5rem;
		padding-right: 2.5rem;
	}
}
.theme-footer-grid { display: grid; grid-template-columns: 1fr; gap: 2.5rem; }
@media (min-width: 640px) { .theme-footer-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .theme-footer-grid { grid-template-columns: repeat(4, 1fr); gap: 3rem; } }
.theme-footer-brand,
.theme-footer-col { min-width: 0; }
.theme-footer-tagline { margin-top: 1.25rem; font-family: var(--font-display); font-weight: 700; font-size: 15px; line-height: 1.4; color: #fff; }
.theme-footer-description { margin-top: 0.75rem; font-size: 14px; color: rgb(255 255 255 / 0.7); line-height: 1.6; max-width: 20rem; }
.theme-footer-col-title { font-family: var(--font-display); font-weight: 700; font-size: 14px; text-transform: uppercase; letter-spacing: 0.14em; color: #fff; margin-bottom: 1rem; }
.theme-footer-links { display: flex; flex-direction: column; gap: 0.625rem; }
.theme-footer-links a { display: block; text-align: left; font-size: 14px; color: rgb(255 255 255 / 0.7); transition: color 0.2s ease; }
.theme-footer-links a:hover { color: #fff; }
.theme-footer-contact { display: flex; flex-direction: column; gap: 0.75rem; font-size: 14px; }
.theme-footer-contact-link { display: inline-flex; align-items: flex-start; gap: 0.5rem; color: rgb(255 255 255 / 0.8); transition: color 0.2s ease; overflow-wrap: break-word; word-break: break-word; }
.theme-footer-contact-link:hover { color: #fff; }
.theme-footer-address { display: inline-flex; align-items: flex-start; gap: 0.5rem; color: rgb(255 255 255 / 0.7); }
.theme-footer-bottom { margin-top: 3.5rem; padding-top: 2rem; border-top: 1px solid rgb(255 255 255 / 0.15); display: flex; flex-direction: column; align-items: center; justify-content: space-between; gap: 0.75rem; font-size: 12px; color: rgb(255 255 255 / 0.6); text-align: center; }
@media (min-width: 640px) { .theme-footer-bottom { flex-direction: row; text-align: left; } }
.theme-footer-bottom-text { text-transform: uppercase; letter-spacing: 0.16em; }

/* ---------------------------------------------------------
   Generic page / 404
   --------------------------------------------------------- */
.theme-page-main, .theme-generic-main, .theme-404-main, .theme-archive-main { padding-bottom: 5rem; }
.page-title { font-family: var(--font-display); font-weight: 800; text-transform: uppercase; font-size: 2.25rem; color: var(--color-primary); margin: 2.5rem 0 2rem; letter-spacing: -0.025em; }
.page-title-checkout { font-size: 2.25rem; }
@media (min-width: 768px) { .page-title-checkout { font-size: 3rem; } }
.theme-checkout-back {
	display: inline-flex; align-items: center; gap: 0.5rem;
	font-size: 14px; font-weight: 500; color: color-mix(in srgb, var(--color-foreground) 65%, transparent);
	margin-bottom: 1.5rem; transition: color 0.2s ease;
}
.theme-checkout-back:hover { color: var(--color-primary); }
.theme-404-content { text-align: center; padding: 7rem 0; }
.theme-404-title { font-family: var(--font-display); font-weight: 800; text-transform: uppercase; font-size: 2.5rem; color: var(--color-primary); margin-bottom: 1rem; }
.theme-404-text { color: color-mix(in srgb, var(--color-foreground) 65%, transparent); margin-bottom: 2rem; }
.theme-archive-header { padding-top: 2.5rem; }

/* ---------------------------------------------------------
   Single product
   --------------------------------------------------------- */
.theme-single-product-main { padding-bottom: 5rem; }
.theme-breadcrumb { padding: 1.5rem 0; font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; color: color-mix(in srgb, var(--color-foreground) 55%, transparent); }
.theme-breadcrumb a:hover { color: var(--color-primary); }
.theme-breadcrumb-sep { margin: 0 0.5rem; opacity: 0.5; }
.theme-breadcrumb-current { color: var(--color-foreground); }

.theme-product-layout { display: grid; grid-template-columns: 1fr; gap: 2.5rem; padding-bottom: 3rem; align-items: start; min-width: 0; }
@media (min-width: 1024px) { .theme-product-layout { grid-template-columns: 7fr 5fr; gap: 4rem; } }
.theme-product-gallery { min-width: 0; max-width: 100%; }
@media (min-width: 1024px) { .theme-product-gallery { position: sticky; top: 7rem; } }
.theme-product-main-image-wrap { position: relative; aspect-ratio: 1/1; width: 100%; background: var(--color-surface); border-radius: 0.75rem; overflow: hidden; margin-bottom: 1rem; }
.theme-product-main-img { position: absolute; inset: 0; width: 100%; height: 100%; }
.theme-product-thumbnails { display: grid; grid-template-columns: repeat(5, 1fr); gap: 0.625rem; flex-wrap: wrap; max-width: 100%; }
.theme-product-thumb { position: relative; aspect-ratio: 1/1; background: var(--color-surface); border-radius: 0.375rem; overflow: hidden; border: 2px solid transparent; padding: 0; }
.theme-product-thumb img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.theme-product-thumb.is-active { border-color: var(--color-primary); }
.theme-product-thumb:hover { border-color: color-mix(in srgb, var(--color-foreground) 20%, transparent); }

.theme-product-info { min-width: 0; max-width: 100%; }
.theme-product-cat { font-size: 11px; letter-spacing: 0.28em; text-transform: uppercase; color: var(--color-primary); margin-bottom: 0.75rem; font-weight: 500; }
.product-title.theme-product-title {
	font-family: var(--font-display); font-weight: 800; text-transform: uppercase;
	font-size: 1.875rem; line-height: 1.18; letter-spacing: -0.025em;
	color: var(--color-foreground); margin-bottom: 1rem;
}
@media (min-width: 768px) { .product-title.theme-product-title { font-size: 2.25rem; } }
@media (min-width: 1024px) { .product-title.theme-product-title { font-size: 2.6rem; } }
.theme-product-price { font-size: 20px; font-weight: 500; color: color-mix(in srgb, var(--color-foreground) 90%, transparent); margin-bottom: 1.75rem; }
.theme-product-stock { font-size: 13px; font-weight: 600; margin-bottom: 1rem; }
.theme-product-stock.is-out-of-stock { color: var(--color-accent); }
.theme-product-description,
.woocommerce-product-details__short-description,
.woocommerce-variation-description,
.posted_in {
	overflow-wrap: break-word; word-break: break-word;
}
.theme-product-description { font-size: 15px; line-height: 1.7; color: color-mix(in srgb, var(--color-foreground) 75%, transparent); margin-bottom: 2rem; }
.theme-product-description p { margin-bottom: 1em; }

.theme-back-to-shop { margin-bottom: 1.5rem; }
.theme-back-to-shop-link {
	display: inline-flex; align-items: center; gap: 0.5rem;
	font-size: 14px; font-weight: 500; color: color-mix(in srgb, var(--color-foreground) 70%, transparent);
	transition: color 0.2s ease;
}
.theme-back-to-shop-link:hover { color: var(--color-primary); }

.theme-product-qty-label {
	font-size: 12px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase;
	color: var(--color-primary); margin-bottom: 0.5rem; width: 100%;
}

.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 { background: none; border: none; padding: 0.625rem 1rem; color: var(--color-foreground); transition: color 0.2s ease; }
.theme-qty-minus:hover, .theme-qty-plus:hover { color: var(--color-primary); }
.theme-qty-input { width: 3rem; border: none; background: none; text-align: center; font-size: 14px; font-weight: 500; -moz-appearance: textfield; }
.theme-qty-input::-webkit-outer-spin-button, .theme-qty-input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }

.single-product .theme-add-to-cart-area {
	display: flex; align-items: stretch; flex-wrap: wrap; gap: 0.75rem; margin: 1.5rem 0;
}
.single-product .single_add_to_cart_button { flex: 1 1 auto; min-width: 160px; }
.theme-buy-now-btn { flex: 1 1 auto; min-width: 160px; }

.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;
}
/* Card compact button — overrides the global rules above (Section 11.4.1) */
.theme-product-card .add_to_cart_button.ajax_add_to_cart {
	min-height: unset !important;
	height: 2.5rem !important;
	padding: 0 1rem !important;
	border-radius: 999px !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; }

.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; }

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

.theme-product-trust-grid { 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); }
.theme-trust-item { text-align: center; }
.theme-trust-item svg { margin: 0 auto 0.5rem; color: var(--color-primary); display: block; }
.theme-trust-item p { font-size: 11px; 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-header { display: flex; align-items: flex-end; justify-content: space-between; margin-bottom: 2.5rem; }
.related-products-heading { font-size: 1.5rem; }
@media (min-width: 768px) { .related-products-heading { font-size: 1.875rem; } }
.related-products-viewall { display: none; align-items: center; gap: 0.375rem; font-size: 14px; font-weight: 500; color: color-mix(in srgb, var(--color-foreground) 70%, transparent); }
@media (min-width: 640px) { .related-products-viewall { display: inline-flex; } }
.related-products-viewall:hover { color: var(--color-primary); }

/* ---------------------------------------------------------
   Side cart drawer
   --------------------------------------------------------- */
#theme-cart-overlay { position: fixed; inset: 0; background: rgb(29 40 58 / 0.3); z-index: 100; opacity: 0; visibility: hidden; transition: opacity 0.3s ease, visibility 0.3s ease; }
body.cart-open #theme-cart-overlay { opacity: 1; visibility: visible; }

#theme-cart-drawer {
	position: fixed; right: 0; top: 0; height: 100%; width: 100%; max-width: 28rem;
	background: var(--color-background); z-index: 101; box-shadow: var(--shadow-elevated);
	display: flex; flex-direction: column;
	transform: translateX(100%); transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}
body.admin-bar #theme-cart-drawer {
	padding-top: var(--wp-admin-bar-height, 0px);
	padding-bottom: var(--wp-admin-bar-height, 0px);
}
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-family: var(--font-display); font-weight: 800; text-transform: uppercase; font-size: 1.25rem; color: var(--color-primary); }
.theme-cart-close { background: none; border: none; padding: 0.375rem; border-radius: 999px; color: var(--color-foreground); }
.theme-cart-close:hover { background: color-mix(in srgb, var(--color-foreground) 6%, transparent); }

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

.theme-cart-items { flex: 1; overflow: auto; padding: 1.5rem; display: flex; flex-direction: column; gap: 1.25rem; }
.theme-cart-item { display: flex; gap: 1rem; }
.theme-cart-item-image { width: 5rem; height: 5rem; background: var(--color-bone); border-radius: 0.375rem; overflow: hidden; flex-shrink: 0; display: block; }
.theme-cart-item-image img { width: 100%; height: 100%; object-fit: cover; }
.theme-cart-item-body { flex: 1; min-width: 0; }
.theme-cart-item-name { font-size: 14px; font-weight: 500; display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.theme-cart-item-name:hover { color: var(--color-primary); }
.theme-cart-item-price { font-size: 13px; color: color-mix(in srgb, var(--color-foreground) 60%, transparent); margin-top: 0.125rem; }
.theme-cart-item-variation { font-size: 12px; color: color-mix(in srgb, var(--color-foreground) 55%, transparent); margin-top: 0.25rem; }
.theme-cart-item-controls { display: flex; align-items: center; gap: 0.5rem; margin-top: 0.5rem; }
.theme-cart-qty-btn { background: none; border: none; padding: 0.25rem 0.5rem; border-radius: 0.25rem; }
.theme-cart-qty-btn:hover { background: var(--color-bone); }
.theme-cart-qty-value { font-size: 13px; width: 1.5rem; text-align: center; }
.theme-cart-remove { margin-left: auto; font-size: 13px; color: color-mix(in srgb, var(--color-foreground) 55%, transparent); background: none; border: none; }
.theme-cart-remove:hover { color: var(--color-accent); }

.theme-cart-footer { padding: 1.5rem; border-top: 1px solid color-mix(in srgb, var(--color-foreground) 10%, transparent); background: color-mix(in srgb, var(--color-surface) 40%, transparent); display: flex; flex-direction: column; gap: 1rem; }
.theme-cart-subtotal-row { display: flex; justify-content: space-between; font-size: 14px; }
.theme-cart-subtotal-row span:first-child { color: color-mix(in srgb, var(--color-foreground) 65%, transparent); }
.theme-cart-subtotal-row span:last-child { font-weight: 500; }
.theme-cart-shipping-note { font-size: 13px; color: color-mix(in srgb, var(--color-foreground) 55%, transparent); }
.theme-cart-checkout-btn { width: 100%; }
.theme-cart-empty-btn { width: 100%; color: color-mix(in srgb, var(--color-foreground) 60%, transparent); }

/* ---------------------------------------------------------
   WooCommerce notices — scoped visibility (Section 14.1)
   --------------------------------------------------------- */
.single-product .woocommerce-message,
.single-product .woocommerce-info,
.woocommerce-page.theme-archive-main .woocommerce-message,
#theme-cart-drawer .woocommerce-message {
	display: none;
}
.woocommerce-message, .woocommerce-info, .woocommerce-error {
	border-radius: var(--radius);
	padding: 1rem 1.25rem;
	font-size: 14px;
	background: var(--color-surface);
	border: 1px solid color-mix(in srgb, var(--color-primary) 15%, transparent);
	color: var(--color-foreground);
	list-style: none;
	margin: 0 0 1.5rem;
}
.woocommerce-error { border-color: color-mix(in srgb, var(--color-accent) 30%, transparent); color: var(--color-accent); }

/* ---------------------------------------------------------
   Checkout / Cart / Account (WooCommerce Blocks)
   --------------------------------------------------------- */
body.woocommerce-checkout .site-main,
body.woocommerce-cart .site-main,
body.woocommerce-account .site-main {
	padding-top: calc(var(--header-height-mobile) + 1.5rem);
	padding-bottom: 4rem;
}
@media (min-width: 1024px) {
	body.woocommerce-checkout .site-main,
	body.woocommerce-cart .site-main,
	body.woocommerce-account .site-main {
		padding-top: calc(var(--header-height) + 1.5rem);
	}
}

body.theme-checkout-page .theme-page-main .page-title-checkout,
body.woocommerce-checkout .theme-page-main .page-title-checkout {
	font-family: var(--font-display) !important;
	font-weight: 800 !important;
	text-transform: uppercase !important;
	letter-spacing: -0.025em !important;
	color: var(--color-primary) !important;
}
@media (min-width: 768px) {
	body.theme-checkout-page .theme-page-main .page-title-checkout,
	body.woocommerce-checkout .theme-page-main .page-title-checkout {
		font-size: 3rem !important;
	}
}
body.theme-checkout-page .wc-block-components-checkout-step__title,
body.woocommerce-checkout .wc-block-components-checkout-step__title,
body.theme-checkout-page .wc-block-components-checkout-order-summary__title,
body.woocommerce-checkout .wc-block-components-checkout-order-summary__title {
	font-family: var(--font-display) !important;
	font-weight: 800 !important;
	text-transform: uppercase !important;
	letter-spacing: -0.025em !important;
	color: var(--color-primary) !important;
}

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,
.woocommerce-checkout .form-row .input-text,
.woocommerce-checkout .form-row select {
	font-family: var(--font-body);
	font-size: 15px;
	color: var(--color-foreground);
	border: 1px solid color-mix(in srgb, var(--color-primary) 15%, transparent);
	border-radius: var(--radius);
	background: #fff;
}
body.woocommerce-checkout .wc-block-components-text-input input:focus,
body.woocommerce-checkout .wc-block-components-select select:focus {
	outline: none;
	border-color: var(--color-accent);
}
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-button-text) !important;
	border-radius: var(--btn-radius) !important;
	font-family: var(--font-body) !important;
	text-transform: none !important;
	font-weight: 500 !important;
}
body.woocommerce-checkout .wc-block-components-checkout-place-order-button:hover {
	opacity: 0.9;
}

body.woocommerce-checkout .wc-block-checkout {
	display: block;
	width: 100%;
}
@media (min-width: 768px) {
	body.woocommerce-checkout .wc-block-checkout__sidebar-layout,
	body.woocommerce-checkout .wc-block-components-sidebar-layout.wc-block-checkout.is-large {
		display: grid;
		grid-template-columns: 1fr 1fr;
		gap: var(--checkout-gap, 2rem);
		align-items: start;
		width: 100%;
	}
	body.woocommerce-checkout .wc-block-components-notice-banner {
		grid-column: 1 / -1;
	}
}
body.woocommerce-checkout .wc-block-checkout__main,
body.woocommerce-checkout .wc-block-checkout__sidebar {
	min-width: 0;
	width: 100%;
	max-width: none;
}
body.woocommerce-checkout .wc-block-components-text-input input,
body.woocommerce-checkout .wc-block-components-select select {
	width: 100% !important;
	max-width: none !important;
}
body.woocommerce-checkout .wc-block-checkout__sidebar {
	background-color: var(--color-surface);
	border-radius: var(--card-radius);
	padding: 2rem;
}

/* ---------------------------------------------------------
   Thank-you page
   --------------------------------------------------------- */
body.theme-thankyou-page { overflow-x: hidden; }
body.theme-thankyou-page .woocommerce-order-details table {
	width: 100%;
	table-layout: fixed;
}
body.theme-thankyou-page .woocommerce-order h2,
body.theme-thankyou-page .woocommerce-order-details__title {
	font-family: var(--font-display); font-weight: 800; text-transform: uppercase;
	color: var(--color-primary); padding: 0 0 1rem 0;
}
body.theme-thankyou-page .woocommerce-order-overview { display: flex; flex-wrap: wrap; gap: 1rem; list-style: none; padding: 0; margin: 1.5rem 0; }
body.theme-thankyou-page .woocommerce-order-overview li { background: var(--color-surface); border-radius: var(--radius); padding: 1rem 1.25rem; font-size: 14px; }
body.theme-thankyou-page .woocommerce-order-details tfoot th { text-align: left; }
body.theme-thankyou-page .woocommerce-order-details tfoot td { text-align: right; }
@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; overflow-wrap: break-word; }

/* Hide shipping method selector / free shipping options */
body.woocommerce-checkout .wc-block-components-shipping-rates-control,
body.woocommerce-checkout .wc-block-components-totals-shipping,
body.woocommerce-checkout .wc-block-components-shipping-calculator,
body.woocommerce-checkout .wc-block-components-totals-shipping .wc-block-components-panel,
body.woocommerce-checkout .wc-block-components-radio-control--highlight-checked--shipping-option,
body.woocommerce-checkout .wc-block-components-checkout-step--shipping-method,
body.woocommerce-checkout [data-block-name="woocommerce/checkout-shipping-methods-block"],
body.woocommerce-checkout .wc-block-components-checkout-step:has(.wc-block-components-shipping-rates-control) {
	display: none !important;
}

/* Mobile / tablet adjustments (desktop unchanged) */
@media (max-width: 1023px) {
	.hero-section .container-wide,
	.contact-section .container-wide,
	.theme-page-main > .container-wide,
	.theme-single-product-main > .container-wide,
	.theme-archive-main > .container-wide,
	.theme-mobile-nav .container-wide {
		padding-left: 1.25rem;
		padding-right: 1.25rem;
	}
}
@media (min-width: 640px) and (max-width: 1023px) {
	.hero-section .container-wide,
	.contact-section .container-wide,
	.theme-page-main > .container-wide,
	.theme-single-product-main > .container-wide,
	.theme-archive-main > .container-wide,
	.theme-mobile-nav .container-wide {
		padding-left: 1.5rem;
		padding-right: 1.5rem;
	}
}
@media (max-width: 1023px) {
	.theme-404-content,
	.related-products-header,
	.theme-breadcrumb { text-align: center; }
	.related-products-viewall { justify-content: center; }
	.theme-product-trust-grid { justify-items: center; }
	.theme-trust-item { text-align: center; }

	/* Checkout / product page top spacing — avoid double header offset */
	body.theme-no-hero.theme-checkout-page .theme-page-main,
	body.theme-no-hero.woocommerce-checkout .theme-page-main,
	body.woocommerce-checkout .site-main.theme-page-main {
		padding-top: var(--header-height-mobile);
		padding-bottom: 4rem;
	}
	body.theme-checkout-page .page-title-checkout,
	body.woocommerce-checkout .page-title-checkout {
		margin-top: 0;
		margin-bottom: 2.5rem;
	}

	body.theme-no-hero.single-product .theme-single-product-main {
		padding-top: 8rem;
	}
	body.single-product .theme-breadcrumb {
		padding-top: 0;
	}
}

@media (max-width: 767px) {
	/* Hide duplicate order summary in checkout sidebar on mobile only */
	body.woocommerce-checkout .wc-block-checkout__sidebar,
	body.woocommerce-checkout .wc-block-checkout__sidebar .wp-block-woocommerce-checkout-order-summary-block,
	body.woocommerce-checkout .wc-block-checkout__sidebar .wc-block-components-order-summary,
	body.woocommerce-checkout .wp-block-woocommerce-checkout-order-summary-block,
	body.woocommerce-checkout .wc-block-components-sidebar-layout .wc-block-checkout__sidebar {
		display: none !important;
	}
}
