/* ===================================================================
   YorkBee: basket, checkout and order confirmation.
   Styles WooCommerce's Cart and Checkout blocks to the C-Basket, C-Checkout
   and C-Confirmation mockups. WooCommerce owns the markup; this file only
   restyles it. Loaded on those three pages only.
   =================================================================== */

:root {
	--yb-i-lock: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='5' y='11' width='14' height='10' rx='1'/%3E%3Cpath d='M8 11V8a4 4 0 0 1 8 0v3'/%3E%3C/svg%3E");
	--yb-card-bg: var(--wp--preset--color--card, #FBF9F5);
	--yb-quiet: #6F6A62; /* mockup #8B867D lifted to 4.8:1 contrast (WCAG AA) */
}

/* WooCommerce labels inside basket and checkout read as normal text; only
   field labels get the small-caps treatment (set below). */
:is(.yb-cart, .yb-checkout, .yb-confirm) label {
	font-size: inherit;
	letter-spacing: normal;
	text-transform: none;
}

/* ---------- Page frame and title row ("Your basket" / "Checkout") ---------- */
.yb-cartpage,
.yb-checkoutpage {
	padding: var(--yb-head-h) 20px 64px;
	box-sizing: border-box;
}
.yb-checkoutpage { padding-top: 0; }
.yb-cartpage > *,
.yb-checkoutpage > * {
	max-width: 1344px;
	margin-inline: auto !important;
	margin-block: 0 !important;
}
.yb-checkoutpage > * { max-width: 1240px; }
.yb-cartpage > .yb-cross { max-width: 1344px; }
.yb-cartpage__content,
.yb-checkoutpage__content { margin-top: 0 !important; }
.yb-cartpage__content > *,
.yb-checkoutpage__content > * { margin-block: 0 !important; max-width: none !important; }

.yb-ctitle {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	align-items: flex-end;
	gap: 18px 20px;
	padding: 30px 0 22px;
}
.yb-ctitle > * { margin: 0 !important; }
.yb-ctitle__h {
	font-size: 54px;
	line-height: .96;
	letter-spacing: -.025em;
}

/* Basket · Details · Done */
.yb-steps {
	display: flex;
	align-items: center;
	gap: 10px;
	margin: 0;
	padding: 0;
	list-style: none;
	font-size: 11px;
	font-weight: 400;
	letter-spacing: .2em;
	line-height: 1;
	text-transform: uppercase;
	color: var(--yb-quiet);
}
.yb-steps__step {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	margin: 0;
}
.yb-steps__step::before {
	content: "";
	flex: none;
	width: 9px;
	height: 9px;
	box-sizing: border-box;
	border: 1px solid currentColor;
	transform: rotate(45deg);
}
.yb-steps__step.is-done { color: var(--yb-ink); }
.yb-steps__step.is-done::before { background: currentColor; }
.yb-steps__step:not(:first-child) { padding-left: 30px; position: relative; }
.yb-steps__step:not(:first-child)::after {
	content: "";
	position: absolute;
	left: 0;
	top: 50%;
	width: 20px;
	height: 1px;
	background: var(--yb-line-light);
	display: block;
}

@media (min-width: 782px) {
	.yb-cartpage { padding: var(--yb-head-h) 48px 120px; }
	.yb-checkoutpage { padding: 0 48px 120px; }
	.yb-ctitle { padding: 64px 0 44px; }
	.yb-checkoutpage .yb-ctitle { padding-bottom: 40px; }
	.yb-ctitle__h { font-size: clamp(64px, calc(5.5vw + 25px), 104px); }
	.yb-checkoutpage .yb-ctitle__h { font-size: clamp(64px, calc(4.6vw + 26px), 92px); }
	.yb-ctitle .yb-steps { margin-bottom: 14px !important; gap: 16px; }
	.yb-checkoutpage .yb-ctitle .yb-steps { margin-bottom: 12px !important; }
	.yb-steps__step:not(:first-child) { padding-left: 60px; }
	.yb-steps__step:not(:first-child)::after { left: 0; width: 44px; }
}

/* ---------- Shared WooCommerce bits: notices, buttons, totals ---------- */
:is(.yb-cart, .yb-checkout) .wc-block-components-sidebar-layout {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: 32px;
	margin: 0;
}
:is(.yb-cart, .yb-checkout) .wc-block-components-main,
:is(.yb-cart, .yb-checkout) .wc-block-components-sidebar {
	width: auto;
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}
@media (min-width: 960px) {
	.yb-cart .wc-block-components-sidebar-layout { grid-template-columns: minmax(0, 1.65fr) minmax(0, 1fr); gap: 72px; align-items: start; }
	.yb-checkout .wc-block-components-sidebar-layout { grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 72px; align-items: start; }
	:is(.yb-cart, .yb-checkout) .wc-block-components-sidebar { position: sticky; top: calc(var(--yb-head-h) + 28px); }
	.yb-checkout .wc-block-components-sidebar { top: 28px; }
}

/* Summary box ("Order summary") on the basket and checkout */
.yb-cart .wc-block-cart__sidebar,
.yb-checkout .wc-block-checkout__sidebar,
.yb-box {
	background: var(--yb-card-bg);
	border: 1px solid var(--yb-line-light);
	border-radius: 2px;
	padding: 24px 20px;
}
@media (min-width: 782px) {
	.yb-cart .wc-block-cart__sidebar,
	.yb-checkout .wc-block-checkout__sidebar,
	.yb-box { padding: 30px; }
}
.yb-cart .wc-block-components-sidebar .wc-block-cart__totals-title,
.yb-checkout .wc-block-components-checkout-order-summary__title-text,
.yb-box__label {
	display: block;
	margin: 0;
	padding: 0 0 8px;
	font-family: var(--wp--preset--font-family--text);
	font-size: 11px !important;
	font-weight: 500;
	line-height: 1.5;
	letter-spacing: .2em;
	text-align: left;
	text-transform: uppercase;
	color: var(--yb-ink);
}

/* Rows: label left, amount right */
:is(.yb-cart, .yb-checkout) .wc-block-components-totals-wrapper {
	padding: 0;
	border: 0;
}
:is(.yb-cart, .yb-checkout) .wc-block-components-totals-wrapper::after,
:is(.yb-cart, .yb-checkout) .wc-block-components-totals-wrapper:empty { display: none; }
:is(.yb-cart, .yb-checkout) .wc-block-components-totals-item {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	align-items: baseline;
	gap: 0 16px;
	margin: 0;
	padding: 4px 0;
	font-size: 16px;
	line-height: 1.5;
}
:is(.yb-cart, .yb-checkout) .wc-block-components-totals-item__label { color: var(--yb-muted-light); font-weight: 400; }
:is(.yb-cart, .yb-checkout) .wc-block-components-totals-item__value { color: var(--yb-ink); font-weight: 400; }
:is(.yb-cart, .yb-checkout) .wc-block-components-totals-item__description { flex-basis: 100%; font-size: 13px; color: var(--yb-muted-light); }
:is(.yb-cart, .yb-checkout) .wc-block-components-totals-item__description:empty { display: none; }
:is(.yb-cart, .yb-checkout) .wp-block-woocommerce-cart-order-summary-subtotal-block .wc-block-components-totals-item,
:is(.yb-cart, .yb-checkout) .wp-block-woocommerce-checkout-order-summary-subtotal-block .wc-block-components-totals-item { padding-top: 12px; }
:is(.yb-cart, .yb-checkout) .wc-block-components-totals-shipping {
	padding-bottom: 12px;
}
:is(.yb-cart, .yb-checkout) :is(.wp-block-woocommerce-cart-order-summary-totals-block, .wp-block-woocommerce-checkout-order-summary-totals-block) {
	margin-top: 6px;
	padding-bottom: 0;
	border-top: 0;
	border-bottom: 1px solid var(--yb-line-light);
}
:is(.yb-cart, .yb-checkout) :is(.wp-block-woocommerce-cart-order-summary-block, .wp-block-woocommerce-checkout-order-summary-block) { border: 0; }
:is(.yb-cart, .yb-checkout) .wp-block-woocommerce-cart-order-summary-coupon-form-block { margin-top: 6px; }
:is(.yb-cart, .yb-checkout) .wc-block-components-totals-shipping .wc-block-components-totals-item { padding-bottom: 4px; }
/* "Delivery · Flat rate, UK mainland" in the basket (WooCommerce shows the method name). */
:is(.yb-cart, .yb-checkout) .wc-block-components-totals-shipping .wc-block-components-totals-item__label::before { content: "Delivery · "; }
:is(.yb-cart, .yb-checkout) .wc-block-components-shipping-address,
:is(.yb-cart, .yb-checkout) .wc-block-components-totals-shipping__change-address__link { font-size: 13px; color: var(--yb-muted-light); }

/* Total: small caps label, big Bodoni figure */
:is(.yb-cart, .yb-checkout) .wc-block-components-totals-footer-item {
	align-items: baseline;
	margin-top: 6px;
	padding: 16px 0 18px;
}
:is(.yb-cart, .yb-checkout) .wc-block-components-totals-footer-item .wc-block-components-totals-item__label {
	font-size: 11px;
	font-weight: 500;
	letter-spacing: .2em;
	text-transform: uppercase;
	color: var(--yb-ink);
}
:is(.yb-cart, .yb-checkout) .wc-block-components-totals-footer-item .wc-block-components-totals-item__value,
:is(.yb-cart, .yb-checkout) .wc-block-components-totals-footer-item-tax-value {
	font-family: var(--wp--preset--font-family--display);
	font-size: 38px;
	line-height: 1;
	font-weight: 400;
}
:is(.yb-cart, .yb-checkout) .wc-block-components-totals-footer-item-tax { display: none; }

/* Coupon: "Add a coupon +", hairlines above and below */
:is(.yb-cart, .yb-checkout) .wp-block-woocommerce-cart-order-summary-coupon-form-block,
:is(.yb-cart, .yb-checkout) .wp-block-woocommerce-checkout-order-summary-coupon-form-block {
	border-top: 1px solid var(--yb-line-light);
	border-bottom: 1px solid var(--yb-line-light);
}
:is(.yb-cart, .yb-checkout) .wc-block-components-totals-coupon { margin: 0; }
:is(.yb-cart, .yb-checkout) .wc-block-components-panel__button {
	display: flex;
	flex-direction: row-reverse;
	justify-content: space-between;
	align-items: center;
	width: 100%;
	margin: 0;
	padding: 14px 0;
	font-size: 16px;
	font-weight: 400;
	line-height: 1.5;
	color: var(--yb-ink);
	cursor: pointer;
}
:is(.yb-cart, .yb-checkout) .wc-block-components-panel__button > svg { display: none; }
:is(.yb-cart, .yb-checkout) .wc-block-components-panel__button::before {
	content: "+";
	font: 300 22px/1.4 var(--wp--preset--font-family--text);
}
:is(.yb-cart, .yb-checkout) .wc-block-components-panel__button[aria-expanded="true"]::before { content: "−"; }
:is(.yb-cart, .yb-checkout) .wc-block-components-panel__content { padding: 0 0 14px; }
:is(.yb-cart, .yb-checkout) .wc-block-components-totals-coupon__form {
	display: flex;
	gap: 8px;
}
:is(.yb-cart, .yb-checkout) .wc-block-components-totals-coupon__form .wc-block-components-text-input { flex: 1; margin: 0; }
:is(.yb-cart, .yb-checkout) .wc-block-components-totals-coupon__button {
	min-height: 48px;
	height: 48px;
	padding: 0 18px;
	border: 1px solid var(--yb-ink);
	border-radius: 1px;
	background: transparent;
	color: var(--yb-ink);
	font-size: 11px;
	font-weight: 500;
	letter-spacing: .2em;
	text-transform: uppercase;
}
:is(.yb-cart, .yb-checkout) .wc-block-components-totals-coupon__button:hover:not([disabled]) { background: var(--yb-ink); color: var(--yb-paper); }

/* Primary buttons: "Go to checkout →", "Place order · £27.39 →" */
.yb-cart .wc-block-cart__submit-button,
.yb-checkout .wc-block-components-checkout-place-order-button {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 14px;
	width: 100%;
	min-height: 56px;
	padding: 0 30px;
	border: 1px solid var(--yb-ink);
	border-radius: 2px;
	background: var(--yb-ink);
	color: var(--yb-paper);
	font-size: 12px;
	font-weight: 500;
	letter-spacing: .2em;
	line-height: 1.2;
	text-transform: uppercase;
	text-decoration: none;
	box-shadow: none;
	transition: background-color .7s var(--yb-ease), color .7s var(--yb-ease);
}
.yb-cart .wc-block-cart__submit-button::after,
.yb-checkout .wc-block-components-checkout-place-order-button::after {
	content: "";
	flex: none;
	width: 16px;
	height: 16px;
	background: currentColor;
	-webkit-mask: var(--yb-i-arrow) center / contain no-repeat;
	mask: var(--yb-i-arrow) center / contain no-repeat;
	transition: transform .8s var(--yb-ease);
}
.yb-cart .wc-block-cart__submit-button:hover,
.yb-checkout .wc-block-components-checkout-place-order-button:hover:not([disabled]) { background: transparent; color: var(--yb-ink); }
.yb-cart .wc-block-cart__submit-button:hover::after,
.yb-checkout .wc-block-components-checkout-place-order-button:hover::after { transform: translateX(6px); }
.yb-cart .wc-block-cart__submit { margin: 0; }
.yb-cart .wc-block-cart__submit-container { padding: 0; position: static; box-shadow: none; background: none; }

/* Express payments ("— or — Pay with PayPal"), when switched on */
:is(.yb-cart, .yb-checkout) .wc-block-components-express-payment-continue-rule {
	display: flex;
	align-items: center;
	gap: 14px;
	margin: 0;
	padding: 16px 0 10px;
	font-size: 11px;
	letter-spacing: .2em;
	text-transform: uppercase;
	color: var(--yb-muted-light);
}
:is(.yb-cart, .yb-checkout) .wc-block-components-express-payment-continue-rule::before,
:is(.yb-cart, .yb-checkout) .wc-block-components-express-payment-continue-rule::after {
	content: "";
	flex: 1;
	height: 1px;
	margin: 0;
	border: 0;
	background: var(--yb-line-light);
}
.yb-cart .wc-block-cart__payment-options { padding: 0; }
.yb-cart .wc-block-cart__payment-options:empty { display: none; }

/* "Secure payment. Card, Klarna or PayPal." */
.yb-secure {
	display: flex;
	align-items: center;
	gap: 10px;
	margin: 14px 0 0 !important;
	font-size: 13px;
	line-height: 1.4;
	color: var(--yb-muted-light);
}
.yb-secure::before,
.yb-chead__secure::before {
	content: "";
	flex: none;
	width: 15px;
	height: 15px;
	background: currentColor;
	-webkit-mask: var(--yb-i-lock) center / contain no-repeat;
	mask: var(--yb-i-lock) center / contain no-repeat;
}

/* ---------- Basket line items ---------- */
.yb-cart .wc-block-cart-items {
	width: 100%;
	margin: 0;
	border: 0;
	border-top: 1px solid var(--yb-ink);
	border-collapse: collapse;
	table-layout: auto;
}
.yb-cart .wc-block-cart-items thead {
	position: absolute;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip-path: inset(50%);
}
.yb-cart .wc-block-cart-items tbody { display: block; }
.yb-cart table.wc-block-cart-items tr.wc-block-cart-items__row {
	display: grid;
	grid-template-columns: 112px auto minmax(0, 1fr) auto;
	grid-template-rows: auto auto auto;
	gap: 0;
	align-items: center;
	padding: 20px 0;
	border-bottom: 1px solid var(--yb-line-light);
}
.yb-cart table.wc-block-cart-items tr.wc-block-cart-items__row > td,
.yb-cart table.wc-block-cart-items tr.wc-block-cart-items__row .wc-block-cart-item__product,
.yb-cart table.wc-block-cart-items tr.wc-block-cart-items__row .wc-block-cart-item__wrap,
.yb-cart table.wc-block-cart-items tr.wc-block-cart-items__row .wc-block-cart-item__quantity { padding: 0; border: 0; }
.yb-cart table.wc-block-cart-items tr.wc-block-cart-items__row .wc-block-cart-item__product,
.yb-cart table.wc-block-cart-items tr.wc-block-cart-items__row .wc-block-cart-item__wrap,
.yb-cart table.wc-block-cart-items tr.wc-block-cart-items__row .wc-block-cart-item__quantity { display: contents; }

.yb-cart table.wc-block-cart-items tr.wc-block-cart-items__row .wc-block-cart-item__image {
	grid-column: 1;
	grid-row: 1 / span 2;
	align-self: start;
	padding-right: 16px !important;
}
.yb-cart table.wc-block-cart-items tr.wc-block-cart-items__row .wc-block-cart-item__image a,
.yb-cart table.wc-block-cart-items tr.wc-block-cart-items__row .wc-block-cart-item__image img {
	display: block;
	width: 100%;
	max-width: none;
	height: auto;
	aspect-ratio: 4 / 3;
	object-fit: cover;
	border-radius: 1px;
	background: #E9E4DA;
}
.yb-cart table.wc-block-cart-items tr.wc-block-cart-items__row .wc-block-cart-item__wrap > .wc-block-components-product-name {
	grid-column: 2 / -1;
	grid-row: 1;
	align-self: end;
	margin: 0;
	font-family: var(--wp--preset--font-family--display);
	font-size: 21px;
	font-weight: 400;
	line-height: 1.12;
	color: var(--yb-ink);
	text-decoration: none;
}
.yb-cart table.wc-block-cart-items tr.wc-block-cart-items__row .wc-block-cart-item__wrap > .wc-block-components-product-metadata {
	grid-column: 2;
	grid-row: 2;
	align-self: start;
	margin: 5px 0 0;
}
.yb-cart table.wc-block-cart-items tr.wc-block-cart-items__row .wc-block-cart-item__prices {
	grid-column: 3 / -1;
	grid-row: 2;
	align-self: start;
	margin: 5px 0 0;
	padding-left: .3em;
	font-size: 14px;
	line-height: 1.5;
	color: var(--yb-muted-light);
}
.yb-cart table.wc-block-cart-items tr.wc-block-cart-items__row .wc-block-cart-item__prices .wc-block-components-product-price { color: inherit; font-size: inherit; }
.yb-cart table.wc-block-cart-items tr.wc-block-cart-items__row .wc-block-components-product-metadata .wc-block-components-product-details::after { content: " ·"; }

.yb-cart table.wc-block-cart-items tr.wc-block-cart-items__row .wc-block-components-quantity-selector {
	grid-column: 1 / span 2;
	grid-row: 3;
	justify-self: start;
	margin-top: 14px;
}
.yb-cart table.wc-block-cart-items tr.wc-block-cart-items__row .wc-block-cart-item__remove-link {
	grid-column: 3;
	grid-row: 3;
	justify-self: center;
	margin-top: 14px;
}
.yb-cart table.wc-block-cart-items tr.wc-block-cart-items__row .wc-block-cart-item__total {
	grid-column: 4;
	grid-row: 3;
	margin-top: 14px;
	font-size: 17px;
	text-align: right;
	white-space: nowrap;
}
.yb-cart table.wc-block-cart-items tr.wc-block-cart-items__row .wc-block-cart-item__total .wc-block-components-product-price { font-size: inherit; font-weight: 400; }
.yb-cart table.wc-block-cart-items tr.wc-block-cart-items__row .wc-block-cart-item__total .wc-block-components-sale-badge { display: none; }

@media (min-width: 782px) {
.yb-cart table.wc-block-cart-items tr.wc-block-cart-items__row {
		grid-template-columns: 176px auto minmax(0, 1fr) auto auto;
		grid-template-rows: 1fr auto auto auto 1fr;
		padding: 26px 0;
	}
.yb-cart table.wc-block-cart-items tr.wc-block-cart-items__row .wc-block-cart-item__image { grid-row: 1 / -1; align-self: center; padding-right: 28px !important; }
.yb-cart table.wc-block-cart-items tr.wc-block-cart-items__row .wc-block-cart-item__wrap > .wc-block-components-product-name { grid-row: 2; font-size: 27px; }
.yb-cart table.wc-block-cart-items tr.wc-block-cart-items__row .wc-block-cart-item__wrap > .wc-block-components-product-metadata,
.yb-cart table.wc-block-cart-items tr.wc-block-cart-items__row .wc-block-cart-item__prices { grid-row: 3; }
.yb-cart table.wc-block-cart-items tr.wc-block-cart-items__row .wc-block-cart-item__remove-link { grid-column: 2 / 4; grid-row: 4; justify-self: start; margin-top: 0; }
.yb-cart table.wc-block-cart-items tr.wc-block-cart-items__row .wc-block-components-quantity-selector { grid-column: 4; grid-row: 1 / -1; align-self: center; margin: 0 0 0 28px; }
.yb-cart table.wc-block-cart-items tr.wc-block-cart-items__row .wc-block-cart-item__total { grid-column: 5; grid-row: 1 / -1; align-self: center; min-width: 72px; margin: 0 0 0 28px; font-size: 19px; }
}

.yb-cart table.wc-block-cart-items tr.wc-block-cart-items__row .wc-block-cart-item__remove-link { padding-top: 12px; }

.yb-cart__more { margin: 22px 0 0 !important; padding-top: 12px; }
.yb-cart__more .yb-u { font-size: 11px; }

/* Empty basket */
.yb-cart .wp-block-woocommerce-empty-cart-block { padding: 24px 0 0; border-top: 1px solid var(--yb-ink); }
.yb-cart .wp-block-woocommerce-empty-cart-block > * { margin: 0 0 20px; }
.yb-cart .yb-cart__empty-title { font-size: clamp(32px, 3vw + 18px, 48px); line-height: 1.05; }
.yb-cart .yb-cart__empty-title::before { display: none; }
.yb-cart .yb-cart__empty-text { color: var(--yb-muted-light); font-size: 17px; }
.yb-cartpage:has(.wp-block-woocommerce-empty-cart-block) .yb-steps { display: none; }

/* ---------- Goes well with (cross-sells) ---------- */
.yb-cross { padding: 56px 0 0; }
.yb-cross > * { margin-block: 0 !important; }
.yb-cross__title {
	padding-top: 32px;
	margin-bottom: 28px !important;
	font-size: clamp(46px, calc(3.6vw + 28px), 80px);
	line-height: .98;
	letter-spacing: -.02em;
}
.yb-cross .wc-block-product-template {
	display: grid !important;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 12px;
	margin: 0;
	padding: 0;
	list-style: none;
}
.yb-cross .wc-block-product { width: auto; max-width: none; margin: 0; padding: 0; }
.yb-cross .yb-pcard { height: 100%; padding: 10px 10px 14px; gap: 12px; box-sizing: border-box; }
.yb-cross .yb-card__media img { aspect-ratio: 4 / 3; object-fit: cover; }
.yb-cross .yb-card__title { font-size: 18px; }
.yb-cross .yb-card__foot { flex-wrap: wrap; }
@media (min-width: 782px) {
	.yb-cross { padding-top: 132px; }
	.yb-cross__title { padding-top: 44px; margin-bottom: 48px !important; }
	.yb-cross .wc-block-product-template { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
	.yb-cross .yb-pcard { padding: 14px 14px 18px; gap: 16px; }
	.yb-cross .yb-card__title { font-size: 25px; }
	.yb-cross .yb-card__foot { flex-wrap: nowrap; }
}

/* ---------- Checkout header and footer ---------- */
.yb-chead {
	position: relative;
	z-index: 40;
	height: var(--yb-head-h);
	background: var(--yb-black);
	color: var(--yb-paper);
	border-bottom: 1px solid var(--yb-line-dark);
}
.yb-chead > * { margin: 0; }
.yb-chead__bar {
	display: flex;
	justify-content: space-between;
	align-items: center;
	height: 100%;
	padding: 0 16px;
	font-size: 11px;
	letter-spacing: .2em;
	line-height: 1;
	text-transform: uppercase;
}
.yb-chead__bar > * { margin: 0 !important; }
.yb-chead__back a {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	padding: 6px 0 5px;
	background: linear-gradient(currentColor, currentColor) 0 100% / 100% 1px no-repeat;
	color: var(--yb-paper);
	text-decoration: none;
	transition: background-size .8s var(--yb-ease);
}
.yb-chead__back a:hover { background-size: 36% 1px; }
.yb-chead__back a::before {
	content: "";
	width: 14px;
	height: 14px;
	background: currentColor;
	-webkit-mask: var(--yb-i-arrow) center / contain no-repeat;
	mask: var(--yb-i-arrow) center / contain no-repeat;
	transform: rotate(180deg);
}
.yb-chead__secure {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	color: var(--yb-muted-dark);
}
.yb-chead__secure::before { width: 14px; height: 14px; }
.yb-chead__more { display: none; }
.yb-chead__logo {
	position: absolute;
	left: 50%;
	top: 6px;
	width: 62px;
	margin: 0 0 0 -31px !important;
	pointer-events: none;
}
.yb-chead__logo img { display: block; width: 100%; height: auto; }
@media (min-width: 782px) {
	.yb-chead__bar { padding: 0 48px; }
	.yb-chead__more { display: inline; }
	.yb-chead__logo { top: 8px; width: 78px; margin-left: -39px !important; }
}

.yb-cfoot {
	border-top: 1px solid var(--yb-line-light);
	color: var(--yb-muted-light);
	font-size: 13px;
}
.yb-cfoot__inner {
	display: flex;
	flex-direction: column;
	gap: 14px 24px;
	padding: 28px 20px;
}
.yb-cfoot__inner > * { margin: 0 !important; }
.yb-cfoot__copy { color: inherit; }
.yb-cfoot__links .wp-block-navigation__container { gap: 10px 22px; }
.yb-cfoot__links a,
.yb-cfoot__links .wp-block-navigation-item__content {
	color: inherit;
	font-size: 13px;
	letter-spacing: normal;
	text-transform: none;
	text-decoration: underline;
	text-underline-offset: 3px;
	text-decoration-thickness: 1px;
}
.yb-cfoot__links a:hover { color: var(--yb-ink); }
@media (min-width: 782px) {
	.yb-cfoot__inner { flex-direction: row; flex-wrap: wrap; justify-content: space-between; align-items: center; padding: 28px 48px; }
}

/* ---------- Checkout form ---------- */
.yb-checkout .wc-block-checkout__form { margin: 0; }

/* Express checkout box */
.yb-checkout .wc-block-components-express-payment--checkout {
	margin: 0 0 32px;
	padding: 24px 20px;
	background: var(--yb-card-bg);
	border: 1px solid var(--yb-line-light);
	border-radius: 2px;
}
.yb-checkout .wc-block-components-express-payment__title-container { display: block; margin: 0 0 16px; }
.yb-checkout .wc-block-components-express-payment__title-container::before,
.yb-checkout .wc-block-components-express-payment__title-container::after { display: none; }
.yb-checkout .wc-block-components-express-payment__title {
	margin: 0;
	padding: 0;
	background: none;
	font-family: var(--wp--preset--font-family--text);
	font-size: 11px;
	font-weight: 500;
	letter-spacing: .2em;
	text-transform: uppercase;
}
.yb-checkout .wc-block-components-express-payment__content { padding: 0; border: 0; }
.yb-checkout .wc-block-components-express-payment__content::after { display: none; }
.yb-checkout .wc-block-components-express-payment-continue-rule--checkout {
	padding: 0 0 32px;
	text-transform: none;
	letter-spacing: normal;
	font-size: 14px;
}
.yb-checkout .wc-block-components-express-payment-continue-rule--checkout::before,
.yb-checkout .wc-block-components-express-payment-continue-rule--checkout::after { display: none; }
@media (min-width: 782px) {
	.yb-checkout .wc-block-components-express-payment--checkout { margin-bottom: 44px; padding: 28px 30px; }
}

/* Steps: hairline above, gold-bronze italic number, Bodoni title */
.yb-checkout .wc-block-components-checkout-step {
	position: relative;
	margin: 0;
	padding: 32px 0;
	border: 0;
	border-top: 1px solid var(--yb-line-light);
}
.yb-checkout .wc-block-checkout__form--with-step-numbers .wc-block-components-checkout-step--with-step-number {
	margin-left: 0;
	padding: 32px 0;
}
.yb-checkout .wc-block-components-checkout-step--with-step-number::after,
.yb-checkout .wc-block-components-checkout-step::after { display: none; }
.yb-checkout .wc-block-components-checkout-step__heading-container { margin: 0 0 24px; }
.yb-checkout .wc-block-components-checkout-step__heading {
	position: static;
	display: flex;
	justify-content: space-between;
	align-items: baseline;
	margin: 0;
}
/* No vertical connector between steps */
.yb-checkout .wc-block-checkout__form--with-step-numbers .wc-block-components-checkout-step--with-step-number .wc-block-components-checkout-step__content::before,
.yb-checkout .wc-block-checkout__form--with-step-numbers .wc-block-components-checkout-step--with-step-number .wc-block-components-checkout-step__description::before { display: none; }
.yb-checkout .wc-block-components-checkout-step__title {
	position: static;
	margin: 0;
	font-family: var(--wp--preset--font-family--display);
	font-size: 30px;
	font-weight: 400;
	line-height: 1;
	color: var(--yb-ink);
}
.yb-checkout .wc-block-checkout__form--with-step-numbers .wc-block-components-checkout-step--with-step-number .wc-block-components-checkout-step__title::before {
	content: counter(checkout-step, decimal-leading-zero);
	content: counter(checkout-step, decimal-leading-zero) / "";
	counter-increment: checkout-step;
	position: static;
	display: block;
	margin: 0 0 6px;
	transform: none;
	font-family: var(--wp--preset--font-family--display);
	font-size: 24px;
	font-style: italic;
	line-height: 1;
	color: var(--yb-bronze);
	background: none;
	border: 0;
	text-align: left;
}
.yb-checkout .wc-block-components-checkout-step__container,
.yb-checkout .wc-block-components-checkout-step__content { margin: 0; padding: 0; }
.yb-checkout .wc-block-components-checkout-step__description { margin: -12px 0 20px; font-size: 15px; color: var(--yb-muted-light); }
.yb-checkout .wc-block-components-checkout-step__heading-content { font-size: 14px; color: var(--yb-muted-light); }
.yb-checkout .wc-block-components-checkout-step__heading-content a { color: inherit; }
@media (min-width: 782px) {
	.yb-checkout .wc-block-components-checkout-step { padding: 40px 0; }
	.yb-checkout .wc-block-checkout__form--with-step-numbers .wc-block-components-checkout-step--with-step-number { padding: 40px 0 40px 76px; }
	.yb-checkout .wc-block-components-checkout-step__title { font-size: 34px; }
	.yb-checkout .wc-block-checkout__form--with-step-numbers .wc-block-components-checkout-step--with-step-number .wc-block-components-checkout-step__title::before {
		position: absolute;
		left: 0;
		top: 40px;
		margin: 0;
		font-size: 30px;
	}
}

/* Fields: small-caps label above a 52px hairline box */
.yb-checkout .wc-block-components-address-form,
.yb-checkout #contact.wc-block-components-address-form {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: 16px;
	margin: 0;
}
.yb-checkout .wc-block-components-address-form > * {
	grid-column: 1 / -1;
	width: auto !important;
	flex: none !important;
	margin: 0 !important;
}
@media (min-width: 600px) {
	.yb-checkout .wc-block-components-address-form { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.yb-checkout .wc-block-components-address-form > :is(.wc-block-components-address-form__first_name, .wc-block-components-address-form__last_name, .wc-block-components-address-form__city, .wc-block-components-address-form__postcode) { grid-column: span 1; }
}
.yb-checkout .wc-block-components-address-form__address_2-hidden-input {
	position: absolute !important;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip-path: inset(50%);
}
.yb-checkout .wc-block-components-address-form__address_2-toggle {
	justify-self: start;
	font-size: 15px;
	color: var(--yb-muted-light);
	text-decoration: underline;
	text-underline-offset: 3px;
	cursor: pointer;
}
.yb-checkout .wc-block-components-text-input,
.yb-checkout .wc-blocks-components-select__container,
.yb-checkout .wc-block-components-textarea-wrapper {
	position: relative;
	display: flex;
	flex-direction: column;
	gap: 8px;
	margin: 0;
	height: auto;
	background: none;
	border: 0;
}
.yb-checkout .wc-block-components-text-input label,
.yb-checkout .wc-block-components-form .wc-block-components-text-input label,
.yb-checkout .wc-block-components-form .wc-block-components-text-input.is-active label,
.yb-checkout .wc-block-components-form .wc-block-components-text-input input:-webkit-autofill + label,
.yb-checkout .wc-blocks-components-select__label {
	order: -1;
	position: static;
	transform: none;
	max-width: none;
	margin: 0;
	padding: 0;
	font-size: 11px;
	font-weight: 400;
	line-height: 1.4;
	letter-spacing: .2em;
	text-transform: uppercase;
	color: var(--yb-muted-light);
	white-space: normal;
	pointer-events: auto;
	transition: none;
}
.yb-checkout .wc-block-components-text-input input,
.yb-checkout .wc-blocks-components-select__select,
.yb-checkout .wc-block-components-textarea {
	width: 100%;
	height: 52px;
	min-height: 52px;
	margin: 0;
	padding: 0 14px !important;
	border: 1px solid var(--yb-line-light);
	border-radius: 1px;
	background: #fff;
	box-shadow: none;
	font: 400 17px/1.3 var(--wp--preset--font-family--text);
	color: var(--yb-ink);
}
.yb-checkout .wc-block-components-textarea { height: auto; min-height: 104px; padding: 12px 14px !important; }
.yb-checkout .wc-blocks-components-select__select { padding-right: 40px !important; appearance: none; }
.yb-checkout .wc-blocks-components-select__expand { right: 14px; top: auto; bottom: 14px; }
.yb-checkout .wc-block-components-text-input input:focus,
.yb-checkout .wc-blocks-components-select__select:focus,
.yb-checkout .wc-block-components-textarea:focus { border-color: var(--yb-ink); box-shadow: none; outline: none; }
.yb-checkout .wc-block-components-text-input.has-error input,
.yb-checkout .wc-blocks-components-select.has-error .wc-blocks-components-select__select { border-color: #A3341F; }
.yb-checkout .wc-block-components-validation-error { font-size: 13px; color: #A3341F; }
.yb-checkout .wc-block-components-validation-error > p { margin: 0; }

/* The shipping address card shown once an address is saved */
.yb-checkout .wc-block-components-address-card {
	padding: 18px;
	border: 1px solid var(--yb-line-light);
	border-radius: 2px;
	background: var(--yb-card-bg);
	font-size: 16px;
}
.yb-checkout .wc-block-components-address-card__edit { font-size: 13px; text-decoration: underline; text-underline-offset: 3px; }
.yb-checkout .wc-block-components-address-address-wrapper.is-editing .wc-block-components-address-card-wrapper { display: none; }

/* Guest-checkout reminder: not in the design */
.yb-checkout .wc-block-checkout__guest-checkout-notice { display: none; }

/* Checkboxes: 18px hairline square */
.yb-checkout .wc-block-components-checkbox { margin: 20px 0 0; }
.yb-checkout .wc-block-components-checkbox label {
	display: flex;
	align-items: flex-start;
	gap: 12px;
	font-size: 15px;
	line-height: 1.45;
	color: var(--yb-muted-light);
	cursor: pointer;
}
.yb-checkout .wc-block-components-checkbox .wc-block-components-checkbox__input[type="checkbox"] {
	flex: none;
	width: 18px;
	height: 18px;
	min-width: 18px;
	min-height: 18px;
	margin: 2px 0 0;
	border: 1px solid var(--yb-ink);
	border-radius: 1px;
	background: #fff;
	box-shadow: none;
}
.yb-checkout .wc-block-components-checkbox .wc-block-components-checkbox__input[type="checkbox"]:checked { background: var(--yb-ink); }
.yb-checkout .wc-block-components-checkbox .wc-block-components-checkbox__mark {
	left: 3px;
	top: 5px;
	width: 12px;
	height: 12px;
	margin: 0;
	fill: var(--yb-paper);
}
.yb-checkout .wc-block-components-checkbox__label { font-size: inherit; }

/* Radio options: delivery and payment, as bordered cards */
.yb-checkout .wc-block-components-radio-control {
	display: flex;
	flex-direction: column;
	gap: 10px;
	border: 0;
}
.yb-checkout .wc-block-components-radio-control::after,
.yb-checkout .wc-block-components-radio-control--highlight-checked::after,
.yb-checkout .wc-block-components-radio-control__option::after,
.yb-checkout .wc-block-components-radio-control-accordion-option::after { display: none !important; }
.yb-checkout .wc-block-components-radio-control__option,
.yb-checkout .wc-block-components-radio-control-accordion-option {
	position: relative;
	margin: 0;
	border: 1px solid var(--yb-line-light);
	border-radius: 2px;
	background: transparent;
	box-shadow: none !important;
}
.yb-checkout .wc-block-components-radio-control-accordion-option .wc-block-components-radio-control__option { border: 0; background: none; }
.yb-checkout .wc-block-components-radio-control__option-checked:not(.wc-block-components-radio-control-accordion-option *),
.yb-checkout .wc-block-components-radio-control-accordion-option:has(.wc-block-components-radio-control__option-checked) {
	border-color: var(--yb-ink);
	background: var(--yb-card-bg);
}
.yb-checkout .wc-block-components-radio-control__option {
	display: block;
	padding: 18px 18px 18px 50px;
	font-size: 17px;
	line-height: 1.35;
	cursor: pointer;
}
.yb-checkout .wc-block-components-radio-control .wc-block-components-radio-control__input {
	position: absolute;
	left: 18px;
	top: 50%;
	width: 18px;
	height: 18px;
	min-width: 18px;
	min-height: 18px;
	margin: -9px 0 0;
	padding: 0;
	border: 1px solid var(--yb-ink);
	border-radius: 50%;
	background: transparent;
	box-shadow: none;
	-webkit-appearance: none;
	appearance: none;
}
.yb-checkout .wc-block-components-radio-control-accordion-option .wc-block-components-radio-control__input { top: 21px; margin-top: 0; }
.yb-checkout .wc-block-components-radio-control .wc-block-components-radio-control__input::before { display: none; }
.yb-checkout .wc-block-components-radio-control .wc-block-components-radio-control__input:checked {
	background: radial-gradient(circle at center, var(--yb-ink) 0 3.5px, transparent 4.5px);
}
.yb-checkout .wc-block-components-radio-control__option-layout { display: flex; flex-direction: column; gap: 3px; padding: 0; }
.yb-checkout .wc-block-components-radio-control__label-group { display: flex; justify-content: space-between; gap: 16px; }
.yb-checkout .wc-block-components-radio-control__label,
.yb-checkout .wc-block-components-radio-control__secondary-label { font-size: 17px; color: var(--yb-ink); }
.yb-checkout .wc-block-components-radio-control__secondary-label { font-size: 16px; white-space: nowrap; }
.yb-checkout .wc-block-components-radio-control__description,
.yb-checkout .wc-block-components-radio-control__secondary-description { font-size: 14px; line-height: 1.45; color: var(--yb-muted-light); }
.yb-checkout .wc-block-components-radio-control-accordion-content {
	padding: 0 18px 18px 50px;
	font-size: 14px;
	line-height: 1.5;
	color: var(--yb-muted-light);
}
.yb-checkout .wc-block-components-radio-control-accordion-content:empty { display: none; }
.yb-checkout .wc-block-components-radio-control-accordion-content p { margin: 0; }
.yb-checkout .wc-block-components-payment-method-label { font-size: 17px; }
.yb-checkout .wc-block-components-payment-method-icons { margin: 0; }

/* Order note, terms and the action row */
.yb-checkout .wc-block-checkout__order-notes.wc-block-components-checkout-step { padding: 28px 0 0; }
.yb-checkout .wc-block-checkout__add-note .wc-block-components-checkbox { margin: 0; }
.yb-checkout .wc-block-checkout__add-note .wc-block-components-textarea { margin-top: 16px; }
.yb-checkout .wc-block-checkout__terms {
	margin: 20px 0 0;
	padding: 0;
	border: 0;
	font-size: 15px;
	line-height: 1.5;
	color: var(--yb-muted-light);
}
.yb-checkout .wc-block-checkout__terms a { color: inherit; text-decoration: underline; text-underline-offset: 3px; }
.yb-checkout .wc-block-checkout__actions { margin: 28px 0 0; padding: 0; }
.yb-checkout .wc-block-checkout__actions_row {
	display: flex;
	flex-direction: column-reverse;
	align-items: stretch;
	gap: 22px;
}
.yb-checkout .wc-block-components-checkout-return-to-cart-button {
	align-self: flex-start;
	display: inline-flex;
	padding: 0 0 5px;
	background: linear-gradient(currentColor, currentColor) 0 100% / 100% 1px no-repeat;
	color: var(--yb-ink);
	font-size: 11px;
	font-weight: 500;
	letter-spacing: .2em;
	text-transform: uppercase;
	text-decoration: none;
	transition: background-size .8s var(--yb-ease);
}
.yb-checkout .wc-block-components-checkout-return-to-cart-button:hover { background-size: 36% 1px; }
.yb-checkout .wc-block-components-checkout-return-to-cart-button > svg { display: none; }
.yb-checkout .wc-block-components-checkout-place-order-button { min-height: 62px; }
.yb-checkout .wc-block-components-checkout-place-order-button .wc-block-components-button__text,
.yb-checkout .wc-block-components-checkout-place-order-button__text { display: inline-flex; align-items: center; gap: .55em; }
.yb-checkout .wc-block-components-checkout-place-order-button__separator { width: auto; height: auto; margin: 0; background: none; border: 0; }
.yb-checkout .wc-block-components-checkout-place-order-button__price { font-size: inherit; }
@media (min-width: 782px) {
	.yb-checkout .wc-block-checkout__actions { margin-top: 32px; }
	.yb-checkout .wc-block-checkout__actions_row { flex-direction: row; justify-content: space-between; align-items: center; }
	.yb-checkout .wc-block-checkout__actions_row .wc-block-components-checkout-place-order-button { width: auto; min-width: 267px; }
}

/* ---------- Checkout order summary ---------- */
.yb-checkout .wp-block-woocommerce-checkout-order-summary-block { border: 0; border-radius: 0; margin: 0; font-size: 16px; }
.yb-checkout .wp-block-woocommerce-checkout-order-summary-block .wc-block-components-checkout-order-summary__title {
	margin-top: 0;
	border-top: 0;
	cursor: default;
}
.yb-checkout .wc-block-components-order-summary .wc-block-components-order-summary__content { display: block; }
.yb-checkout .wc-block-components-checkout-order-summary__title {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin: 0;
	padding: 0 0 14px;
	border-bottom: 1px solid var(--yb-line-light);
}
.yb-checkout .wc-block-components-checkout-order-summary__title-text { padding: 0; }
.yb-checkout .wc-block-components-checkout-order-summary__title-price {
	font-family: var(--wp--preset--font-family--display);
	font-size: 30px;
	line-height: 1;
}
.yb-checkout .wc-block-components-checkout-order-summary__title-icon { display: none; }
.yb-checkout .wc-block-components-order-summary { padding: 0; }
.yb-checkout .wc-block-components-order-summary__content { padding: 0; }
.yb-checkout .wc-block-components-order-summary-item {
	display: grid;
	grid-template-columns: 64px minmax(0, 1fr) auto;
	gap: 16px;
	align-items: center;
	margin: 0;
	padding: 14px 0;
	border-bottom: 1px solid var(--yb-line-light);
}
.yb-checkout .wc-block-components-order-summary-item__image {
	position: relative;
	width: 64px;
	margin: 0;
	padding: 0;
}
.yb-checkout .wc-block-components-order-summary-item__image > img {
	display: block;
	width: 64px;
	max-width: none;
	height: 64px;
	object-fit: cover;
	border-radius: 1px;
	background: #E9E4DA;
}
.yb-checkout .wc-block-components-order-summary-item__quantity {
	position: absolute;
	right: -8px;
	top: -8px;
	display: flex;
	align-items: center;
	justify-content: center;
	min-width: 22px;
	height: 22px;
	padding: 0 5px;
	box-sizing: border-box;
	border: 0;
	border-radius: 11px;
	background: var(--yb-ink);
	color: var(--yb-paper);
	font-size: 12px;
	line-height: 1;
	box-shadow: none;
	transform: none;
}
.yb-checkout .wc-block-components-order-summary-item__description { display: flex; flex-direction: column; gap: 3px; padding: 0; min-width: 0; }
.yb-checkout .wc-block-components-order-summary-item__description .wc-block-components-product-name {
	margin: 0;
	font-family: var(--wp--preset--font-family--display);
	font-size: 18px;
	font-weight: 400;
	line-height: 1.15;
	color: var(--yb-ink);
}
.yb-checkout .wc-block-components-order-summary-item__individual-prices { display: none; }
.yb-checkout .wc-block-components-order-summary-item .wc-block-components-product-metadata,
.yb-checkout .wc-block-components-order-summary-item .wc-block-components-product-details { font-size: 13px; }
.yb-checkout .wc-block-components-order-summary-item__total-price { padding: 0; font-size: 16px; font-weight: 400; }

/* Mobile: WooCommerce shows the summary as a collapsible panel */
@media (max-width: 959px) {
	.yb-checkout .wc-block-components-checkout-order-summary__title { cursor: pointer; }
	.yb-checkout .wc-block-components-checkout-order-summary__title-icon { display: block; }
	/* A second line says what the panel holds, so closed it doesn't look empty. */
	.yb-checkout .wc-block-components-checkout-order-summary__title[role="button"] .wc-block-components-checkout-order-summary__title-text { display: grid; gap: 8px; }
	.yb-checkout .wc-block-components-checkout-order-summary__title[role="button"] .wc-block-components-checkout-order-summary__title-text::after {
		content: "Hide products";
		font-size: 14px;
		font-weight: 400;
		letter-spacing: 0;
		line-height: 1.3;
		text-transform: none;
		text-decoration: underline;
		text-underline-offset: 4px;
		text-decoration-thickness: 1px;
		color: var(--yb-muted-light);
	}
	.yb-checkout .wc-block-components-checkout-order-summary__title[aria-expanded="false"] .wc-block-components-checkout-order-summary__title-text::after { content: "Show " var(--yb-items, "products"); }
	.yb-checkout .wc-block-components-checkout-order-summary__title[aria-expanded="false"] { padding-bottom: 0; border-bottom: 0; }
}

/* ---------- Order confirmation ---------- */
.yb-confirm__hero {
	padding: calc(var(--yb-head-h) + 24px) 20px 40px;
}
.yb-confirm__hero > * { margin: 0 !important; }
.yb-confirm__status,
.yb-confirm .wc-block-order-confirmation-status {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: 18px;
	max-width: 1344px;
	margin: 0 auto !important;
	padding: 0;
	text-align: left;
}
.yb-confirm .wc-block-order-confirmation-status > * { margin: 0; }
.yb-confirm__kicker {
	margin: 0;
	font-size: 12px;
	font-weight: 400;
	letter-spacing: .2em;
	text-transform: uppercase;
	color: var(--yb-gold) !important;
}
.yb-confirm .wc-block-order-confirmation-status h1 {
	font-size: 54px;
	line-height: .96;
	letter-spacing: -.025em;
	color: var(--yb-paper);
}
.yb-confirm .wc-block-order-confirmation-status p:not(.yb-confirm__kicker) {
	max-width: 400px;
	font-size: 16px;
	line-height: 1.55;
	color: #C9C4BA;
}
.yb-confirm .wc-block-order-confirmation-status-description {
	max-width: 1344px;
	margin: 18px auto 0 !important;
	font-size: 16px;
	color: #C9C4BA;
}
.yb-confirm .wc-block-order-confirmation-status-description a { color: var(--yb-paper); }
.yb-confirm .wc-block-order-confirmation-status .button { color: var(--yb-paper); }
@media (min-width: 782px) {
	.yb-confirm__hero { padding: calc(var(--yb-head-h) + 56px) 48px 60px; }
	.yb-confirm__status,
	.yb-confirm .wc-block-order-confirmation-status {
		grid-template-columns: minmax(0, 1fr) auto;
		align-items: end;
		column-gap: 40px;
		row-gap: 22px;
	}
	.yb-confirm .wc-block-order-confirmation-status > :not(h1):not(.yb-confirm__kicker) { grid-column: 2; grid-row: 2; }
	.yb-confirm .wc-block-order-confirmation-status > .yb-confirm__kicker { grid-column: 1; grid-row: 1; margin-top: 26px; }
	.yb-confirm .wc-block-order-confirmation-status > h1 { grid-column: 1; grid-row: 2; font-size: clamp(64px, calc(6.6vw + 21px), 116px); }
	.yb-confirm .wc-block-order-confirmation-status p:not(.yb-confirm__kicker) { margin-bottom: 14px; font-size: 18px; }
}

/* What happens next */
.yb-next {
	max-width: 1344px;
	margin: 0 auto !important;
	padding: 56px 20px 48px;
	box-sizing: content-box;
}
.yb-next > * { margin-block: 0 !important; }
.yb-next__head {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	align-items: center;
	gap: 18px 20px;
	margin-bottom: 32px !important;
}
.yb-next__head > * { margin: 0 !important; }
.yb-next__title { font-size: 38px; line-height: .98; letter-spacing: -.02em; }
.yb-stages {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: 24px;
}
.yb-stage {
	position: relative;
	display: flex;
	flex-direction: column;
	gap: 6px;
	padding-left: 36px;
}
.yb-stage > * { margin: 0 !important; }
.yb-stage::before {
	content: "";
	position: absolute;
	left: 2px;
	top: 6px;
	width: 13px;
	height: 13px;
	box-sizing: border-box;
	border: 1px solid var(--yb-ink);
	background: var(--yb-paper);
	transform: rotate(45deg);
}
.yb-stage.is-done::before { background: var(--yb-ink); }
.yb-stage:not(:last-child)::after {
	content: "";
	position: absolute;
	left: 8px;
	top: 30px;
	bottom: -12px;
	width: 1px;
	background: var(--yb-line-light);
}
.yb-stage__title { font-size: 26px; line-height: 1.05; }
.yb-stage__text { font-size: 15px; line-height: 1.5; color: var(--yb-muted-light); }
@media (min-width: 782px) {
	.yb-next { padding: 88px 48px 104px; }
	.yb-next__head { margin-bottom: 48px !important; }
	.yb-next__title { font-size: clamp(46px, calc(2.6vw + 27px), 64px); }
	.yb-stages { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; }
	.yb-stage { gap: 6px; padding: 29px 24px 0 0; }
	.yb-stage::before { left: 0; top: 0; }
	.yb-stage::after,
	.yb-stage:not(:last-child)::after {
		content: "";
		position: absolute;
		left: 27px;
		right: 0;
		top: 6px;
		bottom: auto;
		width: auto;
		height: 1px;
		background: var(--yb-line-light);
	}
	.yb-stage:last-child::after { display: none; }
	.yb-stage__title { font-size: 28px; }
}

/* Your order / Delivering to / Paid with / Need to change something? */
.yb-confirm__grid {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: 16px;
	max-width: 1344px;
	margin: 0 auto !important;
	padding: 0 20px 64px;
	box-sizing: content-box;
	align-items: start;
}
.yb-confirm__grid > *,
.yb-confirm__side > * { margin: 0 !important; }
.yb-confirm__side,
.yb-odetails { display: flex; flex-direction: column; gap: 16px; }
@media (min-width: 782px) {
	.yb-confirm__grid { grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 24px; padding: 0 48px 128px; }
	.yb-confirm__side,
	.yb-odetails { gap: 20px; }
}
.yb-box { display: flex; flex-direction: column; }
.yb-box > * { margin: 0; }
.yb-box .yb-box__label { padding-bottom: 14px; }
.yb-box p,
.yb-box address { font-size: 16px; font-style: normal; line-height: 1.6; color: var(--yb-ink); }
.yb-box p a { color: inherit; }
.yb-osum .yb-box__label { border-bottom: 1px solid var(--yb-line-light); }
.yb-oitems { margin: 0; padding: 0; list-style: none; }
.yb-oitem {
	display: grid;
	grid-template-columns: 64px minmax(0, 1fr) auto;
	gap: 16px;
	align-items: center;
	padding: 14px 0;
	border-bottom: 1px solid var(--yb-line-light);
}
.yb-oitem__media { position: relative; display: block; width: 64px; height: 64px; }
.yb-oitem__media img { display: block; width: 64px; height: 64px; object-fit: cover; border-radius: 1px; background: #E9E4DA; }
.yb-oitem__qty {
	position: absolute;
	right: -8px;
	top: -8px;
	display: flex;
	align-items: center;
	justify-content: center;
	min-width: 22px;
	height: 22px;
	padding: 0 5px;
	box-sizing: border-box;
	border-radius: 11px;
	background: var(--yb-ink);
	color: var(--yb-paper);
	font-size: 12px;
	line-height: 1;
}
.yb-oitem__info { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.yb-oitem__name { font-family: var(--wp--preset--font-family--display); font-size: 18px; line-height: 1.15; }
.yb-oitem__line { font-size: 13px; color: var(--yb-muted-light); }
.yb-oitem__total { font-size: 16px; white-space: nowrap; }
.yb-ototals { margin: 0; padding: 12px 0 0; }
.yb-ototals__row { display: flex; justify-content: space-between; gap: 16px; padding: 4px 0; font-size: 16px; }
.yb-ototals__row dt { color: var(--yb-muted-light); }
.yb-ototals__row dd { margin: 0; }
.yb-ototals__row--delivery { padding-bottom: 16px; border-bottom: 1px solid var(--yb-line-light); }
.yb-ototals__row--total { align-items: baseline; padding: 16px 0 0; }
.yb-ototals__row--total dt {
	font-size: 11px;
	font-weight: 500;
	letter-spacing: .2em;
	text-transform: uppercase;
	color: var(--yb-ink);
}
.yb-ototals__row--total dd { font-family: var(--wp--preset--font-family--display); font-size: 38px; line-height: 1; }

/* Gateway instructions (e.g. bank details) and account creation, if any */
.yb-confirm__extra { max-width: 1344px; margin: 0 auto !important; padding: 0 20px; box-sizing: content-box; }
.yb-confirm__extra:empty,
.yb-confirm__extra:not(:has(> :not(:empty))) { display: none; }
@media (min-width: 782px) { .yb-confirm__extra { padding: 0 48px 64px; } }

/* While you wait */
.yb-wait { padding: 0 20px 64px; }
@media (min-width: 782px) { .yb-wait { padding: 0 48px 132px; } }
.yb-wait .yb-sechead { padding-top: 32px; margin-bottom: 28px !important; }
@media (min-width: 782px) { .yb-wait .yb-sechead { padding-top: 44px; margin-bottom: 48px !important; } }

/* Summary box insets: WooCommerce indents the title and coupon by 16px. */
.yb-checkout .wp-block-woocommerce-checkout-order-summary-block .wc-block-components-checkout-order-summary__title .wc-block-components-checkout-order-summary__title-text { margin: 0; font-size: 11px; font-weight: 500; line-height: 1.5; }
.yb-checkout .wp-block-woocommerce-checkout-order-summary-block .wc-block-components-totals-wrapper,
.yb-checkout .wp-block-woocommerce-checkout-order-summary-block .wp-block-woocommerce-checkout-order-summary-cart-items-block.wc-block-components-totals-wrapper { padding-left: 0; padding-right: 0; padding-top: 0; }
:is(.yb-cart, .yb-checkout) .wc-block-components-totals-coupon .wc-block-components-panel__button { padding-right: 0; }

/* Delivery option: radio centred on the card */
.yb-checkout .wc-block-components-shipping-rates-control .wc-block-components-radio-control .wc-block-components-radio-control__input { top: 50%; margin-top: -9px; }

/* WooCommerce repeats the order summary above "Place order" on small screens;
   the design keeps it at the top only. */
.yb-checkout .checkout-order-summary-block-fill-wrapper { display: none; }
.yb-stages > * { margin: 0 !important; }
.yb-checkout .wc-block-components-radio-control__label { font-weight: 400; }
@media (max-width: 781px) {
	.yb-cfoot__links .wp-block-navigation__container { justify-content: flex-start; }
}

/* No-JavaScript fallback for the basket and checkout */
.yb-noscript { padding: 24px 0; border-top: 1px solid var(--yb-ink); font-size: 17px; }
.yb-noscript p { margin: 12px 0 0; color: var(--yb-muted-light); }
.yb-noscript__items { margin: 0; padding: 0; list-style: none; }
.yb-noscript__items li { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--yb-line-light); }
.yb-noscript p.yb-noscript__total { color: var(--yb-ink); font-weight: 500; }

/* Buying buttons: forest green, as on the product pages. */
.yb-cart .wc-block-cart__submit-button,
.yb-checkout .wc-block-components-checkout-place-order-button { border-color: var(--yb-cta-line); background: var(--yb-cta); box-shadow: var(--yb-cta-frame); color: var(--yb-cta-text); }
.yb-cart .wc-block-cart__submit-button:hover,
.yb-checkout .wc-block-components-checkout-place-order-button:hover:not([disabled]) { border-color: var(--yb-cta); background: transparent; box-shadow: var(--yb-cta-frame-hover); color: var(--yb-cta); }

/* Basket: Go to checkout, then "or", then PayPal, with room between them. */
.yb-cart .wc-block-cart__payment-options { display: flex; flex-direction: column; padding: 0; margin: 0; }
.yb-cart .wc-block-cart__payment-options .wc-block-components-express-payment-continue-rule { order: -1; margin: 18px 0; height: auto; }
.yb-cart .wc-block-cart__payment-options .wc-block-components-express-payment { margin: 0; }
.yb-cart .yb-secure { margin-top: 22px; }
/* An option ("…: Spring") ends the details: no dot after it. */
.yb-cart .wc-block-components-product-details:nth-child(n+2)::after { content: none !important; }

/* "Pay in 3" in the basket, from £30: one line, never Klarna's and PayPal's together. */
.yb-cart .yb-paylater { min-height: 44px; margin: 18px 0 0; }
.yb-cart .yb-paylater[hidden],
.yb-cart .yb-paylater.is-empty,
html.yb-has-klarna .yb-cart .ppcp-messages { display: none; }
