/* ==========================================================================
   Faith Forge Co. — functional styles
   app.css carries the source design system. This file adds only rules for
   markup that has no source equivalent (WooCommerce/WordPress output) plus
   the functional states the JavaScript toggles.
   ========================================================================== */

[hidden] {
	display: none !important;
}

/* --------------------------------------------------------------------------
   Header state (transparent over the hero, solid once scrolled / inner pages)
   -------------------------------------------------------------------------- */
.site-header.is-solid {
	background-color: hsl(var(--background) / 0.95);
	-webkit-backdrop-filter: blur(12px);
	backdrop-filter: blur(12px);
	border-bottom-color: hsl(var(--border));
}

/* --------------------------------------------------------------------------
   Scroll reveal — mirrors the source framer-motion fadeUp variant
   (opacity 0 -> 1, translateY 20px -> 0, 0.6s, 0.07s stagger)
   -------------------------------------------------------------------------- */
.reveal-item {
	opacity: 0;
	transform: translateY(20px);
	transition: opacity 0.6s cubic-bezier(0.25, 0.4, 0.25, 1), transform 0.6s cubic-bezier(0.25, 0.4, 0.25, 1);
	will-change: opacity, transform;
}

.reveal-item.is-visible {
	opacity: 1;
	transform: none;
}

/* Fallbacks: Customizer preview, no-JS and reduced motion never hide content. */
body.is-customizer .reveal-item,
.no-js .reveal-item {
	opacity: 1 !important;
	transform: none !important;
}

@media (prefers-reduced-motion: reduce) {
	.reveal-item {
		opacity: 1 !important;
		transform: none !important;
		transition: none !important;
	}
}

/* Hero entrance (source: framer-motion initial/animate on load) */
.animate-fade-in-soft {
	animation: themeFadeUp 0.8s cubic-bezier(0.25, 0.4, 0.25, 1) both;
}
.animate-fade-in-soft-delayed {
	animation: themeFadeUp 0.7s cubic-bezier(0.25, 0.4, 0.25, 1) 0.2s both;
}
.animate-fade-in-soft-late {
	animation: themeFadeUp 0.7s cubic-bezier(0.25, 0.4, 0.25, 1) 0.35s both;
}
@keyframes themeFadeUp {
	from {
		opacity: 0;
		transform: translateY(20px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

/* --------------------------------------------------------------------------
   Product grid / cards
   -------------------------------------------------------------------------- */
.theme-product-card-wrap {
	display: flex;
	flex-direction: column;
	height: 100%;
	min-width: 0;
	position: relative;
}

.theme-product-card-wrap > .group {
	display: flex;
	flex-direction: column;
	height: 100%;
}

.theme-product-card-wrap > .group > .relative {
	flex: 0 0 auto;
}

/* The product link sits behind the card. The card face ignores pointer
   events so the link receives them, except the quick-add control, which
   stays above the link and keeps its own clicks. */
.theme-card-link {
	position: absolute;
	inset: 0;
	z-index: 1;
}

.theme-card-face {
	position: relative;
	z-index: 2;
	pointer-events: none;
}

.theme-quick-add {
	z-index: 3;
	pointer-events: auto;
}

.theme-quick-add * {
	pointer-events: none;
}

.theme-product-card-wrap:hover .theme-card-face img {
	transform: scale(1.05);
}

.theme-product-card-wrap:hover .theme-card-face h3 {
	color: hsl(var(--accent));
}

/* Quick-add only on hover from md up, exactly like the source card.
   While it is hidden it must not steal the product-page click. */
@media (min-width: 768px) {
	.theme-quick-add {
		opacity: 0;
		pointer-events: none;
	}
	.theme-product-card-wrap:hover .theme-quick-add,
	.theme-quick-add:focus-visible {
		opacity: 1;
		pointer-events: auto;
	}
}

/* --------------------------------------------------------------------------
   Quantity + add to cart rows
   -------------------------------------------------------------------------- */
/* Source layout: quantity block stacked above a full-width CTA. */
.theme-add-to-cart-area {
	display: block;
}

.single-product .theme-add-to-cart-area {
	display: block;
}

.theme-qty-block {
	margin-bottom: 1.25rem;
}

.theme-quantity-wrapper {
	display: inline-flex;
	align-items: center;
	border: 1px solid hsl(var(--border));
	background: hsl(var(--background));
}

.theme-quantity-wrapper .theme-qty-btn {
	padding: 0.75rem 1rem;
	transition: background-color 0.2s ease;
}

.theme-quantity-wrapper .theme-qty-btn:hover {
	background: hsl(var(--card));
}

.theme-quantity-wrapper .theme-qty-input {
	width: 3.25rem;
	min-width: 3.25rem;
	padding: 0.75rem 0;
	border: 0;
	border-left: 1px solid hsl(var(--border));
	border-right: 1px solid hsl(var(--border));
	background: transparent;
	text-align: center;
	font-family: var(--font-display);
	font-size: 0.875rem;
	-moz-appearance: textfield;
	appearance: textfield;
}

.theme-quantity-wrapper .theme-qty-input::-webkit-outer-spin-button,
.theme-quantity-wrapper .theme-qty-input::-webkit-inner-spin-button {
	-webkit-appearance: none;
	margin: 0;
}

/* Add-to-cart disabled / locked states */
/* Disabled / not-yet-selectable buttons: non-interactive, at the source's
   disabled opacity so the resting state matches the design. */
.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.6 !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.6 !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 appends a “View cart” link after AJAX adds — not in 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;
}

/* --------------------------------------------------------------------------
   Price range (dual overlapping handles)
   -------------------------------------------------------------------------- */
.price-range-wrapper {
	position: relative;
	height: 1.5rem;
}

.range-track-bg,
.range-track-fill {
	position: absolute;
	height: 4px;
	top: 50%;
	transform: translateY(-50%);
	pointer-events: none;
	border-radius: 9999px;
}

.range-track-bg {
	left: 0;
	right: 0;
	background: hsl(var(--border));
}

.range-track-fill {
	background: hsl(var(--primary));
}

.range-input {
	position: absolute;
	left: 0;
	top: 0;
	width: 100%;
	height: 100%;
	margin: 0;
	background: transparent;
	-webkit-appearance: none;
	appearance: none;
	pointer-events: none;
}

.range-input::-webkit-slider-runnable-track {
	background: transparent;
	border: 0;
	height: 100%;
}

.range-input::-moz-range-track {
	background: transparent;
	border: 0;
	height: 100%;
}

.range-input::-webkit-slider-thumb {
	-webkit-appearance: none;
	appearance: none;
	pointer-events: auto;
	width: 1.25rem;
	height: 1.25rem;
	margin-top: 0;
	border-radius: 9999px;
	border: 2px solid hsl(var(--primary));
	background: hsl(var(--background));
	cursor: pointer;
}

.range-input::-moz-range-thumb {
	pointer-events: auto;
	width: 1.25rem;
	height: 1.25rem;
	border-radius: 9999px;
	border: 2px solid hsl(var(--primary));
	background: hsl(var(--background));
	cursor: pointer;
}

.range-input--max {
	z-index: 3;
}

.range-input--min {
	z-index: 4;
}

/* --------------------------------------------------------------------------
   Cart drawer
   -------------------------------------------------------------------------- */
#theme-cart-overlay {
	position: fixed;
	inset: 0;
	z-index: 60;
	background: hsl(var(--foreground) / 0.4);
	-webkit-backdrop-filter: blur(2px);
	backdrop-filter: blur(2px);
	opacity: 0;
	visibility: hidden;
	transition: opacity 0.3s ease, visibility 0.3s ease;
}

body.cart-open #theme-cart-overlay {
	opacity: 1;
	visibility: visible;
}

#theme-cart-drawer {
	position: fixed;
	top: 0;
	right: 0;
	height: 100%;
	width: 100%;
	max-width: 28rem;
	z-index: 70;
	background: hsl(var(--background));
	border-left: 1px solid hsl(var(--border));
	box-shadow: var(--shadow-elevated);
	display: flex;
	flex-direction: column;
	transform: translateX(100%);
	transition: transform 0.35s cubic-bezier(0.25, 0.4, 0.25, 1);
}

body.cart-open #theme-cart-drawer {
	transform: translateX(0);
}

body:not(.cart-open) #theme-cart-drawer {
	pointer-events: none;
}

#theme-cart-drawer.is-updating > * {
	opacity: 0.6;
	pointer-events: none;
}

/* --------------------------------------------------------------------------
   WooCommerce archive
   -------------------------------------------------------------------------- */
.woocommerce-products-header {
	margin-bottom: 2rem;
}

.woocommerce-products-header__title {
	font-family: var(--font-display);
	font-size: 2.25rem;
	line-height: 1.1;
	letter-spacing: -0.01em;
}

.theme-shop-grid ul.products {
	display: grid;
	grid-template-columns: repeat(1, minmax(0, 1fr));
	gap: 2rem;
	margin: 0;
	padding: 0;
	list-style: none;
}

.theme-shop-grid ul.products::before,
.theme-shop-grid ul.products::after {
	display: none;
}

.theme-shop-grid ul.products li.product {
	width: 100%;
	margin: 0;
	float: none;
	min-width: 0;
	display: flex;
	list-style: none;
}

@media (min-width: 640px) {
	.theme-shop-grid ul.products {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (min-width: 1024px) {
	.theme-shop-grid ul.products {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
}

.woocommerce nav.woocommerce-pagination ul {
	display: flex;
	justify-content: center;
	gap: 0.5rem;
	border: 0;
	margin: 3rem 0 0;
	padding: 0;
}

.woocommerce nav.woocommerce-pagination ul li {
	border: 1px solid hsl(var(--border));
	margin: 0;
}

.woocommerce nav.woocommerce-pagination ul li a,
.woocommerce nav.woocommerce-pagination ul li span {
	padding: 0.5rem 0.9rem;
	font-size: 0.75rem;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	font-family: var(--font-body);
	font-weight: 600;
	display: block;
}

.woocommerce nav.woocommerce-pagination ul li span.current {
	background: hsl(var(--foreground));
	color: hsl(var(--background));
}

/* --------------------------------------------------------------------------
   WooCommerce single product
   -------------------------------------------------------------------------- */
.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 .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;
}

.theme-attr-select-hidden {
	display: none !important;
}

.single-product .variations.shop_attributes tbody,
.single-product .variations tbody tr,
.single-product .variations tbody td {
	display: block;
	width: 100%;
}

/* The pill groups carry their own headings, so the native table label is hidden. */
.single-product .variations tbody td.label {
	display: none;
}

.single-product .variations tbody td.value {
	padding-top: 0;
}

.single-product table.variations {
	width: 100%;
	border-collapse: collapse;
	margin: 0;
	padding: 0;
}

/* The table only carries the hidden native selects; it must not take space. */
.single-product table.variations tbody,
.single-product table.variations tr,
.single-product table.variations td {
	display: block;
	margin: 0;
	padding: 0;
	border: 0;
	height: 0;
	overflow: hidden;
}

.single-product table.variations label {
	font-family: var(--font-display);
	font-size: 0.75rem;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	font-weight: 600;
	color: hsl(var(--foreground) / 0.8);
}

.theme-variation-pills {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
}

.theme-variation-pill {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	padding: 0.5rem 1rem;
	border: 1px solid hsl(var(--border));
	background: transparent;
	color: hsl(var(--foreground) / 0.8);
	font-family: var(--font-display);
	font-size: 0.75rem;
	line-height: 1rem;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	font-weight: 500;
	transition: color 0.2s ease, border-color 0.2s ease, background-color 0.2s ease;
}

.theme-variation-pill:hover {
	border-color: hsl(var(--foreground));
}

.theme-variation-pill.is-active {
	background: hsl(var(--foreground));
	border-color: hsl(var(--foreground));
	color: hsl(var(--background));
}

.theme-variation-swatch {
	width: 0.75rem;
	height: 0.75rem;
	border: 1px solid hsl(var(--border));
	display: inline-block;
}

.woocommerce-variation-price {
	margin-bottom: 1rem;
	font-family: var(--font-display);
	font-size: 1.5rem;
	font-weight: 600;
}

.woocommerce-variation-availability {
	margin-bottom: 1rem;
	font-size: 0.75rem;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	font-family: var(--font-body);
}

/* --------------------------------------------------------------------------
   WooCommerce notices — styled to the design where they must stay visible
   -------------------------------------------------------------------------- */
.woocommerce-message,
.woocommerce-info,
.woocommerce-error {
	list-style: none;
	padding: 1rem 1.25rem;
	margin: 0 0 1.5rem;
	border: 1px solid hsl(var(--border));
	background: hsl(var(--card));
	color: hsl(var(--foreground));
	font-family: var(--font-body);
	font-size: 0.9rem;
	line-height: 1.6;
}

.woocommerce-error {
	border-color: hsl(var(--destructive));
	background: hsl(var(--destructive) / 0.08);
}

.woocommerce-message::before,
.woocommerce-info::before,
.woocommerce-error::before {
	display: none;
}

.single-product .woocommerce-message,
.single-product .woocommerce-info {
	display: none;
}

#theme-cart-drawer .woocommerce-message {
	display: none;
}

/* --------------------------------------------------------------------------
   Cart / Checkout / Account widths
   -------------------------------------------------------------------------- */
/* The site header is sticky (it occupies flow space), so inner pages must not
   add a second header-height offset on top of the section padding. */
body.woocommerce-cart .site-main,
body.woocommerce-account .site-main,
body.woocommerce-checkout .site-main,
body.theme-thankyou-page .site-main {
	padding-top: 0;
	padding-bottom: 4rem;
}

body.woocommerce-checkout .entry-content,
body.woocommerce-cart .entry-content,
body.theme-thankyou-page .entry-content {
	max-width: 100%;
}

.page-title {
	font-family: var(--font-display);
	font-size: clamp(2.25rem, 4vw, 3rem);
	line-height: 1.08;
	letter-spacing: -0.01em;
	font-weight: 400;
	max-width: 80rem;
	margin: 0 auto 1rem;
	padding: 0 1.25rem;
}

@media (min-width: 640px) {
	.page-title {
		padding: 0 1.5rem;
	}
}

@media (min-width: 1024px) {
	.page-title {
		padding: 0 2rem;
	}
}

body.theme-thankyou-page .page-title {
	display: none;
}

/* --------------------------------------------------------------------------
   Checkout block
   -------------------------------------------------------------------------- */
body.woocommerce-checkout .wc-block-components-sidebar-layout,
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-components-notice-banner {
	grid-column: 1 / -1;
}

body.woocommerce-checkout .wc-block-checkout__main,
body.woocommerce-checkout .wc-block-checkout__sidebar {
	min-width: 0;
	width: 100%;
	max-width: none;
}

body.woocommerce-checkout .wc-block-checkout__sidebar {
	background-color: hsl(var(--card));
	border-radius: var(--radius);
	padding: 2rem;
}

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) !important;
	font-size: 1rem !important;
	color: hsl(var(--foreground)) !important;
	background-color: hsl(var(--background)) !important;
	border: 1px solid hsl(var(--border)) !important;
	border-radius: 0 !important;
	width: 100% !important;
	max-width: 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-block-components-textarea textarea:focus {
	border-color: hsl(var(--accent)) !important;
	outline: none !important;
	box-shadow: 0 0 0 2px hsl(var(--accent) / 0.2) !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 {
	font-family: var(--font-body) !important;
	color: hsl(var(--foreground) / 0.8) !important;
}

body.woocommerce-checkout .wc-block-components-checkout-place-order-button,
body.woocommerce-checkout .wc-block-cart__submit-button {
	background-color: hsl(var(--accent)) !important;
	color: hsl(var(--accent-foreground)) !important;
	border: 0 !important;
	border-radius: 0 !important;
	padding: 1rem 2rem !important;
	font-family: var(--font-body) !important;
	font-size: 0.75rem !important;
	font-weight: 600 !important;
	letter-spacing: 0.12em !important;
	text-transform: uppercase !important;
	transition: background-color 0.3s ease, color 0.3s ease !important;
}

body.woocommerce-checkout .wc-block-components-checkout-place-order-button:hover,
body.woocommerce-checkout .wc-block-cart__submit-button:hover {
	background-color: hsl(var(--foreground)) !important;
	color: hsl(var(--background)) !important;
}

body.woocommerce-checkout .wc-block-checkout__sidebar .wc-block-components-totals-item__label,
body.woocommerce-checkout .wc-block-checkout__sidebar h2,
body.woocommerce-checkout .wc-block-checkout h2,
body.woocommerce-checkout .wc-block-checkout h3 {
	font-family: var(--font-display) !important;
	letter-spacing: 0.02em !important;
}

body.woocommerce-checkout .wc-block-cart-items__header,
body.woocommerce-checkout .wc-block-cart-items th {
	font-family: var(--font-body) !important;
	font-size: 0.7rem !important;
	letter-spacing: 0.12em !important;
	text-transform: uppercase !important;
	color: hsl(var(--muted-foreground)) !important;
}

/* --------------------------------------------------------------------------
   Thank you page
   -------------------------------------------------------------------------- */
body.theme-thankyou-page {
	overflow-x: hidden;
}

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.5rem;
	letter-spacing: 0.02em;
	padding: 0 0 1rem;
}

body.theme-thankyou-page .woocommerce-order-overview {
	display: flex;
	flex-wrap: wrap;
	gap: 1.5rem;
	list-style: none;
	margin: 0 0 2.5rem;
	padding: 1.5rem;
	border: 1px solid hsl(var(--border));
	background: hsl(var(--card));
}

body.theme-thankyou-page .woocommerce-order-overview li {
	margin: 0;
	font-family: var(--font-body);
	font-size: 0.8rem;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: hsl(var(--muted-foreground));
	border: 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.02em;
	text-transform: none;
	color: hsl(var(--foreground));
}

body.theme-thankyou-page .woocommerce-order-details table {
	width: 100%;
	table-layout: fixed;
	border-collapse: collapse;
	margin-bottom: 2rem;
}

body.theme-thankyou-page .woocommerce-order-details th,
body.theme-thankyou-page .woocommerce-order-details 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;
}

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;
	overflow-wrap: break-word;
	font-style: normal;
	line-height: 1.7;
}

/* --------------------------------------------------------------------------
   Cart block (the Cart page keeps WooCommerce's native block markup)
   -------------------------------------------------------------------------- */
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 h2,
body.woocommerce-cart .wc-block-cart__empty-cart__title,
body.woocommerce-cart .wc-block-grid__product-title,
body.woocommerce-cart .wp-block-woocommerce-cart h2 {
	font-family: var(--font-display);
	letter-spacing: -0.01em;
	font-weight: 400;
}

body.woocommerce-cart .wc-block-components-button,
body.woocommerce-cart .wc-block-cart__submit-button,
body.woocommerce-cart .wc-block-grid__product-add-to-cart .wp-block-button__link,
body.woocommerce-cart .wp-block-button__link {
	background: hsl(var(--accent)) !important;
	color: hsl(var(--accent-foreground)) !important;
	border: 0 !important;
	border-radius: 0 !important;
	padding: 0.9rem 1.75rem !important;
	font-family: var(--font-body) !important;
	font-size: 0.75rem !important;
	font-weight: 600 !important;
	letter-spacing: 0.12em !important;
	text-transform: uppercase !important;
	transition: background-color 0.3s ease, color 0.3s ease !important;
}

body.woocommerce-cart .wc-block-components-button:hover,
body.woocommerce-cart .wc-block-cart__submit-button:hover,
body.woocommerce-cart .wc-block-grid__product-add-to-cart .wp-block-button__link:hover {
	background: hsl(var(--foreground)) !important;
	color: hsl(var(--background)) !important;
}

body.woocommerce-cart .wc-block-cart__empty-cart__title {
	font-size: 1.75rem;
}

body.woocommerce-cart .wc-block-grid__product-title,
body.woocommerce-cart .wc-block-grid__product-title a {
	font-family: var(--font-display);
	font-size: 0.95rem;
	text-decoration: none;
	color: hsl(var(--foreground));
}

body.woocommerce-cart .wc-block-grid__product-price {
	font-family: var(--font-display);
	font-weight: 600;
	color: hsl(var(--foreground));
}

body.woocommerce-cart .wc-block-cart-items__header,
body.woocommerce-cart .wc-block-cart-item__prices,
body.woocommerce-cart .wc-block-components-product-name {
	font-family: var(--font-body);
}

body.woocommerce-cart .wc-block-cart-items__header th {
	font-size: 0.7rem;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: hsl(var(--muted-foreground));
}

/* --------------------------------------------------------------------------
   My Account / cart table (block-free fallbacks)
   -------------------------------------------------------------------------- */
.woocommerce table.shop_table {
	width: 100%;
	border-collapse: collapse;
	border: 1px solid hsl(var(--border));
	font-family: var(--font-body);
}

.woocommerce table.shop_table th {
	text-align: left;
	font-size: 0.7rem;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: hsl(var(--muted-foreground));
	padding: 0.85rem;
	border-bottom: 1px solid hsl(var(--border));
}

.woocommerce table.shop_table td {
	padding: 0.85rem;
	border-bottom: 1px solid hsl(var(--border));
	vertical-align: middle;
}

.woocommerce .quantity input.qty {
	width: 4rem;
	padding: 0.5rem;
	border: 1px solid hsl(var(--border));
	background: hsl(var(--background));
	font-family: var(--font-display);
}

.woocommerce .button:not(.btn-primary-workshop):not(.btn-ghost-workshop),
.woocommerce button.button:not(.btn-primary-workshop):not(.btn-ghost-workshop),
.woocommerce #respond input#submit,
.woocommerce a.button.alt:not(.btn-primary-workshop),
.woocommerce button.button.alt:not(.btn-primary-workshop) {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.5rem;
	background: hsl(var(--accent));
	color: hsl(var(--accent-foreground));
	padding: 0.9rem 1.75rem;
	font-family: var(--font-body);
	font-size: 0.75rem;
	font-weight: 600;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	border: 0;
	border-radius: 0;
	transition: background-color 0.3s ease, color 0.3s ease;
	cursor: pointer;
}

.woocommerce .button:not(.btn-primary-workshop):not(.btn-ghost-workshop):hover,
.woocommerce button.button:not(.btn-primary-workshop):not(.btn-ghost-workshop):hover,
.woocommerce a.button.alt:not(.btn-primary-workshop):hover,
.woocommerce button.button.alt:not(.btn-primary-workshop):hover {
	background: hsl(var(--foreground));
	color: hsl(var(--background));
}

.woocommerce form .form-row input.input-text,
.woocommerce form .form-row textarea,
.woocommerce form .form-row select {
	width: 100%;
	background: hsl(var(--background));
	border: 1px solid hsl(var(--border));
	border-radius: 0;
	padding: 0.75rem 1rem;
	font-family: var(--font-body);
	font-size: 1rem;
	color: hsl(var(--foreground));
}

.woocommerce form .form-row label {
	font-family: var(--font-body);
	font-size: 0.7rem;
	font-weight: 600;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: hsl(var(--foreground) / 0.8);
}

/* --------------------------------------------------------------------------
   Screen-reader text (WordPress generated markup)
   -------------------------------------------------------------------------- */
.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;
	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: 5px;
	line-height: normal;
	padding: 15px 23px 14px;
	text-decoration: none;
	top: 5px;
	width: auto;
	z-index: 100000;
}

/* --------------------------------------------------------------------------
   Logo sizing across every template
   -------------------------------------------------------------------------- */
.site-logo-img {
	height: var(--logo-height, 64px) !important;
	width: auto !important;
	display: block;
}

.site-logo-text {
	line-height: 1.1;
	display: block;
}

/* --------------------------------------------------------------------------
   Content pages (non-WooCommerce, e.g. 404 / generic pages)
   -------------------------------------------------------------------------- */
.theme-page-shell {
	min-height: 60vh;
	padding-top: 3rem;
	padding-bottom: 5rem;
}

.theme-entry-content {
	font-family: var(--font-body);
	font-size: 1rem;
	line-height: 1.75;
	color: hsl(var(--foreground) / 0.78);
}

.theme-entry-content h2,
.theme-entry-content h3 {
	font-family: var(--font-display);
	color: hsl(var(--foreground));
	margin-top: 2rem;
	margin-bottom: 0.75rem;
}

.theme-entry-content a {
	text-decoration: underline;
}

.theme-entry-content a:hover {
	color: hsl(var(--accent));
}
