/* ==========================================================================
   Halo Disc Golf Hangers — theme.css
   Colours are emitted as CSS variables by functions.php (Section 22.9);
   defaults below match the source design HSL tokens converted to hex
   (Section 6.1). Fonts: Urbanist (display) + Epilogue (body).
   ========================================================================== */

:root {
	--background: #f9f6f1;
	--foreground: #2e2219;
	--card: #ffffff;
	--primary: #225939;
	--primary-foreground: #f9f6f1;
	--secondary: #ece4da;
	--muted-foreground: #72645a;
	--accent: #2f9093;
	--destructive: #bd3c28;
	--border: #dfd7cd;
	--walnut: #5b3e29;
	--walnut-deep: #392618;
	--birch: #eee3d3;
	--amber: #d1a875;

	/* Derived tokens (computed, never exposed as Customizer controls). */
	--secondary-foreground: var(--foreground);
	--muted: var(--secondary);
	--accent-foreground: var(--primary-foreground);
	--fairway: var(--primary);
	--epoxy: var(--accent);
	--color-button-text: var(--primary-foreground);

	--font-display: 'Urbanist', sans-serif;
	--font-body: 'Epilogue', sans-serif;

	--radius: 0.75rem;
	--card-radius: 1rem;
	--section-padding: 2rem;

	--btn-radius: 0.5rem;
	--btn-height: 2.75rem;
	--btn-padding: 0 2rem;
	--btn-font-size: 0.875rem;
	--btn-font-weight: 600;
	--btn-letter-spacing: normal;
	--btn-text-transform: none;
	--btn-icon-padding: 0.75rem;

	--logo-height: 44px;
	--checkout-gap: 4rem;
	--header-height: 96px;
	/* Lovable `.container-wide`: px-6 (1.5rem) / lg:px-8 (2rem) */
	--page-gutter: 1.5rem;

	--shadow-elevated: 0 18px 44px -14px rgba(46, 34, 25, 0.26);
	--transition-smooth: cubic-bezier(0.25, 0.4, 0.25, 1);
}
@media (min-width: 1024px) {
	:root { --page-gutter: 2rem; }
}

/* ==========================================================================
   Reset / base
   ========================================================================== */

*, *::before, *::after {
	box-sizing: border-box;
}

html, body {
	margin: 0;
	padding: 0;
}

body {
	background: var(--background);
	color: var(--foreground);
	font-family: var(--font-body);
	-webkit-font-smoothing: antialiased;
	overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
	font-family: var(--font-display);
	font-weight: inherit;
	font-size: inherit;
	letter-spacing: -0.02em;
	margin: 0;
	line-height: 1.15;
}

p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; background: none; border: none; cursor: pointer; color: inherit; }
input, select, textarea { font-family: inherit; font-size: inherit; color: inherit; }
img { max-width: 100%; height: auto; display: block; }

/* Cover / full-bleed images are excluded from the generic max-width rule
   (Section 15.1 completeness rule). */
img:not(.cover-img):not(.hero-video):not(.theme-lightbox__image) {
	max-width: 100%;
	height: auto;
}
.cover-img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	max-width: none;
	object-fit: cover;
	object-position: center;
}

/* Matches Lovable `.container-wide`: max-w-7xl + px-6 lg:px-8 */
.container-wide {
	width: 100%;
	max-width: 80rem; /* max-w-7xl */
	margin-left: auto;
	margin-right: auto;
	padding-left: max(var(--page-gutter), env(safe-area-inset-left, 0px));
	padding-right: max(var(--page-gutter), env(safe-area-inset-right, 0px));
}

/* Matches Lovable section rhythm: py-20 lg:py-28 — longhand so it never
   wipes `.container-wide` horizontal gutters (px-6 / lg:px-8). */
.section-py {
	padding-top: 5rem;
	padding-bottom: 5rem;
}
@media (min-width: 1024px) {
	.section-py {
		padding-top: 7rem;
		padding-bottom: 7rem;
	}
}

/* WordPress admin bar — keep fixed chrome below the bar */
body.admin-bar .site-header { top: 32px; }
body.admin-bar .theme-scroll-progress { top: 32px; }
@media screen and (max-width: 782px) {
	body.admin-bar .site-header { top: 46px; }
	body.admin-bar .theme-scroll-progress { top: 46px; }
}

/* Pointer cursor on every interactive / clickable control */
a[href],
button:not(:disabled),
[role="button"]:not([aria-disabled="true"]),
input[type="submit"]:not(:disabled),
input[type="button"]:not(:disabled),
input[type="reset"]:not(:disabled),
input[type="checkbox"],
input[type="radio"],
label[for],
select,
summary,
.gallery-item,
.faq-item__question,
.theme-color-swatch,
.theme-qty-minus,
.theme-qty-plus,
.theme-cart-item__qty-btn,
.theme-cart-drawer__close,
.cart-toggle,
.mobile-menu-toggle,
.footer-social-link,
.footer-nav-list a,
.footer-credit-link,
.contact-info-link,
.btn-hero-primary,
.btn-hero-outline,
.btn-contact-submit,
.single_add_to_cart_button,
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button,
.theme-lightbox__close,
.theme-lightbox__nav {
	cursor: pointer;
}
button:disabled,
input:disabled,
.single_add_to_cart_button:disabled,
.woocommerce a.button.disabled {
	cursor: not-allowed;
}

/* ==========================================================================
   Scroll reveal (Section 2.1)
   ========================================================================== */

.reveal-item {
	opacity: 0;
	transform: translateY(40px);
	transition: opacity 0.7s var(--transition-smooth), transform 0.7s var(--transition-smooth);
	transition-delay: var(--reveal-delay, 0s);
}
.reveal-item.is-visible {
	opacity: 1;
	transform: translateY(0);
}
body.is-customizer .reveal-item {
	opacity: 1 !important;
	transform: none !important;
	transition: none !important;
}
@media (prefers-reduced-motion: reduce) {
	.reveal-item { transition: none !important; opacity: 1 !important; transform: none !important; }
}

.bounce-icon {
	animation: theme-bounce 1.6s infinite;
}
@keyframes theme-bounce {
	0%, 100% { transform: translateY(0); }
	50% { transform: translateY(6px); }
}

@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; }

/* ==========================================================================
   Scroll progress bar
   ========================================================================== */

.theme-scroll-progress {
	position: fixed;
	top: 0; left: 0; right: 0;
	height: 2px;
	background: linear-gradient(90deg, color-mix(in srgb, var(--primary) 60%, transparent), var(--primary), color-mix(in srgb, var(--primary) 60%, transparent));
	box-shadow: 0 0 12px color-mix(in srgb, var(--primary) 60%, transparent);
	transform-origin: 0 50%;
	transform: scaleX(0);
	z-index: 60;
	pointer-events: none;
	transition: transform 0.1s linear;
}

/* ==========================================================================
   Page loader
   ========================================================================== */

.theme-page-loader {
	position: fixed;
	inset: 0;
	z-index: 100;
	display: flex;
	align-items: center;
	justify-content: center;
	background: var(--background);
	opacity: 1;
	transition: opacity 0.6s var(--transition-smooth);
}
.theme-page-loader.is-hidden { opacity: 0; pointer-events: none; }
.theme-page-loader__inner { display: flex; flex-direction: column; align-items: center; gap: 1.5rem; }
.theme-page-loader__rings { position: relative; width: 4rem; height: 4rem; }
.theme-page-loader__rings .ring { position: absolute; border-radius: 50%; border: 1px solid color-mix(in srgb, var(--primary) 60%, transparent); }
.theme-page-loader__rings .ring-1 { inset: 0; animation: theme-spin 8s linear infinite; }
.theme-page-loader__rings .ring-2 { inset: 8px; border-color: color-mix(in srgb, var(--primary) 60%, transparent); animation: theme-spin-rev 6s linear infinite; }
.theme-page-loader__rings .ring-3 { top: 50%; left: 50%; width: 8px; height: 8px; margin: -4px 0 0 -4px; background: var(--primary); border: none; animation: theme-pulse-dot 1.4s ease-in-out infinite; }
@keyframes theme-spin { to { transform: rotate(360deg); } }
@keyframes theme-spin-rev { to { transform: rotate(-360deg); } }
@keyframes theme-pulse-dot { 0%, 100% { transform: scale(1); opacity: 1; } 50% { transform: scale(1.6); opacity: 0.4; } }
.theme-page-loader__label { display: flex; align-items: center; gap: 0.75rem; }
.theme-page-loader__label .rule { width: 24px; height: 1px; background: var(--primary); }
.theme-page-loader__label .text { font-size: 10px; letter-spacing: 0.45em; text-transform: uppercase; color: var(--primary); font-weight: 600; font-family: var(--font-body); }

/* ==========================================================================
   Header
   ========================================================================== */

.site-header {
	position: fixed;
	top: 0; left: 0; right: 0;
	z-index: 50;
	background: transparent;
	border-bottom: 1px solid transparent;
	transition: background-color 0.3s ease, border-color 0.3s ease;
}
.site-header.is-solid {
	background: 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;
	gap: 0.75rem;
	height: 5rem;
	min-width: 0;
}
@media (min-width: 1024px) { .site-nav { height: 6rem; } }

.site-brand {
	display: flex;
	align-items: center;
	gap: 0.75rem;
	min-width: 0;
	flex: 1 1 auto;
	overflow: hidden;
}
.site-logo-img { height: var(--logo-height) !important; width: auto !important; display: block; flex-shrink: 0; }
.site-logo-text {
	font-family: var(--font-display);
	font-weight: 800;
	text-transform: uppercase;
	letter-spacing: -0.02em;
	font-size: 0.8rem;
	color: var(--background);
	transition: color 0.3s ease;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}
@media (min-width: 640px) { .site-logo-text { font-size: 0.9rem; } }
@media (min-width: 1024px) { .site-logo-text { font-size: 1rem; } }
.site-header.is-solid .site-logo-text { color: var(--foreground); }
/* Keep brand/icons readable over bright hero frames before scroll. */
.site-header:not(.is-solid) .site-logo-text {
	text-shadow: 0 1px 3px rgb(0 0 0 / 0.55);
}

.site-nav-links { display: none; }
@media (min-width: 1024px) {
	.site-nav-links { display: flex; align-items: center; gap: 1.5rem; }
}
.theme-nav-list { display: flex; align-items: center; gap: 1.5rem; }
@media (min-width: 1280px) { .theme-nav-list { gap: 2rem; } }
.theme-nav-list li { display: flex; }
.theme-nav-link, .theme-nav-list a {
	position: relative;
	display: inline-block;
	font-size: 0.85rem;
	text-transform: uppercase;
	letter-spacing: 0.14em;
	font-weight: 600;
	color: color-mix(in srgb, var(--background) 85%, transparent);
	transition: color 0.3s ease;
	padding: 0.25rem 0;
}
.site-header.is-solid .theme-nav-link, .site-header.is-solid .theme-nav-list a { color: color-mix(in srgb, var(--foreground) 75%, transparent); }
.theme-nav-link::after, .theme-nav-list a::after {
	content: '';
	position: absolute;
	bottom: 0; left: 0;
	width: 100%; height: 1px;
	background: var(--primary);
	transform: scaleX(0);
	transform-origin: left;
	transition: transform 0.3s var(--transition-smooth);
}
.theme-nav-link:hover::after, .theme-nav-list a:hover::after { transform: scaleX(1); }
.theme-nav-link:hover, .theme-nav-list a:hover { color: var(--foreground); }
.site-header.is-solid .theme-nav-link:hover, .site-header.is-solid .theme-nav-list a:hover { color: var(--foreground); }
.site-header:not(.is-solid) .theme-nav-link:hover, .site-header:not(.is-solid) .theme-nav-list a:hover { color: var(--background); }

.site-nav-actions { display: flex; align-items: center; gap: 0.125rem; flex-shrink: 0; }
.cart-toggle, .mobile-menu-toggle {
	position: relative;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 2.5rem;
	height: 2.5rem;
	padding: 0;
	color: var(--background);
	transition: color 0.2s ease;
	line-height: 0;
}
.site-header.is-solid .cart-toggle,
.site-header.is-solid .mobile-menu-toggle { color: var(--foreground); filter: none; }
.site-header:not(.is-solid) .cart-toggle,
.site-header:not(.is-solid) .mobile-menu-toggle {
	/* Match Lovable light icons on hero, with shadow so they stay readable. */
	filter: drop-shadow(0 1px 2px rgb(0 0 0 / 0.65));
}
.cart-toggle:hover, .mobile-menu-toggle:hover { color: var(--primary); }
.cart-toggle svg,
.mobile-menu-toggle svg {
	display: block;
	width: 1.25rem;
	height: 1.25rem;
	flex-shrink: 0;
	stroke: currentColor;
	fill: none;
}
.theme-cart-count {
	position: absolute;
	top: -2px; right: -2px;
	min-width: 1.25rem;
	height: 1.25rem;
	border-radius: 999px;
	background: var(--primary);
	color: var(--primary-foreground);
	font-size: 10px;
	font-weight: 700;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 0 3px;
	filter: none;
}
.theme-cart-count:empty { display: none; }

.mobile-menu-toggle .icon-close { display: none; }
.mobile-menu-toggle[aria-expanded="true"] .icon-menu { display: none; }
.mobile-menu-toggle[aria-expanded="true"] .icon-close { display: block; }
@media (min-width: 1024px) { .mobile-menu-toggle { display: none; } }

.mobile-nav {
	display: none;
	border-top: 1px solid var(--border);
	padding: 1rem 0;
}
.mobile-nav.is-open { display: block; animation: theme-fade-in 0.3s var(--transition-smooth); }
.theme-nav-list-mobile { display: flex; flex-direction: column; gap: 0.25rem; }
.theme-nav-list-mobile a {
	display: block;
	padding: 0.75rem 0;
	font-size: 0.85rem;
	text-transform: uppercase;
	letter-spacing: 0.14em;
	font-weight: 600;
	color: var(--foreground);
	font-family: var(--font-body);
}
.theme-nav-list-mobile a:hover { color: var(--primary); }
@media (min-width: 1024px) { .mobile-nav { display: none !important; } }

/* ==========================================================================
   Buttons
   ========================================================================== */

.btn-hero-primary, .btn-hero-outline, .btn-story, .btn-primary, .btn-outline, .btn-contact-submit {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.5rem;
	height: 2.75rem;
	padding: 0 2rem;
	border-radius: var(--btn-radius);
	font-size: 0.875rem;
	font-weight: 600;
	text-transform: none;
	white-space: nowrap;
	transition: opacity 0.2s ease, background-color 0.2s ease, color 0.2s ease;
	border: none;
}
.btn-hero-primary, .btn-primary, .btn-contact-submit {
	background: var(--primary);
	color: var(--primary-foreground);
}
.btn-hero-primary:hover, .btn-primary:hover, .btn-contact-submit:hover { opacity: 0.9; }
.btn-hero-outline {
	background: transparent;
	border: 2px solid color-mix(in srgb, var(--background) 50%, transparent);
	color: var(--background);
}
.btn-hero-outline:hover { background: var(--background); color: var(--foreground); }
.btn-story {
	background: var(--primary);
	color: var(--primary-foreground);
	margin-top: 2rem;
}
.btn-story:hover { opacity: 0.9; }
.btn-outline {
	background: transparent;
	border: 1px solid var(--border);
	color: var(--foreground);
}
.btn-outline:hover { background: var(--secondary); }
.btn-contact-submit { width: 100%; }
.btn-contact-submit:disabled { opacity: 0.6; cursor: wait; }

/* ==========================================================================
   Hero
   ========================================================================== */

.hero-section {
	position: relative;
	min-height: 100vh;
	display: flex;
	align-items: center;
	justify-content: center;
	overflow: hidden;
	text-align: center;
}
body:not(.theme-no-hero) .site-main { padding-top: 0; }
body.theme-no-hero .site-main { padding-top: var(--header-height); }

.hero-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-overlay-gradient { position: absolute; inset: 0; background: linear-gradient(135deg, var(--walnut-deep) 0%, var(--walnut) 60%, var(--fairway) 100%); opacity: 0.8; }
.hero-overlay-dark { position: absolute; inset: 0; background: color-mix(in srgb, var(--foreground) 40%, transparent); }
.hero-overlay-noise { position: absolute; inset: 0; opacity: 0.6; background-image: radial-gradient(rgba(255,255,255,0.02) 1px, transparent 1px); background-size: 3px 3px; }

/* Lovable hero: py-28 lg:py-32 */
.hero-content-wrap {
	position: relative;
	z-index: 10;
	padding-top: 7rem;
	padding-bottom: 7rem;
}
@media (min-width: 1024px) {
	.hero-content-wrap {
		padding-top: 8rem;
		padding-bottom: 8rem;
	}
}
.hero-content { max-width: 48rem; margin: 0 auto; }
.hero-eyebrow { display: inline-block; font-size: 0.75rem; letter-spacing: 0.28em; text-transform: uppercase; color: color-mix(in srgb, var(--background) 70%, transparent); font-weight: 600; }
.hero-title { font-size: 2.25rem; color: var(--background); margin-top: 1rem; line-height: 1.05; }
@media (min-width: 640px) { .hero-title { font-size: 3rem; } }
@media (min-width: 1024px) { .hero-title { font-size: 3.75rem; } }
.hero-subtitle { margin-top: 1.5rem; font-size: 1rem; color: color-mix(in srgb, var(--background) 80%, transparent); line-height: 1.7; max-width: 42rem; margin-left: auto; margin-right: auto; }
@media (min-width: 768px) { .hero-subtitle { font-size: 1.125rem; } }
.hero-actions { margin-top: 2rem; display: flex; flex-direction: column; gap: 0.75rem; justify-content: center; }
@media (min-width: 640px) { .hero-actions { flex-direction: row; } }

.hero-scroll-link {
	position: absolute;
	bottom: 1.5rem;
	left: 50%;
	transform: translateX(-50%);
	color: color-mix(in srgb, var(--background) 70%, transparent);
	transition: color 0.2s ease;
	z-index: 10;
}
.hero-scroll-link:hover { color: var(--background); }

/* ==========================================================================
   Marquee
   ========================================================================== */

.marquee-wrap { position: relative; width: 100%; overflow: hidden; background: var(--card); border-top: 1px solid color-mix(in srgb, var(--border) 50%, transparent); border-bottom: 1px solid color-mix(in srgb, var(--border) 50%, transparent); }
.marquee-fade { pointer-events: none; position: absolute; inset-block: 0; width: 4rem; z-index: 10; }
@media (min-width: 640px) { .marquee-fade { width: 6rem; } }
.marquee-fade-left { left: 0; background: linear-gradient(to right, var(--card), transparent); }
.marquee-fade-right { right: 0; background: linear-gradient(to left, var(--card), transparent); }
.marquee-inner { padding: 1.25rem 0; }
@media (min-width: 640px) { .marquee-inner { padding: 1.5rem 0; } }
@media (min-width: 768px) { .marquee-inner { padding: 1.75rem 0; } }
.marquee-track { display: flex; align-items: center; white-space: nowrap; animation: theme-marquee 40s linear infinite; width: max-content; }
@keyframes theme-marquee { from { transform: translateX(0); } to { transform: translateX(-33.3333%); } }
.marquee-item { display: flex; align-items: center; }
.marquee-text { font-family: var(--font-display); font-weight: 700; font-size: 0.85rem; letter-spacing: 0.25em; text-transform: uppercase; color: color-mix(in srgb, var(--foreground) 90%, transparent); padding: 0 1.5rem; }
@media (min-width: 640px) { .marquee-text { font-size: 1rem; padding: 0 2rem; } }
.marquee-disc { color: color-mix(in srgb, var(--primary) 70%, transparent); flex-shrink: 0; }

/* ==========================================================================
   Section intros / headings
   ========================================================================== */

.section-eyebrow { display: inline-block; font-size: 0.75rem; letter-spacing: 0.25em; text-transform: uppercase; color: var(--primary); font-weight: 600; }
.faq-eyebrow, .contact-eyebrow { color: var(--amber); }
/* Lovable intros: usually mb-12; How it works uses mb-12 lg:mb-16 */
.section-intro { max-width: 42rem; margin-bottom: 3rem; }
@media (min-width: 1024px) {
	.how-it-works-section .section-intro { margin-bottom: 4rem; }
}
.section-text { margin-top: 1rem; color: var(--muted-foreground); line-height: 1.7; }

.materials-heading, .shop-heading { font-size: 1.875rem; margin-top: 0.75rem; margin-bottom: 1rem; }
@media (min-width: 768px) { .materials-heading, .shop-heading { font-size: 2.25rem; } }

.how-it-works-heading, .story-heading, .gallery-heading { font-size: 1.875rem; margin-top: 0.75rem; margin-bottom: 1rem; }
@media (min-width: 768px) { .how-it-works-heading, .story-heading, .gallery-heading { font-size: 2.25rem; } }
@media (min-width: 1024px) { .how-it-works-heading { font-size: 3rem; } }

.faq-heading { font-size: 2.25rem; letter-spacing: -0.02em; }
@media (min-width: 768px) { .faq-heading { font-size: 3rem; } }

.contact-title { font-size: 1.875rem; margin-top: 0.75rem; margin-bottom: 1rem; color: var(--primary-foreground); }
@media (min-width: 768px) { .contact-title { font-size: 2.25rem; } }

.other-hangers-heading { font-size: 1.5rem; margin-bottom: 2.5rem; }
@media (min-width: 768px) { .other-hangers-heading { font-size: 1.875rem; } }

/* ==========================================================================
   Materials
   ========================================================================== */

.materials-section, .shop-section, .how-it-works-section, .story-section, .gallery-section, .faq-section { background: var(--background); }
.shop-section, .how-it-works-section, .story-section { border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.shop-section { background: color-mix(in srgb, var(--secondary) 50%, transparent); }
.how-it-works-section { background: color-mix(in srgb, var(--secondary) 40%, transparent); }
.story-section { background: color-mix(in srgb, var(--secondary) 50%, transparent); }

.materials-grid { display: grid; grid-template-columns: 1fr; gap: 1.5rem; margin-top: 0; }
@media (min-width: 768px) { .materials-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .materials-grid { gap: 2rem; } }

.material-card { background: var(--card); border-radius: 1rem; overflow: hidden; box-shadow: 0 1px 2px color-mix(in srgb, var(--foreground) 4%, transparent); border: 1px solid var(--border); transition: box-shadow 0.5s ease; }
.material-card:hover { box-shadow: 0 18px 40px -24px color-mix(in srgb, var(--foreground) 35%, transparent); }
.material-card__image-wrap { position: relative; aspect-ratio: 5 / 3; background: var(--secondary); overflow: hidden; }
.material-card__gradient { position: absolute; inset: 0; background: linear-gradient(to top, color-mix(in srgb, var(--foreground) 45%, transparent), color-mix(in srgb, var(--foreground) 5%, transparent) 60%, transparent); }
.material-card__badge { position: absolute; top: 1rem; left: 1rem; border-radius: 999px; background: color-mix(in srgb, var(--background) 90%, transparent); backdrop-filter: blur(4px); padding: 0.35rem 0.75rem; font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; font-weight: 600; color: color-mix(in srgb, var(--foreground) 80%, transparent); }
.material-card__body { padding: 1.5rem; }
@media (min-width: 1024px) { .material-card__body { padding: 1.75rem; } }
.material-card__row { display: flex; align-items: baseline; justify-content: space-between; gap: 0.75rem; }
.material-card__title { font-size: 1.25rem; }
@media (min-width: 1024px) { .material-card__title { font-size: 1.5rem; } }
.material-card__price { font-size: 0.875rem; font-weight: 600; color: var(--primary); white-space: nowrap; }
.material-card__divider { margin-top: 1rem; height: 1px; width: 100%; background: linear-gradient(to right, color-mix(in srgb, var(--amber) 60%, transparent), var(--border), transparent); }
.material-card__text { margin-top: 1rem; font-size: 0.875rem; color: var(--muted-foreground); line-height: 1.7; }

/* ==========================================================================
   Product cards (shared across shop / archive / related — Section 31.13)
   ========================================================================== */

.theme-product-grid { display: grid; grid-template-columns: 1fr; gap: 1.5rem; align-items: stretch; }
@media (min-width: 640px) { .theme-product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .theme-product-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2rem; } }
/* Keep shop / related grids on the same Lovable breakpoints (1 → 2 → 3). */
.shop-grid.theme-product-grid,
.other-hangers-grid.theme-product-grid { /* intentional: inherit theme-product-grid */ }

.theme-product-card-wrap { display: flex; flex-direction: column; height: 100%; }
.theme-product-card { display: flex; flex-direction: column; height: 100%; }
.theme-product-card__image-wrapper { position: relative; aspect-ratio: 1 / 1; background: var(--secondary); overflow: hidden; margin-bottom: 1rem; }
.theme-product-card__image-wrapper .cover-img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	max-width: none;
	object-fit: cover;
	object-position: center;
}
.theme-product-card__image { transition: transform 0.9s cubic-bezier(0.22, 1, 0.36, 1); }
.theme-product-card:hover .theme-product-card__image { transform: scale(1.06); }
.theme-product-card__image.is-sold-out { opacity: 0.6; }
.theme-product-card__badge { position: absolute; top: 0.5rem; left: 0.5rem; padding: 0.35rem 0.75rem; font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.05em; background: var(--foreground); color: var(--background); }
@media (min-width: 768px) { .theme-product-card__badge { top: 0.75rem; left: 0.75rem; } }
.theme-product-card__hover-tint { position: absolute; inset: 0; background: color-mix(in srgb, var(--foreground) 0%, transparent); transition: background-color 0.5s ease; }
.theme-product-card:hover .theme-product-card__hover-tint { background: color-mix(in srgb, var(--foreground) 5%, transparent); }
.theme-product-card__info { flex: 1; display: flex; flex-direction: column; gap: 0.25rem; min-width: 0; }
.theme-product-card__title { font-size: 0.875rem; font-weight: 500; font-family: var(--font-body); transition: color 0.3s ease; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.theme-product-card:hover .theme-product-card__title { color: var(--primary); }
.theme-product-card__price { font-size: 0.875rem; color: var(--muted-foreground); font-weight: 600; }
.theme-product-card__price .price, .theme-product-card__price ins, .theme-product-card__price del { font-weight: 600; }

/* ==========================================================================
   How It Works
   ========================================================================== */

.steps-grid { display: grid; grid-template-columns: 1fr; gap: 1.5rem; margin-top: 0; }
@media (min-width: 640px) { .steps-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .steps-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.75rem; } }

.step-card { display: flex; flex-direction: column; background: var(--card); border-radius: 1rem; overflow: hidden; border: 1px solid var(--border); box-shadow: 0 1px 2px color-mix(in srgb, var(--foreground) 4%, transparent); transition: box-shadow 0.5s ease; height: 100%; }
.step-card:hover { box-shadow: 0 20px 44px -26px color-mix(in srgb, var(--foreground) 40%, transparent); }
.step-card__image-wrap { position: relative; aspect-ratio: 4 / 3; background: var(--secondary); overflow: hidden; }
.step-card__gradient { position: absolute; inset: 0; background: linear-gradient(to top, color-mix(in srgb, var(--foreground) 60%, transparent), color-mix(in srgb, var(--foreground) 10%, transparent) 60%, transparent); }
.step-card__number { position: absolute; bottom: 1rem; left: 1rem; font-family: var(--font-display); font-size: 2.25rem; line-height: 1; color: color-mix(in srgb, var(--background) 90%, transparent); }
.step-card__icon { position: absolute; top: 1rem; right: 1rem; width: 2.5rem; height: 2.5rem; border-radius: 999px; background: color-mix(in srgb, var(--background) 90%, transparent); backdrop-filter: blur(4px); display: flex; align-items: center; justify-content: center; color: var(--primary); }
.step-card__body { flex: 1; padding: 1.5rem; }
.step-card__label { font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; font-weight: 700; color: var(--primary); }
.step-card__title { font-size: 1.25rem; margin-top: 0.5rem; }
.step-card__divider { margin-top: 1rem; height: 1px; width: 100%; background: linear-gradient(to right, color-mix(in srgb, var(--amber) 60%, transparent), var(--border), transparent); }
.step-card__text { margin-top: 1rem; font-size: 0.875rem; color: var(--muted-foreground); line-height: 1.7; }

/* ==========================================================================
   My Story
   ========================================================================== */

.story-grid { display: grid; grid-template-columns: 1fr; gap: 3rem; align-items: center; }
@media (min-width: 1024px) { .story-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 4rem; } }
.story-copy { order: 2; }
@media (min-width: 1024px) { .story-copy { order: 1; } }
.story-paragraphs { margin-top: 1.25rem; display: flex; flex-direction: column; gap: 1rem; color: var(--muted-foreground); line-height: 1.7; }
.story-images { order: 1; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
@media (min-width: 1024px) { .story-images { order: 2; } }
.story-image { position: relative; aspect-ratio: 3 / 4; border-radius: 0.75rem; overflow: hidden; }
.story-image-2 { margin-top: 2rem; }

/* ==========================================================================
   Gallery
   ========================================================================== */

.gallery-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.75rem; }
@media (min-width: 640px) { .gallery-grid { gap: 1rem; } }
@media (min-width: 768px) { .gallery-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

.gallery-item { position: relative; aspect-ratio: 1 / 1; border-radius: 0.75rem; overflow: hidden; background: var(--secondary); cursor: zoom-in; text-align: left; display: block; width: 100%; padding: 0; }
.gallery-item:focus-visible { outline: 2px solid var(--primary); outline-offset: 2px; }
.gallery-item__image { transition: transform 1.2s cubic-bezier(0.22, 1, 0.36, 1); }
.gallery-item:hover .gallery-item__image { transform: scale(1.06); }
.gallery-item__overlay { position: absolute; inset: 0; background: color-mix(in srgb, var(--foreground) 0%, transparent); transition: background-color 0.5s ease; }
.gallery-item:hover .gallery-item__overlay { background: color-mix(in srgb, var(--foreground) 10%, transparent); }

.theme-lightbox {
	position: fixed; inset: 0; z-index: 60;
	display: none;
	align-items: center; justify-content: center;
	background: color-mix(in srgb, var(--foreground) 90%, transparent);
	backdrop-filter: blur(4px);
	padding: 1rem;
	opacity: 0;
	transition: opacity 0.3s var(--transition-smooth);
}
@media (min-width: 640px) { .theme-lightbox { padding: 2rem; } }
.theme-lightbox.is-open { display: flex; opacity: 1; }
.theme-lightbox__close, .theme-lightbox__nav {
	position: absolute;
	z-index: 5;
	padding: 0.5rem;
	border-radius: 999px;
	background: color-mix(in srgb, var(--background) 10%, transparent);
	color: var(--background);
	transition: background-color 0.2s ease;
}
.theme-lightbox__close:hover, .theme-lightbox__nav:hover { background: color-mix(in srgb, var(--background) 20%, transparent); }
.theme-lightbox__close { top: 1rem; right: 1rem; }
.theme-lightbox__prev { left: 0.5rem; }
.theme-lightbox__next { right: 0.5rem; }
@media (min-width: 640px) { .theme-lightbox__prev { left: 1.5rem; } .theme-lightbox__next { right: 1.5rem; } }
.theme-lightbox__frame { position: relative; width: auto; height: auto; max-width: 64rem; max-height: 85vh; border-radius: 1rem; overflow: hidden; background: color-mix(in srgb, var(--secondary) 50%, transparent); box-shadow: var(--shadow-elevated); }
.theme-lightbox__image { width: 100%; height: 100%; max-height: 85vh; object-fit: contain; }
.theme-lightbox__caption { position: absolute; bottom: 0; left: 0; right: 0; padding: 1rem; background: linear-gradient(to top, color-mix(in srgb, var(--foreground) 60%, transparent), transparent); color: var(--background); font-size: 0.875rem; }
.theme-lightbox__counter { position: absolute; bottom: 1rem; left: 50%; transform: translateX(-50%); padding: 0.35rem 1rem; border-radius: 999px; background: color-mix(in srgb, var(--background) 10%, transparent); color: var(--background); font-size: 0.8rem; }
@media (min-width: 640px) { .theme-lightbox__counter { bottom: 2rem; } }

/* ==========================================================================
   FAQ
   ========================================================================== */

.faq-wrap { max-width: 42rem; margin: 0 auto; display: flex; flex-direction: column; gap: 3rem; }
.faq-intro { text-align: center; display: flex; flex-direction: column; gap: 0.75rem; }
.faq-item { border-bottom: 1px solid color-mix(in srgb, var(--amber) 30%, transparent); }
.faq-item__question { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; padding: 1.5rem 0; text-align: left; }
.faq-item__q-text { font-family: var(--font-display); font-size: 1.125rem; padding-right: 2rem; color: var(--foreground); }
@media (min-width: 768px) { .faq-item__q-text { font-size: 1.25rem; } }
.faq-item__icon { position: relative; display: flex; align-items: center; justify-content: center; width: 1.5rem; height: 1.5rem; flex-shrink: 0; margin-left: 1rem; }
.faq-item__icon-h, .faq-item__icon-v { position: absolute; background: var(--amber); border-radius: 999px; transition: transform 0.3s ease; }
.faq-item__icon-h { width: 1rem; height: 2px; }
.faq-item__icon-v { width: 2px; height: 1rem; }
.faq-item.is-open .faq-item__icon-h { transform: rotate(180deg); }
.faq-item.is-open .faq-item__icon-v { transform: rotate(90deg); }
.faq-item__answer { height: 0; overflow: hidden; transition: height 0.3s var(--transition-smooth); }
.faq-item__answer p { padding-bottom: 2rem; padding-right: 3rem; color: color-mix(in srgb, var(--foreground) 70%, transparent); line-height: 1.7; }
.faq-footer { padding-top: 1rem; text-align: center; }
.faq-footer p { font-size: 0.875rem; color: var(--muted-foreground); }
.faq-footer-link { color: var(--amber); font-weight: 600; border-bottom: 1px solid color-mix(in srgb, var(--amber) 30%, transparent); transition: border-color 0.2s ease; }
.faq-footer-link:hover { border-color: var(--amber); }

/* ==========================================================================
   Contact
   ========================================================================== */

.contact-section { position: relative; overflow: hidden; }
.contact-bg { position: absolute; inset: 0; background-size: cover; background-position: center; }
.contact-overlay { position: absolute; inset: 0; background: color-mix(in srgb, var(--foreground) 85%, transparent); backdrop-filter: blur(3px); }
.contact-inner { position: relative; z-index: 1; }
.contact-grid { display: grid; grid-template-columns: 1fr; gap: 3rem; align-items: start; }
@media (min-width: 1024px) { .contact-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 4rem; } }
.contact-text { margin-top: 1rem; margin-bottom: 2rem; color: color-mix(in srgb, var(--primary-foreground) 80%, transparent); line-height: 1.7; }
.contact-info-list { display: flex; flex-direction: column; gap: 1.5rem; }
/* Lovable contact rows: p-4 -mx-4 — keep gutter intact on narrow screens. */
.contact-info-list li, .contact-info-static {
	display: flex;
	align-items: flex-start;
	gap: 1rem;
	border-radius: 0.75rem;
	padding: 1rem;
	margin: 0;
}
@media (min-width: 480px) {
	.contact-info-list li, .contact-info-static { margin: 0 -1rem; }
}
.contact-info-link { display: flex; align-items: flex-start; gap: 1rem; transition: background-color 0.2s ease; }
.contact-info-link:hover { background: color-mix(in srgb, var(--background) 5%, transparent); }
.contact-info-icon { width: 2.75rem; height: 2.75rem; border-radius: 0.75rem; background: var(--secondary); display: flex; align-items: center; justify-content: center; flex-shrink: 0; color: var(--primary); transition: transform 0.2s ease; }
.contact-info-link:hover .contact-info-icon { transform: scale(1.05); }
.contact-info-label { display: block; font-size: 0.875rem; font-weight: 600; color: var(--primary-foreground); }
.contact-info-value { display: block; font-size: 0.875rem; color: color-mix(in srgb, var(--primary-foreground) 80%, transparent); word-break: break-all; }
.contact-info-link:hover .contact-info-value { color: var(--primary-foreground); }

.contact-form { border-radius: 1rem; border: 1px solid var(--border); background: var(--card); padding: 1.5rem; display: flex; flex-direction: column; gap: 1.25rem; }
@media (min-width: 768px) { .contact-form { padding: 2rem; } }
.contact-form-row { display: grid; grid-template-columns: 1fr; gap: 1.25rem; }
@media (min-width: 640px) { .contact-form-row { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.contact-form-field label { display: block; font-size: 0.875rem; font-weight: 600; margin-bottom: 0.5rem; }
.contact-form-field input, .contact-form-field select, .contact-form-field textarea {
	width: 100%;
	padding: 0.75rem 1rem;
	background: var(--card);
	border: 1px solid var(--border);
	border-radius: var(--radius);
	font-size: 0.875rem;
}
.contact-form-field input::placeholder, .contact-form-field textarea::placeholder { color: var(--muted-foreground); }
.contact-form-field input:focus, .contact-form-field select:focus, .contact-form-field textarea:focus { outline: none; box-shadow: 0 0 0 2px var(--primary); }
.contact-form-field textarea { resize: none; }
.contact-select-wrap { position: relative; }
.contact-select-wrap select { appearance: none; padding-right: 2.75rem; cursor: pointer; }
.contact-select-chevron { position: absolute; right: 1rem; top: 50%; transform: translateY(-50%); pointer-events: none; color: var(--muted-foreground); }
.contact-form-note { font-size: 0.8rem; color: var(--primary); min-height: 1em; }
.contact-form-note.is-error { color: var(--destructive); }

/* ==========================================================================
   Footer
   ========================================================================== */

.site-footer { border-top: 1px solid var(--border); background: color-mix(in srgb, var(--secondary) 60%, transparent); }
.site-footer-inner {
	padding-top: 3rem;
	padding-bottom: 3rem;
}
@media (min-width: 1024px) {
	.site-footer-inner {
		padding-top: 4rem;
		padding-bottom: 4rem;
	}
}
.footer-grid { display: grid; grid-template-columns: 1fr; gap: 2.5rem; }
@media (min-width: 768px) { .footer-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 3rem; } }
.footer-description { margin-top: 1rem; font-size: 0.875rem; color: var(--muted-foreground); max-width: 24rem; line-height: 1.7; }
.footer-tagline { margin-top: 0.75rem; font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.25em; color: var(--primary); font-weight: 700; }
.footer-social { margin-top: 1rem; display: flex; align-items: center; gap: 0.75rem; }
.footer-social-link { width: 2.25rem; height: 2.25rem; border-radius: 0.5rem; display: flex; align-items: center; justify-content: center; border: 1px solid var(--border); color: var(--muted-foreground); transition: color 0.2s ease, border-color 0.2s ease; }
.footer-social-link:hover { color: var(--primary); border-color: var(--primary); }
.footer-heading { font-size: 0.75rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.25em; margin-bottom: 1rem; color: var(--primary); }
.footer-nav-list { display: flex; flex-direction: column; gap: 0.75rem; }
.footer-nav-list a { font-size: 0.875rem; color: var(--muted-foreground); transition: color 0.2s ease; }
.footer-nav-list a:hover { color: var(--foreground); }
.footer-contact-list { display: flex; flex-direction: column; gap: 0.75rem; font-size: 0.875rem; color: var(--muted-foreground); }
.footer-contact-item { display: flex; align-items: flex-start; gap: 0.75rem; }
.footer-contact-item a { transition: color 0.2s ease; word-break: break-all; }
.footer-contact-item a:hover { color: var(--foreground); }
.footer-contact-item svg { margin-top: 2px; flex-shrink: 0; }
.footer-bottom { margin-top: 3rem; padding-top: 1.5rem; border-top: 1px solid var(--border); font-size: 0.75rem; color: var(--muted-foreground); display: flex; flex-direction: column; align-items: center; justify-content: space-between; gap: 0.75rem; }
@media (min-width: 640px) { .footer-bottom { flex-direction: row; } }
.footer-credit-link { color: var(--primary); font-weight: 500; transition: color 0.2s ease; }
.footer-credit-link:hover { color: var(--foreground); }
/* Lovable footer logo: h-14 lg:h-16, brand text always dark on light footer */
.footer-logo-img { display: block; }
.footer-col-brand .site-logo-img {
	height: 3.5rem !important; /* h-14 */
	width: auto !important;
	object-fit: contain;
}
@media (min-width: 1024px) {
	.footer-col-brand .site-logo-img { height: 4rem !important; } /* lg:h-16 */
}
.footer-col-brand .site-logo-text {
	color: var(--foreground);
	font-size: 1.125rem; /* text-lg */
}
@media (min-width: 1024px) {
	.footer-col-brand .site-logo-text { font-size: 1.25rem; } /* lg:text-xl */
}

/* ==========================================================================
   Cart drawer + overlay
   ========================================================================== */

#theme-cart-overlay { position: fixed; inset: 0; background: color-mix(in srgb, var(--foreground) 20%, transparent); z-index: 55; opacity: 0; pointer-events: none; transition: opacity 0.3s ease; }
body.cart-open #theme-cart-overlay { opacity: 1; pointer-events: auto; }

#theme-cart-drawer {
	position: fixed;
	top: 0; right: 0;
	height: 100%;
	width: 100%;
	max-width: 28rem;
	background: var(--background);
	z-index: 56;
	box-shadow: var(--shadow-elevated);
	display: flex;
	flex-direction: column;
	transform: translateX(100%);
	transition: transform 0.4s 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(--border); }
.theme-cart-drawer__title { font-size: 1.125rem; font-weight: 700; }
.theme-cart-drawer__close { padding: 0.25rem; transition: opacity 0.2s ease; }
.theme-cart-drawer__close:hover { opacity: 0.6; }

.theme-cart-drawer__empty { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 1.5rem; text-align: center; gap: 1.5rem; color: var(--muted-foreground); }

.theme-cart-drawer__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__image { width: 5rem; height: 6rem; background: var(--secondary); border-radius: var(--radius); overflow: hidden; flex-shrink: 0; position: relative; display: block; }
.theme-cart-item__image .cover-img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	max-width: none;
	object-fit: cover;
	object-position: center;
}
.theme-cart-item__body { flex: 1; min-width: 0; }
.theme-cart-item__title { font-size: 0.875rem; font-weight: 500; display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; transition: opacity 0.2s ease; }
.theme-cart-item__title:hover { opacity: 0.7; }
.theme-cart-item__price { font-size: 0.875rem; color: var(--muted-foreground); margin-top: 0.125rem; }
.theme-cart-item__meta { margin-top: 0.25rem; display: flex; flex-direction: column; gap: 0.125rem; font-size: 0.75rem; color: var(--muted-foreground); }
.theme-cart-item__meta-label { text-transform: uppercase; letter-spacing: 0.05em; font-size: 11px; }
.theme-cart-item__controls { display: flex; align-items: center; gap: 0.75rem; margin-top: 0.75rem; }
.theme-cart-item__qty-btn { padding: 0.25rem; border-radius: 4px; transition: background-color 0.2s ease; }
.theme-cart-item__qty-btn:hover { background: var(--secondary); }
.theme-cart-item__qty { font-size: 0.875rem; width: 1.5rem; text-align: center; }
.theme-cart-item__remove { margin-left: auto; font-size: 0.75rem; 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-drawer__subtotal { display: flex; justify-content: space-between; font-size: 0.875rem; }
.theme-cart-drawer__subtotal span:first-child { color: var(--muted-foreground); }
.theme-cart-drawer__subtotal span:last-child { font-weight: 500; }
.theme-cart-drawer__shipping-note { font-size: 0.75rem; color: var(--muted-foreground); }
.theme-cart-checkout-btn { width: 100%; }

/* ==========================================================================
   WooCommerce: single product page (Section 11)
   ========================================================================== */

/* Single product (body.single-product from WP; main.single-product from template) */
body.single-product main.site-main,
main.site-main.single-product {
	padding-top: var(--header-height);
}
.single-product-backlink-row { padding: 1.5rem 0; }
.back-to-shop-link { display: inline-flex; align-items: center; gap: 0.5rem; font-size: 0.875rem; color: var(--muted-foreground); transition: color 0.2s ease; }
.back-to-shop-link:hover { color: var(--foreground); }

.theme-product-layout { display: grid; grid-template-columns: 1fr; gap: 2.5rem; padding-bottom: 5rem; min-width: 0; }
@media (min-width: 1024px) { .theme-product-layout { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 4rem; } }

.theme-product-gallery, .theme-product-info { min-width: 0; max-width: 100%; }
@media (min-width: 1024px) {
	.theme-product-gallery { position: sticky; top: 7rem; align-self: start; }
	.theme-product-info { padding-top: 1rem; padding-bottom: 1rem; }
}

.theme-product-main-image-wrap { position: relative; aspect-ratio: 3 / 4; background: var(--secondary); border-radius: var(--radius); overflow: hidden; margin-bottom: 1rem; }
.theme-product-main-image-wrap .cover-img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	max-width: none;
	object-fit: cover;
	object-position: center;
}
.theme-product-thumbnails { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0.5rem; max-width: 100%; }
/* Match Lovable aspect-square thumbs: inner media frame so <button> aspect-ratio
   stays square even when the img would otherwise stretch the control. */
.theme-product-thumb {
	display: block;
	position: relative;
	width: 100%;
	aspect-ratio: 1 / 1;
	border-radius: 0.375rem;
	overflow: hidden;
	border: 2px solid transparent;
	opacity: 0.6;
	transition: opacity 0.2s ease, border-color 0.2s ease;
	padding: 0;
	background: var(--secondary);
	cursor: pointer;
}
.theme-product-thumb__media {
	position: absolute;
	inset: 0;
	display: block;
	overflow: hidden;
	background: var(--secondary);
}
.theme-product-thumb .cover-img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	max-width: none;
	object-fit: cover;
	object-position: center;
}
.theme-product-thumb:hover { opacity: 1; }
.theme-product-thumb.is-active { border-color: var(--primary); opacity: 1; }

.theme-product-category { display: inline-block; font-size: 0.75rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--primary); font-weight: 600; }
.product-title { font-family: var(--font-display); font-weight: 800; font-size: 1.875rem; margin-top: 0.5rem; margin-bottom: 0.75rem; letter-spacing: -0.02em; }
@media (min-width: 768px) { .product-title { font-size: 2.25rem; } }
.theme-product-price { font-size: 1.5rem; margin-bottom: 1.5rem; font-weight: 600; }
.theme-stock-status { margin-bottom: 1rem; font-size: 0.875rem; font-weight: 600; }
.theme-stock-status.is-out-of-stock { color: var(--destructive); }
.theme-product-description {
	color: var(--muted-foreground);
	line-height: 1.7;
	margin-bottom: 2rem;
	overflow-wrap: break-word;
	white-space: pre-line;
}

.theme-customize-panel { border-radius: var(--card-radius); border: 1px solid var(--border); background: var(--card); padding: 1.25rem; display: flex; flex-direction: column; gap: 1.25rem; margin-bottom: 2rem; }
@media (min-width: 768px) { .theme-customize-panel { padding: 1.5rem; } }
.theme-customize-panel__title { font-family: var(--font-display); font-weight: 800; font-size: 1.125rem; }
.theme-form-field label { display: block; font-size: 0.875rem; font-weight: 600; margin-bottom: 0.5rem; }
.theme-label-optional { font-weight: 400; color: var(--muted-foreground); }
.theme-form-field input {
	width: 100%;
	padding: 0.75rem 1rem;
	background: var(--card);
	border: 1px solid var(--border);
	border-radius: var(--radius);
	font-size: 0.875rem;
}
.theme-form-field input:focus { outline: none; box-shadow: 0 0 0 2px var(--primary); }
.theme-form-help { font-size: 0.75rem; color: var(--muted-foreground); margin-top: 0.375rem; }
.theme-form-row { display: grid; grid-template-columns: 1fr; gap: 1rem; }
@media (min-width: 640px) { .theme-form-row { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

.theme-engraving-preview { border-radius: var(--radius); background: var(--secondary); padding: 1.5rem 1.25rem; text-align: center; }
.theme-engraving-preview__label { font-size: 11px; text-transform: uppercase; letter-spacing: 0.2em; color: var(--muted-foreground); margin-bottom: 0.75rem; }
.theme-engraving-preview__line { font-family: var(--font-display); font-size: 1.25rem; text-transform: uppercase; letter-spacing: 0.03em; overflow-wrap: break-word; font-weight: 800; }
@media (min-width: 768px) { .theme-engraving-preview__line { font-size: 1.5rem; } }
.theme-engraving-preview__line--muted { color: var(--muted-foreground); font-size: 1.125rem; }
@media (min-width: 768px) { .theme-engraving-preview__line--muted { font-size: 1.25rem; } }
.theme-engraving-preview__divider { margin: 0.75rem auto; height: 1px; width: 4rem; background: var(--border); }

.theme-color-group__title { font-size: 0.875rem; font-weight: 600; margin-bottom: 0.75rem; }
.theme-color-swatches { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.theme-color-swatch { display: flex; align-items: center; gap: 0.5rem; padding: 0.5rem 0.75rem; font-size: 0.875rem; border-radius: var(--radius); border: 1px solid var(--border); transition: border-color 0.2s ease, background-color 0.2s ease; }
.theme-color-swatch:hover { border-color: color-mix(in srgb, var(--primary) 50%, transparent); }
.theme-color-swatch.is-selected { border-color: var(--primary); background: color-mix(in srgb, var(--primary) 10%, transparent); }
.theme-color-swatch__dot { width: 1rem; height: 1rem; border-radius: 999px; border: 1px solid var(--border); flex-shrink: 0; }

.theme-quantity-wrapper { display: flex; align-items: center; border: 1px solid var(--border); border-radius: var(--radius); width: fit-content; }
.theme-qty-minus, .theme-qty-plus { padding: 0.75rem 1rem; transition: background-color 0.2s ease; }
.theme-qty-minus:hover, .theme-qty-plus:hover { background: var(--secondary); }
.theme-qty-minus { border-radius: var(--radius) 0 0 var(--radius); }
.theme-qty-plus { border-radius: 0 var(--radius) var(--radius) 0; }
.theme-qty-value { min-width: 3rem; padding: 0.75rem 1rem; text-align: center; font-variant-numeric: tabular-nums; }
.theme-qty-input { display: none; }

/* Match Lovable: border-t pt-8 + space-y-2 detail list with 6px dots. */
.theme-product-details { border-top: 1px solid var(--border); padding-top: 2rem; }
.theme-product-details__heading {
	font-size: 0.875rem;
	font-weight: 600;
	margin-bottom: 1rem;
	font-family: var(--font-body);
}
.theme-product-details__list ul {
	display: flex;
	flex-direction: column;
	gap: 0.5rem; /* space-y-2 */
	margin: 0;
	padding: 0;
	list-style: none;
}
.theme-product-details__list li {
	font-size: 0.875rem; /* text-sm */
	line-height: 1.25rem;
	color: var(--muted-foreground);
	display: flex;
	align-items: flex-start;
	font-family: var(--font-body);
	margin: 0;
	padding: 0;
}
.theme-product-details__list li::before {
	content: '';
	width: 0.375rem; /* w-1.5 */
	height: 0.375rem; /* h-1.5 */
	border-radius: 999px;
	background: var(--primary);
	margin-top: 0.5rem; /* mt-2 */
	margin-right: 0.75rem; /* mr-3 */
	flex-shrink: 0;
}

.related-products-section { padding: 5rem 0; border-top: 1px solid var(--border); }
.other-hangers-heading { font-family: var(--font-display); font-weight: 800; font-size: 1.5rem; margin-bottom: 2.5rem; letter-spacing: -0.02em; }
@media (min-width: 768px) { .other-hangers-heading { font-size: 1.875rem; } }
.other-hangers-grid.theme-product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 1024px) { .other-hangers-grid.theme-product-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2rem; } }

/* Section 11.13 — responsive layout guardrails. */
.single-product .theme-add-to-cart-area,
main.single-product .theme-add-to-cart-area { display: flex; flex-direction: column; align-items: stretch; gap: 1rem; margin-bottom: 2rem; }
@media (min-width: 640px) {
	.single-product .theme-add-to-cart-area,
	main.single-product .theme-add-to-cart-area { flex-direction: row; }
}
.single-product .single_add_to_cart_button,
.single-product .theme-option-add-to-cart,
main.single-product .single_add_to_cart_button,
main.single-product .theme-option-add-to-cart { flex: 1 1 auto; min-width: 160px; }
.theme-option-add-to-cart__icon { display: inline-flex; margin-right: 0.5rem; vertical-align: middle; }
.theme-option-add-to-cart.is-added .theme-option-add-to-cart__icon { display: inline-flex; }
.theme-option-add-to-cart__icon[hidden] { display: none !important; }

/* ==========================================================================
   WooCommerce: add-to-cart button overrides (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-option-add-to-cart {
	background-color: var(--primary) !important;
	color: var(--color-button-text) !important;
	border: none !important;
	border-radius: var(--btn-radius) !important;
	min-height: var(--btn-height) !important;
	padding: var(--btn-padding) !important;
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;
	font-family: var(--font-body) !important;
	font-size: var(--btn-font-size) !important;
	font-weight: var(--btn-font-weight) !important;
	letter-spacing: var(--btn-letter-spacing) !important;
	text-transform: var(--btn-text-transform) !important;
	cursor: pointer !important;
	transition: opacity 0.2s ease !important;
}
.single_add_to_cart_button.button:hover,
.add_to_cart_button.button:hover,
.theme-option-add-to-cart:hover {
	opacity: 0.85 !important;
	background-color: var(--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-option-add-to-cart:disabled,
.theme-option-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,
.theme-option-add-to-cart:disabled:hover,
.theme-option-add-to-cart.disabled:hover {
	opacity: 0.4 !important;
	background-color: var(--primary) !important;
}
.ajax_add_to_cart.theme-btn-loading, .theme-option-add-to-cart.theme-btn-loading {
	opacity: 0.6 !important;
	pointer-events: none !important;
	cursor: wait !important;
}
.single-product .single_add_to_cart_button.loading::after,
.ajax_add_to_cart.loading::after { display: none !important; }

/* Hide "View cart" injected by WooCommerce after AJAX add-to-cart (Section 11.4.2). */
.woocommerce-page a.added_to_cart.wc-forward,
.single-product a.added_to_cart.wc-forward,
body a.added_to_cart.wc-forward { display: none !important; }

/* WooCommerce notices — scoped visibility (Section 14.1). */
.single-product .woocommerce-message,
.single-product .woocommerce-info { display: none; }
#theme-cart-drawer .woocommerce-message { display: none; }
.woocommerce-message, .woocommerce-info, .woocommerce-error {
	border-radius: var(--radius);
	border: 1px solid var(--border);
	padding: 1rem 1.5rem;
	font-size: 0.875rem;
	background: var(--secondary);
	color: var(--foreground);
	list-style: none;
	margin-bottom: 1.5rem;
}
.woocommerce-error { border-color: var(--destructive); color: var(--destructive); }

/* ==========================================================================
   WooCommerce: shop archive
   ========================================================================== */

.shop-archive-main { padding-top: var(--header-height); }
.shop-archive-title { font-size: 2rem; margin-bottom: 2.5rem; }
.shop-empty-state { color: var(--muted-foreground); padding: 3rem 0; text-align: center; }
.woocommerce-pagination { display: flex; justify-content: center; gap: 0.5rem; margin-top: 3rem; }
.woocommerce-pagination ul { display: flex; gap: 0.5rem; }
.woocommerce-pagination a, .woocommerce-pagination span { display: inline-flex; align-items: center; justify-content: center; min-width: 2.5rem; height: 2.5rem; border-radius: var(--radius); border: 1px solid var(--border); font-size: 0.875rem; }
.woocommerce-pagination .current { background: var(--primary); color: var(--primary-foreground); border-color: var(--primary); }

/* ==========================================================================
   Generic page template + 404
   ========================================================================== */

.page-main { padding-top: var(--header-height); }
.page-container { padding-bottom: 5rem; }
.page-title { font-size: 2rem; margin: 2rem 0; }
@media (min-width: 768px) { .page-title { font-size: 2.5rem; } }
.entry-content { line-height: 1.8; color: var(--muted-foreground); }
.entry-content p + p { margin-top: 1rem; }

.not-found-main { min-height: 100vh; display: flex; align-items: center; justify-content: center; background: var(--secondary); padding-top: 0; }
.not-found-inner { text-align: center; }
.not-found-code { font-size: 2.5rem; font-weight: 700; margin-bottom: 1rem; }
.not-found-message { font-size: 1.25rem; color: var(--muted-foreground); margin-bottom: 1rem; }
.not-found-link { color: var(--primary); text-decoration: underline; }
.not-found-link:hover { color: color-mix(in srgb, var(--primary) 90%, transparent); }

/* ==========================================================================
   WooCommerce Checkout Block (Section 13)
   ========================================================================== */

body.woocommerce-checkout .entry-content { max-width: none; }
body.woocommerce-checkout .site-main {
	padding-top: var(--header-height);
	padding-bottom: 4rem;
}

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,
	body.woocommerce-checkout .wc-block-checkout.wc-block-components-sidebar-layout {
		display: grid;
		grid-template-columns: 1fr 1fr;
		gap: var(--checkout-gap, 4rem);
		align-items: start;
	}
}

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-select select {
	width: 100% !important;
	max-width: none !important;
	font-family: var(--font-body);
	font-size: 0.875rem;
	color: var(--foreground);
	border: 1px solid var(--border);
	border-radius: var(--radius);
	background: var(--card);
	padding: revert;
}
body.woocommerce-checkout .wc-block-components-text-input input:focus,
body.woocommerce-checkout .wc-block-components-select select:focus,
body.woocommerce-checkout .wc-block-components-text-input input:focus-visible {
	outline: none;
	box-shadow: 0 0 0 2px var(--primary);
}
body.woocommerce-checkout .wc-block-components-text-input label,
body.woocommerce-checkout ::placeholder { color: var(--muted-foreground); }

body.woocommerce-checkout .wc-block-components-checkout-place-order-button {
	background: var(--primary) !important;
	color: var(--primary-foreground) !important;
	border-radius: var(--btn-radius) !important;
	font-family: var(--font-body) !important;
	font-weight: 600 !important;
	text-transform: none !important;
	height: 3rem;
}
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);
	grid-column: 1 / -1;
}

body.woocommerce-checkout .wc-block-checkout__sidebar {
	background-color: var(--secondary);
	border-radius: var(--card-radius);
	padding: var(--section-padding);
}

body.woocommerce-checkout .wc-block-components-sidebar-layout { display: block; }
@media (min-width: 768px) {
	body.woocommerce-checkout .wc-block-components-sidebar-layout.is-large {
		display: grid;
		grid-template-columns: 1fr 1fr;
		gap: var(--checkout-gap, 4rem);
	}
}

.woocommerce-checkout .form-row .input-text,
.woocommerce-checkout .form-row select {
	font-family: var(--font-body);
	border: 1px solid var(--border);
	border-radius: var(--radius);
	background: var(--card);
}

/* ==========================================================================
   Cart / My Account width parity (Section 13.7)
   ========================================================================== */

body.woocommerce-cart .site-main,
body.woocommerce-account .site-main { padding-top: var(--header-height); padding-bottom: 4rem; }
body.woocommerce-cart .wc-block-cart, body.woocommerce-account .woocommerce-MyAccount-content { max-width: none; }

/* ==========================================================================
   Thank you page (Section 22.8)
   ========================================================================== */

body.theme-thankyou-page { overflow-x: hidden; }
body.theme-thankyou-page .site-main { padding-top: var(--header-height); padding-bottom: 4rem; }
body.theme-thankyou-page .woocommerce-order { max-width: 56rem; margin: 0 auto; }
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: 1.5rem;
	background: var(--secondary);
	border-radius: var(--card-radius);
	margin: 1.5rem 0;
}
body.theme-thankyou-page .woocommerce-order-overview li { font-size: 0.875rem; }
body.theme-thankyou-page .woocommerce-order-overview li strong { display: block; margin-top: 0.25rem; }
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;
	border: 1px solid var(--border);
	border-radius: var(--radius);
	padding: 1.25rem;
	font-style: normal;
	line-height: 1.7;
}
body.theme-thankyou-page .woocommerce-order-details table {
	width: 100%;
	table-layout: fixed;
	margin-top: 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);
	text-align: left;
	overflow-wrap: break-word;
}
body.theme-thankyou-page .woocommerce-order-details tfoot th { text-align: left; }
body.theme-thankyou-page .woocommerce-order-details tfoot td { text-align: right; }
