body.q-commerce-page {
	--q-commerce-error: #9f281f;
	--q-commerce-error-surface: #fff2ef;
	margin: 0;
	background: var(--q-paper);
	color: var(--q-ink);
}

body.q-commerce-page :where(input, select, textarea, button) {
	font-family: var(--q-font);
}

.q-commerce-header {
	position: relative;
	z-index: 20;
}

.q-commerce-cart .q-commerce-header {
	grid-template-columns: 1fr auto;
}

.q-commerce-header .q-cart-link.is-current {
	color: var(--q-blue);
}

.q-commerce-page :where(.q-skip-link, .q-wordmark, .q-nav a, .q-header-actions a) {
	display: inline-flex;
	min-height: 44px;
	align-items: center;
}

.q-commerce-header__status {
	display: flex;
	gap: 10px;
	align-items: center;
	justify-self: center;
	margin: 0;
	font-size: 14px;
	font-weight: 750;
}

.q-commerce-header__status span {
	display: grid;
	width: 24px;
	height: 24px;
	place-items: center;
	background: var(--q-mint);
	font-size: 11px;
}

.q-commerce-main {
	background: var(--q-paper);
}

.q-commerce-intro {
	display: grid;
	grid-template-columns: minmax(0, 1.45fr) minmax(360px, 0.55fr);
	min-height: 430px;
	border-bottom: 1px solid var(--q-line);
}

.q-commerce-intro__copy {
	display: flex;
	flex-direction: column;
	justify-content: center;
	padding: clamp(62px, 7vw, 118px) var(--q-page-gutter);
}

.q-commerce-intro--cart .q-commerce-intro__copy {
	background: var(--q-blue-deep);
	color: var(--q-cool-white);
}

.q-commerce-intro--checkout .q-commerce-intro__copy {
	background: var(--q-teal-deep);
	color: var(--q-cool-white);
}

.q-commerce-kicker {
	display: flex;
	gap: 12px;
	align-items: center;
	margin: 0 0 18px;
	font-size: 12px;
	font-weight: 800;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.q-commerce-kicker span {
	display: grid;
	width: 26px;
	height: 26px;
	place-items: center;
	background: var(--q-orange);
	color: var(--q-ink);
	letter-spacing: 0;
}

body.q-commerce-page .q-commerce-intro h1 {
	max-width: 10ch;
	margin: 0;
	color: inherit;
	font-family: var(--q-display);
	font-size: clamp(54px, 6vw, 98px);
	font-weight: 800;
	letter-spacing: -0.04em;
	line-height: 0.94;
	text-wrap: balance;
}

.q-commerce-intro__copy > p:last-child {
	max-width: 52ch;
	margin: 28px 0 0;
	font-size: clamp(17px, 1.4vw, 21px);
	line-height: 1.45;
}

.q-commerce-intro--compact {
	display: grid;
	grid-template-columns: minmax(190px, 0.3fr) minmax(0, 1fr);
	min-height: 80px;
	background: var(--q-sky);
}

.q-commerce-intro--checkout.q-commerce-intro--compact {
	background: var(--q-mint);
}

.q-commerce-back {
	display: flex;
	gap: 14px;
	align-items: center;
	justify-content: center;
	padding: 12px var(--q-page-gutter);
	background: var(--q-blue-deep);
	color: var(--q-cool-white);
	font-size: 14px;
	font-weight: 800;
}

.q-commerce-intro--checkout .q-commerce-back {
	background: var(--q-teal-deep);
}

body.q-commerce-page .q-commerce-back,
body.q-commerce-page .q-commerce-back:visited,
body.q-commerce-page .q-commerce-back:hover,
body.q-commerce-page .q-commerce-back:focus-visible {
	color: var(--q-cool-white);
}

.q-commerce-intro--compact .q-commerce-kicker span {
	background: var(--q-blue-deep);
	color: var(--q-cool-white);
}
.q-commerce-intro--checkout.q-commerce-intro--compact .q-commerce-kicker span {
	background: var(--q-teal-deep);
}

.q-commerce-intro__compact-title {
	display: grid;
	grid-template-columns: max-content max-content minmax(0, 1fr);
	align-content: center;
	column-gap: 24px;
	padding: 12px var(--q-page-gutter);
}

.q-commerce-intro__compact-title .q-commerce-kicker {
	grid-column: 3;
	grid-row: 1;
	align-self: center;
	margin: 0;
}

.q-commerce-intro__compact-title .q-commerce-kicker--spacer {
	visibility: hidden;
	grid-column: 1;
}

body.q-commerce-page .q-commerce-intro__compact-title h1 {
	grid-column: 2;
	grid-row: 1;
	max-width: none;
	font-size: clamp(30px, 2.8vw, 42px);
	line-height: 1;
}

@media (max-width: 600px) {
	.q-commerce-intro--compact {
		grid-template-columns: 92px minmax(0, 1fr);
	}

	.q-commerce-back {
		gap: 6px;
		padding: 10px 8px;
	}

	.q-commerce-intro__compact-title {
		display: flex;
		flex-direction: column;
		align-items: flex-start;
		justify-content: center;
		gap: 5px;
		min-width: 0;
		padding: 10px 16px;
	}

	.q-commerce-intro__compact-title .q-commerce-kicker {
		order: 2;
		font-size: 10px;
		line-height: 1.2;
	}

	.q-commerce-intro__compact-title .q-commerce-kicker--spacer {
		display: none;
	}

	body.q-commerce-page .q-commerce-intro__compact-title h1 {
		order: 1;
	}
}

.q-commerce-steps {
	display: grid;
	grid-template-rows: repeat(2, 1fr);
	margin: 0;
	padding: 0;
	background: var(--q-cool-white);
	list-style: none;
}

.q-commerce-steps li {
	display: grid;
	grid-template-columns: 42px minmax(0, 1fr);
	grid-template-rows: auto auto;
	align-content: center;
	padding: clamp(34px, 4vw, 64px);
	border-bottom: 1px solid var(--q-line);
}

.q-commerce-steps li:last-child {
	border-bottom: 0;
}

.q-commerce-steps li > span {
	grid-row: 1 / 3;
	font-size: 12px;
	font-weight: 800;
}

.q-commerce-steps strong {
	font-size: clamp(28px, 2.6vw, 42px);
	line-height: 1;
}

.q-commerce-steps small {
	margin-top: 8px;
	color: var(--q-muted);
	font-size: 14px;
}

.q-commerce-steps .is-current {
	background: var(--q-sky);
}

.q-commerce-intro__note {
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
	padding: clamp(42px, 5vw, 78px) var(--q-page-gutter);
	background: var(--q-mint);
}

.q-commerce-intro__note::before {
	width: 58px;
	height: 8px;
	margin-bottom: auto;
	background: var(--q-orange);
	content: "";
}

.q-commerce-intro__note strong {
	max-width: 12ch;
	font-size: clamp(30px, 3vw, 46px);
	line-height: 1;
}

.q-commerce-intro__note span {
	max-width: 34ch;
	margin-top: 20px;
	font-size: 15px;
	line-height: 1.5;
}

.q-commerce-content {
	padding: clamp(54px, 6vw, 96px) var(--q-page-gutter) clamp(72px, 8vw, 130px);
}

.q-commerce-content > .woocommerce,
.q-commerce-content > .wp-block-woocommerce-cart,
.q-commerce-content > .wp-block-woocommerce-checkout,
.q-commerce-content .wp-block-woocommerce-cart,
.q-commerce-content .wp-block-woocommerce-checkout {
	width: 100%;
	max-width: 1480px;
	margin: 0 auto;
}

/* Keep WooCommerce notices functional and make them impossible to miss. */
.q-commerce-page :where(.woocommerce-error, .woocommerce-info, .woocommerce-message, .wc-block-components-notice-banner) {
	margin: 0 0 24px;
	padding: 18px 20px;
	border: 1px solid var(--q-line);
	border-top: 4px solid var(--q-orange);
	border-radius: 0;
	background: var(--q-cool-white);
	color: var(--q-ink);
	box-shadow: none;
}

.q-commerce-page :where(.woocommerce-error, .is-error) {
	border-top-color: var(--q-commerce-error);
	background: var(--q-commerce-error-surface);
}

.q-commerce-page .wc-block-components-notice-banner > svg {
	fill: currentColor;
}

/* Cart Block */
.q-commerce-cart .wp-block-woocommerce-filled-cart-block {
	display: grid;
	grid-template-columns: minmax(0, 1.55fr) minmax(340px, 0.65fr);
	gap: clamp(28px, 4vw, 72px);
	align-items: start;
}

.q-commerce-cart .wp-block-woocommerce-cart-items-block,
.q-commerce-cart .wp-block-woocommerce-cart-totals-block {
	float: none;
	width: 100% !important;
	margin: 0;
}

.q-commerce-cart .wp-block-woocommerce-cart-items-block {
	min-width: 0;
}

.q-commerce-cart .wc-block-cart-items {
	width: 100%;
	margin: 0;
	border: 0;
	border-collapse: collapse;
}

.q-commerce-cart .wc-block-cart-items thead {
	background: var(--q-blue-deep);
	color: var(--q-cool-white);
}

.q-commerce-cart .wc-block-cart-items thead th {
	padding: 14px 16px;
	border: 0;
	font-size: 11px;
	font-weight: 800;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.q-commerce-cart .wc-block-cart-items__row {
	border-bottom: 1px solid var(--q-line);
	background: var(--q-cool-white);
}

.q-commerce-cart .wc-block-cart-items td {
	padding: 10px 12px;
	vertical-align: top;
}

/* Product markers and quantity badges share the selector's --flavour-b palette. */
.q-commerce-page [class*="q-cart-product--"] {
	--q-cart-flavour: var(--flavour-b, var(--q-mint));
	--q-cart-quantity-text: var(--q-ink);
}
.q-commerce-page :is(.q-cart-product--steady-chocolate, .q-cart-product--steady-forest, .q-cart-product--steady-macchiato, .q-cart-product--steady-hazelnut, .q-cart-product--flow-raspberry) {
	--q-cart-quantity-text: var(--q-cool-white);
}

body.q-commerce-cart .woocommerce-cart-form .product-thumbnail,
body.q-commerce-cart .wc-block-cart-item__image {
	display: none !important;
}
body.q-commerce-cart .woocommerce-cart-form .product-name {
	text-align: left !important;
}
body.q-commerce-checkout .q-commerce-header__status span {
	background: #004949;
	color: var(--q-cool-white);
}
@media (max-width: 767px) {
	/* Reclaim Botiga's thumbnail space and keep recurring prices readable. */
	body.q-commerce-cart .woocommerce-cart-form tr.cart_item > td.product-name {
		flex: 0 0 100%;
		padding-right: 30px !important;
		padding-left: 0 !important;
	}
	body.q-commerce-cart .woocommerce-cart-form tr.cart_item > td.product-price {
		flex: 0 0 100%;
		margin-top: 8px;
		text-align: left !important;
	}
}
body.q-commerce-cart .woocommerce-cart-form td.product-name::before,
body.q-commerce-cart .wc-block-cart-item__product .wc-block-components-product-name::before {
	content: '';
	display: inline-block;
	float: none;
	width: 18px;
	height: 18px;
	margin-right: 10px;
	border: 1px solid rgba(22, 44, 42, .2);
	background: var(--q-cart-flavour, var(--q-mint));
	vertical-align: -3px;
}

body.q-commerce-cart table.wc-block-cart-items tbody tr.wc-block-cart-items__row > td.wc-block-cart-item__total {
	padding-right: 30px !important;
	text-align: right;
}

.q-commerce-cart .wc-block-cart-item__image img,
.q-commerce-checkout .wc-block-components-order-summary-item__image img {
	display: block;
	width: 100%;
	background: #fff9ed;
	object-fit: contain;
}

.q-commerce-cart .wc-block-components-product-name {
	color: var(--q-ink);
	font-size: clamp(17px, 1.35vw, 22px);
	font-weight: 750;
	line-height: 1.15;
	text-decoration: none;
}

.q-commerce-cart .wc-block-components-product-metadata,
.q-commerce-cart .wc-block-components-product-details,
.q-commerce-cart .wc-block-components-sale-badge,
.q-commerce-cart .wc-block-cart-item__prices {
	color: var(--q-muted);
	font-size: 13px;
}

.q-commerce-cart .wc-block-components-product-price {
	font-weight: 700;
}

.q-commerce-cart .wc-block-components-quantity-selector {
	display: grid;
	grid-template-columns: 38px 42px 38px;
	box-sizing: border-box;
	width: 120px;
	min-width: 120px;
	height: 40px;
	margin-top: 8px;
	border: 1px solid var(--q-line);
	border-radius: 0;
	background: var(--q-paper);
}

.q-commerce-cart .wc-block-components-quantity-selector::after {
	display: none;
}

.q-commerce-cart .wc-block-components-quantity-selector__button,
.q-commerce-cart .wc-block-components-quantity-selector__input {
	width: auto;
	min-width: 0;
	height: 38px;
	border: 0;
	border-radius: 0;
	background: transparent;
	color: var(--q-ink);
}

.q-commerce-cart .wc-block-components-quantity-selector__button:hover,
.q-commerce-cart .wc-block-components-quantity-selector__button:focus-visible {
	background: var(--q-mint);
}

.q-commerce-cart .wc-block-cart-item__remove-link {
	display: inline-flex;
	min-width: 44px;
	min-height: 44px;
	align-items: center;
	justify-content: center;
	margin: 6px 0 0 !important;
	padding: 0;
	border: 0;
	color: var(--q-muted);
	font-size: 12px;
	font-weight: 700;
	text-decoration: none;
}

.q-commerce-cart .wc-block-cart-item__quantity {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	align-items: flex-end;
}

body.q-commerce-cart .wc-block-components-quantity-selector__button {
	background: var(--q-teal-deep) !important;
	color: var(--q-cool-white) !important;
}

body.q-commerce-cart .wc-block-components-quantity-selector__button:hover,
body.q-commerce-cart .wc-block-components-quantity-selector__button:focus-visible,
body.q-commerce-cart .wc-block-components-quantity-selector__button:active {
	background: var(--q-orange) !important;
	color: var(--q-ink) !important;
}

body.q-commerce-cart .wc-block-components-quantity-selector__button:disabled {
	opacity: 0.48;
}

@media (min-width: 861px) {
	body.q-commerce-cart table.wc-block-cart-items tbody tr.wc-block-cart-items__row > td {
		padding-top: 8px !important;
		padding-bottom: 8px !important;
	}

	body.q-commerce-cart table.wc-block-cart-items tbody tr.wc-block-cart-items__row > td.wc-block-cart-item__image,
	body.q-commerce-cart table.wc-block-cart-items tbody tr.wc-block-cart-items__row > td.wc-block-cart-item__product {
		padding-left: 16px !important;
	}

	body.q-commerce-cart table.wc-block-cart-items tbody tr.wc-block-cart-items__row > td.wc-block-cart-item__total > .wc-block-cart-item__total-price-and-sale-badge-wrapper {
		transform: translateY(21px);
	}

	body.q-commerce-cart .wc-block-cart-item__wrap {
		gap: 2px !important;
	}

	body.q-commerce-cart .wc-block-components-quantity-selector {
		grid-template-columns: 34px 40px 34px;
		width: 110px;
		min-width: 110px;
		height: 34px;
		margin-top: 0;
	}

	body.q-commerce-cart .wc-block-components-quantity-selector__button,
	body.q-commerce-cart .wc-block-components-quantity-selector__input {
		height: 32px;
	}

	body.q-commerce-cart .wc-block-cart-item__quantity {
		gap: 8px;
		align-items: center;
	}

	body.q-commerce-cart .wc-block-cart-item__remove-link {
		min-width: 34px;
		min-height: 34px;
		margin: 0 !important;
	}
}

.q-commerce-cart .wc-block-cart-item__remove-link:hover,
.q-commerce-cart .wc-block-cart-item__remove-link:focus-visible {
	color: #8b2e27;
	text-decoration: underline;
	text-underline-offset: 3px;
}

.q-commerce-cart .wp-block-woocommerce-cart-totals-block {
	position: sticky;
	top: 24px;
	padding: clamp(24px, 3vw, 38px);
	border: 1px solid var(--q-line);
	background: transparent;
}

body.q-commerce-cart .cart_totals {
	margin-top: 50px;
	border: 1px solid var(--q-line);
	background: transparent;
}

.q-commerce-cart .wp-block-woocommerce-cart-order-summary-heading-block {
	padding: 0 0 22px;
	border-bottom: 4px solid var(--q-blue-deep);
}

.q-commerce-cart .wp-block-woocommerce-cart-order-summary-heading-block .wc-block-cart__totals-title {
	margin: 0;
	padding: 0;
	color: var(--q-ink);
	font-size: clamp(28px, 2.6vw, 40px);
	font-weight: 800;
	letter-spacing: -0.03em;
	text-transform: none;
}

.q-commerce-page .wc-block-components-totals-wrapper {
	padding: 18px 0;
	border-top: 1px solid var(--q-line);
}

.q-commerce-page .wc-block-components-totals-item {
	font-size: 15px;
}

.q-commerce-page .wc-block-components-totals-item__value {
	font-weight: 750;
}

.q-commerce-page .wc-block-components-totals-footer-item {
	font-size: 20px;
}

.q-commerce-page .wc-block-components-totals-coupon__button,
.q-commerce-page .wc-block-components-totals-coupon-link {
	color: var(--q-blue-deep);
	font-weight: 750;
	text-decoration: none;
}

.q-commerce-page .wc-block-components-totals-coupon__form {
	gap: 8px;
}

.q-commerce-page :where(.wc-block-components-text-input input, .wc-block-components-combobox .wc-block-components-combobox-control input, .wc-block-components-textarea) {
	min-height: 52px;
	border: 1px solid var(--q-line) !important;
	border-radius: 0 !important;
	background: var(--q-cool-white) !important;
	color: var(--q-ink) !important;
	box-shadow: none !important;
}

.q-commerce-page :where(.wc-block-components-text-input input, .wc-block-components-combobox .wc-block-components-combobox-control input, .wc-block-components-textarea):focus {
	border-color: var(--q-blue) !important;
	outline: 3px solid color-mix(in srgb, var(--q-sky) 70%, transparent) !important;
	outline-offset: 1px;
}

.q-commerce-page :where(.wc-block-components-text-input label, .wc-block-components-combobox .wc-block-components-combobox-control label) {
	color: var(--q-muted) !important;
}

.q-commerce-page .wc-block-components-button,
.q-commerce-page .wc-block-cart__submit-button,
.q-commerce-page .wc-block-components-checkout-place-order-button {
	min-height: 56px;
	border: 0;
	border-radius: 0;
	background: var(--q-orange);
	color: var(--q-ink);
	font-size: 15px;
	font-weight: 750;
	box-shadow: none;
	transition: background-color 180ms ease, color 180ms ease, transform 180ms var(--q-ease-out);
}

.q-commerce-page .wc-block-cart__submit-button,
.q-commerce-page .wc-block-components-checkout-place-order-button,
.q-commerce-page .wc-block-components-totals-coupon__button {
	min-height: 56px !important;
	background: var(--q-orange) !important;
	color: var(--q-ink) !important;
}

.q-commerce-page .wc-block-cart__submit-button:hover:not(:disabled),
.q-commerce-page .wc-block-components-checkout-place-order-button:hover:not(:disabled),
.q-commerce-page .wc-block-components-totals-coupon__button:hover:not(:disabled) {
	background: var(--q-ink) !important;
	color: var(--q-cool-white) !important;
}

.q-commerce-page .wc-block-cart__submit-button:disabled,
.q-commerce-page .wc-block-components-checkout-place-order-button:disabled,
.q-commerce-page .wc-block-components-totals-coupon__button:disabled {
	background: var(--q-mist) !important;
	color: var(--q-muted) !important;
}

.q-commerce-page .wc-block-components-button:hover:not(:disabled),
.q-commerce-page .wc-block-cart__submit-button:hover:not(:disabled),
.q-commerce-page .wc-block-components-checkout-place-order-button:hover:not(:disabled) {
	background: var(--q-ink);
	color: var(--q-cool-white);
	transform: translateY(-2px);
}

.q-commerce-page .wc-block-components-button:disabled,
.q-commerce-page .wc-block-cart__submit-button:disabled,
.q-commerce-page .wc-block-components-checkout-place-order-button:disabled {
	background: var(--q-mist);
	color: var(--q-muted);
	opacity: 1;
}

.q-commerce-page .wc-block-cart__submit-container {
	padding: 0;
}

.q-commerce-page .wc-block-cart__submit-button {
	margin-top: 18px;
}

.q-commerce-page .wc-block-components-express-payment-continue-rule {
	color: var(--q-muted);
}

.q-commerce-page .wc-block-components-payment-method-icons {
	justify-content: flex-start;
}

/* The empty state teaches the next action without showing a generic product rail. */
.q-commerce-cart .wp-block-woocommerce-empty-cart-block {
	padding: clamp(54px, 7vw, 96px);
	padding-bottom: calc(clamp(54px, 7vw, 96px) + 80px);
	background: var(--q-cool-white);
	text-align: left;
}

.q-commerce-cart .wc-block-cart__empty-cart__title {
	max-width: 12ch;
	margin: 0;
	color: var(--q-ink);
	font-size: clamp(42px, 5.5vw, 82px);
	font-weight: 800;
	letter-spacing: -0.04em;
	line-height: 0.96;
	text-align: left;
}

.q-commerce-cart .wc-block-cart__empty-cart__title::before,
.q-commerce-cart .wp-block-woocommerce-empty-cart-block > .wp-block-separator,
.q-commerce-cart .wp-block-woocommerce-empty-cart-block > h2:not(.wc-block-cart__empty-cart__title),
.q-commerce-cart .wp-block-woocommerce-empty-cart-block > .wp-block-woocommerce-product-new {
	display: none;
}

.q-commerce-empty-action {
	display: none;
	min-height: 56px;
	align-items: center;
	gap: 10px;
	width: fit-content;
	margin: 0 0 clamp(54px, 7vw, 96px) clamp(54px, 7vw, 96px);
	padding: 0 24px;
	background: var(--q-orange);
	color: var(--q-ink);
	font-size: 15px;
	font-weight: 750;
	text-decoration: none;
}

.q-commerce-cart--empty .q-commerce-empty-action {
	display: flex;
	grid-area: 1 / 1;
	z-index: 1;
	align-self: end;
	justify-self: start;
}

.q-commerce-empty-action:hover,
.q-commerce-empty-action:focus-visible {
	background: var(--q-ink);
	color: var(--q-cool-white);
}

.q-commerce-cart--empty .q-commerce-content--cart {
	display: grid;
	padding-bottom: 56px;
}

.q-commerce-cart--empty .q-commerce-content--cart > .wp-block-woocommerce-cart,
.q-commerce-cart--empty .q-commerce-content--cart > .woocommerce {
	grid-area: 1 / 1;
}

/* Checkout Block */
.q-commerce-checkout .wp-block-woocommerce-checkout.wc-block-checkout {
	display: block;
	padding: 0;
}

.q-commerce-checkout .wp-block-woocommerce-checkout > .wc-block-components-sidebar-layout {
	display: grid;
	grid-template-columns: minmax(0, 1.35fr) minmax(360px, 0.65fr);
	gap: clamp(34px, 5vw, 84px);
	align-items: start;
	padding: 0;
}

.q-commerce-checkout .wc-block-checkout__main,
.q-commerce-checkout .wc-block-checkout__sidebar {
	float: none;
	width: 100% !important;
	max-width: none;
	margin: 0;
}

.q-commerce-checkout .wp-block-woocommerce-checkout-fields-block,
.q-commerce-checkout .wp-block-woocommerce-checkout-totals-block {
	float: none;
	width: auto;
	margin: 0;
}

.q-commerce-checkout .wp-block-woocommerce-checkout-fields-block {
	width: 100% !important;
}

.q-commerce-checkout .wp-block-woocommerce-checkout-totals-block {
	width: 100% !important;
}

.q-commerce-checkout .wc-block-components-checkout-step {
	margin: 0 0 20px;
	padding: clamp(24px, 3vw, 38px);
	border: 1px solid var(--q-line);
	background: var(--q-cool-white);
}

.q-commerce-checkout .wc-block-components-checkout-step__heading {
	margin: 0 0 24px;
	padding: 0 0 18px;
	border-bottom: 1px solid var(--q-line);
}

.q-commerce-checkout .wc-block-components-checkout-step__title {
	color: var(--q-ink);
	font-size: clamp(24px, 2.2vw, 34px);
	font-weight: 800;
	letter-spacing: -0.025em;
	line-height: 1.05;
}

.q-commerce-checkout .wc-block-components-checkout-step__description {
	color: var(--q-muted);
	font-size: 14px;
}

.q-commerce-checkout .wc-block-checkout__form .wc-block-components-checkout-step--with-step-number .wc-block-components-checkout-step__container::after {
	display: none;
}

.q-commerce-checkout .wc-block-components-checkout-step__container {
	padding: 0;
}

.q-commerce-checkout .wc-block-components-checkout-step__content {
	padding: 0;
}

.q-checkout-contact-context {
	margin: 0 0 20px;
	color: var(--q-muted);
	font-size: 14px;
}

.q-checkout-contact-context a {
	color: var(--q-blue-deep);
	font-weight: 800;
	text-decoration: underline;
	text-underline-offset: 3px;
}

.q-checkout-validation-summary {
	margin: 0 0 20px;
	padding: 20px 22px;
	border: 1px solid var(--q-commerce-error);
	border-top-width: 5px;
	background: var(--q-commerce-error-surface);
	color: var(--q-ink);
}

.q-checkout-validation-summary h2 {
	margin: 0 0 10px;
	font-size: 18px;
	font-weight: 800;
}

.q-checkout-validation-summary ul {
	display: grid;
	gap: 4px;
	margin: 0;
	padding-left: 20px;
}

.q-checkout-validation-summary a {
	color: var(--q-commerce-error);
	font-weight: 700;
	text-underline-offset: 3px;
}

.q-commerce-checkout .wc-block-components-validation-error {
	padding-top: 8px;
	color: var(--q-commerce-error);
	font-size: 13px;
	font-weight: 700;
}

.q-commerce-checkout .wc-block-components-validation-error svg {
	fill: currentColor;
}

.q-commerce-checkout :where(input, select, textarea)[aria-invalid="true"] {
	border-color: var(--q-commerce-error) !important;
	box-shadow: 0 0 0 1px var(--q-commerce-error) !important;
}

.q-commerce-checkout .wc-block-checkout__login-prompt {
	display: none !important;
}

.q-commerce-checkout .wc-block-components-address-form:is(#billing, #shipping) {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 14px 12px;
}

.q-commerce-checkout .wc-block-components-address-form:is(#billing, #shipping) > * {
	grid-column: 1 / -1 !important;
}

.q-commerce-checkout .wc-block-components-address-form:is(#billing, #shipping) .wc-block-components-address-form__first_name {
	grid-column: 1 !important;
	order: 10;
}

.q-commerce-checkout .wc-block-components-address-form:is(#billing, #shipping) .wc-block-components-address-form__last_name {
	grid-column: 2 !important;
	order: 20;
}

.q-commerce-checkout .wc-block-components-address-form:is(#billing, #shipping) .wc-block-components-address-form__address_1 { order: 30; }
.q-commerce-checkout .wc-block-components-address-form:is(#billing, #shipping) .wc-block-components-address-form__address_2-toggle,
.q-commerce-checkout .wc-block-components-address-form:is(#billing, #shipping) .wc-block-components-address-form__address_2,
.q-commerce-checkout .wc-block-components-address-form:is(#billing, #shipping) .wc-block-components-address-form__address_2-hidden-input { order: 40; }
.q-commerce-checkout .wc-block-components-address-form:is(#billing, #shipping) .wc-block-components-address-form__company { order: 50; }

.q-commerce-checkout .wc-block-components-address-form:is(#billing, #shipping) .wc-block-components-address-form__country {
	grid-column: 1 !important;
	order: 60;
}

.q-commerce-checkout .wc-block-components-address-form:is(#billing, #shipping) .wc-block-components-address-form__postcode {
	grid-column: 2 !important;
	order: 70;
}

.q-commerce-checkout .wc-block-components-address-form:is(#billing, #shipping) .wc-block-components-address-form__city { order: 80; }
.q-commerce-checkout .wc-block-components-address-form:is(#billing, #shipping) .wc-block-components-address-form__phone { order: 90; }

.q-commerce-checkout .wc-block-checkout__add-note {
	display: none !important;
}

.q-commerce-checkout .wc-block-checkout__guest-checkout-notice {
	display: none !important;
}

.q-commerce-checkout .wc-block-checkout__shipping-method-option,
.q-commerce-checkout .wc-block-components-radio-control-accordion-option,
.q-commerce-checkout .wc-block-components-radio-control__option {
	border: 1px solid var(--q-line);
	border-radius: 0;
	background: var(--q-paper);
}

.q-commerce-checkout .wc-block-components-radio-control__option:has(input:checked),
.q-commerce-checkout .wc-block-components-radio-control-accordion-option:has(input:checked) {
	border-color: var(--q-blue-deep);
	background: color-mix(in srgb, var(--q-sky) 42%, var(--q-cool-white));
}

.q-commerce-checkout .wc-block-components-radio-control__input:checked::before {
	background: var(--q-blue-deep);
}

.q-commerce-checkout .wc-block-checkout__terms,
.q-commerce-checkout .wc-block-checkout__actions {
	margin: 0;
	padding: 24px;
	border: 1px solid var(--q-line);
	border-top: 0;
	background: var(--q-cool-white);
}

.q-commerce-checkout .wc-block-checkout__actions_row {
	gap: 16px;
}

.q-commerce-checkout .wc-block-components-checkout-return-to-cart-button {
	color: var(--q-blue-deep);
	font-weight: 700;
	text-decoration: none;
}

.q-commerce-checkout .wp-block-woocommerce-checkout-totals-block {
	position: sticky;
	top: 24px;
	padding: clamp(24px, 3vw, 38px);
	border: 1px solid var(--q-line);
	background: var(--q-cool-white);
}

.q-commerce-checkout .wc-block-components-checkout-order-summary__title {
	padding: 0 0 22px;
	border-bottom: 4px solid var(--q-teal-deep);
	color: var(--q-ink);
	font-size: clamp(28px, 2.6vw, 40px);
	font-weight: 800;
	letter-spacing: -0.03em;
}

.q-commerce-checkout .wc-block-components-order-summary-item {
	padding: 20px 0;
	border-bottom: 1px solid var(--q-line);
}

.q-commerce-checkout .wc-block-components-order-summary-item__image {
	width: 72px;
}

body.q-commerce-checkout .wc-block-components-order-summary-item__quantity,
body.q-commerce-checkout .merchant-pro-sc-product-quantity {
	min-width: 26px;
	width: auto;
	height: 26px;
	padding: 0 5px;
	border: 1px solid rgba(22, 44, 42, .2);
	border-radius: 0;
	background: var(--q-cart-flavour, var(--q-mint));
	color: var(--q-cart-quantity-text, var(--q-ink));
	font-size: 13px;
	font-weight: 800;
	line-height: 1;
	box-shadow: none;
}

.q-commerce-checkout .wc-block-components-order-summary-item__description .wc-block-components-product-name {
	color: var(--q-ink);
	font-weight: 750;
}

.q-commerce-checkout .wc-block-components-order-summary-item__individual-prices,
.q-commerce-checkout .wc-block-components-product-metadata {
	color: var(--q-muted);
	font-size: 12px;
}

.q-commerce-checkout .wc-block-components-address-card {
	border: 1px solid var(--q-line);
	border-radius: 0;
	background: var(--q-paper);
}

.q-commerce-checkout .wc-block-components-address-card__edit {
	color: var(--q-blue-deep);
	font-weight: 700;
}

.q-commerce-checkout .wc-block-checkout__payment-method .wc-block-components-radio-control {
	border-radius: 0;
}

.q-commerce-checkout .wc-block-components-checkbox .wc-block-components-checkbox__input[type="checkbox"] {
	border: 1px solid var(--q-line);
	border-radius: 0;
}

.q-commerce-checkout .wc-block-components-checkbox .wc-block-components-checkbox__input[type="checkbox"]:checked {
	border-color: var(--q-blue-deep);
	background: var(--q-blue-deep);
}

.q-commerce-cross-sells,
.q-commerce-faq {
	padding-right: var(--q-page-gutter);
	padding-left: var(--q-page-gutter);
}

.q-commerce-cross-sells {
	padding-top: clamp(8px, 2vw, 26px);
	padding-bottom: clamp(60px, 7vw, 108px);
}

.q-commerce-cross-sells > header {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: clamp(24px, 4vw, 64px);
	max-width: 1480px;
	align-items: end;
	margin: 0 auto clamp(28px, 4vw, 48px);
}

.q-commerce-cross-sells > header p,
.q-commerce-faq > header p,
.q-commerce-cross-sell__copy > p {
	margin: 0;
	color: var(--q-blue);
	font-size: 11px;
	font-weight: 800;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.q-commerce-cross-sells > header h2,
.q-commerce-faq > header h2 {
	margin: 0;
	color: var(--q-ink);
	font-size: clamp(34px, 4vw, 62px);
	font-weight: 800;
	letter-spacing: -0.04em;
	line-height: 0.98;
}

.q-commerce-cross-sells > header > span {
	max-width: 36ch;
	color: var(--q-muted);
	font-size: 14px;
	line-height: 1.5;
}

.q-commerce-cross-sells > header h2 {
	font-weight: 600;
}

.q-commerce-cross-sells__items {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 430px), 1fr));
	max-width: 1480px;
	margin: 0 auto;
	border: 1px solid var(--q-line);
}

.q-commerce-cross-sell {
	display: grid;
	grid-template-columns: minmax(140px, 0.72fr) minmax(190px, 1fr);
	grid-template-rows: minmax(210px, auto) auto auto;
	position: relative;
	border-right: 1px solid var(--q-line);
	background: var(--q-cool-white);
}

.q-commerce-cross-sell:last-child {
	border-right: 0;
}

.q-commerce-cross-sell__image {
	display: grid;
	grid-row: 1 / 4;
	place-items: center;
	min-height: 100%;
	padding: clamp(22px, 3vw, 42px);
	background: var(--q-sky);
}

.q-commerce-cross-sell--limited .q-commerce-cross-sell__image,
.q-commerce-cross-sell--oat .q-commerce-cross-sell__image { background: #fff9ed; }
.q-commerce-cross-sell--limited .q-commerce-cross-sell__image img { transform: scale(.8); }
.q-commerce-cross-sell--teal .q-commerce-cross-sell__image { background: #9fd7c3; }

.q-commerce-cross-sell__image img {
	display: block;
	width: 100%;
	max-height: 250px;
	object-fit: contain;
}

.q-commerce-cross-sell__copy {
	display: flex;
	flex-direction: column;
	justify-content: center;
	padding: clamp(24px, 3vw, 38px);
}

.q-commerce-cross-sell__copy h3 {
	margin: 8px 0 10px;
	color: var(--q-ink);
	font-size: clamp(26px, 2.4vw, 38px);
	font-weight: 600;
	letter-spacing: -0.035em;
	line-height: 1;
}

.q-commerce-cross-sell__copy > span {
	color: var(--q-muted);
	font-size: 14px;
	line-height: 1.45;
}

.q-commerce-cross-sell__copy strong {
	margin-top: 22px;
	font-size: 17px;
}

.q-commerce-cross-sell button,
.q-commerce-cross-sell__choose {
	display: flex;
	min-height: 56px;
	align-items: center;
	justify-content: space-between;
	padding: 0 20px;
	border: 0;
	border-top: 1px solid var(--q-line);
	background: var(--q-teal-deep);
	color: var(--q-cool-white);
	font: inherit;
	font-weight: 800;
	cursor: pointer;
}

.q-commerce-cross-sell button:hover,
.q-commerce-cross-sell button:focus-visible,
.q-commerce-cross-sell__choose:hover,
.q-commerce-cross-sell__choose:focus-visible {
	background: var(--q-orange);
	color: var(--q-ink);
}

.q-commerce-cross-sell button:disabled {
	cursor: wait;
	opacity: 0.7;
}

.q-commerce-cross-sell__status {
	min-height: 0;
	margin: 0;
	padding: 0 20px;
	color: var(--q-commerce-error);
	font-size: 13px;
	font-weight: 700;
}

.q-commerce-cross-sell__status:not(:empty) {
	min-height: 48px;
	padding-top: 12px;
	padding-bottom: 12px;
}

.q-commerce-faq {
	display: grid;
	grid-template-columns: minmax(250px, 0.72fr) minmax(0, 1.28fr);
	gap: clamp(40px, 7vw, 120px);
	padding-top: clamp(60px, 7vw, 108px);
	padding-bottom: clamp(60px, 7vw, 108px);
	border-top: 1px solid var(--q-line);
	background: var(--q-paper);
}

.q-commerce-faq > header {
	max-width: 520px;
	justify-self: end;
}

.q-commerce-faq > header p {
	margin-bottom: 16px;
}

.q-commerce-faq__answers {
	width: 100%;
	min-width: 0;
	max-width: 760px;
}

.q-commerce-faq .q-cart-table-wrap { overflow-x: auto; margin: 20px 0; }
/* Leave one pixel for collapsed-border rounding inside the overflow region. */
.q-commerce-faq .q-cart-shipping-table { width: calc(100% - 1px); min-width: 0; table-layout: fixed; margin: 0; border-collapse: collapse; font-size: 13px; }
.q-commerce-faq .q-cart-shipping-table--delivery { min-width: 0; table-layout: fixed; }
.q-commerce-faq .q-cart-shipping-table--delivery thead th:last-child { width: 115px; }
.q-commerce-faq .q-cart-shipping-table--delivery thead th:last-child span { display: block; }
.q-commerce-faq .q-cart-shipping-table th,
.q-commerce-faq .q-cart-shipping-table td { padding: 10px 8px; border: 0; border-bottom: 1px solid var(--q-line); text-align: left; vertical-align: top; }
.q-commerce-faq .q-cart-shipping-table thead th { font-size: 11px; font-weight: 700; background: var(--q-cool-white); }
.q-commerce-faq .q-cart-shipping-table th { word-break: normal; overflow-wrap: normal; }
.q-commerce-faq .q-cart-shipping-table:not(.q-cart-shipping-table--delivery) thead th:first-child { width: 40%; }
.q-commerce-faq .q-cart-shipping-table:not(.q-cart-shipping-table--delivery) th,
.q-commerce-faq .q-cart-shipping-table:not(.q-cart-shipping-table--delivery) td { padding-right: 4px; padding-left: 4px; }
@media (max-width: 480px) {
	.q-commerce-faq .q-cart-shipping-table:not(.q-cart-shipping-table--delivery) thead th { font-size: 10px; }
}
.q-commerce-faq .q-cart-shipping-table tbody th { font-weight: 500; }
.q-commerce-faq .q-cart-shipping-table td { white-space: nowrap; }
.q-commerce-faq .q-cart-table-note { font-size: 12px; line-height: 1.5; }

.q-commerce-faq details {
	border-top: 1px solid var(--q-line);
}

.q-commerce-faq details:last-child {
	border-bottom: 1px solid var(--q-line);
}

.q-commerce-faq summary {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 22px;
	gap: 24px;
	align-items: center;
	min-height: 74px;
	padding: 16px 0;
	color: var(--q-ink);
	font-size: clamp(17px, 1.5vw, 21px);
	font-weight: 800;
	cursor: pointer;
	list-style: none;
}

.q-commerce-faq summary::-webkit-details-marker { display: none; }

.q-commerce-faq summary > span {
	display: block;
	position: relative;
	width: 18px;
	height: 18px;
}

.q-commerce-faq summary > span::before,
.q-commerce-faq summary > span::after {
	position: absolute;
	top: 8px;
	left: 2px;
	width: 14px;
	height: 2px;
	background: var(--q-blue);
	content: "";
	transition: transform 180ms var(--q-ease-out);
}

.q-commerce-faq summary > span::after { transform: rotate(90deg); }
.q-commerce-faq details[open] summary > span::after { transform: rotate(0deg); }

.q-commerce-faq details > div {
	padding: 0 50px 24px 0;
}

.q-commerce-faq details p {
	max-width: 60ch;
	margin: 0;
	color: var(--q-muted);
	line-height: 1.55;
}

.q-commerce-faq details a {
	display: inline-block;
	margin-top: 12px;
	color: var(--q-blue-deep);
	font-weight: 800;
	text-underline-offset: 3px;
}

.q-commerce-cart--empty .q-commerce-cross-sells,
.q-commerce-cart--empty .q-commerce-faq {
	display: none;
}

.q-commerce-reassurance {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	border-top: 1px solid var(--q-line);
	border-bottom: 1px solid var(--q-line);
	background: var(--q-cool-white);
}

.q-commerce-reassurance p {
	display: grid;
	grid-template-columns: 36px minmax(0, 1fr);
	grid-template-rows: auto auto;
	min-height: 170px;
	align-content: center;
	margin: 0;
	padding: 32px var(--q-page-gutter);
	border-right: 1px solid var(--q-line);
}

.q-commerce-reassurance p:last-child {
	border-right: 0;
}

.q-commerce-reassurance p > span {
	grid-row: 1 / 3;
	font-size: 11px;
	font-weight: 800;
}

.q-commerce-reassurance strong {
	font-size: 19px;
}

.q-commerce-reassurance small {
	margin-top: 6px;
	color: var(--q-muted);
	font-size: 13px;
}

.q-commerce-reassurance a {
	color: var(--q-blue-deep);
	font-weight: 750;
}

.q-commerce-footer {
	border-top: 0;
}

.q-commerce-footer .q-footer-links a {
	display: inline-flex;
	min-height: 44px;
	align-items: center;
	color: var(--q-cool-white);
}

.q-order-confirmation {
	max-width: 1440px;
	margin: 0 auto;
	padding: 18px 48px 108px;
}

.q-order-confirmation__heading {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: 18px;
	align-items: end;
	padding: 42px 0 34px;
	border-top: 1px solid var(--q-line);
}

.q-order-confirmation__heading .q-commerce-kicker {
	grid-column: 1 / -1;
}

.q-order-confirmation__heading h2 {
	max-width: none;
	margin: 0;
	font-family: var(--q-display);
	font-size: clamp(38px, 5vw, 70px);
	font-weight: 760;
	letter-spacing: -0.055em;
	line-height: 0.94;
}

.q-order-confirmation__heading > p:last-child {
	max-width: none;
	margin: 0 0 4px;
	color: var(--q-muted);
	font-size: 17px;
	line-height: 1.55;
}

.q-order-confirmation__grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 18px;
}

.q-confirmation-card {
	display: grid;
	min-width: 0;
	border: 1px solid var(--q-line);
	background: var(--q-cool-white);
}

.q-confirmation-card__copy {
	padding: 28px;
}

.q-confirmation-card__label {
	margin: 0 0 22px;
	color: var(--q-blue-deep);
	font-size: 11px;
	font-weight: 850;
	letter-spacing: 0.09em;
	text-transform: uppercase;
}

.q-confirmation-address {
	margin-bottom: 20px;
	font-family: var(--q-display);
	font-size: 23px;
	font-style: normal;
	font-weight: 720;
	letter-spacing: -0.025em;
	line-height: 1.22;
}

.q-confirmation-card__copy > p:not(.q-confirmation-card__label) {
	margin: 0 0 12px;
	color: var(--q-muted);
	font-size: 14px;
	line-height: 1.5;
}

.q-confirmation-card__copy > a {
	color: var(--q-blue-deep);
	font-weight: 780;
}

.q-confirmation-card__copy h3 {
	max-width: 13ch;
	margin: 0 0 18px;
	font-family: var(--q-display);
	font-size: clamp(28px, 3vw, 42px);
	letter-spacing: -0.045em;
	line-height: 0.98;
}

.q-confirmation-media {
	min-height: 330px;
	background: #d9e9ef;
}

.q-confirmation-media--video {
	min-height: 300px;
	background: #10272a;
	color: var(--q-cool-white);
}

.q-confirmation-media iframe {
	display: block;
	width: 100%;
	height: 100%;
	min-height: inherit;
	border: 0;
}

.q-confirmation-media__placeholder {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	justify-content: flex-end;
	min-height: inherit;
	padding: 28px;
}

.q-confirmation-media__placeholder > strong {
	margin-bottom: 6px;
	font-family: var(--q-display);
	font-size: 26px;
	letter-spacing: -0.035em;
}

.q-confirmation-media__placeholder > span:not(.q-confirmation-play) {
	max-width: 38ch;
	margin-bottom: 18px;
	color: var(--q-muted);
	font-size: 13px;
	line-height: 1.45;
}

.q-confirmation-media--video .q-confirmation-media__placeholder > span:not(.q-confirmation-play) {
	color: #b9ccca;
}

.q-confirmation-media__placeholder button {
	display: inline-flex;
	gap: 26px;
	align-items: center;
	justify-content: space-between;
	min-width: 152px;
	min-height: 46px;
	padding: 10px 13px;
	border: 0;
	background: var(--q-orange);
	color: #301a00;
	cursor: pointer;
	font-weight: 820;
}

.q-confirmation-media__placeholder button:hover,
.q-confirmation-media__placeholder button:focus-visible {
	background: #ffad4d;
}

.q-confirmation-media__placeholder > a {
	display: inline-flex;
	min-height: 44px;
	align-items: center;
	margin-top: 8px;
	color: var(--q-blue-deep);
	font-size: 12px;
	font-weight: 750;
}

.q-confirmation-play {
	display: grid;
	width: 54px;
	height: 54px;
	place-items: center;
	margin-bottom: auto;
	border: 1px solid rgba(255, 255, 255, 0.44);
	color: var(--q-orange);
	font-size: 18px;
}

@media (max-width: 1080px) {
	.q-commerce-intro {
		grid-template-columns: minmax(0, 1.25fr) minmax(300px, 0.75fr);
		min-height: 380px;
	}

	.q-commerce-cart .wp-block-woocommerce-filled-cart-block,
	.q-commerce-checkout .wp-block-woocommerce-checkout > .wc-block-components-sidebar-layout {
		grid-template-columns: minmax(0, 1fr) 340px;
		gap: 28px;
	}

	.q-commerce-content {
		padding-right: 28px;
		padding-left: 28px;
	}

	.q-order-confirmation {
		padding-right: 28px;
		padding-left: 28px;
	}

}

@media (max-width: 860px) {
	.q-commerce-page .q-header {
		position: relative;
	}

	.q-commerce-cart .q-commerce-main {
		padding-top: 43px;
	}

	.q-commerce-checkout .q-commerce-header__status {
		margin-left: auto;
	}

	.q-commerce-checkout .q-header-actions {
		margin-left: 0;
	}

	.q-commerce-intro {
		grid-template-columns: 1fr;
		min-height: 0;
	}

	.q-commerce-intro--compact {
		grid-template-columns: 92px minmax(0, 1fr);
		min-height: 80px;
	}

	.q-commerce-intro__copy {
		min-height: 350px;
	}

	.q-commerce-steps {
		grid-template-columns: repeat(2, 1fr);
		grid-template-rows: none;
	}

	.q-commerce-steps li {
		min-height: 150px;
		padding: 26px 20px;
		border-right: 1px solid var(--q-line);
		border-bottom: 0;
	}

	.q-commerce-steps li:last-child {
		border-right: 0;
	}

	.q-commerce-intro__note {
		min-height: 260px;
	}

	.q-commerce-cart .wp-block-woocommerce-filled-cart-block,
	.q-commerce-checkout .wp-block-woocommerce-checkout > .wc-block-components-sidebar-layout {
		display: block;
	}

	.q-commerce-cart .wp-block-woocommerce-cart-totals-block,
	.q-commerce-checkout .wp-block-woocommerce-checkout-totals-block {
		position: static;
		margin-top: 28px;
	}

	/* WooCommerce renders a compact order-summary SlotFill beside the actions
	 * when its checkout layout enters mobile mode. Keep that useful review and
	 * remove the second, collapsed copy from the layout sidebar. */
	.q-commerce-checkout .wc-block-components-sidebar-layout.is-mobile > .wc-block-checkout__sidebar {
		display: none !important;
	}

	.q-commerce-cross-sells > header {
		grid-template-columns: 1fr;
		align-items: start;
	}

	.q-commerce-cross-sells__items {
		grid-template-columns: 1fr;
	}

	.q-commerce-cross-sell {
		border-right: 0;
		border-bottom: 1px solid var(--q-line);
	}

	.q-commerce-cross-sell:last-child {
		border-bottom: 0;
	}

	.q-commerce-faq {
		grid-template-columns: 1fr;
	}

	.q-commerce-faq > header {
		justify-self: start;
	}

	.q-commerce-reassurance {
		grid-template-columns: 1fr;
	}

	.q-commerce-reassurance p {
		min-height: 130px;
		border-right: 0;
		border-bottom: 1px solid var(--q-line);
	}

	.q-commerce-reassurance p:last-child {
		border-bottom: 0;
	}

	.q-order-confirmation__heading {
		grid-template-columns: 1fr;
	}

	.q-order-confirmation__grid {
		grid-template-columns: 1fr;
	}
}

@media (max-width: 560px) {
	.q-commerce-checkout .q-header {
		flex-wrap: wrap;
	}

	.q-commerce-checkout .q-commerce-header__status {
		order: 3;
		width: 100%;
		justify-content: flex-start;
		padding-top: 10px;
		border-top: 1px solid var(--q-line);
	}

	.q-commerce-intro__copy {
		min-height: 320px;
		padding: 54px 20px;
	}

	body.q-commerce-page .q-commerce-intro h1 {
		font-size: clamp(46px, 14vw, 66px);
	}

	body.q-commerce-page .q-commerce-intro--compact h1 {
		font-size: 32px;
	}

	.q-commerce-steps {
		grid-template-columns: 1fr;
	}

	.q-commerce-steps li {
		min-height: 112px;
		border-right: 0;
		border-bottom: 1px solid var(--q-line);
	}

	.q-commerce-steps strong {
		font-size: 25px;
	}

	.q-commerce-intro__note {
		min-height: 240px;
		padding: 38px 20px;
	}

	.q-commerce-content {
		padding: 42px 14px 72px;
	}

	.q-commerce-cross-sells,
	.q-commerce-faq {
		padding-right: 14px;
		padding-left: 14px;
	}

	.q-commerce-cross-sell {
		grid-template-columns: 1fr;
		grid-template-rows: auto;
	}

	.q-commerce-cross-sell__image {
		grid-row: auto;
		min-height: 210px;
	}

	.q-commerce-cross-sell__image img {
		max-height: 190px;
	}

	.q-commerce-cross-sell__copy {
		padding: 24px 20px;
	}

	.q-commerce-faq details > div {
		padding-right: 22px;
	}

	.q-checkout-validation-summary {
		padding: 18px 16px;
	}

	.q-commerce-cart .wc-block-cart-items thead {
		display: none;
	}

	.q-commerce-cart .wc-block-cart-items,
	.q-commerce-cart .wc-block-cart-items tbody,
	.q-commerce-cart .wc-block-cart-items__row {
		width: 100%;
	}

	.q-commerce-cart .wc-block-cart-items__row {
		position: relative;
		min-height: 170px;
		padding: 16px 0;
	}

	.q-commerce-cart .wc-block-cart-items td {
		width: auto;
		padding: 0;
	}

	.q-commerce-cart .wc-block-cart-item__image {
		position: static !important;
		grid-column: 1;
		grid-row: 1;
		width: auto !important;
		height: auto !important;
		padding: 0 12px 0 0 !important;
	}

	.q-commerce-cart .wc-block-cart-item__image img {
		width: 68px !important;
		height: 112px;
		object-fit: contain;
	}

	.q-commerce-cart .wc-block-cart-item__total {
		position: absolute;
		top: 18px;
		right: 14px;
	}

	.q-commerce-cart .wc-block-cart-item__product {
		min-width: 0;
		padding-right: 54px;
	}

	.q-commerce-cart .wc-block-cart__submit-container--sticky {
		position: static !important;
		width: auto;
		padding: 0;
		background: transparent;
		box-shadow: none;
	}

	.q-commerce-cart .wp-block-woocommerce-cart-totals-block,
	.q-commerce-checkout .wp-block-woocommerce-checkout-totals-block,
	.q-commerce-checkout .wc-block-components-checkout-step {
		padding: 20px 16px;
	}

	.q-commerce-checkout .wc-block-checkout__terms,
	.q-commerce-checkout .wc-block-checkout__actions {
		padding: 18px 16px;
	}

	.q-commerce-checkout .wc-block-checkout__actions_row {
		flex-direction: column-reverse;
	}

	.q-commerce-checkout .wc-block-components-checkout-place-order-button {
		width: 100%;
	}

	.q-commerce-cart .wp-block-woocommerce-empty-cart-block {
		padding: 46px 22px 126px;
	}

	.q-commerce-empty-action {
		margin: 0 0 46px 22px;
	}

	.q-commerce-cart .wc-block-cart__empty-cart__title {
		font-size: 46px;
	}

	.q-commerce-reassurance p {
		padding: 26px 20px;
	}

	.q-order-confirmation {
		padding: 0 14px 72px;
	}

	.q-order-confirmation__heading {
		padding: 38px 6px 28px;
	}

	.q-confirmation-card__copy,
	.q-confirmation-media__placeholder {
		padding: 22px 20px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.q-commerce-page :where(.wc-block-components-button, .wc-block-cart__submit-button, .wc-block-components-checkout-place-order-button) {
		transition: none;
	}

	.q-commerce-faq summary > span::before,
	.q-commerce-faq summary > span::after {
		transition: none;
	}
}

body.q-commerce-checkout .q-address-warning {
	display: flex;
	flex-direction: column;
	gap: 12px;
	/* Match the address fields' 15px grid gutters. */
	width: calc(100% - 30px);
	margin: 0 15px 20px;
	padding: 16px;
	border: 1px solid #b4842b;
	background: #fff1cf;
	color: var(--q-ink);
	font: 400 16px/1.45 var(--q-font);
}

body.q-commerce-checkout .q-address-warning button {
	align-self: flex-start;
	width: auto;
	min-height: 44px;
	margin: 0;
	padding: 8px 12px;
	border: 1px solid var(--q-teal-deep);
	border-radius: 0;
	background: transparent;
	color: var(--q-teal-deep);
	font: 600 14px/1.4 var(--q-font);
	text-transform: none;
	cursor: pointer;
}

body.q-commerce-checkout .q-address-warning:focus,
body.q-commerce-checkout .q-address-warning button:focus-visible {
	outline: 2px solid var(--q-teal-deep);
	outline-offset: 3px;
}

/* The native gateway rows share the palette and spacing of Stripe's hosted accordion. */
body.q-commerce-checkout #payment ul.payment_methods {
	border-color: var(--q-line);
}

body.q-commerce-checkout #payment .payment_box {
	background: var(--q-paper);
	color: var(--q-muted);
	font: 400 16px/1.45 var(--q-font);
}

body.q-commerce-checkout #payment .payment_box::before {
	border-bottom-color: var(--q-paper);
}

body.q-commerce-checkout #payment li.wc_payment_method > label {
	padding: 16px 12px 16px 12px;
	color: var(--q-ink);
	font: 400 16px/1.45 var(--q-font);
}

body.q-commerce-checkout #payment li.wc_payment_method > input[type="radio"] {
	width: 16px;
	height: 16px;
	margin: 16px 0 16px 12px;
	/* Stripe detects native radio appearance to decide whether to show its own selectors. */
	accent-color: var(--q-teal-deep);
}

body.q-commerce-checkout #payment li.wc_payment_method > input[type="radio"]:focus-visible {
	outline: 2px solid var(--q-teal-deep);
	outline-offset: 3px;
}

body.q-commerce-checkout #payment li.payment_method_ppcp > label img {
	height: 23.2px;
	width: auto;
	max-width: 88px;
	margin-right: 0;
}

body.q-commerce-cart .woocommerce-cart-form tbody tr.cart_item > td { padding-top: 20px; padding-bottom: 20px; }
body.q-commerce-cart .cart_totals small.includes_tax,
body.q-commerce-cart .cart_totals small.tax_label { font-size: 12px; font-weight: 400; }
body.q-commerce-cart .cart_totals small.includes_tax * { font-size: inherit !important; font-weight: inherit; }
@media (max-width: 768px) {
 body.q-commerce-cart .woocommerce-cart-form tbody tr.cart_item { padding: 20px 15px; }
 body.q-commerce-cart .woocommerce-cart-form tbody tr.cart_item > td { padding-top: 0; padding-bottom: 0; }
 body.q-commerce-cart .woocommerce-cart-form tbody tr.cart_item > td.product-quantity,
 body.q-commerce-cart .woocommerce-cart-form tbody tr.cart_item > td.product-subtotal { padding-top: 20px; }
}

/* Keep cart content, recommendations and answers on the same page rails. */
body.q-commerce-cart { --q-cart-content-width: 1480px; }
body.q-commerce-cart .q-commerce-content--cart,
body.q-commerce-cart .q-commerce-cross-sells,
body.q-commerce-cart .q-commerce-faq {
 width: calc(100% - 2 * var(--q-page-gutter));
 max-width: var(--q-cart-content-width);
 margin-inline: auto;
 padding-inline: 0;
}
body.q-commerce-cart .q-commerce-cross-sells__items { width: 100%; }
body.q-commerce-cart .cart_totals { float: none; width: 100%; max-width: none; margin-top: 0; }
body.q-commerce-cart .cart-collaterals:empty { display: none; }
@media (min-width: 1100px) {
 body.q-commerce-cart .q-commerce-content--cart > .woocommerce:has(.woocommerce-cart-form) {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  align-items: start;
  gap: 28px;
 }
 body.q-commerce-cart .q-commerce-content--cart > .woocommerce::before,
 body.q-commerce-cart .q-commerce-content--cart > .woocommerce::after { display: none; }
 body.q-commerce-cart .woocommerce-notices-wrapper { grid-column: 1 / -1; }
 body.q-commerce-cart .woocommerce-notices-wrapper:empty { display: none; }
 body.q-commerce-cart .woocommerce-cart-form { grid-column: 1; min-width: 0; width: 100%; float: none; }
 body.q-commerce-cart .q-commerce-content--cart > .woocommerce > .cart_totals,
 body.q-commerce-cart .q-commerce-content--cart > .woocommerce > .cart-collaterals { grid-column: 2; min-width: 0; width: 100%; margin: 0; clear: none; }
 body.q-commerce-cart .woocommerce-cart-form table.shop_table td,
 body.q-commerce-cart .woocommerce-cart-form table.shop_table th { padding-inline: 12px; }
 body.q-commerce-cart .woocommerce-cart-form .coupon { display: flex; max-width: 100%; }
 body.q-commerce-cart .woocommerce-cart-form .coupon input { min-width: 0; }
}
@media (min-width: 861px) {
 body.q-commerce-page .q-commerce-intro--compact { grid-template-columns: calc(104px + 2 * clamp(22px, 3vw, 48px)) minmax(0, 1fr); }
}
/* The title and step label share a centre line, including small phones. */
@media (max-width: 600px) {
 body.q-commerce-page .q-commerce-intro--compact { grid-template-columns: 76px minmax(0, 1fr); }
 body.q-commerce-page .q-commerce-intro__compact-title { flex-direction: row; align-items: center; justify-content: flex-start; gap: 10px; padding-inline: 12px; }
 body.q-commerce-page .q-commerce-intro__compact-title h1 { flex: 0 0 auto; margin: 0; font-size: clamp(24px, 6vw, 30px); }
 body.q-commerce-page .q-commerce-intro__compact-title .q-commerce-kicker:not(.q-commerce-kicker--spacer) { align-self: center; margin: 0; font-size: 9px; letter-spacing: 0.04em; gap: 6px; }
 body.q-commerce-page .q-commerce-intro__compact-title .q-commerce-kicker span { width: 20px; height: 24px; flex: 0 0 20px; }
}

body.q-commerce-cart .woocommerce-cart-form table.shop_table td.actions { padding-left: 0; }

/* Expand the shared desktop rail to meet the header's 200px Back area. */
@media (min-width: 1100px) {
 body.q-commerce-cart { --q-cart-content-width: max(1500px, calc(100% - 400px)); }
 body.q-commerce-cart .q-commerce-content--cart > .woocommerce,
 body.q-commerce-cart .q-commerce-cross-sells > header,
 body.q-commerce-cart .q-commerce-cross-sells__items { max-width: none; }
}

/* Use the totals panel's line colour for the existing 1px product grid. */
body.q-commerce-cart .woocommerce-cart-form table.shop_table thead tr,
body.q-commerce-cart .woocommerce-cart-form table.shop_table thead th,
body.q-commerce-cart .woocommerce-cart-form table.shop_table tr.cart_item,
body.q-commerce-cart .woocommerce-cart-form table.shop_table tr.cart_item td { border-color: #b9c6c6 !important; }

body.q-commerce-cart .q-commerce-content--cart { padding-top: clamp(42px, calc(6vw - 16px), 80px); }

/* Approved colour-band cross-sells: image left, full-width product copy right. */
body.q-commerce-cart .q-commerce-cross-sells > header {
 margin: 0;
 padding: 16px 19px;
 border: 1px solid var(--q-line);
 border-bottom: 0;
 background: var(--q-blue-deep);
}
body.q-commerce-cart .q-commerce-cross-sells > header h2 { color: var(--q-cool-white); font-size: clamp(22px, 2.1vw, 28px); line-height: 1; }
body.q-commerce-cart .q-commerce-cross-sell { grid-template-columns: minmax(130px, .68fr) minmax(0, 1fr); grid-template-rows: auto; min-height: 245px; }
body.q-commerce-cart .q-commerce-cross-sell__image { grid-column: 1; grid-row: 1; padding: clamp(15px, 2vw, 28px); }
body.q-commerce-cart .q-commerce-cross-sell--limited .q-commerce-cross-sell__image { background: #fff1d3; }
body.q-commerce-cart .q-commerce-cross-sell--oat .q-commerce-cross-sell__image { background: var(--q-sky); }
body.q-commerce-cart .q-commerce-cross-sell--teal .q-commerce-cross-sell__image { background: var(--q-mint); }
body.q-commerce-cart .q-commerce-cross-sell__image img { width: 100%; height: 204px; max-height: none; transform: none; object-fit: contain; }
body.q-commerce-cart .q-commerce-cross-sell__copy { grid-column: 2; grid-row: 1; min-width: 0; padding: clamp(19px, 2.2vw, 31px); }
body.q-commerce-cart .q-commerce-cross-sell__copy > p { margin: 0 0 6px; font-size: 10px; }
body.q-commerce-cart .q-commerce-cross-sell__copy h3 { margin: 0; font-size: clamp(23px, 2.1vw, 32px); letter-spacing: -.045em; line-height: .98; }
body.q-commerce-cart .q-commerce-cross-sell__copy > span { width: 100%; max-width: none; margin-top: 8px; font-size: 13px; line-height: 1.4; }
body.q-commerce-cart .q-commerce-cross-sell__footer { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; margin-top: 20px; }
body.q-commerce-cart .q-commerce-cross-sell__footer strong { margin: 0; font-size: 15px; }
body.q-commerce-cart .q-commerce-cross-sell__footer button,
body.q-commerce-cart .q-commerce-cross-sell__footer .q-commerce-cross-sell__choose { min-height: 46px; min-width: 150px; margin-left: auto; padding: 0 15px; gap: 18px; border: 0; background: var(--q-blue-deep); color: var(--q-cool-white); font-size: 14px; }
body.q-commerce-cart .q-commerce-cross-sell__footer button:hover,
body.q-commerce-cart .q-commerce-cross-sell__footer .q-commerce-cross-sell__choose:hover { background: var(--q-orange); color: var(--q-ink); }
body.q-commerce-cart .q-commerce-cross-sell__status { padding: 0; }
@media (max-width: 560px) {
 body.q-commerce-cart .q-commerce-cross-sell { grid-template-columns: 104px minmax(0, 1fr); min-height: 0; }
 body.q-commerce-cart .q-commerce-cross-sell__image { padding: 9px; }
 body.q-commerce-cart .q-commerce-cross-sell__image img { height: 165px; }
 body.q-commerce-cart .q-commerce-cross-sell__copy { padding: 18px 14px; }
 body.q-commerce-cart .q-commerce-cross-sell__copy h3 { font-size: 23px; }
 body.q-commerce-cart .q-commerce-cross-sell__copy > span { font-size: 12px; }
 body.q-commerce-cart .q-commerce-cross-sell__footer { gap: 9px; margin-top: 15px; }
 body.q-commerce-cart .q-commerce-cross-sell__footer button,
 body.q-commerce-cart .q-commerce-cross-sell__footer .q-commerce-cross-sell__choose { width: 100%; min-width: 0; min-height: 44px; margin-left: 0; }
}
@media (max-width: 340px) {
 body.q-commerce-cart .q-commerce-cross-sell { grid-template-columns: 90px minmax(0, 1fr); }
 body.q-commerce-cart .q-commerce-cross-sell__copy h3 { font-size: 21px; }
}

body.q-commerce-cart .q-commerce-content--cart { padding-bottom: clamp(56px, calc(8vw - 16px), 114px); }
body.q-commerce-cart .q-commerce-cross-sell .q-commerce-cross-sell__image { background: #fff9ed; }

/* Keep cart and checkout navigation aligned through the purchase journey. */
body.q-commerce-page .q-commerce-header { grid-template-columns: 1fr auto 1fr; }
@media (max-width: 860px) {
 body.q-commerce-page:not(.q-commerce-order-received) .q-commerce-header__status { display: none; }
 body.q-commerce-page:not(.q-commerce-order-received) .q-commerce-header { flex-wrap: nowrap; }
 body.q-commerce-cart .q-commerce-main { padding-top: 0; }
 body.q-commerce-page .q-commerce-intro--compact { min-height: 64px; }
}
