/*
Theme Name: Bonsai Tea Garden
Theme URI: https://bonsaiteagarden.pl
Author: Bonsai Tea Garden
Description: Custom block theme for Bonsai Tea Garden.
Version: 0.2.1
Text Domain: btg-theme
Requires at least: 7.1
Requires PHP: 8.2
*/

/*
 * Font architecture
 *
 * Self-hosted variable TTF files are registered through the fontFace entries
 * in theme.json. Their descriptors expose only Libre Baskerville 400 and
 * Source Sans 3 400–600. WordPress emits local @font-face rules with
 * font-display: swap; no external font stylesheet, CDN or preload is used.
 */

/* A keyboard-visible focus ring is deliberately independent of brand green. */
:where(a, button, input, select, textarea, summary, [tabindex]:not([tabindex="-1"])):focus-visible {
	outline: 3px solid var(--wp--preset--color--contrast, #1a1a1a);
	outline-offset: 3px;
}

.btg-skip-link {
	clip: rect(0 0 0 0);
	clip-path: inset(50%);
	block-size: 1px;
	inline-size: 1px;
	margin: -1px;
	overflow: hidden;
	position: absolute;
	white-space: nowrap;
}

.btg-skip-link:focus,
.btg-skip-link:focus-visible {
	background: var(--wp--preset--color--contrast, #1a1a1a);
	block-size: auto;
	clip: auto;
	clip-path: none;
	color: var(--wp--preset--color--base, #ffffff);
	inline-size: auto;
	left: var(--wp--preset--spacing--30, 1rem);
	margin: 0;
	overflow: visible;
	padding: var(--wp--preset--spacing--20, 0.75rem) var(--wp--preset--spacing--30, 1rem);
	position: fixed;
	top: var(--wp--preset--spacing--30, 1rem);
	z-index: 100000;
}

/*
 * D2 / V2: 200 CSS px minimum, 240 CSS px recommended (Brand Book 1.0.1).
 * At these sizes 0.5x clear space is at most 13px. The surrounding header /
 * footer padding and gaps leave at least 16px outside the unchanged SVG canvas.
 */
.btg-site-header .btg-brand-slot,
.btg-site-footer .btg-brand-slot {
	flex: 0 0 auto;
	max-inline-size: 100%;
}

.btg-site-header .btg-brand-logo,
.btg-site-footer .btg-brand-logo {
	display: block;
	flex: 0 0 auto;
	inline-size: clamp(200px, 25vw, 240px);
	line-height: 0;
	max-inline-size: 100%;
}

.btg-site-header .btg-brand-logo img,
.btg-site-footer .btg-brand-logo img {
	block-size: auto;
	display: block;
	inline-size: 100%;
	max-inline-size: 100%;
}

.btg-site-header .btg-header-row {
	gap: var(--wp--preset--spacing--30, 1rem);
}

.btg-site-header .btg-header-actions {
	flex: 0 0 auto;
	gap: var(--wp--preset--spacing--10, 0.5rem);
	margin-inline-start: auto;
}

.btg-site-header .btg-header-actions > .wp-block-shortcode {
	display: flex;
	flex: 0 0 auto;
	margin: 0;
}

.btg-site-header .btg-account-link {
	align-items: center;
	color: inherit;
	display: inline-flex;
	justify-content: center;
	min-block-size: 44px;
	min-inline-size: 44px;
	text-decoration: none;
}

.btg-site-header .btg-account-link:focus-visible {
	outline: 3px solid var(--wp--preset--color--contrast, #1a1a1a);
	outline-offset: 3px;
}

.btg-site-header .btg-account-link svg {
	block-size: 1.25rem;
	inline-size: 1.25rem;
}

/* Checkout keeps the purchase path focused: brand mark and Cart only. */
body.woocommerce-checkout .btg-checkout-header .btg-brand-logo {
	inline-size: clamp(180px, 20vw, 210px);
}

body.woocommerce-checkout .btg-checkout-header .wp-block-woocommerce-cart-link {
	flex: 0 0 auto;
}

.btg-site-header .wp-block-navigation__responsive-container-open,
.btg-site-footer .wp-block-navigation__responsive-container-open {
	align-items: center;
	justify-content: center;
	min-block-size: 44px;
	min-inline-size: 44px;
}

@media (max-width: 599px) {
	.wp-block-group.btg-site-header {
		padding-inline: var(--wp--preset--spacing--30, 1rem);
	}
}

@media (prefers-reduced-motion: reduce) {
	*,
	*::before,
	*::after {
		animation-duration: 0.01ms !important;
		animation-iteration-count: 1 !important;
		scroll-behavior: auto !important;
		transition-duration: 0.01ms !important;
	}
}

/* Homepage Collection 01 visual foundation. */
.btg-homepage {
	--btg-line: rgb(26 26 26 / 16%);
	--btg-muted-text: rgb(26 26 26 / 70%);
	--btg-surface: var(--wp--preset--color--surface, #f6f5f1);
	overflow-wrap: anywhere;
}

.btg-homepage > .btg-section:not(.btg-content-container) {
	margin-block: 0;
}

.btg-homepage .btg-hero .wp-block-columns,
.btg-homepage .btg-tea-section .wp-block-columns,
.btg-homepage .btg-packaging .wp-block-columns {
	gap: var(--wp--preset--spacing--60, 3rem);
}

.btg-homepage .btg-hero h1 {
	max-inline-size: 12ch;
}

.btg-homepage .btg-hero .wp-block-button {
	margin-block-start: var(--wp--preset--spacing--50, 2.25rem);
}

.btg-homepage .btg-collection-intro > * {
	max-inline-size: 44rem;
}

.btg-homepage .btg-product-identifier {
	align-items: center;
	display: flex;
	font-family: var(--wp--preset--font-family--source-sans-3, Arial, sans-serif);
	gap: var(--wp--preset--spacing--10, 0.5rem);
	letter-spacing: 0.04em;
	text-transform: uppercase;
}

.btg-homepage .btg-product-origin {
	font-family: var(--wp--preset--font-family--source-sans-3, Arial, sans-serif);
	letter-spacing: 0.04em;
	text-transform: uppercase;
}

.btg-homepage .btg-product-capsule {
	align-items: center;
	background: var(--wp--preset--color--base, #ffffff);
	border-radius: 999px;
	display: inline-flex;
	gap: var(--wp--preset--spacing--10, 0.5rem);
	padding: 0.35em 0.65em;
}

.btg-homepage .btg-product-dot {
	background: var(--btg-product-dot-color, transparent);
	border: 1px solid currentColor;
	border-radius: 50%;
	display: inline-block;
	flex: 0 0 auto;
	inline-size: 0.75rem;
	block-size: 0.75rem;
}

/* Working Collection 01 SKU colours; pending physical proof approval. */
.btg-homepage .btg-product-dot--golden {
	--btg-product-dot-color: #d6a62e;
}

.btg-homepage .btg-product-dot--ginger-orange {
	--btg-product-dot-color: #d87532;
}

.btg-homepage .btg-product-dot--strawberry {
	--btg-product-dot-color: #c94f61;
}

.btg-homepage .btg-tea-section .wp-block-column:first-child > p,
.btg-homepage .btg-tea-section .wp-block-column:first-child > h2,
.btg-homepage .btg-tea-section .wp-block-column:first-child > h3 {
	max-inline-size: 36rem;
}

.btg-homepage .btg-tea-section h2 {
	margin-block-start: var(--wp--preset--spacing--30, 1rem);
}

.btg-homepage .btg-tea-section .has-large-font-size {
	font-family: var(--wp--preset--font-family--source-sans-3, Arial, sans-serif);
	font-weight: 400;
	line-height: 1.45;
}

.btg-homepage .btg-tea-section h3 {
	font-family: var(--wp--preset--font-family--source-sans-3, Arial, sans-serif);
	font-weight: 600;
	letter-spacing: 0.06em;
	margin-block-start: var(--wp--preset--spacing--40, 1.5rem);
	text-transform: uppercase;
}

.btg-homepage .btg-tea-net-weight {
	color: var(--btg-muted-text);
	font-weight: 600;
}

.btg-homepage .btg-packaging__statement {
	font-family: var(--wp--preset--font-family--libre-baskerville, Georgia, serif);
	font-size: clamp(1.2rem, 2vw, 1.55rem);
	line-height: 1.35;
	margin-block: clamp(1.5rem, 3vw, 2.25rem) 0;
	text-align: end;
}

.btg-homepage .btg-journey-section {
	background: var(--btg-surface);
}

.btg-homepage .btg-packaging {
	padding-block-end: clamp(3rem, 5vw, 4.5rem) !important;
}

.btg-homepage .btg-commerce-section {
	padding-block-start: clamp(3rem, 5vw, 4.5rem) !important;
}

.btg-homepage .btg-journey {
	display: grid;
	gap: var(--wp--preset--spacing--40, 1.5rem);
	list-style-position: outside;
	margin: 0;
	padding-inline-start: var(--wp--preset--spacing--40, 1.5rem);
}

.btg-homepage .btg-journey li {
	border-block-start: 1px solid var(--btg-line);
	padding-block-start: var(--wp--preset--spacing--30, 1rem);
}

.btg-homepage .btg-journey li::marker {
	color: var(--wp--preset--color--accent, #5fae45);
	font-family: var(--wp--preset--font-family--libre-baskerville, Georgia, serif);
}

.btg-homepage .btg-journey strong {
	display: block;
	font-family: var(--wp--preset--font-family--libre-baskerville, Georgia, serif);
	font-size: var(--wp--preset--font-size--x-large, 2rem);
	font-weight: 400;
	line-height: 1.2;
}

.btg-homepage .btg-commerce-placeholder {
	background: var(--btg-surface);
	border: 1px solid var(--btg-line);
	padding-inline: var(--wp--preset--spacing--40, 1.5rem);
}

.btg-homepage .btg-commerce-placeholder__controls {
	align-items: center;
	display: flex;
	flex-wrap: wrap;
	gap: var(--wp--preset--spacing--20, 0.75rem);
}

.btg-homepage .btg-commerce-placeholder__controls p {
	margin: 0;
}

.btg-homepage .btg-commerce-placeholder__controls p:last-child {
	font-weight: 600;
}

.btg-homepage .btg-commerce-placeholder__note {
	max-inline-size: 42rem;
}

.btg-homepage .btg-commerce-placeholder .add_to_cart_inline {
	border: 0 !important;
	margin: var(--wp--preset--spacing--40, 1.5rem) 0 0 !important;
	padding: 0 !important;
}

.btg-homepage .btg-commerce-placeholder .add_to_cart_inline .button {
	align-items: center;
	background: var(--wp--preset--color--accent, #5fae45);
	border: 1px solid var(--wp--preset--color--accent, #5fae45);
	border-radius: 999px;
	color: var(--wp--preset--color--contrast, #1a1a1a);
	display: inline-flex;
	font-size: var(--wp--preset--font-size--small, 0.875rem);
	font-weight: 600;
	justify-content: center;
	line-height: 1.2;
	min-block-size: 44px;
	padding: var(--wp--preset--spacing--20, 0.75rem) var(--wp--preset--spacing--40, 1.5rem);
	text-decoration: none;
}

.btg-homepage .btg-commerce-placeholder .add_to_cart_inline .button:hover {
	background: #4c9636;
	border-color: #4c9636;
	color: var(--wp--preset--color--base, #ffffff);
}

.btg-homepage .btg-commerce-placeholder .add_to_cart_inline .button:focus-visible {
	outline: 2px solid var(--wp--preset--color--contrast, #1a1a1a);
	outline-offset: 3px;
}

.btg-homepage .btg-tea-section__preparation {
	border-block-start: 1px solid var(--btg-line);
	margin: clamp(1.1rem, 2vw, 1.5rem) auto 0;
	max-inline-size: 34rem;
	padding-block-start: 1rem;
}

.btg-homepage .btg-tea-section__preparation h3 {
	margin-block: 0;
}

.btg-homepage .btg-tea-section__preparation p {
	margin-block: 0.55rem 0;
}

.btg-homepage .btg-tea-section__preparation .btg-tea-net-weight {
	margin-block-start: 0.75rem;
}

.btg-homepage .btg-commerce-card {
	overflow: hidden;
	padding: 0 !important;
}

.btg-homepage .btg-commerce-card__layout {
	gap: 0 !important;
	margin: 0 !important;
}

.btg-homepage .btg-commerce-card__layout > .wp-block-column {
	margin: 0 !important;
}

.btg-homepage .btg-commerce-card__media {
	background: var(--btg-surface);
	block-size: 100%;
	margin: 0;
	overflow: hidden;
}

.btg-homepage .btg-commerce-card__media img {
	block-size: 100%;
	display: block;
	inline-size: 100%;
	object-fit: cover;
	object-position: 70% center;
}

.btg-homepage .btg-commerce-card__content {
	align-items: flex-start;
	display: flex;
	flex-direction: column;
	padding: clamp(1.75rem, 4.5vw, 3.75rem);
}

.btg-homepage .btg-commerce-card__content > * {
	max-inline-size: 36rem;
}

.btg-homepage .btg-commerce-card__eyebrow {
	letter-spacing: 0.07em;
	margin: 0;
	text-transform: uppercase;
}

.btg-homepage .btg-commerce-card__content h2 {
	margin-block: 0.65rem 0;
}

.btg-homepage .btg-commerce-card__summary {
	font-size: clamp(1.05rem, 1.25vw, 1.2rem);
	line-height: 1.42;
	margin: 0;
}

.btg-homepage .btg-commerce-card__contents {
	display: grid;
	gap: 0.25rem;
	list-style: none;
	margin: clamp(1.25rem, 2vw, 1.75rem) 0 0;
	padding: 0;
}

.btg-homepage .btg-commerce-card__contents li {
	margin: 0;
}

.btg-homepage .btg-commerce-card__weight {
	border-block-start: 1px solid var(--btg-line);
	font-weight: 600;
	margin: 1rem 0 0;
	padding-block-start: 0.9rem;
}

.btg-homepage .btg-commerce-card__price {
	margin: clamp(1.5rem, 2.5vw, 2rem) 0 0;
}

.btg-homepage .btg-commerce-card__price span {
	display: block;
}

.btg-homepage .btg-commerce-card__price span:first-child {
	font-family: var(--wp--preset--font-family--libre-baskerville, Georgia, serif);
	font-size: clamp(2.25rem, 4vw, 3.6rem);
	letter-spacing: -0.04em;
	line-height: 1;
}

.btg-homepage .btg-commerce-card__price span:last-child {
	color: var(--btg-muted-text);
	font-size: var(--wp--preset--font-size--small, 0.875rem);
	margin-block-start: 0.45rem;
}

.btg-homepage .btg-commerce-card__controls {
	align-items: center;
	display: flex;
	gap: 0.65rem;
	inline-size: min(100%, 28rem);
	margin-block-start: clamp(1.5rem, 2.5vw, 2rem);
}

.btg-homepage .btg-commerce-card__controls .wp-block-shortcode,
.btg-homepage .btg-commerce-card__controls .add_to_cart_inline {
	display: flex;
	flex: 1 1 auto;
	margin: 0 !important;
}

.btg-homepage .btg-commerce-card__controls .wp-block-shortcode:has(.btg-commerce-card__cart-link) {
	flex: 0 0 auto;
}

.btg-homepage .btg-commerce-card__controls .add_to_cart_inline {
	border: 0 !important;
	padding: 0 !important;
}

.btg-homepage .btg-commerce-card__controls .add_to_cart_inline .button {
	align-items: center;
	background: var(--wp--preset--color--accent, #5fae45);
	border: 1px solid var(--wp--preset--color--accent, #5fae45);
	border-radius: 999px;
	color: var(--wp--preset--color--contrast, #1a1a1a);
	display: inline-flex;
	flex: 1 1 auto;
	font-size: 0.9375rem;
	font-weight: 600;
	justify-content: center;
	min-block-size: 52px;
	padding-inline: 1.35rem;
	text-align: center;
	text-decoration: none;
}

.btg-homepage .btg-commerce-card__controls .add_to_cart_inline .button:hover {
	background: #4c9636;
	border-color: #4c9636;
	color: var(--wp--preset--color--base, #ffffff);
}

.btg-homepage .btg-commerce-card__controls .add_to_cart_inline .button[aria-disabled="true"] {
	cursor: wait;
	pointer-events: none;
}

.btg-homepage .btg-commerce-card__controls .add_to_cart_inline .button.is-btg-pending {
	opacity: 0.72;
}

.btg-homepage .btg-commerce-card__controls .add_to_cart_inline .button.is-btg-success {
	background: #4c9636;
	border-color: #4c9636;
	color: var(--wp--preset--color--base, #ffffff);
}

.btg-homepage .btg-commerce-card__controls .add_to_cart_inline .button:focus-visible,
.btg-homepage .btg-commerce-card__cart-link:focus-visible {
	outline: 3px solid var(--wp--preset--color--contrast, #1a1a1a);
	outline-offset: 3px;
}

.btg-homepage .btg-commerce-card__controls .added_to_cart,
.btg-homepage .btg-commerce-card__controls .wc-forward {
	display: none !important;
}

.btg-homepage .btg-commerce-card__cart-link {
	align-items: center;
	aspect-ratio: 1 / 1;
	block-size: 52px;
	border: 1px solid var(--btg-card-border);
	border-radius: 50%;
	box-sizing: border-box;
	color: var(--wp--preset--color--contrast, #1a1a1a);
	display: inline-flex;
	flex: 0 0 52px;
	inline-size: 52px;
	justify-content: center;
	min-block-size: 52px;
	min-inline-size: 52px;
	padding: 0 !important;
	position: relative;
	text-decoration: none;
}

.btg-homepage .btg-commerce-card__cart-link:hover {
	background: var(--btg-surface);
	border-color: var(--wp--preset--color--contrast, #1a1a1a);
}

.btg-homepage .btg-commerce-card__cart-link svg {
	block-size: 1.4rem;
	inline-size: 1.4rem;
}

.btg-homepage .btg-commerce-card__cart-count {
	align-items: center;
	background: var(--wp--preset--color--accent, #5fae45);
	border: 2px solid var(--wp--preset--color--base, #ffffff);
	border-radius: 999px;
	color: var(--wp--preset--color--contrast, #1a1a1a);
	display: inline-flex;
	font-size: 0.6875rem;
	font-weight: 700;
	justify-content: center;
	line-height: 1;
	min-block-size: 1.35rem;
	min-inline-size: 1.35rem;
	padding-inline: 0.2rem;
	position: absolute;
	right: -0.25rem;
	top: -0.25rem;
}

.btg-homepage .btg-commerce-card__cart-count[hidden],
.btg-homepage .btg-commerce-card__feedback[hidden] {
	display: none;
}

.btg-homepage .btg-commerce-card__feedback {
	color: #3b762b;
	font-weight: 600;
	margin: 0.8rem 0 0;
}

.btg-homepage .btg-commerce-card__note {
	color: var(--btg-muted-text);
	margin: 1rem 0 0;
}

.btg-homepage .btg-trust__content {
	inline-size: min(100%, 44rem);
	margin-inline: auto;
}

.btg-homepage .btg-trust__content > .wp-block-heading {
	text-align: center;
}

.btg-homepage .btg-trust__links {
	display: grid;
	column-gap: clamp(0.9rem, 1.75vw, 1.5rem);
	row-gap: 0;
	grid-template-columns: repeat(2, minmax(0, max-content));
	inline-size: 100%;
	justify-content: center;
	margin-block-start: 0.75rem;
	max-inline-size: 100%;
	border-block-start: 1px solid var(--btg-line);
}

.btg-homepage .btg-trust__links p {
	margin: 0;
}

.btg-homepage .btg-trust__links a {
	align-items: center;
	display: inline-flex;
	font-family: var(--wp--preset--font-family--source-sans-3, Arial, sans-serif);
	font-size: 1.0625rem;
	font-weight: 400;
	justify-content: flex-start;
	max-inline-size: 100%;
	min-block-size: 2.75rem;
	padding: 0.4rem 0;
	text-decoration: none;
	text-underline-offset: 0.15em;
	transition: color 160ms ease;
}

.btg-homepage .btg-trust__link-label {
	min-inline-size: 0;
}

.btg-homepage .btg-trust__link-arrow {
	color: currentColor;
	flex: 0 0 auto;
	font-size: 1.05em;
	margin-inline-start: 0.5rem;
	transition: transform 160ms ease;
}

.btg-homepage .btg-trust__links a:hover,
.btg-homepage .btg-trust__links a:focus-visible {
	color: var(--wp--preset--color--accent, #5FAE45);
}

.btg-homepage .btg-trust__links a:hover .btg-trust__link-arrow,
.btg-homepage .btg-trust__links a:focus-visible .btg-trust__link-arrow {
	transform: translateX(0.15rem);
}

/* Reserved for a future compact row of payment-method marks. */
.btg-homepage .btg-trust__payment-methods {
	display: none;
}

/* Header/footer controls are compact Source Sans 3 interface text. */
.btg-site-header .wp-block-navigation,
.btg-site-footer .wp-block-navigation {
	font-family: var(--wp--preset--font-family--source-sans-3, Arial, sans-serif);
	font-size: var(--wp--preset--font-size--small, 0.875rem);
	line-height: 1.2;
}

.btg-site-footer__inner {
	background: var(--wp--preset--color--surface, #f6f5f1);
	border: 1px solid rgb(26 26 26 / 12%);
	border-radius: 0.45rem;
	gap: var(--wp--preset--spacing--40, 1.5rem);
	padding: clamp(1.25rem, 3vw, 2rem);
}

.btg-site-footer__legal {
	margin-inline-start: auto;
}

.btg-legal-links__list {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem 1rem;
	list-style: none;
	margin: 0;
	padding: 0;
}

.btg-legal-links__item {
	font-size: var(--wp--preset--font-size--small, 0.875rem);
	line-height: 1.4;
}

.btg-legal-links__item a {
	text-underline-offset: 0.15em;
}

.btg-site-footer__seller {
	margin: 0;
}

.btg-site-footer__company {
	font-weight: 600;
	letter-spacing: 0.06em;
	margin: 0;
	text-transform: uppercase;
}

.btg-site-footer__contact {
	color: rgb(26 26 26 / 72%);
	margin-block: 0.3rem 0;
}

.btg-checkout-legal-links {
	display: block;
	font-size: 0.875em;
	font-weight: 400;
	line-height: 1.45;
	margin-block-start: 0.35rem;
}

.btg-marketing-consent {
	font-size: 0.9375rem;
	line-height: 1.5;
	margin-block-start: var(--wp--preset--spacing--30, 1rem);
}

.legal-page .wp-block-post-title {
	font-size: clamp(2rem, 1.55rem + 1.5vw, 3.1rem);
	max-inline-size: 24ch;
}

@media (min-width: 782px) {
	.btg-homepage .btg-trust__links {
		grid-template-columns: repeat(4, minmax(0, max-content));
	}
}

@media (max-width: 480px) {
	.btg-homepage .btg-trust__links {
		grid-template-columns: minmax(0, max-content);
	}
}

@media (max-width: 781px) {
	.btg-site-footer__legal {
		margin-inline-start: 0;
	}
}

.btg-site-header .wp-block-navigation {
	font-size: clamp(1rem, 0.97rem + 0.18vw, 1.0625rem);
	line-height: 1.35;
}

@media (min-width: 782px) {
	.btg-site-header .wp-block-navigation__container {
		gap: clamp(1.15rem, 1.75vw, 1.6rem);
	}
}

.btg-homepage .btg-newsletter {
	background: var(--btg-surface);
}

@media (min-width: 782px) {
	.btg-homepage .btg-tea-section--reversed .wp-block-columns {
		flex-direction: row-reverse;
	}

	.btg-homepage .btg-journey {
		grid-template-columns: repeat(3, minmax(0, 1fr));
		padding-inline-start: 0;
	}

	.btg-homepage .btg-journey li {
		padding-inline-end: var(--wp--preset--spacing--30, 1rem);
	}

	.btg-homepage .btg-newsletter .wp-block-columns {
		display: grid;
		grid-template-columns: minmax(0, 1.4fr) minmax(16rem, 0.8fr);
	}

	.btg-homepage .btg-commerce-placeholder {
		padding-inline: var(--wp--preset--spacing--50, 2.25rem);
	}
}

@media (min-width: 1024px) {
	/* Let the editorial sections use the wide canvas instead of the default text measure. */
	.btg-homepage .btg-hero > .wp-block-columns,
	.btg-homepage .btg-tea-section > .wp-block-columns {
		inline-size: 100%;
		max-inline-size: min(100%, 70rem);
	}

	.btg-homepage .btg-hero .wp-block-columns {
		display: grid;
		grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
	}

	.btg-homepage .btg-tea-section > .wp-block-columns > .wp-block-column:first-child {
		flex: 1.1 1 0;
	}

	.btg-homepage .btg-tea-section > .wp-block-columns > .wp-block-column:last-child {
		flex: 0.9 1 0;
	}

	.btg-homepage .btg-tea-section {
		padding-block: clamp(3.5rem, 4vw, 5rem) !important;
	}

	.btg-homepage .btg-tea-section .has-large-font-size {
		line-height: 1.25;
	}

}

@media (max-width: 480px) {
	.btg-homepage .btg-tea-section .has-editorial-font-size {
		font-size: clamp(1.75rem, 7vw, 2.25rem) !important;
	}

}

/* Collection 01 layout system, cards and transparent botanical layers. */
.btg-site-header,
.btg-site-footer,
.btg-homepage {
	--btg-content-max: 70rem;
	--btg-content-gutter: clamp(1rem, 2.5vw, 2rem);
}

.btg-content-container {
	box-sizing: border-box;
	inline-size: min(var(--btg-content-max), calc(100% - (2 * var(--btg-content-gutter)))) !important;
	margin-inline: auto !important;
	max-inline-size: none !important;
}

.wp-block-group.btg-site-header {
	padding-block: clamp(1.55rem, 2.25vw, 2.25rem) clamp(0.3rem, 0.4vw, 0.4rem);
	padding-inline: 0;
}

/* Keep the catalog and Cart header distinct from their purchase content. */
body.woocommerce-shop .wp-block-group.btg-site-header,
body.woocommerce-cart .wp-block-group.btg-site-header {
	border-block-end: 1px solid #e2e0d8;
}

.wp-block-group.btg-site-footer {
	padding-inline: 0 !important;
}

.btg-homepage {
	--btg-card-border: rgb(26 26 26 / 12%);
	--btg-card-shadow: 0 1rem 2.75rem rgb(26 26 26 / 9%);
	--btg-card-shadow-subtle: 0 0.65rem 1.75rem rgb(26 26 26 / 6%);
	overflow-x: clip;
	position: relative;
}


.btg-homepage > .btg-section:not(.btg-content-container) {
	box-sizing: border-box;
	inline-size: 100% !important;
	margin-block: 0;
	max-inline-size: none !important;
}

.btg-homepage .btg-section {
	isolation: isolate;
	position: relative;
}

.btg-homepage .btg-section > :not(.btg-botanical-decoration) {
	position: relative;
	z-index: 1;
}

.btg-homepage .btg-botanical-decoration {
	pointer-events: none;
	position: absolute;
	z-index: 0;
}

.btg-homepage .btg-botanical-decoration img {
	block-size: auto;
	display: block;
	inline-size: 100%;
	max-inline-size: none;
}

.btg-homepage .btg-hero__layout,
.btg-homepage .btg-collection-intro,
.btg-homepage .btg-tea-section > .wp-block-columns,
.btg-homepage .btg-journey-card,
.btg-homepage .btg-packaging > .wp-block-columns,
.btg-homepage .btg-commerce-placeholder,
.btg-homepage .btg-commerce-card,
.btg-homepage .btg-trust,
.btg-homepage .btg-newsletter {
	background: var(--wp--preset--color--base, #ffffff);
	border: 1px solid var(--btg-card-border);
	border-radius: 0.45rem;
	box-shadow: var(--btg-card-shadow);
}

.btg-homepage .btg-hero__layout {
	overflow: hidden;
}

.btg-homepage .btg-hero__layout > .btg-hero__media,
.btg-homepage .btg-hero__layout > .btg-hero__content {
	margin: 0 !important;
	max-inline-size: none !important;
}

.btg-homepage .btg-hero__media,
.btg-homepage .btg-packaging__media {
	margin: 0;
}

.btg-homepage .btg-hero__media img,
.btg-homepage .btg-packaging__media img {
	block-size: auto;
	display: block;
	inline-size: 100%;
}

.btg-homepage .btg-hero__content {
	background: var(--wp--preset--color--base, #ffffff);
	padding: clamp(1.5rem, 5vw, 3.5rem);
}

.btg-homepage .btg-hero__content > * {
	max-inline-size: 38rem;
}

.btg-homepage .btg-hero__content .wp-block-button__link {
	align-items: center;
	display: inline-flex;
	min-block-size: 44px;
}

.btg-homepage .btg-collection-intro {
	padding: clamp(2rem, 4vw, 3.5rem) !important;
}

.btg-homepage .btg-collection-intro > :first-child {
	margin-block-start: 0;
}

.btg-homepage .btg-tea-section > .wp-block-columns,
.btg-homepage .btg-packaging > .wp-block-columns {
	padding: clamp(1.25rem, 3vw, 2.75rem);
}

.btg-homepage .btg-journey-section,
.btg-homepage .btg-commerce-section {
	background: transparent;
}

.btg-homepage .btg-journey-card {
	padding: clamp(2rem, 4vw, 3.5rem);
}

.btg-homepage .btg-journey__copy {
	color: var(--btg-muted-text);
	display: block;
	font-size: clamp(0.95rem, 1.1vw, 1.1rem);
	line-height: 1.45;
	margin-block-start: 0.65rem;
	max-inline-size: 28ch;
}

.btg-homepage .btg-commerce-placeholder {
	padding: clamp(2.75rem, 5vw, 4.5rem) clamp(1.5rem, 4vw, 3.5rem) !important;
}

.btg-homepage .btg-trust {
	margin-block: clamp(2.5rem, 5vw, 4rem);
	padding: clamp(1.1rem, 2.4vw, 1.5rem) clamp(1.25rem, 3vw, 2.5rem) !important;
	background: transparent;
	border: 0;
	border-radius: 0;
	box-shadow: none;
}

.btg-homepage .btg-newsletter {
	padding: clamp(2.75rem, 5vw, 4.5rem) clamp(1.5rem, 4vw, 3.5rem) !important;
}

.btg-homepage .btg-product-gallery {
	background: var(--wp--preset--color--base, #ffffff);
	border: 1px solid var(--btg-card-border);
	border-radius: 0.3rem;
	box-shadow: var(--btg-card-shadow-subtle);
	margin: 0 auto;
	max-inline-size: 34rem;
	padding: 0.75rem;
}

.btg-homepage .btg-product-gallery__main {
	aspect-ratio: 1;
	background: var(--btg-surface);
	border: 1px solid var(--btg-card-border);
	border-radius: 0.2rem;
	overflow: hidden;
}

.btg-homepage .btg-product-gallery__main img {
	block-size: 100%;
	display: block;
	inline-size: 100%;
	object-fit: contain;
}

.btg-homepage .btg-product-gallery__thumbnails {
	display: grid;
	gap: 0.6rem;
	grid-template-columns: repeat(3, minmax(44px, 1fr));
	margin-block-start: 0.75rem;
}

.btg-homepage .btg-product-gallery__thumbnail {
	appearance: none;
	aspect-ratio: 1;
	background: var(--btg-surface);
	border: 1px solid var(--btg-card-border);
	border-radius: 0.2rem;
	cursor: pointer;
	display: block;
	margin: 0;
	min-block-size: 44px;
	min-inline-size: 44px;
	overflow: hidden;
	padding: 0;
}

.btg-homepage .btg-product-gallery__thumbnail img {
	block-size: 100%;
	display: block;
	inline-size: 100%;
	object-fit: contain;
}

.btg-homepage .btg-product-gallery__thumbnail:hover,
.btg-homepage .btg-product-gallery__thumbnail.is-active {
	border-color: var(--wp--preset--color--contrast, #1a1a1a);
}

.btg-homepage .btg-product-gallery__thumbnail.is-active {
	box-shadow: inset 0 0 0 1px var(--wp--preset--color--contrast, #1a1a1a);
}

.btg-homepage .btg-product-gallery__fallback {
	font-size: var(--wp--preset--font-size--small, 0.875rem);
	margin: 0.9rem 0 0;
}

.btg-homepage .btg-packaging__media {
	background: var(--btg-surface);
	border-radius: 0.25rem;
	overflow: hidden;
}

.btg-homepage .btg-social-links {
	align-items: center;
	display: flex;
	flex-wrap: wrap;
	gap: 0.65rem;
	margin-block: clamp(2.5rem, 4vw, 3.75rem) 0;
}

.btg-homepage .btg-social-links__link {
	align-items: center;
	border: 1px solid var(--btg-card-border);
	border-radius: 999px;
	color: var(--wp--preset--color--contrast, #1a1a1a);
	display: inline-flex;
	inline-size: 2.75rem;
	justify-content: center;
	min-block-size: 2.75rem;
	text-decoration: none;
	transition: background-color 160ms ease, border-color 160ms ease, color 160ms ease;
}

.btg-homepage .btg-social-links__link:hover {
	background: var(--wp--preset--color--contrast, #1a1a1a);
	border-color: var(--wp--preset--color--contrast, #1a1a1a);
	color: var(--wp--preset--color--base, #ffffff);
}

.btg-homepage .btg-social-links__link:focus-visible {
	outline: 3px solid var(--wp--preset--color--primary, #5fae45);
	outline-offset: 3px;
}

.btg-homepage .btg-social-links__link svg {
	block-size: 1.2rem;
	inline-size: 1.2rem;
}

/* Transparent PNGs sit below storytelling cards; card content covers their base. */
.btg-homepage .btg-botanical-decoration--tea-one {
	bottom: clamp(3rem, 4.5vw, 5rem);
	inline-size: clamp(20rem, 26vw, 26rem);
	left: max(-6rem, calc((100% - var(--btg-content-max)) / 2 - 10rem));
	opacity: 0.44;
}

.btg-homepage .btg-botanical-decoration--tea-one-support {
	inline-size: clamp(12rem, 16vw, 16rem);
	right: max(1rem, calc((100% - var(--btg-content-max)) / 2 - 7rem));
	opacity: 0.32;
	top: -5rem;
}

.btg-homepage .btg-botanical-decoration--tea-one-support img {
	transform: scaleX(-1);
}

.btg-homepage .btg-botanical-decoration--tea-two {
	inline-size: clamp(20rem, 24vw, 25rem);
	opacity: 0.4;
	right: max(-5rem, calc((100% - var(--btg-content-max)) / 2 - 10rem));
	top: -2.25rem;
}

.btg-homepage .btg-botanical-decoration--tea-three-berry {
	bottom: auto;
	inline-size: clamp(16rem, 21vw, 20rem);
	left: max(0rem, calc((100% - var(--btg-content-max)) / 2 + 2rem));
	opacity: 0.45;
	top: -7.5rem;
}

.btg-homepage .btg-botanical-decoration--tea-three-berry img {
	transform: scaleX(-1);
}

.btg-homepage .btg-botanical-decoration--tea-three {
	bottom: clamp(4rem, 5.5vw, 6rem);
	inline-size: clamp(14rem, 19vw, 19rem);
	opacity: 0.38;
	right: max(0rem, calc((100% - var(--btg-content-max)) / 2 - 11rem));
}

.btg-homepage .btg-botanical-decoration--journey {
	bottom: -5.5rem;
	inline-size: clamp(11rem, 16vw, 15rem);
	left: max(-4.5rem, calc((100% - var(--btg-content-max)) / 2 - 8.5rem));
	opacity: 0.42;
}

.btg-homepage .btg-botanical-decoration--journey-support {
	inline-size: clamp(6rem, 8vw, 8rem);
	opacity: 0.22;
	right: max(-1rem, calc((100% - var(--btg-content-max)) / 2 - 2rem));
	top: -1.25rem;
}

.btg-homepage .btg-botanical-decoration--gift {
	bottom: -4rem;
	inline-size: clamp(11rem, 16vw, 15rem);
	opacity: 0.38;
	right: max(-4.5rem, calc((100% - var(--btg-content-max)) / 2 - 8.5rem));
}

.btg-homepage .btg-botanical-decoration--gift img {
	transform: scaleX(-1);
}

.btg-homepage .btg-botanical-decoration--gift-support {
	inline-size: clamp(7rem, 9vw, 9rem);
	left: max(-2rem, calc((100% - var(--btg-content-max)) / 2 - 3rem));
	top: -2rem;
	opacity: 0.2;
}

@media (min-width: 782px) {
	.btg-homepage .btg-hero h1 {
		font-size: clamp(2rem, 3.1vw, 3.4rem) !important;
		line-height: 1.06;
		max-inline-size: 13ch;
	}

	.btg-homepage .btg-hero .has-large-font-size {
		font-size: clamp(1.08rem, 1.3vw, 1.35rem) !important;
		line-height: 1.35;
	}

	.btg-homepage .btg-hero__content > p:not(.has-small-font-size):not(.has-large-font-size) {
		font-size: clamp(0.95rem, 1.05vw, 1.05rem);
		line-height: 1.45;
		max-inline-size: 29rem;
	}

	.btg-homepage .btg-hero .wp-block-button {
		margin-block-start: clamp(1.5rem, 2vw, 1.85rem);
	}

	.btg-homepage .btg-hero .wp-block-button__link {
		font-size: 0.8125rem;
		min-block-size: 40px;
		padding: 0.6rem 1.15rem;
	}

	.btg-homepage .btg-hero__layout {
		display: grid;
		grid-template-columns: minmax(0, 1fr);
	}

	.btg-homepage .btg-hero__media,
	.btg-homepage .btg-hero__content {
		grid-area: 1 / 1;
	}

	.btg-homepage .btg-commerce-card__layout {
		display: grid;
		grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
	}

	.btg-homepage .btg-commerce-card__media-column {
		display: flex;
	}

	.btg-homepage .btg-commerce-card__media {
		inline-size: 100%;
	}

	.btg-homepage .btg-hero__media {
		block-size: 100%;
	}

	.btg-homepage .btg-hero__media img {
		block-size: 100%;
		object-fit: cover;
		object-position: center;
	}

	.btg-homepage .btg-hero__content {
		--btg-hero-overlay-shift: clamp(1rem, 2.25vw, 2.25rem);
		align-self: stretch;
		background: linear-gradient(90deg, rgb(255 255 255 / 92%) 0%, rgb(255 255 255 / 82%) 48%, rgb(255 255 255 / 18%) 84%, transparent 100%);
		display: grid;
		inline-size: min(72%, 48rem);
		justify-self: start;
		padding: clamp(2rem, 4vw, 4rem) clamp(2rem, 4.5vw, 4.5rem);
		transform: translateX(calc(0px - var(--btg-hero-overlay-shift)));
	}

	.btg-homepage .btg-tea-section h2.has-editorial-font-size {
		font-size: clamp(1.5rem, 2.4vw, 3rem) !important;
		letter-spacing: -0.025em;
		line-height: 1.08;
		white-space: nowrap;
	}

	.btg-homepage .btg-journey {
		gap: clamp(1rem, 2vw, 1.75rem);
		grid-template-columns: repeat(3, minmax(11rem, 1fr));
	}

	.btg-homepage .btg-journey strong {
		font-size: clamp(1.45rem, 2.25vw, 2.35rem);
		letter-spacing: -0.025em;
		overflow-wrap: normal;
		white-space: nowrap;
		word-break: normal;
	}

	.btg-homepage .btg-packaging__media {
		align-self: center;
	}

	.btg-homepage .btg-newsletter .wp-block-columns {
		display: grid;
		grid-template-columns: minmax(0, 1.4fr) minmax(16rem, 0.8fr);
	}

	.btg-homepage .btg-newsletter .wp-block-column:last-child {
		align-items: center;
		display: flex;
	}

	.btg-homepage .btg-newsletter .btg-social-links {
		margin-block: 0;
	}
}

@media (min-width: 1024px) {
	.btg-homepage .btg-commerce-section > .btg-commerce-card {
		inline-size: min(var(--btg-content-max), calc(100% - (2 * var(--btg-content-gutter)))) !important;
		max-inline-size: none !important;
		max-width: none !important;
		width: min(var(--btg-content-max), calc(100% - (2 * var(--btg-content-gutter)))) !important;
	}

	.btg-homepage .btg-commerce-card > .btg-commerce-card__layout {
		inline-size: 100% !important;
		max-inline-size: none !important;
		max-width: none !important;
		width: 100% !important;
	}

	.btg-homepage .btg-commerce-card__layout {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.btg-homepage .btg-commerce-card__media-column {
		align-items: stretch;
		display: flex;
	}

	.btg-homepage .btg-commerce-card__media {
		aspect-ratio: auto;
		block-size: 100%;
		min-block-size: 0;
	}

	.btg-homepage .btg-commerce-card__media img {
		object-position: 84% center;
	}

	.btg-homepage .btg-commerce-card__content {
		padding: clamp(2rem, 3vw, 3rem) clamp(3rem, 4.5vw, 4.25rem);
	}

	.btg-homepage .btg-commerce-card__content h2 {
		margin-block: 0.65rem 0.2rem;
	}

	.btg-homepage .btg-commerce-card__contents {
		margin-block-start: 1.15rem;
	}

	.btg-homepage .btg-commerce-card__weight {
		margin-block-start: 1rem;
		padding-block-start: 0.85rem;
	}

	.btg-homepage .btg-commerce-card__price,
	.btg-homepage .btg-commerce-card__controls {
		margin-block-start: 1.35rem;
	}

	.btg-homepage .btg-commerce-card__note {
		margin-block-start: 0.95rem;
	}
}

@media (min-width: 1024px) {
	.btg-homepage .btg-tea-section > .wp-block-columns > .wp-block-column:first-child {
		flex: 1.1 1 0;
	}

	.btg-homepage .btg-tea-section > .wp-block-columns > .wp-block-column:last-child {
		flex: 0.9 1 0;
	}

	/* Desktop only: separate the net weight from the ingredients heading. */
	.btg-homepage .btg-tea-section__preparation .btg-tea-ingredients-heading {
		margin-block-start: 1.25rem;
	}

	/* Match the two supporting lines in the purchase card. */
	.btg-homepage .btg-commerce-card__price span:last-child,
	.btg-homepage .btg-commerce-card__note.has-small-font-size {
		font-size: 1rem !important;
		line-height: 1.4;
	}
}

@media (max-width: 781px) {
	.btg-site-header,
	.btg-site-footer,
	.btg-homepage {
		--btg-content-gutter: 1rem;
	}

	.btg-homepage .btg-botanical-decoration {
		display: block;
	}

	.btg-homepage .btg-botanical-decoration--tea-one {
		bottom: 2rem;
		inline-size: 14rem;
		left: -2.5rem;
		opacity: 0.36;
	}

	.btg-homepage .btg-botanical-decoration--tea-one-support {
		inline-size: 10rem;
		opacity: 0.28;
		right: -1rem;
		top: -2.5rem;
	}

	.btg-homepage .btg-botanical-decoration--tea-two {
		inline-size: 14rem;
		opacity: 0.34;
		right: -3rem;
		top: -2rem;
	}

	.btg-homepage .btg-botanical-decoration--tea-three-berry {
		bottom: auto;
		inline-size: 11rem;
		left: 1rem;
		opacity: 0.45;
		top: -2.25rem;
	}

	.btg-homepage .btg-botanical-decoration--tea-three {
		bottom: 3rem;
		inline-size: 12rem;
		opacity: 0.35;
		right: 0;
	}

	.btg-homepage .btg-botanical-decoration--journey {
		bottom: -2rem;
		inline-size: 9rem;
		left: 1rem;
		opacity: 0.28;
	}

	.btg-homepage .btg-botanical-decoration--gift,
	.btg-homepage .btg-botanical-decoration--journey-support {
		display: none;
	}

	.btg-homepage .btg-botanical-decoration--gift {
		bottom: -2rem;
		inline-size: 10rem;
		opacity: 0.3;
		right: -2.5rem;
	}

	.btg-homepage .btg-botanical-decoration--gift-support {
		inline-size: 7rem;
		left: -2rem;
		opacity: 0.24;
		top: -1rem;
	}

	.btg-homepage .btg-hero h1 {
		font-size: clamp(2rem, 4.75vw, 2.55rem) !important;
		line-height: 1.14;
	}

	.btg-homepage .btg-hero__content {
		padding: clamp(1.25rem, 4.5vw, 2rem);
	}

	.btg-homepage .btg-hero .has-large-font-size {
		font-size: clamp(1.1rem, 2.5vw, 1.25rem) !important;
		line-height: 1.38;
	}

	.btg-homepage .btg-hero .wp-block-button {
		margin-block-start: 1.25rem;
	}

	.btg-homepage .btg-hero .wp-block-buttons {
		justify-content: center;
	}

	.btg-homepage .btg-tea-section {
		padding-block: clamp(2.25rem, 8vw, 3.5rem) !important;
	}

	.btg-homepage .btg-tea-section > .wp-block-columns,
	.btg-homepage .btg-packaging > .wp-block-columns {
		gap: 1.25rem;
		padding: 0.875rem;
	}

	.btg-homepage .btg-tea-section > .wp-block-columns {
		display: grid;
		gap: 0;
		grid-template-columns: minmax(0, 1fr);
	}

	.btg-homepage .btg-tea-section > .wp-block-columns > .wp-block-column {
		display: contents;
	}

	.btg-homepage .btg-tea-section > .wp-block-columns > .wp-block-column:first-child > :nth-child(n + 4) {
		order: 5;
	}

	.btg-homepage .btg-tea-section > .wp-block-columns > .wp-block-column:last-child > .btg-product-gallery {
		margin: 1.25rem 0 0;
		order: 4;
	}

	.btg-homepage .btg-tea-section > .wp-block-columns > .wp-block-column:last-child > .btg-tea-section__preparation {
		margin-block-start: 1.25rem;
		order: 6;
	}

	.btg-homepage .btg-tea-section .wp-block-column:first-child > * {
		margin-block: 0;
	}

	.btg-homepage .btg-tea-section .wp-block-column:first-child > * + * {
		margin-block-start: 0.7rem;
	}

	.btg-homepage .btg-tea-section h2.has-editorial-font-size {
		font-size: clamp(1.65rem, 4.5vw, 2.1rem) !important;
		letter-spacing: -0.02em;
		line-height: 1.14;
	}

	.btg-homepage .btg-tea-section .has-large-font-size {
		font-size: clamp(1.05rem, 2.8vw, 1.18rem) !important;
		line-height: 1.35;
	}

	.btg-homepage .btg-tea-section h3 {
		font-size: 0.75rem !important;
		letter-spacing: 0.07em;
		margin-block-start: 1.15rem !important;
	}

	.btg-homepage .btg-product-identifier {
		letter-spacing: 0.03em;
	}

	.btg-homepage .btg-product-capsule {
		gap: 0.35rem;
		padding: 0.3em 0.55em;
	}

	.btg-homepage .btg-product-gallery {
		max-inline-size: none;
		padding: 0.6rem;
	}

	.btg-homepage .btg-product-gallery__thumbnails {
		gap: 0.45rem;
		margin-block-start: 0.6rem;
	}

	.btg-homepage .btg-journey-section {
		padding-block: clamp(1rem, 4.5vw, 1.25rem) !important;
	}

	.btg-homepage .btg-packaging {
		padding-block-end: 1.625rem !important;
	}

	.btg-homepage .btg-commerce-section {
		padding-block-start: 1.625rem !important;
	}

	.btg-homepage .btg-journey-card {
		padding: clamp(1.25rem, 5vw, 1.5rem);
	}

	.btg-homepage .btg-journey {
		gap: 0.45rem;
		padding-inline-start: 1.2rem;
	}

	.btg-homepage .btg-journey li {
		border-color: rgb(26 26 26 / 11%);
		padding-block-start: 0.5rem;
	}

	.btg-homepage .btg-journey strong {
		font-size: clamp(1.55rem, 6.5vw, 2rem);
		line-height: 1.1;
	}

	.btg-homepage .btg-journey__copy {
		font-size: 0.9375rem;
		line-height: 1.35;
		margin-block-start: 0.35rem;
		max-inline-size: 30ch;
	}

	.btg-homepage .btg-trust {
		margin-block: clamp(2rem, 8vw, 3rem);
		padding: clamp(1rem, 5vw, 1.25rem) clamp(1.25rem, 5.5vw, 1.5rem) !important;
	}

	.btg-homepage .btg-newsletter {
		padding: clamp(2.25rem, 8vw, 3.25rem) clamp(1.25rem, 5.5vw, 1.5rem) !important;
	}

	.btg-homepage .btg-trust h2,
	.btg-homepage .btg-newsletter h2 {
		font-size: clamp(1.45rem, 4.8vw, 1.95rem) !important;
		line-height: 1.16;
	}

	.btg-homepage .btg-packaging h2,
	.btg-homepage .btg-commerce-placeholder h2,
	.btg-homepage .btg-commerce-card h2 {
		font-size: clamp(1.6rem, 4.8vw, 2.05rem) !important;
		line-height: 1.16;
	}

	.btg-homepage .btg-trust .wp-block-columns,
	.btg-homepage .btg-newsletter .wp-block-columns {
		gap: 1.1rem;
	}

	.btg-homepage .btg-trust .wp-block-columns {
		padding-block-start: 1rem;
	}

	.btg-homepage .btg-social-links {
		justify-content: center;
		margin-block-start: 2.25rem;
		inline-size: 100%;
	}

	.btg-homepage .btg-newsletter .wp-block-column:last-child {
		align-items: center;
		display: flex;
	}

	.btg-homepage .btg-commerce-card__content {
		padding: 1.5rem 1.25rem 1.75rem;
	}

	.btg-homepage .btg-commerce-card__media {
		aspect-ratio: 1125 / 1250;
	}

	.btg-homepage .btg-commerce-card__media img {
		object-fit: contain;
		object-position: center;
	}

	.btg-homepage .btg-commerce-card__price span:first-child {
		font-size: clamp(2.2rem, 11vw, 3rem);
	}

	.btg-homepage .btg-commerce-card__controls {
		inline-size: 100%;
	}
}

@media (max-width: 599px) {
	.wp-block-group.btg-site-header {
		padding-block: 1rem 0.75rem;
	}

	.btg-site-header .btg-header-row {
		flex-wrap: nowrap !important;
		gap: 0.5rem !important;
	}

	.btg-site-header .btg-brand-slot {
		flex: 1 1 auto;
		min-inline-size: 0;
	}

	.btg-site-header .btg-brand-logo {
		inline-size: min(200px, 100%);
	}

	.btg-site-header .btg-header-actions {
		flex: 0 0 auto;
		gap: 0.25rem;
		margin-inline-start: 0;
	}

	.btg-site-header .wp-block-navigation__responsive-container-open {
		min-inline-size: 40px;
	}
}

@media (max-width: 520px) {
	.btg-homepage .btg-hero__media {
		aspect-ratio: 2043 / 941;
		overflow: hidden;
	}

	.btg-homepage .btg-hero__media img {
		block-size: auto;
		object-fit: contain;
		object-position: center;
	}

	.btg-homepage .btg-hero h1 {
		font-size: clamp(1.75rem, 7vw, 2.1rem) !important;
	}

	.btg-homepage .btg-tea-section h2.has-editorial-font-size {
		font-size: clamp(1.5rem, 6.25vw, 1.9rem) !important;
	}

	.btg-homepage .btg-collection-intro h2,
	.btg-homepage .btg-packaging h2,
	.btg-homepage .btg-commerce-placeholder h2 {
		font-size: clamp(1.45rem, 6.2vw, 1.85rem) !important;
	}

	.btg-homepage .btg-trust h2,
	.btg-homepage .btg-newsletter h2 {
		font-size: clamp(1.4rem, 5.4vw, 1.75rem) !important;
	}
}

/* WooCommerce My Account: a light BTG customer area around native account flows. */
.btg-account-page {
	--btg-account-line: #e2e0d8;
	--btg-account-muted: rgb(26 26 26 / 70%);
	--btg-account-error: #8c251d;
	box-sizing: border-box;
	inline-size: min(70rem, calc(100% - (2 * clamp(1rem, 2.5vw, 2rem)))) !important;
	margin-inline: auto !important;
	max-inline-size: none !important;
}

.btg-account-page > .wp-block-post-title,
.btg-account-page > .wp-block-post-content {
	inline-size: 100%;
	max-inline-size: none;
}

.btg-account-page .wp-block-post-title,
body.woocommerce-cart .btg-plain-page > .wp-block-post-title,
body.woocommerce-cart .wp-block-post-title,
body.woocommerce-shop .wp-block-query-title {
	font-size: clamp(2rem, 1.87rem + 0.35vw, 2.25rem) !important;
}

.btg-account-page .wp-block-post-title {
	margin-block: 0 clamp(0.35rem, 0.5vw, 0.5rem) !important;
}

/* A light editorial separation between the site header and a plain page heading. */
.btg-plain-page::before {
	border-block-start: 1px solid #e7e5df;
	box-sizing: border-box;
	content: "";
	display: block;
	inline-size: 100% !important;
	margin-block: 0 clamp(1rem, 1.5vw, 1.25rem);
	margin-inline: 0 !important;
	max-inline-size: none !important;
}

@media (min-width: 782px) {
	.btg-account-page,
	.btg-plain-page {
		margin-block-start: clamp(1.5rem, 2vw, 2rem) !important;
	}

	.btg-plain-page::before {
		margin-block-end: clamp(0.875rem, 1.25vw, 1.125rem);
	}

	.btg-account-page .wp-block-post-title {
		border-block-start: 1px solid #e7e5df;
		box-sizing: border-box;
		inline-size: 100% !important;
		margin-block-start: 0 !important;
		margin-block-end: clamp(1.25rem, 2vw, 1.5rem) !important;
		max-inline-size: none !important;
		padding-block-start: clamp(0.875rem, 1.25vw, 1.125rem);
	}

}

.btg-account-page .woocommerce {
	font-family: var(--wp--preset--font-family--source-sans-3, Arial, sans-serif);
	overflow-wrap: anywhere;
}

.btg-account-page .woocommerce::after {
	clear: both;
	content: "";
	display: table;
}

.btg-account-page .btg-account-intro {
	color: var(--btg-account-muted);
	font-size: clamp(1.0625rem, 1.02rem + 0.2vw, 1.125rem);
	line-height: 1.45;
	margin-block: 0 clamp(1.25rem, 2vw, 1.75rem);
	max-inline-size: 48rem;
}

.btg-account-page .btg-account-intro p {
	margin: 0;
}

.btg-account-page .woocommerce-notices-wrapper .woocommerce-error,
.btg-account-page .woocommerce-notices-wrapper .woocommerce-info,
.btg-account-page .woocommerce-notices-wrapper .woocommerce-message,
.btg-account-page .woocommerce-error,
.btg-account-page .woocommerce-info,
.btg-account-page .woocommerce-message,
.btg-account-page .wc-block-components-notice-banner {
	background: #f7f6f2 !important;
	border: 1px solid #e2e0d8 !important;
	border-inline-start: 3px solid var(--wp--preset--color--accent, #5FAE45) !important;
	border-radius: clamp(0.5rem, 0.6vw, 0.625rem) !important;
	box-shadow: 0 0.5rem 1.75rem rgb(0 0 0 / 3.5%) !important;
	box-sizing: border-box;
	color: var(--wp--preset--color--contrast, #1a1a1a) !important;
	font-family: var(--wp--preset--font-family--source-sans-3, Arial, sans-serif) !important;
	line-height: 1.5 !important;
	list-style: none !important;
	margin: 0 0 clamp(1.25rem, 2.25vw, 1.75rem) !important;
	padding: 0.875rem 1rem 0.875rem 3rem !important;
	position: relative;
}

.btg-account-page .woocommerce-notices-wrapper .woocommerce-error,
.btg-account-page .woocommerce-error,
.btg-account-page .wc-block-components-notice-banner.is-error {
	border-inline-start-color: var(--btg-account-error) !important;
}

.btg-account-page .woocommerce-notices-wrapper .woocommerce-message,
.btg-account-page .woocommerce-message,
.btg-account-page .wc-block-components-notice-banner.is-success {
	background: #f4f8f1 !important;
	border-inline-start-color: var(--wp--preset--color--accent, #5FAE45) !important;
}

.btg-account-page .woocommerce-notices-wrapper .woocommerce-error::before,
.btg-account-page .woocommerce-notices-wrapper .woocommerce-info::before,
.btg-account-page .woocommerce-notices-wrapper .woocommerce-message::before,
.btg-account-page .woocommerce-error::before,
.btg-account-page .woocommerce-info::before,
.btg-account-page .woocommerce-message::before,
.btg-account-page .wc-block-components-notice-banner svg {
	color: var(--wp--preset--color--accent, #5FAE45) !important;
	display: block !important;
}

.btg-account-page .woocommerce-notices-wrapper .woocommerce-info::before,
.btg-account-page .woocommerce-notices-wrapper .woocommerce-message::before,
.btg-account-page .woocommerce-info::before,
.btg-account-page .woocommerce-message::before {
	background: transparent !important;
	color: #5FAE45 !important;
}

.btg-account-page .wc-block-components-notice-banner:not(.is-error) svg,
.btg-account-page .wc-block-components-notice-banner:not(.is-error) svg * {
	color: #5FAE45 !important;
	fill: #5FAE45 !important;
	stroke: #5FAE45 !important;
}

/* Woo Blocks colours the info marker with the SVG's own background, not text colour. */
.btg-account-page .wc-block-components-notice-banner.is-info > svg {
	background-color: #5FAE45 !important;
	color: #ffffff !important;
	fill: #ffffff !important;
	stroke: #ffffff !important;
}

.btg-account-page .wc-block-components-notice-banner.is-info > svg * {
	color: #ffffff !important;
	fill: #ffffff !important;
	stroke: #ffffff !important;
}

.btg-account-page .woocommerce-notices-wrapper .woocommerce-error::before,
.btg-account-page .woocommerce-error::before,
.btg-account-page .wc-block-components-notice-banner.is-error svg,
.btg-account-page .wc-block-components-notice-banner.is-error svg * {
	color: var(--btg-account-error) !important;
	fill: var(--btg-account-error) !important;
	stroke: var(--btg-account-error) !important;
}

.btg-account-page .btg-account-auth-card {
	background: var(--wp--preset--color--base, #ffffff);
	border: 1px solid #e7e5df;
	border-radius: clamp(0.5rem, 0.6vw, 0.625rem);
	box-shadow: 0 0.5rem 1.75rem rgb(0 0 0 / 3.5%);
	box-sizing: border-box;
	inline-size: 100%;
	margin: 0;
	max-inline-size: var(--btg-content-max, 70rem);
	padding: clamp(2rem, 3vw, 2.5rem);
}

.btg-account-page .btg-account-auth-card #customer_login {
	align-items: start;
	column-gap: clamp(2.5rem, 5vw, 4rem);
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	margin: 0;
	position: relative;
}

.btg-account-page .btg-account-auth-card #customer_login::before {
	background: var(--btg-account-line);
	block-size: 100%;
	content: "";
	inline-size: 1px;
	inset-block: 0;
	inset-inline-start: 50%;
	position: absolute;
	transform: translateX(-0.5px);
}

.btg-account-page .btg-account-auth-card #customer_login .u-column1,
.btg-account-page .btg-account-auth-card #customer_login .u-column2 {
	border: 0;
	float: none;
	inline-size: auto;
	margin: 0;
	padding: 0;
	width: auto;
}

.btg-account-page .btg-account-auth-card .btg-account-auth-section {
	display: flex;
	flex-direction: column;
	min-inline-size: 0;
}

.btg-account-page .btg-account-auth-card .btg-account-auth-section h2 {
	font-family: var(--wp--preset--font-family--libre-baskerville, Georgia, serif);
	font-size: clamp(1.5rem, 1.38rem + 0.35vw, 1.875rem);
	font-weight: 400;
	line-height: 1.2;
	margin: 0;
}

.btg-account-page .btg-account-dashboard h2 {
	font-family: var(--wp--preset--font-family--libre-baskerville, Georgia, serif);
	font-size: clamp(1.875rem, 1.75rem + 0.35vw, 2.25rem);
	font-weight: 400;
	line-height: 1.2;
	margin: 0;
}

.btg-account-page .btg-account-auth-section__description {
	color: var(--btg-account-muted);
	line-height: 1.5;
	margin: 0.75rem 0 0;
	max-inline-size: 35rem;
}

.btg-account-page .woocommerce form.woocommerce-form-login,
.btg-account-page .woocommerce form.woocommerce-form-register,
.btg-account-page .woocommerce form.edit-account,
.btg-account-page .woocommerce form.woocommerce-EditAccountForm,
.btg-account-page .woocommerce form.woocommerce-address-form,
.btg-account-page .woocommerce form.woocommerce-ResetPassword {
	border: 0;
	border-radius: 0;
	display: grid;
	gap: 0.95rem;
	margin: clamp(1.25rem, 2vw, 1.75rem) 0 0;
	padding: 0;
}

.btg-account-page .woocommerce form .form-row {
	float: none;
	inline-size: 100%;
	margin: 0;
	padding: 0;
}

.btg-account-page .woocommerce form .form-row label {
	display: block;
	font-size: 1rem;
	font-weight: 600;
	line-height: 1.35;
	margin-block-end: 0.5rem;
}

.btg-account-page .woocommerce form .form-row .required {
	color: currentColor;
	font-weight: 600;
}

.btg-account-page .woocommerce .input-text,
.btg-account-page .woocommerce select,
.btg-account-page .woocommerce textarea {
	background: var(--wp--preset--color--base, #ffffff);
	border: 1px solid #d8d8d3;
	border-radius: 2px;
	box-shadow: none;
	box-sizing: border-box;
	color: var(--wp--preset--color--contrast, #1a1a1a);
	font-family: var(--wp--preset--font-family--source-sans-3, Arial, sans-serif);
	font-size: 1rem;
	inline-size: 100%;
	line-height: 1.35;
	min-block-size: 48px;
	padding: 0.65rem 0.85rem;
	transition: border-color 160ms ease;
}

.btg-account-page .woocommerce textarea {
	min-block-size: 8rem;
}

.btg-account-page .woocommerce .select2-container {
	inline-size: 100% !important;
}

.btg-account-page .woocommerce .select2-container--default .select2-selection--single {
	background: var(--wp--preset--color--base, #ffffff);
	border: 1px solid #d8d8d3;
	border-radius: 2px;
	box-sizing: border-box;
	height: 48px;
}

.btg-account-page .woocommerce .select2-container--default .select2-selection--single .select2-selection__rendered {
	color: var(--wp--preset--color--contrast, #1a1a1a);
	line-height: 46px;
	padding-inline: 0.85rem 2rem;
}

.btg-account-page .woocommerce .select2-container--default .select2-selection--single .select2-selection__arrow {
	height: 46px;
	right: 0.45rem;
}

.btg-account-page .woocommerce .select2-container--open .select2-selection--single {
	border-color: var(--wp--preset--color--accent, #5FAE45);
	outline: 2px solid var(--wp--preset--color--contrast, #1a1a1a);
	outline-offset: 2px;
}

.btg-account-page .woocommerce .input-text::placeholder,
.btg-account-page .woocommerce textarea::placeholder {
	color: rgb(26 26 26 / 55%);
	opacity: 1;
}

.btg-account-page .woocommerce .input-text:focus,
.btg-account-page .woocommerce select:focus,
.btg-account-page .woocommerce textarea:focus {
	border-color: var(--wp--preset--color--accent, #5FAE45);
	box-shadow: none;
	outline: 2px solid var(--wp--preset--color--contrast, #1a1a1a);
	outline-offset: 2px;
}

.btg-account-page .woocommerce .woocommerce-invalid .input-text,
.btg-account-page .woocommerce .woocommerce-invalid select,
.btg-account-page .woocommerce .input-text[aria-invalid="true"] {
	border-color: var(--btg-account-error);
}

.btg-account-page .woocommerce .woocommerce-validated .input-text,
.btg-account-page .woocommerce .woocommerce-validated select {
	border-color: var(--wp--preset--color--accent, #5FAE45);
}

.btg-account-page .btg-password-field {
	display: block;
	position: relative;
}

.btg-account-page .btg-password-field .input-text {
	padding-inline-end: 3.75rem;
}

.btg-account-page .btg-password-field__toggle {
	appearance: none;
	background: transparent;
	border: 0;
	border-radius: 2px;
	box-sizing: border-box;
	color: var(--wp--preset--color--contrast, #1a1a1a);
	cursor: pointer;
	display: grid;
	inline-size: 44px;
	min-block-size: 44px;
	padding: 0;
	place-items: center;
	position: absolute;
	inset-block-start: 4px;
	inset-inline-end: 4px;
}

.btg-account-page .btg-password-field__toggle svg {
	block-size: 1.25rem;
	inline-size: 1.25rem;
}

.btg-account-page .btg-password-field .input-text::-ms-reveal,
.btg-account-page .btg-password-field .input-text::-ms-clear {
	display: none;
}

.btg-account-page .btg-password-field__toggle:hover {
	color: var(--wp--preset--color--accent, #5FAE45);
}

.btg-account-page .btg-password-field__toggle:focus-visible {
	outline: 2px solid var(--wp--preset--color--contrast, #1a1a1a);
	outline-offset: 1px;
}

.btg-account-page .woocommerce .btg-account-form-actions {
	align-items: center;
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem 1rem;
	margin-block-start: 0.35rem;
}

.btg-account-page .woocommerce .woocommerce-form-login__rememberme {
	align-items: center;
	cursor: pointer;
	display: inline-flex;
	font-weight: 400;
	gap: 0.55rem;
	margin: 0;
	min-block-size: 44px;
}

.btg-account-page .woocommerce .woocommerce-form-login__rememberme input {
	accent-color: var(--wp--preset--color--accent, #5FAE45);
	block-size: 1rem;
	inline-size: 1rem;
	margin: 0;
}

.btg-account-page .woocommerce button.button,
.btg-account-page .woocommerce a.button,
.btg-account-page .woocommerce input.button {
	align-items: center;
	background: var(--wp--preset--color--accent, #5FAE45);
	border: 1px solid var(--wp--preset--color--accent, #5FAE45);
	border-radius: 999px;
	box-shadow: none;
	color: var(--wp--preset--color--contrast, #1a1a1a);
	cursor: pointer;
	display: inline-flex;
	gap: 0.5rem;
	font-family: var(--wp--preset--font-family--source-sans-3, Arial, sans-serif);
	font-size: 0.8125rem;
	font-weight: 600;
	justify-content: center;
	letter-spacing: 0.07em;
	line-height: 1.2;
	min-block-size: 46px;
	padding: 0 1.5rem;
	text-decoration: none;
	text-transform: uppercase;
	transition: background-color 160ms ease, border-color 160ms ease, color 160ms ease;
}

.btg-account-page .woocommerce .btg-account-auth-card button.button,
.btg-account-page .woocommerce .btg-account-auth-card a.button,
.btg-account-page .woocommerce .btg-account-auth-card input.button {
	min-block-size: 48px;
	padding-inline: clamp(1.25rem, 2vw, 1.625rem);
}

.btg-account-page .woocommerce-notices-wrapper .button,
.btg-account-page .woocommerce-info .button,
.btg-account-page .woocommerce-error .button,
.btg-account-page .woocommerce-message .button,
.btg-account-page .wc-block-components-notice-banner .wc-block-components-button,
.btg-account-page .wc-block-components-notice-banner .wp-element-button {
	align-items: center !important;
	background: #ffffff !important;
	border: 1px solid var(--wp--preset--color--accent, #5FAE45) !important;
	border-radius: 999px !important;
	box-sizing: border-box !important;
	color: var(--wp--preset--color--contrast, #1a1a1a) !important;
	display: inline-flex !important;
	float: none !important;
	font-family: var(--wp--preset--font-family--source-sans-3, Arial, sans-serif) !important;
	font-size: 0.8125rem !important;
	font-weight: 600 !important;
	justify-content: center !important;
	inline-size: auto !important;
	letter-spacing: 0.03em !important;
	line-height: 1 !important;
	margin: 0 !important;
	min-block-size: 42px !important;
	min-inline-size: max-content !important;
	min-height: 42px !important;
	min-width: max-content !important;
	padding: 0 1.25rem !important;
	text-transform: none !important;
	width: auto !important;
	white-space: nowrap !important;
}

.btg-account-page .woocommerce-info .button:hover,
.btg-account-page .woocommerce-info a.button:hover,
.btg-account-page .woocommerce-info button.button:hover,
.btg-account-page .woocommerce-error .button:hover,
.btg-account-page .woocommerce-error a.button:hover,
.btg-account-page .woocommerce-error button.button:hover,
.btg-account-page .woocommerce-message .button:hover,
.btg-account-page .woocommerce-message a.button:hover,
.btg-account-page .woocommerce-message button.button:hover,
.btg-account-page .wc-block-components-notice-banner .wc-block-components-button:hover {
	background: rgb(95 174 69 / 10%) !important;
	border-color: var(--wp--preset--color--accent, #5FAE45) !important;
	color: var(--wp--preset--color--contrast, #1a1a1a) !important;
	filter: none !important;
}

.btg-account-page .woocommerce button.button:hover,
.btg-account-page .woocommerce a.button:hover,
.btg-account-page .woocommerce input.button:hover {
	background: var(--wp--preset--color--accent, #5FAE45);
	border-color: var(--wp--preset--color--accent, #5FAE45);
	color: var(--wp--preset--color--contrast, #1a1a1a);
	filter: brightness(1.06);
}

.btg-account-page .woocommerce button.button:disabled,
.btg-account-page .woocommerce button.button.disabled,
.btg-account-page .woocommerce a.button.disabled,
.btg-account-page .woocommerce input.button:disabled {
	background: #d8d8d3;
	border-color: #d8d8d3;
	color: rgb(26 26 26 / 55%);
	cursor: not-allowed;
	opacity: 1;
}

.btg-account-page .woocommerce button.button > span[aria-hidden="true"] {
	margin-inline-start: 0;
}

.btg-account-page .woocommerce .lost_password {
	margin: 0.15rem 0 0;
}

.btg-account-page .woocommerce a:not(.button) {
	text-decoration-thickness: 1px;
	text-underline-offset: 0.16em;
}

.btg-account-page .btg-account-auth-section__help,
.btg-account-page .btg-account-auth-section__legal {
	color: var(--btg-account-muted);
	font-size: 0.9375rem;
	line-height: 1.5;
	margin: 0;
}

.btg-account-page .btg-account-auth-section__legal {
	border-block-start: 1px solid var(--btg-account-line);
	margin-block-start: 1.25rem;
	padding-block-start: 0.875rem;
}

.btg-account-page .btg-account-guest-note {
	border-block-start: 1px solid var(--btg-account-line);
	color: var(--btg-account-muted);
	display: grid;
	font-size: 0.9375rem;
	gap: 0.15rem;
	margin-block-start: clamp(1.25rem, 2vw, 1.75rem);
	padding-block-start: 1rem;
}

.btg-account-page .btg-account-guest-note strong {
	color: var(--wp--preset--color--contrast, #1a1a1a);
	font-size: 1rem;
	font-weight: 600;
}

.btg-account-page .btg-account-form-card {
	background: var(--wp--preset--color--base, #ffffff);
	border: 1px solid #e7e5df;
	border-radius: clamp(0.5rem, 0.6vw, 0.625rem);
	box-shadow: 0 0.5rem 1.75rem rgb(0 0 0 / 3.5%);
	box-sizing: border-box;
	inline-size: 100%;
	margin: 0;
	max-inline-size: var(--btg-content-max, 70rem);
	padding: clamp(2rem, 3vw, 2.5rem);
}

.btg-account-page .btg-account-form-card h2 {
	font-family: var(--wp--preset--font-family--libre-baskerville, Georgia, serif);
	font-size: clamp(1.5rem, 1.38rem + 0.35vw, 1.875rem);
	font-weight: 400;
	line-height: 1.2;
	margin: 0;
}

.btg-account-page .btg-account-form-card .woocommerce-EditAccountForm,
.btg-account-page .btg-account-form-card .woocommerce-address-form,
.btg-account-page .btg-account-form-card .woocommerce-ResetPassword {
	margin-block-start: clamp(1.25rem, 2vw, 1.75rem);
}

.btg-account-page .woocommerce .btg-account-edit-account .woocommerce-EditAccountForm,
.btg-account-page .woocommerce .btg-account-recovery-card .woocommerce-ResetPassword {
	margin-block-start: 0;
}

.btg-account-page .btg-account-form-card .btg-account-form-actions {
	margin-block: 0.35rem 0;
}

.btg-account-page .woocommerce .btg-account-form-card button.button,
.btg-account-page .woocommerce .btg-account-form-card a.button,
.btg-account-page .woocommerce .btg-account-form-card input.button {
	min-block-size: 48px;
	padding-inline: clamp(1.25rem, 2vw, 1.625rem);
}

.btg-account-page .btg-account-edit-account__name-fields {
	display: grid;
	gap: 0.95rem;
	grid-template-columns: repeat(2, minmax(0, 1fr));
}

.btg-account-page .btg-account-address-form .woocommerce-address-fields,
.btg-account-page .btg-account-address-form .woocommerce-address-fields__field-wrapper {
	display: grid;
	gap: 0.95rem;
}

.btg-account-page .btg-account-address-form .woocommerce-address-fields__field-wrapper {
	grid-template-columns: repeat(2, minmax(0, 1fr));
}

.btg-account-page .btg-account-address-form .woocommerce-address-fields__field-wrapper .form-row-wide,
.btg-account-page .btg-account-address-form .woocommerce-address-fields__field-wrapper .btg-account-company-field,
.btg-account-page .btg-account-address-form .woocommerce-address-fields__field-wrapper .btg-account-customer-type {
	grid-column: 1 / -1;
}

.btg-account-page .btg-account-address-form h2 {
	font-size: clamp(1.5rem, 1.4rem + 0.3vw, 1.75rem);
}

.btg-account-page .btg-account-address-form .btg-account-company-field[hidden] {
	display: none !important;
}

.btg-account-page .btg-account-address-form .btg-account-person-name-field .required,
.btg-account-page .btg-account-address-form .btg-account-company-input .required {
	display: none;
}

.btg-account-page .btg-account-address-form .btg-account-person-name-field:has(input[required]) label::after,
.btg-account-page .btg-account-address-form .btg-account-company-input:has(input[required]) label::after {
	content: " *";
}

.btg-account-page .btg-account-address-form .btg-account-person-name-field:has(input[required]) .optional,
.btg-account-page .btg-account-address-form .btg-account-company-input:has(input[required]) .optional {
	display: none;
}

.btg-account-page .btg-account-address-form .btg-account-customer-type {
	border: 0;
	margin: 0;
	min-inline-size: 0;
	padding: 0;
}

.btg-account-page .btg-account-address-form .btg-account-customer-type legend {
	font-size: 1rem;
	font-weight: 600;
	margin-block-end: 0.5rem;
	padding: 0;
}

.btg-account-page .btg-account-address-form .btg-account-customer-type__options {
	display: grid;
	gap: 0.5rem;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	inline-size: 100%;
}

.btg-account-page .woocommerce .btg-account-address-form .btg-account-customer-type__options label {
	align-items: center;
	border: 1px solid #e2e0d8;
	border-radius: 999px;
	box-sizing: border-box;
	cursor: pointer;
	display: flex;
	font-size: 0.9375rem;
	font-weight: 600;
	gap: 0.45rem;
	justify-content: center;
	margin: 0;
	min-block-size: 44px;
	min-inline-size: 0;
	padding: 0 0.5rem;
	white-space: nowrap;
}

.btg-account-page .btg-account-address-form .btg-account-customer-type__options label:has(input:checked) {
	background: rgb(95 174 69 / 7%);
	border-color: var(--wp--preset--color--accent, #5FAE45);
	box-shadow: none;
}

.btg-account-page .btg-account-address-form .btg-account-customer-type__options input[type="radio"] {
	accent-color: var(--wp--preset--color--accent, #5FAE45);
	block-size: 1rem;
	flex: 0 0 auto;
	inline-size: 1rem;
	margin: 0;
}

.btg-account-page .btg-account-address-form .btg-account-customer-type__options input[type="radio"]:focus-visible {
	outline: 0;
}

.btg-account-page .btg-account-address-form .btg-account-customer-type__options label:focus-within {
	outline: 0;
}

.btg-account-page .btg-account-address-form .btg-account-customer-type__options label:has(input:focus-visible) {
	outline: 2px solid rgb(95 174 69 / 35%);
	outline-offset: 2px;
}

@media (min-width: 601px) {
	.btg-account-page .woocommerce-notices-wrapper .woocommerce-info,
	.btg-account-page .woocommerce-notices-wrapper .woocommerce-message,
	.btg-account-page .woocommerce-notices-wrapper .woocommerce-error,
	.btg-account-page .woocommerce-info,
	.btg-account-page .woocommerce-message,
	.btg-account-page .woocommerce-error {
		box-sizing: border-box;
		display: block !important;
		inline-size: 100% !important;
		min-inline-size: 0;
	}

	.btg-account-page .woocommerce-notices-wrapper :is(.woocommerce-info, .woocommerce-message, .woocommerce-error):has(> :is(.button, .wc-forward)),
	.btg-account-page :is(.woocommerce-info, .woocommerce-message, .woocommerce-error):has(> :is(.button, .wc-forward)) {
		align-items: center;
		column-gap: 1.5rem;
		display: grid !important;
		grid-template-columns: minmax(0, 1fr) max-content;
	}

	.btg-account-page .woocommerce-error > li,
	.btg-account-page .woocommerce-error > li > * {
		min-inline-size: 0;
		width: auto;
		white-space: normal;
		word-break: normal;
		overflow-wrap: break-word;
	}

	.btg-account-page .woocommerce-info > .button,
	.btg-account-page .woocommerce-info > a.button,
	.btg-account-page .woocommerce-info > button.button,
	.btg-account-page .woocommerce-info > .wc-forward,
	.btg-account-page .woocommerce-error > .button,
	.btg-account-page .woocommerce-error > a.button,
	.btg-account-page .woocommerce-error > button.button,
	.btg-account-page .woocommerce-error > .wc-forward,
	.btg-account-page .woocommerce-message > .button,
	.btg-account-page .woocommerce-message > a.button,
	.btg-account-page .woocommerce-message > button.button,
	.btg-account-page .woocommerce-message > .wc-forward {
		float: none !important;
		grid-column: 2;
		grid-row: 1;
		justify-self: end;
	}

	.btg-account-page .wc-block-components-notice-banner__content {
		align-items: center;
		column-gap: 1.5rem;
		display: grid;
		flex: 1 1 auto;
		grid-template-columns: minmax(0, 1fr) max-content;
		min-inline-size: 0;
	}

	.btg-account-page .wc-block-components-notice-banner__content > .button,
	.btg-account-page .wc-block-components-notice-banner__content > a.button,
	.btg-account-page .wc-block-components-notice-banner__content > button.button,
	.btg-account-page .wc-block-components-notice-banner__content > .wc-forward {
		float: none !important;
		grid-column: 2;
		grid-row: 1;
		justify-self: end;
	}
}

.btg-account-page .woocommerce .btg-account-address-form button.button {
	border-radius: 999px;
	min-block-size: 48px;
	padding-inline: 1.5rem;
}

.btg-account-page .btg-account-field-description,
.btg-account-page .btg-account-field-optional {
	color: var(--btg-account-muted);
	font-size: 0.9375rem;
	font-style: normal;
	font-weight: 400;
	line-height: 1.45;
}

.btg-account-page .btg-account-field-description {
	display: block;
	margin-block-start: 0.5rem;
}

.btg-account-page .btg-account-password-section {
	border-block-start: 1px solid var(--btg-account-line);
	display: grid;
	gap: 0.95rem;
	margin-block-start: 0.875rem;
	padding-block-start: clamp(1.25rem, 2vw, 1.75rem);
}

.btg-account-page .btg-account-password-section h3 {
	font-family: var(--wp--preset--font-family--libre-baskerville, Georgia, serif);
	font-size: clamp(1.375rem, 1.25rem + 0.6vw, 1.5rem);
	font-weight: 400;
	line-height: 1.3;
	margin: 0;
}

.btg-account-page .btg-account-recovery-card {
	max-inline-size: 48rem;
}

.btg-account-page .btg-account-recovery-card__intro {
	color: var(--btg-account-muted);
	line-height: 1.5;
	margin: 0;
}

.btg-account-page .woocommerce-MyAccount-navigation {
	border-block: 1px solid var(--btg-account-line);
	float: none;
	inline-size: 100%;
	margin: 0 0 clamp(1.5rem, 3vw, 2.25rem);
	padding: 0;
	width: 100%;
}

@media (min-width: 782px) {
	.btg-account-page .woocommerce-MyAccount-navigation {
		border-block-end: 1px solid var(--btg-account-line);
		border-block-start: 0;
	}
}

.btg-account-page .woocommerce-MyAccount-navigation ul {
	display: flex;
	gap: 0;
	list-style: none;
	margin: 0;
	max-inline-size: 100%;
	overscroll-behavior-inline: contain;
	overflow-x: auto;
	padding: 0;
	scrollbar-width: thin;
	-webkit-overflow-scrolling: touch;
}

.btg-account-page .woocommerce-MyAccount-navigation li {
	flex: 0 0 auto;
	margin: 0;
}

.btg-account-page .woocommerce-MyAccount-navigation a {
	align-items: center;
	border-block-end: 2px solid transparent;
	color: var(--btg-account-muted);
	display: inline-flex;
	font-size: 0.875rem;
	font-weight: 600;
	justify-content: center;
	min-block-size: 46px;
	padding: 0.55rem clamp(0.7rem, 1.2vw, 0.95rem);
	text-decoration: none;
	transition: border-color 160ms ease, color 160ms ease;
	white-space: nowrap;
}

.btg-account-page .woocommerce-MyAccount-navigation a:hover,
.btg-account-page .woocommerce-MyAccount-navigation a:focus-visible,
.btg-account-page .woocommerce-MyAccount-navigation .is-active a {
	border-block-end-color: var(--wp--preset--color--accent, #5FAE45);
	color: var(--wp--preset--color--contrast, #1a1a1a);
}

.btg-account-page .woocommerce-MyAccount-content {
	float: none;
	inline-size: 100%;
	width: 100%;
}

.btg-account-page .btg-account-dashboard h2 {
	margin-block-end: clamp(1.25rem, 2vw, 1.5rem);
}

.btg-account-page .btg-account-dashboard__links {
	border-block-start: 1px solid var(--btg-account-line);
}

.btg-account-page .btg-account-dashboard__link {
	align-items: center;
	border-block-end: 1px solid var(--btg-account-line);
	color: var(--wp--preset--color--contrast, #1a1a1a);
	display: flex;
	gap: 0.75rem;
	justify-content: space-between;
	padding-block: clamp(0.9rem, 1.5vw, 1.1rem);
	text-decoration: none;
	transition: color 160ms ease;
}

.btg-account-page .btg-account-dashboard__link-content {
	display: grid;
	gap: 0.2rem;
}

.btg-account-page .btg-account-dashboard__link strong {
	font-family: var(--wp--preset--font-family--libre-baskerville, Georgia, serif);
	font-size: clamp(1.125rem, 1.05rem + 0.4vw, 1.3125rem);
	font-weight: 400;
	line-height: 1.3;
}

.btg-account-page .btg-account-dashboard__link-content span {
	color: var(--btg-account-muted);
	line-height: 1.45;
}

.btg-account-page .btg-account-dashboard__arrow {
	color: var(--wp--preset--color--accent, #5FAE45);
	font-size: 1.25rem;
	transition: transform 160ms ease;
}

.btg-account-page .btg-account-dashboard__link:hover,
.btg-account-page .btg-account-dashboard__link:focus-visible {
	color: var(--wp--preset--color--accent, #5FAE45);
}

.btg-account-page .btg-account-dashboard__link:hover .btg-account-dashboard__arrow,
.btg-account-page .btg-account-dashboard__link:focus-visible .btg-account-dashboard__arrow {
	transform: translateX(0.2rem);
}

.btg-account-page .btg-account-dashboard__logout {
	font-size: 0.9375rem;
	margin: 1.25rem 0 0;
}

.btg-account-page .woocommerce h2,
.btg-account-page .woocommerce h3 {
	font-family: var(--wp--preset--font-family--libre-baskerville, Georgia, serif);
	font-weight: 400;
}

.btg-account-page .woocommerce table {
	border-collapse: collapse;
	border-spacing: 0;
	inline-size: 100%;
	margin: 1.5rem 0;
}

.btg-account-page .woocommerce table th,
.btg-account-page .woocommerce table td {
	border: 0;
	border-block-end: 1px solid var(--btg-account-line);
	padding: 0.9rem 0.75rem;
	text-align: start;
}

.btg-account-page .woocommerce table th {
	font-size: 0.8125rem;
	font-weight: 600;
	letter-spacing: 0.04em;
	text-transform: uppercase;
}

.btg-account-page .btg-account-addresses {
	inline-size: 100%;
}

.btg-account-page .btg-account-addresses__description {
	color: var(--btg-account-muted);
	line-height: 1.5;
	margin: 0.75rem 0 0;
	max-inline-size: 48rem;
}

.btg-account-page .woocommerce .btg-account-addresses__forms {
	display: grid;
	gap: clamp(1.25rem, 2vw, 1.75rem);
	margin-block-start: clamp(1.25rem, 2vw, 1.75rem);
}

@media (max-width: 900px) {
	.btg-account-page .wp-block-post-title,
	body.woocommerce-cart .btg-plain-page > .wp-block-post-title,
	body.woocommerce-cart .wp-block-post-title,
	body.woocommerce-shop .wp-block-query-title {
		font-size: clamp(1.875rem, 3.8vw, 2.125rem) !important;
	}

	.btg-account-page .btg-account-auth-card {
		padding: clamp(1.75rem, 4vw, 2rem);
	}

	.btg-account-page .btg-account-form-card {
		padding: clamp(1.75rem, 4vw, 2rem);
	}

	.btg-account-page .btg-account-auth-card #customer_login {
		grid-template-columns: minmax(0, 1fr);
	}

	.btg-account-page .btg-account-auth-card #customer_login::before {
		display: none;
	}

	.btg-account-page .btg-account-auth-card #customer_login .u-column2 {
		border-block-start: 1px solid var(--btg-account-line);
		margin-block-start: 1.75rem;
		padding-block-start: 1.75rem;
	}
}

@media (max-width: 600px) {
	.btg-account-page .wp-block-post-title,
	body.woocommerce-cart .btg-plain-page > .wp-block-post-title,
	body.woocommerce-cart .wp-block-post-title,
	body.woocommerce-shop .wp-block-query-title {
		font-size: clamp(1.625rem, 7vw, 1.875rem) !important;
	}

	.btg-account-page .wp-block-post-title {
		margin-block-end: 0.35rem !important;
	}

	.btg-account-page .btg-account-auth-card {
		padding: clamp(1.25rem, 5vw, 1.5rem);
	}

	.btg-account-page .btg-account-form-card {
		padding: clamp(1.125rem, 5vw, 1.375rem);
	}

	.btg-account-page .btg-account-edit-account__name-fields {
		grid-template-columns: minmax(0, 1fr);
	}

	.btg-account-page .btg-account-address-form .woocommerce-address-fields__field-wrapper {
		grid-template-columns: minmax(0, 1fr);
	}

	.btg-account-page .btg-account-address-form .btg-account-customer-type__options {
		gap: 0.45rem;
	}

	.btg-account-page .woocommerce .btg-account-address-form .btg-account-customer-type__options label {
		font-size: 0.875rem;
		gap: 0.3rem;
		min-block-size: 44px;
		padding-inline: 0.45rem;
	}

	.btg-account-page .btg-account-address-form .btg-account-customer-type__options input[type="radio"] {
		block-size: 0.875rem;
		inline-size: 0.875rem;
	}

	.btg-account-page .woocommerce-notices-wrapper .woocommerce-info,
	.btg-account-page .woocommerce-notices-wrapper .woocommerce-message,
	.btg-account-page .woocommerce-notices-wrapper .woocommerce-error,
	.btg-account-page .woocommerce-info,
	.btg-account-page .woocommerce-message,
	.btg-account-page .woocommerce-error {
		align-items: flex-start;
		box-sizing: border-box;
		display: flex !important;
		flex-direction: column;
		inline-size: 100%;
	}

	.btg-account-page .woocommerce-info .button,
	.btg-account-page .woocommerce-info a.button,
	.btg-account-page .woocommerce-info button.button,
	.btg-account-page .woocommerce-error .button,
	.btg-account-page .woocommerce-error a.button,
	.btg-account-page .woocommerce-error button.button,
	.btg-account-page .woocommerce-message .button,
	.btg-account-page .woocommerce-message a.button,
	.btg-account-page .woocommerce-message button.button,
	.btg-account-page .wc-block-components-notice-banner .wc-block-components-button,
	.btg-account-page .wc-block-components-notice-banner .wp-element-button {
		align-self: flex-start;
		margin-block-start: 0.75rem !important;
		order: 2;
	}

	.btg-account-page .btg-account-auth-card .btg-account-auth-section h2,
	.btg-account-page .btg-account-form-card h2 {
		font-size: clamp(1.375rem, 6vw, 1.625rem);
	}

	.btg-account-page .woocommerce .btg-account-form-actions {
		align-items: stretch;
		flex-direction: column;
	}

	.btg-account-page .woocommerce .woocommerce-form-login__rememberme {
		order: -1;
	}

	.btg-account-page .woocommerce .btg-account-auth-card button.button,
	.btg-account-page .woocommerce .btg-account-auth-card a.button,
	.btg-account-page .woocommerce .btg-account-auth-card input.button,
	.btg-account-page .woocommerce .btg-account-form-card button.button,
	.btg-account-page .woocommerce .btg-account-form-card a.button,
	.btg-account-page .woocommerce .btg-account-form-card input.button {
		inline-size: 100%;
	}
}

@media (max-width: 781px) {
	.btg-account-page {
		margin-block: var(--wp--preset--spacing--50, 2.25rem) !important;
	}

	.btg-account-page .woocommerce-MyAccount-navigation {
		margin-block-end: 1.75rem;
	}

}

@media (max-width: 480px) {
	.btg-account-page .woocommerce table {
		display: block;
		overflow-x: auto;
		white-space: nowrap;
	}

	.btg-account-page .woocommerce table.woocommerce-MyAccount-orders,
	.btg-account-page .woocommerce table.woocommerce-table--order-details {
		display: table;
		inline-size: 100%;
		max-inline-size: 100%;
		overflow: visible;
		table-layout: fixed;
		white-space: normal;
	}

	.btg-account-page .woocommerce .woocommerce-MyAccount-orders th,
	.btg-account-page .woocommerce .woocommerce-MyAccount-orders td,
	.btg-account-page .woocommerce .woocommerce-table--order-details th,
	.btg-account-page .woocommerce .woocommerce-table--order-details td {
		min-inline-size: 0;
		overflow-wrap: anywhere;
		padding-inline: 0.5rem;
		white-space: normal;
	}
}

/* WooCommerce Mini-Cart: shared header controls retain the same restrained button shape. */
.wc-block-mini-cart .wc-block-mini-cart__button,
.wc-block-mini-cart .wc-block-components-button {
	border-radius: 0.5rem;
}

@media (max-width: 599px) {
	.wc-block-mini-cart__drawer h2.wc-block-mini-cart__title {
		align-items: flex-start;
		box-sizing: border-box;
		display: flex;
		flex-direction: column;
		font-size: clamp(1.25rem, 5vw, 1.5rem);
		justify-content: center;
		line-height: 1.2;
		max-inline-size: 100%;
		padding-inline-end: 3rem;
	}

	.wc-block-mini-cart__drawer h2.wc-block-mini-cart__title
		.wp-block-woocommerce-mini-cart-title-label-block {
		display: block;
		flex: 0 0 auto;
		inline-size: 100%;
		margin-inline-end: 0;
	}

	.wc-block-mini-cart__drawer h2.wc-block-mini-cart__title
		.wp-block-woocommerce-mini-cart-title-items-counter-block {
		display: block;
		flex: 0 0 auto;
		font-family: var(--wp--preset--font-family--source-sans-3, Arial, sans-serif);
		font-size: 0.875rem;
		font-weight: 400;
		inline-size: 100%;
		line-height: 1.4;
		margin-block-start: 0.25rem;
	}
}

/* WooCommerce Cart Block: a restrained BTG purchase review, scoped away from checkout and Mini-Cart. */
body.woocommerce-cart .btg-plain-page {
	--btg-cart-line: #e2e0d8;
	--btg-cart-muted: rgb(26 26 26 / 70%);
	box-sizing: border-box;
	inline-size: min(70rem, calc(100% - (2 * clamp(1rem, 2.5vw, 2rem)))) !important;
	margin-inline: auto !important;
	max-inline-size: none !important;
}

body.woocommerce-shop .wp-block-query-title {
	line-height: 1.2;
}

body.woocommerce-cart .btg-plain-page > .wp-block-post-title,
body.woocommerce-cart .btg-plain-page > .wp-block-post-content {
	inline-size: 100%;
	max-inline-size: none;
}

body.woocommerce-cart .btg-plain-page > .wp-block-post-title,
body.woocommerce-cart .wp-block-post-title {
	margin-block: 0 clamp(1.25rem, 2vw, 1.5rem) !important;
}

body.woocommerce-cart .btg-plain-page::before {
	margin-block-end: clamp(0.875rem, 1.25vw, 1.125rem);
}

body.woocommerce-cart .wp-block-woocommerce-cart,
body.woocommerce-cart .wc-block-cart {
	color: var(--wp--preset--color--contrast, #1a1a1a);
	font-family: var(--wp--preset--font-family--source-sans-3, Arial, sans-serif);
	overflow-wrap: anywhere;
}

body.woocommerce-cart .wc-block-components-notice-banner {
	background: var(--wp--preset--color--surface, #f6f5f1);
	border: 1px solid var(--btg-cart-line);
	border-inline-start: 3px solid var(--wp--preset--color--accent, #5FAE45);
	border-radius: 2px;
	box-shadow: none;
	color: var(--wp--preset--color--contrast, #1a1a1a);
	margin-block-end: 1.25rem;
	padding: 0.875rem 1rem;
}

body.woocommerce-cart .wc-block-components-notice-banner.is-error {
	border-inline-start-color: #8c251d;
}

body.woocommerce-cart .wc-block-cart-items__header {
	border-block-end: 1px solid var(--btg-cart-line);
	color: var(--btg-cart-muted);
	font-size: 0.75rem;
	font-weight: 600;
	letter-spacing: 0.07em;
	padding-block: 0 0.7rem;
	text-transform: uppercase;
}

body.woocommerce-cart .wc-block-cart-items__row {
	border-block-end: 1px solid var(--btg-cart-line);
	padding-block: clamp(1.25rem, 2vw, 1.75rem);
}

body.woocommerce-cart .wc-block-cart-item__image {
	margin-inline-end: clamp(0.875rem, 1.5vw, 1.25rem);
	width: clamp(4.75rem, 8vw, 6.25rem);
}

body.woocommerce-cart .wc-block-cart-item__image img {
	background: var(--wp--preset--color--surface, #f6f5f1);
	border-radius: 2px;
	display: block;
	inline-size: 100%;
	object-fit: cover;
}

body.woocommerce-cart .wc-block-components-product-name {
	color: var(--wp--preset--color--contrast, #1a1a1a);
	font-family: var(--wp--preset--font-family--libre-baskerville, Georgia, serif);
	font-size: clamp(1rem, 0.96rem + 0.2vw, 1.125rem);
	font-weight: 400;
	line-height: 1.35;
	text-decoration-thickness: 1px;
	text-underline-offset: 0.16em;
}

body.woocommerce-cart .wc-block-components-product-price,
body.woocommerce-cart .wc-block-cart-item__total {
	font-size: 1rem;
	font-weight: 600;
	line-height: 1.35;
}

body.woocommerce-cart .wc-block-components-quantity-selector {
	border: 1px solid #d8d8d3;
	border-radius: 999px;
	box-shadow: none;
	min-block-size: 44px;
}

body.woocommerce-cart .wc-block-components-quantity-selector:focus-within {
	border-color: var(--wp--preset--color--accent, #5FAE45);
	outline: 2px solid var(--wp--preset--color--contrast, #1a1a1a);
	outline-offset: 2px;
}

body.woocommerce-cart .wc-block-components-quantity-selector button {
	border-radius: 999px;
	color: var(--wp--preset--color--contrast, #1a1a1a);
	min-block-size: 42px;
	min-inline-size: 42px;
}

body.woocommerce-cart .wc-block-components-quantity-selector button:hover {
	background: rgb(95 174 69 / 10%);
	color: var(--wp--preset--color--contrast, #1a1a1a);
}

body.woocommerce-cart .wc-block-components-quantity-selector__input {
	color: var(--wp--preset--color--contrast, #1a1a1a);
	font-family: inherit;
	font-size: 1rem;
	font-weight: 600;
}

body.woocommerce-cart .wc-block-cart-item__remove-link {
	color: var(--btg-cart-muted);
	font-size: 0.8125rem;
	min-block-size: 44px;
	padding: 0.35rem 0;
	text-decoration-thickness: 1px;
	text-underline-offset: 0.16em;
}

body.woocommerce-cart .wc-block-cart-item__remove-link:hover,
body.woocommerce-cart .wc-block-cart-item__remove-link:focus-visible {
	color: var(--wp--preset--color--contrast, #1a1a1a);
}

body.woocommerce-cart .wc-block-cart__totals,
body.woocommerce-cart .wp-block-woocommerce-cart-order-summary-block {
	background: var(--wp--preset--color--surface, #f6f5f1);
	border: 1px solid var(--btg-cart-line);
	border-radius: clamp(0.5rem, 0.6vw, 0.625rem);
	box-shadow: 0 0.5rem 1.75rem rgb(0 0 0 / 3.5%);
	box-sizing: border-box;
	padding: clamp(1.25rem, 2.5vw, 1.75rem);
}

body.woocommerce-cart .wc-block-components-totals-item,
body.woocommerce-cart .wc-block-components-totals-coupon {
	border-block-end: 1px solid var(--btg-cart-line);
	padding-block: 0.8rem;
}

body.woocommerce-cart .wc-block-components-totals-item__label,
body.woocommerce-cart .wc-block-components-totals-item__value {
	font-size: 0.9375rem;
	line-height: 1.45;
}

body.woocommerce-cart .wc-block-components-totals-footer-item {
	border-block-end: 0;
	padding-block: 1.15rem 0.3rem;
}

body.woocommerce-cart .wc-block-components-totals-footer-item .wc-block-components-totals-item__label,
body.woocommerce-cart .wc-block-components-totals-footer-item .wc-block-components-totals-item__value {
	color: var(--wp--preset--color--contrast, #1a1a1a);
	font-size: clamp(1.25rem, 1.14rem + 0.35vw, 1.5rem);
	font-weight: 600;
}

body.woocommerce-cart .wc-block-components-totals-coupon-link {
	color: var(--btg-cart-muted);
	font-size: 0.9375rem;
	font-weight: 400;
	text-decoration-thickness: 1px;
	text-underline-offset: 0.16em;
}

body.woocommerce-cart .wc-block-components-totals-coupon-link:hover,
body.woocommerce-cart .wc-block-components-totals-coupon-link:focus-visible {
	color: var(--wp--preset--color--contrast, #1a1a1a);
}

body.woocommerce-cart .wc-block-components-totals-coupon__input {
	background: var(--wp--preset--color--base, #ffffff);
	border: 1px solid #d8d8d3;
	border-radius: 2px;
	box-shadow: none;
	color: var(--wp--preset--color--contrast, #1a1a1a);
	font-family: inherit;
	min-block-size: 46px;
}

body.woocommerce-cart .wc-block-components-totals-coupon__input:focus {
	border-color: var(--wp--preset--color--accent, #5FAE45);
	outline: 2px solid var(--wp--preset--color--contrast, #1a1a1a);
	outline-offset: 2px;
}

body.woocommerce-cart .wc-block-cart__submit-container {
	background: transparent;
	margin-block-start: 1rem;
	padding: 0;
}

body.woocommerce-cart .wc-block-cart__submit-button {
	align-items: center;
	background: var(--wp--preset--color--accent, #5FAE45);
	border: 1px solid var(--wp--preset--color--accent, #5FAE45);
	border-radius: 0.5rem;
	box-shadow: none;
	color: var(--wp--preset--color--contrast, #1a1a1a);
	display: inline-flex;
	font-family: var(--wp--preset--font-family--source-sans-3, Arial, sans-serif);
	font-size: 0.8125rem;
	font-weight: 600;
	justify-content: center;
	letter-spacing: 0.07em;
	min-block-size: 48px;
	padding-inline: 1.5rem;
	text-decoration: none;
	text-transform: uppercase;
	transition: background-color 160ms ease, border-color 160ms ease, color 160ms ease;
}

body.woocommerce-cart .wc-block-cart__submit-button:hover {
	background: var(--wp--preset--color--accent, #5FAE45);
	border-color: var(--wp--preset--color--accent, #5FAE45);
	color: var(--wp--preset--color--contrast, #1a1a1a);
	filter: brightness(1.06);
}

body.woocommerce-cart .wc-block-cart__submit-button:focus-visible {
	outline: 2px solid var(--wp--preset--color--contrast, #1a1a1a);
	outline-offset: 3px;
}

body.woocommerce-cart .wc-block-components-totals-coupon .wc-block-components-button {
	align-items: center;
	background: var(--wp--preset--color--base, #ffffff);
	border: 1px solid var(--wp--preset--color--accent, #5FAE45);
	border-radius: 0.5rem;
	box-shadow: none;
	color: var(--wp--preset--color--contrast, #1a1a1a);
	display: inline-flex;
	font-family: var(--wp--preset--font-family--source-sans-3, Arial, sans-serif);
	font-size: 0.8125rem;
	font-weight: 600;
	justify-content: center;
	min-block-size: 44px;
	padding-inline: 1.125rem;
	text-decoration: none;
}

body.woocommerce-cart .wc-block-components-totals-coupon .wc-block-components-button:hover {
	background: rgb(95 174 69 / 10%);
	color: var(--wp--preset--color--contrast, #1a1a1a);
}

body.woocommerce-cart .wc-block-components-totals-coupon .wc-block-components-button:focus-visible {
	outline: 2px solid var(--wp--preset--color--contrast, #1a1a1a);
	outline-offset: 3px;
}

body.woocommerce-cart .wc-block-cart__empty-cart__title {
	font-family: var(--wp--preset--font-family--libre-baskerville, Georgia, serif);
	font-size: clamp(1.25rem, 1.18rem + 0.25vw, 1.5rem);
	font-weight: 400;
	line-height: 1.3;
}

/* WooCommerce Empty Cart: a focused route back to Collection 01. */
body.woocommerce-cart .wc-block-cart__empty-cart {
	margin-block: clamp(3rem, 9vw, 7.5rem);
}

body.woocommerce-cart .btg-empty-cart__content {
	margin-inline: auto;
	max-inline-size: 38rem;
	padding-inline: 1rem;
	text-align: center;
}

body.woocommerce-cart .btg-empty-cart__content .wc-block-cart__empty-cart__title {
	margin-block: 0 1rem;
}

body.woocommerce-cart .btg-empty-cart__description {
	color: var(--btg-cart-muted);
	font-family: var(--wp--preset--font-family--source-sans-3, Arial, sans-serif);
	margin: 0 auto 1.75rem;
	max-inline-size: 34rem;
}

body.woocommerce-cart .btg-empty-cart__cta .wp-block-button__link {
	background: var(--wp--preset--color--accent, #5FAE45);
	border-radius: 8px;
	box-sizing: border-box;
	color: var(--wp--preset--color--contrast, #1a1a1a);
	font-family: var(--wp--preset--font-family--source-sans-3, Arial, sans-serif);
	font-weight: 600;
	padding: 0.875rem 1.375rem;
	text-decoration: none;
}

body.woocommerce-cart .btg-empty-cart__cta .wp-block-button__link:hover {
	background: #4c9636;
	color: var(--wp--preset--color--base, #ffffff);
}

body.woocommerce-cart .btg-empty-cart__cta .wp-block-button__link:focus-visible {
	outline: 2px solid var(--wp--preset--color--contrast, #1a1a1a);
	outline-offset: 3px;
}

/* Checkout Block: keep BTG's customer-type labels in normal document flow. */
.wc-block-components-form .btg-checkout-company-fields {
	border: 0;
	margin: 0 0 1.5rem;
	min-inline-size: 0;
	padding: 0;
}

.wc-block-components-form .btg-checkout-company-fields > h2 {
	display: block;
	margin: 0 0 0.75rem;
	padding: 0;
}

.wc-block-components-form .btg-checkout-company-fields__type {
	margin-block-start: 0;
}

.wc-block-components-form .btg-checkout-company-fields__company-details {
	display: grid;
	gap: 1rem;
	margin-block-start: 1rem;
}

.wc-block-components-form .btg-checkout-company-fields .wc-block-components-text-input {
	margin: 0;
}

.wc-block-components-form .btg-checkout-company-fields .wc-block-components-text-input > label {
	display: block;
	left: auto;
	margin-block-end: 0.375rem;
	max-width: none;
	overflow: visible;
	pointer-events: auto;
	position: static;
	top: auto;
	transform: none;
	white-space: normal;
}

.wc-block-components-form .btg-checkout-company-fields__type > select {
	box-sizing: border-box;
	display: block;
	min-block-size: 50px;
	padding-inline: 12px;
	width: 100%;
}

body.woocommerce-cart .wp-block-woocommerce-empty-cart-block {
	margin-inline: auto;
	max-inline-size: 44rem;
}

@media (min-width: 782px) {
	body.woocommerce-cart .btg-plain-page {
		margin-block-start: clamp(1.5rem, 2vw, 2rem) !important;
	}

	body.woocommerce-cart .wc-block-cart__main {
		padding-inline-end: clamp(1.5rem, 3vw, 3rem);
	}

	body.woocommerce-cart .wc-block-cart__sidebar {
		padding-inline-start: clamp(1.5rem, 3vw, 3rem);
	}
}

@media (max-width: 781px) {
	body.woocommerce-cart .btg-plain-page {
		margin-block: var(--wp--preset--spacing--50, 2.25rem) !important;
	}

	body.woocommerce-cart .wc-block-cart-items__header {
		display: none;
	}

	body.woocommerce-cart .wc-block-cart-item__image {
		width: clamp(4.25rem, 22vw, 5.5rem);
	}

	body.woocommerce-cart .wc-block-cart__totals,
	body.woocommerce-cart .wp-block-woocommerce-cart-order-summary-block {
		margin-block-start: 1.5rem;
		padding: clamp(1.125rem, 5vw, 1.5rem);
	}

	body.woocommerce-cart .wc-block-cart__submit-button,
	body.woocommerce-cart .wc-block-cart__submit-container .wc-block-components-button {
		inline-size: 100%;
	}
}

@media (max-width: 600px) {
	body.woocommerce-cart .btg-plain-page > .wp-block-post-title,
	body.woocommerce-cart .wp-block-post-title {
		margin-block-end: 0.65rem !important;
	}

	body.woocommerce-cart .wc-block-cart-items__row {
		padding-block: 1.125rem;
	}

	body.woocommerce-cart .wc-block-cart.is-mobile table.wc-block-cart-items .wc-block-cart-items__row .wc-block-cart-item__total {
		grid-column: 2 / 4;
		grid-row: 2;
		justify-self: end;
		margin-inline-end: 0.5rem;
		max-inline-size: 100%;
		text-align: end;
	}
}

/* WooCommerce purchase flow: a quiet, consistent BTG presentation for Cart, Checkout, and Order Received. */
body.woocommerce-cart .wc-block-cart,
body.woocommerce-checkout .wc-block-checkout,
body.woocommerce-order-received .woocommerce-order,
body.woocommerce-order-received .wc-block-order-confirmation {
	--btg-purchase-line: #deddd6;
	--btg-purchase-muted: rgb(26 26 26 / 68%);
	--btg-purchase-surface: #f6f5f1;
	color: var(--wp--preset--color--contrast, #1a1a1a);
	font-family: var(--wp--preset--font-family--source-sans-3, Arial, sans-serif);
}

body.woocommerce-cart .wc-block-components-quantity-selector,
body.woocommerce-cart .wc-block-components-quantity-selector button {
	border-radius: 8px;
}

body.woocommerce-cart .wc-block-cart-item__image img,
body.woocommerce-cart .wc-block-components-totals-coupon__input {
	border-radius: 8px;
}

body.woocommerce-cart .wc-block-cart__totals,
body.woocommerce-cart .wp-block-woocommerce-cart-order-summary-block {
	border-color: var(--btg-purchase-line);
	border-radius: 8px;
	box-shadow: none;
}

body.woocommerce-cart .wc-block-components-totals-item,
body.woocommerce-cart .wc-block-components-totals-coupon {
	border-color: var(--btg-purchase-line);
}

body.woocommerce-cart .wc-block-components-totals-footer-item {
	border-block-start: 1px solid var(--wp--preset--color--contrast, #1a1a1a);
	margin-block-start: 0.35rem;
	padding-block-start: 1.2rem;
}

body.woocommerce-cart .wc-block-cart__submit-button {
	border-radius: 8px;
	letter-spacing: 0.02em;
	text-transform: none;
}

body.woocommerce-cart .wc-block-components-totals-coupon .wc-block-components-button {
	border-radius: 8px;
}

body.woocommerce-checkout .btg-plain-page,
body.woocommerce-order-received .btg-plain-page {
	--btg-purchase-line: #deddd6;
	--btg-purchase-muted: rgb(26 26 26 / 68%);
	box-sizing: border-box;
	inline-size: min(74rem, calc(100% - (2 * clamp(1rem, 2.5vw, 2rem)))) !important;
	margin-inline: auto !important;
	max-inline-size: none !important;
}

body.woocommerce-checkout .btg-plain-page > .wp-block-post-title,
body.woocommerce-order-received .btg-plain-page > .wp-block-post-title {
	font-size: clamp(2rem, 1.78rem + 0.65vw, 2.65rem) !important;
	margin-block-end: clamp(1.5rem, 2.5vw, 2.25rem) !important;
}

body.woocommerce-checkout .wc-block-components-notice-banner,
body.woocommerce-order-received .wc-block-components-notice-banner,
body.woocommerce-order-received .woocommerce-notice {
	background: var(--btg-purchase-surface, #f6f5f1);
	border: 1px solid var(--btg-purchase-line, #deddd6);
	border-inline-start: 3px solid var(--wp--preset--color--accent, #5FAE45);
	border-radius: 8px;
	box-shadow: none;
	color: var(--wp--preset--color--contrast, #1a1a1a);
}

body.woocommerce-checkout .wc-block-components-checkout-step,
body.woocommerce-checkout .wc-block-components-order-summary,
body.woocommerce-order-received .woocommerce-order-details,
body.woocommerce-order-received .woocommerce-customer-details,
body.woocommerce-order-received .wc-block-order-confirmation-status,
body.woocommerce-order-received .wc-block-order-confirmation-summary,
body.woocommerce-order-received .wc-block-order-confirmation-totals,
body.woocommerce-order-received .wc-block-order-confirmation-shipping-address,
body.woocommerce-order-received .wc-block-order-confirmation-billing-address,
body.woocommerce-order-received .wc-block-order-confirmation-additional-information {
	background: var(--btg-purchase-surface, #f6f5f1);
	border: 1px solid var(--btg-purchase-line, #deddd6);
	border-radius: 8px;
	box-shadow: none;
	box-sizing: border-box;
}

body.woocommerce-checkout .wc-block-components-checkout-step {
	margin-block-end: 1rem;
	padding: clamp(1.125rem, 2vw, 1.5rem);
}

body.woocommerce-checkout .wc-block-components-checkout-step__title,
body.woocommerce-checkout .wc-block-components-title,
body.woocommerce-order-received .woocommerce-order-details__title,
body.woocommerce-order-received .woocommerce-column__title,
body.woocommerce-order-received .wc-block-order-confirmation-status__title,
body.woocommerce-order-received .wc-block-order-confirmation-summary__title,
body.woocommerce-order-received .wc-block-order-confirmation-totals__title {
	font-family: var(--wp--preset--font-family--libre-baskerville, Georgia, serif);
	font-size: clamp(1.125rem, 1.04rem + 0.25vw, 1.35rem);
	font-weight: 400;
	letter-spacing: 0;
	line-height: 1.35;
}

body.woocommerce-checkout .wc-block-components-form .wc-block-components-text-input input[type="email"],
body.woocommerce-checkout .wc-block-components-form .wc-block-components-text-input input[type="number"],
body.woocommerce-checkout .wc-block-components-form .wc-block-components-text-input input[type="password"],
body.woocommerce-checkout .wc-block-components-form .wc-block-components-text-input input[type="tel"],
body.woocommerce-checkout .wc-block-components-form .wc-block-components-text-input input[type="text"],
body.woocommerce-checkout .wc-block-components-form .wc-block-components-text-input input[type="url"],
body.woocommerce-checkout .wc-block-components-form .wc-block-components-select-input select,
body.woocommerce-checkout .wc-block-components-form .wc-block-components-state-input select,
body.woocommerce-checkout .wc-block-components-form .wc-block-components-combobox .wc-block-components-combobox-control input,
body.woocommerce-checkout .wc-block-components-textarea textarea {
	background: var(--wp--preset--color--base, #ffffff);
	border: 1px solid #cfcfc8;
	border-radius: 8px;
	box-shadow: none;
	color: var(--wp--preset--color--contrast, #1a1a1a);
	font-family: var(--wp--preset--font-family--source-sans-3, Arial, sans-serif);
	min-block-size: 50px;
}

body.woocommerce-checkout .wc-block-components-text-input > label,
body.woocommerce-checkout .wc-block-components-combobox .wc-block-components-combobox-control label,
body.woocommerce-checkout .wc-block-components-textarea > label {
	color: var(--btg-purchase-muted, rgb(26 26 26 / 68%));
	font-family: var(--wp--preset--font-family--source-sans-3, Arial, sans-serif);
	font-size: 0.875rem;
	font-weight: 600;
}

/* Country is fixed to PL server-side and restricted in WooCommerce settings. */
body.woocommerce-checkout .wc-block-components-country-input {
	display: none;
}

body.woocommerce-checkout .wc-block-components-form .wc-block-components-text-input input[type="email"]:focus,
body.woocommerce-checkout .wc-block-components-form .wc-block-components-text-input input[type="number"]:focus,
body.woocommerce-checkout .wc-block-components-form .wc-block-components-text-input input[type="password"]:focus,
body.woocommerce-checkout .wc-block-components-form .wc-block-components-text-input input[type="tel"]:focus,
body.woocommerce-checkout .wc-block-components-form .wc-block-components-text-input input[type="text"]:focus,
body.woocommerce-checkout .wc-block-components-form .wc-block-components-text-input input[type="url"]:focus,
body.woocommerce-checkout .wc-block-components-form .wc-block-components-select-input select:focus,
body.woocommerce-checkout .wc-block-components-form .wc-block-components-state-input select:focus,
body.woocommerce-checkout .wc-block-components-form .wc-block-components-combobox .wc-block-components-combobox-control input:focus,
body.woocommerce-checkout .wc-block-components-textarea textarea:focus {
	border-color: var(--wp--preset--color--accent, #5FAE45);
	box-shadow: 0 0 0 2px rgb(95 174 69 / 20%);
	outline: 2px solid transparent;
}

body.woocommerce-checkout .wc-block-components-form .wc-block-components-text-input input:-webkit-autofill,
body.woocommerce-checkout .wc-block-components-form .wc-block-components-select-input select:-webkit-autofill,
body.woocommerce-checkout .wc-block-components-form .wc-block-components-combobox .wc-block-components-combobox-control input:-webkit-autofill {
	-webkit-box-shadow: 0 0 0 1000px #ffffff inset;
	-webkit-text-fill-color: var(--wp--preset--color--contrast, #1a1a1a);
}

body.woocommerce-checkout .btg-checkout-company-fields {
	background: var(--btg-purchase-surface, #f6f5f1);
	border: 1px solid var(--btg-purchase-line, #deddd6);
	border-radius: 8px;
	margin-block: 0 1rem;
	padding: clamp(1.125rem, 2vw, 1.5rem);
}

body.woocommerce-checkout .btg-checkout-company-fields > h2 {
	font-family: var(--wp--preset--font-family--libre-baskerville, Georgia, serif);
	font-size: clamp(1.125rem, 1.04rem + 0.25vw, 1.35rem);
	font-weight: 400;
	line-height: 1.35;
}

body.woocommerce-checkout .btg-checkout-company-fields__type > select {
	background-color: var(--wp--preset--color--base, #ffffff);
	border: 1px solid #cfcfc8;
	border-radius: 8px;
	color: var(--wp--preset--color--contrast, #1a1a1a);
	font-family: var(--wp--preset--font-family--source-sans-3, Arial, sans-serif);
}

/* Custom Store API validation messages are plain alert elements, not native
 * WooCommerce validation-error components. Keep their type in step with the
 * surrounding form without suppressing the accessible alert announcement. */
body.woocommerce-checkout .btg-checkout-company-fields .wc-block-components-text-input > [role="alert"] {
	font-family: var(--wp--preset--font-family--source-sans-3, Arial, sans-serif);
	font-size: 0.875rem;
	font-weight: 400;
	line-height: 1.45;
	margin-block: 0.5rem 0;
}

body.woocommerce-checkout .wc-block-components-checkbox {
	font-size: 0.9375rem;
	line-height: 1.5;
}

body.woocommerce-checkout .wc-block-components-checkbox input,
body.woocommerce-checkout .wc-block-components-radio-control input[type="radio"] {
	accent-color: var(--wp--preset--color--accent, #5FAE45);
}

body.woocommerce-checkout .wc-block-components-radio-control,
body.woocommerce-checkout .wc-block-components-radio-control-accordion-option {
	border-color: var(--btg-purchase-line, #deddd6);
}

body.woocommerce-checkout .wc-block-components-radio-control__option,
body.woocommerce-checkout .wc-block-components-radio-control-accordion-option {
	border-radius: 8px;
}

body.woocommerce-checkout .wc-block-components-radio-control__option:has(input:checked),
body.woocommerce-checkout .wc-block-components-radio-control-accordion-option:has(input:checked) {
	background: rgb(95 174 69 / 8%);
	border-color: var(--wp--preset--color--accent, #5FAE45);
}

body.woocommerce-checkout .wc-block-components-radio-control__label,
body.woocommerce-checkout .wc-block-components-radio-control-accordion-option__label {
	font-weight: 600;
}

body.woocommerce-checkout .wc-block-components-order-summary {
	padding: clamp(1.125rem, 2vw, 1.5rem);
}

body.woocommerce-checkout .wc-block-components-order-summary-item,
body.woocommerce-checkout .wc-block-components-totals-item,
body.woocommerce-checkout .wc-block-components-totals-coupon {
	border-color: var(--btg-purchase-line, #deddd6);
}

body.woocommerce-checkout .wc-block-components-totals-footer-item {
	border-block-start: 1px solid var(--wp--preset--color--contrast, #1a1a1a);
	margin-block-start: 0.35rem;
	padding-block-start: 1.1rem;
}

body.woocommerce-checkout .wc-block-components-button,
body.woocommerce-checkout .wc-block-components-checkout-place-order-button {
	border-radius: 8px;
	box-shadow: none;
	font-family: var(--wp--preset--font-family--source-sans-3, Arial, sans-serif);
	letter-spacing: 0.02em;
	min-block-size: 50px;
	text-transform: none;
}

body.woocommerce-checkout .wc-block-components-checkout-place-order-button {
	background: var(--wp--preset--color--accent, #5FAE45);
	border-color: var(--wp--preset--color--accent, #5FAE45);
	color: var(--wp--preset--color--contrast, #1a1a1a);
}

body.woocommerce-checkout .wc-block-components-checkout-place-order-button:hover {
	background: #4c9636;
	border-color: #4c9636;
	color: var(--wp--preset--color--base, #ffffff);
}

body.woocommerce-checkout #apaczka_mp_geowidget_show_map.geowidget_show_map.checkout-block {
	align-items: center;
	background: var(--wp--preset--color--accent, #5FAE45);
	border: 1px solid var(--wp--preset--color--accent, #5FAE45) !important;
	border-radius: 999px;
	box-shadow: none !important;
	box-sizing: border-box;
	color: var(--wp--preset--color--contrast, #1a1a1a);
	cursor: pointer;
	display: flex;
	font-family: var(--wp--preset--font-family--source-sans-3, Arial, sans-serif);
	font-size: 0.9375rem !important;
	font-weight: 600;
	inline-size: fit-content;
	justify-content: center;
	letter-spacing: 0.02em;
	line-height: 1.2;
	margin-inline: auto;
	max-inline-size: 100%;
	min-block-size: 52px;
	padding-inline: 1.35rem;
	text-align: center;
	text-decoration: none;
	transition: background-color 160ms ease, border-color 160ms ease, color 160ms ease;
	white-space: nowrap;
}

body.woocommerce-checkout #apaczka_mp_geowidget_show_map.geowidget_show_map.checkout-block:not(:disabled):not([aria-disabled="true"]):not(.disabled):hover {
	background: #4c9636;
	border-color: #4c9636;
	color: var(--wp--preset--color--base, #ffffff);
}

body.woocommerce-checkout #apaczka_mp_geowidget_show_map.geowidget_show_map.checkout-block:focus-visible {
	outline: 3px solid var(--wp--preset--color--contrast, #1a1a1a);
	outline-offset: 3px;
}

body.woocommerce-checkout #apaczka_mp_geowidget_show_map.geowidget_show_map.checkout-block:disabled,
body.woocommerce-checkout #apaczka_mp_geowidget_show_map.geowidget_show_map.checkout-block[aria-disabled="true"],
body.woocommerce-checkout #apaczka_mp_geowidget_show_map.geowidget_show_map.checkout-block.disabled {
	background: var(--btg-purchase-line, #deddd6);
	border-color: var(--btg-purchase-line, #deddd6) !important;
	color: var(--btg-purchase-muted, rgb(26 26 26 / 68%));
	cursor: not-allowed;
}

body.woocommerce-checkout .wc-block-components-button:focus-visible,
body.woocommerce-checkout .wc-block-components-checkout-place-order-button:focus-visible,
body.woocommerce-cart .wc-block-components-button:focus-visible {
	outline: 2px solid var(--wp--preset--color--contrast, #1a1a1a);
	outline-offset: 3px;
}

body.woocommerce-order-received .woocommerce-order-overview,
body.woocommerce-order-received .woocommerce-order-details,
body.woocommerce-order-received .woocommerce-customer-details,
body.woocommerce-order-received .wc-block-order-confirmation-status,
body.woocommerce-order-received .wc-block-order-confirmation-summary,
body.woocommerce-order-received .wc-block-order-confirmation-totals,
body.woocommerce-order-received .wc-block-order-confirmation-shipping-address,
body.woocommerce-order-received .wc-block-order-confirmation-billing-address,
body.woocommerce-order-received .wc-block-order-confirmation-additional-information {
	margin-block: 1rem;
	padding: clamp(1.125rem, 2vw, 1.5rem);
}

body.woocommerce-order-received .woocommerce-order-overview {
	background: var(--btg-purchase-surface, #f6f5f1);
	border: 1px solid var(--btg-purchase-line, #deddd6);
	border-radius: 8px;
	color: var(--btg-purchase-muted, rgb(26 26 26 / 68%));
}

body.woocommerce-order-received .woocommerce-order-overview strong {
	color: var(--wp--preset--color--contrast, #1a1a1a);
	font-weight: 600;
}

body.woocommerce-order-received .wc-block-order-confirmation-status h1 {
	font-family: var(--wp--preset--font-family--libre-baskerville, Georgia, serif);
	font-size: clamp(1.875rem, 1.55rem + 1.1vw, 2.75rem);
	font-weight: 400;
	line-height: 1.18;
	margin-block: 0 0.65rem;
}

body.woocommerce-order-received .wc-block-order-confirmation-status > p {
	font-size: clamp(1.125rem, 1.05rem + 0.25vw, 1.25rem);
	line-height: 1.5;
	margin: 0;
}

body.woocommerce-order-received .wc-block-order-confirmation-additional-information > p {
	font-size: 1rem;
	line-height: 1.55;
	margin-block: 0 0.9rem;
}

body.woocommerce-order-received .woocommerce-bacs-bank-details {
	margin-block: 1rem 0;
}

body.woocommerce-order-received .wc-bacs-bank-details-heading {
	font-family: var(--wp--preset--font-family--libre-baskerville, Georgia, serif);
	font-size: clamp(1.25rem, 1.17rem + 0.25vw, 1.375rem);
	font-weight: 400;
	line-height: 1.3;
	margin-block: 0 0.75rem;
}

body.woocommerce-order-received .wc-bacs-bank-details-account-name {
	font-family: var(--wp--preset--font-family--source-sans-3, Arial, sans-serif);
	font-size: clamp(1rem, 0.94rem + 0.15vw, 1.125rem);
	font-weight: 600;
	letter-spacing: normal;
	line-height: 1.4;
	margin-block: 0 0.4rem;
}

body.woocommerce-order-received .wc-bacs-bank-details.order_details {
	display: grid;
	gap: 0.25rem;
	list-style: none;
	margin: 0;
	padding: 0;
}

body.woocommerce-order-received .wc-bacs-bank-details.order_details li {
	margin: 0;
}

body.woocommerce-order-received .wc-bacs-bank-details.order_details strong {
	font-weight: 600;
	overflow-wrap: anywhere;
}

body.woocommerce-order-received .btg-bacs-payment-reference {
	background: var(--btg-purchase-surface, #f6f5f1);
	border: 1px solid var(--btg-purchase-line, #deddd6);
	border-inline-start: 3px solid var(--wp--preset--color--accent, #5FAE45);
	border-radius: 8px;
	margin-block: 1rem;
	padding: clamp(1.125rem, 2vw, 1.5rem);
}

body.woocommerce-order-received .btg-bacs-payment-reference__title {
	font-family: var(--wp--preset--font-family--libre-baskerville, Georgia, serif);
	font-size: clamp(1.125rem, 1.04rem + 0.25vw, 1.35rem);
	font-weight: 400;
	margin-block: 0 0.75rem;
}

body.woocommerce-order-received .btg-bacs-payment-reference p {
	margin: 0;
}

body.woocommerce-order-received .woocommerce-table--order-details,
body.woocommerce-order-received .woocommerce-table--order-details th,
body.woocommerce-order-received .woocommerce-table--order-details td {
	border-color: var(--btg-purchase-line, #deddd6);
}

body.woocommerce-order-received .woocommerce-table--order-details th,
body.woocommerce-order-received .woocommerce-table--order-details td {
	padding: 0.875rem 0.75rem;
}

body.woocommerce-order-received .woocommerce-table--order-details tfoot tr:last-child th,
body.woocommerce-order-received .woocommerce-table--order-details tfoot tr:last-child td {
	border-block-start: 1px solid var(--wp--preset--color--contrast, #1a1a1a);
	font-size: 1.125rem;
	font-weight: 600;
}

body.woocommerce-order-received .woocommerce-columns--addresses {
	display: grid;
	gap: 1rem;
	grid-template-columns: repeat(2, minmax(0, 1fr));
}

body.woocommerce-order-received .woocommerce-column--billing-address,
body.woocommerce-order-received .woocommerce-column--shipping-address {
	background: var(--btg-purchase-surface, #f6f5f1);
	border: 1px solid var(--btg-purchase-line, #deddd6);
	border-radius: 8px;
	box-sizing: border-box;
	inline-size: auto;
	margin: 0;
	padding: clamp(1.125rem, 2vw, 1.5rem);
}

@media (min-width: 782px) {
	body.woocommerce-checkout .wc-block-components-sidebar-layout .wc-block-components-sidebar {
		align-self: start;
		position: sticky;
		top: 1.5rem;
	}
}

@media (max-width: 781px) {
	body.woocommerce-checkout .btg-plain-page,
	body.woocommerce-order-received .btg-plain-page {
		margin-block: var(--wp--preset--spacing--50, 2.25rem) !important;
	}

	body.woocommerce-checkout .wc-block-components-checkout-step,
	body.woocommerce-checkout .wc-block-components-order-summary,
	body.woocommerce-order-received .woocommerce-order-details,
	body.woocommerce-order-received .woocommerce-customer-details,
	body.woocommerce-order-received .wc-block-order-confirmation-status,
	body.woocommerce-order-received .wc-block-order-confirmation-summary,
	body.woocommerce-order-received .wc-block-order-confirmation-totals,
	body.woocommerce-order-received .wc-block-order-confirmation-shipping-address,
	body.woocommerce-order-received .wc-block-order-confirmation-billing-address,
	body.woocommerce-order-received .wc-block-order-confirmation-additional-information {
		border-radius: 8px;
	}

	body.woocommerce-checkout .wc-block-components-sidebar-layout {
		display: block;
	}

	body.woocommerce-checkout .wc-block-components-sidebar-layout .wc-block-components-main,
	body.woocommerce-checkout .wc-block-components-sidebar-layout .wc-block-components-sidebar {
		inline-size: 100%;
	}

	body.woocommerce-checkout .wc-block-components-sidebar-layout .wc-block-components-sidebar {
		margin-block-start: 1.5rem;
		position: static;
	}

	body.woocommerce-order-received .woocommerce-columns--addresses {
		grid-template-columns: 1fr;
	}

	body.woocommerce-order-received .wc-bacs-bank-details.order_details .account_number {
		font-size: 1rem;
		line-height: 1.5;
	}

	body.woocommerce-order-received .wc-bacs-bank-details.order_details .account_number strong {
		display: block;
		font-size: 1rem;
		letter-spacing: 0.02em;
		margin-block-start: 0.25rem;
		user-select: text;
	}
}
