/*
 * Scars Remain Records — theme stylesheet.
 * Color custom properties are injected inline by functions.php from the
 * live Customizer values (Section 6.1) — the :root block below only
 * provides a static fallback so the file is self-contained if inline
 * output ever fails to load.
 */

:root {
	--color-background: #0B0B0D;
	--color-foreground: #F5F5F5;
	--color-surface: #151515;
	--color-deep: #0A0A0A;
	--color-primary: #8C1D18;
	--color-primary-deep: #C43B2E;
	--color-muted: #3C3F45;
	--color-button-text: #0B0B0D;
	--logo-height: 60px;
	--footer-logo-height: 112px;

	--font-display: 'Oswald', 'Bebas Neue', 'Impact', system-ui, sans-serif;
	--font-hero: 'Oswald', 'Bebas Neue', 'Impact', system-ui, sans-serif;
	--font-body: 'Inter', system-ui, sans-serif;
	--font-label: 'Inter', system-ui, sans-serif;

	--header-height: 96px;
	--container-max: 1400px;
	--radius: 0.375rem;

	--btn-radius: 9999px;
	--btn-height: 48px;
	--btn-padding: 0 2rem;
	--btn-font-size: 12px;
	--btn-font-weight: 600;
	--btn-letter-spacing: 0.22em;
	--btn-text-transform: uppercase;
	--btn-icon-padding: 0.6rem;

	--shadow-soft: 0 4px 18px rgba(0, 0, 0, 0.35), 0 1px 3px rgba(0, 0, 0, 0.4);
	--shadow-elevated: 0 24px 48px rgba(0, 0, 0, 0.55);
	--transition-smooth: cubic-bezier(0.4, 0, 0.2, 1);
}

/* -------------------------------------------------------------------------
 * RESET / BASE
 * ---------------------------------------------------------------------- */

*, *::before, *::after { box-sizing: border-box; }

html, body { max-width: 100%; overflow-x: clip; }
body.theme-mobile-menu-open {
	overflow: hidden;
}
/* Keep header (and open mobile nav) pinned while body scroll is locked —
   overflow:hidden on body otherwise breaks position:sticky and the menu vanishes. */
body.theme-mobile-menu-open .site-header {
	position: fixed;
	left: 0;
	right: 0;
	width: 100%;
	max-height: 100dvh;
	overflow-x: clip;
	overflow-y: auto;
	-webkit-overflow-scrolling: touch;
}
body.admin-bar.theme-mobile-menu-open .site-header {
	max-height: calc(100dvh - 32px);
}
@media screen and (max-width: 782px) {
	body.admin-bar.theme-mobile-menu-open .site-header {
		max-height: calc(100dvh - 46px);
	}
}
html { scroll-behavior: smooth; }

body {
	margin: 0;
	background-color: var(--color-background);
	color: var(--color-foreground);
	font-family: var(--font-body);
	font-size: 16px;
	font-weight: 400;
	line-height: 1.5;
	-webkit-font-smoothing: antialiased;
}

p, span, a, button, li, label, input, textarea, select, small, time, figcaption, blockquote, cite {
	font-size: max(0.875rem, 14px);
}

/* Customizer leaf nodes must inherit parent typography (hero title, buttons, etc.). */
span[data-customizer-text] {
	font-size: inherit;
	font-family: inherit;
	font-weight: inherit;
	letter-spacing: inherit;
	line-height: inherit;
	text-transform: inherit;
	color: inherit;
}

h1, h2, h3, h4, h5, h6 {
	font-weight: inherit;
	font-size: inherit;
	margin: 0;
	color: inherit;
	letter-spacing: -0.01em;
}

a { color: inherit; text-decoration: none; }
button { font-family: inherit; background: none; border: none; cursor: pointer; color: inherit; }
img { max-width: 100%; height: auto; display: block; }
ul { margin: 0; padding: 0; list-style: none; }
input, textarea, select { font-family: inherit; }

/* Cover / full-bleed image exclusion list (Section 15) — every class below
   MUST also appear in the .cover-img ruleset that follows. */
img:not(.cover-img) {
	max-width: 100%;
	height: auto;
}
.cover-img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
}

.container-wide {
	width: 100%;
	max-width: var(--container-max);
	margin: 0 auto;
	padding-left: 1.5rem;
	padding-right: 1.5rem;
}
@media (min-width: 1024px) {
	.container-wide { padding-left: 2rem; padding-right: 2rem; }
}

.theme-anchor-offset { display: block; position: relative; top: -1px; }

/* -------------------------------------------------------------------------
 * TYPOGRAPHY — headings
 * ---------------------------------------------------------------------- */

.section-heading,
.theme-hero__title,
.theme-video-card__title,
.theme-service-card__title,
.theme-faq-item__trigger span,
.theme-modal__title {
	font-family: var(--font-hero);
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: -0.01em;
	line-height: 1.05;
}

.section-heading { font-size: 2.25rem; }
@media (min-width: 768px) { .section-heading { font-size: 3rem; } }
@media (min-width: 1024px) { .section-heading { font-size: 3.75rem; } }

.section-heading em,
.theme-hero__title em { font-style: italic; color: var(--color-primary); }

.theme-eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 12px;
	font-family: var(--font-body);
	font-weight: 500;
	text-transform: uppercase;
	letter-spacing: 0.24em;
	font-size: 14px;
	color: var(--color-primary);
}
.theme-eyebrow::before {
	content: '';
	width: 28px;
	height: 1px;
	background-color: currentColor;
	opacity: 0.7;
}
.theme-eyebrow--small { font-size: 14px; }
.theme-eyebrow--small::before { display: none; }

.theme-section-intro { text-align: center; max-width: 48rem; margin: 0 auto 3.5rem; }
.theme-section-subtext { margin-top: 1.5rem; font-size: 1rem; color: rgba(245,245,245,0.7); }
@media (min-width: 768px) { .theme-section-subtext { font-size: 1.125rem; } }

.theme-cta-row { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 2.5rem; }

/* -------------------------------------------------------------------------
 * BUTTONS
 * ---------------------------------------------------------------------- */

.theme-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.5rem;
	border-radius: var(--btn-radius);
	min-height: var(--btn-height);
	padding: var(--btn-padding);
	font-family: var(--font-body);
	font-size: var(--btn-font-size);
	font-weight: var(--btn-font-weight);
	letter-spacing: var(--btn-letter-spacing);
	text-transform: var(--btn-text-transform);
	transition: opacity 0.2s ease, background-color 0.2s ease, color 0.2s ease;
	border: 1px solid transparent;
	white-space: nowrap;
}
.theme-btn--primary { background-color: var(--color-primary); color: var(--color-button-text); }
.theme-btn--primary:hover { background-color: var(--color-foreground); color: var(--color-deep); }
.theme-btn--outline-light { background: transparent; border-color: rgba(245,245,245,0.6); color: var(--color-foreground); }
.theme-btn--outline-light:hover { background-color: var(--color-foreground); color: var(--color-deep); }
.theme-btn--outline-primary { background: transparent; border-color: rgba(140,29,24,0.6); color: var(--color-primary); }
.theme-btn--outline-primary:hover { background-color: var(--color-primary); color: var(--color-button-text); }
.theme-btn--espresso { background-color: var(--color-deep); color: var(--color-foreground); }
.theme-btn--espresso:hover { background-color: var(--color-primary); color: var(--color-button-text); }
.theme-btn--outline-espresso { background: transparent; border-color: var(--color-foreground); color: var(--color-foreground); }
.theme-btn--outline-espresso:hover { background-color: var(--color-foreground); color: var(--color-deep); }

.theme-btn--squared {
	border-radius: var(--radius);
	min-height: 0;
	height: auto;
	padding: 1rem 2rem;
	font-size: 14px;
	letter-spacing: 0.15em;
}

.btn-shimmer { position: relative; overflow: hidden; isolation: isolate; transition: box-shadow 400ms ease, transform 400ms ease; }
.btn-shimmer::before {
	content: '';
	position: absolute;
	inset: 0;
	background: linear-gradient(115deg, transparent 30%, rgba(255,255,255,0.10) 50%, transparent 70%);
	transform: translateX(-120%);
	transition: transform 900ms cubic-bezier(0.22, 1, 0.36, 1);
	pointer-events: none;
	z-index: 1;
}
.btn-shimmer:hover::before { transform: translateX(120%); }
.btn-shimmer:hover { box-shadow: 0 0 24px color-mix(in srgb, var(--color-primary) 35%, transparent); }
.btn-shimmer > * { position: relative; z-index: 2; }

/* -------------------------------------------------------------------------
 * ANIMATIONS
 * ---------------------------------------------------------------------- */

.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);
}
.reveal-item.is-visible { opacity: 1; transform: translateY(0); }

.reveal-blur { filter: blur(10px); opacity: 0; transition: filter 1000ms cubic-bezier(0.22, 1, 0.36, 1), opacity 1000ms cubic-bezier(0.22, 1, 0.36, 1); }
.reveal-blur.is-visible { filter: blur(0); opacity: 1; }

/* Preview must never hide content behind an observer that cannot fire in
   the Customizer iframe (Section 2.1). */
body.is-customizer .reveal-item,
body.is-customizer .reveal-blur {
	opacity: 1 !important;
	transform: none !important;
	filter: none !important;
}

@keyframes ken-burns {
	0% { transform: scale(1) translate3d(0, 0, 0); }
	50% { transform: scale(1.08) translate3d(-1.5%, -1.5%, 0); }
	100% { transform: scale(1) translate3d(0, 0, 0); }
}
.ken-burns { animation: ken-burns 26s ease-in-out infinite; will-change: transform; }

@keyframes theme-fade-in { from { opacity: 0; } to { opacity: 1; } }
@keyframes theme-zoom-in { from { opacity: 0; transform: scale(0.95); } to { opacity: 1; transform: scale(1); } }
@keyframes theme-slide-in-right { from { transform: translateX(100%); } to { transform: translateX(0); } }

[data-tilt] { transform-style: preserve-3d; transition: transform 400ms cubic-bezier(0.22, 1, 0.36, 1); }

@media (prefers-reduced-motion: reduce) {
	.reveal-item, .reveal-blur { opacity: 1 !important; transform: none !important; filter: none !important; transition: none !important; }
	.ken-burns, .btn-shimmer::before { animation: none !important; }
	[data-tilt] { transform: none !important; }
	html { scroll-behavior: auto; }
}

/* -------------------------------------------------------------------------
 * ANNOUNCEMENT BAR
 * ---------------------------------------------------------------------- */

.theme-announcement-bar {
	position: relative;
	background-color: var(--color-deep);
	border-bottom: 1px solid color-mix(in srgb, var(--color-primary) 20%, transparent);
}
.theme-announcement-bar__inner { padding: 0.5rem 1.5rem; text-align: center; }
.theme-announcement-bar__text {
	font-family: var(--font-body);
	font-weight: 500;
	text-transform: uppercase;
	letter-spacing: 0.24em;
	font-size: 14px;
	color: #FAFAF7;
	margin: 0;
}
.theme-announcement-bar__dismiss {
	position: absolute;
	right: 0.75rem;
	top: 50%;
	transform: translateY(-50%);
	padding: 0.25rem;
	color: rgba(250,250,247,0.7);
	transition: color 0.2s ease;
}
.theme-announcement-bar__dismiss:hover { color: var(--color-primary); }
.theme-announcement-bar.is-dismissed { display: none; }

/* -------------------------------------------------------------------------
 * HEADER
 * ---------------------------------------------------------------------- */

.site-header {
	position: sticky;
	top: 0;
	left: 0;
	right: 0;
	z-index: 50;
	width: 100%;
	background-color: var(--color-deep);
	border-bottom: 1px solid color-mix(in srgb, var(--color-primary) 20%, transparent);
}

/* Keep sticky header below the WordPress admin bar (frontend + Customizer preview). */
body.admin-bar .site-header {
	top: 32px;
}
@media screen and (max-width: 782px) {
	body.admin-bar .site-header {
		top: 46px;
	}
}
body.admin-bar.customize-partial-edit-shortcuts-shown .site-header,
body.admin-bar.is-customizer .site-header {
	top: 32px;
}
@media screen and (max-width: 782px) {
	body.admin-bar.customize-partial-edit-shortcuts-shown .site-header,
	body.admin-bar.is-customizer .site-header {
		top: 46px;
	}
}
.site-header__nav {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	height: 80px;
}
@media (min-width: 768px) { .site-header__nav { height: 96px; } }

.site-header__brand { display: flex; align-items: center; gap: 0.75rem; flex-shrink: 0; padding: 0.75rem 0; }
.site-logo-img { height: var(--logo-height) !important; width: auto !important; display: block; transition: transform 500ms ease; }
.site-header__brand:hover .site-logo-img { transform: scale(1.05); }
.site-logo-text { font-family: var(--font-hero); font-weight: 700; text-transform: uppercase; font-size: 1.25rem; color: var(--color-foreground); line-height: var(--logo-height); display: block; }
.site-header__brand-name { font-family: var(--font-body); font-size: 14px; color: var(--color-foreground); }

.site-header__links { display: none; align-items: center; gap: 1.5rem; margin-left: auto; }
@media (min-width: 1024px) { .site-header__links { display: flex; } }
.theme-nav-list { display: flex; align-items: center; gap: 1.5rem; }
.theme-nav-list a,
.theme-nav-list button {
	font-family: var(--font-body);
	font-size: 14px;
	color: var(--color-foreground);
	text-transform: uppercase;
	letter-spacing: 0.02em;
	transition: color 0.2s ease;
}
.theme-nav-list a:hover,
.theme-nav-list button:hover { color: var(--color-primary); }

.site-header__actions { display: flex; align-items: center; gap: 0.75rem; }
.site-header__icon-btn {
	position: relative;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	border-radius: 50%;
	border: 1px solid color-mix(in srgb, var(--color-primary) 60%, transparent);
	color: var(--color-foreground);
	transition: background-color 0.2s ease, color 0.2s ease;
}
.site-header__icon-btn:hover { background-color: var(--color-primary); color: var(--color-button-text); }
.theme-cart-count {
	position: absolute;
	top: -4px;
	right: -4px;
	min-width: 18px;
	height: 18px;
	padding: 0 4px;
	border-radius: 50%;
	background-color: var(--color-primary);
	color: var(--color-button-text);
	font-size: 11px;
	font-weight: 600;
	display: flex;
	align-items: center;
	justify-content: center;
}
.theme-cart-count:empty { display: none; }

.site-header__menu-toggle { padding: 0.5rem; color: var(--color-foreground); display: inline-flex; position: relative; z-index: 2; }
.site-header__menu-toggle .theme-icon-menu,
.site-header__menu-toggle .theme-icon-close {
	display: inline-flex;
	transition: opacity 220ms ease, transform 280ms cubic-bezier(0.22, 1, 0.36, 1);
}
.site-header__menu-toggle .theme-icon-close {
	position: absolute;
	inset: 0.5rem;
	opacity: 0;
	transform: rotate(-90deg) scale(0.7);
	pointer-events: none;
}
.site-header__menu-toggle .icon-close { display: inline-flex; }
.site-header__menu-toggle.is-open .theme-icon-menu {
	opacity: 0;
	transform: rotate(90deg) scale(0.7);
}
.site-header__menu-toggle.is-open .theme-icon-close {
	opacity: 1;
	transform: rotate(0deg) scale(1);
	pointer-events: auto;
}
@media (min-width: 1024px) { .site-header__menu-toggle { display: none; } }

.site-header__mobile {
	display: block;
	max-height: 0;
	overflow: hidden;
	opacity: 0;
	visibility: hidden;
	border-top: 1px solid transparent;
	padding: 0;
	transform: translateY(-8px);
	transition:
		max-height 420ms cubic-bezier(0.22, 1, 0.36, 1),
		opacity 280ms ease,
		transform 360ms cubic-bezier(0.22, 1, 0.36, 1),
		visibility 0ms linear 420ms,
		border-color 280ms ease,
		padding 280ms ease;
}
.site-header__mobile.is-open {
	max-height: 480px;
	opacity: 1;
	visibility: visible;
	transform: translateY(0);
	border-top-color: color-mix(in srgb, var(--color-primary) 15%, transparent);
	padding: 0.75rem 0 1.25rem;
	transition:
		max-height 480ms cubic-bezier(0.22, 1, 0.36, 1),
		opacity 320ms ease,
		transform 360ms cubic-bezier(0.22, 1, 0.36, 1),
		visibility 0ms linear 0ms,
		border-color 280ms ease,
		padding 280ms ease;
}
.theme-nav-list-mobile { display: flex; flex-direction: column; gap: 0.25rem; }
.theme-nav-list-mobile li {
	opacity: 0;
	transform: translateY(10px);
	transition: opacity 320ms ease, transform 360ms cubic-bezier(0.22, 1, 0.36, 1);
}
.site-header__mobile.is-open .theme-nav-list-mobile li {
	opacity: 1;
	transform: translateY(0);
}
.site-header__mobile.is-open .theme-nav-list-mobile li:nth-child(1) { transition-delay: 40ms; }
.site-header__mobile.is-open .theme-nav-list-mobile li:nth-child(2) { transition-delay: 80ms; }
.site-header__mobile.is-open .theme-nav-list-mobile li:nth-child(3) { transition-delay: 120ms; }
.site-header__mobile.is-open .theme-nav-list-mobile li:nth-child(4) { transition-delay: 160ms; }
.site-header__mobile.is-open .theme-nav-list-mobile li:nth-child(5) { transition-delay: 200ms; }
.site-header__mobile.is-open .theme-nav-list-mobile li:nth-child(6) { transition-delay: 240ms; }
.site-header__mobile.is-open .theme-nav-list-mobile li:nth-child(7) { transition-delay: 280ms; }
.site-header__mobile.is-open .theme-nav-list-mobile li:nth-child(8) { transition-delay: 320ms; }
.theme-nav-list-mobile a,
.theme-nav-list-mobile button {
	display: block;
	width: 100%;
	text-align: left;
	padding: 0.85rem 1rem;
	border-radius: var(--radius);
	font-family: var(--font-body);
	font-size: 14px;
	font-weight: 500;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: var(--color-foreground);
	transition: background-color 200ms ease, color 200ms ease, padding-left 220ms ease;
}
.theme-nav-list-mobile a:hover,
.theme-nav-list-mobile button:hover {
	background-color: color-mix(in srgb, var(--color-primary) 12%, transparent);
	color: var(--color-primary);
	padding-left: 1.25rem;
}
@media (min-width: 1024px) { .site-header__mobile { display: none !important; } }
@media (prefers-reduced-motion: reduce) {
	.site-header__mobile,
	.site-header__mobile.is-open,
	.theme-nav-list-mobile li,
	.site-header__menu-toggle .theme-icon-menu,
	.site-header__menu-toggle .theme-icon-close {
		transition: none !important;
	}
	.site-header__mobile.is-open .theme-nav-list-mobile li { opacity: 1; transform: none; }
}

body.is-solid .site-header,
.site-header.is-solid { background-color: var(--color-deep); }

/* -------------------------------------------------------------------------
 * HERO (home only — fills viewport under the fixed header)
 * ---------------------------------------------------------------------- */

.theme-hero {
	position: relative;
	min-height: calc(100vh - 6rem);
	display: flex;
	align-items: center;
	justify-content: center;
	overflow: hidden;
	background-color: var(--color-background);
}
.theme-hero__bg { position: absolute; inset: 0; overflow: hidden; z-index: 0; background-color: var(--color-background); }
.theme-hero__video { z-index: 0; }
.theme-hero__gradient-1 { position: absolute; inset: 0; z-index: 2; pointer-events: none; background: linear-gradient(180deg, rgba(6,6,8,0.9) 0%, rgba(6,6,8,0.78) 40%, rgba(4,4,6,0.96) 100%); }
.theme-hero__gradient-2 { position: absolute; inset: 0; z-index: 3; pointer-events: none; mix-blend-mode: overlay; background: radial-gradient(ellipse 70% 55% at 50% 45%, rgba(196,59,46,0.35) 0%, rgba(140,29,24,0.18) 40%, rgba(0,0,0,0) 75%); }
.theme-hero__gradient-3 { position: absolute; inset: 0; z-index: 4; pointer-events: none; background: radial-gradient(ellipse 90% 80% at 50% 50%, rgba(0,0,0,0) 40%, rgba(0,0,0,0.55) 80%, rgba(0,0,0,0.9) 100%); }
.theme-hero__content {
	position: relative;
	z-index: 10;
	padding-top: 4rem;
	padding-bottom: 4rem;
	text-align: center;
	width: 100%;
}
@media (min-width: 640px) {
	.theme-hero__content {
		padding-top: 5rem;
		padding-bottom: 5rem;
	}
}
@media (min-width: 1024px) {
	.theme-hero__content {
		padding-top: 6rem;
		padding-bottom: 6rem;
	}
}
.theme-hero__inner { max-width: 56rem; margin-left: auto; margin-right: auto; width: 100%; }
.theme-hero__location { display: inline-flex; align-items: center; gap: 0.5rem; font-family: var(--font-body); font-weight: 500; text-transform: uppercase; letter-spacing: 0.24em; font-size: 14px; color: var(--color-primary); }
.theme-hero__location-line { width: 2rem; height: 1px; background-color: color-mix(in srgb, var(--color-primary) 70%, transparent); }
.theme-hero__title { color: var(--color-foreground); font-size: 3rem; line-height: 1.02; letter-spacing: -0.025em; margin-top: 1.5rem; }
.theme-hero__title em {
	font-style: italic;
	color: var(--color-primary);
	font-size: inherit;
	font-family: inherit;
	font-weight: inherit;
	letter-spacing: inherit;
	line-height: inherit;
	text-transform: inherit;
}
@media (min-width: 640px) { .theme-hero__title { font-size: 3.75rem; } }
@media (min-width: 768px) { .theme-hero__title { font-size: 4.5rem; } }
@media (min-width: 1024px) { .theme-hero__title { font-size: 6rem; } }
@media (min-width: 1280px) { .theme-hero__title { font-size: 8rem; } }
.theme-hero__subtitle { font-family: var(--font-body); color: rgba(245,245,245,0.8); font-size: 1rem; margin-top: 2rem; max-width: 42rem; margin-left: auto; margin-right: auto; line-height: 1.7; }
@media (min-width: 640px) { .theme-hero__subtitle { font-size: 1.125rem; } }
@media (min-width: 768px) { .theme-hero__subtitle { font-size: 1.25rem; } }
.theme-hero__ctas { display: flex; flex-wrap: wrap; gap: 0.75rem; justify-content: center; margin-top: 2.5rem; }
@media (min-width: 640px) { .theme-hero__ctas { flex-direction: row; } }

body.theme-no-hero .theme-hero { display: none; }

/* -------------------------------------------------------------------------
 * SECTION SURFACES
 * ---------------------------------------------------------------------- */

.theme-section { position: relative; padding: 5rem 0; }
@media (min-width: 1024px) { .theme-section { padding: 7rem 0; } }
.theme-section--surface { background-color: var(--color-surface); }
.theme-section--deep { background-color: var(--color-background); }

/* -------------------------------------------------------------------------
 * ABOUT
 * ---------------------------------------------------------------------- */

.about-section__grid { display: grid; grid-template-columns: 1fr; gap: 2.5rem; align-items: start; }
@media (min-width: 1024px) { .about-section__grid { grid-template-columns: 4fr 8fr; gap: 4rem; align-items: stretch; } }
.about-section__media { min-width: 0; }
.about-section__image-frame { position: relative; margin-top: 2rem; overflow: hidden; border-radius: var(--radius); border: 1px solid color-mix(in srgb, var(--color-primary) 25%, transparent); aspect-ratio: 3 / 4; }
.about-section__image-fade { position: absolute; inset: 0; background: linear-gradient(to top, color-mix(in srgb, var(--color-deep) 50%, transparent), transparent 60%); }
.about-section__copy { min-width: 0; display: flex; flex-direction: column; justify-content: center; }
.about-section__heading { font-size: 2.25rem; }
@media (min-width: 768px) { .about-section__heading { font-size: 3rem; } }
@media (min-width: 1024px) { .about-section__heading { font-size: 3.75rem; } }
.about-section__paragraphs { margin-top: 2rem; max-width: 42rem; }
.about-section__paragraphs p { color: rgba(245,245,245,0.8); font-size: 1rem; line-height: 1.7; margin: 0 0 1.25rem; }
@media (min-width: 768px) { .about-section__paragraphs p { font-size: 1.125rem; } }

/* -------------------------------------------------------------------------
 * BANNER STRIP
 * ---------------------------------------------------------------------- */

.theme-banner-strip { position: relative; overflow: hidden; background-color: var(--color-deep); }
.theme-banner-strip__frame { position: relative; width: 100%; aspect-ratio: 3 / 1; }
@media (max-width: 767px) { .theme-banner-strip__frame { aspect-ratio: 16 / 5; } }

/* -------------------------------------------------------------------------
 * PRODUCT GRID + CARD (Section 31.9, 31.13)
 * ---------------------------------------------------------------------- */

.theme-store-header { display: flex; align-items: flex-end; justify-content: space-between; gap: 1.5rem; margin-bottom: 2rem; padding-bottom: 1rem; border-bottom: 1px solid color-mix(in srgb, var(--color-primary) 20%, transparent); }
.theme-label-icon { display: inline-flex; align-items: center; gap: 0.5rem; font-family: var(--font-body); font-weight: 500; text-transform: uppercase; letter-spacing: 0.24em; font-size: 14px; color: var(--color-primary); }
.theme-store-subheading { font-family: var(--font-hero); font-weight: 700; text-transform: uppercase; color: var(--color-foreground); font-size: 1.5rem; margin-top: 0.5rem; }
@media (min-width: 768px) { .theme-store-subheading { font-size: 1.875rem; } }

.theme-product-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 2rem; align-items: stretch; }
.theme-product-grid--fixed3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 1023px) { .theme-product-grid--fixed3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 639px) { .theme-product-grid--fixed3 { grid-template-columns: minmax(0, 1fr); } }

.theme-product-card-wrap { display: flex; flex-direction: column; height: 100%; }
.theme-product-card {
	position: relative;
	display: flex;
	flex-direction: column;
	height: 100%;
	background-color: var(--color-surface);
	border-radius: var(--radius);
	overflow: hidden;
	border: 1px solid var(--color-muted);
	transition: transform 500ms cubic-bezier(0.22, 1, 0.36, 1), border-color 300ms ease-out;
	will-change: transform;
}
.theme-product-card:hover { transform: translateY(-8px); border-color: var(--color-primary-deep); z-index: 10; }
.theme-product-card__media-block { position: relative; }
.theme-product-card__media { display: block; color: inherit; text-decoration: none; }
.theme-product-card__image-wrapper { position: relative; width: 100%; aspect-ratio: 3 / 4; overflow: hidden; background-color: var(--color-surface); }
.theme-product-card__image { transition: transform 1100ms ease-out; }
.theme-product-card:hover .theme-product-card__image { transform: scale(1.08); }
.theme-product-card__gradient { position: absolute; inset: 0; background: linear-gradient(to top, color-mix(in srgb, var(--color-deep) 50%, transparent), transparent 60%); opacity: 0; transition: opacity 500ms ease; pointer-events: none; }
.theme-product-card:hover .theme-product-card__gradient { opacity: 1; }
.theme-product-card__quickview {
	position: absolute;
	inset-inline: 0;
	bottom: 0;
	padding: 1.25rem;
	z-index: 4;
	transform: translateY(0.5rem);
	opacity: 0;
	pointer-events: none;
	transition: all 500ms ease;
}
.theme-product-card:hover .theme-product-card__quickview {
	transform: translateY(0);
	opacity: 1;
	pointer-events: auto;
}
@media (hover: none), (max-width: 1023px) {
	.theme-product-card__quickview {
		transform: none;
		opacity: 1;
		pointer-events: auto;
	}
}
.theme-product-card__quickview-btn {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	font-family: var(--font-body);
	font-weight: 500;
	text-transform: uppercase;
	letter-spacing: 0.24em;
	font-size: 14px;
	line-height: 1.2;
	color: var(--color-foreground);
	background-color: color-mix(in srgb, var(--color-deep) 70%, transparent);
	padding: 0.5rem 1rem;
	border-radius: 9999px;
	border: 1px solid rgba(245,245,245,0.2);
	backdrop-filter: blur(4px);
	cursor: pointer;
	text-decoration: none;
	transition: background-color 200ms ease, border-color 200ms ease, color 200ms ease;
}
.theme-product-card__quickview-btn:hover {
	background-color: var(--color-primary);
	border-color: var(--color-primary);
	color: var(--color-button-text);
}
.theme-product-card__quickview-btn.loading,
.theme-product-card__quickview-btn.theme-btn-loading {
	opacity: 0.7;
	pointer-events: none;
}
.theme-product-card__badge {
	position: absolute; top: 0.75rem; right: 0.75rem; z-index: 3;
	background-color: var(--color-primary); color: var(--color-button-text);
	font-size: 11px; text-transform: uppercase; letter-spacing: 0.1em; font-weight: 600;
	padding: 0.25rem 0.6rem; border-radius: 9999px;
}
.theme-product-card__info { flex: 1; display: flex; align-items: flex-start; justify-content: space-between; gap: 1rem; padding: 1.25rem 0.25rem 0.5rem; min-width: 0; color: inherit; text-decoration: none; }
.theme-product-card__info-text { min-width: 0; overflow: hidden; }
.theme-product-card__category { display: block; font-family: var(--font-body); font-weight: 500; text-transform: uppercase; letter-spacing: 0.24em; font-size: 14px; color: var(--color-primary-deep); }
.theme-product-card__title { font-family: var(--font-display); font-weight: 500; font-size: 1.25rem; line-height: 1.3; color: var(--color-foreground); margin-top: 0.25rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; text-transform: none; letter-spacing: -0.01em; }
@media (min-width: 768px) { .theme-product-card__title { font-size: 1.5rem; } }
.theme-product-card__price { flex-shrink: 0; font-family: var(--font-display); font-weight: 500; font-size: 1.25rem; color: var(--color-foreground); text-transform: none; }
@media (min-width: 768px) { .theme-product-card__price { font-size: 1.5rem; } }
.theme-product-card__price .woocommerce-Price-amount { font-family: inherit; }
.theme-product-card__price del,
.theme-product-card__price .screen-reader-text { display: none; }
.theme-product-card__artist { margin-top: 0.5rem; padding: 0 0.25rem; font-family: var(--font-body); font-size: 14px; text-transform: uppercase; letter-spacing: 0.2em; color: var(--color-primary); }

/* -------------------------------------------------------------------------
 * VIDEOS SECTION
 * ---------------------------------------------------------------------- */

.theme-video-grid { display: grid; grid-template-columns: 1fr; gap: 1.5rem; }
@media (min-width: 768px) { .theme-video-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2rem; } }
.theme-video-card { position: relative; border-radius: var(--radius); overflow: hidden; border: 1px solid color-mix(in srgb, var(--color-primary) 25%, transparent); background-color: var(--color-deep); transition: transform 500ms cubic-bezier(0.22, 1, 0.36, 1); }
.theme-video-card:hover { transform: translateY(-6px); }
.theme-video-card__frame { position: relative; width: 100%; aspect-ratio: 16 / 9; background-color: #000; }
.theme-video-card__frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.theme-video-card__body { padding: 1.25rem; }
.theme-video-card__title { font-size: 1.25rem; margin-top: 0.5rem; color: var(--color-foreground); line-height: 1.3; }

.theme-video-cta-wrap { display: flex; justify-content: center; margin-top: 2.5rem; }
.theme-streaming-row { margin-top: 4rem; padding-top: 2.5rem; border-top: 1px solid color-mix(in srgb, var(--color-primary) 15%, transparent); }
.theme-streaming-row__intro { text-align: center; margin-bottom: 1.5rem; }
.theme-streaming-row__intro p { margin-top: 0.5rem; font-size: 14px; color: rgba(245,245,245,0.6); }
.theme-streaming-row__links { display: flex; flex-wrap: wrap; justify-content: center; gap: 1rem; }
.theme-streaming-link {
	display: inline-flex; align-items: center; gap: 0.75rem;
	padding: 0.75rem 1.5rem; border-radius: var(--radius);
	border: 1px solid color-mix(in srgb, var(--color-primary) 30%, transparent);
	color: var(--color-foreground); font-family: var(--font-body); font-size: 14px; letter-spacing: 0.02em;
	transition: border-color 0.2s ease, color 0.2s ease;
}
.theme-streaming-link:hover { border-color: var(--color-primary); color: var(--color-primary); }
.theme-icon--faint { opacity: 0.6; }

/* -------------------------------------------------------------------------
 * VIDEO CTA STRIP
 * ---------------------------------------------------------------------- */

.theme-video-cta-strip { position: relative; overflow: hidden; background-color: var(--color-deep); }
.theme-video-cta-strip__video { z-index: 0; }
.theme-video-cta-strip__glow { position: absolute; inset: 0; z-index: 1; pointer-events: none; background: radial-gradient(60% 90% at 15% 50%, rgba(196,91,40,0.28) 0%, transparent 60%), radial-gradient(50% 80% at 85% 50%, rgba(196,59,46,0.22) 0%, transparent 65%); }
.theme-video-cta-strip__scrim { position: absolute; inset: 0; z-index: 1; pointer-events: none; background: linear-gradient(180deg, rgba(0,0,0,0.65), rgba(0,0,0,0.8)); }
.theme-video-cta-strip__content {
	position: relative;
	z-index: 2;
	display: flex;
	flex-direction: column;
	gap: 2rem;
	align-items: flex-start;
	padding-top: 4rem;
	padding-bottom: 4rem;
}
@media (min-width: 768px) {
	.theme-video-cta-strip__content {
		flex-direction: row;
		align-items: center;
		justify-content: space-between;
		padding-top: 6rem;
		padding-bottom: 6rem;
	}
}
.theme-video-cta-strip__copy { max-width: 42rem; }
.theme-video-cta-strip__copy p { margin-top: 1.25rem; color: rgba(245,245,245,0.75); font-size: 1rem; }
@media (min-width: 768px) { .theme-video-cta-strip__copy p { font-size: 1.125rem; } }
.theme-video-cta-strip__btn {
	flex-shrink: 0;
	border-radius: var(--radius);
	min-height: 0;
	height: auto;
	padding: 1.25rem 2rem;
	font-size: 14px;
	letter-spacing: 0.15em;
}

/* -------------------------------------------------------------------------
 * FOUNDER SPOTLIGHT
 * ---------------------------------------------------------------------- */

.theme-founder-spotlight { position: relative; overflow: hidden; background-color: var(--color-deep); padding: 6rem 0; }
@media (min-width: 1024px) { .theme-founder-spotlight { padding: 8rem 0; } }
.theme-founder-spotlight__grid { display: grid; grid-template-columns: 1fr; gap: 2.5rem; align-items: center; }
@media (min-width: 1024px) { .theme-founder-spotlight__grid { grid-template-columns: 5fr 7fr; gap: 4rem; } }
.theme-founder-spotlight__media { position: relative; min-width: 0; }
.theme-founder-spotlight__frame { position: relative; overflow: hidden; border-radius: var(--radius); border: 1px solid color-mix(in srgb, var(--color-primary) 25%, transparent); aspect-ratio: 4 / 5; }
.theme-founder-spotlight__fade { position: absolute; inset: 0; background: linear-gradient(to top, color-mix(in srgb, var(--color-deep) 60%, transparent), transparent 60%); }
.theme-founder-spotlight__side-frame { display: none; position: absolute; bottom: -2rem; left: -2rem; width: 10rem; height: 10rem; border-radius: var(--radius); overflow: hidden; border: 1px solid color-mix(in srgb, var(--color-primary) 25%, transparent); }
@media (min-width: 1024px) { .theme-founder-spotlight__side-frame { display: block; } }
.theme-founder-spotlight__copy { min-width: 0; }
.founder-section__heading { font-size: 2.25rem; }
@media (min-width: 768px) { .founder-section__heading { font-size: 3rem; } }
@media (min-width: 1024px) { .founder-section__heading { font-size: 3.75rem; } }
.theme-founder-spotlight__paragraphs { margin-top: 1.5rem; }
.theme-founder-spotlight__paragraphs p { color: rgba(245,245,245,0.8); font-size: 1rem; line-height: 1.7; margin: 0 0 1.25rem; }
@media (min-width: 768px) { .theme-founder-spotlight__paragraphs p { font-size: 1.125rem; } }
.theme-founder-badges { display: grid; grid-template-columns: 1fr; gap: 1rem; margin-top: 2rem; }
@media (min-width: 640px) { .theme-founder-badges { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.theme-founder-badge { display: flex; align-items: center; gap: 0.75rem; padding: 1rem; border-radius: var(--radius); border: 1px solid color-mix(in srgb, var(--color-primary) 25%, transparent); background-color: var(--color-surface); }
.theme-founder-badge__icon { width: 2.25rem; height: 2.25rem; border-radius: 50%; background-color: color-mix(in srgb, var(--color-primary) 15%, transparent); color: var(--color-primary); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.theme-founder-badge span:last-child { font-family: var(--font-body); font-size: 14px; text-transform: uppercase; letter-spacing: 0.15em; color: rgba(245,245,245,0.85); }

.theme-founder-gallery { position: relative; overflow: hidden; background-color: var(--color-deep); padding-bottom: 6rem; }
@media (min-width: 1024px) { .theme-founder-gallery { padding-bottom: 8rem; } }
.theme-founder-gallery__grid { display: grid; grid-template-columns: 1fr; gap: 1rem; }
@media (min-width: 640px) { .theme-founder-gallery__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.5rem; } }
.theme-founder-gallery__item { position: relative; display: block; width: 100%; overflow: hidden; border-radius: var(--radius); border: 1px solid color-mix(in srgb, var(--color-primary) 25%, transparent); aspect-ratio: 4 / 5; padding: 0; }
.theme-founder-gallery__item img { transition: transform 500ms ease; }
.theme-founder-gallery__item:hover img { transform: scale(1.05); }
.theme-founder-gallery__fade { position: absolute; inset: 0; background: linear-gradient(to top, color-mix(in srgb, var(--color-deep) 50%, transparent), transparent 60%); }

.theme-lightbox {
	position: fixed; inset: 0; z-index: 100;
	display: flex; align-items: center; justify-content: center;
	background-color: rgba(0,0,0,0.9); backdrop-filter: blur(4px);
	padding: 1rem;
}
@media (min-width: 768px) { .theme-lightbox { padding: 2.5rem; } }
.theme-lightbox[hidden] { display: none; }
.theme-lightbox img { max-width: 100%; max-height: 100%; object-fit: contain; border-radius: var(--radius); box-shadow: var(--shadow-elevated); position: static; width: auto; height: auto; }
.theme-lightbox__close {
	position: absolute; top: 1rem; right: 1rem; width: 44px; height: 44px; border-radius: 50%;
	background-color: var(--color-surface); border: 1px solid color-mix(in srgb, var(--color-primary) 30%, transparent);
	color: var(--color-foreground); display: flex; align-items: center; justify-content: center;
	transition: background-color 0.2s ease;
}
@media (min-width: 768px) { .theme-lightbox__close { top: 1.5rem; right: 1.5rem; } }
.theme-lightbox__close:hover { background-color: color-mix(in srgb, var(--color-primary) 20%, transparent); }

/* -------------------------------------------------------------------------
 * SERVICES
 * ---------------------------------------------------------------------- */

.theme-services { position: relative; overflow: hidden; padding: 5rem 0; }
@media (min-width: 1024px) { .theme-services { padding: 7rem 0; } }
.theme-services__bg { position: absolute; inset: 0; }
.theme-services__scrim { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(11,11,13,0.85) 0%, rgba(11,11,13,0.78) 40%, rgba(11,11,13,0.92) 100%); }
.theme-services__content { position: relative; z-index: 2; }
.services-section__heading { font-size: 2.25rem; }
@media (min-width: 768px) { .services-section__heading { font-size: 3rem; } }
@media (min-width: 1024px) { .services-section__heading { font-size: 3.75rem; } }
.theme-services-grid { display: grid; grid-template-columns: 1fr; gap: 1.5rem; }
@media (min-width: 768px) { .theme-services-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2rem; } }
.theme-service-card { padding: 2rem; border-radius: var(--radius); border: 1px solid var(--color-muted); background-color: color-mix(in srgb, var(--color-background) 85%, transparent); backdrop-filter: blur(4px); transition: transform 500ms cubic-bezier(0.22,1,0.36,1), border-color 300ms ease-out; }
@media (min-width: 1024px) { .theme-service-card { padding: 2.5rem; } }
.theme-service-card:hover { transform: translateY(-6px); border-color: var(--color-primary-deep); }
.theme-service-card__icon { width: 3rem; height: 3rem; border-radius: 50%; background-color: color-mix(in srgb, var(--color-primary) 15%, transparent); color: var(--color-primary); display: flex; align-items: center; justify-content: center; }
.theme-service-card__title { font-size: 1.5rem; margin-top: 1.25rem; color: var(--color-foreground); line-height: 1.2; }
@media (min-width: 768px) { .theme-service-card__title { font-size: 1.875rem; } }
.theme-service-card__body { margin-top: 0.75rem; color: rgba(245,245,245,0.75); font-size: 15px; line-height: 1.7; }

/* -------------------------------------------------------------------------
 * FAQ
 * ---------------------------------------------------------------------- */

.theme-faq__grid { display: grid; grid-template-columns: 1fr; gap: 2.5rem; align-items: start; }
@media (min-width: 1024px) { .theme-faq__grid { grid-template-columns: 4fr 8fr; gap: 4rem; } }
.theme-faq__intro { text-align: left; max-width: none; margin: 0; }
.faq-section__heading { font-size: 2.25rem; }
@media (min-width: 768px) { .faq-section__heading { font-size: 3rem; } }
@media (min-width: 1024px) { .faq-section__heading { font-size: 3.75rem; } }
.theme-faq__intro .theme-section-subtext { max-width: 26rem; }
.theme-faq__accordion { width: 100%; }
.theme-faq-item { border-bottom: 1px solid color-mix(in srgb, var(--color-primary) 15%, transparent); }
.theme-faq-item__trigger { display: flex; align-items: center; justify-content: space-between; width: 100%; gap: 1rem; padding: 1.25rem 0; text-align: left; transition: color 0.2s ease; }
.theme-faq-item__trigger:hover { color: var(--color-primary); }
.theme-faq-item__trigger span { font-size: 1.125rem; text-transform: none; }
@media (min-width: 768px) { .theme-faq-item__trigger span { font-size: 1.25rem; } }
.theme-faq-item__chevron { flex-shrink: 0; transition: transform 200ms ease; }
.theme-faq-item__trigger[aria-expanded="true"] .theme-faq-item__chevron { transform: rotate(180deg); }
.theme-faq-item__panel { overflow: hidden; padding-bottom: 1.5rem; }
.theme-faq-item__panel p { color: rgba(245,245,245,0.75); font-size: 15px; line-height: 1.7; margin: 0; }
.theme-faq-item__panel[hidden] { display: none; }

/* -------------------------------------------------------------------------
 * CONTACT
 * ---------------------------------------------------------------------- */

.theme-contact-section { position: relative; overflow: hidden; }
.theme-contact-section__glow { position: absolute; inset-inline: 0; top: 0; height: 55%; pointer-events: none; z-index: 0; background: radial-gradient(ellipse 80% 100% at 50% 0%, color-mix(in srgb, var(--color-primary) 18%, transparent), transparent 55%); }
.theme-contact-section__inner { position: relative; z-index: 1; }
.contact-section__heading { font-size: 2.25rem; }
@media (min-width: 768px) { .contact-section__heading { font-size: 3rem; } }
@media (min-width: 1024px) { .contact-section__heading { font-size: 3.75rem; } }

.theme-contact-cards { display: grid; grid-template-columns: 1fr; gap: 1rem; margin-bottom: 3rem; }
@media (min-width: 768px) { .theme-contact-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .theme-contact-cards { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.theme-contact-card { padding: 1.5rem; border-radius: var(--radius); border: 1px solid color-mix(in srgb, var(--color-primary) 20%, transparent); background-color: var(--color-deep); }
.theme-contact-card p { margin-top: 0.75rem; font-size: 14px; color: rgba(245,245,245,0.75); line-height: 1.6; }

.theme-contact-links { display: grid; grid-template-columns: 1fr; gap: 1rem; max-width: 64rem; margin: 0 auto; }
@media (min-width: 768px) { .theme-contact-links { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.theme-contact-link { display: flex; align-items: center; gap: 0.75rem; padding: 1.25rem; border-radius: var(--radius); border: 1px solid color-mix(in srgb, var(--color-primary) 25%, transparent); background-color: var(--color-deep); min-width: 0; transition: border-color 0.2s ease; }
.theme-contact-link:hover { border-color: var(--color-primary); }
.theme-contact-link__icon { width: 2.75rem; height: 2.75rem; border-radius: 50%; background-color: color-mix(in srgb, var(--color-primary) 15%, transparent); color: var(--color-primary); display: flex; align-items: center; justify-content: center; flex-shrink: 0; transition: transform 500ms ease; }
.theme-contact-link:hover .theme-contact-link__icon { transform: scale(1.1); }
.theme-contact-link__text { min-width: 0; flex: 1; display: flex; flex-direction: column; }
.theme-contact-link__text span:last-child { font-size: 14px; color: var(--color-foreground); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

.theme-contact-section__cta { display: flex; justify-content: center; margin-top: 2.5rem; }

/* -------------------------------------------------------------------------
 * FOOTER
 * ---------------------------------------------------------------------- */

.site-footer { position: relative; overflow: hidden; border-top: 1px solid color-mix(in srgb, var(--color-primary) 20%, transparent); background-color: var(--color-deep); }
.site-footer__inner {
	position: relative;
	z-index: 1;
	padding-top: 4rem;
	padding-bottom: 4rem;
}
@media (min-width: 1024px) {
	.site-footer__inner {
		padding-top: 5rem;
		padding-bottom: 5rem;
	}
}
.site-footer__grid { display: grid; grid-template-columns: 1fr; gap: 2.5rem; }
@media (min-width: 768px) {
	.site-footer__grid {
		grid-template-columns: repeat(12, minmax(0, 1fr));
		gap: 2.5rem;
	}
}
@media (min-width: 1024px) { .site-footer__grid { gap: 4rem; } }
.site-footer__brand-col,
.site-footer__nav-col,
.site-footer__contact-col {
	grid-column: auto;
	min-width: 0;
	width: 100%;
}
@media (min-width: 768px) {
	.site-footer__brand-col { grid-column: span 5; }
	.site-footer__nav-col { grid-column: span 3; }
	.site-footer__contact-col { grid-column: span 4; }
}

.site-footer__brand { display: inline-flex; align-items: center; }
.site-footer__logo-img,
.site-footer__brand .site-logo-text { height: var(--footer-logo-height) !important; width: auto !important; transition: transform 500ms ease; }
@media (max-width: 767px) {
	.site-footer__logo-img,
	.site-footer__brand .site-logo-text { height: 6rem !important; }
}
.site-footer__brand:hover .site-footer__logo-img { transform: scale(1.03); }
.site-footer__description { margin-top: 1.5rem; max-width: 28rem; font-size: 15px; color: rgba(245,245,245,0.75); line-height: 1.7; }
.site-footer__youtube-link { display: inline-flex; align-items: center; gap: 0.5rem; margin-top: 1.5rem; color: var(--color-primary); font-size: 14px; text-transform: uppercase; letter-spacing: 0.2em; transition: color 0.2s ease; }
.site-footer__youtube-link:hover { color: var(--color-foreground); }

.site-footer__col-title { font-family: var(--font-body); font-weight: 500; text-transform: uppercase; letter-spacing: 0.24em; font-size: 14px; color: var(--color-primary); margin-bottom: 1.25rem; }
.theme-footer-nav-list {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 0.75rem;
	margin: 0;
	padding: 0;
	list-style: none;
}
.theme-footer-nav-list li {
	margin: 0;
	padding: 0;
	width: 100%;
}
.theme-footer-nav-link,
.theme-footer-nav-list a,
.theme-footer-nav-list button {
	display: block;
	width: 100%;
	margin: 0;
	padding: 0;
	border: 0;
	background: none;
	font-family: var(--font-body);
	font-size: 14px;
	line-height: 1.5;
	font-weight: 400;
	letter-spacing: normal;
	text-transform: none;
	text-align: left;
	color: rgba(245,245,245,0.8);
	cursor: pointer;
	transition: color 0.2s ease;
}
.theme-footer-nav-link:hover,
.theme-footer-nav-list a:hover,
.theme-footer-nav-list button:hover { color: var(--color-primary); }

.site-footer__contact-list { display: flex; flex-direction: column; gap: 0.75rem; }
.site-footer__contact-link { display: inline-flex; align-items: center; gap: 0.5rem; font-size: 14px; color: rgba(245,245,245,0.8); transition: color 0.2s ease; word-break: break-all; }
.site-footer__contact-link:hover { color: var(--color-primary); }

.site-footer__bottom { margin-top: 3.5rem; padding-top: 2rem; border-top: 1px solid color-mix(in srgb, var(--color-primary) 15%, transparent); display: flex; flex-direction: column; align-items: flex-start; gap: 0.75rem; }
@media (min-width: 768px) { .site-footer__bottom { flex-direction: row; align-items: center; justify-content: space-between; } }
.site-footer__copyright { font-size: 14px; color: rgba(245,245,245,0.7); margin: 0; }
.site-footer__back-to-top { display: inline-flex; align-items: center; gap: 0.4rem; font-size: 14px; color: rgba(245,245,245,0.8); transition: color 0.2s ease; }
.site-footer__back-to-top:hover { color: var(--color-primary); }

.theme-back-to-top {
	position: fixed; bottom: 2rem; right: 2rem; z-index: 50;
	width: 40px; height: 40px; border-radius: 50%;
	background-color: var(--color-primary); color: #fff;
	display: flex; align-items: center; justify-content: center;
	box-shadow: var(--shadow-soft);
	opacity: 0; pointer-events: none;
	transition: transform 0.2s ease, opacity 0.2s ease;
}
@media (min-width: 768px) { .theme-back-to-top { width: 48px; height: 48px; } }
.theme-back-to-top.is-visible { opacity: 1; pointer-events: auto; }
.theme-back-to-top:hover { transform: scale(1.1); }

/* -------------------------------------------------------------------------
 * CONTACT MODAL (native dialog re-implementation of the Radix modal)
 * ---------------------------------------------------------------------- */

.theme-modal-overlay {
	position: fixed; inset: 0; z-index: 60;
	background-color: rgba(0,0,0,0.8);
	opacity: 0; visibility: hidden;
	transition: opacity 200ms ease;
}
.theme-modal-overlay.is-open { opacity: 1; visibility: visible; animation: theme-fade-in 200ms ease; }

.theme-modal {
	position: fixed; top: 50%; left: 50%; z-index: 61;
	width: calc(100% - 2rem); max-width: 32rem; max-height: 90vh; overflow-y: auto;
	background-color: var(--color-surface);
	border: 1px solid color-mix(in srgb, var(--color-primary) 25%, transparent);
	border-radius: var(--radius);
	padding: 1.5rem;
	transform: translate(-50%, -48%) scale(0.95);
	opacity: 0; visibility: hidden;
	box-shadow: var(--shadow-elevated);
	transition: opacity 200ms ease, transform 200ms ease, visibility 200ms;
}
.theme-modal.is-open { opacity: 1; visibility: visible; transform: translate(-50%, -50%) scale(1); }
.theme-modal__close { position: absolute; top: 1rem; right: 1rem; opacity: 0.7; transition: opacity 0.2s ease; color: var(--color-foreground); }
.theme-modal__close:hover { opacity: 1; }
.theme-modal__title { font-size: 1.5rem; color: var(--color-foreground); text-transform: none; }
.theme-modal__description { margin-top: 0.5rem; font-size: 15px; color: rgba(245,245,245,0.7); }
.theme-modal__contact-row { display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem 1rem; margin-top: 0.75rem; font-size: 14px; color: rgba(245,245,245,0.7); }
.theme-modal__contact-row a { display: inline-flex; align-items: center; gap: 0.5rem; transition: color 0.2s ease; }
.theme-modal__contact-row a:hover { color: var(--color-primary); }
.theme-modal__body { margin-top: 1rem; }
.theme-modal__form { display: flex; flex-direction: column; gap: 1rem; }
.theme-form-row--2col { display: grid; grid-template-columns: 1fr; gap: 1rem; }
@media (min-width: 640px) { .theme-form-row--2col { grid-template-columns: 1fr 1fr; } }
.theme-form-field label { display: block; font-size: 14px; font-weight: 500; margin-bottom: 0.4rem; color: var(--color-foreground); }
.theme-form-field input,
.theme-form-field select,
.theme-form-field textarea {
	width: 100%; padding: 0.6rem 0.75rem;
	background-color: var(--color-deep);
	border: 1px solid var(--color-muted);
	border-radius: var(--radius);
	color: var(--color-foreground);
	font-size: 15px;
}
.theme-form-field textarea { resize: vertical; }
.theme-form-field input::placeholder,
.theme-form-field textarea::placeholder { color: rgba(245,245,245,0.4); }
.theme-form-field input:focus,
.theme-form-field select:focus,
.theme-form-field textarea:focus { outline: none; box-shadow: 0 0 0 2px color-mix(in srgb, var(--color-primary) 50%, transparent); }
.theme-modal__form-footer { display: flex; justify-content: flex-end; }
.theme-modal__error { color: var(--color-primary-deep); font-size: 14px; margin: 0; }
.theme-modal__success { text-align: center; padding: 2rem 0; }
.theme-modal__success-icon { width: 3.5rem; height: 3.5rem; margin: 0 auto 1rem; border-radius: 50%; background-color: var(--color-primary); color: var(--color-deep); display: flex; align-items: center; justify-content: center; }
.theme-modal__success h3 { font-family: var(--font-hero); font-weight: 700; text-transform: uppercase; font-size: 1.5rem; color: var(--color-foreground); margin-bottom: 0.5rem; }
.theme-modal__success p { font-size: 14px; color: rgba(245,245,245,0.7); margin: 0; }

body.cart-open,
body.contact-open { overflow: hidden; }

/* -------------------------------------------------------------------------
 * SIDE CART DRAWER
 * ---------------------------------------------------------------------- */

#theme-cart-overlay {
	position: fixed; inset: 0; z-index: 90;
	background-color: color-mix(in srgb, var(--color-foreground) 40%, transparent);
	opacity: 0; visibility: hidden; transition: opacity 200ms ease;
}
body.cart-open #theme-cart-overlay { opacity: 1; visibility: visible; }

#theme-cart-drawer {
	position: fixed; top: 0; right: 0; bottom: 0; z-index: 91;
	width: 100%; max-width: 28rem;
	background-color: var(--color-background);
	box-shadow: var(--shadow-elevated);
	display: flex; flex-direction: column;
	transform: translateX(100%);
	transition: transform 300ms cubic-bezier(0.22,1,0.36,1);
}
body.cart-open #theme-cart-drawer { transform: translateX(0); }
#theme-cart-drawer.is-updating { opacity: 0.6; pointer-events: none; }

.theme-cart-drawer__header { display: flex; align-items: center; justify-content: space-between; padding: 1.5rem; border-bottom: 1px solid var(--color-muted); }
.theme-cart-drawer__title { font-size: 1.5rem; color: var(--color-foreground); text-transform: none; }
.theme-cart-drawer__close { padding: 0.25rem; color: var(--color-foreground); opacity: 0.8; transition: opacity 0.2s ease; }
.theme-cart-drawer__close:hover { opacity: 1; }

.theme-cart-drawer__empty { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 1.5rem; text-align: center; gap: 1rem; }
.theme-cart-drawer__empty-icon { color: rgba(245,245,245,0.5); }
.theme-cart-drawer__empty p { color: rgba(245,245,245,0.6); margin: 0; }

.theme-cart-drawer__items { flex: 1; overflow-y: auto; padding: 1.5rem; display: flex; flex-direction: column; gap: 1.5rem; }
.theme-cart-item { display: flex; gap: 1rem; }
.theme-cart-item__image { width: 5rem; height: 6rem; flex-shrink: 0; border-radius: var(--radius); overflow: hidden; background-color: var(--color-surface); 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 { display: block; font-size: 14px; font-weight: 500; color: var(--color-foreground); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; transition: opacity 0.2s ease; }
.theme-cart-item__name:hover { opacity: 0.7; }
.theme-cart-item__price { font-size: 14px; color: var(--color-primary-deep); font-weight: 600; margin: 0.15rem 0 0; }
.theme-cart-item__variation { font-size: 13px; color: rgba(245,245,245,0.6); margin-top: 0.25rem; }
.theme-cart-item__controls { display: flex; align-items: center; gap: 0.75rem; margin-top: 0.75rem; }
.theme-cart-item__qty-btn { padding: 0.25rem; border-radius: var(--radius); transition: background-color 0.2s ease; color: var(--color-foreground); }
.theme-cart-item__qty-btn:hover { background-color: var(--color-surface); }
.theme-cart-item__qty { font-size: 14px; width: 1.5rem; text-align: center; }
.theme-cart-item__remove { margin-left: auto; font-size: 14px; color: rgba(245,245,245,0.6); transition: color 0.2s ease; }
.theme-cart-item__remove:hover { color: var(--color-foreground); }

.theme-cart-drawer__footer { padding: 1.5rem; border-top: 1px solid var(--color-muted); display: flex; flex-direction: column; gap: 1rem; }
.theme-cart-drawer__subtotal-row { display: flex; align-items: baseline; justify-content: space-between; }
.theme-cart-drawer__subtotal-row span:first-child { font-family: var(--font-body); font-weight: 500; color: var(--color-foreground); }
.theme-cart-drawer__subtotal-value { font-family: var(--font-hero); font-size: 1.875rem; color: var(--color-foreground); text-transform: none; }
.theme-cart-drawer__checkout-btn {
	width: 100%;
	border-color: var(--color-primary);
}
.theme-cart-drawer__checkout-btn:hover {
	border-color: var(--color-primary);
}
.theme-cart-drawer__clear-btn { width: 100%; }

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

/* -------------------------------------------------------------------------
 * WOOCOMMERCE — ADD TO CART BUTTON OVERRIDE (Section 11.4.1)
 * ---------------------------------------------------------------------- */

.single_add_to_cart_button.button,
.add_to_cart_button.button,
a.single_add_to_cart_button,
a.add_to_cart_button,
button.single_add_to_cart_button {
	background-color: var(--color-primary) !important;
	color: var(--color-button-text) !important;
	border: none !important;
	border-radius: var(--btn-radius) !important;
	min-height: var(--btn-height) !important;
	padding: var(--btn-padding) !important;
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;
	font-family: var(--font-body) !important;
	font-size: var(--btn-font-size) !important;
	font-weight: var(--btn-font-weight) !important;
	letter-spacing: var(--btn-letter-spacing) !important;
	text-transform: var(--btn-text-transform) !important;
	cursor: pointer !important;
	transition: opacity 0.2s ease !important;
}
.single_add_to_cart_button.button:hover,
.add_to_cart_button.button:hover {
	opacity: 0.85 !important;
	background-color: var(--color-primary) !important;
	color: var(--color-button-text) !important;
}
.single_add_to_cart_button.button:disabled,
.single_add_to_cart_button.button.disabled,
.add_to_cart_button.button:disabled,
.add_to_cart_button.button.disabled {
	cursor: not-allowed !important;
	opacity: 0.4 !important;
	pointer-events: none !important;
}
.single_add_to_cart_button.button:disabled:hover,
.single_add_to_cart_button.button.disabled:hover,
.add_to_cart_button.button:disabled:hover,
.add_to_cart_button.button.disabled:hover {
	opacity: 0.4 !important;
	background-color: var(--color-primary) !important;
}
.single-product .single_add_to_cart_button.loading::after,
.ajax_add_to_cart.loading::after { display: none !important; }

/* -------------------------------------------------------------------------
 * SINGLE PRODUCT PAGE — mirrors ProductDetail.tsx
 * ---------------------------------------------------------------------- */

body.theme-no-hero .site-main.single-product-main {
	padding-top: 2.5rem !important;
	padding-bottom: 0;
	background-color: var(--color-background);
}
@media (min-width: 1024px) {
	body.theme-no-hero .site-main.single-product-main {
		padding-top: 3.5rem !important;
	}
}

.single-product-page { padding: 0 0 0; }
.single-product-main .theme-breadcrumb {
	padding: 1.5rem 0;
	font-family: var(--font-body);
	font-size: 14px;
	text-transform: uppercase;
	letter-spacing: 0.15em;
	color: rgba(245,245,245,0.55);
}
.theme-breadcrumb a { transition: color 0.2s ease; }
.theme-breadcrumb a:hover { color: var(--color-foreground); }
.theme-breadcrumb__sep { margin: 0 0.5rem; opacity: 0.5; }
.theme-breadcrumb__current { color: var(--color-foreground); }

.single-product-main .theme-product-layout {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: 2.5rem;
	padding: 1rem 0 6rem;
	align-items: start;
	float: none !important;
	width: 100% !important;
}
@media (min-width: 1024px) {
	.single-product-main .theme-product-layout {
		grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
		gap: 4rem;
	}
}
.theme-product-gallery,
.theme-product-info {
	min-width: 0;
	max-width: 100%;
	float: none !important;
	width: 100% !important;
}
@media (min-width: 1024px) {
	.theme-product-info {
		position: sticky;
		top: 7rem;
		align-self: start;
		padding-left: 1rem;
	}
}

.theme-product-gallery__main {
	position: relative;
	width: 100%;
	aspect-ratio: 4 / 5;
	overflow: hidden;
	border-radius: var(--radius);
	box-shadow: var(--shadow-soft);
	background-color: var(--color-surface);
}
.theme-product-gallery__img,
.single-product-main #product-main-img {
	position: static !important;
	inset: auto !important;
	display: block;
	width: 100% !important;
	height: 100% !important;
	max-width: none !important;
	object-fit: cover;
	object-position: center;
}

.theme-product-info__category { color: var(--color-primary-deep); }
.single-product-main .product-title {
	font-family: var(--font-display);
	font-weight: 500;
	font-size: 2.25rem;
	line-height: 1.05;
	margin: 0.75rem 0 0;
	color: var(--color-foreground);
	text-transform: none;
	letter-spacing: -0.01em;
}
@media (min-width: 768px) { .single-product-main .product-title { font-size: 3rem; } }
@media (min-width: 1024px) { .single-product-main .product-title { font-size: 3.75rem; } }

.theme-product-info__price {
	font-family: var(--font-display);
	font-weight: 500;
	font-size: 1.875rem;
	color: var(--color-foreground);
	margin: 1.25rem 0 0;
	text-transform: none;
}
.theme-stock-badge { display: inline-block; margin-top: 1rem; font-size: 13px; text-transform: uppercase; letter-spacing: 0.1em; padding: 0.3rem 0.75rem; border-radius: 9999px; }
.theme-stock-badge--out { background-color: color-mix(in srgb, var(--color-primary) 20%, transparent); color: var(--color-primary-deep); }

.theme-product-info__description {
	margin-top: 1.5rem;
	margin-bottom: 2rem;
	color: rgba(245,245,245,0.7);
	line-height: 1.7;
	font-family: var(--font-body);
	font-size: 1rem;
	overflow-wrap: break-word;
	word-break: break-word;
}
.theme-product-info__description p { margin: 0 0 1rem; }
.theme-product-info__description p:last-child { margin-bottom: 0; }

.theme-product-qty-block { margin-bottom: 1.5rem; }
.theme-product-qty-block__label {
	font-family: var(--font-body);
	font-weight: 500;
	text-transform: uppercase;
	letter-spacing: 0.24em;
	font-size: 14px;
	color: rgba(245,245,245,0.55);
	margin: 0 0 0.75rem;
}
.theme-quantity-wrapper {
	position: relative;
	display: inline-flex;
	align-items: center;
	border: 1px solid var(--color-muted);
	border-radius: var(--radius);
	background-color: var(--color-surface);
}
.theme-qty-minus,
.theme-qty-plus {
	padding: 0.5rem 0.75rem;
	color: var(--color-foreground);
	transition: background-color 0.2s ease;
}
.theme-qty-minus:hover,
.theme-qty-plus:hover { background-color: color-mix(in srgb, var(--color-foreground) 8%, transparent); }
.theme-qty-display {
	min-width: 2.75rem;
	padding: 0.5rem 1rem;
	text-align: center;
	font-family: var(--font-body);
	font-size: 0.875rem;
	color: var(--color-foreground);
}
.theme-qty-input { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }

.theme-product-actions {
	display: flex;
	flex-direction: column;
	gap: 0.75rem;
}
@media (min-width: 640px) {
	.theme-product-actions { flex-direction: row; }
}

.theme-product-atc,
.theme-product-contact {
	flex: 1 1 0;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.5rem;
	min-height: 0;
	padding: 1rem 1.5rem;
	border-radius: var(--radius);
	font-family: var(--font-body);
	font-size: 14px;
	font-weight: 600;
	letter-spacing: 0.15em;
	text-transform: uppercase;
	transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease, opacity 0.2s ease;
	border: 1px solid transparent;
	cursor: pointer;
	text-decoration: none;
}
.theme-product-atc {
	background-color: var(--color-deep);
	color: var(--color-foreground);
	border-color: var(--color-deep);
}
.theme-product-atc:hover {
	background-color: var(--color-primary);
	border-color: var(--color-primary);
	color: var(--color-button-text);
}
.theme-product-atc.is-disabled,
.theme-product-atc:disabled {
	opacity: 0.7;
	pointer-events: none;
}
.theme-product-atc.loading,
.theme-product-atc.theme-btn-loading,
.theme-product-atc.is-added {
	opacity: 0.7;
}
.theme-product-contact {
	background: transparent;
	color: var(--color-foreground);
	border-color: var(--color-foreground);
}
.theme-product-contact:hover {
	background-color: var(--color-deep);
	color: var(--color-foreground);
}

.theme-product-details { margin-top: 2.5rem; border-top: 1px solid var(--color-muted); border-bottom: 1px solid var(--color-muted); }
.theme-product-details__trigger {
	display: flex;
	align-items: center;
	justify-content: space-between;
	width: 100%;
	padding: 1.25rem 0;
	text-align: left;
}
.theme-product-details__chevron { transition: transform 0.25s ease; }
.theme-product-details__trigger[aria-expanded="true"] .theme-product-details__chevron { transform: rotate(180deg); }
.theme-product-details__panel { padding-bottom: 1.5rem; }
.theme-product-details__panel ul { display: flex; flex-direction: column; gap: 0.75rem; margin: 0; padding: 0; list-style: none; }
.theme-product-details__panel li {
	position: relative;
	padding-left: 1.25rem;
	font-family: var(--font-body);
	font-size: 15px;
	color: rgba(245,245,245,0.7);
	line-height: 1.5;
}
.theme-product-details__panel li::before {
	content: '';
	position: absolute;
	left: 0;
	top: 0.5rem;
	width: 6px;
	height: 6px;
	border-radius: 50%;
	background-color: var(--color-primary);
}
.theme-product-details__panel[hidden] { display: none; }

.related-products-section { padding: 5rem 0; border-top: 1px solid var(--color-muted); }
.theme-related-products__intro { text-align: center; margin-bottom: 3rem; }
.related-products__heading {
	font-family: var(--font-display);
	font-weight: 500;
	font-size: 2.25rem;
	line-height: 1.05;
	text-transform: none;
	color: var(--color-foreground);
	margin: 0.75rem 0 0;
}
@media (min-width: 768px) { .related-products__heading { font-size: 3rem; } }

/* Hide leftover WC chrome on single product */
.single-product-main .woocommerce-product-gallery,
.single-product-main .woocommerce-tabs,
.single-product-main .woocommerce-breadcrumb,
.single-product-main .product_meta,
.single-product-main a.added_to_cart.wc-forward,
.single-product-main .theme-product-thumbnails { display: none !important; }

.woocommerce-product-details__short-description { overflow-wrap: break-word; word-break: break-word; }
.posted_in { overflow-wrap: break-word; word-break: break-word; }

/* Variation table layout (Section 11.5.1) */
.single-product .variations.shop_attributes tbody,
.single-product .variations tbody tr,
.single-product .variations tbody td { display: block; width: 100%; }
.single-product .variations tbody td.label { padding-bottom: 0.25rem; font-weight: 600; font-family: var(--font-body); font-style: normal; }
.single-product .variations tbody td.value { padding-top: 0; }
.single-product .variations select { width: 100%; padding: 0.6rem; border-radius: var(--radius); border: 1px solid var(--color-muted); background-color: var(--color-surface); color: var(--color-foreground); }
.single_variation_wrap { margin-top: 1rem; }

/* -------------------------------------------------------------------------
 * SHOP ARCHIVE
 * ---------------------------------------------------------------------- */

.theme-shop-archive { padding: 2.5rem 0 6rem; }
.theme-shop-archive__header { padding: 1.5rem 0 2.5rem; }
.theme-shop-empty { text-align: center; padding: 4rem 0; color: rgba(245,245,245,0.6); }

/* -------------------------------------------------------------------------
 * GENERIC PAGES / 404
 * ---------------------------------------------------------------------- */

.theme-generic-page { padding: 3rem 0 6rem; min-height: 40vh; }
.page-title { font-family: var(--font-hero); font-weight: 700; text-transform: uppercase; font-size: 2.25rem; margin-bottom: 1.5rem; color: var(--color-foreground); }
@media (min-width: 768px) { .page-title { font-size: 3rem; } }
.entry-content { color: rgba(245,245,245,0.85); line-height: 1.7; }

.theme-404 { min-height: 60vh; display: flex; align-items: center; justify-content: center; text-align: center; padding: 4rem 1.5rem; }
.theme-404__code { font-family: var(--font-hero); font-weight: 700; font-size: 4rem; margin-bottom: 1rem; color: var(--color-primary); }
.theme-404__message { font-size: 1.25rem; color: rgba(245,245,245,0.75); margin-bottom: 1.5rem; }
.theme-404__link { color: var(--color-primary); text-decoration: underline; }
.theme-404__link:hover { color: var(--color-foreground); }

/* -------------------------------------------------------------------------
 * WOOCOMMERCE NOTICES (Section 14.1 — scoped, not global)
 * ---------------------------------------------------------------------- */

.single-product .woocommerce-message,
.single-product .woocommerce-info,
#theme-cart-drawer .woocommerce-message { display: none; }

.woocommerce-message, .woocommerce-info, .woocommerce-error {
	background-color: var(--color-surface);
	border: 1px solid var(--color-muted);
	border-radius: var(--radius);
	color: var(--color-foreground);
	padding: 1rem 1.5rem;
	margin-bottom: 1.5rem;
	list-style: none;
}
.woocommerce-error { border-color: var(--color-primary); color: var(--color-foreground); }

/* -------------------------------------------------------------------------
 * WOOCOMMERCE CHECKOUT BLOCK (front-end parity with block editor)
 * ---------------------------------------------------------------------- */

body.woocommerce-checkout .site-main,
body.woocommerce-cart .site-main,
body.woocommerce-account .site-main {
	padding-top: 2rem;
	padding-bottom: 4rem;
}
body.theme-no-hero .site-main { padding-top: 2rem; }

/* Parents must not squeeze the checkout block */
body.woocommerce-checkout .theme-generic-page__inner,
body.woocommerce-checkout .entry-content,
body.woocommerce-checkout .entry-content > *,
body.woocommerce-checkout article {
	max-width: none;
	width: 100%;
	box-sizing: border-box;
}

/* Checkout container — full desired width, centered */
body.woocommerce-checkout .wp-block-woocommerce-checkout,
body.woocommerce-checkout .wc-block-checkout,
body.woocommerce-checkout .entry-content .wc-block-checkout {
	display: block;
	width: 100%;
	max-width: 1280px;
	margin-left: auto;
	margin-right: auto;
	box-sizing: border-box;
}

/* Notices — same width/alignment as checkout content */
body.woocommerce-checkout .wc-block-components-notices,
body.woocommerce-checkout .wc-block-components-notices-wrapper {
	width: 100%;
	max-width: 1280px;
	margin-left: auto;
	margin-right: auto;
	box-sizing: border-box;
}

/* Layout children take available space without overflowing */
body.woocommerce-checkout .wc-block-checkout__main,
body.woocommerce-checkout .wc-block-checkout__sidebar,
body.woocommerce-checkout .wc-block-components-main,
body.woocommerce-checkout .wc-block-components-sidebar,
body.woocommerce-checkout .wp-block-woocommerce-checkout-order-summary-block,
body.woocommerce-checkout .wc-block-components-sidebar-layout > * {
	width: 100%;
	min-width: 0;
	max-width: 100%;
	box-sizing: border-box;
}

body.woocommerce-checkout .wp-block-woocommerce-checkout-order-summary-block {
	width: 100% !important;
}

/* Order summary line items + quantity badge (wc-blocks CSS is dequeued) */
body.woocommerce-checkout .wc-block-components-order-summary-item {
	display: flex;
	width: 100%;
	align-items: flex-start;
}
body.woocommerce-checkout .wc-block-components-order-summary-item__image {
	position: relative;
	width: 48px;
	flex-shrink: 0;
	margin-top: 0.5rem;
}
body.woocommerce-checkout .wc-block-components-order-summary-item__image > img {
	width: 48px;
	max-width: 48px;
	height: auto;
	display: block;
	border-radius: var(--radius);
}
body.woocommerce-checkout .wc-block-components-order-summary-item__quantity {
	align-items: center;
	background-color: var(--color-primary);
	border: 2px solid var(--color-surface);
	box-shadow: 0 0 0 1px var(--color-primary);
	color: var(--color-button-text);
	display: flex;
	font-size: 11px;
	font-weight: 600;
	justify-content: center;
	line-height: 1;
	min-height: 20px;
	min-width: 20px;
	border-radius: 20px;
	position: absolute;
	right: 0;
	top: 0;
	transform: translate(50%, -50%);
	white-space: nowrap;
	z-index: 1;
}
body.woocommerce-checkout .wc-block-components-order-summary-item__quantity span {
	padding: 0 0.4em;
	color: var(--color-button-text);
}

/* 2-column layout */
body.woocommerce-checkout .wc-block-components-sidebar-layout,
body.woocommerce-checkout .wc-block-checkout .wc-block-components-sidebar-layout,
body.woocommerce-checkout .wc-block-components-sidebar-layout.wc-block-checkout {
	display: flex;
	flex-direction: column;
	gap: 1.5rem;
	width: 100%;
	max-width: 100%;
	box-sizing: border-box;
	align-items: stretch;
}

@media (min-width: 700px) {
	body.woocommerce-checkout .wc-block-components-sidebar-layout,
	body.woocommerce-checkout .wc-block-checkout .wc-block-components-sidebar-layout,
	body.woocommerce-checkout .wc-block-components-sidebar-layout.wc-block-checkout.is-large,
	body.woocommerce-checkout .wc-block-components-sidebar-layout.wc-block-checkout {
		display: grid;
		grid-template-columns: minmax(0, 1fr) minmax(360px, 400px);
		gap: 1.5rem;
		align-items: start;
	}

	/* Notices / banners span full width above columns */
	body.woocommerce-checkout .wc-block-components-sidebar-layout > .wc-block-components-notices,
	body.woocommerce-checkout .wc-block-components-sidebar-layout > .wc-block-components-notice-banner,
	body.woocommerce-checkout .wc-block-components-sidebar-layout > .wc-block-components-notices-wrapper {
		grid-column: 1 / -1;
		order: 1;
		width: 100%;
		max-width: 100%;
	}

	body.woocommerce-checkout .wc-block-checkout__main,
	body.woocommerce-checkout .wc-block-components-main {
		grid-column: 1;
		order: 2;
		min-width: 0;
	}

	body.woocommerce-checkout .wc-block-checkout__sidebar,
	body.woocommerce-checkout .wc-block-components-sidebar {
		grid-column: 2;
		order: 3;
		min-width: 360px;
	}
}

body.woocommerce-checkout .wc-block-components-notice-banner {
	grid-column: 1 / -1;
	width: 100%;
	box-sizing: border-box;
}

body.woocommerce-checkout .wc-block-components-text-input input,
body.woocommerce-checkout .wc-block-components-select select,
body.woocommerce-checkout .wc-block-components-textarea textarea {
	width: 100% !important;
	max-width: none !important;
	background-color: var(--color-surface);
	border: 1px solid var(--color-muted);
	border-radius: var(--radius);
	color: var(--color-foreground);
	font-family: var(--font-body);
	font-size: 15px;
	box-sizing: border-box;
}
body.woocommerce-checkout .wc-block-components-text-input input:focus,
body.woocommerce-checkout .wc-block-components-select select:focus {
	outline: none;
	box-shadow: 0 0 0 2px color-mix(in srgb, var(--color-primary) 50%, transparent);
}

body.woocommerce-checkout .wc-block-checkout__sidebar,
body.woocommerce-checkout .wc-block-components-sidebar {
	background-color: var(--color-surface);
	border-radius: var(--radius);
	padding: 2rem;
}

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(--radius) !important;
	text-transform: uppercase !important;
	letter-spacing: 0.15em !important;
	font-size: 14px !important;
	font-weight: 600 !important;
}

body.woocommerce-checkout .wc-block-components-notice-banner {
	background-color: var(--color-surface);
	border-radius: var(--radius);
	color: var(--color-foreground);
}

body.woocommerce-checkout .wc-block-checkout,
body.woocommerce-checkout h2,
body.woocommerce-checkout h3 {
	color: var(--color-foreground);
	font-family: var(--font-body);
}
body.woocommerce-checkout .wc-block-components-text-input label {
	color: #000;
}
body.woocommerce-checkout .wc-block-checkout h2,
body.woocommerce-checkout .wc-block-checkout h3 {
	font-family: var(--font-hero);
	text-transform: uppercase;
}

/* -------------------------------------------------------------------------
 * THANK YOU PAGE (Section 22.8)
 * ---------------------------------------------------------------------- */

body.theme-thankyou-page { overflow-x: hidden; }
body.theme-thankyou-page .woocommerce-order,
body.theme-thankyou-page .woocommerce-order-overview,
body.theme-thankyou-page .woocommerce-customer-details,
body.theme-thankyou-page .woocommerce-order-details { color: var(--color-foreground); }
body.theme-thankyou-page .woocommerce-order h2,
body.theme-thankyou-page .woocommerce-order-details__title { font-family: var(--font-hero); text-transform: uppercase; padding: 0 0 1rem 0; }
body.theme-thankyou-page .woocommerce-order-overview { list-style: none; display: flex; flex-wrap: wrap; gap: 1.5rem; padding: 0; margin: 1.5rem 0; }
body.theme-thankyou-page .woocommerce-order-overview li { border-right: none; }
body.theme-thankyou-page .woocommerce-order-details table { width: 100%; table-layout: fixed; border-collapse: collapse; margin: 1.5rem 0; }
body.theme-thankyou-page .woocommerce-order-details table th,
body.theme-thankyou-page .woocommerce-order-details table td { padding: 0.75rem; border-bottom: 1px solid var(--color-muted); }
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; border: 1px solid var(--color-muted); border-radius: var(--radius); padding: 1rem; }
@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; max-width: none; }
}
