/* ==========================================================================
   3 Red Feathers — functional styles and WordPress/WooCommerce markup.
   Design utilities live in app.css (compiled from the source stylesheet).
   ========================================================================== */

/* ---------------------------------------------------------------- base bits */
.screen-reader-text {
	border: 0;
	clip: rect(1px, 1px, 1px, 1px);
	clip-path: inset(50%);
	height: 1px;
	margin: -1px;
	overflow: hidden;
	padding: 0;
	position: absolute !important;
	width: 1px;
	word-wrap: normal !important;
}

.screen-reader-text:focus {
	background-color: hsl(var(--background));
	clip: auto !important;
	clip-path: none;
	color: hsl(var(--foreground));
	display: block;
	font-size: 1rem;
	height: auto;
	left: 1rem;
	line-height: normal;
	padding: 0.75rem 1rem;
	text-decoration: none;
	top: 1rem;
	width: auto;
	z-index: 100000;
}

.site-logo-img {
	height: var(--logo-height) !important;
	width: auto !important;
	display: block;
}

#site-header.site-header {
	z-index: 50;
}

/* Header layout (WP templates; Tailwind utilities are not all in app.css) */
#site-header .theme-site-nav {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 0.75rem;
	min-width: 0;
	height: 6rem;
}

@media (min-width: 1024px) {
	#site-header .theme-site-nav {
		height: 7rem;
	}
}

#site-header .theme-site-nav > a {
	flex-shrink: 0;
	min-width: 0;
}

#site-header .theme-primary-nav-desktop {
	display: none;
	flex: 1 1 auto;
	align-items: center;
	justify-content: center;
	gap: 0.5rem;
	min-width: 0;
	max-width: 100%;
	padding: 0 0.25rem;
}

@media (min-width: 1024px) {
	#site-header .theme-primary-nav-desktop {
		display: flex;
	}
}

@media (min-width: 1280px) {
	#site-header .theme-primary-nav-desktop {
		gap: 1.25rem;
	}
}

#site-header .theme-primary-nav-desktop a {
	font-size: 12px;
	white-space: nowrap;
	padding-left: 0.35rem;
	padding-right: 0.35rem;
}

@media (min-width: 1024px) and (max-width: 1279px) {
	#site-header .theme-primary-nav-desktop a {
		font-size: 11px;
		letter-spacing: 0.02em;
		padding-left: 0.25rem;
		padding-right: 0.25rem;
	}

	#site-header .site-logo-img {
		max-width: 170px !important;
	}
}

#site-header .theme-header-actions {
	display: flex;
	flex-shrink: 0;
	align-items: center;
	gap: 0.5rem;
}

@media (min-width: 768px) {
	#site-header .theme-header-actions {
		gap: 0.75rem;
	}
}

#site-header .theme-header-search {
	display: none;
}

@media (min-width: 768px) {
	#site-header .theme-header-search {
		display: inline-flex;
	}
}

#site-header .theme-header-menu-toggle {
	display: inline-flex;
}

@media (min-width: 1024px) {
	#site-header .theme-header-menu-toggle {
		display: none;
	}
}

#site-header #theme-mobile-menu.hidden {
	display: none;
}

#site-header #theme-mobile-menu:not(.hidden) {
	display: block;
}

@media (min-width: 1024px) {
	#site-header #theme-mobile-menu {
		display: none !important;
	}
}

body.theme-scroll-locked {
	position: fixed;
	left: 0;
	right: 0;
	width: 100%;
	overflow: hidden;
}

.site-logo-text {
	line-height: var(--logo-height);
	display: block;
}

/* WordPress admin bar: keep sticky header below the toolbar in preview and on-site */
@media screen and (min-width: 783px) {
	body.admin-bar #site-header.site-header {
		top: 32px;
	}
}

@media screen and (max-width: 782px) {
	body.admin-bar #site-header.site-header {
		top: 46px;
	}
}

/* Pointer cursor on interactive controls */
a[href],
button:not(:disabled),
summary,
[role="button"],
label[for],
input[type="submit"],
input[type="button"],
input[type="reset"],
input[type="checkbox"],
input[type="radio"],
select,
.theme-media-select-btn,
[data-contact-modal],
[data-cart-open],
[data-cart-close],
[data-cart-empty],
[data-cart-remove],
[data-cart-qty-update],
[data-mobile-menu-toggle],
[data-announcement-close],
[data-shop-more],
[data-ribbon-prev],
[data-ribbon-toggle],
[data-news-filter],
#shop [data-shop-pills] button {
	appearance: none;
	-webkit-appearance: none;
}

[data-news-filter],
[data-gallery-lightbox],
[data-gallery-lightbox-close],
[data-gallery-lightbox-prev],
[data-gallery-lightbox-next] {
	cursor: pointer;
}

/* ------------------------------------------------------------- scroll reveal */
.js-reveal-ready .theme-reveal {
	opacity: 0;
	transform: translateY(32px);
	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);
}

.js-reveal-ready .theme-reveal.is-visible {
	opacity: 1;
	transform: none;
}

.theme-reveal[data-reveal-delay="1"] { transition-delay: 0.1s; }
.theme-reveal[data-reveal-delay="2"] { transition-delay: 0.2s; }
.theme-reveal[data-reveal-delay="3"] { transition-delay: 0.3s; }
.theme-reveal[data-reveal-delay="4"] { transition-delay: 0.4s; }
.theme-reveal[data-reveal-delay="5"] { transition-delay: 0.5s; }
.theme-reveal[data-reveal-delay="6"] { transition-delay: 0.6s; }
.theme-reveal[data-reveal-delay="7"] { transition-delay: 0.7s; }
.theme-reveal[data-reveal-delay="8"] { transition-delay: 0.8s; }

body.is-customizer .theme-reveal {
	opacity: 1 !important;
	transform: none !important;
	transition: none !important;
}

@media (prefers-reduced-motion: reduce) {
	.js-reveal-ready .theme-reveal {
		opacity: 1;
		transform: none;
		transition: none;
	}
}

/* ----------------------------------------------------------------- hero intro */
@keyframes themeFadeIn {
	from { opacity: 0; }
	to { opacity: 1; }
}

@keyframes themeFadeUp {
	from { opacity: 0; transform: translateY(22px); }
	to { opacity: 1; transform: none; }
}

.theme-hero-fade { animation: themeFadeIn 1.1s cubic-bezier(0.25, 0.4, 0.25, 1) both; }
.theme-hero-title { animation: themeFadeUp 0.9s cubic-bezier(0.25, 0.4, 0.25, 1) 0.35s both; }
.theme-hero-sub { animation: themeFadeUp 0.7s cubic-bezier(0.25, 0.4, 0.25, 1) 0.55s both; }
.theme-hero-cta { animation: themeFadeUp 0.65s cubic-bezier(0.25, 0.4, 0.25, 1) 0.75s both; }

@media (prefers-reduced-motion: reduce) {
	.theme-hero-fade,
	.theme-hero-title,
	.theme-hero-sub,
	.theme-hero-cta {
		animation: none;
	}
}

/* --------------------------------------------------------------- product card */
.theme-product-card__media {
	transition: transform 0.3s cubic-bezier(0.25, 0.4, 0.25, 1);
}

.theme-product-card:hover .theme-product-card__media {
	transform: translateY(-4px);
}

.theme-product-card__image-link {
	display: block;
}

.theme-product-card__media > span {
	animation: themeBadgeIn 0.4s cubic-bezier(0.25, 0.4, 0.25, 1) both;
}

@keyframes themeBadgeIn {
	from { opacity: 0; transform: translateX(-20px); }
	to { opacity: 1; transform: none; }
}

/* ------------------------------------------------------------------- pricing */
.price-range-wrapper {
	position: relative;
	height: 0.5rem;
}

.range-track-bg,
.range-track-fill {
	position: absolute;
	height: 0.5rem;
	top: 50%;
	transform: translateY(-50%);
	border-radius: 9999px;
	pointer-events: none;
}

.range-track-bg {
	left: 0;
	right: 0;
	background: hsl(var(--secondary));
}

.range-track-fill {
	left: 0;
	width: 100%;
	background: hsl(var(--primary));
}

.range-input {
	position: absolute;
	left: 0;
	top: 50%;
	transform: translateY(-50%);
	width: 100%;
	height: 1.25rem;
	margin: 0;
	-webkit-appearance: none;
	appearance: none;
	background: transparent;
	pointer-events: none;
}

.range-input::-webkit-slider-runnable-track {
	height: 1.25rem;
	background: transparent;
	border: none;
}

.range-input::-moz-range-track {
	height: 1.25rem;
	background: transparent;
	border: none;
}

.range-input::-webkit-slider-thumb {
	-webkit-appearance: none;
	appearance: none;
	pointer-events: auto;
	height: 1.25rem;
	width: 1.25rem;
	margin-top: 0;
	border-radius: 9999px;
	border: 2px solid hsl(var(--primary));
	background: hsl(var(--background));
	cursor: pointer;
}

.range-input::-moz-range-thumb {
	pointer-events: auto;
	height: 1.25rem;
	width: 1.25rem;
	border-radius: 9999px;
	border: 2px solid hsl(var(--primary));
	background: hsl(var(--background));
	cursor: pointer;
}

.range-input--max { z-index: 3; }
.range-input--min { z-index: 4; }

/* ----------------------------------------------------------------- quantities */
.single-product .theme-add-to-cart-area > .mb-4 {
	align-self: flex-start;
	width: auto;
	max-width: 100%;
}

.single-product .theme-quantity-wrapper {
	display: inline-flex;
	align-items: center;
	width: auto;
	max-width: max-content;
	border: 1px solid hsl(var(--border));
}

.single-product .theme-qty-minus,
.single-product .theme-qty-plus {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 0.5rem 0.75rem;
	line-height: 1;
	background: transparent;
	border: 0;
	cursor: pointer;
	transition: background-color 0.2s ease;
}

.single-product .theme-qty-minus:hover,
.single-product .theme-qty-plus:hover {
	background: hsl(var(--secondary));
}

.theme-qty-input {
	-moz-appearance: textfield;
	appearance: textfield;
	box-sizing: border-box;
	width: 2.75rem;
	min-width: 2.75rem;
	max-width: 2.75rem;
	padding: 0.5rem 0.25rem;
	margin: 0;
	height: auto;
	min-height: 0;
	border: 0;
	background: transparent;
	text-align: center;
	font-family: var(--font-body);
	font-size: 0.875rem;
	line-height: 1.25rem;
}

.single-product .theme-quantity-wrapper .qty.theme-qty-input {
	width: 2.75rem;
	min-width: 2.75rem;
	max-width: 2.75rem;
}

.theme-qty-input::-webkit-outer-spin-button,
.theme-qty-input::-webkit-inner-spin-button {
	-webkit-appearance: none;
	margin: 0;
}

/* ---------------------------------------------------------------- cart drawer */
#theme-cart-overlay {
	position: fixed;
	inset: 0;
	z-index: 50;
	background: hsl(var(--foreground) / 0.2);
	opacity: 0;
	visibility: hidden;
	transition: opacity 0.3s var(--transition-smooth), visibility 0.3s var(--transition-smooth);
}

body.cart-open #theme-cart-overlay {
	opacity: 1;
	visibility: visible;
}

#theme-cart-drawer {
	visibility: hidden;
	opacity: 0;
	transform: translateY(20px);
	transition: opacity 0.3s var(--transition-smooth), transform 0.3s var(--transition-smooth), visibility 0.3s var(--transition-smooth);
}

body.cart-open #theme-cart-drawer {
	visibility: visible;
	opacity: 1;
	transform: none;
}

body.cart-open {
	overflow: hidden;
}

#theme-cart-drawer.is-updating > * {
	opacity: 0.6;
	pointer-events: none;
}

.theme-cart-count:empty {
	display: none;
}

#theme-cart-drawer dl.variation {
	display: flex;
	flex-wrap: wrap;
	gap: 0.15rem 0.4rem;
	margin: 0.35rem 0 0;
	font-size: 0.75rem;
	color: hsl(var(--muted-foreground));
}

#theme-cart-drawer dl.variation dt {
	font-weight: 600;
}

#theme-cart-drawer dl.variation dd {
	margin: 0;
}

#theme-cart-drawer .woocommerce-message {
	display: none;
}

/* ------------------------------------------------------------- add to cart UI */
.ajax_add_to_cart.theme-btn-loading {
	opacity: 0.6 !important;
	pointer-events: none !important;
	cursor: wait !important;
}

.single_add_to_cart_button.theme-added {
	opacity: 0.6 !important;
	pointer-events: none !important;
}

.single-product .single_add_to_cart_button.loading::after,
.ajax_add_to_cart.loading::after {
	display: none !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;
}

body a.added_to_cart.wc-forward,
.woocommerce-page a.added_to_cart.wc-forward,
.single-product a.added_to_cart.wc-forward {
	display: none !important;
}

/* ------------------------------------------------------------ single product */
.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%;
}

.single-product .theme-add-to-cart-area {
	display: flex;
	flex-direction: column;
	align-items: stretch;
	gap: 1rem;
}

.single-product .theme-add-to-cart-area .single_add_to_cart_button {
	flex: 1 1 auto;
	width: 100%;
	font-family: var(--font-body) !important;
	font-size: 0.75rem;
	font-weight: 500;
	line-height: 1.25;
	letter-spacing: 0.25em;
	text-transform: uppercase;
}

.single-product .theme-add-to-cart-area .theme-add-to-cart-label {
	display: inline-block;
}

.single-product .woocommerce-product-details__short-description,
.single-product .woocommerce-variation-description,
.single-product .posted_in {
	overflow-wrap: break-word;
	word-break: break-word;
}

.single-product .woocommerce-variation-price,
.single-product .woocommerce-variation-description {
	display: none;
}

.single-product .woocommerce-variation-availability {
	margin-bottom: 1rem;
	font-size: 0.875rem;
	color: hsl(var(--muted-foreground));
}

.single-product .woocommerce-variation-availability .stock {
	color: hsl(var(--muted-foreground));
	font-weight: 400;
}

.single-product .woocommerce-message,
.single-product .woocommerce-info {
	display: none;
}

.single-product .variations tbody,
.single-product .variations tbody tr,
.single-product .variations tbody td {
	display: block;
	width: 100%;
}

.single-product .variations tbody td.label {
	padding-bottom: 0.75rem;
}

.single-product .variations tbody td.label label {
	font-size: 13px;
	letter-spacing: 0.2em;
	text-transform: uppercase;
	font-family: var(--font-body);
	color: hsl(var(--muted-foreground));
}

.single-product .variations tbody tr {
	margin-bottom: 1.5rem;
}

.single-product .variations tbody td.value {
	padding-top: 0;
}

.theme-attr-select-hidden {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

.single-product .variations_form .theme-variation-pills {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
}

.single-product .variations_form .theme-variation-pill {
	padding: 0.5rem 1rem;
	font-size: 0.75rem;
	letter-spacing: 0.15em;
	text-transform: uppercase;
	font-family: var(--font-body);
	border-radius: 999px;
	border: 1px solid hsl(var(--border));
	background: transparent;
	transition: border-color 0.2s ease, background-color 0.2s ease, color 0.2s ease;
}

.single-product .variations_form .theme-variation-pill:hover:not(:disabled) {
	border-color: hsl(var(--foreground) / 0.6);
}

.single-product .variations_form .theme-variation-pill.is-selected {
	background: hsl(var(--foreground));
	color: hsl(var(--background));
	border-color: hsl(var(--foreground));
}

.single-product .variations_form .theme-variation-pill.is-color.is-selected {
	background: hsl(var(--foreground) / 0.05);
	color: hsl(var(--foreground));
	border-color: hsl(var(--foreground));
}

.single-product .variations_form .theme-variation-pill:disabled {
	opacity: 0.45;
	cursor: not-allowed;
}

.single-product .variations_form td.value {
	position: relative;
}

/* ------------------------------------------------------------ WooCommerce UI */
.woocommerce-notices-wrapper {
	width: 100%;
}

.woocommerce-message,
.woocommerce-info,
.woocommerce-error {
	list-style: none;
	margin: 0 0 1.5rem;
	padding: 1rem 1.25rem;
	border: 1px solid hsl(var(--border));
	border-radius: var(--radius);
	background: hsl(var(--card));
	color: hsl(var(--foreground));
	font-family: var(--font-body);
	font-size: 0.9375rem;
	line-height: 1.6;
}

.woocommerce-error {
	border-color: hsl(var(--destructive) / 0.4);
}

.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;
}

.woocommerce-pagination {
	display: flex;
	justify-content: center;
	margin-top: 2rem;
}

.woocommerce-pagination ul {
	display: flex;
	gap: 0.5rem;
	list-style: none;
	margin: 0;
	padding: 0;
}

.woocommerce-pagination ul li a,
.woocommerce-pagination ul li span {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 2.5rem;
	height: 2.5rem;
	padding: 0 0.75rem;
	border: 1px solid hsl(var(--border));
	border-radius: 9999px;
	font-family: var(--font-body);
	font-size: 0.875rem;
	color: hsl(var(--foreground));
	text-decoration: none;
}

.woocommerce-pagination ul li span.current,
.woocommerce-pagination ul li a:hover {
	background: hsl(var(--primary));
	border-color: hsl(var(--primary));
	color: hsl(var(--primary-foreground));
}

.woocommerce-pagination .screen-reader-text {
	display: none;
}

.woocommerce-result-count {
	font-family: var(--font-body);
	font-size: 0.875rem;
	color: hsl(var(--muted-foreground));
}

.woocommerce .price,
.woocommerce-Price-amount {
	font-family: var(--font-body);
	color: inherit;
}

.woocommerce-Price-currencySymbol {
	font-family: inherit;
}

.woocommerce ins {
	text-decoration: none;
}

.woocommerce del {
	opacity: 0.6;
	margin-right: 0.35rem;
}

/* ------------------------------------------------------------------- checkout */
body.woocommerce-checkout .wc-block-checkout {
	display: block;
}

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-checkout__sidebar {
	background-color: hsl(var(--card));
	border-radius: var(--radius);
	padding: 2rem;
	border: 1px solid hsl(var(--border));
}

@media (min-width: 768px) {
	body.woocommerce-checkout .wc-block-components-sidebar-layout,
	body.woocommerce-checkout .wc-block-checkout.wc-block-components-sidebar-layout {
		display: grid;
		grid-template-columns: 1fr 1fr;
		gap: 2rem;
		align-items: start;
	}

	body.woocommerce-checkout .wc-block-components-sidebar-layout > .wc-block-components-notice-banner,
	body.woocommerce-checkout .wc-block-components-sidebar-layout > .wc-block-components-notices {
		grid-column: 1 / -1;
	}
}

body.woocommerce-checkout .wc-block-checkout__main h2,
body.woocommerce-checkout .wc-block-checkout__sidebar h2,
body.woocommerce-checkout .wc-block-components-title,
body.woocommerce-checkout .wc-block-components-checkout-step__title {
	font-family: var(--font-display);
	color: hsl(var(--foreground));
	font-weight: 700;
	letter-spacing: -0.015em;
}

body.woocommerce-checkout .wc-block-components-text-input input,
body.woocommerce-checkout .wc-block-components-textarea textarea,
body.woocommerce-checkout .wc-block-components-select select,
body.woocommerce-checkout .wc-blocks-components-select__select {
	font-family: var(--font-body);
	font-size: 1rem;
	color: hsl(var(--foreground));
	background-color: hsl(var(--background));
	border: 1px solid hsl(var(--border)) !important;
	border-radius: var(--radius) !important;
}

body.woocommerce-checkout .wc-block-components-text-input input:focus,
body.woocommerce-checkout .wc-block-components-textarea textarea:focus,
body.woocommerce-checkout .wc-block-components-select select:focus,
body.woocommerce-checkout .wc-blocks-components-select__select:focus {
	border-color: hsl(var(--primary)) !important;
	box-shadow: 0 0 0 1px hsl(var(--primary)) !important;
	outline: none;
}

body.woocommerce-checkout .wc-block-components-text-input label,
body.woocommerce-checkout .wc-block-components-select label {
	font-family: var(--font-body);
	color: hsl(var(--muted-foreground));
}

body.woocommerce-checkout .wc-block-components-checkout-place-order-button,
body.woocommerce-checkout .wc-block-components-button:not(.is-link) {
	font-family: var(--font-display);
	font-weight: 500;
	background-color: hsl(var(--primary)) !important;
	color: hsl(var(--primary-foreground)) !important;
	border-radius: var(--radius) !important;
	border: none !important;
	text-transform: none;
}

body.woocommerce-checkout .wc-block-components-checkout-place-order-button:hover,
body.woocommerce-checkout .wc-block-components-button:not(.is-link):hover {
	background-color: hsl(var(--primary) / 0.9) !important;
}

body.woocommerce-checkout .wc-block-components-notice-banner {
	font-family: var(--font-body);
	border-radius: var(--radius);
	background-color: hsl(var(--card)) !important;
	color: hsl(var(--foreground)) !important;
	border: 1px solid hsl(var(--border)) !important;
}

body.woocommerce-checkout .wc-block-cart-items,
body.woocommerce-checkout .wc-block-components-order-summary {
	font-family: var(--font-body);
}

body.woocommerce-checkout .wc-block-components-totals-item__label,
body.woocommerce-checkout .wc-block-components-totals-item__value,
body.woocommerce-checkout .wc-block-components-order-summary-item__description {
	color: hsl(var(--foreground));
}

/* --------------------------------------------------------------- cart block */
body.woocommerce-cart .wc-block-cart,
body.woocommerce-cart .wc-block-components-sidebar {
	font-family: var(--font-body);
	color: hsl(var(--foreground));
}

body.woocommerce-cart .wc-block-cart__main,
body.woocommerce-cart .wc-block-cart__sidebar {
	min-width: 0;
	max-width: none;
}

body.woocommerce-cart .wc-block-components-button:not(.is-link) {
	background-color: hsl(var(--primary)) !important;
	color: hsl(var(--primary-foreground)) !important;
	border-radius: var(--radius) !important;
	font-family: var(--font-display);
	font-weight: 500;
	border: none !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 h2,
body.theme-thankyou-page .woocommerce-order-details__title,
body.theme-thankyou-page .woocommerce-column__title {
	font-family: var(--font-display);
	padding: 0 0 1rem 0;
}

body.theme-thankyou-page .woocommerce-order-overview {
	display: flex;
	flex-wrap: wrap;
	gap: 1.5rem;
	list-style: none;
	margin: 0 0 2rem;
	padding: 1.5rem;
	border: 1px solid hsl(var(--border));
	border-radius: var(--radius);
	background: hsl(var(--card));
}

body.theme-thankyou-page .woocommerce-order-overview li {
	margin: 0;
	font-size: 0.875rem;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	color: hsl(var(--muted-foreground));
}

body.theme-thankyou-page .woocommerce-order-overview li strong {
	display: block;
	margin-top: 0.25rem;
	font-size: 1rem;
	letter-spacing: 0;
	text-transform: none;
	color: hsl(var(--foreground));
}

body.theme-thankyou-page .woocommerce-order-details table {
	width: 100%;
	table-layout: fixed;
	border-collapse: collapse;
}

body.theme-thankyou-page .woocommerce-order-details th,
body.theme-thankyou-page .woocommerce-order-details td {
	padding: 0.75rem 0;
	border-bottom: 1px solid hsl(var(--border));
	text-align: left;
	overflow-wrap: break-word;
}

body.theme-thankyou-page .woocommerce-order-details tfoot th {
	text-align: left;
}

body.theme-thankyou-page .woocommerce-order-details tfoot td {
	text-align: right;
}

body.theme-thankyou-page .woocommerce-customer-details {
	display: flex;
	flex-direction: column;
	gap: 1.5rem;
	margin-top: 2rem;
}

body.theme-thankyou-page .woocommerce-customer-details address {
	max-width: 480px;
	overflow-wrap: break-word;
	font-style: normal;
}

/* -------------------------------------------------------------- account page */
body.woocommerce-account .woocommerce {
	font-family: var(--font-body);
	color: hsl(var(--foreground));
}

body.woocommerce-account .woocommerce-MyAccount-navigation ul {
	list-style: none;
	margin: 0;
	padding: 0;
}

body.woocommerce-account .woocommerce-MyAccount-navigation a {
	display: block;
	padding: 0.5rem 0;
	color: hsl(var(--muted-foreground));
}

body.woocommerce-account .woocommerce-MyAccount-navigation a:hover {
	color: hsl(var(--foreground));
}

/* ---------------------------------------------------------- theme utility UI */
body.overflow-hidden {
	overflow: hidden;
}

/* --------------------------------------------------------- contact modal */
#theme-contact-modal {
	z-index: 60;
}

#theme-contact-modal:not(.hidden) {
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 1rem;
}

.theme-contact-modal__backdrop {
	z-index: 0;
	transition: opacity 0.25s ease;
}

.theme-contact-modal__panel {
	z-index: 1;
	width: 100%;
	max-width: 32rem;
	transition: opacity 0.25s ease, transform 0.25s ease;
	will-change: opacity, transform;
	opacity: 0;
	transform: scale(0.96);
}

.theme-contact-modal__backdrop[data-state="closed"] {
	opacity: 0;
}

.theme-contact-modal__backdrop[data-state="open"] {
	opacity: 1;
}

.theme-contact-modal__panel[data-state="open"] {
	opacity: 1;
	transform: scale(1);
}

.theme-contact-modal__panel[data-state="closed"] {
	opacity: 0;
	transform: scale(0.96);
}

@media (prefers-reduced-motion: reduce) {
	.theme-contact-modal__backdrop,
	.theme-contact-modal__panel {
		transition: none;
	}
}

/* ----------------------------------------------------------- gallery lightbox */
.theme-gallery-lightbox {
	position: fixed;
	inset: 0;
	z-index: 60;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 1.5rem;
}

.theme-gallery-lightbox.hidden {
	display: none;
}

.theme-gallery-lightbox__backdrop {
	position: absolute;
	inset: 0;
	border: 0;
	padding: 0;
	margin: 0;
	background: hsl(var(--foreground) / 0.82);
	cursor: pointer;
}

.theme-gallery-lightbox__panel {
	position: relative;
	z-index: 1;
	display: grid;
	grid-template-columns: auto minmax(0, 1fr) auto;
	align-items: center;
	gap: 0.75rem;
	width: min(100%, 72rem);
	max-height: min(92vh, 900px);
}

.theme-gallery-lightbox__figure {
	margin: 0;
	min-width: 0;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 0.75rem;
}

.theme-gallery-lightbox__image {
	display: block;
	max-width: 100%;
	max-height: min(78vh, 760px);
	width: auto;
	height: auto;
	object-fit: contain;
	box-shadow: 0 24px 48px hsl(var(--foreground) / 0.25);
}

.theme-gallery-lightbox__caption {
	margin: 0;
	max-width: 42rem;
	text-align: center;
	font-family: var(--font-body);
	font-size: 0.875rem;
	line-height: 1.5;
	color: hsl(var(--background));
}

.theme-gallery-lightbox__close,
.theme-gallery-lightbox__nav {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border: 1px solid hsl(var(--background) / 0.35);
	background: hsl(var(--background) / 0.12);
	color: hsl(var(--background));
	border-radius: 9999px;
	width: 2.5rem;
	height: 2.5rem;
	padding: 0;
	transition: background 0.2s ease, opacity 0.2s ease;
}

.theme-gallery-lightbox__close:hover,
.theme-gallery-lightbox__nav:hover {
	background: hsl(var(--background) / 0.22);
}

.theme-gallery-lightbox__close {
	position: absolute;
	top: -0.25rem;
	right: 0;
	z-index: 2;
}

.theme-gallery-lightbox__nav--prev,
.theme-gallery-lightbox__nav--next {
	flex-shrink: 0;
}

@media (max-width: 640px) {
	.theme-gallery-lightbox__panel {
		grid-template-columns: 1fr;
		grid-template-rows: auto 1fr auto;
		justify-items: center;
	}

	.theme-gallery-lightbox__nav--prev,
	.theme-gallery-lightbox__nav--next {
		grid-row: 3;
	}

	.theme-gallery-lightbox__nav--prev {
		justify-self: start;
	}

	.theme-gallery-lightbox__nav--next {
		justify-self: end;
	}

	.theme-gallery-lightbox__figure {
		grid-row: 2;
	}
}
