/* ==========================================================================
   WE Coffee — Editorial Commerce

   Loaded only for the Editorial visual variant on Cart, Checkout and My
   Account pages. The rules preserve native WooCommerce markup and behaviour.
   ========================================================================== */

/* ==========================================================================
   Commerce page frame
   ========================================================================== */

body.wecoffee-style--editorial:is(.woocommerce-cart, .woocommerce-checkout, .woocommerce-account) {
	background: var(--wecoffee-editorial-bone);
	color: var(--wecoffee-editorial-ink);
}

body.wecoffee-style--editorial:is(.woocommerce-cart, .woocommerce-checkout, .woocommerce-account) .site-content {
	padding-block: clamp(2.75rem, 6vw, 6.5rem);
}

body.wecoffee-style--editorial:is(.woocommerce-cart, .woocommerce-checkout, .woocommerce-account) .site-content > .ast-container {
	max-width: var(--wecoffee-content-width);
	padding-inline: var(--wecoffee-gutter);
}

body.wecoffee-style--editorial:is(.woocommerce-cart, .woocommerce-checkout, .woocommerce-account) #primary {
	margin: 0;
	padding: 0;
	width: 100%;
}

body.wecoffee-style--editorial:is(.woocommerce-cart, .woocommerce-checkout, .woocommerce-account) .entry-header {
	margin-bottom: clamp(2rem, 4vw, 4rem);
}

body.wecoffee-style--editorial:is(.woocommerce-cart, .woocommerce-checkout, .woocommerce-account) .entry-title {
	color: var(--wecoffee-editorial-ink);
	font-family: var(--wecoffee-font-heading);
	font-size: clamp(3rem, 5.5vw, 5.75rem);
	font-weight: 400;
	letter-spacing: -0.04em;
	line-height: 0.95;
	margin: 0;
}

body.wecoffee-style--editorial:is(.woocommerce-cart, .woocommerce-checkout, .woocommerce-account) :is(
	.wp-block-woocommerce-cart,
	.wp-block-woocommerce-checkout,
	.woocommerce
) {
	color: var(--wecoffee-editorial-ink);
	font-family: var(--wecoffee-font-body);
}

body.wecoffee-style--editorial:is(.woocommerce-cart, .woocommerce-checkout, .woocommerce-account) :is(
	.wc-block-components-button,
	.woocommerce button.button,
	.woocommerce a.button,
	.woocommerce input.button
) {
	align-items: center;
	border-radius: var(--wecoffee-radius-button);
	display: inline-flex;
	font-family: var(--wecoffee-font-body);
	font-size: 0.9375rem;
	font-weight: 650;
	justify-content: center;
	letter-spacing: -0.01em;
	min-height: 3.25rem;
	padding: 0.75rem 1.5rem;
	text-align: center;
}

body.wecoffee-style--editorial:is(.woocommerce-cart, .woocommerce-checkout, .woocommerce-account) :is(
	a,
	button,
	input,
	select,
	textarea,
	summary
):focus-visible {
	outline: 3px solid var(--wecoffee-editorial-accent);
	outline-offset: 3px;
}

/* ==========================================================================
   Shared controls and notices
   ========================================================================== */

body.wecoffee-style--editorial :is(
	.wc-block-components-text-input input,
	.wc-block-components-combobox-control input,
	.wc-block-components-address-form input,
	.wc-block-components-address-form select
),
body.wecoffee-style--editorial.woocommerce-account :is(
	input.input-text,
	select,
	textarea
) {
	background: var(--wecoffee-editorial-paper);
	border: 1px solid var(--wecoffee-editorial-hairline);
	border-radius: var(--wecoffee-radius-field);
	box-shadow: none;
	color: var(--wecoffee-editorial-ink);
	font-family: var(--wecoffee-font-body);
	min-height: 3.5rem;
}

body.wecoffee-style--editorial :is(
	.wc-block-components-text-input input,
	.wc-block-components-combobox-control input,
	.wc-block-components-address-form input,
	.wc-block-components-address-form select
):focus,
body.wecoffee-style--editorial.woocommerce-account :is(
	input.input-text,
	select,
	textarea
):focus {
	border-color: var(--wecoffee-editorial-accent);
	box-shadow: 0 0 0 4px var(--wecoffee-focus-shadow);
	outline: 0;
}

body.wecoffee-style--editorial :is(
	.wc-block-components-text-input input,
	.wc-block-components-combobox-control input,
	.wc-block-components-address-form input,
	.wc-block-components-address-form select
)[aria-invalid="true"] {
	border-color: var(--wecoffee-color-error);
	box-shadow: none;
}

body.wecoffee-style--editorial :is(
	.wc-block-components-text-input input,
	.wc-block-components-combobox-control input,
	.wc-block-components-address-form input,
	.wc-block-components-address-form select
)[aria-invalid="true"]:focus {
	box-shadow: 0 0 0 4px color-mix(in srgb, var(--wecoffee-color-error) 18%, transparent);
}

@media (forced-colors: active) {
	body.wecoffee-style--editorial :is(
		.wc-block-components-text-input input,
		.wc-block-components-combobox-control input,
		.wc-block-components-address-form input,
		.wc-block-components-address-form select
	):focus {
		box-shadow: none;
		outline: 2px solid Highlight;
		outline-offset: 2px;
	}
}

body.wecoffee-style--editorial .wc-block-components-text-input label {
	color: var(--wecoffee-editorial-graphite);
	font-family: var(--wecoffee-font-body);
}

body.wecoffee-style--editorial :is(
	.wc-block-components-notice-banner,
	.woocommerce-error,
	.woocommerce-info,
	.woocommerce-message
) {
	background: var(--wecoffee-editorial-paper);
	border: 1px solid var(--wecoffee-editorial-hairline);
	border-radius: var(--wecoffee-radius-md);
	box-shadow: none;
	color: var(--wecoffee-editorial-ink);
	font-size: 0.9375rem;
	line-height: 1.55;
	margin-bottom: var(--wecoffee-space-lg);
	padding: 1rem 1.125rem;
}

body.wecoffee-style--editorial :is(
	.wc-block-components-notice-banner.is-error,
	.woocommerce-error
) {
	background: #FFF5F3;
	border-color: color-mix(in srgb, var(--wecoffee-color-error) 45%, white);
}

body.wecoffee-style--editorial :is(
	.wc-block-components-notice-banner.is-success,
	.woocommerce-message
) {
	background: #F2FBF6;
	border-color: color-mix(in srgb, var(--wecoffee-color-success) 40%, white);
}

body.wecoffee-style--editorial .wc-block-components-validation-error {
	color: var(--wecoffee-color-error);
	font-size: 0.8125rem;
	font-weight: 600;
	margin-top: 0.375rem;
}

/* ==========================================================================
   Cart block
   ========================================================================== */

body.wecoffee-style--editorial .wp-block-woocommerce-cart {
	box-sizing: border-box;
	container-type: inline-size;
	margin: 0;
	max-width: 100%;
	padding: 0;
	width: 100%;
}

body.wecoffee-style--editorial :is(.wc-block-cart__main, .wc-block-cart__sidebar) {
	box-sizing: border-box;
	max-width: none;
	min-width: 0;
	width: 100%;
}

body.wecoffee-style--editorial .wc-block-cart__main {
	padding-right: 0;
}

body.wecoffee-style--editorial .wc-block-cart__sidebar {
	align-self: start;
	background: var(--wecoffee-editorial-paper);
	border: 1px solid var(--wecoffee-editorial-hairline);
	border-radius: var(--wecoffee-radius-panel);
	box-shadow: var(--wecoffee-shadow-sm);
	padding: clamp(1.25rem, 2.5vw, 2rem);
	position: static;
}

body.wecoffee-style--editorial .wc-block-cart-items {
	background: transparent;
	border: 0;
	border-collapse: collapse;
	margin: 0;
	table-layout: auto;
	width: 100%;
}

body.wecoffee-style--editorial .wc-block-cart-items th {
	border: 0;
	border-bottom: 1px solid var(--wecoffee-editorial-hairline);
	color: var(--wecoffee-editorial-graphite);
	font-size: var(--wecoffee-text-caption);
	font-weight: 650;
	letter-spacing: 0.08em;
	padding: 0 0 0.875rem;
	text-transform: uppercase;
}

body.wecoffee-style--editorial .wc-block-cart-items td {
	border: 0;
	padding-block: clamp(1.25rem, 2.5vw, 2rem);
	vertical-align: top;
}

/* Keep every product divider on the row, not on independently sized cells. */
body.wecoffee-style--editorial .wc-block-cart-items__row {
	border-bottom: 1px solid var(--wecoffee-editorial-hairline);
}

body.wecoffee-style--editorial .wc-block-cart-item__image {
	min-width: clamp(6.5rem, 9vw, 7.5rem);
	padding-right: clamp(1rem, 2vw, 1.5rem);
	width: clamp(6.5rem, 9vw, 7.5rem);
}

body.wecoffee-style--editorial .wc-block-cart-item__image :is(
	a,
	.wc-block-components-product-image
) {
	display: block;
	max-width: none;
	width: 100%;
}

body.wecoffee-style--editorial .wc-block-cart-item__image img {
	aspect-ratio: 1;
	background: var(--wecoffee-editorial-mineral);
	border-radius: var(--wecoffee-radius-thumbnail);
	display: block;
	height: auto;
	max-width: none;
	object-fit: cover;
	width: 100%;
}

body.wecoffee-style--editorial .wp-block-woocommerce-cart .wc-block-cart-item__product .wc-block-components-product-name {
	color: var(--wecoffee-editorial-ink);
	display: inline-block;
	font-family: var(--wecoffee-font-heading);
	font-size: clamp(1.5rem, 2vw, 1.875rem);
	font-weight: 400;
	letter-spacing: -0.02em;
	line-height: 1.1;
	text-decoration-thickness: 1px;
	text-underline-offset: 0.2em;
}

body.wecoffee-style--editorial .wp-block-woocommerce-cart .wc-block-cart-item__product .wc-block-components-product-price {
	font-size: 0.9375rem;
	line-height: 1.45;
	margin-top: 0.375rem;
}

body.wecoffee-style--editorial .wc-block-cart-item__product {
	min-width: 0;
	padding-right: clamp(1rem, 3vw, 2rem);
}

body.wecoffee-style--editorial .wc-block-components-product-metadata {
	color: var(--wecoffee-editorial-graphite);
	font-size: 0.8125rem;
	line-height: 1.55;
	margin-top: 0.5rem;
	min-width: 0;
	overflow-wrap: anywhere;
}

body.wecoffee-style--editorial .wc-block-components-product-metadata :is(p, .wc-block-components-product-details) {
	margin-block: 0.125rem;
}

body.wecoffee-style--editorial .wc-block-components-sale-badge {
	background: var(--wecoffee-editorial-mineral);
	border: 0;
	border-radius: var(--wecoffee-radius-sm);
	color: var(--wecoffee-editorial-ink);
	font-size: var(--wecoffee-text-caption);
	font-weight: 650;
	padding: 0.25rem 0.5rem;
}

body.wecoffee-style--editorial .wc-block-components-quantity-selector {
	background: var(--wecoffee-editorial-paper);
	border: 1px solid var(--wecoffee-editorial-hairline);
	border-radius: var(--wecoffee-radius-md);
	box-shadow: none;
	margin-top: 1rem;
	min-height: 2.875rem;
	overflow: hidden;
}

body.wecoffee-style--editorial .wc-block-components-quantity-selector:focus-within {
	border-color: var(--wecoffee-editorial-accent);
	box-shadow: 0 0 0 4px var(--wecoffee-focus-shadow);
	outline: 2px solid transparent;
	outline-offset: 2px;
}

body.wecoffee-style--editorial .wc-block-components-quantity-selector :is(input, button):focus-visible {
	outline: 0;
}

@media (forced-colors: active) {
	body.wecoffee-style--editorial .wc-block-components-quantity-selector:focus-within {
		border-color: Highlight;
		box-shadow: none;
		outline-color: Highlight;
	}
}

body.wecoffee-style--editorial .wc-block-cart-item__quantity {
	align-items: center;
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
	margin-top: 1rem;
}

body.wecoffee-style--editorial .wc-block-cart-item__quantity .wc-block-components-quantity-selector {
	margin-top: 0;
}

body.wecoffee-style--editorial .wc-block-components-quantity-selector::after {
	border: 0;
}

body.wecoffee-style--editorial .wc-block-components-quantity-selector :is(input, button) {
	color: var(--wecoffee-editorial-ink);
	min-height: 2.875rem;
	min-width: 2.875rem;
}

/*
 * WooCommerce Blocks constrains the selector width. Reserve three complete
 * controls so the increment button is never clipped on either cart layout.
 */
body.wecoffee-style--editorial .wp-block-woocommerce-cart .wc-block-components-quantity-selector {
	box-sizing: border-box;
	display: inline-grid;
	grid-template-columns: repeat(3, 2.875rem);
	grid-template-rows: 2.875rem;
	min-width: calc(8.625rem + 2px);
	width: calc(8.625rem + 2px);
}

body.wecoffee-style--editorial .wp-block-woocommerce-cart .wc-block-components-quantity-selector input {
	appearance: textfield;
	background: var(--wecoffee-editorial-paper);
	border: 0;
	border-radius: 0;
	box-shadow: none;
	margin: 0;
	min-height: 0;
	min-width: 0;
	padding: 0;
	text-align: center;
	width: 100%;
}

body.wecoffee-style--editorial .wp-block-woocommerce-cart .wc-block-components-quantity-selector__button {
	align-items: center;
	appearance: none;
	background: var(--wecoffee-editorial-mineral);
	border: 0;
	border-radius: 0;
	color: var(--wecoffee-editorial-ink);
	cursor: pointer;
	display: inline-flex;
	font: inherit;
	font-size: 1.25rem;
	justify-content: center;
	line-height: 1;
	margin: 0;
	min-height: 0;
	min-width: 0;
	padding: 0;
}

body.wecoffee-style--editorial .wp-block-woocommerce-cart .wc-block-components-quantity-selector__button--minus {
	border-right: 1px solid var(--wecoffee-editorial-hairline);
}

body.wecoffee-style--editorial .wp-block-woocommerce-cart .wc-block-components-quantity-selector__button--plus {
	border-left: 1px solid var(--wecoffee-editorial-hairline);
}

body.wecoffee-style--editorial .wp-block-woocommerce-cart .wc-block-components-quantity-selector__button:disabled {
	cursor: not-allowed;
	opacity: 0.5;
}

body.wecoffee-style--editorial .wc-block-cart-item__remove-link {
	color: var(--wecoffee-editorial-graphite);
	font-size: 0.8125rem;
	font-weight: 600;
	margin-top: 0;
	min-height: 2.75rem;
	min-width: 2.75rem;
	text-decoration: underline;
	text-decoration-thickness: 1px;
	text-underline-offset: 0.2em;
}

body.wecoffee-style--editorial .wc-block-cart-item__remove-link:hover {
	color: var(--wecoffee-color-error);
}

body.wecoffee-style--editorial .wc-block-cart-item__total {
	color: var(--wecoffee-editorial-ink);
	font-variant-numeric: tabular-nums;
	font-weight: 650;
	text-align: right;
	width: clamp(7.5rem, 11vw, 9rem);
	white-space: nowrap;
}

body.wecoffee-style--editorial .wc-block-components-product-price__regular {
	color: var(--wecoffee-editorial-graphite);
}

body.wecoffee-style--editorial .wc-block-components-product-price__value.is-discounted {
	color: var(--wecoffee-editorial-ink);
	font-weight: 700;
}

body.wecoffee-style--editorial .wc-block-components-sidebar-layout .wc-block-components-main {
	padding-right: 0;
}

body.wecoffee-style--editorial .wc-block-components-totals-wrapper {
	background: transparent;
	border: 0;
	border-bottom: 1px solid var(--wecoffee-editorial-hairline);
	border-radius: 0;
	box-shadow: none;
	min-height: 0;
	padding: 0.875rem 0;
}

body.wecoffee-style--editorial .wc-block-components-totals-wrapper:empty {
	display: none;
}

body.wecoffee-style--editorial :is(
	.wc-block-cart__sidebar,
	.wc-block-checkout__sidebar
) :is(
	.wc-block-components-totals-shipping,
	.wc-block-components-shipping-rates-control__package
) {
	margin: 0;
	min-height: 0;
	padding-block: 0;
}

body.wecoffee-style--editorial .wc-block-components-totals-wrapper:first-child {
	padding-top: 0;
}

body.wecoffee-style--editorial .wc-block-components-totals-wrapper:last-of-type {
	border-bottom: 0;
}

/* The free-shipping row does not need an additional divider above it. */
body.wecoffee-style--editorial .wp-block-woocommerce-cart .wc-block-cart__sidebar :is(
	.wc-block-components-totals-wrapper:first-child,
	.wc-block-components-totals-shipping,
	.wc-block-components-shipping-rates-control,
	.wc-block-components-shipping-rates-control__package
) {
	border-top: 0;
}

body.wecoffee-style--editorial .wp-block-woocommerce-cart .wc-block-cart__sidebar :is(
	.wc-block-components-totals-shipping,
	.wc-block-components-shipping-rates-control,
	.wc-block-components-shipping-rates-control__package
)::before {
	border-top: 0;
}

body.wecoffee-style--editorial .wc-block-components-totals-item {
	align-items: baseline;
	font-size: 0.875rem;
	gap: 1rem;
}

body.wecoffee-style--editorial .wc-block-components-totals-item__label {
	color: var(--wecoffee-editorial-graphite);
}

body.wecoffee-style--editorial .wc-block-components-totals-item__value {
	color: var(--wecoffee-editorial-ink);
	font-variant-numeric: tabular-nums;
	font-weight: 650;
	text-align: right;
}

body.wecoffee-style--editorial .wc-block-components-totals-footer-item {
	border-top: 1px solid var(--wecoffee-editorial-ink);
	font-size: 1rem;
	margin-top: 0.75rem;
	padding-top: 1.25rem;
}

body.wecoffee-style--editorial .wc-block-components-totals-footer-item .wc-block-components-totals-item__label {
	color: var(--wecoffee-editorial-ink);
	font-family: var(--wecoffee-font-heading);
	font-size: clamp(1.75rem, 2.5vw, 2.25rem);
	font-weight: 400;
	letter-spacing: -0.02em;
}

body.wecoffee-style--editorial .wc-block-components-totals-footer-item .wc-block-components-totals-item__value {
	font-size: clamp(1.25rem, 2vw, 1.625rem);
	font-weight: 700;
}

body.wecoffee-style--editorial .wc-block-components-totals-coupon__button {
	min-height: 3rem;
}

body.wecoffee-style--editorial .wc-block-cart__submit {
	margin: 1.25rem 0 0;
}

body.wecoffee-style--editorial.woocommerce-cart .wp-block-woocommerce-cart .wc-block-cart__submit .wc-block-cart__submit-button {
	min-height: 3.5rem;
	width: 100%;
}

body.wecoffee-style--editorial.woocommerce-cart .wc-block-cart__submit-button .wc-block-components-button__text {
	align-items: center;
	display: flex;
	justify-content: center;
}

body.wecoffee-style--editorial .wc-block-cart__submit-container {
	background: var(--wecoffee-editorial-paper);
	padding-bottom: max(0.75rem, env(safe-area-inset-bottom));
}

body.wecoffee-style--editorial .wc-block-cart__submit-container::before {
	color: rgba(var(--wecoffee-editorial-ink-rgb), 0.16);
}

body.wecoffee-style--editorial .wc-block-cart__empty-cart__title,
body.wecoffee-style--editorial .wc-block-cart__empty-cart__title.with-empty-cart-icon::before {
	color: var(--wecoffee-editorial-ink);
}

body.wecoffee-style--editorial .wp-block-woocommerce-empty-cart-block {
	background: var(--wecoffee-editorial-paper);
	border: 1px solid var(--wecoffee-editorial-hairline);
	border-radius: var(--wecoffee-radius-empty-state);
	padding: clamp(2rem, 6vw, 5rem);
	text-align: center;
}

body.wecoffee-style--editorial .wp-block-woocommerce-empty-cart-block h2 {
	font-size: clamp(2.25rem, 5vw, 4rem);
}

body.wecoffee-style--editorial .wp-block-woocommerce-cart-cross-sells-block {
	border-top: 1px solid var(--wecoffee-editorial-hairline);
	margin-top: clamp(3rem, 6vw, 5rem);
	padding-top: clamp(2.5rem, 5vw, 4rem);
}

body.wecoffee-style--editorial .wp-block-woocommerce-cart-cross-sells-block > h2 {
	font-size: clamp(2.5rem, 5vw, 4.5rem);
}

/* Whols keeps its optional saved-list form outside the Cart block. */
body.wecoffee-style--editorial .whols-save-order-list-wrap {
	background: var(--wecoffee-editorial-paper);
	border: 1px solid var(--wecoffee-editorial-hairline);
	border-radius: var(--wecoffee-radius-lg);
	margin-top: 1.5rem;
	padding: 1.25rem;
}

body.wecoffee-style--editorial .whols-save-list-form {
	display: grid;
	gap: 0.75rem;
	margin-top: 1rem;
}

body.wecoffee-style--editorial .whols-save-list-form :is(input, textarea) {
	background: var(--wecoffee-editorial-paper);
	border: 1px solid var(--wecoffee-editorial-hairline);
	border-radius: var(--wecoffee-radius-field);
	color: var(--wecoffee-editorial-ink);
	min-height: 3.25rem;
	padding: 0.75rem 1rem;
}

/* ==========================================================================
   Checkout block
   ========================================================================== */

body.wecoffee-style--editorial .wp-block-woocommerce-checkout {
	box-sizing: border-box;
	container-type: inline-size;
	margin: 0;
	max-width: 100%;
	padding: 0;
	width: 100%;
}

body.wecoffee-style--editorial .wp-block-woocommerce-checkout .checkout-order-summary-block-fill-wrapper {
	display: none;
}

body.wecoffee-style--editorial :is(
	.wp-block-woocommerce-cart,
	.wp-block-woocommerce-checkout
) [hidden] {
	display: none;
}

body.wecoffee-style--editorial :is(.wc-block-checkout__main, .wc-block-checkout__sidebar) {
	box-sizing: border-box;
	max-width: none;
	min-width: 0;
	width: 100%;
}

body.wecoffee-style--editorial .wc-block-checkout__main {
	padding-right: 0;
}

body.wecoffee-style--editorial .wc-block-components-checkout-step {
	background: transparent;
	border: 0;
	border-bottom: 1px solid var(--wecoffee-editorial-hairline);
	border-radius: 0;
	box-shadow: none;
	margin: 0;
	padding: clamp(1.5rem, 3vw, 2.25rem) 0;
}

body.wecoffee-style--editorial .wc-block-components-checkout-step:first-child {
	border-top: 1px solid var(--wecoffee-editorial-hairline);
}

body.wecoffee-style--editorial .wc-block-components-checkout-step__heading {
	margin: 0 0 1.25rem;
	padding: 0;
}

body.wecoffee-style--editorial :is(
	.wc-block-components-checkout-step__title,
	.wc-block-components-checkout-step__heading-content
) {
	color: var(--wecoffee-editorial-ink);
	font-family: var(--wecoffee-font-heading);
	font-size: clamp(1.75rem, 2.6vw, 2.25rem);
	font-weight: 400;
	letter-spacing: -0.025em;
	line-height: 1.08;
}

body.wecoffee-style--editorial .wc-block-components-checkout-step__description {
	color: var(--wecoffee-editorial-graphite);
	font-size: 0.875rem;
	line-height: 1.6;
	margin-top: 0.5rem;
	max-width: 44rem;
}

body.wecoffee-style--editorial .wc-block-components-checkout-step__container {
	padding: 0;
}

body.wecoffee-style--editorial .wc-block-components-address-form {
	column-gap: 0.875rem;
	row-gap: 1rem;
}

body.wecoffee-style--editorial .wc-block-components-address-form :is(
	.wc-block-components-text-input,
	.wc-block-components-combobox-control
) {
	margin-bottom: 0.25rem;
}

body.wecoffee-style--editorial .wc-block-components-checkbox {
	align-items: flex-start;
	color: var(--wecoffee-editorial-ink);
	font-size: 0.875rem;
	gap: 0.75rem;
	line-height: 1.5;
	margin-block: 0.75rem 0;
	min-height: 2.75rem;
	padding-block: 0.25rem;
}

body.wecoffee-style--editorial .wc-block-components-checkbox__input {
	flex: 0 0 auto;
	height: 1.25rem;
	margin-left: 0;
	margin-top: 0.125rem;
	width: 1.25rem;
}

body.wecoffee-style--editorial :is(
	.wc-block-components-radio-control,
	.wc-block-components-shipping-rates-control,
	.wc-block-checkout__payment-method
) {
	background: transparent;
	border: 0;
	border-radius: 0;
}

body.wecoffee-style--editorial .wc-block-components-radio-control__option {
	align-items: center;
	background: var(--wecoffee-editorial-paper);
	border: 1px solid var(--wecoffee-editorial-hairline);
	border-radius: var(--wecoffee-radius-md);
	margin-bottom: 0.75rem;
	min-height: 3.5rem;
	padding: 1rem 1rem 1rem 3.25rem;
	position: relative;
}

body.wecoffee-style--editorial .wc-block-components-radio-control__option:has(input:checked) {
	background: var(--wecoffee-editorial-mineral);
	border-color: var(--wecoffee-editorial-ink);
}

body.wecoffee-style--editorial .wc-block-components-radio-control__input {
	height: 1.25rem;
	left: 1rem;
	width: 1.25rem;
}

body.wecoffee-style--editorial .wc-block-components-radio-control__label {
	line-height: 1.5;
}

body.wecoffee-style--editorial .wc-block-checkout__add-note {
	color: var(--wecoffee-editorial-ink);
	font-size: 0.875rem;
	font-weight: 600;
	min-height: 2.75rem;
	text-decoration: underline;
	text-underline-offset: 0.2em;
}

body.wecoffee-style--editorial .wc-block-checkout__sidebar {
	align-self: start;
	background: var(--wecoffee-editorial-paper);
	border: 1px solid var(--wecoffee-editorial-hairline);
	border-radius: var(--wecoffee-radius-panel);
	box-shadow: var(--wecoffee-shadow-sm);
	padding: clamp(1.25rem, 2.5vw, 2rem);
	position: static;
}

body.wecoffee-style--editorial .wc-block-checkout__sidebar .wc-block-components-title {
	color: var(--wecoffee-editorial-ink);
	font-family: var(--wecoffee-font-body);
	font-size: 1.125rem;
	font-weight: 650;
	letter-spacing: -0.015em;
	line-height: 1.35;
	margin-bottom: 1.25rem;
}

body.wecoffee-style--editorial .wp-block-woocommerce-checkout .wc-block-components-checkout-order-summary__title-text {
	color: var(--wecoffee-editorial-ink);
	font-family: var(--wecoffee-font-body);
	font-size: 1.125rem;
	font-weight: 650;
	letter-spacing: -0.015em;
	line-height: 1.35;
	margin: 0;
}

body.wecoffee-style--editorial .wc-block-components-order-summary {
	background: transparent;
	border: 0;
	border-radius: 0;
	box-shadow: none;
	padding: 0;
}

body.wecoffee-style--editorial .wc-block-components-order-summary-item {
	align-items: start;
	border-bottom: 1px solid var(--wecoffee-editorial-hairline);
	display: grid;
	gap: 0.75rem;
	grid-template-columns: 4.25rem minmax(0, 1fr) auto;
	padding-block: 1rem;
}

body.wecoffee-style--editorial .wc-block-components-order-summary-item__image {
	max-width: none;
	width: 4.25rem;
}

body.wecoffee-style--editorial .wc-block-components-order-summary-item__image .wc-block-components-product-image {
	max-width: none;
	width: 100%;
}

body.wecoffee-style--editorial .wc-block-components-order-summary-item__image img {
	aspect-ratio: 1;
	background: var(--wecoffee-editorial-mineral);
	border-radius: var(--wecoffee-radius-thumbnail);
	height: auto;
	max-width: none;
	object-fit: cover;
	width: 100%;
}

body.wecoffee-style--editorial .wc-block-components-order-summary-item__quantity {
	background: var(--wecoffee-editorial-ink);
	border-color: var(--wecoffee-editorial-paper);
	box-shadow: 0 0 0 2px var(--wecoffee-editorial-paper);
	color: var(--wecoffee-editorial-on-ink);
	font-size: 0.75rem;
}

body.wecoffee-style--editorial .wc-block-components-order-summary-item__description {
	min-width: 0;
	padding: 0;
}

body.wecoffee-style--editorial .wc-block-components-order-summary-item__description .wc-block-components-product-name {
	color: var(--wecoffee-editorial-ink);
	display: block;
	font-family: var(--wecoffee-font-body);
	font-size: 0.9375rem;
	font-weight: 650;
	letter-spacing: -0.01em;
	line-height: 1.35;
	overflow-wrap: break-word;
	word-break: normal;
}

body.wecoffee-style--editorial .wc-block-components-order-summary-item__individual-price {
	color: var(--wecoffee-editorial-graphite);
	font-size: 0.75rem;
}

body.wecoffee-style--editorial .wc-block-components-order-summary-item__total-price {
	font-variant-numeric: tabular-nums;
	font-weight: 650;
	white-space: nowrap;
}

body.wecoffee-style--editorial .wc-block-checkout__actions {
	border-top: 1px solid var(--wecoffee-editorial-ink);
	margin-top: 1.5rem;
	padding-top: 1.5rem;
}

body.wecoffee-style--editorial .wc-block-checkout__actions_row {
	align-items: center;
	gap: 1rem;
}

body.wecoffee-style--editorial.woocommerce-checkout .wp-block-woocommerce-checkout .wc-block-checkout__actions .wc-block-components-checkout-place-order-button {
	min-height: 3.5rem;
	width: 100%;
}

body.wecoffee-style--editorial .wc-block-components-checkout-return-to-cart-button {
	color: var(--wecoffee-editorial-ink);
	font-size: 0.875rem;
	font-weight: 600;
	min-height: 2.75rem;
	text-decoration: underline;
	text-underline-offset: 0.2em;
}

/* Keep the active checkout focused while preserving logo and cart access. */
body.wecoffee-style--editorial.wecoffee-simplified-checkout :is(
	.ast-header-social-wrap,
	.ast-builder-button-wrap,
	.ast-header-account-wrap,
	.ast-button-wrap,
	.main-header-menu-toggle,
	.ast-mobile-menu-trigger-minimal,
	.ast-mobile-menu-trigger-outline,
	.ast-mobile-menu-trigger-fill
) {
	display: none;
}

body.wecoffee-style--editorial.wecoffee-simplified-checkout .ast-site-header-cart {
	margin-left: auto;
}

body.wecoffee-style--editorial.wecoffee-simplified-checkout :is(
	.site-header,
	.ast-primary-header-bar
) {
	position: static;
	top: auto;
}

body.wecoffee-style--editorial.wecoffee-simplified-checkout .site-content {
	padding-top: clamp(2.25rem, 5vw, 5rem);
}

/* ==========================================================================
   My Account
   ========================================================================== */

body.wecoffee-style--editorial.woocommerce-account.logged-in .woocommerce {
	align-items: start;
	box-sizing: border-box;
	display: grid;
	gap: clamp(2rem, 5vw, 5rem);
	grid-template-areas: "navigation content";
	grid-template-columns: minmax(14rem, 16rem) minmax(0, 1fr);
	width: 100%;
}

body.wecoffee-style--editorial .woocommerce-MyAccount-navigation {
	background: var(--wecoffee-editorial-paper);
	border: 1px solid var(--wecoffee-editorial-hairline);
	border-radius: var(--wecoffee-radius-lg);
	/*
	 * WooCommerce's legacy account stylesheet floats this element and assigns a
	 * percentage width. Reset those values explicitly: they otherwise defeat
	 * the Editorial grid and can place the navigation to the right of content.
	 */
	float: none !important;
	grid-area: navigation;
	margin: 0 !important;
	overflow: hidden;
	position: sticky;
	top: 7rem;
	width: auto !important;
}

body.admin-bar.wecoffee-style--editorial .woocommerce-MyAccount-navigation {
	top: 9rem;
}

body.wecoffee-style--editorial .woocommerce-MyAccount-navigation ul {
	display: grid;
	list-style: none;
	margin: 0;
	padding: 0;
}

body.wecoffee-style--editorial .woocommerce-MyAccount-navigation li {
	border-bottom: 1px solid var(--wecoffee-editorial-hairline);
	margin: 0;
	min-width: 0;
}

body.wecoffee-style--editorial .woocommerce-MyAccount-navigation li:last-child {
	border-bottom: 0;
}

body.wecoffee-style--editorial .woocommerce-MyAccount-navigation a {
	align-items: center;
	color: var(--wecoffee-editorial-ink);
	display: flex;
	font-size: 0.875rem;
	font-weight: 600;
	justify-content: space-between;
	line-height: 1.35;
	min-height: 3.25rem;
	min-width: 0;
	overflow-wrap: anywhere;
	padding: 0.75rem 1rem;
	text-decoration: none;
}

body.wecoffee-style--editorial .woocommerce-MyAccount-navigation a::after {
	content: '→';
	font-weight: 400;
	opacity: 0;
	transform: translateX(-0.25rem);
	transition: opacity var(--wecoffee-transition), transform var(--wecoffee-transition);
}

body.wecoffee-style--editorial .woocommerce-MyAccount-navigation :is(
	li.is-active a,
	a:hover,
	a:focus-visible
) {
	background: var(--wecoffee-editorial-mineral);
	color: var(--wecoffee-editorial-ink);
}

body.wecoffee-style--editorial .woocommerce-MyAccount-navigation :is(
	li.is-active a,
	a:hover,
	a:focus-visible
)::after {
	opacity: 1;
	transform: translateX(0);
}

body.wecoffee-style--editorial .woocommerce-MyAccount-content {
	float: none !important;
	grid-area: content;
	margin: 0 !important;
	min-width: 0;
	width: auto !important;
}

body.wecoffee-style--editorial .woocommerce-MyAccount-content > :first-child {
	margin-top: 0;
}

body.wecoffee-style--editorial .woocommerce-MyAccount-content :is(h2, h3, legend) {
	color: var(--wecoffee-editorial-ink);
	font-family: var(--wecoffee-font-heading);
	font-size: clamp(1.75rem, 2.5vw, 2.5rem);
	font-weight: 400;
	letter-spacing: -0.025em;
	line-height: 1.1;
	margin-bottom: 1.25rem;
}

body.wecoffee-style--editorial .woocommerce-MyAccount-content p {
	line-height: 1.7;
}

body.wecoffee-style--editorial .woocommerce-MyAccount-content a:not(.button) {
	color: var(--wecoffee-editorial-ink);
	text-decoration: underline;
	text-decoration-thickness: 1px;
	text-underline-offset: 0.2em;
}

body.wecoffee-style--editorial.woocommerce-account form {
	background: var(--wecoffee-editorial-paper);
	border: 1px solid var(--wecoffee-editorial-hairline);
	border-radius: var(--wecoffee-radius-lg);
	margin: 0;
	padding: clamp(1.25rem, 3vw, 2rem);
}

body.wecoffee-style--editorial.woocommerce-account form .form-row {
	margin-bottom: 1rem;
	padding: 0;
}

body.wecoffee-style--editorial.woocommerce-account form label {
	color: var(--wecoffee-editorial-ink);
	display: block;
	font-size: 0.8125rem;
	font-weight: 650;
	margin-bottom: 0.375rem;
}

body.wecoffee-style--editorial.woocommerce-account form em {
	color: var(--wecoffee-editorial-graphite);
	display: block;
	font-size: 0.75rem;
	font-style: normal;
	margin-top: 0.375rem;
}

body.wecoffee-style--editorial.woocommerce-account fieldset {
	border: 0;
	border-top: 1px solid var(--wecoffee-editorial-hairline);
	margin: 2rem 0 0;
	padding: 2rem 0 0;
}

body.wecoffee-style--editorial.woocommerce-account fieldset legend {
	padding-right: 1rem;
}

body.wecoffee-style--editorial .woocommerce-Addresses {
	box-sizing: border-box;
	clear: both;
	display: grid;
	gap: clamp(1rem, 3vw, 2rem);
	grid-template-columns: repeat(2, minmax(0, 1fr));
	margin: 2rem 0 0;
	width: 100%;
}

body.wecoffee-style--editorial .woocommerce-Addresses::before,
body.wecoffee-style--editorial .woocommerce-Addresses::after {
	display: none;
}

body.wecoffee-style--editorial .woocommerce-Address {
	background: var(--wecoffee-editorial-paper);
	border: 1px solid var(--wecoffee-editorial-hairline);
	border-radius: var(--wecoffee-radius-lg);
	box-sizing: border-box;
	display: flex;
	float: none !important;
	flex-direction: column;
	margin: 0 !important;
	min-height: 15rem;
	min-width: 0;
	overflow: hidden;
	padding: clamp(1.25rem, 3vw, 2rem);
	width: auto !important;
}

body.wecoffee-style--editorial .woocommerce-Address-title {
	align-items: flex-start;
	border-bottom: 1px solid var(--wecoffee-editorial-hairline);
	display: flex;
	gap: 1rem;
	justify-content: space-between;
	margin-bottom: 1.25rem;
	padding-bottom: 1.25rem;
}

body.wecoffee-style--editorial .woocommerce-Address-title::before,
body.wecoffee-style--editorial .woocommerce-Address-title::after {
	display: none;
}

body.wecoffee-style--editorial .woocommerce-Address-title h2 {
	font-size: clamp(1.5rem, 2vw, 2rem);
	margin: 0;
	max-width: 18ch;
}

body.wecoffee-style--editorial .woocommerce-Address-title .edit {
	align-items: center;
	border: 1px solid var(--wecoffee-editorial-ink);
	border-radius: var(--wecoffee-radius-button);
	display: inline-flex;
	flex: 0 0 auto;
	font-size: 0.75rem;
	font-weight: 650;
	justify-content: center;
	min-height: 2.75rem;
	padding: 0.5rem 0.875rem;
	text-decoration: none;
}

body.wecoffee-style--editorial .woocommerce-Address-title .edit:hover {
	background: var(--wecoffee-editorial-ink);
	color: var(--wecoffee-editorial-on-ink);
}

body.wecoffee-style--editorial .woocommerce-Address address {
	color: var(--wecoffee-editorial-ink);
	font-size: 0.9375rem;
	font-style: normal;
	line-height: 1.7;
	margin: 0;
	white-space: normal;
}

body.wecoffee-style--editorial :is(
	.woocommerce-orders-table,
	.woocommerce-table,
	.shop_table,
	.whols-saved-lists-table
) {
	background: var(--wecoffee-editorial-paper);
	border: 1px solid var(--wecoffee-editorial-hairline);
	border-collapse: separate;
	border-radius: var(--wecoffee-radius-lg);
	border-spacing: 0;
	overflow: hidden;
	width: 100%;
}

body.wecoffee-style--editorial :is(
	.woocommerce-orders-table,
	.woocommerce-table,
	.shop_table,
	.whols-saved-lists-table
) th {
	background: var(--wecoffee-editorial-mineral);
	border: 0;
	border-bottom: 1px solid var(--wecoffee-editorial-hairline);
	color: var(--wecoffee-editorial-graphite);
	font-size: var(--wecoffee-text-caption);
	font-weight: 650;
	letter-spacing: 0.06em;
	padding: 0.875rem 1rem;
	text-align: left;
	text-transform: uppercase;
}

body.wecoffee-style--editorial :is(
	.woocommerce-orders-table,
	.woocommerce-table,
	.shop_table,
	.whols-saved-lists-table
) td {
	border: 0;
	border-bottom: 1px solid var(--wecoffee-editorial-hairline);
	padding: 1rem;
	vertical-align: middle;
}

body.wecoffee-style--editorial :is(
	.woocommerce-orders-table,
	.woocommerce-table,
	.shop_table,
	.whols-saved-lists-table
) tbody tr:last-child td {
	border-bottom: 0;
}

body.wecoffee-style--editorial .woocommerce-orders-table__cell-order-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
}

body.wecoffee-style--editorial .woocommerce-orders-table__cell-order-actions .button {
	min-height: 2.75rem;
	padding: 0.5rem 0.875rem;
}

body.wecoffee-style--editorial .whols-save-order-list-product-badge {
	background: var(--wecoffee-editorial-mineral);
	border: 0;
	border-radius: var(--wecoffee-radius-sm);
	color: var(--wecoffee-editorial-ink);
	display: inline-block;
	font-size: 0.75rem;
	margin: 0.25rem 0.25rem 0 0;
	padding: 0.25rem 0.5rem;
}

body.wecoffee-style--editorial .whols-action-buttons {
	white-space: nowrap;
}

body.wecoffee-style--editorial .whols-action-icon {
	align-items: center;
	border: 1px solid var(--wecoffee-editorial-hairline);
	border-radius: 50%;
	display: inline-flex;
	height: 2.75rem;
	justify-content: center;
	margin-right: 0.375rem;
	text-decoration: none;
	width: 2.75rem;
}

body.wecoffee-style--editorial .whols-action-icon:hover {
	background: var(--wecoffee-editorial-ink);
	border-color: var(--wecoffee-editorial-ink);
	color: var(--wecoffee-editorial-on-ink);
}

body.wecoffee-style--editorial .woocommerce-customer-details {
	margin-top: 2rem;
}

body.wecoffee-style--editorial .woocommerce-customer-details address {
	background: var(--wecoffee-editorial-paper);
	border: 1px solid var(--wecoffee-editorial-hairline);
	border-radius: var(--wecoffee-radius-lg);
	font-style: normal;
	line-height: 1.7;
	padding: 1.5rem;
}

body.wecoffee-style--editorial.woocommerce-account:not(.logged-in) .woocommerce {
	margin-inline: auto;
	max-width: var(--wecoffee-narrow-width);
}

body.wecoffee-style--editorial.woocommerce-account:not(.logged-in) :is(
	.woocommerce-form-login,
	.woocommerce-form-register,
	.woocommerce-ResetPassword
) {
	margin-inline: auto;
	max-width: 38rem;
}

body.wecoffee-style--editorial .woocommerce-password-strength {
	border-radius: var(--wecoffee-radius-sm);
	font-size: 0.8125rem;
	margin-top: 0.5rem;
	padding: 0.5rem 0.75rem;
}

/* ==========================================================================
   Container and viewport responsiveness
   ========================================================================== */

@container (min-width: 840px) {
	body.wecoffee-style--editorial :is(
		.wp-block-woocommerce-cart,
		.wp-block-woocommerce-checkout
	) .wc-block-components-sidebar-layout {
		align-items: start;
		column-gap: clamp(2rem, 4vw, 4rem);
		display: grid;
		grid-template-columns: minmax(0, 1fr) minmax(20rem, 23rem);
	}

	body.wecoffee-style--editorial :is(
		.wc-block-cart__main,
		.wc-block-checkout__main
	) {
		grid-column: 1;
	}

	body.wecoffee-style--editorial :is(
		.wc-block-cart__sidebar,
		.wc-block-checkout__sidebar
	) {
		grid-column: 2;
		margin: 0;
	}

	body.wecoffee-style--editorial .wp-block-woocommerce-checkout .wc-block-checkout__sidebar {
		position: sticky;
		top: 1.5rem;
	}

	body.admin-bar.wecoffee-style--editorial .wp-block-woocommerce-checkout .wc-block-checkout__sidebar {
		top: calc(32px + 1.5rem);
	}
}

@container (width < 840px) {
	body.wecoffee-style--editorial :is(
		.wp-block-woocommerce-cart,
		.wp-block-woocommerce-checkout
	),
	body.wecoffee-style--editorial .wp-block-woocommerce-cart :is(
		.wc-block-components-sidebar-layout,
		.wc-block-cart__main
	),
	body.wecoffee-style--editorial .wp-block-woocommerce-checkout :is(
		.wc-block-components-sidebar-layout,
		.wc-block-checkout__main
	) {
		box-sizing: border-box;
		margin-inline: 0;
		max-width: 100%;
		min-width: 0;
		width: 100%;
	}

	body.wecoffee-style--editorial :is(
		.wp-block-woocommerce-cart,
		.wp-block-woocommerce-checkout
	) .wc-block-components-sidebar-layout {
		display: flex;
		flex-direction: column;
	}

	body.wecoffee-style--editorial .wp-block-woocommerce-cart .wc-block-cart__main {
		order: 1;
	}

	body.wecoffee-style--editorial .wp-block-woocommerce-cart .wc-block-cart__sidebar {
		border-radius: var(--wecoffee-radius-lg);
		margin: 2rem 0 0;
		max-width: 100%;
		order: 2;
		padding: 1.25rem;
		position: static;
		width: 100%;
	}

	body.wecoffee-style--editorial .wp-block-woocommerce-checkout .wc-block-checkout__main {
		order: 2;
	}

	body.wecoffee-style--editorial .wp-block-woocommerce-checkout .wc-block-checkout__sidebar {
		border-radius: var(--wecoffee-radius-lg);
		margin: 0 0 2rem;
		max-width: 100%;
		order: 1;
		padding: 1.25rem;
		position: static;
		width: 100%;
	}

	body.wecoffee-style--editorial .wc-block-components-order-summary-item {
		grid-template-columns: 3.75rem minmax(0, 1fr) auto;
	}

	body.wecoffee-style--editorial .wc-block-components-order-summary-item__image {
		width: 3.75rem;
	}

	body.wecoffee-style--editorial .wc-block-components-checkout-step {
		padding-block: 1.75rem;
	}

	body.wecoffee-style--editorial .wc-block-components-checkout-step__heading {
		margin-bottom: 1rem;
	}
}

@container (width < 700px) {
	body.wecoffee-style--editorial :is(
		.wp-block-woocommerce-cart,
		.wp-block-woocommerce-checkout
	) {
		padding-inline: clamp(1rem, 4vw, 1.5rem);
	}
}

@container (max-width: 520px) {
	body.wecoffee-style--editorial .wp-block-woocommerce-cart .wc-block-cart-items,
	body.wecoffee-style--editorial .wp-block-woocommerce-cart .wc-block-cart-items tbody {
		display: block;
		margin-inline: 0;
		max-width: 100%;
		width: 100%;
	}

	body.wecoffee-style--editorial .wp-block-woocommerce-cart .wc-block-cart-items thead {
		display: none;
	}

	body.wecoffee-style--editorial .wp-block-woocommerce-cart .wc-block-cart-items__row {
		align-items: start;
		border-bottom: 1px solid var(--wecoffee-editorial-hairline);
		column-gap: 1rem;
		display: grid;
		grid-template-columns: 4.75rem minmax(0, 1fr);
		margin: 0;
		padding-block: 1.5rem;
		width: 100%;
	}

	body.wecoffee-style--editorial .wp-block-woocommerce-cart .wc-block-cart-items__row > td {
		border: 0;
		display: block;
		padding: 0;
		width: auto;
	}

	body.wecoffee-style--editorial .wp-block-woocommerce-cart .wc-block-cart-item__image {
		grid-column: 1;
		grid-row: 1 / span 2;
		min-width: 4.75rem;
		padding: 0;
		width: 4.75rem;
	}

	body.wecoffee-style--editorial .wp-block-woocommerce-cart .wc-block-cart-item__product {
		grid-column: 2;
		grid-row: 1;
		padding: 0;
	}

	body.wecoffee-style--editorial .wp-block-woocommerce-cart .wc-block-cart-item__total {
		grid-column: 2;
		grid-row: 2;
		margin-top: 1rem;
		text-align: left;
		width: auto;
	}

	body.wecoffee-style--editorial .wp-block-woocommerce-cart .wc-block-cart-item__product .wc-block-components-product-name {
		font-size: clamp(1.25rem, 6vw, 1.5rem);
		overflow-wrap: break-word;
		word-break: normal;
	}

	body.wecoffee-style--editorial .wc-block-components-product-metadata {
		font-size: 0.75rem;
	}

	body.wecoffee-style--editorial :is(
		.wc-block-components-checkout-step__title,
		.wc-block-components-checkout-step__heading-content
	) {
		font-size: clamp(1.5rem, 7vw, 1.875rem);
	}

	body.wecoffee-style--editorial .wc-block-components-radio-control__option {
		padding-left: 3rem;
	}
}

@media (max-width: 921px) {
	body.wecoffee-style--editorial:is(.woocommerce-cart, .woocommerce-checkout) .site-content > .ast-container {
		padding-inline: clamp(1rem, 4vw, 2.5rem);
	}

	body.wecoffee-style--editorial.woocommerce-account .site-content > .ast-container {
		padding-inline: clamp(1rem, 4vw, 2rem);
	}

	body.wecoffee-style--editorial.woocommerce-account.logged-in .woocommerce {
		grid-template-areas:
			"navigation"
			"content";
		grid-template-columns: 1fr;
	}

	body.wecoffee-style--editorial .woocommerce-MyAccount-navigation {
		position: static;
	}

	body.wecoffee-style--editorial .woocommerce-MyAccount-navigation ul {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	body.wecoffee-style--editorial .woocommerce-MyAccount-navigation li {
		border-right: 1px solid var(--wecoffee-editorial-hairline);
	}

	body.wecoffee-style--editorial .woocommerce-MyAccount-navigation li:nth-child(even) {
		border-right: 0;
	}
}

@media (max-width: 640px) {
	/*
	 * Use one Editorial gutter for Cart and Checkout. The Astra container and
	 * block otherwise add independent padding, producing uneven edges.
	 */
	body.wecoffee-style--editorial:is(.woocommerce-cart, .woocommerce-checkout) .site-content > .ast-container {
		box-sizing: border-box;
		padding-inline: 0;
	}

	body.wecoffee-style--editorial:is(.woocommerce-cart, .woocommerce-checkout) .entry-header,
	body.wecoffee-style--editorial:is(.woocommerce-cart, .woocommerce-checkout) .entry-content {
		box-sizing: border-box;
		margin-inline: 0;
		max-width: 100%;
		padding-inline: var(--wecoffee-gutter);
		width: 100%;
	}

	/*
	 * WooCommerce marks both journey blocks as alignwide, which expands them
	 * beyond the content frame. Keep them within the padded content frame so
	 * the sidebar and fields share the title's Editorial edges.
	 */
	body.wecoffee-style--editorial:is(.woocommerce-cart, .woocommerce-checkout) .entry-content > :is(
		.wp-block-woocommerce-cart.alignwide,
		.wp-block-woocommerce-checkout.alignwide
	) {
		box-sizing: border-box !important;
		margin-inline: 0 !important;
		max-width: none !important;
		padding-inline: 0 !important;
		width: 100% !important;
	}

	body.wecoffee-style--editorial:is(.woocommerce-cart, .woocommerce-checkout) :is(
		.wc-block-cart__sidebar,
		.wc-block-checkout__sidebar
	) {
		box-sizing: border-box;
		margin-inline: 0;
		max-width: 100%;
		width: 100%;
	}

	body.wecoffee-style--editorial:is(.woocommerce-cart, .woocommerce-checkout, .woocommerce-account) .site-content {
		padding-block: 2rem 3.5rem;
	}

	body.wecoffee-style--editorial:is(.woocommerce-cart, .woocommerce-checkout, .woocommerce-account) .entry-header {
		margin-bottom: 2rem;
	}

	body.wecoffee-style--editorial:is(.woocommerce-cart, .woocommerce-checkout, .woocommerce-account) .entry-title {
		font-size: clamp(2.75rem, 15vw, 4.25rem);
	}

	body.wecoffee-style--editorial .woocommerce-MyAccount-navigation a {
		font-size: 0.8125rem;
		min-height: 3rem;
		padding: 0.625rem 0.75rem;
	}

	body.wecoffee-style--editorial .woocommerce-Addresses {
		grid-template-columns: 1fr;
	}

	body.wecoffee-style--editorial .woocommerce-Address {
		min-height: 0;
	}

	body.wecoffee-style--editorial .woocommerce-Address-title {
		align-items: center;
	}

	body.wecoffee-style--editorial .woocommerce-Address-title h2 {
		font-size: 2rem;
	}

	body.wecoffee-style--editorial .woocommerce-MyAccount-content :is(
		.woocommerce-orders-table,
		.woocommerce-table,
		.shop_table,
		.whols-saved-lists-table
	) {
		border-radius: var(--wecoffee-radius-md);
	}

	body.wecoffee-style--editorial .shop_table_responsive tr {
		border-bottom: 1px solid var(--wecoffee-editorial-hairline);
		display: block;
		padding: 0.75rem;
	}

	body.wecoffee-style--editorial .shop_table_responsive tr:last-child {
		border-bottom: 0;
	}

	body.wecoffee-style--editorial .shop_table_responsive td {
		align-items: baseline;
		border: 0;
		display: flex;
		gap: 1rem;
		justify-content: space-between;
		padding: 0.625rem 0.25rem;
		text-align: right;
	}

	body.wecoffee-style--editorial .shop_table_responsive td::before {
		color: var(--wecoffee-editorial-graphite);
		font-size: 0.75rem;
		font-weight: 650;
		letter-spacing: 0.04em;
		text-align: left;
		text-transform: uppercase;
	}
}

@media (max-width: 420px) {
	body.wecoffee-style--editorial .woocommerce-MyAccount-navigation ul {
		grid-template-columns: 1fr;
	}

	body.wecoffee-style--editorial .woocommerce-MyAccount-navigation li {
		border-right: 0;
	}

	body.wecoffee-style--editorial .woocommerce-Address-title {
		align-items: flex-start;
		flex-direction: column;
	}
}

@media (prefers-reduced-motion: reduce) {
	body.wecoffee-style--editorial .woocommerce-MyAccount-navigation a::after {
		transition: none;
	}
}
