/* Worldy Fixes, fix 25 — the city search list (selectWoo opens it on <body>, tagged .wf-city-dd). */
.select2-container--open .select2-dropdown.wf-city-dd {
	box-sizing: border-box;
	margin-top: 0;
	transform: translateY(6px); /* the 6px space without changing the size selectWoo measures */
	padding: 8px;
	border: 1px solid var(--wf-line, #ebe4d9) !important;
	border-radius: 16px !important;
	background: #fff;
	box-shadow: 0 18px 40px -16px rgb(18 38 90 / 0.35), 0 2px 6px rgb(18 38 90 / 0.06);
	font-family: inherit;
	overflow: hidden;
}
.select2-container--open .select2-dropdown--above.wf-city-dd {
	transform: translateY(-6px);
}
.wf-city-dd .select2-search--dropdown {
	position: relative;
	padding: 0 0 8px;
}
.wf-city-dd .select2-search--dropdown::before {
	content: "";
	position: absolute;
	inset-inline-start: 12px;
	top: 13px;
	width: 18px;
	height: 18px;
	background: var(--wf-muted, #646a78);
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cpath d='m20 20-3.5-3.5'/%3E%3C/svg%3E") center / contain no-repeat;
	mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cpath d='m20 20-3.5-3.5'/%3E%3C/svg%3E") center / contain no-repeat;
	pointer-events: none;
}
.wf-city-dd .select2-search--dropdown .select2-search__field {
	box-sizing: border-box;
	width: 100%;
	height: 44px;
	margin: 0;
	padding: 0 14px;
	padding-inline-start: 40px;
	border: 1px solid var(--wf-line, #ebe4d9) !important;
	border-radius: 12px !important;
	background: var(--wf-cream, #fbf7f1);
	color: var(--wf-navy, #12265a);
	font: inherit;
	font-size: 16px; /* no zoom on iPhone */
	outline: none;
	box-shadow: none;
	/* The theme animates every input (transition: all .3s): the box shrank from the theme's height to
	   44px after selectWoo had placed the list, so a list opening upwards floated off its box. */
	transition: border-color .2s, background-color .2s, box-shadow .2s;
}
.wf-city-dd .select2-search--dropdown .select2-search__field:focus {
	border-color: var(--wf-olive, #68724a) !important;
	background: #fff;
	box-shadow: 0 0 0 3px color-mix(in srgb, var(--wf-olive, #68724a) 20%, transparent);
}
.wf-city-dd .select2-results > .select2-results__options {
	max-height: min(280px, 45vh);
	overscroll-behavior: contain;
}
.wf-city-dd .select2-results__option {
	margin: 1px 0;
	padding: 10px 12px;
	border-radius: 10px;
	color: var(--wf-navy, #12265a);
	font-size: 15px;
	line-height: 1.4;
	text-align: start;
}
.wf-city-dd .select2-results__option--highlighted[aria-selected],
.wf-city-dd .select2-results__option--highlighted[data-selected] {
	background: var(--wf-olive-soft, #eef0e6) !important;
	color: var(--wf-olive-ink, #4f5735) !important;
}
.wf-city-dd .select2-results__option[aria-selected="true"]:not(.select2-results__option--highlighted) {
	background: transparent;
}
.wf-city-dd .wf-city-on {
	display: flex;
	justify-content: space-between;
	gap: 8px;
	font-weight: 700;
}
.wf-city-dd .wf-city-on::after {
	content: "✓";
	color: var(--wf-olive, #68724a);
}
.wf-city-dd .select2-results__option .wf-city-other {
	display: block;
	color: var(--wf-olive-ink, #4f5735);
	font-weight: 700;
}
.wf-city-dd .select2-results__option:has(.wf-city-other) {
	margin-top: 6px;
	border-top: 1px dashed var(--wf-line, #ebe4d9);
	border-radius: 0 0 10px 10px;
	padding-top: 12px;
}
.wf-city-dd .select2-results__message {
	color: var(--wf-muted, #646a78);
	font-size: 14px;
}
/* The box itself while its list is open */
.select2-container--open .select2-selection--single {
	border-color: var(--wf-olive, #68724a) !important;
}
/* The list's anchor (assets/cities.js): top-left of <body>, above the header and the delivery popup */
.wf-city-host {
	position: absolute;
	top: 0;
	left: 0;
	width: 0;
	height: 0;
	z-index: 100002;
}
.wf-city-host > .select2-container--open {
	z-index: 100002;
}
