/* Searchable Country / City dropdowns (views/assets/js/location-picker.js) — checkout and account addresses. */
.location-picker {
    position: relative;
    width: 100%;
}

.location-picker input {
    width: 100%;
    padding-right: 42px;
}

.location-picker__icon {
    position: absolute;
    top: 50%;
    right: 12px;
    transform: translateY(-50%);
    color: var(--c-outline, #737685);
    pointer-events: none;
}

.location-picker__list {
    position: absolute;
    top: calc(100% + 6px);
    right: 0;
    left: 0;
    z-index: 60;
    max-height: 280px;
    overflow-y: auto;
    border: 1px solid var(--c-line, #c3c6d6);
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 16px 36px rgba(25, 27, 35, .16);
    padding: 6px;
}

.location-picker__list[hidden] {
    display: none;
}

.location-picker__option {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 12px;
    width: 100%;
    border: 0;
    border-radius: 8px;
    background: transparent;
    color: var(--c-text, #191b23);
    font-weight: 700;
    padding: 11px 12px;
    text-align: left;
    text-transform: none;
    letter-spacing: 0;
}

.location-picker__option small {
    flex-shrink: 0;
    color: var(--c-outline, #737685);
    font-weight: 600;
}

.location-picker__option:hover,
.location-picker__option.is-active {
    background: var(--c-low, #f3f3fd);
}

.location-picker__option.is-typed {
    border-top: 1px solid var(--c-mid, #ededf8);
    border-radius: 0 0 8px 8px;
    color: var(--c-primary, #003d9b);
}

.location-picker__empty {
    color: var(--c-muted, #434654);
    font-weight: 600;
    margin: 0;
    padding: 12px;
}
