/* ── Fastselect overrides — Classic checkout ─────────────────────────────── */
/* Make the fastselect widget match standard WooCommerce form-row inputs.     */

.fstElement {
	width: 100%;
	position: relative;
	font-size: 14px;
}

.fstElement > .fstQueryInput,
.fstSingleMode > .fstQueryInput {
	width: 100%;
	padding: 8px 12px;
	border: 1px solid #ccc;
	border-radius: 3px;
	background: #fff;
	color: #333;
	font-size: 14px;
	line-height: 1.5;
	box-sizing: border-box;
	height: auto;
}

.fstElement > .fstQueryInput:focus,
.fstSingleMode > .fstQueryInput:focus {
	outline: none;
	border-color: #a0a5aa;
	box-shadow: none;
}

.fstChoicesList {
	position: absolute;
	z-index: 9999;
	top: 100%;
	left: 0;
	right: 0;
	margin: 0;
	padding: 0;
	list-style: none;
	background: #fff;
	border: 1px solid #ccc;
	border-top: none;
	border-radius: 0 0 3px 3px;
	box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
	max-height: 220px;
	overflow-y: auto;
}

.fstResultItem {
	padding: 9px 12px;
	font-size: 13px;
	cursor: pointer;
	border-bottom: 1px solid #f0f0f1;
}

.fstResultItem:last-child {
	border-bottom: none;
}

.fstResultItem.hover,
.fstResultItem:hover {
	background: #f0f3f8;
}

/* Ensure the readonly postcode field looks intentionally locked. */
input#billing_postcode[readonly],
input#shipping_postcode[readonly] {
	background: #f8f8f8;
	cursor: default;
}

/* ── Inline suburb dropdown — Blocks checkout ────────────────────────────── */

/* Positioning context so the dropdown sits flush under the input. */
.fw-suburb-anchor {
	position: relative;
}

.fw-suburb-dropdown {
	position: absolute;
	z-index: 9999;
	top: 100%;
	left: 0;
	right: 0;
	margin: 0;
	padding: 0;
	list-style: none;
	background: #fff;
	border: 1px solid #8d96a0;
	border-top: none;
	border-radius: 0 0 4px 4px;
	box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
	max-height: 240px;
	overflow-y: auto;
	display: none;
}

.fw-suburb-option {
	padding: 10px 14px;
	font-size: 14px;
	line-height: 1.4;
	cursor: pointer;
	border-bottom: 1px solid #f0f0f1;
	transition: background 0.1s ease;
}

.fw-suburb-option:last-child {
	border-bottom: none;
}

.fw-suburb-option:hover,
.fw-suburb-option.fw-suburb-active {
	background: #f0f3f8;
}
