/**
 * PhotoBio Stems — theme rules.
 *
 * Only functional rules, motion that lived outside the compiled stylesheet,
 * and styling for markup WordPress/WooCommerce generates (no source equivalent).
 */

/* ------------------------------------------------------------------ base */
[hidden] {
	display: none !important;
}

html {
	scroll-behavior: smooth;
}

body {
	overflow-x: hidden;
}

img {
	display: block;
}

/* Pointer on interactive controls */
a,
button,
summary,
label[for],
select,
[role="button"],
[data-cart-open],
[data-mobile-toggle],
[data-cart-close],
[data-product-thumb],
[data-lightbox-src],
[data-shop-more],
[data-science-more],
[data-vtest-more],
[data-faq-more],
[data-shop-filter],
input[type="submit"],
input[type="button"],
input[type="reset"],
input[type="checkbox"],
input[type="radio"],
.theme-product-card,
.theme-qty-minus,
.theme-qty-plus,
.woocommerce a.button,
.woocommerce button.button,
.single_add_to_cart_button {
	cursor: pointer;
}

/* WordPress admin bar: keep fixed header below it */
body.admin-bar .site-header {
	top: 32px;
}

@media screen and (max-width: 782px) {
	body.admin-bar .site-header {
		top: 46px;
	}
}

.sr-only {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border-width: 0;
}

.screen-reader-text {
	border: 0;
	clip: rect(0, 0, 0, 0);
	height: 1px;
	margin: -1px;
	overflow: hidden;
	padding: 0;
	position: absolute !important;
	width: 1px;
	word-wrap: normal !important;
}

/* --------------------------------------------------------------- layout */
.site-main {
	padding-top: 0;
}

body:not(.home) .site-main {
	padding-top: 5rem;
}

body.theme-no-hero .site-main {
	padding-top: 5rem;
}

body.single-product .site-main {
	padding-top: 6rem;
}

body.error404 .site-main {
	padding-top: 0;
}

@media (min-width: 1024px) {
	body.single-product .site-main {
		padding-top: 7rem;
	}
}

/* --------------------------------------------------------------- header */
.site-header.is-solid {
	background-color: hsl(var(--background) / 0.95);
	-webkit-backdrop-filter: blur(4px);
	backdrop-filter: blur(4px);
	border-bottom-color: hsl(var(--border));
}

.site-header.is-transparent {
	background-color: transparent;
	border-bottom-color: transparent;
}

.site-logo-img {
	display: block;
	width: auto;
}

.site-logo-text {
	line-height: var(--logo-height, 28px);
	display: block;
}

.header-mobile-panel {
	background-color: hsl(var(--background));
}

.header-nav-link,
.header-mobile-link {
	cursor: pointer;
}

/*
 * Header nav: hamburger through large tablets (incl. iPad Pro 13" ~1366px landscape).
 * Desktop horizontal nav from 1400px up.
 */
.header-desktop-nav {
	display: none;
}

.header-mobile-only {
	display: block;
}

.header-mobile-toggle.header-mobile-only {
	display: inline-flex;
	align-items: center;
	justify-content: center;
}

@media (min-width: 1400px) {
	.header-desktop-nav {
		display: flex;
	}

	.header-mobile-only {
		display: none !important;
	}
}

/* Contact submit: white surface + brand text (matches Lovable) */
.theme-contact-submit,
.theme-contact-submit span {
	color: hsl(var(--primary)) !important;
}

.theme-contact-submit {
	background-color: #fff !important;
}

.theme-contact-submit:hover {
	background-color: rgba(255, 255, 255, 0.9) !important;
	color: hsl(var(--primary)) !important;
}

.theme-contact-submit svg {
	color: hsl(var(--primary));
	stroke: currentColor;
}

/* --------------------------------------------------------------- motion */
[data-reveal] {
	opacity: 0;
	will-change: opacity, transform;
}

[data-reveal="fade-up"] {
	transform: translateY(40px);
	transition: opacity 0.7s cubic-bezier(0.25, 0.4, 0.25, 1), transform 0.7s cubic-bezier(0.25, 0.4, 0.25, 1);
}

[data-reveal="fade-down"] {
	transform: translateY(-10px) scale(0.9);
	transition: opacity 0.8s cubic-bezier(0.25, 0.4, 0.25, 1), transform 0.8s cubic-bezier(0.25, 0.4, 0.25, 1);
}

[data-reveal="scale-in"] {
	transform: scale(0.92);
	transition: opacity 0.6s cubic-bezier(0.25, 0.4, 0.25, 1), transform 0.6s cubic-bezier(0.25, 0.4, 0.25, 1);
}

[data-reveal="slide-left"] {
	transform: translateX(-60px);
	transition: opacity 0.8s cubic-bezier(0.25, 0.4, 0.25, 1), transform 0.8s cubic-bezier(0.25, 0.4, 0.25, 1);
}

[data-reveal="slide-right"] {
	transform: translateX(60px);
	transition: opacity 0.8s cubic-bezier(0.25, 0.4, 0.25, 1), transform 0.8s cubic-bezier(0.25, 0.4, 0.25, 1);
}

[data-reveal="fade"] {
	transition: opacity 0.6s cubic-bezier(0.25, 0.4, 0.25, 1);
}

[data-reveal].is-revealed {
	opacity: 1;
	transform: none;
	transition-delay: var(--reveal-delay, 0s);
}

body.is-customizer [data-reveal],
body.is-customizer .theme-hero-item,
body.is-customizer .theme-hero-rule {
	opacity: 1 !important;
	transform: none !important;
	transition: none !important;
}

/* hero entrance (framer-motion initial/animate on the hero) */
.theme-hero-item {
	opacity: 0;
	transform: translateY(30px);
	transition: opacity var(--hero-duration, 0.8s) cubic-bezier(0.25, 0.4, 0.25, 1) var(--hero-delay, 0s),
		transform var(--hero-duration, 0.8s) cubic-bezier(0.25, 0.4, 0.25, 1) var(--hero-delay, 0s),
		filter var(--hero-duration, 0.8s) cubic-bezier(0.25, 0.4, 0.25, 1) var(--hero-delay, 0s);
}

.theme-hero-item[data-hero-blur] {
	filter: blur(10px);
	transform: translateY(30px);
}

h1.theme-hero-item {
	transform: translateY(80px);
}

.theme-hero-ready .theme-hero-item {
	opacity: 1;
	transform: translateY(0);
	filter: blur(0);
}

h1.theme-hero-item.theme-hero-ready {
	transform: translateY(0);
}

.theme-hero-rule {
	display: block;
	width: 0;
	background-color: hsl(var(--primary) / 0.6);
	transition: width 0.8s cubic-bezier(0.25, 0.4, 0.25, 1) var(--hero-rule-delay, 0.6s);
}

.theme-hero-ready .theme-hero-rule {
	width: 32px;
}

.theme-hero-overlay,
.theme-hero-content {
	will-change: opacity, transform;
}

/* hover interactions that were driven by the motion library */
.theme-zoom-hover {
	display: inline-block;
	transition: transform 0.2s ease;
}

.theme-zoom-hover:hover {
	transform: scale(1.05);
}

.theme-zoom-hover:active {
	transform: scale(0.97);
}

.theme-zoom-tap {
	transition: transform 0.2s ease, background-color 0.3s ease, color 0.3s ease;
}

.theme-zoom-tap:hover {
	transform: scale(1.05);
}

.theme-zoom-tap:active {
	transform: scale(0.95);
}

.theme-zoom-static {
	transition: transform 0.2s ease;
}

.theme-zoom-static:hover {
	transform: scale(1.05);
}

.theme-lift-hover {
	transition: transform 0.3s cubic-bezier(0.25, 0.4, 0.25, 1);
}

.theme-lift-hover:hover {
	transform: translateY(-8px);
}

.theme-lift-sm {
	transition: transform 0.3s cubic-bezier(0.25, 0.4, 0.25, 1), box-shadow 0.3s ease;
}

.theme-lift-sm:hover {
	transform: translateY(-4px);
}

.theme-pop-in {
	animation: themePopIn 0.5s cubic-bezier(0.25, 0.4, 0.25, 1) both;
}

@keyframes themePopIn {
	from {
		opacity: 0;
		transform: scale(0);
	}
	60% {
		transform: scale(1.06);
	}
	to {
		opacity: 1;
		transform: scale(1);
	}
}

/* --------------------------------------------------------- product cards */
.theme-product-card {
	position: relative;
}

.theme-product-card__media {
	position: relative;
	overflow: hidden;
	transition: transform 0.45s cubic-bezier(0.34, 1.3, 0.64, 1), box-shadow 0.45s cubic-bezier(0.34, 1.3, 0.64, 1);
}

.theme-product-card:hover .theme-product-card__media {
	transform: translateY(-8px);
	box-shadow: 0 20px 40px -12px hsl(200 25% 12% / 0.12);
}

.theme-product-card__media .theme-product-card__image,
.theme-product-card__image {
	width: 100%;
	height: 100%;
	display: block;
	object-fit: cover;
	object-position: center;
	transition: transform 0.6s cubic-bezier(0.25, 0.4, 0.25, 1);
}

.theme-product-card-wrap[data-category="patch-placement"] .theme-product-card__image,
.theme-product-card__media .object-contain {
	object-fit: contain;
}

.theme-product-card:hover .theme-product-card__image {
	transform: scale(1.08);
}

.theme-product-eyebrow,
.theme-product-eyebrow a {
	pointer-events: none;
	text-decoration: none;
	color: hsl(var(--muted-foreground));
	cursor: default;
}

.theme-product-card-wrap {
	height: 100%;
}

.theme-product-card__badge {
	position: absolute;
	left: 0.75rem;
	bottom: 0.75rem;
	z-index: 2;
	padding: 0.35rem 0.75rem;
	border-radius: 999px;
	background-color: hsl(var(--primary));
	color: hsl(var(--primary-foreground));
	font-size: 0.75rem;
	font-family: var(--font-body);
	letter-spacing: 0.05em;
	text-transform: uppercase;
}

.theme-product-card__price {
	color: hsl(var(--muted-foreground));
}

.theme-shop-item[hidden] {
	display: none !important;
}

/* ---------------------------------------------------------------- FAQ */
.faq-item .theme-faq-chevron {
	transition: transform 0.3s cubic-bezier(0.25, 0.4, 0.25, 1);
	display: inline-flex;
}

.faq-item.is-open .theme-faq-chevron {
	transform: rotate(180deg);
}

.theme-faq-panel {
	height: 0;
	overflow: hidden;
	opacity: 0;
	transition: height 0.3s cubic-bezier(0.25, 0.4, 0.25, 1), opacity 0.3s cubic-bezier(0.25, 0.4, 0.25, 1);
}

.faq-item.is-open .theme-faq-panel {
	opacity: 1;
}

/* --------------------------------------------------------- testimonials */
.theme-testimonial-card {
	position: relative;
}

.theme-testimonial-card.is-center {
	min-height: 360px;
	box-shadow: var(--shadow-elevated);
	z-index: 10;
}

.theme-testimonial-card.is-side {
	min-height: 300px;
	opacity: 0.4;
	filter: blur(2px);
	transform: scale(0.9);
}

@media (max-width: 1023px) {
	.theme-testimonial-card.is-side {
		display: none;
	}
}

.theme-testimonial-card .theme-card-quote {
	position: absolute;
	top: -1.25rem;
	left: 50%;
	transform: translateX(-50%);
}

.theme-testimonial-card .theme-card-text {
	display: -webkit-box;
	-webkit-line-clamp: 4;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.theme-testimonial-card.is-center .theme-card-text {
	display: block;
	-webkit-line-clamp: unset;
	overflow: visible;
}

.theme-testimonial-card.is-side .theme-card-quote,
.theme-testimonial-card.is-side .theme-card-product {
	display: none;
}

/* ---------------------------------------------------- cart drawer / badge */
.header-cart-btn {
	position: relative;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border-radius: 0.5rem;
}

.theme-cart-count {
	position: absolute;
	top: 0.15rem;
	right: 0.1rem;
	z-index: 1;
	box-sizing: border-box;
	min-width: 1.05rem;
	height: 1.05rem;
	padding: 0 0.28rem;
	border-radius: 999px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	font-family: var(--font-body);
	font-size: 0.625rem;
	font-weight: 600;
	line-height: 1;
	letter-spacing: 0;
	color: #fff;
	background-color: hsl(var(--accent));
	box-shadow: 0 0 0 1.5px hsl(var(--background));
	pointer-events: none;
	transform: scale(1);
	transition: transform 0.2s ease, opacity 0.2s ease, background-color 0.2s ease;
}

.site-header:not(.is-solid) .theme-cart-count {
	box-shadow: 0 0 0 1.5px hsl(0 0% 100% / 0.35);
}

.theme-cart-count:empty,
.theme-cart-count.is-empty {
	display: none;
}

.header-cart-btn:hover .theme-cart-count:not(.is-empty):not(:empty) {
	transform: scale(1.06);
}

#theme-cart-overlay {
	position: fixed;
	inset: 0;
	z-index: 90;
	background-color: hsl(0 0% 0% / 0.5);
	opacity: 0;
	visibility: hidden;
	transition: opacity 0.3s ease, visibility 0.3s ease;
}

body.cart-open #theme-cart-overlay {
	opacity: 1;
	visibility: visible;
}

body.cart-open {
	overflow: hidden;
}

#theme-cart-drawer {
	position: fixed;
	top: 0;
	right: 0;
	bottom: 0;
	z-index: 100;
	width: 100%;
	max-width: 420px;
	background-color: hsl(var(--background));
	border-left: 1px solid hsl(var(--border));
	display: flex;
	flex-direction: column;
	transform: translateX(100%);
	transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
	box-shadow: var(--shadow-elevated);
}

body.cart-open #theme-cart-drawer {
	transform: translateX(0);
}

#theme-cart-drawer.is-updating > * {
	opacity: 0.6;
	pointer-events: none;
}

.theme-drawer-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	padding: 1.25rem 1.5rem;
	border-bottom: 1px solid hsl(var(--border));
}

.theme-drawer-title {
	font-family: var(--font-display);
	font-size: 1.125rem;
	font-weight: 600;
	color: hsl(var(--foreground));
}

.theme-drawer-close {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 2.25rem;
	height: 2.25rem;
	border-radius: 999px;
	color: hsl(var(--muted-foreground));
	transition: color 0.2s ease, background-color 0.2s ease;
	cursor: pointer;
}

.theme-drawer-close:hover {
	color: hsl(var(--foreground));
	background-color: hsl(var(--secondary));
}

.theme-drawer-body {
	flex: 1 1 auto;
	overflow-y: auto;
	padding: 1.25rem 1.5rem;
}

.theme-drawer-empty {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 1rem;
	padding: 3rem 1rem;
	text-align: center;
	color: hsl(var(--muted-foreground));
	font-family: var(--font-body);
	font-size: 0.875rem;
}

.theme-drawer-items {
	display: flex;
	flex-direction: column;
	gap: 1rem;
	list-style: none;
	margin: 0;
	padding: 0;
}

.theme-drawer-item {
	display: flex;
	gap: 0.875rem;
	padding-bottom: 1rem;
	border-bottom: 1px solid hsl(var(--border));
}

.theme-drawer-item:last-child {
	padding-bottom: 0;
	border-bottom: 0;
}

.theme-drawer-thumb {
	width: 4.5rem;
	height: 4.5rem;
	flex-shrink: 0;
	border-radius: 0.5rem;
	overflow: hidden;
	background-color: hsl(var(--secondary));
}

.theme-drawer-thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.theme-drawer-item-main {
	flex: 1 1 auto;
	min-width: 0;
}

.theme-drawer-item-name {
	display: block;
	font-family: var(--font-body);
	font-size: 0.875rem;
	font-weight: 500;
	color: hsl(var(--foreground));
	line-height: 1.35;
}

.theme-drawer-item-name:hover {
	color: hsl(var(--primary));
}

.theme-drawer-item-meta {
	margin-top: 0.25rem;
	font-family: var(--font-body);
	font-size: 0.75rem;
	color: hsl(var(--muted-foreground));
}

.theme-drawer-item-price {
	margin-top: 0.35rem;
	font-family: var(--font-body);
	font-size: 0.875rem;
	color: hsl(var(--foreground));
}

.theme-drawer-item-actions {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	margin-top: 0.5rem;
}

.theme-drawer-qty {
	display: inline-flex;
	align-items: center;
	border: 1px solid hsl(var(--border));
	border-radius: 0.375rem;
	overflow: hidden;
}

.theme-drawer-qty button {
	width: 1.75rem;
	height: 1.75rem;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	font-size: 0.875rem;
	color: hsl(var(--foreground));
	background-color: transparent;
	cursor: pointer;
	transition: background-color 0.2s ease;
}

.theme-drawer-qty button:hover {
	background-color: hsl(var(--secondary));
}

.theme-drawer-qty span {
	min-width: 1.75rem;
	text-align: center;
	font-size: 0.8125rem;
	font-family: var(--font-body);
	color: hsl(var(--foreground));
}

.theme-drawer-remove {
	margin-left: auto;
	font-family: var(--font-body);
	font-size: 0.75rem;
	color: hsl(var(--muted-foreground));
	cursor: pointer;
	transition: color 0.2s ease;
}

.theme-drawer-remove:hover {
	color: hsl(var(--destructive));
}

.theme-drawer-footer {
	flex-shrink: 0;
	border-top: 1px solid hsl(var(--border));
	padding: 1.25rem 1.5rem 1.5rem;
	display: flex;
	flex-direction: column;
	gap: 0.875rem;
	background-color: hsl(var(--background));
}

.theme-drawer-subtotal {
	display: flex;
	align-items: center;
	justify-content: space-between;
	font-family: var(--font-body);
	font-size: 0.9375rem;
	color: hsl(var(--foreground));
}

.theme-drawer-subtotal strong {
	font-weight: 600;
}

.theme-drawer-footer .button,
.theme-drawer-footer .theme-btn {
	width: 100%;
	justify-content: center;
}

/* --------------------------------------------------------------- buttons */
.theme-btn-primary {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.5rem;
	height: 2.75rem;
	padding: 0 2rem;
	border-radius: 0.5rem;
	background-color: hsl(var(--primary));
	color: hsl(var(--primary-foreground));
	font-family: var(--font-body);
	font-size: 0.875rem;
	font-weight: 500;
	transition: background-color 0.2s ease;
	cursor: pointer;
}

.theme-btn-primary:hover {
	background-color: hsl(var(--primary) / 0.9);
}

.theme-btn-outline {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.5rem;
	height: 2.75rem;
	padding: 0 2rem;
	border-radius: 0.5rem;
	border: 1px solid hsl(var(--input));
	background-color: hsl(var(--background));
	color: hsl(var(--foreground));
	font-family: var(--font-body);
	font-size: 0.875rem;
	font-weight: 500;
	transition: background-color 0.2s ease, color 0.2s ease;
	cursor: pointer;
}

.theme-btn-outline:hover {
	background-color: hsl(var(--accent));
	color: hsl(var(--accent-foreground));
}

.ajax_add_to_cart.theme-btn-loading {
	opacity: 0.6 !important;
	pointer-events: none !important;
	cursor: wait !important;
}

.single-product .single_add_to_cart_button.loading::after,
.ajax_add_to_cart.loading::after {
	display: none !important;
}

/* ------------------------------------------------- WooCommerce: buttons */
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button,
.woocommerce #respond input#submit {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.5rem;
	height: 2.75rem;
	padding: 0 2rem;
	border-radius: 0.5rem;
	background-color: hsl(var(--primary));
	color: hsl(var(--primary-foreground));
	font-family: var(--font-body);
	font-size: 0.875rem;
	font-weight: 500;
	line-height: 1;
	border: 0;
	transition: background-color 0.2s ease, color 0.2s ease;
}

.woocommerce a.button:hover,
.woocommerce button.button:hover,
.woocommerce input.button:hover {
	background-color: hsl(var(--primary) / 0.9);
	color: hsl(var(--primary-foreground));
}

.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;
}

.woocommerce-page a.added_to_cart.wc-forward,
.single-product a.added_to_cart.wc-forward,
body a.added_to_cart.wc-forward {
	display: none !important;
}

/* -------------------------------------------- WooCommerce: single product */
.single-product .theme-product-layout {
	min-width: 0;
}

.single-product .theme-product-gallery,
.single-product .theme-product-info {
	min-width: 0;
	max-width: 100%;
}

.single-product .theme-product-thumbnails {
	flex-wrap: wrap;
	max-width: 100%;
}

.theme-simple-cart-form {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.75rem;
}

.theme-add-to-cart-area {
	display: flex;
	align-items: stretch;
	flex-wrap: wrap;
	gap: 0.75rem;
}

.theme-add-to-cart-area .single_add_to_cart_button {
	flex: 1 1 auto;
	min-width: 160px;
}

.single-product .woocommerce-product-details__short-description,
.single-product .woocommerce-variation-description,
.single-product .theme-product-eyebrow {
	overflow-wrap: break-word;
	word-break: break-word;
}

.single-product .theme-main-image {
	aspect-ratio: 1 / 1;
	background-color: hsl(var(--secondary));
	overflow: hidden;
	border-radius: 0.5rem;
	position: relative;
}

.single-product .theme-main-image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	transition: transform 0.4s cubic-bezier(0.25, 0.4, 0.25, 1);
}

.single-product .theme-main-image:hover img {
	transform: scale(1.02);
}

.single-product .theme-product-thumbnails {
	display: grid;
	grid-template-columns: repeat(5, minmax(0, 1fr));
	gap: 0.5rem;
}

.single-product .theme-thumb {
	position: relative;
	aspect-ratio: 1 / 1;
	overflow: hidden;
	border: 2px solid transparent;
	border-radius: 0.375rem;
	transition: border-color 0.3s ease, opacity 0.3s ease, box-shadow 0.3s ease, transform 0.2s ease;
	cursor: pointer;
	opacity: 0.6;
	background-color: hsl(var(--secondary));
	display: block;
	padding: 0;
}

.single-product .theme-thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.single-product .theme-thumb:hover {
	opacity: 1;
	transform: scale(1.08);
}

.single-product .theme-thumb.is-active {
	border-color: hsl(var(--primary));
	opacity: 1;
	box-shadow: var(--shadow-soft);
}

.theme-quantity-wrapper {
	display: inline-flex;
	align-items: center;
	border: 1px solid hsl(var(--input));
	border-radius: 0.5rem;
	background-color: hsl(var(--background));
	overflow: hidden;
	height: 2.75rem;
}

.theme-qty-minus,
.theme-qty-plus {
	width: 2.5rem;
	height: 100%;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	color: hsl(var(--foreground));
	background-color: transparent;
	cursor: pointer;
	font-size: 1rem;
	transition: background-color 0.2s ease;
	border: 0;
}

.theme-qty-minus:hover,
.theme-qty-plus:hover {
	background-color: hsl(var(--secondary));
}

.theme-qty-input {
	width: 3rem;
	height: 100%;
	border: 0;
	background-color: transparent;
	text-align: center;
	font-family: var(--font-body);
	font-size: 0.875rem;
	color: hsl(var(--foreground));
	-moz-appearance: textfield;
	appearance: textfield;
}

.theme-qty-input::-webkit-outer-spin-button,
.theme-qty-input::-webkit-inner-spin-button {
	-webkit-appearance: none;
	margin: 0;
}

.theme-attr-select-hidden {
	display: none !important;
}

.theme-variation-pills {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
	margin: 0.5rem 0 1rem;
	padding: 0;
	list-style: none;
}

.theme-variation-pill {
	display: inline-flex;
	align-items: center;
	gap: 0.4rem;
	padding: 0.5rem 1rem;
	border-radius: 0.5rem;
	border: 1px solid hsl(var(--input));
	background-color: hsl(var(--background));
	color: hsl(var(--foreground));
	font-family: var(--font-body);
	font-size: 0.8125rem;
	cursor: pointer;
	transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.theme-variation-pill:hover {
	background-color: hsl(var(--secondary));
}

.theme-variation-pill.is-selected {
	background-color: hsl(var(--primary));
	border-color: hsl(var(--primary));
	color: hsl(var(--primary-foreground));
}

.theme-swatch {
	width: 0.9rem;
	height: 0.9rem;
	border-radius: 999px;
	border: 1px solid hsl(var(--border));
	flex-shrink: 0;
}

.single-product .variations.shop_attributes tbody,
.single-product .variations tbody tr,
.single-product .variations tbody td {
	display: block;
	width: 100%;
}

.single-product .variations td.label {
	display: none;
}

.single-product .variations tbody td.value {
	padding-top: 0;
}

.single-product .variations td.label label {
	font-family: var(--font-body);
	font-size: 0.75rem;
	letter-spacing: 0.15em;
	text-transform: uppercase;
	color: hsl(var(--muted-foreground));
	font-weight: 500;
}

.single-product .variations {
	width: 100%;
	border: 0;
	margin-bottom: 1.5rem;
}

.single-product .variations td {
	border: 0;
	padding: 0.25rem 0;
}

.single-product .single_variation_wrap {
	margin-top: 0;
}

.single-product .woocommerce-variation-price {
	margin-bottom: 1rem;
	font-family: var(--font-body);
	font-size: 1.125rem;
	color: hsl(var(--foreground));
}

.single-product .woocommerce-variation-availability p.stock {
	font-family: var(--font-body);
	font-size: 0.8125rem;
	color: hsl(var(--muted-foreground));
}

.single-product .theme-product-eyebrow {
	display: block;
	font-family: var(--font-body);
	font-size: 0.75rem;
	letter-spacing: 0.2em;
	text-transform: uppercase;
	color: hsl(var(--muted-foreground));
	pointer-events: none;
	cursor: default;
}

.theme-stock-status {
	display: inline-flex;
	align-items: center;
	gap: 0.4rem;
	font-family: var(--font-body);
	font-size: 0.8125rem;
	color: hsl(var(--muted-foreground));
}

.theme-stock-status .theme-stock-dot {
	width: 0.5rem;
	height: 0.5rem;
	border-radius: 999px;
	background-color: hsl(150 40% 45%);
	display: inline-block;
}

.theme-stock-status.is-out .theme-stock-dot {
	background-color: hsl(var(--destructive));
}

.theme-lightbox-overlay {
	position: fixed;
	inset: 0;
	z-index: 60;
	background-color: hsl(0 0% 0% / 0.8);
	animation: themeFadeIn 0.2s ease both;
}

.theme-lightbox {
	position: fixed;
	left: 50%;
	top: 50%;
	z-index: 61;
	width: 100%;
	max-width: 48rem;
	transform: translate(-50%, -50%);
	background-color: hsl(var(--background));
	border: 1px solid hsl(var(--border));
	box-shadow: var(--shadow-elevated);
	max-height: 90vh;
	overflow: hidden;
	animation: themeZoomIn 0.2s ease both;
}

.theme-lightbox img {
	width: 100%;
	height: auto;
	object-fit: contain;
	max-height: 80vh;
}

.theme-lightbox-body {
	padding: 1.25rem;
}

.theme-lightbox-title {
	font-family: var(--font-display);
	font-size: 1.125rem;
	line-height: 1;
	letter-spacing: -0.01em;
	font-weight: 600;
}

.theme-lightbox-desc {
	margin-top: 0.25rem;
	font-family: var(--font-body);
	font-size: 0.875rem;
	color: hsl(var(--muted-foreground));
}

.theme-lightbox-close {
	position: absolute;
	right: 1rem;
	top: 1rem;
	z-index: 2;
	border-radius: 0.125rem;
	opacity: 0.7;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 2rem;
	height: 2rem;
	background-color: hsl(var(--background));
	transition: opacity 0.2s ease;
	cursor: pointer;
}

.theme-lightbox-close:hover {
	opacity: 1;
}

@keyframes themeFadeIn {
	from {
		opacity: 0;
	}
	to {
		opacity: 1;
	}
}

@keyframes themeFadeOut {
	from {
		opacity: 1;
	}
	to {
		opacity: 0;
	}
}

@keyframes themeZoomIn {
	from {
		opacity: 0;
		transform: translate(-50%, -50%) scale(0.95);
	}
	to {
		opacity: 1;
		transform: translate(-50%, -50%) scale(1);
	}
}

@keyframes themeZoomOut {
	from {
		opacity: 1;
		transform: translate(-50%, -50%) scale(1);
	}
	to {
		opacity: 0;
		transform: translate(-50%, -50%) scale(0.95);
	}
}

.theme-lightbox.is-closing {
	animation: themeZoomOut 0.2s ease both;
}

.theme-lightbox-overlay.is-closing {
	animation: themeFadeOut 0.2s ease both;
}

/* ------------------------------------------------- Woocommerce: archive */
.theme-shop-grid {
	display: grid;
	grid-template-columns: repeat(1, minmax(0, 1fr));
	gap: 1.5rem;
}

@media (min-width: 640px) {
	.theme-shop-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (min-width: 1024px) {
	.theme-shop-grid {
		grid-template-columns: repeat(3, minmax(0, 1fr));
		gap: 2rem;
	}
}

.woocommerce-result-count,
.woocommerce-ordering {
	font-family: var(--font-body);
	font-size: 0.8125rem;
	color: hsl(var(--muted-foreground));
	margin-bottom: 1.5rem;
}

.woocommerce-ordering select {
	border: 1px solid hsl(var(--input));
	border-radius: 0.5rem;
	background-color: hsl(var(--background));
	color: hsl(var(--foreground));
	font-family: var(--font-body);
	font-size: 0.8125rem;
	padding: 0.5rem 0.75rem;
}

.woocommerce-pagination {
	margin-top: 3rem;
	text-align: center;
}

.woocommerce-pagination ul {
	display: inline-flex;
	gap: 0.5rem;
	list-style: none;
	margin: 0;
	padding: 0;
	border: 0;
}

.woocommerce-pagination ul li {
	border: 0;
}

.woocommerce-pagination ul li a,
.woocommerce-pagination ul li span {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 2.25rem;
	height: 2.25rem;
	padding: 0 0.75rem;
	border-radius: 0.5rem;
	border: 1px solid hsl(var(--input));
	font-family: var(--font-body);
	font-size: 0.8125rem;
	color: hsl(var(--foreground));
	background-color: hsl(var(--background));
}

.woocommerce-pagination ul li span.current,
.woocommerce-pagination ul li a:hover {
	background-color: hsl(var(--primary));
	border-color: hsl(var(--primary));
	color: hsl(var(--primary-foreground));
}

/* ------------------------------------------------------- WC: notices etc */
.woocommerce-message,
.woocommerce-info,
.woocommerce-error {
	list-style: none;
	margin: 0 0 1.5rem;
	padding: 1rem 1.25rem;
	border-radius: 0.5rem;
	border: 1px solid hsl(var(--border));
	border-left: 4px solid hsl(var(--primary));
	background-color: hsl(var(--card));
	color: hsl(var(--foreground));
	font-family: var(--font-body);
	font-size: 0.875rem;
	line-height: 1.5;
}

.woocommerce-error {
	border-left-color: hsl(var(--destructive));
}

.woocommerce-message::before,
.woocommerce-info::before,
.woocommerce-error::before {
	display: none;
}

.woocommerce-message .button,
.woocommerce-info .button,
.woocommerce-error .button {
	float: right;
	margin-left: 1rem;
	height: 2.25rem;
	padding: 0 1rem;
	font-size: 0.8125rem;
}

.single-product .woocommerce-message,
.single-product .woocommerce-info {
	display: none;
}

#theme-cart-drawer .woocommerce-message {
	display: none;
}

.woocommerce form .form-row label,
.woocommerce-page form .form-row label {
	font-family: var(--font-body);
	font-size: 0.8125rem;
	color: hsl(var(--foreground));
}

.woocommerce form .form-row input.input-text,
.woocommerce form .form-row textarea,
.woocommerce-page form .form-row select {
	border: 1px solid hsl(var(--input));
	border-radius: 0.5rem;
	background-color: hsl(var(--background));
	color: hsl(var(--foreground));
	font-family: var(--font-body);
	font-size: 0.875rem;
	padding: 0.625rem 0.875rem;
}

.woocommerce table.shop_table {
	border: 1px solid hsl(var(--border));
	border-radius: 0.5rem;
	border-collapse: separate;
	border-spacing: 0;
	font-family: var(--font-body);
	font-size: 0.875rem;
	overflow: hidden;
}

.woocommerce table.shop_table th,
.woocommerce table.shop_table td {
	border-bottom: 1px solid hsl(var(--border));
	padding: 0.875rem 1rem;
	font-family: var(--font-body);
}

.woocommerce table.shop_table th {
	font-weight: 600;
	color: hsl(var(--foreground));
}

/* -------------------------------------------------------- checkout block */
body.woocommerce-checkout .site-main,
body.woocommerce-cart .site-main,
body.woocommerce-account .site-main {
	padding-top: var(--header-height, 80px);
	padding-bottom: 4rem;
}

body.woocommerce-checkout .entry-content,
body.woocommerce-cart .entry-content {
	max-width: 100%;
}

.page-title {
	font-family: var(--font-display);
	font-size: 1.875rem;
	font-weight: 700;
	letter-spacing: -0.025em;
	line-height: 1.2;
	color: hsl(var(--foreground));
	margin: 0 auto 2rem;
}

@media (min-width: 768px) {
	.page-title {
		font-size: 2.25rem;
	}
}

body.woocommerce-checkout .wc-block-checkout,
body.woocommerce-cart .wc-block-cart {
	display: block;
	font-family: var(--font-body);
	color: hsl(var(--foreground));
}

body.woocommerce-checkout .wc-block-checkout__main,
body.woocommerce-checkout .wc-block-checkout__sidebar,
body.woocommerce-cart .wc-block-cart__main,
body.woocommerce-cart .wc-block-cart__sidebar {
	min-width: 0;
	width: 100%;
	max-width: none;
}

@media (min-width: 768px) {
	body.woocommerce-checkout .wc-block-components-sidebar-layout,
	body.woocommerce-checkout .wc-block-checkout.is-large {
		display: grid;
		grid-template-columns: 1fr 1fr;
		gap: 2rem;
		align-items: start;
	}

	body.woocommerce-checkout .wc-block-components-sidebar-layout > * {
		min-width: 0;
	}
}

body.woocommerce-checkout .wc-block-components-notice-banner,
body.woocommerce-checkout .wc-block-components-notice-banner__content,
body.woocommerce-checkout .wc-block-store-notices {
	grid-column: 1 / -1;
}

body.woocommerce-checkout .wc-block-components-notice-banner {
	border-radius: 0.5rem;
	border: 1px solid hsl(var(--border));
	background-color: hsl(var(--card));
	color: hsl(var(--foreground));
	font-family: var(--font-body);
	font-size: 0.875rem;
}

body.woocommerce-checkout .wc-block-checkout__sidebar {
	background-color: hsl(var(--card));
	border: 1px solid hsl(var(--border));
	border-radius: 0.5rem;
	padding: 1.75rem;
}

body.woocommerce-checkout .wc-block-components-title,
body.woocommerce-checkout .wc-block-components-checkout-step__title,
body.woocommerce-cart .wc-block-components-title {
	font-family: var(--font-display);
	font-weight: 600;
	color: hsl(var(--foreground));
	letter-spacing: -0.01em;
}

body.woocommerce-checkout .wc-block-components-text-input input,
body.woocommerce-checkout .wc-block-components-select select,
body.woocommerce-checkout .wc-blocks-components-select__select,
body.woocommerce-checkout .wc-block-components-textarea textarea,
body.woocommerce-checkout .wc-block-components-combobox .wc-block-components-combobox-control input.components-combobox-control__input,
body.woocommerce-checkout .woocommerce-checkout .form-row .input-text,
body.woocommerce-checkout .woocommerce-checkout .form-row select {
	border: 1px solid hsl(var(--input)) !important;
	border-radius: 0.5rem !important;
	background-color: hsl(var(--background)) !important;
	color: hsl(var(--foreground)) !important;
	font-family: var(--font-body) !important;
	font-size: 0.875rem !important;
	width: 100% !important;
	max-width: none !important;
}

body.woocommerce-checkout .wc-block-components-text-input input:focus,
body.woocommerce-checkout .wc-block-components-select select:focus,
body.woocommerce-checkout .wc-blocks-components-select__select:focus,
body.woocommerce-checkout .wc-block-components-textarea textarea:focus {
	border-color: hsl(var(--primary) / 0.4) !important;
	box-shadow: 0 0 0 4px hsl(var(--primary) / 0.08) !important;
	outline: none !important;
}

body.woocommerce-checkout .wc-block-components-text-input input::placeholder,
body.woocommerce-checkout .wc-block-components-textarea textarea::placeholder {
	color: hsl(var(--muted-foreground)) !important;
}

body.woocommerce-checkout .wc-block-components-checkout-place-order-button,
body.woocommerce-checkout .wc-block-components-button.wc-block-components-checkout-place-order-button {
	background-color: hsl(var(--primary)) !important;
	color: hsl(var(--primary-foreground)) !important;
	border-radius: 0.5rem !important;
	font-family: var(--font-body) !important;
	font-size: 0.875rem !important;
	font-weight: 500 !important;
	height: 2.75rem;
	transition: background-color 0.2s ease;
}

body.woocommerce-checkout .wc-block-components-checkout-place-order-button:hover {
	background-color: hsl(var(--primary) / 0.9) !important;
}

body.woocommerce-checkout .wc-block-cart-items,
body.woocommerce-checkout .wc-block-components-order-summary {
	font-family: var(--font-body);
	font-size: 0.875rem;
	color: hsl(var(--foreground));
}

body.woocommerce-checkout .wc-block-components-totals-item__label,
body.woocommerce-checkout .wc-block-components-totals-item__value {
	font-family: var(--font-body);
	font-size: 0.875rem;
	color: hsl(var(--foreground));
}

body.woocommerce-checkout .wc-block-components-checkbox__label,
body.woocommerce-checkout .wc-block-components-radio-control__label {
	font-family: var(--font-body) !important;
	font-size: 0.875rem !important;
	color: hsl(var(--foreground)) !important;
}

/* ------------------------------------------------------- thank you page */
body.theme-thankyou-page {
	overflow-x: hidden;
}

body.theme-thankyou-page .woocommerce-order {
	font-family: var(--font-body);
	color: hsl(var(--foreground));
}

body.theme-thankyou-page .woocommerce-order > p {
	font-size: 0.9375rem;
	color: hsl(var(--muted-foreground));
	margin-bottom: 1.5rem;
}

body.theme-thankyou-page .woocommerce-order h2,
body.theme-thankyou-page .woocommerce-order-details__title {
	font-family: var(--font-display);
	font-size: 1.375rem;
	font-weight: 600;
	letter-spacing: -0.01em;
	padding: 0 0 1rem 0;
	color: hsl(var(--foreground));
}

body.theme-thankyou-page .woocommerce-order-overview {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 1rem;
	list-style: none;
	margin: 0 0 2rem;
	padding: 1.5rem;
	border: 1px solid hsl(var(--border));
	border-radius: 0.5rem;
	background-color: hsl(var(--card));
}

@media (min-width: 768px) {
	body.theme-thankyou-page .woocommerce-order-overview {
		grid-template-columns: repeat(4, minmax(0, 1fr));
	}
}

body.theme-thankyou-page .woocommerce-order-overview li {
	border: 0;
	padding: 0;
	font-family: var(--font-body);
	font-size: 0.8125rem;
	color: hsl(var(--muted-foreground));
}

body.theme-thankyou-page .woocommerce-order-overview li strong {
	display: block;
	margin-top: 0.25rem;
	font-size: 0.9375rem;
	color: hsl(var(--foreground));
	font-weight: 600;
}

body.theme-thankyou-page .woocommerce-customer-details {
	display: flex;
	flex-direction: column;
	gap: 1.5rem;
	margin-top: 2rem;
}

body.theme-thankyou-page .woocommerce-customer-details address {
	max-width: 480px;
	overflow-wrap: break-word;
	font-family: var(--font-body);
	font-size: 0.875rem;
	color: hsl(var(--muted-foreground));
	font-style: normal;
	border: 1px solid hsl(var(--border));
	border-radius: 0.5rem;
	padding: 1.25rem;
}

body.theme-thankyou-page .woocommerce-order-details {
	margin-top: 2rem;
}

body.theme-thankyou-page .woocommerce-order-details table {
	width: 100%;
	table-layout: fixed;
	border: 1px solid hsl(var(--border));
	border-radius: 0.5rem;
	border-collapse: separate;
	border-spacing: 0;
	font-family: var(--font-body);
	font-size: 0.875rem;
	overflow: hidden;
}

body.theme-thankyou-page .woocommerce-order-details table th,
body.theme-thankyou-page .woocommerce-order-details table td {
	padding: 0.875rem 1rem;
	border-bottom: 1px solid hsl(var(--border));
	overflow-wrap: break-word;
}

body.theme-thankyou-page .woocommerce-order-details tfoot th {
	text-align: left;
	font-weight: 500;
	color: hsl(var(--muted-foreground));
}

body.theme-thankyou-page .woocommerce-order-details tfoot td {
	text-align: right;
	font-weight: 600;
	color: hsl(var(--foreground));
}

/* ------------------------------------------------------------ pagination */
.navigation.pagination {
	text-align: center;
	margin-top: 2.5rem;
}

.navigation.pagination .nav-links {
	display: inline-flex;
	gap: 0.5rem;
}

.navigation.pagination .page-numbers {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 2.25rem;
	height: 2.25rem;
	padding: 0 0.75rem;
	border-radius: 0.5rem;
	border: 1px solid hsl(var(--input));
	font-family: var(--font-body);
	font-size: 0.8125rem;
	color: hsl(var(--foreground));
}

.navigation.pagination .page-numbers.current,
.navigation.pagination .page-numbers:hover {
	background-color: hsl(var(--primary));
	border-color: hsl(var(--primary));
	color: hsl(var(--primary-foreground));
}

/* -------------------------------------------------------------- reduced */
@media (prefers-reduced-motion: reduce) {
	html {
		scroll-behavior: auto;
	}

	[data-reveal],
	.theme-hero-item,
	.theme-hero-rule {
		opacity: 1 !important;
		transform: none !important;
		transition: none !important;
		filter: none !important;
		width: auto;
	}

	*,
	*::before,
	*::after {
		animation-duration: 0.001ms !important;
		transition-duration: 0.001ms !important;
	}
}

/* ------------------------------------------------ WooCommerce loop grid */
.woocommerce ul.products,
.woocommerce-page ul.products {
	display: grid;
	grid-template-columns: repeat(1, minmax(0, 1fr));
	gap: 1.5rem;
	list-style: none;
	margin: 0;
	padding: 0;
}

.woocommerce ul.products::before,
.woocommerce ul.products::after {
	display: none;
}

@media (min-width: 640px) {
	.woocommerce ul.products,
	.woocommerce-page ul.products {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (min-width: 1024px) {
	.woocommerce ul.products,
	.woocommerce-page ul.products {
		grid-template-columns: repeat(3, minmax(0, 1fr));
		gap: 2rem;
	}
}

.woocommerce ul.products li.product {
	width: 100% !important;
	margin: 0 !important;
	float: none !important;
	padding: 0 !important;
	background: none;
	text-align: left;
}

.woocommerce ul.products li.product a img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	margin: 0;
}

.woocommerce ul.products li.product .woocommerce-loop-product__title,
.woocommerce ul.products li.product h2 {
	font-family: var(--font-body);
	font-size: 0.875rem;
	font-weight: 500;
	padding: 0;
	color: hsl(var(--foreground));
}

.woocommerce ul.products li.product .price {
	font-family: var(--font-body);
	font-size: 0.875rem;
	color: hsl(var(--muted-foreground));
}
