/* =========================================================================
   Sleeves by Travis — theme stylesheet
   ========================================================================= */

:root {
	--font-display: 'Fraunces', serif;
	--font-body: 'Inter', sans-serif;
	--radius: 0.75rem;
	--shadow-soft: 0 4px 20px -4px rgba(6, 6, 20, 0.5);
	--shadow-elevated: 0 14px 44px -14px rgba(6, 6, 20, 0.65);
	--transition-smooth: cubic-bezier(0.4, 0, 0.2, 1);
	--header-height-mobile: 96px;
	--header-height-desktop: 128px;

	--btn-radius: 999px;
	--btn-height: 3rem;
	--btn-padding: 0.9rem 2.25rem;
	--btn-font-size: 12px;
	--btn-font-weight: 600;
	--btn-letter-spacing: 0.22em;
	--btn-text-transform: uppercase;
	--btn-icon-padding: 0.5rem;
	--checkout-gap: 2rem;
}

/* ---------------------------------------------------------------------
   Reset & base
   --------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html, body { max-width: 100%; overflow-x: clip; }
html { scroll-behavior: smooth; }
body {
	margin: 0;
	background: var(--color-background);
	color: var(--color-foreground);
	font-family: var(--font-body);
	-webkit-font-smoothing: antialiased;
	line-height: 1.5;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
input, select, textarea { font-family: inherit; }
[hidden] { display: none !important; }

a[href], button, summary, select, label[for], [role="button"], [data-open-contact-modal], [data-section-anchor],
input[type="file"], input[type="submit"], input[type="button"], input[type="range"], input[type="checkbox"], input[type="radio"],
.category-tile, .attribute-pill, .theme-card-link, .custom-order-form__upload, .single-product__thumb {
	cursor: pointer;
}
button:disabled, button.disabled, input:disabled, select:disabled { cursor: not-allowed; }
.theme-icon { flex-shrink: 0; }
section[id] { scroll-margin-top: var(--header-height-mobile); }
@media (min-width: 768px) { section[id] { scroll-margin-top: var(--header-height-desktop); } }
::selection { background: color-mix( in srgb, var(--color-accent) 25%, transparent ); }

h1, h2, h3, h4, h5, h6 {
	font-family: var(--font-display);
	font-weight: inherit;
	font-size: inherit;
	letter-spacing: 0;
	margin: 0;
}

.container-wide {
	width: 100%;
	max-width: 80rem;
	margin-left: auto;
	margin-right: auto;
	padding-left: 1.5rem;
	padding-right: 1.5rem;
}
@media (min-width: 1024px) {
	.container-wide { padding-left: 2rem; padding-right: 2rem; }
}

.sr-only, .screen-reader-text {
	position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
	overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

.cover-img,
.hero-media__video,
.theme-product-card-img,
.single-product__main-image,
.single-product__thumb img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

/* ---------------------------------------------------------------------
   Site main / header offset
   --------------------------------------------------------------------- */
.site-main { padding-top: var(--header-height-mobile); }
@media (min-width: 768px) {
	.site-main { padding-top: var(--header-height-desktop); }
}

/* ---------------------------------------------------------------------
   Scroll reveal animations (Section 2.1)
   --------------------------------------------------------------------- */
.reveal-item {
	opacity: 0;
	transform: translateY(24px);
	transition: opacity 0.7s var(--transition-smooth), transform 0.7s var(--transition-smooth);
}
.reveal-item.is-visible { opacity: 1; transform: translateY(0); }
.scale-in-item { transform: scale(0.94); }
.scale-in-item.is-visible { transform: scale(1); }

body.is-customizer .reveal-item,
body.is-customizer .scale-in-item {
	opacity: 1 !important;
	transform: none !important;
}

@media (prefers-reduced-motion: reduce) {
	.reveal-item { transition: none; opacity: 1; transform: none; }
	*, *::before, *::after {
		animation-duration: 0.01ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: 0.01ms !important;
		scroll-behavior: auto !important;
	}
}

@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes marqueeScroll { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }
@keyframes shimmerSweep { 0% { background-position: 200% 0; } 100% { background-position: -200% 0; } }

/* ---------------------------------------------------------------------
   Buttons
   --------------------------------------------------------------------- */
.btn-hero-primary, .btn-hero-outline, .btn-outline-pill, .btn-contact-primary, .btn-contact-outline {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.5rem;
	font-family: var(--font-body);
	font-size: 12px;
	font-weight: 600;
	letter-spacing: 0.22em;
	text-transform: uppercase;
	border-radius: 999px;
	border: 1px solid transparent;
	cursor: pointer;
	transition: transform 0.3s ease, background-color 0.3s ease, color 0.3s ease, opacity 0.3s ease;
}
.btn-hero-primary {
	background: var(--color-primary);
	color: var(--color-primary-foreground);
	padding: 1rem 2.5rem;
	position: relative;
	overflow: hidden;
}
.btn-hero-primary:hover { transform: translateY(-4px); }
.btn-hero-outline {
	background: transparent;
	color: var(--color-accent-foreground);
	border-color: color-mix(in srgb, var(--color-accent-foreground) 80%, transparent);
	padding: 1rem 2rem;
}
.btn-hero-outline:hover { background: color-mix(in srgb, var(--color-accent-foreground) 10%, transparent); }
.btn-outline-pill {
	background: transparent;
	color: var(--color-primary);
	border-color: var(--color-primary);
	padding: 0.85rem 2rem;
}
.btn-outline-pill:hover { background: var(--color-primary); color: var(--color-primary-foreground); }
.btn-contact-primary {
	background: var(--color-primary);
	color: var(--color-primary-foreground);
	padding: 0.9rem 1.75rem;
	text-transform: none;
	letter-spacing: normal;
	font-size: 14px;
	font-weight: 500;
}
.btn-contact-primary:hover { background: color-mix(in srgb, var(--color-primary) 90%, transparent); transform: translateY(-2px); }
.btn-contact-outline {
	background: color-mix(in srgb, var(--color-background) 80%, transparent);
	color: var(--color-foreground);
	border: 1px solid color-mix(in srgb, var(--color-foreground) 15%, transparent);
	padding: 0.9rem 1.75rem;
	text-transform: none;
	letter-spacing: normal;
	font-size: 14px;
	font-weight: 500;
}
.btn-contact-outline:hover { background: var(--color-background); transform: translateY(-2px); }

/* Gold-sheen hover sweep on hero primary CTA */
.btn-hero-primary::after {
	content: '';
	position: absolute;
	inset: 0;
	background: linear-gradient(110deg, transparent 35%, color-mix(in srgb, var(--color-marigold) 28%, transparent) 50%, transparent 65%);
	transform: translateX(-120%);
	transition: transform 0.9s var(--transition-smooth);
	pointer-events: none;
}
.btn-hero-primary:hover::after { transform: translateX(120%); }
.btn-hero-primary .theme-icon, .btn-hero-outline .theme-icon { width: 1rem; height: 1rem; }
.btn-hero-primary__arrow { transition: transform 0.15s ease; }
.btn-hero-primary:hover .btn-hero-primary__arrow { transform: translateX(4px); }

/* ---------------------------------------------------------------------
   Header
   --------------------------------------------------------------------- */
.site-header {
	position: fixed;
	top: 0; left: 0; right: 0;
	z-index: 50;
	width: 100%;
	height: var(--header-height-mobile);
	background: color-mix(in srgb, var(--color-background) 95%, transparent);
	backdrop-filter: blur(12px);
	box-shadow: var(--shadow-elevated);
	border-bottom: 1px solid color-mix(in srgb, var(--color-accent) 30%, transparent);
}
@media (min-width: 768px) {
	.site-header { height: var(--header-height-desktop); }
}

/* WordPress admin bar offset */
.admin-bar .site-header { top: 32px; }
.admin-bar #theme-cart-drawer { top: 32px; height: calc(100% - 32px); }
.admin-bar .single-product__info { top: calc(var(--header-height-desktop) + 32px + 1rem); }
.admin-bar .hero-media,
.admin-bar .hero-media__content { min-height: calc(100svh - var(--header-height-mobile) - 46px); }
@media (min-width: 768px) {
	.admin-bar .hero-media,
	.admin-bar .hero-media__content { min-height: calc(100dvh - var(--header-height-desktop) - 32px); }
}
@media (max-width: 782px) {
	.admin-bar .site-header { top: 46px; }
	.admin-bar #theme-cart-drawer { top: 46px; height: calc(100% - 46px); }
}
@media (max-width: 600px) {
	#wpadminbar { position: fixed; }
}

.site-header__inner { height: 100%; }
.site-nav { display: flex; align-items: center; justify-content: space-between; height: 100%; }
.site-nav__side { display: none; align-items: center; gap: 1.75rem; flex: 1; }
.site-nav__side--left { justify-content: flex-start; }
.site-nav__side--right { justify-content: flex-end; }
@media (min-width: 1024px) {
	.site-nav__side { display: flex; }
	.site-nav__mobile { display: none; }
}
.theme-nav-list { display: flex; align-items: center; gap: 1.75rem; list-style: none; margin: 0; padding: 0; }
.theme-nav-list li { display: flex; }
.theme-nav-link, .theme-nav-list a {
	font-family: var(--font-body);
	font-size: 13px;
	font-weight: 500;
	letter-spacing: 0.025em;
	line-height: 1.5;
	color: var(--color-accent-foreground);
	position: relative;
	transition: color 0.3s ease;
}
.theme-nav-link::after, .theme-nav-list a::after {
	content: '';
	position: absolute;
	bottom: -6px; left: 0;
	height: 1px; width: 100%;
	background: var(--color-accent);
	transform: scaleX(0);
	transform-origin: right;
	transition: transform 0.3s ease;
}
.theme-nav-link:hover, .theme-nav-list a:hover { color: var(--color-accent); }
.theme-nav-link:hover::after, .theme-nav-list a:hover::after { transform: scaleX(1); transform-origin: left; }

.site-logo { display: none; align-items: center; justify-content: center; flex-shrink: 0; margin: 0 1rem; }
@media (min-width: 1024px) { .site-logo { display: flex; } }
/* Scoped to beat WooCommerce's `.woocommerce img { height: auto; max-width: 100% }`. */
.site-header .site-logo-img {
	height: calc(var(--logo-height, 104px) * 0.73);
	width: calc(var(--logo-height, 104px) * 2.02);
	max-width: none;
	object-fit: contain;
	padding: 0.5rem 0;
	transition: transform 0.5s ease;
}
@media (min-width: 768px) {
	.site-header .site-logo-img { height: var(--logo-height, 104px); width: calc(var(--logo-height, 104px) * 2.79); }
}
.site-logo:hover .site-logo-img { transform: scale(1.03); }
.site-logo--mobile { display: flex; align-items: center; flex-shrink: 0; height: 100%; }
.site-header .site-logo-img.site-logo-img--mobile {
	height: calc(var(--logo-height, 104px) * 0.69);
	width: calc(var(--logo-height, 104px) * 1.63);
	transition-duration: 0.3s;
}
.site-logo-text { font-family: var(--font-display); font-size: 1.25rem; color: var(--color-accent-foreground); }

.cart-toggle {
	position: relative;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 2.25rem; height: 2.25rem;
	border-radius: 999px;
	border: 1px solid color-mix(in srgb, var(--color-accent) 50%, transparent);
	background: transparent;
	color: var(--color-accent-foreground);
	transition: border-color 0.3s ease, color 0.3s ease;
}
.cart-toggle:hover { border-color: var(--color-accent); color: var(--color-accent); }
.cart-toggle__icon { width: 1rem; height: 1rem; }
.theme-cart-count {
	position: absolute;
	top: -6px; right: -6px;
	min-width: 18px; height: 18px;
	display: flex; align-items: center; justify-content: center;
	padding: 0 4px;
	font-size: 10px; font-weight: 600;
	border-radius: 999px;
	background: var(--color-primary);
	color: var(--color-primary-foreground);
}
.theme-cart-count:empty { display: none; }

.site-nav__mobile { display: flex; align-items: center; justify-content: space-between; width: 100%; height: 100%; }
@media (min-width: 1024px) { .site-nav__mobile { display: none; } }
.site-nav__mobile-actions { display: flex; align-items: center; gap: 0.75rem; }
.mobile-menu-toggle { display: inline-flex; background: none; border: none; padding: 0.5rem; margin-right: -0.5rem; color: var(--color-accent-foreground); transition: color 0.3s ease; }
.mobile-menu-toggle:hover { color: var(--color-accent); }
.mobile-menu-toggle__close { display: none; }
.mobile-menu-toggle.is-open .mobile-menu-toggle__open { display: none; }
.mobile-menu-toggle.is-open .mobile-menu-toggle__close { display: block; }

.mobile-menu-panel {
	position: absolute; top: 100%; left: 0; right: 0;
	border-top: 1px solid color-mix(in srgb, var(--color-accent) 30%, transparent);
	background: var(--color-background);
	box-shadow: var(--shadow-elevated);
	animation: fadeIn 0.3s ease;
}
@media (min-width: 1024px) { .mobile-menu-panel { display: none !important; } }
.theme-nav-list--mobile { flex-direction: column; align-items: stretch; gap: 0; padding: 1rem 1.5rem; max-height: calc(100dvh - var(--header-height-mobile)); overflow-y: auto; }
.theme-nav-list--mobile li { display: block; border-bottom: 1px solid color-mix(in srgb, var(--color-accent-foreground) 15%, transparent); }
.theme-nav-list--mobile a { display: block; padding: 0.875rem 0; font-size: 14px; letter-spacing: normal; }
.theme-nav-list--mobile a::after { display: none; }
.theme-nav-list--mobile a:hover { color: var(--color-accent); }

/* ---------------------------------------------------------------------
   Hero
   --------------------------------------------------------------------- */
.hero-section { position: relative; }
.hero-media { position: relative; width: 100%; overflow: hidden; background: var(--color-background); min-height: calc(100svh - 96px); }
@media (min-width: 768px) { .hero-media { min-height: calc(100dvh - 128px); } }
.hero-media__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-media__overlay {
	position: absolute; inset: 0;
	background: linear-gradient(to bottom, color-mix(in srgb, var(--color-background) 70%, transparent), color-mix(in srgb, var(--color-background) 55%, transparent), color-mix(in srgb, var(--color-background) 80%, transparent));
}
.hero-media__content {
	position: relative;
	min-height: calc(100svh - 96px);
	display: flex; align-items: center; justify-content: center;
	padding-top: 4rem; padding-bottom: 4rem;
	text-align: center;
}
@media (min-width: 768px) { .hero-media__content { min-height: calc(100dvh - 128px); } }
.hero-media__inner { display: flex; max-width: 56rem; flex-direction: column; align-items: center; padding: 0 0.5rem; }
.hero-title {
	color: var(--color-accent-foreground);
	line-height: 1.02;
	font-size: 2.25rem;
	font-weight: 400;
}
@media (min-width: 640px) { .hero-title { font-size: 3rem; } }
@media (min-width: 768px) { .hero-title { font-size: 3.75rem; } }
@media (min-width: 1024px) { .hero-title { font-size: 4.5rem; } }
.hero-title__italic { font-style: italic; color: var(--color-accent); }
.hero-subtitle {
	margin-top: 1.75rem;
	max-width: 42rem;
	color: color-mix(in srgb, var(--color-accent-foreground) 90%, transparent);
	font-size: 1rem;
	line-height: 1.7;
}
@media (min-width: 768px) { .hero-subtitle { font-size: 1.25rem; } }
.hero-actions { margin-top: 2.5rem; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1rem; }
@media (min-width: 640px) { .hero-actions { flex-direction: row; } }

/* ---------------------------------------------------------------------
   Marquee
   --------------------------------------------------------------------- */
.marquee-band {
	position: relative;
	overflow: hidden;
	background: color-mix(in srgb, var(--color-secondary) 60%, transparent);
	border-top: 1px solid color-mix(in srgb, var(--color-border) 60%, transparent);
	border-bottom: 1px solid color-mix(in srgb, var(--color-border) 60%, transparent);
	padding: 1.25rem 0;
}
@media (min-width: 768px) { .marquee-band { padding: 1.5rem 0; } }
.marquee-track {
	display: flex; align-items: center; gap: 2rem;
	white-space: nowrap;
	will-change: transform;
	animation: marqueeScroll 35s linear infinite;
	width: max-content;
}
.marquee-band:hover .marquee-track { animation-play-state: paused; }
.marquee-item { display: inline-flex; align-items: center; gap: 2rem; }
.marquee-word { font-family: var(--font-body); font-size: 13px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.22em; }
@media (min-width: 768px) { .marquee-word { font-size: 15px; } }
.marquee-word--teal { color: var(--color-teal); }
.marquee-word--accent { color: var(--color-accent); }
.marquee-word--marigold { color: var(--color-marigold); }
.marquee-word--lilac { color: var(--color-lilac); }
.marquee-word--nopal { color: var(--color-nopal); }
.marquee-sparkle { width: 0.875rem; height: 0.875rem; color: color-mix(in srgb, var(--color-muted-foreground) 60%, transparent); }
@media (min-width: 768px) { .marquee-sparkle { width: 1rem; height: 1rem; } }

/* ---------------------------------------------------------------------
   Shared section head
   --------------------------------------------------------------------- */
.section-head--center { max-width: 42rem; margin: 0 auto 3.5rem; text-align: center; }
@media (min-width: 768px) { .section-head--center { margin-bottom: 5rem; } }
.section-kicker {
	display: inline-flex; align-items: center; gap: 0.5rem;
	font-size: 12px; letter-spacing: 0.32em; text-transform: uppercase;
	color: var(--color-accent); font-weight: 600; margin-bottom: 1rem;
}
.section-kicker .theme-icon { width: 1rem; height: 1rem; }
.section-heading { font-weight: 400; }
.section-heading__italic { font-style: italic; color: var(--color-primary); }
.section-description { color: color-mix(in srgb, var(--color-foreground) 70%, transparent); font-size: 1rem; line-height: 1.625; margin: 0; }
@media (min-width: 768px) { .section-description { font-size: 1.125rem; } }

/* ---------------------------------------------------------------------
   Categories
   --------------------------------------------------------------------- */
.categories-section { background: var(--color-background); border-bottom: 1px solid var(--color-border); padding: 5rem 0; }
@media (min-width: 768px) { .categories-section { padding: 7rem 0; } }
.categories-section__heading { font-size: 1.875rem; line-height: 1.05; margin-bottom: 1.25rem; }
@media (min-width: 768px) { .categories-section__heading { font-size: 3rem; } }
@media (min-width: 1024px) { .categories-section__heading { font-size: 3.75rem; } }
.categories-grid { display: grid; grid-template-columns: 1fr; gap: 2.5rem; max-width: 56rem; margin: 0 auto; }
@media (min-width: 640px) { .categories-grid { grid-template-columns: repeat(3, 1fr); gap: 2rem; } }
.category-tile {
	background: transparent; border: none; padding: 0; margin: 0;
	display: flex; flex-direction: column; align-items: center; text-align: center;
	color: var(--color-foreground); font: inherit;
	-webkit-tap-highlight-color: transparent;
}
.category-tile.is-visible { transition: opacity 0.7s var(--transition-smooth), transform 0.35s cubic-bezier(0.34, 1.4, 0.64, 1); }
.category-tile.is-visible:hover { transform: translateY(-8px); }
.category-tile.is-visible:active { transform: translateY(-8px) scale(0.97); }
.category-tile:focus-visible { outline: 2px solid var(--color-ring); outline-offset: 6px; border-radius: 1rem; }
.category-tile__icon-wrap {
	--tile-tint: var(--color-primary);
	margin-bottom: 1.5rem;
	display: flex; align-items: center; justify-content: center;
	width: 9rem; height: 9rem;
	border-radius: 999px;
	border: 1px solid var(--color-border);
	box-shadow: var(--shadow-elevated);
	background: color-mix(in srgb, var(--tile-tint) 10%, transparent);
	color: var(--tile-tint);
	transition: transform 0.5s ease, box-shadow 0.5s ease, border-color 0.5s ease;
}
@media (min-width: 768px) { .category-tile__icon-wrap { width: 11rem; height: 11rem; } }
.category-tile:nth-child(2) .category-tile__icon-wrap { --tile-tint: var(--color-accent); }
.category-tile:nth-child(3) .category-tile__icon-wrap { --tile-tint: var(--color-marigold); }
.category-tile:hover .category-tile__icon-wrap { transform: scale(1.05); border-color: color-mix(in srgb, var(--tile-tint) 60%, transparent); }
.category-tile__icon { width: 3rem; height: 3rem; transition: transform 0.5s ease; }
@media (min-width: 768px) { .category-tile__icon { width: 3.5rem; height: 3.5rem; } }
.category-tile:hover .category-tile__icon { transform: scale(1.1) rotate(-3deg); }
.category-tile__kicker { display: block; font-size: 12px; letter-spacing: 0.32em; text-transform: uppercase; font-weight: 600; color: color-mix(in srgb, var(--color-foreground) 50%, transparent); margin-bottom: 0.5rem; }
.category-tile__label { font-family: var(--font-display); font-size: 1.25rem; }
@media (min-width: 768px) { .category-tile__label { font-size: 1.5rem; } }

/* ---------------------------------------------------------------------
   About
   --------------------------------------------------------------------- */
.about-section { background: var(--color-background); padding: 5rem 0; }
@media (min-width: 768px) { .about-section { padding: 7rem 0; } }
.about-section__grid { display: grid; grid-template-columns: 1fr; gap: 3rem; }
@media (min-width: 1024px) { .about-section__grid { grid-template-columns: 1fr 1fr; gap: 4rem; } }
.about-section__media { position: relative; min-height: 20rem; border-radius: 1rem; overflow: hidden; box-shadow: var(--shadow-elevated); }
.about-section__copy { display: flex; flex-direction: column; justify-content: center; }
.about-section__badges { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-bottom: 2rem; }
.about-badge { border-radius: 999px; padding: 0.5rem 1.25rem; font-size: 0.875rem; font-weight: 600; }
.about-badge--primary { background: var(--color-primary); color: var(--color-primary-foreground); }
.about-badge--marigold { background: var(--color-marigold); color: var(--color-primary-foreground); }
.about-badge--accent { background: var(--color-accent); color: var(--color-accent-foreground); }
.about-section__heading { font-size: 1.875rem; line-height: 1.03; margin-bottom: 1.5rem; }
@media (min-width: 768px) { .about-section__heading { font-size: 3rem; } }
@media (min-width: 1024px) { .about-section__heading { font-size: 3.75rem; } }
.about-section__paragraph { color: color-mix(in srgb, var(--color-foreground) 85%, transparent); font-size: 1rem; line-height: 1.7; margin: 0 0 1.25rem; }
@media (min-width: 768px) { .about-section__paragraph { font-size: 1.125rem; } }

/* ---------------------------------------------------------------------
   Services
   --------------------------------------------------------------------- */
.services-section { background: var(--color-secondary); padding: 5rem 0; }
@media (min-width: 768px) { .services-section { padding: 7rem 0; } }
.services-section__heading { font-size: 1.875rem; margin-bottom: 1.25rem; }
@media (min-width: 768px) { .services-section__heading { font-size: 3rem; } }
@media (min-width: 1024px) { .services-section__heading { font-size: 3.75rem; } }
.services-grid { display: grid; grid-template-columns: 1fr; gap: 1.5rem; max-width: 72rem; margin: 0 auto; }
@media (min-width: 640px) { .services-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .services-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2rem; } }
.service-card {
	display: flex; flex-direction: column; align-items: center; text-align: center;
	border-radius: 1rem; background: var(--color-card); border: 1px solid var(--color-border);
	padding: 2.5rem 2rem;
	transition: box-shadow 0.5s ease, border-color 0.5s ease, transform 0.5s ease;
}
.service-card:hover { border-color: color-mix(in srgb, var(--color-primary) 50%, transparent); box-shadow: var(--shadow-elevated); transform: translateY(-6px); }
.service-card__icon-wrap {
	margin-bottom: 1.5rem; width: 4rem; height: 4rem; border-radius: 1rem;
	display: flex; align-items: center; justify-content: center;
	background: color-mix(in srgb, var(--color-primary) 10%, transparent); color: var(--color-primary);
	transition: transform 0.5s ease;
}
.service-card:hover .service-card__icon-wrap { transform: scale(1.1) rotate(3deg); }
.service-card__icon { width: 1.75rem; height: 1.75rem; }
.service-card__title { font-size: 1.25rem; margin-bottom: 1rem; }
@media (min-width: 768px) { .service-card__title { font-size: 1.5rem; } }
.service-card__text { font-size: 15px; color: color-mix(in srgb, var(--color-foreground) 80%, transparent); line-height: 1.7; max-width: 17rem; margin-bottom: 2rem; flex-grow: 1; }
.service-card__link { background: none; border: none; font-size: 12px; letter-spacing: 0.18em; text-transform: uppercase; font-weight: 600; color: var(--color-primary); transition: color 0.3s ease; }
.service-card__link:hover { color: var(--color-accent); }

/* ---------------------------------------------------------------------
   Custom order section + shared form styling
   --------------------------------------------------------------------- */
.custom-order-section { background: var(--color-background); padding: 5rem 0; }
@media (min-width: 768px) { .custom-order-section { padding: 7rem 0; } }
.custom-order-section__grid { display: grid; grid-template-columns: 1fr; gap: 3rem; align-items: start; }
@media (min-width: 1024px) { .custom-order-section__grid { grid-template-columns: 1fr 1fr; gap: 4rem; } }
.custom-order-section__heading { font-size: 1.875rem; line-height: 1.2; margin-bottom: 1.25rem; }
@media (min-width: 768px) { .custom-order-section__heading { font-size: 3rem; } }
@media (min-width: 1024px) { .custom-order-section__heading { font-size: 3.75rem; } }
.custom-order-section__bullets { list-style: none; margin: 0 0 2.5rem; padding: 0; display: flex; flex-direction: column; gap: 0.75rem; font-size: 0.9375rem; color: color-mix(in srgb, var(--color-foreground) 85%, transparent); }
.custom-order-section__bullets li { display: flex; align-items: flex-start; gap: 0.75rem; }
.custom-order-section__dot { margin-top: 0.375rem; width: 0.5rem; height: 0.5rem; border-radius: 999px; flex-shrink: 0; }
.custom-order-section__dot--primary { background: var(--color-primary); }
.custom-order-section__dot--marigold { background: var(--color-marigold); }
.custom-order-section__dot--accent { background: var(--color-accent); }
.custom-order-section__media { position: relative; max-width: 32rem; margin: 0 auto; aspect-ratio: 4 / 3; border-radius: 1rem; overflow: hidden; box-shadow: var(--shadow-elevated); }
.custom-order-section__form-card { border-radius: 1rem; border: 1px solid var(--color-border); background: var(--color-card); padding: 1.5rem; box-shadow: var(--shadow-elevated); }
@media (min-width: 768px) { .custom-order-section__form-card { padding: 2.5rem; } }

.theme-form-row { display: flex; flex-direction: column; margin-bottom: 1.25rem; }
.theme-form-row--2col { display: grid; grid-template-columns: 1fr; gap: 1rem; }
@media (min-width: 640px) { .theme-form-row--2col { grid-template-columns: 1fr 1fr; } }
.theme-form-row--end { align-items: flex-end; margin-bottom: 0; }
.theme-form-row label:not(.custom-order-form__upload) { display: block; font-size: 0.875rem; font-weight: 500; line-height: 1.25rem; margin-bottom: 0.5rem; }
.theme-form-row input,
.theme-form-row select,
.theme-form-row textarea {
	width: 100%;
	border-radius: calc(var(--radius) - 2px);
	border: 1px solid var(--color-border);
	background: var(--color-background);
	color: var(--color-foreground);
	padding: 0.75rem 1rem;
	font-size: 1rem;
	line-height: 1.5rem;
}
.theme-form-row input::placeholder,
.theme-form-row textarea::placeholder { color: var(--color-muted-foreground); }
.theme-form-row input:focus,
.theme-form-row select:focus,
.theme-form-row textarea:focus {
	outline: none;
	box-shadow: 0 0 0 2px color-mix(in srgb, var(--color-ring) 50%, transparent);
}
.theme-form-row textarea { resize: none; }

.custom-order-form__upload {
	display: flex; min-height: 7rem; cursor: pointer; align-items: center; justify-content: center; gap: 0.75rem;
	border-radius: var(--radius); border: 1px dashed color-mix(in srgb, var(--color-primary) 45%, transparent);
	background: color-mix(in srgb, var(--color-primary) 5%, transparent);
	padding: 1rem 1.25rem; text-align: center; transition: background-color 0.3s ease;
	color: var(--color-primary);
}
.custom-order-form__upload:hover { background: color-mix(in srgb, var(--color-primary) 10%, transparent); }
.custom-order-form__upload span { color: var(--color-foreground); font-size: 0.875rem; line-height: 1.25rem; word-break: break-word; }
.custom-order-form__upload .theme-icon { width: 1.5rem; height: 1.5rem; }
.custom-order-form__file-icon,
.custom-order-form__upload.has-file .custom-order-form__upload-icon { display: none; }
.custom-order-form__upload.has-file .custom-order-form__file-icon { display: block; }
.custom-order-form__upload:focus-within { box-shadow: 0 0 0 2px color-mix(in srgb, var(--color-ring) 40%, transparent); }
.custom-order-form__hint { margin: 0.5rem 0 0; font-size: 0.875rem; line-height: 1.25rem; color: var(--color-muted-foreground); }
.custom-order-form__submit { margin-top: 0.75rem; width: 100%; }
@media (min-width: 640px) { .custom-order-form__submit { width: auto; } }
.custom-order-form__success { margin: 1rem 0 0; align-items: center; gap: 0.5rem; font-size: 0.875rem; color: var(--color-primary); }
.custom-order-form__success:not([hidden]) { display: flex; }
.custom-order-form__success .theme-icon { width: 1rem; height: 1rem; }

.theme-form-error { margin: 0.75rem 0 0; font-size: 0.875rem; line-height: 1.25rem; color: var(--color-destructive); }
.theme-contact-modal .theme-form-error { margin: 0 0 1rem; }

@keyframes themeSpin { to { transform: rotate(360deg); } }
.theme-spin { animation: themeSpin 1s linear infinite; }

/* Primary button (matches the design system Button) */
.theme-btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
	height: 2.75rem; padding: 0 2rem;
	white-space: nowrap;
	border-radius: 999px;
	border: 1px solid var(--color-primary);
	background: var(--color-primary);
	color: var(--color-primary-foreground);
	font-family: var(--font-body); font-size: 12px; font-weight: 600;
	letter-spacing: 0.22em; text-transform: uppercase;
	transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}
.theme-btn:hover { background: var(--color-background); color: var(--color-primary); }
.theme-btn:focus-visible { outline: none; box-shadow: 0 0 0 2px var(--color-background), 0 0 0 4px var(--color-ring); }
.theme-btn:disabled { opacity: 0.5; pointer-events: none; }
.theme-btn--lg { height: 3rem; padding: 0 2.5rem; }
.theme-btn .theme-icon { width: 1rem; height: 1rem; pointer-events: none; }
.theme-btn [data-idle-label],
.theme-btn [data-loading-label] { display: inline-flex; align-items: center; gap: 0.5rem; }
.theme-btn [data-idle-label][hidden],
.theme-btn [data-loading-label][hidden] { display: none; }

/* ---------------------------------------------------------------------
   Shop section
   --------------------------------------------------------------------- */
.shop-section { background: var(--color-background); border-top: 1px solid var(--color-border); padding: 4rem 0; }
@media (min-width: 768px) { .shop-section { padding: 6rem 0; } }
.shop-section__head { margin-bottom: 3rem; }
.shop-section__kicker { display: block; font-size: 12px; letter-spacing: 0.32em; text-transform: uppercase; color: var(--color-primary); font-family: var(--font-body); margin-bottom: 0.75rem; }
.shop-heading { font-size: 1.875rem; margin-bottom: 2.5rem; }
@media (min-width: 768px) { .shop-heading { font-size: 3rem; } }
.shop-search { position: relative; max-width: 28rem; margin: 0 auto 2rem; }
.shop-search__icon { position: absolute; left: 0; top: 50%; transform: translateY(-50%); width: 1rem; height: 1rem; color: var(--color-muted-foreground); pointer-events: none; }
.shop-search__input {
	width: 100%; padding: 0.5rem 0 0.5rem 1.75rem;
	background: transparent; border: none; border-bottom: 1px solid var(--color-border);
	color: var(--color-foreground); font-size: 1rem;
}
.shop-search__input::placeholder { color: var(--color-muted-foreground); }
.shop-search__input:focus { outline: none; border-color: var(--color-foreground); }

.shop-cat-filters { display: flex; gap: 0.5rem; margin-bottom: 1rem; overflow-x: auto; justify-content: center; flex-wrap: wrap; }
.shop-cat-filter {
	flex-shrink: 0; 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-filter:hover { border-color: var(--color-primary); color: var(--color-primary); }
.shop-cat-filter.is-active { background: var(--color-primary); color: var(--color-primary-foreground); border-color: var(--color-primary); }

.shop-price-toggle-wrap { display: flex; flex-direction: column; align-items: center; gap: 0.75rem; }
.shop-price-toggle {
	display: flex; align-items: center; gap: 0.5rem; background: none; border: none;
	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 svg { transition: transform 0.3s ease; }
.shop-price-toggle.is-open svg { transform: rotate(180deg); }
.shop-price-panel { width: 100%; max-width: 24rem; padding: 0.5rem 0; }

.price-range-wrapper { position: relative; height: 1.5rem; margin-bottom: 0.75rem; }
.range-track-bg, .range-track-fill { position: absolute; height: 4px; top: 50%; transform: translateY(-50%); pointer-events: none; border-radius: 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; width: 18px; height: 18px; border-radius: 999px; background: var(--color-background); border: 2px solid var(--color-primary); cursor: pointer; }
.range-input::-moz-range-thumb { pointer-events: auto; width: 18px; height: 18px; border-radius: 999px; background: var(--color-background); border: 2px solid var(--color-primary); cursor: pointer; }
.range-input::-moz-range-track { background: transparent; }
.range-input--max { z-index: 3; }
.range-input--min { z-index: 4; }
.price-range-labels { display: flex; justify-content: space-between; font-size: 0.875rem; color: var(--color-muted-foreground); }

.shop-section__price-note { text-align: center; font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--color-muted-foreground); margin-bottom: 1.5rem; }

.theme-product-grid, .shop-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 1.5rem;
	align-items: stretch;
}
@media (min-width: 768px) { .theme-product-grid, .shop-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2rem; } }
@media (min-width: 1024px) { .shop-grid { gap: 2.5rem; } }
.shop-empty-state, .shop-empty-message { text-align: center; padding: 4rem 0; color: var(--color-muted-foreground); }
.shop-section__show-more { text-align: center; margin-top: 3rem; }

/* ---------------------------------------------------------------------
   Product card (Section 19.1 / 31.3 / 31.9 / 31.13)
   --------------------------------------------------------------------- */
.theme-product-card-wrap { display: flex; flex-direction: column; height: 100%; }
.theme-product-card { position: relative; display: flex; flex-direction: column; height: 100%; }
.theme-product-card > .theme-card-link { position: absolute; inset: 0; z-index: 2; pointer-events: auto; }
.theme-product-card__image-wrapper {
	position: relative;
	aspect-ratio: 1 / 1;
	border-radius: 1rem;
	overflow: hidden;
	margin-bottom: 1.25rem;
	background: var(--color-card);
	border: 1px solid color-mix(in srgb, var(--color-accent) 30%, transparent);
	box-shadow: var(--shadow-soft);
	transition: box-shadow 0.5s ease;
}
.theme-product-card:hover .theme-product-card__image-wrapper { box-shadow: var(--shadow-elevated); }
.theme-product-card__image { transition: transform 0.7s var(--transition-smooth); }
.theme-product-card:hover .theme-product-card__image { transform: scale(1.04); }
.theme-product-card__image--faded { opacity: 0.6; }
.theme-product-card__badge {
	position: absolute; top: 1rem; right: 1rem; z-index: 3;
	padding: 0.25rem 0.75rem; border-radius: 6px; font-size: 11px; font-weight: 500;
	background: var(--color-foreground); color: var(--color-background);
}
.theme-product-card__view-options {
	position: absolute; left: 1rem; right: 1rem; bottom: 1rem; z-index: 3;
	padding: 0.75rem 0; border-radius: 999px; text-align: center;
	background: var(--color-primary); color: var(--color-primary-foreground);
	border: 1px solid var(--color-primary);
	font-size: 11px; letter-spacing: 0.22em; text-transform: uppercase; font-weight: 600;
	opacity: 0; transform: translateY(8px);
	transition: opacity 0.3s ease, transform 0.3s ease, background-color 0.3s ease, color 0.3s ease;
}
.theme-product-card:hover .theme-product-card__view-options { opacity: 1; transform: translateY(0); }
.theme-product-card__info { padding: 0 0.25rem; display: flex; flex-direction: column; gap: 0.35rem; flex: 1; }
.theme-product-card__category { font-size: 12px; text-transform: uppercase; letter-spacing: 0.18em; color: var(--color-muted-foreground); margin: 0; }
.theme-product-card__title { font-size: 1rem; font-weight: 500; line-height: 1.4; margin: 0; transition: color 0.3s ease; }
@media (min-width: 768px) { .theme-product-card__title { font-size: 1.125rem; } }
.theme-product-card:hover .theme-product-card__title { color: var(--color-primary); }
.theme-product-card__price { font-size: 1rem; color: color-mix(in srgb, var(--color-foreground) 85%, transparent); margin: 0; }
.theme-product-card__price .woocommerce-Price-amount { font-family: var(--font-body); }

/* ---------------------------------------------------------------------
   Contact section
   --------------------------------------------------------------------- */
.contact-section { position: relative; overflow: hidden; }
.contact-section__bg { position: absolute; inset: 0; }
.contact-section__bg-overlay { position: absolute; inset: 0; background: linear-gradient(to bottom, color-mix(in srgb, var(--color-background) 85%, transparent), color-mix(in srgb, var(--color-background) 75%, transparent), color-mix(in srgb, var(--color-background) 90%, transparent)); }
.contact-section__wrap { position: relative; min-height: 85vh; display: flex; align-items: center; justify-content: center; padding: 6rem 1rem; }
.contact-section__card {
	position: relative; z-index: 10; width: 100%; max-width: 56rem;
	border-radius: 2rem; overflow: hidden; box-shadow: var(--shadow-elevated);
	backdrop-filter: blur(12px);
	background: color-mix(in srgb, var(--color-background) 95%, transparent);
	padding: 3.5rem 2rem; text-align: center;
}
@media (min-width: 768px) { .contact-section__card { padding: 5rem 4rem; } }
.contact-section__eyebrow { font-family: var(--font-display); font-style: italic; color: var(--color-primary); font-size: 1.125rem; margin: 0 0 1rem; }
.contact-title { font-size: 2.25rem; line-height: 1.05; margin-bottom: 1.5rem; }
@media (min-width: 768px) { .contact-title { font-size: 3rem; } }
@media (min-width: 1024px) { .contact-title { font-size: 3.75rem; } }
.contact-title__italic { font-style: italic; color: var(--color-accent); }
.contact-section__desc { max-width: 36rem; margin: 0 auto 2.5rem; color: color-mix(in srgb, var(--color-foreground) 85%, transparent); font-size: 1rem; line-height: 1.7; }
@media (min-width: 768px) { .contact-section__desc { font-size: 1.125rem; } }
.contact-section__actions { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 0.75rem; margin-bottom: 2rem; }
@media (min-width: 640px) { .contact-section__actions { flex-direction: row; } }
.contact-section__tags { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 0.5rem 1rem; font-size: 0.875rem; color: color-mix(in srgb, var(--color-foreground) 70%, transparent); }
.contact-section__tags span { display: inline-flex; align-items: center; gap: 0.375rem; }
.contact-section__tags-sep { color: color-mix(in srgb, var(--color-foreground) 30%, transparent); }

/* ---------------------------------------------------------------------
   Contact modal
   --------------------------------------------------------------------- */
.theme-contact-modal { position: fixed; inset: 0; z-index: 90; }
.theme-contact-modal[hidden] { display: none; }
.theme-contact-modal__overlay { position: absolute; inset: 0; background: rgba(0,0,0,0.7); }
.theme-contact-modal__panel {
	position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
	display: grid; gap: 1rem;
	width: 100%; max-width: 32rem; max-height: 100dvh; overflow-y: auto; overscroll-behavior: contain;
	background: var(--color-background); border: 1px solid var(--color-border);
	padding: 1.5rem; box-shadow: 0 10px 15px -3px rgba(0,0,0,0.1), 0 4px 6px -4px rgba(0,0,0,0.1);
	animation: themeModalIn 0.2s ease;
}
@media (min-width: 640px) { .theme-contact-modal__panel { border-radius: 0.5rem; max-height: calc(100dvh - 2rem); } }
@keyframes themeModalIn { from { opacity: 0; transform: translate(-50%, -48%) scale(0.95); } to { opacity: 1; transform: translate(-50%, -50%) scale(1); } }
.theme-contact-modal__close { position: absolute; top: 1rem; right: 1rem; display: inline-flex; padding: 0; background: none; border: none; border-radius: 2px; color: var(--color-foreground); opacity: 0.7; transition: opacity 0.2s ease; }
.theme-contact-modal__close .theme-icon { width: 1rem; height: 1rem; }
.theme-contact-modal__close:hover { opacity: 1; }
.theme-contact-modal__header { display: flex; flex-direction: column; gap: 0.375rem; text-align: center; }
@media (min-width: 640px) { .theme-contact-modal__header { text-align: left; } }
.theme-contact-modal__title { font-size: 1.5rem; line-height: 1; font-weight: 600; letter-spacing: -0.025em; margin: 0; }
.theme-contact-modal__desc { color: var(--color-muted-foreground); font-size: 0.875rem; line-height: 1.25rem; margin: 0; }
.theme-contact-modal__email { display: flex; align-items: center; gap: 0.5rem; font-size: 0.875rem; line-height: 1.25rem; color: var(--color-muted-foreground); margin: 0; }
.theme-contact-modal__email .theme-icon { width: 1rem; height: 1rem; }
.theme-contact-modal__email a { transition: color 0.2s ease; }
.theme-contact-modal__email a:hover { color: var(--color-foreground); }
.theme-contact-modal__success { text-align: center; padding: 2rem 0; animation: fadeIn 0.4s ease; }
.theme-contact-modal__success h3 { font-size: 1.25rem; margin-bottom: 0.5rem; }
.theme-contact-modal__success p { font-size: 0.875rem; color: var(--color-muted-foreground); margin: 0; }
.theme-contact-modal__success-icon { width: 3.5rem; height: 3.5rem; border-radius: 999px; background: var(--color-primary); color: var(--color-primary-foreground); display: flex; align-items: center; justify-content: center; margin: 0 auto 1rem; }
.theme-contact-modal .theme-form-row { margin-bottom: 1rem; }
.theme-contact-modal .theme-form-row--end { margin-bottom: 0; }
.theme-contact-modal .theme-form-row label:not(.custom-order-form__upload) { margin-bottom: 0.375rem; }
.theme-contact-modal .theme-form-row input,
.theme-contact-modal .theme-form-row select,
.theme-contact-modal .theme-form-row textarea { padding: 0.625rem 0.75rem; }
@media (max-height: 700px) {
	.theme-contact-modal__panel { gap: 0.75rem; padding: 1.25rem; }
	.theme-contact-modal .theme-form-row { margin-bottom: 0.75rem; }
	.theme-contact-modal .theme-form-row textarea { height: 5.5rem; }
}

/* ---------------------------------------------------------------------
   Footer
   --------------------------------------------------------------------- */
.site-footer { border-top: 1px solid color-mix(in srgb, var(--color-accent) 35%, transparent); background: var(--color-card); color: var(--color-foreground); }
.site-footer__inner { padding-top: 4rem; padding-bottom: 4rem; }
@media (min-width: 1024px) { .site-footer__inner { padding-top: 5rem; padding-bottom: 5rem; } }
.site-footer__top { display: flex; flex-direction: column; gap: 1.5rem; margin-bottom: 3rem; padding-bottom: 2.5rem; border-bottom: 1px solid color-mix(in srgb, var(--color-foreground) 15%, transparent); }
@media (min-width: 640px) { .site-footer__top { flex-direction: row; align-items: center; justify-content: space-between; } }
.footer-logo { display: block; flex-shrink: 0; }
.site-footer .footer-logo-img {
	height: calc(var(--footer-logo-height, 176px) * 0.727);
	width: calc(var(--footer-logo-height, 176px) * 1.534);
	max-width: 100%;
	object-fit: contain;
	padding: 0.75rem 0;
	transition: transform 0.5s ease;
}
@media (min-width: 768px) {
	.site-footer .footer-logo-img { height: var(--footer-logo-height, 176px); width: calc(var(--footer-logo-height, 176px) * 2.045); }
}
.footer-logo:hover .footer-logo-img { transform: scale(1.03); }
.site-footer__contact-line { margin: 1rem 0 0; font-size: 0.875rem; }
.site-footer__contact-line--tight { margin-top: 0.5rem; }
.site-footer__col-icon { color: var(--color-accent); }
.site-footer__contact { max-width: 32rem; }
@media (min-width: 640px) { .site-footer__contact { text-align: right; } }
.site-footer__tagline { font-style: italic; font-size: 0.875rem; color: color-mix(in srgb, var(--color-foreground) 70%, transparent); line-height: 1.625; margin: 0; }
@media (min-width: 768px) { .site-footer__tagline { font-size: 1rem; } }
.site-footer__link { display: inline-flex; align-items: center; gap: 0.5rem; color: color-mix(in srgb, var(--color-foreground) 70%, transparent); transition: color 0.3s ease; }
.site-footer__link:hover { color: var(--color-accent); }
.site-footer__columns { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2.5rem; }
@media (min-width: 768px) { .site-footer__columns { grid-template-columns: repeat(3, 1fr); gap: 3rem; } }
.site-footer__col-title { font-size: 1.25rem; line-height: 1.75rem; margin-bottom: 1.25rem; display: inline-flex; align-items: center; gap: 0.5rem; }
.site-footer__col ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 0.75rem; }
.site-footer__col a { font-size: 0.875rem; color: color-mix(in srgb, var(--color-foreground) 70%, transparent); transition: color 0.3s ease, transform 0.3s ease; display: inline-block; }
.site-footer__col a:hover { color: var(--color-accent); transform: translateX(4px); }
.site-footer__bottom { margin-top: 3.5rem; padding-top: 1.5rem; border-top: 1px solid color-mix(in srgb, var(--color-foreground) 15%, transparent); display: flex; flex-direction: column; align-items: center; justify-content: space-between; gap: 0.75rem; text-align: center; }
@media (min-width: 640px) { .site-footer__bottom { flex-direction: row; text-align: left; } }
.site-footer__bottom-tagline { font-size: 13px; font-style: italic; color: var(--color-accent); letter-spacing: 0.02em; margin: 0; }
.site-footer__credit { font-size: 12px; color: color-mix(in srgb, var(--color-foreground) 55%, transparent); letter-spacing: 0.02em; margin: 0; }
.site-footer__credit a { color: color-mix(in srgb, var(--color-foreground) 75%, transparent); }
.site-footer__credit a:hover { color: var(--color-accent); }

/* ---------------------------------------------------------------------
   Cart drawer + overlay (Section 12)
   --------------------------------------------------------------------- */
#theme-cart-overlay { position: fixed; inset: 0; background: color-mix(in srgb, var(--color-background) 70%, transparent); backdrop-filter: blur(4px); z-index: 95; 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; right: 0; top: 0; height: 100%; width: 100%; max-width: 28rem;
	background: var(--color-background); z-index: 96; 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(--color-border); }
.theme-cart-drawer__title { font-size: 1.125rem; margin: 0; }
.theme-cart-drawer__close { background: none; border: none; color: var(--color-foreground); opacity: 0.7; padding: 0.25rem; }
.theme-cart-drawer__close:hover { opacity: 1; }
.theme-cart-drawer__empty { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 1.5rem; text-align: center; gap: 1.25rem; color: var(--color-muted-foreground); }
.theme-cart-drawer__items { flex: 1; overflow-y: auto; padding: 1.5rem; display: flex; flex-direction: column; gap: 1.5rem; }
.theme-cart-item { display: flex; gap: 1rem; }
.theme-cart-item__image { width: 5rem; height: 6rem; flex-shrink: 0; overflow: hidden; border-radius: 0.5rem; background: var(--color-secondary); }
.theme-cart-item__image img { width: 100%; height: 100%; object-fit: cover; }
.theme-cart-item__body { flex: 1; min-width: 0; }
.theme-cart-item__name { font-size: 0.875rem; font-weight: 500; display: block; margin-bottom: 0.25rem; }
.theme-cart-item__name:hover { opacity: 0.7; }
.theme-cart-item__price { font-size: 0.875rem; color: var(--color-muted-foreground); margin: 0 0 0.75rem; }
.theme-cart-item__controls { display: flex; align-items: center; gap: 0.75rem; }
.theme-cart-item__qty-btn { width: 1.75rem; height: 1.75rem; border-radius: 0.25rem; border: none; background: transparent; color: var(--color-foreground); transition: background-color 0.2s ease; }
.theme-cart-item__qty-btn:hover { background: var(--color-secondary); }
.theme-cart-item__qty { font-size: 0.875rem; width: 1.5rem; text-align: center; }
.theme-cart-item__remove { margin-left: auto; background: none; border: none; font-size: 0.875rem; color: var(--color-muted-foreground); }
.theme-cart-item__remove: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-drawer__subtotal { display: flex; justify-content: space-between; font-size: 0.875rem; }
.theme-cart-drawer__shipping-note { font-size: 0.875rem; color: var(--color-muted-foreground); margin: 0; }
.theme-cart-drawer__checkout { width: 100%; padding: 1rem; }
.theme-cart-drawer__empty-btn { width: 100%; }

/* ---------------------------------------------------------------------
   404
   --------------------------------------------------------------------- */
.theme-404__inner { min-height: 60vh; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: 1rem; }
.theme-404__code { font-size: 3rem; margin-bottom: 0.5rem; }
.theme-404__message { font-size: 1.25rem; color: var(--color-muted-foreground); }
.theme-404__link { color: var(--color-primary); text-decoration: underline; }

/* =========================================================================
   Single product page (Section 11)
   ========================================================================= */
.site-main.single-product-page { padding-top: calc(var(--header-height-mobile) + 1.5rem); }
@media (min-width: 768px) { .site-main.single-product-page { padding-top: calc(var(--header-height-desktop) + 1.5rem); } }
@media (min-width: 1024px) { .site-main.single-product-page { padding-top: calc(var(--header-height-desktop) + 2rem); } }
.single-product__breadcrumb { display: flex; flex-wrap: wrap; align-items: baseline; padding: 0.75rem 0; font-size: 13px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--color-muted-foreground); }
.single-product__breadcrumb a:hover { color: var(--color-foreground); }
.single-product__breadcrumb-sep { margin: 0 0.5rem; opacity: 0.5; }
.single-product__breadcrumb-current { color: var(--color-foreground); }

.theme-product-layout.single-product__layout {
	display: grid;
	grid-template-columns: 1fr;
	gap: 2.5rem;
	padding: 1rem 0 6rem;
	align-items: start;
	min-width: 0;
}
@media (min-width: 1024px) {
	.theme-product-layout.single-product__layout { grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 4rem; }
	.single-product__gallery { grid-column: span 7 / span 7; }
	.single-product__info { grid-column: span 5 / span 5; padding-left: 1rem; }
}
.theme-product-gallery, .theme-product-info { min-width: 0; max-width: 100%; }
.single-product__main-image-wrap { position: relative; aspect-ratio: 1 / 1; background: var(--color-secondary); overflow: hidden; border: 1px solid color-mix(in srgb, var(--color-accent) 35%, transparent); box-shadow: var(--shadow-soft); }
.theme-product-thumbnails.single-product__thumbnails { margin-top: 1rem; display: grid; grid-template-columns: repeat(5, 1fr); gap: 0.5rem; flex-wrap: wrap; max-width: 100%; }
@media (min-width: 768px) { .theme-product-thumbnails.single-product__thumbnails { gap: 0.75rem; } }
.single-product__thumb { position: relative; aspect-ratio: 1 / 1; overflow: hidden; background: var(--color-secondary); border: 1px solid transparent; padding: 0; }
.single-product__thumb.is-active { border-color: var(--color-foreground); }
.single-product__thumb:hover { border-color: color-mix(in srgb, var(--color-foreground) 40%, transparent); }

.single-product__info { position: sticky; top: calc(var(--header-height-desktop) + 1rem); align-self: start; }
@media (max-width: 1023px) { .single-product__info { position: static; } }
.single-product__category { display: block; font-family: var(--font-body); font-size: 13px; letter-spacing: 0.25em; text-transform: uppercase; color: var(--color-muted-foreground); }
.product-title.single-product__title { font-family: var(--font-display); font-weight: 400; font-size: 1.875rem; line-height: 2.25rem; margin: 0.75rem 0 1.25rem; }
@media (min-width: 768px) { .product-title.single-product__title { font-size: 2.25rem; line-height: 2.5rem; } }
@media (min-width: 1024px) { .product-title.single-product__title { font-size: 2.75rem; } }
.single-product__price { font-family: var(--font-body); font-size: 1.25rem; line-height: 1.75rem; color: var(--color-foreground); margin: 0 0 1.5rem; }
.single-product__price .price { color: inherit; font-size: inherit; }
.single-product__price del { opacity: 0.6; margin-right: 0.5rem; }
.single-product__price ins { text-decoration: none; }
.single-product__price-note { margin-left: 0.5rem; font-size: 0.875rem; color: var(--color-muted-foreground); }
.single-product__lead { font-family: var(--font-body); font-size: 1rem; line-height: 1.625; color: var(--color-muted-foreground); margin: 0 0 2rem; }
.single-product__stock--out { color: var(--color-destructive); font-weight: 600; margin-bottom: 1rem; }

.single-product__attribute { margin-bottom: 1.5rem; }
.single-product__attribute-label { font-family: var(--font-body); font-weight: 400; font-style: normal; font-size: 13px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--color-muted-foreground); margin: 0 0 0.75rem; }
.single-product__attribute-pills { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.attribute-pill {
	padding: 0.5rem 1rem; font-family: var(--font-body); font-size: 12px; line-height: 1rem; letter-spacing: 0.15em; text-transform: uppercase;
	border: 1px solid var(--color-border); border-radius: 999px; background: transparent; color: var(--color-foreground);
	transition: all 0.2s ease;
}
.attribute-pill__price { margin-left: 0.5rem; opacity: 0.7; text-transform: none; letter-spacing: normal; }
.single-product__info .woocommerce-variation-price,
.single-product__info .reset_variations { display: none !important; }
.attribute-pill:hover { border-color: color-mix(in srgb, var(--color-primary) 70%, transparent); }
.attribute-pill.is-selected { background: var(--color-primary); color: var(--color-primary-foreground); border-color: var(--color-primary); }

/* Variations table layout reflow (Section 11.5.1) */
.single-product .variations.shop_attributes tbody,
.single-product .variations tbody tr,
.single-product .variations tbody td { display: block; width: 100%; }
.single-product .variations tbody td.label { padding-bottom: 0.25rem; }
.single-product .variations tbody td.value { padding-top: 0; }
.theme-attr-select-hidden { display: none !important; }

.single-product .woocommerce-variation-description {
	overflow-wrap: break-word;
	word-break: break-word;
	color: var(--color-muted-foreground);
	font-size: 15px;
	line-height: 1.625;
}
.single-product .variations label { font-family: var(--font-body); font-weight: 600; font-style: normal; }

/* Info column: quantity + CTA + accordions (mirrors Lovable ProductDetail) */
.single-product__info .theme-add-to-cart-area { display: block; margin: 0; }
.single-product__quantity { margin-bottom: 1rem; }
.single-product__info .theme-quantity-wrapper { border-radius: 0; }
.single-product__info .theme-qty-minus,
.single-product__info .theme-qty-plus { height: auto; padding: 0.5rem 0.75rem; display: inline-flex; align-items: center; }
.single-product__info .theme-qty-input { width: 44px; height: 2.25rem; padding: 0; font-size: 0.875rem; line-height: 1.25rem; }
.single-product__info .single_add_to_cart_button.button,
.single-product__info a.single_add_to_cart_button,
.single-product__info button.single_add_to_cart_button {
	position: relative;
	overflow: hidden;
	display: flex !important;
	width: 100%;
	min-height: 0 !important;
	padding: 1rem !important;
	font-size: 0.75rem !important;
	font-weight: 500 !important;
	letter-spacing: 0.25em !important;
	transition: background-color 0.3s ease, color 0.3s ease !important;
}
.single-product__info .single_add_to_cart_button.button:hover {
	opacity: 1 !important;
	background-color: var(--color-accent) !important;
	color: var(--color-accent-foreground) !important;
}
.single-product__info .single_add_to_cart_button.button::after {
	content: '';
	position: absolute;
	inset: 0;
	background: linear-gradient(110deg, transparent 35%, color-mix(in srgb, var(--color-marigold) 28%, transparent) 50%, transparent 65%);
	transform: translateX(-120%);
	transition: transform 0.9s var(--transition-smooth);
	pointer-events: none;
}
.single-product__info .single_add_to_cart_button.button:hover::after { transform: translateX(120%); }
.single-product__info .single_add_to_cart_button.button:disabled,
.single-product__info .single_add_to_cart_button.button.disabled,
.single-product__info .single_add_to_cart_button.button:disabled:hover,
.single-product__info .single_add_to_cart_button.button.disabled:hover {
	opacity: 0.6 !important;
	background-color: var(--color-primary) !important;
	color: var(--color-primary-foreground) !important;
}

.single-product__accordions { margin-top: 2.5rem; border-top: 1px solid var(--color-border); }
.single-product__accordion + .single-product__accordion { border-top: 1px solid var(--color-border); }
.single-product__accordion:last-child { border-bottom: 1px solid var(--color-border); }
.single-product__accordion-toggle {
	display: flex; align-items: center; justify-content: space-between; width: 100%;
	padding: 1.25rem 0; list-style: none; cursor: pointer;
	font-family: var(--font-body); font-size: 13px; letter-spacing: 0.25em; text-transform: uppercase; color: var(--color-foreground);
}
.single-product__accordion-toggle::-webkit-details-marker { display: none; }
.single-product__accordion-icon { transition: transform 0.2s ease; }
.single-product__accordion[open] .single-product__accordion-icon { transform: rotate(180deg); }
.single-product__accordion-body { padding-bottom: 1.5rem; font-family: var(--font-body); font-size: 15px; line-height: 1.625; color: var(--color-muted-foreground); overflow-wrap: break-word; }
.single-product__accordion-body p { margin: 0; }
.single-product__features-text { margin-bottom: 1rem; }
.single-product__features-text p + p { margin-top: 0.75rem; }
.single-product__accordion-body--stack { display: flex; flex-direction: column; gap: 0.75rem; }
.single-product__features-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 0.5rem; }
.single-product__features-list li { display: flex; align-items: flex-start; }
.single-product__features-list li::before { content: ''; width: 0.25rem; height: 0.25rem; margin: 0.5rem 0.75rem 0 0; border-radius: 999px; background: var(--color-foreground); flex-shrink: 0; }

/* Quantity + Add to Cart row (Section 11.13) */
.single-product .theme-add-to-cart-area {
	display: flex;
	align-items: stretch;
	flex-wrap: wrap;
	gap: 0.75rem;
	margin-bottom: 1.5rem;
}
.theme-quantity-wrapper { display: inline-flex; align-items: center; border: 1px solid var(--color-border); border-radius: var(--btn-radius); overflow: hidden; }
.theme-qty-minus, .theme-qty-plus { background: none; border: none; padding: 0 1rem; height: 3rem; color: var(--color-foreground); transition: background-color 0.2s ease; }
.theme-qty-minus:hover, .theme-qty-plus:hover { background: var(--color-secondary); }
.theme-qty-input {
	width: 3.25rem; text-align: center; border: none; background: transparent; color: var(--color-foreground);
	-moz-appearance: textfield; appearance: textfield; height: 3rem;
}
.theme-qty-input::-webkit-outer-spin-button, .theme-qty-input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }

.single-product .single_add_to_cart_button { flex: 1 1 auto; min-width: 160px; }

/* ---------------------------------------------------------------------
   Add-to-cart button style 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,
button.single_add_to_cart_button {
	background-color: var(--color-primary) !important;
	color: var(--color-primary-foreground) !important;
	border: none !important;
	border-radius: var(--btn-radius) !important;
	min-height: var(--btn-height) !important;
	padding: var(--btn-padding) !important;
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;
	font-family: var(--font-body) !important;
	font-size: var(--btn-font-size) !important;
	font-weight: var(--btn-font-weight) !important;
	letter-spacing: var(--btn-letter-spacing) !important;
	text-transform: var(--btn-text-transform) !important;
	cursor: pointer !important;
	transition: opacity 0.2s ease !important;
}
.single_add_to_cart_button.button:hover,
.add_to_cart_button.button:hover {
	opacity: 0.85 !important;
	background-color: var(--color-primary) !important;
	color: var(--color-primary-foreground) !important;
}
.single_add_to_cart_button.button:disabled,
.single_add_to_cart_button.button.disabled,
.add_to_cart_button.button:disabled,
.add_to_cart_button.button.disabled {
	cursor: not-allowed !important;
	opacity: 0.4 !important;
	pointer-events: none !important;
}
.single_add_to_cart_button.button:disabled:hover,
.single_add_to_cart_button.button.disabled:hover,
.add_to_cart_button.button:disabled:hover,
.add_to_cart_button.button.disabled:hover {
	opacity: 0.4 !important;
	background-color: var(--color-primary) !important;
}
.single-product .single_add_to_cart_button.loading::after,
.ajax_add_to_cart.loading::after { display: none !important; }

/* 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; }

/* ---------------------------------------------------------------------
   Related products (Section 11.7)
   --------------------------------------------------------------------- */
.related-products-section { padding: 5rem 0; border-top: 1px solid var(--color-border); }
.related-products-section__head { text-align: center; margin-bottom: 3rem; }
.related-products-section__kicker { font-family: var(--font-display); font-style: italic; font-size: 1rem; color: var(--color-muted-foreground); margin: 0 0 0.5rem; }
.related-products-section__heading { font-size: 1.875rem; }
@media (min-width: 768px) { .related-products-section__heading { font-size: 2.25rem; } }
.related-products-section__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 1024px) { .related-products-section__grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

/* =========================================================================
   WooCommerce global overrides (Section 14)
   ========================================================================= */
.woocommerce-breadcrumb { display: none; }
.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(--color-border);
	background: var(--color-card);
	color: var(--color-foreground);
	padding: 1rem 1.5rem;
	font-family: var(--font-body);
	list-style: none;
}
.woocommerce-error { border-color: var(--color-destructive); }

.woocommerce-archive__header { padding: 3rem 0 2rem; text-align: center; }
.woocommerce-archive__grid { margin-bottom: 3rem; }

/* =========================================================================
   Checkout Block override (Section 13)
   ========================================================================= */
body.woocommerce-checkout .site-main,
body.woocommerce-cart .site-main,
body.woocommerce-account .site-main {
	padding-top: calc(var(--header-height-mobile) + 1.5rem);
	padding-bottom: 4rem;
}
@media (min-width: 768px) {
	body.woocommerce-checkout .site-main,
	body.woocommerce-cart .site-main,
	body.woocommerce-account .site-main {
		padding-top: calc(var(--header-height-desktop) + 1.5rem);
	}
}

body.woocommerce-checkout .page-title,
body.woocommerce-cart .page-title,
body.woocommerce-account .page-title {
	font-size: 1.875rem;
	margin-bottom: 2rem;
}
@media (min-width: 768px) { body.woocommerce-checkout .page-title { font-size: 2.5rem; } }

/* WooCommerce paints this badge with `currentColor` (light on this dark theme) and white text. */
.wc-block-components-order-summary .wc-block-components-order-summary-item__quantity {
	background: var(--color-primary);
	border: 1px solid var(--color-background);
}
.wc-block-components-order-summary .wc-block-components-order-summary-item__quantity span {
	color: var(--color-primary-foreground);
	font-weight: 600;
}

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,
body.woocommerce-cart .form-row .input-text,
body.woocommerce-checkout .form-row select {
	font-family: var(--font-body);
	color: var(--color-foreground);
	border: 1px solid var(--color-border);
	border-radius: var(--radius);
	background-color: var(--color-background);
}
body.woocommerce-checkout .wc-block-components-text-input input:focus,
body.woocommerce-checkout .wc-block-components-select select:focus {
	outline: none;
	box-shadow: 0 0 0 2px color-mix(in srgb, var(--color-ring) 40%, transparent);
}
body.woocommerce-checkout .wc-block-components-text-input input::placeholder { color: var(--color-muted-foreground); }

body.woocommerce-checkout .wc-block-components-checkout-place-order-button {
	background-color: var(--color-primary) !important;
	color: var(--color-primary-foreground) !important;
	border-radius: var(--btn-radius) !important;
	font-family: var(--font-body) !important;
	font-weight: 600 !important;
	text-transform: none !important;
}
body.woocommerce-checkout .wc-block-components-checkout-place-order-button:hover { opacity: 0.9 !important; }

body.woocommerce-checkout .wc-block-components-notice-banner {
	border-radius: var(--radius);
	font-family: var(--font-body);
}

body.woocommerce-checkout .wc-block-checkout__sidebar,
body.woocommerce-cart .wc-block-cart__sidebar {
	background-color: var(--color-card);
	border-radius: var(--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;
}
body.woocommerce-checkout .wc-block-components-text-input input,
body.woocommerce-checkout .wc-block-components-select select {
	width: 100% !important;
	max-width: none !important;
}

@media (min-width: 768px) {
	body.woocommerce-checkout .wc-block-components-sidebar-layout.wc-block-checkout.is-large,
	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-notice-banner { grid-column: 1 / -1; }

/* =========================================================================
   Thank-you page (Section 22.8)
   ========================================================================= */
body.theme-thankyou-page { overflow-x: hidden; }
.theme-thankyou { text-align: center; padding: 4rem 0; max-width: 40rem; margin: 0 auto; }
.theme-thankyou__icon {
	width: 4rem; height: 4rem; border-radius: 999px; background: var(--color-primary); color: var(--color-primary-foreground);
	display: flex; align-items: center; justify-content: center; margin: 0 auto 1.5rem;
}
.theme-thankyou__title { font-size: 1.875rem; margin-bottom: 1rem; }
.theme-thankyou__message { color: var(--color-muted-foreground); margin-bottom: 2rem; }
body.theme-thankyou-page .woocommerce-order-overview { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 1rem; margin: 0 0 2rem; text-align: left; }
body.theme-thankyou-page .woocommerce-order-overview li { background: var(--color-card); border-radius: var(--radius); padding: 1rem 1.25rem; flex: 1 1 12rem; }
body.theme-thankyou-page .woocommerce-order h2,
body.theme-thankyou-page .woocommerce-order-details__title { text-align: left; padding: 0 0 1rem 0; }
body.theme-thankyou-page .woocommerce-order-details table { width: 100%; table-layout: fixed; 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(--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; text-align: left; }
body.theme-thankyou-page .woocommerce-customer-details address { max-width: 480px; overflow-wrap: break-word; }
@media (min-width: 768px) {
	body.theme-thankyou-page .woocommerce-customer-details {
		display: grid;
		grid-template-columns: 1fr 1fr;
		gap: 2rem;
		align-items: start;
	}
	body.theme-thankyou-page .woocommerce-customer-details address { min-width: 0; }
}
