/*!
 * Cecilia Regueira theme stylesheet.
 * Design system ported verbatim from the original design source (design tokens +
 * tailwind.config.ts) — "Magenta Tech" dark palette, Space Grotesk display
 * font, DM Sans body font, 0.75rem base radius.
 */

/* ==========================================================================
   1. ROOT TOKENS
   ========================================================================== */
:root {
	/* --color-* variables are injected inline by wp_add_inline_style()
	   (functions.php) from the live Customizer color settings. The values
	   below are the design-source defaults, used until that inline block
	   loads (and as a safety fallback). */
	--color-background: #0f1420;
	--color-foreground: #f0f4fa;
	--color-card: #1a2233;
	--color-secondary: #212a3d;
	--color-muted: #262f42;
	--color-muted-foreground: #a8b4c8;
	--color-primary: #ff3d8b;
	--color-border: #2e384d;
	--color-button-text: #0f1420;

	--radius: 0.75rem;
	--radius-lg: var(--radius);
	--radius-md: calc(var(--radius) - 2px);
	--radius-sm: calc(var(--radius) - 4px);

	--font-display: 'Space Grotesk', 'Inter', sans-serif;
	--font-body: 'DM Sans', sans-serif;

	--shadow-soft: 0 2px 14px -6px rgba(2, 4, 10, 0.6);
	--shadow-elevated: 0 18px 44px -18px color-mix(in srgb, var(--color-primary) 40%, transparent);

	--transition-smooth: cubic-bezier(0.4, 0, 0.2, 1);

	--header-height: 80px;
	--logo-height: 40px;

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

	--container-max: 1280px;
	--checkout-gap: 4rem;
}

/* ==========================================================================
   2. RESET & BASE
   ========================================================================== */
*, *::before, *::after { box-sizing: border-box; }
html, body { max-width: 100%; overflow-x: clip; }
html { scroll-behavior: smooth; }
body {
	background: var(--color-background);
	color: var(--color-foreground);
	font-family: var(--font-body);
	font-weight: 400;
	font-size: 1rem;
	line-height: 1.6;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	margin: 0;
}
img { max-width: 100%; display: block; }
img:not(.theme-fill-img):not(.cover-img):not(.hero-bg-img) {
	max-width: 100%;
	height: auto;
}
.theme-fill-img,
.cover-img,
.hero-bg-img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}
.cover-img,
.hero-bg-img,
.theme-product-main-img,
.theme-product-stack-image .theme-fill-img,
.theme-product-main-image-wrap .theme-fill-img {
	position: absolute;
	inset: 0;
}
.theme-product-main-image-wrap { position: relative; }
.theme-product-card__image-wrapper .theme-fill-img {
	position: absolute;
	inset: 0;
}
.theme-cart-item-image { position: relative; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; background: none; border: none; color: inherit; }
input, textarea, select { font-family: inherit; }
ul { list-style: none; margin: 0; padding: 0; }

h1, h2, h3, h4, h5, h6 {
	font-family: var(--font-display);
	font-weight: 500;
	letter-spacing: -0.015em;
	margin: 0;
}
.font-display { font-family: var(--font-display); font-weight: 500; }
.font-body { font-family: var(--font-body); font-weight: 400; }

.screen-reader-text {
	position: absolute !important;
	width: 1px; height: 1px;
	overflow: hidden;
	clip: rect(0,0,0,0);
}
.skip-link:focus {
	position: fixed; top: 1rem; left: 1rem; width: auto; height: auto;
	background: var(--color-primary); color: var(--color-button-text);
	padding: 0.75rem 1.25rem; border-radius: var(--radius-sm); z-index: 999;
}

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

.text-primary { color: var(--color-primary); }

/* ==========================================================================
   3. TYPOGRAPHY SCALE
   ========================================================================== */
.section-eyebrow {
	display: block;
	font-size: 11px;
	font-family: var(--font-body);
	text-transform: uppercase;
	letter-spacing: 0.3em;
	color: var(--color-primary);
	margin-bottom: 1rem;
}
.section-intro { max-width: 42rem; margin-bottom: 3rem; }
.section-body { font-family: var(--font-body); color: var(--color-muted-foreground); }

.hero-title.theme-hero-title { font-size: 2.25rem; line-height: 1.05; margin-bottom: 1.5rem; }
@media (min-width: 640px) { .hero-title.theme-hero-title { font-size: 3rem; } }
@media (min-width: 768px) { .hero-title.theme-hero-title { font-size: 3.75rem; } }
@media (min-width: 1024px) { .hero-title.theme-hero-title { font-size: 4.5rem; } }

.about-heading, .portfolio-heading, .courses-heading { font-size: 1.875rem; line-height: 1.2; margin-bottom: 1.25rem; }
@media (min-width: 768px) { .about-heading, .portfolio-heading, .courses-heading { font-size: 2.25rem; } }
@media (min-width: 1024px) { .portfolio-heading, .courses-heading { font-size: 3rem; } }

.services-heading, .shop-heading { font-size: 1.875rem; line-height: 1.2; margin-bottom: 1rem; }
@media (min-width: 768px) { .services-heading, .shop-heading { font-size: 2.25rem; } }
@media (min-width: 1024px) { .services-heading, .shop-heading { font-size: 3rem; } }

.contact-title { font-size: 1.875rem; line-height: 1.2; margin-bottom: 1.25rem; }
@media (min-width: 768px) { .contact-title { font-size: 2.25rem; } }
@media (min-width: 1024px) { .contact-title { font-size: 3rem; } }

/* ==========================================================================
   4. ANIMATION SYSTEM (Section 2.1) — ported verbatim from index.css
   ========================================================================== */
@keyframes theme-fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes theme-slideUp { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }
@keyframes theme-marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@keyframes theme-scale-in { from { opacity: 0; transform: scale(0.94); } to { opacity: 1; transform: scale(1); } }
@keyframes theme-fade-up-in { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: translateY(0); } }

.animate-fade-in { animation: theme-fadeIn 0.6s var(--transition-smooth) forwards; }
.animate-slide-up { animation: theme-slideUp 0.6s var(--transition-smooth) forwards; }

/* Scroll-reveal: opacity:0 initial state, revealed via IntersectionObserver
   in main.js by adding .is-visible. Section 2.1 mandates a Customizer/preview
   fallback and a no-JS fallback below. */
[data-reveal] { opacity: 0; }
[data-reveal].reveal-fade-up { transform: translateY(24px); transition: opacity 0.7s var(--transition-smooth), transform 0.7s var(--transition-smooth); }
[data-reveal].reveal-scale { transform: scale(0.94); transition: opacity 0.6s var(--transition-smooth), transform 0.6s var(--transition-smooth); }
[data-reveal].is-visible { opacity: 1; transform: none; }
[data-reveal][data-reveal-delay="1"] { transition-delay: 0.1s; }
[data-reveal][data-reveal-delay="2"] { transition-delay: 0.16s; }
[data-reveal][data-reveal-delay="3"] { transition-delay: 0.22s; }
@keyframes theme-hero-mount { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: translateY(0); } }

.hero-mount-animate { animation: theme-hero-mount 0.8s cubic-bezier(0.25, 0.4, 0.25, 1) forwards; }
body.is-customizer .hero-mount-animate,
html.no-js .hero-mount-animate { opacity: 1 !important; transform: none !important; animation: none !important; }
@media (prefers-reduced-motion: reduce) {
	.hero-mount-animate { animation: none !important; opacity: 1 !important; transform: none !important; }
}

/* Customizer preview + no-JS fallback: never leave content permanently hidden. */
body.is-customizer [data-reveal],
html.no-js [data-reveal] {
	opacity: 1 !important;
	transform: none !important;
}

@media (prefers-reduced-motion: reduce) {
	[data-reveal] { transition: none !important; opacity: 1 !important; transform: none !important; }
	.announcement-track { animation: none !important; }
	.hover-lift, .btn-press, .icon-nudge, .img-zoom, .underline-grow::after, .swatch-pop { transition: none !important; }
}

.link-underline { position: relative; display: inline-block; }
.link-underline::after {
	content: ''; position: absolute; bottom: 0; left: 0; width: 100%; height: 1px;
	background: currentColor; transform: scaleX(0); transform-origin: left;
	transition: transform 0.3s var(--transition-smooth);
}
.link-underline:hover::after { transform: scaleX(1); }

.underline-grow { position: relative; display: inline-block; }
.underline-grow::after {
	content: ''; position: absolute; left: 0; bottom: -2px; height: 1px; width: 100%;
	background: currentColor; transform: scaleX(0); transform-origin: right;
	transition: transform 0.4s var(--transition-smooth);
}
a:hover .underline-grow::after,
.underline-grow:hover::after { transform: scaleX(1); transform-origin: left; }

.hover-lift { transition: transform 0.35s var(--transition-smooth), box-shadow 0.35s var(--transition-smooth); }
.hover-lift:hover { transform: translateY(-3px); box-shadow: var(--shadow-elevated); }

.card-hover { transition: all 0.5s var(--transition-smooth); }
.card-hover:hover { box-shadow: var(--shadow-elevated); transform: translateY(-4px); }

.img-zoom { transition: transform 0.8s cubic-bezier(0.25, 0.4, 0.25, 1); }
.group:hover .img-zoom, a:hover .img-zoom, .theme-product-card__link:hover .img-zoom, .service-card:hover .img-zoom { transform: scale(1.05); }

.icon-nudge { transition: transform 0.3s var(--transition-smooth); display: inline-block; }
a:hover .icon-nudge, button:hover .icon-nudge { transform: translateX(4px); }

.btn-press { transition: transform 0.18s var(--transition-smooth), box-shadow 0.25s var(--transition-smooth); }
.btn-press:hover { transform: translateY(-1px); }
.btn-press:active { transform: translateY(0) scale(0.98); }

.swatch-pop { transition: transform 0.2s var(--transition-smooth), box-shadow 0.2s var(--transition-smooth); }
.swatch-pop:hover { transform: scale(1.18); }

/* ==========================================================================
   5. 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);
	text-transform: none; white-space: nowrap;
	transition: transform 0.18s var(--transition-smooth), box-shadow 0.25s var(--transition-smooth), opacity 0.2s ease, background-color 0.2s ease;
}
.theme-btn:hover { transform: translateY(-1px); }
.theme-btn:active { transform: translateY(0) scale(0.98); }
.theme-btn-primary { background: var(--color-primary); color: var(--color-button-text); }
.theme-btn-primary:hover { opacity: 0.9; }
.theme-btn-outline { background: color-mix(in srgb, var(--color-card) 60%, transparent); border: 1px solid var(--color-border); color: var(--color-foreground); backdrop-filter: blur(6px); }
.theme-btn-outline:hover { border-color: var(--color-primary); }
.theme-btn-lg { padding: 0 2.5rem; min-height: 56px; }
.theme-btn-sm { min-height: 40px; padding: 0 1.25rem; font-size: 0.8125rem; }
.theme-btn-full { width: 100%; }
.theme-btn-hero { text-transform: none; }
.btn-hero-primary, .btn-hero-outline { text-transform: none; }

.theme-chip {
	padding: 0.5rem 1rem; border-radius: 999px; font-family: var(--font-body);
	font-size: 0.8125rem; border: 1px solid var(--color-border); color: var(--color-muted-foreground);
	min-height: 40px; transition: color 0.2s ease, border-color 0.2s ease, background-color 0.2s ease;
}
.theme-chip:hover { border-color: var(--color-primary); color: var(--color-foreground); }
.theme-chip.is-active { background: var(--color-primary); color: var(--color-button-text); border-color: var(--color-primary); }
.theme-filter-row { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: 0.75rem; }

.theme-badge { display: inline-flex; padding: 0.25rem 0.75rem; font-size: 10px; text-transform: uppercase; letter-spacing: 0.24em; border-radius: var(--radius-sm); font-family: var(--font-body); }
.theme-badge--soldout { position: absolute; top: 0.75rem; left: 0.75rem; background: var(--color-foreground); color: var(--color-background); z-index: 2; }

/* ==========================================================================
   6. HEADER
   ========================================================================== */
.site-header {
	position: sticky; top: 0; left: 0; right: 0; z-index: 50;
	background: transparent; border-bottom: 1px solid transparent;
	transition: background-color 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}
.site-header.is-solid,
.site-header.is-scrolled {
	background: color-mix(in srgb, var(--color-background) 95%, transparent);
	backdrop-filter: blur(10px);
	border-bottom-color: var(--color-border);
	box-shadow: var(--shadow-soft);
}
.site-nav { display: flex; align-items: center; justify-content: space-between; gap: 1rem; height: 64px; }
@media (min-width: 768px) { .site-nav { height: 80px; } }

.site-brand { display: flex; align-items: center; gap: 0.625rem; flex-shrink: 0; }
.site-logo-mark { width: 2rem; height: 2rem; color: var(--color-foreground); flex-shrink: 0; }
@media (min-width: 768px) { .site-logo-mark { width: 2.25rem; height: 2.25rem; } }
.is-solid .site-logo-mark { width: 1.75rem; height: 1.75rem; }
.theme-logo-stroke-primary { stroke: var(--color-primary); }
.theme-logo-stroke-current { stroke: currentColor; }

.site-logo-text.theme-brand-name {
	font-family: var(--font-display); font-weight: 500; letter-spacing: -0.02em; color: var(--color-foreground);
	font-size: 17px; white-space: nowrap; transition: font-size 0.25s var(--transition-smooth);
}
@media (min-width: 768px) { .site-logo-text.theme-brand-name { font-size: 26px; } }
.is-solid .site-logo-text.theme-brand-name { font-size: 15px; }
@media (min-width: 768px) { .is-solid .site-logo-text.theme-brand-name { font-size: 20px; } }
.site-logo-img { height: var(--logo-height) !important; width: auto !important; display: block; }
.theme-footer-logo-link .site-logo-img { height: var(--logo-height) !important; width: auto !important; }

.site-nav-center { display: none; }
@media (min-width: 1024px) { .site-nav-center { display: flex; align-items: center; gap: 2.25rem; } }
.theme-nav-list { display: flex; align-items: center; gap: 2.25rem; }
.theme-nav-link {
	font-family: var(--font-body); font-size: 11px; letter-spacing: 0.28em; text-transform: uppercase;
	transition: color 0.3s ease; color: var(--color-foreground);
}
.theme-nav-link:hover { color: var(--color-primary); }

.site-nav-actions { display: flex; align-items: center; gap: 0.25rem; flex-shrink: 0; }
@media (min-width: 768px) { .site-nav-actions { gap: 0.5rem; } }
.icon-btn { padding: 0.5rem; display: inline-flex; transition: opacity 0.2s ease; color: var(--color-foreground); }
.icon-btn:hover { opacity: 0.6; }
.theme-mobile-toggle { display: inline-flex; }
@media (min-width: 1024px) { .theme-mobile-toggle { display: none; } }

.theme-cart-btn { position: relative; }
.theme-cart-count {
	position: absolute; top: 0; right: 0; min-width: 18px; height: 18px; padding: 0 4px;
	display: flex; align-items: center; justify-content: center; font-size: 11px; font-weight: 500;
	background: var(--color-primary); color: var(--color-button-text); border-radius: 999px;
}
.theme-cart-count:empty { display: none; }

.theme-mobile-menu { display: none; border-top: 1px solid var(--color-border); padding: 1rem 0; }
.theme-mobile-menu.is-open { display: block; animation: theme-fadeIn 0.3s var(--transition-smooth); }
.theme-mobile-nav-list { display: flex; flex-direction: column; gap: 0.25rem; list-style: none; margin: 0; padding: 0; }
.theme-mobile-nav-list li { display: block; width: 100%; }
.theme-mobile-nav-list a, .theme-mobile-nav-list button, .theme-mobile-nav-link {
	display: block; width: 100%; text-align: left; font-family: var(--font-body); font-size: 0.875rem;
	letter-spacing: 0.16em; text-transform: uppercase; padding: 0.75rem 0; transition: color 0.2s ease;
	color: var(--color-foreground);
}
.theme-mobile-nav-list a:hover, .theme-mobile-nav-link:hover { color: var(--color-primary); }
@media (min-width: 1024px) { .theme-mobile-menu { display: none !important; } }

/* Search overlay — Lovable SearchDialog parity */
.theme-search-overlay {
	position: fixed; inset: 0; z-index: 80; display: none;
}
.theme-search-overlay.is-open { display: block; animation: theme-fadeIn 0.3s var(--transition-smooth); }
.theme-search-backdrop {
	position: absolute; inset: 0; border: none; cursor: pointer;
	background: color-mix(in srgb, var(--color-foreground) 40%, transparent);
}
.theme-search-panel {
	position: relative; background: var(--color-background); width: 100%;
	max-height: 92vh; overflow-y: auto; border-bottom: 1px solid var(--color-border);
	box-shadow: var(--shadow-elevated, 0 24px 48px color-mix(in srgb, var(--color-foreground) 12%, transparent));
}
.theme-search-inner { position: relative; padding-block: 2.5rem; }
@media (min-width: 1024px) { .theme-search-inner { padding-block: 3.5rem; } }
.theme-search-close {
	position: absolute; top: 1.25rem; right: 1.25rem; z-index: 2;
	opacity: 0.7; transition: opacity 0.2s ease;
}
@media (min-width: 1024px) { .theme-search-close { top: 1.75rem; right: 2rem; } }
.theme-search-close:hover { opacity: 1; }
.theme-search-grid { display: grid; gap: 2.5rem; }
@media (min-width: 1024px) { .theme-search-grid { grid-template-columns: 260px 1fr; gap: 4rem; } }
.theme-search-heading { font-family: var(--font-display); font-size: 1.5rem; font-weight: 400; color: var(--color-foreground); margin-bottom: 1.5rem; }
.theme-search-cat-list { display: flex; flex-direction: column; gap: 0.875rem; }
.theme-search-cat-btn {
	display: block; width: 100%; text-align: left; font-family: var(--font-body); font-size: 0.75rem;
	letter-spacing: 0.22em; text-transform: uppercase; color: color-mix(in srgb, var(--color-foreground) 85%, transparent);
	transition: color 0.2s ease;
}
.theme-search-cat-btn:hover { color: var(--color-primary); }
.theme-search-main { min-width: 0; }
@media (min-width: 1024px) { .theme-search-main { padding-right: 4rem; } }
.theme-search-input-row {
	display: flex; align-items: center; gap: 0.75rem; border-bottom: 1px solid var(--color-border); padding-bottom: 0.75rem;
	color: color-mix(in srgb, var(--color-foreground) 60%, transparent);
}
.theme-search-input {
	flex: 1; background: transparent; border: none; outline: none;
	font-family: var(--font-display); font-size: 1.5rem; color: var(--color-foreground);
}
.theme-search-input::placeholder { color: var(--color-muted-foreground); }
.theme-search-results-area { margin-top: 2.5rem; }
.theme-search-results-heading { font-family: var(--font-display); font-size: 1.5rem; font-weight: 400; color: var(--color-foreground); margin-bottom: 1.5rem; }
.theme-search-empty { font-family: var(--font-body); font-size: 0.875rem; color: var(--color-muted-foreground); margin-bottom: 1.5rem; }
.theme-search-empty em { font-family: var(--font-display); font-style: italic; }
.theme-search-results-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
.theme-search-results-grid--single-row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 768px) { .theme-search-results-grid { grid-template-columns: repeat(3, 1fr); } .theme-search-results-grid--single-row { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .theme-search-results-grid { grid-template-columns: repeat(4, 1fr); gap: 2rem; } .theme-search-results-grid--single-row { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.theme-search-result-card {
	display: block; text-align: left; background: none; border: none; padding: 0; color: inherit; cursor: pointer;
}
.theme-search-result-card:hover .theme-search-result-img img { transform: scale(1.05); }
.theme-search-result-img { aspect-ratio: 1; overflow: hidden; background: var(--color-secondary); }
.theme-search-result-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.7s ease; }
.theme-search-result-name {
	display: block; margin-top: 0.75rem; font-family: var(--font-body); font-size: 0.75rem;
	letter-spacing: 0.24em; text-transform: uppercase; line-height: 1.35;
	display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.theme-search-result-price { display: block; margin-top: 0.25rem; font-family: var(--font-body); font-size: 0.75rem; color: var(--color-muted-foreground); }

/* ==========================================================================
   7. HERO
   ========================================================================== */
.hero-section {
	position: relative; min-height: 100vh; display: flex; align-items: center; overflow: hidden;
	margin-top: -64px; padding-top: 64px;
}
@media (min-width: 768px) { .hero-section { margin-top: -80px; padding-top: 80px; } }
body.theme-no-hero .hero-section { margin-top: 0; padding-top: 0; min-height: 0; }
.hero-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 75%; opacity: 0.7; }
.hero-gradient {
	position: absolute; inset: 0;
	background: linear-gradient(to bottom, color-mix(in srgb, var(--color-background) 30%, transparent), color-mix(in srgb, var(--color-background) 60%, transparent), var(--color-background));
}
.hero-inner { position: relative; padding-block: 6rem 8rem; }
.hero-content { max-width: 48rem; margin-inline: auto; text-align: center; display: flex; flex-direction: column; align-items: center; }
.hero-eyebrow { display: inline-flex; align-items: center; gap: 0.5rem; font-size: 11px; text-transform: uppercase; letter-spacing: 0.3em; color: var(--color-primary); margin-bottom: 1.5rem; }
@media (min-width: 768px) { .hero-eyebrow { font-size: 12px; } }
.hero-eyebrow-line { width: 2rem; height: 1px; background: var(--color-primary); }
.hero-tagline.theme-hero-tagline { font-family: var(--font-display); font-size: 1.25rem; color: var(--color-primary); line-height: 1.375; margin-bottom: 1.5rem; }
@media (min-width: 640px) { .hero-tagline.theme-hero-tagline { font-size: 1.5rem; } }
@media (min-width: 768px) { .hero-tagline.theme-hero-tagline { font-size: 1.875rem; } }
.hero-body.theme-hero-body { font-size: 1rem; color: var(--color-muted-foreground); max-width: 42rem; margin: 0 auto 2.5rem; line-height: 1.7; }
@media (min-width: 768px) { .hero-body.theme-hero-body { font-size: 1.125rem; } }
.hero-ctas { display: flex; flex-direction: column; justify-content: center; gap: 0.75rem; margin-bottom: 2.5rem; }
@media (min-width: 640px) { .hero-ctas { flex-direction: row; gap: 1rem; } }
.hero-social { display: flex; align-items: center; justify-content: center; gap: 0.75rem; }
.theme-social-btn {
	width: 2.25rem; height: 2.25rem; border-radius: 999px; border: 1px solid var(--color-border);
	display: inline-flex; align-items: center; justify-content: center; color: var(--color-muted-foreground);
	transition: color 0.2s ease, border-color 0.2s ease;
}
.theme-social-btn:hover { color: var(--color-primary); border-color: var(--color-primary); }
.theme-social-btn--lg { width: 2.5rem; height: 2.5rem; }

/* ==========================================================================
   8. ANNOUNCEMENT MARQUEE
   ========================================================================== */
.announcement-bar { position: relative; background: var(--color-card); border-top: 1px solid var(--color-border); border-bottom: 1px solid var(--color-border); overflow: hidden; height: 56px; display: flex; align-items: center; }
.announcement-track-wrap { overflow: hidden; white-space: nowrap; flex: 1; }
.announcement-track { display: inline-flex; align-items: center; animation: theme-marquee 40s linear infinite; }
.announcement-track-group { display: inline-flex; flex-shrink: 0; align-items: center; padding-left: 2rem; }
.announcement-item { display: inline-flex; align-items: center; margin-inline: 2.5rem; font-size: 0.75rem; letter-spacing: 0.25em; text-transform: uppercase; color: var(--color-muted-foreground); }
@media (min-width: 768px) { .announcement-item { font-size: 0.875rem; } }
.announcement-dot { width: 6px; height: 6px; border-radius: 999px; background: var(--color-primary); margin-right: 0.75rem; flex-shrink: 0; }

/* ==========================================================================
   9. ABOUT
   ========================================================================== */
.about-section { padding-block: 5rem; }
@media (min-width: 768px) { .about-section { padding-block: 7rem; } }
.about-grid { display: grid; gap: 2.5rem; align-items: stretch; }
@media (min-width: 1024px) { .about-grid { grid-template-columns: 1fr 1fr; gap: 3.5rem; } }
.about-portrait-wrap { position: relative; min-height: 380px; }
@media (min-width: 1024px) { .about-portrait-wrap { min-height: 100%; } }
.about-portrait { position: relative; height: 100%; min-height: 380px; border-radius: 1rem; overflow: hidden; border: 1px solid var(--color-border); }
.about-portrait-gradient { position: absolute; inset: 0; background: linear-gradient(to top, color-mix(in srgb, var(--color-background) 85%, transparent), color-mix(in srgb, var(--color-background) 10%, transparent) 60%, transparent); }
.about-portrait-caption { position: absolute; bottom: 0; left: 0; right: 0; padding: 1.5rem; z-index: 1; }
.about-portrait-name { font-family: var(--font-display); font-size: 1.125rem; margin: 0; }
.about-portrait-title { font-size: 0.875rem; color: var(--color-muted-foreground); margin: 0; }
.about-copy { display: flex; flex-direction: column; justify-content: center; }
.about-paragraphs { display: flex; flex-direction: column; gap: 1rem; color: var(--color-muted-foreground); line-height: 1.7; margin-bottom: 2rem; }
.about-skills-grid { display: grid; grid-template-columns: 1fr; gap: 0.75rem; }
@media (min-width: 640px) { .about-skills-grid { grid-template-columns: 1fr 1fr; } }
.about-skill-card { border: 1px solid var(--color-border); background: var(--color-card); border-radius: var(--radius-md); padding: 1rem; }
.about-skill-title { font-size: 0.875rem; margin-bottom: 0.625rem; }
.about-skill-tags { display: flex; flex-wrap: wrap; gap: 0.375rem; }
.about-skill-tag { padding: 0.25rem 0.625rem; border-radius: 999px; background: var(--color-secondary); color: var(--color-foreground); font-size: 0.75rem; }

/* ==========================================================================
   10. PORTFOLIO
   ========================================================================== */
.portfolio-section { padding-block: 5rem; background: color-mix(in srgb, var(--color-card) 30%, transparent); border-block: 1px solid var(--color-border); }
@media (min-width: 768px) { .portfolio-section { padding-block: 7rem; } }
.portfolio-grid { display: grid; grid-template-columns: 1fr; gap: 1.25rem; margin-block: 2rem 3rem; }
@media (min-width: 640px) { .portfolio-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .portfolio-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.portfolio-card { position: relative; border-radius: var(--radius-md); overflow: hidden; border: 1px solid var(--color-border); background: var(--color-card); cursor: pointer; transition: border-color 0.3s ease; display: flex; flex-direction: column; text-align: left; }
.portfolio-card:hover { border-color: var(--color-primary); }
.portfolio-card[data-domain] { display: flex; }
.portfolio-card.is-hidden { display: none; }
.portfolio-card-image-wrap { position: relative; aspect-ratio: 16/10; overflow: hidden; background: var(--color-muted); }
.portfolio-card-body { padding: 1.25rem; display: flex; flex-direction: column; flex: 1; }
.portfolio-card-domain { display: block; font-size: 10px; text-transform: uppercase; letter-spacing: 0.2em; color: var(--color-primary); margin-bottom: 0.5rem; }
.portfolio-card-title { font-size: 1.125rem; line-height: 1.375; margin-bottom: 0.5rem; }
.portfolio-card-summary { font-size: 0.875rem; color: var(--color-muted-foreground); line-height: 1.5; margin: 0 0 1rem; flex: 1; }
.portfolio-card-tools { display: flex; flex-wrap: wrap; gap: 0.375rem; }
.portfolio-card-tool { padding: 0.125rem 0.5rem; border-radius: 999px; background: var(--color-secondary); font-size: 0.75rem; }

.portfolio-experience { margin-top: 4rem; }
@media (min-width: 768px) { .portfolio-experience { margin-top: 6rem; } }
.portfolio-certs { margin-top: 3.5rem; }
@media (min-width: 768px) { .portfolio-certs { margin-top: 5rem; } }
.portfolio-section-head { display: flex; align-items: center; gap: 1rem; margin-bottom: 2rem; }
.portfolio-section-head h3 { font-size: 1.5rem; margin: 0; white-space: nowrap; }
@media (min-width: 768px) { .portfolio-section-head h3 { font-size: 1.875rem; } }
.portfolio-section-head-line { flex: 1; height: 1px; background: var(--color-border); }
.portfolio-section-head-meta { font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.18em; color: var(--color-muted-foreground); white-space: nowrap; }
.portfolio-timeline { display: grid; grid-template-columns: 1fr; gap: 1.25rem; list-style: none; margin: 0; padding: 0; }
@media (min-width: 768px) { .portfolio-timeline { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.portfolio-timeline-item { position: relative; border-radius: 1rem; border: 1px solid var(--color-border); background: color-mix(in srgb, var(--color-card) 60%, transparent); padding: 1.5rem; transition: border-color 0.3s ease; }
.portfolio-timeline-item:hover { border-color: color-mix(in srgb, var(--color-primary) 50%, transparent); }
.portfolio-timeline-bar { position: absolute; left: 0; top: 1.5rem; bottom: 1.5rem; width: 3px; border-radius: 999px; background: color-mix(in srgb, var(--color-primary) 40%, transparent); transition: background-color 0.3s ease; }
.portfolio-timeline-item:hover .portfolio-timeline-bar { background: var(--color-primary); }
.portfolio-timeline-content { padding-left: 1rem; min-width: 0; }
.portfolio-timeline-period { display: block; font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.18em; color: var(--color-primary); margin-bottom: 0.5rem; }
.portfolio-timeline-item h4 { font-size: 1.125rem; line-height: 1.375; margin-bottom: 0.25rem; }
.portfolio-timeline-org { font-size: 0.875rem; color: color-mix(in srgb, var(--color-foreground) 70%, transparent); margin-bottom: 0.75rem; }
.portfolio-timeline-detail { font-size: 0.875rem; color: var(--color-muted-foreground); line-height: 1.6; margin: 0; }
.portfolio-cert-list { display: grid; grid-template-columns: 1fr; gap: 1rem; list-style: none; margin: 0; padding: 0; }
@media (min-width: 640px) { .portfolio-cert-list { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .portfolio-cert-list { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.portfolio-cert-item { display: flex; gap: 0.75rem; align-items: flex-start; border-radius: 1rem; border: 1px solid var(--color-border); background: color-mix(in srgb, var(--color-card) 60%, transparent); padding: 1.25rem; transition: border-color 0.3s ease; }
.portfolio-cert-item:hover { border-color: color-mix(in srgb, var(--color-primary) 50%, transparent); }
.portfolio-cert-icon { display: flex; align-items: center; justify-content: center; width: 2rem; height: 2rem; border-radius: var(--radius-sm); background: color-mix(in srgb, var(--color-primary) 10%, transparent); color: var(--color-primary); flex-shrink: 0; margin-top: 0.125rem; }
.portfolio-cert-issuer { font-size: 11px; text-transform: uppercase; letter-spacing: 0.16em; color: var(--color-primary); margin-bottom: 0.25rem; }
.portfolio-cert-name { font-size: 1rem; line-height: 1.375; margin: 0 0 0.375rem; }
.portfolio-cert-detail { font-size: 0.875rem; color: var(--color-muted-foreground); line-height: 1.6; margin: 0; }
.theme-project-modal-link { display: inline-flex; align-items: center; gap: 0.375rem; color: var(--color-primary); font-size: 0.875rem; margin-top: 0.5rem; }
.theme-project-modal-link:hover { text-decoration: underline; }

/* Project modal */
.theme-project-modal-panel,
.theme-project-modal .theme-modal-panel.theme-project-modal-panel {
	max-width: 56rem !important;
	width: calc(100% - 2rem) !important;
}
.theme-project-modal-image { position: relative; aspect-ratio: 16/9; border-radius: var(--radius-md) var(--radius-md) 0 0; overflow: hidden; background: var(--color-muted); }
.theme-project-modal-domain { display: inline-block; font-size: 11px; text-transform: uppercase; letter-spacing: 0.2em; color: var(--color-primary); margin-bottom: 0.5rem; }
.theme-project-modal-summary { color: var(--color-muted-foreground); margin-bottom: 1.25rem; }
.theme-project-modal-block { margin-bottom: 1rem; }
.theme-project-modal-block h4 { font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.16em; color: var(--color-primary); margin-bottom: 0.375rem; }
.theme-project-modal-block p { font-size: 0.875rem; color: var(--color-muted-foreground); line-height: 1.6; margin: 0; }
.theme-project-modal-tools { display: flex; flex-wrap: wrap; gap: 0.375rem; margin-bottom: 1.5rem; }
.theme-project-modal-tools span { padding: 0.25rem 0.625rem; border-radius: 999px; background: var(--color-secondary); font-size: 0.75rem; }

/* ==========================================================================
   11. COURSES
   ========================================================================== */
.courses-section { padding-block: 5rem; }
@media (min-width: 768px) { .courses-section { padding-block: 7rem; } }
.courses-header { display: flex; flex-direction: column; gap: 1.5rem; margin-bottom: 2.5rem; }
@media (min-width: 768px) { .courses-header { flex-direction: row; align-items: flex-end; justify-content: space-between; } }
.courses-header-copy { max-width: 42rem; }
.courses-header-copy .section-body { margin-top: 0; }
.courses-filter-row { margin-bottom: 0; flex-shrink: 0; }
.courses-grid { display: grid; grid-template-columns: 1fr; gap: 1.25rem; }
@media (min-width: 640px) { .courses-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .courses-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.course-card { display: flex; flex-direction: column; border-radius: var(--radius-md); overflow: hidden; background: var(--color-card); border: 1px solid var(--color-border); color: inherit; text-decoration: none; transition: border-color 0.3s ease; }
.course-card:hover { border-color: var(--color-primary); }
.course-card.is-hidden { display: none; }
.course-card-image-wrap { position: relative; aspect-ratio: 16/10; overflow: hidden; background: var(--color-muted); }
.course-card-body { padding: 1.25rem; display: flex; flex-direction: column; flex: 1; }
.course-card-meta { display: flex; align-items: center; gap: 0.5rem; font-size: 10px; text-transform: uppercase; letter-spacing: 0.18em; margin-bottom: 0.5rem; }
.course-card-kind { color: var(--color-primary); }
.course-card-meta span:not(.course-card-kind) { color: var(--color-muted-foreground); }
.course-card-title { font-size: 1.125rem; line-height: 1.375; margin-bottom: 0.5rem; }
.course-card-summary { font-size: 0.875rem; color: var(--color-muted-foreground); line-height: 1.5; margin: 0 0 1rem; flex: 1; }
.course-card-footer { display: flex; align-items: center; justify-content: space-between; gap: 0.5rem; font-size: 0.75rem; color: var(--color-muted-foreground); margin-top: auto; min-width: 0; }
.course-card-duration { display: inline-flex; align-items: center; gap: 0.375rem; min-width: 0; }
.course-card-read { display: inline-flex; align-items: center; gap: 0.25rem; color: var(--color-primary); flex-shrink: 0; }
.courses-support-banner { position: relative; display: flex; flex-direction: column; gap: 2rem; align-items: flex-start; justify-content: space-between; overflow: hidden; margin-top: 3rem; border-radius: 1rem; border: 1px solid color-mix(in srgb, var(--color-primary) 30%, transparent); background: linear-gradient(135deg, color-mix(in srgb, var(--color-primary) 15%, transparent), color-mix(in srgb, var(--color-primary) 5%, transparent), var(--color-background)); padding: 2rem; }
@media (min-width: 768px) { .courses-support-banner { padding: 2.5rem; } }
@media (min-width: 1024px) { .courses-support-banner { flex-direction: row; align-items: center; padding: 3rem; } }
.courses-support-blur { position: absolute; border-radius: 999px; pointer-events: none; }
.courses-support-blur--top { top: -2rem; right: -2rem; width: 12rem; height: 12rem; background: color-mix(in srgb, var(--color-primary) 10%, transparent); filter: blur(48px); }
.courses-support-blur--bottom { bottom: -2rem; left: -2rem; width: 10rem; height: 10rem; background: color-mix(in srgb, var(--color-primary) 5%, transparent); filter: blur(48px); }
.courses-support-copy { position: relative; max-width: 42rem; }
.courses-support-eyebrow { display: inline-flex; align-items: center; gap: 0.5rem; font-size: 11px; text-transform: uppercase; letter-spacing: 0.3em; color: var(--color-primary); margin-bottom: 0.75rem; }
.courses-support-banner h3 { font-size: 1.5rem; line-height: 1.375; margin-bottom: 0.75rem; }
@media (min-width: 768px) { .courses-support-banner h3 { font-size: 1.875rem; } }
@media (min-width: 1024px) { .courses-support-banner h3 { font-size: 2.25rem; } }
.courses-support-banner p { color: var(--color-muted-foreground); font-size: 0.875rem; margin: 0; }
@media (min-width: 768px) { .courses-support-banner p { font-size: 1rem; } }
.courses-support-btn { position: relative; flex-shrink: 0; box-shadow: 0 10px 15px -3px color-mix(in srgb, var(--color-primary) 20%, transparent); }

/* Single course */
.course-detail-hero { position: relative; min-height: 46vh; display: flex; align-items: flex-end; overflow: hidden; }
.course-detail-hero-gradient { position: absolute; inset: 0; background: linear-gradient(to top, var(--color-background), color-mix(in srgb, var(--color-background) 40%, transparent) 60%, transparent); }
.course-detail-hero-inner { position: relative; padding-block: 3rem 2.5rem; }
.course-detail-back { display: inline-flex; align-items: center; gap: 0.5rem; font-size: 0.8125rem; color: var(--color-muted-foreground); margin-bottom: 1.5rem; }
.course-detail-back:hover { color: var(--color-primary); }
.theme-icon-flip { transform: rotate(180deg); }
.course-detail-meta { display: flex; align-items: center; gap: 0.5rem; font-size: 0.8125rem; color: var(--color-muted-foreground); margin-bottom: 1rem; }
.course-detail-title { font-size: 2rem; margin-bottom: 1rem; }
@media (min-width: 768px) { .course-detail-title { font-size: 2.75rem; } }
.course-detail-summary { max-width: 42rem; color: var(--color-muted-foreground); font-size: 1.0625rem; }
.course-detail-body { padding-block: 3rem; }
.course-detail-grid { display: grid; grid-template-columns: 1fr; gap: 2.5rem; }
@media (min-width: 1024px) { .course-detail-grid { grid-template-columns: 2fr 1fr; } }
.course-detail-content { color: var(--color-foreground); line-height: 1.75; }
.course-detail-content h2, .course-detail-content h3 { margin-top: 2rem; margin-bottom: 0.75rem; font-size: 1.375rem; }
.course-detail-content p { color: var(--color-muted-foreground); margin-bottom: 1rem; }
.course-detail-content pre { background: var(--color-card); border: 1px solid var(--color-border); border-radius: var(--radius-md); padding: 1.25rem; overflow-x: auto; font-size: 0.8125rem; margin-bottom: 1.25rem; }
.course-detail-content code { font-family: 'SFMono-Regular', Consolas, monospace; }
.course-detail-content ul, .course-detail-content ol { color: var(--color-muted-foreground); padding-left: 1.25rem; margin-bottom: 1.25rem; list-style: disc; }
.course-detail-content ol { list-style: decimal; }
.course-detail-sidebar { align-self: flex-start; position: sticky; top: calc(var(--header-height) + 1.5rem); }
.course-detail-outcomes { border: 1px solid var(--color-border); background: var(--color-card); border-radius: var(--radius-md); padding: 1.5rem; margin-bottom: 1.25rem; }
.course-detail-outcomes h2 { font-size: 1rem; margin-bottom: 1rem; }
.course-detail-outcomes ul { display: flex; flex-direction: column; gap: 0.625rem; }
.course-detail-outcomes li { display: flex; gap: 0.5rem; align-items: flex-start; font-size: 0.8125rem; color: var(--color-muted-foreground); }
.course-detail-outcomes svg { color: var(--color-primary); flex-shrink: 0; margin-top: 0.15rem; }
.course-detail-free-note { font-size: 0.8125rem; color: var(--color-muted-foreground); margin-bottom: 1rem; }
.course-detail-more { margin-top: 4rem; padding-top: 3rem; border-top: 1px solid var(--color-border); }
.course-detail-more h2 { font-size: 1.375rem; margin-bottom: 1.5rem; }

/* ==========================================================================
   12. SERVICES
   ========================================================================== */
.services-section { padding-block: 5rem; background: color-mix(in srgb, var(--color-card) 30%, transparent); border-block: 1px solid var(--color-border); }
@media (min-width: 768px) { .services-section { padding-block: 7rem; } }
.services-grid { display: grid; grid-template-columns: 1fr; gap: 1.5rem; }
@media (min-width: 640px) { .services-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.service-card { display: flex; flex-direction: column; overflow: hidden; border-radius: 1rem; border: 1px solid var(--color-border); background: var(--color-card); transition: border-color 0.3s ease; }
.service-card:hover { border-color: color-mix(in srgb, var(--color-primary) 50%, transparent); }
.service-card-image-wrap { position: relative; height: 11rem; overflow: hidden; }
@media (min-width: 768px) { .service-card-image-wrap { height: 13rem; } }
.service-card-image-gradient { position: absolute; inset: 0; background: linear-gradient(to top, var(--color-card), color-mix(in srgb, var(--color-card) 40%, transparent), transparent); }
.service-card-icon { position: absolute; bottom: 1rem; left: 1rem; width: 2.5rem; height: 2.5rem; border-radius: var(--radius-sm); background: var(--color-primary); color: var(--color-button-text); display: flex; align-items: center; justify-content: center; box-shadow: var(--shadow-elevated); }
.service-card-body { display: flex; flex-direction: column; flex: 1; padding: 1.5rem; }
.service-card-title { font-size: 1.25rem; margin-bottom: 0.5rem; line-height: 1.3; }
.service-card-text { font-size: 0.875rem; color: var(--color-muted-foreground); margin-bottom: 1rem; }
.service-card-points { display: flex; flex-direction: column; gap: 0.375rem; margin-top: auto; }
.service-card-points li { display: flex; gap: 0.5rem; align-items: flex-start; font-size: 0.75rem; color: var(--color-muted-foreground); }
.service-card-points svg { color: var(--color-primary); flex-shrink: 0; margin-top: 0.15rem; }
.services-cta-band { margin-top: 3rem; border-radius: 1rem; border: 1px solid var(--color-border); background: var(--color-card); padding: 2rem; text-align: center; }
@media (min-width: 768px) { .services-cta-band { padding: 3rem; } }
.services-cta-band h3 { font-size: 1.5rem; margin-bottom: 0.75rem; }
@media (min-width: 768px) { .services-cta-band h3 { font-size: 1.875rem; } }
.services-cta-band p { max-width: 34rem; margin: 0 auto 1.75rem; color: var(--color-muted-foreground); font-size: 0.9375rem; }
.services-cta-actions { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 0.75rem; }
@media (min-width: 640px) { .services-cta-actions { flex-direction: row; } }

/* ==========================================================================
   13. SHOP + PRODUCT CARDS
   ========================================================================== */
.shop-section { padding-block: 5rem; }
@media (min-width: 768px) { .shop-section { padding-block: 7rem; } }
.shop-filters { display: flex; flex-direction: column; gap: 0.75rem; margin-bottom: 2rem; }

.theme-product-grid { display: grid; grid-template-columns: 1fr; gap: 1.25rem; align-items: stretch; }
@media (min-width: 640px) { .theme-product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .theme-product-grid.shop-grid, .theme-product-grid.archive-product-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .theme-product-grid.related-products-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

.theme-product-card-wrap { display: flex; height: 100%; }
.theme-product-card-wrap.is-filtered-out { display: none; }
.theme-product-card {
	position: relative; display: flex; flex-direction: column; width: 100%; height: 100%;
	background: var(--color-card); border: 1px solid color-mix(in srgb, var(--color-border) 60%, transparent);
	border-radius: var(--radius-md); overflow: hidden;
	transition: transform 0.35s var(--transition-smooth), box-shadow 0.35s var(--transition-smooth);
}
.theme-product-card__link { display: flex; flex-direction: column; flex: 1; min-width: 0; color: inherit; text-decoration: none; }
.theme-product-card__image-wrapper { position: relative; aspect-ratio: 4/5; overflow: hidden; background: var(--color-muted); flex-shrink: 0; }
.theme-product-card__meta { padding: 1rem 1rem 0; display: flex; flex-direction: column; gap: 0.375rem; min-width: 0; }
.theme-product-card__cat { font-family: var(--font-body); font-size: 10px; font-weight: 400; text-transform: uppercase; letter-spacing: 0.2em; color: var(--color-muted-foreground); }
.theme-product-card__title { font-family: var(--font-body); font-size: 0.875rem; font-weight: 500; min-width: 0; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; color: var(--color-foreground); }
.theme-product-card__footer {
	display: flex; align-items: center; justify-content: space-between; gap: 0.5rem;
	padding: 0.375rem 1rem 1rem; margin-top: auto; position: relative; z-index: 3;
}
.theme-product-card__price { font-family: var(--font-body); font-size: 0.875rem; font-weight: 500; color: var(--color-foreground); }
.theme-product-card__price .woocommerce-Price-amount { font-weight: 500; }
.theme-product-card__add.add_to_cart_button.ajax_add_to_cart,
.theme-product-card__add.theme-product-card__view {
	display: inline-flex !important; align-items: center; justify-content: center; flex-shrink: 0;
	width: 1.75rem !important; height: 1.75rem !important; min-height: unset !important; padding: 0 !important;
	border-radius: 50% !important; background: var(--color-primary) !important; color: var(--color-button-text) !important;
	border: none !important; cursor: pointer !important; pointer-events: auto !important; text-decoration: none !important;
	transition: opacity 0.2s ease, transform 0.18s var(--transition-smooth) !important;
}
.theme-product-card__add.add_to_cart_button.ajax_add_to_cart:hover,
.theme-product-card__add.theme-product-card__view:hover { opacity: 0.9 !important; transform: translateY(-1px); }

.shop-empty-state { text-align: center; padding-block: 2.5rem; color: var(--color-muted-foreground); font-size: 0.875rem; }
.shop-footer-link { margin-top: 2.5rem; }
.shop-footer-link a { display: inline-flex; align-items: center; gap: 0.5rem; color: var(--color-primary); font-size: 0.875rem; }
.shop-footer-link a:hover { text-decoration: underline; }

/* ==========================================================================
   14. CONTACT
   ========================================================================== */
.contact-section { position: relative; padding-block: 5rem; overflow: hidden; border-top: 1px solid var(--color-border); }
@media (min-width: 768px) { .contact-section { padding-block: 7rem; } }
.contact-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0.4; }
.contact-overlay { position: absolute; inset: 0; background: color-mix(in srgb, var(--color-background) 70%, transparent); }
.contact-inner { position: relative; z-index: 1; }
.contact-intro { max-width: 48rem; margin-inline: auto; text-align: center; margin-bottom: 2.5rem; }
.contact-items-grid { display: grid; grid-template-columns: 1fr; gap: 1rem; }
@media (min-width: 640px) { .contact-items-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .contact-items-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.contact-item-card {
	display: flex; align-items: center; gap: 0.75rem; border-radius: var(--radius-md);
	border: 1px solid color-mix(in srgb, var(--color-border) 80%, transparent); background: color-mix(in srgb, var(--color-card) 90%, transparent);
	backdrop-filter: blur(4px); padding: 1.25rem; height: 100%; transition: border-color 0.2s ease;
}
.contact-item-card:hover { border-color: var(--color-primary); }
.contact-item-icon { width: 2.25rem; height: 2.25rem; border-radius: var(--radius-sm); background: color-mix(in srgb, var(--color-primary) 15%, transparent); color: var(--color-primary); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.contact-item-label { font-size: 0.875rem; word-break: break-word; }
.contact-actions { margin-top: 3rem; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 0.75rem; }
@media (min-width: 640px) { .contact-actions { flex-direction: row; } }
.contact-actions .theme-btn-primary { box-shadow: 0 10px 15px -3px color-mix(in srgb, var(--color-primary) 25%, transparent); }
.contact-actions .theme-btn-primary:hover { box-shadow: 0 20px 25px -5px color-mix(in srgb, var(--color-primary) 30%, transparent); }
.services-cta-actions .theme-btn-primary { box-shadow: 0 10px 15px -3px color-mix(in srgb, var(--color-primary) 20%, transparent); }

/* ==========================================================================
   15. FOOTER
   ========================================================================== */
.site-footer { border-top: 1px solid var(--color-border); background: color-mix(in srgb, var(--color-card) 40%, transparent); }
.theme-footer-inner { padding-block: 3.5rem 5rem; }
.theme-footer-grid { display: grid; grid-template-columns: 1fr; gap: 2.5rem; }
@media (min-width: 640px) { .theme-footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .theme-footer-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.theme-footer-logo-link { display: inline-flex; align-items: center; gap: 0.75rem; margin-bottom: 1rem; }
.theme-footer-logo-link .site-logo-mark { width: 2.5rem; height: 2.5rem; }
.theme-footer-brand-text { display: flex; flex-direction: column; }
.theme-footer-brand-name { font-family: var(--font-display); font-size: 1.5rem; line-height: 1; }
.theme-footer-tagline { font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.24em; color: var(--color-primary); margin-top: 0.5rem; }
.theme-footer-about { font-size: 0.875rem; color: var(--color-muted-foreground); max-width: 20rem; margin-bottom: 1.5rem; }
.theme-footer-social { display: flex; align-items: center; gap: 0.75rem; }
.theme-footer-col-title { font-size: 11px; letter-spacing: 0.28em; text-transform: uppercase; margin-bottom: 1.25rem; }
.theme-footer-list { display: flex; flex-direction: column; gap: 0.75rem; }
.theme-footer-list--spaced { margin-bottom: 1.5rem; }
.theme-footer-link { font-size: 0.875rem; color: var(--color-muted-foreground); transition: color 0.2s ease; }
.theme-footer-link:hover { color: var(--color-primary); }
.theme-footer-link--btn { text-align: left; }
.theme-footer-bottom { margin-top: 3rem; padding-top: 1.5rem; border-top: 1px solid var(--color-border); display: flex; flex-direction: column; align-items: center; justify-content: space-between; gap: 0.75rem; }
@media (min-width: 640px) { .theme-footer-bottom { flex-direction: row; } }
.theme-footer-copy { font-size: 0.75rem; color: var(--color-muted-foreground); margin: 0; }

/* ==========================================================================
   16. CART DRAWER + OVERLAY + MODALS
   ========================================================================== */
#theme-cart-overlay { position: fixed; inset: 0; z-index: 90; background: color-mix(in srgb, var(--color-foreground) 20%, transparent); display: none; }
body.cart-open #theme-cart-overlay { display: block; animation: theme-fadeIn 0.3s var(--transition-smooth); }
#theme-cart-drawer {
	position: fixed; right: 0; top: 0; height: 100%; width: 100%; max-width: 420px; z-index: 91;
	background: var(--color-background); box-shadow: var(--shadow-elevated); display: none; flex-direction: column;
	transform: translateX(100%); transition: transform 0.35s var(--transition-smooth);
}
body.cart-open #theme-cart-drawer { display: flex; transform: translateX(0); }
#theme-cart-drawer.is-updating { opacity: 0.6; pointer-events: none; }
.theme-cart-drawer-header { display: flex; align-items: center; justify-content: space-between; padding: 1.5rem; border-bottom: 1px solid var(--color-border); }
.theme-cart-drawer-title { font-size: 1.125rem; font-weight: 700; }
.theme-cart-empty { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 1.5rem; text-align: center; }
.theme-cart-empty-icon { color: var(--color-muted-foreground); margin-bottom: 1rem; }
.theme-cart-empty p { color: var(--color-muted-foreground); margin-bottom: 1.5rem; }
.theme-cart-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; overflow: hidden; background: var(--color-secondary); border-radius: var(--radius-sm); }
.theme-cart-item-image img { width: 100%; height: 100%; object-fit: cover; }
.theme-cart-item-body { flex: 1; min-width: 0; }
.theme-cart-item-name { font-size: 0.875rem; font-weight: 500; display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.theme-cart-item-price { font-size: 0.875rem; color: var(--color-muted-foreground); margin: 0.125rem 0 0; }
.theme-cart-item-variation { font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--color-muted-foreground); margin-top: 0.25rem; }
.theme-cart-item-controls { display: flex; align-items: center; gap: 0.5rem; margin-top: 0.75rem; }
.theme-cart-qty-btn { padding: 0.25rem; border-radius: var(--radius-sm); transition: background-color 0.2s ease; }
.theme-cart-qty-btn:hover { background: var(--color-secondary); }
.theme-cart-item-qty { font-size: 0.875rem; width: 1.25rem; text-align: center; }
.theme-cart-item-remove { margin-left: auto; font-size: 0.8125rem; color: var(--color-muted-foreground); }
.theme-cart-item-remove:hover { color: var(--color-foreground); }
.theme-cart-footer { padding: 1.5rem; border-top: 1px solid var(--color-border); display: flex; flex-direction: column; gap: 1rem; }
.theme-cart-subtotal-row { display: flex; justify-content: space-between; font-size: 0.875rem; }
.theme-cart-subtotal-row span:first-child { color: var(--color-muted-foreground); }
.theme-cart-instant-note { font-size: 0.875rem; color: var(--color-muted-foreground); margin: 0; }

/* Contact / project modal shared styles */
.theme-modal { position: fixed; inset: 0; z-index: 95; display: none; align-items: center; justify-content: center; padding: 1.5rem; }
.theme-modal.is-open { display: flex; }
.theme-modal-overlay { position: absolute; inset: 0; background: color-mix(in srgb, var(--color-background) 70%, transparent); animation: theme-fadeIn 0.25s var(--transition-smooth); }
.theme-modal-panel {
	position: relative; width: 100%; max-width: 32rem; max-height: 90vh; overflow-y: auto;
	background: var(--color-card); border: 1px solid var(--color-border); border-radius: var(--radius-md);
	box-shadow: var(--shadow-elevated); animation: theme-scale-in 0.25s var(--transition-smooth);
}
.theme-modal.is-closing .theme-modal-panel { animation: theme-modal-out 0.2s var(--transition-smooth) forwards; }
.theme-modal.is-closing .theme-modal-overlay { animation: theme-fadeOut 0.2s var(--transition-smooth) forwards; }
@keyframes theme-modal-out { to { opacity: 0; transform: scale(0.94); } }
@keyframes theme-fadeOut { to { opacity: 0; } }
.theme-modal-close { position: absolute; top: 1rem; right: 1rem; z-index: 2; }
.theme-modal-body { padding: 2rem; }
.theme-modal-title { font-size: 1.5rem; margin-bottom: 0.5rem; }
.theme-modal-desc { color: var(--color-muted-foreground); font-size: 0.875rem; margin-bottom: 1.25rem; }
.theme-modal-quicklinks { display: flex; flex-wrap: wrap; gap: 1rem; font-size: 0.875rem; color: var(--color-muted-foreground); margin-bottom: 1.25rem; }
.theme-modal-quicklinks a { display: inline-flex; align-items: center; gap: 0.5rem; }
.theme-modal-quicklinks a:hover { color: var(--color-foreground); }
.theme-contact-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: 0.875rem; font-weight: 500; margin-bottom: 0.375rem; }
.theme-form-field input, .theme-form-field textarea {
	width: 100%; padding: 0.625rem 0.75rem; background: var(--color-background); border: 1px solid var(--color-border);
	border-radius: var(--radius-sm); color: var(--color-foreground); font-size: 1rem; transition: box-shadow 0.3s ease;
}
.theme-form-field input::placeholder, .theme-form-field textarea::placeholder { color: var(--color-muted-foreground); }
.theme-form-field input:focus, .theme-form-field textarea:focus { outline: none; box-shadow: 0 0 0 2px color-mix(in srgb, var(--color-primary) 50%, transparent); }
.theme-form-field textarea { resize: none; }
.theme-form-actions { display: flex; justify-content: flex-end; }
.theme-modal-success { text-align: center; padding-block: 2rem; }
.theme-modal-success-icon { width: 3.5rem; height: 3.5rem; border-radius: 999px; background: var(--color-primary); color: var(--color-button-text); display: flex; align-items: center; justify-content: center; margin: 0 auto 1rem; }
.theme-modal-success h3 { font-size: 1.25rem; margin-bottom: 0.5rem; }
.theme-modal-success p { font-size: 0.875rem; color: var(--color-muted-foreground); }

/* ==========================================================================
   17. SINGLE PRODUCT PAGE
   ========================================================================== */
.single-product-wrap { padding-block: 1.5rem 6rem; }
@media (min-width: 1024px) { .single-product-wrap { padding-block: 2rem 6rem; } }
.theme-product-breadcrumb {
	display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem;
	padding-block: 1.5rem; font-family: var(--font-body); font-size: 13px;
	letter-spacing: 0.2em; text-transform: uppercase; color: var(--color-muted-foreground);
}
.theme-product-breadcrumb a { transition: color 0.2s ease; }
.theme-product-breadcrumb a:hover { color: var(--color-foreground); }
.theme-product-breadcrumb-sep { opacity: 0.5; }
.theme-product-breadcrumb-current { color: var(--color-foreground); }
.theme-product-layout { display: grid; grid-template-columns: 1fr; gap: 2.5rem; min-width: 0; align-items: start; padding-bottom: 6rem; padding-top: 1rem; }
@media (min-width: 1024px) {
	.theme-product-layout { grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 4rem; }
	.theme-product-gallery { grid-column: span 7; }
	.theme-product-info { grid-column: span 5; position: sticky; top: 7rem; padding-left: 1rem; }
}
.theme-product-gallery, .theme-product-info { min-width: 0; max-width: 100%; }
.theme-product-gallery-mobile { display: block; }
.theme-product-gallery-desktop { display: none; }
@media (min-width: 1024px) {
	.theme-product-gallery-mobile { display: none; }
	.theme-product-gallery-desktop { display: flex; flex-direction: column; gap: 1rem; }
}
.theme-product-main-image-wrap { position: relative; overflow: hidden; background: var(--color-secondary); }
.theme-product-main-image-wrap--square { aspect-ratio: 1; }
.theme-product-stack-image { position: relative; aspect-ratio: 1; overflow: hidden; background: var(--color-secondary); }
.theme-product-thumbnails { display: flex; gap: 0.75rem; margin-top: 1rem; overflow-x: auto; padding-bottom: 0.25rem; }
.theme-product-thumbnails--mobile { flex-wrap: nowrap; }
.theme-product-thumb {
	width: 5rem; height: 5rem; flex-shrink: 0; overflow: hidden; background: var(--color-secondary);
	border: none; position: relative; opacity: 0.6; transition: opacity 0.2s ease;
}
.theme-product-thumb::after {
	content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 1px;
	background: var(--color-foreground); opacity: 0; transition: opacity 0.2s ease;
}
.theme-product-thumb img { width: 100%; height: 100%; object-fit: cover; }
.theme-product-thumb:hover, .theme-product-thumb.is-active { opacity: 1; }
.theme-product-thumb.is-active::after { opacity: 1; }
.theme-product-cat-label {
	display: block; font-family: var(--font-body); font-size: 13px; letter-spacing: 0.25em;
	text-transform: uppercase; color: var(--color-muted-foreground); margin-bottom: 0.75rem;
}
.theme-product-cats { font-size: 0.75rem; color: var(--color-primary); margin-bottom: 0.5rem; }
.theme-product-cats a { color: var(--color-primary); }
.product-title { font-family: var(--font-display); font-weight: 400; font-size: 1.875rem; line-height: 1.1; margin-bottom: 1.25rem; }
@media (min-width: 768px) { .product-title { font-size: 2.25rem; } }
@media (min-width: 1024px) { .product-title { font-size: 2.75rem; } }
.theme-product-price { font-family: var(--font-display); font-size: 1.5rem; font-weight: 400; margin-bottom: 1.5rem; }
.theme-product-price .woocommerce-Price-amount { font-weight: 400; }
.theme-stock-status--out { color: var(--color-primary); font-size: 0.875rem; margin-bottom: 1rem; }
.theme-product-lead { font-family: var(--font-body); font-size: 1rem; color: var(--color-muted-foreground); line-height: 1.7; margin-bottom: 2rem; }
.theme-product-description { color: var(--color-muted-foreground); line-height: 1.7; margin-bottom: 1.75rem; overflow-wrap: break-word; word-break: break-word; }
.theme-quantity-section { margin-bottom: 1rem; }
.theme-quantity-label {
	font-family: var(--font-body); font-size: 13px; font-weight: 400; letter-spacing: 0.2em;
	text-transform: uppercase; color: var(--color-muted-foreground); margin-bottom: 0.75rem;
}
.theme-add-to-cart-area { display: flex; flex-direction: column; gap: 0; margin-bottom: 0; }
.theme-product-atc-wrap { margin-bottom: 0; }
.theme-quantity-wrapper { display: inline-flex; align-items: center; border: 1px solid var(--color-border); border-radius: var(--radius-md); overflow: hidden; }
.theme-qty-minus, .theme-qty-plus { width: 44px; height: 40px; display: flex; align-items: center; justify-content: center; transition: background-color 0.2s ease; }
.theme-qty-minus:hover, .theme-qty-plus:hover { background: var(--color-secondary); }
.theme-qty-input {
	width: 2.75rem; text-align: center; background: transparent; border: none;
	border-left: 1px solid var(--color-border); border-right: 1px solid var(--color-border);
	height: 40px; -moz-appearance: textfield; color: var(--color-foreground); font-family: var(--font-body); font-size: 0.875rem;
}
.theme-qty-input::-webkit-outer-spin-button, .theme-qty-input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.theme-product-details h2 { font-size: 1.125rem; margin-bottom: 0.75rem; }
.theme-product-accordions { margin-top: 2.5rem; border-top: 1px solid var(--color-border); }
.theme-accordion { border-bottom: 1px solid var(--color-border); }
.theme-accordion-trigger {
	width: 100%; display: flex; align-items: center; justify-content: space-between;
	padding-block: 1.25rem; font-family: var(--font-body); font-size: 13px; letter-spacing: 0.2em;
	text-transform: uppercase; text-align: left;
}
.theme-accordion-trigger svg { transition: transform 0.2s ease; flex-shrink: 0; }
.theme-accordion.is-open .theme-accordion-trigger svg { transform: rotate(180deg); }
.theme-accordion-panel { padding-bottom: 1.5rem; font-family: var(--font-body); }
.theme-accordion-panel[hidden] { display: none; }
.theme-accordion-description,
.theme-accordion-details,
.theme-accordion-licensing { font-size: 0.9375rem; color: var(--color-muted-foreground); line-height: 1.7; }
.theme-accordion-description p,
.theme-accordion-details p,
.theme-accordion-licensing p { margin-bottom: 0.75rem; }
.theme-accordion-licensing a { color: var(--color-primary); text-decoration: underline; }
.related-products-section { margin-top: 0; padding-top: 5rem; border-top: 1px solid var(--color-border); }
.theme-related-heading { text-align: center; margin-bottom: 3rem; }
.theme-related-eyebrow { font-family: var(--font-display); font-style: italic; font-size: 1rem; color: var(--color-muted-foreground); margin-bottom: 0.5rem; }
.theme-related-title { font-family: var(--font-display); font-weight: 400; font-size: 1.875rem; line-height: 1.2; }
@media (min-width: 768px) { .theme-related-title { font-size: 2.25rem; } }
.woocommerce-product-details__short-description, .woocommerce-variation-description, .posted_in {
	overflow-wrap: break-word; word-break: break-word; color: var(--color-muted-foreground); line-height: 1.7;
}

/* ==========================================================================
   18. WOOCOMMERCE GLOBAL STYLE OVERRIDES (Section 11.4.1, 14)
   ========================================================================== */
.single_add_to_cart_button.button,
.add_to_cart_button.button,
a.single_add_to_cart_button,
a.add_to_cart_button {
	background-color: var(--color-primary) !important;
	color: var(--color-button-text) !important;
	border: none !important;
	border-radius: var(--btn-radius) !important;
	min-height: var(--btn-height) !important;
	padding: var(--btn-padding) !important;
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;
	font-family: var(--font-body) !important;
	font-size: var(--btn-font-size) !important;
	font-weight: var(--btn-font-weight) !important;
	letter-spacing: var(--btn-letter-spacing) !important;
	text-transform: var(--btn-text-transform) !important;
	cursor: pointer !important;
	transition: opacity 0.2s ease !important;
}
.single_add_to_cart_button.button:hover,
.add_to_cart_button.button:hover {
	opacity: 0.85 !important;
	background-color: var(--color-primary) !important;
	color: var(--color-button-text) !important;
}
.single_add_to_cart_button.button:disabled,
.single_add_to_cart_button.button.disabled,
.add_to_cart_button.button:disabled,
.add_to_cart_button.button.disabled {
	cursor: not-allowed !important;
	opacity: 0.4 !important;
	pointer-events: none !important;
}
.single_add_to_cart_button.button:disabled:hover,
.single_add_to_cart_button.button.disabled:hover,
.add_to_cart_button.button:disabled:hover,
.add_to_cart_button.button.disabled:hover {
	opacity: 0.4 !important;
	background-color: var(--color-primary) !important;
}
.theme-product-card .add_to_cart_button.ajax_add_to_cart {
	min-height: unset !important;
	padding: var(--btn-icon-padding) !important;
	border-radius: 50% !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; }

.single-product .single_add_to_cart_button.loading::after,
.ajax_add_to_cart.loading::after { display: none !important; }
.ajax_add_to_cart.theme-btn-loading { opacity: 0.6 !important; pointer-events: none !important; cursor: wait !important; }

/* Notices — scoped visibility (Section 14.1) */
.single-product .woocommerce-message,
.single-product .woocommerce-info,
#theme-cart-drawer .woocommerce-message { display: none; }
.woocommerce-message, .woocommerce-error, .woocommerce-info {
	background: var(--color-card); border: 1px solid var(--color-border); border-left: 3px solid var(--color-primary);
	color: var(--color-foreground); border-radius: var(--radius-sm); padding: 1rem 1.25rem; margin-bottom: 1.5rem; list-style: none; font-size: 0.875rem;
}
.woocommerce-error { border-left-color: #e03d3d; }

/* Variation attribute pills (table markup removed) */
.theme-attr-select-hidden { position: absolute !important; width: 1px !important; height: 1px !important; overflow: hidden !important; clip: rect(0, 0, 0, 0) !important; white-space: nowrap !important; border: 0 !important; padding: 0 !important; margin: -1px !important; }
.theme-variations { display: flex; flex-direction: column; gap: 1.5rem; margin-bottom: 1.5rem; }
.theme-variation-label {
	font-family: var(--font-body); font-size: 13px; font-weight: 400; letter-spacing: 0.2em;
	text-transform: uppercase; color: var(--color-muted-foreground); margin-bottom: 0.75rem;
}
.theme-variation-pills { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.theme-variation-pill {
	padding: 0.5rem 1rem; border-radius: 999px; font-family: var(--font-body); font-size: 0.8125rem;
	border: 1px solid var(--color-border); color: var(--color-muted-foreground); background: transparent;
	min-height: 40px; transition: color 0.2s ease, border-color 0.2s ease, background-color 0.2s ease;
}
.theme-variation-pill:hover { border-color: var(--color-primary); color: var(--color-foreground); }
.theme-variation-pill.is-active { background: var(--color-primary); color: var(--color-button-text); border-color: var(--color-primary); }
.single_variation_wrap .woocommerce-variation { margin-bottom: 0.5rem; }
.single_variation_wrap .woocommerce-variation-price { font-family: var(--font-display); font-size: 1.25rem; margin-bottom: 1rem; }
/* Hide any legacy WC-injected quantity/button duplicates */
.variations_form .woocommerce-variation-add-to-cart { display: none !important; }
.theme-product-atc.single_add_to_cart_button,
a.theme-product-atc.single_add_to_cart_button {
	width: 100% !important; border-radius: var(--radius-md) !important; min-height: 3.5rem !important;
	font-size: 0.75rem !important; letter-spacing: 0.25em !important; text-transform: uppercase !important;
	font-weight: 500 !important; margin-top: 0.25rem;
}
.theme-product-atc.single_add_to_cart_button:not(:disabled):not(.disabled):hover { opacity: 0.9 !important; }

/* ==========================================================================
   19. CHECKOUT / CART / ACCOUNT / THANK YOU (Section 13, 22.8, 13.7)
   ========================================================================== */
body.woocommerce-checkout .site-main,
body.woocommerce-cart .site-main,
body.woocommerce-account .site-main {
	padding-top: calc(var(--header-height) - 16px);
	padding-bottom: 4rem;
}
body.woocommerce-checkout .page-title,
body.woocommerce-cart .page-title,
body.woocommerce-account .page-title,
body.theme-thankyou-page .page-title { margin-bottom: 2rem; font-family: var(--font-display); font-weight: 700; font-size: 2rem; }

body.woocommerce-checkout .wc-block-checkout,
body.woocommerce-checkout .wc-block-cart,
body.woocommerce-checkout .entry-content {
	font-family: var(--font-body);
	color: var(--color-foreground);
}

/* Flat 2-column checkout — stable flex layout (avoids nested grid flicker) */
body.woocommerce-checkout .wc-block-checkout,
body.woocommerce-checkout .wc-block-components-sidebar-layout.wc-block-checkout {
	transition: none !important;
}
@media (min-width: 1024px) {
	body.woocommerce-checkout .wc-block-checkout.is-large,
	body.woocommerce-checkout .wc-block-components-sidebar-layout.wc-block-checkout.is-large {
		display: flex !important;
		flex-direction: row !important;
		flex-wrap: nowrap !important;
		align-items: flex-start !important;
		gap: var(--checkout-gap) !important;
		width: 100% !important;
		max-width: none !important;
	}
	body.woocommerce-checkout .wc-block-checkout.is-large .wc-block-components-sidebar-layout,
	body.woocommerce-checkout .wc-block-components-sidebar-layout.wc-block-checkout.is-large {
		display: flex !important;
		flex-direction: row !important;
		flex: 1 1 100% !important;
		flex-wrap: nowrap !important;
		align-items: flex-start !important;
		gap: var(--checkout-gap) !important;
		width: 100% !important;
		max-width: none !important;
		grid-template-columns: none !important;
	}
	body.woocommerce-checkout .wc-block-checkout__sidebar,
	body.woocommerce-checkout .wc-block-checkout__main {
		flex: 1 1 0 !important;
		width: 50% !important;
		max-width: none !important;
		min-width: 0 !important;
		display: block !important;
		float: none !important;
		position: static !important;
	}
	body.woocommerce-checkout .wc-block-checkout__sidebar .wc-block-components-order-summary,
	body.woocommerce-checkout .wc-block-checkout__sidebar .wp-block-woocommerce-checkout-order-summary-block,
	body.woocommerce-checkout .wc-block-checkout__sidebar .wc-block-components-totals-wrapper {
		display: block !important;
		width: 100% !important;
		max-width: none !important;
	}
	body.woocommerce-checkout .wc-block-components-sidebar-layout .wc-block-components-main {
		width: 100% !important;
		max-width: none !important;
		flex: 1 1 0 !important;
	}
}

body.woocommerce-checkout .wc-block-checkout__main,
body.woocommerce-checkout .wc-block-checkout__sidebar {
	min-width: 0 !important;
	width: 100% !important;
	max-width: none !important;
}

/* Checkout form inputs — Lovable parity (padding left to WC defaults) */
body.woocommerce-checkout .wc-block-components-text-input input,
body.woocommerce-checkout .wc-block-components-text-input.is-active input,
body.woocommerce-checkout .wc-block-components-combobox .wc-block-components-combobox-control input,
body.woocommerce-checkout .wc-block-components-select select,
body.woocommerce-checkout .wc-block-components-country-input select,
body.woocommerce-checkout .wc-block-components-state-input select,
body.woocommerce-checkout .wc-block-components-textarea textarea,
body.woocommerce-checkout select,
body.woocommerce-checkout input[type="text"],
body.woocommerce-checkout input[type="email"],
body.woocommerce-checkout input[type="tel"],
body.woocommerce-checkout input[type="number"],
body.woocommerce-checkout textarea {
	background-color: var(--color-background) !important;
	border: 1px solid var(--color-border) !important;
	border-radius: var(--radius-md) !important;
	color: var(--color-foreground) !important;
	font-family: var(--font-body) !important;
	font-size: 1rem !important;
	font-weight: 400 !important;
	line-height: 1.5 !important;
	box-shadow: none !important;
	width: 100% !important;
	max-width: none !important;
	-webkit-appearance: none !important;
	appearance: none !important;
}
body.woocommerce-checkout .wc-block-components-text-input input:focus,
body.woocommerce-checkout .wc-block-components-combobox .wc-block-components-combobox-control input:focus,
body.woocommerce-checkout .wc-block-components-select select:focus,
body.woocommerce-checkout .wc-block-components-country-input select:focus,
body.woocommerce-checkout .wc-block-components-state-input select:focus,
body.woocommerce-checkout .wc-block-components-textarea textarea:focus,
body.woocommerce-checkout select:focus,
body.woocommerce-checkout input:focus,
body.woocommerce-checkout textarea:focus {
	outline: none !important;
	border-color: var(--color-primary) !important;
	box-shadow: 0 0 0 1px var(--color-primary) !important;
}
body.woocommerce-checkout .wc-block-components-text-input input::placeholder,
body.woocommerce-checkout .wc-block-components-textarea textarea::placeholder {
	color: var(--color-muted-foreground) !important;
	opacity: 1 !important;
}
body.woocommerce-checkout .wc-block-components-text-input label,
body.woocommerce-checkout .wc-block-components-select label,
body.woocommerce-checkout .wc-block-components-textarea label {
	font-family: var(--font-body) !important;
	color: var(--color-foreground) !important;
}

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

body.woocommerce-checkout .wc-block-checkout__sidebar,
body.woocommerce-cart .wc-block-cart__totals-title {
	background-color: transparent !important;
	border-radius: 0 !important;
	padding: 0 !important;
}

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-overview {
	display: flex; flex-wrap: wrap; gap: 1.5rem; list-style: none; padding: 1.5rem; margin: 0 0 2rem;
	background: var(--color-card); border-radius: var(--radius-md); border: 1px solid var(--color-border);
}
body.theme-thankyou-page .woocommerce-order-overview li { font-size: 0.875rem; }
body.theme-thankyou-page .woocommerce-order h2,
body.theme-thankyou-page .woocommerce-order-details__title { font-size: 1.375rem; padding: 0 0 1rem 0; }
body.theme-thankyou-page .woocommerce-order-details table { width: 100%; table-layout: fixed; border-collapse: collapse; margin-bottom: 2rem; }
body.theme-thankyou-page .woocommerce-order-details table th,
body.theme-thankyou-page .woocommerce-order-details table td { padding: 0.75rem; border-bottom: 1px solid var(--color-border); font-size: 0.875rem; }
body.theme-thankyou-page .woocommerce-order-details tfoot th { text-align: left; }
body.theme-thankyou-page .woocommerce-order-details tfoot td { text-align: right; }
@media (min-width: 768px) {
	body.theme-thankyou-page .woocommerce-customer-details {
		display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; align-items: start;
	}
}
body.theme-thankyou-page .woocommerce-customer-details address { min-width: 0; border: 1px solid var(--color-border); border-radius: var(--radius-sm); padding: 1.25rem; font-style: normal; color: var(--color-muted-foreground); }

/* ==========================================================================
   20. MISC PAGES
   ========================================================================== */
.theme-page-wrap { padding-block: 4rem; min-height: 40vh; }
body.theme-no-hero .theme-page-wrap { padding-top: calc(var(--header-height) + 1rem); }
.page-title { font-size: 2rem; margin-bottom: 2rem; }
.entry-content { color: var(--color-muted-foreground); line-height: 1.7; }
.entry-content h2, .entry-content h3 { color: var(--color-foreground); margin-top: 1.5rem; margin-bottom: 0.75rem; }

.theme-404-wrap { min-height: 100vh; display: flex; align-items: center; justify-content: center; background: var(--color-muted); }
.theme-404-inner { text-align: center; }
.theme-404-code { font-size: 2.25rem; font-weight: 700; margin-bottom: 1rem; color: var(--color-foreground); }
.theme-404-text { font-size: 1.25rem; margin-bottom: 1rem; color: var(--color-muted-foreground); }
.theme-404-link { color: var(--color-primary); text-decoration: underline; }
.theme-404-link:hover { color: color-mix(in srgb, var(--color-primary) 90%, transparent); }

/* Media control (Customizer admin) reuses classes defined in customizer-controls.css */
