/* ==========================================================================
   Naturally Abstract — functional styles and WooCommerce/WordPress-only markup.

   Everything the original design renders is styled by assets/css/app.css using
   the design's own classes. This file only covers rules that app.css cannot
   provide: behaviour hooks, and markup WooCommerce/WordPress generates itself.
   ========================================================================== */

/* --------------------------------------------------------------------------
   Functional base
   -------------------------------------------------------------------------- */
[hidden] {
	display: none !important;
}

:root {
	--theme-header-height: 5rem;
	--theme-admin-bar-height: 0px;
	--logo-height: 40px;
}

/* --------------------------------------------------------------------------
   WordPress admin bar — keep the sticky header below the toolbar
   -------------------------------------------------------------------------- */
body.admin-bar {
	--theme-admin-bar-height: 32px;
}

@media screen and (max-width: 782px) {
	body.admin-bar {
		--theme-admin-bar-height: 46px;
	}
}

body.admin-bar .site-header {
	top: var(--theme-admin-bar-height);
}

body.admin-bar [data-scroll-progress] {
	top: var(--theme-admin-bar-height);
}

/* Scroll progress bar (the design drives this with an inline transform). */
[data-scroll-progress] {
	transform: scaleX(0);
	transform-origin: 0 50%;
	will-change: transform;
}

/* --------------------------------------------------------------------------
   Site identity
   -------------------------------------------------------------------------- */
.site-logo-img {
	height: var(--logo-height) !important;
	width: auto !important;
	display: block;
}

.site-header .site-logo-img,
footer .site-logo-img {
	height: auto !important;
}

.site-header .site-logo-img {
	width: 8rem !important;
}

@media (min-width: 640px) {
	.site-header .site-logo-img {
		width: 10rem !important;
	}
}

footer .site-logo-img {
	width: 11rem !important;
}

@media (min-width: 640px) {
	footer .site-logo-img {
		width: 13rem !important;
	}
}

.site-logo-text {
	display: block;
}

/* --------------------------------------------------------------------------
   Header state + mobile menu
   -------------------------------------------------------------------------- */
.site-header.is-solid {
	background-color: hsl(var(--background));
	color: hsl(var(--foreground));
	border-color: hsl(var(--border));
}

body.theme-menu-open .site-header {
	background-color: hsl(var(--background));
	color: hsl(var(--foreground));
	border-color: hsl(var(--border));
}

/* Mobile nav: match Lovable Header (height 0 → auto + opacity, 250ms ease). */
#theme-mobile-nav {
	overflow: clip;
	height: 0;
	opacity: 0;
	border-top-color: transparent;
	transition:
		height 250ms ease,
		opacity 250ms ease,
		border-color 250ms ease;
}

body.theme-menu-open #theme-mobile-nav {
	border-top-color: hsl(var(--border));
}

/* Menu toggle icon (AnimatePresence-style rotate, 180ms). */
.theme-menu-icon {
	transition:
		opacity 180ms ease,
		transform 180ms ease;
}

body:not(.theme-menu-open) .theme-menu-icon--menu {
	opacity: 1;
	transform: rotate(0deg);
}

body:not(.theme-menu-open) .theme-menu-icon--close {
	opacity: 0;
	transform: rotate(-45deg);
}

body.theme-menu-open .theme-menu-icon--menu {
	opacity: 0;
	transform: rotate(45deg);
}

body.theme-menu-open .theme-menu-icon--close {
	opacity: 1;
	transform: rotate(0deg);
}

@media (prefers-reduced-motion: reduce) {
	.theme-menu-icon {
		transition: opacity 0s;
		transform: none !important;
	}
}

/* Home stats: dividers on mobile only. */
.theme-stat {
	border-bottom: 1px solid hsl(var(--border));
}

.theme-stat:last-child {
	border-bottom: none;
}

@media (min-width: 640px) {
	.theme-stat {
		border-bottom: none;
	}
}

/* --------------------------------------------------------------------------
   Cart drawer + overlay
   -------------------------------------------------------------------------- */
#theme-cart-drawer {
	position: fixed;
	top: 0;
	bottom: 0;
	right: 0;
	z-index: 60;
	width: 100%;
	max-width: 28rem;
	background-color: hsl(var(--background));
	transform: translateX(100%);
	visibility: hidden;
	transition: transform 320ms cubic-bezier(0.22, 1, 0.36, 1), visibility 0s linear 320ms;
	overflow: hidden;
}

#theme-cart-drawer .theme-drawer-item:last-child {
	border-bottom: 0;
}

/*
 * Cart line thumbs (Lovable): square column, object-contain on secondary backing.
 * Grid + height:100% !important overrides Tailwind preflight img { height: auto }.
 */
#theme-cart-drawer .theme-cart-item__image--drawer,
.theme-cart-page .theme-cart-item__image--page {
	display: grid;
	width: 100%;
	aspect-ratio: 1 / 1;
	overflow: hidden;
	background-color: hsl(var(--secondary));
}

#theme-cart-drawer .theme-cart-item__image--drawer img,
.theme-cart-page .theme-cart-item__image--page img {
	grid-area: 1 / 1;
	width: 100%;
	height: 100% !important;
	max-width: none;
	object-fit: contain;
	object-position: center;
	border-radius: inherit;
}

body.cart-open #theme-cart-drawer {
	transform: translateX(0);
	visibility: visible;
	transition: transform 320ms cubic-bezier(0.22, 1, 0.36, 1), visibility 0s;
}

#theme-cart-overlay {
	position: fixed;
	inset: 0;
	z-index: 55;
	background-color: hsl(var(--foreground) / 0.5);
	opacity: 0;
	pointer-events: none;
	transition: opacity 300ms ease;
}

body.cart-open #theme-cart-overlay {
	opacity: 1;
	pointer-events: auto;
}

#theme-cart-drawer.is-updating > * {
	opacity: 0.6;
	pointer-events: none;
}

.theme-cart-count:empty {
	display: none;
}

/* --------------------------------------------------------------------------
   Quantity control (input styled to match the design's output element)
   -------------------------------------------------------------------------- */
.theme-qty-input {
	width: 2.25rem;
	min-width: 2.25rem;
	border: 0;
	background: transparent;
	padding: 0;
	text-align: center;
	font-family: inherit;
	font-size: 0.875rem;
	line-height: 1.25rem;
	font-weight: 700;
	color: inherit;
	appearance: textfield;
	-moz-appearance: textfield;
	box-shadow: none;
}

.theme-qty-input:focus {
	outline: none;
	box-shadow: none;
}

/* Quantity pills (drawer + cart): ~82% of Lovable QuantityControl; clip hover inside pill. */
.theme-qty-pill {
	overflow: clip;
	height: 2.46rem; /* 82% of h-12 */
}

.theme-qty-pill [data-cart-qty-update] {
	border-radius: 0;
	width: 2.255rem; /* 82% of h-11 */
	height: 2.255rem;
}

.theme-qty-pill__value {
	min-width: 1.845rem; /* 82% of min-w-9 */
	font-size: 0.71875rem; /* 82% of text-sm */
	line-height: 1.25;
}

.theme-qty-pill__icon {
	width: 0.82rem; /* 82% of h-4 */
	height: 0.82rem;
}

.theme-qty-input::-webkit-outer-spin-button,
.theme-qty-input::-webkit-inner-spin-button {
	appearance: none;
	margin: 0;
}

.theme-add-to-cart-area .theme-quantity-wrapper:disabled {
	opacity: 0.4;
}

/* --------------------------------------------------------------------------
   Reveal fallbacks (no observer available / Customizer preview)
   -------------------------------------------------------------------------- */
.theme-card-reveal {
	opacity: 0;
	transform: translate3d(0, 20px, 0);
	transition-property: opacity, transform;
	transition-duration: 0.65s;
	transition-timing-function: cubic-bezier(0.22, 1, 0.36, 1);
	transition-delay: var(--d, 0ms);
}

.theme-card-reveal.is-visible {
	opacity: 1;
	transform: translate3d(0, 0, 0);
}

body.is-customizer .reveal,
body.is-customizer .reveal-left,
body.is-customizer .reveal-right,
body.is-customizer .reveal-scale,
body.is-customizer .theme-card-reveal,
body.no-observer .reveal,
body.no-observer .theme-card-reveal {
	opacity: 1 !important;
	transform: none !important;
}

@media (prefers-reduced-motion: reduce) {
	.theme-card-reveal {
		opacity: 1;
		transform: none;
		transition: none;
	}
}

/* --------------------------------------------------------------------------
   Single product: layout, gallery, thumbnails
   -------------------------------------------------------------------------- */
.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%;
}

.single-product .theme-product-thumbnails button img {
	height: 100%;
	width: 100%;
	object-fit: cover;
	display: block;
}

.single-product .theme-add-to-cart-area {
	display: flex;
	align-items: stretch;
	flex-wrap: wrap;
}

.single-product .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 {
	overflow-wrap: break-word;
	word-break: break-word;
}

/* Keep product descriptions readable at any container width. */
.theme-product-info .woocommerce-product-details__short-description ul,
.theme-product-info .woocommerce-product-details__short-description ol {
	list-style: disc;
	padding-left: 1.25rem;
}

.theme-product-info .woocommerce-product-details__short-description ol {
	list-style: decimal;
}

/* --------------------------------------------------------------------------
   Add to cart: disabled + loading states
   -------------------------------------------------------------------------- */
.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;
}

.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 injects this link after AJAX add-to-cart; the design has none. */
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;
}

/* --------------------------------------------------------------------------
   Variable products: hidden native selects + pill UI
   -------------------------------------------------------------------------- */
.theme-attr-select-hidden {
	display: none !important;
}

/* The pills render their own labels, so the native table stays out of the flow
   while its selects remain in the DOM for wc-add-to-cart-variation.js. */
.single-product .theme-variations-table {
	position: absolute;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip: rect(0 0 0 0);
	clip-path: inset(50%);
	white-space: nowrap;
	border: 0;
	padding: 0;
	margin: -1px;
}

.single-product .variations.shop_attributes tbody,
.single-product .variations tbody tr,
.single-product .variations tbody td {
	display: block;
	width: 100%;
}

.single-product .variations tbody td.label {
	padding-bottom: 0.25rem;
}

.single-product .variations tbody td.value {
	padding-top: 0;
}

.single-product .variations td.label {
	display: none;
}

.theme-attr-pill[aria-pressed="true"] {
	border-color: hsl(var(--primary));
	background-color: hsl(var(--secondary));
}

/* --------------------------------------------------------------------------
   WooCommerce notices (kept visible where no drawer feedback exists)
   -------------------------------------------------------------------------- */
.woocommerce-message,
.woocommerce-info,
.woocommerce-error,
.wc-block-components-notice-banner {
	border-radius: calc(var(--radius) - 4px);
	font-family: var(--font-body);
	font-size: 0.9375rem;
	line-height: 1.6;
	padding: 1rem 1.25rem;
	margin: 0 0 1.5rem;
	list-style: none;
	background-color: hsl(var(--secondary));
	color: hsl(var(--secondary-foreground));
	border: 1px solid hsl(var(--border));
}

.woocommerce-message,
.woocommerce-info,
.woocommerce-error {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.75rem;
}

.woocommerce-error {
	background-color: hsl(var(--destructive) / 0.08);
	border-color: hsl(var(--destructive) / 0.4);
	color: hsl(var(--destructive));
}

.woocommerce-message .button,
.woocommerce-info .button {
	margin-left: auto;
}

/* Single product: the drawer already confirms the add. */
.single-product .woocommerce-message,
.single-product .woocommerce-info {
	display: none;
}

#theme-cart-drawer .woocommerce-message {
	display: none;
}

/* --------------------------------------------------------------------------
   Shop/archive pagination
   -------------------------------------------------------------------------- */
.woocommerce-pagination,
.theme-archive-page .navigation.pagination {
	display: flex;
	justify-content: center;
	margin-top: 3rem;
}

.woocommerce-pagination ul,
.theme-archive-page .nav-links {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	list-style: none;
	margin: 0;
	padding: 0;
}

.woocommerce-pagination ul li a,
.woocommerce-pagination ul li span,
.theme-archive-page .page-numbers {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 2.75rem;
	min-height: 2.75rem;
	padding: 0 0.75rem;
	border: 1px solid hsl(var(--border));
	border-radius: 999px;
	font-family: var(--font-body);
	font-size: 0.875rem;
	font-weight: 600;
	color: hsl(var(--foreground));
	text-decoration: none;
	transition: background-color 200ms ease, color 200ms ease;
}

.woocommerce-pagination ul li a:hover,
.theme-archive-page .page-numbers:hover {
	background-color: hsl(var(--secondary));
}

.woocommerce-pagination ul li span.current,
.theme-archive-page .page-numbers.current {
	background-color: hsl(var(--primary));
	border-color: hsl(var(--primary));
	color: hsl(var(--primary-foreground));
}

/* --------------------------------------------------------------------------
   Cart page (WooCommerce Cart Block)
   -------------------------------------------------------------------------- */
/* Cart, account and checkout keep the design's own container width. */
body.woocommerce-cart .theme-inner-page,
body.woocommerce-account .theme-inner-page,
body.woocommerce-checkout .theme-inner-page {
	max-width: 1280px;
}

@media (max-width: 1279px) {
	body.woocommerce-cart .theme-inner-page,
	body.woocommerce-account .theme-inner-page,
	body.woocommerce-checkout .theme-inner-page {
		max-width: 100%;
	}
}

body.woocommerce-cart .wp-block-woocommerce-cart,
body.woocommerce-account .woocommerce {
	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;
}

body.woocommerce-cart .wc-block-components-sidebar-layout {
	gap: 2.5rem;
}

body.woocommerce-cart .wc-block-cart-items__header {
	font-family: var(--font-body);
	font-size: 0.75rem;
	font-weight: 700;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	color: hsl(var(--muted-foreground));
}

body.woocommerce-cart .wc-block-cart-item__product .wc-block-components-product-name,
body.woocommerce-checkout .wc-block-components-product-name {
	font-family: var(--font-display);
	font-size: 1.375rem;
	font-weight: 400;
	line-height: 1.2;
	color: hsl(var(--foreground));
}

body.woocommerce-cart .wc-block-components-totals-item__label,
body.woocommerce-checkout .wc-block-components-totals-item__label {
	font-family: var(--font-body);
	color: hsl(var(--muted-foreground));
}

body.woocommerce-cart .wc-block-components-totals-item__value,
body.woocommerce-checkout .wc-block-components-totals-item__value {
	font-weight: 700;
	color: hsl(var(--foreground));
}

body.woocommerce-cart .wc-block-cart__submit-button,
body.woocommerce-cart .wc-block-components-button,
body.woocommerce-checkout .wc-block-components-button {
	border-radius: 999px;
	background-color: hsl(var(--primary));
	color: hsl(var(--primary-foreground));
	font-family: var(--font-body);
	font-size: 0.875rem;
	font-weight: 500;
	min-height: 3rem;
	transition: background-color 300ms cubic-bezier(0.22, 1, 0.36, 1), color 300ms cubic-bezier(0.22, 1, 0.36, 1), border-color 300ms cubic-bezier(0.22, 1, 0.36, 1);
	border: 1px solid hsl(var(--primary));
}

body.woocommerce-cart .wc-block-cart__submit-button:hover,
body.woocommerce-cart .wc-block-components-button:hover,
body.woocommerce-checkout .wc-block-components-button:hover {
	background-color: hsl(var(--background));
	color: hsl(var(--primary));
}

body.woocommerce-cart .wc-block-components-button.is-link {
	background: transparent;
	border: 0;
	color: hsl(var(--primary));
	text-decoration: underline;
	text-underline-offset: 4px;
	min-height: auto;
}

/* --------------------------------------------------------------------------
   Checkout (native WooCommerce Checkout Block)
   -------------------------------------------------------------------------- */
body.woocommerce-checkout .site-main,
body.woocommerce-checkout main {
	padding-bottom: 4rem;
}

body.woocommerce-checkout .entry-content {
	max-width: 100%;
}

body.woocommerce-checkout .wc-block-checkout {
	display: block;
	max-width: none;
	font-family: var(--font-body);
	color: hsl(var(--foreground));
}

body.woocommerce-checkout .wc-block-components-sidebar-layout,
body.woocommerce-checkout .wc-block-checkout__main {
	min-width: 0;
}

body.woocommerce-checkout .wc-block-checkout__main,
body.woocommerce-checkout .wc-block-checkout__sidebar {
	min-width: 0;
	width: 100%;
	max-width: none;
}

@media (min-width: 768px) {
	body.woocommerce-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-checkout__main {
		grid-column: 1;
	}

	body.woocommerce-checkout .wc-block-components-sidebar-layout > .wc-block-checkout__sidebar {
		grid-column: 2;
	}

	body.woocommerce-checkout .wc-block-components-sidebar-layout > .wc-block-components-notice-banner,
	body.woocommerce-checkout .wc-block-components-sidebar-layout > .wc-block-checkout__form-error {
		grid-column: 1 / -1;
	}
}

body.woocommerce-checkout .wc-block-checkout__sidebar {
	background-color: hsl(var(--card));
	border: 1px solid hsl(var(--border));
	border-radius: var(--radius);
	padding: 1.75rem;
}

body.woocommerce-checkout .wc-block-components-checkout-step__title,
body.woocommerce-checkout .wc-block-checkout__order-summary-title,
body.woocommerce-checkout .wc-block-components-title {
	font-family: var(--font-display);
	font-size: 1.875rem;
	font-weight: 400;
	line-height: 1.2;
	letter-spacing: 0;
	color: hsl(var(--foreground));
}

body.woocommerce-checkout .wc-block-components-checkout-step__heading {
	margin-bottom: 1rem;
}

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 {
	font-family: var(--font-body) !important;
	font-size: 1rem !important;
	color: hsl(var(--foreground)) !important;
	background-color: hsl(var(--background)) !important;
	border: 1px solid hsl(var(--input)) !important;
	border-radius: calc(var(--radius) - 4px) !important;
	box-shadow: 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,
body.woocommerce-checkout .wc-block-components-combobox .wc-block-components-combobox-control input.components-combobox-control__input:focus {
	border-color: hsl(var(--ring)) !important;
	box-shadow: 0 0 0 2px hsl(var(--ring)) !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-text-input label,
body.woocommerce-checkout .wc-block-components-select label {
	font-family: var(--font-body) !important;
	color: hsl(var(--muted-foreground)) !important;
}

body.woocommerce-checkout .wc-block-components-checkout-place-order-button {
	border-radius: 999px !important;
	background-color: hsl(var(--primary)) !important;
	color: hsl(var(--primary-foreground)) !important;
	font-family: var(--font-body) !important;
	font-size: 0.9375rem !important;
	font-weight: 500 !important;
	min-height: 3rem !important;
	border: 1px solid hsl(var(--primary)) !important;
}

body.woocommerce-checkout .wc-block-components-checkout-place-order-button:hover {
	background-color: hsl(var(--background)) !important;
	color: hsl(var(--primary)) !important;
}

body.woocommerce-checkout .wc-block-checkout__sidebar .wc-block-components-totals-item__label,
body.woocommerce-checkout .wc-block-checkout__sidebar .wc-block-components-totals-item__value {
	font-size: 0.9375rem;
}

body.woocommerce-checkout .wc-block-cart-items,
body.woocommerce-checkout .wc-block-components-order-summary {
	border: 0;
}

/* --------------------------------------------------------------------------
   Order received (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-thankyou-order-received {
	font-family: var(--font-display);
	font-size: 1.875rem;
	line-height: 1.2;
	margin-bottom: 1.5rem;
	color: hsl(var(--foreground));
}

body.theme-thankyou-page .woocommerce-order-overview {
	display: grid;
	gap: 1rem;
	list-style: none;
	margin: 0 0 2rem;
	padding: 1.5rem;
	border: 1px solid hsl(var(--border));
	border-radius: var(--radius);
	background-color: hsl(var(--card));
	font-size: 0.875rem;
}

@media (min-width: 768px) {
	body.theme-thankyou-page .woocommerce-order-overview {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

body.theme-thankyou-page .woocommerce-order-overview li {
	margin: 0;
	padding: 0;
	border: 0;
	float: none;
	text-transform: none;
	color: hsl(var(--muted-foreground));
}

body.theme-thankyou-page .woocommerce-order-overview li strong {
	display: block;
	margin-top: 0.25rem;
	font-family: var(--font-body);
	font-size: 1rem;
	font-weight: 700;
	color: hsl(var(--foreground));
	text-transform: none;
}

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);
	font-size: 1.75rem;
	font-weight: 400;
	line-height: 1.25;
	padding: 0 0 1rem 0;
	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.9375rem;
}

body.theme-thankyou-page .woocommerce-order-details table th,
body.theme-thankyou-page .woocommerce-order-details table td,
body.theme-thankyou-page .woocommerce-table th,
body.theme-thankyou-page .woocommerce-table td {
	padding: 0.75rem 0.5rem;
	border-bottom: 1px solid hsl(var(--border));
	vertical-align: top;
	text-align: left;
	overflow-wrap: break-word;
}

body.theme-thankyou-page .woocommerce-order-details tfoot th {
	text-align: left;
	font-weight: 600;
	color: hsl(var(--muted-foreground));
}

body.theme-thankyou-page .woocommerce-order-details tfoot td {
	text-align: right;
	font-weight: 700;
}

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.7;
	color: hsl(var(--muted-foreground));
}

/* --------------------------------------------------------------------------
   My account
   -------------------------------------------------------------------------- */
body.woocommerce-account .woocommerce-MyAccount-navigation ul {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
	list-style: none;
	margin: 0 0 2rem;
	padding: 0;
}

body.woocommerce-account .woocommerce-MyAccount-navigation ul li a {
	display: inline-flex;
	align-items: center;
	min-height: 2.75rem;
	padding: 0 1rem;
	border: 1px solid hsl(var(--border));
	border-radius: 999px;
	font-size: 0.875rem;
	font-weight: 600;
	color: hsl(var(--foreground));
	text-decoration: none;
}

body.woocommerce-account .woocommerce-MyAccount-navigation ul li.is-active a {
	background-color: hsl(var(--primary));
	border-color: hsl(var(--primary));
	color: hsl(var(--primary-foreground));
}

/* --------------------------------------------------------------------------
   WooCommerce forms generated outside the block editor
   -------------------------------------------------------------------------- */
.woocommerce form .form-row {
	margin-bottom: 1.25rem;
}

.woocommerce form .form-row label {
	display: block;
	margin-bottom: 0.5rem;
	font-family: var(--font-body);
	font-size: 0.875rem;
	font-weight: 700;
	color: hsl(var(--foreground));
}

.woocommerce form .form-row input.input-text,
.woocommerce form .form-row textarea,
.woocommerce form .form-row select {
	width: 100%;
	min-height: 3rem;
	padding: 0.75rem 1rem;
	font-family: var(--font-body);
	font-size: 1rem;
	color: hsl(var(--foreground));
	background-color: hsl(var(--background));
	border: 1px solid hsl(var(--input));
	border-radius: calc(var(--radius) - 4px);
}

.woocommerce form .form-row input.input-text:focus,
.woocommerce form .form-row textarea:focus,
.woocommerce form .form-row select:focus {
	border-color: hsl(var(--ring));
	box-shadow: 0 0 0 2px hsl(var(--ring));
	outline: none;
}

.woocommerce form .button,
.woocommerce-cart .wc-block-components-button,
.woocommerce-account .woocommerce-MyAccount-content .button,
.woocommerce-account form.login .button,
.woocommerce-form-coupon .button,
.woocommerce-form-login .button,
.woocommerce-EditAccountForm .button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.5rem;
	min-height: 3rem;
	padding: 0 1.5rem;
	font-family: var(--font-body);
	font-size: 0.875rem;
	font-weight: 500;
	color: hsl(var(--primary-foreground));
	background-color: hsl(var(--primary));
	border: 1px solid hsl(var(--primary));
	border-radius: 999px;
	text-decoration: none;
	cursor: pointer;
	transition: background-color 300ms cubic-bezier(0.22, 1, 0.36, 1), color 300ms cubic-bezier(0.22, 1, 0.36, 1);
}

.woocommerce form .button:hover,
.woocommerce-cart .wc-block-components-button:hover,
.woocommerce-account .woocommerce-MyAccount-content .button:hover,
.woocommerce-form-coupon .button:hover,
.woocommerce-form-login .button:hover,
.woocommerce-EditAccountForm .button:hover {
	background-color: hsl(var(--background));
	color: hsl(var(--primary));
}

/* --------------------------------------------------------------------------
   Screen-reader helper
   -------------------------------------------------------------------------- */
.screen-reader-text {
	position: absolute !important;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip: rect(0 0 0 0);
	clip-path: inset(50%);
	white-space: nowrap;
	border: 0;
	padding: 0;
	margin: -1px;
}

/* --------------------------------------------------------------------------
   Clickable affordance
   -------------------------------------------------------------------------- */
a[href],
area[href],
button:not(:disabled),
input[type="button"],
input[type="submit"],
input[type="reset"],
input[type="checkbox"],
input[type="radio"],
select,
summary,
label[for],
[role="button"],
.nav-link,
.theme-attr-pill,
[data-cart-open],
[data-menu-toggle],
[data-faq-toggle],
[data-showcase-thumb],
[data-showcase-open],
[data-video-toggle],
[data-cart-close],
[data-cart-qty-update],
[data-cart-remove] {
	cursor: pointer;
}

/* --------------------------------------------------------------------------
   Reduced motion
   -------------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
	#theme-cart-drawer,
	body.cart-open #theme-cart-drawer,
	#theme-cart-overlay,
	#theme-mobile-nav {
		transition: none !important;
	}
}
