/* Address search dropdown shared by the cart map sheet and the checkout map. */
/* Own stacking layer above the map (pin, locate button) that follows it in the sheet. */
.yef-ps { position: relative; z-index: 60; }
.yef-ps input[type=search] { padding-inline-end: 44px !important; }
.yef-ps input[type=search]::-webkit-search-cancel-button { -webkit-appearance: none; appearance: none; }
.yef-ps__clear {
	position: absolute; top: 50%; inset-inline-end: 8px; z-index: 3; transform: translateY(-50%);
	display: grid; place-items: center; width: 30px; height: 30px; padding: 0; border: 0; border-radius: 50%;
	background: #eef1f2; color: #3b4a4c; cursor: pointer;
}
.yef-ps__clear[hidden] { display: none; }
.yef-ps.is-loading .yef-ps__clear { display: grid; color: transparent; background: transparent; }
.yef-ps.is-loading .yef-ps__clear::after {
	content: ""; position: absolute; width: 16px; height: 16px; border: 2px solid #d6dfe0; border-top-color: var(--yef-accent, #66c7cc);
	border-radius: 50%; animation: yef-ps-spin .7s linear infinite;
}
@keyframes yef-ps-spin { to { transform: rotate(360deg); } }
.yef-ps__list {
	position: absolute; inset-inline: 0; top: calc(100% + 6px); z-index: 40; max-height: min(52vh, 340px); overflow-y: auto;
	margin: 0; padding: 4px; background: #fff; border: 1px solid #e6eaeb; border-radius: 14px;
	box-shadow: 0 16px 36px -14px rgba(0, 0, 0, .25); text-align: start; direction: rtl;
}
.yef-ps__list[hidden] { display: none; }
.yef-ps__row {
	display: flex; align-items: center; gap: 10px; width: 100%; min-height: 52px; padding: 8px 10px; margin: 0;
	border: 0; border-radius: 10px; background: none; color: #1d2324; font: inherit; text-align: start; cursor: pointer;
}
.yef-ps__row:hover, .yef-ps__row.is-active { background: #f2f7f7; }
.yef-ps__row:focus-visible { outline: 2px solid var(--yef-accent, #66c7cc); outline-offset: -2px; }
.yef-ps__pin { flex: 0 0 32px; display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: #eef6f6; color: #1d7f84; }
.yef-ps__txt { display: flex; flex-direction: column; min-width: 0; }
.yef-ps__main { font-size: .9375rem; font-weight: 600; line-height: 1.4; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.yef-ps__main b { font-weight: 800; color: #111; }
.yef-ps__sub { font-size: .75rem; color: #6b7677; line-height: 1.4; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.yef-ps__msg { padding: 14px 12px; font-size: .8125rem; color: #6b7677; line-height: 1.6; }
/* the old per-screen result boxes are no longer used */
.yef-ps .yef-loc-search__results, .yef-ps .yef-map-results { display: none !important; }
@media (prefers-reduced-motion: reduce) { .yef-ps.is-loading .yef-ps__clear::after { animation-duration: 1.6s; } }
