/*
 * Harrison Nutrition — theme styles.
 *
 * Only markup without a source equivalent (WooCommerce/WordPress output) and
 * functional rules live here. All source elements are styled by app.css.
 */

/* ------------------------------------------------------------------
 * Functional base
 * ------------------------------------------------------------------ */
[hidden] {
	display: none !important;
}

body.cart-open,
body.theme-modal-open {
	overflow: hidden;
}

.screen-reader-text {
	position: absolute !important;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

/* Logged-in preview: offset sticky header and full-height panels below the admin bar. */
body.admin-bar .site-header {
	top: 32px;
}

body.admin-bar #theme-cart-drawer {
	top: 32px;
	height: calc(100% - 32px);
}

@media screen and (max-width: 782px) {
	body.admin-bar .site-header {
		top: 46px;
	}

	body.admin-bar #theme-cart-drawer {
		top: 46px;
		height: calc(100% - 46px);
	}
}

/* Clickable controls should show a pointer cursor (matches the React source). */
:where(
	a[href],
	button:not(:disabled),
	summary,
	[role="button"]:not([aria-disabled="true"]),
	label[for],
	select,
	.btn-primary-workshop,
	.btn-ghost-workshop,
	.link-underline,
	.theme-nav-list a,
	[data-cart-open],
	[data-cart-close],
	[data-contact-open],
	[data-mobile-menu-toggle],
	[data-theme-nav],
	[data-theme-nav-mobile],
	.theme-product-card > .theme-card-link,
	.theme-product-card .add_to_cart_button,
	[data-attr-pills] button,
	[data-shop-filter],
	[data-shop-view-all],
	[data-shop-show-less]
) {
	cursor: pointer;
}

/* The design's CTAs are <button> elements (which centre their label); the
   theme renders anchors so the same computed alignment is restored. */
.btn-primary-workshop,
.btn-ghost-workshop {
	text-align: center;
}

/* `is-solid` is a state hook only: main.js swaps the design's own class
   sets (bg-background/95 + backdrop-blur-md + border + shadow-soft). */

/* Site logo: one definition, consistent across every page type. */
.site-logo-img {
	height: var(--logo-height, 57px) !important;
	width: auto !important;
	display: block;
}

/* The header logo is 47px below the md breakpoint and 57px above it in the
   design — both derive from the editable logo height. */
.site-logo-img--header {
	height: calc(var(--logo-height, 57px) * 0.8245) !important;
}

@media (min-width: 768px) {
	.site-logo-img--header {
		height: var(--logo-height, 57px) !important;
	}
}

.site-logo-text {
	line-height: var(--logo-height, 57px);
	display: block;
}

/* A logo link must not add inline line-box space around the image. */
.site-logo-link--solo {
	display: block;
	line-height: 0;
	font-size: 0;
}

/* ------------------------------------------------------------------
 * Reveal animations (framer-motion equivalents)
 * ------------------------------------------------------------------ */
.theme-reveal {
	will-change: opacity, transform;
}

@media (scripting: enabled) {
	.theme-reveal--fade {
		opacity: 0;
	}

	.theme-reveal--up,
	.theme-reveal--up-md,
	.theme-reveal--up-sm,
	.theme-reveal--tile {
		opacity: 0;
		transform: translateY(28px);
	}

	.theme-reveal--up-md {
		transform: translateY(20px);
	}

	.theme-reveal--up-sm {
		transform: translateY(14px);
	}

	.theme-reveal--tile {
		transform: translateY(16px);
	}
}

.theme-reveal {
	transition-property: opacity, transform;
	transition-duration: 700ms;
	transition-timing-function: cubic-bezier(0.25, 0.4, 0.25, 1);
}

.theme-reveal.is-visible,
.theme-reveal-instant {
	opacity: 1 !important;
	transform: none !important;
}

body.is-customizer .theme-reveal {
	opacity: 1 !important;
	transform: none !important;
}

@media (prefers-reduced-motion: reduce) {
	.theme-reveal {
		opacity: 1 !important;
		transform: none !important;
		transition: none !important;
	}
}

/* ------------------------------------------------------------------
 * Hero / section helpers that came from inline styles in the source
 * ------------------------------------------------------------------ */
.theme-aspect-4-3 {
	aspect-ratio: 4 / 3;
}

.theme-contact-overlay {
	background: rgba(9, 9, 9, 0.65);
	pointer-events: none;
}

/* ------------------------------------------------------------------
 * Header mobile menu (hidden attribute driven, matching animate-fade-in)
 * ------------------------------------------------------------------ */
@keyframes themeFadeIn {
	from {
		opacity: 0;
	}

	to {
		opacity: 1;
	}
}

/* ------------------------------------------------------------------
 * Product cards
 * ------------------------------------------------------------------ */
.theme-product-card {
	position: relative;
	display: block;
	height: 100%;
}

/* Pattern A: the whole card is the click target (matches the design).
   The image panel lifts on hover (a transform = stacking context), so it sits
   above the overlay link with pointer-events disabled; its own add-to-cart
   control re-enables pointer events, which keeps it clickable. */
.theme-product-card > .theme-card-link {
	position: absolute;
	inset: 0;
	z-index: 1;
	display: block;
	pointer-events: auto;
}

.theme-product-card__media {
	position: relative;
	z-index: 2;
	overflow: hidden;
	pointer-events: none;
	transition: transform 300ms cubic-bezier(0.22, 1, 0.36, 1);
}

.theme-product-card:hover .theme-product-card__media {
	transform: translateY(-4px);
}

.theme-product-card__media img {
	transition: transform 800ms cubic-bezier(0.25, 0.4, 0.25, 1), filter 300ms ease;
}

.theme-product-card:hover .theme-product-card__media img {
	transform: scale(1.05);
}

@media (prefers-reduced-motion: reduce) {
	.theme-product-card:hover .theme-product-card__media,
	.theme-product-card:hover .theme-product-card__media img {
		transform: none;
	}
}

.theme-product-card__info {
	min-width: 0;
}

.theme-product-card .add_to_cart_button {
	position: absolute;
	z-index: 3;
	pointer-events: auto;
	top: auto;
	bottom: 1rem;
	right: 1rem;
	transition: transform 300ms cubic-bezier(0.25, 0.4, 0.25, 1), background-color 300ms ease, opacity 300ms ease;
}

.theme-product-card .add_to_cart_button:hover {
	transform: scale(1.08);
}

.theme-product-card .add_to_cart_button:active {
	transform: scale(0.94);
}

/* Grid children must all stretch so rows line up in every context. */
.theme-product-grid-item,
[data-shop-item],
.related-products-section .theme-product-card,
[data-shop-grid] > * {
	height: 100%;
}

.theme-product-grid-item,
[data-shop-item] {
	display: block;
}

/* ------------------------------------------------------------------
 * Add-to-cart controls (WooCommerce output without a source equivalent)
 * ------------------------------------------------------------------ */
.single_add_to_cart_button.button:disabled,
.single_add_to_cart_button.button.disabled,
.add_to_cart_button.button:disabled,
.add_to_cart_button.button.disabled {
	cursor: not-allowed !important;
	opacity: 0.4 !important;
	pointer-events: none !important;
}

.single_add_to_cart_button.button:disabled:hover,
.single_add_to_cart_button.button.disabled:hover,
.add_to_cart_button.button:disabled:hover,
.add_to_cart_button.button.disabled:hover {
	opacity: 0.4 !important;
}

/* WooCommerce's injected "View cart" link is not part of the design. */
.woocommerce-page a.added_to_cart.wc-forward,
.single-product a.added_to_cart.wc-forward,
body a.added_to_cart.wc-forward {
	display: none !important;
}

/* WooCommerce's own spinner is replaced by the theme's loading state. */
.single-product .single_add_to_cart_button.loading::after,
.ajax_add_to_cart.loading::after {
	display: none !important;
}

.ajax_add_to_cart.theme-btn-loading {
	opacity: 0.6 !important;
	pointer-events: none !important;
	cursor: wait !important;
}

/* Quantity inputs: no native spinners (the design uses +/- buttons). */
input.theme-qty-input::-webkit-outer-spin-button,
input.theme-qty-input::-webkit-inner-spin-button {
	-webkit-appearance: none;
	margin: 0;
}

input.theme-qty-input {
	-moz-appearance: textfield;
	appearance: textfield;
}

/* ------------------------------------------------------------------
 * Cart drawer
 * ------------------------------------------------------------------ */
#theme-cart-overlay {
	position: fixed;
	inset: 0;
	z-index: 60;
	background-color: hsl(var(--background) / 0.7);
	-webkit-backdrop-filter: blur(2px);
	backdrop-filter: blur(2px);
	opacity: 0;
	visibility: hidden;
	transition: opacity 300ms ease, visibility 300ms ease;
}

body.cart-open #theme-cart-overlay {
	opacity: 1;
	visibility: visible;
}

#theme-cart-drawer {
	transform: translateX(100%);
	transition: transform 320ms cubic-bezier(0.25, 0.4, 0.25, 1);
	will-change: transform;
}

body.cart-open #theme-cart-drawer {
	transform: translateX(0);
}

#theme-cart-drawer.is-updating > * {
	opacity: 0.6;
	pointer-events: none;
}

.theme-cart-count:empty {
	display: none;
}

/* ------------------------------------------------------------------
 * Contact modal (Radix dialog equivalents)
 * ------------------------------------------------------------------ */
@keyframes themeDialogIn {
	from {
		opacity: 0;
		transform: translate(-50%, -50%) scale(0.95);
	}

	to {
		opacity: 1;
		transform: translate(-50%, -50%) scale(1);
	}
}

@keyframes themeOverlayIn {
	from {
		opacity: 0;
	}

	to {
		opacity: 1;
	}
}

[data-contact-modal] [data-contact-dialog].theme-dialog-in {
	animation: themeDialogIn 200ms cubic-bezier(0.25, 0.4, 0.25, 1) forwards;
}

[data-contact-modal] [data-contact-overlay] {
	animation: themeOverlayIn 200ms ease forwards;
}

[data-contact-modal] [data-contact-form][hidden] + [data-contact-success] {
	animation: themeFadeIn 400ms ease forwards;
}

@media (prefers-reduced-motion: reduce) {
	[data-contact-modal] [data-contact-dialog].theme-dialog-in,
	[data-contact-modal] [data-contact-overlay] {
		animation: none;
	}
}

/* ------------------------------------------------------------------
 * Price range filter (dual overlapping handles)
 * ------------------------------------------------------------------ */
.price-range-wrapper {
	position: relative;
	height: 1.5rem;
}

.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: hsl(var(--secondary));
}

.range-track-fill {
	background: hsl(var(--primary));
}

.range-input {
	position: absolute;
	left: 0;
	top: 0;
	width: 100%;
	height: 100%;
	margin: 0;
	-webkit-appearance: none;
	appearance: none;
	background: transparent;
	pointer-events: none;
}

.range-input::-webkit-slider-runnable-track {
	background: transparent;
	height: 100%;
	border: none;
}

.range-input::-moz-range-track {
	background: transparent;
	height: 100%;
	border: none;
}

.range-input::-webkit-slider-thumb {
	-webkit-appearance: none;
	appearance: none;
	pointer-events: auto;
	width: 1.25rem;
	height: 1.25rem;
	margin-top: 0.0625rem;
	border-radius: 9999px;
	border: 2px solid hsl(var(--primary));
	background: hsl(var(--background));
	box-shadow: 0 0 0 0 transparent;
	cursor: pointer;
	transition: box-shadow 150ms ease;
}

.range-input::-moz-range-thumb {
	pointer-events: auto;
	width: 1.25rem;
	height: 1.25rem;
	border-radius: 9999px;
	border: 2px solid hsl(var(--primary));
	background: hsl(var(--background));
	cursor: pointer;
}

.range-input:focus-visible::-webkit-slider-thumb {
	box-shadow: 0 0 0 2px hsl(var(--background)), 0 0 0 4px hsl(var(--ring));
}

.range-input:focus-visible::-moz-range-thumb {
	box-shadow: 0 0 0 2px hsl(var(--background)), 0 0 0 4px hsl(var(--ring));
}

.range-input--max {
	z-index: 3;
}

.range-input--min {
	z-index: 4;
}

/* ------------------------------------------------------------------
 * Product page variations
 * ------------------------------------------------------------------ */
.theme-attr-select-hidden {
	display: none !important;
}

/* Custom attribute pills (no source equivalent for WooCommerce selects). */
[data-attr-pills] button.is-selected {
	border-color: hsl(var(--accent));
	color: hsl(var(--accent));
}

.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;
}

.single-product .variations tbody td.value {
	padding: 0;
}

.single-product .variations .label h3 {
	margin-bottom: 0.75rem;
}

.single-product .variations {
	width: 100%;
	border-collapse: collapse;
}

.single-product .reset_variations {
	display: inline-block;
	margin-top: 0.5rem;
}

.single-product .woocommerce-variation-price {
	margin-bottom: 1rem;
}

.single-product .woocommerce-variation-price .price {
	font-family: var(--font-display);
	font-size: 1.5rem;
	font-weight: 600;
	color: hsl(var(--foreground));
}

.single-product .woocommerce-variation-availability .stock {
	display: inline-block;
	font-size: 10px;
	letter-spacing: 0.24em;
	text-transform: uppercase;
	color: hsl(var(--muted-foreground));
	margin-bottom: 0.75rem;
}

.single-product .woocommerce-variation-description p {
	color: hsl(var(--foreground) / 0.75);
	font-family: var(--font-body);
	line-height: 1.7;
	margin-bottom: 1rem;
}

.single-product .theme-add-to-cart-area {
	display: flex;
	flex-direction: column;
	align-items: stretch;
	gap: 0.75rem;
}

.single-product .theme-product-gallery,
.single-product .theme-product-info,
.single-product .theme-product-layout {
	min-width: 0;
	max-width: 100%;
}

.single-product .theme-product-thumbnails {
	flex-wrap: wrap;
	max-width: 100%;
}

.single-product .single_add_to_cart_button {
	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;
}

.single-product #product-main-img,
.single-product #product-main-img-desktop {
	transition: opacity 300ms ease;
}

/* Notices on the single product page are redundant with the cart drawer. */
.single-product .woocommerce-message,
.single-product .woocommerce-info {
	display: none;
}

#theme-cart-drawer .woocommerce-message {
	display: none;
}

/* ------------------------------------------------------------------
 * WooCommerce notices (styled to the design system, never hidden globally)
 * ------------------------------------------------------------------ */
.woocommerce-notices-wrapper {
	max-width: 100%;
}

.woocommerce-error,
.woocommerce-message,
.woocommerce-info,
.wc-block-components-notice-banner {
	list-style: none;
	margin: 0 0 1.5rem;
	padding: 1rem 1.25rem;
	border: 1px solid hsl(var(--border));
	border-left: 2px solid hsl(var(--accent));
	background-color: hsl(var(--card));
	color: hsl(var(--foreground));
	font-family: var(--font-body);
	font-size: 0.875rem;
	line-height: 1.6;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.75rem;
}

.woocommerce-error {
	border-left-color: hsl(var(--destructive));
}

.woocommerce-error li {
	margin: 0;
}

.woocommerce-message .button,
.woocommerce-info .button,
.woocommerce-error .button {
	margin-left: auto;
	font-family: var(--font-display);
	font-size: 11px;
	letter-spacing: 0.24em;
	text-transform: uppercase;
	padding: 0.5rem 1rem;
	background-color: hsl(var(--primary));
	color: hsl(var(--primary-foreground));
	border: 0;
}

/* ------------------------------------------------------------------
 * WooCommerce archive / generic blocks
 * ------------------------------------------------------------------ */
.woocommerce-pagination ul {
	display: flex;
	gap: 0.5rem;
	justify-content: center;
	list-style: none;
	padding: 0;
	margin: 2.5rem 0 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));
	font-family: var(--font-display);
	font-size: 0.8rem;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: hsl(var(--foreground) / 0.8);
	text-decoration: none;
}

.woocommerce-pagination ul li span.current,
.woocommerce-pagination ul li a:hover {
	background-color: hsl(var(--primary));
	border-color: hsl(var(--primary));
	color: hsl(var(--primary-foreground));
}

/* Price markup inside cards (WooCommerce <del>/<ins>). */
.woocommerce-Price-amount {
	font-variant-numeric: tabular-nums;
}

.theme-product-card .price del,
.single-product .price del {
	color: hsl(var(--muted-foreground));
	font-size: 0.75em;
	font-weight: 400;
	margin-right: 0.4em;
}

.theme-product-card .price ins,
.single-product .price ins {
	text-decoration: none;
}

/* ------------------------------------------------------------------
 * Pages: title shares the site container
 * ------------------------------------------------------------------ */
.page-title {
	max-width: 100%;
	padding: 2.5rem 0 1.5rem;
}

@media (min-width: 768px) {
	.page-title {
		padding: 3.5rem 0 1.5rem;
	}
}

.page-title + .entry-content {
	padding-bottom: 5rem;
}

@media (min-width: 768px) {
	.page-title + .entry-content {
		padding-bottom: 7rem;
	}
}

/* Number inputs keep the design's box look (no native spinners/arrows). */
input.theme-qty-input {
	-webkit-appearance: none;
	appearance: none;
}

/* PDP quantity stepper — compact control (simple + variable products). */
.single-product .theme-quantity-wrapper button,
.single-product form.cart button[data-qty-minus],
.single-product form.cart button[data-qty-plus] {
	padding: 0.5rem 0.625rem;
}

.single-product .theme-quantity-wrapper .theme-qty-minus svg,
.single-product .theme-quantity-wrapper .theme-qty-plus svg,
.single-product form.cart button[data-qty-minus] svg,
.single-product form.cart button[data-qty-plus] svg {
	width: 0.75rem;
	height: 0.75rem;
}

.single-product input.theme-qty-input {
	padding: 0.5rem 0.75rem;
	min-width: 2.5rem;
	width: 2.5rem;
	font-size: 0.75rem;
	line-height: 1rem;
}

body.woocommerce-checkout .wc-block-checkout,
body.woocommerce-cart .wc-block-cart,
body.woocommerce-account .woocommerce {
	max-width: 100%;
}

/* Header is sticky (takes layout space), so no extra top offset is needed. */
body.woocommerce-checkout .site-main,
body.woocommerce-cart .site-main,
body.woocommerce-account .site-main {
	padding-bottom: 4rem;
}

/* ------------------------------------------------------------------
 * Checkout block overrides (scoped to the checkout page)
 * ------------------------------------------------------------------ */
body.woocommerce-checkout .entry-content {
	max-width: 100%;
}

body.woocommerce-checkout .wc-block-checkout {
	display: block;
	grid-template-columns: none;
	margin: 0;
	padding: 0;
	color: hsl(var(--foreground));
	font-family: var(--font-body);
}

/* One grid owner only: the sidebar-layout container that directly holds
   __main and __sidebar. The outer .wc-block-checkout stays a block. */
@media (min-width: 768px) {
	body.woocommerce-checkout .wc-block-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;
	}
}

/* If a WooCommerce version renders __main/__sidebar directly inside
   .wc-block-checkout (no sidebar-layout wrapper), that element owns the grid
   instead — :has() keeps exactly one grid owner either way. */
@supports selector(:has(*)) {
	@media (min-width: 768px) {
		body.woocommerce-checkout .wc-block-checkout:has(> .wc-block-checkout__main) {
			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-checkout__sidebar {
	background-color: hsl(var(--card));
	border: 1px solid hsl(var(--border));
	border-radius: var(--radius);
	padding: 1.75rem;
	box-shadow: var(--shadow-soft);
}

body.woocommerce-checkout .wc-block-components-notice-banner,
body.woocommerce-checkout .wc-block-components-notices {
	grid-column: 1 / -1;
}

/* Payment / checkout notices: WC blocks often use a light banner; theme foreground is light-on-dark elsewhere. */
body.woocommerce-checkout .wc-block-components-notice-banner,
body.woocommerce-checkout .wc-block-components-notice-banner__content,
body.woocommerce-checkout .wc-block-components-notice-banner__summary,
body.woocommerce-checkout .woocommerce-error,
body.woocommerce-checkout .woocommerce-info,
body.woocommerce-checkout .woocommerce-message,
body.woocommerce-checkout .woocommerce-error li {
	color: #000 !important;
}

body.woocommerce-checkout .wc-block-components-notice-banner a,
body.woocommerce-checkout .woocommerce-error a,
body.woocommerce-checkout .woocommerce-info a {
	color: #000 !important;
	text-decoration: underline;
}

body.woocommerce-checkout .wc-block-components-notice-banner.is-error,
body.woocommerce-checkout .wc-block-components-notice-banner.is-info,
body.woocommerce-checkout .wc-block-components-notice-banner.is-warning {
	background-color: #fff !important;
	border-color: hsl(var(--border)) !important;
}

body.woocommerce-checkout h2,
body.woocommerce-checkout h3,
body.woocommerce-checkout .wc-block-components-title,
body.woocommerce-checkout .wc-block-checkout__sidebar .wc-block-components-title {
	font-family: var(--font-display);
	text-transform: uppercase;
	letter-spacing: 0.02em;
	color: hsl(var(--foreground));
}

body.woocommerce-checkout .wc-block-components-checkout-step__title,
body.woocommerce-checkout .wc-block-components-checkout-step__heading {
	font-family: var(--font-display);
	letter-spacing: 0.02em;
	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 {
	width: 100% !important;
	max-width: none !important;
	background-color: hsl(var(--background)) !important;
	border: 1px solid hsl(var(--border)) !important;
	border-radius: 0 !important;
	color: hsl(var(--foreground)) !important;
	font-family: var(--font-body) !important;
	font-size: 1rem !important;
	box-shadow: none !important;
	outline: 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(--foreground)) !important;
	box-shadow: 0 0 0 2px hsl(var(--accent) / 0.3) !important;
	outline: none !important;
}

body.woocommerce-checkout .wc-block-components-text-input label,
body.woocommerce-checkout .wc-block-components-select label,
body.woocommerce-checkout .wc-block-components-checkbox__label,
body.woocommerce-checkout .wc-block-components-radio-control__label,
body.woocommerce-checkout .wc-block-components-textarea label {
	color: hsl(var(--foreground) / 0.8) !important;
	font-family: var(--font-display) !important;
	font-size: 10px !important;
	letter-spacing: 0.28em !important;
	text-transform: uppercase !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) / 0.7) !important;
}

body.woocommerce-checkout .wc-block-components-checkout-place-order-button,
body.woocommerce-checkout .wc-block-components-button:not(.is-link) {
	background-color: hsl(var(--accent)) !important;
	color: hsl(var(--accent-foreground)) !important;
	border: 0 !important;
	border-radius: 0 !important;
	font-family: var(--font-display) !important;
	font-size: 11px !important;
	letter-spacing: 0.24em !important;
	text-transform: uppercase !important;
	font-weight: 500 !important;
	padding: 1rem 2rem !important;
	transition: background-color 200ms ease, transform 200ms ease !important;
}

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(--foreground)) !important;
	color: hsl(var(--background)) !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-product-name,
body.woocommerce-checkout .wc-block-components-order-summary-item__description .wc-block-components-product-name {
	font-family: var(--font-display) !important;
	text-transform: uppercase;
	letter-spacing: 0.04em;
	color: hsl(var(--foreground)) !important;
}

body.woocommerce-checkout .wc-block-components-totals-item__label,
body.woocommerce-checkout .wc-block-components-totals-item__value {
	font-family: var(--font-body);
	color: hsl(var(--foreground)) !important;
}

body.woocommerce-checkout .wc-block-components-totals-footer-item .wc-block-components-totals-item__value {
	font-family: var(--font-display) !important;
	font-size: 1.5rem !important;
	font-weight: 600 !important;
}

body.woocommerce-checkout .wc-block-components-panel__button,
body.woocommerce-checkout .wc-block-components-totals-coupon-link {
	font-family: var(--font-display);
	text-transform: uppercase;
	letter-spacing: 0.24em;
	font-size: 10px;
	color: hsl(var(--muted-foreground));
}

body.woocommerce-checkout .wc-block-components-sidebar .wc-block-checkout__sidebar,
body.woocommerce-checkout .wc-block-checkout__sidebar .wc-block-components-sidebar {
	background-color: transparent;
}

body.woocommerce-checkout .wc-block-components-order-summary-item__image img {
	border: 1px solid hsl(var(--border));
	border-radius: 0;
}

/* Classic checkout/cart fallbacks (plugins may still render these). */
body.woocommerce-checkout .woocommerce-checkout .form-row .input-text,
body.woocommerce-checkout .woocommerce-checkout .form-row select,
.woocommerce-checkout .form-row .input-text,
.woocommerce-checkout .form-row select {
	width: 100%;
	background-color: hsl(var(--background));
	border: 1px solid hsl(var(--border));
	border-radius: 0;
	color: hsl(var(--foreground));
	font-family: var(--font-body);
	font-size: 1rem;
	padding: 0.75rem 1rem;
}

/* ------------------------------------------------------------------
 * Cart block (WooCommerce Blocks cart page)
 * ------------------------------------------------------------------ */
body.woocommerce-cart .wc-block-cart__main,
body.woocommerce-cart .wc-block-cart__sidebar {
	min-width: 0;
}

body.woocommerce-cart .wc-block-cart__submit-button {
	background-color: hsl(var(--accent)) !important;
	color: hsl(var(--accent-foreground)) !important;
	border: 0 !important;
	border-radius: 0 !important;
	font-family: var(--font-display) !important;
	letter-spacing: 0.24em !important;
	text-transform: uppercase !important;
	font-size: 11px !important;
}

/* ------------------------------------------------------------------
 * Order received (thank you) page
 * ------------------------------------------------------------------ */
body.theme-thankyou-page {
	overflow-x: hidden;
}

body.theme-thankyou-page .entry-content > .woocommerce,
body.theme-thankyou-page .woocommerce-order {
	font-family: var(--font-body);
	color: hsl(var(--foreground));
}

body.theme-thankyou-page .woocommerce-order > p,
body.theme-thankyou-page .woocommerce-thankyou-order-received,
body.theme-thankyou-page .woocommerce-notice--success {
	font-family: var(--font-body);
	color: hsl(var(--foreground) / 0.8);
	line-height: 1.7;
	margin-bottom: 1.5rem;
}

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;
	letter-spacing: 0.02em;
	font-size: 1.35rem;
	line-height: 1.2;
	padding: 0 0 1rem;
	color: hsl(var(--foreground));
}

body.theme-thankyou-page .woocommerce-order-overview {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
	gap: 1rem;
	list-style: none;
	margin: 0 0 2.5rem;
	padding: 1.5rem;
	border: 1px solid hsl(var(--border));
	background-color: hsl(var(--card));
	font-family: var(--font-body);
	font-size: 0.75rem;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	color: hsl(var(--muted-foreground));
}

body.theme-thankyou-page .woocommerce-order-overview li {
	border: 0;
	margin: 0;
	padding: 0;
	float: none;
}

body.theme-thankyou-page .woocommerce-order-overview li strong {
	display: block;
	margin-top: 0.35rem;
	font-family: var(--font-display);
	font-size: 1rem;
	letter-spacing: 0.04em;
	text-transform: none;
	color: hsl(var(--foreground));
}

body.theme-thankyou-page .woocommerce-order-details,
body.theme-thankyou-page .woocommerce-customer-details {
	margin-bottom: 2.5rem;
}

body.theme-thankyou-page .woocommerce-order-details table {
	width: 100%;
	table-layout: fixed;
	border-collapse: collapse;
	font-family: var(--font-body);
	font-size: 0.9rem;
	color: hsl(var(--foreground) / 0.85);
}

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;
	vertical-align: top;
	overflow-wrap: break-word;
}

body.theme-thankyou-page .woocommerce-order-details tfoot th {
	text-align: left;
	font-family: var(--font-display);
	letter-spacing: 0.06em;
}

body.theme-thankyou-page .woocommerce-order-details tfoot td {
	text-align: right;
	font-variant-numeric: tabular-nums;
}

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;
	overflow-wrap: break-word;
	border: 1px solid hsl(var(--border));
	background-color: hsl(var(--card));
	padding: 1.25rem;
	font-family: var(--font-body);
	font-style: normal;
	line-height: 1.7;
	color: hsl(var(--foreground) / 0.85);
}

/* ------------------------------------------------------------------
 * Account page
 * ------------------------------------------------------------------ */
.woocommerce-account .woocommerce-MyAccount-navigation ul {
	list-style: none;
	padding: 0;
	margin: 0 0 2rem;
	border-top: 1px solid hsl(var(--border));
}

.woocommerce-account .woocommerce-MyAccount-navigation ul li a {
	display: block;
	padding: 0.85rem 0;
	border-bottom: 1px solid hsl(var(--border));
	font-family: var(--font-display);
	font-size: 11px;
	letter-spacing: 0.24em;
	text-transform: uppercase;
	color: hsl(var(--foreground) / 0.8);
	text-decoration: none;
}

.woocommerce-account .woocommerce-MyAccount-navigation ul li.is-active a,
.woocommerce-account .woocommerce-MyAccount-navigation ul li a:hover {
	color: hsl(var(--accent));
}
