/* =====================================================================
   Savage Thingz — theme.css
   Design tokens mirror the original design system (colors, type scale, radii).
   All colors are exposed as CSS variables and re-emitted from the
   Customizer via wp_add_inline_style (see functions.php).
   ===================================================================== */

:root {
	/* Colors — fallbacks; the live values are injected inline by PHP. */
	--color-background: #ffffff;
	--color-foreground: #1e1c26;
	--color-primary: #5a3a8d;
	--color-primary-foreground: #ffffff;
	--color-accent: #7ac144;
	--color-accent-foreground: #1e1c26;
	--color-muted-foreground: #4d485b;
	--color-border: #e5dfec;
	--color-card: #f7f4fa;
	--color-coral-subtle: #f7f3fc;
	--color-surface-deep: #1e1c26;
	--color-surface-deep-foreground: #ffffff;
	--color-destructive: #c32222;
	--color-hero-accent2: #c084fc;
	--color-marquee-accent: #b6f36c;

	--font-display: 'Baloo 2', 'Nunito Sans', system-ui, sans-serif;
	--font-body: 'Nunito Sans', system-ui, sans-serif;

	--radius: 1rem;
	--card-radius: 1rem;
	--logo-height: 80px;
	--header-height: 90px;
	--header-height-scrolled: 64px;

	--shadow-soft: 0 4px 20px -4px rgb(30 28 38 / 0.10);
	--shadow-elevated: 0 12px 40px -12px color-mix(in srgb, var(--color-primary) 55%, transparent);
	--transition-smooth: cubic-bezier(0.4, 0, 0.2, 1);

	--btn-radius: 0.75rem;
	--btn-height: 44px;
	--btn-padding: 0.9rem 2rem;
	--btn-font-size: 0.69rem;
	--btn-font-weight: 600;
	--btn-letter-spacing: 0.28em;
	--btn-text-transform: none;
	--color-button-text: var(--color-primary-foreground);

	--checkout-gap: 2.5rem;
}

/* =====================================================================
   BASE / RESET
   ===================================================================== */
*, *::before, *::after { box-sizing: border-box; }

html, body { max-width: 100%; overflow-x: clip; }

body {
	background: var(--color-background);
	color: var(--color-foreground);
	font-family: var(--font-body);
	font-size: 1rem;
	line-height: 1.75;
	margin: 0;
	-webkit-font-smoothing: antialiased;
}

img, video { max-width: 100%; display: block; }
img:not(.cover-img):not(.hero-video):not(.about-video):not(.contact-video):not(.theme-product-card__image):not(.service-card-image):not(.extras-slide):not(.site-logo-img):not(.footer-logo-img):not(.theme-cart-item-image img) {
	height: auto;
}
.cover-img,
.theme-product-card__image,
.service-card-image,
.collection-tile-media img,
.extras-slide {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	max-width: none;
	object-fit: cover;
	object-position: center;
}

h1, h2, h3, h4, h5, h6 {
	font-family: var(--font-display);
	font-weight: inherit;
	font-size: inherit;
	letter-spacing: -0.02em;
	line-height: 1.15;
	margin: 0;
}
p { margin: 0; }
ul { 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, textarea, select { font-family: inherit; }

/* Pointer on every interactive control (match Lovable cursor-pointer). */
a,
button,
[role="button"],
[data-cart-open],
[data-cart-close],
[data-scroll-to],
.collection-tile,
.shop-cat-pill,
.shop-price-toggle,
.shop-show-more-btn,
.icon-btn,
.theme-card-link,
.theme-product-card__quick-add,
.theme-product-card__title-link,
.ajax_add_to_cart,
.theme-nav-link,
.footer-nav-list a,
.footer-instagram-link,
.footer-contact-list a,
.theme-contact-submit,
.theme-qty-btn,
.theme-cart-remove-btn,
.extras-dot,
label[for],
summary,
select,
input[type="submit"],
input[type="button"],
input[type="reset"],
input[type="checkbox"],
input[type="radio"] {
	cursor: pointer;
}

.container-wide {
	width: 100%;
	max-width: 80rem;
	margin: 0 auto;
	padding: 0 1.5rem;
}
@media (min-width: 1024px) {
	.container-wide { padding: 0 2rem; }
}
.section-pad { padding-top: 2.5rem; padding-bottom: 2.5rem; }
.section-pad-lg { padding-top: 6rem; padding-bottom: 6rem; }
@media (min-width: 768px) {
	.section-pad { padding-top: 4rem; padding-bottom: 4rem; }
	.section-pad-lg { padding-top: 8rem; padding-bottom: 8rem; }
}

.section-eyebrow {
	display: block;
	font-size: 0.75rem;
	letter-spacing: 0.32em;
	text-transform: uppercase;
	color: var(--color-primary);
	font-family: var(--font-body);
	margin-bottom: 0.75rem;
}
.section-heading { font-family: var(--font-display); font-weight: 700; }

.btn-primary, .btn-hero-primary, .theme-btn-primary {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.5rem;
	background: var(--color-primary);
	color: var(--color-primary-foreground);
	padding: var(--btn-padding);
	font-family: var(--font-display);
	font-weight: 600;
	font-size: var(--btn-font-size);
	letter-spacing: var(--btn-letter-spacing);
	text-transform: uppercase;
	border-radius: var(--btn-radius);
	box-shadow: var(--shadow-soft);
	transition: all 0.3s var(--transition-smooth);
	cursor: pointer;
	border: none;
}
.btn-primary:hover, .btn-hero-primary:hover, .theme-btn-primary:hover {
	background: color-mix(in srgb, var(--color-primary) 90%, transparent);
	box-shadow: var(--shadow-elevated);
	transform: translateY(-2px);
}
.btn-hero-outline {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 1.25rem 2.5rem;
	border: 1px solid color-mix(in srgb, var(--color-background) 60%, transparent);
	color: var(--color-background);
	font-family: var(--font-display);
	font-weight: 600;
	font-size: 0.69rem;
	letter-spacing: 0.28em;
	text-transform: uppercase;
	border-radius: var(--btn-radius);
	transition: all 0.3s ease;
}
.btn-hero-outline:hover { background: color-mix(in srgb, var(--color-background) 10%, transparent); }
.theme-btn-outline {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.5rem;
	width: 100%;
	padding: 0.6rem 1rem;
	border: 1px solid var(--color-border);
	background: transparent;
	border-radius: var(--btn-radius);
	font-size: 0.875rem;
	font-weight: 500;
	transition: background 0.2s ease;
}
.theme-btn-outline:hover { background: var(--color-card); }

/* =====================================================================
   ANIMATIONS (Section 2.1) — ported verbatim from tailwindcss-animate use
   ===================================================================== */
@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); } }
@keyframes theme-marquee-scroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@keyframes theme-fade-up { from { opacity: 0; transform: translateY(32px); } to { opacity: 1; transform: translateY(0); } }
@keyframes theme-scale-in { from { opacity: 0; transform: scale(0.94); } to { opacity: 1; transform: scale(1); } }

.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; }

@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after {
		animation-duration: 0.01ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: 0.01ms !important;
		scroll-behavior: auto !important;
	}
}

/* Scroll-reveal items: opacity 0 -> visible on intersect (per-element durations/delays vary). */
.reveal-item {
	opacity: 0;
	transform: translateY(32px);
	transition: opacity 0.7s var(--transition-smooth), transform 0.7s var(--transition-smooth);
}
.reveal-item.is-visible { opacity: 1; transform: translateY(0); }
.reveal-fade { transform: translateY(22px); transition-duration: 0.9s; }
.reveal-fade[data-reveal-delay] { transition-delay: 0s; }
.reveal-item[data-reveal-delay="0.35"] { transition-delay: 0.1s; }
.reveal-item[data-reveal-delay="0.55"] { transition-delay: 0.2s; }
.reveal-item[data-reveal-delay="0.75"] { transition-delay: 0.3s; }

/* Customizer preview fallback (Section 2.1.5) — never hide content in the editor. */
body.is-customizer .reveal-item,
body.is-customizer .reveal-item.reveal-fade {
	opacity: 1 !important;
	transform: none !important;
}

/* =====================================================================
   WP ADMIN BAR — keep sticky header below the toolbar
   ===================================================================== */
body.admin-bar .site-header {
	top: 32px;
}
@media screen and (max-width: 782px) {
	body.admin-bar .site-header {
		top: 46px;
	}
}
@media screen and (max-width: 600px) {
	body.admin-bar .site-header {
		top: 0;
	}
	body.admin-bar {
		padding-top: 0;
	}
}

/* =====================================================================
   HEADER
   ===================================================================== */
.site-header {
	position: sticky;
	top: 0;
	left: 0;
	right: 0;
	z-index: 50;
	background: color-mix(in srgb, var(--color-background) 100%, transparent);
	border-bottom: 1px solid transparent;
	transition: all 0.3s ease;
}
.site-header.is-scrolled, .site-header.mobile-open {
	background: color-mix(in srgb, var(--color-background) 95%, transparent);
	backdrop-filter: blur(6px);
	border-bottom-color: var(--color-border);
}
.site-nav {
	display: flex;
	align-items: center;
	justify-content: space-between;
	height: var(--header-height);
	transition: height 0.3s ease;
	position: relative;
}
.site-header.is-scrolled .site-nav { height: var(--header-height-scrolled); }

.site-brand { display: flex; align-items: center; gap: 0.5rem; flex-shrink: 0; z-index: 1; }
.site-logo-img {
	height: var(--logo-height, 80px) !important;
	width: auto !important;
	max-height: var(--logo-height, 80px);
	max-width: min(220px, 55vw);
	object-fit: contain;
	transition: height 0.3s ease, max-height 0.3s ease;
}
.site-header.is-scrolled .site-logo-img {
	height: calc(var(--logo-height, 80px) * 0.55) !important;
	max-height: calc(var(--logo-height, 80px) * 0.55);
}
.site-logo-text { font-family: var(--font-display); font-weight: 700; font-size: 1.5rem; }
.site-brand-name { font-family: var(--font-display); font-weight: 600; }

.site-nav-links { display: none; }
/* Desktop nav only when there is room for all tabs on one line (~1200px+). */
@media (min-width: 1200px) {
	.site-nav-links {
		display: flex;
		align-items: center;
		gap: 1.5rem;
		position: absolute;
		left: 50%;
		transform: translateX(-50%);
		max-width: calc(100% - 280px);
		flex-wrap: nowrap;
		white-space: nowrap;
	}
}
@media (min-width: 1400px) {
	.site-nav-links { gap: 2rem; }
}
.site-nav-links .theme-nav-list {
	display: flex;
	align-items: center;
	flex-wrap: nowrap;
	gap: inherit;
	margin: 0;
	padding: 0;
	white-space: nowrap;
}
.site-nav-links .theme-nav-list li {
	list-style: none;
	flex-shrink: 0;
}
.site-nav-links .theme-nav-list a,
.site-nav-links .theme-nav-link {
	font-size: 0.875rem;
	font-family: var(--font-display);
	font-weight: 500;
	letter-spacing: 0.2em;
	text-transform: uppercase;
	position: relative;
	transition: color 0.3s ease;
	white-space: nowrap;
}
.site-nav-links .theme-nav-list a::after,
.site-nav-links .theme-nav-link::after {
	content: '';
	position: absolute;
	bottom: -2px;
	left: 0;
	width: 100%;
	height: 1px;
	background: currentColor;
	transform: scaleX(0);
	transform-origin: left;
	transition: transform 0.3s var(--transition-smooth);
}
.site-nav-links .theme-nav-list a:hover::after,
.site-nav-links .theme-nav-link:hover::after { transform: scaleX(1); }

.site-nav-actions { display: flex; align-items: center; gap: 0.5rem; flex-shrink: 0; z-index: 1; }
.icon-btn {
	position: relative;
	padding: 0.5rem;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	transition: opacity 0.2s ease;
}
.icon-btn:hover { opacity: 0.6; }
.theme-shop-search-btn { display: none; }
@media (min-width: 768px) { .theme-shop-search-btn { display: inline-flex; } }
.theme-mobile-toggle { display: inline-flex; }
@media (min-width: 1200px) { .theme-mobile-toggle { display: none; } }
.theme-mobile-toggle .icon-close { display: none; }
#site-header.mobile-open .theme-mobile-toggle .icon-menu { display: none; }
#site-header.mobile-open .theme-mobile-toggle .icon-close { display: block; }

.theme-cart-count {
	position: absolute;
	top: -2px;
	right: -2px;
	min-width: 20px;
	height: 20px;
	padding: 0 4px;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 0.75rem;
	font-weight: 500;
	background: var(--color-primary);
	color: var(--color-primary-foreground);
	border-radius: 999px;
}
.theme-cart-count:empty { display: none; }

.site-mobile-menu { display: none; border-top: 1px solid var(--color-border); padding: 1rem 0; }
.site-mobile-menu.is-open { display: block; animation: theme-fade-in 0.3s ease; }
@media (min-width: 1200px) { .site-mobile-menu { display: none !important; } }
.theme-nav-list-mobile { display: flex; flex-direction: column; gap: 1rem; margin: 0; padding: 0; list-style: none; }
.theme-nav-list-mobile li { list-style: none; }
.theme-nav-list-mobile a {
	display: block;
	text-align: left;
	font-size: 0.875rem;
	font-family: var(--font-display);
	letter-spacing: 0.18em;
	text-transform: uppercase;
	padding: 0.5rem 0;
}

/* =====================================================================
   HERO
   ===================================================================== */
.hero-section { background: var(--color-background); }
.hero-media {
	position: relative;
	width: 100%;
	overflow: hidden;
	height: var(--hero-viewport-height, 100vh);
}
.hero-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-gradient {
	position: absolute;
	inset: 0;
	background: linear-gradient(to bottom,
		color-mix(in srgb, var(--color-foreground) 70%, transparent),
		color-mix(in srgb, var(--color-foreground) 55%, transparent),
		color-mix(in srgb, var(--color-foreground) 75%, transparent));
}
.hero-content { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; padding-bottom: 3.5rem; }
.hero-content-inner { max-width: 42rem; text-align: center; }
.hero-title {
	font-weight: 800;
	color: var(--color-background);
	margin-bottom: 1.5rem;
	font-size: 3rem;
	line-height: 1.05;
}
@media (min-width: 768px) { .hero-title { font-size: 3.75rem; } }
@media (min-width: 1280px) { .hero-title { font-size: 4.5rem; } }
.hero-title-break { display: none; }
@media (min-width: 768px) { .hero-title-break { display: block; } }
.hero-title-accent { color: var(--color-accent); }
.hero-title-accent2 { color: var(--color-hero-accent2); }
.hero-subtitle {
	color: color-mix(in srgb, var(--color-background) 90%, transparent);
	font-size: 1rem;
	line-height: 1.7;
	margin-bottom: 2.5rem;
}
@media (min-width: 768px) { .hero-subtitle { font-size: 1.125rem; } }
.hero-cta-row { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1rem; }
@media (min-width: 640px) { .hero-cta-row { flex-direction: row; } }
.btn-hero-primary { padding: 1.25rem 3rem; }

.hero-marquee {
	position: absolute;
	bottom: 0;
	left: 0;
	right: 0;
	z-index: 10;
	border-top: 1px solid color-mix(in srgb, var(--color-accent) 30%, transparent);
	background: color-mix(in srgb, var(--color-foreground) 85%, transparent);
	backdrop-filter: blur(4px);
	padding: 0.75rem 0;
	overflow: hidden;
}
.hero-marquee-track { display: flex; width: max-content; animation: theme-marquee-scroll 32s linear infinite; }
.hero-marquee:hover .hero-marquee-track { animation-play-state: paused; }
.hero-marquee-copy { display: flex; flex-shrink: 0; align-items: center; }
.hero-marquee-item { display: flex; align-items: center; }
.hero-marquee-text {
	padding: 0 1.25rem;
	font-size: 12px;
	letter-spacing: 0.22em;
	text-transform: uppercase;
	color: var(--color-background);
	white-space: nowrap;
}
@media (min-width: 768px) { .hero-marquee-text { font-size: 13px; } }
.hero-marquee-dot { color: var(--color-marquee-accent); }

/* =====================================================================
   SHOP BY COLLECTION
   ===================================================================== */
.collections-section { background: var(--color-background); }
.section-heading-block { text-align: center; margin-bottom: 2.5rem; }
.collections-heading { font-size: 1.875rem; }
@media (min-width: 768px) { .collections-heading { font-size: 2.25rem; } }
.collections-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 1.25rem;
	max-width: 64rem;
	margin: 0 auto;
}
@media (min-width: 768px) {
	.collections-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 2rem; }
}
.collection-tile { display: flex; flex-direction: column; align-items: center; text-align: center; width: 100%; transition: transform 0.3s var(--transition-smooth); }
.collection-tile:hover { transform: translateY(-6px); }
.collection-tile-media {
	position: relative;
	aspect-ratio: 1 / 1;
	width: 100%;
	overflow: hidden;
	border-radius: var(--card-radius);
	background: var(--color-card);
	box-shadow: var(--shadow-soft);
	transition: box-shadow 0.5s ease;
}
.collection-tile:hover .collection-tile-media { box-shadow: var(--shadow-elevated); }
.collection-tile-media img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	max-width: none;
	object-fit: cover;
	object-position: center;
	filter: blur(1.5px);
	transition: filter 0.5s ease, transform 0.7s var(--transition-smooth);
}
.collection-tile:hover .collection-tile-media img { filter: blur(0); transform: scale(1.06); }
.collection-tile-overlay { position: absolute; inset: 0; background: color-mix(in srgb, var(--color-foreground) 35%, transparent); transition: background 0.5s ease; }
.collection-tile:hover .collection-tile-overlay { background: color-mix(in srgb, var(--color-foreground) 50%, transparent); }
.collection-tile-label-wrap { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; }
.collection-tile-label {
	font-family: var(--font-body);
	font-weight: 600;
	font-size: 15px;
	letter-spacing: 0.28em;
	text-transform: uppercase;
	color: #fff;
	text-shadow: 0 1px 4px rgb(0 0 0 / 0.35);
}
@media (min-width: 768px) { .collection-tile-label { font-size: 18px; } }

/* =====================================================================
   ABOUT
   ===================================================================== */
.about-section { position: relative; overflow: hidden; }
.about-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.about-overlay { position: absolute; inset: 0; background: color-mix(in srgb, var(--color-foreground) 70%, transparent); }
.about-gradient {
	position: absolute; inset: 0;
	background: linear-gradient(to bottom,
		color-mix(in srgb, var(--color-primary) 25%, transparent),
		color-mix(in srgb, var(--color-foreground) 50%, transparent),
		color-mix(in srgb, var(--color-foreground) 70%, transparent));
}
.about-inner { position: relative; }
.about-content { max-width: 56rem; margin: 0 auto; text-align: center; }
.about-eyebrow { color: var(--color-accent); font-weight: 600; }
.about-heading { font-size: 1.875rem; line-height: 1.2; margin-bottom: 1.5rem; color: var(--color-background); }
@media (min-width: 768px) { .about-heading { font-size: 3rem; } }
@media (min-width: 1024px) { .about-heading { font-size: 3.75rem; } }
.about-paragraph { color: color-mix(in srgb, var(--color-background) 90%, transparent); line-height: 1.7; margin: 0 auto 1.25rem; max-width: 42rem; }

/* =====================================================================
   SERVICES
   ===================================================================== */
.services-section { background: var(--color-coral-subtle); padding-bottom: 4rem; }
@media (min-width: 768px) { .services-section { padding-bottom: 6rem; } }
.services-heading-block { text-align: center; padding: 5rem 0; }
@media (min-width: 768px) { .services-heading-block { padding: 7rem 0; } }
.services-heading { font-size: 2.25rem; letter-spacing: -0.02em; line-height: 1.05; }
@media (min-width: 768px) { .services-heading { font-size: 3.75rem; } }
@media (min-width: 1024px) { .services-heading { font-size: 4.5rem; } }
.services-grid { display: grid; grid-template-columns: 1fr; gap: 1rem; }
@media (min-width: 640px) { .services-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 768px) { .services-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.5rem; } }
.service-card {
	position: relative;
	overflow: hidden;
	border-radius: 1rem;
	box-shadow: var(--shadow-elevated);
	height: 20rem;
	transition: transform 0.3s var(--transition-smooth);
}
@media (min-width: 768px) { .service-card { height: 26.25rem; } }
.service-card:hover { transform: translateY(-4px); }
.service-card-image { transition: transform 0.7s ease; }
.service-card:hover .service-card-image { transform: scale(1.05); }
.service-card-gradient {
	position: absolute; inset: 0;
	background: linear-gradient(to top, rgb(0 0 0 / 0.95), rgb(0 0 0 / 0.75), rgb(0 0 0 / 0.45));
	transition: background 0.3s ease;
}
.service-card:hover .service-card-gradient { background: linear-gradient(to top, rgb(0 0 0 / 0.95), rgb(0 0 0 / 0.80), rgb(0 0 0 / 0.55)); }
.service-card-numeral {
	position: absolute; top: 1rem; left: 1rem;
	font-family: var(--font-display);
	font-size: 0.75rem;
	letter-spacing: 0.3em;
	padding: 0.375rem 0.625rem;
	background: color-mix(in srgb, var(--color-foreground) 90%, transparent);
	backdrop-filter: blur(4px);
	border-radius: 999px;
	color: #fff;
}
.service-card-content { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: flex-end; color: #fff; padding: 1.25rem; }
@media (min-width: 768px) { .service-card-content { padding: 1.5rem; } }
.service-card-kicker-row { display: flex; align-items: center; gap: 0.75rem; height: 2.5rem; margin-bottom: 1rem; }
.service-card-icon-wrap {
	display: flex; flex-shrink: 0; align-items: center; justify-content: center;
	height: 2.25rem; width: 2.25rem;
	background: color-mix(in srgb, var(--color-foreground) 90%, transparent);
	backdrop-filter: blur(4px);
	border-radius: 999px;
	transition: background 0.3s ease;
}
.service-card:hover .service-card-icon-wrap { background: var(--color-foreground); }
.service-card-icon { transition: transform 0.3s ease; }
.service-card:hover .service-card-icon { transform: scale(1.1); }
.service-card-icon.accent-white { color: #fff; }
.service-card-icon.accent-lime { color: var(--color-accent); }
.service-card-kicker { font-size: 11px; letter-spacing: 0.3em; text-transform: uppercase; font-weight: 600; white-space: nowrap; }
.service-card-kicker.accent-white { color: #fff; }
.service-card-kicker.accent-lime { color: var(--color-accent); }
.service-card-title {
	font-family: var(--font-display);
	font-size: 1.25rem;
	line-height: 1.15;
	letter-spacing: -0.02em;
	color: #fff;
	margin-bottom: 0.75rem;
	min-height: 2.6em;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}
@media (min-width: 768px) { .service-card-title { font-size: 1.5rem; } }
.service-card-description {
	color: rgb(255 255 255 / 0.95);
	line-height: 1.6;
	font-size: 0.75rem;
	min-height: 5em;
	display: -webkit-box;
	-webkit-line-clamp: 4;
	-webkit-box-orient: vertical;
	overflow: hidden;
	transition: color 0.3s ease;
}
@media (min-width: 768px) { .service-card-description { font-size: 0.875rem; } }

/* =====================================================================
   MEET THE MAKER
   ===================================================================== */
.maker-section { background: var(--color-background); }
/* Match Lovable: grid-cols-1 by default; lg:grid-cols-12 + col-spans only at lg. */
.maker-grid { display: grid; grid-template-columns: 1fr; gap: 2.5rem; align-items: center; }
.maker-media,
.maker-content { min-width: 0; max-width: 100%; }
.maker-media img { position: relative; width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 1rem; box-shadow: var(--shadow-elevated); }
.maker-heading { font-size: 1.875rem; line-height: 1.08; margin-bottom: 1.5rem; overflow-wrap: break-word; }
@media (min-width: 768px) { .maker-heading { font-size: 3rem; } }
.maker-heading-sub { display: block; color: color-mix(in srgb, var(--color-accent-foreground) 60%, transparent); font-size: 1.5rem; margin-top: 0.5rem; font-weight: 400; font-family: var(--font-body); overflow-wrap: break-word; }
@media (min-width: 768px) { .maker-heading-sub { font-size: 1.875rem; } }
.maker-paragraph { color: var(--color-muted-foreground); line-height: 1.7; margin-bottom: 1rem; overflow-wrap: break-word; }
.maker-content .btn-primary { margin-top: 0.5rem; }
@media (min-width: 1024px) {
	.maker-grid { grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 4rem; }
	.maker-media { grid-column: span 5; }
	.maker-content { grid-column: span 7; }
}

/* =====================================================================
   HANDMADE EXTRAS
   ===================================================================== */
.extras-section { background: var(--color-surface-deep); color: var(--color-surface-deep-foreground); }
.extras-pad { padding-top: 2.5rem; padding-bottom: 2.5rem; }
@media (min-width: 768px) { .extras-pad { padding-top: 3rem; padding-bottom: 3rem; } }
.extras-grid { display: grid; grid-template-columns: 1fr; align-items: stretch; overflow: hidden; }
@media (min-width: 1024px) { .extras-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.extras-slider-col { padding: 2rem 1rem; }
@media (min-width: 768px) { .extras-slider-col { padding: 2.5rem 1.5rem; } }
@media (min-width: 1024px) { .extras-slider-col { order: 2; padding: 3.5rem 1.5rem; } }
.extras-slider { position: relative; width: 100%; aspect-ratio: 4 / 3; overflow: hidden; border-radius: 0.75rem; box-shadow: var(--shadow-soft); background: rgb(0 0 0 / 0.1); }
@media (min-width: 1024px) { .extras-slider { aspect-ratio: auto; height: 100%; } }
.extras-slide { opacity: 0; transition: opacity 0.8s ease-in-out; }
.extras-slide.is-active { opacity: 1; }
.extras-slider-dots { position: absolute; bottom: 0.75rem; left: 50%; transform: translateX(-50%); display: flex; gap: 0.375rem; z-index: 2; }
.extras-dot { height: 6px; width: 6px; border-radius: 999px; background: rgb(255 255 255 / 0.5); transition: all 0.3s ease; }
.extras-dot.is-active { width: 1.5rem; background: #fff; }
.extras-content-col { display: flex; align-items: center; padding: 2rem 1.5rem; }
@media (min-width: 768px) { .extras-content-col { padding: 2.5rem 3rem; } }
@media (min-width: 1024px) { .extras-content-col { order: 1; padding: 3.5rem 4rem; } }
@media (min-width: 1280px) { .extras-content-col { padding: 3.5rem 5rem; } }
.extras-content-inner { max-width: 36rem; }
.extras-heading { font-size: 2.25rem; line-height: 1.05; letter-spacing: -0.02em; margin-bottom: 1.75rem; color: var(--color-surface-deep-foreground); }
@media (min-width: 768px) { .extras-heading { font-size: 3rem; } }
@media (min-width: 1024px) { .extras-heading { font-size: 3.75rem; } }
.extras-heading-accent { display: block; font-style: italic; color: var(--color-accent); }
.extras-paragraph { color: color-mix(in srgb, var(--color-surface-deep-foreground) 80%, transparent); line-height: 1.7; margin-bottom: 1.5rem; }
.extras-paragraph-italic { font-style: italic; color: color-mix(in srgb, var(--color-surface-deep-foreground) 70%, transparent); margin-bottom: 2.5rem; }

/* =====================================================================
   SHOP
   ===================================================================== */
.shop-section { background: var(--color-background); }
.shop-heading-block { text-align: center; margin-bottom: 3rem; }
.shop-heading { font-size: 1.875rem; margin-bottom: 2.5rem; }
@media (min-width: 768px) { .shop-heading { font-size: 3rem; } }
.shop-search-wrap { position: relative; max-width: 28rem; margin: 0 auto 2rem; }
.shop-search-icon { position: absolute; left: 0; top: 50%; transform: translateY(-50%); color: var(--color-muted-foreground); }
.shop-search-input {
	width: 100%;
	padding: 0.5rem 0 0.5rem 1.75rem;
	background: transparent;
	border: none;
	border-bottom: 1px solid var(--color-border);
	border-radius: 0;
	font-size: 0.875rem;
	transition: border-color 0.2s ease;
}
.shop-search-input:focus { outline: none; border-color: var(--color-foreground); }
.shop-category-pills { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.5rem; margin-bottom: 1rem; }
.shop-cat-pill {
	padding: 0.5rem 1.25rem;
	font-size: 12px;
	letter-spacing: 0.2em;
	text-transform: uppercase;
	border-radius: 999px;
	border: 1px solid var(--color-border);
	background: transparent;
	color: var(--color-foreground);
	transition: all 0.3s ease;
}
.shop-cat-pill:hover { border-color: var(--color-primary); color: var(--color-primary); }
.shop-cat-pill.is-active { background: var(--color-primary); color: var(--color-primary-foreground); border-color: var(--color-primary); }
.shop-price-filter { display: flex; flex-direction: column; align-items: center; gap: 0.75rem; }
.shop-price-toggle {
	display: flex; align-items: center; gap: 0.5rem;
	padding: 0.5rem 1rem;
	font-size: 12px;
	letter-spacing: 0.2em;
	text-transform: uppercase;
	color: var(--color-muted-foreground);
	transition: color 0.3s ease;
}
.shop-price-toggle:hover { color: var(--color-foreground); }
.shop-price-toggle-value { opacity: 0.7; text-transform: none; letter-spacing: normal; }
.shop-price-chevron { transition: transform 0.3s ease; }
.shop-price-chevron.is-rotated { transform: rotate(180deg); }
.shop-price-panel { width: 100%; max-width: 24rem; overflow: hidden; max-height: 0; opacity: 0; transition: max-height 0.3s var(--transition-smooth), opacity 0.3s var(--transition-smooth); }
.shop-price-panel.is-open { max-height: 200px; opacity: 1; }
.price-range-labels { display: flex; justify-content: space-between; font-size: 0.875rem; color: var(--color-muted-foreground); padding-top: 0.5rem; }

/* Dual-handle price range (Section 31.4) */
.price-range-wrapper { position: relative; height: 1.5rem; margin-top: 0.5rem; }
.range-track-bg, .range-track-fill { position: absolute; height: 4px; top: 50%; transform: translateY(-50%); pointer-events: none; border-radius: 999px; }
.range-track-bg { left: 0; right: 0; background: var(--color-border); }
.range-track-fill { background: var(--color-primary); }
.range-input {
	position: absolute; left: 0; top: 0;
	width: 100%; height: 100%; margin: 0;
	-webkit-appearance: none; appearance: none;
	background: transparent;
	pointer-events: none;
}
.range-input::-webkit-slider-thumb {
	-webkit-appearance: none;
	pointer-events: auto;
	height: 18px; width: 18px;
	border-radius: 50%;
	background: var(--color-background);
	border: 2px solid var(--color-primary);
	cursor: pointer;
	margin-top: 0;
}
.range-input::-moz-range-thumb {
	pointer-events: auto;
	height: 18px; width: 18px;
	border-radius: 50%;
	background: var(--color-background);
	border: 2px solid var(--color-primary);
	cursor: pointer;
}
.range-input::-moz-range-track { background: transparent; border: none; }
.range-input--max { z-index: 3; }
.range-input--min { z-index: 4; }

.theme-product-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 1.5rem;
	align-items: stretch;
}
@media (min-width: 768px) { .theme-product-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2rem; } }
@media (min-width: 1024px) { .theme-product-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.theme-shop-grid-item { display: flex; }
.theme-shop-grid-item[hidden] { display: none; }
.theme-product-card-wrap { width: 100%; display: flex; }
.theme-product-card {
	position: relative;
	display: flex;
	flex-direction: column;
	width: 100%;
}
.theme-card-link { position: absolute; inset: 0; z-index: 2; }
.theme-product-card *:not(.theme-card-link) { pointer-events: none; }
.theme-product-card__quick-add,
.theme-product-card__title-link { pointer-events: auto; }

.theme-product-card__image-wrapper {
	position: relative;
	aspect-ratio: 3 / 4;
	background: var(--color-card);
	overflow: hidden;
	border-radius: 0.75rem;
	box-shadow: var(--shadow-soft);
	margin-bottom: 1.25rem;
	transition: box-shadow 0.3s ease;
}
.theme-product-card:hover .theme-product-card__image-wrapper { box-shadow: var(--shadow-elevated); }
.theme-product-card__image {
	filter: brightness(1.06) contrast(1.03) saturate(1.04);
	transition: filter 0.3s ease, transform 0.7s var(--transition-smooth);
}
.theme-product-card:hover .theme-product-card__image { filter: brightness(1.08) contrast(1.03) saturate(1.04); transform: scale(1.04); }
.theme-product-card__image.is-sold-out { opacity: 0.6; }
.theme-product-badge-soldout {
	position: absolute; top: 0.75rem; left: 0.75rem; z-index: 3;
	padding: 0.25rem 0.75rem;
	font-size: 12px;
	font-weight: 500;
	text-transform: uppercase;
	letter-spacing: 0.18em;
	background: var(--color-foreground);
	color: var(--color-background);
	border-radius: 999px;
}
.theme-product-card__quick-add {
	position: absolute;
	bottom: 0.75rem;
	right: 0.75rem;
	z-index: 3;
	width: 2.5rem;
	height: 2.5rem;
	display: flex;
	align-items: center;
	justify-content: center;
	border-radius: 999px;
	background: var(--color-background);
	color: var(--color-foreground);
	box-shadow: var(--shadow-soft);
	opacity: 1;
	transition: opacity 0.3s ease, transform 0.2s ease;
}
@media (min-width: 768px) {
	.theme-product-card__quick-add { opacity: 0; }
	.theme-product-card:hover .theme-product-card__quick-add { opacity: 1; }
}
.theme-product-card__quick-add:hover { transform: scale(1.08); }
.theme-product-card__info { flex: 1; text-align: center; margin-top: 0.5rem; }
.theme-product-card__title-link { display: block; }
.theme-product-card__title {
	font-family: var(--font-body);
	font-size: 0.875rem;
	font-weight: 500;
	text-transform: uppercase;
	letter-spacing: 0.15em;
	line-height: 1.4;
	color: var(--color-foreground);
	transition: color 0.3s ease;
}
@media (min-width: 768px) { .theme-product-card__title { font-size: 1rem; } }
.theme-product-card:hover .theme-product-card__title { color: var(--color-primary); }
.theme-product-card__price { font-size: 1rem; color: var(--color-foreground); margin-top: 0.5rem; }
@media (min-width: 768px) { .theme-product-card__price { font-size: 1.125rem; } }

.shop-show-more-wrap { text-align: center; margin-top: 3rem; }
.shop-show-more-btn {
	position: relative;
	font-size: 12px;
	letter-spacing: 0.22em;
	text-transform: uppercase;
	font-family: var(--font-body);
	padding-bottom: 2px;
}
.shop-show-more-btn::after {
	content: '';
	position: absolute; bottom: 0; left: 0; width: 100%; height: 1px;
	background: currentColor;
	transform: scaleX(0);
	transform-origin: left;
	transition: transform 0.3s var(--transition-smooth);
}
.shop-show-more-btn:hover::after { transform: scaleX(1); }
.shop-empty-state { text-align: center; padding: 5rem 0; }
.shop-empty-state p { color: var(--color-muted-foreground); }

/* =====================================================================
   CONTACT / FINAL CTA
   ===================================================================== */
.contact-cta-section { position: relative; overflow: hidden; }
.contact-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.contact-overlay { position: absolute; inset: 0; background: color-mix(in srgb, var(--color-foreground) 85%, transparent); }
.contact-inner { position: relative; }
.contact-content { max-width: 56rem; margin: 0 auto; text-align: center; }
.contact-eyebrow { color: var(--color-marquee-accent); font-weight: 600; text-shadow: 0 1px 2px rgb(0 0 0 / 0.2); }
.contact-heading { color: var(--color-background); font-size: 1.875rem; line-height: 1.2; margin-bottom: 1.5rem; }
@media (min-width: 768px) { .contact-heading { font-size: 3rem; } }
@media (min-width: 1024px) { .contact-heading { font-size: 3.75rem; } }
.contact-paragraph { color: var(--color-background); line-height: 1.7; margin: 0 auto 2.5rem; max-width: 32rem; }
.contact-form-wrap { max-width: 42rem; margin: 0 auto 3rem; }
.contact-info-grid { display: grid; grid-template-columns: 1fr; gap: 1.5rem; color: var(--color-background); font-size: 0.875rem; }
@media (min-width: 640px) { .contact-info-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.contact-info-label { font-size: 11px; letter-spacing: 0.28em; text-transform: uppercase; color: var(--color-marquee-accent); margin-bottom: 0.5rem; text-shadow: 0 1px 2px rgb(0 0 0 / 0.2); }
.contact-info-value { transition: color 0.2s ease; word-break: break-word; }
.contact-info-value:hover { color: var(--color-background); opacity: 0.85; }

.theme-contact-form-card {
	background: color-mix(in srgb, var(--color-foreground) 85%, transparent);
	backdrop-filter: blur(6px);
	border: 1px solid color-mix(in srgb, var(--color-background) 20%, transparent);
	border-radius: 1rem;
	padding: 1.5rem;
	text-align: left;
	box-shadow: var(--shadow-elevated);
}
@media (min-width: 768px) { .theme-contact-form-card { padding: 2rem; } }
.theme-contact-form-row { display: grid; grid-template-columns: 1fr; gap: 1rem; }
@media (min-width: 640px) { .theme-contact-form-row { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.theme-contact-field { margin-bottom: 1rem; }
.theme-contact-field label {
	display: block;
	font-size: 12px;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	font-weight: 600;
	color: var(--color-background);
	margin-bottom: 0.5rem;
}
.theme-contact-field input, .theme-contact-field textarea {
	width: 100%;
	padding: 0.75rem 1rem;
	background: color-mix(in srgb, var(--color-background) 95%, transparent);
	border: 1px solid var(--color-border);
	color: var(--color-foreground);
	font-size: 1rem;
	border-radius: 0.75rem;
	transition: box-shadow 0.3s ease;
}
.theme-contact-field textarea { resize: none; }
.theme-contact-field input:focus, .theme-contact-field textarea:focus {
	outline: none;
	box-shadow: 0 0 0 2px color-mix(in srgb, var(--color-accent) 60%, transparent);
}
.theme-contact-error { margin-top: 0.375rem; font-size: 12px; color: var(--color-accent); min-height: 1em; }
.theme-contact-submit {
	width: 100%;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.5rem;
	background: var(--color-primary);
	color: var(--color-primary-foreground);
	padding: 1rem 2.25rem;
	font-family: var(--font-display);
	font-weight: 600;
	font-size: 11px;
	letter-spacing: 0.28em;
	text-transform: uppercase;
	border-radius: var(--btn-radius);
	box-shadow: var(--shadow-soft);
	transition: all 0.3s ease;
}
.theme-contact-submit:hover { background: color-mix(in srgb, var(--color-primary) 90%, transparent); box-shadow: var(--shadow-elevated); }
.theme-contact-submit:disabled { opacity: 0.7; cursor: not-allowed; }
.theme-contact-form-success { text-align: center; padding: 2.5rem 0; }
.theme-contact-success-icon {
	width: 3.5rem; height: 3.5rem;
	background: var(--color-accent);
	color: var(--color-accent-foreground);
	display: flex; align-items: center; justify-content: center;
	margin: 0 auto 1rem;
	border-radius: 999px;
}
.theme-contact-success-title { font-family: var(--font-display); font-size: 1.25rem; color: var(--color-background); margin-bottom: 0.5rem; }
.theme-contact-success-text { font-size: 0.875rem; color: color-mix(in srgb, var(--color-background) 85%, transparent); }

/* =====================================================================
   FOOTER
   ===================================================================== */
.site-footer { border-top: 1px solid var(--color-border); background: var(--color-card); }
.site-footer-inner { padding-top: 3rem; padding-bottom: 1.5rem; }
@media (min-width: 1024px) { .site-footer-inner { padding-top: 4rem; padding-bottom: 2rem; } }
.footer-grid { display: grid; grid-template-columns: 1fr; gap: 2.5rem; }
@media (min-width: 640px) { .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .footer-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 3rem; } }
.footer-brand-col { grid-column: 1 / -1; }
@media (min-width: 640px) { .footer-brand-col { grid-column: span 2; } }
.footer-links-col,
.footer-contact-col {
	min-width: 0;
	text-align: left;
}
.site-footer .footer-logo-img,
.footer-logo-img {
	height: 80px !important;
	max-height: 80px !important;
	max-width: min(220px, 70vw);
	width: auto !important;
	object-fit: contain;
}
.footer-about-text { margin-top: 1rem; max-width: 24rem; font-size: 0.875rem; color: var(--color-muted-foreground); line-height: 1.7; }
.footer-instagram-link { margin-top: 1.25rem; display: inline-flex; align-items: center; gap: 0.5rem; font-size: 0.875rem; color: var(--color-muted-foreground); transition: color 0.2s ease; }
.footer-instagram-link:hover { color: var(--color-foreground); }
.footer-col-heading { font-size: 12px; letter-spacing: 0.24em; text-transform: uppercase; font-family: var(--font-display); font-weight: 600; color: var(--color-foreground); margin-bottom: 1rem; }
.footer-nav-list,
.footer-contact-list {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 0.75rem;
	margin: 0;
	padding: 0;
	list-style: none;
}
.footer-nav-list li,
.footer-contact-list li {
	list-style: none;
	margin: 0;
	padding: 0;
	width: 100%;
}
.footer-nav-list .sub-menu { display: none; }
.footer-nav-list a,
.footer-nav-list .theme-nav-link {
	display: inline-block;
	font-size: 0.875rem;
	font-family: var(--font-body);
	font-weight: 400;
	letter-spacing: normal;
	text-transform: none;
	color: var(--color-muted-foreground);
	transition: color 0.2s ease;
	line-height: 1.5;
}
.footer-nav-list a::after,
.footer-nav-list .theme-nav-link::after {
	display: none !important;
	content: none !important;
}
.footer-nav-list a:hover,
.footer-nav-list .theme-nav-link:hover { color: var(--color-primary); }
.footer-contact-list a { display: flex; align-items: flex-start; gap: 0.5rem; font-size: 0.875rem; color: var(--color-muted-foreground); transition: color 0.2s ease; word-break: break-word; }
.footer-contact-list a:hover { color: var(--color-primary); }
.footer-contact-address { display: flex; align-items: flex-start; gap: 0.5rem; font-size: 0.875rem; color: var(--color-muted-foreground); }
.footer-bottom {
	margin-top: 2.5rem;
	padding-top: 1.25rem;
	border-top: 1px solid var(--color-border);
	display: grid;
	grid-template-columns: 1fr;
	gap: 0.75rem;
	align-items: center;
}
@media (min-width: 640px) { .footer-bottom { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.footer-copyright { font-size: 12px; color: var(--color-muted-foreground); text-align: center; order: 2; }
@media (min-width: 640px) { .footer-copyright { text-align: left; order: 1; } }
.footer-tagline-badge {
	display: inline-flex; align-items: center; gap: 0.5rem;
	padding: 0.375rem 0.75rem;
	border-radius: 999px;
	background: var(--color-card);
	border: 1px solid var(--color-border);
	font-size: 11px;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	font-weight: 500;
	color: var(--color-foreground);
	justify-self: center;
	order: 1;
}
@media (min-width: 640px) { .footer-tagline-badge { order: 2; } }
.footer-tagline-badge svg { color: var(--color-primary); }
.footer-credit { font-size: 12px; color: var(--color-muted-foreground); text-align: center; order: 3; }
@media (min-width: 640px) { .footer-credit { text-align: right; } }
.footer-credit a { text-decoration: underline; }
.footer-credit a:hover { color: var(--color-foreground); }

/* =====================================================================
   SIDE CART DRAWER
   ===================================================================== */
#theme-cart-overlay {
	position: fixed; inset: 0;
	background: color-mix(in srgb, var(--color-foreground) 20%, transparent);
	z-index: 60;
	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(--color-background);
	z-index: 61;
	box-shadow: var(--shadow-elevated);
	display: flex;
	flex-direction: column;
	transform: translateX(100%);
	transition: transform 0.35s var(--transition-smooth);
}
body.cart-open #theme-cart-drawer { transform: translateX(0); }
#theme-cart-drawer.is-updating { opacity: 0.6; pointer-events: none; }
.theme-cart-drawer-header { display: flex; align-items: center; justify-content: space-between; padding: 1.5rem; border-bottom: 1px solid var(--color-border); }
.theme-cart-drawer-title { font-family: var(--font-display); font-size: 1.125rem; font-weight: 700; }
.theme-cart-close { padding: 0.25rem; transition: opacity 0.2s ease; }
.theme-cart-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; }
.theme-cart-drawer-empty svg { color: var(--color-muted-foreground); margin-bottom: 1rem; }
.theme-cart-drawer-empty p { color: var(--color-muted-foreground); margin-bottom: 1.5rem; }
.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 {
	position: relative;
	display: block;
	width: 5rem;
	height: 6rem;
	flex-shrink: 0;
	overflow: hidden;
	border-radius: 0.5rem;
	background: var(--color-card);
}
.theme-cart-item-image img,
.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-info { flex: 1; min-width: 0; }
.theme-cart-item-name { display: block; font-size: 0.875rem; font-weight: 500; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; transition: opacity 0.2s ease; }
.theme-cart-item-name:hover { opacity: 0.7; }
.theme-cart-item-price { font-size: 0.875rem; color: var(--color-muted-foreground); margin-top: 0.125rem; }
.theme-cart-item-variation { font-size: 0.75rem; color: var(--color-muted-foreground); margin-top: 0.25rem; }
.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 0.2s ease; }
.theme-cart-qty-btn:hover { background: var(--color-card); }
.theme-cart-qty-value { font-size: 0.875rem; width: 1.5rem; text-align: center; }
.theme-cart-remove-btn { margin-left: auto; font-size: 0.875rem; color: var(--color-muted-foreground); transition: color 0.2s ease; }
.theme-cart-remove-btn:hover { color: var(--color-foreground); }
.theme-cart-drawer-footer { padding: 1.5rem; border-top: 1px solid var(--color-border); display: flex; flex-direction: column; gap: 1rem; }
.theme-cart-subtotal-row { display: flex; justify-content: space-between; font-size: 0.875rem; }
.theme-cart-subtotal-label { color: var(--color-muted-foreground); }
.theme-cart-subtotal-value { font-weight: 500; }
.theme-cart-shipping-note { font-size: 0.875rem; color: var(--color-muted-foreground); }
.theme-cart-checkout-btn { width: 100%; }
.theme-cart-empty-btn { display: flex; align-items: center; justify-content: center; gap: 0.5rem; }

/* 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 — 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 {
	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: 0.9375rem !important;
	font-weight: 600 !important;
	letter-spacing: normal !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 {
	opacity: 0.85 !important;
	background-color: var(--color-primary) !important;
	color: var(--color-button-text) !important;
}
.single_add_to_cart_button.button:disabled,
.single_add_to_cart_button.button.disabled,
.add_to_cart_button.button:disabled,
.add_to_cart_button.button.disabled {
	cursor: not-allowed !important;
	opacity: 0.4 !important;
	pointer-events: none !important;
}
.single_add_to_cart_button.button:disabled:hover,
.single_add_to_cart_button.button.disabled:hover,
.add_to_cart_button.button:disabled:hover,
.add_to_cart_button.button.disabled:hover {
	opacity: 0.4 !important;
	background-color: var(--color-primary) !important;
}
/* Card compact quick-add button — overrides global rules above */
.theme-product-card .add_to_cart_button.ajax_add_to_cart {
	min-height: unset !important;
	padding: 0 !important;
	width: 2.5rem !important;
	height: 2.5rem !important;
	border-radius: 50% !important;
	background: var(--color-background) !important;
	color: var(--color-foreground) !important;
	box-shadow: var(--shadow-soft) !important;
}
.theme-product-card .add_to_cart_button.ajax_add_to_cart:hover {
	background: var(--color-background) !important;
	color: var(--color-foreground) !important;
	opacity: 1 !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; }

/* =====================================================================
   WOOCOMMERCE NOTICES (Section 14.1) — scoped
   ===================================================================== */
.single-product .woocommerce-message,
.single-product .woocommerce-info { display: none; }
#theme-cart-drawer .woocommerce-message { display: none; }
.woocommerce-message, .woocommerce-info, .woocommerce-error {
	font-family: var(--font-body);
	border-radius: 0.5rem;
	padding: 1rem 1.5rem;
	border-top: 3px solid var(--color-primary);
	background: var(--color-card);
	color: var(--color-foreground);
	list-style: none;
	margin: 0 0 1.5rem;
}
.woocommerce-error { border-top-color: var(--color-destructive); }

/* =====================================================================
   SINGLE PRODUCT PAGE
   ===================================================================== */
.single-product-page { padding-top: 2rem; background: var(--color-background); }
.theme-breadcrumb { padding: 0.5rem 0 1rem; font-size: 13px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--color-muted-foreground); font-family: var(--font-body); }
.theme-breadcrumb a:hover { color: var(--color-foreground); }
.theme-breadcrumb-sep { margin: 0 0.5rem; opacity: 0.5; }
.theme-breadcrumb-current { color: var(--color-foreground); }

/* Match Lovable: grid-cols-1 by default; lg:grid-cols-12 + col-spans only at lg. */
.theme-product-layout {
	display: grid;
	grid-template-columns: 1fr;
	gap: 2.5rem;
	padding-bottom: 6rem;
	padding-top: 1rem;
	align-items: start;
	min-width: 0;
	max-width: 100%;
}
.theme-product-gallery,
.theme-product-info { min-width: 0; max-width: 100%; }
.theme-product-main-image {
	position: relative;
	width: 100%;
	aspect-ratio: 1 / 1;
	background: var(--color-card);
	overflow: hidden;
	box-shadow: var(--shadow-soft);
	border-radius: 0.75rem;
}
.theme-product-main-image img,
.theme-product-main-image .cover-img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	max-width: none;
	object-fit: cover;
	object-position: center;
	filter: brightness(1.06) contrast(1.03) saturate(1.04);
	transition: all 0.3s ease;
}
.theme-product-main-image:hover img { filter: brightness(1.08) contrast(1.03) saturate(1.04); transform: scale(1.02); }
.theme-product-thumbnails { display: flex; gap: 0.75rem; margin-top: 1rem; overflow-x: auto; padding-bottom: 0.25rem; flex-wrap: wrap; max-width: 100%; }
.theme-product-thumb { position: relative; width: 5rem; height: 5rem; flex-shrink: 0; overflow: hidden; background: var(--color-card); box-shadow: var(--shadow-soft); border-radius: 0.5rem; }
@media (min-width: 768px) { .theme-product-thumb { width: 6rem; height: 6rem; } }
.theme-product-thumb img,
.theme-product-thumb .cover-img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	max-width: none;
	object-fit: cover;
	filter: brightness(1.06) contrast(1.03) saturate(1.04);
	opacity: 0.6;
	transition: opacity 0.3s ease;
}
.theme-product-thumb:hover img, .theme-product-thumb.is-active img { opacity: 1; }
.theme-product-thumb::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--color-foreground); opacity: 0; transition: opacity 0.2s ease; }
.theme-product-thumb.is-active::after { opacity: 1; }

@media (min-width: 1024px) {
	.theme-product-layout { grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 4rem; }
	.theme-product-gallery { grid-column: span 7; }
	.theme-product-info { grid-column: span 5; padding-left: 1rem; position: sticky; top: 7rem; }
}
.theme-product-category { font-size: 13px; letter-spacing: 0.25em; text-transform: uppercase; color: var(--color-muted-foreground); }
.theme-product-title.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;
}
@media (min-width: 768px) { .theme-product-title.product-title { font-size: 2.25rem; } }
@media (min-width: 1024px) { .theme-product-title.product-title { font-size: 2.75rem; } }
.theme-product-price { font-size: 1.25rem; margin-bottom: 1.5rem; }
.theme-product-stock { font-size: 0.875rem; margin-bottom: 1rem; }
.theme-product-stock.is-out-of-stock { color: var(--color-destructive); font-weight: 600; }
.theme-product-intro { color: var(--color-muted-foreground); line-height: 1.7; margin-bottom: 2rem; overflow-wrap: break-word; word-break: break-word; font-size: 1rem; }

.theme-quantity-block { margin-bottom: 1rem; width: 100%; }
.theme-quantity-label {
	font-size: 13px;
	letter-spacing: 0.2em;
	text-transform: uppercase;
	font-family: var(--font-body);
	color: var(--color-muted-foreground);
	margin: 0 0 0.75rem;
	font-weight: 400;
}
.theme-quantity-wrapper { display: inline-flex; align-items: center; border: 1px solid var(--color-border); border-radius: var(--btn-radius); }
.theme-qty-minus, .theme-qty-plus { padding: 0.6rem 0.75rem; transition: background 0.2s ease; }
.theme-qty-minus:hover, .theme-qty-plus:hover { background: var(--color-card); }
.theme-qty-input { width: 3rem; min-width: 44px; text-align: center; border: none; background: transparent; -moz-appearance: textfield; font-size: 0.875rem; }
.theme-qty-input::-webkit-outer-spin-button, .theme-qty-input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }

.single-product .theme-add-to-cart-area {
	display: flex;
	flex-direction: column;
	align-items: stretch;
	gap: 1rem;
	margin-bottom: 0.5rem;
}
.single-product .single_add_to_cart_button { width: 100%; }

.theme-accordions { margin-top: 2.5rem; border-top: 1px solid var(--color-border); }
.theme-accordion { border-bottom: 1px solid var(--color-border); }
.theme-accordion-toggle { width: 100%; display: flex; align-items: center; justify-content: space-between; padding: 1.25rem 0; text-align: left; font-size: 13px; letter-spacing: 0.25em; text-transform: uppercase; font-family: var(--font-body); }
.theme-accordion-chevron { transition: transform 0.3s ease; flex-shrink: 0; }
.theme-accordion.is-open .theme-accordion-chevron { transform: rotate(180deg); }
.theme-accordion-panel { display: none; padding-bottom: 1.5rem; }
.theme-accordion.is-open .theme-accordion-panel { display: block; }
.theme-product-description {
	font-size: 15px;
	color: var(--color-muted-foreground);
	line-height: 1.7;
	margin: 0 0 1rem;
	overflow-wrap: break-word;
	word-break: break-word;
	white-space: pre-line;
}
.theme-product-details { font-size: 15px; color: var(--color-muted-foreground); line-height: 1.7; overflow-wrap: break-word; word-break: break-word; }
.theme-product-details ul { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 0.5rem; }
.theme-product-details li { position: relative; padding-left: 1rem; margin: 0; color: var(--color-muted-foreground); font-size: 15px; line-height: 1.7; }
.theme-product-details li::before { content: ''; position: absolute; left: 0; top: 0.55em; width: 4px; height: 4px; border-radius: 999px; background: var(--color-foreground); }
.theme-accordion-panel p { margin-bottom: 0.75rem; color: var(--color-muted-foreground); line-height: 1.7; font-size: 15px; }
.theme-accordion-panel p:last-child { margin-bottom: 0; }

.related-products-section { padding: 5rem 0; border-top: 1px solid var(--color-border); }
.related-products-heading { text-align: center; margin-bottom: 3rem; }
.related-products-heading-pre { font-family: var(--font-display); font-style: italic; font-size: 1rem; color: var(--color-muted-foreground); margin-bottom: 0.5rem; font-weight: 400; }
.related-products-heading-main { font-family: var(--font-display); font-weight: 400; font-size: 1.875rem; }
@media (min-width: 768px) { .related-products-heading-main { font-size: 2.25rem; } }

/* =====================================================================
   SHOP ARCHIVE
   ===================================================================== */
.shop-archive-page { padding-top: 2rem; }
.shop-archive-header { text-align: center; margin-bottom: 2.5rem; }
.shop-archive-title { font-family: var(--font-display); font-weight: 700; font-size: 2rem; }
.shop-archive-empty { text-align: center; padding: 4rem 0; color: var(--color-muted-foreground); }
.woocommerce-pagination { text-align: center; margin-top: 3rem; }
.woocommerce-pagination ul { display: inline-flex; gap: 0.5rem; }
.woocommerce-pagination a, .woocommerce-pagination span { padding: 0.5rem 1rem; border: 1px solid var(--color-border); border-radius: 0.5rem; }

/* =====================================================================
   404 PAGE
   ===================================================================== */
.theme-404-page { min-height: 60vh; display: flex; align-items: center; justify-content: center; }
.theme-404-inner { text-align: center; padding: 4rem 1.5rem; }
.theme-404-title { font-family: var(--font-display); font-weight: 800; font-size: 2.5rem; margin-bottom: 1rem; }
.theme-404-message { color: var(--color-muted-foreground); margin-bottom: 1.5rem; }
.theme-404-link { color: var(--color-primary); text-decoration: underline; }
.theme-404-link:hover { opacity: 0.8; }

/* =====================================================================
   GENERIC PAGE / CHECKOUT / CART / ACCOUNT / THANK YOU
   ===================================================================== */
.generic-page { padding-top: 3rem; padding-bottom: 4rem; }
.page-title { font-family: var(--font-display); font-weight: 700; font-size: 2rem; margin-bottom: 2rem; }

body.woocommerce-checkout .site-main,
body.woocommerce-cart .site-main,
body.woocommerce-account .site-main {
	padding-top: 3rem;
	padding-bottom: 4rem;
}

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);
	border: 1px solid var(--color-border);
	border-radius: 0.6rem;
	background: var(--color-background);
	color: var(--color-foreground);
	padding: revert;
}
body.woocommerce-checkout .wc-block-components-text-input input:focus,
body.woocommerce-checkout .wc-block-components-select select:focus {
	outline: none;
	border-color: var(--color-primary);
	box-shadow: 0 0 0 2px color-mix(in srgb, var(--color-accent) 40%, transparent);
}
body.woocommerce-checkout .wc-block-components-checkout-place-order-button {
	background: var(--color-primary) !important;
	color: var(--color-primary-foreground) !important;
	border-radius: var(--btn-radius) !important;
	font-family: var(--font-body) !important;
	text-transform: none !important;
}
body.woocommerce-checkout .wc-block-components-checkout-place-order-button:hover { opacity: 0.9; }
body.woocommerce-checkout .wc-block-components-notice-banner {
	border-radius: 0.5rem;
	font-family: var(--font-body);
}
body.woocommerce-checkout .wc-block-checkout__sidebar {
	background-color: var(--color-card);
	border-radius: var(--card-radius);
	padding: 2rem;
}
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;
	}
}

/* Thank you page (Section 22.8) */
body.theme-thankyou-page { overflow-x: hidden; }
body.theme-thankyou-page .woocommerce-order h2,
body.theme-thankyou-page .woocommerce-order-details__title {
	font-family: var(--font-display);
	padding: 0 0 1rem 0;
	font-size: 1.5rem;
}
body.theme-thankyou-page .woocommerce-order-overview {
	display: flex;
	flex-wrap: wrap;
	gap: 1.5rem;
	list-style: none;
	padding: 0;
	margin: 1.5rem 0;
}
body.theme-thankyou-page .woocommerce-order-overview li { border-right: 1px solid var(--color-border); padding-right: 1.5rem; }
body.theme-thankyou-page .woocommerce-order-details table { width: 100%; table-layout: fixed; border-collapse: collapse; margin: 1.5rem 0; }
body.theme-thankyou-page .woocommerce-order-details th,
body.theme-thankyou-page .woocommerce-order-details td { padding: 0.75rem; border-bottom: 1px solid var(--color-border); text-align: left; }
body.theme-thankyou-page .woocommerce-order-details tfoot th { text-align: left; }
body.theme-thankyou-page .woocommerce-order-details tfoot td { text-align: right; }
body.theme-thankyou-page .woocommerce-customer-details {
	display: flex;
	flex-direction: column;
	gap: 1.5rem;
	margin-top: 2rem;
}
body.theme-thankyou-page .woocommerce-customer-details address {
	max-width: 480px;
	overflow-wrap: break-word;
	font-style: normal;
	line-height: 1.7;
}

/* Cart / Account pages width parity (Section 13.7) */
body.woocommerce-cart .entry-content,
body.woocommerce-account .entry-content { max-width: none; }
