/*
 * Safety net only. The four core address fields are already removed server-side
 * (classic) and marked hidden in the country locale (blocks); this hides
 * anything a theme or another plugin re-injects, so a shopper never sees a
 * Country / City / State / Postcode box that the store ignores.
 */

/* Classic checkout and My Account addresses. */
#billing_country_field,
#billing_city_field,
#billing_state_field,
#billing_postcode_field,
#shipping_country_field,
#shipping_city_field,
#shipping_state_field,
#shipping_postcode_field,
#calc_shipping_country_field,
#calc_shipping_city_field,
#calc_shipping_state_field,
#calc_shipping_postcode_field {
	display: none !important;
}

/* Block checkout. */
.wc-block-components-address-form__country,
.wc-block-components-address-form__city,
.wc-block-components-address-form__state,
.wc-block-components-address-form__postcode {
	display: none !important;
}

/* The zone dropdown should read as the main address control. */
.wczs-zone-field select,
.wczs-zone-select {
	width: 100%;
	max-width: 100%;
}

/* Cart page selector. */
.wczs-cart-zone__form {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5em;
	align-items: center;
	margin: 0;
}

.wczs-cart-zone__form select {
	flex: 1 1 10em;
	min-width: 0;
}

.wczs-cart-zone__form--auto .wczs-cart-zone__submit {
	display: none;
}

/* Store Pickup instructions. */
.wczs-pickup-instructions td,
section.wczs-pickup-instructions {
	background: rgba( 0, 0, 0, 0.03 );
	border-radius: 4px;
	padding: 0.75em 1em;
}

.wczs-pickup-instructions p:last-child {
	margin-bottom: 0;
}
