/* ==========================================================================
   Home Field Printing: supplemental stylesheet.
   Loaded after app.css (the compiled design system). Only markup that does
   not exist in the design source is styled here.
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Functional primitives
   -------------------------------------------------------------------------- */

[hidden] {
	display: none !important;
}

/* Pointer 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"],
input[type="image"],
label[for],
select:not(:disabled),
summary,
[data-cart-open],
[data-cart-close],
[data-cart-remove],
[data-cart-qty-update],
[data-contact-open],
[data-faq-toggle],
[data-menu-toggle],
[data-menu-close],
[data-cat-filter],
[data-card],
.theme-attr-pill,
.theme-gallery-thumb,
.ajax_add_to_cart,
.single_add_to_cart_button,
.woocommerce a.button,
.woocommerce button.button {
	cursor: pointer;
}

button:disabled,
.single_add_to_cart_button:disabled,
.single_add_to_cart_button.disabled,
[aria-disabled="true"] {
	cursor: not-allowed;
}

/* Shop search: typed text must use the dark-section foreground token */
.theme-shop-search,
.theme-shop-search:focus {
	color: hsl(var(--foreground)) !important;
	caret-color: hsl(var(--foreground));
	-webkit-text-fill-color: hsl(var(--foreground));
}

.theme-shop-search::placeholder {
	color: hsl(var(--muted-foreground));
	-webkit-text-fill-color: hsl(var(--muted-foreground));
	opacity: 1;
}

.theme-shop-search:-webkit-autofill,
.theme-shop-search:-webkit-autofill:hover,
.theme-shop-search:-webkit-autofill:focus {
	-webkit-text-fill-color: hsl(var(--foreground));
	caret-color: hsl(var(--foreground));
	transition: background-color 99999s ease-in-out 0s;
}

/* --------------------------------------------------------------------------
   1b. WordPress admin bar offset (fixed header / drawer / progress)
   -------------------------------------------------------------------------- */

body.admin-bar .theme-scroll-progress {
	top: 32px;
}

body.admin-bar header.fixed {
	top: calc(0.75rem + 32px);
}

@media (min-width: 768px) {
	body.admin-bar header.fixed {
		top: calc(1.25rem + 32px);
	}
}

body.admin-bar #theme-cart-drawer {
	top: 32px;
	height: calc(100% - 32px);
}

@media screen and (max-width: 782px) {
	body.admin-bar .theme-scroll-progress {
		top: 46px;
	}

	body.admin-bar header.fixed {
		top: calc(0.75rem + 46px);
	}

	body.admin-bar #theme-cart-drawer {
		top: 46px;
		height: calc(100% - 46px);
	}
}

.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: 0.875rem;
	height: auto;
	left: 1rem;
	line-height: normal;
	padding: 1rem 1.25rem;
	text-decoration: none;
	top: 1rem;
	width: auto;
	z-index: 100000;
}

/* --------------------------------------------------------------------------
   2. Site identity
   -------------------------------------------------------------------------- */

.site-logo-img {
	height: var(--logo-height, 54px) !important;
	width: auto !important;
	display: block;
	max-width: none;
}

/* --------------------------------------------------------------------------
   3. Scroll progress indicator
   -------------------------------------------------------------------------- */

.theme-scroll-progress {
	transform: scaleX(0);
	transform-origin: 0% 50%;
	will-change: transform;
}

/* --------------------------------------------------------------------------
   4. Reveal animations (framer-motion parity)
   -------------------------------------------------------------------------- */

.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);
	will-change: opacity, transform;
}

.theme-reveal.is-visible {
	opacity: 1;
	transform: none;
}

.theme-reveal[data-reveal-i="1"] {
	transition-delay: 0.06s;
}

.theme-reveal[data-reveal-i="2"] {
	transition-delay: 0.12s;
}

.theme-reveal[data-reveal-i="3"] {
	transition-delay: 0.18s;
}

.theme-reveal[data-reveal-i="4"] {
	transition-delay: 0.24s;
}

.theme-reveal[data-reveal-i="5"] {
	transition-delay: 0.3s;
}

.theme-reveal[data-reveal-i="6"] {
	transition-delay: 0.36s;
}

.theme-reveal[data-reveal-i="7"] {
	transition-delay: 0.42s;
}

.theme-reveal[data-reveal-i="8"] {
	transition-delay: 0.48s;
}

/* Framer-motion style hero entrance */
.theme-hero-video {
	transform: scale(1.05);
	opacity: 0;
	transition:
		transform 1.6s cubic-bezier(0.25, 0.4, 0.25, 1),
		opacity 1.6s cubic-bezier(0.25, 0.4, 0.25, 1);
}

.theme-hero-ready .theme-hero-video {
	transform: scale(1);
	opacity: 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-hero-ready .theme-hero-copy {
	opacity: 1;
	transform: none;
}

body.is-customizer .theme-reveal,
body.is-customizer .theme-hero-copy,
body.is-customizer .theme-hero-video {
	opacity: 1 !important;
	transform: none !important;
	transition: none !important;
}

.no-js .theme-reveal,
.no-motion .theme-reveal {
	opacity: 1;
	transform: none;
}

@media (prefers-reduced-motion: reduce) {
	.theme-reveal,
	.theme-hero-copy,
	.theme-hero-video {
		opacity: 1 !important;
		transform: none !important;
		transition: none !important;
	}

	.animate-ken-burns,
	.animate-marquee {
		animation: none !important;
	}
}

/* --------------------------------------------------------------------------
   5. Cart drawer
   -------------------------------------------------------------------------- */

#theme-cart-overlay {
	position: fixed;
	inset: 0;
	z-index: 40;
	background-color: hsl(var(--foreground) / 0.3);
	opacity: 0;
	pointer-events: none;
	transition: opacity 0.3s var(--transition-smooth);
}

body.cart-open #theme-cart-overlay {
	opacity: 1;
	pointer-events: auto;
}

#theme-cart-drawer {
	transform: translateX(100%);
	transition: transform 0.32s var(--transition-smooth);
	z-index: 50;
	will-change: transform;
}

body.cart-open #theme-cart-drawer {
	transform: translateX(0);
}

#theme-cart-drawer.is-updating > * {
	opacity: 0.55;
	pointer-events: none;
	transition: opacity 0.2s linear;
}

.theme-cart-count:empty {
	display: none;
}

/* Quantity control inside the drawer (markup mirrors the design) */
.theme-cart-qty {
	display: inline-flex;
	align-items: center;
	border: 1px solid hsl(var(--border));
}

.theme-cart-qty button {
	padding: 0.375rem 0.625rem;
	transition: background-color 0.2s linear;
}

.theme-cart-qty button:hover {
	background-color: hsl(var(--secondary));
}

.theme-cart-qty span {
	padding: 0 0.75rem;
	min-width: 28px;
	text-align: center;
	font-size: 0.875rem;
}

.theme-empty-cart-message {
	font-size: 0.875rem;
}

/* --------------------------------------------------------------------------
   6. Product imagery generated by WooCommerce
   -------------------------------------------------------------------------- */

.theme-product-media {
	position: relative;
	overflow: hidden;
}

.theme-product-media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
	display: block;
}

/* Product page gallery */
.theme-gallery-main {
	width: 100%;
}

.theme-gallery-main img {
	width: 100%;
	height: 100%;
	object-fit: contain;
	object-position: center;
	display: block;
}

.theme-product-card-wrap img {
	max-width: none;
}

.theme-gallery-thumbs {
	display: flex;
	gap: 0.75rem;
}

.theme-gallery-thumb {
	width: 3.5rem;
	height: 3.5rem;
	overflow: hidden;
	border-radius: 0.375rem;
	border: 1px solid transparent;
	transition: all 0.25s var(--transition-smooth);
}

.theme-gallery-thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.theme-gallery-thumb.is-active {
	border-color: hsl(var(--foreground));
	opacity: 1;
}

.theme-gallery-thumb:not(.is-active) {
	border-color: transparent;
	opacity: 0.6;
}

.theme-gallery-thumb:not(.is-active):hover {
	opacity: 1;
}

@media (min-width: 1024px) {
	.theme-gallery-thumb {
		width: 4rem;
		height: 4rem;
	}
}

.theme-gallery-thumbs--mobile .theme-gallery-thumb {
	width: 4rem;
	height: 4rem;
	flex-shrink: 0;
}

/* --------------------------------------------------------------------------
   7. WooCommerce price html and small generated markup
   -------------------------------------------------------------------------- */

.theme-price .woocommerce-Price-amount {
	font-size: inherit;
	font-weight: inherit;
	color: inherit;
}

.theme-price del {
	opacity: 0.55;
	margin-right: 0.4rem;
}

.theme-price ins {
	text-decoration: none;
}

.theme-card-meta .woocommerce-Price-amount {
	font-size: inherit;
	color: inherit;
}

.woocommerce-Price-currencySymbol {
	font-size: inherit;
}

.star-rating {
	display: none;
}

/* --------------------------------------------------------------------------
   8. Single product: quantity + add to cart row
   -------------------------------------------------------------------------- */

.theme-add-to-cart-area {
	display: flex;
	align-items: stretch;
	gap: 0.75rem;
	flex-wrap: wrap;
	margin-top: 2rem;
}

.theme-add-to-cart-area .theme-qty-group {
	flex: 0 0 auto;
}

.theme-add-to-cart-area .single_add_to_cart_button,
.theme-add-to-cart-area .theme-add-button {
	flex: 1 1 auto;
	min-width: 200px;
}

.theme-qty-group {
	display: inline-flex;
	align-items: center;
	border: 1px solid hsl(var(--border));
	background-color: hsl(var(--background));
	height: 3.5rem;
	border-radius: 0.375rem;
}

.theme-qty-group button {
	width: 2.5rem;
	height: 100%;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	color: hsl(var(--foreground));
	transition: background-color 0.2s linear;
}

.theme-qty-group button:hover {
	background-color: hsl(var(--secondary));
}

.theme-qty-input {
	width: 2.75rem;
	height: 100%;
	border: 0;
	background: transparent;
	text-align: center;
	font-size: 0.875rem;
	font-family: var(--font-body);
	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-qty-input:focus {
	outline: none;
}

/* Disabled add-to-cart 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,
.theme-add-button.disabled,
.theme-add-button:disabled {
	cursor: not-allowed !important;
	opacity: 0.4 !important;
	pointer-events: none !important;
}

/* Hide the "View cart" link WooCommerce injects after an AJAX add */
body a.added_to_cart.wc-forward {
	display: none !important;
}

/* Hide WooCommerce's own spinner, the theme owns the loading state */
.ajax_add_to_cart.loading::after,
.single_add_to_cart_button.loading::after {
	display: none !important;
}

.ajax_add_to_cart.theme-btn-loading {
	opacity: 0.6 !important;
	pointer-events: none !important;
	cursor: wait !important;
}

/* --------------------------------------------------------------------------
   9. Variable product markup
   -------------------------------------------------------------------------- */

.single-product .variations {
	width: 100%;
	border-collapse: collapse;
	margin: 0;
}

.single-product .variations tbody,
.single-product .variations tbody tr,
.single-product .variations tbody td {
	display: block;
	width: 100%;
}

.single-product .variations tbody td.label {
	display: none;
}

.single-product .variations tbody td.label label {
	font-size: 0.875rem;
	letter-spacing: 0.28em;
	text-transform: uppercase;
	color: hsl(var(--muted-foreground));
	font-family: var(--font-body);
	font-weight: 400;
}

.single-product .variations tbody td.value {
	padding: 0;
}

.single-product .variations tbody td.value .reset_variations {
	display: none;
}

.theme-attr-select-hidden {
	display: none !important;
}

.theme-attr-pills {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
}

.theme-attr-pill {
	min-width: 56px;
	padding: 0.625rem 1rem;
	font-size: 0.875rem;
	font-family: var(--font-body);
	letter-spacing: 0.05em;
	border: 1px solid hsl(var(--border));
	border-radius: 0.375rem;
	transition: all 0.2s var(--transition-smooth);
	color: hsl(var(--foreground));
	background-color: transparent;
}

.theme-attr-pill:hover {
	border-color: hsl(var(--foreground));
}

.theme-attr-pill.is-active {
	background-color: hsl(var(--foreground));
	color: hsl(var(--background));
	border-color: hsl(var(--foreground));
}

.theme-attr-pill.is-disabled {
	opacity: 0.35;
	cursor: not-allowed;
	text-decoration: line-through;
}

.single_variation_wrap {
	margin-top: 0.5rem;
}

.woocommerce-variation-price {
	margin-top: 1.5rem;
}

.woocommerce-variation-price .price {
	font-family: var(--font-body);
	font-size: 1.125rem;
	color: hsl(var(--foreground));
}

.woocommerce-variation-description p {
	font-family: var(--font-body);
	font-size: 0.875rem;
	color: hsl(var(--foreground) / 0.85);
	line-height: 1.7;
}

.woocommerce-variation-availability .stock {
	font-size: 0.875rem;
	font-family: var(--font-body);
	color: hsl(var(--muted-foreground));
}

/* --------------------------------------------------------------------------
   10. Shop filter: overlapping dual range slider
   -------------------------------------------------------------------------- */

.theme-price-range {
	display: flex;
	align-items: center;
	position: relative;
	height: 8px;
}

.range-track-bg,
.range-track-fill {
	position: absolute;
	height: 8px;
	top: 50%;
	transform: translateY(-50%);
	pointer-events: none;
	border-radius: 9999px;
}

.range-track-bg {
	left: 0;
	right: 0;
	background-color: hsl(var(--secondary));
}

.range-track-fill {
	background-color: 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-thumb {
	-webkit-appearance: none;
	appearance: none;
	height: 1.25rem;
	width: 1.25rem;
	border-radius: 9999px;
	border: 2px solid hsl(var(--primary));
	background-color: hsl(var(--background));
	cursor: pointer;
	pointer-events: auto;
	transition: box-shadow 0.2s linear;
}

.range-input::-moz-range-thumb {
	height: 1.25rem;
	width: 1.25rem;
	border-radius: 9999px;
	border: 2px solid hsl(var(--primary));
	background-color: hsl(var(--background));
	cursor: pointer;
	pointer-events: auto;
}

.range-input:focus-visible::-webkit-slider-thumb {
	box-shadow: 0 0 0 2px hsl(var(--ring));
}

.range-input--max {
	z-index: 3;
}

.range-input--min {
	z-index: 4;
}

/* Product page description list styling */
.theme-product-description p {
	margin-bottom: 1rem;
}

.theme-product-description p:last-child {
	margin-bottom: 0;
}

.theme-product-description ul {
	list-style: disc;
	padding-left: 1.25rem;
	margin-top: 1.5rem;
	display: flex;
	flex-direction: column;
	gap: 0.625rem;
}

.theme-product-description li {
	font-family: var(--font-body);
	font-size: 14px;
	color: hsl(var(--foreground) / 0.8);
	line-height: 1.6;
}

.theme-product-description li::marker {
	color: hsl(var(--primary));
}

.theme-price-code {
	font-size: 0.875rem;
	letter-spacing: 0.05em;
}

/* --------------------------------------------------------------------------
   11. WooCommerce notices (shop/archive, cart, account)
   -------------------------------------------------------------------------- */

.woocommerce-message,
.woocommerce-info,
.woocommerce-error {
	list-style: none;
	display: flex;
	flex-direction: column;
	gap: 0.5rem;
	margin: 0 0 1.5rem;
	padding: 1rem 1.25rem;
	font-family: var(--font-body);
	font-size: 0.875rem;
	line-height: 1.6;
	border: 1px solid hsl(var(--border));
	border-radius: 0.375rem;
	background-color: hsl(var(--secondary));
	color: hsl(var(--foreground));
}

.woocommerce-message {
	border-left: 3px solid hsl(var(--primary));
}

.woocommerce-error {
	border-left: 3px solid hsl(var(--destructive));
}

.woocommerce-info {
	border-left: 3px solid hsl(var(--muted-foreground));
}

.woocommerce-message .button,
.woocommerce-info .button {
	align-self: flex-start;
}

.single-product .woocommerce-message,
.single-product .woocommerce-info,
#theme-cart-drawer .woocommerce-message {
	display: none;
}

/* --------------------------------------------------------------------------
   12. Checkout block overrides
   -------------------------------------------------------------------------- */

body.woocommerce-checkout .site-main {
	padding-bottom: 4rem;
}

body.woocommerce-checkout .wc-block-checkout {
	display: block;
}

@media (min-width: 768px) {
	body.woocommerce-checkout .wc-block-components-sidebar-layout.wc-block-checkout.is-large {
		display: grid;
		grid-template-columns: 1fr 1fr;
		gap: 2rem;
		align-items: start;
	}
}

body.woocommerce-checkout .wc-block-checkout__main,
body.woocommerce-checkout .wc-block-checkout__sidebar {
	min-width: 0;
	width: 100%;
	max-width: none;
}

body.woocommerce-checkout .wc-block-components-notice-banner {
	grid-column: 1 / -1;
}

body.woocommerce-checkout .wc-block-checkout__sidebar {
	background-color: hsl(var(--secondary));
	border: 1px solid hsl(var(--border));
	border-radius: 0.375rem;
	padding: 1.5rem;
}

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-blocks-components-combobox .wc-block-components-text-input input {
	width: 100% !important;
	max-width: none !important;
	border: 1px solid hsl(var(--border)) !important;
	border-radius: 0.375rem !important;
	background-color: hsl(var(--background)) !important;
	color: hsl(var(--foreground)) !important;
	font-family: var(--font-body) !important;
	font-size: 0.875rem !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 {
	outline: none !important;
	border-color: hsl(var(--primary)) !important;
	box-shadow: 0 0 0 1px hsl(var(--primary)) !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,
body.woocommerce-checkout .wc-block-components-button {
	border-radius: 0.375rem !important;
	font-family: var(--font-body) !important;
	font-size: 0.875rem !important;
	letter-spacing: 0.1em;
	text-transform: uppercase;
}

body.woocommerce-checkout .wc-block-components-checkout-place-order-button {
	background-color: hsl(var(--primary)) !important;
	color: hsl(var(--primary-foreground)) !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-components-title,
body.woocommerce-checkout .wc-block-checkout__form .wc-block-components-checkout-step__title,
body.woocommerce-checkout .wc-block-components-order-summary__title,
body.woocommerce-checkout h2 {
	font-family: var(--font-display) !important;
	font-weight: 700 !important;
	color: hsl(var(--foreground)) !important;
}

body.woocommerce-checkout .wc-block-cart-items__row {
	border-color: hsl(var(--border));
}

body.woocommerce-checkout .wc-block-cart-item__image img {
	border-radius: 0.375rem;
}

body.woocommerce-checkout .wc-block-components-product-name,
body.woocommerce-checkout .wc-block-cart-item__product {
	font-family: var(--font-body) !important;
	font-size: 0.875rem !important;
	color: hsl(var(--foreground)) !important;
}

body.woocommerce-checkout .wc-block-components-notice-banner {
	border-radius: 0.375rem;
	font-family: var(--font-body);
}

/* --------------------------------------------------------------------------
   13. Cart / account / thank you width + alignment parity
   -------------------------------------------------------------------------- */

.page-title {
	font-family: var(--font-display);
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: -0.01em;
	font-size: 2rem;
	line-height: 1.15;
	color: hsl(var(--foreground));
	margin: 0 0 2rem;
}

@media (min-width: 768px) {
	.page-title {
		font-size: 2.5rem;
	}
}

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);
	font-weight: 700;
	text-transform: uppercase;
	font-size: 1.25rem;
	padding: 0 0 1rem;
	margin: 0 0 1rem;
	color: hsl(var(--foreground));
}

body.theme-thankyou-page .woocommerce-order-overview {
	list-style: none;
	display: grid;
	gap: 1rem;
	grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
	margin: 0 0 2rem;
	padding: 1.5rem;
	border: 1px solid hsl(var(--border));
	border-radius: 0.375rem;
	background-color: hsl(var(--secondary));
}

body.theme-thankyou-page .woocommerce-order-overview li {
	font-size: 0.875rem;
	border: 0;
	padding: 0;
	margin: 0;
	text-transform: none;
}

body.theme-thankyou-page .woocommerce-order-overview li strong {
	display: block;
	font-family: var(--font-body);
	font-size: 0.9375rem;
	margin-top: 0.25rem;
}

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;
	margin-bottom: 2rem;
}

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;
	font-weight: 600;
}

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;
}

body.theme-thankyou-page .woocommerce-customer-details address {
	max-width: 480px;
	font-style: normal;
	font-size: 0.875rem;
	line-height: 1.7;
	overflow-wrap: break-word;
}

body.theme-thankyou-page .woocommerce-order .woocommerce-thankyou-order-received {
	font-family: var(--font-display);
	font-size: 1.5rem;
	text-transform: uppercase;
	margin-bottom: 2rem;
}

/* Classic cart table, should a site use the shortcode */
body.woocommerce-cart .woocommerce table.shop_table {
	width: 100%;
	border-collapse: collapse;
	font-family: var(--font-body);
	font-size: 0.875rem;
}

body.woocommerce-cart .woocommerce table.shop_table th,
body.woocommerce-cart .woocommerce table.shop_table td {
	padding: 0.85rem 0.5rem;
	border-bottom: 1px solid hsl(var(--border));
	text-align: left;
}

body.woocommerce-cart .woocommerce table.shop_table tfoot td {
	text-align: right;
}

body.woocommerce-cart .woocommerce .cart-collaterals {
	max-width: 100%;
}

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;
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
}

body.woocommerce-account .woocommerce-MyAccount-navigation li a {
	display: inline-flex;
	align-items: center;
	height: 2.25rem;
	padding: 0 1rem;
	font-size: 0.875rem;
	letter-spacing: 0.22em;
	text-transform: uppercase;
	border: 1px solid hsl(var(--border));
	color: hsl(var(--foreground));
}

body.woocommerce-account .woocommerce-MyAccount-navigation li.is-active a,
body.woocommerce-account .woocommerce-MyAccount-navigation li a:hover {
	background-color: hsl(var(--foreground));
	color: hsl(var(--background));
	border-color: hsl(var(--foreground));
}

/* Generic WooCommerce form controls where no design equivalent exists */
.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,
.woocommerce-page form .form-row textarea {
	width: 100%;
	padding: 0.75rem 1rem;
	background-color: hsl(var(--background));
	border: 1px solid hsl(var(--border));
	border-radius: 0.375rem;
	font-family: var(--font-body);
	font-size: 0.875rem;
	color: hsl(var(--foreground));
}

.woocommerce form .form-row input.input-text:focus,
.woocommerce form .form-row textarea:focus,
.woocommerce form .form-row select:focus {
	outline: none;
	border-color: hsl(var(--primary));
	box-shadow: 0 0 0 1px hsl(var(--primary));
}

.woocommerce .woocommerce-button,
.woocommerce .button {
	font-family: var(--font-body);
}

/* --------------------------------------------------------------------------
   14. Contact modal
   -------------------------------------------------------------------------- */

.theme-modal {
	z-index: 80;
}

.theme-modal[data-state="closed"] {
	display: none;
}

.theme-modal__panel {
	max-height: 90vh;
	overflow-y: auto;
}

/* --------------------------------------------------------------------------
   15. Mobile menu behaviour
   -------------------------------------------------------------------------- */

.theme-mobile-panel {
	will-change: transform, opacity;
}

.theme-mobile-nav {
	list-style: none;
	margin: 0;
	padding: 0;
}

.theme-mobile-nav > li {
	margin: 0;
	padding: 0;
}

/* Same box model for anchors and buttons so spacing stays homogeneous */
.theme-mobile-nav__item {
	display: flex;
	align-items: center;
	width: 100%;
	min-height: 3.5rem;
	margin: 0;
	padding: 1.15rem 0.85rem;
	border: 0;
	background: transparent;
	box-sizing: border-box;
	text-align: left;
	font-family: var(--font-body);
	font-size: 1rem;
	font-weight: 400;
	line-height: 1.4;
	letter-spacing: 0.28em;
	text-transform: uppercase;
	text-decoration: none;
	color: hsl(var(--foreground));
	transition: color 0.2s linear;
	cursor: pointer;
	appearance: none;
	-webkit-appearance: none;
}

.theme-mobile-nav__item:hover {
	color: hsl(var(--primary));
}

/* --------------------------------------------------------------------------
   16. Screen-reader-only headings and misc
   -------------------------------------------------------------------------- */

.theme-required-note {
	font-size: 0.875rem;
	color: hsl(var(--destructive));
	font-family: var(--font-body);
}

/* Product grid alignment inside every context */
.theme-product-grid {
	align-items: stretch;
}

.theme-product-grid > * {
	min-width: 0;
}

/* Keep long product titles inside their cell */
.theme-product-title {
	min-width: 0;
}
