/* ==========================================================================
   Basket & checkout (Shopify-style)
   Loaded only on the basket and checkout pages.
   ========================================================================== */

.wbo-cart-page,
.wbo-checkout-page {
	--wbo-navy: #1f3a26;
	--wbo-ink: #24352a;
	--wbo-muted: #6b6f80;
	--wbo-green: #00893e;
	--wbo-green-dark: #006f32;
	--wbo-mint: #e7f4ec;
	--wbo-line: #dfe1e7;
	--wbo-field: #c4c8d3;
	--wbo-panel: #f4f4f8;
	--wbo-red: #c8283a;
	--wbo-radius: 14px;
}

.wbo-cart-page .site-main,
.wbo-checkout-page .site-main {
	font-family: 'Figtree', system-ui, -apple-system, 'Segoe UI', sans-serif;
	color: var(--wbo-ink);
}

.wbo-wrap {
	box-sizing: border-box;
	width: 100%;
	max-width: 1240px;
	margin: 0 auto;
	padding: 32px 24px 64px;
}

.wbo-wrap *,
.wbo-wrap *::before,
.wbo-wrap *::after {
	box-sizing: border-box;
}

.wbo-sr-only,
.wbo-cart .wbo-sr-only {
	position: absolute !important;
	width: 1px !important;
	height: 1px !important;
	padding: 0 !important;
	margin: -1px !important;
	overflow: hidden !important;
	clip: rect(0 0 0 0) !important;
	white-space: nowrap !important;
	border: 0 !important;
}

.wbo-icon {
	flex: 0 0 auto;
	vertical-align: middle;
}

/* --------------------------------------------------------------------------
   Progress steps
   -------------------------------------------------------------------------- */

.wbo-steps {
	margin: 0 0 32px;
}

.wbo-steps ol {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 4px;
	margin: 0;
	padding: 0;
	overflow: hidden;
	list-style: none;
	border-radius: 12px;
}

.wbo-steps li {
	margin: 0;
	padding: 0;
	list-style: none;
	background: #eeeff3;
	clip-path: polygon(0 0, calc(100% - 22px) 0, 100% 50%, calc(100% - 22px) 100%, 0 100%, 22px 50%);
	margin-left: -18px;
}

.wbo-steps li:first-child {
	margin-left: 0;
	clip-path: polygon(0 0, calc(100% - 22px) 0, 100% 50%, calc(100% - 22px) 100%, 0 100%);
}

.wbo-steps li:last-child {
	clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%, 22px 50%);
}

.wbo-steps li::before {
	display: none;
}

.wbo-steps a,
.wbo-steps .wbo-steps__inner {
	display: flex;
	align-items: center;
	gap: 12px;
	min-height: 60px;
	padding: 0 24px 0 46px;
	font-size: 18px;
	color: var(--wbo-muted);
	text-decoration: none;
}

.wbo-steps li:first-child a,
.wbo-steps li:first-child .wbo-steps__inner {
	padding-left: 24px;
}

.wbo-steps__badge {
	display: inline-flex;
	flex: 0 0 auto;
	align-items: center;
	justify-content: center;
	width: 28px;
	height: 28px;
	font-size: 14px;
	font-weight: 600;
	color: var(--wbo-muted);
	background: #fff;
	border-radius: 50%;
}

.wbo-steps li.is-current {
	background: var(--wbo-navy);
}

.wbo-steps li.is-current .wbo-steps__inner {
	color: #fff;
}

.wbo-steps li.is-current .wbo-steps__badge {
	color: var(--wbo-navy);
}

.wbo-steps li.is-done {
	background: var(--wbo-mint);
}

.wbo-steps li.is-done a,
.wbo-steps li.is-done .wbo-steps__inner {
	color: #1f6b3d;
}

.wbo-steps li.is-done .wbo-steps__badge {
	color: #fff;
	background: var(--wbo-green);
}

.wbo-steps li.is-done a:hover .wbo-steps__label,
.wbo-steps li.is-done a:focus-visible .wbo-steps__label {
	text-decoration: underline;
}

/* --------------------------------------------------------------------------
   Shared: summary panel, totals, buttons, coupon, trust list
   -------------------------------------------------------------------------- */

.wbo-summary {
	padding: 32px;
	background: #fff;
	border: 1px solid var(--wbo-line);
	border-radius: var(--wbo-radius);
}

.wbo-summary--checkout {
	background: var(--wbo-panel);
}

.wbo-summary__title,
.wbo-cart-page .wbo-summary__title,
.wbo-checkout-page .wbo-summary__title {
	margin: 0 0 22px;
	font-size: 28px;
	font-weight: 400;
	line-height: 1.2;
	color: var(--wbo-navy);
	text-align: left;
}

.wbo-summary__head {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 12px;
	margin-bottom: 22px;
}

.wbo-summary__head .wbo-summary__title {
	margin: 0;
}

.wbo-summary__edit {
	font-size: 16px;
	color: #30603c;
	text-decoration: underline;
	text-underline-offset: 3px;
}

.wbo-wrap table.wbo-totals,
.wbo-wrap table.wbo-review {
	width: 100%;
	margin: 0;
	border: 0;
	border-collapse: collapse;
	border-radius: 0;
	background: transparent;
}

.wbo-wrap table.shop_table.wbo-totals th,
.wbo-wrap table.shop_table.wbo-totals td,
.wbo-wrap table.shop_table.wbo-review tfoot th,
.wbo-wrap table.shop_table.wbo-review tfoot td {
	padding: 12px 0;
	font-size: 17px;
	font-weight: 400;
	line-height: 1.4;
	color: var(--wbo-ink);
	text-align: left;
	vertical-align: top;
	background: transparent;
	border: 0;
}

.wbo-wrap table.shop_table.wbo-totals td,
.wbo-wrap table.shop_table.wbo-review tfoot td {
	text-align: right;
}

.wbo-wrap table.shop_table.wbo-totals .cart-subtotal td,
.wbo-wrap table.shop_table.wbo-review .cart-subtotal td {
	font-weight: 700;
}

.wbo-wrap table.shop_table.wbo-totals__muted td {
	color: var(--wbo-muted);
}

.wbo-wrap table.shop_table.wbo-totals .order-total th,
.wbo-wrap table.shop_table.wbo-totals .order-total td,
.wbo-wrap table.shop_table.wbo-review .order-total th,
.wbo-wrap table.shop_table.wbo-review .order-total td {
	padding-top: 24px;
	border-top: 1px solid var(--wbo-line);
}

.wbo-wrap table.shop_table .order-total th {
	font-size: 22px;
}

.wbo-wrap table.shop_table .order-total td strong,
.wbo-wrap table.shop_table .order-total td .amount {
	font-size: 34px;
	font-weight: 600;
	line-height: 1.1;
	color: var(--wbo-navy);
}

.wbo-wrap table.shop_table .order-total td small,
.wbo-wrap table.shop_table .order-total td .includes_tax {
	display: block;
	margin-top: 6px;
	font-size: 14px;
	color: var(--wbo-muted);
}

.wbo-wrap table.shop_table .order-total td small .amount,
.wbo-wrap table.shop_table .order-total td .includes_tax .amount {
	font-size: 14px;
	font-weight: 700;
	color: var(--wbo-ink);
}

.wbo-wrap table.shop_table .cart-discount td,
.wbo-wrap table.shop_table .fee td {
	color: var(--wbo-green);
}

.wbo-wrap .woocommerce-remove-coupon {
	margin-left: 6px;
	font-size: 14px;
	color: var(--wbo-muted);
}

/* Primary checkout button */
.wbo-cart-page .wbo-summary .wc-proceed-to-checkout {
	padding: 24px 0 0;
}

.wbo-cart-page .woocommerce .wbo-summary a.checkout-button,
.wbo-cart-page .woocommerce a.button.wbo-btn-checkout {
	display: flex !important;
	align-items: center;
	justify-content: center;
	gap: 12px;
	width: 100%;
	max-width: none;
	min-height: 64px;
	margin: 0 0 14px;
	padding: 14px 20px;
	font-size: 22px;
	font-weight: 400;
	line-height: 1.2;
	color: #fff !important;
	background: var(--wbo-green) !important;
	border-radius: 10px;
	box-shadow: none;
	text-decoration: none;
	transition: background-color .15s ease;
}

.wbo-cart-page .woocommerce a.button.wbo-btn-checkout:hover,
.wbo-cart-page .woocommerce a.button.wbo-btn-checkout:focus-visible {
	background: var(--wbo-green-dark) !important;
}

.wbo-cart-page .woocommerce a.button.wbo-btn-checkout .wbo-icon {
	width: 26px;
	height: 26px;
}

/* Express buttons injected by payment plugins */
.wbo-wrap .wc-proceed-to-checkout > *:not(.checkout-button) {
	max-width: 100%;
}

/* Coupon */
.wbo-coupon {
	margin-top: 16px;
}

.wbo-coupon summary {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 10px 0;
	font-size: 17px;
	color: var(--wbo-navy);
	list-style: none;
	cursor: pointer;
}

.wbo-coupon summary::-webkit-details-marker {
	display: none;
}

.wbo-coupon summary .wbo-icon {
	width: 18px;
	height: 18px;
	transition: transform .15s ease;
}

.wbo-coupon[open] summary .wbo-icon {
	transform: rotate(180deg);
}

.wbo-coupon__row {
	display: flex;
	gap: 12px;
	margin-top: 8px;
}

.wbo-coupon--checkout {
	padding-top: 22px;
	margin-top: 10px;
	border-top: 1px solid var(--wbo-line);
}

.wbo-coupon--checkout .wbo-coupon__row {
	margin-top: 0;
}

.wbo-wrap input.wbo-coupon__input {
	flex: 1 1 auto;
	min-width: 0;
	height: 56px;
	margin: 0;
	padding: 0 18px;
	font-size: 17px;
	color: var(--wbo-ink);
	background: #fff;
	border: 1px solid var(--wbo-field);
	border-radius: 8px;
	box-shadow: none;
}

.wbo-wrap .wbo-coupon__apply {
	flex: 0 0 auto;
	height: 56px;
	padding: 0 24px;
	font-family: inherit;
	font-size: 17px;
	color: var(--wbo-navy);
	background: #fff;
	border: 2px solid var(--wbo-navy);
	border-radius: 8px;
	cursor: pointer;
}

.wbo-wrap .wbo-coupon__apply:hover,
.wbo-wrap .wbo-coupon__apply:focus-visible {
	color: #fff;
	background: var(--wbo-navy);
}

.wbo-coupon__row.is-busy {
	opacity: .6;
	pointer-events: none;
}

.wbo-coupon__msg:empty {
	display: none;
}

.wbo-coupon__msg {
	margin-top: 10px;
	font-size: 15px;
}

.wbo-coupon__msg .woocommerce-error,
.wbo-coupon__msg .woocommerce-message,
.wbo-coupon__msg .woocommerce-info,
.wbo-coupon__msg ul {
	margin: 0;
	padding: 10px 14px;
	font-size: 15px;
	list-style: none;
	border: 0;
	border-radius: 8px;
}

.wbo-coupon__msg .woocommerce-error,
.wbo-coupon__error {
	color: var(--wbo-red);
	background: #fdecee;
}

.wbo-coupon__msg .woocommerce-message {
	color: #1f6b3d;
	background: var(--wbo-mint);
}

.wbo-coupon__msg .woocommerce-error::before,
.wbo-coupon__msg .woocommerce-message::before {
	display: none;
}

/* Trust list */
.wbo-trust {
	margin: 24px 0 0;
	padding: 24px 0 0;
	list-style: none;
	border-top: 1px solid var(--wbo-line);
}

.wbo-trust li {
	display: flex;
	align-items: flex-start;
	gap: 14px;
	margin: 0 0 12px;
	padding: 0;
	font-size: 16px;
	line-height: 1.45;
	color: var(--wbo-ink);
	list-style: none;
}

.wbo-trust li::before {
	display: none;
}

.wbo-trust .wbo-icon {
	color: var(--wbo-green);
}

.wbo-trust a {
	color: var(--wbo-ink);
	text-decoration: none;
}

.wbo-trust a:hover {
	text-decoration: underline;
}

.wbo-trust small {
	display: block;
	font-size: 14px;
	color: var(--wbo-muted);
}

/* --------------------------------------------------------------------------
   Basket
   -------------------------------------------------------------------------- */

.wbo-cart {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(320px, 440px);
	gap: 40px;
	align-items: start;
}

.wbo-cart__summary {
	position: sticky;
	top: 24px;
}

.wbo-cart-page .wbo-cart__title {
	margin: 0 0 32px;
	font-size: 44px;
	font-weight: 400;
	line-height: 1.1;
	color: var(--wbo-navy);
	text-align: left;
}

.wbo-cart__title span {
	font-size: 22px;
	font-weight: 600;
	color: #4a4a60;
}

.wbo-cart__items {
	display: grid;
	gap: 16px;
}

.wbo-line {
	display: grid;
	grid-template-columns: 140px minmax(0, 1fr);
	gap: 24px;
	padding: 24px;
	background: #fff;
	border: 1px solid var(--wbo-line);
	border-radius: var(--wbo-radius);
}

.wbo-line__thumb img {
	display: block;
	width: 140px;
	height: 140px;
	object-fit: cover;
	border-radius: 10px;
	box-shadow: none !important;
}

.wbo-line__top {
	display: flex;
	justify-content: space-between;
	gap: 20px;
}

.wbo-cart-page .wbo-line__name {
	margin: 0 0 6px;
	font-size: 20px;
	font-weight: 400;
	line-height: 1.35;
	text-align: left;
}

.wbo-line__name a {
	color: var(--wbo-navy);
	text-decoration: none;
}

.wbo-line__name a:hover {
	text-decoration: underline;
}

.wbo-line__each {
	margin: 0;
	font-size: 16px;
	color: #4a4a60;
}

.wbo-line__total {
	flex: 0 0 auto;
	font-size: 22px;
	color: var(--wbo-navy);
	white-space: nowrap;
}

.wbo-line .variation,
.wbo-line dl.variation {
	margin: 4px 0 6px;
	font-size: 14px;
	color: var(--wbo-muted);
}

.wbo-line .backorder_notification {
	margin: 4px 0;
	font-size: 14px;
	color: var(--wbo-muted);
}

.wbo-line__actions {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 24px;
	margin-top: 18px;
}

/* Quantity stepper */
.wbo-qty {
	display: inline-flex;
	align-items: center;
	height: 52px;
	padding: 0 4px;
	background: #fff;
	border: 2px solid var(--wbo-line);
	border-radius: 10px;
}

.wbo-qty--fixed {
	padding: 0 16px;
}

.wbo-qty__btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 42px;
	height: 42px;
	padding: 0;
	color: var(--wbo-navy);
	background: transparent;
	border: 0;
	border-radius: 8px;
	cursor: pointer;
}

.wbo-qty__btn:hover,
.wbo-qty__btn:focus-visible {
	background: #f1f2f6;
}

.wbo-cart-page .wbo-qty .quantity {
	display: inline-block;
	margin: 0;
}

.wbo-cart-page .woocommerce .wbo-qty .quantity .qty {
	width: 48px;
	height: 42px;
	margin: 0;
	padding: 0;
	font-size: 18px;
	color: var(--wbo-navy);
	text-align: center;
	background: transparent;
	border: 0;
	border-radius: 0;
	-moz-appearance: textfield;
}

.wbo-qty .qty::-webkit-outer-spin-button,
.wbo-qty .qty::-webkit-inner-spin-button {
	margin: 0;
	-webkit-appearance: none;
}

.wbo-line__remove a.remove,
.woocommerce .wbo-line__remove a.remove {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	width: auto;
	height: auto;
	font-size: 17px;
	font-weight: 400;
	line-height: 1;
	color: var(--wbo-navy) !important;
	background: transparent !important;
	border-radius: 0;
	text-decoration: none;
}

.wbo-line__remove a.remove:hover span {
	text-decoration: underline;
}

.wbo-cart__actions {
	position: relative;
	height: 0;
	overflow: hidden;
}

.wbo-cart__actions .wbo-cart__update {
	position: absolute;
	left: -9999px;
}

.wbo-cart__continue {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	margin-top: 28px;
	font-size: 18px;
	color: var(--wbo-navy);
	text-decoration: none;
}

.wbo-cart__continue:hover {
	text-decoration: underline;
}

.wbo-cart__cross .cross-sells {
	float: none;
	width: auto;
	margin-top: 48px;
}

.wbo-cart__cross .cross-sells > h2 {
	margin: 0 0 20px;
	font-size: 24px;
	font-weight: 400;
	color: var(--wbo-navy);
	text-align: left;
}

/* Loading state while WooCommerce updates the basket */
.wbo-cart .blockUI.blockOverlay {
	border-radius: var(--wbo-radius);
}

/* Empty basket */
.wbo-cart-empty {
	max-width: 560px;
	margin: 40px auto;
	text-align: center;
}

.wbo-cart-empty > .wbo-icon {
	width: 56px;
	height: 56px;
	color: var(--wbo-navy);
}

.wbo-cart-empty .cart-empty.woocommerce-info {
	margin: 16px 0 8px;
	padding: 0;
	font-size: 30px;
	color: var(--wbo-navy);
	background: none;
	border: 0;
}

.wbo-cart-empty .cart-empty.woocommerce-info::before {
	display: none;
}

.wbo-cart-empty__text {
	font-size: 17px;
	color: #4a4a60;
}

.wbo-cart-page .wbo-cart-empty .return-to-shop a.button {
	display: inline-flex;
	justify-content: center;
	max-width: 280px;
	padding: 16px 28px;
	font-size: 18px;
	border-radius: 10px;
}

.wbo-cart-empty__help a {
	font-weight: 700;
	color: var(--wbo-navy);
}

/* --------------------------------------------------------------------------
   Checkout: header & footer
   -------------------------------------------------------------------------- */

.wbo-co-body {
	background: #fff;
}

.wbo-co-header {
	border-bottom: 1px solid var(--wbo-line);
}

.wbo-co-header__inner {
	display: grid;
	grid-template-columns: 1fr auto 1fr;
	gap: 24px;
	align-items: center;
	max-width: 1240px;
	margin: 0 auto;
	padding: 18px 24px;
	font-family: 'Figtree', system-ui, -apple-system, 'Segoe UI', sans-serif;
}

.wbo-co-header__logo img {
	display: block;
	width: auto;
	max-width: 100%;
	height: 64px;
}

.wbo-co-header__help {
	font-size: 15px;
	line-height: 1.4;
	color: var(--wbo-navy);
	text-align: center;
}

.wbo-co-header__help a {
	display: block;
	font-size: 18px;
	color: var(--wbo-navy);
	text-decoration: none;
}

.wbo-co-header__secure {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	justify-self: end;
	margin: 0;
	font-size: 17px;
	color: var(--wbo-green);
}

.wbo-co-footer {
	max-width: 1240px;
	margin: 0 auto;
	padding: 24px;
	font-family: 'Figtree', system-ui, -apple-system, 'Segoe UI', sans-serif;
	font-size: 14px;
	color: var(--wbo-muted);
	border-top: 1px solid var(--wbo-line);
}

.wbo-co-footer nav {
	display: flex;
	flex-wrap: wrap;
	gap: 8px 20px;
	margin-bottom: 8px;
}

.wbo-co-footer a {
	color: var(--wbo-navy);
}

.wbo-co-footer p {
	margin: 0;
}

/* --------------------------------------------------------------------------
   Checkout: layout
   -------------------------------------------------------------------------- */

.wbo-checkout-page .wbo-co__title {
	margin: 0 0 24px;
	font-size: 44px;
	font-weight: 400;
	line-height: 1.1;
	color: var(--wbo-navy);
	text-align: left;
}

.wbo-checkout-page form.wbo-co {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(340px, 460px);
	gap: 48px;
	align-items: start;
}

.wbo-co-pre {
	width: calc(100% - 460px - 48px);
}

.wbo-co-pre:empty {
	display: none;
}

.wbo-co__summary {
	position: sticky;
	top: 24px;
}

.wbo-summary-toggle {
	display: none;
}

/* Notices */
.wbo-checkout-page .woocommerce-NoticeGroup,
.wbo-co-pre .woocommerce-notices-wrapper,
.wbo-cart .woocommerce-notices-wrapper {
	grid-column: 1 / -1;
}

.wbo-checkout-page .woocommerce-form-login-toggle,
.wbo-checkout-page .woocommerce-form-coupon-toggle {
	display: none;
}

.wbo-checkout-page form.woocommerce-form-login {
	margin: 0 0 24px;
	padding: 24px;
	border: 1px solid var(--wbo-line);
	border-radius: var(--wbo-radius);
}

/* Steps */
.wbo-co-step {
	margin: 0 0 24px;
	padding: 32px 36px;
	background: #fff;
	border: 1px solid var(--wbo-line);
	border-radius: var(--wbo-radius);
}

.wbo-co-step__head {
	display: flex;
	align-items: center;
	gap: 16px;
	margin-bottom: 20px;
}

.wbo-co-step__num {
	display: inline-flex;
	flex: 0 0 auto;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	font-size: 18px;
	font-weight: 600;
	color: #fff;
	background: var(--wbo-navy);
	border-radius: 50%;
}

.wbo-checkout-page .wbo-co-step__title {
	flex: 1 1 auto;
	margin: 0;
	font-size: 30px;
	font-weight: 400;
	line-height: 1.2;
	color: var(--wbo-navy);
	text-align: left;
}

.wbo-co-step__link {
	font-size: 17px;
	color: var(--wbo-navy);
	text-decoration: underline;
	text-underline-offset: 3px;
}

.wbo-co-step__intro {
	margin: -6px 0 20px;
	font-size: 17px;
	color: #4a4a60;
}

/* WooCommerce's own headings inside our sections */
.wbo-co-step .woocommerce-shipping-fields > h3,
.wbo-co-step .woocommerce-additional-fields > h3 {
	margin: 0 0 12px;
	font-size: 17px;
	font-weight: 400;
}

.wbo-co-step #ship-to-different-address label {
	display: inline-flex;
	align-items: center;
	gap: 12px;
	font-size: 17px;
	cursor: pointer;
}

.wbo-co-step .shipping_address {
	margin-top: 16px;
}

/* --------------------------------------------------------------------------
   Checkout: fields
   -------------------------------------------------------------------------- */

.wbo-co-step .woocommerce-billing-fields__field-wrapper,
.wbo-co-step .woocommerce-shipping-fields__field-wrapper,
.wbo-co-step .woocommerce-additional-fields__field-wrapper,
.wbo-co-contact__fields {
	display: flex;
	flex-wrap: wrap;
	gap: 0 20px;
}

.wbo-checkout-page .wbo-co-step .form-row {
	float: none;
	width: 100%;
	margin: 0 0 20px;
	padding: 0;
}

.wbo-checkout-page .wbo-co-step .form-row-first,
.wbo-checkout-page .wbo-co-step .form-row-last {
	width: calc(50% - 10px);
}

.wbo-checkout-page .wbo-co-step .clear {
	display: none;
}

.wbo-checkout-page .wbo-co-step .form-row > label {
	display: block;
	margin: 0 0 8px;
	font-size: 17px;
	font-weight: 400;
	line-height: 1.3;
	color: var(--wbo-ink);
}

.wbo-checkout-page .wbo-co-step .form-row .required {
	color: var(--wbo-red);
	text-decoration: none;
}

.wbo-checkout-page .wbo-co-step .form-row .optional {
	font-size: 14px;
	color: var(--wbo-muted);
}

.wbo-checkout-page .wbo-co-step .form-row input.input-text,
.wbo-checkout-page .wbo-co-step .form-row select,
.wbo-checkout-page .wbo-co-step .form-row textarea {
	width: 100%;
	height: 56px;
	margin: 0;
	padding: 0 18px;
	font-family: inherit;
	font-size: 17px;
	line-height: 1.3;
	color: var(--wbo-ink);
	background: #fff;
	border: 1px solid var(--wbo-field);
	border-radius: 8px;
	box-shadow: none;
}

.wbo-checkout-page .wbo-co-step .form-row textarea {
	height: 110px;
	padding: 14px 18px;
}

.wbo-checkout-page .wbo-co-step .form-row input.input-text:focus,
.wbo-checkout-page .wbo-co-step .form-row select:focus,
.wbo-checkout-page .wbo-co-step .form-row textarea:focus,
.wbo-wrap input.wbo-coupon__input:focus {
	border-color: var(--wbo-green);
	outline: 0;
	box-shadow: 0 0 0 3px rgba(0, 137, 62, .18);
}

.wbo-checkout-page .wbo-co-step .form-row.woocommerce-invalid input.input-text,
.wbo-checkout-page .wbo-co-step .form-row.woocommerce-invalid select {
	border-color: var(--wbo-red);
}

.wbo-checkout-page .wbo-co-step .checkout-inline-error-message {
	margin: 6px 0 0;
	font-size: 14px;
	color: var(--wbo-red);
}

/* select2 (country / county) */
.wbo-checkout-page .wbo-co-step span.select2.select2-container {
	width: 100% !important;
	border: 0 !important;
	border-radius: 8px;
}

.wbo-checkout-page .wbo-co-step .select2-container .select2-selection--single {
	height: 56px;
	background: #fff;
	border: 1px solid var(--wbo-field);
	border-radius: 8px;
}

.wbo-checkout-page .wbo-co-step .select2-container .select2-selection--single .select2-selection__rendered {
	padding: 0 40px 0 18px;
	font-size: 17px;
	line-height: 54px;
	color: var(--wbo-ink);
}

.wbo-checkout-page .wbo-co-step .select2-container .select2-selection--single .select2-selection__arrow {
	top: 0;
	right: 10px;
	height: 54px;
}

.wbo-checkout-page .wbo-co-step .select2-container--focus .select2-selection--single,
.wbo-checkout-page .wbo-co-step .select2-container--open .select2-selection--single {
	border-color: var(--wbo-green);
}

/* Checkboxes */
.wbo-checkout-page .wbo-co-step input[type="checkbox"] {
	flex: 0 0 auto;
	width: 24px;
	height: 24px;
	margin: 0;
	accent-color: var(--wbo-navy);
	vertical-align: middle;
}

.wbo-checkout-page .wbo-co-step .woocommerce-form__label-for-checkbox {
	display: inline-flex;
	align-items: center;
	gap: 12px;
	font-size: 17px;
	cursor: pointer;
}

.wbo-checkout-page .woocommerce-account-fields {
	margin-top: 4px;
}

.wbo-checkout-page .woocommerce-account-fields .create-account {
	margin-bottom: 0;
}

/* --------------------------------------------------------------------------
   Checkout: payment
   -------------------------------------------------------------------------- */

.wbo-checkout-page .woocommerce-checkout #payment,
.wbo-checkout-page #payment {
	background: transparent;
	border-radius: 0;
}

.wbo-checkout-page #payment ul.payment_methods {
	margin: 0 0 20px;
	padding: 0;
	overflow: hidden;
	border: 1px solid var(--wbo-field);
	border-radius: 10px;
}

.wbo-checkout-page #payment ul.payment_methods li.wc_payment_method {
	margin: 0;
	padding: 16px 18px;
	line-height: 1.4;
	list-style: none;
	border-top: 1px solid var(--wbo-line);
}

.wbo-checkout-page #payment ul.payment_methods li.wc_payment_method:first-child {
	border-top: 0;
}

.wbo-checkout-page #payment ul.payment_methods li > label {
	font-size: 17px;
	color: var(--wbo-ink);
	cursor: pointer;
}

.wbo-checkout-page #payment ul.payment_methods li input[type="radio"] {
	margin: 0 10px 0 0;
	accent-color: var(--wbo-navy);
	vertical-align: middle;
}

.wbo-checkout-page #payment div.payment_box {
	margin: 14px -18px -16px;
	padding: 18px;
	font-size: 15px;
	color: var(--wbo-ink);
	background: var(--wbo-panel);
	border-radius: 0;
}

.wbo-checkout-page #payment div.payment_box::before {
	display: none;
}

.wbo-checkout-page #payment .place-order {
	margin: 0;
	padding: 0;
}

.wbo-checkout-page .woocommerce-terms-and-conditions-wrapper,
.wbo-checkout-page .woocommerce-privacy-policy-text {
	font-size: 14px;
	color: var(--wbo-muted);
}

.wbo-checkout-page .woocommerce #payment #place_order,
.wbo-checkout-page #payment #place_order {
	float: none;
	display: block;
	width: 100%;
	max-width: none;
	min-height: 64px;
	margin: 16px 0 0;
	padding: 14px 20px;
	font-family: inherit;
	font-size: 22px;
	font-weight: 400;
	color: #fff;
	background: var(--wbo-green) !important;
	border: 0;
	border-radius: 10px;
	cursor: pointer;
	transition: background-color .15s ease;
}

.wbo-checkout-page #payment #place_order:hover,
.wbo-checkout-page #payment #place_order:focus-visible {
	background: var(--wbo-green-dark) !important;
}

/* --------------------------------------------------------------------------
   Checkout: summary items
   -------------------------------------------------------------------------- */

.wbo-wrap table.shop_table.wbo-review tbody td {
	padding: 0 0 20px;
	font-size: 17px;
	vertical-align: top;
	background: transparent;
	border: 0;
}

.wbo-wrap table.shop_table.wbo-review tbody .product-total {
	padding-top: 22px;
	text-align: right;
	white-space: nowrap;
}

.wbo-wrap table.shop_table.wbo-review tbody tr:last-child td {
	padding-bottom: 24px;
	border-bottom: 1px solid var(--wbo-line);
}

.wbo-review__item {
	display: flex;
	align-items: center;
	gap: 18px;
}

.wbo-review__thumb {
	position: relative;
	flex: 0 0 auto;
}

.wbo-review__thumb img {
	display: block;
	width: 88px !important;
	height: 88px;
	object-fit: cover;
	background: #fff;
	border: 1px solid var(--wbo-line);
	border-radius: 10px;
	box-shadow: none !important;
}

.wbo-review__qty {
	position: absolute;
	top: -10px;
	right: -10px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 26px;
	height: 26px;
	padding: 0 6px;
	font-size: 13px;
	font-weight: 700;
	color: #fff;
	background: var(--wbo-navy);
	border-radius: 13px;
}

.wbo-review__name {
	font-size: 17px;
	line-height: 1.4;
	color: var(--wbo-ink);
}

.wbo-review__name .variation {
	margin: 4px 0 0;
	font-size: 14px;
	color: var(--wbo-muted);
}

/* Delivery rows in the summary */
.wbo-wrap table.shop_table.wbo-review .woocommerce-shipping-totals td {
	color: var(--wbo-muted);
}

.wbo-wrap table.shop_table.wbo-review #shipping_method {
	margin: 0;
	padding: 0;
	list-style: none;
	text-align: right;
}

.wbo-wrap table.shop_table.wbo-review #shipping_method li {
	margin: 0 0 6px;
	color: var(--wbo-ink);
}

.wbo-wrap table.shop_table.wbo-review .woocommerce-shipping-destination,
.wbo-wrap table.shop_table.wbo-review .woocommerce-shipping-calculator {
	display: none;
}

/* --------------------------------------------------------------------------
   Order received
   -------------------------------------------------------------------------- */

.wbo-order-received .woocommerce-order {
	max-width: 860px;
}

.wbo-order-received .woocommerce-thankyou-order-received {
	font-size: 18px;
}

.wbo-order-received ul.woocommerce-order-overview {
	display: flex;
	flex-wrap: wrap;
	gap: 16px 32px;
	margin: 24px 0;
	padding: 24px;
	background: var(--wbo-panel);
	border-radius: var(--wbo-radius);
}

.wbo-order-received ul.woocommerce-order-overview li {
	margin: 0;
	padding: 0;
	border: 0;
}

/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */

@media (max-width: 1100px) {
	.wbo-cart {
		grid-template-columns: minmax(0, 1fr) 360px;
		gap: 28px;
	}

	.wbo-checkout-page form.wbo-co {
		grid-template-columns: minmax(0, 1fr) 380px;
		gap: 28px;
	}

	.wbo-co-pre {
		width: calc(100% - 380px - 28px);
	}

	.wbo-summary {
		padding: 24px;
	}
}

@media (max-width: 989px) {
	.wbo-wrap {
		padding: 20px 16px 48px;
	}

	.wbo-cart,
	.wbo-checkout-page form.wbo-co {
		grid-template-columns: minmax(0, 1fr);
		gap: 24px;
	}

	.wbo-co-pre {
		width: 100%;
	}

	.wbo-cart__summary,
	.wbo-co__summary {
		position: static;
	}

	/* Collapsible summary at the top of the checkout */
	.wbo-co__summary {
		order: -1;
	}

	.wbo-summary-toggle {
		display: flex;
		align-items: center;
		justify-content: space-between;
		gap: 12px;
		width: 100%;
		padding: 16px 18px;
		font-family: inherit;
		font-size: 16px;
		color: var(--wbo-navy);
		background: var(--wbo-panel);
		border: 1px solid var(--wbo-line);
		border-radius: 12px;
		cursor: pointer;
	}

	.wbo-summary-toggle__label {
		display: inline-flex;
		align-items: center;
		gap: 8px;
	}

	.wbo-summary-toggle[aria-expanded="true"] {
		border-radius: 12px 12px 0 0;
	}

	.wbo-summary-toggle[aria-expanded="true"] .wbo-icon--chev {
		transform: rotate(180deg);
	}

	.wbo-summary-toggle__total {
		font-size: 19px;
		font-weight: 700;
	}

	.wbo-summary--checkout {
		display: none;
		border-top: 0;
		border-radius: 0 0 12px 12px;
	}

	.wbo-summary--checkout.is-open {
		display: block;
	}

	.wbo-steps {
		margin-bottom: 20px;
	}

	.wbo-steps a,
	.wbo-steps .wbo-steps__inner {
		min-height: 48px;
		padding: 0 12px 0 32px;
		font-size: 14px;
		gap: 8px;
	}

	.wbo-steps li:first-child a,
	.wbo-steps li:first-child .wbo-steps__inner {
		padding-left: 14px;
	}

	.wbo-steps__badge {
		width: 22px;
		height: 22px;
		font-size: 12px;
	}

	.wbo-cart-page .wbo-cart__title,
	.wbo-checkout-page .wbo-co__title {
		font-size: 32px;
	}

	.wbo-co-header__inner {
		grid-template-columns: 1fr auto;
		padding: 12px 16px;
	}

	.wbo-co-header__help {
		display: none;
	}

	.wbo-co-header__logo img {
		height: 44px;
	}
}

@media (max-width: 640px) {
	.wbo-line {
		grid-template-columns: 88px minmax(0, 1fr);
		gap: 14px;
		padding: 16px;
	}

	.wbo-line__thumb img {
		width: 88px;
		height: 88px;
	}

	.wbo-line__top {
		flex-direction: column;
		gap: 6px;
	}

	.wbo-cart-page .wbo-line__name {
		font-size: 17px;
	}

	.wbo-line__total {
		font-size: 19px;
	}

	.wbo-line__actions {
		gap: 16px;
	}

	.wbo-co-step {
		padding: 22px 18px;
	}

	.wbo-co-step__num {
		width: 36px;
		height: 36px;
		font-size: 16px;
	}

	.wbo-checkout-page .wbo-co-step__title {
		font-size: 24px;
	}

	.wbo-checkout-page .wbo-co-step .form-row-first,
	.wbo-checkout-page .wbo-co-step .form-row-last {
		width: 100%;
	}

	.wbo-steps__label {
		overflow: hidden;
		white-space: nowrap;
		text-overflow: ellipsis;
	}

	.wbo-co-header__secure span {
		position: absolute;
		width: 1px;
		height: 1px;
		overflow: hidden;
		clip: rect(0 0 0 0);
	}

	.wbo-wrap table.shop_table .order-total td strong,
	.wbo-wrap table.shop_table .order-total td .amount {
		font-size: 28px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.wbo-coupon summary .wbo-icon,
	.wbo-cart-page .woocommerce a.button.wbo-btn-checkout,
	.wbo-checkout-page #payment #place_order {
		transition: none;
	}
}


/* --------------------------------------------------------------------------
   Basket fixes: override WooCommerce's default 48% floated totals box,
   table borders/padding, item meta and stepper widths.
   -------------------------------------------------------------------------- */

.wbo-cart-page .woocommerce .wbo-cart .cart-collaterals,
.wbo-cart-page .woocommerce .wbo-cart .cart-collaterals .cart_totals {
	float: none;
	width: 100%;
	max-width: none;
	margin: 0;
}

.wbo-cart-page .woocommerce .wbo-cart .cart-collaterals::before,
.wbo-cart-page .woocommerce .wbo-cart .cart-collaterals::after {
	display: none;
}

.wbo-cart-page .wbo-cart__summary {
	min-width: 0;
}

.wbo-cart-page .wbo-cart__summary .cart_totals h2.wbo-summary__title {
	white-space: nowrap;
}

.wbo-wrap table.shop_table.wbo-totals,
.wbo-wrap table.shop_table.wbo-review {
	table-layout: auto;
}

.wbo-wrap table.shop_table.wbo-totals tr,
.wbo-wrap table.shop_table.wbo-review tr {
	border: 0;
}

.wbo-wrap table.shop_table.wbo-totals th,
.wbo-wrap table.shop_table.wbo-review tfoot th {
	width: auto;
	padding-right: 16px;
	white-space: nowrap;
}

.wbo-wrap table.shop_table.wbo-totals td,
.wbo-wrap table.shop_table.wbo-review tfoot td {
	border-top: 0;
}

.wbo-wrap table.shop_table.wbo-totals .wbo-totals__muted td {
	white-space: nowrap;
}

.wbo-wrap table.shop_table .order-total td .includes_tax {
	white-space: nowrap;
}

/* Checkout + express buttons fill the summary width */
.wbo-cart-page .wbo-summary .wc-proceed-to-checkout {
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.wbo-cart-page .wbo-summary .wc-proceed-to-checkout > *,
.wbo-cart-page .wbo-summary .wc-proceed-to-checkout iframe {
	width: 100% !important;
	max-width: 100% !important;
	margin-left: 0 !important;
	margin-right: 0 !important;
}

.wbo-cart-page .woocommerce .wbo-summary a.checkout-button,
.wbo-cart-page .woocommerce .wbo-summary a.button.wbo-btn-checkout {
	margin: 0;
	white-space: nowrap;
}

.wbo-cart-page .woocommerce .wbo-summary a.button.wbo-btn-checkout span {
	white-space: nowrap;
}

/* Discount toggle on one line */
.wbo-cart-page .wbo-coupon summary {
	white-space: nowrap;
}

/* Item titles, meta and price */
.wbo-cart-page .wbo-cart h2.wbo-line__name {
	font-size: 19px;
	font-weight: 600;
	line-height: 1.4;
}

.wbo-cart-page .wbo-line dl.variation {
	display: flex;
	flex-wrap: wrap;
	gap: 2px 6px;
	margin: 6px 0 10px;
	padding: 0;
	font-size: 15px;
	color: var(--wbo-muted);
}

.wbo-cart-page .wbo-line dl.variation dt,
.wbo-cart-page .wbo-line dl.variation dd {
	float: none;
	margin: 0;
	padding: 0;
	font-weight: 400;
}

.wbo-cart-page .wbo-line dl.variation dt {
	font-weight: 600;
}

.wbo-cart-page .wbo-line dl.variation dd p {
	margin: 0;
}

.wbo-cart-page .wbo-line__each {
	margin-top: 4px;
}

/* Same stepper width on every line */
.wbo-cart-page .woocommerce .wbo-qty .quantity input.qty {
	flex: 0 0 48px;
	width: 48px !important;
	min-width: 48px;
}

.wbo-cart-page .wbo-qty .quantity {
	display: inline-flex;
}

/* Two-column breakpoint for the basket */
@media (max-width: 1100px) and (min-width: 990px) {
	.wbo-cart {
		grid-template-columns: minmax(0, 1fr) 340px;
	}
}


/* --------------------------------------------------------------------------
   Delivery row: keep the totals table inside the summary card.
   The muted row was nowrap, so the postcode note stretched the table.
   -------------------------------------------------------------------------- */
.wbo-wrap table.shop_table.wbo-totals {
	max-width: 100%;
}

.wbo-wrap table.shop_table.wbo-totals .wbo-totals__muted td {
	white-space: normal;
}

.wbo-wrap table.shop_table.wbo-totals .wbo-del-free {
	white-space: nowrap;
}

.wbo-wrap table.shop_table.wbo-totals .wbo-del-free strong {
	font-weight: 700;
	color: var(--wbo-ink);
}

.wbo-del-note {
	display: block;
	max-width: 240px;
	margin: 4px 0 0 auto;
	font-size: 13px;
	font-weight: 400;
	line-height: 1.4;
	color: var(--wbo-muted);
	text-align: right;
	white-space: normal;
}
