/* ==========================================================================
   Macabre Queen Studio — theme.css
   Gothic photographer: deep noir, bone whites, blood crimson, antique gold.
   Theme by The Free Website Guys.
   ========================================================================== */

:root {
	--color-background: #f1f0ee;
	--color-foreground: #121212;
	--color-primary: #871d25;
	--color-noir: #121212;
	--color-noir-soft: #212121;
	--color-brass: #bc934e;
	--color-brass-light: #d1af75;
	--color-cream: #f1f0ee;
	--color-bone: #e4e0dd;
	--color-border: #cbc7c2;
	--color-muted-foreground: #474747;
	--color-card: #f6f5f4;
	--color-muted: #d9d6d3;

	--font-display: 'Cinzel', serif;
	--font-body: 'Manrope', sans-serif;
	--ease-smooth: cubic-bezier(0.4, 0, 0.2, 1);
	--ease-soft: cubic-bezier(0.25, 0.4, 0.25, 1);
	--ease-expo: cubic-bezier(0.16, 1, 0.3, 1);

	--header-height: 5rem;

	/* WooCommerce button override tokens */
	--btn-radius: 0;
	--btn-height: 3.5rem;
	--btn-padding: 0 2.25rem;
	--btn-font-size: 0.875rem;
	--btn-font-weight: 500;
	--btn-letter-spacing: normal;
	--btn-text-transform: none;
	--color-button-text: var(--color-card);
}

/* ---------- Reset (Tailwind preflight parity) ---------- */
*, *::before, *::after { box-sizing: border-box; border-width: 0; border-style: solid; border-color: var(--color-border); }
html { line-height: 1.5; -webkit-text-size-adjust: 100%; font-family: var(--font-body); }
body { margin: 0; line-height: inherit; }
h1, h2, h3, h4, h5, h6 { margin: 0; font-size: inherit; font-weight: inherit; }
p, figure, blockquote, dl, dd, ul, ol { margin: 0; }
ul, ol { list-style: none; padding: 0; }
a { color: inherit; text-decoration: inherit; }
button, input, select, textarea { font-family: inherit; font-size: 100%; font-weight: inherit; line-height: inherit; color: inherit; margin: 0; padding: 0; }
button { background: transparent; cursor: pointer; text-transform: none; -webkit-appearance: button; }
a[href], button:not(:disabled), [role="button"], [type="button"]:not(:disabled), [type="submit"]:not(:disabled), [type="reset"]:not(:disabled),
[type="checkbox"]:not(:disabled), [type="radio"]:not(:disabled), [type="file"]:not(:disabled), [type="range"]:not(:disabled), [type="color"]:not(:disabled),
select:not(:disabled), summary, label[for], [data-cart-open], [data-cart-close], [data-cart-remove], [data-cart-qty-update] { cursor: pointer; }
img, svg, video { display: block; vertical-align: middle; }
img, video { max-width: 100%; height: auto; }
table { border-collapse: collapse; border-color: inherit; text-indent: 0; }
em { font-style: italic; }
[hidden] { display: none !important; }

/* Cover / full-bleed images must not be forced to height:auto */
img:not(.cover-img):not(.hero-bg-img):not(.product-card-img):not(.product-gallery-main-img):not(.product-thumb-img):not(.cart-item-img):not(.cta-img):not(.brand-logo):not(.footer-logo) {
	max-width: 100%;
	height: auto;
}
.cover-img, .hero-bg-img, .product-card-img, .product-gallery-main-img, .product-thumb-img, .cart-item-img, .cta-img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

body {
	background-color: var(--color-background);
	color: var(--color-foreground);
	font-family: var(--font-body);
	font-weight: 400;
	letter-spacing: 0.005em;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}
h1, h2, h3, h4, h5, h6 { font-family: var(--font-display); font-weight: 500; letter-spacing: -0.005em; }
::selection { background: color-mix(in srgb, var(--color-primary) 45%, transparent); color: var(--color-cream); }

/* ---------- Layout helpers ---------- */
.container-wide { width: 100%; max-width: 80rem; margin-left: auto; margin-right: auto; padding-left: 1.5rem; padding-right: 1.5rem; }
@media (min-width: 1024px) { .container-wide { padding-left: 2.5rem; padding-right: 2.5rem; } }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border-width: 0; }
.block { display: block; }
.mb-1 { margin-bottom: 0.25rem; }
.mb-3 { margin-bottom: 0.75rem; }
.mb-4 { margin-bottom: 1rem; }
.mb-5 { margin-bottom: 1.25rem; }
.mt-3 { margin-top: 0.75rem; }
.mb-2 { margin-bottom: 0.5rem; }
.text-brass-light { color: var(--color-brass-light); }
.text-primary { color: var(--color-primary); }
.text-cream { color: var(--color-cream); }
.text-muted { color: var(--color-muted-foreground); }
.bg-background { background-color: var(--color-background); }
.bg-bone { background-color: var(--color-bone); }
.scroll-mt { scroll-margin-top: 6rem; }
.surface-noir { background: var(--color-noir); color: var(--color-cream); }

.eyebrow { font-size: 11px; letter-spacing: 0.32em; text-transform: uppercase; font-family: var(--font-body); font-weight: 500; }
.link-underline { position: relative; display: inline-block; }
.link-underline::after {
	content: ''; position: absolute; bottom: -0.25rem; left: 0; width: 100%; height: 1px; background: currentColor;
	transform-origin: left; transform: scaleX(0); transition: transform 0.5s var(--ease-smooth);
}
.link-underline:hover::after { transform: scaleX(1); }
.brass-rule { display: block; height: 1px; width: 3rem; background: var(--color-brass-light); margin: 2rem 0; }

.icon { flex-shrink: 0; }
.icon-3 { width: 0.75rem; height: 0.75rem; }
.icon-4 { width: 1rem; height: 1rem; }
.icon-5 { width: 1.25rem; height: 1.25rem; }
.icon-6 { width: 1.5rem; height: 1.5rem; }

/* ---------- Section scaffolding ---------- */
.section-pad { padding-top: 5rem; padding-bottom: 5rem; }
@media (min-width: 768px) { .section-pad { padding-top: 7rem; padding-bottom: 7rem; } }

.section-heading { font-family: var(--font-display); font-size: 2.25rem; line-height: 1.05; }
@media (min-width: 768px) { .section-heading { font-size: 3rem; } }
@media (min-width: 1024px) { .section-heading { font-size: 3.75rem; } }
.section-heading em, .hero-title em, .cta-title em, .wedding-title em, .brand-text em { font-family: var(--font-display); }
.section-heading em { color: var(--color-primary); font-style: italic; }
.surface-noir .section-heading em, .pillars-section .section-heading em { color: var(--color-brass-light); }

.section-head { display: grid; grid-template-columns: 1fr; gap: 2rem; align-items: end; margin-bottom: 3rem; }
.section-head-services { gap: 2.5rem; margin-bottom: 3.5rem; }
.section-head-wide.section-head { gap: 2rem; }
.pillars-section .section-head { gap: 2.5rem; margin-bottom: 3.5rem; }
.section-lead { color: var(--color-muted-foreground); font-weight: 300; line-height: 1.625; }
.section-lead.lead-lg { color: color-mix(in srgb, var(--color-cream) 65%, transparent); font-size: 1rem; }
@media (min-width: 768px) {
	.section-head { grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 3rem; margin-bottom: 4rem; }
	.section-head-services { gap: 3rem; margin-bottom: 5rem; }
	.pillars-section .section-head { gap: 4rem; margin-bottom: 5rem; }
	.section-head-main { grid-column: span 7 / span 7; }
	.section-lead { grid-column: span 5 / span 5; }
	.section-lead.lead-lg { font-size: 1.125rem; }
}
.section-cta { margin-top: 3rem; text-align: center; }

/* ---------- Buttons ---------- */
.btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem; white-space: nowrap;
	border-radius: 0; font-size: 0.875rem; line-height: 1.25rem; font-weight: 500; font-family: var(--font-body);
	transition: all 0.3s ease-out; cursor: pointer; text-decoration: none; letter-spacing: normal; text-transform: none;
}
.btn:active { transform: scale(0.98); }
.btn:disabled, .btn.is-sending { pointer-events: none; opacity: 0.5; }
.btn-lg { height: 3.5rem; padding-left: 2.25rem; padding-right: 2.25rem; }
.btn-default-size { height: 2.5rem; padding: 0.5rem 1rem; }
.btn-block { width: 100%; }
.btn-primary {
	background: var(--color-primary); color: var(--color-card);
	box-shadow: 0 2px 0 0 color-mix(in srgb, var(--color-primary) 35%, transparent);
}
.btn-primary:hover {
	background: color-mix(in srgb, var(--color-primary) 90%, transparent); color: var(--color-card);
	box-shadow: 0 10px 28px -10px color-mix(in srgb, var(--color-primary) 70%, transparent); transform: translateY(-0.125rem);
}
.btn-outline { border: 1px solid var(--color-border); background: var(--color-background); color: var(--color-foreground); }
.btn-outline:hover {
	background: var(--color-brass); color: var(--color-foreground); border-color: color-mix(in srgb, var(--color-foreground) 40%, transparent);
	transform: translateY(-0.125rem); box-shadow: 0 8px 22px -12px color-mix(in srgb, var(--color-foreground) 35%, transparent);
}
.btn-outline.btn-ghost-light { background: transparent; border-color: color-mix(in srgb, var(--color-cream) 40%, transparent); color: var(--color-cream); }
.btn-outline.btn-ghost-light:hover { background: color-mix(in srgb, var(--color-cream) 10%, transparent); color: var(--color-cream); border-color: color-mix(in srgb, var(--color-cream) 70%, transparent); }
.btn-outline.btn-about-secondary { letter-spacing: 0.22em; text-transform: uppercase; font-size: 0.75rem; line-height: 1rem; }
.btn-outline-dark {
	border: 1px solid var(--color-noir); color: var(--color-noir); background: var(--color-background);
	padding-left: 2.25rem; padding-right: 2.25rem; font-size: 0.75rem; line-height: 1rem; letter-spacing: 0.22em; text-transform: uppercase; font-weight: 500;
}
.btn-outline-dark:hover { background: var(--color-noir); color: var(--color-cream); transform: translateY(-0.125rem); box-shadow: 0 8px 22px -12px color-mix(in srgb, var(--color-foreground) 35%, transparent); }
.shop-section .btn-outline-dark, .bg-bone .btn-outline-dark { background: var(--color-background); }
.btn-hero-primary, .btn-hero-outline { text-transform: none; }

/* ---------- Header ---------- */
.site-header { position: fixed; top: 0; left: 0; right: 0; z-index: 50; transition: all 0.5s; background: transparent; }
.site-header.is-solid {
	background: color-mix(in srgb, var(--color-noir) 85%, transparent);
	-webkit-backdrop-filter: blur(40px) saturate(1.5); backdrop-filter: blur(40px) saturate(1.5);
	border-bottom: 1px solid var(--color-noir-soft);
	box-shadow: 0 1px 0 0 color-mix(in srgb, var(--color-brass) 15%, transparent);
}
.header-gradient {
	pointer-events: none; position: absolute; left: 0; right: 0; top: 0; height: 8rem;
	background: linear-gradient(to bottom, color-mix(in srgb, var(--color-noir) 85%, transparent), color-mix(in srgb, var(--color-noir) 45%, transparent), transparent);
}
.site-header.is-solid .header-gradient { display: none; }

/* WordPress admin bar: 32px tall, 46px at <=782px; WP makes it scroll away at <=600px, so it is pinned there to match the fixed header */
body.admin-bar .site-header { top: 32px; }
body.admin-bar #theme-cart-drawer { top: 32px; height: calc(100% - 32px); }
body.admin-bar .scroll-mt { scroll-margin-top: calc(6rem + 32px); }
@media (min-width: 1024px) { body.admin-bar .faq-image { top: calc(7rem + 32px); } }
@media screen and (max-width: 782px) {
	body.admin-bar .site-header { top: 46px; }
	body.admin-bar #theme-cart-drawer { top: 46px; height: calc(100% - 46px); }
	body.admin-bar .scroll-mt { scroll-margin-top: calc(6rem + 46px); }
}
@media screen and (max-width: 600px) {
	#wpadminbar { position: fixed; }
}
.header-container { position: relative; z-index: 10; }
.header-nav { display: flex; align-items: center; justify-content: space-between; height: 4rem; }
@media (min-width: 1024px) { .header-nav { height: 5rem; } }
.brand-link { display: flex; align-items: center; gap: 0.75rem; color: var(--color-cream); }
.brand-logo { height: 2.5rem; width: 2.5rem; border-radius: 9999px; object-fit: cover; border: 1px solid color-mix(in srgb, var(--color-brass) 40%, transparent); }
@media (min-width: 1024px) { .brand-logo { height: 2.75rem; width: 2.75rem; } }
.brand-text { display: none; font-family: var(--font-display); font-size: 1rem; line-height: 1.5rem; letter-spacing: 0.025em; color: var(--color-cream); }
@media (min-width: 640px) { .brand-text { display: block; } }
@media (min-width: 1024px) { .brand-text { font-size: 1.125rem; line-height: 1.75rem; } }
.brand-text em, .footer-brand-text em { color: var(--color-brass-light); font-style: normal; }

.header-links { display: none; align-items: center; margin-left: auto; margin-right: 1rem; }
@media (min-width: 768px) { .header-links { display: flex; } }
@media (min-width: 1024px) { .header-links { margin-right: 2rem; } }
.site-nav-list { display: flex; align-items: center; gap: 1.25rem; }
@media (min-width: 1024px) { .site-nav-list { gap: 2rem; } }
.site-nav-list a {
	position: relative; display: inline-block; font-size: 11px; letter-spacing: 0.24em; text-transform: uppercase; font-family: var(--font-body);
	color: var(--color-cream); transition: color 0.3s; text-shadow: 0 1px 12px color-mix(in srgb, var(--color-noir) 70%, transparent);
}
.site-header.is-solid .site-nav-list a { text-shadow: none; }
.site-nav-list a::after {
	content: ''; position: absolute; bottom: -0.25rem; left: 0; width: 100%; height: 1px; background: currentColor;
	transform-origin: left; transform: scaleX(0); transition: transform 0.5s var(--ease-smooth);
}
.site-nav-list a:hover { color: var(--color-brass-light); }
.site-nav-list a:hover::after { transform: scaleX(1); }

.header-actions { display: flex; align-items: center; gap: 0.25rem; }
.cart-button { position: relative; padding: 0.5rem; color: var(--color-cream); transition: color 0.15s; display: inline-flex; }
.cart-button:hover { color: var(--color-brass-light); }
.theme-cart-count {
	position: absolute; top: -0.125rem; right: -0.125rem; width: 1.25rem; height: 1.25rem; display: flex; align-items: center; justify-content: center;
	font-size: 10px; font-weight: 500; background: var(--color-primary); color: var(--color-cream); border-radius: 9999px; line-height: 1;
}
.theme-cart-count:empty { display: none; }
.menu-toggle { padding: 0.5rem; display: inline-flex; color: var(--color-cream); transition: color 0.15s; }
.menu-toggle:hover { color: var(--color-brass-light); }
@media (min-width: 768px) { .menu-toggle { display: none; } }
.menu-icon-close { display: none; }
.menu-open .menu-icon-close { display: inline-flex; }
.menu-open .menu-icon-open { display: none; }
.menu-icon-open, .menu-icon-close { line-height: 0; }
.mobile-menu { border-top: 1px solid var(--color-noir-soft); padding: 1rem 0; animation: fadeIn 0.7s var(--ease-smooth) forwards; }
@media (min-width: 768px) { .mobile-menu { display: none !important; } }
.mobile-nav-list { display: flex; flex-direction: column; gap: 0.25rem; }
.mobile-nav-list a {
	display: block; text-align: left; font-size: 12px; letter-spacing: 0.22em; text-transform: uppercase; padding: 0.75rem 0;
	color: color-mix(in srgb, var(--color-cream) 80%, transparent); transition: color 0.15s;
}
.mobile-nav-list a:hover { color: var(--color-brass-light); }

/* ---------- Animation utilities (ported from source) ---------- */
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes slideUp { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }
@keyframes slideDown { from { opacity: 0; transform: translateY(-12px); } to { opacity: 1; transform: translateY(0); } }
@keyframes scaleIn { from { opacity: 0; transform: scale(0.96); } to { opacity: 1; transform: scale(1); } }
.animate-fade-in { animation: fadeIn 0.7s var(--ease-smooth) forwards; }
.animate-slide-up { animation: slideUp 0.7s var(--ease-smooth) forwards; }
.animate-slide-down { animation: slideDown 0.5s var(--ease-smooth) forwards; }
.animate-scale-in { animation: scaleIn 0.6s var(--ease-smooth) forwards; }

/* Scroll / in-view reveal: per-element variants (trigger = root gets .is-in) */
.rv {
	opacity: 0;
	transform: translate3d(var(--x, 0), var(--y, 0), 0);
	filter: blur(var(--b, 0px));
	transition:
		opacity var(--dur, 0.8s) var(--ease, var(--ease-expo)) var(--d, 0s),
		transform var(--dur, 0.8s) var(--ease, var(--ease-expo)) var(--d, 0s),
		filter var(--dur, 0.8s) var(--ease, var(--ease-expo)) var(--d, 0s);
}
.rv-fadeup { --y: 32px; --b: 8px; --dur: 0.95s; }
.rv-fadeupsimple { --y: 24px; --dur: 0.8s; }
.rv-slide-l { --x: -48px; --b: 6px; --dur: 1.1s; }
.rv-slide-r { --x: 48px; --b: 6px; --dur: 1.1s; }
.rv-word { --y: 0.6em; --b: 10px; --dur: 0.9s; }
.rv-eyebrow { --y: 16px; --b: 6px; --dur: 0.9s; }
.rv-y18 { --y: 18px; --dur: 0.9s; }
.rv-y20 { --y: 20px; --dur: 0.9s; }
.rv-y24 { --y: 24px; --dur: 0.9s; }
.rv-pillar { --y: 24px; --dur: 0.7s; --ease: var(--ease-soft); }
.rv-faq { --y: 24px; --dur: 0.6s; --ease: var(--ease-soft); }
.rv-faq-slide { --x: -32px; --dur: 0.8s; --ease: var(--ease-soft); }
.rv-contact { --y: 24px; --dur: 0.6s; --ease: var(--ease-soft); }
.is-in .rv, .rv.is-in { opacity: 1; transform: none; filter: blur(0px); }
.rv.rv-done { --d: 0s !important; --dur: 0.5s; filter: none; }
.no-trans .rv { transition: none !important; }
body.is-customizer .rv, body.is-customizer .rv-done { opacity: 1 !important; transform: none !important; filter: none !important; }

@media (prefers-reduced-motion: reduce) {
	.rv, .animate-fade-in, .animate-slide-up, .animate-slide-down, .animate-scale-in { animation: none !important; transition: none !important; opacity: 1 !important; transform: none !important; filter: none !important; }
}

/* ---------- Hero ---------- */
.hero { position: relative; width: 100%; overflow: hidden; min-height: 100vh; min-height: 100svh; }
@media (min-width: 1024px) { .hero { height: 100vh; min-height: 720px; } }
.hero-media { position: absolute; inset: 0; transform-origin: center; will-change: transform; }
.hero-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; max-width: none; }
.hero-shade-flat { position: absolute; inset: 0; background: color-mix(in srgb, var(--color-noir) 35%, transparent); }
.hero-shade-x {
	position: absolute; inset: 0; opacity: 0.45;
	background: linear-gradient(to right, color-mix(in srgb, var(--color-noir) 85%, transparent), color-mix(in srgb, var(--color-noir) 40%, transparent), color-mix(in srgb, var(--color-noir) 70%, transparent));
}
.hero-shade-y { position: absolute; inset: 0; background: linear-gradient(to top, var(--color-noir), color-mix(in srgb, var(--color-noir) 30%, transparent), transparent); }
.hero-content { position: absolute; bottom: 0; left: 0; right: 0; z-index: 10; padding-bottom: 3.5rem; }
@media (min-width: 768px) { .hero-content { padding-bottom: 5rem; } }
@media (min-width: 1024px) { .hero-content { padding-bottom: 6rem; } }
.hero-inner { max-width: 48rem; }
.hero-eyebrow { display: block; color: var(--color-brass-light); margin-bottom: 1.25rem; }
@media (min-width: 768px) { .hero-eyebrow { margin-bottom: 1.5rem; } }
.hero-title { font-family: var(--font-display); color: var(--color-cream); font-size: 3.25rem; line-height: 1; letter-spacing: -0.015em; }
@media (min-width: 640px) { .hero-title { font-size: 4rem; } }
@media (min-width: 768px) { .hero-title { font-size: 5.5rem; } }
@media (min-width: 1024px) { .hero-title { font-size: 6rem; line-height: 0.98; } }
.hero-title em, .cta-title em { color: var(--color-brass-light); font-style: italic; display: block; }
@media (min-width: 768px) { .hero-title em, .cta-title em { display: inline; } .hero-title em { margin-left: 0.75rem; } }
@media (min-width: 1024px) { .hero-title em { margin-left: 1rem; } }
.word-mask { display: inline-block; overflow: hidden; vertical-align: bottom; padding-right: 0.25em; }
.word { display: inline-block; will-change: transform; }
.hero-text { margin-top: 1.5rem; max-width: 36rem; color: color-mix(in srgb, var(--color-cream) 75%, transparent); font-weight: 300; font-size: 1rem; line-height: 1.625; }
@media (min-width: 768px) { .hero-text { font-size: 1.125rem; line-height: 1.75rem; } }
.hero-actions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.75rem; margin-top: 2rem; }
.hero-actions .btn { width: 100%; }
@media (min-width: 768px) { .hero-actions { margin-top: 2.5rem; } }
@media (min-width: 1024px) { .hero-actions { display: flex; flex-flow: row wrap; } .hero-actions .btn { width: auto; } }

/* ---------- Pillars ---------- */
.pillars-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px; background: var(--color-noir-soft); border: 1px solid var(--color-noir-soft); }
@media (min-width: 1024px) { .pillars-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.pillar { position: relative; background: var(--color-noir); padding: 1.75rem; display: flex; flex-direction: column; }
@media (min-width: 768px) { .pillar { padding: 2.5rem; } }
.pillars-grid .pillar { transition: all 0.5s; }
.pillars-grid .pillar.rv:not(.rv-done) { transition: opacity var(--dur) var(--ease) var(--d), transform var(--dur) var(--ease) var(--d), filter var(--dur) var(--ease) var(--d); }
.pillars-grid .pillar:hover { background: var(--color-noir-soft); transform: translateY(-0.25rem); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--color-brass) 40%, transparent); }
.pillar-line {
	position: absolute; left: 0; right: 0; bottom: 0; height: 1px; transform: scaleX(0); transform-origin: center; transition: transform 0.7s;
	background: linear-gradient(to right, transparent, color-mix(in srgb, var(--color-brass) 60%, transparent), transparent);
}
.pillar:hover .pillar-line { transform: scaleX(1); }
.pillar-icon { width: 1.75rem; height: 1.75rem; color: var(--color-brass-light); margin-bottom: 2rem; transition: all 0.5s; }
.pillar:hover .pillar-icon { transform: translateY(-0.25rem) scale(1.1); }
.pillar-title { font-family: var(--font-display); font-size: 1.25rem; line-height: 1.375; color: var(--color-cream); margin-bottom: 0.75rem; transition: color 0.3s; }
@media (min-width: 768px) { .pillar-title { font-size: 1.5rem; line-height: 2rem; } }
.pillar:hover .pillar-title { color: var(--color-brass-light); }
.pillar-desc { font-size: 0.875rem; line-height: 1.625; color: color-mix(in srgb, var(--color-cream) 60%, transparent); font-weight: 300; transition: color 0.3s; }
.pillar:hover .pillar-desc { color: color-mix(in srgb, var(--color-cream) 80%, transparent); }

/* ---------- Portfolio ---------- */
.portfolio-grid { display: grid; grid-template-columns: 1fr; gap: 1rem; }
@media (min-width: 640px) { .portfolio-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 768px) { .portfolio-grid { gap: 1.25rem; } }
@media (min-width: 1024px) { .portfolio-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.portfolio-item { position: relative; aspect-ratio: 4 / 5; overflow: hidden; background: var(--color-noir); }
.portfolio-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s ease-out; }
.portfolio-item:hover img { transform: scale(1.04); }
.portfolio-shade { position: absolute; inset: 0; opacity: 0.9; background: linear-gradient(to top, color-mix(in srgb, var(--color-noir) 90%, transparent), color-mix(in srgb, var(--color-noir) 10%, transparent), transparent); }
.portfolio-item figcaption { position: absolute; bottom: 0; left: 0; right: 0; padding: 1.25rem; }
.portfolio-caption { font-family: var(--font-display); color: var(--color-cream); font-size: 1.125rem; line-height: 1.25; }

/* ---------- About ---------- */
.about-grid { display: grid; grid-template-columns: 1fr; gap: 3rem; align-items: start; }
@media (min-width: 1024px) { .about-grid { grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 5rem; } .about-image, .about-copy { grid-column: span 6 / span 6; } .about-copy { padding-top: 2rem; } }
.about-image { aspect-ratio: 4 / 5; overflow: hidden; }
.about-image img { width: 100%; height: 100%; object-fit: cover; }
.about-text { display: flex; flex-direction: column; gap: 1.25rem; color: color-mix(in srgb, var(--color-cream) 70%, transparent); font-weight: 300; font-size: 1rem; line-height: 1.625; }
@media (min-width: 768px) { .about-text { font-size: 1.125rem; line-height: 1.75rem; } }
.about-text .about-emphasis { color: var(--color-cream); font-weight: 400; font-style: italic; }
.about-actions { margin-top: 2.5rem; display: flex; flex-wrap: wrap; gap: 0.75rem; }

/* ---------- Services ---------- */
.services-grid { display: grid; grid-template-columns: 1fr; gap: 1px; background: var(--color-border); border: 1px solid var(--color-border); }
@media (min-width: 768px) { .services-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.service-card { background: var(--color-background); padding: 2rem; display: flex; flex-direction: column; }
.services-grid .service-card.rv-done { transition: background-color 0.5s; }
@media (min-width: 768px) { .service-card { padding: 2.5rem; } }
@media (min-width: 1024px) { .service-card { padding: 3rem; } }
.services-grid .service-card:hover { background: var(--color-bone); }
.service-top { display: flex; align-items: flex-start; justify-content: space-between; margin-bottom: 2.5rem; }
.service-num { font-family: var(--font-display); font-size: 3rem; line-height: 1; color: var(--color-primary); font-style: italic; }
@media (min-width: 768px) { .service-num { font-size: 3.75rem; } }
.service-icon { width: 1.5rem; height: 1.5rem; color: color-mix(in srgb, var(--color-foreground) 60%, transparent); transition: color 0.5s; }
.service-card:hover .service-icon { color: var(--color-primary); }
.service-title { font-family: var(--font-display); font-size: 1.5rem; line-height: 1.375; margin-bottom: 1rem; color: var(--color-foreground); }
@media (min-width: 768px) { .service-title { font-size: 1.875rem; line-height: 2.25rem; } }
.service-desc { color: var(--color-muted-foreground); font-weight: 300; line-height: 1.625; font-size: 0.875rem; margin-bottom: 1.5rem; }
@media (min-width: 768px) { .service-desc { font-size: 1rem; } }
.service-cta { margin-top: auto; align-self: flex-start; font-size: 11px; letter-spacing: 0.24em; text-transform: uppercase; color: var(--color-primary); font-weight: 500; }
.wedding-strip { margin-top: 3.5rem; display: grid; grid-template-columns: 1fr; gap: 2rem; align-items: center; padding: 2rem; }
@media (min-width: 768px) { .wedding-strip { margin-top: 5rem; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 3rem; padding: 3rem; } .wedding-image { grid-column: span 5 / span 5; aspect-ratio: 3 / 4 !important; } .wedding-copy { grid-column: span 7 / span 7; } }
.wedding-image { aspect-ratio: 4 / 5; overflow: hidden; }
.wedding-image img { width: 100%; height: 100%; object-fit: cover; }
.wedding-title { font-family: var(--font-display); font-size: 1.875rem; line-height: 1.1; color: var(--color-cream); margin-bottom: 1.25rem; }
@media (min-width: 768px) { .wedding-title { font-size: 2.25rem; line-height: 1.1; } }
.wedding-title em { color: var(--color-brass-light); font-style: italic; }
.wedding-text { color: color-mix(in srgb, var(--color-cream) 70%, transparent); font-weight: 300; line-height: 1.625; margin-bottom: 1.5rem; }

/* ---------- Shop section ---------- */
.shop-filters { display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem; margin-bottom: 0.75rem; }
.filter-chip {
	flex-shrink: 0; padding: 0.75rem 1.25rem; font-size: 11px; line-height: 1.5; letter-spacing: 0.22em; text-transform: uppercase; transition: all 0.3s;
	font-family: var(--font-body); font-weight: 500; border: 1px solid var(--color-border); background: transparent; color: color-mix(in srgb, var(--color-foreground) 70%, transparent);
}
.filter-chip:hover { border-color: var(--color-brass); color: var(--color-brass); background: color-mix(in srgb, var(--color-brass) 5%, transparent); }
.filter-chip:active { transform: scale(0.97); }
.filter-chip.is-active, .filter-chip.is-active:hover {
	background: var(--color-primary); color: var(--color-cream); border-color: var(--color-primary);
	box-shadow: 0 2px 18px -6px color-mix(in srgb, var(--color-primary) 55%, transparent);
}
.filter-price-toggle { display: flex; align-items: center; gap: 0.5rem; }
.price-summary { font-size: 10px; opacity: 0.9; text-transform: none; letter-spacing: normal; }
.price-chevron { width: 0.875rem; height: 0.875rem; transition: transform 0.3s; }
.filter-price-toggle.is-open .price-chevron { transform: rotate(180deg); }
.price-panel { display: grid; grid-template-rows: 0fr; opacity: 0; margin-bottom: 1rem; transition: grid-template-rows 0.35s var(--ease-soft), opacity 0.35s var(--ease-soft); }
.price-panel.is-open { grid-template-rows: 1fr; opacity: 1; }
.price-panel-inner { overflow: hidden; min-height: 0; }
.price-panel-body { padding: 0.75rem 0; max-width: 28rem; }
.price-labels { display: flex; justify-content: space-between; font-size: 0.75rem; line-height: 1rem; color: var(--color-muted-foreground); font-weight: 300; }

.price-range-wrapper { position: relative; height: 1.5rem; margin-bottom: 0.75rem; }
.range-track-bg, .range-track-fill { position: absolute; height: 0.5rem; top: 50%; transform: translateY(-50%); pointer-events: none; border-radius: 9999px; }
.range-track-bg { left: 0; right: 0; background: var(--color-bone); }
.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-runnable-track { background: transparent; height: 100%; }
.range-input::-moz-range-track { background: transparent; }
.range-input::-webkit-slider-thumb {
	-webkit-appearance: none; appearance: none; pointer-events: auto; width: 1.25rem; height: 1.25rem; border-radius: 9999px; cursor: pointer;
	border: 2px solid var(--color-primary); background: var(--color-background); margin-top: 0.125rem;
}
.range-input::-moz-range-thumb { pointer-events: auto; width: 1.25rem; height: 1.25rem; border-radius: 9999px; cursor: pointer; border: 2px solid var(--color-primary); background: var(--color-background); box-sizing: border-box; }
.range-input:focus-visible::-webkit-slider-thumb { box-shadow: 0 0 0 2px var(--color-background), 0 0 0 4px var(--color-primary); }
.range-input--max { z-index: 3; }
.range-input--min { z-index: 4; }
.price-range-wrapper.max-on-top .range-input--max { z-index: 5; }

.theme-product-grid { display: grid; grid-template-columns: repeat(1, minmax(0, 1fr)); gap: 1.25rem; align-items: stretch; }
.shop-grid { margin-top: 2.5rem; }
@media (min-width: 640px) { .shop-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .shop-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.5rem; } }
.shop-empty { text-align: center; padding: 5rem 0; color: var(--color-muted-foreground); font-weight: 300; }

/* ---------- Product card ---------- */
.theme-product-card-wrap { min-width: 0; height: 100%; }
.theme-product-card { display: block; height: 100%; }
.theme-product-card__article {
	position: relative; background: var(--color-card); border: 1px solid var(--color-border); height: 100%; display: flex; flex-direction: column; overflow: hidden;
	transition: transform 0.45s cubic-bezier(0.22, 1.2, 0.36, 1), border-color 0.5s, box-shadow 0.5s;
}
.theme-product-card:hover .theme-product-card__article {
	transform: translateY(-8px); border-color: color-mix(in srgb, var(--color-brass) 60%, transparent);
	box-shadow: 0 24px 60px -24px color-mix(in srgb, var(--color-noir) 55%, transparent), 0 0 0 1px color-mix(in srgb, var(--color-brass) 15%, transparent);
}
.theme-product-card__image-wrapper { position: relative; aspect-ratio: 4 / 5; background: var(--color-noir); overflow: hidden; }
.theme-product-card__tag { position: absolute; top: 1rem; left: 1rem; z-index: 10; }
.theme-product-card__tag span {
	display: inline-block; padding: 0.25rem 0.625rem; font-size: 10px; line-height: 1.5; letter-spacing: 0.22em; text-transform: uppercase;
	background: color-mix(in srgb, var(--color-cream) 95%, transparent); color: var(--color-noir); font-weight: 500;
}
.theme-product-card__image-wrapper img.product-card-img { position: absolute; inset: 0; display: block; transition: transform 0.8s var(--ease-soft); }
.theme-product-card:hover img.product-card-img { transform: scale(1.06); }
.product-card-img.is-sold-out { opacity: 0.6; }
.theme-product-card-wrap.is-coming-soon .theme-product-card { cursor: default; }
.theme-product-card-wrap.is-coming-soon .theme-product-card__article,
.theme-product-card-wrap.is-coming-soon:hover .theme-product-card__article {
  transform: none;
  box-shadow: none;
  border-color: var(--color-border);
}
.theme-product-card-wrap.is-coming-soon:hover img.product-card-img { transform: none; }
.theme-product-card-wrap.is-coming-soon:hover .theme-product-card__title { color: var(--color-foreground); }
.theme-product-card__hover-shade {
	pointer-events: none; position: absolute; inset: 0; opacity: 0; transition: opacity 0.5s;
	background: linear-gradient(to top, color-mix(in srgb, var(--color-noir) 40%, transparent), transparent, transparent);
}
.theme-product-card:hover .theme-product-card__hover-shade { opacity: 1; }
.theme-product-card__info { flex: 1; display: flex; flex-direction: column; padding: 1.25rem; }
@media (min-width: 768px) { .theme-product-card__info { padding: 1.5rem; } }
.theme-card-title-row { display: flex; align-items: flex-start; justify-content: space-between; gap: 1rem; margin-bottom: 0.75rem; min-width: 0; }
.theme-product-card__title { font-family: var(--font-display); font-size: 1.125rem; line-height: 1.375; color: var(--color-foreground); transition: color 0.3s; min-width: 0; }
@media (min-width: 768px) { .theme-product-card__title { font-size: 1.25rem; line-height: 1.75rem; } }
.theme-product-card:hover .theme-product-card__title { color: var(--color-primary); }
.theme-product-card__price { font-family: var(--font-body); font-size: 0.875rem; line-height: 1.25rem; font-weight: 500; color: var(--color-foreground); white-space: nowrap; margin-top: 0.25rem; }
.theme-product-card__price del { opacity: 0.6; margin-right: 0.25rem; }
.theme-product-card__price ins { text-decoration: none; }
.theme-product-card__blurb { font-size: 0.75rem; line-height: 1.625; color: var(--color-muted-foreground); font-weight: 300; margin-bottom: 1rem; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.theme-product-card__footer { margin-top: auto; padding-top: 1rem; border-top: 1px solid var(--color-border); display: flex; align-items: center; justify-content: flex-end; gap: 0.75rem; }
.theme-product-card__view { display: inline-flex; align-items: center; gap: 0.25rem; font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--color-brass); font-weight: 500; transition: color 0.3s; }
.theme-product-card:hover .theme-product-card__view { color: var(--color-primary); }
.theme-product-card__arrow { display: inline-block; transition: transform 0.3s; }
.theme-product-card:hover .theme-product-card__arrow { transform: translateX(0.25rem); }

/* ---------- CTA band ---------- */
.cta-band { position: relative; width: 100%; overflow: hidden; }
.cta-band-inner { position: relative; height: 80vh; min-height: 560px; }
@media (min-width: 768px) { .cta-band-inner { height: 85vh; } }
.cta-media { position: absolute; inset: 0; will-change: transform; transform: scale(1.05) translateY(-3%); }
.cta-media img.cta-img { position: absolute; inset: 0; opacity: 0.7; }
.cta-shade { position: absolute; inset: 0; background: linear-gradient(to top, var(--color-noir), color-mix(in srgb, var(--color-noir) 40%, transparent), color-mix(in srgb, var(--color-noir) 30%, transparent)); }
.cta-content { position: absolute; bottom: 0; left: 0; right: 0; }
.cta-container { padding-top: 3rem; padding-bottom: 3rem; }
@media (min-width: 768px) { .cta-container { padding-top: 4rem; padding-bottom: 4rem; } }
.cta-grid { display: grid; grid-template-columns: 1fr; gap: 2rem; align-items: end; }
@media (min-width: 768px) { .cta-grid { grid-template-columns: repeat(12, minmax(0, 1fr)); } .cta-copy { grid-column: span 8 / span 8; } .cta-actions { grid-column: span 4 / span 4; flex-direction: column; align-items: flex-end; } }
.cta-title { font-family: var(--font-display); color: var(--color-cream); font-size: 2.25rem; line-height: 1.05; max-width: 48rem; }
@media (min-width: 768px) { .cta-title { font-size: 3rem; } }
@media (min-width: 1024px) { .cta-title { font-size: 3.75rem; } }
.cta-actions { display: flex; flex-direction: column; gap: 0.75rem; }
@media (min-width: 640px) { .cta-actions { flex-direction: row; } }
@media (min-width: 768px) { .cta-actions { flex-direction: column; } }
.cta-actions .btn { width: 100%; }
@media (min-width: 768px) { .cta-actions .btn { width: auto; } }

/* ---------- FAQ ---------- */
.faq-grid { display: grid; grid-template-columns: 1fr; gap: 3rem; align-items: start; }
@media (min-width: 1024px) { .faq-grid { grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 5rem; } .faq-image { grid-column: span 5 / span 5; position: sticky; top: 7rem; } .faq-main { grid-column: span 7 / span 7; } }
.faq-image { position: relative; aspect-ratio: 4 / 5; overflow: hidden; }
.faq-image > img { width: 100%; height: 100%; object-fit: cover; }
.faq-image-caption { position: absolute; bottom: 0; left: 0; right: 0; padding: 1.5rem; background: linear-gradient(to top, color-mix(in srgb, var(--color-noir) 85%, transparent), transparent); }
@media (min-width: 768px) { .faq-image-caption { padding: 2rem; } }
.faq-image-caption p { font-family: var(--font-display); color: var(--color-cream); font-size: 1.5rem; line-height: 1.375; max-width: 24rem; }
@media (min-width: 768px) { .faq-image-caption p { font-size: 1.875rem; line-height: 2.25rem; } }
.faq-lead { margin-top: 1.25rem; color: var(--color-muted-foreground); font-weight: 300; line-height: 1.625; max-width: 32rem; }
.faq-list { margin-top: 2.5rem; border-top: 1px solid var(--color-border); }
@media (min-width: 768px) { .faq-list { margin-top: 3rem; } }
.faq-item { border-bottom: 1px solid var(--color-border); }
.faq-toggle { width: 100%; display: flex; align-items: center; gap: 1.25rem; padding: 1.5rem 0; text-align: left; }
@media (min-width: 768px) { .faq-toggle { gap: 1.75rem; padding: 1.75rem 0; } }
.faq-num { font-family: var(--font-display); font-size: 1.125rem; line-height: 1.75rem; flex-shrink: 0; color: var(--color-muted-foreground); transition: color 0.3s; }
.faq-q { flex: 1; font-family: var(--font-display); font-size: 1.125rem; line-height: 1.75rem; color: color-mix(in srgb, var(--color-foreground) 85%, transparent); transition: color 0.3s; }
@media (min-width: 768px) { .faq-num, .faq-q { font-size: 1.25rem; } }
.faq-toggle:hover .faq-q, .faq-item.is-open .faq-q { color: var(--color-foreground); }
.faq-item.is-open .faq-num { color: var(--color-primary); }
.faq-plus { width: 1rem; height: 1rem; flex-shrink: 0; color: var(--color-muted-foreground); transition: transform 0.3s, color 0.3s; }
.faq-item.is-open .faq-plus { transform: rotate(45deg); color: var(--color-primary); }
.faq-answer { display: grid; grid-template-rows: 0fr; opacity: 0; transition: grid-template-rows 0.4s var(--ease-soft), opacity 0.4s var(--ease-soft); }
.faq-item.is-open .faq-answer { grid-template-rows: 1fr; opacity: 1; }
.faq-answer-inner { overflow: hidden; min-height: 0; }
.faq-answer p { padding: 0 1.5rem 1.5rem 2.5rem; color: var(--color-muted-foreground); font-weight: 300; line-height: 1.625; font-size: 0.875rem; max-width: 42rem; }
@media (min-width: 768px) { .faq-answer p { padding: 0 1.5rem 1.75rem 3rem; font-size: 1rem; } }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr; gap: 3rem; }
@media (min-width: 1024px) { .contact-grid { grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 4rem; } .contact-info { grid-column: span 5 / span 5; } .contact-form-wrap { grid-column: span 7 / span 7; } }
.contact-lead { margin-top: 1.25rem; color: color-mix(in srgb, var(--color-cream) 65%, transparent); font-weight: 300; line-height: 1.625; max-width: 28rem; }
.contact-links { margin-top: 2.5rem; display: flex; flex-direction: column; gap: 1.25rem; }
.contact-link { display: flex; align-items: center; gap: 1rem; }
.contact-icon { width: 2.75rem; height: 2.75rem; border: 1px solid var(--color-noir-soft); display: flex; align-items: center; justify-content: center; transition: border-color 0.15s; color: var(--color-brass-light); }
.contact-link:hover .contact-icon { border-color: var(--color-brass-light); }
.contact-link-text { font-size: 0.875rem; line-height: 1.25rem; font-weight: 300; color: color-mix(in srgb, var(--color-cream) 80%, transparent); transition: color 0.15s; }
.contact-link:hover .contact-link-text { color: var(--color-cream); }
.contact-form { display: flex; flex-direction: column; gap: 1.5rem; border: 1px solid var(--color-noir-soft); padding: 2rem; }
@media (min-width: 768px) { .contact-form { padding: 2.5rem; } }
.contact-form-row { display: grid; grid-template-columns: 1fr; gap: 1.25rem; }
@media (min-width: 768px) { .contact-form-row { grid-template-columns: repeat(2, minmax(0, 1fr)); } .contact-form-row > :last-child:nth-child(odd) { grid-column: 1 / -1; } }
.contact-input {
	width: 100%; padding: 0.875rem 1rem; background: transparent; border: 1px solid var(--color-noir-soft); color: var(--color-cream);
	font-size: 0.875rem; line-height: 1.25rem; font-family: var(--font-body); font-weight: 300; border-radius: 0; transition: border-color 0.3s; -webkit-appearance: none; appearance: none;
}
.contact-input::placeholder { color: color-mix(in srgb, var(--color-cream) 30%, transparent); opacity: 1; }
.contact-input:focus { outline: none; border-color: var(--color-brass-light); }
.contact-textarea { resize: none; }
.contact-error { color: var(--color-brass-light); font-size: 0.875rem; }
.contact-send { margin-left: 0.5rem; }
.btn.is-sending .contact-send { display: none; }
.contact-success { border: 1px solid var(--color-noir-soft); padding: 2.5rem; text-align: center; }
@media (min-width: 768px) { .contact-success { padding: 3.5rem; } }
.contact-success-icon { width: 3.5rem; height: 3.5rem; background: var(--color-primary); display: flex; align-items: center; justify-content: center; margin: 0 auto 1.5rem; color: var(--color-cream); }
.contact-success h3 { font-family: var(--font-display); font-size: 1.875rem; line-height: 2.25rem; color: var(--color-cream); margin-bottom: 0.75rem; }
.contact-success p { color: color-mix(in srgb, var(--color-cream) 65%, transparent); font-weight: 300; max-width: 24rem; margin: 0 auto; line-height: 1.625; }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--color-noir-soft); }
.footer-container { padding-top: 4rem; padding-bottom: 4rem; }
@media (min-width: 1024px) { .footer-container { padding-top: 5rem; padding-bottom: 5rem; } }
.footer-grid { display: grid; grid-template-columns: 1fr; gap: 2.5rem; }
@media (min-width: 768px) { .footer-grid { grid-template-columns: repeat(12, minmax(0, 1fr)); } .footer-col-brand { grid-column: span 5 / span 5; } .footer-col-nav { grid-column: span 3 / span 3; } .footer-col-contact { grid-column: span 4 / span 4; } }
@media (min-width: 1024px) { .footer-grid { gap: 3rem; } }
.footer-brand { display: inline-flex; align-items: center; gap: 0.75rem; }
.footer-logo { height: 3rem; width: 3rem; object-fit: cover; border-radius: 9999px; border: 1px solid color-mix(in srgb, var(--color-brass) 40%, transparent); }
.footer-brand-text { font-family: var(--font-display); font-size: 1.25rem; line-height: 1.75rem; color: var(--color-cream); }
.footer-text { margin-top: 1.5rem; font-size: 0.875rem; color: color-mix(in srgb, var(--color-cream) 65%, transparent); max-width: 28rem; line-height: 1.625; font-weight: 300; }
.footer-social { display: flex; gap: 1.25rem; margin-top: 1.5rem; }
.footer-social a { font-size: 11px; letter-spacing: 0.28em; text-transform: uppercase; color: color-mix(in srgb, var(--color-cream) 70%, transparent); transition: color 0.15s; }
.footer-social a:hover { color: var(--color-brass-light); }
.footer-heading { font-family: var(--font-body); font-size: 11px; letter-spacing: 0.28em; text-transform: uppercase; color: var(--color-brass-light); margin-bottom: 1.25rem; font-weight: 500; }
.footer-nav-list { display: flex; flex-direction: column; gap: 0.75rem; }
.footer-nav-list a { font-size: 0.875rem; color: color-mix(in srgb, var(--color-cream) 70%, transparent); transition: color 0.15s; font-weight: 300; }
.footer-nav-list a:hover { color: var(--color-cream); }
.footer-contact-list { display: flex; flex-direction: column; gap: 0.75rem; }
.footer-contact-list li { display: flex; align-items: center; gap: 0.75rem; font-size: 0.875rem; color: color-mix(in srgb, var(--color-cream) 70%, transparent); font-weight: 300; }
.footer-contact-list .icon { color: var(--color-brass-light); }
.footer-contact-list a:hover { color: var(--color-cream); }
.footer-note { margin-top: 1.25rem; font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; color: color-mix(in srgb, var(--color-cream) 45%, transparent); }
.footer-bottom { margin-top: 3.5rem; padding-top: 2rem; border-top: 1px solid var(--color-noir-soft); display: flex; flex-direction: column; justify-content: space-between; align-items: center; gap: 1rem; }
@media (min-width: 640px) { .footer-bottom { flex-direction: row; } }
.footer-legal { font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; color: color-mix(in srgb, var(--color-cream) 45%, transparent); }
.footer-credit { color: color-mix(in srgb, var(--color-cream) 70%, transparent); transition: color 0.15s; text-underline-offset: 4px; }
.footer-credit:hover { color: var(--color-brass-light); text-decoration: underline; }

/* ---------- Inner pages ---------- */
.inner-main, .product-main, .shop-archive, .site-main.inner-main { padding-top: 6rem; }
@media (min-width: 1024px) { .inner-main, .product-main, .shop-archive { padding-top: 7rem; } }
.inner-container { padding-bottom: 4rem; }
body.woocommerce-checkout .site-main { padding-top: var(--header-height, 80px); padding-bottom: 4rem; }
.page-title { font-family: var(--font-display); font-size: 2.25rem; line-height: 1.1; font-weight: 500; padding: 2rem 0 1.5rem; }
.entry-content { max-width: none; }
.shop-archive-section { padding-bottom: 5rem; }
.shop-empty-text { color: var(--color-muted-foreground); font-weight: 300; padding: 3rem 0; }
.archive-grid, .related-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.5rem; }
@media (min-width: 1024px) { .archive-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } .related-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 2rem; } }
@media (max-width: 639px) { .archive-grid { grid-template-columns: 1fr; } }

/* 404 */
.not-found-main { padding-top: 0; }
.not-found-inner { display: flex; min-height: 100vh; align-items: center; justify-content: center; background: var(--color-muted); }
.not-found-box { text-align: center; }
.not-found-title { font-size: 2.25rem; line-height: 2.5rem; font-weight: 700; margin-bottom: 1rem; }
.not-found-text { font-size: 1.25rem; line-height: 1.75rem; color: var(--color-muted-foreground); margin-bottom: 1rem; }
.not-found-link { color: var(--color-primary); text-decoration: underline; transition: color 0.15s; }
.not-found-link:hover { color: color-mix(in srgb, var(--color-primary) 90%, transparent); }

/* ---------- Single product ---------- */
.product-back-row { padding: 1.5rem 0; }
.product-back { display: inline-flex; align-items: center; font-size: 0.875rem; line-height: 1.25rem; color: var(--color-muted-foreground); transition: color 0.15s; font-family: var(--font-body); }
.product-back:hover { color: var(--color-foreground); }
.product-back .icon { margin-right: 0.5rem; }
.theme-product-layout { display: grid; grid-template-columns: 1fr; gap: 2.5rem; padding-bottom: 5rem; min-width: 0; }
@media (min-width: 1024px) { .theme-product-layout { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 4rem; } }
.single-product .theme-product-gallery, .single-product .theme-product-info { min-width: 0; max-width: 100%; }
.product-main-image { position: relative; aspect-ratio: 3 / 4; background: var(--color-bone); overflow: hidden; margin-bottom: 1rem; }
.product-main-image .product-gallery-main-img { position: absolute; inset: 0; }
.theme-product-thumbnails { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 0.5rem; max-width: 100%; }
.product-thumb { position: relative; aspect-ratio: 1 / 1; overflow: hidden; border: 2px solid transparent; opacity: 0.6; transition: all 0.15s; display: block; }
.product-thumb:hover { opacity: 1; }
.product-thumb.is-active { border-color: var(--color-primary); opacity: 1; }
.product-thumb .product-thumb-img { position: absolute; inset: 0; }
@media (min-width: 1024px) { .theme-product-info { padding: 2.5rem 0; } }
.product-category { font-size: 0.75rem; line-height: 1rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--color-muted-foreground); font-family: var(--font-body); }
.product-title { font-family: var(--font-display); font-size: 1.5rem; line-height: 2rem; font-weight: 700; margin-top: 0.5rem; margin-bottom: 1rem; }
@media (min-width: 768px) { .product-title { font-size: 1.875rem; line-height: 2.25rem; } }
.product-price { font-size: 1.5rem; line-height: 2rem; margin-bottom: 1.5rem; font-family: var(--font-body); font-weight: 600; }
.product-price .price del { opacity: 0.6; font-weight: 400; margin-right: 0.5rem; }
.product-price ins { text-decoration: none; }
.product-price-multiplier { margin-left: 0.5rem; font-size: 0.875rem; line-height: 1.25rem; color: var(--color-muted-foreground); font-weight: 400; }
.product-description { color: var(--color-muted-foreground); line-height: 1.625; margin-bottom: 2rem; font-family: var(--font-body); white-space: pre-line; }
.single-product .product-description, .single-product .woocommerce-product-details__short-description, .single-product .woocommerce-variation-description, .single-product .posted_in { overflow-wrap: break-word; word-break: break-word; }
.product-stock-row { margin-bottom: 1.5rem; }
.product-out-of-stock { display: inline-block; padding: 0.25rem 0.625rem; font-size: 10px; letter-spacing: 0.22em; text-transform: uppercase; background: var(--color-noir); color: var(--color-cream); font-weight: 500; }

.theme-add-to-cart-area, .single-product .theme-add-to-cart-area { display: flex; align-items: stretch; flex-wrap: wrap; gap: 1rem; margin-bottom: 2rem; }
.theme-quantity-wrapper { display: flex; align-items: center; border: 1px solid var(--color-border); }
.theme-qty-minus, .theme-qty-plus { padding: 0.75rem 1rem; transition: background-color 0.15s; display: inline-flex; align-items: center; color: inherit; }
.theme-qty-minus:hover, .theme-qty-plus:hover { background: var(--color-bone); }
.theme-qty-input { -webkit-appearance: textfield; appearance: textfield; width: 3rem; min-width: 48px; padding: 0.75rem 0; text-align: center; font-family: var(--font-body); border: 0; background: transparent; font-size: 1rem; line-height: 1.5rem; color: inherit; }
.theme-qty-input::-webkit-outer-spin-button, .theme-qty-input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.theme-qty-input:focus { outline: none; }
.single-product .single_add_to_cart_button { flex: 1 1 auto; min-width: 160px; }

/* WooCommerce add-to-cart button overrides */
.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;
	gap: 0.5rem;
	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;
	box-shadow: 0 2px 0 0 color-mix(in srgb, var(--color-primary) 35%, transparent);
	text-decoration: none;
}
.single_add_to_cart_button.button:hover,
.add_to_cart_button.button:hover {
	opacity: 0.85 !important;
	background-color: var(--color-primary) !important;
	color: var(--color-button-text) !important;
}
.single_add_to_cart_button.button:disabled,
.single_add_to_cart_button.button.disabled,
.add_to_cart_button.button:disabled,
.add_to_cart_button.button.disabled {
	cursor: not-allowed !important;
	opacity: 0.4 !important;
	pointer-events: none !important;
}
.single_add_to_cart_button.button:disabled:hover,
.single_add_to_cart_button.button.disabled:hover,
.add_to_cart_button.button:disabled:hover,
.add_to_cart_button.button.disabled:hover {
	opacity: 0.4 !important;
	background-color: var(--color-primary) !important;
}
.single-product .single_add_to_cart_button { text-transform: none !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; }
.single_add_to_cart_button.loading { padding-right: 2.25rem !important; }

/* Hide "View cart" injected by WooCommerce after AJAX add-to-cart */
.woocommerce-page a.added_to_cart.wc-forward,
.single-product a.added_to_cart.wc-forward,
body a.added_to_cart.wc-forward { display: none !important; }

/* Variations */
.theme-attr-select-hidden { display: none !important; }
.single-product .variations { width: 100%; margin-bottom: 1.5rem; }
.single-product .variations.shop_attributes tbody,
.single-product .variations tbody,
.single-product .variations tbody tr,
.single-product .variations tbody td { display: block; width: 100%; }
.single-product .variations tbody td.label { padding-bottom: 0.25rem; }
.single-product .variations tbody td.value { padding-top: 0; }
.variations label { font-family: var(--font-body); font-weight: 600; font-style: normal; font-size: 0.875rem; line-height: 1.25rem; display: block; margin-bottom: 0.5rem; }
.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: 0.875rem; line-height: 1.25rem; border: 1px solid var(--color-border); transition: all 0.15s; font-family: var(--font-body); }
.theme-attr-pill:hover { border-color: color-mix(in srgb, var(--color-primary) 50%, transparent); }
.theme-attr-pill.is-selected { background: var(--color-primary); color: var(--color-card); border-color: var(--color-primary); }
.theme-attr-pill.has-swatch.is-selected { background: color-mix(in srgb, var(--color-primary) 5%, transparent); color: inherit; }
.theme-attr-swatch { width: 1rem; height: 1rem; border-radius: 9999px; border: 1px solid var(--color-border); }
.single-product .woocommerce-variation-price { margin-bottom: 1rem; font-weight: 600; }
.single-product .woocommerce-variation-availability { margin-bottom: 0.5rem; font-size: 0.875rem; color: var(--color-muted-foreground); }
.single-product .woocommerce-variation-description p { margin-bottom: 0.75rem; }
.single-product .single_variation_wrap { margin-top: 0.5rem; }

.product-details { border-top: 1px solid var(--color-border); padding-top: 2rem; }
.product-details-title { font-family: var(--font-body); font-size: 0.875rem; line-height: 1.25rem; font-weight: 600; margin-bottom: 1rem; letter-spacing: normal; }
.product-details-list { display: flex; flex-direction: column; gap: 0.5rem; }
.product-details-list li { display: flex; align-items: flex-start; font-size: 0.875rem; line-height: 1.25rem; color: var(--color-muted-foreground); font-family: var(--font-body); }
.product-details-dot { width: 0.375rem; height: 0.375rem; background: var(--color-primary); border-radius: 9999px; margin-top: 0.5rem; margin-right: 0.75rem; flex-shrink: 0; }
.product-details-text { font-size: 0.875rem; color: var(--color-muted-foreground); }
.related-products-section { padding: 5rem 0; border-top: 1px solid var(--color-border); }
.related-title { font-family: var(--font-display); font-size: 1.25rem; line-height: 1.75rem; font-weight: 700; margin-bottom: 2.5rem; }
@media (min-width: 768px) { .related-title { font-size: 1.5rem; line-height: 2rem; } }

/* WooCommerce notices (hidden only where the drawer already gives feedback) */
.single-product .woocommerce-message, .single-product .woocommerce-info { display: none; }
#theme-cart-drawer .woocommerce-message { display: none; }
.woocommerce-message, .woocommerce-error, .woocommerce-info { list-style: none; padding: 1rem 1.25rem; margin: 0 0 1.5rem; border: 1px solid var(--color-border); border-left: 3px solid var(--color-primary); background: var(--color-card); font-family: var(--font-body); font-size: 0.875rem; }
.woocommerce-error { border-left-color: var(--color-primary); }
.woocommerce-message a.button, .woocommerce-info a.button { float: right; background: var(--color-primary); color: var(--color-card); padding: 0.5rem 1rem; }

/* ---------- Cart drawer ---------- */
#theme-cart-overlay { display: none; position: fixed; inset: 0; z-index: 50; background: color-mix(in srgb, var(--color-foreground) 20%, transparent); }
body.cart-open #theme-cart-overlay { display: block; }
body.cart-opening #theme-cart-overlay { animation: fadeIn 0.7s var(--ease-smooth) forwards; }
#theme-cart-drawer {
	display: none; position: fixed; right: 0; top: 0; height: 100%; width: 100%; max-width: 28rem; background: var(--color-background); z-index: 50; flex-direction: column;
}
body.cart-open #theme-cart-drawer { display: flex; }
body.cart-opening #theme-cart-drawer { animation: slideUp 0.7s var(--ease-smooth) forwards; }
#theme-cart-drawer.is-updating { opacity: 0.6; pointer-events: none; }
.cart-drawer-head { display: flex; align-items: center; justify-content: space-between; padding: 1.5rem; border-bottom: 1px solid var(--color-border); }
.cart-drawer-head h2 { font-family: var(--font-display); font-size: 1.125rem; line-height: 1.75rem; font-weight: 700; }
.cart-drawer-close { padding: 0.25rem; transition: opacity 0.15s; display: inline-flex; }
.cart-drawer-close:hover { opacity: 0.6; }
.cart-drawer-empty { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 1.5rem; text-align: center; }
.cart-empty-icon { width: 3rem; height: 3rem; color: var(--color-muted-foreground); margin-bottom: 1rem; }
.cart-drawer-empty p { color: var(--color-muted-foreground); margin-bottom: 1.5rem; font-family: var(--font-body); }
.cart-drawer-items { flex: 1; overflow: auto; padding: 1.5rem; display: flex; flex-direction: column; gap: 1.5rem; }
.cart-item { display: flex; gap: 1rem; }
.cart-item-thumb { position: relative; width: 5rem; height: 6rem; background: var(--color-bone); overflow: hidden; flex-shrink: 0; display: block; }
.cart-item-thumb .cart-item-img { position: absolute; inset: 0; }
.cart-item-info { flex: 1; min-width: 0; }
.cart-item-name { font-size: 0.875rem; line-height: 1.25rem; font-weight: 500; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; display: block; transition: opacity 0.15s; font-family: var(--font-body); }
.cart-item-name:hover { opacity: 0.7; }
.cart-item-price { font-size: 0.875rem; line-height: 1.25rem; color: var(--color-muted-foreground); margin-top: 0.125rem; font-family: var(--font-body); }
.cart-item-meta { font-size: 0.75rem; color: var(--color-muted-foreground); margin-top: 0.125rem; font-family: var(--font-body); }
.cart-item-controls { display: flex; align-items: center; gap: 0.75rem; margin-top: 0.75rem; }
.cart-qty-btn { padding: 0.25rem; transition: background-color 0.15s; display: inline-flex; }
.cart-qty-btn:hover { background: var(--color-bone); }
.cart-item-qty { font-size: 0.875rem; line-height: 1.25rem; width: 1.5rem; text-align: center; font-family: var(--font-body); }
.cart-item-remove { margin-left: auto; font-size: 0.75rem; line-height: 1rem; color: var(--color-muted-foreground); transition: color 0.15s; font-family: var(--font-body); }
.cart-item-remove:hover { color: var(--color-foreground); }
.cart-drawer-foot { padding: 1.5rem; border-top: 1px solid var(--color-border); display: flex; flex-direction: column; gap: 1rem; }
.cart-subtotal { display: flex; justify-content: space-between; font-size: 0.875rem; line-height: 1.25rem; font-family: var(--font-body); }
.cart-subtotal-label { color: var(--color-muted-foreground); }
.cart-subtotal-value { font-weight: 500; }
.cart-shipping-note { font-size: 0.75rem; line-height: 1rem; color: var(--color-muted-foreground); font-family: var(--font-body); }

/* ---------- WooCommerce checkout block ---------- */
body.woocommerce-checkout .wc-block-checkout,
body.woocommerce-checkout .wc-block-components-sidebar-layout { font-family: var(--font-body); color: var(--color-foreground); }
body.woocommerce-checkout .entry-content { max-width: none; }
body.woocommerce-checkout .wc-block-checkout__main,
body.woocommerce-checkout .wc-block-checkout__sidebar { min-width: 0; width: 100%; max-width: none; }
body.woocommerce-checkout .wc-block-checkout { display: block; }
@media (min-width: 768px) {
	body.woocommerce-checkout .wc-block-components-sidebar-layout.wc-block-checkout.is-large {
		display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; align-items: start;
	}
	body.woocommerce-checkout .wc-block-components-sidebar-layout .wc-block-components-notice-banner { grid-column: 1 / -1; }
}
body.woocommerce-checkout .wc-block-checkout__sidebar { background-color: var(--color-card); border-radius: 0; padding: 2rem; border: 1px solid var(--color-border); }
body.woocommerce-checkout .wc-block-components-title,
body.woocommerce-checkout .wc-block-components-checkout-step__title { font-family: var(--font-display); font-weight: 500; }
body.woocommerce-checkout .wc-block-components-text-input input,
body.woocommerce-checkout .wc-block-components-select select,
body.woocommerce-checkout .wc-block-components-textarea textarea,
body.woocommerce-checkout .woocommerce-checkout .form-row .input-text,
body.woocommerce-checkout .woocommerce-checkout .form-row select {
	width: 100% !important; max-width: none !important; font-family: var(--font-body); font-size: 0.875rem; color: var(--color-foreground);
	border: 1px solid var(--color-border); border-radius: 0; background-color: var(--color-background);
}
body.woocommerce-checkout .wc-block-components-text-input input { padding: revert; }
body.woocommerce-checkout .wc-block-components-text-input input:focus,
body.woocommerce-checkout .wc-block-components-select select:focus,
body.woocommerce-checkout .wc-block-components-textarea textarea:focus { outline: none; border-color: var(--color-brass); box-shadow: none; }
body.woocommerce-checkout .wc-block-components-text-input label,
body.woocommerce-checkout .wc-block-components-select label { color: var(--color-muted-foreground); font-family: var(--font-body); }
body.woocommerce-checkout .wc-block-components-checkout-place-order-button,
body.woocommerce-checkout .wc-block-components-button:not(.is-link) {
	background: var(--color-primary); color: var(--color-card); border-radius: 0; font-family: var(--font-body); font-weight: 500; font-size: 0.875rem; text-transform: none; letter-spacing: normal; min-height: 3.5rem; border: 0;
}
body.woocommerce-checkout .wc-block-components-checkout-place-order-button:hover { opacity: 0.9; }
body.woocommerce-checkout .wc-block-components-notice-banner { border-radius: 0; font-family: var(--font-body); }
body.woocommerce-checkout .wc-block-cart-items { font-family: var(--font-body); }
body.woocommerce-checkout .wc-block-components-totals-item__label,
body.woocommerce-checkout .wc-block-components-product-name { font-family: var(--font-body); }

/* Cart + account pages share the checkout container alignment */
body.woocommerce-cart .entry-content, body.woocommerce-account .entry-content { max-width: none; }
body.woocommerce-cart .wc-block-cart { font-family: var(--font-body); }
body.woocommerce-cart .wc-block-cart__submit-button { background: var(--color-primary); color: var(--color-card); border-radius: 0; }
body.woocommerce-cart .site-main, body.woocommerce-account .site-main { padding-bottom: 4rem; }

/* ---------- Thank-you page ---------- */
body.theme-thankyou-page { overflow-x: hidden; }
body.theme-thankyou-page .woocommerce-order { font-family: var(--font-body); }
body.theme-thankyou-page .woocommerce-order-overview { display: flex; flex-wrap: wrap; gap: 1.5rem; padding: 1.5rem; margin: 0 0 2rem; border: 1px solid var(--color-border); background: var(--color-card); }
body.theme-thankyou-page .woocommerce-order-overview li { font-size: 0.75rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--color-muted-foreground); }
body.theme-thankyou-page .woocommerce-order-overview li strong { display: block; font-size: 0.875rem; letter-spacing: normal; text-transform: none; color: var(--color-foreground); margin-top: 0.25rem; }
body.theme-thankyou-page h2, body.theme-thankyou-page .woocommerce-order-details__title { font-family: var(--font-display); font-size: 1.5rem; padding: 0 0 1rem 0; }
body.theme-thankyou-page .woocommerce-order-details table { width: 100%; table-layout: fixed; border: 1px solid var(--color-border); }
body.theme-thankyou-page .woocommerce-order-details th, body.theme-thankyou-page .woocommerce-order-details td { padding: 0.75rem 1rem; border-bottom: 1px solid var(--color-border); text-align: left; }
body.theme-thankyou-page .woocommerce-order-details tfoot th { text-align: left; }
body.theme-thankyou-page .woocommerce-order-details tfoot td { text-align: right; }
body.theme-thankyou-page .woocommerce-customer-details { display: flex; flex-direction: column; gap: 1.5rem; margin-top: 2rem; }
body.theme-thankyou-page .woocommerce-customer-details address { max-width: 480px; overflow-wrap: break-word; padding: 1.25rem; border: 1px solid var(--color-border); font-style: normal; }
