/* ==========================================================================
   Meditate Herbals — theme.css
   Only rules for markup that has no source equivalent (WooCommerce/WordPress
   output) plus the functional states the source implements in JS.
   Source styles for elements that carry source classes live in app.css.
   ========================================================================== */

:root {
	--header-height: 76px;
	--theme-radius-card: 0.5rem;
}

html:has(body.is-customizer) {
	scroll-behavior: auto !important;
}

/* WordPress admin bar: keep the sticky header below the toolbar in preview/front. */
body.admin-bar {
	--wp-admin-bar-height: 32px;
}

@media screen and (max-width: 782px) {
	body.admin-bar {
		--wp-admin-bar-height: 46px;
	}
}

body.admin-bar .site-header {
	top: var(--wp-admin-bar-height);
}

/* Clickable affordance for theme-only controls (Tailwind cursor utilities are absent on some nodes). */
.theme-body a[href],
.theme-body button:not(:disabled):not([aria-disabled="true"]),
.theme-body [role="button"]:not([aria-disabled="true"]),
.theme-body label[for],
.theme-body summary,
.theme-body .mh-btn,
.theme-body .theme-thumb,
.theme-body .theme-attr-pill,
.theme-body .theme-brand-link,
.theme-body .theme-card-link-block,
.theme-body .col-row,
.theme-body [data-faq-toggle],
.theme-body [data-cart-open],
.theme-body [data-cart-close],
.theme-body [data-menu-open],
.theme-body [data-menu-close],
.theme-body [data-privacy-open],
.theme-body [data-privacy-close],
.theme-body [data-product-zoom],
.theme-body #theme-cart-overlay,
.theme-body .theme-back-top {
	cursor: pointer;
}

@media (min-width: 810px) {
	:root {
		--header-height: 96px;
	}
}

[hidden] {
	display: none !important;
}

/* --------------------------------------------------------------------------
   Native <select>: custom chevron inset from the edge (not the UA arrow).
   -------------------------------------------------------------------------- */
.theme-form-select,
select.theme-form-select.mh-input {
	-webkit-appearance: none;
	-moz-appearance: none;
	appearance: none;
	padding-right: 2.75rem;
	background-color: hsl(var(--mh-cream));
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='%233B2328' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
	background-position: right 1rem center;
	background-repeat: no-repeat;
	background-size: 1.125rem;
}

/* --------------------------------------------------------------------------
   Header / identity
   -------------------------------------------------------------------------- */
.site-header {
	background-color: #ffffff;
	border-bottom: 1px solid var(--line);
}

.site-header.is-solid {
	background-color: rgba(255, 255, 255, 0.92);
	-webkit-backdrop-filter: blur(12px);
	backdrop-filter: blur(12px);
}

.site-logo-img {
	height: var(--logo-height) !important;
	width: auto !important;
}

.site-logo-img--small {
	height: 58px !important;
}

.site-logo-text {
	line-height: 1.1;
	display: block;
}

/* Square footer logo — matches Lovable Logo (128 mobile / 160 desktop). */
.site-footer-logo {
	width: var(--footer-logo-height) !important;
	height: var(--footer-logo-height) !important;
	object-fit: cover;
}

.site-footer-logo--small {
	width: 128px !important;
	height: 128px !important;
}

.logo-ring {
	border: 1px solid var(--line);
	box-shadow: 0 6px 18px -8px rgba(194, 65, 110, 0.35);
}

.logo-footer {
	border: 1px solid var(--line);
	box-shadow: 0 20px 40px -18px rgba(194, 65, 110, 0.4);
	transition: transform 0.5s ease;
	margin-bottom: 24px;
}

.logo-footer:hover {
	transform: rotate(-4deg) scale(1.03);
}

/* The source hides the badge entirely at zero items. */
.theme-cart-count:empty {
	display: none;
}

.theme-announcement .marquee-track {
	align-items: center;
	height: 100%;
}

.theme-announcement .marquee-track svg {
	color: hsl(var(--mh-sage));
}

.theme-social-link {
	border: 1px solid var(--line);
}

.theme-site-footer {
	background: #ffffff;
	border-top: 1px solid var(--line);
	background-image: linear-gradient(rgba(194, 65, 110, 0.05) 1px, transparent 1px), linear-gradient(90deg, rgba(194, 65, 110, 0.05) 1px, transparent 1px);
	background-size: 24px 24px;
}

.theme-footer-bottom {
	border-top: 1px solid var(--line);
}

.theme-mobile-menu .theme-nav-list a {
	border-bottom: 1px solid transparent;
}

/* Hero: full viewport under the fixed header, no top offset on the home page. */
.theme-home > section#home {
	margin-top: 0;
}

.theme-no-hero-main {
	padding-top: var(--header-height);
	padding-bottom: 4rem;
}

/* --------------------------------------------------------------------------
   Reveal / motion (JS-driven; classes mirror the source's framer-motion
   variants: opacity 0 -> 1 with translate, spring easing).
   -------------------------------------------------------------------------- */
.reveal-item {
	opacity: 0;
	transform: translate3d(var(--reveal-x, 0px), var(--reveal-y, 50px), 0);
	transition: opacity 0.9s cubic-bezier(0.22, 1, 0.36, 1), transform 0.9s cubic-bezier(0.22, 1, 0.36, 1);
	transition-delay: var(--reveal-delay, 0s);
	will-change: opacity, transform;
}

.reveal-item.is-revealed {
	opacity: 1;
	transform: none;
}

.hero-in {
	opacity: 0;
	transform: translate3d(0, 50px, 0);
	transition: opacity 0.9s cubic-bezier(0.22, 1, 0.36, 1), transform 0.9s cubic-bezier(0.22, 1, 0.36, 1);
	will-change: opacity, transform;
}

.hero-in.is-revealed {
	opacity: 1;
	transform: none;
}

/* The split heading animates per word, mirroring the source's per-letter rise. */
.theme-split-part {
	display: inline-block;
	opacity: 0;
	transform: translateY(0.6em);
	transition: opacity 0.9s cubic-bezier(0.22, 1, 0.36, 1), transform 0.9s cubic-bezier(0.22, 1, 0.36, 1);
}

.theme-split-heading.is-revealed .theme-split-part,
.is-revealed .theme-split-part {
	opacity: 1;
	transform: none;
}

.theme-slideshow .theme-slide {
	opacity: 0;
	transform: translateX(100%);
	transition: opacity 0.6s cubic-bezier(0.22, 1, 0.36, 1), transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
	pointer-events: none;
}

.theme-slideshow .theme-slide.is-current {
	opacity: 1;
	transform: none;
}

.theme-slideshow .theme-slide.is-leaving {
	opacity: 0;
	transform: translateX(-100%);
}

.theme-ing-main {
	opacity: 0;
	transform: scale(0.6) rotate(20deg);
	transition: opacity 0.9s cubic-bezier(0.22, 1, 0.36, 1), transform 0.9s cubic-bezier(0.22, 1, 0.36, 1);
}

.theme-ing-main.is-revealed {
	opacity: 1;
	transform: none;
}

.theme-ing-circle {
	opacity: 0;
	transform: translateX(var(--ing-x, 0px));
	transition: opacity 0.9s cubic-bezier(0.22, 1, 0.36, 1), transform 0.9s cubic-bezier(0.22, 1, 0.36, 1);
	transition-delay: var(--ing-delay, 0s);
}

.theme-ing-circle.is-revealed {
	opacity: 1;
	transform: none;
}

.theme-story-layer {
	will-change: transform;
}

.theme-parallax-img__el {
	transform: scale(1.2);
	will-change: transform;
}

.theme-parallax-img {
	position: relative;
}

.theme-video-scaler {
	transform: scale(1.15);
	transition: transform 1.6s cubic-bezier(0.22, 1, 0.36, 1);
}

.theme-video-scaler.is-revealed {
	transform: scale(1);
}

@media (prefers-reduced-motion: reduce) {
	.reveal-item,
	.hero-in,
	.theme-split-part,
	.theme-ing-main,
	.theme-ing-circle,
	.theme-slideshow .theme-slide,
	.theme-video-scaler {
		opacity: 1;
		transform: none;
		transition: none;
	}
}

/* Customizer preview fallback: never hide content in the editor. */
body.is-customizer .reveal-item,
body.is-customizer .hero-in,
body.is-customizer .theme-split-part,
body.is-customizer .theme-ing-main,
body.is-customizer .theme-ing-circle {
	opacity: 1;
	transform: none;
}

/* No-JS fallback for every reveal. */
.no-js .reveal-item,
.no-js .hero-in,
.no-js .theme-split-part,
.no-js .theme-ing-main,
.no-js .theme-ing-circle,
.no-js .theme-slide {
	opacity: 1;
	transform: none;
}

/* Background video layers (source builds the vignette + gradient in JS). */
.theme-video-vignette {
	background: radial-gradient(ellipse at center, transparent 35%, rgba(30, 15, 20, 0.55) 100%);
}

.theme-video-gradient {
	transition: background 0.3s ease;
}

.theme-bg-video::-webkit-media-controls {
	display: none !important;
}

/* --------------------------------------------------------------------------
   Hero featured card / back to top
   -------------------------------------------------------------------------- */
.theme-back-top {
	background: var(--gradient-berry);
	color: hsl(var(--cream));
}

.theme-back-top.is-visible {
	opacity: 1;
	pointer-events: auto;
}

/* --------------------------------------------------------------------------
   FAQ (source uses framer-motion height animation)
   -------------------------------------------------------------------------- */
.theme-faq-item {
	background: hsl(var(--mh-cream));
}

.theme-faq-item.is-open {
	background: hsl(var(--mh-petal));
}

.theme-faq-panel {
	height: 0;
	opacity: 0;
	transition: height 0.35s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

.theme-faq-item.is-open .theme-faq-panel {
	height: auto;
	opacity: 1;
}

.theme-faq-icon {
	display: none;
}

.theme-faq-item.is-open .theme-faq-icon--minus {
	display: flex;
}

.theme-faq-item:not(.is-open) .theme-faq-icon--plus {
	display: flex;
}

/* --------------------------------------------------------------------------
   Side cart drawer (WooCommerce markup, not present in the source)
   -------------------------------------------------------------------------- */
#theme-cart-drawer {
	position: fixed;
	right: 0;
	top: 0;
	height: 100%;
	width: 100%;
	max-width: 28rem;
	z-index: 70;
	display: flex;
	flex-direction: column;
	background-color: hsl(var(--cream));
	box-shadow: var(--shadow-elevated);
	transform: translateX(100%);
	visibility: hidden;
	transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1), visibility 0.4s;
}

body.cart-open #theme-cart-drawer {
	transform: none;
	visibility: visible;
}

#theme-cart-overlay {
	position: fixed;
	inset: 0;
	z-index: 60;
	background-color: hsla(26, 57%, 16%, 0.45);
	-webkit-backdrop-filter: blur(4px);
	backdrop-filter: blur(4px);
	opacity: 0;
	visibility: hidden;
	transition: opacity 0.3s ease, visibility 0.3s;
}

body.cart-open #theme-cart-overlay {
	opacity: 1;
	visibility: visible;
}

#theme-cart-drawer.is-updating > * {
	opacity: 0.6;
	pointer-events: none;
}

#theme-cart-drawer .theme-cart-subtotal .woocommerce-Price-currencySymbol {
	font-size: inherit;
}

/* Hide "View cart" injected by WooCommerce after AJAX add-to-cart. */
.woocommerce-page a.added_to_cart.wc-forward,
.single-product a.added_to_cart.wc-forward,
body a.added_to_cart.wc-forward {
	display: none !important;
}

/* Add-to-cart lock states. */
.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;
}

.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;
}

.theme-btn-loading,
.button.loading {
	position: relative;
}

/* --------------------------------------------------------------------------
   Quantity control (WooCommerce markup, source uses a static display)
   -------------------------------------------------------------------------- */
.theme-quantity-wrapper {
	background-color: #ffffff;
	border: 1px solid var(--line);
	min-height: 48px;
}

.theme-quantity-wrapper .theme-qty-minus,
.theme-quantity-wrapper .theme-qty-plus {
	width: 44px;
	height: 44px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	color: hsl(var(--mh-ink));
	transition: color 0.3s ease;
	flex: 0 0 auto;
}

.theme-quantity-wrapper .theme-qty-minus:hover,
.theme-quantity-wrapper .theme-qty-plus:hover {
	color: hsl(var(--mh-primary));
}

.theme-qty-input {
	width: 48px;
	min-width: 48px;
	height: 44px;
	border: 0;
	background: transparent;
	text-align: center;
	font-variant-numeric: tabular-nums;
	color: hsl(var(--mh-ink));
	-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;
}

/* --------------------------------------------------------------------------
   Single product responsive layout
   -------------------------------------------------------------------------- */
.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-add-to-cart-area {
	display: flex;
	align-items: stretch;
	flex-wrap: wrap;
	gap: 0.75rem;
}

.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;
}

.single-product .theme-thumb.is-active {
	box-shadow: 0 0 0 2px hsl(var(--raspberry));
}

.single-product .theme-thumb {
	box-shadow: 0 0 0 1px hsl(var(--nude));
}

/* Variable product: pill UI + hidden native select. */
.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%;
}

.single-product .variations tbody td.label {
	padding: 0 0 0.5rem;
}

.single-product .variations tbody td.value {
	padding: 0 0 1.25rem;
}

.single-product .variaations tbody td.label label,
.single-product .variations td.label label {
	font-family: var(--font-body);
	font-weight: 700;
	font-size: 12px;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	color: hsl(var(--mh-muted));
}

.theme-attr-pills {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
}

.theme-attr-pill {
	border: 1px solid var(--line);
	border-radius: 999px;
	padding: 0.5rem 1rem;
	font-size: 14px;
	font-weight: 600;
	color: hsl(var(--mh-ink));
	background: #ffffff;
	transition: border-color 0.3s ease, color 0.3s ease, background-color 0.3s ease;
}

.theme-attr-pill:hover {
	border-color: hsl(var(--mh-primary));
	color: hsl(var(--mh-primary));
}

.theme-attr-pill.is-active {
	background: hsl(var(--mh-primary));
	border-color: hsl(var(--mh-primary));
	color: #ffffff;
}

.single-product .single_variation_wrap {
	margin-top: 0.5rem;
}

.single-product .woocommerce-variation-price {
	margin-bottom: 1rem;
	font-family: var(--font-display);
	font-size: 1.5rem;
	color: hsl(var(--mh-ink));
}

/* --------------------------------------------------------------------------
   Product cards outside the source design system
   -------------------------------------------------------------------------- */
.theme-product-card-wrap {
	display: flex;
	flex-direction: column;
	height: 100%;
}

.theme-product-card-wrap > .theme-card-link-block {
	height: 100%;
}

.theme-card-price .price,
.theme-card-price .woocommerce-Price-amount {
	color: inherit;
	font: inherit;
}

.theme-product-card-wrap .woocommerce-Price-currencySymbol {
	font-size: inherit;
}

/* --------------------------------------------------------------------------
   WooCommerce notices — styled, visible where no theme feedback exists
   -------------------------------------------------------------------------- */
.woocommerce-message,
.woocommerce-info,
.woocommerce-error {
	background: #ffffff;
	border: 1px solid var(--line);
	border-radius: 0.75rem;
	padding: 1rem 1.25rem;
	margin: 0 0 1.5rem;
	color: hsl(var(--mh-ink));
	font-size: 15px;
	list-style: none;
}

.woocommerce-error {
	border-color: hsl(var(--mh-primary-dark));
	color: hsl(var(--mh-primary-dark));
}

.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 / account / thankyou width + alignment parity
   -------------------------------------------------------------------------- */
.theme-cart-page .page-title,
.theme-account-page .page-title,
.theme-thankyou-page .page-title,
body.woocommerce-checkout .page-title {
	max-width: 100%;
	margin: 0 0 2rem;
}

.theme-cart-page .entry-content,
.theme-account-page .entry-content,
.theme-thankyou-page .entry-content,
body.woocommerce-checkout .entry-content {
	max-width: 100%;
}

.theme-thankyou-page {
	overflow-x: hidden;
}

.theme-thankyou-page .woocommerce-order {
	color: hsl(var(--mh-ink));
}

.theme-thankyou-page .woocommerce-order h2,
.theme-thankyou-page .woocommerce-order-details__title {
	font-family: var(--font-display);
	font-size: 24px;
	font-weight: 600;
	padding: 0 0 1rem;
	color: hsl(var(--mh-ink));
}

.theme-thankyou-page .woocommerce-order-overview {
	display: flex;
	flex-wrap: wrap;
	gap: 1.5rem;
	list-style: none;
	margin: 0 0 2rem;
	padding: 1.5rem;
	background: #ffffff;
	border: 1px solid var(--line);
	border-radius: 1rem;
}

.theme-thankyou-page .woocommerce-order-overview li {
	font-size: 13px;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: hsl(var(--mh-muted));
	border: 0;
	padding: 0;
	margin: 0;
}

.theme-thankyou-page .woocommerce-order-overview li strong {
	display: block;
	margin-top: 0.25rem;
	font-family: var(--font-body);
	font-size: 15px;
	letter-spacing: 0;
	text-transform: none;
	color: hsl(var(--mh-ink));
}

.theme-thankyou-page .woocommerce-order-details table {
	width: 100%;
	table-layout: fixed;
	border-collapse: collapse;
	margin-bottom: 2rem;
}

.theme-thankyou-page .woocommerce-order-details table th,
.theme-thankyou-page .woocommerce-order-details table td {
	padding: 0.75rem 0;
	border-bottom: 1px solid var(--line);
	text-align: left;
	font-size: 15px;
}

.theme-thankyou-page .woocommerce-order-details tfoot th {
	text-align: left;
	font-weight: 400;
	color: hsl(var(--mh-muted));
}

.theme-thankyou-page .woocommerce-order-details tfoot td {
	text-align: right;
	font-weight: 600;
}

.theme-thankyou-page .woocommerce-customer-details {
	display: flex;
	flex-direction: column;
	gap: 1.5rem;
}

.theme-thankyou-page .woocommerce-customer-details address {
	max-width: 480px;
	overflow-wrap: break-word;
	font-style: normal;
	padding: 1.25rem;
	background: #ffffff;
	border: 1px solid var(--line);
	border-radius: 1rem;
}

/* --------------------------------------------------------------------------
   Checkout block styling
   -------------------------------------------------------------------------- */
body.woocommerce-checkout .site-main {
	padding-top: var(--header-height);
	padding-bottom: 4rem;
}

@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: var(--checkout-gap, 2rem);
		align-items: start;
	}
}

body.woocommerce-checkout .wc-block-checkout {
	display: block;
	font-family: var(--font-body);
	color: hsl(var(--mh-ink));
}

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(--mh-petal));
	border-radius: 1.5rem;
	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 .woocommerce-checkout .form-row .input-text {
	width: 100% !important;
	max-width: none !important;
	font-family: var(--font-body) !important;
	font-size: 16px !important;
	color: hsl(var(--mh-ink)) !important;
	background-color: hsl(var(--mh-cream)) !important;
	border: 1px solid var(--line) !important;
	border-radius: 10px !important;
}

body.woocommerce-checkout .wc-block-components-select select,
body.woocommerce-checkout .wc-blocks-components-select__select {
	-webkit-appearance: none !important;
	-moz-appearance: none !important;
	appearance: none !important;
	padding-right: 2.75rem !important;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='%233B2328' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") !important;
	background-position: right 1rem center !important;
	background-repeat: no-repeat !important;
	background-size: 1.125rem !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 {
	border-color: hsl(var(--mh-primary)) !important;
	outline: none !important;
	box-shadow: 0 0 0 2px hsl(var(--mh-primary) / 0.25) !important;
}

body.woocommerce-checkout .wc-block-checkout .wc-block-components-checkout-place-order-button,
body.woocommerce-checkout .wc-block-components-checkout-place-order-button {
	background-color: hsl(var(--mh-primary)) !important;
	color: #ffffff !important;
	border: 0 !important;
	border-radius: 8px !important;
	min-height: 48px;
	font-family: var(--font-body) !important;
	font-weight: 600 !important;
	font-size: 16px !important;
	text-transform: none;
	letter-spacing: 0;
}

body.woocommerce-checkout .wc-block-checkout .wc-block-components-checkout-place-order-button:hover,
body.woocommerce-checkout .wc-block-components-checkout-place-order-button:hover {
	background-color: hsl(var(--mh-primary-dark)) !important;
}

body.woocommerce-checkout .wc-block-components-notice-banner {
	border-radius: 0.75rem;
	border: 1px solid var(--line);
	background: #ffffff;
	color: hsl(var(--mh-ink));
	grid-column: 1 / -1;
}

body.woocommerce-checkout .wc-block-components-notice-banner.is-error {
	border-color: hsl(var(--mh-primary-dark));
	color: hsl(var(--mh-primary-dark));
}

body.woocommerce-checkout .wc-block-checkout__sidebar .wc-block-components-title,
body.woocommerce-checkout .wc-block-checkout__main h2,
body.woocommerce-checkout .wc-block-checkout__main h3 {
	font-family: var(--font-display);
	color: hsl(var(--mh-ink));
}

body.woocommerce-checkout .wc-block-cart-items__row {
	border-color: var(--line);
}

body.woocommerce-checkout .wc-block-components-totals-item__value {
	font-variant-numeric: tabular-nums;
}

/* Page title for inner pages (no source equivalent). */
.page-title {
	font-family: var(--font-display);
	font-weight: 600;
	letter-spacing: -0.01em;
	color: hsl(var(--mh-ink));
	margin: 0 0 2rem;
}

/* Screen-reader utility from WordPress core. */
.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: #fff;
	border-radius: 3px;
	box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
	clip: auto !important;
	clip-path: none;
	color: hsl(var(--mh-ink));
	display: block;
	font-size: 0.875rem;
	font-weight: 700;
	height: auto;
	left: 5px;
	line-height: normal;
	padding: 15px 23px 14px;
	text-decoration: none;
	top: 5px;
	width: auto;
	z-index: 100000;
}

/* Entry content basics for pages that render Gutenberg content. */
.entry-content > * + * {
	margin-top: 1.25rem;
}

.entry-content a {
	color: hsl(var(--mh-primary));
	text-decoration: underline;
}

.entry-content img {
	border-radius: 1rem;
	height: auto;
}

/* Block checkout inherits the site container width. */
body.woocommerce-checkout .entry-content > .wp-block-woocommerce-checkout {
	max-width: 100%;
}

/* Prevent the lightbox from scrolling the page behind it. */
body.theme-lightbox-open {
	overflow: hidden;
}

/* Cart / checkout form elements that WooCommerce renders without source markup. */
.theme-cart-page .woocommerce,
.theme-account-page .woocommerce {
	color: hsl(var(--mh-ink));
}

.theme-cart-page .woocommerce table.shop_table th,
.theme-cart-page .woocommerce table.shop_table td {
	border-color: var(--line);
}

.theme-account-page .woocommerce-MyAccount-navigation ul {
	list-style: none;
	padding: 0;
}

.theme-account-page .woocommerce-MyAccount-navigation li a {
	display: block;
	padding: 0.5rem 0;
	color: hsl(var(--mh-muted));
}

.theme-account-page .woocommerce-MyAccount-navigation li.is-active a,
.theme-account-page .woocommerce-MyAccount-navigation li a:hover {
	color: hsl(var(--mh-primary));
}

/* Contact form error state. */
.theme-field-error {
	color: hsl(var(--mh-primary-dark));
}
