/* =========================================================================
   Psychedelic Spoons — theme stylesheet
   ========================================================================= */

@import url('https://fonts.googleapis.com/css2?family=Anton&family=Work+Sans:ital,wght@0,300;0,400;0,500;0,600;0,700;1,400&display=swap');

:root {
	--color-background: #f4f8fa;
	--color-foreground: #0b1728;
	--color-primary: #d515a5;
	--color-primary-foreground: #f8fbfc;
	--color-secondary: #e4edf1;
	--color-secondary-foreground: #102037;
	--color-muted: #ced8de;
	--color-muted-foreground: #414f62;
	--color-border: #c8d3da;
	--color-marigold: #f9bf10;
	--color-teal: #16a8b6;
	--color-butter: #e4edf1;
	--color-surface-deep: #0b1728;
	--color-surface-deep-foreground: #f1f6f9;
	--color-destructive: #ca2121;
	--color-button-text: var(--color-primary-foreground);

	--font-display: 'Anton', sans-serif;
	--font-body: 'Work Sans', sans-serif;

	--radius: 0.75rem;
	--shadow-soft: 0 4px 20px -4px rgba(11, 23, 40, 0.1);
	--shadow-elevated: 0 8px 40px -8px rgba(11, 23, 40, 0.22);
	--transition-smooth: cubic-bezier(0.4, 0, 0.2, 1);
	--logo-height: 4rem;
	--header-height: 3rem;

	--btn-radius: 0;
	--btn-height: 3.25rem;
	--btn-padding: 1.1rem 2.5rem;
	--btn-font-size: 0.7rem;
	--btn-font-weight: 500;
	--btn-letter-spacing: 0.28em;
	--btn-text-transform: uppercase;
	--btn-icon-padding: 0.5rem;
	--card-radius: 0.75rem;
	--section-padding: 2rem;
	--checkout-gap: 2.5rem;
	--wp-admin-bar-height: 0px;
}

body.admin-bar {
	--wp-admin-bar-height: 32px;
}

@media screen and (max-width: 782px) {
	body.admin-bar {
		--wp-admin-bar-height: 46px;
	}
}

/* -------------------------------------------------------------------------
   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%; display: block; }
img:not(.cover-img):not(.product-main-image):not(.theme-product-card__image):not(.theme-cart-item-img):not(.product-thumb-btn img):not(.starterkit-swatch-img):not(.service-card-img):not(.team-member-img):not(.site-logo-img):not(.footer-logo-img):not(.collection-tile-img) {
	max-width: 100%;
	height: auto;
}
.cover-img, .hero-video, .about-video {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
}
h1, h2, h3, h4, h5, h6 {
	font-family: var(--font-display);
	font-weight: inherit;
	font-size: inherit;
	letter-spacing: 0.005em;
	margin: 0;
}
p { margin: 0; }
a { color: inherit; text-decoration: none; cursor: pointer; }
button { font-family: inherit; background: none; border: none; cursor: pointer; color: inherit; padding: 0; }
input, textarea, select { font-family: inherit; }
ul, ol { margin: 0; padding: 0; }
.theme-icon { width: 1.1em; height: 1.1em; flex-shrink: 0; }

/* Pointer on all interactive / clickable UI */
a[href],
area[href],
button:not(:disabled),
input[type="submit"]:not(:disabled),
input[type="button"]:not(:disabled),
input[type="reset"]:not(:disabled),
input[type="checkbox"],
input[type="radio"],
label[for],
select,
summary,
[role="button"]:not([aria-disabled="true"]),
[role="link"],
[data-scroll-target],
[data-scroll-anchor],
[data-contact-open],
[data-contact-close],
[data-faq-toggle],
[data-carousel-prev],
[data-carousel-next],
[data-carousel-dot],
[data-cart-open],
[data-cart-close],
[data-mobile-toggle],
[data-category-link],
[data-accordion-toggle],
[data-attr-pill],
[data-price-toggle],
[data-shop-showmore],
[data-cart-qty-update],
[data-cart-remove],
[data-cart-empty],
.shop-cat-pill,
.collection-tile,
.product-thumb-btn,
.carousel-dot,
.carousel-nav-btn,
.site-brand,
.site-icon-btn,
.footer-brand-link,
.footer-nav-list button,
.footer-contact-link,
.theme-modal-close,
.theme-modal-overlay,
.theme-cart-drawer-close,
.theme-cart-item-img-link,
.theme-cart-item-name,
.theme-cart-remove-btn,
.theme-cart-qty-btn,
.theme-cart-empty-btn,
.theme-cart-checkout-btn,
.link-underline,
.btn-theme,
.faq-question,
.product-accordion-toggle,
.theme-product-card__quick-add,
.theme-card-link,
.add_to_cart_button:not(.disabled):not(:disabled),
.single_add_to_cart_button:not(.disabled):not(:disabled),
.woocommerce a.button:not(.disabled),
.woocommerce button.button:not(.disabled),
.theme-qty-minus,
.theme-qty-plus {
	cursor: pointer;
}

button:disabled,
input:disabled,
.add_to_cart_button.disabled,
.add_to_cart_button:disabled,
.single_add_to_cart_button.disabled,
.single_add_to_cart_button:disabled {
	cursor: not-allowed;
}

@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation-duration: 0.001ms !important; transition-duration: 0.001ms !important; }
}

.container-wide { width: 100%; max-width: 80rem; margin: 0 auto; padding: 0 1.5rem; }
@media (min-width: 1024px) { .container-wide { padding: 0 2rem; } }
.text-center { text-align: center; }
.section-pad { padding-block: 4rem 5rem; }
.section-pad-lg { padding-block: 5rem 7rem; }
.scroll-mt { scroll-margin-top: calc(var(--header-height) + var(--wp-admin-bar-height) + 0.5rem); }

.link-underline { position: relative; display: inline-block; }
.link-underline::after {
	content: '';
	position: absolute; bottom: 0; left: 0; width: 100%; height: 1px;
	background: currentColor; transform: scaleX(0); transform-origin: left;
	transition: transform 0.3s var(--transition-smooth);
}
.link-underline:hover::after { transform: scaleX(1); }

.section-eyebrow {
	display: block;
	font-size: 12px;
	letter-spacing: 0.32em;
	text-transform: uppercase;
	font-family: var(--font-body);
	margin-bottom: 0.75rem;
}

/* -------------------------------------------------------------------------
   Reveal animations (Section 2.1)
   ----------------------------------------------------------------------- */
.reveal-item { opacity: 0; will-change: opacity, transform; }
.reveal-item[data-reveal="fade"] { transition: opacity 0.7s var(--transition-smooth); }
.reveal-item[data-reveal="fade-up"] { transform: translateY(28px); transition: opacity 0.7s var(--transition-smooth), transform 0.7s var(--transition-smooth); }
.reveal-item.is-visible { opacity: 1; transform: none; }
body.is-customizer .reveal-item { opacity: 1 !important; transform: none !important; }

@keyframes theme-fade-in { from { opacity: 0; } to { opacity: 1; } }
@keyframes theme-slide-up { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }
.animate-fade-in { animation: theme-fade-in 0.6s var(--transition-smooth) forwards; }
.animate-slide-up { animation: theme-slide-up 0.6s var(--transition-smooth) forwards; }

.btn-theme {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.5rem;
	font-family: var(--font-display);
	font-size: var(--btn-font-size);
	letter-spacing: var(--btn-letter-spacing);
	text-transform: var(--btn-text-transform);
	font-weight: var(--btn-font-weight);
	padding: var(--btn-padding);
	transition: opacity 0.2s ease, background-color 0.2s ease, color 0.2s ease;
	border: 1px solid transparent;
	cursor: pointer;
}
.btn-hero-primary, .btn-contact-primary { background: var(--color-primary); color: var(--color-primary-foreground); text-transform: none; }
.btn-hero-primary:hover, .btn-contact-primary:hover { background: color-mix(in srgb, var(--color-primary) 90%, black 0%); opacity: 0.9; }
.btn-hero-outline { background: color-mix(in srgb, var(--color-background) 10%, transparent); color: var(--color-background); border-color: color-mix(in srgb, var(--color-background) 40%, transparent); backdrop-filter: blur(4px); text-transform: none; }
.btn-hero-outline:hover { background: color-mix(in srgb, var(--color-background) 20%, transparent); }
.btn-outline-theme { background: transparent; color: var(--color-foreground); border-color: var(--color-border); text-transform: none; }
.btn-outline-theme:hover { background: var(--color-secondary); }

/* =========================================================================
   HEADER
   ========================================================================= */
.site-header {
	position: sticky;
	top: var(--wp-admin-bar-height);
	left: 0;
	right: 0;
	z-index: 50;
	background: var(--color-background);
	border-bottom: 1px solid var(--color-border);
	box-shadow: var(--shadow-soft);
}
.site-nav {
	display: grid;
	grid-template-columns: auto 1fr auto;
	align-items: center;
	height: 3rem;
	gap: 1rem;
}
@media (min-width: 768px) {
	.site-nav { height: 3.5rem; }
	:root { --header-height: 3.5rem; --logo-height: 5rem; }
}
.site-brand { display: flex; align-items: center; justify-self: start; }
.site-logo-img { height: var(--logo-height) !important; width: auto !important; max-width: 220px; object-fit: contain; }
.site-logo-text { font-family: var(--font-display); font-size: 1.25rem; text-transform: uppercase; letter-spacing: 0.05em; }
.site-nav-links { display: none; align-items: center; justify-content: center; gap: 2rem; }
@media (min-width: 1024px) { .site-nav-links { display: flex; } }
.theme-nav-list { display: flex; align-items: center; gap: 2rem; list-style: none; }
.theme-nav-list a, .theme-nav-link {
	font-size: 11px; font-family: var(--font-display); letter-spacing: 0.24em; text-transform: uppercase;
	cursor: pointer; transition: color 0.3s var(--transition-smooth);
}
.theme-nav-list a:hover, .theme-nav-link:hover { color: var(--color-primary); }
.site-nav-actions { display: flex; align-items: center; gap: 0.5rem; justify-self: end; }
@media (min-width: 768px) { .site-nav-actions { gap: 1rem; } }
.site-icon-btn { position: relative; padding: 0.5rem; transition: opacity 0.2s ease; }
.site-icon-btn:hover { opacity: 0.6; }
.theme-cart-count {
	position: absolute; top: -2px; right: -2px; width: 1.25rem; height: 1.25rem;
	display: flex; align-items: center; justify-content: center;
	font-size: 12px; font-weight: 500; background: var(--color-primary); color: var(--color-primary-foreground);
	border-radius: 50%;
}
.theme-cart-count:empty { display: none; }
.theme-mobile-toggle { display: block; }
@media (min-width: 1024px) { .theme-mobile-toggle { display: none; } }
.theme-mobile-toggle .icon-close { display: none; }
body.mobile-menu-open .theme-mobile-toggle .icon-open { display: none; }
body.mobile-menu-open .theme-mobile-toggle .icon-close { display: block; }

.theme-mobile-menu { display: none; border-top: 1px solid var(--color-border); padding: 1rem 0; }
body.mobile-menu-open .theme-mobile-menu { display: block; animation: theme-fade-in 0.3s var(--transition-smooth); }
@media (min-width: 1024px) { .theme-mobile-menu { display: none !important; } }
.theme-mobile-menu .theme-mobile-nav-list, .theme-mobile-menu .theme-nav-list { flex-direction: column; align-items: flex-start; gap: 1rem; }
.theme-mobile-menu a, .theme-mobile-menu button { text-align: left; font-size: 14px; padding: 0.4rem 0; }

/* Home hero fills viewport under sticky header */
body.theme-no-hero .site-main,
body.theme-no-hero .generic-page-main,
body.theme-no-hero .single-product-main,
body.theme-no-hero .shop-archive-main,
body.theme-no-hero .theme-404-main {
	padding-top: var(--header-height);
}

/* =========================================================================
   FOOTER
   ========================================================================= */
.site-footer { border-top: 1px solid var(--color-border); background: var(--color-butter); }
.site-footer-inner { padding-block: 3.5rem; }
@media (min-width: 1024px) { .site-footer-inner { padding-block: 4.5rem; } }
.site-footer-grid { display: grid; grid-template-columns: 1fr; gap: 2.5rem; }
@media (min-width: 640px) { .site-footer-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .site-footer-grid { grid-template-columns: repeat(4, 1fr); gap: 2rem; } }
.footer-brand-col { display: flex; flex-direction: column; gap: 1rem; }
.footer-logo-img { height: 3.5rem; max-height: 3.5rem; width: auto; object-fit: contain; }
.footer-tagline { font-size: 0.875rem; color: var(--color-muted-foreground); max-width: 20rem; }
.footer-heading { font-size: 1.125rem; letter-spacing: 0.02em; text-transform: uppercase; margin-bottom: 1.25rem; }
.footer-nav-list { display: flex; flex-direction: column; gap: 0.75rem; }
.footer-nav-list button { font-size: 0.875rem; color: var(--color-muted-foreground); text-align: left; transition: color 0.2s; }
.footer-nav-list button:hover { color: var(--color-foreground); }
.footer-contact-list { display: flex; flex-direction: column; gap: 0.75rem; }
.footer-contact-link { display: flex; align-items: center; gap: 0.5rem; font-size: 0.875rem; color: var(--color-muted-foreground); transition: color 0.2s; }
.footer-contact-link:hover { color: var(--color-foreground); }
.site-footer-bottom {
	margin-top: 3rem; padding-top: 1.5rem; border-top: 1px solid var(--color-border);
	display: flex; flex-direction: column; align-items: center; gap: 0.75rem; text-align: center;
}
@media (min-width: 640px) { .site-footer-bottom { flex-direction: row; justify-content: space-between; text-align: left; } }
.footer-quote, .footer-credit, .footer-copyright { font-size: 12px; color: var(--color-muted-foreground); letter-spacing: 0.02em; }
.footer-quote { font-style: italic; }
.footer-credit a { color: var(--color-foreground); transition: color 0.2s; }
.footer-credit a:hover { color: var(--color-primary); }

/* =========================================================================
   HERO
   ========================================================================= */
.hero-section { background: var(--color-background); }
.hero-media { position: relative; width: 100%; min-height: 100vh; height: 100vh; overflow: hidden; }
.hero-overlay {
	position: absolute; inset: 0;
	background: linear-gradient(to right, color-mix(in srgb, var(--color-foreground) 85%, transparent), color-mix(in srgb, var(--color-foreground) 55%, transparent), color-mix(in srgb, var(--color-foreground) 20%, transparent));
}
.hero-content { position: relative; height: 100%; display: flex; align-items: center; justify-content: center; }
.hero-inner { max-width: 36rem; text-align: center; }
.hero-eyebrow { color: var(--color-primary); filter: brightness(2); margin-bottom: 1.25rem; }
.hero-title {
	font-size: 3.75rem; line-height: 0.95; text-transform: uppercase; letter-spacing: 0.02em;
	color: var(--color-background); margin-bottom: 1.5rem;
}
@media (min-width: 768px) { .hero-title { font-size: 4.5rem; } }
@media (min-width: 1280px) { .hero-title { font-size: 6rem; } }
.hero-subtitle { color: color-mix(in srgb, var(--color-background) 90%, transparent); font-size: 1rem; line-height: 1.6; margin-bottom: 2.5rem; max-width: 28rem; margin-left: auto; margin-right: auto; }
@media (min-width: 768px) { .hero-subtitle { font-size: 1.125rem; } }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 1rem; }

/* =========================================================================
   COLLECTIONS
   ========================================================================= */
.section-heading-wrap { margin-bottom: 2.5rem; }
.collections-heading { font-size: 1.875rem; text-transform: uppercase; letter-spacing: 0.02em; }
@media (min-width: 768px) { .collections-heading { font-size: 2.25rem; } }
.collections-grid { display: grid; grid-template-columns: 1fr; gap: 1rem; }
@media (min-width: 768px) { .collections-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.5rem; } }
.collection-tile { position: relative; display: block; aspect-ratio: 3/4; overflow: hidden; }
.collection-tile-overlay {
	position: absolute; inset: 0;
	background: linear-gradient(to top, color-mix(in srgb, var(--color-foreground) 85%, transparent), color-mix(in srgb, var(--color-foreground) 40%, transparent), color-mix(in srgb, var(--color-foreground) 10%, transparent));
	transition: background 0.5s;
}
.collection-tile:hover .collection-tile-img { transform: scale(1.05); }
.collection-tile-img { transition: transform 0.7s var(--transition-smooth); }
.collection-tile-copy { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: flex-end; padding: 1.5rem; color: var(--color-background); text-shadow: 0 1px 8px rgba(0,0,0,0.45); }
.collection-tile-tagline { display: inline-flex; align-items: center; gap: 0.5rem; font-size: 11px; letter-spacing: 0.3em; text-transform: uppercase; margin-bottom: 0.5rem; filter: brightness(1.5); }
.collection-tile-dash { width: 1.5rem; height: 1px; background: currentColor; display: inline-block; }
.collection-tile-label { font-size: 1.5rem; text-transform: uppercase; letter-spacing: 0.02em; margin-bottom: 0.5rem; }
@media (min-width: 768px) { .collection-tile-label { font-size: 1.875rem; } }
.collection-tile-cta { display: inline-flex; align-items: center; gap: 0.4rem; font-size: 12px; letter-spacing: 0.22em; text-transform: uppercase; }

/* =========================================================================
   ABOUT
   ========================================================================= */
.about-grid { display: grid; grid-template-columns: 1fr; align-items: stretch; }
@media (min-width: 1024px) { .about-grid { grid-template-columns: 1fr 1fr; } }
.about-media { position: relative; min-height: 380px; }
@media (min-width: 768px) { .about-media { min-height: 520px; } }
@media (min-width: 1024px) { .about-media { min-height: 620px; } }
.about-copy-wrap { display: flex; align-items: center; background: var(--color-background); padding: 4rem 1.5rem; }
@media (min-width: 768px) { .about-copy-wrap { padding: 6rem 3.5rem; } }
@media (min-width: 1024px) { .about-copy-wrap { padding: 6rem 5rem; } }
.about-copy { max-width: 36rem; }
.about-heading { font-size: 2.25rem; text-transform: uppercase; line-height: 1.05; margin-bottom: 1.75rem; }
@media (min-width: 768px) { .about-heading { font-size: 3rem; } }
@media (min-width: 1024px) { .about-heading { font-size: 3.75rem; } }
.about-paragraph { color: color-mix(in srgb, var(--color-foreground) 80%, transparent); line-height: 1.7; margin-bottom: 1.25rem; }
.about-cta { margin-top: 0.5rem; font-size: 12px; letter-spacing: 0.28em; text-transform: uppercase; font-family: var(--font-display); }

/* =========================================================================
   SERVICES CAROUSEL
   ========================================================================= */
.services-heading-wrap { padding: 0 1.5rem; margin-bottom: 3rem; }
@media (min-width: 768px) { .services-heading-wrap { padding: 0 3.5rem; margin-bottom: 4rem; } }
@media (min-width: 1024px) { .services-heading-wrap { padding: 0 5rem; } }
.services-heading { font-size: 2.25rem; text-transform: uppercase; 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-carousel { position: relative; }
.services-carousel-viewport { position: relative; }
.services-track {
	display: flex;
	gap: 1rem;
	overflow-x: auto;
	scroll-snap-type: x mandatory;
	-webkit-overflow-scrolling: touch;
	padding: 0 1.5rem 1rem;
	scrollbar-width: none;
}
.services-track::-webkit-scrollbar { display: none; }
@media (min-width: 768px) { .services-track { gap: 1.5rem; padding: 0 3.5rem 1rem; } }
@media (min-width: 1024px) { .services-track { padding: 0 5rem 1rem; } }
.service-card {
	scroll-snap-align: center;
	flex-shrink: 0;
	width: 90%;
	background: var(--color-background);
	border: 1px solid var(--color-border);
	overflow: hidden;
	display: flex;
	flex-direction: column;
}
@media (min-width: 640px) { .service-card { width: 85%; } }
@media (min-width: 768px) { .service-card { width: 78%; flex-direction: row; align-items: stretch; } }
@media (min-width: 1024px) { .service-card { width: 62%; } }
@media (min-width: 1280px) { .service-card { width: 52%; } }
.service-card-media {
	position: relative;
	width: 100%;
	aspect-ratio: 3 / 4;
	background: #f4f8fa;
	overflow: hidden;
	flex-shrink: 0;
}
@media (min-width: 768px) {
	.service-card-media { width: 25%; aspect-ratio: auto; align-self: stretch; min-height: 100%; }
}
.service-card-img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	max-width: none;
	object-fit: contain;
	object-position: center;
	padding: 0.75rem 0;
}
@media (min-width: 768px) {
	.service-card-img { object-position: right center; padding: 1.25rem 0; }
}
.service-card-numeral {
	position: absolute;
	top: 0.75rem;
	left: 0.75rem;
	font-family: var(--font-display);
	font-size: 12px;
	letter-spacing: 0.3em;
	padding: 0.25rem 0.5rem;
	background: color-mix(in srgb, var(--color-background) 90%, transparent);
	backdrop-filter: blur(4px);
}
.service-card-copy {
	padding: 1.25rem;
	display: flex;
	flex-direction: column;
	gap: 0.75rem;
	flex: 1;
	justify-content: center;
}
@media (min-width: 768px) { .service-card-copy { padding: 1.75rem; } }
.service-card-kicker-row { display: flex; align-items: center; gap: 0.75rem; }
.service-card-icon {
	display: flex;
	height: 2rem;
	width: 2rem;
	align-items: center;
	justify-content: center;
	border-radius: 50%;
	border: 1px solid;
}
.service-card-icon .theme-icon { width: 0.875rem; height: 0.875rem; }
.service-card-kicker { font-family: var(--font-body); font-size: 11px; letter-spacing: 0.28em; text-transform: uppercase; }
.service-card-title {
	font-family: var(--font-display);
	font-size: 1.25rem;
	text-transform: uppercase;
	letter-spacing: 0.025em;
	line-height: 1.05;
}
@media (min-width: 768px) { .service-card-title { font-size: 1.5rem; } }
@media (min-width: 1024px) { .service-card-title { font-size: 1.875rem; } }
.service-card-description {
	font-family: var(--font-body);
	font-size: 0.875rem;
	color: var(--color-muted-foreground);
	line-height: 1.625;
}
@media (min-width: 768px) { .service-card-description { font-size: 15px; } }
.accent-primary { border-color: color-mix(in srgb, var(--color-primary) 40%, transparent); color: var(--color-primary); }
.accent-marigold { border-color: color-mix(in srgb, var(--color-marigold) 50%, transparent); color: var(--color-marigold); }
.accent-teal { border-color: color-mix(in srgb, var(--color-teal) 40%, transparent); color: var(--color-teal); }
.carousel-nav-btn {
	display: none;
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	z-index: 10;
	height: 2.75rem;
	width: 2.75rem;
	align-items: center;
	justify-content: center;
	border: 1px solid color-mix(in srgb, var(--color-foreground) 20%, transparent);
	background: color-mix(in srgb, var(--color-background) 80%, transparent);
	backdrop-filter: blur(4px);
	color: color-mix(in srgb, var(--color-foreground) 70%, transparent);
	transition: color 0.2s, border-color 0.2s;
	pointer-events: auto;
	cursor: pointer;
}
.carousel-nav-btn .theme-icon { width: 1rem; height: 1rem; }
.carousel-nav-btn:hover { color: var(--color-primary); border-color: var(--color-primary); }
@media (min-width: 768px) { .carousel-nav-btn { display: flex; } }
.carousel-prev { left: 0.5rem; }
.carousel-next { right: 0.5rem; }
@media (min-width: 1024px) { .carousel-prev { left: 1rem; } .carousel-next { right: 1rem; } }
.carousel-dots-wrap { margin-top: 2rem; display: flex; align-items: center; justify-content: center; }
.carousel-dots { display: flex; align-items: center; gap: 0.5rem; }
.carousel-dot {
	height: 6px;
	width: 1rem;
	border-radius: 999px;
	background: color-mix(in srgb, var(--color-foreground) 20%, transparent);
	transition: width 0.3s var(--transition-smooth), background-color 0.3s var(--transition-smooth);
	cursor: pointer;
}
.carousel-dot:hover { background: color-mix(in srgb, var(--color-foreground) 40%, transparent); }
.carousel-dot.is-active { width: 2rem; background: var(--color-primary); }

/* =========================================================================
   SHOP SECTION
   ========================================================================= */
.shop-heading { font-size: 1.875rem; text-transform: uppercase; 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); width: 1rem; height: 1rem; }
.shop-search-input {
	width: 100%; padding: 0.5rem 0 0.5rem 1.75rem; background: transparent; border: none;
	border-bottom: 1px solid var(--color-border); font-size: 1rem; font-family: var(--font-body);
	transition: border-color 0.2s; outline: none;
}
.shop-search-input:focus { 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 var(--transition-smooth);
}
.shop-cat-pill:hover { border-color: var(--color-primary); color: var(--color-primary); }
.shop-cat-pill.is-active { background: var(--color-primary); border-color: var(--color-primary); color: var(--color-primary-foreground); }
.shop-price-filter-wrap { 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; }
.shop-price-toggle:hover { color: var(--color-foreground); }
.shop-price-toggle-range { text-transform: none; letter-spacing: normal; opacity: 0.7; font-size: 0.875rem; }
.shop-price-chevron { transition: transform 0.3s; }
.shop-price-toggle.is-open .shop-price-chevron { 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: 10rem; opacity: 1; padding: 0.5rem 0; }
.price-range-wrapper { position: relative; height: 1.5rem; margin-bottom: 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; width: 18px; height: 18px; border-radius: 50%; background: var(--color-background); border: 2px solid var(--color-primary); cursor: pointer; }
.range-input::-moz-range-thumb { pointer-events: auto; width: 18px; height: 18px; border-radius: 50%; background: var(--color-background); border: 2px solid var(--color-primary); cursor: pointer; }
.range-input--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); }

.theme-product-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 1.5rem;
	align-items: stretch;
	margin-top: 2.5rem;
}
@media (min-width: 768px) { .theme-product-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .theme-product-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 2rem; } }
.theme-product-card-wrap { display: flex; flex-direction: column; height: 100%; }
.theme-product-card { 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 *:not(.theme-card-link) { pointer-events: none; }
.theme-product-card__quick-add,
.theme-product-card__image-wrapper .add_to_cart_button { pointer-events: auto; }
.theme-product-card__image-wrapper {
	display: flex;
	align-items: center;
	justify-content: center;
	position: relative;
	width: 100%;
	aspect-ratio: 3 / 4;
	overflow: hidden;
	margin-bottom: 1.25rem;
	background: #f4f8fa;
	padding: 1rem;
	box-sizing: border-box;
}
.woocommerce .theme-product-card__image-wrapper img.theme-product-card__image,
.theme-product-card__image-wrapper .theme-product-card__image {
	position: static !important;
	display: block !important;
	width: auto !important;
	height: auto !important;
	max-width: 100% !important;
	max-height: 100% !important;
	object-fit: contain !important;
	padding: 0 !important;
	margin: 0 !important;
	box-sizing: border-box;
	transition: transform 0.7s var(--transition-smooth);
}
.theme-product-card:hover .theme-product-card__image { transform: scale(1.04); }
.theme-product-card__image.is-sold-out { opacity: 0.6; }
.theme-product-badge { position: absolute; top: 0.75rem; left: 0.75rem; padding: 0.25rem 0.75rem; font-size: 12px; font-weight: 500; letter-spacing: 0.18em; text-transform: uppercase; background: var(--color-foreground); color: var(--color-background); border-radius: 999px; z-index: 3; pointer-events: none; }
.theme-product-card__quick-add {
	position: absolute !important;
	bottom: 0.75rem !important;
	right: 0.75rem !important;
	top: auto !important;
	left: auto !important;
	z-index: 4;
	width: 2.5rem;
	height: 2.5rem;
	min-height: unset !important;
	padding: 0 !important;
	border-radius: 50% !important;
	display: flex !important;
	align-items: center;
	justify-content: center;
	background: var(--color-background) !important;
	color: var(--color-foreground) !important;
	box-shadow: var(--shadow-soft);
	opacity: 1;
	transition: opacity 0.3s, transform 0.2s;
	margin: 0 !important;
	float: none !important;
}
@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: 1rem; display: flex; flex-direction: column; gap: 0.5rem; }
.theme-product-card__title {
	font-size: 0.875rem; font-weight: 500; text-transform: uppercase; letter-spacing: 0.15em;
	color: var(--color-foreground); transition: color 0.3s;
	min-width: 0; overflow: hidden; text-overflow: ellipsis;
}
@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; }
@media (min-width: 768px) { .theme-product-card__price { font-size: 1.125rem; } }

.shop-empty-state { text-align: center; padding: 5rem 0; color: var(--color-muted-foreground); }
.shop-show-more-wrap { text-align: center; margin-top: 3rem; }

/* =========================================================================
   STARTER KIT BAND
   ========================================================================= */
.starterkit-section { background: var(--color-surface-deep); color: var(--color-surface-deep-foreground); }
.starterkit-heading-wrap { max-width: 42rem; margin: 0 auto 3rem; }
.starterkit-eyebrow { color: var(--color-marigold); }
.starterkit-heading { font-size: 2.25rem; text-transform: uppercase; line-height: 1.05; margin-bottom: 1.5rem; }
@media (min-width: 768px) { .starterkit-heading { font-size: 3rem; } }
@media (min-width: 1024px) { .starterkit-heading { font-size: 3.75rem; } }
.starterkit-heading-italic { display: block; font-style: italic; color: var(--color-marigold); }
.starterkit-paragraph { font-size: 1rem; line-height: 1.7; color: color-mix(in srgb, var(--color-surface-deep-foreground) 75%, transparent); }
.starterkit-swatch-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; margin-bottom: 3rem; }
@media (min-width: 768px) { .starterkit-swatch-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.5rem; } }
@media (min-width: 1024px) { .starterkit-swatch-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); } }
.starterkit-swatch { text-align: left; min-width: 0; }
.starterkit-swatch-imgwrap {
	position: relative;
	width: 100%;
	aspect-ratio: 1 / 1;
	overflow: hidden;
	background: var(--color-surface-deep);
	padding: 1rem;
}
.starterkit-swatch-img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	max-width: none;
	object-fit: contain;
	padding: 1rem;
}
.starterkit-swatch-label { padding-top: 0.75rem; font-family: var(--font-display); font-size: 14px; text-transform: uppercase; letter-spacing: 0.02em; }
@media (min-width: 768px) { .starterkit-swatch-label { font-size: 1rem; } }
.starterkit-section .btn-hero-primary { text-transform: uppercase; }

/* =========================================================================
   TEAM
   ========================================================================= */
.team-heading-wrap { margin-bottom: 3.5rem; }
.team-heading { font-size: 1.875rem; text-transform: uppercase; }
@media (min-width: 768px) { .team-heading { font-size: 3rem; } }
.team-grid { display: grid; grid-template-columns: 1fr; gap: 2.5rem; max-width: 64rem; margin: 0 auto; }
@media (min-width: 768px) { .team-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2.5rem; } }
.team-member { text-align: center; }
.team-member-imgwrap { position: relative; aspect-ratio: 1/1; overflow: hidden; background: #f4f8fa; margin: 0 auto 1.25rem; border-radius: 50%; max-width: 240px; }
.team-member-name { font-size: 1.25rem; text-transform: uppercase; margin-bottom: 0.25rem; }
@media (min-width: 768px) { .team-member-name { font-size: 1.5rem; } }
.team-member-role { font-size: 11px; letter-spacing: 0.28em; text-transform: uppercase; color: var(--color-primary); margin-bottom: 0.75rem; }
.team-member-bio { font-size: 0.875rem; color: var(--color-muted-foreground); line-height: 1.6; max-width: 20rem; margin: 0 auto; }

/* =========================================================================
   TESTIMONIALS
   ========================================================================= */
.testimonials-section { background: var(--color-butter); }
.testimonials-heading-wrap { margin-bottom: 3.5rem; }
.testimonials-heading { font-size: 1.875rem; text-transform: uppercase; }
@media (min-width: 768px) { .testimonials-heading { font-size: 3rem; } }
.testimonials-grid { display: grid; grid-template-columns: 1fr; gap: 1.5rem; }
@media (min-width: 768px) { .testimonials-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2rem; } }
.testimonial-card {
	position: relative;
	background: var(--color-background);
	border: 1px solid var(--color-border);
	padding: 2rem;
}
@media (min-width: 768px) { .testimonial-card { padding: 2.25rem; } }
.testimonial-quote-icon {
	position: absolute;
	top: -0.75rem;
	left: 1.5rem;
	height: 1.5rem;
	width: 1.5rem;
	color: var(--color-primary);
	background: var(--color-butter);
	padding: 0 0.25rem;
}
.testimonial-quote {
	font-family: var(--font-body);
	font-size: 1rem;
	font-style: italic;
	line-height: 1.625;
	color: color-mix(in srgb, var(--color-foreground) 85%, transparent);
	margin-bottom: 1.5rem;
}
@media (min-width: 768px) { .testimonial-quote { font-size: 1.125rem; } }
.testimonial-name {
	font-family: var(--font-display);
	font-size: 1rem;
	text-transform: uppercase;
	letter-spacing: 0.025em;
}
.testimonial-location {
	font-family: var(--font-body);
	font-size: 11px;
	letter-spacing: 0.24em;
	text-transform: uppercase;
	color: var(--color-muted-foreground);
	margin-top: 0.25rem;
}

/* =========================================================================
   FAQ
   ========================================================================= */
.faq-layout { display: grid; grid-template-columns: 1fr; gap: 2.5rem; }
@media (min-width: 1024px) { .faq-layout { grid-template-columns: 4fr 8fr; gap: 4rem; } }
.faq-intro { align-self: start; }
@media (min-width: 1024px) { .faq-intro { position: sticky; top: calc(8rem + var(--wp-admin-bar-height)); } }
.faq-heading { font-size: 1.875rem; text-transform: uppercase; line-height: 1.05; margin-bottom: 1.5rem; }
@media (min-width: 768px) { .faq-heading { font-size: 3rem; } }
.faq-subtext { color: var(--color-muted-foreground); line-height: 1.6; }
.faq-list { border-top: 1px solid var(--color-border); border-bottom: 1px solid var(--color-border); }
.faq-item { border-bottom: 1px solid var(--color-border); }
.faq-item:last-child { border-bottom: none; }
.faq-question { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; padding: 1.5rem 0; text-align: left; }
.faq-question-text {
	font-family: var(--font-display);
	font-size: 1.125rem;
	font-weight: 400;
	text-transform: uppercase;
	letter-spacing: 0.025em;
	line-height: 1.25;
}
@media (min-width: 768px) { .faq-question-text { font-size: 1.25rem; } }
.faq-toggle-icon { flex-shrink: 0; height: 2rem; width: 2rem; display: flex; align-items: center; justify-content: center; border: 1px solid var(--color-border); border-radius: 50%; color: var(--color-primary); }
.faq-toggle-icon .icon-minus { display: none; }
.faq-item.is-open .faq-toggle-icon .icon-plus { display: none; }
.faq-item.is-open .faq-toggle-icon .icon-minus { display: block; }
.faq-answer-wrap { max-height: 0; overflow: hidden; transition: max-height 0.3s var(--transition-smooth); }
.faq-item.is-open .faq-answer-wrap { max-height: 20rem; }
.faq-answer { padding-bottom: 1.5rem; padding-right: 3rem; color: var(--color-muted-foreground); line-height: 1.6; }

/* =========================================================================
   CONTACT CTA
   ========================================================================= */
.contact-cta-section { position: relative; background: var(--color-butter); overflow: hidden; }
.contact-cta-bg { opacity: 0.4; }
.contact-cta-bg-fade { position: absolute; inset: 0; background: linear-gradient(to bottom, var(--color-butter), color-mix(in srgb, var(--color-butter) 70%, transparent), var(--color-butter)); }
.contact-cta-inner { position: relative; padding-block: 6rem 8rem; }
.contact-cta-card {
	max-width: 42rem; margin: 0 auto; text-align: center;
	background: color-mix(in srgb, var(--color-background) 95%, transparent);
	backdrop-filter: blur(6px); box-shadow: var(--shadow-elevated);
	padding: 3rem 2rem; border: 1px solid color-mix(in srgb, var(--color-border) 60%, transparent);
}
@media (min-width: 768px) { .contact-cta-card { padding: 4rem 3.5rem; } }
.contact-cta-eyebrow { color: var(--color-teal); font-weight: 600; }
.contact-cta-heading { font-size: 1.875rem; text-transform: uppercase; line-height: 1.2; margin-bottom: 1.5rem; }
@media (min-width: 768px) { .contact-cta-heading { font-size: 3rem; } }
@media (min-width: 1024px) { .contact-cta-heading { font-size: 3.75rem; } }
.contact-cta-paragraph { color: color-mix(in srgb, var(--color-foreground) 80%, transparent); line-height: 1.6; margin-bottom: 2.5rem; max-width: 26rem; margin-left: auto; margin-right: auto; }
.contact-cta-actions { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1.25rem; }
@media (min-width: 640px) { .contact-cta-actions { flex-direction: row; } }
.btn-contact-primary { background: var(--color-foreground); color: var(--color-background); padding: 1rem 2.25rem; }
.btn-contact-primary:hover { opacity: 0.9; }

/* =========================================================================
   CONTACT MODAL
   ========================================================================= */
.theme-modal { position: fixed; inset: 0; z-index: 100; display: none; }
.theme-modal.is-open { display: block; }
.theme-modal-overlay { position: fixed; inset: 0; background: rgba(0,0,0,0.6); animation: theme-fade-in 0.2s var(--transition-smooth); }
.theme-modal-content {
	position: fixed; left: 50%; top: 50%; transform: translate(-50%, -50%);
	width: calc(100% - 2rem); max-width: 32rem; max-height: 90vh; overflow-y: auto;
	background: var(--color-background); border: 1px solid var(--color-border); border-radius: var(--radius);
	padding: 1.5rem; z-index: 101;
	animation: theme-modal-in 0.2s var(--transition-smooth);
}
@keyframes theme-modal-in { from { opacity: 0; transform: translate(-50%, -46%) scale(0.96); } to { opacity: 1; transform: translate(-50%, -50%) scale(1); } }
.theme-modal-close { position: absolute; top: 1rem; right: 1rem; opacity: 0.7; transition: opacity 0.2s; }
.theme-modal-close:hover { opacity: 1; }
.theme-modal-header { margin-bottom: 1rem; }
.theme-modal-title { font-size: 1.5rem; text-transform: uppercase; letter-spacing: 0.02em; margin-bottom: 0.5rem; }
.theme-modal-description { font-size: 0.875rem; color: var(--color-muted-foreground); }
.theme-modal-meta { display: flex; align-items: center; gap: 1rem; font-size: 0.875rem; color: var(--color-muted-foreground); margin-bottom: 1rem; }
.theme-modal-email { display: flex; align-items: center; gap: 0.5rem; transition: color 0.2s; }
.theme-modal-email:hover { color: var(--color-foreground); }
.theme-modal-success { text-align: center; padding: 2rem 0; }
.theme-modal-success-icon { width: 3.5rem; height: 3.5rem; background: var(--color-primary); color: var(--color-primary-foreground); display: flex; align-items: center; justify-content: center; margin: 0 auto 1rem; border-radius: 50%; }
.theme-modal-success h3 { font-size: 1.25rem; text-transform: uppercase; margin-bottom: 0.5rem; }
.theme-modal-success p { font-size: 0.875rem; color: var(--color-muted-foreground); }
.theme-modal-form { display: flex; flex-direction: column; gap: 1rem; }
.theme-modal-form-row { display: grid; grid-template-columns: 1fr; gap: 1rem; }
@media (min-width: 640px) { .theme-modal-form-row { grid-template-columns: 1fr 1fr; } }
.theme-form-field { display: flex; flex-direction: column; }
.theme-form-field label { font-size: 0.875rem; font-weight: 500; margin-bottom: 0.35rem; }
.theme-form-field input, .theme-form-field textarea {
	width: 100%; padding: 0.6rem 0.75rem; background: var(--color-background); border: 1px solid var(--color-border);
	border-radius: 0.375rem; font-size: 1rem; transition: box-shadow 0.3s;
}
.theme-form-field input:focus, .theme-form-field textarea:focus { outline: none; box-shadow: 0 0 0 2px color-mix(in srgb, var(--color-primary) 50%, transparent); }
.theme-form-field textarea { resize: none; }
.theme-modal-form-footer { display: flex; justify-content: flex-end; }
.theme-modal-form-footer .btn-theme { text-transform: none; }
.btn-icon-inline { width: 1rem; height: 1rem; }

/* =========================================================================
   CART DRAWER
   ========================================================================= */
#theme-cart-overlay { position: fixed; inset: 0; z-index: 90; background: color-mix(in srgb, var(--color-foreground) 20%, transparent); display: none; }
body.cart-open #theme-cart-overlay { display: block; animation: theme-fade-in 0.2s var(--transition-smooth); }
#theme-cart-drawer {
	position: fixed; right: -100%; top: var(--wp-admin-bar-height); height: calc(100% - var(--wp-admin-bar-height)); width: 100%; max-width: 28rem;
	background: var(--color-background); z-index: 95; box-shadow: var(--shadow-elevated);
	display: flex; flex-direction: column; transition: right 0.35s var(--transition-smooth);
}
body.cart-open #theme-cart-drawer { right: 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; font-weight: 700; }
.theme-cart-drawer-close { padding: 0.25rem; transition: opacity 0.2s; }
.theme-cart-drawer-close:hover { opacity: 0.6; }
.theme-cart-drawer-empty { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 1.5rem; text-align: center; }
.theme-cart-empty-icon { width: 3rem; height: 3rem; 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-img-link {
	width: 5rem;
	height: 6rem;
	background: var(--color-secondary);
	overflow: hidden;
	flex-shrink: 0;
	padding: 0.5rem;
	display: flex;
	align-items: center;
	justify-content: center;
	box-sizing: border-box;
}
.woocommerce #theme-cart-drawer .theme-cart-item-img-link img.theme-cart-item-img,
#theme-cart-drawer .theme-cart-item-img-link .theme-cart-item-img {
	position: static !important;
	display: block !important;
	width: auto !important;
	height: auto !important;
	max-width: 100% !important;
	max-height: 100% !important;
	object-fit: contain !important;
}
.theme-cart-item-info { flex: 1; min-width: 0; }
.theme-cart-item-name { font-size: 0.875rem; font-weight: 500; display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; transition: opacity 0.2s; }
.theme-cart-item-name:hover { opacity: 0.7; }
.theme-cart-item-price { font-size: 0.875rem; color: var(--color-muted-foreground); margin-top: 0.15rem; }
.theme-cart-item-variation { font-size: 0.75rem; color: var(--color-muted-foreground); margin-top: 0.25rem; display: flex; flex-direction: column; gap: 0.15rem; }
.theme-cart-item-controls { display: flex; align-items: center; gap: 0.75rem; margin-top: 0.75rem; }
.theme-cart-qty-btn { padding: 0.25rem; border-radius: 0.25rem; transition: background 0.2s; }
.theme-cart-qty-btn:hover { background: var(--color-secondary); }
.theme-cart-qty-btn .theme-icon { width: 0.75rem; height: 0.75rem; }
.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; }
.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-value { font-weight: 500; }
.theme-cart-shipping-note { font-size: 0.875rem; color: var(--color-muted-foreground); }
.theme-cart-checkout-btn { width: 100%; text-transform: none; }
.theme-cart-empty-btn { width: 100%; display: flex; align-items: center; justify-content: center; gap: 0.5rem; font-size: 0.875rem; padding: 0.6rem 1rem; }

/* Hide WooCommerce injected "View 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; }

/* Scoped notice visibility (Section 14.1) */
.single-product .woocommerce-message,
.single-product .woocommerce-info { display: none; }
#theme-cart-drawer .woocommerce-message { display: none; }
.woocommerce-message, .woocommerce-info, .woocommerce-error {
	font-family: var(--font-body); border-radius: 0.5rem; border: 1px solid var(--color-border);
	padding: 1rem 1.25rem; background: var(--color-secondary); color: var(--color-foreground);
}

/* =========================================================================
   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.8rem !important;
	font-weight: 500 !important;
	letter-spacing: 0.15em !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;
}
.single-product .single_add_to_cart_button.loading::after,
.ajax_add_to_cart.loading::after { display: none !important; }

/* Card compact button — overrides global/WooCommerce rules, must appear after them */
.woocommerce .theme-product-card__image-wrapper .theme-product-card__quick-add,
.theme-product-card .add_to_cart_button.ajax_add_to_cart.theme-product-card__quick-add {
	position: absolute !important;
	bottom: 0.75rem !important;
	right: 0.75rem !important;
	top: auto !important;
	left: auto !important;
	min-height: unset !important;
	padding: 0 !important;
	border-radius: 50% !important;
}

/* =========================================================================
   SINGLE PRODUCT PAGE
   ========================================================================= */
.single-product-main { padding: 2rem 0 6rem; }
.product-breadcrumb { padding: 1.5rem 0; font-size: 13px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--color-muted-foreground); }
.product-breadcrumb a { transition: color 0.2s; }
.product-breadcrumb a:hover { color: var(--color-foreground); }
.product-breadcrumb .crumb-sep { margin: 0 0.5rem; opacity: 0.5; }
.product-breadcrumb .crumb-current { color: var(--color-foreground); }

.theme-product-layout { display: grid; grid-template-columns: 1fr; gap: 2.5rem; padding: 1rem 0 3rem; align-items: start; min-width: 0; }
@media (min-width: 1024px) { .theme-product-layout { grid-template-columns: 7fr 5fr; gap: 4rem; } }
.theme-product-gallery, .theme-product-info { min-width: 0; max-width: 100%; }
.product-main-image-wrap {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	max-width: 100%;
	aspect-ratio: 1 / 1;
	overflow: hidden;
	background: #f4f8fa;
	padding: 1.5rem;
	box-sizing: border-box;
}
@media (min-width: 1024px) { .product-main-image-wrap { padding: 2rem; } }
.woocommerce .single-product-main .product-main-image-wrap img.product-main-image,
.single-product-main .product-main-image-wrap #product-main-img {
	position: static !important;
	display: block !important;
	width: auto !important;
	height: auto !important;
	max-width: 100% !important;
	max-height: 100% !important;
	object-fit: contain !important;
	padding: 0 !important;
	margin: 0 !important;
}
.product-thumb-btn img {
	position: absolute;
	inset: 0;
	display: block;
	width: 100%;
	height: 100%;
	object-fit: contain;
	padding: 0.5rem;
	box-sizing: border-box;
}
.theme-product-thumbnails { display: flex; gap: 0.75rem; margin-top: 1rem; flex-wrap: wrap; max-width: 100%; overflow-x: auto; }
.product-thumb-btn { position: relative; width: 5rem; height: 5rem; flex-shrink: 0; overflow: hidden; background: #f4f8fa; opacity: 0.6; transition: opacity 0.2s; }
.product-thumb-btn.is-active, .product-thumb-btn:hover { opacity: 1; }
.product-thumb-btn.is-active::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--color-foreground); }

.product-category-label { font-size: 13px; letter-spacing: 0.25em; text-transform: uppercase; color: var(--color-muted-foreground); }
.product-category-label a { color: inherit; }
.product-title { font-family: var(--font-body); font-weight: 600; font-size: 1.875rem; line-height: 1.1; margin-top: 0.75rem; margin-bottom: 1.25rem; text-transform: none; }
@media (min-width: 768px) { .product-title { font-size: 2.25rem; } }
@media (min-width: 1024px) { .product-title { font-size: 2.75rem; } }
.product-price { font-size: 1.25rem; margin-bottom: 1.5rem; }
.product-price ins { text-decoration: none; }
.product-stock-indicator { display: inline-block; margin-bottom: 1rem; font-size: 0.8rem; letter-spacing: 0.1em; text-transform: uppercase; }
.product-stock-indicator.is-out-of-stock { color: var(--color-destructive); }
.product-intro-text { font-family: var(--font-body); font-size: 1rem; color: var(--color-muted-foreground); line-height: 1.625; margin-bottom: 2rem; }

.theme-add-to-cart-area { display: flex; align-items: stretch; flex-wrap: wrap; gap: 0.75rem; margin-top: 0.5rem; }
.theme-quantity-wrapper { display: inline-flex; align-items: center; border: 1px solid var(--color-border); }
.theme-qty-minus, .theme-qty-plus { padding: 0.6rem 0.9rem; transition: background 0.2s; }
.theme-qty-minus:hover, .theme-qty-plus:hover { background: var(--color-secondary); }
.theme-qty-input { width: 3rem; text-align: center; border: none; background: transparent; font-size: 0.9rem; -moz-appearance: textfield; }
.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; }

.product-accordions { margin-top: 2.5rem; border-top: 1px solid var(--color-border); }
.product-accordion { border-bottom: 1px solid var(--color-border); }
.product-accordion-toggle { width: 100%; display: flex; align-items: center; justify-content: space-between; padding: 1.25rem 0; text-align: left; }
.product-accordion-toggle span { font-size: 13px; letter-spacing: 0.25em; text-transform: uppercase; }
.accordion-chevron { transition: transform 0.3s; }
.product-accordion.is-open .accordion-chevron { transform: rotate(180deg); }
.product-accordion-panel { max-height: 0; overflow: hidden; transition: max-height 0.3s var(--transition-smooth); }
.product-accordion.is-open .product-accordion-panel { max-height: 60rem; }
.product-description-content, .product-shipping-content { padding-bottom: 1.5rem; color: var(--color-muted-foreground); line-height: 1.7; font-size: 15px; overflow-wrap: break-word; word-break: break-word; }
.product-description-content p, .product-shipping-content p { margin-bottom: 1rem; }
.product-description-content ul { padding-left: 0; }
.product-description-content li { list-style: none; display: flex; align-items: flex-start; margin-bottom: 0.5rem; }
.product-description-content li::before { content: ''; width: 4px; height: 4px; border-radius: 50%; background: var(--color-foreground); margin: 0.55rem 0.75rem 0 0; flex-shrink: 0; }
.woocommerce-product-details__short-description, .posted_in { overflow-wrap: break-word; word-break: break-word; }

/* Variations table layout (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; font-weight: 600; }
.single-product .variations tbody td.value { padding-top: 0; }
.theme-attr-select-hidden { display: none !important; }

.related-products-section { margin-top: 5rem; padding-top: 5rem; border-top: 1px solid var(--color-border); }
.related-products-heading { margin-bottom: 3rem; }
.related-heading-kicker { font-family: var(--font-display); font-style: italic; font-size: 1rem; color: var(--color-muted-foreground); margin-bottom: 0.5rem; }
.related-heading-title { font-family: var(--font-body); font-weight: 400; font-size: 1.875rem; }
@media (min-width: 768px) { .related-heading-title { font-size: 2.25rem; } }

/* =========================================================================
   SHOP ARCHIVE
   ========================================================================= */
.shop-archive-main { padding-top: 2rem; }
.shop-archive-header { margin-bottom: 2rem; }
.shop-archive-pagination { text-align: center; margin-top: 3rem; }

/* =========================================================================
   404
   ========================================================================= */
.theme-404-main { min-height: 70vh; display: flex; align-items: center; justify-content: center; background: var(--color-muted); }
.theme-404-inner { text-align: center; }
.theme-404-code { font-size: 2.5rem; font-weight: 700; margin-bottom: 1rem; font-family: var(--font-display); }
.theme-404-message { font-size: 1.25rem; color: var(--color-muted-foreground); margin-bottom: 1rem; }
.theme-404-link { color: var(--color-primary); text-decoration: underline; }
.theme-404-link:hover { color: color-mix(in srgb, var(--color-primary) 90%, black); }

/* =========================================================================
   GENERIC PAGE
   ========================================================================= */
.generic-page-main { padding: 3rem 0 5rem; }
.page-title { font-size: 2rem; text-transform: uppercase; margin-bottom: 1.5rem; }
.entry-content { line-height: 1.7; }

/* =========================================================================
   WOOCOMMERCE CHECKOUT BLOCK (Section 13)
   ========================================================================= */
body.woocommerce-checkout .site-main { padding-top: var(--header-height); padding-bottom: 4rem; }
body.woocommerce-checkout .entry-content { max-width: 100%; }
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;
	border: 1px solid var(--color-border); border-radius: 0.375rem; background: var(--color-background); color: var(--color-foreground);
	font-family: var(--font-body); padding: revert;
}
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-primary) 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: var(--color-primary) !important; color: var(--color-primary-foreground) !important; border-radius: 0 !important;
	font-family: var(--font-display); letter-spacing: 0.1em; text-transform: uppercase; border: 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-cart-items { font-family: var(--font-body); }
body.woocommerce-checkout .wc-block-checkout__sidebar {
	background-color: var(--color-butter); border-radius: var(--card-radius); padding: var(--section-padding);
}

@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; }
}

/* =========================================================================
   OTHER WOOCOMMERCE PAGES: CART / ACCOUNT (Section 13.7)
   ========================================================================= */
body.woocommerce-cart .site-main,
body.woocommerce-account .site-main { padding-top: var(--header-height); padding-bottom: 4rem; }
body.woocommerce-cart .entry-content,
body.woocommerce-account .entry-content { max-width: 100%; }
body.woocommerce-cart table.shop_table { width: 100%; border-collapse: collapse; }
body.woocommerce-cart table.shop_table th, body.woocommerce-cart table.shop_table td { padding: 0.75rem; border-bottom: 1px solid var(--color-border); text-align: left; }
body.woocommerce-account .woocommerce-MyAccount-navigation ul { list-style: none; display: flex; flex-direction: column; gap: 0.5rem; }

/* =========================================================================
   THANK YOU PAGE (Section 22.8)
   ========================================================================= */
body.theme-thankyou-page { overflow-x: clip; }
body.theme-thankyou-page .woocommerce-order,
body.theme-thankyou-page .woocommerce-order-overview,
body.theme-thankyou-page .woocommerce-customer-details,
body.theme-thankyou-page .woocommerce-order-details { font-family: var(--font-body); }
body.theme-thankyou-page .woocommerce-order-overview {
	list-style: none; display: flex; flex-wrap: wrap; gap: 1.5rem; padding: 0; margin: 1.5rem 0 2.5rem;
}
body.theme-thankyou-page .woocommerce-order-overview li { border: 1px solid var(--color-border); border-radius: 0.5rem; padding: 1rem 1.5rem; }
body.theme-thankyou-page h2, body.theme-thankyou-page .woocommerce-order-details__title { font-size: 1.5rem; text-transform: uppercase; padding: 0 0 1rem 0; }
body.theme-thankyou-page .woocommerce-order-details table { width: 100%; table-layout: fixed; border-collapse: collapse; margin-bottom: 2rem; }
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); }
body.theme-thankyou-page .woocommerce-order-details tfoot th { text-align: left; }
body.theme-thankyou-page .woocommerce-order-details tfoot td { text-align: right; }
@media (min-width: 768px) {
	body.theme-thankyou-page .woocommerce-customer-details { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; align-items: start; }
}
body.theme-thankyou-page .woocommerce-customer-details address { min-width: 0; border: 1px solid var(--color-border); padding: 1.25rem; border-radius: 0.5rem; }
