.wx-address-autocomplete {
	background: #fff;
	border: 1px solid #ddd;
	box-shadow: 0 8px 24px rgb(0 0 0 / 12%);
	list-style: none;
	margin: .25rem 0 0;
	max-height: 16rem;
	overflow-y: auto;
	padding: .25rem;
	z-index: 1000;
}

.wx-address-autocomplete[hidden] {
	display: none;
}

.wx-address-autocomplete button {
	background: transparent;
	border: 0;
	color: inherit;
	cursor: pointer;
	display: block;
	font: inherit;
	padding: .55rem .65rem;
	text-align: left;
	width: 100%;
}

.wx-address-autocomplete button:hover,
.wx-address-autocomplete button:focus {
	background: #f2f2f2;
}

.wx-house-number-field[hidden] {
	display: none;
}

.wc-block-components-text-input[hidden],
.wc-block-components-country-input[hidden] {
	display: none;
}

.wx-address-summary {
	background: #fff;
	border: 2px solid #e4f1ff;
	border-radius: 1rem;
	box-sizing: border-box;
	grid-column: 1 / -1;
	margin-top: .5rem;
	padding: 1.15rem 2.5rem 1.15rem 1.75rem;
	position: relative;
	width: 100%;
}

.wx-address-summary[hidden] {
	display: none;
}

.wx-address-summary__line {
	color: #1e1e1e;
	margin: 0;
}

.wx-address-summary__line + .wx-address-summary__line {
	color: #6b7280;
	margin-top: .2rem;
}

.wx-address-summary__close {
	background: transparent;
	border: 0;
	color: #6b7280;
	cursor: pointer;
	font-size: 1.15rem;
	line-height: 1;
	padding: .25rem;
	position: absolute;
	right: .5rem;
	top: .5rem;
}

.wx-address-summary__close:hover,
.wx-address-summary__close:focus {
	color: #1e1e1e;
}

.wx-postcode-field,
.wx-house-number-field,
.wx-address-field,
.wx-city-field {
	box-sizing: border-box;
	display: inline-block;
	vertical-align: top;
	width: calc(50% - .5rem);
}

.wc-block-components-address-form__postcode.wx-postcode-field {
	display: inline-block;
	grid-column: 1 !important;
	max-width: calc(50% - .5rem) !important;
	width: calc(50% - .5rem) !important;
}

.wx-house-number-field {
	grid-column: 2 !important;
}

.wx-address-field {
	margin-right: 1rem;
}

@media (max-width: 600px) {
	.wx-postcode-field,
	.wx-house-number-field,
	.wx-address-field,
	.wx-city-field {
		display: block;
		grid-column: 1 / -1 !important;
		width: 100%;
	}

	.wx-postcode-field,
	.wx-address-field {
		margin-right: 0;
	}
}

.wx-vat-message {
	font-size: .875em;
	grid-column: 1 / -1;
	margin: .35em 0 0;
}

.wx-vat-message.is-valid {
	color: #1a7d3a;
}

.wx-vat-message.is-invalid,
.wx-vat-message.is-required {
	color: #cc1818;
}

.wx-vat-message.is-loading {
	align-items: center;
	color: #555;
	display: flex;
	gap: .4em;
}

.wx-vat-message.is-loading::before {
	animation: wx-vat-spin .6s linear infinite;
	border: 2px solid currentColor;
	border-radius: 50%;
	border-right-color: transparent;
	content: '';
	display: inline-block;
	height: .9em;
	width: .9em;
}

@keyframes wx-vat-spin {
	to {
		transform: rotate( 360deg );
	}
}

