/**
 * MEANing Wear Apparel — functional styles and markup that has no equivalent
 * in the compiled design stylesheet (WooCommerce and WordPress generated
 * output). Layout, typography and colour of design elements come from
 * app.css, which loads first.
 */

/* ------------------------------------------------------------------ base */

[hidden] {
	display: none !important;
}

body.theme-panel-open,
body.cart-open {
	overflow: hidden;
}

/* Clickable affordance: hand cursor on interactive controls. */
a[href],
button:not(:disabled),
[role="button"]:not([aria-disabled="true"]),
input[type="button"]:not(:disabled),
input[type="submit"]:not(:disabled),
input[type="reset"]:not(:disabled),
input[type="checkbox"],
input[type="radio"],
input[type="file"],
select:not(:disabled),
summary,
label[for],
.theme-attr-pills [data-attr-pill],
[data-contact-open],
[data-search-open],
[data-menu-open],
[data-cart-open],
[data-terms-open] {
	cursor: pointer;
}

button:disabled,
[aria-disabled="true"],
input:disabled,
select:disabled {
	cursor: not-allowed;
}

/* Shop search sits inside a .dark section; force readable typed text. */
.theme-shop-search,
[data-shop-search] {
	color: hsl(var(--foreground)) !important;
	caret-color: hsl(var(--foreground));
	-webkit-text-fill-color: hsl(var(--foreground));
}

.theme-shop-search::placeholder,
[data-shop-search]::placeholder {
	color: hsl(var(--muted-foreground));
	-webkit-text-fill-color: hsl(var(--muted-foreground));
	opacity: 1;
}

/* Dialogs sit above the fixed header / progress bar. */
.theme-dialog-layer {
	z-index: 100;
}

.theme-dialog-scroll {
	z-index: 101;
	-webkit-overflow-scrolling: touch;
	overscroll-behavior: contain;
}

.theme-main {
	padding-top: 0;
}

body.home .theme-main {
	padding-top: 0;
}

/*
 * Fixed header clearance for every non-hero page (WooCommerce checkout/cart/
 * account, archives, product, generic pages). Kept in theme.css so it cannot
 * be wiped by missing Tailwind breakpoint utilities.
 */
.theme-page-wrapper,
.theme-inner-page {
	padding-top: 7.5rem;
	padding-bottom: 3rem;
}

@media (min-width: 1024px) {
	.theme-page-wrapper,
	.theme-inner-page {
		padding-top: 9rem;
		padding-bottom: 4rem;
	}
}

/* Native hash / scroll-margin clearance under the floating header. */
#shop,
#curated,
#brand,
#services,
#faq,
#shop-categories,
.scroll-mt-32 {
	scroll-margin-top: 9rem;
}

/* Fallback for templates that still reference container-editorial. */
.container-editorial {
	margin-left: auto;
	margin-right: auto;
	width: 100%;
	max-width: 48rem;
	padding-left: 1.5rem;
	padding-right: 1.5rem;
}

.site-logo-img {
	height: var(--logo-height, 61px) !important;
	width: auto !important;
	display: block;
}

.site-logo-text {
	line-height: var(--logo-height, 61px);
	display: block;
}

html[data-scrolled='true'] .site-header,
.site-header.is-scrolled {
	z-index: 51;
}

/* Mobile menu must sit above the header even after scroll raises header z-index. */
.theme-mobile-menu {
	z-index: 90;
}

/* ------------------------------------------------- scroll progress + toast */

.theme-scroll-progress {
	transform: scaleX(0);
}

.theme-toast-stack {
	position: fixed;
	bottom: 1.5rem;
	right: 1.5rem;
	z-index: 120;
	display: flex;
	flex-direction: column;
	gap: 0.5rem;
	max-width: 22rem;
	pointer-events: none;
}

.theme-toast {
	opacity: 1;
	transition: opacity 0.3s ease, transform 0.3s ease;
}

.theme-toast.is-leaving {
	opacity: 0;
	transform: translateY(6px);
}

.theme-toast-error {
	border-color: hsl(var(--destructive));
	color: hsl(var(--destructive));
}

/* ----------------------------------------------------------- reveal items */

.theme-reveal {
	opacity: 0;
	transform: translateY(24px);
	transition: opacity 0.55s cubic-bezier(0.25, 0.4, 0.25, 1), transform 0.55s cubic-bezier(0.25, 0.4, 0.25, 1);
}

.theme-hero-image {
	opacity: 0;
	transition: opacity 1.6s cubic-bezier(0.25, 0.4, 0.25, 1);
}

.theme-hero-copy {
	opacity: 0;
	transform: translateY(24px);
	transition: opacity 1s cubic-bezier(0.25, 0.4, 0.25, 1) 0.4s, transform 1s cubic-bezier(0.25, 0.4, 0.25, 1) 0.4s;
}

.theme-reveal.is-visible,
.theme-hero-copy.is-visible {
	opacity: 1;
	transform: none;
}

.theme-hero-image.is-visible {
	opacity: 1;
}

body.is-customizer .theme-reveal,
body.is-customizer .theme-hero-image,
body.is-customizer .theme-hero-copy {
	opacity: 1 !important;
	transform: none !important;
	transition: none !important;
}

@media (prefers-reduced-motion: reduce) {
	.theme-reveal,
	.theme-hero-image,
	.theme-hero-copy {
		opacity: 1 !important;
		transform: none !important;
		transition: none !important;
	}
}

/* --------------------------------------------------------------- price range */

.theme-range-input {
	position: absolute;
	left: 0;
	top: 0;
	width: 100%;
	height: 100%;
	margin: 0;
	padding: 0;
	-webkit-appearance: none;
	appearance: none;
	background: transparent;
	pointer-events: none;
	border: 0;
}

.theme-range-input::-webkit-slider-thumb {
	-webkit-appearance: none;
	appearance: none;
	pointer-events: auto;
	width: 20px;
	height: 20px;
	border-radius: 9999px;
	border: 2px solid hsl(var(--primary));
	background: hsl(var(--background));
	cursor: pointer;
	box-shadow: 0 1px 3px hsl(0 0% 0% / 0.25);
}

.theme-range-input::-moz-range-thumb {
	pointer-events: auto;
	width: 20px;
	height: 20px;
	border-radius: 9999px;
	border: 2px solid hsl(var(--primary));
	background: hsl(var(--background));
	cursor: pointer;
}

.theme-range-input:focus-visible {
	outline: none;
}

.theme-range-input:focus-visible::-webkit-slider-thumb {
	box-shadow: 0 0 0 3px hsl(var(--ring) / 0.35);
}

.theme-range-input--max {
	z-index: 3;
}

.theme-range-input--min {
	z-index: 4;
}

/* ------------------------------------------------------- quantity stepper */

.theme-quantity-wrapper {
	display: inline-flex;
	align-items: stretch;
	border: 1px solid hsl(var(--border));
	border-radius: 0.375rem;
	overflow: hidden;
}

.theme-quantity-wrapper button {
	padding: 0 0.9rem;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	transition: background-color 0.2s ease;
	background: transparent;
	border: 0;
	color: hsl(var(--foreground));
	cursor: pointer;
}

.theme-quantity-wrapper button:hover {
	background: hsl(var(--secondary));
}

.theme-quantity-wrapper button:disabled {
	opacity: 0.4;
	cursor: not-allowed;
}

.theme-qty-input {
	width: 3.25rem;
	text-align: center;
	border: 0;
	border-left: 1px solid hsl(var(--border));
	border-right: 1px solid hsl(var(--border));
	background: transparent;
	color: hsl(var(--foreground));
	font-size: 0.875rem;
	-moz-appearance: textfield;
}

.theme-qty-input::-webkit-outer-spin-button,
.theme-qty-input::-webkit-inner-spin-button {
	-webkit-appearance: none;
	margin: 0;
}

/* ---------------------------------------------------------- product cards */

.theme-product-card-wrap {
	display: block;
}

/* --------------------------------------------------------- single product */

.theme-product-page {
	/* Clear the fixed header and leave breathing room above the footer. */
	padding-top: 7.5rem;
	padding-bottom: 4.5rem;
}

@media (min-width: 1024px) {
	.theme-product-page {
		padding-top: 9rem;
		padding-bottom: 6rem;
	}
}

.theme-product-layout {
	display: grid;
	grid-template-columns: 1fr;
	gap: 2.5rem;
	align-items: start;
	min-width: 0;
}

@media (min-width: 1024px) {
	.theme-product-layout {
		grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
		gap: 3.5rem 4rem;
	}
}

.single-product .theme-product-layout,
.single-product .theme-product-gallery,
.single-product .theme-product-info {
	min-width: 0;
	max-width: 100%;
}

.theme-product-gallery {
	display: flex;
	flex-direction: column;
	gap: 1rem;
}

.theme-product-gallery__main {
	position: relative;
	width: 100%;
	aspect-ratio: 1 / 1;
	display: flex;
	align-items: center;
	justify-content: center;
	overflow: hidden;
	background: hsl(var(--secondary) / 0.45);
}

.theme-product-gallery__image {
	width: 100%;
	height: 100%;
	object-fit: contain;
	display: block;
}

.theme-product-thumbnails {
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem;
	max-width: 100%;
}

.theme-product-thumb {
	width: 4.25rem;
	height: 4.25rem;
	flex: 0 0 auto;
	overflow: hidden;
	border: 1px solid transparent;
	border-radius: 0.375rem;
	opacity: 0.6;
	padding: 0;
	background: hsl(var(--secondary) / 0.35);
	transition: opacity 0.2s ease, border-color 0.2s ease;
	cursor: pointer;
}

.theme-product-thumb:hover {
	opacity: 1;
}

.theme-product-thumb.is-active {
	opacity: 1;
	border-color: hsl(var(--foreground));
}

.theme-product-info {
	padding: 0;
}

.theme-related-products {
	margin-top: 4rem;
	padding-top: 3.5rem;
	border-top: 1px solid hsl(var(--border));
}

@media (min-width: 1024px) {
	.theme-related-products {
		margin-top: 5.5rem;
		padding-top: 4.5rem;
	}
}

.single-product .theme-add-to-cart-area {
	display: flex;
	align-items: stretch;
	flex-wrap: wrap;
	gap: 0.75rem;
}

.single-product .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 .posted_in,
.theme-product-detail-list {
	overflow-wrap: break-word;
	word-break: break-word;
}

/* Restore bullets (Tailwind preflight resets lists). */
ul.theme-product-detail-list {
	list-style-type: disc;
	list-style-position: outside;
	padding-left: 1.25rem;
	margin: 1.5rem 0 0;
}

ul.theme-product-detail-list > li {
	display: list-item;
	margin: 0;
	padding: 0;
	line-height: 1.625;
}

ul.theme-product-detail-list > li + li {
	margin-top: 0.625rem;
}

ul.theme-product-detail-list > li::marker {
	color: hsl(var(--primary));
}

/* Native variation table: label above the control. */
.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: 0 0 0.25rem;
}

.single-product .variations tbody td.value {
	padding: 0;
}

.single-product .variations {
	width: 100%;
	margin-bottom: 1.25rem;
	border: 0;
}

.theme-attr-select-hidden {
	display: none !important;
}

.single-product .single_variation_wrap {
	margin-top: 0.25rem;
}

.single-product .woocommerce-variation-price {
	margin-bottom: 1rem;
	font-family: var(--font-body);
	font-size: 1rem;
}

.single-product .woocommerce-variation-availability {
	margin-bottom: 1rem;
	font-family: var(--font-body);
	font-size: 0.875rem;
	color: hsl(var(--muted-foreground));
}

/* Add-to-cart disabled state. */
.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;
}

/* Hide "View cart" injected by WooCommerce after AJAX add-to-cart. */
.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;
}

/* Loading lock. */
.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;
}

/* -------------------------------------------------------------- cart drawer */

#theme-cart-drawer {
	transform: translateX(100%);
	transition: transform 0.45s cubic-bezier(0.25, 0.4, 0.25, 1);
	will-change: transform;
}

body.cart-open #theme-cart-drawer {
	transform: translateX(0);
}

#theme-cart-overlay {
	position: fixed;
	inset: 0;
	background: hsl(var(--foreground) / 0.3);
	opacity: 0;
	pointer-events: none;
	transition: opacity 0.45s ease;
	z-index: 49;
}

body.cart-open #theme-cart-overlay {
	opacity: 1;
	pointer-events: auto;
}

#theme-cart-drawer.is-updating > * {
	opacity: 0.6;
	pointer-events: none;
}

#theme-cart-drawer .woocommerce-message {
	display: none;
}

.theme-cart-count:empty {
	display: none;
}

/* ------------------------------------------------------------ shop notices */

.theme-notices {
	padding-top: 0.5rem;
}

.theme-notices .woocommerce-message,
.theme-notices .woocommerce-info,
.theme-notices .woocommerce-error {
	list-style: none;
	padding: 0.875rem 1rem;
	margin: 0 0 1rem;
	border: 1px solid hsl(var(--border));
	border-left-width: 3px;
	border-radius: 0.375rem;
	background: hsl(var(--secondary));
	font-family: var(--font-body);
	font-size: 0.875rem;
	color: hsl(var(--foreground));
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
}

.theme-notices .woocommerce-error {
	border-left-color: hsl(var(--destructive));
}

.theme-notices .woocommerce-message,
.theme-notices .woocommerce-info {
	border-left-color: hsl(var(--primary));
}

.theme-notices .woocommerce-message::before,
.theme-notices .woocommerce-info::before,
.theme-notices .woocommerce-error::before {
	display: none;
}

.theme-notices .button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	height: 2.25rem;
	padding: 0 1rem;
	border: 1px solid hsl(var(--primary));
	background: hsl(var(--primary));
	color: hsl(var(--primary-foreground));
	font-family: var(--font-body);
	font-size: 0.6875rem;
	letter-spacing: 0.22em;
	text-transform: uppercase;
	white-space: nowrap;
}

/* Single product notices are redundant with the drawer feedback. */
.single-product .theme-notices {
	display: none;
}

/* ------------------------------------------------------------ page titles */

.page-title {
	font-family: var(--font-display);
	font-size: clamp(2rem, 4vw, 3rem);
	line-height: 1.05;
	letter-spacing: -0.01em;
	text-transform: uppercase;
	color: hsl(var(--foreground));
}

.theme-page-wrapper .entry-content {
	min-width: 0;
}

/* WordPress core helpers. */
.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;
}

.sr-only {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

.alignleft {
	float: left;
	margin: 0 1.5rem 1rem 0;
}

.alignright {
	float: right;
	margin: 0 0 1rem 1.5rem;
}

.aligncenter {
	margin: 0 auto 1rem;
	display: block;
}

.entry-content p,
.entry-content ul,
.entry-content ol,
.entry-content blockquote {
	font-family: var(--font-body);
	line-height: 1.75;
	color: hsl(var(--foreground) / 0.85);
	margin-bottom: 1rem;
}

.entry-content h1,
.entry-content h2,
.entry-content h3,
.entry-content h4 {
	font-family: var(--font-display);
	text-transform: uppercase;
	line-height: 1.1;
	margin: 1.75rem 0 0.75rem;
	color: hsl(var(--foreground));
}

.entry-content a {
	color: hsl(var(--primary));
	text-decoration: underline;
	text-underline-offset: 3px;
}

.entry-content ul {
	list-style: disc;
	padding-left: 1.25rem;
}

.entry-content ol {
	list-style: decimal;
	padding-left: 1.25rem;
}

/* ------------------------------------------------- checkout block / blocks */

body.woocommerce-checkout .theme-main,
body.woocommerce-cart .theme-main,
body.theme-thankyou-page .theme-main,
body.theme-account-page .theme-main,
body.woocommerce-account .theme-main,
body.woocommerce-page .theme-main {
	overflow-x: hidden;
}

/* Keep default WooCommerce page content inside theme margins. */
body.woocommerce-page .theme-page-wrapper > .container-wide,
body.woocommerce-cart .theme-page-wrapper > .container-wide,
body.woocommerce-checkout .theme-page-wrapper > .container-wide,
body.woocommerce-account .theme-page-wrapper > .container-wide {
	width: 100%;
	max-width: 80rem;
	margin-left: auto;
	margin-right: auto;
	padding-left: 1.5rem;
	padding-right: 1.5rem;
	box-sizing: border-box;
}

body.woocommerce-checkout .entry-content,
body.woocommerce-cart .entry-content,
body.woocommerce-account .entry-content,
body.woocommerce-page .theme-wc-entry {
	min-width: 0;
	max-width: 100%;
}

body.woocommerce-checkout .wc-block-checkout,
body.woocommerce-cart .wc-block-cart,
body.woocommerce-cart .wp-block-woocommerce-cart,
body.woocommerce-account .woocommerce {
	max-width: 100% !important;
	width: 100% !important;
	margin-left: 0 !important;
	margin-right: 0 !important;
	box-sizing: border-box;
}

body.woocommerce-checkout .wc-block-checkout {
	display: block;
	width: 100%;
	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-checkout .wc-block-components-main,
body.woocommerce-checkout .wc-block-components-sidebar {
	min-width: 0;
	width: 100%;
	max-width: none;
}

/* The inner sidebar-layout is the ONE grid owner for the two columns. */
@media (min-width: 768px) {
	body.woocommerce-checkout .wc-block-components-sidebar-layout.wc-block-checkout {
		display: grid;
		grid-template-columns: 1fr 1fr;
		gap: var(--checkout-gap, 2.5rem);
		align-items: start;
		max-width: none;
		width: 100%;
	}

	body.woocommerce-checkout .wc-block-components-sidebar-layout.wc-block-checkout > .wc-block-checkout__main,
	body.woocommerce-checkout .wc-block-components-sidebar-layout.wc-block-checkout > .wc-block-components-main {
		grid-column: 1;
		width: auto;
		max-width: none;
	}

	body.woocommerce-checkout .wc-block-components-sidebar-layout.wc-block-checkout > .wc-block-checkout__sidebar,
	body.woocommerce-checkout .wc-block-components-sidebar-layout.wc-block-checkout > .wc-block-components-sidebar {
		grid-column: 2;
		width: auto;
		max-width: none;
	}
}

body.woocommerce-checkout .wc-block-checkout__sidebar {
	background: hsl(var(--secondary) / 0.7);
	border-radius: 0.5rem;
	padding: 2rem;
}

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: hsl(var(--primary));
	color: hsl(var(--primary-foreground));
	border: 1px solid hsl(var(--primary));
	border-radius: 0.375rem;
	font-family: var(--font-body);
	font-size: 0.6875rem;
	letter-spacing: 0.28em;
	text-transform: uppercase;
	font-weight: 600;
}

body.woocommerce-checkout .wc-block-components-checkout-place-order-button:hover {
	background: hsl(var(--foreground));
	color: hsl(var(--background));
	border-color: hsl(var(--foreground));
}

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 {
	font-family: var(--font-body);
	font-size: 0.875rem;
	color: hsl(var(--foreground));
	background-color: hsl(var(--background));
	border: 1px solid hsl(var(--border));
	border-radius: 0.375rem;
	width: 100%;
	max-width: none;
}

body.woocommerce-checkout .wc-block-components-text-input input:focus,
body.woocommerce-checkout .wc-block-components-select select:focus,
body.woocommerce-checkout .wc-block-components-textarea textarea:focus {
	border-color: hsl(var(--primary));
	outline: none;
	box-shadow: 0 0 0 1px hsl(var(--ring));
}

body.woocommerce-checkout .wc-block-checkout h1,
body.woocommerce-checkout .wc-block-checkout h2,
body.woocommerce-checkout .wc-block-checkout h3,
body.woocommerce-checkout .wc-block-components-title {
	font-family: var(--font-display);
	text-transform: uppercase;
	letter-spacing: -0.01em;
}

body.woocommerce-checkout .wc-block-components-notice-banner {
	border-radius: 0.375rem;
	font-family: var(--font-body);
	font-size: 0.875rem;
}

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__value,
body.woocommerce-checkout .wc-block-components-product-price {
	font-family: var(--font-body);
}

/* Cart block on the cart page. */
body.woocommerce-cart .wp-block-woocommerce-cart,
body.woocommerce-cart .wc-block-cart {
	font-family: var(--font-body);
	color: hsl(var(--foreground));
}

body.woocommerce-cart .wc-block-cart__submit-button,
body.woocommerce-cart .wc-block-components-button.wc-block-cart__submit-button {
	background: hsl(var(--primary));
	color: hsl(var(--primary-foreground));
	border: 1px solid hsl(var(--primary));
	border-radius: 0.375rem;
	font-family: var(--font-body);
	font-size: 0.6875rem;
	letter-spacing: 0.28em;
	text-transform: uppercase;
	font-weight: 600;
}

/* ------------------------------------------------------- classic WC forms */

.woocommerce form .form-row input.input-text,
.woocommerce form .form-row textarea,
.woocommerce form .form-row select,
.woocommerce-page form .form-row input.input-text {
	font-family: var(--font-body);
	font-size: 0.875rem;
	color: hsl(var(--foreground));
	background-color: hsl(var(--background));
	border: 1px solid hsl(var(--border));
	border-radius: 0.375rem;
	padding: 0.75rem 1rem;
}

.woocommerce form .form-row label {
	font-family: var(--font-body);
	font-size: 0.6875rem;
	letter-spacing: 0.22em;
	text-transform: uppercase;
	color: hsl(var(--muted-foreground));
}

.woocommerce .woocommerce-form-login,
.woocommerce .woocommerce-form-register {
	border: 1px solid hsl(var(--border));
	border-radius: 0.5rem;
	padding: 1.5rem;
	background: hsl(var(--background));
}

.woocommerce-account .woocommerce-MyAccount-navigation ul {
	list-style: none;
	padding: 0;
	margin: 0 0 2rem;
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
}

.woocommerce-account .woocommerce-MyAccount-navigation li a {
	display: inline-flex;
	align-items: center;
	height: 2.25rem;
	padding: 0 1rem;
	border: 1px solid hsl(var(--border));
	font-family: var(--font-body);
	font-size: 0.6875rem;
	letter-spacing: 0.22em;
	text-transform: uppercase;
	color: hsl(var(--foreground));
}

.woocommerce-account .woocommerce-MyAccount-navigation li.is-active a,
.woocommerce-account .woocommerce-MyAccount-navigation li a:hover {
	background: hsl(var(--foreground));
	color: hsl(var(--background));
	border-color: hsl(var(--foreground));
}

.woocommerce-account .woocommerce-MyAccount-content {
	font-family: var(--font-body);
	font-size: 0.9375rem;
	line-height: 1.75;
	color: hsl(var(--foreground) / 0.85);
}

/* ------------------------------------------------------ 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);
	text-transform: uppercase;
	font-size: 1.25rem;
	line-height: 1.2;
	padding: 0 0 1rem;
	color: hsl(var(--foreground));
}

body.theme-thankyou-page .woocommerce-order-overview {
	list-style: none;
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
	gap: 1rem;
	padding: 1.5rem;
	margin: 0 0 2rem;
	background: hsl(var(--secondary) / 0.7);
	border-radius: 0.5rem;
	border-top: 0;
}

body.theme-thankyou-page .woocommerce-order-overview li {
	border: 0;
	padding: 0;
	margin: 0;
	font-size: 0.75rem;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	color: hsl(var(--muted-foreground));
}

body.theme-thankyou-page .woocommerce-order-overview li strong {
	display: block;
	margin-top: 0.35rem;
	font-family: var(--font-body);
	font-size: 0.9375rem;
	letter-spacing: 0;
	text-transform: none;
	color: hsl(var(--foreground));
}

body.theme-thankyou-page .woocommerce-order-details table,
body.theme-thankyou-page .woocommerce-table {
	width: 100%;
	table-layout: fixed;
	border-collapse: collapse;
	font-size: 0.875rem;
}

body.theme-thankyou-page .woocommerce-order-details table th,
body.theme-thankyou-page .woocommerce-order-details table td {
	padding: 0.75rem 0.5rem;
	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;
	border-bottom: 0;
}

body.theme-thankyou-page .woocommerce-order-details tfoot td {
	text-align: right;
	border-bottom: 0;
}

body.theme-thankyou-page .woocommerce-customer-details {
	display: flex;
	flex-direction: column;
	gap: 1.5rem;
	margin-top: 2rem;
}

body.theme-thankyou-page .woocommerce-customer-details address {
	max-width: 480px;
	overflow-wrap: break-word;
	font-style: normal;
	line-height: 1.8;
	border: 1px solid hsl(var(--border));
	border-radius: 0.5rem;
	padding: 1.25rem;
	background: hsl(var(--background));
}

/* -------------------------------------------------------------- misc WC */

.woocommerce-breadcrumb {
	font-family: var(--font-body);
	font-size: 0.75rem;
	letter-spacing: 0.2em;
	text-transform: uppercase;
	color: hsl(var(--muted-foreground));
}

.woocommerce-error,
.woocommerce-info,
.woocommerce-message {
	font-family: var(--font-body);
}

.woocommerce table.shop_table {
	border: 1px solid hsl(var(--border));
	border-radius: 0.5rem;
	font-family: var(--font-body);
	font-size: 0.875rem;
}

.pagination,
.woocommerce-pagination {
	display: flex;
	justify-content: center;
	gap: 0.5rem;
	margin: 2rem 0;
}

.pagination .page-numbers,
.woocommerce-pagination .page-numbers {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 2.5rem;
	height: 2.5rem;
	border: 1px solid hsl(var(--border));
	font-family: var(--font-body);
	font-size: 0.8125rem;
	color: hsl(var(--foreground));
}

.pagination .page-numbers.current {
	background: hsl(var(--foreground));
	color: hsl(var(--background));
	border-color: hsl(var(--foreground));
}

/* -------------------------------------------------------- admin bar offset */

/* WP admin bar is 32px on desktop and 46px below 783px. */
body.admin-bar .site-header {
	top: calc(0.75rem + 32px);
}

body.admin-bar .theme-scroll-progress {
	top: 32px;
}

body.admin-bar .theme-page-wrapper,
body.admin-bar .theme-inner-page,
body.admin-bar .theme-product-page {
	padding-top: calc(7.5rem + 32px);
}

body.admin-bar #shop,
body.admin-bar #curated,
body.admin-bar #brand,
body.admin-bar #services,
body.admin-bar #faq,
body.admin-bar #shop-categories,
body.admin-bar .scroll-mt-32 {
	scroll-margin-top: calc(9rem + 32px);
}

@media screen and (max-width: 782px) {
	body.admin-bar .site-header {
		top: calc(0.75rem + 46px);
	}

	body.admin-bar .theme-scroll-progress {
		top: 46px;
	}

	body.admin-bar .theme-page-wrapper,
	body.admin-bar .theme-inner-page,
	body.admin-bar .theme-product-page {
		padding-top: calc(7.5rem + 46px);
	}

	body.admin-bar #shop,
	body.admin-bar #curated,
	body.admin-bar #brand,
	body.admin-bar #services,
	body.admin-bar #faq,
	body.admin-bar #shop-categories,
	body.admin-bar .scroll-mt-32 {
		scroll-margin-top: calc(9rem + 46px);
	}
}

@media screen and (min-width: 783px) {
	body.admin-bar .site-header {
		top: calc(1.25rem + 32px);
	}
}

@media screen and (min-width: 1024px) {
	body.admin-bar .theme-page-wrapper,
	body.admin-bar .theme-inner-page,
	body.admin-bar .theme-product-page {
		padding-top: calc(9rem + 32px);
	}
}

/* --------------------------------------------------------------- responsive */

@media (max-width: 1023px) {
	.theme-toast-stack {
		left: 1rem;
		right: 1rem;
		max-width: none;
	}
}

@media (max-width: 767px) {
	.single-product .theme-add-to-cart-area {
		flex-direction: column;
	}

	.single-product .theme-add-to-cart-area .single_add_to_cart_button {
		width: 100%;
	}

	body.woocommerce-checkout .wc-block-checkout__sidebar {
		padding: 1.25rem;
	}
}
