/* =========================================================================
   Gold Rush Tees — theme.css
   Single source of truth for all visual styling. No CSS lives in any
   /woocommerce/*.php template (Section 10).
   ========================================================================= */

/* -------------------------------------------------------------------------
   1. Design tokens
   ------------------------------------------------------------------------- */
:root {
	--background: #f8f6f1;
	--foreground: #1f1914;
	--card: #f3efe8;
	--primary: #e6a50f;
	--primary-foreground: #1a140f;
	--secondary: #ebe8e0;
	--secondary-foreground: #261d17;
	--muted: #dcd9d0;
	--muted-foreground: #58514b;
	--accent: #261d17;
	--accent-foreground: #f3bd3f;
	--destructive: #ca2121;
	--border: #d8d4ca;
	--input: #d8d4ca;
	--ring: #e6a50f;
	--radius: 0.5rem;
	--butter: #f1eada;
	--surface-deep: #1d1611;
	--surface-deep-foreground: #f4eee1;

	--font-display: 'Bebas Neue', sans-serif;
	--font-body: 'Inter', sans-serif;

	--shadow-soft: 0 4px 20px -4px rgba(31, 25, 20, 0.10);
	--shadow-elevated: 0 8px 40px -8px rgba(31, 25, 20, 0.22);
	--transition-smooth: cubic-bezier(0.4, 0, 0.2, 1);

	--logo-height: 60px;
	--header-height: 80px;

	/* Button system defaults (Section 11.4.1) */
	--color-primary: var(--primary);
	--color-button-text: var(--primary-foreground);
	--btn-radius: 9999px;
	--btn-height: 3.25rem;
	--btn-padding: 0 2rem;
	--btn-font-size: 0.85rem;
	--btn-font-weight: 500;
	--btn-letter-spacing: 0.15em;
	--btn-text-transform: uppercase;
	--btn-icon-padding: 0;

	--card-radius: 0.5rem;
	--section-padding: 2rem;
	--checkout-gap: 2rem;
}

/* -------------------------------------------------------------------------
   2. Reset / base
   ------------------------------------------------------------------------- */
* {
	border-color: var(--border);
	box-sizing: border-box;
}

html {
	font-size: 18px;
	scroll-behavior: smooth;
}

html, body {
	max-width: 100%;
	overflow-x: clip;
}

body {
	background-color: var(--background);
	color: var(--foreground);
	font-family: var(--font-body);
	-webkit-font-smoothing: antialiased;
	margin: 0;
}

h1, h2, h3, h4, h5, h6 {
	font-family: var(--font-display);
	font-weight: inherit;
	font-size: inherit;
	letter-spacing: 0.01em;
	margin: 0;
}

p { margin: 0; }
ul, ol { margin: 0; padding: 0; }
button { font-family: inherit; background: none; border: none; cursor: pointer; }
a { color: inherit; text-decoration: none; cursor: pointer; }
input, textarea, select { font-family: inherit; }

/* Clickable affordance: hand cursor on every interactive control */
a[href],
button:not(:disabled),
[role="button"],
summary,
label[for],
input[type="submit"],
input[type="button"],
input[type="reset"],
input[type="image"],
input[type="file"],
select,
.theme-scroll-link,
.theme-modal-trigger,
.theme-collection-tile,
.theme-cat-pill,
.theme-faq-question,
.theme-shop-cat-link,
.theme-link-underline,
.theme-file-upload,
.theme-price-filter-toggle,
.theme-cart-item-remove,
.theme-product-card a,
[data-cart-remove],
[data-contact-modal-open],
[data-scroll-target],
[data-announcement-dismiss] {
	cursor: pointer;
}
button:disabled,
.theme-atc-btn:disabled {
	cursor: not-allowed;
}

img:not(.cover-img):not(.theme-hero-video) {
	max-width: 100%;
	height: auto;
}
.cover-img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.container-wide {
	width: 100%;
	max-width: 90rem;
	margin: 0 auto;
	padding: 0 1.5rem;
}
@media (min-width: 1024px) {
	.container-wide { padding: 0 2rem; }
}

.scroll-mt-24 { scroll-margin-top: 6rem; }

/* -------------------------------------------------------------------------
   3. Reveal / entrance animations (Section 2.1)
   ------------------------------------------------------------------------- */
.reveal-item {
	opacity: 0;
	transform: translateY(24px);
	transition: opacity 0.7s var(--transition-smooth), transform 0.7s var(--transition-smooth);
	will-change: opacity, transform;
}
.reveal-item.is-visible {
	opacity: 1;
	transform: translateY(0);
}
.reveal-fade { transform: translateY(14px); }

body.is-customizer .reveal-item {
	opacity: 1 !important;
	transform: none !important;
	transition: none !important;
}

@media (prefers-reduced-motion: reduce) {
	.reveal-item {
		opacity: 1 !important;
		transform: none !important;
		transition: none !important;
	}
}

@keyframes theme-fade-in { from { opacity: 0; } to { opacity: 1; } }
@keyframes theme-slide-up { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }
.animate-fade-in { animation: theme-fade-in 0.6s var(--transition-smooth) forwards; }
.animate-slide-up { animation: theme-slide-up 0.6s var(--transition-smooth) forwards; }

/* -------------------------------------------------------------------------
   4. Buttons & links
   ------------------------------------------------------------------------- */
/* Marketing CTAs (hero / quote / contact) — match Lovable uppercase display buttons */
.theme-btn-hero-primary {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.5rem;
	background-color: var(--primary);
	color: var(--primary-foreground);
	border: none;
	border-radius: 0;
	padding: 1.25rem 2.5rem;
	font-family: var(--font-display);
	font-size: 0.8125rem;
	font-weight: 400;
	letter-spacing: 0.28em;
	text-transform: uppercase;
	transition: background-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
	box-shadow: 0 10px 15px -3px rgba(230, 165, 15, 0.3), 0 4px 6px -4px rgba(230, 165, 15, 0.3);
}
.theme-btn-hero-primary:hover {
	transform: translateY(-2px) scale(1.04);
	background-color: color-mix(in srgb, var(--primary) 90%, transparent);
}
.theme-btn-hero-outline {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	background-color: color-mix(in srgb, var(--background) 10%, transparent);
	color: var(--background);
	border: 1px solid color-mix(in srgb, var(--background) 40%, transparent);
	border-radius: 0;
	padding: 1.25rem 2.5rem;
	font-family: var(--font-display);
	font-size: 0.8125rem;
	letter-spacing: 0.28em;
	text-transform: uppercase;
	backdrop-filter: blur(4px);
	transition: background-color 0.2s ease, transform 0.2s ease;
}
.theme-btn-hero-outline:hover {
	transform: translateY(-2px) scale(1.04);
	background-color: color-mix(in srgb, var(--background) 20%, transparent);
}

/* Contact band CTA — same type, no shadow, slightly tighter padding (Lovable px-9 py-4) */
.theme-contact-band .theme-btn-hero-primary {
	box-shadow: none;
	padding: 1rem 2.25rem;
}

/* Modal / form primary — match Lovable shadcn Button (rounded-md, h-10, text-base) */
.theme-btn-primary {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.5rem;
	background-color: var(--primary);
	color: var(--primary-foreground);
	border: none;
	border-radius: 0.375rem;
	height: 2.5rem;
	padding: 0.5rem 1rem;
	font-family: var(--font-display);
	font-size: 1rem;
	font-weight: 500;
	letter-spacing: normal;
	text-transform: none;
	box-shadow: none;
	transition: background-color 0.2s ease;
	white-space: nowrap;
}
.theme-btn-primary:hover {
	background-color: color-mix(in srgb, var(--primary) 90%, transparent);
	transform: none;
}
.theme-btn-primary:disabled {
	opacity: 0.5;
	pointer-events: none;
}

.theme-btn-outline {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.5rem;
	background-color: transparent;
	color: var(--foreground);
	border: 1px solid var(--border);
	border-radius: 0.375rem;
	padding: 0.6rem 1.25rem;
	font-family: var(--font-display);
	font-size: 0.85rem;
	transition: background-color 0.2s ease;
}
.theme-btn-outline:hover { background-color: var(--secondary); }

.theme-btn-full { width: 100%; }

.theme-link-underline {
	position: relative;
	display: inline-block;
	font-size: 0.85rem;
	letter-spacing: 0.22em;
	text-transform: uppercase;
	font-family: var(--font-body);
}
.theme-link-underline::after {
	content: '';
	position: absolute;
	bottom: 0; left: 0;
	width: 100%; height: 1px;
	background-color: currentColor;
	transform: scaleX(0);
	transform-origin: left;
	transition: transform 0.3s var(--transition-smooth);
}
.theme-link-underline:hover::after { transform: scaleX(1); }

.theme-eyebrow {
	display: block;
	font-size: 0.85rem;
	letter-spacing: 0.32em;
	text-transform: uppercase;
	color: var(--primary);
	font-family: var(--font-body);
	margin-bottom: 0.75rem;
}

/* -------------------------------------------------------------------------
   5. Announcement bar
   ------------------------------------------------------------------------- */
.theme-announcement-bar {
	position: relative;
	background-color: var(--foreground);
	color: var(--background);
}
.theme-announcement-inner { padding: 0.5rem 0; text-align: center; }
.theme-announcement-text {
	font-size: 0.875rem;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	margin: 0;
}
.theme-announcement-dismiss {
	position: absolute;
	right: 0.75rem;
	top: 50%;
	transform: translateY(-50%);
	padding: 0.25rem;
	opacity: 0.7;
	color: inherit;
	transition: opacity 0.2s ease;
}
.theme-announcement-dismiss:hover { opacity: 1; }

/* -------------------------------------------------------------------------
   6. Header
   ------------------------------------------------------------------------- */
.site-header {
	position: sticky;
	top: 0;
	left: 0; right: 0;
	z-index: 50;
	transition: background-color 0.3s ease, border-color 0.3s ease;
	background-color: var(--background);
	border-bottom: 1px solid transparent;
}
/* Offset sticky header under the WP admin bar */
body.admin-bar .site-header {
	top: 32px;
}
@media screen and (max-width: 782px) {
	body.admin-bar .site-header {
		top: 46px;
	}
}
body.admin-bar .theme-faq-intro {
	top: calc(6rem + 32px);
}
@media screen and (max-width: 782px) {
	body.admin-bar .theme-faq-intro {
		top: calc(6rem + 46px);
	}
}
.site-header.is-solid,
.site-header.mobile-open {
	background-color: color-mix(in srgb, var(--background) 95%, transparent);
	backdrop-filter: blur(6px);
	border-bottom-color: var(--border);
}
.site-nav {
	display: flex;
	align-items: center;
	justify-content: space-between;
	height: 5rem;
	gap: 1rem;
}
.site-brand {
	display: flex;
	align-items: center;
	gap: 0.75rem;
	flex-shrink: 0;
}
.site-brand-mark,
.site-logo-img {
	height: var(--logo-height, 3.5rem);
	width: auto !important;
	max-height: 3.5rem;
	border-radius: 9999px;
	border: 1px solid var(--border);
	background-color: var(--foreground);
	object-fit: cover;
	display: block;
}
.site-brand-text { display: none; flex-direction: column; line-height: 1; }
@media (min-width: 768px) {
	.site-brand-text { display: flex; }
}
.site-brand-name {
	font-family: var(--font-display);
	font-size: 1.5rem;
	letter-spacing: 0.02em;
	text-transform: uppercase;
}
@media (min-width: 768px) { .site-brand-name { font-size: 1.75rem; } }
.site-brand-tagline {
	font-size: 0.75rem;
	letter-spacing: 0.32em;
	text-transform: uppercase;
	color: var(--primary);
	font-family: var(--font-body);
	margin-top: 0.25rem;
}
.site-nav-links { display: none; align-items: center; gap: 1.75rem; margin-left: auto; margin-right: 1.75rem; }
@media (min-width: 1024px) { .site-nav-links { display: flex; } }
.theme-nav-list { display: flex; align-items: center; gap: 1.75rem; list-style: none; }
.theme-nav-link {
	position: relative;
	font-family: var(--font-display);
	font-size: 0.875rem;
	letter-spacing: 0.24em;
	text-transform: uppercase;
	transition: color 0.3s ease;
}
.theme-nav-link::after {
	content: '';
	position: absolute;
	bottom: -4px; left: 0;
	width: 100%; height: 1px;
	background-color: currentColor;
	transform: scaleX(0);
	transition: transform 0.3s var(--transition-smooth);
}
.theme-nav-link:hover::after { transform: scaleX(1); }
.theme-nav-link:hover { color: var(--primary); }

.site-nav-actions { display: flex; align-items: center; gap: 0.5rem; }
@media (min-width: 768px) { .site-nav-actions { gap: 0.75rem; } }
.site-icon-btn {
	position: relative;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 0.5rem;
	color: var(--foreground);
	transition: opacity 0.2s ease;
}
.site-icon-btn:hover { opacity: 0.6; }
.theme-scroll-shop { display: none; }
@media (min-width: 768px) { .theme-scroll-shop { display: inline-flex; } }
.theme-mobile-toggle { display: inline-flex; }
@media (min-width: 1024px) { .theme-mobile-toggle { display: none; } }
.theme-mobile-toggle .icon-close { display: none; }
.theme-mobile-toggle.is-active .icon-menu { display: none; }
.theme-mobile-toggle.is-active .icon-close { display: block; }

.theme-cart-count {
	position: absolute;
	top: -2px; right: -2px;
	min-width: 1.25rem;
	height: 1.25rem;
	padding: 0 0.25rem;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 0.72rem;
	font-weight: 500;
	background-color: var(--primary);
	color: var(--primary-foreground);
	border-radius: 9999px;
}
.theme-cart-count:empty { display: none; }

.site-mobile-nav { display: none; border-top: 1px solid var(--border); padding: 1rem 0; }
.site-mobile-nav.is-open { display: block; animation: theme-fade-in 0.3s var(--transition-smooth); }
@media (min-width: 1024px) { .site-mobile-nav { display: none !important; } }
.site-mobile-nav ul,
.theme-mobile-nav-list {
	display: flex !important;
	flex-direction: column !important;
	align-items: stretch !important;
	gap: 0.25rem;
	list-style: none;
	margin: 0;
	padding: 0;
	width: 100%;
}
.site-mobile-nav li {
	display: block;
	width: 100%;
}
.theme-mobile-nav-list a,
.theme-mobile-nav-list button,
.site-mobile-nav a,
.site-mobile-nav button,
.site-mobile-nav .theme-nav-link {
	display: block;
	width: 100%;
	text-align: left;
	font-family: var(--font-display);
	font-size: 1rem;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	padding: 0.5rem 0;
	color: inherit;
}
.site-mobile-nav a:hover,
.site-mobile-nav .theme-nav-link:hover,
.theme-mobile-nav-list a:hover {
	color: var(--primary);
}
.site-mobile-nav .theme-nav-link::after {
	display: none;
}

/* Home hero fills viewport under fixed transparent header */
body.theme-no-hero .site-main {
	padding-top: var(--header-height);
}

/* -------------------------------------------------------------------------
   7. Hero
   ------------------------------------------------------------------------- */
.theme-hero {
	position: relative;
	height: calc(100dvh - 10rem);
	background-color: var(--background);
	overflow: hidden;
}
@media (min-width: 768px) { .theme-hero { height: 85dvh; } }
.theme-hero-inner { position: relative; width: 100%; height: 100%; background-color: var(--foreground); overflow: hidden; }
.theme-hero-video {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
}
.theme-hero-overlay-dark { position: absolute; inset: 0; background-color: color-mix(in srgb, var(--foreground) 50%, transparent); }
.theme-hero-overlay-gradient {
	position: absolute; inset: 0;
	background: linear-gradient(to right, color-mix(in srgb, var(--foreground) 70%, transparent), color-mix(in srgb, var(--foreground) 40%, transparent), color-mix(in srgb, var(--foreground) 20%, transparent));
}
.theme-hero-glow {
	position: absolute;
	border-radius: 9999px;
	background-color: color-mix(in srgb, var(--primary) 20%, transparent);
	filter: blur(64px);
	animation: theme-glow-pulse 8s ease-in-out infinite;
}
.theme-hero-glow-1 { top: -10rem; right: -10rem; width: 37.5rem; height: 37.5rem; }
.theme-hero-glow-2 { bottom: -10rem; left: -10rem; width: 31.25rem; height: 31.25rem; background-color: color-mix(in srgb, var(--primary) 10%, transparent); animation-delay: 1s; animation-duration: 10s; }
@keyframes theme-glow-pulse { 0%, 100% { transform: scale(1); opacity: 0.2; } 50% { transform: scale(1.15); opacity: 0.3; } }

.theme-hero-content { position: absolute; inset-inline: 0; bottom: 0; z-index: 2; display: flex; align-items: flex-end; padding-bottom: 0.75rem; }
@media (min-width: 768px) { .theme-hero-content { padding-bottom: 5rem; } }
@media (min-width: 1024px) { .theme-hero-content { padding-bottom: 6rem; } }
.theme-hero-grid { width: 100%; display: grid; grid-template-columns: 1fr; gap: 0.75rem; align-items: end; }
@media (min-width: 1024px) { .theme-hero-grid { grid-template-columns: 1fr 1fr; gap: 2.5rem; } }
.theme-hero-eyebrow {
	display: block;
	font-size: 0.625rem;
	letter-spacing: 0.32em;
	text-transform: uppercase;
	color: var(--primary);
	margin-bottom: 0.25rem;
}
@media (min-width: 768px) { .theme-hero-eyebrow { font-size: 0.875rem; margin-bottom: 1.25rem; } }
.theme-hero-title {
	font-size: 1.875rem;
	line-height: 0.95;
	text-transform: uppercase;
	letter-spacing: 0.02em;
	color: var(--background);
}
@media (min-width: 768px) { .theme-hero-title { font-size: 4.5rem; } }
@media (min-width: 1280px) { .theme-hero-title { font-size: 6rem; } }
.theme-hero-title-highlight { color: var(--primary); }
.theme-hero-side { display: flex; flex-direction: column; align-items: flex-start; }
@media (min-width: 1024px) { .theme-hero-side { align-items: flex-end; } }
.theme-hero-subtitle {
	color: color-mix(in srgb, var(--background) 85%, transparent);
	font-size: 0.8125rem;
	line-height: 1.6;
	margin-bottom: 0.75rem;
	max-width: 28rem;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}
@media (min-width: 768px) { .theme-hero-subtitle { font-size: 1.125rem; margin-bottom: 2rem; -webkit-line-clamp: unset; overflow: visible; } }
@media (min-width: 1024px) { .theme-hero-subtitle { text-align: right; } }
.theme-hero-cta-row { display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem; }
@media (min-width: 768px) { .theme-hero-cta-row { gap: 0.75rem; } }
@media (min-width: 1024px) { .theme-hero-cta-row { justify-content: flex-end; } }
.theme-hero-cta-row .theme-btn-hero-primary,
.theme-hero-cta-row .theme-btn-hero-outline {
	padding: 0.5rem 1rem;
	font-size: 0.6875rem;
}
@media (min-width: 768px) {
	.theme-hero-cta-row .theme-btn-hero-primary,
	.theme-hero-cta-row .theme-btn-hero-outline {
		padding: 1.25rem 2.5rem;
		font-size: 0.8125rem;
	}
}

/* -------------------------------------------------------------------------
   8. Generic section heading scales (Section 2.2.5)
   ------------------------------------------------------------------------- */
.theme-section { position: relative; }
.theme-section-header-center { text-align: center; margin-bottom: 2.5rem; }
.theme-featured-section .theme-section-header-center { margin-bottom: 3.5rem; }
.theme-section-subtitle { color: var(--muted-foreground); font-size: 1rem; margin-top: 1rem; max-width: 36rem; margin-inline: auto; }
@media (min-width: 768px) { .theme-section-subtitle { font-size: 1.125rem; } }
.theme-section-footer-center { text-align: center; margin-top: 3.5rem; }

/* Section vertical rhythm — mirrors Lovable py-16 / py-20 / py-24 / py-28 */
.theme-collection-section {
	padding-block: 4rem;
}
@media (min-width: 768px) {
	.theme-collection-section { padding-block: 5rem; }
}
.theme-featured-section,
.theme-drops-section,
.theme-shop-section {
	padding-block: 4rem;
}
@media (min-width: 768px) {
	.theme-featured-section,
	.theme-drops-section,
	.theme-shop-section { padding-block: 6rem; }
}
.theme-faq-section {
	padding-block: 5rem;
}
@media (min-width: 768px) {
	.theme-faq-section { padding-block: 7rem; }
}

.section-heading { text-transform: uppercase; letter-spacing: 0.02em; }
.collection-heading { font-size: 1.875rem; }
@media (min-width: 768px) { .collection-heading { font-size: 3rem; } }
.about-heading { font-size: 2.25rem; line-height: 1.05; margin-bottom: 1.75rem; }
@media (min-width: 768px) { .about-heading { font-size: 3rem; } }
@media (min-width: 1024px) { .about-heading { font-size: 3.75rem; } }
.featured-heading { font-size: 1.875rem; line-height: 1.2; }
@media (min-width: 768px) { .featured-heading { font-size: 3rem; } }
.drops-heading { font-size: 2.25rem; line-height: 1.05; margin-bottom: 1.5rem; }
@media (min-width: 768px) { .drops-heading { font-size: 3rem; } }
@media (min-width: 1024px) { .drops-heading { font-size: 3.75rem; } }
.services-heading { font-size: 2.25rem; line-height: 1.05; }
@media (min-width: 768px) { .services-heading { font-size: 3.75rem; } }
@media (min-width: 1024px) { .services-heading { font-size: 4.5rem; } }
.quote-band-heading { font-size: 2.25rem; line-height: 1.05; margin-bottom: 1.5rem; }
@media (min-width: 768px) { .quote-band-heading { font-size: 3rem; } }
@media (min-width: 1024px) { .quote-band-heading { font-size: 3.75rem; } }
.shop-heading { font-size: 1.875rem; margin-bottom: 2.5rem; }
@media (min-width: 768px) { .shop-heading { font-size: 3rem; } }
.faq-heading { font-size: 2.25rem; line-height: 1.05; margin-bottom: 1.5rem; }
@media (min-width: 768px) { .faq-heading { font-size: 3rem; } }
@media (min-width: 1024px) { .faq-heading { font-size: 3.75rem; } }
.contact-band-heading { font-size: 2.25rem; line-height: 1.2; margin-bottom: 1.5rem; color: var(--background); }
@media (min-width: 768px) { .contact-band-heading { font-size: 3rem; } }
@media (min-width: 1024px) { .contact-band-heading { font-size: 3.75rem; } }

/* -------------------------------------------------------------------------
   9. Shop by Collection
   ------------------------------------------------------------------------- */
.theme-collection-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; }
@media (min-width: 768px) { .theme-collection-grid { grid-template-columns: repeat(4, 1fr); gap: 1.5rem; } }
.theme-collection-tile {
	position: relative;
	aspect-ratio: 1 / 1;
	overflow: hidden;
	background-color: var(--secondary);
	display: block;
	padding: 0;
	width: 100%;
}
.theme-collection-tile-img { transition: transform 0.7s var(--transition-smooth); }
.theme-collection-tile:hover .theme-collection-tile-img { transform: scale(1.05); }
.theme-collection-tile-overlay {
	position: absolute;
	inset-inline: 0;
	bottom: 0;
	padding: 1rem;
	background: linear-gradient(to top, color-mix(in srgb, var(--foreground) 90%, transparent), color-mix(in srgb, var(--foreground) 50%, transparent), transparent);
}
@media (min-width: 768px) { .theme-collection-tile-overlay { padding: 1.25rem; } }
.theme-collection-tile-row { display: flex; align-items: center; justify-content: space-between; color: var(--background); }
.theme-collection-tile-row h3 { font-size: 1.25rem; text-transform: uppercase; letter-spacing: 0.02em; }
@media (min-width: 768px) { .theme-collection-tile-row h3 { font-size: 1.5rem; } }
.theme-collection-tile-row svg { color: var(--primary); }

/* -------------------------------------------------------------------------
   10. About
   ------------------------------------------------------------------------- */
.theme-about-grid { display: grid; grid-template-columns: 1fr; align-items: stretch; }
@media (min-width: 1024px) { .theme-about-grid { grid-template-columns: 1fr 1fr; } }
.theme-about-image { position: relative; min-height: 23.75rem; }
@media (min-width: 768px) { .theme-about-image { min-height: 32.5rem; } }
@media (min-width: 1024px) { .theme-about-image { min-height: 38.75rem; } }
.theme-about-copy { display: flex; align-items: center; background-color: var(--background); padding: 4rem 1.5rem; }
@media (min-width: 768px) { .theme-about-copy { padding: 6rem 3.5rem; } }
@media (min-width: 1024px) { .theme-about-copy { padding: 6rem 5rem; } }
@media (min-width: 1280px) { .theme-about-copy { padding: 6rem 6rem; } }
.theme-about-copy-inner { max-width: 36rem; }
.theme-about-paragraph { color: color-mix(in srgb, var(--foreground) 80%, transparent); font-size: 1rem; line-height: 1.7; margin-bottom: 1.25rem; }
@media (min-width: 768px) { .theme-about-paragraph { font-size: 1.125rem; } }

/* -------------------------------------------------------------------------
   11. Product grid & cards (shared across homepage, archive, related)
   ------------------------------------------------------------------------- */
.theme-product-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 1.5rem;
	align-items: stretch;
}
@media (min-width: 768px) { .theme-product-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2rem; } }
@media (min-width: 1024px) { .theme-shop-grid, .theme-archive-grid, .theme-related-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.theme-featured-products { grid-template-columns: repeat(1, minmax(0, 1fr)); }
@media (min-width: 768px) { .theme-featured-products { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 3rem; } }

.theme-product-card-wrap { display: flex; height: 100%; }
.theme-product-card {
	position: relative;
	display: flex;
	flex-direction: column;
	height: 100%;
	width: 100%;
	background-color: var(--background);
	border: 1px solid var(--border);
	box-shadow: var(--shadow-soft);
	transition: box-shadow 0.5s ease, border-color 0.5s ease, transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.theme-product-card:hover {
	box-shadow: var(--shadow-elevated);
	border-color: var(--primary);
	transform: translateY(-4px);
}
.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__image-wrapper {
	position: relative;
	aspect-ratio: 4 / 5;
	overflow: hidden;
	padding: 1rem;
	display: flex;
	align-items: center;
	justify-content: center;
	background-color: color-mix(in srgb, var(--secondary) 40%, transparent);
}
@media (min-width: 768px) { .theme-product-card__image-wrapper { padding: 1.5rem; } }
.theme-product-card__image-wrapper .cover-img {
	object-fit: contain;
	position: absolute;
	inset: 1rem;
	width: calc(100% - 2rem);
	height: calc(100% - 2rem);
	transition: transform 0.7s cubic-bezier(0.25, 0.4, 0.25, 1);
}
.theme-product-card:hover .theme-product-card__image-wrapper .cover-img { transform: scale(1.05); }
.theme-product-card__image-border {
	position: absolute;
	inset: 0.75rem;
	border: 1px solid color-mix(in srgb, var(--primary) 20%, transparent);
	transition: inset 0.5s ease, border-color 0.5s ease;
	z-index: 1;
	pointer-events: none;
}
@media (min-width: 768px) { .theme-product-card__image-border { inset: 1rem; } }
.theme-product-card:hover .theme-product-card__image-border {
	inset: 0.5rem;
	border-color: color-mix(in srgb, var(--primary) 50%, transparent);
}
@media (min-width: 768px) { .theme-product-card:hover .theme-product-card__image-border { inset: 0.75rem; } }

.theme-card-badge,
.theme-stock-badge.theme-card-badge {
	position: absolute;
	top: 1rem; left: 1rem;
	z-index: 3;
	animation: theme-badge-in 0.4s var(--transition-smooth);
}
@keyframes theme-badge-in { from { opacity: 0; transform: translateX(-20px); } to { opacity: 1; transform: translateX(0); } }

.theme-product-card__quick-add {
	position: absolute;
	bottom: 1rem; right: 1rem;
	z-index: 3;
	width: 2.5rem; height: 2.5rem;
	display: flex;
	align-items: center;
	justify-content: center;
	border-radius: 9999px;
	background-color: var(--background);
	color: var(--foreground);
	box-shadow: var(--shadow-soft);
	opacity: 1;
	pointer-events: auto;
	transition: opacity 0.3s ease, transform 0.2s cubic-bezier(0.34, 1.56, 0.64, 1);
}
@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__content { padding: 1.5rem; text-align: center; display: flex; flex-direction: column; flex-grow: 1; }
@media (min-width: 768px) { .theme-product-card__content { padding: 2rem; } }
.theme-product-card__title {
	font-size: 1.125rem;
	text-transform: uppercase;
	letter-spacing: -0.01em;
	line-height: 1.3;
	color: var(--foreground);
	transition: color 0.3s ease;
	flex-grow: 1;
	display: flex;
	align-items: flex-start;
	justify-content: center;
	min-width: 0;
	overflow-wrap: break-word;
}
@media (min-width: 768px) { .theme-product-card__title { font-size: 1.25rem; } }
.theme-product-card:hover .theme-product-card__title { color: var(--primary); }
.theme-product-card__price { font-size: 1rem; color: var(--primary); font-weight: 600; line-height: 1.3; margin-top: 0.5rem; }
@media (min-width: 768px) { .theme-product-card__price { font-size: 1.125rem; } }

.theme-stock-badge {
	display: inline-flex;
	padding: 0.375rem 0.9rem;
	font-size: 0.8125rem;
	font-weight: 500;
	text-transform: uppercase;
	letter-spacing: 0.18em;
	background-color: var(--foreground);
	color: var(--background);
	border-radius: 9999px;
}

/* -------------------------------------------------------------------------
   12. Pre-Printed Drops
   ------------------------------------------------------------------------- */
.theme-drops-grid { display: grid; grid-template-columns: 1fr; gap: 2.5rem; align-items: center; }
@media (min-width: 1024px) { .theme-drops-grid { grid-template-columns: 5fr 7fr; gap: 4rem; } }
.theme-drops-highlight { color: var(--primary); font-style: italic; }
.theme-drops-paragraph { color: var(--muted-foreground); font-size: 1rem; line-height: 1.7; margin-bottom: 2rem; }
@media (min-width: 768px) { .theme-drops-paragraph { font-size: 1.125rem; } }
.theme-drops-items { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.75rem; }
@media (min-width: 768px) { .theme-drops-items { gap: 1.25rem; } }
.theme-drop-placeholder {
	position: relative;
	aspect-ratio: 3 / 4;
	background-color: var(--secondary);
	border: 1px solid var(--border);
	display: flex;
	align-items: center;
	justify-content: center;
	overflow: hidden;
}
.theme-drop-badge {
	position: absolute;
	top: 0.75rem; left: 0.75rem;
	font-size: 0.625rem;
	letter-spacing: 0.28em;
	text-transform: uppercase;
	background-color: var(--foreground);
	color: var(--background);
	padding: 0.25rem 0.5rem;
}
.theme-drop-placeholder-content { text-align: center; padding: 0 1rem; color: var(--muted-foreground); }
.theme-drop-placeholder-content svg { margin: 0 auto 0.75rem; display: block; }
.theme-drop-placeholder-content span { display: block; font-size: 0.6875rem; letter-spacing: 0.22em; text-transform: uppercase; }
@media (min-width: 768px) { .theme-drop-placeholder-content span { font-size: 0.8125rem; } }

/* -------------------------------------------------------------------------
   13. Services
   ------------------------------------------------------------------------- */
.theme-services-section { background-color: var(--butter); }
.theme-services-intro { padding: 5rem 1.5rem; text-align: center; }
@media (min-width: 768px) { .theme-services-intro { padding: 7rem 3.5rem; } }
@media (min-width: 1024px) { .theme-services-intro { padding: 7rem 5rem; } }
.theme-service-row { display: grid; grid-template-columns: 1fr; align-items: stretch; }
@media (min-width: 1024px) { .theme-service-row { grid-template-columns: 1fr 1fr; } }
.theme-service-row.is-reversed .theme-service-image { order: 2; }
.theme-service-row.is-reversed .theme-service-copy { order: 1; }
.theme-service-image { position: relative; min-height: 22.5rem; background-color: var(--secondary); order: 1; overflow: hidden; }
@media (min-width: 768px) { .theme-service-image { min-height: 31.25rem; } }
@media (min-width: 1024px) { .theme-service-image { min-height: 35rem; } }
.theme-service-image .cover-img { transition: transform 0.9s var(--transition-smooth); }
.theme-service-row:hover .theme-service-image .cover-img { transform: scale(1.03); }
.theme-service-numeral {
	position: absolute;
	top: 1.25rem; left: 1.25rem;
	font-family: var(--font-display);
	font-size: 1rem;
	letter-spacing: 0.3em;
	padding: 0.25rem 0.5rem;
	background-color: color-mix(in srgb, var(--background) 85%, transparent);
	backdrop-filter: blur(4px);
	color: var(--primary);
}
.theme-service-copy { display: flex; align-items: center; background-color: var(--butter); padding: 4rem 1.5rem; order: 2; }
@media (min-width: 768px) { .theme-service-copy { padding: 6rem 3.5rem; } }
@media (min-width: 1024px) { .theme-service-copy { padding: 6rem 5rem; } }
@media (min-width: 1280px) { .theme-service-copy { padding: 6rem 6rem; } }
.theme-service-copy-inner { max-width: 36rem; }
.theme-service-kicker-row { display: flex; align-items: center; gap: 0.75rem; margin-bottom: 1.25rem; }
.theme-service-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 2.5rem; height: 2.5rem;
	border-radius: 9999px;
	border: 1px solid color-mix(in srgb, var(--primary) 50%, transparent);
	color: var(--primary);
	flex-shrink: 0;
}
.theme-service-kicker { font-size: 0.8125rem; letter-spacing: 0.3em; text-transform: uppercase; color: var(--primary); }
.theme-service-title { font-size: 2.25rem; line-height: 1.05; text-transform: uppercase; margin-bottom: 1.5rem; }
@media (min-width: 768px) { .theme-service-title { font-size: 3rem; } }
@media (min-width: 1024px) { .theme-service-title { font-size: 3.75rem; } }
.theme-service-desc { color: var(--muted-foreground); font-size: 1rem; line-height: 1.7; }
@media (min-width: 768px) { .theme-service-desc { font-size: 1.125rem; } }

/* -------------------------------------------------------------------------
   14. Custom Quote Band
   ------------------------------------------------------------------------- */
.theme-quote-band { position: relative; background-color: var(--surface-deep); color: var(--surface-deep-foreground); overflow: hidden; }
.theme-quote-band-bg { opacity: 0.4; }
.theme-quote-band-overlay {
	position: absolute; inset: 0;
	background: linear-gradient(to bottom, color-mix(in srgb, var(--surface-deep) 85%, transparent), color-mix(in srgb, var(--surface-deep) 70%, transparent), color-mix(in srgb, var(--surface-deep) 90%, transparent));
}
.theme-quote-band-inner { position: relative; padding: 5rem 1.5rem; }
@media (min-width: 768px) { .theme-quote-band-inner { padding: 7rem 1.5rem; } }
.theme-quote-band-content { text-align: center; max-width: 42rem; margin: 0 auto; }
.theme-quote-band-highlight { display: block; font-style: italic; color: var(--primary); }
.theme-quote-band-paragraph { font-size: 1rem; line-height: 1.7; opacity: 0.8; margin-bottom: 2.5rem; }
@media (min-width: 768px) { .theme-quote-band-paragraph { font-size: 1.125rem; } }

/* -------------------------------------------------------------------------
   15. Shop section
   ------------------------------------------------------------------------- */
.theme-shop-header { text-align: center; margin-bottom: 3rem; }
.theme-shop-search { position: relative; max-width: 28rem; margin: 0 auto 2rem; }
.theme-shop-search svg { position: absolute; left: 0; top: 50%; transform: translateY(-50%); color: var(--muted-foreground); }
.theme-shop-search input {
	width: 100%;
	padding: 0.5rem 0 0.5rem 1.75rem;
	background: transparent;
	border: none;
	border-bottom: 1px solid var(--border);
	font-size: 1rem;
	color: var(--foreground);
	transition: border-color 0.2s ease;
}
.theme-shop-search input:focus { outline: none; border-color: var(--foreground); }
.theme-shop-search input::placeholder { color: var(--muted-foreground); }

.theme-shop-cat-pills { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.5rem; margin-bottom: 1rem; }
.theme-cat-pill {
	padding: 0.5rem 1.25rem;
	font-size: 0.875rem;
	letter-spacing: 0.2em;
	text-transform: uppercase;
	border: 1px solid var(--border);
	border-radius: 9999px;
	background-color: transparent;
	color: var(--foreground);
	transition: all 0.3s ease;
}
.theme-cat-pill:hover { border-color: var(--primary); color: var(--primary); }
.theme-cat-pill.is-active { background-color: var(--primary); color: var(--primary-foreground); border-color: var(--primary); }

.theme-shop-price-filter { display: flex; flex-direction: column; align-items: center; gap: 0.75rem; }
.theme-price-filter-toggle {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	padding: 0.5rem 1rem;
	font-size: 0.875rem;
	letter-spacing: 0.2em;
	text-transform: uppercase;
	color: var(--muted-foreground);
	transition: color 0.3s ease;
}
.theme-price-filter-toggle:hover { color: var(--foreground); }
.theme-price-filter-current { opacity: 0.7; text-transform: none; letter-spacing: normal; }
.theme-price-filter-chevron { transition: transform 0.3s ease; }
.theme-price-filter-toggle.is-open .theme-price-filter-chevron { transform: rotate(180deg); }
.theme-price-filter-panel {
	width: 100%;
	max-width: 24rem;
	max-height: 0;
	opacity: 0;
	overflow: hidden;
	transition: max-height 0.3s var(--transition-smooth), opacity 0.3s var(--transition-smooth);
}
.theme-price-filter-panel.is-open { max-height: 8rem; opacity: 1; padding-top: 0.5rem; }

.price-range-wrapper { position: relative; height: 1.5rem; margin-bottom: 0.75rem; }
.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-color: var(--border); }
.range-track-fill { background-color: var(--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: 1.25rem; height: 1.25rem;
	border-radius: 9999px;
	border: 2px solid var(--primary);
	background-color: var(--background);
	cursor: pointer;
	margin-top: 0;
}
.range-input::-moz-range-thumb {
	pointer-events: auto;
	width: 1.25rem; height: 1.25rem;
	border-radius: 9999px;
	border: 2px solid var(--primary);
	background-color: var(--background);
	cursor: pointer;
}
.range-input--max { z-index: 3; }
.range-input--min { z-index: 4; }
.theme-price-range-labels { display: flex; justify-content: space-between; font-size: 1rem; color: var(--muted-foreground); }

.theme-shop-empty { text-align: center; padding: 5rem 0; }
.theme-shop-empty p { color: var(--muted-foreground); font-size: 1rem; }
@media (min-width: 768px) { .theme-shop-empty p { font-size: 1.125rem; } }
.theme-shop-show-all { text-align: center; margin-top: 3rem; }
#theme-shop-show-all-btn:empty { display: none; }

/* -------------------------------------------------------------------------
   16. FAQ
   ------------------------------------------------------------------------- */
.theme-faq-section { background-color: var(--butter); }
.theme-faq-grid { display: grid; grid-template-columns: 1fr; gap: 2.5rem; align-items: start; }
@media (min-width: 1024px) { .theme-faq-grid { grid-template-columns: 4fr 8fr; gap: 4rem; } }
.theme-faq-intro { position: sticky; top: 6rem; }
@media (max-width: 1023px) { .theme-faq-intro { position: static; } }
.theme-faq-paragraph { color: var(--muted-foreground); font-size: 1rem; margin-bottom: 1.5rem; }
@media (min-width: 768px) { .theme-faq-paragraph { font-size: 1.125rem; } }
.theme-faq-list { border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.theme-faq-item { border-bottom: 1px solid var(--border); }
.theme-faq-item:last-child { border-bottom: none; }
.theme-faq-question {
	width: 100%;
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 1.5rem;
	text-align: left;
	padding: 1.5rem 0;
	color: var(--foreground);
}
.theme-faq-question span {
	font-family: var(--font-display);
	font-size: 1.125rem;
	text-transform: uppercase;
	letter-spacing: 0.025em;
	line-height: 1.3;
}
@media (min-width: 768px) {
	.theme-faq-question span { font-size: 1.25rem; }
}
.theme-faq-icon-minus, .theme-faq-icon-plus { flex-shrink: 0; margin-top: 0.35rem; color: var(--primary); }
.theme-faq-icon-minus { display: none; }
.theme-faq-item.is-open .theme-faq-icon-minus { display: block; }
.theme-faq-item.is-open .theme-faq-icon-plus { display: none; }
.theme-faq-answer {
	max-height: 0;
	overflow: hidden;
	transition: max-height 0.35s var(--transition-smooth), opacity 0.35s var(--transition-smooth);
	opacity: 0;
}
.theme-faq-answer p { color: var(--muted-foreground); font-size: 1rem; line-height: 1.7; padding-bottom: 1.5rem; }
@media (min-width: 768px) { .theme-faq-answer p { font-size: 1.125rem; } }
.theme-faq-item.is-open .theme-faq-answer { max-height: 30rem; opacity: 1; }

/* -------------------------------------------------------------------------
   17. Contact / final CTA band
   ------------------------------------------------------------------------- */
.theme-contact-band { position: relative; background-color: var(--foreground); overflow: hidden; }
.theme-contact-band-bg { opacity: 1; }
.theme-contact-band-overlay { position: absolute; inset: 0; background-color: color-mix(in srgb, var(--foreground) 80%, transparent); }
.theme-contact-band-overlay-2 {
	position: absolute; inset: 0;
	background: linear-gradient(to bottom right, color-mix(in srgb, var(--foreground) 90%, transparent), color-mix(in srgb, var(--foreground) 80%, transparent), color-mix(in srgb, var(--surface-deep) 90%, transparent));
}
.theme-contact-band-glow {
	position: absolute; top: -10rem; right: -10rem;
	width: 37.5rem; height: 37.5rem;
	border-radius: 9999px;
	background-color: color-mix(in srgb, var(--primary) 15%, transparent);
	filter: blur(64px);
}
.theme-contact-band-inner { position: relative; padding: 6rem 1.5rem; }
@media (min-width: 768px) { .theme-contact-band-inner { padding: 8rem 1.5rem; } }
.theme-contact-band-content { max-width: 42rem; margin: 0 auto; text-align: center; }
.theme-contact-band-paragraph { color: color-mix(in srgb, var(--background) 75%, transparent); font-size: 1rem; line-height: 1.7; margin-bottom: 2.5rem; max-width: 28rem; margin-inline: auto; }
@media (min-width: 768px) { .theme-contact-band-paragraph { font-size: 1.125rem; } }
.theme-contact-band-cta-row { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1.25rem; }
@media (min-width: 640px) { .theme-contact-band-cta-row { flex-direction: row; } }
.theme-contact-band-email { color: var(--background); font-size: 0.875rem; }

/* -------------------------------------------------------------------------
   18. Footer
   ------------------------------------------------------------------------- */
.site-footer { background-color: var(--foreground); color: var(--background); }
/* Use padding-block only so .container-wide horizontal padding is preserved */
.site-footer-inner {
	padding-top: 4rem;
	padding-bottom: 5rem;
}
@media (min-width: 768px) {
	.site-footer-inner {
		padding-top: 5rem;
		padding-bottom: 5rem;
	}
}
.footer-grid { display: grid; grid-template-columns: 1fr; gap: 2.5rem; }
@media (min-width: 640px) { .footer-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .footer-grid { grid-template-columns: repeat(4, 1fr); gap: 2rem; } }
.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-brand-name { font-size: 1.875rem; text-transform: uppercase; letter-spacing: 0.02em; margin-bottom: 1rem; }
.footer-description { color: color-mix(in srgb, var(--background) 70%, transparent); font-size: 1rem; line-height: 1.6; margin-bottom: 1.5rem; max-width: 20rem; }
.footer-social { display: flex; align-items: center; gap: 1rem; }
.footer-social a { color: color-mix(in srgb, var(--background) 70%, transparent); transition: color 0.2s ease; }
.footer-social a:hover { color: var(--primary); }
.footer-col-heading { font-size: 1.125rem; text-transform: uppercase; letter-spacing: 0.02em; color: var(--primary); margin-bottom: 1.25rem; }
.footer-link-list { list-style: none; display: flex; flex-direction: column; gap: 0.75rem; font-size: 1rem; color: color-mix(in srgb, var(--background) 70%, transparent); }
.footer-link-list button,
.footer-link-list a { text-align: left; transition: color 0.2s ease; color: inherit; }
.footer-link-list button:hover,
.footer-link-list a:hover { color: var(--background); }
.footer-contact-list { gap: 1rem; }
.footer-contact-link, .footer-contact-item { display: flex; align-items: flex-start; gap: 0.75rem; }
.footer-contact-link svg, .footer-contact-item svg { margin-top: 0.2rem; color: var(--primary); flex-shrink: 0; }
.footer-bottom { margin-top: 4rem; padding-top: 2rem; border-top: 1px solid color-mix(in srgb, var(--background) 10%, transparent); display: flex; flex-direction: column; align-items: center; justify-content: space-between; gap: 1rem; }
@media (min-width: 768px) { .footer-bottom { flex-direction: row; } }
.footer-copyright { color: color-mix(in srgb, var(--background) 50%, transparent); font-size: 0.875rem; }
.footer-bottom-links { display: flex; align-items: center; gap: 1.5rem; color: color-mix(in srgb, var(--background) 50%, transparent); font-size: 0.875rem; }
.footer-bottom-links button:hover { color: var(--background); }

/* -------------------------------------------------------------------------
   19. Contact / quote modal (dialog)
   ------------------------------------------------------------------------- */
#theme-contact-overlay {
	position: fixed; inset: 0;
	background-color: rgba(0, 0, 0, 0.8);
	z-index: 90;
	opacity: 0;
	visibility: hidden;
	transition: opacity 0.2s ease;
}
body.contact-modal-open #theme-contact-overlay,
#theme-contact-overlay.is-open { opacity: 1; visibility: visible; }
#theme-contact-modal {
	position: fixed;
	top: 50%; left: 50%;
	transform: translate(-50%, -48%) scale(0.95);
	width: 100%;
	max-width: 36rem;
	max-height: 90vh;
	overflow-y: auto;
	z-index: 91;
	background-color: var(--background);
	border: 1px solid var(--border);
	border-radius: 0.5rem;
	box-shadow: var(--shadow-elevated);
	padding: 1.5rem;
	opacity: 0;
	visibility: hidden;
	transition: opacity 0.2s ease, transform 0.2s ease;
}
body.contact-modal-open #theme-contact-modal,
#theme-contact-modal.is-open { opacity: 1; visibility: visible; transform: translate(-50%, -50%) scale(1); }
#theme-contact-modal.is-closing { opacity: 0; transform: translate(-50%, -48%) scale(0.95); }
.theme-modal-close {
	position: absolute;
	right: 1rem; top: 1rem;
	padding: 0.25rem;
	border-radius: 0.25rem;
	opacity: 0.7;
	transition: opacity 0.2s ease;
}
.theme-modal-close:hover { opacity: 1; background-color: var(--secondary); }
.theme-modal-header { margin-bottom: 1rem; }
.theme-modal-title { font-size: 1.875rem; text-transform: uppercase; letter-spacing: 0.02em; margin-bottom: 0.5rem; }
.theme-modal-description { color: var(--muted-foreground); font-size: 1rem; }
.theme-modal-quicklinks { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem; color: var(--muted-foreground); font-size: 1rem; margin-bottom: 1.25rem; }
.theme-modal-quicklinks a { display: flex; align-items: center; gap: 0.5rem; transition: color 0.2s ease; }
.theme-modal-quicklinks a:hover { color: var(--foreground); }
.theme-form-grid { display: grid; grid-template-columns: 1fr; gap: 1rem; margin-bottom: 1rem; }
@media (min-width: 640px) { .theme-form-grid { grid-template-columns: 1fr 1fr; } }
.theme-form-field { margin-bottom: 1rem; }
.theme-form-field label { display: block; font-size: 1rem; font-weight: 500; margin-bottom: 0.4rem; }
.theme-form-field input,
.theme-form-field select,
.theme-form-field textarea {
	width: 100%;
	padding: 0.6rem 0.75rem;
	background-color: var(--background);
	border: 1px solid var(--border);
	border-radius: 0.375rem;
	font-size: 1rem;
	color: var(--foreground);
	transition: box-shadow 0.2s ease;
}
.theme-form-field input:focus,
.theme-form-field select:focus,
.theme-form-field textarea:focus { outline: none; box-shadow: 0 0 0 2px color-mix(in srgb, var(--ring) 50%, transparent); }
.theme-form-field textarea { resize: none; }
.theme-file-upload {
	display: flex;
	align-items: center;
	gap: 0.75rem;
	padding: 0.6rem 0.75rem;
	border: 1px dashed var(--border);
	border-radius: 0.375rem;
	cursor: pointer;
	transition: border-color 0.2s ease;
}
.theme-file-upload:hover { border-color: var(--primary); }
.theme-file-name { color: var(--muted-foreground); font-size: 1rem; }
.theme-file-hint { font-size: 0.8125rem; color: var(--muted-foreground); margin-top: 0.25rem; }
.theme-form-submit-row { display: flex; justify-content: flex-end; }
.theme-modal-success { text-align: center; padding: 2rem 0; }
.theme-modal-success-icon {
	width: 3.5rem; height: 3.5rem;
	background-color: var(--primary);
	color: var(--primary-foreground);
	display: flex; align-items: center; justify-content: center;
	margin: 0 auto 1rem;
	border-radius: 9999px;
}
.theme-modal-success h3 { font-size: 1.5rem; margin-bottom: 0.5rem; text-transform: uppercase; letter-spacing: 0.02em; }
.theme-modal-success p { color: var(--muted-foreground); font-size: 1rem; }

/* -------------------------------------------------------------------------
   20. Side cart drawer + overlay
   ------------------------------------------------------------------------- */
#theme-cart-overlay {
	position: fixed; inset: 0;
	background-color: color-mix(in srgb, var(--foreground) 20%, transparent);
	z-index: 95;
	opacity: 0;
	visibility: hidden;
	transition: opacity 0.3s ease;
}
body.cart-open #theme-cart-overlay { opacity: 1; visibility: visible; }
#theme-cart-drawer {
	position: fixed;
	right: 0; top: 0;
	height: 100%;
	width: 100%;
	max-width: 28rem;
	background-color: var(--background);
	z-index: 96;
	box-shadow: var(--shadow-elevated);
	display: flex;
	flex-direction: column;
	transform: translateX(100%);
	transition: transform 0.35s var(--transition-smooth), opacity 0.2s ease;
}
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(--border); }
.theme-cart-drawer-title { font-size: 1.125rem; font-weight: 700; }
.theme-cart-drawer-close { padding: 0.25rem; opacity: 0.7; transition: opacity 0.2s ease; }
.theme-cart-drawer-close:hover { opacity: 1; }
.theme-cart-drawer-empty { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 1.5rem; text-align: center; }
.theme-cart-drawer-empty svg { color: var(--muted-foreground); margin-bottom: 1rem; }
.theme-cart-empty-text { color: var(--muted-foreground); margin-bottom: 1.5rem; }
.theme-cart-drawer-items { flex: 1; overflow-y: auto; padding: 1.5rem; display: flex; flex-direction: column; gap: 1.5rem; }
.theme-cart-item { display: flex; gap: 1rem; }
#theme-cart-drawer .theme-cart-item-image {
	position: relative;
	width: 5rem;
	height: 6rem;
	flex-shrink: 0;
	background-color: var(--secondary);
	overflow: hidden;
	display: block;
	padding: 0;
	box-sizing: border-box;
}
#theme-cart-drawer .theme-cart-item-image img,
#theme-cart-drawer a.theme-cart-item-image img.attachment-thumbnail,
#theme-cart-drawer a.theme-cart-item-image img.size-thumbnail,
#theme-cart-drawer a.theme-cart-item-image .theme-cart-item-img {
	position: absolute !important;
	inset: 0 !important;
	top: 0 !important;
	right: 0 !important;
	bottom: 0 !important;
	left: 0 !important;
	width: 100% !important;
	height: 100% !important;
	max-width: none !important;
	max-height: none !important;
	margin: 0 !important;
	padding: 0 !important;
	object-fit: cover !important;
	object-position: center !important;
	display: block !important;
}
.theme-cart-item-info { flex: 1; min-width: 0; }
.theme-cart-item-name { display: block; font-size: 1rem; font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; transition: opacity 0.2s ease; }
.theme-cart-item-name:hover { opacity: 0.7; }
.theme-cart-item-size { font-size: 0.8125rem; color: var(--muted-foreground); margin-top: 0.15rem; }
.theme-cart-item-price { font-size: 1rem; color: var(--muted-foreground); margin-top: 0.15rem; }
.theme-cart-item-price .woocommerce-Price-amount { color: inherit; }
.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: 0.25rem; transition: background-color 0.2s ease; }
.theme-cart-qty-btn:hover { background-color: var(--secondary); }
.theme-cart-qty-value { font-size: 1rem; width: 1.5rem; text-align: center; }
.theme-cart-item-remove { margin-left: auto; font-size: 0.9rem; color: var(--muted-foreground); transition: color 0.2s ease; }
.theme-cart-item-remove:hover { color: var(--foreground); }
.theme-cart-drawer-footer { padding: 1.5rem; border-top: 1px solid var(--border); display: flex; flex-direction: column; gap: 1rem; }
.theme-cart-subtotal-row { display: flex; justify-content: space-between; font-size: 1rem; }
.theme-cart-subtotal-label { color: var(--muted-foreground); }
.theme-cart-subtotal-value { font-weight: 500; }
.theme-cart-shipping-note { font-size: 0.9rem; color: var(--muted-foreground); }
.theme-cart-checkout-btn { width: 100%; }
.theme-cart-empty-btn { width: 100%; }

/* Hide WooCommerce's own "View cart" link after AJAX add (Section 11.4.2) */
.woocommerce-page a.added_to_cart.wc-forward,
.single-product a.added_to_cart.wc-forward,
body a.added_to_cart.wc-forward { display: none !important; }

/* Scoped notice visibility (Section 14.1) */
.single-product .woocommerce-message,
.single-product .woocommerce-info { display: none; }
#theme-cart-drawer .woocommerce-message { display: none; }

/* -------------------------------------------------------------------------
   21. Single product page
   ------------------------------------------------------------------------- */
.single-product-main { padding: 1.5rem 0 6rem; }
@media (min-width: 1024px) { .single-product-main { padding-top: 2rem; } }
.theme-breadcrumb { padding: 1rem 0 1.5rem; font-size: 0.85rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--muted-foreground); }
@media (min-width: 1024px) { .theme-breadcrumb { padding: 1.5rem 0; } }
.theme-breadcrumb a { transition: color 0.2s ease; }
.theme-breadcrumb a:hover { color: var(--foreground); }
.theme-breadcrumb-sep { margin: 0 0.5rem; opacity: 0.5; }
.theme-breadcrumb-current { color: var(--foreground); }

.theme-product-layout { display: grid; grid-template-columns: 1fr; gap: 2.5rem; align-items: start; padding: 1rem 0 6rem; min-width: 0; }
@media (min-width: 1024px) { .theme-product-layout { grid-template-columns: 7fr 5fr; gap: 4rem; } }
.theme-product-gallery, .theme-product-info { min-width: 0; max-width: 100%; }

/* Main image + thumbnail strip (mobile & desktop) */
.theme-product-main-image {
	position: relative;
	aspect-ratio: 1 / 1;
	overflow: hidden;
	background-color: var(--secondary);
	width: 100%;
}
.theme-product-img {
	display: block;
	width: 100%;
	height: 100% !important;
	max-width: none;
	object-fit: contain;
	padding: 1.5rem;
	mix-blend-mode: multiply;
}
@media (min-width: 1024px) {
	.theme-product-main-image .theme-product-img { padding: 2rem; }
}
.theme-product-img--thumb {
	padding: 0.5rem;
}
.theme-product-main-image .theme-product-img,
.theme-product-thumb .theme-product-img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100% !important;
}

.theme-product-thumbnails {
	display: flex;
	gap: 0.75rem;
	margin-top: 1rem;
	overflow-x: auto;
	flex-wrap: nowrap;
	max-width: 100%;
	padding-bottom: 0.25rem;
	-webkit-overflow-scrolling: touch;
}
.theme-product-thumb {
	position: relative;
	width: 5rem;
	height: 5rem;
	flex-shrink: 0;
	overflow: hidden;
	background-color: var(--secondary);
	opacity: 0.6;
	transition: opacity 0.2s ease;
	padding: 0;
}
.theme-product-thumb.is-active,
.theme-product-thumb:hover { opacity: 1; }
.theme-product-thumb.is-active::after {
	content: '';
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	height: 1px;
	background-color: var(--foreground);
}

.theme-product-category { font-size: 0.85rem; letter-spacing: 0.25em; text-transform: uppercase; color: var(--muted-foreground); }
.theme-product-category a { transition: color 0.2s ease; }
.theme-product-category a:hover { color: var(--foreground); }
.theme-product-title {
	font-family: var(--font-display);
	font-weight: 400;
	font-size: 1.875rem;
	line-height: 1.1;
	margin-top: 0.75rem;
	margin-bottom: 1.25rem;
	overflow-wrap: break-word;
	word-break: break-word;
}
@media (min-width: 768px) { .theme-product-title { font-size: 2.25rem; } }
@media (min-width: 1024px) { .theme-product-title { font-size: 2.75rem; } }
.theme-product-price { font-size: 1.25rem; margin-bottom: 1.5rem; font-family: var(--font-body); }
.theme-product-lead { color: var(--muted-foreground); line-height: 1.7; margin-bottom: 2rem; font-size: 1.125rem; }
.theme-option-label { font-size: 0.85rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--muted-foreground); margin-bottom: 0.75rem; }
.theme-product-option-group { margin-bottom: 1.5rem; }
.theme-size-pills, .theme-pill { display: flex; }
.theme-size-pills { flex-wrap: wrap; gap: 0.5rem; }
.theme-pill {
	padding: 0.5rem 1rem;
	font-size: 0.875rem;
	letter-spacing: 0.15em;
	text-transform: uppercase;
	border: 1px solid var(--border);
	border-radius: 9999px;
	transition: all 0.2s ease;
}
.theme-pill:hover { border-color: color-mix(in srgb, var(--foreground) 60%, transparent); }
.theme-pill.is-active { background-color: var(--foreground); color: var(--background); border-color: var(--foreground); }

.theme-quantity-wrapper { margin-bottom: 1rem; }
.theme-qty-control { display: inline-flex; align-items: center; border: 1px solid var(--border); }
.theme-qty-minus, .theme-qty-plus { padding: 0.6rem 0.75rem; transition: background-color 0.2s ease; }
.theme-qty-minus:hover, .theme-qty-plus:hover { background-color: var(--secondary); }
.theme-qty-input {
	width: 3rem;
	text-align: center;
	border: none;
	background: transparent;
	padding: 0.6rem 0.25rem;
	font-size: 1rem;
	-moz-appearance: textfield;
}
.theme-qty-input::-webkit-outer-spin-button, .theme-qty-input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }

.theme-product-accordions { margin-top: 2.5rem; border-top: 1px solid var(--border); }
.theme-accordion { border-bottom: 1px solid var(--border); }
.theme-accordion-trigger { width: 100%; display: flex; align-items: center; justify-content: space-between; padding: 1.25rem 0; text-align: left; }
.theme-accordion-trigger span { font-size: 0.85rem; 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 { max-height: 0; overflow: hidden; transition: max-height 0.35s var(--transition-smooth); }
.theme-accordion.is-open .theme-accordion-panel { max-height: 60rem; padding-bottom: 1.5rem; }
.theme-product-description, .theme-product-details-list {
	color: var(--muted-foreground);
	font-size: 1rem;
	line-height: 1.7;
	overflow-wrap: break-word;
	word-break: break-word;
}
.theme-product-description p { margin-bottom: 1rem; }
.theme-product-details-list ul { list-style: none; }
.theme-product-details-list li { position: relative; padding-left: 1rem; margin-bottom: 0.5rem; }
.theme-product-details-list li::before {
	content: '';
	position: absolute;
	left: 0; top: 0.55rem;
	width: 4px; height: 4px;
	border-radius: 9999px;
	background-color: var(--foreground);
}
.theme-accordion .theme-accordion-panel p { margin-bottom: 0.75rem; color: var(--muted-foreground); font-size: 1rem; line-height: 1.7; }

.woocommerce-product-details__short-description,
.woocommerce-variation-description,
.posted_in { overflow-wrap: break-word; word-break: break-word; }

.related-products-section { padding: 5rem 0; border-top: 1px solid var(--border); }
.theme-related-heading { text-align: center; margin-bottom: 3rem; }
.theme-related-heading-title { font-family: var(--font-display); font-weight: 400; font-size: 1.875rem; }
@media (min-width: 768px) { .theme-related-heading-title { font-size: 2.25rem; } }

/* -------------------------------------------------------------------------
   22. WooCommerce: add-to-cart button override (Section 11.4.1)
   ------------------------------------------------------------------------- */
.single_add_to_cart_button.button,
.add_to_cart_button.button,
a.single_add_to_cart_button,
a.add_to_cart_button,
#theme-size-add-to-cart {
	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_add_to_cart_button.button:hover,
.add_to_cart_button.button:hover,
#theme-size-add-to-cart: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,
#theme-size-add-to-cart:disabled,
#theme-size-add-to-cart.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 the 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;
}

/* -------------------------------------------------------------------------
   23. WooCommerce: shop archive
   ------------------------------------------------------------------------- */
.theme-shop-archive { padding: 3rem 0 6rem; }
.theme-archive-header { text-align: center; margin-bottom: 3rem; }
.theme-archive-title { font-size: 2.25rem; text-transform: uppercase; }
.theme-archive-empty { text-align: center; padding: 4rem 0; color: var(--muted-foreground); }
.theme-archive-pagination { text-align: center; margin-top: 3rem; }
.woocommerce-breadcrumb { font-size: 0.85rem; color: var(--muted-foreground); margin-bottom: 1.5rem; }

/* -------------------------------------------------------------------------
   24. WooCommerce: checkout block
   ------------------------------------------------------------------------- */
body.woocommerce-checkout .site-main { padding-top: var(--header-height); padding-bottom: 4rem; }
body.woocommerce-checkout .page-title,
body.woocommerce-cart .page-title,
body.woocommerce-account .page-title { margin-bottom: 2rem; font-size: 2rem; text-transform: uppercase; }

body.woocommerce-checkout .wc-block-components-text-input input,
body.woocommerce-checkout .wc-block-components-select select,
body.woocommerce-checkout .wc-block-components-textarea textarea {
	font-family: var(--font-body);
	font-size: 1rem;
	color: var(--foreground);
	border: 1px solid var(--border);
	border-radius: 0.375rem;
	background-color: var(--background);
}
body.woocommerce-checkout .wc-block-components-text-input input:focus,
body.woocommerce-checkout .wc-block-components-select select:focus { outline: none; box-shadow: 0 0 0 2px color-mix(in srgb, var(--ring) 50%, transparent); }
body.woocommerce-checkout .wc-block-components-text-input input::placeholder { color: var(--muted-foreground); }

body.woocommerce-checkout .wc-block-components-checkout-place-order-button,
body.woocommerce-checkout .wc-block-components-button {
	background-color: var(--primary) !important;
	color: var(--primary-foreground) !important;
	border-radius: 9999px !important;
	font-family: var(--font-display) !important;
	letter-spacing: 0.1em !important;
	text-transform: uppercase !important;
	border: none !important;
}
body.woocommerce-checkout .wc-block-components-notice-banner {
	border-radius: 0.375rem;
	font-family: var(--font-body);
}
body.woocommerce-checkout .wc-block-checkout__sidebar {
	background-color: var(--card);
	border-radius: var(--card-radius);
	padding: var(--section-padding);
}
body.woocommerce-checkout .wc-block-checkout__main,
body.woocommerce-checkout .wc-block-checkout__sidebar {
	min-width: 0;
	width: 100%;
	max-width: none;
}
@media (min-width: 768px) {
	body.woocommerce-checkout .wc-block-checkout {
		display: grid;
		grid-template-columns: 1fr 1fr;
		gap: var(--checkout-gap);
		align-items: start;
	}
	body.woocommerce-checkout .wc-block-components-sidebar-layout.wc-block-checkout.is-large {
		display: grid;
		grid-template-columns: 1fr 1fr;
		gap: var(--checkout-gap);
		align-items: start;
	}
}

/* -------------------------------------------------------------------------
   25. WooCommerce: thank-you page
   ------------------------------------------------------------------------- */
body.theme-thankyou-page { overflow-x: hidden; }
body.theme-thankyou-page .site-main { padding-top: var(--header-height); }
body.theme-thankyou-page .woocommerce-order h2,
body.theme-thankyou-page .woocommerce-order-details__title { padding: 0 0 1rem 0; font-size: 1.5rem; text-transform: uppercase; }
body.theme-thankyou-page .woocommerce-order-overview { list-style: none; display: flex; flex-wrap: wrap; gap: 1.5rem; padding: 0; margin: 1.5rem 0; }
body.theme-thankyou-page .woocommerce-order-overview li { border-right: 1px solid var(--border); padding-right: 1.5rem; }
body.theme-thankyou-page .woocommerce-order-details table { width: 100%; table-layout: fixed; margin-bottom: 1.5rem; border-collapse: collapse; }
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(--border); }
body.theme-thankyou-page .woocommerce-order-details tfoot th { text-align: left; }
body.theme-thankyou-page .woocommerce-order-details tfoot td { text-align: right; }
body.theme-thankyou-page .woocommerce-customer-details {
	display: flex;
	flex-direction: column;
	gap: 1.5rem;
	margin-top: 2rem;
}
body.theme-thankyou-page .woocommerce-customer-details address { max-width: 30rem; overflow-wrap: break-word; }

/* -------------------------------------------------------------------------
   26. 404
   ------------------------------------------------------------------------- */
.theme-404-main { min-height: 60vh; display: flex; align-items: center; }
.theme-404-inner { text-align: center; padding: 6rem 0; }
.theme-404-code { font-size: 5rem; margin-bottom: 1rem; }
.theme-404-message { color: var(--muted-foreground); margin-bottom: 2rem; font-size: 1.125rem; }

/* -------------------------------------------------------------------------
   27. Generic pages
   ------------------------------------------------------------------------- */
.theme-generic-page { padding: 3rem 0 6rem; }
.page-title { font-size: 2rem; text-transform: uppercase; margin-bottom: 1.5rem; }
