/**
 * Order tables.
 */
.hbfwc-pro-child-order.woocommerce-order-pay [data-block-name="woocommerce/checkout"],
.woocommerce-order-received.woocommerce-checkout main .woocommerce .hbfwc-intercept-order-receipt-page {
	container: order-pay / inline-size;
	max-width: 100%;
}
.hbfwc_partial_order_pay_wrap {
	display: grid;
	grid-template-columns: 2fr 1fr;
	gap: 25px;
	font-size: var(--wp--preset--font-size--medium);
	color: var(--hbfwc-gray-600);
}
.hbfwc-booking-section {
	border-radius: 8px;
	background-color: var(--hbfwc-gray-50);
	border: 1px solid color-mix(in srgb, currentColor 16%, transparent);
	padding: 25px;

	> h2 {
		font-size: calc(1em + .65vw);
		margin: 0 0 10px;
		padding: 0;
	}

	.amount {
		color: var(--hbfwc-gray-800);
		font-variant-numeric: proportional-nums;
	}

	.booking-item {
		box-sizing: border-box;
		width: 100%;
		display: grid;
		padding: 25px;
		margin: 0 0 1em;
		border-radius: 8px;
		grid-template-columns: minmax(0, 90px) auto fit-content(120px);
		gap: 15px;
		background-color: #fff;
		border: 1px solid color-mix(in srgb, currentColor 16%, transparent);
		box-shadow: 0 3px 15px -6px var(--hbfwc-shadow-soft);

		img {
			border-radius: 5px;
			margin: 0;
		}

		.item-subtotal {
			padding-left: 1em;
			text-align: right;
			font-variant-numeric: proportional-nums;

			.amount {
				font-size: 1.1em;
				font-weight: 500;
			}
		}

		ul.wc-item-meta {
			list-style-type: none;
			margin: 0;
			padding: 1em 0 0;
			width: 100%;
			display: flex;
			flex-flow: column;
			flex-wrap: wrap;
			gap: 8px;
			font-size: 13px;
			color: var(--hbfwc-gray-600);

			> li {
				list-style-type: none;
				width: 100%;
				display: grid;
				grid-template-columns: minmax(0, 90px) auto;
				gap: 5px;
				line-height: 1.2;

				strong {
					font-weight: 500;
				}

				p {
					margin: 0 0 0;
					padding: 0 0 0;
				}

				&:has(.hbfwc-line-item-addons) strong {
					padding-top: 7px;
				}
			}

			ul.hbfwc-line-item-addons {
				padding-left: 0;
				margin-bottom: 0;
				font-size: 12px;

				li {
					justify-content: space-between;
					flex-wrap: wrap;
					gap: 2px;

					.hbfwc-lia-qty {
						margin-left: 0;
						font-weight: 400;
						color: color-mix(in srgb, currentColor 70%, transparent);

						.amount {
							color: inherit;
						}
					}
					.hbfwc-lia-name {
						flex: none;
						display: block;
						width: 100%;
					}
					.hbfwc-lia-price {
						min-width: 0;
					}
				}
			}
		}
	}

	.room-title-order {
		display: flex;
		width: 100%;
		font-weight: 600;
		flex-flow: row;
		flex-wrap: wrap;
		gap: 10px;
		justify-content: space-between;
		align-items: flex-start;
		padding-top: 3.5px;

		.room__name {
			display: inline-flex;
			line-height: 24px;
		}

		.room__qty {
			display: inline-flex;
			padding: 0 8px;
			border-radius: 5px;
			font-size: 12px;
			font-weight: 500;
			line-height: 22px;
			background-color: color-mix(in srgb, currentColor 4%, transparent);
			border: 1px solid color-mix(in srgb, currentColor 16%, transparent);
			font-variant-numeric: proportional-nums;
		}
	}

	.hbfwc-booking-totals {
		box-sizing: border-box;
		width: 100%;
		display: flex;
		flex-flow: column;
		gap: 0;
		font-size: var(--wp--preset--font-size--small);
		padding: 20px 0 0;
		border-radius: 8px;
		background-color: #fff;
		border: 1px solid color-mix(in srgb, currentColor 16%, transparent);
		box-shadow: 0 3px 15px -6px var(--hbfwc-shadow-soft);

		> div {
			box-sizing: border-box;
			width: 100%;
			display: grid;
			grid-template-columns: auto minmax(0, 120px);
			gap: 15px;
			margin: 0;
			padding: .45rem 25px .45rem 25px;

			&:last-of-type {
				border-radius: 0 0 7px 7px;
			}

			&:first-of-type {
				padding-top: 0;
			}

			&.booking-total-item__deposit,
			&.booking-total-item__remaining {
				padding: .75rem 25px .75rem 25px;

				.booking-total-item__label {
					display: flex;
					align-items: center;
				}
			}

			&.booking-total-item__remaining {
				border-top: 1px dashed var(--hbfwc-gray-400);
			}
		}

		.booking-total-item.booking-total-item__total {
			font-size: 1.1em;
			font-weight: 500;
			padding: .5rem 25px .5rem 25px;
			margin: .25rem 0 0 0;
			background-color: var(--hbfwc-gray-200);
		}

		.booking-total-item.booking-total-item__total ~ div:not(.booking-total-item__payment_method) {
			background-color: var(--hbfwc-gray-100);

			.amount {
				font-weight: 500;
			}
		}

		.booking-total-item.booking-total-item__payment_method {
			font-size: 12px;
			background-color: #fff;
			color: var(--hbfwc-gray-400);
			padding-top: .75rem;
			padding-bottom: .75rem;
			letter-spacing: .05em;
		}

		.booking-total-item__value {
			text-align: right;

			.amount {
				font-variant-numeric: proportional-nums;
			}
		}
	}
}
@container order-pay (width < 769px) {
	.hbfwc_partial_order_pay_wrap {
		grid-template-columns: minmax(100%, 1fr);
	}
	.hbfwc-booking-section {
		padding: 18px;
		.booking-item {
			padding: 18px;
			grid-template-columns: minmax(100%, 1fr);

			.item-image {
				display: none;
			}
		}

		.hbfwc-booking-totals {
			padding: 18px 0 18px;

			> div {
				padding: .25rem 18px .25rem 18px;
			}

			.booking-total-item.booking-total-item__total {
				padding: .5rem 18px .5rem 18px;
			}
		}
	}
}
@container order-pay (width < 356px) {
	.hbfwc-booking-section {
		padding: 15px;

		.booking-item {
			padding: 12px;
			grid-template-columns: minmax(100%, 1fr);

			ul.wc-item-meta {
				> li {
					grid-template-columns: minmax(100%, 1fr);
				}
			}
		}

		.hbfwc-booking-totals {
			padding: 12px 0 12px;

			> div {
				padding: .25rem 12px .25rem 12px;
			}

			.booking-total-item.booking-total-item__total {
				padding: .5rem 12px .5rem 12px;
			}
		}
	}	
}

.hbfwc-pro-child-order.woocommerce-order-pay .hbfwc_shop_table {
	color: var(--hbfwc-gray-600);
	border-radius: 8px;
	border-color: color-mix(in srgb, currentColor 16%, transparent);
	font-size: var(--wp--preset--font-size--small);
	box-shadow: 0 3px 15px -6px var(--hbfwc-shadow-soft);
}
.hbfwc-pro-child-order.woocommerce-order-pay .hbfwc_shop_table thead th {
	padding: 1em 12px 1em;
	background-color: var(--hbfwc-gray-100);
	font-size: .85em;
	text-transform: uppercase;
	font-weight: 500;
	color: var(--hbfwc-gray-400);
	letter-spacing: .15vw;

	&:first-of-type {
		border-top-left-radius: 7px;
	}

	&:last-of-type {
		border-top-right-radius: 7px;
	}
}
.hbfwc-pro-child-order.woocommerce-order-pay .hbfwc_shop_table tbody td,
.hbfwc-pro-child-order.woocommerce-order-pay .hbfwc_shop_table tfoot th {
	font-weight: 400;
}
.hbfwc-pro-child-order.woocommerce-order-pay .hbfwc_shop_table .amount {
	font-variant-numeric: proportional-nums;
	color: var(--hbfwc-gray-800);
	font-weight: 500;
}
table.shop_table tfoot tr td:last-child,
table.shop_table thead th.product-total {
	text-align: right;
}
td.woocommerce-table__product-total .amount,
td.product-total .amount {
	float: right;
}
.hbfwc-pro-child-order table.shop_table tfoot > tr:first-child  {
	display: none;
}
.hbfwc-pro-child-order table.wc-block-order-confirmation-totals__table tfoot > tr:not(:last-of-type),
.hbfwc-pro-child-order table.shop_table tfoot > tr:not(:last-of-type) {
	th, td {
		font-size: clamp( 13px, 1.4vw, 1em);
	}
}
.hbfwc-pro-child-order table.shop_table tfoot > tr:last-of-type th,
.hbfwc-pro-child-order table.shop_table tfoot > tr:last-of-type td,
.hbfwc-pro-child-order table.wc-block-order-confirmation-totals__table tfoot > tr:last-of-type th,
.hbfwc-pro-child-order table.wc-block-order-confirmation-totals__table tfoot > tr:last-of-type td {
	font-size: 1.25em;
}
.hbfwc-pro-child-order table.wc-block-order-confirmation-totals__table thead tr > th:not(:last-of-type),
.hbfwc-pro-child-order table.shop_table:not(.hbfwc_shop_table) thead tr > th:not(.product-total)  {
	text-indent: -9999em;
	color: rgba(255,255,255, 0);
	text-decoration: none;
	font-size: 0.00001em;
}
.hbfwc-pro-child-order table.shop_table.hbfwc_shop_table tfoot td.product-total {
	font-weight: 400 !important;
}

.hbfwc-table-wrapper {
	display: block;
	margin: 0 0 20px;
	padding: 0;
	overflow-x: auto;
}
.hbfwc-table-wrapper * {
	box-sizing: border-box;
}
.hbfwc-table-wrapper table.hbfwc_partial_deposit_table,
table.hbfwc_partial_deposit_table {
	border-collapse: separate;
    width: 100%;
	min-width: 580px;
	margin: 0 0 0;
	border: 1px solid color-mix(in srgb, currentColor 20%, transparent);
	border-spacing: 0;
	border-radius: 8px;
}
.hbfwc_partial_deposit_table thead th,
.hbfwc_partial_deposit_table tbody td {
	text-align: left;
    padding: 15px 12px;
    vertical-align: middle;
	line-height: 1.5em;
}

.hbfwc_partial_deposit_table thead th:last-of-type,
.hbfwc_partial_deposit_table tbody tr td:last-of-type,
.hbfwc_partial_deposit_table .deposit_total {
	text-align: right;
}
.hbfwc_partial_deposit_table tbody tr:nth-child(even) td {
	background-color: color-mix(in srgb, currentColor 5%, transparent);
}
.hbfwc_partial_deposit_table tfoot th,
.hbfwc_partial_deposit_table tfoot td.hbfwc-total-booking-order-value {
	padding: 12px 12px;
	text-align: left;
	font-size: 1.15em;
	background-color: var(--hbfwc-gray-100);
	border-width: 1px 0 0 0;
	border-style: solid;
	border-color: var(--hbfwc-gray-300);
}
.hbfwc_partial_deposit_table tfoot tr > *:first-child {
	border-radius: 0 0 0 8px;
}
.hbfwc_partial_deposit_table tfoot tr > *:last-child {
	border-radius: 0 0 8px 0;
}
.hbfwc_partial_deposit_table tfoot td.hbfwc-total-booking-order-value {
	text-align: right;
	font-weight: 600;
}

.label-order-status-string {
	margin: 0 0 0 auto !important;
	font-size: 13px !important;
}

.hbfwc-deposit-status {
    display: inline-flex;
	font-size: inherit;
    color: #454545;
    background: #e5e5e5;
    border-radius: 4px;
    border-bottom: 1px solid rgba(0, 0, 0, .05);
    margin: -.25em 0;
    cursor: inherit !important;
    white-space: nowrap;
    max-width: 100%;
}
.hbfwc-deposit-status > span {
	margin: 0 .75em;
    overflow: hidden;
    text-overflow: ellipsis;
	line-height: 1.8em;
}
.hbfwc-deposit-status.status-completed {
    background: #c8d7e1;
    color: #003d66
}

.hbfwc-deposit-status.status-pending-payment,
.hbfwc-deposit-status.status-on-hold {
    background: #f8dda7;
    color: #573b00
}

.hbfwc-deposit-status.status-failed {
    background: #eba3a3;
    color: #570000
}

.hbfwc-deposit-status.status-processing {
    background: #c6e1c6;
    color: #2c4700
}

.hbfwc-deposit-status.status-trash {
    background: #eba3a3;
    color: #550202
}

.hbfwc-deposit-status.status-hbfwc-part-paid {
    background: #d2c6e1;
    color: #2b0047
}
.hbfwc-deposit-payment-label {
	width: 100%;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 8px;
    min-height: 20px;
}
.hbfwc-deposit-payment-label span {
	display: inline-flex;
	margin: 0 0 0 !important;
	padding: 0;
}
.hbfwc-deposit-payment-label .hbfwc-deposit-payment-label__due-now {
	padding: 4px 6px;
	font-size: 85% !important;
	line-height: 1.1;
	letter-spacing: 0 !important;
	border-radius: 5px;
	letter-spacing: 0;
    background-color: var(--hbfwc-gray-200);
    border: 1px solid var(--hbfwc-gray-300);
    color: var(--hbfwc-gray-600);
}
.hbfwc-deposit-payment-label__due-now span {
	font-weight: 600;
	font-variant-numeric: proportional-nums;
	margin-left: 8px !important;
}
.wc-block-components-radio-control-accordion-option .hbfwc-deposit-payment-label .hbfwc-deposit-payment-label__due-now {
	opacity: .5;
	transition: opacity .3s ease-in-out 0s;
}
.wc-block-components-radio-control-accordion-option.wc-block-components-radio-control-accordion-option--checked-option-highlighted .hbfwc-deposit-payment-label .hbfwc-deposit-payment-label__due-now {
	opacity: 1;
}

table.shop_table.hbfwc_addon_table tbody .amount,
.woocommerce-cart .cart-collaterals .cart_totals table .amount {
	float: right;
}
.woocommerce-cart .cart-collaterals .cart_totals table.shop_table.hbfwc_addon_table tbody th {
	width: 50%;
}
.woocommerce-cart .cart-collaterals .cart_totals table.shop_table.hbfwc_addon_table tbody th label {
	line-height: 20px;
}
.woocommerce-cart .cart-collaterals .cart_totals table.shop_table.hbfwc_addon_table tbody th label input[type="checkbox"] {
	transform: translateY(0);
	margin-right: 8px;
}
table.shop_table.hbfwc_addon_table tbody .amount + div,
.woocommerce-cart .cart-collaterals .cart_totals table .amount + * {
	clear: both;
}
table.shop_table.hbfwc_addon_table tbody .hbfwc_addon_for_booking__description {
	font-size: 13px;
	text-align: right;
	color: color-mix(in srgb, currentColor 70%, transparent);
}

.woocommerce-order-received.woocommerce-checkout main .woocommerce:has(.hbfwc-intercept-order-receipt-page) {
	padding-bottom: 3rem;
}
.woocommerce-order-received.woocommerce-checkout main .woocommerce:has(.hbfwc-intercept-order-receipt-page),
.hbfwc-intercept-order-receipt-page {
	margin-left: auto;
	margin-right: auto;
}

.hbfwc-intercept-order-receipt-page .hbfwc-booking-section {
	padding: 0;
	border-width: 0;
	background: transparent;
}
.hbfwc-intercept-order-receipt-page .hbfwc-booking-section .hbfwc-booking-totals {
	padding-bottom: 0;
}

.hbfwc-intercept-order-receipt-page .hbfwc-booking-section > h2,
.hbfwc-intercept-order-receipt-page #order_review h2,
.hbfwc-intercept-order-receipt-page .woocommerce-order-deposit-links h2 {
	font-size: var(--wp--preset--font-size--small);
	margin: 0 0 10px;
	padding: 0;
	font-family: inherit;
	text-transform: uppercase;
	letter-spacing: 1px;
	font-weight: 500;
}

.hbfwc-intercept-order-receipt-page #order_review section {
	margin: 0 0 20px;
}

.hbfwc-intercept-order-receipt-page .woocommerce-order-deposit-links {
	margin: 0 0 3rem;
	color: var(--hbfwc-gray-600);
}

.hbfwc-intercept-order-receipt-page #order_review .woocommerce-order-details {
	display: none;
}

.hbfwc-intercept-order-receipt-page .woocommerce-order-deposit-links table.hbfwc_partial_deposit_table,
.hbfwc-intercept-order-receipt-page #order_review table.order_details {
	border-radius: 8px;
	background-color: #fff;
	border: 1px solid color-mix(in srgb, currentColor 16%, transparent);
	box-shadow: 0 3px 15px -6px var(--hbfwc-shadow-soft);
	margin-bottom: 0;
	font-size: var(--wp--preset--font-size--small);
}

.hbfwc-intercept-order-receipt-page .woocommerce-order-deposit-links table.hbfwc_partial_deposit_table thead th,
.hbfwc-intercept-order-receipt-page #order_review table.order_details thead th {
	font-size: .715em;
	text-transform: uppercase;
	color: var(--hbfwc-gray-700);
	background-color: var(--hbfwc-gray-100);
	letter-spacing: 1px;

	&:first-child {
		border-top-left-radius: 8px;
	}

	&:last-child {
		border-top-right-radius: 8px;
	}
}
.hbfwc-intercept-order-receipt-page .woocommerce-order-deposit-links table.hbfwc_partial_deposit_table tbody {
	font-size: .715em;
}
.hbfwc-intercept-order-receipt-page .woocommerce-order-deposit-links table.hbfwc_partial_deposit_table tbody td {
	font-size: 1.3em;
}
.hbfwc-intercept-order-receipt-page .woocommerce-order-deposit-links table.hbfwc_partial_deposit_table tbody td .hbfwc-deposit-status {
	font-size: inherit;
}
.hbfwc-intercept-order-receipt-page #order_review table.order_details tfoot td,
.hbfwc-intercept-order-receipt-page #order_review address {
	font-size: var(--wp--preset--font-size--small);
	font-weight: 400;
}
.hbfwc-intercept-order-receipt-page #order_review table.order_details tfoot td,
.hbfwc-intercept-order-receipt-page #order_review table.order_details tfoot th {
	border-top: 1px solid color-mix(in srgb, currentColor 16%, transparent);
}
.hbfwc-intercept-order-receipt-page #order_review table.order_details tfoot th {
	font-size: .95em;
	font-weight: 400;
}
.hbfwc-intercept-order-receipt-page #order_review table.order_details tfoot > tr:last-child td,
.hbfwc-intercept-order-receipt-page #order_review table.order_details tfoot > tr:last-child th {
	padding-top: 20px;
	padding-bottom: 20px;
	background-color: var(--hbfwc-gray-200);
}
.hbfwc-intercept-order-receipt-page #order_review table.order_details tfoot > tr:last-child th{
	border-bottom-left-radius: 8px;
}
.hbfwc-intercept-order-receipt-page #order_review table.order_details tfoot > tr:last-child td {
	font-weight: 600;
	border-bottom-right-radius: 8px;
}
.hbfwc-intercept-order-receipt-page #hbfwc-review-parent-order {
	order: 1;
}
.hbfwc-intercept-order-receipt-page #order_review {
	order: 2;
}
@container order-pay (width < 769px) {
	.hbfwc-intercept-order-receipt-page #hbfwc-review-parent-order {
		order: 2;
	}
	.hbfwc-intercept-order-receipt-page #order_review {
		order: 1;
	}
}
.hbfwc-intercept-order-receipt-page #order_review address {
	font-size: var(--wp--preset--font-size--small);
	padding: 12px;
	border-radius: 8px;
	background-color: #fff;
	border: 1px solid color-mix(in srgb, currentColor 16%, transparent);
	box-shadow: 0 3px 15px -6px var(--hbfwc-shadow-soft);

	&::first-line {
		font-weight: 500;
		font-size: 110%;
	}

	> br:first-of-type {
		margin-bottom: 10px;
	}
}

@media (min-width: 359px) {
	.hbfwc-intercept-order-receipt-page #order_review address {
		padding: 18px;
	}
}

@media (min-width: 769px) {
	.hbfwc-intercept-order-receipt-page #order_review address {
		padding: 25px 25px;
	}
}

.hbfwc-intercept-order-receipt-page .woocommerce-order-deposit-links table.hbfwc_partial_deposit_table .amount,
.hbfwc-intercept-order-receipt-page #order_review table.order_details .amount {
	font-weight: 500;
	color: var(--hbfwc-gray-700);
	font-variant-numeric: proportional-nums;
}

.hbfwc-intercept-order-receipt-page .woocommerce-notice--success.woocommerce-thankyou-order-received {
	text-align: center;
}

.woocommerce-page .hbfwc-intercept-order-receipt-page ul.woocommerce-order-overview {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 1px;
	overflow: hidden;
	background: color-mix(in srgb, currentColor 16%, transparent);
	color: var(--hbfwc-gray-600);
	border: 1px solid color-mix(in srgb, currentColor 0%, transparent);
	border-radius: 8px;
	padding: 0 0 0;
	margin: 0 0 3em;
	box-shadow: 0 3px 15px -6px var(--hbfwc-shadow-soft);

	&:before,
	&:after {
		display: none !important;
	}

	> li {
		float: none;
		margin: 0 0 0 0;
		padding: 1rem .5rem;
		text-align: center;
		background: var(--hbfwc-gray-100);
		border-width: 0 0 0 0;
		min-width: 50%;
		align-content: center;
		letter-spacing: 1px;

		strong {
			font-weight: 500;
			letter-spacing: 0;
			padding-top: 5px;
			min-width: 0;
			overflow-wrap: break-word;
			text-wrap-mode: wrap;
			text-wrap-style: pretty;
		}

		&:last-child {
			grid-column: span 2;
		}
	}
}

@media (min-width: 769px) {
	.woocommerce-page .hbfwc-intercept-order-receipt-page ul.woocommerce-order-overview {
		grid-template-columns: repeat(6, minmax(0, 1fr));

		> li {
			grid-column: span 2;
			min-width: 33.3333334%;

			&:last-child,
			&:nth-last-child(2) {
				grid-column: span 3;
			}
		}
	}
}

@media (min-width: 1024px) {
	.woocommerce-page .hbfwc-intercept-order-receipt-page ul.woocommerce-order-overview {
		grid-template-columns: none; 
		grid-auto-flow: column;
		grid-auto-columns: 1fr;
		min-width: 1px;

		>li {
			grid-column: span 1;
		
			&:last-child,
			&:nth-last-child(2) {
				grid-column: span 1;
			}
		}
	}
}

.hbfwc-intercept-order-receipt-page .woocommerce-bacs-bank-details {
	box-sizing: border-box;
	width: 100%;
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	margin: 0 0 3em;
	color: var(--hbfwc-gray-600);
	font-size: var(--wp--preset--font-size--small);

	h2 {
		font-size: var(--wp--preset--font-size--small);
		margin: 0 0 10px;
		padding: 0;
		font-family: inherit;
		text-transform: uppercase;
		letter-spacing: 1px;
		font-weight: 500;
		grid-column: span 2;	
	}

	h3 {
		margin: 0;
		padding: 20px 12px 20px 12px;
		grid-column: span 2;
		font-family: inherit;
		font-size: 110%;
		line-height: 1;
		font-weight: 500;
		border-radius: 8px 8px 0 0;
		background-color: var(--hbfwc-gray-50);
		border: 1px solid color-mix(in srgb, currentColor 16%, transparent);
		border-bottom-width: 0;
		box-shadow: 0 3px 15px -6px var(--hbfwc-shadow-soft);
		align-self: stretch;
        align-content: center;
		text-align: center;
	}

	ul.bacs_details {
		grid-column: span 2;	
		list-style-type: none;
		margin: 0 0 0;
		padding: 0 0 0;
		box-sizing: border-box;
		display: grid;
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 1px;
		border-radius: 0 0 8px 8px;
		background-color: var(--hbfwc-gray-50);
		border: 1px solid color-mix(in srgb, currentColor 16%, transparent);
		border-top-width: 0;
		box-shadow: 0 3px 15px -6px var(--hbfwc-shadow-soft);

		&:before,
		&:after {
			display: none !important;
		}

		>li {
			float: none;
			margin: 0;
			padding: 20px 10px;
			text-align: center;
			font-size: .715em;
			letter-spacing: 1px;
			background-color: #fff;
			color: var(--hbfwc-gray-400);
			border-right-width: 0;
			align-content: center;

			&:last-child {
				border-radius: 0 0 8px 0;
			}

			&:nth-last-child(2) {
				border-radius: 0 0 0 8px;
			}

			strong {
				color: var(--hbfwc-gray-600);
				font-weight: 500;
				letter-spacing: 0;
				padding-top: 5px;
				min-width: 0;
				overflow-wrap: break-word;
				text-wrap-mode: wrap;
				text-wrap-style: pretty;
			}
		}
	}
}

@media (min-width: 769px) {
	.hbfwc-intercept-order-receipt-page .woocommerce-bacs-bank-details {
		grid-template-columns: repeat(3, minmax(0, 1fr));

		h2 {
			grid-column: span 3;
		}
		h3 {
			grid-column: span 1;
			border-radius: 8px 0 0 8px;
			padding: 0 20px 0 20px;
			border-right-width: 0;
			border-bottom-width: 1px;
			text-align:left;
		}

		ul.bacs_details {
			grid-template-columns: repeat(4, minmax(0, 1fr));
			border-radius: 0 8px 8px 0;
			border-left-width: 0;
			border-top-width: 1px;

			>li {

				&:last-child {
					border-radius: 0 8px 8px 0;
				}

				&:nth-last-child(2) {
					border-radius: 0 0 0 0;
				}
			}
		}
	}
}