/*
 * Paper Sack Publishing — theme.css
 * Ported 1:1 from the source design's Tailwind/shadcn design tokens.
 * Color tokens are emitted live by PHP (Section 22.9); the values
 * below are load-time fallbacks using the same HSL -> hex pipeline
 * (Section 6.1).
 */

:root {
	--color-background: #f5f1ea;
	--color-foreground: #231e1a;
	--color-card: #ece5da;
	--color-primary: #255056;
	--color-primary-foreground: #faf8f4;
	--color-secondary: #eae2d7;
	--color-secondary-foreground: #3e291d;
	--color-muted: #d5ccc3;
	--color-muted-foreground: #5f4e45;
	--color-accent: #d59320;
	--color-border: #d1c7bd;
	--color-destructive: #c32222;
	--color-rosa: #772c31;
	--color-marigold: #ce871c;
	--color-teal: #255056;
	--color-butter: #ebe2d6;
	--color-surface-deep: #251d18;
	--color-surface-deep-foreground: #f1ece4;
	--color-button-text: var(--color-primary-foreground);

	--font-display: 'Fraunces', Georgia, serif;
	--font-body: 'Karla', system-ui, sans-serif;

	--radius: 0.25rem;
	--btn-radius: 9999px;
	--btn-height: 3.25rem;
	--btn-padding: 1.1rem 2.4rem;
	--btn-font-size: 12px;
	--btn-font-weight: 500;
	--btn-letter-spacing: 0.28em;
	--btn-text-transform: uppercase;
	--btn-icon-padding: 0.5rem;

	--shadow-soft: 0 4px 20px -4px rgba(24, 20, 12, 0.10);
	--shadow-elevated: 0 8px 40px -8px rgba(24, 20, 12, 0.22);
	--transition-smooth: cubic-bezier(0.4, 0, 0.2, 1);
	--header-height: 80px;
	--logo-height: 64px;
	--checkout-gap: 2rem;
}
@media (min-width: 1024px) {
	:root { --checkout-gap: 4rem; }
}
@media (min-width: 768px) and (max-width: 1023px) {
	:root { --checkout-gap: 3rem; }
}

/* ============ RESET / BASE ============ */
*, *::before, *::after { box-sizing: border-box; }
html, body { max-width: 100%; overflow-x: clip; }
body {
	margin: 0;
	background: var(--color-background);
	color: var(--color-foreground);
	font-family: var(--font-body);
	-webkit-font-smoothing: antialiased;
	line-height: 1.5;
}
img { max-width: 100%; display: block; }
img:not(.cover-img):not(.hero-bg-img):not(.tile-image):not(.comingsoon-image):not(.publisher-image):not(.testimonials-bg):not(.theme-product-card__image):not(.theme-cart-item-image):not(.site-logo-img):not(.footer-logo-img) {
	max-width: 100%;
	height: auto;
}
.cover-img, .hero-bg-img, .tile-image, .comingsoon-image, .publisher-image, .testimonials-bg,
.theme-product-card__image, .theme-cart-item-image {
	position: absolute; inset: 0;
	width: 100%; height: 100%;
	object-fit: cover;
}
h1, h2, h3, h4, h5, h6 {
	font-family: var(--font-display);
	font-weight: inherit;
	font-size: inherit;
	letter-spacing: -0.015em;
	margin: 0;
}
p { margin: 0; }
a { color: inherit; text-decoration: none; transition: color 0.2s ease; }
button { font-family: inherit; background: none; border: none; cursor: pointer; color: inherit; transition: color 0.2s ease, background-color 0.2s ease, transform 0.15s ease; }
button:active { transform: scale(0.98); }
ul { list-style: none; margin: 0; padding: 0; }
input, textarea, select { font-family: inherit; font-size: 1rem; }

.container-wide { width: 100%; max-width: 80rem; margin: 0 auto; padding: 0 1.5rem; }
@media (min-width: 1024px) { .container-wide { padding: 0 2rem; } }
.section-pad { padding-top: 4rem; padding-bottom: 4rem; }
@media (min-width: 768px) { .section-pad { padding-top: 5rem; padding-bottom: 6rem; } }
.section-pad-shop { padding-top: 4rem; padding-bottom: 4rem; }
@media (min-width: 768px) { .section-pad-shop { padding-top: 6rem; padding-bottom: 6rem; } }
.text-center { text-align: center; }
.scroll-mt { scroll-margin-top: 6rem; }
.icon-xxs svg, svg.icon-xxs { width: 0.7rem; height: 0.7rem; }
.icon-xs, .icon-xs svg { width: 1rem; height: 1rem; }
.icon-sm, .icon-sm svg { width: 1.25rem; height: 1.25rem; }
.icon-md, .icon-md svg { width: 1.25rem; height: 1.25rem; }
.icon-lg, .icon-lg svg { width: 3rem; height: 3rem; }

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

.hover-lift { transition: transform 0.3s ease, box-shadow 0.3s ease; }
.hover-lift:hover { transform: translateY(-4px); box-shadow: var(--shadow-elevated); }
.press:active { transform: scale(0.98); }

.theme-kicker {
	display: block; font-size: 12px; letter-spacing: 0.32em; text-transform: uppercase;
	font-family: var(--font-body); color: var(--color-rosa); margin-bottom: 0.75rem;
}
.theme-kicker.accent-marigold { color: var(--color-marigold); }
.theme-kicker.accent-teal { color: var(--color-teal); }
.theme-kicker.accent-rosa { color: var(--color-rosa); }
.theme-kicker.is-semibold { font-weight: 600; }
.about-kicker { margin-bottom: 1.25rem; }
.accent-marigold { color: var(--color-marigold); }
.accent-rosa { color: var(--color-rosa); }
.accent-teal { color: var(--color-teal); }
.accent-border-marigold { border-color: color-mix(in srgb, var(--color-marigold) 50%, transparent); }
.accent-border-rosa { border-color: color-mix(in srgb, var(--color-rosa) 40%, transparent); }
.accent-border-teal { border-color: color-mix(in srgb, var(--color-teal) 40%, transparent); }

.section-heading { font-weight: 400; line-height: 1.05; letter-spacing: -0.025em; }

.btn-hero-primary, .btn-hero-outline, .btn-comingsoon-primary, .btn-contact-primary, .btn-primary, .btn-outline {
	display: inline-flex; align-items: center; justify-content: center;
	font-family: var(--font-display); font-weight: var(--btn-font-weight);
	font-size: var(--btn-font-size); letter-spacing: var(--btn-letter-spacing);
	text-transform: var(--btn-text-transform); transition: opacity 0.2s ease, background-color 0.2s ease;
	white-space: nowrap;
}
.btn-hero-primary {
	background: var(--color-background); color: var(--color-foreground);
	padding: 1.25rem 2.5rem;
}
.btn-hero-primary:hover { background: color-mix(in srgb, var(--color-background) 90%, transparent); }
.btn-hero-outline {
	border: 1px solid color-mix(in srgb, var(--color-background) 70%, transparent);
	color: var(--color-background); padding: 1.1rem 2.5rem; background: transparent;
}
.btn-hero-outline:hover { background: color-mix(in srgb, var(--color-background) 10%, transparent); }
.btn-comingsoon-primary {
	background: var(--color-marigold); color: var(--color-foreground);
	padding: 1rem 2.25rem;
}
.btn-comingsoon-primary:hover { background: color-mix(in srgb, var(--color-marigold) 90%, transparent); }
.btn-contact-primary {
	background: var(--color-foreground); color: var(--color-background);
	padding: 1rem 2.25rem;
}
.btn-contact-primary:hover { background: color-mix(in srgb, var(--color-foreground) 90%, transparent); }
.btn-modal-primary {
	display: inline-flex; align-items: center; justify-content: center;
	background: var(--color-primary); color: var(--color-primary-foreground);
	padding: 0.65rem 1.5rem; border-radius: var(--radius);
	font-family: var(--font-display); font-size: 0.875rem; font-weight: 500;
	transition: background-color 0.2s ease, opacity 0.2s ease;
}
.btn-modal-primary:hover { background: color-mix(in srgb, var(--color-primary) 90%, transparent); }
.btn-modal-primary:disabled { opacity: 0.5; cursor: not-allowed; }
.btn-primary {
	background: var(--color-foreground); color: var(--color-background);
	padding: 1rem 1.5rem; border-radius: 9999px; width: 100%;
}
.btn-primary:hover { background: color-mix(in srgb, var(--color-foreground) 90%, transparent); }
.btn-outline {
	border: 1px solid var(--color-border); background: transparent; color: var(--color-foreground);
	padding: 0.6rem 1.5rem; border-radius: var(--radius); width: 100%;
	display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
	font-family: var(--font-body); text-transform: none; letter-spacing: normal; font-size: 0.875rem;
}

/* ============ ANIMATIONS ============ */
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes slideUp { from { opacity: 0; transform: translateY(20px);} to { opacity: 1; transform: translateY(0);} }
.animate-fade-in { animation: fadeIn 0.6s var(--transition-smooth) forwards; }
.animate-slide-up { animation: slideUp 0.4s var(--transition-smooth) forwards; }

.reveal, .reveal-item {
	opacity: 0; transform: translateY(24px);
	transition: opacity 0.7s var(--transition-smooth), transform 0.7s var(--transition-smooth);
}
.reveal.is-visible, .reveal-item.is-visible { opacity: 1; transform: none; }
body.is-customizer .reveal,
body.is-customizer .reveal-item { opacity: 1 !important; transform: none !important; }
@media (prefers-reduced-motion: reduce) {
	.reveal, .reveal-item, .reveal.is-visible, .reveal-item.is-visible {
		opacity: 1; transform: none; transition: none;
	}
}

/* ============ ANNOUNCEMENT BAR ============ */
.theme-announcement-bar { position: relative; background: var(--color-foreground); color: var(--color-background); }
.theme-announcement-inner { padding: 0.5rem 0; text-align: center; }
.theme-announcement-text { font-size: 13px; letter-spacing: 0.18em; text-transform: uppercase; font-family: var(--font-body); }
.theme-announcement-dismiss {
	position: absolute; right: 0.75rem; top: 50%; transform: translateY(-50%);
	padding: 0.25rem; opacity: 0.7; color: inherit;
}
.theme-announcement-dismiss:hover { opacity: 1; }
.theme-announcement-bar.is-dismissed { display: none; }

.theme-scroll-progress {
	position: fixed; top: 0; left: 0; right: 0; height: 3px; z-index: 60;
	background: var(--color-primary); transform-origin: left; transform: scaleX(0);
	transition: transform 0.1s linear;
}

/* ============ HEADER ============ */
.site-header {
	position: sticky; top: 0; left: 0; right: 0; z-index: 50;
	background: var(--color-background);
	border-bottom: 1px solid transparent;
	transition: background-color 0.3s ease, border-color 0.3s ease, backdrop-filter 0.3s ease;
}
.site-header.is-scrolled, .site-header.is-menu-open {
	background: color-mix(in srgb, var(--color-background) 95%, transparent);
	backdrop-filter: blur(6px);
	border-bottom-color: var(--color-border);
}
.site-nav { display: flex; align-items: center; justify-content: space-between; height: 5rem; position: relative; }
.site-logo-link { display: flex; align-items: center; height: 3rem; }
@media (min-width: 768px) { .site-logo-link { height: var(--logo-height); } }
.site-logo-img-wrap {
	display: flex; align-items: center; height: 100%;
}
.site-logo-img { height: 100% !important; width: auto; max-width: none; object-fit: contain; transition: transform 0.3s ease; }
.site-logo-link:hover .site-logo-img { transform: scale(1.05); }
.site-logo-text { font-family: var(--font-display); font-size: 1.25rem; font-weight: 600; line-height: 1; }

.site-nav-center { display: none; }
@media (min-width: 1024px) {
	.site-nav-center { display: flex; align-items: center; gap: 2rem; position: absolute; left: 50%; transform: translateX(-50%); }
}
.theme-nav-list { display: flex; align-items: center; gap: 2rem; }
.theme-nav-link {
	font-family: var(--font-display); font-weight: 500; font-size: 12px;
	letter-spacing: 0.2em; text-transform: uppercase; cursor: pointer;
}
.theme-nav-link:hover { color: var(--color-muted-foreground); }

.site-nav-icons { display: flex; align-items: center; gap: 0.5rem; }
@media (min-width: 768px) { .site-nav-icons { gap: 0.75rem; } }
.icon-btn { position: relative; padding: 0.5rem; display: inline-flex; align-items: center; justify-content: center; transition: transform 0.2s ease, opacity 0.2s ease; }
.icon-btn:hover { opacity: 0.6; transform: scale(1.1); }
.icon-btn:active { transform: scale(0.98); }
.site-search-btn { display: none; }
@media (min-width: 768px) { .site-search-btn { display: inline-flex; } }
.mobile-menu-btn { display: inline-flex; }
@media (min-width: 1024px) { .mobile-menu-btn { display: none; } }

.theme-cart-count {
	position: absolute; top: -2px; right: -2px; width: 1.25rem; height: 1.25rem;
	display: flex; align-items: center; justify-content: center; font-size: 12px; font-weight: 500;
	background: var(--color-primary); color: var(--color-primary-foreground); border-radius: 9999px;
}
.theme-cart-count:empty { display: none; }

.mobile-menu-panel { border-top: 1px solid var(--color-border); padding: 1rem 0; }
.mobile-menu-panel { display: none; padding: 1rem 0 1.5rem; border-top: 1px solid var(--color-border); }
.mobile-menu-panel.is-open { display: block; animation: fadeIn 0.25s ease forwards; }
.mobile-nav-list { display: flex; flex-direction: column; gap: 1rem; }
.mobile-nav-list a, .mobile-nav-list .theme-nav-link {
	display: block; text-align: left; font-size: 0.875rem; font-family: var(--font-display);
	letter-spacing: 0.18em; text-transform: uppercase; padding: 0.5rem 0;
}
.mobile-nav-list a:hover { color: var(--color-muted-foreground); }

/* ============ HERO ============ */
.hero-section { background: var(--color-background); }
.hero-media { position: relative; width: 100%; min-height: 100vh; overflow: hidden; }
.hero-bg-img--desktop { display: none; }
.hero-bg-img--mobile { display: block; }
@media (min-width: 768px) {
	.hero-bg-img--desktop { display: block; }
	.hero-bg-img--mobile { display: none; }
}
.hero-gradient {
	position: absolute; inset: 0;
	background: linear-gradient(to right, color-mix(in srgb, var(--color-foreground) 70%, transparent), color-mix(in srgb, var(--color-foreground) 35%, transparent) 55%, transparent);
}
.hero-inner { position: relative; min-height: 100vh; display: flex; align-items: center; padding: 6rem 1.5rem; }
@media (min-width: 1024px) { .hero-inner { padding-left: 2rem; padding-right: 2rem; } }
.hero-copy { max-width: 36rem; }
.hero-kicker {
	display: block; font-size: 12px; letter-spacing: 0.32em; text-transform: uppercase;
	color: color-mix(in srgb, var(--color-background) 80%, transparent); margin-bottom: 1.25rem;
}
.hero-title {
	font-family: var(--font-display); font-weight: 400; color: var(--color-background);
	font-size: 2.25rem; line-height: 1.05; margin-bottom: 1.5rem;
}
@media (min-width: 640px) { .hero-title { font-size: 3rem; } }
@media (min-width: 768px) { .hero-title { font-size: 3.75rem; } }
@media (min-width: 1280px) { .hero-title { font-size: 4.5rem; } }
.hero-title-italic { display: block; font-style: italic; }
.hero-subtitle {
	color: color-mix(in srgb, var(--color-background) 90%, transparent);
	font-size: 1rem; line-height: 1.7; margin-bottom: 2.5rem; max-width: 28rem;
}
@media (min-width: 768px) { .hero-subtitle { font-size: 1.125rem; } }
.hero-ctas { display: flex; flex-direction: column; gap: 1rem; }
@media (min-width: 640px) { .hero-ctas { flex-direction: row; } }

/* ============ IMPRINT TILES ============ */
.section-pad-imprints { padding-top: 4rem; padding-bottom: 4rem; }
@media (min-width: 768px) { .section-pad-imprints { padding-top: 5rem; padding-bottom: 5rem; } }
.imprints-section-heading { font-size: 1.875rem; }
@media (min-width: 768px) { .imprints-section-heading { font-size: 2.25rem; } }
.section-heading-block { margin-bottom: 2.5rem; }
.tiles-grid { display: grid; grid-template-columns: 1fr; gap: 1rem; }
@media (min-width: 640px) { .tiles-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .tiles-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.5rem; } }
.tile-card { position: relative; display: block; aspect-ratio: 3 / 4; overflow: hidden; }
.tile-image { transition: transform 0.7s var(--transition-smooth); }
.tile-card:hover .tile-image { transform: scale(1.05); }
.tile-gradient {
	position: absolute; inset: 0;
	background: linear-gradient(to top, color-mix(in srgb, var(--color-foreground) 85%, transparent), color-mix(in srgb, var(--color-foreground) 40%, transparent) 60%, color-mix(in srgb, var(--color-foreground) 10%, transparent));
	transition: background 0.5s ease;
}
.tile-card:hover .tile-gradient { background: linear-gradient(to top, color-mix(in srgb, var(--color-foreground) 90%, transparent), color-mix(in srgb, var(--color-foreground) 40%, transparent) 60%, color-mix(in srgb, var(--color-foreground) 10%, transparent)); }
.tile-content { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: flex-end; padding: 1.5rem; color: var(--color-background); text-shadow: 0 1px 8px rgba(0,0,0,0.45); }
@media (min-width: 768px) { .tile-content { padding: 1.75rem; } }
.tile-tagline { display: inline-flex; align-items: center; gap: 0.5rem; font-size: 12px; letter-spacing: 0.3em; text-transform: uppercase; margin-bottom: 0.5rem; filter: brightness(1.5); }
.tile-tagline.accent-marigold { color: var(--color-marigold); }
.tile-tagline.accent-rosa { color: var(--color-rosa); }
.tile-tagline.accent-teal { color: var(--color-teal); }
.tile-tagline-rule { height: 1px; width: 1.5rem; background: currentColor; }
.tile-title { font-size: 1.5rem; font-weight: 400; margin-bottom: 0.5rem; color: var(--color-background); }
@media (min-width: 768px) { .tile-title { font-size: 1.875rem; } }
.tile-cta { display: inline-flex; align-items: center; gap: 0.35rem; font-size: 12px; letter-spacing: 0.22em; text-transform: uppercase; }

/* ============ SHOP / CATALOG ============ */
.shop-heading { font-size: 1.875rem; margin-bottom: 2.5rem; }
@media (min-width: 768px) { .shop-heading { font-size: 3rem; } }
.shop-header { max-width: 100%; }
.shop-search { position: relative; max-width: 28rem; margin: 0 auto 2rem; }
.shop-search-icon { position: absolute; left: 0; top: 50%; transform: translateY(-50%); color: var(--color-muted-foreground); }
.shop-search-input {
	width: 100%; padding: 0.5rem 0 0.5rem 1.75rem; background: transparent;
	border: none; border-bottom: 1px solid var(--color-border);
	font-size: 0.875rem; font-family: var(--font-body); color: var(--color-foreground);
	transition: border-color 0.2s ease;
}
.shop-search-input:focus { outline: none; border-color: var(--color-foreground); }
.shop-category-pills { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.5rem; margin-bottom: 1rem; }
.shop-pill {
	padding: 0.5rem 1.25rem; font-size: 12px; letter-spacing: 0.2em; text-transform: uppercase;
	font-family: var(--font-body); border-radius: 9999px; border: 1px solid var(--color-border);
	background: transparent; color: var(--color-foreground); transition: all 0.3s ease;
}
.shop-pill:hover { border-color: var(--color-teal); color: var(--color-teal); }
.shop-pill.is-active { background: var(--color-teal); color: var(--color-primary-foreground); border-color: var(--color-teal); }
.shop-price-filter-wrap { display: flex; flex-direction: column; align-items: center; gap: 0.75rem; }
.shop-price-filter-toggle {
	display: flex; align-items: center; gap: 0.5rem; padding: 0.5rem 1rem; font-size: 12px;
	letter-spacing: 0.2em; text-transform: uppercase; color: var(--color-muted-foreground);
}
.shop-price-filter-toggle:hover { color: var(--color-foreground); }
.shop-price-filter-current { opacity: 0.7; text-transform: none; letter-spacing: normal; }
.shop-price-chevron { transition: transform 0.3s ease; }
.shop-price-filter-panel { width: 100%; max-width: 24rem; overflow: hidden; max-height: 0; opacity: 0; transition: max-height 0.3s var(--transition-smooth), opacity 0.3s var(--transition-smooth); }
.shop-price-filter-panel.is-open { max-height: 8rem; opacity: 1; }
.shop-price-filter-toggle.is-open .shop-price-chevron { transform: rotate(180deg); }
.price-range-labels { display: flex; justify-content: space-between; font-size: 0.875rem; color: var(--color-muted-foreground); margin-top: 0.5rem; }

.price-range-wrapper { position: relative; height: 1.5rem; margin-top: 0.5rem; }
.range-track-bg, .range-track-fill { position: absolute; height: 4px; top: 50%; transform: translateY(-50%); pointer-events: none; border-radius: 9999px; }
.range-track-bg { left: 0; right: 0; background: var(--color-border); }
.range-track-fill { background: var(--color-primary); }
.range-input { position: absolute; left: 0; top: 0; width: 100%; height: 100%; margin: 0; -webkit-appearance: none; appearance: none; background: transparent; pointer-events: none; }
.range-input::-webkit-slider-thumb { -webkit-appearance: none; pointer-events: auto; width: 18px; height: 18px; border-radius: 50%; background: var(--color-background); border: 2px solid var(--color-primary); cursor: pointer; }
.range-input::-moz-range-thumb { pointer-events: auto; width: 18px; height: 18px; border-radius: 50%; background: var(--color-background); border: 2px solid var(--color-primary); cursor: pointer; }
.range-input::-moz-range-track { background: transparent; }
.range-input--max { z-index: 3; }
.range-input--min { z-index: 4; }

.theme-product-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 1.5rem; align-items: stretch; margin-top: 2.5rem; }
@media (min-width: 768px) { .theme-product-grid { grid-template-columns: repeat(3, minmax(0,1fr)); } }
@media (min-width: 1024px) { .theme-product-grid { grid-template-columns: repeat(4, minmax(0,1fr)); gap: 2rem; } }
.theme-product-card-wrap { display: flex; flex-direction: column; height: 100%; }
.theme-product-card-wrap.is-hidden-by-limit,
.theme-product-card-wrap.is-hidden-by-filter { display: none !important; }
.theme-product-card { position: relative; display: flex; flex-direction: column; flex: 1; }
.theme-product-card > .theme-card-link { position: absolute; inset: 0; z-index: 2; pointer-events: auto; }
.theme-product-card *:not(.theme-card-link) { pointer-events: none; }
.theme-product-card__quick-add,
.theme-product-card__image-wrapper .add_to_cart_button,
.theme-product-card__quick-add--link { pointer-events: auto; }

.theme-product-card__image-wrapper {
	position: relative; aspect-ratio: 3 / 4; background: var(--color-secondary); overflow: hidden; margin-bottom: 1.25rem;
	transition: transform 0.3s ease;
}
.theme-product-card-wrap:hover .theme-product-card__image-wrapper { transform: translateY(-4px); }
.theme-product-card__image { width: 100%; height: 100% !important; max-height: none !important; object-fit: cover; transition: transform 0.7s var(--transition-smooth); }
.theme-product-card:hover .theme-product-card__image { transform: scale(1.04); }
.theme-product-card__image.is-oos { opacity: 0.6; }
.theme-badge {
	position: absolute; top: 0.75rem; left: 0.75rem; padding: 0.25rem 0.75rem; border-radius: 9999px;
	font-size: 12px; font-weight: 500; letter-spacing: 0.18em; text-transform: uppercase; z-index: 3;
}
.theme-badge-oos { background: var(--color-foreground); color: var(--color-background); }
.theme-badge-coming { background: var(--color-marigold); color: var(--color-foreground); }
.theme-product-card__quick-add {
	position: absolute; bottom: 0.75rem; right: 0.75rem; z-index: 3;
	width: 2.5rem; height: 2.5rem; border-radius: 50%; background: var(--color-background); color: var(--color-foreground);
	display: flex; align-items: center; justify-content: center; box-shadow: var(--shadow-soft);
	opacity: 1; transition: opacity 0.3s ease, transform 0.15s ease;
}
@media (min-width: 768px) {
	.theme-product-card__quick-add { opacity: 0; }
}
.theme-product-card:hover .theme-product-card__quick-add { opacity: 1; }
.theme-product-card__quick-add:hover { transform: scale(1.08); }
.theme-product-card__quick-add:active { transform: scale(0.92); }
.theme-product-card__info { text-align: center; margin-top: 1rem; flex: 1; }
.theme-product-card__title {
	font-size: 0.875rem; font-family: var(--font-body); font-weight: 500; text-transform: uppercase;
	letter-spacing: 0.15em; line-height: 1.375; color: var(--color-foreground); transition: color 0.3s ease;
}
@media (min-width: 768px) { .theme-product-card__title { font-size: 1rem; } }
.theme-product-card:hover .theme-product-card__title { color: var(--color-primary); }
.theme-product-card__price { font-size: 1rem; font-family: var(--font-body); margin-top: 0.5rem; color: var(--color-foreground); }
@media (min-width: 768px) { .theme-product-card__price { font-size: 1.125rem; } }
.theme-product-card__price del { color: var(--color-muted-foreground); margin-right: 0.4rem; }
.theme-product-card__price ins { text-decoration: none; }

.shop-empty-message { text-align: center; padding: 5rem 0; color: var(--color-muted-foreground); }
.shop-show-more-wrap { text-align: center; margin-top: 3rem; }
.shop-show-more-btn { font-size: 12px; letter-spacing: 0.22em; text-transform: uppercase; font-family: var(--font-body); }

.theme-archive-header { text-align: center; padding: 3rem 0 1rem; }
.theme-archive-title { font-size: 2.25rem; font-weight: 400; }
.theme-archive-pagination { display: flex; justify-content: center; margin: 3rem 0; }
.theme-archive-pagination .page-numbers { display: inline-flex; gap: 0.5rem; align-items: center; }
.theme-archive-pagination .page-numbers li { display: inline-block; }
.theme-archive-pagination .page-numbers a, .theme-archive-pagination .page-numbers span {
	display: inline-flex; align-items: center; justify-content: center; min-width: 2.5rem; height: 2.5rem;
	border: 1px solid var(--color-border); border-radius: 9999px; font-family: var(--font-body);
}
.theme-archive-pagination .page-numbers .current { background: var(--color-teal); color: var(--color-primary-foreground); border-color: var(--color-teal); }

/* ============ ABOUT ============ */
.about-inner { padding: 5rem 1.5rem; }
@media (min-width: 768px) { .about-inner { padding: 7rem 3.5rem; } }
@media (min-width: 1024px) { .about-inner { padding: 7rem 5rem; } }
.about-content { max-width: 42rem; margin: 0 auto; }
.about-section-heading { font-size: 1.875rem; font-weight: 600; line-height: 1.25; letter-spacing: -0.025em; margin-bottom: 2rem; }
@media (min-width: 768px) { .about-section-heading { font-size: 2.25rem; } }
.about-paragraph { color: color-mix(in srgb, var(--color-foreground) 80%, transparent); line-height: 1.7; margin-bottom: 1.25rem; }
.about-button { font-size: 12px; letter-spacing: 0.28em; text-transform: uppercase; font-family: var(--font-display); font-weight: 500; margin-top: 0.5rem; }

/* ============ PUBLISHER ============ */
.publisher-grid { display: grid; grid-template-columns: 1fr; }
@media (min-width: 1024px) { .publisher-grid { grid-template-columns: repeat(2, 1fr); align-items: stretch; } }
.publisher-media { position: relative; min-height: 380px; }
@media (min-width: 768px) { .publisher-media { min-height: 520px; } }
@media (min-width: 1024px) { .publisher-media { min-height: 620px; } }
.publisher-copy-wrap { display: flex; align-items: center; background: var(--color-background); padding: 4rem 1.5rem; }
@media (min-width: 768px) { .publisher-copy-wrap { padding: 6rem 3.5rem; } }
@media (min-width: 1024px) { .publisher-copy-wrap { padding: 6rem 5rem; } }
@media (min-width: 1280px) { .publisher-copy-wrap { padding: 6rem 6rem; } }
.publisher-copy { max-width: 36rem; }
.publisher-heading { font-size: 2.25rem; font-weight: 400; line-height: 1.25; letter-spacing: -0.025em; margin-bottom: 1.75rem; }
@media (min-width: 768px) { .publisher-heading { font-size: 3rem; } }
@media (min-width: 1024px) { .publisher-heading { font-size: 3.75rem; } }
.publisher-quote { font-family: var(--font-display); font-style: italic; font-size: 1.25rem; line-height: 1.4; color: color-mix(in srgb, var(--color-foreground) 85%, transparent); margin-bottom: 2rem; }
@media (min-width: 768px) { .publisher-quote { font-size: 1.5rem; } }
.publisher-paragraph { color: color-mix(in srgb, var(--color-foreground) 75%, transparent); line-height: 1.7; margin-bottom: 1.25rem; }

/* ============ WHAT WE PUBLISH ============ */
.whatwepublish-section { background: var(--color-butter); }
.whatwepublish-heading-band { padding: 5rem 1.5rem; }
@media (min-width: 768px) { .whatwepublish-heading-band { padding: 7rem 3.5rem; } }
.whatwepublish-section-heading { font-size: 1.875rem; }
@media (min-width: 640px) { .whatwepublish-section-heading { font-size: 2.25rem; } }
@media (min-width: 768px) { .whatwepublish-section-heading { font-size: 3.75rem; } }
@media (min-width: 1024px) { .whatwepublish-section-heading { font-size: 4.5rem; } }
.whatwepublish-step { display: grid; grid-template-columns: 1fr; }
@media (min-width: 1024px) { .whatwepublish-step { grid-template-columns: repeat(2, 1fr); align-items: stretch; } }
.whatwepublish-step-media { position: relative; min-height: 360px; }
@media (min-width: 768px) { .whatwepublish-step-media { min-height: 500px; } }
@media (min-width: 1024px) { .whatwepublish-step-media { min-height: 560px; order: 1; } .whatwepublish-step.is-reversed .whatwepublish-step-media { order: 2; } }
.whatwepublish-step-media img { transition: transform 0.9s var(--transition-smooth); }
.whatwepublish-step:hover .whatwepublish-step-media img { transform: scale(1.03); }
.whatwepublish-step-numeral {
	position: absolute; top: 1.25rem; left: 1.25rem; font-family: var(--font-display); font-size: 0.875rem;
	letter-spacing: 0.3em; padding: 0.25rem 0.5rem; background: color-mix(in srgb, var(--color-background) 85%, transparent);
	backdrop-filter: blur(4px);
}
.whatwepublish-step-copy-wrap { display: flex; align-items: center; background: var(--color-butter); padding: 4rem 1.5rem; }
@media (min-width: 768px) { .whatwepublish-step-copy-wrap { padding: 6rem 3.5rem; } }
@media (min-width: 1024px) { .whatwepublish-step-copy-wrap { padding: 6rem 5rem; order: 2; } .whatwepublish-step.is-reversed .whatwepublish-step-copy-wrap { order: 1; } }
@media (min-width: 1280px) { .whatwepublish-step-copy-wrap { padding: 6rem 6rem; } }
.whatwepublish-step-copy { max-width: 36rem; }
.whatwepublish-step-kicker-row { display: flex; align-items: center; gap: 0.75rem; margin-bottom: 1.25rem; }
.whatwepublish-step-icon { display: flex; height: 2.5rem; width: 2.5rem; align-items: center; justify-content: center; border-radius: 9999px; border: 1px solid; }
.whatwepublish-step-kicker { font-size: 12px; letter-spacing: 0.3em; text-transform: uppercase; }
.whatwepublish-step-title { font-size: 1.875rem; line-height: 1.05; margin-bottom: 1.5rem; }
@media (min-width: 640px) { .whatwepublish-step-title { font-size: 2.25rem; } }
@media (min-width: 768px) { .whatwepublish-step-title { font-size: 3rem; } }
@media (min-width: 1024px) { .whatwepublish-step-title { font-size: 3.75rem; } }
.whatwepublish-step-description { font-size: 1rem; color: var(--color-muted-foreground); line-height: 1.7; margin-bottom: 2rem; }
@media (min-width: 768px) { .whatwepublish-step-description { font-size: 1.125rem; } }

/* ============ COMING SOON ============ */
.comingsoon-section { background: var(--color-surface-deep); color: var(--color-surface-deep-foreground); }
.comingsoon-grid { display: grid; grid-template-columns: 1fr; gap: 3rem; align-items: center; }
@media (min-width: 1024px) { .comingsoon-grid { grid-template-columns: repeat(2, 1fr); gap: 4rem; } }
.comingsoon-copy { order: 2; }
@media (min-width: 1024px) { .comingsoon-copy { order: 1; } }
.comingsoon-media { order: 1; }
@media (min-width: 1024px) { .comingsoon-media { order: 2; } }
.comingsoon-heading { font-size: 1.875rem; line-height: 1.05; margin-bottom: 1.5rem; }
@media (min-width: 640px) { .comingsoon-heading { font-size: 2.25rem; } }
@media (min-width: 768px) { .comingsoon-heading { font-size: 3rem; } }
.comingsoon-subtitle { display: block; font-style: italic; font-size: 1.5rem; margin-top: 0.75rem; }
@media (min-width: 640px) { .comingsoon-subtitle { font-size: 1.875rem; } }
@media (min-width: 768px) { .comingsoon-subtitle { font-size: 2.25rem; } }
.comingsoon-description { color: color-mix(in srgb, var(--color-surface-deep-foreground) 75%, transparent); line-height: 1.7; margin-bottom: 2rem; }
.comingsoon-ctas { display: flex; flex-wrap: wrap; gap: 1rem; align-items: center; }
.comingsoon-secondary-btn { font-size: 12px; letter-spacing: 0.22em; text-transform: uppercase; }
.comingsoon-media { position: relative; }
.comingsoon-image { width: 100%; max-width: 24rem; margin: 0 auto; box-shadow: var(--shadow-elevated); display: block; position: static; }

/* ============ GALLERY ============ */
.gallery-section-pad { padding: 5rem 0; }
@media (min-width: 768px) { .gallery-section-pad { padding: 7rem 0; } }
.gallery-heading-block { margin-bottom: 2.5rem; }
@media (min-width: 768px) { .gallery-heading-block { margin-bottom: 3.5rem; } }
.gallery-section-heading { font-size: 1.875rem; }
@media (min-width: 768px) { .gallery-section-heading { font-size: 3rem; } }
@media (min-width: 1024px) { .gallery-section-heading { font-size: 3.75rem; } }
.gallery-track-wrap { overflow: hidden; }
.gallery-track { display: flex; gap: 1rem; overflow-x: auto; padding-bottom: 0.5rem; padding-left: 1.5rem; padding-right: 1.5rem; scrollbar-width: none; }
.gallery-track::-webkit-scrollbar { display: none; }
@media (min-width: 768px) { .gallery-track { gap: 1.5rem; padding-left: 3rem; padding-right: 3rem; } }
@media (min-width: 1024px) { .gallery-track { padding-left: 4rem; padding-right: 4rem; } }
.gallery-item { flex-shrink: 0; width: 62%; }
@media (min-width: 640px) { .gallery-item { width: 42%; } }
@media (min-width: 768px) { .gallery-item { width: 30%; } }
@media (min-width: 1024px) { .gallery-item { width: 22%; } }
@media (min-width: 1280px) { .gallery-item { width: 18%; } }
.gallery-item-media { position: relative; overflow: hidden; aspect-ratio: 3/4; background: var(--color-secondary); }
.gallery-item-media img { transition: transform 0.9s var(--transition-smooth); }
.gallery-item:hover .gallery-item-media img { transform: scale(1.04); }
.gallery-item-caption { padding-top: 0.75rem; font-size: 12px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--color-muted-foreground); }
.gallery-item-link {
	display: block;
	text-decoration: none;
	color: inherit;
}
.gallery-item-link:focus-visible {
	outline: 2px solid var(--color-primary);
	outline-offset: 4px;
}
.gallery-item-link .gallery-item-caption { display: block; }
.gallery-controls { display: flex; align-items: center; gap: 1rem; margin-top: 2.5rem; }
.gallery-nav-btn {
	height: 3rem; width: 3rem; display: flex; align-items: center; justify-content: center;
	border: 1px solid color-mix(in srgb, var(--color-foreground) 20%, transparent); color: color-mix(in srgb, var(--color-foreground) 70%, transparent);
}
.gallery-nav-btn:hover { color: var(--color-primary); border-color: var(--color-primary); }

/* ============ TESTIMONIALS ============ */
.testimonials-section { position: relative; overflow: hidden; }
.testimonials-bg { position: absolute; inset: 0; }
.testimonials-overlay { position: absolute; inset: 0; background: color-mix(in srgb, var(--color-foreground) 80%, transparent); }
.testimonials-inner { position: relative; padding: 5rem 1.5rem; }
@media (min-width: 768px) { .testimonials-inner { padding: 7rem 1.5rem; } }
@media (min-width: 1024px) { .testimonials-inner { padding-left: 2rem; padding-right: 2rem; } }
.testimonials-heading-block { max-width: 42rem; margin: 0 auto 3rem; }
@media (min-width: 768px) { .testimonials-heading-block { margin-bottom: 4rem; } }
.testimonials-section-heading { font-size: 1.875rem; color: var(--color-background); }
@media (min-width: 768px) { .testimonials-section-heading { font-size: 3rem; } }
@media (min-width: 1024px) { .testimonials-section-heading { font-size: 3.75rem; } }
.testimonials-grid { display: grid; grid-template-columns: 1fr; gap: 1.5rem; }
@media (min-width: 768px) { .testimonials-grid { grid-template-columns: repeat(3, minmax(0,1fr)); gap: 2rem; } }
.testimonial-card {
	background: color-mix(in srgb, var(--color-background) 95%, transparent); backdrop-filter: blur(4px);
	border: 1px solid color-mix(in srgb, var(--color-background) 20%, transparent);
	padding: 2rem; display: flex; flex-direction: column;
}
.testimonial-quote-icon { color: var(--color-marigold); margin-bottom: 1.25rem; }
.testimonial-quote { font-family: var(--font-display); font-style: italic; font-size: 1.125rem; line-height: 1.375; color: color-mix(in srgb, var(--color-foreground) 85%, transparent); margin: 0 0 1.5rem; flex: 1; }
.testimonial-name { display: block; font-family: var(--font-display); font-weight: 600; font-size: 0.875rem; }
.testimonial-role { display: block; font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--color-muted-foreground); margin-top: 0.25rem; }

/* ============ TEAM ============ */
.team-heading-block { max-width: 42rem; margin: 0 auto 3rem; }
@media (min-width: 768px) { .team-heading-block { margin-bottom: 4rem; } }
.team-section-heading { font-size: 1.875rem; }
@media (min-width: 768px) { .team-section-heading { font-size: 3rem; } }
@media (min-width: 1024px) { .team-section-heading { font-size: 3.75rem; } }
.team-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 1.5rem; }
@media (min-width: 1024px) { .team-grid { grid-template-columns: repeat(4, minmax(0,1fr)); gap: 2rem; } }
.team-member-media { position: relative; overflow: hidden; aspect-ratio: 3/4; background: var(--color-secondary); margin-bottom: 1rem; }
.team-member-media img { transition: transform 0.7s ease; }
.team-member:hover .team-member-media img { transform: scale(1.05); }
.team-member-name { font-size: 1rem; font-weight: 600; line-height: 1.2; }
@media (min-width: 768px) { .team-member-name { font-size: 1.125rem; } }
.team-member-role { font-size: 12px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--color-muted-foreground); margin-top: 0.25rem; }

/* ============ BLOG ============ */
.blog-section { background: var(--color-butter); }
.blog-heading-block { max-width: 42rem; margin: 0 auto 3rem; }
@media (min-width: 768px) { .blog-heading-block { margin-bottom: 4rem; } }
.blog-section-heading { font-size: 1.875rem; }
@media (min-width: 768px) { .blog-section-heading { font-size: 3rem; } }
@media (min-width: 1024px) { .blog-section-heading { font-size: 3.75rem; } }
.blog-subtitle { font-size: 0.875rem; color: color-mix(in srgb, var(--color-foreground) 75%, transparent); line-height: 1.7; margin-top: 1.25rem; }
@media (min-width: 768px) { .blog-subtitle { font-size: 1rem; } }
.blog-grid { display: grid; grid-template-columns: 1fr; gap: 2rem; }
@media (min-width: 640px) { .blog-grid { grid-template-columns: repeat(2, minmax(0,1fr)); } }
@media (min-width: 1024px) { .blog-grid { grid-template-columns: repeat(3, minmax(0,1fr)); gap: 2.5rem; } }
.blog-card-wrap { display: flex; }
.blog-card {
	display: flex; flex-direction: column; width: 100%; text-align: left;
	background: var(--color-background); border: 1px solid var(--color-border);
}
.blog-card-media { position: relative; overflow: hidden; aspect-ratio: 16/10; background: var(--color-secondary); }
.blog-card-media img { transition: transform 0.7s ease; }
.blog-card:hover .blog-card-media img { transform: scale(1.05); }
.blog-card-body { display: flex; flex-direction: column; flex: 1; padding: 1.5rem; }
.blog-card-imprint { font-size: 12px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--color-teal); margin-bottom: 0.75rem; }
.blog-card-title { font-size: 1.125rem; line-height: 1.35; margin-bottom: 0.75rem; transition: color 0.3s ease; }
@media (min-width: 768px) { .blog-card-title { font-size: 1.25rem; } }
.blog-card:hover .blog-card-title { color: var(--color-primary); }
.blog-card-excerpt { font-size: 0.875rem; color: color-mix(in srgb, var(--color-foreground) 75%, transparent); line-height: 1.7; margin-bottom: 1.25rem; flex: 1; }
.blog-card-meta { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding-top: 1rem; border-top: 1px solid var(--color-border); }
.blog-card-date { font-size: 12px; color: var(--color-muted-foreground); }
.blog-card-read { display: inline-flex; align-items: center; gap: 0.4rem; font-size: 12px; letter-spacing: 0.18em; text-transform: uppercase; font-family: var(--font-display); color: var(--color-primary); }
.blog-card-read svg { transition: transform 0.3s ease; }
.blog-card:hover .blog-card-read svg { transform: translateX(4px); }

.blog-modal-content { max-width: 42rem !important; max-height: 88vh; padding: 0; overflow-y: auto; }
.blog-modal .theme-modal-content { transform: translate(-50%, -50%); }
.blog-card-media img { width: 100%; height: 100% !important; object-fit: cover; }
.blog-modal-media { position: relative; aspect-ratio: 16/9; background: var(--color-secondary); }
.blog-modal-body { padding: 1.5rem; }
@media (min-width: 768px) { .blog-modal-body { padding: 2rem; } }
.blog-modal-imprint { display: block; font-size: 12px; letter-spacing: 0.24em; text-transform: uppercase; color: var(--color-teal); margin-bottom: 0.75rem; }
.blog-modal-title { font-size: 1.5rem; line-height: 1.25; margin-bottom: 0.75rem; }
@media (min-width: 768px) { .blog-modal-title { font-size: 1.875rem; } }
.blog-modal-meta { font-size: 12px; color: var(--color-muted-foreground); margin-bottom: 1.5rem; }
.blog-modal-text p { font-size: 0.875rem; color: color-mix(in srgb, var(--color-foreground) 80%, transparent); line-height: 1.7; margin-bottom: 1rem; }
@media (min-width: 768px) { .blog-modal-text p { font-size: 1rem; } }

/* ============ FAQ ============ */
.faq-grid { display: grid; grid-template-columns: 1fr; gap: 3rem; }
@media (min-width: 1024px) { .faq-grid { grid-template-columns: 0.8fr 1.2fr; gap: 4rem; } }
.faq-heading-block { position: static; }
@media (min-width: 1024px) { .faq-heading-block { position: sticky; top: 6rem; align-self: flex-start; } }
.faq-section-heading { font-size: 1.875rem; }
@media (min-width: 768px) { .faq-section-heading { font-size: 3rem; } }
.faq-list { border-top: 1px solid var(--color-border); }
.faq-item { border-bottom: 1px solid var(--color-border); }
.faq-question { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; text-align: left; padding: 1.25rem 0; }
.faq-question-text { font-family: var(--font-display); font-size: 1rem; line-height: 1.375; transition: color 0.2s ease; }
@media (min-width: 768px) { .faq-question-text { font-size: 1.125rem; } }
.faq-question:hover .faq-question-text { color: var(--color-primary); }
.faq-icon-plus, .faq-icon-minus { flex-shrink: 0; color: var(--color-primary); }
.faq-icon-minus { display: none; }
.faq-item.is-open .faq-icon-plus { display: none; }
.faq-item.is-open .faq-icon-minus { display: block; }
.faq-answer-wrap { display: grid; grid-template-rows: 0fr; opacity: 0; transition: grid-template-rows 0.5s var(--transition-smooth), opacity 0.5s var(--transition-smooth); }
.faq-item.is-open .faq-answer-wrap { grid-template-rows: 1fr; opacity: 1; }
.faq-answer-inner { overflow: hidden; }
.faq-answer { font-size: 0.875rem; color: color-mix(in srgb, var(--color-foreground) 75%, transparent); line-height: 1.7; padding-bottom: 1.5rem; padding-right: 2.5rem; }
@media (min-width: 768px) { .faq-answer { font-size: 1rem; } }

/* ============ CONTACT / FINAL CTA ============ */
.contact-section { position: relative; background: var(--color-butter); overflow: hidden; }
.contact-bg { position: absolute; inset: 0; }
.contact-inner { position: relative; padding: 6rem 0; }
@media (min-width: 768px) { .contact-inner { padding: 8rem 0; } }
.contact-card {
	max-width: 42rem; margin: 0 auto; background: color-mix(in srgb, var(--color-background) 95%, transparent);
	backdrop-filter: blur(4px); box-shadow: var(--shadow-elevated); padding: 3rem 2rem;
	border: 1px solid color-mix(in srgb, var(--color-border) 60%, transparent);
}
@media (min-width: 768px) { .contact-card { padding: 4rem 3.5rem; } }
.contact-heading { font-size: 1.875rem; line-height: 1.25; margin-bottom: 1.5rem; }
@media (min-width: 768px) { .contact-heading { font-size: 3rem; } }
@media (min-width: 1024px) { .contact-heading { font-size: 3.75rem; } }
.contact-description { color: color-mix(in srgb, var(--color-foreground) 80%, transparent); line-height: 1.7; margin-bottom: 2.5rem; max-width: 28rem; margin-left: auto; margin-right: auto; }
.contact-ctas { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1.25rem; }
@media (min-width: 640px) { .contact-ctas { flex-direction: row; } }
.contact-email-link { font-size: 12px; letter-spacing: 0.22em; text-transform: uppercase; }

/* ============ FOOTER ============ */
.site-footer { border-top: 1px solid var(--color-border); background: var(--color-butter); }
.footer-inner { display: grid; grid-template-columns: 1fr; gap: 2.5rem; padding: 3.5rem 1.5rem; }
@media (min-width: 640px) { .footer-inner { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .footer-inner { grid-template-columns: repeat(4, 1fr); gap: 2rem; padding: 4.5rem 2rem; } }
.footer-brand-name { line-height: 1; }
.footer-col-brand { grid-column: span 1; }
@media (min-width: 640px) { .footer-col-brand { grid-column: span 2; } }
@media (min-width: 1024px) { .footer-col-brand { grid-column: span 1; } }
.footer-logo-link { display: inline-flex; align-items: center; gap: 0.75rem; margin-bottom: 1.25rem; height: 3.5rem; }
.footer-logo-img { height: 100% !important; width: auto; max-width: 3.5rem; object-fit: contain; transition: transform 0.3s ease; }
.footer-logo-link:hover .footer-logo-img { transform: scale(1.05) rotate(-3deg); }
.footer-brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.footer-brand-name { font-family: var(--font-display); font-size: 1.125rem; font-weight: 600; letter-spacing: -0.015em; }
.footer-brand-name em { font-style: italic; font-weight: 300; color: var(--color-primary); }
.footer-brand-tagline { font-size: 12px; letter-spacing: 0.28em; text-transform: uppercase; color: var(--color-muted-foreground); margin-top: 0.25rem; }
.footer-description { font-size: 0.875rem; color: var(--color-muted-foreground); line-height: 1.7; max-width: 20rem; }
.footer-col-title { font-size: 12px; letter-spacing: 0.28em; text-transform: uppercase; font-family: var(--font-display); font-weight: 500; margin-bottom: 1.25rem; }
.footer-link { display: flex; align-items: center; gap: 0.5rem; font-size: 0.875rem; color: var(--color-muted-foreground); }
.footer-link:hover { color: var(--color-foreground); }
.footer-col ul { display: flex; flex-direction: column; gap: 0.75rem; }
.footer-bottom { margin-top: 3.5rem; padding-top: 2rem; border-top: 1px solid var(--color-border); display: flex; flex-direction: column; align-items: center; justify-content: space-between; gap: 1rem; padding-bottom: 2.5rem; }
@media (min-width: 640px) { .footer-bottom { flex-direction: row; } }
.footer-bottom-quote { font-size: 12px; color: var(--color-muted-foreground); letter-spacing: 0.025em; font-style: italic; font-family: var(--font-display); }
.footer-copyright { font-size: 12px; color: var(--color-muted-foreground); letter-spacing: 0.025em; }
.footer-copyright a { text-decoration: underline; }
.footer-copyright a:hover { color: var(--color-foreground); }

/* ============ MODALS (contact / blog) ============ */
.theme-modal { position: fixed; inset: 0; z-index: 70; display: none; }
.theme-modal.is-open { display: block; }
.theme-modal-overlay { position: fixed; inset: 0; background: rgba(0,0,0,0.8); animation: fadeIn 0.25s ease forwards; }
.theme-modal-content {
	position: fixed; left: 50%; top: 50%; transform: translate(-50%, -50%); width: calc(100% - 2rem);
	max-width: 32rem; max-height: 90vh; overflow-y: auto; background: var(--color-background);
	border: 1px solid var(--color-border); box-shadow: var(--shadow-elevated); padding: 1.5rem; border-radius: var(--radius);
	animation: modalIn 0.2s var(--transition-smooth) forwards;
}
@keyframes modalIn { from { opacity: 0; transform: translate(-50%, -46%) scale(0.96); } to { opacity: 1; transform: translate(-50%, -50%) scale(1); } }
.theme-modal-close { position: absolute; right: 1rem; top: 1rem; opacity: 0.7; padding: 0.25rem; }
.theme-modal-close:hover { opacity: 1; }
.theme-modal-header { margin-bottom: 1rem; }
.theme-modal-title { font-size: 1.5rem; font-family: var(--font-display); }
.theme-modal-description { font-size: 0.875rem; color: var(--color-muted-foreground); margin-top: 0.5rem; }
.theme-modal-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem; font-size: 0.875rem; color: var(--color-muted-foreground); margin-bottom: 1.25rem; }
.theme-modal-meta-link { display: flex; align-items: center; gap: 0.5rem; }
.theme-modal-meta-link:hover { color: var(--color-foreground); }

.theme-contact-form-grid { display: grid; grid-template-columns: 1fr; gap: 1rem; }
@media (min-width: 640px) { .theme-contact-form-grid { grid-template-columns: repeat(2, 1fr); } }
.theme-contact-form { display: flex; flex-direction: column; gap: 1rem; }
.theme-form-field label { display: block; font-size: 0.875rem; font-weight: 500; margin-bottom: 0.4rem; }
.theme-form-field input, .theme-form-field textarea {
	width: 100%; padding: 0.65rem 0.75rem; background: var(--color-background); border: 1px solid var(--color-border);
	border-radius: var(--radius); font-size: 1rem; resize: none; transition: box-shadow 0.3s ease;
}
.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-contact-form-actions { display: flex; justify-content: flex-end; }
.theme-contact-submit { border-radius: var(--radius); padding: 0.65rem 1.5rem; }
.theme-contact-submit .btn-label { margin-right: 0.4rem; }
.theme-contact-success { text-align: center; padding: 2rem 0; }
.theme-contact-success-icon {
	display: flex; align-items: center; justify-content: center; width: 3.5rem; height: 3.5rem; margin: 0 auto 1rem;
	background: var(--color-primary); color: var(--color-primary-foreground); border-radius: 9999px;
}
.theme-contact-success h3 { font-size: 1.25rem; margin-bottom: 0.5rem; }
.theme-contact-success p { font-size: 0.875rem; color: var(--color-muted-foreground); }

/* ============ SIDE CART ============ */
#theme-cart-overlay { position: fixed; inset: 0; background: color-mix(in srgb, var(--color-foreground) 20%, transparent); z-index: 80; display: none; }
body.cart-open #theme-cart-overlay { display: block; animation: fadeIn 0.25s ease forwards; }
#theme-cart-drawer {
	position: fixed; right: 0; top: 0; height: 100%; width: 100%; max-width: 28rem; background: var(--color-background);
	z-index: 81; box-shadow: var(--shadow-elevated); display: flex; flex-direction: column;
	transform: translateX(100%); transition: transform 0.35s var(--transition-smooth);
}
body.cart-open #theme-cart-drawer { transform: translateX(0); }
#theme-cart-drawer.is-updating { opacity: 0.6; pointer-events: none; }
.theme-cart-drawer-header { display: flex; align-items: center; justify-content: space-between; padding: 1.5rem; border-bottom: 1px solid var(--color-border); }
.theme-cart-drawer-header h2 { font-size: 1.125rem; font-weight: 700; }
.theme-cart-close { padding: 0.25rem; opacity: 0.8; }
.theme-cart-close:hover { opacity: 1; }
.theme-cart-empty { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 1.5rem; text-align: center; gap: 1rem; }
.theme-cart-empty-icon { color: var(--color-muted-foreground); }
.theme-cart-empty p { color: var(--color-muted-foreground); }
.theme-cart-items { flex: 1; overflow: auto; padding: 1.5rem; display: flex; flex-direction: column; gap: 1.5rem; }
.theme-cart-item { display: flex; gap: 1rem; }
.theme-cart-item-thumb { width: 5rem; height: 6rem; background: var(--color-secondary); overflow: hidden; flex-shrink: 0; position: relative; }
.theme-cart-item-thumb img,
.theme-cart-item-image { width: 100% !important; height: 100% !important; max-height: none !important; object-fit: cover !important; }
.theme-cart-item-info { flex: 1; min-width: 0; }
.theme-cart-item-title { display: block; font-size: 0.875rem; font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.theme-cart-item-title:hover { opacity: 0.7; }
.theme-cart-item-price { font-size: 0.875rem; color: var(--color-muted-foreground); margin-top: 0.15rem; }
.theme-cart-item-variation { font-size: 0.75rem; color: var(--color-muted-foreground); margin-top: 0.15rem; }
.theme-cart-item-controls { display: flex; align-items: center; gap: 0.75rem; margin-top: 0.75rem; }
.theme-cart-qty-btn { padding: 0.25rem; border-radius: var(--radius); }
.theme-cart-qty-btn:hover { background: var(--color-secondary); }
.theme-cart-qty-value { font-size: 0.875rem; width: 1.5rem; text-align: center; }
.theme-cart-remove { margin-left: auto; font-size: 0.875rem; color: var(--color-muted-foreground); }
.theme-cart-remove:hover { color: var(--color-destructive); }
.theme-cart-drawer-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-value { font-weight: 500; }
.theme-cart-shipping-note { font-size: 0.875rem; color: var(--color-muted-foreground); }
.theme-cart-checkout-btn { display: block; text-align: center; }
.theme-cart-empty-btn { display: flex; align-items: center; justify-content: center; gap: 0.5rem; }

/* ============ WOOCOMMERCE OVERRIDES ============ */
.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 .woocommerce-message,
.single-product .woocommerce-info { display: none; }
#theme-cart-drawer .woocommerce-message { display: none; }

.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: none !important;
	cursor: pointer !important;
	transition: opacity 0.2s ease !important;
}
.single-product .single_add_to_cart_button.button,
.single-product a.single_add_to_cart_button {
	background-color: var(--color-foreground) !important;
	color: var(--color-background) !important;
	width: 100% !important;
	text-transform: uppercase !important;
	letter-spacing: 0.25em !important;
	font-size: 12px !important;
	padding: 1rem 1.5rem !important;
	min-height: unset !important;
}
.single-product .single_add_to_cart_button.button:hover,
.single-product a.single_add_to_cart_button:hover {
	background-color: color-mix(in srgb, var(--color-foreground) 90%, transparent) !important;
	opacity: 1 !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; }
.ajax_add_to_cart.theme-btn-loading { opacity: 0.6 !important; pointer-events: none !important; cursor: wait !important; }

/* Card compact quick-add button — overrides global rules above */
.theme-product-card .add_to_cart_button.ajax_add_to_cart.theme-product-card__quick-add {
	min-height: unset !important;
	height: 2.5rem !important;
	width: 2.5rem !important;
	padding: var(--btn-icon-padding) !important;
	border-radius: 50% !important;
}

.theme-attr-select-hidden { display: none !important; }
.theme-attr-pills { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 0.5rem; }
.theme-attr-pill {
	padding: 0.5rem 1rem; font-size: 0.75rem; letter-spacing: 0.15em; text-transform: uppercase;
	border: 1px solid var(--color-border); border-radius: 9999px; font-family: var(--font-body); transition: all 0.2s ease;
}
.theme-attr-pill:hover { border-color: color-mix(in srgb, var(--color-foreground) 60%, transparent); }
.theme-attr-pill.is-selected { background: var(--color-foreground); color: var(--color-background); border-color: var(--color-foreground); }

.single-product .theme-product-layout { min-width: 0; }
.single-product .theme-product-gallery,
.single-product .theme-product-info { min-width: 0; max-width: 100%; }
.single-product .theme-add-to-cart-area {
	display: flex; flex-direction: column; align-items: flex-start; gap: 0; margin-bottom: 2rem; width: 100%;
}
.single-product .theme-add-to-cart-area .theme-quantity-wrapper { margin-bottom: 1rem; }
.single-product .single_add_to_cart_button { flex: none; width: 100%; min-width: 0; margin-top: 0; }
.single-product .woocommerce-product-details__short-description,
.single-product .woocommerce-variation-description,
.single-product .posted_in { overflow-wrap: break-word; word-break: break-word; }
.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); }
.single-product .variations tbody td.value { padding-top: 0; }
.single-product .variations select { display: none; }
.single-product .variations tbody tr + tr td.value { padding-top: 1.5rem; }
.single-product .variations tbody td.value { padding-bottom: 0; }
.single-product .variations_form .theme-add-to-cart-area { margin-top: 0.25rem; }

.theme-external-purchase { margin-bottom: 2rem; width: 100%; }
.theme-external-purchase-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	text-align: center;
	text-decoration: none;
	background-color: var(--color-foreground) !important;
	color: var(--color-background) !important;
	padding: 1rem 1.5rem;
	border-radius: 9999px;
	font-size: 0.75rem;
	letter-spacing: 0.25em;
	text-transform: uppercase;
	font-family: var(--font-body);
	font-weight: 500;
	transition: background-color 0.2s ease;
}
.theme-external-purchase-btn:hover {
	background-color: color-mix(in srgb, var(--color-foreground) 90%, transparent) !important;
	color: var(--color-background) !important;
}

.single-product { padding-top: 1rem; background: var(--color-background); }
.theme-breadcrumb { padding: 1.5rem 0; font-size: 13px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--color-muted-foreground); }
.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); }
.theme-product-layout { display: grid; grid-template-columns: 1fr; gap: 2.5rem; padding: 1rem 0 6rem; align-items: start; }
@media (min-width: 1024px) { .theme-product-layout { grid-template-columns: 7fr 5fr; gap: 4rem; } }
.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-mobile-thumbs { display: flex; gap: 0.75rem; margin-top: 1rem; overflow-x: auto; padding-bottom: 0.25rem; }
.theme-product-stack-image { position: relative; aspect-ratio: 1/1; background: var(--color-secondary); overflow: hidden; }
.theme-thumb-btn { position: relative; width: 5rem; height: 5rem; flex-shrink: 0; overflow: hidden; background: var(--color-secondary); }
.theme-thumb-btn img { opacity: 0.6; transition: opacity 0.2s ease; }
.theme-thumb-btn.is-active img { opacity: 1; }
.theme-thumb-btn:hover img { opacity: 1; }
.theme-thumb-btn.is-active::after,
.theme-thumb-btn:hover::after {
	content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--color-foreground);
}
.theme-product-main-image { position: relative; aspect-ratio: 1/1; background: var(--color-secondary); overflow: hidden; }
@media (min-width: 1024px) {
	.theme-product-info { position: sticky; top: 7rem; align-self: start; padding-left: 1rem; }
}
.theme-product-category { font-size: 13px; letter-spacing: 0.25em; text-transform: uppercase; color: var(--color-muted-foreground); }
.product-title { font-family: var(--font-display); font-weight: 400; font-size: 1.875rem; line-height: 1.1; margin: 0.75rem 0 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-size: 1.25rem; margin-bottom: 1.5rem; font-family: var(--font-body); color: var(--color-foreground); }
.theme-product-lead { color: var(--color-muted-foreground); line-height: 1.7; margin-bottom: 2rem; font-size: 1rem; }
.theme-stock-indicator { font-size: 0.875rem; margin-bottom: 1.5rem; }
.theme-stock-oos { color: var(--color-destructive); }

.theme-quantity-wrapper { display: inline-flex; align-items: center; border: 1px solid var(--color-border); }
.theme-qty-minus, .theme-qty-plus { padding: 0.65rem 0.85rem; }
.theme-qty-minus:hover, .theme-qty-plus:hover { background: var(--color-secondary); }
.theme-qty-input { width: 3rem; border: none; background: transparent; text-align: center; padding: 0.5rem 0; -moz-appearance: textfield; }
.theme-qty-input::-webkit-outer-spin-button, .theme-qty-input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }

.variations label,
.theme-variation-label {
	font-family: var(--font-body); font-weight: 400; font-size: 13px; letter-spacing: 0.2em;
	text-transform: uppercase; color: var(--color-muted-foreground); margin: 0 0 0.5rem;
}
.theme-quantity-label {
	display: block; font-family: var(--font-body); font-weight: 400; font-size: 13px; letter-spacing: 0.2em;
	text-transform: uppercase; color: var(--color-muted-foreground); margin-bottom: 0.5rem; width: 100%;
}
.theme-product-main-image img,
.theme-product-stack-image img,
.theme-thumb-btn img,
.theme-cart-item-thumb img,
.theme-cart-item-image { width: 100% !important; height: 100% !important; max-height: none !important; object-fit: cover !important; }

.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-toggle { width: 100%; display: flex; align-items: center; justify-content: space-between; padding: 1.25rem 0; text-align: left; font-size: 13px; letter-spacing: 0.25em; text-transform: uppercase; }
.theme-accordion-chevron { transition: transform 0.2s ease; }
.theme-accordion.is-open .theme-accordion-chevron { transform: rotate(180deg); }
.theme-accordion-panel { display: grid; grid-template-rows: 0fr; transition: grid-template-rows 0.3s ease; }
.theme-accordion.is-open .theme-accordion-panel { grid-template-rows: 1fr; }
.theme-accordion-panel-inner { overflow: hidden; }
.theme-accordion-panel-inner > div,
.theme-accordion-panel-inner > p { padding-bottom: 0; font-size: 15px; color: var(--color-muted-foreground); line-height: 1.7; }
.theme-accordion-panel-inner > div:last-child,
.theme-accordion-panel-inner > p:last-child,
.theme-accordion-panel-inner > ul:last-child { padding-bottom: 1.5rem; }
.theme-accordion-panel-inner .theme-product-description { white-space: pre-line; margin: 0 0 1rem; }
.theme-product-details-list { list-style: none; margin: 0; padding: 0; }
.theme-product-details-list li { display: flex; align-items: flex-start; font-size: 15px; color: var(--color-muted-foreground); margin-bottom: 0.5rem; }
.theme-product-details-list li:last-child { margin-bottom: 0; }
.theme-product-details-list li::before { content: ''; width: 0.25rem; height: 0.25rem; border-radius: 9999px; background: var(--color-foreground); margin-top: 0.5rem; margin-right: 0.75rem; flex-shrink: 0; }
.theme-product-cats { margin-top: 1.5rem; font-size: 0.875rem; color: var(--color-muted-foreground); }
.theme-product-cats a { text-decoration: underline; }

.theme-related-products { padding: 5rem 0; border-top: 1px solid var(--color-border); }
.theme-related-heading { text-align: center; margin-bottom: 3rem; }
.theme-related-kicker { font-family: var(--font-display); font-style: italic; font-size: 1rem; color: var(--color-muted-foreground); margin-bottom: 0.5rem; }
.theme-related-heading h2 { font-size: 1.875rem; font-family: var(--font-display); font-weight: 400; }
@media (min-width: 768px) { .theme-related-heading h2 { font-size: 2.25rem; } }
.theme-related-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
@media (min-width: 1024px) { .theme-related-grid { grid-template-columns: repeat(4, minmax(0,1fr)); } }

/* ============ CHECKOUT (WooCommerce Blocks) ============ */
body.woocommerce-checkout .site-main,
body.woocommerce-cart .site-main,
body.woocommerce-account .site-main {
	padding-top: var(--header-height, 80px);
	padding-bottom: 4rem;
}
body.woocommerce-checkout .theme-page-container,
body.woocommerce-cart .theme-page-container,
body.woocommerce-account .theme-page-container {
	max-width: 80rem; margin: 0 auto; padding: 2rem 1.5rem;
}
body.woocommerce-checkout .page-title,
body.woocommerce-cart .page-title,
body.woocommerce-account .page-title {
	font-size: 2.25rem; font-weight: 700; margin-bottom: 2rem; font-family: var(--font-display);
}

body.woocommerce-checkout .wc-block-checkout { display: block; }
@media (min-width: 768px) {
	body.woocommerce-checkout .wc-block-components-sidebar-layout.wc-block-checkout.is-large {
		display: grid;
		grid-template-columns: 1fr 1fr;
		gap: var(--checkout-gap, 2rem);
		align-items: start;
	}
	body.woocommerce-checkout .wc-block-checkout__main ~ .wc-block-checkout__sidebar {
		display: block !important;
	}
}
body.woocommerce-checkout .wc-block-checkout__main,
body.woocommerce-checkout .wc-block-checkout__sidebar {
	min-width: 0; width: 100%; max-width: none;
}
body.woocommerce-checkout .wc-block-components-text-input input,
body.woocommerce-checkout .wc-block-components-textarea textarea {
	width: 100% !important; max-width: none !important;
	font-family: var(--font-body) !important; font-size: 1rem !important;
	border: 1px solid var(--color-border) !important; border-radius: var(--radius) !important;
	background: var(--color-background) !important; color: var(--color-foreground) !important;
	box-shadow: none !important;
}
body.woocommerce-checkout .wc-block-components-select select,
body.woocommerce-checkout .wc-block-components-select__select,
body.woocommerce-checkout select.wc-block-components-select__select,
body.woocommerce-checkout .wc-block-components-select .components-custom-select-control__button,
body.woocommerce-checkout .wc-block-components-combobox .components-combobox-control__input,
body.woocommerce-checkout .wc-block-components-combobox .components-form-token-field__input-container,
body.woocommerce-checkout .wc-block-components-country-input select,
body.woocommerce-checkout .wc-block-components-state-input select {
	width: 100% !important; max-width: none !important;
	font-family: var(--font-body) !important; font-size: 1rem !important;
	border: 1px solid var(--color-border) !important; border-radius: var(--radius) !important;
	background: var(--color-background) !important; color: var(--color-foreground) !important;
	box-shadow: none !important;
	appearance: auto !important;
}
body.woocommerce-checkout .wc-block-components-text-input input:focus,
body.woocommerce-checkout .wc-block-components-textarea textarea:focus {
	outline: none !important; box-shadow: 0 0 0 2px color-mix(in srgb, var(--color-primary) 50%, transparent) !important;
}
body.woocommerce-checkout .wc-block-components-select select:focus,
body.woocommerce-checkout .wc-block-components-select__select:focus,
body.woocommerce-checkout .wc-block-components-select .components-custom-select-control__button:focus,
body.woocommerce-checkout .wc-block-components-combobox .components-combobox-control__input:focus,
body.woocommerce-checkout .wc-block-components-country-input select:focus,
body.woocommerce-checkout .wc-block-components-state-input select:focus {
	outline: none !important; box-shadow: 0 0 0 2px color-mix(in srgb, var(--color-primary) 50%, transparent) !important;
}
body.woocommerce-checkout .site-logo-img,
body.woocommerce-cart .site-logo-img,
body.single-product .site-logo-img,
body.woocommerce-account .site-logo-img {
	height: 100% !important;
	width: auto !important;
	max-width: none !important;
	object-fit: contain !important;
}
body.woocommerce-checkout .wc-block-checkout__main h2,
body.woocommerce-checkout .wc-block-components-checkout-step__title {
	font-family: var(--font-display) !important; font-weight: 700 !important;
}
body.woocommerce-checkout .wc-block-components-checkout-place-order-button {
	background: var(--color-foreground) !important; color: var(--color-background) !important;
	border-radius: 9999px !important; font-family: var(--font-display) !important;
	text-transform: uppercase !important; letter-spacing: 0.1em !important;
	width: 100% !important;
}
body.woocommerce-checkout .wc-block-components-text-input input::placeholder { color: var(--color-muted-foreground) !important; }
body.woocommerce-checkout .wc-block-checkout__sidebar {
	background-color: var(--color-secondary) !important;
	border-radius: var(--radius);
	padding: 2rem;
}
body.woocommerce-checkout .wc-block-components-checkout-place-order-button:hover { opacity: 0.9; }
body.woocommerce-checkout .wc-block-components-notice-banner { border-radius: var(--radius); font-family: var(--font-body); }

/* ============ THANK YOU PAGE ============ */
body.theme-thankyou-page { overflow-x: hidden; }
body.theme-thankyou-page .woocommerce-order-details table { width: 100%; table-layout: fixed; }
body.theme-thankyou-page .woocommerce-order h2,
body.theme-thankyou-page .woocommerce-order-details__title { font-size: 1.5rem; padding: 0 0 1rem 0; }
body.theme-thankyou-page .woocommerce-order-overview { display: flex; flex-wrap: wrap; gap: 1.5rem; list-style: none; padding: 0; margin: 0 0 2rem; }
body.theme-thankyou-page .woocommerce-order-overview li { 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; overflow-wrap: break-word; }

/* ============ GENERIC / 404 ============ */
.generic-page { padding-top: 7rem; }
.theme-404 { min-height: 100vh; display: flex; align-items: center; justify-content: center; background: var(--color-muted); }
.theme-404-inner { text-align: center; padding: 6rem 0; }
.theme-404-code { font-size: 2.25rem; margin-bottom: 1rem; font-weight: 700; }
.theme-404-text { font-size: 1.25rem; color: var(--color-muted-foreground); margin-bottom: 1.5rem; }
.theme-404-link { color: var(--color-primary); text-decoration: underline; }
.theme-404-link:hover { color: color-mix(in srgb, var(--color-primary) 90%, transparent); }

/* ============ RESPONSIVE HELPERS ============ */
@media (max-width: 639px) {
	.hero-ctas .btn-hero-primary, .hero-ctas .btn-hero-outline { width: 100%; }
}
