/*
 * Walker Chemicals checkout/cart — v1.2
 * Neutral, professional styling with a locked free-shipping preview.
 */

body.woocommerce-cart,
body.woocommerce-checkout {
	--wkc-white: #ffffff;
	--wkc-black: #101010;
	--wkc-text: #232323;
	--wkc-muted: #6f6f73;
	--wkc-border: #e3e4e8;
	--wkc-border-strong: #c8cbd2;
	--wkc-soft: #f6f7f8;
	--wkc-shadow: 0 10px 28px rgba(16, 16, 16, 0.06);
	--wkc-shadow-soft: 0 6px 18px rgba(16, 16, 16, 0.045);
}

/* Remove Gift Card redemption UI. */
body.woocommerce-cart .gift-card,
body.woocommerce-checkout .gift-card,
body.woocommerce-cart .wc_gc_cart_redeem_form,
body.woocommerce-checkout .wc_gc_cart_redeem_form,
body.woocommerce-cart .wc_gc_giftcard_redeem_form,
body.woocommerce-checkout .wc_gc_giftcard_redeem_form,
body.woocommerce-cart .woocommerce_gc_giftcard_form,
body.woocommerce-checkout .woocommerce_gc_giftcard_form,
body.woocommerce-cart [class*="wc_gc"][class*="redeem"],
body.woocommerce-checkout [class*="wc_gc"][class*="redeem"] {
	display: none !important;
}

/* Overall wrappers. */
body.woocommerce-checkout .wp-block-woocommerce-checkout,
body.woocommerce-checkout .wc-block-checkout,
body.woocommerce-cart .wp-block-woocommerce-cart {
	box-sizing: border-box !important;
	width: 100% !important;
	max-width: 1180px !important;
	margin: 0 auto !important;
	padding: 30px 18px 56px !important;
}

body.woocommerce-checkout .wc-block-checkout__main,
body.woocommerce-checkout .wc-block-checkout__sidebar,
body.woocommerce-cart .wc-block-cart__main,
body.woocommerce-cart .wc-block-cart__sidebar {
	box-sizing: border-box !important;
	background: var(--wkc-white) !important;
	border: 1px solid var(--wkc-border) !important;
	border-radius: 18px !important;
	box-shadow: var(--wkc-shadow) !important;
}

body.woocommerce-checkout .wc-block-checkout__main,
body.woocommerce-cart .wc-block-cart__main {
	padding: clamp(20px, 2.6vw, 32px) !important;
}

body.woocommerce-checkout .wc-block-checkout__sidebar,
body.woocommerce-cart .wc-block-cart__sidebar {
	padding: 18px 18px 20px !important;
}

/* Typography. */
body.woocommerce-checkout,
body.woocommerce-cart {
	color: var(--wkc-text) !important;
}

body.woocommerce-checkout .wc-block-components-title,
body.woocommerce-checkout .wc-block-components-checkout-step__title,
body.woocommerce-checkout .wc-block-components-checkout-step__heading h2,
body.woocommerce-cart .wc-block-cart__totals-title {
	color: var(--wkc-black) !important;
	font-size: clamp(20px, 2.4vw, 27px) !important;
	font-weight: 750 !important;
	line-height: 1.2 !important;
	letter-spacing: -0.02em !important;
}

body.woocommerce-checkout .wc-block-components-checkout-step__description,
body.woocommerce-checkout .wc-block-components-checkout-step__secondary-text,
body.woocommerce-checkout .wc-block-components-totals-item__description,
body.woocommerce-cart .wc-block-components-totals-item__description {
	color: var(--wkc-muted) !important;
}

/* Inputs. */
body.woocommerce-checkout .wc-block-components-text-input input,
body.woocommerce-checkout .wc-block-components-combobox .wc-block-components-combobox-control input,
body.woocommerce-checkout .wc-blocks-components-select .wc-blocks-components-select__select,
body.woocommerce-checkout .wc-block-components-textarea textarea,
body.woocommerce-checkout .wc-block-components-textarea {
	min-height: 50px !important;
	color: var(--wkc-text) !important;
	background: var(--wkc-white) !important;
	border: 1px solid var(--wkc-border) !important;
	border-radius: 12px !important;
	box-shadow: none !important;
}

body.woocommerce-checkout .wc-block-components-text-input input:focus,
body.woocommerce-checkout .wc-block-components-combobox .wc-block-components-combobox-control input:focus,
body.woocommerce-checkout .wc-blocks-components-select .wc-blocks-components-select__select:focus,
body.woocommerce-checkout .wc-block-components-textarea textarea:focus,
body.woocommerce-checkout .wc-block-components-textarea:focus-within {
	border-color: var(--wkc-black) !important;
	box-shadow: 0 0 0 3px rgba(16, 16, 16, 0.06) !important;
	outline: none !important;
}

/* Shipping and payment cards. */
body.woocommerce-checkout .wc-block-components-radio-control__option,
body.woocommerce-checkout .wc-block-components-radio-control-accordion-option {
	box-sizing: border-box !important;
	margin: 0 0 10px !important;
	padding: 0 !important;
	background: var(--wkc-white) !important;
	border: 1px solid var(--wkc-border) !important;
	border-radius: 14px !important;
	box-shadow: none !important;
	overflow: hidden !important;
	transition: border-color .18s ease, box-shadow .18s ease !important;
}

body.woocommerce-checkout .wc-block-components-radio-control__option:hover,
body.woocommerce-checkout .wc-block-components-radio-control-accordion-option:hover {
	border-color: var(--wkc-border-strong) !important;
	box-shadow: var(--wkc-shadow-soft) !important;
}

body.woocommerce-checkout .wc-block-components-radio-control__option-checked,
body.woocommerce-checkout .wc-block-components-radio-control-accordion-option--checked-option-highlighted,
body.woocommerce-checkout .wc-block-components-radio-control__option:has(input:checked),
body.woocommerce-checkout .wc-block-components-radio-control-accordion-option:has(input:checked) {
	background: var(--wkc-white) !important;
	border-color: var(--wkc-black) !important;
	box-shadow: 0 0 0 1px rgba(16, 16, 16, 0.10), var(--wkc-shadow-soft) !important;
}

/* Keep the shipping method name and price on one clean row. */
body.woocommerce-checkout .wc-block-components-shipping-rates-control .wc-block-components-radio-control__option-layout {
	display: flex !important;
	align-items: center !important;
	width: 100% !important;
	min-width: 0 !important;
	min-height: 58px !important;
	padding: 13px 16px !important;
	gap: 12px !important;
}

body.woocommerce-checkout .wc-block-components-shipping-rates-control .wc-block-components-radio-control__label-group {
	display: flex !important;
	align-items: center !important;
	justify-content: space-between !important;
	flex: 1 1 auto !important;
	width: 100% !important;
	min-width: 0 !important;
	gap: 18px !important;
}

body.woocommerce-checkout .wc-block-components-shipping-rates-control .wc-block-components-radio-control__label,
body.woocommerce-checkout .wc-block-components-shipping-rates-control .wc-block-components-radio-control__secondary-label {
	display: block !important;
	margin: 0 !important;
	white-space: nowrap !important;
	word-break: normal !important;
	overflow-wrap: normal !important;
}

body.woocommerce-checkout .wc-block-components-shipping-rates-control .wc-block-components-radio-control__label {
	flex: 1 1 auto !important;
	overflow: hidden !important;
	text-overflow: ellipsis !important;
	font-weight: 650 !important;
}

body.woocommerce-checkout .wc-block-components-shipping-rates-control .wc-block-components-radio-control__secondary-label {
	flex: 0 0 auto !important;
	margin-left: auto !important;
	font-weight: 650 !important;
}

/* Payment heading row and accordion content. */
body.woocommerce-checkout .wc-block-components-radio-control-accordion-option__label-group {
	display: flex !important;
	align-items: center !important;
	gap: 12px !important;
	min-height: 58px !important;
	padding: 13px 16px !important;
}

body.woocommerce-checkout .wc-block-components-radio-control-accordion-content,
body.woocommerce-checkout .wc-block-components-radio-control__option .wc-block-components-radio-control__description-group {
	background: #fafafa !important;
	border-top: 1px solid var(--wkc-border) !important;
	padding: 14px 16px 16px !important;
}

body.woocommerce-checkout .wc-block-components-payment-method-icons,
body.woocommerce-checkout .wc-block-components-payment-method-icons img {
	max-height: 20px !important;
}

/* Locked free-shipping preview. */
body.woocommerce-checkout .wkc-locked-free-shipping {
	display: grid !important;
	grid-template-columns: 34px minmax(0, 1fr) auto !important;
	align-items: center !important;
	gap: 12px !important;
	box-sizing: border-box !important;
	width: 100% !important;
	margin: 0 0 10px !important;
	padding: 13px 16px !important;
	background: var(--wkc-soft) !important;
	border: 1px dashed var(--wkc-border-strong) !important;
	border-radius: 14px !important;
	color: var(--wkc-text) !important;
	cursor: not-allowed !important;
	opacity: .88 !important;
}

body.woocommerce-checkout .wkc-locked-free-shipping__icon {
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;
	width: 32px !important;
	height: 32px !important;
	color: #666a72 !important;
	background: var(--wkc-white) !important;
	border: 1px solid var(--wkc-border) !important;
	border-radius: 50% !important;
}

body.woocommerce-checkout .wkc-locked-free-shipping__icon svg {
	width: 15px !important;
	height: 15px !important;
}

body.woocommerce-checkout .wkc-locked-free-shipping__copy {
	min-width: 0 !important;
}

body.woocommerce-checkout .wkc-locked-free-shipping__title {
	display: block !important;
	margin: 0 0 2px !important;
	color: var(--wkc-text) !important;
	font-size: 14px !important;
	font-weight: 700 !important;
	line-height: 1.25 !important;
}

body.woocommerce-checkout .wkc-locked-free-shipping__note {
	display: block !important;
	margin: 0 !important;
	color: var(--wkc-muted) !important;
	font-size: 12.5px !important;
	line-height: 1.35 !important;
}

body.woocommerce-checkout .wkc-locked-free-shipping__badge {
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;
	padding: 6px 9px !important;
	color: #5d6066 !important;
	background: var(--wkc-white) !important;
	border: 1px solid var(--wkc-border) !important;
	border-radius: 999px !important;
	font-size: 11px !important;
	font-weight: 700 !important;
	line-height: 1 !important;
	white-space: nowrap !important;
}

/* Notices. */
body.woocommerce-checkout .wc-block-components-notice-banner {
	color: #ffffff !important;
	background: #111111 !important;
	border: 0 !important;
	border-radius: 12px !important;
	padding: 12px 14px !important;
}

body.woocommerce-checkout .wc-block-components-notice-banner a {
	color: #ffffff !important;
	text-decoration: underline !important;
}

body.woocommerce-checkout .wc-block-components-shipping-rates-control__package-not-selected,
body.woocommerce-checkout .wc-block-components-shipping-rates-control__no-results {
	color: var(--wkc-text) !important;
	background: var(--wkc-soft) !important;
	border: 1px solid var(--wkc-border) !important;
	border-radius: 12px !important;
	padding: 12px 14px !important;
}

/* Order summary. */
body.woocommerce-checkout .wc-block-components-order-summary,
body.woocommerce-cart .wc-block-components-order-summary {
	background: transparent !important;
}

body.woocommerce-checkout .wc-block-components-order-summary-item,
body.woocommerce-cart .wc-block-components-order-summary-item {
	padding-top: 14px !important;
	padding-bottom: 14px !important;
	border-bottom: 1px solid var(--wkc-border) !important;
}

body.woocommerce-checkout .wc-block-components-order-summary-item__image,
body.woocommerce-cart .wc-block-components-order-summary-item__image {
	background: #fafafa !important;
	border: 1px solid var(--wkc-border) !important;
	border-radius: 10px !important;
	padding: 4px !important;
}

body.woocommerce-checkout .wc-block-components-order-summary-item__quantity,
body.woocommerce-cart .wc-block-components-order-summary-item__quantity {
	color: #ffffff !important;
	background: var(--wkc-black) !important;
	border: 2px solid var(--wkc-white) !important;
	box-shadow: 0 2px 8px rgba(0, 0, 0, .10) !important;
}

body.woocommerce-checkout .wc-block-components-totals-wrapper,
body.woocommerce-cart .wc-block-components-totals-wrapper {
	border-top: 1px solid var(--wkc-border) !important;
	padding-top: 8px !important;
}

body.woocommerce-checkout .wc-block-components-totals-item,
body.woocommerce-cart .wc-block-components-totals-item {
	padding: 10px 0 !important;
}

/* Buttons. */
body.woocommerce-checkout .wc-block-components-checkout-place-order-button,
body.woocommerce-checkout .wc-block-components-button,
body.woocommerce-cart .wc-block-cart__submit-button {
	min-height: 52px !important;
	color: #ffffff !important;
	background: var(--wkc-black) !important;
	border: 1px solid var(--wkc-black) !important;
	border-radius: 999px !important;
	box-shadow: 0 10px 24px rgba(0, 0, 0, 0.14) !important;
	font-weight: 700 !important;
	text-decoration: none !important;
	transition: transform .18s ease, box-shadow .18s ease !important;
}

body.woocommerce-checkout .wc-block-components-checkout-place-order-button:hover,
body.woocommerce-checkout .wc-block-components-button:hover,
body.woocommerce-cart .wc-block-cart__submit-button:hover {
	color: #ffffff !important;
	background: #000000 !important;
	border-color: #000000 !important;
	box-shadow: 0 12px 26px rgba(0, 0, 0, 0.18) !important;
	transform: translateY(-1px) !important;
}

body.woocommerce-checkout a,
body.woocommerce-cart a {
	color: #6f5b12 !important;
}

body.woocommerce-checkout input[type="radio"],
body.woocommerce-checkout input[type="checkbox"] {
	accent-color: var(--wkc-black) !important;
}

/* Mobile. */
@media (max-width: 782px) {
	body.woocommerce-checkout .wp-block-woocommerce-checkout,
	body.woocommerce-checkout .wc-block-checkout,
	body.woocommerce-cart .wp-block-woocommerce-cart {
		padding: 20px 12px 40px !important;
	}

	body.woocommerce-checkout .wc-block-checkout__main,
	body.woocommerce-checkout .wc-block-checkout__sidebar,
	body.woocommerce-cart .wc-block-cart__main,
	body.woocommerce-cart .wc-block-cart__sidebar {
		padding: 16px 14px !important;
		border-radius: 15px !important;
	}

	body.woocommerce-checkout .wkc-locked-free-shipping {
		grid-template-columns: 32px minmax(0, 1fr) !important;
		padding: 12px 13px !important;
	}

	body.woocommerce-checkout .wkc-locked-free-shipping__badge {
		display: none !important;
	}
}


/* -------------------------------------------------
   v1.3 — WooCommerce shipping radio alignment fix
   WooCommerce positions the real radio absolutely.
   Reserve space so it can never sit over the method name.
------------------------------------------------- */
body.woocommerce-checkout
.wc-block-components-shipping-rates-control
.wc-block-components-radio-control__option {
	position: relative !important;
}

body.woocommerce-checkout
.wc-block-components-shipping-rates-control
.wc-block-components-radio-control__option
.wc-block-components-radio-control__input {
	position: absolute !important;
	top: 32px !important;
	left: 18px !important;
	right: auto !important;
	bottom: auto !important;
	width: 22px !important;
	height: 22px !important;
	margin: 0 !important;
	transform: translateY(-50%) !important;
	z-index: 2 !important;
}

body.woocommerce-checkout
.wc-block-components-shipping-rates-control
.wc-block-components-radio-control__option-layout {
	display: block !important;
	min-height: 64px !important;
	padding: 0 !important;
}

body.woocommerce-checkout
.wc-block-components-shipping-rates-control
.wc-block-components-radio-control__label-group {
	display: grid !important;
	grid-template-columns: minmax(0, 1fr) auto !important;
	align-items: center !important;
	width: 100% !important;
	min-height: 64px !important;
	margin: 0 !important;
	padding: 14px 18px 14px 58px !important;
	gap: 18px !important;
	box-sizing: border-box !important;
}

body.woocommerce-checkout
.wc-block-components-shipping-rates-control
.wc-block-components-radio-control__label,
body.woocommerce-checkout
.wc-block-components-shipping-rates-control
.wc-block-components-radio-control__secondary-label {
	position: static !important;
	inset: auto !important;
	display: block !important;
	width: auto !important;
	margin: 0 !important;
	padding: 0 !important;
	transform: none !important;
	white-space: nowrap !important;
	word-break: normal !important;
	overflow-wrap: normal !important;
	line-height: 1.35 !important;
}

body.woocommerce-checkout
.wc-block-components-shipping-rates-control
.wc-block-components-radio-control__label {
	min-width: 0 !important;
	overflow: hidden !important;
	text-overflow: ellipsis !important;
	font-weight: 650 !important;
}

body.woocommerce-checkout
.wc-block-components-shipping-rates-control
.wc-block-components-radio-control__secondary-label {
	justify-self: end !important;
	font-weight: 650 !important;
}

/* Some WooCommerce versions omit the input class. */
body.woocommerce-checkout
.wc-block-components-shipping-rates-control
.wc-block-components-radio-control__option
input[type="radio"] {
	position: absolute !important;
	top: 32px !important;
	left: 18px !important;
	right: auto !important;
	bottom: auto !important;
	margin: 0 !important;
	transform: translateY(-50%) !important;
	z-index: 2 !important;
}

/* Keep the payment radio and its text separated as well. */
body.woocommerce-checkout
.wc-block-components-radio-control-accordion-option {
	position: relative !important;
}

body.woocommerce-checkout
.wc-block-components-radio-control-accordion-option
.wc-block-components-radio-control__input,
body.woocommerce-checkout
.wc-block-components-radio-control-accordion-option
input[type="radio"] {
	position: absolute !important;
	top: 29px !important;
	left: 18px !important;
	right: auto !important;
	bottom: auto !important;
	width: 22px !important;
	height: 22px !important;
	margin: 0 !important;
	transform: translateY(-50%) !important;
	z-index: 2 !important;
}

body.woocommerce-checkout
.wc-block-components-radio-control-accordion-option__label-group {
	box-sizing: border-box !important;
	width: 100% !important;
	min-height: 58px !important;
	margin: 0 !important;
	padding: 13px 16px 13px 58px !important;
}

@media (max-width: 782px) {
	body.woocommerce-checkout
	.wc-block-components-shipping-rates-control
	.wc-block-components-radio-control__label-group {
		min-height: 58px !important;
		padding: 12px 14px 12px 54px !important;
		gap: 12px !important;
	}

	body.woocommerce-checkout
	.wc-block-components-shipping-rates-control
	.wc-block-components-radio-control__option
	.wc-block-components-radio-control__input,
	body.woocommerce-checkout
	.wc-block-components-shipping-rates-control
	.wc-block-components-radio-control__option
	input[type="radio"],
	body.woocommerce-checkout
	.wc-block-components-radio-control-accordion-option
	.wc-block-components-radio-control__input,
	body.woocommerce-checkout
	.wc-block-components-radio-control-accordion-option
	input[type="radio"] {
		left: 16px !important;
	}

	body.woocommerce-checkout
	.wc-block-components-radio-control-accordion-option__label-group {
		padding-left: 54px !important;
	}
}


/* -------------------------------------------------
   v1.4 — Order-summary thumbnail alignment
   Do not decorate the full WooCommerce grid cell.
   Keep each product image in a fixed square thumbnail.
------------------------------------------------- */
body.woocommerce-checkout .wc-block-components-order-summary-item__image,
body.woocommerce-cart .wc-block-components-order-summary-item__image {
	position: relative !important;
	align-self: start !important;
	justify-self: start !important;
	box-sizing: border-box !important;

	display: block !important;
	width: 74px !important;
	min-width: 74px !important;
	max-width: 74px !important;
	height: 74px !important;
	min-height: 74px !important;
	max-height: 74px !important;
	aspect-ratio: 1 / 1 !important;

	margin: 0 !important;
	padding: 0 !important;

	background: transparent !important;
	border: 0 !important;
	border-radius: 0 !important;
	overflow: visible !important;
}

body.woocommerce-checkout .wc-block-components-order-summary-item__image > img,
body.woocommerce-cart .wc-block-components-order-summary-item__image > img,
body.woocommerce-checkout .wc-block-components-order-summary-item__image img,
body.woocommerce-cart .wc-block-components-order-summary-item__image img {
	display: block !important;
	box-sizing: border-box !important;

	width: 74px !important;
	min-width: 74px !important;
	max-width: 74px !important;
	height: 74px !important;
	min-height: 74px !important;
	max-height: 74px !important;

	margin: 0 !important;
	padding: 6px !important;

	object-fit: contain !important;
	object-position: center !important;

	background: #fafafa !important;
	border: 1px solid var(--wkc-border) !important;
	border-radius: 12px !important;
	box-shadow: none !important;
}

body.woocommerce-checkout .wc-block-components-order-summary-item__quantity,
body.woocommerce-cart .wc-block-components-order-summary-item__quantity {
	position: absolute !important;
	top: 0 !important;
	right: 0 !important;
	left: auto !important;
	bottom: auto !important;

	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;

	min-width: 24px !important;
	width: auto !important;
	height: 24px !important;
	margin: 0 !important;
	padding: 0 6px !important;

	transform: translate(38%, -38%) !important;
	z-index: 3 !important;
	line-height: 1 !important;
	border-radius: 999px !important;
}

/* Prevent product rows from stretching the image column vertically. */
body.woocommerce-checkout .wc-block-components-order-summary-item,
body.woocommerce-cart .wc-block-components-order-summary-item {
	align-items: start !important;
}

@media (max-width: 782px) {
	body.woocommerce-checkout .wc-block-components-order-summary-item__image,
	body.woocommerce-cart .wc-block-components-order-summary-item__image,
	body.woocommerce-checkout .wc-block-components-order-summary-item__image > img,
	body.woocommerce-cart .wc-block-components-order-summary-item__image > img,
	body.woocommerce-checkout .wc-block-components-order-summary-item__image img,
	body.woocommerce-cart .wc-block-components-order-summary-item__image img {
		width: 64px !important;
		min-width: 64px !important;
		max-width: 64px !important;
		height: 64px !important;
		min-height: 64px !important;
		max-height: 64px !important;
	}
}


/* =================================================
   v1.5 — Reliable locked-shipping copy + cleaner mobile checkout
================================================= */

/* Keep the custom locked-shipping text visible after WooCommerce rerenders. */
body.woocommerce-checkout .wkc-locked-free-shipping,
body.woocommerce-checkout .wkc-locked-free-shipping * {
	box-sizing: border-box !important;
}

body.woocommerce-checkout .wkc-locked-free-shipping__copy {
	display: block !important;
	min-width: 0 !important;
	visibility: visible !important;
	opacity: 1 !important;
	overflow: visible !important;
}

body.woocommerce-checkout .wkc-locked-free-shipping__title,
body.woocommerce-checkout .wkc-locked-free-shipping__note {
	position: static !important;
	inset: auto !important;
	display: block !important;
	width: auto !important;
	height: auto !important;
	margin: 0 !important;
	padding: 0 !important;
	visibility: visible !important;
	opacity: 1 !important;
	transform: none !important;
	text-indent: 0 !important;
	clip: auto !important;
	clip-path: none !important;
	white-space: normal !important;
}

body.woocommerce-checkout .wkc-locked-free-shipping__title {
	color: #252525 !important;
	font-size: 14px !important;
	font-weight: 700 !important;
	line-height: 1.3 !important;
}

body.woocommerce-checkout .wkc-locked-free-shipping__note {
	margin-top: 2px !important;
	color: #70737a !important;
	font-size: 12.5px !important;
	font-weight: 400 !important;
	line-height: 1.35 !important;
}

/* Remove redundant frames around the shipping and payment controls. */
body.woocommerce-checkout .wc-block-components-radio-control {
	background: transparent !important;
	border: 0 !important;
	border-radius: 0 !important;
	box-shadow: none !important;
	padding: 0 !important;
}

/* A much flatter and calmer mobile checkout. */
@media (max-width: 782px) {
	html,
	body.woocommerce-checkout,
	body.woocommerce-cart {
		overflow-x: hidden !important;
	}

	body.woocommerce-checkout .wp-block-woocommerce-checkout,
	body.woocommerce-checkout .wc-block-checkout,
	body.woocommerce-cart .wp-block-woocommerce-cart {
		max-width: 100% !important;
		margin: 0 !important;
		padding: 14px 14px 36px !important;
	}

	/* Do not put the whole mobile checkout inside large cards. */
	body.woocommerce-checkout .wc-block-checkout__main,
	body.woocommerce-cart .wc-block-cart__main {
		padding: 0 !important;
		background: #ffffff !important;
		border: 0 !important;
		border-radius: 0 !important;
		box-shadow: none !important;
	}

	body.woocommerce-checkout .wc-block-checkout__sidebar,
	body.woocommerce-cart .wc-block-cart__sidebar {
		margin-top: 18px !important;
		padding: 16px !important;
		background: #f7f7f8 !important;
		border: 1px solid #e6e7ea !important;
		border-radius: 15px !important;
		box-shadow: none !important;
	}

	/* Flatten individual checkout sections. */
	body.woocommerce-checkout .wc-block-components-checkout-step,
	body.woocommerce-checkout .wc-block-checkout__shipping-method,
	body.woocommerce-checkout .wc-block-checkout__payment-method,
	body.woocommerce-checkout fieldset.wc-block-checkout__payment-method {
		margin: 0 0 26px !important;
		padding: 0 0 24px !important;
		background: transparent !important;
		border: 0 !important;
		border-bottom: 1px solid #ececef !important;
		border-radius: 0 !important;
		box-shadow: none !important;
	}

	body.woocommerce-checkout .wc-block-components-checkout-step:last-child,
	body.woocommerce-checkout .wc-block-checkout__payment-method:last-child {
		border-bottom: 0 !important;
	}

	body.woocommerce-checkout .wc-block-components-title,
	body.woocommerce-checkout .wc-block-components-checkout-step__title,
	body.woocommerce-checkout .wc-block-components-checkout-step__heading h2 {
		margin-bottom: 14px !important;
		font-size: 23px !important;
		line-height: 1.18 !important;
	}

	/* One restrained card per real shipping/payment option. */
	body.woocommerce-checkout .wc-block-components-radio-control__option,
	body.woocommerce-checkout .wc-block-components-radio-control-accordion-option {
		margin: 0 0 10px !important;
		background: #ffffff !important;
		border: 1px solid #dedfe3 !important;
		border-radius: 12px !important;
		box-shadow: none !important;
	}

	body.woocommerce-checkout .wc-block-components-radio-control__option-checked,
	body.woocommerce-checkout .wc-block-components-radio-control-accordion-option--checked-option-highlighted,
	body.woocommerce-checkout .wc-block-components-radio-control__option:has(input:checked),
	body.woocommerce-checkout .wc-block-components-radio-control-accordion-option:has(input:checked) {
		border-color: #171717 !important;
		box-shadow: 0 0 0 1px #171717 !important;
	}

	/* Compact locked row; no unnecessary third-column badge on mobile. */
	body.woocommerce-checkout .wkc-locked-free-shipping {
		display: grid !important;
		grid-template-columns: 30px minmax(0, 1fr) !important;
		align-items: center !important;
		width: 100% !important;
		min-height: 62px !important;
		margin: 0 0 10px !important;
		padding: 11px 13px !important;
		gap: 11px !important;
		background: #f5f6f7 !important;
		border: 1px dashed #cfd1d6 !important;
		border-radius: 12px !important;
		visibility: visible !important;
		opacity: 1 !important;
	}

	body.woocommerce-checkout .wkc-locked-free-shipping__icon {
		width: 30px !important;
		height: 30px !important;
	}

	body.woocommerce-checkout .wkc-locked-free-shipping__badge {
		display: none !important;
	}

	/* Payment details should feel part of the selected method, not another grid. */
	body.woocommerce-checkout .wc-block-components-radio-control-accordion-content,
	body.woocommerce-checkout .wc-block-components-radio-control__option .wc-block-components-radio-control__description-group {
		margin: 0 !important;
		padding: 12px 13px 14px !important;
		background: #fafafa !important;
		border: 0 !important;
		border-top: 1px solid #e7e8eb !important;
		border-radius: 0 0 11px 11px !important;
		box-shadow: none !important;
	}

	/* Reduce nested frames in the mobile order summary. */
	body.woocommerce-checkout .wc-block-components-order-summary,
	body.woocommerce-checkout .wp-block-woocommerce-checkout-order-summary-block,
	body.woocommerce-cart .wc-block-components-order-summary {
		background: transparent !important;
		border: 0 !important;
		border-radius: 0 !important;
		box-shadow: none !important;
	}

	body.woocommerce-checkout .wc-block-components-order-summary-item,
	body.woocommerce-cart .wc-block-components-order-summary-item {
		padding: 13px 0 !important;
		border-bottom: 1px solid #e3e4e7 !important;
	}

	body.woocommerce-checkout .wc-block-components-totals-wrapper,
	body.woocommerce-cart .wc-block-components-totals-wrapper {
		margin: 0 !important;
		padding: 8px 0 0 !important;
		border-top: 1px solid #dedfe3 !important;
	}

	/* Inputs remain clean without looking like a wall of boxes. */
	body.woocommerce-checkout .wc-block-components-text-input input,
	body.woocommerce-checkout .wc-block-components-combobox .wc-block-components-combobox-control input,
	body.woocommerce-checkout .wc-blocks-components-select .wc-blocks-components-select__select,
	body.woocommerce-checkout .wc-block-components-textarea textarea,
	body.woocommerce-checkout .wc-block-components-textarea {
		min-height: 48px !important;
		border-radius: 10px !important;
	}

	body.woocommerce-checkout .wc-block-components-checkout-place-order-button,
	body.woocommerce-checkout .wc-block-components-button,
	body.woocommerce-cart .wc-block-cart__submit-button {
		min-height: 52px !important;
		border-radius: 12px !important;
		box-shadow: none !important;
	}
}


/* -------------------------------------------------
   v1.6 — final checkout ownership fixes
   This plugin loads after gateway styles, so keep the
   final shipping alignment and Niftipay label spacing here.
------------------------------------------------- */

/* Align the real shipping radio with the FIRST row (method + price),
   not the full card including the estimated-delivery row. */
body.woocommerce-checkout
.wc-block-components-shipping-rates-control
.wc-block-components-radio-control__option
.wc-block-components-radio-control__input,
body.woocommerce-checkout
.wc-block-components-shipping-rates-control
.wc-block-components-radio-control__option
input[type="radio"] {
    top: 32px !important;
    transform: translateY(-50%) !important;
}

/* Niftipay: the payment-step ID keeps these local label rules above the
   theme's broad !important label-span resets, regardless of stylesheet order.
   Disable provider spacers so one real flex gap controls the whole row. */
body.woocommerce-checkout #payment-method .niftipay-card-to-badge-gap,
body.woocommerce-checkout #payment-method .niftipay-badge-to-logos-gap {
    display: none !important;
    width: 0 !important;
    min-width: 0 !important;
    flex-basis: 0 !important;
}

body.woocommerce-checkout #payment-method .niftipay-fiat-title {
    display: inline-flex !important;
    align-items: center !important;
    flex-wrap: wrap !important;
    gap: 8px 10px !important;
    max-width: 100% !important;
    min-width: 0 !important;
    white-space: normal !important;
}

body.woocommerce-checkout #payment-method .niftipay-fiat-title-text {
    flex: 0 1 auto !important;
    margin: 0 !important;
    max-width: 100% !important;
    min-width: 0 !important;
    white-space: normal !important;
}

body.woocommerce-checkout #payment-method .niftipay-primary-badge {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    flex: 0 0 auto !important;
    margin: 0 !important;
    padding: 4px 8px !important;
    color: #18783a !important;
    font-size: 11px !important;
    font-weight: 700 !important;
    line-height: 1.2 !important;
    text-transform: none !important;
    letter-spacing: 0 !important;
    white-space: nowrap !important;
}

body.woocommerce-checkout #payment-method .niftipay-fiat-title .niftipay-fiat-icon {
    flex: 0 0 auto !important;
    width: auto !important;
    height: auto !important;
    max-width: min(155px, 100%) !important;
    max-height: 20px !important;
    margin: 0 !important;
    object-fit: contain !important;
}

/* Card-brand decoration belongs only to Argent's selectable label. It never
   enters the embedded fields or changes provider registration/availability. */
body.woocommerce-checkout
.wc-block-components-radio-control__option:has(input[value="walker_argent_hosted"])
.wc-block-components-radio-control__label {
    display: flex !important;
    align-items: center !important;
    flex-wrap: wrap !important;
    gap: 8px 12px !important;
    min-width: 0 !important;
}

body.woocommerce-checkout
.wc-block-components-radio-control__option:has(input[value="walker_argent_hosted"])
.wc-block-components-radio-control__label::after {
    content: "";
    display: inline-block;
    flex: 0 0 84px;
    width: 84px;
    height: 25px;
    background-image: url("cards/visa.svg"), url("cards/mastercard.svg");
    background-repeat: no-repeat;
    background-position: left center, right center;
    background-size: 39px 25px, 39px 25px;
}

/* Keep a clean gap between Crypto and the coin-logo strip. */
body.woocommerce-checkout .niftipay-crypto-title .niftipay-crypto-icon {
    margin-left: 12px !important;
}
